@theokit/sdk 5.6.0 → 5.7.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 (109) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/dist/{agent-G6g-uwcB.d.ts → agent-Bqzdhkqr.d.ts} +1 -1
  3. package/dist/{agent-82d_DrCL.d.cts → agent-Dya5SmhY.d.cts} +1 -1
  4. package/dist/{agent-JJZM2VIK.js → agent-EQ5HKTWV.js} +11 -10
  5. package/dist/{agent-JJZM2VIK.js.map → agent-EQ5HKTWV.js.map} +1 -1
  6. package/dist/{agent-47NS6ZVL.cjs → agent-KA63WDQH.cjs} +12 -11
  7. package/dist/{agent-47NS6ZVL.cjs.map → agent-KA63WDQH.cjs.map} +1 -1
  8. package/dist/agent.d.ts +11 -0
  9. package/dist/{chunk-VUHXC74Q.cjs → chunk-33A27NFX.cjs} +15 -15
  10. package/dist/{chunk-VUHXC74Q.cjs.map → chunk-33A27NFX.cjs.map} +1 -1
  11. package/dist/{chunk-HUDNLFY4.js → chunk-3VXQEQE4.js} +13 -4
  12. package/dist/chunk-3VXQEQE4.js.map +1 -0
  13. package/dist/{chunk-DZG77WU7.cjs → chunk-3XSWF5AP.cjs} +3 -3
  14. package/dist/{chunk-DZG77WU7.cjs.map → chunk-3XSWF5AP.cjs.map} +1 -1
  15. package/dist/{chunk-FPIY5CLV.js → chunk-6JG2RFGK.js} +3 -3
  16. package/dist/{chunk-FPIY5CLV.js.map → chunk-6JG2RFGK.js.map} +1 -1
  17. package/dist/{chunk-N2KAIZ5D.js → chunk-7C3HWGCW.js} +3 -19
  18. package/dist/chunk-7C3HWGCW.js.map +1 -0
  19. package/dist/{chunk-LD6HASA5.cjs → chunk-7KBNBPFK.cjs} +12 -2
  20. package/dist/chunk-7KBNBPFK.cjs.map +1 -0
  21. package/dist/{chunk-GCHZMH42.cjs → chunk-A575WPBL.cjs} +88 -84
  22. package/dist/chunk-A575WPBL.cjs.map +1 -0
  23. package/dist/{chunk-5NELQ6LB.js → chunk-A6PDYH55.js} +12 -3
  24. package/dist/chunk-A6PDYH55.js.map +1 -0
  25. package/dist/{chunk-2QKV4CGK.js → chunk-CZWN4C6A.js} +3 -3
  26. package/dist/{chunk-2QKV4CGK.js.map → chunk-CZWN4C6A.js.map} +1 -1
  27. package/dist/chunk-DQNI52VV.js +20 -0
  28. package/dist/chunk-DQNI52VV.js.map +1 -0
  29. package/dist/{chunk-52FDUJSV.cjs → chunk-E6QXZZKE.cjs} +8 -8
  30. package/dist/{chunk-52FDUJSV.cjs.map → chunk-E6QXZZKE.cjs.map} +1 -1
  31. package/dist/{chunk-EIOMN5VA.cjs → chunk-EFETPSJZ.cjs} +17 -8
  32. package/dist/chunk-EFETPSJZ.cjs.map +1 -0
  33. package/dist/{chunk-HG4UN4MN.cjs → chunk-ER5BOIYD.cjs} +4 -4
  34. package/dist/{chunk-HG4UN4MN.cjs.map → chunk-ER5BOIYD.cjs.map} +1 -1
  35. package/dist/{chunk-2UXQASTX.js → chunk-FUUSIT2T.js} +16 -12
  36. package/dist/chunk-FUUSIT2T.js.map +1 -0
  37. package/dist/{chunk-7IZKTQ5G.cjs → chunk-GK3UG7YQ.cjs} +2 -21
  38. package/dist/chunk-GK3UG7YQ.cjs.map +1 -0
  39. package/dist/{chunk-GFFBXSQT.cjs → chunk-HNAYCTX4.cjs} +5 -5
  40. package/dist/{chunk-GFFBXSQT.cjs.map → chunk-HNAYCTX4.cjs.map} +1 -1
  41. package/dist/{chunk-KZSKIUXZ.js → chunk-N7VAE6DZ.js} +31 -3
  42. package/dist/chunk-N7VAE6DZ.js.map +1 -0
  43. package/dist/{chunk-7MMTZBTT.js → chunk-P5S3WCSZ.js} +3 -3
  44. package/dist/{chunk-7MMTZBTT.js.map → chunk-P5S3WCSZ.js.map} +1 -1
  45. package/dist/{chunk-BZ3YMAMP.js → chunk-R3LBRQAN.js} +3 -3
  46. package/dist/{chunk-BZ3YMAMP.js.map → chunk-R3LBRQAN.js.map} +1 -1
  47. package/dist/{chunk-STGSMJMJ.js → chunk-YRLI5DVC.js} +3 -3
  48. package/dist/{chunk-STGSMJMJ.js.map → chunk-YRLI5DVC.js.map} +1 -1
  49. package/dist/chunk-YYN6BB7R.cjs +24 -0
  50. package/dist/chunk-YYN6BB7R.cjs.map +1 -0
  51. package/dist/{chunk-C4ZQPWXJ.cjs → chunk-ZLMU5EU3.cjs} +33 -4
  52. package/dist/chunk-ZLMU5EU3.cjs.map +1 -0
  53. package/dist/{compact-session-7FMYJXQ7.cjs → compact-session-75KD2FCM.cjs} +15 -11
  54. package/dist/{compact-session-7FMYJXQ7.cjs.map → compact-session-75KD2FCM.cjs.map} +1 -1
  55. package/dist/{compact-session-YSEK7NQF.js → compact-session-QT6RJOKO.js} +3 -3
  56. package/dist/{compact-session-YSEK7NQF.js.map → compact-session-QT6RJOKO.js.map} +1 -1
  57. package/dist/context/index.cjs +11 -7
  58. package/dist/context/index.cjs.map +1 -1
  59. package/dist/context/index.js +7 -3
  60. package/dist/context/index.js.map +1 -1
  61. package/dist/{context-HR4KMXMA.cjs → context-7RP5JXGM.cjs} +7 -6
  62. package/dist/{context-HR4KMXMA.cjs.map → context-7RP5JXGM.cjs.map} +1 -1
  63. package/dist/context-OJIIXJCV.js +7 -0
  64. package/dist/{context-J5BJ3LBS.js.map → context-OJIIXJCV.js.map} +1 -1
  65. package/dist/{cron-DWv69ZSD.d.cts → cron-BwxDUscv.d.cts} +1 -1
  66. package/dist/{cron-GynWtAax.d.ts → cron-D8uB1Xh5.d.ts} +1 -1
  67. package/dist/cron.cjs +11 -10
  68. package/dist/cron.d.cts +2 -2
  69. package/dist/cron.d.ts +2 -2
  70. package/dist/cron.js +10 -9
  71. package/dist/eval.cjs +10 -9
  72. package/dist/eval.cjs.map +1 -1
  73. package/dist/eval.js +9 -8
  74. package/dist/eval.js.map +1 -1
  75. package/dist/{index-manager-BBHDKMQS.cjs → index-manager-W7RHSL6G.cjs} +6 -6
  76. package/dist/{index-manager-BBHDKMQS.cjs.map → index-manager-W7RHSL6G.cjs.map} +1 -1
  77. package/dist/{index-manager-27WLNQEE.js → index-manager-Z4XMRVWQ.js} +5 -5
  78. package/dist/{index-manager-27WLNQEE.js.map → index-manager-Z4XMRVWQ.js.map} +1 -1
  79. package/dist/index.cjs +42 -41
  80. package/dist/index.cjs.map +1 -1
  81. package/dist/index.d.cts +32 -3
  82. package/dist/index.d.ts +32 -3
  83. package/dist/index.js +14 -13
  84. package/dist/index.js.map +1 -1
  85. package/dist/{inject-session-PC73TMP2.cjs → inject-session-L6MIIELT.cjs} +4 -4
  86. package/dist/{inject-session-PC73TMP2.cjs.map → inject-session-L6MIIELT.cjs.map} +1 -1
  87. package/dist/{inject-session-J4LBWAPH.js → inject-session-XWWN4DAA.js} +3 -3
  88. package/dist/{inject-session-J4LBWAPH.js.map → inject-session-XWWN4DAA.js.map} +1 -1
  89. package/dist/internal/memory/storage/index.cjs +32 -32
  90. package/dist/internal/memory/storage/index.js +3 -3
  91. package/dist/internal/runtime/context/context-discovery.d.ts +27 -0
  92. package/dist/internal/session/compact-session.d.ts +36 -0
  93. package/dist/project.cjs +3 -3
  94. package/dist/project.js +1 -1
  95. package/dist/subagents-loader.d.cts +1 -1
  96. package/dist/subagents-loader.d.ts +1 -1
  97. package/dist/types/agent.d.ts +1 -1
  98. package/package.json +1 -1
  99. package/dist/chunk-2UXQASTX.js.map +0 -1
  100. package/dist/chunk-5NELQ6LB.js.map +0 -1
  101. package/dist/chunk-7IZKTQ5G.cjs.map +0 -1
  102. package/dist/chunk-C4ZQPWXJ.cjs.map +0 -1
  103. package/dist/chunk-EIOMN5VA.cjs.map +0 -1
  104. package/dist/chunk-GCHZMH42.cjs.map +0 -1
  105. package/dist/chunk-HUDNLFY4.js.map +0 -1
  106. package/dist/chunk-KZSKIUXZ.js.map +0 -1
  107. package/dist/chunk-LD6HASA5.cjs.map +0 -1
  108. package/dist/chunk-N2KAIZ5D.js.map +0 -1
  109. package/dist/context-J5BJ3LBS.js +0 -6
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkC4ZQPWXJ_cjs = require('./chunk-C4ZQPWXJ.cjs');
3
+ var chunkZLMU5EU3_cjs = require('./chunk-ZLMU5EU3.cjs');
4
4
  require('./chunk-FUSDYC2B.cjs');
