@cortexkit/pi-magic-context 0.49.47 → 0.49.49

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 (55) hide show
  1. package/dist/auto-search-worker.js +5 -5
  2. package/dist/chunk-embedding-write-worker.js +12 -12
  3. package/dist/{compaction-marker-candidates-17a21jfn.js → compaction-marker-candidates-9yhrstyb.js} +2 -2
  4. package/dist/compaction-marker-candidates-worker.js +1 -1
  5. package/dist/{compartment-chunk-embedding-nyjs3dfh.js → compartment-chunk-embedding-wg7emg3z.js} +7 -7
  6. package/dist/{embedding-backfill-er9jc4xf.js → embedding-backfill-xsd7fc5c.js} +12 -12
  7. package/dist/embedding-worker-process.js +1 -1
  8. package/dist/embedding-worker.js +4 -4
  9. package/dist/historian-calibration-extension.js +1 -1
  10. package/dist/{index-w26zvs1q.js → index-46wk0td0.js} +1 -1
  11. package/dist/{index-bbbp8zs1.js → index-6d0bby9d.js} +2 -2
  12. package/dist/{index-000fthre.js → index-7y60kyea.js} +1 -1
  13. package/dist/{index-tcm1gqcb.js → index-8bpxfq4c.js} +3 -3
  14. package/dist/{index-7esg5v2x.js → index-9036v8ay.js} +6 -6
  15. package/dist/{index-nev91y6k.js → index-9n1hyjck.js} +10 -10
  16. package/dist/{index-qt711raa.js → index-bjeb4ya4.js} +10 -10
  17. package/dist/{index-rcenqffj.js → index-cmyk3bmf.js} +8 -8
  18. package/dist/{index-0wtm7g7f.js → index-j0eagxkz.js} +1 -1
  19. package/dist/{index-yacs388s.js → index-jxm4bvm4.js} +1 -1
  20. package/dist/{index-4sa1rx3h.js → index-ndg15t3x.js} +4 -4
  21. package/dist/{index-jaqdcqwz.js → index-pkg07s54.js} +2 -2
  22. package/dist/{index-zchc0df8.js → index-qcsjj9m0.js} +4 -12
  23. package/dist/{index-gwvahsdz.js → index-qm139qq2.js} +2 -2
  24. package/dist/{index-3g9fnq6y.js → index-szn2tac8.js} +1 -1
  25. package/dist/{index-j9bhd718.js → index-vdrqxca5.js} +19 -19
  26. package/dist/{index-fzadydec.js → index-wz66mger.js} +4 -4
  27. package/dist/{index-2kmwjq42.js → index-xssjy4z9.js} +1 -1
  28. package/dist/{index-6pk49fc3.js → index-xx1911hb.js} +1 -1
  29. package/dist/{index-wwf9vxpf.js → index-y2g8rdmm.js} +8 -8
  30. package/dist/{index-zwbgxt01.js → index-yc4vfwvm.js} +4 -4
  31. package/dist/{index-cq71g4dk.js → index-yjgkjkjs.js} +1 -1
  32. package/dist/{index-gymgz20n.js → index-yxeg8zaa.js} +23 -20
  33. package/dist/{index-d107f484.js → index-zc6fdyx7.js} +4 -4
  34. package/dist/{index-v7m1nqwz.js → index-zggajt0j.js} +2 -2
  35. package/dist/{index-tsg6swzr.js → index-zrbvwxtb.js} +2 -2
  36. package/dist/{index-mp0gh04g.js → index-zxm7ckvc.js} +2 -2
  37. package/dist/index.js +59 -37
  38. package/dist/{logger-2j70hhz4.js → logger-hhgpkbx1.js} +1 -1
  39. package/dist/{message-fts-rowid-map-ff4qg3e4.js → message-fts-rowid-map-tec2x7qe.js} +4 -4
  40. package/dist/{message-index-bounded-cqn6x6fc.js → message-index-bounded-6zghm1jn.js} +9 -9
  41. package/dist/{message-time-backfill-x45573rs.js → message-time-backfill-krre2qnb.js} +2 -2
  42. package/dist/migration-worker.js +9 -9
  43. package/dist/{project-embedding-registry-ysaezfqw.js → project-embedding-registry-j4ywdpq0.js} +11 -11
  44. package/dist/raw-ordinal-warmup-worker.js +8 -8
  45. package/dist/{read-session-chunk-0ecmbegv.js → read-session-chunk-hs4jtxsm.js} +7 -7
  46. package/dist/{read-session-raw-nttnwy8p.js → read-session-raw-75dcxtdy.js} +2 -2
  47. package/dist/{render-zcwm5nz3.js → render-n3y6kvwq.js} +16 -16
  48. package/dist/{safe-notification-target-jk69jxwp.js → safe-notification-target-8s1xg0q9.js} +2 -2
  49. package/dist/{search-archive-9svkd0f6.js → search-archive-1g44f9jt.js} +9 -9
  50. package/dist/{search-p4fj69gn.js → search-gzkbjgx0.js} +19 -19
  51. package/dist/{storage-tags-g0j9mr4b.js → storage-tags-ahhwtfdq.js} +4 -4
  52. package/dist/subagent-entry.js +25 -25
  53. package/dist/tag-snapshot-worker-pi.js +11 -11
  54. package/dist/{v2-archive-reader-ksmk6bfw.js → v2-archive-reader-sez4pjd8.js} +1 -1
  55. package/package.json +1 -1
