@qredence/fleet 0.1.0 → 0.5.1

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 (110) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +8 -1
  3. package/dist/web/client/assets/artifacts-panel-CX62LQ13.js +1 -0
  4. package/dist/web/client/assets/artifacts-utils-N_kUFbz2.js +1 -0
  5. package/dist/web/client/assets/bot-Bs7QWJ2q.js +1 -0
  6. package/dist/web/client/assets/{chat-C64Sv6V-.js → chat-CsepBQwy.js} +5 -5
  7. package/dist/web/client/assets/{chat-command-palette-HpsmKfLO.js → chat-command-palette-C4sSf8Kg.js} +1 -1
  8. package/dist/web/client/assets/collapsible-DmyYcezk.js +1 -0
  9. package/dist/web/client/assets/command-CB6emP8m.js +2 -0
  10. package/dist/web/client/assets/conversation-turns-ByFoWPXe.js +6 -0
  11. package/dist/web/client/assets/ease-vFBiNFNK.js +9 -0
  12. package/dist/web/client/assets/{fleet-pi-tool-renderer-ZKiX6Ob_.js → fleet-pi-tool-renderer-BD_ZAjlG.js} +28 -30
  13. package/dist/web/client/assets/globals-CqqQdk2S.css +2 -0
  14. package/dist/web/client/assets/horizontal-resize-C1TpRLNC.js +1 -0
  15. package/dist/web/client/assets/index-DweoFRMs.js +12 -0
  16. package/dist/web/client/assets/{input-Clyn18XG.js → input-CqC82Agz.js} +1 -1
  17. package/dist/web/client/assets/{input-group-MxDAWX3j.js → input-group-H0TG-mkU.js} +1 -1
  18. package/dist/web/client/assets/ipython-tool-BfeIa0nK.js +3 -0
  19. package/dist/web/client/assets/markdown-DG7pUdsX.js +2 -0
  20. package/dist/web/client/assets/{markdown-code-pIaEVDUU.js → markdown-code-BgMzpy7O.js} +1 -1
  21. package/dist/web/client/assets/notify-Duj26eeZ.js +1 -0
  22. package/dist/web/client/assets/{openui-renderer-NLUpAS3h.js → openui-renderer-DlUo6ehT.js} +5 -5
  23. package/dist/web/client/assets/openui-utils-DawGoQNp.js +1 -0
  24. package/dist/web/client/assets/prime-agent-artifacts-CHGb5V_j.js +5 -0
  25. package/dist/web/client/assets/{provider-catalog-Gx9qaHBM.js → provider-catalog-BZhZuKSz.js} +1 -1
  26. package/dist/web/client/assets/provider-label-jKm8v18u.js +1 -0
  27. package/dist/web/client/assets/range-vSJ7Ux_5.js +2 -0
  28. package/dist/web/client/assets/repl-panel-DiGS6uCw.js +1 -0
  29. package/dist/web/client/assets/resource-helpers-ULlyU8qK.js +2 -0
  30. package/dist/web/client/assets/resources-panel-DSU7VGX2.js +1 -0
  31. package/dist/web/client/assets/routes-CxlNCi_v.js +16 -0
  32. package/dist/web/client/assets/session-insights-panel-DwmwiikS.js +1 -0
  33. package/dist/web/client/assets/settings-dialog-CkfpTKfM.js +1 -0
  34. package/dist/web/client/assets/skeleton-loaders-fStjEeRP.js +1 -0
  35. package/dist/web/client/assets/square-terminal-BYTN_I86.js +1 -0
  36. package/dist/web/client/assets/subagents-panel-DGnsK6Nx.js +1 -0
  37. package/dist/web/client/assets/{switch-ojzdMno9.js → switch-BFEBpUEU.js} +1 -1
  38. package/dist/web/client/assets/{tool-result-QvhjpNGX.js → tool-result-CBzwwUE9.js} +3 -3
  39. package/dist/web/client/assets/ui-preferences-DUEFuJFj.js +1 -0
  40. package/dist/web/client/assets/workspace-panel-CjdXlEvd.js +1 -0
  41. package/dist/web/client/assets/workspace-path-nav-C0AQNZyy.js +1 -0
  42. package/dist/web/server/{_tanstack-start-manifest_v-puvdGuy--7AY277Z5.js → _tanstack-start-manifest_v-bDUlyKY0-KFW35JRO.js} +25 -18
  43. package/dist/web/server/{artifacts-panel-knpQvJ-q-WJLZ76QB.js → artifacts-panel-D9w1DHAN-FGRDCYU2.js} +37 -70
  44. package/dist/web/server/{chat-command-palette-CPv5GmGJ-22J32S6P.js → chat-command-palette-BaenPkCN-BHSOPGU4.js} +16 -14
  45. package/dist/web/server/{chunk-OADQILSQ.js → chunk-2U7PWSJX.js} +49 -47
  46. package/dist/web/server/{chunk-ZX3XOSYO.js → chunk-3GSFXWL5.js} +2 -2
  47. package/dist/web/server/{chunk-IFV5M33X.js → chunk-3IKSPTYI.js} +12 -26
  48. package/dist/web/server/{chunk-W7LNJCRJ.js → chunk-44IVTHDV.js} +18 -10
  49. package/dist/web/server/{chunk-I3FDTJFO.js → chunk-46VQY7SG.js} +6 -87
  50. package/dist/web/server/{chunk-WTYNN6EV.js → chunk-54II5QXQ.js} +23 -1
  51. package/dist/web/server/{chunk-PRT4QYOB.js → chunk-5AVQZ4AZ.js} +1 -35
  52. package/dist/web/server/chunk-6GMKRR3C.js +161 -0
  53. package/dist/web/server/chunk-74QOI457.js +45 -0
  54. package/dist/web/server/chunk-AQ66E5OW.js +33 -0
  55. package/dist/web/server/{chunk-TTQ75CXC.js → chunk-AZZHUVJR.js} +88 -23
  56. package/dist/web/server/{chunk-KAWYGHDN.js → chunk-B2F6MLVZ.js} +23 -1
  57. package/dist/web/server/{chunk-C7EKOPZU.js → chunk-DO3TVNGA.js} +87 -87
  58. package/dist/web/server/chunk-EIVNRYP3.js +48 -0
  59. package/dist/web/server/{chunk-UBUXV2TW.js → chunk-FBOO3G67.js} +6 -6
  60. package/dist/web/server/{chunk-MK3P3OBZ.js → chunk-FVWDJNXR.js} +5 -5
  61. package/dist/web/server/chunk-G5BCQQ5N.js +34 -0
  62. package/dist/web/server/{chunk-4KFMONRT.js → chunk-H64JLONZ.js} +9 -9
  63. package/dist/web/server/{chunk-KDSISV4P.js → chunk-HBZ6YKRB.js} +2 -50
  64. package/dist/web/server/{chunk-5277VI3D.js → chunk-KPNGZR2R.js} +12 -74
  65. package/dist/web/server/chunk-M2FGGPNA.js +376 -0
  66. package/dist/web/server/{chunk-KVHPE5XH.js → chunk-MDYA4NXK.js} +22 -8
  67. package/dist/web/server/chunk-NFRJDPB3.js +52 -0
  68. package/dist/web/server/chunk-P66QQWUM.js +67 -0
  69. package/dist/web/server/{fleet-pi-tool-renderer-5vYFNeZS-IHKMLT7W.js → chunk-PCJ5EKFE.js} +40 -392
  70. package/dist/web/server/{chunk-APN3LVRT.js → chunk-PWK2HJIV.js} +27 -30
  71. package/dist/web/server/{chunk-XXNFEXDU.js → chunk-QJBEWT4E.js} +2 -70
  72. package/dist/web/server/{chunk-JD6EWZCU.js → chunk-VHCAD46L.js} +48 -48
  73. package/dist/web/server/chunk-Y6LJ4WBI.js +1797 -0
  74. package/dist/web/server/{chunk-NGI44XRR.js → chunk-ZEVZFLIY.js} +1 -1
  75. package/dist/web/server/fleet-pi-tool-renderer-lJvZWmBJ-4M5YI6VS.js +35 -0
  76. package/dist/web/server/{fork-picker-dialog-BZzfxdQd-C6SPHFAW.js → fork-picker-dialog-BZzfxdQd-Y725VJ7G.js} +2 -2
  77. package/dist/web/server/{markdown-Ct_q4D-z-VFWZRBTY.js → markdown-Boni3lHk-AZGKDNAR.js} +1 -1
  78. package/dist/web/server/{markdown-code-C_ih1bX1-5CIWT3CH.js → markdown-code-BrWukbg3-D2GN4Y77.js} +2 -2
  79. package/dist/web/server/{openui-renderer-BT5jL0Yf-XYLLN5U6.js → openui-renderer-Cg4RSE9k-7BTJIYZJ.js} +12 -11
  80. package/dist/web/server/repl-panel-BEQrC2ef-V3YEZ7EO.js +117 -0
  81. package/dist/web/server/{resources-panel-DNCVHTIg-PJYMXVGE.js → resources-panel-CwKh4U9f-D3VDEMDW.js} +6 -6
  82. package/dist/web/server/{router-DDxOMz3K-HRBXILHM.js → router-CEahIUpn-SRG7XKIH.js} +131 -21
  83. package/dist/web/server/{routes-BX4Tv-6R-FHIZYUWW.js → routes-BznemByz-F4DJAYIM.js} +1371 -2499
  84. package/dist/web/server/server.js +2 -2
  85. package/dist/web/server/{session-insights-panel-gYkkAE8H-W4O74Z7H.js → session-insights-panel-JfeTHE0d-3HZB3ZWI.js} +2 -2
  86. package/dist/web/server/{settings-dialog-BTBFLQ1P-ZENQ4KWK.js → settings-dialog-DgeBMORv-7SRSENPM.js} +47 -61
  87. package/dist/web/server/subagents-panel-CzZe3co7-2VZ5JTWF.js +332 -0
  88. package/dist/web/server/{chunk-5SZXUN3Y.js → workspace-panel-y54P79_B-VPIYUXF6.js} +29 -16
  89. package/package.json +11 -3
  90. package/dist/web/client/assets/artifacts-panel-8TyrNBM_.js +0 -1
  91. package/dist/web/client/assets/collapsible-WCSnxhr2.js +0 -1
  92. package/dist/web/client/assets/command-DgfiCKcY.js +0 -2
  93. package/dist/web/client/assets/globals-BmxtUHFx.css +0 -2
  94. package/dist/web/client/assets/horizontal-resize-B76jjn5v.js +0 -1
  95. package/dist/web/client/assets/index-0pBr_bKy.js +0 -12
  96. package/dist/web/client/assets/markdown-BXWmNJo7.js +0 -2
  97. package/dist/web/client/assets/prime-agent-artifacts-k9JiTDZM.js +0 -5
  98. package/dist/web/client/assets/provider-brand-icon-VCebsuTD.js +0 -1
  99. package/dist/web/client/assets/range-KAaLzImH.js +0 -2
  100. package/dist/web/client/assets/resources-panel-BWuKeyrb.js +0 -1
  101. package/dist/web/client/assets/routes-BPRw0UzV.js +0 -20
  102. package/dist/web/client/assets/session-insights-panel-CPymkzZT.js +0 -1
  103. package/dist/web/client/assets/settings-dialog-6p8mjg8t.js +0 -1
  104. package/dist/web/client/assets/shared-DAI9OAw0.js +0 -2
  105. package/dist/web/client/assets/skeleton-loaders-qxIkJKCA.js +0 -1
  106. package/dist/web/client/assets/workspace-panel-C67-fqw4.js +0 -1
  107. package/dist/web/client/assets/workspace-path-nav-BrQHo6es.js +0 -9
  108. package/dist/web/server/chunk-KJ4UUAEU.js +0 -83
  109. package/dist/web/server/workspace-panel-BNAXF57q-EQCBPEG4.js +0 -28
  110. package/dist/web/server/{chunk-AQWTGP35.js → chunk-FE4KN6T2.js} +5 -5
