@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
@@ -0,0 +1,206 @@
1
+ import {
2
+ AnimatePresence,
3
+ useReducedMotion
4
+ } from "./chunk-ZJFA4F5X.js";
5
+ import {
6
+ EASE_OUT,
7
+ EASE_OUT_CSS,
8
+ SPRING_SWAP,
9
+ m
10
+ } from "./chunk-K3BXQG3N.js";
11
+ import {
12
+ createLucideIcon
13
+ } from "./chunk-E26EAQIM.js";
14
+ import {
15
+ cn
16
+ } from "./chunk-DJMHPJBP.js";
17
+
18
+ // web/app/dist/server/assets/action-swap-roll-CcB20lKm.js
19
+ import { useLayoutEffect, useRef, useState } from "react";
20
+ import { jsx, jsxs } from "react/jsx-runtime";
21
+ var Copy = createLucideIcon("copy", [["rect", {
22
+ width: "14",
23
+ height: "14",
24
+ x: "8",
25
+ y: "8",
26
+ rx: "2",
27
+ ry: "2",
28
+ key: "17jyea"
29
+ }], ["path", {
30
+ d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
31
+ key: "zix9uf"
32
+ }]]);
33
+ var FileCodeCorner = createLucideIcon("file-code-corner", [
34
+ ["path", {
35
+ d: "M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",
36
+ key: "1wthlu"
37
+ }],
38
+ ["path", {
39
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
40
+ key: "wfsgrz"
41
+ }],
42
+ ["path", {
43
+ d: "m5 16-3 3 3 3",
44
+ key: "331omg"
45
+ }],
46
+ ["path", {
47
+ d: "m9 22 3-3-3-3",
48
+ key: "lsp7cz"
49
+ }]
50
+ ]);
51
+ var BLUR_TRANSITION = {
52
+ duration: 0.2,
53
+ ease: "easeInOut"
54
+ };
55
+ var ROLL_TRANSITION = SPRING_SWAP;
56
+ var ROLL_EXIT_TRANSITION = {
57
+ duration: 0.14,
58
+ ease: EASE_OUT
59
+ };
60
+ var SWAP_BLUR = "blur(8px)";
61
+ var ROLL_BLUR = "blur(3px)";
62
+ var CASCADE_STAGGER = 0.025;
63
+ var CASCADE_LETTER_VARIANTS = {
64
+ initial: {
65
+ opacity: 0,
66
+ y: "105%",
67
+ filter: ROLL_BLUR
68
+ },
69
+ animate: (delay = 0) => ({
70
+ opacity: 1,
71
+ y: "0%",
72
+ filter: "blur(0px)",
73
+ transition: {
74
+ ...SPRING_SWAP,
75
+ delay
76
+ }
77
+ }),
78
+ exit: (delay = 0) => ({
79
+ opacity: 0,
80
+ y: "-105%",
81
+ filter: ROLL_BLUR,
82
+ transition: {
83
+ duration: 0.16,
84
+ ease: EASE_OUT,
85
+ delay: delay * 0.5
86
+ }
87
+ })
88
+ };
89
+ var TEXT_VARIANTS = {
90
+ blur: {
91
+ initial: {
92
+ opacity: 0,
93
+ scale: 0.94,
94
+ filter: SWAP_BLUR
95
+ },
96
+ animate: {
97
+ opacity: 1,
98
+ scale: 1,
99
+ filter: "blur(0px)",
100
+ transition: BLUR_TRANSITION
101
+ },
102
+ exit: {
103
+ opacity: 0,
104
+ scale: 0.94,
105
+ filter: SWAP_BLUR,
106
+ transition: BLUR_TRANSITION
107
+ }
108
+ },
109
+ roll: {
110
+ initial: {
111
+ opacity: 0,
112
+ y: "90%",
113
+ filter: ROLL_BLUR
114
+ },
115
+ animate: {
116
+ opacity: 1,
117
+ y: "0%",
118
+ filter: "blur(0px)",
119
+ transition: ROLL_TRANSITION
120
+ },
121
+ exit: {
122
+ opacity: 0,
123
+ y: "-90%",
124
+ filter: ROLL_BLUR,
125
+ transition: ROLL_EXIT_TRANSITION
126
+ }
127
+ }
128
+ };
129
+ function ActionSwapText({ value, children, animation = "blur", className }) {
130
+ const reduce = useReducedMotion();
131
+ const measureRef = useRef(null);
132
+ const [width, setWidth] = useState();
133
+ useLayoutEffect(() => {
134
+ const nextWidth = measureRef.current?.offsetWidth;
135
+ if (!nextWidth) return;
136
+ setWidth((currentWidth) => currentWidth === nextWidth ? currentWidth : nextWidth);
137
+ });
138
+ const label = typeof children === "string" ? children : null;
139
+ const cascade = animation === "cascade" && label !== null && !reduce;
140
+ const coreAnimation = animation === "cascade" ? "roll" : animation;
141
+ return /* @__PURE__ */ jsxs("span", {
142
+ className: cn("relative inline-block overflow-hidden whitespace-nowrap align-bottom", className),
143
+ style: {
144
+ width,
145
+ transition: reduce ? void 0 : `width 220ms ${EASE_OUT_CSS}`
146
+ },
147
+ children: [
148
+ /* @__PURE__ */ jsx("span", {
149
+ ref: measureRef,
150
+ "aria-hidden": true,
151
+ className: "invisible inline-block whitespace-nowrap",
152
+ children
153
+ }),
154
+ cascade ? /* @__PURE__ */ jsx("span", {
155
+ className: "sr-only",
156
+ children: label
157
+ }) : null,
158
+ /* @__PURE__ */ jsx(AnimatePresence, {
159
+ initial: false,
160
+ children: cascade ? /* @__PURE__ */ jsx(m.span, {
161
+ "aria-hidden": true,
162
+ initial: "initial",
163
+ animate: "animate",
164
+ exit: "exit",
165
+ className: "absolute left-0 top-0 inline-block whitespace-pre",
166
+ children: label.split("").map((char, i) => /* @__PURE__ */ jsx(m.span, {
167
+ custom: i * CASCADE_STAGGER,
168
+ variants: CASCADE_LETTER_VARIANTS,
169
+ className: "inline-block whitespace-pre",
170
+ children: char
171
+ }, i))
172
+ }, `cascade-${value}`) : /* @__PURE__ */ jsx(m.span, {
173
+ variants: TEXT_VARIANTS[coreAnimation],
174
+ initial: reduce ? false : "initial",
175
+ animate: reduce ? {
176
+ opacity: 1,
177
+ filter: "blur(0px)",
178
+ scale: 1,
179
+ y: 0
180
+ } : "animate",
181
+ exit: reduce ? void 0 : "exit",
182
+ className: "absolute left-0 top-0 inline-block",
183
+ children
184
+ }, `${animation}-${value}`)
185
+ })
186
+ ]
187
+ });
188
+ }
189
+ function ActionSwapRollText(props) {
190
+ return /* @__PURE__ */ jsx(ActionSwapText, {
191
+ ...props,
192
+ animation: "roll"
193
+ });
194
+ }
195
+
196
+ export {
197
+ Copy,
198
+ FileCodeCorner,
199
+ ActionSwapRollText
200
+ };
201
+ /**
202
+ * @license lucide-react v1.33.0 - ISC
203
+ *
204
+ * This source code is licensed under the ISC license.
205
+ * See the LICENSE file in the root directory of this source tree.
206
+ */
@@ -33,13 +33,41 @@ import {
33
33
  WorkspaceRelativePathSchema,
34
34
  external_exports
35
35
  } from "./chunk-XFVL5ITL.js";