@@ -27,16 +27,16 @@ serveWorkerJobs(async (initial, port) => {
27
27
  { Database, registerSqliteDiagnosticSink },
28
28
  { log }
29
29
  ] = await Promise.all([
30
- import("./embedding-backfill-er9jc4xf.js"),
30
+ import("./embedding-backfill-xsd7fc5c.js"),
31
31
  import("./embedding-cache-7rp4gqzr.js"),
32
32
  import("./storage-memory-0ndn65fm.js"),
33
- import("./project-embedding-registry-ysaezfqw.js"),
34
- import("./search-p4fj69gn.js"),
35
- import("./compartment-chunk-embedding-nyjs3dfh.js"),
33
+ import("./project-embedding-registry-j4ywdpq0.js"),
34
+ import("./search-gzkbjgx0.js"),
35
+ import("./compartment-chunk-embedding-wg7emg3z.js"),
36
36
  import("./embedding-activity-ew6dshfd.js"),
37
37
  import("./harness-9872e0ym.js"),
38
38
  import("./sqlite-v89bj0yy.js"),
39
- import("./logger-2j70hhz4.js")
39
+ import("./logger-hhgpkbx1.js")
40
40
  ]);
41
41
  setHarness(input.harness);
42
42
  registerSqliteDiagnosticSink(log, getHarness);
@@ -11,38 +11,38 @@ import {
11
11
  isWorkerCloseMessage,
12
12
  exitOnWorkerClose
13
13
  } from "./index-x2n261wp.js";
14
- import"./index-000fthre.js";
15
- import"./index-gymgz20n.js";
14
+ import"./index-7y60kyea.js";
15
+ import"./index-yxeg8zaa.js";
16
16
  import"./index-dnp1jjar.js";
17
- import"./index-gwvahsdz.js";
17
+ import"./index-qm139qq2.js";
18
18
  import"./index-8sqebjzk.js";
19
19
  import"./index-wfqysrwq.js";
20
- import"./index-3g9fnq6y.js";
21
- import"./index-bbbp8zs1.js";
20
+ import"./index-szn2tac8.js";
21
+ import"./index-6d0bby9d.js";
22
22
  import {
23
23
  replaceCompartmentChunkEmbeddings2,
24
24
  recordChunkEmbedBackoff2,
25
25
  loadUnembeddedSessionChunkCandidates2,
26
26
  countUnembeddedSessionCompartments2
27
- } from "./index-4sa1rx3h.js";
27
+ } from "./index-ndg15t3x.js";
28
28
  import {
29
29
  recordSessionProjectIdentity,
30
30
  acquireGitSweepLease,
31
31
  renewGitSweepLease,
32
32
  releaseGitSweepLease
33
- } from "./index-mp0gh04g.js";
34
- import"./index-6pk49fc3.js";
33
+ } from "./index-zxm7ckvc.js";
34
+ import"./index-xx1911hb.js";
35
35
  import {
36
36
  LATEST_SUPPORTED_VERSION,
37
37
  enforceSchemaFence
38
- } from "./index-wwf9vxpf.js";
38
+ } from "./index-y2g8rdmm.js";
39
39
  import"./index-3bb24eb6.js";
