@aiderdesk/aiderdesk 0.80.0 → 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.
- package/out/renderer/assets/{AgentSettings-RjfqLZQG.js → AgentSettings-B_H7Zpgy.js} +6 -4
- package/out/renderer/assets/{InfoIcon-CFgcz5mB.js → InfoIcon-D7q9WWkf.js} +1 -1
- package/out/renderer/assets/{Onboarding-C4nwN-kW.js → Onboarding-BKjX09cc.js} +4 -4
- package/out/renderer/assets/{ProviderHeader-BOSi9xBn.js → ProviderHeader-Cs728L-d.js} +761 -547
- package/out/renderer/assets/{SettingsPage-BRdecSVb.js → SettingsPage-JucARU7D.js} +298 -263
- package/out/renderer/assets/{UsageDashboard-BgZL-dQY.js → UsageDashboard-DILP_J6x.js} +9 -13
- package/out/renderer/assets/{abnfDiagram-N423BO3Z-hgpuOTGf.js → abnfDiagram-N423BO3Z-FwzcDSg0.js} +4 -4
- package/out/renderer/assets/{arc-DQ5Ln5Ec.js → arc-BUCbLDDN.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-T3A2C74G-BA40sSAy.js → architectureDiagram-T3A2C74G-DwIgf-vu.js} +3 -3
- package/out/renderer/assets/{blockDiagram-VBNYF7ZC-DUxxZcAH.js → blockDiagram-VBNYF7ZC-mi-N7mTd.js} +4 -4
- package/out/renderer/assets/{c4Diagram-5PPSVZJV-Q_66gIRD.js → c4Diagram-5PPSVZJV-DwdgAnsC.js} +2 -2
- package/out/renderer/assets/{channel-_htilMz7.js → channel-FZb5X6MG.js} +1 -1
- package/out/renderer/assets/{chunk-2GRJ4B5K-BInTwfcl.js → chunk-2GRJ4B5K-94IZD4IQ.js} +1 -1
- package/out/renderer/assets/{chunk-2Q5K7J3B-Dmzf8-EI.js → chunk-2Q5K7J3B-KWOSRYgu.js} +1 -1
- package/out/renderer/assets/{chunk-5RXB4S5H-DJM3NSZZ.js → chunk-5RXB4S5H-B1lEzoZd.js} +4 -4
- package/out/renderer/assets/{chunk-5VM5RSS4-CbTpT-mF.js → chunk-5VM5RSS4-DU4fVgUS.js} +1 -1
- package/out/renderer/assets/{chunk-6Q2QTUOP-m3hSoymD.js → chunk-6Q2QTUOP-CfXk4iDZ.js} +1 -1
- package/out/renderer/assets/{chunk-GF5L2VYU-Bb4ovOLO.js → chunk-GF5L2VYU-CQNT5-FI.js} +5 -5
- package/out/renderer/assets/{chunk-JWPE2WC7-BnvIn2Wx.js → chunk-JWPE2WC7-BD4AfUn4.js} +1 -1
- package/out/renderer/assets/{chunk-KBJHAD2P-CDfqaLOK.js → chunk-KBJHAD2P-DHAVKPli.js} +1 -1
- package/out/renderer/assets/{chunk-RYQCIY6F-CL9GnfZn.js → chunk-RYQCIY6F-CVVFEloA.js} +3 -3
- package/out/renderer/assets/{chunk-XXDRQBXY-W8IA58aV.js → chunk-XXDRQBXY-D2JNzJXq.js} +1 -1
- package/out/renderer/assets/{classDiagram-JCYQIIEL-CJOMvWBr.js → classDiagram-JCYQIIEL-7W7lot8b.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-OCEON4UE-CJOMvWBr.js → classDiagram-v2-OCEON4UE-7W7lot8b.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-JH36ORCC-DZx8zB-p.js → cose-bilkent-JH36ORCC-CZMhh5W9.js} +1 -1
- package/out/renderer/assets/{cynefin-VYW2F7L2-B2g7If-Z.js → cynefin-VYW2F7L2-x-xDxroP.js} +1 -1
- package/out/renderer/assets/{cynefinDiagram-MW4NZA55-C58XMelO.js → cynefinDiagram-MW4NZA55-B41JtjtO.js} +3 -3
- package/out/renderer/assets/{dagre-VZM6K2ZE-BQ2aOE4I.js → dagre-VZM6K2ZE-Dj-zvUXp.js} +5 -5
- package/out/renderer/assets/{diagram-7IWD3JNH-Fcr4bcbO.js → diagram-7IWD3JNH-CFaAve_t.js} +4 -4
- package/out/renderer/assets/{diagram-B4RE2ZJO-D3yvQRyf.js → diagram-B4RE2ZJO-Dlv48H7Y.js} +3 -3
- package/out/renderer/assets/{diagram-LBJQPF4R-CwZ6wYZu.js → diagram-LBJQPF4R-BucHVRed.js} +3 -3
- package/out/renderer/assets/{diagram-Q27KOJAE-BWQ6cHxk.js → diagram-Q27KOJAE-B611lqWJ.js} +4 -4
- package/out/renderer/assets/{diagram-UB23O5K3-DYvLjKje.js → diagram-UB23O5K3-CLoEDYB7.js} +3 -3
- package/out/renderer/assets/{ebnfDiagram-BXEA7PRR-DXgsYfPv.js → ebnfDiagram-BXEA7PRR-jrXkTnrz.js} +4 -4
- package/out/renderer/assets/{erDiagram-JOGREHBK-p1b6UAmn.js → erDiagram-JOGREHBK-03zjLqsa.js} +4 -4
- package/out/renderer/assets/{flowDiagram-UKHOOZJN-CPc3hU6X.js → flowDiagram-UKHOOZJN-Bp2wNUMb.js} +6 -6
- package/out/renderer/assets/{ganttDiagram-PKOTCBZU-AnoSI0H5.js → ganttDiagram-PKOTCBZU-D43jD8yv.js} +3 -3
- package/out/renderer/assets/{gitGraphDiagram-DS77QQ5N-DUrmxtgn.js → gitGraphDiagram-DS77QQ5N-BnRYgTHV.js} +4 -4
- package/out/renderer/assets/{graph-vYK0uWuK.js → graph-Cc2_HGX0.js} +1 -1
- package/out/renderer/assets/{index-CoNqogfR.js → index-6f-oeIlk.js} +2 -2
- package/out/renderer/assets/{index-DMloO_bp.js → index-B1FCOdrT.js} +1 -1
- package/out/renderer/assets/{index-DvwUI0SE.js → index-B1zpIvcm.js} +3 -3
- package/out/renderer/assets/{index-Cf1CrkZj.js → index-B7u0PpZD.js} +1 -1
- package/out/renderer/assets/{index-Eyz2tQvi.js → index-BAmWP-pk.js} +1 -1
- package/out/renderer/assets/{index-DSu0qPyw.js → index-BD3e_Ot8.js} +2 -2
- package/out/renderer/assets/{index-Dr6JmYfP.js → index-BDNv0FnP.js} +2 -2
- package/out/renderer/assets/{index-BqRnRmje.js → index-BlIAKIdk.js} +2 -2
- package/out/renderer/assets/{index-DaN69KHN.js → index-BsROeHY9.js} +1 -1
- package/out/renderer/assets/{index-Czcs8fbp.js → index-BshLKdRe.js} +5 -5
- package/out/renderer/assets/{index-ZQnYDsOy.js → index-C1CZtLbF.js} +1 -1
- package/out/renderer/assets/{index-D44yGQ14.js → index-C5ukVhTq.js} +2 -2
- package/out/renderer/assets/{index-BIgrNG0o.js → index-C9gITpjJ.js} +4 -4
- package/out/renderer/assets/{index-XMEQr7jT.js → index-CDQDyOcK.js} +5 -5
- package/out/renderer/assets/{index-C2-wYt7Y.js → index-CIU9ZkBS.js} +3 -3
- package/out/renderer/assets/{index-5BVN9RK6.js → index-CKmzZHZf.js} +1 -1
- package/out/renderer/assets/{index-C_Fb5x1i.js → index-CLpvp3hq.js} +2 -2
- package/out/renderer/assets/{index-Cqa6STOy.js → index-CRXUdV-u.js} +3 -3
- package/out/renderer/assets/{index-CdT3pUnY.js → index-CqrtPgJE.js} +1359 -1130
- package/out/renderer/assets/{index-BpkJELWc.js → index-D3uMH-q1.js} +1 -1
- package/out/renderer/assets/{index-B24wrWKi.js → index-D8TTB4-r.js} +5 -5
- package/out/renderer/assets/{index-BYUeztXU.css → index-D98qpStd.css} +7 -7
- package/out/renderer/assets/{index-7rQhuL56.js → index-DJFjmSQJ.js} +5 -5
- package/out/renderer/assets/{index-DVcmtW9G.js → index-DTGsvPds.js} +2 -2
- package/out/renderer/assets/{index-CvO-4NeV.js → index-DVc8XWTX.js} +5 -5
- package/out/renderer/assets/{index-B1SEEb-0.js → index-DvZhzJfh.js} +2 -2
- package/out/renderer/assets/{index-BGA5JZSf.js → index-Kj4O6jrs.js} +2 -2
- package/out/renderer/assets/{index-Dv3o3ivg.js → index-KleIXLpB.js} +2 -2
- package/out/renderer/assets/{index-BVKpsNAU.js → index-LF-blgre.js} +2 -2
- package/out/renderer/assets/{index-BifPseZk.js → index-RmenzFuK.js} +5 -5
- package/out/renderer/assets/{index-DfCyq42Y.js → index-StlvWzAQ.js} +2 -2
- package/out/renderer/assets/{index-2-UGHPQa.js → index-aEJRypjl.js} +1 -1
- package/out/renderer/assets/{index-C1NKfASK.js → index-cIujfEiH.js} +1 -1
- package/out/renderer/assets/{infoDiagram-6WML65LV-DNH3Ekcy.js → infoDiagram-6WML65LV-BZrdglKf.js} +2 -2
- package/out/renderer/assets/{ishikawaDiagram-WSZJBQD7-K6TT3dje.js → ishikawaDiagram-WSZJBQD7-M3-Bx05k.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-NVQOT4AX-BYzsiNS3.js → journeyDiagram-NVQOT4AX-OUrdoMWw.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-1UHusS46.js → jsx-dev-runtime-BmYtwnS5.js} +1 -1
- package/out/renderer/assets/{kanban-definition-27J2QSJJ-IPlTS6oS.js → kanban-definition-27J2QSJJ-Bp1bLsvM.js} +2 -2
- package/out/renderer/assets/{layout-BHT9iWoc.js → layout-DHkE0LRs.js} +3 -3
- package/out/renderer/assets/{linear-2jv-chKc.js → linear-CbGhnOuY.js} +1 -1
- package/out/renderer/assets/{map-D6nZDKFn.js → map-cIUn-qth.js} +2 -2
- package/out/renderer/assets/{mindmap-definition-FAOFIHXS-BHi7Irsm.js → mindmap-definition-FAOFIHXS-Cn4b5kOp.js} +3 -3
- package/out/renderer/assets/{pegDiagram-VL7TDLO6-C6Y77RxO.js → pegDiagram-VL7TDLO6-CVKr1c2L.js} +4 -4
- package/out/renderer/assets/{pieDiagram-7S7Q4E2Y-D-e8_L26.js → pieDiagram-7S7Q4E2Y-CWcOq9Qb.js} +4 -4
- package/out/renderer/assets/{quadrantDiagram-CIZ2JOQS-CXhTLAqI.js → quadrantDiagram-CIZ2JOQS-P3JVAK0b.js} +2 -2
- package/out/renderer/assets/{railroadDiagram-AXF67PYL-reHXCR9j.js → railroadDiagram-AXF67PYL-0ofS2KCh.js} +4 -4
- package/out/renderer/assets/{requirementDiagram-LRYGKXZP-tH6hF_PA.js → requirementDiagram-LRYGKXZP-BKJvTfyp.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-W5VNT64P-CGB88G5d.js → sankeyDiagram-W5VNT64P-rhaheiUH.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-SI44F4Z6-fEt9jAut.js → sequenceDiagram-SI44F4Z6-OYjmpEqz.js} +3 -3
- package/out/renderer/assets/{sizeCapture-X5ZJPWSS-B7-Ph8fH.js → sizeCapture-X5ZJPWSS-CL0ajR5N.js} +1 -1
- package/out/renderer/assets/{stateDiagram-OKZ733FA-DrhieY01.js → stateDiagram-OKZ733FA-oiMfVXQn.js} +8 -8
- package/out/renderer/assets/{stateDiagram-v2-UEYNNEHI-GzoBE3UI.js → stateDiagram-v2-UEYNNEHI-CcFKN2iZ.js} +5 -5
- package/out/renderer/assets/{swimlanes-SLNWSIFB-D4LJ6r4D.js → swimlanes-SLNWSIFB-DVH6NvWT.js} +6 -6
- package/out/renderer/assets/{swimlanesDiagram-ULZ7WXOC-CMk853Ts.js → swimlanesDiagram-ULZ7WXOC-CsUQN2E5.js} +7 -7
- package/out/renderer/assets/{time-CANVWGKV.js → time-rV3KZfw-.js} +1 -1
- package/out/renderer/assets/{timeline-definition-Z64GVDOM-qmgoeW5e.js → timeline-definition-Z64GVDOM-E-YDHKWt.js} +2 -2
- package/out/renderer/assets/{vennDiagram-T6HMQDX7-DQ2_VNNg.js → vennDiagram-T6HMQDX7-2y9Eqtpd.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-T6FBY63Y-B31yGaJC.js → wardleyDiagram-T6FBY63Y-D_iD5USe.js} +3 -3
- package/out/renderer/assets/{xychartDiagram-ELKLHX3M-A0RHYdAg.js → xychartDiagram-ELKLHX3M-NFI2AtZ8.js} +2 -2
- package/out/renderer/index.html +2 -2
- package/out/runner.js +580 -256
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, bQ as useTranslation, j as jsxRuntimeExports, cR as Checkbox, bO as reactExports, cT as Input, cQ as Select, cU as Slider, cP as ReasoningEffort, cS as Accordion, dk as TextArea, I as IconButton, g9 as FiArrowLeft, ga as AVAILABLE_PROVIDERS, dt as useApi, du as useMcpServers, d0 as Tooltip, F as FaInfoCircle, gb as FaExternalLinkAlt, gc as FaCheck, bV as Button, dE as FaPlus, cO as getDefaultProviderParams, 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-
|
|
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-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 {
|
|
@@ -5443,7 +5443,7 @@ const BedrockParameters = (t0) => {
|
|
|
5443
5443
|
return t29;
|
|
5444
5444
|
};
|
|
5445
5445
|
const ClinePassParameters = (t0) => {
|
|
5446
|
-
const $ = compilerRuntimeExports.c(
|
|
5446
|
+
const $ = compilerRuntimeExports.c(20);
|
|
5447
5447
|
const {
|
|
5448
5448
|
provider,
|
|
5449
5449
|
onChange
|
|
@@ -5471,48 +5471,66 @@ const ClinePassParameters = (t0) => {
|
|
|
5471
5471
|
}
|
|
5472
5472
|
const handleApiKeyChange = t1;
|
|
5473
5473
|
let t2;
|
|
5474
|
-
if ($[3]
|
|
5475
|
-
t2 =
|
|
5476
|
-
$[3] =
|
|
5474
|
+
if ($[3] !== t) {
|
|
5475
|
+
t2 = t("clinepass.getApiKeyLink");
|
|
5476
|
+
$[3] = t;
|
|
5477
|
+
$[4] = t2;
|
|
5477
5478
|
} else {
|
|
5478
|
-
t2 = $[
|
|
5479
|
+
t2 = $[4];
|
|
5479
5480
|
}
|
|
5480
5481
|
let t3;
|
|
5481
|
-
if ($[
|
|
5482
|
-
t3 =
|
|
5483
|
-
$[
|
|
5484
|
-
$[
|
|
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;
|
|
5485
5486
|
} else {
|
|
5486
|
-
t3 = $[
|
|
5487
|
+
t3 = $[6];
|
|
5487
5488
|
}
|
|
5488
5489
|
let t4;
|
|
5489
|
-
if ($[
|
|
5490
|
-
t4 =
|
|
5491
|
-
source: clineApiKeyEnv.source
|
|
5492
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
5493
|
-
envVar: "CLINE_API_KEY"
|
|
5494
|
-
});
|
|
5495
|
-
$[6] = clineApiKeyEnv;
|
|
5490
|
+
if ($[7] !== t) {
|
|
5491
|
+
t4 = t("clinepass.apiKey");
|
|
5496
5492
|
$[7] = t;
|
|
5497
5493
|
$[8] = t4;
|
|
5498
5494
|
} else {
|
|
5499
5495
|
t4 = $[8];
|
|
5500
5496
|
}
|
|
5501
5497
|
let t5;
|
|
5502
|
-
if ($[9] !==
|
|
5503
|
-
t5 =
|
|
5504
|
-
|
|
5505
|
-
|
|
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
|
|
5506
5526
|
] });
|
|
5507
|
-
$[
|
|
5508
|
-
$[
|
|
5509
|
-
$[
|
|
5510
|
-
$[12] = t4;
|
|
5511
|
-
$[13] = t5;
|
|
5527
|
+
$[17] = t3;
|
|
5528
|
+
$[18] = t6;
|
|
5529
|
+
$[19] = t7;
|
|
5512
5530
|
} else {
|
|
5513
|
-
|
|
5531
|
+
t7 = $[19];
|
|
5514
5532
|
}
|
|
5515
|
-
return
|
|
5533
|
+
return t7;
|
|
5516
5534
|
};
|
|
5517
5535
|
const DeepseekParameters = (t0) => {
|
|
5518
5536
|
const $ = compilerRuntimeExports.c(52);
|
|
@@ -5841,7 +5859,7 @@ const EnableVoiceControl = (t0) => {
|
|
|
5841
5859
|
return t11;
|
|
5842
5860
|
};
|
|
5843
5861
|
const GeminiParameters = (t0) => {
|
|
5844
|
-
const $ = compilerRuntimeExports.c(
|
|
5862
|
+
const $ = compilerRuntimeExports.c(45);
|
|
5845
5863
|
const {
|
|
5846
5864
|
provider,
|
|
5847
5865
|
onChange
|
|
@@ -5906,113 +5924,123 @@ const GeminiParameters = (t0) => {
|
|
|
5906
5924
|
}
|
|
5907
5925
|
const handleVoiceEnabledChange = t3;
|
|
5908
5926
|
let t4;
|
|
5909
|
-
if ($[9]
|
|
5910
|
-
t4 =
|
|
5911
|
-
$[9] =
|
|
5927
|
+
if ($[9] !== t) {
|
|
5928
|
+
t4 = t("gemini.getApiKeyLink");
|
|
5929
|
+
$[9] = t;
|
|
5930
|
+
$[10] = t4;
|
|
5912
5931
|
} else {
|
|
5913
|
-
t4 = $[
|
|
5932
|
+
t4 = $[10];
|
|
5914
5933
|
}
|
|
5915
5934
|
let t5;
|
|
5916
|
-
if ($[
|
|
5917
|
-
t5 =
|
|
5918
|
-
$[
|
|
5919
|
-
$[
|
|
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;
|
|
5920
5939
|
} else {
|
|
5921
|
-
t5 = $[
|
|
5940
|
+
t5 = $[12];
|
|
5922
5941
|
}
|
|
5923
5942
|
let t6;
|
|
5924
|
-
if ($[
|
|
5925
|
-
t6 =
|
|
5926
|
-
source: geminiApiKeyEnv.source
|
|
5927
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
5928
|
-
envVar: "GEMINI_API_KEY"
|
|
5929
|
-
});
|
|
5930
|
-
$[12] = geminiApiKeyEnv;
|
|
5943
|
+
if ($[13] !== t) {
|
|
5944
|
+
t6 = t("gemini.apiKey");
|
|
5931
5945
|
$[13] = t;
|
|
5932
5946
|
$[14] = t6;
|
|
5933
5947
|
} else {
|
|
5934
5948
|
t6 = $[14];
|
|
5935
5949
|
}
|
|
5936
5950
|
let t7;
|
|
5937
|
-
if ($[15] !==
|
|
5938
|
-
t7 =
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
$[
|
|
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;
|
|
5944
5960
|
} else {
|
|
5945
|
-
t7 = $[
|
|
5961
|
+
t7 = $[17];
|
|
5946
5962
|
}
|
|
5947
5963
|
let t8;
|
|
5948
|
-
if ($[20] !==
|
|
5949
|
-
t8 =
|
|
5950
|
-
$[
|
|
5951
|
-
$[
|
|
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;
|
|
5952
5971
|
} else {
|
|
5953
|
-
t8 = $[
|
|
5972
|
+
t8 = $[22];
|
|
5954
5973
|
}
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
t10 = geminiBaseUrlEnv ? t("settings.agent.envVarFoundPlaceholder", {
|
|
5959
|
-
source: geminiBaseUrlEnv.source
|
|
5960
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
5961
|
-
envVar: "GEMINI_API_BASE_URL"
|
|
5962
|
-
});
|
|
5963
|
-
$[22] = geminiBaseUrlEnv;
|
|
5974
|
+
let t9;
|
|
5975
|
+
if ($[23] !== t) {
|
|
5976
|
+
t9 = t("gemini.customBaseUrl");
|
|
5964
5977
|
$[23] = t;
|
|
5965
|
-
$[24] =
|
|
5978
|
+
$[24] = t9;
|
|
5966
5979
|
} else {
|
|
5967
|
-
|
|
5980
|
+
t9 = $[24];
|
|
5968
5981
|
}
|
|
5982
|
+
const t10 = customBaseUrl || "";
|
|
5969
5983
|
let t11;
|
|
5970
|
-
if ($[25] !==
|
|
5971
|
-
t11 =
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
$[
|
|
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;
|
|
5977
5993
|
} else {
|
|
5978
|
-
t11 = $[
|
|
5994
|
+
t11 = $[27];
|
|
5979
5995
|
}
|
|
5980
5996
|
let t12;
|
|
5981
|
-
if ($[30] !==
|
|
5982
|
-
t12 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5983
|
-
$[
|
|
5984
|
-
$[
|
|
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;
|
|
5985
6003
|
$[32] = t12;
|
|
5986
6004
|
} else {
|
|
5987
6005
|
t12 = $[32];
|
|
5988
6006
|
}
|
|
5989
6007
|
let t13;
|
|
5990
|
-
if ($[33] !==
|
|
5991
|
-
t13 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5992
|
-
$[33] =
|
|
5993
|
-
$[34] =
|
|
6008
|
+
if ($[33] !== onChange || $[34] !== provider) {
|
|
6009
|
+
t13 = /* @__PURE__ */ jsxRuntimeExports.jsx(GeminiAdvancedSettings, { provider, onChange });
|
|
6010
|
+
$[33] = onChange;
|
|
6011
|
+
$[34] = provider;
|
|
5994
6012
|
$[35] = t13;
|
|
5995
6013
|
} else {
|
|
5996
6014
|
t13 = $[35];
|
|
5997
6015
|
}
|
|
5998
6016
|
let t14;
|
|
5999
|
-
if ($[36] !==
|
|
6000
|
-
t14 = /* @__PURE__ */ jsxRuntimeExports.
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
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,
|
|
6004
6030
|
t12,
|
|
6005
|
-
t13
|
|
6031
|
+
t13,
|
|
6032
|
+
t14
|
|
6006
6033
|
] });
|
|
6007
|
-
$[
|
|
6008
|
-
$[
|
|
6009
|
-
$[
|
|
6010
|
-
$[
|
|
6011
|
-
$[
|
|
6034
|
+
$[39] = t12;
|
|
6035
|
+
$[40] = t13;
|
|
6036
|
+
$[41] = t14;
|
|
6037
|
+
$[42] = t5;
|
|
6038
|
+
$[43] = t8;
|
|
6039
|
+
$[44] = t15;
|
|
6012
6040
|
} else {
|
|
6013
|
-
|
|
6041
|
+
t15 = $[44];
|
|
6014
6042
|
}
|
|
6015
|
-
return
|
|
6043
|
+
return t15;
|
|
6016
6044
|
};
|
|
6017
6045
|
const GpustackParameters = (t0) => {
|
|
6018
6046
|
const $ = compilerRuntimeExports.c(29);
|
|
@@ -6138,7 +6166,7 @@ const GpustackParameters = (t0) => {
|
|
|
6138
6166
|
return t9;
|
|
6139
6167
|
};
|
|
6140
6168
|
const GroqParameters = (t0) => {
|
|
6141
|
-
const $ = compilerRuntimeExports.c(
|
|
6169
|
+
const $ = compilerRuntimeExports.c(20);
|
|
6142
6170
|
const {
|
|
6143
6171
|
provider,
|
|
6144
6172
|
onChange
|
|
@@ -6166,51 +6194,69 @@ const GroqParameters = (t0) => {
|
|
|
6166
6194
|
}
|
|
6167
6195
|
const handleApiKeyChange = t1;
|
|
6168
6196
|
let t2;
|
|
6169
|
-
if ($[3]
|
|
6170
|
-
t2 =
|
|
6171
|
-
$[3] =
|
|
6197
|
+
if ($[3] !== t) {
|
|
6198
|
+
t2 = t("groq.getApiKeyLink");
|
|
6199
|
+
$[3] = t;
|
|
6200
|
+
$[4] = t2;
|
|
6172
6201
|
} else {
|
|
6173
|
-
t2 = $[
|
|
6202
|
+
t2 = $[4];
|
|
6174
6203
|
}
|
|
6175
6204
|
let t3;
|
|
6176
|
-
if ($[
|
|
6177
|
-
t3 =
|
|
6178
|
-
$[
|
|
6179
|
-
$[
|
|
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;
|
|
6180
6209
|
} else {
|
|
6181
|
-
t3 = $[
|
|
6210
|
+
t3 = $[6];
|
|
6182
6211
|
}
|
|
6183
6212
|
let t4;
|
|
6184
|
-
if ($[
|
|
6185
|
-
t4 =
|
|
6186
|
-
source: groqApiKeyEnv.source
|
|
6187
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
6188
|
-
envVar: "GROQ_API_KEY"
|
|
6189
|
-
});
|
|
6190
|
-
$[6] = groqApiKeyEnv;
|
|
6213
|
+
if ($[7] !== t) {
|
|
6214
|
+
t4 = t("groq.apiKey");
|
|
6191
6215
|
$[7] = t;
|
|
6192
6216
|
$[8] = t4;
|
|
6193
6217
|
} else {
|
|
6194
6218
|
t4 = $[8];
|
|
6195
6219
|
}
|
|
6196
6220
|
let t5;
|
|
6197
|
-
if ($[9] !==
|
|
6198
|
-
t5 =
|
|
6199
|
-
|
|
6200
|
-
|
|
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;
|
|
6230
|
+
} else {
|
|
6231
|
+
t5 = $[11];
|
|
6232
|
+
}
|
|
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
|
|
6201
6249
|
] });
|
|
6202
|
-
$[
|
|
6203
|
-
$[
|
|
6204
|
-
$[
|
|
6205
|
-
$[12] = t4;
|
|
6206
|
-
$[13] = t5;
|
|
6250
|
+
$[17] = t3;
|
|
6251
|
+
$[18] = t6;
|
|
6252
|
+
$[19] = t7;
|
|
6207
6253
|
} else {
|
|
6208
|
-
|
|
6254
|
+
t7 = $[19];
|
|
6209
6255
|
}
|
|
6210
|
-
return
|
|
6256
|
+
return t7;
|
|
6211
6257
|
};
|
|
6212
6258
|
const AlibabaPlanParameters = (t0) => {
|
|
6213
|
-
const $ = compilerRuntimeExports.c(
|
|
6259
|
+
const $ = compilerRuntimeExports.c(24);
|
|
6214
6260
|
const {
|
|
6215
6261
|
provider,
|
|
6216
6262
|
onChange
|
|
@@ -6238,70 +6284,80 @@ const AlibabaPlanParameters = (t0) => {
|
|
|
6238
6284
|
}
|
|
6239
6285
|
const handleApiKeyChange = t1;
|
|
6240
6286
|
let t2;
|
|
6241
|
-
if ($[3]
|
|
6242
|
-
t2 =
|
|
6243
|
-
$[3] =
|
|
6287
|
+
if ($[3] !== t) {
|
|
6288
|
+
t2 = t("alibabaPlan.getApiKeyLink");
|
|
6289
|
+
$[3] = t;
|
|
6290
|
+
$[4] = t2;
|
|
6244
6291
|
} else {
|
|
6245
|
-
t2 = $[
|
|
6292
|
+
t2 = $[4];
|
|
6246
6293
|
}
|
|
6247
6294
|
let t3;
|
|
6248
|
-
if ($[
|
|
6249
|
-
t3 =
|
|
6250
|
-
$[
|
|
6251
|
-
$[
|
|
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;
|
|
6252
6299
|
} else {
|
|
6253
|
-
t3 = $[
|
|
6300
|
+
t3 = $[6];
|
|
6254
6301
|
}
|
|
6255
6302
|
let t4;
|
|
6256
|
-
if ($[
|
|
6257
|
-
t4 =
|
|
6258
|
-
source: alibabaPlanApiKeyEnv.source
|
|
6259
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
6260
|
-
envVar: "ALIBABA_PLAN_API_KEY"
|
|
6261
|
-
});
|
|
6262
|
-
$[6] = alibabaPlanApiKeyEnv;
|
|
6303
|
+
if ($[7] !== t) {
|
|
6304
|
+
t4 = t("alibabaPlan.apiKey");
|
|
6263
6305
|
$[7] = t;
|
|
6264
6306
|
$[8] = t4;
|
|
6265
6307
|
} else {
|
|
6266
6308
|
t4 = $[8];
|
|
6267
6309
|
}
|
|
6268
6310
|
let t5;
|
|
6269
|
-
if ($[9] !==
|
|
6270
|
-
t5 =
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
$[
|
|
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;
|
|
6276
6320
|
} else {
|
|
6277
|
-
t5 = $[
|
|
6321
|
+
t5 = $[11];
|
|
6278
6322
|
}
|
|
6279
6323
|
let t6;
|
|
6280
|
-
if ($[14] !==
|
|
6281
|
-
t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
6282
|
-
$[
|
|
6283
|
-
$[
|
|
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;
|
|
6284
6330
|
$[16] = t6;
|
|
6285
6331
|
} else {
|
|
6286
6332
|
t6 = $[16];
|
|
6287
6333
|
}
|
|
6288
6334
|
let t7;
|
|
6289
|
-
if ($[17] !==
|
|
6290
|
-
t7 = /* @__PURE__ */ jsxRuntimeExports.
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
t6
|
|
6294
|
-
] });
|
|
6295
|
-
$[17] = t5;
|
|
6296
|
-
$[18] = t6;
|
|
6335
|
+
if ($[17] !== onChange || $[18] !== provider) {
|
|
6336
|
+
t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(AlibabaPlanThinkingSettings, { provider, onChange });
|
|
6337
|
+
$[17] = onChange;
|
|
6338
|
+
$[18] = provider;
|
|
6297
6339
|
$[19] = t7;
|
|
6298
6340
|
} else {
|
|
6299
6341
|
t7 = $[19];
|
|
6300
6342
|
}
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
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;
|
|
6358
|
+
};
|
|
6359
|
+
const KimiPlanParameters = (t0) => {
|
|
6360
|
+
const $ = compilerRuntimeExports.c(20);
|
|
6305
6361
|
const {
|
|
6306
6362
|
provider,
|
|
6307
6363
|
onChange
|
|
@@ -6329,48 +6385,66 @@ const KimiPlanParameters = (t0) => {
|
|
|
6329
6385
|
}
|
|
6330
6386
|
const handleApiKeyChange = t1;
|
|
6331
6387
|
let t2;
|
|
6332
|
-
if ($[3]
|
|
6333
|
-
t2 =
|
|
6334
|
-
$[3] =
|
|
6388
|
+
if ($[3] !== t) {
|
|
6389
|
+
t2 = t("kimiPlan.getApiKeyLink");
|
|
6390
|
+
$[3] = t;
|
|
6391
|
+
$[4] = t2;
|
|
6335
6392
|
} else {
|
|
6336
|
-
t2 = $[
|
|
6393
|
+
t2 = $[4];
|
|
6337
6394
|
}
|
|
6338
6395
|
let t3;
|
|
6339
|
-
if ($[
|
|
6340
|
-
t3 =
|
|
6341
|
-
$[
|
|
6342
|
-
$[
|
|
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;
|
|
6343
6400
|
} else {
|
|
6344
|
-
t3 = $[
|
|
6401
|
+
t3 = $[6];
|
|
6345
6402
|
}
|
|
6346
6403
|
let t4;
|
|
6347
|
-
if ($[
|
|
6348
|
-
t4 =
|
|
6349
|
-
source: kimiPlanApiKeyEnv.source
|
|
6350
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
6351
|
-
envVar: "KIMI_PLAN_API_KEY"
|
|
6352
|
-
});
|
|
6353
|
-
$[6] = kimiPlanApiKeyEnv;
|
|
6404
|
+
if ($[7] !== t) {
|
|
6405
|
+
t4 = t("kimiPlan.apiKey");
|
|
6354
6406
|
$[7] = t;
|
|
6355
6407
|
$[8] = t4;
|
|
6356
6408
|
} else {
|
|
6357
6409
|
t4 = $[8];
|
|
6358
6410
|
}
|
|
6359
6411
|
let t5;
|
|
6360
|
-
if ($[9] !==
|
|
6361
|
-
t5 =
|
|
6362
|
-
|
|
6363
|
-
|
|
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
|
|
6364
6440
|
] });
|
|
6365
|
-
$[
|
|
6366
|
-
$[
|
|
6367
|
-
$[
|
|
6368
|
-
$[12] = t4;
|
|
6369
|
-
$[13] = t5;
|
|
6441
|
+
$[17] = t3;
|
|
6442
|
+
$[18] = t6;
|
|
6443
|
+
$[19] = t7;
|
|
6370
6444
|
} else {
|
|
6371
|
-
|
|
6445
|
+
t7 = $[19];
|
|
6372
6446
|
}
|
|
6373
|
-
return
|
|
6447
|
+
return t7;
|
|
6374
6448
|
};
|
|
6375
6449
|
const LitellmParameters = (t0) => {
|
|
6376
6450
|
const $ = compilerRuntimeExports.c(29);
|
|
@@ -6496,7 +6570,7 @@ const LitellmParameters = (t0) => {
|
|
|
6496
6570
|
return t9;
|
|
6497
6571
|
};
|
|
6498
6572
|
const MinimaxParameters = (t0) => {
|
|
6499
|
-
const $ = compilerRuntimeExports.c(
|
|
6573
|
+
const $ = compilerRuntimeExports.c(20);
|
|
6500
6574
|
const {
|
|
6501
6575
|
provider,
|
|
6502
6576
|
onChange
|
|
@@ -6526,52 +6600,70 @@ const MinimaxParameters = (t0) => {
|
|
|
6526
6600
|
}
|
|
6527
6601
|
const handleApiKeyChange = t1;
|
|
6528
6602
|
let t2;
|
|
6529
|
-
if ($[3]
|
|
6530
|
-
t2 =
|
|
6531
|
-
$[3] =
|
|
6603
|
+
if ($[3] !== t) {
|
|
6604
|
+
t2 = t("minimax.getApiKeyLink");
|
|
6605
|
+
$[3] = t;
|
|
6606
|
+
$[4] = t2;
|
|
6532
6607
|
} else {
|
|
6533
|
-
t2 = $[
|
|
6608
|
+
t2 = $[4];
|
|
6534
6609
|
}
|
|
6535
6610
|
let t3;
|
|
6536
|
-
if ($[
|
|
6537
|
-
t3 =
|
|
6538
|
-
$[
|
|
6539
|
-
$[
|
|
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;
|
|
6540
6615
|
} else {
|
|
6541
|
-
t3 = $[
|
|
6616
|
+
t3 = $[6];
|
|
6542
6617
|
}
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
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", {
|
|
6547
6630
|
source: minimaxApiKeyEnv.source
|
|
6548
6631
|
}) : t("settings.agent.envVarPlaceholder", {
|
|
6549
6632
|
envVar: "MINIMAX_API_KEY"
|
|
6550
6633
|
});
|
|
6551
|
-
$[
|
|
6552
|
-
$[
|
|
6553
|
-
$[
|
|
6634
|
+
$[9] = minimaxApiKeyEnv;
|
|
6635
|
+
$[10] = t;
|
|
6636
|
+
$[11] = t6;
|
|
6554
6637
|
} else {
|
|
6555
|
-
|
|
6638
|
+
t6 = $[11];
|
|
6556
6639
|
}
|
|
6557
|
-
let
|
|
6558
|
-
if ($[
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
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
|
|
6562
6656
|
] });
|
|
6563
|
-
$[
|
|
6564
|
-
$[
|
|
6565
|
-
$[
|
|
6566
|
-
$[12] = t5;
|
|
6567
|
-
$[13] = t6;
|
|
6657
|
+
$[17] = t3;
|
|
6658
|
+
$[18] = t7;
|
|
6659
|
+
$[19] = t8;
|
|
6568
6660
|
} else {
|
|
6569
|
-
|
|
6661
|
+
t8 = $[19];
|
|
6570
6662
|
}
|
|
6571
|
-
return
|
|
6663
|
+
return t8;
|
|
6572
6664
|
};
|
|
6573
6665
|
const MistralParameters = (t0) => {
|
|
6574
|
-
const $ = compilerRuntimeExports.c(
|
|
6666
|
+
const $ = compilerRuntimeExports.c(20);
|
|
6575
6667
|
const {
|
|
6576
6668
|
provider,
|
|
6577
6669
|
onChange
|
|
@@ -6599,51 +6691,69 @@ const MistralParameters = (t0) => {
|
|
|
6599
6691
|
}
|
|
6600
6692
|
const handleApiKeyChange = t1;
|
|
6601
6693
|
let t2;
|
|
6602
|
-
if ($[3]
|
|
6603
|
-
t2 =
|
|
6604
|
-
$[3] =
|
|
6694
|
+
if ($[3] !== t) {
|
|
6695
|
+
t2 = t("mistral.getApiKeyLink");
|
|
6696
|
+
$[3] = t;
|
|
6697
|
+
$[4] = t2;
|
|
6605
6698
|
} else {
|
|
6606
|
-
t2 = $[
|
|
6699
|
+
t2 = $[4];
|
|
6607
6700
|
}
|
|
6608
6701
|
let t3;
|
|
6609
|
-
if ($[
|
|
6610
|
-
t3 =
|
|
6611
|
-
$[
|
|
6612
|
-
$[
|
|
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;
|
|
6613
6706
|
} else {
|
|
6614
|
-
t3 = $[
|
|
6707
|
+
t3 = $[6];
|
|
6615
6708
|
}
|
|
6616
6709
|
let t4;
|
|
6617
|
-
if ($[
|
|
6618
|
-
t4 =
|
|
6619
|
-
source: mistralApiKeyEnv.source
|
|
6620
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
6621
|
-
envVar: "MISTRAL_API_KEY"
|
|
6622
|
-
});
|
|
6623
|
-
$[6] = mistralApiKeyEnv;
|
|
6710
|
+
if ($[7] !== t) {
|
|
6711
|
+
t4 = t("mistral.apiKey");
|
|
6624
6712
|
$[7] = t;
|
|
6625
6713
|
$[8] = t4;
|
|
6626
6714
|
} else {
|
|
6627
6715
|
t4 = $[8];
|
|
6628
6716
|
}
|
|
6629
6717
|
let t5;
|
|
6630
|
-
if ($[9] !==
|
|
6631
|
-
t5 =
|
|
6632
|
-
|
|
6633
|
-
|
|
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
|
|
6634
6746
|
] });
|
|
6635
|
-
$[
|
|
6636
|
-
$[
|
|
6637
|
-
$[
|
|
6638
|
-
$[12] = t4;
|
|
6639
|
-
$[13] = t5;
|
|
6747
|
+
$[17] = t3;
|
|
6748
|
+
$[18] = t6;
|
|
6749
|
+
$[19] = t7;
|
|
6640
6750
|
} else {
|
|
6641
|
-
|
|
6751
|
+
t7 = $[19];
|
|
6642
6752
|
}
|
|
6643
|
-
return
|
|
6753
|
+
return t7;
|
|
6644
6754
|
};
|
|
6645
6755
|
const NeuralwattParameters = (t0) => {
|
|
6646
|
-
const $ = compilerRuntimeExports.c(
|
|
6756
|
+
const $ = compilerRuntimeExports.c(24);
|
|
6647
6757
|
const {
|
|
6648
6758
|
provider,
|
|
6649
6759
|
onChange
|
|
@@ -6671,67 +6781,77 @@ const NeuralwattParameters = (t0) => {
|
|
|
6671
6781
|
}
|
|
6672
6782
|
const handleApiKeyChange = t1;
|
|
6673
6783
|
let t2;
|
|
6674
|
-
if ($[3]
|
|
6675
|
-
t2 =
|
|
6676
|
-
$[3] =
|
|
6784
|
+
if ($[3] !== t) {
|
|
6785
|
+
t2 = t("neuralwatt.getApiKeyLink");
|
|
6786
|
+
$[3] = t;
|
|
6787
|
+
$[4] = t2;
|
|
6677
6788
|
} else {
|
|
6678
|
-
t2 = $[
|
|
6789
|
+
t2 = $[4];
|
|
6679
6790
|
}
|
|
6680
6791
|
let t3;
|
|
6681
|
-
if ($[
|
|
6682
|
-
t3 =
|
|
6683
|
-
$[
|
|
6684
|
-
$[
|
|
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;
|
|
6685
6796
|
} else {
|
|
6686
|
-
t3 = $[
|
|
6797
|
+
t3 = $[6];
|
|
6687
6798
|
}
|
|
6688
6799
|
let t4;
|
|
6689
|
-
if ($[
|
|
6690
|
-
t4 =
|
|
6691
|
-
source: neuralwattApiKeyEnv.source
|
|
6692
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
6693
|
-
envVar: "NEURALWATT_API_KEY"
|
|
6694
|
-
});
|
|
6695
|
-
$[6] = neuralwattApiKeyEnv;
|
|
6800
|
+
if ($[7] !== t) {
|
|
6801
|
+
t4 = t("neuralwatt.apiKey");
|
|
6696
6802
|
$[7] = t;
|
|
6697
6803
|
$[8] = t4;
|
|
6698
6804
|
} else {
|
|
6699
6805
|
t4 = $[8];
|
|
6700
6806
|
}
|
|
6701
6807
|
let t5;
|
|
6702
|
-
if ($[9] !==
|
|
6703
|
-
t5 =
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
$[
|
|
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;
|
|
6709
6817
|
} else {
|
|
6710
|
-
t5 = $[
|
|
6818
|
+
t5 = $[11];
|
|
6711
6819
|
}
|
|
6712
6820
|
let t6;
|
|
6713
|
-
if ($[14] !==
|
|
6714
|
-
t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
6715
|
-
$[
|
|
6716
|
-
$[
|
|
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;
|
|
6717
6827
|
$[16] = t6;
|
|
6718
6828
|
} else {
|
|
6719
6829
|
t6 = $[16];
|
|
6720
6830
|
}
|
|
6721
6831
|
let t7;
|
|
6722
|
-
if ($[17] !==
|
|
6723
|
-
t7 = /* @__PURE__ */ jsxRuntimeExports.
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
t6
|
|
6727
|
-
] });
|
|
6728
|
-
$[17] = t5;
|
|
6729
|
-
$[18] = t6;
|
|
6832
|
+
if ($[17] !== onChange || $[18] !== provider) {
|
|
6833
|
+
t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(NeuralwattAdvancedSettings, { provider, onChange });
|
|
6834
|
+
$[17] = onChange;
|
|
6835
|
+
$[18] = provider;
|
|
6730
6836
|
$[19] = t7;
|
|
6731
6837
|
} else {
|
|
6732
6838
|
t7 = $[19];
|
|
6733
6839
|
}
|
|
6734
|
-
|
|
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;
|
|
6735
6855
|
};
|
|
6736
6856
|
const LmStudioParameters = (t0) => {
|
|
6737
6857
|
const $ = compilerRuntimeExports.c(13);
|
|
@@ -6854,7 +6974,7 @@ const OllamaParameters = (t0) => {
|
|
|
6854
6974
|
return t4;
|
|
6855
6975
|
};
|
|
6856
6976
|
const OpenAiParameters = (t0) => {
|
|
6857
|
-
const $ = compilerRuntimeExports.c(
|
|
6977
|
+
const $ = compilerRuntimeExports.c(31);
|
|
6858
6978
|
const {
|
|
6859
6979
|
provider,
|
|
6860
6980
|
onChange
|
|
@@ -6898,78 +7018,88 @@ const OpenAiParameters = (t0) => {
|
|
|
6898
7018
|
}
|
|
6899
7019
|
const handleVoiceEnabledChange = t2;
|
|
6900
7020
|
let t3;
|
|
6901
|
-
if ($[6]
|
|
6902
|
-
t3 =
|
|
6903
|
-
$[6] =
|
|
7021
|
+
if ($[6] !== t) {
|
|
7022
|
+
t3 = t("openai.getApiKeyLink");
|
|
7023
|
+
$[6] = t;
|
|
7024
|
+
$[7] = t3;
|
|
6904
7025
|
} else {
|
|
6905
|
-
t3 = $[
|
|
7026
|
+
t3 = $[7];
|
|
6906
7027
|
}
|
|
6907
7028
|
let t4;
|
|
6908
|
-
if ($[
|
|
6909
|
-
t4 =
|
|
6910
|
-
$[
|
|
6911
|
-
$[
|
|
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;
|
|
6912
7033
|
} else {
|
|
6913
|
-
t4 = $[
|
|
7034
|
+
t4 = $[9];
|
|
6914
7035
|
}
|
|
6915
7036
|
let t5;
|
|
6916
|
-
if ($[
|
|
6917
|
-
t5 =
|
|
6918
|
-
source: openAiApiKeyEnv.source
|
|
6919
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
6920
|
-
envVar: "OPENAI_API_KEY"
|
|
6921
|
-
});
|
|
6922
|
-
$[9] = openAiApiKeyEnv;
|
|
7037
|
+
if ($[10] !== t) {
|
|
7038
|
+
t5 = t("openai.apiKey");
|
|
6923
7039
|
$[10] = t;
|
|
6924
7040
|
$[11] = t5;
|
|
6925
7041
|
} else {
|
|
6926
7042
|
t5 = $[11];
|
|
6927
7043
|
}
|
|
6928
7044
|
let t6;
|
|
6929
|
-
if ($[12] !==
|
|
6930
|
-
t6 =
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
$[
|
|
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;
|
|
6936
7054
|
} else {
|
|
6937
|
-
t6 = $[
|
|
7055
|
+
t6 = $[14];
|
|
6938
7056
|
}
|
|
6939
7057
|
let t7;
|
|
6940
|
-
if ($[17] !==
|
|
6941
|
-
t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
6942
|
-
$[
|
|
6943
|
-
$[
|
|
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;
|
|
6944
7064
|
$[19] = t7;
|
|
6945
7065
|
} else {
|
|
6946
7066
|
t7 = $[19];
|
|
6947
7067
|
}
|
|
6948
7068
|
let t8;
|
|
6949
|
-
if ($[20] !==
|
|
6950
|
-
t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
6951
|
-
$[20] =
|
|
6952
|
-
$[21] =
|
|
7069
|
+
if ($[20] !== onChange || $[21] !== provider) {
|
|
7070
|
+
t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(OpenAiAdvancedSettings, { provider, onChange });
|
|
7071
|
+
$[20] = onChange;
|
|
7072
|
+
$[21] = provider;
|
|
6953
7073
|
$[22] = t8;
|
|
6954
7074
|
} else {
|
|
6955
7075
|
t8 = $[22];
|
|
6956
7076
|
}
|
|
6957
7077
|
let t9;
|
|
6958
|
-
if ($[23] !==
|
|
6959
|
-
t9 = /* @__PURE__ */ jsxRuntimeExports.
|
|
6960
|
-
|
|
6961
|
-
|
|
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,
|
|
6962
7090
|
t7,
|
|
6963
|
-
t8
|
|
7091
|
+
t8,
|
|
7092
|
+
t9
|
|
6964
7093
|
] });
|
|
6965
|
-
$[
|
|
6966
|
-
$[
|
|
6967
|
-
$[
|
|
6968
|
-
$[
|
|
7094
|
+
$[26] = t4;
|
|
7095
|
+
$[27] = t7;
|
|
7096
|
+
$[28] = t8;
|
|
7097
|
+
$[29] = t9;
|
|
7098
|
+
$[30] = t10;
|
|
6969
7099
|
} else {
|
|
6970
|
-
|
|
7100
|
+
t10 = $[30];
|
|
6971
7101
|
}
|
|
6972
|
-
return
|
|
7102
|
+
return t10;
|
|
6973
7103
|
};
|
|
6974
7104
|
const OpenAiCompatibleParameters = (t0) => {
|
|
6975
7105
|
const $ = compilerRuntimeExports.c(37);
|
|
@@ -7117,7 +7247,7 @@ const OpenAiCompatibleParameters = (t0) => {
|
|
|
7117
7247
|
return t11;
|
|
7118
7248
|
};
|
|
7119
7249
|
const OpenCodeParameters = (t0) => {
|
|
7120
|
-
const $ = compilerRuntimeExports.c(
|
|
7250
|
+
const $ = compilerRuntimeExports.c(20);
|
|
7121
7251
|
const {
|
|
7122
7252
|
provider,
|
|
7123
7253
|
onChange
|
|
@@ -7147,51 +7277,69 @@ const OpenCodeParameters = (t0) => {
|
|
|
7147
7277
|
}
|
|
7148
7278
|
const handleApiKeyChange = t1;
|
|
7149
7279
|
let t2;
|
|
7150
|
-
if ($[3]
|
|
7151
|
-
t2 =
|
|
7152
|
-
$[3] =
|
|
7280
|
+
if ($[3] !== t) {
|
|
7281
|
+
t2 = t("opencode.getApiKeyLink");
|
|
7282
|
+
$[3] = t;
|
|
7283
|
+
$[4] = t2;
|
|
7153
7284
|
} else {
|
|
7154
|
-
t2 = $[
|
|
7285
|
+
t2 = $[4];
|
|
7155
7286
|
}
|
|
7156
7287
|
let t3;
|
|
7157
|
-
if ($[
|
|
7158
|
-
t3 =
|
|
7159
|
-
$[
|
|
7160
|
-
$[
|
|
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;
|
|
7161
7292
|
} else {
|
|
7162
|
-
t3 = $[
|
|
7293
|
+
t3 = $[6];
|
|
7163
7294
|
}
|
|
7164
7295
|
let t4;
|
|
7165
|
-
if ($[
|
|
7166
|
-
t4 =
|
|
7167
|
-
source: opencodeApiKeyEnv.source
|
|
7168
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
7169
|
-
envVar: "OPENCODE_API_KEY"
|
|
7170
|
-
});
|
|
7171
|
-
$[6] = opencodeApiKeyEnv;
|
|
7296
|
+
if ($[7] !== t) {
|
|
7297
|
+
t4 = t("opencode.apiKey");
|
|
7172
7298
|
$[7] = t;
|
|
7173
7299
|
$[8] = t4;
|
|
7174
7300
|
} else {
|
|
7175
7301
|
t4 = $[8];
|
|
7176
7302
|
}
|
|
7177
7303
|
let t5;
|
|
7178
|
-
if ($[9] !==
|
|
7179
|
-
t5 =
|
|
7180
|
-
|
|
7181
|
-
|
|
7304
|
+
if ($[9] !== opencodeApiKeyEnv || $[10] !== t) {
|
|
7305
|
+
t5 = opencodeApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
|
|
7306
|
+
source: opencodeApiKeyEnv.source
|
|
7307
|
+
}) : t("settings.agent.envVarPlaceholder", {
|
|
7308
|
+
envVar: "OPENCODE_API_KEY"
|
|
7309
|
+
});
|
|
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
|
|
7182
7332
|
] });
|
|
7183
|
-
$[
|
|
7184
|
-
$[
|
|
7185
|
-
$[
|
|
7186
|
-
$[12] = t4;
|
|
7187
|
-
$[13] = t5;
|
|
7333
|
+
$[17] = t3;
|
|
7334
|
+
$[18] = t6;
|
|
7335
|
+
$[19] = t7;
|
|
7188
7336
|
} else {
|
|
7189
|
-
|
|
7337
|
+
t7 = $[19];
|
|
7190
7338
|
}
|
|
7191
|
-
return
|
|
7339
|
+
return t7;
|
|
7192
7340
|
};
|
|
7193
7341
|
const OpenCodeGoParameters = (t0) => {
|
|
7194
|
-
const $ = compilerRuntimeExports.c(
|
|
7342
|
+
const $ = compilerRuntimeExports.c(20);
|
|
7195
7343
|
const {
|
|
7196
7344
|
provider,
|
|
7197
7345
|
onChange
|
|
@@ -7221,51 +7369,69 @@ const OpenCodeGoParameters = (t0) => {
|
|
|
7221
7369
|
}
|
|
7222
7370
|
const handleApiKeyChange = t1;
|
|
7223
7371
|
let t2;
|
|
7224
|
-
if ($[3]
|
|
7225
|
-
t2 =
|
|
7226
|
-
$[3] =
|
|
7372
|
+
if ($[3] !== t) {
|
|
7373
|
+
t2 = t("opencodeGo.getApiKeyLink");
|
|
7374
|
+
$[3] = t;
|
|
7375
|
+
$[4] = t2;
|
|
7227
7376
|
} else {
|
|
7228
|
-
t2 = $[
|
|
7377
|
+
t2 = $[4];
|
|
7229
7378
|
}
|
|
7230
7379
|
let t3;
|
|
7231
|
-
if ($[
|
|
7232
|
-
t3 =
|
|
7233
|
-
$[
|
|
7234
|
-
$[
|
|
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;
|
|
7235
7384
|
} else {
|
|
7236
|
-
t3 = $[
|
|
7385
|
+
t3 = $[6];
|
|
7237
7386
|
}
|
|
7238
7387
|
let t4;
|
|
7239
|
-
if ($[
|
|
7240
|
-
t4 =
|
|
7241
|
-
source: opencodeGoApiKeyEnv.source
|
|
7242
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
7243
|
-
envVar: "OPENCODE_GO_API_KEY"
|
|
7244
|
-
});
|
|
7245
|
-
$[6] = opencodeGoApiKeyEnv;
|
|
7388
|
+
if ($[7] !== t) {
|
|
7389
|
+
t4 = t("opencodeGo.apiKey");
|
|
7246
7390
|
$[7] = t;
|
|
7247
7391
|
$[8] = t4;
|
|
7248
7392
|
} else {
|
|
7249
7393
|
t4 = $[8];
|
|
7250
7394
|
}
|
|
7251
7395
|
let t5;
|
|
7252
|
-
if ($[9] !==
|
|
7253
|
-
t5 =
|
|
7254
|
-
|
|
7255
|
-
|
|
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
|
|
7256
7424
|
] });
|
|
7257
|
-
$[
|
|
7258
|
-
$[
|
|
7259
|
-
$[
|
|
7260
|
-
$[12] = t4;
|
|
7261
|
-
$[13] = t5;
|
|
7425
|
+
$[17] = t3;
|
|
7426
|
+
$[18] = t6;
|
|
7427
|
+
$[19] = t7;
|
|
7262
7428
|
} else {
|
|
7263
|
-
|
|
7429
|
+
t7 = $[19];
|
|
7264
7430
|
}
|
|
7265
|
-
return
|
|
7431
|
+
return t7;
|
|
7266
7432
|
};
|
|
7267
7433
|
const OpenRouterParameters = (t0) => {
|
|
7268
|
-
const $ = compilerRuntimeExports.c(
|
|
7434
|
+
const $ = compilerRuntimeExports.c(28);
|
|
7269
7435
|
const {
|
|
7270
7436
|
provider,
|
|
7271
7437
|
onChange
|
|
@@ -7294,83 +7460,93 @@ const OpenRouterParameters = (t0) => {
|
|
|
7294
7460
|
const handleApiKeyChange = t1;
|
|
7295
7461
|
const renderSectionAccordion = _temp$1;
|
|
7296
7462
|
let t2;
|
|
7297
|
-
if ($[3]
|
|
7298
|
-
t2 =
|
|
7299
|
-
$[3] =
|
|
7463
|
+
if ($[3] !== t) {
|
|
7464
|
+
t2 = t("openRouter.getApiKeyLink");
|
|
7465
|
+
$[3] = t;
|
|
7466
|
+
$[4] = t2;
|
|
7300
7467
|
} else {
|
|
7301
|
-
t2 = $[
|
|
7468
|
+
t2 = $[4];
|
|
7302
7469
|
}
|
|
7303
7470
|
let t3;
|
|
7304
|
-
if ($[
|
|
7305
|
-
t3 =
|
|
7306
|
-
$[
|
|
7307
|
-
$[
|
|
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;
|
|
7308
7475
|
} else {
|
|
7309
|
-
t3 = $[
|
|
7476
|
+
t3 = $[6];
|
|
7310
7477
|
}
|
|
7311
7478
|
let t4;
|
|
7312
|
-
if ($[
|
|
7313
|
-
t4 =
|
|
7314
|
-
source: openRouterApiKeyEnv.source
|
|
7315
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
7316
|
-
envVar: "OPENROUTER_API_KEY"
|
|
7317
|
-
});
|
|
7318
|
-
$[6] = openRouterApiKeyEnv;
|
|
7479
|
+
if ($[7] !== t) {
|
|
7480
|
+
t4 = t("openRouter.apiKey");
|
|
7319
7481
|
$[7] = t;
|
|
7320
7482
|
$[8] = t4;
|
|
7321
7483
|
} else {
|
|
7322
7484
|
t4 = $[8];
|
|
7323
7485
|
}
|
|
7324
7486
|
let t5;
|
|
7325
|
-
if ($[9] !==
|
|
7326
|
-
t5 =
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
$[
|
|
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;
|
|
7332
7496
|
} else {
|
|
7333
|
-
t5 = $[
|
|
7497
|
+
t5 = $[11];
|
|
7334
7498
|
}
|
|
7335
7499
|
let t6;
|
|
7336
|
-
if ($[
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
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;
|
|
7343
7518
|
} else {
|
|
7344
|
-
|
|
7519
|
+
t82 = $[23];
|
|
7345
7520
|
}
|
|
7346
|
-
|
|
7347
|
-
$[
|
|
7348
|
-
$[
|
|
7349
|
-
$[
|
|
7350
|
-
$[
|
|
7521
|
+
t7 = renderSectionAccordion(t("onboarding.providers.advancedSettings"), t82);
|
|
7522
|
+
$[17] = onChange;
|
|
7523
|
+
$[18] = provider;
|
|
7524
|
+
$[19] = t;
|
|
7525
|
+
$[20] = t7;
|
|
7351
7526
|
} else {
|
|
7352
|
-
|
|
7527
|
+
t7 = $[20];
|
|
7353
7528
|
}
|
|
7354
|
-
let
|
|
7355
|
-
if ($[
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
|
|
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
|
|
7360
7535
|
] });
|
|
7361
|
-
$[
|
|
7362
|
-
$[
|
|
7363
|
-
$[
|
|
7536
|
+
$[24] = t3;
|
|
7537
|
+
$[25] = t6;
|
|
7538
|
+
$[26] = t7;
|
|
7539
|
+
$[27] = t8;
|
|
7364
7540
|
} else {
|
|
7365
|
-
|
|
7541
|
+
t8 = $[27];
|
|
7366
7542
|
}
|
|
7367
|
-
return
|
|
7543
|
+
return t8;
|
|
7368
7544
|
};
|
|
7369
7545
|
function _temp$1(title, children, open, setOpen) {
|
|
7370
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 }) });
|
|
7371
7547
|
}
|
|
7372
7548
|
const RequestyParameters = (t0) => {
|
|
7373
|
-
const $ = compilerRuntimeExports.c(
|
|
7549
|
+
const $ = compilerRuntimeExports.c(24);
|
|
7374
7550
|
const {
|
|
7375
7551
|
provider,
|
|
7376
7552
|
onChange
|
|
@@ -7400,70 +7576,80 @@ const RequestyParameters = (t0) => {
|
|
|
7400
7576
|
}
|
|
7401
7577
|
const handleApiKeyChange = t1;
|
|
7402
7578
|
let t2;
|
|
7403
|
-
if ($[3]
|
|
7404
|
-
t2 =
|
|
7405
|
-
$[3] =
|
|
7579
|
+
if ($[3] !== t) {
|
|
7580
|
+
t2 = t("requesty.getApiKeyLink");
|
|
7581
|
+
$[3] = t;
|
|
7582
|
+
$[4] = t2;
|
|
7406
7583
|
} else {
|
|
7407
|
-
t2 = $[
|
|
7584
|
+
t2 = $[4];
|
|
7408
7585
|
}
|
|
7409
7586
|
let t3;
|
|
7410
|
-
if ($[
|
|
7411
|
-
t3 =
|
|
7412
|
-
$[
|
|
7413
|
-
$[
|
|
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;
|
|
7414
7591
|
} else {
|
|
7415
|
-
t3 = $[
|
|
7592
|
+
t3 = $[6];
|
|
7416
7593
|
}
|
|
7417
7594
|
let t4;
|
|
7418
|
-
if ($[
|
|
7419
|
-
t4 =
|
|
7420
|
-
source: requestyApiKeyEnv.source
|
|
7421
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
7422
|
-
envVar: "REQUESTY_API_KEY"
|
|
7423
|
-
});
|
|
7424
|
-
$[6] = requestyApiKeyEnv;
|
|
7595
|
+
if ($[7] !== t) {
|
|
7596
|
+
t4 = t("requesty.apiKey");
|
|
7425
7597
|
$[7] = t;
|
|
7426
7598
|
$[8] = t4;
|
|
7427
7599
|
} else {
|
|
7428
7600
|
t4 = $[8];
|
|
7429
7601
|
}
|
|
7430
7602
|
let t5;
|
|
7431
|
-
if ($[9] !==
|
|
7432
|
-
t5 =
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
$[
|
|
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;
|
|
7438
7612
|
} else {
|
|
7439
|
-
t5 = $[
|
|
7613
|
+
t5 = $[11];
|
|
7440
7614
|
}
|
|
7441
7615
|
let t6;
|
|
7442
|
-
if ($[14] !==
|
|
7443
|
-
t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
7444
|
-
$[
|
|
7445
|
-
$[
|
|
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;
|
|
7446
7622
|
$[16] = t6;
|
|
7447
7623
|
} else {
|
|
7448
7624
|
t6 = $[16];
|
|
7449
7625
|
}
|
|
7450
7626
|
let t7;
|
|
7451
|
-
if ($[17] !==
|
|
7452
|
-
t7 = /* @__PURE__ */ jsxRuntimeExports.
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
t6
|
|
7456
|
-
] });
|
|
7457
|
-
$[17] = t5;
|
|
7458
|
-
$[18] = t6;
|
|
7627
|
+
if ($[17] !== onChange || $[18] !== provider) {
|
|
7628
|
+
t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(RequestyAdvancedSettings, { provider, onChange });
|
|
7629
|
+
$[17] = onChange;
|
|
7630
|
+
$[18] = provider;
|
|
7459
7631
|
$[19] = t7;
|
|
7460
7632
|
} else {
|
|
7461
7633
|
t7 = $[19];
|
|
7462
7634
|
}
|
|
7463
|
-
|
|
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;
|
|
7464
7650
|
};
|
|
7465
7651
|
const SyntheticParameters = (t0) => {
|
|
7466
|
-
const $ = compilerRuntimeExports.c(
|
|
7652
|
+
const $ = compilerRuntimeExports.c(20);
|
|
7467
7653
|
const {
|
|
7468
7654
|
provider,
|
|
7469
7655
|
onChange
|
|
@@ -7493,48 +7679,66 @@ const SyntheticParameters = (t0) => {
|
|
|
7493
7679
|
}
|
|
7494
7680
|
const handleApiKeyChange = t1;
|
|
7495
7681
|
let t2;
|
|
7496
|
-
if ($[3]
|
|
7497
|
-
t2 =
|
|
7498
|
-
$[3] =
|
|
7682
|
+
if ($[3] !== t) {
|
|
7683
|
+
t2 = t("synthetic.getApiKeyLink");
|
|
7684
|
+
$[3] = t;
|
|
7685
|
+
$[4] = t2;
|
|
7499
7686
|
} else {
|
|
7500
|
-
t2 = $[
|
|
7687
|
+
t2 = $[4];
|
|
7501
7688
|
}
|
|
7502
7689
|
let t3;
|
|
7503
|
-
if ($[
|
|
7504
|
-
t3 =
|
|
7505
|
-
$[
|
|
7506
|
-
$[
|
|
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;
|
|
7507
7694
|
} else {
|
|
7508
|
-
t3 = $[
|
|
7695
|
+
t3 = $[6];
|
|
7509
7696
|
}
|
|
7510
7697
|
let t4;
|
|
7511
|
-
if ($[
|
|
7512
|
-
t4 =
|
|
7513
|
-
source: syntheticApiKeyEnv.source
|
|
7514
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
7515
|
-
envVar: "SYNTHETIC_API_KEY"
|
|
7516
|
-
});
|
|
7517
|
-
$[6] = syntheticApiKeyEnv;
|
|
7698
|
+
if ($[7] !== t) {
|
|
7699
|
+
t4 = t("synthetic.apiKey");
|
|
7518
7700
|
$[7] = t;
|
|
7519
7701
|
$[8] = t4;
|
|
7520
7702
|
} else {
|
|
7521
7703
|
t4 = $[8];
|
|
7522
7704
|
}
|
|
7523
7705
|
let t5;
|
|
7524
|
-
if ($[9] !==
|
|
7525
|
-
t5 =
|
|
7526
|
-
|
|
7527
|
-
|
|
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
|
|
7528
7734
|
] });
|
|
7529
|
-
$[
|
|
7530
|
-
$[
|
|
7531
|
-
$[
|
|
7532
|
-
$[12] = t4;
|
|
7533
|
-
$[13] = t5;
|
|
7735
|
+
$[17] = t3;
|
|
7736
|
+
$[18] = t6;
|
|
7737
|
+
$[19] = t7;
|
|
7534
7738
|
} else {
|
|
7535
|
-
|
|
7739
|
+
t7 = $[19];
|
|
7536
7740
|
}
|
|
7537
|
-
return
|
|
7741
|
+
return t7;
|
|
7538
7742
|
};
|
|
7539
7743
|
const VertexAIParameters = (t0) => {
|
|
7540
7744
|
const $ = compilerRuntimeExports.c(44);
|
|
@@ -7815,7 +8019,7 @@ const ZaiPlanAdvancedSettings = ({
|
|
|
7815
8019
|
] });
|
|
7816
8020
|
};
|
|
7817
8021
|
const ZaiPlanParameters = (t0) => {
|
|
7818
|
-
const $ = compilerRuntimeExports.c(
|
|
8022
|
+
const $ = compilerRuntimeExports.c(24);
|
|
7819
8023
|
const {
|
|
7820
8024
|
provider,
|
|
7821
8025
|
onChange
|
|
@@ -7845,67 +8049,77 @@ const ZaiPlanParameters = (t0) => {
|
|
|
7845
8049
|
}
|
|
7846
8050
|
const handleApiKeyChange = t1;
|
|
7847
8051
|
let t2;
|
|
7848
|
-
if ($[3]
|
|
7849
|
-
t2 =
|
|
7850
|
-
$[3] =
|
|
8052
|
+
if ($[3] !== t) {
|
|
8053
|
+
t2 = t("zaiPlan.getApiKeyLink");
|
|
8054
|
+
$[3] = t;
|
|
8055
|
+
$[4] = t2;
|
|
7851
8056
|
} else {
|
|
7852
|
-
t2 = $[
|
|
8057
|
+
t2 = $[4];
|
|
7853
8058
|
}
|
|
7854
8059
|
let t3;
|
|
7855
|
-
if ($[
|
|
7856
|
-
t3 =
|
|
7857
|
-
$[
|
|
7858
|
-
$[
|
|
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;
|
|
7859
8064
|
} else {
|
|
7860
|
-
t3 = $[
|
|
8065
|
+
t3 = $[6];
|
|
7861
8066
|
}
|
|
7862
8067
|
let t4;
|
|
7863
|
-
if ($[
|
|
7864
|
-
t4 =
|
|
7865
|
-
|
|
7866
|
-
}) : t("settings.agent.envVarPlaceholder", {
|
|
7867
|
-
envVar: "ZAI_API_KEY"
|
|
7868
|
-
});
|
|
7869
|
-
$[6] = t;
|
|
7870
|
-
$[7] = zaiApiKeyEnv;
|
|
8068
|
+
if ($[7] !== t) {
|
|
8069
|
+
t4 = t("zaiPlan.apiKey");
|
|
8070
|
+
$[7] = t;
|
|
7871
8071
|
$[8] = t4;
|
|
7872
8072
|
} else {
|
|
7873
8073
|
t4 = $[8];
|
|
7874
8074
|
}
|
|
7875
8075
|
let t5;
|
|
7876
|
-
if ($[9] !==
|
|
7877
|
-
t5 =
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
$[
|
|
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;
|
|
7883
8085
|
} else {
|
|
7884
|
-
t5 = $[
|
|
8086
|
+
t5 = $[11];
|
|
7885
8087
|
}
|
|
7886
8088
|
let t6;
|
|
7887
|
-
if ($[14] !==
|
|
7888
|
-
t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
7889
|
-
$[
|
|
7890
|
-
$[
|
|
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;
|
|
7891
8095
|
$[16] = t6;
|
|
7892
8096
|
} else {
|
|
7893
8097
|
t6 = $[16];
|
|
7894
8098
|
}
|
|
7895
8099
|
let t7;
|
|
7896
|
-
if ($[17] !==
|
|
7897
|
-
t7 = /* @__PURE__ */ jsxRuntimeExports.
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
t6
|
|
7901
|
-
] });
|
|
7902
|
-
$[17] = t5;
|
|
7903
|
-
$[18] = t6;
|
|
8100
|
+
if ($[17] !== onChange || $[18] !== provider) {
|
|
8101
|
+
t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(ZaiPlanAdvancedSettings, { provider, onChange });
|
|
8102
|
+
$[17] = onChange;
|
|
8103
|
+
$[18] = provider;
|
|
7904
8104
|
$[19] = t7;
|
|
7905
8105
|
} else {
|
|
7906
8106
|
t7 = $[19];
|
|
7907
8107
|
}
|
|
7908
|
-
|
|
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;
|
|
7909
8123
|
};
|
|
7910
8124
|
const PROVIDER_PARAMETERS_MAP = {
|
|
7911
8125
|
anthropic: AnthropicParameters,
|