@theokit/sdk 4.55.0 → 4.56.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 +63 -0
- package/dist/a2a/index.cjs +13 -4
- package/dist/a2a/index.cjs.map +1 -1
- package/dist/a2a/index.d.cts +1 -1
- package/dist/a2a/index.d.ts +1 -1
- package/dist/a2a/index.js +13 -5
- package/dist/a2a/index.js.map +1 -1
- package/dist/a2a/message-bus.d.cts +33 -4
- package/dist/a2a/message-bus.d.ts +33 -4
- package/dist/{agent-HDEVVUBS.js → agent-K3PQBS7D.js} +6 -5
- package/dist/{agent-HDEVVUBS.js.map → agent-K3PQBS7D.js.map} +1 -1
- package/dist/{agent-R2HOJFZJ.cjs → agent-PJMBK7HQ.cjs} +7 -6
- package/dist/{agent-R2HOJFZJ.cjs.map → agent-PJMBK7HQ.cjs.map} +1 -1
- package/dist/{chunk-5UOVYM3P.cjs → chunk-6VLKVX7O.cjs} +131 -54
- package/dist/chunk-6VLKVX7O.cjs.map +1 -0
- package/dist/{chunk-5PHVENFV.js → chunk-7FHZ4VQX.js} +3 -55
- package/dist/chunk-7FHZ4VQX.js.map +1 -0
- package/dist/{chunk-Q47R5E2X.cjs → chunk-E3WZ6Y4H.cjs} +7 -59
- package/dist/chunk-E3WZ6Y4H.cjs.map +1 -0
- package/dist/{chunk-ITSSOVOB.cjs → chunk-H5GOSXSC.cjs} +4 -4
- package/dist/{chunk-ITSSOVOB.cjs.map → chunk-H5GOSXSC.cjs.map} +1 -1
- package/dist/{chunk-I5BE5M5L.js → chunk-KBXWEWKS.js} +4 -4
- package/dist/{chunk-I5BE5M5L.js.map → chunk-KBXWEWKS.js.map} +1 -1
- package/dist/chunk-KRD3GQAA.cjs +71 -0
- package/dist/chunk-KRD3GQAA.cjs.map +1 -0
- package/dist/chunk-KVNWIAO4.js +68 -0
- package/dist/chunk-KVNWIAO4.js.map +1 -0
- package/dist/{chunk-F5WMX4EA.cjs → chunk-LQYQHXIW.cjs} +19 -19
- package/dist/{chunk-F5WMX4EA.cjs.map → chunk-LQYQHXIW.cjs.map} +1 -1
- package/dist/{chunk-IVNNSANC.js → chunk-M7UHYBEY.js} +3 -3
- package/dist/{chunk-IVNNSANC.js.map → chunk-M7UHYBEY.js.map} +1 -1
- package/dist/{chunk-DAPSQZT4.js → chunk-ODTZ7HX3.js} +131 -54
- package/dist/chunk-ODTZ7HX3.js.map +1 -0
- package/dist/context/index.cjs +6 -5
- package/dist/context/index.cjs.map +1 -1
- package/dist/context/index.js +3 -2
- package/dist/context/index.js.map +1 -1
- package/dist/cron.cjs +6 -5
- package/dist/cron.js +5 -4
- package/dist/eval.cjs +5 -4
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +4 -3
- package/dist/eval.js.map +1 -1
- package/dist/{index-manager-ZMRJ6ZII.js → index-manager-WBIMDVQT.js} +4 -3
- package/dist/{index-manager-ZMRJ6ZII.js.map → index-manager-WBIMDVQT.js.map} +1 -1
- package/dist/{index-manager-NG5YENWO.cjs → index-manager-WC5ZVJWO.cjs} +5 -4
- package/dist/{index-manager-NG5YENWO.cjs.map → index-manager-WC5ZVJWO.cjs.map} +1 -1
- package/dist/index.cjs +28 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/internal/memory/storage/markdown-store.d.ts +14 -2
- package/dist/internal/memory/storage/memory-file.d.ts +54 -0
- package/dist/internal/memory/types.d.ts +28 -0
- package/dist/sandbox/index.cjs +1 -1
- package/dist/sandbox/index.cjs.map +1 -1
- package/dist/sandbox/index.js +1 -1
- package/dist/sandbox/index.js.map +1 -1
- package/docs/error-codes.md +3 -1
- package/docs/harness-capability-map.md +2 -1
- package/package.json +1 -1
- package/dist/chunk-5PHVENFV.js.map +0 -1
- package/dist/chunk-5UOVYM3P.cjs.map +0 -1
- package/dist/chunk-DAPSQZT4.js.map +0 -1
- package/dist/chunk-Q47R5E2X.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -7,11 +7,11 @@ import { Workflow, agentStep } from './chunk-XV4IZNV4.js';
|
|
|
7
7
|
export { Workflow, agentStep, fn } from './chunk-XV4IZNV4.js';
|
|
8
8
|
import './chunk-AQLGBKNT.js';
|
|
9
9
|
import './chunk-HY66GLM6.js';
|
|
10
|
-
export { Cron } from './chunk-
|
|
11
|
-
import { MEMORY_EMBEDDING_ADAPTERS, DEFAULT_AGENTIC_MODEL_ID, Agent } from './chunk-
|
|
12
|
-
export { Agent, AgentBuilder, Tool, ToolError, UsageAccumulator, computeCost, getPricingEntry } from './chunk-
|
|
10
|
+
export { Cron } from './chunk-M7UHYBEY.js';
|
|
11
|
+
import { MEMORY_EMBEDDING_ADAPTERS, DEFAULT_AGENTIC_MODEL_ID, Agent } from './chunk-KBXWEWKS.js';
|
|
12
|
+
export { Agent, AgentBuilder, Tool, ToolError, UsageAccumulator, computeCost, getPricingEntry } from './chunk-KBXWEWKS.js';
|
|
13
13
|
import './chunk-OHBIUXKM.js';
|
|
14
|
-
import { lanceStoragePath, LanceIndex, readFactsFromMarkdown, defaultIndexPath, openMemoryDb, memoryDir } from './chunk-
|
|
14
|
+
import { lanceStoragePath, LanceIndex, readFactsFromMarkdown, defaultIndexPath, openMemoryDb, memoryDir } from './chunk-ODTZ7HX3.js';
|
|
15
15
|
import './chunk-YMA4S2WO.js';
|
|
16
16
|
import './chunk-2SFBB54R.js';
|
|
17
17
|
import { configure, submit, list, get, cancel, subscribe } from './chunk-SUKXXLWD.js';
|
|
@@ -26,7 +26,8 @@ import './chunk-WTMU7J4U.js';
|
|
|
26
26
|
import './chunk-5JLFFPCH.js';
|
|
27
27
|
import './chunk-BMAZLQQ4.js';
|
|
28
28
|
import './chunk-HKCKOAIO.js';
|
|
29
|
-
import './chunk-
|
|
29
|
+
import './chunk-7FHZ4VQX.js';
|
|
30
|
+
import './chunk-KVNWIAO4.js';
|
|
30
31
|
import './chunk-UPRJR6IP.js';
|
|
31
32
|
import './chunk-FD2UT76F.js';
|
|
32
33
|
import { toJsonSchema } from './chunk-4VPXM6UU.js';
|
|
@@ -1268,7 +1269,7 @@ var Memory = {
|
|
|
1268
1269
|
openArgs.embedding = await resolveEmbedding(opts.embedding, peer.MEMORY_EMBEDDING_ADAPTERS);
|
|
1269
1270
|
return await peer.IndexManager.open(openArgs);
|
|
1270
1271
|
}
|
|
1271
|
-
const { IndexManager } = await import('./index-manager-
|
|
1272
|
+
const { IndexManager } = await import('./index-manager-WBIMDVQT.js');
|
|
1272
1273
|
openArgs.embedding = await resolveEmbedding(opts.embedding, MEMORY_EMBEDDING_ADAPTERS);
|
|
1273
1274
|
return await IndexManager.open(openArgs);
|
|
1274
1275
|
},
|
|
@@ -1844,7 +1845,7 @@ function isBuiltAgent(m) {
|
|
|
1844
1845
|
return typeof m.send === "function";
|
|
1845
1846
|
}
|
|
1846
1847
|
async function materialize(def, index) {
|
|
1847
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
1848
|
+
const { Agent: Agent2 } = await import('./agent-K3PQBS7D.js');
|
|
1848
1849
|
return Agent2.create({
|
|
1849
1850
|
// `AgentDefinition.model` admits the sentinel `'inherit'`, which is not a model id. Inheriting
|
|
1850
1851
|
// here means "declare nothing and let the default apply" — forwarding the literal would create
|