@qredence/fleet 0.5.1 → 0.5.7

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 (200) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/bin/fleet-prime.mjs +6 -0
  3. package/dist/web/client/assets/action-swap-roll-BB8DFMuf.js +1 -0
  4. package/dist/web/client/assets/agent-activity-CDcDNVC6.js +1 -0
  5. package/dist/web/client/assets/agent-disclosure-B8SnhQXL.js +1 -0
  6. package/dist/web/client/assets/analytics-stub-B8MIkiDB.js +1 -0
  7. package/dist/web/client/assets/{artifacts-panel-CX62LQ13.js → artifacts-panel-CmHYXfoo.js} +1 -1
  8. package/dist/web/client/assets/button-BV9NafmI.js +1 -0
  9. package/dist/web/client/assets/{chat-CsepBQwy.js → chat-W-yOMyG_.js} +1 -1
  10. package/dist/web/client/assets/chat-command-palette-DiG-i3uJ.js +1 -0
  11. package/dist/web/client/assets/check-JjHKAZas.js +1 -0
  12. package/dist/web/client/assets/chevron-up-CnSvySGH.js +1 -0
  13. package/dist/web/client/assets/circle-alert-CONlFReH.js +1 -0
  14. package/dist/web/client/assets/circle-x-CkKCB__4.js +1 -0
  15. package/dist/web/client/assets/citations-CpTFUvx7.js +2 -0
  16. package/dist/web/client/assets/collapsible-BoXtZZWN.js +1 -0
  17. package/dist/web/client/assets/command-Cx-UYeQ9.js +1 -0
  18. package/dist/web/client/assets/createBaseUIEventDetails-DV0dQrBX.js +1 -0
  19. package/dist/web/client/assets/dialog-Dh7WpGIu.js +1 -0
  20. package/dist/web/client/assets/dist-BPaFisIZ.js +41 -0
  21. package/dist/web/client/assets/earth-DGZXAN5r.js +1 -0
  22. package/dist/web/client/assets/ease-u56MhKYS.js +1 -0
  23. package/dist/web/client/assets/file-text-T-NcAlZs.js +1 -0
  24. package/dist/web/client/assets/fleet-message-queue-B6zAK-hX.js +1 -0
  25. package/dist/web/client/assets/{fleet-pi-tool-renderer-BD_ZAjlG.js → fleet-pi-tool-renderer-Btq9mDUe.js} +29 -29
  26. package/dist/web/client/assets/fleet-reasoning-panel-MtbSdoCv.js +1 -0
  27. package/dist/web/client/assets/fleet-subagent-list-iszvrvy_.js +1 -0
  28. package/dist/web/client/assets/fleet-tool-timeline-COzPrwr8.js +1 -0
  29. package/dist/web/client/assets/{fork-picker-dialog-C2cVJUbf.js → fork-picker-dialog-CAhWx0G5.js} +1 -1
  30. package/dist/web/client/assets/gauge-DNpstbBn.js +1 -0
  31. package/dist/web/client/assets/generative-text-renderer-C1JrmYfx.js +6 -0
  32. package/dist/web/client/assets/globals-Bfr0jrPq.css +2 -0
  33. package/dist/web/client/assets/horizontal-resize-Bl3AyBJg.js +1 -0
  34. package/dist/web/client/assets/image-BbPmlw-n.js +1 -0
  35. package/dist/web/client/assets/index-QgUwd4m8.js +12 -0
  36. package/dist/web/client/assets/input-Bol3TP4v.js +1 -0
  37. package/dist/web/client/assets/input-group-D5gi9zBK.js +1 -0
  38. package/dist/web/client/assets/{ipython-tool-BfeIa0nK.js → ipython-tool-BrMePqD-.js} +1 -1
  39. package/dist/web/client/assets/{markdown-DG7pUdsX.js → markdown-RD_ydkyD.js} +2 -2
  40. package/dist/web/client/assets/{markdown-code-BgMzpy7O.js → markdown-code-ETqXqY8E.js} +1 -1
  41. package/dist/web/client/assets/message-square-hbDao-A1.js +1 -0
  42. package/dist/web/client/assets/model-selector-list-CJY9pyt2.js +1 -0
  43. package/dist/web/client/assets/notify-DKTqXChG.js +1 -0
  44. package/dist/web/client/assets/{openui-renderer-DlUo6ehT.js → openui-renderer-BZMghkzQ.js} +8 -8
  45. package/dist/web/client/assets/{prime-agent-artifacts-CHGb5V_j.js → prime-agent-artifacts-C-g1VPiW.js} +1 -1
  46. package/dist/web/client/assets/prompt-suggestions-CXM6knMK.js +1 -0
  47. package/dist/web/client/assets/provider-catalog-CHKFGwHr.js +1 -0
  48. package/dist/web/client/assets/provider-label-KkqVX1CI.js +1 -0
  49. package/dist/web/client/assets/range-BWOHiLNe.js +1 -0
  50. package/dist/web/client/assets/refresh-cw-IThTJ3j-.js +1 -0
  51. package/dist/web/client/assets/repl-panel-CCh4ly7J.js +1 -0
  52. package/dist/web/client/assets/{resource-helpers-ULlyU8qK.js → resource-helpers-Q2T0YCMO.js} +1 -1
  53. package/dist/web/client/assets/resources-panel-Bo8dfUdm.js +1 -0
  54. package/dist/web/client/assets/right-panel-context-B2VAZ2p4.js +1 -0
  55. package/dist/web/client/assets/right-panel-registry-C5fQcBKw.js +2 -0
  56. package/dist/web/client/assets/routes-C1hRkRkv.js +16 -0
  57. package/dist/web/client/assets/safe-external-url-D3PJJIcM.js +1 -0
  58. package/dist/web/client/assets/session-insights-panel-CQdT90Op.js +1 -0
  59. package/dist/web/client/assets/settings-dialog-CvvM6T0m.js +1 -0
  60. package/dist/web/client/assets/{sparkles-C5H3Jtgf.js → shield-check-CkA2viVW.js} +1 -1
  61. package/dist/web/client/assets/{skeleton-loaders-fStjEeRP.js → skeleton-loaders-DjGv9LLA.js} +1 -1
  62. package/dist/web/client/assets/sparkles-DuclzqlE.js +1 -0
  63. package/dist/web/client/assets/subagent-chat-panel-tGCg6gcn.js +1 -0
  64. package/dist/web/client/assets/subagent-transcript-NO0PR8RU.js +1 -0
  65. package/dist/web/client/assets/subagent-utils-CQbaJ1g-.js +1 -0
  66. package/dist/web/client/assets/subagents-panel-BkFLsQQY.js +1 -0
  67. package/dist/web/client/assets/surfaces-cW-gp56p.js +1 -0
  68. package/dist/web/client/assets/switch-CcOFiQBK.js +1 -0
  69. package/dist/web/client/assets/terminal-DOS1s1gm.js +1 -0
  70. package/dist/web/client/assets/toast-ATq44uAL.js +1 -0
  71. package/dist/web/client/assets/tool-result-pklnrxSW.js +4 -0
  72. package/dist/web/client/assets/use-reduced-motion-eORd7fqW.js +9 -0
  73. package/dist/web/client/assets/useBaseUiId-CHqXB2UQ.js +1 -0
  74. package/dist/web/client/assets/useControlled-CJJ9BOQB.js +1 -0
  75. package/dist/web/client/assets/workspace-panel-BmMW7h7b.js +1 -0
  76. package/dist/web/client/assets/wrench-BJNNe07k.js +1 -0
  77. package/dist/web/client/assets/x-CsRC_tCI.js +1 -0
  78. package/dist/web/client/bundle-budget.json +10 -0
  79. package/dist/web/server/_tanstack-start-manifest_v-B4BnRTa_-DR7WQTT5.js +90 -0
  80. package/dist/web/server/agent-activity-Dx6AlDhN-JXOL2EXK.js +514 -0
  81. package/dist/web/server/{artifacts-panel-D9w1DHAN-FGRDCYU2.js → artifacts-panel-CloS3-ij-XWYXKL6A.js} +30 -22
  82. package/dist/web/server/{chat-command-palette-BaenPkCN-BHSOPGU4.js → chat-command-palette-Cc0uGvNm-GKENKTO7.js} +48 -22
  83. package/dist/web/server/{chunk-KPNGZR2R.js → chunk-3B6M63AO.js} +206 -209
  84. package/dist/web/server/chunk-3D4Z32XA.js +22 -0
  85. package/dist/web/server/chunk-3SSHBMDS.js +196 -0
  86. package/dist/web/server/chunk-4PQ6OD6J.js +22 -0
  87. package/dist/web/server/{chunk-5AVQZ4AZ.js → chunk-4UBOIY2S.js} +2 -1
  88. package/dist/web/server/chunk-56SEDI5N.js +19 -0
  89. package/dist/web/server/chunk-6QNW66XR.js +19 -0
  90. package/dist/web/server/chunk-744IIIDL.js +19 -0
  91. package/dist/web/server/{chunk-52SJQXO4.js → chunk-7PQTPSEE.js} +568 -568
  92. package/dist/web/server/{chunk-XYYNYFFD.js → chunk-7SR6WDM2.js} +2 -2
  93. package/dist/web/server/chunk-ANL4B775.js +60 -0
  94. package/dist/web/server/chunk-BNQWMQHD.js +35 -0
  95. package/dist/web/server/{chunk-X2TUFLTP.js → chunk-C5X6G26O.js} +436 -454
  96. package/dist/web/server/chunk-C66BSNA6.js +42 -0
  97. package/dist/web/server/{chunk-3GSFXWL5.js → chunk-DEUBJJZN.js} +4 -59
  98. package/dist/web/server/chunk-E365EOXJ.js +35 -0
  99. package/dist/web/server/{chunk-5WZFFNFY.js → chunk-EFAGCVZ3.js} +2 -23
  100. package/dist/web/server/{chunk-Y6LJ4WBI.js → chunk-EGQ6ZX4D.js} +563 -830
  101. package/dist/web/server/{chunk-DO3TVNGA.js → chunk-EKBKGAWX.js} +12 -10
  102. package/dist/web/server/{chunk-RPROZ2JC.js → chunk-F6MGAW3L.js} +133 -133
  103. package/dist/web/server/chunk-GABXCOY3.js +37 -0
  104. package/dist/web/server/chunk-GV7DJIHY.js +36 -0
  105. package/dist/web/server/{chunk-PWK2HJIV.js → chunk-HSJMLO36.js} +5 -252
  106. package/dist/web/server/{chunk-46VQY7SG.js → chunk-HU4AIJV3.js} +4 -4
  107. package/dist/web/server/{chunk-H64JLONZ.js → chunk-HZY3LBGP.js} +146 -2
  108. package/dist/web/server/{chunk-3IKSPTYI.js → chunk-J6MRJXUH.js} +22 -15
  109. package/dist/web/server/{chunk-FE4KN6T2.js → chunk-JOSTE7WK.js} +7 -5
  110. package/dist/web/server/{chunk-QJBEWT4E.js → chunk-K3BXQG3N.js} +27 -292
  111. package/dist/web/server/chunk-K4ESBQ3R.js +20 -0
  112. package/dist/web/server/chunk-KOIPYBJF.js +3773 -0
  113. package/dist/web/server/{chunk-44IVTHDV.js → chunk-KZSM3BHO.js} +28 -119
  114. package/dist/web/server/chunk-L46H6IDX.js +13 -0
  115. package/dist/web/server/chunk-LNGWHEE6.js +206 -0
  116. package/dist/web/server/{chunk-2U7PWSJX.js → chunk-MOSVTKH5.js} +262 -3661
  117. package/dist/web/server/{chunk-MDYA4NXK.js → chunk-NJRYX4A2.js} +4 -4
  118. package/dist/web/server/chunk-NNMZQN7Q.js +296 -0
  119. package/dist/web/server/{chunk-VHCAD46L.js → chunk-NPPG2GTW.js} +7 -7
  120. package/dist/web/server/{chunk-AZZHUVJR.js → chunk-PJNYH5SR.js} +7 -303
  121. package/dist/web/server/{chunk-7APYEQIO.js → chunk-QAE5SXDK.js} +1 -24
  122. package/dist/web/server/chunk-QTFCJGOY.js +189 -0
  123. package/dist/web/server/{chunk-FBOO3G67.js → chunk-RANJ6OJ3.js} +9 -9
  124. package/dist/web/server/chunk-RPBSDXJ4.js +62 -0
  125. package/dist/web/server/{chunk-PCJ5EKFE.js → chunk-RYHIJMFD.js} +63 -34
  126. package/dist/web/server/{chunk-NLIUTTKL.js → chunk-S3PQ6HKH.js} +1 -16
  127. package/dist/web/server/chunk-SG4W4SPQ.js +31 -0
  128. package/dist/web/server/{chunk-LESNF5O4.js → chunk-T23OO4SC.js} +2 -11
  129. package/dist/web/server/{chunk-FVWDJNXR.js → chunk-UNZJQ7CY.js} +6 -4
  130. package/dist/web/server/chunk-V3S6BVXO.js +22 -0
  131. package/dist/web/server/{chunk-M2FGGPNA.js → chunk-VGDP4YDU.js} +70 -45
  132. package/dist/web/server/{chunk-WK7CQS2N.js → chunk-W5GRNHV5.js} +51 -49
  133. package/dist/web/server/{chunk-HBZ6YKRB.js → chunk-WN77JNYY.js} +2 -2
  134. package/dist/web/server/{chunk-B2F6MLVZ.js → chunk-XFVL5ITL.js} +2246 -2228
  135. package/dist/web/server/{chunk-EIVNRYP3.js → chunk-XKYEXPLQ.js} +2 -17
  136. package/dist/web/server/{chunk-6GMKRR3C.js → chunk-XNYQSCB2.js} +2 -2
  137. package/dist/web/server/chunk-YHXAXJ6I.js +22 -0
  138. package/dist/web/server/chunk-YLMXYMLG.js +86 -0
  139. package/dist/web/server/chunk-YNGDUWCF.js +56 -0
  140. package/dist/web/server/chunk-ZJFA4F5X.js +280 -0
  141. package/dist/web/server/fleet-message-queue-Bn0_3Efe-G4BZR2EU.js +74 -0
  142. package/dist/web/server/fleet-pi-tool-renderer-C52SZmPx-CIAH3IV7.js +51 -0
  143. package/dist/web/server/fleet-reasoning-panel-C_e7wzVm-SDHEWDQT.js +199 -0
  144. package/dist/web/server/fleet-subagent-list-CQltKswG-EKCMQHDI.js +18 -0
  145. package/dist/web/server/fleet-tool-timeline-KENErMKg-HTN7SW3D.js +16 -0
  146. package/dist/web/server/{fork-picker-dialog-BZzfxdQd-Y725VJ7G.js → fork-picker-dialog-DK9YGQuB-4QEFWRU4.js} +6 -5
  147. package/dist/web/server/{markdown-Boni3lHk-AZGKDNAR.js → markdown-QcSUaLyd-6DJUK5NC.js} +1 -1
  148. package/dist/web/server/{markdown-code-BrWukbg3-D2GN4Y77.js → markdown-code-Dyo1_13a-52ZQZSPE.js} +2 -2
  149. package/dist/web/server/model-selector-list-CEfWjRc--GBW2GUO6.js +289 -0
  150. package/dist/web/server/{openui-renderer-Cg4RSE9k-7BTJIYZJ.js → openui-renderer-Dk0Ak9cW-MUJQHDAS.js} +19 -16
  151. package/dist/web/server/prompt-suggestions-BOmHi4-J-C563CHFU.js +30 -0
  152. package/dist/web/server/{repl-panel-BEQrC2ef-V3YEZ7EO.js → repl-panel-D9E8nkQy-L45ZNG2V.js} +4 -3
  153. package/dist/web/server/{resources-panel-CwKh4U9f-D3VDEMDW.js → resources-panel-B03M8bEp-SZG726N5.js} +7 -6
  154. package/dist/web/server/{router-CEahIUpn-SRG7XKIH.js → router-BE9HcX2W-JMQ3JWE5.js} +1756 -1374
  155. package/dist/web/server/{routes-BznemByz-F4DJAYIM.js → routes-CJTRGB1Z-WJKXJFFT.js} +3748 -3955
  156. package/dist/web/server/server.js +3 -3
  157. package/dist/web/server/{session-insights-panel-JfeTHE0d-3HZB3ZWI.js → session-insights-panel-BHZyKDTo-LRMAMA3O.js} +4 -2
  158. package/dist/web/server/{settings-dialog-DgeBMORv-7SRSENPM.js → settings-dialog-yDibpbBH-TCLJ7NRJ.js} +172 -161
  159. package/dist/web/server/{start-CLAD7RcD-56S4BWMM.js → start-BYVnok_H-IA6TWGA3.js} +1 -1
  160. package/dist/web/server/subagent-chat-panel-B1YoZIKO-DFRUDQJ2.js +82 -0
  161. package/dist/web/server/subagents-panel-dJJwpsEL-FTWWCHND.js +200 -0
  162. package/dist/web/server/{workspace-panel-y54P79_B-VPIYUXF6.js → workspace-panel-BC_H8Jri-5MHAEQQS.js} +22 -18
  163. package/package.json +5 -5
  164. package/dist/web/client/assets/analytics-stub-Jh3lkb8P.js +0 -1
  165. package/dist/web/client/assets/button-0At5xSyU.js +0 -1
  166. package/dist/web/client/assets/chat-command-palette-C4sSf8Kg.js +0 -1
  167. package/dist/web/client/assets/collapsible-DmyYcezk.js +0 -1
  168. package/dist/web/client/assets/command-CB6emP8m.js +0 -2
  169. package/dist/web/client/assets/conversation-turns-ByFoWPXe.js +0 -6
  170. package/dist/web/client/assets/dialog-DZ44tBtH.js +0 -1
  171. package/dist/web/client/assets/dist-MNgIFxqY.js +0 -41
  172. package/dist/web/client/assets/ease-vFBiNFNK.js +0 -9
  173. package/dist/web/client/assets/file-text-BhQ0ZnoU.js +0 -1
  174. package/dist/web/client/assets/globals-CqqQdk2S.css +0 -2
  175. package/dist/web/client/assets/horizontal-resize-C1TpRLNC.js +0 -1
  176. package/dist/web/client/assets/index-DweoFRMs.js +0 -12
  177. package/dist/web/client/assets/input-CqC82Agz.js +0 -1
  178. package/dist/web/client/assets/input-group-H0TG-mkU.js +0 -1
  179. package/dist/web/client/assets/notify-Duj26eeZ.js +0 -1
  180. package/dist/web/client/assets/provider-catalog-BZhZuKSz.js +0 -1
  181. package/dist/web/client/assets/provider-label-jKm8v18u.js +0 -1
  182. package/dist/web/client/assets/range-vSJ7Ux_5.js +0 -2
  183. package/dist/web/client/assets/repl-panel-DiGS6uCw.js +0 -1
  184. package/dist/web/client/assets/resources-panel-DSU7VGX2.js +0 -1
  185. package/dist/web/client/assets/routes-CxlNCi_v.js +0 -16
  186. package/dist/web/client/assets/safe-external-url-Bl_78dpZ.js +0 -1
  187. package/dist/web/client/assets/session-insights-panel-DwmwiikS.js +0 -1
  188. package/dist/web/client/assets/settings-dialog-CkfpTKfM.js +0 -1
  189. package/dist/web/client/assets/subagents-panel-DGnsK6Nx.js +0 -1
  190. package/dist/web/client/assets/switch-BFEBpUEU.js +0 -1
  191. package/dist/web/client/assets/toast-C4s7FYYa.js +0 -1
  192. package/dist/web/client/assets/tool-result-CBzwwUE9.js +0 -4
  193. package/dist/web/client/assets/useBaseUiId-B9f7fokB.js +0 -1
  194. package/dist/web/client/assets/useControlled-CoY1jSuL.js +0 -1
  195. package/dist/web/client/assets/workspace-panel-CjdXlEvd.js +0 -1
  196. package/dist/web/client/assets/x-BgciQ7_C.js +0 -1
  197. package/dist/web/server/_tanstack-start-manifest_v-bDUlyKY0-KFW35JRO.js +0 -82
  198. package/dist/web/server/chunk-ZEVZFLIY.js +0 -334
  199. package/dist/web/server/fleet-pi-tool-renderer-lJvZWmBJ-4M5YI6VS.js +0 -35
  200. package/dist/web/server/subagents-panel-CzZe3co7-2VZ5JTWF.js +0 -332
