@aiderdesk/aiderdesk 0.85.0 → 0.86.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 (106) hide show
  1. package/out/renderer/assets/{AgentSettings-BMP3UKWz.js → AgentSettings-DNCfHIet.js} +640 -645
  2. package/out/renderer/assets/{InfoIcon-BTcW3DwS.js → InfoIcon-D31O9lX8.js} +1 -1
  3. package/out/renderer/assets/{Onboarding-BvHhiBYv.js → Onboarding-BLxcv0-F.js} +253 -65
  4. package/out/renderer/assets/{ProviderHeader-BwWOiRGh.js → ProviderHeader-B69VRyg8.js} +2 -2
  5. package/out/renderer/assets/{SettingsPage-BaAI8Tx-.js → SettingsPage-xDs5xI4m.js} +1410 -1138
  6. package/out/renderer/assets/{UsageDashboard-Bo0daoZs.js → UsageDashboard-BoxJfYvQ.js} +3 -3
  7. package/out/renderer/assets/{abnfDiagram-N423BO3Z-CbkNxaQL.js → abnfDiagram-N423BO3Z-COhv9Hty.js} +4 -4
  8. package/out/renderer/assets/{arc-BM6sCwHP.js → arc-ChAG3A8T.js} +1 -1
  9. package/out/renderer/assets/{architectureDiagram-T3A2C74G-CfJJQtgN.js → architectureDiagram-T3A2C74G-v-Gy1mx4.js} +3 -3
  10. package/out/renderer/assets/{blockDiagram-VBNYF7ZC-3vcClamu.js → blockDiagram-VBNYF7ZC-DC1Ru6LO.js} +4 -4
  11. package/out/renderer/assets/{c4Diagram-5PPSVZJV-CkseLJ2n.js → c4Diagram-5PPSVZJV-BMAkTlLz.js} +2 -2
  12. package/out/renderer/assets/{channel-gPAI1wIH.js → channel-BFCY6LS1.js} +1 -1
  13. package/out/renderer/assets/{chunk-2GRJ4B5K-CxcjeFJR.js → chunk-2GRJ4B5K-jKg0hZo_.js} +1 -1
  14. package/out/renderer/assets/{chunk-2Q5K7J3B-BFTeoE2E.js → chunk-2Q5K7J3B-Dw0z5l3R.js} +1 -1
  15. package/out/renderer/assets/{chunk-5RXB4S5H-g5htmVuv.js → chunk-5RXB4S5H-Cdc7tu5-.js} +5 -5
  16. package/out/renderer/assets/{chunk-5VM5RSS4-DywF2hnK.js → chunk-5VM5RSS4-CWQ73YkP.js} +1 -1
  17. package/out/renderer/assets/{chunk-6Q2QTUOP-DCZFeOtw.js → chunk-6Q2QTUOP-D-t1WLLb.js} +1 -1
  18. package/out/renderer/assets/{chunk-GF5L2VYU-iY9cxh-a.js → chunk-GF5L2VYU-CDp6gqfJ.js} +6 -6
  19. package/out/renderer/assets/{chunk-JWPE2WC7-BimLS0iI.js → chunk-JWPE2WC7-CfO5gpLL.js} +1 -1
  20. package/out/renderer/assets/{chunk-KBJHAD2P-hadsOZPK.js → chunk-KBJHAD2P-BkScKr3A.js} +1 -1
  21. package/out/renderer/assets/{chunk-RYQCIY6F-DKdQGhkz.js → chunk-RYQCIY6F-CYB3cDTI.js} +3 -3
  22. package/out/renderer/assets/{chunk-XXDRQBXY-ZKqkjzLe.js → chunk-XXDRQBXY-w_B_zR63.js} +1 -1
  23. package/out/renderer/assets/{classDiagram-JCYQIIEL-CxXR4NXz.js → classDiagram-JCYQIIEL-BI4r4Fqg.js} +6 -6
  24. package/out/renderer/assets/{classDiagram-v2-OCEON4UE-CxXR4NXz.js → classDiagram-v2-OCEON4UE-BI4r4Fqg.js} +6 -6
  25. package/out/renderer/assets/{cose-bilkent-JH36ORCC-D5HdvM4m.js → cose-bilkent-JH36ORCC-D1IIlY9Q.js} +1 -1
  26. package/out/renderer/assets/{cynefin-VYW2F7L2-zOqg8dXd.js → cynefin-VYW2F7L2-BOEDY7WW.js} +1 -1
  27. package/out/renderer/assets/{cynefinDiagram-MW4NZA55-EiZFpDAu.js → cynefinDiagram-MW4NZA55-Dro9-dx5.js} +3 -3
  28. package/out/renderer/assets/{dagre-VZM6K2ZE-CgPwcwor.js → dagre-VZM6K2ZE-Bh_yRWIx.js} +5 -5
  29. package/out/renderer/assets/{diagram-7IWD3JNH-BVepJy0l.js → diagram-7IWD3JNH-CsBaZiwF.js} +4 -4
  30. package/out/renderer/assets/{diagram-B4RE2ZJO-Vg2clNKC.js → diagram-B4RE2ZJO-C3daSONh.js} +3 -3
  31. package/out/renderer/assets/{diagram-LBJQPF4R-QaITHxO5.js → diagram-LBJQPF4R-dFHJd1va.js} +3 -3
  32. package/out/renderer/assets/{diagram-Q27KOJAE-W8fmOQHS.js → diagram-Q27KOJAE-Bj9M-mCe.js} +4 -4
  33. package/out/renderer/assets/{diagram-UB23O5K3-DP3rMv0T.js → diagram-UB23O5K3-DH4FNVpA.js} +3 -3
  34. package/out/renderer/assets/{ebnfDiagram-BXEA7PRR-DT12edHS.js → ebnfDiagram-BXEA7PRR-DDDzvXo7.js} +4 -4
  35. package/out/renderer/assets/{erDiagram-JOGREHBK-Q44y48fC.js → erDiagram-JOGREHBK-CyswJf6Y.js} +4 -4
  36. package/out/renderer/assets/{flowDiagram-UKHOOZJN-P14Qv90X.js → flowDiagram-UKHOOZJN-BejJUA9m.js} +7 -7
  37. package/out/renderer/assets/{ganttDiagram-PKOTCBZU-C8R9fDlj.js → ganttDiagram-PKOTCBZU-BMXirAez.js} +3 -3
  38. package/out/renderer/assets/{gitGraphDiagram-DS77QQ5N-DIxsa8tB.js → gitGraphDiagram-DS77QQ5N-CmK9meER.js} +4 -4
  39. package/out/renderer/assets/{graph-CEfu_NAV.js → graph-De6kBSwz.js} +1 -1
  40. package/out/renderer/assets/{index-DKsori8n.js → index-5nGX97_n.js} +1 -1
  41. package/out/renderer/assets/{index-Mmy_5U8c.js → index-B13i9L-a.js} +1 -1
  42. package/out/renderer/assets/{index-Bu5qPV73.js → index-B8NBbDZc.js} +2 -2
  43. package/out/renderer/assets/{index-Bgv9-tx2.js → index-BNopg6-P.js} +1 -1
  44. package/out/renderer/assets/{index-BZqMZ3-m.js → index-BRugSFnx.js} +1 -1
  45. package/out/renderer/assets/{index-BFnGhyh1.js → index-BTZ2N9AX.js} +2 -2
  46. package/out/renderer/assets/{index-CwACy46u.js → index-BYIt7bUG.js} +2 -2
  47. package/out/renderer/assets/{index-BaIJ3lxK.js → index-BcCdHmBz.js} +2 -2
  48. package/out/renderer/assets/{index-Ci8-ak8w.js → index-C3_Xgqy3.js} +5 -5
  49. package/out/renderer/assets/{index-DUE-Mnj9.js → index-C73sjmNG.js} +2 -2
  50. package/out/renderer/assets/{index-B4JLpCRN.js → index-CBRer8Lx.js} +4 -4
  51. package/out/renderer/assets/{index-C4i_4ut0.css → index-CE54bEbH.css} +69 -29
  52. package/out/renderer/assets/{index-DJNwXhu1.js → index-CH3U7pON.js} +5 -5
  53. package/out/renderer/assets/{index-CLuws-2L.js → index-CM2XTJcj.js} +1 -1
  54. package/out/renderer/assets/{index-CRT0TZcH.js → index-CNPQFbqx.js} +3 -3
  55. package/out/renderer/assets/{index-Dc1kx4Lr.js → index-CVvh8aFe.js} +1 -1
  56. package/out/renderer/assets/{index-BsIjQETq.js → index-CZv6e3dB.js} +2 -2
  57. package/out/renderer/assets/{index-BrmgJvC7.js → index-ClBBpiIi.js} +3464 -2020
  58. package/out/renderer/assets/{index-L9fYkN8h.js → index-CnwJdb8g.js} +2 -2
  59. package/out/renderer/assets/{index-CQd24Tyu.js → index-Cq0XtA0s.js} +3 -3
  60. package/out/renderer/assets/{index-BziZrAuz.js → index-D-aWb5sj.js} +2 -2
  61. package/out/renderer/assets/{index-DnLRUwoh.js → index-DOdSWxE8.js} +5 -5
  62. package/out/renderer/assets/{index-BiXRHgjA.js → index-Dm-n6_yf.js} +1 -1
  63. package/out/renderer/assets/{index-DkHfRxgq.js → index-Dnxm8MsO.js} +5 -5
  64. package/out/renderer/assets/{index-HYV2sreZ.js → index-Dt5IShlS.js} +2 -2
  65. package/out/renderer/assets/{index-CzR7-Vv8.js → index-DtHFmrVj.js} +1 -1
  66. package/out/renderer/assets/{index-DON5PJfy.js → index-DxbvCzFj.js} +5 -5
  67. package/out/renderer/assets/{index-CFwQ6Fc9.js → index-FGZR0u5_.js} +2 -2
  68. package/out/renderer/assets/{index-BMWvQc8E.js → index-KCupym8X.js} +2 -2
  69. package/out/renderer/assets/{index-fhkP3aQy.js → index-NdBaAmqh.js} +3 -3
  70. package/out/renderer/assets/{index-D2bDNwOH.js → index-Ob0Iye6G.js} +2 -2
  71. package/out/renderer/assets/{index-4e1byBan.js → index-tu-L2ez3.js} +5 -5
  72. package/out/renderer/assets/{index-BcYDonHd.js → index-ytUSryEl.js} +1 -1
  73. package/out/renderer/assets/{infoDiagram-6WML65LV-DwyfQVin.js → infoDiagram-6WML65LV-CJ_bfgPj.js} +2 -2
  74. package/out/renderer/assets/{ishikawaDiagram-WSZJBQD7-Bpiz1fZ1.js → ishikawaDiagram-WSZJBQD7-BGYxZV7U.js} +1 -1
  75. package/out/renderer/assets/{journeyDiagram-NVQOT4AX-BxPLIsk9.js → journeyDiagram-NVQOT4AX-C9VEtz9M.js} +4 -4
  76. package/out/renderer/assets/{jsx-dev-runtime-DnZqH0tq.js → jsx-dev-runtime-CVvw7Lui.js} +1 -1
  77. package/out/renderer/assets/{kanban-definition-27J2QSJJ-CRAqvxTb.js → kanban-definition-27J2QSJJ-CqpTeWTO.js} +2 -2
  78. package/out/renderer/assets/{layout-G-3f_IKM.js → layout-BT4QDHme.js} +3 -3
  79. package/out/renderer/assets/{linear-Ba1lxMPN.js → linear-cDJNTf0e.js} +1 -1
  80. package/out/renderer/assets/{map-eBcpU64u.js → map-B0BZTuRA.js} +2 -2
  81. package/out/renderer/assets/{mindmap-definition-FAOFIHXS-ClNPgmlj.js → mindmap-definition-FAOFIHXS-Ckj0jVCr.js} +3 -3
  82. package/out/renderer/assets/{pegDiagram-VL7TDLO6-A_jJGGmL.js → pegDiagram-VL7TDLO6-rLvcNSe-.js} +4 -4
  83. package/out/renderer/assets/{pieDiagram-7S7Q4E2Y-U6UaIKzY.js → pieDiagram-7S7Q4E2Y-3K1Q3zIG.js} +4 -4
  84. package/out/renderer/assets/{quadrantDiagram-CIZ2JOQS-DnNI_5Nb.js → quadrantDiagram-CIZ2JOQS-BzLHSRYz.js} +2 -2
  85. package/out/renderer/assets/{railroadDiagram-AXF67PYL-hCXvOVdo.js → railroadDiagram-AXF67PYL-9seSBgpo.js} +4 -4
  86. package/out/renderer/assets/{requirementDiagram-LRYGKXZP-Dnli1Hq8.js → requirementDiagram-LRYGKXZP-BbaJ0UfS.js} +3 -3
  87. package/out/renderer/assets/{sankeyDiagram-W5VNT64P-DpPHC88x.js → sankeyDiagram-W5VNT64P-BHTaAGE-.js} +1 -1
  88. package/out/renderer/assets/{sequenceDiagram-SI44F4Z6-OG4grSNn.js → sequenceDiagram-SI44F4Z6-D7y2OLM3.js} +3 -3
  89. package/out/renderer/assets/{sizeCapture-X5ZJPWSS-DK1z1pVn.js → sizeCapture-X5ZJPWSS-CgREdbnq.js} +1 -1
  90. package/out/renderer/assets/{stateDiagram-OKZ733FA-BXVYIEda.js → stateDiagram-OKZ733FA-DFbWIezq.js} +8 -8
  91. package/out/renderer/assets/{stateDiagram-v2-UEYNNEHI-B3Mgh1Ip.js → stateDiagram-v2-UEYNNEHI-C-nI26cr.js} +5 -5
  92. package/out/renderer/assets/{swimlanes-SLNWSIFB-BKdeSpak.js → swimlanes-SLNWSIFB-BXRI1Pnm.js} +6 -6
  93. package/out/renderer/assets/{swimlanesDiagram-ULZ7WXOC-BAy00w4m.js → swimlanesDiagram-ULZ7WXOC-WSWuuiUR.js} +7 -7
  94. package/out/renderer/assets/{time-BJgewaFQ.js → time-CXwo_wJv.js} +1 -1
  95. package/out/renderer/assets/{timeline-definition-Z64GVDOM-D5xeNNZ8.js → timeline-definition-Z64GVDOM-CnU3EjRh.js} +2 -2
  96. package/out/renderer/assets/{vennDiagram-T6HMQDX7-D-ixbj5U.js → vennDiagram-T6HMQDX7-Blrnd6yX.js} +1 -1
  97. package/out/renderer/assets/{wardleyDiagram-T6FBY63Y-DMh9eyxI.js → wardleyDiagram-T6FBY63Y-C7R0Xzcz.js} +3 -3
  98. package/out/renderer/assets/{xychartDiagram-ELKLHX3M-B4oWxGQf.js → xychartDiagram-ELKLHX3M-CDK6ikJs.js} +2 -2
  99. package/out/renderer/index.html +2 -2
  100. package/out/resources/skills/extension-creator/SKILL.md +7 -6
  101. package/out/resources/skills/extension-creator/references/event-types.md +26 -0
  102. package/out/resources/skills/extension-creator/references/extension-interface.md +82 -4
  103. package/out/runner.js +429 -249
  104. package/package.json +20 -20
  105. package/patches/ai+7.0.127.patch +29 -0
  106. package/patches/ai+7.0.60.patch +0 -33
