Skip to content

v0.181.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 26 Nov 00:08
6b95bf9

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

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

What changed

  • In ACP clients such as T3 Code, choosing another model or reasoning level on a running thread now switches its agent from the next turn, with no /despawn.
  • An ACP thread is now titled with the name its agent shows, and in T3 Code a title you give the thread becomes the agent's label.
  • Workflow runs can pin separate effect budgets for spawns, turns and other effect kinds.
  • When a broker start preview needs more options, the retry tells you to remove --new-instance and keep the preview and output flags.
  • The CLI flag inventory test now checks that --idle-exit is a string option for service starts and the manager service process.
  • Remove the unsupported --creds flag from the cotal input reference table.
  • The attach and stop commands suggested by cotal ps now target the mesh it listed instead of your default mesh.
  • The scripted self-hosted setup example now creates the required project folder before running setup.
  • Keep read-only history follows out of the channel membership list without changing which posts they receive.
  • Keep the partial status report and show how to restore access when the selected project's broker PID file cannot be read because of permissions.
  • ACP threads now start the agent on a model named default when the application lists one, and /open updates the client's model list.
  • cotal acp now recognises a manager service that an older release started on this machine, so a new thread uses it instead of failing to start a second one.
  • When an agent's turn fails in an ACP client such as T3 Code, the error now shows the application's own message and error kind, such as Codex's usage limit, in place of "run failed".
  • Preserve the requested broker address in the retry instructions for a foreground manifest start.
  • cotal channel set points to --desc when you type --description and no longer suggests passing unknown options as extra channel names.
  • Show the missing target of a broken persona link in cotal personas list and explain how to fix it.
  • cotal doctor auth explains how to restore a credential export whose recorded path is a symbolic link.
  • cotal down no longer tells you to run it from inside a regular file when the space's recorded project root is no longer a folder; it names that path and asks you to move it aside and restore the original project folder first.
  • cotal history clear --dry-run now previews a space that was started directly with cotal up --foreground and then stopped, using the broker address its project retains, instead of refusing until the space is restarted.
  • history limit tells you to drop an unknown option instead of moving it after --.
  • Keep --json or --plain in the retry command printed when terminal input needs a different manager pin.
  • Keep the requested JSON refusal when a leading output flag has an attached value, and tell callers how to correct the flag.
  • Keep extension command collision warnings uncolored with --plain, even when FORCE_COLOR is set.
  • Keep --plain in both the preview and confirmation commands suggested by cotal reset store.
  • When a file blocks a prepared space's .cotal directory, status and ps name the file and explain how to restore the directory.
  • Recover a stopped local broker with cotal up without restarting its read-only web dashboard or losing the current browser session.
  • Flag persona filenames with backslashes as unusable catalog selectors and show how to launch them by file path.
  • When foreground startup finds a running legacy broker, return a lifecycle refusal.
  • cotal send -c <channel> --reply-to <message-id> stores the channel post with replyTo, as a direct send already does.
  • Keep the intended channel and replay setting in the suggested retry when --replay off comes before the channel name.
  • When run check or run revoke --local gets a malformed run ID, it points to the local run list on the same target instead of a manager-only lookup.
  • List workflows on a broker-only open mesh without asking for a manager, and point to the local inventory and offline simulation.
