@qredence/fleet 0.5.5 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/web/client/assets/action-swap-roll-BB8DFMuf.js +1 -0
  3. package/dist/web/client/assets/agent-activity-CDcDNVC6.js +1 -0
  4. package/dist/web/client/assets/agent-disclosure-B8SnhQXL.js +1 -0
  5. package/dist/web/client/assets/analytics-stub-B8MIkiDB.js +1 -0
  6. package/dist/web/client/assets/artifacts-panel-CmHYXfoo.js +1 -0
  7. package/dist/web/client/assets/button-BV9NafmI.js +1 -0
  8. package/dist/web/client/assets/chat-command-palette-DiG-i3uJ.js +1 -0
  9. package/dist/web/client/assets/check-JjHKAZas.js +1 -0
  10. package/dist/web/client/assets/chevron-up-CnSvySGH.js +1 -0
  11. package/dist/web/client/assets/circle-alert-CONlFReH.js +1 -0
  12. package/dist/web/client/assets/circle-x-CkKCB__4.js +1 -0
  13. package/dist/web/client/assets/citations-CpTFUvx7.js +2 -0
  14. package/dist/web/client/assets/collapsible-BoXtZZWN.js +1 -0
  15. package/dist/web/client/assets/command-Cx-UYeQ9.js +1 -0
  16. package/dist/web/client/assets/createBaseUIEventDetails-DV0dQrBX.js +1 -0
  17. package/dist/web/client/assets/dialog-Dh7WpGIu.js +1 -0
  18. package/dist/web/client/assets/dist-BPaFisIZ.js +41 -0
  19. package/dist/web/client/assets/earth-DGZXAN5r.js +1 -0
  20. package/dist/web/client/assets/ease-u56MhKYS.js +1 -0
  21. package/dist/web/client/assets/file-text-T-NcAlZs.js +1 -0
  22. package/dist/web/client/assets/fleet-message-queue-B6zAK-hX.js +1 -0
  23. package/dist/web/client/assets/{fleet-pi-tool-renderer-B0Y7ou0U.js → fleet-pi-tool-renderer-Btq9mDUe.js} +28 -28
  24. package/dist/web/client/assets/fleet-reasoning-panel-MtbSdoCv.js +1 -0
  25. package/dist/web/client/assets/fleet-subagent-list-iszvrvy_.js +1 -0
  26. package/dist/web/client/assets/fleet-tool-timeline-COzPrwr8.js +1 -0
  27. package/dist/web/client/assets/{fork-picker-dialog-C2cVJUbf.js → fork-picker-dialog-CAhWx0G5.js} +1 -1
  28. package/dist/web/client/assets/gauge-DNpstbBn.js +1 -0
  29. package/dist/web/client/assets/generative-text-renderer-C1JrmYfx.js +6 -0
  30. package/dist/web/client/assets/globals-Bfr0jrPq.css +2 -0
  31. package/dist/web/client/assets/horizontal-resize-Bl3AyBJg.js +1 -0
  32. package/dist/web/client/assets/image-BbPmlw-n.js +1 -0
  33. package/dist/web/client/assets/index-QgUwd4m8.js +12 -0
  34. package/dist/web/client/assets/input-Bol3TP4v.js +1 -0
  35. package/dist/web/client/assets/input-group-D5gi9zBK.js +1 -0
  36. package/dist/web/client/assets/{markdown-DG7pUdsX.js → markdown-RD_ydkyD.js} +2 -2
  37. package/dist/web/client/assets/{markdown-code-BgMzpy7O.js → markdown-code-ETqXqY8E.js} +1 -1
  38. package/dist/web/client/assets/message-square-hbDao-A1.js +1 -0
  39. package/dist/web/client/assets/model-selector-list-CJY9pyt2.js +1 -0
  40. package/dist/web/client/assets/notify-DKTqXChG.js +1 -0
  41. package/dist/web/client/assets/{openui-renderer-CCfQqUfE.js → openui-renderer-BZMghkzQ.js} +7 -7
  42. package/dist/web/client/assets/prompt-suggestions-CXM6knMK.js +1 -0
  43. package/dist/web/client/assets/provider-catalog-CHKFGwHr.js +1 -0
  44. package/dist/web/client/assets/provider-label-KkqVX1CI.js +1 -0
  45. package/dist/web/client/assets/range-BWOHiLNe.js +1 -0
  46. package/dist/web/client/assets/refresh-cw-IThTJ3j-.js +1 -0
  47. package/dist/web/client/assets/{resource-helpers-ULlyU8qK.js → resource-helpers-Q2T0YCMO.js} +1 -1
  48. package/dist/web/client/assets/resources-panel-Bo8dfUdm.js +1 -0
  49. package/dist/web/client/assets/right-panel-context-B2VAZ2p4.js +1 -0
  50. package/dist/web/client/assets/right-panel-registry-C5fQcBKw.js +2 -0
  51. package/dist/web/client/assets/routes-C1hRkRkv.js +16 -0
  52. package/dist/web/client/assets/safe-external-url-D3PJJIcM.js +1 -0
  53. package/dist/web/client/assets/settings-dialog-CvvM6T0m.js +1 -0
  54. package/dist/web/client/assets/{sparkles-C5H3Jtgf.js → shield-check-CkA2viVW.js} +1 -1
  55. package/dist/web/client/assets/{skeleton-loaders-fStjEeRP.js → skeleton-loaders-DjGv9LLA.js} +1 -1
  56. package/dist/web/client/assets/sparkles-DuclzqlE.js +1 -0
  57. package/dist/web/client/assets/{subagent-chat-panel-D-qw4uWb.js → subagent-chat-panel-tGCg6gcn.js} +1 -1
  58. package/dist/web/client/assets/subagent-transcript-NO0PR8RU.js +1 -0
  59. package/dist/web/client/assets/subagent-utils-CQbaJ1g-.js +1 -0
  60. package/dist/web/client/assets/subagents-panel-BkFLsQQY.js +1 -0
  61. package/dist/web/client/assets/surfaces-cW-gp56p.js +1 -0
  62. package/dist/web/client/assets/switch-CcOFiQBK.js +1 -0
  63. package/dist/web/client/assets/terminal-DOS1s1gm.js +1 -0
  64. package/dist/web/client/assets/toast-ATq44uAL.js +1 -0
  65. package/dist/web/client/assets/tool-result-pklnrxSW.js +4 -0
  66. package/dist/web/client/assets/use-reduced-motion-eORd7fqW.js +9 -0
  67. package/dist/web/client/assets/useBaseUiId-CHqXB2UQ.js +1 -0
  68. package/dist/web/client/assets/useControlled-CJJ9BOQB.js +1 -0
  69. package/dist/web/client/assets/workspace-panel-BmMW7h7b.js +1 -0
  70. package/dist/web/client/assets/wrench-BJNNe07k.js +1 -0
  71. package/dist/web/client/assets/x-CsRC_tCI.js +1 -0
  72. package/dist/web/client/bundle-budget.json +10 -0
  73. package/dist/web/server/{_tanstack-start-manifest_v-DZc7dwm7-6ZQLGXB7.js → _tanstack-start-manifest_v-B4BnRTa_-DR7WQTT5.js} +35 -27
  74. package/dist/web/server/agent-activity-Dx6AlDhN-JXOL2EXK.js +514 -0
  75. package/dist/web/server/{artifacts-panel-Bt7YUzm4-NCBMXJ25.js → artifacts-panel-CloS3-ij-XWYXKL6A.js} +26 -18
  76. package/dist/web/server/{chat-command-palette-Co1L3rUY-RQLNME4T.js → chat-command-palette-Cc0uGvNm-GKENKTO7.js} +23 -18
  77. package/dist/web/server/{chunk-2V6B62OF.js → chunk-3B6M63AO.js} +12 -15
  78. package/dist/web/server/chunk-3D4Z32XA.js +22 -0
  79. package/dist/web/server/{chunk-SR65ARVS.js → chunk-3SSHBMDS.js} +16 -12
  80. package/dist/web/server/chunk-4PQ6OD6J.js +22 -0
  81. package/dist/web/server/chunk-56SEDI5N.js +19 -0
  82. package/dist/web/server/chunk-6QNW66XR.js +19 -0
  83. package/dist/web/server/chunk-744IIIDL.js +19 -0
  84. package/dist/web/server/{chunk-52SJQXO4.js → chunk-7PQTPSEE.js} +568 -568
  85. package/dist/web/server/{chunk-LSIHVSUT.js → chunk-7SR6WDM2.js} +2 -2
  86. package/dist/web/server/chunk-ANL4B775.js +60 -0
  87. package/dist/web/server/chunk-BNQWMQHD.js +35 -0
  88. package/dist/web/server/{chunk-BLVCDQ7E.js → chunk-C5X6G26O.js} +1 -19
  89. package/dist/web/server/chunk-C66BSNA6.js +42 -0
  90. package/dist/web/server/{chunk-XLCTCC4W.js → chunk-DEUBJJZN.js} +4 -59
  91. package/dist/web/server/chunk-E365EOXJ.js +35 -0
  92. package/dist/web/server/{chunk-5WZFFNFY.js → chunk-EFAGCVZ3.js} +2 -23
  93. package/dist/web/server/{chunk-56HSKUBD.js → chunk-EGQ6ZX4D.js} +23 -298
  94. package/dist/web/server/{chunk-TO3YPLNZ.js → chunk-EKBKGAWX.js} +12 -10
  95. package/dist/web/server/{chunk-5RQ6QAZX.js → chunk-F6MGAW3L.js} +2 -2
  96. package/dist/web/server/chunk-GABXCOY3.js +37 -0
  97. package/dist/web/server/chunk-GV7DJIHY.js +36 -0
  98. package/dist/web/server/{chunk-6D524OCJ.js → chunk-HSJMLO36.js} +6 -253
  99. package/dist/web/server/{chunk-46VQY7SG.js → chunk-HU4AIJV3.js} +4 -4
  100. package/dist/web/server/{chunk-PDRD2X5G.js → chunk-HZY3LBGP.js} +145 -1
  101. package/dist/web/server/{chunk-UKINNXJY.js → chunk-J6MRJXUH.js} +22 -15
  102. package/dist/web/server/{chunk-RX62LUDV.js → chunk-JOSTE7WK.js} +7 -5
  103. package/dist/web/server/{chunk-QJBEWT4E.js → chunk-K3BXQG3N.js} +27 -292
  104. package/dist/web/server/chunk-K4ESBQ3R.js +20 -0
  105. package/dist/web/server/{chunk-3HUI75QM.js → chunk-KZSM3BHO.js} +16 -107
  106. package/dist/web/server/chunk-L46H6IDX.js +13 -0
  107. package/dist/web/server/chunk-LNGWHEE6.js +206 -0
  108. package/dist/web/server/{chunk-WZNZQNI4.js → chunk-MOSVTKH5.js} +39 -36
  109. package/dist/web/server/{chunk-MDYA4NXK.js → chunk-NJRYX4A2.js} +4 -4
  110. package/dist/web/server/chunk-NNMZQN7Q.js +296 -0
  111. package/dist/web/server/{chunk-AWFOBHH4.js → chunk-NPPG2GTW.js} +7 -7
  112. package/dist/web/server/{chunk-Y4MHIA7B.js → chunk-PJNYH5SR.js} +7 -295
  113. package/dist/web/server/{chunk-7APYEQIO.js → chunk-QAE5SXDK.js} +1 -24
  114. package/dist/web/server/chunk-QTFCJGOY.js +189 -0
  115. package/dist/web/server/{chunk-AECEK3K7.js → chunk-RANJ6OJ3.js} +9 -9
  116. package/dist/web/server/chunk-RPBSDXJ4.js +62 -0
  117. package/dist/web/server/{chunk-VRLTWOVJ.js → chunk-RYHIJMFD.js} +57 -33
  118. package/dist/web/server/{chunk-NLIUTTKL.js → chunk-S3PQ6HKH.js} +1 -16
  119. package/dist/web/server/chunk-SG4W4SPQ.js +31 -0
  120. package/dist/web/server/{chunk-LESNF5O4.js → chunk-T23OO4SC.js} +2 -11
  121. package/dist/web/server/{chunk-BEMDNODD.js → chunk-UNZJQ7CY.js} +6 -4
  122. package/dist/web/server/chunk-V3S6BVXO.js +22 -0
  123. package/dist/web/server/{chunk-SZ65K4CO.js → chunk-W5GRNHV5.js} +6 -4
  124. package/dist/web/server/{chunk-FZRBAPUM.js → chunk-XKYEXPLQ.js} +2 -17
  125. package/dist/web/server/{chunk-6GMKRR3C.js → chunk-XNYQSCB2.js} +2 -2
  126. package/dist/web/server/chunk-YHXAXJ6I.js +22 -0
  127. package/dist/web/server/chunk-YLMXYMLG.js +86 -0
  128. package/dist/web/server/chunk-YNGDUWCF.js +56 -0
  129. package/dist/web/server/chunk-ZJFA4F5X.js +280 -0
  130. package/dist/web/server/fleet-message-queue-Bn0_3Efe-G4BZR2EU.js +74 -0
  131. package/dist/web/server/fleet-pi-tool-renderer-C52SZmPx-CIAH3IV7.js +51 -0
  132. package/dist/web/server/fleet-reasoning-panel-C_e7wzVm-SDHEWDQT.js +199 -0
  133. package/dist/web/server/fleet-subagent-list-CQltKswG-EKCMQHDI.js +18 -0
  134. package/dist/web/server/fleet-tool-timeline-KENErMKg-HTN7SW3D.js +16 -0
  135. package/dist/web/server/{fork-picker-dialog-DCzuGelH-TN2Q5OXI.js → fork-picker-dialog-DK9YGQuB-4QEFWRU4.js} +6 -5
  136. package/dist/web/server/{markdown-Boni3lHk-AZGKDNAR.js → markdown-QcSUaLyd-6DJUK5NC.js} +1 -1
  137. package/dist/web/server/{markdown-code-BrWukbg3-D2GN4Y77.js → markdown-code-Dyo1_13a-52ZQZSPE.js} +2 -2
  138. package/dist/web/server/model-selector-list-CEfWjRc--GBW2GUO6.js +289 -0
  139. package/dist/web/server/{openui-renderer-c36_GYes-HX46N4M5.js → openui-renderer-Dk0Ak9cW-MUJQHDAS.js} +16 -13
  140. package/dist/web/server/prompt-suggestions-BOmHi4-J-C563CHFU.js +30 -0
  141. package/dist/web/server/{resources-panel-CwKh4U9f-D3VDEMDW.js → resources-panel-B03M8bEp-SZG726N5.js} +7 -6
  142. package/dist/web/server/{router-_ZpegqiQ-QIE44PIB.js → router-BE9HcX2W-JMQ3JWE5.js} +39 -24
  143. package/dist/web/server/{routes-Ct81-8Tq-LHRMOS7R.js → routes-CJTRGB1Z-WJKXJFFT.js} +704 -1463
  144. package/dist/web/server/server.js +2 -2
  145. package/dist/web/server/{settings-dialog-B4uUS6f--AZ4I4ZOT.js → settings-dialog-yDibpbBH-TCLJ7NRJ.js} +42 -31
  146. package/dist/web/server/{subagent-chat-panel-C97S3WID-DLOAD5TG.js → subagent-chat-panel-B1YoZIKO-DFRUDQJ2.js} +39 -20
  147. package/dist/web/server/{subagents-panel-iHpvMIZy-LI6XK66M.js → subagents-panel-dJJwpsEL-FTWWCHND.js} +41 -22
  148. package/dist/web/server/{workspace-panel-CHPoiXEo-YB4WS3MK.js → workspace-panel-BC_H8Jri-5MHAEQQS.js} +22 -18
  149. package/package.json +1 -1
  150. package/dist/web/client/assets/action-swap-roll-DX5o_33Q.js +0 -1
  151. package/dist/web/client/assets/analytics-stub-Jh3lkb8P.js +0 -1
  152. package/dist/web/client/assets/artifacts-panel-C3yewUBP.js +0 -1
  153. package/dist/web/client/assets/button-0At5xSyU.js +0 -1
  154. package/dist/web/client/assets/chat-command-palette-D0xDK1j4.js +0 -1
  155. package/dist/web/client/assets/command-CQzrtjyj.js +0 -2
  156. package/dist/web/client/assets/dialog-DZ44tBtH.js +0 -1
  157. package/dist/web/client/assets/dist-MNgIFxqY.js +0 -41
  158. package/dist/web/client/assets/ease-vFBiNFNK.js +0 -9
  159. package/dist/web/client/assets/file-text-BhQ0ZnoU.js +0 -1
  160. package/dist/web/client/assets/generative-text-renderer-SS9c1kNX.js +0 -6
  161. package/dist/web/client/assets/globals-D_Hy9bT1.css +0 -2
  162. package/dist/web/client/assets/horizontal-resize-C1TpRLNC.js +0 -1
  163. package/dist/web/client/assets/index-C9FloFgj.js +0 -12
  164. package/dist/web/client/assets/input-CqC82Agz.js +0 -1
  165. package/dist/web/client/assets/input-group-H0TG-mkU.js +0 -1
  166. package/dist/web/client/assets/notify-Duj26eeZ.js +0 -1
  167. package/dist/web/client/assets/provider-catalog-BZhZuKSz.js +0 -1
  168. package/dist/web/client/assets/provider-label-jKm8v18u.js +0 -1
  169. package/dist/web/client/assets/range-65lubOFp.js +0 -2
  170. package/dist/web/client/assets/resources-panel-DSU7VGX2.js +0 -1
  171. package/dist/web/client/assets/routes-DSTyx_J0.js +0 -16
  172. package/dist/web/client/assets/safe-external-url-Bl_78dpZ.js +0 -1
  173. package/dist/web/client/assets/settings-dialog-CkfpTKfM.js +0 -1
  174. package/dist/web/client/assets/subagent-transcript-C7oRwEEP.js +0 -1
  175. package/dist/web/client/assets/subagents-panel-aSMWZP9p.js +0 -1
  176. package/dist/web/client/assets/switch-BFEBpUEU.js +0 -1
  177. package/dist/web/client/assets/toast-C4s7FYYa.js +0 -1
  178. package/dist/web/client/assets/tool-result-C2NvnN32.js +0 -4
  179. package/dist/web/client/assets/useBaseUiId-B9f7fokB.js +0 -1
  180. package/dist/web/client/assets/useControlled-CoY1jSuL.js +0 -1
  181. package/dist/web/client/assets/workspace-panel-CjdXlEvd.js +0 -1
  182. package/dist/web/client/assets/x-BgciQ7_C.js +0 -1
  183. package/dist/web/server/fleet-pi-tool-renderer-CE45vM6T-2UQN6RJM.js +0 -37
