@qredence/fleet 0.6.6 → 0.7.0

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 (87) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/web/client/assets/{action-swap-roll-Dbquwd1Y.js → action-swap-roll-BfVrBOVd.js} +1 -1
  3. package/dist/web/client/assets/{alert-dialog-C6Dkg1x6.js → alert-dialog-FCppNafx.js} +1 -1
  4. package/dist/web/client/assets/{artifacts-panel-8a_tn7Yb.js → artifacts-panel-Qd6JlHzz.js} +1 -1
  5. package/dist/web/client/assets/button-BJyg7l5W.js +1 -0
  6. package/dist/web/client/assets/{chat-command-palette-DhidLnw7.js → chat-command-palette-CPlJp2cO.js} +1 -1
  7. package/dist/web/client/assets/{citations-BYiDBo21.js → citations-BhyqbxcZ.js} +1 -1
  8. package/dist/web/client/assets/{command-Cre9BsOI.js → command-Bo31U-UD.js} +1 -1
  9. package/dist/web/client/assets/create-project-dialog-SDyXTpl-.js +1 -0
  10. package/dist/web/client/assets/{dialog-0KDCsqw0.js → dialog-DLIPvl1s.js} +1 -1
  11. package/dist/web/client/assets/ease-DKi-MOH5.js +1 -0
  12. package/dist/web/client/assets/{fork-picker-dialog-BPSqUjKu.js → fork-picker-dialog-BDleMADF.js} +1 -1
  13. package/dist/web/client/assets/globals-DZbMyHfg.css +2 -0
  14. package/dist/web/client/assets/index-D3HpiAnD.js +12 -0
  15. package/dist/web/client/assets/input-Ce8yLnXY.js +1 -0
  16. package/dist/web/client/assets/{input-group-Fky3fte_.js → input-group-BZLQiZOA.js} +1 -1
  17. package/dist/web/client/assets/is-ref-object-BD8OGh9C.js +1 -0
  18. package/dist/web/client/assets/{layout-constants-CC0ANQOP.js → layout-constants-Bl6XCvhY.js} +1 -1
  19. package/dist/web/client/assets/{message-queue-BUJK6bPQ.js → message-queue-CiptKSb6.js} +1 -1
  20. package/dist/web/client/assets/{model-selector-list-yOj8BeKr.js → model-selector-list-BHQ-Q8b9.js} +1 -1
  21. package/dist/web/client/assets/{notify-GSsGEKtR.js → notify-BC0a76VJ.js} +1 -1
  22. package/dist/web/client/assets/{openui-renderer-xe2-ekvP.js → openui-renderer-CH9K7_8t.js} +3 -3
  23. package/dist/web/client/assets/{prompt-input-BhVQxoyh.js → prompt-input-IwZOepG7.js} +1 -1
  24. package/dist/web/client/assets/{provider-label-BW_awXvw.js → provider-label-DNZOLldn.js} +1 -1
  25. package/dist/web/client/assets/{right-panel-registry-BpfG1iZV.js → right-panel-registry-BJG8ubHt.js} +2 -2
  26. package/dist/web/client/assets/routes-BXFQmjL9.js +16 -0
  27. package/dist/web/client/assets/select-COK0Kaq2.js +1 -0
  28. package/dist/web/client/assets/{session-tool-renderer-CNcxpGsk.js → session-tool-renderer-mOZdkbiU.js} +1 -1
  29. package/dist/web/client/assets/{session-tree-panel-BIEUJ1Zs.js → session-tree-panel-deGRKAhX.js} +1 -1
  30. package/dist/web/client/assets/settings-dialog-BU1Tw0CQ.js +2 -0
  31. package/dist/web/client/assets/{subagent-chat-panel-DA1GvHt8.js → subagent-chat-panel-DQEnhU2t.js} +1 -1
  32. package/dist/web/client/assets/{subagent-transcript-BGctBTbY.js → subagent-transcript-CCpg3uL6.js} +1 -1
  33. package/dist/web/client/assets/{subagent-utils-HbymlalM.js → subagent-utils-DTV2RcFl.js} +2 -2
  34. package/dist/web/client/assets/{subagents-panel-BJIdWRcV.js → subagents-panel-B-X7WPUU.js} +1 -1
  35. package/dist/web/client/assets/surface-context-DWplCCcO.js +1 -0
  36. package/dist/web/client/assets/{switch-DIbInrPR.js → switch-DQETDDJT.js} +1 -1
  37. package/dist/web/client/assets/toast-BFeqSeaR.js +1 -0
  38. package/dist/web/client/assets/{tool-result-PSnAt_3f.js → tool-result-C5Ixe-AJ.js} +1 -1
  39. package/dist/web/client/assets/{use-presence-D2YmRKr3.js → use-presence-rcUnm8Z7.js} +1 -1
  40. package/dist/web/client/assets/use-reduced-motion-BgG7f9xw.js +9 -0
  41. package/dist/web/client/assets/{workspace-panel-D3CMFw8W.js → workspace-panel-DDjQuELx.js} +1 -1
  42. package/dist/web/client/bundle-budget.json +5 -5
  43. package/dist/web/server/{_tanstack-start-manifest_v-MhCuqEzO-S6MEB7L5.js → _tanstack-start-manifest_v-vL58CVrY-7SDCWIHD.js} +23 -23
  44. package/dist/web/server/{artifacts-panel-BVfcZuA2-PB4RCSHV.js → artifacts-panel-CozDO7ak-5T4W7RME.js} +9 -9
  45. package/dist/web/server/{chat-command-palette-DlJDToBH-MVI6V743.js → chat-command-palette-CLE-L0qp-ZZNKVTSS.js} +5 -5
  46. package/dist/web/server/{chunk-MM4HQ5EO.js → chunk-54UEKLGD.js} +7 -7
  47. package/dist/web/server/{chunk-3VMFSSWK.js → chunk-B4EBMF5J.js} +2 -2
  48. package/dist/web/server/{chunk-RQHQK66C.js → chunk-D7GSWBRI.js} +2 -2
  49. package/dist/web/server/{chunk-JT53AAM5.js → chunk-E4YWFQX5.js} +1442 -1063
  50. package/dist/web/server/{chunk-VF3NJAD6.js → chunk-EUWNVEIC.js} +497 -556
  51. package/dist/web/server/{chunk-KUBURZOL.js → chunk-GRGV5FVO.js} +4 -4
  52. package/dist/web/server/{chunk-4QFOBBX5.js → chunk-NHV77NOI.js} +2 -2
  53. package/dist/web/server/{chunk-RWQWBZNI.js → chunk-QCDSLD3L.js} +6 -6
  54. package/dist/web/server/{chunk-MSXGQVHG.js → chunk-RVDWGK6U.js} +5 -5
  55. package/dist/web/server/{chunk-SAIH5YPC.js → chunk-RYU7I34A.js} +4 -4
  56. package/dist/web/server/{chunk-WBPESYPV.js → chunk-SLRV7YNY.js} +3 -3
  57. package/dist/web/server/{chunk-44MTKAFZ.js → chunk-XJHYJLGU.js} +4 -4
  58. package/dist/web/server/{create-project-dialog-UPz5_Ysf-FS6BL74M.js → create-project-dialog-CReZdM5g-2V7C5J67.js} +75 -14
  59. package/dist/web/server/{fork-picker-dialog-CZBpezXS-64KP23PO.js → fork-picker-dialog-CXcLEaor-6SVM5RJO.js} +3 -3
  60. package/dist/web/server/{message-queue-D_Q3coUY-I3EJZXWR.js → message-queue-Q_Q6hbqc-AOV2PSCX.js} +3 -3
  61. package/dist/web/server/{model-selector-list-q6WkkOwQ-OT46QU5P.js → model-selector-list-BOKU5_Z3-III72ZT2.js} +5 -5
  62. package/dist/web/server/{openui-renderer-BqI6m6VI-HXEIYIYZ.js → openui-renderer-VuQOQeAP-XBOR3XGN.js} +5 -5
  63. package/dist/web/server/{resources-panel-BKZ0M0RP-CMATPQQP.js → resources-panel-Cnz-X1bx-TT5KVROR.js} +4 -4
  64. package/dist/web/server/{router-BfuEp_JW-DNQ33L5J.js → router-C437aaqv-72HBLLJI.js} +2 -2
  65. package/dist/web/server/{routes-NdG3DsXJ-QKZT7TKM.js → routes-BkVN3m9i-PYNMNLQ5.js} +36 -34
  66. package/dist/web/server/server.js +2 -2
  67. package/dist/web/server/{session-reasoning-panel-Dc-AnjdD-7KAZLD74.js → session-reasoning-panel-2_TR5nKM-KA5OY7ZV.js} +4 -4
  68. package/dist/web/server/{session-tool-renderer-DaR8U5rb-TXWACWT7.js → session-tool-renderer-BFEWy2Pk-JTSYUPO5.js} +5 -5
  69. package/dist/web/server/{session-tree-panel-V3l8WdmE-YBRDLHWU.js → session-tree-panel-3y9LVA0A-4V4TJX62.js} +5 -5
  70. package/dist/web/server/{settings-dialog-C8U1VX75-6A2V6HSW.js → settings-dialog-DgZ8Z5e4-6T5AS2EB.js} +190 -119
  71. package/dist/web/server/{subagent-chat-panel-B9CtFTP5-6QDZ4RQY.js → subagent-chat-panel-B0pmAxCp-DKXNAOUU.js} +7 -7
  72. package/dist/web/server/{subagents-panel-Dw6yP5X4-BMN45GDD.js → subagents-panel-FUUT0t1i-5ZKJ2QAJ.js} +8 -8
  73. package/dist/web/server/{workspace-panel-C246J-eO-2WGJWVE6.js → workspace-panel-BbI1N4f8-WYOEVH4G.js} +4 -4
  74. package/package.json +1 -1
  75. package/dist/web/client/assets/button-BrwYi6QP.js +0 -1
  76. package/dist/web/client/assets/create-project-dialog-DVOaxTzt.js +0 -1
  77. package/dist/web/client/assets/ease-2UPBQU5v.js +0 -1
  78. package/dist/web/client/assets/globals-CD6JXJJh.css +0 -2
  79. package/dist/web/client/assets/index-BEG-7vN-.js +0 -12
  80. package/dist/web/client/assets/input-tWLSIxES.js +0 -1
  81. package/dist/web/client/assets/is-ref-object-CEXqIz6L.js +0 -1
  82. package/dist/web/client/assets/routes-BIp_deev.js +0 -16
  83. package/dist/web/client/assets/select-Buvrx1fi.js +0 -1
  84. package/dist/web/client/assets/settings-dialog-DAB6RL4u.js +0 -2
  85. package/dist/web/client/assets/surface-context-A-BjVzO_.js +0 -1
  86. package/dist/web/client/assets/toast-CS0pnDlS.js +0 -1
  87. package/dist/web/client/assets/use-reduced-motion-CaQBb3Qc.js +0 -9
