Skip to content

v0.177.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 25 Nov 01:26
291b9ba

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

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

What changed

  • A launcher can now list the commands and skills a harness offers in a directory before any agent starts, and start an agent with one of them as its first turn.
  • The local workflow list on an open mesh keeps the journal shortcut and suggests offline simulation instead of starting a hosted run.
  • Self-update uses the compatible Node.js that asdf selects for the current project, including when a symlink points to a version-named executable, and keeps using it for npm during connector reconciliation.
  • Self-update can run npm when a relative PATH entry points to the only Node executable and its directory name contains a colon.
  • When cotal update --self makes an owned node_modules directory writable, it removes abandoned installation staging in the same run.
  • Report a missing persona name, not a missing closing fence, when the frontmatter is empty.
  • A damaged extension manifest no longer blocks update preferences or cotal ext root, and cotal ext list --json reports the damage with repair guidance.
  • Cotal identifies files blocking local space roots and explains how to restore the project or clear its stale registration without touching the file.
  • Keep extensions such as ACP available when you run your first cotal ext seed after installing them.
  • Keep cotal who --server on the running project's open space when its local registration is missing and the address matches its recorded broker.
  • Report a permission refusal when a connection using an explicit credential cannot check the project's authentication mode.
  • Self-update keeps the new CLI version when it skips a Claude integration owned by another Cotal home.
  • When a broker address matches multiple registered spaces, cotal history reads and cotal ps print a retry command for each space.
  • Keep an explicitly selected IPv4 bind address in the suggested broker URL when up refuses an invalid server address.
  • When the first broker start preview refuses --foreground, it tells you to remove that flag and keep --dry-run and the rest of the command.
  • Report an active startup when checking a prepared space with cotal status --space from another directory.
  • Keep --plain in the confirmation command suggested by cotal channel remove.
  • When cotal config set or cotal config unset already has all its arguments, tell the caller to drop an unknown option rather than move it after --.
  • The empty console space picker points to cotal up for a local mesh without asking users to add demo personas.
  • Tell users to omit a pasted --file option from cotal endpoint check instead of suggesting a spelling the command does not accept.
  • When cotal endpoint check refuses a scaffold directory, its retry command keeps the requested JSON or plain output.
  • When cotal ext root receives an unknown option, tell the caller to drop it instead of suggesting --.
  • JSON history and channel membership followers report invalid switches in the follow stream regardless of switch order.
  • Keep --json or --plain in the command suggested for retrying a foreground manifest preview.
  • When COTAL_HOME points to a file, watch, history --follow, and channel members --follow now write an error record and an end record in JSON mode.
  • When --no-input or --no-color is given a value, the CLI explains how to retry without one.
  • cotal join refusals that suggest a mint command for a dash-prefixed channel now attach the channel to its grant option, so the printed command pastes and runs as issued.
  • Keep the selected deployment file or run when suggesting how to retry a legacy teardown without an unsupported output format.
  • When a Manager restart preview finds no Manager, suggest previewing the first start in the same space and keep the requested output format.
  • Keep --json or --plain in the suggested cotal status retry when a named agent read is given an invalid manager selector.
  • Self-update identifies a refused proxy configured in npm instead of reporting a registry outage.
  • Keep --foreground and --no-manager in the suggested restart when another program holds the recorded broker port.
  • Keep the requested JSON or plain output format in the retry command when an imported persona's name does not match its catalog name.
  • Stop suggesting a persona create that the catalog would refuse when a mismatched import names an existing persona.
  • Usage errors under --plain keep their help text free of color even when FORCE_COLOR is set.
  • Show the same repair as cotal up in doctor auth, status, and ps when a prepared space's .cotal directory blocks startup.
  • Keep and name changed persona drafts when an editor launched directly by path exits with status 126 or 127.
  • When a restore target overlaps the preserved store, Cotal confirms that no restore started and asks for a new store path outside it.
  • Distinguish a missing or unreadable manifest from invalid contents when previewing a retained local stack.
  • When a reset refuses a linked store path, suggest restoring the space's original store directory before previewing again.
  • Self-update repairs installed first-party extensions with empty entry files even when the CLI is already current.
  • When a send destination is empty, tell the caller to correct it in the original command so a file or stdin body, target and output format are retained.
  • Show the selected preset's required flags in cotal help -- service add <name> --preset <preset>.
  • When cotal service status or cotal service logs refuses an unknown instance ID for a saved service, it names the service and requested ID and shows how to list the full IDs in that space.
  • When a service has no recorded instance, a restart preview suggests a start preview in the same output format instead of an actual start.
  • When a direct spawn or preview refuses an unsupported model variant, it tells you which command option or persona field to remove.
  • Keep the space and explicit broker in the attach command printed for a starting agent so it works even when another space is selected.
  • When cotal status refuses --creds for an infrastructure report, its retry instructions keep the requested target and output format.
  • Name the stopped space that reserves a prepared stack's requested broker address and suggest a retry that keeps the original startup options.
  • When a team removal preview needs a stack restart, the retry command keeps the space, dry-run flag, and output format.
  • Point interrupted broker recovery at the project that owns the broker.
  • Registry restores with no previous store now tell you how to retire the restore journal without discarding history or deleting a store.
  • Managed spawn reports when the manager cannot read a persona and tells you which file and directory permissions to check.
  • cotal supervise tells you to remove or repair an invalid saved seat-cap record before restarting the manager.
  • Keep the broker selection and output format when a hosted journal read finds no record and suggests listing runs.
  • When a local workflow resume has a malformed run ID, show how to list runs on the same target without a Manager.
  • When a workflow simulation refuses an invalid clock start or duration, it names the results file and shows how to correct the value.
  • Keep --json in the retry command when a workflow simulation needs a missing scripted result.
