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
- Dispatch types (DispatchTone/Format/Response) were imported from
'@/lib/api', which only re-exports its own request helpers, not the
types it privately imports from '@/lib/types'. Import from the
correct module in the four consuming components.
- CacheBySourceCard's hit-rate calc referenced row.cacheRead/totalInput,
which don't exist on CacheBySourceRow (real fields are
cacheReadTokens/totalInputTokens, used correctly two lines below) —
hit rate was always computing as 0.
- LLMConfig.provider and SettingsPage's local LLMProvider union were
each missing a different subset of providers vs. the server's
canonical enum (server/src/schemas/config.ts); reconciled both to
the full 8-provider set.
- sse.ts: TS 5.7+'s DOM lib types TextDecoderStream.writable as
WritableStream<BufferSource>, no longer structurally matching
pipeThrough's expected pair type; cast through TransformStream to
restore the correct shape (no runtime change).
- AssistantMarkdown's `code` renderer used a custom prop type with an
index signature that no longer matches react-markdown's Components
type; switched to React.HTMLAttributes<HTMLElement>.
- BulkAnalyzeButton.test.tsx: test fixtures/mocks had drifted from the
current Session/AnalysisState/useAnalysis shapes (missing Session
fields, inferred Promise<unknown> instead of Promise<void>, widened
string literals in a Map literal).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments