Launcher16
Constructors
commandconstBuild a SpawnSpec.process factory that injects the assume token into env and/or argv.mintTokenconstMint an opaque high-entropy assume token (CSPRNG hex) and wrap in Redacted.spawnconstSpawn one OS child under launcher custody — mints an assume token, runs process, returns a Handle.upconstOne-shot bring-up: spawn → awaitReady → handoff per unit, then the launcher may exit.Models
CommandOptionsinterfaceOptions for command — Effect ChildProcess options plus token injection mode.HandleinterfaceCustody handle — only spawn / up construct these.ReadyOptionsinterfaceReady-wait options on a spawn unit — omit services for allReady-shaped; omit timeout / poll to read readyTimeoutConfig / readyPollConfig.SpawnSpecinterfaceOne spawn unit — dial target + Effect ChildProcess command (or a factory that receives the minted cleartext token for open injection into env/argv).Errors
ChildExitedclassChild OS process exited while the launcher was waiting for Ready.HandleNotReadyclassHandle.handoff called before Handle.awaitReady succeeded.HandleSpentclassCustody handle used after handoff — .awaitReady / .handoff must not be called again.ReadyTimedOutclassReady poll expired before the child reported Ready.