@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
@@ -8,7 +8,7 @@ import {
8
8
  useLabelableContext,
9
9
  useLabelableId,
10
10
  useRegisterFieldControl
11
- } from "./chunk-JD6EWZCU.js";
11
+ } from "./chunk-VHCAD46L.js";
12
12
  import {
13
13
  Check,
14
14
  useControlled
@@ -35,11 +35,7 @@ import {
35
35
  useFloatingTree,
36
36
  useScrollLock,
37
37
  useSurface
38
- } from "./chunk-AQWTGP35.js";
39
- import {
40
- useTransitionStatus,
41
- useValueAsRef
42
- } from "./chunk-XYYNYFFD.js";
38
+ } from "./chunk-FE4KN6T2.js";
43
39
  import {
44
40
  ARROW_DOWN,
45
41
  ARROW_LEFT,
@@ -71,6 +67,10 @@ import {
71
67
  visuallyHiddenInput,
72
68
  webkit
73
69
  } from "./chunk-RPROZ2JC.js";
70
+ import {
71
+ useTransitionStatus,
72
+ useValueAsRef
73
+ } from "./chunk-XYYNYFFD.js";
74
74
  import {
75
75
  EMPTY_ARRAY,
76
76
  EMPTY_OBJECT,
@@ -117,7 +117,7 @@ import {
117
117
  cn
118
118
  } from "./chunk-DJMHPJBP.js";
119
119
 
120
- // web/app/dist/server/assets/select-f5OSECdd.js
120
+ // web/app/dist/server/assets/select-B-Hv5-Yn.js
121
121
  import * as React$1 from "react";
122
122
  import { useLayoutEffect } from "react";
123
123
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -2878,77 +2878,12 @@ function useCSPContext() {
2878
2878
  function isElementDisabled(element) {
2879
2879
  return element == null || element.hasAttribute("disabled") || element.getAttribute("aria-disabled") === "true";
2880
2880
  }
2881
- function useEnhancedClickHandler(handler) {
2882
- const lastClickInteractionTypeRef = React$1.useRef("");
2883
- const handlePointerDown = React$1.useCallback((event) => {
2884
- if (event.defaultPrevented) return;
2885
- lastClickInteractionTypeRef.current = event.pointerType;
2886
- handler(event, event.pointerType);
2887
- }, [handler]);
2888
- return {
2889
- onClick: React$1.useCallback((event) => {
2890
- if (event.detail === 0) {
2891
- handler(event, "keyboard");
2892
- return;
2893
- }
2894
- if ("pointerType" in event) handler(event, event.pointerType);
2895
- else handler(event, lastClickInteractionTypeRef.current);
2896
- lastClickInteractionTypeRef.current = "";
2897
- }, [handler]),
2898
- onPointerDown: handlePointerDown
2899
- };
2900
- }
2901
- function useValueChanged(value, onChange) {
2902
- const valueRef = React$1.useRef(value);
2903
- const onChangeCallback = useStableCallback(onChange);
2904
- useIsoLayoutEffect(() => {
2905
- if (valueRef.current !== value) onChangeCallback(valueRef.current);
2906
- valueRef.current = value;
2907
- }, [value, onChangeCallback]);
2908
- }
2909
- function useOpenMethodTriggerProps(open, setOpenMethod) {
2910
- const { onClick, onPointerDown } = useEnhancedClickHandler(useStableCallback((_, interactionType) => {
2911
- if (!(typeof open === "function" ? open() : open)) setOpenMethod(interactionType || (ios ? "touch" : ""));
2912
- }));
2913
- return React$1.useMemo(() => ({
2914
- onClick,
2915
- onPointerDown
2916
- }), [onClick, onPointerDown]);
2917
- }
2918
- function useOpenInteractionType(open) {
2919
- const [openMethod, setOpenMethod] = React$1.useState(null);
2920
- const triggerProps = useOpenMethodTriggerProps(open, setOpenMethod);
2921
- useValueChanged(open, (previousOpen) => {
2922
- if (previousOpen && !open) setOpenMethod(null);
2923
- });
2924
- return React$1.useMemo(() => ({
2925
- openMethod,
2926
- triggerProps
2927
- }), [openMethod, triggerProps]);
2928
- }
2929
- var VIEWPORT_WIDTH_TOLERANCE_PX = 20;
2930
- function useAnchoredPopupScrollLock(enabled, touchOpen, positionerElement, referenceElement) {
2931
- const [touchOpenShouldLockScroll, setTouchOpenShouldLockScroll] = React$1.useState(false);
2932
- useIsoLayoutEffect(() => {
2933
- if (!enabled || !touchOpen || positionerElement == null) {
2934
- setTouchOpenShouldLockScroll(false);
2935
- return;
2936
- }
2937
- const viewportWidth = ownerDocument(positionerElement).documentElement.clientWidth;
2938
- const popupWidth = positionerElement.offsetWidth;
2939
- setTouchOpenShouldLockScroll(viewportWidth > 0 && popupWidth > 0 && popupWidth >= viewportWidth - VIEWPORT_WIDTH_TOLERANCE_PX);
2940
- }, [
2941
- enabled,
2942
- touchOpen,
2943
- positionerElement
2944
- ]);
2945
- useScrollLock(enabled && (!touchOpen || touchOpenShouldLockScroll), referenceElement);
2946
- }
2947
- var ToolbarRootContext = /* @__PURE__ */ React$1.createContext(void 0);
2948
- function useToolbarRootContext(optional) {
2949
- const context = React$1.useContext(ToolbarRootContext);
2950
- if (context === void 0 && !optional) throw new Error(formatErrorMessage(69));
2951
- return context;
2881
+ function useOnFirstRender(fn) {
2882
+ const ref = React$1.useRef(true);
2883
+ if (ref.current) {
2884
+ ref.current = false;
2885
+ fn();
2886
+ }
2952
2887
  }
2953
2888
  function usePreviousValue(value) {
2954
2889
  const [state, setState] = React$1.useState({
@@ -2961,13 +2896,6 @@ function usePreviousValue(value) {
2961
2896
  });
2962
2897
  return state.previous;
2963
2898
  }
2964
- function useOnFirstRender(fn) {
2965
- const ref = React$1.useRef(true);
2966
- if (ref.current) {
2967
- ref.current = false;
2968
- fn();
2969
- }
2970
- }
2971
2899
  var SelectRootContext = /* @__PURE__ */ React$1.createContext(null);
2972
2900
  function useSelectRootContext() {
2973
2901
  const context = React$1.useContext(SelectRootContext);
@@ -3100,6 +3028,54 @@ var selectors = {
3100
3028
  function areArraysEqual(array1, array2, itemComparer = (a, b) => a === b) {
3101
3029
  return array1.length === array2.length && array1.every((value, index2) => itemComparer(value, array2[index2]));
3102
3030
  }
3031
+ function useValueChanged(value, onChange) {
3032
+ const valueRef = React$1.useRef(value);
3033
+ const onChangeCallback = useStableCallback(onChange);
3034
+ useIsoLayoutEffect(() => {
3035
+ if (valueRef.current !== value) onChangeCallback(valueRef.current);
3036
+ valueRef.current = value;
3037
+ }, [value, onChangeCallback]);
3038
+ }
3039
+ function useEnhancedClickHandler(handler) {
3040
+ const lastClickInteractionTypeRef = React$1.useRef("");
3041
+ const handlePointerDown = React$1.useCallback((event) => {
3042
+ if (event.defaultPrevented) return;
3043
+ lastClickInteractionTypeRef.current = event.pointerType;
3044
+ handler(event, event.pointerType);
3045
+ }, [handler]);
3046
+ return {
3047
+ onClick: React$1.useCallback((event) => {
3048
+ if (event.detail === 0) {
3049
+ handler(event, "keyboard");
3050
+ return;
3051
+ }
3052
+ if ("pointerType" in event) handler(event, event.pointerType);
3053
+ else handler(event, lastClickInteractionTypeRef.current);
3054
+ lastClickInteractionTypeRef.current = "";
3055
+ }, [handler]),
3056
+ onPointerDown: handlePointerDown
3057
+ };
3058
+ }
3059
+ function useOpenMethodTriggerProps(open, setOpenMethod) {
3060
+ const { onClick, onPointerDown } = useEnhancedClickHandler(useStableCallback((_, interactionType) => {
3061
+ if (!(typeof open === "function" ? open() : open)) setOpenMethod(interactionType || (ios ? "touch" : ""));
3062
+ }));
3063
+ return React$1.useMemo(() => ({
3064
+ onClick,
3065
+ onPointerDown
3066
+ }), [onClick, onPointerDown]);
3067
+ }
3068
+ function useOpenInteractionType(open) {
3069
+ const [openMethod, setOpenMethod] = React$1.useState(null);
3070
+ const triggerProps = useOpenMethodTriggerProps(open, setOpenMethod);
3071
+ useValueChanged(open, (previousOpen) => {
3072
+ if (previousOpen && !open) setOpenMethod(null);
3073
+ });
3074
+ return React$1.useMemo(() => ({
3075
+ openMethod,
3076
+ triggerProps
3077
+ }), [openMethod, triggerProps]);
3078
+ }
3103
3079
  function getMaxScrollOffset(scrollSize, clientSize) {
3104
3080
  return Math.max(0, scrollSize - clientSize);
3105
3081
  }
@@ -3681,6 +3657,24 @@ var LIST_FUNCTIONAL_STYLES = {
3681
3657
  overflowX: "hidden",
3682
3658
  overflowY: "auto"
3683
3659
  };
3660
+ var VIEWPORT_WIDTH_TOLERANCE_PX = 20;
3661
+ function useAnchoredPopupScrollLock(enabled, touchOpen, positionerElement, referenceElement) {
3662
+ const [touchOpenShouldLockScroll, setTouchOpenShouldLockScroll] = React$1.useState(false);
3663
+ useIsoLayoutEffect(() => {
3664
+ if (!enabled || !touchOpen || positionerElement == null) {
3665
+ setTouchOpenShouldLockScroll(false);
3666
+ return;
3667
+ }
3668
+ const viewportWidth = ownerDocument(positionerElement).documentElement.clientWidth;
3669
+ const popupWidth = positionerElement.offsetWidth;
3670
+ setTouchOpenShouldLockScroll(viewportWidth > 0 && popupWidth > 0 && popupWidth >= viewportWidth - VIEWPORT_WIDTH_TOLERANCE_PX);
3671
+ }, [
3672
+ enabled,
3673
+ touchOpen,
3674
+ positionerElement
3675
+ ]);
3676
+ useScrollLock(enabled && (!touchOpen || touchOpenShouldLockScroll), referenceElement);
3677
+ }
3684
3678
  var FIXED = { position: "fixed" };
3685
3679
  var SelectPositioner = /* @__PURE__ */ React$1.forwardRef(function SelectPositioner2(componentProps, forwardedRef) {
3686
3680
  const { anchor, className, render, positionMethod, side, align, sideOffset, alignOffset, collisionBoundary = "clipping-ancestors", collisionPadding, arrowPadding, sticky, disableAnchorTracking, alignItemWithTrigger = true, collisionAvoidance = DROPDOWN_COLLISION_AVOIDANCE, style, ...elementProps } = componentProps;
@@ -3813,6 +3807,12 @@ var styleDisableScrollbar = {
3813
3807
  });
3814
3808
  }
3815
3809
  };
3810
+ var ToolbarRootContext = /* @__PURE__ */ React$1.createContext(void 0);
3811
+ function useToolbarRootContext(optional) {
3812
+ const context = React$1.useContext(ToolbarRootContext);
3813
+ if (context === void 0 && !optional) throw new Error(formatErrorMessage(69));
3814
+ return context;
3815
+ }
3816
3816
  var stateAttributesMapping = {
3817
3817
  ...popupStateMapping,
3818
3818
  ...transitionStatusMapping
@@ -4436,9 +4436,9 @@ export {
4436
4436
  isElementDisabled,
4437
4437
  useValueChanged,
4438
4438
  useOpenMethodTriggerProps,
4439
- useAnchoredPopupScrollLock,
4440
- useToolbarRootContext,
4441
4439
  normalizeScrollOffset,
4440
+ useAnchoredPopupScrollLock,
4442
4441
  styleDisableScrollbar,
4442
+ useToolbarRootContext,
4443
4443
  Select
4444
4444
  };
@@ -0,0 +1,48 @@
1
+ import {
2
+ toast
3
+ } from "./chunk-WK7CQS2N.js";
4
+ import {
5
+ createLucideIcon
6
+ } from "./chunk-E26EAQIM.js";
7
+
8
+ // web/app/dist/server/assets/notify-xnbm86j9.js
9
+ var RefreshCw = createLucideIcon("refresh-cw", [
10
+ ["path", {
11
+ d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
12
+ key: "v9h5vc"
13
+ }],
14
+ ["path", {
15
+ d: "M21 3v5h-5",
16
+ key: "1q7to0"
17
+ }],
18
+ ["path", {
19
+ d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",
20
+ key: "3uifl3"
21
+ }],
22
+ ["path", {
23
+ d: "M8 16H3v5",
24
+ key: "1cv678"
25
+ }]
26
+ ]);
27
+ function addToast(title, type) {
28
+ return toast.add({
29
+ title,
30
+ type
31
+ });
32
+ }
33
+ var notify = Object.assign((title) => addToast(title), {
34
+ success: (title) => addToast(title, "success"),
35
+ error: (title) => addToast(title, "error"),
36
+ message: (title) => addToast(title, "info")
37
+ });
38
+
39
+ export {
40
+ RefreshCw,
41
+ notify
42
+ };
43
+ /**
44
+ * @license lucide-react v1.33.0 - ISC
45
+ *
46
+ * This source code is licensed under the ISC license.
47
+ * See the LICENSE file in the root directory of this source tree.
48
+ */
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useValueChanged
3
- } from "./chunk-C7EKOPZU.js";
3
+ } from "./chunk-DO3TVNGA.js";
4
4
  import {
5
5
  fieldValidityMapping,
6
6
  useFieldRootContext,
@@ -8,18 +8,18 @@ import {
8
8
  useLabelableContext,
9
9
  useLabelableId,
10
10
  useRegisterFieldControl
11
- } from "./chunk-JD6EWZCU.js";
11
+ } from "./chunk-VHCAD46L.js";
12
12
  import {
13
13
  useControlled
14
14
  } from "./chunk-NLIUTTKL.js";
15
- import {
16
- useBaseUiId
17
- } from "./chunk-XYYNYFFD.js";
18
15
  import {
19
16
  cva,
20
17
  visuallyHidden,
21
18
  visuallyHiddenInput
22
19
  } from "./chunk-RPROZ2JC.js";
20
+ import {
21
+ useBaseUiId
22
+ } from "./chunk-XYYNYFFD.js";
23
23
  import {
24
24
  EMPTY_OBJECT,
25
25
  createChangeEventDetails,
@@ -35,7 +35,7 @@ import {
35
35
  cn
36
36
  } from "./chunk-DJMHPJBP.js";
37
37
 
38
- // web/app/dist/server/assets/switch-D2L-y5YJ.js
38
+ // web/app/dist/server/assets/switch-D1xpqrwo.js
39
39
  import * as React$1 from "react";
40
40
  import "react";
41
41
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -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-XXNFEXDU.js";
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-BANcNkQZ.js
17
+ // web/app/dist/server/assets/horizontal-resize-rVXN3n-_.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", {
@@ -0,0 +1,34 @@
1
+ import {
2
+ createLucideIcon
3
+ } from "./chunk-E26EAQIM.js";
4
+
5
+ // web/app/dist/server/assets/square-terminal-CMtrfSl8.js
6
+ var SquareTerminal = createLucideIcon("square-terminal", [
7
+ ["path", {
8
+ d: "m7 11 2-2-2-2",
9
+ key: "1lz0vl"
10
+ }],
11
+ ["path", {
12
+ d: "M11 13h4",
13
+ key: "1p7l4v"
14
+ }],
15
+ ["rect", {
16
+ width: "18",
17
+ height: "18",
18
+ x: "3",
19
+ y: "3",
20
+ rx: "2",
21
+ ry: "2",
22
+ key: "1m3agn"
23
+ }]
24
+ ]);
25
+
26
+ export {
27
+ SquareTerminal
28
+ };
29
+ /**
30
+ * @license lucide-react v1.33.0 - ISC
31
+ *
32
+ * This source code is licensed under the ISC license.
33
+ * See the LICENSE file in the root directory of this source tree.
34
+ */
@@ -1,3 +1,10 @@
1
+ import {
2
+ LazyContext,
3
+ animations,
4
+ createDomVisualElement,
5
+ gestureAnimations,
6
+ loadFeatures
7
+ } from "./chunk-FAGDMGLK.js";
1
8
  import {
2
9
  ChatDeliveryModeSchema,
3
10
  ChatPackageSourceSchema,
@@ -7,16 +14,9 @@ import {
7
14
  nonEmptyStringSchema,
8
15
  nonNegativeIntSchema,
9
16
  positiveIntSchema
10
- } from "./chunk-KAWYGHDN.js";
11
- import {
12
- LazyContext,
13
- animations,
14
- createDomVisualElement,
15
- gestureAnimations,
16
- loadFeatures
17
- } from "./chunk-FAGDMGLK.js";
17
+ } from "./chunk-B2F6MLVZ.js";
18
18
 
19
- // web/app/dist/server/assets/chat-protocol.zod-BBzdLgv_.js
19
+ // web/app/dist/server/assets/chat-protocol.zod-Dp4CNS-9.js
20
20
  import { useEffect, useRef, useState } from "react";
21
21
  import { jsx } from "react/jsx-runtime";
22
22
  function LazyMotion({ children, features, strict = false }) {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  OpenPanelActionSchema
3
- } from "./chunk-KAWYGHDN.js";
3
+ } from "./chunk-B2F6MLVZ.js";
4
4
 
5
- // web/app/dist/server/assets/open-panel-action-message-QkG4_w1u.js
5
+ // web/app/dist/server/assets/open-panel-action-message-cCfRkr0n.js
6
6
  import { Component, createContext, createElement } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  var h = createContext(null);
@@ -91,53 +91,6 @@ function UiErrorBoundary({ children, fallback, onReset, resetKeys }) {
91
91
  children
92
92
  });
93
93
  }
94
- var OPENUI_FENCE_PATTERN = /```(?:openui|openui-lang)(?:[ \t]*\r?\n|[ \t]+)([\s\S]*?)```/gi;
95
- function appendSegment(segments, ordinals, type, content) {
96
- const ordinal = ordinals[type];
97
- ordinals[type] += 1;
98
- segments.push({
99
- content,
100
- id: `${type}-${ordinal}`,
101
- type
102
- });
103
- }
104
- function stripOpenUIWrapper(content) {
105
- const cleaned = content.trim();
106
- const fences = Array.from(cleaned.matchAll(OPENUI_FENCE_PATTERN));
107
- const onlyFence = fences[0];
108
- if (fences.length === 1 && onlyFence?.index === 0 && onlyFence[0].length === cleaned.length) return onlyFence[1].trim();
109
- return cleaned;
110
- }
111
- function isOpenUIProgram(content) {
112
- return stripOpenUIWrapper(content).startsWith("root =");
113
- }
114
- function segmentOpenUIContent(content) {
115
- const segments = [];
116
- const ordinals = {
117
- markdown: 0,
118
- openui: 0
119
- };
120
- const stripped = stripOpenUIWrapper(content);
121
- if (stripped.startsWith("root =")) {
122
- appendSegment(segments, ordinals, "openui", stripped);
123
- return segments;
124
- }
125
- let lastIndex = 0;
126
- for (const match of content.matchAll(OPENUI_FENCE_PATTERN)) {
127
- const index = match.index;
128
- const markdown = content.slice(lastIndex, index);
129
- if (markdown.trim()) appendSegment(segments, ordinals, "markdown", markdown);
130
- const openUI = match[1].trim();
131
- const isOpenUI = isOpenUIProgram(openUI);
132
- appendSegment(segments, ordinals, isOpenUI ? "openui" : "markdown", isOpenUI ? openUI : match[0]);
133
- lastIndex = index + match[0].length;
134
- }
135
- const trailingMarkdown = content.slice(lastIndex);
136
- if (trailingMarkdown.trim()) appendSegment(segments, ordinals, "markdown", trailingMarkdown);
137
- if (segments.length > 0) return segments;
138
- appendSegment(segments, ordinals, "markdown", content);
139
- return segments;
140
- }
141
94
  var OPEN_PANEL_ACTION_PREFIX = "fleet-prime:open-panel:";
142
95
  function encodeOpenPanelActionMessage(action) {
143
96
  return `${OPEN_PANEL_ACTION_PREFIX}${JSON.stringify(action)}`;
@@ -153,7 +106,6 @@ function decodeOpenPanelActionMessage(message) {
153
106
 
154
107
  export {
155
108
  UiErrorBoundary,
156
- segmentOpenUIContent,
157
109
  encodeOpenPanelActionMessage,
158
110
  decodeOpenPanelActionMessage
159
111
  };
@@ -5,11 +5,16 @@ import {
5
5
  Sparkles
6
6
  } from "./chunk-5WZFFNFY.js";
7
7
  import {
8
- toast
9
- } from "./chunk-WK7CQS2N.js";
8
+ Bot
9
+ } from "./chunk-74QOI457.js";
10
10
  import {
11
11
  LoaderCircle
12
12
  } from "./chunk-PKCTG7EW.js";
13
+ import {
14
+ KNOWN_PROVIDERS,
15
+ isCustomProviderId,
16
+ isOccProviderId
17
+ } from "./chunk-RJOANOT4.js";
13
18
  import {
14
19
  DialogBackdrop,
15
20
  DialogClose,
@@ -25,15 +30,7 @@ import {
25
30
  useFloatingTree,
26
31
  useRenderDialogRoot,
27
32
  useSurface
28
- } from "./chunk-AQWTGP35.js";
29
- import {
30
- useValueAsRef
31
- } from "./chunk-XYYNYFFD.js";
32
- import {
33
- KNOWN_PROVIDERS,
34
- isCustomProviderId,
35
- isOccProviderId
36
- } from "./chunk-RJOANOT4.js";
33
+ } from "./chunk-FE4KN6T2.js";
37
34
  import {
38
35
  Button,
39
36
  Timeout,
@@ -47,6 +44,9 @@ import {
47
44
  require_shim,
48
45
  useTimeout
49
46
  } from "./chunk-RPROZ2JC.js";
47
+ import {
48
+ useValueAsRef
49
+ } from "./chunk-XYYNYFFD.js";
50
50
  import {
51
51
  NOOP,
52
52
  addEventListener,
@@ -68,7 +68,7 @@ import {
68
68
  cn
69
69
  } from "./chunk-DJMHPJBP.js";
70
70
 
71
- // web/app/dist/server/assets/provider-brand-icon-DFcxbRiB.js
71
+ // web/app/dist/server/assets/provider-label-DcNoDArK.js
72
72
  import * as React$1 from "react";
73
73
  import { jsx, jsxs } from "react/jsx-runtime";
74
74
  import * as ReactDOM from "react-dom";
@@ -716,36 +716,6 @@ var ArrowLeft = createLucideIcon("arrow-left", [["path", {
716
716
  d: "M19 12H5",
717
717
  key: "x3x0zl"
718
718
  }]]);
719
- var Bot = createLucideIcon("bot", [
720
- ["path", {
721
- d: "M12 8V4H8",
722
- key: "hb8ula"
723
- }],
724
- ["rect", {
725
- width: "16",
726
- height: "12",
727
- x: "4",
728
- y: "8",
729
- rx: "2",
730
- key: "enze0r"
731
- }],
732
- ["path", {
733
- d: "M2 14h2",
734
- key: "vft8re"
735
- }],
736
- ["path", {
737
- d: "M20 14h2",
738
- key: "4cs60a"
739
- }],
740
- ["path", {
741
- d: "M15 13v2",
742
- key: "1xurst"
743
- }],
744
- ["path", {
745
- d: "M9 13v2",
746
- key: "rq6x2g"
747
- }]
748
- ]);
749
719
  var Brain = createLucideIcon("brain", [
750
720
  ["path", {
751
721
  d: "M12 18V5",
@@ -850,24 +820,6 @@ var MessageSquare = createLucideIcon("message-square", [["path", {
850
820
  d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
851
821
  key: "18887p"
852
822
  }]]);
853
- var RefreshCw = createLucideIcon("refresh-cw", [
854
- ["path", {
855
- d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
856
- key: "v9h5vc"
857
- }],
858
- ["path", {
859
- d: "M21 3v5h-5",
860
- key: "1q7to0"
861
- }],
862
- ["path", {
863
- d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",
864
- key: "3uifl3"
865
- }],
866
- ["path", {
867
- d: "M8 16H3v5",
868
- key: "1cv678"
869
- }]
870
- ]);
871
823
  var Server = createLucideIcon("server", [
872
824
  ["rect", {
873
825
  width: "20",
@@ -1066,17 +1018,6 @@ function AlertDialogAction({ ...props }) {
1066
1018
  ...props
1067
1019
  });
1068
1020
  }
1069
- function addToast(title, type) {
1070
- return toast.add({
1071
- title,
1072
- type
1073
- });
1074
- }
1075
- var notify = Object.assign((title) => addToast(title), {
1076
- success: (title) => addToast(title, "success"),
1077
- error: (title) => addToast(title, "error"),
1078
- message: (title) => addToast(title, "info")
1079
- });
1080
1021
  var PROVIDER_METADATA = {
1081
1022
  "amazon-bedrock": {
1082
1023
  icon: Server,
@@ -1225,10 +1166,8 @@ export {
1225
1166
  useHoverReferenceInteraction,
1226
1167
  safePolygon,
1227
1168
  ArrowLeft,
1228
- Bot,
1229
1169
  Cpu,
1230
1170
  MessageSquare,
1231
- RefreshCw,
1232
1171
  Settings,
1233
1172
  Trash2,
1234
1173
  COMPACT_ACTION_BUTTON_CLASS,
@@ -1250,7 +1189,6 @@ export {
1250
1189
  AlertDialogFooter,
1251
1190
  AlertDialogCancel,
1252
1191
  AlertDialogAction,
1253
- notify,
1254
1192
  PROVIDER_METADATA,
1255
1193
  ProviderBrandIcon,
1256
1194
  formatProviderLabel