summaryrefslogtreecommitdiffhomepage
path: root/scripts
AgeCommit message (Collapse)Author
2026-06-07feat(chat): live turn metrics — telemetry reducer + renderingAdam Malczewski
Consume wire/transport-contract 0.3.0 (step-complete event + timing fields on usage/tool-result/done). Pure core/telemetry module: foldMetricEvent (reducer) + derived selectors (stepTps, turnTps, etc). TelemetryState is pure data, no active-turn tracking — consumers pass turnId to selectors. ChatStore wires foldMetricEvent into handleDelta and exposes telemetry + currentTurnId. ChatView shows step-metrics footer (time/TPS/tokens) on assistant text bubbles and durationMs badge on tool cards. New TurnSummary component renders turn-level stats (wall-clock, tokens, steps, TPS) in a DaisyUI stats block. Extended live-probe to verify telemetry events against bin/up (pending backend restart). 336 tests, typecheck 0, biome clean, build ok.
2026-06-07test(probe): live-verify tool-call batching (stepId) end-to-endAdam Malczewski
Extend scripts/live-probe.ts with a second turn that elicits parallel tool calls and asserts: live tool events carry stepId, replayed chunks carry chunk.stepId, and groupRenderedChunks folds the batch identically live and on replay. Deltas now routed by conversationId. Gated (not in bun run test). Verified 13/13 against bin/up.
2026-06-07chore: biome-format scripts/live-probe.tsAdam Malczewski
2026-06-07Slice 2 live-verified: e2e chat probe 9/9 against running backendAdam Malczewski
- scripts/live-probe.ts: gated bun harness driving the real FE stack (adapters/ws + core/chunks + conversation-cache + adapters/idb + HTTP history) against bin/up; not part of `bun run test` - backend-handoff.md: record the 9/9 live result; no backend mismatch