@@ -20,6 +20,7 @@ APP_NAME ?= ai-platform-engineering
2020 test-slack-stream test-slack-conformance \
2121 test-rag-unit test-rag-coverage test-rag-memory test-rag-scale validate lock-all help \
2222 beads-gh-issues-sync beads-gh-issues-sync-run beads-list beads-ready beads-sync \
23+ caipe-cli-test caipe-cli-lint caipe-cli-build \
2324 caipe-ui caipe-ui-install caipe-ui-build caipe-ui-dev caipe-ui-tests \
2425 build-caipe-ui run-caipe-ui-docker caipe-ui-docker-compose \
2526 docs docs-install docs-build docs-dev docs-start docs-serve \
@@ -140,20 +141,31 @@ run-a2a: install-deps ## Run the AI Platform Engineer single-node deep agent wit
140141 echo " Starting AI Platform Engineer A2A server (single-node) on $$ HOST:$$ PORT" ; \
141142 uv run uvicorn ai_platform_engineering.multi_agents.platform_engineer.protocol_bindings.a2a.main:app --host $$ HOST --port $$ PORT --reload
142143
143- run-a2a-client : # # Run the agent-chat-cli client to connect to the A2A agent
144+ run-a2a-client : # # Connect to the A2A agent using the CAIPE CLI
144145 @HOST=$$ {A2A_HOST:-localhost}; \
145146 PORT=$$ {A2A_PORT:-8000}; \
146- echo " Connecting to A2A agent at $$ HOST:$$ PORT..." ; \
147- docker run -it --network=host \
148- -e A2A_HOST=$$ HOST \
149- -e A2A_PORT=$$ PORT \
150- ghcr.io/cnoe-io/agent-chat-cli:stable
147+ echo " Connecting to A2A agent at $$ HOST:$$ PORT via CAIPE CLI..." ; \
148+ cd cli && bun run dev -- chat --url http://$$ HOST:$$ PORT
151149
152- run-a2a-client-local : setup-venv # # Run agent-chat-cli from local source
150+ run-a2a-client-local : # # Run CAIPE CLI from local source (dev mode)
153151 @HOST=$$ {A2A_HOST:-localhost}; \
154152 PORT=$$ {A2A_PORT:-8000}; \
155- echo " Running local agent-chat-cli connecting to $$ HOST:$$ PORT..." ; \
156- cd agent-chat-cli && A2A_HOST=$$ HOST A2A_PORT=$$ PORT uv run python -m agent_chat_cli a2a
153+ echo " Running local CAIPE CLI connecting to $$ HOST:$$ PORT..." ; \
154+ cd cli && bun run dev -- chat --url http://$$ HOST:$$ PORT
155+
156+ # # ========== CAIPE CLI ==========
157+
158+ caipe-cli-test : # # Run CAIPE CLI unit tests (vitest)
159+ @echo " Running CAIPE CLI tests..."
160+ @cd cli && bun run test
161+
162+ caipe-cli-lint : # # Lint CAIPE CLI (Biome)
163+ @echo " Linting CAIPE CLI..."
164+ @cd cli && bun run lint
165+
166+ caipe-cli-build : # # Build CAIPE CLI binary (current platform)
167+ @echo " Building CAIPE CLI binary..."
168+ @cd cli && bun install && npm run compile
157169
158170# # ========== CAIPE UI ==========
159171
0 commit comments