mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-05 08:10:39 +00:00
Moves the sandbox runtime types from `fabro-types/src/settings/sandbox.rs` into a new `fabro-sandbox/src/config.rs` module: - `SandboxSettings`, `LocalSandboxSettings`, `DaytonaSettings`, `DaytonaSnapshotSettings`, `DaytonaNetwork`, `DockerfileSource`, `WorktreeMode` (with the custom serde `DaytonaNetwork` serialize/deserialize impls intact). - `bridge_sandbox` and `bridge_worktree_mode` (v2 `RunSandboxLayer` → `SandboxSettings` converters) also move from `fabro-types/src/settings/v2/to_runtime.rs` into the new config module. `fabro-sandbox/src/daytona/mod.rs` and `sandbox_spec.rs` update to import from the crate-local `config` module instead of `fabro_types::settings::sandbox`. The daytona module still re-exports `DaytonaSettings as DaytonaConfig` etc., so no breaking changes for callers of `fabro_sandbox::daytona::*`. Consumer updates: - `fabro-workflow/src/operations/start.rs` and `pipeline/types.rs` now import `WorktreeMode`, `SandboxSettings` (as `sandbox_config` alias), `bridge_sandbox`, and `bridge_worktree_mode` from `fabro_sandbox::config`. - `fabro-server/src/run_manifest.rs` imports `bridge_sandbox` from `fabro_sandbox::config`. `to_runtime.rs` in fabro-types shrinks to just the three remaining helpers tied to the legacy `run.rs` module types (`bridge_merge_strategy`, `bridge_pull_request`, `bridge_run_artifacts`). Those move out in the next 6.3b pass when the `run.rs` module itself moves. Five of the seven legacy runtime type modules are now gone; two remain (run, server). 3,758 workspace tests pass. `cargo fmt --check --all` and `cargo clippy --workspace -- -D warnings` are clean. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||