@@ -1,69 +1,58 @@
1
+ import {
2
+ collectSessionOpenUIBlocks
3
+ } from "./chunk-AQ66E5OW.js";
4
+ import {
5
+ primeAgentArtifactDiff
6
+ } from "./chunk-5AVQZ4AZ.js";
1
7
  import {
2
8
  CodeBlock,
3
9
  FileDiff,
4
10
  ToolResult,
5
11
  ToolResultOutput
6
- } from "./chunk-IFV5M33X.js";
7
- import {
8
- collectSessionOpenUIBlocks,
9
- getArtifactsScopePath,
10
- primeAgentArtifactDiff
11
- } from "./chunk-PRT4QYOB.js";
12
+ } from "./chunk-3IKSPTYI.js";
12
13
  import {
13
14
  Collapsible,
14
15
  CollapsibleContent,
15
16
  CollapsibleTrigger
16
- } from "./chunk-APN3LVRT.js";
17
+ } from "./chunk-PWK2HJIV.js";
18
+ import "./chunk-QJBEWT4E.js";
19
+ import "./chunk-FAGDMGLK.js";
17
20
  import "./chunk-6RJYXDSD.js";
18
21
  import "./chunk-PKCTG7EW.js";
22
+ import {
23
+ ChevronRight
24
+ } from "./chunk-7QCDOBZ3.js";
19
25
  import {
20
26
  GenerativeTextRenderer,
21
27
  OpenUIHtmlArtifactView
22
- } from "./chunk-OADQILSQ.js";
23
- import "./chunk-UBUXV2TW.js";
28
+ } from "./chunk-2U7PWSJX.js";
24
29
  import {
25
30
  UiErrorBoundary
26
- } from "./chunk-KDSISV4P.js";
31
+ } from "./chunk-HBZ6YKRB.js";
32
+ import "./chunk-ZEVZFLIY.js";
33
+ import "./chunk-B2F6MLVZ.js";
34
+ import "./chunk-NFRJDPB3.js";
27
35
  import "./chunk-LESNF5O4.js";