5
5
  require('./chunk-YJNYDJ2T.cjs');
6
6
  require('./chunk-24SYBZPL.cjs');
@@ -27,35 +27,39 @@ require('./chunk-6LHQPOMI.cjs');
27
27
 
28
28
  Object.defineProperty(exports, "COMPACT_SUMMARY_MARKER", {
29
29
  enumerable: true,
30
- get: function () { return chunkC4ZQPWXJ_cjs.COMPACT_SUMMARY_MARKER; }
30
+ get: function () { return chunkZLMU5EU3_cjs.COMPACT_SUMMARY_MARKER; }
31
31
  });
32
32
  Object.defineProperty(exports, "COMPACT_USER_MESSAGE_MAX_TOKENS", {
33
33
  enumerable: true,
34
- get: function () { return chunkC4ZQPWXJ_cjs.COMPACT_USER_MESSAGE_MAX_TOKENS; }
34
+ get: function () { return chunkZLMU5EU3_cjs.COMPACT_USER_MESSAGE_MAX_TOKENS; }
35
+ });
36
+ Object.defineProperty(exports, "DEFAULT_PRE_COMPACT_TIMEOUT_MS", {
37
+ enumerable: true,
38
+ get: function () { return chunkZLMU5EU3_cjs.DEFAULT_PRE_COMPACT_TIMEOUT_MS; }
35
39
  });
36
40
  Object.defineProperty(exports, "autoCompactIfNeeded", {
37
41
  enumerable: true,
38
- get: function () { return chunkC4ZQPWXJ_cjs.autoCompactIfNeeded; }
42
+ get: function () { return chunkZLMU5EU3_cjs.autoCompactIfNeeded; }
39
43
  });
40
44
  Object.defineProperty(exports, "buildDefaultSummarizer", {
41
45
  enumerable: true,
42
- get: function () { return chunkC4ZQPWXJ_cjs.buildDefaultSummarizer; }
46
+ get: function () { return chunkZLMU5EU3_cjs.buildDefaultSummarizer; }
43
47
  });
44
48
  Object.defineProperty(exports, "compactSessionTranscript", {
45
49
  enumerable: true,
46
- get: function () { return chunkC4ZQPWXJ_cjs.compactSessionTranscript; }
50
+ get: function () { return chunkZLMU5EU3_cjs.compactSessionTranscript; }
47
51
  });
48
52
  Object.defineProperty(exports, "isCompactSummary", {
49
53
  enumerable: true,
50
- get: function () { return chunkC4ZQPWXJ_cjs.isCompactSummary; }
54
+ get: function () { return chunkZLMU5EU3_cjs.isCompactSummary; }
51
55
  });
52
56
  Object.defineProperty(exports, "resolveSummarizerRoute", {
53
57
  enumerable: true,
54
- get: function () { return chunkC4ZQPWXJ_cjs.resolveSummarizerRoute; }
58
+ get: function () { return chunkZLMU5EU3_cjs.resolveSummarizerRoute; }
55
59
  });
56
60
  Object.defineProperty(exports, "shouldAutoCompact", {
57
61
  enumerable: true,
58
- get: function () { return chunkC4ZQPWXJ_cjs.shouldAutoCompact; }
62
+ get: function () { return chunkZLMU5EU3_cjs.shouldAutoCompact; }
59
63
  });
