Skip to content

v0.178.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 25 Nov 11:39
bcad8a0

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

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

What changed

  • Claude Code agents can now be launched at a chosen effort level, and the Claude model list tells its aliases apart.
  • cotal models --harness jcode now lists the models your Jcode can use, including on a default install with no config.toml.
  • pi agents can now be launched at a chosen thinking level.
  • When cotal backup create refuses a destination in the maintenance attempt directory, it tells you to choose a destination outside it instead of suggesting cut recovery.
  • Reject combining --dry-run and --yes on backup recover and backup cleanup-fallback before looking up the attempt.
  • The shutdown reference now explains that cotal down --space accepts the matching space for a controller stack in its project folder, while a legacy pidfile sweep still requires omitting the flag.
  • Starting a hosted workflow on an open mesh points to offline simulation or a static-auth mesh instead of suggesting that you start a manager.
  • Point unknown manifest key errors at the written key when its value starts on another line.
  • When an npm registry fetch times out during self-update staging, Cotal keeps the previous version installed and tells you to retry when the registry responds.
  • On OpenCode 2.x, cotal models --harness opencode lists every model instead of an empty list, and a pinned model is checked against the server's complete list.
  • When cotal service remove asks you to retry with --yes, the printed command keeps --plain so the removal receipt stays uncolored.
  • The scripted local setup example now creates the required project folder before running setup.
  • service add <name>, service list, and manager lifecycle commands such as manager status tell you to drop an unknown option instead of moving it after --.
  • When cotal doctor auth cannot read an exported credential's claims, it advises restoring the file or confirming the intended grants before minting a replacement to a new private path.
  • Starting a manager with a malformed roster leaves its saved definition unchanged, and the dry run shows why the start would fail.
  • Backup fallback cleanup drops --discard-history for a newer store only when restore verifies that it holds no additional backed-up state.
  • When an extension needs an export missing from a peer with the same version, identify the import and linked peer without assuming that reinstalling the CLI will fix it.
  • When a symbolic link blocks auth mint --out, the suggested physical path stays together as one shell argument, even if it contains spaces.
  • Status names the owning Cotal home and its choices when the shared Claude profile's marketplace belongs to another home, instead of recommending cotal setup --skills, and no longer prints equal skills versions as a mismatch.
  • Reset previews explain how to complete a stop for an adopted store instead of saying the store does not exist.
  • Compact cotal status shows when cross-vendor agent skills need repair, even if no agent application is set up.
  • Previewing a controller broker restart now suggests a read-only whole-stack stop preview in the requested output format.
  • cotal doctor auth tells you how to restore a prepared space's .cotal directory before startup when a regular file occupies its place.
  • Keep stack records when cotal down cannot access the project folder, and tell the user to restore access.
  • Report retained extension command collisions in built-in JSON receipts instead of writing the warning to stderr.
  • Foreground manifest preview advice explains how to keep the broker address you passed with --server.
  • Keep the explicit broker address in the attach and status commands printed after an agent joins.
  • Show the broker preset's complete options when service start broker refuses a malformed leading global flag.
  • Read preferences and shell completion status even when the extension inventory is damaged, and report a JSON refusal if a harness from the environment still needs that inventory for validation.
  • Keep the selected space and broker in the Manager lookup suggested by stop, attach, input and named status when the pin is empty or is a roster principal ID.
  • When a file occupies a stopped stack's original project path, cotal down reports that it left the file untouched and explains how to restore the project folder.
  • Keep the default usage error format when a file named --plain is passed after --.
  • Keep the requested JSON refusal when multiple leading global switches are given attached values.
  • Restore the delivery daemon when cotal up replaces a crashed broker in a static-auth stack.
  • Restart a stopped restored stack with bare cotal up without repeating --store-dir or retiring its restore journal.
  • When cotal space forget refuses to forget a running stack outside a terminal, it shows how to confirm the stop with cotal down --yes.
  • Manager log tails now report TARGET_NOT_FOUND when the captured log is missing.
  • Keep the selected identity provider in the suggested retry when a space catalog refresh fails.
  • When endpoint describe or invoke refuses an invalid instance ID, keep the Manager lookup on the selected space and broker.
  • Cotal self-update works when the installation runs on a version-named Node executable and node is absent from PATH.
  • Keep --verbose in suggested cotal send retries so the receipt still shows the sending principal and sender kind.
  • Show preset options in cotal help -- service start when the command includes startup flags.
  • Fix cotal status so it reports the same default persona application as cotal spawn when the catalog name ends in .md.
  • Show wait guidance instead of store reset or settlement advice when cotal status sees a verified open stack restart in its project.
  • Show how to repair .cotal directory permissions in status and ps when they prevent a stopped local stack from restarting.
  • Explain why cotal up --root cannot use a path a file occupies or this account cannot enter, with the step that restores the project folder or its access, instead of suggesting to prepare that path.
  • Report missing or blank --space values as null in JSON setup refusals from watch, history --follow, and channel members --follow.
  • If a local workflow answer or amendment has a malformed run ID, the CLI points you to the local run list for the same target and tells you to replace only the ID.
  • Keep --plain in the retry command printed when a workflow simulation needs a scripted result.
  • When a simulation results file has an unknown top-level key, name the file and explain how to correct the key.
