@theokit/sdk 4.58.0 → 4.60.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.
Files changed (66) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/{agent-MIYY7TXV.cjs → agent-26RMDG4U.cjs} +8 -7
  3. package/dist/{agent-MIYY7TXV.cjs.map → agent-26RMDG4U.cjs.map} +1 -1
  4. package/dist/{agent-6WM4QOWS.js → agent-6ABK2DPG.js} +7 -6
  5. package/dist/{agent-6WM4QOWS.js.map → agent-6ABK2DPG.js.map} +1 -1
  6. package/dist/{chunk-N47KLTKD.cjs → chunk-23GPJGRR.cjs} +45 -28
  7. package/dist/chunk-23GPJGRR.cjs.map +1 -0
  8. package/dist/{chunk-QIRDQZYL.cjs → chunk-3HDTP4ZO.cjs} +4 -4
  9. package/dist/{chunk-QIRDQZYL.cjs.map → chunk-3HDTP4ZO.cjs.map} +1 -1
  10. package/dist/{chunk-GNT35C5U.cjs → chunk-6SBW4QR2.cjs} +2 -2
  11. package/dist/{chunk-GNT35C5U.cjs.map → chunk-6SBW4QR2.cjs.map} +1 -1
  12. package/dist/{chunk-CF5OMCZG.js → chunk-76XTUTKY.js} +34 -17
  13. package/dist/chunk-76XTUTKY.js.map +1 -0
  14. package/dist/{chunk-WLZ7XRWH.js → chunk-7OXXYBHD.js} +7 -179
  15. package/dist/chunk-7OXXYBHD.js.map +1 -0
  16. package/dist/{chunk-5QOIQJ5J.js → chunk-E5MWNLRX.js} +3 -3
  17. package/dist/{chunk-5QOIQJ5J.js.map → chunk-E5MWNLRX.js.map} +1 -1
  18. package/dist/{chunk-XV4IZNV4.js → chunk-FUL2I7G5.js} +2 -2
  19. package/dist/{chunk-XV4IZNV4.js.map → chunk-FUL2I7G5.js.map} +1 -1
  20. package/dist/chunk-JVERBPRD.js +191 -0
  21. package/dist/chunk-JVERBPRD.js.map +1 -0
  22. package/dist/chunk-NY25NBZB.cjs +203 -0
  23. package/dist/chunk-NY25NBZB.cjs.map +1 -0
  24. package/dist/{chunk-27AXGJMV.cjs → chunk-Y2KJ7MYO.cjs} +14 -194
  25. package/dist/chunk-Y2KJ7MYO.cjs.map +1 -0
  26. package/dist/cron.cjs +7 -6
  27. package/dist/cron.js +6 -5
  28. package/dist/eval.cjs +6 -5
  29. package/dist/eval.cjs.map +1 -1
  30. package/dist/eval.js +5 -4
  31. package/dist/eval.js.map +1 -1
  32. package/dist/{index-manager-WYESAVTX.js → index-manager-KP2JAXKN.js} +4 -3
  33. package/dist/{index-manager-WYESAVTX.js.map → index-manager-KP2JAXKN.js.map} +1 -1
  34. package/dist/{index-manager-J2QIDI6I.cjs → index-manager-YUORPS4G.cjs} +5 -4
  35. package/dist/{index-manager-J2QIDI6I.cjs.map → index-manager-YUORPS4G.cjs.map} +1 -1
  36. package/dist/index.cjs +35 -34
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.js +12 -11
  39. package/dist/index.js.map +1 -1
  40. package/dist/internal/memory/storage/chunk-markdown.d.cts +2 -0
  41. package/dist/internal/memory/storage/index.cjs +54 -0
  42. package/dist/internal/memory/storage/index.cjs.map +1 -0
  43. package/dist/internal/memory/storage/index.d.cts +18 -0
  44. package/dist/internal/memory/storage/index.d.ts +18 -0
  45. package/dist/internal/memory/storage/index.js +13 -0
  46. package/dist/internal/memory/storage/index.js.map +1 -0
  47. package/dist/internal/memory/storage/markdown-store.d.cts +77 -0
  48. package/dist/internal/memory/storage/markdown-store.d.ts +46 -5
  49. package/dist/internal/memory/storage/memory-file.d.cts +54 -0
  50. package/dist/internal/memory/storage/reader.d.cts +8 -0
  51. package/dist/internal/memory/storage/session-loader.d.cts +1 -0
  52. package/dist/internal/memory/storage/session-summary-writer.d.cts +2 -0
  53. package/dist/internal/memory/storage/transcript-store.d.cts +1 -0
  54. package/dist/internal/memory/storage/wiki-loader.d.cts +2 -0
  55. package/dist/internal/persistence/session-dir.d.cts +15 -0
  56. package/dist/internal/persistence/session-dir.d.ts +15 -0
  57. package/dist/internal/runtime/memory/memory-store.d.ts +2 -2
  58. package/dist/workflow.cjs +9 -9
  59. package/dist/workflow.js +1 -1
  60. package/docs/error-codes.md +1 -1
  61. package/docs/harness-capability-map.md +15 -1
  62. package/package.json +11 -1
  63. package/dist/chunk-27AXGJMV.cjs.map +0 -1
  64. package/dist/chunk-CF5OMCZG.js.map +0 -1
  65. package/dist/chunk-N47KLTKD.cjs.map +0 -1
  66. package/dist/chunk-WLZ7XRWH.js.map +0 -1
