@cortexkit/pi-magic-context 0.49.16 → 0.49.17

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 (51) hide show
  1. package/dist/auto-search-worker.js +76 -63
  2. package/dist/chunk-embedding-write-worker.js +10 -10
  3. package/dist/{compaction-marker-candidates-k4tqg4jb.js → compaction-marker-candidates-wjzqbspm.js} +2 -2
  4. package/dist/compaction-marker-candidates-worker.js +2 -2
  5. package/dist/embedding-backfill-vwag34t0.js +23 -0
  6. package/dist/embedding-worker-process.js +1 -1
  7. package/dist/embedding-worker.js +4 -4
  8. package/dist/historian-calibration-extension.js +4 -1
  9. package/dist/{index-g4jf772p.js → index-1kcfwk9c.js} +22 -2
  10. package/dist/{index-657xh9w4.js → index-2mmy81qt.js} +2 -2
  11. package/dist/{index-v8d4vgam.js → index-469ttgzv.js} +6 -6
  12. package/dist/index-4knyh1kt.js +1387 -0
  13. package/dist/{index-44h64qza.js → index-5k2mshvq.js} +9 -9
  14. package/dist/{index-fhyy4ave.js → index-8r2t8fv2.js} +842 -73
  15. package/dist/{index-xmzhrht0.js → index-9j809q6f.js} +29 -18
  16. package/dist/{index-6dz2ed1v.js → index-d8gc0112.js} +2 -2
  17. package/dist/{index-x3k1530z.js → index-dvbjsh98.js} +3 -3
  18. package/dist/{index-hy44m6jc.js → index-e1rza8gp.js} +1 -1
  19. package/dist/{index-dne4ja7a.js → index-ej4eak9d.js} +2 -2
  20. package/dist/{index-4178cbfw.js → index-es03azap.js} +121 -2038
  21. package/dist/{index-ajfpyk0x.js → index-fa485mqs.js} +59 -1
  22. package/dist/{index-y5c73caa.js → index-g7p75667.js} +32 -3
  23. package/dist/{index-tympym62.js → index-gdjv1nnd.js} +2 -2
  24. package/dist/{index-46q4e104.js → index-qpq6w67c.js} +1 -1
  25. package/dist/{index-asrxgdt4.js → index-rrwv9y2k.js} +8 -0
  26. package/dist/{index-mx59cve4.js → index-svgkv4g2.js} +1 -1
  27. package/dist/{index-qqxqwqhp.js → index-vktahpdj.js} +1 -1
  28. package/dist/{index-n3r2d2pr.js → index-vmcgew7x.js} +10 -7
  29. package/dist/{index-afy3dzf9.js → index-xnch62s6.js} +12 -6
  30. package/dist/{index-s1xn8qfw.js → index-yygsh681.js} +6 -3
  31. package/dist/{index-p3evwech.js → index-z2rkv0mb.js} +3 -3
  32. package/dist/{index-ja1c33qa.js → index-z7kbck29.js} +2 -2
  33. package/dist/index.js +523 -227
  34. package/dist/{message-fts-rowid-map-mbanfkt1.js → message-fts-rowid-map-cvpy2dmb.js} +5 -3
  35. package/dist/{message-index-easvmz22.js → message-index-2g23b7fe.js} +11 -11
  36. package/dist/{message-index-bounded-xzerjxmp.js → message-index-bounded-d6zj2tn5.js} +15 -15
  37. package/dist/{message-time-backfill-3q4kemfc.js → message-time-backfill-ssshbdy8.js} +1 -1
  38. package/dist/migration-worker.js +7 -7
  39. package/dist/{project-embedding-registry-xwnmqmx8.js → project-embedding-registry-vf1ncptn.js} +10 -10
  40. package/dist/raw-ordinal-warmup-worker.js +10 -10
  41. package/dist/{read-session-chunk-1sb5n7zs.js → read-session-chunk-2ky7mbqp.js} +5 -5
  42. package/dist/{read-session-raw-jz5e9jz0.js → read-session-raw-9s3xn7fc.js} +2 -2
  43. package/dist/{search-archive-3ma5n0wr.js → search-archive-9akqcr90.js} +6 -6
  44. package/dist/{search-x3fa0561.js → search-zjyc65g1.js} +17 -17
  45. package/dist/{sqlite-adjpy399.js → sqlite-fsp0sf3r.js} +1 -1
  46. package/dist/{storage-memory-axnsk5t1.js → storage-memory-yxxc5v4n.js} +2 -2
  47. package/dist/{storage-tags-jtessrec.js → storage-tags-cx6ccsv1.js} +3 -3
  48. package/dist/subagent-entry.js +22 -21
  49. package/dist/tag-snapshot-worker-pi.js +9 -9
  50. package/package.json +1 -1
  51. package/dist/embedding-backfill-c4bdw8pp.js +0 -23
