@cortexkit/pi-magic-context 0.49.6 → 0.49.7
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 +10 -7
- package/dist/{compaction-marker-candidates-9w5g66at.js → compaction-marker-candidates-tqcq5n00.js} +2 -2
- package/dist/compaction-marker-candidates-worker.js +2 -2
- package/dist/{embedding-backfill-809pgwvb.js → embedding-backfill-vygvr2x4.js} +6 -6
- package/dist/{index-fx0r5485.js → index-0d8zqccx.js} +3 -3
- package/dist/{index-9mn34fnx.js → index-0eg59y8d.js} +2 -2
- package/dist/{index-5z1h0qsa.js → index-0ww9cgfd.js} +4 -4
- package/dist/{index-wf7mwdnf.js → index-34zacc0h.js} +1 -1
- package/dist/{index-57mvvbbh.js → index-6q5mx0cz.js} +8 -7
- package/dist/{index-fcacf11g.js → index-6vjj0555.js} +1 -1
- package/dist/{index-5rc9kvrk.js → index-7mm27xdc.js} +1 -1
- package/dist/{index-8vbh4tzw.js → index-7ptxvfc5.js} +34 -13
- package/dist/{index-hfnjfk4d.js → index-8jpqq2yk.js} +64 -64
- package/dist/{index-cd6bjrj4.js → index-8ye22z7k.js} +1 -1
- package/dist/{index-p4matwj0.js → index-a7fj661j.js} +1 -1
- package/dist/{index-kxxdyjfs.js → index-dj784nyr.js} +1 -1
- package/dist/{index-swab4319.js → index-dj8hpkz7.js} +1 -1
- package/dist/{index-j7pa3t4s.js → index-fhv6ydkq.js} +98 -19
- package/dist/{index-kamhcj15.js → index-gqsfhksw.js} +1 -1
- package/dist/{index-0p9gemc6.js → index-mrsarsbh.js} +160 -25
- package/dist/index.js +979 -321
- package/dist/{message-index-m6snq0fh.js → message-index-8rxj3cxh.js} +7 -7
- package/dist/{message-index-bounded-8a94k72f.js → message-index-bounded-e5bv8gzm.js} +7 -7
- package/dist/{message-time-backfill-xqwg3hg1.js → message-time-backfill-hmekd2jj.js} +1 -1
- package/dist/migration-worker.js +5 -5
- package/dist/{project-embedding-registry-3x6nmszv.js → project-embedding-registry-z5m4eh3d.js} +5 -5
- package/dist/raw-ordinal-warmup-worker.js +17 -15
- package/dist/{read-session-chunk-49e1ayzs.js → read-session-chunk-sp5adk01.js} +6 -4
- package/dist/{read-session-raw-545mgtjz.js → read-session-raw-s14c7nf3.js} +2 -2
- package/dist/{search-q76dp7w9.js → search-hgfaqytc.js} +13 -13
- package/dist/{sqlite-wp7wddw3.js → sqlite-f8kh2n10.js} +1 -1
- package/dist/{storage-memory-7417pbm9.js → storage-memory-yf7r98vz.js} +2 -2
- package/dist/{storage-tags-cvjsrbqh.js → storage-tags-0xk95neb.js} +2 -2
- package/dist/subagent-entry.js +16 -16
- package/package.json +1 -1
|
@@ -17,20 +17,20 @@ import {
|
|
|
17
17
|
indexMessagesAfterOrdinal2,
|
|
18
18
|
indexSourcesAfterOrdinal2,
|
|
19
19
|
sweepOrphanedOpenCodeMessageIndexes2
|
|
20
|
-
} from "./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
20
|
+
} from "./index-0ww9cgfd.js";
|
|
21
|
+
import"./index-8ye22z7k.js";
|
|
22
|
+
import"./index-fhv6ydkq.js";
|
|
23
|
+
import"./index-6vjj0555.js";
|
|
24
|
+
import"./index-7mm27xdc.js";
|
|
25
25
|
import"./index-399p688g.js";
|
|
26
26
|
import"./index-21v1kfs7.js";
|
|
27
27
|
import"./index-cyrnv16r.js";
|
|
28
28
|
import"./index-0j0zqb4t.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-34zacc0h.js";
|
|
30
30
|
import"./index-8976mezv.js";
|
|
31
31
|
import"./index-mcgehvgw.js";
|
|
32
32
|
import"./index-0vrkp1jq.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-7ptxvfc5.js";
|
|
34
34
|
import"./index-r56xgha8.js";
|
|
35
35
|
import"./index-x3dcnxh0.js";
|
|
36
36
|
import"./index-0h2mkab2.js";
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
withSqliteBackgroundWriter2,
|
|
3
3
|
withIndexChunk2,
|
|
4
4
|
yieldIndexChunk2
|
|
5
|
-
} from "./index-
|
|
6
|
-
import"./index-
|
|
5
|
+
} from "./index-7ptxvfc5.js";
|
|
6
|
+
import"./index-6vjj0555.js";
|
|
7
7
|
import"./index-r56xgha8.js";
|
|
8
8
|
import"./index-0h2mkab2.js";
|
|
9
9
|
import"./index-x3dcnxh0.js";
|
|
10
10
|
import"./index-mcgehvgw.js";
|
|
11
11
|
import"./index-cyrnv16r.js";
|
|
12
12
|
import"./index-399p688g.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-7mm27xdc.js";
|
|
14
14
|
import"./index-8976mezv.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-fhv6ydkq.js";
|
|
16
16
|
import {
|
|
17
17
|
MESSAGE_INDEX_MAX_FTS_BYTES2,
|
|
18
18
|
messageIndexSkipKey2,
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
markMessageIndexDirty2,
|
|
21
21
|
getIndexableContent2,
|
|
22
22
|
indexSingleMessage2
|
|
23
|
-
} from "./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
} from "./index-0ww9cgfd.js";
|
|
24
|
+
import"./index-34zacc0h.js";
|
|
25
25
|
import"./index-0j0zqb4t.js";
|
|
26
26
|
import"./index-21v1kfs7.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-8ye22z7k.js";
|
|
28
28
|
import"./index-0vrkp1jq.js";
|
|
29
29
|
|
|
30
30
|
// ../plugin/src/features/magic-context/message-index-bounded.ts
|
package/dist/migration-worker.js
CHANGED
|
@@ -5,23 +5,23 @@ import {
|
|
|
5
5
|
} from "./index-x3dcnxh0.js";
|
|
6
6
|
import {
|
|
7
7
|
Database2
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-7ptxvfc5.js";
|
|
9
9
|
import"./index-135e8hvg.js";
|
|
10
10
|
import {
|
|
11
11
|
runMigrationsWithRetry
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-0eg59y8d.js";
|
|
13
13
|
import {
|
|
14
14
|
closeQuietly
|
|
15
15
|
} from "./index-mcgehvgw.js";
|
|
16
16
|
import"./index-8976mezv.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-gqsfhksw.js";
|
|
18
18
|
import"./index-0j0zqb4t.js";
|
|
19
19
|
import"./index-fapenpch.js";
|
|
20
20
|
import {
|
|
21
21
|
setSqlitePragmaConfig,
|
|
22
22
|
initializeDatabase
|
|
23
|
-
} from "./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
} from "./index-6q5mx0cz.js";
|
|
24
|
+
import"./index-34zacc0h.js";
|
|
25
25
|
import"./index-r56xgha8.js";
|
|
26
26
|
import"./index-0vrkp1jq.js";
|
|
27
27
|
|
package/dist/{project-embedding-registry-3x6nmszv.js → project-embedding-registry-z5m4eh3d.js}
RENAMED
|
@@ -33,17 +33,17 @@ import {
|
|
|
33
33
|
sweepAllRegisteredProjects2,
|
|
34
34
|
_setTestProviderFactoryForProject2,
|
|
35
35
|
_resetProjectEmbeddingRegistryForTests2
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-0d8zqccx.js";
|
|
37
37
|
import"./index-9p40dgkm.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-8ye22z7k.js";
|
|
39
39
|
import"./index-yhzhdp3m.js";
|
|
40
40
|
import"./index-gc2749rx.js";
|
|
41
41
|
import"./index-21v1kfs7.js";
|
|
42
42
|
import"./index-cyrnv16r.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
43
|
+
import"./index-gqsfhksw.js";
|
|
44
|
+
import"./index-34zacc0h.js";
|
|
45
45
|
import"./index-0vrkp1jq.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-7ptxvfc5.js";
|
|
47
47
|
import"./index-r56xgha8.js";
|
|
48
48
|
import"./index-x3dcnxh0.js";
|
|
49
49
|
import"./index-0h2mkab2.js";
|
|
@@ -5,10 +5,19 @@ if (!port)
|
|
|
5
5
|
throw new Error("raw ordinal warm-up worker requires a parent port");
|
|
6
6
|
var input = workerData;
|
|
7
7
|
port.postMessage({ kind: "accepted" });
|
|
8
|
-
var [
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
var [
|
|
9
|
+
{ Database, registerSqliteDiagnosticSink },
|
|
10
|
+
{ scanRawSessionSummaryRows },
|
|
11
|
+
{ getHarness, setHarness },
|
|
12
|
+
{ log }
|
|
13
|
+
] = await Promise.all([
|
|
14
|
+
import("./sqlite-f8kh2n10.js"),
|
|
15
|
+
import("./read-session-raw-s14c7nf3.js"),
|
|
16
|
+
import("./harness-9872e0ym.js"),
|
|
17
|
+
import("./logger-j6tecd1h.js")
|
|
11
18
|
]);
|
|
19
|
+
setHarness(input.harness ?? "opencode");
|
|
20
|
+
registerSqliteDiagnosticSink(log, getHarness);
|
|
12
21
|
var db;
|
|
13
22
|
var reply;
|
|
14
23
|
try {
|
|
@@ -21,7 +30,7 @@ try {
|
|
|
21
30
|
{ configureContextDatabasePragmas }
|
|
22
31
|
] = await Promise.all([
|
|
23
32
|
import("./harness-9872e0ym.js"),
|
|
24
|
-
import("./message-index-
|
|
33
|
+
import("./message-index-8rxj3cxh.js"),
|
|
25
34
|
import("./sqlite-context-pragmas-gcgch6qz.js")
|
|
26
35
|
]);
|
|
27
36
|
setHarness(input.harness ?? "opencode");
|
|
@@ -34,17 +43,10 @@ try {
|
|
|
34
43
|
} else if (input.indexMessage) {
|
|
35
44
|
const { setHarness } = await import("./harness-9872e0ym.js");
|
|
36
45
|
setHarness(input.harness ?? "opencode");
|
|
37
|
-
const [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
{ registerSqliteDiagnosticSink }
|
|
41
|
-
] = await Promise.all([
|
|
42
|
-
import("./message-index-bounded-8a94k72f.js"),
|
|
43
|
-
import("./sqlite-context-pragmas-gcgch6qz.js"),
|
|
44
|
-
import("./sqlite-wp7wddw3.js")
|
|
46
|
+
const [{ indexMessageInShortChunks }, { configureContextDatabasePragmas }] = await Promise.all([
|
|
47
|
+
import("./message-index-bounded-e5bv8gzm.js"),
|
|
48
|
+
import("./sqlite-context-pragmas-gcgch6qz.js")
|
|
45
49
|
]);
|
|
46
|
-
const { log } = await import("./logger-j6tecd1h.js");
|
|
47
|
-
registerSqliteDiagnosticSink(log);
|
|
48
50
|
configureContextDatabasePragmas(db);
|
|
49
51
|
const writer = db;
|
|
50
52
|
const message = input.indexMessage;
|
|
@@ -52,7 +54,7 @@ try {
|
|
|
52
54
|
const result = await indexMessageInShortChunks(writer, input.sessionId, message, input, () => !cancellation || Atomics.load(cancellation, 0) === 0);
|
|
53
55
|
reply = { kind: "indexed", inserted: result.inserted, measurements: result.measurements };
|
|
54
56
|
} else if (input.tagRatio !== undefined) {
|
|
55
|
-
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-
|
|
57
|
+
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-0xk95neb.js");
|
|
56
58
|
const delta = input.tagState ? scanTagOwnerDelta(db, input.sessionId, input.tagState) : null;
|
|
57
59
|
if (delta)
|
|
58
60
|
reply = { kind: "tag-delta", delta };
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
getRawSessionMessageOrdinalCount2,
|
|
12
12
|
RAW_MESSAGE_VISIT_PAGE_SIZE2,
|
|
13
13
|
visitRawSessionMessages2,
|
|
14
|
+
visitRawSessionMessagesAsync2,
|
|
14
15
|
readRawSessionMessageRange2,
|
|
15
16
|
prepareRawSessionOrdinals2,
|
|
16
17
|
primeTailRawMessageCache2,
|
|
@@ -34,15 +35,15 @@ import {
|
|
|
34
35
|
readSessionChunk2,
|
|
35
36
|
getRawSessionMessageIdsThrough2,
|
|
36
37
|
readRawSessionSeedTail2
|
|
37
|
-
} from "./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
} from "./index-fhv6ydkq.js";
|
|
39
|
+
import"./index-6vjj0555.js";
|
|
40
|
+
import"./index-7mm27xdc.js";
|
|
40
41
|
import"./index-399p688g.js";
|
|
41
42
|
import"./index-cyrnv16r.js";
|
|
42
43
|
import"./index-8976mezv.js";
|
|
43
44
|
import"./index-mcgehvgw.js";
|
|
44
45
|
import"./index-0vrkp1jq.js";
|
|
45
|
-
import"./index-
|
|
46
|
+
import"./index-7ptxvfc5.js";
|
|
46
47
|
import {
|
|
47
48
|
hasMeaningfulUserText2,
|
|
48
49
|
extractTexts2
|
|
@@ -85,6 +86,7 @@ export {
|
|
|
85
86
|
setBoundedRawMessageProvider2 as setBoundedRawMessageProvider,
|
|
86
87
|
setRawMessageProvider2 as setRawMessageProvider,
|
|
87
88
|
visitRawSessionMessages2 as visitRawSessionMessages,
|
|
89
|
+
visitRawSessionMessagesAsync2 as visitRawSessionMessagesAsync,
|
|
88
90
|
withRawMessageProvider2 as withRawMessageProvider,
|
|
89
91
|
withRawSessionMessageCache2 as withRawSessionMessageCache
|
|
90
92
|
};
|
|
@@ -24,9 +24,9 @@ import {
|
|
|
24
24
|
hasRawSessionMessageByIdFromDb2,
|
|
25
25
|
readRawSeedTailFromDb2,
|
|
26
26
|
readRawSessionBoundaryEndpointsFromDb2
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-7mm27xdc.js";
|
|
28
28
|
import"./index-399p688g.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-7ptxvfc5.js";
|
|
30
30
|
import"./index-x3dcnxh0.js";
|
|
31
31
|
import"./index-0h2mkab2.js";
|
|
32
32
|
export {
|
|
@@ -5,30 +5,30 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
8
|
+
} from "./index-8jpqq2yk.js";
|
|
9
|
+
import"./index-0ww9cgfd.js";
|
|
10
|
+
import"./index-a7fj661j.js";
|
|
11
|
+
import"./index-dj784nyr.js";
|
|
12
|
+
import"./index-0d8zqccx.js";
|
|
13
13
|
import"./index-9p40dgkm.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-8ye22z7k.js";
|
|
15
15
|
import"./index-yhzhdp3m.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-fhv6ydkq.js";
|
|
17
|
+
import"./index-6vjj0555.js";
|
|
18
|
+
import"./index-7mm27xdc.js";
|
|
19
19
|
import"./index-399p688g.js";
|
|
20
20
|
import"./index-gc2749rx.js";
|
|
21
21
|
import"./index-21v1kfs7.js";
|
|
22
22
|
import"./index-cyrnv16r.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-0eg59y8d.js";
|
|
24
24
|
import"./index-0j0zqb4t.js";
|
|
25
25
|
import"./index-135e8hvg.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-gqsfhksw.js";
|
|
27
|
+
import"./index-34zacc0h.js";
|
|
28
28
|
import"./index-8976mezv.js";
|
|
29
29
|
import"./index-mcgehvgw.js";
|
|
30
30
|
import"./index-0vrkp1jq.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-7ptxvfc5.js";
|
|
32
32
|
import"./index-r56xgha8.js";
|
|
33
33
|
import"./index-x3dcnxh0.js";
|
|
34
34
|
import"./index-0h2mkab2.js";
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
deleteMemory2,
|
|
32
32
|
getMemoryCount2,
|
|
33
33
|
getMemoryCountsByStatus2
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-dj784nyr.js";
|
|
35
35
|
import"./index-yhzhdp3m.js";
|
|
36
36
|
import"./index-135e8hvg.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-7ptxvfc5.js";
|
|
38
38
|
export {
|
|
39
39
|
COLUMN_MAP2 as COLUMN_MAP,
|
|
40
40
|
ModuleMemoryAuthorityError2 as ModuleMemoryAuthorityError,
|
|
@@ -58,9 +58,9 @@ import {
|
|
|
58
58
|
adoptNullOwnerToolTag2,
|
|
59
59
|
getCandidateToolOwners2,
|
|
60
60
|
pickNearestPriorOwner2
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-6vjj0555.js";
|
|
62
62
|
import"./index-mcgehvgw.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-7ptxvfc5.js";
|
|
64
64
|
import"./index-r56xgha8.js";
|
|
65
65
|
import"./index-x3dcnxh0.js";
|
|
66
66
|
import"./index-0h2mkab2.js";
|
package/dist/subagent-entry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TOKEN_BUDGET_TOOL_REFUSAL
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-fhv6ydkq.js";
|
|
4
4
|
import {
|
|
5
5
|
setHarness2
|
|
6
6
|
} from "./index-0h2mkab2.js";
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
} from "./index-x3dcnxh0.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectIdentityForSession
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-gqsfhksw.js";
|
|
13
13
|
import"./index-0j0zqb4t.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-7ptxvfc5.js";
|
|
15
15
|
import"./index-fapenpch.js";
|
|
16
16
|
import {
|
|
17
17
|
openDatabase
|
|
18
|
-
} from "./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
18
|
+
} from "./index-6q5mx0cz.js";
|
|
19
|
+
import"./index-34zacc0h.js";
|
|
20
|
+
import"./index-0eg59y8d.js";
|
|
21
21
|
import"./index-mcgehvgw.js";
|
|
22
22
|
import"./index-135e8hvg.js";
|
|
23
23
|
import"./index-8976mezv.js";
|
|
@@ -27,22 +27,22 @@ import {
|
|
|
27
27
|
ensureProjectRegisteredFromPiDirectory,
|
|
28
28
|
resolvePiHarnessKind,
|
|
29
29
|
registerMagicContextTools
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-mrsarsbh.js";
|
|
31
31
|
import"./index-cyrnv16r.js";
|
|
32
32
|
import"./index-21v1kfs7.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-8ye22z7k.js";
|
|
34
34
|
import"./index-gc2749rx.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-0d8zqccx.js";
|
|
36
36
|
import"./index-9p40dgkm.js";
|
|
37
37
|
import"./index-yhzhdp3m.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
38
|
+
import"./index-a7fj661j.js";
|
|
39
|
+
import"./index-0ww9cgfd.js";
|
|
40
|
+
import"./index-6vjj0555.js";
|
|
41
41
|
import"./index-399p688g.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
42
|
+
import"./index-7mm27xdc.js";
|
|
43
|
+
import"./index-8jpqq2yk.js";
|
|
44
|
+
import"./index-dj784nyr.js";
|
|
45
|
+
import"./index-dj8hpkz7.js";
|
|
46
46
|
import"./index-0vrkp1jq.js";
|
|
47
47
|
import {
|
|
48
48
|
setStoragePrivatePermissionEnforcement
|
package/package.json
CHANGED