- Updated dependencies [
26d8243]:- @tanstack/ai@0.9.2
- @tanstack/ai-client@0.7.5
- Updated dependencies [
b8cc69e]:- @tanstack/ai@0.9.1
- @tanstack/ai-client@0.7.4
- Updated dependencies [
842e119]:- @tanstack/ai@0.9.0
- @tanstack/ai-client@0.7.3
-
Add an explicit subscription lifecycle to
ChatClientwithsubscribe()/unsubscribe(),isSubscribed,connectionStatus, andsessionGenerating, while keeping request lifecycle state separate from long-lived connection state for durable chat sessions. (#356)Update the React, Preact, Solid, Svelte, and Vue chat bindings with
livemode plus reactive subscription/session state, and improveStreamProcessorhandling for concurrent runs and reconnects so active sessions do not finalize early or duplicate resumed assistant messages. -
Add durable
subscribe()/send()transport support toChatClientwhile preserving compatibility with existingconnect()adapters. This also introduces shared generation clients for one-shot streaming tasks and updates the framework wrappers to use the new generation transport APIs. (#286)Improve core stream processing to better handle concurrent runs and resumed streams so shared sessions stay consistent during reconnects and overlapping generations.
-
Updated dependencies [
64b9cba,dc53e1b]:- @tanstack/ai@0.8.1
- @tanstack/ai-client@0.7.2
- Updated dependencies [
f62eeb0]:- @tanstack/ai@0.8.0
- @tanstack/ai-client@0.7.1
- Updated dependencies [
86be1c8]:- @tanstack/ai@0.7.0
- @tanstack/ai-client@0.7.0
-
feat: pass abort signal to generation fetchers and extract GenerationFetcher utility type (#327)
- Generation clients now forward an
AbortSignalto fetcher functions via an optionaloptionsparameter, enabling cancellation support whenstop()is called - Introduced
GenerationFetcher<TInput, TResult>utility type in@tanstack/ai-clientto centralize the fetcher function signature across all framework integrations - All framework hooks/composables (React, Solid, Vue, Svelte) now use the shared
GenerationFetchertype instead of inline definitions
- Generation clients now forward an
-
Updated dependencies [
6dfffca,6dfffca]:- @tanstack/ai@0.6.3
- @tanstack/ai-client@0.6.0
- Updated dependencies [
2ee0b33]:- @tanstack/ai@0.6.2
- @tanstack/ai-client@0.5.3
- Updated dependencies [
4fe31d4]:- @tanstack/ai-client@0.5.2
- Updated dependencies [
d8678e2]:- @tanstack/ai@0.6.1
- @tanstack/ai-client@0.5.1
-
feat: add custom event dispatch support for tools (#293)
Tools can now emit custom events during execution via
dispatchEvent(). Custom events are streamed to clients ascustom_eventstream chunks and surfaced through the client chat hook'sonCustomEventcallback. This enables tools to send progress updates, intermediate results, or any structured data back to the UI during long-running operations. -
Updated dependencies [
5aa6acc,1f800aa]:- @tanstack/ai@0.6.0
- @tanstack/ai-client@0.5.0
- Updated dependencies [
58702bc]:- @tanstack/ai@0.5.1
- @tanstack/ai-client@0.4.5
- Updated dependencies [
6f886e9]:- @tanstack/ai@0.4.2
- @tanstack/ai-client@0.4.3
- Updated dependencies [
6e1bb50]:- @tanstack/ai@0.4.1
- @tanstack/ai-client@0.4.2
- add multiple modalities support to the client (#263)
- Updated dependencies [
0158d14]:- @tanstack/ai@0.4.0
- @tanstack/ai-client@0.4.1
- Added status property to useChat to track the generation lifecycle (ready, submitted, streaming, error) (#247)
- Updated dependencies [
e52135f]:- @tanstack/ai@0.3.0
- @tanstack/ai-client@0.3.0
- Updated dependencies [
7573619]:- @tanstack/ai@0.2.2
- @tanstack/ai-client@0.2.2
- Standard schema / standard json schema support for TanStack AI (#165)
- Updated dependencies [
c5df33c]:- @tanstack/ai-client@0.2.0
- @tanstack/ai@0.2.0
- Split up adapters for better tree shaking into separate functionalities (#137)
- Updated dependencies [
8d77614]:- @tanstack/ai@0.1.0
- @tanstack/ai-client@0.1.0
- Updated dependencies [
52c3172]:- @tanstack/ai@0.0.3
- @tanstack/ai-client@0.0.3
- Introduce
useChat()for Vue (#84)