Skip to content

v0.175.2

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 23 Nov 00:12
69f53a7

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

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

What changed

  • ACP hides sign-in on spaces without user authentication, sends prose beginning with /despawn to the agent, explains how to start a missing manager, and documents that --server overrides the recorded broker.
  • Resolve dotted default persona names from the catalog for direct launches and previews, and give usable advice when a persona link points to a missing file.
  • The daemon's hosted Manager child control moves into its own module, with no change in behaviour.
  • When self-update restores write access to an installation directory and then cannot reach the registry, report that no installed packages were replaced.
  • Self-update finds npm in relative PATH entries from the folder where you ran the command.
  • Show the required name for every scripted service add form and, if it is missing, explain how to add it without changing the original flags.
  • Keep the original CLI options when correcting an attach manager ID, removing a source file from hosted resume, or adding a missing run ID to local revoke.
  • Read captured delivery logs after stopping a stack, start the read-only dashboard without requesting unauthorized live traffic, and show how to restart a stopped open space when watch names it.
  • Self-update waits for installed first-party connectors and extensions to reach the registry and keeps the existing installation if a required version is still missing.
  • The service-account and daemon permission builders now live in their own core module, with no change in behavior.
  • Internal refactor: the endpoint's connection and the handles opened on it (JetStream clients, KV buckets, membership watches, owned connections and pending replies) live in one ConnectionState object that the endpoint's internal parts share by reference, replacing per-field getter and setter callbacks.
  • Internal refactor: the endpoint's start/stop/rebuild state, its presented credential and renewal state, and its channel-registry cache each live in one state object (LifecycleState, CredentialState, ChannelRegistryState) that the endpoint's internal parts share by reference, replacing per-field getter and setter callbacks.
  • Internal refactor: the endpoint's subscriptions, stream consumers, chat subscriptions, liveness responders, principal serves, durable-backstop channels, goal followers and DM-only handler live in one DeliveryState object that the endpoint's internal parts share by reference, replacing per-field getter and setter callbacks.
  • The interpreter's run state types (environments, branch frames and run options) now live in their own lang module, with no change in behavior.
  • Show how to fix blocked first starts, recover a space record path occupied by a directory, or start a service that has no instance to restart.
  • The store symlink and prepared registry recovery instructions now quote paths with spaces or shell special characters so the commands can be pasted as printed.
  • Move the OpenCode plugin's write-ahead-log reap, its authenticated HTTP client and its two session.error readers out of cotal into a new plugin-io.ts.
  • The ACP sign-in step writes the command it runs in backticks, like every other command the CLI names in a message.
  • Retry Manager credential renewal promptly after a temporary authority failure, and tell callers when to retry a hosted workflow status read.
  • Both help forms accept service list, and usage errors keep periods in arguments, report missing values before grouped short options, and suggest --search for a docs search typo.
  • cotal backup verify and cotal backup inspect now report a missing manifest at the real backup directory when it is opened through a symbolic link.
  • Backup commands report inaccessible artifact paths and unsupported recovery options clearly, show only the supported restore selection in help, and tell you how to roll back a pre-commit restore when fallback cleanup refuses.
  • Broker start help omits the web-only --no-open option, which remains available for web starts.
  • Report missing manager launch specifications with the correct flags, and show a stopped stack manager with the command to start its stack again.
  • Move the up command's argument validation, writability checks, server and host refusals and folder-root resolution out of up.ts into an internal up-args.ts.
  • Move the up command's detached broker start, listener supervision, root claims and mesh recording out of up.ts into an internal up-detach.ts.
  • Move the up command's manifest boot and team-boot preparation out of up.ts into an internal up-manifest.ts.
  • A shutdown refusal no longer directs operators to stop a stack from another folder that only registered a connection to it.
  • Name the blocked directory component when endpoint init cannot scaffold and ask for a reference JSON path when endpoint add --file is empty.
  • After a foreground stack loses its terminal, the printed stop command changes to that stack's project folder before running cotal down.
  • The preview and confirmation commands suggested by cotal history clear keep your requested output format, so scripts can read the JSON receipt from the first purge.
  • When startup refuses a space that does not belong to the selected project root, the suggested command for the hosted space now keeps that root.
  • When a broker address is registered for another project, name that project without claiming its broker is stopped.
  • Legacy personas new rejects non-UTF-8 body input without writing a persona, and local persona show accepts catalog names with internal spaces.
  • Reject invalid space names and the removed start command without installing connectors, and print a valid spawn command to replace start.
  • Keep the project folder in the recovery command when startup finds an unconfirmed stop request in another folder.
  • Keep the project root and space in the startup retry when a separately started service blocks the requested stack.
  • Keep the send-refusal smoke test from timing out on an unused presence watch.
  • After a project folder is renamed, component status reports refused checks instead of false absences, and a confirmed stop releases foreground up.
  • Report that stopped open spaces cannot mint credentials, let explicitly named stopped static-auth spaces reach revocation confirmation, and print a working restart command for stopped legacy user-auth spaces.
  • Stopped-space deletion previews point to a read-only reset preview, and clean store and clean all reject restore attempt selectors without removing anything.
  • Accept equivalent broker URLs in team deploy, show how to restart a stopped local stack, and give pending agent launches time to settle when you interrupt foreground startup.
  • cotal ps points launch commands at the space it listed and names an occupied broker address before suggesting a stopped stack's restart.
  • JSON watch and history follow streams report an invalid broker URL or empty space selector with an error record and an end record.
  • The delivery daemon's broker reachability check, lease acquire and own-lease reader move into their own module, with no change in behaviour.
  • Move the manager's goal-writer state (the goal-writer connection, its identity and credential, the boot goal-index reconcile flag, and the accepted-goal map) from the Manager into the goal writer, which credential renewal, the serve plane, spawn-goal, seat stop and command dispatch now read directly instead of through per-field accessors.
  • Move the manager's session plane state (the session plane, the session-ledger connection, identity and credential, and the session-key renewal timer) from the Manager into the serve plane that creates it, which credential renewal and terminal input now read directly instead of through per-field accessors.
