zidane-gui 9.1.6 → 9.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/main/index.js +398 -55
- package/out/preload/index.mjs +7 -5
- package/out/renderer/assets/{43YPWK3Q-z5jpEo82.js → 43YPWK3Q-BVJpf1u1.js} +6 -6
- package/out/renderer/assets/{45MVAN6X-GiMurZcH.js → 45MVAN6X-BWuIeWOc.js} +5 -5
- package/out/renderer/assets/{46GJKBLZ-BK9JvL-z.js → 46GJKBLZ-41BAHmt4.js} +10 -10
- package/out/renderer/assets/{63WH7YNF-oZNJFk32.js → 63WH7YNF-DuatnhlB.js} +8 -8
- package/out/renderer/assets/{6DDU7VKX-Q8ape99y.js → 6DDU7VKX-BAI-vKC1.js} +6 -6
- package/out/renderer/assets/{CLQLV5VT-1CokruIk.js → CLQLV5VT-CmHu2HE3.js} +6 -6
- package/out/renderer/assets/{CUSPXG5M-CXI47Yx3.js → CUSPXG5M-DE3uzfbs.js} +6 -6
- package/out/renderer/assets/{CodeEditor-D8TMSvb4.js → CodeEditor-CIwCP1F_.js} +3 -3
- package/out/renderer/assets/{ComposerEditor-MwH3w7kQ.js → ComposerEditor-leA8S_Yk.js} +2 -2
- package/out/renderer/assets/{D3L7O4X2-CZlDY3Xj.js → D3L7O4X2-BZ4caDcX.js} +4 -4
- package/out/renderer/assets/{D5TW5CPZ-C04jssFu.js → D5TW5CPZ-BXdKc68h.js} +1 -1
- package/out/renderer/assets/{DiffsTab-CD4Z6LsX.js → DiffsTab-CyRIVfQk.js} +5 -5
- package/out/renderer/assets/{EGADTWYV-C6IiGlh0.js → EGADTWYV-Bf6Kicdv.js} +5 -5
- package/out/renderer/assets/{EOJSJZXM-Bw1Qp21K.js → EOJSJZXM-NAa-K4U0.js} +8 -8
- package/out/renderer/assets/{EditorWorkers-D0xeQ5Kf.js → EditorWorkers-CY0St-9O.js} +4 -4
- package/out/renderer/assets/{FilesTab-Pp8_PSfd.js → FilesTab-CnRw0KCN.js} +111 -17
- package/out/renderer/assets/{G2OEIG6X-foim2Z_m.js → G2OEIG6X-BarwxCkp.js} +5 -5
- package/out/renderer/assets/{GXJ2T77W-FIOAlHlR.js → GXJ2T77W-CyQVHlsG.js} +6 -6
- package/out/renderer/assets/{HX3UMAK7-COan20yP.js → HX3UMAK7-BcoG4mYG.js} +5 -5
- package/out/renderer/assets/{IU7WZTP6-DeXscWir.js → IU7WZTP6-kOLrUSwF.js} +1 -1
- package/out/renderer/assets/{J5J2NR2G-B7up1iuZ.js → J5J2NR2G-DE-SGCIz.js} +4 -4
- package/out/renderer/assets/{JRCWTJEL-M4z7DV1k.js → JRCWTJEL-DZY5HKk0.js} +3 -3
- package/out/renderer/assets/{KHUP5TOH-0CDf31VX.js → KHUP5TOH-DevvG2jY.js} +1 -1
- package/out/renderer/assets/{L74FQTH5-xlC3E1u8.js → L74FQTH5-CnOj-zIY.js} +4 -4
- package/out/renderer/assets/{LAV4ZXOS-CWOm214F.js → LAV4ZXOS-BATWssHi.js} +6 -6
- package/out/renderer/assets/{LBIZYCRR-BRMO_zpo.js → LBIZYCRR-BXTsyX1O.js} +7 -7
- package/out/renderer/assets/{LFFXNLRS-CQDwxn8S.js → LFFXNLRS-BpnXEoXM.js} +3 -3
- package/out/renderer/assets/{LLLWOAQD-NLayfyRk.js → LLLWOAQD-BjLHR3Pk.js} +1 -1
- package/out/renderer/assets/{LTYQZ5U5-CfgFK_8S.js → LTYQZ5U5-CDOIyknV.js} +8 -8
- package/out/renderer/assets/{NDSCUZ25-CRhHG4rp.js → NDSCUZ25-Bl1idg0d.js} +2 -2
- package/out/renderer/assets/{NMN3IKWL-pNFku5nG.js → NMN3IKWL-BYE2yrn3.js} +9 -9
- package/out/renderer/assets/{NMUA3R2D-D5EpYecE.js → NMUA3R2D-Xl410xeQ.js} +7 -7
- package/out/renderer/assets/{NY5A6PPW-BFqrOF96.js → NY5A6PPW-CkzCXBsB.js} +3 -3
- package/out/renderer/assets/{OHJ2EJXK-DUXRo20H.js → OHJ2EJXK-DCVoLmOH.js} +1 -1
- package/out/renderer/assets/{OU2GIT2H-RERREQg4.js → OU2GIT2H-DG4LbVmY.js} +4 -4
- package/out/renderer/assets/{PDMLSE6I-B6VLJpYF.js → PDMLSE6I-Cr8MjczD.js} +2 -2
- package/out/renderer/assets/{PJ7X32S5-CiX4IRfi.js → PJ7X32S5-DFZu5Xsj.js} +5 -5
- package/out/renderer/assets/{RLLQ44NJ-DI-w7C3g.js → RLLQ44NJ-D-LvBssh.js} +7 -7
- package/out/renderer/assets/{S6DWMCK5-BFYfpKyU.js → S6DWMCK5-BQEAXG2z.js} +8 -8
- package/out/renderer/assets/{STIOTUT7-BsXqNDoB.js → STIOTUT7-jszPNHGr.js} +6 -6
- package/out/renderer/assets/{SXSLPWUD-DsiZBZ2L.js → SXSLPWUD-CEMEDuKR.js} +2 -2
- package/out/renderer/assets/{TR4WJQGX-DdGw5EgP.js → TR4WJQGX-8wGWCKKm.js} +1 -1
- package/out/renderer/assets/{UWRPUF3N-B9f5cVuf.js → UWRPUF3N-ONJaPLUk.js} +1 -1
- package/out/renderer/assets/{VSWIZJ7B-B67GWWkR.js → VSWIZJ7B-DbkRTlJD.js} +1 -1
- package/out/renderer/assets/{WM7NR6YK-BjDcbecJ.js → WM7NR6YK-CFy2rge0.js} +4 -4
- package/out/renderer/assets/{WXKV2YEK-DkO54WUi.js → WXKV2YEK-BFHYSpQF.js} +3 -3
- package/out/renderer/assets/{XLHPVVFU-CgBgWtsm.js → XLHPVVFU-BJFPh1Rn.js} +1 -1
- package/out/renderer/assets/{YNX532HU-GZs01vUI.js → YNX532HU-3QqofRh5.js} +5 -5
- package/out/renderer/assets/{YUPSMAUO-3HW0N7cY.js → YUPSMAUO-COLbQro8.js} +1 -1
- package/out/renderer/assets/{ZFRCZTLK-Bv3j48XJ.js → ZFRCZTLK-BuPbgRNC.js} +6 -6
- package/out/renderer/assets/{ZZDR4CN3-bxop59us.js → ZZDR4CN3-Do4onAxu.js} +4 -4
- package/out/renderer/assets/{core-DUTJyMGZ.js → core-T80gwwf3.js} +591 -344
- package/out/renderer/assets/{file-tabs-CDruoNmZ.js → file-tabs-DWQZlQfx.js} +5 -5
- package/out/renderer/assets/{ghostty-web-CtIJ7i7e.js → ghostty-web-DXNGAB4P.js} +1 -1
- package/out/renderer/assets/{highlights-26TXpsMP.js → highlights-B0vcJ7-n.js} +2 -2
- package/out/renderer/assets/{highlights-Bmhv1Dz1.js → highlights-Yvd7kpJw.js} +3 -3
- package/out/renderer/assets/{index-CpGbxp8B.js → index-BbyDWT39.js} +227 -250
- package/out/renderer/assets/{index-B5DcyIyT.css → index-CsOxRbAw.css} +146 -19
- package/out/renderer/assets/{kit-u_PHwNWF.js → kit-DgkO1_s6.js} +2354 -1186
- package/out/renderer/assets/{langs-DQ-AW7Q8.js → langs-7bXaMxtL.js} +1 -1
- package/out/renderer/assets/{lazy-xGoFzwfG.js → lazy-DE7xn_YD.js} +3 -3
- package/out/renderer/assets/{loader-BwgXVB75.js → loader-CdKsI-e2.js} +1 -1
- package/out/renderer/assets/{pierre-theme-CwuG23St.js → pierre-theme-BouAfjrk.js} +7 -7
- package/out/renderer/assets/{shiki-DCldjjSl.js → shiki-CIKuDsHH.js} +3 -3
- package/out/renderer/assets/{stream-tokenizer-BJjKxfTj.js → stream-tokenizer-JLLsdqkH.js} +1 -1
- package/out/renderer/assets/{themes-Bt8pRd53.js → themes-mM7Qtyxf.js} +2 -2
- package/out/renderer/assets/{useDetachCleanup-hiha0T2M.js → useDetachCleanup-1PVBQ1U4.js} +2 -2
- package/out/renderer/assets/{useFolderChanges-AOk0dbsA.js → useFolderChanges-_vflCTEj.js} +3 -3
- package/out/renderer/index.html +4 -4
- package/package.json +2 -2
- 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
|
|
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
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
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")
|
|
2335
|
+
if (pending === "loopBody") push({
|
|
2263
2336
|
close: "stmt",
|
|
2264
2337
|
repeats: true
|
|
2265
|
-
});
|
|
2266
|
-
else if (pending === "arrowBody")
|
|
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 =
|
|
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))
|
|
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
|
|
2367
|
+
const text = masked.slice(i, j);
|
|
2368
|
+
const doTail = afterDo && text === "while";
|
|
2369
|
+
afterDo = false;
|
|
2293
2370
|
openBody();
|
|
2294
|
-
if (
|
|
2295
|
-
if (
|
|
2296
|
-
else if (
|
|
2297
|
-
|
|
2298
|
-
|
|
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
|
-
|
|
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")
|
|
2334
|
-
|
|
2335
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5382
|
+
messageDelivery: [
|
|
5167
5383
|
"queue",
|
|
5384
|
+
"queuing",
|
|
5385
|
+
"steer",
|
|
5386
|
+
"steering",
|
|
5168
5387
|
"send while running",
|
|
5169
|
-
"
|
|
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
|
-
|
|
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
|
-
|
|
11932
|
-
|
|
12173
|
+
MESSAGE_DELIVERY_OPTIONS as M,
|
|
12174
|
+
nameFromModelId as N,
|
|
11933
12175
|
ONBOARDING_WORDS as O,
|
|
11934
|
-
|
|
11935
|
-
|
|
12176
|
+
hasAnsi as P,
|
|
12177
|
+
parseAnsi as Q,
|
|
11936
12178
|
RUN_WAITING_LABEL as R,
|
|
11937
12179
|
SYNC_CATEGORY_INFO as S,
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
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
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
|
|
11963
|
-
|
|
11964
|
-
|
|
11965
|
-
|
|
11966
|
-
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
11993
|
-
|
|
11994
|
-
|
|
11995
|
-
|
|
11996
|
-
|
|
11997
|
-
|
|
11998
|
-
|
|
11999
|
-
|
|
12000
|
-
|
|
12001
|
-
|
|
12002
|
-
|
|
12003
|
-
|
|
12004
|
-
|
|
12005
|
-
|
|
12006
|
-
|
|
12007
|
-
|
|
12008
|
-
|
|
12009
|
-
|
|
12010
|
-
|
|
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
|
-
|
|
12013
|
-
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
12020
|
-
|
|
12021
|
-
|
|
12022
|
-
|
|
12023
|
-
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
|
|
12034
|
-
|
|
12035
|
-
|
|
12036
|
-
|
|
12037
|
-
|
|
12038
|
-
|
|
12039
|
-
|
|
12040
|
-
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
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
|
-
|
|
12078
|
-
|
|
12079
|
-
|
|
12080
|
-
|
|
12081
|
-
|
|
12082
|
-
|
|
12083
|
-
|
|
12084
|
-
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
|
|
12088
|
-
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
|
|
12107
|
-
|
|
12108
|
-
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
|
|
12116
|
-
|
|
12117
|
-
|
|
12118
|
-
|
|
12119
|
-
|
|
12120
|
-
|
|
12121
|
-
|
|
12122
|
-
|
|
12123
|
-
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12127
|
-
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12131
|
-
|
|
12132
|
-
|
|
12133
|
-
|
|
12134
|
-
|
|
12135
|
-
|
|
12136
|
-
|
|
12137
|
-
|
|
12138
|
-
|
|
12139
|
-
|
|
12140
|
-
|
|
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
|
-
|
|
12143
|
-
|
|
12144
|
-
|
|
12145
|
-
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
|
|
12152
|
-
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
12162
|
-
|
|
12163
|
-
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
|
|
12189
|
-
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
|
|
12197
|
-
|
|
12198
|
-
|
|
12199
|
-
|
|
12200
|
-
|
|
12201
|
-
|
|
12202
|
-
|
|
12203
|
-
|
|
12204
|
-
|
|
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
|
-
|
|
12207
|
-
|
|
12208
|
-
|
|
12209
|
-
|
|
12210
|
-
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
|
|
12214
|
-
|
|
12215
|
-
|
|
12216
|
-
|
|
12217
|
-
|
|
12218
|
-
|
|
12219
|
-
|
|
12220
|
-
|
|
12221
|
-
|
|
12222
|
-
|
|
12223
|
-
|
|
12224
|
-
|
|
12225
|
-
|
|
12226
|
-
|
|
12227
|
-
|
|
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
|
-
|
|
12246
|
-
|
|
12492
|
+
builtinBadgeActions as w,
|
|
12493
|
+
mergeBadgeMenu as x,
|
|
12247
12494
|
builtinBadgeEffect as y,
|
|
12248
12495
|
isBadgeColor as z
|
|
12249
12496
|
};
|