@@ -10,7 +10,7 @@ import {
10
10
  useLabelableId,
11
11
  useRegisterFieldControl,
12
12
  useValueChanged
13
- } from "./chunk-VF3NJAD6.js";
13
+ } from "./chunk-EUWNVEIC.js";
14
14
  import {
15
15
  EMPTY_OBJECT,
16
16
  createChangeEventDetails,
@@ -23,7 +23,7 @@ import {
23
23
  useRenderElement,
24
24
  visuallyHidden,
25
25
  visuallyHiddenInput
26
- } from "./chunk-JT53AAM5.js";
26
+ } from "./chunk-E4YWFQX5.js";
27
27
  import {
28
28
  cva
29
29
  } from "./chunk-FB3UHLLN.js";
@@ -34,7 +34,7 @@ import {
34
34
  __export
35
35
  } from "./chunk-CZ7CSFO4.js";
36
36
 
37
- // web/app/dist/server/assets/switch-DmjcxGfV.js
37
+ // web/app/dist/server/assets/switch-BcjdSD4N.js
38
38
  import "react";
39
39
  import { jsx } from "react/jsx-runtime";
40
40
 
@@ -302,7 +302,7 @@ var SwitchThumb = /* @__PURE__ */ React4.forwardRef(function SwitchThumb2(compon
302
302
  });