36
+ import {
37
+ Alert,
38
+ AlertDescription,
39
+ AlertTitle,
40
+ Field,
41
+ FieldLabel,
42
+ Separator,
43
+ Switch,
44
+ useRender
45
+ } from "./chunk-RANJ6OJ3.js";
46
+ import {
47
+ Select,
48
+ arrow$2,
49
+ autoUpdate,
50
+ clamp,
51
+ flip,
52
+ hide$1,
53
+ limitShift,
54
+ offset,
55
+ shift,
56
+ size,
57
+ useFloating
58
+ } from "./chunk-EKBKGAWX.js";
36
59
  import {
37
60
  segmentOpenUIContent
38
61
  } from "./chunk-NFRJDPB3.js";
39
62
  import {
40
- ChevronUp,
63
+ ChevronUp
64
+ } from "./chunk-T23OO4SC.js";
65
+ import {
41
66
  isSafeExternalUrl
42
- } from "./chunk-LESNF5O4.js";
67
+ } from "./chunk-L46H6IDX.js";
68
+ import {
69
+ ChevronDown
70
+ } from "./chunk-QLY3L4A2.js";
43
71
  import {
44
72
  Dialog as Dialog2,
45
73
  DialogContent as DialogContent2,
@@ -67,63 +95,37 @@ import {
67
95
  useFocusGuards,
68
96
  useId$1,
69
97
  useLayoutEffect2
70
- } from "./chunk-52SJQXO4.js";
71
- import {
72
- Alert,
73
- AlertDescription,
74
- AlertTitle,
75
- Field,
76
- FieldLabel,
77
- Separator,
78
- Switch,
79
- useRender
80
- } from "./chunk-AECEK3K7.js";
81
- import {
82
- Select,
83
- arrow$2,
84
- autoUpdate,
85
- clamp,
86
- flip,
87
- hide$1,
88
- limitShift,
89
- offset,
90
- shift,
91
- size,
92
- useFloating
93
- } from "./chunk-TO3YPLNZ.js";
94
- import {
95
- ChevronDown
96
- } from "./chunk-QLY3L4A2.js";
98
+ } from "./chunk-7PQTPSEE.js";
97
99
  import {
98
100
  Input
99
- } from "./chunk-AWFOBHH4.js";
101
+ } from "./chunk-NPPG2GTW.js";
100
102
  import {
101
103
  Dialog,
102
104
  DialogContent,
103
105
  DialogHeader,
104
106
  DialogTitle
105
- } from "./chunk-RX62LUDV.js";
107
+ } from "./chunk-JOSTE7WK.js";
106
108
  import {
107
109
  Button,
108
110
  cva,
109
111
  require_with_selector,
110
112
  visuallyHidden
111
- } from "./chunk-5RQ6QAZX.js";
113
+ } from "./chunk-F6MGAW3L.js";
112
114
  import {
113
115
  useBaseUiId
114
- } from "./chunk-LSIHVSUT.js";
116
+ } from "./chunk-7SR6WDM2.js";
115
117
  import {
116
118
  formatErrorMessage,
117
119
  mergeProps,
118
120
  useIsoLayoutEffect,
119
121
  useRenderElement
120
- } from "./chunk-BLVCDQ7E.js";
122
+ } from "./chunk-C5X6G26O.js";
121
123
  import {
122
124
  characterEntitiesLegacy
123
125
  } from "./chunk-ST5I2PLN.js";