@@ -1,46 +1,40 @@
1
1
  import {
2
- LazyMarkdown,
3
- Terminal,
4
- useHoverCapable
5
- } from "./chunk-3HUI75QM.js";
2
+ Image
3
+ } from "./chunk-GV7DJIHY.js";
6
4
  import {
7
5
  notify
8
- } from "./chunk-FZRBAPUM.js";
6
+ } from "./chunk-K4ESBQ3R.js";
7
+ import {
8
+ LazyMarkdown,
9
+ useHoverCapable
10
+ } from "./chunk-KZSM3BHO.js";
9
11
  import {
10
- CircleX,
11
- Copy,
12
- Wrench
13
- } from "./chunk-6D524OCJ.js";
12
+ Copy
13
+ } from "./chunk-LNGWHEE6.js";
14
14
  import {
15
15
  AnimatePresence,
16
- EASE_OUT,
17
- SPRING_LAYOUT,
18
- m,
19
16
  useReducedMotion
20
- } from "./chunk-QJBEWT4E.js";
21
- import {
22
- CircleCheck,
23
- LoaderCircle
24
- } from "./chunk-PKCTG7EW.js";
17
+ } from "./chunk-ZJFA4F5X.js";
25
18
  import {
26
19
  ChevronRight
27
20
  } from "./chunk-7QCDOBZ3.js";
