@aiderdesk/aiderdesk 0.79.1 → 0.81.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 (107) hide show
  1. package/out/renderer/assets/{AgentSettings-DlLAuLnM.js → AgentSettings-B_H7Zpgy.js} +403 -360
  2. package/out/renderer/assets/{InfoIcon-C1TeBp5L.js → InfoIcon-D7q9WWkf.js} +1 -1
  3. package/out/renderer/assets/{Onboarding-Dh8FRGur.js → Onboarding-BKjX09cc.js} +4 -4
  4. package/out/renderer/assets/{ProviderHeader-VLzB9p23.js → ProviderHeader-Cs728L-d.js} +888 -524
  5. package/out/renderer/assets/{SettingsPage-B3CLZ8tc.js → SettingsPage-JucARU7D.js} +731 -541
  6. package/out/renderer/assets/{UsageDashboard-D83T3HwC.js → UsageDashboard-DILP_J6x.js} +9 -13
  7. package/out/renderer/assets/{abnfDiagram-N423BO3Z-BRDZM1mW.js → abnfDiagram-N423BO3Z-FwzcDSg0.js} +4 -4
  8. package/out/renderer/assets/{arc-CbzEqNM1.js → arc-BUCbLDDN.js} +1 -1
  9. package/out/renderer/assets/{architectureDiagram-T3A2C74G-Bvd5Je3R.js → architectureDiagram-T3A2C74G-DwIgf-vu.js} +3 -3
  10. package/out/renderer/assets/{blockDiagram-VBNYF7ZC-C_NaWxTi.js → blockDiagram-VBNYF7ZC-mi-N7mTd.js} +4 -4
  11. package/out/renderer/assets/{c4Diagram-5PPSVZJV-DguNzZCo.js → c4Diagram-5PPSVZJV-DwdgAnsC.js} +2 -2
  12. package/out/renderer/assets/{channel-Cnrvb6bA.js → channel-FZb5X6MG.js} +1 -1
  13. package/out/renderer/assets/{chunk-2GRJ4B5K-r99iLppH.js → chunk-2GRJ4B5K-94IZD4IQ.js} +1 -1
  14. package/out/renderer/assets/{chunk-2Q5K7J3B-C3uutlD6.js → chunk-2Q5K7J3B-KWOSRYgu.js} +1 -1
  15. package/out/renderer/assets/{chunk-5RXB4S5H-CR6Mx5Iz.js → chunk-5RXB4S5H-B1lEzoZd.js} +4 -4
  16. package/out/renderer/assets/{chunk-5VM5RSS4-X7PVl-ef.js → chunk-5VM5RSS4-DU4fVgUS.js} +1 -1
  17. package/out/renderer/assets/{chunk-6Q2QTUOP-JehvOsAC.js → chunk-6Q2QTUOP-CfXk4iDZ.js} +1 -1
  18. package/out/renderer/assets/{chunk-GF5L2VYU-B3ppa4PP.js → chunk-GF5L2VYU-CQNT5-FI.js} +5 -5
  19. package/out/renderer/assets/{chunk-JWPE2WC7-CFZRPI77.js → chunk-JWPE2WC7-BD4AfUn4.js} +1 -1
  20. package/out/renderer/assets/{chunk-KBJHAD2P-BBjc6zok.js → chunk-KBJHAD2P-DHAVKPli.js} +1 -1
  21. package/out/renderer/assets/{chunk-RYQCIY6F-BZvHC_mQ.js → chunk-RYQCIY6F-CVVFEloA.js} +3 -3
  22. package/out/renderer/assets/{chunk-XXDRQBXY-Ck-RRkxC.js → chunk-XXDRQBXY-D2JNzJXq.js} +1 -1
  23. package/out/renderer/assets/{classDiagram-JCYQIIEL-NNfXWT4B.js → classDiagram-JCYQIIEL-7W7lot8b.js} +6 -6
  24. package/out/renderer/assets/{classDiagram-v2-OCEON4UE-NNfXWT4B.js → classDiagram-v2-OCEON4UE-7W7lot8b.js} +6 -6
  25. package/out/renderer/assets/{cose-bilkent-JH36ORCC-CViVoXgl.js → cose-bilkent-JH36ORCC-CZMhh5W9.js} +1 -1
  26. package/out/renderer/assets/{cynefin-VYW2F7L2-DX5D0uIU.js → cynefin-VYW2F7L2-x-xDxroP.js} +1 -1
  27. package/out/renderer/assets/{cynefinDiagram-MW4NZA55-Cp2wCsOt.js → cynefinDiagram-MW4NZA55-B41JtjtO.js} +3 -3
  28. package/out/renderer/assets/{dagre-VZM6K2ZE-eNIYYO0O.js → dagre-VZM6K2ZE-Dj-zvUXp.js} +5 -5
  29. package/out/renderer/assets/{diagram-7IWD3JNH-Bg1vGWhI.js → diagram-7IWD3JNH-CFaAve_t.js} +4 -4
  30. package/out/renderer/assets/{diagram-B4RE2ZJO-D_JxirT4.js → diagram-B4RE2ZJO-Dlv48H7Y.js} +3 -3
  31. package/out/renderer/assets/{diagram-LBJQPF4R-LQpr0xek.js → diagram-LBJQPF4R-BucHVRed.js} +3 -3
  32. package/out/renderer/assets/{diagram-Q27KOJAE-BL-MLj4m.js → diagram-Q27KOJAE-B611lqWJ.js} +4 -4
  33. package/out/renderer/assets/{diagram-UB23O5K3-BlUt9ZmL.js → diagram-UB23O5K3-CLoEDYB7.js} +3 -3
  34. package/out/renderer/assets/{ebnfDiagram-BXEA7PRR-BGckdM6s.js → ebnfDiagram-BXEA7PRR-jrXkTnrz.js} +4 -4
  35. package/out/renderer/assets/{erDiagram-JOGREHBK-DmWOmMZk.js → erDiagram-JOGREHBK-03zjLqsa.js} +4 -4
  36. package/out/renderer/assets/{flowDiagram-UKHOOZJN-lOEUIjdB.js → flowDiagram-UKHOOZJN-Bp2wNUMb.js} +6 -6
  37. package/out/renderer/assets/{ganttDiagram-PKOTCBZU-CZtmjxYB.js → ganttDiagram-PKOTCBZU-D43jD8yv.js} +3 -3
  38. package/out/renderer/assets/{gitGraphDiagram-DS77QQ5N-DE5y9iux.js → gitGraphDiagram-DS77QQ5N-BnRYgTHV.js} +4 -4
  39. package/out/renderer/assets/{graph-DSMw-VBh.js → graph-Cc2_HGX0.js} +1 -1
  40. package/out/renderer/assets/{index-ebiHDnXl.js → index-6f-oeIlk.js} +2 -2
  41. package/out/renderer/assets/{index-Buw1KWG-.js → index-B1FCOdrT.js} +1 -1
  42. package/out/renderer/assets/{index-DDiIQL3b.js → index-B1zpIvcm.js} +3 -3
  43. package/out/renderer/assets/{index-mytNi5ms.js → index-B7u0PpZD.js} +1 -1
  44. package/out/renderer/assets/{index-B-wIGFrM.js → index-BAmWP-pk.js} +1 -1
  45. package/out/renderer/assets/{index-OJ1PmhTm.js → index-BD3e_Ot8.js} +2 -2
  46. package/out/renderer/assets/{index-DZze20ab.js → index-BDNv0FnP.js} +2 -2
  47. package/out/renderer/assets/{index-ChixxdQV.js → index-BlIAKIdk.js} +2 -2
  48. package/out/renderer/assets/{index-BfqM1vG3.js → index-BsROeHY9.js} +1 -1
  49. package/out/renderer/assets/{index-UQ28Qgl7.js → index-BshLKdRe.js} +5 -5
  50. package/out/renderer/assets/{index--__lgq6v.js → index-C1CZtLbF.js} +1 -1
  51. package/out/renderer/assets/{index-Bjy__dpB.js → index-C5ukVhTq.js} +2 -2
  52. package/out/renderer/assets/{index-vAx0mdd8.js → index-C9gITpjJ.js} +4 -4
  53. package/out/renderer/assets/{index-MDUSPmtz.js → index-CDQDyOcK.js} +5 -5
  54. package/out/renderer/assets/{index-Dgmvrciv.js → index-CIU9ZkBS.js} +3 -3
  55. package/out/renderer/assets/{index-qfaXmy0Y.js → index-CKmzZHZf.js} +1 -1
  56. package/out/renderer/assets/{index-Brdnttud.js → index-CLpvp3hq.js} +2 -2
  57. package/out/renderer/assets/{index-CgczHs0-.js → index-CRXUdV-u.js} +96 -3
  58. package/out/renderer/assets/{index-DMzzmyZE.js → index-CqrtPgJE.js} +2233 -1739
  59. package/out/renderer/assets/{index-BZaWk11Q.js → index-D3uMH-q1.js} +1 -1
  60. package/out/renderer/assets/{index-CZCIyO4U.js → index-D8TTB4-r.js} +5 -5
  61. package/out/renderer/assets/{index-DH7BFHAa.css → index-D98qpStd.css} +41 -14
  62. package/out/renderer/assets/{index-DD6bNfA0.js → index-DJFjmSQJ.js} +5 -5
  63. package/out/renderer/assets/{index-BDYZfF3J.js → index-DTGsvPds.js} +2 -2
  64. package/out/renderer/assets/{index-BbLpDvA3.js → index-DVc8XWTX.js} +5 -5
  65. package/out/renderer/assets/{index-Dz4P0Q9P.js → index-DvZhzJfh.js} +2 -2
  66. package/out/renderer/assets/{index-BRDlnXGV.js → index-Kj4O6jrs.js} +2 -2
  67. package/out/renderer/assets/{index-D4xEcHbg.js → index-KleIXLpB.js} +2 -2
  68. package/out/renderer/assets/{index-1JC2_Wd3.js → index-LF-blgre.js} +2 -2
  69. package/out/renderer/assets/{index-u_V0DpfA.js → index-RmenzFuK.js} +5 -5
  70. package/out/renderer/assets/{index-Cwqf0NbI.js → index-StlvWzAQ.js} +2 -2
  71. package/out/renderer/assets/{index-DMAjk3_P.js → index-aEJRypjl.js} +1 -1
  72. package/out/renderer/assets/{index-tUvIVnIS.js → index-cIujfEiH.js} +1 -1
  73. package/out/renderer/assets/{infoDiagram-6WML65LV-DM7_nqt3.js → infoDiagram-6WML65LV-BZrdglKf.js} +2 -2
  74. package/out/renderer/assets/{ishikawaDiagram-WSZJBQD7-DrWSKswv.js → ishikawaDiagram-WSZJBQD7-M3-Bx05k.js} +1 -1
  75. package/out/renderer/assets/{journeyDiagram-NVQOT4AX-Csn7KuKV.js → journeyDiagram-NVQOT4AX-OUrdoMWw.js} +4 -4
  76. package/out/renderer/assets/{jsx-dev-runtime-CTchQKOk.js → jsx-dev-runtime-BmYtwnS5.js} +1 -1
  77. package/out/renderer/assets/{kanban-definition-27J2QSJJ-BRXIW-y6.js → kanban-definition-27J2QSJJ-Bp1bLsvM.js} +2 -2
  78. package/out/renderer/assets/{layout-CjgVHH-8.js → layout-DHkE0LRs.js} +3 -3
  79. package/out/renderer/assets/{linear-7N8jztD_.js → linear-CbGhnOuY.js} +1 -1
  80. package/out/renderer/assets/{map-fXOUEC9w.js → map-cIUn-qth.js} +2 -2
  81. package/out/renderer/assets/{mindmap-definition-FAOFIHXS-eH5ANg_6.js → mindmap-definition-FAOFIHXS-Cn4b5kOp.js} +3 -3
  82. package/out/renderer/assets/{pegDiagram-VL7TDLO6-_S1HcQ4v.js → pegDiagram-VL7TDLO6-CVKr1c2L.js} +4 -4
  83. package/out/renderer/assets/{pieDiagram-7S7Q4E2Y-BbkejzGW.js → pieDiagram-7S7Q4E2Y-CWcOq9Qb.js} +4 -4
  84. package/out/renderer/assets/{quadrantDiagram-CIZ2JOQS-C9-OKkJL.js → quadrantDiagram-CIZ2JOQS-P3JVAK0b.js} +2 -2
  85. package/out/renderer/assets/{railroadDiagram-AXF67PYL-9VliFuUM.js → railroadDiagram-AXF67PYL-0ofS2KCh.js} +4 -4
  86. package/out/renderer/assets/{requirementDiagram-LRYGKXZP-Dr0S14Mj.js → requirementDiagram-LRYGKXZP-BKJvTfyp.js} +3 -3
  87. package/out/renderer/assets/{sankeyDiagram-W5VNT64P--k6pZLfZ.js → sankeyDiagram-W5VNT64P-rhaheiUH.js} +1 -1
  88. package/out/renderer/assets/{sequenceDiagram-SI44F4Z6-Bx4rTgvS.js → sequenceDiagram-SI44F4Z6-OYjmpEqz.js} +3 -3
  89. package/out/renderer/assets/{sizeCapture-X5ZJPWSS-BkRX3y1x.js → sizeCapture-X5ZJPWSS-CL0ajR5N.js} +1 -1
  90. package/out/renderer/assets/{stateDiagram-OKZ733FA-VF2TYKH_.js → stateDiagram-OKZ733FA-oiMfVXQn.js} +8 -8
  91. package/out/renderer/assets/{stateDiagram-v2-UEYNNEHI-BodH9nuP.js → stateDiagram-v2-UEYNNEHI-CcFKN2iZ.js} +5 -5
  92. package/out/renderer/assets/{swimlanes-SLNWSIFB-TnShw-0l.js → swimlanes-SLNWSIFB-DVH6NvWT.js} +6 -6
  93. package/out/renderer/assets/{swimlanesDiagram-ULZ7WXOC-CemoGOe8.js → swimlanesDiagram-ULZ7WXOC-CsUQN2E5.js} +7 -7
  94. package/out/renderer/assets/{time-CTB9_khZ.js → time-rV3KZfw-.js} +1 -1
  95. package/out/renderer/assets/{timeline-definition-Z64GVDOM-PQXf9HIJ.js → timeline-definition-Z64GVDOM-E-YDHKWt.js} +2 -2
  96. package/out/renderer/assets/{vennDiagram-T6HMQDX7-Db5aCF6z.js → vennDiagram-T6HMQDX7-2y9Eqtpd.js} +1 -1
  97. package/out/renderer/assets/{wardleyDiagram-T6FBY63Y-DI3Rr8Jy.js → wardleyDiagram-T6FBY63Y-D_iD5USe.js} +3 -3
  98. package/out/renderer/assets/{xychartDiagram-ELKLHX3M-CYptZ7pE.js → xychartDiagram-ELKLHX3M-NFI2AtZ8.js} +2 -2
  99. package/out/renderer/index.html +2 -2
  100. package/out/resources/skills/extension-creator/SKILL.md +46 -0
  101. package/out/resources/skills/extension-creator/assets/scripts/validate-extension-ui.mjs +479 -0
  102. package/out/resources/skills/extension-creator/references/extension-interface.md +8 -0
  103. package/out/resources/skills/extension-creator/references/in-repo-flow.md +1 -0
  104. package/out/resources/skills/extension-creator/references/project-global-flow.md +2 -1
  105. package/out/resources/skills/extension-creator/references/ui-components.md +21 -0
  106. package/out/runner.js +1077 -365
  107. package/package.json +53 -53