@@ -1,4 +1,4 @@
1
- import { c as compilerRuntimeExports, a as clsx, t as twMerge, j as jsxRuntimeExports, F as FaInfoCircle, I as IconButton } from "./index-BrmgJvC7.js";
1
+ import { c as compilerRuntimeExports, a as clsx, t as twMerge, j as jsxRuntimeExports, F as FaInfoCircle, I as IconButton } from "./index-ClBBpiIi.js";
2
2
  const InfoIcon = (t0) => {
3
3
  const $ = compilerRuntimeExports.c(13);
4
4
  const {
@@ -1,7 +1,7 @@
1
- import { c as compilerRuntimeExports, bN as useModelProviders, bO as reactExports, j as jsxRuntimeExports, bP as HiCheck, a as clsx, bQ as useTranslation, bR as useNavigate, bS as useSettingsStore, bT as useSaveSettings, bU as useAgents, bV as Button, bW as HiArrowLeft, bX as HiArrowRight, bY as showErrorNotification, bZ as lodashExports, b_ as showInfoNotification, b$ as ROUTES } from "./index-BrmgJvC7.js";
2
- import { A as AgentSettings, a as AiderSettings, L as LanguageSelector } from "./AgentSettings-BMP3UKWz.js";
3
- import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-BwWOiRGh.js";
4
- import "./InfoIcon-BTcW3DwS.js";
1
+ import { c as compilerRuntimeExports, ci as useModelProviders, cj as reactExports, j as jsxRuntimeExports, ck as useTranslation, cl as HiOutlineCommandLine, a as clsx, cm as HiOutlineCpuChip, cn as HiCheck, co as useNavigate, cp as useSettingsStore, cq as useSaveSettings, cr as useAgents, cs as DEFAULT_AGENT_PROFILE, ct as DEFAULT_PROVIDER_MODELS, cu as Button, cv as HiArrowLeft, cw as HiArrowRight, cx as showErrorNotification, cy as lodashExports, cz as showInfoNotification, cA as ROUTES } from "./index-ClBBpiIi.js";
2
+ import { A as AiderSettings, a as AgentSettings, L as LanguageSelector } from "./AgentSettings-DNCfHIet.js";
3
+ import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-B69VRyg8.js";
4
+ import "./InfoIcon-D31O9lX8.js";
5
5
  const OnboardingProviderSetup = () => {
6
6
  const $ = compilerRuntimeExports.c(21);
7
7
  const {
@@ -120,7 +120,7 @@ const OnboardingProviderSetup = () => {
120
120
  }
121
121
  let t7;
122
122
  if ($[17] !== handleDeleteProfile || $[18] !== providerErrors || $[19] !== providers) {
123
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-6", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ProviderHeader, { providers, providerErrors, selectedProfileIds: t6, onToggleSelect: _temp, onAddProvider: handleAddProvider, onEditProfile: handleEditProfile, onDeleteProfile: handleDeleteProfile }) });
123
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-6", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ProviderHeader, { providers, providerErrors, selectedProfileIds: t6, onToggleSelect: _temp$1, onAddProvider: handleAddProvider, onEditProfile: handleEditProfile, onDeleteProfile: handleDeleteProfile }) });
124
124
  $[17] = handleDeleteProfile;
125
125
  $[18] = providerErrors;
126
126
  $[19] = providers;
@@ -130,7 +130,141 @@ const OnboardingProviderSetup = () => {
130
130
  }
131
131
  return t7;
132
132
  };
133
- function _temp() {
133
+ function _temp$1() {
134
+ }
135
+ const OnboardingPathChoice = (t0) => {
136
+ const $ = compilerRuntimeExports.c(25);
137
+ const {
138
+ selectedPath,
139
+ onSelectPath
140
+ } = t0;
141
+ const {
142
+ t
143
+ } = useTranslation();
144
+ let t1;
145
+ if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
146
+ t1 = /* @__PURE__ */ jsxRuntimeExports.jsx(HiOutlineCpuChip, { className: "w-6 h-6" });
147
+ $[0] = t1;
148
+ } else {
149
+ t1 = $[0];
150
+ }
151
+ let t2;
152
+ let t3;
153
+ let t4;
154
+ let t5;
155
+ let t6;
156
+ if ($[1] !== onSelectPath || $[2] !== selectedPath || $[3] !== t) {
157
+ const options = [{
158
+ path: "agent",
159
+ icon: t1,
160
+ title: t("onboarding.choice.agent.title"),
161
+ subtitle: t("onboarding.choice.agent.subtitle"),
162
+ description: t("onboarding.choice.agent.description"),
163
+ features: [t("onboarding.choice.agent.feature1"), t("onboarding.choice.agent.feature2"), t("onboarding.choice.agent.feature3")],
164
+ modeLabel: t("onboarding.choice.agent.modeLabel")
165
+ }, {
166
+ path: "aider",
167
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(HiOutlineCommandLine, { className: "w-6 h-6" }),
168
+ title: t("onboarding.choice.aider.title"),
169
+ subtitle: t("onboarding.choice.aider.subtitle"),
170
+ description: t("onboarding.choice.aider.description"),
171
+ features: [t("onboarding.choice.aider.feature1"), t("onboarding.choice.aider.feature2"), t("onboarding.choice.aider.feature3")],
172
+ modeLabel: t("onboarding.choice.aider.modeLabel")
173
+ }];
174
+ t4 = "space-y-4";
175
+ let t72;
176
+ if ($[9] !== t) {
177
+ t72 = t("onboarding.choice.title");
178
+ $[9] = t;
179
+ $[10] = t72;
180
+ } else {
181
+ t72 = $[10];
182
+ }
183
+ if ($[11] !== t72) {
184
+ t5 = /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold text-text-primary uppercase", children: t72 });
185
+ $[11] = t72;
186
+ $[12] = t5;
187
+ } else {
188
+ t5 = $[12];
189
+ }
190
+ let t82;
191
+ if ($[13] !== t) {
192
+ t82 = t("onboarding.choice.description");
193
+ $[13] = t;
194
+ $[14] = t82;
195
+ } else {
196
+ t82 = $[14];
197
+ }
198
+ if ($[15] !== t82) {
199
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t82 });
200
+ $[15] = t82;
201
+ $[16] = t6;
202
+ } else {
203
+ t6 = $[16];
204
+ }
205
+ t2 = "grid grid-cols-1 md:grid-cols-2 gap-4 pt-2";
206
+ t3 = options.map((option) => {
207
+ const isSelected = selectedPath === option.path;
208
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { type: "button", onClick: () => onSelectPath(option.path), className: clsx("relative flex flex-col items-start rounded-lg border p-4 text-left transition-colors duration-200", isSelected ? "border-info-light-emphasis bg-info-subtle" : "border-border-default bg-bg-secondary hover:border-border-default-dark"), children: [
209
+ option.path === "agent" && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute top-3 right-3 text-3xs font-semibold uppercase tracking-wide px-2 py-0.5 rounded bg-success-subtle text-success", children: t("onboarding.choice.recommended") }),
210
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: clsx("flex items-center gap-3 mb-3", isSelected ? "text-info-lighter" : "text-text-secondary"), children: [
211
+ option.icon,
212
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
213
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "block font-semibold text-text-primary", children: option.title }),
214
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "block text-3xs text-text-muted uppercase tracking-wide", children: option.subtitle })
215
+ ] })
216
+ ] }),
217
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm text-text-tertiary mb-3", children: option.description }),
218
+ /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "space-y-1.5 mb-4", children: option.features.map(_temp) }),
219
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("mt-auto font-mono text-3xs px-2 py-1 rounded border", isSelected ? "border-info-light-emphasis text-info-lightest" : "border-border-default text-text-muted"), children: option.modeLabel })
220
+ ] }, option.path);
221
+ });
222
+ $[1] = onSelectPath;
223
+ $[2] = selectedPath;
224
+ $[3] = t;
225
+ $[4] = t2;
226
+ $[5] = t3;
227
+ $[6] = t4;
228
+ $[7] = t5;
229
+ $[8] = t6;
230
+ } else {
231
+ t2 = $[4];
232
+ t3 = $[5];
233
+ t4 = $[6];
234
+ t5 = $[7];
235
+ t6 = $[8];
236
+ }
237
+ let t7;
238
+ if ($[17] !== t2 || $[18] !== t3) {
239
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: t2, children: t3 });
240
+ $[17] = t2;
241
+ $[18] = t3;
242
+ $[19] = t7;
243
+ } else {
244
+ t7 = $[19];
245
+ }
246
+ let t8;
247
+ if ($[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7) {
248
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: t4, children: [
249
+ t5,
250
+ t6,
251
+ t7
252
+ ] });
253
+ $[20] = t4;
254
+ $[21] = t5;
255
+ $[22] = t6;
256
+ $[23] = t7;
257
+ $[24] = t8;
258
+ } else {
259
+ t8 = $[24];
260
+ }
261
+ return t8;
262
+ };
263
+ function _temp(feature) {
264
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { className: "relative pl-4 text-xs text-text-secondary", children: [
265
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute left-0 top-[7px] w-1 h-1 rounded-full bg-agent-power-tools" }),
266
+ feature
267
+ ] }, feature);
134
268
  }
