Repository navigation
v0.189.0
Install or update: npm i -g cotal-ai@0.189.0
Restart running Cotal processes and agent sessions to use the new code.
What changed
- An agent's owner can read and change its harness's session settings with
optionsandset-option. - An agent's owner can steer the turn it is running:
steerhands the owner's words to that turn for the run they are looking at, with a key that never hands the same words over twice. - A Codex agent serves
optionsandset-option: its owner can switch it between Codex's Default and Plan collaboration modes from the next turn, and sees its approval policy and sandbox, which stay fixed at launch. - An OpenCode 2.x agent serves
optionsandset-option: its owner can switch it between default and plan mode from the next turn. - Make
cotal update --selffinish pending daemon activation after agents exit, or stop them and activate when you pass--stop-agents. - Report incomplete, stale, or failed presence reads from
cotal endpointsas partial results. - Wait for the account's space list after restarting the background service so daemon setup does not ask you to reconnect a space that is already enabled.
- On a busy Windows computer,
cotal daemon installandcotal daemon setupnow still refuse a shell home that the background service cannot see, instead of sometimes registering the service anyway. - Fixes to the revision 8 read-back (
sent,sent-item) found by its review: - An owner can read back what it sent an agent.
- Resume publishing conversation events after a lost tool-payload acknowledgement when the broker still holds the matching frame.
- An ACP thread that drives a running agent shows the agent's own settings as config options after the launch options, under
seat.ids, and a change there goes to the agent. - Remove unused catalog sentinel credentials when you sign out or switch accounts, even after the space moved to another owner key.
- Claude Code event recovery reuses its transcript position so retries do not reread the whole conversation.
- Ask for a Codex upgrade only when Codex reports the queue method is unavailable.
- A Codex agent whose seat publishes its activity serves
steer: the owner's words go to the run the event plane shows open, through Codex'sturn/steerwith that run's own turn asexpectedTurnId. - Retry a Codex internal error once when reading the queue before submitting a conversation notice.
- Let personal Codex conversations retry connecting after the local queue helper fails to initialize.
- Settings serving is tightened to what the revision 10 contract says:
- A connector's
dispatchmay now resolve with{ output }, the text a command answered for its owner. - Keep a waiting message's reply and conversation IDs off direct messages to a different peer.
- A loaded ACP thread, and one that
/opens a running agent, now shows the owner's own words as well as the agent's answers. - An ACP thread that runs an agent's own command, such as Jcode's
/compactor/rewind, now says what the command answered before the prompt ends. - Report a fixed diagnostic for partial infrastructure status reads in regular telemetry, including a distinct reason for unreadable mesh registries.
- Keep the typed refusal in update telemetry when the Manager continuity check cannot access its target.
- Report which user-auth state directory
cotal doctor authcannot inspect and how to restore access. - Look up the registration selected by an explicit broker address before requiring a catalog refresh.
- When a required space catalog cannot refresh, point to a refresh of the affected account before retrying the operation.
- When a workflow change refuses an unknown option with no spelling suggestion, confirm nothing was submitted and point to the subcommand's help instead of advising the caller to drop the option and retry.
- Keep commands pointed at a different registered space when a catalog refresh removes the saved default.
- Keep invalid send destinations and their validation details local.
- Keep the user-auth roster available from presence when no Manager answers, even if the unrelated channel registry cannot be read.
- Keep direct and role sends independent of the channel registry.
- Let
cotal personas list --runningmark catalog entries from authorized presence without channel registry access. - Keep rejected workflow argument text out of
cotal runtelemetry. - Let
cotal whoandcotal endpointsread authorized presence without channel registry access. - Keep the resolved space in the roster command suggested after a stop lookup refusal.
- Keep an unrecognized subcommand and its recovery advice in the local diagnostic.
- Keep unsent message text out of telemetry when
cotal sendmistakes a dash-leading word for an option. - Keep unregistered space names and stack traces out of daemon service status and connect telemetry.
Every change in full
-
An agent's owner can read and change its harness's session settings with
optionsandset-option. Settings are read fresh from the harness every time; a write the harness has not answered shows as unsettled until it does, and model switches and setting writes take turns. No connector serves them yet; presence showsoptionsandsetOptionflags when one does. -
An agent's owner can steer the turn it is running:
steerhands the owner's words to that turn for the run they are looking at, with a key that never hands the same words over twice. One steer is with the harness at a time, until the harness answers it; another meanwhile is refused at once. Steer keys belong to the agent's runtime and survive a re-serve, and nothing is handed over once the agent starts to stop. No connector servessteeryet; presence shows asteerflag when one does.CotalEndpoint.runtimeIdgives the runtime id the endpoint's presence carries. -
A Codex agent serves
optionsandset-option: its owner can switch it between Codex's Default and Plan collaboration modes from the next turn, and sees its approval policy and sandbox, which stay fixed at launch. A mode picked in the attached terminal shows on the next read. -
An OpenCode 2.x agent serves
optionsandset-option: its owner can switch it between default and plan mode from the next turn. Plan mode is a copy of the launch'scotalagent with a plan instruction and with edit and bash denied, so it only takes tools away. A mode picked in the attached terminal shows on the next read.@cotal-ai/connector-coreexportsOptionLaneandoptionFlagsfor connectors that test their settings against the lane. -
Make
cotal update --selffinish pending daemon activation after agents exit, or stop them and activate when you pass--stop-agents. -
Report incomplete, stale, or failed presence reads from
cotal endpointsas partial results. Keep observed rows and avoid claiming an unfinished empty snapshot has no participants. -
Wait for the account's space list after restarting the background service so daemon setup does not ask you to reconnect a space that is already enabled.
-
On a busy Windows computer,
cotal daemon installandcotal daemon setupnow still refuse a shell home that the background service cannot see, instead of sometimes registering the service anyway. The account read now has 15 seconds to finish rather than 2, andNODE_DEBUG=cotalprints why the check made no decision when the read gives no answer. -
Fixes to the revision 8 read-back (
sent,sent-item) found by its review:- An agent endpoint opened again in the same process now starts its read-back counter above the old one, so a client that already read the old list takes the new one instead of dropping it as stale.
- A sleeping agent's presence no longer shows a read-back counter, and
spec/cotal.schema.jsongives that counter as a non-negative integer. - The owner session now reads the seat's read-back list whenever presence shows it changed, and checks every list and detail it receives. The same checks run on the agent before it replies.
- A Claude Code turn that also appears in the transcript is now marked as such in the read-back list.
- The auth callout now caps a sign-in response at the broker's own message size limit as well. If the broker refuses to send a response, the client gets a prompt signed denial instead of waiting out its connect timeout.
- Late reports can no longer use up the counter space a kept item still needs to finish.
-
An owner can read back what it sent an agent. The
agentendpoint advances to revision 8 withsent, which lists every turn and command the agent accepted and still keeps (at most 128, in one reply), andsent-item, which returns one item's state, words and answer, cut to fit when needed. A reload, a second device or a resumed session now shows the owner's own words even when the harness never wrote them to its transcript. Presence showsagentEndpoint.sentand asent: { waiting, seq }counter. On a mesh that does not authenticate its owner the agent keeps no copy and both commands answerunimplemented.The command queue now takes one command at a time, so a connector can no longer send a second command to its harness while the first one's take is still running.
The auth callout now refuses with a signed denial a sign-in response larger than the cluster's message size limit. Before, the broker dropped it and the client waited out its connect timeout.
-
Resume publishing conversation events after a lost tool-payload acknowledgement when the broker still holds the matching frame.
-
An ACP thread that drives a running agent shows the agent's own settings as config options after the launch options, under
seat.ids, and a change there goes to the agent. A setting that applies from the next turn shows the value the next turn runs and says which value this turn runs. A locked setting shows only its value with the agent's reason. A write the agent has not confirmed is said in the description. On/off settings are offered only to clients that advertise boolean config options. A change made at the agent's own terminal shows in the thread.AgentCallFailedcarries the reply'soutcome, and the owner-sessionMeshcan read an agent's settings counter. -
Remove unused catalog sentinel credentials when you sign out or switch accounts, even after the space moved to another owner key.
-
Claude Code event recovery reuses its transcript position so retries do not reread the whole conversation.
-
Ask for a Codex upgrade only when Codex reports the queue method is unavailable. Other queue read failures still refuse the connection and explain how to retry.
-
A Codex agent whose seat publishes its activity serves
steer: the owner's words go to the run the event plane shows open, through Codex'sturn/steerwith that run's own turn asexpectedTurnId. Codex refuses words aimed at a turn that is not the one running, and the owner then getsfailed-preconditionwith nothing delivered. A seat that publishes no activity says it serves nosteer. -
Retry a Codex internal error once when reading the queue before submitting a conversation notice. A queue write with an unconfirmed result is not replayed.
-
Let personal Codex conversations retry connecting after the local queue helper fails to initialize. The first failure is still reported, and the next call starts a fresh helper.
-
Settings serving is tightened to what the revision 10 contract says:
- A refused second serve no longer replaces the first serve's connector.
- A read or write still waiting when the endpoint stops, or when the connector stops serving settings, is refused and never reaches the harness.
- The presence settings counter appears and goes with the
optionsflag. - A reply's
seqnames exactly the list it carries, also across a re-serve. - An unsettled write stays visible when its setting changes type.
- A connector read that supplies
unlistedis refused as a contract break. - A confirmed write whose read-back is malformed answers
executed. - A model switch the harness never answers holds the shared settings lane for at most 10 s.
-
A connector's
dispatchmay now resolve with{ output }, the text a command answered for its owner. The agent keeps it onsent-itembefore the command readsstarted, so an owner's client, such as the ACP bridge, can show it. It never goes on the event channel. Jcode'scompactanswers with the line Jcode gives when it schedules the compaction. -
Keep a waiting message's reply and conversation IDs off direct messages to a different peer. Replies to the original peer still carry their correlation.
-
A loaded ACP thread, and one that
/opens a running agent, now shows the owner's own words as well as the agent's answers. The bridge reads them fromsent, the copy the agent keeps for its owner. A turn the agent tied to its run is replayed as a user message just before that run, whole fromsent-item. A turn with no such tie is not guessed into place: it is listed after the replay with the time it was sent. Items the agent no longer keeps are counted, images are said as a count, and turns the agent already published on its event channel are not shown twice. -
An ACP thread that runs an agent's own command, such as Jcode's
/compactor/rewind, now says what the command answered before the prompt ends. The bridge reads the answer fromsent-item, the copy the agent keeps for its owner, waits up to 3 s for a command that answers a moment late, and says how much is shown when the agent cut it. A skill runs a turn of its own and is not asked. An agent that keeps no read-back copy is never asked. -
Report a fixed diagnostic for partial infrastructure status reads in regular telemetry, including a distinct reason for unreadable mesh registries. Warning contents and paths stay local.
-
Keep the typed refusal in update telemetry when the Manager continuity check cannot access its target. The local diagnosis and exit status are unchanged, and connection details stay local.
-
Report which user-auth state directory
cotal doctor authcannot inspect and how to restore access. The command still refuses without inferring static mode or changing credentials. -
Look up the registration selected by an explicit broker address before requiring a catalog refresh. An unrelated default catalog no longer blocks the command, and a broker that selects a catalog-backed space still requires that space's refresh.
-
When a required space catalog cannot refresh, point to a refresh of the affected account before retrying the operation. Report an explicitly rejected cached session as authentication required and ask the caller to sign in again.
-
When a workflow change refuses an unknown option with no spelling suggestion, confirm nothing was submitted and point to the subcommand's help instead of advising the caller to drop the option and retry.
-
Keep commands pointed at a different registered space when a catalog refresh removes the saved default. The CLI clears the old selection and still refuses commands that relied on it.
-
Keep invalid send destinations and their validation details local. Telemetry records the usage refusal with fixed text and no stack.
-
Keep the user-auth roster available from presence when no Manager answers, even if the unrelated channel registry cannot be read.
-
Keep direct and role sends independent of the channel registry. They still read authorized presence and use broker publish acknowledgements. Channel sends continue to read channel policy.
-
Let
cotal personas list --runningmark catalog entries from authorized presence without channel registry access. A denied presence read still refuses. -
Keep rejected workflow argument text out of
cotal runtelemetry. The parser still explains the refusal locally. Telemetry keeps the usage code, a fixed diagnostic, and recognized flag names. -
Let
cotal whoandcotal endpointsread authorized presence without channel registry access. Denied presence reads still refuse, andwhostill reports incomplete Manager reads. -
Keep the resolved space in the roster command suggested after a stop lookup refusal. The command still checks the original target after the operator changes their selected space.
-
Keep an unrecognized subcommand and its recovery advice in the local diagnostic. Telemetry keeps the usage refusal code and records only a fixed unknown-subcommand message.
-
Keep unsent message text out of telemetry when
cotal sendmistakes a dash-leading word for an option. The CLI still shows the parser refusal locally. Telemetry keeps the usage code, a fixed diagnostic, and recognized flag names. -
Keep unregistered space names and stack traces out of daemon service status and connect telemetry. The local refusal and its recovery advice are unchanged.
What's Changed
- docs: a listening ChatGPT voice session waits again by itself by @davidfarah-dev in #11430
- fix(cli): report incomplete endpoint presence as partial by @davidfarah-dev in #11433
- fix(auth): remove moved catalog credentials on sign-out and account switch by @davidfarah-dev in #11412
- fix(cli): wait for account spaces after daemon setup restarts by @davidfarah-dev in #11419
- fix(cli): keep workflow write refusals from suggesting a write by @davidfarah-dev in #11436
- fix(cli): keep unrecognized subcommands out of telemetry by @davidfarah-dev in #11438
- test(cli): expect the fixed unknown-subcommand diagnostic by @davidfarah-dev in #11441
- feat(agent): the owner reads back what it sent an agent (revision 8: sent, sent-item) by @davidfarah-dev in #11439
- fix(daemon): give the Windows service-home read time to finish on a busy computer by @davidfarah-dev in #11427
- fix(cli): keep unregistered daemon service spaces out of telemetry by @davidfarah-dev in #11442
- test(census): give the presence sent field its owner row by @davidfarah-dev in #11443
- fix(cli): keep the Manager-less roster read independent of channels by @davidfarah-dev in #11444
- fix(cli): guide recovery when a required space catalog fails by @davidfarah-dev in #11445
- fix(cli): keep direct and role sends independent of channels by @davidfarah-dev in #11446
- fix(update): activate deferred daemon releases by @davidfarah-dev in #11011
- fix(cli): keep the resolved space in stop lookup recovery by @davidfarah-dev in #11448
- fix(cli): keep invalid send destinations out of telemetry by @davidfarah-dev in #11450
- feat(core): add steer to the agent endpoint (revision 9) by @davidfarah-dev in #11435
- fix(claude-code): avoid rescanning transcripts on event recovery by @davidfarah-dev in #11447
- test(upgrade): count the project trust cells in the publication selector fixture by @davidfarah-dev in #11451
- fix(connector-core): keep scoped replies with their peer by @davidfarah-dev in #11453
- fix(cli): follow explicit broker targets during catalog preparation by @davidfarah-dev in #11455
- feat(core): options and set-option on the agent endpoint (revision 10) by @davidfarah-dev in #11440
- fix(agent): the revision 8 read-back fixes from its cold read (sent seq on reopen, sleeper strip, reader, published, callout bound, reserve) by @davidfarah-dev in #11452
- fix(cli): keep named targets when the default leaves its catalog by @davidfarah-dev in #11458
- fix(cli): explain unreadable user-auth state in doctor by @davidfarah-dev in #11459
- fix(cli): read rosters without opening the channel registry by @davidfarah-dev in #11460
- fix(connector-core): the settings lane after the revision 10 cold read by @davidfarah-dev in #11461
- fix(cli): keep unposted send words out of telemetry by @davidfarah-dev in #11462
- feat(codex): serve steer through turn/steer with the open run's turn as expectedTurnId by @davidfarah-dev in #11463
- fix(connector-core): describe the option lane's unlisted overlay as the current contract by @davidfarah-dev in #11464
- fix(cli): keep rejected workflow words out of telemetry by @davidfarah-dev in #11466
- feat(codex): serve options and set-option: the collaboration mode, with approvals and sandbox locked by @davidfarah-dev in #11465
- fix(cli): read running personas without opening channels by @davidfarah-dev in #11470
- fix(codex): recover after queue helper initialization fails by @davidfarah-dev in #11474
- fix(connector-core): recover lost event payload acknowledgements by @davidfarah-dev in #11454
- fix(cli): classify partial infrastructure status telemetry by @davidfarah-dev in #11477
- fix(cli): classify update continuity connection refusals by @davidfarah-dev in #11484
- feat(opencode): serve options and set-option on 2.x: default or plan mode by @davidfarah-dev in #11482
- fix(codex): keep the driver's start within the function length limit, and strip the ambient environment in the doctor suite by @davidfarah-dev in #11475
- feat(acp): show a running seat's own settings as ACP config options (W8, revision 10 options) by @davidfarah-dev in #11486
- test(daemon): load the Windows busy account read with one loop per processor by @davidfarah-dev in #11478
- fix(codex): distinguish failed queue reads from missing support by @davidfarah-dev in #11487
- fix(codex): retry the queue read before submitting a notice by @davidfarah-dev in #11491
- fix(opencode): keep setupSession within the function length limit by @davidfarah-dev in #11492
- feat(acp): say what a seat command answered, read from sent-item (W8, session operations) by @davidfarah-dev in #11490
- feat(acp): replay the owner's own turns on session/load, from sent (W8) by @davidfarah-dev in #11493
- feat(jcode): keep compact's answer for its owner on sent-item (dispatch may resolve with output) by @davidfarah-dev in #11495
- chore(release): version packages by @davidfarah-dev in #11434
Full Changelog: v0.188.0...v0.189.0