@@ -1,3 +1,7 @@
1
+ import {
2
+ parseTree
3
+ } from "./index-4knyh1kt.js";
4
+
1
5
  // ../plugin/src/agents/permissions.ts
2
6
  var DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS = [
3
7
  "read",
@@ -9,6 +13,37 @@ var DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS = [
9
13
  "ctx_search"
10
14
  ];
11
15
 
16
+ // ../plugin/src/shared/historian-cache.ts
17
+ function withoutHistorianTailCache(body) {
18
+ const value = JSON.parse(body);
19
+ if (!value || typeof value.model !== "string" || typeof value.max_tokens !== "number" || !Array.isArray(value.system) || value.system.length === 0 || !value.system.every((part) => part?.type === "text" && typeof part.text === "string") || !value.system.some((part) => part.cache_control) || !Array.isArray(value.messages) || value.cache_control !== undefined)
20
+ return body;
21
+ const root = parseTree(body);
22
+ const property = (node, key) => node?.children?.find((child) => child.children?.[0]?.value === key)?.children?.[1];
23
+ const removals = [];
24
+ for (const message of property(root, "messages")?.children ?? []) {
25
+ for (const block of property(message, "content")?.children ?? []) {
26
+ if (block.type !== "object")
27
+ continue;
28
+ const fields = block.children ?? [];
29
+ fields.forEach((field, index) => {
30
+ if (field.children?.[0]?.value !== "cache_control")
31
+ return;
32
+ const next = fields[index + 1];
33
+ const previous = fields[index - 1];
34
+ removals.push(next ? [field.offset, next.offset] : [
35
+ previous ? previous.offset + previous.length : field.offset,
36
+ field.offset + field.length
37
+ ]);
38
+ });
39
+ }
40
+ }
41
+ for (const [start, end] of removals.sort((a, b) => b[0] - a[0])) {
42
+ body = body.slice(0, start) + body.slice(end);
43
+ }
44
+ return body;
45
+ }
46
+
12
47
  // ../plugin/src/agents/hidden-agent-registrations.ts
13
48
  var HIDDEN_AGENT_DESCRIPTION = "Internal Magic Context maintenance agent. Not for general tasks — do not select for user work.";
14
49
  function buildHiddenAgentRegistrations(args) {
@@ -371,6 +406,7 @@ class SubagentTelemetry {
371
406
 
372
407
  // src/historian-calibration-extension.ts
373
408
  var HISTORIAN_TEMPERATURE_ENV2 = "MAGIC_CONTEXT_HISTORIAN_TEMPERATURE";
409
+ var HISTORIAN_CACHE_TAIL_ENV2 = "MAGIC_CONTEXT_HISTORIAN_CACHE_TAIL";
374
410
  var HISTORIAN_MAX_OUTPUT_TOKENS_ENV2 = "MAGIC_CONTEXT_HISTORIAN_MAX_OUTPUT_TOKENS";
375
411
  var SUBAGENT_OUTPUT_CEILING_ENV2 = "MAGIC_CONTEXT_SUBAGENT_OUTPUT_CEILING";
376
412
  function finiteNumber(value) {
@@ -481,6 +517,28 @@ function withoutProviderTemperature2(payload) {
481
517
  return clean;
482
518
  }
483
519
  function historianCalibrationExtension(pi) {
520
+ if (process.env[HISTORIAN_CACHE_TAIL_ENV2] === "skip") {
521
+ let requests = 0;
522
+ let warned = false;
523
+ pi.on("before_provider_request", (event) => {
524
+ if (requests++ > 0)
525
+ return;
526
+ try {
527
+ const original = JSON.stringify(event.payload);
528
+ const body = withoutHistorianTailCache(original);
529
+ return body === original ? undefined : JSON.parse(body);
530
+ } catch (error) {
531
+ if (!warned) {
532
+ warned = true;
533
+ try {
534
+ process.stderr.write(`Historian cache optimization skipped: ${String(error)}
535
+ `);
536
+ } catch {}
537
+ }
538
+ return;
539
+ }
540
+ });
541
+ }
484
542
  const intendedPath = process.env.MAGIC_CONTEXT_SUBAGENT_PROMPT_FILE;
485
543
  if (intendedPath) {
486
544
  const intended = readFileSync2(intendedPath, "utf8");
@@ -519,4 +577,4 @@ function historianCalibrationExtension(pi) {
519
577
  });
520
578
  }
521
579
 
522
- export { DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS, buildHiddenAgentRegistrations, logTemperatureDecision, readHostSystemPrompt, subagentStepCap, SubagentTelemetry, HISTORIAN_TEMPERATURE_ENV2, HISTORIAN_MAX_OUTPUT_TOKENS_ENV2, SUBAGENT_OUTPUT_CEILING_ENV2, calibrateHistorianProviderPayload2, ceilProviderOutputTokens2, withoutProviderTemperature2, historianCalibrationExtension };
580
+ export { DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS, buildHiddenAgentRegistrations, logTemperatureDecision, readHostSystemPrompt, subagentStepCap, SubagentTelemetry, HISTORIAN_TEMPERATURE_ENV2, HISTORIAN_CACHE_TAIL_ENV2, HISTORIAN_MAX_OUTPUT_TOKENS_ENV2, SUBAGENT_OUTPUT_CEILING_ENV2, calibrateHistorianProviderPayload2, ceilProviderOutputTokens2, withoutProviderTemperature2, historianCalibrationExtension };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-7bqrfyny.js";
5
5
  import {
6
6
  inRootAsyncContext2
7
- } from "./index-asrxgdt4.js";
7
+ } from "./index-rrwv9y2k.js";
8
8
  import {
9
9
  projectDirectoryKey
10
10
  } from "./index-wrr9rp9a.js";
@@ -21,7 +21,7 @@ import path3 from "node:path";
21
21
 
22
22
  // ../plugin/src/features/magic-context/memory/project-identity-cache.ts
23
23
  import { createHash } from "node:crypto";
24
- import { readFileSync } from "node:fs";
24
+ import { promises as fs, readFileSync } from "node:fs";
25
25
  import path from "node:path";
26
26
  function cachePath(directory, storageDir = getMagicContextStorageDir()) {
27
27
  const hash = createHash("sha256").update(projectDirectoryKey(directory)).digest("hex");
@@ -41,6 +41,35 @@ function readRememberedGitIdentity(directory, storageDir) {
41
41
  } catch {}
42
42
  return;
43
43
  }
44
+ async function pruneMissingProjectIdentities(storageDir = getMagicContextStorageDir()) {
45
+ const directory = path.join(storageDir, "project-identities");
46
+ let removed = 0;
47
+ let entries;
48
+ try {
49
+ entries = await fs.readdir(directory);
50
+ } catch {
51
+ return 0;
52
+ }
53
+ for (const entry of entries) {
54
+ if (!/^[0-9a-f]{64}\.json$/.test(entry))
55
+ continue;
56
+ const file = path.join(directory, entry);
57
+ try {
58
+ const record = JSON.parse(await fs.readFile(file, "utf8"));
59
+ if (typeof record.directory !== "string" || !path.isAbsolute(record.directory) || cachePath(record.directory, storageDir) !== file || !/^git:[0-9a-f]{7,64}$/.test(record.identity))
60
+ continue;
61
+ try {
62
+ await fs.stat(record.directory);
63
+ } catch (error) {
64
+ if (error.code !== "ENOENT")
65
+ continue;
66
+ await fs.unlink(file);
67
+ removed++;
68
+ }
69
+ } catch {}
70
+ }
71
+ return removed;
72
+ }
44
73
 
45
74
  // ../plugin/src/features/magic-context/memory/unborn-head.ts
46
75
  import { readFileSync as readFileSync2, realpathSync, statSync } from "node:fs";
@@ -667,4 +696,4 @@ function setBootQuietPeriodForTests(startAtMs) {
667
696
  bootQuietUntilMs = startAtMs === null ? 0 : startAtMs + BOOT_QUIET_MS;
668
697
  }
669
698
 
670
- export { setHomeProjectPermission, ProjectIdentityError, resolveProjectIdentityStrict, isUserHomeDirectory, resolveProjectIdentity, directoryHasGitMetadata, isUsableProjectIdentity, resolveProjectIdentityForSession, normalizeStoredProjectPath, storedPathBelongsToIdentity, beginBootQuietPeriod, scheduleAfterBootQuiet, setBootQuietPeriodForTests };
699
+ export { pruneMissingProjectIdentities, setHomeProjectPermission, ProjectIdentityError, resolveProjectIdentityStrict, isUserHomeDirectory, resolveProjectIdentity, directoryHasGitMetadata, isUsableProjectIdentity, resolveProjectIdentityForSession, normalizeStoredProjectPath, storedPathBelongsToIdentity, beginBootQuietPeriod, scheduleAfterBootQuiet, setBootQuietPeriodForTests };
@@ -16,11 +16,11 @@ import {
16
16
  } from "./index-8976mezv.js";
17
17
  import {
18
18
  Database2
19
- } from "./index-asrxgdt4.js";
19
+ } from "./index-rrwv9y2k.js";
20
20
  import {
21
21
  normalizeStoredProjectPath,
22
22
  storedPathBelongsToIdentity
23
- } from "./index-y5c73caa.js";
23
+ } from "./index-g7p75667.js";
24
24
  import {
25
25
  logSlowWriteTransaction
26
26
  } from "./index-d4dt19md.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  inRootAsyncContext2,
9
9
  getSqliteDatabasePath2
10
- } from "./index-asrxgdt4.js";
10
+ } from "./index-rrwv9y2k.js";
11
11
 