303
303
  if (process.env.NODE_ENV !== "production") SwitchThumb.displayName = "SwitchThumb";
304
304
 
305
- // web/app/dist/server/assets/switch-DmjcxGfV.js
305
+ // web/app/dist/server/assets/switch-BcjdSD4N.js
306
306
  var alertVariants = cva("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
307
307
  variants: { variant: {
308
308
  default: "bg-card text-card-foreground",
@@ -3,11 +3,11 @@ import {
3
3
  AgentDisclosure,
4
4
  SPRING_PRESS,
5
5
  SPRING_SWAP
6
- } from "./chunk-VF3NJAD6.js";
6
+ } from "./chunk-EUWNVEIC.js";
7
7
  import {
8
8
  m,
9
9
  useReducedMotion
10
- } from "./chunk-JT53AAM5.js";
10
+ } from "./chunk-E4YWFQX5.js";
11
11
  import {
12
12
  Ban,
13
13
  Braces,
@@ -7,12 +7,12 @@ import {
7
7
  FileDiff,
8
8
  ToolResult,
9
9
  ToolResultOutput
10
- } from "./chunk-4QFOBBX5.js";
10
+ } from "./chunk-NHV77NOI.js";
11
11
  import {
12
12
  Collapsible$1,
13
13
  CollapsibleContent,
14
14
  CollapsibleTrigger
15
- } from "./chunk-RQHQK66C.js";
15
+ } from "./chunk-D7GSWBRI.js";
16
16
  import {
17
17
  ActionSwapRollText,
18
18
  AgentDisclosure,
@@ -27,12 +27,12 @@ import {
27
27
  mono,
28
28
  stripSandboxPrefixes,
29
29
  useHoverCapable
30
- } from "./chunk-VF3NJAD6.js";
30
+ } from "./chunk-EUWNVEIC.js";
31
31
  import {
32
32
  AnimatePresence,
33
33
  m,
34
34
  useReducedMotion
35
- } from "./chunk-JT53AAM5.js";
35
+ } from "./chunk-E4YWFQX5.js";
36
36
  import {
37
37
  IpythonTool,
38
38
  ToolApprovalFooter,
@@ -84,7 +84,7 @@ import {
84
84
  cn
85
85
  } from "./chunk-B5Y7XOIJ.js";
86
86
 
87
- // web/app/dist/server/assets/session-tool-renderer-DaR8U5rb.js
87
+ // web/app/dist/server/assets/session-tool-renderer-BFEWy2Pk.js
88
88
  import React, { memo, useCallback as useCallback4, useEffect as useEffect3, useId, useLayoutEffect as useLayoutEffect2, useMemo as useMemo2, useRef as useRef3, useState as useState3 } from "react";
89
89
  import { Fragment as Fragment$1, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
90
90
 
@@ -11860,7 +11860,7 @@ function MultiFileDiff({ oldFile, newFile, options, editorOptions, editStateKey,
11860
11860
  });
11861
11861
  }
11862
11862
 
11863
- // web/app/dist/server/assets/session-tool-renderer-DaR8U5rb.js
11863
+ // web/app/dist/server/assets/session-tool-renderer-BFEWy2Pk.js
11864
11864
  var STATUS_TEXT = {
11865
11865
  queued: "Waiting to generate",
11866
11866
  generating: "Generating image",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SessionToolRenderer
3
- } from "./chunk-RWQWBZNI.js";
3
+ } from "./chunk-QCDSLD3L.js";
4
4
  import {
5
5
  ToolTimeline
6
6
  } from "./chunk-PXSOI3XF.js";
