Repository navigation
v0.197.0
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 updatefollows 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 statusexplain why the background service could not start its worker. - The shell installer now leaves a runnable
cotallauncher 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-useextension. - 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 updatecan 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
startupPhaseof{ 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 asresumeSource.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 setssupportsResume. -
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
resumeid 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-sessionslists 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 updatefollows 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-usecommand. -
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 statusexplain 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
cotallauncher 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-useextension.cotal browser-use serve --key-file <path> --endpoint <name>servesrun,status,stop-runandcloseunder thebrowser-use.drivecapability andwatchunderbrowser-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-usenames 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 updatecan 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
- fix(daemon): keep Linux machine connections open during updates by @davidfarah-dev in #12205
- fix(manager): keep serving while a seat launch waits for an update by @davidfarah-dev in #12203
- test(upgrade): fix stale matrix helpers and failure reporting by @davidfarah-dev in #12207
- fix(core): close endpoint after membership watch delete failure by @davidfarah-dev in #12209
- fix(installer): create the launcher when the Cotal app is installed by @davidfarah-dev in #12208
- feat(pi): list saved sessions for the launch picker by @davidfarah-dev in #12211
- fix(daemon): keep checkout startup on its existing runtime by @davidfarah-dev in #12210
- test(upgrade): allow collection of unused connector sets by @davidfarah-dev in #12213
- test(upgrade): verify dead updater lock release without fencing by @davidfarah-dev in #12215
- fix(daemon): start Linux services with linked dependencies by @davidfarah-dev in #12214
- feat(browser-use): serve hosted Browser Use sessions as an endpoint by @Manas-Kenge in #12026
- fix(auth): keep daemon responsive during catalog lock waits by @davidfarah-dev in #12217
- fix(daemon): retain the running Linux CLI interpreter by @davidfarah-dev in #12216
- test(daemon): assert local sign-out leaves saved conversations by @davidfarah-dev in #12219
- fix: preserve Windows npm updates and rollback on protected paths by @davidfarah-dev in #12204
- refactor: split four modules that exceed the file-size limit by @davidfarah-dev in #12218
- fix(web): use named history grants for dashboard activity by @davidfarah-dev in #12223
- test(manager): enforce the CLI instance smoke check count by @davidfarah-dev in #12225
- fix(manager): report ready before scanning predecessor runs by @davidfarah-dev in #12226
- fix: report why a hosted Manager exited by @davidfarah-dev in #12224
- fix(manager): avoid loading workspace for the service contract by @davidfarah-dev in #12233
- fix(daemon): create the private runtime parent on first Linux start by @davidfarah-dev in #12228
- feat(connector-codex): fork a running Codex seat's conversation into a new seat by @davidfarah-dev in #12234
- fix: keep hosted Managers starting while work progresses by @davidfarah-dev in #12230
- fix: keep hosted app Managers on their connector set by @davidfarah-dev in #12220
- fix(cli): read channel history through named grants by @davidfarah-dev in #12236
- fix: keep the CLI bootstrap parseable on older Node by @davidfarah-dev in #12238
- fix(desktop): refresh the catalog when adding a space by @davidfarah-dev in #12240
- fix(cli): refresh the account catalog for an unknown chat space by @davidfarah-dev in #12241
- fix: refuse a hosted app start on a connector mismatch and keep an answering Manager up by @davidfarah-dev in #12231
- fix(claude): show plugin restart reminders on Windows by @davidfarah-dev in #12242
- fix(claude): validate the native model launch option by @davidfarah-dev in #12245
- test: measure the slow update restore from the held goal scan by @davidfarah-dev in #12244
- fix: parse extension commands loaded during reconciliation by @davidfarah-dev in #12243
- fix: report completed Manager startup work by @davidfarah-dev in #12232
- fix: repair mismatched connectors before a hosted Manager start by @davidfarah-dev in #12246
- feat(pi): fork a running Pi seat through the Manager's live source by @davidfarah-dev in #12247
- feat(claude): fork a running Claude Code seat through the Manager's live source by @davidfarah-dev in #12249
- feat(hermes): fork a running Hermes seat through the Manager's live source by @davidfarah-dev in #12250
- feat(jcode): fork a running Jcode seat through the Manager's live source by @davidfarah-dev in #12251
- feat(connector-codex): list saved Codex sessions and fork a listed row by @davidfarah-dev in #12253
- chore(release): version packages by @davidfarah-dev in #12206
- feat(connector-opencode): list and fork saved OpenCode sessions through the operator's service by @davidfarah-dev in #12256
- feat(connector-jcode): list and fork saved Jcode sessions by @davidfarah-dev in #12259
- fix: stop retrying broker-refused hosted Manager status by @davidfarah-dev in #12263
- test(daemon): cover watcher-owned Linux activation by @davidfarah-dev in #12264
- fix(auth): preserve exact ancestry for sibling caller grants by @davidfarah-dev in #12265
- fix: refuse missing published execution selections by @davidfarah-dev in #12266
- fix: report and reject stale connector selections on load by @davidfarah-dev in #12267
- fix(update): follow hosted Manager changes during activation by @davidfarah-dev in #12268
- fix: repair two update defects and five stale daemon gate tests by @davidfarah-dev in #12269
- fix: extend Linux daemon startup on verified worker progress by @davidfarah-dev in #12239
- fix(desktop): give a cut-off agent folder line its full text as the tooltip by @davidfarah-dev in #12270
- test(release): exercise upgrades with aged hosted Manager state by @davidfarah-dev in #12271
- fix(desktop): show automatic update progress on the connection screen by @davidfarah-dev in #12221
- fix(desktop): return Home and show when a space is down by @davidfarah-dev in #12273
- fix(desktop): show progress while connecting or repairing by @davidfarah-dev in #12274
- fix(desktop): leave unused space registrations out of Repair by @davidfarah-dev in #12275
- test(daemon): drop an unused import from the service-connect smoke by @davidfarah-dev in #12272
- fix(daemon): retain the pnpm virtual-store runtime on Linux by @davidfarah-dev in #12237
- fix: carry verified native startup progress into update convergence by @davidfarah-dev in #12277
- fix(cli): exclude unrelated Managers from update admission by @davidfarah-dev in #12278
- test: exercise global Linux installs under systemd in desktop CI by @davidfarah-dev in #12229
- fix(daemon): reconcile a missing hosted connector selection by @davidfarah-dev in #12279
- test(upgrade): accept the progress-bounded wait line in the 0.164.10 chain contract by @davidfarah-dev in #12280
- feat(desktop): offer Update Codex when an older install blocks setup by @davidfarah-dev in #12227
- test(upgrade): place Windows matrix cells under the runner profile by @davidfarah-dev in #12276
- refactor: bring first-pass functions back within the function-length limit by @davidfarah-dev in #12283
- fix(daemon): report why the Linux background service could not start its worker by @davidfarah-dev in #12284
- fix(daemon): start Linux workers and hosted Managers on systemd older than 250 by @davidfarah-dev in #12285
- fix(desktop): resume Update Codex from the recorded installation and tighten its recovery by @davidfarah-dev in #12281
- test(daemon): expect the connector repair fix for the account's own stopped space by @davidfarah-dev in #12286
- chore(release): keep Browser Use unpublished by @davidfarah-dev in #12288
- chore(release): version packages by @davidfarah-dev in #12257
Full Changelog: v0.195.0...v0.197.0