12
12
  // ../plugin/src/features/magic-context/compaction-marker-candidates.ts
13
13
  import { existsSync, realpathSync } from "node:fs";
@@ -28,6 +28,14 @@ function detectSqliteRuntime2() {
28
28
  var bunSpec = "bun:" + "sqlite";
29
29
  var nodeSpec = "node:" + "sqlite";
30
30
  async function importSqliteModule(specifier) {
31
+ if (specifier === nodeSpec && typeof process.getBuiltinModule === "function") {
32
+ const loaded = process.getBuiltinModule(specifier);
33
+ if (loaded)
34
+ return loaded;
35
+ throw Object.assign(new Error(`No such built-in module: ${specifier}`), {
36
+ code: "ERR_UNKNOWN_BUILTIN_MODULE"
37
+ });
38
+ }
31
39
  return await import(specifier);
32
40
  }
33
41
  function isModuleNotFoundError(error, specifier) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./index-0h2mkab2.js";
4
4
  import {
5
5
  isUserHomeDirectory
6
- } from "./index-y5c73caa.js";
6
+ } from "./index-g7p75667.js";
7
7
  import {
8
8
  logSlowWriteTransaction
9
9
  } from "./index-d4dt19md.js";
@@ -2,7 +2,7 @@ import {
2
2
  inRootAsyncContext2,
3
3
  getSqliteDatabasePath2,
4
4
  releaseIndexOwner2
5
- } from "./index-asrxgdt4.js";
5
+ } from "./index-rrwv9y2k.js";
6
6
  import {
7
7
  registerExitAbort
8
8
  } from "./index-399p688g.js";
