Skip to main content

Module environment

Module environment 

Source
Expand description

Execution environment abstraction for provider filesystem and process IO.

This module contains the Rust-facing environment capability documented in docs/harness-capabilities/environment.md. Local in-process execution lives in [local].

Structs§

EnvironmentPath
UTF-8 path in the selected execution environment.
ExecOutput
Foreground command result.
ExecRequest
Request to run a foreground/background command inside an environment.
LocalExecutionEnvironment
Local, in-process environment implementation.
NullExecEventSink
Event sink that ignores all events.
SandboxExecutionEnvironment
Execution environment backed by a long-lived sandbox provider JSONL process.
SpawnOutput
Background process start result.

Enums§

ExecEvent
Generic process event emitted by an execution environment.

Traits§

AgentExecutionEnvironment
ExecEventSink