Repository navigation
v0.142.0
Install or update: npm i -g cotal-ai@0.142.0
Restart running Cotal processes and agent sessions to use the new code.
What changed
- Make
EndpointReplya union onok. @cotal-ai/workspace/chatnow holds the rulescotal chatapplies to a draft, so another terminal front end can follow them: typed recipients and their labels, the reply recipient, the Enter rule, how a publish outcome settles, slash commands and their outcome words, shared names, the ending notice and the close summary.- A
cotal chatpost on a channel, in the terminal view and in--plain, now carries the@namesits text holds as mentions, ascotal send -cand the console do, so it wakes the agents it names.
Every change in full
-
Make
EndpointReplya union onok. Failed replies require an error; successful replies cannot carry one. TypeScript callers must construct the matching reply arm and narrowokbefore using a required error. Interfaces that extendedEndpointReplymust use a type intersection instead.Keep acceptance data on local failed goal-follow results. The wire parser still rejects failed replies carrying data or missing their error. Narrowed readers no longer need fallback text for missing errors.
-
@cotal-ai/workspace/chatnow holds the rulescotal chatapplies to a draft, so another terminal front end can follow them: typed recipients and their labels, the reply recipient, the Enter rule, how a publish outcome settles, slash commands and their outcome words, shared names, the ending notice and the close summary.shownTime,concreteChannelProblemandofflineRecipientNoticemove to the@cotal-ai/workspaceroot. Breaking:openChatSessiontakes the front end'swords(ChatWords) in place ofreopen, so a session's refusals end with that front end's own steps;grantRefusalandresolveDmTargettake them too, andparseRecipienttakes the front end's other way to choose a recipient.cotal chat,--plainand--stdioprint the same output as before, except that a reply to a name only gone senders carry now calls them one-shot senders rather thancotal sendcommands. -
A
cotal chatpost on a channel, in the terminal view and in--plain, now carries the@namesits text holds as mentions, ascotal send -cand the console do, so it wakes the agents it names. The shared chat reply rule,replyRecipient, takes the session's principal and answers a channel message on its channel withreplyTo; replying to your own DM or role task refuses.AdmittedChatSession.sendtakes an optionalreplyTo. A send, join or channel mode outside a session's grant now always names the step that opens a session on that channel, and so does the warning when you choose such a channel as the recipient.
What's Changed
- refactor(workspace)!: share the chat composer rules from @cotal-ai/workspace/chat by @Manas-Kenge in #5768
- fix(desktop): preserve the Windows Node executable name by @davidfarah2003 in #5840
- fix(core)!: discriminate endpoint replies by ok by @davidfarah2003 in #5847
- feat(chat): send @mentions and answer a channel message on its channel by @Manas-Kenge in #5771
- chore(release): version packages by @davidfarah2003 in #5846
Full Changelog: v0.141.11...v0.142.0