60
- //# sourceMappingURL=compact-session-7FMYJXQ7.cjs.map
61
- //# sourceMappingURL=compact-session-7FMYJXQ7.cjs.map
64
+ //# sourceMappingURL=compact-session-75KD2FCM.cjs.map
65
+ //# sourceMappingURL=compact-session-75KD2FCM.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"compact-session-7FMYJXQ7.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"compact-session-75KD2FCM.cjs"}
@@ -1,4 +1,4 @@
1
- export { COMPACT_SUMMARY_MARKER, COMPACT_USER_MESSAGE_MAX_TOKENS, autoCompactIfNeeded, buildDefaultSummarizer, compactSessionTranscript, isCompactSummary, resolveSummarizerRoute, shouldAutoCompact } from './chunk-KZSKIUXZ.js';
1
+ export { COMPACT_SUMMARY_MARKER, COMPACT_USER_MESSAGE_MAX_TOKENS, DEFAULT_PRE_COMPACT_TIMEOUT_MS, autoCompactIfNeeded, buildDefaultSummarizer, compactSessionTranscript, isCompactSummary, resolveSummarizerRoute, shouldAutoCompact } from './chunk-N7VAE6DZ.js';
2
2
  import './chunk-UBR5PWD7.js';
3
3
  import './chunk-2XC6KDJM.js';
4
4
  import './chunk-XB4GI5RZ.js';
@@ -20,5 +20,5 @@ import './chunk-V22DZIXO.js';
20
20
  import './chunk-NJWYQWDL.js';
21
21
  import './chunk-ALUN2B4W.js';
22
22
  import './chunk-CZJ6Q7CW.js';
23
- //# sourceMappingURL=compact-session-YSEK7NQF.js.map
24
- //# sourceMappingURL=compact-session-YSEK7NQF.js.map
23
+ //# sourceMappingURL=compact-session-QT6RJOKO.js.map
24
+ //# sourceMappingURL=compact-session-QT6RJOKO.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"compact-session-YSEK7NQF.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"compact-session-QT6RJOKO.js"}
@@ -1,9 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkEIOMN5VA_cjs = require('../chunk-EIOMN5VA.cjs');
3
+ var chunkEFETPSJZ_cjs = require('../chunk-EFETPSJZ.cjs');
4
+ require('../chunk-GK3UG7YQ.cjs');
4
5
  require('../chunk-KRD3GQAA.cjs');
5
- var chunkLD6HASA5_cjs = require('../chunk-LD6HASA5.cjs');
6
+ var chunk7KBNBPFK_cjs = require('../chunk-7KBNBPFK.cjs');
6
7
  require('../chunk-SA6K24NB.cjs');
8
+ require('../chunk-TY56BKSK.cjs');
9
+ require('../chunk-J7J7J2GN.cjs');
10
+ require('../chunk-6LHQPOMI.cjs');
7
11
 
8
12
  // src/context/index.ts
9
13
  function resolveContextImports(content, basePath, options) {
@@ -13,24 +17,24 @@ function resolveContextImports(content, basePath, options) {
13
17
  maxBytesPerFile: options.maxBytesPerFile,
14
18
  projectRoot: options.projectRoot
15
19
  };
16
- return chunkEIOMN5VA_cjs.resolveImports(content, basePath, internalOptions);
20
+ return chunkEFETPSJZ_cjs.resolveImports(content, basePath, internalOptions);
17
21
  }
18
22
 
19
23
  Object.defineProperty(exports, "parseRules", {
20
24
  enumerable: true,
21
- get: function () { return chunkEIOMN5VA_cjs.parseRules; }
25
+ get: function () { return chunkEFETPSJZ_cjs.parseRules; }
22
26
  });
23
27
  Object.defineProperty(exports, "runDiscovery", {
24
28
  enumerable: true,
25
- get: function () { return chunkEIOMN5VA_cjs.runDiscovery; }
29
+ get: function () { return chunkEFETPSJZ_cjs.runDiscovery; }
26
30
  });
27
31
  Object.defineProperty(exports, "shouldActivateRule", {
28
32
  enumerable: true,
29
- get: function () { return chunkEIOMN5VA_cjs.shouldActivateRule; }
33
+ get: function () { return chunkEFETPSJZ_cjs.shouldActivateRule; }
30
34
  });
31
35
  Object.defineProperty(exports, "DEFAULT_DISCOVERY_SPECS", {
32
36
  enumerable: true,
33
- get: function () { return chunkLD6HASA5_cjs.DEFAULT_DISCOVERY_SPECS; }
37
+ get: function () { return chunk7KBNBPFK_cjs.DEFAULT_DISCOVERY_SPECS; }
34
38
  });
35
39
  exports.resolveContextImports = resolveContextImports;
