Skip to content

v0.191.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 30 Nov 21:14
83aa379

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

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

What changed

  • Signing out disconnects this account's spaces on this computer before revoking the provider session.
  • A Codex agent's approvals and sandbox can now be changed with set-option, but only to values its launch allows.
  • The Codex connector can check and install the Cotal plugin in the ChatGPT desktop app’s own profile on macOS and Linux without a standalone Codex CLI.
  • A Pi agent's owner can now read and change whether Pi asks before tool calls, as the ask-before-tools setting with options and set-option.
  • Report why a Windows daemon stop did not complete and whether automatic start is on, off, or unknown in JSON output.
  • A hosted Manager can find agent applications installed after Setup, including in a new folder on your account’s PATH.
  • Linux desktop: Check now reads the release feed itself, so it works with the background service stopped or not set up.
  • Stop retrying closed machine service proposals during account polls and show why the space refused them.
  • After Repair, the desktop app shows one line saying what was fixed, then only the steps that still need you, each with its own button.
  • cotal run loads the workflow surface and the auth provider without the rest of the CLI, so a status read can report a restarting authority inside the caller's deadline.
  • The space list on the Connection page lines up again.
  • Retry one busy Linux daemon socket connection before uninstall sends a shutdown request.
  • Desktop on macOS and Windows: the update banner on the main screen now offers Restart to update, the same action as Settings, instead of a download of the disk image or setup file.
  • Preserve daemon endpoint refusal codes in update telemetry when Manager continuity cannot be checked.
  • The auth service opens spaces faster after a restart by using native Ed25519 for its broker connections and credential renewal.
  • A manager that stops while it is retrying a released workflow run continues that recovery on its next boot, waits for a rate-limit answer from the authority or the identity provider, including a body that is not JSON, and stops at once when the authority says the request is not implemented.
  • Keep goal reconciliation, admission-store creation, handle inspection, and conversation bearer renewal on the running process's release even if an update removes its original module files.
  • The ACP bridge's frame reader reads a seat's payload message of any shape as no frame instead of throwing in the live tap, and ignores a frame the seat's emitter would refuse to write: an empty or missing epoch, thread or run, or a seq that is not a non-negative integer.
  • Report a native timeout during the second Manager registry read in ps or ps --slots as TARGET_UNAVAILABLE.
  • The ACP bridge's frame reader keeps each rail's own events: tool arguments and results are read only from the payload rail, and any other event only from the event channel.
  • Report TARGET_UNAVAILABLE when the last Manager registration disappears between the two roster registry reads.
  • Report a timed-out broker connection before watch starts as TARGET_UNAVAILABLE (exit 2) in JSON and as a connection timeout in plain output.
  • Add a Windows writer check for an existing file or folder.
  • @cotal-ai/workspace/owner-session's frame history no longer places a payload frame before an event frame whose thread or run it contradicts, even when the two share an epoch and sequence.
  • cotal setup for Codex now replaces a cotal-mesh marketplace registered from another source, such as the repository added with codex plugin marketplace add Cotal-AI/Cotal.
  • A new docs page, Connect ChatGPT, covers adding the hosted connector in ChatGPT, connecting a chat, getting messages pushed into a Work chat, using voice, and the ChatGPT desktop app.
  • Summarize repeated event emitter halts instead of logging each one in full, and reset the halt backoff when the cause changes, the emitter recovers, or a failure is not a halt.
  • Double the device approval polling interval when a request times out without a response.
  • Stop an unanswered device approval request at the code's expiry rather than waiting for the full provider request timeout.
  • When no remote Manager is live, the refusal tells you how to start it on its host computer without referring to local routing.
  • Report an explicit device approval denial as PERMISSION_DENIED in login telemetry without sending provider details.
  • Report a timed-out one-shot channel sender discovery read as TARGET_UNAVAILABLE.
  • Classify failed extension update reservations with a fixed telemetry diagnostic.
  • Report when component status has no selected mesh or the target has not started.
  • Keep the refusal code and a fixed diagnostic when a foreground stack refuses to stop after a signal.
  • Report foreground agent start failures as OPERATION_FAILED without sending executable paths or system errors in telemetry.
  • Record guided prompt cancellations with a fixed telemetry diagnostic.
  • Exit after writing the terminal JSON records when a history follow cannot start, even if the broker leaves its socket open.
  • Report TARGET_UNAVAILABLE when the history reader's connection to the broker times out before any messages can be read.
  • Report TARGET_UNAVAILABLE when a channel membership reader's broker connection times out before opening.
  • Report a broker connection timeout before endpoint describe or invoke as TARGET_UNAVAILABLE.
  • When a JSON watch or membership follow cannot start, write its terminal records and exit even if the broker keeps the reader socket open.
  • Let plain watch print its setup failure and exit even when the broker keeps the reader socket open.
  • Keep Manager registry keys and instance IDs local when a roster registry read times out, while retaining the refusal code in telemetry.
  • Record fixed telemetry reasons when who cannot read the Manager census or endpoint list --live cannot read the live inventory.
  • Classify client integration refresh failures in update telemetry without sending client names or settings diagnostics.
  • Classify npm global directory lookup failures and invalid paths in self-update telemetry without sending npm output or local paths.
