Repository navigation
v0.166.1
Install or update: npm i -g cotal-ai@0.166.1
Restart running Cotal processes and agent sessions to use the new code.
What changed
- Daemon uninstall waits through a macOS peer disconnect during shutdown.
- Recover an unchanged Linux daemon service after its local Cotal home was deleted.
- Repeating daemon installation on Linux succeeds when the recorded service is unchanged and belongs to this installation.
- Self-update reports a stopped service owned by another installation once.
- Keep the installer launcher on the updated CLI when reconciliation repairs installation permissions, and verify the selected version before reporting success.
- Applications without a native Cotal connector can serve the gateway tools with
cotal mcp. - Remove unused internal CLI exports and an uncalled manager cleanup helper without changing command behavior.
- Bound Linux daemon service startup to 60 seconds so systemd restarts a hung daemon even after its updater stops observing readiness.
- Reconcile retained shell-installed daemon services when reinstalling after removal of their Node runtime.
- Reconcile a POSIX installation after a manual upgrade without stopping its standalone Manager or seats.
- Retry transient package download failures during self-update with a short bounded backoff.
- Let Linux daemon commands reach the existing private runtime directory and user manager from non-login sessions without runtime environment variables.
- A durable channel leave refused by a delivery daemon older than 0.166.0 now says the daemon predates lifecycle-aware membership discovery, that the channel stays joined, and that restarting the daemon at this version fixes it.
- Keep the accepted goal in a pending spawn result and reuse it when the same caller retries while its seat is still starting.
- The workflow language's free
map,filter,find,someandeverynow read the array's length once, before the first callback call, as their method spellings and JavaScript do. - Enable dashboard service posting with an explicitly supplied separate credential while keeping read-only mode the default.
- Open an authenticated local dashboard browser session with
cotal service start web, reusing a running dashboard and preserving manual access with--no-open. - Allow local setup under a private user group's default umask without getfacl by checking for extended ACLs with Python when available.
- Read commands keep showing the previous retained connector inventory after a bare npm upgrade.
- A pi turn that fails now shows pi's own error in the agent's presence line, for example
Pi turn ended with error (Unknown provider: unknown) after 2 automatic continuation attempts. - A Pi seat now receives messages that arrive during a long run at its next turn boundary instead of only when the run ends.
- Clear adapter readiness when a foreground service exits so a clean dashboard shutdown records its exit without a schema refusal.
- Leave the installation and running Manager untouched when self-update cannot reach the registry, with a short plain notice instead of a stop instruction and npm error.
- Allow a conversation to connect again after registered addresses change without sending its previous retirement credentials to the replacement authority.
- Automatic connector reconciliation after self-update keeps its seed children on the same installed selection.
- Repair now removes read-only seed generations left by an older failed connector install.
- Recover interrupted connector refreshes, including pending markers written by released versions, once reconcile custody ends without requiring manual marker deletion.
- Repair the persona endpoint smoke helper so invocation checks reach the live endpoint instead of failing on a missing method.
Every change in full
-
Daemon uninstall waits through a macOS peer disconnect during shutdown.
The bounded shutdown check reobserves a connection closed before its kernel identity could be read. It still requires the daemon process and endpoint to be gone before removing the recorded installation.
-
Recover an unchanged Linux daemon service after its local Cotal home was deleted. Install and uninstall verify the surviving protected service source and native unit before restoring its receipt or removing it, and refuse modified or overridden units.
-
Repeating daemon installation on Linux succeeds when the recorded service is unchanged and belongs to this installation. It verifies the existing unit without rewriting it or restarting the daemon.
-
Self-update reports a stopped service owned by another installation once.
The reconcile child honors the updater's existing reporting marker for this fact. A child started by an older updater without that marker still reports it. Service ownership checks and stopped-service behavior are unchanged.
-
Keep the installer launcher on the updated CLI when reconciliation repairs installation permissions, and verify the selected version before reporting success.
-
Applications without a native Cotal connector can serve the gateway tools with
cotal mcp. The stdio host keeps one local mesh identity until disconnect, uses the existing terminal-seat lifetime on static spaces, and retires that identity on shutdown. Signed-in spaces still require a native or hosted connector. -
Remove unused internal CLI exports and an uncalled manager cleanup helper without changing command behavior.
-
Bound Linux daemon service startup to 60 seconds so systemd restarts a hung daemon even after its updater stops observing readiness.
-
Reconcile retained shell-installed daemon services when reinstalling after removal of their Node runtime.
-
Reconcile a POSIX installation after a manual upgrade without stopping its standalone Manager or seats.
Authenticate the Manager and seat inventory, then reconcile connectors in a separate installation-and-release prefix while retaining the previous prefix at its original paths. Initial installed reconciliation also preserves the shared prefix so a Manager started from another copy can keep launching its loaded connector generation until restart. Windows, source checkouts and version-changing admission are unchanged.
-
Retry transient package download failures during self-update with a short bounded backoff.
-
Let Linux daemon commands reach the existing private runtime directory and user manager from non-login sessions without runtime environment variables.
-
A durable channel leave refused by a delivery daemon older than 0.166.0 now says the daemon predates lifecycle-aware membership discovery, that the channel stays joined, and that restarting the daemon at this version fixes it.
docs/UPGRADING.mdlists the requirement. -
Keep the accepted goal in a pending spawn result and reuse it when the same caller retries while its seat is still starting.
-
The workflow language's free
map,filter,find,someandeverynow read the array's length once, before the first callback call, as their method spellings and JavaScript do. Before this, a callback that appended to the array it walked was called for the appended element, somap(xs, f)andxs.map(f)gave different results, and a callback that appended on every call ran until the run failed on the interpreter's step bound (L4013). -
Enable dashboard service posting with an explicitly supplied separate credential while keeping read-only mode the default.
-
Open an authenticated local dashboard browser session with
cotal service start web, reusing a running dashboard and preserving manual access with--no-open. -
Allow local setup under a private user group's default umask without getfacl by checking for extended ACLs with Python when available.
-
Read commands keep showing the previous retained connector inventory after a bare npm upgrade.
Version output can report pending reconciliation and stale runtimes retain their version-skew remedy without writing configuration. Reconciliation checks current-version selection separately, so it still creates an isolated new set rather than modifying the prior inventory.
-
A pi turn that fails now shows pi's own error in the agent's presence line, for example
Pi turn ended with error (Unknown provider: unknown) after 2 automatic continuation attempts. Before this, the line said only that the turn ended with an error. When pi had no model provider set up, the user was told to start a new turn or replace the seat, and neither step helps. The error is put on one line and cut to 300 characters. -
A Pi seat now receives messages that arrive during a long run at its next turn boundary instead of only when the run ends. On transports without a provider response hook, such as the Codex subscription, Pi running a tool from an answer now confirms the batch that request carried. A steer sent while a tool runs no longer trips the dispatch watchdog's hold, which used to block every later message for the rest of the run.
-
Clear adapter readiness when a foreground service exits so a clean dashboard shutdown records its exit without a schema refusal.
-
Leave the installation and running Manager untouched when self-update cannot reach the registry, with a short plain notice instead of a stop instruction and npm error.
-
Allow a conversation to connect again after registered addresses change without sending its previous retirement credentials to the replacement authority.
-
Automatic connector reconciliation after self-update keeps its seed children on the same installed selection.
A version-changing update can leave the CLI running a retained package. Its seed child now re-enters through the parent's logical installed entry instead of treating the retained package as another installation. Other re-execution callers and the seed custody checks are unchanged.
-
Repair now removes read-only seed generations left by an older failed connector install. Garbage collection makes unreferenced generations' directories owner-writable before deleting them.
-
Recover interrupted connector refreshes, including pending markers written by released versions, once reconcile custody ends without requiring manual marker deletion.
-
Repair the persona endpoint smoke helper so invocation checks reach the live endpoint instead of failing on a missing method.
What's Changed
- feat(web): authorize dashboard service posting explicitly by @davidfarah-dev in #7237
- fix(cli): clear adapter readiness on foreground exit by @davidfarah-dev in #7200
- fix(lang): capture the length in the free array walks before the first callback call by @bfs2021 in #7079
- fix(pi): show pi's error in a failed turn's held reason by @davidfarah-dev in #7247
- fix(daemon): bound Linux service startup readiness by @davidfarah-dev in #7239
- fix(daemon): resolve private runtime in non-login sessions by @davidfarah-dev in #7242
- fix(installer): reconcile retained daemon runtime on reinstall by @davidfarah-dev in #7241
- fix(core): name the remedy when an older delivery daemon refuses a durable leave by @davidfarah-dev in #7268
- fix(web): open authenticated local dashboard sessions by @davidfarah-dev in #7238
- test(desktop): listen for the client connection before awaiting the server by @davidfarah-dev in #7271
- fix: reobserve macOS peers closed during daemon uninstall by @davidfarah-dev in #7263
- test(desktop): select an available published Windows installer by @davidfarah-dev in #7171
- fix(update): report another installation once per self-update by @davidfarah-dev in #7266
- test(manager): repair persona helper endpoint invocation by @davidfarah-dev in #7274
- perf(release): time candidate phases and stream archive verification by @davidfarah-dev in #7277
- fix(update): reconcile installed connectors without stopping standalone Managers by @davidfarah-dev in #7232
- test(workspace): keep ambient COTAL_ variables out of connector-retention children by @davidfarah-dev in #7280
- fix(cli): leave offline self-update unchanged by @davidfarah-dev in #7279
- fix(connector-core): reuse accepted spawns while seats are starting by @davidfarah-dev in #7278
- refactor(bin): remove unused internal exports by @davidfarah-dev in #7186
- fix(desktop): wait briefly for the probed Windows Node binary by @davidfarah-dev in #7267
- fix(update): preserve launcher selection during permission repair by @davidfarah-dev in #7275
- fix(daemon): accept an unchanged installed Linux service by @davidfarah-dev in #7209
- fix(workspace): inspect ACLs with Python when getfacl is absent by @davidfarah-dev in #7269
- test(core): give the new lifecycle a durable row in the channels-auth leave cells by @davidfarah-dev in #7284
- fix(cli): recover stale connector seed child markers by @davidfarah-dev in #7276
- fix(update): retry transient package downloads by @davidfarah-dev in #7282
- test(update): observe the CLI-selected extension prefix by @davidfarah-dev in #7285
- fix(cli): collect read-only stale seed generations by @davidfarah-dev in #7287
- fix(daemon): recover an unchanged Linux service after local data loss by @davidfarah-dev in #7220
- fix(cli): preserve the installed entry for seed children by @davidfarah-dev in #7289
- feat(mcp): support MCP-only hosts with the stock gateway by @davidfarah-dev in #7292
- test(mcp): assign the private COTAL_HOME directly in mcp-live by @davidfarah-dev in #7296
- test(upgrade): handle candidate registry body read failures by @davidfarah-dev in #7294
- fix(cli): recover retiring conversations after registration moves by @davidfarah-dev in #7291
- fix(workspace): retain connector inventory visibility after npm replacement by @davidfarah-dev in #7297
- fix(pi): deliver messages that arrive during a long run by @davidfarah-dev in #7300
- chore(release): version packages by @davidfarah-dev in #7256
New Contributors
Full Changelog: v0.166.0...v0.166.1