@cortexkit/opencode-magic-context 0.49.80 → 0.49.82
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 +3 -3
- package/dist/chunk-embedding-write-worker.js +4 -4
- package/dist/{conflict-warning-hook-m8yezwdj.js → conflict-warning-hook-a0wrnzch.js} +3 -3
- package/dist/{context-7rkrv5q8.js → context-00f1hdz2.js} +278 -43
- package/dist/{embedding-backfill-0tvprmrn.js → embedding-backfill-k994xdas.js} +4 -4
- package/dist/features/magic-context/memory/identity-merge-command.d.ts +4 -0
- package/dist/features/magic-context/memory/identity-merge-command.d.ts.map +1 -0
- package/dist/features/magic-context/memory/project-binding-notice.d.ts +5 -0
- package/dist/features/magic-context/memory/project-binding-notice.d.ts.map +1 -0
- package/dist/features/magic-context/memory/project-identity.d.ts +1 -0
- package/dist/features/magic-context/memory/project-identity.d.ts.map +1 -1
- package/dist/features/magic-context/storage-clone.d.ts +17 -0
- package/dist/features/magic-context/storage-clone.d.ts.map +1 -1
- package/dist/features/magic-context/store-generation-rebase.d.ts +13 -0
- package/dist/features/magic-context/store-generation-rebase.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-incremental.d.ts +1 -7
- package/dist/hooks/magic-context/compartment-runner-incremental.d.ts.map +1 -1
- package/dist/hooks/magic-context/execute-status.d.ts.map +1 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts +16 -0
- package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
- package/dist/hooks/magic-context/rust-mode-transform.d.ts.map +1 -1
- package/dist/hooks/magic-context/stored-compartment-gaps.d.ts +16 -0
- package/dist/hooks/magic-context/stored-compartment-gaps.d.ts.map +1 -0
- package/dist/hooks/magic-context/transform.d.ts +1 -0
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/{index-m4q6ptgz.js → index-2xhzmwf6.js} +4 -4
- package/dist/{index-jhhkb4jv.js → index-2ygw6q5s.js} +1 -1
- package/dist/{index-v0epndb8.js → index-93rezfvc.js} +22 -2
- package/dist/{index-exvsw656.js → index-b2787fk6.js} +116 -42
- package/dist/{index-tebcx987.js → index-bd34njzg.js} +1 -1
- package/dist/{index-zpd4pxnp.js → index-dg5jvh9r.js} +6 -6
- package/dist/{index-6athgjba.js → index-e21n48yd.js} +34 -2
- package/dist/{index-ezgeq2z7.js → index-eptthgkw.js} +5 -5
- package/dist/{index-9554nr2q.js → index-fgy6hnr3.js} +6 -1
- package/dist/{index-tzy5h4x6.js → index-fpqdbb67.js} +1 -1
- package/dist/{v2/server-x8a7jmkh.js → index-fzgyvsb1.js} +15 -4
- package/dist/{index-1sq1krqw.js → index-g6hfh4h4.js} +4 -4
- package/dist/{index-hpmx99e9.js → index-hz1xdb15.js} +3 -3
- package/dist/{index-xjpemea9.js → index-jvr9ba9y.js} +151 -37
- package/dist/{index-esqcwes7.js → index-nxxzeq4y.js} +4 -2
- package/dist/{index-m6rkq3t4.js → index-rnyaa7cj.js} +1 -1
- package/dist/{index-yfn52pb6.js → index-shpyv8gq.js} +2 -2
- package/dist/{index-pzvdf7sr.js → index-stx8zd81.js} +3 -3
- package/dist/{index-jg7sbt3v.js → index-vpw46557.js} +1 -1
- package/dist/{index-xx05vta0.js → index-w2wpx7t5.js} +1 -1
- package/dist/{index-177yv84k.js → index-w8dcjt7f.js} +1 -1
- package/dist/{index-mgvj4vkb.js → index-wxxcfpxh.js} +5 -5
- package/dist/{index-xsdaz3mq.js → index-x8qgqnym.js} +30 -11
- package/dist/{index-aawwdt26.js → index-zvane1rq.js} +2 -2
- package/dist/index.js +32 -32
- package/dist/migration-worker.js +3 -3
- package/dist/plugin/rpc-handlers.d.ts +2 -0
- package/dist/plugin/rpc-handlers.d.ts.map +1 -1
- package/dist/{project-embedding-registry-sw4z2ptg.js → project-embedding-registry-y3z36mjy.js} +3 -3
- package/dist/raw-ordinal-warmup-worker.js +2 -2
- package/dist/{recomp-orchestrator-n7h0a0tn.js → recomp-orchestrator-fjdp3t1d.js} +14 -14
- package/dist/{render-bjxgkrk6.js → render-c9fjwrad.js} +6 -6
- package/dist/{rpc-notifications-3hed126v.js → rpc-notifications-t9q0ynq7.js} +3 -1
- package/dist/{search-z56487n8.js → search-1jejx5cx.js} +9 -9
- package/dist/{search-archive-p3jhx9wc.js → search-archive-s2jas2jb.js} +2 -2
- package/dist/{send-session-notification-ykvt5k2s.js → send-session-notification-7x518gew.js} +1 -1
- package/dist/shared/conflict-detector.d.ts +6 -0
- package/dist/shared/conflict-detector.d.ts.map +1 -1
- package/dist/shared/conflict-fixer.d.ts +1 -0
- package/dist/shared/conflict-fixer.d.ts.map +1 -1
- package/dist/shared/prompt-surface-runtime.d.ts +1 -1
- package/dist/shared/rpc-notifications.d.ts +8 -3
- package/dist/shared/rpc-notifications.d.ts.map +1 -1
- package/dist/shared/rpc-types.d.ts +4 -0
- package/dist/shared/rpc-types.d.ts.map +1 -1
- package/dist/shared/status-summary.d.ts +2 -0
- package/dist/shared/status-summary.d.ts.map +1 -1
- package/dist/shared/status-view-check.d.ts.map +1 -1
- package/dist/shared/status-view.d.ts +1 -0
- package/dist/shared/status-view.d.ts.map +1 -1
- package/dist/shared/user-facing-codes.d.ts +5 -0
- package/dist/shared/user-facing-codes.d.ts.map +1 -1
- package/dist/{store-8trkpmtx.js → store-ggrq9e14.js} +6 -2
- package/dist/{store-reader-3eh1s1m8.js → store-reader-tr64nxyy.js} +1 -1
- package/dist/tools/ctx-memory/constants.d.ts +1 -1
- package/dist/tools/ctx-memory/constants.d.ts.map +1 -1
- package/dist/tools/light-descriptions.d.ts +1 -1
- package/dist/tools/light-descriptions.d.ts.map +1 -1
- package/dist/tools/parameter-descriptions.d.ts +6 -6
- package/dist/tools/parameter-descriptions.d.ts.map +1 -1
- package/dist/{transform-postprocess-phase-f0wssyce.js → transform-postprocess-phase-p2egg02g.js} +15 -15
- package/dist/v2/auto-search-worker.js +3 -3
- package/dist/v2/chunk-embedding-write-worker.js +4 -4
- package/dist/v2/{context-r1swhysg.js → context-gwkgh0wd.js} +398 -58
- package/dist/v2/{embedding-backfill-qnaswpmb.js → embedding-backfill-hjvjxp7d.js} +4 -4
- package/dist/v2/fold/owner.d.ts +8 -0
- package/dist/v2/fold/owner.d.ts.map +1 -1
- package/dist/v2/fork-inheritance.d.ts +25 -17
- package/dist/v2/fork-inheritance.d.ts.map +1 -1
- package/dist/v2/hidden-child-native.d.ts +6 -6
- package/dist/v2/hidden-child-native.d.ts.map +1 -1
- package/dist/v2/hidden-child-record.d.ts +21 -3
- package/dist/v2/hidden-child-record.d.ts.map +1 -1
- package/dist/v2/hidden-child-sweep.d.ts +1 -1
- package/dist/v2/hidden-child-sweep.d.ts.map +1 -1
- package/dist/v2/hidden-completion.d.ts +1 -0
- package/dist/v2/hidden-completion.d.ts.map +1 -1
- package/dist/v2/hidden-run-holder.d.ts +16 -0
- package/dist/v2/hidden-run-holder.d.ts.map +1 -0
- package/dist/v2/hooks/context.d.ts.map +1 -1
- package/dist/v2/hooks/dream-timer.d.ts +5 -7
- package/dist/v2/hooks/dream-timer.d.ts.map +1 -1
- package/dist/v2/hooks/fork-history-status.d.ts +10 -0
- package/dist/v2/hooks/fork-history-status.d.ts.map +1 -0
- package/dist/v2/hooks/hidden-child.d.ts.map +1 -1
- package/dist/v2/hooks/store.d.ts +4 -0
- package/dist/v2/hooks/store.d.ts.map +1 -1
- package/dist/v2/hooks/types.d.ts +5 -26
- package/dist/v2/hooks/types.d.ts.map +1 -1
- package/dist/v2/migration-worker.js +3 -3
- package/dist/v2/{project-embedding-registry-52f2jept.js → project-embedding-registry-mzsvyads.js} +3 -3
- package/dist/v2/raw-ordinal-warmup-worker.js +2 -2
- package/dist/v2/{recomp-orchestrator-4w2w4kd4.js → recomp-orchestrator-jn39mxh0.js} +13 -13
- package/dist/v2/{render-hwqk0d8t.js → render-q2aj9bgy.js} +6 -6
- package/dist/v2/{rpc-notifications-3hed126v.js → rpc-notifications-t9q0ynq7.js} +3 -1
- package/dist/v2/{search-eftsvbg7.js → search-9xn6ds9x.js} +8 -8
- package/dist/v2/{search-archive-mdxzvgpm.js → search-archive-fj59gjv1.js} +2 -2
- package/dist/v2/{send-session-notification-8g4r97bp.js → send-session-notification-p52rhjzy.js} +1 -1
- package/dist/v2/{server-ma9jwnas.js → server-1cn3kryt.js} +4 -4
- package/dist/v2/{server-34pvhvxt.js → server-1efjj215.js} +22 -2
- package/dist/v2/{server-jn4pktdk.js → server-2ktxmtbd.js} +1 -1
- package/dist/v2/{server-zw1e3wq5.js → server-2w1rdttn.js} +1 -1
- package/dist/v2/{server-jtq03rkb.js → server-4z964n1c.js} +1 -1
- package/dist/v2/{server-pxdpwycq.js → server-53n8hv5q.js} +6 -6
- package/dist/v2/{server-rbtx6q5v.js → server-569he5mh.js} +1 -1
- package/dist/v2/{server-rthnpmbp.js → server-5yfq912a.js} +34 -2
- package/dist/v2/{server-mhrgymcs.js → server-68q80y27.js} +2 -2
- package/dist/v2/{server-afsz3cmx.js → server-bt546axy.js} +1 -1
- package/dist/v2/{server-dhdn8mwq.js → server-c8mqs0v5.js} +30 -11
- package/dist/{index-x8a7jmkh.js → v2/server-fzgyvsb1.js} +15 -4
- package/dist/v2/{server-76v5y7zm.js → server-g1a0nhtk.js} +2 -2
- package/dist/v2/{server-25qtxt4d.js → server-gx1s06dx.js} +6 -1
- package/dist/v2/{server-x8ksqcw7.js → server-pejjj0nv.js} +1 -1
- package/dist/v2/{server-fqnty3nk.js → server-vt6nj2hn.js} +111 -37
- package/dist/v2/{server-qjff96a6.js → server-wdq85mxj.js} +4 -4
- package/dist/v2/server.js +3 -3
- package/dist/v2/{store-m3zny7q2.js → store-qdgzd38f.js} +6 -2
- package/dist/v2/{store-reader-yaxtdy6f.js → store-reader-83tka051.js} +1 -1
- package/dist/v2/store-reader.d.ts +15 -8
- package/dist/v2/store-reader.d.ts.map +1 -1
- package/dist/v2/tui/index.d.ts +1 -1
- package/dist/v2/tui/index.d.ts.map +1 -1
- package/dist/v2/{v2-archive-reader-p89x05hj.js → v2-archive-reader-9z8z97db.js} +1 -1
- package/dist/v2/{wrapup-orchestrator-0f4nwpbv.js → wrapup-orchestrator-vd5zfp3v.js} +13 -13
- package/dist/{v2-archive-reader-vzmzb245.js → v2-archive-reader-r0xpxsb1.js} +1 -1
- package/dist/{wrapup-orchestrator-5k9hgb3t.js → wrapup-orchestrator-k29zqfp9.js} +15 -15
- package/package.json +1 -1
- package/src/agents/smart-notes-dreamer-gate.golden.json +169 -169
- package/src/shared/conflict-detector.ts +35 -2
- package/src/shared/conflict-fixer.ts +10 -6
- package/src/shared/fold-render-lock-fence.test.ts +2 -0
- package/src/shared/prompt-surface-a1-golden.md +8 -7
- package/src/shared/rpc-notifications.test.ts +29 -0
- package/src/shared/rpc-notifications.ts +24 -5
- package/src/shared/rpc-types.ts +4 -0
- package/src/shared/status-summary.ts +9 -1
- package/src/shared/status-view-check.ts +2 -0
- package/src/shared/status-view.test.ts +9 -0
- package/src/shared/status-view.ts +4 -0
- package/src/shared/user-facing-codes.ts +5 -0
- package/src/tui/slots/sidebar-content.tsx +11 -5
- package/src/tui-compiled/slots/sidebar-content.tsx +191 -176
- package/src/v2/tui/index.ts +7 -2
|
@@ -75,11 +75,11 @@ import {
|
|
|
75
75
|
import {
|
|
76
76
|
layoutLkgPrefix,
|
|
77
77
|
assembleLkgPrefix
|
|
78
|
-
} from "./index-
|
|
78
|
+
} from "./index-w2wpx7t5.js";
|
|
79
79
|
import {
|
|
80
80
|
gaDatabasePath2,
|
|
81
81
|
V2StoreReader2
|
|
82
|
-
} from "./index-
|
|
82
|
+
} from "./index-e21n48yd.js";
|
|
83
83
|
import {
|
|
84
84
|
markHostInstructionRow,
|
|
85
85
|
hostInstructionRowID,
|
|
@@ -4692,9 +4692,10 @@ function copySessionStateForClone(db, sourceSessionId, destinationSessionId, fil
|
|
|
4692
4692
|
const compartmentColumns = db.prepare("PRAGMA table_info(compartments)").all();
|
|
4693
4693
|
const hasBlockIndices = ["start_block_index", "end_block_index"].every((name) => compartmentColumns.some((column) => column.name === name));
|
|
4694
4694
|
const blockProjection = hasBlockIndices ? "start_block_index, end_block_index" : "NULL AS start_block_index, NULL AS end_block_index";
|
|
4695
|
+
const rebaseProjection = compartmentColumns.some(({ name }) => name === "rebase_status") ? "rebase_status" : "NULL AS rebase_status";
|
|
4695
4696
|
const sourceCompartments = db.prepare(`SELECT sequence, start_message, end_message, start_message_id, end_message_id,
|
|
4696
4697
|
title, content, p1, p2, p3, p4, importance, episode_type, legacy,
|
|
4697
|
-
created_at, harness, ${blockProjection}
|
|
4698
|
+
created_at, harness, ${blockProjection}, ${rebaseProjection}
|
|
4698
4699
|
FROM compartments WHERE session_id = ? ORDER BY sequence ASC`).all(sourceSessionId);
|
|
4699
4700
|
const insertCompartment = db.prepare(`INSERT INTO compartments
|
|
4700
4701
|
(session_id, sequence, start_message, end_message, start_message_id,
|
|
@@ -4702,18 +4703,31 @@ function copySessionStateForClone(db, sourceSessionId, destinationSessionId, fil
|
|
|
4702
4703
|
episode_type, legacy, created_at, harness${hasBlockIndices ? ", start_block_index, end_block_index" : ""})
|
|
4703
4704
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?${hasBlockIndices ? ", ?, ?" : ""})`);
|
|
4704
4705
|
const copiedCompartments = [];
|
|
4706
|
+
const selected = filter.selectCompartments?.(sourceCompartments.map((row) => ({
|
|
4707
|
+
sequence: row.sequence,
|
|
4708
|
+
startMessage: row.start_message,
|
|
4709
|
+
endMessage: row.end_message,
|
|
4710
|
+
startMessageId: row.start_message_id,
|
|
4711
|
+
endMessageId: row.end_message_id,
|
|
4712
|
+
rebaseStatus: row.rebase_status
|
|
4713
|
+
})));
|
|
4705
4714
|
for (const row of sourceCompartments) {
|
|
4706
|
-
const
|
|
4707
|
-
|
|
4715
|
+
const mapped = selected?.get(row.sequence);
|
|
4716
|
+
if (selected && !mapped)
|
|
4717
|
+
continue;
|
|
4718
|
+
const startMessage = mapped?.startMessage ?? filter.resolveBoundaryOrdinal(row.start_message_id);
|
|
4719
|
+
const endMessage = mapped?.endMessage ?? filter.resolveBoundaryOrdinal(row.end_message_id);
|
|
4708
4720
|
if (startMessage === undefined || endMessage === undefined)
|
|
4709
4721
|
continue;
|
|
4710
|
-
|
|
4722
|
+
const startMessageId = mapped?.startMessageId ?? mapMessageId(filter, row.start_message_id);
|
|
4723
|
+
const endMessageId = mapped?.endMessageId ?? mapMessageId(filter, row.end_message_id);
|
|
4724
|
+
insertCompartment.run(destinationSessionId, row.sequence, startMessage, endMessage, startMessageId, endMessageId, row.title, row.content, row.p1, row.p2, row.p3, row.p4, row.importance, row.episode_type, row.legacy, row.created_at, row.harness, ...hasBlockIndices ? [row.start_block_index, row.end_block_index] : []);
|
|
4711
4725
|
copiedCompartments.push({
|
|
4712
4726
|
sequence: row.sequence,
|
|
4713
4727
|
startMessage,
|
|
4714
4728
|
endMessage,
|
|
4715
|
-
startMessageId:
|
|
4716
|
-
endMessageId:
|
|
4729
|
+
startMessageId: startMessageId ?? row.start_message_id,
|
|
4730
|
+
endMessageId: endMessageId ?? row.end_message_id
|
|
4717
4731
|
});
|
|
4718
4732
|
}
|
|
4719
4733
|
const sourceTags = db.prepare(`SELECT id, message_id, type, status, byte_size, tag_number, harness,
|
|
@@ -4791,7 +4805,8 @@ function copySessionStateForClone(db, sourceSessionId, destinationSessionId, fil
|
|
|
4791
4805
|
if (pendingMarker === null)
|
|
4792
4806
|
clearedMarker = getPendingPiCompactionMarkerState(db, destinationSessionId);
|
|
4793
4807
|
const todoAnchor = meta?.todo_synthetic_anchor_message_id ?? "";
|
|
4794
|
-
const
|
|
4808
|
+
const replayFilter = filter.includeReplayMessageId ? { ...filter, includeMessageId: filter.includeReplayMessageId } : filter;
|
|
4809
|
+
const migrateTodo = todoAnchor.length > 0 && replayFilter.includeMessageId(todoAnchor);
|
|
4795
4810
|
db.prepare(`INSERT INTO session_meta
|
|
4796
4811
|
(session_id, harness, counter, cleared_reasoning_through_tag,
|
|
4797
4812
|
tool_reclaim_watermark, pi_stable_id_scheme, stripped_placeholder_ids,
|
|
@@ -4816,11 +4831,15 @@ function copySessionStateForClone(db, sourceSessionId, destinationSessionId, fil
|
|
|
4816
4831
|
todo_synthetic_anchor_message_id = excluded.todo_synthetic_anchor_message_id,
|
|
4817
4832
|
todo_synthetic_state_json = excluded.todo_synthetic_state_json,
|
|
4818
4833
|
cached_m0_bytes = NULL,
|
|
4819
|
-
cached_m1_bytes = NULL`).run(destinationSessionId, getHarness2(), maxCopiedTag, clampWatermark(meta?.cleared_reasoning_through_tag ?? null, maxCopiedTag), clampWatermark(meta?.tool_reclaim_watermark ?? null, maxCopiedTag), typeof meta?.pi_stable_id_scheme === "number" && Number.isFinite(meta.pi_stable_id_scheme) ? meta.pi_stable_id_scheme : null, filterStrippedPlaceholderBlob(meta?.stripped_placeholder_ids ?? null,
|
|
4834
|
+
cached_m1_bytes = NULL`).run(destinationSessionId, getHarness2(), maxCopiedTag, clampWatermark(meta?.cleared_reasoning_through_tag ?? null, maxCopiedTag), clampWatermark(meta?.tool_reclaim_watermark ?? null, maxCopiedTag), typeof meta?.pi_stable_id_scheme === "number" && Number.isFinite(meta.pi_stable_id_scheme) ? meta.pi_stable_id_scheme : null, filterStrippedPlaceholderBlob(meta?.stripped_placeholder_ids ?? null, replayFilter), filterIdBlob(meta?.stale_reduce_stripped_ids ?? null, replayFilter), filterProcessedImageBlob(meta?.processed_image_stripped_ids ?? null, replayFilter), clonePiContentDecisions(meta?.merged_reasoning_stripped_ids ?? null, replayFilter), pendingMarker, migrateTodo ? meta?.last_todo_state ?? "" : "", migrateTodo ? meta?.todo_synthetic_call_id ?? "" : "", migrateTodo ? mapMessageId(filter, todoAnchor) ?? "" : "", migrateTodo ? meta?.todo_synthetic_state_json ?? "" : "");
|
|
4835
|
+
const inheritedGaps = filter.inheritedCoordinateGaps?.() ?? [];
|
|
4836
|
+
if (inheritedGaps.length > 0) {
|
|
4837
|
+
db.prepare("UPDATE session_meta SET coordinate_rebase_notice = ? WHERE session_id = ?").run(JSON.stringify({ generation: "v2", inheritedGaps }), destinationSessionId);
|
|
4838
|
+
}
|
|
4820
4839
|
const metaColumnRows = db.prepare("PRAGMA table_info(session_meta)").all();
|
|
4821
4840
|
const metaColumns = new Set(metaColumnRows.map((column) => column.name));
|
|
4822
4841
|
if (metaColumns.has("trailing_blank_decisions")) {
|
|
4823
|
-
const replayDocument = cloneReplayDocument(db, sourceSessionId, copiedToolCallIds,
|
|
4842
|
+
const replayDocument = cloneReplayDocument(db, sourceSessionId, copiedToolCallIds, replayFilter);
|
|
4824
4843
|
writeReplayDocument(db, destinationSessionId, replayDocument);
|
|
4825
4844
|
}
|
|
4826
4845
|
const pendingOpsRow = db.prepare("SELECT COUNT(*) AS count FROM pending_ops WHERE session_id = ?").get(destinationSessionId);
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./index-gzy5w8ya.js";
|
|
14
14
|
import {
|
|
15
15
|
scheduleAfterBootQuiet
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-fpqdbb67.js";
|
|
17
17
|
import {
|
|
18
18
|
getHarness2,
|
|
19
19
|
harnessOwnsOpenCodeStore2
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
hasPendingMigrations,
|
|
58
58
|
getMainThreadMigrationBodyCount,
|
|
59
59
|
runMigrations
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-w2wpx7t5.js";
|
|
61
61
|
import {
|
|
62
62
|
installTagIdentityRevisionTrigger,
|
|
63
63
|
ensureColumn,
|
package/dist/index.js
CHANGED
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
checkCompactionMarkerConsistency,
|
|
59
59
|
clearInjectionCache,
|
|
60
60
|
clearNoteNudgeTriggerOnly
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-b2787fk6.js";
|
|
62
62
|
import"./index-sd3egckz.js";
|
|
63
63
|
import {
|
|
64
64
|
hasTrustedAbsoluteWall,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
parameterDescriptionsFor,
|
|
146
146
|
MagicContextRpcServer,
|
|
147
147
|
applyHiddenSubagentTemperature
|
|
148
|
-
} from "./index-
|
|
148
|
+
} from "./index-jvr9ba9y.js";
|
|
149
149
|
import {
|
|
150
150
|
resolveOpenCodeDbPath,
|
|
151
151
|
openCodeDbPathExists,
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
beginBootQuietPeriod,
|
|
173
173
|
bootQuietRemainingMs,
|
|
174
174
|
scheduleAfterBootQuiet
|
|
175
|
-
} from "./index-
|
|
175
|
+
} from "./index-fpqdbb67.js";
|
|
176
176
|
import {
|
|
177
177
|
BoundedSessionMap,
|
|
178
178
|
deleteTemporalDecision,
|
|
@@ -197,10 +197,10 @@ import {
|
|
|
197
197
|
dropServedRecord,
|
|
198
198
|
registerLkgPersistence,
|
|
199
199
|
dropSlot
|
|
200
|
-
} from "./index-
|
|
200
|
+
} from "./index-x8qgqnym.js";
|
|
201
201
|
import {
|
|
202
202
|
recordSessionProjectIdentity
|
|
203
|
-
} from "./index-
|
|
203
|
+
} from "./index-vpw46557.js";
|
|
204
204
|
import"./index-gqf8r04r.js";
|
|
205
205
|
import"./index-fb3zxn06.js";
|
|
206
206
|
import {
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
openDatabaseAsync,
|
|
213
213
|
isDatabasePersisted,
|
|
214
214
|
getDatabasePersistenceError
|
|
215
|
-
} from "./index-
|
|
215
|
+
} from "./index-zvane1rq.js";
|
|
216
216
|
import {
|
|
217
217
|
registerExitAbort,
|
|
218
218
|
unregisterExitAbort
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
forgetRawSessionOrdinalWatermark2
|
|
224
224
|
} from "./index-q7q6qp1f.js";
|
|
225
225
|
import"./index-s32f8y67.js";
|
|
226
|
-
import"./index-
|
|
226
|
+
import"./index-w2wpx7t5.js";
|
|
227
227
|
import"./index-fr0wbhdn.js";
|
|
228
228
|
import {
|
|
229
229
|
preloadTokenizer
|
|
@@ -232,7 +232,7 @@ import"./index-pxnzyvjc.js";
|
|
|
232
232
|
import {
|
|
233
233
|
getDefaultSubcConnectionFile,
|
|
234
234
|
SubcModuleTransport
|
|
235
|
-
} from "./index-
|
|
235
|
+
} from "./index-dg5jvh9r.js";
|
|
236
236
|
import"./index-qt1qqasc.js";
|
|
237
237
|
import"./index-e6ncz7a6.js";
|
|
238
238
|
import {
|
|
@@ -243,15 +243,15 @@ import {
|
|
|
243
243
|
import {
|
|
244
244
|
sendCommandResult2,
|
|
245
245
|
sendStatusNotification2
|
|
246
|
-
} from "./index-
|
|
246
|
+
} from "./index-g6hfh4h4.js";
|
|
247
247
|
import {
|
|
248
248
|
detectConflicts,
|
|
249
249
|
resolveCompactionForBoot
|
|
250
|
-
} from "./index-
|
|
250
|
+
} from "./index-nxxzeq4y.js";
|
|
251
251
|
import {
|
|
252
252
|
sendConflictWarning2,
|
|
253
253
|
cleanupConflictWarnings2
|
|
254
|
-
} from "./index-
|
|
254
|
+
} from "./index-stx8zd81.js";
|
|
255
255
|
import"./index-1zx87sdm.js";
|
|
256
256
|
import {
|
|
257
257
|
stripPersistedAssistantText,
|
|
@@ -296,18 +296,18 @@ import"./index-snbpdpa3.js";
|
|
|
296
296
|
import {
|
|
297
297
|
deleteIndexedMessage
|
|
298
298
|
} from "./index-zzvd4a9z.js";
|
|
299
|
-
import"./index-
|
|
300
|
-
import"./index-
|
|
299
|
+
import"./index-e21n48yd.js";
|
|
300
|
+
import"./index-bd34njzg.js";
|
|
301
301
|
import {
|
|
302
302
|
pushNotification2
|
|
303
|
-
} from "./index-
|
|
303
|
+
} from "./index-fzgyvsb1.js";
|
|
304
304
|
import"./index-zb4h9nrk.js";
|
|
305
305
|
import {
|
|
306
306
|
getEmbeddingCoverageStatus2
|
|
307
|
-
} from "./index-
|
|
307
|
+
} from "./index-shpyv8gq.js";
|
|
308
308
|
import"./index-4dhv7mqz.js";
|
|
309
|
-
import"./index-
|
|
310
|
-
import"./index-
|
|
309
|
+
import"./index-fgy6hnr3.js";
|
|
310
|
+
import"./index-w8dcjt7f.js";
|
|
311
311
|
import"./index-jjvbk92s.js";
|
|
312
312
|
import"./index-832w615x.js";
|
|
313
313
|
import {
|
|
@@ -319,13 +319,13 @@ import {
|
|
|
319
319
|
armBindingRecoverySafely,
|
|
320
320
|
collectForeignTextParts,
|
|
321
321
|
resetDegradedCacheCount2
|
|
322
|
-
} from "./index-
|
|
322
|
+
} from "./index-wxxcfpxh.js";
|
|
323
323
|
import {
|
|
324
324
|
scheduleClearAndReindex
|
|
325
|
-
} from "./index-
|
|
325
|
+
} from "./index-rnyaa7cj.js";
|
|
326
326
|
import {
|
|
327
327
|
runManagedRecomp2
|
|
328
|
-
} from "./index-
|
|
328
|
+
} from "./index-hz1xdb15.js";
|
|
329
329
|
import {
|
|
330
330
|
isValidSemver,
|
|
331
331
|
compareSemverCore
|
|
@@ -333,11 +333,11 @@ import {
|
|
|
333
333
|
import"./index-fmsr7v69.js";
|
|
334
334
|
import {
|
|
335
335
|
runManagedWrapup2
|
|
336
|
-
} from "./index-
|
|
336
|
+
} from "./index-eptthgkw.js";
|
|
337
337
|
import"./index-twmeey4h.js";
|
|
338
338
|
import"./index-52x68mj4.js";
|
|
339
|
-
import"./index-
|
|
340
|
-
import"./index-
|
|
339
|
+
import"./index-2xhzmwf6.js";
|
|
340
|
+
import"./index-2ygw6q5s.js";
|
|
341
341
|
import {
|
|
342
342
|
isDreamerRunnable,
|
|
343
343
|
isSmartNoteSurfaceAvailable,
|
|
@@ -8205,7 +8205,7 @@ var require_src2 = __commonJS(function(exports, module) {
|
|
|
8205
8205
|
// package.json
|
|
8206
8206
|
var package_default = {
|
|
8207
8207
|
name: "@cortexkit/opencode-magic-context",
|
|
8208
|
-
version: "0.49.
|
|
8208
|
+
version: "0.49.82",
|
|
8209
8209
|
type: "module",
|
|
8210
8210
|
description: "OpenCode plugin for Magic Context — cross-session memory and context management",
|
|
8211
8211
|
main: "dist/index.js",
|
|
@@ -12085,7 +12085,7 @@ async function setup(context) {
|
|
|
12085
12085
|
if (claimStorageBackupWarningCheck() && isMagicContextStorageOutsideEngram(storageDir)) {
|
|
12086
12086
|
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.`);
|
|
12087
12087
|
}
|
|
12088
|
-
const { registerContext } = await import("./context-
|
|
12088
|
+
const { registerContext } = await import("./context-00f1hdz2.js");
|
|
12089
12089
|
setHarness2("opencode2");
|
|
12090
12090
|
bindStaleBuildNotice({}, import.meta.url, "opencode2");
|
|
12091
12091
|
const duties = await registerContext(context);
|
|
@@ -12164,7 +12164,7 @@ var server = async (ctx) => {
|
|
|
12164
12164
|
if (hasBannerEntries)
|
|
12165
12165
|
setTimeout(async () => {
|
|
12166
12166
|
try {
|
|
12167
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12167
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-7x518gew.js"));
|
|
12168
12168
|
const clientWithSessions = ctx.client;
|
|
12169
12169
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12170
12170
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12182,7 +12182,7 @@ var server = async (ctx) => {
|
|
|
12182
12182
|
log2(`[magic-context] opencode_db_missing path=${openCodeDbResolution.path} source=${openCodeDbResolution.source}`);
|
|
12183
12183
|
setTimeout(async () => {
|
|
12184
12184
|
try {
|
|
12185
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12185
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-7x518gew.js"));
|
|
12186
12186
|
const clientWithSessions = ctx.client;
|
|
12187
12187
|
const sessions = await Promise.resolve(clientWithSessions.session?.list?.()).catch(() => null);
|
|
12188
12188
|
const sessionList = Array.isArray(sessions) ? sessions : sessions?.data;
|
|
@@ -12455,12 +12455,12 @@ var server = async (ctx) => {
|
|
|
12455
12455
|
{
|
|
12456
12456
|
const fence = getSchemaFenceRejection();
|
|
12457
12457
|
if (fence) {
|
|
12458
|
-
importPluginModule(() => import("./conflict-warning-hook-
|
|
12458
|
+
importPluginModule(() => import("./conflict-warning-hook-a0wrnzch.js")).then(({ sendSchemaFenceWarning }) => sendSchemaFenceWarning(ctx.client, ctx.directory, fence)).catch((error) => log2("[magic-context] schema-fence warning unavailable:", error));
|
|
12459
12459
|
}
|
|
12460
12460
|
}
|
|
12461
12461
|
const serverUrl = ctx.serverUrl;
|
|
12462
12462
|
const serverUrlStr = serverUrl instanceof URL ? serverUrl.toString().replace(/\/$/, "") : typeof serverUrl === "string" ? serverUrl.replace(/\/$/, "") : undefined;
|
|
12463
|
-
importPluginModule(() => import("./send-session-notification-
|
|
12463
|
+
importPluginModule(() => import("./send-session-notification-7x518gew.js")).then(({ setNotificationServerUrl }) => {
|
|
12464
12464
|
setNotificationServerUrl(serverUrlStr);
|
|
12465
12465
|
}).catch((error) => log2("[magic-context] notification transport unavailable:", error));
|
|
12466
12466
|
if (conflictResult?.hasConflict) {
|
|
@@ -12483,7 +12483,7 @@ var server = async (ctx) => {
|
|
|
12483
12483
|
}) => {
|
|
12484
12484
|
if (!shouldShowAnnouncement())
|
|
12485
12485
|
return;
|
|
12486
|
-
return importPluginModule(() => import("./conflict-warning-hook-
|
|
12486
|
+
return importPluginModule(() => import("./conflict-warning-hook-a0wrnzch.js")).then(({ sendStartupAnnouncement }) => sendStartupAnnouncement(ctx.client, ctx.directory, ANNOUNCEMENT_VERSION, ANNOUNCEMENT_FEATURES, ANNOUNCEMENT_FOOTER, markAnnouncementSeen));
|
|
12487
12487
|
}).catch(() => {});
|
|
12488
12488
|
}, 8000);
|
|
12489
12489
|
}
|
|
@@ -12557,8 +12557,8 @@ var server = async (ctx) => {
|
|
|
12557
12557
|
tryReopenStorage,
|
|
12558
12558
|
rustReplayParticipant: () => magicContextRuntime.magicContext?.getRustReplayParticipant?.() ?? null,
|
|
12559
12559
|
onStorageBusyRefusal: async (sessionId, message) => {
|
|
12560
|
-
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-
|
|
12561
|
-
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-
|
|
12560
|
+
const { sendStatusNotification } = await importPluginModule(() => import("./send-session-notification-7x518gew.js"));
|
|
12561
|
+
const { abortSessionFailClosed } = await importPluginModule(() => import("./transform-postprocess-phase-p2egg02g.js"));
|
|
12562
12562
|
await sendStatusNotification(ctx.client, sessionId, message, {
|
|
12563
12563
|
toastDurationMs: 15000
|
|
12564
12564
|
});
|
package/dist/migration-worker.js
CHANGED
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
import"./index-fr0wbhdn.js";
|
|
11
11
|
import {
|
|
12
12
|
runMigrationsWithRetry
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-w2wpx7t5.js";
|
|
14
14
|
import"./index-jrj95cce.js";
|
|
15
15
|
import"./index-58e3y90n.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-fpqdbb67.js";
|
|
17
17
|
import"./index-gqf8r04r.js";
|
|
18
18
|
import"./index-fb3zxn06.js";
|
|
19
19
|
import {
|
|
20
20
|
setSqlitePragmaConfig,
|
|
21
21
|
initializeDatabase
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-zvane1rq.js";
|
|
23
23
|
import"./index-wh9fxds5.js";
|
|
24
24
|
import"./index-v0p37hm2.js";
|
|
25
25
|
import"./index-96ztjvkn.js";
|
|
@@ -133,6 +133,8 @@ export declare function registerRpcHandlers(rpcServer: MagicContextRpcServer, ar
|
|
|
133
133
|
storageDir?: string;
|
|
134
134
|
getDebugMemoryHolders?: () => RuntimeDebugMemoryHolders | undefined;
|
|
135
135
|
getDatabase?: () => Database | null;
|
|
136
|
+
/** Optional read-only diagnosis supplied by the OpenCode 2 adapter. */
|
|
137
|
+
readForkHistoryGap?: (db: Database, sessionId: string) => boolean;
|
|
136
138
|
}): void;
|
|
137
139
|
export {};
|
|
138
140
|
//# sourceMappingURL=rpc-handlers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc-handlers.d.ts","sourceRoot":"","sources":["../../src/plugin/rpc-handlers.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"rpc-handlers.d.ts","sourceRoot":"","sources":["../../src/plugin/rpc-handlers.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAqCzE,OAAO,EACH,KAAK,eAAe,IAAI,QAAQ,EAEnC,MAAM,mCAAmC,CAAC;AAmB3C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAgBhG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAElG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAUlF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAwBvF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,KAAK,EAGR,wBAAwB,EAGxB,eAAe,EACf,YAAY,EACf,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAEH,KAAK,uBAAuB,EAC/B,MAAM,+BAA+B,CAAC;AAIvC,wBAAsB,oBAAoB,CACtC,YAAY,EAAE,oBAAoB,GAAG,SAAS,EAC9C,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,GACpB,OAAO,CAAC;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,C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AAC,EAAE,MAAM,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,yBAAyB,GAAG,SAAS,CAAC;IACpE,WAAW,CAAC,EAAE,MAAM,QAAQ,GAAG,IAAI,CAAC;IACpC,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;CACrE,GACF,IAAI,CAgeN"}
|
package/dist/{project-embedding-registry-sw4z2ptg.js → project-embedding-registry-y3z36mjy.js}
RENAMED
|
@@ -38,16 +38,16 @@ import {
|
|
|
38
38
|
sweepAllRegisteredProjects2,
|
|
39
39
|
_setTestProviderFactoryForProject2,
|
|
40
40
|
_resetProjectEmbeddingRegistryForTests2
|
|
41
|
-
} from "./index-
|
|
41
|
+
} from "./index-shpyv8gq.js";
|
|
42
42
|
import"./index-4dhv7mqz.js";
|
|
43
43
|
import"./index-2amn2s73.js";
|
|
44
44
|
import"./index-qt1qqasc.js";
|
|
45
45
|
import"./index-zb4h9nrk.js";
|
|
46
46
|
import"./index-6nqz8hsz.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-vpw46557.js";
|
|
48
48
|
import"./index-snbpdpa3.js";
|
|
49
49
|
import"./index-pxnzyvjc.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-fpqdbb67.js";
|
|
51
51
|
import"./index-s32f8y67.js";
|
|
52
52
|
import"./index-q7q6qp1f.js";
|
|
53
53
|
import"./index-96ztjvkn.js";
|
|
@@ -19,7 +19,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
19
19
|
await main();
|
|
20
20
|
async function main() {
|
|
21
21
|
if (input.v2ArchiveReader) {
|
|
22
|
-
const { serveV2ArchiveReads } = await import("./v2-archive-reader-
|
|
22
|
+
const { serveV2ArchiveReads } = await import("./v2-archive-reader-r0xpxsb1.js");
|
|
23
23
|
await serveV2ArchiveReads(port, openConnections);
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
@@ -51,7 +51,7 @@ serveWorkerJobs(async (input, port) => {
|
|
|
51
51
|
await runMessageFtsRowidMapBackfill(db);
|
|
52
52
|
reply = { kind: "fts-rowid-backfill" };
|
|
53
53
|
} else if (input.searchArchive) {
|
|
54
|
-
const { renderSearchArchive } = await import("./search-archive-
|
|
54
|
+
const { renderSearchArchive } = await import("./search-archive-s2jas2jb.js");
|
|
55
55
|
const { readRawSessionMessageIdOrdinalsForRangeFromDb } = await import("./read-session-raw-3sc9231y.js");
|
|
56
56
|
const archive = input.searchArchive;
|
|
57
57
|
let raw;
|
|
@@ -7,39 +7,39 @@ import {
|
|
|
7
7
|
setRecompTerminal2,
|
|
8
8
|
buildRecompDeps2,
|
|
9
9
|
runManagedRecomp2
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-hz1xdb15.js";
|
|
11
|
+
import"./index-b2787fk6.js";
|
|
12
12
|
import"./index-832w615x.js";
|
|
13
13
|
import"./index-sd3egckz.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-fgy6hnr3.js";
|
|
15
|
+
import"./index-w8dcjt7f.js";
|
|
16
16
|
import"./index-jjvbk92s.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-shpyv8gq.js";
|
|
18
18
|
import"./index-4dhv7mqz.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-x8qgqnym.js";
|
|
20
|
+
import"./index-bd34njzg.js";
|
|
21
21
|
import"./index-zzvd4a9z.js";
|
|
22
22
|
import"./index-2amn2s73.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-e21n48yd.js";
|
|
24
24
|
import"./index-tky3j43e.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-g6hfh4h4.js";
|
|
26
26
|
import"./index-qt1qqasc.js";
|
|
27
27
|
import"./index-2q0t43fy.js";
|
|
28
28
|
import"./index-y208s7zx.js";
|
|
29
29
|
import"./index-1zx87sdm.js";
|
|
30
30
|
import"./index-x40zr813.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-fzgyvsb1.js";
|
|
32
32
|
import"./index-e6ncz7a6.js";
|
|
33
33
|
import"./index-zb4h9nrk.js";
|
|
34
34
|
import"./index-6nqz8hsz.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-vpw46557.js";
|
|
36
36
|
import"./index-snbpdpa3.js";
|
|
37
37
|
import"./index-pxnzyvjc.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-zvane1rq.js";
|
|
39
39
|
import"./index-fb3zxn06.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-w2wpx7t5.js";
|
|
41
41
|
import"./index-fr0wbhdn.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-fpqdbb67.js";
|
|
43
43
|
import"./index-s32f8y67.js";
|
|
44
44
|
import"./index-wh9fxds5.js";
|
|
45
45
|
import"./index-gqf8r04r.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
renderVerboseRangeForTool2,
|
|
4
4
|
renderItemByTag2
|
|
5
5
|
} from "./index-twmeey4h.js";
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
import"./index-x8qgqnym.js";
|
|
7
|
+
import"./index-bd34njzg.js";
|
|
8
8
|
import"./index-zzvd4a9z.js";
|
|
9
9
|
import"./index-2amn2s73.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-e21n48yd.js";
|
|
11
11
|
import"./index-2q0t43fy.js";
|
|
12
12
|
import"./index-y208s7zx.js";
|
|
13
13
|
import"./index-1zx87sdm.js";
|
|
@@ -15,11 +15,11 @@ import"./index-x40zr813.js";
|
|
|
15
15
|
import"./index-6nqz8hsz.js";
|
|
16
16
|
import"./index-snbpdpa3.js";
|
|
17
17
|
import"./index-pxnzyvjc.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-zvane1rq.js";
|
|
19
19
|
import"./index-fb3zxn06.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-w2wpx7t5.js";
|
|
21
21
|
import"./index-fr0wbhdn.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-fpqdbb67.js";
|
|
23
23
|
import"./index-s32f8y67.js";
|
|
24
24
|
import"./index-wh9fxds5.js";
|
|
25
25
|
import"./index-gqf8r04r.js";
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerNotificationSink2,
|
|
3
|
+
pushLiveNotification2,
|
|
3
4
|
pushNotification2,
|
|
4
5
|
acknowledgeNotifications2,
|
|
5
6
|
__resetNotificationStateForTests2,
|
|
6
7
|
drainNotifications2,
|
|
7
8
|
isTuiConnected2
|
|
8
|
-
} from "./index-
|
|
9
|
+
} from "./index-fzgyvsb1.js";
|
|
9
10
|
export {
|
|
10
11
|
__resetNotificationStateForTests2 as __resetNotificationStateForTests,
|
|
11
12
|
acknowledgeNotifications2 as acknowledgeNotifications,
|
|
12
13
|
drainNotifications2 as drainNotifications,
|
|
13
14
|
isTuiConnected2 as isTuiConnected,
|
|
15
|
+
pushLiveNotification2 as pushLiveNotification,
|
|
14
16
|
pushNotification2 as pushNotification,
|
|
15
17
|
registerNotificationSink2 as registerNotificationSink
|
|
16
18
|
};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
resolveMemoriesByIdsForSearch2,
|
|
6
6
|
unifiedSearch2,
|
|
7
7
|
formatSearchResults2
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-dg5jvh9r.js";
|
|
9
|
+
import"./index-rnyaa7cj.js";
|
|
10
10
|
import"./index-52x68mj4.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-fgy6hnr3.js";
|
|
12
|
+
import"./index-w8dcjt7f.js";
|
|
13
13
|
import"./index-jjvbk92s.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-shpyv8gq.js";
|
|
15
15
|
import"./index-4dhv7mqz.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-bd34njzg.js";
|
|
17
17
|
import"./index-zzvd4a9z.js";
|
|
18
18
|
import"./index-2amn2s73.js";
|
|
19
19
|
import"./index-qt1qqasc.js";
|
|
@@ -23,12 +23,12 @@ import"./index-1zx87sdm.js";
|
|
|
23
23
|
import"./index-x40zr813.js";
|
|
24
24
|
import"./index-zb4h9nrk.js";
|
|
25
25
|
import"./index-6nqz8hsz.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-vpw46557.js";
|
|
27
27
|
import"./index-snbpdpa3.js";
|
|
28
28
|
import"./index-pxnzyvjc.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-w2wpx7t5.js";
|
|
30
30
|
import"./index-fr0wbhdn.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-fpqdbb67.js";
|
|
32
32
|
import"./index-s32f8y67.js";
|
|
33
33
|
import"./index-jrj95cce.js";
|
|
34
34
|
import"./index-q7q6qp1f.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderSearchArchive2,
|
|
3
3
|
renderSearchArchiveOffThread2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-2ygw6q5s.js";
|
|
5
|
+
import"./index-2xhzmwf6.js";
|
|
6
6
|
import"./index-52x68mj4.js";
|
|
7
7
|
import"./index-2q0t43fy.js";
|
|
8
8
|
import"./index-y208s7zx.js";
|
|
@@ -129,6 +129,12 @@ export interface OpencodeConfigClientLike {
|
|
|
129
129
|
* boot never hangs), or serves no explicit `compaction.auto`.
|
|
130
130
|
*/
|
|
131
131
|
export declare function resolveCompactionForBoot(client: OpencodeConfigClientLike, timeoutMs?: number, hostGeneration?: OpenCodeHostGeneration): Promise<ResolvedCompaction | null>;
|
|
132
|
+
/** File-based input to doctor's advisory finding; never used to block plugin boot. */
|
|
133
|
+
export declare function readOpenCode2BackgroundCompaction(directory: string): {
|
|
134
|
+
enabled: boolean;
|
|
135
|
+
backgroundSource: string | undefined;
|
|
136
|
+
unreadable: string[];
|
|
137
|
+
};
|
|
132
138
|
/**
|
|
133
139
|
* Canonical npm package names that represent the conflicting plugin.
|
|
134
140
|
* Matched against the npm-style segment of each plugin entry, so:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conflict-detector.d.ts","sourceRoot":"","sources":["../../src/shared/conflict-detector.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"conflict-detector.d.ts","sourceRoot":"","sources":["../../src/shared/conflict-detector.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AA0BjE,MAAM,WAAW,cAAc;IAC3B,8CAA8C;IAC9C,WAAW,EAAE,OAAO,CAAC;IACrB,+CAA+C;IAC/C,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,2DAA2D;IAC3D,SAAS,EAAE;QACP,cAAc,EAAE,OAAO,CAAC;QACxB,eAAe,EAAE,OAAO,CAAC;QACzB,SAAS,EAAE,OAAO,CAAC;QACnB,uBAAuB,EAAE,OAAO,CAAC;QACjC,uBAAuB,EAAE,OAAO,CAAC;QACjC,oBAAoB,EAAE,OAAO,CAAC;KACjC,CAAC;IACF;;;;;;OAMG;IACH,gBAAgB,EAAE;QACd,IAAI,EAAE,OAAO,CAAC;QACd,KAAK,EAAE,OAAO,CAAC;KAClB,CAAC;CACL;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,WAAW,sBAAsB;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAC;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AAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAWlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conflict-fixer.d.ts","sourceRoot":"","sources":["../../src/shared/conflict-fixer.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,cAAc,EAItB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"conflict-fixer.d.ts","sourceRoot":"","sources":["../../src/shared/conflict-fixer.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,cAAc,EAItB,MAAM,qBAAqB,CAAC;AA6D7B,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAOtE;AAyFD;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,mBAAmB;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,wBAAgB,YAAY,CACxB,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC,EACtC,OAAO,CAAC,EAAE,mBAAmB,GAC9B,MAAM,EAAE,CA6GV"}
|