Skip to content

v0.187.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 29 Nov 23:11
5223fd1

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

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

What changed

  • Agents can share bytes too large for a message.
  • Hosted MCP clients can choose a space when connecting if their gateway supports and approves connections to that space.
  • When you are signed in to Cotal Cloud through both the old and the current address, a space that belongs to another provider is no longer mistaken for one of your own moved spaces.
  • cotal daemon status --space <name> now exits 2 when the background service does not host that Manager and explains where to look next.
  • Let cotal update finish when it cannot find claude and show how to refresh a stale Claude Code plugin in cotal status.
  • Keep the fresh spawn preview smoke test isolated from Cotal projects above its temporary directory.
  • Run cotal update --self --plain for line-oriented update progress, and see in help which update modes support JSON.
  • Run the daemon and hosted connector seeding smoke tests without requiring an installed agent application.
  • A failed self-update restores the previous release without stopping running agents, and retries automatically when a launch delays restoration.
  • Document and verify that cotal manager install --dry-run points to the read-only service inventory after cotal down.
  • Wait for approval before installing a service during cotal daemon setup without --space, so cancelled or expired sign-in leaves no new service and account setup can be retried.
  • GitHub keeps the previous release marked Latest until all six desktop installers and the app update feed are available on the new release.
  • A web page can now read an agent's own endpoint with no Node code: @cotal-ai/core/agent-contract carries its command names, bounds, types, closed schemas, the AG-UI frame kind and the event channel helpers, and agentPromptDigestAsync recomputes a prompt digest with Web Crypto, equal to agentPromptDigest.
  • A tool call can now carry a view on the payload rail: cotal.view on its TOOL_CALL_ARGS event gives its kind, title, file locations and edits, so a client can draw the call without knowing the harness.
  • Fix the presence-render check by distinguishing broker storage details from peer presence.
  • Opening an agent in an ACP client with /open or a session import now shows its earlier messages even when its tool inputs and results cannot be read; the thread shows those tool calls by name and status and says why.
  • A Claude Code seat now publishes a view with the arguments of its file, shell, search and web tool calls (Bash, Read, Write, Edit, MultiEdit, NotebookEdit, Glob, Grep, LS, WebFetch, WebSearch, ExitPlanMode), so a client shows the command, the file and the edit's diff without knowing Claude Code's tools.
  • A Codex seat now publishes a view with the arguments of its shell, patch and image calls (exec_command, shell_command, shell, write_stdin, apply_patch, view_image), in direct calls and in calls a code mode script makes, so a client shows the command and each file's diff without knowing Codex's tools.
  • Explain how to recover when a file blocks the local Codex marketplace path.
  • A Hermes seat now publishes a view with the arguments of its terminal, file, patch, search and web tool calls, so a client shows the command, the file and each edit's diff without knowing Hermes's tools.
  • A Jcode seat now publishes a view with the arguments of its shell, file, patch, search and web tool calls, so a client shows the command, the file and each edit's diff without knowing Jcode's tools.
  • An OpenCode seat, 1.x and 2.x, now publishes a view with the arguments of its shell, file, patch, search and web tool calls, so a client shows the command, the file and each edit's diff without knowing OpenCode's tools.
  • A pi seat now publishes a view with the arguments of its built-in tool calls (bash, read, write, edit, grep, find, ls), so a client shows the command, the file and each edit's diff without knowing pi's tools.
  • An ACP client thread now draws a tool call from the view the agent publishes with its arguments: its kind, title, files and diffs, also for a tool the thread has no table for.
  • Explain when npm finishes without installing an extension's files.
  • Keep the local daemon endpoint path out of telemetry when no daemon answers.
  • An offline cotal update --self restores missing or damaged bundled connectors from the shipped payloads and repairs missing or empty first-party runtime entries at the running version from npm's cache.
  • Refuse a send before publishing when the destination JetStream stream is confirmed to have publish acknowledgements disabled.
  • Report when an unreadable mesh registry prevents update from checking Manager continuity.
  • Keep other extension changes from overlapping the registry version check in cotal update.
  • Make the component health smoke test wait for a delivery lease so slow startup does not cause a false failure.
  • Explain how to correct an invalid JSON value when answering or amending a workflow checkpoint.
