@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
|
@@ -2024,7 +2024,7 @@ function getResponse() {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
var HEADERS = { TSS_SHELL: "X-TSS_SHELL" };
|
|
2026
2026
|
async function getStartManifest(matchedRoutes) {
|
|
2027
|
-
const { tsrStartManifest } = await import("./_tanstack-start-manifest_v-
|
|
2027
|
+
const { tsrStartManifest } = await import("./_tanstack-start-manifest_v-DZc7dwm7-6ZQLGXB7.js");
|
|
2028
2028
|
const startManifest = tsrStartManifest();
|
|
2029
2029
|
let routes = startManifest.routes;
|
|
2030
2030
|
routes[rootRouteId];
|
|
@@ -4982,8 +4982,8 @@ var getBaseManifest = getProdBaseManifest;
|
|
|
4982
4982
|
var createEarlyHintsForRequest = createEarlyHintsCollector;
|
|
4983
4983
|
async function loadEntries() {
|
|
4984
4984
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
4985
|
-
import("./router-
|
|
4986
|
-
import("./start-
|
|
4985
|
+
import("./router-_ZpegqiQ-QIE44PIB.js"),
|
|
4986
|
+
import("./start-BYVnok_H-IA6TWGA3.js"),
|
|
4987
4987
|
import("./empty-plugin-adapters-Cqtvkauv-6XWFDBYT.js")
|
|
4988
4988
|
]);
|
|
4989
4989
|
return {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import "./chunk-MLKGABMK.js";
|
|
2
2
|
|
|
3
|
-
// web/app/dist/server/assets/session-insights-panel-
|
|
3
|
+
// web/app/dist/server/assets/session-insights-panel-BHZyKDTo.js
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
var RLM_CHILD_STATUSES = [
|
|
6
6
|
"queued",
|
|
7
7
|
"running",
|
|
8
8
|
"done",
|
|
9
9
|
"error",
|
|
10
|
-
"cancelled"
|
|
10
|
+
"cancelled",
|
|
11
|
+
"recovering",
|
|
12
|
+
"failed"
|
|
11
13
|
];
|
|
12
14
|
function deriveSessionInsights({ activityLabel, artifactRuns, messages, planLabel, presentation, queue }) {
|
|
13
15
|
const rlmChildren = Object.fromEntries(RLM_CHILD_STATUSES.map((status) => [status, 0]));
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
useHoverInteractionSharedState,
|
|
29
29
|
useHoverReferenceInteraction,
|
|
30
30
|
usePopupHandleStore
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2V6B62OF.js";
|
|
32
32
|
import {
|
|
33
33
|
UI_PREFERENCES_KEY,
|
|
34
34
|
isModelPatternEnabled,
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
RefreshCw,
|
|
41
41
|
notify
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FZRBAPUM.js";
|
|
43
43
|
import {
|
|
44
44
|
FloatingPortalLite,
|
|
45
45
|
Info
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-SZ65K4CO.js";
|
|
47
47
|
import {
|
|
48
48
|
Eye
|
|
49
49
|
} from "./chunk-DBXYBYBP.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
Plus,
|
|
70
70
|
useChatPanelDataContext,
|
|
71
71
|
useSettingsActionsContext
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-XLCTCC4W.js";
|
|
73
73
|
import "./chunk-74QOI457.js";
|
|
74
74
|
import {
|
|
75
75
|
Search
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
FieldLabel,
|
|
93
93
|
Switch,
|
|
94
94
|
useRender
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-AECEK3K7.js";
|
|
96
96
|
import {
|
|
97
97
|
Select,
|
|
98
98
|
clamp,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
useCSPContext,
|
|
104
104
|
useDirection,
|
|
105
105
|
usePositioner
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-TO3YPLNZ.js";
|
|
107
107
|
import {
|
|
108
108
|
isCustomProviderId,
|
|
109
109
|
isNamedOccInstanceId,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
import "./chunk-QLY3L4A2.js";
|
|
113
113
|
import {
|
|
114
114
|
Input
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-AWFOBHH4.js";
|
|
116
116
|
import {
|
|
117
117
|
Check
|
|
118
118
|
} from "./chunk-NLIUTTKL.js";
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
usePopupRootStore,
|
|
150
150
|
useSurface,
|
|
151
151
|
useTriggerDataForwarding
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-RX62LUDV.js";
|
|
153
153
|
import {
|
|
154
154
|
Button,
|
|
155
155
|
POPUP_COLLISION_AVOIDANCE,
|
|
@@ -170,11 +170,11 @@ import {
|
|
|
170
170
|
ownerDocument,
|
|
171
171
|
useTimeout,
|
|
172
172
|
webkit
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-5RQ6QAZX.js";
|
|
174
174
|
import {
|
|
175
175
|
useBaseUiId,
|
|
176
176
|
useValueAsRef
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-LSIHVSUT.js";
|
|
178
178
|
import {
|
|
179
179
|
EMPTY_OBJECT,
|
|
180
180
|
X,
|
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
useOpenChangeComplete,
|
|
196
196
|
useRenderElement,
|
|
197
197
|
useStableCallback
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-BLVCDQ7E.js";
|
|
199
199
|
import "./chunk-BSFYTSN6.js";
|
|
200
200
|
import "./chunk-EAJTWMK5.js";
|
|
201
201
|
import {
|
|
@@ -208,10 +208,140 @@ import "./chunk-JDCCC7A7.js";
|
|
|
208
208
|
import "./chunk-L547YHC4.js";
|
|
209
209
|
import "./chunk-MLKGABMK.js";
|
|
210
210
|
|
|
211
|
-
// web/app/dist/server/assets/settings-dialog-
|
|
211
|
+
// web/app/dist/server/assets/settings-dialog-B4uUS6f-.js
|
|
212
212
|
import * as React$1 from "react";
|
|
213
213
|
import { useCallback as useCallback2, useEffect as useEffect2, useId, useMemo as useMemo2, useRef as useRef2, useState as useState2 } from "react";
|
|
214
214
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
215
|
+
var Box = createLucideIcon("box", [
|
|
216
|
+
["path", {
|
|
217
|
+
d: "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",
|
|
218
|
+
key: "hh9hay"
|
|
219
|
+
}],
|
|
220
|
+
["path", {
|
|
221
|
+
d: "m3.3 7 8.7 5 8.7-5",
|
|
222
|
+
key: "g66t2b"
|
|
223
|
+
}],
|
|
224
|
+
["path", {
|
|
225
|
+
d: "M12 22V12",
|
|
226
|
+
key: "d0xqtd"
|
|
227
|
+
}]
|
|
228
|
+
]);
|
|
229
|
+
var EyeOff = createLucideIcon("eye-off", [
|
|
230
|
+
["path", {
|
|
231
|
+
d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
|
|
232
|
+
key: "ct8e1f"
|
|
233
|
+
}],
|
|
234
|
+
["path", {
|
|
235
|
+
d: "M14.084 14.158a3 3 0 0 1-4.242-4.242",
|
|
236
|
+
key: "151rxh"
|
|
237
|
+
}],
|
|
238
|
+
["path", {
|
|
239
|
+
d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
|
|
240
|
+
key: "13bj9a"
|
|
241
|
+
}],
|
|
242
|
+
["path", {
|
|
243
|
+
d: "m2 2 20 20",
|
|
244
|
+
key: "1ooewy"
|
|
245
|
+
}]
|
|
246
|
+
]);
|
|
247
|
+
var KeyRound = createLucideIcon("key-round", [["path", {
|
|
248
|
+
d: "M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",
|
|
249
|
+
key: "1s6t7t"
|
|
250
|
+
}], ["circle", {
|
|
251
|
+
cx: "16.5",
|
|
252
|
+
cy: "7.5",
|
|
253
|
+
r: ".5",
|
|
254
|
+
fill: "currentColor",
|
|
255
|
+
key: "w0ekpg"
|
|
256
|
+
}]]);
|
|
257
|
+
var Layers = createLucideIcon("layers", [
|
|
258
|
+
["path", {
|
|
259
|
+
d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
|
|
260
|
+
key: "zw3jo"
|
|
261
|
+
}],
|
|
262
|
+
["path", {
|
|
263
|
+
d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
|
|
264
|
+
key: "1wduqc"
|
|
265
|
+
}],
|
|
266
|
+
["path", {
|
|
267
|
+
d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
|
|
268
|
+
key: "kqbvx6"
|
|
269
|
+
}]
|
|
270
|
+
]);
|
|
271
|
+
var Lock = createLucideIcon("lock", [["rect", {
|
|
272
|
+
width: "18",
|
|
273
|
+
height: "11",
|
|
274
|
+
x: "3",
|
|
275
|
+
y: "11",
|
|
276
|
+
rx: "2",
|
|
277
|
+
ry: "2",
|
|
278
|
+
key: "1w4ew1"
|
|
279
|
+
}], ["path", {
|
|
280
|
+
d: "M7 11V7a5 5 0 0 1 10 0v4",
|
|
281
|
+
key: "fwvmzm"
|
|
282
|
+
}]]);
|
|
283
|
+
var Paintbrush = createLucideIcon("paintbrush", [
|
|
284
|
+
["path", {
|
|
285
|
+
d: "m14.622 17.897-10.68-2.913",
|
|
286
|
+
key: "vj2p1u"
|
|
287
|
+
}],
|
|
288
|
+
["path", {
|
|
289
|
+
d: "M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",
|
|
290
|
+
key: "18tc5c"
|
|
291
|
+
}],
|
|
292
|
+
["path", {
|
|
293
|
+
d: "M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",
|
|
294
|
+
key: "ytzfxy"
|
|
295
|
+
}]
|
|
296
|
+
]);
|
|
297
|
+
var Save = createLucideIcon("save", [
|
|
298
|
+
["path", {
|
|
299
|
+
d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
|
|
300
|
+
key: "1c8476"
|
|
301
|
+
}],
|
|
302
|
+
["path", {
|
|
303
|
+
d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",
|
|
304
|
+
key: "1ydtos"
|
|
305
|
+
}],
|
|
306
|
+
["path", {
|
|
307
|
+
d: "M7 3v4a1 1 0 0 0 1 1h7",
|
|
308
|
+
key: "t51u73"
|
|
309
|
+
}]
|
|
310
|
+
]);
|
|
311
|
+
var Star = createLucideIcon("star", [["path", {
|
|
312
|
+
d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
|
|
313
|
+
key: "r04s7s"
|
|
314
|
+
}]]);
|
|
315
|
+
var Tag = createLucideIcon("tag", [["path", {
|
|
316
|
+
d: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",
|
|
317
|
+
key: "vktsd0"
|
|
318
|
+
}], ["circle", {
|
|
319
|
+
cx: "7.5",
|
|
320
|
+
cy: "7.5",
|
|
321
|
+
r: ".5",
|
|
322
|
+
fill: "currentColor",
|
|
323
|
+
key: "kqv944"
|
|
324
|
+
}]]);
|
|
325
|
+
var Users = createLucideIcon("users", [
|
|
326
|
+
["path", {
|
|
327
|
+
d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
|
|
328
|
+
key: "1yyitq"
|
|
329
|
+
}],
|
|
330
|
+
["path", {
|
|
331
|
+
d: "M16 3.128a4 4 0 0 1 0 7.744",
|
|
332
|
+
key: "16gr8j"
|
|
333
|
+
}],
|
|
334
|
+
["path", {
|
|
335
|
+
d: "M22 21v-2a4 4 0 0 0-3-3.87",
|
|
336
|
+
key: "kshegd"
|
|
337
|
+
}],
|
|
338
|
+
["circle", {
|
|
339
|
+
cx: "9",
|
|
340
|
+
cy: "7",
|
|
341
|
+
r: "4",
|
|
342
|
+
key: "nufk8"
|
|
343
|
+
}]
|
|
344
|
+
]);
|
|
215
345
|
var FloatingDelayGroupContext = /* @__PURE__ */ React$1.createContext({
|
|
216
346
|
hasProvider: false,
|
|
217
347
|
timeoutMs: 0,
|
|
@@ -572,136 +702,6 @@ function useFocus(context, props = {}) {
|
|
|
572
702
|
trigger: reference
|
|
573
703
|
} : {}, [enabled, reference]);
|
|
574
704
|
}
|
|
575
|
-
var Box = createLucideIcon("box", [
|
|
576
|
-
["path", {
|
|
577
|
-
d: "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",
|
|
578
|
-
key: "hh9hay"
|
|
579
|
-
}],
|
|
580
|
-
["path", {
|
|
581
|
-
d: "m3.3 7 8.7 5 8.7-5",
|
|
582
|
-
key: "g66t2b"
|
|
583
|
-
}],
|
|
584
|
-
["path", {
|
|
585
|
-
d: "M12 22V12",
|
|
586
|
-
key: "d0xqtd"
|
|
587
|
-
}]
|
|
588
|
-
]);
|
|
589
|
-
var EyeOff = createLucideIcon("eye-off", [
|
|
590
|
-
["path", {
|
|
591
|
-
d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
|
|
592
|
-
key: "ct8e1f"
|
|
593
|
-
}],
|
|
594
|
-
["path", {
|
|
595
|
-
d: "M14.084 14.158a3 3 0 0 1-4.242-4.242",
|
|
596
|
-
key: "151rxh"
|
|
597
|
-
}],
|
|
598
|
-
["path", {
|
|
599
|
-
d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
|
|
600
|
-
key: "13bj9a"
|
|
601
|
-
}],
|
|
602
|
-
["path", {
|
|
603
|
-
d: "m2 2 20 20",
|
|
604
|
-
key: "1ooewy"
|
|
605
|
-
}]
|
|
606
|
-
]);
|
|
607
|
-
var KeyRound = createLucideIcon("key-round", [["path", {
|
|
608
|
-
d: "M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",
|
|
609
|
-
key: "1s6t7t"
|
|
610
|
-
}], ["circle", {
|
|
611
|
-
cx: "16.5",
|
|
612
|
-
cy: "7.5",
|
|
613
|
-
r: ".5",
|
|
614
|
-
fill: "currentColor",
|
|
615
|
-
key: "w0ekpg"
|
|
616
|
-
}]]);
|
|
617
|
-
var Layers = createLucideIcon("layers", [
|
|
618
|
-
["path", {
|
|
619
|
-
d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
|
|
620
|
-
key: "zw3jo"
|
|
621
|
-
}],
|
|
622
|
-
["path", {
|
|
623
|
-
d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
|
|
624
|
-
key: "1wduqc"
|
|
625
|
-
}],
|
|
626
|
-
["path", {
|
|
627
|
-
d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
|
|
628
|
-
key: "kqbvx6"
|
|
629
|
-
}]
|
|
630
|
-
]);
|
|
631
|
-
var Lock = createLucideIcon("lock", [["rect", {
|
|
632
|
-
width: "18",
|
|
633
|
-
height: "11",
|
|
634
|
-
x: "3",
|
|
635
|
-
y: "11",
|
|
636
|
-
rx: "2",
|
|
637
|
-
ry: "2",
|
|
638
|
-
key: "1w4ew1"
|
|
639
|
-
}], ["path", {
|
|
640
|
-
d: "M7 11V7a5 5 0 0 1 10 0v4",
|
|
641
|
-
key: "fwvmzm"
|
|
642
|
-
}]]);
|
|
643
|
-
var Paintbrush = createLucideIcon("paintbrush", [
|
|
644
|
-
["path", {
|
|
645
|
-
d: "m14.622 17.897-10.68-2.913",
|
|
646
|
-
key: "vj2p1u"
|
|
647
|
-
}],
|
|
648
|
-
["path", {
|
|
649
|
-
d: "M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",
|
|
650
|
-
key: "18tc5c"
|
|
651
|
-
}],
|
|
652
|
-
["path", {
|
|
653
|
-
d: "M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",
|
|
654
|
-
key: "ytzfxy"
|
|
655
|
-
}]
|
|
656
|
-
]);
|
|
657
|
-
var Save = createLucideIcon("save", [
|
|
658
|
-
["path", {
|
|
659
|
-
d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
|
|
660
|
-
key: "1c8476"
|
|
661
|
-
}],
|
|
662
|
-
["path", {
|
|
663
|
-
d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",
|
|
664
|
-
key: "1ydtos"
|
|
665
|
-
}],
|
|
666
|
-
["path", {
|
|
667
|
-
d: "M7 3v4a1 1 0 0 0 1 1h7",
|
|
668
|
-
key: "t51u73"
|
|
669
|
-
}]
|
|
670
|
-
]);
|
|
671
|
-
var Star = createLucideIcon("star", [["path", {
|
|
672
|
-
d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
|
|
673
|
-
key: "r04s7s"
|
|
674
|
-
}]]);
|
|
675
|
-
var Tag = createLucideIcon("tag", [["path", {
|
|
676
|
-
d: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",
|
|
677
|
-
key: "vktsd0"
|
|
678
|
-
}], ["circle", {
|
|
679
|
-
cx: "7.5",
|
|
680
|
-
cy: "7.5",
|
|
681
|
-
r: ".5",
|
|
682
|
-
fill: "currentColor",
|
|
683
|
-
key: "kqv944"
|
|
684
|
-
}]]);
|
|
685
|
-
var Users = createLucideIcon("users", [
|
|
686
|
-
["path", {
|
|
687
|
-
d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
|
|
688
|
-
key: "1yyitq"
|
|
689
|
-
}],
|
|
690
|
-
["path", {
|
|
691
|
-
d: "M16 3.128a4 4 0 0 1 0 7.744",
|
|
692
|
-
key: "16gr8j"
|
|
693
|
-
}],
|
|
694
|
-
["path", {
|
|
695
|
-
d: "M22 21v-2a4 4 0 0 0-3-3.87",
|
|
696
|
-
key: "kshegd"
|
|
697
|
-
}],
|
|
698
|
-
["circle", {
|
|
699
|
-
cx: "9",
|
|
700
|
-
cy: "7",
|
|
701
|
-
r: "4",
|
|
702
|
-
key: "nufk8"
|
|
703
|
-
}]
|
|
704
|
-
]);
|
|
705
705
|
var ScrollAreaRootContext = /* @__PURE__ */ React$1.createContext(void 0);
|
|
706
706
|
function useScrollAreaRootContext() {
|
|
707
707
|
const context = React$1.useContext(ScrollAreaRootContext);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SubagentTranscriptView
|
|
3
|
+
} from "./chunk-SR65ARVS.js";
|
|
4
|
+
import "./chunk-56HSKUBD.js";
|
|
5
|
+
import "./chunk-VRLTWOVJ.js";
|
|
6
|
+
import "./chunk-3HUI75QM.js";
|
|
7
|
+
import "./chunk-P66QQWUM.js";
|
|
8
|
+
import "./chunk-FZRBAPUM.js";
|
|
9
|
+
import "./chunk-SZ65K4CO.js";
|
|
10
|
+
import "./chunk-DBXYBYBP.js";
|
|
11
|
+
import "./chunk-5WZFFNFY.js";
|
|
12
|
+
import "./chunk-74QOI457.js";
|
|
13
|
+
import "./chunk-2H6A6Z7F.js";
|
|
14
|
+
import "./chunk-YRWVQ7BW.js";
|
|
15
|
+
import "./chunk-4UBOIY2S.js";
|
|
16
|
+
import "./chunk-UKINNXJY.js";
|
|
17
|
+
import "./chunk-6D524OCJ.js";
|
|
18
|
+
import "./chunk-QJBEWT4E.js";
|
|
19
|
+
import "./chunk-FAGDMGLK.js";
|
|
20
|
+
import "./chunk-6RJYXDSD.js";
|
|
21
|
+
import "./chunk-PKCTG7EW.js";
|
|
22
|
+
import "./chunk-7QCDOBZ3.js";
|
|
23
|
+
import "./chunk-NFRJDPB3.js";
|
|
24
|
+
import "./chunk-LESNF5O4.js";
|
|
25
|
+
import "./chunk-QLY3L4A2.js";
|
|
26
|
+
import "./chunk-NLIUTTKL.js";
|
|
27
|
+
import "./chunk-5RQ6QAZX.js";
|
|
28
|
+
import "./chunk-LSIHVSUT.js";
|
|
29
|
+
import "./chunk-BLVCDQ7E.js";
|
|
30
|
+
import "./chunk-ST5I2PLN.js";
|
|
31
|
+
import "./chunk-7APYEQIO.js";
|
|
32
|
+
import "./chunk-VGDP4YDU.js";
|
|
33
|
+
import "./chunk-G5BCQQ5N.js";
|
|
34
|
+
import "./chunk-BYXBJQAS.js";
|
|
35
|
+
import "./chunk-E26EAQIM.js";
|
|
36
|
+
import "./chunk-DJMHPJBP.js";
|
|
37
|
+
import "./chunk-UQVZJSZZ.js";
|
|
38
|
+
import "./chunk-JDCCC7A7.js";
|
|
39
|
+
import "./chunk-L547YHC4.js";
|
|
40
|
+
import "./chunk-MLKGABMK.js";
|
|
41
|
+
|
|
42
|
+
// web/app/dist/server/assets/subagent-chat-panel-C97S3WID.js
|
|
43
|
+
import { jsx } from "react/jsx-runtime";
|
|
44
|
+
function SubagentChatPanel({ child, parentSessionId, state }) {
|
|
45
|
+
const transcriptError = state.error ?? (state.status === "error" ? new Error(child.error ?? "The subagent thread ended with an error.") : void 0);
|
|
46
|
+
const transcriptStatus = state.loading ? "loading" : state.status === "error" || transcriptError ? "error" : "ready";
|
|
47
|
+
return /* @__PURE__ */ jsx(SubagentTranscriptView, {
|
|
48
|
+
child,
|
|
49
|
+
fullWidth: true,
|
|
50
|
+
parentSessionId,
|
|
51
|
+
status: state.status,
|
|
52
|
+
transcript: {
|
|
53
|
+
status: transcriptStatus,
|
|
54
|
+
messages: state.messages,
|
|
55
|
+
presentation: state.presentation,
|
|
56
|
+
error: transcriptError
|
|
57
|
+
},
|
|
58
|
+
onRefresh: state.refresh
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
export {
|
|
62
|
+
SubagentChatPanel
|
|
63
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SubagentTranscriptView
|
|
3
|
+
} from "./chunk-SR65ARVS.js";
|
|
4
|
+
import {
|
|
5
|
+
orderedRlmChildren,
|
|
6
|
+
rlmStatusIcon
|
|
7
|
+
} from "./chunk-56HSKUBD.js";
|
|
8
|
+
import "./chunk-VRLTWOVJ.js";
|
|
9
|
+
import "./chunk-3HUI75QM.js";
|
|
10
|
+
import "./chunk-P66QQWUM.js";
|
|
11
|
+
import "./chunk-FZRBAPUM.js";
|
|
12
|
+
import "./chunk-SZ65K4CO.js";
|
|
13
|
+
import "./chunk-DBXYBYBP.js";
|
|
14
|
+
import "./chunk-5WZFFNFY.js";
|
|
15
|
+
import {
|
|
16
|
+
Bot
|
|
17
|
+
} from "./chunk-74QOI457.js";
|
|
18
|
+
import "./chunk-2H6A6Z7F.js";
|
|
19
|
+
import "./chunk-YRWVQ7BW.js";
|
|
20
|
+
import "./chunk-4UBOIY2S.js";
|
|
21
|
+
import "./chunk-UKINNXJY.js";
|
|
22
|
+
import "./chunk-6D524OCJ.js";
|
|
23
|
+
import "./chunk-QJBEWT4E.js";
|
|
24
|
+
import "./chunk-FAGDMGLK.js";
|
|
25
|
+
import "./chunk-6RJYXDSD.js";
|
|
26
|
+
import "./chunk-PKCTG7EW.js";
|
|
27
|
+
import {
|
|
28
|
+
ChevronRight
|
|
29
|
+
} from "./chunk-7QCDOBZ3.js";
|
|
30
|
+
import "./chunk-NFRJDPB3.js";
|
|
31
|
+
import "./chunk-LESNF5O4.js";
|
|
32
|
+
import "./chunk-QLY3L4A2.js";
|
|
33
|
+
import "./chunk-NLIUTTKL.js";
|
|
34
|
+
import {
|
|
35
|
+
Button
|
|
36
|
+
} from "./chunk-5RQ6QAZX.js";
|
|
37
|
+
import "./chunk-LSIHVSUT.js";
|
|
38
|
+
import "./chunk-BLVCDQ7E.js";
|
|
39
|
+
import "./chunk-ST5I2PLN.js";
|
|
40
|
+
import "./chunk-7APYEQIO.js";
|
|
41
|
+
import "./chunk-VGDP4YDU.js";
|
|
42
|
+
import "./chunk-G5BCQQ5N.js";
|
|
43
|
+
import "./chunk-BYXBJQAS.js";
|
|
44
|
+
import "./chunk-E26EAQIM.js";
|
|
45
|
+
import {
|
|
46
|
+
cn
|
|
47
|
+
} from "./chunk-DJMHPJBP.js";
|
|
48
|
+
import "./chunk-UQVZJSZZ.js";
|
|
49
|
+
import "./chunk-JDCCC7A7.js";
|
|
50
|
+
import "./chunk-L547YHC4.js";
|
|
51
|
+
import "./chunk-MLKGABMK.js";
|
|
52
|
+
|
|
53
|
+
// web/app/dist/server/assets/subagents-panel-iHpvMIZy.js
|
|
54
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
55
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
56
|
+
function SubagentsPanelContent({ agents, loadSession, onOpenTab, parentSessionId, tree }) {
|
|
57
|
+
const ordered = useMemo(() => orderedRlmChildren(agents, tree), [agents, tree]);
|
|
58
|
+
const [selectedAgentId, setSelectedAgentId] = useState(null);
|
|
59
|
+
const [transcripts, setTranscripts] = useState({});
|
|
60
|
+
const requestVersions = useRef(/* @__PURE__ */ new Map());
|
|
61
|
+
const selectedAgent = ordered.find((agent) => agent.id === selectedAgentId) ?? ordered[0];
|
|
62
|
+
useEffect(() => {
|
|
63
|
+
if (selectedAgentId && ordered.some((agent) => agent.id === selectedAgentId)) return;
|
|
64
|
+
setSelectedAgentId(ordered[0]?.id ?? null);
|
|
65
|
+
}, [ordered, selectedAgentId]);
|
|
66
|
+
const loadTranscript = useCallback(async (agent, force = false) => {
|
|
67
|
+
if (!parentSessionId) return;
|
|
68
|
+
const requestKey = `${parentSessionId}:${agent.id}:${agent.status}:${agent.timestamp}:${agent.activeSessionId ?? ""}`;
|
|
69
|
+
const current = transcripts[agent.id];
|
|
70
|
+
if (!force && current?.requestKey === requestKey) return;
|
|
71
|
+
const version = (requestVersions.current.get(agent.id) ?? 0) + 1;
|
|
72
|
+
requestVersions.current.set(agent.id, version);
|
|
73
|
+
setTranscripts((previous) => ({
|
|
74
|
+
...previous,
|
|
75
|
+
[agent.id]: {
|
|
76
|
+
requestKey,
|
|
77
|
+
status: "loading",
|
|
78
|
+
messages: []
|
|
79
|
+
}
|
|
80
|
+
}));
|
|
81
|
+
try {
|
|
82
|
+
const response = await loadSession(parentSessionId, agent.id);
|
|
83
|
+
if (requestVersions.current.get(agent.id) !== version) return;
|
|
84
|
+
setTranscripts((previous) => ({
|
|
85
|
+
...previous,
|
|
86
|
+
[agent.id]: {
|
|
87
|
+
requestKey,
|
|
88
|
+
status: "ready",
|
|
89
|
+
messages: response.messages,
|
|
90
|
+
presentation: response.presentation
|
|
91
|
+
}
|
|
92
|
+
}));
|
|
93
|
+
} catch (error) {
|
|
94
|
+
if (requestVersions.current.get(agent.id) !== version) return;
|
|
95
|
+
setTranscripts((previous) => ({
|
|
96
|
+
...previous,
|
|
97
|
+
[agent.id]: {
|
|
98
|
+
requestKey,
|
|
99
|
+
status: "error",
|
|
100
|
+
messages: [],
|
|
101
|
+
error: error instanceof Error ? error : new Error(String(error))
|
|
102
|
+
}
|
|
103
|
+
}));
|
|
104
|
+
}
|
|
105
|
+
}, [
|
|
106
|
+
loadSession,
|
|
107
|
+
parentSessionId,
|
|
108
|
+
transcripts
|
|
109
|
+
]);
|
|
110
|
+
useEffect(() => {
|
|
111
|
+
if (selectedAgent) loadTranscript(selectedAgent);
|
|
112
|
+
}, [loadTranscript, selectedAgent]);
|
|
113
|
+
if (ordered.length === 0) return /* @__PURE__ */ jsx("section", {
|
|
114
|
+
"aria-label": "Subagents",
|
|
115
|
+
className: "flex min-h-36 items-center rounded-md border border-dashed border-border/70 px-4 text-center text-[12px] leading-5 text-foreground/45",
|
|
116
|
+
children: "Subagent threads will appear here when Prime delegates work."
|
|
117
|
+
});
|
|
118
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
119
|
+
"aria-label": "Subagents",
|
|
120
|
+
className: "space-y-2 pb-1",
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ jsxs("div", {
|
|
123
|
+
className: "flex min-w-0 items-center gap-2 rounded-sm bg-foreground/5 px-2 py-1.5",
|
|
124
|
+
children: [
|
|
125
|
+
/* @__PURE__ */ jsx(Bot, { className: "size-3.5 shrink-0 text-foreground/45" }),
|
|
126
|
+
/* @__PURE__ */ jsx("span", {
|
|
127
|
+
className: "min-w-0 flex-1 truncate text-label font-medium text-foreground/70",
|
|
128
|
+
children: "Invoked subagents"
|
|
129
|
+
}),
|
|
130
|
+
/* @__PURE__ */ jsx("span", {
|
|
131
|
+
className: "shrink-0 text-[10px] text-foreground/40",
|
|
132
|
+
children: ordered.length
|
|
133
|
+
})
|
|
134
|
+
]
|
|
135
|
+
}),
|
|
136
|
+
/* @__PURE__ */ jsx("div", {
|
|
137
|
+
className: "space-y-0.5",
|
|
138
|
+
"data-testid": "subagent-thread-list",
|
|
139
|
+
children: ordered.map((agent) => {
|
|
140
|
+
const selected = agent.id === selectedAgent?.id;
|
|
141
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
142
|
+
type: "button",
|
|
143
|
+
variant: "ghost",
|
|
144
|
+
size: "sm",
|
|
145
|
+
"aria-pressed": selected,
|
|
146
|
+
className: cn("flex w-full min-w-0 items-center gap-2 rounded-md px-2 py-1.5 text-left transition-colors hover:bg-foreground/5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", selected && "bg-foreground/8"),
|
|
147
|
+
style: { paddingLeft: `${8 + Math.max(0, agent.depth ?? 0) * 12}px` },
|
|
148
|
+
onClick: () => {
|
|
149
|
+
setSelectedAgentId(agent.id);
|
|
150
|
+
onOpenTab?.(agent.id);
|
|
151
|
+
},
|
|
152
|
+
children: [
|
|
153
|
+
/* @__PURE__ */ jsx("span", {
|
|
154
|
+
className: "shrink-0",
|
|
155
|
+
children: rlmStatusIcon(agent.status)
|
|
156
|
+
}),
|
|
157
|
+
/* @__PURE__ */ jsx("span", {
|
|
158
|
+
className: "min-w-0 flex-1 truncate text-xs text-foreground/80",
|
|
159
|
+
children: agent.label
|
|
160
|
+
}),
|
|
161
|
+
/* @__PURE__ */ jsx(ChevronRight, { className: "size-3 shrink-0 text-foreground/30" }),
|
|
162
|
+
/* @__PURE__ */ jsx("span", {
|
|
163
|
+
className: "shrink-0 text-[10px] capitalize text-foreground/45",
|
|
164
|
+
children: agent.status
|
|
165
|
+
})
|
|
166
|
+
]
|
|
167
|
+
}, agent.id);
|
|
168
|
+
})
|
|
169
|
+
}),
|
|
170
|
+
selectedAgent ? /* @__PURE__ */ jsx(SubagentTranscriptView, {
|
|
171
|
+
child: selectedAgent,
|
|
172
|
+
parentSessionId,
|
|
173
|
+
transcript: transcripts[selectedAgent.id],
|
|
174
|
+
onRefresh: () => void loadTranscript(selectedAgent, true)
|
|
175
|
+
}) : null
|
|
176
|
+
]
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
export {
|
|
180
|
+
SubagentsPanelContent
|
|
181
|
+
};
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
readStoredWidth,
|
|
9
9
|
startHorizontalResize,
|
|
10
10
|
storeStoredWidth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BEMDNODD.js";
|
|
12
12
|
import "./chunk-QK4CHLVV.js";
|
|
13
13
|
import {
|
|
14
14
|
isPathWithinScope
|
|
@@ -61,7 +61,7 @@ import "./chunk-JDCCC7A7.js";
|
|
|
61
61
|
import "./chunk-L547YHC4.js";
|
|
62
62
|
import "./chunk-MLKGABMK.js";
|
|
63
63
|
|
|
64
|
-
// web/app/dist/server/assets/workspace-panel-
|
|
64
|
+
// web/app/dist/server/assets/workspace-panel-CHPoiXEo.js
|
|
65
65
|
import { Children, Fragment, isValidElement, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
66
66
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
67
67
|
function FileTreeFolder(_props) {
|