Skip to content

Add prompt-based Turns and expandable timelines - #12

Merged
dreveman merged 1 commit into
mainfrom
dev/dreveman/turn
Oct 14, 2026
Merged

dreveman merged 1 commit into
mainfrom
dev/dreveman/turn

Conversation

@dreveman

Copy link
Copy Markdown
Owner

Replace Responses with prompt-based Turns and lazy, bounded model/tool waterfalls. Show distinct model/provider pairs once in each turn header, preserve overlap and unknown timing, support legacy Pi prompt boundaries, and retain full-timeline drill-down.

Attribute work using unique native identities, capture-scoped prompt flows and ancestry, then unambiguous containment. Preserve ambiguous requests unless request-ID correlation is one-to-one. Make failed setup retryable without stale async results.

Keep setup metadata lightweight, use indexed flow and parent lookups, defer tool payloads until expansion, and release temporary tables. Wire native browser retry and large-WASM regressions into the UI smoke suite.

Tests: npm run check; npm test; npm run check:example; UI typecheck and WASM build; integrated tools/perfetto smoke-ui --existing-server across all four harnesses, setup-failure recovery, desktop/mobile layouts and timeline navigation.

WASM stress: 100,000 operations and 1,000,000 unrelated indexed flow rows; setup about 2.4 seconds. Perfetto ESLint passes.

Replace Responses with prompt-based `Turns` and lazy, bounded model/tool waterfalls. Show distinct model/provider pairs once in each turn header, preserve overlap and unknown timing, support legacy Pi prompt boundaries, and retain full-timeline drill-down.

Attribute work using unique native identities, capture-scoped prompt flows and ancestry, then unambiguous containment. Preserve ambiguous requests unless request-ID correlation is one-to-one. Make failed setup retryable without stale async results.

Keep setup metadata lightweight, use indexed flow and parent lookups, defer tool payloads until expansion, and release temporary tables. Wire native browser retry and large-WASM regressions into the UI smoke suite.

Tests: `npm run check`; `npm test`; `npm run check:example`; UI typecheck and WASM build; integrated `tools/perfetto smoke-ui --existing-server` across all four harnesses, setup-failure recovery, desktop/mobile layouts and timeline navigation.

WASM stress: 100,000 operations and 1,000,000 unrelated indexed flow rows; setup about 2.4 seconds. Perfetto ESLint passes.
@dreveman
dreveman merged commit 547e22f into main Oct 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant