@theokit/sdk 4.56.0 → 4.57.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 (86) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/{agent-PJMBK7HQ.cjs → agent-2T2EJIP6.cjs} +10 -10
  3. package/dist/{agent-PJMBK7HQ.cjs.map → agent-2T2EJIP6.cjs.map} +1 -1
  4. package/dist/{agent-K3PQBS7D.js → agent-ZIYCVEZL.js} +9 -9
  5. package/dist/{agent-K3PQBS7D.js.map → agent-ZIYCVEZL.js.map} +1 -1
  6. package/dist/agent-session-store-G2BMUZQV.js +7 -0
  7. package/dist/{agent-session-store-P6V3FINW.js.map → agent-session-store-G2BMUZQV.js.map} +1 -1
  8. package/dist/agent-session-store-WAKLOKWK.cjs +24 -0
  9. package/dist/{agent-session-store-ZJ3JSRS4.cjs.map → agent-session-store-WAKLOKWK.cjs.map} +1 -1
  10. package/dist/{chunk-HLPSLDGL.cjs → chunk-43GFJ5SD.cjs} +7 -7
  11. package/dist/{chunk-HLPSLDGL.cjs.map → chunk-43GFJ5SD.cjs.map} +1 -1
  12. package/dist/{chunk-KBXWEWKS.js → chunk-7TCRNXNK.js} +50 -30
  13. package/dist/chunk-7TCRNXNK.js.map +1 -0
  14. package/dist/{chunk-JHPGF3FP.cjs → chunk-BUIK7GUA.cjs} +22 -2
  15. package/dist/chunk-BUIK7GUA.cjs.map +1 -0
  16. package/dist/{chunk-6VLKVX7O.cjs → chunk-E7JHD6QJ.cjs} +4 -3
  17. package/dist/chunk-E7JHD6QJ.cjs.map +1 -0
  18. package/dist/{chunk-DZBSJX6J.js → chunk-FKMUFNQE.js} +21 -4
  19. package/dist/chunk-FKMUFNQE.js.map +1 -0
  20. package/dist/{chunk-BMAZLQQ4.js → chunk-G24KZRSA.js} +3 -3
  21. package/dist/{chunk-BMAZLQQ4.js.map → chunk-G24KZRSA.js.map} +1 -1
  22. package/dist/{chunk-ODTZ7HX3.js → chunk-G6EEYRDD.js} +3 -3
  23. package/dist/chunk-G6EEYRDD.js.map +1 -0
  24. package/dist/{chunk-MVAPK2BX.js → chunk-IACR5LEM.js} +3 -3
  25. package/dist/{chunk-MVAPK2BX.js.map → chunk-IACR5LEM.js.map} +1 -1
  26. package/dist/{chunk-V2UUGUY4.cjs → chunk-KKK3FZ4A.cjs} +6 -6
  27. package/dist/{chunk-V2UUGUY4.cjs.map → chunk-KKK3FZ4A.cjs.map} +1 -1
  28. package/dist/{chunk-M7UHYBEY.js → chunk-LEM2GOMI.js} +3 -3
  29. package/dist/{chunk-M7UHYBEY.js.map → chunk-LEM2GOMI.js.map} +1 -1
  30. package/dist/{chunk-LQYQHXIW.cjs → chunk-M2JWHKO6.cjs} +103 -83
  31. package/dist/chunk-M2JWHKO6.cjs.map +1 -0
  32. package/dist/{chunk-YPJ5NH5N.cjs → chunk-QI7WE46I.cjs} +29 -6
  33. package/dist/chunk-QI7WE46I.cjs.map +1 -0
  34. package/dist/{chunk-OHBIUXKM.js → chunk-WG7R5W6R.js} +4 -4
  35. package/dist/{chunk-OHBIUXKM.js.map → chunk-WG7R5W6R.js.map} +1 -1
  36. package/dist/{chunk-H5GOSXSC.cjs → chunk-X7O4255I.cjs} +4 -4
  37. package/dist/{chunk-H5GOSXSC.cjs.map → chunk-X7O4255I.cjs.map} +1 -1
  38. package/dist/{chunk-GJ6RK75E.js → chunk-YJDH3CKG.js} +29 -6
  39. package/dist/chunk-YJDH3CKG.js.map +1 -0
  40. package/dist/{chunk-CTCGWIUD.cjs → chunk-Z4BCLVTI.cjs} +5 -5
  41. package/dist/{chunk-CTCGWIUD.cjs.map → chunk-Z4BCLVTI.cjs.map} +1 -1
  42. package/dist/{compact-session-FUJDVF7B.js → compact-session-QGDNP45U.js} +4 -4
  43. package/dist/{compact-session-FUJDVF7B.js.map → compact-session-QGDNP45U.js.map} +1 -1
  44. package/dist/{compact-session-LEWF554G.cjs → compact-session-YHFQIXV5.cjs} +12 -12
  45. package/dist/{compact-session-LEWF554G.cjs.map → compact-session-YHFQIXV5.cjs.map} +1 -1
  46. package/dist/cron.cjs +9 -9
  47. package/dist/cron.js +8 -8
  48. package/dist/eval.cjs +8 -8
  49. package/dist/eval.js +7 -7
  50. package/dist/{fs-session-store-IN7JTTXD.js → fs-session-store-4BHGIWRE.js} +4 -4
  51. package/dist/{fs-session-store-IN7JTTXD.js.map → fs-session-store-4BHGIWRE.js.map} +1 -1
  52. package/dist/{fs-session-store-3MOJQGP2.cjs → fs-session-store-XZ7ZTB3A.cjs} +5 -5
  53. package/dist/{fs-session-store-3MOJQGP2.cjs.map → fs-session-store-XZ7ZTB3A.cjs.map} +1 -1
  54. package/dist/{index-manager-WC5ZVJWO.cjs → index-manager-AO4LJQZ4.cjs} +4 -4
  55. package/dist/{index-manager-WC5ZVJWO.cjs.map → index-manager-AO4LJQZ4.cjs.map} +1 -1
  56. package/dist/{index-manager-WBIMDVQT.js → index-manager-QDPIYIGV.js} +3 -3
  57. package/dist/{index-manager-WBIMDVQT.js.map → index-manager-QDPIYIGV.js.map} +1 -1
  58. package/dist/index.cjs +38 -38
  59. package/dist/index.js +11 -11
  60. package/dist/{inject-session-WQGGMCQY.cjs → inject-session-MLCJMYDG.cjs} +7 -7
  61. package/dist/{inject-session-WQGGMCQY.cjs.map → inject-session-MLCJMYDG.cjs.map} +1 -1
  62. package/dist/{inject-session-BJMJH5BX.js → inject-session-RBQZ45UM.js} +5 -5
  63. package/dist/{inject-session-BJMJH5BX.js.map → inject-session-RBQZ45UM.js.map} +1 -1
  64. package/dist/internal/persistence/session-transcript.d.cts +40 -1
  65. package/dist/internal/persistence/session-transcript.d.ts +40 -1
  66. package/dist/persistence.cjs +4 -4
  67. package/dist/persistence.js +1 -1
  68. package/dist/session-transcript-HF5GEU5M.cjs +63 -0
  69. package/dist/{session-transcript-JXHFTB7G.cjs.map → session-transcript-HF5GEU5M.cjs.map} +1 -1
  70. package/dist/session-transcript-P462ZRHX.js +6 -0
  71. package/dist/{session-transcript-AKDYYGXQ.js.map → session-transcript-P462ZRHX.js.map} +1 -1
  72. package/docs/error-codes.md +4 -4
  73. package/docs/harness-capability-map.md +1 -1
  74. package/package.json +5 -9
  75. package/dist/agent-session-store-P6V3FINW.js +0 -7
  76. package/dist/agent-session-store-ZJ3JSRS4.cjs +0 -24
  77. package/dist/chunk-6VLKVX7O.cjs.map +0 -1
  78. package/dist/chunk-DZBSJX6J.js.map +0 -1
  79. package/dist/chunk-GJ6RK75E.js.map +0 -1
  80. package/dist/chunk-JHPGF3FP.cjs.map +0 -1
  81. package/dist/chunk-KBXWEWKS.js.map +0 -1
  82. package/dist/chunk-LQYQHXIW.cjs.map +0 -1
  83. package/dist/chunk-ODTZ7HX3.js.map +0 -1
  84. package/dist/chunk-YPJ5NH5N.cjs.map +0 -1
  85. package/dist/session-transcript-AKDYYGXQ.js +0 -6
  86. package/dist/session-transcript-JXHFTB7G.cjs +0 -51
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkV2UUGUY4_cjs = require('./chunk-V2UUGUY4.cjs');
4
- var chunk6VLKVX7O_cjs = require('./chunk-6VLKVX7O.cjs');
3
+ var chunkKKK3FZ4A_cjs = require('./chunk-KKK3FZ4A.cjs');
4
+ var chunkE7JHD6QJ_cjs = require('./chunk-E7JHD6QJ.cjs');
5
5
  var chunk53CBTBWO_cjs = require('./chunk-53CBTBWO.cjs');