36
40
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/context/index.ts"],"names":["resolveImports"],"mappings":";;;;;;;;AA+FO,SAAS,qBAAA,CACd,OAAA,EACA,QAAA,EACA,OAAA,EACiB;AACjB,EAAA,MAAM,eAAA,GAAyC;AAAA,IAC7C,OAAA,EAAS,OAAA,CAAQ,OAAA,oBAAW,IAAI,GAAA,EAAY;AAAA,IAC5C,KAAA,EAAO,QAAQ,KAAA,IAAS,CAAA;AAAA,IACxB,iBAAiB,OAAA,CAAQ,eAAA;AAAA,IACzB,aAAa,OAAA,CAAQ;AAAA,GACvB;AACA,EAAA,OAAOA,gCAAA,CAAuB,OAAA,EAAS,QAAA,EAAU,eAAe,CAAA;AAClE","file":"index.cjs","sourcesContent":["/**\n * `@theokit/sdk/context` — context assembly, as a SANCTIONED PUBLIC surface.\n *\n * Everything re-exported here is under semver. That is the whole difference from the\n * `internal/*` subpaths (`internal/persistence`, `internal/security`, `internal/memory-adapters`),\n * which the package documents as \"internal API — semver-exempt\" and is retiring:\n * `internal/persistence` is `@deprecated` in favour of the sanctioned `@theokit/sdk/persistence`,\n * and `internal/plugins` + `internal/observability` were deleted as dead public surface in July.\n *\n * **The list is explicit and there is no `export *`.** The tree behind it holds 13 files, including\n * YAML shims and parser internals a consumer never needs. Publishing the directory would commit\n * this package to every file in it; widening this list is a deliberate act.\n *\n * @public\n */\n\nimport {\n type ResolveImportsOptions,\n resolveImports as resolveImportsInternal,\n} from \"../internal/runtime/context/context-import-resolver.js\";\n\nexport type {\n DiscoveryParser,\n DiscoveryScope,\n DiscoverySpec,\n} from \"../internal/runtime/context/context-discovery.js\";\n/**\n * The seven conventions {@link runDiscovery} looks for when `specs` is omitted — `AGENTS.md`,\n * `GEMINI.md`, `CLAUDE.md`, `.cursor/rules/*.mdc`, `.theokit/rules/*.md`, `.theokit/context/*.md`\n * and `.theokit/THEO.md`.\n *\n * Exported because `specs` REPLACES this list rather than extending it. Without the constant, a\n * consumer registering one convention of its own silently loses every built-in one, and the loss is\n * invisible — discovery simply returns fewer sources. Spread it to extend:\n *\n * ```ts\n * await runDiscovery({ cwd, maxBytesPerFile, specs: [...DEFAULT_DISCOVERY_SPECS, mySpec] });\n * ```\n *\n * @public\n */\nexport { DEFAULT_DISCOVERY_SPECS } from \"../internal/runtime/context/context-discovery.js\";\nexport {\n type DiscoveryRunnerOptions,\n runDiscovery,\n} from \"../internal/runtime/context/context-discovery-runner.js\";\nexport {\n parseRules,\n shouldActivateRule,\n} from \"../internal/runtime/context/context-rules-frontmatter.js\";\n\n/**\n * Options for {@link resolveContextImports}.\n *\n * `projectRoot` is REQUIRED here and OPTIONAL on the internal `resolveImports`, and the asymmetry\n * is the point rather than an oversight.\n *\n * Internally the field has to be optional: it was added in 4.41.1 to close a defect where a\n * repository-supplied `CLAUDE.md` could name `@~/.ssh/id_rsa` and have that file inlined into the\n * agent's system prompt, and making it required would have broken every caller that predates it.\n *\n * As a PUBLIC contract the same optionality inverts into a trap. The obvious call omits the field,\n * compiles, and silently restores the un-contained behaviour — so the easiest way to use the API\n * would be the unsafe one, published under semver and therefore unfixable without a breaking\n * change. Requiring it makes the safe call the only call.\n *\n * @public\n */\nexport interface ResolveContextImportsOptions {\n /**\n * The directory an `@import` may not escape, compared after symlink resolution.\n *\n * A document carrying imports is repository-controlled — untrusted input whenever the repository\n * came from somewhere else — so the boundary is not optional.\n */\n readonly projectRoot: string;\n /** Per-import file cap, forwarded to the loader. */\n readonly maxBytesPerFile: number;\n /** Absolute paths already resolved, for cycle detection. Defaults to an empty set. */\n readonly visited?: Set<string>;\n /** Current recursion depth. Defaults to 0; the resolver caps at 5 hops. */\n readonly depth?: number;\n}\n\n/**\n * Expand `@path` import directives in `content`, confined to `options.projectRoot`.\n *\n * A line that is exactly `@some/path` is replaced with that file's content, recursively, with cycle\n * detection and a 5-hop cap. A target resolving outside the root — by `..`, by an absolute path, by\n * `~/`, or through a symlink — is replaced with a refusal placeholder rather than its bytes, and the\n * placeholder echoes the path as the author wrote it rather than as resolved, so a refusal does not\n * leak the layout of the machine back into the same untrusted document.\n *\n * @public\n */\nexport function resolveContextImports(\n content: string,\n basePath: string,\n options: ResolveContextImportsOptions,\n): Promise<string> {\n const internalOptions: ResolveImportsOptions = {\n visited: options.visited ?? new Set<string>(),\n depth: options.depth ?? 0,\n maxBytesPerFile: options.maxBytesPerFile,\n projectRoot: options.projectRoot,\n };\n return resolveImportsInternal(content, basePath, internalOptions);\n}\n"]}
1
+ {"version":3,"sources":["../../src/context/index.ts"],"names":["resolveImports"],"mappings":";;;;;;;;;;;;AA+FO,SAAS,qBAAA,CACd,OAAA,EACA,QAAA,EACA,OAAA,EACiB;AACjB,EAAA,MAAM,eAAA,GAAyC;AAAA,IAC7C,OAAA,EAAS,OAAA,CAAQ,OAAA,oBAAW,IAAI,GAAA,EAAY;AAAA,IAC5C,KAAA,EAAO,QAAQ,KAAA,IAAS,CAAA;AAAA,IACxB,iBAAiB,OAAA,CAAQ,eAAA;AAAA,IACzB,aAAa,OAAA,CAAQ;AAAA,GACvB;AACA,EAAA,OAAOA,gCAAA,CAAuB,OAAA,EAAS,QAAA,EAAU,eAAe,CAAA;AAClE","file":"index.cjs","sourcesContent":["/**\n * `@theokit/sdk/context` — context assembly, as a SANCTIONED PUBLIC surface.\n *\n * Everything re-exported here is under semver. That is the whole difference from the\n * `internal/*` subpaths (`internal/persistence`, `internal/security`, `internal/memory-adapters`),\n * which the package documents as \"internal API — semver-exempt\" and is retiring:\n * `internal/persistence` is `@deprecated` in favour of the sanctioned `@theokit/sdk/persistence`,\n * and `internal/plugins` + `internal/observability` were deleted as dead public surface in July.\n *\n * **The list is explicit and there is no `export *`.** The tree behind it holds 13 files, including\n * YAML shims and parser internals a consumer never needs. Publishing the directory would commit\n * this package to every file in it; widening this list is a deliberate act.\n *\n * @public\n */\n\nimport {\n type ResolveImportsOptions,\n resolveImports as resolveImportsInternal,\n} from \"../internal/runtime/context/context-import-resolver.js\";\n\nexport type {\n DiscoveryParser,\n DiscoveryScope,\n DiscoverySpec,\n} from \"../internal/runtime/context/context-discovery.js\";\n/**\n * The seven conventions {@link runDiscovery} looks for when `specs` is omitted — `AGENTS.md`,\n * `GEMINI.md`, `CLAUDE.md`, `.cursor/rules/*.mdc`, `.theokit/rules/*.md`, `.theokit/context/*.md`\n * and `.theokit/THEO.md`.\n *\n * Exported because `specs` REPLACES this list rather than extending it. Without the constant, a\n * consumer registering one convention of its own silently loses every built-in one, and the loss is\n * invisible — discovery simply returns fewer sources. Spread it to extend:\n *\n * ```ts\n * await runDiscovery({ cwd, maxBytesPerFile, specs: [...DEFAULT_DISCOVERY_SPECS, mySpec] });\n * ```\n *\n * @public\n */\nexport { DEFAULT_DISCOVERY_SPECS } from \"../internal/runtime/context/context-discovery.js\";\nexport {\n type DiscoveryRunnerOptions,\n runDiscovery,\n} from \"../internal/runtime/context/context-discovery-runner.js\";\nexport {\n parseRules,\n shouldActivateRule,\n} from \"../internal/runtime/context/context-rules-frontmatter.js\";\n\n/**\n * Options for {@link resolveContextImports}.\n *\n * `projectRoot` is REQUIRED here and OPTIONAL on the internal `resolveImports`, and the asymmetry\n * is the point rather than an oversight.\n *\n * Internally the field has to be optional: it was added in 4.41.1 to close a defect where a\n * repository-supplied `CLAUDE.md` could name `@~/.ssh/id_rsa` and have that file inlined into the\n * agent's system prompt, and making it required would have broken every caller that predates it.\n *\n * As a PUBLIC contract the same optionality inverts into a trap. The obvious call omits the field,\n * compiles, and silently restores the un-contained behaviour — so the easiest way to use the API\n * would be the unsafe one, published under semver and therefore unfixable without a breaking\n * change. Requiring it makes the safe call the only call.\n *\n * @public\n */\nexport interface ResolveContextImportsOptions {\n /**\n * The directory an `@import` may not escape, compared after symlink resolution.\n *\n * A document carrying imports is repository-controlled — untrusted input whenever the repository\n * came from somewhere else — so the boundary is not optional.\n */\n readonly projectRoot: string;\n /** Per-import file cap, forwarded to the loader. */\n readonly maxBytesPerFile: number;\n /** Absolute paths already resolved, for cycle detection. Defaults to an empty set. */\n readonly visited?: Set<string>;\n /** Current recursion depth. Defaults to 0; the resolver caps at 5 hops. */\n readonly depth?: number;\n}\n\n/**\n * Expand `@path` import directives in `content`, confined to `options.projectRoot`.\n *\n * A line that is exactly `@some/path` is replaced with that file's content, recursively, with cycle\n * detection and a 5-hop cap. A target resolving outside the root — by `..`, by an absolute path, by\n * `~/`, or through a symlink — is replaced with a refusal placeholder rather than its bytes, and the\n * placeholder echoes the path as the author wrote it rather than as resolved, so a refusal does not\n * leak the layout of the machine back into the same untrusted document.\n *\n * @public\n */\nexport function resolveContextImports(\n content: string,\n basePath: string,\n options: ResolveContextImportsOptions,\n): Promise<string> {\n const internalOptions: ResolveImportsOptions = {\n visited: options.visited ?? new Set<string>(),\n depth: options.depth ?? 0,\n maxBytesPerFile: options.maxBytesPerFile,\n projectRoot: options.projectRoot,\n };\n return resolveImportsInternal(content, basePath, internalOptions);\n}\n"]}
@@ -1,8 +1,12 @@
1
- import { resolveImports } from '../chunk-HUDNLFY4.js';
2
- export { parseRules, runDiscovery, shouldActivateRule } from '../chunk-HUDNLFY4.js';
1
+ import { resolveImports } from '../chunk-3VXQEQE4.js';
2
+ export { parseRules, runDiscovery, shouldActivateRule } from '../chunk-3VXQEQE4.js';
3
+ import '../chunk-7C3HWGCW.js';
3
4
  import '../chunk-KVNWIAO4.js';
