@cortexkit/pi-magic-context 0.49.53 → 0.49.54

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 (38) hide show
  1. package/dist/auto-search-worker.js +3 -3
  2. package/dist/chunk-embedding-write-worker.js +3 -4
  3. package/dist/{embedding-backfill-ad4k8e3f.js → embedding-backfill-qde2zywg.js} +4 -4
  4. package/dist/embedding-worker.js +2 -2
  5. package/dist/{index-snrkpmpf.js → index-2pptpxq8.js} +1 -1
  6. package/dist/{index-8cgk0pyh.js → index-5n3e2gq5.js} +5080 -3919
  7. package/dist/{index-tv9pqeek.js → index-625kbnqd.js} +5 -7
  8. package/dist/{index-4cmj48mq.js → index-6ahmfva8.js} +3 -3
  9. package/dist/{index-nevbaezn.js → index-9kaj9ty1.js} +1 -1
  10. package/dist/{index-46wk0td0.js → index-awpx91y5.js} +1 -1
  11. package/dist/{index-1tk6065b.js → index-c3mms4dp.js} +5 -5
  12. package/dist/{index-zc6fdyx7.js → index-d40ecdbn.js} +1 -1
  13. package/dist/{index-2yjpxzga.js → index-erkb5dee.js} +2 -2
  14. package/dist/{index-38pf5bqw.js → index-hec3bwev.js} +1 -1
  15. package/dist/{index-njd3qa8e.js → index-jnh7a6a3.js} +3 -3
  16. package/dist/{index-f07s5m8x.js → index-k2z7r444.js} +21 -23
  17. package/dist/{index-pkg07s54.js → index-nhpvvdhw.js} +2 -2
  18. package/dist/index-rekymyxd.js +2287 -0
  19. package/dist/{index-a70dwgff.js → index-tn38he5d.js} +44 -31
  20. package/dist/{index-jxm4bvm4.js → index-v858d5d1.js} +168 -1
  21. package/dist/{index-aec63gtj.js → index-vcegxfwg.js} +16 -6
  22. package/dist/index.js +319 -220
  23. package/dist/{message-index-bounded-hwatm90p.js → message-index-bounded-ac4qg6aw.js} +5 -6
  24. package/dist/migration-worker.js +3 -4
  25. package/dist/{project-embedding-registry-d67axw7r.js → project-embedding-registry-qx2zjbgs.js} +3 -3
  26. package/dist/raw-ordinal-warmup-worker.js +4 -4
  27. package/dist/{read-session-chunk-mj91mv8r.js → read-session-chunk-jyfcykg4.js} +4 -5
  28. package/dist/{render-js5tkc4g.js → render-bqqx15n8.js} +9 -10
  29. package/dist/{search-archive-159s0qp9.js → search-archive-31054zxj.js} +6 -7
  30. package/dist/{search-hyc5s9t0.js → search-w12nc025.js} +11 -12
  31. package/dist/{storage-tags-ahhwtfdq.js → storage-tags-g0328gwp.js} +4 -2
  32. package/dist/subagent-entry.js +38 -17
  33. package/dist/tag-snapshot-worker-pi.js +6 -6
  34. package/dist/{v2-archive-reader-5sc0rsh9.js → v2-archive-reader-hg4c36em.js} +1 -1
  35. package/package.json +1 -1
  36. package/dist/index-674f6qs2.js +0 -16
  37. package/dist/index-c6wbq66z.js +0 -168
  38. package/dist/index-qcsjj9m0.js +0 -3412
@@ -46,20 +46,18 @@ import {
46
46
  hasPendingMigrations,
47
47
  getMainThreadMigrationBodyCount,
48
48
  runMigrations
49
- } from "./index-zc6fdyx7.js";
49
+ } from "./index-d40ecdbn.js";
50
50
  import {
51
+ setDatabase,
52
+ loadToolDefinitionMeasurements,
51
53
  ensureColumn,
52
54
  installV95PerfSchema,
53
55
  installTagIdentityRevisionTrigger
54
- } from "./index-jxm4bvm4.js";
56
+ } from "./index-v858d5d1.js";
55
57
  import {
56
58
  resolveOpenCodeDbPath,
57
59
  hasV1MessageTables
58
60
  } from "./index-n0zjvs3h.js";
59
- import {
60
- setDatabase,
61
- loadToolDefinitionMeasurements
62
- } from "./index-c6wbq66z.js";
63
61
  import {
64
62
  closeQuietly
65
63
  } from "./index-nrzkqte4.js";