135
269
  const OnboardingStepper = (t0) => {
136
270
  const $ = compilerRuntimeExports.c(8);
@@ -203,8 +337,13 @@ const Onboarding = () => {
203
337
  deleteProfile,
204
338
  updateProfilesOrder
205
339
  } = useAgents();
340
+ const {
341
+ providers,
342
+ models
343
+ } = useModelProviders();
206
344
  const [localSettings, setLocalSettings] = reactExports.useState(originalSettings);
207
345
  const [agentProfiles, setAgentProfiles] = reactExports.useState(originalAgentProfiles);
346
+ const [selectedPath, setSelectedPath] = reactExports.useState(null);
208
347
  const [step, setStep] = reactExports.useState(1);
209
348
  const [isNavigating, setIsNavigating] = reactExports.useState(false);
210
349
  const [isSaving, setIsSaving] = reactExports.useState(false);
@@ -216,19 +355,54 @@ const Onboarding = () => {
216
355
  reactExports.useEffect(() => {
217
356
  setAgentProfiles(originalAgentProfiles);
218
357
  }, [originalAgentProfiles]);
358
+ reactExports.useEffect(() => {
359
+ if (providers.length === 0) {
360
+ return;
361
+ }
362
+ setAgentProfiles((prevProfiles) => {
363
+ let changed = false;
364
+ const nextProfiles = prevProfiles.map((profile) => {
365
+ if (profile.id !== DEFAULT_AGENT_PROFILE.id) {
366
+ return profile;
367
+ }
368
+ if (profile.provider !== DEFAULT_AGENT_PROFILE.provider || profile.model !== DEFAULT_AGENT_PROFILE.model) {
369
+ return profile;
370
+ }
371
+ const primaryProvider = providers[0];
372
+ const providerModels = models.filter((model) => model.providerId === primaryProvider.id);
373
+ const defaultModel = DEFAULT_PROVIDER_MODELS[primaryProvider.provider.name] ?? providerModels[0]?.id;
374
+ if (!defaultModel) {
375
+ return profile;
376
+ }
377
+ changed = true;
378
+ return {
379
+ ...profile,
380
+ provider: primaryProvider.provider.name,
381
+ model: defaultModel
382
+ };
383
+ });
384
+ return changed ? nextProfiles : prevProfiles;
385
+ });
386
+ }, [providers, models, originalAgentProfiles]);
387
+ const branchStepTitle = selectedPath === "aider" ? t("onboarding.steps.aider") : selectedPath === "agent" ? t("onboarding.steps.agent") : t("onboarding.steps.configure");
219
388
  const steps = [{
220
389
  title: t("onboarding.steps.welcome")
390
+ }, {
391
+ title: t("onboarding.steps.choosePath")
221
392
  }, {
222
393
  title: t("onboarding.steps.connectModel")
223
394
  }, {
224
- title: t("onboarding.steps.aider")
395
+ title: branchStepTitle
225
396
  }, {
226
- title: t("onboarding.steps.agent")
397
+ title: t("onboarding.steps.finish")
227
398
  }];
228
399
  const handleNext = async () => {
229
400
  if (isNavigating || isSaving) {
230
401
  return;
231
402
  }
403
+ if (step === 2 && !selectedPath) {
404
+ return;
405
+ }
232
406
  try {
233
407
  setIsNavigating(true);
234
408
  if (step < 5) {
@@ -268,6 +442,11 @@ const Onboarding = () => {
268
442
  }
269
443
  await saveSettings({
270
444
  ...localSettings,
445
+ taskSettings: {
446
+ ...localSettings.taskSettings,
447
+ defaultProjectMode: selectedPath === "aider" ? "code" : "agent",
448
+ defaultTaskMode: "last"
449
+ },
271
450
  onboardingFinished: true
272
451
  });
273
452
  try {
@@ -278,13 +457,13 @@ const Onboarding = () => {
278
457
  await deleteProfile(profileId);
279
458
  }
280
459
  }
281
- for (const profile of agentProfiles) {
282
- if (!originalProfileIds.has(profile.id)) {
283
- await createProfile(profile);
460
+ for (const profile_0 of agentProfiles) {
461
+ if (!originalProfileIds.has(profile_0.id)) {
462
+ await createProfile(profile_0);
284
463
  } else {
285
- const originalProfile = originalAgentProfiles.find((p_1) => p_1.id === profile.id);
286
- if (originalProfile && !lodashExports.isEqual(originalProfile, profile)) {
287
- await updateProfile(profile);
464
+ const originalProfile = originalAgentProfiles.find((p_1) => p_1.id === profile_0.id);
465
+ if (originalProfile && !lodashExports.isEqual(originalProfile, profile_0)) {
466
+ await updateProfile(profile_0);
288
467
  }
289
468
  }
290
469
  }
@@ -311,6 +490,9 @@ const Onboarding = () => {
311
490
  setLocalSettings(newSettings);
312
491
  await saveSettings(newSettings);
313
492
  }, [localSettings, saveSettings]);
493
+ const handleSelectPath = (path) => {
494
+ setSelectedPath(path);
495
+ };
314
496
  const renderStep = () => {
315
497
  switch (step) {
316
498
  case 1:
@@ -328,6 +510,8 @@ const Onboarding = () => {
328
510
  /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t("onboarding.getStarted") })
329
511
  ] });
330
512
  case 2:
513
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(OnboardingPathChoice, { selectedPath, onSelectPath: handleSelectPath });
514
+ case 3:
331
515
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
332
516
  /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold text-text-primary uppercase", children: t("onboarding.providers.connectTitle") }),
333
517
  /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t("onboarding.providers.connectDescription") }),
@@ -335,78 +519,82 @@ const Onboarding = () => {
335
519
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-center mt-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: handleNext, disabled: isNavigating || isSaving, className: "text-sm text-text-muted-light hover:text-text-secondary underline transition-colors duration-200", children: t("onboarding.skipForNow") }) }),
336
520
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-3 bg-info-subtle rounded-lg border border-info-light-emphasis", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-info-lightest", children: t("onboarding.providers.setupLater") }) })
337
521
  ] });