@@ -1,5 +1,5 @@
1
- import { c as compilerRuntimeExports, bQ as useTranslation, j as jsxRuntimeExports, cM as Checkbox, bO as reactExports, cO as Input, cL as Select, cP as Slider, cK as ReasoningEffort, cN as Accordion, dk as TextArea, I as IconButton, g0 as FiArrowLeft, g1 as AVAILABLE_PROVIDERS, dt as useApi, du as useMcpServers, cX as Tooltip, F as FaInfoCircle, g2 as FaExternalLinkAlt, g3 as FaCheck, bV as Button, dy as FaPlus, cJ as getDefaultProviderParams, bb as v4, dr as FaTrash, g4 as useResponsive, a as clsx, g5 as FiMic, cY as FiEdit2, c$ as FiTrash2, cQ as ConfirmDialog, g6 as FiCpu, g7 as FaExclamationCircle, d1 as FiPlus } from "./index-DMzzmyZE.js";
2
- import { I as InfoIcon } from "./InfoIcon-C1TeBp5L.js";
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, bb 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-CqrtPgJE.js";
2
+ import { I as InfoIcon } from "./InfoIcon-D7q9WWkf.js";
3
3
  const DisableStreaming = (t0) => {
4
4
  const $ = compilerRuntimeExports.c(13);
5
5
  const {
@@ -3951,6 +3951,79 @@ const OpenCodeIcon = (t0) => {
3951
3951
  }
3952
3952
  return t12;
3953
3953
  };
3954
+ const OpenCodeGoIcon = (t0) => {
3955
+ const $ = compilerRuntimeExports.c(14);
3956
+ const {
3957
+ width: t1,
3958
+ height: t2,
3959
+ className
3960
+ } = t0;
3961
+ const width = t1 === void 0 ? 64 : t1;
3962
+ const height = t2 === void 0 ? 64 : t2;
3963
+ const t3 = `flex items-center justify-center rounded-md ${className || ""}`;
3964
+ const t4 = `${height}px`;
3965
+ const t5 = `${width}px`;
3966
+ let t6;
3967
+ if ($[0] !== t4 || $[1] !== t5) {
3968
+ t6 = {
3969
+ backgroundColor: "#131010",
3970
+ color: "rgb(255, 255, 255)",
3971
+ height: t4,
3972
+ width: t5
3973
+ };
3974
+ $[0] = t4;
3975
+ $[1] = t5;
3976
+ $[2] = t6;
3977
+ } else {
3978
+ t6 = $[2];
3979
+ }
3980
+ const t7 = width * 0.75;
3981
+ const t8 = width * 0.75 * 0.5555555555555556;
3982
+ let t10;
3983
+ let t11;
3984
+ let t12;
3985
+ let t9;
3986
+ if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
3987
+ t9 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M24 30H0V0H24V6H6V24H18V18H12V12H24V30Z", fill: "currentColor" });
3988
+ t10 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 18H18V24H6V12H12V18Z", fill: "currentColor", fillOpacity: "0.2" });
3989
+ t11 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M48 12V24H36V12H48Z", fill: "currentColor", fillOpacity: "0.2" });
3990
+ t12 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M54 30H30V0H54V30ZM36 24H48V6H36V24Z", fill: "currentColor" });
3991
+ $[3] = t10;
3992
+ $[4] = t11;
3993
+ $[5] = t12;
3994
+ $[6] = t9;
3995
+ } else {
3996
+ t10 = $[3];
3997
+ t11 = $[4];
3998
+ t12 = $[5];
3999
+ t9 = $[6];
4000
+ }
4001
+ let t13;
4002
+ if ($[7] !== t7 || $[8] !== t8) {
4003
+ t13 = /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: t7, height: t8, viewBox: "0 0 54 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4004
+ t9,
4005
+ t10,
4006
+ t11,
4007
+ t12
4008
+ ] });
4009
+ $[7] = t7;
4010
+ $[8] = t8;
4011
+ $[9] = t13;
4012
+ } else {
4013
+ t13 = $[9];
4014
+ }
4015
+ let t14;
4016
+ if ($[10] !== t13 || $[11] !== t3 || $[12] !== t6) {
4017
+ t14 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-label": "OpenCode Go", className: t3, style: t6, children: t13 });
4018
+ $[10] = t13;
4019
+ $[11] = t3;
4020
+ $[12] = t6;
4021
+ $[13] = t14;
4022
+ } else {
4023
+ t14 = $[13];
4024
+ }
4025
+ return t14;
4026
+ };
3954
4027
  const OpenRouterIcon = (t0) => {
3955
4028
  const $ = compilerRuntimeExports.c(12);
3956
4029
  const {
@@ -4349,6 +4422,7 @@ const PROVIDER_ICON_MAP$1 = {
4349
4422
  openai: OpenAiIcon,
4350
4423
  "openai-compatible": OpenAiCompatibleIcon,
4351
4424
  opencode: OpenCodeIcon,
4425
+ "opencode-go": OpenCodeGoIcon,
4352
4426
  openrouter: OpenRouterIcon,
4353
4427
  requesty: RequestyIcon,
4354
4428
  synthetic: SyntheticIcon,
@@ -5369,7 +5443,7 @@ const BedrockParameters = (t0) => {
5369
5443
  return t29;
5370
5444
  };
5371
5445
  const ClinePassParameters = (t0) => {
5372
- const $ = compilerRuntimeExports.c(14);
5446
+ const $ = compilerRuntimeExports.c(20);
5373
5447
  const {
5374
5448
  provider,
5375
5449
  onChange
@@ -5397,48 +5471,66 @@ const ClinePassParameters = (t0) => {
5397
5471
  }
5398
5472
  const handleApiKeyChange = t1;
5399
5473
  let t2;
5400
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
5401
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://app.cline.bot", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get ClinePass API key" }) });
5402
- $[3] = t2;
5474
+ if ($[3] !== t) {
5475
+ t2 = t("clinepass.getApiKeyLink");
5476
+ $[3] = t;
5477
+ $[4] = t2;
5403
5478
  } else {
5404
- t2 = $[3];
5479
+ t2 = $[4];
5405
5480
  }
5406
5481
  let t3;
5407
- if ($[4] !== t) {
5408
- t3 = t("clinepass.apiKey");
5409
- $[4] = t;
5410
- $[5] = t3;
5482
+ if ($[5] !== t2) {
5483
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://app.cline.bot", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
5484
+ $[5] = t2;
5485
+ $[6] = t3;
5411
5486
  } else {
5412
- t3 = $[5];
5487
+ t3 = $[6];
5413
5488
  }
5414
5489
  let t4;
5415
- if ($[6] !== clineApiKeyEnv || $[7] !== t) {
5416
- t4 = clineApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
5417
- source: clineApiKeyEnv.source
5418
- }) : t("settings.agent.envVarPlaceholder", {
5419
- envVar: "CLINE_API_KEY"
5420
- });
5421
- $[6] = clineApiKeyEnv;
5490
+ if ($[7] !== t) {
5491
+ t4 = t("clinepass.apiKey");
5422
5492
  $[7] = t;
5423
5493
  $[8] = t4;
5424
5494
  } else {
5425
5495
  t4 = $[8];
5426
5496
  }
5427
5497
  let t5;
5428
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
5429
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
5430
- t2,
5431
- /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 })
5498
+ if ($[9] !== clineApiKeyEnv || $[10] !== t) {
5499
+ t5 = clineApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
5500
+ source: clineApiKeyEnv.source
5501
+ }) : t("settings.agent.envVarPlaceholder", {
5502
+ envVar: "CLINE_API_KEY"
5503
+ });
5504
+ $[9] = clineApiKeyEnv;
5505
+ $[10] = t;
5506
+ $[11] = t5;
5507
+ } else {
5508
+ t5 = $[11];
5509
+ }
5510
+ let t6;
5511
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
5512
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
5513
+ $[12] = apiKey;
5514
+ $[13] = handleApiKeyChange;
5515
+ $[14] = t4;
5516
+ $[15] = t5;
5517
+ $[16] = t6;
5518
+ } else {
5519
+ t6 = $[16];
5520
+ }
5521
+ let t7;
5522
+ if ($[17] !== t3 || $[18] !== t6) {
5523
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
5524
+ t3,
5525
+ t6
5432
5526
  ] });