40
- import"./index-d107f484.js";
41
- import"./index-yacs388s.js";
40
+ import"./index-zc6fdyx7.js";
41
+ import"./index-jxm4bvm4.js";
42
42
  import"./index-135e8hvg.js";
43
43
  import"./index-n0zjvs3h.js";
44
44
  import"./index-c6wbq66z.js";
45
- import"./index-0wtm7g7f.js";
45
+ import"./index-j0eagxkz.js";
46
46
  import {
47
47
  serveWorkerJobs
48
48
  } from "./index-nypgv96r.js";
@@ -9,11 +9,11 @@ import {
9
9
  certifiedMarkerReferenceFloor2,
10
10
  readMarkerReferenceRows2,
11
11
  readKnownMarkerReferenceRows2
12
- } from "./index-2kmwjq42.js";
12
+ } from "./index-xssjy4z9.js";
13
13
  import"./index-wfqysrwq.js";
14
14
  import"./index-8sqebjzk.js";
15
15
  import"./index-2qtx0q6h.js";
16
- import"./index-gymgz20n.js";
16
+ import"./index-yxeg8zaa.js";
17
17
  import"./index-0h2mkab2.js";
18
18
  import"./index-dnp1jjar.js";
19
19
  import"./index-x2n261wp.js";
@@ -7,7 +7,7 @@ serveWorkerJobs(async (input, port) => {
7
7
  port.postMessage({ kind: "accepted" });
8
8
  const [{ Database }, { scanMarkerCandidateSnapshot }] = await Promise.all([
9
9
  import("./sqlite-v89bj0yy.js"),
10
- import("./compaction-marker-candidates-17a21jfn.js")
10
+ import("./compaction-marker-candidates-9yhrstyb.js")
11
11
  ]);
12
12
  let db;
13
13
  let reply;
@@ -24,16 +24,16 @@ import {
24
24
  countSessionCompartmentEmbedCoverage2,
25
25
  countSessionCompartmentEmbedCoveragePolite2,
26
26
  countUnembeddedSessionCompartmentsPolite2
27
- } from "./index-4sa1rx3h.js";
28
- import"./index-gwvahsdz.js";
29
- import"./index-bbbp8zs1.js";
30
- import"./index-3g9fnq6y.js";
27
+ } from "./index-ndg15t3x.js";
28
+ import"./index-qm139qq2.js";
29
+ import"./index-6d0bby9d.js";
30
+ import"./index-szn2tac8.js";
31
31
  import"./index-wfqysrwq.js";
32
32
  import"./index-8sqebjzk.js";
33
- import"./index-0wtm7g7f.js";
34
- import"./index-000fthre.js";
33
+ import"./index-j0eagxkz.js";
34
+ import"./index-7y60kyea.js";
35
35
  import"./index-2qtx0q6h.js";
36
- import"./index-gymgz20n.js";
36
+ import"./index-yxeg8zaa.js";
37
37
  import"./index-0h2mkab2.js";
38
38
  import"./index-dnp1jjar.js";
39
39
  import"./index-x2n261wp.js";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ensureMemoryEmbeddings2
3
- } from "./index-zwbgxt01.js";
4
- import"./index-rcenqffj.js";
3
+ } from "./index-yc4vfwvm.js";
4
+ import"./index-cmyk3bmf.js";
5
5
  import"./index-9p40dgkm.js";
6
6
  import"./index-hgd00nas.js";
7
7
  import"./index-yhzhdp3m.js";
8
- import"./index-mp0gh04g.js";
9
- import"./index-4sa1rx3h.js";
10
- import"./index-tsg6swzr.js";
11
- import"./index-gwvahsdz.js";
8
+ import"./index-zxm7ckvc.js";
9
+ import"./index-ndg15t3x.js";
10
+ import"./index-zrbvwxtb.js";
11
+ import"./index-qm139qq2.js";
12
12
  import"./index-gzk7d940.js";