28
36
  import "./chunk-52SJQXO4.js";
29
- import "./chunk-C7EKOPZU.js";
37
+ import "./chunk-FBOO3G67.js";
38
+ import "./chunk-DO3TVNGA.js";
39
+ import "./chunk-RJOANOT4.js";
30
40
  import "./chunk-QLY3L4A2.js";
31
- import "./chunk-JD6EWZCU.js";
41
+ import "./chunk-VHCAD46L.js";
32
42
  import "./chunk-NLIUTTKL.js";
33
- import "./chunk-AQWTGP35.js";
34
- import "./chunk-XYYNYFFD.js";
35
- import "./chunk-NGI44XRR.js";
36
- import "./chunk-KAWYGHDN.js";
37
- import "./chunk-RJOANOT4.js";
43
+ import "./chunk-FE4KN6T2.js";
38
44
  import {
39
45
  Button
40
46
  } from "./chunk-RPROZ2JC.js";
47
+ import "./chunk-XYYNYFFD.js";
41
48
  import "./chunk-X2TUFLTP.js";
42
49
  import "./chunk-ST5I2PLN.js";
43
- import {
44
- WorkspacePanelContent
45
- } from "./chunk-5SZXUN3Y.js";
46
- import "./chunk-HUX64PWB.js";
47
- import "./chunk-MK3P3OBZ.js";
48
- import "./chunk-XXNFEXDU.js";
49
- import "./chunk-OLG5DQ7V.js";
50
- import {
51
- ChevronRight
52
- } from "./chunk-7QCDOBZ3.js";
53
- import "./chunk-QK4CHLVV.js";
54
- import "./chunk-FAGDMGLK.js";
55
- import "./chunk-KVHPE5XH.js";
56
- import "./chunk-BYXBJQAS.js";
57
- import "./chunk-KJ4UUAEU.js";
58
- import {
59
- findWorkspaceNode
60
- } from "./chunk-I3FDTJFO.js";
61
- import "./chunk-7APYEQIO.js";
50
+ import "./chunk-MDYA4NXK.js";
62
51
  import {
63
52
  Package
64
53
  } from "./chunk-ZGFQ7HIX.js";
