@qredence/fleet 0.5.9 → 0.5.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.
- package/CHANGELOG.md +21 -0
- package/dist/web/client/assets/agent-activity-CwMDU7aP.js +1 -0
- package/dist/web/client/assets/artifacts-panel-CQmFEF_H.js +1 -0
- package/dist/web/client/assets/{button-BV9NafmI.js → button-BR2WWrFo.js} +1 -1
- package/dist/web/client/assets/{chat-command-palette-C_HgND2N.js → chat-command-palette-CmHTS3rs.js} +1 -1
- package/dist/web/client/assets/{chat-DdPRGn-U.js → chat-yh02zgA7.js} +2 -2
- package/dist/web/client/assets/{citations-BQ_pr_9_.js → citations-C_tPOJE_.js} +1 -1
- package/dist/web/client/assets/{command-Cx-UYeQ9.js → command-DPfiaYUL.js} +1 -1
- package/dist/web/client/assets/{dialog-Dh7WpGIu.js → dialog-BEZuZhzk.js} +1 -1
- package/dist/web/client/assets/{fleet-message-queue-DPBMIZSU.js → fleet-message-queue-DUz6Hfrf.js} +1 -1
- package/dist/web/client/assets/{fleet-pi-tool-renderer-DMjrKLi2.js → fleet-pi-tool-renderer-BEDIO3al.js} +4 -4
- package/dist/web/client/assets/fleet-reasoning-panel-CbkO7u-v.js +1 -0
- package/dist/web/client/assets/{fleet-subagent-list-BnRnrWKS.js → fleet-subagent-list-iKUtLJKZ.js} +1 -1
- package/dist/web/client/assets/fleet-tool-timeline-C8heL7ae.js +1 -0
- package/dist/web/client/assets/{fork-picker-dialog-CAhWx0G5.js → fork-picker-dialog-ByBOGVsa.js} +1 -1
- package/dist/web/client/assets/globals-B_I1Eq1u.css +2 -0
- package/dist/web/client/assets/horizontal-resize-qK6eRhIG.js +1 -0
- package/dist/web/client/assets/{index-CwtZA4hF.js → index-C1zOjrMK.js} +3 -3
- package/dist/web/client/assets/{input-Bol3TP4v.js → input-0wwjWjKq.js} +1 -1
- package/dist/web/client/assets/{input-group-D5gi9zBK.js → input-group-BFDsCVS9.js} +1 -1
- package/dist/web/client/assets/{ipython-tool-BrMePqD-.js → ipython-tool-ldJ9F1Cw.js} +1 -1
- package/dist/web/client/assets/model-selector-list-DsKTuAgS.js +1 -0
- package/dist/web/client/assets/{notify-BnNaNaBU.js → notify-DgMKgZZW.js} +1 -1
- package/dist/web/client/assets/{openui-renderer-nuOkzdau.js → openui-renderer-J3dhPpL4.js} +5 -5
- package/dist/web/client/assets/prompt-input-qPIXZ-Rb.js +1 -0
- package/dist/web/client/assets/prompt-suggestions-Cc--lSNR.js +1 -0
- package/dist/web/client/assets/{provider-catalog-CO1GxLYe.js → provider-catalog-D8G66gwc.js} +1 -1
- package/dist/web/client/assets/{provider-label-B0E-wWFV.js → provider-label-Dpr7djG9.js} +1 -1
- package/dist/web/client/assets/repl-panel-DsPX04Xr.js +1 -0
- package/dist/web/client/assets/{resources-panel-Bo8dfUdm.js → resources-panel-D867-goy.js} +1 -1
- package/dist/web/client/assets/right-panel-registry-DewpBWHM.js +2 -0
- package/dist/web/client/assets/routes-vNkVToAF.js +16 -0
- package/dist/web/client/assets/safe-storage-s25GrfpH.js +1 -0
- package/dist/web/client/assets/session-insights-panel-YnaXvTpi.js +1 -0
- package/dist/web/client/assets/settings-dialog-B-v4me3Y.js +1 -0
- package/dist/web/client/assets/skeleton-loaders-C9vHwAYV.js +1 -0
- package/dist/web/client/assets/{subagent-chat-panel-Ck06wcIJ.js → subagent-chat-panel-DkVUumrP.js} +1 -1
- package/dist/web/client/assets/subagent-transcript-D8wmQxXe.js +1 -0
- package/dist/web/client/assets/subagents-panel-BMp2Ego0.js +1 -0
- package/dist/web/client/assets/{surfaces-cW-gp56p.js → surfaces-DI-U-_2a.js} +1 -1
- package/dist/web/client/assets/{switch-J2Lvo_tF.js → switch-9rTeg6J6.js} +1 -1
- package/dist/web/client/assets/{toast-BzAKULar.js → toast-Bt9p2OL4.js} +1 -1
- package/dist/web/client/assets/tool-result-DfnPN0FQ.js +4 -0
- package/dist/web/client/assets/ui-preferences-CImQGZm_.js +1 -0
- package/dist/web/client/assets/virtualized-turn-list-DMJENRY0.js +6 -0
- package/dist/web/client/assets/{workspace-panel-DI1W3ce9.js → workspace-panel-G6yMpKJ8.js} +1 -1
- package/dist/web/client/bundle-budget.json +6 -6
- package/dist/web/server/{_tanstack-start-manifest_v-DkghjPW8-5E6WBVI6.js → _tanstack-start-manifest_v-po4woX6g-AUGCOEZ2.js} +20 -19
- package/dist/web/server/{agent-activity-B-JMvecd-SLE3GGY2.js → agent-activity-CS2rbF_C-A3R26CYH.js} +2 -2
- package/dist/web/server/{artifacts-panel-D20iI9ud-YGBYV6NF.js → artifacts-panel-8GGUCtOd-X5TNKTY2.js} +17 -17
- package/dist/web/server/{chat-command-palette-DmDvAEZe-CONFK6YH.js → chat-command-palette-Dgl5tqWn-72LLEWUD.js} +7 -7
- package/dist/web/server/{chunk-K5ESTT4A.js → chunk-7MDZVLIY.js} +11 -3
- package/dist/web/server/{chunk-EBCYJSBR.js → chunk-7SD2ZSEA.js} +3 -3
- package/dist/web/server/{chunk-BTXNB4CP.js → chunk-ABBWBBSS.js} +13 -13
- package/dist/web/server/{chunk-VMYYWXF4.js → chunk-AGFRJQZ7.js} +2 -2
- package/dist/web/server/{chunk-FZMWPQNE.js → chunk-BXWAUTTH.js} +4 -4
- package/dist/web/server/{chunk-54II5QXQ.js → chunk-ETTDO4UO.js} +6 -3
- package/dist/web/server/{chunk-EHNIN245.js → chunk-GETSIVNU.js} +5 -5
- package/dist/web/server/{chunk-NRDG2ISJ.js → chunk-GGT2ZKDB.js} +49 -49
- package/dist/web/server/{chunk-X2R5YPQZ.js → chunk-IJPCV6DH.js} +3 -2
- package/dist/web/server/{chunk-TFHXOWFX.js → chunk-JQDLJ7KI.js} +20 -20
- package/dist/web/server/{chunk-VHBFU4TG.js → chunk-JUROEEWM.js} +43 -14
- package/dist/web/server/{chunk-WQDG5ZM2.js → chunk-KOUEJ3NU.js} +2 -2
- package/dist/web/server/{chunk-JICJWC33.js → chunk-LZ4Q5KUJ.js} +10 -10
- package/dist/web/server/{chunk-W6IZDM2G.js → chunk-MIW4LJTV.js} +4 -4
- package/dist/web/server/{chunk-2TRF62K5.js → chunk-N6NOTURM.js} +3 -3
- package/dist/web/server/{chunk-5XX7RKJ6.js → chunk-NXJ32VFR.js} +5 -5
- package/dist/web/server/{chunk-EFNPNSDO.js → chunk-O4OTWWPF.js} +7 -7
- package/dist/web/server/{chunk-X6RKK47S.js → chunk-P6UMR32I.js} +2 -2
- package/dist/web/server/{chunk-QJQZLBLU.js → chunk-P7H2OPKF.js} +3 -3
- package/dist/web/server/{chunk-MLPLZVON.js → chunk-RNOJACWQ.js} +54 -30
- package/dist/web/server/chunk-SZJUXVWG.js +40 -0
- package/dist/web/server/{chunk-ZCJXHV2R.js → chunk-UAPNEWCA.js} +4 -4
- package/dist/web/server/{chunk-WVBBA2VV.js → chunk-WILCIZYU.js} +195 -11
- package/dist/web/server/{chunk-FED63ZHU.js → chunk-WKV2Z4KO.js} +10 -5
- package/dist/web/server/{chunk-TGZIE2T6.js → chunk-WM4PUT6M.js} +4 -4
- package/dist/web/server/{chunk-56NGD3FN.js → chunk-WYL2DW5R.js} +2 -2
- package/dist/web/server/{chunk-IMK45Q23.js → chunk-XKKXXG6N.js} +3 -3
- package/dist/web/server/{chunk-ANL4B775.js → chunk-XLNCWZMZ.js} +2 -2
- package/dist/web/server/{chunk-ZVL6TBG5.js → chunk-YKVGQBZA.js} +13 -9
- package/dist/web/server/{chunk-IFHABBJO.js → chunk-YXXRP3NS.js} +18 -10
- package/dist/web/server/{fleet-message-queue-BvMcWtLo-6CMMI73U.js → fleet-message-queue-j0DCU5Xy-5HKBHMPV.js} +5 -5
- package/dist/web/server/{fleet-pi-tool-renderer-CgbmlIoe-7MSJLEGU.js → fleet-pi-tool-renderer-umKunT3K-O4GBH35V.js} +5 -5
- package/dist/web/server/{fleet-reasoning-panel-D_K48UOT-GN2PA6KT.js → fleet-reasoning-panel-BxC2COxi-GPLMQSTT.js} +9 -9
- package/dist/web/server/{fleet-subagent-list-5luKtpds-3OTVFHJQ.js → fleet-subagent-list-CpSYzCIq-JDH2LHSS.js} +1 -1
- package/dist/web/server/{fleet-tool-timeline-DwRqQgOj-HUFLGMDV.js → fleet-tool-timeline-IB36_PB2-XJENTO6I.js} +1 -1
- package/dist/web/server/{fork-picker-dialog-DfSRzUI5-EBRK5HNO.js → fork-picker-dialog-DlINz9UQ-UWIXFDJX.js} +5 -5
- package/dist/web/server/{model-selector-list-wCp4_UWC-2NQUCAM3.js → model-selector-list-OYnzNbyu-HBGCNF2L.js} +10 -10
- package/dist/web/server/{openui-renderer-BNLpfzyj-JUPJXUWF.js → openui-renderer-Cj7kfqyL-EKJ6JTTQ.js} +9 -9
- package/dist/web/server/{prompt-suggestions-BOmHi4-J-C563CHFU.js → prompt-suggestions-D4AEEY7K-RZSP7PWV.js} +3 -3
- package/dist/web/server/{repl-panel-yyxhwe4c-7U6HXYPS.js → repl-panel-D5KsoJik-BQKO53JO.js} +9 -9
- package/dist/web/server/{resources-panel-j4fAIi9g-5C267IXV.js → resources-panel-CE5pD4vy-V5FXBTYC.js} +2 -2
- package/dist/web/server/{router-dnEmu1cU-LUH74TAC.js → router-Ci1wxI7I-E2AYMNON.js} +255 -78
- package/dist/web/server/{routes-Ci5_8lws-F54KB46D.js → routes-CRpm9-Sa-IYK6MUJO.js} +720 -549
- package/dist/web/server/server.js +2 -2
- package/dist/web/server/{session-insights-panel-BHZyKDTo-LRMAMA3O.js → session-insights-panel-CUhdgvRt-VB2HUCQP.js} +4 -4
- package/dist/web/server/{settings-dialog-CdFpyzR--JVYIS5OD.js → settings-dialog-BvkgNflv-GPJ6COQO.js} +22 -18
- package/dist/web/server/{subagent-chat-panel-DVgf-whR-6G2ASMGU.js → subagent-chat-panel-CMuvW9Sd-M5TEEGQW.js} +14 -14
- package/dist/web/server/{subagents-panel-D2CN0IYy-3L6ZNQ3Q.js → subagents-panel-DgfB6_Yy-4INEPE3Y.js} +16 -16
- package/dist/web/server/{workspace-panel-BOs-58Cv-SWQBMZSB.js → workspace-panel-bpwj-Veu-Q2CEJMN4.js} +4 -3
- package/package.json +1 -1
- package/dist/web/client/assets/agent-activity-CDcDNVC6.js +0 -1
- package/dist/web/client/assets/artifacts-panel-N4k9VcJr.js +0 -1
- package/dist/web/client/assets/fleet-reasoning-panel-MtbSdoCv.js +0 -1
- package/dist/web/client/assets/fleet-tool-timeline-COzPrwr8.js +0 -1
- package/dist/web/client/assets/generative-text-renderer-CzwNIs3b.js +0 -6
- package/dist/web/client/assets/globals-C7ovVTh2.css +0 -2
- package/dist/web/client/assets/horizontal-resize-Bl3AyBJg.js +0 -1
- package/dist/web/client/assets/model-selector-list-CJY9pyt2.js +0 -1
- package/dist/web/client/assets/prompt-input-BpuTiX7Z.js +0 -1
- package/dist/web/client/assets/prompt-suggestions-CXM6knMK.js +0 -1
- package/dist/web/client/assets/repl-panel-BDQ5MEgV.js +0 -1
- package/dist/web/client/assets/right-panel-registry-DOyEvIMD.js +0 -2
- package/dist/web/client/assets/routes-DkefU9yA.js +0 -16
- package/dist/web/client/assets/session-insights-panel-CQdT90Op.js +0 -1
- package/dist/web/client/assets/settings-dialog-B6rt69m_.js +0 -1
- package/dist/web/client/assets/skeleton-loaders-DjGv9LLA.js +0 -1
- package/dist/web/client/assets/subagent-transcript-BwCv3nTL.js +0 -1
- package/dist/web/client/assets/subagents-panel-BkOorzzy.js +0 -1
- package/dist/web/client/assets/tool-result-Cp13oeRn.js +0 -4
- package/dist/web/client/assets/ui-preferences-DUEFuJFj.js +0 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
redactSessionLabelSecrets
|
|
3
3
|
} from "./chunk-QK4CHLVV.js";
|
|
4
|
+
import {
|
|
5
|
+
readStoredValue,
|
|
6
|
+
writeStoredValue
|
|
7
|
+
} from "./chunk-SZJUXVWG.js";
|
|
4
8
|
import {
|
|
5
9
|
AnimatePresence,
|
|
6
10
|
useReducedMotion
|
|
@@ -16,7 +20,7 @@ import {
|
|
|
16
20
|
cn
|
|
17
21
|
} from "./chunk-DJMHPJBP.js";
|
|
18
22
|
|
|
19
|
-
// web/app/dist/server/assets/horizontal-resize-
|
|
23
|
+
// web/app/dist/server/assets/horizontal-resize-2lm4rtju.js
|
|
20
24
|
import { Children, cloneElement, forwardRef, isValidElement, useId, useState } from "react";
|
|
21
25
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
22
26
|
var File = createLucideIcon("file", [["path", {
|
|
@@ -30,7 +34,7 @@ var FolderOpen = createLucideIcon("folder-open", [["path", {
|
|
|
30
34
|
d: "m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",
|
|
31
35
|
key: "usdka0"
|
|
32
36
|
}]]);
|
|
33
|
-
var RESOURCE_CANVAS_VIEWPORT_RATIO = 0.
|
|
37
|
+
var RESOURCE_CANVAS_VIEWPORT_RATIO = 0.4;
|
|
34
38
|
var DESKTOP_PANEL_ONLY = "min-[960px]:hidden";
|
|
35
39
|
var WORKSPACE_SPLIT_HIDDEN_BLOCK = "hidden min-[640px]:block";
|
|
36
40
|
var WORKSPACE_SPLIT_GAP_RESET = "min-[640px]:gap-0";
|
|
@@ -184,12 +188,13 @@ function isDaytonaNotConnectedError(error) {
|
|
|
184
188
|
}
|
|
185
189
|
function readStoredWidth(storageKey, defaultWidth, clamp) {
|
|
186
190
|
if (typeof window === "undefined") return defaultWidth;
|
|
187
|
-
const
|
|
191
|
+
const stored = readStoredValue(storageKey);
|
|
192
|
+
if (stored === null) return defaultWidth;
|
|
193
|
+
const value = Number(stored);
|
|
188
194
|
return Number.isFinite(value) ? clamp(value) : defaultWidth;
|
|
189
195
|
}
|
|
190
196
|
function storeStoredWidth(storageKey, width) {
|
|
191
|
-
|
|
192
|
-
window.localStorage.setItem(storageKey, String(Math.round(width)));
|
|
197
|
+
writeStoredValue(storageKey, String(Math.round(width)));
|
|
193
198
|
}
|
|
194
199
|
function startHorizontalResize({ event, getNextWidth, onWidthChange, startWidth, startX }) {
|
|
195
200
|
event.preventDefault();
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
useLabelableContext,
|
|
9
9
|
useLabelableId,
|
|
10
10
|
useRegisterFieldControl
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-P6UMR32I.js";
|
|
12
12
|
import {
|
|
13
13
|
COMPOSITE_KEYS,
|
|
14
14
|
FOCUSABLE_POPUP_PROPS,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
useFloatingTree,
|
|
32
32
|
useScrollLock,
|
|
33
33
|
useSurface
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AGFRJQZ7.js";
|
|
35
35
|
import {
|
|
36
36
|
ARROW_DOWN,
|
|
37
37
|
ARROW_LEFT,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
visuallyHidden,
|
|
63
63
|
visuallyHiddenInput,
|
|
64
64
|
webkit
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-LZ4Q5KUJ.js";
|
|
66
66
|
import {
|
|
67
67
|
Check
|
|
68
68
|
} from "./chunk-4QD4PCVP.js";
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
cn
|
|
120
120
|
} from "./chunk-DJMHPJBP.js";
|
|
121
121
|
|
|
122
|
-
// web/app/dist/server/assets/useRender-
|
|
122
|
+
// web/app/dist/server/assets/useRender-CtIKH5Iu.js
|
|
123
123
|
import * as React$1 from "react";
|
|
124
124
|
import { useLayoutEffect } from "react";
|
|
125
125
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InputGroup,
|
|
3
3
|
InputGroupAddon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-P7H2OPKF.js";
|
|
5
5
|
import {
|
|
6
6
|
Search
|
|
7
7
|
} from "./chunk-JIULUYHT.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
DialogDescription,
|
|
21
21
|
DialogHeader,
|
|
22
22
|
DialogTitle
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AGFRJQZ7.js";
|
|
24
24
|
import {
|
|
25
25
|
Check
|
|
26
26
|
} from "./chunk-4QD4PCVP.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
cn
|
|
29
29
|
} from "./chunk-DJMHPJBP.js";
|
|
30
30
|
|
|
31
|
-
// web/app/dist/server/assets/command-
|
|
31
|
+
// web/app/dist/server/assets/command-C5wJdLIS.js
|
|
32
32
|
import * as t from "react";
|
|
33
33
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
34
34
|
var U = 1;
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
cn
|
|
3
3
|
} from "./chunk-DJMHPJBP.js";
|
|
4
4
|
|
|
5
|
-
// web/app/dist/server/assets/surfaces-
|
|
5
|
+
// web/app/dist/server/assets/surfaces-DlT92b6L.js
|
|
6
6
|
import { useLayoutEffect, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
var paper = "bg-background shadow-[0_1px_2px_rgba(0,0,0,0.04),0_12px_32px_-16px_rgba(0,0,0,0.12)] dark:bg-popover dark:shadow-none";
|
|
@@ -12,7 +12,7 @@ var labelSwap = "col-start-1 row-start-1 flex w-max items-center gap-1.5 leading
|
|
|
12
12
|
var labelSwapIn = "opacity-100 blur-none";
|
|
13
13
|
var labelSwapOut = "pointer-events-none select-none opacity-0 blur-[2px]";
|
|
14
14
|
var collapsePanel = "h-(--collapsible-panel-height) overflow-hidden transition-[height] duration-200 ease-[cubic-bezier(0.32,0.72,0,1)] data-[ending-style]:h-0 data-[starting-style]:h-0 motion-reduce:transition-none";
|
|
15
|
-
var mono = "font-mono text-[
|
|
15
|
+
var mono = "font-mono text-[0.6875rem] tracking-tight";
|
|
16
16
|
function ShimmerLabel({ active = true, className, ...props }) {
|
|
17
17
|
return /* @__PURE__ */ jsx("span", {
|
|
18
18
|
className: cn(active && "shimmer motion-reduce:animate-none", className),
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-PVJCTQFK.js";
|
|
7
7
|
import {
|
|
8
8
|
useHoverCapable
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N6NOTURM.js";
|
|
10
10
|
import {
|
|
11
11
|
LoaderCircle
|
|
12
12
|
} from "./chunk-TNL4YV63.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
cn
|
|
51
51
|
} from "./chunk-DJMHPJBP.js";
|
|
52
52
|
|
|
53
|
-
// web/app/dist/server/assets/prompt-input-
|
|
53
|
+
// web/app/dist/server/assets/prompt-input-CQuyIgBz.js
|
|
54
54
|
import { cloneElement, createContext, forwardRef, isValidElement, useCallback, useContext, useEffect, useEffectEvent, useId, useInsertionEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
55
55
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
56
56
|
import { createPortal } from "react-dom";
|
|
@@ -498,15 +498,15 @@ forwardRef(function StatefulButton({ state = "idle", children, loadingText = "Lo
|
|
|
498
498
|
children: [
|
|
499
499
|
state === "loading" ? /* @__PURE__ */ jsx(IconSlot, {
|
|
500
500
|
keyId: "loading-icon",
|
|
501
|
-
children: /* @__PURE__ */ jsx(LoaderCircle, { className: "
|
|
501
|
+
children: /* @__PURE__ */ jsx(LoaderCircle, { className: "size-4 animate-spin" })
|
|
502
502
|
}) : null,
|
|
503
503
|
state === "success" ? /* @__PURE__ */ jsx(IconSlot, {
|
|
504
504
|
keyId: "success-icon",
|
|
505
|
-
children: /* @__PURE__ */ jsx(Check, { className: "
|
|
505
|
+
children: /* @__PURE__ */ jsx(Check, { className: "size-4" })
|
|
506
506
|
}) : null,
|
|
507
507
|
state === "error" ? /* @__PURE__ */ jsx(IconSlot, {
|
|
508
508
|
keyId: "error-icon",
|
|
509
|
-
children: /* @__PURE__ */ jsx(X, { className: "
|
|
509
|
+
children: /* @__PURE__ */ jsx(X, { className: "size-4" })
|
|
510
510
|
}) : null
|
|
511
511
|
]
|
|
512
512
|
}),
|
|
@@ -894,7 +894,7 @@ function AnimatedSelectTrigger({ className, children }) {
|
|
|
894
894
|
animate: { rotate: ctx.open ? 180 : 0 },
|
|
895
895
|
transition: ctx.reduce ? { duration: 0 } : CHEVRON_TRANSITION,
|
|
896
896
|
className: "text-muted-foreground",
|
|
897
|
-
children: /* @__PURE__ */ jsx(ChevronDown, { className: "
|
|
897
|
+
children: /* @__PURE__ */ jsx(ChevronDown, { className: "size-4" })
|
|
898
898
|
})]
|
|
899
899
|
});
|
|
900
900
|
}
|
|
@@ -1028,7 +1028,7 @@ function AnimatedSelectItem({ value, disabled = false, className, children }) {
|
|
|
1028
1028
|
disabled,
|
|
1029
1029
|
onClick: () => ctx.select(value),
|
|
1030
1030
|
className: cn("flex w-full items-center justify-between gap-2 rounded-lg px-2.5 py-1.5 text-left text-sm outline-none transition-colors", selected ? "bg-muted text-foreground" : "text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:bg-muted", "disabled:pointer-events-none disabled:opacity-50", className),
|
|
1031
|
-
children: [children, selected ? /* @__PURE__ */ jsx(Check, { className: "
|
|
1031
|
+
children: [children, selected ? /* @__PURE__ */ jsx(Check, { className: "size-3.5 shrink-0" }) : null]
|
|
1032
1032
|
})
|
|
1033
1033
|
});
|
|
1034
1034
|
}
|
|
@@ -1058,13 +1058,17 @@ function PromptInput({ value, defaultValue = "", onValueChange, models = [], mod
|
|
|
1058
1058
|
useLayoutEffect(() => {
|
|
1059
1059
|
resizeTextarea();
|
|
1060
1060
|
}, [resizeTextarea]);
|
|
1061
|
+
const resizeRef = useRef(resizeTextarea);
|
|
1062
|
+
useEffect(() => {
|
|
1063
|
+
resizeRef.current = resizeTextarea;
|
|
1064
|
+
});
|
|
1061
1065
|
useEffect(() => {
|
|
1062
1066
|
const textarea = textareaRef.current;
|
|
1063
1067
|
if (!textarea || typeof ResizeObserver === "undefined") return;
|
|
1064
|
-
const observer = new ResizeObserver(
|
|
1068
|
+
const observer = new ResizeObserver(() => resizeRef.current());
|
|
1065
1069
|
observer.observe(textarea);
|
|
1066
1070
|
return () => observer.disconnect();
|
|
1067
|
-
}, [
|
|
1071
|
+
}, []);
|
|
1068
1072
|
const setValue = (next) => {
|
|
1069
1073
|
if (value === void 0) setInternalValue(next);
|
|
1070
1074
|
onValueChange?.(next);
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
cn
|
|
44
44
|
} from "./chunk-DJMHPJBP.js";
|
|
45
45
|
|
|
46
|
-
// web/app/dist/server/assets/tool-result-
|
|
46
|
+
// web/app/dist/server/assets/tool-result-Dd8SJ9RU.js
|
|
47
47
|
import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
48
48
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
49
49
|
var Ban = createLucideIcon("ban", [["circle", {
|
|
@@ -66,6 +66,14 @@ var LIGHT_THEME = "github-light-high-contrast";
|
|
|
66
66
|
var DARK_THEME = "github-dark-high-contrast";
|
|
67
67
|
var agentCodeHighlighter = null;
|
|
68
68
|
var tokenCache = /* @__PURE__ */ new Map();
|
|
69
|
+
var MAX_TOKEN_CACHE_SIZE = 500;
|
|
70
|
+
function setCachedTokens(key, lines) {
|
|
71
|
+
if (tokenCache.size >= MAX_TOKEN_CACHE_SIZE) {
|
|
72
|
+
const firstKey = tokenCache.keys().next().value;
|
|
73
|
+
if (firstKey !== void 0) tokenCache.delete(firstKey);
|
|
74
|
+
}
|
|
75
|
+
tokenCache.set(key, lines);
|
|
76
|
+
}
|
|
69
77
|
var loadShiki = () => import("./dist-BUHRHX7E-XCYWFUBC.js").then((n) => n.t);
|
|
70
78
|
function getAgentCodeHighlighter() {
|
|
71
79
|
if (!agentCodeHighlighter) agentCodeHighlighter = loadShiki().then(({ createHighlighter }) => createHighlighter({
|
|
@@ -119,7 +127,7 @@ function useAgentCodeTokens(code, language) {
|
|
|
119
127
|
light: token.variants.light?.color,
|
|
120
128
|
dark: token.variants.dark?.color
|
|
121
129
|
})));
|
|
122
|
-
|
|
130
|
+
setCachedTokens(key, lines);
|
|
123
131
|
setResult({
|
|
124
132
|
key,
|
|
125
133
|
code,
|
|
@@ -218,11 +226,11 @@ function CodeBlock({ code, language = "typescript", languageLabel, filename, sta
|
|
|
218
226
|
children: filename
|
|
219
227
|
}) : null,
|
|
220
228
|
/* @__PURE__ */ jsx("span", {
|
|
221
|
-
className: "text-[
|
|
229
|
+
className: "text-[0.625rem] font-medium uppercase tracking-wide text-muted-foreground/55",
|
|
222
230
|
children: resolvedLanguageLabel
|
|
223
231
|
}),
|
|
224
232
|
showStatus ? /* @__PURE__ */ jsxs("span", {
|
|
225
|
-
className: cn("ml-auto inline-flex shrink-0 items-center gap-1 text-[
|
|
233
|
+
className: cn("ml-auto inline-flex shrink-0 items-center gap-1 text-[0.625rem] font-medium", streaming ? "text-blue-600 dark:text-blue-400" : "text-emerald-600 dark:text-emerald-400"),
|
|
226
234
|
children: [streaming ? /* @__PURE__ */ jsx(LoaderCircle, { className: cn("size-3", !reduce && "animate-spin") }) : /* @__PURE__ */ jsx(Check, { className: "size-3" }), streaming ? "Writing" : "Ready"]
|
|
227
235
|
}) : null,
|
|
228
236
|
copyable || onCopy ? /* @__PURE__ */ jsx(m.button, {
|
|
@@ -239,7 +247,7 @@ function CodeBlock({ code, language = "typescript", languageLabel, filename, sta
|
|
|
239
247
|
}), /* @__PURE__ */ jsx("div", {
|
|
240
248
|
ref: viewportRef,
|
|
241
249
|
role: streaming ? "log" : void 0,
|
|
242
|
-
"aria-live": streaming ? "
|
|
250
|
+
"aria-live": streaming ? "off" : void 0,
|
|
243
251
|
className: "overflow-auto border-t border-foreground/[0.06] py-2 [scrollbar-color:color-mix(in_oklab,var(--muted-foreground)_35%,transparent)_transparent] [scrollbar-width:thin]",
|
|
244
252
|
style: { maxHeight },
|
|
245
253
|
children: /* @__PURE__ */ jsx("pre", {
|
|
@@ -387,7 +395,7 @@ function FileDiff({ file, lines, status = "streaming", open, defaultOpen = true,
|
|
|
387
395
|
children: [/* @__PURE__ */ jsx("div", {
|
|
388
396
|
ref: viewportRef,
|
|
389
397
|
"data-slot": "file-diff-viewport",
|
|
390
|
-
"aria-live": "polite",
|
|
398
|
+
"aria-live": streaming ? "off" : "polite",
|
|
391
399
|
className: "scrollbar-hide overflow-auto",
|
|
392
400
|
style: { maxHeight },
|
|
393
401
|
children: /* @__PURE__ */ jsxs("div", {
|
|
@@ -482,7 +490,7 @@ function ToolResultOutput({ children, language: _language = "bash", label, class
|
|
|
482
490
|
return /* @__PURE__ */ jsxs("div", {
|
|
483
491
|
className: "space-y-1.5",
|
|
484
492
|
children: [label ? /* @__PURE__ */ jsx("div", {
|
|
485
|
-
className: "px-0.5 text-[
|
|
493
|
+
className: "px-0.5 text-[0.625rem] font-medium uppercase tracking-[0.12em] text-muted-foreground/60",
|
|
486
494
|
children: label
|
|
487
495
|
}) : null, /* @__PURE__ */ jsx("pre", {
|
|
488
496
|
className: cn("m-0 whitespace-pre-wrap break-words font-mono text-xs leading-5 text-foreground/80", className),
|
|
@@ -577,7 +585,7 @@ function ToolResult({ tool, title, children, status = "running", kind = "custom"
|
|
|
577
585
|
})
|
|
578
586
|
}) : null,
|
|
579
587
|
/* @__PURE__ */ jsx("span", {
|
|
580
|
-
className: "min-w-0 truncate font-mono text-[
|
|
588
|
+
className: "min-w-0 truncate font-mono text-[0.6875rem] text-muted-foreground/55",
|
|
581
589
|
children: /* @__PURE__ */ jsx(ActionSwapRollText, {
|
|
582
590
|
value: toolKey,
|
|
583
591
|
children: tool
|
|
@@ -586,7 +594,7 @@ function ToolResult({ tool, title, children, status = "running", kind = "custom"
|
|
|
586
594
|
]
|
|
587
595
|
}),
|
|
588
596
|
/* @__PURE__ */ jsxs("span", {
|
|
589
|
-
className: cn("inline-flex shrink-0 items-center gap-1 text-[
|
|
597
|
+
className: cn("inline-flex shrink-0 items-center gap-1 text-[0.6875rem] font-medium", getStatusClass(status)),
|
|
590
598
|
children: [/* @__PURE__ */ jsx(StatusIcon, {
|
|
591
599
|
status,
|
|
592
600
|
reduce
|
|
@@ -636,7 +644,7 @@ function ToolResult({ tool, title, children, status = "running", kind = "custom"
|
|
|
636
644
|
children: /* @__PURE__ */ jsx(RotateCcw, { className: "size-3.5" })
|
|
637
645
|
}) : null,
|
|
638
646
|
/* @__PURE__ */ jsx("span", {
|
|
639
|
-
className: "ml-auto text-[
|
|
647
|
+
className: "ml-auto text-[0.6875rem] text-muted-foreground/55",
|
|
640
648
|
children: /* @__PURE__ */ jsx(ActionSwapRollText, {
|
|
641
649
|
value: status,
|
|
642
650
|
children: statusLabel
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
notify
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-WYL2DW5R.js";
|
|
4
|
+
import "./chunk-KOUEJ3NU.js";
|
|
5
5
|
import "./chunk-TNL4YV63.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-LZ4Q5KUJ.js";
|
|
7
7
|
import {
|
|
8
8
|
X
|
|
9
9
|
} from "./chunk-JBLHIEVG.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-JDCCC7A7.js";
|
|
|
17
17
|
import "./chunk-L547YHC4.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
|
|
20
|
-
// web/app/dist/server/assets/fleet-message-queue-
|
|
20
|
+
// web/app/dist/server/assets/fleet-message-queue-j0DCU5Xy.js
|
|
21
21
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
22
22
|
var LANES = [{
|
|
23
23
|
key: "steering",
|
|
@@ -50,7 +50,7 @@ function FleetMessageQueue({ queue, onDelete, className }) {
|
|
|
50
50
|
className: "flex min-w-0 items-center gap-2 rounded-lg bg-background/80 px-2 py-1.5 text-sm",
|
|
51
51
|
children: [
|
|
52
52
|
/* @__PURE__ */ jsx("span", {
|
|
53
|
-
className: "shrink-0 text-[
|
|
53
|
+
className: "shrink-0 text-[0.625rem] font-medium uppercase tracking-wide text-muted-foreground",
|
|
54
54
|
children: label
|
|
55
55
|
}),
|
|
56
56
|
/* @__PURE__ */ jsx("span", {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FleetPiToolRenderer,
|
|
3
3
|
fleet_pi_tool_renderer_exports
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-JQDLJ7KI.js";
|
|
5
|
+
import "./chunk-N6NOTURM.js";
|
|
6
6
|
import "./chunk-QPNUGF3V.js";
|
|
7
7
|
import "./chunk-V3S6BVXO.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-XLNCWZMZ.js";
|
|
9
9
|
import "./chunk-2ST2ULW7.js";
|
|
10
10
|
import "./chunk-BLSX7WHW.js";
|
|
11
11
|
import "./chunk-3JMESBAT.js";
|
|
@@ -13,7 +13,7 @@ import "./chunk-XA42CHF2.js";
|
|
|
13
13
|
import "./chunk-P66QQWUM.js";
|
|
14
14
|
import "./chunk-JIULUYHT.js";
|
|
15
15
|
import "./chunk-LY5XOHHU.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-YXXRP3NS.js";
|
|
17
17
|
import "./chunk-2ATMSG7U.js";
|
|
18
18
|
import "./chunk-HFQTI7AX.js";
|
|
19
19
|
import "./chunk-HSJMLO36.js";
|
|
@@ -36,7 +36,7 @@ import "./chunk-C5X6G26O.js";
|
|
|
36
36
|
import "./chunk-ST5I2PLN.js";
|
|
37
37
|
import "./chunk-AR7O7JXD.js";
|
|
38
38
|
import "./chunk-ZCVWADNW.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-NXJ32VFR.js";
|
|
40
40
|
import "./chunk-X7D6GFQU.js";
|
|
41
41
|
import "./chunk-BYXBJQAS.js";
|
|
42
42
|
import "./chunk-4ZIEVI5O.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ShimmerLabel,
|
|
6
6
|
SwapLabel,
|
|
7
7
|
collapsePanel
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XLNCWZMZ.js";
|
|
9
9
|
import {
|
|
10
10
|
Collapsible,
|
|
11
11
|
CollapsibleContent,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import "./chunk-JDCCC7A7.js";
|
|
25
25
|
import "./chunk-MLKGABMK.js";
|
|
26
26
|
|
|
27
|
-
// web/app/dist/server/assets/fleet-reasoning-panel-
|
|
27
|
+
// web/app/dist/server/assets/fleet-reasoning-panel-BxC2COxi.js
|
|
28
28
|
import { useMemo, useState } from "react";
|
|
29
29
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
30
30
|
var CELL_SHAPES = {
|
|
@@ -66,7 +66,7 @@ function ThinkingIndicator({ label, elapsed, className, ...props }) {
|
|
|
66
66
|
children: label
|
|
67
67
|
}, label),
|
|
68
68
|
elapsed !== void 0 && /* @__PURE__ */ jsx("span", {
|
|
69
|
-
className: cn("font-mono text-[
|
|
69
|
+
className: cn("font-mono text-[0.6875rem] tracking-tight", "text-foreground/30 tabular-nums"),
|
|
70
70
|
children: elapsed
|
|
71
71
|
})
|
|
72
72
|
]
|
|
@@ -80,7 +80,7 @@ function ReasoningPanel({ steps, visibleSteps, streaming, streamingLabel = "Thin
|
|
|
80
80
|
onOpenChange,
|
|
81
81
|
className: cn("w-full max-w-sm", className),
|
|
82
82
|
children: [/* @__PURE__ */ jsxs(CollapsibleTrigger, {
|
|
83
|
-
className: "group/trigger text-foreground/55 hover:text-foreground/90 flex items-center gap-1.5 py-1 text-[
|
|
83
|
+
className: "group/trigger text-foreground/55 hover:text-foreground/90 flex items-center gap-1.5 py-1 text-[0.84375rem] transition-[color,scale] outline-none active:scale-[0.98]",
|
|
84
84
|
children: [/* @__PURE__ */ jsxs(SwapLabel, {
|
|
85
85
|
active: streaming ? 0 : 1,
|
|
86
86
|
className: "text-start",
|
|
@@ -89,7 +89,7 @@ function ReasoningPanel({ steps, visibleSteps, streaming, streamingLabel = "Thin
|
|
|
89
89
|
className: "relative inline-block leading-none",
|
|
90
90
|
children: streamingLabel
|
|
91
91
|
}), elapsed !== void 0 && /* @__PURE__ */ jsx("span", {
|
|
92
|
-
className: cn("font-mono text-[
|
|
92
|
+
className: cn("font-mono text-[0.6875rem] tracking-tight", "text-foreground/30 tabular-nums"),
|
|
93
93
|
children: elapsed
|
|
94
94
|
})] }), /* @__PURE__ */ jsx(Fragment$1, { children: restingLabel })]
|
|
95
95
|
}), /* @__PURE__ */ jsx(ChevronDown, { className: "size-3.5 shrink-0 opacity-60 transition-transform duration-200 ease-[cubic-bezier(0.32,0.72,0,1)] group-data-open/trigger:rotate-180 group-data-panel-open/trigger:rotate-180 motion-reduce:transition-none" })]
|
|
@@ -107,10 +107,10 @@ function ReasoningPanel({ steps, visibleSteps, streaming, streamingLabel = "Thin
|
|
|
107
107
|
}), /* @__PURE__ */ jsxs("span", {
|
|
108
108
|
className: "flex min-w-0 flex-1 flex-col",
|
|
109
109
|
children: [/* @__PURE__ */ jsx("p", {
|
|
110
|
-
className: "text-foreground/90 text-[
|
|
110
|
+
className: "text-foreground/90 text-[0.84375rem] font-medium",
|
|
111
111
|
children: step.title
|
|
112
112
|
}), /* @__PURE__ */ jsx("p", {
|
|
113
|
-
className: "text-foreground/50 mt-0.5 text-[
|
|
113
|
+
className: "text-foreground/50 mt-0.5 text-[0.8125rem] leading-relaxed break-words",
|
|
114
114
|
children: step.body
|
|
115
115
|
})]
|
|
116
116
|
})]
|
|
@@ -143,7 +143,7 @@ function FleetReasoningPanel({ presentation, className, streamingOverride }) {
|
|
|
143
143
|
children: activeStep?.body ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(ThinkingIndicator, {
|
|
144
144
|
label: activeLabel,
|
|
145
145
|
elapsed,
|
|
146
|
-
className: "text-[
|
|
146
|
+
className: "text-[0.8125rem]"
|
|
147
147
|
}), /* @__PURE__ */ jsx("p", {
|
|
148
148
|
className: "pl-4 text-xs font-normal text-muted-foreground",
|
|
149
149
|
children: activeStep.body
|
|
@@ -151,7 +151,7 @@ function FleetReasoningPanel({ presentation, className, streamingOverride }) {
|
|
|
151
151
|
label: activeLabel,
|
|
152
152
|
tick: Math.floor((presentation.elapsedMs ?? 0) / 250),
|
|
153
153
|
variant: "dots",
|
|
154
|
-
className: "items-start gap-2
|
|
154
|
+
className: "items-start gap-2 p-1 text-left"
|
|
155
155
|
})
|
|
156
156
|
}) : null, /* @__PURE__ */ jsx(ReasoningPanel, {
|
|
157
157
|
steps,
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DialogDescription,
|
|
5
5
|
DialogHeader,
|
|
6
6
|
DialogTitle
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-AGFRJQZ7.js";
|
|
8
|
+
import "./chunk-LZ4Q5KUJ.js";
|
|
9
9
|
import "./chunk-7SR6WDM2.js";
|
|
10
10
|
import "./chunk-JBLHIEVG.js";
|
|
11
11
|
import "./chunk-C5X6G26O.js";
|
|
@@ -15,7 +15,7 @@ import "./chunk-JDCCC7A7.js";
|
|
|
15
15
|
import "./chunk-L547YHC4.js";
|
|
16
16
|
import "./chunk-MLKGABMK.js";
|
|
17
17
|
|
|
18
|
-
// web/app/dist/server/assets/fork-picker-dialog-
|
|
18
|
+
// web/app/dist/server/assets/fork-picker-dialog-DlINz9UQ.js
|
|
19
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
20
20
|
function ForkPickerDialog({ entries, onOpenChange, onPick }) {
|
|
21
21
|
const open = entries !== null && entries.length > 0;
|
|
@@ -28,7 +28,7 @@ function ForkPickerDialog({ entries, onOpenChange, onPick }) {
|
|
|
28
28
|
className: "flex max-h-[min(420px,60vh)] flex-col gap-1 overflow-y-auto",
|
|
29
29
|
children: (entries ?? []).map((entry) => /* @__PURE__ */ jsxs("button", {
|
|
30
30
|
type: "button",
|
|
31
|
-
className: "flex w-full cursor-pointer flex-col gap-0.5 rounded-md
|
|
31
|
+
className: "flex w-full cursor-pointer flex-col gap-0.5 rounded-md p-2 text-left text-[0.8125rem] leading-5 hover:bg-foreground/6",
|
|
32
32
|
onClick: () => {
|
|
33
33
|
onPick(entry.id);
|
|
34
34
|
onOpenChange(false);
|
|
@@ -37,7 +37,7 @@ function ForkPickerDialog({ entries, onOpenChange, onPick }) {
|
|
|
37
37
|
className: "truncate font-medium",
|
|
38
38
|
children: entry.preview
|
|
39
39
|
}), /* @__PURE__ */ jsx("span", {
|
|
40
|
-
className: "truncate font-mono text-[
|
|
40
|
+
className: "truncate font-mono text-[0.6875rem] text-foreground/40",
|
|
41
41
|
children: entry.id
|
|
42
42
|
})]
|
|
43
43
|
}, entry.id))
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
CommandInput,
|
|
9
9
|
CommandItem,
|
|
10
10
|
CommandList
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-XKKXXG6N.js";
|
|
12
|
+
import "./chunk-P7H2OPKF.js";
|
|
13
13
|
import "./chunk-JIULUYHT.js";
|
|
14
14
|
import {
|
|
15
15
|
SPRING_GLIDE,
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
} from "./chunk-K3BXQG3N.js";
|
|
18
18
|
import "./chunk-FAGDMGLK.js";
|
|
19
19
|
import "./chunk-7PQTPSEE.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-P6UMR32I.js";
|
|
21
|
+
import "./chunk-AGFRJQZ7.js";
|
|
22
|
+
import "./chunk-LZ4Q5KUJ.js";
|
|
23
23
|
import {
|
|
24
24
|
Check
|
|
25
25
|
} from "./chunk-4QD4PCVP.js";
|
|
@@ -35,7 +35,7 @@ import "./chunk-JDCCC7A7.js";
|
|
|
35
35
|
import "./chunk-L547YHC4.js";
|
|
36
36
|
import "./chunk-MLKGABMK.js";
|
|
37
37
|
|
|
38
|
-
// web/app/dist/server/assets/model-selector-list-
|
|
38
|
+
// web/app/dist/server/assets/model-selector-list-OYnzNbyu.js
|
|
39
39
|
import { useId, useMemo, useState } from "react";
|
|
40
40
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
41
41
|
function clamp(value, min, max) {
|
|
@@ -138,18 +138,18 @@ function Slider({ value, onChange, min = 0, max = 100, step = 1, label, formatVa
|
|
|
138
138
|
"aria-hidden": "true",
|
|
139
139
|
className: "pointer-events-none absolute inset-0 z-[2] flex items-center px-2",
|
|
140
140
|
children: [label ? /* @__PURE__ */ jsx("span", {
|
|
141
|
-
className: "px-2 text-[
|
|
141
|
+
className: "px-2 text-[0.8125rem] text-transparent select-none",
|
|
142
142
|
"aria-hidden": "true",
|
|
143
143
|
children: label
|
|
144
144
|
}) : null, /* @__PURE__ */ jsx("span", {
|
|
145
|
-
className: "ml-auto px-2 text-[
|
|
145
|
+
className: "ml-auto px-2 text-[0.8125rem] text-transparent tabular-nums select-none",
|
|
146
146
|
style: { minWidth: `${maxValueText.length}ch` },
|
|
147
147
|
"aria-hidden": "true",
|
|
148
148
|
children: maxValueText
|
|
149
149
|
})]
|
|
150
150
|
}),
|
|
151
151
|
/* @__PURE__ */ jsxs("div", {
|
|
152
|
-
className: "pointer-events-none absolute inset-0 z-[4] flex items-center px-2 text-[
|
|
152
|
+
className: "pointer-events-none absolute inset-0 z-[4] flex items-center px-2 text-[0.8125rem]",
|
|
153
153
|
children: [label ? /* @__PURE__ */ jsx(m.span, {
|
|
154
154
|
className: "px-2",
|
|
155
155
|
animate: { color: hovered || focused ? "var(--foreground)" : "var(--muted-foreground)" },
|
|
@@ -244,7 +244,7 @@ function ModelSelectorList({ models, selectedModel, selectedEffort, effortLabel,
|
|
|
244
244
|
className: "truncate text-sm font-medium",
|
|
245
245
|
children: model.name
|
|
246
246
|
}), model.disabled ? /* @__PURE__ */ jsx("span", {
|
|
247
|
-
className: "shrink-0 text-[
|
|
247
|
+
className: "shrink-0 text-[0.625rem] uppercase tracking-wide text-muted-foreground",
|
|
248
248
|
children: "Unavailable"
|
|
249
249
|
}) : null]
|
|
250
250
|
}),
|
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
GenerativeTextRenderer,
|
|
3
3
|
OpenUIHtmlArtifactView,
|
|
4
4
|
openui_renderer_exports
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ABBWBBSS.js";
|
|
6
|
+
import "./chunk-BXWAUTTH.js";
|
|
7
|
+
import "./chunk-7MDZVLIY.js";
|
|
8
|
+
import "./chunk-GGT2ZKDB.js";
|
|
9
|
+
import "./chunk-UAPNEWCA.js";
|
|
10
|
+
import "./chunk-WM4PUT6M.js";
|
|
11
11
|
import "./chunk-RJOANOT4.js";
|
|
12
12
|
import "./chunk-NFRJDPB3.js";
|
|
13
13
|
import "./chunk-OZO5ARFA.js";
|
|
14
14
|
import "./chunk-L46H6IDX.js";
|
|
15
15
|
import "./chunk-WWJF4RO2.js";
|
|
16
16
|
import "./chunk-7PQTPSEE.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-P6UMR32I.js";
|
|
18
|
+
import "./chunk-AGFRJQZ7.js";
|
|
19
|
+
import "./chunk-LZ4Q5KUJ.js";
|
|
20
20
|
import "./chunk-4QD4PCVP.js";
|
|
21
21
|
import "./chunk-S3PQ6HKH.js";
|
|
22
22
|
import "./chunk-7SR6WDM2.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paper
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XLNCWZMZ.js";
|
|
4
4
|
import {
|
|
5
5
|
cn
|
|
6
6
|
} from "./chunk-DJMHPJBP.js";
|
|
7
7
|
import "./chunk-JDCCC7A7.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
|
|
10
|
-
// web/app/dist/server/assets/prompt-suggestions-
|
|
10
|
+
// web/app/dist/server/assets/prompt-suggestions-D4AEEY7K.js
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
12
12
|
function PromptSuggestions({ suggestions, selectedSuggestion, cycle, onSuggestion, variant = "pills", className, ...props }) {
|
|
13
13
|
const list = variant === "list";
|
|
@@ -19,7 +19,7 @@ function PromptSuggestions({ suggestions, selectedSuggestion, cycle, onSuggestio
|
|
|
19
19
|
type: "button",
|
|
20
20
|
"aria-pressed": selectedSuggestion === suggestion,
|
|
21
21
|
onClick: () => onSuggestion(suggestion),
|
|
22
|
-
className: cn(paper, "fade-in slide-in-from-bottom-2 animate-in fill-mode-both flex cursor-pointer items-center text-[
|
|
22
|
+
className: cn(paper, "fade-in slide-in-from-bottom-2 animate-in fill-mode-both flex cursor-pointer items-center text-[0.8125rem] text-foreground/80 transition-[color,transform] duration-300 hover:-translate-y-px hover:text-foreground focus-visible:text-foreground active:scale-[0.96] motion-reduce:animate-none", list ? "w-full rounded-2xl px-4 py-2.5 text-start" : "rounded-full px-4 py-2", selectedSuggestion === suggestion && "!bg-foreground !text-background hover:!text-background focus-visible:!text-background"),
|
|
23
23
|
style: { animationDelay: `${index * 70}ms` },
|
|
24
24
|
children: suggestion
|
|
25
25
|
}, suggestion))
|