Every change in full
  • A launcher can now list the commands and skills a harness offers in a directory before any agent starts, and start an agent with one of them as its first turn. The Manager's new harness-commands read ({ agent, cwd }) asks Claude Code, Codex, pi or OpenCode 2.x in that directory and answers the entries a seat's command takes, or supported: false with a reason for a harness whose seats run no commands; it starts no seat and is granted where list-dir is. spawn takes firstCommand: { target, name, args? } and its acceptance names firstCommand.id. The agent queues the command under that id before any other and runs it as its first turn through its own command lane once the harness runs commands, and command-state reports a refusal. The Manager cluster advances to revision 54.
  • The local workflow list on an open mesh keeps the journal shortcut and suggests offline simulation instead of starting a hosted run.
  • Self-update uses the compatible Node.js that asdf selects for the current project, including when a symlink points to a version-named executable, and keeps using it for npm during connector reconciliation.
  • Self-update can run npm when a relative PATH entry points to the only Node executable and its directory name contains a colon.
  • When cotal update --self makes an owned node_modules directory writable, it removes abandoned installation staging in the same run.
  • Report a missing persona name, not a missing closing fence, when the frontmatter is empty.
  • A damaged extension manifest no longer blocks update preferences or cotal ext root, and cotal ext list --json reports the damage with repair guidance.
  • Cotal identifies files blocking local space roots and explains how to restore the project or clear its stale registration without touching the file.
  • Keep extensions such as ACP available when you run your first cotal ext seed after installing them.
  • Keep cotal who --server on the running project's open space when its local registration is missing and the address matches its recorded broker.
  • Report a permission refusal when a connection using an explicit credential cannot check the project's authentication mode. The connection still stops before using the credential.
  • Self-update keeps the new CLI version when it skips a Claude integration owned by another Cotal home.
  • When a broker address matches multiple registered spaces, cotal history reads and cotal ps print a retry command for each space.
  • Keep an explicitly selected IPv4 bind address in the suggested broker URL when up refuses an invalid server address. A wildcard bind still gets a loopback example.
  • When the first broker start preview refuses --foreground, it tells you to remove that flag and keep --dry-run and the rest of the command.
  • Report an active startup when checking a prepared space with cotal status --space from another directory.
  • Keep --plain in the confirmation command suggested by cotal channel remove.
  • When cotal config set or cotal config unset already has all its arguments, tell the caller to drop an unknown option rather than move it after --.
  • The empty console space picker points to cotal up for a local mesh without asking users to add demo personas.
  • Tell users to omit a pasted --file option from cotal endpoint check instead of suggesting a spelling the command does not accept.
  • When cotal endpoint check refuses a scaffold directory, its retry command keeps the requested JSON or plain output.
  • When cotal ext root receives an unknown option, tell the caller to drop it instead of suggesting --.
  • JSON history and channel membership followers report invalid switches in the follow stream regardless of switch order.
  • Keep --json or --plain in the command suggested for retrying a foreground manifest preview.
  • When COTAL_HOME points to a file, watch, history --follow, and channel members --follow now write an error record and an end record in JSON mode.
  • When --no-input or --no-color is given a value, the CLI explains how to retry without one.
  • cotal join refusals that suggest a mint command for a dash-prefixed channel now attach the channel to its grant option, so the printed command pastes and runs as issued. A space-separated --allow-subscribe -general reads the value as another option and auth mint refuses it, so the suggestion attaches it as --allow-subscribe=-general; plain channels keep the spaced spelling.
  • Keep the selected deployment file or run when suggesting how to retry a legacy teardown without an unsupported output format.
  • When a Manager restart preview finds no Manager, suggest previewing the first start in the same space and keep the requested output format.
  • Keep --json or --plain in the suggested cotal status retry when a named agent read is given an invalid manager selector.
  • Self-update identifies a refused proxy configured in npm instead of reporting a registry outage.
  • Keep --foreground and --no-manager in the suggested restart when another program holds the recorded broker port.
  • Keep the requested JSON or plain output format in the retry command when an imported persona's name does not match its catalog name.
  • Stop suggesting a persona create that the catalog would refuse when a mismatched import names an existing persona.
  • Usage errors under --plain keep their help text free of color even when FORCE_COLOR is set.
  • Show the same repair as cotal up in doctor auth, status, and ps when a prepared space's .cotal directory blocks startup.
  • Keep and name changed persona drafts when an editor launched directly by path exits with status 126 or 127.
  • When a restore target overlaps the preserved store, Cotal confirms that no restore started and asks for a new store path outside it.
  • Distinguish a missing or unreadable manifest from invalid contents when previewing a retained local stack. If the manifest path names a directory, the preview explains how to select the file.
  • When a reset refuses a linked store path, suggest restoring the space's original store directory before previewing again. The link's destination may no longer exist.
  • Self-update repairs installed first-party extensions with empty entry files even when the CLI is already current.
  • When a send destination is empty, tell the caller to correct it in the original command so a file or stdin body, target and output format are retained.
  • Show the selected preset's required flags in cotal help -- service add <name> --preset <preset>.
  • When cotal service status or cotal service logs refuses an unknown instance ID for a saved service, it names the service and requested ID and shows how to list the full IDs in that space.
  • When a service has no recorded instance, a restart preview suggests a start preview in the same output format instead of an actual start.
  • When a direct spawn or preview refuses an unsupported model variant, it tells you which command option or persona field to remove.
  • Keep the space and explicit broker in the attach command printed for a starting agent so it works even when another space is selected.
  • When cotal status refuses --creds for an infrastructure report, its retry instructions keep the requested target and output format.
  • Name the stopped space that reserves a prepared stack's requested broker address and suggest a retry that keeps the original startup options.
  • When a team removal preview needs a stack restart, the retry command keeps the space, dry-run flag, and output format.
  • Point interrupted broker recovery at the project that owns the broker. When startup uses --root from another folder and stops before registering the space, both the interrupt notice and the next startup refusal give a stop command for that project.
  • Registry restores with no previous store now tell you how to retire the restore journal without discarding history or deleting a store.
  • Managed spawn reports when the manager cannot read a persona and tells you which file and directory permissions to check.
  • cotal supervise tells you to remove or repair an invalid saved seat-cap record before restarting the manager.
  • Keep the broker selection and output format when a hosted journal read finds no record and suggests listing runs. A journal row limit stays on the subsequent read.
  • When a local workflow resume has a malformed run ID, show how to list runs on the same target without a Manager.
  • When a workflow simulation refuses an invalid clock start or duration, it names the results file and shows how to correct the value.
  • Keep --json in the retry command when a workflow simulation needs a missing scripted result.

What's Changed

New Contributors

Full Changelog: v0.176.6...v0.177.0