@qredence/fleet 0.6.1 → 0.6.3

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 (280) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/web/client/assets/DialogTitle-DiAm7YNe.js +1 -0
  3. package/dist/web/client/assets/agent-disclosure-CMrxF7L-.js +1 -0
  4. package/dist/web/client/assets/alert-dialog-CYE37KMM.js +1 -0
  5. package/dist/web/client/assets/analytics-stub-C2vgmGm_.js +1 -0
  6. package/dist/web/client/assets/artifacts-panel-ClDpGWOU.js +1 -0
  7. package/dist/web/client/assets/{bot-Bs7QWJ2q.js → bot-DbB9BKL0.js} +1 -1
  8. package/dist/web/client/assets/bundle-mjs-cJTHqqzI.js +1 -0
  9. package/dist/web/client/assets/button-Dl0ce3Y5.js +1 -0
  10. package/dist/web/client/assets/{card-DA3Vnqay.js → card-DCEnYd2G.js} +1 -1
  11. package/dist/web/client/assets/chat-BVMnC5Qh.js +52 -0
  12. package/dist/web/client/assets/chat-command-palette-YuyaJNbi.js +1 -0
  13. package/dist/web/client/assets/check-B3LlvM65.js +1 -0
  14. package/dist/web/client/assets/{chevron-down-BEVGmnSb.js → chevron-down-DUUprRP5.js} +1 -1
  15. package/dist/web/client/assets/chevron-right-NVqQIoiO.js +1 -0
  16. package/dist/web/client/assets/{chunk-YOKDWASO-BAf618wr.js → chunk-YOKDWASO-Bte3iwlH.js} +6 -6
  17. package/dist/web/client/assets/citations-DXqV2NLy.js +1 -0
  18. package/dist/web/client/assets/collapsible-CUxOjhDJ.js +1 -0
  19. package/dist/web/client/assets/command-Cw4X8Bpk.js +1 -0
  20. package/dist/web/client/assets/createBaseUIEventDetails-B58Jldei.js +1 -0
  21. package/dist/web/client/assets/createLucideIcon-_dfI7Arx.js +1 -0
  22. package/dist/web/client/assets/dialog-BzcIOvFC.js +1 -0
  23. package/dist/web/client/assets/dist-52wg4XPY.js +1 -0
  24. package/dist/web/client/assets/dist-DbHxXSgQ.js +41 -0
  25. package/dist/web/client/assets/ease-CMumuPlX.js +1 -0
  26. package/dist/web/client/assets/{eye-B0DFz5hL.js → eye-CDHqtVoE.js} +1 -1
  27. package/dist/web/client/assets/file-text-TmalmYrb.js +1 -0
  28. package/dist/web/client/assets/{folder-BC5p7qK7.js → folder-vuNT4shY.js} +1 -1
  29. package/dist/web/client/assets/{fork-picker-dialog-B7NNpVmW.js → fork-picker-dialog-BYRr-xTy.js} +1 -1
  30. package/dist/web/client/assets/gauge-BsDqNM1A.js +1 -0
  31. package/dist/web/client/assets/git-branch-CTq9aACS.js +1 -0
  32. package/dist/web/client/assets/globals-BtCXZXL_.css +2 -0
  33. package/dist/web/client/assets/{hard-drive-CHqgr7VQ.js → hard-drive-BT7UxHQu.js} +1 -1
  34. package/dist/web/client/assets/highlighted-body-KPVGNVTW-CgT7gqvs.js +1 -0
  35. package/dist/web/client/assets/horizontal-resize-VLjLByUV.js +1 -0
  36. package/dist/web/client/assets/index-B9aXxpOv.js +12 -0
  37. package/dist/web/client/assets/input-CxZp56Im.js +1 -0
  38. package/dist/web/client/assets/input-group-D7lAfKHR.js +1 -0
  39. package/dist/web/client/assets/ipython-tool-CkHaO3PW.js +3 -0
  40. package/dist/web/client/assets/is-ref-object-BcRWZ4l7.js +1 -0
  41. package/dist/web/client/assets/{loader-circle-DjfHXUPB.js → loader-circle-B5GIZGxd.js} +1 -1
  42. package/dist/web/client/assets/markdown-BHkByC9K.js +2 -0
  43. package/dist/web/client/assets/{markdown-code-xNyjdZ4g.js → markdown-code-CDTRq-HZ.js} +1 -1
  44. package/dist/web/client/assets/mermaid-HWGCJPDP-CY3N5ECk.js +1 -0
  45. package/dist/web/client/assets/message-queue-Dl8wbCOu.js +1 -0
  46. package/dist/web/client/assets/model-selector-list-CHD8lMAl.js +1 -0
  47. package/dist/web/client/assets/{notify-DxL0VD7Z.js → notify-DjVixft7.js} +1 -1
  48. package/dist/web/client/assets/{openui-renderer-TLNe5e_Q.js → openui-renderer-C4e9FOVR.js} +38 -38
  49. package/dist/web/client/assets/{package-CdcJFPf2.js → package-BKBPgwMP.js} +1 -1
  50. package/dist/web/client/assets/{pencil-DcUwsKLn.js → pencil-CdO6qfv3.js} +1 -1
  51. package/dist/web/client/assets/{plug-Dt6VN0zF.js → plug-BRROUIw-.js} +1 -1
  52. package/dist/web/client/assets/prompt-input-WaGSKZCU.js +1 -0
  53. package/dist/web/client/assets/prompt-suggestions-BNyTcyWg.js +1 -0
  54. package/dist/web/client/assets/provider-catalog-ClVvphe0.js +1 -0
  55. package/dist/web/client/assets/provider-label-CwZ-KDxk.js +1 -0
  56. package/dist/web/client/assets/react-CwJFpaho.js +1 -0
  57. package/dist/web/client/assets/react-dom-DX3XddaT.js +1 -0
  58. package/dist/web/client/assets/{refresh-cw-IThTJ3j-.js → refresh-cw-l9WPHRkq.js} +1 -1
  59. package/dist/web/client/assets/repl-panel-L9dmPqio.js +1 -0
  60. package/dist/web/client/assets/{resource-helpers-Q2T0YCMO.js → resource-helpers-BuWybA8l.js} +1 -1
  61. package/dist/web/client/assets/resources-panel-mT-aMCvV.js +1 -0
  62. package/dist/web/client/assets/right-panel-context-CS8tJMzE.js +1 -0
  63. package/dist/web/client/assets/right-panel-registry-BnYCffmM.js +2 -0
  64. package/dist/web/client/assets/{rotate-ccw-WNFNkKQD.js → rotate-ccw-CfGhzOv7.js} +1 -1
  65. package/dist/web/client/assets/routes-DUontXSG.js +16 -0
  66. package/dist/web/client/assets/safe-external-url-BbAom7Bm.js +1 -0
  67. package/dist/web/client/assets/search-BjcXAUrI.js +1 -0
  68. package/dist/web/client/assets/session-insights-panel-B0rl37lo.js +1 -0
  69. package/dist/web/client/assets/session-reasoning-panel-8D2P7iaJ.js +1 -0
  70. package/dist/web/client/assets/session-tool-renderer-Bd3dsE2D.js +1395 -0
  71. package/dist/web/client/assets/session-tree-panel-CM4_wwrM.js +1 -0
  72. package/dist/web/client/assets/settings-dialog-DMTD9m6z.js +2 -0
  73. package/dist/web/client/assets/{skeleton-CkR2VmWc.js → skeleton-C3mo31Qu.js} +1 -1
  74. package/dist/web/client/assets/skeleton-loaders-BMa_G4yX.js +1 -0
  75. package/dist/web/client/assets/sparkles-BY5MFyk6.js +1 -0
  76. package/dist/web/client/assets/square-DQaQu9bp.js +1 -0
  77. package/dist/web/client/assets/{square-terminal-BYTN_I86.js → square-terminal-BsopiuN7.js} +1 -1
  78. package/dist/web/client/assets/{subagent-chat-panel-oeLDPDAK.js → subagent-chat-panel-BESrXxAR.js} +1 -1
  79. package/dist/web/client/assets/subagent-transcript-CAqFJfMj.js +1 -0
  80. package/dist/web/client/assets/subagents-panel-8aKOwWLs.js +1 -0
  81. package/dist/web/client/assets/{sun-BWiZFty0.js → sun-D0llhiMU.js} +1 -1
  82. package/dist/web/client/assets/surfaces-CpfsGAIA.js +1 -0
  83. package/dist/web/client/assets/switch-D3FhZU-S.js +1 -0
  84. package/dist/web/client/assets/terminal-BQAKkBY6.js +1 -0
  85. package/dist/web/client/assets/toast-lnCWGgSE.js +1 -0
  86. package/dist/web/client/assets/tokens-Ch5WqXC_.js +1 -0
  87. package/dist/web/client/assets/tool-result-B_yb2JoE.js +4 -0
  88. package/dist/web/client/assets/tool-timeline-VnMRQoLS.js +1 -0
  89. package/dist/web/client/assets/{triangle-alert-CU-gd7ui.js → triangle-alert-GAYh_5d3.js} +1 -1
  90. package/dist/web/client/assets/ui-preferences-aG2U2jjW.js +1 -0
  91. package/dist/web/client/assets/use-presence-7I2qv4qI.js +1 -0
  92. package/dist/web/client/assets/use-reduced-motion-BOcG709U.js +9 -0
  93. package/dist/web/client/assets/useBaseUiId-D9ZGPZ6f.js +1 -0
  94. package/dist/web/client/assets/useControlled-CgAAWIy9.js +1 -0
  95. package/dist/web/client/assets/utils-Brtgag-m.js +1 -0
  96. package/dist/web/client/assets/virtualized-turn-list-mL3ONUUA.js +6 -0
  97. package/dist/web/client/assets/workspace-panel-CKF5JQl2.js +1 -0
  98. package/dist/web/client/assets/workspace-path-nav-DqPbETfJ.js +2 -0
  99. package/dist/web/client/assets/{wrench-BJNNe07k.js → wrench-Myc12BTA.js} +1 -1
  100. package/dist/web/client/assets/x-BGsDD848.js +1 -0
  101. package/dist/web/client/bundle-budget.json +6 -6
  102. package/dist/web/server/_tanstack-start-manifest_v-Cm8xE-Rb-TMLYN3GY.js +93 -0
  103. package/dist/web/server/{artifacts-panel-D3ySO--V-XSL53CXL.js → artifacts-panel-CwLVBqyi-CDORJY75.js} +37 -41
  104. package/dist/web/server/{chat-command-palette-kAbXhWVg-TJWXH2WW.js → chat-command-palette-DUha04ia-5OV7WVJZ.js} +20 -18
  105. package/dist/web/server/{chunk-SALXCFVO.js → chunk-33QA7BQJ.js} +19 -1
  106. package/dist/web/server/chunk-3Q3QKLHC.js +386 -0
  107. package/dist/web/server/chunk-4EBSM4JR.js +74 -0
  108. package/dist/web/server/{chunk-5UCAJBAH.js → chunk-5RTGRTPD.js} +82 -49
  109. package/dist/web/server/chunk-7E76R7MB.js +2138 -0
  110. package/dist/web/server/{chunk-EBG3XFGQ.js → chunk-7FK6YEMA.js} +49 -44
  111. package/dist/web/server/chunk-7HXCGBUP.js +56 -0
  112. package/dist/web/server/{chunk-P66QQWUM.js → chunk-7NZ3FJDA.js} +14 -1
  113. package/dist/web/server/{chunk-HF7DG7PC.js → chunk-7UTDOTOU.js} +80 -78
  114. package/dist/web/server/{chunk-NNKJTKOQ.js → chunk-ADYZWC5L.js} +311 -281
  115. package/dist/web/server/{chunk-NJ4QEZHK.js → chunk-B2LF64HM.js} +7 -5
  116. package/dist/web/server/{chunk-OZO5ARFA.js → chunk-BQROC4PL.js} +11 -2
  117. package/dist/web/server/{chunk-NIZBFVJF.js → chunk-CAPTFJOC.js} +9 -7
  118. package/dist/web/server/{chunk-DJMHPJBP.js → chunk-CHEC7TWB.js} +3 -1
  119. package/dist/web/server/chunk-DLA5TLKX.js +164 -0
  120. package/dist/web/server/{chunk-PLYZ7P2Y.js → chunk-DP26GVWH.js} +43 -5
  121. package/dist/web/server/{chunk-MNBGB2SP.js → chunk-E5HALE4M.js} +4 -4
  122. package/dist/web/server/chunk-ETCO5KZK.js +113 -0
  123. package/dist/web/server/{chunk-NGCQJ33Y.js → chunk-FMAYMBRS.js} +1492 -1640
  124. package/dist/web/server/{chunk-KP2PNDGL.js → chunk-FTLJ66KU.js} +30 -33
  125. package/dist/web/server/{chunk-BLSX7WHW.js → chunk-H5D5DX3K.js} +23 -21
  126. package/dist/web/server/chunk-HGVJEUV4.js +102 -0
  127. package/dist/web/server/{chunk-WNCAL4HN.js → chunk-HQ5TEXHT.js} +132 -152
  128. package/dist/web/server/{chunk-YOM42BKD.js → chunk-IPV4GLJL.js} +16 -16
  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-O3HDELZ2.js → chunk-KZ35W5M7.js} +667 -661
  132. package/dist/web/server/{chunk-QIULBRTU.js → chunk-MJXXVQNA.js} +79 -84
  133. package/dist/web/server/{chunk-EAJTWMK5.js → chunk-NZ6KQT2X.js} +2 -2
  134. package/dist/web/server/{chunk-YGYOBX7G.js → chunk-O2IC376F.js} +1811 -53
  135. package/dist/web/server/chunk-OMPXUTMX.js +33 -0
  136. package/dist/web/server/{chunk-S3PQ6HKH.js → chunk-OVJYUWSQ.js} +2 -2
  137. package/dist/web/server/{chunk-JTCCQZLN.js → chunk-RJNGEU6C.js} +2 -2
  138. package/dist/web/server/{chunk-UCUFC553.js → chunk-RXUMFFUV.js} +3 -3
  139. package/dist/web/server/{chunk-DLUZFOG3.js → chunk-S2IBIJIG.js} +18 -22
  140. package/dist/web/server/{chunk-DO2O27B2.js → chunk-SDV3P3IW.js} +2 -2
  141. package/dist/web/server/{chunk-2DDWXTVG.js → chunk-T2UTBHJ4.js} +55 -11
  142. package/dist/web/server/chunk-TLNZNR7C.js +46 -0
  143. package/dist/web/server/{chunk-UL2725KQ.js → chunk-TR2GA5OF.js} +57 -49
  144. package/dist/web/server/{chunk-QFRCJWQQ.js → chunk-TU2WNRAL.js} +93 -32
  145. package/dist/web/server/{chunk-FYDQK6UX.js → chunk-UDD5W4CR.js} +32 -10
  146. package/dist/web/server/{chunk-MNPHMZU7.js → chunk-UE32PAV2.js} +47 -57
  147. package/dist/web/server/{chunk-3TIMGWWI.js → chunk-UM3RHJNZ.js} +2 -2
  148. package/dist/web/server/{chunk-ZIFSJ3HQ.js → chunk-V5IFFLZQ.js} +185 -109
  149. package/dist/web/server/{chunk-ETTDO4UO.js → chunk-WTYNN6EV.js} +1 -26
  150. package/dist/web/server/{chunk-EJEPDVK6.js → chunk-WU6X3GPJ.js} +48 -5
  151. package/dist/web/server/{chunk-D27LRYVT.js → chunk-XEG4JTND.js} +10 -9
  152. package/dist/web/server/{chunk-XIB6XNUX.js → chunk-XJ6TGSUB.js} +425 -404
  153. package/dist/web/server/{chunk-NWDI3OWB.js → chunk-XSOUURPF.js} +30 -26
  154. package/dist/web/server/{chunk-RIP3PBWT.js → chunk-YCCF676T.js} +4 -4
  155. package/dist/web/server/{chunk-4WBFCB4O.js → chunk-YDDDSVNB.js} +178 -269
  156. package/dist/web/server/{chunk-GETSIVNU.js → chunk-YVGCPUAW.js} +7 -7
  157. package/dist/web/server/{chunk-4UBOIY2S.js → chunk-ZNFXBGLK.js} +1 -1
  158. package/dist/web/server/{fork-picker-dialog-Ds6Tgtu3-DIBWN7MV.js → fork-picker-dialog-DeMiLZtS-WTRTTP64.js} +10 -8
  159. package/dist/web/server/{markdown-DTnMbD87-FXGGAPJD.js → markdown-BzNejPoZ-6ITTDAV6.js} +2 -3
  160. package/dist/web/server/{markdown-code-BStjFfsy-SSLWUT4S.js → markdown-code-DAwXuW6m-HHVELO6I.js} +3 -4
  161. package/dist/web/server/{fleet-message-queue-D_w8lSeY-T3HB7HVQ.js → message-queue-Demph1x4-GGXJUUKO.js} +14 -10
  162. package/dist/web/server/{model-selector-list-DxeGZoD2-P6S6FSJH.js → model-selector-list-BeGQHwKV-UJYFO4KX.js} +21 -19
  163. package/dist/web/server/{openui-renderer-MKFv6LlH-MDRSVFEY.js → openui-renderer-B4z18Brm-HSMKJ47D.js} +17 -17
  164. package/dist/web/server/{prompt-suggestions-BOItmGnD-YQA7RHLG.js → prompt-suggestions-yPZqX__K-3VGJC4IF.js} +7 -6
  165. package/dist/web/server/{repl-panel-CuyF8wt5-CHDT2Q3N.js → repl-panel-CgUF1qUw-3DFD2V53.js} +10 -11
  166. package/dist/web/server/{resources-panel-CE5pD4vy-V5FXBTYC.js → resources-panel-ChUliWV--JITAGS6Q.js} +6 -7
  167. package/dist/web/server/{router-Dg72SESP-PCWKLFRG.js → router-DfG45nTQ-3VXEUYG5.js} +3336 -238
  168. package/dist/web/server/{routes-BGrVtPYF-SURPAJN6.js → routes-B9F9UfF1-UN2IVBMJ.js} +5156 -4242
  169. package/dist/web/server/server.js +2 -2
  170. package/dist/web/server/{session-insights-panel-CUhdgvRt-VB2HUCQP.js → session-insights-panel-xgrkX1Rp-FDNURBXZ.js} +9 -9
  171. package/dist/web/server/{fleet-reasoning-panel-DG_vuvv0-NCZWEEIT.js → session-reasoning-panel-m1RgcIph-NUXGXVKE.js} +21 -22
  172. package/dist/web/server/session-tool-renderer-CT65wuet-RQBMXHEZ.js +46 -0
  173. package/dist/web/server/session-tree-panel-rS0t1wbf-HNA6AJBY.js +229 -0
  174. package/dist/web/server/{settings-dialog-CK0FJlTg-HZRBAXDZ.js → settings-dialog-CqkrDSnm-LFEKSS7Y.js} +186 -1380
  175. package/dist/web/server/{subagent-chat-panel-gzamnTgK-PQ2TLLJF.js → subagent-chat-panel-Cf7QdDqH-DPPSVLSY.js} +31 -39
  176. package/dist/web/server/{subagents-panel-Berjd7HJ-EI5ZKC6V.js → subagents-panel-_JsUw-6t-MZWM5P45.js} +38 -45
  177. package/dist/web/server/{fleet-tool-timeline-D6yM4ZMz-ZSFVRRRI.js → tool-timeline-QL9k5dzA-RLU26HXT.js} +6 -6
  178. package/dist/web/server/{workspace-panel-CBBa_3UO-B4PPFPMA.js → workspace-panel-BHEB9nRM-Y6KGIVGP.js} +23 -30
  179. package/package.json +1 -1
  180. package/dist/web/client/assets/action-swap-roll-COzQ86wm.js +0 -1
  181. package/dist/web/client/assets/agent-activity-svETLf_5.js +0 -1
  182. package/dist/web/client/assets/agent-disclosure-DAMuuGcM.js +0 -1
  183. package/dist/web/client/assets/analytics-stub-B6zGMuSV.js +0 -1
  184. package/dist/web/client/assets/artifacts-panel-HVjqBMyx.js +0 -1
  185. package/dist/web/client/assets/artifacts-utils-N_kUFbz2.js +0 -1
  186. package/dist/web/client/assets/bundle-mjs-DKHVkVWu.js +0 -1
  187. package/dist/web/client/assets/button-C5wFDY5_.js +0 -1
  188. package/dist/web/client/assets/chat-BhYseKd6.js +0 -52
  189. package/dist/web/client/assets/chat-command-palette-LILDO_vG.js +0 -1
  190. package/dist/web/client/assets/check-JjHKAZas.js +0 -1
  191. package/dist/web/client/assets/chevron-right-DrJxToLs.js +0 -1
  192. package/dist/web/client/assets/chevron-up-CnSvySGH.js +0 -1
  193. package/dist/web/client/assets/circle-alert-CONlFReH.js +0 -1
  194. package/dist/web/client/assets/circle-x-CkKCB__4.js +0 -1
  195. package/dist/web/client/assets/citations-BPv8HIpf.js +0 -2
  196. package/dist/web/client/assets/cn-C8c0S2mI.js +0 -1
  197. package/dist/web/client/assets/collapsible-BoXtZZWN.js +0 -1
  198. package/dist/web/client/assets/command-PhicLCoO.js +0 -1
  199. package/dist/web/client/assets/createBaseUIEventDetails-DV0dQrBX.js +0 -1
  200. package/dist/web/client/assets/createLucideIcon-DwxZHm0M.js +0 -1
  201. package/dist/web/client/assets/dialog-pBGUjAQ7.js +0 -1
  202. package/dist/web/client/assets/dist-BPaFisIZ.js +0 -41
  203. package/dist/web/client/assets/earth-DGZXAN5r.js +0 -1
  204. package/dist/web/client/assets/ease-u56MhKYS.js +0 -1
  205. package/dist/web/client/assets/file-text-T-NcAlZs.js +0 -1
  206. package/dist/web/client/assets/fleet-message-queue-fbYYwMj0.js +0 -1
  207. package/dist/web/client/assets/fleet-pi-tool-renderer-BRgNnmaJ.js +0 -1395
  208. package/dist/web/client/assets/fleet-reasoning-panel-CjA2dwUJ.js +0 -1
  209. package/dist/web/client/assets/fleet-subagent-list-iKUtLJKZ.js +0 -1
  210. package/dist/web/client/assets/fleet-tool-timeline-C8heL7ae.js +0 -1
  211. package/dist/web/client/assets/gauge-DNpstbBn.js +0 -1
  212. package/dist/web/client/assets/globals-CuIiqOTg.css +0 -2
  213. package/dist/web/client/assets/highlighted-body-KPVGNVTW-sUCZ1fHv.js +0 -1
  214. package/dist/web/client/assets/horizontal-resize-Cp3iHMH7.js +0 -1
  215. package/dist/web/client/assets/image-BbPmlw-n.js +0 -1
  216. package/dist/web/client/assets/index-CSGplyr_.js +0 -12
  217. package/dist/web/client/assets/input-PcdubeKn.js +0 -1
  218. package/dist/web/client/assets/input-group-C2HJEZvl.js +0 -1
  219. package/dist/web/client/assets/ipython-tool-CyuMOxz1.js +0 -3
  220. package/dist/web/client/assets/layout-gyLzPvVv.js +0 -1
  221. package/dist/web/client/assets/markdown-lvexwooo.js +0 -2
  222. package/dist/web/client/assets/mermaid-HWGCJPDP-Bm7CuruA.js +0 -1
  223. package/dist/web/client/assets/message-square-hbDao-A1.js +0 -1
  224. package/dist/web/client/assets/model-selector-list-CoXX358G.js +0 -1
  225. package/dist/web/client/assets/plus-DXN1Bg_z.js +0 -1
  226. package/dist/web/client/assets/prompt-input-fwP8TsgQ.js +0 -1
  227. package/dist/web/client/assets/prompt-suggestions-BlGXmWS7.js +0 -1
  228. package/dist/web/client/assets/provider-catalog-DYMFdbKc.js +0 -1
  229. package/dist/web/client/assets/provider-label-B4q5mI65.js +0 -1
  230. package/dist/web/client/assets/react-dom-Bwxum3ti.js +0 -1
  231. package/dist/web/client/assets/repl-panel-C5om8MGU.js +0 -1
  232. package/dist/web/client/assets/resources-panel-D867-goy.js +0 -1
  233. package/dist/web/client/assets/right-panel-context-DHlNWJsF.js +0 -1
  234. package/dist/web/client/assets/right-panel-registry-BBlxLxnx.js +0 -2
  235. package/dist/web/client/assets/routes-XGsAIqBJ.js +0 -16
  236. package/dist/web/client/assets/safe-external-url-D3PJJIcM.js +0 -1
  237. package/dist/web/client/assets/search-eWVnAJsb.js +0 -1
  238. package/dist/web/client/assets/session-insights-panel-YnaXvTpi.js +0 -1
  239. package/dist/web/client/assets/settings-dialog-BSBasR3o.js +0 -2
  240. package/dist/web/client/assets/shield-check-CkA2viVW.js +0 -1
  241. package/dist/web/client/assets/skeleton-loaders-C9vHwAYV.js +0 -1
  242. package/dist/web/client/assets/sparkles-DuclzqlE.js +0 -1
  243. package/dist/web/client/assets/square-Bhn8gjr0.js +0 -1
  244. package/dist/web/client/assets/subagent-transcript-DaVHjNUH.js +0 -1
  245. package/dist/web/client/assets/subagent-utils-DDH5qm9Z.js +0 -1
  246. package/dist/web/client/assets/subagents-panel-D_aVgSCi.js +0 -1
  247. package/dist/web/client/assets/surfaces-BhAXz9So.js +0 -1
  248. package/dist/web/client/assets/switch-WhXeJNNY.js +0 -1
  249. package/dist/web/client/assets/terminal-DOS1s1gm.js +0 -1
  250. package/dist/web/client/assets/toast-D3c9XeGe.js +0 -1
  251. package/dist/web/client/assets/tool-result-Cki8WUNc.js +0 -4
  252. package/dist/web/client/assets/ui-preferences-CImQGZm_.js +0 -1
  253. package/dist/web/client/assets/use-reduced-motion-eORd7fqW.js +0 -9
  254. package/dist/web/client/assets/useBaseUiId-CHqXB2UQ.js +0 -1
  255. package/dist/web/client/assets/useControlled-CJJ9BOQB.js +0 -1
  256. package/dist/web/client/assets/utils-Eg7xtNmV.js +0 -1
  257. package/dist/web/client/assets/virtualized-turn-list-CdMa-ydT.js +0 -6
  258. package/dist/web/client/assets/workspace-panel-77bDbprs.js +0 -1
  259. package/dist/web/client/assets/workspace-path-nav-C0AQNZyy.js +0 -1
  260. package/dist/web/client/assets/x-CsRC_tCI.js +0 -1
  261. package/dist/web/server/_tanstack-start-manifest_v-0L7fqnH4-KMVGUFE4.js +0 -95
  262. package/dist/web/server/agent-activity-BuEE6iVw-CDZLK4D2.js +0 -514
  263. package/dist/web/server/chunk-2JHTYWD5.js +0 -1196
  264. package/dist/web/server/chunk-3JMESBAT.js +0 -35
  265. package/dist/web/server/chunk-42XU6WV7.js +0 -56
  266. package/dist/web/server/chunk-AQ66E5OW.js +0 -33
  267. package/dist/web/server/chunk-BYXBJQAS.js +0 -0
  268. package/dist/web/server/chunk-FAGDMGLK.js +0 -6589
  269. package/dist/web/server/chunk-FJV6EQDW.js +0 -36
  270. package/dist/web/server/chunk-GL6HWDJB.js +0 -19
  271. package/dist/web/server/chunk-L46H6IDX.js +0 -13
  272. package/dist/web/server/chunk-NIDBN7BQ.js +0 -86
  273. package/dist/web/server/chunk-ON33WDZX.js +0 -31
  274. package/dist/web/server/chunk-PVJCTQFK.js +0 -22
  275. package/dist/web/server/chunk-QPNUGF3V.js +0 -35
  276. package/dist/web/server/chunk-S5LFXXDY.js +0 -1265
  277. package/dist/web/server/chunk-VPKX7QRU.js +0 -42
  278. package/dist/web/server/chunk-ZCVWADNW.js +0 -37
  279. package/dist/web/server/fleet-pi-tool-renderer-qwc-qZFq-4U556N5Q.js +0 -51
  280. package/dist/web/server/fleet-subagent-list-BGb0PjhF-2X67FMUV.js +0 -18