Every change in full
  • In ACP clients such as T3 Code, choosing another model or reasoning level on a running thread now switches its agent from the next turn, with no /despawn.

    • The agent endpoint advances to revision 6 with the owner-only set-model, and presence agentEndpoint gains setModel. Reconnect clients after the auth callout is updated, so their sign-in carries the new command.
    • Codex switches with thread/settings/update, OpenCode with the model each prompt carries (1.x) or its session model route (2.x), pi 0.84.3 or later with its session setters, Jcode with its model and effort calls, and Claude Code through its command mod for later turns of the session alone. Each checks the model against its own list first. Hermes does not switch yet, and the thread says to use /despawn.
    • A Manager keeps the switch and restarts or resumes the agent on it.
    • An agent whose role modelPolicy governs refuses every switch, since the policy is checked only at launch.
  • An ACP thread is now titled with the name its agent shows, and in T3 Code a title you give the thread becomes the agent's label. The agent endpoint advances to revision 7 with the owner-only set-label, which sets the label an agent shows in place of its name (meta["ai.cotal.label"]) and leaves the name that mentions and direct messages use. It refuses a label that breaks the rule a label from the first message follows: the shared name rule, at most 40 characters and single spaces between words. A set-label while the agent labels itself from its first message ends that naming, and the owner's label stays. cotal acp sends ACP session_info_update with the title when a thread starts, loads or opens its agent, and again whenever the agent's presence shows another name. Where the client lists a thread server in mcpServers, found by its t3_thread_configure, t3_thread_read and t3_thread_update tools as T3 Code's t3-code server offers them, the bridge sets the client's title there too. When a thread loads and at the start of each prompt it reads that title, and one the person changed since the bridge last set or read it becomes the agent's label. The bridge stores that last title with the thread's link, so a new bridge can tell a title the person gave the thread from a name the agent took elsewhere. It starts each MCP server the client passes once per process to list its tools, with only the environment the client gave, and keeps open only a thread server. A failed read or a refused label is said in the thread, and the prompt runs. The session list and /open read the agent's label as well.

  • Workflow runs can pin separate effect budgets for spawns, turns and other effect kinds.

    The optional ceilings record is saved with the run pins, checked on resume and enforced from the journal across restarts. Existing records retain their total-only ceiling. A per-kind refusal names its limit with L4029 before dispatch, without consuming another kind's allowance.

  • When a broker start preview needs more options, the retry tells you to remove --new-instance and keep the preview and output flags.

  • The CLI flag inventory test now checks that --idle-exit is a string option for service starts and the manager service process.

  • Remove the unsupported --creds flag from the cotal input reference table.

  • The attach and stop commands suggested by cotal ps now target the mesh it listed instead of your default mesh.

  • The scripted self-hosted setup example now creates the required project folder before running setup.

  • Keep read-only history follows out of the channel membership list without changing which posts they receive.

  • Keep the partial status report and show how to restore access when the selected project's broker PID file cannot be read because of permissions.

  • ACP threads now start the agent on a model named default when the application lists one, and /open updates the client's model list. Choosing <application>/default spawns the agent with model: "default" and the chosen reasoning when the application's catalog lists a model with that id, as a custom Hermes endpoint can; otherwise the spawn still names no model and the application picks its own. After /open, the client gets the opened agent's options in a config_option_update, as it does when an option changes.

  • cotal acp now recognises a manager service that an older release started on this machine, so a new thread uses it instead of failing to start a second one. A manager from before 0.180 names no machine, so when no listed manager names this machine the bridge reads cotal manager status for the space and takes the listed manager with the native instance that this machine's service record runs.

  • When an agent's turn fails in an ACP client such as T3 Code, the error now shows the application's own message and error kind, such as Codex's usage limit, in place of "run failed". The bridge reads the text and kind from the agent's presence condition, waiting up to 2 seconds for it after the run fails, because the run error on the event channel carries only the fixed text run failed. The prompt's error reads <agent>'s turn failed: <message> (<kind>), without the Internal error: prefix, and its data.condition holds the condition's code, source and message. A condition the agent showed before the prompt, or one that waits on an approval or an input, is not taken as the reason. With no condition the error still says the turn failed.

  • Preserve the requested broker address in the retry instructions for a foreground manifest start.

  • cotal channel set points to --desc when you type --description and no longer suggests passing unknown options as extra channel names.

  • Show the missing target of a broken persona link in cotal personas list and explain how to fix it.

  • cotal doctor auth explains how to restore a credential export whose recorded path is a symbolic link.

  • cotal down no longer tells you to run it from inside a regular file when the space's recorded project root is no longer a folder; it names that path and asks you to move it aside and restore the original project folder first.

  • cotal history clear --dry-run now previews a space that was started directly with cotal up --foreground and then stopped, using the broker address its project retains, instead of refusing until the space is restarted. A confirmed clear of that stopped space is still refused.

  • history limit tells you to drop an unknown option instead of moving it after --.

  • Keep --json or --plain in the retry command printed when terminal input needs a different manager pin.

  • Keep the requested JSON refusal when a leading output flag has an attached value, and tell callers how to correct the flag.

  • Keep extension command collision warnings uncolored with --plain, even when FORCE_COLOR is set.

  • Keep --plain in both the preview and confirmation commands suggested by cotal reset store.

  • When a file blocks a prepared space's .cotal directory, status and ps name the file and explain how to restore the directory.

  • Recover a stopped local broker with cotal up without restarting its read-only web dashboard or losing the current browser session.

  • Flag persona filenames with backslashes as unusable catalog selectors and show how to launch them by file path.

  • When foreground startup finds a running legacy broker, return a lifecycle refusal. Identify where to stop the broker and keep the original foreground request for the retry.

  • cotal send -c <channel> --reply-to <message-id> stores the channel post with replyTo, as a direct send already does. A role send still refuses --reply-to.

  • Keep the intended channel and replay setting in the suggested retry when --replay off comes before the channel name.

  • When run check or run revoke --local gets a malformed run ID, it points to the local run list on the same target instead of a manager-only lookup.

  • List workflows on a broker-only open mesh without asking for a manager, and point to the local inventory and offline simulation.

What's Changed

New Contributors

Full Changelog: v0.180.0...v0.181.0