124
126
  import {
125
127
  Markdown
126
- } from "./chunk-MDYA4NXK.js";
128
+ } from "./chunk-NJRYX4A2.js";
127
129
  import {
128
130
  cn
129
131
  } from "./chunk-DJMHPJBP.js";
@@ -148,7 +150,7 @@ import {
148
150
  __toESM
149
151
  } from "./chunk-L547YHC4.js";
150
152
 
151
- // web/app/dist/server/assets/openui-renderer-c36_GYes.js
153
+ // web/app/dist/server/assets/openui-renderer-Dk0Ak9cW.js
152
154
  import * as React$2 from "react";
153
155
  import React, { Children, Component as Component2, Fragment as Fragment2, PureComponent, cloneElement as cloneElement2, createContext as createContext2, createElement as createElement2, forwardRef as forwardRef2, isValidElement as isValidElement2, memo as memo2, useCallback as useCallback2, useContext as useContext2, useEffect as useEffect2, useId as useId2, useImperativeHandle, useInsertionEffect, useLayoutEffect as useLayoutEffect3, useMemo as useMemo2, useRef as useRef2, useState as useState2, useSyncExternalStore } from "react";
154
156
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -96704,6 +96706,7 @@ function OpenUIHtmlFrame({ document: document2, className = "", title }) {
96704
96706
  srcDoc: document2,
96705
96707
  referrerPolicy: "no-referrer",
96706
96708
  title,
96709
+ loading: "lazy",
96707
96710
  className: `block w-full min-w-0 overflow-hidden rounded-md border border-border/60 bg-white ${className}`
96708
96711
  });
