@qredence/fleet 0.5.1 → 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 (200) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/bin/fleet-prime.mjs +6 -0
  3. package/dist/web/client/assets/action-swap-roll-BB8DFMuf.js +1 -0
  4. package/dist/web/client/assets/agent-activity-CDcDNVC6.js +1 -0
  5. package/dist/web/client/assets/agent-disclosure-B8SnhQXL.js +1 -0
  6. package/dist/web/client/assets/analytics-stub-B8MIkiDB.js +1 -0
  7. package/dist/web/client/assets/{artifacts-panel-CX62LQ13.js → artifacts-panel-CmHYXfoo.js} +1 -1
  8. package/dist/web/client/assets/button-BV9NafmI.js +1 -0
  9. package/dist/web/client/assets/{chat-CsepBQwy.js → chat-W-yOMyG_.js} +1 -1
  10. package/dist/web/client/assets/chat-command-palette-DiG-i3uJ.js +1 -0
  11. package/dist/web/client/assets/check-JjHKAZas.js +1 -0
  12. package/dist/web/client/assets/chevron-up-CnSvySGH.js +1 -0
  13. package/dist/web/client/assets/circle-alert-CONlFReH.js +1 -0
  14. package/dist/web/client/assets/circle-x-CkKCB__4.js +1 -0
  15. package/dist/web/client/assets/citations-CpTFUvx7.js +2 -0
  16. package/dist/web/client/assets/collapsible-BoXtZZWN.js +1 -0
  17. package/dist/web/client/assets/command-Cx-UYeQ9.js +1 -0
  18. package/dist/web/client/assets/createBaseUIEventDetails-DV0dQrBX.js +1 -0
  19. package/dist/web/client/assets/dialog-Dh7WpGIu.js +1 -0
  20. package/dist/web/client/assets/dist-BPaFisIZ.js +41 -0
  21. package/dist/web/client/assets/earth-DGZXAN5r.js +1 -0
  22. package/dist/web/client/assets/ease-u56MhKYS.js +1 -0
  23. package/dist/web/client/assets/file-text-T-NcAlZs.js +1 -0
  24. package/dist/web/client/assets/fleet-message-queue-B6zAK-hX.js +1 -0
  25. package/dist/web/client/assets/{fleet-pi-tool-renderer-BD_ZAjlG.js → fleet-pi-tool-renderer-Btq9mDUe.js} +29 -29
  26. package/dist/web/client/assets/fleet-reasoning-panel-MtbSdoCv.js +1 -0
  27. package/dist/web/client/assets/fleet-subagent-list-iszvrvy_.js +1 -0
  28. package/dist/web/client/assets/fleet-tool-timeline-COzPrwr8.js +1 -0
  29. package/dist/web/client/assets/{fork-picker-dialog-C2cVJUbf.js → fork-picker-dialog-CAhWx0G5.js} +1 -1
  30. package/dist/web/client/assets/gauge-DNpstbBn.js +1 -0
  31. package/dist/web/client/assets/generative-text-renderer-C1JrmYfx.js +6 -0
  32. package/dist/web/client/assets/globals-Bfr0jrPq.css +2 -0
  33. package/dist/web/client/assets/horizontal-resize-Bl3AyBJg.js +1 -0
  34. package/dist/web/client/assets/image-BbPmlw-n.js +1 -0
  35. package/dist/web/client/assets/index-QgUwd4m8.js +12 -0
  36. package/dist/web/client/assets/input-Bol3TP4v.js +1 -0
  37. package/dist/web/client/assets/input-group-D5gi9zBK.js +1 -0
  38. package/dist/web/client/assets/{ipython-tool-BfeIa0nK.js → ipython-tool-BrMePqD-.js} +1 -1
  39. package/dist/web/client/assets/{markdown-DG7pUdsX.js → markdown-RD_ydkyD.js} +2 -2
  40. package/dist/web/client/assets/{markdown-code-BgMzpy7O.js → markdown-code-ETqXqY8E.js} +1 -1
  41. package/dist/web/client/assets/message-square-hbDao-A1.js +1 -0
  42. package/dist/web/client/assets/model-selector-list-CJY9pyt2.js +1 -0
  43. package/dist/web/client/assets/notify-DKTqXChG.js +1 -0
  44. package/dist/web/client/assets/{openui-renderer-DlUo6ehT.js → openui-renderer-BZMghkzQ.js} +8 -8
  45. package/dist/web/client/assets/{prime-agent-artifacts-CHGb5V_j.js → prime-agent-artifacts-C-g1VPiW.js} +1 -1
  46. package/dist/web/client/assets/prompt-suggestions-CXM6knMK.js +1 -0
  47. package/dist/web/client/assets/provider-catalog-CHKFGwHr.js +1 -0
  48. package/dist/web/client/assets/provider-label-KkqVX1CI.js +1 -0
  49. package/dist/web/client/assets/range-BWOHiLNe.js +1 -0
  50. package/dist/web/client/assets/refresh-cw-IThTJ3j-.js +1 -0
  51. package/dist/web/client/assets/repl-panel-CCh4ly7J.js +1 -0
  52. package/dist/web/client/assets/{resource-helpers-ULlyU8qK.js → resource-helpers-Q2T0YCMO.js} +1 -1
  53. package/dist/web/client/assets/resources-panel-Bo8dfUdm.js +1 -0
  54. package/dist/web/client/assets/right-panel-context-B2VAZ2p4.js +1 -0
  55. package/dist/web/client/assets/right-panel-registry-C5fQcBKw.js +2 -0
  56. package/dist/web/client/assets/routes-C1hRkRkv.js +16 -0
  57. package/dist/web/client/assets/safe-external-url-D3PJJIcM.js +1 -0
  58. package/dist/web/client/assets/session-insights-panel-CQdT90Op.js +1 -0
  59. package/dist/web/client/assets/settings-dialog-CvvM6T0m.js +1 -0
  60. package/dist/web/client/assets/{sparkles-C5H3Jtgf.js → shield-check-CkA2viVW.js} +1 -1
  61. package/dist/web/client/assets/{skeleton-loaders-fStjEeRP.js → skeleton-loaders-DjGv9LLA.js} +1 -1
  62. package/dist/web/client/assets/sparkles-DuclzqlE.js +1 -0
  63. package/dist/web/client/assets/subagent-chat-panel-tGCg6gcn.js +1 -0
  64. package/dist/web/client/assets/subagent-transcript-NO0PR8RU.js +1 -0
  65. package/dist/web/client/assets/subagent-utils-CQbaJ1g-.js +1 -0
  66. package/dist/web/client/assets/subagents-panel-BkFLsQQY.js +1 -0
  67. package/dist/web/client/assets/surfaces-cW-gp56p.js +1 -0
  68. package/dist/web/client/assets/switch-CcOFiQBK.js +1 -0
  69. package/dist/web/client/assets/terminal-DOS1s1gm.js +1 -0
  70. package/dist/web/client/assets/toast-ATq44uAL.js +1 -0
  71. package/dist/web/client/assets/tool-result-pklnrxSW.js +4 -0
  72. package/dist/web/client/assets/use-reduced-motion-eORd7fqW.js +9 -0
  73. package/dist/web/client/assets/useBaseUiId-CHqXB2UQ.js +1 -0
  74. package/dist/web/client/assets/useControlled-CJJ9BOQB.js +1 -0
  75. package/dist/web/client/assets/workspace-panel-BmMW7h7b.js +1 -0
  76. package/dist/web/client/assets/wrench-BJNNe07k.js +1 -0
  77. package/dist/web/client/assets/x-CsRC_tCI.js +1 -0
  78. package/dist/web/client/bundle-budget.json +10 -0
  79. package/dist/web/server/_tanstack-start-manifest_v-B4BnRTa_-DR7WQTT5.js +90 -0
  80. package/dist/web/server/agent-activity-Dx6AlDhN-JXOL2EXK.js +514 -0
  81. package/dist/web/server/{artifacts-panel-D9w1DHAN-FGRDCYU2.js → artifacts-panel-CloS3-ij-XWYXKL6A.js} +30 -22
  82. package/dist/web/server/{chat-command-palette-BaenPkCN-BHSOPGU4.js → chat-command-palette-Cc0uGvNm-GKENKTO7.js} +48 -22
  83. package/dist/web/server/{chunk-KPNGZR2R.js → chunk-3B6M63AO.js} +206 -209
  84. package/dist/web/server/chunk-3D4Z32XA.js +22 -0
  85. package/dist/web/server/chunk-3SSHBMDS.js +196 -0
  86. package/dist/web/server/chunk-4PQ6OD6J.js +22 -0
  87. package/dist/web/server/{chunk-5AVQZ4AZ.js → chunk-4UBOIY2S.js} +2 -1
  88. package/dist/web/server/chunk-56SEDI5N.js +19 -0
  89. package/dist/web/server/chunk-6QNW66XR.js +19 -0
  90. package/dist/web/server/chunk-744IIIDL.js +19 -0
  91. package/dist/web/server/{chunk-52SJQXO4.js → chunk-7PQTPSEE.js} +568 -568
  92. package/dist/web/server/{chunk-XYYNYFFD.js → chunk-7SR6WDM2.js} +2 -2
  93. package/dist/web/server/chunk-ANL4B775.js +60 -0
  94. package/dist/web/server/chunk-BNQWMQHD.js +35 -0
  95. package/dist/web/server/{chunk-X2TUFLTP.js → chunk-C5X6G26O.js} +436 -454
  96. package/dist/web/server/chunk-C66BSNA6.js +42 -0
  97. package/dist/web/server/{chunk-3GSFXWL5.js → chunk-DEUBJJZN.js} +4 -59
  98. package/dist/web/server/chunk-E365EOXJ.js +35 -0
  99. package/dist/web/server/{chunk-5WZFFNFY.js → chunk-EFAGCVZ3.js} +2 -23
  100. package/dist/web/server/{chunk-Y6LJ4WBI.js → chunk-EGQ6ZX4D.js} +563 -830
  101. package/dist/web/server/{chunk-DO3TVNGA.js → chunk-EKBKGAWX.js} +12 -10
  102. package/dist/web/server/{chunk-RPROZ2JC.js → chunk-F6MGAW3L.js} +133 -133
  103. package/dist/web/server/chunk-GABXCOY3.js +37 -0
  104. package/dist/web/server/chunk-GV7DJIHY.js +36 -0
  105. package/dist/web/server/{chunk-PWK2HJIV.js → chunk-HSJMLO36.js} +5 -252
  106. package/dist/web/server/{chunk-46VQY7SG.js → chunk-HU4AIJV3.js} +4 -4
  107. package/dist/web/server/{chunk-H64JLONZ.js → chunk-HZY3LBGP.js} +146 -2
  108. package/dist/web/server/{chunk-3IKSPTYI.js → chunk-J6MRJXUH.js} +22 -15
  109. package/dist/web/server/{chunk-FE4KN6T2.js → chunk-JOSTE7WK.js} +7 -5
  110. package/dist/web/server/{chunk-QJBEWT4E.js → chunk-K3BXQG3N.js} +27 -292
  111. package/dist/web/server/chunk-K4ESBQ3R.js +20 -0
  112. package/dist/web/server/chunk-KOIPYBJF.js +3773 -0
  113. package/dist/web/server/{chunk-44IVTHDV.js → chunk-KZSM3BHO.js} +28 -119
  114. package/dist/web/server/chunk-L46H6IDX.js +13 -0
  115. package/dist/web/server/chunk-LNGWHEE6.js +206 -0
  116. package/dist/web/server/{chunk-2U7PWSJX.js → chunk-MOSVTKH5.js} +262 -3661
  117. package/dist/web/server/{chunk-MDYA4NXK.js → chunk-NJRYX4A2.js} +4 -4
  118. package/dist/web/server/chunk-NNMZQN7Q.js +296 -0
  119. package/dist/web/server/{chunk-VHCAD46L.js → chunk-NPPG2GTW.js} +7 -7
  120. package/dist/web/server/{chunk-AZZHUVJR.js → chunk-PJNYH5SR.js} +7 -303
  121. package/dist/web/server/{chunk-7APYEQIO.js → chunk-QAE5SXDK.js} +1 -24
  122. package/dist/web/server/chunk-QTFCJGOY.js +189 -0
  123. package/dist/web/server/{chunk-FBOO3G67.js → chunk-RANJ6OJ3.js} +9 -9
  124. package/dist/web/server/chunk-RPBSDXJ4.js +62 -0
  125. package/dist/web/server/{chunk-PCJ5EKFE.js → chunk-RYHIJMFD.js} +63 -34
  126. package/dist/web/server/{chunk-NLIUTTKL.js → chunk-S3PQ6HKH.js} +1 -16
  127. package/dist/web/server/chunk-SG4W4SPQ.js +31 -0
  128. package/dist/web/server/{chunk-LESNF5O4.js → chunk-T23OO4SC.js} +2 -11
  129. package/dist/web/server/{chunk-FVWDJNXR.js → chunk-UNZJQ7CY.js} +6 -4
  130. package/dist/web/server/chunk-V3S6BVXO.js +22 -0
  131. package/dist/web/server/{chunk-M2FGGPNA.js → chunk-VGDP4YDU.js} +70 -45
  132. package/dist/web/server/{chunk-WK7CQS2N.js → chunk-W5GRNHV5.js} +51 -49
  133. package/dist/web/server/{chunk-HBZ6YKRB.js → chunk-WN77JNYY.js} +2 -2
  134. package/dist/web/server/{chunk-B2F6MLVZ.js → chunk-XFVL5ITL.js} +2246 -2228
  135. package/dist/web/server/{chunk-EIVNRYP3.js → chunk-XKYEXPLQ.js} +2 -17
  136. package/dist/web/server/{chunk-6GMKRR3C.js → chunk-XNYQSCB2.js} +2 -2
  137. package/dist/web/server/chunk-YHXAXJ6I.js +22 -0
  138. package/dist/web/server/chunk-YLMXYMLG.js +86 -0
  139. package/dist/web/server/chunk-YNGDUWCF.js +56 -0
  140. package/dist/web/server/chunk-ZJFA4F5X.js +280 -0
  141. package/dist/web/server/fleet-message-queue-Bn0_3Efe-G4BZR2EU.js +74 -0
  142. package/dist/web/server/fleet-pi-tool-renderer-C52SZmPx-CIAH3IV7.js +51 -0
  143. package/dist/web/server/fleet-reasoning-panel-C_e7wzVm-SDHEWDQT.js +199 -0
  144. package/dist/web/server/fleet-subagent-list-CQltKswG-EKCMQHDI.js +18 -0
  145. package/dist/web/server/fleet-tool-timeline-KENErMKg-HTN7SW3D.js +16 -0
  146. package/dist/web/server/{fork-picker-dialog-BZzfxdQd-Y725VJ7G.js → fork-picker-dialog-DK9YGQuB-4QEFWRU4.js} +6 -5
  147. package/dist/web/server/{markdown-Boni3lHk-AZGKDNAR.js → markdown-QcSUaLyd-6DJUK5NC.js} +1 -1
  148. package/dist/web/server/{markdown-code-BrWukbg3-D2GN4Y77.js → markdown-code-Dyo1_13a-52ZQZSPE.js} +2 -2
  149. package/dist/web/server/model-selector-list-CEfWjRc--GBW2GUO6.js +289 -0
  150. package/dist/web/server/{openui-renderer-Cg4RSE9k-7BTJIYZJ.js → openui-renderer-Dk0Ak9cW-MUJQHDAS.js} +19 -16
  151. package/dist/web/server/prompt-suggestions-BOmHi4-J-C563CHFU.js +30 -0
  152. package/dist/web/server/{repl-panel-BEQrC2ef-V3YEZ7EO.js → repl-panel-D9E8nkQy-L45ZNG2V.js} +4 -3
  153. package/dist/web/server/{resources-panel-CwKh4U9f-D3VDEMDW.js → resources-panel-B03M8bEp-SZG726N5.js} +7 -6
  154. package/dist/web/server/{router-CEahIUpn-SRG7XKIH.js → router-BE9HcX2W-JMQ3JWE5.js} +1756 -1374
  155. package/dist/web/server/{routes-BznemByz-F4DJAYIM.js → routes-CJTRGB1Z-WJKXJFFT.js} +3748 -3955
  156. package/dist/web/server/server.js +3 -3
  157. package/dist/web/server/{session-insights-panel-JfeTHE0d-3HZB3ZWI.js → session-insights-panel-BHZyKDTo-LRMAMA3O.js} +4 -2
  158. package/dist/web/server/{settings-dialog-DgeBMORv-7SRSENPM.js → settings-dialog-yDibpbBH-TCLJ7NRJ.js} +172 -161
  159. package/dist/web/server/{start-CLAD7RcD-56S4BWMM.js → start-BYVnok_H-IA6TWGA3.js} +1 -1
  160. package/dist/web/server/subagent-chat-panel-B1YoZIKO-DFRUDQJ2.js +82 -0
  161. package/dist/web/server/subagents-panel-dJJwpsEL-FTWWCHND.js +200 -0
  162. package/dist/web/server/{workspace-panel-y54P79_B-VPIYUXF6.js → workspace-panel-BC_H8Jri-5MHAEQQS.js} +22 -18
  163. package/package.json +5 -5
  164. package/dist/web/client/assets/analytics-stub-Jh3lkb8P.js +0 -1
  165. package/dist/web/client/assets/button-0At5xSyU.js +0 -1
  166. package/dist/web/client/assets/chat-command-palette-C4sSf8Kg.js +0 -1
  167. package/dist/web/client/assets/collapsible-DmyYcezk.js +0 -1
  168. package/dist/web/client/assets/command-CB6emP8m.js +0 -2
  169. package/dist/web/client/assets/conversation-turns-ByFoWPXe.js +0 -6
  170. package/dist/web/client/assets/dialog-DZ44tBtH.js +0 -1
  171. package/dist/web/client/assets/dist-MNgIFxqY.js +0 -41
  172. package/dist/web/client/assets/ease-vFBiNFNK.js +0 -9
  173. package/dist/web/client/assets/file-text-BhQ0ZnoU.js +0 -1
  174. package/dist/web/client/assets/globals-CqqQdk2S.css +0 -2
  175. package/dist/web/client/assets/horizontal-resize-C1TpRLNC.js +0 -1
  176. package/dist/web/client/assets/index-DweoFRMs.js +0 -12
  177. package/dist/web/client/assets/input-CqC82Agz.js +0 -1
  178. package/dist/web/client/assets/input-group-H0TG-mkU.js +0 -1
  179. package/dist/web/client/assets/notify-Duj26eeZ.js +0 -1
  180. package/dist/web/client/assets/provider-catalog-BZhZuKSz.js +0 -1
  181. package/dist/web/client/assets/provider-label-jKm8v18u.js +0 -1
  182. package/dist/web/client/assets/range-vSJ7Ux_5.js +0 -2
  183. package/dist/web/client/assets/repl-panel-DiGS6uCw.js +0 -1
  184. package/dist/web/client/assets/resources-panel-DSU7VGX2.js +0 -1
  185. package/dist/web/client/assets/routes-CxlNCi_v.js +0 -16
  186. package/dist/web/client/assets/safe-external-url-Bl_78dpZ.js +0 -1
  187. package/dist/web/client/assets/session-insights-panel-DwmwiikS.js +0 -1
  188. package/dist/web/client/assets/settings-dialog-CkfpTKfM.js +0 -1
  189. package/dist/web/client/assets/subagents-panel-DGnsK6Nx.js +0 -1
  190. package/dist/web/client/assets/switch-BFEBpUEU.js +0 -1
  191. package/dist/web/client/assets/toast-C4s7FYYa.js +0 -1
  192. package/dist/web/client/assets/tool-result-CBzwwUE9.js +0 -4
  193. package/dist/web/client/assets/useBaseUiId-B9f7fokB.js +0 -1
  194. package/dist/web/client/assets/useControlled-CoY1jSuL.js +0 -1
  195. package/dist/web/client/assets/workspace-panel-CjdXlEvd.js +0 -1
  196. package/dist/web/client/assets/x-BgciQ7_C.js +0 -1
  197. package/dist/web/server/_tanstack-start-manifest_v-bDUlyKY0-KFW35JRO.js +0 -82
  198. package/dist/web/server/chunk-ZEVZFLIY.js +0 -334
  199. package/dist/web/server/fleet-pi-tool-renderer-lJvZWmBJ-4M5YI6VS.js +0 -35
  200. package/dist/web/server/subagents-panel-CzZe3co7-2VZ5JTWF.js +0 -332
