Skip to content

team 0.5.1

Choose a tag to compare

@github-actions github-actions released this 19 Oct 03:27
· 5310 commits to main since this release

TeamCLI 0.5.1

team 0.5.1 is the first release since 0.5.0, and it changes how a message reaches a seat: a
seat's own inbox when its CLI carries one, the drop file with nothing typed when it does not, and
the typed trigger line last. Messages become signed records with threads and replies; a send can
wait for its answer; and the owner gets one bus, one event log, and one delivery path that does
not depend on a seat being free.

What you get

  • The default delivery order, and the words a level may add. A send whose receiving seat
    declares no order walks mcp-inbox, then drop, then typed: the seat's own inbox when a
    server serves it, the mode-0600 drop file with nothing typed into the pane when one does not,
    and the typed trigger line last. native is never in the default — the sender chooses it and
    records the delivery itself — and it is the one leg a declared word may add to the order in
    force. A seat whose file declares no word takes the one its shape implies: a pane marked
    human walks drop alone, and a CLI whose launch installs no watcher leaves drop out.

  • A drop leg, and team drops. A receiving seat's order may name drop: the record is
    written as the typed leg's own drop file and nothing is typed at all — no trigger line, no
    socket frame, no daemon round trip. The console line is <seat>: sent (unconfirmed) (drop, <n> ms), exit 0: the record is the message, safely on disk. A running watch promotes a read drop
    once, with one delivered (read) history line, and a drop no watcher read thirty minutes after
    the send is given up on with the file's path. team drops reads the receiving seat's own
    folder — one row per waiting drop, the sender named from the signed record — and its --follow
    prints each drop that arrives. --read is the launch's turn-start read: it verifies each
    record, writes the read receipt before printing the body, and hands over at most ten records a
    run.

  • The message record, threads, and team reply. A plain send writes the message whole as one
    signed record — body, sender, the rule that admitted the send, and the thread — before the
    delivery leg runs; the typed, drop and mcp-inbox legs all carry that one record. team messages
    reads what is still waiting, verifies the signature, prints the body and writes the read
    receipt in one step. The history keeps the conversation: every line carries thread, a reply
    also carries in_reply_to, and the feed derives a status — sent, held, delivered, read
    or replied — from the outcome. team reply <id> <text> answers the sender on its thread;
    --close ends it, and a thread also ends when its newest record is 72 hours old or when it
    reaches 50 records. A reply on a closed thread opens a new one that cites the record it
    answers.

  • A waited send. team send --wait writes the signed record through the receiving seat's
    delivery walk, then waits on the thread for the first verified reply until the --timeout
    window (120 seconds by default) closes. A reply makes the run answered (exit 0); a window
    that closes with no reply makes it timeout (exit 1) and leaves the thread open, so a late
    reply still lands on it, and an answered --json document carries the thread id.

  • The native leg, as a handoff. When the recipient's CLI carries the cross-session channel
    and the sender's own file declares cli: claude-code, a send to the native leg becomes a
    handoff: one pending record, the exact to: target, and a team send --confirm <id> line for
    the sender to run. The confirm reads the recipient's visible lines for the handoff's nonce and
    records delivered when it sees it, sent (unconfirmed) when it does not. An unconfirmed
    handoff past ten minutes is claimed by a running watch and handed to the remaining legs of the
    recipient's order, so a late confirm finds no record and nothing is delivered twice.

  • team mcp serve, and the mcp-inbox leg. team mcp serve --seat <seat> runs the MCP server
    a seat's launch line starts, with two tools over that seat's own drop folder and a receipt
    written before the body leaves. A send to a seat whose listener is live takes the mcp-inbox
    leg: the same 0600 drop file in the seat's inbox, nothing typed. The receipt the read leaves
    makes the outcome delivered (read) — the seat read the message, never a claim that it acted
    on it — and a message still unread ten minutes after the send is handed to the retry, which
    types its trigger once. team feed shows one row per message when its outcome moves.

  • The inbox registered with each CLI, and read each turn. A seat's launch registers the server
    where a measured route exists — Codex's launch line carries it, Gemini and Grok register
    through their own project settings, and Cursor's project MCP config is merged — and a seat
    whose CLI carries the server is asked, in its rules, to check its inbox at the start of each
    turn and read each message before acting.

  • team bus, routing, and the owner's own delivery. The owner starts team bus in a
    foreground terminal outside herdr, one per clone: it owns the project's event log, appends each
    event as a signed record, reconciles durable records when it starts and every two minutes
    after, and serves publish and subscribe on its socket. With a bus answering, team watch
    publishes the events its reports imply and, after a sequence gap, re-announces the reports that
    are still true; with no bus it polls exactly as before. An event routed or addressed to the
    owner reaches the owner with no seat in the path: a machine notification and a signed record in
    the owner's mailbox, so a held or unreachable seat silences neither. A kind on the owner's
    immediacy list rings and lands as its own record; everything else collects in the pass and
    lands as one digest.

  • Human seats are never touched. A seat the team file marks human: true walks the drop leg
    alone, whatever its order or the default says: the typed trigger, the native frame and the
    seat's own inbox are kept out, and --wait writes the record on the drop leg and types
    nothing. up, down, add, restart, remove, reload, answer and register each name
    the seat and refuse to type at it, press a key or close its pane.

  • team raise, and two refusal events. team raise <kind> <text> carries one line from the
    team's lead to the owner at once: a signed record in the owner's mailbox, the matching
    release.ready or decision.needed event, and the machine notification; the same kind and line
    within the hour merges as one record, and ten raises reach the owner per team per UTC day. A
    record or receipt that fails verification raises record.invalid, and an identity or admission
    a send or reply rule denies raises security.refused; both reach the owner alone, carry the
    rule and object and never the refused content, and count repeats instead of flooding.

  • Tested ranges. The Antigravity profile is tested with CLI 1.2.16 to 1.4.2, and its launch
    test's boundary moves to 1.4.3. The Cursor profile is tested with 2026.10.01 to 2026.10.16, and
    its boundary moves to 2026.10.17.

