@aiderdesk/aiderdesk 0.79.1 → 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-DlLAuLnM.js → AgentSettings-RjfqLZQG.js} +399 -358
- package/out/renderer/assets/{InfoIcon-C1TeBp5L.js → InfoIcon-CFgcz5mB.js} +1 -1
- package/out/renderer/assets/{Onboarding-Dh8FRGur.js → Onboarding-C4nwN-kW.js} +4 -4
- package/out/renderer/assets/{ProviderHeader-VLzB9p23.js → ProviderHeader-BOSi9xBn.js} +152 -2
- package/out/renderer/assets/{SettingsPage-B3CLZ8tc.js → SettingsPage-BRdecSVb.js} +436 -281
- package/out/renderer/assets/{UsageDashboard-D83T3HwC.js → UsageDashboard-BgZL-dQY.js} +3 -3
- package/out/renderer/assets/{abnfDiagram-N423BO3Z-BRDZM1mW.js → abnfDiagram-N423BO3Z-hgpuOTGf.js} +4 -4
- package/out/renderer/assets/{arc-CbzEqNM1.js → arc-DQ5Ln5Ec.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-T3A2C74G-Bvd5Je3R.js → architectureDiagram-T3A2C74G-BA40sSAy.js} +3 -3
- package/out/renderer/assets/{blockDiagram-VBNYF7ZC-C_NaWxTi.js → blockDiagram-VBNYF7ZC-DUxxZcAH.js} +4 -4
- package/out/renderer/assets/{c4Diagram-5PPSVZJV-DguNzZCo.js → c4Diagram-5PPSVZJV-Q_66gIRD.js} +2 -2
- package/out/renderer/assets/{channel-Cnrvb6bA.js → channel-_htilMz7.js} +1 -1
- package/out/renderer/assets/{chunk-2GRJ4B5K-r99iLppH.js → chunk-2GRJ4B5K-BInTwfcl.js} +1 -1
- package/out/renderer/assets/{chunk-2Q5K7J3B-C3uutlD6.js → chunk-2Q5K7J3B-Dmzf8-EI.js} +1 -1
- package/out/renderer/assets/{chunk-5RXB4S5H-CR6Mx5Iz.js → chunk-5RXB4S5H-DJM3NSZZ.js} +4 -4
- package/out/renderer/assets/{chunk-5VM5RSS4-X7PVl-ef.js → chunk-5VM5RSS4-CbTpT-mF.js} +1 -1
- package/out/renderer/assets/{chunk-6Q2QTUOP-JehvOsAC.js → chunk-6Q2QTUOP-m3hSoymD.js} +1 -1
- package/out/renderer/assets/{chunk-GF5L2VYU-B3ppa4PP.js → chunk-GF5L2VYU-Bb4ovOLO.js} +5 -5
- package/out/renderer/assets/{chunk-JWPE2WC7-CFZRPI77.js → chunk-JWPE2WC7-BnvIn2Wx.js} +1 -1
- package/out/renderer/assets/{chunk-KBJHAD2P-BBjc6zok.js → chunk-KBJHAD2P-CDfqaLOK.js} +1 -1
- package/out/renderer/assets/{chunk-RYQCIY6F-BZvHC_mQ.js → chunk-RYQCIY6F-CL9GnfZn.js} +3 -3
- package/out/renderer/assets/{chunk-XXDRQBXY-Ck-RRkxC.js → chunk-XXDRQBXY-W8IA58aV.js} +1 -1
- package/out/renderer/assets/{classDiagram-JCYQIIEL-NNfXWT4B.js → classDiagram-JCYQIIEL-CJOMvWBr.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-OCEON4UE-NNfXWT4B.js → classDiagram-v2-OCEON4UE-CJOMvWBr.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-JH36ORCC-CViVoXgl.js → cose-bilkent-JH36ORCC-DZx8zB-p.js} +1 -1
- package/out/renderer/assets/{cynefin-VYW2F7L2-DX5D0uIU.js → cynefin-VYW2F7L2-B2g7If-Z.js} +1 -1
- package/out/renderer/assets/{cynefinDiagram-MW4NZA55-Cp2wCsOt.js → cynefinDiagram-MW4NZA55-C58XMelO.js} +3 -3
- package/out/renderer/assets/{dagre-VZM6K2ZE-eNIYYO0O.js → dagre-VZM6K2ZE-BQ2aOE4I.js} +5 -5
- package/out/renderer/assets/{diagram-7IWD3JNH-Bg1vGWhI.js → diagram-7IWD3JNH-Fcr4bcbO.js} +4 -4
- package/out/renderer/assets/{diagram-B4RE2ZJO-D_JxirT4.js → diagram-B4RE2ZJO-D3yvQRyf.js} +3 -3
- package/out/renderer/assets/{diagram-LBJQPF4R-LQpr0xek.js → diagram-LBJQPF4R-CwZ6wYZu.js} +3 -3
- package/out/renderer/assets/{diagram-Q27KOJAE-BL-MLj4m.js → diagram-Q27KOJAE-BWQ6cHxk.js} +4 -4
- package/out/renderer/assets/{diagram-UB23O5K3-BlUt9ZmL.js → diagram-UB23O5K3-DYvLjKje.js} +3 -3
- package/out/renderer/assets/{ebnfDiagram-BXEA7PRR-BGckdM6s.js → ebnfDiagram-BXEA7PRR-DXgsYfPv.js} +4 -4
- package/out/renderer/assets/{erDiagram-JOGREHBK-DmWOmMZk.js → erDiagram-JOGREHBK-p1b6UAmn.js} +4 -4
- package/out/renderer/assets/{flowDiagram-UKHOOZJN-lOEUIjdB.js → flowDiagram-UKHOOZJN-CPc3hU6X.js} +6 -6
- package/out/renderer/assets/{ganttDiagram-PKOTCBZU-CZtmjxYB.js → ganttDiagram-PKOTCBZU-AnoSI0H5.js} +3 -3
- package/out/renderer/assets/{gitGraphDiagram-DS77QQ5N-DE5y9iux.js → gitGraphDiagram-DS77QQ5N-DUrmxtgn.js} +4 -4
- package/out/renderer/assets/{graph-DSMw-VBh.js → graph-vYK0uWuK.js} +1 -1
- package/out/renderer/assets/{index-DMAjk3_P.js → index-2-UGHPQa.js} +1 -1
- package/out/renderer/assets/{index-qfaXmy0Y.js → index-5BVN9RK6.js} +1 -1
- package/out/renderer/assets/{index-DD6bNfA0.js → index-7rQhuL56.js} +5 -5
- package/out/renderer/assets/{index-Dz4P0Q9P.js → index-B1SEEb-0.js} +2 -2
- package/out/renderer/assets/{index-CZCIyO4U.js → index-B24wrWKi.js} +5 -5
- package/out/renderer/assets/{index-BRDlnXGV.js → index-BGA5JZSf.js} +2 -2
- package/out/renderer/assets/{index-vAx0mdd8.js → index-BIgrNG0o.js} +4 -4
- package/out/renderer/assets/{index-1JC2_Wd3.js → index-BVKpsNAU.js} +2 -2
- package/out/renderer/assets/{index-DH7BFHAa.css → index-BYUeztXU.css} +34 -7
- package/out/renderer/assets/{index-u_V0DpfA.js → index-BifPseZk.js} +5 -5
- package/out/renderer/assets/{index-BZaWk11Q.js → index-BpkJELWc.js} +1 -1
- package/out/renderer/assets/{index-ChixxdQV.js → index-BqRnRmje.js} +2 -2
- package/out/renderer/assets/{index-tUvIVnIS.js → index-C1NKfASK.js} +1 -1
- package/out/renderer/assets/{index-Dgmvrciv.js → index-C2-wYt7Y.js} +3 -3
- package/out/renderer/assets/{index-Brdnttud.js → index-C_Fb5x1i.js} +2 -2
- package/out/renderer/assets/{index-DMzzmyZE.js → index-CdT3pUnY.js} +967 -702
- package/out/renderer/assets/{index-mytNi5ms.js → index-Cf1CrkZj.js} +1 -1
- package/out/renderer/assets/{index-ebiHDnXl.js → index-CoNqogfR.js} +2 -2
- package/out/renderer/assets/{index-CgczHs0-.js → index-Cqa6STOy.js} +96 -3
- package/out/renderer/assets/{index-BbLpDvA3.js → index-CvO-4NeV.js} +5 -5
- package/out/renderer/assets/{index-UQ28Qgl7.js → index-Czcs8fbp.js} +5 -5
- package/out/renderer/assets/{index-Bjy__dpB.js → index-D44yGQ14.js} +2 -2
- package/out/renderer/assets/{index-Buw1KWG-.js → index-DMloO_bp.js} +1 -1
- package/out/renderer/assets/{index-OJ1PmhTm.js → index-DSu0qPyw.js} +2 -2
- package/out/renderer/assets/{index-BDYZfF3J.js → index-DVcmtW9G.js} +2 -2
- package/out/renderer/assets/{index-BfqM1vG3.js → index-DaN69KHN.js} +1 -1
- package/out/renderer/assets/{index-Cwqf0NbI.js → index-DfCyq42Y.js} +2 -2
- package/out/renderer/assets/{index-DZze20ab.js → index-Dr6JmYfP.js} +2 -2
- package/out/renderer/assets/{index-D4xEcHbg.js → index-Dv3o3ivg.js} +2 -2
- package/out/renderer/assets/{index-DDiIQL3b.js → index-DvwUI0SE.js} +3 -3
- package/out/renderer/assets/{index-B-wIGFrM.js → index-Eyz2tQvi.js} +1 -1
- package/out/renderer/assets/{index-MDUSPmtz.js → index-XMEQr7jT.js} +5 -5
- package/out/renderer/assets/{index--__lgq6v.js → index-ZQnYDsOy.js} +1 -1
- package/out/renderer/assets/{infoDiagram-6WML65LV-DM7_nqt3.js → infoDiagram-6WML65LV-DNH3Ekcy.js} +2 -2
- package/out/renderer/assets/{ishikawaDiagram-WSZJBQD7-DrWSKswv.js → ishikawaDiagram-WSZJBQD7-K6TT3dje.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-NVQOT4AX-Csn7KuKV.js → journeyDiagram-NVQOT4AX-BYzsiNS3.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-CTchQKOk.js → jsx-dev-runtime-1UHusS46.js} +1 -1
- package/out/renderer/assets/{kanban-definition-27J2QSJJ-BRXIW-y6.js → kanban-definition-27J2QSJJ-IPlTS6oS.js} +2 -2
- package/out/renderer/assets/{layout-CjgVHH-8.js → layout-BHT9iWoc.js} +3 -3
- package/out/renderer/assets/{linear-7N8jztD_.js → linear-2jv-chKc.js} +1 -1
- package/out/renderer/assets/{map-fXOUEC9w.js → map-D6nZDKFn.js} +2 -2
- package/out/renderer/assets/{mindmap-definition-FAOFIHXS-eH5ANg_6.js → mindmap-definition-FAOFIHXS-BHi7Irsm.js} +3 -3
- package/out/renderer/assets/{pegDiagram-VL7TDLO6-_S1HcQ4v.js → pegDiagram-VL7TDLO6-C6Y77RxO.js} +4 -4
- package/out/renderer/assets/{pieDiagram-7S7Q4E2Y-BbkejzGW.js → pieDiagram-7S7Q4E2Y-D-e8_L26.js} +4 -4
- package/out/renderer/assets/{quadrantDiagram-CIZ2JOQS-C9-OKkJL.js → quadrantDiagram-CIZ2JOQS-CXhTLAqI.js} +2 -2
- package/out/renderer/assets/{railroadDiagram-AXF67PYL-9VliFuUM.js → railroadDiagram-AXF67PYL-reHXCR9j.js} +4 -4
- package/out/renderer/assets/{requirementDiagram-LRYGKXZP-Dr0S14Mj.js → requirementDiagram-LRYGKXZP-tH6hF_PA.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-W5VNT64P--k6pZLfZ.js → sankeyDiagram-W5VNT64P-CGB88G5d.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-SI44F4Z6-Bx4rTgvS.js → sequenceDiagram-SI44F4Z6-fEt9jAut.js} +3 -3
- package/out/renderer/assets/{sizeCapture-X5ZJPWSS-BkRX3y1x.js → sizeCapture-X5ZJPWSS-B7-Ph8fH.js} +1 -1
- package/out/renderer/assets/{stateDiagram-OKZ733FA-VF2TYKH_.js → stateDiagram-OKZ733FA-DrhieY01.js} +8 -8
- package/out/renderer/assets/{stateDiagram-v2-UEYNNEHI-BodH9nuP.js → stateDiagram-v2-UEYNNEHI-GzoBE3UI.js} +5 -5
- package/out/renderer/assets/{swimlanes-SLNWSIFB-TnShw-0l.js → swimlanes-SLNWSIFB-D4LJ6r4D.js} +6 -6
- package/out/renderer/assets/{swimlanesDiagram-ULZ7WXOC-CemoGOe8.js → swimlanesDiagram-ULZ7WXOC-CMk853Ts.js} +7 -7
- package/out/renderer/assets/{time-CTB9_khZ.js → time-CANVWGKV.js} +1 -1
- package/out/renderer/assets/{timeline-definition-Z64GVDOM-PQXf9HIJ.js → timeline-definition-Z64GVDOM-qmgoeW5e.js} +2 -2
- package/out/renderer/assets/{vennDiagram-T6HMQDX7-Db5aCF6z.js → vennDiagram-T6HMQDX7-DQ2_VNNg.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-T6FBY63Y-DI3Rr8Jy.js → wardleyDiagram-T6FBY63Y-B31yGaJC.js} +3 -3
- package/out/renderer/assets/{xychartDiagram-ELKLHX3M-CYptZ7pE.js → xychartDiagram-ELKLHX3M-A0RHYdAg.js} +2 -2
- package/out/renderer/index.html +2 -2
- 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 +512 -124
- package/package.json +53 -53
|
@@ -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,
|
|
@@ -7116,6 +7190,80 @@ const OpenCodeParameters = (t0) => {
|
|
|
7116
7190
|
}
|
|
7117
7191
|
return t5;
|
|
7118
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
|
+
};
|
|
7119
7267
|
const OpenRouterParameters = (t0) => {
|
|
7120
7268
|
const $ = compilerRuntimeExports.c(24);
|
|
7121
7269
|
const {
|
|
@@ -7780,6 +7928,7 @@ const PROVIDER_PARAMETERS_MAP = {
|
|
|
7780
7928
|
openai: OpenAiParameters,
|
|
7781
7929
|
"openai-compatible": OpenAiCompatibleParameters,
|
|
7782
7930
|
opencode: OpenCodeParameters,
|
|
7931
|
+
"opencode-go": OpenCodeGoParameters,
|
|
7783
7932
|
openrouter: OpenRouterParameters,
|
|
7784
7933
|
requesty: RequestyParameters,
|
|
7785
7934
|
synthetic: SyntheticParameters,
|
|
@@ -8292,6 +8441,7 @@ const PROVIDER_ICON_MAP = {
|
|
|
8292
8441
|
openai: OpenAiIcon,
|
|
8293
8442
|
"openai-compatible": OpenAiCompatibleIcon,
|
|
8294
8443
|
opencode: OpenCodeIcon,
|
|
8444
|
+
"opencode-go": OpenCodeGoIcon,
|
|
8295
8445
|
openrouter: OpenRouterIcon,
|
|
8296
8446
|
requesty: RequestyIcon,
|
|
8297
8447
|
synthetic: SyntheticIcon,
|