@@ -1,16 +1,18 @@
1
1
  import {
2
- FleetGenerativeTextRenderer,
3
2
  Message,
4
3
  MessageBubble,
5
4
  MessageBubbleContent,
6
5
  MessageContent,
7
6
  MessageScroller,
7
+ SessionGenerativeTextRenderer,
8
8
  UserMessage,
9
9
  VirtualizedTurnList,
10
10
  buildAssistantElements,
11
11
  groupMessages,
12
- normalizeAssistantToolParts
13
- } from "./chunk-ZIFSJ3HQ.js";
12
+ normalizeAssistantToolParts,
13
+ orderedRlmChildren,
14
+ rlmStatusIcon
15
+ } from "./chunk-V5IFFLZQ.js";
14
16
  import {
15
17
  RefreshCw
16
18
  } from "./chunk-OKL5ZRVB.js";
@@ -18,33 +20,93 @@ import {
18
20
  Bot
19
21
  } from "./chunk-UCA4WN66.js";
20
22
  import {
21
- FleetPiToolRenderer
22
- } from "./chunk-NGCQJ33Y.js";
23
+ SessionToolRenderer
24
+ } from "./chunk-FMAYMBRS.js";
23
25
  import {
24
- PI_TOOL_RENDERERS
25
- } from "./chunk-NWDI3OWB.js";
26
+ ToolTimeline
27
+ } from "./chunk-UDD5W4CR.js";
26
28
  import {
27
- FleetToolTimeline
28
- } from "./chunk-FYDQK6UX.js";
29
+ derivePrimeAgentArtifactRuns
30
+ } from "./chunk-ZNFXBGLK.js";
29
31
  import {
30
- FleetSubagentList
31
- } from "./chunk-NIDBN7BQ.js";
32
+ CircleCheck,
33
+ LoaderCircle
34
+ } from "./chunk-TNL4YV63.js";
32
35
  import {
33
- derivePrimeAgentArtifactRuns
34
- } from "./chunk-4UBOIY2S.js";
36
+ ChevronDown
37
+ } from "./chunk-WWJF4RO2.js";
35
38
  import {
36
39
  Button
37
- } from "./chunk-WNCAL4HN.js";
40
+ } from "./chunk-HQ5TEXHT.js";
38
41
  import {
39
42
  CircleAlert
40
- } from "./chunk-ZCVWADNW.js";
43
+ } from "./chunk-KBWUBWVJ.js";
41
44
  import {
42
45
  cn
43
- } from "./chunk-DJMHPJBP.js";
46
+ } from "./chunk-CHEC7TWB.js";
44
47
 
