@cortexkit/opencode-magic-context 0.49.57 → 0.49.60
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/{announcement-9pr71hd5.js → announcement-p41dde4h.js} +2 -2
- package/dist/auto-search-worker.js +5 -5
- package/dist/chunk-embedding-write-worker.js +13 -13
- package/dist/{compaction-marker-candidates-8hazqfvj.js → compaction-marker-candidates-1ndjqh9k.js} +2 -2
- package/dist/compaction-marker-candidates-worker.js +1 -1
- package/dist/{compartment-chunk-embedding-gfd093f8.js → compartment-chunk-embedding-ymc9mtwv.js} +7 -7
- package/dist/{conflict-warning-hook-56qpq7ws.js → conflict-warning-hook-m8yezwdj.js} +7 -7
- package/dist/{context-a617pcqe.js → context-45fde2p4.js} +41 -40
- package/dist/{derive-budgets-z53424qx.js → derive-budgets-def8genf.js} +2 -2
- package/dist/{embedding-backfill-2dvf3rcn.js → embedding-backfill-sk7agn5v.js} +12 -12
- package/dist/embedding-worker-process.js +1 -1
- package/dist/embedding-worker.js +4 -4
- package/dist/{history-owner-n50e0e8y.js → history-owner-xqfsvf9k.js} +2 -2
- package/dist/hooks/magic-context/command-handler.d.ts +2 -0
- package/dist/hooks/magic-context/command-handler.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-historian.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/{index-5ptp2de1.js → index-0cz8bsyx.js} +9 -9
- package/dist/{index-r9agn061.js → index-1sq1krqw.js} +4 -4
- package/dist/{index-b6rdv8re.js → index-3hk445am.js} +4 -4
- package/dist/{index-x8e50d8f.js → index-3wq9btxt.js} +5 -5
- package/dist/{index-by14cr73.js → index-3yyfftqq.js} +11 -11
- package/dist/{index-3600gm9z.js → index-4yjn3er4.js} +113 -73
- package/dist/{index-0tz2fzpq.js → index-5vsk2cpp.js} +1 -1
- package/dist/{index-90z05d0p.js → index-832w615x.js} +1 -1
- package/dist/{index-sk6p6esd.js → index-8sc7vqt7.js} +4 -4
- package/dist/{index-cd3vp8xa.js → index-98qy103c.js} +1 -1
- package/dist/{index-29ff546v.js → index-d0feqcs5.js} +6 -6
- package/dist/{index-gz001bx7.js → index-e6ncz7a6.js} +1 -1
- package/dist/{index-reyws9fy.js → index-esqcwes7.js} +1 -1
- package/dist/{index-h62j8z2r.js → index-ev2rrjfc.js} +4 -4
- package/dist/{index-sx1sppd6.js → index-gq1g9a3a.js} +8 -8
- package/dist/{index-ga5q492k.js → index-gqf8r04r.js} +1 -1
- package/dist/{index-qperbvjn.js → index-jg7sbt3v.js} +2 -2
- package/dist/{index-9mggb1nv.js → index-jrj95cce.js} +2 -2
- package/dist/{index-1wsb0e8h.js → index-kv4ntrr6.js} +5 -5
- package/dist/{index-tad3can2.js → index-m0pwswv9.js} +1 -1
- package/dist/{index-pdh4tdcq.js → index-n6aye6ny.js} +2 -2
- package/dist/{index-gapnh6tk.js → index-ngwmx6nt.js} +8 -3
- package/dist/{index-hsyczpn7.js → index-pxnzyvjc.js} +2 -2
- package/dist/{index-kn1bx21r.js → index-pzvdf7sr.js} +3 -3
- package/dist/{index-36wseasx.js → index-q7q6qp1f.js} +1 -1
- package/dist/{index-0r2jk2na.js → index-qdver0af.js} +14 -14
- package/dist/{index-zyanqxtc.js → index-s2jdky2x.js} +3 -3
- package/dist/{index-pdnan1e3.js → index-s2qsd3w9.js} +7 -7
- package/dist/{index-2ny9xwdn.js → index-s32f8y67.js} +2 -2
- package/dist/{index-hexdee98.js → index-snbpdpa3.js} +4 -4
- package/dist/{index-dhdv88e5.js → index-tebcx987.js} +1 -1
- package/dist/{index-5gqszjq9.js → index-tq20edcs.js} +3 -3
- package/dist/{index-0k283v27.js → index-tzy5h4x6.js} +1 -1
- package/dist/{index-em92bp7f.js → index-x40zr813.js} +2 -2
- package/dist/{index-sv5tn72j.js → index-xx05vta0.js} +4 -4
- package/dist/{index-82dfe8en.js → index-ywrz4wy2.js} +9 -4
- package/dist/{index-bev3zks1.js → index-ywxvdwmj.js} +9 -9
- package/dist/{index-xstbytjn.js → index-zb4h9nrk.js} +2 -2
- package/dist/{index-2vsd5064.js → index-zxj39ba2.js} +4 -4
- package/dist/{index-wpcjxzrm.js → index-zz4k3f65.js} +39 -39
- package/dist/index.js +51 -50
- package/dist/{logger-sw7z6sjz.js → logger-d7c8akh9.js} +1 -1
- package/dist/{message-fts-rowid-map-kx1bsdyg.js → message-fts-rowid-map-0xx8ge09.js} +4 -4
- package/dist/{message-index-bounded-xav3h8qe.js → message-index-bounded-f6yz4xq8.js} +10 -10
- package/dist/{message-time-backfill-hp2jgn49.js → message-time-backfill-pz5981mf.js} +2 -2
- package/dist/migration-worker.js +10 -10
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/{project-embedding-registry-f2azrq24.js → project-embedding-registry-c2sfnamh.js} +11 -11
- package/dist/raw-ordinal-warmup-worker.js +8 -8
- package/dist/{read-session-chunk-70aam2c1.js → read-session-chunk-8b1g06nz.js} +8 -8
- package/dist/{read-session-raw-04ger9zt.js → read-session-raw-3sc9231y.js} +2 -2
- package/dist/{recomp-orchestrator-xwsjrqcs.js → recomp-orchestrator-7s8nyzhy.js} +29 -29
- package/dist/{render-22ebrmep.js → render-nrfbtkkw.js} +19 -19
- package/dist/{safe-notification-target-mx5khyxf.js → safe-notification-target-d21swr3n.js} +2 -2
- package/dist/{search-archive-bqqf5p7f.js → search-archive-1ppdjfm9.js} +10 -10
- package/dist/{search-jfwb4ms3.js → search-xha0r30f.js} +22 -22
- package/dist/{send-session-notification-gamjee2f.js → send-session-notification-ykvt5k2s.js} +5 -5
- package/dist/shared/data-path.d.ts +31 -36
- package/dist/shared/data-path.d.ts.map +1 -1
- package/dist/shared/models-dev-cache.d.ts.map +1 -1
- package/dist/shared/test-temp-dir.d.ts +28 -0
- package/dist/shared/test-temp-dir.d.ts.map +1 -1
- package/dist/shared/window-geometry.d.ts.map +1 -1
- package/dist/{storage-tags-arnkn5t1.js → storage-tags-spet01yb.js} +5 -5
- package/dist/{transform-postprocess-phase-nejydt3q.js → transform-postprocess-phase-fxp1atm1.js} +30 -30
- package/dist/v2/auto-search-worker.js +5 -5
- package/dist/v2/chunk-embedding-write-worker.js +13 -13
- package/dist/v2/{compaction-marker-candidates-re14353a.js → compaction-marker-candidates-bp1bn579.js} +2 -2
- package/dist/v2/compaction-marker-candidates-worker.js +1 -1
- package/dist/v2/{compartment-chunk-embedding-0pxsrzrt.js → compartment-chunk-embedding-x6qw6mjk.js} +7 -7
- package/dist/v2/{context-4gxr2xd4.js → context-77g3jhf2.js} +43 -42
- package/dist/v2/{derive-budgets-w0815q82.js → derive-budgets-z93fdnp7.js} +3 -3
- package/dist/v2/{embedding-backfill-48qbnh7p.js → embedding-backfill-j2xj86zn.js} +12 -12
- package/dist/v2/embedding-worker-process.js +1 -1
- package/dist/v2/embedding-worker.js +4 -4
- package/dist/v2/{history-owner-ep91wgqj.js → history-owner-260djmv5.js} +2 -2
- package/dist/v2/hooks/claude-agent-instructions.d.ts +27 -0
- package/dist/v2/hooks/claude-agent-instructions.d.ts.map +1 -0
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/hidden-child.d.ts +15 -2
- package/dist/v2/hooks/hidden-child.d.ts.map +1 -1
- package/dist/v2/{logger-xnscpj6w.js → logger-zyf43np1.js} +1 -1
- package/dist/v2/{message-fts-rowid-map-57jh6xpb.js → message-fts-rowid-map-n8mcvcpz.js} +4 -4
- package/dist/v2/{message-index-bounded-sw8hyqw1.js → message-index-bounded-0w8eh8fc.js} +10 -10
- package/dist/v2/{message-time-backfill-baxebka0.js → message-time-backfill-ynb3vg6r.js} +2 -2
- package/dist/v2/migration-worker.js +10 -10
- package/dist/v2/{project-embedding-registry-kwahtjgg.js → project-embedding-registry-k0hjqt11.js} +11 -11
- package/dist/v2/raw-ordinal-warmup-worker.js +8 -8
- package/dist/v2/{read-session-chunk-nqkn0yb4.js → read-session-chunk-dxs1tgt9.js} +8 -8
- package/dist/v2/{read-session-raw-3e482h3c.js → read-session-raw-wg5zc29f.js} +2 -2
- package/dist/v2/{recomp-orchestrator-1de5c0zr.js → recomp-orchestrator-zc1wdv9q.js} +30 -30
- package/dist/v2/{render-g44ksejs.js → render-9knrdrjs.js} +19 -19
- package/dist/v2/{safe-notification-target-9r79xnbt.js → safe-notification-target-y55z2zat.js} +2 -2
- package/dist/v2/{search-8dc9ex0a.js → search-a2a0qs3t.js} +21 -21
- package/dist/v2/{search-archive-5ycchnyp.js → search-archive-2jmyvj69.js} +10 -10
- package/dist/v2/{send-session-notification-95p89k7q.js → send-session-notification-8g4r97bp.js} +5 -5
- package/dist/v2/{server-sa1fdt41.js → server-2adwe0be.js} +8 -3
- package/dist/v2/{server-7vrtk78d.js → server-3ap5dmhc.js} +1 -1
- package/dist/v2/{server-avfc9ezb.js → server-4r86tcs2.js} +3 -3
- package/dist/v2/{server-np27dgyt.js → server-5sbsnpkn.js} +1 -1
- package/dist/v2/{server-rz5jnhnv.js → server-6ash6z8z.js} +1 -1
- package/dist/v2/{server-beydmd68.js → server-88n85n60.js} +4 -4
- package/dist/v2/{server-dqwx9pdh.js → server-8hcxmt1w.js} +115 -75
- package/dist/v2/{server-g61hgy1y.js → server-8pdfmc27.js} +4 -4
- package/dist/v2/{server-gge95a03.js → server-8ycacd59.js} +6 -6
- package/dist/v2/{server-t5c8awdm.js → server-9ab9jnpq.js} +3 -3
- package/dist/v2/{server-r7nj8ga0.js → server-9m5r04ws.js} +5 -5
- package/dist/v2/{server-5p0bjk3y.js → server-9sf3qp02.js} +2 -2
- package/dist/v2/{server-5kgesxck.js → server-aewxmvnf.js} +2 -2
- package/dist/v2/{server-3yk44ddz.js → server-afsz3cmx.js} +1 -1
- package/dist/v2/{server-c8z2grq0.js → server-at0v0z4t.js} +1 -1
- package/dist/v2/{server-v817sf79.js → server-d07yxksx.js} +2 -2
- package/dist/v2/{server-kwtnrhv3.js → server-d706s5xn.js} +2 -2
- package/dist/v2/{server-ycvqg2s3.js → server-d9aayyxk.js} +4 -4
- package/dist/v2/{server-966dq3pd.js → server-ds8vpfkr.js} +2 -2
- package/dist/v2/{server-bb6kf05j.js → server-j8376q08.js} +9 -4
- package/dist/v2/{server-7waad75d.js → server-ja6swvmb.js} +11 -11
- package/dist/v2/{server-tmf0ayqp.js → server-jdfe07mp.js} +1 -1
- package/dist/v2/{server-6k0rnwbd.js → server-jn4pktdk.js} +4 -4
- package/dist/v2/{server-qp5sj6n5.js → server-jtq03rkb.js} +2 -2
- package/dist/v2/{server-91gb0vh8.js → server-npdey91q.js} +1 -1
- package/dist/v2/{server-vqq3g1t7.js → server-qjff96a6.js} +4 -4
- package/dist/v2/{server-4x0xq8a1.js → server-rbtx6q5v.js} +1 -1
- package/dist/v2/{server-jwydbwcx.js → server-svx20ra2.js} +4 -4
- package/dist/v2/{server-v57wr0r9.js → server-t8tmrtcg.js} +9 -9
- package/dist/v2/{server-0ayyh3mx.js → server-tzh55x6d.js} +9 -9
- package/dist/v2/{server-mxsy9h1d.js → server-x6fn9x8q.js} +2 -2
- package/dist/v2/{server-b0357as4.js → server-xepx8t43.js} +2 -2
- package/dist/v2/{server-3jc6qmdz.js → server-y8xjr8rx.js} +1 -1
- package/dist/v2/{server-rpmkz5ta.js → server-z5255w05.js} +8 -8
- package/dist/v2/server.js +5 -5
- package/dist/v2/{storage-tags-19da4c0m.js → storage-tags-50wsqg3t.js} +5 -5
- package/dist/v2/{v2-archive-reader-tgydjgfy.js → v2-archive-reader-ycjh6a2d.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-3871zj7c.js → wrapup-orchestrator-fyyb28jf.js} +30 -30
- package/dist/{v2-archive-reader-2czwvyc9.js → v2-archive-reader-wec0a8fx.js} +1 -1
- package/dist/wrapup-orchestrator-560v99mk.js +54 -0
- package/package.json +1 -1
- package/src/shared/data-path.test.ts +27 -10
- package/src/shared/data-path.ts +39 -39
- package/src/shared/models-dev-cache.test.ts +11 -0
- package/src/shared/models-dev-cache.ts +7 -1
- package/src/shared/test-temp-dir.ts +59 -0
- package/src/shared/window-geometry.test.ts +20 -0
- package/src/shared/window-geometry.ts +3 -0
- package/dist/wrapup-orchestrator-m1yzmgq4.js +0 -54
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./index-6nqz8hsz.js";
|
|
4
4
|
import {
|
|
5
5
|
log2
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-ywrz4wy2.js";
|
|
7
7
|
import {
|
|
8
8
|
isSynapseEmbeddingTruncated,
|
|
9
9
|
SynapseEmbeddingProvider
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-pxnzyvjc.js";
|
|
11
11
|
import {
|
|
12
12
|
LocalEmbeddingProvider
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-zb4h9nrk.js";
|
|
14
14
|
import {
|
|
15
15
|
OpenAICompatibleEmbeddingProvider,
|
|
16
16
|
getProjectEmbeddingSnapshot2,
|
|
17
17
|
embedBatchForProject2
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-gq1g9a3a.js";
|
|
19
19
|
import {
|
|
20
20
|
isEmbeddingHostBusy2
|
|
21
21
|
} from "./index-qt1qqasc.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
log2,
|
|
29
29
|
sessionLog2,
|
|
30
30
|
getLoggerDiagnostics2
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-ywrz4wy2.js";
|
|
32
32
|
import {
|
|
33
33
|
sanitizeDiagnosticText,
|
|
34
34
|
hasShareabilitySensitiveText
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
storedPathBelongsToIdentity,
|
|
72
72
|
beginBootQuietPeriod,
|
|
73
73
|
scheduleAfterBootQuiet
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-tzy5h4x6.js";
|
|
75
75
|
import {
|
|
76
76
|
recordSessionProjectIdentity,
|
|
77
77
|
hasRecordedSessionProjectIdentity,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
markGitSweepSuccessAndRelease,
|
|
82
82
|
parkGitSweepNonIndexable,
|
|
83
83
|
releaseGitSweepLease
|
|
84
|
-
} from "./index-
|
|
84
|
+
} from "./index-jg7sbt3v.js";
|
|
85
85
|
import {
|
|
86
86
|
getMagicContextBuiltinCommands,
|
|
87
87
|
formatConfigParseStatusLine,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
snapRangeToCompartments,
|
|
197
197
|
getActiveCompartmentRun,
|
|
198
198
|
startCompartmentAgent
|
|
199
|
-
} from "./index-
|
|
199
|
+
} from "./index-4yjn3er4.js";
|
|
200
200
|
import {
|
|
201
201
|
hasTrustedAbsoluteWall,
|
|
202
202
|
applyProvenInputFloor,
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
deriveTriggerBudget2,
|
|
209
209
|
resolveKnownHistorianContextLimit2,
|
|
210
210
|
resolveHistorianProducerLimits2
|
|
211
|
-
} from "./index-
|
|
211
|
+
} from "./index-ngwmx6nt.js";
|
|
212
212
|
import {
|
|
213
213
|
resolveModelCalibration,
|
|
214
214
|
calibrateBuckets,
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
estimateTokens,
|
|
223
223
|
estimateFixedPromptTokens,
|
|
224
224
|
normalizeText
|
|
225
|
-
} from "./index-
|
|
225
|
+
} from "./index-5vsk2cpp.js";
|
|
226
226
|
import {
|
|
227
227
|
protectedToolTokenCount,
|
|
228
228
|
peelLeadingMcTagNotation,
|
|
@@ -355,13 +355,13 @@ import {
|
|
|
355
355
|
getTagsByNumbers2,
|
|
356
356
|
getDroppedTagsByNumbers2,
|
|
357
357
|
getMaxDroppedTagNumber2
|
|
358
|
-
} from "./index-
|
|
358
|
+
} from "./index-8sc7vqt7.js";
|
|
359
359
|
import {
|
|
360
360
|
BoundedSessionMap,
|
|
361
361
|
observeTemporalDecisions,
|
|
362
362
|
stableStringify,
|
|
363
363
|
getMeasuredToolDefinitionTokens
|
|
364
|
-
} from "./index-
|
|
364
|
+
} from "./index-jrj95cce.js";
|
|
365
365
|
import {
|
|
366
366
|
withContentLanguageDirective,
|
|
367
367
|
string,
|
|
@@ -388,7 +388,7 @@ import {
|
|
|
388
388
|
extractInMemoryMessageViews2,
|
|
389
389
|
buildInMemoryTailRawMessages2,
|
|
390
390
|
RawOrdinalsNotReady2
|
|
391
|
-
} from "./index-
|
|
391
|
+
} from "./index-q7q6qp1f.js";
|
|
392
392
|
import {
|
|
393
393
|
openCodeDbExists,
|
|
394
394
|
withReadOnlySessionDb,
|
|
@@ -396,7 +396,7 @@ import {
|
|
|
396
396
|
latestPersistedMessageForRecovery,
|
|
397
397
|
latestRealUserTurnIdFromOpenCodeDb,
|
|
398
398
|
findLastAssistantModelFromOpenCodeDb
|
|
399
|
-
} from "./index-
|
|
399
|
+
} from "./index-x40zr813.js";
|
|
400
400
|
import {
|
|
401
401
|
askAnswerLines,
|
|
402
402
|
estimateTrueRawMessageTokens,
|
|
@@ -427,7 +427,7 @@ import {
|
|
|
427
427
|
readRawSessionMessageById2,
|
|
428
428
|
readSessionChunk2,
|
|
429
429
|
readRawSessionSeedTail2
|
|
430
|
-
} from "./index-
|
|
430
|
+
} from "./index-d0feqcs5.js";
|
|
431
431
|
import {
|
|
432
432
|
isFailClosedBlockingError,
|
|
433
433
|
shouldBypassFailClosedBlock,
|
|
@@ -439,7 +439,7 @@ import {
|
|
|
439
439
|
rpcPortFilePath,
|
|
440
440
|
parseRpcPortFile,
|
|
441
441
|
inspectProcessesAsync
|
|
442
|
-
} from "./index-
|
|
442
|
+
} from "./index-gqf8r04r.js";
|
|
443
443
|
import {
|
|
444
444
|
configureContextDatabasePragmas2
|
|
445
445
|
} from "./index-fb3zxn06.js";
|
|
@@ -453,7 +453,7 @@ import {
|
|
|
453
453
|
runSqliteOptimize,
|
|
454
454
|
openDatabase,
|
|
455
455
|
openCurrentDatabase
|
|
456
|
-
} from "./index-
|
|
456
|
+
} from "./index-0cz8bsyx.js";
|
|
457
457
|
import {
|
|
458
458
|
unescapeXml,
|
|
459
459
|
resolveWorkspaceShareCategories,
|
|
@@ -462,7 +462,7 @@ import {
|
|
|
462
462
|
resolveStoredPathWorkspaceIdentity,
|
|
463
463
|
storedPathBelongsToWorkspace,
|
|
464
464
|
computeWorkspaceEpochFingerprint
|
|
465
|
-
} from "./index-
|
|
465
|
+
} from "./index-xx05vta0.js";
|
|
466
466
|
import {
|
|
467
467
|
V2_MEMORY_CATEGORIES,
|
|
468
468
|
CATEGORY_PRIORITY
|
|
@@ -484,7 +484,7 @@ import {
|
|
|
484
484
|
toSynapseLaneDescriptor,
|
|
485
485
|
formatSynapseLaneDescriptor,
|
|
486
486
|
SynapseEmbeddingProvider
|
|
487
|
-
} from "./index-
|
|
487
|
+
} from "./index-pxnzyvjc.js";
|
|
488
488
|
import {
|
|
489
489
|
getCompartments,
|
|
490
490
|
getLastCompartmentEndMessage,
|
|
@@ -569,10 +569,10 @@ import {
|
|
|
569
569
|
GLOBAL_USER_PROFILE_PROJECT_PATH,
|
|
570
570
|
getProjectState,
|
|
571
571
|
bumpProjectUserProfileVersion
|
|
572
|
-
} from "./index-
|
|
572
|
+
} from "./index-ywxvdwmj.js";
|
|
573
573
|
import {
|
|
574
574
|
getLastIndexedOrdinal
|
|
575
|
-
} from "./index-
|
|
575
|
+
} from "./index-ev2rrjfc.js";
|
|
576
576
|
import {
|
|
577
577
|
SESSION_NOTE_CONDITION_ERROR,
|
|
578
578
|
getNoteByIdInScope,
|
|
@@ -598,7 +598,7 @@ import {
|
|
|
598
598
|
createPrimer,
|
|
599
599
|
updatePrimerSupport,
|
|
600
600
|
updatePrimerAnswer
|
|
601
|
-
} from "./index-
|
|
601
|
+
} from "./index-tebcx987.js";
|
|
602
602
|
import {
|
|
603
603
|
registerNotificationSink2,
|
|
604
604
|
pushNotification2,
|
|
@@ -610,7 +610,7 @@ import {
|
|
|
610
610
|
getCachedLocalEmbeddingPooling,
|
|
611
611
|
preflightLocalEmbeddingPooling,
|
|
612
612
|
getLocalEmbeddingNativeMemoryStats
|
|
613
|
-
} from "./index-
|
|
613
|
+
} from "./index-zb4h9nrk.js";
|
|
614
614
|
import {
|
|
615
615
|
withQueryEmbeddingDeadline,
|
|
616
616
|
describeShadowBackfillWriteRefusal2,
|
|
@@ -631,7 +631,7 @@ import {
|
|
|
631
631
|
embedSessionCompartmentChunks2,
|
|
632
632
|
getEmbeddingCoverageStatus2,
|
|
633
633
|
getAutoEmbeddingSessionCoverage2
|
|
634
|
-
} from "./index-
|
|
634
|
+
} from "./index-gq1g9a3a.js";
|
|
635
635
|
import {
|
|
636
636
|
saveEmbeddingIfHashMatches,
|
|
637
637
|
invalidateProject2,
|
|
@@ -639,7 +639,7 @@ import {
|
|
|
639
639
|
} from "./index-4dhv7mqz.js";
|
|
640
640
|
import {
|
|
641
641
|
cosineSimilarity
|
|
642
|
-
} from "./index-
|
|
642
|
+
} from "./index-zxj39ba2.js";
|
|
643
643
|
import {
|
|
644
644
|
computeCueContentHash,
|
|
645
645
|
hasMuralCueColumns,
|
|
@@ -685,7 +685,7 @@ import {
|
|
|
685
685
|
readGitFileChangeTimesSince,
|
|
686
686
|
verificationFileExists,
|
|
687
687
|
normalizeVerificationFiles
|
|
688
|
-
} from "./index-
|
|
688
|
+
} from "./index-n6aye6ny.js";
|
|
689
689
|
import {
|
|
690
690
|
renderSingleStoreMigrationRequiredRefusal,
|
|
691
691
|
SingleStoreMigrationRequiredError,
|
|
@@ -706,23 +706,23 @@ import {
|
|
|
706
706
|
resolveMemoriesByIdsForSearch2,
|
|
707
707
|
unifiedSearch2,
|
|
708
708
|
formatSearchResults2
|
|
709
|
-
} from "./index-
|
|
709
|
+
} from "./index-3yyfftqq.js";
|
|
710
710
|
import {
|
|
711
711
|
scheduleReconciliation,
|
|
712
712
|
scheduleIncrementalIndex,
|
|
713
713
|
getMessageIndexQueueHeapStats,
|
|
714
714
|
clearSessionTracking
|
|
715
|
-
} from "./index-
|
|
715
|
+
} from "./index-3hk445am.js";
|
|
716
716
|
import {
|
|
717
717
|
flushIgnoredMessages2,
|
|
718
718
|
clearIgnoredMessages2,
|
|
719
719
|
observeIgnoredNotificationEvent2,
|
|
720
720
|
sendStatusNotification2
|
|
721
|
-
} from "./index-
|
|
721
|
+
} from "./index-1sq1krqw.js";
|
|
722
722
|
import {
|
|
723
723
|
setRecompStarting2,
|
|
724
724
|
setRecompTerminal2
|
|
725
|
-
} from "./index-
|
|
725
|
+
} from "./index-3wq9btxt.js";
|
|
726
726
|
import {
|
|
727
727
|
makeToolCompositeKey,
|
|
728
728
|
searchMessageHistoryOffThread,
|
|
@@ -807,14 +807,14 @@ import {
|
|
|
807
807
|
abortSessionFailClosed2,
|
|
808
808
|
evaluateEmergencyFailClosed2,
|
|
809
809
|
runPostTransformPhase2
|
|
810
|
-
} from "./index-
|
|
810
|
+
} from "./index-qdver0af.js";
|
|
811
811
|
import {
|
|
812
812
|
ANNOUNCEMENT_VERSION2,
|
|
813
813
|
ANNOUNCEMENT_FEATURES2,
|
|
814
814
|
ANNOUNCEMENT_FOOTER2,
|
|
815
815
|
markAnnouncementSeen2,
|
|
816
816
|
shouldShowAnnouncement2
|
|
817
|
-
} from "./index-
|
|
817
|
+
} from "./index-98qy103c.js";
|
|
818
818
|
import {
|
|
819
819
|
resolvePromptContext2
|
|
820
820
|
} from "./index-fmsr7v69.js";
|
|
@@ -822,13 +822,13 @@ import {
|
|
|
822
822
|
renderMessageByOrdinal2,
|
|
823
823
|
renderVerboseRangeForTool2,
|
|
824
824
|
renderItemByTag2
|
|
825
|
-
} from "./index-
|
|
825
|
+
} from "./index-tq20edcs.js";
|
|
826
826
|
import {
|
|
827
827
|
readV2ArchiveOffThread2
|
|
828
|
-
} from "./index-
|
|
828
|
+
} from "./index-s2jdky2x.js";
|
|
829
829
|
import {
|
|
830
830
|
renderSearchArchiveOffThread2
|
|
831
|
-
} from "./index-
|
|
831
|
+
} from "./index-kv4ntrr6.js";
|
|
832
832
|
import {
|
|
833
833
|
COMPACTION_ENABLED_PATH,
|
|
834
834
|
isDreamerRunnable,
|
|
@@ -862,7 +862,7 @@ import {
|
|
|
862
862
|
} from "./index-8ajstryz.js";
|
|
863
863
|
import {
|
|
864
864
|
logSlowWriteTransaction
|
|
865
|
-
} from "./index-
|
|
865
|
+
} from "./index-m0pwswv9.js";
|
|
866
866
|
import {
|
|
867
867
|
shouldEnforcePrivateStoragePermissions,
|
|
868
868
|
ensureStorageDirectorySync,
|
|
@@ -14707,7 +14707,7 @@ async function executeDreaming(deps, sessionId, argText) {
|
|
|
14707
14707
|
const dreamNotificationParams = {
|
|
14708
14708
|
toastDurationMs: deps.sampleToastDurationMs?.() ?? deps.toastDurationMs ?? 5000
|
|
14709
14709
|
};
|
|
14710
|
-
if (!deps.dreamer) {
|
|
14710
|
+
if (!deps.dreamer || deps.dreamer.isDisabled?.() === true) {
|
|
14711
14711
|
await deps.sendNotification(sessionId, `## /ctx-dream
|
|
14712
14712
|
|
|
14713
14713
|
Dreaming is not configured for this project.`, dreamNotificationParams);
|
|
@@ -16397,7 +16397,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16397
16397
|
return { count: buildCompartmentCount(db, sessionId, moduleStatus) };
|
|
16398
16398
|
});
|
|
16399
16399
|
const buildManagedCtx = async (db) => {
|
|
16400
|
-
const { deriveHistorianChunkTokens, resolveHistorianContextLimit } = await importPluginModule(() => import("./derive-budgets-
|
|
16400
|
+
const { deriveHistorianChunkTokens, resolveHistorianContextLimit } = await importPluginModule(() => import("./derive-budgets-def8genf.js"));
|
|
16401
16401
|
const { resolveHistorianModel } = await importPluginModule(() => import("./model-resolution-280gmqvd.js"));
|
|
16402
16402
|
const { userObservationCollectionEnabled, userObservationsRequested } = await importPluginModule(() => import("./task-config-t6bpyka7.js"));
|
|
16403
16403
|
const DEFAULT_HISTORIAN_TIMEOUT_MS = 10 * 60 * 1000;
|
|
@@ -16430,7 +16430,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16430
16430
|
return { ok: false, error: "no session" };
|
|
16431
16431
|
const readDirectory = args.readSessionDirectory;
|
|
16432
16432
|
if (readDirectory) {
|
|
16433
|
-
const { handoffHistoryWork } = await import("./history-owner-
|
|
16433
|
+
const { handoffHistoryWork } = await import("./history-owner-xqfsvf9k.js");
|
|
16434
16434
|
const handed = await handoffHistoryWork({
|
|
16435
16435
|
storageDir: args.storageDir ?? getMagicContextStorageDir(),
|
|
16436
16436
|
directory,
|
|
@@ -16449,8 +16449,8 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16449
16449
|
const db = readDatabase();
|
|
16450
16450
|
if (!db)
|
|
16451
16451
|
return { ok: false, error: "db unavailable" };
|
|
16452
|
-
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-
|
|
16453
|
-
const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-
|
|
16452
|
+
const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-7s8nyzhy.js"));
|
|
16453
|
+
const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-ykvt5k2s.js"));
|
|
16454
16454
|
log2(`[rpc] recomp requested for session ${sessionId}`);
|
|
16455
16455
|
if (!args.client && !args.hiddenCompletionExecutor) {
|
|
16456
16456
|
return {
|
|
@@ -16508,7 +16508,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16508
16508
|
rpcServer.handle("wrapup", async (params) => {
|
|
16509
16509
|
const readDirectory = args.readSessionDirectory;
|
|
16510
16510
|
if (readDirectory && params.sessionId) {
|
|
16511
|
-
const { handoffHistoryWork } = await import("./history-owner-
|
|
16511
|
+
const { handoffHistoryWork } = await import("./history-owner-xqfsvf9k.js");
|
|
16512
16512
|
const sessionId = String(params.sessionId);
|
|
16513
16513
|
const handed = await handoffHistoryWork({
|
|
16514
16514
|
storageDir: args.storageDir ?? getMagicContextStorageDir(),
|
|
@@ -16534,7 +16534,7 @@ function registerRpcHandlers(rpcServer, args) {
|
|
|
16534
16534
|
const db = readDatabase();
|
|
16535
16535
|
if (!db)
|
|
16536
16536
|
return { ok: false, error: "db unavailable" };
|
|
16537
|
-
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-
|
|
16537
|
+
const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-560v99mk.js"));
|
|
16538
16538
|
const model = liveSessionState.liveModelBySession.get(sessionId);
|
|
16539
16539
|
const contextLimit = model ? resolveContextLimit(model.providerID, model.modelID, { db, sessionID: sessionId }) : 128000;
|
|
16540
16540
|
const ctx = {
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
recordToolParameters,
|
|
5
5
|
createDroppedInputToolExecuteBeforeHook,
|
|
6
6
|
readRawSessionMessages2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-d0feqcs5.js";
|
|
8
8
|
import {
|
|
9
9
|
setHarness2
|
|
10
10
|
} from "./index-pavzsdc6.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
log2,
|
|
19
19
|
sessionLog2,
|
|
20
20
|
flushLogger2
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-ywrz4wy2.js";
|
|
22
22
|
import"./index-z4p0ry94.js";
|
|
23
23
|
import {
|
|
24
24
|
withContentLanguageDirective,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
checkCompactionMarkerConsistency,
|
|
59
59
|
clearInjectionCache,
|
|
60
60
|
clearNoteNudgeTriggerOnly
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-4yjn3er4.js";
|
|
62
62
|
import"./index-sd3egckz.js";
|
|
63
63
|
import {
|
|
64
64
|
hasTrustedAbsoluteWall,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
deriveHistorianChunkTokens2,
|
|
69
69
|
resolveKnownHistorianContextLimit2,
|
|
70
70
|
resolveHistorianContextLimit2
|
|
71
|
-
} from "./index-
|
|
71
|
+
} from "./index-ngwmx6nt.js";
|
|
72
72
|
import {
|
|
73
73
|
buildDreamTaskRuntimeConfigs2,
|
|
74
74
|
userMemoryCollectionEnabled2,
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
parameterDescriptionsFor,
|
|
144
144
|
MagicContextRpcServer,
|
|
145
145
|
applyHiddenSubagentTemperature
|
|
146
|
-
} from "./index-
|
|
146
|
+
} from "./index-zz4k3f65.js";
|
|
147
147
|
import {
|
|
148
148
|
resolveOpenCodeDbPath,
|
|
149
149
|
openCodeDbPathExists,
|
|
@@ -170,13 +170,13 @@ import {
|
|
|
170
170
|
beginBootQuietPeriod,
|
|
171
171
|
bootQuietRemainingMs,
|
|
172
172
|
scheduleAfterBootQuiet
|
|
173
|
-
} from "./index-
|
|
173
|
+
} from "./index-tzy5h4x6.js";
|
|
174
174
|
import {
|
|
175
175
|
BoundedSessionMap,
|
|
176
176
|
deleteTemporalDecision,
|
|
177
177
|
recordToolDefinition,
|
|
178
178
|
getCurrentToolSetHash
|
|
179
|
-
} from "./index-
|
|
179
|
+
} from "./index-jrj95cce.js";
|
|
180
180
|
import {
|
|
181
181
|
observeSessionActivity,
|
|
182
182
|
backfillSessionActivity,
|
|
@@ -195,11 +195,11 @@ import {
|
|
|
195
195
|
dropServedRecord,
|
|
196
196
|
registerLkgPersistence,
|
|
197
197
|
dropSlot
|
|
198
|
-
} from "./index-
|
|
198
|
+
} from "./index-ywxvdwmj.js";
|
|
199
199
|
import {
|
|
200
200
|
recordSessionProjectIdentity
|
|
201
|
-
} from "./index-
|
|
202
|
-
import"./index-
|
|
201
|
+
} from "./index-jg7sbt3v.js";
|
|
202
|
+
import"./index-gqf8r04r.js";
|
|
203
203
|
import"./index-fb3zxn06.js";
|
|
204
204
|
import {
|
|
205
205
|
startBootDeadline,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
openDatabaseAsync,
|
|
211
211
|
isDatabasePersisted,
|
|
212
212
|
getDatabasePersistenceError
|
|
213
|
-
} from "./index-
|
|
213
|
+
} from "./index-0cz8bsyx.js";
|
|
214
214
|
import {
|
|
215
215
|
registerExitAbort,
|
|
216
216
|
unregisterExitAbort
|
|
@@ -219,37 +219,37 @@ import"./index-96ztjvkn.js";
|
|
|
219
219
|
import"./index-1d042x6w.js";
|
|
220
220
|
import {
|
|
221
221
|
forgetRawSessionOrdinalWatermark2
|
|
222
|
-
} from "./index-
|
|
223
|
-
import"./index-
|
|
224
|
-
import"./index-
|
|
222
|
+
} from "./index-q7q6qp1f.js";
|
|
223
|
+
import"./index-s32f8y67.js";
|
|
224
|
+
import"./index-xx05vta0.js";
|
|
225
225
|
import"./index-fr0wbhdn.js";
|
|
226
226
|
import {
|
|
227
227
|
preloadTokenizer
|
|
228
|
-
} from "./index-
|
|
229
|
-
import"./index-
|
|
228
|
+
} from "./index-5vsk2cpp.js";
|
|
229
|
+
import"./index-pxnzyvjc.js";
|
|
230
230
|
import {
|
|
231
231
|
getDefaultSubcConnectionFile,
|
|
232
232
|
SubcModuleTransport
|
|
233
|
-
} from "./index-
|
|
233
|
+
} from "./index-3yyfftqq.js";
|
|
234
234
|
import"./index-qt1qqasc.js";
|
|
235
|
-
import"./index-
|
|
235
|
+
import"./index-e6ncz7a6.js";
|
|
236
236
|
import {
|
|
237
237
|
observeOpenCodeTurnEvent,
|
|
238
238
|
clearTrackedOpenCodeSession,
|
|
239
239
|
findLastAssistantModelFromOpenCodeDb
|
|
240
|
-
} from "./index-
|
|
240
|
+
} from "./index-x40zr813.js";
|
|
241
241
|
import {
|
|
242
242
|
sendCommandResult2,
|
|
243
243
|
sendStatusNotification2
|
|
244
|
-
} from "./index-
|
|
244
|
+
} from "./index-1sq1krqw.js";
|
|
245
245
|
import {
|
|
246
246
|
detectConflicts,
|
|
247
247
|
resolveCompactionForBoot
|
|
248
|
-
} from "./index-
|
|
248
|
+
} from "./index-esqcwes7.js";
|
|
249
249
|
import {
|
|
250
250
|
sendConflictWarning2,
|
|
251
251
|
cleanupConflictWarnings2
|
|
252
|
-
} from "./index-
|
|
252
|
+
} from "./index-pzvdf7sr.js";
|
|
253
253
|
import"./index-1zx87sdm.js";
|
|
254
254
|
import {
|
|
255
255
|
stripPersistedAssistantText,
|
|
@@ -280,7 +280,7 @@ import {
|
|
|
280
280
|
isAnthropicFamilyRoute,
|
|
281
281
|
deleteTagsByMessageId2,
|
|
282
282
|
getMaxTagNumberBySession2
|
|
283
|
-
} from "./index-
|
|
283
|
+
} from "./index-8sc7vqt7.js";
|
|
284
284
|
import {
|
|
285
285
|
resolveHistorianModel2,
|
|
286
286
|
resolveOpenCodeAgentOverrides2,
|
|
@@ -290,24 +290,24 @@ import {
|
|
|
290
290
|
getEmbedDrainUiStatus,
|
|
291
291
|
clearEmbedSessionState
|
|
292
292
|
} from "./index-2amn2s73.js";
|
|
293
|
-
import"./index-
|
|
293
|
+
import"./index-snbpdpa3.js";
|
|
294
294
|
import {
|
|
295
295
|
deleteIndexedMessage
|
|
296
|
-
} from "./index-
|
|
296
|
+
} from "./index-ev2rrjfc.js";
|
|
297
297
|
import"./index-6athgjba.js";
|
|
298
|
-
import"./index-
|
|
298
|
+
import"./index-tebcx987.js";
|
|
299
299
|
import {
|
|
300
300
|
pushNotification2
|
|
301
301
|
} from "./index-x8a7jmkh.js";
|
|
302
|
-
import"./index-
|
|
302
|
+
import"./index-zb4h9nrk.js";
|
|
303
303
|
import {
|
|
304
304
|
getEmbeddingCoverageStatus2
|
|
305
|
-
} from "./index-
|
|
305
|
+
} from "./index-gq1g9a3a.js";
|
|
306
306
|
import"./index-4dhv7mqz.js";
|
|
307
|
-
import"./index-
|
|
307
|
+
import"./index-zxj39ba2.js";
|
|
308
308
|
import"./index-jjvbk92s.js";
|
|
309
|
-
import"./index-
|
|
310
|
-
import"./index-
|
|
309
|
+
import"./index-n6aye6ny.js";
|
|
310
|
+
import"./index-832w615x.js";
|
|
311
311
|
import {
|
|
312
312
|
createTagger,
|
|
313
313
|
cavemanWordRulesForLanguage,
|
|
@@ -317,25 +317,25 @@ import {
|
|
|
317
317
|
armBindingRecoverySafely,
|
|
318
318
|
collectForeignTextParts,
|
|
319
319
|
resetDegradedCacheCount2
|
|
320
|
-
} from "./index-
|
|
320
|
+
} from "./index-qdver0af.js";
|
|
321
321
|
import {
|
|
322
322
|
scheduleClearAndReindex
|
|
323
|
-
} from "./index-
|
|
323
|
+
} from "./index-3hk445am.js";
|
|
324
324
|
import {
|
|
325
325
|
runManagedRecomp2
|
|
326
|
-
} from "./index-
|
|
326
|
+
} from "./index-3wq9btxt.js";
|
|
327
327
|
import {
|
|
328
328
|
isValidSemver,
|
|
329
329
|
compareSemverCore
|
|
330
|
-
} from "./index-
|
|
330
|
+
} from "./index-98qy103c.js";
|
|
331
331
|
import"./index-fmsr7v69.js";
|
|
332
332
|
import {
|
|
333
333
|
runManagedWrapup2
|
|
334
|
-
} from "./index-
|
|
335
|
-
import"./index-
|
|
334
|
+
} from "./index-s2qsd3w9.js";
|
|
335
|
+
import"./index-tq20edcs.js";
|
|
336
336
|
import"./index-52x68mj4.js";
|
|
337
|
-
import"./index-
|
|
338
|
-
import"./index-
|
|
337
|
+
import"./index-s2jdky2x.js";
|
|
338
|
+
import"./index-kv4ntrr6.js";
|
|
339
339
|
import {
|
|
340
340
|
isDreamerRunnable,
|
|
341
341
|
isSmartNoteSurfaceAvailable,
|
|
@@ -355,7 +355,7 @@ import {
|
|
|
355
355
|
import {
|
|
356
356
|
closeQuietly
|
|
357
357
|
} from "./index-8ajstryz.js";
|
|
358
|
-
import"./index-
|
|
358
|
+
import"./index-m0pwswv9.js";
|
|
359
359
|
import {
|
|
360
360
|
setStoragePrivatePermissionEnforcement,
|
|
361
361
|
ensureStorageDirectorySync,
|
|
@@ -8203,7 +8203,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8203
8203
|
// package.json
|
|
8204
8204
|
var package_default = {
|
|
8205
8205
|
name: "@cortexkit/opencode-magic-context",
|
|
8206
|
-
version: "0.49.
|
|
8206
|
+
version: "0.49.60",
|
|
8207
8207
|
type: "module",
|
|
8208
8208
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8209
8209
|
main: "dist/index.js",
|
|
@@ -10783,6 +10783,7 @@ function createMagicContextHook(deps) {
|
|
|
10783
10783
|
dreamer: dreamerConfig ? {
|
|
10784
10784
|
config: dreamerConfig,
|
|
10785
10785
|
projectPath,
|
|
10786
|
+
isDisabled: () => (deps.sampleDreamConfig?.() ?? deps.config).dreamer?.disable === true,
|
|
10786
10787
|
runManual: (task) => {
|
|
10787
10788
|
const sampledDream = deps.sampleDreamConfig?.() ?? deps.config;
|
|
10788
10789
|
const currentDreamer = sampledDream.dreamer ?? dreamerConfig;
|
|
@@ -12080,7 +12081,7 @@ async function setup(context) {
|
|
|
12080
12081
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
12081
12082
|
log2(`[magic-context] Magic Context storage is at ${storageDir}, outside the folder Engram backs up (~/.local/share/cortexkit/magic-context). It is not included in CortexKit backups.`);
|
|
12082
12083
|
}
|
|
12083
|
-
const { registerContext } = await import("./context-
|
|
12084
|
+
const { registerContext } = await import("./context-45fde2p4.js");
|
|
12084
12085
|
setHarness2("opencode2");
|
|
12085
12086
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12086
12087
|
const duties = await registerContext(context);
|
|
@@ -12159,7 +12160,7 @@ var server = async (ctx) => {
|
|
|
12159
12160
|
if (hasBannerEntries)
|
|
12160
12161
|
setTimeout(async () => {
|
|
12161
12162
|
try {
|
|
12162
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12163
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-ykvt5k2s.js"));
|
|
12163
12164
|
const clientWithSessions = ctx.client;
|
|
12164
12165
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12165
12166
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12177,7 +12178,7 @@ var server = async (ctx) => {
|
|
|
12177
12178
|
log2(`[magic-context] opencode_db_missing path=${openCodeDbResolution.path} source=${openCodeDbResolution.source}`);
|
|
12178
12179
|
setTimeout(async () => {
|
|
12179
12180
|
try {
|
|
12180
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12181
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-ykvt5k2s.js"));
|
|
12181
12182
|
const clientWithSessions = ctx.client;
|
|
12182
12183
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12183
12184
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12450,12 +12451,12 @@ var server = async (ctx) => {
|
|
|
12450
12451
|
{
|
|
12451
12452
|
const fence = getSchemaFenceRejection();
|
|
12452
12453
|
if (fence) {
|
|
12453
|
-
importPluginModule(() => import("./conflict-warning-hook-
|
|
12454
|
+
importPluginModule(() => import("./conflict-warning-hook-m8yezwdj.js")).then(({ sendSchemaFenceWarning }) => sendSchemaFenceWarning(ctx.client, ctx.directory, fence)).catch((error) => log2("[magic-context] schema-fence warning unavailable:", error));
|
|
12454
12455
|
}
|
|
12455
12456
|
}
|
|
12456
12457
|
const serverUrl = ctx.serverUrl;
|
|
12457
12458
|
const serverUrlStr = serverUrl instanceof URL ? serverUrl.toString().replace(/\/$/, "") : typeof serverUrl === "string" ? serverUrl.replace(/\/$/, "") : undefined;
|
|
12458
|
-
importPluginModule(() => import("./send-session-notification-
|
|
12459
|
+
importPluginModule(() => import("./send-session-notification-ykvt5k2s.js")).then(({ setNotificationServerUrl }) => {
|
|
12459
12460
|
setNotificationServerUrl(serverUrlStr);
|
|
12460
12461
|
}).catch((error) => log2("[magic-context] notification transport unavailable:", error));
|
|
12461
12462
|
if (conflictResult?.hasConflict) {
|
|
@@ -12469,7 +12470,7 @@ var server = async (ctx) => {
|
|
|
12469
12470
|
}
|
|
12470
12471
|
if (pluginConfig.enabled && !conflictResult?.hasConflict) {
|
|
12471
12472
|
setTimeout(() => {
|
|
12472
|
-
importPluginModule(() => import("./announcement-
|
|
12473
|
+
importPluginModule(() => import("./announcement-p41dde4h.js")).then(({
|
|
12473
12474
|
shouldShowAnnouncement,
|
|
12474
12475
|
ANNOUNCEMENT_VERSION,
|
|
12475
12476
|
ANNOUNCEMENT_FEATURES,
|
|
@@ -12478,7 +12479,7 @@ var server = async (ctx) => {
|
|
|
12478
12479
|
}) => {
|
|
12479
12480
|
if (!shouldShowAnnouncement())
|
|
12480
12481
|
return;
|
|
12481
|
-
return importPluginModule(() => import("./conflict-warning-hook-
|
|
12482
|
+
return importPluginModule(() => import("./conflict-warning-hook-m8yezwdj.js")).then(({ sendStartupAnnouncement }) => sendStartupAnnouncement(ctx.client, ctx.directory, ANNOUNCEMENT_VERSION, ANNOUNCEMENT_FEATURES, ANNOUNCEMENT_FOOTER, markAnnouncementSeen));
|
|
12482
12483
|
}).catch(() => {});
|
|
12483
12484
|
}, 8000);
|
|
12484
12485
|
}
|
|
@@ -12552,8 +12553,8 @@ var server = async (ctx) => {
|
|
|
12552
12553
|
tryReopenStorage,
|
|
12553
12554
|
rustReplayParticipant: () => magicContextRuntime.magicContext?.getRustReplayParticipant?.() ?? null,
|
|
12554
12555
|
onStorageBusyRefusal: async (sessionId, message) => {
|
|
12555
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12556
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
12556
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-ykvt5k2s.js"));
|
|
12557
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-fxp1atm1.js"));
|
|
12557
12558
|
await sendStatusNotification(ctx.client, sessionId, message, {
|
|
12558
12559
|
toastDurationMs: 15000
|
|
12559
12560
|
});
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
startMessageFtsRowidMapBackfill2,
|
|
6
6
|
messageFtsOrdinalRangeIsMapped2,
|
|
7
7
|
deleteUnmappedMessageFtsRows2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-s32f8y67.js";
|
|
9
|
+
import"./index-q7q6qp1f.js";
|
|
10
10
|
import"./index-96ztjvkn.js";
|
|
11
11
|
import"./index-v0p37hm2.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-m0pwswv9.js";
|
|
13
13
|
import"./index-gzy5w8ya.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-ywrz4wy2.js";
|
|
15
15
|
import"./index-pavzsdc6.js";
|
|
16
16
|
import"./index-z4p0ry94.js";
|
|
17
17
|
import"./index-1d042x6w.js";
|