@cortexkit/opencode-magic-context 0.49.87 → 0.49.90
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-fnyxaahs.js → announcement-4ynkaf0d.js} +2 -2
- package/dist/auto-search-worker.js +3 -3
- package/dist/chunk-embedding-write-worker.js +5 -5
- package/dist/{context-gnk68pyy.js → context-cdds0gjj.js} +219 -41
- package/dist/{derive-budgets-90869322.js → derive-budgets-hzzq71rm.js} +2 -2
- package/dist/{embedding-backfill-9khxv6a9.js → embedding-backfill-qjkaee9s.js} +6 -6
- package/dist/embedding-worker.js +2 -2
- package/dist/features/magic-context/storage-db.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-partial-recomp.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-recomp-carry.d.ts +4 -0
- package/dist/hooks/magic-context/compartment-runner-recomp-carry.d.ts.map +1 -0
- package/dist/hooks/magic-context/compartment-runner-recomp.d.ts +8 -2
- package/dist/hooks/magic-context/compartment-runner-recomp.d.ts.map +1 -1
- package/dist/hooks/magic-context/history-boundary-repair.d.ts +2 -0
- package/dist/hooks/magic-context/history-boundary-repair.d.ts.map +1 -1
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts +3 -5
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts.map +1 -1
- package/dist/{index-watde7a1.js → index-2pdgy88n.js} +3 -3
- package/dist/{index-c1s40xmj.js → index-39rzef89.js} +7 -5
- package/dist/{index-c5tmzym6.js → index-5df2fw5b.js} +108 -13
- package/dist/{index-7svecf3m.js → index-5pgyqgmx.js} +1 -1
- package/dist/{index-k50xhjw1.js → index-60x5d68t.js} +1 -1
- package/dist/{index-jka4y6mv.js → index-61knrt52.js} +1 -1
- package/dist/{index-74sh122g.js → index-9d3qgwq0.js} +1 -1
- package/dist/{index-2kf73btc.js → index-cr483vx6.js} +1 -1
- package/dist/{index-5nmqgvz2.js → index-dk3hy2a2.js} +6 -6
- package/dist/{index-awyqqnd8.js → index-g0mb2kb4.js} +6 -6
- package/dist/{index-kmrv1fw3.js → index-h9hybzr5.js} +2 -2
- package/dist/{index-vyfrgwhk.js → index-jzfsnbmm.js} +2 -2
- package/dist/{index-rvf1726x.js → index-mrjat4eq.js} +75 -12
- package/dist/{index-b364vr04.js → index-n1ty0vd3.js} +22 -22
- package/dist/{index-csztadkj.js → index-q7msfgwz.js} +272 -101
- package/dist/{index-pmcvg3k1.js → index-qfcjrnpe.js} +6 -5
- package/dist/{index-3dtzyred.js → index-r4y0dczp.js} +1 -1
- package/dist/{index-bxrfq3mv.js → index-tt0vs4x5.js} +1 -1
- package/dist/{index-3x4qvp29.js → index-w51n3576.js} +1 -1
- package/dist/{index-3jgzd7nz.js → index-wmb2mcdw.js} +3 -3
- package/dist/{index-zmqx48vt.js → index-xsqw8kbd.js} +1 -1
- package/dist/{index-hdyfvdag.js → index-zxhev8ze.js} +1 -1
- package/dist/index.js +26 -26
- package/dist/migration-worker.js +4 -4
- package/dist/{project-embedding-registry-8t0gwf59.js → project-embedding-registry-m3fp1pa4.js} +5 -5
- package/dist/raw-ordinal-warmup-worker.js +2 -2
- package/dist/{recomp-orchestrator-2ztmtxt2.js → recomp-orchestrator-dgyb394j.js} +14 -14
- package/dist/{render-d6q6h9hy.js → render-d014e603.js} +6 -6
- package/dist/{search-d5aajhs3.js → search-9gceftb9.js} +11 -11
- package/dist/{search-archive-g96jn6p0.js → search-archive-gybn6q7s.js} +2 -2
- package/dist/shared/recomp-outcome.d.ts +4 -0
- package/dist/shared/recomp-outcome.d.ts.map +1 -0
- package/dist/shared/storage-permissions.d.ts +16 -2
- package/dist/shared/storage-permissions.d.ts.map +1 -1
- package/dist/shared/user-facing-codes.d.ts +4 -1
- package/dist/shared/user-facing-codes.d.ts.map +1 -1
- package/dist/{transform-postprocess-phase-b2yjw8by.js → transform-postprocess-phase-34k1zwsy.js} +15 -15
- package/dist/v2/auto-search-worker.js +3 -3
- package/dist/v2/chunk-embedding-write-worker.js +5 -5
- package/dist/v2/{context-s86114yy.js → context-satgm752.js} +218 -41
- package/dist/v2/{derive-budgets-ecjy1aqh.js → derive-budgets-hr4qqrnv.js} +3 -3
- package/dist/v2/{embedding-backfill-tazkbpyg.js → embedding-backfill-0ar1bm97.js} +6 -6
- package/dist/v2/embedding-worker.js +2 -2
- package/dist/v2/fold/native-replay.d.ts +11 -2
- package/dist/v2/fold/native-replay.d.ts.map +1 -1
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/revert-message-state.d.ts +19 -1
- package/dist/v2/hooks/revert-message-state.d.ts.map +1 -1
- package/dist/v2/migration-worker.js +4 -4
- package/dist/v2/{project-embedding-registry-ah3gsg48.js → project-embedding-registry-gx2waee8.js} +5 -5
- package/dist/v2/raw-ordinal-warmup-worker.js +2 -2
- package/dist/v2/{recomp-orchestrator-kc62xgb9.js → recomp-orchestrator-wq7gbkqa.js} +15 -15
- package/dist/v2/{render-j05per51.js → render-2dan17xc.js} +6 -6
- package/dist/v2/{search-archive-b4ptw02k.js → search-archive-89hdy0a2.js} +2 -2
- package/dist/v2/{search-kg31ad2s.js → search-nyqykx7q.js} +10 -10
- package/dist/v2/{server-ct0gs8fc.js → server-09h2vyvs.js} +2 -2
- package/dist/v2/{server-r2es6zt7.js → server-0tv6kytx.js} +108 -13
- package/dist/v2/{server-rz4snd3x.js → server-1rrmxhd1.js} +1 -1
- package/dist/v2/{server-xa8fefhw.js → server-96nm9vk4.js} +1 -1
- package/dist/v2/{server-2p0qayr1.js → server-a85j3kam.js} +1 -1
- package/dist/v2/{server-gwhj0362.js → server-add0j5n3.js} +7 -5
- package/dist/v2/{server-ff5wcfy4.js → server-b0a9h3ds.js} +2 -2
- package/dist/v2/{server-xn7zqs4j.js → server-dgjqvpgd.js} +3 -3
- package/dist/v2/{server-2r9btf0g.js → server-dtcwkdqj.js} +274 -103
- package/dist/v2/{server-axdmkvd5.js → server-f7tzvmzs.js} +1 -1
- package/dist/v2/{server-yh2z4gg2.js → server-fb5hvvfc.js} +75 -12
- package/dist/v2/{server-pbp58w5x.js → server-fn4ky6mn.js} +1 -1
- package/dist/v2/{server-3p6b0qya.js → server-gqkdfdvw.js} +1 -1
- package/dist/v2/{server-cwtehwbb.js → server-j4jjtdc5.js} +1 -1
- package/dist/v2/{server-b93f0bqh.js → server-pjk9spbf.js} +1 -1
- package/dist/v2/{server-gqrw0br5.js → server-ta4h0fch.js} +6 -6
- package/dist/v2/{server-e2k9mt86.js → server-tj65pgvg.js} +1 -1
- package/dist/v2/{server-6vnbz81n.js → server-vy0beygw.js} +1 -1
- package/dist/v2/server.js +5 -5
- package/dist/v2/{v2-archive-reader-2ayz16s4.js → v2-archive-reader-gh1jghf7.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-e20sjbdz.js → wrapup-orchestrator-2h7ayss9.js} +15 -15
- package/dist/{v2-archive-reader-x39mzvwn.js → v2-archive-reader-8158kyfd.js} +1 -1
- package/dist/{wrapup-orchestrator-h3s905vs.js → wrapup-orchestrator-ct59br0c.js} +15 -15
- package/package.json +1 -1
- package/src/shared/recomp-outcome.ts +8 -0
- package/src/shared/storage-permissions-startup.test.ts +296 -6
- package/src/shared/storage-permissions.ts +143 -18
- package/src/shared/user-facing-codes.ts +5 -2
- package/src/tui/dialogs/status-dialog.tsx +3 -0
- package/src/tui/slots/sidebar-content.tsx +6 -2
- package/src/tui-compiled/dialogs/status-dialog.tsx +12 -0
- package/src/tui-compiled/slots/sidebar-content.tsx +7 -2
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./server-gzy5w8ya.js";
|
|
14
14
|
import {
|
|
15
15
|
scheduleAfterBootQuiet
|
|
16
|
-
} from "./server-
|
|
16
|
+
} from "./server-1rrmxhd1.js";
|
|
17
17
|
import {
|
|
18
18
|
getHarness2,
|
|
19
19
|
harnessOwnsOpenCodeStore2
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
copyStorageFileSync,
|
|
47
47
|
copyStorageTreeSync,
|
|
48
48
|
tightenStorageTreeSync
|
|
49
|
-
} from "./server-
|
|
49
|
+
} from "./server-0tv6kytx.js";
|
|
50
50
|
import {
|
|
51
51
|
attachFailClosedBlockingProcessEvidence
|
|
52
52
|
} from "./server-39bcszk4.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
hasPendingMigrations,
|
|
66
66
|
getMainThreadMigrationBodyCount,
|
|
67
67
|
runMigrations
|
|
68
|
-
} from "./server-
|
|
68
|
+
} from "./server-a85j3kam.js";
|
|
69
69
|
import {
|
|
70
70
|
ensureColumn,
|
|
71
71
|
setDatabase,
|
|
@@ -90,6 +90,7 @@ import {
|
|
|
90
90
|
// src/features/magic-context/storage-db.ts
|
|
91
91
|
import {
|
|
92
92
|
existsSync as existsSync2,
|
|
93
|
+
lstatSync,
|
|
93
94
|
readdirSync,
|
|
94
95
|
readFileSync,
|
|
95
96
|
rmdirSync,
|
|
@@ -583,11 +584,73 @@ function getMigrationOnOpenRefusal() {
|
|
|
583
584
|
}
|
|
584
585
|
var LATEST_SUPPORTED_VERSION = 95;
|
|
585
586
|
var BOOT_SQLITE_BUSY_TIMEOUT_MS = 5000;
|
|
586
|
-
function
|
|
587
|
-
|
|
587
|
+
function isLinkedStorageRoot(dir) {
|
|
588
|
+
if (process.platform === "win32")
|
|
589
|
+
return false;
|
|
590
|
+
try {
|
|
591
|
+
return lstatSync(dir).isSymbolicLink();
|
|
592
|
+
} catch {
|
|
593
|
+
return false;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
function ensureSecureStorageDir(dir, dbPath) {
|
|
597
|
+
try {
|
|
598
|
+
ensureStorageDirectorySync(dir);
|
|
599
|
+
} catch (error) {
|
|
600
|
+
if (shouldEnforcePrivateStoragePermissions() && isLinkedStorageRoot(dir)) {
|
|
601
|
+
tightenStorageTree(dbPath, true);
|
|
602
|
+
}
|
|
603
|
+
throw error;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
function describeLinkedStorageSkip(reason) {
|
|
607
|
+
switch (reason) {
|
|
608
|
+
case "filesystem-root":
|
|
609
|
+
return "it is a filesystem root";
|
|
610
|
+
case "home-folder":
|
|
611
|
+
return "it is your home folder";
|
|
612
|
+
case "mount-point":
|
|
613
|
+
return "it is a mount point";
|
|
614
|
+
default: {
|
|
615
|
+
const entries = reason === 1 ? "entry" : "entries";
|
|
616
|
+
return `it holds ${reason} ${entries} that Magic Context did not create`;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
588
619
|
}
|
|
589
|
-
function
|
|
590
|
-
|
|
620
|
+
function describeLinkedStorageFailure(failure, nonDirectoryPath) {
|
|
621
|
+
if (nonDirectoryPath !== undefined)
|
|
622
|
+
return `${nonDirectoryPath} is not a directory`;
|
|
623
|
+
switch (failure) {
|
|
624
|
+
case "ENOENT":
|
|
625
|
+
return "ENOENT";
|
|
626
|
+
case "ELOOP":
|
|
627
|
+
return "ELOOP";
|
|
628
|
+
case "EACCES":
|
|
629
|
+
return "EACCES";
|
|
630
|
+
case "EPERM":
|
|
631
|
+
return "EPERM";
|
|
632
|
+
case "ENOTDIR":
|
|
633
|
+
return "ENOTDIR";
|
|
634
|
+
default:
|
|
635
|
+
return "could not resolve or inspect the linked target";
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
function tightenStorageTree(dbPath, reportResolvedLink = false) {
|
|
639
|
+
const { failures, rootLink } = tightenStorageTreeSync(dirname(dbPath), dbPath);
|
|
640
|
+
if (rootLink && "failure" in rootLink) {
|
|
641
|
+
log2(`[magic-context] storage permission tightening failures=${failures}: storage root link ${rootLink.path}: ${describeLinkedStorageFailure(rootLink.failure, rootLink.nonDirectoryTarget)}`);
|
|
642
|
+
return;
|
|
643
|
+
}
|
|
644
|
+
if (rootLink?.skipped !== undefined) {
|
|
645
|
+
if (reportResolvedLink) {
|
|
646
|
+
const { path: linkPath, target: targetPath } = rootLink;
|
|
647
|
+
log2(`[magic-context] linked storage folder ${linkPath} -> ${targetPath} was not made private because ${describeLinkedStorageSkip(rootLink.skipped)}. Move the store to a folder of its own so Magic Context can protect it.`);
|
|
648
|
+
}
|
|
649
|
+
return;
|
|
650
|
+
}
|
|
651
|
+
if (rootLink && reportResolvedLink) {
|
|
652
|
+
log2(`[magic-context] resolved storage root link ${rootLink.path} -> ${rootLink.target}`);
|
|
653
|
+
}
|
|
591
654
|
log2(`[magic-context] storage permission tightening failures=${failures}`);
|
|
592
655
|
}
|
|
593
656
|
function resolveBootBusyTimeoutMs(value) {
|
|
@@ -623,7 +686,7 @@ function migrateLegacyStorageIfNeeded(targetDbPath, targetDbDir) {
|
|
|
623
686
|
if (!existsSync2(legacyDbPath))
|
|
624
687
|
return;
|
|
625
688
|
log2(`[magic-context] migrating legacy plugin storage: ${legacyDir} -> ${targetDbDir} (legacy left in place as backup)`);
|
|
626
|
-
ensureSecureStorageDir(targetDbDir);
|
|
689
|
+
ensureSecureStorageDir(targetDbDir, targetDbPath);
|
|
627
690
|
try {
|
|
628
691
|
const legacyDb = new Database2(legacyDbPath);
|
|
629
692
|
try {
|
|
@@ -2346,8 +2409,8 @@ function openDatabase(dbPathOrOptions) {
|
|
|
2346
2409
|
if (!explicitDbPath) {
|
|
2347
2410
|
migrateLegacyStorageIfNeeded(dbPath, dbDir);
|
|
2348
2411
|
}
|
|
2349
|
-
ensureSecureStorageDir(dbDir);
|
|
2350
|
-
tightenStorageTree(dbPath);
|
|
2412
|
+
ensureSecureStorageDir(dbDir, dbPath);
|
|
2413
|
+
tightenStorageTree(dbPath, true);
|
|
2351
2414
|
if (!existsSync2(dbPath) && shouldEnforcePrivateStoragePermissions()) {
|
|
2352
2415
|
try {
|
|
2353
2416
|
writeStorageFileSync(dbPath, new Uint8Array, { flag: "wx" });
|
|
@@ -2443,8 +2506,8 @@ async function openDatabaseAsync(dbPathOrOptions) {
|
|
|
2443
2506
|
try {
|
|
2444
2507
|
if (!explicitDbPath)
|
|
2445
2508
|
migrateLegacyStorageIfNeeded(dbPath, dbDir);
|
|
2446
|
-
ensureSecureStorageDir(dbDir);
|
|
2447
|
-
tightenStorageTree(dbPath);
|
|
2509
|
+
ensureSecureStorageDir(dbDir, dbPath);
|
|
2510
|
+
tightenStorageTree(dbPath, true);
|
|
2448
2511
|
if (!existsSync2(dbPath) && shouldEnforcePrivateStoragePermissions()) {
|
|
2449
2512
|
try {
|
|
2450
2513
|
writeStorageFileSync(dbPath, new Uint8Array, { flag: "wx" });
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./server-gzy5w8ya.js";
|
|
13
13
|
import {
|
|
14
14
|
scheduleAfterBootQuiet
|
|
15
|
-
} from "./server-
|
|
15
|
+
} from "./server-1rrmxhd1.js";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
18
|
} from "./server-pmws7we9.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
enqueueShadowEmbeddingItems2,
|
|
58
58
|
getProjectEmbeddingSnapshot2,
|
|
59
59
|
embedItemsForProject2
|
|
60
|
-
} from "./server-
|
|
60
|
+
} from "./server-dgjqvpgd.js";
|
|
61
61
|
import {
|
|
62
62
|
recordEmbeddingMeasurement
|
|
63
63
|
} from "./server-2amn2s73.js";
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
sanitizeFtsQuery,
|
|
74
74
|
searchMemoriesFTS,
|
|
75
75
|
searchMemoriesFTSUnion
|
|
76
|
-
} from "./server-
|
|
76
|
+
} from "./server-add0j5n3.js";
|
|
77
77
|
import {
|
|
78
78
|
ModuleMemoryAuthorityError2,
|
|
79
79
|
getMemoriesByProject2,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
} from "./server-9emdjcb5.js";
|
|
83
83
|
import {
|
|
84
84
|
ensureMemoryEmbeddings2
|
|
85
|
-
} from "./server-
|
|
85
|
+
} from "./server-f7tzvmzs.js";
|
|
86
86
|
import {
|
|
87
87
|
MESSAGE_FTS_SESSION_FILTER_SQL,
|
|
88
88
|
withMessageFtsSessionFilter
|
|
@@ -93,11 +93,11 @@ import {
|
|
|
93
93
|
expandWorkspaceIdentitySetWithAliases,
|
|
94
94
|
resolveStoredPathWorkspaceIdentity,
|
|
95
95
|
sourceNameForMemory
|
|
96
|
-
} from "./server-
|
|
96
|
+
} from "./server-a85j3kam.js";
|
|
97
97
|
import {
|
|
98
98
|
getNotes,
|
|
99
99
|
getActivePrimers
|
|
100
|
-
} from "./server-
|
|
100
|
+
} from "./server-fn4ky6mn.js";
|
|
101
101
|
import {
|
|
102
102
|
isKnownAutocommit
|
|
103
103
|
} from "./server-8ajstryz.js";
|
package/dist/v2/server.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPluginConfigDetailed
|
|
3
|
-
} from "./server-
|
|
3
|
+
} from "./server-tj65pgvg.js";
|
|
4
4
|
import {
|
|
5
5
|
setHarness2
|
|
6
6
|
} from "./server-pavzsdc6.js";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
} from "./server-j8376q08.js";
|
|
15
15
|
import"./server-z4p0ry94.js";
|
|
16
16
|
import"./server-jdfe07mp.js";
|
|
17
|
-
import"./server-
|
|
18
|
-
import"./server-
|
|
17
|
+
import"./server-0tv6kytx.js";
|
|
18
|
+
import"./server-96nm9vk4.js";
|
|
19
19
|
import {
|
|
20
20
|
string,
|
|
21
21
|
unknown,
|
|
@@ -7877,7 +7877,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
7877
7877
|
// package.json
|
|
7878
7878
|
var package_default = {
|
|
7879
7879
|
name: "@cortexkit/opencode-magic-context",
|
|
7880
|
-
version: "0.49.
|
|
7880
|
+
version: "0.49.90",
|
|
7881
7881
|
type: "module",
|
|
7882
7882
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
7883
7883
|
main: "dist/index.js",
|
|
@@ -8198,7 +8198,7 @@ async function setup(context) {
|
|
|
8198
8198
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
8199
8199
|
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.`);
|
|
8200
8200
|
}
|
|
8201
|
-
const { registerContext } = await import("./context-
|
|
8201
|
+
const { registerContext } = await import("./context-satgm752.js");
|
|
8202
8202
|
setHarness2("opencode2");
|
|
8203
8203
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
8204
8204
|
const duties = await registerContext(context);
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getCompartments,
|
|
13
13
|
getLastCompartmentEndMessage,
|
|
14
14
|
requestPendingMaterialization
|
|
15
|
-
} from "./server-
|
|
15
|
+
} from "./server-09h2vyvs.js";
|
|
16
16
|
import"./server-2amn2s73.js";
|
|
17
17
|
import"./server-y8xjr8rx.js";
|
|
18
18
|
import"./server-x6fn9x8q.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
clearEmergencyRecovery
|
|
36
36
|
} from "./server-pmws7we9.js";
|
|
37
37
|
import"./server-stjy5dxv.js";
|
|
38
|
-
import"./server-
|
|
38
|
+
import"./server-fb5hvvfc.js";
|
|
39
39
|
import"./server-1zx87sdm.js";
|
|
40
40
|
import"./server-rz6g5xne.js";
|
|
41
41
|
import"./server-2ra6pwf3.js";
|
|
@@ -44,13 +44,13 @@ import {
|
|
|
44
44
|
prepareRawSessionOrdinals2
|
|
45
45
|
} from "./server-c7awk5s2.js";
|
|
46
46
|
import"./server-fr0wbhdn.js";
|
|
47
|
-
import"./server-
|
|
48
|
-
import"./server-
|
|
49
|
-
import"./server-
|
|
47
|
+
import"./server-a85j3kam.js";
|
|
48
|
+
import"./server-0tv6kytx.js";
|
|
49
|
+
import"./server-1rrmxhd1.js";
|
|
50
50
|
import"./server-qyazxy92.js";
|
|
51
51
|
import"./server-fb3zxn06.js";
|
|
52
52
|
import"./server-39bcszk4.js";
|
|
53
|
-
import"./server-
|
|
53
|
+
import"./server-fn4ky6mn.js";
|
|
54
54
|
import {
|
|
55
55
|
pushNotification2
|
|
56
56
|
} from "./server-y14pawe1.js";
|
|
@@ -65,18 +65,18 @@ import {
|
|
|
65
65
|
registerActiveCompartmentRun,
|
|
66
66
|
setRecompStarting2,
|
|
67
67
|
setRecompTerminal2
|
|
68
|
-
} from "./server-
|
|
68
|
+
} from "./server-dtcwkdqj.js";
|
|
69
69
|
import"./server-qt1qqasc.js";
|
|
70
|
-
import"./server-
|
|
71
|
-
import"./server-
|
|
70
|
+
import"./server-dgjqvpgd.js";
|
|
71
|
+
import"./server-gqkdfdvw.js";
|
|
72
72
|
import"./server-qjwpqvnf.js";
|
|
73
|
-
import"./server-
|
|
74
|
-
import"./server-
|
|
75
|
-
import"./server-
|
|
73
|
+
import"./server-pjk9spbf.js";
|
|
74
|
+
import"./server-add0j5n3.js";
|
|
75
|
+
import"./server-f7tzvmzs.js";
|
|
76
76
|
import"./server-9emdjcb5.js";
|
|
77
|
-
import"./server-
|
|
78
|
-
import"./server-
|
|
79
|
-
import"./server-
|
|
77
|
+
import"./server-tj65pgvg.js";
|
|
78
|
+
import"./server-96nm9vk4.js";
|
|
79
|
+
import"./server-j4jjtdc5.js";
|
|
80
80
|
import"./server-npdey91q.js";
|
|
81
81
|
import {
|
|
82
82
|
sendStatusNotification2
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runManagedWrapup2
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
3
|
+
} from "./index-wmb2mcdw.js";
|
|
4
|
+
import"./index-qfcjrnpe.js";
|
|
5
|
+
import"./index-q7msfgwz.js";
|
|
6
6
|
import"./index-832w615x.js";
|
|
7
7
|
import"./index-sd3egckz.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
import"./index-39rzef89.js";
|
|
9
|
+
import"./index-w51n3576.js";
|
|
10
10
|
import"./index-9emdjcb5.js";
|
|
11
|
-
import"./index-
|
|
11
|
+
import"./index-2pdgy88n.js";
|
|
12
12
|
import"./index-qjwpqvnf.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-h9hybzr5.js";
|
|
14
|
+
import"./index-61knrt52.js";
|
|
15
15
|
import"./index-chpzb6xy.js";
|
|
16
16
|
import"./index-2amn2s73.js";
|
|
17
17
|
import"./index-1y4y98r1.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-xsqw8kbd.js";
|
|
19
19
|
import"./index-6zewd2n5.js";
|
|
20
20
|
import"./index-qt1qqasc.js";
|
|
21
21
|
import"./index-2qsca7h7.js";
|
|
@@ -24,16 +24,16 @@ import"./index-1zx87sdm.js";
|
|
|
24
24
|
import"./index-x40zr813.js";
|
|
25
25
|
import"./index-y14pawe1.js";
|
|
26
26
|
import"./index-e6ncz7a6.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-60x5d68t.js";
|
|
28
28
|
import"./index-6nqz8hsz.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-r4y0dczp.js";
|
|
30
30
|
import"./index-3pdknr07.js";
|
|
31
31
|
import"./index-pxnzyvjc.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-mrjat4eq.js";
|
|
33
33
|
import"./index-fb3zxn06.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-tt0vs4x5.js";
|
|
35
35
|
import"./index-fr0wbhdn.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-5pgyqgmx.js";
|
|
37
37
|
import"./index-s32f8y67.js";
|
|
38
38
|
import"./index-wh9fxds5.js";
|
|
39
39
|
import"./index-m6dnydf8.js";
|
|
@@ -42,7 +42,7 @@ import"./index-96ztjvkn.js";
|
|
|
42
42
|
import"./index-v0p37hm2.js";
|
|
43
43
|
import"./index-58e3y90n.js";
|
|
44
44
|
import"./index-m0pwswv9.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-5df2fw5b.js";
|
|
46
46
|
import"./index-gqf8r04r.js";
|
|
47
47
|
import"./index-5vsk2cpp.js";
|
|
48
48
|
import"./index-gzy5w8ya.js";
|
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const RECOMP_PAUSED_HEADING = "## Magic Recomp — Paused";
|
|
2
|
+
|
|
3
|
+
/** Read the text after the paused-rebuild heading, for the sidebar and status dialog. */
|
|
4
|
+
export function pausedRecompReason(message: string | undefined): string | null {
|
|
5
|
+
const prefix = `${RECOMP_PAUSED_HEADING}\n`;
|
|
6
|
+
if (!message?.startsWith(prefix)) return null;
|
|
7
|
+
return message.slice(prefix.length).replace(/\s+/g, " ").trim();
|
|
8
|
+
}
|