@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.
Files changed (104) hide show
  1. package/dist/{announcement-fnyxaahs.js → announcement-4ynkaf0d.js} +2 -2
  2. package/dist/auto-search-worker.js +3 -3
  3. package/dist/chunk-embedding-write-worker.js +5 -5
  4. package/dist/{context-gnk68pyy.js → context-cdds0gjj.js} +219 -41
  5. package/dist/{derive-budgets-90869322.js → derive-budgets-hzzq71rm.js} +2 -2
  6. package/dist/{embedding-backfill-9khxv6a9.js → embedding-backfill-qjkaee9s.js} +6 -6
  7. package/dist/embedding-worker.js +2 -2
  8. package/dist/features/magic-context/storage-db.d.ts.map +1 -1
  9. package/dist/hooks/magic-context/compartment-runner-partial-recomp.d.ts.map +1 -1
  10. package/dist/hooks/magic-context/compartment-runner-recomp-carry.d.ts +4 -0
  11. package/dist/hooks/magic-context/compartment-runner-recomp-carry.d.ts.map +1 -0
  12. package/dist/hooks/magic-context/compartment-runner-recomp.d.ts +8 -2
  13. package/dist/hooks/magic-context/compartment-runner-recomp.d.ts.map +1 -1
  14. package/dist/hooks/magic-context/history-boundary-repair.d.ts +2 -0
  15. package/dist/hooks/magic-context/history-boundary-repair.d.ts.map +1 -1
  16. package/dist/hooks/magic-context/recomp-orchestrator.d.ts +3 -5
  17. package/dist/hooks/magic-context/recomp-orchestrator.d.ts.map +1 -1
  18. package/dist/{index-watde7a1.js → index-2pdgy88n.js} +3 -3
  19. package/dist/{index-c1s40xmj.js → index-39rzef89.js} +7 -5
  20. package/dist/{index-c5tmzym6.js → index-5df2fw5b.js} +108 -13
  21. package/dist/{index-7svecf3m.js → index-5pgyqgmx.js} +1 -1
  22. package/dist/{index-k50xhjw1.js → index-60x5d68t.js} +1 -1
  23. package/dist/{index-jka4y6mv.js → index-61knrt52.js} +1 -1
  24. package/dist/{index-74sh122g.js → index-9d3qgwq0.js} +1 -1
  25. package/dist/{index-2kf73btc.js → index-cr483vx6.js} +1 -1
  26. package/dist/{index-5nmqgvz2.js → index-dk3hy2a2.js} +6 -6
  27. package/dist/{index-awyqqnd8.js → index-g0mb2kb4.js} +6 -6
  28. package/dist/{index-kmrv1fw3.js → index-h9hybzr5.js} +2 -2
  29. package/dist/{index-vyfrgwhk.js → index-jzfsnbmm.js} +2 -2
  30. package/dist/{index-rvf1726x.js → index-mrjat4eq.js} +75 -12
  31. package/dist/{index-b364vr04.js → index-n1ty0vd3.js} +22 -22
  32. package/dist/{index-csztadkj.js → index-q7msfgwz.js} +272 -101
  33. package/dist/{index-pmcvg3k1.js → index-qfcjrnpe.js} +6 -5
  34. package/dist/{index-3dtzyred.js → index-r4y0dczp.js} +1 -1
  35. package/dist/{index-bxrfq3mv.js → index-tt0vs4x5.js} +1 -1
  36. package/dist/{index-3x4qvp29.js → index-w51n3576.js} +1 -1
  37. package/dist/{index-3jgzd7nz.js → index-wmb2mcdw.js} +3 -3
  38. package/dist/{index-zmqx48vt.js → index-xsqw8kbd.js} +1 -1
  39. package/dist/{index-hdyfvdag.js → index-zxhev8ze.js} +1 -1
  40. package/dist/index.js +26 -26
  41. package/dist/migration-worker.js +4 -4
  42. package/dist/{project-embedding-registry-8t0gwf59.js → project-embedding-registry-m3fp1pa4.js} +5 -5
  43. package/dist/raw-ordinal-warmup-worker.js +2 -2
  44. package/dist/{recomp-orchestrator-2ztmtxt2.js → recomp-orchestrator-dgyb394j.js} +14 -14
  45. package/dist/{render-d6q6h9hy.js → render-d014e603.js} +6 -6
  46. package/dist/{search-d5aajhs3.js → search-9gceftb9.js} +11 -11
  47. package/dist/{search-archive-g96jn6p0.js → search-archive-gybn6q7s.js} +2 -2
  48. package/dist/shared/recomp-outcome.d.ts +4 -0
  49. package/dist/shared/recomp-outcome.d.ts.map +1 -0
  50. package/dist/shared/storage-permissions.d.ts +16 -2
  51. package/dist/shared/storage-permissions.d.ts.map +1 -1
  52. package/dist/shared/user-facing-codes.d.ts +4 -1
  53. package/dist/shared/user-facing-codes.d.ts.map +1 -1
  54. package/dist/{transform-postprocess-phase-b2yjw8by.js → transform-postprocess-phase-34k1zwsy.js} +15 -15
  55. package/dist/v2/auto-search-worker.js +3 -3
  56. package/dist/v2/chunk-embedding-write-worker.js +5 -5
  57. package/dist/v2/{context-s86114yy.js → context-satgm752.js} +218 -41
  58. package/dist/v2/{derive-budgets-ecjy1aqh.js → derive-budgets-hr4qqrnv.js} +3 -3
  59. package/dist/v2/{embedding-backfill-tazkbpyg.js → embedding-backfill-0ar1bm97.js} +6 -6
  60. package/dist/v2/embedding-worker.js +2 -2
  61. package/dist/v2/fold/native-replay.d.ts +11 -2
  62. package/dist/v2/fold/native-replay.d.ts.map +1 -1
  63. package/dist/v2/hooks/context.d.ts.map +1 -1
  64. package/dist/v2/hooks/revert-message-state.d.ts +19 -1
  65. package/dist/v2/hooks/revert-message-state.d.ts.map +1 -1
  66. package/dist/v2/migration-worker.js +4 -4
  67. package/dist/v2/{project-embedding-registry-ah3gsg48.js → project-embedding-registry-gx2waee8.js} +5 -5
  68. package/dist/v2/raw-ordinal-warmup-worker.js +2 -2
  69. package/dist/v2/{recomp-orchestrator-kc62xgb9.js → recomp-orchestrator-wq7gbkqa.js} +15 -15
  70. package/dist/v2/{render-j05per51.js → render-2dan17xc.js} +6 -6
  71. package/dist/v2/{search-archive-b4ptw02k.js → search-archive-89hdy0a2.js} +2 -2
  72. package/dist/v2/{search-kg31ad2s.js → search-nyqykx7q.js} +10 -10
  73. package/dist/v2/{server-ct0gs8fc.js → server-09h2vyvs.js} +2 -2
  74. package/dist/v2/{server-r2es6zt7.js → server-0tv6kytx.js} +108 -13
  75. package/dist/v2/{server-rz4snd3x.js → server-1rrmxhd1.js} +1 -1
  76. package/dist/v2/{server-xa8fefhw.js → server-96nm9vk4.js} +1 -1
  77. package/dist/v2/{server-2p0qayr1.js → server-a85j3kam.js} +1 -1
  78. package/dist/v2/{server-gwhj0362.js → server-add0j5n3.js} +7 -5
  79. package/dist/v2/{server-ff5wcfy4.js → server-b0a9h3ds.js} +2 -2
  80. package/dist/v2/{server-xn7zqs4j.js → server-dgjqvpgd.js} +3 -3
  81. package/dist/v2/{server-2r9btf0g.js → server-dtcwkdqj.js} +274 -103
  82. package/dist/v2/{server-axdmkvd5.js → server-f7tzvmzs.js} +1 -1
  83. package/dist/v2/{server-yh2z4gg2.js → server-fb5hvvfc.js} +75 -12
  84. package/dist/v2/{server-pbp58w5x.js → server-fn4ky6mn.js} +1 -1
  85. package/dist/v2/{server-3p6b0qya.js → server-gqkdfdvw.js} +1 -1
  86. package/dist/v2/{server-cwtehwbb.js → server-j4jjtdc5.js} +1 -1
  87. package/dist/v2/{server-b93f0bqh.js → server-pjk9spbf.js} +1 -1
  88. package/dist/v2/{server-gqrw0br5.js → server-ta4h0fch.js} +6 -6
  89. package/dist/v2/{server-e2k9mt86.js → server-tj65pgvg.js} +1 -1
  90. package/dist/v2/{server-6vnbz81n.js → server-vy0beygw.js} +1 -1
  91. package/dist/v2/server.js +5 -5
  92. package/dist/v2/{v2-archive-reader-2ayz16s4.js → v2-archive-reader-gh1jghf7.js} +1 -1
  93. package/dist/v2/{wrapup-orchestrator-e20sjbdz.js → wrapup-orchestrator-2h7ayss9.js} +15 -15
  94. package/dist/{v2-archive-reader-x39mzvwn.js → v2-archive-reader-8158kyfd.js} +1 -1
  95. package/dist/{wrapup-orchestrator-h3s905vs.js → wrapup-orchestrator-ct59br0c.js} +15 -15
  96. package/package.json +1 -1
  97. package/src/shared/recomp-outcome.ts +8 -0
  98. package/src/shared/storage-permissions-startup.test.ts +296 -6
  99. package/src/shared/storage-permissions.ts +143 -18
  100. package/src/shared/user-facing-codes.ts +5 -2
  101. package/src/tui/dialogs/status-dialog.tsx +3 -0
  102. package/src/tui/slots/sidebar-content.tsx +6 -2
  103. package/src/tui-compiled/dialogs/status-dialog.tsx +12 -0
  104. package/src/tui-compiled/slots/sidebar-content.tsx +7 -2
