@cortexkit/opencode-magic-context 0.49.5 → 0.49.6
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 +5 -5
- package/dist/{compaction-marker-candidates-dd638ypn.js → compaction-marker-candidates-cz72pm1t.js} +2 -2
- package/dist/compaction-marker-candidates-worker.js +2 -2
- package/dist/{conflict-warning-hook-ae8nmv7c.js → conflict-warning-hook-1jq1rxx7.js} +5 -5
- package/dist/{context-yg023c5r.js → context-ae3gxdye.js} +23 -23
- package/dist/{embedding-backfill-aj488s8x.js → embedding-backfill-dtjmyktb.js} +6 -6
- package/dist/{index-kb9nn0a0.js → index-0nnd4bry.js} +2 -2
- package/dist/{index-yqps2zsv.js → index-1j8jcjpa.js} +1 -1
- package/dist/{index-3wckxwfp.js → index-1xaw2pq8.js} +5 -5
- package/dist/{index-m4p77myp.js → index-6q5h70h2.js} +1 -1
- package/dist/{index-7ndnvw7a.js → index-7q1m1qjk.js} +1 -1
- package/dist/{index-6m7rdv7y.js → index-9m7bn21d.js} +1 -1
- package/dist/{index-c0b01zrc.js → index-9s58tq95.js} +3 -3
- package/dist/{index-p2hs3rps.js → index-a796ct3s.js} +4 -4
- package/dist/{index-qvr78ej6.js → index-ab3bgm2m.js} +2 -2
- package/dist/{index-znzgze2v.js → index-besxhcsh.js} +7 -7
- package/dist/{index-7w18gg78.js → index-bg5qqene.js} +1 -1
- package/dist/{index-fst3t0d9.js → index-ch08qwgd.js} +8 -8
- package/dist/{index-dd18gej8.js → index-ck6y3td2.js} +3 -3
- package/dist/{index-7jzrrxap.js → index-cm4hmxyk.js} +1 -1
- package/dist/{index-yxawqmdd.js → index-f3dnvnw6.js} +1 -1
- package/dist/{index-41gqa557.js → index-g9exahnx.js} +1 -1
- package/dist/{index-bhk710rw.js → index-hr64sth2.js} +1 -1
- package/dist/{index-gcdb3rqw.js → index-j55vn694.js} +1 -1
- package/dist/{index-x3y1np1h.js → index-mj1fgfrk.js} +23 -23
- package/dist/{index-fjtgekd4.js → index-s0gsmthp.js} +4 -4
- package/dist/{index-v4bqjy56.js → index-vh3e2mvr.js} +17 -17
- package/dist/{index-jpm52v9x.js → index-vnjhmkwk.js} +1 -1
- package/dist/{index-7zg9dvx0.js → index-vztbgcdk.js} +4 -4
- package/dist/{index-xfbfrngb.js → index-xqyj5c85.js} +2 -2
- package/dist/{index-2mqps3c1.js → index-zgzdm6dg.js} +9 -9
- package/dist/index.js +34 -34
- package/dist/{message-index-bounded-pv6ct15d.js → message-index-bounded-630j53ps.js} +9 -9
- package/dist/{message-index-jqa7qd0s.js → message-index-c84wm2g0.js} +9 -9
- package/dist/{message-time-backfill-8x06r9kx.js → message-time-backfill-8kj57qe3.js} +1 -1
- package/dist/migration-worker.js +6 -6
- package/dist/{project-embedding-registry-fcmszatg.js → project-embedding-registry-vv59t7ah.js} +5 -5
- package/dist/raw-ordinal-warmup-worker.js +6 -6
- package/dist/{read-session-chunk-cwgjwjd0.js → read-session-chunk-t3vjd0h0.js} +5 -5
- package/dist/{read-session-raw-z38cn0as.js → read-session-raw-gf7eytnm.js} +2 -2
- package/dist/{recomp-orchestrator-xw9wt5bm.js → recomp-orchestrator-1d08g57a.js} +20 -20
- package/dist/{search-v1t47s2q.js → search-kth2p6cc.js} +16 -16
- package/dist/{send-session-notification-yp9m5g4p.js → send-session-notification-3j6krd4w.js} +4 -4
- package/dist/{sqlite-mhjkerzq.js → sqlite-d7edbk1s.js} +1 -1
- package/dist/{storage-memory-07fx57k6.js → storage-memory-af5zdz98.js} +2 -2
- package/dist/{storage-tags-0ssbmzg9.js → storage-tags-dyj7mmbq.js} +2 -2
- package/dist/{transform-postprocess-phase-ttra554y.js → transform-postprocess-phase-bv3kb5s1.js} +20 -20
- package/dist/v2/auto-search-worker.js +5 -5
- package/dist/v2/{compaction-marker-candidates-1s21e2fz.js → compaction-marker-candidates-6gqp5wrc.js} +2 -2
- package/dist/v2/compaction-marker-candidates-worker.js +2 -2
- package/dist/v2/{context-6en6a8ar.js → context-p8f2shp1.js} +23 -23
- package/dist/v2/{embedding-backfill-9hbkfvnz.js → embedding-backfill-cg4rv90f.js} +6 -6
- package/dist/v2/{message-index-h8ssgq3q.js → message-index-3ws17x1g.js} +9 -9
- package/dist/v2/{message-index-bounded-c0810p5w.js → message-index-bounded-yzxmf6vp.js} +9 -9
- package/dist/v2/{message-time-backfill-cje68egj.js → message-time-backfill-5nf10c65.js} +1 -1
- package/dist/v2/migration-worker.js +6 -6
- package/dist/v2/{project-embedding-registry-42th7k1z.js → project-embedding-registry-rsnf2263.js} +5 -5
- package/dist/v2/raw-ordinal-warmup-worker.js +6 -6
- package/dist/v2/{read-session-chunk-n86v9xfg.js → read-session-chunk-vtb0w2kd.js} +5 -5
- package/dist/v2/{read-session-raw-3b3ehga4.js → read-session-raw-gpcddemt.js} +2 -2
- package/dist/v2/{recomp-orchestrator-krvsbnds.js → recomp-orchestrator-v64r4s4r.js} +19 -19
- package/dist/v2/{search-048v8y02.js → search-bpa4fxq1.js} +16 -16
- package/dist/v2/{send-session-notification-a4h2azxa.js → send-session-notification-5aj2j7vf.js} +4 -4
- package/dist/v2/{server-9a6v0wth.js → server-09g9pkvx.js} +7 -7
- package/dist/v2/{server-kb9nn0a0.js → server-0nnd4bry.js} +2 -2
- package/dist/v2/{server-cjz51jm2.js → server-158ehmk2.js} +3 -3
- package/dist/v2/{server-3dqjhchy.js → server-387vkhjq.js} +1 -1
- package/dist/v2/{server-czb2rkpk.js → server-4tn95znb.js} +1 -1
- package/dist/v2/{server-9290a1mb.js → server-6a9mxnb2.js} +1 -1
- package/dist/v2/{server-e2v4m8xe.js → server-7skbfb81.js} +17 -17
- package/dist/v2/{server-4enr7s6x.js → server-9zqewm6g.js} +1 -1
- package/dist/v2/{server-hetyb88z.js → server-aa9w15cs.js} +8 -8
- package/dist/v2/{server-q6j5dasr.js → server-btgnsv7w.js} +1 -1
- package/dist/v2/{server-7jzrrxap.js → server-cm4hmxyk.js} +1 -1
- package/dist/v2/{server-5zrpr764.js → server-f9py7s7a.js} +1 -1
- package/dist/v2/{server-4n2tknpc.js → server-fby0cxbq.js} +4 -4
- package/dist/v2/{server-8wcf79fe.js → server-keswwkvv.js} +1 -1
- package/dist/v2/{server-3bc6k4k4.js → server-qn23p4h7.js} +5 -5
- package/dist/v2/{server-cvgn49tr.js → server-wrem2nmz.js} +1 -1
- package/dist/v2/{server-8pqnnmf9.js → server-ww9nr8pe.js} +2 -2
- package/dist/v2/{server-rygvffsf.js → server-x2r63c0x.js} +4 -4
- package/dist/v2/{server-pcygfdbs.js → server-yd01snxq.js} +1 -1
- package/dist/v2/{server-2htmbqbv.js → server-yezz0cp2.js} +1 -1
- package/dist/v2/server.js +2 -2
- package/dist/v2/{sqlite-mhjkerzq.js → sqlite-d7edbk1s.js} +1 -1
- package/dist/v2/{storage-memory-07fx57k6.js → storage-memory-af5zdz98.js} +2 -2
- package/dist/v2/{storage-tags-3a4cavqb.js → storage-tags-d47bpaqa.js} +2 -2
- package/dist/v2/{wrapup-orchestrator-r2v7kgy3.js → wrapup-orchestrator-cahk37n7.js} +19 -19
- package/dist/{wrapup-orchestrator-z7agncp8.js → wrapup-orchestrator-mqp0v195.js} +21 -21
- package/package.json +1 -1
- package/src/shared/sqlite-acquisition-routing.test.ts +4 -3
- package/src/shared/sqlite-foreground-wait.test.ts +140 -0
- package/src/shared/sqlite-pass-scope.test.ts +4 -4
- package/src/shared/sqlite.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
checkCompactionMarkerConsistency,
|
|
73
73
|
clearInjectionCache,
|
|
74
74
|
clearNoteNudgeTriggerOnly
|
|
75
|
-
} from "./index-
|
|
75
|
+
} from "./index-vh3e2mvr.js";
|
|
76
76
|
import"./index-sd3egckz.js";
|
|
77
77
|
import {
|
|
78
78
|
hasTrustedAbsoluteWall,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
formatOpenCodeDbMissingBanner,
|
|
90
90
|
claimOpenCodeDbDiagnosticOnce
|
|
91
91
|
} from "./index-58e3y90n.js";
|
|
92
|
-
import"./index-
|
|
92
|
+
import"./index-0nnd4bry.js";
|
|
93
93
|
import {
|
|
94
94
|
openOpenCodeDb,
|
|
95
95
|
DREAMER_SYSTEM_PROMPT,
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
parameterDescriptionsFor,
|
|
159
159
|
MagicContextRpcServer,
|
|
160
160
|
applyHiddenSubagentTemperature
|
|
161
|
-
} from "./index-
|
|
161
|
+
} from "./index-mj1fgfrk.js";
|
|
162
162
|
import {
|
|
163
163
|
formatFailClosedBlockingMessage,
|
|
164
164
|
createFailClosedController,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
openDatabaseAsync,
|
|
174
174
|
isDatabasePersisted,
|
|
175
175
|
getDatabasePersistenceError
|
|
176
|
-
} from "./index-
|
|
176
|
+
} from "./index-besxhcsh.js";
|
|
177
177
|
import {
|
|
178
178
|
setHomeProjectPermission,
|
|
179
179
|
ProjectIdentityError,
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
beginBootQuietPeriod,
|
|
185
185
|
bootQuietRemainingMs,
|
|
186
186
|
scheduleAfterBootQuiet
|
|
187
|
-
} from "./index-
|
|
187
|
+
} from "./index-g9exahnx.js";
|
|
188
188
|
import {
|
|
189
189
|
deleteTemporalDecision
|
|
190
190
|
} from "./index-1bt88epp.js";
|
|
@@ -193,17 +193,17 @@ import {
|
|
|
193
193
|
observeSessionActivity,
|
|
194
194
|
backfillSessionActivity,
|
|
195
195
|
deleteIndexedMessage2
|
|
196
|
-
} from "./index-
|
|
196
|
+
} from "./index-1xaw2pq8.js";
|
|
197
197
|
import {
|
|
198
198
|
recordSessionProjectIdentity,
|
|
199
199
|
getProjectEmbeddingSnapshot2,
|
|
200
200
|
getEmbeddingCoverageStatus2,
|
|
201
201
|
getAutoEmbeddingSessionCoverage2
|
|
202
|
-
} from "./index-
|
|
203
|
-
import"./index-
|
|
202
|
+
} from "./index-9s58tq95.js";
|
|
203
|
+
import"./index-9m7bn21d.js";
|
|
204
204
|
import"./index-fb3zxn06.js";
|
|
205
|
-
import"./index-
|
|
206
|
-
import"./index-
|
|
205
|
+
import"./index-bg5qqene.js";
|
|
206
|
+
import"./index-xqyj5c85.js";
|
|
207
207
|
import"./index-fr0wbhdn.js";
|
|
208
208
|
import {
|
|
209
209
|
preloadTokenizer
|
|
@@ -241,12 +241,12 @@ import {
|
|
|
241
241
|
detectOverflow,
|
|
242
242
|
isAnthropicFamilyRoute,
|
|
243
243
|
readRawSessionMessages2
|
|
244
|
-
} from "./index-
|
|
244
|
+
} from "./index-vztbgcdk.js";
|
|
245
245
|
import"./index-vkbqdnkj.js";
|
|
246
246
|
import {
|
|
247
247
|
getDefaultSubcConnectionFile,
|
|
248
248
|
SubcModuleTransport
|
|
249
|
-
} from "./index-
|
|
249
|
+
} from "./index-ch08qwgd.js";
|
|
250
250
|
import {
|
|
251
251
|
isEmbeddingHostBusy2
|
|
252
252
|
} from "./index-qt1qqasc.js";
|
|
@@ -257,16 +257,16 @@ import {
|
|
|
257
257
|
} from "./index-v0p37hm2.js";
|
|
258
258
|
import {
|
|
259
259
|
forgetRawSessionOrdinalWatermark2
|
|
260
|
-
} from "./index-
|
|
260
|
+
} from "./index-vnjhmkwk.js";
|
|
261
261
|
import {
|
|
262
262
|
observeOpenCodeTurnEvent,
|
|
263
263
|
clearTrackedOpenCodeSession,
|
|
264
264
|
findLastAssistantModelFromOpenCodeDb
|
|
265
|
-
} from "./index-
|
|
265
|
+
} from "./index-ab3bgm2m.js";
|
|
266
266
|
import {
|
|
267
267
|
sendCommandResult2,
|
|
268
268
|
sendStatusNotification2
|
|
269
|
-
} from "./index-
|
|
269
|
+
} from "./index-hr64sth2.js";
|
|
270
270
|
import {
|
|
271
271
|
detectConflicts,
|
|
272
272
|
resolveCompactionForBoot
|
|
@@ -274,13 +274,13 @@ import {
|
|
|
274
274
|
import {
|
|
275
275
|
sendConflictWarning2,
|
|
276
276
|
cleanupConflictWarnings2
|
|
277
|
-
} from "./index-
|
|
277
|
+
} from "./index-6q5h70h2.js";
|
|
278
278
|
import"./index-1zx87sdm.js";
|
|
279
279
|
import {
|
|
280
280
|
stripPersistedAssistantText,
|
|
281
281
|
deleteTagsByMessageId2,
|
|
282
282
|
getMaxTagNumberBySession2
|
|
283
|
-
} from "./index-
|
|
283
|
+
} from "./index-1j8jcjpa.js";
|
|
284
284
|
import {
|
|
285
285
|
resolveHistorianModel2,
|
|
286
286
|
resolveOpenCodeAgentOverrides2,
|
|
@@ -290,26 +290,26 @@ import {
|
|
|
290
290
|
buildDreamTaskRuntimeConfigs2,
|
|
291
291
|
userMemoryCollectionEnabled2
|
|
292
292
|
} from "./index-ghc9f0n7.js";
|
|
293
|
-
import"./index-
|
|
294
|
-
import"./index-
|
|
293
|
+
import"./index-j55vn694.js";
|
|
294
|
+
import"./index-s0gsmthp.js";
|
|
295
295
|
import {
|
|
296
296
|
pushNotification2
|
|
297
297
|
} from "./index-x8a7jmkh.js";
|
|
298
298
|
import"./index-gbmqa9x9.js";
|
|
299
299
|
import"./index-4dhv7mqz.js";
|
|
300
|
-
import"./index-
|
|
301
|
-
import"./index-
|
|
302
|
-
import"./index-
|
|
300
|
+
import"./index-7q1m1qjk.js";
|
|
301
|
+
import"./index-cm4hmxyk.js";
|
|
302
|
+
import"./index-f3dnvnw6.js";
|
|
303
303
|
import {
|
|
304
304
|
createTagger,
|
|
305
305
|
cavemanWordRulesForLanguage,
|
|
306
306
|
setCtxReduceRegisteredGlobally,
|
|
307
307
|
clearToolPermissionDenied,
|
|
308
308
|
resetDegradedCacheCount2
|
|
309
|
-
} from "./index-
|
|
309
|
+
} from "./index-zgzdm6dg.js";
|
|
310
310
|
import {
|
|
311
311
|
runManagedRecomp2
|
|
312
|
-
} from "./index-
|
|
312
|
+
} from "./index-ck6y3td2.js";
|
|
313
313
|
import {
|
|
314
314
|
isValidSemver,
|
|
315
315
|
compareSemverCore
|
|
@@ -317,7 +317,7 @@ import {
|
|
|
317
317
|
import"./index-fmsr7v69.js";
|
|
318
318
|
import {
|
|
319
319
|
runManagedWrapup2
|
|
320
|
-
} from "./index-
|
|
320
|
+
} from "./index-a796ct3s.js";
|
|
321
321
|
import {
|
|
322
322
|
__toESM,
|
|
323
323
|
__commonJS
|
|
@@ -8179,7 +8179,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8179
8179
|
// package.json
|
|
8180
8180
|
var package_default = {
|
|
8181
8181
|
name: "@cortexkit/opencode-magic-context",
|
|
8182
|
-
version: "0.49.
|
|
8182
|
+
version: "0.49.6",
|
|
8183
8183
|
type: "module",
|
|
8184
8184
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8185
8185
|
main: "dist/index.js",
|
|
@@ -12057,7 +12057,7 @@ async function setup(context) {
|
|
|
12057
12057
|
log2("v2 setup() called on a host without session.hook; v1 server lane owns this host, v2 lane inert");
|
|
12058
12058
|
return async () => {};
|
|
12059
12059
|
}
|
|
12060
|
-
const { registerContext } = await import("./context-
|
|
12060
|
+
const { registerContext } = await import("./context-ae3gxdye.js");
|
|
12061
12061
|
setHarness2("opencode2");
|
|
12062
12062
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12063
12063
|
const duties = await registerContext(context);
|
|
@@ -12128,7 +12128,7 @@ var server = async (ctx) => {
|
|
|
12128
12128
|
if (hasBannerEntries)
|
|
12129
12129
|
setTimeout(async () => {
|
|
12130
12130
|
try {
|
|
12131
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12131
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-3j6krd4w.js"));
|
|
12132
12132
|
const clientWithSessions = ctx.client;
|
|
12133
12133
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12134
12134
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12145,7 +12145,7 @@ var server = async (ctx) => {
|
|
|
12145
12145
|
log2(`[magic-context] opencode_db_missing path=${openCodeDbResolution.path} source=${openCodeDbResolution.source}`);
|
|
12146
12146
|
setTimeout(async () => {
|
|
12147
12147
|
try {
|
|
12148
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12148
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-3j6krd4w.js"));
|
|
12149
12149
|
const clientWithSessions = ctx.client;
|
|
12150
12150
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12151
12151
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12421,12 +12421,12 @@ var server = async (ctx) => {
|
|
|
12421
12421
|
{
|
|
12422
12422
|
const fence = getSchemaFenceRejection();
|
|
12423
12423
|
if (fence) {
|
|
12424
|
-
importPluginModule(() => import("./conflict-warning-hook-
|
|
12424
|
+
importPluginModule(() => import("./conflict-warning-hook-1jq1rxx7.js")).then(({ sendSchemaFenceWarning }) => sendSchemaFenceWarning(ctx.client, ctx.directory, fence)).catch((error) => log2("[magic-context] schema-fence warning unavailable:", error));
|
|
12425
12425
|
}
|
|
12426
12426
|
}
|
|
12427
12427
|
const serverUrl = ctx.serverUrl;
|
|
12428
12428
|
const serverUrlStr = serverUrl instanceof URL ? serverUrl.toString().replace(/\/$/, "") : typeof serverUrl === "string" ? serverUrl.replace(/\/$/, "") : undefined;
|
|
12429
|
-
importPluginModule(() => import("./send-session-notification-
|
|
12429
|
+
importPluginModule(() => import("./send-session-notification-3j6krd4w.js")).then(({ setNotificationServerUrl }) => {
|
|
12430
12430
|
setNotificationServerUrl(serverUrlStr);
|
|
12431
12431
|
}).catch((error) => log2("[magic-context] notification transport unavailable:", error));
|
|
12432
12432
|
if (conflictResult?.hasConflict) {
|
|
@@ -12449,7 +12449,7 @@ var server = async (ctx) => {
|
|
|
12449
12449
|
}) => {
|
|
12450
12450
|
if (!shouldShowAnnouncement())
|
|
12451
12451
|
return;
|
|
12452
|
-
return importPluginModule(() => import("./conflict-warning-hook-
|
|
12452
|
+
return importPluginModule(() => import("./conflict-warning-hook-1jq1rxx7.js")).then(({ sendStartupAnnouncement }) => sendStartupAnnouncement(ctx.client, ctx.directory, ANNOUNCEMENT_VERSION, ANNOUNCEMENT_FEATURES, ANNOUNCEMENT_FOOTER, markAnnouncementSeen));
|
|
12453
12453
|
}).catch(() => {});
|
|
12454
12454
|
}, 8000);
|
|
12455
12455
|
}
|
|
@@ -12523,8 +12523,8 @@ var server = async (ctx) => {
|
|
|
12523
12523
|
tryReopenStorage,
|
|
12524
12524
|
rustReplayParticipant: () => magicContextRuntime.magicContext?.getRustReplayParticipant?.() ?? null,
|
|
12525
12525
|
onStorageBusyRefusal: async (sessionId, message) => {
|
|
12526
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12527
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
12526
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-3j6krd4w.js"));
|
|
12527
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-bv3kb5s1.js"));
|
|
12528
12528
|
await sendStatusNotification(ctx.client, sessionId, message, {
|
|
12529
12529
|
toastDurationMs: 15000
|
|
12530
12530
|
});
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
withSqliteBackgroundWriter2,
|
|
3
3
|
withIndexChunk2,
|
|
4
4
|
yieldIndexChunk2
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-0nnd4bry.js";
|
|
6
6
|
import"./index-1zx87sdm.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-1j8jcjpa.js";
|
|
8
8
|
import"./index-qx53vezw.js";
|
|
9
9
|
import"./index-pavzsdc6.js";
|
|
10
10
|
import"./index-0sahzkwr.js";
|
|
@@ -12,10 +12,10 @@ import"./index-nsjyysj0.js";
|
|
|
12
12
|
import"./index-1bt88epp.js";
|
|
13
13
|
import"./index-k6xvbj2e.js";
|
|
14
14
|
import"./index-v0p37hm2.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-vnjhmkwk.js";
|
|
16
16
|
import"./index-58e3y90n.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
import"./index-ab3bgm2m.js";
|
|
18
|
+
import"./index-vztbgcdk.js";
|
|
19
19
|
import"./index-h2wc01qk.js";
|
|
20
20
|
import {
|
|
21
21
|
MESSAGE_INDEX_MAX_FTS_BYTES2,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
markMessageIndexDirty2,
|
|
25
25
|
getIndexableContent2,
|
|
26
26
|
indexSingleMessage2
|
|
27
|
-
} from "./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
27
|
+
} from "./index-1xaw2pq8.js";
|
|
28
|
+
import"./index-bg5qqene.js";
|
|
29
|
+
import"./index-9m7bn21d.js";
|
|
30
30
|
import"./index-vkbqdnkj.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-j55vn694.js";
|
|
32
32
|
import"./index-4mjhqadz.js";
|
|
33
33
|
|
|
34
34
|
// src/features/magic-context/message-index-bounded.ts
|
|
@@ -17,23 +17,23 @@ import {
|
|
|
17
17
|
indexMessagesAfterOrdinal2,
|
|
18
18
|
indexSourcesAfterOrdinal2,
|
|
19
19
|
sweepOrphanedOpenCodeMessageIndexes2
|
|
20
|
-
} from "./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
} from "./index-1xaw2pq8.js";
|
|
21
|
+
import"./index-j55vn694.js";
|
|
22
22
|
import"./index-vkbqdnkj.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
23
|
+
import"./index-9m7bn21d.js";
|
|
24
|
+
import"./index-bg5qqene.js";
|
|
25
|
+
import"./index-vztbgcdk.js";
|
|
26
|
+
import"./index-1j8jcjpa.js";
|
|
27
27
|
import"./index-1zx87sdm.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-ab3bgm2m.js";
|
|
29
|
+
import"./index-vnjhmkwk.js";
|
|
30
30
|
import"./index-v0p37hm2.js";
|
|
31
31
|
import"./index-k6xvbj2e.js";
|
|
32
32
|
import"./index-h2wc01qk.js";
|
|
33
33
|
import"./index-1bt88epp.js";
|
|
34
34
|
import"./index-58e3y90n.js";
|
|
35
35
|
import"./index-4mjhqadz.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-0nnd4bry.js";
|
|
37
37
|
import"./index-qx53vezw.js";
|
|
38
38
|
import"./index-nsjyysj0.js";
|
|
39
39
|
import"./index-0sahzkwr.js";
|
package/dist/migration-worker.js
CHANGED
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
} from "./index-nsjyysj0.js";
|
|
7
7
|
import {
|
|
8
8
|
Database2
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-0nnd4bry.js";
|
|
10
10
|
import"./index-fr0wbhdn.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrationsWithRetry
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-xqyj5c85.js";
|
|
14
14
|
import"./index-1bt88epp.js";
|
|
15
15
|
import"./index-58e3y90n.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-g9exahnx.js";
|
|
17
|
+
import"./index-9m7bn21d.js";
|
|
18
18
|
import"./index-fb3zxn06.js";
|
|
19
19
|
import {
|
|
20
20
|
setSqlitePragmaConfig,
|
|
21
21
|
initializeDatabase
|
|
22
|
-
} from "./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
} from "./index-besxhcsh.js";
|
|
23
|
+
import"./index-bg5qqene.js";
|
|
24
24
|
import"./index-qx53vezw.js";
|
|
25
25
|
import"./index-h2wc01qk.js";
|
|
26
26
|
import {
|
package/dist/{project-embedding-registry-fcmszatg.js → project-embedding-registry-vv59t7ah.js}
RENAMED
|
@@ -34,17 +34,17 @@ import {
|
|
|
34
34
|
sweepAllRegisteredProjects2,
|
|
35
35
|
_setTestProviderFactoryForProject2,
|
|
36
36
|
_resetProjectEmbeddingRegistryForTests2
|
|
37
|
-
} from "./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
} from "./index-9s58tq95.js";
|
|
38
|
+
import"./index-j55vn694.js";
|
|
39
39
|
import"./index-4dhv7mqz.js";
|
|
40
40
|
import"./index-qt1qqasc.js";
|
|
41
41
|
import"./index-gbmqa9x9.js";
|
|
42
42
|
import"./index-vkbqdnkj.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
43
|
+
import"./index-g9exahnx.js";
|
|
44
|
+
import"./index-bg5qqene.js";
|
|
45
45
|
import"./index-k6xvbj2e.js";
|
|
46
46
|
import"./index-4mjhqadz.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-0nnd4bry.js";
|
|
48
48
|
import"./index-qx53vezw.js";
|
|
49
49
|
import"./index-nsjyysj0.js";
|
|
50
50
|
import"./index-0sahzkwr.js";
|
|
@@ -6,8 +6,8 @@ if (!port)
|
|
|
6
6
|
var input = workerData;
|
|
7
7
|
port.postMessage({ kind: "accepted" });
|
|
8
8
|
var [{ Database }, { scanRawSessionSummaryRows }] = await Promise.all([
|
|
9
|
-
import("./sqlite-
|
|
10
|
-
import("./read-session-raw-
|
|
9
|
+
import("./sqlite-d7edbk1s.js"),
|
|
10
|
+
import("./read-session-raw-gf7eytnm.js")
|
|
11
11
|
]);
|
|
12
12
|
var db;
|
|
13
13
|
var reply;
|
|
@@ -21,7 +21,7 @@ try {
|
|
|
21
21
|
{ configureContextDatabasePragmas }
|
|
22
22
|
] = await Promise.all([
|
|
23
23
|
import("./harness-e4avh192.js"),
|
|
24
|
-
import("./message-index-
|
|
24
|
+
import("./message-index-c84wm2g0.js"),
|
|
25
25
|
import("./sqlite-context-pragmas-mv9jqwjh.js")
|
|
26
26
|
]);
|
|
27
27
|
setHarness(input.harness ?? "opencode");
|
|
@@ -39,9 +39,9 @@ try {
|
|
|
39
39
|
{ configureContextDatabasePragmas },
|
|
40
40
|
{ registerSqliteDiagnosticSink }
|
|
41
41
|
] = await Promise.all([
|
|
42
|
-
import("./message-index-bounded-
|
|
42
|
+
import("./message-index-bounded-630j53ps.js"),
|
|
43
43
|
import("./sqlite-context-pragmas-mv9jqwjh.js"),
|
|
44
|
-
import("./sqlite-
|
|
44
|
+
import("./sqlite-d7edbk1s.js")
|
|
45
45
|
]);
|
|
46
46
|
const { log } = await import("./logger-ewak5q1s.js");
|
|
47
47
|
registerSqliteDiagnosticSink(log);
|
|
@@ -52,7 +52,7 @@ try {
|
|
|
52
52
|
const result = await indexMessageInShortChunks(writer, input.sessionId, message, input, () => !cancellation || Atomics.load(cancellation, 0) === 0);
|
|
53
53
|
reply = { kind: "indexed", inserted: result.inserted, measurements: result.measurements };
|
|
54
54
|
} else if (input.tagRatio !== undefined) {
|
|
55
|
-
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-
|
|
55
|
+
const { scanTagOwnerSummary, scanTagOwnerDelta } = await import("./storage-tags-dyj7mmbq.js");
|
|
56
56
|
const delta = input.tagState ? scanTagOwnerDelta(db, input.sessionId, input.tagState) : null;
|
|
57
57
|
if (delta)
|
|
58
58
|
reply = { kind: "tag-delta", delta };
|
|
@@ -34,18 +34,18 @@ import {
|
|
|
34
34
|
readSessionChunk2,
|
|
35
35
|
getRawSessionMessageIdsThrough2,
|
|
36
36
|
readRawSessionSeedTail2
|
|
37
|
-
} from "./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
} from "./index-vztbgcdk.js";
|
|
38
|
+
import"./index-1j8jcjpa.js";
|
|
39
39
|
import"./index-1zx87sdm.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-ab3bgm2m.js";
|
|
41
|
+
import"./index-vnjhmkwk.js";
|
|
42
42
|
import"./index-v0p37hm2.js";
|
|
43
43
|
import"./index-k6xvbj2e.js";
|
|
44
44
|
import"./index-h2wc01qk.js";
|
|
45
45
|
import"./index-1bt88epp.js";
|
|
46
46
|
import"./index-58e3y90n.js";
|
|
47
47
|
import"./index-4mjhqadz.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-0nnd4bry.js";
|
|
49
49
|
import {
|
|
50
50
|
hasMeaningfulUserText2,
|
|
51
51
|
extractTexts2
|
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
hasRawSessionMessageByIdFromDb2,
|
|
26
26
|
readRawSeedTailFromDb2,
|
|
27
27
|
readRawSessionBoundaryEndpointsFromDb2
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-vnjhmkwk.js";
|
|
29
29
|
import"./index-v0p37hm2.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-0nnd4bry.js";
|
|
31
31
|
import"./index-nsjyysj0.js";
|
|
32
32
|
import"./index-0sahzkwr.js";
|
|
33
33
|
import"./index-pavzsdc6.js";
|
|
@@ -7,43 +7,43 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
} from "./index-ck6y3td2.js";
|
|
11
|
+
import"./index-vh3e2mvr.js";
|
|
12
|
+
import"./index-f3dnvnw6.js";
|
|
13
13
|
import"./index-sd3egckz.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
14
|
+
import"./index-s0gsmthp.js";
|
|
15
|
+
import"./index-1xaw2pq8.js";
|
|
16
|
+
import"./index-7q1m1qjk.js";
|
|
17
|
+
import"./index-cm4hmxyk.js";
|
|
18
|
+
import"./index-9s58tq95.js";
|
|
19
|
+
import"./index-j55vn694.js";
|
|
20
20
|
import"./index-4dhv7mqz.js";
|
|
21
21
|
import"./index-w23dh319.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-hr64sth2.js";
|
|
23
23
|
import"./index-qt1qqasc.js";
|
|
24
24
|
import"./index-x8a7jmkh.js";
|
|
25
25
|
import"./index-tqf7yg27.js";
|
|
26
26
|
import"./index-gbmqa9x9.js";
|
|
27
27
|
import"./index-vkbqdnkj.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-besxhcsh.js";
|
|
29
29
|
import"./index-fb3zxn06.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-xqyj5c85.js";
|
|
31
|
+
import"./index-9m7bn21d.js";
|
|
32
32
|
import"./index-fr0wbhdn.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
33
|
+
import"./index-g9exahnx.js";
|
|
34
|
+
import"./index-bg5qqene.js";
|
|
35
|
+
import"./index-vztbgcdk.js";
|
|
36
|
+
import"./index-1j8jcjpa.js";
|
|
37
37
|
import"./index-1zx87sdm.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-ab3bgm2m.js";
|
|
39
|
+
import"./index-vnjhmkwk.js";
|
|
40
40
|
import"./index-v0p37hm2.js";
|
|
41
41
|
import"./index-k6xvbj2e.js";
|
|
42
42
|
import"./index-h2wc01qk.js";
|
|
43
43
|
import"./index-1bt88epp.js";
|
|
44
44
|
import"./index-58e3y90n.js";
|
|
45
45
|
import"./index-4mjhqadz.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-0nnd4bry.js";
|
|
47
47
|
import"./index-qx53vezw.js";
|
|
48
48
|
import"./index-nsjyysj0.js";
|
|
49
49
|
import"./index-0sahzkwr.js";
|
|
@@ -5,34 +5,34 @@ 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-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
8
|
+
} from "./index-ch08qwgd.js";
|
|
9
|
+
import"./index-s0gsmthp.js";
|
|
10
|
+
import"./index-1xaw2pq8.js";
|
|
11
|
+
import"./index-7q1m1qjk.js";
|
|
12
|
+
import"./index-cm4hmxyk.js";
|
|
13
|
+
import"./index-9s58tq95.js";
|
|
14
|
+
import"./index-j55vn694.js";
|
|
15
15
|
import"./index-4dhv7mqz.js";
|
|
16
16
|
import"./index-qt1qqasc.js";
|
|
17
17
|
import"./index-gbmqa9x9.js";
|
|
18
18
|
import"./index-vkbqdnkj.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-xqyj5c85.js";
|
|
20
|
+
import"./index-9m7bn21d.js";
|
|
21
21
|
import"./index-fr0wbhdn.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
22
|
+
import"./index-g9exahnx.js";
|
|
23
|
+
import"./index-bg5qqene.js";
|
|
24
|
+
import"./index-vztbgcdk.js";
|
|
25
|
+
import"./index-1j8jcjpa.js";
|
|
26
26
|
import"./index-1zx87sdm.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-ab3bgm2m.js";
|
|
28
|
+
import"./index-vnjhmkwk.js";
|
|
29
29
|
import"./index-v0p37hm2.js";
|
|
30
30
|
import"./index-k6xvbj2e.js";
|
|
31
31
|
import"./index-h2wc01qk.js";
|
|
32
32
|
import"./index-1bt88epp.js";
|
|
33
33
|
import"./index-58e3y90n.js";
|
|
34
34
|
import"./index-4mjhqadz.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-0nnd4bry.js";
|
|
36
36
|
import"./index-qx53vezw.js";
|
|
37
37
|
import"./index-nsjyysj0.js";
|
|
38
38
|
import"./index-0sahzkwr.js";
|
package/dist/{send-session-notification-yp9m5g4p.js → send-session-notification-3j6krd4w.js}
RENAMED
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
clearIgnoredMessages2,
|
|
9
9
|
observeIgnoredNotificationEvent2,
|
|
10
10
|
sendStatusNotification2
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-hr64sth2.js";
|
|
12
12
|
import"./index-qt1qqasc.js";
|
|
13
13
|
import"./index-tqf7yg27.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-ab3bgm2m.js";
|
|
15
|
+
import"./index-vnjhmkwk.js";
|
|
16
16
|
import"./index-v0p37hm2.js";
|
|
17
17
|
import"./index-58e3y90n.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-0nnd4bry.js";
|
|
19
19
|
import"./index-nsjyysj0.js";
|
|
20
20
|
import"./index-0sahzkwr.js";
|
|
21
21
|
import"./index-pavzsdc6.js";
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
deleteMemory2,
|
|
32
32
|
getMemoryCount2,
|
|
33
33
|
getMemoryCountsByStatus2
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-cm4hmxyk.js";
|
|
35
35
|
import"./index-4dhv7mqz.js";
|
|
36
36
|
import"./index-fr0wbhdn.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-0nnd4bry.js";
|
|
38
38
|
export {
|
|
39
39
|
COLUMN_MAP2 as COLUMN_MAP,
|
|
40
40
|
ModuleMemoryAuthorityError2 as ModuleMemoryAuthorityError,
|
|
@@ -60,10 +60,10 @@ import {
|
|
|
60
60
|
adoptNullOwnerToolTag2,
|
|
61
61
|
getCandidateToolOwners2,
|
|
62
62
|
pickNearestPriorOwner2
|
|
63
|
-
} from "./index-
|
|
63
|
+
} from "./index-1j8jcjpa.js";
|
|
64
64
|
import"./index-1zx87sdm.js";
|
|
65
65
|
import"./index-1bt88epp.js";
|
|
66
|
-
import"./index-
|
|
66
|
+
import"./index-0nnd4bry.js";
|
|
67
67
|
import"./index-qx53vezw.js";
|
|
68
68
|
import"./index-nsjyysj0.js";
|
|
69
69
|
import"./index-0sahzkwr.js";
|