Every change in full
  • ACP hides sign-in on spaces without user authentication, sends prose beginning with /despawn to the agent, explains how to start a missing manager, and documents that --server overrides the recorded broker.
  • Resolve dotted default persona names from the catalog for direct launches and previews, and give usable advice when a persona link points to a missing file.
  • The daemon's hosted Manager child control moves into its own module, with no change in behaviour.
  • When self-update restores write access to an installation directory and then cannot reach the registry, report that no installed packages were replaced. Keep the existing exit status.
  • Self-update finds npm in relative PATH entries from the folder where you ran the command.
  • Show the required name for every scripted service add form and, if it is missing, explain how to add it without changing the original flags.
  • Keep the original CLI options when correcting an attach manager ID, removing a source file from hosted resume, or adding a missing run ID to local revoke.
  • Read captured delivery logs after stopping a stack, start the read-only dashboard without requesting unauthorized live traffic, and show how to restart a stopped open space when watch names it.
  • Self-update waits for installed first-party connectors and extensions to reach the registry and keeps the existing installation if a required version is still missing.
  • The service-account and daemon permission builders now live in their own core module, with no change in behavior.
  • Internal refactor: the endpoint's connection and the handles opened on it (JetStream clients, KV buckets, membership watches, owned connections and pending replies) live in one ConnectionState object that the endpoint's internal parts share by reference, replacing per-field getter and setter callbacks. No behaviour change.
  • Internal refactor: the endpoint's start/stop/rebuild state, its presented credential and renewal state, and its channel-registry cache each live in one state object (LifecycleState, CredentialState, ChannelRegistryState) that the endpoint's internal parts share by reference, replacing per-field getter and setter callbacks. No behaviour change.
  • Internal refactor: the endpoint's subscriptions, stream consumers, chat subscriptions, liveness responders, principal serves, durable-backstop channels, goal followers and DM-only handler live in one DeliveryState object that the endpoint's internal parts share by reference, replacing per-field getter and setter callbacks. No behaviour change.
  • The interpreter's run state types (environments, branch frames and run options) now live in their own lang module, with no change in behavior.
  • Show how to fix blocked first starts, recover a space record path occupied by a directory, or start a service that has no instance to restart.
  • The store symlink and prepared registry recovery instructions now quote paths with spaces or shell special characters so the commands can be pasted as printed.
  • Move the OpenCode plugin's write-ahead-log reap, its authenticated HTTP client and its two session.error readers out of cotal into a new plugin-io.ts. Behaviour is unchanged.
  • The ACP sign-in step writes the command it runs in backticks, like every other command the CLI names in a message.
  • Retry Manager credential renewal promptly after a temporary authority failure, and tell callers when to retry a hosted workflow status read.
  • Both help forms accept service list, and usage errors keep periods in arguments, report missing values before grouped short options, and suggest --search for a docs search typo.
  • cotal backup verify and cotal backup inspect now report a missing manifest at the real backup directory when it is opened through a symbolic link.
  • Backup commands report inaccessible artifact paths and unsupported recovery options clearly, show only the supported restore selection in help, and tell you how to roll back a pre-commit restore when fallback cleanup refuses.
  • Broker start help omits the web-only --no-open option, which remains available for web starts.
  • Report missing manager launch specifications with the correct flags, and show a stopped stack manager with the command to start its stack again.
  • Move the up command's argument validation, writability checks, server and host refusals and folder-root resolution out of up.ts into an internal up-args.ts. up.ts re-exports validateUpArguments, so the module surface is unchanged.
  • Move the up command's detached broker start, listener supervision, root claims and mesh recording out of up.ts into an internal up-detach.ts. up.ts re-exports every name it exported before, so the module surface is unchanged.
  • Move the up command's manifest boot and team-boot preparation out of up.ts into an internal up-manifest.ts. up.ts re-exports every name it exported before, so the module surface is unchanged.
  • A shutdown refusal no longer directs operators to stop a stack from another folder that only registered a connection to it. A preview still recommends a preview in the hosting project.
  • Name the blocked directory component when endpoint init cannot scaffold and ask for a reference JSON path when endpoint add --file is empty.
  • After a foreground stack loses its terminal, the printed stop command changes to that stack's project folder before running cotal down.
  • The preview and confirmation commands suggested by cotal history clear keep your requested output format, so scripts can read the JSON receipt from the first purge.
  • When startup refuses a space that does not belong to the selected project root, the suggested command for the hosted space now keeps that root.
  • When a broker address is registered for another project, name that project without claiming its broker is stopped. A manifest preview now suggests another preview instead of starting a stack or forgetting the other project.
  • Legacy personas new rejects non-UTF-8 body input without writing a persona, and local persona show accepts catalog names with internal spaces.
  • Reject invalid space names and the removed start command without installing connectors, and print a valid spawn command to replace start.
  • Keep the project folder in the recovery command when startup finds an unconfirmed stop request in another folder.
  • Keep the project root and space in the startup retry when a separately started service blocks the requested stack.
  • Keep the send-refusal smoke test from timing out on an unused presence watch.
  • After a project folder is renamed, component status reports refused checks instead of false absences, and a confirmed stop releases foreground up.
  • Report that stopped open spaces cannot mint credentials, let explicitly named stopped static-auth spaces reach revocation confirmation, and print a working restart command for stopped legacy user-auth spaces.
  • Stopped-space deletion previews point to a read-only reset preview, and clean store and clean all reject restore attempt selectors without removing anything.
  • Accept equivalent broker URLs in team deploy, show how to restart a stopped local stack, and give pending agent launches time to settle when you interrupt foreground startup.
  • cotal ps points launch commands at the space it listed and names an occupied broker address before suggesting a stopped stack's restart.
  • JSON watch and history follow streams report an invalid broker URL or empty space selector with an error record and an end record. They exit with status 1 without connecting to the broker.
  • The delivery daemon's broker reachability check, lease acquire and own-lease reader move into their own module, with no change in behaviour.
  • Move the manager's goal-writer state (the goal-writer connection, its identity and credential, the boot goal-index reconcile flag, and the accepted-goal map) from the Manager into the goal writer, which credential renewal, the serve plane, spawn-goal, seat stop and command dispatch now read directly instead of through per-field accessors. Exports, commands and wire behaviour are unchanged.
  • Move the manager's session plane state (the session plane, the session-ledger connection, identity and credential, and the session-key renewal timer) from the Manager into the serve plane that creates it, which credential renewal and terminal input now read directly instead of through per-field accessors. Exports, commands and wire behaviour are unchanged.

What's Changed

Full Changelog: v0.175.1...v0.175.2