@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,11 +1,8 @@
1
- import {
2
- toast
3
- } from "./chunk-WK7CQS2N.js";
4
1
  import {
5
2
  createLucideIcon
6
3
  } from "./chunk-E26EAQIM.js";
7
4
 
8
- // web/app/dist/server/assets/notify-xnbm86j9.js
5
+ // web/app/dist/server/assets/refresh-cw-DZrA1Kej.js
9
6
  var RefreshCw = createLucideIcon("refresh-cw", [
10
7
  ["path", {
11
8
  d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
@@ -24,21 +21,9 @@ var RefreshCw = createLucideIcon("refresh-cw", [
24
21
  key: "1cv678"
25
22
  }]
26
23
  ]);
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
24
 
39
25
  export {
40
- RefreshCw,
41
- notify
26
+ RefreshCw
42
27
  };
43
28
  /**
44
29
  * @license lucide-react v1.33.0 - ISC
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getResourceChipTitle,
3
3
  resourceKey
4
- } from "./chunk-46VQY7SG.js";
4
+ } from "./chunk-HU4AIJV3.js";
5
5
  import {
6
6
  Skeleton
7
7
  } from "./chunk-EAJTWMK5.js";
8
8
 
9
- // web/app/dist/server/assets/skeleton-loaders-BLPxdCxA.js
9
+ // web/app/dist/server/assets/skeleton-loaders-Dhu9uc4i.js
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
  function ResourceNotice({ description, icon: Icon, title }) {
12
12
  return /* @__PURE__ */ jsxs("div", {
@@ -0,0 +1,22 @@
1
+ import {
2
+ createLucideIcon
3
+ } from "./chunk-E26EAQIM.js";
4
+
5
+ // web/app/dist/server/assets/x-sIde-2OG.js
6
+ var X = createLucideIcon("x", [["path", {
7
+ d: "M18 6 6 18",
8
+ key: "1bl5f8"
9
+ }], ["path", {
10
+ d: "m6 6 12 12",
11
+ key: "d8bk6v"
12
+ }]]);
13
+
14
+ export {
15
+ X
16
+ };
17
+ /**
18
+ * @license lucide-react v1.33.0 - ISC
19
+ *
20
+ * This source code is licensed under the ISC license.
21
+ * See the LICENSE file in the root directory of this source tree.
22
+ */
@@ -0,0 +1,86 @@
1
+ import {
2
+ orderedRlmChildren,
3
+ rlmStatusIcon
4
+ } from "./chunk-YNGDUWCF.js";
5
+ import {
6
+ CircleCheck,
7
+ LoaderCircle
8
+ } from "./chunk-PKCTG7EW.js";
9
+ import {
10
+ ChevronDown
11
+ } from "./chunk-QLY3L4A2.js";
12
+ import {
13
+ cn
14
+ } from "./chunk-DJMHPJBP.js";
15
+ import {
16
+ __exportAll
17
+ } from "./chunk-L547YHC4.js";
18
+
19
+ // web/app/dist/server/assets/fleet-subagent-list-CQltKswG.js
20
+ import { useMemo, useState } from "react";
21
+ import { jsx, jsxs } from "react/jsx-runtime";
22
+ var fleet_subagent_list_exports = /* @__PURE__ */ __exportAll({ FleetSubagentList: () => FleetSubagentList });
23
+ function FleetSubagentList({ children, tree, className }) {
24
+ const agents = useMemo(() => orderedRlmChildren(children, tree), [children, tree]);
25
+ const active = agents.some((child) => child.status === "queued" || child.status === "running" || child.status === "recovering");
26
+ const [open, setOpen] = useState(active);
27
+ if (agents.length === 0) return null;
28
+ return /* @__PURE__ */ jsxs("section", {
29
+ className: cn("mt-2 rounded-xl border border-border/60 bg-muted/20", className),
30
+ children: [/* @__PURE__ */ jsxs("button", {
31
+ type: "button",
32
+ "aria-expanded": open || active,
33
+ onClick: () => setOpen((current) => !current),
34
+ className: "flex w-full items-center gap-2 px-3 py-2 text-left text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
35
+ children: [
36
+ active ? /* @__PURE__ */ jsx(LoaderCircle, { className: "size-3.5 animate-spin text-blue-600 dark:text-blue-400" }) : /* @__PURE__ */ jsx(CircleCheck, { className: "size-3.5 text-emerald-600 dark:text-emerald-400" }),
37
+ /* @__PURE__ */ jsx("span", {
38
+ className: "flex-1 font-medium",
39
+ children: active ? "Subagents working" : "Subagents completed"
40
+ }),
41
+ /* @__PURE__ */ jsx("span", {
42
+ className: "text-xs text-muted-foreground",
43
+ children: agents.length
44
+ }),
45
+ /* @__PURE__ */ jsx(ChevronDown, { className: cn("size-3.5 text-muted-foreground transition-transform", (open || active) && "rotate-180") })
46
+ ]
47
+ }), open || active ? /* @__PURE__ */ jsx("div", {
48
+ className: "space-y-1 border-t border-border/50 px-3 py-2",
49
+ children: agents.map((child) => /* @__PURE__ */ jsxs("div", {
50
+ className: "flex min-w-0 items-start gap-2",
51
+ style: { paddingLeft: `${Math.max(0, child.depth ?? 0) * 12}px` },
52
+ children: [
53
+ /* @__PURE__ */ jsx("span", {
54
+ className: "mt-0.5 shrink-0",
55
+ children: rlmStatusIcon(child.status)
56
+ }),
57
+ /* @__PURE__ */ jsxs("div", {
58
+ className: "min-w-0 flex-1",
59
+ children: [/* @__PURE__ */ jsxs("div", {
60
+ className: "flex min-w-0 items-baseline gap-2",
61
+ children: [/* @__PURE__ */ jsx("span", {
62
+ className: "truncate text-sm text-foreground/85",
63
+ children: child.label
64
+ }), child.model ? /* @__PURE__ */ jsx("span", {
65
+ className: "truncate font-mono text-[10px] text-muted-foreground",
66
+ children: child.model
67
+ }) : null]
68
+ }), child.answerPreview || child.activity?.toolName || child.error ? /* @__PURE__ */ jsx("p", {
69
+ className: "truncate text-xs text-muted-foreground",
70
+ children: child.error ?? child.answerPreview ?? child.activity?.toolName
71
+ }) : null]
72
+ }),
73
+ /* @__PURE__ */ jsx("span", {
74
+ className: "shrink-0 text-[10px] capitalize text-muted-foreground",
75
+ children: child.status
76
+ })
77
+ ]
78
+ }, child.id))
79
+ }) : null]
80
+ });
81
+ }
82
+
83
+ export {
84
+ fleet_subagent_list_exports,
85
+ FleetSubagentList
86
+ };
@@ -0,0 +1,56 @@
1
+ import {
2
+ CircleX
3
+ } from "./chunk-SG4W4SPQ.js";
4
+ import {
5
+ CircleCheck,
6
+ LoaderCircle
7
+ } from "./chunk-PKCTG7EW.js";
8
+ import {
9
+ CircleAlert
10
+ } from "./chunk-GABXCOY3.js";
11
+ import {
12
+ createLucideIcon
13
+ } from "./chunk-E26EAQIM.js";
14
+
15
+ // web/app/dist/server/assets/subagent-utils-ChutVFcF.js
16
+ import { jsx } from "react/jsx-runtime";
17
+ var RotateCw = createLucideIcon("rotate-cw", [["path", {
18
+ d: "M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",
19
+ key: "1p45f6"
20
+ }], ["path", {
21
+ d: "M21 3v5h-5",
22
+ key: "1q7to0"
23
+ }]]);
24
+ function orderedRlmChildren(children, tree) {
25
+ const byId = new Map(children.map((child) => [child.id, child]));
26
+ const visited = /* @__PURE__ */ new Set();
27
+ const ordered = [];
28
+ const visit = (id) => {
29
+ if (visited.has(id)) return;
30
+ visited.add(id);
31
+ const child = byId.get(id);
32
+ if (child) ordered.push(child);
33
+ for (const nextId of tree?.nodes[id]?.childrenIds ?? []) visit(nextId);
34
+ };
35
+ for (const id of tree?.rootChildrenIds ?? []) visit(id);
36
+ for (const child of children) visit(child.id);
37
+ return ordered;
38
+ }
39
+ function rlmStatusIcon(status) {
40
+ if (status === "done") return /* @__PURE__ */ jsx(CircleCheck, { className: "size-3.5 text-emerald-600 dark:text-emerald-400" });
41
+ if (status === "error" || status === "failed") return /* @__PURE__ */ jsx(CircleAlert, { className: "size-3.5 text-destructive" });
42
+ if (status === "cancelled") return /* @__PURE__ */ jsx(CircleX, { className: "size-3.5 text-muted-foreground" });
43
+ if (status === "recovering") return /* @__PURE__ */ jsx(RotateCw, { className: "size-3.5 animate-spin text-amber-500 dark:text-amber-400" });
44
+ return /* @__PURE__ */ jsx(LoaderCircle, { className: "size-3.5 animate-spin text-blue-600 dark:text-blue-400" });
45
+ }
46
+
47
+ export {
48
+ orderedRlmChildren,
49
+ rlmStatusIcon
50
+ };
51
+ /**
52
+ * @license lucide-react v1.33.0 - ISC
53
+ *
54
+ * This source code is licensed under the ISC license.
55
+ * See the LICENSE file in the root directory of this source tree.
56
+ */
@@ -0,0 +1,280 @@
1
+ import {
2
+ MotionConfigContext,
3
+ useConstant,
4
+ useIsomorphicLayoutEffect
5
+ } from "./chunk-K3BXQG3N.js";
6
+ import {
7
+ LayoutGroupContext,
8
+ PresenceContext,
9
+ hasReducedMotionListener,
10
+ initPrefersReducedMotion,
11
+ isHTMLElement,
12
+ prefersReducedMotion,
13
+ usePresence
14
+ } from "./chunk-FAGDMGLK.js";
15
+
16
+ // web/app/dist/server/assets/use-reduced-motion-ewHWHKKI.js
17
+ import * as React$1 from "react";
18
+ import { Children, isValidElement, useContext, useId, useInsertionEffect, useMemo, useRef, useState } from "react";
19
+ import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
20
+ function setRef(ref, value) {
21
+ if (typeof ref === "function") return ref(value);
22
+ else if (ref !== null && ref !== void 0) ref.current = value;
23
+ }
24
+ function composeRefs(...refs) {
25
+ return (node) => {
26
+ let hasCleanup = false;
27
+ const cleanups = refs.map((ref) => {
28
+ const cleanup = setRef(ref, node);
29
+ if (!hasCleanup && typeof cleanup === "function") hasCleanup = true;
30
+ return cleanup;
31
+ });
32
+ if (hasCleanup) return () => {
33
+ for (let i = 0; i < cleanups.length; i++) {
34
+ const cleanup = cleanups[i];
35
+ if (typeof cleanup === "function") cleanup();
36
+ else setRef(refs[i], null);
37
+ }
38
+ };
39
+ };
40
+ }
41
+ function useComposedRefs(...refs) {
42
+ return React$1.useCallback(composeRefs(...refs), refs);
43
+ }
44
+ var PopChildMeasure = class extends React$1.Component {
45
+ getSnapshotBeforeUpdate(prevProps) {
46
+ const element = this.props.childRef.current;
47
+ if (isHTMLElement(element) && prevProps.isPresent && !this.props.isPresent && this.props.pop !== false) {
48
+ const parent = element.offsetParent;
49
+ const parentWidth = isHTMLElement(parent) ? parent.offsetWidth || 0 : 0;
50
+ const parentHeight = isHTMLElement(parent) ? parent.offsetHeight || 0 : 0;
51
+ const computedStyle = getComputedStyle(element);
52
+ const size = this.props.sizeRef.current;
53
+ size.height = parseFloat(computedStyle.height);
54
+ size.width = parseFloat(computedStyle.width);
55
+ size.top = element.offsetTop;
56
+ size.left = element.offsetLeft;
57
+ size.right = parentWidth - size.width - size.left;
58
+ size.bottom = parentHeight - size.height - size.top;
59
+ size.direction = computedStyle.direction;
60
+ }
61
+ return null;
62
+ }
63
+ /**
64
+ * Required with getSnapshotBeforeUpdate to stop React complaining.
65
+ */
66
+ componentDidUpdate() {
67
+ }
68
+ render() {
69
+ return this.props.children;
70
+ }
71
+ };
72
+ function PopChild({ children, isPresent, anchorX, anchorY, root, pop }) {
73
+ const id = useId();
74
+ const ref = useRef(null);
75
+ const size = useRef({
76
+ width: 0,
77
+ height: 0,
78
+ top: 0,
79
+ left: 0,
80
+ right: 0,
81
+ bottom: 0,
82
+ direction: "ltr"
83
+ });
84
+ const { nonce } = useContext(MotionConfigContext);
85
+ const composedRef = useComposedRefs(ref, pop !== false ? children.props?.ref ?? children?.ref : void 0);
86
+ useInsertionEffect(() => {
87
+ const { width, height, top, left, right, bottom, direction } = size.current;
88
+ if (isPresent || pop === false || !ref.current || !width || !height) return;
89
+ const isRTL = direction === "rtl";
90
+ const x = anchorX === "left" ? isRTL ? `right: ${right}` : `left: ${left}` : isRTL ? `left: ${left}` : `right: ${right}`;
91
+ const y = anchorY === "bottom" ? `bottom: ${bottom}` : `top: ${top}`;
92
+ ref.current.dataset.motionPopId = id;
93
+ const style = document.createElement("style");
94
+ if (nonce) style.nonce = nonce;
95
+ const parent = root ?? document.head;
96
+ parent.appendChild(style);
97
+ if (style.sheet) style.sheet.insertRule(`
98
+ [data-motion-pop-id="${id}"] {
99
+ position: absolute !important;
100
+ width: ${width}px !important;
101
+ height: ${height}px !important;
102
+ ${x}px !important;
103
+ ${y}px !important;
104
+ }
105
+ `);
106
+ return () => {
107
+ ref.current?.removeAttribute("data-motion-pop-id");
108
+ if (parent.contains(style)) parent.removeChild(style);
109
+ };
110
+ }, [isPresent]);
111
+ return jsx(PopChildMeasure, {
112
+ isPresent,
113
+ childRef: ref,
114
+ sizeRef: size,
115
+ pop,
116
+ children: pop === false ? children : React$1.cloneElement(children, { ref: composedRef })
117
+ });
118
+ }
119
+ var PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, anchorX, anchorY, root }) => {
120
+ const presenceChildren = useConstant(newChildrenMap);
121
+ const id = useId();
122
+ const isPresentRef = useRef(isPresent);
123
+ const onExitCompleteRef = useRef(onExitComplete);
124
+ useIsomorphicLayoutEffect(() => {
125
+ isPresentRef.current = isPresent;
126
+ onExitCompleteRef.current = onExitComplete;
127
+ });
128
+ let isReusedContext = true;
129
+ let context = useMemo(() => {
130
+ isReusedContext = false;
131
+ return {
132
+ id,
133
+ initial,
134
+ isPresent,
135
+ custom,
136
+ onExitComplete: (childId) => {
137
+ presenceChildren.set(childId, true);
138
+ for (const isComplete of presenceChildren.values()) if (!isComplete) return;
139
+ onExitComplete && onExitComplete();
140
+ },
141
+ register: (childId) => {
142
+ presenceChildren.set(childId, false);
143
+ return () => {
144
+ presenceChildren.delete(childId);
145
+ !isPresentRef.current && !presenceChildren.size && onExitCompleteRef.current?.();
146
+ };
147
+ }
148
+ };
149
+ }, [
150
+ isPresent,
151
+ presenceChildren,
152
+ onExitComplete
153
+ ]);
154
+ if (presenceAffectsLayout && isReusedContext) context = { ...context };
155
+ useMemo(() => {
156
+ presenceChildren.forEach((_, key) => presenceChildren.set(key, false));
157
+ }, [isPresent]);
158
+ React$1.useEffect(() => {
159
+ !isPresent && !presenceChildren.size && onExitComplete && onExitComplete();
160
+ }, [isPresent]);
161
+ children = jsx(PopChild, {
162
+ pop: mode === "popLayout",
163
+ isPresent,
164
+ anchorX,
165
+ anchorY,
166
+ root,
167
+ children
168
+ });
169
+ return jsx(PresenceContext.Provider, {
170
+ value: context,
171
+ children
172
+ });
173
+ };
174
+ function newChildrenMap() {
175
+ return /* @__PURE__ */ new Map();
176
+ }
177
+ var getChildKey = (child) => child.key || "";
178
+ function onlyElements(children) {
179
+ const filtered = [];
180
+ Children.forEach(children, (child) => {
181
+ if (isValidElement(child)) filtered.push(child);
182
+ });
183
+ return filtered;
184
+ }
185
+ var AnimatePresence = ({ children, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = "sync", propagate = false, anchorX = "left", anchorY = "top", root }) => {
186
+ const [isParentPresent, safeToRemove] = usePresence(propagate);
187
+ const presentChildren = useMemo(() => onlyElements(children), [children]);
188
+ const presentKeys = propagate && !isParentPresent ? [] : presentChildren.map(getChildKey);
189
+ const isInitialRender = useRef(true);
190
+ const pendingPresentChildren = useRef(presentChildren);
191
+ const exitComplete = useConstant(() => /* @__PURE__ */ new Map());
192
+ const exitingComponents = useRef(/* @__PURE__ */ new Set());
193
+ const [diffedChildren, setDiffedChildren] = useState(presentChildren);
194
+ const [renderedChildren, setRenderedChildren] = useState(presentChildren);
195
+ useIsomorphicLayoutEffect(() => {
196
+ if (propagate && !isParentPresent && !renderedChildren.length) safeToRemove?.();
197
+ }, [
198
+ isParentPresent,
199
+ propagate,
200
+ renderedChildren.length,
201
+ safeToRemove
202
+ ]);
203
+ useIsomorphicLayoutEffect(() => {
204
+ isInitialRender.current = false;
205
+ pendingPresentChildren.current = presentChildren;
206
+ for (let i = 0; i < renderedChildren.length; i++) {
207
+ const key = getChildKey(renderedChildren[i]);
208
+ if (!presentKeys.includes(key)) {
209
+ if (exitComplete.get(key) !== true) exitComplete.set(key, false);
210
+ } else {
211
+ exitComplete.delete(key);
212
+ exitingComponents.current.delete(key);
213
+ }
214
+ }
215
+ }, [
216
+ renderedChildren,
217
+ presentKeys.length,
218
+ presentKeys.join("-")
219
+ ]);
220
+ const exitingChildren = [];
221
+ if (presentChildren !== diffedChildren) {
222
+ let nextChildren = [...presentChildren];
223
+ let insertionIndex = 0;
224
+ for (const child of renderedChildren) {
225
+ const presentIndex = presentKeys.indexOf(getChildKey(child));
226
+ if (presentIndex === -1) {
227
+ nextChildren.splice(insertionIndex++, 0, child);
228
+ exitingChildren.push(child);
229
+ } else insertionIndex = presentIndex + exitingChildren.length + 1;
230
+ }
231
+ if (mode === "wait" && exitingChildren.length) nextChildren = exitingChildren;
232
+ setRenderedChildren(onlyElements(nextChildren));
233
+ setDiffedChildren(presentChildren);
234
+ return null;
235
+ }
236
+ const { forceRender } = useContext(LayoutGroupContext);
237
+ return jsx(Fragment$1, { children: renderedChildren.map((child) => {
238
+ const key = getChildKey(child);
239
+ const isPresent = propagate && !isParentPresent ? false : presentChildren === renderedChildren || presentKeys.includes(key);
240
+ const onExit = () => {
241
+ if (exitingComponents.current.has(key)) return;
242
+ if (exitComplete.has(key)) {
243
+ exitingComponents.current.add(key);
244
+ exitComplete.set(key, true);
245
+ } else return;
246
+ let isEveryExitComplete = true;
247
+ exitComplete.forEach((isExitComplete) => {
248
+ if (!isExitComplete) isEveryExitComplete = false;
249
+ });
250
+ if (isEveryExitComplete) {
251
+ forceRender?.();
252
+ setRenderedChildren(pendingPresentChildren.current);
253
+ propagate && safeToRemove?.();
254
+ onExitComplete && onExitComplete();
255
+ }
256
+ };
257
+ return jsx(PresenceChild, {
258
+ isPresent,
259
+ initial: !isInitialRender.current || initial ? void 0 : false,
260
+ custom,
261
+ presenceAffectsLayout,
262
+ mode,
263
+ root,
264
+ onExitComplete: isPresent ? void 0 : onExit,
265
+ anchorX,
266
+ anchorY,
267
+ children: child
268
+ }, key);
269
+ }) });
270
+ };
271
+ function useReducedMotion() {
272
+ !hasReducedMotionListener.current && initPrefersReducedMotion();
273
+ const [shouldReduceMotion] = useState(prefersReducedMotion.current);
274
+ return shouldReduceMotion;
275
+ }
276
+
277
+ export {
278
+ AnimatePresence,
279
+ useReducedMotion
280
+ };
@@ -0,0 +1,74 @@
1
+ import {
2
+ notify
3
+ } from "./chunk-K4ESBQ3R.js";
4
+ import "./chunk-W5GRNHV5.js";
5
+ import "./chunk-PKCTG7EW.js";
6
+ import "./chunk-F6MGAW3L.js";
7
+ import {
8
+ X
9
+ } from "./chunk-YHXAXJ6I.js";
10
+ import "./chunk-C5X6G26O.js";
11
+ import "./chunk-E26EAQIM.js";
12
+ import {
13
+ cn
14
+ } from "./chunk-DJMHPJBP.js";
15
+ import "./chunk-JDCCC7A7.js";
16
+ import "./chunk-L547YHC4.js";
17
+ import "./chunk-MLKGABMK.js";
18
+
19
+ // web/app/dist/server/assets/fleet-message-queue-Bn0_3Efe.js
20
+ import { jsx, jsxs } from "react/jsx-runtime";
21
+ var LANES = [{
22
+ key: "steering",
23
+ label: "Next"
24
+ }, {
25
+ key: "followUp",
26
+ label: "After run"
27
+ }];
28
+ function FleetMessageQueue({ queue, onDelete, className }) {
29
+ const count = queue.steering.length + queue.followUp.length;
30
+ if (count === 0) return null;
31
+ const handleDelete = async (lane, index, text) => {
32
+ try {
33
+ if (await onDelete?.(lane, index, text) === false) notify.error("Unable to remove queued message");
34
+ } catch {
35
+ notify.error("Unable to remove queued message");
36
+ }
37
+ };
38
+ return /* @__PURE__ */ jsx("section", {
39
+ "aria-label": "Queued messages",
40
+ className: cn("mx-auto mb-2 w-full max-w-an px-3", className),
41
+ children: /* @__PURE__ */ jsxs("div", {
42
+ className: "rounded-xl border border-border/60 bg-muted/30 p-2",
43
+ children: [/* @__PURE__ */ jsxs("div", {
44
+ className: "mb-1 flex items-baseline justify-between px-1 text-xs text-muted-foreground",
45
+ children: [/* @__PURE__ */ jsxs("span", { children: [count, " queued"] }), /* @__PURE__ */ jsx("span", { children: "Sent when the run reaches its lane" })]
46
+ }), /* @__PURE__ */ jsx("div", {
47
+ className: "space-y-1",
48
+ children: LANES.flatMap(({ key, label }) => queue[key].map((text, index) => /* @__PURE__ */ jsxs("div", {
49
+ className: "flex min-w-0 items-center gap-2 rounded-lg bg-background/80 px-2 py-1.5 text-sm",
50
+ children: [
51
+ /* @__PURE__ */ jsx("span", {
52
+ className: "shrink-0 text-[10px] font-medium uppercase tracking-wide text-muted-foreground",
53
+ children: label
54
+ }),
55
+ /* @__PURE__ */ jsx("span", {
56
+ className: "min-w-0 flex-1 truncate text-foreground/80",
57
+ children: text
58
+ }),
59
+ onDelete ? /* @__PURE__ */ jsx("button", {
60
+ type: "button",
61
+ "aria-label": `Remove queued message: ${text}`,
62
+ onClick: () => void handleDelete(key, index, text),
63
+ className: "grid size-6 shrink-0 place-items-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
64
+ children: /* @__PURE__ */ jsx(X, { className: "size-3.5" })
65
+ }) : null
66
+ ]
67
+ }, `${key}:${index}:${text}`)))
68
+ })]
69
+ })
70
+ });
71
+ }
72
+ export {
73
+ FleetMessageQueue
74
+ };
@@ -0,0 +1,51 @@
1
+ import {
2
+ FleetPiToolRenderer,
3
+ fleet_pi_tool_renderer_exports
4
+ } from "./chunk-RYHIJMFD.js";
5
+ import "./chunk-KZSM3BHO.js";
6
+ import "./chunk-E365EOXJ.js";
7
+ import "./chunk-V3S6BVXO.js";
8
+ import "./chunk-ANL4B775.js";
9
+ import "./chunk-DBXYBYBP.js";
10
+ import "./chunk-EFAGCVZ3.js";
11
+ import "./chunk-BNQWMQHD.js";
12
+ import "./chunk-4PQ6OD6J.js";
13
+ import "./chunk-P66QQWUM.js";
14
+ import "./chunk-2H6A6Z7F.js";
15
+ import "./chunk-YRWVQ7BW.js";
16
+ import "./chunk-J6MRJXUH.js";
17
+ import "./chunk-LNGWHEE6.js";
18
+ import "./chunk-C66BSNA6.js";
19
+ import "./chunk-HSJMLO36.js";
20
+ import "./chunk-6RJYXDSD.js";
21
+ import "./chunk-744IIIDL.js";
22
+ import "./chunk-SG4W4SPQ.js";
23
+ import "./chunk-PKCTG7EW.js";
24
+ import "./chunk-ZJFA4F5X.js";
25
+ import "./chunk-7QCDOBZ3.js";
26
+ import "./chunk-K3BXQG3N.js";
27
+ import "./chunk-FAGDMGLK.js";
28
+ import "./chunk-T23OO4SC.js";
29
+ import "./chunk-L46H6IDX.js";
30
+ import "./chunk-QLY3L4A2.js";
31
+ import "./chunk-6QNW66XR.js";
32
+ import "./chunk-S3PQ6HKH.js";
33
+ import "./chunk-7SR6WDM2.js";
34
+ import "./chunk-YHXAXJ6I.js";
35
+ import "./chunk-C5X6G26O.js";
36
+ import "./chunk-ST5I2PLN.js";
37
+ import "./chunk-QAE5SXDK.js";
38
+ import "./chunk-GABXCOY3.js";
39
+ import "./chunk-VGDP4YDU.js";
40
+ import "./chunk-G5BCQQ5N.js";
41
+ import "./chunk-BYXBJQAS.js";
42
+ import "./chunk-E26EAQIM.js";
43
+ import "./chunk-DJMHPJBP.js";
44
+ import "./chunk-UQVZJSZZ.js";
45
+ import "./chunk-JDCCC7A7.js";
46
+ import "./chunk-L547YHC4.js";
47
+ import "./chunk-MLKGABMK.js";
48
+ export {
49
+ fleet_pi_tool_renderer_exports as n,
50
+ FleetPiToolRenderer as t
51
+ };