@cortexkit/pi-magic-context 0.49.62 → 0.49.64

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 (25) hide show
  1. package/dist/auto-search-worker.js +1 -1
  2. package/dist/chunk-embedding-write-worker.js +1 -1
  3. package/dist/{index-w4sqw9mf.js → index-67q9cz3f.js} +1 -1
  4. package/dist/{index-418za765.js → index-691zz6f4.js} +7 -7
  5. package/dist/{index-zgsemyph.js → index-6vmpw4z3.js} +3 -3
  6. package/dist/{index-8gvbskcm.js → index-7vhbmjgv.js} +87 -44
  7. package/dist/{index-5hhhxck7.js → index-8328rak2.js} +1 -1
  8. package/dist/{index-xan5mt5f.js → index-98e27fdt.js} +1 -1
  9. package/dist/{index-f4n7tnsf.js → index-hja11zte.js} +1 -1
  10. package/dist/{index-m6kszx0e.js → index-renfmk50.js} +1 -1
  11. package/dist/{index-9cqfbdgb.js → index-vkcb1cg1.js} +3 -3
  12. package/dist/{index-fz4gexgk.js → index-ye6b3dr4.js} +1 -1
  13. package/dist/index.js +520 -302
  14. package/dist/{message-index-bounded-behq385r.js → message-index-bounded-b5vft8jk.js} +3 -3
  15. package/dist/migration-worker.js +1 -1
  16. package/dist/raw-ordinal-warmup-worker.js +4 -4
  17. package/dist/{read-session-chunk-ksh32zfv.js → read-session-chunk-nfkemn80.js} +2 -2
  18. package/dist/{render-2qed2svq.js → render-173bqp1y.js} +5 -5
  19. package/dist/{search-archive-qqj7j1w1.js → search-archive-7snt7cyv.js} +4 -4
  20. package/dist/{search-vmw1xbqx.js → search-ea9x8vxk.js} +4 -4
  21. package/dist/{storage-tags-s0m7e39a.js → storage-tags-n8q8jk1b.js} +3 -1
  22. package/dist/subagent-entry.js +9 -9
  23. package/dist/tag-snapshot-worker-pi.js +3 -3
  24. package/dist/{v2-archive-reader-cc7sx6dk.js → v2-archive-reader-5vmwk9y5.js} +1 -1
  25. package/package.json +1 -1
@@ -3,7 +3,7 @@ import {
3
3
  withIndexChunk2,
4
4
  yieldIndexChunk2
5
5
  } from "./index-2qtx0q6h.js";
6
- import"./index-8gvbskcm.js";
6
+ import"./index-7vhbmjgv.js";
7
7
  import"./index-pefn1gt5.js";
8
8
  import"./index-0h2mkab2.js";
9
9
  import"./index-tm11k42a.js";
@@ -15,7 +15,7 @@ import"./index-wfqysrwq.js";
15
15
  import"./index-x2n261wp.js";
16
16
  import"./index-xjhq27z9.js";
17
17
  import"./index-n0zjvs3h.js";
18
- import"./index-xan5mt5f.js";
18
+ import"./index-98e27fdt.js";
19
19
  import"./index-6x556c2q.js";
20
20
  import {
21
21
  MESSAGE_INDEX_MAX_FTS_BYTES,
@@ -24,7 +24,7 @@ import {
24
24
  markMessageIndexDirty,
25
25
  getIndexableContent,
26
26
  indexSingleMessage
27
- } from "./index-m6kszx0e.js";
27
+ } from "./index-renfmk50.js";
28
28
  import"./index-ghp32f9m.js";
29
29
  import"./index-1ts77n1b.js";
30
30
 
@@ -17,7 +17,7 @@ import"./index-453s1hj6.js";
17
17
  import {
18
18
  setSqlitePragmaConfig,
19
19
  initializeDatabase
20
- } from "./index-w4sqw9mf.js";
20
+ } from "./index-67q9cz3f.js";
21
21
  import"./index-fapenpch.js";