@@ -13,7 +13,7 @@ import {
13
13
  } from "./index-gzy5w8ya.js";
14
14
  import {
15
15
  scheduleAfterBootQuiet
16
- } from "./index-7svecf3m.js";
16
+ } from "./index-5pgyqgmx.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 "./index-c5tmzym6.js";
49
+ } from "./index-5df2fw5b.js";
50
50
  import {
51
51
  attachFailClosedBlockingProcessEvidence
52
52
  } from "./index-wh9fxds5.js";
@@ -65,7 +65,7 @@ import {
65
65
  hasPendingMigrations,
66
66
  getMainThreadMigrationBodyCount,
67
67
  runMigrations
68
- } from "./index-bxrfq3mv.js";
68
+ } from "./index-tt0vs4x5.js";
69
69
  import {
70
70
  installTagIdentityRevisionTrigger,
71
71
  ensureColumn,
@@ -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 ensureSecureStorageDir(dir) {
587
- ensureStorageDirectorySync(dir);
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 tightenStorageTree(dbPath) {
590
- const { failures } = tightenStorageTreeSync(dirname(dbPath), dbPath);
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" });
@@ -70,7 +70,7 @@ import {
70
70
  writeStorageFileAtomicSync,
71
71
  writeStorageFileAsync,
72
72
  createStorageWriteStream
73
- } from "./index-c5tmzym6.js";
73
+ } from "./index-5df2fw5b.js";
74
74
  import {
75
75
  pruneMissingProjectIdentities,
76
76
  shouldSkipHomeProjectMemory,
@@ -87,7 +87,7 @@ import {
87
87
  storedPathBelongsToIdentity,
88
88
  beginBootQuietPeriod,
89
89
  scheduleAfterBootQuiet
90
- } from "./index-7svecf3m.js";
90
+ } from "./index-5pgyqgmx.js";
91
91
  import {
92
92
  recordSessionProjectIdentity,
93
93
  hasRecordedSessionProjectIdentity,
@@ -97,7 +97,7 @@ import {
97
97
  markGitSweepSuccessAndRelease,
98
98
  parkGitSweepNonIndexable,
99
99
  releaseGitSweepLease
100
- } from "./index-3dtzyred.js";
100
+ } from "./index-r4y0dczp.js";
101
101
  import {
102
102
  getMagicContextBuiltinCommands,
103
103
  formatConfigParseStatusLine,
@@ -213,7 +213,7 @@ import {
213
213
  snapRangeToCompartments,
214
214
  getActiveCompartmentRun,
215
215
  startCompartmentAgent
216
- } from "./index-csztadkj.js";
216
+ } from "./index-q7msfgwz.js";
217
217
  import {
218
218
  formatWindowDerivationLine,
219
219
  getSdkWindowGeometry,
@@ -222,7 +222,7 @@ import {
222
222
  deriveTriggerBudget2,
223
223
  resolveKnownHistorianContextLimit2,
224
224
  resolveHistorianProducerLimits2
225
- } from "./index-zmqx48vt.js";
225
+ } from "./index-xsqw8kbd.js";
226
226
  import {
227
227
  resolveModelCalibration,
228
228
  calibrateBuckets,
@@ -462,7 +462,7 @@ import {
462
462
  runSqliteOptimize,
463
463
  openDatabase,
464
464
  openCurrentDatabase
465
- } from "./index-rvf1726x.js";
465
+ } from "./index-mrjat4eq.js";
466
466
  import {
467
467
  unescapeXml,
468
468
  resolveWorkspaceShareCategories,
@@ -471,7 +471,7 @@ import {
471
471
  resolveStoredPathWorkspaceIdentity,
472
472
  storedPathBelongsToWorkspace,
473
473
  computeWorkspaceEpochFingerprint
474
- } from "./index-bxrfq3mv.js";
474
+ } from "./index-tt0vs4x5.js";
475
475
  import {
476
476
  V2_MEMORY_CATEGORIES,
477
477
  CATEGORY_PRIORITY
@@ -577,7 +577,7 @@ import {
577
577
  GLOBAL_USER_PROFILE_PROJECT_PATH,
578
578
  getProjectState,
579
579
  bumpProjectUserProfileVersion
580
- } from "./index-kmrv1fw3.js";
580
+ } from "./index-h9hybzr5.js";
581
581
  import {
582
582
  getLastIndexedOrdinal
583
583
  } from "./index-chpzb6xy.js";
@@ -606,7 +606,7 @@ import {
606
606
  createPrimer,
607
607
  updatePrimerSupport,
608
608
  updatePrimerAnswer
609
- } from "./index-jka4y6mv.js";
609
+ } from "./index-61knrt52.js";
610
610
  import {
611
611
  registerNotificationSink2,
612
612
  pushNotification2,
@@ -618,7 +618,7 @@ import {
618
618
  getCachedLocalEmbeddingPooling,
619
619
  preflightLocalEmbeddingPooling,
620
620
  getLocalEmbeddingNativeMemoryStats
621
- } from "./index-k50xhjw1.js";
621
+ } from "./index-60x5d68t.js";
622
622
  import {
623
623
  withQueryEmbeddingDeadline,
624
624
  describeShadowBackfillWriteRefusal2,
@@ -639,7 +639,7 @@ import {
639
639
  embedSessionCompartmentChunks2,
640
640
  getEmbeddingCoverageStatus2,
641
641
  getAutoEmbeddingSessionCoverage2
642
- } from "./index-watde7a1.js";
642
+ } from "./index-2pdgy88n.js";
643
643
  import {
644
644
  saveEmbeddingIfHashMatches,
645
645
  invalidateProject2,
@@ -665,7 +665,7 @@ import {
665
665
  readGitFileChangeTimesSince,
666
666
  verificationFileExists,
667
667
  normalizeVerificationFiles
668
- } from "./index-c1s40xmj.js";
668
+ } from "./index-39rzef89.js";
669
669
  import {
670
670
  computeCueContentHash,
671
671
  hasMuralCueColumns,
@@ -713,13 +713,13 @@ import {
713
713
  resolveMemoriesByIdsForSearch2,
714
714
  unifiedSearch2,
715
715
  formatSearchResults2
716
- } from "./index-5nmqgvz2.js";
716
+ } from "./index-dk3hy2a2.js";
717
717
  import {
718
718
  scheduleReconciliation,
719
719
  scheduleIncrementalIndex,
720
720
  getMessageIndexQueueHeapStats,
721
721
  clearSessionTracking
722
- } from "./index-hdyfvdag.js";
722
+ } from "./index-zxhev8ze.js";
723
723
  import {
724
724
  resolveModelCacheTtl,
725
725
  resolveContextWindowGeometry,
@@ -818,7 +818,7 @@ import {
818
818
  abortSessionFailClosed2,
819
819
  evaluateEmergencyFailClosed2,
820
820
  runPostTransformPhase2
821
- } from "./index-awyqqnd8.js";
821
+ } from "./index-g0mb2kb4.js";
822
822
  import {
823
823
  flushIgnoredMessages2,
824
824
  clearIgnoredMessages2,
@@ -828,14 +828,14 @@ import {
828
828
  import {
829
829
  setRecompStarting2,
830
830
  setRecompTerminal2
831
- } from "./index-pmcvg3k1.js";
831
+ } from "./index-qfcjrnpe.js";
832
832
  import {
833
833
  ANNOUNCEMENT_VERSION2,
834
834
  ANNOUNCEMENT_FEATURES2,
835
835
  ANNOUNCEMENT_FOOTER2,
836
836
  markAnnouncementSeen2,
837
837
  shouldShowAnnouncement2
838
- } from "./index-2kf73btc.js";
838
+ } from "./index-cr483vx6.js";
839
839
  import {
840
840
  resolvePromptContext2
841
841
  } from "./index-fmsr7v69.js";