13
- import"./index-6pk49fc3.js";
14
- import"./index-bbbp8zs1.js";
15
- import"./index-3g9fnq6y.js";
13
+ import"./index-xx1911hb.js";
14
+ import"./index-6d0bby9d.js";
15
+ import"./index-szn2tac8.js";
16
16
  import"./index-wfqysrwq.js";
17
17
  import"./index-8sqebjzk.js";
18
- import"./index-0wtm7g7f.js";
19
- import"./index-000fthre.js";
18
+ import"./index-j0eagxkz.js";
19
+ import"./index-7y60kyea.js";
20
20
  import"./index-2qtx0q6h.js";
21
- import"./index-gymgz20n.js";
21
+ import"./index-yxeg8zaa.js";
22
22
  import"./index-0h2mkab2.js";
23
23
  import"./index-dnp1jjar.js";
24
24
  import"./index-x2n261wp.js";
@@ -1,7 +1,7 @@
1
1
  import"./index-0h2mkab2.js";
2
2
  import {
3
3
  log2
4
- } from "./index-gymgz20n.js";
4
+ } from "./index-yxeg8zaa.js";
5
5
  import"./index-dnp1jjar.js";
6
6
  import {
7
7
  inRootAsyncContext2
@@ -3,17 +3,17 @@ import {
3
3
  } from "./index-0h2mkab2.js";
4
4
  import {
5
5
  log2
6
- } from "./index-gymgz20n.js";
6
+ } from "./index-yxeg8zaa.js";
7
7
  import"./index-dnp1jjar.js";
8
8
  import"./index-gzk7d940.js";
9
- import"./index-gwvahsdz.js";
10
- import"./index-000fthre.js";
9
+ import"./index-qm139qq2.js";
10
+ import"./index-7y60kyea.js";
11
11
  import"./index-2qtx0q6h.js";
12
12
  import {
13
13
  resolveLocalEmbeddingWorkerRuntime,
14
14
  getLocalEmbeddingNativeMemoryStats,
15
15
  LocalEmbeddingProvider
16
- } from "./index-tsg6swzr.js";
16
+ } from "./index-zrbvwxtb.js";
17
17
  import {
18
18
  setStoragePrivatePermissionEnforcement
19
19
  } from "./index-81nthk8j.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./index-0b5kqg7n.js";
11
11
  import"./index-4knyh1kt.js";
12
12
  import"./index-6x556c2q.js";
13
- import"./index-gymgz20n.js";
13
+ import"./index-yxeg8zaa.js";
14
14
  import"./index-0h2mkab2.js";
15
15
  import"./index-dnp1jjar.js";
16
16
  export {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./index-2qtx0q6h.js";
7
7
  import {
8
8
  managedAuthorityNoteRow
9
- } from "./index-d107f484.js";
9
+ } from "./index-zc6fdyx7.js";
10
10
 
11
11
  // ../plugin/src/features/magic-context/storage-notes.ts
12
12
  var NOTE_TYPES = new Set(["session", "smart"]);
@@ -5,10 +5,10 @@ import {
5
5
  } from "./index-2qtx0q6h.js";
6
6
  import {
7
7
  runSessionWarmupWorker
8
- } from "./index-3g9fnq6y.js";
8
+ } from "./index-szn2tac8.js";
9
9
  import {
10
10
  logSlowWriteTransaction
11
- } from "./index-0wtm7g7f.js";
11
+ } from "./index-j0eagxkz.js";
12
12
 
13
13
  // ../plugin/src/features/magic-context/message-fts-rowid-map.ts
14
14
  import { createHash } from "node:crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  log2
3
- } from "./index-gymgz20n.js";
3
+ } from "./index-yxeg8zaa.js";
4
4
 
5
5
  // ../plugin/src/hooks/magic-context/read-session-formatting.ts
6
6
  import { existsSync, readFileSync, realpathSync, statSync } from "node:fs";
@@ -139,9 +139,9 @@ async function serveV2ArchiveReads2(port, openConnections) {
139
139
  import("./sqlite-v89bj0yy.js"),
140
140
  import("./store-reader-mmfw2h48.js"),
141
141
  import("./store-0hhs1db3.js"),
142
- import("./read-session-chunk-0ecmbegv.js"),
143
- import("./render-zcwm5nz3.js"),
144
- import("./search-archive-9svkd0f6.js"),
142
+ import("./read-session-chunk-hs4jtxsm.js"),
143
+ import("./render-n3y6kvwq.js"),
144
+ import("./search-archive-1g44f9jt.js"),
145
145
  import("./expand-attachments-8sxeyj26.js")
146
146
  ]);