Every change in full
  • Signing out disconnects this account's spaces on this computer before revoking the provider session. Cotal asks before stopping hosted agents, keeps a stopped service stopped, and preserves account bindings for the next sign-in. Where local recovery is possible, Sign out on this computer only clears this account's local sign-in and spaces without touching another account's sign-ins or agents. The provider session is not revoked. If cleanup stops partway through, Cotal reports what changed.
  • A Codex agent's approvals and sandbox can now be changed with set-option, but only to values its launch allows. A launch names the values in fixedOptions. The Manager keeps the map with the launch, writes it into the seat's launch material on every start, resume and restart, and refuses it on a runtime that starts seats elsewhere, or for a setting the connector does not enforce. A setting the launch does not name stays locked, and so does every setting on a seat launched without the map. A launch whose own approval policy or sandbox lies outside its allowed values is refused. If the attached terminal or another client of Codex writes a wider value, the seat writes the allowed value back and interrupts a turn that started outside the allowed values. That happens after Codex took the value, so Codex's managed requirements remain the real boundary. No launch command names fixedOptions yet.
  • The Codex connector can check and install the Cotal plugin in the ChatGPT desktop app’s own profile on macOS and Linux without a standalone Codex CLI.
  • A Pi agent's owner can now read and change whether Pi asks before tool calls, as the ask-before-tools setting with options and set-option. The change applies to the next tool call. Turning asking on is always allowed while the agent serves its prompt desk. Turning it off is allowed only when the launch's fixedOptions lists false for ask-before-tools, or when the agent was launched without asking and the owner turned asking on since. Otherwise the setting is locked. A launch whose fixedOptions does not allow its own starting value is refused.
  • Report why a Windows daemon stop did not complete and whether automatic start is on, off, or unknown in JSON output.
  • A hosted Manager can find agent applications installed after Setup, including in a new folder on your account’s PATH. The next status check or agent launch looks again without restarting the background service or Manager. If the account PATH read fails or takes longer than 1.5 seconds, Cotal keeps the last known PATH and explains the failed read when it can’t find an app. A pinned executable on the original service PATH remains usable after a profile change. If the pinned file disappears, or a profile-only pin leaves PATH, Cotal refuses to launch a different copy. For Claude, an explicit status check starts wake setup in the background with the executable the Manager found. Claude stays unavailable until setup succeeds.
  • Linux desktop: Check now reads the release feed itself, so it works with the background service stopped or not set up. A newer version shows "Version X is available" with a download for the way this copy was installed (.deb or .rpm, from a marker each package carries), or the release page when that can't be told. A failed check is shown in the Updates row and on the last-check line. Settings says when the background service is stopped or not running, with one button that starts or sets it up, and the bridge no longer says "daemon" for a service that isn't set up yet.
  • Stop retrying closed machine service proposals during account polls and show why the space refused them.
  • After Repair, the desktop app shows one line saying what was fixed, then only the steps that still need you, each with its own button. Steps that are done or needed no change aren't listed, each step and space appears once, and the finished screen has one Done button.
  • cotal run loads the workflow surface and the auth provider without the rest of the CLI, so a status read can report a restarting authority inside the caller's deadline.
  • The space list on the Connection page lines up again. Each space row keeps its name, its state and its button in the same three columns, so a long or short space name no longer moves the state sideways. When the row is too narrow for three columns, the name sits above the state and the button, and a normal word stays on one line. The "Spaces can also be managed in the dashboard." note sits at the same inset as the rows. An empty add-space area draws no extra line at the bottom of the card. The card keeps its distance from the buttons above it when its heading is hidden.
  • Retry one busy Linux daemon socket connection before uninstall sends a shutdown request. Keep the same process verification and leave shutdown itself unretried.
  • Desktop on macOS and Windows: the update banner on the main screen now offers Restart to update, the same action as Settings, instead of a download of the disk image or setup file. A Mac copy running from a disk image or another temporary location is offered Move to Applications, with a sentence saying a move is needed to update it, and while that copy is being moved the banner says "Moving Cotal to Applications…". While the verified update is still downloading the banner says so and offers nothing to download. While the newest release is still being prepared, the banner says "The newest release is still being prepared." and offers the installer download, as Settings does. If the restart or move is refused, the reason is shown on the main screen, and a failed update says to choose Restart to update to try again. A build that cannot update itself, such as the Linux packages, still offers the installer download.
  • Preserve daemon endpoint refusal codes in update telemetry when Manager continuity cannot be checked. Keep local runtime paths and permission details out of the event.
  • The auth service opens spaces faster after a restart by using native Ed25519 for its broker connections and credential renewal.
  • A manager that stops while it is retrying a released workflow run continues that recovery on its next boot, waits for a rate-limit answer from the authority or the identity provider, including a body that is not JSON, and stops at once when the authority says the request is not implemented.
  • Keep goal reconciliation, admission-store creation, handle inspection, and conversation bearer renewal on the running process's release even if an update removes its original module files.
  • The ACP bridge's frame reader reads a seat's payload message of any shape as no frame instead of throwing in the live tap, and ignores a frame the seat's emitter would refuse to write: an empty or missing epoch, thread or run, or a seq that is not a non-negative integer.
  • Report a native timeout during the second Manager registry read in ps or ps --slots as TARGET_UNAVAILABLE. Keep the native cause and return no roster.
  • The ACP bridge's frame reader keeps each rail's own events: tool arguments and results are read only from the payload rail, and any other event only from the event channel.
  • Report TARGET_UNAVAILABLE when the last Manager registration disappears between the two roster registry reads. Preserve the native cause and make clear that no roster request was sent.
  • Report a timed-out broker connection before watch starts as TARGET_UNAVAILABLE (exit 2) in JSON and as a connection timeout in plain output. Watch still reports failures after it connects separately.
  • Add a Windows writer check for an existing file or folder. localWriterGapWin32(path) reads the entry's owner and access list, without following a link, then those of each folder above it. windowsWriterGap says why another local account could write or replace the entry, or nothing when no other account can. The new WindowsAce and WindowsSecurity types describe what it reads. The shipped Windows binding gains the securityInfo reader this uses. Nothing calls the check yet, and localWriterGap gives the same answer on Windows as before.
  • @cotal-ai/workspace/owner-session's frame history no longer places a payload frame before an event frame whose thread or run it contradicts, even when the two share an epoch and sequence. Such a frame belongs to no tool call the thread shows, and is left out.
  • cotal setup for Codex now replaces a cotal-mesh marketplace registered from another source, such as the repository added with codex plugin marketplace add Cotal-AI/Cotal. Setup used to fail with "Codex did not install cotal@cotal-mesh", and running it again did not help.
  • A new docs page, Connect ChatGPT, covers adding the hosted connector in ChatGPT, connecting a chat, getting messages pushed into a Work chat, using voice, and the ChatGPT desktop app. cotal_docs serves it.
  • Summarize repeated event emitter halts instead of logging each one in full, and reset the halt backoff when the cause changes, the emitter recovers, or a failure is not a halt.
  • Double the device approval polling interval when a request times out without a response. Keep retries within the device code's lifetime and preserve the provider's own polling instructions.
  • Stop an unanswered device approval request at the code's expiry rather than waiting for the full provider request timeout. Keep the provider-unavailable error and save no session.
  • When no remote Manager is live, the refusal tells you how to start it on its host computer without referring to local routing.
  • Report an explicit device approval denial as PERMISSION_DENIED in login telemetry without sending provider details. Keep exit 1 and leave the session unchanged.
  • Report a timed-out one-shot channel sender discovery read as TARGET_UNAVAILABLE. The refusal occurs before publishing, so the command no longer reports an unknown send outcome for this timeout.
  • Classify failed extension update reservations with a fixed telemetry diagnostic. Keep the existing exit status and leave lock paths and owner details local.
  • Report when component status has no selected mesh or the target has not started. Keep the existing verdict and exit code, and leave space names and paths out of telemetry.
  • Keep the refusal code and a fixed diagnostic when a foreground stack refuses to stop after a signal. Leave signal exit statuses, startup errors, and process ownership unchanged.
  • Report foreground agent start failures as OPERATION_FAILED without sending executable paths or system errors in telemetry.
  • Record guided prompt cancellations with a fixed telemetry diagnostic. Preserve exit 130 and keep prompt contents local.
  • Exit after writing the terminal JSON records when a history follow cannot start, even if the broker leaves its socket open.
  • Report TARGET_UNAVAILABLE when the history reader's connection to the broker times out before any messages can be read.
  • Report TARGET_UNAVAILABLE when a channel membership reader's broker connection times out before opening. Both a finite read and a follow retain the requested space and channel.
  • Report a broker connection timeout before endpoint describe or invoke as TARGET_UNAVAILABLE. Keep the selected endpoint and distinguish it from a request that was sent and did not answer.
  • When a JSON watch or membership follow cannot start, write its terminal records and exit even if the broker keeps the reader socket open.
  • Let plain watch print its setup failure and exit even when the broker keeps the reader socket open.
  • Keep Manager registry keys and instance IDs local when a roster registry read times out, while retaining the refusal code in telemetry.
  • Record fixed telemetry reasons when who cannot read the Manager census or endpoint list --live cannot read the live inventory. Keep partial results, the existing exit code, and private warning details on the local machine.
  • Classify client integration refresh failures in update telemetry without sending client names or settings diagnostics. Keep a shared typed refusal when the client failures agree.
  • Classify npm global directory lookup failures and invalid paths in self-update telemetry without sending npm output or local paths.

