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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Support matrix
|
|
2
|
+
|
|
3
|
+
> [!NOTE]
|
|
4
|
+
> **Public Preview:** `ai-sdk-azure-durable-task` `0.1.0` is pre-1.0
|
|
5
|
+
> Preview software for evaluation and feedback. APIs, behaviors, packaging
|
|
6
|
+
> and support may change or be retired before General Availability.
|
|
7
|
+
> The matrix describes Preview compatibility, not a GA support guarantee.
|
|
8
|
+
|
|
9
|
+
| Area | Supported | Boundary |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| Runtime | Node >=22.15, strict TypeScript, ESM; browser-only `/transport` | client/worker are Node-only, not Edge; SQLite is experimental only when constructed |
|
|
12
|
+
| AI SDK | >=6.0.303 <8.0.0; CI pins 6.0.303 and 7.0.172; v3 models on 6/7 and v4 models on 7 | AI SDK 4/5/8 unsupported; hosted providers require separate qualification |
|
|
13
|
+
| Native loop settings | retained call settings, public settings wrapper/getter defaults, effective JSON prepared context, worker hooks, validated output after outer stop | explicit retention for opaque agents; no private ToolLoopAgent field reads or prepareCall interception; DTS-owned retry/cancellation |
|
|
14
|
+
| DTS | JS/azuremanaged 0.4.0 locked | private waiter adapter intentionally version-sensitive |
|
|
15
|
+
| Tools | native tool, durableTool, pure sync local, worker single-attempt local | async local orchestrator helpers rejected |
|
|
16
|
+
| Output | native Output.object parsing, correction turns, typed client revalidation | custom parser logic must be deterministic and JSON-compatible across replay |
|
|
17
|
+
| Approvals | predicates, full pending payload, token-required approvePending, shared atomic decision receipts, typed conflicts, timeout/deferred calls | app supplies identity/authorization/CSRF; event delivery remains at least once, not a Postgres/DTS transaction |
|
|
18
|
+
| Conversation | inline/stored message and step history, queued correlated sessions | one writer per stored thread; status retains 32 completed turn IDs |
|
|
19
|
+
| Stores | memory/file/SQLite and tenant/namespace-scoped Postgres via caller-owned `PgPoolLike`/`PgClientLike`; shared immutable/CAS contracts; explicit pinned Postgres trim | no pg dependency; caller creates/configures/closes pools; local stores are not cross-host storage |
|
|
20
|
+
| MCP | caller-supplied `MCPClientLike` factory, single-flight discovery, exact collision-checked routing, native multimodal results, activity retry/timeout policy | no @ai-sdk/mcp dependency; pool closes factory-created connections; tests inject a compatible client, not a real external MCP server |
|
|
21
|
+
| Streaming | memory/Redis ordered brokers via caller-supplied connected `RedisClientLike`, coalescing, cursors/retention gaps, turn/approval boundaries, native approval parts and browser ChatTransport | no redis dependency; caller manages connection/errors/shutdown; model-step chunks publish after commit; incremental resume needs the existing assistant message |
|
|
22
|
+
| Web hosting | browser transport and Node client routes + separate long-lived worker | no Next.js/app workspaces in SDK repo; auth/tenant controls and platform identity/network setup are application work; Vercel route is never a worker |
|
|
23
|
+
| Operations | telemetry forwarding, opt-in W3C provider headers, exact worker attempt observers, engine-failure observer, terminate/purge | supply the installed SDK's telemetry integration/exporter; observers at least once; termination is not compensation |
|
|
24
|
+
| Graphs | native generator composition, child orchestrations with typed required DI binding | child input mappers must be replay-pure; not a port of Python pydantic-graph |
|
|
25
|
+
| Versions | complete old contracts/stores, coalesced same-name child versions, parked migrations and fresh approval | conflicting same-name+version configs rejected before registration; no arbitrary mid-activity replacement |
|
|
26
|
+
| Acceptance | original 133 cases retained, new shared-store/HTTP/UI/ops checks, local DTS + Postgres + Redis, built package consumers, gated hosted lane | no hosted Azure, commercial-model or external-MCP certification; scores require independent re-review |
|