Repository navigation
v0.194.0
Install or update: npm i -g cotal-ai@0.194.0
Restart running Cotal processes and agent sessions to use the new code.
What changed
- Your account can now set up the agent app connections on a computer again when one of its own spaces stopped on them, as Repair does on the computer.
- Managed OpenCode 2 seats stay reachable on the mesh while idle.
- A daemon installed or repaired with
DO_NOT_TRACK=1,COTAL_TELEMETRY_DISABLED=1orCOTAL_TELEMETRY=offnow stays off. - On macOS, the background service no longer restarts every ten seconds while another daemon serves the same daemon home.
- The desktop app shows available installer updates on macOS and Windows without an updater key, even when the background service is stopped.
- Signing out now reports when a newer login was kept and preserves the daemon's saved account space records.
- Keep running agents and their hosted Managers connected when the Linux background service activates an installed update or recovers from a crash.
- On macOS, the background service can update while hosted agents keep running.
- Restore the Linux background service record after systemd reload without stopping the running service or its agents.
- On Windows,
npm install -g cotal-aiandcotal update --selfno longer fail with "Cotal could not check for the installed Cotal app." - On Windows, the app's own update no longer stops on a dialog.
- Live connection eviction reports the scan as incomplete when the broker returns a connection-list error or omits the connection list.
- Serving endpoints on signed-in meshes keep answering commands during planned credential renewal.
- Restore the presence bucket after a broker restart on connections that can create it.
- New personas saved with
cotal_personaretaineventPayloads: falsefrom the prompt, so their agents withhold tool inputs and results. - Retry a direct message once with its original ID when its publish acknowledgement is missing.
- A long-lived client keeps working after the service instance it called is replaced.
- Manager embeddings can put idle Pi seats to sleep and wake them under the same lifecycle.
- Connector repair and update on Windows keep the connectors that running agents use.
- Claude Code can receive a once task on a main-agent tool call when the turn starts without a prompt hook.
- OpenCode 2.4.3 is the qualified build for managed native controls, Compact, model choices, and saved-session forks.
- Managed OpenCode 2.4.3 seats load an edited Cotal plugin and return to their original session.
- When the built-in connector reconcile that runs before a command refuses, a command without structured output, such as
cotal ext removeorcotal ext add, now records the refusal in its usage event. - On Windows, an update on a busy computer no longer refuses with "Windows process inspection could not list the process table".
- Managers continue renewing their own credentials and those of their managed static seats when the delivery daemon's renewal claim is refused.
Every change in full
-
Your account can now set up the agent app connections on a computer again when one of its own spaces stopped on them, as Repair does on the computer. Agents that are running, of this account or another, are not interrupted: the repair writes the connections beside the ones they use, and they keep theirs until they restart.
-
Managed OpenCode 2 seats stay reachable on the mesh while idle. They require OpenCode 2.1.2 or later in the 2.x line and exit if OpenCode unloads the Cotal plugin without reloading it.
-
A daemon installed or repaired with
DO_NOT_TRACK=1,COTAL_TELEMETRY_DISABLED=1orCOTAL_TELEMETRY=offnow stays off. The background service starts with its unit's environment and never saw those variables, so it reported at the level in~/.cotal/telemetry.json,regularby default. The install or repair now recordsoffin that file before the service starts. An install without those variables never switches a recordedoffback on. The unit files are unchanged, so an update does not rewrite or restart the service.docs/telemetry.mdxnow says which processes the variables reach. -
On macOS, the background service no longer restarts every ten seconds while another daemon serves the same daemon home. When the service is refused because another process holds the daemon's lifetime lock, it logs the other process's pid and version once and waits for that process to exit. It then exits, and launchd starts it again, so it takes over without a restart loop. Linux and Windows are unchanged.
-
The desktop app shows available installer updates on macOS and Windows without an updater key, even when the background service is stopped.
-
Signing out now reports when a newer login was kept and preserves the daemon's saved account space records. The CLI and desktop explain that the newer sign-in was kept.
-
Keep running agents and their hosted Managers connected when the Linux background service activates an installed update or recovers from a crash. Status shows the version of each retained Manager. The desktop app can use compatible controls while an older background service waits for its agents to finish.
Signing out on this computer stops its hosted Managers without revoking remote registrations. Explicitly enable the space again to resume hosting after a local sign-out.
A slow Linux Manager launch has the same identity wait as the Manager startup budget. If identity arrives after that wait, the daemon can adopt the original unit without another setup command.
-
On macOS, the background service can update while hosted agents keep running. Managers started by the updated service run in separate LaunchAgents, so they keep their agents and mesh connections when the daemon changes version or recovers from a crash. An update from an occupied legacy service waits for its agents to finish before activating.
-
Restore the Linux background service record after systemd reload without stopping the running service or its agents.
-
On Windows,
npm install -g cotal-aiandcotal update --selfno longer fail with "Cotal could not check for the installed Cotal app." on a busy computer. Before npm writes thecotalcommand, the package asks Windows PowerShell whether the Cotal app already provides it, and it gave PowerShell 5 seconds. On a computer that was busy, PowerShell took longer to start, the install failed, and an update put the previous release back. The limit is now 60 seconds. -
On Windows, the app's own update no longer stops on a dialog. Closing the app now ends the background helpers it started, and setup closes any Cotal window reopened during the update before it replaces files. If a Cotal command is still running from the installation, setup changes nothing and the app asks you to close it, then Try again. If a file still can't be replaced after a few retries, setup stops instead of skipping it, the app opens on its own, and it finishes the update by itself once, or with Install again. A Cotal window opened while setup is still running now says the update is in progress, instead of offering the installer.
-
Live connection eviction reports the scan as incomplete when the broker returns a connection-list error or omits the connection list. Those replies can no longer verify that a principal is gone.
-
Serving endpoints on signed-in meshes keep answering commands during planned credential renewal. The temporary connection uses an inbox name the auth callout accepts and drains after the resident connection restores its subscriptions.
-
Restore the presence bucket after a broker restart on connections that can create it. Running agents resume their heartbeats without a manual reconnect.
-
New personas saved with
cotal_personaretaineventPayloads: falsefrom the prompt, so their agents withhold tool inputs and results. -
Retry a direct message once with its original ID when its publish acknowledgement is missing. If storage remains unconfirmed, report the message ID for checking before resending.
-
A long-lived client keeps working after the service instance it called is replaced. A call that names no instance and ends
unavailablemarkednot-executeddrops its cached service handle, resolves again and calls once more within the same deadline. -
Manager embeddings can put idle Pi seats to sleep and wake them under the same lifecycle. Sleeping seats keep their name and queued messages across Manager restarts without occupying a live seat slot. User-auth sleep checks the retained root expiry before it touches the seat.
-
Connector repair and update on Windows keep the connectors that running agents use. Writes build a separate copy, and cleanup keeps earlier copies whenever their holders cannot be verified.
-
Claude Code can receive a once task on a main-agent tool call when the turn starts without a prompt hook. The task is still confirmed only when its hook handoff is acknowledged.
-
OpenCode 2.4.3 is the qualified build for managed native controls, Compact, model choices, and saved-session forks. The connector no longer lists OpenCode 2.0.20 for these features because managed seats already refuse that build.
-
Managed OpenCode 2.4.3 seats load an edited Cotal plugin and return to their original session. The replacement reuses the seat's launch settings without restoring its launch file.
-
When the built-in connector reconcile that runs before a command refuses, a command without structured output, such as
cotal ext removeorcotal ext add, now records the refusal in its usage event. It records the class and outcome that a structured command such ascotal spacealready reports. It used to arrive as a bare exit 1 with no code. The local message and exit status are unchanged. -
On Windows, an update on a busy computer no longer refuses with "Windows process inspection could not list the process table". Before it updates, Cotal lists the running processes through Windows PowerShell to find Managers it must keep, and it gave that listing 15 seconds. PowerShell can take longer than that to start when the computer is busy. The limit is now 60 seconds.
-
Managers continue renewing their own credentials and those of their managed static seats when the delivery daemon's renewal claim is refused. The manager logs the refusal and skips delivery-owned credentials for that pass.
What's Changed
- fix(workspace): retain live connector roots on Windows by @davidfarah-dev in #12149
- feat(manager): retain sleeping seats and wake their conversations by @davidfarah-dev in #12084
- fix(daemon): record an environment telemetry opt-out for the service it installs by @davidfarah-dev in #12148
- fix(core): reject incomplete connection lists during eviction by @davidfarah-dev in #12151
- test(smoke): count the offline DM and callout drain smokes in the connect options census by @davidfarah-dev in #12150
- fix(daemon): recover the running Linux service after systemd reload by @davidfarah-dev in #12152
- fix(installer): give the Windows app check 60 seconds before failing an npm install by @davidfarah-dev in #12155
- docs(claude-code): show the noninteractive configure-only setup by @davidfarah-dev in #12153
- fix(auth): report when logout keeps a newer sign-in by @davidfarah-dev in #12156
- fix(cli): give the Windows process listing 60 seconds before refusing an update by @davidfarah-dev in #12158
- fix(cli): record a seed refusal for commands without structured output by @davidfarah-dev in #12157
- feat(daemon): let the account set up the connectors again on a computer where its space stopped on them by @davidfarah-dev in #11243
- ci(upgrade-matrix): save the telemetry opt-out before the baseline starts a service by @davidfarah-dev in #12163
- feat(daemon): retain Linux hosted managers across updates by @davidfarah-dev in #12162
- fix(desktop): end the app's bridges with it and never stop a Windows update on a file dialog by @davidfarah-dev in #11580
- fix(core): restore missing open-space presence after broker restart by @davidfarah-dev in #12164
- fix(core): retry DM publish acknowledgements with the same message ID by @davidfarah-dev in #12165
- fix(claude-code): deliver once tasks on main-agent tool hooks by @davidfarah-dev in #12171
- test(daemon): renew probes during slow scheduled updates by @davidfarah-dev in #12166
- refactor(daemon): extract the independent Manager host by @davidfarah-dev in #12169
- fix(manager): keep renewing credentials after delivery claim refusal by @davidfarah-dev in #12175
- fix(opencode): keep idle seats on the mesh by @davidfarah-dev in #12172
- fix(opencode): retain launch custody across module reloads by @davidfarah-dev in #12174
- fix(test): keep OpenCode startup refusal teardown inside the smoke by @davidfarah-dev in #12177
- fix(opencode): qualify managed native controls on 2.4.3 by @davidfarah-dev in #12178
- fix(core): preserve persona event payload settings by @davidfarah-dev in #12179
- test(daemon): patch the current PATH probe in the stop smoke by @davidfarah-dev in #12180
- test(core): count the model-choices owner command in the agent-caller fixture by @davidfarah-dev in #12181
- fix(daemon): wait for the lock holder instead of restarting the macOS service every ten seconds by @davidfarah-dev in #12182
- fix(desktop): show installer updates without an updater key by @davidfarah-dev in #12184
- fix(core): keep serving through credential renewal by @davidfarah-dev in #12183
- feat(daemon): retain macOS hosted Managers across updates by @davidfarah-dev in #12173
- fix(core): re-resolve and retry once when a cached service handle ends unavailable by @davidfarah-dev in #12185
- docs(site): restructure the docs site around tasks by @Manas-Kenge in #12106
- chore(release): version packages by @davidfarah-dev in #12154
Full Changelog: v0.193.1...v0.194.0