Skip to content

Squadra v0.0.6

Choose a tag to compare

@roke22 roke22 released this 03 Nov 20:26
· 188 commits to main since this release
ab3e13d

Fewer wake-ups for coordinators, so squads spend fewer tokens, plus mouse-wheel scrolling in the web terminal and a new examples page.

Fewer wake-ups for coordinators

Every message a coordinator gets wakes it up and makes it reread its whole context. This release removes the notices that asked it to do nothing.

  • Network cuts no longer raise alarms. A worker that stops responding (its network dropped, its machine went to sleep) is announced DOWN only after 2 minutes, instead of 15 seconds. A short cut no longer sends its coordinator a "DOWN" and a "back online" notice, and no longer drops the messages waiting for that worker. The grace is set with SQUADRA_LOST_GRACE_MS on the server.
  • Messages wait during a cut. While a worker isn't responding, what its coordinator sends it is queued instead of being refused with NOT SENT. The worker gets it when it comes back. If it doesn't come back, the DOWN notice lists the message as dropped, and only then should the task go to another worker. Meanwhile ping shows the worker as NOT RESPONDING, and reply says when it will be announced DOWN.
  • No more false "ended its turn without a final report". The Stop hook only asks a worker to report on tasks Claude has actually seen. A task that arrives just as the turn ends now waits for the next turn. Before, the worker sent its previous report again or ended its turn, and the coordinator got a notice for nothing. Tasks that reach Claude while it is in the middle of a turn are detected too, and a report no longer closes a task the worker hasn't seen yet.

Web terminal

  • The mouse wheel scrolls Claude Code's full-screen view. Opening, resizing or refreshing a terminal in the dashboard used to switch off the modes Claude Code had turned on, so the wheel did nothing; only Page Up and Page Down worked. The dashboard now restores them.
  • Multi-line pastes arrive as one paste. Before, a text with several lines pasted in the dashboard could reach Claude Code one line at a time, as if Enter were pressed after each line.
  • Since the mouse now goes to Claude Code, select text in the dashboard's terminal with Shift+drag (Option+drag on macOS).

Docs

  • README: a new step, "Build your squads", walks through creating squads from the org chart, with screenshots.
  • Examples (en español): a marketing agency, a personal brand on social media, a software company and a product launch, each built as linked squads. Each one comes with its squads, the persona of each agent, the links between squads and the first message to give each coordinator.

Updating from 0.0.5

  1. Update the server (git pull and start it again, or rebuild the Docker image).
  2. Run squadra-host update on every machine.
  3. Open their sessions again: the task-report fix is in the 0.0.6 plugin.

Machines set up by hand:
claude plugin marketplace update squadra && claude plugin update squadra@squadra