65
- import "./chunk-BSFYTSN6.js";
66
- import "./chunk-EAJTWMK5.js";
54
+ import "./chunk-G5BCQQ5N.js";
55
+ import "./chunk-BYXBJQAS.js";
67
56
  import {
68
57
  createLucideIcon
69
58
  } from "./chunk-E26EAQIM.js";
@@ -74,7 +63,7 @@ import "./chunk-JDCCC7A7.js";
74
63
  import "./chunk-L547YHC4.js";
75
64
  import "./chunk-MLKGABMK.js";
76
65
 
77
- // web/app/dist/server/assets/artifacts-panel-knpQvJ-q.js
66
+ // web/app/dist/server/assets/artifacts-panel-D9w1DHAN.js
78
67
  import { useEffect, useMemo, useRef, useState } from "react";
79
68
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
80
69
  var LayoutTemplate = createLucideIcon("layout-template", [
@@ -104,12 +93,6 @@ var LayoutTemplate = createLucideIcon("layout-template", [
104
93
  }]
105
94
  ]);
106
95
  var DEFAULT_ARTIFACT_RUNS = [];
107
- function artifactStatus(status) {
108
- return status === "running" ? "running" : status === "error" ? "error" : status === "cancelled" ? "cancelled" : "success";
109
- }
110
- function artifactDiffStatus(status) {
111
- return status === "running" ? "streaming" : status === "error" ? "error" : status === "cancelled" ? "cancelled" : "complete";
112
- }
113
96
  function textValue(value) {
114
97
  if (typeof value === "string") return value;
115
98
  if (value === void 0 || value === null) return "";
@@ -119,6 +102,12 @@ function textValue(value) {
119
102
  return String(value);
120
103
  }
121
104
  }
105
+ function artifactStatus(status) {
106
+ return status === "running" ? "running" : status === "error" ? "error" : status === "cancelled" ? "cancelled" : "success";
107
+ }
108
+ function artifactDiffStatus(status) {
109
+ return status === "running" ? "streaming" : status === "error" ? "error" : status === "cancelled" ? "cancelled" : "complete";
110
+ }
122
111
  function outputSections(value) {
123
112
  const source = typeof value === "object" && value !== null ? value : void 0;
124
113
  if (!source) return value === void 0 ? [] : [{
@@ -324,19 +313,13 @@ function GenerativeUiBlockRow({ block, expanded, isStreaming, onOpenUIAction, on
324
313
  }) })]
325
314
  });
326
315
  }
