Expand description
Client-side helpers for talking to the shared-world daemon: building a spawn
request from local inputs and exchanging it over the control socket. Shared by
lev run (and reusable by other clients). The socket-path resolution + connect
live in the binary; these cores are unit-testable against a fake socket server.
Functions§
- resolve_
spawn_ args - Resolve the local inputs of a spawn request: find the manifest, mint a run id
from the agent’s directory name, record the working directory, and resolve
any dynamic
--<region>flags (raw values,@pathor literal) against the blueprint’s declared caller-input regions. - send_
spawn - Send a resolved spawn request to the daemon and report the outcome, printing the new run id on success.