Repository navigation
v0.109.0
Install or update: npm i -g cotal-ai@0.109.0
Changes in this release
- A daemon entry now loads only the modules its own command needs, not every command of the CLI. The registry in
@cotal-ai/coregainsprovide,providesandload. A composition root declares a module and the keys it registers before importing it, andloadimports only the module behind the key a process asks for, once. A key whose module did not register it is refused, never stood in for.cotaldeclares its daemon entries this way:supervise,deliver,feedback-intake,auth-service, their__daemon-*and__service-*forms, and__service-unit. The entry's flags, usage, refusals and exit are unchanged.@cotal-ai/cligains two exports:./dispatch(commandWordandrunCli, without the command surface) and./service-unit(the unit entry alone). On a stack with no seats, 30 seconds and 5 minutes aftercotal up(the mean of three runs each), the manager went from 148 MB to 106 MB of private memory in its first minutes and from 112 MB to 75 MB once settled. The delivery daemon went from 110 MB to 65 MB, then from 105 MB to 60 MB. The user-auth service went from 115 MB to 74 MB, then from 105 MB to 62 MB.
What's Changed
- perf(cli): load only a daemon entry's own command surfaces by @davidfarah2003 in #4879
- chore(release): version packages by @davidfarah2003 in #4880
Full Changelog: v0.108.1...v0.109.0