Repository navigation
team 0.3.0
A release about setting a team up and upgrading it: one lobby per machine, signed approvals, a
caller gate bound to the pane the team recorded, a launch that reports one line per seat and waits
for its owner at a dialog, and, in the repository, the launcher package @teamcli/cli, published
in a later release. Three changes are breaking; read UPGRADE-0.3.md before upgrading a running
team.
Changed
- Breaking: seats now start in a machine-wide lobby at
~/.config/team/lobbyinstead of a
.lobbyfolder beside the project's worktrees, andtrust:entries must be absolute folders that
include that lobby. A file from an earlier release still reads (status,doctor), butteam up
andteam addrefuse it untiltrust:is migrated and approved again;team doctorand
team upprint the whole block to paste. - Breaking: approval records are signed per project and per machine. An approval made before
this release is not in force untilteam approveruns once more; running seats aren't disturbed. - Breaking: a coordinator or operator is the pane its own team's session records. From any other
pane, or when the state records no pane for that seat,add,remove,worktree,downand
answerare refused; the owner repairs it withteam down, thenteam up.--sessionand
--fileon those commands are the owner's alone, from a terminal outside herdr, refused before
anything is read. statusanddoctorread any team file without writing anything;watch --fileis the owner's;
a plain folder gets its watch.- The rules reach a seat as one verified line that points at its rules file.
- The watch reports an idle seat once per idle period;
watch.idle_repeatis off unless set. team worktreereads the approved copy of every value it uses.uprefuses a launch line that can't run where its seat starts.doctorwarns about a model-less launch only when nothing checks it;statusgives a runnable
repair order, the owner's repairs and unsent text.- A file whose
versionis"0"(the placeholderinitwrote) reads as unset; a wrong model
family is still refused.
Added
team upreports one final record per seat, a vendor notice as a kind of its own, and cleaned
output lines.team upno longer closes a seat that stops at a dialog: it keeps the workspace, records that the
seat waits for its owner, and asks one key:oopens the pane,sskips the seat,qstops
cleanly.teamanswers nothing and types nothing at a dialog. An owner with no terminal is never
prompted.team answerand thedialogspolicy: a coordinator may answer a trust dialog when the owner
allows it.team release check, itslinearandactivitychecks, and--filefor it.- Exit codes, documented and tested.
packages/teamcli: the launcher package@teamcli/cli(the same tool, typedteamcli), in the
repository and tested; it is not published with 0.3.0.
Fixed
- A restored pane is its seat only while
team's own process is still in it; the repair is named. - A trust close says the workspace was closed, a failed close is not announced as one, and a seat
seen running and then gone is reported as such. - Cursor: the idle box drawn inside a border is read; Cursor seats are read and checked whatever
model they run. - The pane-text sanitiser: BEL ends an OSC sequence only, in one linear pass.
Known issues
- A team file at a non-default path:
up --filestarts no watch for it; start it by hand
(team watch --file <path>from the owner's terminal). The line "watch: started" can be printed
for a watch that then exits. - After a restart of the machine (the multiplexer restores the panes; a CLI can come back as
another model, or a pane as a bare shell): a seat launched by 0.3 is recognised as no longer the
processteamstarted, andupcloses it without input and launches it again. A seat still
recorded by 0.2.1 (not relaunched since the upgrade) is not:upleaves it ("already ready"),
removerefuses a bare shell, andstatusnamesteam upas a repair that does not work for it.
What works: the owner'steam remove <seat> --abandon(orteam down --abandon), thenteam up.
The upgrade's relaunch (team down, thenteam up) removes the case. team downthat cannot confirm the exit text it typed leaves that text in the seat's input box;
the nextdownskips the seat ("holds unsent text"). Clear the box by hand.- The coordinator of a team whose file is not at the default path can run no team-changing command:
it finds no file, and--fileis the owner's. The owner runs them. - A seat waiting at a permission prompt is reported by a running watch, to the owner;
team status
has no line for it. - A seat that
upleaves out because its screen's model family is not the file's ("left at
launched, not named") keeps an unnamed pane; after the file is corrected and approved, the next
team uprefuses the session until that pane is closed by hand, andteam downdoes not close
it. This happens on a new 0.3 team too, not only after an upgrade. --untilon the commands that take it is not validated.- A seat stopped on its provider's error screen can read as idle or working.
Not checked on a real session before the tag
Three things in this release were checked by tests and by runs in process on a test host, not on a
real herdr session. They are due on the owner's own upgrade.
- The caller gate from a coordinator's pane and from another pane (
add,remove,worktree,
downwith no--session): covered by the caller and command tests; not typed in a real pane. - A real trust dialog during
team up(o,s,q): covered by the launch tests with an injected
terminal; not answered on a real CLI. - A seat left at launch for a model family its CLI doesn't run, the refusal of the next
team up,
the pane closed by hand, andteam upagain: run in process, where it ends with every seat ready;
not on a real multiplexer.