Backplane. AgentRuntime. Command behaviour
(backplane_agent_runtime v1.6.0)
Copy Markdown
Authorized command execution with environment allowlists and output caps.
Shell interpretation is a separate capability. This module never claims OS sandbox guarantees; supported cleanup is declared by the CommandPort backend.
Summary
Types
@type t() :: map()
Callbacks
@callback cancel(map(), map()) :: :ok | {:error, Backplane.AgentRuntime.Error.t()}
@callback start(map(), map(), keyword()) :: {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}
Functions
@spec cancel(t(), map()) :: :ok | {:error, Backplane.AgentRuntime.Error.t()}
@spec new(map()) :: {:ok, t()} | {:error, Backplane.AgentRuntime.Error.t()}
@spec start(t(), map(), keyword()) :: {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}