6
6
  var chunkBV2MWEMV_cjs = require('./chunk-BV2MWEMV.cjs');
7
7
  var chunkNGESVVJN_cjs = require('./chunk-NGESVVJN.cjs');
8
8
  var chunkEI2Q7SJ5_cjs = require('./chunk-EI2Q7SJ5.cjs');
9
- var chunkYPJ5NH5N_cjs = require('./chunk-YPJ5NH5N.cjs');
10
- var chunkHLPSLDGL_cjs = require('./chunk-HLPSLDGL.cjs');
9
+ var chunkQI7WE46I_cjs = require('./chunk-QI7WE46I.cjs');
10
+ var chunk43GFJ5SD_cjs = require('./chunk-43GFJ5SD.cjs');
11
11
  var chunk2ZPEDVLM_cjs = require('./chunk-2ZPEDVLM.cjs');
12
12
  var chunkE3WZ6Y4H_cjs = require('./chunk-E3WZ6Y4H.cjs');
13
13
  var chunkU2AC6JUP_cjs = require('./chunk-U2AC6JUP.cjs');
@@ -20,7 +20,7 @@ var chunkVJ26EKGJ_cjs = require('./chunk-VJ26EKGJ.cjs');
20
20
  var chunkR3UPQFKK_cjs = require('./chunk-R3UPQFKK.cjs');
21
21
  var chunkVKJ7V7EB_cjs = require('./chunk-VKJ7V7EB.cjs');
22
22
  var chunkILCGLTSA_cjs = require('./chunk-ILCGLTSA.cjs');
23
- var chunkJHPGF3FP_cjs = require('./chunk-JHPGF3FP.cjs');
23
+ var chunkBUIK7GUA_cjs = require('./chunk-BUIK7GUA.cjs');
24
24
  var chunk2ADR2GSO_cjs = require('./chunk-2ADR2GSO.cjs');
25
25
  var chunkZF2LDKQQ_cjs = require('./chunk-ZF2LDKQQ.cjs');
26
26
  var chunkI6TGFUCO_cjs = require('./chunk-I6TGFUCO.cjs');
@@ -884,7 +884,7 @@ async function readLegacyFacts(jsonPath) {
884
884
  }
