zidane-gui 9.1.1 → 9.1.3

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 (74) hide show
  1. package/out/main/index.js +77 -3
  2. package/out/preload/index.mjs +7 -0
  3. package/out/renderer/assets/{43YPWK3Q-C1KxyhBe.js → 43YPWK3Q-BLwohgFu.js} +6 -6
  4. package/out/renderer/assets/{45MVAN6X-uedsCyvs.js → 45MVAN6X-DCPmrh2y.js} +5 -5
  5. package/out/renderer/assets/{46GJKBLZ-DqRDtmyU.js → 46GJKBLZ-n_NiMQEY.js} +10 -10
  6. package/out/renderer/assets/{63WH7YNF-E23uJkxY.js → 63WH7YNF-B0-gnOSz.js} +8 -8
  7. package/out/renderer/assets/{6DDU7VKX-BnYMT-fZ.js → 6DDU7VKX-BKAF5gyQ.js} +6 -6
  8. package/out/renderer/assets/{CLQLV5VT-BsAy1F0L.js → CLQLV5VT-BIZsXon4.js} +6 -6
  9. package/out/renderer/assets/{CUSPXG5M-BndthcFo.js → CUSPXG5M-Donlp74Y.js} +6 -6
  10. package/out/renderer/assets/{CodeEditor-Bc2yVqNr.js → CodeEditor-80QT2Pyq.js} +3 -3
  11. package/out/renderer/assets/{ComposerEditor-B4wmjkXE.js → ComposerEditor-CXpNHoo1.js} +3 -3
  12. package/out/renderer/assets/{D3L7O4X2-LfFKkl0g.js → D3L7O4X2-BCbmkNpB.js} +4 -4
  13. package/out/renderer/assets/{D5TW5CPZ-BUXfpU2q.js → D5TW5CPZ-Bp-wetYa.js} +1 -1
  14. package/out/renderer/assets/{DiffsTab-BHaJc7Ve.js → DiffsTab-Dy8a_hwG.js} +6 -6
  15. package/out/renderer/assets/{EGADTWYV-giCCF2cw.js → EGADTWYV-CqSrkc7g.js} +5 -5
  16. package/out/renderer/assets/{EOJSJZXM-B9xc3U2A.js → EOJSJZXM-BTI84tys.js} +8 -8
  17. package/out/renderer/assets/{EditorWorkers-DABG5YG9.js → EditorWorkers-Durn1REy.js} +5 -5
  18. package/out/renderer/assets/{FilesTab-CyWw9vW2.js → FilesTab-h32FFVsw.js} +7 -7
  19. package/out/renderer/assets/{G2OEIG6X-hZmo0wrY.js → G2OEIG6X-CS8YUqSL.js} +5 -5
  20. package/out/renderer/assets/{GXJ2T77W-Dx1MA_On.js → GXJ2T77W-BHaQFzB4.js} +6 -6
  21. package/out/renderer/assets/{HX3UMAK7-DcJt6NaE.js → HX3UMAK7-DOOY2pSg.js} +5 -5
  22. package/out/renderer/assets/{IU7WZTP6-BZMu2vL3.js → IU7WZTP6-D7pwhQLH.js} +1 -1
  23. package/out/renderer/assets/{J5J2NR2G-CbQLnnZq.js → J5J2NR2G-SPjkbJgo.js} +4 -4
  24. package/out/renderer/assets/{JRCWTJEL-xEOyWDIN.js → JRCWTJEL-DT7JLR7k.js} +3 -3
  25. package/out/renderer/assets/{KHUP5TOH-032p46g-.js → KHUP5TOH-BX0A2YHC.js} +1 -1
  26. package/out/renderer/assets/{L74FQTH5-CQ_54hNm.js → L74FQTH5-MbDLfIZo.js} +4 -4
  27. package/out/renderer/assets/{LAV4ZXOS-DvhVMhLR.js → LAV4ZXOS-ClHlsIHg.js} +6 -6
  28. package/out/renderer/assets/{LBIZYCRR-CMaDdulz.js → LBIZYCRR-DmofT7Vk.js} +7 -7
  29. package/out/renderer/assets/{LFFXNLRS-BjbqzBYN.js → LFFXNLRS-yLLLefJM.js} +3 -3
  30. package/out/renderer/assets/{LLLWOAQD-B2zZRpRf.js → LLLWOAQD-DNhT1-qV.js} +1 -1
  31. package/out/renderer/assets/{LTYQZ5U5-DzI-7yJW.js → LTYQZ5U5-BxUtiilS.js} +8 -8
  32. package/out/renderer/assets/{NDSCUZ25-C9oT6c6G.js → NDSCUZ25-DltJ5xGa.js} +2 -2
  33. package/out/renderer/assets/{NMN3IKWL-9IsXehWp.js → NMN3IKWL-BXUYzi9o.js} +9 -9
  34. package/out/renderer/assets/{NMUA3R2D-B2ZuyfXA.js → NMUA3R2D-CAVxt8OJ.js} +7 -7
  35. package/out/renderer/assets/{NY5A6PPW-BzmvsXmE.js → NY5A6PPW-B3P5KUoQ.js} +3 -3
  36. package/out/renderer/assets/{OHJ2EJXK-BEkFEoxu.js → OHJ2EJXK-CKyEtj37.js} +1 -1
  37. package/out/renderer/assets/{OU2GIT2H-DZQl_5qv.js → OU2GIT2H-i9HfUuBk.js} +4 -4
  38. package/out/renderer/assets/{PDMLSE6I-C3FMl6Ej.js → PDMLSE6I-BnbSSXbG.js} +2 -2
  39. package/out/renderer/assets/{PJ7X32S5-BQ3aTkUy.js → PJ7X32S5-Do_rplzd.js} +5 -5
  40. package/out/renderer/assets/{RLLQ44NJ-Dq15CCQ6.js → RLLQ44NJ-SEvjKAya.js} +7 -7
  41. package/out/renderer/assets/{S6DWMCK5-KeQNStMI.js → S6DWMCK5-CK9P5x9H.js} +8 -8
  42. package/out/renderer/assets/{STIOTUT7-ZnewWXB7.js → STIOTUT7-KYZS5tvF.js} +6 -6
  43. package/out/renderer/assets/{SXSLPWUD-VIPmiOfk.js → SXSLPWUD-ylCpsia5.js} +2 -2
  44. package/out/renderer/assets/{TR4WJQGX-CQ3dPMLJ.js → TR4WJQGX-DXlqK6NQ.js} +1 -1
  45. package/out/renderer/assets/{UWRPUF3N-CtgKKvKe.js → UWRPUF3N-7_KSfEv0.js} +1 -1
  46. package/out/renderer/assets/{VSWIZJ7B-BN-hZ_G_.js → VSWIZJ7B-qmPn48eQ.js} +1 -1
  47. package/out/renderer/assets/{WM7NR6YK-CghasXna.js → WM7NR6YK-D4oWq6L3.js} +4 -4
  48. package/out/renderer/assets/{WXKV2YEK-C8qjO_OQ.js → WXKV2YEK-DsK-bqP8.js} +3 -3
  49. package/out/renderer/assets/{XLHPVVFU-CoRVO17g.js → XLHPVVFU-4_9lhZe2.js} +1 -1
  50. package/out/renderer/assets/{YNX532HU-DhZCm9iK.js → YNX532HU-C1DPijVc.js} +5 -5
  51. package/out/renderer/assets/{YUPSMAUO-Brx2G_oh.js → YUPSMAUO-0pM5w-ie.js} +1 -1
  52. package/out/renderer/assets/{ZFRCZTLK-Cs8fJIgy.js → ZFRCZTLK-4EIJek0V.js} +6 -6
  53. package/out/renderer/assets/{ZZDR4CN3-DcTVOpcO.js → ZZDR4CN3-B_T2R-Zh.js} +4 -4
  54. package/out/renderer/assets/{core-Z_paRVMb.js → core-2jWUG3m-.js} +1002 -335
  55. package/out/renderer/assets/{file-tabs-BCf1cAWp.js → file-tabs-DwqRIh1X.js} +6 -6
  56. package/out/renderer/assets/{ghostty-web-CdNv377h.js → ghostty-web-DnI2p8KS.js} +1 -1
  57. package/out/renderer/assets/{highlights-Cjdp9LIq.js → highlights-6LT5DvBO.js} +2 -2
  58. package/out/renderer/assets/{highlights-DaYW35iB.js → highlights-DmxOEap0.js} +3 -3
  59. package/out/renderer/assets/icons-D67TrEZV.js +23 -0
  60. package/out/renderer/assets/{index-_dhRO6Oc.js → index-BnnCv70H.js} +37 -18
  61. package/out/renderer/assets/{index-fNK5AY6Q.css → index-C-Dal-Bp.css} +307 -3
  62. package/out/renderer/assets/{kit-E8-H6M0V.js → kit-CdRTRA2T.js} +1398 -527
  63. package/out/renderer/assets/{langs-BDUDFyts.js → langs-D9nZatrh.js} +1 -1
  64. package/out/renderer/assets/{lazy-DQmrNfMK.js → lazy-C1DShJVi.js} +3 -3
  65. package/out/renderer/assets/{loader-byWkNl6P.js → loader-BlmA-DDi.js} +1 -1
  66. package/out/renderer/assets/{pierre-theme-CsyO3esE.js → pierre-theme-DpuLJ_93.js} +7 -7
  67. package/out/renderer/assets/{shiki-DxXti3Bm.js → shiki-RupN-xqP.js} +3 -3
  68. package/out/renderer/assets/{stream-tokenizer-sqhinrU5.js → stream-tokenizer-DLDzyMrK.js} +1 -1
  69. package/out/renderer/assets/{themes-DGY5d--g.js → themes-B1aebwax.js} +2 -2
  70. package/out/renderer/assets/{useDetachCleanup-DYbCqwX-.js → useDetachCleanup-BXvhEVk-.js} +2 -2
  71. package/out/renderer/assets/{useFolderChanges-Y0OqX_nG.js → useFolderChanges-BHQktE6l.js} +3 -3
  72. package/out/renderer/assets/{vendor-motion-CD5Og8pC.js → vendor-motion-BgQeucLF.js} +3 -3
  73. package/out/renderer/index.html +5 -5
  74. package/package.json +2 -2
