Repository navigation
v0.175.2
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
/despawnto the agent, explains how to start a missing manager, and documents that--serveroverrides 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 addform 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
watchnames 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
ConnectionStateobject 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
DeliveryStateobject 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.errorreaders out ofcotalinto a newplugin-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--searchfor a docs search typo. cotal backup verifyandcotal backup inspectnow 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-openoption, 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.tsinto an internalup-args.ts. - Move the up command's detached broker start, listener supervision, root claims and mesh recording out of
up.tsinto an internalup-detach.ts. - Move the up command's manifest boot and team-boot preparation out of
up.tsinto an internalup-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 initcannot scaffold and ask for a reference JSON path whenendpoint add --fileis 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 clearkeep 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 newrejects non-UTF-8 body input without writing a persona, and localpersona showaccepts 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 storeandclean allreject 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 pspoints 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
/despawnto the agent, explains how to start a missing manager, and documents that--serveroverrides 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 addform 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
watchnames 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
ConnectionStateobject 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
DeliveryStateobject 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.errorreaders out ofcotalinto a newplugin-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--searchfor a docs search typo. cotal backup verifyandcotal backup inspectnow 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-openoption, 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.tsinto an internalup-args.ts.up.tsre-exportsvalidateUpArguments, so the module surface is unchanged. - Move the up command's detached broker start, listener supervision, root claims and mesh recording out of
up.tsinto an internalup-detach.ts.up.tsre-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.tsinto an internalup-manifest.ts.up.tsre-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 initcannot scaffold and ask for a reference JSON path whenendpoint add --fileis 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 clearkeep 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 newrejects non-UTF-8 body input without writing a persona, and localpersona showaccepts 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 storeandclean allreject 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 pspoints 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
- fix(cli): correct help and usage refusals by @davidfarah-dev in #9198
- fix(acp): write the sign-in command in backticks by @davidfarah-dev in #9266
- fix(cli): keep the project root in conflicting startup advice by @davidfarah-dev in #9275
- refactor(core): endpoint parts share one connection state object by @davidfarah-dev in #9207
- fix(cli): keep stopped-stack diagnostics and dashboard reads usable by @davidfarah-dev in #9203
- fix(cli): retry the requested stack after stopping a standalone service by @davidfarah-dev in #9285
- refactor(core): move the service permission builders into provision-service-permissions.ts by @davidfarah-dev in #9214
- fix(cli): frame invalid broker selectors as stream failures by @davidfarah-dev in #9288
- refactor(daemon): move the hosted Manager child-control helpers into manager-children.ts by @davidfarah-dev in #9204
- refactor(connector-opencode): move standalone plugin I/O helpers into plugin-io.ts by @davidfarah-dev in #9267
- refactor(lang): move the interpreter's run state types to their own module by @davidfarah-dev in #9271
- refactor(core): endpoint lifecycle, credential and channel registry state objects by @davidfarah-dev in #9217
- fix(cli): clarify backup preflight and recovery guidance by @davidfarah-dev in #9187
- fix(cli): run retained stop recovery in the requested project by @davidfarah-dev in #9297
- refactor(delivery): move three start-up steps out of runStartedDelivery by @davidfarah-dev in #9215
- refactor(cli): move the up argument and selection checks into up-args.ts by @davidfarah-dev in #9225
- test(smoke): convert 15 more suites to the smoke-kit check helper by @davidfarah-dev in #9230
- refactor(cli): move the up detached start into up-detach.ts by @davidfarah-dev in #9261
- refactor(manager): the serve plane owns its session state by @davidfarah-dev in #9216
- fix(cli): honor relative npm paths during self-update by @davidfarah-dev in #9277
- fix(acp): correct space setup and prompt handling by @davidfarah-dev in #9295
- fix(cli): keep registered-address preview recovery read-only by @davidfarah-dev in #9303
- fix(cli): make local recovery advice actionable by @davidfarah-dev in #9209
- fix(cli): handle persona body encoding and spaced catalog names by @davidfarah-dev in #9182
- fix(cli): resolve persona defaults and broken link advice by @davidfarah-dev in #9279
- fix(cli): quote paths in recovery commands by @davidfarah-dev in #9284
- fix(run): preserve offline workflow diagnostics by @davidfarah-dev in #9286
- fix(cli): clarify endpoint path refusals by @davidfarah-dev in #9289
- fix(cli): make stopped-store cleanup guidance safe by @davidfarah-dev in #9290
- refactor(core): one DeliveryState object for the endpoint's subscriptions and consumers by @davidfarah-dev in #9301
- fix(update): account for repaired directory modes when offline by @davidfarah-dev in #9310
- refactor(manager): move goal-writer state into GoalWriter by @davidfarah-dev in #9304
- fix(cli): distinguish connection folders from stack hosts on shutdown by @davidfarah-dev in #9313
- revert: "fix(run): preserve offline workflow diagnostics" by @davidfarah-dev in #9309
- fix(cli): diagnose incomplete backups through symlinks by @davidfarah-dev in #9314
- refactor(cli): move the up manifest boot into up-manifest.ts by @davidfarah-dev in #9300
- fix(manager): retry renewal after authority restarts by @davidfarah-dev in #9312
- fix(cli): preserve history clear confirmation receipt format by @davidfarah-dev in #9318
- test(workspace): classify the down registration-folder refusal in the presence census by @davidfarah-dev in #9317
- fix(cli): preflight space names and removed start by @davidfarah-dev in #9291
- fix(cli): clarify the required service definition name by @davidfarah-dev in #9292
- fix(cli): preserve options in retry advice by @davidfarah-dev in #9293
- fix(cli): clarify manager launch and stopped status by @davidfarah-dev in #9276
- test(cli): skip the unused send-refusal presence watch by @davidfarah-dev in #9298
- fix(cli): correct stopped space guidance by @davidfarah-dev in #9294
- fix(cli): handle renamed projects in stack lifecycle commands by @davidfarah-dev in #9085
- fix(cli): correct team deploy and foreground boot by @davidfarah-dev in #9113
- fix(cli): correct ps next steps by @davidfarah-dev in #9278
- fix(cli): omit the web-only flag from broker start help by @davidfarah-dev in #9316
- fix(cli): scope the foreground hangup stop to its project by @davidfarah-dev in #9323
- fix(cli): wait for installed connectors during self-update by @davidfarah-dev in #9319
- chore(release): version packages by @davidfarah-dev in #9274
Full Changelog: v0.175.1...v0.175.2