What changes for you

  • --wait works. 0.5.0 refused a waited send and pointed at the native leg; 0.5.1 writes the
    record through the delivery walk and waits on the thread, with answered and timeout as its
    two endings.
  • The default delivery order is mcp-inbox, drop, typed. A send that reached a pane by
    the typed trigger in 0.5.0 now leaves a drop file with nothing typed when the seat's CLI has no
    inbox, and the seat's watcher picks it up. native is never walked unless the sender chooses
    it or a level's declared word adds it.
  • New outcomes. A leg with its own success and no receipt ends sent (unconfirmed), exit 0;
    a read inbox message ends delivered (read). Every run still ends in one word.
  • Human seats need their file marked. A seat the file marks human: true is left untouched
    by every command that used to type at it, including --wait, which writes the record and
    types nothing.
  • A thread ends on its own. Beyond --close, a thread ends when its newest record is 72
    hours old or when it reaches 50 records.

Operating the bus

Nothing starts the bus for you in 0.5.1. Start one team bus per clone in a foreground terminal
outside herdr, and leave it running: it owns the event log, runs the reconciliation pass, and
serves the socket. Ctrl-C removes the socket and exits 0. It refuses to start when the caller is
not the owner, when a bus already answers, or when another start holds the socket lock. With no
bus running, team watch polls as it did in 0.5.0 and the owner's delivery still works through
the watch.

Install

npm install -g team

Before 0.5.1 is latest, the release candidate installs from the next tag:

npm install -g team@next

Node 22 or later, and herdr run the team.

Upgrading from 0.5.0

Run two commands first:

  1. team doctor — it checks this machine against the file and names whatever is missing.
  2. team check — it reads the file, the state, herdr, the registries and the agents' records, and
    reports the differences alone, each with its repair.

Running seats keep working as they are. Relaunch one with team restart <seat>, or the team with
team down, then team up as two commands, when you want it on this build. The file changes no
shape: a seat may now carry human: true, and a delivery order may name drop.

What 0.5.1 does not claim

  • The event thresholds are fixed defaults. Their owner-only setting arrives in 0.5.2. The
    bus's windows — the held, unreachable, idle, thread and retention thresholds — are what this
    build ships, and a policy command to change them is not in it.
  • The bus is not started for you. One team bus per clone, in a terminal outside herdr. A
    team that never starts it keeps the 0.5.0 behaviour: a polling watch and no event log.
  • Integrity, not authority. Every seat runs as the owner-user, and the owner's signing key is
    readable on the machine. Every gate holds against a mistake, not against an attempt, and no
    record or view calls itself cross-lab, signed-by-the-seat or contained.
  • The same-user limit stands. What contains a determined process running as the same OS user
    today is owner-signed writes, the log and grants scoped to sessions and commands; closing it
    needs OS-level containment and is planned after 0.5.x
    (SECURITY.md states the same limit).
  • The event log is local. It is one project's log on one machine, kept for thirty days or
    100 MB per team, whichever comes first. There is no cross-machine event bus in this release.

Links