Repository navigation
stitchkit v0.108.2
·
90 commits
to master
since this release
Added
stitchkit/process—runNativeCommandtakesownerLoss: 'terminate': on Linux and Darwin under
Bun or Node, a package-owned per-command guard binds the command's process group to a private
inherited kernel channel. If the JavaScript caller is killed or crashes, channel EOF makes the
guard KILL its own group without polling,finallyor PID reclamation. The option requires
group: 'own'; unsupported platforms refuse withCOMMAND_UNAVAILABLE. It is opt-in because each
guarded call uses one extra short-lived process and descriptor. Output, stdin, target exit status,
deadlines and cancellation retain the existing contract;onLeaderStartedreports the guard that
leads the owned group. → ADR 0255