Skip to content

v0.6.7

Latest

Choose a tag to compare

@B1aZer B1aZer released this 27 Nov 21:07
· 44 commits to main since this release
agentbus-demo-0.6.6-no-blur.mp4

Your messages never wait behind agents. Turns you send have a lane of their own and start at once. Only the
turns agents start count against a limit, 8 at once by default, set under [limits] in the settings and changed
with no restart. GET /api/v0/runners shows the limit, how many are busy and how many wait. agentbus up -max-runs is retired.

Long sessions stay within a budget, by themselves. At each turn's start AgentBus fits the history it rebuilds
into 40% of the model's window. Over it, older turns are shortened in one step: long tool results become stubs
that fetch the full text back, then the oldest turns become AgentBus's own summary. Each step is frozen, so the
prompt cache keeps working, and the record keeps every byte. No model is called for it. Claude Code, Codex and
OpenCode alike.

Hand a long command to AgentBus and end your turn. An agent calls run_command (for example, a 15-minute
make gate) and its turn ends. The command runs as a job in the workspace, and when it ends, a new turn brings
its exit code and output back to the session. It never gets more than the turn that asked for it may do, so for
now it works in Direct sessions and for OpenCode and Antigravity.

Apply, Discard, Update and Close answer at once. Each answers 202 with the event its outcome will have, and
GET /api/v0/workspaces/{id}/outcome?event= reads it. A refused Apply still lists each file and why. The cockpit
follows each one's outcome.

A Claude Code Copy session reaches GitHub. gh and the npm, PyPI, Go, Yarn and crates.io hosts work, and your
cache folders are writable. Copy still limits where an agent writes, so Docker does not work in Copy: use a Direct
session.

A settled copy puts itself away. Once a Copy workspace's work is all applied or discarded and it has been quiet
for 30 minutes, AgentBus removes the copy. Sessions and the record stay.

Also new: GET /api/v0/ons lists what is waiting to react; GET /api/v0/turns/{id} returns every answer of a
turn (replies).

Fixed:

  • A failed Close could leave a half-removed copy, and the next Apply deleted your files (#96). A copy now exists
    only while its record does.
  • A stop, or Ctrl-C, did not end a copy still being made (#95).
  • A file changed with its old size and time, such as after a rename over a same-size file, was missed, and Apply
    said applied without it (#89). Thanks to Kunal Roy Choudhury (kunalgoesbyken, #97).
  • A session stuck after up and its runner both died mid-turn now goes on by transcript (#100). Thanks to Kunal
    Roy Choudhury (kunalgoesbyken, #101).
  • A test proves Apply refuses a truncated changeset. Thanks to Rodrigo Boratto (rwrz, #109).
  • An OpenRouter call on your own provider key (BYOK) was recorded as $0 (#94).
  • A stopped git worktree add no longer blocks a session's next turn.

Breaking changes:

  • Apply, Discard and Update answer 202, not 200 or 409. A refused Apply's files, Discard's dropped_turns and
    Update's result are on the outcome, not the reply.
  • Runner protocol 6: upgrade control and runners together.
  • agentbus up -max-runs is ignored; the limit is in the settings.

Upgrade:

  • Back up your data folder first.
  • Upgrade control first, then runners.
  • A restart of agentbus up still stops running turns. Upgrade when none are running. (Fixed in 0.6.8.)

Known limits:

  • Two Copy cases can still miss an edit while Apply reports success: a committed file under dist/ or force-added
    past .gitignore (#87), and a case-only rename (#76). Both are fixed on main for 0.6.8.
  • Socket grants in your own managed, MDM or user Claude Code settings still apply in a Copy session (0.6.8).
  • Hooks and MCP servers run outside the Copy wall, as at home (0.6.8 audits your own setup).

Cockpit: agentbus-cockpit v0.6.7. Full list in CHANGELOG.md.