338
- case 3:
339
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-6", children: [
340
- /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold text-text-primary uppercase !mb-4", children: t("onboarding.aider.fineTuneTitle") }),
341
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-3 bg-info-subtle rounded-lg border border-info-light-emphasis", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-info-lightest", children: t("onboarding.aider.fineTuneNote") }) }),
342
- /* @__PURE__ */ jsxRuntimeExports.jsx(AiderSettings, { settings: localSettings, setSettings: setLocalSettings, initialShowEnvVars: true })
343
- ] });
344
522
  case 4:
523
+ if (selectedPath === "aider") {
524
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-6", children: [
525
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold text-text-primary uppercase !mb-4", children: t("onboarding.aider.fineTuneTitle") }),
526
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-3 bg-info-subtle rounded-lg border border-info-light-emphasis", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-info-lightest", children: t("onboarding.aider.fineTuneNote") }) }),
527
+ /* @__PURE__ */ jsxRuntimeExports.jsx(AiderSettings, { settings: localSettings, setSettings: setLocalSettings, initialShowEnvVars: true }),
528
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-3 bg-info-subtle rounded-lg border border-info-light-emphasis", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-info-lightest", children: t("onboarding.aider.agentSwitchNote") }) })
529
+ ] });
530
+ }
345
531
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-6", children: [
346
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "", children: [
347
- /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold text-text-primary uppercase", children: t("onboarding.agent.title") }),
348
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm mt-2", children: t("onboarding.agent.description") })
532
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
533
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold text-text-primary uppercase", children: t("onboarding.agent.configureTitle") }),
534
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm mt-2", children: t("onboarding.agent.configureDescription") })
349
535
  ] }),
