@theokit/sdk 2.15.2 → 2.18.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/CHANGELOG.md +90 -0
- package/dist/a2a/index.cjs +875 -198
- package/dist/a2a/index.cjs.map +1 -1
- package/dist/a2a/index.js +876 -199
- package/dist/a2a/index.js.map +1 -1
- package/dist/{cron-BxLSz1UH.d.cts → cron-Bbg0mBOv.d.ts} +33 -3
- package/dist/{cron-DcaoP7aW.d.ts → cron-ZLSKbDbB.d.cts} +33 -3
- package/dist/cron.cjs +840 -187
- package/dist/cron.cjs.map +1 -1
- package/dist/cron.d.cts +2 -2
- package/dist/cron.d.ts +2 -2
- package/dist/cron.js +840 -187
- package/dist/cron.js.map +1 -1
- package/dist/define-tool.d.ts +9 -2
- package/dist/{errors-Bart0ptP.d.cts → errors-1tVcX3Fq.d.cts} +1 -1
- package/dist/{errors-DJuuubJK.d.ts → errors-qyVYfk9H.d.ts} +1 -1
- package/dist/errors.d.cts +2 -2
- package/dist/eval.cjs +846 -189
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +846 -189
- package/dist/eval.js.map +1 -1
- package/dist/event-bus.d.ts +3 -0
- package/dist/index.cjs +977 -215
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +122 -27
- package/dist/index.d.ts +122 -27
- package/dist/index.js +977 -217
- package/dist/index.js.map +1 -1
- package/dist/internal/agent-loop/tool-dispatch.d.ts +3 -1
- package/dist/internal/agent-loop/tool-result-guard.d.ts +24 -0
- package/dist/internal/agent-loop/tool-timeout.d.ts +23 -0
- package/dist/internal/llm/openai.d.ts +4 -0
- package/dist/internal/llm/sse.d.ts +13 -1
- package/dist/internal/mcp/client.d.ts +1 -1
- package/dist/internal/memory/active-memory.d.ts +1 -1
- package/dist/internal/persistence/conversation-storage-fs.d.cts +7 -1
- package/dist/internal/persistence/conversation-storage-fs.d.ts +7 -1
- package/dist/internal/persistence/conversation-storage-memory.d.cts +7 -1
- package/dist/internal/persistence/conversation-storage-memory.d.ts +7 -1
- package/dist/internal/persistence/pagination.d.cts +8 -0
- package/dist/internal/persistence/pagination.d.ts +8 -0
- package/dist/internal/plugins/index.cjs +135 -0
- package/dist/internal/plugins/index.cjs.map +1 -1
- package/dist/internal/plugins/index.js +135 -0
- package/dist/internal/plugins/index.js.map +1 -1
- package/dist/internal/plugins/manager.d.cts +21 -1
- package/dist/internal/plugins/manager.d.ts +21 -1
- package/dist/internal/plugins/types.d.cts +40 -0
- package/dist/internal/plugins/types.d.ts +40 -0
- package/dist/internal/{memory → resilience}/circuit-breaker.d.ts +5 -1
- package/dist/internal/runtime/hooks/hooks-frontmatter.d.ts +1 -1
- package/dist/internal/runtime/lifecycle/env-policy.d.ts +30 -0
- package/dist/internal/runtime/session/agent-session-store.d.ts +1 -0
- package/dist/internal/telemetry/span-names.d.ts +7 -1
- package/dist/job-queue.d.ts +29 -7
- package/dist/permission-engine.d.ts +32 -7
- package/dist/{run-DXy_MVwz.d.cts → run-pE-34AAo.d.cts} +64 -3
- package/dist/{run-DXy_MVwz.d.ts → run-pE-34AAo.d.ts} +64 -3
- package/dist/sandbox/index.cjs +53 -2
- package/dist/sandbox/index.cjs.map +1 -1
- package/dist/sandbox/index.js +53 -2
- package/dist/sandbox/index.js.map +1 -1
- package/dist/sandbox/local-sandbox.d.cts +11 -3
- package/dist/sandbox/local-sandbox.d.ts +11 -3
- package/dist/sandbox/types.d.cts +7 -0
- package/dist/sandbox/types.d.ts +7 -0
- package/dist/types/agent-prims.d.ts +6 -2
- package/dist/types/conversation-storage.d.ts +32 -2
- package/dist/types/mcp.d.ts +20 -0
- package/dist/types/run.d.ts +17 -0
- package/dist/workflow.cjs +6 -3
- package/dist/workflow.cjs.map +1 -1
- package/dist/workflow.js +6 -3
- package/dist/workflow.js.map +1 -1
- package/package.json +14 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theokit/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.1",
|
|
4
4
|
"description": "TypeScript SDK for the Theo agent harness — same surface, local or cloud.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/usetheo/theokit-sdk#readme",
|
|
@@ -308,15 +308,6 @@
|
|
|
308
308
|
"**/agent.js",
|
|
309
309
|
"**/agent.cjs"
|
|
310
310
|
],
|
|
311
|
-
"scripts": {
|
|
312
|
-
"build": "tsup && cp src/internal/providers/provider-catalog.json dist/provider-catalog.json",
|
|
313
|
-
"test": "vitest run --no-file-parallelism",
|
|
314
|
-
"test:watch": "vitest",
|
|
315
|
-
"typecheck": "tsc --noEmit",
|
|
316
|
-
"clean": "rm -rf dist",
|
|
317
|
-
"docs:json": "typedoc --options typedoc.json",
|
|
318
|
-
"docs:drift": "tsx scripts/check-docs-drift.ts"
|
|
319
|
-
},
|
|
320
311
|
"peerDependencies": {
|
|
321
312
|
"@lancedb/lancedb": "^0.30.0",
|
|
322
313
|
"@types/ws": ">=8.0.0",
|
|
@@ -374,8 +365,6 @@
|
|
|
374
365
|
"devDependencies": {
|
|
375
366
|
"@opentelemetry/api": "^1.9.1",
|
|
376
367
|
"@opentelemetry/sdk-trace-base": "^1.30.1",
|
|
377
|
-
"@theokit/sdk-handoff": "workspace:*",
|
|
378
|
-
"@theokit/sdk-memory": "workspace:*",
|
|
379
368
|
"@types/better-sqlite3": "^7.6.13",
|
|
380
369
|
"@types/proper-lockfile": "^4.1.4",
|
|
381
370
|
"@types/ws": "^8.18.0",
|
|
@@ -385,6 +374,17 @@
|
|
|
385
374
|
"sqlite-vec": "^0.1.9",
|
|
386
375
|
"typedoc": "^0.28.19",
|
|
387
376
|
"ws": "^8.18.0",
|
|
388
|
-
"zod": "^4.0.0"
|
|
377
|
+
"zod": "^4.0.0",
|
|
378
|
+
"@theokit/sdk-memory": "0.2.0",
|
|
379
|
+
"@theokit/sdk-handoff": "0.1.0"
|
|
380
|
+
},
|
|
381
|
+
"scripts": {
|
|
382
|
+
"build": "tsup && cp src/internal/providers/provider-catalog.json dist/provider-catalog.json",
|
|
383
|
+
"test": "vitest run --no-file-parallelism",
|
|
384
|
+
"test:watch": "vitest",
|
|
385
|
+
"typecheck": "tsc --noEmit",
|
|
386
|
+
"clean": "rm -rf dist",
|
|
387
|
+
"docs:json": "typedoc --options typedoc.json",
|
|
388
|
+
"docs:drift": "tsx scripts/check-docs-drift.ts"
|
|
389
389
|
}
|
|
390
|
-
}
|
|
390
|
+
}
|