96709
96712
  }
@@ -8,8 +8,8 @@ import {
8
8
  __exportAll
9
9
  } from "./chunk-L547YHC4.js";
10
10
 
11
- // web/app/dist/server/assets/markdown-Boni3lHk.js
12
- import { Fragment, Suspense, isValidElement, lazy } from "react";
11
+ // web/app/dist/server/assets/markdown-QcSUaLyd.js
12
+ import { Fragment, Suspense, isValidElement, lazy, useMemo } from "react";
13
13
  import { jsx } from "react/jsx-runtime";
14
14
  var markdown_exports = /* @__PURE__ */ __exportAll({
15
15
  Markdown: () => Markdown,
@@ -18,7 +18,7 @@ var markdown_exports = /* @__PURE__ */ __exportAll({
18
18
  markdownComponents: () => markdownComponents,
19
19
  normalizeCodeFenceLanguages: () => normalizeCodeFenceLanguages
20
20
  });
21
- var LazyHighlightedMarkdown = lazy(() => import("./markdown-code-BrWukbg3-D2GN4Y77.js").then(({ HighlightedMarkdown }) => ({ default: HighlightedMarkdown })));
21
+ var LazyHighlightedMarkdown = lazy(() => import("./markdown-code-Dyo1_13a-52ZQZSPE.js").then(({ HighlightedMarkdown }) => ({ default: HighlightedMarkdown })));
22
22
  function fixNumberedListBreaks(text) {
23
23
  return text.replace(/^(\d+)\.\s*\n+\s*\n*/gm, "$1. ");
24
24
  }
@@ -155,7 +155,7 @@ function MarkdownFrame({ children, className }) {
155
155
  });
156
156
  }