350
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
351
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-lg font-semibold text-text-primary", children: t("onboarding.agent.capabilities") }),
352
- /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", { className: "space-y-3", children: [
353
- /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { className: "flex items-start space-x-3", children: [
354
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-2 h-2 bg-info-lighter rounded-full mt-2 flex-shrink-0" }),
355
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
356
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-text-primary font-medium", children: t("onboarding.agent.autonomousPlanning") }),
357
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t("onboarding.agent.autonomousPlanningDesc") })
358
- ] })
359
- ] }),
360
- /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { className: "flex items-start space-x-3", children: [
361
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-2 h-2 bg-success-light rounded-full mt-2 flex-shrink-0" }),
362
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
363
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-text-primary font-medium", children: t("onboarding.agent.toolUse") }),
364
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t("onboarding.agent.toolUseDesc") })
365
- ] })
366
- ] }),
367
- /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { className: "flex items-start space-x-3", children: [
368
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-2 h-2 bg-agent-power-tools rounded-full mt-2 flex-shrink-0" }),
369
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
370
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-text-primary font-medium", children: t("onboarding.agent.extensible") }),
371
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t("onboarding.agent.extensibleDesc") })
372
- ] })
373
- ] })
536
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-3", children: [
537
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-3 bg-bg-secondary rounded-lg border border-border-default", children: [
538
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm font-medium text-text-primary", children: t("onboarding.agent.autonomousPlanning") }),
539
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-text-tertiary mt-1", children: t("onboarding.agent.autonomousPlanningDesc") })
540
+ ] }),
541
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-3 bg-bg-secondary rounded-lg border border-border-default", children: [
542
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm font-medium text-text-primary", children: t("onboarding.agent.toolUse") }),
543
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-text-tertiary mt-1", children: t("onboarding.agent.toolUseDesc") })
544
+ ] }),
545
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-3 bg-bg-secondary rounded-lg border border-border-default", children: [
546
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm font-medium text-text-primary", children: t("onboarding.agent.extensible") }),
547
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-text-tertiary mt-1", children: t("onboarding.agent.extensibleDesc") })
374
548
  ] })