147
147
  const pool = new V2StoreReaderPool;
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  log2,
14
14
  sessionLog2
15
- } from "./index-gymgz20n.js";
15
+ } from "./index-yxeg8zaa.js";
16
16
  import {
17
17
  resolveDecisionCalibration,
18
18
  calibrationForModelKey,
@@ -23,7 +23,7 @@ import {
23
23
  TAG_SELECT_COLUMNS2,
24
24
  getCandidateToolOwners2,
25
25
  pickNearestPriorOwner2
26
- } from "./index-zchc0df8.js";
26
+ } from "./index-qcsjj9m0.js";
27
27
  import {
28
28
  OMO_INTERNAL_INITIATOR_MARKER,
29
29
  isSystemDirective,
@@ -39,14 +39,14 @@ import {
39
39
  formatBlock,
40
40
  compactTextForSummary,
41
41
  mergeCommitHashes
42
- } from "./index-000fthre.js";
42
+ } from "./index-7y60kyea.js";
43
43
  import {
44
44
  Database2,
45
45
  prepareCachedStatement2
46
46
  } from "./index-2qtx0q6h.js";
47
47
  import {
48
48
  stableStringify
49
- } from "./index-yacs388s.js";
49
+ } from "./index-jxm4bvm4.js";
50
50
  import {
51
51
  resolveOpenCodeDbPath,
52
52
  assertOpenCodeStoreGeneration,
@@ -71,7 +71,7 @@ import {
71
71
  hasRawSessionMessageByIdFromDb2,
72
72
  readRawSeedTailFromDb2,
73
73
  readRawSessionBoundaryEndpointsFromDb2
74
- } from "./index-3g9fnq6y.js";
74
+ } from "./index-szn2tac8.js";
75
75
  import {
76
76
  markHostUnservedRow,
77
77
  isHostUnservedRow
@@ -81,7 +81,7 @@ import {
81
81
  } from "./index-nrzkqte4.js";
82
82
  import {
83
83
  logSlowWriteTransaction
84
- } from "./index-0wtm7g7f.js";
84
+ } from "./index-j0eagxkz.js";
85
85
 
86
86
  // ../plugin/src/features/magic-context/overflow-detection.ts
87
87
  var OVERFLOW_PATTERNS = [
@@ -9,7 +9,7 @@ import {
9
9
  getMagicContextStorageDir,
10
10
  log2,
11
11
  sessionLog2
12
- } from "./index-gymgz20n.js";
12
+ } from "./index-yxeg8zaa.js";
13
13
  import {
14
14
  MERGED_REASONING_PARTS_PREFIX,
15
15
  decodeMergedReasoningParts,
@@ -39,15 +39,15 @@ import {
39
39
  expandToolPart,
40
40
  visitRawSessionMessages2,
41
41
  readRawSessionMessageById2
42
- } from "./index-7esg5v2x.js";
42
+ } from "./index-9036v8ay.js";
43
43
  import {
44
44
  isRecord,
45
45
  providerVisibleMessage,
46
46
  getTagById2
47
- } from "./index-zchc0df8.js";
47
+ } from "./index-qcsjj9m0.js";
48
48
  import {
49
49
  estimateTokens
50
- } from "./index-000fthre.js";
50
+ } from "./index-7y60kyea.js";
51
51
  import {
52
52
  prepareCachedStatement2,
53
53
  withSqliteBackgroundWriter2,
@@ -60,21 +60,21 @@ import {
60
60
  tagRevisionKey,
61
61
  tagIdentityRevisionKey,
62
62
  deleteTagIdentityRevisions
63
- } from "./index-yacs388s.js";
63
+ } from "./index-jxm4bvm4.js";
64
64
  import {
65
65
  isPidAlive,
66
66
  readProcessStartTime
67
- } from "./index-wwf9vxpf.js";
67
+ } from "./index-y2g8rdmm.js";
68
68
  import {
69
69
  gaDatabasePath2,
70
70
  V2StoreReader2
71
71
  } from "./index-nvh6d3bz.js";