327
- function ArtifactsPanelContent({ error, loadWorkspaceFile, loading, messages, onOpenUIAction, onSelectedPathChange, selectedPath, status, artifactRuns = DEFAULT_ARTIFACT_RUNS, selectedArtifactId, workspace }) {
328
- const scopePath = workspace ? getArtifactsScopePath(workspace.root) : void 0;
316
+ function ArtifactsPanelContent({ messages, onOpenUIAction, status, artifactRuns = DEFAULT_ARTIFACT_RUNS, selectedArtifactId }) {
329
317
  const blocks = useMemo(() => collectSessionOpenUIBlocks(messages), [messages]);
330
- const hasArtifactFiles = useMemo(() => {
331
- if (!workspace || !scopePath) return false;
332
- const root = findWorkspaceNode(workspace.nodes, scopePath);
333
- return Boolean(root?.children?.length);
334
- }, [scopePath, workspace]);
335
318
  const [expandedBlockId, setExpandedBlockId] = useState(null);
336
319
  const latestStreaming = status === "streaming" ? blocks.at(-1)?.blockId : void 0;
337
320
  const technicalArtifacts = useMemo(() => artifactRuns.flatMap((run) => run.artifacts), [artifactRuns]);
338
321
  const openUIArtifacts = useMemo(() => technicalArtifacts.filter((artifact) => artifact.kind === "openui-html"), [technicalArtifacts]);
339
- const nonOpenUIArtifacts = useMemo(() => technicalArtifacts.filter((artifact) => artifact.kind !== "openui-html"), [technicalArtifacts]);
322
+ const nonOpenUIArtifacts = useMemo(() => technicalArtifacts.filter((artifact) => artifact.kind !== "openui-html" && artifact.kind !== "ipython"), [technicalArtifacts]);
340
323
  return /* @__PURE__ */ jsxs("div", {
341
324
  className: "flex h-full min-h-0 flex-col gap-2 overflow-hidden",
342
325
  children: [
@@ -403,7 +386,7 @@ function ArtifactsPanelContent({ error, loadWorkspaceFile, loading, messages, on
403
386
  ]
404
387
  }), blocks.length === 0 ? /* @__PURE__ */ jsx("p", {
405
388
  className: "px-2 pb-1 text-[11px] leading-4 text-foreground/40",
406
- children: "OpenUI interfaces the agent generates in this session appear here, and can be re-opened without scrolling the conversation. Files written to agent-workspace/artifacts show below once the agent creates them."
389
+ children: "OpenUI interfaces the agent generates in this session appear here, and can be re-opened without scrolling the conversation."
407
390
  }) : /* @__PURE__ */ jsx("div", {
408
391
  className: "flex min-h-0 flex-col gap-0.5 overflow-y-auto",
409
392
  children: blocks.map((block) => /* @__PURE__ */ jsx(GenerativeUiBlockRow, {
@@ -414,22 +397,6 @@ function ArtifactsPanelContent({ error, loadWorkspaceFile, loading, messages, on
414
397
  onToggle: () => setExpandedBlockId((current) => current === block.blockId ? null : block.blockId)
415
398
  }, block.blockId))
416
399
  })]
417
- }),
418
- hasArtifactFiles && /* @__PURE__ */ jsx("div", {
419
- className: "min-h-0 flex-1",
420
- children: /* @__PURE__ */ jsx(WorkspacePanelContent, {
421
- error,
422
- loadWorkspaceFile,
423
- loading,
424
- onSelectedPathChange,
425
- previewEmptyDescription: "Choose a report, dataset, trace, or diagram to preview.",
426
- previewEmptyTitle: "Select an artifact",
427
- scopeLabel: "artifacts",
428
- scopePath,
429
- selectedPath,
430
- treeTestId: "artifacts-tree",
431
- workspace
432
- })
433
400
  })
434
401
  ]
435
402
  });
@@ -1,9 +1,3 @@
1
- import {
2
- Keyboard,
3
- Monitor,
4
- Moon,
5
- Sun
6
- } from "./chunk-EY2O73OV.js";
7
1
  import {
8
2
  CommandDialog,
9
3
  CommandEmpty,
@@ -15,28 +9,36 @@ import {
15
9
  RIGHT_PANEL_DEFINITIONS,
16
10
  RotateCcwClock,
17
11
  Square
18
- } from "./chunk-TTQ75CXC.js";
12
+ } from "./chunk-AZZHUVJR.js";
13
+ import "./chunk-OLG5DQ7V.js";
14
+ import {
15
+ Keyboard,
16
+ Monitor,
17
+ Moon,
18
+ Sun
19
+ } from "./chunk-EY2O73OV.js";
19
20
  import {
20
21
  Plus
21
- } from "./chunk-ZX3XOSYO.js";
22
+ } from "./chunk-3GSFXWL5.js";
23
+ import "./chunk-74QOI457.js";
22
24
  import "./chunk-2H6A6Z7F.js";
23
25
  import "./chunk-52SJQXO4.js";
24
- import "./chunk-JD6EWZCU.js";
26
+ import "./chunk-VHCAD46L.js";
25
27
  import "./chunk-NLIUTTKL.js";
26
- import "./chunk-AQWTGP35.js";
27
- import "./chunk-XYYNYFFD.js";
28
+ import "./chunk-FE4KN6T2.js";
28
29
  import "./chunk-RPROZ2JC.js";
30
+ import "./chunk-XYYNYFFD.js";
29
31
  import "./chunk-X2TUFLTP.js";
30
- import "./chunk-OLG5DQ7V.js";
31
- import "./chunk-ZGFQ7HIX.js";
32
32
  import "./chunk-EAJTWMK5.js";
33
+ import "./chunk-ZGFQ7HIX.js";
34
+ import "./chunk-G5BCQQ5N.js";
33
35
  import "./chunk-E26EAQIM.js";