@@ -4,10 +4,10 @@ import {
4
4
  withSqliteBackgroundWriter2,
5
5
  withoutSqliteTransformPass2,
6
6
  isTransientSqliteError2
7
- } from "./index-asrxgdt4.js";
7
+ } from "./index-rrwv9y2k.js";
8
8
  import {
9
9
  estimateTokens
10
- } from "./index-g4jf772p.js";
10
+ } from "./index-1kcfwk9c.js";
11
11
  import {
12
12
  getHarness2
13
13
  } from "./index-0h2mkab2.js";
@@ -20,7 +20,7 @@ import {
20
20
  isSynapseEmbeddingTruncated,
21
21
  getSynapseBatchRequestKey,
22
22
  SynapseEmbeddingProvider
23
- } from "./index-6dz2ed1v.js";
23
+ } from "./index-d8gc0112.js";
24
24
  import {
25
25
  DEFAULT_COMPARTMENT_CHUNK_MAX_INPUT_TOKENS,
26
26
  CHUNK_WINDOW_SAFETY_RATIO,
@@ -38,7 +38,7 @@ import {
38
38
  countSessionCompartmentEmbedCoverage,
39
39
  countSessionCompartmentEmbedCoveragePolite,
40
40
  countUnembeddedSessionCompartmentsPolite
41
- } from "./index-afy3dzf9.js";
41
+ } from "./index-xnch62s6.js";
42
42
  import {
43
43
  DEFAULT_LOCAL_EMBEDDING_MODEL
44
44
  } from "./index-bxmf4dhr.js";
