You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
backends: parse Claude SDK transcript entries instead of reading them through any #1370
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: backendsAgentBackend implementations and the seam they share.priority: p3Someday. Needs a driving use case before it starts.type: fixSomething is broken and must behave the way it is documented.
History reads SDK transcript JSON with 12 anys (packages/ui-backend-claude/src/history.ts). The contract test drives a scripted query cast as unknown as typeof query (packages/ui-backend-claude/tests/backend-contract.test.ts:31-50), so an upstream transcript shape change would pass tests and fail silently in production.
Scope
A zod schema for the transcript entry kinds history consumes, tolerant of unknown extra fields.
Unknown entry kinds are skipped with a diagnostic, not crashed on.
Out of scope
Upgrading the SDK.
Acceptance criteria
No any in history.ts.
A test with a renamed field in a fixture transcript produces the diagnostic, failing before the change.
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: backendsAgentBackend implementations and the seam they share.priority: p3Someday. Needs a driving use case before it starts.type: fixSomething is broken and must behave the way it is documented.
Activity