@@ -1789,7 +1787,7 @@ function finishDatabaseOpen(db, dbPath, explicitDbPath, latestSupportedVersion)
1789
1787
  state.running = startMessageFtsRowidMapBackfill2(db, signal).then(async () => {
1790
1788
  if (signal.aborted || !readsOpenCodeStore)
1791
1789
  return;
1792
- const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-mj91mv8r.js"));
1790
+ const { readRawSessionMessagePage, readRawSessionMessages } = await importPluginModule(() => import("./read-session-chunk-jyfcykg4.js"));
1793
1791
  const { startMessageTimeBackfill } = await importPluginModule(() => import("./message-time-backfill-krre2qnb.js"));
1794
1792
  if (signal.aborted)
1795
1793
  return;
@@ -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-mj91mv8r.js"),
143
- import("./render-js5tkc4g.js"),
144
- import("./search-archive-159s0qp9.js"),
142
+ import("./read-session-chunk-jyfcykg4.js"),
143
+ import("./render-bqqx15n8.js"),
144
+ import("./search-archive-31054zxj.js"),
145
145
  import("./expand-attachments-8sxeyj26.js")
146
146
  ]);
147
147
  const pool = new V2StoreReaderPool;
@@ -6,7 +6,7 @@ import {
6
6
  } from "./index-7y60kyea.js";
7
7
  import {
8
8
  readRawSessionMessageIdOrdinalsForRange2
9
- } from "./index-8cgk0pyh.js";
9
+ } from "./index-rekymyxd.js";
10
10
 
11
11
  // ../plugin/src/tools/ctx-expand/search-archive.ts
12
12
  var archiveReadsOnThisThread = 0;
@@ -6,7 +6,7 @@ import {
6
6
  } from "./index-2qtx0q6h.js";
7
7
  import {
8
8
  managedAuthorityNoteRow
9
- } from "./index-zc6fdyx7.js";
9
+ } from "./index-d40ecdbn.js";
10
10
 
11
11
  // ../plugin/src/features/magic-context/storage-notes.ts
12
12
  var NOTE_TYPES = new Set(["session", "smart"]);
@@ -47,7 +47,7 @@ import {
47
47
  getProjectEmbeddingSnapshot2,
48
48
  embedTextForProject2,
49
49
  embedItemsForProject2
50
- } from "./index-2yjpxzga.js";
50
+ } from "./index-erkb5dee.js";
51
51
  import {
52
52
  recordEmbeddingMeasurement
53
53
  } from "./index-hgd00nas.js";
@@ -63,7 +63,7 @@ import {
63
63
  isEmbeddingEnabled,
64
64
  embedText,
65
65
  ensureMemoryEmbeddings2
66
- } from "./index-njd3qa8e.js";
66
+ } from "./index-jnh7a6a3.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-snrkpmpf.js";
94
+ } from "./index-2pptpxq8.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-zc6fdyx7.js";
105
+ } from "./index-d40ecdbn.js";
106
106
  import {
107
107
  getNotes,
108
108
  getActivePrimers
109
- } from "./index-46wk0td0.js";
109
+ } from "./index-awpx91y5.js";
110
110
  import {
111
111
  computeNormalizedHash
112
112
  } from "./index-9x1f96r8.js";
@@ -8,7 +8,7 @@ import {
8
8
  ensureColumn,
9
9
  healAllNullColumns,
10
10
  installV95PerfSchema
11
- } from "./index-jxm4bvm4.js";
11
+ } from "./index-v858d5d1.js";
12
12
  import {
13
13
  resolveOpenCodeDbPath,
14
14
  openCodeDbPathExists,
@@ -46,7 +46,7 @@ import {
46
46
  } from "./index-ndg15t3x.js";
47
47
  import {
48
48
  DEFAULT_LOCAL_EMBEDDING_MODEL
49
- } from "./index-aec63gtj.js";
49
+ } from "./index-vcegxfwg.js";
50
50
  import {
51
51
  embeddingModelsMatch,
52
52
  resolveEmbeddingTextPrefixes,
@@ -56,7 +56,7 @@ import {
56
56
  getEmbeddingProviderIdentity,
57
57
  dominantEmbeddingFailure,
58
58
  LocalEmbeddingProvider
59
- } from "./index-38pf5bqw.js";
59
+ } from "./index-hec3bwev.js";
60
60
  import {
61
61
  embedPauseBySession,
62
62
  activeEmbeddingSessions,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_LOCAL_EMBEDDING_MODEL
3
- } from "./index-aec63gtj.js";
3
+ } from "./index-vcegxfwg.js";
4
4
  import {
5
5
  getSynapseLaneIdentity
6
6
  } from "./index-qm139qq2.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_LOCAL_EMBEDDING_MODEL
3
- } from "./index-aec63gtj.js";
3
+ } from "./index-vcegxfwg.js";
4
4
  import {
5
5
  log2
6
6
  } from "./index-yxeg8zaa.js";
@@ -10,12 +10,12 @@ import {
10
10
  } from "./index-qm139qq2.js";
