@tanstack/ai-svelte 0.10.3 → 0.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -14,4 +14,4 @@ export { createSummarize } from './create-summarize.svelte';
14
14
  export type { CreateSummarizeOptions, CreateSummarizeReturn, } from './create-summarize.svelte';
15
15
  export { createGenerateVideo } from './create-generate-video.svelte';
16
16
  export type { CreateGenerateVideoOptions, CreateGenerateVideoReturn, } from './create-generate-video.svelte';
17
- export { fetchServerSentEvents, fetchHttpStream, stream, createChatClientOptions, clientTools, type ConnectionAdapter, type FetchConnectionOptions, type InferChatMessages, type GenerationClientState, type ImageGenerateInput, type AudioGenerateInput, type SpeechGenerateInput, type TranscriptionGenerateInput, type SummarizeGenerateInput, type VideoGenerateInput, type VideoGenerateResult, type VideoStatusInfo, } from '@tanstack/ai-client';
17
+ export { fetchServerSentEvents, fetchHttpStream, stream, rpcStream, createChatClientOptions, clientTools, type ConnectionAdapter, type ConnectConnectionAdapter, type SubscribeConnectionAdapter, type RunAgentInputContext, type FetchConnectionOptions, type InferChatMessages, type GenerationClientState, type ImageGenerateInput, type AudioGenerateInput, type SpeechGenerateInput, type TranscriptionGenerateInput, type SummarizeGenerateInput, type VideoGenerateInput, type VideoGenerateResult, type VideoStatusInfo, } from '@tanstack/ai-client';
package/dist/index.js CHANGED
@@ -8,4 +8,4 @@ export { createTranscription } from './create-transcription.svelte';
8
8
  export { createSummarize } from './create-summarize.svelte';
9
9
  export { createGenerateVideo } from './create-generate-video.svelte';
10
10
  // Re-export from ai-client for convenience
11
- export { fetchServerSentEvents, fetchHttpStream, stream, createChatClientOptions, clientTools, } from '@tanstack/ai-client';
11
+ export { fetchServerSentEvents, fetchHttpStream, stream, rpcStream, createChatClientOptions, clientTools, } from '@tanstack/ai-client';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/ai-svelte",
3
- "version": "0.10.3",
3
+ "version": "0.10.4",
4
4
  "description": "Svelte bindings for TanStack AI",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -33,11 +33,11 @@
33
33
  "streaming"
34
34
  ],
35
35
  "dependencies": {
36
- "@tanstack/ai-client": "0.11.3"
36
+ "@tanstack/ai-client": "0.11.4"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "svelte": "^5.0.0",
40
- "@tanstack/ai": "^0.20.1"
40
+ "@tanstack/ai": "^0.21.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@standard-schema/spec": "^1.1.0",
@@ -50,7 +50,7 @@
50
50
  "svelte-check": "^4.2.0",
51
51
  "typescript": "5.9.3",
52
52
  "vite": "^7.3.3",
53
- "@tanstack/ai": "0.20.1"
53
+ "@tanstack/ai": "0.21.0"
54
54
  },
55
55
  "scripts": {
56
56
  "clean": "rm -rf ./dist",
package/src/index.ts CHANGED
@@ -55,9 +55,13 @@ export {
55
55
  fetchServerSentEvents,
56
56
  fetchHttpStream,
57
57
  stream,
58
+ rpcStream,
58
59
  createChatClientOptions,
59
60
  clientTools,
60
61
  type ConnectionAdapter,
62
+ type ConnectConnectionAdapter,
63
+ type SubscribeConnectionAdapter,
64
+ type RunAgentInputContext,
61
65
  type FetchConnectionOptions,
62
66
  type InferChatMessages,
63
67
  type GenerationClientState,