@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
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
segmentOpenUIContent
|
|
3
|
+
} from "./chunk-NFRJDPB3.js";
|
|
4
|
+
|
|
5
|
+
// web/app/dist/server/assets/artifacts-utils-DE0oJBSs.js
|
|
6
|
+
var ROOT_COMPONENT_PATTERN = /^root\s*=\s*([A-Za-z][A-Za-z0-9]*)/;
|
|
7
|
+
var FIRST_STRING_LITERAL_PATTERN = /"((?:\\.|[^"\\]){1,80})"/;
|
|
8
|
+
function openUIBlockLabel(content) {
|
|
9
|
+
return FIRST_STRING_LITERAL_PATTERN.exec(content)?.[1] ?? ROOT_COMPONENT_PATTERN.exec(content)?.[1] ?? "Interface";
|
|
10
|
+
}
|
|
11
|
+
function collectSessionOpenUIBlocks(messages) {
|
|
12
|
+
const blocks = [];
|
|
13
|
+
for (const message of messages) {
|
|
14
|
+
if (message.role !== "assistant") continue;
|
|
15
|
+
for (const part of message.parts) {
|
|
16
|
+
if (part.type !== "text" || typeof part.text !== "string") continue;
|
|
17
|
+
for (const segment of segmentOpenUIContent(part.text)) {
|
|
18
|
+
if (segment.type !== "openui") continue;
|
|
19
|
+
blocks.push({
|
|
20
|
+
blockId: `${message.id}:${segment.id}`,
|
|
21
|
+
content: segment.content,
|
|
22
|
+
component: openUIBlockLabel(segment.content),
|
|
23
|
+
ordinal: blocks.length + 1
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return blocks;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
collectSessionOpenUIBlocks
|
|
33
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useControlled
|
|
3
3
|
} from "./chunk-NLIUTTKL.js";
|
|
4
|
-
import {
|
|
5
|
-
useBaseUiId
|
|
6
|
-
} from "./chunk-XYYNYFFD.js";
|
|
7
4
|
import {
|
|
8
5
|
activeElement,
|
|
9
6
|
ownerDocument
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5RQ6QAZX.js";
|
|
8
|
+
import {
|
|
9
|
+
useBaseUiId
|
|
10
|
+
} from "./chunk-LSIHVSUT.js";
|
|
11
11
|
import {
|
|
12
12
|
EMPTY_OBJECT,
|
|
13
13
|
NOOP,
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
useRefWithInit,
|
|
20
20
|
useRenderElement,
|
|
21
21
|
useStableCallback
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BLVCDQ7E.js";
|
|
23
23
|
import {
|
|
24
24
|
cn
|
|
25
25
|
} from "./chunk-DJMHPJBP.js";
|
|
26
26
|
|
|
27
|
-
// web/app/dist/server/assets/input-
|
|
27
|
+
// web/app/dist/server/assets/input-BG0y3RbB.js
|
|
28
28
|
import * as React$1 from "react";
|
|
29
29
|
import { jsx } from "react/jsx-runtime";
|
|
30
30
|
var DEFAULT_VALIDITY_STATE = {
|
|
@@ -90,16 +90,38 @@ function useFieldRootContext(optional = true) {
|
|
|
90
90
|
if (context.setValidityData === NOOP && !optional) throw new Error(formatErrorMessage(28));
|
|
91
91
|
return context;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
93
|
+
function useRegisterFieldControl(controlRef, id, value, getFormValueOverride, enabled = true, name) {
|
|
94
|
+
const { registerFieldControl } = useFieldRootContext();
|
|
95
|
+
const sourceRef = useRefWithInit(() => /* @__PURE__ */ Symbol());
|
|
96
|
+
useIsoLayoutEffect(() => {
|
|
97
|
+
const source = sourceRef.current;
|
|
98
|
+
if (!enabled) {
|
|
99
|
+
registerFieldControl(source, void 0);
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
registerFieldControl(source, {
|
|
103
|
+
controlRef,
|
|
104
|
+
getValue: getFormValueOverride,
|
|
105
|
+
id,
|
|
106
|
+
name,
|
|
107
|
+
value
|
|
108
|
+
});
|
|
109
|
+
}, [
|
|
110
|
+
controlRef,
|
|
111
|
+
enabled,
|
|
112
|
+
getFormValueOverride,
|
|
113
|
+
id,
|
|
114
|
+
name,
|
|
115
|
+
registerFieldControl,
|
|
116
|
+
sourceRef,
|
|
117
|
+
value
|
|
118
|
+
]);
|
|
119
|
+
useIsoLayoutEffect(() => {
|
|
120
|
+
const source = sourceRef.current;
|
|
121
|
+
return () => {
|
|
122
|
+
registerFieldControl(source, void 0);
|
|
123
|
+
};
|
|
124
|
+
}, [registerFieldControl, sourceRef]);
|
|
103
125
|
}
|
|
104
126
|
var LabelableContext = /* @__PURE__ */ React$1.createContext({
|
|
105
127
|
controlId: void 0,
|
|
@@ -162,38 +184,16 @@ function useLabelableId(params = {}) {
|
|
|
162
184
|
}, [unregisterControlId]);
|
|
163
185
|
return controlId ?? defaultId;
|
|
164
186
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
controlRef,
|
|
176
|
-
getValue: getFormValueOverride,
|
|
177
|
-
id,
|
|
178
|
-
name,
|
|
179
|
-
value
|
|
180
|
-
});
|
|
181
|
-
}, [
|
|
182
|
-
controlRef,
|
|
183
|
-
enabled,
|
|
184
|
-
getFormValueOverride,
|
|
185
|
-
id,
|
|
186
|
-
name,
|
|
187
|
-
registerFieldControl,
|
|
188
|
-
sourceRef,
|
|
189
|
-
value
|
|
190
|
-
]);
|
|
191
|
-
useIsoLayoutEffect(() => {
|
|
192
|
-
const source = sourceRef.current;
|
|
193
|
-
return () => {
|
|
194
|
-
registerFieldControl(source, void 0);
|
|
195
|
-
};
|
|
196
|
-
}, [registerFieldControl, sourceRef]);
|
|
187
|
+
var FormContext = /* @__PURE__ */ React$1.createContext({
|
|
188
|
+
elementRef: { current: null },
|
|
189
|
+
formRef: { current: { fields: /* @__PURE__ */ new Map() } },
|
|
190
|
+
errors: {},
|
|
191
|
+
clearErrors: NOOP,
|
|
192
|
+
validationMode: "onSubmit",
|
|
193
|
+
submitAttemptedRef: { current: false }
|
|
194
|
+
});
|
|
195
|
+
function useFormContext() {
|
|
196
|
+
return React$1.useContext(FormContext);
|
|
197
197
|
}
|
|
198
198
|
var FieldControl = /* @__PURE__ */ React$1.forwardRef(function FieldControl2(componentProps, forwardedRef) {
|
|
199
199
|
const { render, className, id: idProp, name: nameProp, value: valueProp, disabled: disabledProp = false, onValueChange, defaultValue, autoFocus = false, style, ...elementProps } = componentProps;
|
|
@@ -291,9 +291,9 @@ function Input2({ className, type, ...props }) {
|
|
|
291
291
|
export {
|
|
292
292
|
fieldValidityMapping,
|
|
293
293
|
useFieldRootContext,
|
|
294
|
-
|
|
294
|
+
useRegisterFieldControl,
|
|
295
295
|
useLabelableContext,
|
|
296
296
|
useLabelableId,
|
|
297
|
-
|
|
297
|
+
useFormContext,
|
|
298
298
|
Input2 as Input
|
|
299
299
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
redactSessionLabelSecrets
|
|
3
|
+
} from "./chunk-QK4CHLVV.js";
|
|
1
4
|
import {
|
|
2
5
|
AnimatePresence,
|
|
3
6
|
SPRING_LAYOUT,
|
|
4
7
|
m,
|
|
5
8
|
useReducedMotion
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
redactSessionLabelSecrets
|
|
9
|
-
} from "./chunk-QK4CHLVV.js";
|
|
9
|
+
} from "./chunk-QJBEWT4E.js";
|
|
10
10
|
import {
|
|
11
11
|
createLucideIcon
|
|
12
12
|
} from "./chunk-E26EAQIM.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
cn
|
|
15
15
|
} from "./chunk-DJMHPJBP.js";
|
|
16
16
|
|
|
17
|
-
// web/app/dist/server/assets/horizontal-resize-
|
|
17
|
+
// web/app/dist/server/assets/horizontal-resize-BpsZai_L.js
|
|
18
18
|
import { Children, cloneElement, forwardRef, isValidElement, useId, useState } from "react";
|
|
19
19
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
20
20
|
var File = createLucideIcon("file", [["path", {
|