mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
refactor(x): finish turn-spine adoption for headless surfaces
Background-task and live-note transcript views move from fetch-once to the shared useAgentRunTranscript hook (useTurn over the turns:events spine, with a one-shot legacy runs:fetch fallback for pre-migration run ids), so an in-flight run's transcript now streams live. The headless runner drains its execution stream — delivery rides the turn event bus, and an unconsumed HotStream buffered every durable event until settle. Deletes the caller-less runHeadlessTurn duplicate (HeadlessAgentRunner is the implementation; session-design.md now says so) and the orphaned web-search skill file that was never registered. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
248bb0d1a1
commit
f916cb1d70
12 changed files with 132 additions and 180 deletions
|
|
@ -376,7 +376,10 @@ which governs mutation of live logs, not their removal.
|
|||
## 11. Headless standalone turns
|
||||
|
||||
A helper covers the non-session callers (background tasks, live notes,
|
||||
knowledge pipelines, scheduled agents):
|
||||
knowledge pipelines, scheduled agents). Implemented as
|
||||
`HeadlessAgentRunner` in `agents/headless.ts` (start/run handle with
|
||||
turn id, reduced state, and final assistant text); the shape below is
|
||||
the contract it fulfils:
|
||||
|
||||
```ts
|
||||
function runHeadlessTurn(input: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue