zidane-gui 9.1.6 → 9.1.11

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 (73) hide show
  1. package/out/main/index.js +398 -55
  2. package/out/preload/index.mjs +7 -5
  3. package/out/renderer/assets/{43YPWK3Q-z5jpEo82.js → 43YPWK3Q-BVJpf1u1.js} +6 -6
  4. package/out/renderer/assets/{45MVAN6X-GiMurZcH.js → 45MVAN6X-BWuIeWOc.js} +5 -5
  5. package/out/renderer/assets/{46GJKBLZ-BK9JvL-z.js → 46GJKBLZ-41BAHmt4.js} +10 -10
  6. package/out/renderer/assets/{63WH7YNF-oZNJFk32.js → 63WH7YNF-DuatnhlB.js} +8 -8
  7. package/out/renderer/assets/{6DDU7VKX-Q8ape99y.js → 6DDU7VKX-BAI-vKC1.js} +6 -6
  8. package/out/renderer/assets/{CLQLV5VT-1CokruIk.js → CLQLV5VT-CmHu2HE3.js} +6 -6
  9. package/out/renderer/assets/{CUSPXG5M-CXI47Yx3.js → CUSPXG5M-DE3uzfbs.js} +6 -6
  10. package/out/renderer/assets/{CodeEditor-D8TMSvb4.js → CodeEditor-CIwCP1F_.js} +3 -3
  11. package/out/renderer/assets/{ComposerEditor-MwH3w7kQ.js → ComposerEditor-leA8S_Yk.js} +2 -2
  12. package/out/renderer/assets/{D3L7O4X2-CZlDY3Xj.js → D3L7O4X2-BZ4caDcX.js} +4 -4
  13. package/out/renderer/assets/{D5TW5CPZ-C04jssFu.js → D5TW5CPZ-BXdKc68h.js} +1 -1
  14. package/out/renderer/assets/{DiffsTab-CD4Z6LsX.js → DiffsTab-CyRIVfQk.js} +5 -5
  15. package/out/renderer/assets/{EGADTWYV-C6IiGlh0.js → EGADTWYV-Bf6Kicdv.js} +5 -5
  16. package/out/renderer/assets/{EOJSJZXM-Bw1Qp21K.js → EOJSJZXM-NAa-K4U0.js} +8 -8
  17. package/out/renderer/assets/{EditorWorkers-D0xeQ5Kf.js → EditorWorkers-CY0St-9O.js} +4 -4
  18. package/out/renderer/assets/{FilesTab-Pp8_PSfd.js → FilesTab-CnRw0KCN.js} +111 -17
  19. package/out/renderer/assets/{G2OEIG6X-foim2Z_m.js → G2OEIG6X-BarwxCkp.js} +5 -5
  20. package/out/renderer/assets/{GXJ2T77W-FIOAlHlR.js → GXJ2T77W-CyQVHlsG.js} +6 -6
  21. package/out/renderer/assets/{HX3UMAK7-COan20yP.js → HX3UMAK7-BcoG4mYG.js} +5 -5
  22. package/out/renderer/assets/{IU7WZTP6-DeXscWir.js → IU7WZTP6-kOLrUSwF.js} +1 -1
  23. package/out/renderer/assets/{J5J2NR2G-B7up1iuZ.js → J5J2NR2G-DE-SGCIz.js} +4 -4
  24. package/out/renderer/assets/{JRCWTJEL-M4z7DV1k.js → JRCWTJEL-DZY5HKk0.js} +3 -3
  25. package/out/renderer/assets/{KHUP5TOH-0CDf31VX.js → KHUP5TOH-DevvG2jY.js} +1 -1
  26. package/out/renderer/assets/{L74FQTH5-xlC3E1u8.js → L74FQTH5-CnOj-zIY.js} +4 -4
  27. package/out/renderer/assets/{LAV4ZXOS-CWOm214F.js → LAV4ZXOS-BATWssHi.js} +6 -6
  28. package/out/renderer/assets/{LBIZYCRR-BRMO_zpo.js → LBIZYCRR-BXTsyX1O.js} +7 -7
  29. package/out/renderer/assets/{LFFXNLRS-CQDwxn8S.js → LFFXNLRS-BpnXEoXM.js} +3 -3
  30. package/out/renderer/assets/{LLLWOAQD-NLayfyRk.js → LLLWOAQD-BjLHR3Pk.js} +1 -1
  31. package/out/renderer/assets/{LTYQZ5U5-CfgFK_8S.js → LTYQZ5U5-CDOIyknV.js} +8 -8
  32. package/out/renderer/assets/{NDSCUZ25-CRhHG4rp.js → NDSCUZ25-Bl1idg0d.js} +2 -2
  33. package/out/renderer/assets/{NMN3IKWL-pNFku5nG.js → NMN3IKWL-BYE2yrn3.js} +9 -9
  34. package/out/renderer/assets/{NMUA3R2D-D5EpYecE.js → NMUA3R2D-Xl410xeQ.js} +7 -7
  35. package/out/renderer/assets/{NY5A6PPW-BFqrOF96.js → NY5A6PPW-CkzCXBsB.js} +3 -3
  36. package/out/renderer/assets/{OHJ2EJXK-DUXRo20H.js → OHJ2EJXK-DCVoLmOH.js} +1 -1
  37. package/out/renderer/assets/{OU2GIT2H-RERREQg4.js → OU2GIT2H-DG4LbVmY.js} +4 -4
  38. package/out/renderer/assets/{PDMLSE6I-B6VLJpYF.js → PDMLSE6I-Cr8MjczD.js} +2 -2
  39. package/out/renderer/assets/{PJ7X32S5-CiX4IRfi.js → PJ7X32S5-DFZu5Xsj.js} +5 -5
  40. package/out/renderer/assets/{RLLQ44NJ-DI-w7C3g.js → RLLQ44NJ-D-LvBssh.js} +7 -7
  41. package/out/renderer/assets/{S6DWMCK5-BFYfpKyU.js → S6DWMCK5-BQEAXG2z.js} +8 -8
  42. package/out/renderer/assets/{STIOTUT7-BsXqNDoB.js → STIOTUT7-jszPNHGr.js} +6 -6
  43. package/out/renderer/assets/{SXSLPWUD-DsiZBZ2L.js → SXSLPWUD-CEMEDuKR.js} +2 -2
  44. package/out/renderer/assets/{TR4WJQGX-DdGw5EgP.js → TR4WJQGX-8wGWCKKm.js} +1 -1
  45. package/out/renderer/assets/{UWRPUF3N-B9f5cVuf.js → UWRPUF3N-ONJaPLUk.js} +1 -1
  46. package/out/renderer/assets/{VSWIZJ7B-B67GWWkR.js → VSWIZJ7B-DbkRTlJD.js} +1 -1
  47. package/out/renderer/assets/{WM7NR6YK-BjDcbecJ.js → WM7NR6YK-CFy2rge0.js} +4 -4
  48. package/out/renderer/assets/{WXKV2YEK-DkO54WUi.js → WXKV2YEK-BFHYSpQF.js} +3 -3
  49. package/out/renderer/assets/{XLHPVVFU-CgBgWtsm.js → XLHPVVFU-BJFPh1Rn.js} +1 -1
  50. package/out/renderer/assets/{YNX532HU-GZs01vUI.js → YNX532HU-3QqofRh5.js} +5 -5
  51. package/out/renderer/assets/{YUPSMAUO-3HW0N7cY.js → YUPSMAUO-COLbQro8.js} +1 -1
  52. package/out/renderer/assets/{ZFRCZTLK-Bv3j48XJ.js → ZFRCZTLK-BuPbgRNC.js} +6 -6
  53. package/out/renderer/assets/{ZZDR4CN3-bxop59us.js → ZZDR4CN3-Do4onAxu.js} +4 -4
  54. package/out/renderer/assets/{core-DUTJyMGZ.js → core-T80gwwf3.js} +591 -344
  55. package/out/renderer/assets/{file-tabs-CDruoNmZ.js → file-tabs-DWQZlQfx.js} +5 -5
  56. package/out/renderer/assets/{ghostty-web-CtIJ7i7e.js → ghostty-web-DXNGAB4P.js} +1 -1
  57. package/out/renderer/assets/{highlights-26TXpsMP.js → highlights-B0vcJ7-n.js} +2 -2
  58. package/out/renderer/assets/{highlights-Bmhv1Dz1.js → highlights-Yvd7kpJw.js} +3 -3
  59. package/out/renderer/assets/{index-CpGbxp8B.js → index-BbyDWT39.js} +227 -250
  60. package/out/renderer/assets/{index-B5DcyIyT.css → index-CsOxRbAw.css} +146 -19
  61. package/out/renderer/assets/{kit-u_PHwNWF.js → kit-DgkO1_s6.js} +2354 -1186
  62. package/out/renderer/assets/{langs-DQ-AW7Q8.js → langs-7bXaMxtL.js} +1 -1
  63. package/out/renderer/assets/{lazy-xGoFzwfG.js → lazy-DE7xn_YD.js} +3 -3
  64. package/out/renderer/assets/{loader-BwgXVB75.js → loader-CdKsI-e2.js} +1 -1
  65. package/out/renderer/assets/{pierre-theme-CwuG23St.js → pierre-theme-BouAfjrk.js} +7 -7
  66. package/out/renderer/assets/{shiki-DCldjjSl.js → shiki-CIKuDsHH.js} +3 -3
  67. package/out/renderer/assets/{stream-tokenizer-BJjKxfTj.js → stream-tokenizer-JLLsdqkH.js} +1 -1
  68. package/out/renderer/assets/{themes-Bt8pRd53.js → themes-mM7Qtyxf.js} +2 -2
  69. package/out/renderer/assets/{useDetachCleanup-hiha0T2M.js → useDetachCleanup-1PVBQ1U4.js} +2 -2
  70. package/out/renderer/assets/{useFolderChanges-AOk0dbsA.js → useFolderChanges-_vflCTEj.js} +3 -3
  71. package/out/renderer/index.html +4 -4
  72. package/package.json +2 -2
  73. package/scripts/app-installer.mjs +9 -0