5433
- $[9] = apiKey;
5434
- $[10] = handleApiKeyChange;
5435
- $[11] = t3;
5436
- $[12] = t4;
5437
- $[13] = t5;
5527
+ $[17] = t3;
5528
+ $[18] = t6;
5529
+ $[19] = t7;
5438
5530
  } else {
5439
- t5 = $[13];
5531
+ t7 = $[19];
5440
5532
  }
5441
- return t5;
5533
+ return t7;
5442
5534
  };
5443
5535
  const DeepseekParameters = (t0) => {
5444
5536
  const $ = compilerRuntimeExports.c(52);
@@ -5767,7 +5859,7 @@ const EnableVoiceControl = (t0) => {
5767
5859
  return t11;
5768
5860
  };
5769
5861
  const GeminiParameters = (t0) => {
5770
- const $ = compilerRuntimeExports.c(41);
5862
+ const $ = compilerRuntimeExports.c(45);
5771
5863
  const {
5772
5864
  provider,
5773
5865
  onChange
@@ -5832,113 +5924,123 @@ const GeminiParameters = (t0) => {
5832
5924
  }
5833
5925
  const handleVoiceEnabledChange = t3;
5834
5926
  let t4;
5835
- if ($[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
5836
- t4 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://makersuite.google.com/app/apikey", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get Gemini API key" }) });
5837
- $[9] = t4;
5927
+ if ($[9] !== t) {
5928
+ t4 = t("gemini.getApiKeyLink");
5929
+ $[9] = t;
5930
+ $[10] = t4;
5838
5931
  } else {
5839
- t4 = $[9];
5932
+ t4 = $[10];
5840
5933
  }
5841
5934
  let t5;
5842
- if ($[10] !== t) {
5843
- t5 = t("gemini.apiKey");
5844
- $[10] = t;
5845
- $[11] = t5;
5935
+ if ($[11] !== t4) {
5936
+ t5 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://makersuite.google.com/app/apikey", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t4 }) });
5937
+ $[11] = t4;
5938
+ $[12] = t5;
5846
5939
  } else {
5847
- t5 = $[11];
5940
+ t5 = $[12];
5848
5941
  }
5849
5942
  let t6;
5850
- if ($[12] !== geminiApiKeyEnv || $[13] !== t) {
5851
- t6 = geminiApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
5852
- source: geminiApiKeyEnv.source
5853
- }) : t("settings.agent.envVarPlaceholder", {
5854
- envVar: "GEMINI_API_KEY"
5855
- });
5856
- $[12] = geminiApiKeyEnv;
5943
+ if ($[13] !== t) {
5944
+ t6 = t("gemini.apiKey");
5857
5945
  $[13] = t;
5858
5946
  $[14] = t6;
5859
5947
  } else {
5860
5948
  t6 = $[14];
5861
5949
  }
5862
5950
  let t7;
5863
- if ($[15] !== apiKey || $[16] !== handleApiKeyChange || $[17] !== t5 || $[18] !== t6) {
5864
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t5, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t6 });
5865
- $[15] = apiKey;
5866
- $[16] = handleApiKeyChange;
5867
- $[17] = t5;
5868
- $[18] = t6;
5869
- $[19] = t7;
5951
+ if ($[15] !== geminiApiKeyEnv || $[16] !== t) {
5952
+ t7 = geminiApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
5953
+ source: geminiApiKeyEnv.source
5954
+ }) : t("settings.agent.envVarPlaceholder", {
5955
+ envVar: "GEMINI_API_KEY"
5956
+ });
5957
+ $[15] = geminiApiKeyEnv;
5958
+ $[16] = t;
5959
+ $[17] = t7;
5870
5960
  } else {
5871
- t7 = $[19];
5961
+ t7 = $[17];
5872
5962
  }
5873
5963
  let t8;
5874
- if ($[20] !== t) {
5875
- t8 = t("gemini.customBaseUrl");
5876
- $[20] = t;
5877
- $[21] = t8;
5964
+ if ($[18] !== apiKey || $[19] !== handleApiKeyChange || $[20] !== t6 || $[21] !== t7) {
5965
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t6, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t7 });
5966
+ $[18] = apiKey;
5967
+ $[19] = handleApiKeyChange;
5968
+ $[20] = t6;
5969
+ $[21] = t7;
5970
+ $[22] = t8;
5878
5971
  } else {
5879
- t8 = $[21];
5972
+ t8 = $[22];
5880
5973
  }
5881
- const t9 = customBaseUrl || "";
5882
- let t10;
5883
- if ($[22] !== geminiBaseUrlEnv || $[23] !== t) {
5884
- t10 = geminiBaseUrlEnv ? t("settings.agent.envVarFoundPlaceholder", {
5885
- source: geminiBaseUrlEnv.source
5886
- }) : t("settings.agent.envVarPlaceholder", {
5887
- envVar: "GEMINI_API_BASE_URL"
5888
- });
5889
- $[22] = geminiBaseUrlEnv;
5974
+ let t9;
5975
+ if ($[23] !== t) {
5976
+ t9 = t("gemini.customBaseUrl");
5890
5977
  $[23] = t;
5891
- $[24] = t10;
5978
+ $[24] = t9;
5892
5979
  } else {
5893
- t10 = $[24];
5980
+ t9 = $[24];
5894
5981
  }
5982
+ const t10 = customBaseUrl || "";
5895
5983
  let t11;
5896
- if ($[25] !== handleCustomBaseUrlChange || $[26] !== t10 || $[27] !== t8 || $[28] !== t9) {
5897
- t11 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t8, value: t9, onChange: handleCustomBaseUrlChange, placeholder: t10 });
5898
- $[25] = handleCustomBaseUrlChange;
5899
- $[26] = t10;
5900
- $[27] = t8;
5901
- $[28] = t9;
5902
- $[29] = t11;
5984
+ if ($[25] !== geminiBaseUrlEnv || $[26] !== t) {
5985
+ t11 = geminiBaseUrlEnv ? t("settings.agent.envVarFoundPlaceholder", {
5986
+ source: geminiBaseUrlEnv.source
5987
+ }) : t("settings.agent.envVarPlaceholder", {
5988
+ envVar: "GEMINI_API_BASE_URL"
5989
+ });
5990
+ $[25] = geminiBaseUrlEnv;
5991
+ $[26] = t;
5992
+ $[27] = t11;
5903
5993
  } else {
5904
- t11 = $[29];
5994
+ t11 = $[27];
5905
5995
  }
5906
5996
  let t12;
5907
- if ($[30] !== onChange || $[31] !== provider) {
5908
- t12 = /* @__PURE__ */ jsxRuntimeExports.jsx(GeminiAdvancedSettings, { provider, onChange });
5909
- $[30] = onChange;
5910
- $[31] = provider;
5997
+ if ($[28] !== handleCustomBaseUrlChange || $[29] !== t10 || $[30] !== t11 || $[31] !== t9) {
5998
+ t12 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t9, value: t10, onChange: handleCustomBaseUrlChange, placeholder: t11 });
5999
+ $[28] = handleCustomBaseUrlChange;
6000
+ $[29] = t10;
6001
+ $[30] = t11;
6002
+ $[31] = t9;
5911
6003
  $[32] = t12;
5912
6004
  } else {
5913
6005
  t12 = $[32];
5914
6006
  }
5915
6007
  let t13;
5916
- if ($[33] !== handleVoiceEnabledChange || $[34] !== voiceEnabled) {
5917
- t13 = /* @__PURE__ */ jsxRuntimeExports.jsx(EnableVoiceControl, { voiceEnabled, onChange: handleVoiceEnabledChange });
5918
- $[33] = handleVoiceEnabledChange;
5919
- $[34] = voiceEnabled;
6008
+ if ($[33] !== onChange || $[34] !== provider) {
6009
+ t13 = /* @__PURE__ */ jsxRuntimeExports.jsx(GeminiAdvancedSettings, { provider, onChange });
6010
+ $[33] = onChange;
6011
+ $[34] = provider;
5920
6012
  $[35] = t13;
5921
6013
  } else {
5922
6014
  t13 = $[35];
5923
6015
  }
5924
6016
  let t14;
5925
- if ($[36] !== t11 || $[37] !== t12 || $[38] !== t13 || $[39] !== t7) {
5926
- t14 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
5927
- t4,
5928
- t7,
5929
- t11,
6017
+ if ($[36] !== handleVoiceEnabledChange || $[37] !== voiceEnabled) {
6018
+ t14 = /* @__PURE__ */ jsxRuntimeExports.jsx(EnableVoiceControl, { voiceEnabled, onChange: handleVoiceEnabledChange });
6019
+ $[36] = handleVoiceEnabledChange;
6020
+ $[37] = voiceEnabled;
6021
+ $[38] = t14;
6022
+ } else {
6023
+ t14 = $[38];
6024
+ }
6025
+ let t15;
6026
+ if ($[39] !== t12 || $[40] !== t13 || $[41] !== t14 || $[42] !== t5 || $[43] !== t8) {
6027
+ t15 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
6028
+ t5,
6029
+ t8,
5930
6030
  t12,
5931
- t13
6031
+ t13,
6032
+ t14
5932
6033
  ] });
5933
- $[36] = t11;
5934
- $[37] = t12;
5935
- $[38] = t13;
5936
- $[39] = t7;
5937
- $[40] = t14;
6034
+ $[39] = t12;
6035
+ $[40] = t13;
6036
+ $[41] = t14;
6037
+ $[42] = t5;
6038
+ $[43] = t8;
6039
+ $[44] = t15;
5938
6040
  } else {
5939
- t14 = $[40];
6041
+ t15 = $[44];
5940
6042
  }
5941
- return t14;
6043
+ return t15;
5942
6044
  };