22
22
  import"./index-3bb24eb6.js";
23
23
  import"./index-8sqebjzk.js";
@@ -19,7 +19,7 @@ serveWorkerJobs(async (input, port) => {
19
19
  await main();
20
20
  async function main() {
21
21
  if (input.v2ArchiveReader) {
22
- const { serveV2ArchiveReads } = await import("./v2-archive-reader-cc7sx6dk.js");
22
+ const { serveV2ArchiveReads } = await import("./v2-archive-reader-5vmwk9y5.js");
23
23
  await serveV2ArchiveReads(port, openConnections);
24
24
  return;
25
25
  }
@@ -51,7 +51,7 @@ serveWorkerJobs(async (input, port) => {
51
51
  await runMessageFtsRowidMapBackfill(db);
52
52
  reply = { kind: "fts-rowid-backfill" };
53
53
  } else if (input.searchArchive) {
54
- const { renderSearchArchive } = await import("./search-archive-qqj7j1w1.js");
54
+ const { renderSearchArchive } = await import("./search-archive-7snt7cyv.js");
55
55
  const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-0tytrjye.js");
56
56
  const archive = input.searchArchive;
57
57
  let raw;
@@ -81,7 +81,7 @@ serveWorkerJobs(async (input, port) => {
81
81
  const { setHarness } = await import("./harness-9872e0ym.js");
82
82
  setHarness(input.harness ?? "opencode");
83
83
  const [{ indexMessageInShortChunks }, { configureContextDatabasePragmas }] = await Promise.all([
84
- import("./message-index-bounded-behq385r.js"),
84
+ import("./message-index-bounded-b5vft8jk.js"),
85
85
  import("./sqlite-context-pragmas-gcgch6qz.js")
86
86
  ]);
87
87
  configureContextDatabasePragmas(db);
@@ -95,7 +95,7 @@ serveWorkerJobs(async (input, port) => {
95
95
  measurements: result.measurements
96
96
  };
97
97
  } else if (input.tagRatio !== undefined) {
98
- const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-s0m7e39a.js");
98
+ const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-n8q8jk1b.js");
99
99
  const delta = input.tagState ? scanTagOwnerDelta(db, input.sessionId, input.tagState) : null;
100
100
  if (delta)
101
101
  reply = { kind: "tag-delta", delta };
@@ -38,8 +38,8 @@ import {
38
38
  readSessionChunk2,
39
39
  getRawSessionMessageIdsThrough2,
40
40
  readRawSessionSeedTail2
41
- } from "./index-xan5mt5f.js";
42
- import"./index-8gvbskcm.js";
41
+ } from "./index-98e27fdt.js";
42
+ import"./index-7vhbmjgv.js";
43
43
  import"./index-6x556c2q.js";
44
44
  import"./index-vcegxfwg.js";
45
45
  import"./index-jhmz9tgv.js";
@@ -3,18 +3,18 @@ import {
3
3
  renderVerboseRange2,
4
4
  renderVerboseRangeForTool2,
5
5
  renderItemByTag2
6
- } from "./index-zgsemyph.js";
6
+ } from "./index-6vmpw4z3.js";
7
7
  import"./index-k7a8x7ba.js";
8
- import"./index-m6kszx0e.js";
8
+ import"./index-renfmk50.js";
9
9
  import"./index-hgd00nas.js";
10
10
  import"./index-nvh6d3bz.js";
11
11
  import"./index-cxczethe.js";
12
- import"./index-xan5mt5f.js";
13
- import"./index-8gvbskcm.js";
12
+ import"./index-98e27fdt.js";
13
+ import"./index-7vhbmjgv.js";
14
14
  import"./index-6x556c2q.js";
15
15
  import"./index-5rcjs14a.js";
16
16
  import"./index-vcegxfwg.js";
17
- import"./index-w4sqw9mf.js";
17
+ import"./index-67q9cz3f.js";
18
18
  import"./index-fapenpch.js";
19
19
  import"./index-gavj3e6h.js";
20
20
  import"./index-135e8hvg.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  renderSearchArchive2
3
- } from "./index-f4n7tnsf.js";
4
- import"./index-9cqfbdgb.js";
3
+ } from "./index-hja11zte.js";
4
+ import"./index-vkcb1cg1.js";
5
5
  import"./index-8d2z6503.js";
6
- import"./index-xan5mt5f.js";
7
- import"./index-8gvbskcm.js";
6
+ import"./index-98e27fdt.js";
7
+ import"./index-7vhbmjgv.js";
8
8
  import"./index-6x556c2q.js";
9
9
  import"./index-vcegxfwg.js";
10
10
  import"./index-jhmz9tgv.js";
@@ -5,9 +5,9 @@ import {
5
5
  resolveMemoriesByIdsForSearch2,
6
6
  unifiedSearch2,
7
7
  formatSearchResults2
8
- } from "./index-5hhhxck7.js";
8
+ } from "./index-8328rak2.js";
9
9
  import"./index-k7a8x7ba.js";
10
- import"./index-m6kszx0e.js";
10
+ import"./index-renfmk50.js";
11
11
  import"./index-8d2z6503.js";
12
12
  import"./index-qdy49kwk.js";
13
13
  import"./index-29nw7n1r.js";
@@ -17,8 +17,8 @@ import"./index-hgd00nas.js";
17
17
  import"./index-yhzhdp3m.js";
18
18
  import"./index-79xfn84y.js";
19
19
  import"./index-cxczethe.js";
20
- import"./index-xan5mt5f.js";
21
- import"./index-8gvbskcm.js";
20
+ import"./index-98e27fdt.js";
21
+ import"./index-7vhbmjgv.js";
22
22
  import"./index-6x556c2q.js";
23
23
  import"./index-txcs0vnj.js";
24
24
  import"./index-5rcjs14a.js";
@@ -9,6 +9,7 @@ import {
9
9
  getActiveTagTokenTotalsByMessage2,
10
10
  updateTagInputByteSize2,
11
11
  updateTagTokenCount2,
12
+ setTagTokenCount2,
12
13
  getPersistedToolTagAccounting2,
13
14
  getAllStatusTagTokenTotalsFlat2,
14
15
  getReasoningTokenEstimatesByMessage2,
@@ -61,7 +62,7 @@ import {
61
62
  adoptNullOwnerToolTag2,
62
63
  getCandidateToolOwners2,
63
64
  pickNearestPriorOwner2
64
- } from "./index-8gvbskcm.js";
65
+ } from "./index-7vhbmjgv.js";
65
66
  import"./index-vcegxfwg.js";
66
67
  import"./index-jhmz9tgv.js";
67
68
  import"./index-1ts77n1b.js";
@@ -123,6 +124,7 @@ export {
123
124
  pickNearestPriorOwner2 as pickNearestPriorOwner,
124
125
  scanTagOwnerDelta2 as scanTagOwnerDelta,
125
126
  scanTagOwnerSummary2 as scanTagOwnerSummary,
127
+ setTagTokenCount2 as setTagTokenCount,
126
128
  tagTokenCountIsNull2 as tagTokenCountIsNull,
127
129
  tryGetReasoningTokenEstimatesByMessage2 as tryGetReasoningTokenEstimatesByMessage,
128
130
  updateCavemanDepth2 as updateCavemanDepth,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TOKEN_BUDGET_TOOL_REFUSAL
3
- } from "./index-xan5mt5f.js";
3
+ } from "./index-98e27fdt.js";
4
4
  import {
5
5
  setHarness2
6
6
  } from "./index-0h2mkab2.js";
@@ -14,7 +14,7 @@ import {
14
14
  import"./index-2qtx0q6h.js";
15
15
  import {
16
16
  openDatabase
17
- } from "./index-w4sqw9mf.js";
17
+ } from "./index-67q9cz3f.js";
18
18
  import"./index-fapenpch.js";
19
19
  import"./index-3bb24eb6.js";
20
20
  import"./index-8sqebjzk.js";
@@ -34,7 +34,7 @@ import {
34
34
  resolvePiHarnessKind,
35
35
  reportSubagentStartupError,
36
36
  registerMagicContextTools
37
- } from "./index-418za765.js";
37
+ } from "./index-691zz6f4.js";
38
38
  import"./index-vcegxfwg.js";
39
39
  import"./index-5rcjs14a.js";
40
40
  import"./index-cxczethe.js";
@@ -45,17 +45,17 @@ import"./index-9p40dgkm.js";
45
45
  import"./index-79xfn84y.js";
46
46
  import"./index-yhzhdp3m.js";
47
47
  import"./index-qdy49kwk.js";
48
- import"./index-zgsemyph.js";
49
- import"./index-m6kszx0e.js";
50
- import"./index-8gvbskcm.js";
48
+ import"./index-6vmpw4z3.js";
49
+ import"./index-renfmk50.js";
50
+ import"./index-7vhbmjgv.js";
51
51
  import"./index-6x556c2q.js";
52
52
  import"./index-nvh6d3bz.js";
53
53
  import"./index-k7a8x7ba.js";
54
54
  import"./index-8d2z6503.js";
55
- import"./index-9cqfbdgb.js";
56
- import"./index-f4n7tnsf.js";
55
+ import"./index-vkcb1cg1.js";
56
+ import"./index-hja11zte.js";
57
57
  import"./index-29nw7n1r.js";
58
- import"./index-5hhhxck7.js";
58
+ import"./index-8328rak2.js";
59
59
  import"./index-3s39a1md.js";
60
60
  import"./index-1ts77n1b.js";
61
61
  import {
@@ -8,7 +8,7 @@ import"./index-tm11k42a.js";
8
8
  import {
9
9
  LATEST_SUPPORTED_VERSION,
10
10
  getPersistedSchemaVersion
11
- } from "./index-w4sqw9mf.js";
11
+ } from "./index-67q9cz3f.js";
12
12
  import"./index-fapenpch.js";
13
13
  import"./index-3bb24eb6.js";
14
14
  import"./index-8sqebjzk.js";
@@ -28,14 +28,14 @@ import"./index-pefn1gt5.js";
28
28
  import {
29
29
  normalizeTagSnapshotRow2,
30
30
  TAG_SELECT_COLUMNS2
31
- } from "./index-8gvbskcm.js";
31
+ } from "./index-7vhbmjgv.js";
32
32
  import"./index-vcegxfwg.js";
33
33
  import {
34
34
  encodePiHydrationOperation,
35
35
  projectPiPassTag,
36
36
  PI_FALLBACK_ROW_COLUMNS,
37
37
  PI_FALLBACK_ROW_PREDICATE
38
- } from "./index-fz4gexgk.js";
38
+ } from "./index-ye6b3dr4.js";
39
39
  import"./index-1ts77n1b.js";
40
40
  import {
41
41
  serveWorkerJobs
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readV2ArchiveOffThread2,
3
3
  serveV2ArchiveReads2
4
- } from "./index-9cqfbdgb.js";
4
+ } from "./index-vkcb1cg1.js";
5
5
  import"./index-8sqebjzk.js";
6
6
  import"./index-2qtx0q6h.js";
7
7
  import"./index-x2n261wp.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/pi-magic-context",
3
- "version": "0.49.62",
3
+ "version": "0.49.64",
4
4
  "type": "module",
5
5
  "description": "Pi and OMP coding agent extension for Magic Context — cross-session memory and context management",
6
6
  "main": "dist/index.js",