package/out/main/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync, readdirSync, rmSync, mkdtempSync, realpathSync, createReadStream } from "node:fs";
2
2
  import { resolve, join, dirname, delimiter, basename, isAbsolute, extname, relative } from "node:path";
3
- import { resolveStorageDirs, shellPath, mergePath, shellPathAsync, createWorkerRpcClient, WorkerUnavailableError, watchFileChanges, readTurnsAt, readTranscript, createMachineLinkHandlers, createMachineHandlers, IPC_BUILD_ID, IPC_PROTOCOL_VERSION, defaultSocketPath, probeSocket, ensureDaemonRunning, connectIpcClient, IpcVersionMismatchError, runWorkspaceExecStream, loadSessionDocument, IpcErrorCode, WorkerRequestError, loadEventsPage, runRemoteOAuth, extensionInstallErrorData, createExtensionsClient, createHostImagePort, decisionsPort } from "zidane/ipc";
3
+ import { resolveStorageDirs, shellPath, mergePath, shellPathAsync, createWorkerRpcClient, WorkerUnavailableError, watchFileChanges, readTurnsAt, readTranscript, createMachineLinkHandlers, createMachineHandlers, IPC_BUILD_ID, IPC_PROTOCOL_VERSION, defaultSocketPath, probeSocket, ensureDaemonRunning, connectIpcClient, IpcVersionMismatchError, runWorkspaceExecStream, loadSessionDocument, IpcErrorCode, WorkerRequestError, loadEventsPage, runRemoteOAuth, extensionInstallErrorData, runBlockOnHost, createExtensionsClient, createHostImagePort, decisionsPort } from "zidane/ipc";
4
4
  import { homedir, tmpdir, userInfo, hostname, availableParallelism } from "node:os";
5
5
  import { fileURLToPath, pathToFileURL } from "node:url";
6
6
  import { config } from "dotenv";
@@ -1077,6 +1077,10 @@ const extensionMcpHost = createExtensionMcpHost({
1077
1077
  credentialStore: () => createFileMcpCredentialStore(userDataDir())
1078
1078
  });
1079
1079
  const MAX_CACHED_REGISTRIES = 16;
1080
+ let registryInUse = () => false;
1081
+ function setRegistryInUse(inUse) {
1082
+ registryInUse = inUse;
1083
+ }
1080
1084
  function extensionSink() {
1081
1085
  return guiLogSink;
1082
1086
  }
@@ -1254,6 +1258,8 @@ async function getExtensionRegistry(cwd, settings) {
1254
1258
  const key = extensionCacheKey(cwd, settings);
1255
1259
  const cached2 = registryCache.get(key);
1256
1260
  if (cached2) {
1261
+ registryCache.delete(key);
1262
+ registryCache.set(key, cached2);
1257
1263
  return cached2.promise;
1258
1264
  }
1259
1265
  const scanPaths = extensionScanPaths();
@@ -1320,7 +1326,7 @@ async function getExtensionRegistry(cwd, settings) {
1320
1326
  }
1321
1327
  }).catch(() => void 0);