5943
6045
  const GpustackParameters = (t0) => {
5944
6046
  const $ = compilerRuntimeExports.c(29);
@@ -6064,7 +6166,7 @@ const GpustackParameters = (t0) => {
6064
6166
  return t9;
6065
6167
  };
6066
6168
  const GroqParameters = (t0) => {
6067
- const $ = compilerRuntimeExports.c(14);
6169
+ const $ = compilerRuntimeExports.c(20);
6068
6170
  const {
6069
6171
  provider,
6070
6172
  onChange
@@ -6092,59 +6194,77 @@ const GroqParameters = (t0) => {
6092
6194
  }
6093
6195
  const handleApiKeyChange = t1;
6094
6196
  let t2;
6095
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
6096
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://console.groq.com/keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get Groq API key" }) });
6097
- $[3] = t2;
6197
+ if ($[3] !== t) {
6198
+ t2 = t("groq.getApiKeyLink");
6199
+ $[3] = t;
6200
+ $[4] = t2;
6098
6201
  } else {
6099
- t2 = $[3];
6202
+ t2 = $[4];
6100
6203
  }
6101
6204
  let t3;
6102
- if ($[4] !== t) {
6103
- t3 = t("groq.apiKey");
6104
- $[4] = t;
6105
- $[5] = t3;
6205
+ if ($[5] !== t2) {
6206
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://console.groq.com/keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
6207
+ $[5] = t2;
6208
+ $[6] = t3;
6106
6209
  } else {
6107
- t3 = $[5];
6210
+ t3 = $[6];
6108
6211
  }
6109
6212
  let t4;
6110
- if ($[6] !== groqApiKeyEnv || $[7] !== t) {
6111
- t4 = groqApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6112
- source: groqApiKeyEnv.source
6113
- }) : t("settings.agent.envVarPlaceholder", {
6114
- envVar: "GROQ_API_KEY"
6115
- });
6116
- $[6] = groqApiKeyEnv;
6213
+ if ($[7] !== t) {
6214
+ t4 = t("groq.apiKey");
6117
6215
  $[7] = t;
6118
6216
  $[8] = t4;
6119
6217
  } else {
6120
6218
  t4 = $[8];
6121
6219
  }
6122
6220
  let t5;
6123
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
6124
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6125
- t2,
6126
- /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 })
6127
- ] });
6128
- $[9] = apiKey;
6129
- $[10] = handleApiKeyChange;
6130
- $[11] = t3;
6131
- $[12] = t4;
6132
- $[13] = t5;
6221
+ if ($[9] !== groqApiKeyEnv || $[10] !== t) {
6222
+ t5 = groqApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6223
+ source: groqApiKeyEnv.source
6224
+ }) : t("settings.agent.envVarPlaceholder", {
6225
+ envVar: "GROQ_API_KEY"
6226
+ });
6227
+ $[9] = groqApiKeyEnv;
6228
+ $[10] = t;
6229
+ $[11] = t5;
6133
6230
  } else {
6134
- t5 = $[13];
6231
+ t5 = $[11];
6135
6232
  }
6136
- return t5;
6137
- };
6138
- const AlibabaPlanParameters = (t0) => {
6139
- const $ = compilerRuntimeExports.c(20);
6140
- const {
6141
- provider,
6142
- onChange
6143
- } = t0;
6144
- const {
6145
- t
6146
- } = useTranslation();
6147
- const apiKey = provider.apiKey || "";
6233
+ let t6;
6234
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
6235
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
6236
+ $[12] = apiKey;
6237
+ $[13] = handleApiKeyChange;
6238
+ $[14] = t4;
6239
+ $[15] = t5;
6240
+ $[16] = t6;
6241
+ } else {
6242
+ t6 = $[16];
6243
+ }
6244
+ let t7;
6245
+ if ($[17] !== t3 || $[18] !== t6) {
6246
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6247
+ t3,
6248
+ t6
6249
+ ] });
6250
+ $[17] = t3;
6251
+ $[18] = t6;
6252
+ $[19] = t7;
6253
+ } else {
6254
+ t7 = $[19];
6255
+ }
6256
+ return t7;
6257
+ };
6258
+ const AlibabaPlanParameters = (t0) => {
6259
+ const $ = compilerRuntimeExports.c(24);
6260
+ const {
6261
+ provider,
6262
+ onChange
6263
+ } = t0;
6264
+ const {
6265
+ t
6266
+ } = useTranslation();
6267
+ const apiKey = provider.apiKey || "";
6148
6268
  const {
6149
6269
  environmentVariable: alibabaPlanApiKeyEnv
6150
6270
  } = useEffectiveEnvironmentVariable("ALIBABA_PLAN_API_KEY");
@@ -6164,70 +6284,80 @@ const AlibabaPlanParameters = (t0) => {
6164
6284
  }
6165
6285
  const handleApiKeyChange = t1;
6166
6286
  let t2;
6167
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
6168
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://bailian.console.aliyun.com/", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get Alibaba Coding Plan API Key" }) });
6169
- $[3] = t2;
6287
+ if ($[3] !== t) {
6288
+ t2 = t("alibabaPlan.getApiKeyLink");
6289
+ $[3] = t;
6290
+ $[4] = t2;
6170
6291
  } else {
6171
- t2 = $[3];
6292
+ t2 = $[4];
6172
6293
  }
6173
6294
  let t3;
6174
- if ($[4] !== t) {
6175
- t3 = t("alibabaPlan.apiKey");
6176
- $[4] = t;
6177
- $[5] = t3;
6295
+ if ($[5] !== t2) {
6296
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://bailian.console.aliyun.com/", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
6297
+ $[5] = t2;
6298
+ $[6] = t3;
6178
6299
  } else {
6179
- t3 = $[5];
6300
+ t3 = $[6];
6180
6301
  }
6181
6302
  let t4;
6182
- if ($[6] !== alibabaPlanApiKeyEnv || $[7] !== t) {
6183
- t4 = alibabaPlanApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6184
- source: alibabaPlanApiKeyEnv.source
6185
- }) : t("settings.agent.envVarPlaceholder", {
6186
- envVar: "ALIBABA_PLAN_API_KEY"
6187
- });
6188
- $[6] = alibabaPlanApiKeyEnv;
6303
+ if ($[7] !== t) {
6304
+ t4 = t("alibabaPlan.apiKey");
6189
6305
  $[7] = t;
6190
6306
  $[8] = t4;
6191
6307
  } else {
6192
6308
  t4 = $[8];
6193
6309
  }
6194
6310
  let t5;
6195
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
6196
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 });
6197
- $[9] = apiKey;
6198
- $[10] = handleApiKeyChange;
6199
- $[11] = t3;
6200
- $[12] = t4;
6201
- $[13] = t5;
6311
+ if ($[9] !== alibabaPlanApiKeyEnv || $[10] !== t) {
6312
+ t5 = alibabaPlanApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6313
+ source: alibabaPlanApiKeyEnv.source
6314
+ }) : t("settings.agent.envVarPlaceholder", {
6315
+ envVar: "ALIBABA_PLAN_API_KEY"
6316
+ });
6317
+ $[9] = alibabaPlanApiKeyEnv;
6318
+ $[10] = t;
6319
+ $[11] = t5;
6202
6320
  } else {
6203
- t5 = $[13];
6321
+ t5 = $[11];
6204
6322
  }
6205
6323
  let t6;
6206
- if ($[14] !== onChange || $[15] !== provider) {
6207
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(AlibabaPlanThinkingSettings, { provider, onChange });
6208
- $[14] = onChange;
6209
- $[15] = provider;
6324
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
6325
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
6326
+ $[12] = apiKey;
6327
+ $[13] = handleApiKeyChange;
6328
+ $[14] = t4;
6329
+ $[15] = t5;
6210
6330
  $[16] = t6;
6211
6331
  } else {
6212
6332
  t6 = $[16];
6213
6333
  }
6214
6334
  let t7;
6215
- if ($[17] !== t5 || $[18] !== t6) {
6216
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6217
- t2,
6218
- t5,
6219
- t6
6220
- ] });
6221
- $[17] = t5;
6222
- $[18] = t6;
6335
+ if ($[17] !== onChange || $[18] !== provider) {
6336
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(AlibabaPlanThinkingSettings, { provider, onChange });
6337
+ $[17] = onChange;
6338
+ $[18] = provider;
6223
6339
  $[19] = t7;
6224
6340
  } else {
6225
6341
  t7 = $[19];
6226
6342
  }
6227
- return t7;
6343
+ let t8;
6344
+ if ($[20] !== t3 || $[21] !== t6 || $[22] !== t7) {
6345
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6346
+ t3,
6347
+ t6,
6348
+ t7
6349
+ ] });
6350
+ $[20] = t3;
6351
+ $[21] = t6;
6352
+ $[22] = t7;
6353
+ $[23] = t8;
6354
+ } else {
6355
+ t8 = $[23];
6356
+ }
6357
+ return t8;
6228
6358
  };
6229
6359
  const KimiPlanParameters = (t0) => {
6230
- const $ = compilerRuntimeExports.c(14);
6360
+ const $ = compilerRuntimeExports.c(20);
6231
6361
  const {
6232
6362
  provider,
6233
6363
  onChange
@@ -6255,48 +6385,66 @@ const KimiPlanParameters = (t0) => {
6255
6385
  }
6256
6386
  const handleApiKeyChange = t1;
6257
6387
  let t2;
6258
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
6259
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://www.kimi.com/code/console", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get Kimi Coding Plan API Key" }) });
6260
- $[3] = t2;
6388
+ if ($[3] !== t) {
6389
+ t2 = t("kimiPlan.getApiKeyLink");
6390
+ $[3] = t;
6391
+ $[4] = t2;
6261
6392
  } else {
6262
- t2 = $[3];
6393
+ t2 = $[4];
6263
6394
  }
6264
6395
  let t3;
6265
- if ($[4] !== t) {
6266
- t3 = t("kimiPlan.apiKey");
6267
- $[4] = t;
6268
- $[5] = t3;
6396
+ if ($[5] !== t2) {
6397
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://www.kimi.com/code/console", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
6398
+ $[5] = t2;
6399
+ $[6] = t3;
6269
6400
  } else {
6270
- t3 = $[5];
6401
+ t3 = $[6];
6271
6402
  }
6272
6403
  let t4;
6273
- if ($[6] !== kimiPlanApiKeyEnv || $[7] !== t) {
6274
- t4 = kimiPlanApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6275
- source: kimiPlanApiKeyEnv.source
6276
- }) : t("settings.agent.envVarPlaceholder", {
6277
- envVar: "KIMI_PLAN_API_KEY"
6278
- });
6279
- $[6] = kimiPlanApiKeyEnv;
6404
+ if ($[7] !== t) {
6405
+ t4 = t("kimiPlan.apiKey");
6280
6406
  $[7] = t;
6281
6407
  $[8] = t4;
6282
6408
  } else {
6283
6409
  t4 = $[8];
6284
6410
  }
6285
6411
  let t5;
6286
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
6287
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6288
- t2,
6289
- /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 })
6412
+ if ($[9] !== kimiPlanApiKeyEnv || $[10] !== t) {
6413
+ t5 = kimiPlanApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6414
+ source: kimiPlanApiKeyEnv.source
6415
+ }) : t("settings.agent.envVarPlaceholder", {
6416
+ envVar: "KIMI_PLAN_API_KEY"
6417
+ });
6418
+ $[9] = kimiPlanApiKeyEnv;
6419
+ $[10] = t;
6420
+ $[11] = t5;
6421
+ } else {
6422
+ t5 = $[11];
6423
+ }
6424
+ let t6;
6425
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
6426
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
6427
+ $[12] = apiKey;
6428
+ $[13] = handleApiKeyChange;
6429
+ $[14] = t4;
6430
+ $[15] = t5;
6431
+ $[16] = t6;
6432
+ } else {
6433
+ t6 = $[16];
6434
+ }
6435
+ let t7;
6436
+ if ($[17] !== t3 || $[18] !== t6) {
6437
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6438
+ t3,
6439
+ t6
6290
6440
  ] });
