Skip to content

1.0.0: fourteen tools instead of thirty-nine

Choose a tag to compare

@zriyox zriyox released this 26 Nov 05:23
· 46 commits to main since this release
0b0ce0d

Breaking. The tool surface is rebuilt and no old name is kept as an alias. Finish or re-dispatch workers in flight before upgrading, then reopen the session so the new skill loads.

Thirty-nine tools cost a main thread 41,000 characters of schema in every session. There are now fourteen, 15,930 characters in all.

Stage Tools
Before dispatch preflight_worker
Dispatch create_worker, resume_worker, cancel_worker
Tracking poll_workers, wait_workers
Collecting get_worker, get_worker_diff, ask_worker
Delivery land_worker, verify_push, cleanup
Batches find_works, describe_session

facts, review and get_artifact are registered only with AGENT_SUPERVISOR_TOOLS=all.

What changes for a caller

  • poll_workers replaces five tools. Without a cursor it reads the table and hands out a cursor; with one it reports only what changed, recovers a dead first run and cleans up.
  • get_worker replaces seven; include picks the parts.
  • create_worker takes followup_of, and groups its arguments into workspace, sandbox, context, acceptance, limits, session.
  • cleanup takes an action.
  • Every argument is snake_case, and an unknown argument is refused instead of dropped.
  • A failed call sets isError.
  • Environment variables are AGENT_SUPERVISOR_*. New workers are on worker/<id> branches; a worker on an old codex/<id> branch still reads, resumes and lands.

Fixed along the way

  • A finished worker's old pid, reused by another process, no longer blocks cleanup, reconciliation or automatic recovery. On Windows this happened within seconds.