21
+ import {
22
+ EASE_OUT,
23
+ SPRING_LAYOUT,
24
+ m
25
+ } from "./chunk-K3BXQG3N.js";
28
26
  import {
29
27
  segmentOpenUIContent
30
28
  } from "./chunk-NFRJDPB3.js";
31
- import {
32
- ChevronDown
33
- } from "./chunk-QLY3L4A2.js";
34
29
  import {
35
30
  Check
36
- } from "./chunk-NLIUTTKL.js";
31
+ } from "./chunk-6QNW66XR.js";
37
32
  import {
38
33
  X
39
- } from "./chunk-BLVCDQ7E.js";
34
+ } from "./chunk-YHXAXJ6I.js";
40
35
  import {
41
- CircleAlert,
42
36
  FileText
43
- } from "./chunk-7APYEQIO.js";
37
+ } from "./chunk-QAE5SXDK.js";
44
38
  import {
45
39
  createLucideIcon
46
40
  } from "./chunk-E26EAQIM.js";
@@ -48,7 +42,7 @@ import {
48
42
  cn
49
43
  } from "./chunk-DJMHPJBP.js";
50
44
 
51
- // web/app/dist/server/assets/generative-text-renderer-Cn-31rC8.js
45
+ // web/app/dist/server/assets/generative-text-renderer-DuVL688Q.js
52
46
  import { Suspense, cloneElement, createContext, lazy, memo, useCallback, useContext, useEffect, useEffectEvent, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
53
47
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
54
48
  import { createPortal } from "react-dom";
@@ -92,72 +86,6 @@ var FileCode = createLucideIcon("file-code", [
92
86
  key: "yinavb"
93
87
  }]
94
88
  ]);