4
- export { DEFAULT_DISCOVERY_SPECS } from '../chunk-5NELQ6LB.js';
5
+ export { DEFAULT_DISCOVERY_SPECS } from '../chunk-A6PDYH55.js';
5
6
  import '../chunk-UKMBRMGT.js';
7
+ import '../chunk-X7EUUHXU.js';
8
+ import '../chunk-ALUN2B4W.js';
9
+ import '../chunk-CZJ6Q7CW.js';
6
10
 
7
11
  // src/context/index.ts
8
12
  function resolveContextImports(content, basePath, options) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/context/index.ts"],"names":[],"mappings":";;;;;;;AA+FO,SAAS,qBAAA,CACd,OAAA,EACA,QAAA,EACA,OAAA,EACiB;AACjB,EAAA,MAAM,eAAA,GAAyC;AAAA,IAC7C,OAAA,EAAS,OAAA,CAAQ,OAAA,oBAAW,IAAI,GAAA,EAAY;AAAA,IAC5C,KAAA,EAAO,QAAQ,KAAA,IAAS,CAAA;AAAA,IACxB,iBAAiB,OAAA,CAAQ,eAAA;AAAA,IACzB,aAAa,OAAA,CAAQ;AAAA,GACvB;AACA,EAAA,OAAO,cAAA,CAAuB,OAAA,EAAS,QAAA,EAAU,eAAe,CAAA;AAClE","file":"index.js","sourcesContent":["/**\n * `@theokit/sdk/context` — context assembly, as a SANCTIONED PUBLIC surface.\n *\n * Everything re-exported here is under semver. That is the whole difference from the\n * `internal/*` subpaths (`internal/persistence`, `internal/security`, `internal/memory-adapters`),\n * which the package documents as \"internal API — semver-exempt\" and is retiring:\n * `internal/persistence` is `@deprecated` in favour of the sanctioned `@theokit/sdk/persistence`,\n * and `internal/plugins` + `internal/observability` were deleted as dead public surface in July.\n *\n * **The list is explicit and there is no `export *`.** The tree behind it holds 13 files, including\n * YAML shims and parser internals a consumer never needs. Publishing the directory would commit\n * this package to every file in it; widening this list is a deliberate act.\n *\n * @public\n */\n\nimport {\n type ResolveImportsOptions,\n resolveImports as resolveImportsInternal,\n} from \"../internal/runtime/context/context-import-resolver.js\";\n\nexport type {\n DiscoveryParser,\n DiscoveryScope,\n DiscoverySpec,\n} from \"../internal/runtime/context/context-discovery.js\";\n/**\n * The seven conventions {@link runDiscovery} looks for when `specs` is omitted — `AGENTS.md`,\n * `GEMINI.md`, `CLAUDE.md`, `.cursor/rules/*.mdc`, `.theokit/rules/*.md`, `.theokit/context/*.md`\n * and `.theokit/THEO.md`.\n *\n * Exported because `specs` REPLACES this list rather than extending it. Without the constant, a\n * consumer registering one convention of its own silently loses every built-in one, and the loss is\n * invisible — discovery simply returns fewer sources. Spread it to extend:\n *\n * ```ts\n * await runDiscovery({ cwd, maxBytesPerFile, specs: [...DEFAULT_DISCOVERY_SPECS, mySpec] });\n * ```\n *\n * @public\n */\nexport { DEFAULT_DISCOVERY_SPECS } from \"../internal/runtime/context/context-discovery.js\";\nexport {\n type DiscoveryRunnerOptions,\n runDiscovery,\n} from \"../internal/runtime/context/context-discovery-runner.js\";\nexport {\n parseRules,\n shouldActivateRule,\n} from \"../internal/runtime/context/context-rules-frontmatter.js\";\n\n/**\n * Options for {@link resolveContextImports}.\n *\n * `projectRoot` is REQUIRED here and OPTIONAL on the internal `resolveImports`, and the asymmetry\n * is the point rather than an oversight.\n *\n * Internally the field has to be optional: it was added in 4.41.1 to close a defect where a\n * repository-supplied `CLAUDE.md` could name `@~/.ssh/id_rsa` and have that file inlined into the\n * agent's system prompt, and making it required would have broken every caller that predates it.\n *\n * As a PUBLIC contract the same optionality inverts into a trap. The obvious call omits the field,\n * compiles, and silently restores the un-contained behaviour — so the easiest way to use the API\n * would be the unsafe one, published under semver and therefore unfixable without a breaking\n * change. Requiring it makes the safe call the only call.\n *\n * @public\n */\nexport interface ResolveContextImportsOptions {\n /**\n * The directory an `@import` may not escape, compared after symlink resolution.\n *\n * A document carrying imports is repository-controlled — untrusted input whenever the repository\n * came from somewhere else — so the boundary is not optional.\n */\n readonly projectRoot: string;\n /** Per-import file cap, forwarded to the loader. */\n readonly maxBytesPerFile: number;\n /** Absolute paths already resolved, for cycle detection. Defaults to an empty set. */\n readonly visited?: Set<string>;\n /** Current recursion depth. Defaults to 0; the resolver caps at 5 hops. */\n readonly depth?: number;\n}\n\n/**\n * Expand `@path` import directives in `content`, confined to `options.projectRoot`.\n *\n * A line that is exactly `@some/path` is replaced with that file's content, recursively, with cycle\n * detection and a 5-hop cap. A target resolving outside the root — by `..`, by an absolute path, by\n * `~/`, or through a symlink — is replaced with a refusal placeholder rather than its bytes, and the\n * placeholder echoes the path as the author wrote it rather than as resolved, so a refusal does not\n * leak the layout of the machine back into the same untrusted document.\n *\n * @public\n */\nexport function resolveContextImports(\n content: string,\n basePath: string,\n options: ResolveContextImportsOptions,\n): Promise<string> {\n const internalOptions: ResolveImportsOptions = {\n visited: options.visited ?? new Set<string>(),\n depth: options.depth ?? 0,\n maxBytesPerFile: options.maxBytesPerFile,\n projectRoot: options.projectRoot,\n };\n return resolveImportsInternal(content, basePath, internalOptions);\n}\n"]}
