@qredence/fleet 0.5.0 → 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 +21 -0
- package/README.md +8 -1
- 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/artifacts-utils-N_kUFbz2.js +1 -0
- package/dist/web/client/assets/bot-Bs7QWJ2q.js +1 -0
- package/dist/web/client/assets/{chat-C64Sv6V-.js → chat-W-yOMyG_.js} +5 -5
- 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/ease-vFBiNFNK.js +9 -0
- package/dist/web/client/assets/{fleet-pi-tool-renderer-ZKiX6Ob_.js → fleet-pi-tool-renderer-B0Y7ou0U.js} +28 -30
- 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/horizontal-resize-C1TpRLNC.js +1 -0
- package/dist/web/client/assets/index-C9FloFgj.js +12 -0
- package/dist/web/client/assets/{input-Clyn18XG.js → input-CqC82Agz.js} +1 -1
- package/dist/web/client/assets/{input-group-MxDAWX3j.js → input-group-H0TG-mkU.js} +1 -1
- package/dist/web/client/assets/ipython-tool-BrMePqD-.js +3 -0
- package/dist/web/client/assets/markdown-DG7pUdsX.js +2 -0
- package/dist/web/client/assets/{markdown-code-pIaEVDUU.js → markdown-code-BgMzpy7O.js} +1 -1
- package/dist/web/client/assets/notify-Duj26eeZ.js +1 -0
- package/dist/web/client/assets/{openui-renderer-NLUpAS3h.js → openui-renderer-CCfQqUfE.js} +5 -5
- package/dist/web/client/assets/openui-utils-DawGoQNp.js +1 -0
- package/dist/web/client/assets/prime-agent-artifacts-C-g1VPiW.js +5 -0
- package/dist/web/client/assets/{provider-catalog-Gx9qaHBM.js → provider-catalog-BZhZuKSz.js} +1 -1
- package/dist/web/client/assets/provider-label-jKm8v18u.js +1 -0
- 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/resource-helpers-ULlyU8qK.js +2 -0
- package/dist/web/client/assets/resources-panel-DSU7VGX2.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/settings-dialog-CkfpTKfM.js +1 -0
- package/dist/web/client/assets/skeleton-loaders-fStjEeRP.js +1 -0
- package/dist/web/client/assets/square-terminal-BYTN_I86.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/{switch-ojzdMno9.js → switch-BFEBpUEU.js} +1 -1
- package/dist/web/client/assets/{tool-result-QvhjpNGX.js → tool-result-C2NvnN32.js} +3 -3
- package/dist/web/client/assets/ui-preferences-DUEFuJFj.js +1 -0
- package/dist/web/client/assets/workspace-panel-CjdXlEvd.js +1 -0
- package/dist/web/client/assets/workspace-path-nav-C0AQNZyy.js +1 -0
- package/dist/web/server/{_tanstack-start-manifest_v-uZddQetG-MNZGQOSA.js → _tanstack-start-manifest_v-DZc7dwm7-6ZQLGXB7.js} +23 -16
- package/dist/web/server/{artifacts-panel-knpQvJ-q-WJLZ76QB.js → artifacts-panel-Bt7YUzm4-NCBMXJ25.js} +39 -72
- package/dist/web/server/{chat-command-palette-CPv5GmGJ-22J32S6P.js → chat-command-palette-Co1L3rUY-RQLNME4T.js} +43 -20
- package/dist/web/server/{chunk-5277VI3D.js → chunk-2V6B62OF.js} +213 -275
- package/dist/web/server/{chunk-W7LNJCRJ.js → chunk-3HUI75QM.js} +75 -67
- package/dist/web/server/{chunk-I3FDTJFO.js → chunk-46VQY7SG.js} +6 -87
- package/dist/web/server/{chunk-PRT4QYOB.js → chunk-4UBOIY2S.js} +2 -35
- package/dist/web/server/{chunk-WTYNN6EV.js → chunk-54II5QXQ.js} +23 -1
- package/dist/web/server/chunk-56HSKUBD.js +1805 -0
- package/dist/web/server/{chunk-RPROZ2JC.js → chunk-5RQ6QAZX.js} +133 -133
- package/dist/web/server/{chunk-APN3LVRT.js → chunk-6D524OCJ.js} +201 -204
- package/dist/web/server/chunk-6GMKRR3C.js +161 -0
- package/dist/web/server/chunk-74QOI457.js +45 -0
- package/dist/web/server/{chunk-UBUXV2TW.js → chunk-AECEK3K7.js} +8 -8
- package/dist/web/server/chunk-AQ66E5OW.js +33 -0
- package/dist/web/server/{chunk-JD6EWZCU.js → chunk-AWFOBHH4.js} +50 -50
- package/dist/web/server/{chunk-MK3P3OBZ.js → chunk-BEMDNODD.js} +5 -5
- package/dist/web/server/{chunk-X2TUFLTP.js → chunk-BLVCDQ7E.js} +438 -438
- package/dist/web/server/chunk-FZRBAPUM.js +48 -0
- package/dist/web/server/chunk-G5BCQQ5N.js +34 -0
- 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-KVHPE5XH.js → chunk-MDYA4NXK.js} +22 -8
- package/dist/web/server/chunk-NFRJDPB3.js +52 -0
- package/dist/web/server/chunk-P66QQWUM.js +67 -0
- package/dist/web/server/{chunk-4KFMONRT.js → chunk-PDRD2X5G.js} +9 -9
- package/dist/web/server/{chunk-XXNFEXDU.js → chunk-QJBEWT4E.js} +2 -70
- package/dist/web/server/{chunk-AQWTGP35.js → chunk-RX62LUDV.js} +8 -8
- 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-C7EKOPZU.js → chunk-TO3YPLNZ.js} +89 -89
- package/dist/web/server/{chunk-IFV5M33X.js → chunk-UKINNXJY.js} +12 -26
- package/dist/web/server/chunk-VGDP4YDU.js +401 -0
- package/dist/web/server/{fleet-pi-tool-renderer-5vYFNeZS-IHKMLT7W.js → chunk-VRLTWOVJ.js} +46 -393
- package/dist/web/server/{chunk-KDSISV4P.js → chunk-WN77JNYY.js} +2 -50
- package/dist/web/server/{chunk-OADQILSQ.js → chunk-WZNZQNI4.js} +267 -3667
- package/dist/web/server/{chunk-KAWYGHDN.js → chunk-XFVL5ITL.js} +2354 -2314
- package/dist/web/server/{chunk-ZX3XOSYO.js → chunk-XLCTCC4W.js} +3 -3
- package/dist/web/server/{chunk-TTQ75CXC.js → chunk-Y4MHIA7B.js} +97 -40
- package/dist/web/server/fleet-pi-tool-renderer-CE45vM6T-2UQN6RJM.js +37 -0
- package/dist/web/server/{fork-picker-dialog-BZzfxdQd-C6SPHFAW.js → fork-picker-dialog-DCzuGelH-TN2Q5OXI.js} +5 -5
- package/dist/web/server/{markdown-Ct_q4D-z-VFWZRBTY.js → markdown-Boni3lHk-AZGKDNAR.js} +1 -1
- package/dist/web/server/{markdown-code-C_ih1bX1-5CIWT3CH.js → markdown-code-BrWukbg3-D2GN4Y77.js} +2 -2
- package/dist/web/server/{openui-renderer-BT5jL0Yf-XYLLN5U6.js → openui-renderer-c36_GYes-HX46N4M5.js} +14 -13
- package/dist/web/server/repl-panel-D9E8nkQy-L45ZNG2V.js +118 -0
- package/dist/web/server/{resources-panel-DNCVHTIg-PJYMXVGE.js → resources-panel-CwKh4U9f-D3VDEMDW.js} +6 -6
- package/dist/web/server/{router-DDxOMz3K-HRBXILHM.js → router-_ZpegqiQ-QIE44PIB.js} +1811 -1334
- package/dist/web/server/{routes-BX4Tv-6R-FHIZYUWW.js → routes-Ct81-8Tq-LHRMOS7R.js} +3958 -4534
- package/dist/web/server/server.js +3 -3
- package/dist/web/server/{session-insights-panel-gYkkAE8H-W4O74Z7H.js → session-insights-panel-BHZyKDTo-LRMAMA3O.js} +5 -3
- package/dist/web/server/{settings-dialog-BTBFLQ1P-ZENQ4KWK.js → settings-dialog-B4uUS6f--AZ4I4ZOT.js} +179 -193
- 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/{chunk-5SZXUN3Y.js → workspace-panel-CHPoiXEo-YB4WS3MK.js} +29 -16
- package/package.json +15 -7
- package/dist/web/client/assets/artifacts-panel-8TyrNBM_.js +0 -1
- package/dist/web/client/assets/chat-command-palette-HpsmKfLO.js +0 -1
- package/dist/web/client/assets/collapsible-WCSnxhr2.js +0 -1
- package/dist/web/client/assets/command-DgfiCKcY.js +0 -2
- package/dist/web/client/assets/globals-BmxtUHFx.css +0 -2
- package/dist/web/client/assets/horizontal-resize-B76jjn5v.js +0 -1
- package/dist/web/client/assets/index-0pBr_bKy.js +0 -12
- package/dist/web/client/assets/markdown-BXWmNJo7.js +0 -2
- package/dist/web/client/assets/prime-agent-artifacts-k9JiTDZM.js +0 -5
- package/dist/web/client/assets/provider-brand-icon-VCebsuTD.js +0 -1
- package/dist/web/client/assets/range-KAaLzImH.js +0 -2
- package/dist/web/client/assets/resources-panel-BWuKeyrb.js +0 -1
- package/dist/web/client/assets/routes-BPRw0UzV.js +0 -20
- package/dist/web/client/assets/session-insights-panel-CPymkzZT.js +0 -1
- package/dist/web/client/assets/settings-dialog-6p8mjg8t.js +0 -1
- package/dist/web/client/assets/shared-DAI9OAw0.js +0 -2
- package/dist/web/client/assets/skeleton-loaders-qxIkJKCA.js +0 -1
- package/dist/web/client/assets/workspace-panel-C67-fqw4.js +0 -1
- package/dist/web/client/assets/workspace-path-nav-BrQHo6es.js +0 -9
- package/dist/web/server/chunk-KJ4UUAEU.js +0 -83
- package/dist/web/server/chunk-NGI44XRR.js +0 -334
- package/dist/web/server/workspace-panel-BNAXF57q-EQCBPEG4.js +0 -28
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Input
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AWFOBHH4.js";
|
|
4
4
|
import {
|
|
5
5
|
Button,
|
|
6
6
|
cva
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5RQ6QAZX.js";
|
|
8
8
|
import {
|
|
9
9
|
createLucideIcon
|
|
10
10
|
} from "./chunk-E26EAQIM.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
cn
|
|
13
13
|
} from "./chunk-DJMHPJBP.js";
|
|
14
14
|
|
|
15
|
-
// web/app/dist/server/assets/input-group-
|
|
15
|
+
// web/app/dist/server/assets/input-group-AGoM7WYc.js
|
|
16
16
|
import { createContext, useContext, useMemo } from "react";
|
|
17
17
|
import { jsx } from "react/jsx-runtime";
|
|
18
18
|
var Plus = createLucideIcon("plus", [["path", {
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Folder
|
|
3
|
+
} from "./chunk-OLG5DQ7V.js";
|
|
1
4
|
import {
|
|
2
5
|
InputGroup,
|
|
3
6
|
InputGroupAddon,
|
|
4
7
|
useChatPanelDataContext,
|
|
5
8
|
useWorkspaceTreeContext
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XLCTCC4W.js";
|
|
10
|
+
import {
|
|
11
|
+
Bot
|
|
12
|
+
} from "./chunk-74QOI457.js";
|
|
7
13
|
import {
|
|
8
14
|
Search
|
|
9
15
|
} from "./chunk-2H6A6Z7F.js";
|
|
@@ -25,16 +31,16 @@ import {
|
|
|
25
31
|
DialogDescription,
|
|
26
32
|
DialogHeader,
|
|
27
33
|
DialogTitle
|
|
28
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-RX62LUDV.js";
|
|
29
35
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
36
|
+
Skeleton
|
|
37
|
+
} from "./chunk-EAJTWMK5.js";
|
|
32
38
|
import {
|
|
33
39
|
Package
|
|
34
40
|
} from "./chunk-ZGFQ7HIX.js";
|
|
35
41
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
42
|
+
SquareTerminal
|
|
43
|
+
} from "./chunk-G5BCQQ5N.js";
|
|
38
44
|
import {
|
|
39
45
|
createLucideIcon
|
|
40
46
|
} from "./chunk-E26EAQIM.js";
|
|
@@ -42,7 +48,7 @@ import {
|
|
|
42
48
|
cn
|
|
43
49
|
} from "./chunk-DJMHPJBP.js";
|
|
44
50
|
|
|
45
|
-
// web/app/dist/server/assets/command-
|
|
51
|
+
// web/app/dist/server/assets/command-CXirczqk.js
|
|
46
52
|
import * as t from "react";
|
|
47
53
|
import { Suspense, lazy } from "react";
|
|
48
54
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -68,20 +74,6 @@ var Library = createLucideIcon("library", [
|
|
|
68
74
|
key: "6qkkli"
|
|
69
75
|
}]
|
|
70
76
|
]);
|
|
71
|
-
var RotateCcwClock = createLucideIcon("rotate-ccw-clock", [
|
|
72
|
-
["path", {
|
|
73
|
-
d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",
|
|
74
|
-
key: "1357e3"
|
|
75
|
-
}],
|
|
76
|
-
["path", {
|
|
77
|
-
d: "M3 3v5h5",
|
|
78
|
-
key: "1xhq8a"
|
|
79
|
-
}],
|
|
80
|
-
["path", {
|
|
81
|
-
d: "M12 7v5l4 2",
|
|
82
|
-
key: "1fdv2h"
|
|
83
|
-
}]
|
|
84
|
-
]);
|
|
85
77
|
var Square = createLucideIcon("square", [["rect", {
|
|
86
78
|
width: "18",
|
|
87
79
|
height: "18",
|
|
@@ -90,10 +82,12 @@ var Square = createLucideIcon("square", [["rect", {
|
|
|
90
82
|
rx: "2",
|
|
91
83
|
key: "afitv7"
|
|
92
84
|
}]]);
|
|
93
|
-
var LazyArtifactsPanel = lazy(() => import("./artifacts-panel-
|
|
94
|
-
var LazyResourcesPanel = lazy(() => import("./resources-panel-
|
|
95
|
-
var LazySessionInsightsPanel = lazy(() => import("./session-insights-panel-
|
|
96
|
-
var
|
|
85
|
+
var LazyArtifactsPanel = lazy(() => import("./artifacts-panel-Bt7YUzm4-NCBMXJ25.js").then(({ ArtifactsPanelContent }) => ({ default: ArtifactsPanelContent })));
|
|
86
|
+
var LazyResourcesPanel = lazy(() => import("./resources-panel-CwKh4U9f-D3VDEMDW.js").then(({ ResourcesPanelContent }) => ({ default: ResourcesPanelContent })));
|
|
87
|
+
var LazySessionInsightsPanel = lazy(() => import("./session-insights-panel-BHZyKDTo-LRMAMA3O.js").then(({ SessionInsightsPanel }) => ({ default: SessionInsightsPanel })));
|
|
88
|
+
var LazyReplPanel = lazy(() => import("./repl-panel-D9E8nkQy-L45ZNG2V.js").then(({ ReplPanelContent }) => ({ default: ReplPanelContent })));
|
|
89
|
+
var LazySubagentsPanel = lazy(() => import("./subagents-panel-iHpvMIZy-LI6XK66M.js").then(({ SubagentsPanelContent }) => ({ default: SubagentsPanelContent })));
|
|
90
|
+
var LazyWorkspacePanel = lazy(() => import("./workspace-panel-CHPoiXEo-YB4WS3MK.js").then(({ WorkspacePanelContent }) => ({ default: WorkspacePanelContent })));
|
|
97
91
|
function PanelFallback() {
|
|
98
92
|
return /* @__PURE__ */ jsxs("div", {
|
|
99
93
|
className: "flex min-h-32 flex-col gap-3 p-4",
|
|
@@ -149,21 +143,37 @@ function WorkspaceContent() {
|
|
|
149
143
|
}
|
|
150
144
|
function ArtifactsContent() {
|
|
151
145
|
const data = useChatPanelDataContext();
|
|
152
|
-
const workspace = useWorkspaceTreeContext();
|
|
153
146
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
154
147
|
fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
|
|
155
148
|
children: /* @__PURE__ */ jsx(LazyArtifactsPanel, {
|
|
156
149
|
artifactRuns: data.artifactRuns,
|
|
157
|
-
error: workspace.workspaceError,
|
|
158
|
-
loadWorkspaceFile: workspace.loadWorkspaceFile,
|
|
159
|
-
loading: workspace.workspaceLoading,
|
|
160
150
|
messages: data.messages,
|
|
161
151
|
onOpenUIAction: data.onOpenUIAction,
|
|
162
|
-
onSelectedPathChange: workspace.setSelectedWorkspacePath,
|
|
163
152
|
selectedArtifactId: data.selectedArtifactId,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
153
|
+
status: data.status
|
|
154
|
+
})
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
function ReplContent() {
|
|
158
|
+
const data = useChatPanelDataContext();
|
|
159
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
160
|
+
fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
|
|
161
|
+
children: /* @__PURE__ */ jsx(LazyReplPanel, {
|
|
162
|
+
artifactRuns: data.artifactRuns,
|
|
163
|
+
selectedArtifactId: data.selectedArtifactId
|
|
164
|
+
})
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
function SubagentsContent() {
|
|
168
|
+
const data = useChatPanelDataContext();
|
|
169
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
170
|
+
fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
|
|
171
|
+
children: /* @__PURE__ */ jsx(LazySubagentsPanel, {
|
|
172
|
+
agents: data.presentation.rlmChildren,
|
|
173
|
+
loadSession: data.loadSubagentSession,
|
|
174
|
+
onOpenTab: data.onOpenSubagentTab,
|
|
175
|
+
parentSessionId: data.sessionId,
|
|
176
|
+
tree: data.presentation.rlmTree
|
|
167
177
|
})
|
|
168
178
|
});
|
|
169
179
|
}
|
|
@@ -182,6 +192,7 @@ var RIGHT_PANEL_REGISTRY = {
|
|
|
182
192
|
icon: Library,
|
|
183
193
|
dataTestid: "pi-resources-canvas",
|
|
184
194
|
mobileDataTestid: "pi-resources-mobile-panel",
|
|
195
|
+
showInLauncher: true,
|
|
185
196
|
badgeSource: "resources",
|
|
186
197
|
loadingSource: "resources",
|
|
187
198
|
refreshSource: "resources",
|
|
@@ -201,6 +212,7 @@ var RIGHT_PANEL_REGISTRY = {
|
|
|
201
212
|
icon: Folder,
|
|
202
213
|
dataTestid: "pi-workspace-canvas",
|
|
203
214
|
mobileDataTestid: "pi-workspace-mobile-panel",
|
|
215
|
+
showInLauncher: true,
|
|
204
216
|
badgeSource: void 0,
|
|
205
217
|
loadingSource: "workspace",
|
|
206
218
|
refreshSource: "workspace",
|
|
@@ -210,7 +222,7 @@ var RIGHT_PANEL_REGISTRY = {
|
|
|
210
222
|
id: "artifacts",
|
|
211
223
|
order: 2,
|
|
212
224
|
title: "Artifacts",
|
|
213
|
-
ariaLabel: "
|
|
225
|
+
ariaLabel: "Artifacts",
|
|
214
226
|
commandLabel: "Open Artifacts",
|
|
215
227
|
commandKeywords: [
|
|
216
228
|
"artifacts",
|
|
@@ -221,14 +233,59 @@ var RIGHT_PANEL_REGISTRY = {
|
|
|
221
233
|
icon: Package,
|
|
222
234
|
dataTestid: "pi-artifacts-canvas",
|
|
223
235
|
mobileDataTestid: "pi-artifacts-mobile-panel",
|
|
236
|
+
showInLauncher: true,
|
|
224
237
|
badgeSource: "artifacts",
|
|
225
|
-
loadingSource:
|
|
226
|
-
refreshSource:
|
|
238
|
+
loadingSource: void 0,
|
|
239
|
+
refreshSource: void 0,
|
|
227
240
|
component: ArtifactsContent
|
|
228
241
|
},
|
|
242
|
+
repl: {
|
|
243
|
+
id: "repl",
|
|
244
|
+
order: 3,
|
|
245
|
+
title: "REPL",
|
|
246
|
+
ariaLabel: "REPL runs",
|
|
247
|
+
commandLabel: "Open REPL",
|
|
248
|
+
commandKeywords: [
|
|
249
|
+
"repl",
|
|
250
|
+
"ipython",
|
|
251
|
+
"python",
|
|
252
|
+
"cells",
|
|
253
|
+
"panels"
|
|
254
|
+
],
|
|
255
|
+
icon: SquareTerminal,
|
|
256
|
+
dataTestid: "pi-repl-canvas",
|
|
257
|
+
mobileDataTestid: "pi-repl-mobile-panel",
|
|
258
|
+
showInLauncher: true,
|
|
259
|
+
badgeSource: "repl",
|
|
260
|
+
loadingSource: void 0,
|
|
261
|
+
refreshSource: void 0,
|
|
262
|
+
component: ReplContent
|
|
263
|
+
},
|
|
264
|
+
subagents: {
|
|
265
|
+
id: "subagents",
|
|
266
|
+
order: 4,
|
|
267
|
+
title: "Subagents",
|
|
268
|
+
ariaLabel: "Subagents",
|
|
269
|
+
commandLabel: "Open Subagents",
|
|
270
|
+
commandKeywords: [
|
|
271
|
+
"subagents",
|
|
272
|
+
"agents",
|
|
273
|
+
"threads",
|
|
274
|
+
"delegation",
|
|
275
|
+
"panels"
|
|
276
|
+
],
|
|
277
|
+
icon: Bot,
|
|
278
|
+
dataTestid: "pi-subagents-canvas",
|
|
279
|
+
mobileDataTestid: "pi-subagents-mobile-panel",
|
|
280
|
+
showInLauncher: false,
|
|
281
|
+
badgeSource: void 0,
|
|
282
|
+
loadingSource: void 0,
|
|
283
|
+
refreshSource: void 0,
|
|
284
|
+
component: SubagentsContent
|
|
285
|
+
},
|
|
229
286
|
"session-insights": {
|
|
230
287
|
id: "session-insights",
|
|
231
|
-
order:
|
|
288
|
+
order: 5,
|
|
232
289
|
title: "Session insights",
|
|
233
290
|
ariaLabel: "Session insights",
|
|
234
291
|
commandLabel: "Open Session Insights",
|
|
@@ -241,13 +298,14 @@ var RIGHT_PANEL_REGISTRY = {
|
|
|
241
298
|
icon: Activity,
|
|
242
299
|
dataTestid: "pi-session-insights-canvas",
|
|
243
300
|
mobileDataTestid: "pi-session-insights-mobile-panel",
|
|
301
|
+
showInLauncher: true,
|
|
244
302
|
badgeSource: void 0,
|
|
245
303
|
loadingSource: void 0,
|
|
246
304
|
refreshSource: void 0,
|
|
247
305
|
component: SessionInsightsContent
|
|
248
306
|
}
|
|
249
307
|
};
|
|
250
|
-
var
|
|
308
|
+
var RIGHT_PANEL_LAUNCHER_DEFINITIONS = Object.values(RIGHT_PANEL_REGISTRY).sort((left, right) => left.order - right.order).filter((definition) => definition.showInLauncher !== false);
|
|
251
309
|
function getRightPanelDefinition(panel) {
|
|
252
310
|
return RIGHT_PANEL_REGISTRY[panel];
|
|
253
311
|
}
|
|
@@ -818,9 +876,8 @@ function CommandItem({ className, children, ...props }) {
|
|
|
818
876
|
|
|
819
877
|
export {
|
|
820
878
|
Library,
|
|
821
|
-
RotateCcwClock,
|
|
822
879
|
Square,
|
|
823
|
-
|
|
880
|
+
RIGHT_PANEL_LAUNCHER_DEFINITIONS,
|
|
824
881
|
getRightPanelDefinition,
|
|
825
882
|
Command,
|
|
826
883
|
CommandDialog,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FleetPiToolRenderer,
|
|
3
|
+
fleet_pi_tool_renderer_exports
|
|
4
|
+
} from "./chunk-VRLTWOVJ.js";
|
|
5
|
+
import "./chunk-3HUI75QM.js";
|
|
6
|
+
import "./chunk-P66QQWUM.js";
|
|
7
|
+
import "./chunk-DBXYBYBP.js";
|
|
8
|
+
import "./chunk-5WZFFNFY.js";
|
|
9
|
+
import "./chunk-2H6A6Z7F.js";
|
|
10
|
+
import "./chunk-YRWVQ7BW.js";
|
|
11
|
+
import "./chunk-UKINNXJY.js";
|
|
12
|
+
import "./chunk-6D524OCJ.js";
|
|
13
|
+
import "./chunk-QJBEWT4E.js";
|
|
14
|
+
import "./chunk-FAGDMGLK.js";
|
|
15
|
+
import "./chunk-6RJYXDSD.js";
|
|
16
|
+
import "./chunk-PKCTG7EW.js";
|
|
17
|
+
import "./chunk-7QCDOBZ3.js";
|
|
18
|
+
import "./chunk-LESNF5O4.js";
|
|
19
|
+
import "./chunk-QLY3L4A2.js";
|
|
20
|
+
import "./chunk-NLIUTTKL.js";
|
|
21
|
+
import "./chunk-LSIHVSUT.js";
|
|
22
|
+
import "./chunk-BLVCDQ7E.js";
|
|
23
|
+
import "./chunk-ST5I2PLN.js";
|
|
24
|
+
import "./chunk-7APYEQIO.js";
|
|
25
|
+
import "./chunk-VGDP4YDU.js";
|
|
26
|
+
import "./chunk-G5BCQQ5N.js";
|
|
27
|
+
import "./chunk-BYXBJQAS.js";
|
|
28
|
+
import "./chunk-E26EAQIM.js";
|
|
29
|
+
import "./chunk-DJMHPJBP.js";
|
|
30
|
+
import "./chunk-UQVZJSZZ.js";
|
|
31
|
+
import "./chunk-JDCCC7A7.js";
|
|
32
|
+
import "./chunk-L547YHC4.js";
|
|
33
|
+
import "./chunk-MLKGABMK.js";
|
|
34
|
+
export {
|
|
35
|
+
fleet_pi_tool_renderer_exports as n,
|
|
36
|
+
FleetPiToolRenderer as t
|
|
37
|
+
};
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
DialogDescription,
|
|
5
5
|
DialogHeader,
|
|
6
6
|
DialogTitle
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-RX62LUDV.js";
|
|
8
|
+
import "./chunk-5RQ6QAZX.js";
|
|
9
|
+
import "./chunk-LSIHVSUT.js";
|
|
10
|
+
import "./chunk-BLVCDQ7E.js";
|
|
11
11
|
import "./chunk-E26EAQIM.js";
|
|
12
12
|
import "./chunk-DJMHPJBP.js";
|
|
13
13
|
import "./chunk-JDCCC7A7.js";
|
|
14
14
|
import "./chunk-L547YHC4.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
|
|
17
|
-
// web/app/dist/server/assets/fork-picker-dialog-
|
|
17
|
+
// web/app/dist/server/assets/fork-picker-dialog-DCzuGelH.js
|
|
18
18
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
19
19
|
function ForkPickerDialog({ entries, onOpenChange, onPick }) {
|
|
20
20
|
const open = entries !== null && entries.length > 0;
|
package/dist/web/server/{markdown-code-C_ih1bX1-5CIWT3CH.js → markdown-code-BrWukbg3-D2GN4Y77.js}
RENAMED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
fixNumberedListBreaks,
|
|
11
11
|
markdownComponents,
|
|
12
12
|
normalizeCodeFenceLanguages
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MDYA4NXK.js";
|
|
14
14
|
import "./chunk-BYXBJQAS.js";
|
|
15
15
|
import "./chunk-DJMHPJBP.js";
|
|
16
16
|
import {
|
|
@@ -21,7 +21,7 @@ import "./chunk-JDCCC7A7.js";
|
|
|
21
21
|
import "./chunk-L547YHC4.js";
|
|
22
22
|
import "./chunk-MLKGABMK.js";
|
|
23
23
|
|
|
24
|
-
// web/app/dist/server/assets/markdown-code-
|
|
24
|
+
// web/app/dist/server/assets/markdown-code-BrWukbg3.js
|
|
25
25
|
import { jsx } from "react/jsx-runtime";
|
|
26
26
|
var S = createJavaScriptRegexEngine({ forgiving: true });
|
|
27
27
|
var C = Object.fromEntries(bundledLanguagesInfo.flatMap((e) => {
|
|
@@ -2,24 +2,25 @@ import {
|
|
|
2
2
|
GenerativeTextRenderer,
|
|
3
3
|
OpenUIHtmlArtifactView,
|
|
4
4
|
openui_renderer_exports
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-WZNZQNI4.js";
|
|
6
|
+
import "./chunk-WN77JNYY.js";
|
|
7
|
+
import "./chunk-KOIPYBJF.js";
|
|
8
|
+
import "./chunk-XFVL5ITL.js";
|
|
9
|
+
import "./chunk-NFRJDPB3.js";
|
|
8
10
|
import "./chunk-LESNF5O4.js";
|
|
9
11
|
import "./chunk-52SJQXO4.js";
|
|
10
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-AECEK3K7.js";
|
|
13
|
+
import "./chunk-TO3YPLNZ.js";
|
|
14
|
+
import "./chunk-RJOANOT4.js";
|
|
11
15
|
import "./chunk-QLY3L4A2.js";
|
|
12
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-AWFOBHH4.js";
|
|
13
17
|
import "./chunk-NLIUTTKL.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-RJOANOT4.js";
|
|
19
|
-
import "./chunk-RPROZ2JC.js";
|
|
20
|
-
import "./chunk-X2TUFLTP.js";
|
|
18
|
+
import "./chunk-RX62LUDV.js";
|
|
19
|
+
import "./chunk-5RQ6QAZX.js";
|
|
20
|
+
import "./chunk-LSIHVSUT.js";
|
|
21
|
+
import "./chunk-BLVCDQ7E.js";
|
|
21
22
|
import "./chunk-ST5I2PLN.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-MDYA4NXK.js";
|
|
23
24
|
import "./chunk-BYXBJQAS.js";
|
|
24
25
|
import "./chunk-E26EAQIM.js";
|
|
25
26
|
import "./chunk-DJMHPJBP.js";
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeXml,
|
|
3
|
+
IpythonTool
|
|
4
|
+
} from "./chunk-VGDP4YDU.js";
|
|
5
|
+
import {
|
|
6
|
+
SquareTerminal
|
|
7
|
+
} from "./chunk-G5BCQQ5N.js";
|
|
8
|
+
import "./chunk-BYXBJQAS.js";
|
|
9
|
+
import "./chunk-E26EAQIM.js";
|
|
10
|
+
import "./chunk-DJMHPJBP.js";
|
|
11
|
+
import "./chunk-JDCCC7A7.js";
|
|
12
|
+
import "./chunk-MLKGABMK.js";
|
|
13
|
+
|
|
14
|
+
// web/app/dist/server/assets/repl-panel-D9E8nkQy.js
|
|
15
|
+
import { useEffect, useRef } from "react";
|
|
16
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
var REPL_STATUS_DETAILS = {
|
|
18
|
+
running: {
|
|
19
|
+
toolState: "input-streaming",
|
|
20
|
+
label: "Running"
|
|
21
|
+
},
|
|
22
|
+
error: {
|
|
23
|
+
toolState: "output-error",
|
|
24
|
+
label: "Failed"
|
|
25
|
+
},
|
|
26
|
+
cancelled: {
|
|
27
|
+
toolState: "aborted",
|
|
28
|
+
label: "Cancelled"
|
|
29
|
+
},
|
|
30
|
+
success: {
|
|
31
|
+
toolState: "output-available",
|
|
32
|
+
label: "Completed"
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
function toolState(status) {
|
|
36
|
+
return REPL_STATUS_DETAILS[status].toolState;
|
|
37
|
+
}
|
|
38
|
+
function ipythonPart(artifact) {
|
|
39
|
+
return {
|
|
40
|
+
type: "tool-IPython",
|
|
41
|
+
toolCallId: artifact.sourceToolCallId ?? artifact.id,
|
|
42
|
+
state: toolState(artifact.status),
|
|
43
|
+
input: artifact.input,
|
|
44
|
+
output: artifact.output,
|
|
45
|
+
backgroundOutput: artifact.backgroundOutput
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function statusLabel(status) {
|
|
49
|
+
return REPL_STATUS_DETAILS[status].label;
|
|
50
|
+
}
|
|
51
|
+
function ReplCell({ artifact, index, selected }) {
|
|
52
|
+
const cellRef = useRef(null);
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
if (!selected) return;
|
|
55
|
+
requestAnimationFrame(() => {
|
|
56
|
+
cellRef.current?.focus({ preventScroll: true });
|
|
57
|
+
cellRef.current?.scrollIntoView({ block: "nearest" });
|
|
58
|
+
});
|
|
59
|
+
}, [artifact.id, selected]);
|
|
60
|
+
return /* @__PURE__ */ jsxs("article", {
|
|
61
|
+
ref: cellRef,
|
|
62
|
+
tabIndex: -1,
|
|
63
|
+
className: "overflow-hidden rounded-md border border-border/60 bg-background outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
64
|
+
"data-repl-run-id": artifact.id,
|
|
65
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
66
|
+
className: "flex min-w-0 items-center gap-2 border-b border-border/50 px-2.5 py-1.5",
|
|
67
|
+
children: [
|
|
68
|
+
/* @__PURE__ */ jsx(CodeXml, { className: "size-3.5 shrink-0 text-foreground/45" }),
|
|
69
|
+
/* @__PURE__ */ jsxs("span", {
|
|
70
|
+
className: "min-w-0 flex-1 truncate text-[11px] font-medium text-foreground/70",
|
|
71
|
+
children: ["Cell ", index + 1]
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ jsx("span", {
|
|
74
|
+
className: "shrink-0 text-[10px] text-foreground/40",
|
|
75
|
+
children: statusLabel(artifact.status)
|
|
76
|
+
})
|
|
77
|
+
]
|
|
78
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
79
|
+
className: "p-2",
|
|
80
|
+
children: /* @__PURE__ */ jsx(IpythonTool, { part: ipythonPart(artifact) })
|
|
81
|
+
})]
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function ReplPanelContent({ artifactRuns = [], selectedArtifactId }) {
|
|
85
|
+
const cells = artifactRuns.flatMap((run) => run.artifacts).filter((artifact) => artifact.kind === "ipython");
|
|
86
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
87
|
+
"aria-label": "REPL runs",
|
|
88
|
+
className: "space-y-2 pb-1",
|
|
89
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
90
|
+
className: "flex min-w-0 items-center gap-2 rounded-sm bg-foreground/5 px-2 py-1.5",
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ jsx(SquareTerminal, { className: "size-3.5 shrink-0 text-foreground/45" }),
|
|
93
|
+
/* @__PURE__ */ jsx("span", {
|
|
94
|
+
className: "min-w-0 flex-1 truncate text-label font-medium text-foreground/70",
|
|
95
|
+
children: "IPython cells"
|
|
96
|
+
}),
|
|
97
|
+
/* @__PURE__ */ jsx("span", {
|
|
98
|
+
className: "shrink-0 text-[10px] text-foreground/40",
|
|
99
|
+
children: cells.length > 0 ? cells.length : "none yet"
|
|
100
|
+
})
|
|
101
|
+
]
|
|
102
|
+
}), cells.length === 0 ? /* @__PURE__ */ jsx("p", {
|
|
103
|
+
className: "px-2 text-[11px] leading-4 text-foreground/45",
|
|
104
|
+
children: "Executed IPython cells and their output will appear here."
|
|
105
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
106
|
+
className: "space-y-2",
|
|
107
|
+
"data-testid": "repl-run-list",
|
|
108
|
+
children: cells.map((artifact, index) => /* @__PURE__ */ jsx(ReplCell, {
|
|
109
|
+
artifact,
|
|
110
|
+
index,
|
|
111
|
+
selected: artifact.id === selectedArtifactId
|
|
112
|
+
}, artifact.id))
|
|
113
|
+
})]
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
export {
|
|
117
|
+
ReplPanelContent
|
|
118
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ResourcesSkeleton
|
|
3
|
-
} from "./chunk-KJ4UUAEU.js";
|
|
4
1
|
import {
|
|
5
2
|
ResourceChipSection,
|
|
6
3
|
ResourceNotice,
|
|
4
|
+
ResourcesSkeleton
|
|
5
|
+
} from "./chunk-6GMKRR3C.js";
|
|
6
|
+
import {
|
|
7
7
|
getResourceGroups
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-46VQY7SG.js";
|
|
9
9
|
import {
|
|
10
10
|
CircleAlert
|
|
11
11
|
} from "./chunk-7APYEQIO.js";
|
|
12
|
-
import "./chunk-ZGFQ7HIX.js";
|
|
13
12
|
import "./chunk-BSFYTSN6.js";
|
|
14
13
|
import "./chunk-EAJTWMK5.js";
|
|
14
|
+
import "./chunk-ZGFQ7HIX.js";
|
|
15
15
|
import "./chunk-E26EAQIM.js";
|
|
16
16
|
import "./chunk-DJMHPJBP.js";
|
|
17
17
|
import "./chunk-JDCCC7A7.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
|
|
20
|
-
// web/app/dist/server/assets/resources-panel-
|
|
20
|
+
// web/app/dist/server/assets/resources-panel-CwKh4U9f.js
|
|
21
21
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
22
22
|
function ResourcesPanelContent({ error, loading, resources, workspace }) {
|
|
23
23
|
const groups = getResourceGroups(resources, workspace);
|