TanStack
OSS
ai
Sign in / Sign up
Open main menu
ai
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
fix/cjs-output-and-json-response
196ef98c docs: add React Native & Expo guide + toJSONResponse / fetchJSON references Serves three personas: Expo/RN builders hitting streaming-response crashes, builders on other non-streaming runtimes (edge proxies, legacy serverless), and evaluators checking whether TanStack AI supports RN/Expo. - New journey page at docs/chat/non-streaming-runtimes.md titled 'React Native & Expo'. A → B: Expo API route crashing on streaming response → working chat via toJSONResponse + fetchJSON. - Cross-linked from chat/streaming.md (callout near toServerSentEventsResponse) and chat/connection-adapters.md (new 'JSON Array (non-streaming runtimes)' subsection). - Added the new entries to the API references: toJSONResponse in docs/api/ai.md and fetchJSON in docs/api/ai-client.md, each pointing back to the walkthrough. - Registered the new page in docs/config.json under 'Chat & Streaming', sequenced right after Connection Adapters.
by Alem Tuzlak
A
Succeeded
fix/cjs-output-and-json-response
196ef98c Merge ee3f393cdd95756f5e7bc889e8adf49fb601cff0 into 7e02c6004ba353cbd7e10d9317f12eca70e445f1
by Alem Tuzlak
A
Succeeded
fix/cjs-output-and-json-response
b0ca2364 ci: apply automated fixes
by autofix-ci...
a
Succeeded
fix/cjs-output-and-json-response
b0ca2364 ci: apply automated fixes
by autofix-ci...
a
Succeeded
fix/cjs-output-and-json-response
b0ca2364 Merge 1bbc932081ab497eecc95ae9f86063d89d4fc56f into 1d6f3bef4fd1c4917823612fbcd9450a0fd2e627
by Alem Tuzlak
A
Succeeded
fix/cjs-output-and-json-response
e44322b3 feat: dual ESM+CJS builds and toJSONResponse / fetchJSON utilities Fixes #308 and #309. - @tanstack/ai, @tanstack/ai-client, @tanstack/ai-event-client now emit both dist/esm/*.js and dist/cjs/*.cjs with matching .d.cts files. package.json exports gained nested import/require conditions plus a `main` field so Metro / Expo / other CJS-only resolvers can find the subpath exports (`./adapters`, `./middlewares`, etc.). - New toJSONResponse(stream, init?) on @tanstack/ai: drains the stream and returns a JSON-array Response. For runtimes that can't stream ReadableStream bodies (Expo's @expo/server, edge proxies). - New fetchJSON(url, options?) connection adapter on @tanstack/ai-client: the client-side counterpart — fetches the JSON array and replays each chunk into the normal ChatClient pipeline. - Trade-off documented in both: you lose incremental rendering; use SSE / HTTP-stream responses when the runtime supports them.
by Alem Tuzlak
A
Succeeded
fix/cjs-output-and-json-response
e44322b3 Merge e11829586a3103cc114246507c275915e92ffd18 into 1d6f3bef4fd1c4917823612fbcd9450a0fd2e627
by Alem Tuzlak
A
Previous page
Previous
Next
Next page