Repository navigation
v0.106.0
Install or update: npm i -g cotal-ai@0.106.0
Changes in this release
-
Agent seats no longer watch presence. Every member of a space received every other member's heartbeat every two seconds, so an idle space of K seats moved K² presence deliveries per heartbeat. An idle 400-seat space pushed about 35 MB/s out of the broker. A seat now reads the roster when a tool needs it:
cotal_roster,cotal_orientation, a DM to a name, a send with@mentions, and the anycast holder count. An idle seat now costs the broker one put, one ack and one delivery to each liveness watcher per heartbeat, whatever the size of its space. The manager, the delivery daemon,cotal chatand the dashboard still watch.The new
CotalEndpoint.readPresence()makes batched Direct Gets of the presence bucket. It binds no consumer, applies the same reader rules as the watch, and reads a record older than the liveness window as offline. A peer that an earlier read saw stays on the roster as offline after it leaves the bucket. When a read fails, the seat refuses to say a name is absent: the error names the failed read instead of reporting an unknown peer. The agent credential gains$JS.API.DIRECT.GET.KV_cotal_presence_<space>(SPEC §6 and Appendix B). A credential minted before this release lacks that grant, and its reads are refused with the grant named, so upgrade the manager and auth service before the connectors. Whole-bucket Direct Get reads, includingreadOnce, now page past 1024 keys instead of refusing the read. -
A folder's space is the target of the commands run there only while it runs
A space
cotal space createprepared in a folder, and one whose stack there is stopped, used to
capture every command run in that folder, overriding the spacecotal useselected.cotal status
in a project whose space had never started reported that space instead of the working selection, and
cotal psin a checkout whose space is stopped asked about the stopped one.A folder's space now captures a command there only while it runs. A prepared or stopped folder space
is the target of the commands about the folder itself:cotal up,cotal down,cotal space show
and the folder part ofcotal status. Every other command there targets the selection, and the line
under itsMesh:heading says what this folder holds and thecotal upthat starts it. A running
folder space keeps its behaviour, including the note that the selection applies outside the folder. -
cotal updateandcotal update --selfno longer refuse the software update over registrations that hold no manager on this machine. A space prepared here that never started (cotal setup --configure-only,space create), whether it is this folder's space, selected or named, is named and skipped like a stopped one instead of answering "is prepared but not started - start it with cotal up". A folder that holds several registrations, such as two remote spaces registered there withspace add --from, is read one registration at a time, each by name, instead of refusing with "multiple meshes running" and reading none; the resolver's per-folder ambiguity now carries the space names for that. -
cotal statusreports what is set up and what needs attention, not every known partThis machine listed one row per known agent application whether or not it was set up, every
extension with the same version spelled out on each, and the broker executable's bundled path on a
healthy machine. Brokers grouped the spaces under their broker addresses and repeatednot checked
on every row that status does not dial.This machine is now the version line, one Agent applications line naming what is set up with a count
of the otherscotal setupadds, one Extensions line at the version they share, and the rows that
need attention: an application's own pieces when they are stale or failed, the broker executable when
it is missing or refused, the dashboard when its record cannot be read. Brokers becomes Spaces: the
space being reported first with its connection state, then one line per space with how it signs in,
one note that unselected spaces are not dialed, and one line per account whose space catalog could
not be refreshed, named by the account.status --alland the newstatus --widereport every row
in full.--jsonis unchanged apart frommeshes.catalogs[].account, which the error line names.
What's Changed
- test: add idle-seat, durable fan-out and manager load harnesses by @davidfarah2003 in #4860
- fix(cli,workspace): let update skip a never-started space and read a folder's registrations by name by @davidfarah2003 in #4861
- fix(cli)!: target a folder's space only while it runs and report status at a glance by @davidfarah2003 in #4863
- perf(core)!: seats read presence on demand instead of watching it by @davidfarah2003 in #4864
- chore(release): version packages by @davidfarah2003 in #4862
Full Changelog: v0.105.1...v0.106.0