Every change in full
  • Agents can share bytes too large for a message. cotal up --serve artifacts has the delivery daemon serve a new endpoint, artifacts (a draft name), which stores the bytes an artifact part references and serves them to readers of the channel they were posted on. An agent uploads the bytes, posts a message referencing their digest, and confirms the attachment by that post's sequence, which the new multicastWithAck returns. Readers list a channel's artifacts and fetch them, and the client checks every fetched byte against the digest. Only agents minted with the new capability token artifacts can call it; no existing credential changes. An attachment lasts 14 days unless pinned, and the daemon removes bytes nothing attaches.

    The choice to serve is recorded, so a restart, repair or resume keeps serving. The store is left out of a backup and comes back empty after a restore, and a space delete removes it. @cotal-ai/core adds putArtifact, fetchArtifact, listArtifacts, confirmAttach, pinArtifact and multicastWithAck. See the artifacts page and SPEC §13.23.

  • Hosted MCP clients can choose a space when connecting if their gateway supports and approves connections to that space.

  • When you are signed in to Cotal Cloud through both the old and the current address, a space that belongs to another provider is no longer mistaken for one of your own moved spaces. Before, if this computer's saved record for such a space already named your current Cloud account, the old address's account stopped reporting that the space couldn't be used from here. Now that report is skipped only when the space's own registration is yours too.

  • cotal daemon status --space <name> now exits 2 when the background service does not host that Manager and explains where to look next. Both forms of status report DEPENDENCY_UNAVAILABLE with the path and recovery advice when the service cannot read its registrations. Status-only diagnostics that name private spaces or paths stay out of telemetry.

  • Let cotal update finish when it cannot find claude and show how to refresh a stale Claude Code plugin in cotal status.

  • Keep the fresh spawn preview smoke test isolated from Cotal projects above its temporary directory.

  • Run cotal update --self --plain for line-oriented update progress, and see in help which update modes support JSON.

  • Run the daemon and hosted connector seeding smoke tests without requiring an installed agent application.

  • A failed self-update restores the previous release without stopping running agents, and retries automatically when a launch delays restoration.

  • Document and verify that cotal manager install --dry-run points to the read-only service inventory after cotal down.

  • Wait for approval before installing a service during cotal daemon setup without --space, so cancelled or expired sign-in leaves no new service and account setup can be retried.

  • GitHub keeps the previous release marked Latest until all six desktop installers and the app update feed are available on the new release.

  • A web page can now read an agent's own endpoint with no Node code: @cotal-ai/core/agent-contract carries its command names, bounds, types, closed schemas, the AG-UI frame kind and the event channel helpers, and agentPromptDigestAsync recomputes a prompt digest with Web Crypto, equal to agentPromptDigest. agentBrowserContractSource() gives a host's build the agent cluster for generateBrowserContracts, as managerBrowserContractSource() does for the Manager. A principal-route call whose request is larger than the connection's max_payload now throws resource-exhausted, not-executed, before anything is sent, with an ai.cotal.ep.request-size detail giving the request's bytes and the limit; before, the NATS client threw a plain error after the reply read was open. The agent cluster's schemas and digests are unchanged.

  • A tool call can now carry a view on the payload rail: cotal.view on its TOOL_CALL_ARGS event gives its kind, title, file locations and edits, so a client can draw the call without knowing the harness. Core exports the closed ToolView type with toolViewDefect and isToolView, also from @cotal-ai/core/agent-contract, and spec/cotal.schema.json defines it. The emitter keeps a view only on the arguments it describes, drops one that fails the shape, drops every view before it cuts a payload that does not fit, and never publishes a view on the event channel, so an oversized view never stops a seat's events. @cotal-ai/connector-core also exports the builders a connector's mapper uses to make a view from one call's arguments.

  • Fix the presence-render check by distinguishing broker storage details from peer presence.

  • Opening an agent in an ACP client with /open or a session import now shows its earlier messages even when its tool inputs and results cannot be read; the thread shows those tool calls by name and status and says why. Before, the whole replay failed. The space reads cotal acp uses now live in @cotal-ai/workspace/owner-session, so other clients can open a space as the owner of its agents without importing the ACP package, and a launch through it can pass connector launch options.

  • A Claude Code seat now publishes a view with the arguments of its file, shell, search and web tool calls (Bash, Read, Write, Edit, MultiEdit, NotebookEdit, Glob, Grep, LS, WebFetch, WebSearch, ExitPlanMode), so a client shows the command, the file and the edit's diff without knowing Claude Code's tools. To-do and task tools and MCP tools carry no view.

  • A Codex seat now publishes a view with the arguments of its shell, patch and image calls (exec_command, shell_command, shell, write_stdin, apply_patch, view_image), in direct calls and in calls a code mode script makes, so a client shows the command and each file's diff without knowing Codex's tools. update_plan and MCP tools carry no view.

  • Explain how to recover when a file blocks the local Codex marketplace path. Keep the file and existing plugin unchanged.

  • A Hermes seat now publishes a view with the arguments of its terminal, file, patch, search and web tool calls, so a client shows the command, the file and each edit's diff without knowing Hermes's tools. todo and MCP tools carry no view.

  • A Jcode seat now publishes a view with the arguments of its shell, file, patch, search and web tool calls, so a client shows the command, the file and each edit's diff without knowing Jcode's tools. todo and MCP tools carry no view.

  • An OpenCode seat, 1.x and 2.x, now publishes a view with the arguments of its shell, file, patch, search and web tool calls, so a client shows the command, the file and each edit's diff without knowing OpenCode's tools. todowrite and MCP tools carry no view.

  • A pi seat now publishes a view with the arguments of its built-in tool calls (bash, read, write, edit, grep, find, ls), so a client shows the command, the file and each edit's diff without knowing pi's tools. Tools an extension adds carry no view.

  • An ACP client thread now draws a tool call from the view the agent publishes with its arguments: its kind, title, files and diffs, also for a tool the thread has no table for. A call with no view, from an agent on an older Cotal or replayed from before views, and the to-do and task tools are drawn as before.

  • Explain when npm finishes without installing an extension's files. Keep the previous installation unchanged and point to the npm settings that can skip installing files.

  • Keep the local daemon endpoint path out of telemetry when no daemon answers. Retain the refusal code and the full local recovery advice.

  • An offline cotal update --self restores missing or damaged bundled connectors from the shipped payloads and repairs missing or empty first-party runtime entries at the running version from npm's cache.

  • Refuse a send before publishing when the destination JetStream stream is confirmed to have publish acknowledgements disabled. Explain how to enable acknowledgements and keep unknown publish outcomes unchanged.

  • Report when an unreadable mesh registry prevents update from checking Manager continuity. Keep the registry path and local diagnostic out of telemetry.

  • Keep other extension changes from overlapping the registry version check in cotal update.

  • Make the component health smoke test wait for a delivery lease so slow startup does not cause a false failure.

  • Explain how to correct an invalid JSON value when answering or amending a workflow checkpoint. Keep the original target and options, and leave validation unchanged.

What's Changed

Full Changelog: v0.186.0...v0.187.0