157
157
  function PlainMarkdown({ content, className, codeControls }) {
158
- const safeContent = normalizeCodeFenceLanguages(fixNumberedListBreaks(content));
158
+ const safeContent = useMemo(() => normalizeCodeFenceLanguages(fixNumberedListBreaks(content)), [content]);
159
159
  return /* @__PURE__ */ jsx(MarkdownFrame, {
160
160
  className,
161
161
  children: /* @__PURE__ */ jsx(Qs, {
@@ -0,0 +1,296 @@
1
+ import {
2
+ useChatPanelDataContext,
3
+ useWorkspaceTreeContext
4
+ } from "./chunk-RPBSDXJ4.js";
5
+ import {
6
+ Bot
7
+ } from "./chunk-74QOI457.js";
8
+ import {
9
+ Folder
10
+ } from "./chunk-OLG5DQ7V.js";
11
+ import {
12
+ Skeleton
13
+ } from "./chunk-EAJTWMK5.js";
14
+ import {
15
+ Package
16
+ } from "./chunk-ZGFQ7HIX.js";
17
+ import {
18
+ SquareTerminal
19
+ } from "./chunk-G5BCQQ5N.js";
20
+ import {
21
+ createLucideIcon
22
+ } from "./chunk-E26EAQIM.js";
23
+
24
+ // web/app/dist/server/assets/right-panel-registry-DdXojE46.js
25
+ import { Suspense, lazy } from "react";
26
+ import { jsx, jsxs } from "react/jsx-runtime";
27
+ var Activity = createLucideIcon("activity", [["path", {
28
+ 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",
29
+ key: "169zse"
30
+ }]]);
31
+ var Library = createLucideIcon("library", [
32
+ ["path", {
33
+ d: "m16 6 4 14",
34
+ key: "ji33uf"
35
+ }],
36
+ ["path", {
37
+ d: "M12 6v14",
38
+ key: "1n7gus"
39
+ }],
40
+ ["path", {
41
+ d: "M8 8v12",
42
+ key: "1gg7y9"
43
+ }],
44
+ ["path", {
45
+ d: "M4 4v16",
46
+ key: "6qkkli"
47
+ }]
48
+ ]);
49
+ var Square = createLucideIcon("square", [["rect", {
50
+ width: "18",
51
+ height: "18",
52
+ x: "3",
53
+ y: "3",
54
+ rx: "2",
55
+ key: "afitv7"
56
+ }]]);
57
+ var LazyArtifactsPanel = lazy(() => import("./artifacts-panel-CloS3-ij-XWYXKL6A.js").then(({ ArtifactsPanelContent }) => ({ default: ArtifactsPanelContent })));
58
+ var LazyResourcesPanel = lazy(() => import("./resources-panel-B03M8bEp-SZG726N5.js").then(({ ResourcesPanelContent }) => ({ default: ResourcesPanelContent })));
59
+ var LazySessionInsightsPanel = lazy(() => import("./session-insights-panel-BHZyKDTo-LRMAMA3O.js").then(({ SessionInsightsPanel }) => ({ default: SessionInsightsPanel })));
60
+ var LazyReplPanel = lazy(() => import("./repl-panel-D9E8nkQy-L45ZNG2V.js").then(({ ReplPanelContent }) => ({ default: ReplPanelContent })));
61
+ var LazySubagentsPanel = lazy(() => import("./subagents-panel-dJJwpsEL-FTWWCHND.js").then(({ SubagentsPanelContent }) => ({ default: SubagentsPanelContent })));
62
+ var LazyWorkspacePanel = lazy(() => import("./workspace-panel-BC_H8Jri-5MHAEQQS.js").then(({ WorkspacePanelContent }) => ({ default: WorkspacePanelContent })));
63
+ function PanelFallback() {
64
+ return /* @__PURE__ */ jsxs("div", {
65
+ className: "flex min-h-32 flex-col gap-3 p-4",
66
+ "aria-label": "Loading panel",
67
+ children: [/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-32" }), /* @__PURE__ */ jsx(Skeleton, { className: "h-20 w-full" })]
68
+ });
69
+ }
70
+ function SessionInsightsContent() {
71
+ const data = useChatPanelDataContext();
72
+ return /* @__PURE__ */ jsx(Suspense, {
73
+ fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
74
+ children: /* @__PURE__ */ jsx(LazySessionInsightsPanel, {
75
+ activityLabel: data.activityLabel,
76
+ artifactRuns: data.artifactRuns,
77
+ chatMode: data.chatMode,
78
+ messages: data.messages,
79
+ planLabel: data.planLabel,
80
+ presentation: data.presentation,
81
+ queue: data.queue,
82
+ selectedModelKey: data.selectedModelKey,
83
+ sessionId: data.sessionId,
84
+ status: data.status,
85
+ thinkingLevel: data.thinkingLevel
86
+ })
87
+ });
88
+ }
89
+ function ResourcesContent() {
90
+ const data = useChatPanelDataContext();
91
+ const workspace = useWorkspaceTreeContext();
92
+ return /* @__PURE__ */ jsx(Suspense, {
93
+ fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
94
+ children: /* @__PURE__ */ jsx(LazyResourcesPanel, {
95
+ error: data.resourcesError,
96
+ loading: data.resourcesLoading,
97
+ resources: data.resources,
98
+ workspace: workspace.workspaceTree
99
+ })
100
+ });
101
+ }
102
+ function WorkspaceContent() {
103
+ const workspace = useWorkspaceTreeContext();
104
+ return /* @__PURE__ */ jsx(Suspense, {
105
+ fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
106
+ children: /* @__PURE__ */ jsx(LazyWorkspacePanel, {
107
+ error: workspace.workspaceError,
108
+ loadWorkspaceFile: workspace.loadWorkspaceFile,
109
+ loading: workspace.workspaceLoading,
110
+ onSelectedPathChange: workspace.setSelectedWorkspacePath,
111
+ selectedPath: workspace.selectedWorkspacePath,
112
+ workspace: workspace.workspaceTree
113
+ })
114
+ });
115
+ }
116
+ function ArtifactsContent() {
117
+ const data = useChatPanelDataContext();
118
+ return /* @__PURE__ */ jsx(Suspense, {
119
+ fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
120
+ children: /* @__PURE__ */ jsx(LazyArtifactsPanel, {
121
+ artifactRuns: data.artifactRuns,
122
+ messages: data.messages,
123
+ onOpenUIAction: data.onOpenUIAction,
124
+ selectedArtifactId: data.selectedArtifactId,
125
+ status: data.status
126
+ })
127
+ });
128
+ }
129
+ function ReplContent() {
130
+ const data = useChatPanelDataContext();
131
+ return /* @__PURE__ */ jsx(Suspense, {
132
+ fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
133
+ children: /* @__PURE__ */ jsx(LazyReplPanel, {
134
+ artifactRuns: data.artifactRuns,
135
+ selectedArtifactId: data.selectedArtifactId
136
+ })
137
+ });
138
+ }
139
+ function SubagentsContent() {
140
+ const data = useChatPanelDataContext();
141
+ return /* @__PURE__ */ jsx(Suspense, {
142
+ fallback: /* @__PURE__ */ jsx(PanelFallback, {}),
143
+ children: /* @__PURE__ */ jsx(LazySubagentsPanel, {
144
+ agents: data.presentation.rlmChildren,
145
+ loadSession: data.loadSubagentSession,
146
+ onOpenTab: data.onOpenSubagentTab,
147
+ parentSessionId: data.sessionId,
148
+ tree: data.presentation.rlmTree
149
+ })
150
+ });
151
+ }
152
+ var RIGHT_PANEL_REGISTRY = {
153
+ resources: {
154
+ id: "resources",
155
+ order: 0,
156
+ title: "Resources",
157
+ ariaLabel: "Resources",
158
+ commandLabel: "Open Resources",
159
+ commandKeywords: [
160
+ "resources",
161
+ "skills",
162
+ "panels"
163
+ ],
164
+ icon: Library,
165
+ dataTestid: "pi-resources-canvas",
166
+ mobileDataTestid: "pi-resources-mobile-panel",
167
+ showInLauncher: true,
168
+ badgeSource: "resources",
169
+ loadingSource: "resources",
170
+ refreshSource: "resources",
171
+ component: ResourcesContent
172
+ },
173
+ workspace: {
174
+ id: "workspace",
175
+ order: 1,
176
+ title: "Workspace",
177
+ ariaLabel: "Workspace",
178
+ commandLabel: "Open Workspace",
179
+ commandKeywords: [
180
+ "workspace",
181
+ "files",
182
+ "panels"
183
+ ],
184
+ icon: Folder,
185
+ dataTestid: "pi-workspace-canvas",
186
+ mobileDataTestid: "pi-workspace-mobile-panel",
187
+ showInLauncher: true,
188
+ badgeSource: void 0,
189
+ loadingSource: "workspace",
190
+ refreshSource: "workspace",
191
+ component: WorkspaceContent
192
+ },
193
+ artifacts: {
194
+ id: "artifacts",
195
+ order: 2,
196
+ title: "Artifacts",
197
+ ariaLabel: "Artifacts",
198
+ commandLabel: "Open Artifacts",
199
+ commandKeywords: [
200
+ "artifacts",
201
+ "reports",
202
+ "datasets",
203
+ "panels"
204
+ ],
205
+ icon: Package,
206
+ dataTestid: "pi-artifacts-canvas",
207
+ mobileDataTestid: "pi-artifacts-mobile-panel",
208
+ showInLauncher: true,
209
+ badgeSource: "artifacts",
210
+ loadingSource: void 0,
211
+ refreshSource: void 0,
212
+ component: ArtifactsContent
213
+ },
214
+ repl: {
215
+ id: "repl",
216
+ order: 3,
217
+ title: "REPL",
218
+ ariaLabel: "REPL runs",
219
+ commandLabel: "Open REPL",
220
+ commandKeywords: [
221
+ "repl",
222
+ "ipython",
223
+ "python",
224
+ "cells",
225
+ "panels"
226
+ ],
227
+ icon: SquareTerminal,
228
+ dataTestid: "pi-repl-canvas",
229
+ mobileDataTestid: "pi-repl-mobile-panel",
230
+ showInLauncher: true,
231
+ badgeSource: "repl",
232
+ loadingSource: void 0,
233
+ refreshSource: void 0,
234
+ component: ReplContent
235
+ },
236
+ subagents: {
237
+ id: "subagents",
238
+ order: 4,
239
+ title: "Subagents",
240
+ ariaLabel: "Subagents",
241
+ commandLabel: "Open Subagents",
242
+ commandKeywords: [
243
+ "subagents",
244
+ "agents",
245
+ "threads",
246
+ "delegation",
247
+ "panels"
248
+ ],
249
+ icon: Bot,
250
+ dataTestid: "pi-subagents-canvas",
251
+ mobileDataTestid: "pi-subagents-mobile-panel",
252
+ showInLauncher: false,
253
+ badgeSource: void 0,
254
+ loadingSource: void 0,
255
+ refreshSource: void 0,
256
+ component: SubagentsContent
257
+ },
258
+ "session-insights": {
259
+ id: "session-insights",
260
+ order: 5,
261
+ title: "Session insights",
262
+ ariaLabel: "Session insights",
263
+ commandLabel: "Open Session Insights",
264
+ commandKeywords: [
265
+ "session",
266
+ "insights",
267
+ "activity",
268
+ "panels"
269
+ ],
270
+ icon: Activity,
271
+ dataTestid: "pi-session-insights-canvas",
272
+ mobileDataTestid: "pi-session-insights-mobile-panel",
273
+ showInLauncher: true,
274
+ badgeSource: void 0,
275
+ loadingSource: void 0,
276
+ refreshSource: void 0,
277
+ component: SessionInsightsContent
278
+ }
279
+ };
280
+ var RIGHT_PANEL_LAUNCHER_DEFINITIONS = Object.values(RIGHT_PANEL_REGISTRY).sort((left, right) => left.order - right.order).filter((definition) => definition.showInLauncher !== false);
281
+ function getRightPanelDefinition(panel) {
282
+ return RIGHT_PANEL_REGISTRY[panel];
283
+ }
284
+
285
+ export {
286
+ Library,
287
+ Square,
288
+ RIGHT_PANEL_LAUNCHER_DEFINITIONS,
289
+ getRightPanelDefinition
290
+ };
291
+ /**
292
+ * @license lucide-react v1.33.0 - ISC
293
+ *
294
+ * This source code is licensed under the ISC license.
295
+ * See the LICENSE file in the root directory of this source tree.
296
+ */
@@ -1,13 +1,13 @@
1
- import {
2
- useControlled
3
- } from "./chunk-NLIUTTKL.js";
4
1
  import {
5
2
  activeElement,
6
3
  ownerDocument
7
- } from "./chunk-5RQ6QAZX.js";
4
+ } from "./chunk-F6MGAW3L.js";
5
+ import {
6
+ useControlled
7
+ } from "./chunk-S3PQ6HKH.js";
8
8
  import {
9
9
  useBaseUiId
10
- } from "./chunk-LSIHVSUT.js";
10
+ } from "./chunk-7SR6WDM2.js";
11
11
  import {
12
12
  EMPTY_OBJECT,
13
13
  NOOP,
@@ -19,12 +19,12 @@ import {
19
19
  useRefWithInit,
20
20
  useRenderElement,
21
21
  useStableCallback
22
- } from "./chunk-BLVCDQ7E.js";
22
+ } from "./chunk-C5X6G26O.js";
23
23
  import {
24
24
  cn
25
25
  } from "./chunk-DJMHPJBP.js";
26
26
 
27
- // web/app/dist/server/assets/input-BG0y3RbB.js
27
+ // web/app/dist/server/assets/input-0vMT9qWu.js
28
28
  import * as React$1 from "react";
29
29
  import { jsx } from "react/jsx-runtime";
30
30
  var DEFAULT_VALIDITY_STATE = {