What's Changed

  • fix(auth): clarify unavailable remote Manager recovery by @davidfarah-dev in #11483
  • fix(workspace): the ACP bridge's frame reader takes a payload message of any shape as no frame (owner-session review D1 measured, D3 fixed) by @davidfarah-dev in #11515
  • fix(cli): report refused foreground stack stops in telemetry by @davidfarah-dev in #11516
  • fix(cli): report failed extension update reservations in telemetry by @davidfarah-dev in #11518
  • fix(owner-session): a session holds one seat's frames, and reads a frame by its delivery subject's sender (review D1) by @davidfarah-dev in #11520
  • fix(owner-session): keep a turn of unknown effect as lost, refuse a reply with no usable id, and reject from interrupt and setModel (review D4, D5) by @davidfarah-dev in #11521
  • fix(connector-codex): replace a cotal-mesh marketplace from another source during setup by @davidfarah-dev in #11511
  • fix(workspace): classify both Manager roster registry timeouts by @davidfarah-dev in #11524
  • feat(owner-session): steer, options and set-option, at agent cluster revision 10 (review D2) by @davidfarah-dev in #11525
  • feat(options): a setting that widens is writable only to what its launch names (fixedOptions), enforced by Codex for approvals and sandbox by @davidfarah-dev in #11527
  • fix(manager): continue a released run after a stop or a rate limit by @davidfarah-dev in #10746
  • fix(owner-session): the prompt reader rules, a reconnect hook, and a stale note that is never empty (review D6, D9) by @davidfarah-dev in #11528
  • fix(cli): classify missing and unstarted component targets by @davidfarah-dev in #11529
  • test(daemon): name no particular computer in the fold smoke by @davidfarah-dev in #11517
  • fix(owner-session): history sets the epoch order, a missing head is a gap, waiting payloads are counted, and history is read again on reconnect (review D7) by @davidfarah-dev in #11530
  • fix(owner-session): bound the transcript, waiting payloads, sent items and labels, give up a hung read, and notify only on a change (review D8) by @davidfarah-dev in #11531
  • docs: connect Cotal to ChatGPT on the web, by voice and in the desktop app by @davidfarah-dev in #11424
  • fix(cli): retain partial roster and endpoint inventory diagnostics by @davidfarah-dev in #11532
  • feat(pi): serve ask-before-tools as a session setting: on whenever the desk is served, off only where the launch allows it by @davidfarah-dev in #11534
  • fix(auth): bound device token polls by approval expiry by @davidfarah-dev in #11536
  • test(cli): fix the daemon update smoke registry by @davidfarah-dev in #11533
  • test: correct roster age and auth fixture checks by @davidfarah-dev in #11537
  • fix(auth): back off after device approval poll timeouts by @davidfarah-dev in #11538
  • fix(auth): classify explicit device approval denials by @davidfarah-dev in #11540
  • fix(desktop): line up the space rows on the Connection page by @davidfarah-dev in #11497
  • feat(connector-codex): check and set up the Cotal plugin in the ChatGPT desktop app by @davidfarah-dev in #11437
  • fix(workspace): preserve the second roster registry verdict by @davidfarah-dev in #11542
  • test(cli): isolate the withdrawing Manager fixture identity by @davidfarah-dev in #11543
  • fix(daemon): stop replaying closed machine service proposals by @davidfarah-dev in #11498
  • docs: the ChatGPT Codex view cannot subscribe to pushed messages by @davidfarah-dev in #11541
  • fix(cli): classify channel send discovery timeouts by @davidfarah-dev in #11545
  • fix(workspace): each frame decoder keeps its rail's own events by @davidfarah-dev in #11548
  • fix(owner-session): answer only content that matches its digest, and read refusal details against the closed prompt-state schema by @davidfarah-dev in #11553
  • fix(owner-session): a settings write is confirmed only for the setting it named, and lists compare by content, not member order by @davidfarah-dev in #11554
  • fix(cli): classify the history reader connect timeout by @davidfarah-dev in #11555
  • fix(owner-session): a steer is asked about again only at the run that holds its key, and only while it holds it by @davidfarah-dev in #11557
  • fix(desktop): Linux Check now works without the background service by @davidfarah-dev in #11293
  • fix(owner-session): re-read when presence moves to another runtime, drop a gone process's prompts, and keep an empty payload read failure by @davidfarah-dev in #11559
  • test(desktop): use a neutral computer name in render fixtures by @davidfarah-dev in #11558
  • fix(owner-session): a history that lists only a suffix keeps older epochs first, the bound applies after ordering, and a reconnect during a history read reads again by @davidfarah-dev in #11560
  • fix(cli): exit after a history follow setup failure by @davidfarah-dev in #11561
  • fix(owner-session): the sent list stays bounded when no one follows its items, and takes ended states from the seat's read-back list by @davidfarah-dev in #11562
  • fix(owner-session): key tool views by thread, run and call id, so two runs that reuse a call id keep their own by @davidfarah-dev in #11563
  • refactor(daemon): read a release's files in a function of its own by @davidfarah-dev in #11564
  • fix(daemon): report why a Windows stop did not complete under a native cause code by @davidfarah-dev in #11456
  • fix(cli): exit after observer stream setup failures by @davidfarah-dev in #11566
  • fix(cli): exit after a plain watch setup failure by @davidfarah-dev in #11569
  • fix(cli): classify membership reader connect timeouts by @davidfarah-dev in #11572
  • fix(auth): use native Ed25519 for lane startup by @davidfarah-dev in #11568
  • test(workspace): classify the stream setup exit in the presence-render census by @davidfarah-dev in #11573
  • fix(cli): classify watch reader connect timeouts by @davidfarah-dev in #11576
  • fix(cli): classify update client refresh failures by @davidfarah-dev in #11578
  • docs: starting and stopping agents from ChatGPT works by voice by @davidfarah-dev in #11577
  • fix(cli): classify foreground exec failures in telemetry by @davidfarah-dev in #11579
  • fix(desktop): show what Repair fixed in one line and only the steps left for you by @davidfarah-dev in #11494
  • fix(desktop): the update banner offers Restart to update where the app updates itself by @davidfarah-dev in #11481
  • fix(owner-session): answer sends the prompt and values it checked, and only note and values from extra by @davidfarah-dev in #11583
  • feat(workspace): one Windows writer check, reading owner and access list through the native binding by @davidfarah-dev in #11556
  • chore: remove a stray lane suite script committed with #11583 by @davidfarah-dev in #11584
  • fix(cli): preserve daemon continuity refusals in update telemetry by @davidfarah-dev in #11585
  • fix(cli): report guided prompt cancellations in telemetry by @davidfarah-dev in #11589
  • fix(owner-session): a list read a reconnect or the process's exit overtook is read again, unavailable retires shown prompts, and a conflicting sent list is read again by @davidfarah-dev in #11587
  • fix(owner-session): steer keys live apart from the rows shown, a new key is reserved before it is sent, and a key the session does not hold is never sent by @davidfarah-dev in #11588
  • fix(daemon): retry a busy socket before uninstall sends shutdown by @davidfarah-dev in #11590
  • fix(daemon,desktop): disconnect computer spaces before revoking sign-in (#10910) by @davidfarah-dev in #10965
  • fix(connectors): bound repeated event emitter halt diagnostics by @davidfarah-dev in #11546
  • fix(owner-session): a payload frame that names another thread or run than its event frame is not placed in the transcript by @davidfarah-dev in #11591
  • fix(cli): classify native endpoint caller dial timeouts by @davidfarah-dev in #11592
  • fix(cli): classify npm global root failures during update by @davidfarah-dev in #11594
  • fix(core): load stock modules before release replacement by @davidfarah-dev in #11574
  • fix(cli): keep roster registry keys out of timeout telemetry by @davidfarah-dev in #11597
  • fix(manager): discover agent apps without restarting by @davidfarah-dev in #11468
  • chore(release): version packages by @davidfarah-dev in #11519

Full Changelog: v0.190.0...v0.191.0