@@ -48,10 +48,10 @@ import {
48
48
  getEmbeddingProviderIdentity,
49
49
  dominantEmbeddingFailure,
50
50
  LocalEmbeddingProvider
51
- } from "./index-657xh9w4.js";
51
+ } from "./index-2mmy81qt.js";
52
52
  import {
53
53
  setBootQuietPeriodForTests
54
- } from "./index-y5c73caa.js";
54
+ } from "./index-g7p75667.js";
55
55
  import {
56
56
  isEmbeddingHostBusy2
57
57
  } from "./index-9p40dgkm.js";
@@ -62,7 +62,7 @@ import {
62
62
  acquireGitSweepLease,
63
63
  renewGitSweepLease,
64
64
  releaseGitSweepLease
65
- } from "./index-mx59cve4.js";
65
+ } from "./index-svgkv4g2.js";
66
66
  import {
67
67
  saveEmbeddingIfHashMatches,
68
68
  getMemoryEmbedCoverage,
@@ -428,6 +428,7 @@ class OpenAICompatibleEmbeddingProvider {
428
428
  return Array.from({ length: texts.length }, () => null);
429
429
  }
430
430
  const isQuery = purpose === "query";
431
+ let rateLimitedResponses = 0;
431
432
  for (;; ) {
432
433
  if (Date.now() < this.rateLimit.until) {
433
434
  if (isQuery)
@@ -441,6 +442,8 @@ class OpenAICompatibleEmbeddingProvider {
441
442
  return outcome;
442
443
  if (isQuery)
443
444
  return Array.from({ length: texts.length }, () => null);
445
+ if (++rateLimitedResponses >= 8)
446
+ return Array.from({ length: texts.length }, () => null);
444
447
  }
445
448
  }
446
449
  async requestOnce(texts, requestTexts, signal, purpose) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTokenEstimatorFingerprint,
3
3
  estimateTokens
4
- } from "./index-g4jf772p.js";
4
+ } from "./index-1kcfwk9c.js";
5
5
  import {
6
6
  getHarness2
7
7
  } from "./index-0h2mkab2.js";
@@ -10,10 +10,10 @@ import {
10
10
  } from "./index-7bqrfyny.js";
11
11
  import {
12
12
  isSynapseEmbeddingTruncated
13
- } from "./index-6dz2ed1v.js";
13
+ } from "./index-d8gc0112.js";
14
14
  import {
15
15
  messageFtsOrdinalRangeIsMapped2
16
- } from "./index-s1xn8qfw.js";
16
+ } from "./index-yygsh681.js";
17
17
 
18
18
  // ../plugin/src/features/magic-context/compartment-chunk-embedding.ts
19
19
  import { createHash } from "node:crypto";
@@ -900,12 +900,18 @@ var BACKOFF_PREFIX = "chunk_embed_backoff:";
900
900
  function backoffKey(compartmentId) {
901
901
  return `${BACKOFF_PREFIX}${compartmentId}`;
902
902
  }
903
- function deleteChunkEmbedBackoffForSession(db, sessionId) {
904
- db.prepare(`DELETE FROM schema_migrations_meta WHERE key IN (
903
+ function deleteChunkEmbedBackoffForSession(db, sessionId, limit) {
904
+ if (limit !== undefined)
905
+ return db.prepare(`DELETE FROM schema_migrations_meta WHERE key IN (
906
+ SELECT key FROM schema_migrations_meta JOIN compartments
907
+ ON key = ? || compartments.id OR key = ? || compartments.id
908
+ WHERE compartments.session_id = ? LIMIT ?
909
+ )`).run(BACKOFF_PREFIX, WINDOW_SOURCE_PREFIX, sessionId, limit).changes;
910
+ return db.prepare(`DELETE FROM schema_migrations_meta WHERE key IN (
905
911
  SELECT ? || id FROM compartments WHERE session_id = ?
906
912
  UNION ALL
907
913
  SELECT ? || id FROM compartments WHERE session_id = ?
908
- )`).run(BACKOFF_PREFIX, sessionId, WINDOW_SOURCE_PREFIX, sessionId);
914
+ )`).run(BACKOFF_PREFIX, sessionId, WINDOW_SOURCE_PREFIX, sessionId).changes;
909
915
  }
