Skip to content

v0.197.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 05 Dec 15:51
51d5745

Install or update: npm i -g cotal-ai@0.197.0

Restart running Cotal processes and agent sessions to use the new code.

Known limit

A hosted Manager that keeps running through the update stays on the version it started with, and agents it starts afterwards use that version too. It moves to 0.197.0 the next time it starts. Managers that were stopped or failing to start come up on 0.197.0.

What changed

  • The Cotal app shows "Updating agent app connectors for " with the elapsed time while a hosted Manager repairs its connectors at start, and offers one Repair action only when that start ends refused.
  • OpenCode saved sessions.
  • Codex saved sessions.
  • Claude Code live forks.
  • A running managed Codex agent's current conversation can now be forked into a new agent from the launch picker, on Linux and while the source is idle.
  • On Linux, a managed Hermes 0.19.0 seat can be forked while it runs.
  • Jcode saved sessions.
  • On Linux, a running managed Jcode seat can be forked into a new agent through the Manager's live fork source.
  • Pi live forks.
  • Pi saved sessions in the launch picker.
  • The desktop app always shows the space of a running agent, and shows the full folder path as a tooltip when the path is cut off.
  • When an update prevents a Manager from starting and no verified native service owns the daemon, Cotal now shows the command to restart it instead of promising automatic activation.
  • cotal update follows the background service through deferred activation so a retired Manager registration cannot make a successful update report failure.
  • In the desktop app, Home returns to the computer overview at once while setup or Repair finishes in the background.
  • Repair in the desktop app leaves out registrations from spaces this computer no longer uses.
  • After an automatic update, the desktop app says on the connection screen that it is restarting the background service and names the spaces that are still starting.
  • Browser Use is not published in this release.
  • Cotal reconciles a missing connector selection before starting a hosted Manager on Linux or macOS.
  • A hosted Manager startup reports a refused status request and tells you which scope to ask the space owner for.
  • Linux pnpm global installations can keep hosted Managers running across updates by retaining a verified copy of their installed dependencies.
  • On Linux, starting the background service waits while systemd reports startup progress.
  • Linux daemon workers and hosted Managers can start on older systemd releases that reject environment variable names without values.
  • The Linux daemon extends its systemd startup window as the worker completes startup steps.
  • Cotal reports a missing or invalid published program selection before starting.
  • Updates keep waiting while the background service and hosted Managers make startup progress.
  • On Windows, you can now choose Update Codex in Agent apps when an older standalone Codex blocks installation.
  • On Linux, the daemon log and cotal daemon status explain why the background service could not start its worker.
  • The shell installer now leaves a runnable cotal launcher when the Cotal app is already installed on macOS or Linux.
  • Linux daemon installs can start from an empty explicit daemon home.
  • Hosted Manager status explains why the process went away.
  • The CLI entry file no longer uses syntax that older Node versions cannot parse.
  • Linux background service updates keep local status watches and machine endpoint connections open.
  • The Linux background service starts again when run from a source checkout.
  • Fix Linux background service setup when the installed Node executable is owned by another account or is group- or world-writable.
  • Linux installations with linked dependencies can start the background service and host Managers again.
  • Hosted Managers can keep starting as long as they make progress.
  • Manager startup reports completed contract verification, verified eviction, and predecessor-goal examination while recovery is running.
  • Hosted Managers keep using their desktop app installation's connector set after an update.
  • The background service tries to repair a mismatched app connector set before refusing to start a Manager.
  • Managers keep answering requests while a spawn waits for an installation update to finish.
  • Cotal Desktop checks for newly available spaces when you open Add to another space.
  • Windows npm updates can restore the previous version when connector reconciliation refuses.
  • Stopping an endpoint now closes its connection even when deleting a membership watch consumer fails.
  • Cotal labels connector inventory that still needs reconciliation after an update.
  • Read all accessible channel history when a fixed credential grants named channel reads but not a combined read.
  • Extension commands work on the first invocation after automatic connector reconciliation.
  • Loading the Manager service contract no longer loads the full workspace package.
  • Claude Code launches reject unsupported provider-prefixed model IDs supplied through --opt model=.
  • Claude Code on Windows now shows a restart reminder when a Cotal update leaves the current conversation running an older plugin.
  • Managed siblings can receive different service endpoint commands when their ancestors hold covering grants.
  • The daemon keeps answering status requests while a space catalog refresh waits for another process to release the catalog lock.
  • Agents can drive hosted Browser Use browsers through a registered endpoint while a person watches the live view, with the new @cotal-ai/browser-use extension.
  • Cotal can refresh Claude Code integrations after repairing a single connector during an update, without trying to read from the removed staging directory.
  • On Linux, cotal update can finish while an unrelated Manager with a missing launch path keeps running.
  • Native chat connections check the signed-in account's space list before reporting that a newly added space is missing.
  • Managers can become ready while recovering workflow runs from a previous Manager.
  • Show activity from readable channels when the dashboard's fixed credential permits named history reads but not a combined read.