375
549
  ] }),
376
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col items-center space-y-5 pt-4", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { onClick: handleNext, className: "gap-2", disabled: isNavigating || isSaving, size: "sm", color: "secondary", children: [
377
- isNavigating ? t("common.loading") : t("onboarding.agent.configureAgent"),
378
- !isNavigating && /* @__PURE__ */ jsxRuntimeExports.jsx(HiArrowRight, { className: "w-4 h-4" })
379
- ] }) })
550
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "border border-border-default rounded-lg overflow-hidden h-[600px]", children: /* @__PURE__ */ jsxRuntimeExports.jsx(AgentSettings, { settings: localSettings, setSettings: setLocalSettings, agentProfiles, setAgentProfiles }) })
380
551
  ] });
381
552
  case 5:
382
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
383
- /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold text-text-primary uppercase", children: t("onboarding.agent.configureTitle") }),
384
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t("onboarding.agent.configureDescription") }),
385
- /* @__PURE__ */ jsxRuntimeExports.jsx(AgentSettings, { settings: localSettings, setSettings: setLocalSettings, agentProfiles, setAgentProfiles })
386
- ] });
387
- case 6:
388
553
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
389
554
  /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-xl font-bold text-text-primary uppercase", children: t("onboarding.complete.title") }),
390
555
  /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t("onboarding.complete.description") }),