6291
- $[9] = apiKey;
6292
- $[10] = handleApiKeyChange;
6293
- $[11] = t3;
6294
- $[12] = t4;
6295
- $[13] = t5;
6441
+ $[17] = t3;
6442
+ $[18] = t6;
6443
+ $[19] = t7;
6296
6444
  } else {
6297
- t5 = $[13];
6445
+ t7 = $[19];
6298
6446
  }
6299
- return t5;
6447
+ return t7;
6300
6448
  };
6301
6449
  const LitellmParameters = (t0) => {
6302
6450
  const $ = compilerRuntimeExports.c(29);
@@ -6422,7 +6570,7 @@ const LitellmParameters = (t0) => {
6422
6570
  return t9;
6423
6571
  };
6424
6572
  const MinimaxParameters = (t0) => {
6425
- const $ = compilerRuntimeExports.c(14);
6573
+ const $ = compilerRuntimeExports.c(20);
6426
6574
  const {
6427
6575
  provider,
6428
6576
  onChange
@@ -6452,52 +6600,70 @@ const MinimaxParameters = (t0) => {
6452
6600
  }
6453
6601
  const handleApiKeyChange = t1;
6454
6602
  let t2;
6455
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
6456
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://platform.minimax.io/user-center/basic-information/interface-key", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get MiniMax API key" }) });
6457
- $[3] = t2;
6603
+ if ($[3] !== t) {
6604
+ t2 = t("minimax.getApiKeyLink");
6605
+ $[3] = t;
6606
+ $[4] = t2;
6458
6607
  } else {
6459
- t2 = $[3];
6608
+ t2 = $[4];
6460
6609
  }
6461
6610
  let t3;
6462
- if ($[4] !== t) {
6463
- t3 = t("minimax.apiKey");
6464
- $[4] = t;
6465
- $[5] = t3;
6611
+ if ($[5] !== t2) {
6612
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://platform.minimax.io/user-center/basic-information/interface-key", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
6613
+ $[5] = t2;
6614
+ $[6] = t3;
6466
6615
  } else {
6467
- t3 = $[5];
6616
+ t3 = $[6];
6468
6617
  }
6469
- const t4 = apiKey || "";
6470
- let t5;
6471
- if ($[6] !== minimaxApiKeyEnv || $[7] !== t) {
6472
- t5 = minimaxApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6618
+ let t4;
6619
+ if ($[7] !== t) {
6620
+ t4 = t("minimax.apiKey");
6621
+ $[7] = t;
6622
+ $[8] = t4;
6623
+ } else {
6624
+ t4 = $[8];
6625
+ }
6626
+ const t5 = apiKey || "";
6627
+ let t6;
6628
+ if ($[9] !== minimaxApiKeyEnv || $[10] !== t) {
6629
+ t6 = minimaxApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6473
6630
  source: minimaxApiKeyEnv.source
6474
6631
  }) : t("settings.agent.envVarPlaceholder", {
6475
6632
  envVar: "MINIMAX_API_KEY"
6476
6633
  });
6477
- $[6] = minimaxApiKeyEnv;
6478
- $[7] = t;
6479
- $[8] = t5;
6634
+ $[9] = minimaxApiKeyEnv;
6635
+ $[10] = t;
6636
+ $[11] = t6;
6480
6637
  } else {
6481
- t5 = $[8];
6638
+ t6 = $[11];
6482
6639
  }
6483
- let t6;
6484
- if ($[9] !== handleApiKeyChange || $[10] !== t3 || $[11] !== t4 || $[12] !== t5) {
6485
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
6486
- t2,
6487
- /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: t4, onChange: handleApiKeyChange, placeholder: t5 })
6640
+ let t7;
6641
+ if ($[12] !== handleApiKeyChange || $[13] !== t4 || $[14] !== t5 || $[15] !== t6) {
6642
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: t5, onChange: handleApiKeyChange, placeholder: t6 });
6643
+ $[12] = handleApiKeyChange;
6644
+ $[13] = t4;
6645
+ $[14] = t5;
6646
+ $[15] = t6;
6647
+ $[16] = t7;
6648
+ } else {
6649
+ t7 = $[16];
6650
+ }
6651
+ let t8;
6652
+ if ($[17] !== t3 || $[18] !== t7) {
6653
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
6654
+ t3,
6655
+ t7
6488
6656
  ] });
6489
- $[9] = handleApiKeyChange;
6490
- $[10] = t3;
6491
- $[11] = t4;
6492
- $[12] = t5;
6493
- $[13] = t6;
6657
+ $[17] = t3;
6658
+ $[18] = t7;
6659
+ $[19] = t8;
6494
6660
  } else {
6495
- t6 = $[13];
6661
+ t8 = $[19];
6496
6662
  }
6497
- return t6;
6663
+ return t8;
6498
6664
  };
6499
6665
  const MistralParameters = (t0) => {
6500
- const $ = compilerRuntimeExports.c(14);
6666
+ const $ = compilerRuntimeExports.c(20);
6501
6667
  const {
6502
6668
  provider,
6503
6669
  onChange
@@ -6525,51 +6691,69 @@ const MistralParameters = (t0) => {
6525
6691
  }
6526
6692
  const handleApiKeyChange = t1;
6527
6693
  let t2;
6528
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
6529
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://console.mistral.ai/api-keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get Mistral API key" }) });
6530
- $[3] = t2;
6694
+ if ($[3] !== t) {
6695
+ t2 = t("mistral.getApiKeyLink");
6696
+ $[3] = t;
6697
+ $[4] = t2;
6531
6698
  } else {
6532
- t2 = $[3];
6699
+ t2 = $[4];
6533
6700
  }
6534
6701
  let t3;
6535
- if ($[4] !== t) {
6536
- t3 = t("mistral.apiKey");
6537
- $[4] = t;
6538
- $[5] = t3;
6702
+ if ($[5] !== t2) {
6703
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://console.mistral.ai/api-keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
6704
+ $[5] = t2;
6705
+ $[6] = t3;
6539
6706
  } else {
6540
- t3 = $[5];
6707
+ t3 = $[6];
6541
6708
  }
6542
6709
  let t4;
6543
- if ($[6] !== mistralApiKeyEnv || $[7] !== t) {
6544
- t4 = mistralApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6545
- source: mistralApiKeyEnv.source
6546
- }) : t("settings.agent.envVarPlaceholder", {
6547
- envVar: "MISTRAL_API_KEY"
6548
- });
6549
- $[6] = mistralApiKeyEnv;
6710
+ if ($[7] !== t) {
6711
+ t4 = t("mistral.apiKey");
6550
6712
  $[7] = t;
6551
6713
  $[8] = t4;
6552
6714
  } else {
6553
6715
  t4 = $[8];
6554
6716
  }
6555
6717
  let t5;
6556
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
6557
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6558
- t2,
6559
- /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 })
6718
+ if ($[9] !== mistralApiKeyEnv || $[10] !== t) {
6719
+ t5 = mistralApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6720
+ source: mistralApiKeyEnv.source
6721
+ }) : t("settings.agent.envVarPlaceholder", {
6722
+ envVar: "MISTRAL_API_KEY"
6723
+ });
6724
+ $[9] = mistralApiKeyEnv;
6725
+ $[10] = t;
6726
+ $[11] = t5;
6727
+ } else {
6728
+ t5 = $[11];
6729
+ }
6730
+ let t6;
6731
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
6732
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
6733
+ $[12] = apiKey;
6734
+ $[13] = handleApiKeyChange;
6735
+ $[14] = t4;
6736
+ $[15] = t5;
6737
+ $[16] = t6;
6738
+ } else {
6739
+ t6 = $[16];
6740
+ }
6741
+ let t7;
6742
+ if ($[17] !== t3 || $[18] !== t6) {
6743
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6744
+ t3,
6745
+ t6
6560
6746
  ] });
6561
- $[9] = apiKey;
6562
- $[10] = handleApiKeyChange;
6563
- $[11] = t3;
6564
- $[12] = t4;
6565
- $[13] = t5;
6747
+ $[17] = t3;
6748
+ $[18] = t6;
6749
+ $[19] = t7;
6566
6750
  } else {
6567
- t5 = $[13];
6751
+ t7 = $[19];
6568
6752
  }
6569
- return t5;
6753
+ return t7;
6570
6754
  };
6571
6755
  const NeuralwattParameters = (t0) => {
6572
- const $ = compilerRuntimeExports.c(20);
6756
+ const $ = compilerRuntimeExports.c(24);
6573
6757
  const {
6574
6758
  provider,
6575
6759
  onChange
@@ -6597,67 +6781,77 @@ const NeuralwattParameters = (t0) => {
6597
6781
  }
6598
6782
  const handleApiKeyChange = t1;
6599
6783
  let t2;
6600
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
6601
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://portal.neuralwatt.com", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get Neuralwatt API key" }) });
6602
- $[3] = t2;
6784
+ if ($[3] !== t) {
6785
+ t2 = t("neuralwatt.getApiKeyLink");
6786
+ $[3] = t;
6787
+ $[4] = t2;
6603
6788
  } else {
6604
- t2 = $[3];
6789
+ t2 = $[4];
6605
6790
  }
6606
6791
  let t3;
6607
- if ($[4] !== t) {
6608
- t3 = t("neuralwatt.apiKey");
6609
- $[4] = t;
6610
- $[5] = t3;
6792
+ if ($[5] !== t2) {
6793
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://portal.neuralwatt.com", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
6794
+ $[5] = t2;
6795
+ $[6] = t3;
6611
6796
  } else {
6612
- t3 = $[5];
6797
+ t3 = $[6];
6613
6798
  }
6614
6799
  let t4;
6615
- if ($[6] !== neuralwattApiKeyEnv || $[7] !== t) {
6616
- t4 = neuralwattApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6617
- source: neuralwattApiKeyEnv.source
6618
- }) : t("settings.agent.envVarPlaceholder", {
6619
- envVar: "NEURALWATT_API_KEY"
6620
- });
6621
- $[6] = neuralwattApiKeyEnv;
6800
+ if ($[7] !== t) {
6801
+ t4 = t("neuralwatt.apiKey");
6622
6802
  $[7] = t;
6623
6803
  $[8] = t4;
6624
6804
  } else {
6625
6805
  t4 = $[8];
6626
6806
  }
6627
6807
  let t5;
6628
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
6629
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 });
6630
- $[9] = apiKey;
6631
- $[10] = handleApiKeyChange;
6632
- $[11] = t3;
6633
- $[12] = t4;
6634
- $[13] = t5;
6808
+ if ($[9] !== neuralwattApiKeyEnv || $[10] !== t) {
6809
+ t5 = neuralwattApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6810
+ source: neuralwattApiKeyEnv.source
6811
+ }) : t("settings.agent.envVarPlaceholder", {
6812
+ envVar: "NEURALWATT_API_KEY"
6813
+ });
6814
+ $[9] = neuralwattApiKeyEnv;
6815
+ $[10] = t;
6816
+ $[11] = t5;
6635
6817
  } else {
6636
- t5 = $[13];
6818
+ t5 = $[11];
6637
6819
  }
