pub fn spawn_codemode(
path: impl AsRef<Path>,
options: LocalExecutorOptions,
connectors: Vec<Arc<dyn Connector>>,
) -> Result<LocalCodeModeService, String>Expand description
Opens a durable actor service for a CLI or MCP host.
The host owns the database until its service thread exits. Restarting with the same path preserves approvals, artifacts, and engine continuations.