package/dist/index.js CHANGED
@@ -3,22 +3,23 @@ export { GOAL_CONTINUATION_MARKER } from './chunk-PY2RQOA7.js';
3
3
  export { JudgeCredentialError } from './chunk-T73NA43R.js';
4
4
  export { GenerateObjectError } from './chunk-QRSUA2CV.js';
5
5
  import './chunk-AEOZTXVW.js';
6
- import { Workflow, agentStep } from './chunk-XV4IZNV4.js';
7
- export { Workflow, agentStep, fn } from './chunk-XV4IZNV4.js';
6
+ import { Workflow, agentStep } from './chunk-FUL2I7G5.js';
7
+ export { Workflow, agentStep, fn } from './chunk-FUL2I7G5.js';
8
8
  import './chunk-AQLGBKNT.js';
9
9
  import './chunk-HY66GLM6.js';
10
- export { Cron } from './chunk-5QOIQJ5J.js';
11
- import { MEMORY_EMBEDDING_ADAPTERS, DEFAULT_AGENTIC_MODEL_ID, Agent } from './chunk-CF5OMCZG.js';
12
- export { Agent, AgentBuilder, Tool, ToolError, UsageAccumulator, computeCost, getPricingEntry } from './chunk-CF5OMCZG.js';
13
- import './chunk-WG7R5W6R.js';
14
- import { lanceStoragePath, LanceIndex, readFactsFromMarkdown, defaultIndexPath, openMemoryDb, memoryDir } from './chunk-WLZ7XRWH.js';
15
- import './chunk-MZ2FGBLZ.js';
16
- import './chunk-2SFBB54R.js';
10
+ export { Cron } from './chunk-E5MWNLRX.js';
11
+ import { MEMORY_EMBEDDING_ADAPTERS, DEFAULT_AGENTIC_MODEL_ID, Agent } from './chunk-76XTUTKY.js';
12
+ export { Agent, AgentBuilder, Tool, ToolError, UsageAccumulator, computeCost, getPricingEntry } from './chunk-76XTUTKY.js';
17
13
  import { configure, submit, list, get, cancel, subscribe } from './chunk-SUKXXLWD.js';
18
14
  export { emitRunEvent } from './chunk-SUKXXLWD.js';
15
+ import './chunk-WG7R5W6R.js';
19
16
  import './chunk-K2BQQ445.js';
17
+ import { lanceStoragePath, LanceIndex, defaultIndexPath, openMemoryDb } from './chunk-7OXXYBHD.js';
18
+ import './chunk-MZ2FGBLZ.js';
19
+ import './chunk-2SFBB54R.js';
20
20
  import './chunk-XN7NOENA.js';
21
21
  import './chunk-H73MEMQB.js';
22
+ import { readFactsFromMarkdown, memoryDir } from './chunk-JVERBPRD.js';
22
23
  import './chunk-YJDH3CKG.js';
23
24
  import { discoverProviderPlugins, shouldUseFixtureMode, isFixtureApiKey, httpRequest, mapOllamaTransportError, readErrorResponseBody, mapOllamaHttpError } from './chunk-IACR5LEM.js';
24
25
  import './chunk-3E77SX4H.js';
@@ -1270,7 +1271,7 @@ var Memory = {
1270
1271
  openArgs.embedding = await resolveEmbedding(opts.embedding, peer.MEMORY_EMBEDDING_ADAPTERS);
1271
1272
  return await peer.IndexManager.open(openArgs);
1272
1273
  }
1273
- const { IndexManager } = await import('./index-manager-WYESAVTX.js');
1274
+ const { IndexManager } = await import('./index-manager-KP2JAXKN.js');
1274
1275
  openArgs.embedding = await resolveEmbedding(opts.embedding, MEMORY_EMBEDDING_ADAPTERS);
1275
1276
  return await IndexManager.open(openArgs);
1276
1277
  },
@@ -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-6WM4QOWS.js');
1848
+ const { Agent: Agent2 } = await import('./agent-6ABK2DPG.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