Skip to main content

Module ctl

Module ctl 

Source
Expand description

lev msg / lev cancel / lev pause / lev resume - control operations on a running agent in the shared-world daemon.

Each sends a control request over the daemon socket and reports the boolean outcome. The request/response cores are tested here; the socket-path resolution + connect live in the binary behind crate::dispatch::RiskyExecutors.

Structs§

CancelArgs
Arguments for lev cancel.
MsgArgs
Arguments for lev msg.
PauseArgs
Arguments for lev pause.
RespondArgs
Arguments for lev respond - answer a pending ask_user interaction the daemon is holding, or (with no request_id) list the open interactions.
ResumeArgs
Arguments for lev resume.

Functions§

cancel_run
lev cancel: cancel a run.
pause_run
lev pause: park a run. The daemon refuses (ok: false) when the run does not exist or is not in a pausable state (waiting on input, or finished).
respond
lev respond: answer a pending interaction, or list open ones when no request_id is given.
resume_run
lev resume: un-pause a run.
send_message
lev msg: deliver a message to a running agent.