Repository navigation
stitchkit v0.105.1
·
195 commits
to master
since this release
Added
stitchkit/process—NativeCommandResult.descendantsStoppedreports that the group still had
members after the leader exited and thatdescendants: 'terminate-after-leader'stopped them,
so a helper ended this way is visible in the result instead of only missing afterwards.stitchkit/files/packaging—assetPathaccepts[hash], replaced by the first 16 hex digits
of the addon's published SHA256, so two installed versions get different companion names
(addons/darwin-arm64-[hash].node); the loader requires exactly that name.
Fixed
stitchkit/files—sweepAtomicStagingreturns[]for adirectorythat does not exist yet
instead of throwingENOENT; any other listing failure still throws.stitchkit/process— an optionrunNativeCommanddoes not know is refused by name, and the
removedkillGraceMsnames its replacement,stop: { target: 'group', graceMs }: a spread
object can carry a key the type never checked.
Documentation
stitchkit/process— the 0.105.0 note that a descendant leaving the group withsetsidis
unaffected holds only when it has left before the leader exits:setsid helper &and
nohup helper &race the leader and are stopped,setsid -f helpersurvives. The native IO
guide shows the measured forms, how a guardian or worker that holds a child until it exits
maps ontorunNativeCommand, and why a child inheriting the terminal stays a plain spawn.stitchkit/files/packaging— callingcreateNativePackaginghas to stay in the build step;
importing the leaf from a module that is also bundled is side-effect free.