@@ -1,20 +1,11 @@
1
- import {
2
- AnimatePresence,
3
- EASE_OUT,
4
- EASE_OUT_CSS,
5
- SPRING_SWAP,
6
- m,
7
- motion,
8
- useReducedMotion
9
- } from "./chunk-QJBEWT4E.js";
10
1
  import {
11
2
  useControlled
12
- } from "./chunk-NLIUTTKL.js";
3
+ } from "./chunk-S3PQ6HKH.js";
13
4
  import {
14
5
  useBaseUiId,
15
6
  useTransitionStatus,
16
7
  useValueAsRef
17
- } from "./chunk-XYYNYFFD.js";
8
+ } from "./chunk-7SR6WDM2.js";
18
9
  import {
19
10
  AnimationFrame,
20
11
  TransitionStatusDataAttributes,
@@ -33,237 +24,11 @@ import {
33
24
  useOpenChangeComplete,
34
25
  useRenderElement,
35
26
  useStableCallback
36
- } from "./chunk-X2TUFLTP.js";
37
- import {
38
- createLucideIcon
39
- } from "./chunk-E26EAQIM.js";
40
- import {
41
- cn
42
- } from "./chunk-DJMHPJBP.js";
27
+ } from "./chunk-C5X6G26O.js";
43
28
 
