Skip to content

team 0.5.23

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Nov 20:26
817442a

Added

  • A Claude Code seat on Anthropic signs in with no session login on a machine whose secret store holds the entry CLAUDE_CODE_OAUTH_TOKEN (the long-lived token claude setup-token prints): its launch line takes CLAUDE_CODE_OAUTH_TOKEN={secret:CLAUDE_CODE_OAUTH_TOKEN}, filled with the store's lookup like a provider key, so the value reaches that seat's shell only and never a record, status, log or plan. The store is asked whether it holds the entry by name alone (the Keychain lookup without -w; the encrypted file's entry names, nothing decrypted). Only a line proved to run Claude Code itself on Anthropic takes it (the shipped claude-code launcher, or leading assignments then the claude binary); a line through env, a shell, a wrapper or a launcher script, or one that names its own Anthropic credential, endpoint or settings file, never does. The route is enforced: the seat's own --settings file sets ANTHROPIC_BASE_URL to Anthropic's endpoint and empties every CLAUDE_CODE_USE_… switch, above the user's and project's settings and any exported variable, and the launch line clears the same variables and the other Anthropic credentials; the token is handed only when that file is in place. Only the machine's managed Claude settings stand above it, so a machine with a managed settings file, its drop-in folder or (on macOS) the managed preferences domain gives no seat the token, and team doctor names the file as the reason. A seat's reusable record never keeps the lookup. It is opt-in: the advised policy claude-auth is login by default (the session login, as before) and store turns it on, at entity, project or team level, for a personal subscription that receives no organization-managed settings (server-delivered settings stand above anything TeamCLI writes and cannot be detected locally). team doctor, under store where no session login is found, names the seats that sign in from the store, or names claude setup-token and the entry to keep it under. See Headless Claude sign-in.
  • Every seat has a name. A seat with no nickname, whose label is not <Name> · <role>, is handed the first free name of its entity's pool at team add (and team seat add) and at team up, which names every unnamed seat of the team, started or not, before anything launches. Three words in the entity's entry of entities.yaml decide how: names.pool (greek-myth, the built-in pool and the default, or a list of names read in order), names.auto (on, the default, or off, under which team doctor notes each seat with no name) and names.unique (entity, project, team or off), held as for a name set by hand. The name is written as a manual one is, nickname: <Name> and label: "<Name> · <role>"; a label with no middle dot is kept whole as the role part (Gemini tester becomes <Name> · Gemini tester). A seat with a nickname or a name of its own is never renamed; a human seat and a counted entry are not named. The pick and the write are one transaction under the registry's teams lock, and a first run publishes its name through a claim in ~/.config/team/name-claims.json, so two runs in two checkouts never take one name; an add whose name was taken meanwhile is refused (add.name-taken). A handed-out name moves the seat's approval with it only when its stanza is otherwise exactly what was approved and the approval is still the one the run judged; a nickname set by hand still needs a new approval. A run that cannot hand out a name says why and goes on: a launch never waits for a name. team names fill [--dry-run] [--entity <name>] names them when asked, whatever names.auto says. See Names handed out.
  • team restart <own-seat> --self: a seat, the entity's main orchestrator included by the owner's policy, queues its own restart from its own recorded pane; no seat can queue another's. The daemon relaunches it with its conversation once the terminal host reports it idle at an empty prompt (no turn, no unsent text, no dialog), read again right before the stop, in a short-lived child so its heartbeat never waits. The signed request runs only while the seat's record still names its pane, launch and conversation and the load guard lets a launch through. A refusal before the first effect on the pane ends restart.deferred and requeues the request; after the stop begins, any outcome is said once to the team's lead and the request is dropped, never run twice. A self-restart resumes the conversation or does not run: a line that cannot carry it, or a CLI that refuses the resume, ends restart.continuity, and no fresh conversation is started. A request that waits 30 minutes is given up and said to the lead. See A seat's restart of itself.