@qredence/fleet 0.5.0 → 0.5.1

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.
Files changed (110) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +8 -1
  3. package/dist/web/client/assets/artifacts-panel-CX62LQ13.js +1 -0
  4. package/dist/web/client/assets/artifacts-utils-N_kUFbz2.js +1 -0
  5. package/dist/web/client/assets/bot-Bs7QWJ2q.js +1 -0
  6. package/dist/web/client/assets/{chat-C64Sv6V-.js → chat-CsepBQwy.js} +5 -5
  7. package/dist/web/client/assets/{chat-command-palette-HpsmKfLO.js → chat-command-palette-C4sSf8Kg.js} +1 -1
  8. package/dist/web/client/assets/collapsible-DmyYcezk.js +1 -0
  9. package/dist/web/client/assets/command-CB6emP8m.js +2 -0
  10. package/dist/web/client/assets/conversation-turns-ByFoWPXe.js +6 -0
  11. package/dist/web/client/assets/ease-vFBiNFNK.js +9 -0
  12. package/dist/web/client/assets/{fleet-pi-tool-renderer-ZKiX6Ob_.js → fleet-pi-tool-renderer-BD_ZAjlG.js} +28 -30
  13. package/dist/web/client/assets/globals-CqqQdk2S.css +2 -0
  14. package/dist/web/client/assets/horizontal-resize-C1TpRLNC.js +1 -0
  15. package/dist/web/client/assets/index-DweoFRMs.js +12 -0
  16. package/dist/web/client/assets/{input-Clyn18XG.js → input-CqC82Agz.js} +1 -1
  17. package/dist/web/client/assets/{input-group-MxDAWX3j.js → input-group-H0TG-mkU.js} +1 -1
  18. package/dist/web/client/assets/ipython-tool-BfeIa0nK.js +3 -0
  19. package/dist/web/client/assets/markdown-DG7pUdsX.js +2 -0
  20. package/dist/web/client/assets/{markdown-code-pIaEVDUU.js → markdown-code-BgMzpy7O.js} +1 -1
  21. package/dist/web/client/assets/notify-Duj26eeZ.js +1 -0
  22. package/dist/web/client/assets/{openui-renderer-NLUpAS3h.js → openui-renderer-DlUo6ehT.js} +5 -5
  23. package/dist/web/client/assets/openui-utils-DawGoQNp.js +1 -0
  24. package/dist/web/client/assets/prime-agent-artifacts-CHGb5V_j.js +5 -0
  25. package/dist/web/client/assets/{provider-catalog-Gx9qaHBM.js → provider-catalog-BZhZuKSz.js} +1 -1
  26. package/dist/web/client/assets/provider-label-jKm8v18u.js +1 -0
  27. package/dist/web/client/assets/range-vSJ7Ux_5.js +2 -0
  28. package/dist/web/client/assets/repl-panel-DiGS6uCw.js +1 -0
  29. package/dist/web/client/assets/resource-helpers-ULlyU8qK.js +2 -0
  30. package/dist/web/client/assets/resources-panel-DSU7VGX2.js +1 -0
  31. package/dist/web/client/assets/routes-CxlNCi_v.js +16 -0
  32. package/dist/web/client/assets/session-insights-panel-DwmwiikS.js +1 -0
  33. package/dist/web/client/assets/settings-dialog-CkfpTKfM.js +1 -0
  34. package/dist/web/client/assets/skeleton-loaders-fStjEeRP.js +1 -0
  35. package/dist/web/client/assets/square-terminal-BYTN_I86.js +1 -0
  36. package/dist/web/client/assets/subagents-panel-DGnsK6Nx.js +1 -0
  37. package/dist/web/client/assets/{switch-ojzdMno9.js → switch-BFEBpUEU.js} +1 -1
  38. package/dist/web/client/assets/{tool-result-QvhjpNGX.js → tool-result-CBzwwUE9.js} +3 -3
  39. package/dist/web/client/assets/ui-preferences-DUEFuJFj.js +1 -0
  40. package/dist/web/client/assets/workspace-panel-CjdXlEvd.js +1 -0
  41. package/dist/web/client/assets/workspace-path-nav-C0AQNZyy.js +1 -0
  42. package/dist/web/server/{_tanstack-start-manifest_v-uZddQetG-MNZGQOSA.js → _tanstack-start-manifest_v-bDUlyKY0-KFW35JRO.js} +23 -16
  43. package/dist/web/server/{artifacts-panel-knpQvJ-q-WJLZ76QB.js → artifacts-panel-D9w1DHAN-FGRDCYU2.js} +37 -70
  44. package/dist/web/server/{chat-command-palette-CPv5GmGJ-22J32S6P.js → chat-command-palette-BaenPkCN-BHSOPGU4.js} +16 -14
  45. package/dist/web/server/{chunk-OADQILSQ.js → chunk-2U7PWSJX.js} +49 -47
  46. package/dist/web/server/{chunk-ZX3XOSYO.js → chunk-3GSFXWL5.js} +2 -2
  47. package/dist/web/server/{chunk-IFV5M33X.js → chunk-3IKSPTYI.js} +12 -26
  48. package/dist/web/server/{chunk-W7LNJCRJ.js → chunk-44IVTHDV.js} +18 -10
  49. package/dist/web/server/{chunk-I3FDTJFO.js → chunk-46VQY7SG.js} +6 -87
  50. package/dist/web/server/{chunk-WTYNN6EV.js → chunk-54II5QXQ.js} +23 -1
  51. package/dist/web/server/{chunk-PRT4QYOB.js → chunk-5AVQZ4AZ.js} +1 -35
  52. package/dist/web/server/chunk-6GMKRR3C.js +161 -0
  53. package/dist/web/server/chunk-74QOI457.js +45 -0
  54. package/dist/web/server/chunk-AQ66E5OW.js +33 -0
  55. package/dist/web/server/{chunk-TTQ75CXC.js → chunk-AZZHUVJR.js} +88 -23
  56. package/dist/web/server/{chunk-KAWYGHDN.js → chunk-B2F6MLVZ.js} +23 -1
  57. package/dist/web/server/{chunk-C7EKOPZU.js → chunk-DO3TVNGA.js} +87 -87
  58. package/dist/web/server/chunk-EIVNRYP3.js +48 -0
  59. package/dist/web/server/{chunk-UBUXV2TW.js → chunk-FBOO3G67.js} +6 -6
  60. package/dist/web/server/{chunk-MK3P3OBZ.js → chunk-FVWDJNXR.js} +5 -5
  61. package/dist/web/server/chunk-G5BCQQ5N.js +34 -0
  62. package/dist/web/server/{chunk-4KFMONRT.js → chunk-H64JLONZ.js} +9 -9
  63. package/dist/web/server/{chunk-KDSISV4P.js → chunk-HBZ6YKRB.js} +2 -50
  64. package/dist/web/server/{chunk-5277VI3D.js → chunk-KPNGZR2R.js} +12 -74
  65. package/dist/web/server/chunk-M2FGGPNA.js +376 -0
  66. package/dist/web/server/{chunk-KVHPE5XH.js → chunk-MDYA4NXK.js} +22 -8
  67. package/dist/web/server/chunk-NFRJDPB3.js +52 -0
  68. package/dist/web/server/chunk-P66QQWUM.js +67 -0
  69. package/dist/web/server/{fleet-pi-tool-renderer-5vYFNeZS-IHKMLT7W.js → chunk-PCJ5EKFE.js} +40 -392
  70. package/dist/web/server/{chunk-APN3LVRT.js → chunk-PWK2HJIV.js} +27 -30
  71. package/dist/web/server/{chunk-XXNFEXDU.js → chunk-QJBEWT4E.js} +2 -70
  72. package/dist/web/server/{chunk-JD6EWZCU.js → chunk-VHCAD46L.js} +48 -48
  73. package/dist/web/server/chunk-Y6LJ4WBI.js +1797 -0
  74. package/dist/web/server/{chunk-NGI44XRR.js → chunk-ZEVZFLIY.js} +1 -1
  75. package/dist/web/server/fleet-pi-tool-renderer-lJvZWmBJ-4M5YI6VS.js +35 -0
  76. package/dist/web/server/{fork-picker-dialog-BZzfxdQd-C6SPHFAW.js → fork-picker-dialog-BZzfxdQd-Y725VJ7G.js} +2 -2
  77. package/dist/web/server/{markdown-Ct_q4D-z-VFWZRBTY.js → markdown-Boni3lHk-AZGKDNAR.js} +1 -1
  78. package/dist/web/server/{markdown-code-C_ih1bX1-5CIWT3CH.js → markdown-code-BrWukbg3-D2GN4Y77.js} +2 -2
  79. package/dist/web/server/{openui-renderer-BT5jL0Yf-XYLLN5U6.js → openui-renderer-Cg4RSE9k-7BTJIYZJ.js} +12 -11
  80. package/dist/web/server/repl-panel-BEQrC2ef-V3YEZ7EO.js +117 -0
  81. package/dist/web/server/{resources-panel-DNCVHTIg-PJYMXVGE.js → resources-panel-CwKh4U9f-D3VDEMDW.js} +6 -6
  82. package/dist/web/server/{router-DDxOMz3K-HRBXILHM.js → router-CEahIUpn-SRG7XKIH.js} +131 -21
  83. package/dist/web/server/{routes-BX4Tv-6R-FHIZYUWW.js → routes-BznemByz-F4DJAYIM.js} +1371 -2499
  84. package/dist/web/server/server.js +2 -2
  85. package/dist/web/server/{session-insights-panel-gYkkAE8H-W4O74Z7H.js → session-insights-panel-JfeTHE0d-3HZB3ZWI.js} +2 -2
  86. package/dist/web/server/{settings-dialog-BTBFLQ1P-ZENQ4KWK.js → settings-dialog-DgeBMORv-7SRSENPM.js} +47 -61
  87. package/dist/web/server/subagents-panel-CzZe3co7-2VZ5JTWF.js +332 -0
  88. package/dist/web/server/{chunk-5SZXUN3Y.js → workspace-panel-y54P79_B-VPIYUXF6.js} +29 -16
  89. package/package.json +11 -3
  90. package/dist/web/client/assets/artifacts-panel-8TyrNBM_.js +0 -1
  91. package/dist/web/client/assets/collapsible-WCSnxhr2.js +0 -1
  92. package/dist/web/client/assets/command-DgfiCKcY.js +0 -2
  93. package/dist/web/client/assets/globals-BmxtUHFx.css +0 -2
  94. package/dist/web/client/assets/horizontal-resize-B76jjn5v.js +0 -1
  95. package/dist/web/client/assets/index-0pBr_bKy.js +0 -12
  96. package/dist/web/client/assets/markdown-BXWmNJo7.js +0 -2
  97. package/dist/web/client/assets/prime-agent-artifacts-k9JiTDZM.js +0 -5
  98. package/dist/web/client/assets/provider-brand-icon-VCebsuTD.js +0 -1
  99. package/dist/web/client/assets/range-KAaLzImH.js +0 -2
  100. package/dist/web/client/assets/resources-panel-BWuKeyrb.js +0 -1
  101. package/dist/web/client/assets/routes-BPRw0UzV.js +0 -20
  102. package/dist/web/client/assets/session-insights-panel-CPymkzZT.js +0 -1
  103. package/dist/web/client/assets/settings-dialog-6p8mjg8t.js +0 -1
  104. package/dist/web/client/assets/shared-DAI9OAw0.js +0 -2
  105. package/dist/web/client/assets/skeleton-loaders-qxIkJKCA.js +0 -1
  106. package/dist/web/client/assets/workspace-panel-C67-fqw4.js +0 -1
  107. package/dist/web/client/assets/workspace-path-nav-BrQHo6es.js +0 -9
  108. package/dist/web/server/chunk-KJ4UUAEU.js +0 -83
  109. package/dist/web/server/workspace-panel-BNAXF57q-EQCBPEG4.js +0 -28
  110. package/dist/web/server/{chunk-AQWTGP35.js → chunk-FE4KN6T2.js} +5 -5