Every change in full
  • Claude Code agents can now be launched at a chosen effort level, and the Claude model list tells its aliases apart. --variant <level> renders Claude's --effort flag, an unknown level is refused before launch, and cotal models --harness claude lists each model's effort levels as variants and names an alias with the model it resolves to, such as Opus 5.5 (claude-opus-5-5).
  • cotal models --harness jcode now lists the models your Jcode can use, including on a default install with no config.toml. The catalog runs jcode model list --json and keeps each model that Jcode reports with an available route. It no longer reads model_catalog or reasoning_efforts from Jcode's config.toml, and it lists no effort variants, because Jcode reports none per model. --variant still sets the effort at launch, and a seat still stops before its first turn when Jcode rejects that effort.
  • pi agents can now be launched at a chosen thinking level. --variant <level> renders pi's --thinking flag, a level that is not one of pi's own is refused before launch, and cotal models --harness pi lists each model's thinking levels as its variants. The model list now needs pi 0.81.0 or later; with an older pi it is unavailable and names the command pi refused.
  • When cotal backup create refuses a destination in the maintenance attempt directory, it tells you to choose a destination outside it instead of suggesting cut recovery.
  • Reject combining --dry-run and --yes on backup recover and backup cleanup-fallback before looking up the attempt.
  • The shutdown reference now explains that cotal down --space accepts the matching space for a controller stack in its project folder, while a legacy pidfile sweep still requires omitting the flag.
  • Starting a hosted workflow on an open mesh points to offline simulation or a static-auth mesh instead of suggesting that you start a manager.
  • Point unknown manifest key errors at the written key when its value starts on another line.
  • When an npm registry fetch times out during self-update staging, Cotal keeps the previous version installed and tells you to retry when the registry responds.
  • On OpenCode 2.x, cotal models --harness opencode lists every model instead of an empty list, and a pinned model is checked against the server's complete list. OpenCode answers its model list before its plugins have loaded, with nothing or only some providers' models. The catalog now starts a private opencode serve --stdio and the seat's model check reads the list only after GET /api/plugin lists a plugin, as opencode models does. An empty list, or plugins that do not load in time, reports the catalog unavailable with the reason.
  • When cotal service remove asks you to retry with --yes, the printed command keeps --plain so the removal receipt stays uncolored.
  • The scripted local setup example now creates the required project folder before running setup.
  • service add <name>, service list, and manager lifecycle commands such as manager status tell you to drop an unknown option instead of moving it after --.
  • When cotal doctor auth cannot read an exported credential's claims, it advises restoring the file or confirming the intended grants before minting a replacement to a new private path.
  • Starting a manager with a malformed roster leaves its saved definition unchanged, and the dry run shows why the start would fail.
  • Backup fallback cleanup drops --discard-history for a newer store only when restore verifies that it holds no additional backed-up state.
  • When an extension needs an export missing from a peer with the same version, identify the import and linked peer without assuming that reinstalling the CLI will fix it.
  • When a symbolic link blocks auth mint --out, the suggested physical path stays together as one shell argument, even if it contains spaces.
  • Status names the owning Cotal home and its choices when the shared Claude profile's marketplace belongs to another home, instead of recommending cotal setup --skills, and no longer prints equal skills versions as a mismatch.
  • Reset previews explain how to complete a stop for an adopted store instead of saying the store does not exist.
  • Compact cotal status shows when cross-vendor agent skills need repair, even if no agent application is set up.
  • Previewing a controller broker restart now suggests a read-only whole-stack stop preview in the requested output format.
  • cotal doctor auth tells you how to restore a prepared space's .cotal directory before startup when a regular file occupies its place.
  • Keep stack records when cotal down cannot access the project folder, and tell the user to restore access.
  • Report retained extension command collisions in built-in JSON receipts instead of writing the warning to stderr.
  • Foreground manifest preview advice explains how to keep the broker address you passed with --server.
  • Keep the explicit broker address in the attach and status commands printed after an agent joins.
  • Show the broker preset's complete options when service start broker refuses a malformed leading global flag.
  • Read preferences and shell completion status even when the extension inventory is damaged, and report a JSON refusal if a harness from the environment still needs that inventory for validation.
  • Keep the selected space and broker in the Manager lookup suggested by stop, attach, input and named status when the pin is empty or is a roster principal ID.
  • When a file occupies a stopped stack's original project path, cotal down reports that it left the file untouched and explains how to restore the project folder.
  • Keep the default usage error format when a file named --plain is passed after --.
  • Keep the requested JSON refusal when multiple leading global switches are given attached values.
  • Restore the delivery daemon when cotal up replaces a crashed broker in a static-auth stack.
  • Restart a stopped restored stack with bare cotal up without repeating --store-dir or retiring its restore journal.
  • When cotal space forget refuses to forget a running stack outside a terminal, it shows how to confirm the stop with cotal down --yes.
  • Manager log tails now report TARGET_NOT_FOUND when the captured log is missing. Both cotal manager logs and cotal service logs stack-manager name the missing file and still return an empty tail for an existing empty log.
  • Keep the selected identity provider in the suggested retry when a space catalog refresh fails.
  • When endpoint describe or invoke refuses an invalid instance ID, keep the Manager lookup on the selected space and broker. For other endpoints, ask for that endpoint's own instance ID.
  • Cotal self-update works when the installation runs on a version-named Node executable and node is absent from PATH.
  • Keep --verbose in suggested cotal send retries so the receipt still shows the sending principal and sender kind.
  • Show preset options in cotal help -- service start when the command includes startup flags.
  • Fix cotal status so it reports the same default persona application as cotal spawn when the catalog name ends in .md.
  • Show wait guidance instead of store reset or settlement advice when cotal status sees a verified open stack restart in its project.
  • Show how to repair .cotal directory permissions in status and ps when they prevent a stopped local stack from restarting.
  • Explain why cotal up --root cannot use a path a file occupies or this account cannot enter, with the step that restores the project folder or its access, instead of suggesting to prepare that path.
  • Report missing or blank --space values as null in JSON setup refusals from watch, history --follow, and channel members --follow.
  • If a local workflow answer or amendment has a malformed run ID, the CLI points you to the local run list for the same target and tells you to replace only the ID.
  • Keep --plain in the retry command printed when a workflow simulation needs a scripted result.
  • When a simulation results file has an unknown top-level key, name the file and explain how to correct the key.

What's Changed

Full Changelog: v0.177.0...v0.178.0