72
72
  import {
73
73
  deleteUnmappedMessageFtsRows2
74
- } from "./index-bbbp8zs1.js";
74
+ } from "./index-6d0bby9d.js";
75
75
  import {
76
76
  deleteChunkEmbedBackoffForSession2
77
- } from "./index-4sa1rx3h.js";
77
+ } from "./index-ndg15t3x.js";
78
78
  import {
79
79
  invalidateAutoEmbedSession,
80
80
  drainBackgroundBatches
@@ -85,10 +85,10 @@ import {
85
85
  import {
86
86
  layoutLkgPrefix,
87
87
  assembleLkgPrefix
88
- } from "./index-d107f484.js";
88
+ } from "./index-zc6fdyx7.js";
89
89
  import {
90
90
  logSlowWriteTransaction
91
- } from "./index-0wtm7g7f.js";
91
+ } from "./index-j0eagxkz.js";
92
92
  import {
93
93
  ensurePrivateStorageDirectorySync,
94
94
  writeStorageFileSync,
@@ -12,10 +12,10 @@ import {
12
12
  getDataDir,
13
13
  log2,
14
14
  sessionLog2
15
- } from "./index-gymgz20n.js";
15
+ } from "./index-yxeg8zaa.js";
16
16
  import {
17
17
  SubcClient
18
- } from "./index-gwvahsdz.js";
18
+ } from "./index-qm139qq2.js";
19
19
  import {
20
20
  inRootAsyncContext2,
21
21
  getSqliteDatabasePath2,
@@ -24,13 +24,13 @@ import {
24
24
  } from "./index-2qtx0q6h.js";
25
25
  import {
26
26
  runSessionWarmupWorker
27
- } from "./index-3g9fnq6y.js";
27
+ } from "./index-szn2tac8.js";
28
28
  import {
29
29
  buildCanonicalChunkTextFromFts2,
30
30
  loadCompartmentChunkEmbeddingsForSearch2,
31
31
  peekCompartmentChunkSearchPool2,
32
32
  warmCompartmentChunkSearchPool2
33
- } from "./index-4sa1rx3h.js";
33
+ } from "./index-ndg15t3x.js";
34
34
  import {
35
35
  saveCommitEmbedding,
36
36
  loadProjectCommitEmbeddings,
@@ -47,13 +47,13 @@ import {
47
47
  getProjectEmbeddingSnapshot2,
48
48
  embedTextForProject2,
49
49
  embedItemsForProject2
50
- } from "./index-rcenqffj.js";
50
+ } from "./index-cmyk3bmf.js";
51
51
  import {
52
52
  recordEmbeddingMeasurement
53
53
  } from "./index-hgd00nas.js";
54
54
  import {
55
55
  scheduleAfterBootQuiet
56
- } from "./index-6pk49fc3.js";
56
+ } from "./index-xx1911hb.js";
57
57
  import {
58
58
  saveEmbeddingIfHashMatches,
59
59
  getProjectEmbeddings2
@@ -63,7 +63,7 @@ import {
63
63
  isEmbeddingEnabled,
64
64
  embedText,
65
65
  ensureMemoryEmbeddings2
66
- } from "./index-zwbgxt01.js";
66
+ } from "./index-yc4vfwvm.js";
67
67
  import {
68
68
  getMemorySelectColumns2,
69
69
  isMemoryRow2,
@@ -91,7 +91,7 @@ import {
91
91
  clearIndexedMessages,
92
92
  indexSingleMessage,
93
93
  indexMessagesAfterOrdinal
94
- } from "./index-fzadydec.js";
94
+ } from "./index-wz66mger.js";
95
95
  import {
96
96
  MESSAGE_FTS_SESSION_FILTER_SQL,
97
97
  withMessageFtsSessionFilter
@@ -102,11 +102,11 @@ import {
102
102
  expandWorkspaceIdentitySetWithAliases,
103
103
  resolveStoredPathWorkspaceIdentity,
104
104
  sourceNameForMemory
105
- } from "./index-d107f484.js";
105
+ } from "./index-zc6fdyx7.js";
106
106
  import {
107
107
  getNotes,
108
108
  getActivePrimers
109
- } from "./index-w26zvs1q.js";
109
+ } from "./index-46wk0td0.js";
110
110
  import {
111
111
  computeNormalizedHash
112
112
  } from "./index-9x1f96r8.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  estimateTokens