885
885
  async function writeMigratedFacts(cwd, jsonPath, facts) {
886
886
  try {
887
- for (const fact of facts) await chunk6VLKVX7O_cjs.appendFactToMarkdown(cwd, fact);
887
+ for (const fact of facts) await chunkE7JHD6QJ_cjs.appendFactToMarkdown(cwd, fact);
888
888
  await promises.unlink(jsonPath).catch(() => void 0);
889
889
  chunkNUKRL3I6_cjs.diag(`[theokit-sdk] migrated ${facts.length} fact(s) from ${jsonPath} to MEMORY.md
890
890
  `);
@@ -901,11 +901,11 @@ async function migrateLegacyJson(cwd, config) {
901
901
  const key = `${cwd}::${config.namespace ?? "default"}::${config.scope ?? "agent"}::${config.userId ?? "default"}`;
902
902
  if (migrationRun.has(key)) return { migrated: false, factCount: 0, reason: "already-migrated" };
903
903
  migrationRun.add(key);
904
- const jsonPath = chunk6VLKVX7O_cjs.legacyMemoryJsonPath(cwd, config);
904
+ const jsonPath = chunkE7JHD6QJ_cjs.legacyMemoryJsonPath(cwd, config);
905
905
  if (!await fileExists(jsonPath)) {
906
906
  return { migrated: false, factCount: 0, reason: "no-legacy-json" };
907
907
  }
908
- if (await fileExists(chunk6VLKVX7O_cjs.memoryMdPath(cwd))) {
908
+ if (await fileExists(chunkE7JHD6QJ_cjs.memoryMdPath(cwd))) {
909
909
  chunkNUKRL3I6_cjs.diag(
910
910
  `[theokit-sdk] memory migration skipped: both MEMORY.md and legacy JSON exist at ${jsonPath}; leaving both intact
911
911
  `
@@ -918,25 +918,35 @@ async function migrateLegacyJson(cwd, config) {
918
918
  }
919
919
 
920
920
  // src/internal/runtime/memory/memory-store.ts
921
- var REMEMBER_PATTERN = /^\s*Remember(?:\s+this\s+durable\s+preference)?\s*:\s*(.+)$/i;
921
+ var REMEMBER_PATTERN = /^\s*Remember(?:\s+this\s+durable\s+preference)?\s*(?:\((user|feedback|project|reference)\))?\s*:\s*(.+)$/i;
922
922
  function isMemoryWritePrompt(message) {
923
923
  return REMEMBER_PATTERN.test(message) || message.includes("Remember this durable");
924
924
  }
925
925
  function extractMemoryFact(message) {
926
926
  const match = REMEMBER_PATTERN.exec(message);
927
- if (match === null || match[1] === void 0) return "";
928
- return match[1].trim().replace(/\.$/, "");
927
+ if (match === null || match[2] === void 0) return "";
928
+ return match[2].trim().replace(/\.$/, "");
929
+ }
930
+ function extractMemoryKind(message) {
931
+ const match = REMEMBER_PATTERN.exec(message);
932
+ const declared = match?.[1];
933
+ if (declared === void 0) return void 0;
934
+ const lowered = declared.toLowerCase();
935
+ return chunkE7JHD6QJ_cjs.MEMORY_KINDS.includes(lowered) ? lowered : void 0;
929
936
  }
930
937
  async function readMemoryFacts(cwd, config) {
931
938
  if (!config.enabled) return [];
932
939
  await migrateLegacyJson(cwd, config);
933
- return chunk6VLKVX7O_cjs.readFacts(cwd, config);
940
+ return chunkE7JHD6QJ_cjs.readFacts(cwd, config);
934
941
  }
935
942
  async function appendMemoryFact(cwd, config, fact) {
936
943
  if (!config.enabled) return;
937
944
  await migrateLegacyJson(cwd, config);
938
- const sanitized = { text: chunkJTB5Q42C_cjs.redactSecrets(fact.text) };
939
- await chunk6VLKVX7O_cjs.appendFact(cwd, config, sanitized);
945
+ const sanitized = {
946
+ text: chunkJTB5Q42C_cjs.redactSecrets(fact.text),
947
+ ...fact.kind === void 0 ? {} : { kind: fact.kind }
948
+ };
949
+ await chunkE7JHD6QJ_cjs.appendFact(cwd, config, sanitized);
940
950
  }
941
951
 
942
952
  // src/internal/runtime/fixtures/fixture-scripts.ts
@@ -1607,7 +1617,7 @@ function createRealCloudRun(options) {
1607
1617
  conversation: []
1608
1618
  };
1609
1619
  const apiKey = chunkJTB5Q42C_cjs.resolveApiKey(options.agentOptions.apiKey);
1610
- const baseUrl = chunkHLPSLDGL_cjs.getConfiguredBaseUrl();
1620
+ const baseUrl = chunk43GFJ5SD_cjs.getConfiguredBaseUrl();
1611
1621
  const handle = new RealCloudRun(
1612
1622
  {
1613
1623
  id,
@@ -1690,7 +1700,7 @@ var RealCloudRun = class extends FixtureRunBase {
1690
1700
  async consumeStream(response) {
1691
1701
  let finalStatus = "finished";
1692
1702
  let finalText = "";
1693
- for await (const record of chunkHLPSLDGL_cjs.parseSseStream(response.body, this.controller.signal)) {
1703
+ for await (const record of chunk43GFJ5SD_cjs.parseSseStream(response.body, this.controller.signal)) {
1694
1704
  const parsed = safeParse(record.data);
1695
1705
  if (parsed === void 0) continue;
1696
1706
  const update = this.applyRecord(record.event, parsed);
@@ -1836,7 +1846,7 @@ var CloudAgent = class {
1836
1846
  */
1837
1847
  isFixtureMode() {
1838
1848
  const apiKey = chunkJTB5Q42C_cjs.resolveApiKey(this.options.apiKey);
1839
- return chunkHLPSLDGL_cjs.isFixtureApiKey(apiKey) && chunkHLPSLDGL_cjs.getConfiguredBaseUrl() === void 0;
1849
+ return chunk43GFJ5SD_cjs.isFixtureApiKey(apiKey) && chunk43GFJ5SD_cjs.getConfiguredBaseUrl() === void 0;
1840
1850
  }
1841
1851
  // SE9 — integrated structured output; delegates to the shared helper.
1842
1852
  generate(message, options) {
@@ -1888,7 +1898,7 @@ var CloudAgent = class {
1888
1898
  const userText = typeof message === "string" ? message : message.text;
1889
1899
  const systemPrompt = await this.resolveSystemPromptForSend(userText, options);
1890
1900
  const apiKey = chunkJTB5Q42C_cjs.resolveApiKey(this.options.apiKey);
1891
- const useRealRuntime = apiKey !== void 0 && !chunkHLPSLDGL_cjs.isFixtureApiKey(apiKey) && chunkHLPSLDGL_cjs.getConfiguredBaseUrl() !== void 0;
1901
+ const useRealRuntime = apiKey !== void 0 && !chunk43GFJ5SD_cjs.isFixtureApiKey(apiKey) && chunk43GFJ5SD_cjs.getConfiguredBaseUrl() !== void 0;
1892
1902
  return useRealRuntime ? createRealCloudRun({
1893
1903
  agentId: this.agentId,
1894
1904
  model: this.model ?? { id: DEFAULT_AGENTIC_MODEL_ID },
@@ -2113,15 +2123,15 @@ function resolveSessionDir(local) {
2113
2123
  "[theokit-sdk] local.sessionDir and local.baseDir are both set; using sessionDir. baseDir is the deprecated name for the same option (#301)."
2114
2124
  );
2115
2125
  }
2116
- return chunkJHPGF3FP_cjs.expandTilde(local.sessionDir);
2126
+ return chunkBUIK7GUA_cjs.expandTilde(local.sessionDir);
2117
2127
  }
2118
2128
  if (local?.baseDir !== void 0) {
2119
2129
  chunkNUKRL3I6_cjs.diag(
2120
2130
  "[theokit-sdk] local.baseDir is deprecated; rename it to local.sessionDir (#301). It is the directory for session transcripts, not the working directory \u2014 that is local.cwd."
2121
2131
  );
2122
- return chunkJHPGF3FP_cjs.expandTilde(local.baseDir);
2132
+ return chunkBUIK7GUA_cjs.expandTilde(local.baseDir);
2123
2133
  }
2124
- return chunkJHPGF3FP_cjs.defaultBaseDir();
2134
+ return chunkBUIK7GUA_cjs.defaultBaseDir();
2125
2135
  }
2126
2136
  var SCHEMA_VERSION2 = 1;
2127
2137
  var FILE_NAME = "personality.json";
@@ -2730,7 +2740,7 @@ async function runPostRunLifecycle(inputs) {
2730
2740
  try {
2731
2741
  const partial = await safeConversation(run);
2732
2742
  if (partial !== void 0) {
2733
- chunkV2UUGUY4_cjs.persistTurnToTranscript(sessionStore, { cwd: workspaceCwd, agentId, model }, agentId, {
2743
+ chunkKKK3FZ4A_cjs.persistTurnToTranscript(sessionStore, { cwd: workspaceCwd, agentId, model }, agentId, {
2734
2744
  userText,
2735
2745
  conversation: partial
2736
2746
  });
@@ -2740,11 +2750,11 @@ async function runPostRunLifecycle(inputs) {
2740
2750
  chunkNUKRL3I6_cjs.diag(`[theokit-sdk] partial transcript write failed (${agentId}): ${msg}
2741
2751
  `);
2742
2752
  }
2743
- await chunkV2UUGUY4_cjs.flushSessionWrites();
2753
+ await chunkKKK3FZ4A_cjs.flushSessionWrites();
2744
2754
  return;
2745
2755
  }
2746
2756
  if (result.result !== void 0) {
2747
- chunkV2UUGUY4_cjs.appendSessionMessage(agentId, { role: "assistant", text: result.result });
2757
+ chunkKKK3FZ4A_cjs.appendSessionMessage(agentId, { role: "assistant", text: result.result });
2748
2758
  }
2749
2759
  const conversation = await safeConversation(run);
2750
2760
  const resolvedWindow = resolveWindowForRun(model, contextWindow);
@@ -2755,7 +2765,7 @@ async function runPostRunLifecycle(inputs) {
2755
2765
  }
2756
2766
  const lastRequestUsage = result.usage?.requests?.at(-1)?.totalTokens;
2757
2767
  const usageForTrigger = lastRequestUsage ?? result.usage?.totalTokens;
2758
- chunkV2UUGUY4_cjs.persistTurnToTranscript(
2768
+ chunkKKK3FZ4A_cjs.persistTurnToTranscript(
2759
2769
  sessionStore,
2760
2770
  { cwd: workspaceCwd, agentId, model },
2761
2771
  agentId,
@@ -2767,7 +2777,7 @@ async function runPostRunLifecycle(inputs) {
2767
2777
  // The EFFECTIVE window (after override, clamp and margin) — not the declared one. Swapping for
2768
2778
  // `contextWindow` here would budget against a number the clamp already rejected.
2769
2779
  contextWindow: effectiveWindow,
2770
- summarize: chunkHLPSLDGL_cjs.buildDefaultSummarizer({
2780
+ summarize: chunk43GFJ5SD_cjs.buildDefaultSummarizer({
2771
2781
  agentModel: model,
2772
2782
  ...inputs.apiKey !== void 0 ? { apiKey: inputs.apiKey } : {}
2773
2783
  })
@@ -2789,7 +2799,7 @@ async function runPostRunLifecycle(inputs) {
2789
2799
  if (memoryProvider?.recordSessionSummary !== void 0) {
2790
2800
  await memoryProvider.recordSessionSummary(summaryArgs);
2791
2801
  } else {
2792
- await chunk6VLKVX7O_cjs.writeSessionSummary(summaryArgs);
2802
+ await chunkE7JHD6QJ_cjs.writeSessionSummary(summaryArgs);
2793
2803
  }
2794
2804
  if (!shouldUsePortMemoryPath()) {
2795
2805
  void memoryGlue.syncIfReady();
@@ -2809,7 +2819,7 @@ async function runPostRunLifecycle(inputs) {
2809
2819
  agentId,
2810
2820
  runId: result.id
2811
2821
  });
2812
- await chunkV2UUGUY4_cjs.flushSessionWrites();
2822
+ await chunkKKK3FZ4A_cjs.flushSessionWrites();
2813
2823
  }
2814
2824
  async function safeConversation(run) {
2815
2825
  try {
@@ -3402,7 +3412,7 @@ var HISTOGRAM_NAMES = {
3402
3412
  };
3403
3413
  function safeRequire(moduleName) {
3404
3414
  try {
3405
- const r = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-LQYQHXIW.cjs', document.baseURI).href)));
3415
+ const r = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-M2JWHKO6.cjs', document.baseURI).href)));
3406
3416
  return r(moduleName);
3407
3417
  } catch {
3408
3418
  return void 0;
@@ -3630,7 +3640,7 @@ var cachedOtel;
3630
3640
  function loadOtel() {
3631
3641
  if (cachedOtel === void 0) {
3632
3642
  try {
3633
- const r = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-LQYQHXIW.cjs', document.baseURI).href)));
3643
+ const r = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-M2JWHKO6.cjs', document.baseURI).href)));
3634
3644
  const mod = r("@opentelemetry/api");
3635
3645
  cachedOtel = mod;
3636
3646
  } catch {
@@ -5872,7 +5882,7 @@ function applyToolResultGuard(parts, opts) {
5872
5882
  (p) => (
5873
5883
  // SE7 — guard the TEXT of a tool result (string or the text blocks of a
5874
5884
  // structured content); image blocks pass through untouched.
5875
- p.type === "tool_result" ? { ...p, content: chunkHLPSLDGL_cjs.renderToolResultContentText(p.content, (t) => guardText(t, opts)) } : p
5885
+ p.type === "tool_result" ? { ...p, content: chunk43GFJ5SD_cjs.renderToolResultContentText(p.content, (t) => guardText(t, opts)) } : p
5876
5886
  )
5877
5887
  );
5878
5888
  }
@@ -6538,12 +6548,12 @@ var FallbackLlmClient = class {
6538
6548
  let lastError;
6539
6549
  for (const client of this.clients) {
6540
6550
  if (signal.aborted) throw abortError(signal);
6541
- const attempt = await chunkHLPSLDGL_cjs.tryFirstEvent(client, request, signal, true);
6551
+ const attempt = await chunk43GFJ5SD_cjs.tryFirstEvent(client, request, signal, true);
6542
6552
  if (attempt.kind === "handshake_error") {
6543
6553
  lastError = attempt.error;
6544
6554
  continue;
6545
6555
  }
6546
- return yield* chunkHLPSLDGL_cjs.relayStream(attempt.generator, attempt.firstResult);
6556
+ return yield* chunk43GFJ5SD_cjs.relayStream(attempt.generator, attempt.firstResult);
6547
6557
  }
6548
6558
  if (lastError !== void 0) throw lastError;
6549
6559
  throw new chunkK3FW2XZD_cjs.NetworkError("FallbackLlmClient has no providers configured", {
@@ -7130,15 +7140,15 @@ function resolveRunProvider(options) {
7130
7140
  }
7131
7141
  const parsedModel = chunk3EE6LVWT_cjs.parseModelId(options.model?.id);
7132
7142
  const modelInferredProvider = parsedModel.provider !== void 0 && chunkNIRE5CNO_cjs.getProviderProfile(parsedModel.provider) !== void 0 ? parsedModel.provider : void 0;
7133
- const keyInferredProvider = chunkHLPSLDGL_cjs.inferProviderFromApiKey(options.agentOptions.apiKey);
7134
- const primary = options.agentOptions.providers?.routes?.[0]?.provider ?? keyInferredProvider ?? modelInferredProvider ?? chunkHLPSLDGL_cjs.detectPrimaryProvider();
7135
- chunkHLPSLDGL_cjs.warnProviderPrecedenceOnce(modelInferredProvider, primary);
7143
+ const keyInferredProvider = chunk43GFJ5SD_cjs.inferProviderFromApiKey(options.agentOptions.apiKey);
7144
+ const primary = options.agentOptions.providers?.routes?.[0]?.provider ?? keyInferredProvider ?? modelInferredProvider ?? chunk43GFJ5SD_cjs.detectPrimaryProvider();
7145
+ chunk43GFJ5SD_cjs.warnProviderPrecedenceOnce(modelInferredProvider, primary);
7136
7146
  const effectiveModelId = modelInferredProvider !== void 0 && modelInferredProvider === primary ? parsedModel.name : options.model?.id ?? "claude-sonnet-4-6";
7137
7147
  return { primary, effectiveModelId };
7138
7148
  }
7139
7149
  function mergeExplicitApiKey(pools, primary, apiKey) {
7140
7150
  if (apiKey === void 0 || apiKey.length === 0) return pools;
7141
- if (chunkHLPSLDGL_cjs.isFixtureApiKey(apiKey) || apiKey === LOCAL_RUNTIME_MOCK_KEY) return pools;
7151
+ if (chunk43GFJ5SD_cjs.isFixtureApiKey(apiKey) || apiKey === LOCAL_RUNTIME_MOCK_KEY) return pools;
7142
7152
  const existing = pools?.[primary];
7143
7153
  if (existing !== void 0 && existing.length > 0) return pools;
7144
7154
  return { ...pools ?? {}, [primary]: [apiKey] };
@@ -7162,7 +7172,7 @@ function buildLoopInputs(options, runId, userText, userImages) {
7162
7172
  const extractToolCallsFromContent = options.agentOptions.providers?.routes?.[0]?.extractToolCallsFromContent;
7163
7173
  const rateLimitSink = options.sendOptions.onRunEvent;
7164
7174
  const modelBaseUrl = options.model?.url;
7165
- const chain = chunkHLPSLDGL_cjs.resolveProviderChain({
7175
+ const chain = chunk43GFJ5SD_cjs.resolveProviderChain({
7166
7176
  primary,
7167
7177
  ...modelBaseUrl !== void 0 ? { baseUrl: modelBaseUrl } : {},
7168
7178
  ...fallback !== void 0 ? { fallback } : {},
@@ -7445,7 +7455,7 @@ function buildRealRunOptions(args) {
7445
7455
  };
7446
7456
  }
7447
7457
  async function createFixtureRunHelper(args) {
7448
- const sessionMessages = chunkV2UUGUY4_cjs.getSessionMessages(args.inputs.agentId);
7458
+ const sessionMessages = chunkKKK3FZ4A_cjs.getSessionMessages(args.inputs.agentId);
7449
7459
  const projectMcpServers = args.inputs.settingSourcesIncludeProject ? await readProjectMcpServers(args.inputs.workspaceCwd) : {};
7450
7460
  return createLocalRun({
7451
7461
  agentId: args.inputs.agentId,
@@ -7464,7 +7474,7 @@ async function createFixtureRunHelper(args) {
7464
7474
  }
7465
7475
  async function dispatchLocalRun(args) {
7466
7476
  const apiKey = chunkJTB5Q42C_cjs.resolveApiKey(args.inputs.options.apiKey);
7467
- if (chunkHLPSLDGL_cjs.shouldUseRealLocalRuntime(apiKey)) {
7477
+ if (chunk43GFJ5SD_cjs.shouldUseRealLocalRuntime(apiKey)) {
7468
7478
  return createRealLocalRun(
7469
7479
  buildRealRunOptions({
7470
7480
  inputs: args.inputs,
@@ -7720,10 +7730,10 @@ async function disposeLocalAgentSession(agent) {
7720
7730
  agent.lifecycleAbortController.abort();
7721
7731
  await chunkZF2LDKQQ_cjs.withCwdMutex(`agent-send:${agent.agentId}`, () => Promise.resolve());
7722
7732
  disposeSessionMcpClients(agent.agentId);
7723
- await chunkV2UUGUY4_cjs.flushSessionWrites();
7733
+ await chunkKKK3FZ4A_cjs.flushSessionWrites();
7724
7734
  await flushRegistrySaves(agent.workspaceCwd);
7725
7735
  await disposeSessionStore(agent.sessionStore);
7726
- chunkV2UUGUY4_cjs.discardSession(agent.workspaceCwd, agent.agentId);
7736
+ chunkKKK3FZ4A_cjs.discardSession(agent.workspaceCwd, agent.agentId);
7727
7737
  }
7728
7738
  async function reloadLocalAgent(agent) {
7729
7739
  if (agent.context !== void 0) await agent.context.refresh();
@@ -7737,7 +7747,7 @@ async function reloadLocalAgent(agent) {
7737
7747
  }
7738
7748
  async function persistActiveMemoryTranscript(cwd, transcript) {
7739
7749
  try {
7740
- const dir = path.join(chunk6VLKVX7O_cjs.memoryDir(cwd), "transcripts", "active-memory");
7750
+ const dir = path.join(chunkE7JHD6QJ_cjs.memoryDir(cwd), "transcripts", "active-memory");
7741
7751
  const file = path.join(dir, `${transcript.runId}.json`);
7742
7752
  await chunkI6TGFUCO_cjs.atomicWriteJson(file, transcript);
7743
7753
  } catch (cause) {
@@ -8367,7 +8377,7 @@ function createMemorySearchTool(opts) {
8367
8377
  };
8368
8378
  }
8369
8379
  function createMemoryGetTool(opts) {
8370
- const memoryRoot = path.resolve(chunk6VLKVX7O_cjs.memoryDir(opts.cwd));
8380
+ const memoryRoot = path.resolve(chunkE7JHD6QJ_cjs.memoryDir(opts.cwd));
8371
8381
  return {
8372
8382
  name: "memory_get",
8373
8383
  description: GET_DESCRIPTION,
@@ -8473,7 +8483,7 @@ var LocalAgentMemory = class {
8473
8483
  const openOpts = { cwd: this.workspaceCwd };
8474
8484
  if (embedding !== void 0) openOpts.embedding = embedding;
8475
8485
  if (cfg?.backend !== void 0) openOpts.backend = cfg.backend;
8476
- this.index = await chunk6VLKVX7O_cjs.IndexManager.open(openOpts);
8486
+ this.index = await chunkE7JHD6QJ_cjs.IndexManager.open(openOpts);
8477
8487
  await this.index.sync();
8478
8488
  this.toolsCache = [
8479
8489
  createMemorySearchTool({ index: this.index }),
@@ -8497,7 +8507,7 @@ var LocalAgentMemory = class {
8497
8507
  async runActiveMemoryIfEnabled(userText, priorMessages, telemetry) {
8498
8508
  const cfg = this.options.memory?.activeRecall;
8499
8509
  if (cfg?.enabled !== true || this.index === void 0) return void 0;
8500
- if (this.breaker === void 0) this.breaker = new chunkHLPSLDGL_cjs.CircuitBreaker();
8510
+ if (this.breaker === void 0) this.breaker = new chunk43GFJ5SD_cjs.CircuitBreaker();
8501
8511
  if (this.cache === void 0) this.cache = new ActiveMemoryCache();
8502
8512
  const result = await runActiveMemory({
8503
8513
  userText,
@@ -8731,7 +8741,7 @@ function createLocalAgentMemoryProvider(opts) {
8731
8741
  return { facts: [], systemPromptAdditions: summary };
8732
8742
  },
8733
8743
  async recordSessionSummary(args) {
8734
- await chunk6VLKVX7O_cjs.writeSessionSummary(args);
8744
+ await chunkE7JHD6QJ_cjs.writeSessionSummary(args);
8735
8745
  },
8736
8746
  async sync(handle) {
8737
8747
  const state = handle[INTERNAL_LAM_KEY];
@@ -8910,8 +8920,8 @@ async function localAgentUsePersonality(args) {
8910
8920
  registry,
8911
8921
  store: args.personalityStore,
8912
8922
  invalidateCache: (reason) => args.invalidateCache(reason),
8913
- appendSessionMessage: (msg) => chunkV2UUGUY4_cjs.appendSessionMessage(args.agentId, msg),
8914
- clearSession: () => chunkV2UUGUY4_cjs.clearSession(args.agentId),
8923
+ appendSessionMessage: (msg) => chunkKKK3FZ4A_cjs.appendSessionMessage(args.agentId, msg),
8924
+ clearSession: () => chunkKKK3FZ4A_cjs.clearSession(args.agentId),
8915
8925
  opts: args.opts ?? {}
8916
8926
  })
8917
8927
  );
@@ -8967,8 +8977,12 @@ async function persistMemoryFactIfWritePrompt(workspaceCwd, memoryConfig, userTe
8967
8977
  if (!isMemoryWritePrompt(userText)) return;
8968
8978
  const fact = extractMemoryFact(userText);
8969
8979
  if (fact.length === 0) return;
8980
+ const kind = extractMemoryKind(userText);
8970
8981
  await safeCall(
8971
- () => appendMemoryFact(workspaceCwd, memoryConfig, { text: fact }),
8982
+ () => appendMemoryFact(workspaceCwd, memoryConfig, {
8983
+ text: fact,
8984
+ ...kind === void 0 ? {} : { kind }
8985
+ }),
8972
8986
  void 0,
8973
8987
  "memory write"
8974
8988
  );
@@ -9280,7 +9294,7 @@ async function executeSendLocked(inputs, message, options) {
9280
9294
  if (inputs.options.onBeforeSend !== void 0) {
9281
9295
  await inputs.options.onBeforeSend({
9282
9296
  conversationId: inputs.agentId,
9283
- previousMessageCount: chunkV2UUGUY4_cjs.getSessionMessages(inputs.agentId).length
9297
+ previousMessageCount: chunkKKK3FZ4A_cjs.getSessionMessages(inputs.agentId).length
9284
9298
  });
9285
9299
  }
9286
9300
  await inputs.runPreHook(userText);
@@ -9292,8 +9306,8 @@ async function executeSendLocked(inputs, message, options) {
9292
9306
  userText,
9293
9307
  sendOptions: options
9294
9308
  });
9295
- const priorMessages = [...chunkV2UUGUY4_cjs.getSessionMessages(inputs.agentId)];
9296
- chunkV2UUGUY4_cjs.appendSessionMessage(inputs.agentId, { role: "user", text: userText });
9309
+ const priorMessages = [...chunkKKK3FZ4A_cjs.getSessionMessages(inputs.agentId)];
9310
+ chunkKKK3FZ4A_cjs.appendSessionMessage(inputs.agentId, { role: "user", text: userText });
9297
9311
  await persistMemoryFactIfWritePrompt(inputs.workspaceCwd, inputs.options.memory, userText);
9298
9312
  const memoryFacts = await readMemoryForSend(inputs.workspaceCwd, inputs.options.memory);
9299
9313
  const portPathActive = shouldUsePortMemoryPath();
@@ -9456,7 +9470,7 @@ var LocalAgent = class {
9456
9470
  this.options = options;
9457
9471
  this.workspaceCwd = resolveCwd(options.local?.cwd);
9458
9472
  this.transcriptBaseDir = resolveSessionDir(options.local);
9459
- this.sessionStore = options.local?.sessionStore ?? new chunkYPJ5NH5N_cjs.FsSessionStore({ baseDir: this.transcriptBaseDir, cwd: this.workspaceCwd });
9473
+ this.sessionStore = options.local?.sessionStore ?? new chunkQI7WE46I_cjs.FsSessionStore({ baseDir: this.transcriptBaseDir, cwd: this.workspaceCwd });
9460
9474
  this.settingSourcesIncludeProject = includesSetting(options, "project");
9461
9475
  this.settingSourcesIncludePlugins = includesSetting(options, "plugins");
9462
9476
  const sub = bootstrapSubmanagers({
@@ -9506,7 +9520,7 @@ var LocalAgent = class {
9506
9520
  );
9507
9521
  await acquireLeaseIfPossible(this.sessionStore, this.agentId);
9508
9522
  try {
9509
- await chunkV2UUGUY4_cjs.hydrateSession(this.agentId, { store: this.sessionStore, cwd: this.workspaceCwd });
9523
+ await chunkKKK3FZ4A_cjs.hydrateSession(this.agentId, { store: this.sessionStore, cwd: this.workspaceCwd });
9510
9524
  await this.personalityStore.hydrate(this.agentId);
9511
9525
  } catch (err) {
9512
9526
  await releaseLeaseIfPossible(this.sessionStore, this.agentId);
@@ -9834,35 +9848,41 @@ async function maybeInjectHandoffTools(options) {
9834
9848
  };
9835
9849
  }
9836
9850
  function keyWillFlowToProvider(apiKey, provider) {
9837
- if (chunkHLPSLDGL_cjs.isFixtureApiKey(apiKey)) return false;
9838
- if (chunkHLPSLDGL_cjs.getConfiguredBaseUrl() !== void 0) return false;
9851
+ if (chunk43GFJ5SD_cjs.isFixtureApiKey(apiKey)) return false;
9852
+ if (chunk43GFJ5SD_cjs.getConfiguredBaseUrl() !== void 0) return false;
9839
9853
  if (provider === void 0) return false;
9840
9854
  const profile = chunk6HTXPPHK_cjs.getProviderProfile(provider);
9841
9855
  if (profile === void 0) return false;
9842
9856
  return profile.authType !== "none";
9843
9857
  }
9844
9858
  function missingApiKeyMessage() {
9845
- const present = chunkHLPSLDGL_cjs.presentProviderCredentialEnvVars();
9859
+ const present = chunk43GFJ5SD_cjs.presentProviderCredentialEnvVars();
9846
9860
  const base = `Missing API key \u2014 set ${chunkJTB5Q42C_cjs.API_KEY_ENV_VAR}, or pass \`apiKey\` to Agent.create()`;
9847
9861
  if (present.length === 0) return `${base}.`;
9848
9862
  return `${base}. ${present.join(" and ")} ${present.length === 1 ? "is" : "are"} set, but a provider credential is not read from the environment automatically \u2014 pass it explicitly, e.g. \`Agent.create({ apiKey: process.env.${present[0]}, ... })\`.`;
9849
9863
  }
9864
+ function providerNeedsCallerKey(provider) {
9865
+ if (provider === void 0) return true;
9866
+ const profile = chunk6HTXPPHK_cjs.getProviderProfile(provider);
9867
+ if (profile === void 0) return true;
9868
+ return profile.authType === "api_key";
9869
+ }
9850
9870
  async function createLocalAgent(options) {
9871
+ const provider = providerFromModelId(normalizeModel(options.model)?.id);
9851
9872
  const apiKey = chunkJTB5Q42C_cjs.resolveApiKey(options.apiKey);
9852
9873
  if (apiKey === void 0) {
9853
- throw new chunkK3FW2XZD_cjs.AuthenticationError(missingApiKeyMessage(), { code: "missing_api_key" });
9854
- }
9855
- const provider = providerFromModelId(normalizeModel(options.model)?.id);
9856
- const willFlowToProvider = keyWillFlowToProvider(apiKey, provider);
9857
- const shape = validateApiKeyShape(apiKey, {
9858
- strict: willFlowToProvider,
9859
- // `options.model` is already normalized by `runCreateUnderSpan`; `normalizeModel`
9860
- // here is the idempotent narrowing of the widened public type (`{id}` passes
9861
- // through by reference) — cleaner than an `as` cast.
9862
- ...willFlowToProvider ? { provider } : {}
9863
- });
9864
- if (shape.malformed) {
9865
- throw new chunkK3FW2XZD_cjs.AuthenticationError(shape.message, { code: "malformed_api_key" });
9874
+ if (providerNeedsCallerKey(provider)) {
9875
+ throw new chunkK3FW2XZD_cjs.AuthenticationError(missingApiKeyMessage(), { code: "missing_api_key" });
9876
+ }
9877
+ } else {
9878
+ const willFlowToProvider = keyWillFlowToProvider(apiKey, provider);
9879
+ const shape = validateApiKeyShape(apiKey, {
9880
+ strict: willFlowToProvider,
9881
+ ...willFlowToProvider ? { provider } : {}
9882
+ });
9883
+ if (shape.malformed) {
9884
+ throw new chunkK3FW2XZD_cjs.AuthenticationError(shape.message, { code: "malformed_api_key" });
9885
+ }
9866
9886
  }
9867
9887
  const agent = new LocalAgent(options);
9868
9888
  await agent.initialize();
@@ -9879,11 +9899,11 @@ async function createCloudAgent(options) {
9879
9899
  if (shape.malformed) {
9880
9900
  throw new chunkK3FW2XZD_cjs.AuthenticationError(shape.message, { code: "malformed_api_key" });
9881
9901
  }
9882
- const baseUrl = chunkHLPSLDGL_cjs.getConfiguredBaseUrl();
9902
+ const baseUrl = chunk43GFJ5SD_cjs.getConfiguredBaseUrl();
9883
9903
  if (baseUrl === void 0) {
9884
9904
  return new CloudAgent(options);
9885
9905
  }
9886
- const response = await chunkHLPSLDGL_cjs.httpRequest("/v1/agents", {
9906
+ const response = await chunk43GFJ5SD_cjs.httpRequest("/v1/agents", {
9887
9907
  apiKey,
9888
9908
  method: "POST",
9889
9909
  body: {
@@ -9908,7 +9928,7 @@ function resolveAgentPersistenceCwd(options) {
9908
9928
  return process.cwd();
9909
9929
  }
9910
9930
  async function rehydrateExistingAgent(agentId, existing, options) {
9911
- await chunkHLPSLDGL_cjs.discoverProviderPlugins();
9931
+ await chunk43GFJ5SD_cjs.discoverProviderPlugins();
9912
9932
  await validateRehydratedAgent(agentId, existing);
9913
9933
  const mergedLocal = options.local !== void 0 && existing.options.local !== void 0 ? { ...existing.options.local, ...options.local } : options.local ?? existing.options.local;
9914
9934
  const mergedOptions = {
@@ -10052,7 +10072,7 @@ var Agent = class _Agent {
10052
10072
  pluginCount: enabledPluginNames(options.plugins).length
10053
10073
  });
10054
10074
  try {
10055
- await chunkHLPSLDGL_cjs.discoverProviderPlugins();
10075
+ await chunk43GFJ5SD_cjs.discoverProviderPlugins();
10056
10076
  const agent = await runCreateUnderSpan(options, span);
10057
10077
  return agent;
10058
10078
  } catch (err) {
@@ -10359,9 +10379,9 @@ var Agent = class _Agent {
10359
10379
  `No local agent "${agentId}" registered \u2014 compact targets local sessions.`
10360
10380
  );
10361
10381
  }
10362
- const { compactSessionTranscript, buildDefaultSummarizer: buildDefaultSummarizer2 } = await import('./compact-session-LEWF554G.cjs');
10382
+ const { compactSessionTranscript, buildDefaultSummarizer: buildDefaultSummarizer2 } = await import('./compact-session-YHFQIXV5.cjs');
10363
10383
  const { cwd, model, store } = await openLocalStore(reg);
10364
- return chunkV2UUGUY4_cjs.enqueueSessionWrite(
10384
+ return chunkKKK3FZ4A_cjs.enqueueSessionWrite(
10365
10385
  cwd,
10366
10386
  agentId,
10367
10387
  () => compactSessionTranscript({
@@ -10395,7 +10415,7 @@ var Agent = class _Agent {
10395
10415
  `No local agent "${agentId}" registered \u2014 injectSessionTurn targets local sessions.`
10396
10416
  );
10397
10417
  }
10398
- const { injectSessionTurn } = await import('./inject-session-WQGGMCQY.cjs');
10418
+ const { injectSessionTurn } = await import('./inject-session-MLCJMYDG.cjs');
10399
10419
  const { cwd, model, store } = await openLocalStore(reg);
10400
10420
  await injectSessionTurn({
10401
10421
  store,
@@ -10434,7 +10454,7 @@ var Agent = class _Agent {
10434
10454
  `No local agent "${agentId}" registered \u2014 transcript targets local sessions.`
10435
10455
  );
10436
10456
  }
10437
- const { readSessionMessages } = await import('./agent-session-store-ZJ3JSRS4.cjs');
10457
+ const { readSessionMessages } = await import('./agent-session-store-WAKLOKWK.cjs');
10438
10458
  const { store } = await openLocalStore(reg);
10439
10459
  return readSessionMessages(store, agentId);
10440
10460
  }
@@ -10522,8 +10542,8 @@ async function openLocalStore(reg) {
10522
10542
  const cwd = reg.cwd ?? process.cwd();
10523
10543
  const optModel = reg.options.model;
10524
10544
  const model = reg.model?.id ?? (typeof optModel === "string" ? optModel : optModel?.id) ?? "unknown";
10525
- const { FsSessionStore: FsSessionStore2 } = await import('./fs-session-store-3MOJQGP2.cjs');
10526
- const { defaultBaseDir: defaultBaseDir2, expandTilde: expandTilde2 } = await import('./session-transcript-JXHFTB7G.cjs');
10545
+ const { FsSessionStore: FsSessionStore2 } = await import('./fs-session-store-XZ7ZTB3A.cjs');
10546
+ const { defaultBaseDir: defaultBaseDir2, expandTilde: expandTilde2 } = await import('./session-transcript-HF5GEU5M.cjs');
10527
10547
  const configuredSessionDir = reg.options.local?.sessionDir ?? reg.options.local?.baseDir;
10528
10548
  const baseDir = configuredSessionDir !== void 0 ? expandTilde2(configuredSessionDir) : defaultBaseDir2();
10529
10549
  return { cwd, model, store: new FsSessionStore2({ baseDir, cwd }) };
@@ -10540,5 +10560,5 @@ exports.computeCost = computeCost;
10540
10560
  exports.generateCronId = generateCronId;
10541
10561
  exports.getPricingEntry = getPricingEntry;
10542
10562
  exports.openRouterMemoryEmbeddingProviderAdapter = openRouterMemoryEmbeddingProviderAdapter;
10543
- //# sourceMappingURL=chunk-LQYQHXIW.cjs.map
10544
- //# sourceMappingURL=chunk-LQYQHXIW.cjs.map
10563
+ //# sourceMappingURL=chunk-M2JWHKO6.cjs.map
10564
+ //# sourceMappingURL=chunk-M2JWHKO6.cjs.map