910
916
  function recordChunkEmbedBackoff(db, candidate, projectPath, modelId) {
911
917
  const mapped = buildCanonicalChunkTextFromFts(db, candidate.sessionId, candidate.startMessage, candidate.endMessage);
@@ -2,10 +2,10 @@ import {
2
2
  getSqliteDatabasePath2,
3
3
  withSqliteBackgroundWriter2,
4
4
  withoutSqliteTransformPass2
5
- } from "./index-asrxgdt4.js";
5
+ } from "./index-rrwv9y2k.js";
6
6
  import {
7
7
  runSessionWarmupWorker
8
- } from "./index-qqxqwqhp.js";
8
+ } from "./index-vktahpdj.js";
9
9
  import {
10
10
  logSlowWriteTransaction
11
11
  } from "./index-d4dt19md.js";
@@ -168,6 +168,9 @@ function messageFtsOrdinalRangeIsMapped2(db, sessionId, startOrdinal, endOrdinal
168
168
  const ordinalCount = endOrdinal - startOrdinal + 1;
169
169
  return row?.sourceOrdinalCount === ordinalCount && row.expectedMapCount === row.mappedCount;
170
170
  }
171
+ function getMessageFtsRowidMapBackfillProgress2(db) {
172
+ return getBackfillState(db);
173
+ }
171
174
  function deleteUnmappedMessageFtsRows2(db, sessionIds) {
172
175
  if (sessionIds.length === 0)
173
176
  return;
@@ -179,4 +182,4 @@ function deleteUnmappedMessageFtsRows2(db, sessionIds) {
179
182
  WHERE rowid > ? AND session_id IN (${placeholders})`).run(state.watermarkRowid, ...sessionIds);
180
183
  }
181
184
 
182
- export { recordMessageFtsRowid2, recordIndexedMessageTime2, runMessageFtsRowidMapBackfill2, startMessageFtsRowidMapBackfill2, messageFtsOrdinalRangeIsMapped2, deleteUnmappedMessageFtsRows2 };
185
+ export { recordMessageFtsRowid2, recordIndexedMessageTime2, runMessageFtsRowidMapBackfill2, startMessageFtsRowidMapBackfill2, messageFtsOrdinalRangeIsMapped2, getMessageFtsRowidMapBackfillProgress2, deleteUnmappedMessageFtsRows2 };
@@ -7,15 +7,15 @@ import {
7
7
  import {
8
8
  isSynapseEmbeddingTruncated,
9
9
  SynapseEmbeddingProvider
10
- } from "./index-6dz2ed1v.js";
10
+ } from "./index-d8gc0112.js";
11
11
  import {
12
12
  LocalEmbeddingProvider
13
- } from "./index-657xh9w4.js";
13
+ } from "./index-2mmy81qt.js";
14
14
  import {
15
15
  OpenAICompatibleEmbeddingProvider,
16
16
  getProjectEmbeddingSnapshot2,
17
17
  embedBatchForProject2
18
- } from "./index-n3r2d2pr.js";
18
+ } from "./index-vmcgew7x.js";
19
19
  import {
20
20
  isEmbeddingHostBusy2
21
21
  } from "./index-9p40dgkm.js";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./index-1cvyaw9a.js";
4
4
  import {
5
5
  estimateTokens
6
- } from "./index-g4jf772p.js";
6
+ } from "./index-1kcfwk9c.js";
7
7
  import {
8
8
  readRawSessionMessageIdOrdinalsForRange2
9
- } from "./index-44h64qza.js";
9
+ } from "./index-5k2mshvq.js";
10
10
 
11
11
  // ../plugin/src/tools/ctx-expand/search-archive.ts
12
12
  var archiveReadsOnThisThread = 0;