@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
@@ -10,7 +10,7 @@ import {
10
10
  fixNumberedListBreaks,
11
11
  markdownComponents,
12
12
  normalizeCodeFenceLanguages
13
- } from "./chunk-MDYA4NXK.js";
13
+ } from "./chunk-NJRYX4A2.js";
14
14
  import "./chunk-BYXBJQAS.js";
15
15
  import "./chunk-DJMHPJBP.js";
16
16
  import {
@@ -21,7 +21,7 @@ import "./chunk-JDCCC7A7.js";
21
21
  import "./chunk-L547YHC4.js";
22
22
  import "./chunk-MLKGABMK.js";
23
23
 
24
- // web/app/dist/server/assets/markdown-code-BrWukbg3.js
24
+ // web/app/dist/server/assets/markdown-code-Dyo1_13a.js
25
25
  import { jsx } from "react/jsx-runtime";
26
26
  var S = createJavaScriptRegexEngine({ forgiving: true });
27
27
  var C = Object.fromEntries(bundledLanguagesInfo.flatMap((e) => {
@@ -0,0 +1,289 @@
1
+ import {
2
+ Gauge
3
+ } from "./chunk-3D4Z32XA.js";
4
+ import {
5
+ Command,
6
+ CommandEmpty,
7
+ CommandGroup,
8
+ CommandInput,
9
+ CommandItem,
10
+ CommandList
11
+ } from "./chunk-PJNYH5SR.js";
12
+ import "./chunk-DEUBJJZN.js";
13
+ import "./chunk-2H6A6Z7F.js";
14
+ import {
15
+ SPRING_GLIDE,
16
+ m
17
+ } from "./chunk-K3BXQG3N.js";
18
+ import "./chunk-FAGDMGLK.js";
19
+ import "./chunk-7PQTPSEE.js";
20
+ import "./chunk-NPPG2GTW.js";
21
+ import "./chunk-JOSTE7WK.js";
22
+ import "./chunk-F6MGAW3L.js";
23
+ import {
24
+ Check
25
+ } from "./chunk-6QNW66XR.js";
26
+ import "./chunk-S3PQ6HKH.js";
27
+ import "./chunk-7SR6WDM2.js";
28
+ import "./chunk-YHXAXJ6I.js";
29
+ import "./chunk-C5X6G26O.js";
30
+ import "./chunk-E26EAQIM.js";
31
+ import {
32
+ cn
33
+ } from "./chunk-DJMHPJBP.js";
34
+ import "./chunk-JDCCC7A7.js";
35
+ import "./chunk-L547YHC4.js";
36
+ import "./chunk-MLKGABMK.js";
37
+
38
+ // web/app/dist/server/assets/model-selector-list-CEfWjRc-.js
39
+ import { useId, useMemo, useState } from "react";
40
+ import { jsx, jsxs } from "react/jsx-runtime";
41
+ function clamp(value, min, max) {
42
+ return Math.min(max, Math.max(min, value));
43
+ }
44
+ function Slider({ value, onChange, min = 0, max = 100, step = 1, label, formatValue = String, disabled = false, className, ...props }) {
45
+ const inputId = useId();
46
+ const [focused, setFocused] = useState(false);
47
+ const [hovered, setHovered] = useState(false);
48
+ const safeMax = Math.max(min, max);
49
+ const safeStep = Math.max(Number.EPSILON, step);
50
+ const clampedValue = clamp(value, min, safeMax);
51
+ const normalized = safeMax === min ? 0 : (clampedValue - min) / (safeMax - min);
52
+ const percent = normalized * 100;
53
+ const zeroOffset = normalized === 0 ? 8 : 0;
54
+ const fillWidth = `calc(${percent}% + ${20 - 20 * normalized - zeroOffset * 2.5}px)`;
55
+ const handleLeft = `calc(${percent}% + ${11 - 24 * normalized}px)`;
56
+ const pipMaskOffset = 20 - 20 * normalized - zeroOffset * 2.5;
57
+ const pipMask = `linear-gradient(to right, transparent calc(${percent}% + ${pipMaskOffset}px), black calc(${percent}% + ${pipMaskOffset + 2}px))`;
58
+ const pipValues = useMemo(() => {
59
+ const count = Math.floor((safeMax - min) / safeStep);
60
+ const values = Array.from({ length: count + 1 }, (_, index) => min + index * safeStep);
61
+ if (values.at(-1) !== safeMax) values.push(safeMax);
62
+ return values;
63
+ }, [
64
+ min,
65
+ safeMax,
66
+ safeStep
67
+ ]);
68
+ const valueText = formatValue(clampedValue);
69
+ const maxValueText = formatValue(safeMax);
70
+ const valueFromPointer = (clientX, element) => {
71
+ const bounds = element.getBoundingClientRect();
72
+ if (bounds.width <= 0 || safeMax === min) return min;
73
+ const nextValue = min + clamp((clientX - bounds.left) / bounds.width, 0, 1) * (safeMax - min);
74
+ return clamp(min + Math.round((nextValue - min) / safeStep) * safeStep, min, safeMax);
75
+ };
76
+ const handleKeyDown = (event) => {
77
+ let handled = true;
78
+ const direction = event.key === "ArrowRight" || event.key === "ArrowUp" ? 1 : event.key === "ArrowLeft" || event.key === "ArrowDown" ? -1 : 0;
79
+ if (direction !== 0) {
80
+ event.preventDefault();
81
+ onChange(clamp(clampedValue + direction * safeStep, min, safeMax));
82
+ } else if (event.key === "Home") {
83
+ event.preventDefault();
84
+ onChange(min);
85
+ } else if (event.key === "End") {
86
+ event.preventDefault();
87
+ onChange(safeMax);
88
+ } else handled = false;
89
+ if (handled) event.stopPropagation();
90
+ };
91
+ return /* @__PURE__ */ jsx("div", {
92
+ className: cn("relative w-full touch-none", disabled && "opacity-50", className),
93
+ ...props,
94
+ children: /* @__PURE__ */ jsxs("div", {
95
+ className: cn("relative h-8 w-full select-none touch-none overflow-hidden rounded-md border border-border bg-background outline-offset-2 transition-colors duration-150", hovered && !disabled && "border-foreground/25", focused && "border-foreground/40 ring-2 ring-ring/60 ring-offset-1 ring-offset-background"),
96
+ onPointerEnter: () => setHovered(true),
97
+ onPointerLeave: () => setHovered(false),
98
+ onPointerDown: (event) => {
99
+ if (!disabled) onChange(valueFromPointer(event.clientX, event.currentTarget));
100
+ },
101
+ children: [
102
+ /* @__PURE__ */ jsx("div", {
103
+ "aria-hidden": "true",
104
+ className: "absolute inset-0 z-[1] flex items-center justify-between px-3 pointer-events-none",
105
+ style: {
106
+ WebkitMaskImage: pipMask,
107
+ maskImage: pipMask
108
+ },
109
+ children: pipValues.map((pipValue) => /* @__PURE__ */ jsx(m.span, {
110
+ className: "relative flex size-[5px] items-center justify-center rounded-full",
111
+ animate: {
112
+ backgroundColor: pipValue === clampedValue ? "var(--foreground)" : "var(--muted-foreground)",
113
+ opacity: pipValue === clampedValue ? 1 : 0.3
114
+ },
115
+ transition: SPRING_GLIDE
116
+ }, pipValue))
117
+ }),
118
+ /* @__PURE__ */ jsx(m.div, {
119
+ "aria-hidden": "true",
120
+ className: "absolute inset-y-0 left-0 z-[3] pointer-events-none bg-foreground/[0.08]",
121
+ layout: "size",
122
+ style: { width: fillWidth },
123
+ transition: SPRING_GLIDE
124
+ }),
125
+ /* @__PURE__ */ jsx(m.div, {
126
+ "aria-hidden": "true",
127
+ className: cn("absolute z-[3] w-0.5 rounded-full pointer-events-none"),
128
+ layout: true,
129
+ style: {
130
+ left: handleLeft,
131
+ top: hovered || focused ? 7 : 8,
132
+ bottom: hovered || focused ? 7 : 8
133
+ },
134
+ animate: { backgroundColor: focused ? "var(--foreground)" : hovered ? "color-mix(in srgb, var(--foreground) 50%, transparent)" : "color-mix(in srgb, var(--foreground) 25%, transparent)" },
135
+ transition: SPRING_GLIDE
136
+ }),
137
+ /* @__PURE__ */ jsxs("div", {
138
+ "aria-hidden": "true",
139
+ className: "pointer-events-none absolute inset-0 z-[2] flex items-center px-2",
140
+ children: [label ? /* @__PURE__ */ jsx("span", {
141
+ className: "px-2 text-[13px] text-transparent select-none",
142
+ "aria-hidden": "true",
143
+ children: label
144
+ }) : null, /* @__PURE__ */ jsx("span", {
145
+ className: "ml-auto px-2 text-[13px] text-transparent tabular-nums select-none",
146
+ style: { minWidth: `${maxValueText.length}ch` },
147
+ "aria-hidden": "true",
148
+ children: maxValueText
149
+ })]
150
+ }),
151
+ /* @__PURE__ */ jsxs("div", {
152
+ className: "pointer-events-none absolute inset-0 z-[4] flex items-center px-2 text-[13px]",
153
+ children: [label ? /* @__PURE__ */ jsx(m.span, {
154
+ className: "px-2",
155
+ animate: { color: hovered || focused ? "var(--foreground)" : "var(--muted-foreground)" },
156
+ transition: SPRING_GLIDE,
157
+ children: label
158
+ }) : null, /* @__PURE__ */ jsx(m.span, {
159
+ className: "ml-auto px-2 tabular-nums",
160
+ style: {
161
+ minWidth: `${maxValueText.length}ch`,
162
+ textAlign: "right"
163
+ },
164
+ animate: { color: hovered || focused ? "var(--foreground)" : "var(--muted-foreground)" },
165
+ transition: SPRING_GLIDE,
166
+ children: valueText
167
+ })]
168
+ }),
169
+ /* @__PURE__ */ jsx("input", {
170
+ id: inputId,
171
+ type: "range",
172
+ min,
173
+ max: safeMax,
174
+ step: safeStep,
175
+ value: clampedValue,
176
+ disabled,
177
+ "aria-label": label ?? "Slider",
178
+ "aria-valuetext": valueText,
179
+ onChange: (event) => onChange(Number(event.currentTarget.value)),
180
+ onFocus: () => setFocused(true),
181
+ onBlur: () => setFocused(false),
182
+ onKeyDown: handleKeyDown,
183
+ className: "absolute inset-0 z-20 m-0 h-full w-full cursor-ew-resize opacity-0 disabled:cursor-not-allowed"
184
+ })
185
+ ]
186
+ })
187
+ });
188
+ }
189
+ function groupModels(models) {
190
+ const groups = /* @__PURE__ */ new Map();
191
+ for (const model of models) {
192
+ const group = groups.get(model.provider) ?? [];
193
+ group.push(model);
194
+ groups.set(model.provider, group);
195
+ }
196
+ return [...groups.entries()];
197
+ }
198
+ function ModelSelectorList({ models, selectedModel, selectedEffort, effortLabel, onModelChange, onEffortChange }) {
199
+ const groups = useMemo(() => groupModels(models), [models]);
200
+ return /* @__PURE__ */ jsxs(Command, {
201
+ className: "min-h-0 max-h-[min(55vh,28rem)] bg-transparent",
202
+ shouldFilter: true,
203
+ children: [
204
+ /* @__PURE__ */ jsx(CommandInput, {
205
+ placeholder: "Search models\u2026",
206
+ "aria-label": "Search models"
207
+ }),
208
+ /* @__PURE__ */ jsxs(CommandList, {
209
+ className: "min-h-0 flex-1 p-1.5",
210
+ children: [/* @__PURE__ */ jsx(CommandEmpty, { children: "No matching models" }), groups.map(([provider, providerModels]) => /* @__PURE__ */ jsx(CommandGroup, {
211
+ heading: providerModels[0]?.providerLabel ?? provider,
212
+ children: providerModels.map((model) => {
213
+ const searchValue = [
214
+ model.id,
215
+ model.name,
216
+ model.provider,
217
+ model.providerLabel,
218
+ model.modelId,
219
+ ...model.keywords ?? []
220
+ ].filter(Boolean).join(" ");
221
+ const selected = model.id === selectedModel?.id;
222
+ return /* @__PURE__ */ jsxs(CommandItem, {
223
+ value: searchValue,
224
+ disabled: model.disabled,
225
+ onSelect: () => {
226
+ if (model.disabled) return;
227
+ onModelChange?.(model.id);
228
+ },
229
+ className: "items-start gap-2 rounded-lg px-2.5 py-2",
230
+ children: [
231
+ /* @__PURE__ */ jsx("span", {
232
+ className: "mt-0.5 shrink-0 text-muted-foreground",
233
+ children: model.icon ?? /* @__PURE__ */ jsx(Gauge, {
234
+ "aria-hidden": "true",
235
+ className: "size-4"
236
+ })
237
+ }),
238
+ /* @__PURE__ */ jsxs("span", {
239
+ className: "min-w-0 flex-1",
240
+ children: [
241
+ /* @__PURE__ */ jsxs("span", {
242
+ className: "flex items-center gap-2",
243
+ children: [/* @__PURE__ */ jsx("span", {
244
+ className: "truncate text-sm font-medium",
245
+ children: model.name
246
+ }), model.disabled ? /* @__PURE__ */ jsx("span", {
247
+ className: "shrink-0 text-[10px] uppercase tracking-wide text-muted-foreground",
248
+ children: "Unavailable"
249
+ }) : null]
250
+ }),
251
+ /* @__PURE__ */ jsxs("span", {
252
+ className: "mt-0.5 block truncate text-xs text-muted-foreground",
253
+ children: [model.modelId ?? model.id, model.reasoning ? " \xB7 reasoning" : ""]
254
+ }),
255
+ model.description ? /* @__PURE__ */ jsx("span", {
256
+ className: "mt-0.5 block truncate text-xs text-muted-foreground/80",
257
+ children: model.description
258
+ }) : null
259
+ ]
260
+ }),
261
+ selected ? /* @__PURE__ */ jsx(Check, {
262
+ "aria-hidden": "true",
263
+ className: "mt-1 size-4 shrink-0"
264
+ }) : null
265
+ ]
266
+ }, model.id);
267
+ })
268
+ }, provider))]
269
+ }),
270
+ selectedModel?.reasoning && selectedModel.efforts?.length ? /* @__PURE__ */ jsx("div", {
271
+ className: "shrink-0 border-t border-border/70 p-2",
272
+ children: /* @__PURE__ */ jsx(Slider, {
273
+ label: effortLabel,
274
+ value: Math.max(0, selectedModel.efforts.findIndex((option) => option.id === selectedEffort?.id)),
275
+ onChange: (nextValue) => {
276
+ const option = selectedModel.efforts?.[Math.round(nextValue)];
277
+ if (option && !option.disabled) onEffortChange?.(option.id);
278
+ },
279
+ min: 0,
280
+ max: Math.max(0, selectedModel.efforts.length - 1),
281
+ formatValue: (nextValue) => selectedModel.efforts?.[Math.round(nextValue)]?.name ?? ""
282
+ })
283
+ }) : null
284
+ ]
285
+ });
286
+ }
287
+ export {
288
+ ModelSelectorList
289
+ };
@@ -2,25 +2,28 @@ import {
2
2
  GenerativeTextRenderer,
3
3
  OpenUIHtmlArtifactView,
4
4
  openui_renderer_exports
5
- } from "./chunk-WZNZQNI4.js";
5
+ } from "./chunk-MOSVTKH5.js";
6
6
  import "./chunk-WN77JNYY.js";
7
7
  import "./chunk-KOIPYBJF.js";
8
8
  import "./chunk-XFVL5ITL.js";
9
- import "./chunk-NFRJDPB3.js";
10
- import "./chunk-LESNF5O4.js";
11
- import "./chunk-52SJQXO4.js";
12
- import "./chunk-AECEK3K7.js";
13
- import "./chunk-TO3YPLNZ.js";
9
+ import "./chunk-RANJ6OJ3.js";
10
+ import "./chunk-EKBKGAWX.js";
14
11
  import "./chunk-RJOANOT4.js";
12
+ import "./chunk-NFRJDPB3.js";
13
+ import "./chunk-T23OO4SC.js";
14
+ import "./chunk-L46H6IDX.js";
15
15
  import "./chunk-QLY3L4A2.js";
16
- import "./chunk-AWFOBHH4.js";
17
- import "./chunk-NLIUTTKL.js";
18
- import "./chunk-RX62LUDV.js";
19
- import "./chunk-5RQ6QAZX.js";
20
- import "./chunk-LSIHVSUT.js";
21
- import "./chunk-BLVCDQ7E.js";
16
+ import "./chunk-7PQTPSEE.js";
17
+ import "./chunk-NPPG2GTW.js";
18
+ import "./chunk-JOSTE7WK.js";
19
+ import "./chunk-F6MGAW3L.js";
20
+ import "./chunk-6QNW66XR.js";
21
+ import "./chunk-S3PQ6HKH.js";
22
+ import "./chunk-7SR6WDM2.js";
23
+ import "./chunk-YHXAXJ6I.js";
24
+ import "./chunk-C5X6G26O.js";
22
25
  import "./chunk-ST5I2PLN.js";
23
- import "./chunk-MDYA4NXK.js";
26
+ import "./chunk-NJRYX4A2.js";
24
27
  import "./chunk-BYXBJQAS.js";
25
28
  import "./chunk-E26EAQIM.js";
26
29
  import "./chunk-DJMHPJBP.js";
@@ -0,0 +1,30 @@
1
+ import {
2
+ paper
3
+ } from "./chunk-ANL4B775.js";
4
+ import {
5
+ cn
6
+ } from "./chunk-DJMHPJBP.js";
7
+ import "./chunk-JDCCC7A7.js";
8
+ import "./chunk-MLKGABMK.js";
9
+
10
+ // web/app/dist/server/assets/prompt-suggestions-BOmHi4-J.js
11
+ import { jsx } from "react/jsx-runtime";
12
+ function PromptSuggestions({ suggestions, selectedSuggestion, cycle, onSuggestion, variant = "pills", className, ...props }) {
13
+ const list = variant === "list";
14
+ return /* @__PURE__ */ jsx("div", {
15
+ "data-slot": "suggestions",
16
+ className: cn(list ? "flex w-full max-w-sm flex-col gap-2" : "flex w-full max-w-xl flex-wrap justify-center gap-1", className),
17
+ ...props,
18
+ children: suggestions.map((suggestion, index) => /* @__PURE__ */ jsx("button", {
19
+ type: "button",
20
+ "aria-pressed": selectedSuggestion === suggestion,
21
+ onClick: () => onSuggestion(suggestion),
22
+ className: cn(paper, "fade-in slide-in-from-bottom-2 animate-in fill-mode-both flex cursor-pointer items-center text-[13px] text-foreground/80 transition-[color,transform] duration-300 hover:-translate-y-px hover:text-foreground focus-visible:text-foreground active:scale-[0.96] motion-reduce:animate-none", list ? "w-full rounded-2xl px-4 py-2.5 text-start" : "rounded-full px-4 py-2", selectedSuggestion === suggestion && "!bg-foreground !text-background hover:!text-background focus-visible:!text-background"),
23
+ style: { animationDelay: `${index * 70}ms` },
24
+ children: suggestion
25
+ }, suggestion))
26
+ }, cycle);
27
+ }
28
+ export {
29
+ PromptSuggestions
30
+ };
@@ -2,22 +2,23 @@ import {
2
2
  ResourceChipSection,
3
3
  ResourceNotice,
4
4
  ResourcesSkeleton
5
- } from "./chunk-6GMKRR3C.js";
5
+ } from "./chunk-XNYQSCB2.js";
6
6
  import {
7
7
  getResourceGroups
8
- } from "./chunk-46VQY7SG.js";
9
- import {
10
- CircleAlert
11
- } from "./chunk-7APYEQIO.js";
8
+ } from "./chunk-HU4AIJV3.js";
12
9
  import "./chunk-BSFYTSN6.js";
13
10
  import "./chunk-EAJTWMK5.js";
11
+ import "./chunk-QAE5SXDK.js";
12
+ import {
13
+ CircleAlert
14
+ } from "./chunk-GABXCOY3.js";
14
15
  import "./chunk-ZGFQ7HIX.js";
15
16
  import "./chunk-E26EAQIM.js";
16
17
  import "./chunk-DJMHPJBP.js";
17
18
  import "./chunk-JDCCC7A7.js";
18
19
  import "./chunk-MLKGABMK.js";
19
20
 
20
- // web/app/dist/server/assets/resources-panel-CwKh4U9f.js
21
+ // web/app/dist/server/assets/resources-panel-B03M8bEp.js
21
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
22
23
  function ResourcesPanelContent({ error, loading, resources, workspace }) {
23
24
  const groups = getResourceGroups(resources, workspace);
@@ -10,11 +10,9 @@ import {
10
10
  QueryClient,
11
11
  QueryClientProvider,
12
12
  domAnimation,
13
+ initAnalytics,
13
14
  isServer
14
- } from "./chunk-PDRD2X5G.js";
15
- import {
16
- redactSessionLabelSecrets
17
- } from "./chunk-QK4CHLVV.js";
15
+ } from "./chunk-HZY3LBGP.js";
18
16
  import {
19
17
  DEFAULT_UI_PREFERENCES,
20
18
  isModelPatternEnabled,
@@ -22,12 +20,15 @@ import {
22
20
  } from "./chunk-54II5QXQ.js";
23
21
  import {
24
22
  Toaster
25
- } from "./chunk-SZ65K4CO.js";
23
+ } from "./chunk-W5GRNHV5.js";
24
+ import {
25
+ redactSessionLabelSecrets
26
+ } from "./chunk-QK4CHLVV.js";
27
+ import "./chunk-PKCTG7EW.js";
26
28
  import {
27
29
  drag,
28
30
  layout
29
31
  } from "./chunk-FAGDMGLK.js";
30
- import "./chunk-PKCTG7EW.js";
31
32
  import {
32
33
  Card,
33
34
  CardContent,
@@ -70,8 +71,9 @@ import {
70
71
  toInstanceSlug,
71
72
  toOccInstanceId
72
73
  } from "./chunk-RJOANOT4.js";
73
- import "./chunk-5RQ6QAZX.js";
74
- import "./chunk-BLVCDQ7E.js";
74
+ import "./chunk-F6MGAW3L.js";
75
+ import "./chunk-YHXAXJ6I.js";
76
+ import "./chunk-C5X6G26O.js";
75
77
  import "./chunk-E26EAQIM.js";
76
78
  import "./chunk-DJMHPJBP.js";
77
79
  import {
@@ -87,7 +89,7 @@ import "./chunk-JDCCC7A7.js";
87
89
  import "./chunk-L547YHC4.js";
88
90
  import "./chunk-MLKGABMK.js";
89
91
 
90
- // web/app/dist/server/assets/router-_ZpegqiQ.js
92
+ // web/app/dist/server/assets/router-BE9HcX2W.js
91
93
  import { useEffect, useLayoutEffect } from "react";
92
94
  import { jsx, jsxs } from "react/jsx-runtime";
93
95
  import { basename, dirname, extname, isAbsolute, join, relative, resolve, sep } from "node:path";
@@ -121,7 +123,7 @@ function NotFoundPage({ title = "404", description = "The requested page could n
121
123
  })
122
124
  });
123
125
  }