34
36
  import "./chunk-DJMHPJBP.js";
35
37
  import "./chunk-JDCCC7A7.js";
36
38
  import "./chunk-L547YHC4.js";
37
39
  import "./chunk-MLKGABMK.js";
38
40
 
39
- // web/app/dist/server/assets/chat-command-palette-CPv5GmGJ.js
41
+ // web/app/dist/server/assets/chat-command-palette-BaenPkCN.js
40
42
  import { useState } from "react";
41
43
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
42
44
  function ChatCommandPalette({ open, onOpenChange, onNewSession, onStop, onResumeSession, onSetRightPanel, onThemeChange, sessions, isStreaming, themePreference }) {
@@ -1,18 +1,27 @@
1
- import {
2
- Alert,
3
- AlertDescription,
4
- AlertTitle,
5
- Field,
6
- FieldLabel,
7
- Separator,
8
- Switch,
9
- useRender
10
- } from "./chunk-UBUXV2TW.js";
11
1
  import {
12
2
  UiErrorBoundary,
13
- encodeOpenPanelActionMessage,
3
+ encodeOpenPanelActionMessage
4
+ } from "./chunk-HBZ6YKRB.js";
5
+ import {
6
+ Card,
7
+ CardContent,
8
+ CardDescription,
9
+ CardHeader,
10
+ CardTitle,
11
+ validateAndNormalizeOpenUIHtmlArtifact
12
+ } from "./chunk-ZEVZFLIY.js";
13
+ import {
14
+ OpenPanelActionSchema,
15
+ RightPanelIdSchema,
16
+ WorkspaceRelativePathSchema,
17
+ external_exports,
18
+ object,
19
+ registry,
20
+ toJSONSchema
21
+ } from "./chunk-B2F6MLVZ.js";
22
+ import {
14
23
  segmentOpenUIContent
15
- } from "./chunk-KDSISV4P.js";
24
+ } from "./chunk-NFRJDPB3.js";
16
25
  import {
17
26
  ChevronUp,
18
27
  isSafeExternalUrl
@@ -45,6 +54,16 @@ import {
45
54
  useId$1,
46
55
  useLayoutEffect2
47
56
  } from "./chunk-52SJQXO4.js";
57
+ import {
58
+ Alert,
59
+ AlertDescription,
60
+ AlertTitle,
61
+ Field,
62
+ FieldLabel,
63
+ Separator,
64
+ Switch,
65
+ useRender
66
+ } from "./chunk-FBOO3G67.js";
48
67
  import {
49
68
  Select,
50
69
  arrow$2,
@@ -57,45 +76,28 @@ import {
57
76
  shift,
58
77
  size,
59
78
  useFloating
60
- } from "./chunk-C7EKOPZU.js";
79
+ } from "./chunk-DO3TVNGA.js";
61
80
  import {
62
81
  ChevronDown
63
82
  } from "./chunk-QLY3L4A2.js";
64
83
  import {
65
84
  Input
66
- } from "./chunk-JD6EWZCU.js";
85
+ } from "./chunk-VHCAD46L.js";
67
86
  import {
68
87
  Dialog,
69
88
  DialogContent,
70
89
  DialogHeader,
71
90
  DialogTitle
72
- } from "./chunk-AQWTGP35.js";
73
- import {
74
- useBaseUiId
75
- } from "./chunk-XYYNYFFD.js";
76
- import {
77
- Card,
78
- CardContent,
79
- CardDescription,
80
- CardHeader,
81
- CardTitle,
82
- validateAndNormalizeOpenUIHtmlArtifact
83
- } from "./chunk-NGI44XRR.js";
84
- import {
85
- OpenPanelActionSchema,
86
- RightPanelIdSchema,
87
- WorkspaceRelativePathSchema,
88
- external_exports,
89
- object,
90
- registry,
91
- toJSONSchema
92
- } from "./chunk-KAWYGHDN.js";
91
+ } from "./chunk-FE4KN6T2.js";
93
92
  import {
94
93
  Button,
95
94
  cva,
96
95
  require_with_selector,
97
96
  visuallyHidden
98
97
  } from "./chunk-RPROZ2JC.js";
98
+ import {
99
+ useBaseUiId
100
+ } from "./chunk-XYYNYFFD.js";
99
101
  import {
100
102
  formatErrorMessage,
101
103
  mergeProps,
@@ -107,7 +109,7 @@ import {
107
109
  } from "./chunk-ST5I2PLN.js";
108
110
  import {
109
111
  Markdown
110
- } from "./chunk-KVHPE5XH.js";
112
+ } from "./chunk-MDYA4NXK.js";
111
113
  import {
112
114
  cn
113
115
  } from "./chunk-DJMHPJBP.js";
@@ -132,7 +134,7 @@ import {
132
134
  __toESM
133
135
  } from "./chunk-L547YHC4.js";
134
136
 
