@cortexkit/pi-magic-context 0.49.24 → 0.49.26
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 +4 -4
- package/dist/chunk-embedding-write-worker.js +6 -6
- package/dist/{compartment-chunk-embedding-g9a977b8.js → compartment-chunk-embedding-vt6afvdm.js} +3 -3
- package/dist/{embedding-backfill-qxzjy5v2.js → embedding-backfill-jc5fqt5s.js} +5 -5
- package/dist/{index-3c3ztwgc.js → index-0dr64gsy.js} +1 -1
- package/dist/{index-8976mezv.js → index-23t8ryqw.js} +148 -12
- package/dist/{index-hf01gtz7.js → index-87xm7z44.js} +6 -50
- package/dist/{index-wb2t932e.js → index-dnadppqx.js} +1 -1
- package/dist/{index-8a2wvrda.js → index-g0d51qzc.js} +1 -1
- package/dist/{index-faz8bw8b.js → index-kbswhkc8.js} +1 -1
- package/dist/{index-3jde7hdr.js → index-r1hvaza0.js} +4 -4
- package/dist/{index-byh4rfe7.js → index-rjnc6kkf.js} +17 -3
- package/dist/{index-nxq2srg9.js → index-w5v0ntbw.js} +1 -1
- package/dist/{index-ygzh9xdg.js → index-wpy2rzb2.js} +1 -1
- package/dist/{index-8hmqdav2.js → index-z24d75tz.js} +39 -6
- package/dist/{index-00c5a49f.js → index-z6k6jsmh.js} +1 -1
- package/dist/{index-fbrxezw0.js → index-zpmz6x24.js} +10 -10
- package/dist/{index-rk8xef10.js → index-zz7dnyh6.js} +5 -5
- package/dist/index.js +35 -25
- package/dist/{message-fts-rowid-map-1tb3qjtc.js → message-fts-rowid-map-xe3ss2g3.js} +2 -2
- package/dist/{message-index-bounded-hjat9176.js → message-index-bounded-2zffszp9.js} +6 -6
- package/dist/{message-index-esykp965.js → message-index-jv1m3g8d.js} +6 -6
- package/dist/migration-worker.js +5 -5
- package/dist/{project-embedding-registry-9e82qsb6.js → project-embedding-registry-bn9ts1h0.js} +4 -4
- package/dist/raw-ordinal-warmup-worker.js +6 -6
- package/dist/{read-session-chunk-tzvv1kph.js → read-session-chunk-p0cexvvs.js} +5 -3
- package/dist/{read-session-raw-napqv76k.js → read-session-raw-mq03ws9v.js} +3 -1
- package/dist/{search-archive-enx1vd9n.js → search-archive-jw2wm4tw.js} +4 -4
- package/dist/{search-n3yqng95.js → search-vmcbbwm5.js} +10 -10
- package/dist/subagent-entry.js +13 -13
- package/dist/tag-snapshot-worker-pi.js +6 -6
- package/package.json +1 -1
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
visitRawSessionMessages2,
|
|
68
68
|
readRawSessionMessageById2,
|
|
69
69
|
readSessionChunk2
|
|
70
|
-
} from "./index-
|
|
70
|
+
} from "./index-rjnc6kkf.js";
|
|
71
71
|
import {
|
|
72
72
|
isRecord,
|
|
73
73
|
providerVisibleMessage,
|
|
@@ -101,7 +101,6 @@ import {
|
|
|
101
101
|
isPidAlive
|
|
102
102
|
} from "./index-n4wyxcgr.js";
|
|
103
103
|
import {
|
|
104
|
-
BoundedSessionMap,
|
|
105
104
|
clearLkgFenceProcessState,
|
|
106
105
|
commitLkgWithRecoveryFence,
|
|
107
106
|
clearLkgRecoveryFence,
|
|
@@ -109,14 +108,15 @@ import {
|
|
|
109
108
|
V2StoreReader,
|
|
110
109
|
deleteSessionScopedRows,
|
|
111
110
|
getLastIndexedOrdinal2
|
|
112
|
-
} from "./index-
|
|
111
|
+
} from "./index-87xm7z44.js";
|
|
113
112
|
import {
|
|
113
|
+
BoundedSessionMap,
|
|
114
114
|
resolveOpenCodeDbPath,
|
|
115
115
|
assertOpenCodeStoreGeneration
|
|
116
|
-
} from "./index-
|
|
116
|
+
} from "./index-23t8ryqw.js";
|
|
117
117
|
import {
|
|
118
118
|
noteRawSessionSummaryRowWritten2
|
|
119
|
-
} from "./index-
|
|
119
|
+
} from "./index-z24d75tz.js";
|
|
120
120
|
import {
|
|
121
121
|
SubcClient,
|
|
122
122
|
connectionFileExists,
|
|
@@ -136,10 +136,10 @@ import {
|
|
|
136
136
|
unregisterProjectEmbedding2,
|
|
137
137
|
getProjectEmbeddingSnapshot2,
|
|
138
138
|
embedTextForProject2
|
|
139
|
-
} from "./index-
|
|
139
|
+
} from "./index-z6k6jsmh.js";
|
|
140
140
|
import {
|
|
141
141
|
getErrorMessage
|
|
142
|
-
} from "./index-
|
|
142
|
+
} from "./index-r1hvaza0.js";
|
|
143
143
|
import {
|
|
144
144
|
V2_MEMORY_CATEGORIES,
|
|
145
145
|
CATEGORY_PRIORITY,
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
expandWorkspaceIdentitySetWithAliases,
|
|
154
154
|
resolveStoredPathWorkspaceIdentity,
|
|
155
155
|
storedPathBelongsToWorkspace
|
|
156
|
-
} from "./index-
|
|
156
|
+
} from "./index-0dr64gsy.js";
|
|
157
157
|
import {
|
|
158
158
|
directoryHasGitMetadata,
|
|
159
159
|
resolveProjectIdentityForSession,
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
resolveMemoriesByIdsForSearch2,
|
|
176
176
|
unifiedSearch2,
|
|
177
177
|
formatSearchResults2
|
|
178
|
-
} from "./index-
|
|
178
|
+
} from "./index-zz7dnyh6.js";
|
|
179
179
|
import {
|
|
180
180
|
computeCueContentHash,
|
|
181
181
|
getMuralCueState,
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
} from "./index-6wdwv3a6.js";
|
|
207
207
|
import {
|
|
208
208
|
renderSearchArchive2
|
|
209
|
-
} from "./index-
|
|
209
|
+
} from "./index-kbswhkc8.js";
|
|
210
210
|
import {
|
|
211
211
|
computeNormalizedHash
|
|
212
212
|
} from "./index-9x1f96r8.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveStoredPathWorkspaceIdentity,
|
|
23
23
|
sourceNameForMemory,
|
|
24
24
|
managedAuthorityNoteRow
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-0dr64gsy.js";
|
|
26
26
|
import {
|
|
27
27
|
isKnownAutocommit
|
|
28
28
|
} from "./index-w1avzkdt.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
loadCompartmentChunkEmbeddingsForSearch2,
|
|
35
35
|
peekCompartmentChunkSearchPool2,
|
|
36
36
|
warmCompartmentChunkSearchPool2
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-dnadppqx.js";
|
|
38
38
|
import {
|
|
39
39
|
recordEmbeddingMeasurement,
|
|
40
40
|
saveCommitEmbedding,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
getProjectEmbeddingSnapshot2,
|
|
53
53
|
embedTextForProject2,
|
|
54
54
|
embedItemsForProject2
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-z6k6jsmh.js";
|
|
56
56
|
import {
|
|
57
57
|
saveEmbeddingIfHashMatches,
|
|
58
58
|
getProjectEmbeddings2
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
isEmbeddingEnabled,
|
|
63
63
|
embedText,
|
|
64
64
|
ensureMemoryEmbeddings2
|
|
65
|
-
} from "./index-
|
|
65
|
+
} from "./index-w5v0ntbw.js";
|
|
66
66
|
import {
|
|
67
67
|
getMemorySelectColumns2,
|
|
68
68
|
isMemoryRow2,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
keywordRelevance,
|
|
83
83
|
matchedSearchSnippet,
|
|
84
84
|
getIndexedMessageCorpusSize2
|
|
85
|
-
} from "./index-
|
|
85
|
+
} from "./index-87xm7z44.js";
|
|
86
86
|
import {
|
|
87
87
|
MESSAGE_FTS_SESSION_FILTER_SQL,
|
|
88
88
|
withMessageFtsSessionFilter
|
package/dist/index.js
CHANGED
|
@@ -251,7 +251,7 @@ import {
|
|
|
251
251
|
registerTodoStateLifecycle,
|
|
252
252
|
syncCtxMemoryToolEnabled,
|
|
253
253
|
registerMagicContextTools
|
|
254
|
-
} from "./index-
|
|
254
|
+
} from "./index-zpmz6x24.js";
|
|
255
255
|
import"./index-4knyh1kt.js";
|
|
256
256
|
import {
|
|
257
257
|
canonicalModelIdentity,
|
|
@@ -292,7 +292,7 @@ import {
|
|
|
292
292
|
openCurrentDatabase,
|
|
293
293
|
openDatabaseAsync,
|
|
294
294
|
closeDatabase
|
|
295
|
-
} from "./index-
|
|
295
|
+
} from "./index-r1hvaza0.js";
|
|
296
296
|
import {
|
|
297
297
|
pruneMissingProjectIdentities,
|
|
298
298
|
setHomeProjectPermission,
|
|
@@ -466,7 +466,7 @@ import {
|
|
|
466
466
|
getRawSessionTagKeysThrough2,
|
|
467
467
|
getLegacyProtectedTailStartOrdinal2,
|
|
468
468
|
readSessionChunk2
|
|
469
|
-
} from "./index-
|
|
469
|
+
} from "./index-rjnc6kkf.js";
|
|
470
470
|
import {
|
|
471
471
|
UNKNOWN_FIT_RATIO,
|
|
472
472
|
hasMeasuredDecisionCalibration,
|
|
@@ -592,7 +592,6 @@ import {
|
|
|
592
592
|
piHarnessKindFromExecutable
|
|
593
593
|
} from "./index-n4wyxcgr.js";
|
|
594
594
|
import {
|
|
595
|
-
BoundedSessionMap,
|
|
596
595
|
LkgRecoveryFenceError,
|
|
597
596
|
clearLkgFenceProcessState,
|
|
598
597
|
takeLkgRecoveryLockSweepPage,
|
|
@@ -617,15 +616,16 @@ import {
|
|
|
617
616
|
indexSingleMessage2,
|
|
618
617
|
indexMessagesAfterOrdinal2,
|
|
619
618
|
sweepOrphanedOpenCodeMessageIndexesCooperatively2
|
|
620
|
-
} from "./index-
|
|
619
|
+
} from "./index-87xm7z44.js";
|
|
621
620
|
import {
|
|
621
|
+
BoundedSessionMap,
|
|
622
622
|
resolveOpenCodeDbPath,
|
|
623
623
|
assertOpenCodeStoreGeneration,
|
|
624
624
|
openCodeDbPathExists,
|
|
625
625
|
recordOpenCodeDbReadFailure,
|
|
626
626
|
clearOpenCodeDbReadFailure,
|
|
627
627
|
claimOpenCodeDbDiagnosticOnce
|
|
628
|
-
} from "./index-
|
|
628
|
+
} from "./index-23t8ryqw.js";
|
|
629
629
|
import"./index-399p688g.js";
|
|
630
630
|
import {
|
|
631
631
|
createWorkerShutdown
|
|
@@ -633,11 +633,11 @@ import {
|
|
|
633
633
|
import {
|
|
634
634
|
runSessionWarmupWorker,
|
|
635
635
|
RAW_SUMMARY_TEXT_MAX_CHARS2
|
|
636
|
-
} from "./index-
|
|
636
|
+
} from "./index-z24d75tz.js";
|
|
637
637
|
import {
|
|
638
638
|
formatSynapseLaneDescriptor
|
|
639
639
|
} from "./index-gwxaz0z5.js";
|
|
640
|
-
import"./index-
|
|
640
|
+
import"./index-g0d51qzc.js";
|
|
641
641
|
import {
|
|
642
642
|
buildCanonicalChunkTextFromFts2,
|
|
643
643
|
buildCompartmentSummaryFallbackText2,
|
|
@@ -647,7 +647,7 @@ import {
|
|
|
647
647
|
replaceCompartmentChunkEmbeddings2,
|
|
648
648
|
deleteChunkEmbedBackoffForSession2,
|
|
649
649
|
chunkWindowSourceKey2
|
|
650
|
-
} from "./index-
|
|
650
|
+
} from "./index-dnadppqx.js";
|
|
651
651
|
import {
|
|
652
652
|
recordSessionProjectIdentity,
|
|
653
653
|
GIT_SWEEP_LEASE_RENEWAL_MS,
|
|
@@ -682,7 +682,7 @@ import {
|
|
|
682
682
|
embedSessionCompartmentChunks2,
|
|
683
683
|
getEmbeddingCoverageStatus2,
|
|
684
684
|
getAutoEmbeddingSessionCoverage2
|
|
685
|
-
} from "./index-
|
|
685
|
+
} from "./index-z6k6jsmh.js";
|
|
686
686
|
import {
|
|
687
687
|
rememberV1HiddenRun
|
|
688
688
|
} from "./index-6x556c2q.js";
|
|
@@ -697,7 +697,7 @@ import {
|
|
|
697
697
|
expandWorkspaceIdentitySetWithAliases,
|
|
698
698
|
sourceNameForMemory,
|
|
699
699
|
computeWorkspaceEpochFingerprint
|
|
700
|
-
} from "./index-
|
|
700
|
+
} from "./index-0dr64gsy.js";
|
|
701
701
|
import {
|
|
702
702
|
configureContextDatabasePragmas2
|
|
703
703
|
} from "./index-fapenpch.js";
|
|
@@ -747,7 +747,7 @@ import {
|
|
|
747
747
|
normalizeVerificationFiles,
|
|
748
748
|
indexCommitsForProject,
|
|
749
749
|
embedUnembeddedCommits
|
|
750
|
-
} from "./index-
|
|
750
|
+
} from "./index-zz7dnyh6.js";
|
|
751
751
|
import {
|
|
752
752
|
setEmbeddingSessionBusy2,
|
|
753
753
|
isEmbeddingHostBusy2
|
|
@@ -783,7 +783,7 @@ import {
|
|
|
783
783
|
} from "./index-wqpjhx1p.js";
|
|
784
784
|
import {
|
|
785
785
|
cosineSimilarity
|
|
786
|
-
} from "./index-
|
|
786
|
+
} from "./index-w5v0ntbw.js";
|
|
787
787
|
import"./index-6wdwv3a6.js";
|
|
788
788
|
import {
|
|
789
789
|
DREAMER_PRIMER_INVESTIGATOR_ALLOWED_TOOLS,
|
|
@@ -811,10 +811,10 @@ import {
|
|
|
811
811
|
drainPiTagSnapshotSession,
|
|
812
812
|
assertPiTagSnapshotReady,
|
|
813
813
|
ensurePiTagSnapshotReady
|
|
814
|
-
} from "./index-
|
|
814
|
+
} from "./index-wpy2rzb2.js";
|
|
815
815
|
import"./index-jn44h81p.js";
|
|
816
816
|
import"./index-1cvyaw9a.js";
|
|
817
|
-
import"./index-
|
|
817
|
+
import"./index-kbswhkc8.js";
|
|
818
818
|
import {
|
|
819
819
|
__toESM
|
|
820
820
|
} from "./index-22jkk6wg.js";
|
|
@@ -3556,7 +3556,7 @@ function startHostStallProfilerSwitch() {
|
|
|
3556
3556
|
// package.json
|
|
3557
3557
|
var package_default = {
|
|
3558
3558
|
name: "@cortexkit/pi-magic-context",
|
|
3559
|
-
version: "0.49.
|
|
3559
|
+
version: "0.49.26",
|
|
3560
3560
|
type: "module",
|
|
3561
3561
|
description: "Pi and OMP coding agent extension for Magic Context — cross-session memory and context management",
|
|
3562
3562
|
main: "dist/index.js",
|
|
@@ -43004,6 +43004,7 @@ function observePipelineResultForTests(sessionId, result) {
|
|
|
43004
43004
|
}
|
|
43005
43005
|
var variantChangeLogObserverForTests;
|
|
43006
43006
|
var beforePipelineForTests;
|
|
43007
|
+
var thinkingFitInputObserverForTests;
|
|
43007
43008
|
function logPiLkgRecovery(sessionId, message) {
|
|
43008
43009
|
lkgRecoveryLogObserverForTests?.(message);
|
|
43009
43010
|
sessionLog2(sessionId, message);
|
|
@@ -45190,15 +45191,7 @@ function registerPiContextHandler(pi, baseOptions) {
|
|
|
45190
45191
|
contextLimit: rawFallbackLimit,
|
|
45191
45192
|
forcePercentage: forceMaterializationPercentage
|
|
45192
45193
|
});
|
|
45193
|
-
|
|
45194
|
-
let inputForFitReclaim = nativeFitPossible ? inputForThinkingFit ?? structuredClone(event.messages) : undefined;
|
|
45195
|
-
if (fitInputStart !== undefined)
|
|
45196
|
-
recordPiTransformTiming({
|
|
45197
|
-
sessionId,
|
|
45198
|
-
stage: "fitInputPreparation",
|
|
45199
|
-
elapsedMs: performance.now() - fitInputStart,
|
|
45200
|
-
extra: inputForFitReclaim ? "snapshot" : "no-snapshot"
|
|
45201
|
-
});
|
|
45194
|
+
const fitPredictionMs = fitInputStart === undefined ? undefined : performance.now() - fitInputStart;
|
|
45202
45195
|
if (!options.compactionOff && !sessionMeta.isSubagent) {
|
|
45203
45196
|
let promptId = null;
|
|
45204
45197
|
for (let i = event.messages.length - 1;i >= 0; i--) {
|
|
@@ -45373,7 +45366,24 @@ function registerPiContextHandler(pi, baseOptions) {
|
|
|
45373
45366
|
logTransformTiming(sessionId, "historianScheduling", tHistorianScheduling);
|
|
45374
45367
|
};
|
|
45375
45368
|
pipelineArgs.evaluateHistorianBeforeReclaim = scheduleHistorian;
|
|
45369
|
+
const fitCopyStart = fitPredictionMs === undefined ? undefined : performance.now();
|
|
45370
|
+
let inputForThinkingFit = (getHarness2() !== "pi" || nativeFitPossible) && isPrefixBoundThinkingModel(ctx.model?.provider, ctx.model?.id) && pipelineArgs.signedThinkingHold === true ? structuredClone(event.messages) : null;
|
|
45371
|
+
let inputForFitReclaim = nativeFitPossible ? inputForThinkingFit ?? structuredClone(event.messages) : undefined;
|
|
45372
|
+
if (fitPredictionMs !== undefined && fitCopyStart !== undefined)
|
|
45373
|
+
recordPiTransformTiming({
|
|
45374
|
+
sessionId,
|
|
45375
|
+
stage: "fitInputPreparation",
|
|
45376
|
+
elapsedMs: fitPredictionMs + (performance.now() - fitCopyStart),
|
|
45377
|
+
extra: inputForFitReclaim ? "snapshot" : "no-snapshot"
|
|
45378
|
+
});
|
|
45376
45379
|
let result = await budget.waitMandatory(runPipeline(pipelineArgs));
|
|
45380
|
+
thinkingFitInputObserverForTests?.({
|
|
45381
|
+
sessionId,
|
|
45382
|
+
held: pipelineArgs.signedThinkingHold === true,
|
|
45383
|
+
strictThinkingKept: result.strictThinkingKept,
|
|
45384
|
+
thinkingCopy: inputForThinkingFit,
|
|
45385
|
+
fitReclaimCopy: inputForFitReclaim
|
|
45386
|
+
});
|
|
45377
45387
|
observePipelineResultForTests(sessionId, result);
|
|
45378
45388
|
logTransformTiming(sessionId, "runPipeline", tRunPipeline);
|
|
45379
45389
|
if (result.identityRebuilt || result.lkgFrozenReleaseReason)
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
messageFtsOrdinalRangeIsMapped2,
|
|
7
7
|
getMessageFtsRowidMapBackfillProgress2,
|
|
8
8
|
deleteUnmappedMessageFtsRows2
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-g0d51qzc.js";
|
|
10
|
+
import"./index-z24d75tz.js";
|
|
11
11
|
import"./index-399p688g.js";
|
|
12
12
|
import"./index-hqw0rt9k.js";
|
|
13
13
|
import"./index-2qtx0q6h.js";
|
|
@@ -13,20 +13,20 @@ import {
|
|
|
13
13
|
markMessageIndexDirty2,
|
|
14
14
|
getIndexableContent2,
|
|
15
15
|
indexSingleMessage2
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-87xm7z44.js";
|
|
17
17
|
import"./index-n8e5e9fp.js";
|
|
18
18
|
import"./index-my0dn413.js";
|
|
19
19
|
import"./index-w1avzkdt.js";
|
|
20
20
|
import"./index-ccanzg8p.js";
|
|
21
21
|
import"./index-399p688g.js";
|
|
22
22
|
import"./index-54wmg4rj.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
23
|
+
import"./index-z24d75tz.js";
|
|
24
|
+
import"./index-23t8ryqw.js";
|
|
25
|
+
import"./index-rjnc6kkf.js";
|
|
26
26
|
import"./index-6x556c2q.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-g0d51qzc.js";
|
|
28
28
|
import"./index-gwxaz0z5.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-dnadppqx.js";
|
|
30
30
|
import"./index-hqw0rt9k.js";
|
|
31
31
|
|
|
32
32
|
// ../plugin/src/features/magic-context/message-index-bounded.ts
|
|
@@ -17,18 +17,18 @@ import {
|
|
|
17
17
|
indexMessagesAfterOrdinal2,
|
|
18
18
|
indexSourcesAfterOrdinal2,
|
|
19
19
|
sweepOrphanedOpenCodeMessageIndexesCooperatively2
|
|
20
|
-
} from "./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
20
|
+
} from "./index-87xm7z44.js";
|
|
21
|
+
import"./index-dnadppqx.js";
|
|
22
|
+
import"./index-rjnc6kkf.js";
|
|
23
23
|
import"./index-n8e5e9fp.js";
|
|
24
24
|
import"./index-6x556c2q.js";
|
|
25
25
|
import"./index-gwxaz0z5.js";
|
|
26
26
|
import"./index-ccanzg8p.js";
|
|
27
27
|
import"./index-n4wyxcgr.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-g0d51qzc.js";
|
|
29
|
+
import"./index-23t8ryqw.js";
|
|
30
30
|
import"./index-w1avzkdt.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-z24d75tz.js";
|
|
32
32
|
import"./index-399p688g.js";
|
|
33
33
|
import"./index-hqw0rt9k.js";
|
|
34
34
|
import"./index-my0dn413.js";
|
package/dist/migration-worker.js
CHANGED
|
@@ -9,22 +9,22 @@ import {
|
|
|
9
9
|
import"./index-135e8hvg.js";
|
|
10
10
|
import {
|
|
11
11
|
runMigrationsWithRetry
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-0dr64gsy.js";
|
|
13
13
|
import {
|
|
14
14
|
closeQuietly
|
|
15
15
|
} from "./index-w1avzkdt.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-23t8ryqw.js";
|
|
17
17
|
import"./index-hxp6q5f8.js";
|
|
18
18
|
import"./index-n4wyxcgr.js";
|
|
19
19
|
import"./index-fapenpch.js";
|
|
20
20
|
import {
|
|
21
21
|
setSqlitePragmaConfig,
|
|
22
22
|
initializeDatabase
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-r1hvaza0.js";
|
|
24
24
|
import"./index-399p688g.js";
|
|
25
25
|
import"./index-54wmg4rj.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-z24d75tz.js";
|
|
27
|
+
import"./index-g0d51qzc.js";
|
|
28
28
|
import"./index-my0dn413.js";
|
|
29
29
|
import"./index-hqw0rt9k.js";
|
|
30
30
|
|
package/dist/{project-embedding-registry-9e82qsb6.js → project-embedding-registry-bn9ts1h0.js}
RENAMED
|
@@ -33,17 +33,17 @@ import {
|
|
|
33
33
|
sweepAllRegisteredProjects2,
|
|
34
34
|
_setTestProviderFactoryForProject2,
|
|
35
35
|
_resetProjectEmbeddingRegistryForTests2
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-z6k6jsmh.js";
|
|
37
37
|
import"./index-9p40dgkm.js";
|
|
38
38
|
import"./index-yhzhdp3m.js";
|
|
39
39
|
import"./index-j3pz3a1b.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-dnadppqx.js";
|
|
41
41
|
import"./index-wqpjhx1p.js";
|
|
42
42
|
import"./index-gwxaz0z5.js";
|
|
43
43
|
import"./index-ccanzg8p.js";
|
|
44
44
|
import"./index-hxp6q5f8.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
45
|
+
import"./index-g0d51qzc.js";
|
|
46
|
+
import"./index-z24d75tz.js";
|
|
47
47
|
import"./index-399p688g.js";
|
|
48
48
|
import"./index-hqw0rt9k.js";
|
|
49
49
|
import"./index-my0dn413.js";
|
|
@@ -30,7 +30,7 @@ async function main() {
|
|
|
30
30
|
{ log }
|
|
31
31
|
] = await Promise.all([
|
|
32
32
|
import("./sqlite-v89bj0yy.js"),
|
|
33
|
-
import("./read-session-raw-
|
|
33
|
+
import("./read-session-raw-mq03ws9v.js"),
|
|
34
34
|
import("./harness-9872e0ym.js"),
|
|
35
35
|
import("./logger-shetp43v.js")
|
|
36
36
|
]);
|
|
@@ -46,13 +46,13 @@ async function main() {
|
|
|
46
46
|
openConnections.add(db);
|
|
47
47
|
db.exec("PRAGMA busy_timeout = 250");
|
|
48
48
|
if (input.ftsRowidBackfill) {
|
|
49
|
-
const { runMessageFtsRowidMapBackfill } = await import("./message-fts-rowid-map-
|
|
49
|
+
const { runMessageFtsRowidMapBackfill } = await import("./message-fts-rowid-map-xe3ss2g3.js");
|
|
50
50
|
db.exec("PRAGMA busy_timeout = 0");
|
|
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-
|
|
55
|
-
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-
|
|
54
|
+
const { renderSearchArchive } = await import("./search-archive-jw2wm4tw.js");
|
|
55
|
+
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-mq03ws9v.js");
|
|
56
56
|
const archive = input.searchArchive;
|
|
57
57
|
let raw;
|
|
58
58
|
try {
|
|
@@ -84,7 +84,7 @@ async function main() {
|
|
|
84
84
|
{ configureContextDatabasePragmas }
|
|
85
85
|
] = await Promise.all([
|
|
86
86
|
import("./harness-9872e0ym.js"),
|
|
87
|
-
import("./message-index-
|
|
87
|
+
import("./message-index-jv1m3g8d.js"),
|
|
88
88
|
import("./sqlite-context-pragmas-gcgch6qz.js")
|
|
89
89
|
]);
|
|
90
90
|
setHarness(input.harness ?? "opencode");
|
|
@@ -104,7 +104,7 @@ async function main() {
|
|
|
104
104
|
const { setHarness } = await import("./harness-9872e0ym.js");
|
|
105
105
|
setHarness(input.harness ?? "opencode");
|
|
106
106
|
const [{ indexMessageInShortChunks }, { configureContextDatabasePragmas }] = await Promise.all([
|
|
107
|
-
import("./message-index-bounded-
|
|
107
|
+
import("./message-index-bounded-2zffszp9.js"),
|
|
108
108
|
import("./sqlite-context-pragmas-gcgch6qz.js")
|
|
109
109
|
]);
|
|
110
110
|
configureContextDatabasePragmas(db);
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
readRawSessionBoundaryEndpoints2,
|
|
26
26
|
hasRawSessionMessageById2,
|
|
27
27
|
readRawSessionMessageOrdinalById2,
|
|
28
|
+
resolveHistorianChunkStart2,
|
|
28
29
|
compareRawSessionMessageOrder2,
|
|
29
30
|
readRawSessionMessageById2,
|
|
30
31
|
getRawSessionMessageCount2,
|
|
@@ -35,13 +36,13 @@ import {
|
|
|
35
36
|
readSessionChunk2,
|
|
36
37
|
getRawSessionMessageIdsThrough2,
|
|
37
38
|
readRawSessionSeedTail2
|
|
38
|
-
} from "./index-
|
|
39
|
+
} from "./index-rjnc6kkf.js";
|
|
39
40
|
import"./index-n8e5e9fp.js";
|
|
40
41
|
import"./index-6x556c2q.js";
|
|
41
42
|
import"./index-ccanzg8p.js";
|
|
42
|
-
import"./index-
|
|
43
|
+
import"./index-23t8ryqw.js";
|
|
43
44
|
import"./index-w1avzkdt.js";
|
|
44
|
-
import"./index-
|
|
45
|
+
import"./index-z24d75tz.js";
|
|
45
46
|
import"./index-399p688g.js";
|
|
46
47
|
import"./index-hqw0rt9k.js";
|
|
47
48
|
import {
|
|
@@ -84,6 +85,7 @@ export {
|
|
|
84
85
|
readRawSessionMessages2 as readRawSessionMessages,
|
|
85
86
|
readRawSessionSeedTail2 as readRawSessionSeedTail,
|
|
86
87
|
readSessionChunk2 as readSessionChunk,
|
|
88
|
+
resolveHistorianChunkStart2 as resolveHistorianChunkStart,
|
|
87
89
|
resolveHostServedBoundaryId2 as resolveHostServedBoundaryId,
|
|
88
90
|
setBoundedRawMessageProvider2 as setBoundedRawMessageProvider,
|
|
89
91
|
setRawMessageProvider2 as setRawMessageProvider,
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
noteRawSessionSummaryRowWritten2,
|
|
19
19
|
RawOrdinalsNotReady2,
|
|
20
20
|
rawOrdinalSummarySeed2,
|
|
21
|
+
dropRawSessionOrdinalCheckpoints2,
|
|
21
22
|
scanRawSessionSummaryRows2,
|
|
22
23
|
getRawSessionSummaryEpoch2,
|
|
23
24
|
installRawSessionSummaryScan2,
|
|
@@ -27,7 +28,7 @@ import {
|
|
|
27
28
|
hasRawSessionMessageByIdFromDb2,
|
|
28
29
|
readRawSeedTailFromDb2,
|
|
29
30
|
readRawSessionBoundaryEndpointsFromDb2
|
|
30
|
-
} from "./index-
|
|
31
|
+
} from "./index-z24d75tz.js";
|
|
31
32
|
import"./index-399p688g.js";
|
|
32
33
|
import"./index-2qtx0q6h.js";
|
|
33
34
|
import"./index-fgs78jyd.js";
|
|
@@ -40,6 +41,7 @@ export {
|
|
|
40
41
|
buildInMemoryTailRawMessages2 as buildInMemoryTailRawMessages,
|
|
41
42
|
countRawSessionMessageOrdinalsFromDb2 as countRawSessionMessageOrdinalsFromDb,
|
|
42
43
|
countStoredRawSessionMessagesFromDb2 as countStoredRawSessionMessagesFromDb,
|
|
44
|
+
dropRawSessionOrdinalCheckpoints2 as dropRawSessionOrdinalCheckpoints,
|
|
43
45
|
forgetRawSessionOrdinalWatermark2 as forgetRawSessionOrdinalWatermark,
|
|
44
46
|
forgetRawSessionSummaryRows2 as forgetRawSessionSummaryRows,
|
|
45
47
|
getRawSessionSummaryEpoch2 as getRawSessionSummaryEpoch,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderSearchArchive2
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-kbswhkc8.js";
|
|
4
4
|
import"./index-1cvyaw9a.js";
|
|
5
|
-
import"./index-
|
|
5
|
+
import"./index-rjnc6kkf.js";
|
|
6
6
|
import"./index-n8e5e9fp.js";
|
|
7
7
|
import"./index-6x556c2q.js";
|
|
8
8
|
import"./index-ccanzg8p.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-23t8ryqw.js";
|
|
10
10
|
import"./index-w1avzkdt.js";
|
|
11
|
-
import"./index-
|
|
11
|
+
import"./index-z24d75tz.js";
|
|
12
12
|
import"./index-399p688g.js";
|
|
13
13
|
import"./index-hqw0rt9k.js";
|
|
14
14
|
import"./index-my0dn413.js";
|
|
@@ -5,30 +5,30 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-zz7dnyh6.js";
|
|
9
9
|
import"./index-1cvyaw9a.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
import"./index-87xm7z44.js";
|
|
11
|
+
import"./index-w5v0ntbw.js";
|
|
12
|
+
import"./index-z6k6jsmh.js";
|
|
13
13
|
import"./index-9p40dgkm.js";
|
|
14
14
|
import"./index-29nw7n1r.js";
|
|
15
15
|
import"./index-yhzhdp3m.js";
|
|
16
16
|
import"./index-j3pz3a1b.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
import"./index-dnadppqx.js";
|
|
18
|
+
import"./index-rjnc6kkf.js";
|
|
19
19
|
import"./index-n8e5e9fp.js";
|
|
20
20
|
import"./index-6x556c2q.js";
|
|
21
21
|
import"./index-wqpjhx1p.js";
|
|
22
22
|
import"./index-gwxaz0z5.js";
|
|
23
23
|
import"./index-ccanzg8p.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-0dr64gsy.js";
|
|
25
25
|
import"./index-n4wyxcgr.js";
|
|
26
26
|
import"./index-hxp6q5f8.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-g0d51qzc.js";
|
|
28
28
|
import"./index-135e8hvg.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-23t8ryqw.js";
|
|
30
30
|
import"./index-w1avzkdt.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-z24d75tz.js";
|
|
32
32
|
import"./index-399p688g.js";
|
|
33
33
|
import"./index-hqw0rt9k.js";
|
|
34
34
|
import"./index-my0dn413.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-rjnc6kkf.js";
|
|
4
4
|
import {
|
|
5
5
|
setHarness2
|
|
6
6
|
} from "./index-0h2mkab2.js";
|
|
@@ -15,15 +15,15 @@ import"./index-n4wyxcgr.js";
|
|
|
15
15
|
import"./index-fapenpch.js";
|
|
16
16
|
import {
|
|
17
17
|
openDatabase
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-r1hvaza0.js";
|
|
19
19
|
import"./index-399p688g.js";
|
|
20
20
|
import"./index-54wmg4rj.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
21
|
+
import"./index-z24d75tz.js";
|
|
22
|
+
import"./index-g0d51qzc.js";
|
|
23
|
+
import"./index-0dr64gsy.js";
|
|
24
24
|
import"./index-w1avzkdt.js";
|
|
25
25
|
import"./index-135e8hvg.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-23t8ryqw.js";
|
|
27
27
|
import"./index-my0dn413.js";
|
|
28
28
|
import"./index-4knyh1kt.js";
|
|
29
29
|
import {
|
|
@@ -31,22 +31,22 @@ import {
|
|
|
31
31
|
ensureProjectRegisteredFromPiDirectory,
|
|
32
32
|
resolvePiHarnessKind,
|
|
33
33
|
registerMagicContextTools
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-zpmz6x24.js";
|
|
35
35
|
import"./index-ccanzg8p.js";
|
|
36
36
|
import"./index-gwxaz0z5.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-dnadppqx.js";
|
|
38
38
|
import"./index-wqpjhx1p.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-z6k6jsmh.js";
|
|
40
40
|
import"./index-9p40dgkm.js";
|
|
41
41
|
import"./index-j3pz3a1b.js";
|
|
42
42
|
import"./index-yhzhdp3m.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
43
|
+
import"./index-w5v0ntbw.js";
|
|
44
|
+
import"./index-87xm7z44.js";
|
|
45
45
|
import"./index-n8e5e9fp.js";
|
|
46
46
|
import"./index-6x556c2q.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-zz7dnyh6.js";
|
|
48
48
|
import"./index-1cvyaw9a.js";
|
|
49
|
-
import"./index-
|
|
49
|
+
import"./index-kbswhkc8.js";
|
|
50
50
|
import"./index-29nw7n1r.js";
|
|
51
51
|
import"./index-6wdwv3a6.js";
|
|
52
52
|
import"./index-hqw0rt9k.js";
|