57 Commits

Author SHA1 Message Date
robert
aa5ee5b0fe fix: reject stale agent scaffolds
All checks were successful
build / build (push) Successful in 2s
2026-05-17 18:17:58 -03:00
robert
23cdc1e924 fix: require current a2a init scaffold
All checks were successful
build / build (push) Successful in 26s
2026-05-17 08:08:14 -03:00
robert
1bb6044b15 feat: initialize agents from a2a template
All checks were successful
build / build (push) Successful in 2s
2026-05-16 17:36:17 -03:00
robert
80a5d3bce4 tools: expose a2a_pack source to the inner LLM loop
All checks were successful
build / build (push) Successful in 3s
list_a2a_pack(subdir) / read_a2a_pack(path) let the builder browse the
installed SDK at runtime — the same package the scaffolded agents
import. Path-traversal guarded; reads capped at 64 KiB.

Why: the system prompt only carries an abridged example. When the LLM
needed to recall what RunContext exposes (ctx.workspace API, ctx.ask
vs ctx.collect, runtime.apt_packages…) it would guess. Now it can
read the actual source.

Prompt updated to point at the new tools.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 22:08:56 -03:00
robert
4cade1f3bb tools: cp_deploy_tarball waits for live card; new cp_refresh_agent
All checks were successful
build / build (push) Successful in 37s
cp_deploy_tarball now blocks after the from-tarball POST, polling the new
agent's /.well-known/agent-card until version matches the deployed version
(180s timeout, exponential backoff capped at 10s). On success it returns
live_skills with each skill's input_schema so the builder LLM can verify
the advertised shape matches the code it wrote — catches the schema/code
skew that caused downstream 400s on call_agent.

cp_refresh_agent(name) is a new tool that forces the CP to re-fetch the
live card via GET /v1/agents/{name}. Use when a pod was redeployed out
of band and the CP cache is stale; cp_deploy_tarball handles the in-band
case automatically.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 19:49:03 -03:00
robert
640d1b89ca tools: form field is 'source' on /v1/agents/from-tarball, not 'tarball'
All checks were successful
build / build (push) Successful in 3s
2026-05-11 21:31:06 -03:00
robert
87eedb47a4 initial: deepagents-driven agent generator + deployer
All checks were successful
build / build (push) Successful in 31s
2026-05-11 21:26:52 -03:00