6638
6820
  let t6;
6639
- if ($[14] !== onChange || $[15] !== provider) {
6640
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(NeuralwattAdvancedSettings, { provider, onChange });
6641
- $[14] = onChange;
6642
- $[15] = provider;
6821
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
6822
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
6823
+ $[12] = apiKey;
6824
+ $[13] = handleApiKeyChange;
6825
+ $[14] = t4;
6826
+ $[15] = t5;
6643
6827
  $[16] = t6;
6644
6828
  } else {
6645
6829
  t6 = $[16];
6646
6830
  }
6647
6831
  let t7;
6648
- if ($[17] !== t5 || $[18] !== t6) {
6649
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6650
- t2,
6651
- t5,
6652
- t6
6653
- ] });
6654
- $[17] = t5;
6655
- $[18] = t6;
6832
+ if ($[17] !== onChange || $[18] !== provider) {
6833
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(NeuralwattAdvancedSettings, { provider, onChange });
6834
+ $[17] = onChange;
6835
+ $[18] = provider;
6656
6836
  $[19] = t7;
6657
6837
  } else {
6658
6838
  t7 = $[19];
6659
6839
  }
6660
- return t7;
6840
+ let t8;
6841
+ if ($[20] !== t3 || $[21] !== t6 || $[22] !== t7) {
6842
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
6843
+ t3,
6844
+ t6,
6845
+ t7
6846
+ ] });
6847
+ $[20] = t3;
6848
+ $[21] = t6;
6849
+ $[22] = t7;
6850
+ $[23] = t8;
6851
+ } else {
6852
+ t8 = $[23];
6853
+ }
6854
+ return t8;
6661
6855
  };
6662
6856
  const LmStudioParameters = (t0) => {
6663
6857
  const $ = compilerRuntimeExports.c(13);
@@ -6780,7 +6974,7 @@ const OllamaParameters = (t0) => {
6780
6974
  return t4;
6781
6975
  };
6782
6976
  const OpenAiParameters = (t0) => {
6783
- const $ = compilerRuntimeExports.c(27);
6977
+ const $ = compilerRuntimeExports.c(31);
6784
6978
  const {
6785
6979
  provider,
6786
6980
  onChange
@@ -6824,78 +7018,88 @@ const OpenAiParameters = (t0) => {
6824
7018
  }
6825
7019
  const handleVoiceEnabledChange = t2;
6826
7020
  let t3;
6827
- if ($[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
6828
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://platform.openai.com/api-keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get OpenAI API key" }) });
6829
- $[6] = t3;
7021
+ if ($[6] !== t) {
7022
+ t3 = t("openai.getApiKeyLink");
7023
+ $[6] = t;
7024
+ $[7] = t3;
6830
7025
  } else {
6831
- t3 = $[6];
7026
+ t3 = $[7];
6832
7027
  }
6833
7028
  let t4;
6834
- if ($[7] !== t) {
6835
- t4 = t("openai.apiKey");
6836
- $[7] = t;
6837
- $[8] = t4;
7029
+ if ($[8] !== t3) {
7030
+ t4 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://platform.openai.com/api-keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t3 }) });
7031
+ $[8] = t3;
7032
+ $[9] = t4;
6838
7033
  } else {
6839
- t4 = $[8];
7034
+ t4 = $[9];
6840
7035
  }
6841
7036
  let t5;
6842
- if ($[9] !== openAiApiKeyEnv || $[10] !== t) {
6843
- t5 = openAiApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
6844
- source: openAiApiKeyEnv.source
6845
- }) : t("settings.agent.envVarPlaceholder", {
6846
- envVar: "OPENAI_API_KEY"
6847
- });
6848
- $[9] = openAiApiKeyEnv;
7037
+ if ($[10] !== t) {
7038
+ t5 = t("openai.apiKey");
6849
7039
  $[10] = t;
6850
7040
  $[11] = t5;
6851
7041
  } else {
6852
7042
  t5 = $[11];
6853
7043
  }
6854
7044
  let t6;
6855
- if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
6856
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
6857
- $[12] = apiKey;
6858
- $[13] = handleApiKeyChange;
6859
- $[14] = t4;
6860
- $[15] = t5;
6861
- $[16] = t6;
7045
+ if ($[12] !== openAiApiKeyEnv || $[13] !== t) {
7046
+ t6 = openAiApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7047
+ source: openAiApiKeyEnv.source
7048
+ }) : t("settings.agent.envVarPlaceholder", {
7049
+ envVar: "OPENAI_API_KEY"
7050
+ });
7051
+ $[12] = openAiApiKeyEnv;
7052
+ $[13] = t;
7053
+ $[14] = t6;
6862
7054
  } else {
6863
- t6 = $[16];
7055
+ t6 = $[14];
6864
7056
  }
6865
7057
  let t7;
6866
- if ($[17] !== onChange || $[18] !== provider) {
6867
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(OpenAiAdvancedSettings, { provider, onChange });
6868
- $[17] = onChange;
6869
- $[18] = provider;
7058
+ if ($[15] !== apiKey || $[16] !== handleApiKeyChange || $[17] !== t5 || $[18] !== t6) {
7059
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t5, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t6 });
7060
+ $[15] = apiKey;
7061
+ $[16] = handleApiKeyChange;
7062
+ $[17] = t5;
7063
+ $[18] = t6;
6870
7064
  $[19] = t7;
6871
7065
  } else {
6872
7066
  t7 = $[19];
6873
7067
  }
6874
7068
  let t8;
6875
- if ($[20] !== handleVoiceEnabledChange || $[21] !== voiceEnabled) {
6876
- t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(EnableVoiceControl, { voiceEnabled, onChange: handleVoiceEnabledChange });
6877
- $[20] = handleVoiceEnabledChange;
6878
- $[21] = voiceEnabled;
7069
+ if ($[20] !== onChange || $[21] !== provider) {
7070
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(OpenAiAdvancedSettings, { provider, onChange });
7071
+ $[20] = onChange;
7072
+ $[21] = provider;
6879
7073
  $[22] = t8;
6880
7074
  } else {
6881
7075
  t8 = $[22];
6882
7076
  }
6883
7077
  let t9;
6884
- if ($[23] !== t6 || $[24] !== t7 || $[25] !== t8) {
6885
- t9 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
6886
- t3,
6887
- t6,
7078
+ if ($[23] !== handleVoiceEnabledChange || $[24] !== voiceEnabled) {
7079
+ t9 = /* @__PURE__ */ jsxRuntimeExports.jsx(EnableVoiceControl, { voiceEnabled, onChange: handleVoiceEnabledChange });
7080
+ $[23] = handleVoiceEnabledChange;
7081
+ $[24] = voiceEnabled;
7082
+ $[25] = t9;
7083
+ } else {
7084
+ t9 = $[25];
7085
+ }
7086
+ let t10;
7087
+ if ($[26] !== t4 || $[27] !== t7 || $[28] !== t8 || $[29] !== t9) {
7088
+ t10 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7089
+ t4,
6888
7090
  t7,
6889
- t8
7091
+ t8,
7092
+ t9
6890
7093
  ] });
6891
- $[23] = t6;
6892
- $[24] = t7;
6893
- $[25] = t8;
6894
- $[26] = t9;
7094
+ $[26] = t4;
7095
+ $[27] = t7;
7096
+ $[28] = t8;
7097
+ $[29] = t9;
7098
+ $[30] = t10;
6895
7099
  } else {
6896
- t9 = $[26];
7100
+ t10 = $[30];
6897
7101
  }
6898
- return t9;
7102
+ return t10;
6899
7103
  };
6900
7104
  const OpenAiCompatibleParameters = (t0) => {
6901
7105
  const $ = compilerRuntimeExports.c(37);
@@ -7043,7 +7247,7 @@ const OpenAiCompatibleParameters = (t0) => {
7043
7247
  return t11;
7044
7248
  };
7045
7249
  const OpenCodeParameters = (t0) => {
7046
- const $ = compilerRuntimeExports.c(14);
7250
+ const $ = compilerRuntimeExports.c(20);
7047
7251
  const {
7048
7252
  provider,
7049
7253
  onChange
@@ -7073,51 +7277,161 @@ const OpenCodeParameters = (t0) => {
7073
7277
  }
7074
7278
  const handleApiKeyChange = t1;
7075
7279
  let t2;
7076
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
7077
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://opencode.ai/auth", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get OpenCode ZEN API key" }) });
7078
- $[3] = t2;
7280
+ if ($[3] !== t) {
7281
+ t2 = t("opencode.getApiKeyLink");
7282
+ $[3] = t;
7283
+ $[4] = t2;
7079
7284
  } else {
7080
- t2 = $[3];
7285
+ t2 = $[4];
7081
7286
  }
7082
7287
  let t3;
7083
- if ($[4] !== t) {
7084
- t3 = t("opencode.apiKey");
7085
- $[4] = t;
7086
- $[5] = t3;
7288
+ if ($[5] !== t2) {
7289
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://opencode.ai/auth", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
7290
+ $[5] = t2;
7291
+ $[6] = t3;
7087
7292
  } else {
7088
- t3 = $[5];
7293
+ t3 = $[6];
7089
7294
  }
7090
7295
  let t4;
7091
- if ($[6] !== opencodeApiKeyEnv || $[7] !== t) {
7092
- t4 = opencodeApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7296
+ if ($[7] !== t) {
7297
+ t4 = t("opencode.apiKey");
7298
+ $[7] = t;
7299
+ $[8] = t4;
7300
+ } else {
7301
+ t4 = $[8];
7302
+ }
7303
+ let t5;
7304
+ if ($[9] !== opencodeApiKeyEnv || $[10] !== t) {
7305
+ t5 = opencodeApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7093
7306
  source: opencodeApiKeyEnv.source
7094
7307
  }) : t("settings.agent.envVarPlaceholder", {
7095
7308
  envVar: "OPENCODE_API_KEY"
7096
7309
  });
7097
- $[6] = opencodeApiKeyEnv;
7310
+ $[9] = opencodeApiKeyEnv;
7311
+ $[10] = t;
7312
+ $[11] = t5;
7313
+ } else {
7314
+ t5 = $[11];
7315
+ }
7316
+ let t6;
7317
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
7318
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
7319
+ $[12] = apiKey;
7320
+ $[13] = handleApiKeyChange;
7321
+ $[14] = t4;
7322
+ $[15] = t5;
7323
+ $[16] = t6;
7324
+ } else {
7325
+ t6 = $[16];
7326
+ }
7327
+ let t7;
7328
+ if ($[17] !== t3 || $[18] !== t6) {
7329
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7330
+ t3,
7331
+ t6
7332
+ ] });
7333
+ $[17] = t3;
7334
+ $[18] = t6;
7335
+ $[19] = t7;
7336
+ } else {
7337
+ t7 = $[19];
7338
+ }
7339
+ return t7;
7340
+ };
7341
+ const OpenCodeGoParameters = (t0) => {
7342
+ const $ = compilerRuntimeExports.c(20);
7343
+ const {
7344
+ provider,
7345
+ onChange
7346
+ } = t0;
7347
+ const {
7348
+ t
7349
+ } = useTranslation();
7350
+ const {
7351
+ apiKey
7352
+ } = provider;
7353
+ const {
7354
+ environmentVariable: opencodeGoApiKeyEnv
7355
+ } = useEffectiveEnvironmentVariable("OPENCODE_GO_API_KEY");
7356
+ let t1;
7357
+ if ($[0] !== onChange || $[1] !== provider) {
7358
+ t1 = (e) => {
7359
+ onChange({
7360
+ ...provider,
7361
+ apiKey: e.target.value
7362
+ });
7363
+ };
7364
+ $[0] = onChange;
7365
+ $[1] = provider;
7366
+ $[2] = t1;
7367
+ } else {
7368
+ t1 = $[2];
7369
+ }
7370
+ const handleApiKeyChange = t1;
7371
+ let t2;
7372
+ if ($[3] !== t) {
7373
+ t2 = t("opencodeGo.getApiKeyLink");
7374
+ $[3] = t;
7375
+ $[4] = t2;
7376
+ } else {
7377
+ t2 = $[4];
7378
+ }
7379
+ let t3;
7380
+ if ($[5] !== t2) {
7381
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://opencode.ai/docs/go", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
7382
+ $[5] = t2;
7383
+ $[6] = t3;
7384
+ } else {
7385
+ t3 = $[6];
7386
+ }
7387
+ let t4;
7388
+ if ($[7] !== t) {
7389
+ t4 = t("opencodeGo.apiKey");
7098
7390
  $[7] = t;
7099
7391
  $[8] = t4;
7100
7392
  } else {
7101
7393
  t4 = $[8];
7102
7394
  }
7103
7395
  let t5;
7104
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
7105
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7106
- t2,
7107
- /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 })
7396
+ if ($[9] !== opencodeGoApiKeyEnv || $[10] !== t) {
7397
+ t5 = opencodeGoApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7398
+ source: opencodeGoApiKeyEnv.source
7399
+ }) : t("settings.agent.envVarPlaceholder", {
7400
+ envVar: "OPENCODE_GO_API_KEY"
7401
+ });
7402
+ $[9] = opencodeGoApiKeyEnv;
7403
+ $[10] = t;
7404
+ $[11] = t5;
7405
+ } else {
7406
+ t5 = $[11];
7407
+ }
7408
+ let t6;
7409
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
7410
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
7411
+ $[12] = apiKey;
7412
+ $[13] = handleApiKeyChange;
7413
+ $[14] = t4;
7414
+ $[15] = t5;
7415
+ $[16] = t6;
7416
+ } else {
7417
+ t6 = $[16];
7418
+ }
7419
+ let t7;
7420
+ if ($[17] !== t3 || $[18] !== t6) {
7421
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7422
+ t3,
7423
+ t6
7108
7424
  ] });
