@cloudflare/ai-chat 0.11.0 → 0.12.1
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 +250 -121
- package/dist/index.js +840 -313
- package/dist/index.js.map +1 -1
- package/dist/react.d.ts +4 -0
- package/package.json +4 -3
package/dist/react.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AITool,
|
|
3
|
+
ChatTurnEndEvent,
|
|
4
|
+
ChatTurnOutcome,
|
|
3
5
|
ClientToolSchema,
|
|
4
6
|
JSONSchemaType,
|
|
5
7
|
OnToolCallCallback,
|
|
@@ -18,6 +20,8 @@ import {
|
|
|
18
20
|
} from "agents/chat/react";
|
|
19
21
|
export {
|
|
20
22
|
type AITool,
|
|
23
|
+
type ChatTurnEndEvent,
|
|
24
|
+
type ChatTurnOutcome,
|
|
21
25
|
type ClientToolSchema,
|
|
22
26
|
type JSONSchemaType,
|
|
23
27
|
type OnToolCallCallback,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/ai-chat",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "Cloudflare Agents (x) AI SDK Chat",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -24,13 +24,14 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@playwright/test": "^1.61.1",
|
|
26
26
|
"@types/react": "^19.2.17",
|
|
27
|
+
"agents": "^0.25.0",
|
|
27
28
|
"ai": "^7.0.0",
|
|
28
29
|
"react": "^19.2.7",
|
|
29
|
-
"zod": "^4.4
|
|
30
|
+
"zod": "^4.5.4"
|
|
30
31
|
},
|
|
31
32
|
"peerDependencies": {
|
|
32
33
|
"@ai-sdk/react": "^3.0.0 || ^4.0.0",
|
|
33
|
-
"agents": ">=0.
|
|
34
|
+
"agents": ">=0.25.0 <1.0.0",
|
|
34
35
|
"ai": "^6.0.0 || ^7.0.0",
|
|
35
36
|
"react": "^19.0.0"
|
|
36
37
|
},
|