grid_cli 0.3.0
grid_cli: ^0.3.0 copied to clipboard
Management CLI for the_grid — `grid watch` and companion commands for operating a grid station.
Changelog #
0.3.0 #
- Breaking:
commandHandleris now REQUIRED onStationControl.start. Migration: pass the handler vended by grid_sdk ≥0.1.1 —StationControl.start(..., commandHandler: workRuntime.commands). - Added the vended resident station verbs —
ResidentUpCommand,ResidentDownCommand,ResidentStatusCommand, the resident flag surface, and state-workspace/lock resolution — parameterized over aGridDelegatefactory and a verb-name string, so a station composed directly on the_grid no longer copies ~1000 lines (the_grid #112). - Added the fenced station command route on
StationControlwith bearer-first routing, monotonic fencing, and cached idempotent dispatch (the_grid #106). - Station control serves tree snapshots; headless projection reads and count-gated snapshot streams are fenced by tests (the_grid #110, #113, #114, #115).
- Added attributed beyond-cap rework; open gate beads are trusted during rework (the_grid #101, #102).
0.2.0 #
- Breaking:
StationLockService.acquireno longer takes apgidparameter — the service now establishes the station's own process group itself (setsid-own-group before the lock write) and refuses viaStationRefusalwhen the resolved pgid is not the station pid. Migration: drop thepgid:argument fromacquire(...)call sites; if you were computing a group id to pass in, delete that code — the recordedpgidis now always the station's own, verified group. stop()gains a pgid-gated group signal: when the lock's recordedpgidmatches the live process group, teardown signals the whole group; on mismatch it falls back loudly to the previous pid-scoped SIGTERM.- New:
establishStationProcessGroup(re-exported), withProcessGroupController.resolvePgidas the single source of process-group identity; regression test boots from a non-leader parent and asserts the recorded group is the station's own tree.
0.1.0 #
- Initial tagged release (tag-pattern version solving).