Skip to content

v2.64.0 — board launch control (approve gate → spawn agent)

Choose a tag to compare

@avelikiy avelikiy released this 10 Jun 06:11
v2.64.0
38516ec

The dev board becomes a pult, not just a mirror: approving a gate (or pressing Run) spawns a Claude Code agent headlessly in the project and streams its output live into the board.

  • Spawn + streamclaude -p "<prompt>" --output-format stream-json in the project cwd; events parsed (assistant text · tool_use · result) and pushed as event: agent over SSE. Endpoints /api/agent/run|stop|status; gate-approve takes optional { runAgent, agentPrompt }.
  • Guardrails — same-origin only · project must live in $HOME · one run per project (409) · hard timeout (SIGTERM→SIGKILL) · 2000-line ring buffer · configurable bin. Permission default acceptEdits; full autonomy opt-in via GREAT_CTO_AGENT_DANGEROUS=1.
  • UI — a Run agent panel (prompt · Run · Stop · live stream) + an Approve + ▶run button on gate cards.

Verified with a stub bin (streaming + all four guardrails + Stop) and a real claude run. Lib 348/348.