@cortexkit/pi-magic-context 0.49.12 → 0.49.13
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.
- package/dist/auto-search-worker.js +3 -3
- package/dist/chunk-embedding-write-worker.js +87 -0
- package/dist/{embedding-backfill-14tqcfrn.js → embedding-backfill-7kj16fh9.js} +5 -4
- package/dist/embedding-worker.js +1 -1
- package/dist/historian-calibration-extension.js +1 -1
- package/dist/index-1mrvw9en.js +225 -0
- package/dist/{index-af9nb5db.js → index-7qc73yk5.js} +60 -3
- package/dist/{index-xpsht877.js → index-7wagp5jp.js} +2 -2
- package/dist/{index-zapgkmp7.js → index-aypx5h57.js} +34 -45
- package/dist/{index-f6e8jsrh.js → index-nwbhe6qv.js} +188 -241
- package/dist/{index-z5ftst3e.js → index-t27xk4r7.js} +1 -1
- package/dist/{index-6hex51s9.js → index-vv1j5cak.js} +1 -1
- package/dist/{index-gykw2zhn.js → index-wp9q91kn.js} +4 -4
- package/dist/{index-xmdkde4v.js → index-y29y2j2w.js} +12 -1
- package/dist/index.js +523 -175
- package/dist/{message-index-dfs6k35a.js → message-index-7w179p64.js} +2 -2
- package/dist/{message-index-bounded-ws37m1nt.js → message-index-bounded-80n96ehp.js} +2 -2
- package/dist/migration-worker.js +1 -1
- package/dist/{project-embedding-registry-ymvne11v.js → project-embedding-registry-52zwmtbn.js} +4 -3
- package/dist/raw-ordinal-warmup-worker.js +2 -2
- package/dist/{search-85e21wb8.js → search-hffb8xht.js} +7 -6
- package/dist/subagent-entry.js +9 -8
- package/package.json +2 -2
- /package/dist/{index-j24916mq.js → index-9jvktm7k.js} +0 -0
- /package/dist/{index-69vas84q.js → index-e6xnpach.js} +0 -0
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
indexMessagesAfterOrdinal2,
|
|
18
18
|
indexSourcesAfterOrdinal2,
|
|
19
19
|
sweepOrphanedOpenCodeMessageIndexes2
|
|
20
|
-
} from "./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
} from "./index-vv1j5cak.js";
|
|
21
|
+
import"./index-7qc73yk5.js";
|
|
22
22
|
import"./index-53xdqb3d.js";
|
|
23
23
|
import"./index-ed9d2ded.js";
|
|
24
24
|
import"./index-he9s4qsj.js";
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
markMessageIndexDirty2,
|
|
22
22
|
getIndexableContent2,
|
|
23
23
|
indexSingleMessage2
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-vv1j5cak.js";
|
|
25
25
|
import"./index-djxc8w8c.js";
|
|
26
26
|
import"./index-apgwdby5.js";
|
|
27
27
|
import"./index-6dz2ed1v.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-7qc73yk5.js";
|
|
29
29
|
import"./index-d4dt19md.js";
|
|
30
30
|
|
|
31
31
|
// ../plugin/src/features/magic-context/message-index-bounded.ts
|
package/dist/migration-worker.js
CHANGED
package/dist/{project-embedding-registry-ymvne11v.js → project-embedding-registry-52zwmtbn.js}
RENAMED
|
@@ -33,11 +33,12 @@ import {
|
|
|
33
33
|
sweepAllRegisteredProjects2,
|
|
34
34
|
_setTestProviderFactoryForProject2,
|
|
35
35
|
_resetProjectEmbeddingRegistryForTests2
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-nwbhe6qv.js";
|
|
37
37
|
import"./index-9p40dgkm.js";
|
|
38
|
-
import"./index-af9nb5db.js";
|
|
39
38
|
import"./index-yhzhdp3m.js";
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-1mrvw9en.js";
|
|
40
|
+
import"./index-7qc73yk5.js";
|
|
41
|
+
import"./index-9jvktm7k.js";
|
|
41
42
|
import"./index-6dz2ed1v.js";
|
|
42
43
|
import"./index-1k729e4f.js";
|
|
43
44
|
import"./index-6ex901g3.js";
|
|
@@ -35,7 +35,7 @@ try {
|
|
|
35
35
|
{ configureContextDatabasePragmas }
|
|
36
36
|
] = await Promise.all([
|
|
37
37
|
import("./harness-9872e0ym.js"),
|
|
38
|
-
import("./message-index-
|
|
38
|
+
import("./message-index-7w179p64.js"),
|
|
39
39
|
import("./sqlite-context-pragmas-gcgch6qz.js")
|
|
40
40
|
]);
|
|
41
41
|
setHarness(input.harness ?? "opencode");
|
|
@@ -49,7 +49,7 @@ try {
|
|
|
49
49
|
const { setHarness } = await import("./harness-9872e0ym.js");
|
|
50
50
|
setHarness(input.harness ?? "opencode");
|
|
51
51
|
const [{ indexMessageInShortChunks }, { configureContextDatabasePragmas }] = await Promise.all([
|
|
52
|
-
import("./message-index-bounded-
|
|
52
|
+
import("./message-index-bounded-80n96ehp.js"),
|
|
53
53
|
import("./sqlite-context-pragmas-gcgch6qz.js")
|
|
54
54
|
]);
|
|
55
55
|
configureContextDatabasePragmas(db);
|
|
@@ -5,20 +5,21 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
8
|
+
} from "./index-wp9q91kn.js";
|
|
9
|
+
import"./index-vv1j5cak.js";
|
|
10
|
+
import"./index-7wagp5jp.js";
|
|
11
11
|
import"./index-hy44m6jc.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-nwbhe6qv.js";
|
|
13
13
|
import"./index-9p40dgkm.js";
|
|
14
|
-
import"./index-af9nb5db.js";
|
|
15
14
|
import"./index-yhzhdp3m.js";
|
|
15
|
+
import"./index-1mrvw9en.js";
|
|
16
|
+
import"./index-7qc73yk5.js";
|
|
16
17
|
import"./index-53xdqb3d.js";
|
|
17
18
|
import"./index-ed9d2ded.js";
|
|
18
19
|
import"./index-he9s4qsj.js";
|
|
19
20
|
import"./index-399p688g.js";
|
|
20
21
|
import"./index-6x556c2q.js";
|
|
21
|
-
import"./index-
|
|
22
|
+
import"./index-9jvktm7k.js";
|
|
22
23
|
import"./index-6dz2ed1v.js";
|
|
23
24
|
import"./index-1k729e4f.js";
|
|
24
25
|
import"./index-3cnarwf8.js";
|
package/dist/subagent-entry.js
CHANGED
|
@@ -15,7 +15,7 @@ import"./index-apgwdby5.js";
|
|
|
15
15
|
import"./index-fapenpch.js";
|
|
16
16
|
import {
|
|
17
17
|
openDatabase
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-t27xk4r7.js";
|
|
19
19
|
import"./index-djxc8w8c.js";
|
|
20
20
|
import"./index-3cnarwf8.js";
|
|
21
21
|
import"./index-jrap43gc.js";
|
|
@@ -27,21 +27,22 @@ import {
|
|
|
27
27
|
ensureProjectRegisteredFromPiDirectory,
|
|
28
28
|
resolvePiHarnessKind,
|
|
29
29
|
registerMagicContextTools
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-aypx5h57.js";
|
|
31
31
|
import"./index-1k729e4f.js";
|
|
32
32
|
import"./index-6dz2ed1v.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-7qc73yk5.js";
|
|
34
|
+
import"./index-9jvktm7k.js";
|
|
35
|
+
import"./index-nwbhe6qv.js";
|
|
36
36
|
import"./index-9p40dgkm.js";
|
|
37
|
+
import"./index-1mrvw9en.js";
|
|
37
38
|
import"./index-yhzhdp3m.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-7wagp5jp.js";
|
|
40
|
+
import"./index-vv1j5cak.js";
|
|
40
41
|
import"./index-ed9d2ded.js";
|
|
41
42
|
import"./index-399p688g.js";
|
|
42
43
|
import"./index-he9s4qsj.js";
|
|
43
44
|
import"./index-6x556c2q.js";
|
|
44
|
-
import"./index-
|
|
45
|
+
import"./index-wp9q91kn.js";
|
|
45
46
|
import"./index-hy44m6jc.js";
|
|
46
47
|
import"./index-46q4e104.js";
|
|
47
48
|
import"./index-d4dt19md.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cortexkit/pi-magic-context",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.13",
|
|
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",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"//": "The build intentionally bundles typebox (no --external typebox) and keeps it a regular dependency. OMP's extension loader rewrites every bare `typebox` import to its own omptype-based shim, whose schemas are callable objects rather than JSON Schema; they fail structuredClone during tool registration, so an external typebox import stops Magic Context loading on OMP. src/typebox-bundling.test.ts guards this.",
|
|
31
31
|
"scripts": {
|
|
32
|
-
"build": "bun ../../scripts/check-bun.mjs && tsc -p ../retina-local-fs/tsconfig.build.json && bun ../../scripts/clean-dist-chunks.mjs dist index.js subagent-entry.js historian-calibration-extension.js embedding-worker-process.js raw-ordinal-warmup-worker.js transformers-web.js transformers-node-wasm.js && bun build ../plugin/src/features/magic-context/memory/transformers-web-entry.ts --outfile dist/transformers-web.js --target browser --format esm --external onnxruntime-web && bun ../plugin/scripts/build-transformers-node-wasm.ts dist && bun build src/index.ts src/subagent-entry.ts src/historian-calibration-extension.ts ../plugin/src/features/magic-context/memory/embedding-worker.ts ../plugin/src/features/magic-context/memory/embedding-worker-process.ts ../plugin/src/features/magic-context/migration-worker.ts ../plugin/src/hooks/magic-context/auto-search-worker.ts ../plugin/src/hooks/magic-context/raw-ordinal-warmup-worker.ts ../plugin/src/features/magic-context/compaction-marker-candidates-worker.ts --outdir dist --entry-naming '[name].[ext]' --target node --format esm --splitting --external @earendil-works/pi-coding-agent --external @oh-my-pi/pi-coding-agent --external @earendil-works/pi-tui --external onnxruntime-node --external onnxruntime-web --external sharp --external bun:ffi --external node:sqlite",
|
|
32
|
+
"build": "bun ../../scripts/check-bun.mjs && tsc -p ../retina-local-fs/tsconfig.build.json && bun ../../scripts/clean-dist-chunks.mjs dist index.js subagent-entry.js historian-calibration-extension.js embedding-worker-process.js raw-ordinal-warmup-worker.js transformers-web.js transformers-node-wasm.js && bun build ../plugin/src/features/magic-context/memory/transformers-web-entry.ts --outfile dist/transformers-web.js --target browser --format esm --external onnxruntime-web && bun ../plugin/scripts/build-transformers-node-wasm.ts dist && bun build src/index.ts src/subagent-entry.ts src/historian-calibration-extension.ts ../plugin/src/features/magic-context/memory/embedding-worker.ts ../plugin/src/features/magic-context/memory/embedding-worker-process.ts ../plugin/src/features/magic-context/migration-worker.ts ../plugin/src/hooks/magic-context/auto-search-worker.ts ../plugin/src/hooks/magic-context/raw-ordinal-warmup-worker.ts ../plugin/src/features/magic-context/compaction-marker-candidates-worker.ts ../plugin/src/features/magic-context/chunk-embedding-write-worker.ts --outdir dist --entry-naming '[name].[ext]' --target node --format esm --splitting --external @earendil-works/pi-coding-agent --external @oh-my-pi/pi-coding-agent --external @earendil-works/pi-tui --external onnxruntime-node --external onnxruntime-web --external sharp --external bun:ffi --external node:sqlite",
|
|
33
33
|
"build:e2e-argv": "bun ../../scripts/clean-dist-chunks.mjs ../../tests/docker/.generated subagent-runner-e2e.mjs && bun build src/subagent-runner.ts --outdir ../../tests/docker/.generated --entry-naming 'subagent-runner-e2e.mjs' --splitting --target node --format esm --external node:sqlite && node --input-type=module -e 'const { __test } = await import(\"../../tests/docker/.generated/subagent-runner-e2e.mjs\"); if (typeof __test.buildArgs !== \"function\" || typeof __test.resolvePiInvocation !== \"function\") throw new Error(\"argv renderer exports missing\"); console.log(\"Node argv renderer: 2 exports loaded\")'",
|
|
34
34
|
"typecheck": "tsc -p ../retina-local-fs/tsconfig.build.json && tsc --noEmit",
|
|
35
35
|
"test": "bun ../../scripts/check-bun.mjs && bun install --frozen-lockfile && BUN_JSC_useOMGJIT=0 bun test --parallel=4 --timeout 30000",
|
|
File without changes
|
|
File without changes
|