@@ -846,10 +846,10 @@ import {
846
846
  } from "./index-78t37mcq.js";
847
847
  import {
848
848
  readV2ArchiveOffThread2
849
- } from "./index-vyfrgwhk.js";
849
+ } from "./index-jzfsnbmm.js";
850
850
  import {
851
851
  renderSearchArchiveOffThread2
852
- } from "./index-74sh122g.js";
852
+ } from "./index-9d3qgwq0.js";
853
853
  import {
854
854
  COMPACTION_ENABLED_PATH,
855
855
  isDreamerRunnable,
@@ -16307,7 +16307,7 @@ function registerRpcHandlers(rpcServer, args) {
16307
16307
  return { count: buildCompartmentCount(db, sessionId, moduleStatus) };
16308
16308
  });
16309
16309
  const buildManagedCtx = async (db) => {
16310
- const { deriveHistorianChunkTokens, resolveHistorianContextLimit } = await importPluginModule(() => import("./derive-budgets-90869322.js"));
16310
+ const { deriveHistorianChunkTokens, resolveHistorianContextLimit } = await importPluginModule(() => import("./derive-budgets-hzzq71rm.js"));
16311
16311
  const { resolveHistorianModel } = await importPluginModule(() => import("./model-resolution-280gmqvd.js"));
16312
16312
  const { userObservationCollectionEnabled, userObservationsRequested } = await importPluginModule(() => import("./task-config-qt6n4bxm.js"));
16313
16313
  const DEFAULT_HISTORIAN_TIMEOUT_MS = 10 * 60 * 1000;
@@ -16359,7 +16359,7 @@ function registerRpcHandlers(rpcServer, args) {
16359
16359
  const db = readDatabase();
16360
16360
  if (!db)
16361
16361
  return { ok: false, error: "db unavailable" };
16362
- const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-2ztmtxt2.js"));
16362
+ const { runManagedRecomp } = await importPluginModule(() => import("./recomp-orchestrator-dgyb394j.js"));
16363
16363
  const { sendIgnoredMessage } = await importPluginModule(() => import("./send-session-notification-gzxz88vq.js"));
16364
16364
  log2(`[rpc] recomp requested for session ${sessionId}`);
16365
16365
  if (!args.client && !args.hiddenCompletionExecutor) {
@@ -16444,7 +16444,7 @@ function registerRpcHandlers(rpcServer, args) {
16444
16444
  const db = readDatabase();
16445
16445
  if (!db)
16446
16446
  return { ok: false, error: "db unavailable" };
16447
- const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-h3s905vs.js"));
16447
+ const { runManagedWrapup } = await importPluginModule(() => import("./wrapup-orchestrator-ct59br0c.js"));
16448
16448
  const model = await args.readSelectedSessionModel?.(sessionId) ?? liveSessionState.liveModelBySession.get(sessionId);
16449
16449
  const window = resolveOpenCodeWrapupWindow(db, sessionId, model);
16450
16450
  if (!window)