135
- // web/app/dist/server/assets/openui-renderer-BT5jL0Yf.js
137
+ // web/app/dist/server/assets/openui-renderer-Cg4RSE9k.js
136
138
  import * as React$2 from "react";
137
139
  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";
138
140
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -100196,15 +100198,6 @@ function HtmlArtifactComponent({ props: { title, document: document2 } }) {
100196
100198
  })]
100197
100199
  });
100198
100200
  }
100199
- var HtmlArtifactDef = defineComponent$1({
100200
- name: "HtmlArtifact",
100201
- description: "A durable, self-contained HTML artifact rendered in a sandboxed preview.",
100202
- props: external_exports.object({
100203
- title: external_exports.string().describe("Short artifact title"),
100204
- document: external_exports.string().describe("Complete self-contained HTML document")
100205
- }),
100206
- component: HtmlArtifactComponent
100207
- });
100208
100201
  function OpenUIHtmlArtifactView({ artifact, className = "" }) {
100209
100202
  const validation = useMemo2(() => validateAndNormalizeOpenUIHtmlArtifact(artifact), [artifact]);
100210
100203
  if (!validation.ok) return /* @__PURE__ */ jsx(ArtifactDiagnostic, {
@@ -100249,6 +100242,15 @@ function OpenUIHtmlArtifactView({ artifact, className = "" }) {
100249
100242
  })
100250
100243
  });
100251
100244
  }
100245
+ var HtmlArtifactDef = defineComponent$1({
100246
+ name: "HtmlArtifact",
100247
+ description: "A durable, self-contained HTML artifact rendered in a sandboxed preview.",
100248
+ props: external_exports.object({
100249
+ title: external_exports.string().describe("Short artifact title"),
100250
+ document: external_exports.string().describe("Complete self-contained HTML document")
100251
+ }),
100252
+ component: HtmlArtifactComponent
100253
+ });
100252
100254
  var openUIToneSchema = [
100253
100255
  "default",
100254
100256
  "info",
@@ -100365,7 +100367,7 @@ function PanelActionComponent({ props: { focus, label, panel, relativePath } })
100365
100367
  }
