Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 12:03
· 21 commits to main since this release

Changed

  • A stop kills agy's process tree once and waits up to 5 s for agy to exit; on Windows
    taskkill first gets up to 5 s of its own. A stop that cannot confirm the exit is final, and the
    result warns the bridge stopped agy (pid <pid>) but could not confirm that agy and its processes exited; they may still be running., where it said the bridge did not see agy exit
    and a later stop tried again.
  • cancel with force on a session whose turn has ended returns not-running and lets agy's
    close finish, up to 2 s, where it cut the close short; a host abort during the close lets it
    finish too. A force cancel whose kill cannot confirm the exit reports cancelled, and the
    session is no longer kept for another force.
  • Shutdown stops every agent, waits for the stops, and exits with the code of whatever triggered it
    first. SIGINT, SIGTERM and SIGHUP trigger it on Windows too. A later signal waits for the same
    stop, where a second signal killed each agent's process group and exited at once.
  • A stopped task's status message carries a note only when the run started a fresh session after a
    failed resume. A stop that cannot confirm agy exited is reported in the delegate result's
    protocolWarnings.
  • An agent-error message ends with the request and JSON-RPC code agy answered with, as in
    (session/new JSON-RPC -32603), and so does the note of a resume that failed for a session that
    still exists. The skill reference describes agent-error as an error answer named with its code,
    where it called every such code a rejected argument.

Removed

  • AGY_DELEGATE_IDLE_MS, the opt-in mid-turn idle guard (off by default), and its idle-timeout
    reason. doctor no longer reports it.
  • ACP_LOG_SIZE. The flight recorder keeps exactly the frames AGY_DELEGATE_TRANSCRIPT shows, and
    records only while it is set. doctor no longer reports it.

Fixed

  • On Windows a taskkill that fails or runs past 5 s is followed by a kill of the launcher by its
    handle, and the result warns that agy and its processes may still be running. A failed
    taskkill went unreported.
  • agy's session/new is sent once more, 500 ms later, when agy fails it with Failed to start Antigravity conversation (JSON-RPC -32603), as it does when agy processes start at the same
    time.

Internal

  • src/proc.js and src/shutdown.js are the same in agy-delegate-mcp, cursor-delegate-mcp and
    codex-delegate-mcp.
  • npm test runs the test files named on the command line, without a deadline.
  • The result and doctor shapes the tests check are in test/output-shapes.js.
  • Tests of limits, options and source layout the code no longer has are removed.