Repository navigation
v0.177.0
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 --selfmakes an ownednode_modulesdirectory 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, andcotal ext list --jsonreports 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 seedafter installing them. - Keep
cotal who --serveron 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 historyreads andcotal psprint a retry command for each space. - Keep an explicitly selected IPv4 bind address in the suggested broker URL when
uprefuses an invalid server address. - When the first broker start preview refuses
--foreground, it tells you to remove that flag and keep--dry-runand the rest of the command. - Report an active startup when checking a prepared space with
cotal status --spacefrom another directory. - Keep
--plainin the confirmation command suggested bycotal channel remove. - When
cotal config setorcotal config unsetalready 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 upfor a local mesh without asking users to add demo personas. - Tell users to omit a pasted
--fileoption fromcotal endpoint checkinstead of suggesting a spelling the command does not accept. - When
cotal endpoint checkrefuses a scaffold directory, its retry command keeps the requested JSON or plain output. - When
cotal ext rootreceives 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
--jsonor--plainin the command suggested for retrying a foreground manifest preview. - When
COTAL_HOMEpoints to a file,watch,history --follow, andchannel members --follownow write an error record and an end record in JSON mode. - When
--no-inputor--no-coloris given a value, the CLI explains how to retry without one. cotal joinrefusals 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
--jsonor--plainin the suggestedcotal statusretry 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
--foregroundand--no-managerin 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
--plainkeep their help text free of color even whenFORCE_COLORis set. - Show the same repair as
cotal upindoctor auth,status, andpswhen a prepared space's.cotaldirectory 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 statusorcotal service logsrefuses 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 statusrefuses--credsfor 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 supervisetells 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
--jsonin 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-commandsread ({ agent, cwd }) asks Claude Code, Codex, pi or OpenCode 2.x in that directory and answers the entries a seat'scommandtakes, orsupported: falsewith a reason for a harness whose seats run no commands; it starts no seat and is granted wherelist-diris.spawntakesfirstCommand: { target, name, args? }and its acceptance namesfirstCommand.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, andcommand-statereports 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 --selfmakes an ownednode_modulesdirectory 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, andcotal ext list --jsonreports 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 seedafter installing them. - Keep
cotal who --serveron 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 historyreads andcotal psprint a retry command for each space. - Keep an explicitly selected IPv4 bind address in the suggested broker URL when
uprefuses 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-runand the rest of the command. - Report an active startup when checking a prepared space with
cotal status --spacefrom another directory. - Keep
--plainin the confirmation command suggested bycotal channel remove. - When
cotal config setorcotal config unsetalready 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 upfor a local mesh without asking users to add demo personas. - Tell users to omit a pasted
--fileoption fromcotal endpoint checkinstead of suggesting a spelling the command does not accept. - When
cotal endpoint checkrefuses a scaffold directory, its retry command keeps the requested JSON or plain output. - When
cotal ext rootreceives 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
--jsonor--plainin the command suggested for retrying a foreground manifest preview. - When
COTAL_HOMEpoints to a file,watch,history --follow, andchannel members --follownow write an error record and an end record in JSON mode. - When
--no-inputor--no-coloris given a value, the CLI explains how to retry without one. cotal joinrefusals 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 -generalreads the value as another option andauth mintrefuses 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
--jsonor--plainin the suggestedcotal statusretry 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
--foregroundand--no-managerin 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
--plainkeep their help text free of color even whenFORCE_COLORis set. - Show the same repair as
cotal upindoctor auth,status, andpswhen a prepared space's.cotaldirectory 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 statusorcotal service logsrefuses 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 statusrefuses--credsfor 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
--rootfrom 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 supervisetells 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
--jsonin the retry command when a workflow simulation needs a missing scripted result.
What's Changed
- fix(cli): explain values on global switches by @davidfarah-dev in #9919
- fix(manager): explain denied persona access on managed spawn by @davidfarah-dev in #9920
- fix(cli): clarify broker foreground preview retry by @davidfarah-dev in #9921
- fix(cli): identify the source of unsupported spawn variants by @davidfarah-dev in #9923
- fix(cli): preserve foreground manifest preview output by @davidfarah-dev in #9925
- fix(cli): preserve startup flags in occupied broker retry by @davidfarah-dev in #9928
- fix(cli): run self-update npm from colon paths by @davidfarah-dev in #9900
- fix(cli): clean staging after self-update permission repair by @davidfarah-dev in #9906
- fix(cli): name the refused npm-configured proxy during self-update by @davidfarah-dev in #9894
- fix(workspace): classify denied local auth mode checks by @davidfarah-dev in #9959
- feat(manager): list harness commands before launch and run a spawn's first command by @Manas-Kenge in #9883
- fix(cli): report prepared space startup permissions by @davidfarah-dev in #9917
- fix(cli): frame invalid Cotal home errors in JSON streams by @davidfarah-dev in #9956
- test(cli): guard the missing web stop preview by @davidfarah-dev in #9958
- fix(cli): correct unknown-option advice for config unset by @davidfarah-dev in #9960
- fix(cli): keep extension diagnostics available with corrupt inventory by @davidfarah-dev in #9961
- fix(cli): skip foreign Claude refresh during self-update by @davidfarah-dev in #9979
- fix(cli): omit the conflicting create from occupied persona import retries by @Huyvux12 in #9929
- fix(cli): keep mint remedies pasteable for dash-prefixed join channels by @draarivpatel-ui in #9977
- fix(cli): show required flags in service add preset help by @davidfarah-dev in #9966
- fix(cli): preserve status arguments in credential refusal guidance by @davidfarah-dev in #9974
- fix(cli): preserve output mode in endpoint check retries by @davidfarah-dev in #10024
- fix(cli): point interrupted broker recovery at its owning project by @davidfarah-dev in #10029
- fix(cli): repair empty extension entries during self-update by @davidfarah-dev in #10031
- fix(cli): identify missing saved service instances by @davidfarah-dev in #10033
- fix(cli): keep service restart remedies in preview mode by @davidfarah-dev in #9996
- fix(persona): report missing name in empty frontmatter by @davidfarah-dev in #9997
- fix(cli): preserve drafts when a direct editor exits 126 or 127 by @davidfarah-dev in #9998
- fix(cli): name stopped broker address reservations by @davidfarah-dev in #9999
- fix(cli): classify manifest path failures in retained stack previews by @davidfarah-dev in #9820
- fix(cli): keep the bind address in broker URL recovery by @davidfarah-dev in #9821
- fix(runtime): keep hosted journal lookup on the requested target by @davidfarah-dev in #9822
- fix(cli): point stopped-store previews to the original directory by @davidfarah-dev in #9823
- fix(cli): keep the selected deployment in teardown retries by @davidfarah-dev in #9824
- fix(cli): preserve the original send when a destination is empty by @davidfarah-dev in #9825
- fix(cli): tell endpoint check users to omit a pasted --file option by @davidfarah-dev in #9993
- fix(cli): tell users to drop unknown ext root options by @davidfarah-dev in #9994
- fix(cli): preserve stopped team removal previews by @davidfarah-dev in #10000
- fix(cli): suggest a first-start preview when no manager exists by @davidfarah-dev in #10002
- fix(cli): keep plain refusal help uncolored by @davidfarah-dev in #10003
- fix(cli): report preserved-store restore overlap as a refusal by @davidfarah-dev in #10004
- fix(cli): keep the space in starting attach commands by @davidfarah-dev in #10005
- fix(cli): correct missing-source restore guidance by @davidfarah-dev in #10006
- fix(cli): preserve plain channel removal confirmation by @davidfarah-dev in #10008
- fix(cli): preserve output in named status retries by @davidfarah-dev in #10009
- fix(run): guide open-mesh local lists to offline simulation by @davidfarah-dev in #10010
- fix(cli): report selected startup from outside the project by @davidfarah-dev in #10011
- fix(cli): preserve JSON follower refusal framing by @davidfarah-dev in #10012
- fix(runtime): suggest local inventory for malformed resume IDs by @davidfarah-dev in #10013
- fix(cli): keep symlinked Node through update reconciliation by @davidfarah-dev in #9877
- fix(cli): correct recovery for obstructed space roots by @davidfarah-dev in #9973
- fix(workspace): preserve extensions on the first connector seed by @davidfarah-dev in #9995
- fix(cli): preserve persona import retry output format by @davidfarah-dev in #10015
- fix(runtime): preserve JSON in workflow simulation retries by @davidfarah-dev in #10016
- fix(runtime): explain how to correct invalid simulation clocks by @davidfarah-dev in #10017
- fix(cli): print exact retries for ambiguous broker reads by @davidfarah-dev in #10018
- fix(cli): correct the empty console space picker hint by @davidfarah-dev in #10019
- fix(manager): show how to repair an invalid saved seat cap by @davidfarah-dev in #10022
- fix(cli): keep roster reads on the recorded open space by @davidfarah-dev in #10023
- test(cli): give the verified extension fixture a nonempty entry by @davidfarah-dev in #10035
- test(cli): follow the explicit seed call in the deferral assertion by @davidfarah-dev in #10036
- chore(release): version packages by @davidfarah-dev in #9931
New Contributors
- @draarivpatel-ui made their first contribution in #9977
Full Changelog: v0.176.6...v0.177.0