@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,15 +1,7 @@
1
- import {
2
- Folder
3
- } from "./chunk-OLG5DQ7V.js";
4
1
  import {
5
2
  InputGroup,
6
- InputGroupAddon,
7
- useChatPanelDataContext,
8
- useWorkspaceTreeContext
9
- } from "./chunk-XLCTCC4W.js";
10
- import {
11
- Bot
12
- } from "./chunk-74QOI457.js";
3
+ InputGroupAddon
4
+ } from "./chunk-DEUBJJZN.js";
13
5
  import {
14
6
  Search
15
7
  } from "./chunk-2H6A6Z7F.js";
@@ -21,294 +13,24 @@ import {
21
13
  Primitive,
22
14
  composeRefs,
23
15
  useId$1
24
- } from "./chunk-52SJQXO4.js";
25
- import {
26
- Check
27
- } from "./chunk-NLIUTTKL.js";
16
+ } from "./chunk-7PQTPSEE.js";
28
17
  import {
29
18
  Dialog,
30
19
  DialogContent,
31
20
  DialogDescription,
32
21
  DialogHeader,
33
22
  DialogTitle
34
- } from "./chunk-RX62LUDV.js";
23
+ } from "./chunk-JOSTE7WK.js";
35
24
  import {
36
- Skeleton
37
- } from "./chunk-EAJTWMK5.js";
38
- import {
39
- Package
40
- } from "./chunk-ZGFQ7HIX.js";
41
- import {
42
- SquareTerminal
43
- } from "./chunk-G5BCQQ5N.js";
44
- import {
45
- createLucideIcon
46
- } from "./chunk-E26EAQIM.js";
25
+ Check
26
+ } from "./chunk-6QNW66XR.js";
47
27
  import {
48
28
  cn
49
29
  } from "./chunk-DJMHPJBP.js";
50
30
 
51
- // web/app/dist/server/assets/command-CXirczqk.js
31
+ // web/app/dist/server/assets/command-BAtw4wJn.js
52
32
  import * as t from "react";
53
- import { Suspense, lazy } from "react";
54
33
  import { jsx, jsxs } from "react/jsx-runtime";
