Backplane. AgentRuntime. Codex. CodeMode
(backplane_agent_runtime v1.10.7)
Copy Markdown
Opt-in, capability-limited JavaScript Code Mode.
JavaScript runs in a Deno worker with all Deno permissions denied. The only
host capability exposed to the program is codex.tool/2 (and its raw-input
variant), which is routed back through a host-supplied admitted dispatcher.
A yielded generator is retained in a run-owned ResourceRegistry handle.
Summary
Functions
Returns whether the host can verify and clean up a Code Mode process.
Functions
@spec call(map()) :: {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}
@spec cancel(pid(), map(), String.t()) :: {:ok, term()} | {:error, Backplane.AgentRuntime.Error.t()}
Returns whether the host can verify and clean up a Code Mode process.