@qredence/fleet 0.5.1 → 0.5.5
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 +7 -0
- package/bin/fleet-prime.mjs +6 -0
- package/dist/web/client/assets/action-swap-roll-DX5o_33Q.js +1 -0
- package/dist/web/client/assets/artifacts-panel-C3yewUBP.js +1 -0
- package/dist/web/client/assets/{chat-CsepBQwy.js → chat-W-yOMyG_.js} +1 -1
- package/dist/web/client/assets/chat-command-palette-D0xDK1j4.js +1 -0
- package/dist/web/client/assets/command-CQzrtjyj.js +2 -0
- package/dist/web/client/assets/{fleet-pi-tool-renderer-BD_ZAjlG.js → fleet-pi-tool-renderer-B0Y7ou0U.js} +16 -16
- package/dist/web/client/assets/generative-text-renderer-SS9c1kNX.js +6 -0
- package/dist/web/client/assets/globals-D_Hy9bT1.css +2 -0
- package/dist/web/client/assets/{index-DweoFRMs.js → index-C9FloFgj.js} +2 -2
- package/dist/web/client/assets/{ipython-tool-BfeIa0nK.js → ipython-tool-BrMePqD-.js} +1 -1
- package/dist/web/client/assets/{openui-renderer-DlUo6ehT.js → openui-renderer-CCfQqUfE.js} +5 -5
- package/dist/web/client/assets/{prime-agent-artifacts-CHGb5V_j.js → prime-agent-artifacts-C-g1VPiW.js} +1 -1
- package/dist/web/client/assets/range-65lubOFp.js +2 -0
- package/dist/web/client/assets/repl-panel-CCh4ly7J.js +1 -0
- package/dist/web/client/assets/routes-DSTyx_J0.js +16 -0
- package/dist/web/client/assets/session-insights-panel-CQdT90Op.js +1 -0
- package/dist/web/client/assets/subagent-chat-panel-D-qw4uWb.js +1 -0
- package/dist/web/client/assets/subagent-transcript-C7oRwEEP.js +1 -0
- package/dist/web/client/assets/subagents-panel-aSMWZP9p.js +1 -0
- package/dist/web/client/assets/{tool-result-CBzwwUE9.js → tool-result-C2NvnN32.js} +3 -3
- package/dist/web/server/{_tanstack-start-manifest_v-bDUlyKY0-KFW35JRO.js → _tanstack-start-manifest_v-DZc7dwm7-6ZQLGXB7.js} +13 -13
- package/dist/web/server/{artifacts-panel-D9w1DHAN-FGRDCYU2.js → artifacts-panel-Bt7YUzm4-NCBMXJ25.js} +15 -15
- package/dist/web/server/{chat-command-palette-BaenPkCN-BHSOPGU4.js → chat-command-palette-Co1L3rUY-RQLNME4T.js} +33 -12
- package/dist/web/server/{chunk-KPNGZR2R.js → chunk-2V6B62OF.js} +204 -204
- package/dist/web/server/{chunk-44IVTHDV.js → chunk-3HUI75QM.js} +60 -60
- package/dist/web/server/{chunk-5AVQZ4AZ.js → chunk-4UBOIY2S.js} +2 -1
- package/dist/web/server/{chunk-Y6LJ4WBI.js → chunk-56HSKUBD.js} +699 -691
- package/dist/web/server/{chunk-RPROZ2JC.js → chunk-5RQ6QAZX.js} +133 -133
- package/dist/web/server/{chunk-PWK2HJIV.js → chunk-6D524OCJ.js} +175 -175
- package/dist/web/server/{chunk-FBOO3G67.js → chunk-AECEK3K7.js} +6 -6
- package/dist/web/server/{chunk-VHCAD46L.js → chunk-AWFOBHH4.js} +4 -4
- package/dist/web/server/{chunk-FVWDJNXR.js → chunk-BEMDNODD.js} +1 -1
- package/dist/web/server/{chunk-X2TUFLTP.js → chunk-BLVCDQ7E.js} +438 -438
- package/dist/web/server/{chunk-EIVNRYP3.js → chunk-FZRBAPUM.js} +2 -2
- package/dist/web/server/chunk-KOIPYBJF.js +3773 -0
- package/dist/web/server/{chunk-XYYNYFFD.js → chunk-LSIHVSUT.js} +2 -2
- package/dist/web/server/{chunk-H64JLONZ.js → chunk-PDRD2X5G.js} +2 -2
- package/dist/web/server/{chunk-FE4KN6T2.js → chunk-RX62LUDV.js} +4 -4
- package/dist/web/server/chunk-SR65ARVS.js +192 -0
- package/dist/web/server/{chunk-WK7CQS2N.js → chunk-SZ65K4CO.js} +48 -48
- package/dist/web/server/{chunk-DO3TVNGA.js → chunk-TO3YPLNZ.js} +6 -6
- package/dist/web/server/{chunk-3IKSPTYI.js → chunk-UKINNXJY.js} +2 -2
- package/dist/web/server/{chunk-M2FGGPNA.js → chunk-VGDP4YDU.js} +70 -45
- package/dist/web/server/{chunk-PCJ5EKFE.js → chunk-VRLTWOVJ.js} +11 -6
- package/dist/web/server/{chunk-HBZ6YKRB.js → chunk-WN77JNYY.js} +2 -2
- package/dist/web/server/{chunk-2U7PWSJX.js → chunk-WZNZQNI4.js} +231 -3633
- package/dist/web/server/{chunk-B2F6MLVZ.js → chunk-XFVL5ITL.js} +2246 -2228
- package/dist/web/server/{chunk-3GSFXWL5.js → chunk-XLCTCC4W.js} +3 -3
- package/dist/web/server/{chunk-AZZHUVJR.js → chunk-Y4MHIA7B.js} +18 -26
- package/dist/web/server/{fleet-pi-tool-renderer-lJvZWmBJ-4M5YI6VS.js → fleet-pi-tool-renderer-CE45vM6T-2UQN6RJM.js} +11 -9
- package/dist/web/server/{fork-picker-dialog-BZzfxdQd-Y725VJ7G.js → fork-picker-dialog-DCzuGelH-TN2Q5OXI.js} +5 -5
- package/dist/web/server/{openui-renderer-Cg4RSE9k-7BTJIYZJ.js → openui-renderer-c36_GYes-HX46N4M5.js} +11 -11
- package/dist/web/server/{repl-panel-BEQrC2ef-V3YEZ7EO.js → repl-panel-D9E8nkQy-L45ZNG2V.js} +4 -3
- package/dist/web/server/{router-CEahIUpn-SRG7XKIH.js → router-_ZpegqiQ-QIE44PIB.js} +1737 -1370
- package/dist/web/server/{routes-BznemByz-F4DJAYIM.js → routes-Ct81-8Tq-LHRMOS7R.js} +2882 -2330
- package/dist/web/server/server.js +3 -3
- package/dist/web/server/{session-insights-panel-JfeTHE0d-3HZB3ZWI.js → session-insights-panel-BHZyKDTo-LRMAMA3O.js} +4 -2
- package/dist/web/server/{settings-dialog-DgeBMORv-7SRSENPM.js → settings-dialog-B4uUS6f--AZ4I4ZOT.js} +142 -142
- package/dist/web/server/{start-CLAD7RcD-56S4BWMM.js → start-BYVnok_H-IA6TWGA3.js} +1 -1
- package/dist/web/server/subagent-chat-panel-C97S3WID-DLOAD5TG.js +63 -0
- package/dist/web/server/subagents-panel-iHpvMIZy-LI6XK66M.js +181 -0
- package/dist/web/server/{workspace-panel-y54P79_B-VPIYUXF6.js → workspace-panel-CHPoiXEo-YB4WS3MK.js} +2 -2
- package/package.json +5 -5
- package/dist/web/client/assets/artifacts-panel-CX62LQ13.js +0 -1
- package/dist/web/client/assets/chat-command-palette-C4sSf8Kg.js +0 -1
- package/dist/web/client/assets/collapsible-DmyYcezk.js +0 -1
- package/dist/web/client/assets/command-CB6emP8m.js +0 -2
- package/dist/web/client/assets/conversation-turns-ByFoWPXe.js +0 -6
- package/dist/web/client/assets/globals-CqqQdk2S.css +0 -2
- package/dist/web/client/assets/range-vSJ7Ux_5.js +0 -2
- package/dist/web/client/assets/repl-panel-DiGS6uCw.js +0 -1
- package/dist/web/client/assets/routes-CxlNCi_v.js +0 -16
- package/dist/web/client/assets/session-insights-panel-DwmwiikS.js +0 -1
- package/dist/web/client/assets/subagents-panel-DGnsK6Nx.js +0 -1
- package/dist/web/server/chunk-ZEVZFLIY.js +0 -334
- package/dist/web/server/subagents-panel-CzZe3co7-2VZ5JTWF.js +0 -332
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
useFloatingTree,
|
|
31
31
|
useRenderDialogRoot,
|
|
32
32
|
useSurface
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RX62LUDV.js";
|
|
34
34
|
import {
|
|
35
35
|
Button,
|
|
36
36
|
Timeout,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
ownerDocument,
|
|
44
44
|
require_shim,
|
|
45
45
|
useTimeout
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5RQ6QAZX.js";
|
|
47
47
|
import {
|
|
48
48
|
useValueAsRef
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-LSIHVSUT.js";
|
|
50
50
|
import {
|
|
51
51
|
NOOP,
|
|
52
52
|
addEventListener,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
useOnMount,
|
|
58
58
|
useRefWithInit,
|
|
59
59
|
useStableCallback
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-BLVCDQ7E.js";
|
|
61
61
|
import {
|
|
62
62
|
Plug
|
|
63
63
|
} from "./chunk-BSFYTSN6.js";
|
|
@@ -68,10 +68,204 @@ import {
|
|
|
68
68
|
cn
|
|
69
69
|
} from "./chunk-DJMHPJBP.js";
|
|
70
70
|
|
|
71
|
-
// web/app/dist/server/assets/provider-label-
|
|
71
|
+
// web/app/dist/server/assets/provider-label-BYLv2FFs.js
|
|
72
72
|
import * as React$1 from "react";
|
|
73
73
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
74
74
|
import * as ReactDOM from "react-dom";
|
|
75
|
+
var ArrowLeft = createLucideIcon("arrow-left", [["path", {
|
|
76
|
+
d: "m12 19-7-7 7-7",
|
|
77
|
+
key: "1l729n"
|
|
78
|
+
}], ["path", {
|
|
79
|
+
d: "M19 12H5",
|
|
80
|
+
key: "x3x0zl"
|
|
81
|
+
}]]);
|
|
82
|
+
var Brain = createLucideIcon("brain", [
|
|
83
|
+
["path", {
|
|
84
|
+
d: "M12 18V5",
|
|
85
|
+
key: "adv99a"
|
|
86
|
+
}],
|
|
87
|
+
["path", {
|
|
88
|
+
d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",
|
|
89
|
+
key: "1e3is1"
|
|
90
|
+
}],
|
|
91
|
+
["path", {
|
|
92
|
+
d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",
|
|
93
|
+
key: "1gqd8o"
|
|
94
|
+
}],
|
|
95
|
+
["path", {
|
|
96
|
+
d: "M17.997 5.125a4 4 0 0 1 2.526 5.77",
|
|
97
|
+
key: "iwvgf7"
|
|
98
|
+
}],
|
|
99
|
+
["path", {
|
|
100
|
+
d: "M18 18a4 4 0 0 0 2-7.464",
|
|
101
|
+
key: "efp6ie"
|
|
102
|
+
}],
|
|
103
|
+
["path", {
|
|
104
|
+
d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",
|
|
105
|
+
key: "1gq6am"
|
|
106
|
+
}],
|
|
107
|
+
["path", {
|
|
108
|
+
d: "M6 18a4 4 0 0 1-2-7.464",
|
|
109
|
+
key: "k1g0md"
|
|
110
|
+
}],
|
|
111
|
+
["path", {
|
|
112
|
+
d: "M6.003 5.125a4 4 0 0 0-2.526 5.77",
|
|
113
|
+
key: "q97ue3"
|
|
114
|
+
}]
|
|
115
|
+
]);
|
|
116
|
+
var Cpu = createLucideIcon("cpu", [
|
|
117
|
+
["path", {
|
|
118
|
+
d: "M12 20v2",
|
|
119
|
+
key: "1lh1kg"
|
|
120
|
+
}],
|
|
121
|
+
["path", {
|
|
122
|
+
d: "M12 2v2",
|
|
123
|
+
key: "tus03m"
|
|
124
|
+
}],
|
|
125
|
+
["path", {
|
|
126
|
+
d: "M17 20v2",
|
|
127
|
+
key: "1rnc9c"
|
|
128
|
+
}],
|
|
129
|
+
["path", {
|
|
130
|
+
d: "M17 2v2",
|
|
131
|
+
key: "11trls"
|
|
132
|
+
}],
|
|
133
|
+
["path", {
|
|
134
|
+
d: "M2 12h2",
|
|
135
|
+
key: "1t8f8n"
|
|
136
|
+
}],
|
|
137
|
+
["path", {
|
|
138
|
+
d: "M2 17h2",
|
|
139
|
+
key: "7oei6x"
|
|
140
|
+
}],
|
|
141
|
+
["path", {
|
|
142
|
+
d: "M2 7h2",
|
|
143
|
+
key: "asdhe0"
|
|
144
|
+
}],
|
|
145
|
+
["path", {
|
|
146
|
+
d: "M20 12h2",
|
|
147
|
+
key: "1q8mjw"
|
|
148
|
+
}],
|
|
149
|
+
["path", {
|
|
150
|
+
d: "M20 17h2",
|
|
151
|
+
key: "1fpfkl"
|
|
152
|
+
}],
|
|
153
|
+
["path", {
|
|
154
|
+
d: "M20 7h2",
|
|
155
|
+
key: "1o8tra"
|
|
156
|
+
}],
|
|
157
|
+
["path", {
|
|
158
|
+
d: "M7 20v2",
|
|
159
|
+
key: "4gnj0m"
|
|
160
|
+
}],
|
|
161
|
+
["path", {
|
|
162
|
+
d: "M7 2v2",
|
|
163
|
+
key: "1i4yhu"
|
|
164
|
+
}],
|
|
165
|
+
["rect", {
|
|
166
|
+
x: "4",
|
|
167
|
+
y: "4",
|
|
168
|
+
width: "16",
|
|
169
|
+
height: "16",
|
|
170
|
+
rx: "2",
|
|
171
|
+
key: "1vbyd7"
|
|
172
|
+
}],
|
|
173
|
+
["rect", {
|
|
174
|
+
x: "8",
|
|
175
|
+
y: "8",
|
|
176
|
+
width: "8",
|
|
177
|
+
height: "8",
|
|
178
|
+
rx: "1",
|
|
179
|
+
key: "z9xiuo"
|
|
180
|
+
}]
|
|
181
|
+
]);
|
|
182
|
+
var MessageSquare = createLucideIcon("message-square", [["path", {
|
|
183
|
+
d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
|
|
184
|
+
key: "18887p"
|
|
185
|
+
}]]);
|
|
186
|
+
var Server = createLucideIcon("server", [
|
|
187
|
+
["rect", {
|
|
188
|
+
width: "20",
|
|
189
|
+
height: "8",
|
|
190
|
+
x: "2",
|
|
191
|
+
y: "2",
|
|
192
|
+
rx: "2",
|
|
193
|
+
ry: "2",
|
|
194
|
+
key: "ngkwjq"
|
|
195
|
+
}],
|
|
196
|
+
["rect", {
|
|
197
|
+
width: "20",
|
|
198
|
+
height: "8",
|
|
199
|
+
x: "2",
|
|
200
|
+
y: "14",
|
|
201
|
+
rx: "2",
|
|
202
|
+
ry: "2",
|
|
203
|
+
key: "iecqi9"
|
|
204
|
+
}],
|
|
205
|
+
["line", {
|
|
206
|
+
x1: "6",
|
|
207
|
+
x2: "6.01",
|
|
208
|
+
y1: "6",
|
|
209
|
+
y2: "6",
|
|
210
|
+
key: "16zg32"
|
|
211
|
+
}],
|
|
212
|
+
["line", {
|
|
213
|
+
x1: "6",
|
|
214
|
+
x2: "6.01",
|
|
215
|
+
y1: "18",
|
|
216
|
+
y2: "18",
|
|
217
|
+
key: "nzw8ys"
|
|
218
|
+
}]
|
|
219
|
+
]);
|
|
220
|
+
var Settings = createLucideIcon("settings", [["path", {
|
|
221
|
+
d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
|
|
222
|
+
key: "1i5ecw"
|
|
223
|
+
}], ["circle", {
|
|
224
|
+
cx: "12",
|
|
225
|
+
cy: "12",
|
|
226
|
+
r: "3",
|
|
227
|
+
key: "1v7zrd"
|
|
228
|
+
}]]);
|
|
229
|
+
var Trash2 = createLucideIcon("trash-2", [
|
|
230
|
+
["path", {
|
|
231
|
+
d: "M10 11v6",
|
|
232
|
+
key: "nco0om"
|
|
233
|
+
}],
|
|
234
|
+
["path", {
|
|
235
|
+
d: "M14 11v6",
|
|
236
|
+
key: "outv1u"
|
|
237
|
+
}],
|
|
238
|
+
["path", {
|
|
239
|
+
d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
|
|
240
|
+
key: "miytrc"
|
|
241
|
+
}],
|
|
242
|
+
["path", {
|
|
243
|
+
d: "M3 6h18",
|
|
244
|
+
key: "d0wm0j"
|
|
245
|
+
}],
|
|
246
|
+
["path", {
|
|
247
|
+
d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
|
|
248
|
+
key: "e791ji"
|
|
249
|
+
}]
|
|
250
|
+
]);
|
|
251
|
+
var Wind = createLucideIcon("wind", [
|
|
252
|
+
["path", {
|
|
253
|
+
d: "M12.8 19.6A2 2 0 1 0 14 16H2",
|
|
254
|
+
key: "148xed"
|
|
255
|
+
}],
|
|
256
|
+
["path", {
|
|
257
|
+
d: "M17.5 8a2.5 2.5 0 1 1 2 4H2",
|
|
258
|
+
key: "1u4tom"
|
|
259
|
+
}],
|
|
260
|
+
["path", {
|
|
261
|
+
d: "M9.8 4.4A2 2 0 1 1 11 8H2",
|
|
262
|
+
key: "75valh"
|
|
263
|
+
}]
|
|
264
|
+
]);
|
|
265
|
+
var Zap = createLucideIcon("zap", [["path", {
|
|
266
|
+
d: "M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",
|
|
267
|
+
key: "1v7up4"
|
|
268
|
+
}]]);
|
|
75
269
|
var import_shim = require_shim();
|
|
76
270
|
function resolveValue(value, pointerType) {
|
|
77
271
|
if (pointerType != null && !isMouseLikePointerType(pointerType)) return 0;
|
|
@@ -709,200 +903,6 @@ function safePolygon(options = {}) {
|
|
|
709
903
|
};
|
|
710
904
|
return fn;
|
|
711
905
|
}
|
|
712
|
-
var ArrowLeft = createLucideIcon("arrow-left", [["path", {
|
|
713
|
-
d: "m12 19-7-7 7-7",
|
|
714
|
-
key: "1l729n"
|
|
715
|
-
}], ["path", {
|
|
716
|
-
d: "M19 12H5",
|
|
717
|
-
key: "x3x0zl"
|
|
718
|
-
}]]);
|
|
719
|
-
var Brain = createLucideIcon("brain", [
|
|
720
|
-
["path", {
|
|
721
|
-
d: "M12 18V5",
|
|
722
|
-
key: "adv99a"
|
|
723
|
-
}],
|
|
724
|
-
["path", {
|
|
725
|
-
d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",
|
|
726
|
-
key: "1e3is1"
|
|
727
|
-
}],
|
|
728
|
-
["path", {
|
|
729
|
-
d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",
|
|
730
|
-
key: "1gqd8o"
|
|
731
|
-
}],
|
|
732
|
-
["path", {
|
|
733
|
-
d: "M17.997 5.125a4 4 0 0 1 2.526 5.77",
|
|
734
|
-
key: "iwvgf7"
|
|
735
|
-
}],
|
|
736
|
-
["path", {
|
|
737
|
-
d: "M18 18a4 4 0 0 0 2-7.464",
|
|
738
|
-
key: "efp6ie"
|
|
739
|
-
}],
|
|
740
|
-
["path", {
|
|
741
|
-
d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",
|
|
742
|
-
key: "1gq6am"
|
|
743
|
-
}],
|
|
744
|
-
["path", {
|
|
745
|
-
d: "M6 18a4 4 0 0 1-2-7.464",
|
|
746
|
-
key: "k1g0md"
|
|
747
|
-
}],
|
|
748
|
-
["path", {
|
|
749
|
-
d: "M6.003 5.125a4 4 0 0 0-2.526 5.77",
|
|
750
|
-
key: "q97ue3"
|
|
751
|
-
}]
|
|
752
|
-
]);
|
|
753
|
-
var Cpu = createLucideIcon("cpu", [
|
|
754
|
-
["path", {
|
|
755
|
-
d: "M12 20v2",
|
|
756
|
-
key: "1lh1kg"
|
|
757
|
-
}],
|
|
758
|
-
["path", {
|
|
759
|
-
d: "M12 2v2",
|
|
760
|
-
key: "tus03m"
|
|
761
|
-
}],
|
|
762
|
-
["path", {
|
|
763
|
-
d: "M17 20v2",
|
|
764
|
-
key: "1rnc9c"
|
|
765
|
-
}],
|
|
766
|
-
["path", {
|
|
767
|
-
d: "M17 2v2",
|
|
768
|
-
key: "11trls"
|
|
769
|
-
}],
|
|
770
|
-
["path", {
|
|
771
|
-
d: "M2 12h2",
|
|
772
|
-
key: "1t8f8n"
|
|
773
|
-
}],
|
|
774
|
-
["path", {
|
|
775
|
-
d: "M2 17h2",
|
|
776
|
-
key: "7oei6x"
|
|
777
|
-
}],
|
|
778
|
-
["path", {
|
|
779
|
-
d: "M2 7h2",
|
|
780
|
-
key: "asdhe0"
|
|
781
|
-
}],
|
|
782
|
-
["path", {
|
|
783
|
-
d: "M20 12h2",
|
|
784
|
-
key: "1q8mjw"
|
|
785
|
-
}],
|
|
786
|
-
["path", {
|
|
787
|
-
d: "M20 17h2",
|
|
788
|
-
key: "1fpfkl"
|
|
789
|
-
}],
|
|
790
|
-
["path", {
|
|
791
|
-
d: "M20 7h2",
|
|
792
|
-
key: "1o8tra"
|
|
793
|
-
}],
|
|
794
|
-
["path", {
|
|
795
|
-
d: "M7 20v2",
|
|
796
|
-
key: "4gnj0m"
|
|
797
|
-
}],
|
|
798
|
-
["path", {
|
|
799
|
-
d: "M7 2v2",
|
|
800
|
-
key: "1i4yhu"
|
|
801
|
-
}],
|
|
802
|
-
["rect", {
|
|
803
|
-
x: "4",
|
|
804
|
-
y: "4",
|
|
805
|
-
width: "16",
|
|
806
|
-
height: "16",
|
|
807
|
-
rx: "2",
|
|
808
|
-
key: "1vbyd7"
|
|
809
|
-
}],
|
|
810
|
-
["rect", {
|
|
811
|
-
x: "8",
|
|
812
|
-
y: "8",
|
|
813
|
-
width: "8",
|
|
814
|
-
height: "8",
|
|
815
|
-
rx: "1",
|
|
816
|
-
key: "z9xiuo"
|
|
817
|
-
}]
|
|
818
|
-
]);
|
|
819
|
-
var MessageSquare = createLucideIcon("message-square", [["path", {
|
|
820
|
-
d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
|
|
821
|
-
key: "18887p"
|
|
822
|
-
}]]);
|
|
823
|
-
var Server = createLucideIcon("server", [
|
|
824
|
-
["rect", {
|
|
825
|
-
width: "20",
|
|
826
|
-
height: "8",
|
|
827
|
-
x: "2",
|
|
828
|
-
y: "2",
|
|
829
|
-
rx: "2",
|
|
830
|
-
ry: "2",
|
|
831
|
-
key: "ngkwjq"
|
|
832
|
-
}],
|
|
833
|
-
["rect", {
|
|
834
|
-
width: "20",
|
|
835
|
-
height: "8",
|
|
836
|
-
x: "2",
|
|
837
|
-
y: "14",
|
|
838
|
-
rx: "2",
|
|
839
|
-
ry: "2",
|
|
840
|
-
key: "iecqi9"
|
|
841
|
-
}],
|
|
842
|
-
["line", {
|
|
843
|
-
x1: "6",
|
|
844
|
-
x2: "6.01",
|
|
845
|
-
y1: "6",
|
|
846
|
-
y2: "6",
|
|
847
|
-
key: "16zg32"
|
|
848
|
-
}],
|
|
849
|
-
["line", {
|
|
850
|
-
x1: "6",
|
|
851
|
-
x2: "6.01",
|
|
852
|
-
y1: "18",
|
|
853
|
-
y2: "18",
|
|
854
|
-
key: "nzw8ys"
|
|
855
|
-
}]
|
|
856
|
-
]);
|
|
857
|
-
var Settings = createLucideIcon("settings", [["path", {
|
|
858
|
-
d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
|
|
859
|
-
key: "1i5ecw"
|
|
860
|
-
}], ["circle", {
|
|
861
|
-
cx: "12",
|
|
862
|
-
cy: "12",
|
|
863
|
-
r: "3",
|
|
864
|
-
key: "1v7zrd"
|
|
865
|
-
}]]);
|
|
866
|
-
var Trash2 = createLucideIcon("trash-2", [
|
|
867
|
-
["path", {
|
|
868
|
-
d: "M10 11v6",
|
|
869
|
-
key: "nco0om"
|
|
870
|
-
}],
|
|
871
|
-
["path", {
|
|
872
|
-
d: "M14 11v6",
|
|
873
|
-
key: "outv1u"
|
|
874
|
-
}],
|
|
875
|
-
["path", {
|
|
876
|
-
d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
|
|
877
|
-
key: "miytrc"
|
|
878
|
-
}],
|
|
879
|
-
["path", {
|
|
880
|
-
d: "M3 6h18",
|
|
881
|
-
key: "d0wm0j"
|
|
882
|
-
}],
|
|
883
|
-
["path", {
|
|
884
|
-
d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
|
|
885
|
-
key: "e791ji"
|
|
886
|
-
}]
|
|
887
|
-
]);
|
|
888
|
-
var Wind = createLucideIcon("wind", [
|
|
889
|
-
["path", {
|
|
890
|
-
d: "M12.8 19.6A2 2 0 1 0 14 16H2",
|
|
891
|
-
key: "148xed"
|
|
892
|
-
}],
|
|
893
|
-
["path", {
|
|
894
|
-
d: "M17.5 8a2.5 2.5 0 1 1 2 4H2",
|
|
895
|
-
key: "1u4tom"
|
|
896
|
-
}],
|
|
897
|
-
["path", {
|
|
898
|
-
d: "M9.8 4.4A2 2 0 1 1 11 8H2",
|
|
899
|
-
key: "75valh"
|
|
900
|
-
}]
|
|
901
|
-
]);
|
|
902
|
-
var Zap = createLucideIcon("zap", [["path", {
|
|
903
|
-
d: "M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",
|
|
904
|
-
key: "1v7up4"
|
|
905
|
-
}]]);
|
|
906
906
|
var COMPACT_ACTION_BUTTON_CLASS = "h-8 shrink-0 cursor-pointer rounded-[7px] border-border/45 bg-background/65 text-[11px] font-semibold text-foreground/75 shadow-sm transition-[background-color,border-color,box-shadow,opacity,transform] duration-150 hover:bg-foreground/5 active:scale-[0.96] disabled:opacity-50";
|
|
907
907
|
var HIT_AREA_EXPAND_CLASS = "relative after:absolute after:top-1/2 after:left-1/2 after:size-10 after:-translate-x-1/2 after:-translate-y-1/2";
|
|
908
908
|
var HIT_AREA_EXPAND_DENSE_CLASS = "relative after:absolute after:inset-x-0 after:-top-1.5 after:-bottom-1.5";
|
|
@@ -1159,17 +1159,17 @@ function formatProviderLabel(provider) {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
1161
|
export {
|
|
1162
|
+
ArrowLeft,
|
|
1163
|
+
Cpu,
|
|
1164
|
+
MessageSquare,
|
|
1165
|
+
Settings,
|
|
1166
|
+
Trash2,
|
|
1162
1167
|
getDelay,
|
|
1163
1168
|
usePopupHandleStore,
|
|
1164
1169
|
useHoverInteractionSharedState,
|
|
1165
1170
|
useHoverFloatingInteraction,
|
|
1166
1171
|
useHoverReferenceInteraction,
|
|
1167
1172
|
safePolygon,
|
|
1168
|
-
ArrowLeft,
|
|
1169
|
-
Cpu,
|
|
1170
|
-
MessageSquare,
|
|
1171
|
-
Settings,
|
|
1172
|
-
Trash2,
|
|
1173
1173
|
COMPACT_ACTION_BUTTON_CLASS,
|
|
1174
1174
|
HIT_AREA_EXPAND_CLASS,
|
|
1175
1175
|
HIT_AREA_EXPAND_DENSE_CLASS,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-5WZFFNFY.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentDisclosure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6D524OCJ.js";
|
|
7
7
|
import {
|
|
8
8
|
AnimatePresence,
|
|
9
9
|
EASE_OUT,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
cn
|
|
26
26
|
} from "./chunk-DJMHPJBP.js";
|
|
27
27
|
|
|
28
|
-
// web/app/dist/server/assets/range-
|
|
28
|
+
// web/app/dist/server/assets/range-CqBJEIcv.js
|
|
29
29
|
import { Suspense, lazy, useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
30
30
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
31
31
|
var BookOpenText = createLucideIcon("book-open-text", [
|
|
@@ -135,49 +135,6 @@ var Terminal = createLucideIcon("terminal", [["path", {
|
|
|
135
135
|
d: "m4 17 6-6-6-6",
|
|
136
136
|
key: "1yngyt"
|
|
137
137
|
}]]);
|
|
138
|
-
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";
|
|
139
|
-
var floating = "bg-background shadow-[0_2px_8px_rgba(0,0,0,0.05),0_20px_48px_-16px_rgba(0,0,0,0.18)] dark:bg-popover dark:shadow-[0_20px_48px_-16px_rgba(0,0,0,0.55)]";
|
|
140
|
-
var field = "bg-foreground/[0.04] dark:bg-foreground/[0.06]";
|
|
141
|
-
var labelSwap = "col-start-1 row-start-1 flex w-max items-center gap-1.5 leading-none transition-[opacity,filter] duration-300 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none";
|
|
142
|
-
var labelSwapIn = "opacity-100 blur-none";
|
|
143
|
-
var labelSwapOut = "pointer-events-none select-none opacity-0 blur-[2px]";
|
|
144
|
-
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";
|
|
145
|
-
var mono = "font-mono text-[11px] tracking-tight";
|
|
146
|
-
function ShimmerLabel({ active = true, className, ...props }) {
|
|
147
|
-
return /* @__PURE__ */ jsx("span", {
|
|
148
|
-
className: cn(active && "shimmer motion-reduce:animate-none", className),
|
|
149
|
-
...props
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
function SwapLabel({ active, children, className }) {
|
|
153
|
-
const firstLayerRef = useRef(null);
|
|
154
|
-
const secondLayerRef = useRef(null);
|
|
155
|
-
const [width, setWidth] = useState(null);
|
|
156
|
-
useLayoutEffect(() => {
|
|
157
|
-
const target = (active === 0 ? firstLayerRef : secondLayerRef).current;
|
|
158
|
-
if (!target) return void 0;
|
|
159
|
-
const measure = () => setWidth(Math.ceil(target.getBoundingClientRect().width));
|
|
160
|
-
measure();
|
|
161
|
-
const observer = new ResizeObserver(measure);
|
|
162
|
-
observer.observe(target);
|
|
163
|
-
return () => observer.disconnect();
|
|
164
|
-
}, [active]);
|
|
165
|
-
return /* @__PURE__ */ jsxs("span", {
|
|
166
|
-
style: width === null ? void 0 : { width },
|
|
167
|
-
className: cn("grid overflow-x-clip transition-[width] duration-300 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none", className),
|
|
168
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
169
|
-
ref: firstLayerRef,
|
|
170
|
-
"aria-hidden": active !== 0,
|
|
171
|
-
className: cn(labelSwap, active === 0 ? labelSwapIn : labelSwapOut),
|
|
172
|
-
children: children[0]
|
|
173
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
174
|
-
ref: secondLayerRef,
|
|
175
|
-
"aria-hidden": active !== 1,
|
|
176
|
-
className: cn(labelSwap, active === 1 ? labelSwapIn : labelSwapOut),
|
|
177
|
-
children: children[1]
|
|
178
|
-
})]
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
138
|
function useHoverCapable() {
|
|
182
139
|
const [canHover, setCanHover] = useState(false);
|
|
183
140
|
useEffect(() => {
|
|
@@ -190,6 +147,17 @@ function useHoverCapable() {
|
|
|
190
147
|
}, []);
|
|
191
148
|
return canHover;
|
|
192
149
|
}
|
|
150
|
+
var MarkdownContent = lazy(() => import("./markdown-Boni3lHk-AZGKDNAR.js").then((n) => n.a).then(({ Markdown }) => ({ default: Markdown })));
|
|
151
|
+
function LazyMarkdown(props) {
|
|
152
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
153
|
+
fallback: /* @__PURE__ */ jsx("div", {
|
|
154
|
+
className: props.className ? `${props.className} whitespace-pre-wrap` : "whitespace-pre-wrap",
|
|
155
|
+
children: props.content
|
|
156
|
+
}),
|
|
157
|
+
children: /* @__PURE__ */ jsx(MarkdownContent, { ...props })
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
var PI_TOOL_RENDERERS = {};
|
|
193
161
|
function getFaviconUrl(value) {
|
|
194
162
|
try {
|
|
195
163
|
return new URL("/favicon.ico", value).toString();
|
|
@@ -351,17 +319,49 @@ function Citations({ citations, title = "Sources", open, defaultOpen = false, on
|
|
|
351
319
|
})]
|
|
352
320
|
});
|
|
353
321
|
}
|
|
354
|
-
var
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
322
|
+
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";
|
|
323
|
+
var floating = "bg-background shadow-[0_2px_8px_rgba(0,0,0,0.05),0_20px_48px_-16px_rgba(0,0,0,0.18)] dark:bg-popover dark:shadow-[0_20px_48px_-16px_rgba(0,0,0,0.55)]";
|
|
324
|
+
var field = "bg-foreground/[0.04] dark:bg-foreground/[0.06]";
|
|
325
|
+
var labelSwap = "col-start-1 row-start-1 flex w-max items-center gap-1.5 leading-none transition-[opacity,filter] duration-300 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none";
|
|
326
|
+
var labelSwapIn = "opacity-100 blur-none";
|
|
327
|
+
var labelSwapOut = "pointer-events-none select-none opacity-0 blur-[2px]";
|
|
328
|
+
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";
|
|
329
|
+
var mono = "font-mono text-[11px] tracking-tight";
|
|
330
|
+
function ShimmerLabel({ active = true, className, ...props }) {
|
|
331
|
+
return /* @__PURE__ */ jsx("span", {
|
|
332
|
+
className: cn(active && "shimmer motion-reduce:animate-none", className),
|
|
333
|
+
...props
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
function SwapLabel({ active, children, className }) {
|
|
337
|
+
const firstLayerRef = useRef(null);
|
|
338
|
+
const secondLayerRef = useRef(null);
|
|
339
|
+
const [width, setWidth] = useState(null);
|
|
340
|
+
useLayoutEffect(() => {
|
|
341
|
+
const target = (active === 0 ? firstLayerRef : secondLayerRef).current;
|
|
342
|
+
if (!target) return void 0;
|
|
343
|
+
const measure = () => setWidth(Math.ceil(target.getBoundingClientRect().width));
|
|
344
|
+
measure();
|
|
345
|
+
const observer = new ResizeObserver(measure);
|
|
346
|
+
observer.observe(target);
|
|
347
|
+
return () => observer.disconnect();
|
|
348
|
+
}, [active]);
|
|
349
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
350
|
+
style: width === null ? void 0 : { width },
|
|
351
|
+
className: cn("grid overflow-x-clip transition-[width] duration-300 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none", className),
|
|
352
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
353
|
+
ref: firstLayerRef,
|
|
354
|
+
"aria-hidden": active !== 0,
|
|
355
|
+
className: cn(labelSwap, active === 0 ? labelSwapIn : labelSwapOut),
|
|
356
|
+
children: children[0]
|
|
357
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
358
|
+
ref: secondLayerRef,
|
|
359
|
+
"aria-hidden": active !== 1,
|
|
360
|
+
className: cn(labelSwap, active === 1 ? labelSwapIn : labelSwapOut),
|
|
361
|
+
children: children[1]
|
|
362
|
+
})]
|
|
362
363
|
});
|
|
363
364
|
}
|
|
364
|
-
var PI_TOOL_RENDERERS = {};
|
|
365
365
|
function clamp(value, min, max) {
|
|
366
366
|
if (Number.isNaN(value)) return min;
|
|
367
367
|
return Math.min(max, Math.max(min, value));
|
|
@@ -385,6 +385,12 @@ export {
|
|
|
385
385
|
LogOut,
|
|
386
386
|
MessageCircleQuestionMark,
|
|
387
387
|
Terminal,
|
|
388
|
+
useHoverCapable,
|
|
389
|
+
LazyMarkdown,
|
|
390
|
+
PI_TOOL_RENDERERS,
|
|
391
|
+
CitationStack,
|
|
392
|
+
CitationList,
|
|
393
|
+
Citations,
|
|
388
394
|
paper,
|
|
389
395
|
floating,
|
|
390
396
|
field,
|
|
@@ -392,12 +398,6 @@ export {
|
|
|
392
398
|
mono,
|
|
393
399
|
ShimmerLabel,
|
|
394
400
|
SwapLabel,
|
|
395
|
-
useHoverCapable,
|
|
396
|
-
CitationStack,
|
|
397
|
-
CitationList,
|
|
398
|
-
Citations,
|
|
399
|
-
LazyMarkdown,
|
|
400
|
-
PI_TOOL_RENDERERS,
|
|
401
401
|
take,
|
|
402
402
|
pct,
|
|
403
403
|
progressOf
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// web/app/dist/server/assets/prime-agent-artifacts-
|
|
1
|
+
// web/app/dist/server/assets/prime-agent-artifacts-CCiZ1gKm.js
|
|
2
2
|
function stablePresentationId(seed) {
|
|
3
3
|
let hash = 2166136261;
|
|
4
4
|
for (let index = 0; index < seed.length; index += 1) {
|
|
@@ -152,6 +152,7 @@ function artifactsFromMessages(messages, chatStatus) {
|
|
|
152
152
|
status: statusFor(source, chatStatus),
|
|
153
153
|
...input !== void 0 ? { input } : {},
|
|
154
154
|
...output !== void 0 ? { output } : {},
|
|
155
|
+
...typeof source.backgroundOutput === "string" ? { backgroundOutput: source.backgroundOutput } : {},
|
|
155
156
|
timestamp
|
|
156
157
|
});
|
|
157
158
|
}
|