@adecore/agents-react 0.65.2 → 0.66.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat/activity.d.ts +5 -2
- package/dist/chat/activity.js +13 -2
- package/dist/chat/logic/bookmarks.d.ts +3 -2
- package/dist/chat/logic/continue-after-stop.d.ts +2 -2
- package/dist/chat/logic/fork.d.ts +7 -6
- package/dist/chat/logic/goal.d.ts +8 -3
- package/dist/chat/logic/goal.js +7 -1
- package/dist/chat/logic/handback.d.ts +2 -2
- package/dist/chat/logic/limit.d.ts +2 -2
- package/dist/chat/logic/limit.js +8 -0
- package/dist/chat/logic/resume-compaction.d.ts +4 -3
- package/dist/chat/logic/scrubber.d.ts +3 -2
- package/dist/chat/logic/timeline-target.d.ts +4 -3
- package/dist/chat/logic/timeline.d.ts +5 -4
- package/dist/chat/logic/timeline.js +9 -0
- package/dist/chat/recent-messages.d.ts +3 -3
- package/dist/chat/runtime-modes.d.ts +2 -1
- package/dist/chat/runtime-modes.js +5 -1
- package/dist/chat/subagent-conversation.d.ts +5 -4
- package/dist/chat/subagent-conversation.js +3 -2
- package/dist/chat/subagent-list.d.ts +4 -3
- package/dist/chat/subagent-view.d.ts +4 -3
- package/dist/chat/ui/ChatActivity.js +19 -15
- package/dist/chat/ui/Composer.d.ts +3 -2
- package/dist/chat/ui/GoalDock.d.ts +3 -2
- package/dist/chat/ui/GoalDock.js +19 -28
- package/dist/chat/ui/LimitState.d.ts +2 -2
- package/dist/chat/ui/RunSettings.d.ts +3 -2
- package/dist/chat/ui/RunSettings.js +318 -298
- package/dist/chat/ui/composer/ComposerControls.d.ts +2 -2
- package/dist/chat/ui/composer/use-chat-controls.d.ts +3 -2
- package/dist/chat/ui/composer/use-compaction-offer.d.ts +3 -2
- package/dist/chat/ui/composer/use-composer-menus.d.ts +3 -2
- package/dist/chat/ui/composer/use-continuable-turn.d.ts +2 -2
- package/dist/chat/ui/composer/use-effort-stepper.d.ts +3 -2
- package/dist/chat/ui/reply-context.d.ts +2 -2
- package/dist/chat/ui/rows/MessageRows.d.ts +4 -0
- package/dist/chat/ui/rows/MessageRows.js +61 -1
- package/dist/chat/ui/rows/Rows.js +42 -26
- package/dist/chat/ui/rows/SubagentRow.d.ts +3 -2
- package/dist/chat/ui/rows/WorkRows.d.ts +3 -2
- package/dist/chat/waiting-on.d.ts +5 -4
- package/dist/chat/waiting-on.js +2 -1
- package/dist/chat/workflow-list.d.ts +3 -2
- package/dist/chat-client.d.ts +2 -1
- package/dist/chat-sink.d.ts +16 -9
- package/dist/host/host-hooks.d.ts +2 -1
- package/dist/host/host-hooks.js +5 -0
- package/dist/host/host.d.ts +8 -2
- package/dist/host/timeline-row.d.ts +10 -4
- package/dist/index.d.ts +2 -2
- package/dist/locales/en/agent-chat.d.ts +16 -0
- package/dist/locales/en/agent-chat.js +17 -1
- package/dist/locales/nl/agent-chat.d.ts +16 -0
- package/dist/locales/nl/agent-chat.js +17 -1
- package/dist/port-transport.d.ts +10 -1
- package/dist/port-transport.js +14 -3
- package/dist/state/chats.d.ts +17 -15
- package/dist/state/chats.js +7 -0
- package/dist/state/index.d.ts +1 -1
- package/dist/state/usage.d.ts +3 -2
- package/dist/state/usage.js +34 -3
- package/dist/transport.d.ts +3 -2
- package/dist/usage/limit-groups.js +1 -1
- package/package.json +9 -9
- package/src/chat/activity.ts +19 -6
- package/src/chat/forks.ts +3 -3
- package/src/chat/logic/bookmarks.ts +3 -2
- package/src/chat/logic/continue-after-stop.ts +3 -2
- package/src/chat/logic/fork.ts +8 -7
- package/src/chat/logic/goal.ts +13 -4
- package/src/chat/logic/handback.ts +2 -3
- package/src/chat/logic/limit.ts +7 -2
- package/src/chat/logic/resume-compaction.ts +7 -6
- package/src/chat/logic/scrubber.ts +4 -3
- package/src/chat/logic/timeline-target.ts +4 -3
- package/src/chat/logic/timeline.ts +22 -16
- package/src/chat/pending-prompts.ts +3 -2
- package/src/chat/recent-messages.ts +5 -6
- package/src/chat/runtime-modes.ts +7 -2
- package/src/chat/subagent-conversation.ts +12 -9
- package/src/chat/subagent-list.ts +4 -3
- package/src/chat/subagent-view.ts +4 -3
- package/src/chat/ui/ChatActivity.tsx +11 -7
- package/src/chat/ui/Composer.tsx +3 -2
- package/src/chat/ui/GoalDock.tsx +6 -5
- package/src/chat/ui/LimitState.tsx +5 -5
- package/src/chat/ui/RunSettings.tsx +17 -9
- package/src/chat/ui/composer/ComposerControls.tsx +3 -2
- package/src/chat/ui/composer/use-chat-controls.ts +3 -2
- package/src/chat/ui/composer/use-compaction-offer.ts +4 -3
- package/src/chat/ui/composer/use-composer-menus.ts +3 -2
- package/src/chat/ui/composer/use-continuable-turn.ts +3 -3
- package/src/chat/ui/composer/use-effort-stepper.ts +3 -2
- package/src/chat/ui/reply-context.ts +2 -2
- package/src/chat/ui/rows/MessageRows.tsx +17 -1
- package/src/chat/ui/rows/Rows.tsx +3 -0
- package/src/chat/ui/rows/SubagentRow.tsx +5 -4
- package/src/chat/ui/rows/WorkRows.tsx +3 -2
- package/src/chat/ui/thread-references.ts +3 -3
- package/src/chat/waiting-on.ts +8 -7
- package/src/chat/workflow-list.ts +3 -2
- package/src/chat-client.ts +3 -2
- package/src/chat-sink.ts +21 -9
- package/src/host/host-hooks.ts +9 -1
- package/src/host/host.ts +13 -2
- package/src/host/timeline-row.ts +7 -5
- package/src/index.ts +2 -1
- package/src/locales/en/agent-chat.ts +17 -1
- package/src/locales/nl/agent-chat.ts +17 -1
- package/src/port-transport.ts +20 -3
- package/src/state/chats.ts +34 -35
- package/src/state/index.ts +1 -1
- package/src/state/usage.ts +45 -5
- package/src/transport.ts +4 -2
- package/src/usage/limit-groups.ts +1 -1
|
@@ -3,7 +3,7 @@ import { inPickerOrder, separatesGroups, UsageProviderSchema } from '@adecore/ag
|
|
|
3
3
|
import { Icon, Menu, Tooltip, useNow } from '@adecore/ui';
|
|
4
4
|
import { formatPercent, formatTokens } from '@adecore/ui/format';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { Activity, TriangleAlert, ChevronDown, ChevronRight, ChevronUp, FilePen, Gauge, Hand, Search, Settings, Shield, ShieldAlert, SlidersHorizontal, Star } from 'lucide-react';
|
|
6
|
+
import { Activity, TriangleAlert, ChevronDown, ChevronRight, ChevronUp, FilePen, Gauge, Hand, Search, Settings, Shield, ShieldAlert, ShieldQuestionMark, SlidersHorizontal, Star } from 'lucide-react';
|
|
7
7
|
import { Fragment, useEffect, useRef, useState } from 'react';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
9
9
|
import { limitsOfAccount, sessionWindow } from '../../agents/account-limits.js';
|
|
@@ -19,7 +19,7 @@ import { CONTEXT_OPTION, contextFraction, contextSegments, orderOptions } from '
|
|
|
19
19
|
import { EFFORT_OPTION } from '../logic/effort.js';
|
|
20
20
|
import { favoritesFirst, searchModels, shortlistOf, wantsModelSearch } from '../logic/picker-entries.js';
|
|
21
21
|
import { favoriteModelsOf, toggleFavoriteModel, useChatPreferences } from '../preferences.js';
|
|
22
|
-
import { RUNTIME_MODES } from '../runtime-modes.js';
|
|
22
|
+
import { isKnownRuntimeMode, RUNTIME_MODES } from '../runtime-modes.js';
|
|
23
23
|
import { ModelMarks } from './ModelMarks.js';
|
|
24
24
|
import { SessionLine } from './SessionLine.js';
|
|
25
25
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -30,6 +30,9 @@ const MODE_ICONS = {
|
|
|
30
30
|
auto: Shield,
|
|
31
31
|
'full-access': ShieldAlert
|
|
32
32
|
};
|
|
33
|
+
function modeIcon(mode) {
|
|
34
|
+
return isKnownRuntimeMode(mode) ? MODE_ICONS[mode] : ShieldQuestionMark;
|
|
35
|
+
}
|
|
33
36
|
// More choices than this do not fit beside the label, so they go in a submenu of their own.
|
|
34
37
|
const INLINE_CHOICES = 3;
|
|
35
38
|
const PART_COLORS = {
|
|
@@ -69,7 +72,7 @@ function modelGroupsOf(providers, legacy) {
|
|
|
69
72
|
* permission mode. Model and effective permissions stay visible as the composer narrows.
|
|
70
73
|
*/
|
|
71
74
|
export function RunSettings(t0) {
|
|
72
|
-
const $ = _c(
|
|
75
|
+
const $ = _c(124);
|
|
73
76
|
const {
|
|
74
77
|
disabled: t1,
|
|
75
78
|
providers,
|
|
@@ -170,101 +173,111 @@ export function RunSettings(t0) {
|
|
|
170
173
|
const fullAccess = shownMode === "full-access";
|
|
171
174
|
const permissionFallback = permissionMode !== undefined && effectiveRuntimeMode !== runtimeMode;
|
|
172
175
|
let t6;
|
|
173
|
-
if ($[12] !==
|
|
174
|
-
|
|
175
|
-
|
|
176
|
+
if ($[12] !== t) {
|
|
177
|
+
t6 = (mode, form) => isKnownRuntimeMode(mode) ? t(`modes.${mode}.${form}`) : t(`modes.unknown.${form}`);
|
|
178
|
+
$[12] = t;
|
|
179
|
+
$[13] = t6;
|
|
180
|
+
} else {
|
|
181
|
+
t6 = $[13];
|
|
182
|
+
}
|
|
183
|
+
const modeWord = t6;
|
|
184
|
+
let t7;
|
|
185
|
+
if ($[14] !== effectiveRuntimeMode || $[15] !== modeWord || $[16] !== permissionFallback || $[17] !== permissionMode || $[18] !== runtimeMode || $[19] !== t) {
|
|
186
|
+
const effectiveLabel = effectiveRuntimeMode === undefined ? permissionMode : modeWord(effectiveRuntimeMode, "label");
|
|
187
|
+
t7 = permissionFallback ? t("pickers.mode.effective", {
|
|
176
188
|
effective: effectiveLabel,
|
|
177
|
-
requested:
|
|
189
|
+
requested: modeWord(runtimeMode, "label")
|
|
178
190
|
}) : null;
|
|
179
|
-
$[
|
|
180
|
-
$[
|
|
181
|
-
$[
|
|
182
|
-
$[
|
|
183
|
-
$[
|
|
184
|
-
$[
|
|
191
|
+
$[14] = effectiveRuntimeMode;
|
|
192
|
+
$[15] = modeWord;
|
|
193
|
+
$[16] = permissionFallback;
|
|
194
|
+
$[17] = permissionMode;
|
|
195
|
+
$[18] = runtimeMode;
|
|
196
|
+
$[19] = t;
|
|
197
|
+
$[20] = t7;
|
|
185
198
|
} else {
|
|
186
|
-
|
|
199
|
+
t7 = $[20];
|
|
187
200
|
}
|
|
188
|
-
const permissionHint =
|
|
189
|
-
let
|
|
190
|
-
if ($[
|
|
191
|
-
|
|
201
|
+
const permissionHint = t7;
|
|
202
|
+
let t8;
|
|
203
|
+
if ($[21] !== onModel) {
|
|
204
|
+
t8 = value => {
|
|
192
205
|
const slash = value.indexOf("/");
|
|
193
206
|
onModel(value.slice(0, slash), value.slice(slash + 1));
|
|
194
207
|
};
|
|
195
|
-
$[
|
|
196
|
-
$[
|
|
197
|
-
} else {
|
|
198
|
-
t7 = $[19];
|
|
199
|
-
}
|
|
200
|
-
const chooseModel = t7;
|
|
201
|
-
let t8;
|
|
202
|
-
if ($[20] !== providers) {
|
|
203
|
-
t8 = wantsModelSearch(providers);
|
|
204
|
-
$[20] = providers;
|
|
205
|
-
$[21] = t8;
|
|
208
|
+
$[21] = onModel;
|
|
209
|
+
$[22] = t8;
|
|
206
210
|
} else {
|
|
207
|
-
t8 = $[
|
|
211
|
+
t8 = $[22];
|
|
208
212
|
}
|
|
209
|
-
const
|
|
210
|
-
const favorites = useChatPreferences(_temp5);
|
|
213
|
+
const chooseModel = t8;
|
|
211
214
|
let t9;
|
|
212
|
-
if ($[
|
|
213
|
-
t9 =
|
|
214
|
-
$[
|
|
215
|
-
$[
|
|
215
|
+
if ($[23] !== providers) {
|
|
216
|
+
t9 = wantsModelSearch(providers);
|
|
217
|
+
$[23] = providers;
|
|
218
|
+
$[24] = t9;
|
|
216
219
|
} else {
|
|
217
|
-
t9 = $[
|
|
220
|
+
t9 = $[24];
|
|
218
221
|
}
|
|
219
|
-
const
|
|
222
|
+
const searchable = t9;
|
|
223
|
+
const favorites = useChatPreferences(_temp5);
|
|
220
224
|
let t10;
|
|
221
|
-
if ($[
|
|
222
|
-
t10 =
|
|
223
|
-
$[
|
|
224
|
-
$[
|
|
225
|
-
$[26] = query;
|
|
226
|
-
$[27] = t10;
|
|
225
|
+
if ($[25] !== favorites) {
|
|
226
|
+
t10 = kind => favoriteModelsOf(favorites, kind);
|
|
227
|
+
$[25] = favorites;
|
|
228
|
+
$[26] = t10;
|
|
227
229
|
} else {
|
|
228
|
-
t10 = $[
|
|
230
|
+
t10 = $[26];
|
|
229
231
|
}
|
|
230
|
-
const
|
|
232
|
+
const favoritesOf = t10;
|
|
231
233
|
let t11;
|
|
234
|
+
if ($[27] !== favoritesOf || $[28] !== providers || $[29] !== query) {
|
|
235
|
+
t11 = query.trim() === "" ? null : searchModels(inPickerOrder(providers), query, favoritesOf);
|
|
236
|
+
$[27] = favoritesOf;
|
|
237
|
+
$[28] = providers;
|
|
238
|
+
$[29] = query;
|
|
239
|
+
$[30] = t11;
|
|
240
|
+
} else {
|
|
241
|
+
t11 = $[30];
|
|
242
|
+
}
|
|
243
|
+
const found = t11;
|
|
232
244
|
let t12;
|
|
233
|
-
|
|
234
|
-
|
|
245
|
+
let t13;
|
|
246
|
+
if ($[31] !== open || $[32] !== searchable) {
|
|
247
|
+
t12 = () => {
|
|
235
248
|
if (!open || !searchable) {
|
|
236
249
|
return;
|
|
237
250
|
}
|
|
238
251
|
const frame = requestAnimationFrame(() => searchRef.current?.focus());
|
|
239
252
|
return () => cancelAnimationFrame(frame);
|
|
240
253
|
};
|
|
241
|
-
|
|
242
|
-
$[
|
|
243
|
-
$[
|
|
244
|
-
$[
|
|
245
|
-
$[
|
|
254
|
+
t13 = [open, searchable];
|
|
255
|
+
$[31] = open;
|
|
256
|
+
$[32] = searchable;
|
|
257
|
+
$[33] = t12;
|
|
258
|
+
$[34] = t13;
|
|
246
259
|
} else {
|
|
247
|
-
|
|
248
|
-
|
|
260
|
+
t12 = $[33];
|
|
261
|
+
t13 = $[34];
|
|
249
262
|
}
|
|
250
|
-
useEffect(
|
|
251
|
-
let
|
|
252
|
-
if ($[
|
|
253
|
-
|
|
263
|
+
useEffect(t12, t13);
|
|
264
|
+
let t14;
|
|
265
|
+
if ($[35] !== onOpenChange) {
|
|
266
|
+
t14 = next => {
|
|
254
267
|
if (!next) {
|
|
255
268
|
setQuery("");
|
|
256
269
|
}
|
|
257
270
|
onOpenChange(next);
|
|
258
271
|
};
|
|
259
|
-
$[
|
|
260
|
-
$[
|
|
272
|
+
$[35] = onOpenChange;
|
|
273
|
+
$[36] = t14;
|
|
261
274
|
} else {
|
|
262
|
-
|
|
275
|
+
t14 = $[36];
|
|
263
276
|
}
|
|
264
|
-
const changeOpen =
|
|
265
|
-
let
|
|
266
|
-
if ($[
|
|
267
|
-
|
|
277
|
+
const changeOpen = t14;
|
|
278
|
+
let t15;
|
|
279
|
+
if ($[37] !== searchable) {
|
|
280
|
+
t15 = event => {
|
|
268
281
|
if (!searchable || event.target === searchRef.current || event.metaKey || event.ctrlKey || event.altKey) {
|
|
269
282
|
return;
|
|
270
283
|
}
|
|
@@ -277,15 +290,15 @@ export function RunSettings(t0) {
|
|
|
277
290
|
setQuery(now => typed ? now + event.key : now.slice(0, -1));
|
|
278
291
|
searchRef.current?.focus();
|
|
279
292
|
};
|
|
280
|
-
$[
|
|
281
|
-
$[
|
|
293
|
+
$[37] = searchable;
|
|
294
|
+
$[38] = t15;
|
|
282
295
|
} else {
|
|
283
|
-
|
|
296
|
+
t15 = $[38];
|
|
284
297
|
}
|
|
285
|
-
const onPopupKey =
|
|
286
|
-
let
|
|
287
|
-
if ($[
|
|
288
|
-
|
|
298
|
+
const onPopupKey = t15;
|
|
299
|
+
let t16;
|
|
300
|
+
if ($[39] !== changeOpen || $[40] !== found?.[0] || $[41] !== onModel || $[42] !== query) {
|
|
301
|
+
t16 = event_0 => {
|
|
289
302
|
if (event_0.key === "Escape" && query !== "") {
|
|
290
303
|
event_0.preventDefault();
|
|
291
304
|
event_0.stopPropagation();
|
|
@@ -305,18 +318,18 @@ export function RunSettings(t0) {
|
|
|
305
318
|
event_0.stopPropagation();
|
|
306
319
|
}
|
|
307
320
|
};
|
|
308
|
-
$[
|
|
309
|
-
$[
|
|
310
|
-
$[
|
|
311
|
-
$[
|
|
312
|
-
$[
|
|
321
|
+
$[39] = changeOpen;
|
|
322
|
+
$[40] = found?.[0];
|
|
323
|
+
$[41] = onModel;
|
|
324
|
+
$[42] = query;
|
|
325
|
+
$[43] = t16;
|
|
313
326
|
} else {
|
|
314
|
-
|
|
327
|
+
t16 = $[43];
|
|
315
328
|
}
|
|
316
|
-
const onSearchKey =
|
|
317
|
-
let
|
|
318
|
-
if ($[
|
|
319
|
-
|
|
329
|
+
const onSearchKey = t16;
|
|
330
|
+
let t17;
|
|
331
|
+
if ($[44] !== favoritesOf || $[45] !== t) {
|
|
332
|
+
t17 = (entry_2, row_0) => {
|
|
320
333
|
const starred = favoritesOf(entry_2.kind).has(row_0.slug);
|
|
321
334
|
return /*#__PURE__*/_jsxs(Menu.Row, {
|
|
322
335
|
"aria-label": row_0.name,
|
|
@@ -342,16 +355,16 @@ export function RunSettings(t0) {
|
|
|
342
355
|
})]
|
|
343
356
|
}, row_0.slug);
|
|
344
357
|
};
|
|
345
|
-
$[
|
|
346
|
-
$[
|
|
347
|
-
$[
|
|
358
|
+
$[44] = favoritesOf;
|
|
359
|
+
$[45] = t;
|
|
360
|
+
$[46] = t17;
|
|
348
361
|
} else {
|
|
349
|
-
|
|
362
|
+
t17 = $[46];
|
|
350
363
|
}
|
|
351
|
-
const modelRow =
|
|
352
|
-
let
|
|
353
|
-
if ($[
|
|
354
|
-
|
|
364
|
+
const modelRow = t17;
|
|
365
|
+
let t18;
|
|
366
|
+
if ($[47] !== favoritesOf || $[48] !== modelRow) {
|
|
367
|
+
t18 = (entry_3, models) => {
|
|
355
368
|
const starred_0 = favoritesOf(entry_3.kind);
|
|
356
369
|
return favoritesFirst(models, starred_0).map((row_1, i, sorted) => {
|
|
357
370
|
const previous = sorted[i - 1];
|
|
@@ -363,16 +376,16 @@ export function RunSettings(t0) {
|
|
|
363
376
|
}, row_1.slug);
|
|
364
377
|
});
|
|
365
378
|
};
|
|
366
|
-
$[
|
|
367
|
-
$[
|
|
368
|
-
$[
|
|
379
|
+
$[47] = favoritesOf;
|
|
380
|
+
$[48] = modelRow;
|
|
381
|
+
$[49] = t18;
|
|
369
382
|
} else {
|
|
370
|
-
|
|
383
|
+
t18 = $[49];
|
|
371
384
|
}
|
|
372
|
-
const byMaker =
|
|
373
|
-
let
|
|
374
|
-
if ($[
|
|
375
|
-
|
|
385
|
+
const byMaker = t18;
|
|
386
|
+
let t19;
|
|
387
|
+
if ($[50] !== byMaker || $[51] !== chooseModel || $[52] !== chosenModel || $[53] !== favoritesOf || $[54] !== modelRow || $[55] !== provider || $[56] !== selection.model || $[57] !== t) {
|
|
388
|
+
t19 = (entry_4, models_0) => {
|
|
376
389
|
const starred_1 = favoritesOf(entry_4.kind);
|
|
377
390
|
const shortlist = shortlistOf(entry_4.kind, models_0, {
|
|
378
391
|
provider,
|
|
@@ -399,26 +412,26 @@ export function RunSettings(t0) {
|
|
|
399
412
|
})]
|
|
400
413
|
});
|
|
401
414
|
};
|
|
402
|
-
$[
|
|
403
|
-
$[
|
|
404
|
-
$[
|
|
405
|
-
$[
|
|
406
|
-
$[
|
|
407
|
-
$[
|
|
408
|
-
$[
|
|
409
|
-
$[
|
|
410
|
-
$[
|
|
411
|
-
} else {
|
|
412
|
-
|
|
413
|
-
}
|
|
414
|
-
const providerModels =
|
|
415
|
-
let
|
|
416
|
-
if ($[
|
|
417
|
-
|
|
415
|
+
$[50] = byMaker;
|
|
416
|
+
$[51] = chooseModel;
|
|
417
|
+
$[52] = chosenModel;
|
|
418
|
+
$[53] = favoritesOf;
|
|
419
|
+
$[54] = modelRow;
|
|
420
|
+
$[55] = provider;
|
|
421
|
+
$[56] = selection.model;
|
|
422
|
+
$[57] = t;
|
|
423
|
+
$[58] = t19;
|
|
424
|
+
} else {
|
|
425
|
+
t19 = $[58];
|
|
426
|
+
}
|
|
427
|
+
const providerModels = t19;
|
|
428
|
+
let t20;
|
|
429
|
+
if ($[59] !== grouped || $[60] !== providerModels) {
|
|
430
|
+
t20 = groups => groups.map((t21, i_0) => {
|
|
418
431
|
const {
|
|
419
432
|
entry: entry_5,
|
|
420
433
|
models: models_1
|
|
421
|
-
} =
|
|
434
|
+
} = t21;
|
|
422
435
|
return /*#__PURE__*/_jsxs(Fragment, {
|
|
423
436
|
children: [separatesGroups(groups[i_0 - 1]?.entry.kind, entry_5.kind) && /*#__PURE__*/_jsx(Menu.Separator, {}), /*#__PURE__*/_jsxs(Menu.Group, {
|
|
424
437
|
children: [grouped && /*#__PURE__*/_jsxs(Menu.GroupLabel, {
|
|
@@ -431,189 +444,196 @@ export function RunSettings(t0) {
|
|
|
431
444
|
})]
|
|
432
445
|
}, entry_5.kind);
|
|
433
446
|
});
|
|
434
|
-
$[
|
|
435
|
-
$[
|
|
436
|
-
$[58] = t19;
|
|
437
|
-
} else {
|
|
438
|
-
t19 = $[58];
|
|
439
|
-
}
|
|
440
|
-
const modelGroups = t19;
|
|
441
|
-
let t20;
|
|
442
|
-
if ($[59] !== permissionHint || $[60] !== t) {
|
|
443
|
-
t20 = permissionHint ?? t("pickers.settings.title");
|
|
444
|
-
$[59] = permissionHint;
|
|
445
|
-
$[60] = t;
|
|
447
|
+
$[59] = grouped;
|
|
448
|
+
$[60] = providerModels;
|
|
446
449
|
$[61] = t20;
|
|
447
450
|
} else {
|
|
448
451
|
t20 = $[61];
|
|
449
452
|
}
|
|
450
|
-
const
|
|
451
|
-
let
|
|
452
|
-
if ($[62] !==
|
|
453
|
-
|
|
454
|
-
$[62] =
|
|
455
|
-
$[63] =
|
|
453
|
+
const modelGroups = t20;
|
|
454
|
+
let t21;
|
|
455
|
+
if ($[62] !== permissionHint || $[63] !== t) {
|
|
456
|
+
t21 = permissionHint ?? t("pickers.settings.title");
|
|
457
|
+
$[62] = permissionHint;
|
|
458
|
+
$[63] = t;
|
|
459
|
+
$[64] = t21;
|
|
456
460
|
} else {
|
|
457
|
-
|
|
461
|
+
t21 = $[64];
|
|
458
462
|
}
|
|
463
|
+
const t22 = open ? "bg-surface-hover text-text" : "hover:bg-surface-hover";
|
|
459
464
|
let t23;
|
|
460
|
-
if ($[
|
|
461
|
-
t23 =
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
$[64] = accountTint;
|
|
465
|
-
$[65] = t23;
|
|
465
|
+
if ($[65] !== t22) {
|
|
466
|
+
t23 = clsx("flex h-8 min-w-0 items-center gap-2 rounded-full border border-transparent pr-3 pl-2.5 text-xs whitespace-nowrap text-text-muted @max-xl/composer:gap-1.5 @max-sm/composer:pr-2.5", t22);
|
|
467
|
+
$[65] = t22;
|
|
468
|
+
$[66] = t23;
|
|
466
469
|
} else {
|
|
467
|
-
t23 = $[
|
|
470
|
+
t23 = $[66];
|
|
468
471
|
}
|
|
469
472
|
let t24;
|
|
470
|
-
if ($[
|
|
471
|
-
t24 =
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
$[
|
|
476
|
-
$[67] = t24;
|
|
473
|
+
if ($[67] !== accountTint) {
|
|
474
|
+
t24 = accountTint === null ? undefined : {
|
|
475
|
+
color: accountTint
|
|
476
|
+
};
|
|
477
|
+
$[67] = accountTint;
|
|
478
|
+
$[68] = t24;
|
|
477
479
|
} else {
|
|
478
|
-
t24 = $[
|
|
480
|
+
t24 = $[68];
|
|
479
481
|
}
|
|
480
482
|
let t25;
|
|
481
|
-
if ($[
|
|
482
|
-
t25 = /*#__PURE__*/_jsx(
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
children: t24
|
|
483
|
+
if ($[69] !== provider) {
|
|
484
|
+
t25 = /*#__PURE__*/_jsx(AgentIcon, {
|
|
485
|
+
kind: provider,
|
|
486
|
+
size: 14
|
|
486
487
|
});
|
|
487
|
-
$[
|
|
488
|
-
$[69] = t24;
|
|
488
|
+
$[69] = provider;
|
|
489
489
|
$[70] = t25;
|
|
490
490
|
} else {
|
|
491
491
|
t25 = $[70];
|
|
492
492
|
}
|
|
493
493
|
let t26;
|
|
494
|
-
if ($[71] !==
|
|
494
|
+
if ($[71] !== t24 || $[72] !== t25) {
|
|
495
495
|
t26 = /*#__PURE__*/_jsx("span", {
|
|
496
|
-
className: "
|
|
497
|
-
|
|
496
|
+
className: "flex shrink-0",
|
|
497
|
+
style: t24,
|
|
498
|
+
children: t25
|
|
498
499
|
});
|
|
499
|
-
$[71] =
|
|
500
|
-
$[72] =
|
|
500
|
+
$[71] = t24;
|
|
501
|
+
$[72] = t25;
|
|
502
|
+
$[73] = t26;
|
|
501
503
|
} else {
|
|
502
|
-
t26 = $[
|
|
504
|
+
t26 = $[73];
|
|
503
505
|
}
|
|
504
506
|
let t27;
|
|
505
|
-
if ($[
|
|
507
|
+
if ($[74] !== pillName) {
|
|
506
508
|
t27 = /*#__PURE__*/_jsx("span", {
|
|
509
|
+
className: "truncate font-medium text-text",
|
|
510
|
+
children: pillName
|
|
511
|
+
});
|
|
512
|
+
$[74] = pillName;
|
|
513
|
+
$[75] = t27;
|
|
514
|
+
} else {
|
|
515
|
+
t27 = $[75];
|
|
516
|
+
}
|
|
517
|
+
let t28;
|
|
518
|
+
if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
|
|
519
|
+
t28 = /*#__PURE__*/_jsx("span", {
|
|
507
520
|
className: "shrink-0 text-text-faint",
|
|
508
521
|
children: "\xB7"
|
|
509
522
|
});
|
|
510
|
-
$[
|
|
523
|
+
$[76] = t28;
|
|
511
524
|
} else {
|
|
512
|
-
|
|
525
|
+
t28 = $[76];
|
|
513
526
|
}
|
|
514
|
-
const
|
|
515
|
-
let
|
|
516
|
-
if ($[
|
|
517
|
-
|
|
518
|
-
$[
|
|
519
|
-
$[
|
|
527
|
+
const t29 = fullAccess && "text-status-needs-you";
|
|
528
|
+
let t30;
|
|
529
|
+
if ($[77] !== t29) {
|
|
530
|
+
t30 = clsx("flex shrink-0 items-center gap-1", t29);
|
|
531
|
+
$[77] = t29;
|
|
532
|
+
$[78] = t30;
|
|
520
533
|
} else {
|
|
521
|
-
|
|
534
|
+
t30 = $[78];
|
|
522
535
|
}
|
|
523
|
-
const t30 = MODE_ICONS[shownMode];
|
|
524
536
|
let t31;
|
|
525
|
-
if ($[
|
|
526
|
-
t31 =
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
className: "shrink-0"
|
|
530
|
-
});
|
|
531
|
-
$[76] = t30;
|
|
532
|
-
$[77] = t31;
|
|
537
|
+
if ($[79] !== shownMode) {
|
|
538
|
+
t31 = modeIcon(shownMode);
|
|
539
|
+
$[79] = shownMode;
|
|
540
|
+
$[80] = t31;
|
|
533
541
|
} else {
|
|
534
|
-
t31 = $[
|
|
542
|
+
t31 = $[80];
|
|
535
543
|
}
|
|
536
544
|
let t32;
|
|
537
|
-
if ($[
|
|
538
|
-
t32 =
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
545
|
+
if ($[81] !== t31) {
|
|
546
|
+
t32 = /*#__PURE__*/_jsx(Icon, {
|
|
547
|
+
icon: t31,
|
|
548
|
+
size: 12,
|
|
549
|
+
className: "shrink-0"
|
|
550
|
+
});
|
|
551
|
+
$[81] = t31;
|
|
543
552
|
$[82] = t32;
|
|
544
553
|
} else {
|
|
545
554
|
t32 = $[82];
|
|
546
555
|
}
|
|
547
556
|
let t33;
|
|
548
|
-
if ($[83] !==
|
|
549
|
-
t33 =
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
$[
|
|
554
|
-
$[
|
|
557
|
+
if ($[83] !== effectiveRuntimeMode || $[84] !== modeWord || $[85] !== permissionMode || $[86] !== shownMode) {
|
|
558
|
+
t33 = effectiveRuntimeMode === undefined && permissionMode !== undefined ? permissionMode : modeWord(shownMode, "short");
|
|
559
|
+
$[83] = effectiveRuntimeMode;
|
|
560
|
+
$[84] = modeWord;
|
|
561
|
+
$[85] = permissionMode;
|
|
562
|
+
$[86] = shownMode;
|
|
563
|
+
$[87] = t33;
|
|
555
564
|
} else {
|
|
556
|
-
t33 = $[
|
|
565
|
+
t33 = $[87];
|
|
557
566
|
}
|
|
558
567
|
let t34;
|
|
559
|
-
if ($[
|
|
560
|
-
t34 =
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
className: "shrink-0 text-status-needs-you"
|
|
568
|
+
if ($[88] !== t33) {
|
|
569
|
+
t34 = /*#__PURE__*/_jsx("span", {
|
|
570
|
+
className: "@max-xl/composer:hidden",
|
|
571
|
+
children: t33
|
|
564
572
|
});
|
|
565
|
-
$[
|
|
566
|
-
$[
|
|
573
|
+
$[88] = t33;
|
|
574
|
+
$[89] = t34;
|
|
567
575
|
} else {
|
|
568
|
-
t34 = $[
|
|
576
|
+
t34 = $[89];
|
|
569
577
|
}
|
|
570
578
|
let t35;
|
|
571
|
-
if ($[
|
|
572
|
-
t35 = /*#__PURE__*/
|
|
573
|
-
|
|
574
|
-
|
|
579
|
+
if ($[90] !== permissionFallback) {
|
|
580
|
+
t35 = permissionFallback && /*#__PURE__*/_jsx(Icon, {
|
|
581
|
+
icon: TriangleAlert,
|
|
582
|
+
size: 12,
|
|
583
|
+
className: "shrink-0 text-status-needs-you"
|
|
575
584
|
});
|
|
576
|
-
$[
|
|
577
|
-
$[88] = t31;
|
|
578
|
-
$[89] = t33;
|
|
579
|
-
$[90] = t34;
|
|
585
|
+
$[90] = permissionFallback;
|
|
580
586
|
$[91] = t35;
|
|
581
587
|
} else {
|
|
582
588
|
t35 = $[91];
|
|
583
589
|
}
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
590
|
+
let t36;
|
|
591
|
+
if ($[92] !== t30 || $[93] !== t32 || $[94] !== t34 || $[95] !== t35) {
|
|
592
|
+
t36 = /*#__PURE__*/_jsxs("span", {
|
|
593
|
+
className: t30,
|
|
594
|
+
children: [t32, t34, t35]
|
|
595
|
+
});
|
|
596
|
+
$[92] = t30;
|
|
597
|
+
$[93] = t32;
|
|
598
|
+
$[94] = t34;
|
|
599
|
+
$[95] = t35;
|
|
600
|
+
$[96] = t36;
|
|
601
|
+
} else {
|
|
602
|
+
t36 = $[96];
|
|
603
|
+
}
|
|
604
|
+
const t37 = open ? ChevronUp : ChevronDown;
|
|
605
|
+
let t38;
|
|
606
|
+
if ($[97] !== t37) {
|
|
607
|
+
t38 = /*#__PURE__*/_jsx(Icon, {
|
|
608
|
+
icon: t37,
|
|
589
609
|
size: 12,
|
|
590
610
|
className: "shrink-0 @max-sm/composer:hidden"
|
|
591
611
|
});
|
|
592
|
-
$[
|
|
593
|
-
$[
|
|
594
|
-
} else {
|
|
595
|
-
|
|
596
|
-
}
|
|
597
|
-
const
|
|
598
|
-
const
|
|
599
|
-
const
|
|
600
|
-
const
|
|
601
|
-
const
|
|
602
|
-
let
|
|
603
|
-
if ($[
|
|
604
|
-
|
|
612
|
+
$[97] = t37;
|
|
613
|
+
$[98] = t38;
|
|
614
|
+
} else {
|
|
615
|
+
t38 = $[98];
|
|
616
|
+
}
|
|
617
|
+
const t39 = Menu;
|
|
618
|
+
const t40 = "top";
|
|
619
|
+
const t41 = 8;
|
|
620
|
+
const t42 = "start";
|
|
621
|
+
const t43 = "w-80";
|
|
622
|
+
let t44;
|
|
623
|
+
if ($[99] !== providers.length || $[100] !== t) {
|
|
624
|
+
t44 = providers.length === 0 && /*#__PURE__*/_jsx("div", {
|
|
605
625
|
className: "px-2.5 py-3 text-xs text-text-faint",
|
|
606
626
|
children: t("pickers.model.noProvider")
|
|
607
627
|
});
|
|
608
|
-
$[
|
|
609
|
-
$[
|
|
610
|
-
$[
|
|
628
|
+
$[99] = providers.length;
|
|
629
|
+
$[100] = t;
|
|
630
|
+
$[101] = t44;
|
|
611
631
|
} else {
|
|
612
|
-
|
|
632
|
+
t44 = $[101];
|
|
613
633
|
}
|
|
614
|
-
let
|
|
615
|
-
if ($[
|
|
616
|
-
|
|
634
|
+
let t45;
|
|
635
|
+
if ($[102] !== onSearchKey || $[103] !== query || $[104] !== searchable || $[105] !== t) {
|
|
636
|
+
t45 = searchable && /*#__PURE__*/_jsxs("div", {
|
|
617
637
|
className: "flex items-center gap-2 border-b border-border px-2.5",
|
|
618
638
|
children: [/*#__PURE__*/_jsx(Icon, {
|
|
619
639
|
icon: Search,
|
|
@@ -630,36 +650,36 @@ export function RunSettings(t0) {
|
|
|
630
650
|
onKeyDown: onSearchKey
|
|
631
651
|
})]
|
|
632
652
|
});
|
|
633
|
-
$[
|
|
634
|
-
$[
|
|
635
|
-
$[
|
|
636
|
-
$[
|
|
637
|
-
$[
|
|
653
|
+
$[102] = onSearchKey;
|
|
654
|
+
$[103] = query;
|
|
655
|
+
$[104] = searchable;
|
|
656
|
+
$[105] = t;
|
|
657
|
+
$[106] = t45;
|
|
638
658
|
} else {
|
|
639
|
-
|
|
659
|
+
t45 = $[106];
|
|
640
660
|
}
|
|
641
|
-
let
|
|
642
|
-
if ($[
|
|
643
|
-
|
|
661
|
+
let t46;
|
|
662
|
+
if ($[107] !== found || $[108] !== t) {
|
|
663
|
+
t46 = found !== null && found.length === 0 && /*#__PURE__*/_jsx("div", {
|
|
644
664
|
className: "px-2.5 py-3 text-xs text-text-faint",
|
|
645
665
|
children: t("pickers.model.noMatch")
|
|
646
666
|
});
|
|
647
|
-
$[
|
|
648
|
-
$[
|
|
649
|
-
$[
|
|
667
|
+
$[107] = found;
|
|
668
|
+
$[108] = t;
|
|
669
|
+
$[109] = t46;
|
|
650
670
|
} else {
|
|
651
|
-
|
|
671
|
+
t46 = $[109];
|
|
652
672
|
}
|
|
653
|
-
let
|
|
654
|
-
if ($[
|
|
655
|
-
|
|
673
|
+
let t47;
|
|
674
|
+
if ($[110] !== byMaker || $[111] !== chooseModel || $[112] !== chosenModel || $[113] !== found || $[114] !== grouped) {
|
|
675
|
+
t47 = found !== null && found.length > 0 && /*#__PURE__*/_jsx(Menu.RadioGroup, {
|
|
656
676
|
value: chosenModel,
|
|
657
677
|
onValueChange: chooseModel,
|
|
658
|
-
children: found.map((
|
|
678
|
+
children: found.map((t48, i_1) => {
|
|
659
679
|
const {
|
|
660
680
|
entry: entry_7,
|
|
661
681
|
models: models_2
|
|
662
|
-
} =
|
|
682
|
+
} = t48;
|
|
663
683
|
return /*#__PURE__*/_jsxs(Fragment, {
|
|
664
684
|
children: [separatesGroups(found[i_1 - 1]?.entry.kind, entry_7.kind) && /*#__PURE__*/_jsx(Menu.Separator, {}), /*#__PURE__*/_jsxs(Menu.Group, {
|
|
665
685
|
children: [grouped && /*#__PURE__*/_jsxs(Menu.GroupLabel, {
|
|
@@ -673,16 +693,16 @@ export function RunSettings(t0) {
|
|
|
673
693
|
}, entry_7.kind);
|
|
674
694
|
})
|
|
675
695
|
});
|
|
676
|
-
$[
|
|
677
|
-
$[
|
|
678
|
-
$[
|
|
679
|
-
$[
|
|
680
|
-
$[
|
|
681
|
-
$[
|
|
696
|
+
$[110] = byMaker;
|
|
697
|
+
$[111] = chooseModel;
|
|
698
|
+
$[112] = chosenModel;
|
|
699
|
+
$[113] = found;
|
|
700
|
+
$[114] = grouped;
|
|
701
|
+
$[115] = t47;
|
|
682
702
|
} else {
|
|
683
|
-
|
|
703
|
+
t47 = $[115];
|
|
684
704
|
}
|
|
685
|
-
const
|
|
705
|
+
const t48 = found === null && /*#__PURE__*/_jsxs(_Fragment, {
|
|
686
706
|
children: [/*#__PURE__*/_jsx(Menu.RadioGroup, {
|
|
687
707
|
value: chosenModel,
|
|
688
708
|
onValueChange: chooseModel,
|
|
@@ -714,7 +734,7 @@ export function RunSettings(t0) {
|
|
|
714
734
|
children: [/*#__PURE__*/_jsxs(Menu.SubmenuTrigger, {
|
|
715
735
|
className: "text-text-muted",
|
|
716
736
|
children: [/*#__PURE__*/_jsx(Icon, {
|
|
717
|
-
icon:
|
|
737
|
+
icon: modeIcon(runtimeMode),
|
|
718
738
|
size: 14,
|
|
719
739
|
className: clsx("shrink-0", fullAccess ? "text-status-needs-you" : "text-text-faint")
|
|
720
740
|
}), /*#__PURE__*/_jsx("span", {
|
|
@@ -722,7 +742,7 @@ export function RunSettings(t0) {
|
|
|
722
742
|
children: t("pickers.mode.label")
|
|
723
743
|
}), /*#__PURE__*/_jsx(Menu.Hint, {
|
|
724
744
|
className: "truncate",
|
|
725
|
-
children:
|
|
745
|
+
children: modeWord(runtimeMode, "label")
|
|
726
746
|
})]
|
|
727
747
|
}), /*#__PURE__*/_jsxs(Menu.Popup, {
|
|
728
748
|
className: "w-72",
|
|
@@ -731,25 +751,25 @@ export function RunSettings(t0) {
|
|
|
731
751
|
children: permissionHint
|
|
732
752
|
}), /*#__PURE__*/_jsx(Menu.RadioGroup, {
|
|
733
753
|
value: runtimeMode,
|
|
734
|
-
onValueChange:
|
|
735
|
-
children: RUNTIME_MODES.map(
|
|
736
|
-
value:
|
|
754
|
+
onValueChange: mode_0 => onMode(mode_0),
|
|
755
|
+
children: RUNTIME_MODES.map(mode_1 => /*#__PURE__*/_jsxs(Menu.RadioItem, {
|
|
756
|
+
value: mode_1,
|
|
737
757
|
className: "items-start",
|
|
738
758
|
children: [/*#__PURE__*/_jsx("span", {
|
|
739
759
|
className: "grid h-lh w-4 shrink-0 place-items-center",
|
|
740
760
|
children: /*#__PURE__*/_jsx(Icon, {
|
|
741
|
-
icon: MODE_ICONS[
|
|
761
|
+
icon: MODE_ICONS[mode_1],
|
|
742
762
|
size: 14,
|
|
743
|
-
className:
|
|
763
|
+
className: mode_1 === "full-access" ? "text-status-needs-you" : "text-text-faint"
|
|
744
764
|
})
|
|
745
765
|
}), /*#__PURE__*/_jsxs("span", {
|
|
746
766
|
className: "flex min-w-0 grow flex-col",
|
|
747
|
-
children: [t(`modes.${
|
|
767
|
+
children: [t(`modes.${mode_1}.label`), /*#__PURE__*/_jsx("span", {
|
|
748
768
|
className: "text-xs text-text-faint",
|
|
749
|
-
children: t(`modes.${
|
|
769
|
+
children: t(`modes.${mode_1}.hint`)
|
|
750
770
|
})]
|
|
751
771
|
})]
|
|
752
|
-
},
|
|
772
|
+
}, mode_1))
|
|
753
773
|
})]
|
|
754
774
|
})]
|
|
755
775
|
}), options.map(option_1 => /*#__PURE__*/_jsx(OptionRow, {
|
|
@@ -764,42 +784,42 @@ export function RunSettings(t0) {
|
|
|
764
784
|
})]
|
|
765
785
|
})]
|
|
766
786
|
});
|
|
767
|
-
let
|
|
768
|
-
if ($[
|
|
769
|
-
|
|
770
|
-
side:
|
|
771
|
-
sideOffset:
|
|
772
|
-
align:
|
|
773
|
-
className:
|
|
787
|
+
let t49;
|
|
788
|
+
if ($[116] !== onPopupKey || $[117] !== t39.Popup || $[118] !== t44 || $[119] !== t45 || $[120] !== t46 || $[121] !== t47 || $[122] !== t48) {
|
|
789
|
+
t49 = /*#__PURE__*/_jsxs(t39.Popup, {
|
|
790
|
+
side: t40,
|
|
791
|
+
sideOffset: t41,
|
|
792
|
+
align: t42,
|
|
793
|
+
className: t43,
|
|
774
794
|
onKeyDownCapture: onPopupKey,
|
|
775
|
-
children: [
|
|
795
|
+
children: [t44, t45, t46, t47, t48]
|
|
776
796
|
});
|
|
777
|
-
$[
|
|
778
|
-
$[
|
|
779
|
-
$[
|
|
780
|
-
$[
|
|
781
|
-
$[
|
|
782
|
-
$[
|
|
783
|
-
$[
|
|
784
|
-
$[
|
|
797
|
+
$[116] = onPopupKey;
|
|
798
|
+
$[117] = t39.Popup;
|
|
799
|
+
$[118] = t44;
|
|
800
|
+
$[119] = t45;
|
|
801
|
+
$[120] = t46;
|
|
802
|
+
$[121] = t47;
|
|
803
|
+
$[122] = t48;
|
|
804
|
+
$[123] = t49;
|
|
785
805
|
} else {
|
|
786
|
-
|
|
806
|
+
t49 = $[123];
|
|
787
807
|
}
|
|
788
808
|
return /*#__PURE__*/_jsxs(Menu.Root, {
|
|
789
809
|
open: open,
|
|
790
810
|
onOpenChange: changeOpen,
|
|
791
811
|
highlightItemOnHover: !searchable,
|
|
792
812
|
children: [/*#__PURE__*/_jsx(Tooltip, {
|
|
793
|
-
label:
|
|
813
|
+
label: t21,
|
|
794
814
|
kbd: "/model",
|
|
795
815
|
children: /*#__PURE__*/_jsxs(Menu.Trigger, {
|
|
796
816
|
disabled: disabled,
|
|
797
|
-
className:
|
|
798
|
-
children: [
|
|
817
|
+
className: t23,
|
|
818
|
+
children: [t26, /*#__PURE__*/_jsxs("span", {
|
|
799
819
|
className: "flex min-w-0 items-center gap-2 overflow-hidden @max-xl/composer:gap-1.5",
|
|
800
820
|
children: [/*#__PURE__*/_jsxs("span", {
|
|
801
821
|
className: "flex min-w-0 items-center gap-1.5",
|
|
802
|
-
children: [
|
|
822
|
+
children: [t27, words.map(_temp6)]
|
|
803
823
|
}), context !== null && /*#__PURE__*/_jsxs("span", {
|
|
804
824
|
className: "flex shrink-0 items-center gap-2 @max-xl/composer:gap-1.5",
|
|
805
825
|
children: [/*#__PURE__*/_jsx("span", {
|
|
@@ -811,10 +831,10 @@ export function RunSettings(t0) {
|
|
|
811
831
|
className: "@max-xl/composer:hidden",
|
|
812
832
|
children: context.label
|
|
813
833
|
})]
|
|
814
|
-
}),
|
|
815
|
-
}),
|
|
834
|
+
}), t28, t36]
|
|
835
|
+
}), t38]
|
|
816
836
|
})
|
|
817
|
-
}),
|
|
837
|
+
}), t49]
|
|
818
838
|
});
|
|
819
839
|
}
|
|
820
840
|
/*
|