100366
100368
  var PanelActionDef = defineComponent$1({
100367
100369
  name: "PanelAction",
100368
- description: "A trusted local action that opens Resources, Workspace, Artifacts, or Session insights. relativePath selects a contained workspace-relative path and is valid only for Workspace and Artifacts panels.",
100370
+ description: "A trusted local action that opens Resources, Workspace, Artifacts, REPL, Subagents, or Session insights. relativePath selects a contained workspace-relative path and is valid only for Workspace and Artifacts panels.",
100369
100371
  props: external_exports.object({
100370
100372
  label: external_exports.string().describe("Visible action label"),
100371
100373
  panel: RightPanelIdSchema,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Input
3
- } from "./chunk-JD6EWZCU.js";
3
+ } from "./chunk-VHCAD46L.js";
4
4
  import {
5
5
  Button,
6
6
  cva
@@ -12,7 +12,7 @@ import {
12
12
  cn
13
13
  } from "./chunk-DJMHPJBP.js";
14
14
 
15
- // web/app/dist/server/assets/input-group-DNpkan3a.js
15
+ // web/app/dist/server/assets/input-group-zyjTUbse.js
16
16
  import { createContext, useContext, useMemo } from "react";
17
17
  import { jsx } from "react/jsx-runtime";
18
18
  var Plus = createLucideIcon("plus", [["path", {
@@ -1,11 +1,18 @@
1
1
  import {
2
2
  ActionSwapRollText,
3
3
  AgentDisclosure,
4
+ CircleX,
4
5
  Copy,
5
6
  FileCodeCorner,
6
- SquareTerminal,
7
7
  Wrench
8
- } from "./chunk-APN3LVRT.js";
8
+ } from "./chunk-PWK2HJIV.js";
9
+ import {
10
+ SPRING_PRESS,
11
+ SPRING_SWAP,
12
+ m,
13
+ motion,
14
+ useReducedMotion
15
+ } from "./chunk-QJBEWT4E.js";
9
16
  import {
10
17
  RotateCcw
11
18
  } from "./chunk-6RJYXDSD.js";
@@ -20,12 +27,8 @@ import {
20
27
  Check
21
28
  } from "./chunk-NLIUTTKL.js";
22
29
  import {
23
- SPRING_PRESS,
24
- SPRING_SWAP,
25
- m,
26
- motion,
27
- useReducedMotion
28
- } from "./chunk-XXNFEXDU.js";
30
+ SquareTerminal
31
+ } from "./chunk-G5BCQQ5N.js";
29
32
  import {
30
33
  createLucideIcon
31
34
  } from "./chunk-E26EAQIM.js";
@@ -33,7 +36,7 @@ import {
33
36
  cn
34
37
  } from "./chunk-DJMHPJBP.js";
35
38
 
36
- // web/app/dist/server/assets/tool-result-DTKKWnUz.js
39
+ // web/app/dist/server/assets/tool-result-DnmQGVi7.js
37
40
  import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
38
41
  import { jsx, jsxs } from "react/jsx-runtime";
39
42
  var Ban = createLucideIcon("ban", [["circle", {
@@ -52,22 +55,6 @@ var Braces = createLucideIcon("braces", [["path", {
52
55
  d: "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",
53
56
  key: "e1hn23"
54
57
  }]]);
55
- var CircleX = createLucideIcon("circle-x", [
56
- ["circle", {
57
- cx: "12",
58
- cy: "12",
59
- r: "10",
60
- key: "1mglay"
61
- }],
62
- ["path", {
63
- d: "m15 9-6 6",
64
- key: "1uzhvr"
65
- }],
66
- ["path", {
67
- d: "m9 9 6 6",
68
- key: "z0biqf"
69
- }]
70
- ]);
71
58
  var LIGHT_THEME = "github-light-high-contrast";
72
59
  var DARK_THEME = "github-dark-high-contrast";
73
60
  var agentCodeHighlighter = null;
@@ -657,7 +644,6 @@ function ToolResult({ tool, title, children, status = "running", kind = "custom"
657
644
  }
658
645
 
659
646
  export {
660
- CircleX,
661
647
  CodeBlock,
662
648
  FileDiff,
663
649
  ToolResultOutput,
@@ -3,13 +3,7 @@ import {
3
3
  } from "./chunk-5WZFFNFY.js";
4
4
  import {
5
5
  AgentDisclosure
6
- } from "./chunk-APN3LVRT.js";
7
- import {
8
- isSafeExternalUrl
9
- } from "./chunk-LESNF5O4.js";
10
- import {
11
- ChevronDown
12
- } from "./chunk-QLY3L4A2.js";
6
+ } from "./chunk-PWK2HJIV.js";
13
7
  import {
14
8
  AnimatePresence,
15
9
  EASE_OUT,
@@ -17,7 +11,13 @@ import {
17
11
  SPRING_SWAP,
18
12
  m,
19
13
  useReducedMotion
20
- } from "./chunk-XXNFEXDU.js";
14
+ } from "./chunk-QJBEWT4E.js";
15
+ import {
16
+ isSafeExternalUrl
17
+ } from "./chunk-LESNF5O4.js";
18
+ import {
19
+ ChevronDown
20
+ } from "./chunk-QLY3L4A2.js";
21
21
  import {
22
22
  createLucideIcon
23
23
  } from "./chunk-E26EAQIM.js";
@@ -25,7 +25,7 @@ import {
25
25
  cn
26
26
  } from "./chunk-DJMHPJBP.js";
27
27
 
28
- // web/app/dist/server/assets/range-RW7EXtg5.js
28
+ // web/app/dist/server/assets/range-C4yzvMJt.js
29
29
  import { Suspense, lazy, useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
30
30
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
31
31
  var BookOpenText = createLucideIcon("book-open-text", [
@@ -128,6 +128,13 @@ var MessageCircleQuestionMark = createLucideIcon("message-circle-question-mark",
128
128
  key: "p32p05"
129
129
  }]
130
130
  ]);
131
+ var Terminal = createLucideIcon("terminal", [["path", {
132
+ d: "M12 19h8",
133
+ key: "baeox8"
134
+ }], ["path", {
135
+ d: "m4 17 6-6-6-6",
136
+ key: "1yngyt"
137
+ }]]);
131
138
  var paper = "bg-background shadow-[0_1px_2px_rgba(0,0,0,0.04),0_12px_32px_-16px_rgba(0,0,0,0.12)] dark:bg-popover dark:shadow-none";
132
139
  var floating = "bg-background shadow-[0_2px_8px_rgba(0,0,0,0.05),0_20px_48px_-16px_rgba(0,0,0,0.18)] dark:bg-popover dark:shadow-[0_20px_48px_-16px_rgba(0,0,0,0.55)]";
133
140
  var field = "bg-foreground/[0.04] dark:bg-foreground/[0.06]";
@@ -344,7 +351,7 @@ function Citations({ citations, title = "Sources", open, defaultOpen = false, on
344
351
  })]
345
352
  });
346
353
  }
347
- var MarkdownContent = lazy(() => import("./markdown-Ct_q4D-z-VFWZRBTY.js").then((n) => n.a).then(({ Markdown }) => ({ default: Markdown })));
354
+ var MarkdownContent = lazy(() => import("./markdown-Boni3lHk-AZGKDNAR.js").then((n) => n.a).then(({ Markdown }) => ({ default: Markdown })));
348
355
  function LazyMarkdown(props) {
349
356
  return /* @__PURE__ */ jsx(Suspense, {
350
357
  fallback: /* @__PURE__ */ jsx("div", {
@@ -377,6 +384,7 @@ export {
377
384
  ListTodo,
378
385
  LogOut,
379
386
  MessageCircleQuestionMark,
387
+ Terminal,
380
388
  paper,
381
389
  floating,
382
390
  field,