95
- var FilePenLine = createLucideIcon("file-pen-line", [
96
- ["path", {
97
- d: "M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z",
98
- key: "ukzhwg"
99
- }],
100
- ["path", {
101
- d: "M14.487 7.858A1 1 0 0 1 14 7V2",
102
- key: "1klhew"
103
- }],
104
- ["path", {
105
- d: "M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516",
106
- key: "rxaxab"
107
- }],
108
- ["path", {
109
- d: "M8 18h1",
110
- key: "13wk12"
111
- }]
112
- ]);
113
- var FileSearch = createLucideIcon("file-search", [
114
- ["path", {
115
- d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
116
- key: "1oefj6"
117
- }],
118
- ["path", {
119
- d: "M14 2v5a1 1 0 0 0 1 1h5",
120
- key: "wfsgrz"
121
- }],
122
- ["circle", {
123
- cx: "11.5",
124
- cy: "14.5",
125
- r: "2.5",
126
- key: "1bq0ko"
127
- }],
128
- ["path", {
129
- d: "M13.3 16.3 15 18",
130
- key: "2quom7"
131
- }]
132
- ]);
133
- var Image = createLucideIcon("image", [
134
- ["rect", {
135
- width: "18",
136
- height: "18",
137
- x: "3",
138
- y: "3",
139
- rx: "2",
140
- ry: "2",
141
- key: "1m3agn"
142
- }],
143
- ["circle", {
144
- cx: "9",
145
- cy: "9",
146
- r: "2",
147
- key: "af1f0g"
148
- }],
149
- ["path", {
150
- d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
151
- key: "1xmnt7"
152
- }]
153
- ]);
154
- var RotateCw = createLucideIcon("rotate-cw", [["path", {
155
- d: "M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",
156
- key: "1p45f6"
157
- }], ["path", {
158
- d: "M21 3v5h-5",
159
- key: "1q7to0"
160
- }]]);
161
89
  var MessageSideContext = createContext(void 0);