55
- var Activity = createLucideIcon("activity", [["path", {
56
- d: "M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",
57
- key: "169zse"
58
- }]]);
59
- var Library = createLucideIcon("library", [
60
- ["path", {
61
- d: "m16 6 4 14",
62
- key: "ji33uf"
63
- }],
64
- ["path", {
65
- d: "M12 6v14",
66
- key: "1n7gus"
67
- }],
68
- ["path", {
69
- d: "M8 8v12",
70
- key: "1gg7y9"
71
- }],
72
- ["path", {
73
- d: "M4 4v16",
74
- key: "6qkkli"
75
- }]
76
- ]);
77
- var Square = createLucideIcon("square", [["rect", {
78
- width: "18",
79
- height: "18",
80
- x: "3",
81
- y: "3",
82
- rx: "2",
83
- key: "afitv7"
84
- }]]);
85
- var LazyArtifactsPanel = lazy(() => import("./artifacts-panel-Bt7YUzm4-NCBMXJ25.js").then(({ ArtifactsPanelContent }) => ({ default: ArtifactsPanelContent })));
86
- var LazyResourcesPanel = lazy(() => import("./resources-panel-CwKh4U9f-D3VDEMDW.js").then(({ ResourcesPanelContent }) => ({ default: ResourcesPanelContent })));
87
- var LazySessionInsightsPanel = lazy(() => import("./session-insights-panel-BHZyKDTo-LRMAMA3O.js").then(({ SessionInsightsPanel }) => ({ default: SessionInsightsPanel })));
88
- var LazyReplPanel = lazy(() => import("./repl-panel-D9E8nkQy-L45ZNG2V.js").then(({ ReplPanelContent }) => ({ default: ReplPanelContent })));
89
- var LazySubagentsPanel = lazy(() => import("./subagents-panel-iHpvMIZy-LI6XK66M.js").then(({ SubagentsPanelContent }) => ({ default: SubagentsPanelContent })));
90
- var LazyWorkspacePanel = lazy(() => import("./workspace-panel-CHPoiXEo-YB4WS3MK.js").then(({ WorkspacePanelContent }) => ({ default: WorkspacePanelContent })));
91
- function PanelFallback() {
92
- return /* @__PURE__ */ jsxs("div", {
93
- className: "flex min-h-32 flex-col gap-3 p-4",
94
- "aria-label": "Loading panel",
95
- children: [/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-32" }), /* @__PURE__ */ jsx(Skeleton, { className: "h-20 w-full" })]
96
- });
97
- }
98
- function SessionInsightsContent() {
99
- const data = useChatPanelDataContext();
100
- return /* @__PURE__ */ jsx(Suspense, {
101
- fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
102
- children: /* @__PURE__ */ jsx(LazySessionInsightsPanel, {
103
- activityLabel: data.activityLabel,
104
- artifactRuns: data.artifactRuns,
105
- chatMode: data.chatMode,
106
- messages: data.messages,
107
- planLabel: data.planLabel,
108
- presentation: data.presentation,
109
- queue: data.queue,
110
- selectedModelKey: data.selectedModelKey,
111
- sessionId: data.sessionId,
112
- status: data.status,
113
- thinkingLevel: data.thinkingLevel
114
- })
115
- });
116
- }
117
- function ResourcesContent() {
118
- const data = useChatPanelDataContext();
119
- const workspace = useWorkspaceTreeContext();
120
- return /* @__PURE__ */ jsx(Suspense, {
121
- fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
122
- children: /* @__PURE__ */ jsx(LazyResourcesPanel, {
123
- error: data.resourcesError,
124
- loading: data.resourcesLoading,
125
- resources: data.resources,
126
- workspace: workspace.workspaceTree
127
- })
128
- });
129
- }
130
- function WorkspaceContent() {
131
- const workspace = useWorkspaceTreeContext();
132
- return /* @__PURE__ */ jsx(Suspense, {
133
- fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
134
- children: /* @__PURE__ */ jsx(LazyWorkspacePanel, {
135
- error: workspace.workspaceError,
136
- loadWorkspaceFile: workspace.loadWorkspaceFile,
137
- loading: workspace.workspaceLoading,
138
- onSelectedPathChange: workspace.setSelectedWorkspacePath,
139
- selectedPath: workspace.selectedWorkspacePath,
140
- workspace: workspace.workspaceTree
141
- })
142
- });
143
- }
144
- function ArtifactsContent() {
145
- const data = useChatPanelDataContext();
146
- return /* @__PURE__ */ jsx(Suspense, {
147
- fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
148
- children: /* @__PURE__ */ jsx(LazyArtifactsPanel, {
149
- artifactRuns: data.artifactRuns,
150
- messages: data.messages,
151
- onOpenUIAction: data.onOpenUIAction,
152
- selectedArtifactId: data.selectedArtifactId,
153
- status: data.status
154
- })
155
- });
156
- }
157
- function ReplContent() {
158
- const data = useChatPanelDataContext();
159
- return /* @__PURE__ */ jsx(Suspense, {
160
- fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
161
- children: /* @__PURE__ */ jsx(LazyReplPanel, {
162
- artifactRuns: data.artifactRuns,
163
- selectedArtifactId: data.selectedArtifactId
164
- })
165
- });
166
- }
167
- function SubagentsContent() {
168
- const data = useChatPanelDataContext();
169
- return /* @__PURE__ */ jsx(Suspense, {
170
- fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
171
- children: /* @__PURE__ */ jsx(LazySubagentsPanel, {
172
- agents: data.presentation.rlmChildren,
173
- loadSession: data.loadSubagentSession,
174
- onOpenTab: data.onOpenSubagentTab,
175
- parentSessionId: data.sessionId,
176
- tree: data.presentation.rlmTree
177
- })
178
- });
179
- }
180
- var RIGHT_PANEL_REGISTRY = {
181
- resources: {
182
- id: "resources",
183
- order: 0,
184
- title: "Resources",
185
- ariaLabel: "Resources",
186
- commandLabel: "Open Resources",
187
- commandKeywords: [
188
- "resources",
189
- "skills",
190
- "panels"
191
- ],
192
- icon: Library,
193
- dataTestid: "pi-resources-canvas",
194
- mobileDataTestid: "pi-resources-mobile-panel",
195
- showInLauncher: true,
196
- badgeSource: "resources",
197
- loadingSource: "resources",
198
- refreshSource: "resources",
199
- component: ResourcesContent
200
- },
201
- workspace: {
202
- id: "workspace",
203
- order: 1,
204
- title: "Workspace",
205
- ariaLabel: "Workspace",
206
- commandLabel: "Open Workspace",
207
- commandKeywords: [
208
- "workspace",
209
- "files",
210
- "panels"
211
- ],
212
- icon: Folder,
213
- dataTestid: "pi-workspace-canvas",
214
- mobileDataTestid: "pi-workspace-mobile-panel",
215
- showInLauncher: true,
216
- badgeSource: void 0,
217
- loadingSource: "workspace",
218
- refreshSource: "workspace",
219
- component: WorkspaceContent
220
- },
221
- artifacts: {
222
- id: "artifacts",
223
- order: 2,
224
- title: "Artifacts",
225
- ariaLabel: "Artifacts",
226
- commandLabel: "Open Artifacts",
227
- commandKeywords: [
228
- "artifacts",
229
- "reports",
230
- "datasets",
231
- "panels"
232
- ],
233
- icon: Package,
234
- dataTestid: "pi-artifacts-canvas",
235
- mobileDataTestid: "pi-artifacts-mobile-panel",
236
- showInLauncher: true,
237
- badgeSource: "artifacts",
238
- loadingSource: void 0,
239
- refreshSource: void 0,
240
- component: ArtifactsContent
241
- },
242
- repl: {
243
- id: "repl",
244
- order: 3,
245
- title: "REPL",
246
- ariaLabel: "REPL runs",
247
- commandLabel: "Open REPL",
248
- commandKeywords: [
249
- "repl",
250
- "ipython",
251
- "python",
252
- "cells",
253
- "panels"
254
- ],
255
- icon: SquareTerminal,
256
- dataTestid: "pi-repl-canvas",
257
- mobileDataTestid: "pi-repl-mobile-panel",
258
- showInLauncher: true,
259
- badgeSource: "repl",
260
- loadingSource: void 0,
261
- refreshSource: void 0,
262
- component: ReplContent
263
- },
264
- subagents: {
265
- id: "subagents",
266
- order: 4,
267
- title: "Subagents",
268
- ariaLabel: "Subagents",
269
- commandLabel: "Open Subagents",
270
- commandKeywords: [
271
- "subagents",
272
- "agents",
273
- "threads",
274
- "delegation",
275
- "panels"
276
- ],
277
- icon: Bot,
278
- dataTestid: "pi-subagents-canvas",
279
- mobileDataTestid: "pi-subagents-mobile-panel",
280
- showInLauncher: false,
281
- badgeSource: void 0,
282
- loadingSource: void 0,
283
- refreshSource: void 0,
284
- component: SubagentsContent
285
- },
286
- "session-insights": {
287
- id: "session-insights",
288
- order: 5,
289
- title: "Session insights",
290
- ariaLabel: "Session insights",
291
- commandLabel: "Open Session Insights",
292
- commandKeywords: [
293
- "session",
294
- "insights",
295
- "activity",
296
- "panels"
297
- ],
298
- icon: Activity,
299
- dataTestid: "pi-session-insights-canvas",
300
- mobileDataTestid: "pi-session-insights-mobile-panel",
301
- showInLauncher: true,
302
- badgeSource: void 0,
303
- loadingSource: void 0,
304
- refreshSource: void 0,
305
- component: SessionInsightsContent
306
- }
307
- };
308
- var RIGHT_PANEL_LAUNCHER_DEFINITIONS = Object.values(RIGHT_PANEL_REGISTRY).sort((left, right) => left.order - right.order).filter((definition) => definition.showInLauncher !== false);
309
- function getRightPanelDefinition(panel) {
310
- return RIGHT_PANEL_REGISTRY[panel];
311
- }
312
34
  var U = 1;
313
35
  var Y$1 = 0.9;
314
36
  var H = 0.8;
@@ -875,10 +597,6 @@ function CommandItem({ className, children, ...props }) {
875
597
  }
876
598
 
877
599
  export {
878
- Library,
879
- Square,
880
- RIGHT_PANEL_LAUNCHER_DEFINITIONS,
881
- getRightPanelDefinition,
882
600
  Command,
883
601
  CommandDialog,
884
602
  CommandInput,
@@ -888,9 +606,3 @@ export {
888
606
  CommandSeparator,
889
607
  CommandItem
890
608
  };
891
- /**
892
- * @license lucide-react v1.33.0 - ISC
893
- *
894
- * This source code is licensed under the ISC license.
895
- * See the LICENSE file in the root directory of this source tree.
896
- */
@@ -2,29 +2,7 @@ import {
2
2
  createLucideIcon
3
3
  } from "./chunk-E26EAQIM.js";
4
4
 
5
- // web/app/dist/server/assets/file-text-DBGmNLu8.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
- ]);
5
+ // web/app/dist/server/assets/file-text-CIAYdtA6.js
28
6
  var FileText = createLucideIcon("file-text", [
29
7
  ["path", {
30
8
  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",
@@ -49,7 +27,6 @@ var FileText = createLucideIcon("file-text", [
49
27
  ]);
50
28
 
51
29
  export {
52
- CircleAlert,
53
30
  FileText
54
31
  };
55
32
  /**
@@ -0,0 +1,189 @@
1
+ import {
2
+ Terminal
3
+ } from "./chunk-4PQ6OD6J.js";
4
+ import {
5
+ Wrench
6
+ } from "./chunk-744IIIDL.js";
7
+ import {
8
+ ChevronDown
9
+ } from "./chunk-QLY3L4A2.js";
10
+ import {
11
+ createLucideIcon
12
+ } from "./chunk-E26EAQIM.js";
13
+ import {
14
+ cn
15
+ } from "./chunk-DJMHPJBP.js";
16
+ import {
17
+ __exportAll
18
+ } from "./chunk-L547YHC4.js";
19
+
20
+ // web/app/dist/server/assets/fleet-tool-timeline-KENErMKg.js
21
+ import { useMemo, useState } from "react";
22
+ import { jsx, jsxs } from "react/jsx-runtime";
23
+ var FilePenLine = createLucideIcon("file-pen-line", [
24
+ ["path", {
25
+ 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",
26
+ key: "ukzhwg"
27
+ }],
28
+ ["path", {
29
+ d: "M14.487 7.858A1 1 0 0 1 14 7V2",
30
+ key: "1klhew"
31
+ }],
32
+ ["path", {
33
+ 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",
34
+ key: "rxaxab"
35
+ }],
36
+ ["path", {
37
+ d: "M8 18h1",
38
+ key: "13wk12"
39
+ }]
40
+ ]);
41
+ var FileSearch = createLucideIcon("file-search", [
42
+ ["path", {
43
+ 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",
44
+ key: "1oefj6"
45
+ }],
46
+ ["path", {
47
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
48
+ key: "wfsgrz"
49
+ }],
50
+ ["circle", {
51
+ cx: "11.5",
52
+ cy: "14.5",
53
+ r: "2.5",
54
+ key: "1bq0ko"
55
+ }],
56
+ ["path", {
57
+ d: "M13.3 16.3 15 18",
58
+ key: "2quom7"
59
+ }]
60
+ ]);
61
+ var fleet_tool_timeline_exports = /* @__PURE__ */ __exportAll({ FleetToolTimeline: () => FleetToolTimeline });
62
+ function record(value) {
63
+ return typeof value === "object" && value !== null && !Array.isArray(value) ? value : void 0;
64
+ }
65
+ function target(input, fallback) {
66
+ const source = record(input);
67
+ for (const key of [
68
+ "path",
69
+ "filePath",
70
+ "command",
71
+ "cmd",
72
+ "query",
73
+ "pattern",
74
+ "code"
75
+ ]) if (typeof source?.[key] === "string" && source[key]) return source[key];
76
+ return fallback;
77
+ }
78
+ function status(part, streaming) {
79
+ const state = part.state;
80
+ if (state === "output-error" || state === "error") return "error";
81
+ if (state === "cancelled" || state === "canceled" || state === "aborted") return "cancelled";
82
+ if (state === "input-streaming" || state === "streaming") return streaming ? "running" : "cancelled";
83
+ return streaming && part.output === void 0 && part.result === void 0 ? "running" : "complete";
84
+ }
85
+ function toolStep(part, fallbackId, streaming) {
86
+ const type = part.type;
87
+ if (typeof type !== "string" || !type.startsWith("tool-") || type === "tool-FleetReasoning" || type === "tool-Thinking") return void 0;
88
+ const name = type.slice(5);
89
+ const lower = name.toLowerCase();
90
+ 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;
91
+ 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;
92
+ return {
93
+ id: typeof part.toolCallId === "string" ? part.toolCallId : fallbackId,
94
+ icon,
95
+ verb,
96
+ target: target(part.input ?? part.args, name),
97
+ status: status(part, streaming)
98
+ };
99
+ }
100
+ function artifactStep(artifact) {
101
+ const icon = artifact.kind === "diff" ? FilePenLine : artifact.kind === "bash" || artifact.kind === "ipython" ? Terminal : Wrench;
102
+ return {
103
+ id: `artifact:${artifact.id}`,
104
+ icon,
105
+ verb: artifact.kind === "compaction" ? "Compacted" : artifact.kind === "refinement" ? "Refined" : artifact.kind === "recap" ? "Recapped" : artifact.kind === "rlm" ? "Delegated" : artifact.kind === "diff" ? "Edited" : "Completed",
106
+ target: artifact.title,
107
+ status: artifact.status === "success" ? "complete" : artifact.status
108
+ };
109
+ }
110
+ function statusClass(status2) {
111
+ if (status2 === "running") return "text-blue-600 dark:text-blue-400";
112
+ if (status2 === "error") return "text-destructive";
113
+ if (status2 === "cancelled") return "text-muted-foreground";
114
+ return "text-emerald-600 dark:text-emerald-400";
115
+ }
116
+ function FleetToolTimeline({ messages, artifacts = [], streaming, className }) {
117
+ const steps = useMemo(() => {
118
+ const seen = /* @__PURE__ */ new Set();
119
+ const fromMessages = messages.flatMap((message) => message.parts.flatMap((part, index) => {
120
+ const step = toolStep(record(part) ?? {}, `${message.id}:${index}`, streaming);
121
+ if (!step || seen.has(step.id)) return [];
122
+ seen.add(step.id);
123
+ return [step];
124
+ }));
125
+ const fromArtifacts = artifacts.flatMap((artifact) => {
126
+ if (artifact.sourceToolCallId && seen.has(artifact.sourceToolCallId)) return [];
127
+ const step = artifactStep(artifact);
128
+ if (seen.has(step.id)) return [];
129
+ seen.add(step.id);
130
+ return [step];
131
+ });
132
+ return [...fromMessages, ...fromArtifacts];
133
+ }, [
134
+ artifacts,
135
+ messages,
136
+ streaming
137
+ ]);
138
+ const [open, setOpen] = useState(true);
139
+ if (steps.length === 0) return null;
140
+ const active = steps.at(-1);
141
+ const ActiveIcon = active?.icon;
142
+ return /* @__PURE__ */ jsxs("section", {
143
+ className: cn("mb-2 rounded-xl border border-border/60 bg-muted/20", className),
144
+ children: [/* @__PURE__ */ jsxs("button", {
145
+ type: "button",
146
+ "aria-expanded": open,
147
+ onClick: () => setOpen((current) => !current),
148
+ 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",
149
+ children: [
150
+ active && ActiveIcon ? /* @__PURE__ */ jsx(ActiveIcon, { className: cn("size-3.5 shrink-0", statusClass(active.status), active.status === "running" && "animate-pulse") }) : null,
151
+ /* @__PURE__ */ jsx("span", {
152
+ className: "min-w-0 flex-1 truncate font-medium",
153
+ children: streaming && active ? `${active.verb} ${active.target}` : `${steps.length} tool ${steps.length === 1 ? "action" : "actions"}`
154
+ }),
155
+ /* @__PURE__ */ jsx(ChevronDown, { className: cn("size-3.5 text-muted-foreground transition-transform", open && "rotate-180") })
156
+ ]
157
+ }), open ? /* @__PURE__ */ jsx("div", {
158
+ className: "space-y-1 border-t border-border/50 px-3 py-2",
159
+ children: steps.map((step) => {
160
+ const Icon = step.icon;
161
+ return /* @__PURE__ */ jsxs("div", {
162
+ className: "flex min-w-0 items-center gap-2 text-xs",
163
+ children: [
164
+ /* @__PURE__ */ jsx(Icon, { className: cn("size-3.5 shrink-0", statusClass(step.status)) }),
165
+ /* @__PURE__ */ jsx("span", {
166
+ className: "shrink-0 text-muted-foreground",
167
+ children: step.verb
168
+ }),
169
+ /* @__PURE__ */ jsx("span", {
170
+ className: "min-w-0 flex-1 truncate font-mono text-foreground/75",
171
+ children: step.target
172
+ })
173
+ ]
174
+ }, step.id);
175
+ })
176
+ }) : null]
177
+ });
178
+ }
179
+
180
+ export {
181
+ fleet_tool_timeline_exports,
182
+ FleetToolTimeline
183
+ };
184
+ /**
185
+ * @license lucide-react v1.33.0 - ISC
186
+ *
187
+ * This source code is licensed under the ISC license.
188
+ * See the LICENSE file in the root directory of this source tree.
189
+ */
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useValueChanged
3
- } from "./chunk-TO3YPLNZ.js";
3
+ } from "./chunk-EKBKGAWX.js";
4
4
  import {
5
5
  fieldValidityMapping,
6
6
  useFieldRootContext,
@@ -8,18 +8,18 @@ import {
8
8
  useLabelableContext,
9
9
  useLabelableId,
10
10
  useRegisterFieldControl
11
- } from "./chunk-AWFOBHH4.js";
12
- import {
13
- useControlled
14
- } from "./chunk-NLIUTTKL.js";
11
+ } from "./chunk-NPPG2GTW.js";
15
12
  import {
16
13
  cva,
17
14
  visuallyHidden,
18
15
  visuallyHiddenInput
19
- } from "./chunk-5RQ6QAZX.js";
16
+ } from "./chunk-F6MGAW3L.js";
17
+ import {
18
+ useControlled
19
+ } from "./chunk-S3PQ6HKH.js";
20
20
  import {
21
21
  useBaseUiId
22
- } from "./chunk-LSIHVSUT.js";
22
+ } from "./chunk-7SR6WDM2.js";
23
23
  import {
24
24
  EMPTY_OBJECT,
25
25
  createChangeEventDetails,
@@ -30,12 +30,12 @@ import {
30
30
  useIsoLayoutEffect,
31
31
  useMergedRefs,
32
32
  useRenderElement
33
- } from "./chunk-BLVCDQ7E.js";
33
+ } from "./chunk-C5X6G26O.js";
34
34
  import {
35
35
  cn
36
36
  } from "./chunk-DJMHPJBP.js";
