Expand description
Explicit local/test workspace adapter.
This crate provides a concrete implementation of the Workspace trait
for local filesystem access. It is the counterpart of agent-workspace-server
for single-process deployments and testing.
§Design decisions
§Local-first, portable
The local workspace uses only tokio::fs and tokio::process::Command,
requiring no external dependencies beyond the host filesystem. Remote
providers (Daytona, Moulin, E2B) are in the agents-runtime crate and
may be migrated here in a follow-up.
§Path safety
All paths are resolved relative to the workspace root. Absolute paths are accepted but must be within the root or the operation fails.
Structs§
- Environment
Secret Resolver - Filesystem
Snapshot Object Store - Local
Environment Provider - Development-only environment provider. Production composition never constructs this adapter.
- Local
Host Executor - Local
Preview Provider - Local
Snapshot Provider - Explicit local/test snapshot importer. The configured root is the only directory under which destination workspace IDs may be created.
- Local
Workspace - A local filesystem workspace implementation.
- Local
Workspace Provider - Local
Workspace Provider Registry
Functions§
- create_
local_ workspace - Create a local workspace at the given root.