@cortexkit/opencode-magic-context 0.49.31 → 0.49.33
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 +1 -1
- package/dist/{compartment-chunk-embedding-qgp0tbf7.js → compartment-chunk-embedding-5q5gj67r.js} +1 -1
- package/dist/{context-9a0f8mzh.js → context-jyzkstnr.js} +17 -10
- package/dist/{embedding-backfill-mms9nb0h.js → embedding-backfill-0jgtqxen.js} +3 -3
- package/dist/features/magic-context/chunk-scope-repair-revision.d.ts +4 -0
- package/dist/features/magic-context/chunk-scope-repair-revision.d.ts.map +1 -0
- package/dist/features/magic-context/compartment-chunk-embedding.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-gates.d.ts +2 -0
- package/dist/features/magic-context/dreamer/task-gates.d.ts.map +1 -1
- package/dist/features/magic-context/message-index-async.d.ts +3 -0
- package/dist/features/magic-context/message-index-async.d.ts.map +1 -1
- package/dist/features/magic-context/project-embedding-registry.d.ts.map +1 -1
- package/dist/features/magic-context/request-tool-definitions.d.ts +25 -0
- package/dist/features/magic-context/request-tool-definitions.d.ts.map +1 -0
- package/dist/features/magic-context/search.d.ts.map +1 -1
- package/dist/hooks/magic-context/apply-operations.d.ts +1 -1
- package/dist/hooks/magic-context/apply-operations.d.ts.map +1 -1
- package/dist/hooks/magic-context/auto-search-branch-index.fixture.d.ts +2 -0
- package/dist/hooks/magic-context/auto-search-branch-index.fixture.d.ts.map +1 -0
- package/dist/hooks/magic-context/auto-search-worker-client.d.ts.map +1 -1
- package/dist/hooks/magic-context/command-handler.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-render-epoch.d.ts +7 -0
- package/dist/hooks/magic-context/compartment-render-epoch.d.ts.map +1 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts +7 -2
- package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts +1 -0
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-gxkhzmjq.js → index-2743x98y.js} +65 -2
- package/dist/{index-kmayq4kq.js → index-2xh37qn5.js} +89 -11
- package/dist/{index-22e7khnr.js → index-3fkk2gwj.js} +57 -372
- package/dist/{index-0bjktrjt.js → index-43vqx0za.js} +2 -2
- package/dist/index-94ef0qe2.js +429 -0
- package/dist/{index-pe6b4bhs.js → index-as2amvn3.js} +1 -1
- package/dist/{index-qathsvz2.js → index-b7w46fp2.js} +16 -4
- package/dist/{index-y6ynjghv.js → index-dq5xzeb9.js} +2 -2
- package/dist/{index-vtz789ex.js → index-qr2mb02j.js} +16 -5
- package/dist/{index-vnn5405n.js → index-rfxzazzy.js} +1 -1
- package/dist/{index-mm93m7y6.js → index-v7287tzq.js} +47 -7
- package/dist/index.js +16 -14
- package/dist/plugin/rpc-handlers.d.ts.map +1 -1
- package/dist/{project-embedding-registry-cg281d9j.js → project-embedding-registry-6yex0r9f.js} +2 -2
- package/dist/{recomp-orchestrator-ynehxbya.js → recomp-orchestrator-skqzzvby.js} +6 -6
- package/dist/{search-fbaz1m8r.js → search-040pac3a.js} +6 -5
- package/dist/{transform-postprocess-phase-50h70ft8.js → transform-postprocess-phase-zx1peqma.js} +7 -6
- package/dist/v2/auto-search-worker.js +4 -4
- package/dist/v2/chunk-embedding-write-worker.js +1 -1
- package/dist/v2/{compartment-chunk-embedding-63dzs31c.js → compartment-chunk-embedding-rc31e6md.js} +1 -1
- package/dist/v2/{context-cdqw9jex.js → context-3c4z2wj5.js} +82 -264
- package/dist/v2/{embedding-backfill-35k6czrr.js → embedding-backfill-f43hd8y6.js} +3 -3
- package/dist/v2/hooks/context.d.ts +3 -3
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/{project-embedding-registry-p1p10ks7.js → project-embedding-registry-1x5qe2fy.js} +2 -2
- package/dist/v2/{recomp-orchestrator-kdxr4tx8.js → recomp-orchestrator-qfqdvbta.js} +5 -5
- package/dist/v2/{search-q3jjw6zp.js → search-q3wkpe8t.js} +5 -5
- package/dist/v2/{server-p0snacz3.js → server-2aasmpsp.js} +1 -1
- package/dist/v2/{server-zh3esb0z.js → server-ab8017gw.js} +65 -2
- package/dist/v2/{server-rdjgz95f.js → server-aqbm9c8d.js} +113 -35
- package/dist/v2/{server-4sn3at8p.js → server-h1byrhwx.js} +47 -7
- package/dist/v2/{server-42nebt63.js → server-n14edf07.js} +336 -25
- package/dist/v2/{server-ph300d6m.js → server-tkdabx8q.js} +1 -1
- package/dist/v2/server.js +2 -2
- package/dist/v2/{wrapup-orchestrator-prfvyqbb.js → wrapup-orchestrator-ga5vfmwr.js} +5 -5
- package/dist/{wrapup-orchestrator-4zhkcsz0.js → wrapup-orchestrator-dy8r3gp8.js} +7 -7
- package/package.json +1 -1
|
@@ -72,6 +72,7 @@ import {
|
|
|
72
72
|
pluginConfigReader,
|
|
73
73
|
currentPluginConfigReader,
|
|
74
74
|
withLiveDreamerOutputCap,
|
|
75
|
+
v2ToolDefinitionsHash,
|
|
75
76
|
acquireCompartmentLease,
|
|
76
77
|
releaseCompartmentLeaseBestEffort,
|
|
77
78
|
isCompartmentLeaseHeld,
|
|
@@ -304,7 +305,7 @@ import {
|
|
|
304
305
|
startCompartmentAgent,
|
|
305
306
|
setRecompStarting2,
|
|
306
307
|
setRecompTerminal2
|
|
307
|
-
} from "./server-
|
|
308
|
+
} from "./server-aqbm9c8d.js";
|
|
308
309
|
import {
|
|
309
310
|
resolveHistorianModel2
|
|
310
311
|
} from "./server-5kym00ag.js";
|
|
@@ -712,13 +713,34 @@ import {
|
|
|
712
713
|
import {
|
|
713
714
|
cleanSearchText,
|
|
714
715
|
matchedSearchSnippet,
|
|
715
|
-
getLastIndexedOrdinal
|
|
716
|
-
getMessageIndexReconciliationStartOrdinal,
|
|
717
|
-
isMessageIndexReconciledThrough,
|
|
718
|
-
clearIndexedMessages,
|
|
719
|
-
indexMessagesAfterOrdinal
|
|
716
|
+
getLastIndexedOrdinal
|
|
720
717
|
} from "./server-hwag0khr.js";
|
|
721
718
|
import"./server-awr8qa4c.js";
|
|
719
|
+
import {
|
|
720
|
+
getMessageIndexEpoch,
|
|
721
|
+
isMessageIndexSearchable,
|
|
722
|
+
scheduleReconciliation,
|
|
723
|
+
scheduleClearAndReindex,
|
|
724
|
+
getMessageIndexQueueHeapStats,
|
|
725
|
+
renderSingleStoreMigrationRequiredRefusal,
|
|
726
|
+
SingleStoreMigrationRequiredError,
|
|
727
|
+
singleStoreMigrationRequiredFailure,
|
|
728
|
+
projectNeedsSingleStoreMigration,
|
|
729
|
+
STORE_AHEAD_OF_BINARY_CODE,
|
|
730
|
+
storeAheadOfBinaryFailure,
|
|
731
|
+
TRANSFORM_PAGE_UPLOAD_TIMEOUT_MS,
|
|
732
|
+
transformColdStartExecuteTimeoutMs,
|
|
733
|
+
getDefaultSubcConnectionFile,
|
|
734
|
+
isModuleTransportGenerationChangedResult,
|
|
735
|
+
SubcModuleTransport,
|
|
736
|
+
indexCommitsForProject,
|
|
737
|
+
embedUnembeddedCommits,
|
|
738
|
+
createUnifiedSearchDiagnostics2,
|
|
739
|
+
parseIdShapedQuery2,
|
|
740
|
+
resolveMemoriesByIdsForSearch2,
|
|
741
|
+
unifiedSearch2,
|
|
742
|
+
formatSearchResults2
|
|
743
|
+
} from "./server-n14edf07.js";
|
|
722
744
|
import {
|
|
723
745
|
embedPauseBySession,
|
|
724
746
|
embedRunStateBySession,
|
|
@@ -748,7 +770,7 @@ import {
|
|
|
748
770
|
embedSessionCompartmentChunks2,
|
|
749
771
|
getEmbeddingCoverageStatus2,
|
|
750
772
|
getAutoEmbeddingSessionCoverage2
|
|
751
|
-
} from "./server-
|
|
773
|
+
} from "./server-ab8017gw.js";
|
|
752
774
|
import {
|
|
753
775
|
SubcClient,
|
|
754
776
|
connectionFileExists,
|
|
@@ -759,7 +781,7 @@ import {
|
|
|
759
781
|
} from "./server-ab1g0wn9.js";
|
|
760
782
|
import {
|
|
761
783
|
deleteChunkEmbedBackoffForSession2
|
|
762
|
-
} from "./server-
|
|
784
|
+
} from "./server-h1byrhwx.js";
|
|
763
785
|
import {
|
|
764
786
|
registerOwnRpcServerInstance,
|
|
765
787
|
rpcPortDir,
|
|
@@ -825,7 +847,7 @@ import {
|
|
|
825
847
|
readGitFileChangeTimesSince,
|
|
826
848
|
verificationFileExists,
|
|
827
849
|
normalizeVerificationFiles
|
|
828
|
-
} from "./server-
|
|
850
|
+
} from "./server-tkdabx8q.js";
|
|
829
851
|
import {
|
|
830
852
|
deriveTriggerBudget2,
|
|
831
853
|
deriveHistorianChunkTokens2,
|
|
@@ -859,7 +881,7 @@ import {
|
|
|
859
881
|
} from "./server-vr4szghm.js";
|
|
860
882
|
import {
|
|
861
883
|
cosineSimilarity
|
|
862
|
-
} from "./server-
|
|
884
|
+
} from "./server-2aasmpsp.js";
|
|
863
885
|
import {
|
|
864
886
|
computeCueContentHash,
|
|
865
887
|
hasMuralCueColumns,
|
|
@@ -897,26 +919,6 @@ import {
|
|
|
897
919
|
flushIgnoredMessages2,
|
|
898
920
|
sendStatusNotification2
|
|
899
921
|
} from "./server-qc915kw2.js";
|
|
900
|
-
import {
|
|
901
|
-
renderSingleStoreMigrationRequiredRefusal,
|
|
902
|
-
SingleStoreMigrationRequiredError,
|
|
903
|
-
singleStoreMigrationRequiredFailure,
|
|
904
|
-
projectNeedsSingleStoreMigration,
|
|
905
|
-
STORE_AHEAD_OF_BINARY_CODE,
|
|
906
|
-
storeAheadOfBinaryFailure,
|
|
907
|
-
TRANSFORM_PAGE_UPLOAD_TIMEOUT_MS,
|
|
908
|
-
transformColdStartExecuteTimeoutMs,
|
|
909
|
-
getDefaultSubcConnectionFile,
|
|
910
|
-
isModuleTransportGenerationChangedResult,
|
|
911
|
-
SubcModuleTransport,
|
|
912
|
-
indexCommitsForProject,
|
|
913
|
-
embedUnembeddedCommits,
|
|
914
|
-
createUnifiedSearchDiagnostics2,
|
|
915
|
-
parseIdShapedQuery2,
|
|
916
|
-
resolveMemoriesByIdsForSearch2,
|
|
917
|
-
unifiedSearch2,
|
|
918
|
-
formatSearchResults2
|
|
919
|
-
} from "./server-42nebt63.js";
|
|
920
922
|
import {
|
|
921
923
|
resolvePromptContext2
|
|
922
924
|
} from "./server-fmsr7v69.js";
|
|
@@ -1739,234 +1741,6 @@ function summarizeManualDream(summary) {
|
|
|
1739
1741
|
`);
|
|
1740
1742
|
}
|
|
1741
1743
|
|
|
1742
|
-
// src/features/magic-context/message-index-async.ts
|
|
1743
|
-
var indexCancellations = new Map;
|
|
1744
|
-
var sessionEpochs = new Map;
|
|
1745
|
-
var workerMeasurements = new WeakMap;
|
|
1746
|
-
function isDatabaseLockedError(error) {
|
|
1747
|
-
if (!error || typeof error !== "object")
|
|
1748
|
-
return false;
|
|
1749
|
-
const e = error;
|
|
1750
|
-
if (typeof e.code === "string") {
|
|
1751
|
-
if (e.code === "SQLITE_BUSY" || e.code === "SQLITE_LOCKED")
|
|
1752
|
-
return true;
|
|
1753
|
-
}
|
|
1754
|
-
if (typeof e.message === "string") {
|
|
1755
|
-
if (/database is locked/i.test(e.message))
|
|
1756
|
-
return true;
|
|
1757
|
-
if (/sqlite_(busy|locked)/i.test(e.message))
|
|
1758
|
-
return true;
|
|
1759
|
-
}
|
|
1760
|
-
return false;
|
|
1761
|
-
}
|
|
1762
|
-
var RECONCILIATION_BATCH_SIZE = 100;
|
|
1763
|
-
|
|
1764
|
-
class MagicContextMessageIndexHeapHolder {
|
|
1765
|
-
reconciledSessions = new Set;
|
|
1766
|
-
reconciledSnapshots = new Map;
|
|
1767
|
-
stalledSessions = new Set;
|
|
1768
|
-
reconciliationScheduledSessions = new Set;
|
|
1769
|
-
clearAndReindexScheduledSessions = new Map;
|
|
1770
|
-
sessionLocks = new Map;
|
|
1771
|
-
incrementalTimers = new Map;
|
|
1772
|
-
pendingIncrementalKeys = new Set;
|
|
1773
|
-
completedIncrementalKeys = new Set;
|
|
1774
|
-
activeReconcilerBuffers = new Map;
|
|
1775
|
-
}
|
|
1776
|
-
var heapHolder = new MagicContextMessageIndexHeapHolder;
|
|
1777
|
-
function clearCompletedIncrementalKeys(sessionId) {
|
|
1778
|
-
const prefix = `${sessionId}\x00`;
|
|
1779
|
-
for (const key of heapHolder.completedIncrementalKeys) {
|
|
1780
|
-
if (key.startsWith(prefix))
|
|
1781
|
-
heapHolder.completedIncrementalKeys.delete(key);
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
var PREPARE_RETRY_MS = 60000;
|
|
1785
|
-
async function sourceReady(source, sessionId) {
|
|
1786
|
-
const prepare = source?.prepare;
|
|
1787
|
-
return typeof prepare === "function" ? prepare(sessionId) : true;
|
|
1788
|
-
}
|
|
1789
|
-
function defer(fn) {
|
|
1790
|
-
const immediate = globalThis.setImmediate;
|
|
1791
|
-
if (typeof immediate === "function") {
|
|
1792
|
-
inRootAsyncContext2(() => immediate(fn));
|
|
1793
|
-
return;
|
|
1794
|
-
}
|
|
1795
|
-
inRootAsyncContext2(() => setTimeout(fn, 0));
|
|
1796
|
-
}
|
|
1797
|
-
function yieldToEventLoop() {
|
|
1798
|
-
return new Promise((resolve) => defer(resolve));
|
|
1799
|
-
}
|
|
1800
|
-
function runWithSessionLock(sessionId, operation) {
|
|
1801
|
-
const previous = heapHolder.sessionLocks.get(sessionId) ?? Promise.resolve();
|
|
1802
|
-
const run = previous.catch(() => {
|
|
1803
|
-
return;
|
|
1804
|
-
}).then(async () => {
|
|
1805
|
-
await operation();
|
|
1806
|
-
});
|
|
1807
|
-
heapHolder.sessionLocks.set(sessionId, run);
|
|
1808
|
-
run.finally(() => {
|
|
1809
|
-
if (heapHolder.sessionLocks.get(sessionId) === run) {
|
|
1810
|
-
heapHolder.sessionLocks.delete(sessionId);
|
|
1811
|
-
}
|
|
1812
|
-
}).catch(() => {
|
|
1813
|
-
return;
|
|
1814
|
-
});
|
|
1815
|
-
return run;
|
|
1816
|
-
}
|
|
1817
|
-
function logIndexingError(sessionId, action, error) {
|
|
1818
|
-
if (isDatabaseLockedError(error)) {
|
|
1819
|
-
sessionLog2(sessionId, `message FTS async ${action} skipped (database busy; will retry on next reconciliation)`);
|
|
1820
|
-
return;
|
|
1821
|
-
}
|
|
1822
|
-
sessionLog2(sessionId, `message FTS async ${action} failed: ${error instanceof Error ? error.message : String(error)}`);
|
|
1823
|
-
log2(`[message-index-async] ${action} failed for ${sessionId}:`, error);
|
|
1824
|
-
}
|
|
1825
|
-
function serializedMessageBytes(messages) {
|
|
1826
|
-
try {
|
|
1827
|
-
return Buffer.byteLength(JSON.stringify(messages));
|
|
1828
|
-
} catch {
|
|
1829
|
-
return 0;
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
function logReconciliationStall(sessionId, reason) {
|
|
1833
|
-
if (heapHolder.stalledSessions.has(sessionId))
|
|
1834
|
-
return;
|
|
1835
|
-
heapHolder.stalledSessions.add(sessionId);
|
|
1836
|
-
sessionLog2(sessionId, `message FTS reconciliation stalled: ${reason}; will retry`);
|
|
1837
|
-
}
|
|
1838
|
-
async function reconcileSessionIndex(db, sessionId, readMessages) {
|
|
1839
|
-
if (!await sourceReady(readMessages, sessionId)) {
|
|
1840
|
-
logReconciliationStall(sessionId, "raw message reader is not ready");
|
|
1841
|
-
return false;
|
|
1842
|
-
}
|
|
1843
|
-
await runWithSessionLock(sessionId, async () => {
|
|
1844
|
-
if (!readMessages.getRevision && heapHolder.reconciledSessions.has(sessionId))
|
|
1845
|
-
return;
|
|
1846
|
-
let fallbackSnapshot = null;
|
|
1847
|
-
try {
|
|
1848
|
-
const fullReader = typeof readMessages === "function" ? readMessages : null;
|
|
1849
|
-
const revision = readMessages.getRevision?.(sessionId);
|
|
1850
|
-
const previous = heapHolder.reconciledSnapshots.get(sessionId);
|
|
1851
|
-
const finalWatermark = previous && revision === previous.revision ? previous.count : revision !== undefined && readMessages.getCountAfterRevision ? previous && revision > previous.revision ? previous.count + readMessages.getCountAfterRevision(sessionId, previous.revision, revision) : readMessages.getCountAfterRevision(sessionId, -1, revision) : readMessages.getCount ? readMessages.getCount(sessionId) : (fallbackSnapshot = fullReader?.(sessionId) ?? []).length;
|
|
1852
|
-
let cursor = getMessageIndexReconciliationStartOrdinal(db, sessionId);
|
|
1853
|
-
let after = cursor === previous?.count ? previous.after : undefined;
|
|
1854
|
-
while (cursor < finalWatermark) {
|
|
1855
|
-
const pageEnd = Math.min(finalWatermark, cursor + RECONCILIATION_BATCH_SIZE);
|
|
1856
|
-
const messages = readMessages.readPage ? readMessages.readPage(sessionId, cursor, RECONCILIATION_BATCH_SIZE, finalWatermark, after) : (fallbackSnapshot ?? []).filter((message) => message.ordinal > cursor && message.ordinal <= pageEnd);
|
|
1857
|
-
const retainedMessages = fallbackSnapshot ?? messages;
|
|
1858
|
-
heapHolder.activeReconcilerBuffers.set(sessionId, retainedMessages);
|
|
1859
|
-
withSqliteBackgroundWriter2(() => indexMessagesAfterOrdinal(db, sessionId, messages, cursor, pageEnd));
|
|
1860
|
-
const nextCursor = getMessageIndexReconciliationStartOrdinal(db, sessionId);
|
|
1861
|
-
if (nextCursor <= cursor)
|
|
1862
|
-
break;
|
|
1863
|
-
cursor = nextCursor;
|
|
1864
|
-
const last = messages.at(-1);
|
|
1865
|
-
after = last?.ordinal === cursor && typeof last.createdAt === "number" ? { timeCreated: last.createdAt, id: last.id } : undefined;
|
|
1866
|
-
if (cursor < finalWatermark) {
|
|
1867
|
-
await yieldToEventLoop();
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
if (isMessageIndexReconciledThrough(db, sessionId, finalWatermark)) {
|
|
1871
|
-
heapHolder.reconciledSessions.add(sessionId);
|
|
1872
|
-
if (revision !== undefined) {
|
|
1873
|
-
if (!after && finalWatermark > 0 && readMessages.readPage) {
|
|
1874
|
-
const last = readMessages.readPage(sessionId, finalWatermark - 1, 1, finalWatermark).at(-1);
|
|
1875
|
-
if (last?.ordinal === finalWatermark && typeof last.createdAt === "number")
|
|
1876
|
-
after = { timeCreated: last.createdAt, id: last.id };
|
|
1877
|
-
}
|
|
1878
|
-
heapHolder.reconciledSnapshots.set(sessionId, {
|
|
1879
|
-
revision,
|
|
1880
|
-
count: finalWatermark,
|
|
1881
|
-
after
|
|
1882
|
-
});
|
|
1883
|
-
}
|
|
1884
|
-
} else {
|
|
1885
|
-
logReconciliationStall(sessionId, `gap after ordinal ${cursor} (store count ${finalWatermark})`);
|
|
1886
|
-
}
|
|
1887
|
-
} finally {
|
|
1888
|
-
heapHolder.activeReconcilerBuffers.delete(sessionId);
|
|
1889
|
-
}
|
|
1890
|
-
});
|
|
1891
|
-
return true;
|
|
1892
|
-
}
|
|
1893
|
-
function scheduleReconciliation(db, sessionId, readMessages) {
|
|
1894
|
-
if (!readMessages.getRevision && heapHolder.reconciledSessions.has(sessionId) || heapHolder.reconciliationScheduledSessions.has(sessionId)) {
|
|
1895
|
-
return;
|
|
1896
|
-
}
|
|
1897
|
-
heapHolder.reconciliationScheduledSessions.add(sessionId);
|
|
1898
|
-
scheduleAfterBootQuiet(() => {
|
|
1899
|
-
defer(() => {
|
|
1900
|
-
let appendedDuringReconciliation = false;
|
|
1901
|
-
const previousSnapshot = heapHolder.reconciledSnapshots.get(sessionId);
|
|
1902
|
-
reconcileSessionIndex(db, sessionId, readMessages).then((ran) => {
|
|
1903
|
-
if (ran) {
|
|
1904
|
-
const snapshot = heapHolder.reconciledSnapshots.get(sessionId);
|
|
1905
|
-
appendedDuringReconciliation = snapshot !== undefined && snapshot !== previousSnapshot && readMessages.getRevision !== undefined && readMessages.getRevision(sessionId) !== snapshot.revision;
|
|
1906
|
-
return;
|
|
1907
|
-
}
|
|
1908
|
-
inRootAsyncContext2(() => setTimeout(() => {
|
|
1909
|
-
heapHolder.reconciliationScheduledSessions.delete(sessionId);
|
|
1910
|
-
scheduleReconciliation(db, sessionId, readMessages);
|
|
1911
|
-
}, PREPARE_RETRY_MS)).unref?.();
|
|
1912
|
-
}).catch((error) => {
|
|
1913
|
-
logReconciliationStall(sessionId, error instanceof Error ? error.message : String(error));
|
|
1914
|
-
if (isDatabaseLockedError(error))
|
|
1915
|
-
inRootAsyncContext2(() => setTimeout(() => scheduleReconciliation(db, sessionId, readMessages), 1000)).unref();
|
|
1916
|
-
}).finally(() => {
|
|
1917
|
-
heapHolder.reconciliationScheduledSessions.delete(sessionId);
|
|
1918
|
-
if (appendedDuringReconciliation)
|
|
1919
|
-
scheduleReconciliation(db, sessionId, readMessages);
|
|
1920
|
-
});
|
|
1921
|
-
});
|
|
1922
|
-
});
|
|
1923
|
-
}
|
|
1924
|
-
function scheduleClearAndReindex(db, sessionId, readMessages) {
|
|
1925
|
-
heapHolder.reconciledSessions.delete(sessionId);
|
|
1926
|
-
heapHolder.reconciledSnapshots.delete(sessionId);
|
|
1927
|
-
heapHolder.reconciliationScheduledSessions.delete(sessionId);
|
|
1928
|
-
clearCompletedIncrementalKeys(sessionId);
|
|
1929
|
-
const existing = heapHolder.clearAndReindexScheduledSessions.get(sessionId);
|
|
1930
|
-
if (existing) {
|
|
1931
|
-
existing.source = readMessages;
|
|
1932
|
-
return;
|
|
1933
|
-
}
|
|
1934
|
-
const pending = { source: readMessages };
|
|
1935
|
-
heapHolder.clearAndReindexScheduledSessions.set(sessionId, pending);
|
|
1936
|
-
scheduleAfterBootQuiet(() => {
|
|
1937
|
-
defer(() => {
|
|
1938
|
-
let cleared = false;
|
|
1939
|
-
runWithSessionLock(sessionId, () => {
|
|
1940
|
-
if (heapHolder.clearAndReindexScheduledSessions.get(sessionId) !== pending)
|
|
1941
|
-
return;
|
|
1942
|
-
heapHolder.clearAndReindexScheduledSessions.delete(sessionId);
|
|
1943
|
-
heapHolder.reconciledSessions.delete(sessionId);
|
|
1944
|
-
heapHolder.reconciledSnapshots.delete(sessionId);
|
|
1945
|
-
clearCompletedIncrementalKeys(sessionId);
|
|
1946
|
-
clearIndexedMessages(db, sessionId);
|
|
1947
|
-
cleared = true;
|
|
1948
|
-
}).then(() => cleared ? reconcileSessionIndex(db, sessionId, pending.source) : undefined).catch((error) => {
|
|
1949
|
-
heapHolder.reconciledSessions.delete(sessionId);
|
|
1950
|
-
if (heapHolder.clearAndReindexScheduledSessions.get(sessionId) === pending)
|
|
1951
|
-
heapHolder.clearAndReindexScheduledSessions.delete(sessionId);
|
|
1952
|
-
logIndexingError(sessionId, "clear and reindex", error);
|
|
1953
|
-
});
|
|
1954
|
-
});
|
|
1955
|
-
});
|
|
1956
|
-
}
|
|
1957
|
-
function getMessageIndexQueueHeapStats() {
|
|
1958
|
-
return {
|
|
1959
|
-
queueLength: heapHolder.reconciliationScheduledSessions.size + heapHolder.incrementalTimers.size + heapHolder.pendingIncrementalKeys.size,
|
|
1960
|
-
reconciliationScheduled: heapHolder.reconciliationScheduledSessions.size,
|
|
1961
|
-
incrementalTimers: heapHolder.incrementalTimers.size,
|
|
1962
|
-
pendingIncremental: heapHolder.pendingIncrementalKeys.size,
|
|
1963
|
-
activeSessionLocks: heapHolder.sessionLocks.size,
|
|
1964
|
-
completedIncrementalKeys: heapHolder.completedIncrementalKeys.size,
|
|
1965
|
-
activeBufferMessages: [...heapHolder.activeReconcilerBuffers.values()].reduce((sum, messages) => sum + messages.length, 0),
|
|
1966
|
-
activeBufferBytes: [...heapHolder.activeReconcilerBuffers.values()].reduce((sum, messages) => sum + serializedMessageBytes(messages), 0)
|
|
1967
|
-
};
|
|
1968
|
-
}
|
|
1969
|
-
|
|
1970
1744
|
// src/shared/model-cache-ttl.ts
|
|
1971
1745
|
var MODEL_CACHE_LIFETIMES = [
|
|
1972
1746
|
{
|
|
@@ -4328,6 +4102,8 @@ class AutoSearchBusyError extends Error {
|
|
|
4328
4102
|
}
|
|
4329
4103
|
}
|
|
4330
4104
|
async function searchAutoHint(db, sessionId, projectPath, query, options, entry = new URL(new URL(import.meta.url).pathname.endsWith(".ts") ? "./auto-search-worker.ts" : "./auto-search-worker.js", import.meta.url)) {
|
|
4105
|
+
const messageIndexEpoch = getMessageIndexEpoch(sessionId);
|
|
4106
|
+
const messageIndexWasSearchable = isMessageIndexSearchable(sessionId);
|
|
4331
4107
|
const {
|
|
4332
4108
|
rerankConfig: _rerankConfig,
|
|
4333
4109
|
rerankClient: _rerankClient,
|
|
@@ -4336,7 +4112,8 @@ async function searchAutoHint(db, sessionId, projectPath, query, options, entry
|
|
|
4336
4112
|
captureRerankLanes: _captureRerankLanes,
|
|
4337
4113
|
...hintOptions
|
|
4338
4114
|
} = options;
|
|
4339
|
-
|
|
4115
|
+
const results = await executeAutoSearchWorker(db, sessionId, projectPath, query, { ...hintOptions, explicitSearch: false, rerank: false }, entry, "search");
|
|
4116
|
+
return messageIndexWasSearchable && isMessageIndexSearchable(sessionId) && getMessageIndexEpoch(sessionId) === messageIndexEpoch ? results : results.filter((result) => result.source !== "message");
|
|
4340
4117
|
}
|
|
4341
4118
|
var pendingBackfills = new WeakMap;
|
|
4342
4119
|
var searchWorkers = new WeakMap;
|
|
@@ -5812,16 +5589,47 @@ function getDreamTaskBacklog(db, projectPath, task, options = {}) {
|
|
|
5812
5589
|
}
|
|
5813
5590
|
}
|
|
5814
5591
|
var backlogCaches = new WeakMap;
|
|
5592
|
+
var displayBacklogCaches = new WeakMap;
|
|
5593
|
+
var DISPLAY_BACKLOG_MAX_AGE_MS = 60000;
|
|
5815
5594
|
function getDreamTaskBacklogs(db, projectPath, tasks = CANONICAL_DREAM_TASKS, options = {}) {
|
|
5816
5595
|
if (tasks.length === 0)
|
|
5817
5596
|
return {};
|
|
5818
5597
|
if (!isKnownAutocommit(db)) {
|
|
5819
5598
|
backlogCaches.delete(db);
|
|
5599
|
+
displayBacklogCaches.delete(db);
|
|
5820
5600
|
const result = {};
|
|
5821
5601
|
for (const task of tasks)
|
|
5822
5602
|
result[task] = getDreamTaskBacklog(db, projectPath, task, options);
|
|
5823
5603
|
return result;
|
|
5824
5604
|
}
|
|
5605
|
+
if (options.display) {
|
|
5606
|
+
let entries = displayBacklogCaches.get(db);
|
|
5607
|
+
if (!entries) {
|
|
5608
|
+
entries = new Map;
|
|
5609
|
+
displayBacklogCaches.set(db, entries);
|
|
5610
|
+
}
|
|
5611
|
+
const optionKey = (value) => value === undefined ? "omitted" : value === null ? "null" : `number:${value}`;
|
|
5612
|
+
const key = JSON.stringify([
|
|
5613
|
+
projectPath,
|
|
5614
|
+
tasks,
|
|
5615
|
+
optionKey(options.lastRunAt),
|
|
5616
|
+
optionKey(options.retrospectiveWatermarkMs)
|
|
5617
|
+
]);
|
|
5618
|
+
const now = Date.now();
|
|
5619
|
+
const cached = entries.get(key);
|
|
5620
|
+
if (cached && now < cached.expiresAt && now >= cached.expiresAt - DISPLAY_BACKLOG_MAX_AGE_MS)
|
|
5621
|
+
return structuredClone(cached.value);
|
|
5622
|
+
const value = {};
|
|
5623
|
+
for (const task of tasks)
|
|
5624
|
+
value[task] = getDreamTaskBacklog(db, projectPath, task, options);
|
|
5625
|
+
if (entries.size >= 256)
|
|
5626
|
+
entries.delete(entries.keys().next().value);
|
|
5627
|
+
entries.set(key, {
|
|
5628
|
+
expiresAt: now + DISPLAY_BACKLOG_MAX_AGE_MS,
|
|
5629
|
+
value: structuredClone(value)
|
|
5630
|
+
});
|
|
5631
|
+
return value;
|
|
5632
|
+
}
|
|
5825
5633
|
let cache = backlogCaches.get(db);
|
|
5826
5634
|
if (!cache) {
|
|
5827
5635
|
cache = {
|
|
@@ -7607,6 +7415,7 @@ function hasSmallToolInput(target) {
|
|
|
7607
7415
|
var CACHE_LOSING_FOLD_REASONS = new Set([
|
|
7608
7416
|
"model_change",
|
|
7609
7417
|
"system_hash",
|
|
7418
|
+
"tool_definitions",
|
|
7610
7419
|
"ttl_idle",
|
|
7611
7420
|
"host_compaction"
|
|
7612
7421
|
]);
|
|
@@ -10709,6 +10518,10 @@ async function runPostTransformPhase(args) {
|
|
|
10709
10518
|
sessionLog2(args.sessionId, "transform: m[0] HARD fold pre-execution failed:", getErrorMessage(error));
|
|
10710
10519
|
}
|
|
10711
10520
|
sessionLog2(args.sessionId, `m[0] HARD fold decision: reason=${m0MaterializeReason ?? foldDueDecision.reason ?? (foldExecutedThisPass ? "drift" : "soft_refresh")} executed=${foldExecutedThisPass} bustsServedPrefix=${foldBustsServedPrefixThisPass}`);
|
|
10521
|
+
const toolChange = m0ComparisonDecision?.toolDefinitionsChange;
|
|
10522
|
+
if (foldExecutedThisPass && toolChange) {
|
|
10523
|
+
sessionLog2(args.sessionId, "m[0] request tool definitions changed:", JSON.stringify(toolChange));
|
|
10524
|
+
}
|
|
10712
10525
|
}
|
|
10713
10526
|
logTransformTiming(args.sessionId, "pp.prefixPreflight", tPostprocessSetup, `foldExecuted=${foldExecutedThisPass} m1Refreshed=${publishedM1RefreshedThisPass}`);
|
|
10714
10527
|
const tPassDecisions = performance.now();
|
|
@@ -13433,7 +13246,7 @@ var MODULE_PAGE_MAX_BYTES = SUBC_MAX_FRAME_BODY_BYTES - MODULE_PAGE_ENVELOPE_HEA
|
|
|
13433
13246
|
var MODULE_ITEM_CONTINUATION_CHUNK_BYTES = 64 * 1024;
|
|
13434
13247
|
var MODULE_ITEM_CONTINUATION_KEY = "__shadow_item_continuation";
|
|
13435
13248
|
var MODULE_ORDINAL_PAGE_SIZE = 500;
|
|
13436
|
-
function
|
|
13249
|
+
function yieldToEventLoop() {
|
|
13437
13250
|
return new Promise((resolve) => setTimeout(resolve, 0));
|
|
13438
13251
|
}
|
|
13439
13252
|
function canonicalJson(value) {
|
|
@@ -13523,7 +13336,7 @@ async function resolveOrdinalsForModule(args) {
|
|
|
13523
13336
|
pageEnds.push({ anchor: pageAnchor, entryCount: entries.length });
|
|
13524
13337
|
if (page.length < MODULE_ORDINAL_PAGE_SIZE)
|
|
13525
13338
|
break;
|
|
13526
|
-
await
|
|
13339
|
+
await yieldToEventLoop();
|
|
13527
13340
|
}
|
|
13528
13341
|
return { entries, end: pageAnchor, pageEnds };
|
|
13529
13342
|
};
|
|
@@ -20178,6 +19991,7 @@ Historian previously failed ${historianFailureState.failureCount} time(s), so Ma
|
|
|
20178
19991
|
const m0HardSignals = {
|
|
20179
19992
|
systemHash: hardSystemHash,
|
|
20180
19993
|
toolSetHash: hardToolSetHash,
|
|
19994
|
+
toolDefinitionsHash: deps.getToolDefinitionsHash?.(sessionId),
|
|
20181
19995
|
modelKey: hardModelKey,
|
|
20182
19996
|
cacheExpired: hardCacheExpired,
|
|
20183
19997
|
lastResponseTime: sessionMeta.lastResponseTime,
|
|
@@ -23270,7 +23084,7 @@ function buildSidebarSnapshot(db, sessionId, directory, liveSessionState, inject
|
|
|
23270
23084
|
const dreamerProgress = projectIdentity ? liveSessionState?.dreamerProgressByProject?.get(projectIdentity) ?? null : null;
|
|
23271
23085
|
if (projectIdentity) {
|
|
23272
23086
|
try {
|
|
23273
|
-
dreamerBacklog = getDreamTaskBacklogs(db, projectIdentity, CANONICAL_DREAM_TASKS.filter((task) => smartNotesEnabled || task !== "evaluate-smart-notes"));
|
|
23087
|
+
dreamerBacklog = getDreamTaskBacklogs(db, projectIdentity, CANONICAL_DREAM_TASKS.filter((task) => smartNotesEnabled || task !== "evaluate-smart-notes"), { display: true });
|
|
23274
23088
|
} catch {}
|
|
23275
23089
|
}
|
|
23276
23090
|
if (projectIdentity) {
|
|
@@ -24022,7 +23836,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
24022
23836
|
const db = readDatabase();
|
|
24023
23837
|
if (!db)
|
|
24024
23838
|
return { ok: false, error: "db unavailable" };
|
|
24025
|
-
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-
|
|
23839
|
+
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-qfqdvbta.js"));
|
|
24026
23840
|
const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-x5nzy34v.js"));
|
|
24027
23841
|
log2(`[rpc] recomp requested for session ${sessionId}`);
|
|
24028
23842
|
if (!args.client && !args.hiddenCompletionExecutor) {
|
|
@@ -24107,7 +23921,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
24107
23921
|
const db = readDatabase();
|
|
24108
23922
|
if (!db)
|
|
24109
23923
|
return { ok: false, error: "db unavailable" };
|
|
24110
|
-
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-
|
|
23924
|
+
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-ga5vfmwr.js"));
|
|
24111
23925
|
const model = liveSessionState.liveModelBySession.get(sessionId);
|
|
24112
23926
|
const contextLimit = model ? resolveContextLimit(model.providerID, model.modelID, { db, sessionID: sessionId }) : 128000;
|
|
24113
23927
|
const ctx = {
|
|
@@ -53504,6 +53318,7 @@ async function registerContext(context) {
|
|
|
53504
53318
|
const hiddenSessionErrors = new Map;
|
|
53505
53319
|
const hiddenModelActivity = new HiddenModelActivity;
|
|
53506
53320
|
const liveModels = new Map;
|
|
53321
|
+
const toolDefinitionsHashes = new BoundedSessionMap(1000);
|
|
53507
53322
|
const promptSurfaceRuntime = createPromptSurfaceRuntime({
|
|
53508
53323
|
harness: "opencode2",
|
|
53509
53324
|
directory,
|
|
@@ -54085,6 +53900,7 @@ async function registerContext(context) {
|
|
|
54085
53900
|
hardSignals: {
|
|
54086
53901
|
systemHash: state.systemPromptHash ?? "",
|
|
54087
53902
|
toolSetHash: getCurrentToolSetHash(draft.model.providerID, draft.model.id, draft.agent, draft.sessionID),
|
|
53903
|
+
toolDefinitionsHash: toolDefinitionsHashes.get(draft.sessionID),
|
|
54088
53904
|
modelKey: `${draft.model.providerID}/${draft.model.id}`,
|
|
54089
53905
|
cacheExpired: false,
|
|
54090
53906
|
lastResponseTime: state.lastResponseTime
|
|
@@ -54215,6 +54031,7 @@ async function registerContext(context) {
|
|
|
54215
54031
|
return "";
|
|
54216
54032
|
return getCurrentToolSetHash(model.providerID, model.modelID, agents.get(sessionId), sessionId);
|
|
54217
54033
|
},
|
|
54034
|
+
getToolDefinitionsHash: (sessionId) => toolDefinitionsHashes.get(sessionId),
|
|
54218
54035
|
channel1StateBySession: channel1,
|
|
54219
54036
|
historyRefreshSessions,
|
|
54220
54037
|
pendingMaterializationSessions,
|
|
@@ -54440,6 +54257,7 @@ async function registerContext(context) {
|
|
|
54440
54257
|
if (admissionDb)
|
|
54441
54258
|
hideSubagentTools(draft, admissionDb);
|
|
54442
54259
|
recordV2ToolDefinitions(draft);
|
|
54260
|
+
toolDefinitionsHashes.set(draft.sessionID, v2ToolDefinitionsHash(draft.tools));
|
|
54443
54261
|
if (await recordUsage(draft, true) && !compactionOff) {
|
|
54444
54262
|
const storageReason = storage.current() ? null : storage.reason();
|
|
54445
54263
|
if (storageReason) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureMemoryEmbeddings2
|
|
3
|
-
} from "./server-
|
|
4
|
-
import"./server-
|
|
3
|
+
} from "./server-2aasmpsp.js";
|
|
4
|
+
import"./server-ab8017gw.js";
|
|
5
5
|
import"./server-4dhv7mqz.js";
|
|
6
6
|
import"./server-qt1qqasc.js";
|
|
7
7
|
import"./server-vr4szghm.js";
|
|
8
8
|
import"./server-24g8r2d0.js";
|
|
9
9
|
import"./server-bsgd4dk1.js";
|
|
10
|
-
import"./server-
|
|
10
|
+
import"./server-h1byrhwx.js";
|
|
11
11
|
import"./server-ab1g0wn9.js";
|
|
12
12
|
import"./server-qjvk4a9t.js";
|
|
13
13
|
import"./server-awr8qa4c.js";
|
|
@@ -64,7 +64,7 @@ export declare function removeDreamerOnlyTools(draft: SessionContext): void;
|
|
|
64
64
|
/** Rewrite Magic Context ctx_* tool descriptions for this draft's model. */
|
|
65
65
|
export declare function applyV2PromptSurfaceTools(draft: SessionContext, runtime: PromptSurfaceRuntime, config: PromptSurfaceConfig | undefined, smartNotesEnabled?: boolean): void;
|
|
66
66
|
/**
|
|
67
|
-
* Measure the tool definitions
|
|
67
|
+
* Measure the tool definitions visible to this session's context hook.
|
|
68
68
|
*
|
|
69
69
|
* OpenCode 1 measures the same thing through its `tool.definition` hook; OpenCode 2 has no such
|
|
70
70
|
* hook, but the request draft carries the whole tool set, so the draft is the measurement seam.
|
|
@@ -76,8 +76,8 @@ export declare function applyV2PromptSurfaceTools(draft: SessionContext, runtime
|
|
|
76
76
|
* this session's figure: a tool an earlier request carried, or another session's request carried,
|
|
77
77
|
* does not count toward this request's size.
|
|
78
78
|
*
|
|
79
|
-
* Measuring changes no served byte
|
|
80
|
-
*
|
|
79
|
+
* Measuring changes no served byte. The names-only measurement hash remains attribution;
|
|
80
|
+
* the separate request-definition hash is captured by the managed context hook.
|
|
81
81
|
*/
|
|
82
82
|
export declare function recordV2ToolDefinitions(draft: SessionContext): void;
|
|
83
83
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAsExD,OAAO,EACH,KAAK,qBAAqB,EAE7B,MAAM,mDAAmD,CAAC;AA8B3D,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,qCAAqC,CAAC;AA2B1F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAGH,KAAK,oBAAoB,EAC5B,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EACH,KAAK,QAAQ,EAKhB,MAAM,qBAAqB,CAAC;AA6B7B,OAAO,EAAkB,KAAK,aAAa,EAAqB,MAAM,iBAAiB,CAAC;AA+CxF,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAa,MAAM,SAAS,CAAC;AA0EpE,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAQlE;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAChC,EAAE,EAAE,QAAQ,EACZ,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,kBAAkB,GAAG,eAAe,CAAC,EACjE,SAAS,EAAE,MAAM,GAClB,qBAAqB,GAAG,SAAS,CAanC;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,uBAAuB,CACzC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,EAC1C,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACjC,OAAO,CAAC,IAAI,CAAC,CAcf;AA4BD,wBAAgB,eAAe,CAC3B,OAAO,EAAE,SAAS,EAClB,oBAAoB,EAAE,aAAa,CAAC,iBAAiB,CAAC,GAAG,EAAE,EAC3D,oBAAoB,EAAE,WAAW,CAAC,aAAa,CAAC,iCAAiC,CAAC,CAAC,EACnF,UAAU,EAAE,WAAW,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC,GAC7D,QAAQ,CACP,IAAI,CACA,aAAa,EACX,iBAAiB,GACjB,iCAAiC,GACjC,wBAAwB,GACxB,2BAA2B,GAC3B,mBAAmB,GACnB,aAAa,GACb,mBAAmB,GACnB,YAAY,CACjB,CACJ,CAiCA;AAED,KAAK,iBAAiB,GAAG,IAAI,CACzB,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,QAAQ,CAAC,EACrD,8BAA8B,GAAG,0BAA0B,CAC9D,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,iBAAiB,GAC1B,IAAI,CAAC,aAAa,EAAE,WAAW,GAAG,4BAA4B,GAAG,wBAAwB,CAAC,CAS5F;AAyBD;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAKhF;AAED,2EAA2E;AAC3E,wBAAgB,aAAa,CACzB,MAAM,EAAE,OAAO,EACf,UAAU,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,GACrC,KAAK,CAAC;IACL,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/D,CAAC,CAyCD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAElE;AAED,4EAA4E;AAC5E,wBAAgB,yBAAyB,CACrC,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,oBAAoB,EAC7B,MAAM,EAAE,mBAAmB,GAAG,SAAS,EACvC,iBAAiB,UAAO,GACzB,IAAI,CAsBN;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAqBnE;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,mBAAmB,CACrC,YAAY,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,EAAE,SAAS,CAAC,EAC/E,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC,GACrF,OAAO,CAAC,IAAI,CAAC,CAwCf;AAuBD,wBAAsB,eAAe,CAAC,OAAO,EAAE,SAAS;;eA6wEvD"}
|
package/dist/v2/{project-embedding-registry-p1p10ks7.js → project-embedding-registry-1x5qe2fy.js}
RENAMED
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
sweepAllRegisteredProjects2,
|
|
36
36
|
_setTestProviderFactoryForProject2,
|
|
37
37
|
_resetProjectEmbeddingRegistryForTests2
|
|
38
|
-
} from "./server-
|
|
38
|
+
} from "./server-ab8017gw.js";
|
|
39
39
|
import"./server-4dhv7mqz.js";
|
|
40
40
|
import"./server-qt1qqasc.js";
|
|
41
41
|
import"./server-vr4szghm.js";
|
|
42
42
|
import"./server-24g8r2d0.js";
|
|
43
43
|
import"./server-bsgd4dk1.js";
|
|
44
|
-
import"./server-
|
|
44
|
+
import"./server-h1byrhwx.js";
|
|
45
45
|
import"./server-ab1g0wn9.js";
|
|
46
46
|
import"./server-qjvk4a9t.js";
|
|
47
47
|
import"./server-awr8qa4c.js";
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./server-
|
|
10
|
+
} from "./server-aqbm9c8d.js";
|
|
11
11
|
import"./server-806rzhs6.js";
|
|
12
|
-
import"./server-
|
|
12
|
+
import"./server-tkdabx8q.js";
|
|
13
13
|
import"./server-hwag0khr.js";
|
|
14
|
-
import"./server-
|
|
14
|
+
import"./server-2aasmpsp.js";
|
|
15
15
|
import"./server-jjvbk92s.js";
|
|
16
|
-
import"./server-
|
|
16
|
+
import"./server-ab8017gw.js";
|
|
17
17
|
import"./server-4dhv7mqz.js";
|
|
18
18
|
import"./server-53eh1r8r.js";
|
|
19
19
|
import"./server-qc915kw2.js";
|
|
@@ -29,7 +29,7 @@ import"./server-x8a7jmkh.js";
|
|
|
29
29
|
import"./server-vr4szghm.js";
|
|
30
30
|
import"./server-24g8r2d0.js";
|
|
31
31
|
import"./server-bsgd4dk1.js";
|
|
32
|
-
import"./server-
|
|
32
|
+
import"./server-h1byrhwx.js";
|
|
33
33
|
import"./server-ab1g0wn9.js";
|
|
34
34
|
import"./server-d01pe8q5.js";
|
|
35
35
|
import"./server-fb3zxn06.js";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./server-
|
|
8
|
+
} from "./server-n14edf07.js";
|
|
9
9
|
import"./server-kaqs6h31.js";
|
|
10
|
-
import"./server-
|
|
10
|
+
import"./server-tkdabx8q.js";
|
|
11
11
|
import"./server-hwag0khr.js";
|
|
12
|
-
import"./server-
|
|
12
|
+
import"./server-2aasmpsp.js";
|
|
13
13
|
import"./server-jjvbk92s.js";
|
|
14
|
-
import"./server-
|
|
14
|
+
import"./server-ab8017gw.js";
|
|
15
15
|
import"./server-4dhv7mqz.js";
|
|
16
16
|
import"./server-qt1qqasc.js";
|
|
17
17
|
import"./server-rb8m4vry.js";
|
|
@@ -21,7 +21,7 @@ import"./server-a7x00tw8.js";
|
|
|
21
21
|
import"./server-vr4szghm.js";
|
|
22
22
|
import"./server-24g8r2d0.js";
|
|
23
23
|
import"./server-bsgd4dk1.js";
|
|
24
|
-
import"./server-
|
|
24
|
+
import"./server-h1byrhwx.js";
|
|
25
25
|
import"./server-ab1g0wn9.js";
|
|
26
26
|
import"./server-6g98c227.js";
|
|
27
27
|
import"./server-fr0wbhdn.js";
|