391
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t("onboarding.complete.ready") })
556
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-text-tertiary text-sm", children: t("onboarding.complete.ready") }),
557
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-3 bg-success-subtle rounded-lg border border-success-emphasis", children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-success-light", children: t("onboarding.complete.mode", {
558
+ mode: selectedPath === "aider" ? t("onboarding.complete.modeCode") : t("onboarding.complete.modeAgent")
559
+ }) }) }),
560
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-3 pt-2", children: [
561
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
562
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-sm font-semibold text-text-primary", children: t("onboarding.complete.customizeTitle") }),
563
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-text-tertiary mt-1", children: t("onboarding.complete.customizeDescription") })
564
+ ] }),
565
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-3", children: [
566
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-3 bg-bg-secondary rounded-lg border border-border-default", children: [
567
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs font-medium text-text-primary", children: t("onboarding.complete.general.title") }),
568
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-text-tertiary mt-1", children: t("onboarding.complete.general.description") })
569
+ ] }),
570
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-3 bg-bg-secondary rounded-lg border border-border-default", children: [
571
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs font-medium text-text-primary", children: t("onboarding.complete.mcp.title") }),
572
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-text-tertiary mt-1", children: t("onboarding.complete.mcp.description") })
573
+ ] }),
574
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-3 bg-bg-secondary rounded-lg border border-border-default", children: [
575
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs font-medium text-text-primary", children: t("onboarding.complete.tasks.title") }),
576
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-text-tertiary mt-1", children: t("onboarding.complete.tasks.description") })
577
+ ] })
578
+ ] })
579
+ ] })
392
580
  ] });
