ai-sdk-azure-durable-task 0.0.0 → 1.0.0
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/CHANGELOG.md +90 -0
- package/CONTRIBUTING.md +69 -0
- package/LICENSE +22 -0
- package/README.md +324 -2
- package/dist/src/agent.d.ts +110 -0
- package/dist/src/agent.js +1336 -0
- package/dist/src/agent.js.map +1 -0
- package/dist/src/approvals.d.ts +20 -0
- package/dist/src/approvals.js +100 -0
- package/dist/src/approvals.js.map +1 -0
- package/dist/src/client-entry.d.ts +12 -0
- package/dist/src/client-entry.js +7 -0
- package/dist/src/client-entry.js.map +1 -0
- package/dist/src/client.d.ts +109 -0
- package/dist/src/client.js +498 -0
- package/dist/src/client.js.map +1 -0
- package/dist/src/decisions.d.ts +54 -0
- package/dist/src/decisions.js +44 -0
- package/dist/src/decisions.js.map +1 -0
- package/dist/src/durable-chat-transport.d.ts +48 -0
- package/dist/src/durable-chat-transport.js +173 -0
- package/dist/src/durable-chat-transport.js.map +1 -0
- package/dist/src/history-types.d.ts +21 -0
- package/dist/src/history-types.js +6 -0
- package/dist/src/history-types.js.map +1 -0
- package/dist/src/history.d.ts +35 -0
- package/dist/src/history.js +163 -0
- package/dist/src/history.js.map +1 -0
- package/dist/src/http.d.ts +9 -0
- package/dist/src/http.js +67 -0
- package/dist/src/http.js.map +1 -0
- package/dist/src/index.d.ts +25 -0
- package/dist/src/index.js +14 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/logging.d.ts +4 -0
- package/dist/src/logging.js +8 -0
- package/dist/src/logging.js.map +1 -0
- package/dist/src/mcp.d.ts +41 -0
- package/dist/src/mcp.js +112 -0
- package/dist/src/mcp.js.map +1 -0
- package/dist/src/status.d.ts +29 -0
- package/dist/src/status.js +50 -0
- package/dist/src/status.js.map +1 -0
- package/dist/src/steps.d.ts +41 -0
- package/dist/src/steps.js +125 -0
- package/dist/src/steps.js.map +1 -0
- package/dist/src/stores/postgres.d.ts +53 -0
- package/dist/src/stores/postgres.js +140 -0
- package/dist/src/stores/postgres.js.map +1 -0
- package/dist/src/stores/sqlite.d.ts +1 -0
- package/dist/src/stores/sqlite.js +2 -0
- package/dist/src/stores/sqlite.js.map +1 -0
- package/dist/src/streaming/redis.d.ts +33 -0
- package/dist/src/streaming/redis.js +55 -0
- package/dist/src/streaming/redis.js.map +1 -0
- package/dist/src/streaming.d.ts +29 -0
- package/dist/src/streaming.js +64 -0
- package/dist/src/streaming.js.map +1 -0
- package/dist/src/telemetry.d.ts +10 -0
- package/dist/src/telemetry.js +49 -0
- package/dist/src/telemetry.js.map +1 -0
- package/dist/src/testing/index.d.ts +70 -0
- package/dist/src/testing/index.js +165 -0
- package/dist/src/testing/index.js.map +1 -0
- package/dist/src/tools.d.ts +96 -0
- package/dist/src/tools.js +69 -0
- package/dist/src/tools.js.map +1 -0
- package/dist/src/types.d.ts +321 -0
- package/dist/src/types.js +19 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/validation.d.ts +1 -0
- package/dist/src/validation.js +19 -0
- package/dist/src/validation.js.map +1 -0
- package/dist/src/worker-entry.d.ts +7 -0
- package/dist/src/worker-entry.js +6 -0
- package/dist/src/worker-entry.js.map +1 -0
- package/dist/src/worker.d.ts +24 -0
- package/dist/src/worker.js +107 -0
- package/dist/src/worker.js.map +1 -0
- package/docs/Hosted-DTS.md +115 -0
- package/docs/architecture.md +76 -0
- package/docs/decisions/0001-dual-surface-authoring.md +14 -0
- package/docs/decisions/0002-generator-turn-stepper.md +8 -0
- package/docs/decisions/0003-tools-deps-and-mcp.md +19 -0
- package/docs/decisions/0004-approvals-and-status.md +18 -0
- package/docs/decisions/0005-state-streaming-subagents-versioning.md +19 -0
- package/docs/decisions/0006-maf-entity-session-comparison-and-hybrid-model.md +360 -0
- package/docs/decisions/0007-workflow-world-dts-and-durable-functions-sketch.md +191 -0
- package/docs/decisions/README.md +17 -0
- package/docs/development.md +139 -0
- package/docs/getting-started.md +325 -0
- package/docs/limitations.md +130 -0
- package/docs/operations.md +178 -0
- package/docs/security-and-tenancy.md +41 -0
- package/docs/support-matrix.md +26 -0
- package/docs/user-guide.md +1120 -0
- package/package.json +121 -12
- package/index.js +0 -1
package/package.json
CHANGED
|
@@ -1,22 +1,131 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-sdk-azure-durable-task",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Public Preview: durable Vercel AI SDK agents on Azure Durable Task Scheduler",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Tamir Dresher",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/vercel-labs/ai-sdk-azure-durable-task.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/vercel-labs/ai-sdk-azure-durable-task#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/vercel-labs/ai-sdk-azure-durable-task/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"durabletask",
|
|
17
|
+
"azure",
|
|
18
|
+
"dts",
|
|
19
|
+
"vercel",
|
|
20
|
+
"ai-sdk",
|
|
21
|
+
"durable-execution",
|
|
22
|
+
"agents",
|
|
23
|
+
"workflow",
|
|
24
|
+
"typescript"
|
|
25
|
+
],
|
|
5
26
|
"type": "module",
|
|
6
|
-
"
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public",
|
|
30
|
+
"tag": "preview"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=22.15.0"
|
|
34
|
+
},
|
|
7
35
|
"exports": {
|
|
8
|
-
".":
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/src/index.d.ts",
|
|
38
|
+
"import": "./dist/src/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./client": {
|
|
41
|
+
"types": "./dist/src/client-entry.d.ts",
|
|
42
|
+
"import": "./dist/src/client-entry.js"
|
|
43
|
+
},
|
|
44
|
+
"./transport": {
|
|
45
|
+
"types": "./dist/src/durable-chat-transport.d.ts",
|
|
46
|
+
"import": "./dist/src/durable-chat-transport.js"
|
|
47
|
+
},
|
|
48
|
+
"./worker": {
|
|
49
|
+
"types": "./dist/src/worker-entry.d.ts",
|
|
50
|
+
"import": "./dist/src/worker-entry.js"
|
|
51
|
+
},
|
|
52
|
+
"./testing": {
|
|
53
|
+
"types": "./dist/src/testing/index.d.ts",
|
|
54
|
+
"import": "./dist/src/testing/index.js"
|
|
55
|
+
},
|
|
56
|
+
"./stores/sqlite": {
|
|
57
|
+
"types": "./dist/src/stores/sqlite.d.ts",
|
|
58
|
+
"import": "./dist/src/stores/sqlite.js"
|
|
59
|
+
},
|
|
60
|
+
"./stores/postgres": {
|
|
61
|
+
"types": "./dist/src/stores/postgres.d.ts",
|
|
62
|
+
"import": "./dist/src/stores/postgres.js"
|
|
63
|
+
},
|
|
64
|
+
"./streaming/redis": {
|
|
65
|
+
"types": "./dist/src/streaming/redis.d.ts",
|
|
66
|
+
"import": "./dist/src/streaming/redis.js"
|
|
67
|
+
}
|
|
9
68
|
},
|
|
69
|
+
"types": "./dist/src/index.d.ts",
|
|
10
70
|
"files": [
|
|
11
|
-
"
|
|
12
|
-
"README.md"
|
|
71
|
+
"dist/src",
|
|
72
|
+
"README.md",
|
|
73
|
+
"LICENSE",
|
|
74
|
+
"CHANGELOG.md",
|
|
75
|
+
"CONTRIBUTING.md",
|
|
76
|
+
"docs/architecture.md",
|
|
77
|
+
"docs/development.md",
|
|
78
|
+
"docs/getting-started.md",
|
|
79
|
+
"docs/user-guide.md",
|
|
80
|
+
"docs/Hosted-DTS.md",
|
|
81
|
+
"docs/limitations.md",
|
|
82
|
+
"docs/operations.md",
|
|
83
|
+
"docs/security-and-tenancy.md",
|
|
84
|
+
"docs/support-matrix.md",
|
|
85
|
+
"docs/decisions/"
|
|
13
86
|
],
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
87
|
+
"scripts": {
|
|
88
|
+
"build": "tsc -p tsconfig.build.json",
|
|
89
|
+
"pretypecheck": "npm run build",
|
|
90
|
+
"typecheck": "tsc --noEmit --declaration false",
|
|
91
|
+
"check:package": "tsx scripts/check-package.ts",
|
|
92
|
+
"qualify:artifact": "tsx scripts/qualify-artifact.ts",
|
|
93
|
+
"pretest": "npm run build",
|
|
94
|
+
"test": "vitest run",
|
|
95
|
+
"test:emulator": "tsx scripts/run-emulator-tests.ts",
|
|
96
|
+
"test:dts": "tsx scripts/run-dts-tests.ts",
|
|
97
|
+
"examples": "tsx scripts/run-examples.ts --in-memory",
|
|
98
|
+
"examples:emulator": "tsx scripts/run-examples.ts --endpoint 127.0.0.1:18080 --taskhub vercel-ai",
|
|
99
|
+
"benchmark": "tsx benchmarks/run_history_scaling_benchmark.ts"
|
|
17
100
|
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"@microsoft/durabletask-js": "0.4.0",
|
|
103
|
+
"@microsoft/durabletask-js-azuremanaged": "0.4.0",
|
|
104
|
+
"@opentelemetry/api": "1.10.0"
|
|
105
|
+
},
|
|
106
|
+
"peerDependencies": {
|
|
107
|
+
"ai": ">=6.0.303 <8.0.0"
|
|
108
|
+
},
|
|
109
|
+
"devDependencies": {
|
|
110
|
+
"@ai-sdk/react": "3.0.306",
|
|
111
|
+
"@azure/identity": "4.14.1",
|
|
112
|
+
"@types/google-protobuf": "3.15.12",
|
|
113
|
+
"@types/json-schema": "7.0.15",
|
|
114
|
+
"@types/node": "22.20.5",
|
|
115
|
+
"@types/react": "19.3.0",
|
|
116
|
+
"@types/react-dom": "19.3.0",
|
|
117
|
+
"ai": "6.0.303",
|
|
118
|
+
"react": "19.3.1",
|
|
119
|
+
"react-dom": "19.3.1",
|
|
120
|
+
"tsx": "4.23.15",
|
|
121
|
+
"typescript": "5.9.3",
|
|
122
|
+
"vitest": "4.1.12",
|
|
123
|
+
"zod": "4.6.7"
|
|
124
|
+
},
|
|
125
|
+
"overrides": {
|
|
126
|
+
"undici": "6.29.1",
|
|
127
|
+
"postcss": "8.5.23",
|
|
128
|
+
"@azure/msal-node": "7.1.0",
|
|
129
|
+
"tinypool": "2.1.2"
|
|
21
130
|
}
|
|
22
131
|
}
|
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|