45
- // web/app/dist/server/assets/subagent-transcript-BOpqbQin.js
48
+ // web/app/dist/server/assets/subagent-transcript-QCgJP1XK.js
46
49
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
47
50
  import { jsx, jsxs } from "react/jsx-runtime";
51
+ function SubagentList({ children, tree, className }) {
52
+ const agents = useMemo(() => orderedRlmChildren(children, tree), [children, tree]);
53
+ const active = agents.some((child) => child.status === "queued" || child.status === "running" || child.status === "recovering");
54
+ const [open, setOpen] = useState(active);
55
+ if (agents.length === 0) return null;
56
+ return /* @__PURE__ */ jsxs("section", {
57
+ className: cn("mt-2 rounded-xl border border-border/60 bg-muted/20", className),
58
+ children: [/* @__PURE__ */ jsxs("button", {
59
+ type: "button",
60
+ "aria-expanded": open || active,
61
+ onClick: () => setOpen((current) => !current),
62
+ 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",
63
+ children: [
64
+ active ? /* @__PURE__ */ jsx(LoaderCircle, { className: "size-3.5 animate-spin text-primary" }) : /* @__PURE__ */ jsx(CircleCheck, { className: "size-3.5 text-emerald-600 dark:text-emerald-400" }),
65
+ /* @__PURE__ */ jsx("span", {
66
+ className: "flex-1 font-medium",
67
+ children: active ? "Subagents working" : "Subagents completed"
68
+ }),
69
+ /* @__PURE__ */ jsx("span", {
70
+ className: "text-xs text-muted-foreground",
71
+ children: agents.length
72
+ }),
73
+ /* @__PURE__ */ jsx(ChevronDown, { className: cn("size-3.5 text-muted-foreground transition-transform", (open || active) && "rotate-180") })
74
+ ]
75
+ }), open || active ? /* @__PURE__ */ jsx("div", {
76
+ className: "space-y-1 border-t border-border/50 px-3 py-2",
77
+ children: agents.map((child) => /* @__PURE__ */ jsxs("div", {
78
+ className: "flex min-w-0 items-start gap-2",
79
+ style: { paddingLeft: `${Math.max(0, child.depth ?? 0) * 12}px` },
80
+ children: [
81
+ /* @__PURE__ */ jsx("span", {
82
+ className: "mt-0.5 shrink-0",
83
+ children: rlmStatusIcon(child.status)
84
+ }),
85
+ /* @__PURE__ */ jsxs("div", {
86
+ className: "min-w-0 flex-1",
87
+ children: [/* @__PURE__ */ jsxs("div", {
88
+ className: "flex min-w-0 items-baseline gap-2",
89
+ children: [/* @__PURE__ */ jsx("span", {
90
+ className: "truncate text-sm text-foreground/85",
91
+ children: child.label
92
+ }), child.model ? /* @__PURE__ */ jsx("span", {
93
+ className: "truncate font-mono text-micro text-muted-foreground",
94
+ children: child.model
95
+ }) : null]
96
+ }), child.answerPreview || child.activity?.toolName || child.error ? /* @__PURE__ */ jsx("p", {
97
+ className: "truncate text-xs text-muted-foreground",
98
+ children: child.error ?? child.answerPreview ?? child.activity?.toolName
99
+ }) : null]
100
+ }),
101
+ /* @__PURE__ */ jsx("span", {
102
+ className: "shrink-0 text-micro capitalize text-muted-foreground",
103
+ children: child.status
104
+ })
105
+ ]
106
+ }, child.id))
107
+ }) : null]
108
+ });
109
+ }
48
110
  function transcriptStatus(child) {
49
111
  if (child.status === "running" || child.status === "recovering") return "streaming";
50
112
  if (child.status === "error" || child.status === "failed") return "error";
@@ -56,9 +118,8 @@ function SubagentTurnView({ turn, isLast, isStreaming, artifacts, presentation }
56
118
  isLast: isLast && index === turn.assistants.length - 1,
57
119
  isStreaming,
58
120
  suppressQuestionTool: true,
59
- ToolRendererComponent: FleetPiToolRenderer,
60
- TextRendererComponent: FleetGenerativeTextRenderer,
61
- toolRenderers: PI_TOOL_RENDERERS
121
+ ToolRendererComponent: SessionToolRenderer,
122
+ TextRendererComponent: SessionGenerativeTextRenderer
62
123
  })), [
63
124
  isLast,
64
125
  isStreaming,
@@ -77,7 +138,7 @@ function SubagentTurnView({ turn, isLast, isStreaming, artifacts, presentation }
77
138
  children: /* @__PURE__ */ jsx(MessageContent, { children: /* @__PURE__ */ jsx(MessageBubble, {
78
139
  variant: "ghost",
79
140
  children: /* @__PURE__ */ jsxs(MessageBubbleContent, { children: [
80
- isLast ? /* @__PURE__ */ jsx(FleetToolTimeline, {
141
+ isLast ? /* @__PURE__ */ jsx(ToolTimeline, {
81
142
  messages: turn.assistants,
82
143
  artifacts,
83
144
  streaming: isStreaming
@@ -86,7 +147,7 @@ function SubagentTurnView({ turn, isLast, isStreaming, artifacts, presentation }
86
147
  className: "flex flex-col gap-3",
87
148
  children: assistantElements
88
149
  }),
89
- isLast && presentation ? /* @__PURE__ */ jsx(FleetSubagentList, {
150
+ isLast && presentation ? /* @__PURE__ */ jsx(SubagentList, {
90
151
  tree: presentation.rlmTree,
91
152
  children: presentation.rlmChildren
92
153
  }) : null
@@ -142,20 +203,20 @@ function SubagentTranscriptView({ child, parentSessionId, transcript, onRefresh,
142
203
  className: "min-w-0 flex-1 truncate text-xs font-medium text-foreground/80",
143
204
  children: title
144
205
  }), /* @__PURE__ */ jsx("span", {
145
- className: "shrink-0 text-[0.625rem] capitalize text-foreground/45",
206
+ className: "shrink-0 text-micro capitalize text-foreground/45",
146
207
  children: child.status
147
208
  })]
148
209
  }),
149
210
  child.model ? /* @__PURE__ */ jsx("p", {
150
- className: "truncate font-mono text-[0.625rem] text-foreground/40",
211
+ className: "truncate font-mono text-micro text-foreground/40",
151
212
  children: child.model
152
213
  }) : null,
153
214
  heartbeatLabel ? /* @__PURE__ */ jsxs("p", {
154
- className: "truncate text-[0.625rem] text-foreground/40",
215
+ className: "truncate text-micro text-foreground/40",
155
216
  children: ["Heartbeat: ", heartbeatLabel]
156
217
  }) : null,
157
218
  child.answerPreview || child.recap ? /* @__PURE__ */ jsx("p", {
158
- className: "mt-1 line-clamp-3 whitespace-pre-wrap text-[0.6875rem] leading-4 text-foreground/55",
219
+ className: "mt-1 line-clamp-3 whitespace-pre-wrap text-caption leading-4 text-foreground/55",
159
220
  children: child.answerPreview ?? child.recap
160
221
  }) : null
161
222
  ]
@@ -172,23 +233,23 @@ function SubagentTranscriptView({ child, parentSessionId, transcript, onRefresh,
172
233
  }) : null
173
234
  ]
174
235
  }), !parentSessionId ? /* @__PURE__ */ jsx("p", {
175
- className: "rounded-md border border-dashed border-border/70 p-3 text-[0.6875rem] leading-4 text-foreground/45",
236
+ className: "rounded-md border border-dashed border-border/70 p-3 text-caption leading-4 text-foreground/45",
176
237
  children: "This subagent thread is unavailable until the parent session is active."
177
238
  }) : transcript?.status === "loading" ? /* @__PURE__ */ jsx("div", {
178
- className: cn("flex items-center justify-center rounded-md border border-dashed border-border/70 text-[0.6875rem] text-foreground/45", fullWidth ? "min-h-32 flex-1" : "min-h-32"),
239
+ className: cn("flex items-center justify-center rounded-md border border-dashed border-border/70 text-caption text-foreground/45", fullWidth ? "min-h-32 flex-1" : "min-h-32"),
179
240
  children: "Loading subagent thread\u2026"
180
241
  }) : transcript?.status === "error" && turns.length === 0 ? /* @__PURE__ */ jsxs("div", {
181
242
  role: "alert",
182
- className: "flex items-start gap-2 rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-[0.6875rem] leading-4 text-destructive",
243
+ className: "flex items-start gap-2 rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-caption leading-4 text-destructive",
183
244
  children: [/* @__PURE__ */ jsx(CircleAlert, { className: "mt-0.5 size-3.5 shrink-0" }), /* @__PURE__ */ jsx("span", { children: transcript.error?.message ?? "Unable to load this subagent thread." })]
184
245
  }) : turns.length === 0 ? /* @__PURE__ */ jsx("p", {
185
- className: "rounded-md border border-dashed border-border/70 p-3 text-[0.6875rem] leading-4 text-foreground/45",
246
+ className: "rounded-md border border-dashed border-border/70 p-3 text-caption leading-4 text-foreground/45",
186
247
  children: "This subagent thread has no messages yet."
187
248
  }) : /* @__PURE__ */ jsxs("div", {
188
249
  className: "flex min-h-0 flex-1 flex-col",
189
250
  children: [transcript?.error ? /* @__PURE__ */ jsxs("div", {
190
251
  role: "alert",
191
- className: "mx-4 mt-2 flex items-start gap-2 rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-[0.6875rem] leading-4 text-destructive sm:mx-6",
252
+ className: "mx-4 mt-2 flex items-start gap-2 rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-caption leading-4 text-destructive sm:mx-6",
192
253
  children: [/* @__PURE__ */ jsx(CircleAlert, { className: "mt-0.5 size-3.5 shrink-0" }), /* @__PURE__ */ jsx("span", { children: transcript.error.message })]
193
254
  }) : null, /* @__PURE__ */ jsx("div", {
194
255
  className: cn("min-h-0 rounded-md border border-border/60 bg-background", fullWidth ? "flex min-h-0 flex-1 flex-col border-x-0 rounded-none border-b-0" : "h-96 max-h-[calc(100svh-18rem)]"),
@@ -197,7 +258,7 @@ function SubagentTranscriptView({ child, parentSessionId, transcript, onRefresh,
197
258
  className: fullWidth ? "min-h-0 flex-1" : void 0,
198
259
  followOutput: childStatus === "streaming",
199
260
  label: `Transcript for ${child.label}`,
200
- smooth: childStatus === "streaming",
261
+ smooth: childStatus !== "streaming",
201
262
  viewportRef,
202
263
  viewportClassName: fullWidth ? "px-0" : void 0,
203
264
  contentClassName: cn("flex flex-col gap-4", fullWidth ? "mx-auto w-full max-w-3xl px-4 py-6 sm:px-6" : "px-2.5 py-3"),
@@ -12,12 +12,12 @@ import {
12
12
  } from "./chunk-4ZIEVI5O.js";
13
13
  import {
14
14
  cn
15
- } from "./chunk-DJMHPJBP.js";
15
+ } from "./chunk-CHEC7TWB.js";
16
16
  import {
17
17
  __exportAll
18
18
  } from "./chunk-L547YHC4.js";
19
19
 
20
- // web/app/dist/server/assets/fleet-tool-timeline-D6yM4ZMz.js
20
+ // web/app/dist/server/assets/tool-timeline-QL9k5dzA.js
21
21
  import { useMemo, useState } from "react";
22
22
  import { jsx, jsxs } from "react/jsx-runtime";
23
23
  var FilePenLine = createLucideIcon("file-pen-line", [
@@ -58,8 +58,20 @@ var FileSearch = createLucideIcon("file-search", [
58
58
  key: "2quom7"
59
59
  }]
60
60
  ]);
61
- var fleet_tool_timeline_exports = /* @__PURE__ */ __exportAll({ FleetToolTimeline: () => FleetToolTimeline });
61
+ var tool_timeline_exports = /* @__PURE__ */ __exportAll({ ToolTimeline: () => ToolTimeline });
62
62
  var NO_ARTIFACTS = [];
63
+ function artifactPanel(kind) {
64
+ return kind === "ipython" ? "repl" : "artifacts";
65
+ }
66
+ function withArtifact(step, artifact) {
67
+ if (!artifact) return step;
68
+ return {
69
+ ...step,
70
+ artifactId: artifact.id,
71
+ artifactTitle: artifact.title,
72
+ artifactTarget: artifactPanel(artifact.kind)
73
+ };
74
+ }
63
75
  function record(value) {
64
76
  return typeof value === "object" && value !== null && !Array.isArray(value) ? value : void 0;
65
77
  }
@@ -109,23 +121,24 @@ function artifactStep(artifact) {
109
121
  };
110
122
  }
111
123
  function statusClass(status2) {
112
- if (status2 === "running") return "text-blue-600 dark:text-blue-400";
124
+ if (status2 === "running") return "text-primary";
113
125
  if (status2 === "error") return "text-destructive";
114
126
  if (status2 === "cancelled") return "text-muted-foreground";
115
127
  return "text-emerald-600 dark:text-emerald-400";
116
128
  }
117
- function FleetToolTimeline({ messages, artifacts = NO_ARTIFACTS, streaming, className }) {
129
+ function ToolTimeline({ messages, artifacts = NO_ARTIFACTS, streaming, className, onOpenArtifact }) {
118
130
  const steps = useMemo(() => {
119
131
  const seen = /* @__PURE__ */ new Set();
132
+ const artifactByToolCallId = new Map(artifacts.flatMap((artifact) => artifact.sourceToolCallId ? [[artifact.sourceToolCallId, artifact]] : []));
120
133
  const fromMessages = messages.flatMap((message) => message.parts.flatMap((part, index) => {
121
134
  const step = toolStep(record(part) ?? {}, `${message.id}:${index}`, streaming);
122
135
  if (!step || seen.has(step.id)) return [];
123
136
  seen.add(step.id);
124
- return [step];
137
+ return [withArtifact(step, artifactByToolCallId.get(step.id))];
125
138
  }));
126
139
  const fromArtifacts = artifacts.flatMap((artifact) => {
127
140
  if (artifact.sourceToolCallId && seen.has(artifact.sourceToolCallId)) return [];
128
- const step = artifactStep(artifact);
141
+ const step = withArtifact(artifactStep(artifact), artifact);
129
142
  if (seen.has(step.id)) return [];
130
143
  seen.add(step.id);
131
144
  return [step];
@@ -159,6 +172,8 @@ function FleetToolTimeline({ messages, artifacts = NO_ARTIFACTS, streaming, clas
159
172
  className: "space-y-1 border-t border-border/50 px-3 py-2",
160
173
  children: steps.map((step) => {
161
174
  const Icon = step.icon;
175
+ const artifactId = step.artifactId;
176
+ const openLabel = artifactId && step.artifactTitle ? step.artifactTarget === "repl" ? `Open ${step.artifactTitle} in REPL` : `Open ${step.artifactTitle} in artifacts` : void 0;
162
177
  return /* @__PURE__ */ jsxs("div", {
163
178
  className: "flex min-w-0 items-center gap-2 text-xs",
164
179
  children: [
@@ -170,7 +185,14 @@ function FleetToolTimeline({ messages, artifacts = NO_ARTIFACTS, streaming, clas
170
185
  /* @__PURE__ */ jsx("span", {
171
186
  className: "min-w-0 flex-1 truncate font-mono text-foreground/75",
172
187
  children: step.target
173
- })
188
+ }),
189
+ openLabel && artifactId && onOpenArtifact ? /* @__PURE__ */ jsx("button", {
190
+ type: "button",
191
+ className: "shrink-0 text-micro text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
192
+ "aria-label": openLabel,
193
+ onClick: () => onOpenArtifact(artifactId, step.artifactTarget),
194
+ children: "Open"
195
+ }) : null
174
196
  ]
175
197
  }, step.id);
176
198
  })
@@ -179,8 +201,8 @@ function FleetToolTimeline({ messages, artifacts = NO_ARTIFACTS, streaming, clas
179
201
  }
180
202
 
181
203
  export {
182
- fleet_tool_timeline_exports,
183
- FleetToolTimeline
204
+ tool_timeline_exports,
205
+ ToolTimeline
184
206
  };
185
207
  /**
186
208
  * @license lucide-react v1.38.0 - ISC
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  useControlled
3
- } from "./chunk-S3PQ6HKH.js";
3
+ } from "./chunk-OVJYUWSQ.js";
4
4
  import {
5
5
  useBaseUiId,
6
6
  useTransitionStatus,
7
7
  useValueAsRef
8
- } from "./chunk-MNBGB2SP.js";
8
+ } from "./chunk-E5HALE4M.js";
9
9
  import {
10
10
  AnimationFrame,
11
- TransitionStatusDataAttributes,
12
11
  addEventListener,
13
12
  createChangeEventDetails,
14
13
  formatErrorMessage,
15
14
  getWindow,
16
15
  none,
17
16
  resolveStyle,
17
+ startingStyle,
18
18
  transitionStatusMapping,
19
19
  triggerPress,
20
20
  useAnimationsFinished,
@@ -24,25 +24,25 @@ import {
24
24
  useOpenChangeComplete,
25
25
  useRenderElement,
26
26
  useStableCallback
27
- } from "./chunk-XIB6XNUX.js";
27
+ } from "./chunk-XJ6TGSUB.js";
28
28
 
29
- // web/app/dist/server/assets/collapsible-4_BobS1N.js
29
+ // web/app/dist/server/assets/collapsible-BaxQjuKb.js
30
30
  import * as React$1 from "react";
31
31
  import { jsx } from "react/jsx-runtime";
32
32
  function useCollapsibleRoot(parameters) {
33
- const { open: openParam, defaultOpen, onOpenChange, disabled } = parameters;
34
- const [open, setOpen] = useControlled({
33
+ const { open: openParam, defaultOpen = false, onOpenChange, disabled } = parameters;
34
+ const [open2, setOpen] = useControlled({
35
35
  controlled: openParam,
36
36
  default: defaultOpen,
37
37
  name: "Collapsible",
38
38
  state: "open"
39
39
  });
40
- const { mounted, setMounted, transitionStatus } = useTransitionStatus(open, true, true);
40
+ const { mounted, setMounted, transitionStatus } = useTransitionStatus(open2, true, true);
41
41
  const defaultPanelId = useBaseUiId();
42
42
  const [registeredPanelId, setPanelIdState] = React$1.useState();
43
43
  const panelId = registeredPanelId === null ? void 0 : registeredPanelId ?? defaultPanelId;
44
44
  const handleTrigger = useStableCallback((event) => {
45
- const nextOpen = !open;
45
+ const nextOpen = !open2;
46
46
  const eventDetails = createChangeEventDetails(triggerPress, event.nativeEvent);
47
47
  onOpenChange(nextOpen, eventDetails);
48
48
  if (eventDetails.isCanceled) return;
@@ -53,7 +53,7 @@ function useCollapsibleRoot(parameters) {
53
53
  disabled,
54
54
  handleTrigger,
55
55
  mounted,
56
- open,
56
+ open: open2,
57
57
  panelId,
58
58
  setMounted,
59
59
  setOpen,
@@ -64,7 +64,7 @@ function useCollapsibleRoot(parameters) {
64
64
  disabled,
65
65
  handleTrigger,
66
66
  mounted,
67
- open,
67
+ open2,
68
68
  panelId,
69
69
  setMounted,
70
70
  setOpen,
@@ -78,21 +78,14 @@ function useCollapsibleRootContext() {
78
78
  if (context === void 0) throw new Error(formatErrorMessage(15));
79
79
  return context;
80
80
  }
81
- var CollapsiblePanelDataAttributes = (function(CollapsiblePanelDataAttributes2) {
82
- CollapsiblePanelDataAttributes2["open"] = "data-open";
83
- CollapsiblePanelDataAttributes2["closed"] = "data-closed";
84
- CollapsiblePanelDataAttributes2[CollapsiblePanelDataAttributes2["startingStyle"] = TransitionStatusDataAttributes.startingStyle] = "startingStyle";
85
- CollapsiblePanelDataAttributes2[CollapsiblePanelDataAttributes2["endingStyle"] = TransitionStatusDataAttributes.endingStyle] = "endingStyle";
86
- return CollapsiblePanelDataAttributes2;
87
- })({});
88
- var CollapsibleTriggerDataAttributes = /* @__PURE__ */ (function(CollapsibleTriggerDataAttributes2) {
89
- CollapsibleTriggerDataAttributes2["panelOpen"] = "data-panel-open";
90
- return CollapsibleTriggerDataAttributes2;
91
- })({});
92
- var PANEL_OPEN_HOOK = { [CollapsiblePanelDataAttributes.open]: "" };
93
- var PANEL_CLOSED_HOOK = { [CollapsiblePanelDataAttributes.closed]: "" };
81
+ var open = "data-open";
82
+ var closed = "data-closed";
83
+ var startingStyle2 = startingStyle;
84
+ var panelOpen = "data-panel-open";
85
+ var PANEL_OPEN_HOOK = { [open]: "" };
86
+ var PANEL_CLOSED_HOOK = { [closed]: "" };
94
87
  var triggerOpenStateMapping = { open(value) {
95
- if (value) return { [CollapsibleTriggerDataAttributes.panelOpen]: "" };
88
+ if (value) return { [panelOpen]: "" };
96
89
  return null;
97
90
  } };
98
91
  var collapsibleStateAttributesMapping = {
@@ -103,10 +96,10 @@ var collapsibleStateAttributesMapping = {
103
96
  ...transitionStatusMapping
104
97
  };
105
98
  var CollapsibleRoot = /* @__PURE__ */ React$1.forwardRef(function CollapsibleRoot2(componentProps, forwardedRef) {
106
- const { render, className, defaultOpen = false, disabled = false, onOpenChange: onOpenChangeProp, open, style, ...elementProps } = componentProps;
99
+ const { render, className, defaultOpen = false, disabled = false, onOpenChange: onOpenChangeProp, open: open2, style, ...elementProps } = componentProps;
107
100
  const onOpenChange = useStableCallback(onOpenChangeProp);
108
101
  const collapsible = useCollapsibleRoot({
109
- open,
102
+ open: open2,
110
103
  defaultOpen,
111
104
  onOpenChange,
112
105
  disabled
@@ -145,7 +138,7 @@ var stateAttributesMapping = {
145
138
  ...transitionStatusMapping
146
139
  };
147
140
  var CollapsibleTrigger$1 = /* @__PURE__ */ React$1.forwardRef(function CollapsibleTrigger(componentProps, forwardedRef) {
148
- const { panelId, open, handleTrigger, state, disabled: contextDisabled } = useCollapsibleRootContext();
141
+ const { panelId, open: open2, handleTrigger, state, disabled: contextDisabled } = useCollapsibleRootContext();
149
142
  const { className, disabled = contextDisabled, render, nativeButton = true, style, ...elementProps } = componentProps;
150
143
  const { getButtonProps, buttonRef } = useButton({
151
144
  disabled,
@@ -157,8 +150,8 @@ var CollapsibleTrigger$1 = /* @__PURE__ */ React$1.forwardRef(function Collapsib
157
150
  ref: [forwardedRef, buttonRef],
158
151
  props: [
159
152
  {
160
- "aria-controls": open ? panelId : void 0,
161
- "aria-expanded": open,
153
+ "aria-controls": open2 ? panelId : void 0,
154
+ "aria-expanded": open2,
162
155
  onClick: handleTrigger
163
156
  },
164
157
  elementProps,
@@ -172,23 +165,23 @@ var EMPTY_DIMENSIONS = {
172
165
  width: void 0
173
166
  };
174
167
  function useCollapsiblePanel(parameters) {
175
- const { externalRef, hiddenUntilFound, id: idParam, keepMounted, mounted, onOpenChange, open, setMounted, setOpen, transitionStatus } = parameters;
168
+ const { externalRef, hiddenUntilFound, id: idParam, keepMounted, mounted, onOpenChange, open: open2, setMounted, setOpen, transitionStatus } = parameters;
176
169
  const panelRef = React$1.useRef(null);
177
170
  const animationTypeRef = React$1.useRef(null);
178
171
  const [dimensions, setDimensionsUnwrapped] = React$1.useState(EMPTY_DIMENSIONS);
179
172
  const lastMeasuredDimensionsRef = React$1.useRef(EMPTY_DIMENSIONS);
180
173
  const shouldSkipNextOpenRef = React$1.useRef(false);
181
- const shouldPreventMountAnimationRef = React$1.useRef(open);
174
+ const shouldPreventMountAnimationRef = React$1.useRef(open2);
182
175
  const shouldPreventActivityResumeAnimationRef = React$1.useRef(false);
183
176
  const [forcePanelIdle, setForcePanelIdle] = React$1.useState(false);
184
177
  const pendingTemporaryStyleRestoreRef = React$1.useRef(null);
185
178
  const mergedPanelRef = useMergedRefs(externalRef, panelRef);
186
- const latestOpenRef = useValueAsRef(open);
179
+ const latestOpenRef = useValueAsRef(open2);
187
180
  const runOnceCloseAnimationsFinish = useAnimationsFinished(panelRef);
188
- const hidden = !open && !mounted;
181
+ const hidden = !open2 && !mounted;
189
182
  const panelTransitionStatus = forcePanelIdle ? "idle" : transitionStatus;
190
- const shouldPreventOpenAnimation = open && (shouldPreventMountAnimationRef.current || shouldPreventActivityResumeAnimationRef.current);
191
- const renderedDimensions = !open && mounted && animationTypeRef.current === "css-animation" && dimensions.height === void 0 && dimensions.width === void 0 ? lastMeasuredDimensionsRef.current : dimensions;
183
+ const shouldPreventOpenAnimation = open2 && (shouldPreventMountAnimationRef.current || shouldPreventActivityResumeAnimationRef.current);
184
+ const renderedDimensions = !open2 && mounted && animationTypeRef.current === "css-animation" && dimensions.height === void 0 && dimensions.width === void 0 ? lastMeasuredDimensionsRef.current : dimensions;
192
185
  const shouldPersistHiddenTransitionStyles = hiddenUntilFound && hidden && animationTypeRef.current !== "css-animation";
193
186
  const setDimensions = useStableCallback((nextDimensions, shouldCacheMeasurement = true) => {
194
187
  if (shouldCacheMeasurement) lastMeasuredDimensionsRef.current = nextDimensions;
@@ -206,7 +199,7 @@ function useCollapsiblePanel(parameters) {
206
199
  };
207
200
  });
208
201
  const markActivityResumeAnimationSuppressed = useStableCallback(() => {
209
- if (open && mounted && animationTypeRef.current === "css-animation") shouldPreventActivityResumeAnimationRef.current = true;
202
+ if (open2 && mounted && animationTypeRef.current === "css-animation") shouldPreventActivityResumeAnimationRef.current = true;
210
203
  });
211
204
  useIsoLayoutEffect(() => {
212
205
  if (!forcePanelIdle || transitionStatus === "starting") return;
@@ -221,14 +214,14 @@ function useCollapsiblePanel(parameters) {
221
214
  useIsoLayoutEffect(() => {
222
215
  const panel = panelRef.current;
223
216
  if (!panel) return;
224
- if (!open && pendingTemporaryStyleRestoreRef.current) restorePendingTemporaryStyle();
217
+ if (!open2 && pendingTemporaryStyleRestoreRef.current) restorePendingTemporaryStyle();
225
218
  const animationType = getAnimationType(panel, shouldPreventOpenAnimation);
226
219
  animationTypeRef.current = animationType;
227
- if (open && transitionStatus === "idle" && shouldPreventMountAnimationRef.current && animationType === "css-animation") {
220
+ if (open2 && transitionStatus === "idle" && shouldPreventMountAnimationRef.current && animationType === "css-animation") {
228
221
  lastMeasuredDimensionsRef.current = getDimensions(panel);
229
222
  return;
230
223
  }
231
- if (open && transitionStatus === "starting") {
224
+ if (open2 && transitionStatus === "starting") {
232
225
  const skipNextOpen = shouldSkipNextOpenRef.current;
233
226
  shouldSkipNextOpenRef.current = false;
234
227
  if (animationType === "none") {
@@ -257,7 +250,7 @@ function useCollapsiblePanel(parameters) {
257
250
  setForcePanelIdle(true);
258
251
  return;
259
252
  }
260
- if (!open && mounted && (transitionStatus === "idle" || transitionStatus === "starting")) {
253
+ if (!open2 && mounted && (transitionStatus === "idle" || transitionStatus === "starting")) {
261
254
  shouldPreventMountAnimationRef.current = false;
262
255
  shouldPreventActivityResumeAnimationRef.current = false;
263
256
  if (animationType === "none") {
@@ -282,7 +275,7 @@ function useCollapsiblePanel(parameters) {
282
275
  if (animationType === "css-animation") setTemporaryStyle(panel, "animation-name", "none")();
283
276
  }, [
284
277
  mounted,
285
- open,
278
+ open2,
286
279
  restorePendingTemporaryStyle,
287
280
  setDimensions,
288
281
  setMounted,
@@ -291,16 +284,16 @@ function useCollapsiblePanel(parameters) {
291
284
  transitionStatus
292
285
  ]);
293
286
  useOpenChangeComplete({
294
- enabled: open && mounted && panelTransitionStatus === "idle",
287
+ enabled: open2 && mounted && panelTransitionStatus === "idle",
295
288
  open: true,
296
289
  ref: panelRef,
297
290
  onComplete() {
298
- if (!open) return;
291
+ if (!open2) return;
299
292
  setDimensions(EMPTY_DIMENSIONS, false);
300
293
  }
301
294
  });
302
295
  React$1.useEffect(() => {
303
- if (open || !mounted || panelTransitionStatus !== "ending") return;
296
+ if (open2 || !mounted || panelTransitionStatus !== "ending") return;
304
297
  if (!panelRef.current) return;
305
298
  const abortController = new AbortController();
306
299
  let endingStyleFrame = -1;
@@ -319,7 +312,7 @@ function useCollapsiblePanel(parameters) {
319
312
  }, [
320
313
  latestOpenRef,
321
314
  mounted,
322
- open,
315
+ open2,
323
316
  panelTransitionStatus,
324
317
  runOnceCloseAnimationsFinish,
325
318
  setDimensions,
@@ -342,11 +335,11 @@ function useCollapsiblePanel(parameters) {
342
335
  }
343
336
  return addEventListener(panel, "beforematch", handleBeforeMatch);
344
337
  }, [onOpenChange, setOpen]);
345
- const shouldRender = keepMounted || hiddenUntilFound || mounted || open;
338
+ const shouldRender = keepMounted || hiddenUntilFound || mounted || open2;
346
339
  return {
347
340
  height: renderedDimensions.height,
348
341
  props: {
349
- ...shouldPersistHiddenTransitionStyles ? { [CollapsiblePanelDataAttributes.startingStyle]: "" } : void 0,
342
+ ...shouldPersistHiddenTransitionStyles ? { [startingStyle2]: "" } : void 0,
350
343
  hidden,
351
344
  id: idParam
352
345
  },
@@ -412,14 +405,11 @@ function resetLayoutStyles(element) {
412
405
  restoreLayoutStyles();
413
406
  };
414
407
  }
415
- var CollapsiblePanelCssVars = /* @__PURE__ */ (function(CollapsiblePanelCssVars2) {
416
- CollapsiblePanelCssVars2["collapsiblePanelHeight"] = "--collapsible-panel-height";
417
- CollapsiblePanelCssVars2["collapsiblePanelWidth"] = "--collapsible-panel-width";
418
- return CollapsiblePanelCssVars2;
419
- })({});
408
+ var collapsiblePanelHeight = "--collapsible-panel-height";
409
+ var collapsiblePanelWidth = "--collapsible-panel-width";
420
410
  var CollapsiblePanel = /* @__PURE__ */ React$1.forwardRef(function CollapsiblePanel2(componentProps, forwardedRef) {
421
411
  const { className, hiddenUntilFound: hiddenUntilFoundProp, keepMounted: keepMountedProp, render, id: idProp, style, ...elementProps } = componentProps;
422
- const { defaultPanelId, mounted, onOpenChange, open, setMounted, setPanelIdState, setOpen, state, transitionStatus } = useCollapsibleRootContext();
412
+ const { defaultPanelId, mounted, onOpenChange, open: open2, setMounted, setPanelIdState, setOpen, state, transitionStatus } = useCollapsibleRootContext();
423
413
  const hiddenUntilFound = hiddenUntilFoundProp ?? false;
424
414
  const keepMounted = keepMountedProp ?? false;
425
415
  const registeredId = idProp || void 0;
@@ -437,7 +427,7 @@ var CollapsiblePanel = /* @__PURE__ */ React$1.forwardRef(function CollapsiblePa
437
427
  keepMounted,
438
428
  mounted,
439
429
  onOpenChange,
440
- open,
430
+ open: open2,
441
431
  setMounted,
442
432
  setOpen,
443
433
  transitionStatus
@@ -456,8 +446,8 @@ var CollapsiblePanel = /* @__PURE__ */ React$1.forwardRef(function CollapsiblePa
456
446
  props: [
457
447
  props,
458
448
  { style: {
459
- [CollapsiblePanelCssVars.collapsiblePanelHeight]: height === void 0 ? "auto" : `${height}px`,
460
- [CollapsiblePanelCssVars.collapsiblePanelWidth]: width === void 0 ? "auto" : `${width}px`
449
+ [collapsiblePanelHeight]: height === void 0 ? "auto" : `${height}px`,
450
+ [collapsiblePanelWidth]: width === void 0 ? "auto" : `${width}px`
461
451
  } },
462
452
  elementProps,
463
453
  resolvedStyle ? { style: resolvedStyle } : void 0,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  cn
3
- } from "./chunk-DJMHPJBP.js";
3
+ } from "./chunk-CHEC7TWB.js";
4
4
 
5
- // web/app/dist/server/assets/src-DqMPYo0-.js
5
+ // web/app/dist/server/assets/src-Cc2hY_FC.js
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  function Card({ className, size = "default", ...props }) {
8
8
  return /* @__PURE__ */ jsx("div", {