mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
The hardcoded sample workflow entries in `workflow-detail.tsx` still embedded the legacy flat `RunSettings` shape (top-level `llm`, `vars`, `sandbox`, `setup`) — a visible mismatch with what the server now returns on `/api/v1/runs/:id/settings`. Rewrites the four static literals (fix_build, implement, sync_drift, expand) to mirror the v2 `SettingsFile` tree: `_version`, `run.goal`, `run.inputs`, `run.model`, `run.sandbox`, `run.prepare.steps`, `run.prepare.timeout`, etc. Duration and size fields now use the human-readable forms (`"120s"`, `"8GB"`, `"10GB"`) per R83 / R84. Adds a module-level doc comment pointing readers at the `fabro_types::settings::SettingsFile` Rust type as the source of truth for the shape. `RunSettings` stays as `Record<string, unknown>`, so the literal typechecks without needing a formal type assertion on each entry. fabro-web `typecheck` / `test` / `build` stay green. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fabro-web | ||
| marketing | ||
| remotion | ||