Every change in full
  • The Cotal app shows "Updating agent app connectors for " with the elapsed time while a hosted Manager repairs its connectors at start, and offers one Repair action only when that start ends refused. The daemon publishes the repair as a startupPhase of { kind: "connector-repair", startedAt } on the Manager's status and clears the earlier refusal when the repair starts, so the app does not read reason strings.

  • OpenCode saved sessions. On Linux, the saved-session launch picker lists up to 16 of the operator's OpenCode 2.4.3 sessions recorded for the exact launch directory, read through their running OpenCode background service. The connector never opens the store itself and starts no service; with none running it lists nothing. Each row is titled "OpenCode session" with its date. A selection is exported again, refused if it changed since it was listed, and forked into the new agent's own store through the same approved path as a live fork. A raw session id is still refused.

    Connectors gain an optional sessions.capture. A Manager calls it when it redeems a saved-session handle and passes the bytes to the launch as resumeSource.snapshot. Codex now uses it too, so a saved Codex fork follows the live-fork path and the new seat's record no longer keeps the source thread id.

  • Codex saved sessions. On Linux, the saved-session launch picker lists up to 16 recent interactive Codex conversations from the operator's own Codex home that were recorded for the exact launch directory. Each row is titled "Codex session" with its date. A selection forks the conversation through the same approved path as a live fork, after reading it again and checking that its store and revision are unchanged. A raw thread id is still refused. The Manager now lists saved sessions for a connector that takes only approved sources (supportsSnapshotFork) as well as one that sets supportsResume.

  • Claude Code live forks. On Linux, a running managed Claude Code seat can be forked into a new agent through the Manager's live fork source. The seat's command mod now reports whether a main turn is running, how many have started and the session id. The seat reads its transcript, 2 MiB at most, only between two such answers that agree it is idle, and reads it twice. The new agent checks the snapshot against the approved revision, session and folder, and forks it the same way as a saved session. The source session is left unchanged and keeps running.

  • A running managed Codex agent's current conversation can now be forked into a new agent from the launch picker, on Linux and while the source is idle. The source seat answers the Manager's fork-source exchange with its rollout and every rollout it was forked from, up to 2 MiB in total. The new seat places them in its own private home, forks there and starts on the fork. A raw resume id is still refused. Verified on Codex 0.172.0 and 0.173.0.

  • On Linux, a managed Hermes 0.19.0 seat can be forked while it runs. The seat serves the Manager's fork-source request with an export of its operator session, at most 2 MiB, read only while no operator turn runs and refused when one started during the read. The new seat checks the export against the approved revision, folder and session, and copies it into its own profile before its first turn.

  • Jcode saved sessions. On Linux, the saved-session launch picker lists up to 16 of the operator's Jcode sessions recorded for the exact launch directory, read from their Jcode home with the journal applied. It lists the sessions Jcode's own picker shows by default and leaves out one still running in a live process. Each row is titled "Jcode session" with its date. A selection is read again, refused if it changed since it was listed, and forked into the new agent's home through the same approved path as a live fork, so the agent's record names an opaque reference. cotal spawn --resume <id> is unchanged.

  • On Linux, a running managed Jcode seat can be forked into a new agent through the Manager's live fork source. The seat exports its current session from its own home with its journal applied, 2 MiB at most, and refuses while it runs a turn or while an operator TUI is attached. The new agent checks the export against the approved revision, session and folder, writes its fork the same way as an explicit resume, and records an opaque reference instead of the source session id.

  • Pi live forks. On Linux, a running managed Pi agent on an installed Pi 0.84.3 or 1.7.0 package can be forked into a new agent through the Manager's live fork source. While Pi is idle, the seat gives its current session file, 2 MiB at most and only for the directory it was launched in. The new agent forks a private copy of those exact bytes with pi --fork. The source session is left unchanged and keeps running.

  • Pi saved sessions in the launch picker. On a local owner Manager with an installed Pi 0.84.3 or 1.7.0, harness-sessions lists the sessions Pi saved for the exact launch directory, read with Pi's own session manager from the folder a seat would use. Listing starts no model, creates no session folder and returns no titles or transcript text. A selected handle forks a private copy of the session as it was listed and refuses one that changed; the seat's record keeps an opaque reference instead of the source path.

  • The desktop app always shows the space of a running agent, and shows the full folder path as a tooltip when the path is cut off.

  • When an update prevents a Manager from starting and no verified native service owns the daemon, Cotal now shows the command to restart it instead of promising automatic activation.

  • cotal update follows the background service through deferred activation so a retired Manager registration cannot make a successful update report failure.

  • In the desktop app, Home returns to the computer overview at once while setup or Repair finishes in the background. The overview and the tray show a space that is starting, refused or unreachable, and a failed removal stays visible until it clears.

  • Repair in the desktop app leaves out registrations from spaces this computer no longer uses.

  • After an automatic update, the desktop app says on the connection screen that it is restarting the background service and names the spaces that are still starting. A start that fails offers Repair.

  • Browser Use is not published in this release. The CLI no longer suggests installing the unpublished extension when it sees the browser-use command.

  • Cotal reconciles a missing connector selection before starting a hosted Manager on Linux or macOS. The installed CLI checks its connector selection even when the shared seed stamp names the installed release. When npm cannot reach the registry during connector reconciliation, Cotal reports the registry problem and tells you how to retry the update.

  • A hosted Manager startup reports a refused status request and tells you which scope to ask the space owner for. It keeps the refusal until you retry setup.

  • Linux pnpm global installations can keep hosted Managers running across updates by retaining a verified copy of their installed dependencies.

  • On Linux, starting the background service waits while systemd reports startup progress. Restoring remembered connections reports progress as each space completes.

  • Linux daemon workers and hosted Managers can start on older systemd releases that reject environment variable names without values. Their environment is passed through private files without putting values on the command line.

  • The Linux daemon extends its systemd startup window as the worker completes startup steps. The native status shows the last checkpoint, and a stalled worker reports what it was waiting for.

  • Cotal reports a missing or invalid published program selection before starting. Package manager replacements can still start their own program and explain when they leave an obsolete selection behind.

  • Updates keep waiting while the background service and hosted Managers make startup progress. A definitive refusal is reported immediately, and a stalled update names the last observed state.

  • On Windows, you can now choose Update Codex in Agent apps when an older standalone Codex blocks installation. The row names the folder, shows progress while the installer runs, and tells you when Codex is installed or what to do next.

    The installer checks your current Windows Path for an npm- or Bun-managed copy, and progress tells you when it keeps one. Cotal uses the verified executable for agent apps and plugin refreshes even when terminals find a different copy first. If an update fails, Agent apps keeps the folder visible and shows the next action. When it offers Check again, it reads the current status without retrying the update. If the installer already replaced Codex and verification is pending, Try again verifies and records the new copy from the original standalone installation without running the installer again.

  • On Linux, the daemon log and cotal daemon status explain why the background service could not start its worker. Status gives a journal command and reports when a later start recovers.

  • The shell installer now leaves a runnable cotal launcher when the Cotal app is already installed on macOS or Linux. The launcher runs the app's bundled command, and updates still come from the app.

  • Linux daemon installs can start from an empty explicit daemon home. The service creates its private runtime directory on first start.

  • Hosted Manager status explains why the process went away. It distinguishes a startup deadline stop, a clean exit, a failure with recent stderr, and a disappearance without a known exit status.

  • The CLI entry file no longer uses syntax that older Node versions cannot parse.

  • Linux background service updates keep local status watches and machine endpoint connections open. The service keeps those connections while systemd replaces its worker. An update from 0.192.0 or 0.193.1 keeps the machine registration and re-establishes the connections once.

  • The Linux background service starts again when run from a source checkout. Installed packages still verify their private daemon runtimes before serving.

  • Fix Linux background service setup when the installed Node executable is owned by another account or is group- or world-writable. Cotal copies the Node executable already running into private storage, so its retained Managers can keep running across updates.

  • Linux installations with linked dependencies can start the background service and host Managers again. The service reports when it needs a restart to activate an update.

  • Hosted Managers can keep starting as long as they make progress. Status shows elapsed startup time and the last startup line, and the background service stops a stalled attempt after 90 seconds without progress.

  • Manager startup reports completed contract verification, verified eviction, and predecessor-goal examination while recovery is running.

  • Hosted Managers keep using their desktop app installation's connector set after an update. A retained app runtime uses the original installation identity to find connectors for the version it is running. When the app cannot confirm its connector generation, the Manager stays stopped and the background service offers Repair.

  • The background service tries to repair a mismatched app connector set before refusing to start a Manager. It keeps an answering Manager running during repair.

  • Managers keep answering requests while a spawn waits for an installation update to finish. Seat launches still hold the installation lock when recording the connector copy they will use.

  • Cotal Desktop checks for newly available spaces when you open Add to another space. If the check fails, you can retry in the picker without disconnecting this computer.

  • Windows npm updates can restore the previous version when connector reconciliation refuses. The updater avoids loading the installed seat DLL when no background service needs it. Connector retention still requires a private config folder, and the shared Windows path check rejects Network Service-owned drive roots for both retention and CLI extension staging.

  • Stopping an endpoint now closes its connection even when deleting a membership watch consumer fails. The shutdown still reports the cleanup error.

  • Cotal labels connector inventory that still needs reconciliation after an update. On macOS and Linux, commands that load retained extensions require the current connector set and report why it cannot be selected or kept.

  • Read all accessible channel history when a fixed credential grants named channel reads but not a combined read. The CLI reports a partial result when it leaves out channels.

  • Extension commands work on the first invocation after automatic connector reconciliation. Cotal parses the arguments against the command that reconciliation loaded and identifies its installed package correctly.

  • Loading the Manager service contract no longer loads the full workspace package. Seat-limit validation still uses the shared maximum.

  • Claude Code launches reject unsupported provider-prefixed model IDs supplied through --opt model=. Bedrock inference-profile ARNs remain valid.

  • Claude Code on Windows now shows a restart reminder when a Cotal update leaves the current conversation running an older plugin. The hook uses the process creation time to distinguish reused process IDs.

  • Managed siblings can receive different service endpoint commands when their ancestors hold covering grants. Grant planning records a covering set that shares the same exact ancestor grants and rechecks those grants before recording the new policy.

  • The daemon keeps answering status requests while a space catalog refresh waits for another process to release the catalog lock.

  • Agents can drive hosted Browser Use browsers through a registered endpoint while a person watches the live view, with the new @cotal-ai/browser-use extension. cotal browser-use serve --key-file <path> --endpoint <name> serves run, status, stop-run and close under the browser-use.drive capability and watch under browser-use.watch, so an owner grants them separately. Only the caller that opened a session can use it. A session whose caller stops calling is closed and its browser stopped, and shutdown stops every browser the server opened. Before the extension is added, cotal browser-use names the package that provides it.

  • Cotal can refresh Claude Code integrations after repairing a single connector during an update, without trying to read from the removed staging directory.

  • On Linux, cotal update can finish while an unrelated Manager with a missing launch path keeps running. The update checks for shared state before skipping that process and gives a process-specific stop command when custody is still uncertain.

  • Native chat connections check the signed-in account's space list before reporting that a newly added space is missing. Finding a space does not approve the connection.

  • Managers can become ready while recovering workflow runs from a previous Manager. Workflow starts and resumes remain unavailable until the first recovery pass finishes.

  • Show activity from readable channels when the dashboard's fixed credential permits named history reads but not a combined read.

What's Changed

Full Changelog: v0.195.0...v0.197.0