Repository navigation
v0.176.0
Install or update: npm i -g cotal-ai@0.176.0
Restart running Cotal processes and agent sessions to use the new code.
What changed
cotal setupnow adds Cotal to T3 Code and Zed when it finds them, so a thread in either app can start and drive Cotal agents without editing their settings by hand.- Claude Code agents on a signed-in space now list, run and interrupt their own
/commands for their owner, as OpenCode, pi and Codex agents do. - Plain chat points to
:tofor channel history,pendinglists its broker and credential options, and service and manager help show that--foregroundand--dry-runcan be used together. - A Claude seat that your organization's managed settings stop at startup now fails with Claude's full reason, such as
disableSideloadFlagsrefusing--plugin-dir. - Clarify which workflow commands accept credentials, when preference layers omit fields, how
team check --spaceworks, and the dashboard's history limit. - Get actionable retry advice when
config getalready has a key,stoplacks an agent name and has an invalid manager ID, orbackup createreceives an unsupported option. - Explain how to reach a daemon started with a different
XDG_RUNTIME_DIR, and make clear when a local space has no machine service to disconnect. - Daemon setup now reports why a recorded service unit could not be verified instead of treating the daemon as uninstalled or suggesting another sign-in.
- Daemon service previews distinguish a missing recorded unit file from one they cannot inspect.
- Foreground spawn and persona show explain how to recover from unreadable persona files, persona show suggests a valid name override when needed, and the local catalog flags blank filenames as invalid selectors.
- Self-update can use a compatible Node.js when Corepack supplies npm or Volta supplies Node.js.
- Report how to fix a daemon runtime path that points to a file or a directory that blocks a demo persona.
- On Linux, a foreground daemon can return to its original runtime directory after a crash and a temporary runtime switch without manual socket cleanup.
- Spawn previews warn when a broken default persona link blocks the launch, and foreground spawn explains how to fix the link without replacing it.
- Foreground spawn previews explain how to fix looping persona links, and detached spawn reports that it is waiting without promising a time limit.
- Verify that
cotal statusrecommends enabling JetStream instead of launching an agent when the selected broker lacks JetStream. - Find the correct Codex model ID format, the roster command for a missing pending recipient, and the alternate directory option for an existing endpoint scaffold.
- Show how to look up a missing local workflow ID, label computed calls accurately in plans, and apply scripted race faults before the branches start.
- Make workflow simulations reject late turn yields and enforce one shared deadline across ask retries.
- Overlapping CLI commands now report an installation at most once per UTC day.
- Keep space registrations that cannot be read, show the correct broker-only restart command, and omit the unsupported
--new-instanceflag from manager preset start help. - An OpenCode 2.x agent that answers a direct message in chat only, with no Cotal reply, now gets one reminder to reply with a Cotal tool.
- Clarify that
spawn --filereads the persona locally unless--detachor--onsends the launch to a manager. - Report permission denials when
cotal attachcannot access the selected manager, and bound the live attach smoke test without changing who may attach. - Show store and channel seed repairs before recommending a local stack restart, and preserve broker reachability in component status for moved projects.
- See when chat history does not fit in the terminal and when
/jointargets a channel you are already on. - Give
cotal doctor authandcotal status --componentsrecovery steps that match the project records, broker store permissions, and address availability they find. - An unknown channel now points to the list in the right space, and CLI refusals identify missing option values and mistyped short flags more clearly.
- Endpoint commands now name unanswered instance pins, explain missing scatter grants, and show how to select a space for describe or remove.
- When a registry returns npm E404 for a first-party package during self-update, show the package, error code and registry in both the wait and final messages.
- Explain how to recover when
cleanencounters an unsearchable store path or dangling store link, and whenresetencounters a ready preserved legacy store. - Keep JSON on suggested send retries, report project file conflicts in the requested JSON stream, and include the folder's space when clearing a selection.
- Move the up command's resume and restore-listener activation out of
up.tsinto an internalup-resume.ts. cotal completion uninstallleaves symlinked profiles alone when no stub or ownership record exists and tells you how to retry when a read-only profile blocks removal.- Start the Manager, delivery, auth and service-unit child processes without loading the rest of the command line again.
- When a mistyped option has one matching boolean switch and that switch is already set, the CLI tells you to drop the typo instead of suggesting the switch a second time.
- Team deploy previews flag invalid channel fields and recognize unchanged cards, and team boot previews stop warning about deployments with a complete removal receipt.
- Stop the foreground stack on SIGTERM even if its project folder was moved or deleted.
- When a manifest start needs its own project folder under the machine home, the recovery advice keeps the manifest and its launch options instead of suggesting a bare start.
- When an interrupted start leaves an unregistered broker running, the retry advice keeps the requested broker address and broker-only choice.
- Keep the requested broker address and output format in startup recovery advice when the project folder cannot supply a valid space name.
- After stopping a legacy open broker whose saved payload limit is too low for a manager, recommend
cotal up --no-managerto restart it at the same limit. - Resume team boots with equivalent broker URLs, show the supported foreground manifest command, and reject plaintext public exchange URLs before startup.
- Name extra manager arguments, keep JSON in manager stop confirmations, and show how to review and confirm shutdown before retrying a reset.
- When a startup preview is missing its manifest, the CLI also tells you to omit the requested JSON or plain output flag so the next attempt can print the plan.
- Plain chat refuses oversized single-line messages before asking to send them.
- Keep
--jsonin channel, service, and persona removal confirmations and in the suggested preview and confirmation for a store reset. - Keep recovery commands pointed at the requested space when the attach picker is empty or a persona is not found.
- Keep the requested output format in space reset and deletion confirmation commands and in channel membership spelling corrections.
- A preserve-state stop that cannot acquire the maintenance lock now reports a blocked operation and how to retry, rather than an unknown outcome.
- Report missing watch option values in the JSON stream, accept leading underscores in extension scopes on removal, and recommend
--projectwhen setup cannot write to the selected folder. - Quote the service record directory in permission repair commands printed by
upanddown, so the repair works when the directory name contains spaces. - Find registered spaces from subdirectories, verify unchecked registrations through equivalent paths, and show how to prepare a new space in another folder.
- When restore cannot write the parent of a new store, it tells you to make the parent writable and leave the store path absent.
- When another project already runs the space named by this folder, the startup advice directs a separate space to a new project folder instead of retrying in a root that already belongs to a space.
- When startup cannot access its service records, the printed repair now restores directory search permission as well as write permission.
- Service commands explain how to retry a blank working directory or remove
--foregroundfrom a broker start preview without starting it. - Find missing saved endpoint references in the space you queried, and inspect team deployments using the space from the deployment receipt.
- Preview detached launches in stopped open spaces, recommend
-dfor pinned launches with structured output, and report unregistered manager pins in named agent status without waiting for a reply. - Show a usable replacement credential command in
cotal joinfor channel names that start with a dash. - Keep the saved manager and stopped instance when a launch digest override does not match, and reject malformed console hosts in fresh manager start previews.
- Use the booted space in the launch-summary command printed by
cotal team boot. - Fix the CLI smoke test so it recognizes the live replacement manager in model catalog refresh guidance.
- The Manager now keeps its hosting authority in its read-only config, and its internal parts read it from there instead of through a callback each.
- Remove nine private Manager forwarders that only the Manager itself called (boot's start and execution-record claim, the stop path's goal-writer, session-plane, chat-session and reconcile-drain steps, the release of managed agents and a stopped seat's goal cancel), so the Manager calls the owning part directly.
- Move the manager's service-endpoint serve state (the serve handle, its connection, identity, grant and current credential) from the Manager into the serve plane that registers it, which boot, credential renewal, the goal writer, seat launch, seat stop, spawn-goal and retirement now read directly instead of through per-field accessors.
- Quote workflow simulation retry paths and reject local admission lists with no patterns before contacting the broker.
Every change in full
-
cotal setupnow adds Cotal to T3 Code and Zed when it finds them, so a thread in either app can start and drive Cotal agents without editing their settings by hand. Setup installs@cotal-ai/acpand adds one entry per space that runs this computer'scotal acp --space <space>by absolute path. It updates an entry you added by hand in place instead of adding a second one, keeps your other settings and Zed's comments, and backs up each file before it changes it.cotal updatepoints the entries at the Cotal it installed, andcotal statusshows an entry whose command is gone. The ACP bridge gains/name, which names a thread's agent before it starts or renames a running one on a space where people sign in, and/open, which drives an agent that is already running from a new thread. A thread reopens on the agent it spawned or opened.npx @cotal-ai/acpstarts the Cotal installed on this computer, and when there is none or it lacks the ACP extension, it offers a terminal sign-in that installs what is missing. Core adds theclient-setupextension kind (ClientSetupProvider) and passes the space to a setup action. -
Claude Code agents on a signed-in space now list, run and interrupt their own
/commands for their owner, as OpenCode, pi and Codex agents do.@cotal-ai/connector-claude-codeships a command mod,hooks/commands.js, which needs Claude Code 2.1.330 or later with mods on. The seat's MCP server, and a plain session's, serves a private command socket for its Claude Code process, and the mod's reader connects to it with its connector and Claude versions; the server refuses another connector version or an older Claude. Theagentendpoint'scommandslists Claude's own/list ascommandentries, without what Claude hides and what cannot run remotely. A command that a person, a plugin or an MCP server added runs, and of Claude's built-ins only/context,/compact,/init,/security-review,/code-review,/simplifyand/verifydo: one that opens a panel or writes settings, such as/usageor/model, endsrefusedwith its reason, and a name Claude does not list, an alias such as/costincluded, endsnot-found. A queued command starts only while the seat runs no turn, and one Claude has not started within 30 s, such as one a panel holds, endsunknown. After a local Stop a command endsrefusedwith "waiting for local input".interruptstops the turn and every tool the stop moved to the background, and the seat then reads idle. While no mod serves the session,commandsanswerssupported: falseandcommandandinterruptareunimplementedwith the cause.serveClaudeSessiontakesclaudePidto serve one session's command socket.@cotal-ai/connector-coreadds an optionalunsupported()toCommandDispatcherfor that cause, and exports the release version on the@cotal-ai/connector-core/versionsubpath. -
Plain chat points to
:tofor channel history,pendinglists its broker and credential options, and service and manager help show that--foregroundand--dry-runcan be used together. -
A Claude seat that your organization's managed settings stop at startup now fails with Claude's full reason, such as
disableSideloadFlagsrefusing--plugin-dir. The manager kept only the last 160 characters of the agent's final output line, which cut off the cause that Claude prints first. It now keeps that line whole, up to 4096 characters. The Claude connector docs also describe how an administrator installs the Cotal plugin through managed settings. -
Clarify which workflow commands accept credentials, when preference layers omit fields, how
team check --spaceworks, and the dashboard's history limit. -
Get actionable retry advice when
config getalready has a key,stoplacks an agent name and has an invalid manager ID, orbackup createreceives an unsupported option. -
Explain how to reach a daemon started with a different
XDG_RUNTIME_DIR, and make clear when a local space has no machine service to disconnect. -
Daemon setup now reports why a recorded service unit could not be verified instead of treating the daemon as uninstalled or suggesting another sign-in.
-
Daemon service previews distinguish a missing recorded unit file from one they cannot inspect. If access is denied or the path cannot be inspected, the refusal tells you to keep the install receipt and retry after correcting the problem.
-
Foreground spawn and persona show explain how to recover from unreadable persona files, persona show suggests a valid name override when needed, and the local catalog flags blank filenames as invalid selectors.
-
Self-update can use a compatible Node.js when Corepack supplies npm or Volta supplies Node.js.
-
Report how to fix a daemon runtime path that points to a file or a directory that blocks a demo persona.
-
On Linux, a foreground daemon can return to its original runtime directory after a crash and a temporary runtime switch without manual socket cleanup.
-
Spawn previews warn when a broken default persona link blocks the launch, and foreground spawn explains how to fix the link without replacing it.
-
Foreground spawn previews explain how to fix looping persona links, and detached spawn reports that it is waiting without promising a time limit.
-
Verify that
cotal statusrecommends enabling JetStream instead of launching an agent when the selected broker lacks JetStream. -
Find the correct Codex model ID format, the roster command for a missing pending recipient, and the alternate directory option for an existing endpoint scaffold.
-
Show how to look up a missing local workflow ID, label computed calls accurately in plans, and apply scripted race faults before the branches start.
-
Make workflow simulations reject late turn yields and enforce one shared deadline across ask retries.
-
Overlapping CLI commands now report an installation at most once per UTC day. Each command still reports its own outcome.
-
Keep space registrations that cannot be read, show the correct broker-only restart command, and omit the unsupported
--new-instanceflag from manager preset start help. -
An OpenCode 2.x agent that answers a direct message in chat only, with no Cotal reply, now gets one reminder to reply with a Cotal tool. The connector records a reply when
cotal_dm,cotal_sendorcotal_anycastsucceeds. A turn that carried a live direct message, role request or @mention and ended cleanly without one is followed by a single short turn that leaves the choice to reply with the agent.@cotal-ai/connector-coreexportsMESH_ACTIONS, the intent-to-tool map the orientation card shows. -
Clarify that
spawn --filereads the persona locally unless--detachor--onsends the launch to a manager. -
Report permission denials when
cotal attachcannot access the selected manager, and bound the live attach smoke test without changing who may attach. -
Show store and channel seed repairs before recommending a local stack restart, and preserve broker reachability in component status for moved projects.
-
See when chat history does not fit in the terminal and when
/jointargets a channel you are already on. -
Give
cotal doctor authandcotal status --componentsrecovery steps that match the project records, broker store permissions, and address availability they find. -
An unknown channel now points to the list in the right space, and CLI refusals identify missing option values and mistyped short flags more clearly.
-
Endpoint commands now name unanswered instance pins, explain missing scatter grants, and show how to select a space for describe or remove.
-
When a registry returns npm E404 for a first-party package during self-update, show the package, error code and registry in both the wait and final messages.
-
Explain how to recover when
cleanencounters an unsearchable store path or dangling store link, and whenresetencounters a ready preserved legacy store. -
Keep JSON on suggested send retries, report project file conflicts in the requested JSON stream, and include the folder's space when clearing a selection.
-
Move the up command's resume and restore-listener activation out of
up.tsinto an internalup-resume.ts.up.tskeeps every export it had, so the module surface is unchanged. -
cotal completion uninstallleaves symlinked profiles alone when no stub or ownership record exists and tells you how to retry when a read-only profile blocks removal. -
Start the Manager, delivery, auth and service-unit child processes without loading the rest of the command line again.
-
When a mistyped option has one matching boolean switch and that switch is already set, the CLI tells you to drop the typo instead of suggesting the switch a second time.
-
Team deploy previews flag invalid channel fields and recognize unchanged cards, and team boot previews stop warning about deployments with a complete removal receipt.
-
Stop the foreground stack on SIGTERM even if its project folder was moved or deleted.
-
When a manifest start needs its own project folder under the machine home, the recovery advice keeps the manifest and its launch options instead of suggesting a bare start.
-
When an interrupted start leaves an unregistered broker running, the retry advice keeps the requested broker address and broker-only choice.
-
Keep the requested broker address and output format in startup recovery advice when the project folder cannot supply a valid space name.
-
After stopping a legacy open broker whose saved payload limit is too low for a manager, recommend
cotal up --no-managerto restart it at the same limit. -
Resume team boots with equivalent broker URLs, show the supported foreground manifest command, and reject plaintext public exchange URLs before startup.
-
Name extra manager arguments, keep JSON in manager stop confirmations, and show how to review and confirm shutdown before retrying a reset.
-
When a startup preview is missing its manifest, the CLI also tells you to omit the requested JSON or plain output flag so the next attempt can print the plan.
-
Plain chat refuses oversized single-line messages before asking to send them. The refusal leaves any kept draft unchanged.
-
Keep
--jsonin channel, service, and persona removal confirmations and in the suggested preview and confirmation for a store reset. -
Keep recovery commands pointed at the requested space when the attach picker is empty or a persona is not found.
-
Keep the requested output format in space reset and deletion confirmation commands and in channel membership spelling corrections.
-
A preserve-state stop that cannot acquire the maintenance lock now reports a blocked operation and how to retry, rather than an unknown outcome. It does not stop the running stack.
-
Report missing watch option values in the JSON stream, accept leading underscores in extension scopes on removal, and recommend
--projectwhen setup cannot write to the selected folder. -
Quote the service record directory in permission repair commands printed by
upanddown, so the repair works when the directory name contains spaces. -
Find registered spaces from subdirectories, verify unchecked registrations through equivalent paths, and show how to prepare a new space in another folder.
-
When restore cannot write the parent of a new store, it tells you to make the parent writable and leave the store path absent.
-
When another project already runs the space named by this folder, the startup advice directs a separate space to a new project folder instead of retrying in a root that already belongs to a space.
-
When startup cannot access its service records, the printed repair now restores directory search permission as well as write permission.
-
Service commands explain how to retry a blank working directory or remove
--foregroundfrom a broker start preview without starting it. -
Find missing saved endpoint references in the space you queried, and inspect team deployments using the space from the deployment receipt.
-
Preview detached launches in stopped open spaces, recommend
-dfor pinned launches with structured output, and report unregistered manager pins in named agent status without waiting for a reply. -
Show a usable replacement credential command in
cotal joinfor channel names that start with a dash. -
Keep the saved manager and stopped instance when a launch digest override does not match, and reject malformed console hosts in fresh manager start previews.
-
Use the booted space in the launch-summary command printed by
cotal team boot. -
Fix the CLI smoke test so it recognizes the live replacement manager in model catalog refresh guidance.
-
The Manager now keeps its hosting authority in its read-only config, and its internal parts read it from there instead of through a callback each. Exports, commands and wire behaviour are unchanged.
-
Remove nine private Manager forwarders that only the Manager itself called (boot's start and execution-record claim, the stop path's goal-writer, session-plane, chat-session and reconcile-drain steps, the release of managed agents and a stopped seat's goal cancel), so the Manager calls the owning part directly. Exports, commands and wire behaviour are unchanged.
-
Move the manager's service-endpoint serve state (the serve handle, its connection, identity, grant and current credential) from the Manager into the serve plane that registers it, which boot, credential renewal, the goal writer, seat launch, seat stop, spawn-goal and retirement now read directly instead of through per-field accessors. Exports, commands and wire behaviour are unchanged.
-
Quote workflow simulation retry paths and reject local admission lists with no patterns before contacting the broker.
What's Changed
- fix(cli): refuse oversized plain chat drafts by @davidfarah-dev in #9467
- fix(cli): make completion uninstall safe to retry by @davidfarah-dev in #9453
- fix(cli): give actionable refusal guidance by @davidfarah-dev in #9455
- fix(cli): drop a mistyped switch when its spelling is already set by @davidfarah-dev in #9474
- fix(cli): suggest a broker-only restart after legacy down by @davidfarah-dev in #9451
- fix(cli): stop foreground stacks after project renames by @davidfarah-dev in #9452
- fix(daemon): keep the receipt when a unit cannot be inspected by @davidfarah-dev in #9478
- fix(cli): disclose hidden chat rows and clarify repeated joins by @davidfarah-dev in #9456
- fix(cli): explain how to recover blocked store cleanup by @davidfarah-dev in #9458
- fix(cli): keep the follow setup-failure records out of the command modules by @davidfarah-dev in #9469
- fix(cli): correct team deployment previews by @davidfarah-dev in #9459
- fix(cli): preserve output format in suggested commands by @davidfarah-dev in #9461
- fix(connector-opencode): re-prompt once when a directed turn ends with no reply by @Manas-Kenge in #8652
- fix(daemon): clarify runtime and disconnect guidance by @davidfarah-dev in #9457
- fix(cli): claim the daily install report once across commands by @davidfarah-dev in #9490
- fix(cli): correct spawn and named status guidance by @davidfarah-dev in #9462
- fix(cli): preserve JSON in confirmation commands by @davidfarah-dev in #9463
- fix(cli): explain endpoint target refusals by @davidfarah-dev in #9476
- fix(runtime): correct workflow lookup, computed plans and simulated race faults by @davidfarah-dev in #9447
- fix(cli): quote the service record folder in permission repairs by @davidfarah-dev in #9525
- fix(cli): report attach permission denials by @davidfarah-dev in #9481
- fix(cli): restore directory search access in the startup repair by @davidfarah-dev in #9532
- fix(daemon): preserve recorded unit inspection failures during setup by @davidfarah-dev in #9540
- fix(cli): resolve registered space roots by @davidfarah-dev in #9479
- fix(cli): correct argument refusals and extension removal by @davidfarah-dev in #9475
- test(cli): accept any launcher word in the hangup stop command by @davidfarah-dev in #9527
- fix(lang): enforce workflow simulation reply deadlines by @davidfarah-dev in #9522
- fix(runtime): handle workflow simulation and admission edge cases by @davidfarah-dev in #9506
- fix(cli): report stack restart blockers and moved projects by @davidfarah-dev in #9465
- fix(cli): preserve recovery targets by @davidfarah-dev in #9468
- fix(cli): honor npm and Node shims during self-update by @davidfarah-dev in #9528
- fix(cli): name the output flag to omit for a manifest preview by @davidfarah-dev in #9575
- feat(connector-claude-code): serve a command socket for the seat's command mod by @Manas-Kenge in #9543
- fix(cli): preserve JSON output across retries and refusals by @davidfarah-dev in #9534
- fix(update): identify scoped registry 404s during self-update by @davidfarah-dev in #9524
- fix(manager): report a refused Claude seat with its full reason by @Manas-Kenge in #9518
- test(manager): expect a person's own view to list and type into their agents by @davidfarah-dev in #9589
- fix(cli): clarify local persona launch and recovery by @davidfarah-dev in #9520
- fix(cli): keep the manifest in inherited-home startup advice by @davidfarah-dev in #9600
- fix(cli): correct join credential handling by @davidfarah-dev in #9531
- fix(cli): validate manager start options before saving by @davidfarah-dev in #9477
- fix(cli): scope endpoint and team lookup guidance by @davidfarah-dev in #9526
- refactor(manager): move the service serve state into ServePlane by @davidfarah-dev in #9311
- feat(acp): set up T3 Code and Zed from cotal setup, add /name and /open, and an npx launcher by @davidfarah-dev in #9302
- feat(connector-claude-code): add a mod that runs seat commands by @Manas-Kenge in #9544
- fix(cli): preserve startup options after an interrupted broker launch by @davidfarah-dev in #9621
- fix(cli): make refusal remedies actionable by @davidfarah-dev in #9577
- feat(connector-claude-code): serve agent commands through the command mod by @Manas-Kenge in #9597
- refactor(manager): call the owning part instead of nine private forwarders by @davidfarah-dev in #9610
- docs(cli): clarify file persona launch routing by @davidfarah-dev in #9602
- fix(cli): explain how to retry service refusals by @davidfarah-dev in #9604
- fix(daemon): recover stale sockets across runtime switches by @davidfarah-dev in #9609
- fix(cli): direct a separate space to a new project folder by @davidfarah-dev in #9626
- test(manager): check the live catalog refresh responder by @davidfarah-dev in #9616
- fix(cli): classify lock contention before a preserve stop by @davidfarah-dev in #9630
- test(cli): align default-agent status smoke with broker preflight by @davidfarah-dev in #9599
- test(cli): accept any launcher word in ps and whoami start guidance by @davidfarah-dev in #9620
- refactor(cli): move the up resume and restore-listener activation into up-resume.ts by @davidfarah-dev in #9315
- fix(cli): correct local stack startup guards by @davidfarah-dev in #9480
- fix(cli): clarify model IDs and recovery commands by @davidfarah-dev in #9567
- fix(cli): correct spawn preview and readiness messages by @davidfarah-dev in #9530
- fix(cli): preserve space registrations and correct start guidance by @davidfarah-dev in #9529
- docs(cli): align references with command behavior by @davidfarah-dev in #9466
- fix(cli): name daemon runtime and demo persona conflicts by @davidfarah-dev in #9471
- fix(cli): correct restore store directory guidance by @davidfarah-dev in #9533
- fix(cli): keep startup options when the folder name is invalid by @davidfarah-dev in #9634
- test(workspace): classify the preserve lock calls in the presence-render census by @davidfarah-dev in #9635
- fix(cli): align help with accepted inputs by @davidfarah-dev in #9569
- fix(cli): scope team boot launch summary to the booted space by @davidfarah-dev in #9593
- fix(spawn): explain broken default persona links by @davidfarah-dev in #9601
- fix(cli): clarify manager lifecycle and reset retries by @davidfarah-dev in #9625
- fix(cli): report actionable recovery steps by @davidfarah-dev in #9591
- refactor(manager): hold the hosting authority in the manager config by @davidfarah-dev in #9628
- chore(release): version packages by @davidfarah-dev in #9472
Full Changelog: v0.175.3...v0.176.0