1322
1328
  if (registryCache.size >= MAX_CACHED_REGISTRIES) {
1323
- const oldest = registryCache.keys().next().value;
1329
+ const oldest = [...registryCache].find(([, other]) => !registryInUse(other.cwd))?.[0];
1324
1330
  if (oldest !== void 0) {
1325
1331
  const evicted = registryCache.get(oldest);
1326
1332
  if (evicted) {
@@ -2644,6 +2650,8 @@ const EMBEDDED = {
2644
2650
  "sessions.setModel": (host2, { sessionId, ...pick }) => host2().setSessionModel(sessionId, pick),
2645
2651
  "sessions.delete": (host2, p) => host2().deleteSession(p.sessionId),
2646
2652
  "sessions.environmentActions": (host2, p) => host2().listEnvironmentActions(p.sessionId),
2653
+ "sessions.blockRuns": async (host2, p) => ({ runs: await host2().listBlockRuns(p.sessionId) }),
2654
+ "sessions.removeBlockRun": (host2, p) => host2().removeBlockRun(p.sessionId, p.key),
2647
2655
  "sessions.runEnvironmentAction": (host2, p) => host2().runEnvironmentAction(p.sessionId, p.actionId),
2648
2656
  "sessions.retryEnvironment": (host2, p) => host2().retryEnvironment(p.sessionId),
2649
2657
  "sessions.moveEnvironment": (host2, p) => host2().moveSessionEnvironment(
@@ -6017,6 +6025,9 @@ function routeToRenderer(signal, raw, hostId2) {
6017
6025
  case "sessions:facets":
6018
6026
  sendToAllWindows("sessions:facets", { sessionId: signal.sessionId, facets: signal.facets });
6019
6027
  return;
6028
+ case "block-runs:changed":
6029
+ sendToAllWindows("blocks:changed", { sessionId: signal.sessionId });
6030
+ return;
6020
6031
  /*
6021
6032
  * Daemon-shared ephemeral state — forwarded ONLY in daemon mode (in-
6022
6033
  * process these are dropped: the GUI renderer owns its own
@@ -6109,6 +6120,9 @@ function routeToRenderer(signal, raw, hostId2) {
6109
6120
  // A streamed `!` command's output goes to the connection that started it (`server-shell.ts` reads it there).
6110
6121
  case "workspace:exec:data":
6111
6122
  case "workspace:exec:exit":
6123
+ // A Run here's output, the same (`channels/block-runs.ts` reads it there).
6124
+ case "block-run:data":
6125
+ case "block-run:end":
6112
6126
  // A clone's progress goes to the connection that started it; this app clones on its own (`repo-import.ts`).
6113
6127
  case "git:clone:progress":
6114
6128
  // To the connections that watch a checkout (`git.watch`); this app watches its own (`git-watch.ts`).
@@ -9111,6 +9125,7 @@ function toGuiTheme(theme) {
9111
9125
  };
9112
9126
  }
9113
9127
  function registerExtensionChannels({ ipc }) {
9128
+ setRegistryInUse((cwd) => getChatHost().hasActiveRunsIn(cwd, scopeCwd));
9114
9129
  const sync = () => {
9115
9130
  const { dirs, roots } = extensionWatchTargets();
9116
9131
  watcher2.sync(dirs, roots);
@@ -9249,7 +9264,7 @@ function registerExtensionChannels({ ipc }) {
9249
9264
  );
9250
9265
  ipc.handle("extensions:browse", async (_e, input) => {
9251
9266
  const token = (await connectorGithubToken())?.token;
9252
- return listExtensionSource(input, token ? { token } : {});
9267
+ return listExtensionSource(input, { cwd: homedir(), ...token ? { token } : {} });
9253
9268
  });
9254
9269
  ipc.handle("extensions:remove", async (_e, cwd, dir, name) => {
9255
9270
  const message2 = removeExtension({ cwd, dir, name });
@@ -11517,6 +11532,63 @@ function registerShellChannels({ ipc }) {
11517
11532
  ipc.handle("shell:cancel", (_e, sessionId, runId) => cancelShellRun(sessionId, runId));
11518
11533
  app.on("will-quit", () => killAllShellRuns());
11519
11534
  }
11535
+ function onClient(client2, sessionId, request2, options) {
11536
+ return runBlockOnHost(
11537
+ { call: (method, params) => client2.request(method, params), onSignal: (listener) => client2.onSignal(listener) },
11538
+ sessionId,
11539
+ request2,
11540
+ options
11541
+ );
11542
+ }
11543
+ function runOnHost(key, request2, options) {
11544
+ const { host: host2, sessionId } = sessionHost(key);
11545
+ if (host2.remote) {
11546
+ const client2 = host2.server.client;
11547
+ if (!client2) return Promise.reject(new Error(`${host2.name} is offline.`));
11548
+ return onClient(client2, sessionId, request2, options);
11549
+ }
11550
+ const daemon2 = getDaemonClient();
11551
+ if (daemon2) return onClient(daemon2, sessionId, request2, options);
11552
+ return getChatHost().runBlock(sessionId, request2, options);
11553
+ }
11554
+ function registerBlockRunChannels({ ipc }) {
11555
+ const running2 = /* @__PURE__ */ new Map();
11556
+ ipc.handle("blocks:call", (e, method, params) => {
11557
+ if (method === "sessions.runBlockCancel") {
11558
+ const controller22 = running2.get(String(params.runId));
11559
+ controller22?.abort();
11560
+ return { cancelled: controller22 !== void 0 };
11561
+ }
11562
+ if (method !== "sessions.runBlock") throw new Error(`Unknown block call "${method}".`);
11563
+ const { sessionId, turnId, code, language } = params;
11564
+ if ([sessionId, turnId, code, language].some((value) => typeof value !== "string" || value === ""))
11565
+ throw new Error("A block run needs a session, a turn, its code and its language.");
11566
+ const runId = randomUUID();
11567
+ const controller2 = new AbortController();
11568
+ running2.set(runId, controller2);
11569
+ const send = (signal) => {
11570
+ if (!e.sender.isDestroyed()) e.sender.send("blocks:signal", signal);
11571
+ };
11572
+ e.sender.once("destroyed", () => controller2.abort());
11573
+ void runOnHost(
11574
+ sessionId,
11575
+ { turnId, code, language },
11576
+ {
11577
+ signal: controller2.signal,
11578
+ onOutput: (stream, chunk) => send({ kind: "block-run:data", runId, stream, chunk })
11579
+ }
11580
+ ).then(
11581
+ (run) => send({ kind: "block-run:end", runId, run }),
11582
+ (err) => send({ kind: "block-run:end", runId, error: err instanceof Error ? err.message : String(err) })
11583
+ ).finally(() => running2.delete(runId));
11584
+ return { runId };
11585
+ });
11586
+ ipc.handle("blocks:list", async (_e, key) => (await sessionRequest("sessions.blockRuns", key, {})).runs);
11587
+ ipc.handle(
11588
+ "blocks:remove",
11589
+ (_e, key, blockKey) => sessionRequest("sessions.removeBlockRun", key, { key: blockKey })
11590
+ );
11591
+ }
11520
11592
  const VIEW_PREFIX = "sidebar_view:";
11521
11593
  const SPACE_KEY = "sidebar_space";
11522
11594
  const MAX_SPACE_ID = 200;
@@ -13593,6 +13665,7 @@ function createStorageHub(options) {
13593
13665
  notify2(file.fileOf(loc), { area, key, value });
13594
13666
  };
13595
13667
  const port = {
13668
+ folderOf: file.folderOf,
13596
13669
  load: (loc) => file.load(loc),
13597
13670
  save: async (loc, area, key, value) => {
13598
13671
  await apply(loc, area, key, value);
@@ -14369,6 +14442,7 @@ function registerChatIpc() {
14369
14442
  registerRunChannels({ ipc });
14370
14443
  registerSystemChannels({ ipc });
14371
14444
  registerShellChannels({ ipc });
14445
+ registerBlockRunChannels({ ipc });
14372
14446
  registerHostStateChannels({ ipc });
14373
14447
  registerUsageChannels({ ipc });
14374
14448
  registerArtifactChannels({ ipc });
@@ -272,6 +272,13 @@ const api = {
272
272
  run: (sessionId, command) => ipcRenderer.invoke("shell:run", sessionId, command),
273
273
  cancel: (sessionId, runId) => ipcRenderer.invoke("shell:cancel", sessionId, runId)
274
274
  },
275
+ blocks: {
276
+ call: (method, params) => ipcRenderer.invoke("blocks:call", method, params),
277
+ onSignal: (cb) => subscribe("blocks:signal", cb),
278
+ list: (sessionId) => ipcRenderer.invoke("blocks:list", sessionId),
279
+ remove: (sessionId, key) => ipcRenderer.invoke("blocks:remove", sessionId, key),
280
+ onChanged: (cb) => subscribe("blocks:changed", cb)
281
+ },
275
282
  todos: {
276
283
  get: (sessionId) => ipcRenderer.invoke("todos:get", sessionId),
277
284
  set: (sessionId, items) => ipcRenderer.invoke("todos:set", sessionId, items)
@@ -1,10 +1,10 @@
1
- import { i } from "./D5TW5CPZ-BUXfpU2q.js";
2
- import { A, E } from "./OHJ2EJXK-BEkFEoxu.js";
3
- import { q, R as R$1, g as r, d as de, e as ee$1 } from "./lazy-DQmrNfMK.js";
1
+ import { i } from "./D5TW5CPZ-Bp-wetYa.js";
2
+ import { A, E } from "./OHJ2EJXK-CKyEtj37.js";
3
+ import { q, R as R$1, g as r, d as de, e as ee$1 } from "./lazy-C1DShJVi.js";
4
4
  import { p, h } from "./DKTLEL5E-Dj3316cp.js";
5
- import { x, D, $, U, B, z as z$1, Y, v } from "./IU7WZTP6-BZMu2vL3.js";
6
- import { n as ne$1, x as x$1, c as jt, L, l as le, S, d as de$1, W as Wt, b as be } from "./KHUP5TOH-032p46g-.js";
7
- import "./core-Z_paRVMb.js";
5
+ import { x, D, $, U, B, z as z$1, Y, v } from "./IU7WZTP6-D7pwhQLH.js";
6
+ import { n as ne$1, x as x$1, c as jt, L, l as le, S, d as de$1, W as Wt, b as be } from "./KHUP5TOH-BX0A2YHC.js";
7
+ import "./core-2jWUG3m-.js";
8
8
  import "./vendor-BpwX-s_O.js";
9
9
  import "./vendor-react-bPTwWURR.js";
10
10
  var J = /[─━│┃└┗├┣]/, Le = /[└┗├┣]/, Qe = /[─━]/, De = /^[\s│┃]+$/, Ze = /^[\s─━│┃└┗├┣]+$/, Je = /^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/, en = /^\s*%%/, nn = " ";
@@ -1,9 +1,9 @@
1
- import { g, d, x } from "./XLHPVVFU-CoRVO17g.js";
2
- import { s, T } from "./TR4WJQGX-CQ3dPMLJ.js";
3
- import { i, b as e, V, d as de } from "./lazy-DQmrNfMK.js";
1
+ import { g, d, x } from "./XLHPVVFU-4_9lhZe2.js";
2
+ import { s, T } from "./TR4WJQGX-DXlqK6NQ.js";
3
+ import { i, b as e, V, d as de } from "./lazy-C1DShJVi.js";
4
4
  import { c } from "./DKTLEL5E-Dj3316cp.js";
5
- import { x as x$1, p as pe, L as L$1, c as jt$1, W as Wt, b as be } from "./KHUP5TOH-032p46g-.js";
6
- import "./core-Z_paRVMb.js";
5
+ import { x as x$1, p as pe, L as L$1, c as jt$1, W as Wt, b as be } from "./KHUP5TOH-BX0A2YHC.js";
6
+ import "./core-2jWUG3m-.js";
7
7
  import "./vendor-BpwX-s_O.js";
8
8
  import "./vendor-react-bPTwWURR.js";
9
9
  function rt(e2) {
@@ -1,18 +1,18 @@
1
- import { e as es, K as Kt } from "./LTYQZ5U5-DzI-7yJW.js";
2
- import { X as Xn, Y as Yn, I as In, k as kn } from "./UWRPUF3N-CtgKKvKe.js";
1
+ import { e as es, K as Kt } from "./LTYQZ5U5-BxUtiilS.js";
2
+ import { X as Xn, Y as Yn, I as In, k as kn } from "./UWRPUF3N-7_KSfEv0.js";
3
3
  import { H } from "./2CHDFZHC-B7OS2WPy.js";
4
- import { W as Wt, x } from "./KHUP5TOH-032p46g-.js";
4
+ import { W as Wt, x } from "./KHUP5TOH-BX0A2YHC.js";
5
5
  import "./FTXIJQGB-BX14b7pN.js";
6
- import "./lazy-DQmrNfMK.js";
7
- import "./core-Z_paRVMb.js";
6
+ import "./lazy-C1DShJVi.js";
7
+ import "./core-2jWUG3m-.js";
8
8
  import "./vendor-BpwX-s_O.js";
9
9
  import "./vendor-react-bPTwWURR.js";
10
10
  import "./7WLXJQOR-C8MM6Bra.js";
11
- import "./YUPSMAUO-Brx2G_oh.js";
12
- import "./LLLWOAQD-B2zZRpRf.js";
13
- import "./PDMLSE6I-C3FMl6Ej.js";
14
- import "./NDSCUZ25-C9oT6c6G.js";
15
- import "./VSWIZJ7B-BN-hZ_G_.js";
11
+ import "./YUPSMAUO-0pM5w-ie.js";
12
+ import "./LLLWOAQD-DNhT1-qV.js";
13
+ import "./PDMLSE6I-BnbSSXbG.js";
14
+ import "./NDSCUZ25-DltJ5xGa.js";
15
+ import "./VSWIZJ7B-qmPn48eQ.js";
16
16
  import "./DKTLEL5E-Dj3316cp.js";
17
17
  var Rn = 34, Nn = 24, Un = 8, Cn = 2e4, dn = 1e4, zt = 2e6, pn = 4, Tn = 3, yn = 8, Vt = 20, wn = 20, Mn = 14, Dn = 3;
18
18
  function xn(r, y, M, N, X = Nn) {
@@ -1,15 +1,15 @@
1
1
  import { i as i$1, a } from "./FTXIJQGB-BX14b7pN.js";
2
- import { c as q, q as q$1, R, d as de, e as ee, b as e, K, Z, V, i as i$2 } from "./lazy-DQmrNfMK.js";
2
+ import { c as q, q as q$1, R, d as de, e as ee, b as e, K, Z, V, i as i$2 } from "./lazy-C1DShJVi.js";
3
3
  import { h as h$1 } from "./7WLXJQOR-C8MM6Bra.js";
4
- import { x, h } from "./YUPSMAUO-Brx2G_oh.js";
5
- import { q as qe$1, z as ze$1, _ as _e, j as je$1, H as He$1 } from "./LLLWOAQD-B2zZRpRf.js";
6
- import { A, H as H$1, T as T$1, U } from "./NDSCUZ25-C9oT6c6G.js";
7
- import { o, i, P, F, R as R$1, B } from "./VSWIZJ7B-BN-hZ_G_.js";
4
+ import { x, h } from "./YUPSMAUO-0pM5w-ie.js";
5
+ import { q as qe$1, z as ze$1, _ as _e, j as je$1, H as He$1 } from "./LLLWOAQD-DNhT1-qV.js";
6
+ import { A, H as H$1, T as T$1, U } from "./NDSCUZ25-DltJ5xGa.js";
7
+ import { o, i, P, F, R as R$1, B } from "./VSWIZJ7B-qmPn48eQ.js";
8
8
  import { m, c } from "./DKTLEL5E-Dj3316cp.js";
9
- import { J as Jn, K as Kn, s as se, r as re, n as ne$1, e as ee$1, b as an$1, o as oe } from "./UWRPUF3N-CtgKKvKe.js";
9
+ import { J as Jn, K as Kn, s as se, r as re, n as ne$1, e as ee$1, b as an$1, o as oe } from "./UWRPUF3N-7_KSfEv0.js";
10
10
  import { T, H } from "./2CHDFZHC-B7OS2WPy.js";
11
- import { h as he, n as ne, d as de$1, L, x as x$1, a as ae, W as Wt$1, p as pe, S, b as be$1, f as fe$1 } from "./KHUP5TOH-032p46g-.js";
12
- import "./core-Z_paRVMb.js";
11
+ import { h as he, n as ne, d as de$1, L, x as x$1, a as ae, W as Wt$1, p as pe, S, b as be$1, f as fe$1 } from "./KHUP5TOH-BX0A2YHC.js";
12
+ import "./core-2jWUG3m-.js";
13
13
  import "./vendor-BpwX-s_O.js";
14
14
  import "./vendor-react-bPTwWURR.js";
15
15
  var nn = /* @__PURE__ */ new Map([["task", "roundedRect"], ["tool", "subroutine"], ["input", "lean-right"], ["decision", "diamond"], ["refdoc", "lin-doc"], ["action", "hexagon"], ["round", "rect"]]), sn = /* @__PURE__ */ new Set(["doc", "stadium", "terminal", "circle", "trapezoid", "inv_trapezoid", "inv-trapezoid", "doublecircle", "double-circle", "typeDeclaration", "procs", "lean_left", "lean-left", "in-out", "cylinder", "ellipse", "odd", "tag-rect", "tagged-rectangle", "delay", "half-rounded-rectangle", "lin-rect", "lined-rectangle", "win-pane", "window-pane", "curv-trap", "curved-trapezoid"]), rn = /* @__PURE__ */ new Set(["roundedRect", "subroutine", "subprocess", "subproc", "framed-rectangle", "lean-right", "diamond", "lin-doc", "lined-document", "hexagon", "hex", "connector", "collapsedGroup"]), Se = "roundedRect";
@@ -1,10 +1,10 @@
1
- import { W, Y, X } from "./SXSLPWUD-VIPmiOfk.js";
2
- import { g } from "./PDMLSE6I-C3FMl6Ej.js";
3
- import { P, I, R } from "./VSWIZJ7B-BN-hZ_G_.js";
1
+ import { W, Y, X } from "./SXSLPWUD-ylCpsia5.js";
2
+ import { g } from "./PDMLSE6I-BnbSSXbG.js";
3
+ import { P, I, R } from "./VSWIZJ7B-qmPn48eQ.js";
4
4
  import { c, h } from "./DKTLEL5E-Dj3316cp.js";
5
- import { n as ne$1, p as pe, x, d as de$1, L, W as Wt$1, b as be, s as se, o as oe$1 } from "./KHUP5TOH-032p46g-.js";
6
- import { q, d as de, r as re } from "./lazy-DQmrNfMK.js";
7
- import "./core-Z_paRVMb.js";
5
+ import { n as ne$1, p as pe, x, d as de$1, L, W as Wt$1, b as be, s as se, o as oe$1 } from "./KHUP5TOH-BX0A2YHC.js";
6
+ import { q, d as de, r as re } from "./lazy-C1DShJVi.js";
7
+ import "./core-2jWUG3m-.js";
8
8
  import "./vendor-BpwX-s_O.js";
9
9
  import "./vendor-react-bPTwWURR.js";
10
10
  var Qt = 11, nt = class {
@@ -1,11 +1,11 @@
1
- import { c as q, q as q$1, V, b as e, i, t, d as de } from "./lazy-DQmrNfMK.js";
2
- import { T } from "./OHJ2EJXK-BEkFEoxu.js";
3
- import { g } from "./PDMLSE6I-C3FMl6Ej.js";
1
+ import { c as q, q as q$1, V, b as e, i, t, d as de } from "./lazy-C1DShJVi.js";
2
+ import { T } from "./OHJ2EJXK-CKyEtj37.js";
3
+ import { g } from "./PDMLSE6I-BnbSSXbG.js";
4
4
  import { p, h } from "./DKTLEL5E-Dj3316cp.js";
5
- import { _ as _t, b as an } from "./UWRPUF3N-CtgKKvKe.js";
5
+ import { _ as _t, b as an } from "./UWRPUF3N-7_KSfEv0.js";
6
6
  import { A } from "./2CHDFZHC-B7OS2WPy.js";
7
- import { x, h as he, a as ae$1, c as jt, L, W as Wt$1, b as be, l as le, n as ne, d as de$1, S } from "./KHUP5TOH-032p46g-.js";
8
- import "./core-Z_paRVMb.js";
7
+ import { x, h as he, a as ae$1, c as jt, L, W as Wt$1, b as be, l as le, n as ne, d as de$1, S } from "./KHUP5TOH-BX0A2YHC.js";
8
+ import "./core-2jWUG3m-.js";
9
9
  import "./vendor-BpwX-s_O.js";
10
10
  import "./vendor-react-bPTwWURR.js";
11
11
  var Mn = "aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkgrey darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkslategrey darkturquoise darkviolet deeppink deepskyblue dimgray dimgrey dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green greenyellow grey honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightslategrey lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple rebeccapurple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray slategrey snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen transparent currentcolor inherit initial unset revert accentcolor accentcolortext activetext buttonborder buttonface buttontext canvas canvastext field fieldtext graytext highlight highlighttext linktext mark marktext selecteditem selecteditemtext visitedtext activeborder activecaption appworkspace background buttonhighlight buttonshadow captiontext inactiveborder inactivecaption inactivecaptiontext infobackground infotext menu menutext scrollbar threeddarkshadow threedface threedhighlight threedlightshadow threedshadow window windowframe windowtext", dn, vn = /^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?(%|deg|grad|rad|turn)?$/i;
@@ -1,10 +1,10 @@
1
- import { g, d, h, x as x$1 } from "./XLHPVVFU-CoRVO17g.js";
2
- import { s, T } from "./TR4WJQGX-CQ3dPMLJ.js";
3
- import { q, d as de, i, b as e, V } from "./lazy-DQmrNfMK.js";
1
+ import { g, d, h, x as x$1 } from "./XLHPVVFU-4_9lhZe2.js";
2
+ import { s, T } from "./TR4WJQGX-DXlqK6NQ.js";
3
+ import { q, d as de, i, b as e, V } from "./lazy-C1DShJVi.js";
4
4
  import { c } from "./DKTLEL5E-Dj3316cp.js";
5
- import { b as an, _ as _t } from "./UWRPUF3N-CtgKKvKe.js";
6
- import { x, W as Wt, b as be$1, L as L$1, p as pe, a as ae } from "./KHUP5TOH-032p46g-.js";
7
- import "./core-Z_paRVMb.js";
5
+ import { b as an, _ as _t } from "./UWRPUF3N-7_KSfEv0.js";
6
+ import { x, W as Wt, b as be$1, L as L$1, p as pe, a as ae } from "./KHUP5TOH-BX0A2YHC.js";
7
+ import "./core-2jWUG3m-.js";
8
8
  import "./vendor-BpwX-s_O.js";
9
9
  import "./vendor-react-bPTwWURR.js";
10
10
  import "./2CHDFZHC-B7OS2WPy.js";
@@ -1,7 +1,7 @@
1
1
  import { j as jsxRuntimeExports, r as reactExports } from "./vendor-react-bPTwWURR.js";
2
- import { g as useEditorEnvironment, E as useLabels, G as buttonClass } from "./kit-E8-H6M0V.js";
3
- import { g as getLineAnnotationName, a as areFileTargetsEqual, b as applyLineTextWithNewline, c as areRenderRangesEqual, i as isDefaultRenderRange, e as shouldRenderFileAnnotations, f as getFileAnnotations, h as createAnnotationElement, j as createFileHeaderElement, k as createContentColumn, l as getHighlighterOptions, r as resolvePreferredHighlighter, m as createPreElement, n as shouldUseTokenTransformer, R as ResizeManager, I as InteractionManager, p as pluckInteractionOptions, o as resolveEditSessionSlotName, q as adoptEditSessionAnnotations, w as writeEditSessionAnnotations, t as prerenderHTMLIfNecessary, v as createAnnotationWrapperNode, x as createGutterUtilityContentNode, y as createUnsafeCSSStyleNode, z as wrapUnsafeCSS, A as getMeasuredScrollbarGutter, B as upsertHostThemeStyle, C as wrapThemeCSS, D as patchScrollbarGutterSize, E as isSafari, G as getOrCreateCodeNode, H as guardWebKitScrollDuringRebuild, J as isStyleNode, S as SVGSpriteSheet$1, K as arePrePropertiesEqual, L as setPreNodeProperties, M as areObjectsEqual, N as areOptionsEqual, O as includesFileAnnotations, P as FILE_ANNOTATION_DOM_KEY, Q as GutterUtilitySlotStyles, T as useVirtualizer, U as useCreateEditor, V as useStableCallback, W as useForceUpdate, X as useNextRenderData, Y as noopRender, Z as templateRender, _ as isMacLike, $ as recordLineAnnotationSource, a0 as getLineAnnotationSource, a1 as cloneHunks, a2 as dequeueRender, a3 as queueRender, a4 as isGutterUtilityPath, a5 as useDetachCleanup, a6 as revealOnHighlight, a7 as scrollReachOnRender, a8 as EditProvider, a9 as Virtualizer, u as useFind, aa as fileLines, F as FindBar } from "./useDetachCleanup-DYbCqwX-.js";
4
- import { i as isFullyTransparent, s as surfacesMatch, j as relativeLuminance, p as pickReadableForeground, k as isDarkSurface, l as hoverWouldEraseText, m as deriveMutedFg, n as contrastRatio, o as compositeOverBg, D as DEFAULT_THEMES, q as areFileRenderOptionsEqual, t as isFilePlainText, v as getHighlighterIfLoaded, w as getFiletypeFromFileName, H as HighlighterDisposedError, x as linesFromFileContents, y as DEFAULT_RENDER_RANGE, z as areThemesAttached, B as areLanguagesAttached, C as renderFileWithHighlighter, E as createGutterGap, F as createGutterItem, G as createHastElement, I as getSharedHighlighter, J as createGutterWrapper, K as EMPTY_LINE_ANNOTATIONS, L as areThemesEqual, M as getThemes, N as EMPTY_RENDER_RANGE, O as isHandledWorkerPoolError, Q as CUSTOM_HEADER_SLOT_ID, S as HEADER_PREFIX_SLOT_ID, T as HEADER_FILENAME_SUFFIX_SLOT_ID, U as HEADER_METADATA_SLOT_ID, V as DEFAULT_VIRTUAL_FILE_METRICS, X as computeVirtualFileMetrics, Y as getVirtualFileHeaderHeight, Z as getVirtualFileHeaderRegion, _ as getVirtualFilePaddingBottom, $ as WorkerPoolContext, a0 as DIFFS_TAG_NAME, a1 as computeLineOffsets, a2 as countLineBreaks, a3 as LRUMapPkg, P as PREFERRED_HIGHLIGHTER, a4 as DIFFS_UNSAFE_CSS, a5 as DIFFS_HOST_STYLE, a6 as VIRTUALIZER_CONFIG, a7 as DEFAULT_TOKENIZE_MAX_LENGTH } from "./pierre-theme-CsyO3esE.js";
2
+ import { g as useEditorEnvironment, E as useLabels, G as buttonClass } from "./kit-CdRTRA2T.js";
3
+ import { g as getLineAnnotationName, a as areFileTargetsEqual, b as applyLineTextWithNewline, c as areRenderRangesEqual, i as isDefaultRenderRange, e as shouldRenderFileAnnotations, f as getFileAnnotations, h as createAnnotationElement, j as createFileHeaderElement, k as createContentColumn, l as getHighlighterOptions, r as resolvePreferredHighlighter, m as createPreElement, n as shouldUseTokenTransformer, R as ResizeManager, I as InteractionManager, p as pluckInteractionOptions, o as resolveEditSessionSlotName, q as adoptEditSessionAnnotations, w as writeEditSessionAnnotations, t as prerenderHTMLIfNecessary, v as createAnnotationWrapperNode, x as createGutterUtilityContentNode, y as createUnsafeCSSStyleNode, z as wrapUnsafeCSS, A as getMeasuredScrollbarGutter, B as upsertHostThemeStyle, C as wrapThemeCSS, D as patchScrollbarGutterSize, E as isSafari, G as getOrCreateCodeNode, H as guardWebKitScrollDuringRebuild, J as isStyleNode, S as SVGSpriteSheet$1, K as arePrePropertiesEqual, L as setPreNodeProperties, M as areObjectsEqual, N as areOptionsEqual, O as includesFileAnnotations, P as FILE_ANNOTATION_DOM_KEY, Q as GutterUtilitySlotStyles, T as useVirtualizer, U as useCreateEditor, V as useStableCallback, W as useForceUpdate, X as useNextRenderData, Y as noopRender, Z as templateRender, _ as isMacLike, $ as recordLineAnnotationSource, a0 as getLineAnnotationSource, a1 as cloneHunks, a2 as dequeueRender, a3 as queueRender, a4 as isGutterUtilityPath, a5 as useDetachCleanup, a6 as revealOnHighlight, a7 as scrollReachOnRender, a8 as EditProvider, a9 as Virtualizer, u as useFind, aa as fileLines, F as FindBar } from "./useDetachCleanup-BXvhEVk-.js";
4
+ import { i as isFullyTransparent, s as surfacesMatch, j as relativeLuminance, p as pickReadableForeground, k as isDarkSurface, l as hoverWouldEraseText, m as deriveMutedFg, n as contrastRatio, o as compositeOverBg, D as DEFAULT_THEMES, q as areFileRenderOptionsEqual, t as isFilePlainText, v as getHighlighterIfLoaded, w as getFiletypeFromFileName, H as HighlighterDisposedError, x as linesFromFileContents, y as DEFAULT_RENDER_RANGE, z as areThemesAttached, B as areLanguagesAttached, C as renderFileWithHighlighter, E as createGutterGap, F as createGutterItem, G as createHastElement, I as getSharedHighlighter, J as createGutterWrapper, K as EMPTY_LINE_ANNOTATIONS, L as areThemesEqual, M as getThemes, N as EMPTY_RENDER_RANGE, O as isHandledWorkerPoolError, Q as CUSTOM_HEADER_SLOT_ID, S as HEADER_PREFIX_SLOT_ID, T as HEADER_FILENAME_SUFFIX_SLOT_ID, U as HEADER_METADATA_SLOT_ID, V as DEFAULT_VIRTUAL_FILE_METRICS, X as computeVirtualFileMetrics, Y as getVirtualFileHeaderHeight, Z as getVirtualFileHeaderRegion, _ as getVirtualFilePaddingBottom, $ as WorkerPoolContext, a0 as DIFFS_TAG_NAME, a1 as computeLineOffsets, a2 as countLineBreaks, a3 as LRUMapPkg, P as PREFERRED_HIGHLIGHTER, a4 as DIFFS_UNSAFE_CSS, a5 as DIFFS_HOST_STYLE, a6 as VIRTUALIZER_CONFIG, a7 as DEFAULT_TOKENIZE_MAX_LENGTH } from "./pierre-theme-DpuLJ_93.js";
5
5
  import { h as hastToHtml } from "./hastToHtml-AUrFnNH_.js";
6
6
  import { a as addEventListener, g as getLineNumberAttr, h, e as endsWithLineBreak, b as getGraphemeSegmenter, c as createSegmenter, r as round, f as extend, l as lookupScrollContainer, i as clampDomOffset } from "./utils-BcG7Lqcy.js";
7
7
  const colorUtils = {
@@ -1,9 +1,9 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "./vendor-react-bPTwWURR.js";
2
2
  import { u as useEditor, c as src_default, d as src_default$1, E as EditorContent } from "./vendor-editor-Cx3SvGyZ.js";
3
- import { s as suggestionExtension, p as plainTextToDocJson } from "./kit-E8-H6M0V.js";
3
+ import { s as suggestionExtension, p as plainTextToDocJson } from "./kit-CdRTRA2T.js";
4
4
  import "./vendor-BpwX-s_O.js";
5
- import "./vendor-motion-CD5Og8pC.js";
6
- import "./core-Z_paRVMb.js";
5
+ import "./vendor-motion-BgQeucLF.js";
6
+ import "./core-2jWUG3m-.js";
7
7
  function ComposerEditor({
8
8
  text,
9
9
  disabled,
@@ -1,10 +1,10 @@
1
1
  import { s } from "./5THPTBWS-2mBFupjU.js";
2
2
  import { l, h } from "./DKTLEL5E-Dj3316cp.js";
3
- import { x as x$1, D, M, $, U, B, z, v } from "./IU7WZTP6-BZMu2vL3.js";
3
+ import { x as x$1, D, M, $, U, B, z, v } from "./IU7WZTP6-D7pwhQLH.js";
4
4
  import { H } from "./2CHDFZHC-B7OS2WPy.js";
5
- import { n as ne, h as he, p as pe, L, x, S, d as de$1, W as Wt, b as be, a as ae } from "./KHUP5TOH-032p46g-.js";
6
- import { d as de, e as ee } from "./lazy-DQmrNfMK.js";
7
- import "./core-Z_paRVMb.js";
5
+ import { n as ne, h as he, p as pe, L, x, S, d as de$1, W as Wt, b as be, a as ae } from "./KHUP5TOH-BX0A2YHC.js";
6
+ import { d as de, e as ee } from "./lazy-C1DShJVi.js";
7
+ import "./core-2jWUG3m-.js";
8
8
  import "./vendor-BpwX-s_O.js";
9
9
  import "./vendor-react-bPTwWURR.js";
10
10
  function Ze(s2) {
@@ -1,4 +1,4 @@
1
- import { M } from "./IU7WZTP6-BZMu2vL3.js";
1
+ import { M } from "./IU7WZTP6-D7pwhQLH.js";
2
2
  var e = /[\t ]*accDescr(?:[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)|\s*({))/y;
3
3
  function f() {
4
4
  let n = false;
@@ -1,13 +1,13 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "./vendor-react-bPTwWURR.js";
2
- import { m as mediaTypeOfPath, h as useFilesHost, i as useFilesLabels, j as filesRootOf, k as collectSessionDiffs, l as groupByPath, n as usePanelVisible, o as fileDiffCounts, q as buildDiffTree, r as fileOrder, v as visibleRows, w as useAppearanceReducedMotion, x as relativeTo, y as matchRanges, z as steppedIndex, S as Segmented, A as DiffCounts, I as IconToggle, P as PanelLoading, B as PanelEmpty, C as DiffFileTree } from "./kit-E8-H6M0V.js";
3
- import { M as MediaView, p as parseFilePatch, u as useDiagnosticsRun, c as countBySeverity, a as useFolderChanges, b as createPatchParser, d as useNoEdits, n as nameMatches, e as useNoKeyScope, F as FilesChatContext, S as SearchPanel, D as DiffScroller, R as ReviewableDiff, f as DiffView } from "./useFolderChanges-Y0OqX_nG.js";
2
+ import { m as mediaTypeOfPath, h as useFilesHost, i as useFilesLabels, j as filesRootOf, k as collectSessionDiffs, l as groupByPath, n as usePanelVisible, o as fileDiffCounts, q as buildDiffTree, r as fileOrder, v as visibleRows, w as useAppearanceReducedMotion, x as relativeTo, y as matchRanges, z as steppedIndex, S as Segmented, A as DiffCounts, I as IconToggle, P as PanelLoading, B as PanelEmpty, C as DiffFileTree } from "./kit-CdRTRA2T.js";
3
+ import { M as MediaView, p as parseFilePatch, u as useDiagnosticsRun, c as countBySeverity, a as useFolderChanges, b as createPatchParser, d as useNoEdits, n as nameMatches, e as useNoKeyScope, F as FilesChatContext, S as SearchPanel, D as DiffScroller, R as ReviewableDiff, f as DiffView } from "./useFolderChanges-BHQktE6l.js";
4
4
  import { T as TreeChevron, F as FileIcon } from "./FileIcon-acads6Ac.js";
5
- import { u as useFind, F as FindBar, d as diffLines, s as settleScroll } from "./useDetachCleanup-DYbCqwX-.js";
6
- import "./vendor-motion-CD5Og8pC.js";
7
- import "./core-Z_paRVMb.js";
5
+ import { u as useFind, F as FindBar, d as diffLines, s as settleScroll } from "./useDetachCleanup-BXvhEVk-.js";
6
+ import "./vendor-motion-BgQeucLF.js";
7
+ import "./core-2jWUG3m-.js";
8
8
  import "./vendor-BpwX-s_O.js";
9
9
  import "./vendor-editor-Cx3SvGyZ.js";
10
- import "./pierre-theme-CsyO3esE.js";
10
+ import "./pierre-theme-DpuLJ_93.js";
11
11
  import "./hastToHtml-AUrFnNH_.js";
12
12
  import "./index-DhpOdP7M.js";
13
13
  function isMediaDiff(file) {
@@ -1,9 +1,9 @@
1
- import { s } from "./TR4WJQGX-CQ3dPMLJ.js";
1
+ import { s } from "./TR4WJQGX-DXlqK6NQ.js";
2
2
  import { c } from "./DKTLEL5E-Dj3316cp.js";
3
- import { x, D as D$1, M, $, V, W, G, O, P, H, z, B, U, Y, v, j } from "./IU7WZTP6-BZMu2vL3.js";
4
- import { p as pe$1, L, c as jt, x as x$1, W as Wt, n as ne, b as be } from "./KHUP5TOH-032p46g-.js";
5
- import { d as de$1, q } from "./lazy-DQmrNfMK.js";
6
- import "./core-Z_paRVMb.js";
3
+ import { x, D as D$1, M, $, V, W, G, O, P, H, z, B, U, Y, v, j } from "./IU7WZTP6-D7pwhQLH.js";
4
+ import { p as pe$1, L, c as jt, x as x$1, W as Wt, n as ne, b as be } from "./KHUP5TOH-BX0A2YHC.js";
5
+ import { d as de$1, q } from "./lazy-C1DShJVi.js";
6
+ import "./core-2jWUG3m-.js";
7
7
  import "./vendor-BpwX-s_O.js";
8
8
  import "./vendor-react-bPTwWURR.js";
9
9
  var w = { NORMAL: 0, REVERSE: 1, HIGHLIGHT: 2, MERGE: 3, CHERRY_PICK: 4 };
@@ -1,13 +1,13 @@
1
- import { q as qe$1, z as ze$1, j as je$1 } from "./LLLWOAQD-B2zZRpRf.js";
2
- import { x as x$1 } from "./PDMLSE6I-C3FMl6Ej.js";
3
- import { U, A } from "./NDSCUZ25-C9oT6c6G.js";
4
- import { D } from "./VSWIZJ7B-BN-hZ_G_.js";
5
- import { d as de, e as ee, q, i, b as e, R, V } from "./lazy-DQmrNfMK.js";
1
+ import { q as qe$1, z as ze$1, j as je$1 } from "./LLLWOAQD-DNhT1-qV.js";
2
+ import { x as x$1 } from "./PDMLSE6I-BnbSSXbG.js";
3
+ import { U, A } from "./NDSCUZ25-DltJ5xGa.js";
4
+ import { D } from "./VSWIZJ7B-qmPn48eQ.js";
5
+ import { d as de, e as ee, q, i, b as e, R, V } from "./lazy-C1DShJVi.js";
6
6
  import { m, c } from "./DKTLEL5E-Dj3316cp.js";
7
- import { J as Jn, n as ne$1, e as ee$1, b as an, o as oe, K as Kn, Z as Zn, r as re } from "./UWRPUF3N-CtgKKvKe.js";
7
+ import { J as Jn, n as ne$1, e as ee$1, b as an, o as oe, K as Kn, Z as Zn, r as re } from "./UWRPUF3N-7_KSfEv0.js";
8
8
  import { H, T } from "./2CHDFZHC-B7OS2WPy.js";
9
- import { n as ne, h as he, x, W as Wt, f as fe, S, d as de$1, L, b as be } from "./KHUP5TOH-032p46g-.js";
10
- import "./core-Z_paRVMb.js";
9
+ import { n as ne, h as he, x, W as Wt, f as fe, S, d as de$1, L, b as be } from "./KHUP5TOH-BX0A2YHC.js";
10
+ import "./core-2jWUG3m-.js";
11
11
  import "./vendor-BpwX-s_O.js";
12
12
  import "./vendor-react-bPTwWURR.js";
13
13
  function Ye(i2) {
@@ -1,10 +1,10 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "./vendor-react-bPTwWURR.js";
2
- import { r as retainEditorWorkers, t as trackRendererWorker } from "./index-_dhRO6Oc.js";
3
- import { W as WorkerPoolContextProvider, P as PREFERRED_HIGHLIGHTER, u as useWorkerPool } from "./pierre-theme-CsyO3esE.js";
4
- import { g as useEditorEnvironment } from "./kit-E8-H6M0V.js";
2
+ import { r as retainEditorWorkers, t as trackRendererWorker } from "./index-BnnCv70H.js";
3
+ import { W as WorkerPoolContextProvider, P as PREFERRED_HIGHLIGHTER, u as useWorkerPool } from "./pierre-theme-DpuLJ_93.js";
4
+ import { g as useEditorEnvironment } from "./kit-CdRTRA2T.js";
5
+ import "./core-2jWUG3m-.js";
5
6
  import "./vendor-BpwX-s_O.js";
6
- import "./core-Z_paRVMb.js";
7
- import "./vendor-motion-CD5Og8pC.js";
7
+ import "./vendor-motion-BgQeucLF.js";
8
8
  import "./vendor-editor-Cx3SvGyZ.js";
9
9
  const HIGHLIGHTER = {
10
10
  useTokenTransformer: true,
@@ -1,12 +1,12 @@
1
1
  import { j as jsxRuntimeExports, r as reactExports, a as reactDomExports } from "./vendor-react-bPTwWURR.js";
2
- import { E as useLabels, W as TabPill, X as usePresence, Y as readMenuExitMs, _ as useCodeHighlight, U as Tooltip, V as IconButton, T as useEditorPrefs, h as useFilesHost, i as useFilesLabels, $ as useCodeDocument, a0 as excerptFromContents, a1 as serializeDiagnostic, H as languageFor, J as rangeLabel, M as attachmentName, w as useAppearanceReducedMotion, P as PanelLoading, m as mediaTypeOfPath, a2 as mediaSiblings, a3 as Breadcrumb, I as IconToggle, B as PanelEmpty, a4 as readPanelMs, a5 as useResizeDrag, a6 as useOptionalConfirm, a7 as entryRefusalText, a8 as topLevelPaths, a9 as parentOf, aa as inFolder, ab as nameOf, ac as droppedItems, j as filesRootOf, ad as movedPath, ae as isUnder, af as filesScopeKey, ag as createMemoryFilesLayout, n as usePanelVisible, ah as useAppearanceState, ai as useReadable, z as steppedIndex, R as RowActionsMenu } from "./kit-E8-H6M0V.js";
2
+ import { E as useLabels, W as TabPill, X as usePresence, Y as readMenuExitMs, _ as useCodeHighlight, U as Tooltip, V as IconButton, T as useEditorPrefs, h as useFilesHost, i as useFilesLabels, $ as useCodeDocument, a0 as excerptFromContents, a1 as serializeDiagnostic, H as languageFor, J as rangeLabel, M as attachmentName, w as useAppearanceReducedMotion, P as PanelLoading, m as mediaTypeOfPath, a2 as mediaSiblings, a3 as Breadcrumb, I as IconToggle, B as PanelEmpty, a4 as readPanelMs, a5 as useResizeDrag, a6 as useOptionalConfirm, a7 as entryRefusalText, a8 as topLevelPaths, a9 as parentOf, aa as inFolder, ab as nameOf, ac as droppedItems, j as filesRootOf, ad as movedPath, ae as isUnder, af as filesScopeKey, ag as createMemoryFilesLayout, n as usePanelVisible, ah as useAppearanceState, ai as useReadable, z as steppedIndex, R as RowActionsMenu } from "./kit-CdRTRA2T.js";
3
3
  import { c as createFileTreeIconResolver, g as getBuiltInSpriteSheet, n as normalizeFileTreeIcons, i as isColoredBuiltInIconSet, F as FileIcon } from "./FileIcon-acads6Ac.js";
4
- import { aE as TREES_HOST_STYLE, aF as TREES_UNSAFE_CSS, u as useWorkerPool } from "./pierre-theme-CsyO3esE.js";
5
- import { C as CodeEditor, E as EditStateManager } from "./CodeEditor-Bc2yVqNr.js";
6
- import { g as DIAGNOSTIC_GLYPH, h as fileActionItems, i as useFilesChat, j as useCodeReview, k as diagnosticsByLine, l as diagnosticMarkers, m as diagnosticsAt, D as DiffScroller, R as ReviewableDiff, p as parseFilePatch, c as countBySeverity, u as useDiagnosticsRun, o as absolutePath, q as MediaFrame, M as MediaView, a as useFolderChanges, e as useNoKeyScope, n as nameMatches, F as FilesChatContext, S as SearchPanel, d as useNoEdits } from "./useFolderChanges-Y0OqX_nG.js";
7
- import { ad as REVEAL_FALLBACK_MS, d as diffLines, u as useFind, F as FindBar } from "./useDetachCleanup-DYbCqwX-.js";
8
- import "./vendor-motion-CD5Og8pC.js";
9
- import "./core-Z_paRVMb.js";
4
+ import { aE as TREES_HOST_STYLE, aF as TREES_UNSAFE_CSS, u as useWorkerPool } from "./pierre-theme-DpuLJ_93.js";
5
+ import { C as CodeEditor, E as EditStateManager } from "./CodeEditor-80QT2Pyq.js";
6
+ import { g as DIAGNOSTIC_GLYPH, h as fileActionItems, i as useFilesChat, j as useCodeReview, k as diagnosticsByLine, l as diagnosticMarkers, m as diagnosticsAt, D as DiffScroller, R as ReviewableDiff, p as parseFilePatch, c as countBySeverity, u as useDiagnosticsRun, o as absolutePath, q as MediaFrame, M as MediaView, a as useFolderChanges, e as useNoKeyScope, n as nameMatches, F as FilesChatContext, S as SearchPanel, d as useNoEdits } from "./useFolderChanges-BHQktE6l.js";
7
+ import { ad as REVEAL_FALLBACK_MS, d as diffLines, u as useFind, F as FindBar } from "./useDetachCleanup-BXvhEVk-.js";
8
+ import "./vendor-motion-BgQeucLF.js";
9
+ import "./core-2jWUG3m-.js";
10
10
  import "./vendor-BpwX-s_O.js";
11
11
  import "./vendor-editor-Cx3SvGyZ.js";
12
12
  import "./hastToHtml-AUrFnNH_.js";
@@ -1,10 +1,10 @@
1
1
  import { p, h } from "./DKTLEL5E-Dj3316cp.js";
2
- import { x, D, O, M, $, V, W, G, P, H, j, z, B, U, v } from "./IU7WZTP6-BZMu2vL3.js";
3
- import { b as an, o as oe$1, K as Kn } from "./UWRPUF3N-CtgKKvKe.js";
4
- import { n as ne, L, W as Wt$1, c as jt, x as x$1, b as be } from "./KHUP5TOH-032p46g-.js";
5
- import { q, d as de } from "./lazy-DQmrNfMK.js";
2
+ import { x, D, O, M, $, V, W, G, P, H, j, z, B, U, v } from "./IU7WZTP6-D7pwhQLH.js";
3
+ import { b as an, o as oe$1, K as Kn } from "./UWRPUF3N-7_KSfEv0.js";
4
+ import { n as ne, L, W as Wt$1, c as jt, x as x$1, b as be } from "./KHUP5TOH-BX0A2YHC.js";
5
+ import { q, d as de } from "./lazy-C1DShJVi.js";
6
6
  import "./2CHDFZHC-B7OS2WPy.js";
7
- import "./core-Z_paRVMb.js";
7
+ import "./core-2jWUG3m-.js";
8
8
  import "./vendor-BpwX-s_O.js";
9
9
  import "./vendor-react-bPTwWURR.js";
10
10
  function It(s) {
@@ -1,11 +1,11 @@
1
- import { i } from "./D5TW5CPZ-BUXfpU2q.js";
1
+ import { i } from "./D5TW5CPZ-Bp-wetYa.js";
2
2
  import { f } from "./DKTLEL5E-Dj3316cp.js";
3
- import { x as x$1, D, O, $, L, V as V$1, W, G, P as P$1, H, j, z, B as B$1, U } from "./IU7WZTP6-BZMu2vL3.js";
4
- import { K as Kn, b as an } from "./UWRPUF3N-CtgKKvKe.js";
5
- import { W as Wt, x as x$2, c as jt, L as L$1, n as ne, b as be, e as bt$1, P as P$2, S, $ as $t$1 } from "./KHUP5TOH-032p46g-.js";
6
- import { q, d as de } from "./lazy-DQmrNfMK.js";
3
+ import { x as x$1, D, O, $, L, V as V$1, W, G, P as P$1, H, j, z, B as B$1, U } from "./IU7WZTP6-D7pwhQLH.js";
4
+ import { K as Kn, b as an } from "./UWRPUF3N-7_KSfEv0.js";
5
+ import { W as Wt, x as x$2, c as jt, L as L$1, n as ne, b as be, e as bt$1, P as P$2, S, $ as $t$1 } from "./KHUP5TOH-BX0A2YHC.js";
6
+ import { q, d as de } from "./lazy-C1DShJVi.js";
7
7
  import "./2CHDFZHC-B7OS2WPy.js";
8
- import "./core-Z_paRVMb.js";
8
+ import "./core-2jWUG3m-.js";
9
9
  import "./vendor-BpwX-s_O.js";
10
10
  import "./vendor-react-bPTwWURR.js";
11
11
  var ae = class {
@@ -1,9 +1,9 @@
1
- import { T } from "./OHJ2EJXK-BEkFEoxu.js";
2
- import { b as e, V, i, d as de } from "./lazy-DQmrNfMK.js";
1
+ import { T } from "./OHJ2EJXK-CKyEtj37.js";
2
+ import { b as e, V, i, d as de } from "./lazy-C1DShJVi.js";
3
3
  import { c, h } from "./DKTLEL5E-Dj3316cp.js";
4
- import { b as an, _ as _t } from "./UWRPUF3N-CtgKKvKe.js";
5
- import { n as ne, x, W as Wt, L, c as jt, b as be$1 } from "./KHUP5TOH-032p46g-.js";
6
- import "./core-Z_paRVMb.js";
4
+ import { b as an, _ as _t } from "./UWRPUF3N-7_KSfEv0.js";
5
+ import { n as ne, x, W as Wt, L, c as jt, b as be$1 } from "./KHUP5TOH-BX0A2YHC.js";
6
+ import "./core-2jWUG3m-.js";
7
7
  import "./vendor-BpwX-s_O.js";
8
8
  import "./vendor-react-bPTwWURR.js";
9
9
  import "./2CHDFZHC-B7OS2WPy.js";
@@ -1,4 +1,4 @@
1
- import { V as V$1 } from "./lazy-DQmrNfMK.js";
1
+ import { V as V$1 } from "./lazy-C1DShJVi.js";
2
2
  var b = /* @__PURE__ */ new WeakMap();
3
3
  function S(n) {
4
4
  let e = n.map((r, i) => i), o = [];
@@ -1,8 +1,8 @@
1
1
  import { p, h } from "./DKTLEL5E-Dj3316cp.js";
2
- import { x, D, z as z$1, B, U as U$1, Y as Y$1, O, P, H } from "./IU7WZTP6-BZMu2vL3.js";
3
- import { n as ne$1, L as L$1, x as x$1, S as S$1, W as Wt$1, b as be, l as le, c as jt$1 } from "./KHUP5TOH-032p46g-.js";
4
- import { q, d as de, e as ee$1 } from "./lazy-DQmrNfMK.js";
5
- import "./core-Z_paRVMb.js";
2
+ import { x, D, z as z$1, B, U as U$1, Y as Y$1, O, P, H } from "./IU7WZTP6-D7pwhQLH.js";
3
+ import { n as ne$1, L as L$1, x as x$1, S as S$1, W as Wt$1, b as be, l as le, c as jt$1 } from "./KHUP5TOH-BX0A2YHC.js";
4
+ import { q, d as de, e as ee$1 } from "./lazy-C1DShJVi.js";
5
+ import "./core-2jWUG3m-.js";
6
6
  import "./vendor-BpwX-s_O.js";
7
7
  import "./vendor-react-bPTwWURR.js";
8
8
  function Pe(e) {
@@ -1,8 +1,8 @@
1
1
  import { s } from "./RVARI57O-DMrXgtoB.js";
2
- import { d as de, q, i, b as e, f as u, t, V, o } from "./lazy-DQmrNfMK.js";
2
+ import { d as de, q, i, b as e, f as u, t, V, o } from "./lazy-C1DShJVi.js";
3
3
  import { l } from "./DKTLEL5E-Dj3316cp.js";
4
- import { n as ne$1, c as jt$1, x, W as Wt$1, d as de$1, L, h as he, b as be$1, p as pe } from "./KHUP5TOH-032p46g-.js";
5
- import "./core-Z_paRVMb.js";
4
+ import { n as ne$1, c as jt$1, x, W as Wt$1, d as de$1, L, h as he, b as be$1, p as pe } from "./KHUP5TOH-BX0A2YHC.js";
5
+ import "./core-2jWUG3m-.js";
6
6
  import "./vendor-BpwX-s_O.js";
7
7
  import "./vendor-react-bPTwWURR.js";
8
8
  var ne = /^\d+$/, Ft = /^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/, ie = /^\d+px$/;
@@ -1,4 +1,4 @@
1
- import { e as ee, r as re, s as se$1, u as ue$1 } from "./lazy-DQmrNfMK.js";
1
+ import { e as ee, r as re, s as se$1, u as ue$1 } from "./lazy-C1DShJVi.js";
2
2
  var ot = /[&<>"\x00-\x08\x0b\x0c\x0e-\x1f\x7f\ud800-\udfff\ufffe\uffff]/u, rt = /[&<>"]|[\x00-\x08\x0b\x0c\x0e-\x1f\x7f\ud800-\udfff\ufffe\uffff]+/gu, ct = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;" }, j = /[\x00-\x08\x0b\x0c\x0e-\x1f\x7f\ud800-\udfff\ufffe\uffff]/u;
3
3
  function S(t) {
4
4
  return ot.test(t) ? t.replace(rt, (e) => ct[e] ?? "") : t;
@@ -1,8 +1,8 @@
1
- import { U, A as A$1 } from "./NDSCUZ25-C9oT6c6G.js";
2
- import { d as de$1, q as q$1, b as e, V } from "./lazy-DQmrNfMK.js";
1
+ import { U, A as A$1 } from "./NDSCUZ25-DltJ5xGa.js";
2
+ import { d as de$1, q as q$1, b as e, V } from "./lazy-C1DShJVi.js";
3
3
  import { l } from "./DKTLEL5E-Dj3316cp.js";
4
- import { n as ne, W as Wt$1, b as be$1, S, L as L$1, x, u as ue, c as jt, h as he } from "./KHUP5TOH-032p46g-.js";
5
- import "./core-Z_paRVMb.js";
4
+ import { n as ne, W as Wt$1, b as be$1, S, L as L$1, x, u as ue, c as jt, h as he } from "./KHUP5TOH-BX0A2YHC.js";
5
+ import "./core-2jWUG3m-.js";
6
6
  import "./vendor-BpwX-s_O.js";
7
7
  import "./vendor-react-bPTwWURR.js";
8
8
  var K = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], L = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];