1
+ {"version":3,"sources":["../../src/context/index.ts"],"names":[],"mappings":";;;;;;;;;;;AA+FO,SAAS,qBAAA,CACd,OAAA,EACA,QAAA,EACA,OAAA,EACiB;AACjB,EAAA,MAAM,eAAA,GAAyC;AAAA,IAC7C,OAAA,EAAS,OAAA,CAAQ,OAAA,oBAAW,IAAI,GAAA,EAAY;AAAA,IAC5C,KAAA,EAAO,QAAQ,KAAA,IAAS,CAAA;AAAA,IACxB,iBAAiB,OAAA,CAAQ,eAAA;AAAA,IACzB,aAAa,OAAA,CAAQ;AAAA,GACvB;AACA,EAAA,OAAO,cAAA,CAAuB,OAAA,EAAS,QAAA,EAAU,eAAe,CAAA;AAClE","file":"index.js","sourcesContent":["/**\n * `@theokit/sdk/context` — context assembly, as a SANCTIONED PUBLIC surface.\n *\n * Everything re-exported here is under semver. That is the whole difference from the\n * `internal/*` subpaths (`internal/persistence`, `internal/security`, `internal/memory-adapters`),\n * which the package documents as \"internal API — semver-exempt\" and is retiring:\n * `internal/persistence` is `@deprecated` in favour of the sanctioned `@theokit/sdk/persistence`,\n * and `internal/plugins` + `internal/observability` were deleted as dead public surface in July.\n *\n * **The list is explicit and there is no `export *`.** The tree behind it holds 13 files, including\n * YAML shims and parser internals a consumer never needs. Publishing the directory would commit\n * this package to every file in it; widening this list is a deliberate act.\n *\n * @public\n */\n\nimport {\n type ResolveImportsOptions,\n resolveImports as resolveImportsInternal,\n} from \"../internal/runtime/context/context-import-resolver.js\";\n\nexport type {\n DiscoveryParser,\n DiscoveryScope,\n DiscoverySpec,\n} from \"../internal/runtime/context/context-discovery.js\";\n/**\n * The seven conventions {@link runDiscovery} looks for when `specs` is omitted — `AGENTS.md`,\n * `GEMINI.md`, `CLAUDE.md`, `.cursor/rules/*.mdc`, `.theokit/rules/*.md`, `.theokit/context/*.md`\n * and `.theokit/THEO.md`.\n *\n * Exported because `specs` REPLACES this list rather than extending it. Without the constant, a\n * consumer registering one convention of its own silently loses every built-in one, and the loss is\n * invisible — discovery simply returns fewer sources. Spread it to extend:\n *\n * ```ts\n * await runDiscovery({ cwd, maxBytesPerFile, specs: [...DEFAULT_DISCOVERY_SPECS, mySpec] });\n * ```\n *\n * @public\n */\nexport { DEFAULT_DISCOVERY_SPECS } from \"../internal/runtime/context/context-discovery.js\";\nexport {\n type DiscoveryRunnerOptions,\n runDiscovery,\n} from \"../internal/runtime/context/context-discovery-runner.js\";\nexport {\n parseRules,\n shouldActivateRule,\n} from \"../internal/runtime/context/context-rules-frontmatter.js\";\n\n/**\n * Options for {@link resolveContextImports}.\n *\n * `projectRoot` is REQUIRED here and OPTIONAL on the internal `resolveImports`, and the asymmetry\n * is the point rather than an oversight.\n *\n * Internally the field has to be optional: it was added in 4.41.1 to close a defect where a\n * repository-supplied `CLAUDE.md` could name `@~/.ssh/id_rsa` and have that file inlined into the\n * agent's system prompt, and making it required would have broken every caller that predates it.\n *\n * As a PUBLIC contract the same optionality inverts into a trap. The obvious call omits the field,\n * compiles, and silently restores the un-contained behaviour — so the easiest way to use the API\n * would be the unsafe one, published under semver and therefore unfixable without a breaking\n * change. Requiring it makes the safe call the only call.\n *\n * @public\n */\nexport interface ResolveContextImportsOptions {\n /**\n * The directory an `@import` may not escape, compared after symlink resolution.\n *\n * A document carrying imports is repository-controlled — untrusted input whenever the repository\n * came from somewhere else — so the boundary is not optional.\n */\n readonly projectRoot: string;\n /** Per-import file cap, forwarded to the loader. */\n readonly maxBytesPerFile: number;\n /** Absolute paths already resolved, for cycle detection. Defaults to an empty set. */\n readonly visited?: Set<string>;\n /** Current recursion depth. Defaults to 0; the resolver caps at 5 hops. */\n readonly depth?: number;\n}\n\n/**\n * Expand `@path` import directives in `content`, confined to `options.projectRoot`.\n *\n * A line that is exactly `@some/path` is replaced with that file's content, recursively, with cycle\n * detection and a 5-hop cap. A target resolving outside the root — by `..`, by an absolute path, by\n * `~/`, or through a symlink — is replaced with a refusal placeholder rather than its bytes, and the\n * placeholder echoes the path as the author wrote it rather than as resolved, so a refusal does not\n * leak the layout of the machine back into the same untrusted document.\n *\n * @public\n */\nexport function resolveContextImports(\n content: string,\n basePath: string,\n options: ResolveContextImportsOptions,\n): Promise<string> {\n const internalOptions: ResolveImportsOptions = {\n visited: options.visited ?? new Set<string>(),\n depth: options.depth ?? 0,\n maxBytesPerFile: options.maxBytesPerFile,\n projectRoot: options.projectRoot,\n };\n return resolveImportsInternal(content, basePath, internalOptions);\n}\n"]}
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk7IZKTQ5G_cjs = require('./chunk-7IZKTQ5G.cjs');
3
+ var chunkYYN6BB7R_cjs = require('./chunk-YYN6BB7R.cjs');
4
+ require('./chunk-GK3UG7YQ.cjs');
4
5
  require('./chunk-TY56BKSK.cjs');