7109
- $[9] = apiKey;
7110
- $[10] = handleApiKeyChange;
7111
- $[11] = t3;
7112
- $[12] = t4;
7113
- $[13] = t5;
7425
+ $[17] = t3;
7426
+ $[18] = t6;
7427
+ $[19] = t7;
7114
7428
  } else {
7115
- t5 = $[13];
7429
+ t7 = $[19];
7116
7430
  }
7117
- return t5;
7431
+ return t7;
7118
7432
  };
7119
7433
  const OpenRouterParameters = (t0) => {
7120
- const $ = compilerRuntimeExports.c(24);
7434
+ const $ = compilerRuntimeExports.c(28);
7121
7435
  const {
7122
7436
  provider,
7123
7437
  onChange
@@ -7146,83 +7460,93 @@ const OpenRouterParameters = (t0) => {
7146
7460
  const handleApiKeyChange = t1;
7147
7461
  const renderSectionAccordion = _temp$1;
7148
7462
  let t2;
7149
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
7150
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://openrouter.ai/keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get OpenRouter API key" }) });
7151
- $[3] = t2;
7463
+ if ($[3] !== t) {
7464
+ t2 = t("openRouter.getApiKeyLink");
7465
+ $[3] = t;
7466
+ $[4] = t2;
7152
7467
  } else {
7153
- t2 = $[3];
7468
+ t2 = $[4];
7154
7469
  }
7155
7470
  let t3;
7156
- if ($[4] !== t) {
7157
- t3 = t("openRouter.apiKey");
7158
- $[4] = t;
7159
- $[5] = t3;
7471
+ if ($[5] !== t2) {
7472
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://openrouter.ai/keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
7473
+ $[5] = t2;
7474
+ $[6] = t3;
7160
7475
  } else {
7161
- t3 = $[5];
7476
+ t3 = $[6];
7162
7477
  }
7163
7478
  let t4;
7164
- if ($[6] !== openRouterApiKeyEnv || $[7] !== t) {
7165
- t4 = openRouterApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7166
- source: openRouterApiKeyEnv.source
7167
- }) : t("settings.agent.envVarPlaceholder", {
7168
- envVar: "OPENROUTER_API_KEY"
7169
- });
7170
- $[6] = openRouterApiKeyEnv;
7479
+ if ($[7] !== t) {
7480
+ t4 = t("openRouter.apiKey");
7171
7481
  $[7] = t;
7172
7482
  $[8] = t4;
7173
7483
  } else {
7174
7484
  t4 = $[8];
7175
7485
  }
7176
7486
  let t5;
7177
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
7178
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 });
7179
- $[9] = apiKey;
7180
- $[10] = handleApiKeyChange;
7181
- $[11] = t3;
7182
- $[12] = t4;
7183
- $[13] = t5;
7487
+ if ($[9] !== openRouterApiKeyEnv || $[10] !== t) {
7488
+ t5 = openRouterApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7489
+ source: openRouterApiKeyEnv.source
7490
+ }) : t("settings.agent.envVarPlaceholder", {
7491
+ envVar: "OPENROUTER_API_KEY"
7492
+ });
7493
+ $[9] = openRouterApiKeyEnv;
7494
+ $[10] = t;
7495
+ $[11] = t5;
7184
7496
  } else {
7185
- t5 = $[13];
7497
+ t5 = $[11];
7186
7498
  }
7187
7499
  let t6;
7188
- if ($[14] !== onChange || $[15] !== provider || $[16] !== t) {
7189
- let t72;
7190
- if ($[18] !== onChange || $[19] !== provider) {
7191
- t72 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(OpenRouterAdvancedSettings, { provider, onChange }) });
7192
- $[18] = onChange;
7193
- $[19] = provider;
7194
- $[20] = t72;
7500
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
7501
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
7502
+ $[12] = apiKey;
7503
+ $[13] = handleApiKeyChange;
7504
+ $[14] = t4;
7505
+ $[15] = t5;
7506
+ $[16] = t6;
7507
+ } else {
7508
+ t6 = $[16];
7509
+ }
7510
+ let t7;
7511
+ if ($[17] !== onChange || $[18] !== provider || $[19] !== t) {
7512
+ let t82;
7513
+ if ($[21] !== onChange || $[22] !== provider) {
7514
+ t82 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(OpenRouterAdvancedSettings, { provider, onChange }) });
7515
+ $[21] = onChange;
7516
+ $[22] = provider;
7517
+ $[23] = t82;
7195
7518
  } else {
7196
- t72 = $[20];
7519
+ t82 = $[23];
7197
7520
  }
7198
- t6 = renderSectionAccordion(t("onboarding.providers.advancedSettings"), t72);
7199
- $[14] = onChange;
7200
- $[15] = provider;
7201
- $[16] = t;
7202
- $[17] = t6;
7521
+ t7 = renderSectionAccordion(t("onboarding.providers.advancedSettings"), t82);
7522
+ $[17] = onChange;
7523
+ $[18] = provider;
7524
+ $[19] = t;
7525
+ $[20] = t7;
7203
7526
  } else {
7204
- t6 = $[17];
7527
+ t7 = $[20];
7205
7528
  }
7206
- let t7;
7207
- if ($[21] !== t5 || $[22] !== t6) {
7208
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7209
- t2,
7210
- t5,
7211
- t6
7529
+ let t8;
7530
+ if ($[24] !== t3 || $[25] !== t6 || $[26] !== t7) {
7531
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7532
+ t3,
7533
+ t6,
7534
+ t7
7212
7535
  ] });
7213
- $[21] = t5;
7214
- $[22] = t6;
7215
- $[23] = t7;
7536
+ $[24] = t3;
7537
+ $[25] = t6;
7538
+ $[26] = t7;
7539
+ $[27] = t8;
7216
7540
  } else {
7217
- t7 = $[23];
7541
+ t8 = $[27];
7218
7542
  }
7219
- return t7;
7543
+ return t8;
7220
7544
  };
7221
7545
  function _temp$1(title, children, open, setOpen) {
7222
7546
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Accordion, { title: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 text-left text-sm font-medium px-2", children: title }), chevronPosition: "right", className: "mb-2 border rounded-md border-border-default-dark", isOpen: open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 pt-2", children }) });
7223
7547
  }
7224
7548
  const RequestyParameters = (t0) => {
7225
- const $ = compilerRuntimeExports.c(20);
7549
+ const $ = compilerRuntimeExports.c(24);
7226
7550
  const {
7227
7551
  provider,
7228
7552
  onChange
@@ -7252,70 +7576,80 @@ const RequestyParameters = (t0) => {
7252
7576
  }
7253
7577
  const handleApiKeyChange = t1;
7254
7578
  let t2;
7255
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
7256
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://app.requesty.ai/api-keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get Requesty API key" }) });
7257
- $[3] = t2;
7579
+ if ($[3] !== t) {
7580
+ t2 = t("requesty.getApiKeyLink");
7581
+ $[3] = t;
7582
+ $[4] = t2;
7258
7583
  } else {
7259
- t2 = $[3];
7584
+ t2 = $[4];
7260
7585
  }
7261
7586
  let t3;
7262
- if ($[4] !== t) {
7263
- t3 = t("requesty.apiKey");
7264
- $[4] = t;
7265
- $[5] = t3;
7587
+ if ($[5] !== t2) {
7588
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://app.requesty.ai/api-keys", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
7589
+ $[5] = t2;
7590
+ $[6] = t3;
7266
7591
  } else {
7267
- t3 = $[5];
7592
+ t3 = $[6];
7268
7593
  }
7269
7594
  let t4;
7270
- if ($[6] !== requestyApiKeyEnv || $[7] !== t) {
7271
- t4 = requestyApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7272
- source: requestyApiKeyEnv.source
7273
- }) : t("settings.agent.envVarPlaceholder", {
7274
- envVar: "REQUESTY_API_KEY"
7275
- });
7276
- $[6] = requestyApiKeyEnv;
7595
+ if ($[7] !== t) {
7596
+ t4 = t("requesty.apiKey");
7277
7597
  $[7] = t;
7278
7598
  $[8] = t4;
7279
7599
  } else {
7280
7600
  t4 = $[8];
7281
7601
  }
7282
7602
  let t5;
7283
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
7284
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 });
7285
- $[9] = apiKey;
7286
- $[10] = handleApiKeyChange;
7287
- $[11] = t3;
7288
- $[12] = t4;
7289
- $[13] = t5;
7603
+ if ($[9] !== requestyApiKeyEnv || $[10] !== t) {
7604
+ t5 = requestyApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7605
+ source: requestyApiKeyEnv.source
7606
+ }) : t("settings.agent.envVarPlaceholder", {
7607
+ envVar: "REQUESTY_API_KEY"
7608
+ });
7609
+ $[9] = requestyApiKeyEnv;
7610
+ $[10] = t;
7611
+ $[11] = t5;
7290
7612
  } else {
7291
- t5 = $[13];
7613
+ t5 = $[11];
7292
7614
  }
