Skip to content

v0.176.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 23 Nov 16:18
9cd96b1

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 setup now 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 :to for channel history, pending lists its broker and credential options, and service and manager help show that --foreground and --dry-run can be used together.
  • A Claude seat that your organization's managed settings stop at startup now fails with Claude's full reason, such as disableSideloadFlags refusing --plugin-dir.
  • Clarify which workflow commands accept credentials, when preference layers omit fields, how team check --space works, and the dashboard's history limit.
  • Get actionable retry advice when config get already has a key, stop lacks an agent name and has an invalid manager ID, or backup create receives 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 status recommends 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-instance flag 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 --file reads the persona locally unless --detach or --on sends the launch to a manager.
  • Report permission denials when cotal attach cannot 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 /join targets a channel you are already on.
  • Give cotal doctor auth and cotal status --components recovery 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 clean encounters an unsearchable store path or dangling store link, and when reset encounters 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.ts into an internal up-resume.ts.
  • cotal completion uninstall leaves 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-manager to 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 --json in 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 --project when setup cannot write to the selected folder.
  • Quote the service record directory in permission repair commands printed by up and down, 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 --foreground from 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 -d for 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 join for 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 setup now 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/acp and adds one entry per space that runs this computer's cotal 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 update points the entries at the Cotal it installed, and cotal status shows 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/acp starts 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 the client-setup extension 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-code ships 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. The agent endpoint's commands lists Claude's own / list as command entries, 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, /simplify and /verify do: one that opens a panel or writes settings, such as /usage or /model, ends refused with its reason, and a name Claude does not list, an alias such as /cost included, ends not-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, ends unknown. After a local Stop a command ends refused with "waiting for local input". interrupt stops the turn and every tool the stop moved to the background, and the seat then reads idle. While no mod serves the session, commands answers supported: false and command and interrupt are unimplemented with the cause. serveClaudeSession takes claudePid to serve one session's command socket. @cotal-ai/connector-core adds an optional unsupported() to CommandDispatcher for that cause, and exports the release version on the @cotal-ai/connector-core/version subpath.

  • Plain chat points to :to for channel history, pending lists its broker and credential options, and service and manager help show that --foreground and --dry-run can be used together.

  • A Claude seat that your organization's managed settings stop at startup now fails with Claude's full reason, such as disableSideloadFlags refusing --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 --space works, and the dashboard's history limit.

  • Get actionable retry advice when config get already has a key, stop lacks an agent name and has an invalid manager ID, or backup create receives 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 status recommends 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-instance flag 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_send or cotal_anycast succeeds. 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-core exports MESH_ACTIONS, the intent-to-tool map the orientation card shows.

  • Clarify that spawn --file reads the persona locally unless --detach or --on sends the launch to a manager.

  • Report permission denials when cotal attach cannot 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 /join targets a channel you are already on.

  • Give cotal doctor auth and cotal status --components recovery 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 clean encounters an unsearchable store path or dangling store link, and when reset encounters 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.ts into an internal up-resume.ts. up.ts keeps every export it had, so the module surface is unchanged.

  • cotal completion uninstall leaves 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-manager to 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 --json in 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 --project when setup cannot write to the selected folder.

  • Quote the service record directory in permission repair commands printed by up and down, 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 --foreground from 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 -d for 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 join for 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

Full Changelog: v0.175.3...v0.176.0