393
581
  default:
394
582
  return null;
395
583
  }
396
584
  };
397
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col h-full p-[4px] bg-bg-primary-light", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col flex-1 border-2 border-border-default relative overflow-y-auto scrollbar-thin scrollbar-track-bg-secondary scrollbar-thumb-bg-tertiary hover:scrollbar-thumb-bg-fourth", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 flex flex-col justify-center items-center p-4", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "max-w-3xl w-full", children: [
398
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-8", children: /* @__PURE__ */ jsxRuntimeExports.jsx(OnboardingStepper, { steps, currentStep: step === 5 ? 4 : step }) }),
585
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col h-full p-[4px] bg-bg-primary-light", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col flex-1 border-2 border-border-default relative overflow-y-auto scrollbar-thin scrollbar-track-bg-secondary scrollbar-thumb-bg-tertiary hover:scrollbar-thumb-bg-fourth", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 flex flex-col justify-center items-center p-4", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("w-full", step === 3 || step === 4 ? "max-w-5xl" : "max-w-3xl"), children: [
586
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-8", children: /* @__PURE__ */ jsxRuntimeExports.jsx(OnboardingStepper, { steps, currentStep: step }) }),
399
587
  renderStep(),
400
588
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-10 flex justify-between", children: [
401
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: step > 1 && /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { onClick: handleBack, variant: "outline", className: "gap-2", disabled: isNavigating || isSaving, children: [
589
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: step > 1 && /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { onClick: handleBack, variant: "text", className: "gap-2", disabled: isNavigating || isSaving, children: [
402
590
  /* @__PURE__ */ jsxRuntimeExports.jsx(HiArrowLeft, { className: "w-4 h-4" }),
403
591
  t("common.back")
404
592
  ] }) }),
405
- step !== 4 && step !== 5 && /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { onClick: handleNext, className: "gap-2", disabled: isNavigating || isSaving, children: [
406
- isNavigating || isSaving ? t("common.loading") : step === 6 ? t("onboarding.finish") : t("common.next"),
407
- !(isNavigating || isSaving) && /* @__PURE__ */ jsxRuntimeExports.jsx(HiArrowRight, { className: "w-4 h-4" })
593
+ step < 5 && /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { onClick: handleNext, className: "gap-2", disabled: isNavigating || isSaving || step === 2 && !selectedPath, children: [
594
+ isNavigating ? t("common.loading") : t("common.next"),
595
+ !isNavigating && /* @__PURE__ */ jsxRuntimeExports.jsx(HiArrowRight, { className: "w-4 h-4" })
408
596
  ] }),
409
- (step === 4 || step === 5) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex gap-3", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: handleFinish, className: "gap-2", disabled: isNavigating || isSaving, children: isSaving ? t("common.loading") : t("onboarding.finish") }) })
597
+ step === 5 && /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: handleFinish, className: "gap-2", disabled: isNavigating || isSaving, children: isSaving ? t("common.loading") : t("onboarding.finish") })
410
598
  ] })
411
599
  ] }) }) }) });
412
600
  };
@@ -1,5 +1,5 @@
1
- import { c as compilerRuntimeExports, bQ as useTranslation, j as jsxRuntimeExports, cR as Checkbox, bO as reactExports, cT as Input, cQ as Select, cU as Slider, cP as ReasoningEffort, cS as Accordion, dk as TextArea, I as IconButton, g9 as FiArrowLeft, ga as AVAILABLE_PROVIDERS, dt as useApi, du as useMcpServers, d0 as Tooltip, F as FaInfoCircle, gb as FaExternalLinkAlt, gc as FaCheck, bV as Button, dE as FaPlus, cO as getDefaultProviderParams, aK as v4, dr as FaTrash, dv as useResponsive, a as clsx, gd as FiMic, d1 as FiEdit2, d4 as FiTrash2, cV as ConfirmDialog, ge as FiCpu, gf as FaExclamationCircle, d6 as FiPlus } from "./index-BrmgJvC7.js";
2
- import { I as InfoIcon } from "./InfoIcon-BTcW3DwS.js";
1
+ import { c as compilerRuntimeExports, ck as useTranslation, j as jsxRuntimeExports, cV as Checkbox, cj as reactExports, cX as Input, cU as Select, cY as Slider, cT as ReasoningEffort, cW as Accordion, dp as TextArea, I as IconButton, gg as FiArrowLeft, gh as AVAILABLE_PROVIDERS, dx as useApi, dy as useMcpServers, d4 as Tooltip, F as FaInfoCircle, gi as FaExternalLinkAlt, gj as FaCheck, cu as Button, dI as FaPlus, cS as getDefaultProviderParams, aK as v4, dv as FaTrash, dz as useResponsive, a as clsx, gk as FiMic, d5 as FiEdit2, d8 as FiTrash2, cZ as ConfirmDialog, gl as FiCpu, gm as FaExclamationCircle, da as FiPlus } from "./index-ClBBpiIi.js";
2
+ import { I as InfoIcon } from "./InfoIcon-D31O9lX8.js";
3
3
  const DisableStreaming = (t0) => {
4
4
  const $ = compilerRuntimeExports.c(13);
5
5
  const {