Skip to main content

Crate agent_workspace_adapter_local

Crate agent_workspace_adapter_local 

Source
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§

EnvironmentSecretResolver
FilesystemSnapshotObjectStore
LocalEnvironmentProvider
Development-only environment provider. Production composition never constructs this adapter.
LocalHostExecutor
LocalPreviewProvider
LocalSnapshotProvider
Explicit local/test snapshot importer. The configured root is the only directory under which destination workspace IDs may be created.
LocalWorkspace
A local filesystem workspace implementation.
LocalWorkspaceProvider
LocalWorkspaceProviderRegistry

Functions§

create_local_workspace
Create a local workspace at the given root.