fabro/lib/packages/fabro-api-client/src/api
Bryan Helmkamp e7d55d6ec7
Serve fork, rewind, retry and the timeline on the runs API
`GET /runs/{id}/timeline` lists the run's checkpoints with their Petri
positions, stages, commits and diff summaries, and its fork origin.
`POST /runs/{id}/fork` resolves a target on that timeline, creates the
new run, seeds it through `fabro_petri::fork` and queues it in resume
mode, so its worker restores the checkpoint into a fresh workspace and
continues from the position; a position inside a parallel branch is
refused with 400 before the run exists. `POST /runs/{id}/rewind` is that
fork of a terminal run followed by the source's archive and its
`run.superseded` record (207 when the archive fails); `POST
/runs/{id}/retry` forks a terminal run at its last checkpoint, rerunning
the stage that failed. The projection carries `forked_from`. The Rust
and TypeScript clients gain the four calls.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 23:17:25 -04:00
..
auth-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
automations-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
completions-api.ts Expose lithos request and response shapes through the API, server, CLI, and web 2026-09-09 17:26:57 -06:00
discovery-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
environments-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
human-in-the-loop-api.ts Put the driver's sandbox status on the API instead of a projection 2026-09-11 13:07:00 -06:00
insights-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
install-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
integrations-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
mcpservers-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
models-api.ts feat(model): separate tool and reasoning tests 2026-08-25 13:36:51 -04:00
repos-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
run-internals-api.ts Serve the run stream as the only run event API 2026-09-18 13:36:00 -04:00
run-outputs-api.ts Regenerate the TypeScript API client for the usage schemas 2026-09-14 12:31:34 -06:00
runs-api.ts Serve fork, rewind, retry and the timeline on the runs API 2026-09-18 23:17:25 -04:00
sandboxes-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
secrets-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
sessions-api.ts Give Ask Fabro sessions their own event log 2026-09-18 12:47:43 -04:00
settings-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
system-api.ts Serve the run stream as the only run event API 2026-09-18 13:36:00 -04:00
usage-api.ts Regenerate the TypeScript API client for the usage schemas 2026-09-14 12:31:34 -06:00
variables-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
workflow-versions-api.ts Add content-based workflow version registration tools 2026-09-12 10:15:19 -06:00
workflows-api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00