mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-01 02:04:24 +00:00
Petri creates and owns every run sandbox through the sandbox driver, so what Fabro still needs around a driver handle is the Pebble glue: the Environment pebble's coding agent runs its tools through, the exec policy (stop grace, working directory, StripAll, the termination mapping, the redacted output tail), pebble's port routes over the driver's preview URLs, the secret redactor, the path helpers, and a log rendering that appends a failed command's redacted tail. This crate holds that glue, moved from fabro-sandbox, over `Arc<dyn Sandbox>` plus a working directory instead of `RunSandbox`, with a `MockSandbox` double behind `test-support`. `fabro exec` creates its host sandbox directly on the driver's Host provider and activates it; Ask Fabro wraps the attached handle. Both keep the provider alive beside the sandbox where the session's processes are the provider's process groups. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||