@tanstack/ai-svelte 0.23.2 → 0.23.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.
|
@@ -83,7 +83,7 @@ export declare function getUIContext<TOptions>(ui: UIDescriptor<TOptions>): {
|
|
|
83
83
|
chat: ChatUIHost<TOptions>;
|
|
84
84
|
components: ChatUIComponents<TOptions>;
|
|
85
85
|
};
|
|
86
|
-
export declare function readMessages<TOptions>(chat: ChatUIHost<TOptions>): UIMessage<ChatUIToolsOf<TOptions>, ChatUISchemaOf<TOptions> extends infer T ? T extends ChatUISchemaOf<TOptions> ? T extends import("@tanstack/ai").SchemaInput ? import("@tanstack/ai").InferSchemaType<T> : unknown : never : never>[];
|
|
86
|
+
export declare function readMessages<TOptions>(chat: ChatUIHost<TOptions>): UIMessage<ChatUIToolsOf<TOptions>, ChatUISchemaOf<TOptions> extends infer T ? T extends ChatUISchemaOf<TOptions> ? T extends import("@tanstack/ai").SchemaInput ? import("@tanstack/ai").InferSchemaType<T> : unknown : never : never, undefined>[];
|
|
87
87
|
export declare function readInterrupts<TOptions>(chat: ChatUIHost<TOptions>): import("@tanstack/ai-client").BoundInterrupts<ChatUIToolsOf<TOptions>, ChatUIInterruptsOf<TOptions>>;
|
|
88
88
|
export declare function readQueue<TOptions>(chat: ChatUIHost<TOptions>): {
|
|
89
89
|
cancelQueued: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/ai-svelte",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.4",
|
|
4
4
|
"description": "Svelte 5 bindings for TanStack AI streaming chat, structured outputs, and media generation.",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"media-generation"
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@tanstack/ai-client": "^0.
|
|
59
|
+
"@tanstack/ai-client": "^0.34.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"svelte": "^5.0.0",
|
|
63
|
-
"@tanstack/ai": "^0.
|
|
63
|
+
"@tanstack/ai": "^0.59.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@standard-schema/spec": "^1.1.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"svelte-check": "^4.2.0",
|
|
74
74
|
"typescript": "5.9.3",
|
|
75
75
|
"vite": "^8.2.1",
|
|
76
|
-
"@tanstack/ai": "0.
|
|
76
|
+
"@tanstack/ai": "0.59.0"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"clean": "rm -rf ./dist",
|