Repository navigation
v0.110.0
Install or update: npm i -g cotal-ai@0.110.0
Changes in this release
-
Serve several spaces from one delivery process.
cotal deliver --spaces <manifest> --server <url>holds one delivery lane per space the manifest names, so a host runs one delivery process instead of one per space. A lane is the daemondeliver --spaceruns, held by the host: it reads its own space's credential from the root, dials on its own connections into that space's account, and holds its own lease, broker watchdog, timer writer and membership feed. One space losing the broker, its credential or its lease closes that lane alone, and the host reopens it every 5 seconds while it fails. A lane writes no pidfile, and its lines carry a[<space>]prefix.The host serves every space in the manifest or none, and names the space it could not serve. It rereads the manifest when it changes on disk, on
SIGHUP, and on a backstop interval, opening or closing the difference; a manifest that does not read or parse whole is reported and the open lanes are kept.--spaceand--spacesare alternatives,--spacesrequires--server, and--creds,--dev-mint,--shard,--shardsanddeliver pendingrefuse with it.deliver --spaceis unchanged. Thedeliverdeprecation warning now says to keepcotal deliverfor--spaces, which thedeliveryservice preset has no form for.The manifest grammar and the reconcile loop move to
@cotal-ai/workspaceasparseSpaceManifestandrunSpaceHost, and the auth callout host runs on them. Its behavior and lines are unchanged, except that a signalled callout host now closes its lanes at once rather than one after another, and closes the lanes it opened before refusing on a manifest directory it cannot watch. -
cotal downwith several names now names a next step when one name matches no saved definition, the one a single nameddowngives:cotal serviceto list the saved definitions, or the web extension forweb. For a broker name (nats,brokerorstack-broker) it names a barecotal down, which stops the broker with the whole stack, instead ofstack-broker, which a set refuses. On a stack a plaincotal upstarted,brokeramong the names no longer says that no broker has been started.cotal manager logsaftercotal downof a plaincotal up, with the manager log removed, now says the log at its path is no longer there and names onlycotal up, when a pid record of the dead manager or the instance identity a manager keeps in the folder shows one ran. It still refusesTARGET_NOT_FOUND, and says no manager has been started, namingcotal manager startas well, only when no such record exists.
What's Changed
- feat(delivery): serve several spaces from one delivery process by @davidfarah2003 in #4953
- fix(cli): give a multi-name down refusal its next step and say when a manager log is gone by @davidfarah2003 in #4958
- chore(release): version packages by @davidfarah2003 in #4960
Full Changelog: v0.109.25...v0.110.0