@qredence/fleet 0.6.0 → 0.6.2

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 (273) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/web/client/assets/agent-disclosure-CMrxF7L-.js +1 -0
  3. package/dist/web/client/assets/analytics-stub-C2vgmGm_.js +1 -0
  4. package/dist/web/client/assets/artifacts-panel-DmQghvw8.js +1 -0
  5. package/dist/web/client/assets/{bot-Bs7QWJ2q.js → bot-DbB9BKL0.js} +1 -1
  6. package/dist/web/client/assets/bundle-mjs-cJTHqqzI.js +1 -0
  7. package/dist/web/client/assets/button-Dl0ce3Y5.js +1 -0
  8. package/dist/web/client/assets/card-DCEnYd2G.js +1 -0
  9. package/dist/web/client/assets/chat-C24kD2SP.js +52 -0
  10. package/dist/web/client/assets/chat-command-palette-BIwjhE6s.js +1 -0
  11. package/dist/web/client/assets/check-B3LlvM65.js +1 -0
  12. package/dist/web/client/assets/{chevron-down-BEVGmnSb.js → chevron-down-DUUprRP5.js} +1 -1
  13. package/dist/web/client/assets/chevron-right-NVqQIoiO.js +1 -0
  14. package/dist/web/client/assets/{chunk-YOKDWASO-BAf618wr.js → chunk-YOKDWASO-Bte3iwlH.js} +6 -6
  15. package/dist/web/client/assets/citations-BUvM92nt.js +1 -0
  16. package/dist/web/client/assets/collapsible-CUxOjhDJ.js +1 -0
  17. package/dist/web/client/assets/command-Dv96gATQ.js +1 -0
  18. package/dist/web/client/assets/createBaseUIEventDetails-B58Jldei.js +1 -0
  19. package/dist/web/client/assets/createLucideIcon-_dfI7Arx.js +1 -0
  20. package/dist/web/client/assets/dialog-BCb4rQh0.js +1 -0
  21. package/dist/web/client/assets/dist-52wg4XPY.js +1 -0
  22. package/dist/web/client/assets/dist-DbHxXSgQ.js +41 -0
  23. package/dist/web/client/assets/ease-CMumuPlX.js +1 -0
  24. package/dist/web/client/assets/{eye-B0DFz5hL.js → eye-CDHqtVoE.js} +1 -1
  25. package/dist/web/client/assets/file-text-TmalmYrb.js +1 -0
  26. package/dist/web/client/assets/{folder-BC5p7qK7.js → folder-vuNT4shY.js} +1 -1
  27. package/dist/web/client/assets/{fork-picker-dialog-ByBOGVsa.js → fork-picker-dialog-CpwEwsxA.js} +1 -1
  28. package/dist/web/client/assets/gauge-BsDqNM1A.js +1 -0
  29. package/dist/web/client/assets/globals-DCtBkCSD.css +2 -0
  30. package/dist/web/client/assets/{hard-drive-CHqgr7VQ.js → hard-drive-BT7UxHQu.js} +1 -1
  31. package/dist/web/client/assets/highlighted-body-KPVGNVTW-CgT7gqvs.js +1 -0
  32. package/dist/web/client/assets/horizontal-resize-VLjLByUV.js +1 -0
  33. package/dist/web/client/assets/index-BGnQeUYE.js +12 -0
  34. package/dist/web/client/assets/input-CxZp56Im.js +1 -0
  35. package/dist/web/client/assets/input-group-D7lAfKHR.js +1 -0
  36. package/dist/web/client/assets/ipython-tool-CkHaO3PW.js +3 -0
  37. package/dist/web/client/assets/is-ref-object-BcRWZ4l7.js +1 -0
  38. package/dist/web/client/assets/{loader-circle-DjfHXUPB.js → loader-circle-B5GIZGxd.js} +1 -1
  39. package/dist/web/client/assets/markdown-BHkByC9K.js +2 -0
  40. package/dist/web/client/assets/{markdown-code-CuQcR3UO.js → markdown-code-CDTRq-HZ.js} +1 -1
  41. package/dist/web/client/assets/mermaid-HWGCJPDP-CY3N5ECk.js +1 -0
  42. package/dist/web/client/assets/message-queue-Dl8wbCOu.js +1 -0
  43. package/dist/web/client/assets/model-selector-list-CRZCXeBf.js +1 -0
  44. package/dist/web/client/assets/{notify-DgMKgZZW.js → notify-DjVixft7.js} +1 -1
  45. package/dist/web/client/assets/openui-renderer-Bkkx5kmA.js +378 -0
  46. package/dist/web/client/assets/{package-CdcJFPf2.js → package-BKBPgwMP.js} +1 -1
  47. package/dist/web/client/assets/{pencil-DcUwsKLn.js → pencil-CdO6qfv3.js} +1 -1
  48. package/dist/web/client/assets/{plug-Dt6VN0zF.js → plug-BRROUIw-.js} +1 -1
  49. package/dist/web/client/assets/prompt-input-WaGSKZCU.js +1 -0
  50. package/dist/web/client/assets/prompt-suggestions-BNyTcyWg.js +1 -0
  51. package/dist/web/client/assets/provider-catalog-C0XBIasJ.js +1 -0
  52. package/dist/web/client/assets/provider-label-Cka0ep0S.js +1 -0
  53. package/dist/web/client/assets/react-CwJFpaho.js +1 -0
  54. package/dist/web/client/assets/react-dom-DX3XddaT.js +1 -0
  55. package/dist/web/client/assets/{refresh-cw-IThTJ3j-.js → refresh-cw-l9WPHRkq.js} +1 -1
  56. package/dist/web/client/assets/repl-panel-L9dmPqio.js +1 -0
  57. package/dist/web/client/assets/{resource-helpers-Q2T0YCMO.js → resource-helpers-BuWybA8l.js} +1 -1
  58. package/dist/web/client/assets/resources-panel-mT-aMCvV.js +1 -0
  59. package/dist/web/client/assets/right-panel-context-CS8tJMzE.js +1 -0
  60. package/dist/web/client/assets/right-panel-registry-BCW7fQTG.js +2 -0
  61. package/dist/web/client/assets/{rotate-ccw-WNFNkKQD.js → rotate-ccw-CfGhzOv7.js} +1 -1
  62. package/dist/web/client/assets/routes-BWe5Iz-2.js +16 -0
  63. package/dist/web/client/assets/safe-external-url-BbAom7Bm.js +1 -0
  64. package/dist/web/client/assets/search-BjcXAUrI.js +1 -0
  65. package/dist/web/client/assets/session-insights-panel-B0rl37lo.js +1 -0
  66. package/dist/web/client/assets/session-reasoning-panel-8D2P7iaJ.js +1 -0
  67. package/dist/web/client/assets/{fleet-pi-tool-renderer-BEDIO3al.js → session-tool-renderer-3E3cv8D0.js} +30 -30
  68. package/dist/web/client/assets/settings-dialog-B8lHq2tT.js +2 -0
  69. package/dist/web/client/assets/{skeleton-CkR2VmWc.js → skeleton-C3mo31Qu.js} +1 -1
  70. package/dist/web/client/assets/skeleton-loaders-BMa_G4yX.js +1 -0
  71. package/dist/web/client/assets/{shield-check-CkA2viVW.js → sparkles-D8XIY8pN.js} +1 -1
  72. package/dist/web/client/assets/square-DQaQu9bp.js +1 -0
  73. package/dist/web/client/assets/{square-terminal-BYTN_I86.js → square-terminal-BsopiuN7.js} +1 -1
  74. package/dist/web/client/assets/{subagent-chat-panel-Yujplxpb.js → subagent-chat-panel-C5ukYiUx.js} +1 -1
  75. package/dist/web/client/assets/subagent-transcript-lqNcSVbH.js +1 -0
  76. package/dist/web/client/assets/subagents-panel-SJKhaVTr.js +1 -0
  77. package/dist/web/client/assets/{sun-BWiZFty0.js → sun-D0llhiMU.js} +1 -1
  78. package/dist/web/client/assets/surfaces-CpfsGAIA.js +1 -0
  79. package/dist/web/client/assets/switch-D3FhZU-S.js +1 -0
  80. package/dist/web/client/assets/terminal-BQAKkBY6.js +1 -0
  81. package/dist/web/client/assets/toast-lnCWGgSE.js +1 -0
  82. package/dist/web/client/assets/tokens-Ch5WqXC_.js +1 -0
  83. package/dist/web/client/assets/tool-result-B_yb2JoE.js +4 -0
  84. package/dist/web/client/assets/tool-timeline-VnMRQoLS.js +1 -0
  85. package/dist/web/client/assets/{triangle-alert-CU-gd7ui.js → triangle-alert-GAYh_5d3.js} +1 -1
  86. package/dist/web/client/assets/ui-preferences-aG2U2jjW.js +1 -0
  87. package/dist/web/client/assets/use-presence-7I2qv4qI.js +1 -0
  88. package/dist/web/client/assets/use-reduced-motion-BOcG709U.js +9 -0
  89. package/dist/web/client/assets/useBaseUiId-D9ZGPZ6f.js +1 -0
  90. package/dist/web/client/assets/useControlled-CgAAWIy9.js +1 -0
  91. package/dist/web/client/assets/utils-Brtgag-m.js +1 -0
  92. package/dist/web/client/assets/virtualized-turn-list-BgUgX6tM.js +6 -0
  93. package/dist/web/client/assets/workspace-panel-CKF5JQl2.js +1 -0
  94. package/dist/web/client/assets/workspace-path-nav-DqPbETfJ.js +2 -0
  95. package/dist/web/client/assets/{wrench-BJNNe07k.js → wrench-Myc12BTA.js} +1 -1
  96. package/dist/web/client/assets/x-BGsDD848.js +1 -0
  97. package/dist/web/client/bundle-budget.json +6 -6
  98. package/dist/web/launcher.mjs +10 -1
  99. package/dist/web/server/_tanstack-start-manifest_v-BDPifIFN-DTSNCHBX.js +91 -0
  100. package/dist/web/server/{artifacts-panel-CaKrX2XC-R37I4BHF.js → artifacts-panel-BN3DgqfV-N73J6N5Y.js} +39 -44
  101. package/dist/web/server/{chat-command-palette-7gbqEnm9-6XICQZN7.js → chat-command-palette-G8awyZRw-2QE7FXGT.js} +18 -18
  102. package/dist/web/server/{chunk-SALXCFVO.js → chunk-33QA7BQJ.js} +19 -1
  103. package/dist/web/server/{chunk-P6UMR32I.js → chunk-43S5N7SH.js} +80 -47
  104. package/dist/web/server/chunk-4EBSM4JR.js +74 -0
  105. package/dist/web/server/{chunk-BBBS5AS7.js → chunk-4OTHKQMG.js} +753 -677
  106. package/dist/web/server/{chunk-WM4PUT6M.js → chunk-6SOMNRAX.js} +535 -505
  107. package/dist/web/server/chunk-7E76R7MB.js +2138 -0
  108. package/dist/web/server/{chunk-K3BXQG3N.js → chunk-7FK6YEMA.js} +100 -95
  109. package/dist/web/server/chunk-7HXCGBUP.js +56 -0
  110. package/dist/web/server/{chunk-P66QQWUM.js → chunk-7NZ3FJDA.js} +14 -1
  111. package/dist/web/server/{chunk-WHBVQJ4K.js → chunk-7UTDOTOU.js} +11 -9
  112. package/dist/web/server/{chunk-OZO5ARFA.js → chunk-BQROC4PL.js} +11 -2
  113. package/dist/web/server/{chunk-WYL2DW5R.js → chunk-BUXJSBE3.js} +2 -2
  114. package/dist/web/server/{chunk-ZJFA4F5X.js → chunk-CAPTFJOC.js} +9 -7
  115. package/dist/web/server/{chunk-EH4BZ6QM.js → chunk-CCYLHNZJ.js} +1767 -52
  116. package/dist/web/server/{chunk-DJMHPJBP.js → chunk-CHEC7TWB.js} +3 -1
  117. package/dist/web/server/{chunk-PIOFZUOU.js → chunk-CW6KZUKT.js} +7 -6
  118. package/dist/web/server/chunk-DLA5TLKX.js +164 -0
  119. package/dist/web/server/{chunk-7SR6WDM2.js → chunk-E5HALE4M.js} +4 -4
  120. package/dist/web/server/{chunk-DZ2IC3FH.js → chunk-EDAWH2MT.js} +47 -46
  121. package/dist/web/server/{chunk-JQDLJ7KI.js → chunk-ENGEUJIH.js} +2288 -2438
  122. package/dist/web/server/{chunk-DI7XRK2H.js → chunk-ESM7OCRL.js} +4 -4
  123. package/dist/web/server/{chunk-KELEYPVK.js → chunk-FT74GAAH.js} +74861 -74854
  124. package/dist/web/server/{chunk-LZ4Q5KUJ.js → chunk-HQ5TEXHT.js} +40 -60
  125. package/dist/web/server/{chunk-YOM42BKD.js → chunk-IPV4GLJL.js} +16 -16
  126. package/dist/web/server/{chunk-KOUEJ3NU.js → chunk-IXGLKAPN.js} +54 -46
  127. package/dist/web/server/{chunk-EAE2QXRK.js → chunk-JPDRUSUD.js} +2 -3
  128. package/dist/web/server/{chunk-AGFRJQZ7.js → chunk-JVOW2NWC.js} +452 -450
  129. package/dist/web/server/chunk-K6PTNSCW.js +31 -0
  130. package/dist/web/server/{chunk-AR7O7JXD.js → chunk-KBWUBWVJ.js} +24 -1
  131. package/dist/web/server/{chunk-NXJ32VFR.js → chunk-MJXXVQNA.js} +91 -96
  132. package/dist/web/server/{chunk-N6NOTURM.js → chunk-NCK2FJAD.js} +30 -26
  133. package/dist/web/server/{chunk-LXJD6IGW.js → chunk-NMBH57JT.js} +94 -33
  134. package/dist/web/server/{chunk-EAJTWMK5.js → chunk-NZ6KQT2X.js} +2 -2
  135. package/dist/web/server/{chunk-CNXJN5HN.js → chunk-O2UYZT3Z.js} +11 -11
  136. package/dist/web/server/{chunk-YXXRP3NS.js → chunk-OMEDERPG.js} +21 -25
  137. package/dist/web/server/{chunk-BLSX7WHW.js → chunk-OSMP55KI.js} +23 -2
  138. package/dist/web/server/{chunk-S3PQ6HKH.js → chunk-OVJYUWSQ.js} +2 -2
  139. package/dist/web/server/{chunk-XLNCWZMZ.js → chunk-RXUMFFUV.js} +5 -3
  140. package/dist/web/server/{chunk-DO2O27B2.js → chunk-SDV3P3IW.js} +2 -2
  141. package/dist/web/server/chunk-TLNZNR7C.js +46 -0
  142. package/dist/web/server/{chunk-IJPCV6DH.js → chunk-UDD5W4CR.js} +32 -10
  143. package/dist/web/server/{chunk-HSJMLO36.js → chunk-UE32PAV2.js} +47 -57
  144. package/dist/web/server/{chunk-UAPNEWCA.js → chunk-WB2LJC3R.js} +29 -32
  145. package/dist/web/server/{chunk-ETTDO4UO.js → chunk-WTYNN6EV.js} +1 -26
  146. package/dist/web/server/{chunk-2ATMSG7U.js → chunk-WU6X3GPJ.js} +48 -5
  147. package/dist/web/server/{chunk-C5X6G26O.js → chunk-XJ6TGSUB.js} +45 -24
  148. package/dist/web/server/{chunk-YNUWKMNQ.js → chunk-YMPJMHXZ.js} +41 -155
  149. package/dist/web/server/{chunk-GETSIVNU.js → chunk-YVGCPUAW.js} +7 -7
  150. package/dist/web/server/{chunk-4UBOIY2S.js → chunk-ZNFXBGLK.js} +1 -1
  151. package/dist/web/server/chunk-ZOVXMNJM.js +477 -0
  152. package/dist/web/server/{fork-picker-dialog-DlINz9UQ-UWIXFDJX.js → fork-picker-dialog-YKlapaxN-DR5L74ST.js} +9 -8
  153. package/dist/web/server/{markdown-DTnMbD87-FXGGAPJD.js → markdown-BzNejPoZ-6ITTDAV6.js} +2 -3
  154. package/dist/web/server/{markdown-code-BStjFfsy-SSLWUT4S.js → markdown-code-DAwXuW6m-HHVELO6I.js} +3 -4
  155. package/dist/web/server/{fleet-message-queue-BS-cZ56r-GLZXUKDF.js → message-queue-Demph1x4-RBJUC3AT.js} +14 -10
  156. package/dist/web/server/{model-selector-list-jBTZc2Mu-OXJOS5NA.js → model-selector-list-BmzLiCx9-TK6JGGKU.js} +20 -19
  157. package/dist/web/server/{openui-renderer-Biyyjhjn-SJOEKPTJ.js → openui-renderer-moJGf0LA-QCU3PI6H.js} +17 -18
  158. package/dist/web/server/{prompt-suggestions-D4AEEY7K-RZSP7PWV.js → prompt-suggestions-yPZqX__K-3VGJC4IF.js} +7 -6
  159. package/dist/web/server/{repl-panel-D5KsoJik-BQKO53JO.js → repl-panel-CgUF1qUw-3DFD2V53.js} +10 -11
  160. package/dist/web/server/{resources-panel-CE5pD4vy-V5FXBTYC.js → resources-panel-ChUliWV--JITAGS6Q.js} +6 -7
  161. package/dist/web/server/{router-DWALoX_M-I5CBL7FQ.js → router-CPdFlpbe-LAD4MNZB.js} +3117 -241
  162. package/dist/web/server/{routes-BBVirYfL-5WXMOT7M.js → routes-hkom6S6L-DUPPQHPY.js} +8753 -7974
  163. package/dist/web/server/server.js +2 -2
  164. package/dist/web/server/{session-insights-panel-CUhdgvRt-VB2HUCQP.js → session-insights-panel-xgrkX1Rp-FDNURBXZ.js} +9 -9
  165. package/dist/web/server/{fleet-reasoning-panel-BxC2COxi-GPLMQSTT.js → session-reasoning-panel-m1RgcIph-NUXGXVKE.js} +39 -40
  166. package/dist/web/server/session-tool-renderer-CglQ2ky7-2JVYNZG2.js +45 -0
  167. package/dist/web/server/{settings-dialog-DndPbM-v-RFNXXEAN.js → settings-dialog-BCEfmgtP-T3WQEZHB.js} +1912 -3120
  168. package/dist/web/server/{subagent-chat-panel-C0RpnXav-J7VYO7QY.js → subagent-chat-panel-BTwI1kdB-LKBWA4GD.js} +32 -41
  169. package/dist/web/server/{subagents-panel-jDqIn9Nh-YEV6QLUY.js → subagents-panel-8Z9_csoV-HYMEEBHB.js} +37 -45
  170. package/dist/web/server/{fleet-tool-timeline-IB36_PB2-XJENTO6I.js → tool-timeline-QL9k5dzA-RLU26HXT.js} +6 -6
  171. package/dist/web/server/{workspace-panel-CX_Vo6As-EWO6AMPI.js → workspace-panel-BHEB9nRM-TS62SYBA.js} +64 -46
  172. package/package.json +1 -1
  173. package/dist/web/client/assets/action-swap-roll-BB8DFMuf.js +0 -1
  174. package/dist/web/client/assets/agent-activity-CwMDU7aP.js +0 -1
  175. package/dist/web/client/assets/agent-disclosure-B8SnhQXL.js +0 -1
  176. package/dist/web/client/assets/analytics-stub-Cas1He0w.js +0 -1
  177. package/dist/web/client/assets/artifacts-panel-CJ75gQub.js +0 -1
  178. package/dist/web/client/assets/artifacts-utils-N_kUFbz2.js +0 -1
  179. package/dist/web/client/assets/bundle-mjs-DKHVkVWu.js +0 -1
  180. package/dist/web/client/assets/button-BR2WWrFo.js +0 -1
  181. package/dist/web/client/assets/card-BKl76a3R.js +0 -1
  182. package/dist/web/client/assets/chat-Ci2cEQrR.js +0 -52
  183. package/dist/web/client/assets/chat-command-palette-CkISHfKE.js +0 -1
  184. package/dist/web/client/assets/check-JjHKAZas.js +0 -1
  185. package/dist/web/client/assets/chevron-right-DrJxToLs.js +0 -1
  186. package/dist/web/client/assets/chevron-up-CnSvySGH.js +0 -1
  187. package/dist/web/client/assets/circle-alert-CONlFReH.js +0 -1
  188. package/dist/web/client/assets/circle-x-CkKCB__4.js +0 -1
  189. package/dist/web/client/assets/citations-C_tPOJE_.js +0 -2
  190. package/dist/web/client/assets/cn-C8c0S2mI.js +0 -1
  191. package/dist/web/client/assets/collapsible-BoXtZZWN.js +0 -1
  192. package/dist/web/client/assets/command-_WjnervL.js +0 -1
  193. package/dist/web/client/assets/createBaseUIEventDetails-DV0dQrBX.js +0 -1
  194. package/dist/web/client/assets/createLucideIcon-DwxZHm0M.js +0 -1
  195. package/dist/web/client/assets/dialog-BEZuZhzk.js +0 -1
  196. package/dist/web/client/assets/dist-BPaFisIZ.js +0 -41
  197. package/dist/web/client/assets/earth-DGZXAN5r.js +0 -1
  198. package/dist/web/client/assets/ease-u56MhKYS.js +0 -1
  199. package/dist/web/client/assets/file-text-T-NcAlZs.js +0 -1
  200. package/dist/web/client/assets/fleet-message-queue-BCno4XP-.js +0 -1
  201. package/dist/web/client/assets/fleet-reasoning-panel-CbkO7u-v.js +0 -1
  202. package/dist/web/client/assets/fleet-subagent-list-iKUtLJKZ.js +0 -1
  203. package/dist/web/client/assets/fleet-tool-timeline-C8heL7ae.js +0 -1
  204. package/dist/web/client/assets/gauge-DNpstbBn.js +0 -1
  205. package/dist/web/client/assets/globals-B_I1Eq1u.css +0 -2
  206. package/dist/web/client/assets/highlighted-body-KPVGNVTW-sUCZ1fHv.js +0 -1
  207. package/dist/web/client/assets/horizontal-resize-CwoDojST.js +0 -1
  208. package/dist/web/client/assets/image-BbPmlw-n.js +0 -1
  209. package/dist/web/client/assets/index-DJ1fFbQu.js +0 -12
  210. package/dist/web/client/assets/input-0wwjWjKq.js +0 -1
  211. package/dist/web/client/assets/input-group-Tb5TYbzi.js +0 -1
  212. package/dist/web/client/assets/ipython-tool-ldJ9F1Cw.js +0 -3
  213. package/dist/web/client/assets/layout-gyLzPvVv.js +0 -1
  214. package/dist/web/client/assets/markdown-DInPmRUG.js +0 -2
  215. package/dist/web/client/assets/mermaid-HWGCJPDP-Bm7CuruA.js +0 -1
  216. package/dist/web/client/assets/message-square-hbDao-A1.js +0 -1
  217. package/dist/web/client/assets/model-selector-list-Ch05B2nZ.js +0 -1
  218. package/dist/web/client/assets/openui-renderer-Bf60nxNi.js +0 -378
  219. package/dist/web/client/assets/plus-DXN1Bg_z.js +0 -1
  220. package/dist/web/client/assets/prompt-input-qPIXZ-Rb.js +0 -1
  221. package/dist/web/client/assets/prompt-suggestions-Cc--lSNR.js +0 -1
  222. package/dist/web/client/assets/provider-catalog-D8G66gwc.js +0 -1
  223. package/dist/web/client/assets/provider-label-DDLRnZyC.js +0 -1
  224. package/dist/web/client/assets/react-dom-Bwxum3ti.js +0 -1
  225. package/dist/web/client/assets/repl-panel-DsPX04Xr.js +0 -1
  226. package/dist/web/client/assets/resources-panel-D867-goy.js +0 -1
  227. package/dist/web/client/assets/right-panel-context-DHlNWJsF.js +0 -1
  228. package/dist/web/client/assets/right-panel-registry-Dp8yX-oL.js +0 -2
  229. package/dist/web/client/assets/routes-DpgMJZ5n.js +0 -16
  230. package/dist/web/client/assets/safe-external-url-D3PJJIcM.js +0 -1
  231. package/dist/web/client/assets/search-eWVnAJsb.js +0 -1
  232. package/dist/web/client/assets/session-insights-panel-YnaXvTpi.js +0 -1
  233. package/dist/web/client/assets/settings-dialog-YJkvt5EB.js +0 -2
  234. package/dist/web/client/assets/skeleton-loaders-C9vHwAYV.js +0 -1
  235. package/dist/web/client/assets/sparkles-DuclzqlE.js +0 -1
  236. package/dist/web/client/assets/square-Bhn8gjr0.js +0 -1
  237. package/dist/web/client/assets/subagent-transcript-CnI-mqN0.js +0 -1
  238. package/dist/web/client/assets/subagent-utils-DDH5qm9Z.js +0 -1
  239. package/dist/web/client/assets/subagents-panel-CjXEdimj.js +0 -1
  240. package/dist/web/client/assets/surfaces-DI-U-_2a.js +0 -1
  241. package/dist/web/client/assets/switch-9rTeg6J6.js +0 -1
  242. package/dist/web/client/assets/terminal-DOS1s1gm.js +0 -1
  243. package/dist/web/client/assets/toast-Bt9p2OL4.js +0 -1
  244. package/dist/web/client/assets/tool-result-DfnPN0FQ.js +0 -4
  245. package/dist/web/client/assets/ui-preferences-CImQGZm_.js +0 -1
  246. package/dist/web/client/assets/use-reduced-motion-eORd7fqW.js +0 -9
  247. package/dist/web/client/assets/useBaseUiId-CHqXB2UQ.js +0 -1
  248. package/dist/web/client/assets/useControlled-CJJ9BOQB.js +0 -1
  249. package/dist/web/client/assets/utils-Eg7xtNmV.js +0 -1
  250. package/dist/web/client/assets/virtualized-turn-list--Vynre4D.js +0 -6
  251. package/dist/web/client/assets/workspace-panel-CPPIznT9.js +0 -1
  252. package/dist/web/client/assets/workspace-path-nav-C0AQNZyy.js +0 -1
  253. package/dist/web/client/assets/x-CsRC_tCI.js +0 -1
  254. package/dist/web/server/_tanstack-start-manifest_v-DS_CSIFQ-WB3VTKF3.js +0 -95
  255. package/dist/web/server/agent-activity-CS2rbF_C-A3R26CYH.js +0 -514
  256. package/dist/web/server/chunk-3JMESBAT.js +0 -35
  257. package/dist/web/server/chunk-42XU6WV7.js +0 -56
  258. package/dist/web/server/chunk-7SD2ZSEA.js +0 -86
  259. package/dist/web/server/chunk-AQ66E5OW.js +0 -33
  260. package/dist/web/server/chunk-BYXBJQAS.js +0 -0
  261. package/dist/web/server/chunk-FAGDMGLK.js +0 -6589
  262. package/dist/web/server/chunk-FJV6EQDW.js +0 -36
  263. package/dist/web/server/chunk-GL6HWDJB.js +0 -19
  264. package/dist/web/server/chunk-HFQTI7AX.js +0 -42
  265. package/dist/web/server/chunk-L46H6IDX.js +0 -13
  266. package/dist/web/server/chunk-ON33WDZX.js +0 -31
  267. package/dist/web/server/chunk-PVJCTQFK.js +0 -22
  268. package/dist/web/server/chunk-QPNUGF3V.js +0 -35
  269. package/dist/web/server/chunk-TWYHHG5N.js +0 -1196
  270. package/dist/web/server/chunk-YKVGQBZA.js +0 -1262
  271. package/dist/web/server/chunk-ZCVWADNW.js +0 -37
  272. package/dist/web/server/fleet-pi-tool-renderer-umKunT3K-O4GBH35V.js +0 -51
  273. package/dist/web/server/fleet-subagent-list-CpSYzCIq-JDH2LHSS.js +0 -18
