Skip to content

v0.159.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 11 Nov 11:58
1a33149

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

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

What changed

  • A host can now add and retire a space account on a running broker without reloading it.
  • Windows daemon restart failures now include the daemon's refusal code and message.
  • Retry native daemon ownership checks before restart and uninstall when startup could not verify ownership.
  • Confirm Windows daemon restarts replace the running process before setup or update reports success.
  • Recover owned disabled Windows daemon tasks during setup and show progress while restarting.
Every change in full
  • A host can now add and retire a space account on a running broker without reloading it. serverConfig takes accountResolver: { kind: "full", directory, limit, intervalMs } to render nats-server's directory resolver, pushAccountClaim sends a signed account claim over a system-account connection and waits for every expected server to accept it, and retireAccountClaim re-signs an account so it serves nobody. The default stays the MEMORY resolver, and its rendered config is unchanged.

  • Windows daemon restart failures now include the daemon's refusal code and message.
    The restart handshake validates the response version, request ID and response shape before retaining the refusal in the command's native cause.

  • Retry native daemon ownership checks before restart and uninstall when startup could not verify ownership. Distinguish missing provenance from an unknown observation, keep checks bounded and cache only verified ownership.

  • Confirm Windows daemon restarts replace the running process before setup or update reports success.

    Pause the recorded scheduled task around a pinned two-phase daemon shutdown, then verify a fresh daemon lifetime and the expected version. Application refresh and version updates share this restart path. Preserve restart fences and installation evidence when a native operation has an uncertain outcome.

  • Recover owned disabled Windows daemon tasks during setup and show progress while restarting.

    Failed restarts restore autostart only after verifying the pinned old listener or unchanged installation with no running daemon. Unresolved native End operations retain the disabled task and restart fence for inspection.

What's Changed

  • docs(web): add the sidebar label for the Manager registration removal route by @davidfarah2003 in #6341
  • fix(daemon): replace the running Windows daemon on restart and recover a paused task by @davidfarah2003 in #6344
  • test(tui): match the composer smoke to the refused-command and offline-notice changes by @Manas-Kenge in #6343
  • feat(core): add and retire space accounts without a broker reload by @davidfarah2003 in #6348
  • chore(release): version packages by @davidfarah2003 in #6345

Full Changelog: v0.158.1...v0.159.0