Skip to content

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 05 Dec 08:22
· 296 commits to main since this release
v0.1.4
61c117a

Highlights

  • Context picker: /context shows each member's context table, kept across a restart
  • Spend: its own window, with each day's spend and the account's usage limits; a limit near its end is a card with its bar
  • Control a member: /model, /effort, /pause and /resume, /rewind, and /btw to ask one aside mid-turn
  • Safer turns: auto retry on a passing fault, a loop guard, a task budget, and secrets masked on screen
  • Review: line notes on a task's diff, plan review, and what each review checked
  • Find and keep: Ctrl+R history search, /copy and /export
  • Shorter release notes: this list, not every change

All changes

  • Background subagents in the tray: an Agent call sent to the background is a job card in the tray from its launch to its report, its description, @member, time and what it does now; the tray is not quiet while one runs, and a click opens its member
  • Auto retry: a member's turn that fails on a passing fault of the API or the network is retried by collab after 1, 5, then 15 minutes, one on a usage limit every 30 minutes for 6 hours; the failed card says when, Retry still goes at once and the timer then sends nothing; a turn that ends otherwise starts the count again
  • /pause and /resume: /pause lets members end the turns under way and sends them nothing new; posts and wakes wait in held, as at a waiting restart, and a post says it goes after /resume; /resume sends each what waited, in order, unless a restart waits; the bar shows Paused with how much waits, a click resumes; the Help sheet lists both
  • Pause holds collab's wait too: a member blocked in the wait tool is not woken by a mention while paused; /resume lets it return with what mentioned it
  • Retry card after a later turn: a member's turn that ends after its failure marks that failed card retried, so it offers no Retry and no "retries at" for a retry that will not come; retry_after takes "Connection lost" and "Connection error" as passing, not any error mentioning a connection; /pause's help says a restart ends the pause
  • Loop guard: a member's same call with the same result 3 times in a row is kept in the data's loops/NAME and its hook refuses that call once more, saying to change it or drop the task with a handoff; another call or result forgets it; collab's own tools do not count; the stream says so and the tray card reads loop
  • Task budget: at a member's turn end, a task it holds whose spend since its claim passes 3 times the median cost of the finished tasks (once 5 have one) gets one budget notice that wakes its owner: start nothing new on it, done what works, split the rest or drop it with a handoff; its tray card reads "$X over budget" in warning tone
  • /copy: a picker of the stream's last 20 messages and shell commands, each followed by the code blocks, links and commit shas in it, the picked one whole in the preview; Enter or a click puts it on the clipboard by OSC 52 and a toast says what was copied
  • Loop guard: a loop is forgotten whenever a run of calls starts again, so a loop file an earlier collab left is gone after the one refusal it gives; results are compared without their digits, as a test run says how long it took
  • Prompt cache on the tray card: an idle member's card says how long the cache its replies wrote or read stays warm ("idle · cache warm · 41m left", the TTL from usage's ephemeral_1h or 5m), then "cache cold · next wake re-sends ~150k" in warning; its closer look says it too; a quiet screen is drawn again each 30 s so the minutes go on
  • Ctrl+R history search: Ctrl+R makes the message line a search of what the person sent: the / list shows the messages with every word typed, newest first, the words marked; Enter or Tab puts the picked one in the line whole, unsent; Esc gives the draft back; the Help sheet lists it
  • Line notes review: a task in review's Diff panel shows its file as lines, a click on one opens a note field under them; Enter puts the note under its line, Esc drops it, the composer's draft comes back either way; the verdict buttons count the notes, and the task's /review sends them, each 'path:line note', as findings when sent back or nits when approved
  • /export: /export writes every message, /export 12 task 12's thread, as markdown under the data's exports/, each message a head with its number, author, kind and time; collab says the file and how many messages it holds
  • Ctrl+R marks each word: the picker's labels mark every hit of each word of the query, in any case, as strong spans collab builds itself; tern's list filter, which marks the query as one run, is no longer sent
  • Nits on 398 and 407: a line note keeps the commit its task was done at, and the task's notes from an earlier done go when its diff opens or its /review is sent; names_task does not match inside a word; /export's file names carry seconds
  • /copy without OSC 52: the picker's preview carries tern's own copy action on a click or a double-click, which needs no Settings › Terminal › Security permission; Enter and a row click still write OSC 52, as a picker's activate goes to the program; stream messages already copy by tern's copy icon
  • A line note only for a task in review: add_note adds nothing when the task has no commit among the reviews, rather than a note with no commit that its /review then drops without a word
  • Reviewer with a warm cache: of the members with the least in hand, collab asks one whose prompt cache is still warm to review, not the first by name, so a review does not make a cold member write its whole context again while a warm one is as free; the TUI tells the hub each member's cache expiry with what it is doing
  • Secrets masked on screen: a credential's body in what collab shows reads "…[secret]" after its prefix: an entry's text and detail as it is pushed, a tool's result, a member's whole text (its deltas showed it a moment), and /export's markdown; known prefixes (sk-ant-, ghp_, github_pat_, AKIA, …) with a body of 16 or more holding a digit, Bearer tokens, a PEM private key's body, a URL's password. The person's own message keeps its detail, for taking it back; members' context is untouched
  • Secrets masked on screen: what a member is doing (its tray card, the bar, the members panel) and an Edit's or Write's diff lines are masked too
  • /context @name: collab sends the member Claude Code's /context, now if it is idle, else after its turn; its reply is read into a Context sheet, a stacked bar of the window and a row per category with tokens and share, not the member's message in the stream; /context with no name or one not in the group says how to use it; the shots' fake claude plays NAME.next.jsonl as its reply to the next message
  • A PEM private key in a diff is masked: secrets::mask_lines masks a diff's lines one by one and hides each body line of a key after its BEGIN … PRIVATE KEY----- line up to its END line, the count of lines kept
  • Subagent steps: a member's subagent's calls, their results and its words, which came with parent_tool_use_id and were dropped, are entries under its Agent call, never in the stream, the member's doing, runs or turn receipt; the Agent card's 'N steps' button and a background subagent's tray card open them in a sheet headed '@name · kind · description', following the newest; nits on 412: the /context table read once, one quiet tone for categories under 1%
  • A subagent's unfinished steps end with it: when an Agent call ends, by its result or a background one's report, its steps still running, whose results never came, fail with 'its subagent ended before its result' rather than spin in the Steps sheet
  • Session info: a member's init is read, its model, Claude Code version, permission mode and MCP servers with their status; a collab server that failed to connect is an error line naming the member, said once as it fails, not each turn it stays so; the Member sheet heads with 'model · version · mode' and a badge per server in its status's tone
  • Session info: a new process forgets the last one's init, so a collab server that fails again after /restart is said again
  • Usage limits: Claude Code's rate_limit_event is read, each window's share used, reset time and status; the Spend sheet has a bar per window, warning past 75% and bad past 90%, with when it resets; a window that leaves 'allowed' is one error line for the group, not one per member's call that finds it so
  • Usage limits: each window is kept by its name, so an event carrying only some leaves the others, and their state, in place
  • Accept commands: a task's accept line written "$ cmd" is a shell command collab's check runs in the done commit's tree after the project's check, until one fails; a failing one sends the task back named, with its output's tail; the task tool's accept description says so
  • Rewind: each message a member is told after a reply of its own is a point to go back to, with its last reply's uuid and its read then; /rewind @name lists them newest first (tern: a picker, the message whole beside), /rewind @name N goes back to before the Nth: its process ends, the next forks its session there (--resume-session-at, --fork-session), its read goes back too, and it is first told what stays done since: the tasks it holds and its worktree's HEAD; files are not rewound
  • Rewind: a message told mid-turn goes after that turn, so its point to go back to is the turn's last reply, set at its end; one still queued cannot be picked, and one whose turn never ended is let go; a call is never a point to fork at, its result would be missing
  • Plan review: a member's plan post has Review; its sheet is the plan line by line (a code block one row), a click on one writes a note under it; Send back posts one reply to the plan's author, re://N, each noted line quoted above its note, Approve the same headed 'approved'; shots: planreview
  • Rewind: a message told mid-turn takes its read at the turn's end too, with its point, so a rewind there re-reads only what it had not read
  • Plan review: a note written but not yet added when Approve or Send back is pressed goes with the verdict, not dropped
  • Spend window: the $ seg opens Spend as its own window in the middle, large and dimmed behind as the Branch picker is, not a sheet at the stream's side; a click outside or its × closes it
  • Spend window: .modal(true) as the other overlays have it
  • Member model: /model @name MODEL switches a member's model, a running process at once with Claude Code's set_model control request, a stopped one at its next start's --model; default goes back to collab's --model, else Claude Code's own; its answer names the model, which the Member sheet's head then says; tern: /model @name is a picker of opus, sonnet, haiku, fable and default, the one it is on marked; a switch is one line saying its prompt cache starts cold; shots: model
  • Member model: the tray card says the model a member runs on by its family (claude-haiku-5-5 is haiku), live after a switch; a switch drops its prompt cache's warm time, so the card and the reviewer pick no longer count it warm; a stopped member's last process's model gives way to the one it starts on next
  • Spend survives a restart: each member's spend in all and context at a turn's end go to a turns table; on start a member carries on from its last ones, so the Spend window's total and context line keep what came before a restart
  • Spend survives a restart: the Spent tile says in all, as it now spans restarts; a turn not kept is logged
  • Member effort: /effort @name LEVEL sets how hard a member thinks, a running process at once with Claude Code's apply_flag_settings control request (effortLevel; null is its default), a stopped one at its next start's --effort; its prompt cache stays, the model being the same; tern: /effort @name is a picker of low, medium, high, xhigh, max and default, each with a bar of its depth, the one it is at marked; the tray card says it beside the model, opus · high; shots: effort
  • History ghost: while the person types, the rest of their newest sent message starting with it shows dim after the caret (tern's editor ghost, dim in ratatui too); Tab or → at the end takes it; none while a list, reply, search or selection is up; shots: predict
  • Stop a background job: a background shell's closer look in the tray has Stop, which sends its member's Claude Code the stop_task control request with the shell's task id; its card goes with the background_tasks_changed that then comes; tern's tray.stop on a job's card does the same, a member's still stopping its turn; a member not running says it could not; shots: jobstop
  • Stop's follow-ups: Claude Code refusing a stop_task is an error line naming the member and why, not a "stopping" left standing; a background subagent's tray Stop (name/tool_use_id) stops it by the task id its launch names (agentId), which its call now keeps; shots: jobrefused
  • /btw: /btw @name QUESTION asks a member aside, even mid-turn: a fork of its session that is not kept (--resume --fork-session --no-session-persistence, one turn) answers without tools (dontAsk, nothing allowed), with the member's own system prompt, collab server, model and effort so it reads the member's prompt cache; its answer is the member's entry marked btw, then a line with its cost and the tokens read from cache; neither the member's conversation nor the group sees it; Agent::claude is the command both start and btw build on; shots: btw
  • /btw's fork joins nothing: its collab server says hello as "NAME btw" (collab mcp --btw), which answers initialize, ping and tools/list as the member, its brief and tools the same so its cache is, refuses any tool call, and takes no slot, posts no join or leave and releases nothing: a member offline after a restart keeps its claims and reviews, and one running is not refused; initialize and standing are free functions both serve and the fork's share
  • /btw follow-ups: a member's side thread keeps its last 3 side questions and answers (Agent::side, SIDE), which its next /btw carries in its prompt, oldest first, before the question now; the fork is still of the member's latest conversation and none is kept; an answerless turn does not join it; /btw @name alone forgets it and says so
  • /btw follow-ups: cargo fmt
  • Review diff in the read: when collab wakes a member to review a task, that member's read carries the task's change once: the commit's diff against the main branch, the code before the tests, a file past 300 lines cut with the git command that shows it whole; a fix in review or a change after the approval only what changed since (range-diff after a rebase); the group's history and the others' reads stay as they were
  • Spend per day: the Spend sheet charts what the group spent on each of its last 14 days by the local clock, from the turns kept (Session::days): a turn's spend is its member's spend in all less its turn before, a member's first turn counting none; summed by the hour in SQL, by the day in Rust; bars with each day's tooltip, today's in the summary; shots: spend
  • Spend per day: the turns tests open their own in-memory database; "memory://" is one the process shares, so a test running beside them read its turns
  • Usage counter: collab counts in Stoolap (uses: name, n), on this machine only, each slash command the person sends (a COMMANDS word, or $) and each tern button they click (its Msg variant's name, Msg now Debug; typing, sending and the caret are not counted); /uses lists them, the most used first, then the commands never used; shots: uses
  • Spend per day follow-ups: a turn's spend is all of its member's spend in all when that fell (removed and added again, from $0), never a negative day; the days are read into App (days, each with its date) at the start and as each turn ends, not on every frame of the Spend sheet, whose summary names the last day's date once it is not today
  • Review diff limits: the change a read carries stops at 1500 lines in all, the files after named with their line counts and the git command that shows them; a task's pending change is forgotten once it is reviewed or dropped, so none waits in memory for a wake that never comes; the tests test is one condition
  • Usage counter follow-ups: a button that does a command is counted as that command ($ for Spend, /restart, /resume, /stop for Stop all, /vote for a poll's Vote, /merge for the Branch picker's Merge); one that writes a command into the composer (Approve, Send back) or picks in a command's picker (/model, /effort, /rewind, /copy) is not, the command counted once as it is sent
  • Task from a message: task takes from, a message the member has read, its title then ending "(from #N)", and claim, which claims it in the same call (the claim path run as for a claim call, its answer after "added task N; ")
  • What the review checked: review takes checked, a line for each thing the reviewer read, ran or tried and what it showed; the review notice lists them as "- checked:" after the findings and before the nits, and the brief says a pull request for a task puts them in its body under "Verified", so the user's own look need not do them again
  • Flaky status test: status_without_collab_reads_the_database tries status again for up to a second while the database is locked, as a process another test spawns holds a copy of the lock's file until it execs
  • Overlap warning: a claim's and a done's answer names, for each other member whose unmerged collab/ branch changes files this member's branch changes too (or any file, while this one changes none, as just claimed), that member, the tasks it holds and those files (at most 8, then how many more): a rebase or the work there may conflict
  • Real Claude smoke test: tests/real.rs, its own harness (cargo test --test real -- --ignored; skipped otherwise), serves collab mcp and hook as collab would and runs a real claude on haiku as a managed member: a turn joins the group, /btw answers from the member's conversation and changes no one online, and an interrupt ends a turn mid-text. It found that with verbose on in the user's settings Claude Code writes --output-format json as the turn's every event, so /btw said no side answer: agents::btw_result takes the result alone or the last of the events
  • Overlap warning: only the group's members' branches; one left by a member gone from the group is no one's work
  • Handoff after compaction: when a running member's context is compacted, collab tells it, after the turn under way, what the board says it holds (each task with its accept lines), its own tasks in review and the reviews waiting on it, then to read; a member with none of them, or not running, is told nothing
  • Real smoke test, stop_task: the member starts sleep 300 in the background (its Bash asked, allowed), the job's id comes from its jobs list, and stop_job takes it off the list within a minute; a StopRefused fails the test with why
  • Handoff after compaction: no note to a member that holds no task and owes no review; with only its own in review it has nothing to do, and the note would start a turn for nothing
  • Real smoke test, stop_task: the job stopped is the sleep's, found by its Bash call's description (a job is named by that, not its command), not the list's first
  • status_without_collab_reads_the_database: a few tries while the database is still locked; the engine may let its file lock go a moment after close, too late on the check's busy machine (it failed 441's, 439's and 431's runs)
  • Hook: redirect writes are file changes too: a member's Bash that writes a file in its worktree, its cwd or collab's data with >, >>, >|, &>, 2> or tee is refused, as an in-place stream edit is; fd plumbing (2>&1, >&2), /dev/, $variable and ~ paths, /tmp, a quote's text and a heredoc's body are not; shell_words is just enough of a shell's words for that; the brief says the line
  • metric's sha: metric takes the commit a number was measured at, a sha or a ref (a before on the main branch's build), kept and said as its short sha; one the repository does not have is refused; none is the branch's commit as before
  • Hook's redirect check: a cd in the command moves where a relative target is (cd $VAR, ~, - or home: only a whole path is judged after it); a # outside a word is a comment to the line's end
  • Real smoke test, stop_task: no sleep call with a description, or no job of it, fails the test, not stops the list's first
  • metric's sha: a blank sha is none, not a refused commit named by blanks
  • The main branch's tree: collab keeps main in its data, a detached worktree at the main checkout's HEAD, made at start and moved on each merge (forced; a build there, untracked, stays), where members build, measure or try the main branch without a build of their own; the brief names it, never to be changed, and the hook already refuses an edit there
  • Rules don't read a git or gh command's text: a Bash rule is matched against the command with the quoted words and heredoc bodies of its git and gh commands left out, so a commit message or PR body that names a refused call is not refused; a call beside it, or one quoted to bash -c, still is
  • Main tree follow-up: the brief says each merge moves the main tree, even mid-build, that a pull made outside collab reaches it only at collab's next merge or start, and that git log -1 there shows where it is
  • Read mode: a member's post past 500 bytes written to others, naming members but not the reader nor @ALL, is read as its first line (at most 200 chars) and how to read it whole (read before=N+1); the user's, collab's, one to the reader, to @ALL or to no one come whole, in a read and in a catch-up's latest
  • Read mode: only a group member's name makes a post one to others (an @derive or @types is none), so a long post to no member comes whole; line's doc is back above it
  • A task's PR: done takes pr N; collab fetches origin's pull/N/head into refs/collab/pr/N and takes it for collab/NAME: the commit done at, the check and the reviewer's change, a fix or a change after the approval only what changed since; the task keeps pr (tasks.pr), so a done again is that PR again; the done notice says "as PR #N"; its approval leaves the owner's branch approval as it was and says the PR merges on GitHub, not with ready
  • A task's PR: a PR task done again after its approval is compared with the PR's approved head (its done_at), not the member's branch approval, and one unchanged says the PR merges on GitHub; the board names a task's PR ([PR #N]); a PR's check passing with no reviewer leaves the branch's approval as it was
  • Brief: the done line says to commit after the project's formatter and tests pass in the worktree, as collab's check of the done commit sends a failing one back
  • A task's PR: ready with nothing approved on the branch says the member's last PR task merges on GitHub, not with ready; collab's git never waits on a credentials prompt (GIT_TERMINAL_PROMPT=0), a fetch that wants one fails
  • Brief: the check to pass before done is the project's whole check, its formatter, tests and linters
  • A finding's repro: a member's send-back finding written "$ cmd" joins the task's accept once, so collab's check runs it from the owner's next done on and a fix that does not fix it comes back with its output; the notice says so; the review schema tells reviewers
  • metric on a PR task: with no sha, a PR task's number is kept at its fetched head, refs/collab/pr/N, not the member's collab/ branch
  • Context picker: /context opens a picker like Branch's at once, the members on the left with how full each context is, the picked one's last /context table in the preview; picking a member asks its /context, which for a member in a turn comes once the turn ends, as the preview says; the reply fills the picker and no longer opens a sheet minutes later; a /context asked during its own /context turn is not asked again
  • Context picker: each member's /context table is asked once after its first turn and kept, and the picker shows it at once brought to the member's context now (its messages and free space from each call's count), so a member in a long turn needs no wait; picking a member asks only when none is kept, Enter asks again; a member with none shows its known total
  • Context: collab asks a member's /context on its own once a session, so a reply it cannot read is not asked again after every turn
  • Real smoke test reads /context: the ignored real test asks a real haiku member's /context and parses its reply with tui::usage (now public, with Usage), so a change of Claude Code's table text fails there, not silently in the Context picker
  • Context tables kept across a restart: a member's last /context reply is written to collab's data, context/NAME.md, and read at start, so after a restart the Context picker has each table at once, brought to the live total
  • Kept context tables only for a resumed member: a member that begins a new session at start gets no saved table, so its fixed rows are not stale and the first-turn ask fills it
  • Context picker's close is an X: it takes the role collab.context and collab.css draws its close as Branch's ×, not the esc keycap; Esc still closes it
  • Usage limit card: the account's usage-limit warning is a card, not a bare red line: a gauge, 'The account's 7-day usage limit is 81% used' in bold, when it resets after it, and a bar of its share; amber while allowed, red once reached
  • Short release notes: release.yml writes the highlights written for a release (.github/highlights/vX.Y.Z.md) over all its changes; the first start's What's New shows the highlights only, else the first 5 changes and how many more, with the release page
  • Short release notes, short lines: the What's New list shows each change by its name, the subject before its first ': ', not the explanation after it
  • Release 0.1.4: Cargo.toml and Cargo.lock at 0.1.4, and .github/highlights/v0.1.4.md, what the release brings for its notes and What's New