Repository navigation
v0.171.4
Install or update: npm i -g cotal-ai@0.171.4
Restart running Cotal processes and agent sessions to use the new code.
What changed
- Local MCP clients get direct connection instructions,
input --jsonreports an unregistered space as a structured refusal, and removing an absent extension succeeds without changing the installation. - Self-update no longer asks you to retry while it can wait for a previous install, and it tells you to free temporary disk space when npm runs out during dependency checks.
- Let an already-current
cotal update --selfsucceed even when a running Manager from another installation has an unreadable launch entry. - When npm runs on an unsupported Node.js version, Cotal stops installation and explains how to upgrade Node.js or use the official installer.
- Keep desktop daemon status responsive while starting a Manager for an enabled account space.
- Cotal update explains how to refresh the standalone pi extension without overwriting your copy.
- Wait for a self-update that is still renewing its npm reservation, then recheck the installed version instead of asking you to retry.
- Move the endpoint's connection bind and teardown out of
endpoint.tsinto its own internal component. - Move the endpoint's rebuild and retry pacing out of
endpoint.tsinto its own internal component. - Split the validator in
grammar.ts: the resolution walk (identifier binding and effect call checks) moves to an internalgrammar-resolve.ts, and the node, scope and pattern helpers both walks use move to an internalgrammar-shared.ts. - Move the walker's operator helpers (
applyBinary, the no-coercion and update-operand refusals, and canonical array indexes) out ofinterpret.tsinto an internalinterpret-operators.ts. - Move per-primitive dispatch (
dispatchPrimitive, its hashed projections and thewaitUntilobservation loop) out ofperform.tsinto an internalperform-dispatch.ts. - When you rename a stopped space's project folder,
cotal upandcotal statusshow the commands to keep the new location when the old path is gone and the stack is confirmed stopped. - A prepared space record this account cannot read, such as one left owned by root, is no longer reported as a record that does not parse.
- Report the CLI version as partial JSON with exit code 4 when the extension manifest cannot be read.
- Move the restore lifecycle (restore contexts and claims, the restore listener and its custody, and the settling, activation, rollback and retirement of a restored root) out of
maintenance.tsinto an internalmaintenance-restore.ts. - Move the auth service's process and context host (
runAuthService,startAuthServiceand its handle, the lane and multi-tenant host runners, andstartAuthContext) out ofservice.tsinto an internalservice-host.ts. - Manual self-updates now report a refused HTTP or HTTPS proxy connection and fail without changing the installation or bypassing the proxy.
cotal statusreports an answering manager outside a broker-only stack and points tocotal whofor the live roster.- Let
cotal update --selffinish interrupted-update recovery whencotal upfailed without starting any stack members and the stack is confirmed stopped. cotal upno longer refuses a controller stack after a reboot because of a stale delivery or manager record.- Move the manager's broker dials, connection tracking and scoped executor connections into their own component without changing the manager API.
- Move the connector inventory the manager takes at boot into its own component without changing the manager API.
- Move connector and harness resolution for a launch into its own component without changing the manager API.
- Move manager preservation (prepare, commit, abort, the cut over each seat, and adoption of released seats) into its own component without changing the manager API.
- Move the launch readiness race, the exit watch and the exit transcript tail into their own component without changing the manager API.
- Move the
startandlaunchcontrol doors into their own component without changing the manager API. - Move the manager's status, seat list and model catalog reads into their own component without changing the manager API.
- Move the constants and helpers that the mesh handler shares with its components (poll and deadline bounds, the seat and agent-handle readings, the permit and supervise readers and
CheckpointAnswerMissing) out ofmesh-handler.tsinto an internalmesh-handler-shared.ts, so the components no longer import the handler at runtime.
Every change in full
- Local MCP clients get direct connection instructions,
input --jsonreports an unregistered space as a structured refusal, and removing an absent extension succeeds without changing the installation. - Self-update no longer asks you to retry while it can wait for a previous install, and it tells you to free temporary disk space when npm runs out during dependency checks.
- Let an already-current
cotal update --selfsucceed even when a running Manager from another installation has an unreadable launch entry. - When npm runs on an unsupported Node.js version, Cotal stops installation and explains how to upgrade Node.js or use the official installer.
- Keep desktop daemon status responsive while starting a Manager for an enabled account space.
- Cotal update explains how to refresh the standalone pi extension without overwriting your copy.
- Wait for a self-update that is still renewing its npm reservation, then recheck the installed version instead of asking you to retry.
- Move the endpoint's connection bind and teardown out of
endpoint.tsinto its own internal component. The package's exports are unchanged. - Move the endpoint's rebuild and retry pacing out of
endpoint.tsinto its own internal component. The package's exports are unchanged. - Split the validator in
grammar.ts: the resolution walk (identifier binding and effect call checks) moves to an internalgrammar-resolve.ts, and the node, scope and pattern helpers both walks use move to an internalgrammar-shared.ts. The package surface is unchanged. - Move the walker's operator helpers (
applyBinary, the no-coercion and update-operand refusals, and canonical array indexes) out ofinterpret.tsinto an internalinterpret-operators.ts. The package surface is unchanged. - Move per-primitive dispatch (
dispatchPrimitive, its hashed projections and thewaitUntilobservation loop) out ofperform.tsinto an internalperform-dispatch.ts. The package surface is unchanged. - When you rename a stopped space's project folder,
cotal upandcotal statusshow the commands to keep the new location when the old path is gone and the stack is confirmed stopped. - A prepared space record this account cannot read, such as one left owned by root, is no longer reported as a record that does not parse. A command about its space, such as
cotal uporcotal use, refusesPERMISSION_DENIED, exit 2, instead ofSCHEMA_INVALID, and keeps the record. The refusal, thePREPARED_RECORD_SKIPPEDwarning andcotal statussay the file could not be read and name the step that gives it back,sudo chown "$(id -un)" <file>andchmod 600 <file>, instead ofcotal space forget. A record that does not parse or is not a prepared space record still names the forget. - Report the CLI version as partial JSON with exit code 4 when the extension manifest cannot be read.
- Move the restore lifecycle (restore contexts and claims, the restore listener and its custody, and the settling, activation, rollback and retirement of a restored root) out of
maintenance.tsinto an internalmaintenance-restore.ts.maintenance.tsre-exports every public name, so the package surface and import paths are unchanged. - Move the auth service's process and context host (
runAuthService,startAuthServiceand its handle, the lane and multi-tenant host runners, andstartAuthContext) out ofservice.tsinto an internalservice-host.ts. The package surface is unchanged. - Manual self-updates now report a refused HTTP or HTTPS proxy connection and fail without changing the installation or bypassing the proxy.
cotal statusreports an answering manager outside a broker-only stack and points tocotal whofor the live roster.- Let
cotal update --selffinish interrupted-update recovery whencotal upfailed without starting any stack members and the stack is confirmed stopped. cotal upno longer refuses a controller stack after a reboot because of a stale delivery or manager record. Before it starts a member,upremoves each process record under the root whose process is gone, or whose pid now runs another start than its identity pin records. It names each one in aSTALE_PROCESS_RECORDwarning, as a completecotal downdoes, and never signals the process that holds a reused pid. Before, a record whose pid had been reused refusedupas a legacy process. A record whose pid a process started by the sameuptook refused the delivery member withLIFECYCLE_BLOCKED. A record that may front a live process still refuses.- Move the manager's broker dials, connection tracking and scoped executor connections into their own component without changing the manager API.
- Move the connector inventory the manager takes at boot into its own component without changing the manager API.
- Move connector and harness resolution for a launch into its own component without changing the manager API.
- Move manager preservation (prepare, commit, abort, the cut over each seat, and adoption of released seats) into its own component without changing the manager API.
- Move the launch readiness race, the exit watch and the exit transcript tail into their own component without changing the manager API.
- Move the
startandlaunchcontrol doors into their own component without changing the manager API. - Move the manager's status, seat list and model catalog reads into their own component without changing the manager API.
- Move the constants and helpers that the mesh handler shares with its components (poll and deadline bounds, the seat and agent-handle readings, the permit and supervise readers and
CheckpointAnswerMissing) out ofmesh-handler.tsinto an internalmesh-handler-shared.ts, so the components no longer import the handler at runtime. The package surface is unchanged.
What's Changed
- refactor(core): move endpoint rebuild and retry pacing into endpoint-reconnect.ts by @davidfarah-dev in #8139
- refactor(workspace): move the maintenance restore lifecycle into maintenance-restore.ts by @davidfarah-dev in #8140
- refactor(lang): move name resolution out of grammar.ts into grammar-resolve.ts by @davidfarah-dev in #8148
- refactor(lang): move primitive dispatch out of perform.ts into perform-dispatch.ts by @davidfarah-dev in #8153
- refactor(manager): move status, listing and model catalog into status-and-models.ts by @davidfarah-dev in #8141
- refactor(manager): move the seat readiness wait into readiness-wait.ts by @davidfarah-dev in #8142
- refactor(manager): move broker connections and executor scopes into broker-transport.ts by @davidfarah-dev in #8144
- refactor(manager): move the start and launch commands into start-doors.ts by @davidfarah-dev in #8146
- refactor(manager): move harness and connector resolution into harness-resolution.ts by @davidfarah-dev in #8147
- refactor(manager): move the boot connector inventory into connector-inventory.ts by @davidfarah-dev in #8150
- test(cli): grade the full-store down refusal on the journal, not the delivery daemon by @davidfarah-dev in #8154
- fix(cli): show how to adopt a renamed stopped space by @davidfarah-dev in #8132
- fix(cli): make local command results match their contracts by @davidfarah-dev in #8003
- refactor(lang): move operator helpers out of interpret.ts into interpret-operators.ts by @davidfarah-dev in #8161
- fix(cli): remove stale process records before up starts a member by @davidfarah-dev in #8158
- fix(update): clarify self-update recovery guidance by @davidfarah-dev in #8111
- fix(cli): report a refused npm proxy during self-update by @davidfarah-dev in #8122
- fix(cli): explain how to update the standalone pi extension by @davidfarah-dev in #8106
- fix(cli): report live managers and roster guidance in status by @davidfarah-dev in #8112
- refactor(auth): move the auth service host into service-host.ts by @davidfarah-dev in #8164
- refactor(core): extract endpoint connection module by @davidfarah-dev in #8165
- fix(workspace): report an unreadable prepared space record as a denial by @davidfarah-dev in #8167
- fix(daemon): keep status responsive during account enable by @davidfarah-dev in #8151
- fix(cli): skip Manager continuity for current self-updates by @davidfarah-dev in #8156
- fix(update): recover after a stopped controller fails to start by @davidfarah-dev in #8157
- fix(cli): keep version JSON when the extension manifest is corrupt by @davidfarah-dev in #8101
- refactor(manager): move state preservation into preservation.ts by @davidfarah-dev in #8162
- refactor(runtime): move mesh handler shared constants and helpers into mesh-handler-shared.ts by @davidfarah-dev in #8170
- fix(cli): wait for a renewing self-updater by @davidfarah-dev in #8160
- fix(npm): explain the Node.js requirement before postinstall by @davidfarah-dev in #8159
- chore(release): version packages by @davidfarah-dev in #8155
Full Changelog: v0.171.3...v0.171.4