162
90
  var MessageBubbleContext = createContext({
163
91
  animateIn: true,
@@ -592,8 +520,8 @@ function useMessageScrollerRail({ navigation, followThreshold, contentRef, viewp
592
520
  scheduleRailSync,
593
521
  scrollToRailItem: useCallback((item) => {
594
522
  const viewport = viewportRef.current;
595
- const target2 = railTargetsRef.current.get(item.id);
596
- if (!viewport || !target2) return;
523
+ const target = railTargetsRef.current.get(item.id);
524
+ if (!viewport || !target) return;
597
525
  const lastItem = railItems.at(-1)?.id === item.id;
598
526
  setActiveRailId(item.id);
599
527
  if (lastItem) {
@@ -604,7 +532,7 @@ function useMessageScrollerRail({ navigation, followThreshold, contentRef, viewp
604
532
  setFollowing(false);
605
533
  markProgrammaticScroll(reduce || !smooth ? "auto" : "smooth");
606
534
  const viewportRect = viewport.getBoundingClientRect();
607
- const targetRect = target2.getBoundingClientRect();
535
+ const targetRect = target.getBoundingClientRect();
608
536
  const top = viewport.scrollTop + targetRect.top - viewportRect.top - (viewport.clientHeight - targetRect.height) / 2;
609
537
  const behavior = reduce || !smooth ? "auto" : "smooth";
610
538
  if (typeof viewport.scrollTo === "function") viewport.scrollTo({
@@ -1536,204 +1464,6 @@ function AssistantParts({ msg, isLast, isStreaming, suppressQuestionTool, ToolRe
1536
1464
  children: elements
1537
1465
  });
1538
1466
  }
1539
- function orderedRlmChildren(children, tree) {
1540
- const byId = new Map(children.map((child) => [child.id, child]));
1541
- const visited = /* @__PURE__ */ new Set();
1542
- const ordered = [];
1543
- const visit = (id) => {
1544
- if (visited.has(id)) return;
1545
- visited.add(id);
1546
- const child = byId.get(id);
1547
- if (child) ordered.push(child);
1548
- for (const nextId of tree?.nodes[id]?.childrenIds ?? []) visit(nextId);
1549
- };
1550
- for (const id of tree?.rootChildrenIds ?? []) visit(id);
1551
- for (const child of children) visit(child.id);
1552
- return ordered;
1553
- }
1554
- function rlmStatusIcon(status2) {
1555
- if (status2 === "done") return /* @__PURE__ */ jsx(CircleCheck, { className: "size-3.5 text-emerald-600 dark:text-emerald-400" });
1556
- if (status2 === "error" || status2 === "failed") return /* @__PURE__ */ jsx(CircleAlert, { className: "size-3.5 text-destructive" });
1557
- if (status2 === "cancelled") return /* @__PURE__ */ jsx(CircleX, { className: "size-3.5 text-muted-foreground" });
1558
- if (status2 === "recovering") return /* @__PURE__ */ jsx(RotateCw, { className: "size-3.5 animate-spin text-amber-500 dark:text-amber-400" });
1559
- return /* @__PURE__ */ jsx(LoaderCircle, { className: "size-3.5 animate-spin text-blue-600 dark:text-blue-400" });
1560
- }
1561
- function FleetSubagentList({ children, tree, className }) {
1562
- const agents = useMemo(() => orderedRlmChildren(children, tree), [children, tree]);
1563
- const active = agents.some((child) => child.status === "queued" || child.status === "running" || child.status === "recovering");
1564
- const [open, setOpen] = useState(active);
1565
- if (agents.length === 0) return null;
1566
- return /* @__PURE__ */ jsxs("section", {
1567
- className: cn("mt-2 rounded-xl border border-border/60 bg-muted/20", className),
1568
- children: [/* @__PURE__ */ jsxs("button", {
1569
- type: "button",
1570
- "aria-expanded": open || active,
1571
- onClick: () => setOpen((current) => !current),
1572
- 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",
1573
- children: [
1574
- 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" }),
1575
- /* @__PURE__ */ jsx("span", {
1576
- className: "flex-1 font-medium",
1577
- children: active ? "Subagents working" : "Subagents completed"
1578
- }),
1579
- /* @__PURE__ */ jsx("span", {
1580
- className: "text-xs text-muted-foreground",
1581
- children: agents.length
1582
- }),
1583
- /* @__PURE__ */ jsx(ChevronDown, { className: cn("size-3.5 text-muted-foreground transition-transform", (open || active) && "rotate-180") })
1584
- ]
1585
- }), open || active ? /* @__PURE__ */ jsx("div", {
1586
- className: "space-y-1 border-t border-border/50 px-3 py-2",
1587
- children: agents.map((child) => /* @__PURE__ */ jsxs("div", {
1588
- className: "flex min-w-0 items-start gap-2",
1589
- style: { paddingLeft: `${Math.max(0, child.depth ?? 0) * 12}px` },
1590
- children: [
1591
- /* @__PURE__ */ jsx("span", {
1592
- className: "mt-0.5 shrink-0",
1593
- children: rlmStatusIcon(child.status)
1594
- }),
1595
- /* @__PURE__ */ jsxs("div", {
1596
- className: "min-w-0 flex-1",
1597
- children: [/* @__PURE__ */ jsxs("div", {
1598
- className: "flex min-w-0 items-baseline gap-2",
1599
- children: [/* @__PURE__ */ jsx("span", {
1600
- className: "truncate text-sm text-foreground/85",
1601
- children: child.label
1602
- }), child.model ? /* @__PURE__ */ jsx("span", {
1603
- className: "truncate font-mono text-[10px] text-muted-foreground",
1604
- children: child.model
1605
- }) : null]
1606
- }), child.answerPreview || child.activity?.toolName || child.error ? /* @__PURE__ */ jsx("p", {
1607
- className: "truncate text-xs text-muted-foreground",
1608
- children: child.error ?? child.answerPreview ?? child.activity?.toolName
1609
- }) : null]
1610
- }),
1611
- /* @__PURE__ */ jsx("span", {
1612
- className: "shrink-0 text-[10px] capitalize text-muted-foreground",
1613
- children: child.status
1614
- })
1615
- ]
1616
- }, child.id))
1617
- }) : null]
1618
- });
1619
- }
1620
- function record(value) {
1621
- return typeof value === "object" && value !== null && !Array.isArray(value) ? value : void 0;
1622
- }
1623
- function target(input, fallback) {
1624
- const source = record(input);
1625
- for (const key of [
1626
- "path",
1627
- "filePath",
1628
- "command",
1629
- "cmd",
1630
- "query",
1631
- "pattern",
1632
- "code"
1633
- ]) if (typeof source?.[key] === "string" && source[key]) return source[key];
1634
- return fallback;
1635
- }
1636
- function status(part, streaming) {
1637
- const state = part.state;
1638
- if (state === "output-error" || state === "error") return "error";
1639
- if (state === "cancelled" || state === "canceled" || state === "aborted") return "cancelled";
1640
- if (state === "input-streaming" || state === "streaming") return streaming ? "running" : "cancelled";
1641
- return streaming && part.output === void 0 && part.result === void 0 ? "running" : "complete";
1642
- }
1643
- function toolStep(part, fallbackId, streaming) {
1644
- const type = part.type;
1645
- if (typeof type !== "string" || !type.startsWith("tool-") || type === "tool-FleetReasoning" || type === "tool-Thinking") return void 0;
1646
- const name = type.slice(5);
1647
- const lower = name.toLowerCase();
1648
- const icon = lower.includes("edit") || lower.includes("write") || lower.includes("patch") ? FilePenLine : lower.includes("read") || lower.includes("search") || lower.includes("grep") || lower.includes("glob") ? FileSearch : lower.includes("bash") || lower.includes("shell") || lower.includes("python") || lower.includes("ipython") ? Terminal : Wrench;
1649
- const verb = lower.includes("edit") || lower.includes("write") || lower.includes("patch") ? "Edited" : lower.includes("read") ? "Read" : lower.includes("search") || lower.includes("grep") || lower.includes("glob") ? "Searched" : lower.includes("bash") || lower.includes("shell") || lower.includes("python") || lower.includes("ipython") ? "Ran" : name;
1650
- return {
1651
- id: typeof part.toolCallId === "string" ? part.toolCallId : fallbackId,
1652
- icon,
1653
- verb,
1654
- target: target(part.input ?? part.args, name),
1655
- status: status(part, streaming)
1656
- };
1657
- }
1658
- function artifactStep(artifact) {
1659
- const icon = artifact.kind === "diff" ? FilePenLine : artifact.kind === "bash" || artifact.kind === "ipython" ? Terminal : Wrench;
1660
- return {
1661
- id: `artifact:${artifact.id}`,
1662
- icon,
1663
- verb: artifact.kind === "compaction" ? "Compacted" : artifact.kind === "refinement" ? "Refined" : artifact.kind === "recap" ? "Recapped" : artifact.kind === "rlm" ? "Delegated" : artifact.kind === "diff" ? "Edited" : "Completed",
1664
- target: artifact.title,
1665
- status: artifact.status === "success" ? "complete" : artifact.status
1666
- };
1667
- }
1668
- function statusClass(status2) {
1669
- if (status2 === "running") return "text-blue-600 dark:text-blue-400";
1670
- if (status2 === "error") return "text-destructive";
1671
- if (status2 === "cancelled") return "text-muted-foreground";
1672
- return "text-emerald-600 dark:text-emerald-400";
1673
- }
1674
- function FleetToolTimeline({ messages, artifacts = [], streaming, className }) {
1675
- const steps = useMemo(() => {
1676
- const seen = /* @__PURE__ */ new Set();
1677
- const fromMessages = messages.flatMap((message) => message.parts.flatMap((part, index) => {
1678
- const step = toolStep(record(part) ?? {}, `${message.id}:${index}`, streaming);
1679
- if (!step || seen.has(step.id)) return [];
1680
- seen.add(step.id);
1681
- return [step];
1682
- }));
1683
- const fromArtifacts = artifacts.flatMap((artifact) => {
1684
- if (artifact.sourceToolCallId && seen.has(artifact.sourceToolCallId)) return [];
1685
- const step = artifactStep(artifact);
1686
- if (seen.has(step.id)) return [];
1687
- seen.add(step.id);
1688
- return [step];
1689
- });
1690
- return [...fromMessages, ...fromArtifacts];
1691
- }, [
1692
- artifacts,
1693
- messages,
1694
- streaming
1695
- ]);
1696
- const [open, setOpen] = useState(true);
1697
- if (steps.length === 0) return null;
1698
- const active = steps.at(-1);
1699
- const ActiveIcon = active?.icon;
1700
- return /* @__PURE__ */ jsxs("section", {
1701
- className: cn("mb-2 rounded-xl border border-border/60 bg-muted/20", className),
1702
- children: [/* @__PURE__ */ jsxs("button", {
1703
- type: "button",
1704
- "aria-expanded": open,
1705
- onClick: () => setOpen((current) => !current),
1706
- 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",
1707
- children: [
1708
- active && ActiveIcon ? /* @__PURE__ */ jsx(ActiveIcon, { className: cn("size-3.5 shrink-0", statusClass(active.status), active.status === "running" && "animate-pulse") }) : null,
1709
- /* @__PURE__ */ jsx("span", {
1710
- className: "min-w-0 flex-1 truncate font-medium",
1711
- children: streaming && active ? `${active.verb} ${active.target}` : `${steps.length} tool ${steps.length === 1 ? "action" : "actions"}`
1712
- }),
1713
- /* @__PURE__ */ jsx(ChevronDown, { className: cn("size-3.5 text-muted-foreground transition-transform", open && "rotate-180") })
1714
- ]
1715
- }), open ? /* @__PURE__ */ jsx("div", {
1716
- className: "space-y-1 border-t border-border/50 px-3 py-2",
1717
- children: steps.map((step) => {
1718
- const Icon = step.icon;
1719
- return /* @__PURE__ */ jsxs("div", {
1720
- className: "flex min-w-0 items-center gap-2 text-xs",
1721
- children: [
1722
- /* @__PURE__ */ jsx(Icon, { className: cn("size-3.5 shrink-0", statusClass(step.status)) }),
1723
- /* @__PURE__ */ jsx("span", {
1724
- className: "shrink-0 text-muted-foreground",
1725
- children: step.verb
1726
- }),
1727
- /* @__PURE__ */ jsx("span", {
1728
- className: "min-w-0 flex-1 truncate font-mono text-foreground/75",
1729
- children: step.target
1730
- })
1731
- ]
1732
- }, step.id);
1733
- })
1734
- }) : null]
1735
- });
1736
- }
1737
1467
  function groupMessages(messages) {
1738
1468
  const turns = [];
1739
1469
  let current;
@@ -1757,7 +1487,7 @@ function groupMessages(messages) {
1757
1487
  if (current) turns.push(current);
1758
1488
  return turns;
1759
1489
  }
1760
- var LazyGenerativeTextRenderer = lazy(() => import("./openui-renderer-c36_GYes-HX46N4M5.js").then((n) => n.n).then(({ GenerativeTextRenderer }) => ({ default: GenerativeTextRenderer })));
1490
+ var LazyGenerativeTextRenderer = lazy(() => import("./openui-renderer-Dk0Ak9cW-MUJQHDAS.js").then((n) => n.n).then(({ GenerativeTextRenderer }) => ({ default: GenerativeTextRenderer })));
1761
1491
  function PlainTextFallback({ className, content }) {
1762
1492
  return /* @__PURE__ */ jsx("div", {
1763
1493
  className: className ? `${className} whitespace-pre-wrap` : "whitespace-pre-wrap",
@@ -1780,7 +1510,6 @@ function FleetGenerativeTextRenderer(props) {
1780
1510
 
1781
1511
  export {
1782
1512
  ChevronLeft,
1783
- Image,
1784
1513
  MessageBubble,
1785
1514
  MessageBubbleContent,
1786
1515
  MessageScroller,
@@ -1790,10 +1519,6 @@ export {
1790
1519
  UserMessage,
1791
1520
  normalizeAssistantToolParts,
1792
1521
  buildAssistantElements,
1793
- orderedRlmChildren,
1794
- rlmStatusIcon,
1795
- FleetSubagentList,
1796
- FleetToolTimeline,
1797
1522
  groupMessages,
1798
1523
  FleetGenerativeTextRenderer
1799
1524
  };
@@ -8,11 +8,7 @@ import {
8
8
  useLabelableContext,
9
9
  useLabelableId,
10
10
  useRegisterFieldControl
11
- } from "./chunk-AWFOBHH4.js";
12
- import {
13
- Check,
14
- useControlled
15
- } from "./chunk-NLIUTTKL.js";
11
+ } from "./chunk-NPPG2GTW.js";
16
12
  import {
17
13
  COMPOSITE_KEYS,
18
14
  FOCUSABLE_POPUP_PROPS,
@@ -35,7 +31,7 @@ import {
35
31
  useFloatingTree,
36
32
  useScrollLock,
37
33
  useSurface
38
- } from "./chunk-RX62LUDV.js";
34
+ } from "./chunk-JOSTE7WK.js";
39
35
  import {
40
36
  ARROW_DOWN,
41
37
  ARROW_LEFT,
@@ -66,11 +62,17 @@ import {
66
62
  visuallyHidden,
67
63
  visuallyHiddenInput,
68
64
  webkit
69
- } from "./chunk-5RQ6QAZX.js";
65
+ } from "./chunk-F6MGAW3L.js";
66
+ import {
67
+ Check
68
+ } from "./chunk-6QNW66XR.js";
69
+ import {
70
+ useControlled
71
+ } from "./chunk-S3PQ6HKH.js";
70
72
  import {
71
73
  useTransitionStatus,
72
74
  useValueAsRef
73
- } from "./chunk-LSIHVSUT.js";
75
+ } from "./chunk-7SR6WDM2.js";
74
76
  import {
75
77
  EMPTY_ARRAY,
76
78
  EMPTY_OBJECT,
@@ -112,12 +114,12 @@ import {
112
114
  useRenderElement,
113
115
  useStableCallback,
114
116
  windowResize
115
- } from "./chunk-BLVCDQ7E.js";
117
+ } from "./chunk-C5X6G26O.js";
116
118
  import {
117
119
  cn
118
120
  } from "./chunk-DJMHPJBP.js";
119
121
 
120
- // web/app/dist/server/assets/select-CeifMPbt.js
122
+ // web/app/dist/server/assets/select-z_tHDChF.js
121
123
  import * as React$1 from "react";
122
124
  import { useLayoutEffect } from "react";
123
125
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -17,7 +17,7 @@ import {
17
17
  useRefWithInit,
18
18
  useRenderElement,
19
19
  useStableCallback
20
- } from "./chunk-BLVCDQ7E.js";
20
+ } from "./chunk-C5X6G26O.js";
21
21
  import {
22
22
  cn
23
23
  } from "./chunk-DJMHPJBP.js";
@@ -30,7 +30,7 @@ import {
30
30
  __toESM
31
31
  } from "./chunk-L547YHC4.js";
32
32
 
33
- // web/app/dist/server/assets/FloatingPortal-KDP5UEZ3.js
33
+ // web/app/dist/server/assets/FloatingPortal-DaxE20ip.js
34
34
  import * as React$3 from "react";
35
35
  import { jsx, jsxs } from "react/jsx-runtime";
36
36
  import * as ReactDOM from "react-dom";
@@ -0,0 +1,37 @@
1
+ import {
2
+ createLucideIcon
3
+ } from "./chunk-E26EAQIM.js";
4
+
5
+ // web/app/dist/server/assets/circle-alert-D-qawIoC.js
6
+ var CircleAlert = createLucideIcon("circle-alert", [
7
+ ["circle", {
8
+ cx: "12",
9
+ cy: "12",
10
+ r: "10",
11
+ key: "1mglay"
12
+ }],
13
+ ["line", {
14
+ x1: "12",
15
+ x2: "12",
16
+ y1: "8",
17
+ y2: "12",
18
+ key: "1pkeuh"
19
+ }],
20
+ ["line", {
21
+ x1: "12",
22
+ x2: "12.01",
23
+ y1: "16",
24
+ y2: "16",
25
+ key: "4dfq90"
26
+ }]
27
+ ]);
28
+
29
+ export {
30
+ CircleAlert
31
+ };
32
+ /**
33
+ * @license lucide-react v1.33.0 - ISC
34
+ *
35
+ * This source code is licensed under the ISC license.
36
+ * See the LICENSE file in the root directory of this source tree.
37
+ */
@@ -0,0 +1,36 @@
1
+ import {
2
+ createLucideIcon
3
+ } from "./chunk-E26EAQIM.js";
4
+
5
+ // web/app/dist/server/assets/image-pElzIMTi.js
6
+ var Image = createLucideIcon("image", [
7
+ ["rect", {
8
+ width: "18",
9
+ height: "18",
10
+ x: "3",
11
+ y: "3",
12
+ rx: "2",
13
+ ry: "2",
14
+ key: "1m3agn"
15
+ }],
16
+ ["circle", {
17
+ cx: "9",
18
+ cy: "9",
19
+ r: "2",
20
+ key: "af1f0g"
21
+ }],
22
+ ["path", {
23
+ d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
24
+ key: "1xmnt7"
25
+ }]
26
+ ]);
27
+
28
+ export {
29
+ Image
30
+ };
31
+ /**
32
+ * @license lucide-react v1.33.0 - ISC
33
+ *
34
+ * This source code is licensed under the ISC license.
35
+ * See the LICENSE file in the root directory of this source tree.
36
+ */