3
- } from "./index-000fthre.js";
3
+ } from "./index-7y60kyea.js";
4
4
  import {
5
5
  getHarness2
6
6
  } from "./index-0h2mkab2.js";
7
7
  import {
8
8
  log2
9
- } from "./index-gymgz20n.js";
9
+ } from "./index-yxeg8zaa.js";
10
10
  import {
11
11
  sanitizeDiagnosticText
12
12
  } from "./index-dnp1jjar.js";
@@ -15,7 +15,7 @@ import {
15
15
  isSynapseEmbeddingTruncated,
16
16
  getSynapseBatchRequestKey,
17
17
  SynapseEmbeddingProvider
18
- } from "./index-gwvahsdz.js";
18
+ } from "./index-qm139qq2.js";
19
19
  import {
20
20
  inRootAsyncContext2,
21
21
  getSqliteDatabasePath2
@@ -43,7 +43,7 @@ import {
43
43
  countSessionCompartmentEmbedCoverage2,
44
44
  countSessionCompartmentEmbedCoveragePolite2,
45
45
  countUnembeddedSessionCompartmentsPolite2
46
- } from "./index-4sa1rx3h.js";
46
+ } from "./index-ndg15t3x.js";
47
47
  import {
48
48
  DEFAULT_LOCAL_EMBEDDING_MODEL
49
49
  } from "./index-gzk7d940.js";
@@ -56,7 +56,7 @@ import {
56
56
  getEmbeddingProviderIdentity,
57
57
  dominantEmbeddingFailure,
58
58
  LocalEmbeddingProvider
59
- } from "./index-tsg6swzr.js";
59
+ } from "./index-zrbvwxtb.js";
60
60
  import {
61
61
  embedPauseBySession,
62
62
  activeEmbeddingSessions,
@@ -67,7 +67,7 @@ import {
67
67
  } from "./index-hgd00nas.js";
68
68
  import {
69
69
  setBootQuietPeriodForTests
70
- } from "./index-6pk49fc3.js";
70
+ } from "./index-xx1911hb.js";
71
71
  import {
72
72
  isEmbeddingHostBusy2
73
73
  } from "./index-9p40dgkm.js";
@@ -78,7 +78,7 @@ import {
78
78
  acquireGitSweepLease,
79
79
  renewGitSweepLease,
80
80
  releaseGitSweepLease
81
- } from "./index-mp0gh04g.js";
81
+ } from "./index-zxm7ckvc.js";
82
82
  import {
83
83
  saveEmbeddingIfHashMatches,
84
84
  getMemoryEmbedCoverage,
@@ -89,7 +89,7 @@ import {
89
89
  } from "./index-nrzkqte4.js";
90
90
  import {
91
91
  logSlowWriteTransaction
92
- } from "./index-0wtm7g7f.js";
92
+ } from "./index-j0eagxkz.js";
93
93
 
94
94
  // ../plugin/src/features/magic-context/memory/embedding-openai.ts
95
95
  import { createHash } from "node:crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  log2
3
- } from "./index-gymgz20n.js";
3
+ } from "./index-yxeg8zaa.js";
4
4
 
5
5
  // ../plugin/src/shared/write-transaction-timing.ts
6
6
  var SLOW_WRITE_TRANSACTION_THRESHOLD_MS = 1000;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionLog2
3
- } from "./index-gymgz20n.js";
3
+ } from "./index-yxeg8zaa.js";
4
4
  import {
5
5
  isKnownAutocommit
6
6
  } from "./index-nrzkqte4.js";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  getTokenEstimatorFingerprint,
3
3
  estimateTokens
4
- } from "./index-000fthre.js";
4
+ } from "./index-7y60kyea.js";
5
5
  import {
6
6
  getHarness2
7
7
  } from "./index-0h2mkab2.js";
