ai 3.1.4 → 3.1.6
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.mts +23 -3
- package/dist/index.d.ts +23 -3
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/prompts/dist/index.d.mts +4 -0
- package/prompts/dist/index.d.ts +4 -0
- package/react/dist/index.d.mts +10 -1
- package/react/dist/index.d.ts +10 -1
- package/react/dist/index.js.map +1 -1
- package/react/dist/index.mjs.map +1 -1
- package/rsc/dist/index.d.ts +20 -9
- package/rsc/dist/rsc-server.d.mts +20 -9
- package/rsc/dist/rsc-server.mjs +27 -6
- package/rsc/dist/rsc-server.mjs.map +1 -1
- package/solid/dist/index.d.mts +4 -0
- package/solid/dist/index.d.ts +4 -0
- package/svelte/dist/index.d.mts +4 -0
- package/svelte/dist/index.d.ts +4 -0
- package/vue/dist/index.d.mts +4 -0
- package/vue/dist/index.d.ts +4 -0
package/solid/dist/index.d.mts
CHANGED
@@ -76,9 +76,13 @@ interface Message {
|
|
76
76
|
tool_call_id?: string;
|
77
77
|
createdAt?: Date;
|
78
78
|
content: string;
|
79
|
+
/**
|
80
|
+
@deprecated Use AI SDK RSC instead: https://sdk.vercel.ai/docs/ai-sdk-rsc
|
81
|
+
*/
|
79
82
|
ui?: string | JSX.Element | JSX.Element[] | null | undefined;
|
80
83
|
role: 'system' | 'user' | 'assistant' | 'function' | 'data' | 'tool';
|
81
84
|
/**
|
85
|
+
*
|
82
86
|
* If the message has a role of `function`, the `name` field is the name of the function.
|
83
87
|
* Otherwise, the name field should not be set.
|
84
88
|
*/
|
package/solid/dist/index.d.ts
CHANGED
@@ -76,9 +76,13 @@ interface Message {
|
|
76
76
|
tool_call_id?: string;
|
77
77
|
createdAt?: Date;
|
78
78
|
content: string;
|
79
|
+
/**
|
80
|
+
@deprecated Use AI SDK RSC instead: https://sdk.vercel.ai/docs/ai-sdk-rsc
|
81
|
+
*/
|
79
82
|
ui?: string | JSX.Element | JSX.Element[] | null | undefined;
|
80
83
|
role: 'system' | 'user' | 'assistant' | 'function' | 'data' | 'tool';
|
81
84
|
/**
|
85
|
+
*
|
82
86
|
* If the message has a role of `function`, the `name` field is the name of the function.
|
83
87
|
* Otherwise, the name field should not be set.
|
84
88
|
*/
|
package/svelte/dist/index.d.mts
CHANGED
@@ -76,9 +76,13 @@ interface Message {
|
|
76
76
|
tool_call_id?: string;
|
77
77
|
createdAt?: Date;
|
78
78
|
content: string;
|
79
|
+
/**
|
80
|
+
@deprecated Use AI SDK RSC instead: https://sdk.vercel.ai/docs/ai-sdk-rsc
|
81
|
+
*/
|
79
82
|
ui?: string | JSX.Element | JSX.Element[] | null | undefined;
|
80
83
|
role: 'system' | 'user' | 'assistant' | 'function' | 'data' | 'tool';
|
81
84
|
/**
|
85
|
+
*
|
82
86
|
* If the message has a role of `function`, the `name` field is the name of the function.
|
83
87
|
* Otherwise, the name field should not be set.
|
84
88
|
*/
|
package/svelte/dist/index.d.ts
CHANGED
@@ -76,9 +76,13 @@ interface Message {
|
|
76
76
|
tool_call_id?: string;
|
77
77
|
createdAt?: Date;
|
78
78
|
content: string;
|
79
|
+
/**
|
80
|
+
@deprecated Use AI SDK RSC instead: https://sdk.vercel.ai/docs/ai-sdk-rsc
|
81
|
+
*/
|
79
82
|
ui?: string | JSX.Element | JSX.Element[] | null | undefined;
|
80
83
|
role: 'system' | 'user' | 'assistant' | 'function' | 'data' | 'tool';
|
81
84
|
/**
|
85
|
+
*
|
82
86
|
* If the message has a role of `function`, the `name` field is the name of the function.
|
83
87
|
* Otherwise, the name field should not be set.
|
84
88
|
*/
|
package/vue/dist/index.d.mts
CHANGED
@@ -76,9 +76,13 @@ interface Message {
|
|
76
76
|
tool_call_id?: string;
|
77
77
|
createdAt?: Date;
|
78
78
|
content: string;
|
79
|
+
/**
|
80
|
+
@deprecated Use AI SDK RSC instead: https://sdk.vercel.ai/docs/ai-sdk-rsc
|
81
|
+
*/
|
79
82
|
ui?: string | JSX.Element | JSX.Element[] | null | undefined;
|
80
83
|
role: 'system' | 'user' | 'assistant' | 'function' | 'data' | 'tool';
|
81
84
|
/**
|
85
|
+
*
|
82
86
|
* If the message has a role of `function`, the `name` field is the name of the function.
|
83
87
|
* Otherwise, the name field should not be set.
|
84
88
|
*/
|
package/vue/dist/index.d.ts
CHANGED
@@ -76,9 +76,13 @@ interface Message {
|
|
76
76
|
tool_call_id?: string;
|
77
77
|
createdAt?: Date;
|
78
78
|
content: string;
|
79
|
+
/**
|
80
|
+
@deprecated Use AI SDK RSC instead: https://sdk.vercel.ai/docs/ai-sdk-rsc
|
81
|
+
*/
|
79
82
|
ui?: string | JSX.Element | JSX.Element[] | null | undefined;
|
80
83
|
role: 'system' | 'user' | 'assistant' | 'function' | 'data' | 'tool';
|
81
84
|
/**
|
85
|
+
*
|
82
86
|
* If the message has a role of `function`, the `name` field is the name of the function.
|
83
87
|
* Otherwise, the name field should not be set.
|
84
88
|
*/
|