Repository navigation
v0.175.1
Install or update: npm i -g cotal-ai@0.175.1
Restart running Cotal processes and agent sessions to use the new code.
What changed
- T3 Code, Zed and other Agent Client Protocol clients can now spawn and drive Cotal agents through the new
@cotal-ai/acpextension and itscotal acpcommand. - Show the file path and retry when
sendrefuses an empty file, report when ahistorytime cutoff may miss retained messages, and accept spaces inchat --stdiorequest IDs. - The subject token, channel and principal grammar now lives in its own core module, with no change in behavior.
- Keep the selected application and explicit broker in the suggested catalog refresh on the answering Manager.
- Move the up command's broker config writers, authentication setup and credential provisioning out of
up.tsinto an internalup-broker-auth.ts. - Keep the intended space, broker and stop options in agent-control retries, and show how to find a full manager ID when noninteractive attach gets a malformed one.
- When a custom service has no saved definition, its status and log reads now show how to list the definitions in the requested space.
- Join shows a valid example when a channel starting with
#is still invalid without that prefix. - Move the manager's credential-renewal state (the daemon renewal ownership flags, the endpoint-serve renewal timer, the secret store identity, the remote standing credentials and their renewal and adoption promises, the renewal debt, and the credential push bookkeeping) from the Manager into the credential-renewal part, which the broker transport, boot and serve plane now read directly instead of through per-field accessors.
Every change in full
-
T3 Code, Zed and other Agent Client Protocol clients can now spawn and drive Cotal agents through the new
@cotal-ai/acpextension and itscotal acpcommand.cotal acpserves ACP v1 on standard input and output. A client thread is one managed agent: its first prompt spawns the agent through the space's manager in the thread's folder, with the model, reasoning variant, persona, channel and machine the thread chose, and the agent keeps running when the client closes. The thread follows the agent's event channel, so an application without an event plane is not offered. Session list shows the managed agents in a folder, loading one replays what its event channel still holds, deleting one hides that run, and/despawn,/rosterand/channelsanswer in the thread. A later prompt is typed into the agent's terminal through the manager'sinputcommand, so it arrives as the user's own words, and its turn ends once the agent has started working and stopped again. An agent whose runtime owns no terminal input, such as tmux, refuses it, and the prompt fails with the manager's reason. A client that runs terminals is offered a sign-in that runscotal loginor, with no space recorded,cotal setup. Stopping a turn interrupts the agent through the manager's newinterruptcommand, and the turn ends as cancelled, also when the agent cannot be stopped. Forwarding an agent's questions is not available yet.@cotal-ai/clinames the package whencotal acpruns before the extension is added, and@cotal-ai/workspacerecordsacpas a Cotal home entry and offers theinputandinterruptcontrol calls.The manager serves a new targeted
interruptcommand, contract revision 53. It writes the key a seat's connector declares in the newConnector.interruptKeyinto the seat's terminal, and it is granted asinputis. The Claude Code and Pi connectors declare Escape.On a space where people sign in, a person now controls every agent under their own owner without the
adminscope. Their manager view carriesinspectandpsand owner-modeinput,interrupt,despawnandattach, whatever their scope, and their sign-in reads those agents' event channels live and through its own history reader. These rights come from the ledger row being a person's, never from a scope token, so no agent credential holds them. They ride the person's sign-in, so a program running as that person where they are signed in can use them.cotal acpreads through that sign-in, takes your managers from the auth service's/manager-instanceslist, reads your agents from every live one, sends each agent's commands to the manager that holds it, and names each agentacp_<id>, a valid actor name there. A thread loaded without a grant that may spawn offers only the agent's own model and cannot start another, andcotal acpstops, sending nothing, when the machine's sign-in is granted again or changes account.@cotal-ai/coreadds apublisherfilter tochannelHistoryPageand an optionalAuthProvider.listManagerInstances, which@cotal-ai/authimplements.@cotal-ai/workspaceaddsownManagerInstances,userSignInAuth,signInChange, an observerlifecycleUidoption, and agonelist on thepsreply for registrations whose host is gone. A control call whose own chosen run was replaced is now reported as refused before submission, withpreSubmitRefusalandselectedSeatChanged, so a pickercotal attachexits as a refusal (TARGET_NOT_FOUND) andcotal team agent removereports refused where they reported a failure or an unknown outcome; nothing was ever sent in that case. -
Show the file path and retry when
sendrefuses an empty file, report when ahistorytime cutoff may miss retained messages, and accept spaces inchat --stdiorequest IDs. -
The subject token, channel and principal grammar now lives in its own core module, with no change in behavior.
-
Keep the selected application and explicit broker in the suggested catalog refresh on the answering Manager.
-
Move the up command's broker config writers, authentication setup and credential provisioning out of
up.tsinto an internalup-broker-auth.ts. The module surface ofup.tsis unchanged. -
Keep the intended space, broker and stop options in agent-control retries, and show how to find a full manager ID when noninteractive attach gets a malformed one.
-
When a custom service has no saved definition, its status and log reads now show how to list the definitions in the requested space.
-
Join shows a valid example when a channel starting with
#is still invalid without that prefix. It still accepts a single display#on--channeland gives a usable override when a link includes that prefix on a valid channel name. -
Move the manager's credential-renewal state (the daemon renewal ownership flags, the endpoint-serve renewal timer, the secret store identity, the remote standing credentials and their renewal and adoption promises, the renewal debt, and the credential push bookkeeping) from the Manager into the credential-renewal part, which the broker transport, boot and serve plane now read directly instead of through per-field accessors. Exports, commands and wire behaviour are unchanged.
What's Changed
- fix(cli): suggest valid join channel values by @davidfarah-dev in #9210
- refactor(core): move the subject token, channel and principal grammar into subject-grammar.ts by @davidfarah-dev in #9206
- refactor(manager): credential renewal owns its renewal and push state by @davidfarah-dev in #9202
- test(smoke): convert 29 suites to the smoke-kit check helper by @davidfarah-dev in #9205
- test(cli): opt live service command fixtures out of telemetry by @davidfarah-dev in #9213
- refactor(cli): move the up broker config and auth setup into up-broker-auth.ts by @davidfarah-dev in #9208
- fix(cli): preserve agent control retries by @davidfarah-dev in #9190
- fix(cli): correct messaging input and history cutoff reporting by @davidfarah-dev in #9189
- fix(cli): keep missing service reads in the requested space by @davidfarah-dev in #9258
- feat(acp): serve Cotal agents to T3 Code and other ACP clients by @davidfarah-dev in #8359
- chore(release): version packages by @davidfarah-dev in #9211
- fix(cli): preserve the selected target on catalog refresh by @davidfarah-dev in #9269
- chore(release): version packages by @davidfarah-dev in #9270
Full Changelog: v0.174.4...v0.175.1