Skip to content

v0.156.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 10 Nov 17:27
d4d985e

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

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

What changed

  • Connect a computer for Cloud agent launches from the desktop app.
  • Daemon service connections now identify credentials that are not yet valid by the machine's clock.
  • Daemon disconnect and graceful shutdown cancel pending service HTTP requests instead of waiting for network timeouts.
  • Daemon service connections now report locally expired credentials instead of an unreachable space or broker.
  • Include the Windows daemon startup entry in CLI builds so an installed scheduled task can start the daemon.
  • Daemon setup rejects invalid space names before installing a service and stops on failed connection prerequisites.
  • Windows daemon services now start with the native entry included in the CLI build.
  • Workflow turns survive a transient timeout while waiting for an agent's yield.
  • Chat reports broker disconnects promptly, including outages that recover before reconnect attempts finish.
  • Claude setup and updates refuse to replace registrations belonging to another Cotal home.
  • OpenCode 2.x seats now publish the AG-UI event plane, so launches with events on, the default, no longer exit on OpenCode 2.x.
  • Require confirmation before stopping a stack started with plain cotal up.
  • Run listing now names the missing auth-service grant and tells the space operator how to restore it.
Every change in full
  • Connect a computer for Cloud agent launches from the desktop app.

    The app runs stock daemon setup with streamed progress, reports hosted Manager launch-readiness,
    and lets users check again after installing an agent application. Application discovery reads the
    account PATH outside the renderer and preserves the daemon's guarded service refresh.

  • Daemon service connections now identify credentials that are not yet valid by the machine's clock.
    The refusal tells you to check the machine's and space authority's clocks instead of reporting an
    unreachable space. Bearer verification still fails closed and retries preserve the saved request IDs.

  • Daemon disconnect and graceful shutdown cancel pending service HTTP requests instead of waiting for network timeouts.

    Cancellation reaches startup metadata, registration, credential and ready requests, including sign-in proof acquisition. Explicit disconnect still forgets resume intent, while shutdown preserves it.

  • Daemon service connections now report locally expired credentials instead of an unreachable space or broker.
    The renewal source preserves a fixed expiry classification, and the daemon reports LIFECYCLE_BLOCKED
    with native code CREDENTIAL_EXPIRED and a clock-check remedy. A newly returned sign-in proof
    already expired by the local clock uses the same diagnosis before any space request. Expiry checks
    and request replay stay unchanged.

  • Include the Windows daemon startup entry in CLI builds so an installed scheduled task can start the daemon.

  • Daemon setup rejects invalid space names before installing a service and stops on failed connection prerequisites.

    Service-only setup reports the original refusal without a misleading sign-in message or a duplicate registration check. Manager setup still reports unsupported machine services independently of agent launch readiness.

  • Windows daemon services now start with the native entry included in the CLI build. Native launches retain bounded private output, unavailable status names the log and Task Scheduler diagnostics, and the real-service smoke reports the task state and last result on failure.

  • Workflow turns survive a transient timeout while waiting for an agent's yield.
    Result, deadline and presence reads use bounded timeout and host-starvation retries with
    diagnostics naming the read. A turn that fails on a read withdraws its relay before returning, so
    the agent cannot later receive a misleading successful yield acknowledgement.

  • Chat reports broker disconnects promptly, including outages that recover before reconnect attempts finish.
    The shared chat session follows transport events while keeping full-bind readiness separate, so a socket reconnect does not mark an unfinished rebuild connected.

  • Claude setup and updates refuse to replace registrations belonging to another Cotal home.
    The error names the existing home and explains how to use a separate Claude profile.

  • OpenCode 2.x seats now publish the AG-UI event plane, so launches with events on, the default, no longer exit on OpenCode 2.x.

    The 2.x connector reads the session it launched through OpenCode's message list and publishes the same events as 1.x: run boundaries, assistant text, and each tool call's start and end, with tool arguments and results withheld and reasoning off. A turn's end and its outcome come from the record OpenCode 2.x writes into the session, so a failed turn ends its run with RUN_ERROR and an interrupted one as an ordinary end. A registration that requires events now arms on 2.x as well.

  • Require confirmation before stopping a stack started with plain cotal up.
    Noninteractive stops now need --yes, as prepared stacks already do. Interactive
    stops show the retained components and default to No. Previews and already-stopped
    stacks still need no confirmation.
    The stop rechecks its safety guards after interactive confirmation and refuses if the
    reviewed target or process records changed while the prompt waited.

  • Run listing now names the missing auth-service grant and tells the space operator how to restore it. Managers from 0.149.0 require the space's auth service to be upgraded to 0.149.0 or later first, because it issues the batched records-read grant. A denial of that grant returns failed-precondition without falling back to per-run reads. After upgrading the auth service, retry the list to obtain a fresh per-call credential.

What's Changed

  • fix(claude): preserve registration ownership across Cotal homes by @davidfarah2003 in #6228
  • feat(connector-opencode): carry the AG-UI event plane on OpenCode 2.x by @Manas-Kenge in #6227
  • fix(daemon): validate setup prerequisites before continuing by @davidfarah2003 in #6231
  • test: re-anchor the presence census and give the inline persona runtime work closure by @davidfarah2003 in #5998
  • fix(daemon): ship the Windows service entry and keep its startup output by @davidfarah2003 in #6232
  • fix(workspace): report chat transport disconnects promptly by @davidfarah2003 in #6238
  • fix(daemon): diagnose service credentials issued ahead of the clock by @davidfarah2003 in #6239
  • fix(daemon): include the native startup entry in CLI builds by @davidfarah2003 in #6240
  • fix(daemon): cancel pending service requests on disconnect and shutdown by @davidfarah2003 in #6243
  • test(claude): declare the channel server in the exclusive MCP fixture by @davidfarah2003 in #6242
  • fix(daemon): distinguish locally expired service credentials by @davidfarah2003 in #6245
  • test(seat): isolate native assembly and pack fixtures by @davidfarah2003 in #6247
  • test(workspace): follow the web shadcn port in the presence census by @davidfarah2003 in #6001
  • test(manager): own detached succession seats through suite exit by @davidfarah2003 in #6248
  • feat(desktop): connect a computer through the full setup from the app by @davidfarah2003 in #6249
  • fix(runtime): retry transient turn poll timeouts by @davidfarah2003 in #6251
  • fix(runtime): explain a missing run-list grant from an older auth service by @davidfarah2003 in #6252
  • fix(cli): require confirmation for retained whole-stack shutdowns by @davidfarah2003 in #6254
  • chore(release): version packages by @davidfarah2003 in #6229

Full Changelog: v0.155.2...v0.156.0