7293
7615
  let t6;
7294
- if ($[14] !== onChange || $[15] !== provider) {
7295
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(RequestyAdvancedSettings, { provider, onChange });
7296
- $[14] = onChange;
7297
- $[15] = provider;
7616
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
7617
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
7618
+ $[12] = apiKey;
7619
+ $[13] = handleApiKeyChange;
7620
+ $[14] = t4;
7621
+ $[15] = t5;
7298
7622
  $[16] = t6;
7299
7623
  } else {
7300
7624
  t6 = $[16];
7301
7625
  }
7302
7626
  let t7;
7303
- if ($[17] !== t5 || $[18] !== t6) {
7304
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7305
- t2,
7306
- t5,
7307
- t6
7308
- ] });
7309
- $[17] = t5;
7310
- $[18] = t6;
7627
+ if ($[17] !== onChange || $[18] !== provider) {
7628
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(RequestyAdvancedSettings, { provider, onChange });
7629
+ $[17] = onChange;
7630
+ $[18] = provider;
7311
7631
  $[19] = t7;
7312
7632
  } else {
7313
7633
  t7 = $[19];
7314
7634
  }
7315
- return t7;
7635
+ let t8;
7636
+ if ($[20] !== t3 || $[21] !== t6 || $[22] !== t7) {
7637
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7638
+ t3,
7639
+ t6,
7640
+ t7
7641
+ ] });
7642
+ $[20] = t3;
7643
+ $[21] = t6;
7644
+ $[22] = t7;
7645
+ $[23] = t8;
7646
+ } else {
7647
+ t8 = $[23];
7648
+ }
7649
+ return t8;
7316
7650
  };
7317
7651
  const SyntheticParameters = (t0) => {
7318
- const $ = compilerRuntimeExports.c(14);
7652
+ const $ = compilerRuntimeExports.c(20);
7319
7653
  const {
7320
7654
  provider,
7321
7655
  onChange
@@ -7345,48 +7679,66 @@ const SyntheticParameters = (t0) => {
7345
7679
  }
7346
7680
  const handleApiKeyChange = t1;
7347
7681
  let t2;
7348
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
7349
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://dev.synthetic.new", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get Synthetic API key" }) });
7350
- $[3] = t2;
7682
+ if ($[3] !== t) {
7683
+ t2 = t("synthetic.getApiKeyLink");
7684
+ $[3] = t;
7685
+ $[4] = t2;
7351
7686
  } else {
7352
- t2 = $[3];
7687
+ t2 = $[4];
7353
7688
  }
7354
7689
  let t3;
7355
- if ($[4] !== t) {
7356
- t3 = t("synthetic.apiKey");
7357
- $[4] = t;
7358
- $[5] = t3;
7690
+ if ($[5] !== t2) {
7691
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://dev.synthetic.new", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
7692
+ $[5] = t2;
7693
+ $[6] = t3;
7359
7694
  } else {
7360
- t3 = $[5];
7695
+ t3 = $[6];
7361
7696
  }
7362
7697
  let t4;
7363
- if ($[6] !== syntheticApiKeyEnv || $[7] !== t) {
7364
- t4 = syntheticApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7365
- source: syntheticApiKeyEnv.source
7366
- }) : t("settings.agent.envVarPlaceholder", {
7367
- envVar: "SYNTHETIC_API_KEY"
7368
- });
7369
- $[6] = syntheticApiKeyEnv;
7698
+ if ($[7] !== t) {
7699
+ t4 = t("synthetic.apiKey");
7370
7700
  $[7] = t;
7371
7701
  $[8] = t4;
7372
7702
  } else {
7373
7703
  t4 = $[8];
7374
7704
  }
7375
7705
  let t5;
7376
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
7377
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7378
- t2,
7379
- /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 })
7706
+ if ($[9] !== syntheticApiKeyEnv || $[10] !== t) {
7707
+ t5 = syntheticApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7708
+ source: syntheticApiKeyEnv.source
7709
+ }) : t("settings.agent.envVarPlaceholder", {
7710
+ envVar: "SYNTHETIC_API_KEY"
7711
+ });
7712
+ $[9] = syntheticApiKeyEnv;
7713
+ $[10] = t;
7714
+ $[11] = t5;
7715
+ } else {
7716
+ t5 = $[11];
7717
+ }
7718
+ let t6;
7719
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
7720
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
7721
+ $[12] = apiKey;
7722
+ $[13] = handleApiKeyChange;
7723
+ $[14] = t4;
7724
+ $[15] = t5;
7725
+ $[16] = t6;
7726
+ } else {
7727
+ t6 = $[16];
7728
+ }
7729
+ let t7;
7730
+ if ($[17] !== t3 || $[18] !== t6) {
7731
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7732
+ t3,
7733
+ t6
7380
7734
  ] });
7381
- $[9] = apiKey;
7382
- $[10] = handleApiKeyChange;
7383
- $[11] = t3;
7384
- $[12] = t4;
7385
- $[13] = t5;
7735
+ $[17] = t3;
7736
+ $[18] = t6;
7737
+ $[19] = t7;
7386
7738
  } else {
7387
- t5 = $[13];
7739
+ t7 = $[19];
7388
7740
  }
7389
- return t5;
7741
+ return t7;
7390
7742
  };
7391
7743
  const VertexAIParameters = (t0) => {
7392
7744
  const $ = compilerRuntimeExports.c(44);
@@ -7667,7 +8019,7 @@ const ZaiPlanAdvancedSettings = ({
7667
8019
  ] });
7668
8020
  };
7669
8021
  const ZaiPlanParameters = (t0) => {
7670
- const $ = compilerRuntimeExports.c(20);
8022
+ const $ = compilerRuntimeExports.c(24);
7671
8023
  const {
7672
8024
  provider,
7673
8025
  onChange
@@ -7697,67 +8049,77 @@ const ZaiPlanParameters = (t0) => {
7697
8049
  }
7698
8050
  const handleApiKeyChange = t1;
7699
8051
  let t2;
7700
- if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
7701
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://z.ai/subscribe", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get Z.AI API key" }) });
7702
- $[3] = t2;
8052
+ if ($[3] !== t) {
8053
+ t2 = t("zaiPlan.getApiKeyLink");
8054
+ $[3] = t;
8055
+ $[4] = t2;
7703
8056
  } else {
7704
- t2 = $[3];
8057
+ t2 = $[4];
7705
8058
  }
7706
8059
  let t3;
7707
- if ($[4] !== t) {
7708
- t3 = t("zaiPlan.apiKey");
7709
- $[4] = t;
7710
- $[5] = t3;
8060
+ if ($[5] !== t2) {
8061
+ t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://z.ai/subscribe", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: t2 }) });
8062
+ $[5] = t2;
8063
+ $[6] = t3;
7711
8064
  } else {
7712
- t3 = $[5];
8065
+ t3 = $[6];
7713
8066
  }
7714
8067
  let t4;
7715
- if ($[6] !== t || $[7] !== zaiApiKeyEnv) {
7716
- t4 = zaiApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
7717
- source: zaiApiKeyEnv.source
7718
- }) : t("settings.agent.envVarPlaceholder", {
7719
- envVar: "ZAI_API_KEY"
7720
- });
7721
- $[6] = t;
7722
- $[7] = zaiApiKeyEnv;
8068
+ if ($[7] !== t) {
8069
+ t4 = t("zaiPlan.apiKey");
8070
+ $[7] = t;
7723
8071
  $[8] = t4;
7724
8072
  } else {
7725
8073
  t4 = $[8];
7726
8074
  }
7727
8075
  let t5;
7728
- if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
7729
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 });
7730
- $[9] = apiKey;
7731
- $[10] = handleApiKeyChange;
7732
- $[11] = t3;
7733
- $[12] = t4;
7734
- $[13] = t5;
8076
+ if ($[9] !== t || $[10] !== zaiApiKeyEnv) {
8077
+ t5 = zaiApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
8078
+ source: zaiApiKeyEnv.source
8079
+ }) : t("settings.agent.envVarPlaceholder", {
8080
+ envVar: "ZAI_API_KEY"
8081
+ });
8082
+ $[9] = t;
8083
+ $[10] = zaiApiKeyEnv;
8084
+ $[11] = t5;
7735
8085
  } else {
7736
- t5 = $[13];
8086
+ t5 = $[11];
7737
8087
  }
7738
8088
  let t6;
7739
- if ($[14] !== onChange || $[15] !== provider) {
7740
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(ZaiPlanAdvancedSettings, { provider, onChange });
7741
- $[14] = onChange;
7742
- $[15] = provider;
8089
+ if ($[12] !== apiKey || $[13] !== handleApiKeyChange || $[14] !== t4 || $[15] !== t5) {
8090
+ t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t4, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t5 });
8091
+ $[12] = apiKey;
8092
+ $[13] = handleApiKeyChange;
8093
+ $[14] = t4;
8094
+ $[15] = t5;
7743
8095
  $[16] = t6;
7744
8096
  } else {
7745
8097
  t6 = $[16];
7746
8098
  }
7747
8099
  let t7;
7748
- if ($[17] !== t5 || $[18] !== t6) {
7749
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7750
- t2,
7751
- t5,
7752
- t6
7753
- ] });
7754
- $[17] = t5;
7755
- $[18] = t6;
8100
+ if ($[17] !== onChange || $[18] !== provider) {
8101
+ t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(ZaiPlanAdvancedSettings, { provider, onChange });
8102
+ $[17] = onChange;
8103
+ $[18] = provider;
7756
8104
  $[19] = t7;
7757
8105
  } else {
7758
8106
  t7 = $[19];
7759
8107
  }
7760
- return t7;
8108
+ let t8;
8109
+ if ($[20] !== t3 || $[21] !== t6 || $[22] !== t7) {
8110
+ t8 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
8111
+ t3,
8112
+ t6,
8113
+ t7
8114
+ ] });
8115
+ $[20] = t3;
8116
+ $[21] = t6;
8117
+ $[22] = t7;
8118
+ $[23] = t8;
8119
+ } else {
8120
+ t8 = $[23];
8121
+ }
8122
+ return t8;
7761
8123
  };
7762
8124
  const PROVIDER_PARAMETERS_MAP = {
7763
8125
  anthropic: AnthropicParameters,
@@ -7780,6 +8142,7 @@ const PROVIDER_PARAMETERS_MAP = {
7780
8142
  openai: OpenAiParameters,
7781
8143
  "openai-compatible": OpenAiCompatibleParameters,
7782
8144
  opencode: OpenCodeParameters,
8145
+ "opencode-go": OpenCodeGoParameters,
7783
8146
  openrouter: OpenRouterParameters,
7784
8147
  requesty: RequestyParameters,
7785
8148
  synthetic: SyntheticParameters,
@@ -8292,6 +8655,7 @@ const PROVIDER_ICON_MAP = {
8292
8655
  openai: OpenAiIcon,
8293
8656
  "openai-compatible": OpenAiCompatibleIcon,
8294
8657
  opencode: OpenCodeIcon,
8658
+ "opencode-go": OpenCodeGoIcon,
8295
8659
  openrouter: OpenRouterIcon,
8296
8660
  requesty: RequestyIcon,
8297
8661
  synthetic: SyntheticIcon,