11
11
  import {
12
12
  LocalEmbeddingProvider
13
- } from "./index-38pf5bqw.js";
13
+ } from "./index-hec3bwev.js";
14
14
  import {
15
15
  OpenAICompatibleEmbeddingProvider,
16
16
  getProjectEmbeddingSnapshot2,
17
17
  embedBatchForProject2
18
- } from "./index-2yjpxzga.js";
18
+ } from "./index-erkb5dee.js";
19
19
  import {
20
20
  isEmbeddingHostBusy2
21
21
  } from "./index-9p40dgkm.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  piModelRefToCanonical
3
- } from "./index-aec63gtj.js";
3
+ } from "./index-vcegxfwg.js";
4
4
  import {
5
5
  getHarness2
6
6
  } from "./index-0h2mkab2.js";
@@ -14,6 +14,8 @@ import {
14
14
  isPrefixBoundThinkingModel,
15
15
  MERGED_REASONING_PARTS_PREFIX,
16
16
  decodeMergedReasoningParts,
17
+ isRecord,
18
+ providerVisibleMessage,
17
19
  SESSION_META_SELECT_COLUMNS,
18
20
  META_COLUMNS,
19
21
  BOOLEAN_META_KEYS,
@@ -27,6 +29,7 @@ import {
27
29
  readReplayDocument,
28
30
  updateReplayDocument,
29
31
  writeReplayDocument,
32
+ getTagById2,
30
33
  parseStrippedPlaceholderState,
31
34
  serializeStrippedPlaceholderState,
32
35
  THINKING_BINDING_RECOVERY_FROZEN_PREFIX,
@@ -35,37 +38,35 @@ import {
35
38
  parseProcessedImageMarkers,
36
39
  serializeProcessedImageMarkers,
37
40
  getPendingPiCompactionMarkerState,
38
- logPiCompactionMarkerClear,
39
- withReadOnlySessionDb,
40
- expandToolPart,
41
- visitRawSessionMessages2,
42
- readRawSessionMessageById2
43
- } from "./index-8cgk0pyh.js";
44
- import {
45
- isRecord,
46
- providerVisibleMessage,
47
- getTagById2
48
- } from "./index-qcsjj9m0.js";
41
+ logPiCompactionMarkerClear
42
+ } from "./index-5n3e2gq5.js";
49
43
  import {
50
44
  estimateTokens
51
45
  } from "./index-7y60kyea.js";
52
46
  import {
53
- prepareCachedStatement2,
54
- withSqliteBackgroundWriter2,
55
- withoutSqliteTransformPass2
56
- } from "./index-2qtx0q6h.js";
57
- import {
47
+ BoundedSessionMap,
58
48
  getTableColumnNames,
59
49
  tagTombstoneOwnerRange,
60
50
  tagTombstoneOwnerKey,
61
51
  tagRevisionKey,
62
52
  tagIdentityRevisionKey,
63
53
  deleteTagIdentityRevisions
64
- } from "./index-jxm4bvm4.js";
54
+ } from "./index-v858d5d1.js";
55
+ import {
56
+ prepareCachedStatement2,
57
+ withSqliteBackgroundWriter2,
58
+ withoutSqliteTransformPass2
59
+ } from "./index-2qtx0q6h.js";
65
60
  import {
66
61
  isPidAlive,
67
62
  readProcessStartTime
68
- } from "./index-tv9pqeek.js";
63
+ } from "./index-625kbnqd.js";
64
+ import {
65
+ withReadOnlySessionDb,
66
+ expandToolPart,
67
+ visitRawSessionMessages2,
68
+ readRawSessionMessageById2
69
+ } from "./index-rekymyxd.js";
69
70
  import {
70
71
  gaDatabasePath2,
71
72
  V2StoreReader2
@@ -80,13 +81,10 @@ import {
80
81
  invalidateAutoEmbedSession,
81
82
  drainBackgroundBatches
82
83
  } from "./index-hgd00nas.js";
83
- import {
84
- BoundedSessionMap
85
- } from "./index-c6wbq66z.js";
86
84
  import {
87
85
  layoutLkgPrefix,
88
86
  assembleLkgPrefix
89
- } from "./index-zc6fdyx7.js";
87
+ } from "./index-d40ecdbn.js";
90
88
  import {
91
89
  logSlowWriteTransaction
92
90
  } from "./index-j0eagxkz.js";
@@ -3,11 +3,11 @@ import {
3
3
  tagRevisionCountSql,
4
4
  tagRevisionKey,
5
5
  TAG_INSERT_CONFLICT_ROWS
6
- } from "./index-jxm4bvm4.js";
6
+ } from "./index-v858d5d1.js";
7
7
  import {
8
8
  getTagsBySession2,
9
9
  getTagsByNumbers2
10
- } from "./index-qcsjj9m0.js";
10
+ } from "./index-5n3e2gq5.js";
11
11
  import {
12
12
  inRootAsyncContext2,
13
13
  getSqliteDatabasePath2,