5
6
  require('./chunk-J7J7J2GN.cjs');
6
7
  require('./chunk-6LHQPOMI.cjs');
@@ -9,15 +10,15 @@ require('./chunk-6LHQPOMI.cjs');
9
10
 
10
11
  Object.defineProperty(exports, "currentPersonalityContext", {
11
12
  enumerable: true,
12
- get: function () { return chunk7IZKTQ5G_cjs.currentPersonalityContext; }
13
+ get: function () { return chunkYYN6BB7R_cjs.currentPersonalityContext; }
13
14
  });
14
15
  Object.defineProperty(exports, "warnPersonalitySwitchInsideFork", {
15
16
  enumerable: true,
16
- get: function () { return chunk7IZKTQ5G_cjs.warnPersonalitySwitchInsideFork; }
17
+ get: function () { return chunkYYN6BB7R_cjs.warnPersonalitySwitchInsideFork; }
17
18
  });
18
19
  Object.defineProperty(exports, "withPersonalityContext", {
19
20
  enumerable: true,
20
- get: function () { return chunk7IZKTQ5G_cjs.withPersonalityContext; }
21
+ get: function () { return chunkYYN6BB7R_cjs.withPersonalityContext; }
21
22
  });
22
- //# sourceMappingURL=context-HR4KMXMA.cjs.map
23
- //# sourceMappingURL=context-HR4KMXMA.cjs.map
23
+ //# sourceMappingURL=context-7RP5JXGM.cjs.map
24
+ //# sourceMappingURL=context-7RP5JXGM.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"context-HR4KMXMA.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"context-7RP5JXGM.cjs"}
@@ -0,0 +1,7 @@
1
+ export { currentPersonalityContext, warnPersonalitySwitchInsideFork, withPersonalityContext } from './chunk-DQNI52VV.js';
2
+ import './chunk-7C3HWGCW.js';
3
+ import './chunk-X7EUUHXU.js';
4
+ import './chunk-ALUN2B4W.js';
5
+ import './chunk-CZJ6Q7CW.js';
6
+ //# sourceMappingURL=context-OJIIXJCV.js.map
7
+ //# sourceMappingURL=context-OJIIXJCV.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"context-J5BJ3LBS.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"context-OJIIXJCV.js"}
@@ -1,6 +1,6 @@
1
1
  import { Workflow, WorkflowRun } from './workflow.cjs';
2
2
  import { aa as SDKUserMessage, b as Run } from './run-CTAdRU3U.cjs';
3
- import { A as AgentOptions, d as ListResult } from './agent-82d_DrCL.cjs';
3
+ import { A as AgentOptions, d as ListResult } from './agent-Dya5SmhY.cjs';
4
4
 
