io-harness 0.19.0

An embeddable agent runtime for Rust: any task, any provider, in your own process. Run commands, edit files and search a repository under a layered permission boundary on files, commands and network; gate the result on the project's own test command in any language, or on nothing at all; and keep a full SQLite trace of every step, refusal and budget draw. With an execution sandbox, contained sub-agents, an MCP client, and durable resume for unattended runs.
Documentation
# The public surface of io-harness: every name re-exported from src/lib.rs,
# one per line, as `<kind> <name> <file>` with the feature gate in parentheses
# where there is one. Generated by reading src/, compared against the live
# surface by tests/public_api.rs.
#
# A diff in this file is the trigger, not the record. Adding a line means the
# new item needs a doc comment with a worked example. Removing or renaming one
# means a break: the old name keeps existing with a #[deprecated] attribute
# naming its replacement, and CHANGELOG.md gets a migration note saying what to
# write instead. 0.x does not excuse a name disappearing without a cycle.
#
# Edited by hand. There is deliberately no --bless flag: a one-command
# regenerate turns the comparison into a rubber stamp the first time someone is
# in a hurry, which is exactly the moment it exists to catch.
async_fn copy_back src/sandbox.rs
async_fn resume src/run.rs
async_fn resume_from_stored_policy src/run.rs
async_fn resume_from_stored_policy_observed src/run.rs
async_fn resume_observed src/run.rs
async_fn resume_tree src/run.rs
async_fn resume_tree_from_stored_policy src/run.rs
async_fn resume_tree_from_stored_policy_observed src/run.rs
async_fn resume_tree_observed src/run.rs
async_fn resume_tree_with_decision src/run.rs
async_fn resume_tree_with_decision_observed src/run.rs
async_fn resume_with src/run.rs
async_fn resume_with_decision src/run.rs
async_fn resume_with_decision_observed src/run.rs
async_fn resume_with_observed src/run.rs
async_fn run src/run.rs
async_fn run_observed src/run.rs
async_fn run_tree src/run.rs
async_fn run_tree_observed src/run.rs
async_fn run_with src/run.rs
async_fn run_with_observed src/run.rs
const BUSY_TIMEOUT src/state.rs
const CHECKPOINT_FORMAT src/state.rs
const DEFAULT_EXEC_TIMEOUT src/tools/exec.rs
const IMAGE_MEDIA_TYPES src/provider/mod.rs (feature = "media")
const MCP_TOOL_PREFIX src/mcp.rs
const MEMORY_MAX_CHARS src/state.rs
const MEMORY_MAX_ENTRIES src/state.rs
const MEMORY_MAX_ENTRY_CHARS src/state.rs
const REQUEST_TIMEOUT src/net.rs
const SPAWN_TOOL src/run.rs
const SUCCESS_OUTCOME src/state.rs
const TEST_BINARY src/verify.rs
const UNKNOWN_MODEL src/state.rs
enum Act src/policy.rs
enum Backend src/sandbox.rs
enum Cap src/sandbox.rs
enum Decision src/approve.rs
enum Draw src/containment.rs
enum Effect src/policy.rs
enum Error src/error.rs
enum EventKind src/observe.rs
enum Flow src/observe.rs
enum McpTransport src/mcp.rs
enum Progressing src/resilience.rs
enum ProviderErrorKind src/error.rs
enum RunOutcome src/run.rs
enum RunStatus src/state.rs
enum Selected src/sandbox.rs
enum SpawnRefusal src/containment.rs
enum Verification src/verify.rs
fn select src/sandbox.rs
struct AgentEvent src/state.rs
struct Anthropic src/provider/anthropic.rs
struct ApproveAll src/approve.rs
struct CheckpointEvent src/state.rs
struct CompletionRequest src/provider/mod.rs
struct CompletionResponse src/provider/mod.rs
struct Config src/config.rs
struct Containment src/containment.rs
struct ContextBudget src/context.rs
struct ContextEvent src/state.rs
struct Defaults src/policy.rs
struct Edit src/state.rs
struct DenyAll src/approve.rs
struct ExecGuard src/verify.rs
struct Identity src/tools/git.rs
struct Ignore src/observe.rs
struct Layer src/policy.rs
struct Ledger src/containment.rs
struct McpEvent src/state.rs
struct McpServer src/mcp.rs
struct Media src/provider/mod.rs (feature = "media")
struct MemoryEntry src/state.rs
struct OpenAi src/provider/openai.rs
struct OpenRouter src/provider/openrouter.rs
struct Pending src/state.rs
struct Policy src/policy.rs
struct PolicyEvent src/state.rs
struct ProviderCall src/state.rs
struct Progress src/resilience.rs
struct Request src/approve.rs
struct RetryPolicy src/resilience.rs
struct Rule src/policy.rs
struct RunEvent src/observe.rs
struct RunResult src/run.rs
struct RunSummary src/state.rs
struct SandboxConfig src/sandbox.rs
struct SandboxEvent src/state.rs
struct SandboxLimits src/sandbox.rs
struct SandboxOutcome src/sandbox.rs
struct Skill src/skills.rs
struct Skills src/skills.rs
struct SpawnRow src/state.rs
struct StallPolicy src/resilience.rs
struct StdinApprover src/approve.rs
struct StepRecord src/state.rs
struct Store src/state.rs
struct TaskContract src/contract.rs
struct ToolCall src/provider/mod.rs
struct ToolSpec src/provider/mod.rs
struct Toolbox src/tools/custom.rs
struct Usage src/provider/mod.rs
struct Verdict src/policy.rs
trait Approver src/approve.rs
trait Observer src/observe.rs
trait Provider src/provider/mod.rs
trait Sandbox src/sandbox.rs
trait Tool src/tools/custom.rs
type Result src/error.rs
type ToolFuture src/tools/custom.rs