@qredence/fleet 0.7.0 → 0.7.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 (61) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/web/client/assets/{artifacts-panel-Qd6JlHzz.js → artifacts-panel-C69vz-oo.js} +1 -1
  3. package/dist/web/client/assets/{badge-BjFxrtmB.js → badge-DOGhnsYk.js} +7 -7
  4. package/dist/web/client/assets/{chat-command-palette-CPlJp2cO.js → chat-command-palette-wyZjTNa8.js} +1 -1
  5. package/dist/web/client/assets/{chunk-YOKDWASO-C8deEx7Z.js → chunk-YOKDWASO-Dego39cu.js} +4 -4
  6. package/dist/web/client/assets/{dist-CZDnnosQ.js → dist-QgsZ1U9l.js} +1 -1
  7. package/dist/web/client/assets/{highlighted-body-KPVGNVTW-CZcNaoxi.js → highlighted-body-KPVGNVTW-CSgDVUQp.js} +1 -1
  8. package/dist/web/client/assets/index-BARp0bjW.js +13 -0
  9. package/dist/web/client/assets/{markdown-code-BqFVdovL.js → markdown-code-DfJbKhL9.js} +1 -1
  10. package/dist/web/client/assets/{markdown-C-Y9gskI.js → markdown-yn-nhRzB.js} +2 -2
  11. package/dist/web/client/assets/mermaid-HWGCJPDP-BpEVCu9T.js +1 -0
  12. package/dist/web/client/assets/{openui-renderer-CH9K7_8t.js → openui-renderer-DrfHxs1t.js} +1 -1
  13. package/dist/web/client/assets/{preload-helper-Czpn1I53.js → preload-helper-BZ1Pz5am.js} +1 -1
  14. package/dist/web/client/assets/{right-panel-registry-BJG8ubHt.js → right-panel-registry-CF7GLJrk.js} +2 -2
  15. package/dist/web/client/assets/{routes-BXFQmjL9.js → routes-DCP1DP1g.js} +4 -4
  16. package/dist/web/client/assets/session-tool-renderer-Yu4G1165.js +1389 -0
  17. package/dist/web/client/assets/{subagent-chat-panel-DQEnhU2t.js → subagent-chat-panel-bVnkDkgs.js} +1 -1
  18. package/dist/web/client/assets/{subagent-transcript-CCpg3uL6.js → subagent-transcript-D_L-8PQi.js} +1 -1
  19. package/dist/web/client/assets/{subagent-utils-DTV2RcFl.js → subagent-utils-D7sXbLsS.js} +2 -2
  20. package/dist/web/client/assets/{subagents-panel-B-X7WPUU.js → subagents-panel-i5-12E1U.js} +1 -1
  21. package/dist/web/client/assets/{tool-result-C5Ixe-AJ.js → tool-result-D7HtJ_yg.js} +2 -2
  22. package/dist/web/client/assets/{workspace-panel-DDjQuELx.js → workspace-panel-Clbmrdza.js} +1 -1
  23. package/dist/web/client/assets/{workspace-path-nav-DmxBrMV6.js → workspace-path-nav-eVT0rYvv.js} +2 -2
  24. package/dist/web/client/bundle-budget.json +5 -5
  25. package/dist/web/server/{_tanstack-start-manifest_v-vL58CVrY-7SDCWIHD.js → _tanstack-start-manifest_v-CaT-3S-N-VAOGUHEJ.js} +9 -9
  26. package/dist/web/server/{artifacts-panel-CozDO7ak-5T4W7RME.js → artifacts-panel-BuAqeJzj-6DYYLKUW.js} +8 -8
  27. package/dist/web/server/{chat-command-palette-CLE-L0qp-ZZNKVTSS.js → chat-command-palette-Ca8gXVi2-P6EOQ43G.js} +5 -5
  28. package/dist/web/server/{chunk-GRGV5FVO.js → chunk-35AFSKDX.js} +3 -3
  29. package/dist/web/server/{chunk-SLRV7YNY.js → chunk-COWE2EJ6.js} +2 -2
  30. package/dist/web/server/{chunk-54UEKLGD.js → chunk-FPPKECLB.js} +5 -5
  31. package/dist/web/server/{chunk-EUWNVEIC.js → chunk-GCDOYNXR.js} +107 -97
  32. package/dist/web/server/{chunk-QCDSLD3L.js → chunk-ITKXE2Q5.js} +252 -214
  33. package/dist/web/server/{chunk-NHV77NOI.js → chunk-J4Y2Z3XM.js} +1 -1
  34. package/dist/web/server/{chunk-RYU7I34A.js → chunk-JFAUSHBI.js} +4 -4
  35. package/dist/web/server/{chunk-D7GSWBRI.js → chunk-K4KN3QBT.js} +1 -1
  36. package/dist/web/server/{chunk-B4EBMF5J.js → chunk-M7BTY55G.js} +2 -2
  37. package/dist/web/server/{chunk-XJHYJLGU.js → chunk-PHHC52CO.js} +3 -3
  38. package/dist/web/server/{chunk-RVDWGK6U.js → chunk-UTV66W5H.js} +3 -3
  39. package/dist/web/server/{chunk-F5DJQ3PQ.js → chunk-WPSI5TBE.js} +1528 -2185
  40. package/dist/web/server/{create-project-dialog-CReZdM5g-2V7C5J67.js → create-project-dialog-DCvdysey-IZUGGDAN.js} +5 -5
  41. package/dist/web/server/{empty-plugin-adapters-Cqtvkauv-ILKI7W7V.js → empty-plugin-adapters-DOl-E2pL-RKRSN75W.js} +1 -1
  42. package/dist/web/server/{fork-picker-dialog-CXcLEaor-6SVM5RJO.js → fork-picker-dialog-QH00XmqX-6YLU5REF.js} +3 -3
  43. package/dist/web/server/{message-queue-Q_Q6hbqc-AOV2PSCX.js → message-queue-BzEFQR8k-2W53EW32.js} +3 -3
  44. package/dist/web/server/{model-selector-list-BOKU5_Z3-III72ZT2.js → model-selector-list-BjoXmw92-TEKBPB3E.js} +5 -5
  45. package/dist/web/server/{openui-renderer-VuQOQeAP-XBOR3XGN.js → openui-renderer-CJ7Q2zZ_-FPXKZPSO.js} +5 -5
  46. package/dist/web/server/{resources-panel-Cnz-X1bx-TT5KVROR.js → resources-panel-yVB4xF_K-OHFHXVU4.js} +4 -4
  47. package/dist/web/server/{router-C437aaqv-72HBLLJI.js → router-UgU5vJxm-R33FGTXY.js} +2 -2
  48. package/dist/web/server/{routes-BkVN3m9i-PYNMNLQ5.js → routes-Cbbo-jh9-ZUPH4SJD.js} +2 -2
  49. package/dist/web/server/server.js +2410 -1672
  50. package/dist/web/server/{session-reasoning-panel-2_TR5nKM-KA5OY7ZV.js → session-reasoning-panel-C50VbaQ8-4YLMVVY6.js} +4 -4
  51. package/dist/web/server/{session-tool-renderer-BFEWy2Pk-JTSYUPO5.js → session-tool-renderer-QcAkYD-V-6RXRKDH6.js} +5 -5
  52. package/dist/web/server/{session-tree-panel-3y9LVA0A-4V4TJX62.js → session-tree-panel-CL49XSTK-4ZPK6AIV.js} +3 -3
  53. package/dist/web/server/{settings-dialog-DgZ8Z5e4-6T5AS2EB.js → settings-dialog-DG9HEZeP-TWDRDGMN.js} +6 -6
  54. package/dist/web/server/{start-QK6aG02q-EMREW2SB.js → start-DEejK9Uj-FODAOTAO.js} +1 -1
  55. package/dist/web/server/{subagent-chat-panel-B0pmAxCp-DKXNAOUU.js → subagent-chat-panel-Cg2CxshI-WWGFHTIF.js} +7 -7
  56. package/dist/web/server/{subagents-panel-FUUT0t1i-5ZKJ2QAJ.js → subagents-panel-aC3Eo-MR-RNIPLCZQ.js} +7 -7
  57. package/dist/web/server/{workspace-panel-BbI1N4f8-WYOEVH4G.js → workspace-panel-DfdFkgHU-6HIOXRBX.js} +4 -4
  58. package/package.json +2 -2
  59. package/dist/web/client/assets/index-D3HpiAnD.js +0 -12
  60. package/dist/web/client/assets/mermaid-HWGCJPDP-CVNXPao6.js +0 -1
  61. package/dist/web/client/assets/session-tool-renderer-mOZdkbiU.js +0 -1389
