Skip to content

v0.171.2

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 19 Nov 19:14
81f158e

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

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

What changed

  • Backup commands now explain symbolic-link loops, up rejects an empty --restore path before starting anything, and setup help labels the self-hosted example as interactive while the installation guide shows the full scripted command.
  • Report self-update registry connection failures with npm's error code and the scoped registry setting to check instead of asking users to wait for publication.
  • Fix the CLI setup smoke tests so their Codex stand-ins report the plugin version they installed.
  • Keep the requested space in broker preset retries and preserve the saved manager settings when a console host override or stack start is rejected.
  • Show the correct foreground start command for an explicit daemon home and report saved automatic update preferences even when another daemon owns the socket.
  • Shutdown preserves the requested agent teardown in its confirmation commands, setup points stopped projects to startup, and spawn offers compatible launch and manager restart commands.
  • Wait for a simultaneous self-update of the same npm installation and recheck its installed CLI before replacing packages again.
  • Quote the folder path in the backup create permission error so the suggested chmod command works for paths with spaces.
  • Retry the startup scan after a broker interruption so eligible workflow runs can resume without another manager restart.
  • Continue self-update from the restored version, show when an update is still running, and remove abandoned release archive caches without disturbing active checks.
  • Keep npm-installed Cotal usable when Node is off PATH, leave recovery files untouched on offline updates, and preserve the npm launcher when the shell installer finds a recorded daemon service.
  • Self-update reports when a signal stops npm's dependency check, and cotal update accepts the recorded broker URL of a stopped local stack without restarting it.
  • Move the endpoint's dialing, auth options, bearer lifetimes and reachability probes out of endpoint.ts into their own module.
  • Move the endpoint's message authentication against the delivery subject and its history-row checks out of endpoint.ts into their own module.
  • Move the endpoint's options, its public types and errors, and the history page fitter out of endpoint.ts into their own module.
  • Show usable next steps for manager status and credential minting, and retire durable memberships when leaving a channel that switched to live delivery.
  • Refuse invalid spawn arguments and inaccessible working directories before provisioning credentials, reject pi resume flags, and remove Hermes launch credentials, sockets and disposable profiles after stopping.
  • Allow self-update and local space startup through a protected symbolic-link home, and discard staged builds when the update snapshot fails.
  • Move the maintenance foundation (the journal and lock contract types, MaintenanceError, store identity, the process owner and the maintenance lock) out of maintenance.ts into an internal maintenance-foundation.ts.
  • Move the maintenance journal (the persisted record validators, listener custody proofs, the resume document and the journal read/validate/write path) out of maintenance.ts into an internal maintenance-journal.ts.
  • Claude Code and Pi seats return to idle after their user interrupts a turn, and the run ends as an interrupt on the event plane.
  • An empty cotal_wait on a connection that cannot hear from the broker no longer returns the plain "No new messages" reply.
  • pnpm dlx runs under pnpm 11, which start the package from its global virtual store, are now recognised.
  • Resolve foreground persona and broker log paths from the invoking folder, accept log rotation flags with a manifest log path, and report incompatible manifest flags as a usage refusal.
  • Report lost registry connectivity before self-update replacement as an unchanged installation instead of a release-propagation failure or raw npm errors.
  • Fix cotal down leaving delivery and the broker running when the manager records a completed stop and exits during the receipt check.
  • Allow space forget to remove a damaged registration when another space's registry file is damaged too, instead of refusing with a recovery command that cannot run either.
  • cotal status now shows how to list spaces and select a different one.
  • Move seat stop, exit cause recording, recursive reap and the named despawn doors into their own component without changing the manager API.
  • Move the dashboard's operator posting (the posting decision, the operator credential, the poster and POST /api/send) out of web.ts into its own module.
  • Move the dashboard's read paths (client assets, activity aggregation, the session feed and agent events) out of web.ts into their own module.