@@ -5,7 +5,7 @@ import {
5
5
  cn
6
6
  } from "./chunk-DJMHPJBP.js";
7
7
 
8
- // web/app/dist/server/assets/ipython-tool-DYRA1Gao.js
8
+ // web/app/dist/server/assets/ipython-tool-BM-fkkjk.js
9
9
  import React, { memo, useEffect, useMemo, useRef, useState } from "react";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
  var CodeXml = createLucideIcon("code-xml", [
@@ -267,11 +267,58 @@ function firstNonEmpty(...candidates) {
267
267
  for (const c of candidates) if (c && c.trim()) return c;
268
268
  return "";
269
269
  }
270
+ function IpythonCardHeader({ isPending, isBashCell, hasError, kernelRestarted }) {
271
+ return /* @__PURE__ */ jsxs("div", {
272
+ className: "flex h-7 items-center justify-between pr-2 pl-2.5",
273
+ children: [/* @__PURE__ */ jsxs("div", {
274
+ className: "flex min-w-0 items-center gap-1.5 overflow-hidden",
275
+ children: [/* @__PURE__ */ jsxs("span", {
276
+ className: "inline-flex items-center gap-1 rounded-sm bg-muted px-1.5 py-0.5 font-mono text-[10px] leading-none text-muted-foreground uppercase",
277
+ children: [/* @__PURE__ */ jsx(CodeXml, { className: "h-3 w-3" }), isBashCell ? "shell" : "python"]
278
+ }), isPending ? /* @__PURE__ */ jsx(ToolTextShimmer, {
279
+ as: "span",
280
+ duration: 1.2,
281
+ className: "m-0 inline-flex h-full items-center truncate text-xs leading-none",
282
+ children: "Running cell"
283
+ }) : /* @__PURE__ */ jsxs("span", {
284
+ className: "truncate text-xs text-muted-foreground",
285
+ children: [hasError ? "Cell failed" : "Ran cell", kernelRestarted && " \xB7 kernel restarted"]
286
+ })]
287
+ }), isPending && /* @__PURE__ */ jsx("svg", {
288
+ className: "h-3 w-3 shrink-0 animate-spin text-muted-foreground",
289
+ viewBox: "0 0 16 16",
290
+ fill: "none",
291
+ children: /* @__PURE__ */ jsx("circle", {
292
+ cx: "8",
293
+ cy: "8",
294
+ r: "6",
295
+ stroke: "currentColor",
296
+ strokeWidth: "1.5",
297
+ strokeDasharray: "28",
298
+ strokeDashoffset: "7",
299
+ strokeLinecap: "round"
300
+ })
301
+ })]
302
+ });
303
+ }
304
+ function IpythonBackgroundOutput({ output }) {
305
+ return /* @__PURE__ */ jsxs("div", {
306
+ className: "mt-1.5 border-t border-dashed border-border/70 pt-1.5 font-mono text-[11px] leading-[15px]",
307
+ children: [/* @__PURE__ */ jsx("span", {
308
+ className: "text-[10px] font-semibold uppercase tracking-wider text-amber-600/90 dark:text-amber-400/90",
309
+ children: "Unattributed background output:"
310
+ }), /* @__PURE__ */ jsx("div", {
311
+ className: "mt-0.5 max-h-[140px] overflow-auto whitespace-pre-wrap rounded bg-muted/40 p-1.5 text-muted-foreground",
312
+ children: output
313
+ })]
314
+ });
315
+ }
270
316
  function IpythonCellCard({ step, state, onComplete, approval, cellIndex, part }) {
271
317
  useToolComplete(state === "animating", step.duration, onComplete);
272
318
  const isPending = state === "animating";
273
319
  const code = getInputCode(part);
274
320
  const details = getOutputDetails(part);
321
+ const backgroundOutput = typeof part.backgroundOutput === "string" && part.backgroundOutput.trim() ? part.backgroundOutput : typeof details?.backgroundOutput === "string" && details.backgroundOutput.trim() ? details.backgroundOutput : void 0;
275
322
  const isBashCell = code.trimStart().startsWith("%%bash");
276
323
  const cellLabel = cellIndex !== void 0 ? `In [${cellIndex}]` : "IPython";
277
324
  const displayOutput = firstNonEmpty(details?.result, details?.stdout, details?.stderr, details?.error?.evalue);
@@ -279,53 +326,31 @@ function IpythonCellCard({ step, state, onComplete, approval, cellIndex, part })
279
326
  return /* @__PURE__ */ jsxs("div", {
280
327
  className: "overflow-hidden rounded-an-tool-border-radius border border-border bg-an-tool-background",
281
328
  children: [
282
- /* @__PURE__ */ jsxs("div", {
283
- className: "flex h-7 items-center justify-between pr-2 pl-2.5",
284
- children: [/* @__PURE__ */ jsxs("div", {
285
- className: "flex min-w-0 items-center gap-1.5 overflow-hidden",
286
- children: [/* @__PURE__ */ jsxs("span", {
287
- className: "inline-flex items-center gap-1 rounded-sm bg-muted px-1.5 py-0.5 font-mono text-[10px] leading-none text-muted-foreground uppercase",
288
- children: [/* @__PURE__ */ jsx(CodeXml, { className: "h-3 w-3" }), isBashCell ? "shell" : "python"]
289
- }), isPending ? /* @__PURE__ */ jsx(ToolTextShimmer, {
290
- as: "span",
291
- duration: 1.2,
292
- className: "m-0 inline-flex h-full items-center truncate text-xs leading-none",
293
- children: "Running cell"
294
- }) : /* @__PURE__ */ jsxs("span", {
295
- className: "truncate text-xs text-muted-foreground",
296
- children: [hasError ? "Cell failed" : "Ran cell", details?.kernelRestarted && " \xB7 kernel restarted"]
297
- })]
298
- }), isPending && /* @__PURE__ */ jsx("svg", {
299
- className: "h-3 w-3 shrink-0 animate-spin text-muted-foreground",
300
- viewBox: "0 0 16 16",
301
- fill: "none",
302
- children: /* @__PURE__ */ jsx("circle", {
303
- cx: "8",
304
- cy: "8",
305
- r: "6",
306
- stroke: "currentColor",
307
- strokeWidth: "1.5",
308
- strokeDasharray: "28",
309
- strokeDashoffset: "7",
310
- strokeLinecap: "round"
311
- })
312
- })]
329
+ /* @__PURE__ */ jsx(IpythonCardHeader, {
330
+ isPending,
331
+ isBashCell,
332
+ hasError,
333
+ kernelRestarted: details?.kernelRestarted
313
334
  }),
314
335
  /* @__PURE__ */ jsxs("div", {
315
336
  className: "overflow-hidden border-t border-border bg-background px-2.5 py-1.5 font-mono text-[12px] leading-[16px]",
316
- children: [/* @__PURE__ */ jsxs("div", {
317
- className: "break-all whitespace-pre-wrap",
318
- children: [/* @__PURE__ */ jsxs("span", {
319
- className: "mr-2 text-cyan-600 select-none dark:text-cyan-400",
320
- children: [cellLabel, ":"]
321
- }), /* @__PURE__ */ jsx("span", {
322
- className: "text-foreground",
323
- children: code
324
- })]
325
- }), !isPending && displayOutput && /* @__PURE__ */ jsx("div", {
326
- className: `mt-1 max-h-[160px] overflow-hidden whitespace-pre-line ${hasError ? "text-red-600 dark:text-red-400" : "text-muted-foreground"}`,
327
- children: displayOutput
328
- })]
337
+ children: [
338
+ /* @__PURE__ */ jsxs("div", {
339
+ className: "break-all whitespace-pre-wrap",
340
+ children: [/* @__PURE__ */ jsxs("span", {
341
+ className: "mr-2 text-cyan-600 select-none dark:text-cyan-400",
342
+ children: [cellLabel, ":"]
343
+ }), /* @__PURE__ */ jsx("span", {
344
+ className: "text-foreground",
345
+ children: code
346
+ })]
347
+ }),
348
+ !isPending && displayOutput && /* @__PURE__ */ jsx("div", {
349
+ className: `mt-1 max-h-[160px] overflow-hidden whitespace-pre-line ${hasError ? "text-red-600 dark:text-red-400" : "text-muted-foreground"}`,
350
+ children: displayOutput
351
+ }),
352
+ backgroundOutput && /* @__PURE__ */ jsx(IpythonBackgroundOutput, { output: backgroundOutput })
353
+ ]
329
354
  }),
330
355
  approval && /* @__PURE__ */ jsx(ToolApprovalFooter, {
331
356
  isPending,
@@ -19,9 +19,11 @@ import {
19
19
  useFloatingPortalNode,
20
20
  useTimeout,
21
21
  visuallyHidden
22
- } from "./chunk-RPROZ2JC.js";
22
+ } from "./chunk-F6MGAW3L.js";
23
+ import {
24
+ X
25
+ } from "./chunk-YHXAXJ6I.js";
23
26
  import {
24
- X,
25
27
  addEventListener,
26
28
  formatErrorMessage,
27
29
  getWindow,
@@ -34,7 +36,7 @@ import {
34
36
  useRefWithInit,
35
37
  useRenderElement,
36
38
  useStableCallback
37
- } from "./chunk-X2TUFLTP.js";
39
+ } from "./chunk-C5X6G26O.js";
38
40
  import {
39
41
  createLucideIcon
40
42
  } from "./chunk-E26EAQIM.js";
@@ -42,10 +44,54 @@ import {
42
44
  cn
43
45
  } from "./chunk-DJMHPJBP.js";
44
46
 
45
- // web/app/dist/server/assets/toast-Df4ZMLHv.js
47
+ // web/app/dist/server/assets/toast-DJqxVrYi.js
46
48
  import * as React$1 from "react";
47
49
  import { jsx, jsxs } from "react/jsx-runtime";
48
50
  import * as ReactDOM from "react-dom";
51
+ var Info = createLucideIcon("info", [
52
+ ["circle", {
53
+ cx: "12",
54
+ cy: "12",
55
+ r: "10",
56
+ key: "1mglay"
57
+ }],
58
+ ["path", {
59
+ d: "M12 16v-4",
60
+ key: "1dtifu"
61
+ }],
62
+ ["path", {
63
+ d: "M12 8h.01",
64
+ key: "e9boi3"
65
+ }]
66
+ ]);
67
+ var OctagonX = createLucideIcon("octagon-x", [
68
+ ["path", {
69
+ d: "m15 9-6 6",
70
+ key: "1uzhvr"
71
+ }],
72
+ ["path", {
73
+ d: "M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",
74
+ key: "2d38gg"
75
+ }],
76
+ ["path", {
77
+ d: "m9 9 6 6",
78
+ key: "z0biqf"
79
+ }]
80
+ ]);
81
+ var TriangleAlert = createLucideIcon("triangle-alert", [
82
+ ["path", {
83
+ d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
84
+ key: "wmoenq"
85
+ }],
86
+ ["path", {
87
+ d: "M12 9v4",
88
+ key: "juzpu7"
89
+ }],
90
+ ["path", {
91
+ d: "M12 17h.01",
92
+ key: "p32p05"
93
+ }]
94
+ ]);
49
95
  var ToastContext = /* @__PURE__ */ React$1.createContext(void 0);
50
96
  function useToastProviderContext() {
51
97
  const context = React$1.useContext(ToastContext);
@@ -1166,50 +1212,6 @@ function createToastManager$1() {
1166
1212
  }
1167
1213
  };
1168
1214
  }
1169
- var Info = createLucideIcon("info", [
1170
- ["circle", {
1171
- cx: "12",
1172
- cy: "12",
1173
- r: "10",
1174
- key: "1mglay"
1175
- }],
1176
- ["path", {
1177
- d: "M12 16v-4",
1178
- key: "1dtifu"
1179
- }],
1180
- ["path", {
1181
- d: "M12 8h.01",
1182
- key: "e9boi3"
1183
- }]
1184
- ]);
1185
- var OctagonX = createLucideIcon("octagon-x", [
1186
- ["path", {
1187
- d: "m15 9-6 6",
1188
- key: "1uzhvr"
1189
- }],
1190
- ["path", {
1191
- d: "M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",
1192
- key: "2d38gg"
1193
- }],
1194
- ["path", {
1195
- d: "m9 9 6 6",
1196
- key: "z0biqf"
1197
- }]
1198
- ]);
1199
- var TriangleAlert = createLucideIcon("triangle-alert", [
1200
- ["path", {
1201
- d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
1202
- key: "wmoenq"
1203
- }],
1204
- ["path", {
1205
- d: "M12 9v4",
1206
- key: "juzpu7"
1207
- }],
1208
- ["path", {
1209
- d: "M12 17h.01",
1210
- key: "p32p05"
1211
- }]
1212
- ]);
1213
1215
  var toast = createToastManager$1();
1214
1216
  function ToastProvider2({ ...props }) {
1215
1217
  return /* @__PURE__ */ jsx(ToastProvider$1, { ...props });
@@ -1323,9 +1325,9 @@ function Toaster({ children, toastManager = toast, ...props }) {
1323
1325
  }
1324
1326
 
1325
1327
  export {
1326
- FloatingPortalLite,
1327
1328
  Info,
1328
1329
  TriangleAlert,
1330
+ FloatingPortalLite,
1329
1331
  toast,
1330
1332
  Toaster
1331
1333
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  OpenPanelActionSchema
3
- } from "./chunk-B2F6MLVZ.js";
3
+ } from "./chunk-XFVL5ITL.js";
4
4
 
5
- // web/app/dist/server/assets/open-panel-action-message-cCfRkr0n.js
5
+ // web/app/dist/server/assets/open-panel-action-message-CdlnT0gB.js
6
6
  import { Component, createContext, createElement } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  var h = createContext(null);