8
8
  import {
9
9
  log2
10
- } from "./index-gymgz20n.js";
10
+ } from "./index-yxeg8zaa.js";
11
11
  import {
12
12
  isSynapseEmbeddingTruncated
13
- } from "./index-gwvahsdz.js";
13
+ } from "./index-qm139qq2.js";
14
14
  import {
15
15
  messageFtsOrdinalRangeIsMapped2
16
- } from "./index-bbbp8zs1.js";
16
+ } from "./index-6d0bby9d.js";
17
17
  import {
18
18
  isKnownAutocommit
19
19
  } from "./index-nrzkqte4.js";
@@ -3,11 +3,11 @@ import {
3
3
  tagRevisionCountSql,
4
4
  tagRevisionKey,
5
5
  TAG_INSERT_CONFLICT_ROWS
6
- } from "./index-yacs388s.js";
6
+ } from "./index-jxm4bvm4.js";
7
7
  import {
8
8
  getTagsBySession2,
9
9
  getTagsByNumbers2
10
- } from "./index-zchc0df8.js";
10
+ } from "./index-qcsjj9m0.js";
11
11
  import {
12
12
  inRootAsyncContext2,
13
13
  getSqliteDatabasePath2,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  estimateTokens
3
- } from "./index-000fthre.js";
3
+ } from "./index-7y60kyea.js";
4
4
  import {
5
5
  getHarness2
6
6
  } from "./index-0h2mkab2.js";
7
7
  import {
8
8
  sessionLog2
9
- } from "./index-gymgz20n.js";
9
+ } from "./index-yxeg8zaa.js";
10
10
  import {
11
11
  getTagIdentityWriteGeneration2,
12
12
  getSqliteDatabasePath2
@@ -15,7 +15,7 @@ import {
15
15
  jsonHashSink,
16
16
  tagOrderConstraintIndex,
17
17
  tagIdentityRevisionKey
18
- } from "./index-yacs388s.js";
18
+ } from "./index-jxm4bvm4.js";
19
19
  import {
20
20
  DEFAULT_PROTECTED_TOOLS,
21
21
  normalizeProtectedToolName,
@@ -1149,8 +1149,6 @@ var TODO_PRIORITIES = [
1149
1149
  TODO_PRIORITY_MEDIUM,
1150
1150
  TODO_PRIORITY_LOW
1151
1151
  ];
1152
- var TODO_STATUS_SET = new Set(TODO_STATUSES);
1153
- var TODO_PRIORITY_SET = new Set(TODO_PRIORITIES);
1154
1152
  var TERMINAL_STATUSES = new Set([
1155
1153
  TODO_STATUS_COMPLETED,
1156
1154
  TODO_STATUS_CANCELLED
@@ -1223,17 +1221,11 @@ function parseTodoState(stateJson) {
1223
1221
  return null;
1224
1222
  }
1225
1223
  }
1226
- function isTodoStatus(value) {
1227
- return typeof value === "string" && TODO_STATUS_SET.has(value);
1228
- }
1229
- function isTodoPriority(value) {
1230
- return typeof value === "string" && TODO_PRIORITY_SET.has(value);
1231
- }
1232
1224
  function isTodoItem(value) {
1233
1225
  if (value === null || typeof value !== "object")
1234
1226
  return false;
1235
1227
  const todo = value;
1236
- return typeof todo.content === "string" && isTodoStatus(todo.status) && (todo.priority === undefined || isTodoPriority(todo.priority));
1228
+ return typeof todo.content === "string" && typeof todo.status === "string" && todo.status.length > 0 && (todo.priority === undefined || typeof todo.priority === "string");
1237
1229
  }
1238
1230
 
1239
1231
  // ../plugin/src/hooks/magic-context/tail-hygiene-walk.ts
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  estimateTokens
3
- } from "./index-000fthre.js";
3
+ } from "./index-7y60kyea.js";
4
4
  import {
5
5
  getHarness2
6
6
  } from "./index-0h2mkab2.js";
7
7
  import {
8
8
  log2
9
- } from "./index-gymgz20n.js";
9
+ } from "./index-yxeg8zaa.js";
10
10
  import {
11
11
  inRootAsyncContext2
12
12
  } from "./index-2qtx0q6h.js";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./index-8sqebjzk.js";
9
9
  import {
10
10
  log2
11
- } from "./index-gymgz20n.js";
11
+ } from "./index-yxeg8zaa.js";
12
12
  import {
13
13
  reuseWorker
14
14
  } from "./index-wfqysrwq.js";