@@ -139,7 +139,8 @@ const SESSION_FIELDS = {
139
139
  "repoKey": "string",
140
140
  "environment.kind": "string",
141
141
  "environment.state": "string",
142
- "environment.branch": "string"
142
+ "environment.branch": "string",
143
+ "wakes": "string"
143
144
  };
144
145
  const FACET_EXTENSION_ID = /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/;
145
146
  const FACET_KEY = /^[A-Z_][\w-]{0,63}$/i;
@@ -2099,17 +2100,31 @@ function scriptProgressView(code, progress, finished, ok = true, result) {
2099
2100
  const byLine = new Map(progress?.lines.map((entry) => [entry.line, entry]));
2100
2101
  const furthest = progress?.lines.length ? progress.lines[progress.lines.length - 1].line : 0;
2101
2102
  const reached = ended && endedOk ? Number.POSITIVE_INFINITY : furthest;
2103
+ const at = ended ? void 0 : progress?.at;
2104
+ const masked = progress ? maskScriptSource(code).split("\n") : [];
2105
+ const roundsOf = (entry) => Math.ceil(entry.calls / Math.max(1, callSitesIn(masked[entry.line - 1] ?? "")));
2106
+ const loops = progress ? viewLoops(scriptLoops(code), byLine, roundsOf, first + 1, last + 1, at) : [];
2107
+ const loopOf = (line) => loops.findLast((loop) => loop.start <= line && line <= loop.end);
2102
2108
  const lines = [];
2103
2109
  for (let i = first; i <= last; i++) {
2104
2110
  const number = i + 1;
2105
2111
  const entry = byLine.get(number);
2106
- const state = error?.line === number ? "failed" : !progress ? "passed" : entry ? entry.status === "running" ? "running" : entry.status === "ok" ? "done" : "failed" : number <= reached ? "passed" : "idle";
2112
+ const loop = loopOf(number);
2113
+ const behind = loop?.active === true && at !== void 0 && loop.rounds > 1;
2114
+ let state;
2115
+ if (error?.line === number) state = "failed";
2116
+ else if (!progress) state = "passed";
2117
+ else if (entry?.status === "running" || entry?.status === "waiting") state = entry.status;
2118
+ else if (entry) state = behind && (number > at || roundsOf(entry) < loop.rounds) ? "previous" : entry.status === "ok" ? "done" : "failed";
2119
+ else if (behind) state = number <= at ? "passed" : "previous";
2120
+ else state = number <= reached ? "passed" : "idle";
2107
2121
  lines.push({
2108
2122
  number,
2109
2123
  label: number - first,
2110
2124
  text: source[i],
2111
2125
  state,
2112
- calls: entry?.calls ?? 0
2126
+ calls: entry?.calls ?? 0,
2127
+ ...state === "waiting" && entry?.until !== void 0 ? { until: entry.until } : {}
2113
2128
  });
2114
2129
  }
2115
2130
  const lastLine = lines.at(-1);
@@ -2117,7 +2132,7 @@ function scriptProgressView(code, progress, finished, ok = true, result) {
2117
2132
  const done = progress?.done ?? 0;
2118
2133
  const total = progress ? countOnceCallSites(code) : void 0;
2119
2134
  const exact = total !== void 0 && done + (progress?.running ?? 0) <= total;
2120
- const running = progress?.lines.find((entry) => entry.status === "running")?.line;
2135
+ const running = progress?.lines.find((entry) => entry.status === "running" || entry.status === "waiting")?.line;
2121
2136
  return {
2122
2137
  lines,
2123
2138
  ...options !== void 0 ? { options } : {},
@@ -2129,11 +2144,27 @@ function scriptProgressView(code, progress, finished, ok = true, result) {
2129
2144
  total,
2130
2145
  percent: ended && endedOk ? 100 : Math.min(100, Math.round(done / total * 100))
2131
2146
  } : {},
2132
- ...!ended && progress ? { active: running ?? (furthest || void 0) } : {},
2147
+ ...!ended && progress ? { active: running ?? at ?? (furthest || void 0) } : {},
2148
+ loops,
2133
2149
  output: progress?.output ?? [],
2134
2150
  ...error && lines.some((line) => line.number === error.line) ? { error } : {}
2135
2151
  };
2136
2152
  }
2153
+ function viewLoops(found, byLine, roundsOf, first, last, at) {
2154
+ const shown = found.filter((loop) => loop.start >= first && loop.end <= last);
2155
+ const innermost = (line) => shown.findLast((loop) => loop.start <= line && line <= loop.end);
2156
+ const rounds = /* @__PURE__ */ new Map();
2157
+ for (const entry of byLine.values()) {
2158
+ const loop = innermost(entry.line);
2159
+ if (loop) rounds.set(loop, Math.max(rounds.get(loop) ?? 0, roundsOf(entry)));
2160
+ }
2161
+ return shown.map((loop) => ({
2162
+ ...loop,
2163
+ rounds: rounds.get(loop) ?? 0,
2164
+ active: at !== void 0 && loop.start <= at && at <= loop.end,
2165
+ depth: shown.filter((outer) => outer !== loop && outer.start <= loop.start && loop.end <= outer.end).length
2166
+ }));
2167
+ }
2137
2168
  const SCRIPT_ERROR = /^Script error: (.+)$/m;
2138
2169
  const EXCERPT_LINE = /^(\d+) \| /m;
2139
2170
  function scriptErrorOf(result) {
@@ -2245,113 +2276,233 @@ const TOOL_REF = /\btools\b/g;
2245
2276
  const SH_CALL = /(?<![\w$.])sh\s*\(/g;
2246
2277
  const SH_REF = /(?<![\w$.])sh\b/g;
2247
2278
  const WORD = /[\w$]/;
2248
- function countOnceCallSites(code) {
2249
- const masked = maskScriptSource(code);
2250
- const sites = /* @__PURE__ */ new Set();
2251
- for (const match of masked.matchAll(TOOL_CALL)) sites.add(match.index);
2252
- if ((masked.match(TOOL_REF)?.length ?? 0) !== sites.size) return void 0;
2253
- const shCalls = [...masked.matchAll(SH_CALL)];
2254
- if ((masked.match(SH_REF)?.length ?? 0) !== shCalls.length) return void 0;
2255
- for (const match of shCalls) sites.add(match.index);
2256
- if (sites.size === 0) return void 0;
2279
+ const SLEEP_CALL = /(?<![\w$.])sleep\s*\(/g;
2280
+ function callSitesIn(masked) {
2281
+ return (masked.match(TOOL_CALL)?.length ?? 0) + (masked.match(SH_CALL)?.length ?? 0) + (masked.match(SLEEP_CALL)?.length ?? 0);
2282
+ }
2283
+ const CONTINUES = /^(?:[.?:+\-*/%&|^=<>,]|else\b)/;
2284
+ const ITERATORS = /* @__PURE__ */ new Set([
2285
+ "map",
2286
+ "forEach",
2287
+ "flatMap",
2288
+ "filter",
2289
+ "reduce",
2290
+ "reduceRight",
2291
+ "some",
2292
+ "every",
2293
+ "find",
2294
+ "findIndex",
2295
+ "findLast",
2296
+ "findLastIndex"
2297
+ ]);
2298
+ function walkScopes(masked, onWord) {
2299
+ const loops = [];
2257
2300
  const stack = [];
2258
2301
  let pending = null;
2302
+ let pendingLoop;
2259
2303
  let nextParen = null;
2304
+ let nextParenFrom = 0;
2305
+ let fnLoop;
2306
+ let word = null;
2307
+ let last = "";
2308
+ let afterDo = false;
2260
2309
  const repeating = () => stack.some((scope) => scope.repeats);
2310
+ const pop = (at) => {
2311
+ const scope = stack.pop();
2312
+ if (scope.loop) {
2313
+ loops.push({
2314
+ ...scope.loop,
2315
+ to: at
2316
+ });
2317
+ afterDo = masked.startsWith("do", scope.loop.from);
2318
+ }
2319
+ return scope;
2320
+ };
2321
+ const callbackAt = (at) => {
2322
+ const top = stack[stack.length - 1];
2323
+ return top?.close === ")" && top.callee !== void 0 && ITERATORS.has(top.callee) ? {
2324
+ from: at,
2325
+ kind: "callback"
2326
+ } : void 0;
2327
+ };
2328
+ const push = (scope, loop) => {
2329
+ stack.push(loop ? {
2330
+ ...scope,
2331
+ loop
2332
+ } : scope);
2333
+ };
2261
2334
  const openBody = () => {
2262
- if (pending === "loopBody") stack.push({
2335
+ if (pending === "loopBody") push({
2263
2336
  close: "stmt",
2264
2337
  repeats: true
2265
- });
2266
- else if (pending === "arrowBody") stack.push({
2338
+ }, pendingLoop);
2339
+ else if (pending === "arrowBody") push({
2267
2340
  close: "expr",
2268
2341
  repeats: true
2269
- });
2342
+ }, pendingLoop);
2270
2343
  pending = null;
2344
+ pendingLoop = void 0;
2271
2345
  };
2272
- const closeTo = (close) => {
2346
+ const closeTo = (close, at) => {
2273
2347
  while (stack.length > 0) {
2274
- const scope = stack.pop();
2348
+ const scope = pop(at);
2275
2349
  if (scope.close === close) return scope;
2276
2350
  }
2277
2351
  };
2278
- const popWhile = (closes) => {
2279
- while (stack.length > 0 && closes.includes(stack[stack.length - 1].close)) stack.pop();
2352
+ const popWhile = (closes, at) => {
2353
+ while (stack.length > 0 && closes.includes(stack[stack.length - 1].close)) pop(at);
2280
2354
  };
2281
2355
  let i = 0;
2282
2356
  const n = masked.length;
2283
2357
  while (i < n) {
2284
2358
  const c2 = masked[i];
2285
2359
  if (/\s/.test(c2)) {
2360
+ if (c2 === "\n" && stack[stack.length - 1]?.close === "stmt" && !CONTINUES.test(masked.slice(i + 1).trimStart())) pop(i);
2286
2361
  i++;
2287
2362
  continue;
2288
2363
  }
2289
2364
  if (WORD.test(c2)) {
2290
2365
  let j = i;
2291
2366
  while (j < n && WORD.test(masked[j])) j++;
2292
- const word = masked.slice(i, j);
2367
+ const text = masked.slice(i, j);
2368
+ const doTail = afterDo && text === "while";
2369
+ afterDo = false;
2293
2370
  openBody();
2294
- if (sites.has(i) && repeating()) return void 0;
2295
- if (word === "for" || word === "while") nextParen = "loop";
2296
- else if (word === "if" || word === "switch" || word === "catch" || word === "with") nextParen = "cond";
2297
- else if (word === "function") nextParen = "fn";
2298
- else if (word === "do") pending = "loopBody";
2371
+ if (onWord?.(i, repeating()) === false) return loops;
2372
+ if (doTail) nextParen = "cond";
2373
+ else if (text === "for" || text === "while") {
2374
+ nextParen = "loop";
2375
+ nextParenFrom = i;
2376
+ } else if (text === "if" || text === "switch" || text === "catch" || text === "with") nextParen = "cond";
2377
+ else if (text === "function") {
2378
+ nextParen = "fn";
2379
+ fnLoop = callbackAt(i);
2380
+ } else if (text === "do") {
2381
+ pending = "loopBody";
2382
+ pendingLoop = {
2383
+ from: i,
2384
+ kind: "loop"
2385
+ };
2386
+ }
2387
+ word = {
2388
+ text,
2389
+ dotted: last === "."
2390
+ };
2391
+ last = "w";
2299
2392
  i = j;
2300
2393
  continue;
2301
2394
  }
2395
+ const callee = word?.dotted ? word.text : void 0;
2396
+ word = null;
2397
+ last = c2;
2398
+ afterDo = false;
2302
2399
  if (c2 === "=" && masked[i + 1] === ">") {
2303
2400
  pending = "arrowBody";
2401
+ pendingLoop = callbackAt(i);
2304
2402
  i += 2;
2305
2403
  continue;
2306
2404
  }
2307
2405
  if (c2 === "{") {
2308
- const repeats = pending === "loopBody" || pending === "fnBody" || pending === "braceIsFn" || pending === "arrowBody";
2309
- stack.push({
2406
+ push({
2310
2407
  close: "}",
2311
- repeats
2312
- });
2408
+ repeats: pending === "loopBody" || pending === "fnBody" || pending === "braceIsFn" || pending === "arrowBody"
2409
+ }, pendingLoop);
2313
2410
  pending = null;
2411
+ pendingLoop = void 0;
2314
2412
  i++;
2315
2413
  continue;
2316
2414
  }
2317
2415
  if (c2 === ";") {
2318
- popWhile(["stmt", "expr"]);
2416
+ popWhile(["stmt", "expr"], i);
2319
2417
  pending = null;
2418
+ pendingLoop = void 0;
2320
2419
  i++;
2321
2420
  continue;
2322
2421
  }
2323
2422
  if (c2 === ",") {
2324
- popWhile(["expr"]);
2423
+ popWhile(["expr"], i);
2325
2424
  pending = null;
2425
+ pendingLoop = void 0;
2326
2426
  i++;
2327
2427
  continue;
2328
2428
  }
2329
2429
  if (c2 === ")" || c2 === "]" || c2 === "}") {
2330
- const scope = closeTo(c2);
2430
+ const scope = closeTo(c2, i);
2331
2431
  pending = null;
2432
+ pendingLoop = void 0;
2332
2433
  if (c2 === ")" && scope) {
2333
- if (scope.kind === "loop") pending = "loopBody";
2334
- else if (scope.kind === "fn") pending = "fnBody";
2335
- else if (scope.kind === "other") pending = "braceIsFn";
2434
+ if (scope.kind === "loop") {
2435
+ pending = "loopBody";
2436
+ pendingLoop = {
2437
+ from: scope.from ?? i,
2438
+ kind: "loop"
2439
+ };
2440
+ } else if (scope.kind === "fn") {
2441
+ pending = "fnBody";
2442
+ pendingLoop = scope.fnLoop;
2443
+ } else if (scope.kind === "other") pending = "braceIsFn";
2336
2444
  }
2337
2445
  i++;
2338
2446
  continue;
2339
2447
  }
2340
2448
  openBody();
2341
2449
  if (c2 === "(") {
2450
+ const kind = nextParen ?? "other";
2342
2451
  stack.push({
2343
2452
  close: ")",
2344
2453
  repeats: false,
2345
- kind: nextParen ?? "other"
2454
+ kind,
2455
+ ...kind === "other" && callee !== void 0 ? { callee } : {},
2456
+ ...kind === "loop" ? { from: nextParenFrom } : {},
2457
+ ...kind === "fn" && fnLoop ? { fnLoop } : {}
2346
2458
  });
2347
2459
  nextParen = null;
2460
+ fnLoop = void 0;
2348
2461
  } else if (c2 === "[") stack.push({
2349
2462
  close: "]",
2350
2463
  repeats: false
2351
2464
  });
2352
2465
  i++;
2353
2466
  }
2354
- return sites.size;
2467
+ while (stack.length > 0) pop(n);
2468
+ return loops;
2469
+ }
2470
+ function scriptLoops(code) {
2471
+ const starts = [0];
2472
+ for (let i = 0; i < code.length; i++) if (code[i] === "\n") starts.push(i + 1);
2473
+ const lineAt = (offset) => {
2474
+ let lo = 0;
2475
+ let hi = starts.length - 1;
2476
+ while (lo < hi) {
2477
+ const mid = lo + hi + 1 >> 1;
2478
+ if (starts[mid] <= offset) lo = mid;
2479
+ else hi = mid - 1;
2480
+ }
2481
+ return lo + 1;
2482
+ };
2483
+ return walkScopes(maskScriptSource(code)).map((loop) => ({
2484
+ start: lineAt(loop.from),
2485
+ end: lineAt(Math.max(loop.from, loop.to)),
2486
+ kind: loop.kind
2487
+ })).sort((a, b) => a.start - b.start || b.end - a.end);
2488
+ }
2489
+ function countOnceCallSites(code) {
2490
+ const masked = maskScriptSource(code);
2491
+ const sites = /* @__PURE__ */ new Set();
2492
+ for (const match of masked.matchAll(TOOL_CALL)) sites.add(match.index);
2493
+ if ((masked.match(TOOL_REF)?.length ?? 0) !== sites.size) return void 0;
2494
+ const shCalls = [...masked.matchAll(SH_CALL)];
2495
+ if ((masked.match(SH_REF)?.length ?? 0) !== shCalls.length) return void 0;
2496
+ for (const match of shCalls) sites.add(match.index);
2497
+ if (sites.size === 0) return void 0;
2498
+ let repeated = false;
2499
+ walkScopes(masked, (index, repeating) => {
2500
+ if (sites.has(index) && repeating) {
2501
+ repeated = true;
2502
+ return false;
2503
+ }
2504
+ });
2505
+ return repeated ? void 0 : sites.size;
2355
2506
  }
2356
2507
  function searchHighlightRanges(text, query) {
2357
2508
  const parsed = parseQuery(query.trim());
@@ -3348,9 +3499,74 @@ const HOST_TOOLS = [
3348
3499
  name: "ssh",
3349
3500
  label: "ssh",
3350
3501
  icon: "i-ph-terminal",
3351
- why: "git over ssh"
3502
+ why: "git over ssh",
3503
+ versionArgs: ["-V"]
3352
3504
  }
3353
3505
  ];
3506
+ const RIPGREP = "14.1.1";
3507
+ const RIPGREP_TARGETS = {
3508
+ x64: "x86_64-unknown-linux-musl",
3509
+ arm64: "aarch64-unknown-linux-gnu"
3510
+ };
3511
+ const BUN = "curl -fsSL https://bun.sh/install | bash";
3512
+ const BREW = {
3513
+ gh: "gh",
3514
+ glab: "glab",
3515
+ node: "node",
3516
+ python3: "python",
3517
+ rg: "ripgrep",
3518
+ git: "git"
3519
+ };
3520
+ const APT = {
3521
+ git: "git",
3522
+ node: "nodejs",
3523
+ python3: "python3",
3524
+ ssh: "openssh-client",
3525
+ rg: "ripgrep"
3526
+ };
3527
+ const PAGES = {
3528
+ gh: "https://github.com/cli/cli#installation",
3529
+ glab: "https://gitlab.com/gitlab-org/cli#installation",
3530
+ docker: "https://docs.docker.com/engine/install/",
3531
+ node: "https://nodejs.org/en/download",
3532
+ python3: "https://www.python.org/downloads/",
3533
+ rg: "https://github.com/BurntSushi/ripgrep#installation",
3534
+ git: "https://git-scm.com/downloads",
3535
+ ssh: "https://www.openssh.com/portable.html",
3536
+ bun: "https://bun.sh/docs/installation"
3537
+ };
3538
+ function toolInstall(name, capabilities) {
3539
+ if (!HOST_TOOLS.some((tool) => tool.name === name)) return void 0;
3540
+ const { platform, arch } = capabilities.os;
3541
+ const { brew = false, apt = false } = capabilities.installers ?? {};
3542
+ if (name === "bun" && (platform === "linux" || platform === "darwin")) return {
3543
+ kind: "run",
3544
+ command: BUN
3545
+ };
3546
+ if (platform === "darwin" && brew && BREW[name]) return {
3547
+ kind: "run",
3548
+ command: `brew install ${BREW[name]}`
3549
+ };
3550
+ if (platform === "linux" && name === "rg" && RIPGREP_TARGETS[arch]) {
3551
+ const dir = `ripgrep-${RIPGREP}-${RIPGREP_TARGETS[arch]}`;
3552
+ return {
3553
+ kind: "run",
3554
+ command: `mkdir -p "$HOME/.local/bin" && curl -fsSL https://github.com/BurntSushi/ripgrep/releases/download/${RIPGREP}/${dir}.tar.gz | tar -xz -C "$HOME/.local/bin" --strip-components=1 ${dir}/rg`
3555
+ };
3556
+ }
3557
+ if (platform === "linux" && name === "docker") return {
3558
+ kind: "copy",
3559
+ command: "curl -fsSL https://get.docker.com | sudo sh"
3560
+ };
3561
+ if (platform === "linux" && apt && APT[name]) return {
3562
+ kind: "copy",
3563
+ command: `sudo apt-get install -y ${APT[name]}`
3564
+ };
3565
+ return PAGES[name] ? {
3566
+ kind: "link",
3567
+ url: PAGES[name]
3568
+ } : void 0;
3569
+ }
3354
3570
  function hasTool(capabilities, name) {
3355
3571
  return capabilities?.tools.find((tool) => tool.name === name)?.found;
3356
3572
  }
@@ -3792,7 +4008,7 @@ const DEFAULT_SETTINGS = {
3792
4008
  secrets: false,
3793
4009
  imageModel: "",
3794
4010
  maxParallelSubagents: 3,
3795
- queueMessages: true,
4011
+ messageDelivery: "queue",
3796
4012
  theme: "default",
3797
4013
  showAllProjects: false,
3798
4014
  spaces: false,
@@ -5163,10 +5379,13 @@ const SETTINGS_KEYWORDS = {
5163
5379
  "sequence",
5164
5380
  "graph"
5165
5381
  ],
5166
- queueMessages: [
5382
+ messageDelivery: [
5167
5383
  "queue",
5384
+ "queuing",
5385
+ "steer",
5386
+ "steering",
5168
5387
  "send while running",
5169
- "steer"
5388
+ "interrupt"
5170
5389
  ],
5171
5390
  maxCostUsd: [
5172
5391
  "budget",
@@ -5346,12 +5565,6 @@ const SETTINGS_TOGGLES = [
5346
5565
  label: "Auto-compact",
5347
5566
  description: "Summarize the conversation when the context passes the threshold below."
5348
5567
  },
5349
- {
5350
- category: "agent",
5351
- key: "queueMessages",
5352
- label: "Queue messages",
5353
- description: "Hold messages sent during a run until it ends. When off, they go into the running turn."
5354
- },
5355
5568
  {
5356
5569
  category: "agent",
5357
5570
  key: "subagentModels",
@@ -5690,6 +5903,15 @@ const APPROVAL_MODE_OPTIONS = [
5690
5903
  description: "Run every tool call without asking. Typing into a terminal you opened still asks."
5691
5904
  }
5692
5905
  ];
5906
+ const MESSAGE_DELIVERY_OPTIONS = [{
5907
+ value: "steer",
5908
+ label: "Steering",
5909
+ description: "Your message goes into the run. The agent reads it after its current step and changes course."
5910
+ }, {
5911
+ value: "queue",
5912
+ label: "Queuing",
5913
+ description: "Your message waits in a queue. zidane sends it when the run ends."
5914
+ }];
5693
5915
  const DURABILITY_OPTIONS = [
5694
5916
  {
5695
5917
  value: "resume-ask",
@@ -5742,6 +5964,13 @@ const SETTINGS_CHOICES = [
5742
5964
  description: "Keep a checkpoint of each run so it can continue after a crash. Applies to new runs. Unavailable on stores other than SQLite.",
5743
5965
  options: DURABILITY_OPTIONS
5744
5966
  },
5967
+ {
5968
+ category: "agent",
5969
+ key: "messageDelivery",
5970
+ label: "Messages during a run",
5971
+ description: "What happens to a message that you send while the agent works. Alt+Enter sends one message the other way.",
5972
+ options: MESSAGE_DELIVERY_OPTIONS
5973
+ },
5745
5974
  {
5746
5975
  category: "ui",
5747
5976
  key: "openIn",
@@ -7085,7 +7314,7 @@ const ONBOARDING_STEPS = [
7085
7314
  scope: "shared",
7086
7315
  label: "Conversation",
7087
7316
  title: "How much detail do you want to see?",
7088
- lede: "Pick a preset. The preview shows a sample conversation with it."
7317
+ lede: "Pick a preset. The preview shows a sample conversation with it. Then pick what happens to a message that you send while the agent works."
7089
7318
  },
7090
7319
  {
7091
7320
  id: "autonomy",
@@ -7172,7 +7401,7 @@ function featureStepSettings() {
7172
7401
  const ONBOARDING_STEP_SETTINGS = {
7173
7402
  import: ["importForeignConfigs"],
7174
7403
  look: ["theme", "mouseInteractions"],
7175
- conversation: TRANSCRIPT_PRESET_KEYS,
7404
+ conversation: [...TRANSCRIPT_PRESET_KEYS, "messageDelivery"],
7176
7405
  autonomy: [
7177
7406
  "approvalMode",
7178
7407
  "sandbox",
@@ -7933,6 +8162,9 @@ const MCP_STATUS_LABEL = {
7933
8162
  "bootstrap-error": "Couldn't connect",
7934
8163
  "key-refused": "Key refused"
7935
8164
  };
8165
+ function otherDelivery(delivery) {
8166
+ return delivery === "steer" ? "queue" : "steer";
8167
+ }
7936
8168
  function customModelTargets(query, providers, fallbackProviderKey) {
7937
8169
  const { modelId, named } = splitProviderPrefix(query, providers);
7938
8170
  if (!modelId) return [];
@@ -8959,6 +9191,16 @@ const APPROVAL_MODE_TRADEOFFS = {
8959
9191
  prevents: "Nothing. Turn on the sandbox, or work in a folder that you can throw away."
8960
9192
  }
8961
9193
  };
9194
+ const MESSAGE_DELIVERY_TRADEOFFS = {
9195
+ steer: {
9196
+ unlocks: "You correct the agent while it works. It reads your message after its current step.",
9197
+ prevents: "Work in the wrong direction until the run ends."
9198
+ },
9199
+ queue: {
9200
+ unlocks: "You type your next request while the agent works. The current run goes on as you asked.",
9201
+ prevents: "A change of plan in the middle of a step."
9202
+ }
9203
+ };
8962
9204
  const SETTING_TRADEOFFS = {
8963
9205
  sandbox: {
8964
9206
  unlocks: "More freedom for the agent, with less risk to your computer.",
@@ -9152,7 +9394,7 @@ function appendThinkingLines(prev, delta, owner, depth, turnId, options = {}) {
9152
9394
  return result;
9153
9395
  }
9154
9396
  function discardThinking(events, owner, turnId) {
9155
- const kept = events.filter((e) => !(e.kind === "thinking" && e.turnId === turnId && ownerOf(e) === owner));
9397
+ const kept = events.filter((e) => !((e.kind === "thinking" || e.kind === "markdown") && e.turnId === turnId && ownerOf(e) === owner));
9156
9398
  return kept.length === events.length ? events : kept;
9157
9399
  }
9158
9400
  function finalizeStreamingMarkdown(events) {
@@ -11915,7 +12157,7 @@ async function runBlockOnHost(client, sessionId, request, options = {}) {
11915
12157
  }
11916
12158
  }
11917
12159
  export {
11918
- heatmapLevel as $,
12160
+ daysEndingAt as $,
11919
12161
  APPROVAL_MODE_OPTIONS as A,
11920
12162
  ageStep as B,
11921
12163
  fmtTokens as C,
@@ -11928,303 +12170,308 @@ export {
11928
12170
  isFenceClose as J,
11929
12171
  parseFenceOpen as K,
11930
12172
  isShellFence as L,
11931
- nameFromModelId as M,
11932
- hasAnsi as N,
12173
+ MESSAGE_DELIVERY_OPTIONS as M,
12174
+ nameFromModelId as N,
11933
12175
  ONBOARDING_WORDS as O,
11934
- parseAnsi as P,
11935
- scriptProgressView as Q,
12176
+ hasAnsi as P,
12177
+ parseAnsi as Q,
11936
12178
  RUN_WAITING_LABEL as R,
11937
12179
  SYNC_CATEGORY_INFO as S,
11938
- SCRIPT_OUTPUT_TAIL_LINES as T,
11939
- formatRunDuration as U,
11940
- toolInputCode as V,
11941
- summarizeOutcomes as W,
11942
- computeLineDiff as X,
11943
- heatmapThresholds as Y,
11944
- daysEndingAt as Z,
12180
+ scriptProgressView as T,
12181
+ SCRIPT_OUTPUT_TAIL_LINES as U,
12182
+ formatRunDuration as V,
12183
+ toolInputCode as W,
12184
+ summarizeOutcomes as X,
12185
+ computeLineDiff as Y,
12186
+ heatmapThresholds as Z,
11945
12187
  __vitePreload as _,
11946
12188
  parseBindingSpecs as a,
11947
- settingKeywords as a$,
11948
- DIFFS_PANEL_ID as a0,
11949
- FILES_PANEL_ID as a1,
11950
- blockRunKey as a2,
11951
- createOutputTail as a3,
11952
- smoothCharsForTick as a4,
11953
- takeChars as a5,
11954
- scriptProgressByCall as a6,
11955
- isUserBashEvent as a7,
11956
- scriptProgressKey as a8,
11957
- formatToolCall as a9,
11958
- inferPromptRefs as aA,
11959
- titleFromText as aB,
11960
- groupRows as aC,
11961
- estimateViewAt as aD,
11962
- DEFAULT_SPACE_ID as aE,
11963
- resolveSessionSpace as aF,
11964
- isExtensionSpaceId as aG,
11965
- compileQuery as aH,
11966
- renderTemplate as aI,
11967
- readField as aJ,
11968
- validateQuery as aK,
11969
- validateGroupBy as aL,
11970
- validateSort as aM,
11971
- viewQuery as aN,
11972
- SessionQueryError as aO,
11973
- normalizeSpaces as aP,
11974
- activeSpaceOf as aQ,
11975
- sessionDirLabel as aR,
11976
- projectNameOf as aS,
11977
- formatCostLabel as aT,
11978
- rememberableChain as aU,
11979
- QUEUE_PANEL_ID as aV,
11980
- describeTime as aW,
11981
- REMINDERS_PANEL_ID as aX,
11982
- INBOX_PANEL_ID as aY,
11983
- planProgressLabel as aZ,
11984
- modelDisplayName as a_,
11985
- displayNameFor as aa,
11986
- spawnParents as ab,
11987
- summarizeTools as ac,
11988
- planFold as ad,
11989
- noteLabel as ae,
11990
- thoughtLabel as af,
11991
- toolOverview as ag,
11992
- foldSummary as ah,
11993
- foldsInCompactShape as ai,
11994
- nestedCallShown as aj,
11995
- createRunStopMarker as ak,
11996
- authProviderKeys as al,
11997
- sameAuthTarget as am,
11998
- mergeTargetIndex as an,
11999
- finalizeStreamingMarkdown as ao,
12000
- upsertToolProgress as ap,
12001
- ownerOf as aq,
12002
- appendThinkingLines as ar,
12003
- appendMarkdownDelta as as,
12004
- reconcileEvents as at,
12005
- retagUserPromptEventsFromRefs as au,
12006
- finalizeStreamingMarkdownForOwner as av,
12007
- discardThinking as aw,
12008
- parseMachineKind as ax,
12009
- orderByMachine as ay,
12010
- machineBlockedReason as az,
12189
+ modelDisplayName as a$,
12190
+ heatmapLevel as a0,
12191
+ DIFFS_PANEL_ID as a1,
12192
+ FILES_PANEL_ID as a2,
12193
+ blockRunKey as a3,
12194
+ createOutputTail as a4,
12195
+ smoothCharsForTick as a5,
12196
+ takeChars as a6,
12197
+ scriptProgressByCall as a7,
12198
+ isUserBashEvent as a8,
12199
+ scriptProgressKey as a9,
12200
+ machineBlockedReason as aA,
12201
+ inferPromptRefs as aB,
12202
+ titleFromText as aC,
12203
+ groupRows as aD,
12204
+ estimateViewAt as aE,
12205
+ DEFAULT_SPACE_ID as aF,
12206
+ resolveSessionSpace as aG,
12207
+ isExtensionSpaceId as aH,
12208
+ compileQuery as aI,
12209
+ renderTemplate as aJ,
12210
+ readField as aK,
12211
+ validateQuery as aL,
12212
+ validateGroupBy as aM,
12213
+ validateSort as aN,
12214
+ viewQuery as aO,
12215
+ SessionQueryError as aP,
12216
+ normalizeSpaces as aQ,
12217
+ activeSpaceOf as aR,
12218
+ sessionDirLabel as aS,
12219
+ projectNameOf as aT,
12220
+ formatCostLabel as aU,
12221
+ rememberableChain as aV,
12222
+ QUEUE_PANEL_ID as aW,
12223
+ describeTime as aX,
12224
+ REMINDERS_PANEL_ID as aY,
12225
+ INBOX_PANEL_ID as aZ,
12226
+ planProgressLabel as a_,
12227
+ formatToolCall as aa,
12228
+ displayNameFor as ab,
12229
+ spawnParents as ac,
12230
+ summarizeTools as ad,
12231
+ planFold as ae,
12232
+ noteLabel as af,
12233
+ thoughtLabel as ag,
12234
+ toolOverview as ah,
12235
+ foldSummary as ai,
12236
+ foldsInCompactShape as aj,
12237
+ nestedCallShown as ak,
12238
+ createRunStopMarker as al,
12239
+ authProviderKeys as am,
12240
+ sameAuthTarget as an,
12241
+ mergeTargetIndex as ao,
12242
+ finalizeStreamingMarkdown as ap,
12243
+ upsertToolProgress as aq,
12244
+ ownerOf as ar,
12245
+ appendThinkingLines as as,
12246
+ appendMarkdownDelta as at,
12247
+ reconcileEvents as au,
12248
+ retagUserPromptEventsFromRefs as av,
12249
+ finalizeStreamingMarkdownForOwner as aw,
12250
+ discardThinking as ax,
12251
+ parseMachineKind as ay,
12252
+ orderByMachine as az,
12011
12253
  authFailureHeadline as b,
12012
- planAttachment as b$,
12013
- toggleApplies as b0,
12014
- requirementMet as b1,
12015
- toggleHeldOn as b2,
12016
- bindingAlternatives as b3,
12017
- nativeExtensionByName as b4,
12018
- extensionMark as b5,
12019
- NATIVE_EXTENSIONS as b6,
12020
- DEFAULT_EXTENSION_SOURCE_UNREACHABLE as b7,
12021
- skillCategory as b8,
12022
- skillPickOf as b9,
12023
- chainAccountConflict as bA,
12024
- positionKeyed as bB,
12025
- toggleKeyed as bC,
12026
- reorderKeyed as bD,
12027
- cacheHintText as bE,
12028
- CACHE_HINT_MIN_TOKENS as bF,
12029
- formatModelSetting as bG,
12030
- parseModelSetting as bH,
12031
- DEFAULT_MODEL_PICK as bI,
12032
- isRunEstimated as bJ,
12033
- estimateReadout as bK,
12034
- formatEstimate as bL,
12035
- previewLine as bM,
12036
- spawnStartParts as bN,
12037
- runStatusKey as bO,
12038
- runFoldStatus as bP,
12039
- RUN_STATUS_TIME_MS as bQ,
12040
- formatElapsed as bR,
12041
- CONTINUE_PROMPT as bS,
12042
- authPrimaryAction as bT,
12043
- authOffersSignInFallback as bU,
12044
- SESSION_EVENT_STATUS_STYLE as bV,
12045
- sessionEventMeta as bW,
12046
- sessionEventExcerpt as bX,
12047
- shortSessionId as bY,
12048
- describeSpawnEnd as bZ,
12049
- ATTACHMENT_SNIFF_BYTES as b_,
12050
- RECOMMENDED_SKILL_SOURCES as ba,
12051
- githubPreviewImageUrl as bb,
12052
- githubAvatarUrl as bc,
12053
- DEFAULT_EXTENSION_SOURCE as bd,
12054
- skillTokenWeights as be,
12055
- formatTokens as bf,
12056
- instructionPreviewLines as bg,
12057
- instructionOriginBadge as bh,
12058
- filterLogRecords as bi,
12059
- formatLogLine as bj,
12060
- LOG_LEVEL_CYCLE as bk,
12061
- groupSkillPicks as bl,
12062
- enabledMcpsWith as bm,
12063
- MCP_KEY_REFUSED_HINT as bn,
12064
- MCP_STATUS_LABEL as bo,
12065
- MCP_TRANSPORTS as bp,
12066
- CONNECTORS as bq,
12067
- connectorInstalled as br,
12068
- ageString as bs,
12069
- validateMcpForm as bt,
12070
- DEFAULT_OAUTH_ACCOUNT_LABEL as bu,
12071
- providerBrand as bv,
12072
- currentModelKeys as bw,
12073
- customModelTargets as bx,
12074
- modelPickKey as by,
12075
- pickPrimaryKeyed as bz,
12254
+ ATTACHMENT_SNIFF_BYTES as b$,
12255
+ settingKeywords as b0,
12256
+ toggleApplies as b1,
12257
+ requirementMet as b2,
12258
+ toggleHeldOn as b3,
12259
+ bindingAlternatives as b4,
12260
+ nativeExtensionByName as b5,
12261
+ extensionMark as b6,
12262
+ NATIVE_EXTENSIONS as b7,
12263
+ DEFAULT_EXTENSION_SOURCE_UNREACHABLE as b8,
12264
+ skillCategory as b9,
12265
+ pickPrimaryKeyed as bA,
12266
+ chainAccountConflict as bB,
12267
+ positionKeyed as bC,
12268
+ toggleKeyed as bD,
12269
+ reorderKeyed as bE,
12270
+ cacheHintText as bF,
12271
+ CACHE_HINT_MIN_TOKENS as bG,
12272
+ formatModelSetting as bH,
12273
+ parseModelSetting as bI,
12274
+ DEFAULT_MODEL_PICK as bJ,
12275
+ isRunEstimated as bK,
12276
+ estimateReadout as bL,
12277
+ formatEstimate as bM,
12278
+ previewLine as bN,
12279
+ spawnStartParts as bO,
12280
+ runStatusKey as bP,
12281
+ runFoldStatus as bQ,
12282
+ RUN_STATUS_TIME_MS as bR,
12283
+ formatElapsed as bS,
12284
+ CONTINUE_PROMPT as bT,
12285
+ authPrimaryAction as bU,
12286
+ authOffersSignInFallback as bV,
12287
+ SESSION_EVENT_STATUS_STYLE as bW,
12288
+ sessionEventMeta as bX,
12289
+ sessionEventExcerpt as bY,
12290
+ shortSessionId as bZ,
12291
+ describeSpawnEnd as b_,
12292
+ skillPickOf as ba,
12293
+ RECOMMENDED_SKILL_SOURCES as bb,
12294
+ githubPreviewImageUrl as bc,
12295
+ githubAvatarUrl as bd,
12296
+ DEFAULT_EXTENSION_SOURCE as be,
12297
+ skillTokenWeights as bf,
12298
+ formatTokens as bg,
12299
+ instructionPreviewLines as bh,
12300
+ instructionOriginBadge as bi,
12301
+ filterLogRecords as bj,
12302
+ formatLogLine as bk,
12303
+ LOG_LEVEL_CYCLE as bl,
12304
+ groupSkillPicks as bm,
12305
+ enabledMcpsWith as bn,
12306
+ MCP_KEY_REFUSED_HINT as bo,
12307
+ MCP_STATUS_LABEL as bp,
12308
+ MCP_TRANSPORTS as bq,
12309
+ CONNECTORS as br,
12310
+ connectorInstalled as bs,
12311
+ ageString as bt,
12312
+ validateMcpForm as bu,
12313
+ DEFAULT_OAUTH_ACCOUNT_LABEL as bv,
12314
+ providerBrand as bw,
12315
+ currentModelKeys as bx,
12316
+ customModelTargets as by,
12317
+ modelPickKey as bz,
12076
12318
  canonicalKeyName as c,
12077
- SECRET_TTLS as c$,
12078
- formatBytes as c0,
12079
- MAX_IMAGE_ATTACHMENT_BYTES as c1,
12080
- formatCostUsd as c2,
12081
- formatTokenCount as c3,
12082
- formatRunReceiptCells as c4,
12083
- RUN_RECEIPT_SWITCH_GLYPH as c5,
12084
- RUN_RECEIPT_TURN_GLYPH as c6,
12085
- shellBlockPlan as c7,
12086
- blockTerminalInput as c8,
12087
- stripAnsi as c9,
12088
- streamRateValue as cA,
12089
- parseWhen as cB,
12090
- scheduleTargetSession as cC,
12091
- retryLabel as cD,
12092
- parseRepoInput as cE,
12093
- LOCAL_HOST_KEY as cF,
12094
- defaultSessionModel as cG,
12095
- defaultSessionKnobs as cH,
12096
- defaultSessionAgent as cI,
12097
- MACHINE_LINK_STATE_TEXT as cJ,
12098
- DAEMON_HEALTH_STYLE as cK,
12099
- isValidMachineName as cL,
12100
- machineSetupCommand as cM,
12101
- clockText as cN,
12102
- machineVersionDiffers as cO,
12103
- clockOrDateText as cP,
12104
- lastSeenText as cQ,
12105
- HOST_TOOLS as cR,
12106
- capabilityTags as cS,
12107
- hasTool as cT,
12108
- syncAgo as cU,
12109
- SYNC_MODES as cV,
12110
- SYNC_CATEGORIES as cW,
12111
- syncMarkerOf as cX,
12112
- settingField as cY,
12113
- panelBadgeText as cZ,
12114
- TERMINAL_PANEL_ID as c_,
12115
- isCacheNotice as ca,
12116
- gatherCommandNotes as cb,
12117
- turnSelectionOwnership as cc,
12118
- runTailActivity as cd,
12119
- transcriptPresetOf as ce,
12120
- transcriptPreset as cf,
12121
- TRANSCRIPT_PRESETS as cg,
12122
- ONBOARDING_PREVIEW_EVENTS as ch,
12123
- autoTextModelId as ci,
12124
- newSpaceId as cj,
12125
- sessionBadgeTarget as ck,
12126
- highlightSegments as cl,
12127
- searchHighlightRanges as cm,
12128
- sortRows as cn,
12129
- blendHsl as co,
12130
- activeSnapshotFor as cp,
12131
- mostConstrainedWindow as cq,
12132
- usageTone as cr,
12133
- formatUsagePercent as cs,
12134
- resetLabel as ct,
12135
- compactingParts as cu,
12136
- chainsEqualKeyed as cv,
12137
- accentColor as cw,
12138
- parseSessionKey as cx,
12139
- EMPTY_RATE as cy,
12140
- stepStreamRate as cz,
12319
+ syncMarkerOf as c$,
12320
+ planAttachment as c0,
12321
+ MAX_FILE_ATTACHMENT_BYTES as c1,
12322
+ formatBytes as c2,
12323
+ MAX_IMAGE_ATTACHMENT_BYTES as c3,
12324
+ formatCostUsd as c4,
12325
+ formatTokenCount as c5,
12326
+ formatRunReceiptCells as c6,
12327
+ RUN_RECEIPT_SWITCH_GLYPH as c7,
12328
+ RUN_RECEIPT_TURN_GLYPH as c8,
12329
+ shellBlockPlan as c9,
12330
+ parseSessionKey as cA,
12331
+ EMPTY_RATE as cB,
12332
+ stepStreamRate as cC,
12333
+ streamRateValue as cD,
12334
+ parseWhen as cE,
12335
+ scheduleTargetSession as cF,
12336
+ retryLabel as cG,
12337
+ parseRepoInput as cH,
12338
+ LOCAL_HOST_KEY as cI,
12339
+ defaultSessionModel as cJ,
12340
+ defaultSessionKnobs as cK,
12341
+ defaultSessionAgent as cL,
12342
+ MACHINE_LINK_STATE_TEXT as cM,
12343
+ DAEMON_HEALTH_STYLE as cN,
12344
+ isValidMachineName as cO,
12345
+ machineSetupCommand as cP,
12346
+ clockText as cQ,
12347
+ machineVersionDiffers as cR,
12348
+ clockOrDateText as cS,
12349
+ lastSeenText as cT,
12350
+ HOST_TOOLS as cU,
12351
+ capabilityTags as cV,
12352
+ toolInstall as cW,
12353
+ hasTool as cX,
12354
+ syncAgo as cY,
12355
+ SYNC_MODES as cZ,
12356
+ SYNC_CATEGORIES as c_,
12357
+ blockTerminalInput as ca,
12358
+ stripAnsi as cb,
12359
+ isCacheNotice as cc,
12360
+ gatherCommandNotes as cd,
12361
+ turnSelectionOwnership as ce,
12362
+ runTailActivity as cf,
12363
+ transcriptPresetOf as cg,
12364
+ transcriptPreset as ch,
12365
+ TRANSCRIPT_PRESETS as ci,
12366
+ ONBOARDING_PREVIEW_EVENTS as cj,
12367
+ autoTextModelId as ck,
12368
+ newSpaceId as cl,
12369
+ sessionBadgeTarget as cm,
12370
+ highlightSegments as cn,
12371
+ searchHighlightRanges as co,
12372
+ sortRows as cp,
12373
+ blendHsl as cq,
12374
+ activeSnapshotFor as cr,
12375
+ mostConstrainedWindow as cs,
12376
+ usageTone as ct,
12377
+ formatUsagePercent as cu,
12378
+ resetLabel as cv,
12379
+ compactingParts as cw,
12380
+ otherDelivery as cx,
12381
+ chainsEqualKeyed as cy,
12382
+ accentColor as cz,
12141
12383
  SYNC_MODE_LABEL as d,
12142
- transcriptPresetNotice as d$,
12143
- DEFAULT_SECRET_TTL as d0,
12144
- isSecretAnswer as d1,
12145
- isSecretReference as d2,
12146
- tidyPromptText as d3,
12147
- splitPromptSegments as d4,
12148
- SECRETS_PANEL_ID as d5,
12149
- turnAsText as d6,
12150
- modePrefixLength as d7,
12151
- sliceEnd as d8,
12152
- OutputHistory as d9,
12153
- APPROVAL_MODE_TRADEOFFS as dA,
12154
- SETTING_TRADEOFFS as dB,
12155
- connectorsFromImport as dC,
12156
- connectorInputError as dD,
12157
- CONNECTOR_CATEGORIES as dE,
12158
- connectorAuthText as dF,
12159
- NATIVE_EXTENSION_GROUPS as dG,
12160
- nativeExtensionNeedText as dH,
12161
- onboardingFeatures as dI,
12162
- ONBOARDING_FEATURE_GROUPS as dJ,
12163
- defaultImportSelection as dK,
12164
- ONBOARDING_AGENT_BRANDS as dL,
12165
- onboardingSwitchedFeatures as dM,
12166
- onboardingImportParts as dN,
12167
- mergeSuggestions as dO,
12168
- createCommandsCompletionProvider as dP,
12169
- createFilesCompletionProvider as dQ,
12170
- createChatsCompletionProvider as dR,
12171
- patchInlineGhost as dS,
12172
- createSkillsCompletionProvider as dT,
12173
- uniqueSkillNamesFromReferences as dU,
12174
- buildUnifiedDiff as dV,
12175
- rankPaletteItems as dW,
12176
- groupPaletteRows as dX,
12177
- TRANSCRIPT_PRESET_PALETTE_ID as dY,
12178
- transcriptPresetPalettePicker as dZ,
12179
- transcriptPresetOfPaletteItem as d_,
12180
- TERMINAL_HISTORY_MAX_CHARS as da,
12181
- TERMINAL_VIEW_MAX_LINES as db,
12182
- TERMINAL_VIEW_SCROLLBACK as dc,
12183
- moveTab as dd,
12184
- SESSION_SCOPE as de,
12185
- planProgress as df,
12186
- buildStepRetryMessage as dg,
12187
- buildPlanResumeMessage as dh,
12188
- isSecretName as di,
12189
- scheduleLabel as dj,
12190
- describeTrigger as dk,
12191
- formatCount as dl,
12192
- editableTurnText as dm,
12193
- updatedLabel as dn,
12194
- showsAccount as dp,
12195
- formatBalance as dq,
12196
- usageBlockView as dr,
12197
- usageBlockContent as ds,
12198
- settingsSidebar as dt,
12199
- settingsSearchIndex as du,
12200
- isolationLabel as dv,
12201
- LOCAL_SERVER_BRANDS as dw,
12202
- connectorById as dx,
12203
- onboardingFeatureCopy as dy,
12204
- SETTINGS_CHOICES as dz,
12384
+ rankPaletteItems as d$,
12385
+ settingField as d0,
12386
+ panelBadgeText as d1,
12387
+ TERMINAL_PANEL_ID as d2,
12388
+ SECRET_TTLS as d3,
12389
+ DEFAULT_SECRET_TTL as d4,
12390
+ isSecretAnswer as d5,
12391
+ isSecretReference as d6,
12392
+ tidyPromptText as d7,
12393
+ splitPromptSegments as d8,
12394
+ SECRETS_PANEL_ID as d9,
12395
+ LOCAL_SERVER_BRANDS as dA,
12396
+ connectorById as dB,
12397
+ onboardingFeatureCopy as dC,
12398
+ SETTINGS_CHOICES as dD,
12399
+ APPROVAL_MODE_TRADEOFFS as dE,
12400
+ SETTING_TRADEOFFS as dF,
12401
+ connectorsFromImport as dG,
12402
+ connectorInputError as dH,
12403
+ CONNECTOR_CATEGORIES as dI,
12404
+ connectorAuthText as dJ,
12405
+ MESSAGE_DELIVERY_TRADEOFFS as dK,
12406
+ NATIVE_EXTENSION_GROUPS as dL,
12407
+ nativeExtensionNeedText as dM,
12408
+ onboardingFeatures as dN,
12409
+ ONBOARDING_FEATURE_GROUPS as dO,
12410
+ defaultImportSelection as dP,
12411
+ ONBOARDING_AGENT_BRANDS as dQ,
12412
+ onboardingSwitchedFeatures as dR,
12413
+ onboardingImportParts as dS,
12414
+ mergeSuggestions as dT,
12415
+ createCommandsCompletionProvider as dU,
12416
+ createFilesCompletionProvider as dV,
12417
+ createChatsCompletionProvider as dW,
12418
+ patchInlineGhost as dX,
12419
+ createSkillsCompletionProvider as dY,
12420
+ uniqueSkillNamesFromReferences as dZ,
12421
+ buildUnifiedDiff as d_,
12422
+ turnAsText as da,
12423
+ modePrefixLength as db,
12424
+ sliceEnd as dc,
12425
+ OutputHistory as dd,
12426
+ TERMINAL_HISTORY_MAX_CHARS as de,
12427
+ TERMINAL_VIEW_MAX_LINES as df,
12428
+ TERMINAL_VIEW_SCROLLBACK as dg,
12429
+ moveTab as dh,
12430
+ SESSION_SCOPE as di,
12431
+ planProgress as dj,
12432
+ buildStepRetryMessage as dk,
12433
+ buildPlanResumeMessage as dl,
12434
+ isSecretName as dm,
12435
+ scheduleLabel as dn,
12436
+ describeTrigger as dp,
12437
+ formatCount as dq,
12438
+ editableTurnText as dr,
12439
+ updatedLabel as ds,
12440
+ showsAccount as dt,
12441
+ formatBalance as du,
12442
+ usageBlockView as dv,
12443
+ usageBlockContent as dw,
12444
+ settingsSidebar as dx,
12445
+ settingsSearchIndex as dy,
12446
+ isolationLabel as dz,
12205
12447
  createOnboardingRun as e,
12206
- transcriptPresetPaletteItem as e0,
12207
- spaceOfSwitchItem as e1,
12208
- spaceSwitchItems as e2,
12209
- SETUP_PALETTE_ITEM as e3,
12210
- sessionKey as e4,
12211
- LOCAL_HOST_NAME as e5,
12212
- ARTIFACT_BADGES_MAX as e6,
12213
- spacesEnabled as e7,
12214
- ARTIFACTS_PANEL_ID as e8,
12215
- buildPanelCatalog as e9,
12216
- MEDIA_BY_EXTENSION as ea,
12217
- USAGE_BLOCK_ID as eb,
12218
- nativeExtensionSource as ec,
12219
- connectorServerConfig as ed,
12220
- machineWaiting as ee,
12221
- SIDE_PANEL_ID as ef,
12222
- normalizeBrowserUrl as eg,
12223
- BROWSER_PANEL_ID as eh,
12224
- decisionsEnabled as ei,
12225
- countNeighbors as ej,
12226
- selectableTurnIds as ek,
12227
- runBlockOnHost as el,
12448
+ groupPaletteRows as e0,
12449
+ TRANSCRIPT_PRESET_PALETTE_ID as e1,
12450
+ transcriptPresetPalettePicker as e2,
12451
+ transcriptPresetOfPaletteItem as e3,
12452
+ transcriptPresetNotice as e4,
12453
+ transcriptPresetPaletteItem as e5,
12454
+ spaceOfSwitchItem as e6,
12455
+ spaceSwitchItems as e7,
12456
+ SETUP_PALETTE_ITEM as e8,
12457
+ sessionKey as e9,
12458
+ LOCAL_HOST_NAME as ea,
12459
+ ARTIFACT_BADGES_MAX as eb,
12460
+ spacesEnabled as ec,
12461
+ ARTIFACTS_PANEL_ID as ed,
12462
+ buildPanelCatalog as ee,
12463
+ MEDIA_BY_EXTENSION as ef,
12464
+ USAGE_BLOCK_ID as eg,
12465
+ nativeExtensionSource as eh,
12466
+ connectorServerConfig as ei,
12467
+ machineWaiting as ej,
12468
+ SIDE_PANEL_ID as ek,
12469
+ normalizeBrowserUrl as el,
12470
+ BROWSER_PANEL_ID as em,
12471
+ decisionsEnabled as en,
12472
+ countNeighbors as eo,
12473
+ selectableTurnIds as ep,
12474
+ runBlockOnHost as eq,
12228
12475
  ONBOARDING_STEPS as f,
12229
12476
  canSkipOnboardingStep as g,
12230
12477
  currentOnboardingStep as h,
@@ -12242,8 +12489,8 @@ export {
12242
12489
  cycleTab as t,
12243
12490
  closePanel as u,
12244
12491
  togglePanel as v,
12245
- mergeBadgeMenu as w,
12246
- builtinBadgeActions as x,
12492
+ builtinBadgeActions as w,
12493
+ mergeBadgeMenu as x,
12247
12494
  builtinBadgeEffect as y,
12248
12495
  isBadgeColor as z
12249
12496
  };