37
37
 
38
- // web/app/dist/server/assets/switch-DDzirFxz.js
38
+ // web/app/dist/server/assets/switch-D77VO70Q.js
39
39
  import * as React$1 from "react";
40
40
  import "react";
41
41
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -0,0 +1,62 @@
1
+ import {
2
+ createLucideIcon
3
+ } from "./chunk-E26EAQIM.js";
4
+
5
+ // web/app/dist/server/assets/right-panel-context-Bluh37TU.js
6
+ import { createContext, useContext, useMemo } from "react";
7
+ import { jsx } from "react/jsx-runtime";
8
+ var Plus = createLucideIcon("plus", [["path", {
9
+ d: "M5 12h14",
10
+ key: "1ays0h"
11
+ }], ["path", {
12
+ d: "M12 5v14",
13
+ key: "s699le"
14
+ }]]);
15
+ var ChatPanelDataContext = createContext(null);
16
+ var WorkspaceTreeContext = createContext(null);
17
+ var SettingsActionsContext = createContext(null);
18
+ function RightPanelProvider({ chatPanelData, children, onOpenUIAction, settingsActions, workspaceTree }) {
19
+ const chatPanelDataValue = useMemo(() => ({
20
+ ...chatPanelData,
21
+ onOpenUIAction
22
+ }), [chatPanelData, onOpenUIAction]);
23
+ return /* @__PURE__ */ jsx(SettingsActionsContext.Provider, {
24
+ value: settingsActions,
25
+ children: /* @__PURE__ */ jsx(WorkspaceTreeContext.Provider, {
26
+ value: workspaceTree,
27
+ children: /* @__PURE__ */ jsx(ChatPanelDataContext.Provider, {
28
+ value: chatPanelDataValue,
29
+ children
30
+ })
31
+ })
32
+ });
33
+ }
34
+ function useChatPanelDataContext() {
35
+ const context = useContext(ChatPanelDataContext);
36
+ if (!context) throw new Error("useChatPanelDataContext must be used within RightPanelProvider");
37
+ return context;
38
+ }
39
+ function useWorkspaceTreeContext() {
40
+ const context = useContext(WorkspaceTreeContext);
41
+ if (!context) throw new Error("useWorkspaceTreeContext must be used within RightPanelProvider");
42
+ return context;
43
+ }
44
+ function useSettingsActionsContext() {
45
+ const context = useContext(SettingsActionsContext);
46
+ if (!context) throw new Error("useSettingsActionsContext must be used within RightPanelProvider");
47
+ return context;
48
+ }
49
+
50
+ export {
51
+ Plus,
52
+ RightPanelProvider,
53
+ useChatPanelDataContext,
54
+ useWorkspaceTreeContext,
55
+ useSettingsActionsContext
56
+ };
57
+ /**
58
+ * @license lucide-react v1.33.0 - ISC
59
+ *
60
+ * This source code is licensed under the ISC license.
61
+ * See the LICENSE file in the root directory of this source tree.
62
+ */