Every change in full
  • Backup commands now explain symbolic-link loops, up rejects an empty --restore path before starting anything, and setup help labels the self-hosted example as interactive while the installation guide shows the full scripted command.
  • Report self-update registry connection failures with npm's error code and the scoped registry setting to check instead of asking users to wait for publication.
  • Fix the CLI setup smoke tests so their Codex stand-ins report the plugin version they installed.
  • Keep the requested space in broker preset retries and preserve the saved manager settings when a console host override or stack start is rejected.
  • Show the correct foreground start command for an explicit daemon home and report saved automatic update preferences even when another daemon owns the socket.
  • Shutdown preserves the requested agent teardown in its confirmation commands, setup points stopped projects to startup, and spawn offers compatible launch and manager restart commands.
  • Wait for a simultaneous self-update of the same npm installation and recheck its installed CLI before replacing packages again.
  • Quote the folder path in the backup create permission error so the suggested chmod command works for paths with spaces.
  • Retry the startup scan after a broker interruption so eligible workflow runs can resume without another manager restart.
  • Continue self-update from the restored version, show when an update is still running, and remove abandoned release archive caches without disturbing active checks.
  • Keep npm-installed Cotal usable when Node is off PATH, leave recovery files untouched on offline updates, and preserve the npm launcher when the shell installer finds a recorded daemon service.
  • Self-update reports when a signal stops npm's dependency check, and cotal update accepts the recorded broker URL of a stopped local stack without restarting it.
  • Move the endpoint's dialing, auth options, bearer lifetimes and reachability probes out of endpoint.ts into their own module. The package's exports are unchanged.
  • Move the endpoint's message authentication against the delivery subject and its history-row checks out of endpoint.ts into their own module. The package's exports are unchanged.
  • Move the endpoint's options, its public types and errors, and the history page fitter out of endpoint.ts into their own module. The package's exports are unchanged.
  • Show usable next steps for manager status and credential minting, and retire durable memberships when leaving a channel that switched to live delivery.
  • Refuse invalid spawn arguments and inaccessible working directories before provisioning credentials, reject pi resume flags, and remove Hermes launch credentials, sockets and disposable profiles after stopping.
  • Allow self-update and local space startup through a protected symbolic-link home, and discard staged builds when the update snapshot fails.
  • Move the maintenance foundation (the journal and lock contract types, MaintenanceError, store identity, the process owner and the maintenance lock) out of maintenance.ts into an internal maintenance-foundation.ts. maintenance.ts re-exports every public name, so the package surface and import paths are unchanged.
  • Move the maintenance journal (the persisted record validators, listener custody proofs, the resume document and the journal read/validate/write path) out of maintenance.ts into an internal maintenance-journal.ts. maintenance.ts re-exports every public name, so the package surface and import paths are unchanged.
  • Claude Code and Pi seats return to idle after their user interrupts a turn, and the run ends as an interrupt on the event plane. Claude Code fires no hook on an interrupt, so the connector now watches the open turn's transcript for the interrupt record Claude Code writes. That record sets presence to idle, clears any approval or input condition, and closes the run with RUN_FINISHED carrying an interrupt outcome. A Pi turn without a Cotal batch now publishes idle when it ends after an abort or an error. An aborted Pi turn, including one stopped during a tool call, ends with an interrupt outcome instead of RUN_ERROR.
  • An empty cotal_wait on a connection that cannot hear from the broker no longer returns the plain "No new messages" reply. It opens with the connection warning cotal_inbox gives and says only the local buffer was read. A connected wait keeps the plain reply.
  • pnpm dlx runs under pnpm 11, which start the package from its global virtual store, are now recognised. The entry card and status suggest pnpm dlx cotal-ai commands instead of Node plus a store path, and setup offers the global install it offers under other pnpm dlx runs.
  • Resolve foreground persona and broker log paths from the invoking folder, accept log rotation flags with a manifest log path, and report incompatible manifest flags as a usage refusal.
  • Report lost registry connectivity before self-update replacement as an unchanged installation instead of a release-propagation failure or raw npm errors.
  • Fix cotal down leaving delivery and the broker running when the manager records a completed stop and exits during the receipt check.
  • Allow space forget to remove a damaged registration when another space's registry file is damaged too, instead of refusing with a recovery command that cannot run either.
  • cotal status now shows how to list spaces and select a different one.
  • Move seat stop, exit cause recording, recursive reap and the named despawn doors into their own component without changing the manager API.
  • Move the dashboard's operator posting (the posting decision, the operator credential, the poster and POST /api/send) out of web.ts into its own module. No behaviour change.
  • Move the dashboard's read paths (client assets, activity aggregation, the session feed and agent events) out of web.ts into their own module. No behaviour change.

What's Changed

New Contributors

Full Changelog: v0.171.1...v0.171.2