pub fn dispatch_opencode_once(
home: &AgentsHome,
name: &str,
message: &str,
from_name: &str,
cwd: &Path,
_yolo: bool,
timeout: Option<Duration>,
model: Option<&str>,
) -> AskOutcomeExpand description
Orchestrate one opencode spawn --substrate headless: validate, fail-closed
registry + name-collision check, then run opencode run and return the
reply. STATELESS by design - opencode’s own --session/--continue resume is
a pane/interactive concern, not this one-shot; name labels the log + events.