@@ -1,514 +0,0 @@
1
- import {
2
- MessageSquare
3
- } from "./chunk-GL6HWDJB.js";
4
- import {
5
- Image
6
- } from "./chunk-FJV6EQDW.js";
7
- import {
8
- Earth
9
- } from "./chunk-QPNUGF3V.js";
10
- import {
11
- Sparkles
12
- } from "./chunk-3JMESBAT.js";
13
- import {
14
- Search
15
- } from "./chunk-JIULUYHT.js";
16
- import {
17
- AgentDisclosure
18
- } from "./chunk-HFQTI7AX.js";
19
- import {
20
- Wrench
21
- } from "./chunk-O2DUZJYK.js";
22
- import {
23
- AnimatePresence,
24
- useReducedMotion
25
- } from "./chunk-ZJFA4F5X.js";
26
- import {
27
- EASE_OUT,
28
- SPRING_LAYOUT,
29
- SPRING_SWAP,
30
- m
31
- } from "./chunk-K3BXQG3N.js";
32
- import "./chunk-FAGDMGLK.js";
33
- import {
34
- isSafeExternalUrl
35
- } from "./chunk-L46H6IDX.js";
36
- import {
37
- ChevronDown
38
- } from "./chunk-WWJF4RO2.js";
39
- import {
40
- Check
41
- } from "./chunk-4QD4PCVP.js";
42
- import {
43
- FileText
44
- } from "./chunk-AR7O7JXD.js";
45
- import {
46
- SquareTerminal
47
- } from "./chunk-X7D6GFQU.js";
48
- import {
49
- createLucideIcon
50
- } from "./chunk-4ZIEVI5O.js";
51
- import {
52
- cn
53
- } from "./chunk-DJMHPJBP.js";
54
- import "./chunk-JDCCC7A7.js";
55
- import "./chunk-MLKGABMK.js";
56
-
57
- // web/app/dist/server/assets/agent-activity-CS2rbF_C.js
58
- import { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
59
- import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
60
- var Circle = createLucideIcon("circle", [["circle", {
61
- cx: "12",
62
- cy: "12",
63
- r: "10",
64
- key: "1mglay"
65
- }]]);
66
- var PencilLine = createLucideIcon("pencil-line", [
67
- ["path", {
68
- d: "M13 21h8",
69
- key: "1jsn5i"
70
- }],
71
- ["path", {
72
- d: "m15 5 4 4",
73
- key: "1mk7zo"
74
- }],
75
- ["path", {
76
- d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
77
- key: "1a8usu"
78
- }]
79
- ]);
80
- var TEXT_SHIMMER_KEYFRAMES = "@keyframes beui-text-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion: reduce){.beui-text-shimmer{animation:none !important}}";
81
- var TEXT_SHIMMER_CLASS_NAME = "beui-text-shimmer bg-[length:200%_100%] bg-clip-text text-transparent bg-[linear-gradient(110deg,var(--muted-foreground)_30%,var(--foreground)_50%,var(--muted-foreground)_70%)]";
82
- function textShimmerStyle(duration) {
83
- return { animation: `beui-text-shimmer ${duration}s linear infinite` };
84
- }
85
- function TextShimmer({ children, as: Comp = "span", duration = 2.5, className }) {
86
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("style", { children: TEXT_SHIMMER_KEYFRAMES }), /* @__PURE__ */ jsx(Comp, {
87
- style: textShimmerStyle(duration),
88
- className: cn("inline-block", TEXT_SHIMMER_CLASS_NAME, className),
89
- children
90
- })] });
91
- }
92
- function ThinkingShimmer({ children = "Thinking\u2026", duration = 1.8, className }) {
93
- return /* @__PURE__ */ jsx(TextShimmer, {
94
- as: "span",
95
- duration,
96
- className: cn("font-medium", className),
97
- children
98
- });
99
- }
100
- function StepRow({ item }) {
101
- const state = item.status ?? "complete";
102
- return /* @__PURE__ */ jsxs("div", {
103
- className: "flex min-h-7 items-start gap-2.5 rounded-md px-1.5 py-1",
104
- children: [
105
- /* @__PURE__ */ jsx("span", {
106
- "aria-hidden": "true",
107
- className: "mt-0.5 grid size-4 shrink-0 place-items-center text-muted-foreground/70",
108
- children: state === "complete" ? /* @__PURE__ */ jsx(Check, {
109
- className: "size-4",
110
- strokeWidth: 1.8
111
- }) : state === "active" ? /* @__PURE__ */ jsxs("span", {
112
- className: "relative grid size-3 place-items-center",
113
- children: [/* @__PURE__ */ jsx(m.span, {
114
- className: "absolute inset-0 rounded-full bg-foreground/10",
115
- animate: { opacity: [
116
- 0.35,
117
- 0.8,
118
- 0.35
119
- ] },
120
- transition: {
121
- duration: 1.5,
122
- repeat: Number.POSITIVE_INFINITY
123
- }
124
- }), /* @__PURE__ */ jsx("span", { className: "size-1.5 rounded-full bg-foreground/60" })]
125
- }) : /* @__PURE__ */ jsx(Circle, {
126
- className: "size-3",
127
- strokeWidth: 1.5
128
- })
129
- }),
130
- /* @__PURE__ */ jsx("span", {
131
- className: cn("min-w-0 flex-1 leading-5", state === "pending" ? "text-muted-foreground/55" : "text-foreground/90"),
132
- children: item.label
133
- }),
134
- item.meta ? /* @__PURE__ */ jsx("span", {
135
- className: "shrink-0 leading-5 text-muted-foreground/55",
136
- children: item.meta
137
- }) : null
138
- ]
139
- });
140
- }
141
- function TextRow({ item }) {
142
- return /* @__PURE__ */ jsx("div", {
143
- className: "rounded-md px-1.5 py-1 leading-5 text-muted-foreground",
144
- children: item.content
145
- });
146
- }
147
- function SearchResultRow({ result }) {
148
- const safeUrl = result.url && isSafeExternalUrl(result.url) ? result.url : void 0;
149
- const content = /* @__PURE__ */ jsxs(Fragment$1, { children: [
150
- /* @__PURE__ */ jsx("span", {
151
- "aria-hidden": "true",
152
- className: "grid size-5 shrink-0 place-items-center text-muted-foreground",
153
- children: result.icon ?? /* @__PURE__ */ jsx(Earth, {
154
- className: "size-3",
155
- strokeWidth: 2
156
- })
157
- }),
158
- /* @__PURE__ */ jsx("span", {
159
- className: "min-w-0 truncate font-medium text-foreground/90",
160
- children: result.title
161
- }),
162
- result.domain ? /* @__PURE__ */ jsx("span", {
163
- className: "min-w-0 truncate text-muted-foreground/55",
164
- children: result.domain
165
- }) : null
166
- ] });
167
- const className = cn("flex min-h-7 items-center gap-2 rounded-md px-1.5 py-1 text-left outline-none transition-colors", safeUrl && "focus-visible:ring-2 focus-visible:ring-ring");
168
- return safeUrl ? /* @__PURE__ */ jsx("a", {
169
- href: safeUrl,
170
- className,
171
- children: content
172
- }) : /* @__PURE__ */ jsx("div", {
173
- className,
174
- children: content
175
- });
176
- }
177
- function SearchRow({ item }) {
178
- const reduce = useReducedMotion() ?? false;
179
- const enter = reduce ? { opacity: 1 } : {
180
- opacity: 0,
181
- y: 6
182
- };
183
- const visible = {
184
- opacity: 1,
185
- y: 0
186
- };
187
- const exit = reduce ? { opacity: 0 } : {
188
- opacity: 0,
189
- y: -3
190
- };
191
- const transition = reduce ? { duration: 0 } : {
192
- opacity: {
193
- duration: 0.18,
194
- ease: EASE_OUT
195
- },
196
- y: SPRING_LAYOUT,
197
- layout: SPRING_LAYOUT
198
- };
199
- return /* @__PURE__ */ jsxs("div", {
200
- className: "space-y-0.5",
201
- children: [
202
- /* @__PURE__ */ jsxs("div", {
203
- className: "flex min-h-7 items-center gap-2.5 rounded-md px-1.5 py-1 text-muted-foreground",
204
- children: [/* @__PURE__ */ jsx(Search, {
205
- "aria-hidden": "true",
206
- className: "size-4 shrink-0",
207
- strokeWidth: 1.7
208
- }), /* @__PURE__ */ jsx("span", {
209
- className: "min-w-0 truncate",
210
- children: item.query
211
- })]
212
- }),
213
- item.results?.length ? /* @__PURE__ */ jsx("div", {
214
- className: "space-y-0.5 pl-4",
215
- children: /* @__PURE__ */ jsx(AnimatePresence, {
216
- initial: true,
217
- mode: "popLayout",
218
- children: item.results.map((result) => /* @__PURE__ */ jsx(m.div, {
219
- layout: "position",
220
- initial: enter,
221
- animate: visible,
222
- exit,
223
- transition,
224
- children: /* @__PURE__ */ jsx(SearchResultRow, { result })
225
- }, result.id))
226
- })
227
- }) : null,
228
- /* @__PURE__ */ jsx(AnimatePresence, {
229
- initial: true,
230
- children: item.moreCount ? /* @__PURE__ */ jsxs(m.div, {
231
- initial: enter,
232
- animate: visible,
233
- exit,
234
- transition,
235
- className: "px-1.5 py-1 pl-8 text-muted-foreground/55",
236
- children: [
237
- "+",
238
- item.moreCount,
239
- " more"
240
- ]
241
- }, "more-results") : null
242
- })
243
- ]
244
- });
245
- }
246
- function ActionIcon({ action }) {
247
- if (action === "read") return /* @__PURE__ */ jsx(FileText, { className: "size-4" });
248
- if (action === "edit" || action === "write") return /* @__PURE__ */ jsx(PencilLine, { className: "size-4" });
249
- if (action === "run") return /* @__PURE__ */ jsx(SquareTerminal, { className: "size-4" });
250
- return /* @__PURE__ */ jsx(Wrench, { className: "size-4" });
251
- }
252
- function ActivityAction({ action }) {
253
- return /* @__PURE__ */ jsx("button", {
254
- type: "button",
255
- "aria-label": action.ariaLabel ?? action.label,
256
- onClick: action.onClick,
257
- className: "shrink-0 rounded-md px-1.5 py-1 text-[0.625rem] font-medium text-primary outline-none hover:bg-primary/10 focus-visible:ring-2 focus-visible:ring-ring",
258
- children: action.label
259
- });
260
- }
261
- function ToolRow({ item }) {
262
- const action = item.action.charAt(0).toUpperCase() + item.action.slice(1);
263
- const hasChanges = typeof item.additions === "number" || typeof item.deletions === "number";
264
- return /* @__PURE__ */ jsxs("div", {
265
- className: "grid min-h-8 min-w-0 grid-cols-[1rem_auto_minmax(0,1fr)_auto] items-center gap-2.5 rounded-md px-1.5 py-0.5 leading-5",
266
- children: [
267
- /* @__PURE__ */ jsx("span", {
268
- "aria-hidden": "true",
269
- className: "grid size-4 shrink-0 place-items-center text-muted-foreground/70",
270
- children: /* @__PURE__ */ jsx(ActionIcon, { action: item.action })
271
- }),
272
- /* @__PURE__ */ jsx("span", {
273
- className: "shrink-0 font-medium text-foreground/90",
274
- children: action
275
- }),
276
- /* @__PURE__ */ jsx("span", {
277
- className: "min-w-0 flex-1 truncate rounded-lg bg-muted/80 px-2.5 py-1 font-mono text-xs text-muted-foreground/70",
278
- children: item.target
279
- }),
280
- hasChanges || item.openAction ? /* @__PURE__ */ jsxs("div", {
281
- className: "flex shrink-0 items-center gap-2",
282
- children: [hasChanges ? /* @__PURE__ */ jsxs("span", {
283
- className: "flex items-center gap-2 font-mono tabular-nums",
284
- children: [typeof item.additions === "number" ? /* @__PURE__ */ jsxs("span", {
285
- className: "text-emerald-500",
286
- children: ["+", item.additions]
287
- }) : null, typeof item.deletions === "number" ? /* @__PURE__ */ jsxs("span", {
288
- className: "text-rose-500",
289
- children: ["\u2212", item.deletions]
290
- }) : null]
291
- }) : null, item.openAction ? /* @__PURE__ */ jsx(ActivityAction, { action: item.openAction }) : null]
292
- }) : null
293
- ]
294
- });
295
- }
296
- function TraceIcon({ kind }) {
297
- if (kind === "thinking") return /* @__PURE__ */ jsx(Sparkles, { className: "size-4" });
298
- if (kind === "message") return /* @__PURE__ */ jsx(MessageSquare, { className: "size-4" });
299
- if (kind === "write") return /* @__PURE__ */ jsx(PencilLine, { className: "size-4" });
300
- if (kind === "run") return /* @__PURE__ */ jsx(SquareTerminal, { className: "size-4" });
301
- if (kind === "read") return /* @__PURE__ */ jsx(Image, { className: "size-4" });
302
- return /* @__PURE__ */ jsx(Wrench, { className: "size-4" });
303
- }
304
- function TraceRow({ item }) {
305
- const thinking = item.kind === "thinking";
306
- return /* @__PURE__ */ jsxs("div", {
307
- className: cn("grid min-h-8 grid-cols-[1rem_auto_minmax(0,1fr)_auto] gap-2.5 rounded-md px-1.5 py-0.5", thinking ? "items-start" : "items-center"),
308
- children: [
309
- /* @__PURE__ */ jsx("span", {
310
- "aria-hidden": "true",
311
- className: "grid size-4 place-items-center text-muted-foreground/70",
312
- children: item.icon ?? /* @__PURE__ */ jsx(TraceIcon, { kind: item.kind })
313
- }),
314
- /* @__PURE__ */ jsx("span", {
315
- className: "min-w-0 truncate font-medium text-foreground/90",
316
- children: item.label
317
- }),
318
- item.detail ? /* @__PURE__ */ jsx("span", {
319
- className: cn("min-w-0 rounded-lg bg-muted/80 px-2.5 py-1 font-mono text-xs text-muted-foreground/70", thinking ? "max-h-40 overflow-y-auto whitespace-pre-wrap break-words" : "truncate"),
320
- children: item.detail
321
- }) : /* @__PURE__ */ jsx("span", {}),
322
- item.action ? /* @__PURE__ */ jsx(ActivityAction, { action: item.action }) : null
323
- ]
324
- });
325
- }
326
- function ActivityRow({ item }) {
327
- if (item.type === "text") return /* @__PURE__ */ jsx(TextRow, { item });
328
- if (item.type === "search") return /* @__PURE__ */ jsx(SearchRow, { item });
329
- if (item.type === "tool") return /* @__PURE__ */ jsx(ToolRow, { item });
330
- if (item.type === "trace") return /* @__PURE__ */ jsx(TraceRow, { item });
331
- return /* @__PURE__ */ jsx(StepRow, { item });
332
- }
333
- function formatDuration(duration) {
334
- const seconds = Math.max(0, Math.round(duration));
335
- if (seconds < 60) return `${seconds}s`;
336
- const minutes = Math.floor(seconds / 60);
337
- const remainder = seconds % 60;
338
- return remainder === 0 ? `${minutes}m` : `${minutes}m ${remainder}s`;
339
- }
340
- function useControllableOpen({ open, defaultOpen, onOpenChange }) {
341
- const [internalOpen, setInternalOpen] = useState(defaultOpen);
342
- const controlled = open !== void 0;
343
- return [open ?? internalOpen, useCallback((next) => {
344
- if (!controlled) setInternalOpen(next);
345
- onOpenChange?.(next);
346
- }, [controlled, onOpenChange])];
347
- }
348
- function getContentType(items) {
349
- const first = items[0]?.type;
350
- return first && items.every((item) => item.type === first) ? first : "mixed";
351
- }
352
- function getActiveLabel(type) {
353
- if (type === "search") return "Searching the web\u2026";
354
- if (type === "tool") return "Running tools\u2026";
355
- if (type === "trace") return "Working through the run\u2026";
356
- if (type === "mixed") return "Working through it\u2026";
357
- return "Thinking\u2026";
358
- }
359
- function getSummary(type, items, duration) {
360
- if (type === "step" || type === "text") return /* @__PURE__ */ jsxs(Fragment$1, { children: ["Thought for ", /* @__PURE__ */ jsx("span", {
361
- className: "tabular-nums",
362
- children: formatDuration(duration)
363
- })] });
364
- if (type === "search") return "Searched the web";
365
- if (type === "tool") return `Ran ${items.length} ${items.length === 1 ? "tool" : "tools"}`;
366
- if (type === "trace") {
367
- const messages = items.filter((item) => item.type === "trace" && (item.kind === "thinking" || item.kind === "message")).length;
368
- const tools = items.length - messages;
369
- return `${tools} ${tools === 1 ? "tool call" : "tool calls"}, ${messages} ${messages === 1 ? "message" : "messages"}`;
370
- }
371
- return `Completed ${items.length} ${items.length === 1 ? "step" : "steps"}`;
372
- }
373
- function AgentActivity({ items, contentType: initialContentType, status = "working", duration = 0, open, defaultOpen = false, onOpenChange, collapseOnComplete = true, activeLabel, summary, renderWorkingStatus, renderCompletedStatus, maxHeight = 208, className, contentClassName }) {
374
- const reduce = useReducedMotion() ?? false;
375
- const baseId = useId();
376
- const triggerId = `${baseId}-trigger`;
377
- const contentId = `${baseId}-content`;
378
- const contentRef = useRef(null);
379
- const viewportRef = useRef(null);
380
- const previousStatus = useRef(status);
381
- const [contentHeight, setContentHeight] = useState(0);
382
- const [currentOpen, setOpen] = useControllableOpen({
383
- open,
384
- defaultOpen,
385
- onOpenChange
386
- });
387
- const working = status === "working";
388
- const expanded = working || currentOpen;
389
- const contentType = items.length ? getContentType(items) : initialContentType ?? "mixed";
390
- const viewportHeight = working ? Math.max(0, maxHeight) : Math.min(contentHeight, Math.max(0, maxHeight));
391
- const capped = contentHeight > maxHeight;
392
- const streamOffset = working ? Math.min(0, viewportHeight - contentHeight) : 0;
393
- useLayoutEffect(() => {
394
- const node = contentRef.current;
395
- if (!node) return;
396
- const measure = () => setContentHeight(node.offsetHeight);
397
- measure();
398
- if (typeof ResizeObserver === "undefined") return;
399
- const observer = new ResizeObserver(measure);
400
- observer.observe(node);
401
- return () => observer.disconnect();
402
- }, []);
403
- useEffect(() => {
404
- if (previousStatus.current === "working" && status === "complete") setOpen(!collapseOnComplete);
405
- previousStatus.current = status;
406
- }, [
407
- collapseOnComplete,
408
- setOpen,
409
- status
410
- ]);
411
- const toggle = () => {
412
- const next = !currentOpen;
413
- setOpen(next);
414
- if (next) requestAnimationFrame(() => viewportRef.current?.scrollTo({ top: 0 }));
415
- };
416
- const liveLabel = activeLabel ?? getActiveLabel(contentType);
417
- const completedSummary = summary ?? getSummary(contentType, items, duration);
418
- const maskImage = capped ? working ? "linear-gradient(to bottom, transparent, black 12px)" : "linear-gradient(to bottom, transparent, black 12px, black calc(100% - 12px), transparent)" : void 0;
419
- return /* @__PURE__ */ jsxs("div", {
420
- "data-state": working ? "working" : expanded ? "open" : "closed",
421
- "data-content": contentType,
422
- "aria-busy": working,
423
- className: cn("w-full text-sm", className),
424
- children: [working ? /* @__PURE__ */ jsx("div", {
425
- id: triggerId,
426
- role: "status",
427
- className: "flex h-7 min-w-0 items-center text-muted-foreground",
428
- children: renderWorkingStatus ? renderWorkingStatus({
429
- label: liveLabel,
430
- duration
431
- }) : /* @__PURE__ */ jsx(ThinkingShimmer, { children: liveLabel })
432
- }) : /* @__PURE__ */ jsxs("button", {
433
- id: triggerId,
434
- type: "button",
435
- "aria-expanded": expanded,
436
- "aria-controls": contentId,
437
- onClick: toggle,
438
- className: "group flex h-7 min-w-0 items-center gap-1.5 rounded-md text-left font-medium text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
439
- children: [/* @__PURE__ */ jsx("span", {
440
- className: "truncate",
441
- children: renderCompletedStatus ? renderCompletedStatus({
442
- summary: completedSummary,
443
- duration
444
- }) : completedSummary
445
- }), /* @__PURE__ */ jsx(m.span, {
446
- "aria-hidden": "true",
447
- animate: { rotate: expanded ? 180 : 0 },
448
- transition: reduce ? { duration: 0 } : SPRING_SWAP,
449
- className: "inline-flex shrink-0 text-muted-foreground/70 group-hover:text-foreground",
450
- children: /* @__PURE__ */ jsx(ChevronDown, { className: "size-3.5" })
451
- })]
452
- }), /* @__PURE__ */ jsx(AgentDisclosure, {
453
- id: contentId,
454
- role: "region",
455
- "aria-labelledby": triggerId,
456
- open: expanded,
457
- openHeight: viewportHeight,
458
- children: /* @__PURE__ */ jsx("div", {
459
- ref: viewportRef,
460
- className: cn("scrollbar-hide pr-1", capped && expanded && !working ? "overflow-y-auto" : "overflow-y-hidden"),
461
- style: {
462
- height: viewportHeight,
463
- maskImage,
464
- WebkitMaskImage: maskImage
465
- },
466
- children: /* @__PURE__ */ jsx(m.div, {
467
- ref: contentRef,
468
- role: "list",
469
- initial: false,
470
- animate: { y: streamOffset },
471
- transition: reduce ? { duration: 0 } : SPRING_LAYOUT,
472
- className: cn("space-y-0.5 py-2", contentClassName),
473
- children: /* @__PURE__ */ jsx(AnimatePresence, {
474
- mode: "popLayout",
475
- children: items.map((item) => /* @__PURE__ */ jsx(m.div, {
476
- layout: "position",
477
- role: "listitem",
478
- initial: reduce ? { opacity: 1 } : {
479
- opacity: 0,
480
- y: 6
481
- },
482
- animate: {
483
- opacity: 1,
484
- y: 0
485
- },
486
- exit: reduce ? { opacity: 0 } : {
487
- opacity: 0,
488
- y: -3
489
- },
490
- transition: reduce ? { duration: 0 } : {
491
- opacity: {
492
- duration: 0.18,
493
- ease: EASE_OUT
494
- },
495
- y: SPRING_LAYOUT,
496
- layout: SPRING_LAYOUT
497
- },
498
- children: /* @__PURE__ */ jsx(ActivityRow, { item })
499
- }, item.id))
500
- })
501
- })
502
- })
503
- })]
504
- });
505
- }
506
- export {
507
- AgentActivity
508
- };
509
- /**
510
- * @license lucide-react v1.38.0 - ISC
511
- *
512
- * This source code is licensed under the ISC license.
513
- * See the LICENSE file in the root directory of this source tree.
514
- */
@@ -1,35 +0,0 @@
1
- import {
2
- createLucideIcon
3
- } from "./chunk-4ZIEVI5O.js";
4
-
5
- // web/app/dist/server/assets/sparkles-CVdEO6eO.js
6
- var Sparkles = createLucideIcon("sparkles", [
7
- ["path", {
8
- d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",
9
- key: "1s2grr"
10
- }],
11
- ["path", {
12
- d: "M20 2v4",
13
- key: "1rf3ol"
14
- }],
15
- ["path", {
16
- d: "M22 4h-4",
17
- key: "gwowj6"
18
- }],
19
- ["circle", {
20
- cx: "4",
21
- cy: "20",
22
- r: "2",
23
- key: "6kqj1y"
24
- }]
25
- ]);
26
-
27
- export {
28
- Sparkles
29
- };
30
- /**
31
- * @license lucide-react v1.38.0 - ISC
32
- *
33
- * This source code is licensed under the ISC license.
34
- * See the LICENSE file in the root directory of this source tree.
35
- */
@@ -1,56 +0,0 @@
1
- import {
2
- CircleX
3
- } from "./chunk-ON33WDZX.js";
4
- import {
5
- CircleCheck,
6
- LoaderCircle
7
- } from "./chunk-TNL4YV63.js";
8
- import {
9
- CircleAlert
10
- } from "./chunk-ZCVWADNW.js";
11
- import {
12
- createLucideIcon
13
- } from "./chunk-4ZIEVI5O.js";
14
-
15
- // web/app/dist/server/assets/subagent-utils-ANFO0Nfh.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.38.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
- */
@@ -1,86 +0,0 @@
1
- import {
2
- orderedRlmChildren,
3
- rlmStatusIcon
4
- } from "./chunk-42XU6WV7.js";
5
- import {
6
- CircleCheck,
7
- LoaderCircle
8
- } from "./chunk-TNL4YV63.js";
9
- import {
10
- ChevronDown
11
- } from "./chunk-WWJF4RO2.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-CpSYzCIq.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-[0.625rem] 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-[0.625rem] 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
- };