5
5
  /**
6
6
  * Owner: `internal/cron/` (4 of 5 importers). Derived from the import graph, not declared —
@@ -1,6 +1,6 @@
1
1
  import { Workflow, WorkflowRun } from './workflow.js';
2
2
  import { aa as SDKUserMessage, b as Run } from './run-CTAdRU3U.js';
3
- import { A as AgentOptions, d as ListResult } from './agent-G6g-uwcB.js';
3
+ import { A as AgentOptions, d as ListResult } from './agent-Bqzdhkqr.js';
4
4
 
5
5
  /**
6
6
  * Owner: `internal/cron/` (4 of 5 importers). Derived from the import graph, not declared —
package/dist/cron.cjs CHANGED
@@ -1,26 +1,27 @@
1
1
  'use strict';
2
2
 
3
- var chunkHG4UN4MN_cjs = require('./chunk-HG4UN4MN.cjs');
4
- require('./chunk-GCHZMH42.cjs');
3
+ var chunkER5BOIYD_cjs = require('./chunk-ER5BOIYD.cjs');
4
+ require('./chunk-A575WPBL.cjs');
5
5
  require('./chunk-KVSAY6NZ.cjs');
6
- require('./chunk-DZG77WU7.cjs');
6
+ require('./chunk-3XSWF5AP.cjs');
7
7
  require('./chunk-BUUUWQMB.cjs');
8
- require('./chunk-VUHXC74Q.cjs');
9
- require('./chunk-7IZKTQ5G.cjs');
8
+ require('./chunk-33A27NFX.cjs');
9
+ require('./chunk-YYN6BB7R.cjs');
10
10
  require('./chunk-BV2MWEMV.cjs');
11
11
  require('./chunk-D6POWE7E.cjs');
12
12
  require('./chunk-GHX4P3V2.cjs');
13
13
  require('./chunk-TMKTSYDS.cjs');
14
- require('./chunk-GFFBXSQT.cjs');
14
+ require('./chunk-HNAYCTX4.cjs');
15
15
  require('./chunk-7FDKWDA2.cjs');
16
- require('./chunk-C4ZQPWXJ.cjs');
16
+ require('./chunk-ZLMU5EU3.cjs');
17
17
  require('./chunk-FUSDYC2B.cjs');
18
18
  require('./chunk-YJNYDJ2T.cjs');
19
19
  require('./chunk-24SYBZPL.cjs');
20
20
  require('./chunk-QOGNZMHD.cjs');
21
21
  require('./chunk-YIFFF23U.cjs');
22
22
  require('./chunk-2ZPEDVLM.cjs');
23
- require('./chunk-EIOMN5VA.cjs');
23
+ require('./chunk-EFETPSJZ.cjs');
24
+ require('./chunk-GK3UG7YQ.cjs');
24
25
  require('./chunk-KRD3GQAA.cjs');
25
26
  require('./chunk-RQMCOFAI.cjs');
26
27
  require('./chunk-MUUQ2WFJ.cjs');
@@ -30,7 +31,7 @@ require('./chunk-FRITRLZQ.cjs');
30
31
  require('./chunk-NQTD6QOW.cjs');
31
32
  require('./chunk-NINIJCHU.cjs');
32
33
  require('./chunk-MYJGWS2J.cjs');
33
- require('./chunk-LD6HASA5.cjs');
34
+ require('./chunk-7KBNBPFK.cjs');
34
35
  require('./chunk-IJ7M6GOG.cjs');
35
36
  require('./chunk-7A6535RA.cjs');
36
37
  require('./chunk-SA6K24NB.cjs');
@@ -62,7 +63,7 @@ require('./chunk-6LHQPOMI.cjs');
62
63
 
63
64
  Object.defineProperty(exports, "Cron", {
64
65
  enumerable: true,
65
- get: function () { return chunkHG4UN4MN_cjs.Cron; }
66
+ get: function () { return chunkER5BOIYD_cjs.Cron; }
66
67
  });
67
68
  //# sourceMappingURL=cron.cjs.map
68
69
  //# sourceMappingURL=cron.cjs.map
package/dist/cron.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import './workflow.cjs';
2
2
  import './run-CTAdRU3U.cjs';
3
- import './agent-82d_DrCL.cjs';
4
- export { C as Cron } from './cron-DWv69ZSD.cjs';
3
+ import './agent-Dya5SmhY.cjs';
4
+ export { C as Cron } from './cron-BwxDUscv.cjs';
5
5
  import 'zod';
6
6
  import './sdk-agent-BOiKqOgL.cjs';
7
7
  import './errors-base-B5g01neU.cjs';
package/dist/cron.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import './workflow.js';
2
2
  import './run-CTAdRU3U.js';
3
- import './agent-G6g-uwcB.js';
4
- export { C as Cron } from './cron-GynWtAax.js';
3
+ import './agent-Bqzdhkqr.js';
4
+ export { C as Cron } from './cron-D8uB1Xh5.js';
5
5
  import 'zod';
6
6
  import './sdk-agent-D4a_BR_6.js';
7
7
  import './errors-base-B5g01neU.js';
package/dist/cron.js CHANGED
@@ -1,24 +1,25 @@
1
- export { Cron } from './chunk-FPIY5CLV.js';
2
- import './chunk-2UXQASTX.js';
1
+ export { Cron } from './chunk-6JG2RFGK.js';
2
+ import './chunk-FUUSIT2T.js';
3
3
  import './chunk-K2VMFZQ5.js';
4
- import './chunk-2QKV4CGK.js';
4
+ import './chunk-CZWN4C6A.js';
5
5
  import './chunk-K2BQQ445.js';
6
- import './chunk-7MMTZBTT.js';
7
- import './chunk-N2KAIZ5D.js';
6
+ import './chunk-P5S3WCSZ.js';
7
+ import './chunk-DQNI52VV.js';
8
8
  import './chunk-2SFBB54R.js';
9
9
  import './chunk-55GB6JYQ.js';
10
10
  import './chunk-H73MEMQB.js';
11
11
  import './chunk-OR6XIWLB.js';
12
- import './chunk-BZ3YMAMP.js';
12
+ import './chunk-R3LBRQAN.js';
13
13
  import './chunk-AAEZSPTC.js';
14
- import './chunk-KZSKIUXZ.js';
14
+ import './chunk-N7VAE6DZ.js';
15
15
  import './chunk-UBR5PWD7.js';
16
16
  import './chunk-2XC6KDJM.js';
17
17
  import './chunk-XB4GI5RZ.js';
18
18
  import './chunk-24MGQDK3.js';
19
19
  import './chunk-2WXHA33T.js';
20
20
  import './chunk-HKCKOAIO.js';
21
- import './chunk-HUDNLFY4.js';
21
+ import './chunk-3VXQEQE4.js';
22
+ import './chunk-7C3HWGCW.js';
22
23
  import './chunk-KVNWIAO4.js';
23
24
  import './chunk-SVQIW5RJ.js';
24
25
  import './chunk-FD2UT76F.js';
@@ -28,7 +29,7 @@ import './chunk-NAF4L3T6.js';
28
29
  import './chunk-CFE6QF2Q.js';
29
30
  import './chunk-6X6ID4MO.js';
30
31
  import './chunk-CA5VUAP3.js';
31
- import './chunk-5NELQ6LB.js';
32
+ import './chunk-A6PDYH55.js';
32
33
  import './chunk-SAGRF4IB.js';
33
34
  import './chunk-EH6XD3FY.js';
34
35
  import './chunk-UKMBRMGT.js';
package/dist/eval.cjs CHANGED
@@ -1,26 +1,27 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkUADQJBHR_cjs = require('./chunk-UADQJBHR.cjs');
4
- var chunkGCHZMH42_cjs = require('./chunk-GCHZMH42.cjs');
4
+ var chunkA575WPBL_cjs = require('./chunk-A575WPBL.cjs');
5
5
  require('./chunk-KVSAY6NZ.cjs');
6
- require('./chunk-DZG77WU7.cjs');
6
+ require('./chunk-3XSWF5AP.cjs');
7
7
  var chunkBUUUWQMB_cjs = require('./chunk-BUUUWQMB.cjs');
8
- require('./chunk-VUHXC74Q.cjs');
9
- require('./chunk-7IZKTQ5G.cjs');
8
+ require('./chunk-33A27NFX.cjs');
9
+ require('./chunk-YYN6BB7R.cjs');
10
10
  require('./chunk-BV2MWEMV.cjs');
11
11
  require('./chunk-D6POWE7E.cjs');
12
12
  require('./chunk-GHX4P3V2.cjs');
13
13
  require('./chunk-TMKTSYDS.cjs');
14
- require('./chunk-GFFBXSQT.cjs');
14
+ require('./chunk-HNAYCTX4.cjs');
15
15
  require('./chunk-7FDKWDA2.cjs');
16
- require('./chunk-C4ZQPWXJ.cjs');
16
+ require('./chunk-ZLMU5EU3.cjs');
17
17
  require('./chunk-FUSDYC2B.cjs');
18
18
  require('./chunk-YJNYDJ2T.cjs');
19
19
  require('./chunk-24SYBZPL.cjs');
20
20
  require('./chunk-QOGNZMHD.cjs');
21
21
  require('./chunk-YIFFF23U.cjs');
22
22
  require('./chunk-2ZPEDVLM.cjs');
23
- require('./chunk-EIOMN5VA.cjs');
23
+ require('./chunk-EFETPSJZ.cjs');
24
+ require('./chunk-GK3UG7YQ.cjs');
24
25
  require('./chunk-KRD3GQAA.cjs');
25
26
  require('./chunk-RQMCOFAI.cjs');
26
27
  require('./chunk-MUUQ2WFJ.cjs');
@@ -30,7 +31,7 @@ require('./chunk-FRITRLZQ.cjs');
30
31
  require('./chunk-NQTD6QOW.cjs');
31
32
  var chunkNINIJCHU_cjs = require('./chunk-NINIJCHU.cjs');
32
33
  require('./chunk-MYJGWS2J.cjs');
33
- require('./chunk-LD6HASA5.cjs');
34
+ require('./chunk-7KBNBPFK.cjs');
34
35
  require('./chunk-IJ7M6GOG.cjs');
35
36
  require('./chunk-7A6535RA.cjs');
36
37
  require('./chunk-SA6K24NB.cjs');
@@ -795,7 +796,7 @@ function makeDefaultEmbedder(opts) {
795
796
  let runtime;
796
797
  return (texts) => {
797
798
  if (runtime === void 0) {
798
- runtime = chunkGCHZMH42_cjs.openRouterMemoryEmbeddingProviderAdapter.create(embedderCreateOptions(opts));
799
+ runtime = chunkA575WPBL_cjs.openRouterMemoryEmbeddingProviderAdapter.create(embedderCreateOptions(opts));
799
800
  }
800
801
  return runtime.then((rt) => rt.embed(texts));
801
802
  };