44
- // web/app/dist/server/assets/collapsible-Bnkgfx9r.js
29
+ // web/app/dist/server/assets/collapsible-CG8oAD91.js
45
30
  import * as React$1 from "react";
46
- import { useLayoutEffect, useRef as useRef2, useState as useState2 } from "react";
47
- import { jsx, jsxs } from "react/jsx-runtime";
48
- var CircleX = createLucideIcon("circle-x", [
49
- ["circle", {
50
- cx: "12",
51
- cy: "12",
52
- r: "10",
53
- key: "1mglay"
54
- }],
55
- ["path", {
56
- d: "m15 9-6 6",
57
- key: "1uzhvr"
58
- }],
59
- ["path", {
60
- d: "m9 9 6 6",
61
- key: "z0biqf"
62
- }]
63
- ]);
64
- var Copy = createLucideIcon("copy", [["rect", {
65
- width: "14",
66
- height: "14",
67
- x: "8",
68
- y: "8",
69
- rx: "2",
70
- ry: "2",
71
- key: "17jyea"
72
- }], ["path", {
73
- d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
74
- key: "zix9uf"
75
- }]]);
76
- var FileCodeCorner = createLucideIcon("file-code-corner", [
77
- ["path", {
78
- d: "M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",
79
- key: "1wthlu"
80
- }],
81
- ["path", {
82
- d: "M14 2v5a1 1 0 0 0 1 1h5",
83
- key: "wfsgrz"
84
- }],
85
- ["path", {
86
- d: "m5 16-3 3 3 3",
87
- key: "331omg"
88
- }],
89
- ["path", {
90
- d: "m9 22 3-3-3-3",
91
- key: "lsp7cz"
92
- }]
93
- ]);
94
- var Wrench = createLucideIcon("wrench", [["path", {
95
- d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",
96
- key: "1ngwbx"
97
- }]]);
98
- function AgentDisclosure({ open, openHeight = "auto", className, style, transition, ...props }) {
99
- const reduce = useReducedMotion() ?? false;
100
- return /* @__PURE__ */ jsx(motion.div, {
101
- ...props,
102
- "aria-hidden": !open,
103
- inert: !open,
104
- initial: false,
105
- animate: reduce ? { opacity: open ? 1 : 0 } : {
106
- opacity: open ? 1 : 0,
107
- clipPath: open ? "inset(0 0 0% 0)" : "inset(0 0 100% 0)",
108
- y: open ? 0 : -4
109
- },
110
- transition: transition ?? {
111
- duration: reduce ? 0 : open ? 0.22 : 0.14,
112
- ease: EASE_OUT
113
- },
114
- className: cn("overflow-hidden", className),
115
- style: {
116
- ...style,
117
- height: open ? openHeight : 0,
118
- pointerEvents: open ? void 0 : "none",
119
- transformOrigin: "top"
120
- }
121
- });
122
- }
123
- var BLUR_TRANSITION = {
124
- duration: 0.2,
125
- ease: "easeInOut"
126
- };
127
- var ROLL_TRANSITION = SPRING_SWAP;
128
- var ROLL_EXIT_TRANSITION = {
129
- duration: 0.14,
130
- ease: EASE_OUT
131
- };
132
- var SWAP_BLUR = "blur(8px)";
133
- var ROLL_BLUR = "blur(3px)";
134
- var CASCADE_STAGGER = 0.025;
135
- var CASCADE_LETTER_VARIANTS = {
136
- initial: {
137
- opacity: 0,
138
- y: "105%",
139
- filter: ROLL_BLUR
140
- },
141
- animate: (delay = 0) => ({
142
- opacity: 1,
143
- y: "0%",
144
- filter: "blur(0px)",
145
- transition: {
146
- ...SPRING_SWAP,
147
- delay
148
- }
149
- }),
150
- exit: (delay = 0) => ({
151
- opacity: 0,
152
- y: "-105%",
153
- filter: ROLL_BLUR,
154
- transition: {
155
- duration: 0.16,
156
- ease: EASE_OUT,
157
- delay: delay * 0.5
158
- }
159
- })
160
- };
161
- var TEXT_VARIANTS = {
162
- blur: {
163
- initial: {
164
- opacity: 0,
165
- scale: 0.94,
166
- filter: SWAP_BLUR
167
- },
168
- animate: {
169
- opacity: 1,
170
- scale: 1,
171
- filter: "blur(0px)",
172
- transition: BLUR_TRANSITION
173
- },
174
- exit: {
175
- opacity: 0,
176
- scale: 0.94,
177
- filter: SWAP_BLUR,
178
- transition: BLUR_TRANSITION
179
- }
180
- },
181
- roll: {
182
- initial: {
183
- opacity: 0,
184
- y: "90%",
185
- filter: ROLL_BLUR
186
- },
187
- animate: {
188
- opacity: 1,
189
- y: "0%",
190
- filter: "blur(0px)",
191
- transition: ROLL_TRANSITION
192
- },
193
- exit: {
194
- opacity: 0,
195
- y: "-90%",
196
- filter: ROLL_BLUR,
197
- transition: ROLL_EXIT_TRANSITION
198
- }
199
- }
200
- };
201
- function ActionSwapText({ value, children, animation = "blur", className }) {
202
- const reduce = useReducedMotion();
203
- const measureRef = useRef2(null);
204
- const [width, setWidth] = useState2();
205
- useLayoutEffect(() => {
206
- const nextWidth = measureRef.current?.offsetWidth;
207
- if (!nextWidth) return;
208
- setWidth((currentWidth) => currentWidth === nextWidth ? currentWidth : nextWidth);
209
- });
210
- const label = typeof children === "string" ? children : null;
211
- const cascade = animation === "cascade" && label !== null && !reduce;
212
- const coreAnimation = animation === "cascade" ? "roll" : animation;
213
- return /* @__PURE__ */ jsxs("span", {
214
- className: cn("relative inline-block overflow-hidden whitespace-nowrap align-bottom", className),
215
- style: {
216
- width,
217
- transition: reduce ? void 0 : `width 220ms ${EASE_OUT_CSS}`
218
- },
219
- children: [
220
- /* @__PURE__ */ jsx("span", {
221
- ref: measureRef,
222
- "aria-hidden": true,
223
- className: "invisible inline-block whitespace-nowrap",
224
- children
225
- }),
226
- cascade ? /* @__PURE__ */ jsx("span", {
227
- className: "sr-only",
228
- children: label
229
- }) : null,
230
- /* @__PURE__ */ jsx(AnimatePresence, {
231
- initial: false,
232
- children: cascade ? /* @__PURE__ */ jsx(m.span, {
233
- "aria-hidden": true,
234
- initial: "initial",
235
- animate: "animate",
236
- exit: "exit",
237
- className: "absolute left-0 top-0 inline-block whitespace-pre",
238
- children: label.split("").map((char, i) => /* @__PURE__ */ jsx(m.span, {
239
- custom: i * CASCADE_STAGGER,
240
- variants: CASCADE_LETTER_VARIANTS,
241
- className: "inline-block whitespace-pre",
242
- children: char
243
- }, i))
244
- }, `cascade-${value}`) : /* @__PURE__ */ jsx(m.span, {
245
- variants: TEXT_VARIANTS[coreAnimation],
246
- initial: reduce ? false : "initial",
247
- animate: reduce ? {
248
- opacity: 1,
249
- filter: "blur(0px)",
250
- scale: 1,
251
- y: 0
252
- } : "animate",
253
- exit: reduce ? void 0 : "exit",
254
- className: "absolute left-0 top-0 inline-block",
255
- children
256
- }, `${animation}-${value}`)
257
- })
258
- ]
259
- });
260
- }
261
- function ActionSwapRollText(props) {
262
- return /* @__PURE__ */ jsx(ActionSwapText, {
263
- ...props,
264
- animation: "roll"
265
- });
266
- }
31
+ import { jsx } from "react/jsx-runtime";
267
32
  function useCollapsibleRoot(parameters) {
268
33
  const { open: openParam, defaultOpen, onOpenChange, disabled } = parameters;
269
34
  const [open, setOpen] = useControlled({
@@ -723,19 +488,7 @@ function CollapsibleContent({ ...props }) {
723
488
  }
724
489
 
725
490
  export {
726
- CircleX,
727
- Copy,
728
- FileCodeCorner,
729
- Wrench,
730
- AgentDisclosure,
731
- ActionSwapRollText,
732
491
  Collapsible,
733
492
  CollapsibleTrigger2 as CollapsibleTrigger,
734
493
  CollapsibleContent
735
494
  };
736
- /**
737
- * @license lucide-react v1.33.0 - ISC
738
- *
739
- * This source code is licensed under the ISC license.
740
- * See the LICENSE file in the root directory of this source tree.
741
- */
@@ -1,9 +1,9 @@
1
- import {
2
- FileText
3
- } from "./chunk-7APYEQIO.js";
4
1
  import {
5
2
  Plug
6
3
  } from "./chunk-BSFYTSN6.js";
4
+ import {
5
+ FileText
6
+ } from "./chunk-QAE5SXDK.js";
7
7
  import {
8
8
  Package
9
9
  } from "./chunk-ZGFQ7HIX.js";
@@ -11,7 +11,7 @@ import {
11
11
  createLucideIcon
12
12
  } from "./chunk-E26EAQIM.js";
13
13
 
14
- // web/app/dist/server/assets/resource-helpers-fuGQ38iH.js
14
+ // web/app/dist/server/assets/resource-helpers-AP0QwmoN.js
15
15
  var BookOpen = createLucideIcon("book-open", [["path", {
16
16
  d: "M12 5v16",
17
17
  key: "1f6ucr"
@@ -14,9 +14,9 @@ import {
14
14
  nonEmptyStringSchema,
15
15
  nonNegativeIntSchema,
16
16
  positiveIntSchema
17
- } from "./chunk-B2F6MLVZ.js";
17
+ } from "./chunk-XFVL5ITL.js";
18
18
 
19
- // web/app/dist/server/assets/chat-protocol.zod-Dp4CNS-9.js
19
+ // web/app/dist/server/assets/chat-protocol.zod-CN1tO7DF.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 }) {
@@ -50,6 +50,149 @@ var domAnimation = {
50
50
  ...animations,
51
51
  ...gestureAnimations
52
52
  };
53
+ function observeWebVitals(onVital) {
54
+ if (typeof window === "undefined" || typeof PerformanceObserver === "undefined") return () => {
55
+ };
56
+ const url = window.location.pathname;
57
+ const observers = [];
58
+ let lcpValue;
59
+ let lcpReported = false;
60
+ let pageMetricsReported = false;
61
+ try {
62
+ const lcp = new PerformanceObserver((list) => {
63
+ if (lcpReported) return;
64
+ const entries = list.getEntries();
65
+ const entry = entries[entries.length - 1];
66
+ if (entry) lcpValue = entry.startTime;
67
+ });
68
+ lcp.observe({
69
+ type: "largest-contentful-paint",
70
+ buffered: true
71
+ });
72
+ observers.push(lcp);
73
+ let clsValue = 0;
74
+ let clsSessionValue = 0;
75
+ let clsSessionStart = 0;
76
+ let clsSessionEnd = 0;
77
+ let hasClsSession = false;
78
+ const processClsEntries = (entries) => {
79
+ for (const entry of entries) {
80
+ const layoutEntry = entry;
81
+ if (!layoutEntry.hadRecentInput) {
82
+ const entryValue = layoutEntry.value ?? 0;
83
+ if (hasClsSession && entry.startTime - clsSessionEnd < 1e3 && entry.startTime - clsSessionStart < 5e3) clsSessionValue += entryValue;
84
+ else {
85
+ clsSessionValue = entryValue;
86
+ clsSessionStart = entry.startTime;
87
+ }
88
+ hasClsSession = true;
89
+ clsSessionEnd = entry.startTime;
90
+ clsValue = Math.max(clsValue, clsSessionValue);
91
+ }
92
+ }
93
+ };
94
+ const cls = new PerformanceObserver((list) => processClsEntries(list.getEntries()));
95
+ cls.observe({
96
+ type: "layout-shift",
97
+ buffered: true
98
+ });
99
+ observers.push(cls);
100
+ const interactionDurations = /* @__PURE__ */ new Map();
101
+ const processInteractionEntries = (entries) => {
102
+ for (const entry of entries) {
103
+ const eventEntry = entry;
104
+ if (eventEntry.interactionId) interactionDurations.set(eventEntry.interactionId, Math.max(interactionDurations.get(eventEntry.interactionId) ?? 0, eventEntry.duration ?? 0));
105
+ }
106
+ };
107
+ const getFinalInpValue = () => {
108
+ if (interactionDurations.size === 0) return void 0;
109
+ const durations = [...interactionDurations.values()].sort((a, b) => a - b);
110
+ const interactionCount = performance.interactionCount;
111
+ const totalInteractionCount = typeof interactionCount === "number" && Number.isFinite(interactionCount) ? Math.max(interactionCount, durations.length) : durations.length;
112
+ const ignoredWorstInteractions = Math.floor(totalInteractionCount / 50);
113
+ return durations[Math.max(0, durations.length - ignoredWorstInteractions - 1)];
114
+ };
115
+ const inp = new PerformanceObserver((list) => processInteractionEntries(list.getEntries()));
116
+ inp.observe({
117
+ type: "event",
118
+ buffered: true,
119
+ durationThreshold: 40
120
+ });
121
+ observers.push(inp);
122
+ const finalizeLcp = () => {
123
+ if (lcpReported) return;
124
+ const pendingEntries = lcp.takeRecords();
125
+ const entry = pendingEntries[pendingEntries.length - 1];
126
+ if (entry) lcpValue = entry.startTime;
127
+ lcpReported = true;
128
+ if (lcpValue !== void 0) onVital({
129
+ name: "LCP",
130
+ value: lcpValue,
131
+ url
132
+ });
133
+ };
134
+ const finalizePageMetrics = () => {
135
+ if (pageMetricsReported) return;
136
+ finalizeLcp();
137
+ processClsEntries(cls.takeRecords());
138
+ processInteractionEntries(inp.takeRecords());
139
+ pageMetricsReported = true;
140
+ if (hasClsSession) onVital({
141
+ name: "CLS",
142
+ value: clsValue,
143
+ url
144
+ });
145
+ const inpValue = getFinalInpValue();
146
+ if (inpValue !== void 0) onVital({
147
+ name: "INP",
148
+ value: inpValue,
149
+ url
150
+ });
151
+ };
152
+ const finalizeLcpOnInteraction = () => finalizeLcp();
153
+ const finalizeOnVisibilityChange = () => {
154
+ if (document.visibilityState === "hidden") finalizePageMetrics();
155
+ };
156
+ const interactionEvents = [
157
+ "pointerdown",
158
+ "keydown",
159
+ "touchstart"
160
+ ];
161
+ for (const eventName of interactionEvents) window.addEventListener(eventName, finalizeLcpOnInteraction, { capture: true });
162
+ document.addEventListener("visibilitychange", finalizeOnVisibilityChange);
163
+ window.addEventListener("pagehide", finalizePageMetrics);
164
+ return () => {
165
+ finalizePageMetrics();
166
+ for (const eventName of interactionEvents) window.removeEventListener(eventName, finalizeLcpOnInteraction, { capture: true });
167
+ document.removeEventListener("visibilitychange", finalizeOnVisibilityChange);
168
+ window.removeEventListener("pagehide", finalizePageMetrics);
169
+ for (const observer of observers) observer.disconnect();
170
+ };
171
+ } catch {
172
+ }
173
+ return () => {
174
+ for (const observer of observers) observer.disconnect();
175
+ };
176
+ }
177
+ function initAnalytics() {
178
+ if (typeof window === "undefined") return;
179
+ if (window.__fleetVitalsInit) return;
180
+ window.__fleetVitalsInit = true;
181
+ const report = (vital) => {
182
+ try {
183
+ const payload = JSON.stringify(vital);
184
+ if (navigator.sendBeacon) navigator.sendBeacon("/api/analytics/vitals", payload);
185
+ } catch {
186
+ }
187
+ };
188
+ let stopObserving = observeWebVitals(report);
189
+ window.addEventListener("pageshow", (event) => {
190
+ if (event.persisted) {
191
+ stopObserving();
192
+ stopObserving = observeWebVitals(report);
193
+ }
194
+ });
195
+ }
53
196
  var NETWORK_DISCONNECTED_MESSAGE = "Fleet Prime is not connected to the Prime Agent runtime. Start or reconnect the runtime, then try again.";
54
197
  var FLEET_ADAPTER_CAPABILITIES = {
55
198
  protocolVersion: 1,
@@ -2610,6 +2753,7 @@ function useMutation(options, queryClient) {
2610
2753
  export {
2611
2754
  LazyMotion,
2612
2755
  domAnimation,
2756
+ initAnalytics,
2613
2757
  NETWORK_DISCONNECTED_MESSAGE,
2614
2758
  FLEET_ADAPTER_CAPABILITIES,
2615
2759
  ChatModelsResponseSchema,
@@ -1,31 +1,38 @@
1
1
  import {
2
2
  ActionSwapRollText,
3
- AgentDisclosure,
4
- CircleX,
5
3
  Copy,
6
- FileCodeCorner,
7
- Wrench
8
- } from "./chunk-PWK2HJIV.js";
4
+ FileCodeCorner
5
+ } from "./chunk-LNGWHEE6.js";
9
6
  import {
10
- SPRING_PRESS,
11
- SPRING_SWAP,
12
- m,
13
- motion,
14
- useReducedMotion
15
- } from "./chunk-QJBEWT4E.js";
7
+ AgentDisclosure
8
+ } from "./chunk-C66BSNA6.js";
16
9
  import {
17
10
  RotateCcw
18
11
  } from "./chunk-6RJYXDSD.js";
12
+ import {
13
+ Wrench
14
+ } from "./chunk-744IIIDL.js";
15
+ import {
16
+ CircleX
17
+ } from "./chunk-SG4W4SPQ.js";
19
18
  import {
20
19
  CircleCheck,
21
20
  LoaderCircle
22
21
  } from "./chunk-PKCTG7EW.js";
22
+ import {
23
+ useReducedMotion
24
+ } from "./chunk-ZJFA4F5X.js";
25
+ import {
26
+ SPRING_PRESS,
27
+ SPRING_SWAP,
28
+ m
29
+ } from "./chunk-K3BXQG3N.js";
23
30
  import {
24
31
  ChevronDown
25
32
  } from "./chunk-QLY3L4A2.js";
26
33
  import {
27
34
  Check
28
- } from "./chunk-NLIUTTKL.js";
35
+ } from "./chunk-6QNW66XR.js";
29
36
  import {
30
37
  SquareTerminal
31
38
  } from "./chunk-G5BCQQ5N.js";
@@ -36,7 +43,7 @@ import {
36
43
  cn
37
44
  } from "./chunk-DJMHPJBP.js";
38
45
 
39
- // web/app/dist/server/assets/tool-result-DnmQGVi7.js
46
+ // web/app/dist/server/assets/tool-result-DA-HXTgh.js
40
47
  import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
41
48
  import { jsx, jsxs } from "react/jsx-runtime";
42
49
  var Ban = createLucideIcon("ban", [["circle", {
@@ -460,7 +467,7 @@ function StatusIcon({ status, reduce }) {
460
467
  }
461
468
  function ToolResultAction({ label, onClick, children }) {
462
469
  const reduce = useReducedMotion() ?? false;
463
- return /* @__PURE__ */ jsx(motion.button, {
470
+ return /* @__PURE__ */ jsx(m.button, {
464
471
  type: "button",
465
472
  "aria-label": label,
466
473
  title: label,
@@ -588,7 +595,7 @@ function ToolResult({ tool, title, children, status = "running", kind = "custom"
588
595
  children: statusLabel
589
596
  })]
590
597
  }),
591
- /* @__PURE__ */ jsx(motion.span, {
598
+ /* @__PURE__ */ jsx(m.span, {
592
599
  "aria-hidden": "true",
593
600
  animate: { rotate: currentOpen ? 180 : 0 },
594
601
  transition: reduce ? { duration: 0 } : SPRING_SWAP,
@@ -30,18 +30,20 @@ import {
30
30
  usePortalContext,
31
31
  useTimeout,
32
32
  webkit
33
- } from "./chunk-RPROZ2JC.js";
33
+ } from "./chunk-F6MGAW3L.js";
34
34
  import {
35
35
  useBaseUiId,
36
36
  useTransitionStatus,
37
37
  useValueAsRef
38
- } from "./chunk-XYYNYFFD.js";
38
+ } from "./chunk-7SR6WDM2.js";
39
+ import {
40
+ X
41
+ } from "./chunk-YHXAXJ6I.js";
39
42
  import {
40
43
  AnimationFrame,
41
44
  EMPTY_OBJECT,
42
45
  NOOP,
43
46
  TransitionStatusDataAttributes,
44
- X,
45
47
  addEventListener,
46
48
  closePress,
47
49
  createChangeEventDetails,
@@ -73,12 +75,12 @@ import {
73
75
  useRefWithInit,
74
76
  useRenderElement,
75
77
  useStableCallback
76
- } from "./chunk-X2TUFLTP.js";
78
+ } from "./chunk-C5X6G26O.js";
77
79
  import {
78
80
  cn
79
81
  } from "./chunk-DJMHPJBP.js";
80
82
 
81
- // web/app/dist/server/assets/dialog-BP46mwfT.js
83
+ // web/app/dist/server/assets/dialog-791CI_ks.js
82
84
  import * as React$1 from "react";
83
85
  import { createContext as createContext2, useContext as useContext2 } from "react";
84
86
  import { jsx, jsxs } from "react/jsx-runtime";