@@ -33,7 +33,7 @@ import {
33
33
  usePresence
34
34
  } from "./chunk-FAGDMGLK.js";
35
35
 
36
- // web/app/dist/server/assets/workspace-path-nav-BOYmkP8s.js
36
+ // web/app/dist/server/assets/ease-wRsoBG43.js
37
37
  import * as React$1 from "react";
38
38
  import { Children, Fragment, createContext, createElement, forwardRef, isValidElement, useCallback as useCallback2, useContext, useEffect as useEffect2, useId, useInsertionEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
39
39
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -739,71 +739,6 @@ var SPRING_GLIDE = {
739
739
  damping: 50,
740
740
  mass: 0.5
741
741
  };
742
- var WORKSPACE_ROOT = "agent-workspace";
743
- var ARTIFACTS_SEGMENT = `${WORKSPACE_ROOT}/artifacts`;
744
- function collapseWorkspaceSegments(path) {
745
- const stack = [];
746
- for (const segment of path.split("/")) {
747
- if (!segment || segment === ".") continue;
748
- if (segment === "..") {
749
- stack.pop();
750
- continue;
751
- }
752
- stack.push(segment);
753
- }
754
- return stack.join("/");
755
- }
756
- function isPathWithinScope(path, scopePath) {
757
- if (!scopePath) return true;
758
- return path === scopePath || path.startsWith(`${scopePath}/`);
759
- }
760
- function stripSandboxPrefixes(filePath) {
761
- for (const prefix of [
762
- "/project/sandbox/repo/",
763
- "/project/sandbox/",
764
- "/project/",
765
- "/workspace/"
766
- ]) if (filePath.startsWith(prefix)) return filePath.slice(prefix.length);
767
- const markerIndex = filePath.indexOf(".21st/worktrees/");
768
- if (markerIndex !== -1) {
769
- const segments = filePath.slice(markerIndex + 16).split("/");
770
- if (segments.length >= 3 && segments[0] && segments[1]) return segments.slice(2).join("/");
771
- }
772
- return filePath;
773
- }
774
- function findWorkspaceRootIndex(segments) {
775
- return segments.indexOf(WORKSPACE_ROOT);
776
- }
777
- function normalizeWorkspaceFilePath(raw) {
778
- const trimmed = raw.trim();
779
- if (!trimmed) return null;
780
- const normalized = stripSandboxPrefixes(trimmed).replace(/\\/g, "/").replace(/\/+/g, "/");
781
- if (normalized.startsWith(`${WORKSPACE_ROOT}/`)) {
782
- const collapsed = collapseWorkspaceSegments(normalized);
783
- return collapsed.startsWith(`${WORKSPACE_ROOT}/`) ? collapsed : null;
784
- }
785
- if (normalized === WORKSPACE_ROOT) return null;
786
- if (normalized.startsWith("artifacts/")) return `${WORKSPACE_ROOT}/${normalized}`;
787
- if (normalized.startsWith("/")) {
788
- const segments = normalized.split("/").filter(Boolean);
789
- const rootIndex = findWorkspaceRootIndex(segments);
790
- if (rootIndex >= 0) return segments.slice(rootIndex).join("/");
791
- return null;
792
- }
793
- return null;
794
- }
795
- function resolveWorkspacePanelTarget(rawPath) {
796
- const path = normalizeWorkspaceFilePath(rawPath);
797
- if (!path) return null;
798
- if (path.startsWith(`${ARTIFACTS_SEGMENT}/`) || path === ARTIFACTS_SEGMENT) return {
799
- panel: "artifacts",
800
- path
801
- };
802
- return {
803
- panel: "workspace",
804
- path
805
- };
806
- }
807
742
 
808
743
  export {
809
744
  useConstant,
@@ -822,8 +757,5 @@ export {
822
757
  SPRING_PANEL,
823
758
  SPRING_LAYOUT,
824
759
  SPRING_MOUSE,
825
- SPRING_GLIDE,
826
- isPathWithinScope,
827
- stripSandboxPrefixes,
828
- resolveWorkspacePanelTarget
760
+ SPRING_GLIDE
829
761
  };
@@ -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
7
  } from "./chunk-RPROZ2JC.js";
8
+ import {
9
+ useBaseUiId
10
+ } from "./chunk-XYYNYFFD.js";
11
11
  import {
12
12
  EMPTY_OBJECT,
13
13
  NOOP,
@@ -24,7 +24,7 @@ import {
24
24
  cn
25
25
  } from "./chunk-DJMHPJBP.js";
26
26
 
27
- // web/app/dist/server/assets/input-5AGtyXDX.js
27
+ // web/app/dist/server/assets/input-r1sccj4-.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
- var FormContext = /* @__PURE__ */ React$1.createContext({
94
- elementRef: { current: null },
95
- formRef: { current: { fields: /* @__PURE__ */ new Map() } },
96
- errors: {},
97
- clearErrors: NOOP,
98
- validationMode: "onSubmit",
99
- submitAttemptedRef: { current: false }
100
- });
101
- function useFormContext() {
102
- return React$1.useContext(FormContext);
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
- function useRegisterFieldControl(controlRef, id, value, getFormValueOverride, enabled = true, name) {
166
- const { registerFieldControl } = useFieldRootContext();
167
- const sourceRef = useRefWithInit(() => /* @__PURE__ */ Symbol());
168
- useIsoLayoutEffect(() => {
169
- const source = sourceRef.current;
170
- if (!enabled) {
171
- registerFieldControl(source, void 0);
172
- return;
173
- }
174
- registerFieldControl(source, {
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
- useFormContext,
294
+ useRegisterFieldControl,
295
295
  useLabelableContext,
296
296
  useLabelableId,
297
- useRegisterFieldControl,
297
+ useFormContext,
298
298
  Input2 as Input
299
299
  };