@@ -270,7 +270,7 @@ import {
270
270
  } from "./chunk-B5Y7XOIJ.js";
271
271
  import {
272
272
  useNavigate
273
- } from "./chunk-F5DJQ3PQ.js";
273
+ } from "./chunk-WPSI5TBE.js";
274
274
  import {
275
275
  __export
276
276
  } from "./chunk-CZ7CSFO4.js";
@@ -447,16 +447,28 @@ function derivePrimeAgentArtifactRuns(messages, presentation, chatStatus) {
447
447
  // web/app/dist/server/assets/badge-BQThUEv3.js
448
448
  import { jsx, jsxs } from "react/jsx-runtime";
449
449
 
450
- // node_modules/.pnpm/react-error-boundary@6.1.5_@types+react@19.3.0_react@19.3.0/node_modules/react-error-boundary/dist/react-error-boundary.js
451
- import { createContext as y, Component as f, createElement as d, useContext as l, useState as p, useMemo as E, forwardRef as B } from "react";
452
- var h = y(null);
453
- var c = {
450
+ // node_modules/.pnpm/react-error-boundary@6.1.6_@types+react@19.3.0_react@19.3.0/node_modules/react-error-boundary/dist/react-error-boundary.js
451
+ import { createContext as l, useMemo as h, createElement as i, Component as y, useContext as p, useState as E, forwardRef as B } from "react";
452
+ var f = l(null);
453
+ function m2({
454
+ children: r,
455
+ didCatch: e,
456
+ error: t,
457
+ resetErrorBoundary: o
458
+ }) {
459
+ const n = h(
460
+ () => ({ didCatch: e, error: t, resetErrorBoundary: o }),
461
+ [e, t, o]
462
+ );
463
+ return i(f.Provider, { value: n }, r);
464
+ }
465
+ var d = {
454
466
  didCatch: false,
455
467
  error: null
456
468
  };
457
- var m2 = class extends f {
469
+ var C = class extends y {
458
470
  constructor(e) {
459
- super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = c;
471
+ super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = d;
460
472
  }
461
473
  static getDerivedStateFromError(e) {
462
474
  return { didCatch: true, error: e };
@@ -466,50 +478,48 @@ var m2 = class extends f {
466
478
  t && (this.props.onReset?.({
467
479
  args: e,
468
480
  reason: "imperative-api"
469
- }), this.setState(c));
481
+ }), this.setState(d));
470
482
  }
471
483
  componentDidCatch(e, t) {
472
484
  this.props.onError?.(e, t);
473
485
  }
474
486
  componentDidUpdate(e, t) {
475
- const { didCatch: o } = this.state, { resetKeys: s } = this.props;
476
- o && t.didCatch && C(e.resetKeys, s) && (this.props.onReset?.({
477
- next: s,
487
+ const { didCatch: o } = this.state, { resetKeys: n } = this.props;
488
+ o && t.didCatch && g(e.resetKeys, n) && (this.props.onReset?.({
489
+ next: n,
478
490
  prev: e.resetKeys,
479
491
  reason: "keys"
480
- }), this.setState(c));
492
+ }), this.setState(d));
481
493
  }
482
494
  render() {
483
- const { children: e, fallbackRender: t, FallbackComponent: o, fallback: s } = this.props, { didCatch: n, error: a } = this.state;
484
- let i = e;
485
- if (n) {
495
+ const { children: e, fallbackRender: t, FallbackComponent: o, fallback: n } = this.props, { didCatch: s, error: a } = this.state;
496
+ let c = e;
497
+ if (s) {
486
498
  const u = {
487
499
  error: a,
488
500
  resetErrorBoundary: this.resetErrorBoundary
489
501
  };
490
502
  if (typeof t == "function")
491
- i = t(u);
503
+ c = t(u);
492
504
  else if (o)
493
- i = d(o, u);
494
- else if (s !== void 0)
495
- i = s;
505
+ c = i(o, u);
506
+ else if ("fallback" in this.props)
507
+ c = n;
496
508
  else
497
509
  throw a;
498
510
  }
499
- return d(
500
- h.Provider,
511
+ return i(
512
+ m2,
501
513
  {
502
- value: {
503
- didCatch: n,
504
- error: a,
505
- resetErrorBoundary: this.resetErrorBoundary
506
- }
514
+ didCatch: s,
515
+ error: a,
516
+ resetErrorBoundary: this.resetErrorBoundary
507
517
  },
508
- i
518
+ c
509
519
  );
510
520
  }
511
521
  };
512
- function C(r = [], e = []) {
522
+ function g(r = [], e = []) {
513
523
  return r.length !== e.length || r.some((t, o) => !Object.is(t, e[o]));
514
524
  }
515
525
 
@@ -542,7 +552,7 @@ function DefaultFallback({ error: error2, resetErrorBoundary }) {
542
552
  });
543
553
  }
544
554
  function UiErrorBoundary({ children, fallback, onReset, resetKeys }) {
545
- return /* @__PURE__ */ jsx(m2, {
555
+ return /* @__PURE__ */ jsx(C, {
546
556
  FallbackComponent: fallback ? () => fallback : DefaultFallback,
547
557
  onReset,
548
558
  resetKeys,
@@ -901,12 +911,12 @@ function ActionSwapText({ value, children, animation = "blur", className }) {
901
911
  animate: "animate",
902
912
  exit: "exit",
903
913
  className: "absolute left-0 top-0 inline-block whitespace-pre",
904
- children: label.split("").map((char, i) => /* @__PURE__ */ jsx3(m.span, {
905
- custom: i * CASCADE_STAGGER,
914
+ children: label.split("").map((char, i2) => /* @__PURE__ */ jsx3(m.span, {
915
+ custom: i2 * CASCADE_STAGGER,
906
916
  variants: CASCADE_LETTER_VARIANTS,
907
917
  className: "inline-block whitespace-pre",
908
918
  children: char
909
- }, i))
919
+ }, i2))
910
920
  }, `cascade-${value}`) : /* @__PURE__ */ jsx3(m.span, {
911
921
  variants: TEXT_VARIANTS[coreAnimation],
912
922
  initial: reduce ? false : "initial",
@@ -1142,8 +1152,8 @@ var BasePopupHandle = class {
1142
1152
  }
1143
1153
  let triggerElement;
1144
1154
  if (triggerId) {
1145
- for (let i = this.attachedStores.length - 1; i >= 0 && !triggerElement; i -= 1) {
1146
- triggerElement = this.attachedStores[i].context.triggerElements.getById(triggerId);
1155
+ for (let i2 = this.attachedStores.length - 1; i2 >= 0 && !triggerElement; i2 -= 1) {
1156
+ triggerElement = this.attachedStores[i2].context.triggerElements.getById(triggerId);
1147
1157
  }
1148
1158
  triggerElement ??= this.fallbackStore.context.triggerElements.getById(triggerId);
1149
1159
  }
@@ -1733,7 +1743,7 @@ function isDaytonaNotConnectedError(error2) {
1733
1743
  return error2.status === 403;
1734
1744
  }
1735
1745
 
1736
- // web/app/dist/server/assets/routes-BkVN3m9i.js
1746
+ // web/app/dist/server/assets/routes-Cbbo-jh9.js
1737
1747
  import { Children, Fragment as Fragment7, Suspense as Suspense2, cloneElement, createContext as createContext27, createElement, forwardRef as forwardRef54, isValidElement, lazy as lazy2, memo as memo4, useCallback as useCallback12, useContext as useContext27, useEffect as useEffect8, useEffectEvent, useId as useId2, useLayoutEffect as useLayoutEffect2, useMemo as useMemo22, useReducer, useRef as useRef39, useState as useState23, useSyncExternalStore as useSyncExternalStore3 } from "react";
1738
1748
  import { Fragment as Fragment$1, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
1739
1749
 
@@ -4421,8 +4431,8 @@ function areArraysEqual(array1, array2, itemComparer = Object.is) {
4421
4431
  if (length !== array2.length) {
4422
4432
  return false;
4423
4433
  }
4424
- for (let i = 0; i < length; i += 1) {
4425
- if (!itemComparer(array1[i], array2[i])) {
4434
+ for (let i2 = 0; i2 < length; i2 += 1) {
4435
+ if (!itemComparer(array1[i2], array2[i2])) {
4426
4436
  return false;
4427
4437
  }
4428
4438
  }
@@ -5557,8 +5567,8 @@ function CompositeList(props) {
5557
5567
  });
5558
5568
  mutationObserverRef.current = mutationObserver;
5559
5569
  const roots = /* @__PURE__ */ new Set();
5560
- for (let i = 1; i < sortedNodes.length; i += 1) {
5561
- const root = getCommonAncestor(sortedNodes[i - 1], sortedNodes[i]);
5570
+ for (let i2 = 1; i2 < sortedNodes.length; i2 += 1) {
5571
+ const root = getCommonAncestor(sortedNodes[i2 - 1], sortedNodes[i2]);
5562
5572
  if (root) {
5563
5573
  roots.add(root);
5564
5574
  }
@@ -5674,8 +5684,8 @@ function getCommonAncestor(firstNode, lastNode) {
5674
5684
  }
5675
5685
  function hasMovedNode(entries) {
5676
5686
  for (const entry of entries) {
5677
- for (let i = 0; i < entry.removedNodes.length; i += 1) {
5678
- if (entry.removedNodes[i].isConnected) {
5687
+ for (let i2 = 0; i2 < entry.removedNodes.length; i2 += 1) {
5688
+ if (entry.removedNodes[i2].isConnected) {
5679
5689
  return true;
5680
5690
  }
5681
5691
  }
@@ -6362,9 +6372,9 @@ function useCompositeListItem(params = {}) {
6362
6372
  return void 0;
6363
6373
  }
6364
6374
  return subscribeMapChange((map) => {
6365
- const i = componentRef.current ? map.get(componentRef.current)?.index : null;
6366
- if (i != null) {
6367
- setInternalIndex(i);
6375
+ const i2 = componentRef.current ? map.get(componentRef.current)?.index : null;
6376
+ if (i2 != null) {
6377
+ setInternalIndex(i2);
6368
6378
  }
6369
6379
  });
6370
6380
  }, [externalIndex, subscribeMapChange]);
@@ -6810,10 +6820,10 @@ function getTargetScrollTop(items, isUp, scrollTop, clientHeight, scrollArrowHei
6810
6820
  if (isUp) {
6811
6821
  let firstVisibleIndex = 0;
6812
6822
  const visibleTop = scrollTop + scrollArrowHeight - SCROLL_EDGE_TOLERANCE_PX;
6813
- for (let i = 0; i < items.length; i += 1) {
6814
- const item = items[i];
6823
+ for (let i2 = 0; i2 < items.length; i2 += 1) {
6824
+ const item = items[i2];
6815
6825
  if (item && item.offsetTop >= visibleTop) {
6816
- firstVisibleIndex = i;
6826
+ firstVisibleIndex = i2;
6817
6827
  break;
6818
6828
  }
6819
6829
  }
@@ -6823,10 +6833,10 @@ function getTargetScrollTop(items, isUp, scrollTop, clientHeight, scrollArrowHei
6823
6833
  }
6824
6834
  let lastVisibleIndex = items.length - 1;
6825
6835
  const visibleBottom = scrollTop + clientHeight - scrollArrowHeight + SCROLL_EDGE_TOLERANCE_PX;
6826
- for (let i = 0; i < items.length; i += 1) {
6827
- const item = items[i];
6836
+ for (let i2 = 0; i2 < items.length; i2 += 1) {
6837
+ const item = items[i2];
6828
6838
  if (item && item.offsetTop + item.offsetHeight > visibleBottom) {
6829
- lastVisibleIndex = Math.max(0, i - 1);
6839
+ lastVisibleIndex = Math.max(0, i2 - 1);
6830
6840
  break;
6831
6841
  }
6832
6842
  }
@@ -6958,7 +6968,7 @@ if (process.env.NODE_ENV !== "production") ListboxSeparator.displayName = "Listb
6958
6968
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/select/separator/SelectSeparator.mjs
6959
6969
  var SelectSeparator = ListboxSeparator;
6960
6970
 
6961
- // web/app/dist/server/assets/routes-BkVN3m9i.js
6971
+ // web/app/dist/server/assets/routes-Cbbo-jh9.js
6962
6972
  import { createPortal } from "react-dom";
6963
6973
 
6964
6974
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/alert-dialog/index.parts.mjs
@@ -10444,7 +10454,7 @@ var TabsList = /* @__PURE__ */ React112.forwardRef(function TabsList2(componentP
10444
10454
  });
10445
10455
  if (process.env.NODE_ENV !== "production") TabsList.displayName = "TabsList";
10446
10456
 
10447
- // web/app/dist/server/assets/routes-BkVN3m9i.js
10457
+ // web/app/dist/server/assets/routes-Cbbo-jh9.js
10448
10458
  function isChatTextPart(part) {
10449
10459
  return part.type === "text";
10450
10460
  }
@@ -10846,7 +10856,7 @@ function PromptInput({ value, defaultValue = "", onValueChange, onSubmit, loadin
10846
10856
  ]
10847
10857
  });
10848
10858
  }
10849
- var LazyGenerativeTextRenderer = lazy2(() => import("./openui-renderer-VuQOQeAP-XBOR3XGN.js").then((n) => n.n).then(({ GenerativeTextRenderer }) => ({ default: GenerativeTextRenderer })));
10859
+ var LazyGenerativeTextRenderer = lazy2(() => import("./openui-renderer-CJ7Q2zZ_-FPXKZPSO.js").then((n) => n.n).then(({ GenerativeTextRenderer }) => ({ default: GenerativeTextRenderer })));
10850
10860
  function PlainTextFallback({ className, content }) {
10851
10861
  return /* @__PURE__ */ jsx7("div", {
10852
10862
  className: className ? `${className} whitespace-pre-wrap` : "whitespace-pre-wrap",
@@ -11792,8 +11802,8 @@ memo4(function AssistantTurn(props) {
11792
11802
  className: "group/assistant-turn",
11793
11803
  children: [/* @__PURE__ */ jsx7("div", {
11794
11804
  className: "flex flex-col gap-3",
11795
- children: assistantMsgs.map((msg, i) => {
11796
- const isLastMsg = isLastTurn && i === assistantMsgs.length - 1;
11805
+ children: assistantMsgs.map((msg, i2) => {
11806
+ const isLastMsg = isLastTurn && i2 === assistantMsgs.length - 1;
11797
11807
  return /* @__PURE__ */ jsx7(AssistantParts, {
11798
11808
  msg,
11799
11809
  isLast: isLastMsg,
@@ -11842,17 +11852,17 @@ function buildAssistantElements(parts, opts) {
11842
11852
  nestedToolsMap.get(parentId).push(part);
11843
11853
  nestedToolIds.add(part.toolCallId);
11844
11854
  }
11845
- let i = 0;
11846
- while (i < parts.length) {
11847
- const part = parts[i];
11855
+ let i2 = 0;
11856
+ while (i2 < parts.length) {
11857
+ const part = parts[i2];
11848
11858
  if (isV5ToolPart(part) && part.type === "tool-TaskOutput") {
11849
- i++;
11859
+ i2++;
11850
11860
  continue;
11851
11861
  }
11852
11862
  if (isTextPart(part)) {
11853
11863
  const text2 = part.text;
11854
11864
  if (text2 && !hasPlanWritePresentation) textChunks.push(text2);
11855
- i++;
11865
+ i2++;
11856
11866
  continue;
11857
11867
  }
11858
11868
  if (isErrorPart(part)) {
@@ -11860,21 +11870,21 @@ function buildAssistantElements(parts, opts) {
11860
11870
  title: part.title,
11861
11871
  message: part.message
11862
11872
  }, `${messageId}-error-${part.title}-${part.message}`));
11863
- i++;
11873
+ i2++;
11864
11874
  continue;
11865
11875
  }
11866
11876
  if (isPayloadPart(part)) {
11867
- elems.push(/* @__PURE__ */ jsx7(PayloadPart, { part }, `${messageId}-payload-${i}`));
11868
- i++;
11877
+ elems.push(/* @__PURE__ */ jsx7(PayloadPart, { part }, `${messageId}-payload-${i2}`));
11878
+ i2++;
11869
11879
  continue;
11870
11880
  }
11871
11881
  if (isV5ToolPart(part)) {
11872
11882
  if (suppressQuestionTool && part.type === "tool-Question") {
11873
- i++;
11883
+ i2++;
11874
11884
  continue;
11875
11885
  }
11876
11886
  if (part.toolCallId && nestedToolIds.has(part.toolCallId)) {
11877
- i++;
11887
+ i2++;
11878
11888
  continue;
11879
11889
  }
11880
11890
  const chatStreamingStatus = isLast && isStreaming ? "streaming" : void 0;
@@ -11888,10 +11898,10 @@ function buildAssistantElements(parts, opts) {
11888
11898
  chatStatus: chatStreamingStatus,
11889
11899
  toolRenderers
11890
11900
  }, getAssistantToolElementKey(messageId, part, occurrence)));
11891
- i++;
11901
+ i2++;
11892
11902
  continue;
11893
11903
  }
11894
- i++;
11904
+ i2++;
11895
11905
  }
11896
11906
  const text = textChunks.join("\n\n");
11897
11907
  if (text) elems.push(/* @__PURE__ */ jsx7("div", {
@@ -12256,23 +12266,23 @@ var UserMessage = memo4(function UserMessage2({ message, className, enableImageP
12256
12266
  for (const att of message.experimental_attachments) if (att.contentType?.startsWith("image/") && att.url) images.push(att.url);
12257
12267
  }
12258
12268
  if (!text && images.length === 0 && files.length === 0) return null;
12259
- const lightboxImages = images.map((url, i) => ({
12260
- id: `${message.id}-img-${i}`,
12269
+ const lightboxImages = images.map((url, i2) => ({
12270
+ id: `${message.id}-img-${i2}`,
12261
12271
  url,
12262
- filename: `image-${i + 1}`
12272
+ filename: `image-${i2 + 1}`
12263
12273
  }));
12264
12274
  return /* @__PURE__ */ jsxs3("div", {
12265
12275
  className: cn("flex flex-col items-end gap-1", className),
12266
12276
  children: [
12267
- images.length > 0 && images.map((url, i) => /* @__PURE__ */ jsx7("div", {
12277
+ images.length > 0 && images.map((url, i2) => /* @__PURE__ */ jsx7("div", {
12268
12278
  className: cn("max-w-[200px] rounded-chat-message bg-foreground/4 p-1.5", enableImagePreview && "cursor-pointer"),
12269
- onClick: enableImagePreview ? () => setLightboxIndex(i) : void 0,
12279
+ onClick: enableImagePreview ? () => setLightboxIndex(i2) : void 0,
12270
12280
  role: enableImagePreview ? "button" : void 0,
12271
12281
  tabIndex: enableImagePreview ? 0 : void 0,
12272
12282
  onKeyDown: enableImagePreview ? (event) => {
12273
12283
  if (event.key === "Enter" || event.key === " ") {
12274
12284
  event.preventDefault();
12275
- setLightboxIndex(i);
12285
+ setLightboxIndex(i2);
12276
12286
  }
12277
12287
  } : void 0,
12278
12288
  children: /* @__PURE__ */ jsx7("img", {
@@ -12291,8 +12301,8 @@ var UserMessage = memo4(function UserMessage2({ message, className, enableImageP
12291
12301
  }),
12292
12302
  files.length > 0 && /* @__PURE__ */ jsx7("div", {
12293
12303
  className: "flex flex-col items-end gap-2",
12294
- children: files.map((file, i) => /* @__PURE__ */ jsx7(FileAttachment, {
12295
- id: `${file.filename}-${i}`,
12304
+ children: files.map((file, i2) => /* @__PURE__ */ jsx7(FileAttachment, {
12305
+ id: `${file.filename}-${i2}`,
12296
12306
  filename: file.filename,
12297
12307
  size: file.size
12298
12308
  }, `${file.filename}-${file.size}`))
@@ -12737,13 +12747,13 @@ function rlmStatusIcon(status) {
12737
12747
  if (status === "recovering") return /* @__PURE__ */ jsx7(RotateCw, { className: "size-3.5 animate-spin text-amber-500 dark:text-amber-400" });
12738
12748
  return /* @__PURE__ */ jsx7(LoaderCircle, { className: "size-3.5 animate-spin text-primary" });
12739
12749
  }
12740
- var LazyArtifactsPanel = lazy2(() => import("./artifacts-panel-CozDO7ak-5T4W7RME.js").then(({ ArtifactsPanelContent }) => ({ default: ArtifactsPanelContent })));
12741
- var LazyResourcesPanel = lazy2(() => import("./resources-panel-Cnz-X1bx-TT5KVROR.js").then(({ ResourcesPanelContent }) => ({ default: ResourcesPanelContent })));
12750
+ var LazyArtifactsPanel = lazy2(() => import("./artifacts-panel-BuAqeJzj-6DYYLKUW.js").then(({ ArtifactsPanelContent }) => ({ default: ArtifactsPanelContent })));
12751
+ var LazyResourcesPanel = lazy2(() => import("./resources-panel-yVB4xF_K-OHFHXVU4.js").then(({ ResourcesPanelContent }) => ({ default: ResourcesPanelContent })));
12742
12752
  var LazySessionInsightsPanel = lazy2(() => import("./session-insights-panel-CWmY-2NA-ZSWW6NIO.js").then(({ SessionInsightsPanel }) => ({ default: SessionInsightsPanel })));
12743
12753
  var LazyReplPanel = lazy2(() => import("./repl-panel-DOyUyuQR-IMYO4FKX.js").then(({ ReplPanelContent }) => ({ default: ReplPanelContent })));
12744
- var LazySubagentsPanel = lazy2(() => import("./subagents-panel-FUUT0t1i-5ZKJ2QAJ.js").then(({ SubagentsPanelContent }) => ({ default: SubagentsPanelContent })));
12745
- var LazyWorkspacePanel = lazy2(() => import("./workspace-panel-BbI1N4f8-WYOEVH4G.js").then(({ WorkspacePanelContent }) => ({ default: WorkspacePanelContent })));
12746
- var LazySessionTreePanel = lazy2(() => import("./session-tree-panel-3y9LVA0A-4V4TJX62.js").then(({ SessionTreePanel }) => ({ default: SessionTreePanel })));
12754
+ var LazySubagentsPanel = lazy2(() => import("./subagents-panel-aC3Eo-MR-RNIPLCZQ.js").then(({ SubagentsPanelContent }) => ({ default: SubagentsPanelContent })));
12755
+ var LazyWorkspacePanel = lazy2(() => import("./workspace-panel-DfdFkgHU-6HIOXRBX.js").then(({ WorkspacePanelContent }) => ({ default: WorkspacePanelContent })));
12756
+ var LazySessionTreePanel = lazy2(() => import("./session-tree-panel-CL49XSTK-4ZPK6AIV.js").then(({ SessionTreePanel }) => ({ default: SessionTreePanel })));
12747
12757
  function PanelFallback() {
12748
12758
  return /* @__PURE__ */ jsxs3("div", {
12749
12759
  className: "flex min-h-32 flex-col gap-3 p-4",
@@ -15118,7 +15128,7 @@ function useInputBarState({ models, status, thinkingLevel, onModelChange, onThin
15118
15128
  value
15119
15129
  };
15120
15130
  }
15121
- var LazyModelSelectorList = lazy2(() => import("./model-selector-list-BOKU5_Z3-III72ZT2.js").then(({ ModelSelectorList: ModelSelectorList2 }) => ({ default: ModelSelectorList2 })));
15131
+ var LazyModelSelectorList = lazy2(() => import("./model-selector-list-BjoXmw92-TEKBPB3E.js").then(({ ModelSelectorList: ModelSelectorList2 }) => ({ default: ModelSelectorList2 })));
15122
15132
  function ModelSelectorList(props) {
15123
15133
  return /* @__PURE__ */ jsx7(Suspense2, {
15124
15134
  fallback: /* @__PURE__ */ jsx7("div", {
@@ -15680,7 +15690,7 @@ function iconFor(kind) {
15680
15690
  return kind;
15681
15691
  }
15682
15692
  }
15683
- var LazySessionToolRenderer = lazy2(() => import("./session-tool-renderer-BFEWy2Pk-JTSYUPO5.js").then((n) => n.n).then(({ SessionToolRenderer: SessionToolRenderer2 }) => ({ default: SessionToolRenderer2 })));
15693
+ var LazySessionToolRenderer = lazy2(() => import("./session-tool-renderer-QcAkYD-V-6RXRKDH6.js").then((n) => n.n).then(({ SessionToolRenderer: SessionToolRenderer2 }) => ({ default: SessionToolRenderer2 })));
15684
15694
  function SessionToolRenderer(props) {
15685
15695
  return /* @__PURE__ */ jsx7(Suspense2, {
15686
15696
  fallback: /* @__PURE__ */ jsx7("div", {
@@ -15691,7 +15701,7 @@ function SessionToolRenderer(props) {
15691
15701
  children: /* @__PURE__ */ jsx7(LazySessionToolRenderer, { ...props })
15692
15702
  });
15693
15703
  }
15694
- var LazySessionReasoningPanel = lazy2(() => import("./session-reasoning-panel-2_TR5nKM-KA5OY7ZV.js").then(({ SessionReasoningPanel: SessionReasoningPanel2 }) => ({ default: SessionReasoningPanel2 })));
15704
+ var LazySessionReasoningPanel = lazy2(() => import("./session-reasoning-panel-C50VbaQ8-4YLMVVY6.js").then(({ SessionReasoningPanel: SessionReasoningPanel2 }) => ({ default: SessionReasoningPanel2 })));
15695
15705
  function SessionReasoningPanel(props) {
15696
15706
  return /* @__PURE__ */ jsx7(Suspense2, {
15697
15707
  fallback: /* @__PURE__ */ jsx7("div", {
@@ -15727,7 +15737,7 @@ function PromptSuggestions(props) {
15727
15737
  })
15728
15738
  });
15729
15739
  }
15730
- var LazyMessageQueue = lazy2(() => import("./message-queue-Q_Q6hbqc-AOV2PSCX.js").then(({ MessageQueue: MessageQueue2 }) => ({ default: MessageQueue2 })));
15740
+ var LazyMessageQueue = lazy2(() => import("./message-queue-BzEFQR8k-2W53EW32.js").then(({ MessageQueue: MessageQueue2 }) => ({ default: MessageQueue2 })));
15731
15741
  function MessageQueue(props) {
15732
15742
  return /* @__PURE__ */ jsx7(Suspense2, {
15733
15743
  fallback: null,
@@ -17511,8 +17521,8 @@ function usePendingQuestionBar({ messages, answerQuestion }) {
17511
17521
  }, [messages, answerQuestion]);
17512
17522
  }
17513
17523
  function findPendingQuestionPart(messages) {
17514
- for (let i = messages.length - 1; i >= 0; i--) {
17515
- const msg = messages[i];
17524
+ for (let i2 = messages.length - 1; i2 >= 0; i2--) {
17525
+ const msg = messages[i2];
17516
17526
  if (msg.role !== "assistant" || !Array.isArray(msg.parts)) continue;
17517
17527
  for (let j = msg.parts.length - 1; j >= 0; j--) {
17518
17528
  const part = msg.parts[j];
@@ -17897,8 +17907,8 @@ function flattenForkCandidates(nodes) {
17897
17907
  return users.length > 0 ? users : all;
17898
17908
  }
17899
17909
  function lastAssistantCopyText(messages) {
17900
- for (let i = messages.length - 1; i >= 0; i -= 1) {
17901
- const message = messages[i];
17910
+ for (let i2 = messages.length - 1; i2 >= 0; i2 -= 1) {
17911
+ const message = messages[i2];
17902
17912
  if (message?.role !== "assistant" || message.source === "local") continue;
17903
17913
  const text = assistantTextFromMessage(message).trim();
17904
17914
  if (text) return text;
@@ -20864,9 +20874,9 @@ function useProximityHover(containerRef, options = {}) {
20864
20874
  });
20865
20875
  const prev = itemRectsRef.current;
20866
20876
  let changed = prev.length !== rects.length;
20867
- for (let i = 0; !changed && i < rects.length; i++) {
20868
- const p2 = prev[i];
20869
- const r = rects[i];
20877
+ for (let i2 = 0; !changed && i2 < rects.length; i2++) {
20878
+ const p2 = prev[i2];
20879
+ const r = rects[i2];
20870
20880
  if (p2 === r) continue;
20871
20881
  changed = !p2 || !r || p2.top !== r.top || p2.left !== r.left || p2.width !== r.width || p2.height !== r.height;
20872
20882
  }
@@ -22949,9 +22959,9 @@ function ChatApp({ children, className, sidebarWidth = SESSION_SIDEBAR_WIDTH_CSS
22949
22959
  children
22950
22960
  });
22951
22961
  }
22952
- var LazyChatCommandPalette = lazy2(() => import("./chat-command-palette-CLE-L0qp-ZZNKVTSS.js").then(({ ChatCommandPalette }) => ({ default: ChatCommandPalette })));
22953
- var LazySettingsDialog = lazy2(() => import("./settings-dialog-DgZ8Z5e4-6T5AS2EB.js").then(({ SettingsDialog }) => ({ default: SettingsDialog })));
22954
- var LazyForkPickerDialog = lazy2(() => import("./fork-picker-dialog-CXcLEaor-6SVM5RJO.js").then(({ ForkPickerDialog }) => ({ default: ForkPickerDialog })));
22962
+ var LazyChatCommandPalette = lazy2(() => import("./chat-command-palette-Ca8gXVi2-P6EOQ43G.js").then(({ ChatCommandPalette }) => ({ default: ChatCommandPalette })));
22963
+ var LazySettingsDialog = lazy2(() => import("./settings-dialog-DG9HEZeP-TWDRDGMN.js").then(({ SettingsDialog }) => ({ default: SettingsDialog })));
22964
+ var LazyForkPickerDialog = lazy2(() => import("./fork-picker-dialog-QH00XmqX-6YLU5REF.js").then(({ ForkPickerDialog }) => ({ default: ForkPickerDialog })));
22955
22965
  function ChatCommandPaletteOverlay({ chrome, conversation, dialogs, panels, session }) {
22956
22966
  return /* @__PURE__ */ jsx7(Fragment$1, { children: dialogs.commandPaletteOpen ? /* @__PURE__ */ jsx7(Suspense2, {
22957
22967
  fallback: null,
@@ -24699,7 +24709,7 @@ function DiscordIcon({ className, ...props }) {
24699
24709
  }
24700
24710
  function fleetVersion() {
24701
24711
  try {
24702
- return "0.7.0";
24712
+ return "0.7.1";
24703
24713
  } catch {
24704
24714
  return "dev";
24705
24715
  }
@@ -25406,7 +25416,7 @@ function useSessionSidebarViewModel({ sessions, projects = EMPTY_PROJECTS, proje
25406
25416
  ])
25407
25417
  };
25408
25418
  }
25409
- var LazySessionSidebarCreateDialog = lazy2(() => import("./create-project-dialog-CReZdM5g-2V7C5J67.js").then(({ SessionSidebarCreateDialog }) => ({ default: SessionSidebarCreateDialog })));
25419
+ var LazySessionSidebarCreateDialog = lazy2(() => import("./create-project-dialog-DCvdysey-IZUGGDAN.js").then(({ SessionSidebarCreateDialog }) => ({ default: SessionSidebarCreateDialog })));
25410
25420
  function SessionSidebar({ data, sessionActions, projectActions = {}, navigationActions = {}, slots = {} }) {
25411
25421
  const { sessions, projects = EMPTY_PROJECTS, projectSessions = sessions, activeProjectId, activeSessionId } = data;
25412
25422
  const { onNewSession, onNewSessionInProject, onResumeSession, onRenameSession, onDeleteSession } = sessionActions;
@@ -25491,7 +25501,7 @@ function SessionSidebar({ data, sessionActions, projectActions = {}, navigationA
25491
25501
  })
25492
25502
  ] });
25493
25503
  }
25494
- var LazySubagentChatPanel = lazy2(() => import("./subagent-chat-panel-B0pmAxCp-DKXNAOUU.js").then(({ SubagentChatPanel }) => ({ default: SubagentChatPanel })));
25504
+ var LazySubagentChatPanel = lazy2(() => import("./subagent-chat-panel-Cg2CxshI-WWGFHTIF.js").then(({ SubagentChatPanel }) => ({ default: SubagentChatPanel })));
25495
25505
  function ChatWorkspaceShell() {
25496
25506
  const { session, conversation, composer, panels, dialogs, chrome, agentTabs } = useChatWorkspaceData();
25497
25507
  const toggleCommandPalette = useCallback12(() => {