@aiderdesk/aiderdesk 0.79.0 → 0.80.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.
- package/out/renderer/assets/{AgentSettings-CszvCubk.js → AgentSettings-RjfqLZQG.js} +399 -358
- package/out/renderer/assets/{InfoIcon-CitcCe35.js → InfoIcon-CFgcz5mB.js} +1 -1
- package/out/renderer/assets/{Onboarding-C76MB4m2.js → Onboarding-C4nwN-kW.js} +4 -4
- package/out/renderer/assets/{ProviderHeader-D8Qbh28U.js → ProviderHeader-BOSi9xBn.js} +427 -64
- package/out/renderer/assets/{SettingsPage-BlzoIUMQ.js → SettingsPage-BRdecSVb.js} +436 -281
- package/out/renderer/assets/{UsageDashboard-CbhoXiPL.js → UsageDashboard-BgZL-dQY.js} +3 -3
- package/out/renderer/assets/{abnfDiagram-N423BO3Z-CZPdeX6B.js → abnfDiagram-N423BO3Z-hgpuOTGf.js} +4 -4
- package/out/renderer/assets/{arc-Bkalrz-a.js → arc-DQ5Ln5Ec.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-T3A2C74G-DRz1QqO-.js → architectureDiagram-T3A2C74G-BA40sSAy.js} +3 -3
- package/out/renderer/assets/{blockDiagram-VBNYF7ZC-ChyfuGgN.js → blockDiagram-VBNYF7ZC-DUxxZcAH.js} +4 -4
- package/out/renderer/assets/{c4Diagram-5PPSVZJV-cVQQcFY5.js → c4Diagram-5PPSVZJV-Q_66gIRD.js} +2 -2
- package/out/renderer/assets/{channel-JT6nJyaa.js → channel-_htilMz7.js} +1 -1
- package/out/renderer/assets/{chunk-2GRJ4B5K-J57iiDk9.js → chunk-2GRJ4B5K-BInTwfcl.js} +1 -1
- package/out/renderer/assets/{chunk-2Q5K7J3B-B1gn3lFx.js → chunk-2Q5K7J3B-Dmzf8-EI.js} +1 -1
- package/out/renderer/assets/{chunk-5RXB4S5H-D9R8uVKF.js → chunk-5RXB4S5H-DJM3NSZZ.js} +4 -4
- package/out/renderer/assets/{chunk-5VM5RSS4-BgMI8UGI.js → chunk-5VM5RSS4-CbTpT-mF.js} +1 -1
- package/out/renderer/assets/{chunk-6Q2QTUOP-Cf4SRUsg.js → chunk-6Q2QTUOP-m3hSoymD.js} +1 -1
- package/out/renderer/assets/{chunk-GF5L2VYU-BrPkeiRK.js → chunk-GF5L2VYU-Bb4ovOLO.js} +5 -5
- package/out/renderer/assets/{chunk-JWPE2WC7-BF4fubDx.js → chunk-JWPE2WC7-BnvIn2Wx.js} +1 -1
- package/out/renderer/assets/{chunk-KBJHAD2P-BrT2h0P-.js → chunk-KBJHAD2P-CDfqaLOK.js} +1 -1
- package/out/renderer/assets/{chunk-RYQCIY6F-nKwtNsyW.js → chunk-RYQCIY6F-CL9GnfZn.js} +3 -3
- package/out/renderer/assets/{chunk-XXDRQBXY-DOR8tcZA.js → chunk-XXDRQBXY-W8IA58aV.js} +1 -1
- package/out/renderer/assets/{classDiagram-JCYQIIEL-Ds-LjZkS.js → classDiagram-JCYQIIEL-CJOMvWBr.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-OCEON4UE-Ds-LjZkS.js → classDiagram-v2-OCEON4UE-CJOMvWBr.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-JH36ORCC-D8MD1ldA.js → cose-bilkent-JH36ORCC-DZx8zB-p.js} +1 -1
- package/out/renderer/assets/{cynefin-VYW2F7L2-BWrc0sIz.js → cynefin-VYW2F7L2-B2g7If-Z.js} +1 -1
- package/out/renderer/assets/{cynefinDiagram-MW4NZA55-ajJaFM05.js → cynefinDiagram-MW4NZA55-C58XMelO.js} +3 -3
- package/out/renderer/assets/{dagre-VZM6K2ZE-B7P2-yI-.js → dagre-VZM6K2ZE-BQ2aOE4I.js} +5 -5
- package/out/renderer/assets/{diagram-7IWD3JNH-C9b2ycWt.js → diagram-7IWD3JNH-Fcr4bcbO.js} +4 -4
- package/out/renderer/assets/{diagram-B4RE2ZJO-BzexvLYA.js → diagram-B4RE2ZJO-D3yvQRyf.js} +3 -3
- package/out/renderer/assets/{diagram-LBJQPF4R-BW3cIhvw.js → diagram-LBJQPF4R-CwZ6wYZu.js} +3 -3
- package/out/renderer/assets/{diagram-Q27KOJAE-CrI04NBR.js → diagram-Q27KOJAE-BWQ6cHxk.js} +4 -4
- package/out/renderer/assets/{diagram-UB23O5K3-Cix1_1dv.js → diagram-UB23O5K3-DYvLjKje.js} +3 -3
- package/out/renderer/assets/{ebnfDiagram-BXEA7PRR-yn5BxQJj.js → ebnfDiagram-BXEA7PRR-DXgsYfPv.js} +4 -4
- package/out/renderer/assets/{erDiagram-JOGREHBK-CkQ8CtS_.js → erDiagram-JOGREHBK-p1b6UAmn.js} +4 -4
- package/out/renderer/assets/{flowDiagram-UKHOOZJN-08k0gH-d.js → flowDiagram-UKHOOZJN-CPc3hU6X.js} +6 -6
- package/out/renderer/assets/{ganttDiagram-PKOTCBZU-D5qJmakg.js → ganttDiagram-PKOTCBZU-AnoSI0H5.js} +3 -3
- package/out/renderer/assets/{gitGraphDiagram-DS77QQ5N-CPw_BIbi.js → gitGraphDiagram-DS77QQ5N-DUrmxtgn.js} +4 -4
- package/out/renderer/assets/{graph-vAJQKSey.js → graph-vYK0uWuK.js} +1 -1
- package/out/renderer/assets/{index-DeBIVVLg.js → index-2-UGHPQa.js} +1 -1
- package/out/renderer/assets/{index-DFijfgHK.js → index-5BVN9RK6.js} +1 -1
- package/out/renderer/assets/{index-Cb4iDr8_.js → index-7rQhuL56.js} +5 -5
- package/out/renderer/assets/{index-CmpSne4j.js → index-B1SEEb-0.js} +2 -2
- package/out/renderer/assets/{index-D8Zme_wD.js → index-B24wrWKi.js} +5 -5
- package/out/renderer/assets/{index-CNKnTVof.js → index-BGA5JZSf.js} +2 -2
- package/out/renderer/assets/{index-B9qhGo1c.js → index-BIgrNG0o.js} +4 -4
- package/out/renderer/assets/{index-BvQIBR-c.js → index-BVKpsNAU.js} +2 -2
- package/out/renderer/assets/{index-DH7BFHAa.css → index-BYUeztXU.css} +34 -7
- package/out/renderer/assets/{index-DA3SfNyd.js → index-BifPseZk.js} +5 -5
- package/out/renderer/assets/{index-ebosJEhW.js → index-BpkJELWc.js} +1 -1
- package/out/renderer/assets/{index-CJzzo9GN.js → index-BqRnRmje.js} +2 -2
- package/out/renderer/assets/{index-BGegEms-.js → index-C1NKfASK.js} +1 -1
- package/out/renderer/assets/{index-B0EFV-gL.js → index-C2-wYt7Y.js} +3 -3
- package/out/renderer/assets/{index-BAx8fHYJ.js → index-C_Fb5x1i.js} +2 -2
- package/out/renderer/assets/{index-05PndMzj.js → index-CdT3pUnY.js} +1587 -1079
- package/out/renderer/assets/{index-BR-RxTVt.js → index-Cf1CrkZj.js} +1 -1
- package/out/renderer/assets/{index-CmlXgnPK.js → index-CoNqogfR.js} +2 -2
- package/out/renderer/assets/{index-ZB0-IQ7z.js → index-Cqa6STOy.js} +96 -3
- package/out/renderer/assets/{index-BgaEN2Xk.js → index-CvO-4NeV.js} +5 -5
- package/out/renderer/assets/{index-BsVCwy_5.js → index-Czcs8fbp.js} +5 -5
- package/out/renderer/assets/{index-DSemwSW1.js → index-D44yGQ14.js} +2 -2
- package/out/renderer/assets/{index-BNYmBzYl.js → index-DMloO_bp.js} +1 -1
- package/out/renderer/assets/{index-D7uIEHLm.js → index-DSu0qPyw.js} +2 -2
- package/out/renderer/assets/{index-DSFW0jId.js → index-DVcmtW9G.js} +2 -2
- package/out/renderer/assets/{index-BYK8Oe9C.js → index-DaN69KHN.js} +1 -1
- package/out/renderer/assets/{index-BvlgP_C9.js → index-DfCyq42Y.js} +2 -2
- package/out/renderer/assets/{index-D3TXtQ08.js → index-Dr6JmYfP.js} +2 -2
- package/out/renderer/assets/{index-BGkJy1La.js → index-Dv3o3ivg.js} +2 -2
- package/out/renderer/assets/{index-CPxIrW_k.js → index-DvwUI0SE.js} +3 -3
- package/out/renderer/assets/{index-DKfAiLyn.js → index-Eyz2tQvi.js} +1 -1
- package/out/renderer/assets/{index-BLbSc28m.js → index-XMEQr7jT.js} +5 -5
- package/out/renderer/assets/{index-BzofAPMG.js → index-ZQnYDsOy.js} +1 -1
- package/out/renderer/assets/{infoDiagram-6WML65LV-C-C_195p.js → infoDiagram-6WML65LV-DNH3Ekcy.js} +2 -2
- package/out/renderer/assets/{ishikawaDiagram-WSZJBQD7-DdULOU9y.js → ishikawaDiagram-WSZJBQD7-K6TT3dje.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-NVQOT4AX-uqf_qJgk.js → journeyDiagram-NVQOT4AX-BYzsiNS3.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-BpVxbL7b.js → jsx-dev-runtime-1UHusS46.js} +1 -1
- package/out/renderer/assets/{kanban-definition-27J2QSJJ-Dky8Fg_n.js → kanban-definition-27J2QSJJ-IPlTS6oS.js} +2 -2
- package/out/renderer/assets/{layout-CmE2gzKL.js → layout-BHT9iWoc.js} +3 -3
- package/out/renderer/assets/{linear-KjDRVqMG.js → linear-2jv-chKc.js} +1 -1
- package/out/renderer/assets/{map-DYyl5K0n.js → map-D6nZDKFn.js} +2 -2
- package/out/renderer/assets/{mindmap-definition-FAOFIHXS-8dWcuWHV.js → mindmap-definition-FAOFIHXS-BHi7Irsm.js} +3 -3
- package/out/renderer/assets/{pegDiagram-VL7TDLO6-76hvriT-.js → pegDiagram-VL7TDLO6-C6Y77RxO.js} +4 -4
- package/out/renderer/assets/{pieDiagram-7S7Q4E2Y-CJ41-CdM.js → pieDiagram-7S7Q4E2Y-D-e8_L26.js} +4 -4
- package/out/renderer/assets/{quadrantDiagram-CIZ2JOQS-BahlXgAq.js → quadrantDiagram-CIZ2JOQS-CXhTLAqI.js} +2 -2
- package/out/renderer/assets/{railroadDiagram-AXF67PYL-PiU_czi3.js → railroadDiagram-AXF67PYL-reHXCR9j.js} +4 -4
- package/out/renderer/assets/{requirementDiagram-LRYGKXZP-C87pqMna.js → requirementDiagram-LRYGKXZP-tH6hF_PA.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-W5VNT64P-CdkZmeU5.js → sankeyDiagram-W5VNT64P-CGB88G5d.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-SI44F4Z6-CMXFNERX.js → sequenceDiagram-SI44F4Z6-fEt9jAut.js} +3 -3
- package/out/renderer/assets/{sizeCapture-X5ZJPWSS-BwMqCMc8.js → sizeCapture-X5ZJPWSS-B7-Ph8fH.js} +1 -1
- package/out/renderer/assets/{stateDiagram-OKZ733FA-DiSC7IgF.js → stateDiagram-OKZ733FA-DrhieY01.js} +8 -8
- package/out/renderer/assets/{stateDiagram-v2-UEYNNEHI-BQw7DwIi.js → stateDiagram-v2-UEYNNEHI-GzoBE3UI.js} +5 -5
- package/out/renderer/assets/{swimlanes-SLNWSIFB-Bhy-gBe5.js → swimlanes-SLNWSIFB-D4LJ6r4D.js} +6 -6
- package/out/renderer/assets/{swimlanesDiagram-ULZ7WXOC-DOMzSJ4k.js → swimlanesDiagram-ULZ7WXOC-CMk853Ts.js} +7 -7
- package/out/renderer/assets/{time-CTAUr2Xp.js → time-CANVWGKV.js} +1 -1
- package/out/renderer/assets/{timeline-definition-Z64GVDOM-vx5MLWSt.js → timeline-definition-Z64GVDOM-qmgoeW5e.js} +2 -2
- package/out/renderer/assets/{vennDiagram-T6HMQDX7-WFytj3Mr.js → vennDiagram-T6HMQDX7-DQ2_VNNg.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-T6FBY63Y-DyYJ0Jvz.js → wardleyDiagram-T6FBY63Y-B31yGaJC.js} +3 -3
- package/out/renderer/assets/{xychartDiagram-ELKLHX3M-Ddq7vrtC.js → xychartDiagram-ELKLHX3M-A0RHYdAg.js} +2 -2
- package/out/renderer/index.html +2 -2
- package/out/resources/connector/connector.py +49 -0
- package/out/resources/skills/extension-creator/SKILL.md +46 -0
- package/out/resources/skills/extension-creator/assets/scripts/validate-extension-ui.mjs +479 -0
- package/out/resources/skills/extension-creator/references/extension-interface.md +8 -0
- package/out/resources/skills/extension-creator/references/in-repo-flow.md +1 -0
- package/out/resources/skills/extension-creator/references/project-global-flow.md +2 -1
- package/out/resources/skills/extension-creator/references/ui-components.md +21 -0
- package/out/runner.js +792 -175
- package/package.json +54 -49
- package/scripts/generate-package.mjs +3 -1
|
@@ -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-
|
|
1
|
+
import { c as compilerRuntimeExports, a as clsx, t as twMerge, j as jsxRuntimeExports, F as FaInfoCircle, I as IconButton } from "./index-CdT3pUnY.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-
|
|
2
|
-
import { A as AgentSettings, a as AiderSettings, L as LanguageSelector } from "./AgentSettings-
|
|
3
|
-
import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-
|
|
4
|
-
import "./InfoIcon-
|
|
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-CdT3pUnY.js";
|
|
2
|
+
import { A as AgentSettings, a as AiderSettings, L as LanguageSelector } from "./AgentSettings-RjfqLZQG.js";
|
|
3
|
+
import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-BOSi9xBn.js";
|
|
4
|
+
import "./InfoIcon-CFgcz5mB.js";
|
|
5
5
|
const OnboardingProviderSetup = () => {
|
|
6
6
|
const $ = compilerRuntimeExports.c(21);
|
|
7
7
|
const {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, bQ as useTranslation, j as jsxRuntimeExports,
|
|
2
|
-
import { I as InfoIcon } from "./InfoIcon-
|
|
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-CdT3pUnY.js";
|
|
2
|
+
import { I as InfoIcon } from "./InfoIcon-CFgcz5mB.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,
|
|
@@ -4502,8 +4576,199 @@ const AnthropicParameters = (t0) => {
|
|
|
4502
4576
|
}
|
|
4503
4577
|
return t4;
|
|
4504
4578
|
};
|
|
4579
|
+
const TlsSettings = (t0) => {
|
|
4580
|
+
const $ = compilerRuntimeExports.c(48);
|
|
4581
|
+
const {
|
|
4582
|
+
provider,
|
|
4583
|
+
onChange
|
|
4584
|
+
} = t0;
|
|
4585
|
+
const {
|
|
4586
|
+
t
|
|
4587
|
+
} = useTranslation();
|
|
4588
|
+
let t1;
|
|
4589
|
+
if ($[0] !== onChange || $[1] !== provider) {
|
|
4590
|
+
t1 = (checked) => {
|
|
4591
|
+
onChange({
|
|
4592
|
+
...provider,
|
|
4593
|
+
sslVerify: !checked
|
|
4594
|
+
});
|
|
4595
|
+
};
|
|
4596
|
+
$[0] = onChange;
|
|
4597
|
+
$[1] = provider;
|
|
4598
|
+
$[2] = t1;
|
|
4599
|
+
} else {
|
|
4600
|
+
t1 = $[2];
|
|
4601
|
+
}
|
|
4602
|
+
const handleSslVerifyChange = t1;
|
|
4603
|
+
let t2;
|
|
4604
|
+
if ($[3] !== onChange || $[4] !== provider) {
|
|
4605
|
+
t2 = (e) => {
|
|
4606
|
+
onChange({
|
|
4607
|
+
...provider,
|
|
4608
|
+
caCertPath: e.target.value
|
|
4609
|
+
});
|
|
4610
|
+
};
|
|
4611
|
+
$[3] = onChange;
|
|
4612
|
+
$[4] = provider;
|
|
4613
|
+
$[5] = t2;
|
|
4614
|
+
} else {
|
|
4615
|
+
t2 = $[5];
|
|
4616
|
+
}
|
|
4617
|
+
const handleCaCertPathChange = t2;
|
|
4618
|
+
let t3;
|
|
4619
|
+
if ($[6] !== t) {
|
|
4620
|
+
t3 = t("providerTls.title");
|
|
4621
|
+
$[6] = t;
|
|
4622
|
+
$[7] = t3;
|
|
4623
|
+
} else {
|
|
4624
|
+
t3 = $[7];
|
|
4625
|
+
}
|
|
4626
|
+
let t4;
|
|
4627
|
+
if ($[8] !== t3) {
|
|
4628
|
+
t4 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center text-sm font-medium gap-1", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: t3 }) });
|
|
4629
|
+
$[8] = t3;
|
|
4630
|
+
$[9] = t4;
|
|
4631
|
+
} else {
|
|
4632
|
+
t4 = $[9];
|
|
4633
|
+
}
|
|
4634
|
+
let t5;
|
|
4635
|
+
if ($[10] !== t) {
|
|
4636
|
+
t5 = t("providerTls.disableCertificateVerification");
|
|
4637
|
+
$[10] = t;
|
|
4638
|
+
$[11] = t5;
|
|
4639
|
+
} else {
|
|
4640
|
+
t5 = $[11];
|
|
4641
|
+
}
|
|
4642
|
+
const t6 = provider.sslVerify === false;
|
|
4643
|
+
let t7;
|
|
4644
|
+
if ($[12] !== handleSslVerifyChange || $[13] !== t5 || $[14] !== t6) {
|
|
4645
|
+
t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t5, checked: t6, onChange: handleSslVerifyChange, size: "md" });
|
|
4646
|
+
$[12] = handleSslVerifyChange;
|
|
4647
|
+
$[13] = t5;
|
|
4648
|
+
$[14] = t6;
|
|
4649
|
+
$[15] = t7;
|
|
4650
|
+
} else {
|
|
4651
|
+
t7 = $[15];
|
|
4652
|
+
}
|
|
4653
|
+
let t8;
|
|
4654
|
+
if ($[16] !== t) {
|
|
4655
|
+
t8 = t("providerTls.disableCertificateVerificationInfo");
|
|
4656
|
+
$[16] = t;
|
|
4657
|
+
$[17] = t8;
|
|
4658
|
+
} else {
|
|
4659
|
+
t8 = $[17];
|
|
4660
|
+
}
|
|
4661
|
+
let t9;
|
|
4662
|
+
if ($[18] !== t8) {
|
|
4663
|
+
t9 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t8 });
|
|
4664
|
+
$[18] = t8;
|
|
4665
|
+
$[19] = t9;
|
|
4666
|
+
} else {
|
|
4667
|
+
t9 = $[19];
|
|
4668
|
+
}
|
|
4669
|
+
let t10;
|
|
4670
|
+
if ($[20] !== t7 || $[21] !== t9) {
|
|
4671
|
+
t10 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
4672
|
+
t7,
|
|
4673
|
+
t9
|
|
4674
|
+
] });
|
|
4675
|
+
$[20] = t7;
|
|
4676
|
+
$[21] = t9;
|
|
4677
|
+
$[22] = t10;
|
|
4678
|
+
} else {
|
|
4679
|
+
t10 = $[22];
|
|
4680
|
+
}
|
|
4681
|
+
let t11;
|
|
4682
|
+
if ($[23] !== t) {
|
|
4683
|
+
t11 = t("providerTls.caCertPath");
|
|
4684
|
+
$[23] = t;
|
|
4685
|
+
$[24] = t11;
|
|
4686
|
+
} else {
|
|
4687
|
+
t11 = $[24];
|
|
4688
|
+
}
|
|
4689
|
+
let t12;
|
|
4690
|
+
if ($[25] !== t11) {
|
|
4691
|
+
t12 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: t11 });
|
|
4692
|
+
$[25] = t11;
|
|
4693
|
+
$[26] = t12;
|
|
4694
|
+
} else {
|
|
4695
|
+
t12 = $[26];
|
|
4696
|
+
}
|
|
4697
|
+
let t13;
|
|
4698
|
+
if ($[27] !== t) {
|
|
4699
|
+
t13 = t("providerTls.caCertPathInfo");
|
|
4700
|
+
$[27] = t;
|
|
4701
|
+
$[28] = t13;
|
|
4702
|
+
} else {
|
|
4703
|
+
t13 = $[28];
|
|
4704
|
+
}
|
|
4705
|
+
let t14;
|
|
4706
|
+
if ($[29] !== t13) {
|
|
4707
|
+
t14 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t13 });
|
|
4708
|
+
$[29] = t13;
|
|
4709
|
+
$[30] = t14;
|
|
4710
|
+
} else {
|
|
4711
|
+
t14 = $[30];
|
|
4712
|
+
}
|
|
4713
|
+
let t15;
|
|
4714
|
+
if ($[31] !== t12 || $[32] !== t14) {
|
|
4715
|
+
t15 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex space-x-2", children: [
|
|
4716
|
+
t12,
|
|
4717
|
+
t14
|
|
4718
|
+
] });
|
|
4719
|
+
$[31] = t12;
|
|
4720
|
+
$[32] = t14;
|
|
4721
|
+
$[33] = t15;
|
|
4722
|
+
} else {
|
|
4723
|
+
t15 = $[33];
|
|
4724
|
+
}
|
|
4725
|
+
const t16 = provider.caCertPath || "";
|
|
4726
|
+
const t17 = provider.sslVerify === false;
|
|
4727
|
+
let t18;
|
|
4728
|
+
if ($[34] !== t) {
|
|
4729
|
+
t18 = t("providerTls.caCertPathPlaceholder");
|
|
4730
|
+
$[34] = t;
|
|
4731
|
+
$[35] = t18;
|
|
4732
|
+
} else {
|
|
4733
|
+
t18 = $[35];
|
|
4734
|
+
}
|
|
4735
|
+
let t19;
|
|
4736
|
+
if ($[36] !== handleCaCertPathChange || $[37] !== t15 || $[38] !== t16 || $[39] !== t17 || $[40] !== t18) {
|
|
4737
|
+
t19 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t15, type: "text", value: t16, onChange: handleCaCertPathChange, disabled: t17, placeholder: t18 });
|
|
4738
|
+
$[36] = handleCaCertPathChange;
|
|
4739
|
+
$[37] = t15;
|
|
4740
|
+
$[38] = t16;
|
|
4741
|
+
$[39] = t17;
|
|
4742
|
+
$[40] = t18;
|
|
4743
|
+
$[41] = t19;
|
|
4744
|
+
} else {
|
|
4745
|
+
t19 = $[41];
|
|
4746
|
+
}
|
|
4747
|
+
let t20;
|
|
4748
|
+
if ($[42] !== t10 || $[43] !== t19) {
|
|
4749
|
+
t20 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 pt-2", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2 flex flex-col", children: [
|
|
4750
|
+
t10,
|
|
4751
|
+
t19
|
|
4752
|
+
] }) });
|
|
4753
|
+
$[42] = t10;
|
|
4754
|
+
$[43] = t19;
|
|
4755
|
+
$[44] = t20;
|
|
4756
|
+
} else {
|
|
4757
|
+
t20 = $[44];
|
|
4758
|
+
}
|
|
4759
|
+
let t21;
|
|
4760
|
+
if ($[45] !== t20 || $[46] !== t4) {
|
|
4761
|
+
t21 = /* @__PURE__ */ jsxRuntimeExports.jsx(Accordion, { title: t4, className: "border rounded-md border-border-default", children: t20 });
|
|
4762
|
+
$[45] = t20;
|
|
4763
|
+
$[46] = t4;
|
|
4764
|
+
$[47] = t21;
|
|
4765
|
+
} else {
|
|
4766
|
+
t21 = $[47];
|
|
4767
|
+
}
|
|
4768
|
+
return t21;
|
|
4769
|
+
};
|
|
4505
4770
|
const AnthropicCompatibleParameters = (t0) => {
|
|
4506
|
-
const $ = compilerRuntimeExports.c(
|
|
4771
|
+
const $ = compilerRuntimeExports.c(33);
|
|
4507
4772
|
const {
|
|
4508
4773
|
provider,
|
|
4509
4774
|
onChange
|
|
@@ -4580,50 +4845,61 @@ const AnthropicCompatibleParameters = (t0) => {
|
|
|
4580
4845
|
t5 = $[15];
|
|
4581
4846
|
}
|
|
4582
4847
|
let t6;
|
|
4583
|
-
if ($[16] !==
|
|
4584
|
-
t6 =
|
|
4585
|
-
$[16] =
|
|
4586
|
-
$[17] =
|
|
4848
|
+
if ($[16] !== onChange || $[17] !== provider) {
|
|
4849
|
+
t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(TlsSettings, { provider, onChange });
|
|
4850
|
+
$[16] = onChange;
|
|
4851
|
+
$[17] = provider;
|
|
4852
|
+
$[18] = t6;
|
|
4587
4853
|
} else {
|
|
4588
|
-
t6 = $[
|
|
4854
|
+
t6 = $[18];
|
|
4589
4855
|
}
|
|
4590
4856
|
let t7;
|
|
4591
|
-
if ($[
|
|
4592
|
-
t7 =
|
|
4593
|
-
source: anthropicApiKeyEnv.source
|
|
4594
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
4595
|
-
envVar: "ANTHROPIC_API_KEY"
|
|
4596
|
-
});
|
|
4597
|
-
$[18] = anthropicApiKeyEnv;
|
|
4857
|
+
if ($[19] !== t) {
|
|
4858
|
+
t7 = t("anthropic.apiKey");
|
|
4598
4859
|
$[19] = t;
|
|
4599
4860
|
$[20] = t7;
|
|
4600
4861
|
} else {
|
|
4601
4862
|
t7 = $[20];
|
|
4602
4863
|
}
|
|
4603
4864
|
let t8;
|
|
4604
|
-
if ($[21] !==
|
|
4605
|
-
t8 =
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
$[
|
|
4865
|
+
if ($[21] !== anthropicApiKeyEnv || $[22] !== t) {
|
|
4866
|
+
t8 = anthropicApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
|
|
4867
|
+
source: anthropicApiKeyEnv.source
|
|
4868
|
+
}) : t("settings.agent.envVarPlaceholder", {
|
|
4869
|
+
envVar: "ANTHROPIC_API_KEY"
|
|
4870
|
+
});
|
|
4871
|
+
$[21] = anthropicApiKeyEnv;
|
|
4872
|
+
$[22] = t;
|
|
4873
|
+
$[23] = t8;
|
|
4611
4874
|
} else {
|
|
4612
|
-
t8 = $[
|
|
4875
|
+
t8 = $[23];
|
|
4613
4876
|
}
|
|
4614
4877
|
let t9;
|
|
4615
|
-
if ($[26] !==
|
|
4616
|
-
t9 = /* @__PURE__ */ jsxRuntimeExports.
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
]
|
|
4620
|
-
$[26] = t5;
|
|
4878
|
+
if ($[24] !== apiKey || $[25] !== handleApiKeyChange || $[26] !== t7 || $[27] !== t8) {
|
|
4879
|
+
t9 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t7, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t8 });
|
|
4880
|
+
$[24] = apiKey;
|
|
4881
|
+
$[25] = handleApiKeyChange;
|
|
4882
|
+
$[26] = t7;
|
|
4621
4883
|
$[27] = t8;
|
|
4622
4884
|
$[28] = t9;
|
|
4623
4885
|
} else {
|
|
4624
4886
|
t9 = $[28];
|
|
4625
4887
|
}
|
|
4626
|
-
|
|
4888
|
+
let t10;
|
|
4889
|
+
if ($[29] !== t5 || $[30] !== t6 || $[31] !== t9) {
|
|
4890
|
+
t10 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
|
|
4891
|
+
t5,
|
|
4892
|
+
t6,
|
|
4893
|
+
t9
|
|
4894
|
+
] });
|
|
4895
|
+
$[29] = t5;
|
|
4896
|
+
$[30] = t6;
|
|
4897
|
+
$[31] = t9;
|
|
4898
|
+
$[32] = t10;
|
|
4899
|
+
} else {
|
|
4900
|
+
t10 = $[32];
|
|
4901
|
+
}
|
|
4902
|
+
return t10;
|
|
4627
4903
|
};
|
|
4628
4904
|
const AzureParameters = (t0) => {
|
|
4629
4905
|
const $ = compilerRuntimeExports.c(50);
|
|
@@ -6696,7 +6972,7 @@ const OpenAiParameters = (t0) => {
|
|
|
6696
6972
|
return t9;
|
|
6697
6973
|
};
|
|
6698
6974
|
const OpenAiCompatibleParameters = (t0) => {
|
|
6699
|
-
const $ = compilerRuntimeExports.c(
|
|
6975
|
+
const $ = compilerRuntimeExports.c(37);
|
|
6700
6976
|
const {
|
|
6701
6977
|
provider,
|
|
6702
6978
|
onChange
|
|
@@ -6773,61 +7049,72 @@ const OpenAiCompatibleParameters = (t0) => {
|
|
|
6773
7049
|
t5 = $[15];
|
|
6774
7050
|
}
|
|
6775
7051
|
let t6;
|
|
6776
|
-
if ($[16] !==
|
|
6777
|
-
t6 =
|
|
6778
|
-
$[16] =
|
|
6779
|
-
$[17] =
|
|
7052
|
+
if ($[16] !== onChange || $[17] !== provider) {
|
|
7053
|
+
t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(TlsSettings, { provider, onChange });
|
|
7054
|
+
$[16] = onChange;
|
|
7055
|
+
$[17] = provider;
|
|
7056
|
+
$[18] = t6;
|
|
6780
7057
|
} else {
|
|
6781
|
-
t6 = $[
|
|
7058
|
+
t6 = $[18];
|
|
6782
7059
|
}
|
|
6783
7060
|
let t7;
|
|
6784
|
-
if ($[
|
|
6785
|
-
t7 =
|
|
6786
|
-
source: openAiApiKeyEnv.source
|
|
6787
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
6788
|
-
envVar: "OPENAI_API_KEY"
|
|
6789
|
-
});
|
|
6790
|
-
$[18] = openAiApiKeyEnv;
|
|
7061
|
+
if ($[19] !== t) {
|
|
7062
|
+
t7 = t("openai.apiKey");
|
|
6791
7063
|
$[19] = t;
|
|
6792
7064
|
$[20] = t7;
|
|
6793
7065
|
} else {
|
|
6794
7066
|
t7 = $[20];
|
|
6795
7067
|
}
|
|
6796
7068
|
let t8;
|
|
6797
|
-
if ($[21] !==
|
|
6798
|
-
t8 =
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
$[
|
|
7069
|
+
if ($[21] !== openAiApiKeyEnv || $[22] !== t) {
|
|
7070
|
+
t8 = openAiApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
|
|
7071
|
+
source: openAiApiKeyEnv.source
|
|
7072
|
+
}) : t("settings.agent.envVarPlaceholder", {
|
|
7073
|
+
envVar: "OPENAI_API_KEY"
|
|
7074
|
+
});
|
|
7075
|
+
$[21] = openAiApiKeyEnv;
|
|
7076
|
+
$[22] = t;
|
|
7077
|
+
$[23] = t8;
|
|
6804
7078
|
} else {
|
|
6805
|
-
t8 = $[
|
|
7079
|
+
t8 = $[23];
|
|
6806
7080
|
}
|
|
6807
7081
|
let t9;
|
|
6808
|
-
if ($[26] !==
|
|
6809
|
-
t9 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
6810
|
-
$[
|
|
6811
|
-
$[
|
|
7082
|
+
if ($[24] !== apiKey || $[25] !== handleApiKeyChange || $[26] !== t7 || $[27] !== t8) {
|
|
7083
|
+
t9 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t7, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t8 });
|
|
7084
|
+
$[24] = apiKey;
|
|
7085
|
+
$[25] = handleApiKeyChange;
|
|
7086
|
+
$[26] = t7;
|
|
7087
|
+
$[27] = t8;
|
|
6812
7088
|
$[28] = t9;
|
|
6813
7089
|
} else {
|
|
6814
7090
|
t9 = $[28];
|
|
6815
7091
|
}
|
|
6816
7092
|
let t10;
|
|
6817
|
-
if ($[29] !==
|
|
6818
|
-
t10 = /* @__PURE__ */ jsxRuntimeExports.
|
|
7093
|
+
if ($[29] !== onChange || $[30] !== provider) {
|
|
7094
|
+
t10 = /* @__PURE__ */ jsxRuntimeExports.jsx(OpenAiCompatibleAdvancedSettings, { provider, onChange });
|
|
7095
|
+
$[29] = onChange;
|
|
7096
|
+
$[30] = provider;
|
|
7097
|
+
$[31] = t10;
|
|
7098
|
+
} else {
|
|
7099
|
+
t10 = $[31];
|
|
7100
|
+
}
|
|
7101
|
+
let t11;
|
|
7102
|
+
if ($[32] !== t10 || $[33] !== t5 || $[34] !== t6 || $[35] !== t9) {
|
|
7103
|
+
t11 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
|
|
6819
7104
|
t5,
|
|
6820
|
-
|
|
6821
|
-
t9
|
|
7105
|
+
t6,
|
|
7106
|
+
t9,
|
|
7107
|
+
t10
|
|
6822
7108
|
] });
|
|
6823
|
-
$[29] = t5;
|
|
6824
|
-
$[30] = t8;
|
|
6825
|
-
$[31] = t9;
|
|
6826
7109
|
$[32] = t10;
|
|
7110
|
+
$[33] = t5;
|
|
7111
|
+
$[34] = t6;
|
|
7112
|
+
$[35] = t9;
|
|
7113
|
+
$[36] = t11;
|
|
6827
7114
|
} else {
|
|
6828
|
-
|
|
7115
|
+
t11 = $[36];
|
|
6829
7116
|
}
|
|
6830
|
-
return
|
|
7117
|
+
return t11;
|
|
6831
7118
|
};
|
|
6832
7119
|
const OpenCodeParameters = (t0) => {
|
|
6833
7120
|
const $ = compilerRuntimeExports.c(14);
|
|
@@ -6903,6 +7190,80 @@ const OpenCodeParameters = (t0) => {
|
|
|
6903
7190
|
}
|
|
6904
7191
|
return t5;
|
|
6905
7192
|
};
|
|
7193
|
+
const OpenCodeGoParameters = (t0) => {
|
|
7194
|
+
const $ = compilerRuntimeExports.c(14);
|
|
7195
|
+
const {
|
|
7196
|
+
provider,
|
|
7197
|
+
onChange
|
|
7198
|
+
} = t0;
|
|
7199
|
+
const {
|
|
7200
|
+
t
|
|
7201
|
+
} = useTranslation();
|
|
7202
|
+
const {
|
|
7203
|
+
apiKey
|
|
7204
|
+
} = provider;
|
|
7205
|
+
const {
|
|
7206
|
+
environmentVariable: opencodeGoApiKeyEnv
|
|
7207
|
+
} = useEffectiveEnvironmentVariable("OPENCODE_GO_API_KEY");
|
|
7208
|
+
let t1;
|
|
7209
|
+
if ($[0] !== onChange || $[1] !== provider) {
|
|
7210
|
+
t1 = (e) => {
|
|
7211
|
+
onChange({
|
|
7212
|
+
...provider,
|
|
7213
|
+
apiKey: e.target.value
|
|
7214
|
+
});
|
|
7215
|
+
};
|
|
7216
|
+
$[0] = onChange;
|
|
7217
|
+
$[1] = provider;
|
|
7218
|
+
$[2] = t1;
|
|
7219
|
+
} else {
|
|
7220
|
+
t1 = $[2];
|
|
7221
|
+
}
|
|
7222
|
+
const handleApiKeyChange = t1;
|
|
7223
|
+
let t2;
|
|
7224
|
+
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
7225
|
+
t2 = /* @__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: "Get OpenCode Go API key" }) });
|
|
7226
|
+
$[3] = t2;
|
|
7227
|
+
} else {
|
|
7228
|
+
t2 = $[3];
|
|
7229
|
+
}
|
|
7230
|
+
let t3;
|
|
7231
|
+
if ($[4] !== t) {
|
|
7232
|
+
t3 = t("opencodeGo.apiKey");
|
|
7233
|
+
$[4] = t;
|
|
7234
|
+
$[5] = t3;
|
|
7235
|
+
} else {
|
|
7236
|
+
t3 = $[5];
|
|
7237
|
+
}
|
|
7238
|
+
let t4;
|
|
7239
|
+
if ($[6] !== opencodeGoApiKeyEnv || $[7] !== t) {
|
|
7240
|
+
t4 = opencodeGoApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
|
|
7241
|
+
source: opencodeGoApiKeyEnv.source
|
|
7242
|
+
}) : t("settings.agent.envVarPlaceholder", {
|
|
7243
|
+
envVar: "OPENCODE_GO_API_KEY"
|
|
7244
|
+
});
|
|
7245
|
+
$[6] = opencodeGoApiKeyEnv;
|
|
7246
|
+
$[7] = t;
|
|
7247
|
+
$[8] = t4;
|
|
7248
|
+
} else {
|
|
7249
|
+
t4 = $[8];
|
|
7250
|
+
}
|
|
7251
|
+
let t5;
|
|
7252
|
+
if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
|
|
7253
|
+
t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
|
|
7254
|
+
t2,
|
|
7255
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 })
|
|
7256
|
+
] });
|
|
7257
|
+
$[9] = apiKey;
|
|
7258
|
+
$[10] = handleApiKeyChange;
|
|
7259
|
+
$[11] = t3;
|
|
7260
|
+
$[12] = t4;
|
|
7261
|
+
$[13] = t5;
|
|
7262
|
+
} else {
|
|
7263
|
+
t5 = $[13];
|
|
7264
|
+
}
|
|
7265
|
+
return t5;
|
|
7266
|
+
};
|
|
6906
7267
|
const OpenRouterParameters = (t0) => {
|
|
6907
7268
|
const $ = compilerRuntimeExports.c(24);
|
|
6908
7269
|
const {
|
|
@@ -7567,6 +7928,7 @@ const PROVIDER_PARAMETERS_MAP = {
|
|
|
7567
7928
|
openai: OpenAiParameters,
|
|
7568
7929
|
"openai-compatible": OpenAiCompatibleParameters,
|
|
7569
7930
|
opencode: OpenCodeParameters,
|
|
7931
|
+
"opencode-go": OpenCodeGoParameters,
|
|
7570
7932
|
openrouter: OpenRouterParameters,
|
|
7571
7933
|
requesty: RequestyParameters,
|
|
7572
7934
|
synthetic: SyntheticParameters,
|
|
@@ -8079,6 +8441,7 @@ const PROVIDER_ICON_MAP = {
|
|
|
8079
8441
|
openai: OpenAiIcon,
|
|
8080
8442
|
"openai-compatible": OpenAiCompatibleIcon,
|
|
8081
8443
|
opencode: OpenCodeIcon,
|
|
8444
|
+
"opencode-go": OpenCodeGoIcon,
|
|
8082
8445
|
openrouter: OpenRouterIcon,
|
|
8083
8446
|
requesty: RequestyIcon,
|
|
8084
8447
|
synthetic: SyntheticIcon,
|