@@ -19,10 +19,10 @@ import {
19
19
  normalizeAssistantToolParts,
20
20
  orderedRlmChildren,
21
21
  rlmStatusIcon
22
- } from "./chunk-VF3NJAD6.js";
22
+ } from "./chunk-EUWNVEIC.js";
23
23
  import {
24
24
  Button$1
25
- } from "./chunk-JT53AAM5.js";
25
+ } from "./chunk-E4YWFQX5.js";
26
26
  import {
27
27
  Bot,
28
28
  ChevronDown,
@@ -35,7 +35,7 @@ import {
35
35
  cn
36
36
  } from "./chunk-B5Y7XOIJ.js";
37
37
 
38
- // web/app/dist/server/assets/subagent-transcript-CVC0Cefd.js
38
+ // web/app/dist/server/assets/subagent-transcript-kBMnwh2s.js
39
39
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
40
40
  import { jsx, jsxs } from "react/jsx-runtime";
41
41
  function transcriptStatus(child) {
@@ -215,7 +215,7 @@ function SubagentTranscriptView({ child, parentSessionId, transcript, onRefresh,
215
215
  "aria-label": `Refresh ${child.label} thread`,
216
216
  className: "shrink-0 text-foreground/40 hover:text-foreground/70",
217
217
  onClick: onRefresh,
218
- size: "icon-sm",
218
+ size: "icon-compact",
219
219
  title: `Refresh ${child.label} thread`,
220
220
  type: "button",
221
221
  variant: "ghost",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  InputGroup,
3
3
  InputGroupAddon
4
- } from "./chunk-WBPESYPV.js";
4
+ } from "./chunk-SLRV7YNY.js";
5
5
  import {
6
6
  Dialog,
7
7
  DialogContent,
@@ -17,7 +17,7 @@ import {
17
17
  DialogDescription,
18
18
  DialogHeader,
19
19
  DialogTitle
20
- } from "./chunk-VF3NJAD6.js";
20
+ } from "./chunk-EUWNVEIC.js";
21
21
  import {
22
22
  Check,
23
23
  Search
@@ -26,7 +26,7 @@ import {
26
26
  cn
27
27
  } from "./chunk-B5Y7XOIJ.js";
28
28
 
29
- // web/app/dist/server/assets/command-CUqQtA3u.js
29
+ // web/app/dist/server/assets/command-D3mQPfnu.js
30
30
  import { jsx, jsxs } from "react/jsx-runtime";
31
31
 
32
32
  // node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/cmdk/dist/chunk-NZJY6EH4.mjs
@@ -373,7 +373,7 @@ function B2({ asChild: r, children: o }, n) {
373
373
  }
374
374
  var Te = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
375
375
 
376
- // web/app/dist/server/assets/command-CUqQtA3u.js
376
+ // web/app/dist/server/assets/command-D3mQPfnu.js
377
377
  function Command$2({ className, ...props }) {
378
378
  return /* @__PURE__ */ jsx(_e, {
379
379
  "data-slot": "command",
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Input$1
3
- } from "./chunk-VF3NJAD6.js";
3
+ } from "./chunk-EUWNVEIC.js";
4
4
  import {
5
5
  Button$1
6
- } from "./chunk-JT53AAM5.js";
6
+ } from "./chunk-E4YWFQX5.js";
7
7
  import {
8
8
  cva
9
9
  } from "./chunk-FB3UHLLN.js";
@@ -11,7 +11,7 @@ import {
11
11
  cn
12
12
  } from "./chunk-B5Y7XOIJ.js";
13
13
 
14
- // web/app/dist/server/assets/input-group-WHu0J6fb.js
14
+ // web/app/dist/server/assets/input-group-DcqziUQ6.js
15
15
  import { jsx } from "react/jsx-runtime";
16
16
  function Textarea({ className, ...props }) {
17
17
  return /* @__PURE__ */ jsx("textarea", {
@@ -69,7 +69,7 @@ import {
69
69
  toCustomProviderId,
70
70
  toInstanceSlug,
71
71
  toOccInstanceId
72
- } from "./chunk-JT53AAM5.js";
72
+ } from "./chunk-E4YWFQX5.js";
73
73
  import {
74
74
  __exportAll
75
75
  } from "./chunk-OO7NBFQQ.js";
@@ -89,7 +89,7 @@ import {
89
89
  lazyRouteComponent
90
90
  } from "./chunk-F5DJQ3PQ.js";
91
91
 
92
- // web/app/dist/server/assets/router-BfuEp_JW.js
92
+ // web/app/dist/server/assets/router-C437aaqv.js
93
93
  import { useEffect, useLayoutEffect, useState } from "react";
94
94
  import { jsx, jsxs } from "react/jsx-runtime";
95
95
  import { mkdir, open, readFile, readdir, realpath, rename, rm, stat, unlink, writeFile } from "node:fs/promises";
@@ -2052,7 +2052,7 @@ function getQueryClient() {
2052
2052
  if (!browserQueryClient) browserQueryClient = makeQueryClient();
2053
2053
  return browserQueryClient;
2054
2054
  }
2055
- var globals_default = "/assets/globals-CD6JXJJh.css";
2055
+ var globals_default = "/assets/globals-DZbMyHfg.css";
2056
2056
  var Route$29 = createRootRoute({
2057
2057
  head: () => ({
2058
2058
  meta: [
@@ -2121,7 +2121,7 @@ function RootDocument({ children }) {
2121
2121
  ] })]
2122
2122
  });
2123
2123
  }
2124
- var $$splitComponentImporter = () => import("./routes-NdG3DsXJ-QKZT7TKM.js").then((n) => n.t);
2124
+ var $$splitComponentImporter = () => import("./routes-BkVN3m9i-PYNMNLQ5.js").then((n) => n.t);
2125
2125
  var Route$28 = createFileRoute("/")({ component: lazyRouteComponent($$splitComponentImporter, "component") });
2126
2126
  var ManagedAttachmentValidationError = class extends Error {
2127
2127
  status;
@@ -8,8 +8,8 @@ import {
8
8
  CommandInput,
9
9
  CommandItem,
10
10
  CommandList
11
- } from "./chunk-SAIH5YPC.js";
12
- import "./chunk-WBPESYPV.js";
11
+ } from "./chunk-RYU7I34A.js";
12
+ import "./chunk-SLRV7YNY.js";
13
13
  import "./chunk-BC4GIC2P.js";
14
14
  import {
15
15
  Dialog$1,
@@ -19,11 +19,12 @@ import {
19
19
  DialogHeader,
20
20
  DialogTitle,
21
21
  Input$1,
22
+ directoryErrorMessage,
22
23
  pathEntryLabel
23
- } from "./chunk-VF3NJAD6.js";
24
+ } from "./chunk-EUWNVEIC.js";
24
25
  import {
25
26
  Button$1
26
- } from "./chunk-JT53AAM5.js";
27
+ } from "./chunk-E4YWFQX5.js";
27
28
  import "./chunk-GDPICT5Q.js";
28
29
  import "./chunk-FB3UHLLN.js";
29
30
  import {
@@ -40,13 +41,50 @@ import "./chunk-F5DJQ3PQ.js";
40
41
  import "./chunk-NXAVRSI5.js";
41
42
  import "./chunk-CZ7CSFO4.js";
42
43
 
43
- // web/app/dist/server/assets/create-project-dialog-UPz5_Ysf.js
44
- import { useId } from "react";
44
+ // web/app/dist/server/assets/create-project-dialog-CReZdM5g.js
45
+ import { useCallback, useEffect, useId, useRef, useState } from "react";
45
46
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
46
- function SessionSidebarCreateDialog({ createOpen, setCreateOpen, directoryBrowser, setDirectoryBrowser, directoryBrowseLoading, directoryBrowseError, setDirectoryBrowseError, onBrowseDirectories, directoryToken, setDirectoryToken, createName, setCreateName, createPath, setCreatePath, loadDirectories, createSubmitting, createSubmitError, setCreateSubmitError, submitCreate }) {
47
+ function SessionSidebarCreateDialog({ open, onClose, onBrowseDirectories, onCreateProject }) {
47
48
  const projectNameId = useId();
48
49
  const directoryId = useId();
49
50
  const directoryHelpId = useId();
51
+ const [createName, setCreateName] = useState("");
52
+ const [createPath, setCreatePath] = useState("");
53
+ const [directoryToken, setDirectoryToken] = useState(void 0);
54
+ const [directoryBrowser, setDirectoryBrowser] = useState(null);
55
+ const [directoryBrowseLoading, setDirectoryBrowseLoading] = useState(false);
56
+ const [directoryBrowseError, setDirectoryBrowseError] = useState(null);
57
+ const [createSubmitting, setCreateSubmitting] = useState(false);
58
+ const [createSubmitError, setCreateSubmitError] = useState(null);
59
+ const loadDirectories = useCallback(async (input) => {
60
+ if (!onBrowseDirectories) return false;
61
+ setDirectoryBrowseLoading(true);
62
+ setDirectoryBrowseError(null);
63
+ try {
64
+ const response = await onBrowseDirectories(input);
65
+ setDirectoryBrowser(response);
66
+ setDirectoryToken(response.directoryToken);
67
+ setCreatePath(response.pathLabel);
68
+ return true;
69
+ } catch (error) {
70
+ setDirectoryBrowseError(directoryErrorMessage(error, "Could not browse this directory."));
71
+ return false;
72
+ } finally {
73
+ setDirectoryBrowseLoading(false);
74
+ }
75
+ }, [onBrowseDirectories]);
76
+ const initialBrowseRef = useRef(false);
77
+ useEffect(() => {
78
+ if (open && !initialBrowseRef.current) {
79
+ initialBrowseRef.current = true;
80
+ if (onBrowseDirectories) loadDirectories({});
81
+ }
82
+ if (!open) initialBrowseRef.current = false;
83
+ }, [
84
+ open,
85
+ loadDirectories,
86
+ onBrowseDirectories
87
+ ]);
50
88
  const selectedDirectoryPath = directoryBrowser?.pathLabel ?? createPath;
51
89
  const canSubmit = Boolean(directoryToken || createPath.trim().startsWith("/"));
52
90
  const resetDirectoryChoice = () => {
@@ -60,13 +98,36 @@ function SessionSidebarCreateDialog({ createOpen, setCreateOpen, directoryBrowse
60
98
  resetDirectoryChoice();
61
99
  setCreateName("");
62
100
  setCreateSubmitError(null);
63
- setCreateOpen(false);
101
+ onClose();
102
+ };
103
+ const closeAfterCreate = () => {
104
+ resetDirectoryChoice();
105
+ setCreateName("");
106
+ setCreateSubmitError(null);
107
+ onClose();
108
+ };
109
+ const submitCreate = async () => {
110
+ const path = createPath.trim();
111
+ if (!onCreateProject || !path && !directoryToken) return;
112
+ setCreateSubmitting(true);
113
+ setCreateSubmitError(null);
114
+ try {
115
+ await onCreateProject({
116
+ path: directoryToken ? void 0 : path,
117
+ directoryToken,
118
+ name: createName.trim() || void 0
119
+ });
120
+ closeAfterCreate();
121
+ } catch (error) {
122
+ setCreateSubmitError(directoryErrorMessage(error, "Could not add this project."));
123
+ } finally {
124
+ setCreateSubmitting(false);
125
+ }
64
126
  };
65
127
  return /* @__PURE__ */ jsx(Dialog$1, {
66
- open: createOpen,
67
- onOpenChange: (open) => {
68
- if (open) setCreateOpen(true);
69
- else closeDialog();
128
+ open,
129
+ onOpenChange: (nextOpen) => {
130
+ if (!nextOpen) closeDialog();
70
131
  },
71
132
  children: /* @__PURE__ */ jsxs(DialogContent, {
72
133
  className: "sm:max-w-xl",
@@ -178,7 +239,7 @@ function SessionSidebarCreateDialog({ createOpen, setCreateOpen, directoryBrowse
178
239
  children: "Open a folder to make it the selected directory."
179
240
  })] }), directoryBrowser.parentToken ? /* @__PURE__ */ jsxs(Button$1, {
180
241
  type: "button",
181
- size: "sm",
242
+ size: "compact",
182
243
  variant: "outline",
183
244
  disabled: directoryBrowseLoading,
184
245
  onClick: () => void loadDirectories({ token: directoryBrowser.parentToken ?? void 0 }),
@@ -244,7 +305,7 @@ function SessionSidebarCreateDialog({ createOpen, setCreateOpen, directoryBrowse
244
305
  children: [/* @__PURE__ */ jsx("p", { children: directoryBrowseError }), /* @__PURE__ */ jsx(Button$1, {
245
306
  type: "button",
246
307
  variant: "link",
247
- size: "xs",
308
+ size: "compact",
248
309
  className: "mt-1 h-auto p-0 text-destructive",
249
310
  onClick: () => void loadDirectories(directoryBrowser ? { token: directoryBrowser.directoryToken } : {}),
250
311
  children: "Try again"
@@ -4,8 +4,8 @@ import {
4
4
  DialogDescription,
5
5
  DialogHeader,
6
6
  DialogTitle
7
- } from "./chunk-VF3NJAD6.js";
8
- import "./chunk-JT53AAM5.js";
7
+ } from "./chunk-EUWNVEIC.js";
8
+ import "./chunk-E4YWFQX5.js";
9
9
  import "./chunk-GDPICT5Q.js";
10
10
  import "./chunk-FB3UHLLN.js";
11
11
  import "./chunk-5AYK2KDO.js";
@@ -16,7 +16,7 @@ import "./chunk-F5DJQ3PQ.js";
16
16
  import "./chunk-NXAVRSI5.js";
17
17
  import "./chunk-CZ7CSFO4.js";
18
18
 
19
- // web/app/dist/server/assets/fork-picker-dialog-CZBpezXS.js
19
+ // web/app/dist/server/assets/fork-picker-dialog-CXcLEaor.js
20
20
  import { jsx, jsxs } from "react/jsx-runtime";
21
21
  function ForkPickerDialog({ entries, onOpenChange, onPick }) {
22
22
  const open = entries !== null && entries.length > 0;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  notify
3
- } from "./chunk-VF3NJAD6.js";
4
- import "./chunk-JT53AAM5.js";
3
+ } from "./chunk-EUWNVEIC.js";
4
+ import "./chunk-E4YWFQX5.js";
5
5
  import {
6
6
  CHAT_COLUMN_CLASS
7
7
  } from "./chunk-GDPICT5Q.js";
@@ -19,7 +19,7 @@ import "./chunk-F5DJQ3PQ.js";
19
19
  import "./chunk-NXAVRSI5.js";
20
20
  import "./chunk-CZ7CSFO4.js";
21
21
 
22
- // web/app/dist/server/assets/message-queue-D_Q3coUY.js
22
+ // web/app/dist/server/assets/message-queue-Q_Q6hbqc.js
23
23
  import { useState } from "react";
24
24
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
25
25
  var LANES = [{
@@ -5,15 +5,15 @@ import {
5
5
  CommandInput,
6
6
  CommandItem,
7
7
  CommandList
8
- } from "./chunk-SAIH5YPC.js";
9
- import "./chunk-WBPESYPV.js";
8
+ } from "./chunk-RYU7I34A.js";
9
+ import "./chunk-SLRV7YNY.js";
10
10
  import "./chunk-BC4GIC2P.js";
11
11
  import {
12
12
  SPRING_GLIDE
13
- } from "./chunk-VF3NJAD6.js";
13
+ } from "./chunk-EUWNVEIC.js";
14
14
  import {
15
15
  m
16
- } from "./chunk-JT53AAM5.js";
16
+ } from "./chunk-E4YWFQX5.js";
17
17
  import "./chunk-GDPICT5Q.js";
18
18
  import "./chunk-FB3UHLLN.js";
19
19
  import {
@@ -29,7 +29,7 @@ import "./chunk-F5DJQ3PQ.js";
29
29
  import "./chunk-NXAVRSI5.js";
30
30
  import "./chunk-CZ7CSFO4.js";
31
31
 
32
- // web/app/dist/server/assets/model-selector-list-q6WkkOwQ.js
32
+ // web/app/dist/server/assets/model-selector-list-BOKU5_Z3.js
33
33
  import { useId, useMemo, useState } from "react";
34
34
  import { jsx, jsxs } from "react/jsx-runtime";
35
35
  function clamp(value, min, max) {
@@ -2,14 +2,14 @@ import {
2
2
  GenerativeTextRenderer,
3
3
  OpenUIHtmlArtifactView,
4
4
  openui_renderer_exports
5
- } from "./chunk-MM4HQ5EO.js";
6
- import "./chunk-KUBURZOL.js";
7
- import "./chunk-44MTKAFZ.js";
5
+ } from "./chunk-54UEKLGD.js";
6
+ import "./chunk-GRGV5FVO.js";
7
+ import "./chunk-XJHYJLGU.js";
8
8
  import "./chunk-WTYNN6EV.js";
9
9
  import "./chunk-BC4GIC2P.js";
10
10
  import "./chunk-HDS3UQL4.js";
11
- import "./chunk-VF3NJAD6.js";
12
- import "./chunk-JT53AAM5.js";
11
+ import "./chunk-EUWNVEIC.js";
12
+ import "./chunk-E4YWFQX5.js";
13
13
  import "./chunk-GDPICT5Q.js";
14
14
  import "./chunk-FB3UHLLN.js";
15
15
  import "./chunk-5AYK2KDO.js";
@@ -2,11 +2,11 @@ import {
2
2
  ResourceChipSection,
3
3
  ResourceNotice,
4
4
  ResourcesSkeleton
5
- } from "./chunk-3VMFSSWK.js";
5
+ } from "./chunk-B4EBMF5J.js";
6
6
  import {
7
7
  getResourceGroups
8
- } from "./chunk-VF3NJAD6.js";
9
- import "./chunk-JT53AAM5.js";
8
+ } from "./chunk-EUWNVEIC.js";
9
+ import "./chunk-E4YWFQX5.js";
10
10
  import "./chunk-GDPICT5Q.js";
11
11
  import "./chunk-FB3UHLLN.js";
12
12
  import {
@@ -19,7 +19,7 @@ import "./chunk-F5DJQ3PQ.js";
19
19
  import "./chunk-NXAVRSI5.js";
20
20
  import "./chunk-CZ7CSFO4.js";
21
21
 
22
- // web/app/dist/server/assets/resources-panel-BKZ0M0RP.js
22
+ // web/app/dist/server/assets/resources-panel-Cnz-X1bx.js
23
23
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
24
24
  function ResourcesPanelContent({ error, loading, resources, workspace }) {
25
25
  const groups = getResourceGroups(resources, workspace);
@@ -7,9 +7,9 @@ import {
7
7
  getRouter,
8
8
  router_exports,
9
9
  validateAndNormalizeOpenUIHtmlArtifact
10
- } from "./chunk-44MTKAFZ.js";
10
+ } from "./chunk-XJHYJLGU.js";
11
11
  import "./chunk-WTYNN6EV.js";
12
- import "./chunk-JT53AAM5.js";
12
+ import "./chunk-E4YWFQX5.js";
13
13
  import "./chunk-FB3UHLLN.js";
14
14
  import "./chunk-5AYK2KDO.js";
15
15
  import "./chunk-OO7NBFQQ.js";
@@ -36,6 +36,7 @@ import {
36
36
  WORKSPACE_SPLIT_HIDDEN_BLOCK,
37
37
  buildAssistantElements,
38
38
  collapsePanel,
39
+ directoryErrorMessage,
39
40
  findWorkspaceNode,
40
41
  formatProviderLabel,
41
42
  getResourceChipTitle,
@@ -53,8 +54,8 @@ import {
53
54
  startHorizontalResize,
54
55
  storeStoredWidth,
55
56
  useHoverCapable
56
- } from "./chunk-VF3NJAD6.js";
57
- import "./chunk-JT53AAM5.js";
57
+ } from "./chunk-EUWNVEIC.js";
58
+ import "./chunk-E4YWFQX5.js";
58
59
  import "./chunk-GDPICT5Q.js";
59
60
  import "./chunk-FB3UHLLN.js";
60
61
  import "./chunk-5AYK2KDO.js";
@@ -65,58 +66,59 @@ import "./chunk-F5DJQ3PQ.js";
65
66
  import "./chunk-NXAVRSI5.js";
66
67
  import "./chunk-CZ7CSFO4.js";
67
68
  export {
68
- DialogTitle as $,
69
- Citations as A,
70
- MessageBubble as B,
71
- RIGHT_PANEL_LAUNCHER_DEFINITIONS as C,
72
- SwapLabel as D,
73
- ShimmerLabel as E,
74
- notify as F,
75
- Select$1 as G,
76
- groupMessages as H,
77
- Message as I,
78
- Dialog$1 as J,
79
- Input$1 as K,
80
- MessageContent as L,
81
- UserMessage as M,
82
- buildAssistantElements as N,
83
- collapsePanel as O,
84
- normalizeAssistantToolParts as P,
85
- DialogHeader as Q,
86
- MessageScroller as R,
87
- pathEntryLabel as S,
88
- rlmStatusIcon as T,
89
- SessionGenerativeTextRenderer as U,
90
- MessageBubbleContent as V,
91
- PromptInput as W,
92
- DialogDescription as X,
93
- DialogContent as Y,
94
- DialogFooter as Z,
69
+ DialogHeader as $,
70
+ mono as A,
71
+ useHoverCapable as B,
72
+ pathEntryLabel as C,
73
+ ShimmerLabel as D,
74
+ rlmStatusIcon as E,
75
+ normalizeAssistantToolParts as F,
76
+ PromptInput as G,
77
+ MessageBubbleContent as H,
78
+ notify as I,
79
+ Label as J,
80
+ Select$1 as K,
81
+ Message as L,
82
+ VirtualizedTurnList as M,
83
+ UserMessage as N,
84
+ SwapLabel as O,
85
+ buildAssistantElements as P,
86
+ DialogFooter as Q,
87
+ MessageContent as R,
88
+ directoryErrorMessage as S,
89
+ orderedRlmChildren as T,
90
+ groupMessages as U,
91
+ MessageBubble as V,
92
+ SessionGenerativeTextRenderer as W,
93
+ DialogContent as X,
94
+ Dialog$1 as Y,
95
+ DialogDescription as Z,
95
96
  AlertDialogCancel as _,
96
97
  readStoredWidth as a,
97
98
  AlertDialogFooter as b,
98
99
  findWorkspaceNode as c,
99
100
  SplitComponent as component,
100
101
  resourceKey as d,
102
+ DialogTitle as et,
101
103
  formatProviderLabel as f,
102
104
  AlertDialogAction as g,
103
105
  AlertDialog$1 as h,
104
106
  startHorizontalResize as i,
105
- VirtualizedTurnList as j,
106
- mono as k,
107
+ Citations as j,
108
+ collapsePanel as k,
107
109
  getResourceChipTitle as l,
108
110
  PROVIDER_METADATA as m,
109
111
  WORKSPACE_SPLIT_GAP_RESET as n,
110
112
  storeStoredWidth as o,
111
113
  ProviderBrandIcon as p,
112
- Label as q,
114
+ Input$1 as q,
113
115
  WORKSPACE_SPLIT_HIDDEN_BLOCK as r,
114
116
  SharedLayoutBg as s,
115
117
  routes_exports as t,
116
118
  getResourceGroups as u,
117
119
  AlertDialogContent as v,
118
- orderedRlmChildren as w,
120
+ RIGHT_PANEL_LAUNCHER_DEFINITIONS as w,
119
121
  AlertDialogTitle as x,
120
122
  AlertDialogDescription as y,
121
- useHoverCapable as z
123
+ MessageScroller as z
122
124
  };
@@ -2024,7 +2024,7 @@ function getResponse() {
2024
2024
  }
2025
2025
  var HEADERS = { TSS_SHELL: "X-TSS_SHELL" };
2026
2026
  async function getStartManifest(matchedRoutes) {
2027
- const { tsrStartManifest } = await import("./_tanstack-start-manifest_v-MhCuqEzO-S6MEB7L5.js");
2027
+ const { tsrStartManifest } = await import("./_tanstack-start-manifest_v-vL58CVrY-7SDCWIHD.js");
2028
2028
  const startManifest = tsrStartManifest();
2029
2029
  let routes = startManifest.routes;
2030
2030
  routes[rootRouteId];
@@ -4982,7 +4982,7 @@ var getBaseManifest = getProdBaseManifest;
4982
4982
  var createEarlyHintsForRequest = createEarlyHintsCollector;
4983
4983
  async function loadEntries() {
4984
4984
  const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
4985
- import("./router-BfuEp_JW-DNQ33L5J.js").then((n) => n.t),
4985
+ import("./router-C437aaqv-72HBLLJI.js").then((n) => n.t),
4986
4986
  import("./start-QK6aG02q-EMREW2SB.js"),
4987
4987
  import("./empty-plugin-adapters-Cqtvkauv-ILKI7W7V.js")
4988
4988
  ]);
@@ -5,13 +5,13 @@ import {
5
5
  Collapsible$1,
6
6
  CollapsibleContent,
7
7
  CollapsibleTrigger
8
- } from "./chunk-RQHQK66C.js";
8
+ } from "./chunk-D7GSWBRI.js";
9
9
  import {
10
10
  ShimmerLabel,
11
11
  SwapLabel,
12
12
  collapsePanel
13
- } from "./chunk-VF3NJAD6.js";
14
- import "./chunk-JT53AAM5.js";
13
+ } from "./chunk-EUWNVEIC.js";
14
+ import "./chunk-E4YWFQX5.js";
15
15
  import "./chunk-GDPICT5Q.js";
16
16
  import "./chunk-FB3UHLLN.js";
17
17
  import {
@@ -26,7 +26,7 @@ import "./chunk-F5DJQ3PQ.js";
26
26
  import "./chunk-NXAVRSI5.js";
27
27
  import "./chunk-CZ7CSFO4.js";
28
28
 
29
- // web/app/dist/server/assets/session-reasoning-panel-Dc-AnjdD.js
29
+ // web/app/dist/server/assets/session-reasoning-panel-2_TR5nKM.js
30
30
  import { useMemo, useState } from "react";
31
31
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
32
32
  var CELL_SHAPES = {