-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (34 loc) · 1.53 KB
/
Copy pathMakefile
File metadata and controls
44 lines (34 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.PHONY: all lint test format check smoke doctor lock register-dev mcp-config-dev
all: lint test
lint:
ruff check sdpm/ servers/ shared/ api/ agent/
format:
ruff format sdpm/ servers/ shared/ api/ agent/
test:
python -m pytest tests/ -v
check: lint test
@echo "All checks passed"
# Integration smoke: boots servers/local over real stdio (no mocks)
smoke:
uv run python scripts/smoke_local.py
# Diagnose local setup (uv / LibreOffice / poppler / checkout paths)
doctor:
uv run python scripts/doctor.py
# Point your MCP clients at THIS checkout, next to (not instead of) an installed ~/.sdpm.
# Kiro CLI gets its own agent so `kiro-cli chat --agent sdpm-dev` runs your working tree
# while `--agent sdpm` keeps running the installed release. AGENT=sdpm-feature-x for worktrees.
AGENT ?= sdpm-dev
register-dev:
uv run --directory servers/local python client_config.py --checkout "$(CURDIR)" --agent-name $(AGENT) register $(CLIENTS)
mcp-config-dev:
uv run --directory servers/local python client_config.py --checkout "$(CURDIR)" --agent-name $(AGENT) print --all
# Regenerate container dependency locks (agent + servers/remote).
# Both images build for linux/arm64 + Python 3.13 (AgentCore Runtime).
lock:
uv pip compile agent/requirements.txt \
--python-version 3.13 --python-platform aarch64-unknown-linux-gnu \
--no-header -o agent/requirements.lock
uv pip compile servers/remote/pyproject.toml \
--python-version 3.13 --python-platform aarch64-unknown-linux-gnu \
--no-header --no-emit-package sdpm-skill \
-o servers/remote/constraints.txt