124
- var globals_default = "/assets/globals-D_Hy9bT1.css";
126
+ var globals_default = "/assets/globals-Bfr0jrPq.css";
125
127
  function makeQueryClient() {
126
128
  return new QueryClient({ defaultOptions: { queries: {
127
129
  staleTime: 6e4,
@@ -173,6 +175,7 @@ function RootComponent() {
173
175
  document.documentElement.classList.toggle("reduce-motion", preferences.motion === "reduced");
174
176
  }, []);
175
177
  useEffect(() => {
178
+ initAnalytics();
176
179
  }, []);
177
180
  return /* @__PURE__ */ jsx(MotionRuntime, { children: /* @__PURE__ */ jsxs(QueryClientProvider, {
178
181
  client: getQueryClient(),
@@ -190,7 +193,7 @@ function RootDocument({ children }) {
190
193
  ] })]
191
194
  });
192
195
  }
193
- var $$splitComponentImporter = () => import("./routes-Ct81-8Tq-LHRMOS7R.js");
196
+ var $$splitComponentImporter = () => import("./routes-CJTRGB1Z-WJKXJFFT.js");
194
197
  var Route$26 = createFileRoute("/")({ component: lazyRouteComponent($$splitComponentImporter, "component") });
195
198
  var ManagedAttachmentValidationError = class extends Error {
196
199
  status;
@@ -1279,6 +1282,28 @@ function buildOpenUIPrompt(mode, options) {
1279
1282
  editMode: false
1280
1283
  });
1281
1284
  }
1285
+ var CoalescingRefreshQueue = class {
1286
+ #inFlight = /* @__PURE__ */ new Map();
1287
+ #pending = /* @__PURE__ */ new Set();
1288
+ request(key, refresh) {
1289
+ this.#pending.add(key);
1290
+ if (this.#inFlight.has(key)) return;
1291
+ const run = (async () => {
1292
+ while (this.#pending.delete(key)) try {
1293
+ await refresh();
1294
+ } catch {
1295
+ }
1296
+ })();
1297
+ this.#inFlight.set(key, run);
1298
+ run.finally(() => {
1299
+ if (this.#inFlight.get(key) === run) this.#inFlight.delete(key);
1300
+ }).catch(() => void 0);
1301
+ }
1302
+ clear() {
1303
+ this.#inFlight.clear();
1304
+ this.#pending.clear();
1305
+ }
1306
+ };
1282
1307
  var defaultPersistence = {
1283
1308
  mkdir: (path, options) => mkdir(path, options),
1284
1309
  writeFile: (path, data, encoding) => writeFile(path, data, encoding),
@@ -4048,8 +4073,7 @@ var PrimeBridge = class {
4048
4073
  #ringBuffers = /* @__PURE__ */ new Map();
4049
4074
  #rlmChildStreams = /* @__PURE__ */ new Map();
4050
4075
  #rlmChildStreamInitializations = /* @__PURE__ */ new Map();
4051
- #rlmChildMetadataRefreshes = /* @__PURE__ */ new Map();
4052
- #rlmChildMetadataRefreshPending = /* @__PURE__ */ new Set();
4076
+ #rlmChildMetadataRefreshQueue = new CoalescingRefreshQueue();
4053
4077
  #dialogs;
4054
4078
  #kernelTimeoutMs;
4055
4079
  #ringBufferCapacity;
@@ -4143,8 +4167,7 @@ var PrimeBridge = class {
4143
4167
  }
4144
4168
  this.#rlmChildStreams.clear();
4145
4169
  this.#rlmChildStreamInitializations.clear();
4146
- this.#rlmChildMetadataRefreshes.clear();
4147
- this.#rlmChildMetadataRefreshPending.clear();
4170
+ this.#rlmChildMetadataRefreshQueue.clear();
4148
4171
  for (const session of this.#sessions.values()) {
4149
4172
  session.unsubscribe();
4150
4173
  session.connection.dispose().catch(() => void 0);
@@ -4429,15 +4452,7 @@ var PrimeBridge = class {
4429
4452
  } : void 0;
4430
4453
  }
4431
4454
  #queueRlmChildMetadataRefresh(rootSessionId) {
4432
- this.#rlmChildMetadataRefreshPending.add(rootSessionId);
4433
- if (this.#rlmChildMetadataRefreshes.has(rootSessionId)) return;
4434
- const refresh = (async () => {
4435
- while (this.#rlmChildMetadataRefreshPending.delete(rootSessionId)) await this.#refreshRlmChildMetadata(rootSessionId);
4436
- })();
4437
- this.#rlmChildMetadataRefreshes.set(rootSessionId, refresh);
4438
- refresh.finally(() => {
4439
- if (this.#rlmChildMetadataRefreshes.get(rootSessionId) === refresh) this.#rlmChildMetadataRefreshes.delete(rootSessionId);
4440
- }).catch(() => void 0);
4455
+ this.#rlmChildMetadataRefreshQueue.request(rootSessionId, () => this.#refreshRlmChildMetadata(rootSessionId));
4441
4456
  }
4442
4457
  async #refreshRlmChildMetadata(rootSessionId) {
4443
4458
  const parent = this.#sessions.get(rootSessionId);