Skip to content

v0.171.4

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 20 Nov 02:00
766014b

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 --json reports 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 --self succeed 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.ts into its own internal component.
  • Move the endpoint's rebuild and retry pacing out of endpoint.ts into its own internal component.
  • Split the validator in grammar.ts: the resolution walk (identifier binding and effect call checks) moves to an internal grammar-resolve.ts, and the node, scope and pattern helpers both walks use move to an internal grammar-shared.ts.
  • Move the walker's operator helpers (applyBinary, the no-coercion and update-operand refusals, and canonical array indexes) out of interpret.ts into an internal interpret-operators.ts.
  • Move per-primitive dispatch (dispatchPrimitive, its hashed projections and the waitUntil observation loop) out of perform.ts into an internal perform-dispatch.ts.
  • When you rename a stopped space's project folder, cotal up and cotal status show 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.ts into an internal maintenance-restore.ts.
  • Move the auth service's process and context host (runAuthService, startAuthService and its handle, the lane and multi-tenant host runners, and startAuthContext) out of service.ts into an internal service-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 status reports an answering manager outside a broker-only stack and points to cotal who for the live roster.
  • Let cotal update --self finish interrupted-update recovery when cotal up failed without starting any stack members and the stack is confirmed stopped.
  • cotal up no 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 start and launch control 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 of mesh-handler.ts into an internal mesh-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 --json reports 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 --self succeed 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.ts into its own internal component. The package's exports are unchanged.
  • Move the endpoint's rebuild and retry pacing out of endpoint.ts into 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 internal grammar-resolve.ts, and the node, scope and pattern helpers both walks use move to an internal grammar-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 of interpret.ts into an internal interpret-operators.ts. The package surface is unchanged.
  • Move per-primitive dispatch (dispatchPrimitive, its hashed projections and the waitUntil observation loop) out of perform.ts into an internal perform-dispatch.ts. The package surface is unchanged.
  • When you rename a stopped space's project folder, cotal up and cotal status show 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 up or cotal use, refuses PERMISSION_DENIED, exit 2, instead of SCHEMA_INVALID, and keeps the record. The refusal, the PREPARED_RECORD_SKIPPED warning and cotal status say the file could not be read and name the step that gives it back, sudo chown "$(id -un)" <file> and chmod 600 <file>, instead of cotal 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.ts into an internal maintenance-restore.ts. maintenance.ts re-exports every public name, so the package surface and import paths are unchanged.
  • Move the auth service's process and context host (runAuthService, startAuthService and its handle, the lane and multi-tenant host runners, and startAuthContext) out of service.ts into an internal service-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 status reports an answering manager outside a broker-only stack and points to cotal who for the live roster.
  • Let cotal update --self finish interrupted-update recovery when cotal up failed without starting any stack members and the stack is confirmed stopped.
  • cotal up no longer refuses a controller stack after a reboot because of a stale delivery or manager record. Before it starts a member, up removes 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 a STALE_PROCESS_RECORD warning, as a complete cotal down does, and never signals the process that holds a reused pid. Before, a record whose pid had been reused refused up as a legacy process. A record whose pid a process started by the same up took refused the delivery member with LIFECYCLE_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 start and launch control 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 of mesh-handler.ts into an internal mesh-handler-shared.ts, so the components no longer import the handler at runtime. The package surface is unchanged.

What's Changed

Full Changelog: v0.171.3...v0.171.4