@aiderdesk/aiderdesk 0.73.0 → 0.75.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/{open-telemetry-baOvr6sK.js → open-telemetry-B7yROZIC.js} +3 -0
- package/out/renderer/assets/{AgentSettings-B8NFKgLb.js → AgentSettings-DX34HLFv.js} +4561 -3203
- package/out/renderer/assets/{InfoIcon-DhMP8XnB.js → InfoIcon-DzyZQ7Ye.js} +1 -1
- package/out/renderer/assets/{Onboarding-CmlEw4fh.js → Onboarding-FwXfKZ8B.js} +4 -4
- package/out/renderer/assets/{ProviderHeader-DMNcKpGs.js → ProviderHeader-Cii9aAmV.js} +418 -197
- package/out/renderer/assets/{SettingsPage-CmOR4wA1.js → SettingsPage-XanGltUZ.js} +13 -7
- package/out/renderer/assets/{UsageDashboard-BGAWd1b2.js → UsageDashboard-eHbvZTZC.js} +3795 -2366
- package/out/renderer/assets/{arc-Jg3VSYdu.js → arc-CVfdiTl1.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-3BPJPVTR-BhT1Ad0h.js → architectureDiagram-3BPJPVTR-DsLLo_Ek.js} +3 -3
- package/out/renderer/assets/{blockDiagram-GPEHLZMM-BZuMX6U_.js → blockDiagram-GPEHLZMM-eWy47S0_.js} +4 -4
- package/out/renderer/assets/{c4Diagram-AAUBKEIU-QL7T5rpZ.js → c4Diagram-AAUBKEIU-BH9b_e6y.js} +2 -2
- package/out/renderer/assets/{channel-K2W31OE5.js → channel-D1z_mPGJ.js} +1 -1
- package/out/renderer/assets/{chunk-2J33WTMH-LumY2cbE.js → chunk-2J33WTMH-DK0Yw_7f.js} +1 -1
- package/out/renderer/assets/{chunk-4BX2VUAB-GLhRzKG1.js → chunk-4BX2VUAB-DIGR8Y5b.js} +1 -1
- package/out/renderer/assets/{chunk-55IACEB6-B3B3AcnH.js → chunk-55IACEB6-DoCkLI5e.js} +1 -1
- package/out/renderer/assets/{chunk-727SXJPM-DMyZUEKf.js → chunk-727SXJPM-C2gQLzLi.js} +5 -5
- package/out/renderer/assets/{chunk-AQP2D5EJ-CQsD5TCd.js → chunk-AQP2D5EJ-D83_SlRR.js} +3 -3
- package/out/renderer/assets/{chunk-FMBD7UC4-x4SmU5Oe.js → chunk-FMBD7UC4-CyiPoUsC.js} +1 -1
- package/out/renderer/assets/{chunk-ND2GUHAM-pT6s9nFT.js → chunk-ND2GUHAM-DfGsUYDD.js} +1 -1
- package/out/renderer/assets/{chunk-QZHKN3VN-Cv8umQxL.js → chunk-QZHKN3VN-BhnTFlht.js} +1 -1
- package/out/renderer/assets/{classDiagram-4FO5ZUOK-DmOcXaER.js → classDiagram-4FO5ZUOK-Dy7E8tVe.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-Q7XG4LA2-DmOcXaER.js → classDiagram-v2-Q7XG4LA2-Dy7E8tVe.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-S5V4N54A-Bi6ESdxa.js → cose-bilkent-S5V4N54A-Dsl61WN3.js} +1 -1
- package/out/renderer/assets/{dagre-BM42HDAG-BK2slT53.js → dagre-BM42HDAG-D-u18G94.js} +3 -3
- package/out/renderer/assets/{diagram-2AECGRRQ-DkgLH6e2.js → diagram-2AECGRRQ-BumP49Qp.js} +3 -3
- package/out/renderer/assets/{diagram-5GNKFQAL-BwAieVd0.js → diagram-5GNKFQAL-VpUN87Sw.js} +4 -4
- package/out/renderer/assets/{diagram-KO2AKTUF-D6Km_LB9.js → diagram-KO2AKTUF-CXCWwzRa.js} +3 -3
- package/out/renderer/assets/{diagram-LMA3HP47-BhWSHEeO.js → diagram-LMA3HP47-vlOcStwn.js} +3 -3
- package/out/renderer/assets/{diagram-OG6HWLK6-zoN4RvNr.js → diagram-OG6HWLK6-DS1BscxN.js} +4 -4
- package/out/renderer/assets/{erDiagram-TEJ5UH35-DooZS_mc.js → erDiagram-TEJ5UH35-DPi6-CLL.js} +4 -4
- package/out/renderer/assets/{flowDiagram-I6XJVG4X-CmZPvaDJ.js → flowDiagram-I6XJVG4X-BYlX12Cd.js} +6 -6
- package/out/renderer/assets/{ganttDiagram-6RSMTGT7-Bx6OJzRM.js → ganttDiagram-6RSMTGT7-BJQl-A9d.js} +3 -3
- package/out/renderer/assets/{gitGraphDiagram-PVQCEYII-BPUT8Ht7.js → gitGraphDiagram-PVQCEYII-CUFXx3IZ.js} +4 -4
- package/out/renderer/assets/{graph-CwC0h_b8.js → graph-CbFubTTc.js} +1 -1
- package/out/renderer/assets/{index-DOOlJc12.js → index-9GNr8q1O.js} +1 -1
- package/out/renderer/assets/{index-BSFaA4XQ.js → index-B6R_BNfE.js} +1 -1
- package/out/renderer/assets/{index-PGLvyST0.js → index-B9iW9QmT.js} +1 -1
- package/out/renderer/assets/{index-DqiktxfT.js → index-BkdacTnN.js} +1 -1
- package/out/renderer/assets/{index-ChKmR4QP.js → index-C7885gEz.js} +1 -1
- package/out/renderer/assets/{index-CXq4cCbe.js → index-Cg7tn967.js} +576 -251
- package/out/renderer/assets/{index-B3o44aT2.css → index-DCILJy4w.css} +50 -16
- package/out/renderer/assets/{index-CI0IUNzz.js → index-DNlMJMPg.js} +4194 -3241
- package/out/renderer/assets/{index-BrZFlbuf.js → index-DYKLRIHT.js} +1 -1
- package/out/renderer/assets/{index-Ds5GQdTm.js → index-DeoI6jti.js} +1 -1
- package/out/renderer/assets/{index-xI0MsLE8.js → index-fD843lMX.js} +1 -1
- package/out/renderer/assets/{infoDiagram-5YYISTIA-C77gIx1a.js → infoDiagram-5YYISTIA-IWJLFUYz.js} +2 -2
- package/out/renderer/assets/{ishikawaDiagram-YF4QCWOH-DZ8xk7_N.js → ishikawaDiagram-YF4QCWOH-BuNfm7cB.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-JHISSGLW-BLPdv_c5.js → journeyDiagram-JHISSGLW-CfceKUHO.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-1M6DZ35g.js → jsx-dev-runtime-DT3FTts0.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UN3LZRKU-CMHVN7c3.js → kanban-definition-UN3LZRKU-Bb6YnEgS.js} +2 -2
- package/out/renderer/assets/{layout-BJqshyQm.js → layout-BkrDn6V9.js} +2 -2
- package/out/renderer/assets/{linear-CbEhS1qE.js → linear-jxO_dc8P.js} +1 -1
- package/out/renderer/assets/{mindmap-definition-RKZ34NQL-C8Cz7pQU.js → mindmap-definition-RKZ34NQL-BPRx7p9A.js} +3 -3
- package/out/renderer/assets/{pieDiagram-4H26LBE5-Bx5tSw6i.js → pieDiagram-4H26LBE5-CPR4AuPM.js} +4 -4
- package/out/renderer/assets/{quadrantDiagram-W4KKPZXB-CX6DcDEk.js → quadrantDiagram-W4KKPZXB-BKzlAr7m.js} +2 -2
- package/out/renderer/assets/{requirementDiagram-4Y6WPE33-qBp8nKy9.js → requirementDiagram-4Y6WPE33-CUan3EZI.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-5OEKKPKP-B5zYIsBo.js → sankeyDiagram-5OEKKPKP-y8X8qnX2.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-3UESZ5HK-C57DtTdH.js → sequenceDiagram-3UESZ5HK-B4xv8iDW.js} +3 -3
- package/out/renderer/assets/{stateDiagram-AJRCARHV-CGRyr6CG.js → stateDiagram-AJRCARHV-DTPE2Z4L.js} +6 -6
- package/out/renderer/assets/{stateDiagram-v2-BHNVJYJU-3hvBe5lv.js → stateDiagram-v2-BHNVJYJU-BmZ9o6q3.js} +4 -4
- package/out/renderer/assets/{time-B3bXse3U.js → time-D391Z6zp.js} +1 -1
- package/out/renderer/assets/{timeline-definition-PNZ67QCA-Dpq0iPd0.js → timeline-definition-PNZ67QCA-DVLUB2HD.js} +2 -2
- package/out/renderer/assets/{vennDiagram-CIIHVFJN-_jSNuVb5.js → vennDiagram-CIIHVFJN-BGGBlVN1.js} +1 -1
- package/out/renderer/assets/{wardley-L42UT6IY-DixmVaQZ.js → wardley-L42UT6IY-ZVVSjQUD.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-YWT4CUSO-DMK4zc32.js → wardleyDiagram-YWT4CUSO-CRAH-LRw.js} +3 -3
- package/out/renderer/assets/{xychartDiagram-2RQKCTM6-DKPuWmAF.js → xychartDiagram-2RQKCTM6-DQqvm7M3.js} +2 -2
- package/out/renderer/index.html +2 -2
- package/out/resources/linux/probe +0 -0
- package/out/resources/linux-x64/probe +0 -0
- package/out/resources/skills/agent-creator/SKILL.md +223 -0
- package/out/resources/skills/agent-creator/assets/examples/sample-profile.json +47 -0
- package/out/resources/skills/agent-creator/assets/templates/config.json.template +47 -0
- package/out/resources/skills/agent-creator/references/agent-profile-schema.md +294 -0
- package/out/resources/skills/agent-creator/references/profile-examples.md +490 -0
- package/out/resources/skills/agent-creator/references/subagent-guide.md +317 -0
- package/out/resources/skills/agent-creator/references/tool-approval-guide.md +484 -0
- package/out/resources/skills/extension-creator/SKILL.md +71 -7
- package/out/resources/skills/extension-creator/references/event-types.md +543 -40
- package/out/resources/skills/extension-creator/references/examples-gallery.md +23 -14
- package/out/resources/skills/extension-creator/references/extension-interface.md +1111 -171
- package/out/resources/skills/extension-creator/references/ui-components.md +34 -6
- package/out/runner.js +11164 -10392
- package/package.json +21 -19
- package/patches/@requesty+ai-sdk+3.5.0.patch +84 -0
- package/patches/ai+7.0.28.patch +33 -0
- package/patches/ai+5.0.195.patch +0 -33
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, b2 as useTranslation, j as jsxRuntimeExports, c7 as Checkbox, b0 as reactExports, c9 as Input, c8 as Select, c6 as Slider, dh as ReasoningEffort, di as Accordion, cr as TextArea, I as IconButton,
|
|
2
|
-
import { I as InfoIcon } from "./InfoIcon-
|
|
1
|
+
import { c as compilerRuntimeExports, b2 as useTranslation, j as jsxRuntimeExports, c7 as Checkbox, b0 as reactExports, c9 as Input, c8 as Select, c6 as Slider, dh as ReasoningEffort, di as Accordion, cr as TextArea, I as IconButton, f9 as FiArrowLeft, fa as AVAILABLE_PROVIDERS, cb as useApi, b4 as useSettingsStore, b5 as useSaveSettings, cC as Tooltip, F as FaInfoCircle, fb as FaExternalLinkAlt, fc as FaCheck, b7 as Button, cw as FaPlus, dg as getDefaultProviderParams, aV as v4, cl as FaTrash, fd as useResponsive, a as clsx, fe as FiMic, dq as FiEdit2, dt as FiTrash2, cm as ConfirmDialog, ff as FiCpu, fg as FaExclamationCircle, dv as FiPlus } from "./index-DNlMJMPg.js";
|
|
2
|
+
import { I as InfoIcon } from "./InfoIcon-DzyZQ7Ye.js";
|
|
3
3
|
const DisableStreaming = (t0) => {
|
|
4
4
|
const $ = compilerRuntimeExports.c(13);
|
|
5
5
|
const {
|
|
@@ -57,6 +57,63 @@ const DisableStreaming = (t0) => {
|
|
|
57
57
|
}
|
|
58
58
|
return t5;
|
|
59
59
|
};
|
|
60
|
+
const DisableToolCallStreaming = (t0) => {
|
|
61
|
+
const $ = compilerRuntimeExports.c(13);
|
|
62
|
+
const {
|
|
63
|
+
checked,
|
|
64
|
+
onChange
|
|
65
|
+
} = t0;
|
|
66
|
+
const {
|
|
67
|
+
t
|
|
68
|
+
} = useTranslation();
|
|
69
|
+
let t1;
|
|
70
|
+
if ($[0] !== t) {
|
|
71
|
+
t1 = t("modelLibrary.disableToolCallStreaming");
|
|
72
|
+
$[0] = t;
|
|
73
|
+
$[1] = t1;
|
|
74
|
+
} else {
|
|
75
|
+
t1 = $[1];
|
|
76
|
+
}
|
|
77
|
+
let t2;
|
|
78
|
+
if ($[2] !== checked || $[3] !== onChange || $[4] !== t1) {
|
|
79
|
+
t2 = /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t1, checked, onChange, size: "md" });
|
|
80
|
+
$[2] = checked;
|
|
81
|
+
$[3] = onChange;
|
|
82
|
+
$[4] = t1;
|
|
83
|
+
$[5] = t2;
|
|
84
|
+
} else {
|
|
85
|
+
t2 = $[5];
|
|
86
|
+
}
|
|
87
|
+
let t3;
|
|
88
|
+
if ($[6] !== t) {
|
|
89
|
+
t3 = t("modelLibrary.disableToolCallStreamingInfo");
|
|
90
|
+
$[6] = t;
|
|
91
|
+
$[7] = t3;
|
|
92
|
+
} else {
|
|
93
|
+
t3 = $[7];
|
|
94
|
+
}
|
|
95
|
+
let t4;
|
|
96
|
+
if ($[8] !== t3) {
|
|
97
|
+
t4 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t3 });
|
|
98
|
+
$[8] = t3;
|
|
99
|
+
$[9] = t4;
|
|
100
|
+
} else {
|
|
101
|
+
t4 = $[9];
|
|
102
|
+
}
|
|
103
|
+
let t5;
|
|
104
|
+
if ($[10] !== t2 || $[11] !== t4) {
|
|
105
|
+
t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
106
|
+
t2,
|
|
107
|
+
t4
|
|
108
|
+
] });
|
|
109
|
+
$[10] = t2;
|
|
110
|
+
$[11] = t4;
|
|
111
|
+
$[12] = t5;
|
|
112
|
+
} else {
|
|
113
|
+
t5 = $[12];
|
|
114
|
+
}
|
|
115
|
+
return t5;
|
|
116
|
+
};
|
|
60
117
|
const useArrayField = (provider, field, onChange) => {
|
|
61
118
|
const $ = compilerRuntimeExports.c(13);
|
|
62
119
|
const [draftValue, setDraftValue] = reactExports.useState("");
|
|
@@ -2722,6 +2779,74 @@ const BedrockIcon = (t0) => {
|
|
|
2722
2779
|
}
|
|
2723
2780
|
return t12;
|
|
2724
2781
|
};
|
|
2782
|
+
const ClinePassIcon = (t0) => {
|
|
2783
|
+
const $ = compilerRuntimeExports.c(13);
|
|
2784
|
+
const {
|
|
2785
|
+
width: t1,
|
|
2786
|
+
height: t2,
|
|
2787
|
+
className
|
|
2788
|
+
} = t0;
|
|
2789
|
+
const width = t1 === void 0 ? 64 : t1;
|
|
2790
|
+
const height = t2 === void 0 ? 64 : t2;
|
|
2791
|
+
const t3 = `flex items-center justify-center rounded-full ${className || ""}`;
|
|
2792
|
+
const t4 = `${height}px`;
|
|
2793
|
+
const t5 = `${width}px`;
|
|
2794
|
+
let t6;
|
|
2795
|
+
if ($[0] !== t4 || $[1] !== t5) {
|
|
2796
|
+
t6 = {
|
|
2797
|
+
background: "#353d45",
|
|
2798
|
+
color: "rgb(255, 255, 255)",
|
|
2799
|
+
height: t4,
|
|
2800
|
+
width: t5
|
|
2801
|
+
};
|
|
2802
|
+
$[0] = t4;
|
|
2803
|
+
$[1] = t5;
|
|
2804
|
+
$[2] = t6;
|
|
2805
|
+
} else {
|
|
2806
|
+
t6 = $[2];
|
|
2807
|
+
}
|
|
2808
|
+
const t7 = width * 0.6;
|
|
2809
|
+
const t8 = height * 0.6;
|
|
2810
|
+
let t10;
|
|
2811
|
+
let t11;
|
|
2812
|
+
let t9;
|
|
2813
|
+
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
2814
|
+
t9 = /* @__PURE__ */ jsxRuntimeExports.jsx("title", { children: "ClinePass" });
|
|
2815
|
+
t10 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M17.035 3.991c2.75 0 4.98 2.24 4.98 5.003v1.667l1.45 2.896a1.01 1.01 0 0 1-.002.909l-1.448 2.864v1.668c0 2.762-2.23 5.002-4.98 5.002H7.074c-2.751 0-4.98-2.24-4.98-5.002V17.33l-1.48-2.855a1.01 1.01 0 0 1-.003-.927l1.482-2.887V8.994c0-2.763 2.23-5.003 4.98-5.003zM8.265 9.6a2.274 2.274 0 0 0-2.274 2.274v4.042a2.274 2.274 0 0 0 4.547 0v-4.042A2.274 2.274 0 0 0 8.265 9.6m7.326 0a2.274 2.274 0 0 0-2.274 2.274v4.042a2.274 2.274 0 1 0 4.548 0v-4.042A2.274 2.274 0 0 0 15.59 9.6z" });
|
|
2816
|
+
t11 = /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12.054 5.558a2.779 2.779 0 1 0 0-5.558 2.779 2.779 0 0 0 0 5.558" });
|
|
2817
|
+
$[3] = t10;
|
|
2818
|
+
$[4] = t11;
|
|
2819
|
+
$[5] = t9;
|
|
2820
|
+
} else {
|
|
2821
|
+
t10 = $[3];
|
|
2822
|
+
t11 = $[4];
|
|
2823
|
+
t9 = $[5];
|
|
2824
|
+
}
|
|
2825
|
+
let t12;
|
|
2826
|
+
if ($[6] !== t7 || $[7] !== t8) {
|
|
2827
|
+
t12 = /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { fill: "currentColor", fillRule: "evenodd", viewBox: "0 0 24 24", width: t7, height: t8, xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2828
|
+
t9,
|
|
2829
|
+
t10,
|
|
2830
|
+
t11
|
|
2831
|
+
] });
|
|
2832
|
+
$[6] = t7;
|
|
2833
|
+
$[7] = t8;
|
|
2834
|
+
$[8] = t12;
|
|
2835
|
+
} else {
|
|
2836
|
+
t12 = $[8];
|
|
2837
|
+
}
|
|
2838
|
+
let t13;
|
|
2839
|
+
if ($[9] !== t12 || $[10] !== t3 || $[11] !== t6) {
|
|
2840
|
+
t13 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-label": "ClinePass", className: t3, style: t6, children: t12 });
|
|
2841
|
+
$[9] = t12;
|
|
2842
|
+
$[10] = t3;
|
|
2843
|
+
$[11] = t6;
|
|
2844
|
+
$[12] = t13;
|
|
2845
|
+
} else {
|
|
2846
|
+
t13 = $[12];
|
|
2847
|
+
}
|
|
2848
|
+
return t13;
|
|
2849
|
+
};
|
|
2725
2850
|
const CerebrasIcon = (t0) => {
|
|
2726
2851
|
const $ = compilerRuntimeExports.c(14);
|
|
2727
2852
|
const {
|
|
@@ -4209,6 +4334,7 @@ const PROVIDER_ICON_MAP$1 = {
|
|
|
4209
4334
|
azure: AzureIcon,
|
|
4210
4335
|
bedrock: BedrockIcon,
|
|
4211
4336
|
cerebras: CerebrasIcon,
|
|
4337
|
+
clinepass: ClinePassIcon,
|
|
4212
4338
|
deepseek: DeepseekIcon,
|
|
4213
4339
|
gemini: GeminiIcon,
|
|
4214
4340
|
gpustack: GpustackIcon,
|
|
@@ -5040,6 +5166,78 @@ const BedrockParameters = (t0) => {
|
|
|
5040
5166
|
}
|
|
5041
5167
|
return t29;
|
|
5042
5168
|
};
|
|
5169
|
+
const ClinePassParameters = (t0) => {
|
|
5170
|
+
const $ = compilerRuntimeExports.c(14);
|
|
5171
|
+
const {
|
|
5172
|
+
provider,
|
|
5173
|
+
onChange
|
|
5174
|
+
} = t0;
|
|
5175
|
+
const {
|
|
5176
|
+
t
|
|
5177
|
+
} = useTranslation();
|
|
5178
|
+
const apiKey = provider.apiKey || "";
|
|
5179
|
+
const {
|
|
5180
|
+
environmentVariable: clineApiKeyEnv
|
|
5181
|
+
} = useEffectiveEnvironmentVariable("CLINE_API_KEY");
|
|
5182
|
+
let t1;
|
|
5183
|
+
if ($[0] !== onChange || $[1] !== provider) {
|
|
5184
|
+
t1 = (e) => {
|
|
5185
|
+
onChange({
|
|
5186
|
+
...provider,
|
|
5187
|
+
apiKey: e.target.value
|
|
5188
|
+
});
|
|
5189
|
+
};
|
|
5190
|
+
$[0] = onChange;
|
|
5191
|
+
$[1] = provider;
|
|
5192
|
+
$[2] = t1;
|
|
5193
|
+
} else {
|
|
5194
|
+
t1 = $[2];
|
|
5195
|
+
}
|
|
5196
|
+
const handleApiKeyChange = t1;
|
|
5197
|
+
let t2;
|
|
5198
|
+
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
5199
|
+
t2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "!mt-0 !mb-5", children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "https://app.cline.bot", target: "_blank", rel: "noopener noreferrer", className: "text-sm text-info-light hover:underline", children: "Get ClinePass API key" }) });
|
|
5200
|
+
$[3] = t2;
|
|
5201
|
+
} else {
|
|
5202
|
+
t2 = $[3];
|
|
5203
|
+
}
|
|
5204
|
+
let t3;
|
|
5205
|
+
if ($[4] !== t) {
|
|
5206
|
+
t3 = t("clinepass.apiKey");
|
|
5207
|
+
$[4] = t;
|
|
5208
|
+
$[5] = t3;
|
|
5209
|
+
} else {
|
|
5210
|
+
t3 = $[5];
|
|
5211
|
+
}
|
|
5212
|
+
let t4;
|
|
5213
|
+
if ($[6] !== clineApiKeyEnv || $[7] !== t) {
|
|
5214
|
+
t4 = clineApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
|
|
5215
|
+
source: clineApiKeyEnv.source
|
|
5216
|
+
}) : t("settings.agent.envVarPlaceholder", {
|
|
5217
|
+
envVar: "CLINE_API_KEY"
|
|
5218
|
+
});
|
|
5219
|
+
$[6] = clineApiKeyEnv;
|
|
5220
|
+
$[7] = t;
|
|
5221
|
+
$[8] = t4;
|
|
5222
|
+
} else {
|
|
5223
|
+
t4 = $[8];
|
|
5224
|
+
}
|
|
5225
|
+
let t5;
|
|
5226
|
+
if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
|
|
5227
|
+
t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
|
|
5228
|
+
t2,
|
|
5229
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 })
|
|
5230
|
+
] });
|
|
5231
|
+
$[9] = apiKey;
|
|
5232
|
+
$[10] = handleApiKeyChange;
|
|
5233
|
+
$[11] = t3;
|
|
5234
|
+
$[12] = t4;
|
|
5235
|
+
$[13] = t5;
|
|
5236
|
+
} else {
|
|
5237
|
+
t5 = $[13];
|
|
5238
|
+
}
|
|
5239
|
+
return t5;
|
|
5240
|
+
};
|
|
5043
5241
|
const DeepseekParameters = (t0) => {
|
|
5044
5242
|
const $ = compilerRuntimeExports.c(52);
|
|
5045
5243
|
const {
|
|
@@ -7365,6 +7563,7 @@ const PROVIDER_PARAMETERS_MAP = {
|
|
|
7365
7563
|
"anthropic-compatible": AnthropicCompatibleParameters,
|
|
7366
7564
|
azure: AzureParameters,
|
|
7367
7565
|
bedrock: BedrockParameters,
|
|
7566
|
+
clinepass: ClinePassParameters,
|
|
7368
7567
|
deepseek: DeepseekParameters,
|
|
7369
7568
|
gemini: GeminiParameters,
|
|
7370
7569
|
gpustack: GpustackParameters,
|
|
@@ -7387,7 +7586,7 @@ const PROVIDER_PARAMETERS_MAP = {
|
|
|
7387
7586
|
"zai-plan": ZaiPlanParameters
|
|
7388
7587
|
};
|
|
7389
7588
|
const ProviderProfileForm = reactExports.forwardRef((t0, ref) => {
|
|
7390
|
-
const $ = compilerRuntimeExports.c(
|
|
7589
|
+
const $ = compilerRuntimeExports.c(110);
|
|
7391
7590
|
const {
|
|
7392
7591
|
provider,
|
|
7393
7592
|
editProfile,
|
|
@@ -7503,8 +7702,24 @@ const ProviderProfileForm = reactExports.forwardRef((t0, ref) => {
|
|
|
7503
7702
|
}
|
|
7504
7703
|
const handleDisableStreamingChange = t10;
|
|
7505
7704
|
let t11;
|
|
7506
|
-
if ($[16] !==
|
|
7507
|
-
t11 = () => {
|
|
7705
|
+
if ($[16] !== parameters) {
|
|
7706
|
+
t11 = (disableToolCallStreaming) => {
|
|
7707
|
+
if (parameters) {
|
|
7708
|
+
setParameters({
|
|
7709
|
+
...parameters,
|
|
7710
|
+
disableToolCallStreaming
|
|
7711
|
+
});
|
|
7712
|
+
}
|
|
7713
|
+
};
|
|
7714
|
+
$[16] = parameters;
|
|
7715
|
+
$[17] = t11;
|
|
7716
|
+
} else {
|
|
7717
|
+
t11 = $[17];
|
|
7718
|
+
}
|
|
7719
|
+
const handleDisableToolCallStreamingChange = t11;
|
|
7720
|
+
let t12;
|
|
7721
|
+
if ($[18] !== editProfile || $[19] !== id || $[20] !== providers || $[21] !== t) {
|
|
7722
|
+
t12 = () => {
|
|
7508
7723
|
const newErrors = {};
|
|
7509
7724
|
const existingIds = providers.filter((p) => editProfile ? p.id !== editProfile.id : true).map(_temp3);
|
|
7510
7725
|
if (existingIds.includes(id)) {
|
|
@@ -7513,18 +7728,18 @@ const ProviderProfileForm = reactExports.forwardRef((t0, ref) => {
|
|
|
7513
7728
|
setErrors(newErrors);
|
|
7514
7729
|
return Object.keys(newErrors).length === 0;
|
|
7515
7730
|
};
|
|
7516
|
-
$[
|
|
7517
|
-
$[
|
|
7518
|
-
$[
|
|
7519
|
-
$[
|
|
7520
|
-
$[
|
|
7731
|
+
$[18] = editProfile;
|
|
7732
|
+
$[19] = id;
|
|
7733
|
+
$[20] = providers;
|
|
7734
|
+
$[21] = t;
|
|
7735
|
+
$[22] = t12;
|
|
7521
7736
|
} else {
|
|
7522
|
-
|
|
7737
|
+
t12 = $[22];
|
|
7523
7738
|
}
|
|
7524
|
-
const validateForm =
|
|
7525
|
-
let
|
|
7526
|
-
if ($[
|
|
7527
|
-
|
|
7739
|
+
const validateForm = t12;
|
|
7740
|
+
let t13;
|
|
7741
|
+
if ($[23] !== disabled || $[24] !== headers || $[25] !== id || $[26] !== name || $[27] !== onSave || $[28] !== parameters || $[29] !== validateForm) {
|
|
7742
|
+
t13 = () => {
|
|
7528
7743
|
if (!parameters) {
|
|
7529
7744
|
return;
|
|
7530
7745
|
}
|
|
@@ -7540,291 +7755,295 @@ const ProviderProfileForm = reactExports.forwardRef((t0, ref) => {
|
|
|
7540
7755
|
disabled
|
|
7541
7756
|
});
|
|
7542
7757
|
};
|
|
7543
|
-
$[
|
|
7544
|
-
$[
|
|
7545
|
-
$[
|
|
7546
|
-
$[
|
|
7547
|
-
$[
|
|
7548
|
-
$[
|
|
7549
|
-
$[
|
|
7550
|
-
$[
|
|
7758
|
+
$[23] = disabled;
|
|
7759
|
+
$[24] = headers;
|
|
7760
|
+
$[25] = id;
|
|
7761
|
+
$[26] = name;
|
|
7762
|
+
$[27] = onSave;
|
|
7763
|
+
$[28] = parameters;
|
|
7764
|
+
$[29] = validateForm;
|
|
7765
|
+
$[30] = t13;
|
|
7551
7766
|
} else {
|
|
7552
|
-
|
|
7767
|
+
t13 = $[30];
|
|
7553
7768
|
}
|
|
7554
|
-
const handleSave =
|
|
7555
|
-
let
|
|
7556
|
-
if ($[
|
|
7557
|
-
|
|
7769
|
+
const handleSave = t13;
|
|
7770
|
+
let t14;
|
|
7771
|
+
if ($[31] !== handleSave) {
|
|
7772
|
+
t14 = () => ({
|
|
7558
7773
|
submit: () => {
|
|
7559
7774
|
handleSave();
|
|
7560
7775
|
}
|
|
7561
7776
|
});
|
|
7562
|
-
$[
|
|
7563
|
-
$[
|
|
7777
|
+
$[31] = handleSave;
|
|
7778
|
+
$[32] = t14;
|
|
7564
7779
|
} else {
|
|
7565
|
-
|
|
7780
|
+
t14 = $[32];
|
|
7566
7781
|
}
|
|
7567
|
-
reactExports.useImperativeHandle(ref,
|
|
7782
|
+
reactExports.useImperativeHandle(ref, t14);
|
|
7568
7783
|
const ParametersComponent = PROVIDER_PARAMETERS_MAP[provider];
|
|
7569
|
-
let
|
|
7570
|
-
if ($[
|
|
7571
|
-
|
|
7784
|
+
let t15;
|
|
7785
|
+
if ($[33] !== hideTitle || $[34] !== provider || $[35] !== t) {
|
|
7786
|
+
t15 = !hideTitle && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-between items-center mb-6", children: /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-md font-bold uppercase", children: t("modelLibrary.profileForm.title", {
|
|
7572
7787
|
provider: t(`providers.${provider}`)
|
|
7573
7788
|
}) }) });
|
|
7574
|
-
$[
|
|
7575
|
-
$[
|
|
7576
|
-
$[33] = t;
|
|
7577
|
-
$[34] = t14;
|
|
7578
|
-
} else {
|
|
7579
|
-
t14 = $[34];
|
|
7580
|
-
}
|
|
7581
|
-
let t15;
|
|
7582
|
-
if ($[35] !== t) {
|
|
7583
|
-
t15 = t("modelLibrary.profileForm.name");
|
|
7789
|
+
$[33] = hideTitle;
|
|
7790
|
+
$[34] = provider;
|
|
7584
7791
|
$[35] = t;
|
|
7585
7792
|
$[36] = t15;
|
|
7586
7793
|
} else {
|
|
7587
7794
|
t15 = $[36];
|
|
7588
7795
|
}
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
t17 = t(t16);
|
|
7796
|
+
let t16;
|
|
7797
|
+
if ($[37] !== t) {
|
|
7798
|
+
t16 = t("modelLibrary.profileForm.name");
|
|
7593
7799
|
$[37] = t;
|
|
7594
7800
|
$[38] = t16;
|
|
7595
|
-
$[39] = t17;
|
|
7596
7801
|
} else {
|
|
7597
|
-
|
|
7802
|
+
t16 = $[38];
|
|
7598
7803
|
}
|
|
7804
|
+
const t17 = `providers.${provider}`;
|
|
7599
7805
|
let t18;
|
|
7600
|
-
if ($[
|
|
7601
|
-
t18 = (
|
|
7602
|
-
$[
|
|
7806
|
+
if ($[39] !== t || $[40] !== t17) {
|
|
7807
|
+
t18 = t(t17);
|
|
7808
|
+
$[39] = t;
|
|
7809
|
+
$[40] = t17;
|
|
7810
|
+
$[41] = t18;
|
|
7603
7811
|
} else {
|
|
7604
|
-
t18 = $[
|
|
7812
|
+
t18 = $[41];
|
|
7605
7813
|
}
|
|
7606
7814
|
let t19;
|
|
7607
|
-
if ($[
|
|
7608
|
-
t19 =
|
|
7609
|
-
$[
|
|
7610
|
-
$[42] = t15;
|
|
7611
|
-
$[43] = t17;
|
|
7612
|
-
$[44] = t19;
|
|
7815
|
+
if ($[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
7816
|
+
t19 = (e) => setName(e.target.value);
|
|
7817
|
+
$[42] = t19;
|
|
7613
7818
|
} else {
|
|
7614
|
-
t19 = $[
|
|
7819
|
+
t19 = $[42];
|
|
7615
7820
|
}
|
|
7616
7821
|
let t20;
|
|
7617
|
-
if ($[45] !==
|
|
7618
|
-
t20 =
|
|
7619
|
-
$[
|
|
7822
|
+
if ($[43] !== name || $[44] !== t16 || $[45] !== t18) {
|
|
7823
|
+
t20 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { wrapperClassName: "w-full", label: t16, placeholder: t18, value: name, onChange: t19 });
|
|
7824
|
+
$[43] = name;
|
|
7825
|
+
$[44] = t16;
|
|
7826
|
+
$[45] = t18;
|
|
7620
7827
|
$[46] = t20;
|
|
7621
7828
|
} else {
|
|
7622
7829
|
t20 = $[46];
|
|
7623
7830
|
}
|
|
7624
7831
|
let t21;
|
|
7625
|
-
if ($[47] !==
|
|
7626
|
-
t21 = (
|
|
7627
|
-
$[47] =
|
|
7832
|
+
if ($[47] !== t) {
|
|
7833
|
+
t21 = t("modelLibrary.profileForm.id");
|
|
7834
|
+
$[47] = t;
|
|
7628
7835
|
$[48] = t21;
|
|
7629
7836
|
} else {
|
|
7630
7837
|
t21 = $[48];
|
|
7631
7838
|
}
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7636
|
-
$[
|
|
7637
|
-
$[50] = t20;
|
|
7638
|
-
$[51] = t21;
|
|
7639
|
-
$[52] = t22;
|
|
7640
|
-
$[53] = t23;
|
|
7839
|
+
let t22;
|
|
7840
|
+
if ($[49] !== handleIdChange) {
|
|
7841
|
+
t22 = (e_0) => handleIdChange(e_0.target.value);
|
|
7842
|
+
$[49] = handleIdChange;
|
|
7843
|
+
$[50] = t22;
|
|
7641
7844
|
} else {
|
|
7642
|
-
|
|
7845
|
+
t22 = $[50];
|
|
7643
7846
|
}
|
|
7847
|
+
const t23 = !!editProfile;
|
|
7644
7848
|
let t24;
|
|
7645
|
-
if ($[54] !==
|
|
7646
|
-
t24 =
|
|
7647
|
-
$[
|
|
7849
|
+
if ($[51] !== id || $[52] !== t21 || $[53] !== t22 || $[54] !== t23) {
|
|
7850
|
+
t24 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { wrapperClassName: "w-full", label: t21, value: id, onChange: t22, disabled: t23 });
|
|
7851
|
+
$[51] = id;
|
|
7852
|
+
$[52] = t21;
|
|
7853
|
+
$[53] = t22;
|
|
7854
|
+
$[54] = t23;
|
|
7648
7855
|
$[55] = t24;
|
|
7649
7856
|
} else {
|
|
7650
7857
|
t24 = $[55];
|
|
7651
7858
|
}
|
|
7652
7859
|
let t25;
|
|
7653
|
-
if ($[56] !==
|
|
7654
|
-
t25 = /* @__PURE__ */ jsxRuntimeExports.
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
] });
|
|
7658
|
-
$[56] = t23;
|
|
7659
|
-
$[57] = t24;
|
|
7660
|
-
$[58] = t25;
|
|
7860
|
+
if ($[56] !== errors.id) {
|
|
7861
|
+
t25 = errors.id && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-error text-2xs mt-1", children: errors.id });
|
|
7862
|
+
$[56] = errors.id;
|
|
7863
|
+
$[57] = t25;
|
|
7661
7864
|
} else {
|
|
7662
|
-
t25 = $[
|
|
7865
|
+
t25 = $[57];
|
|
7663
7866
|
}
|
|
7664
7867
|
let t26;
|
|
7665
|
-
if ($[
|
|
7666
|
-
t26 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
7667
|
-
|
|
7868
|
+
if ($[58] !== t24 || $[59] !== t25) {
|
|
7869
|
+
t26 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full", children: [
|
|
7870
|
+
t24,
|
|
7668
7871
|
t25
|
|
7669
7872
|
] });
|
|
7670
|
-
$[
|
|
7671
|
-
$[
|
|
7672
|
-
$[
|
|
7873
|
+
$[58] = t24;
|
|
7874
|
+
$[59] = t25;
|
|
7875
|
+
$[60] = t26;
|
|
7673
7876
|
} else {
|
|
7674
|
-
t26 = $[
|
|
7877
|
+
t26 = $[60];
|
|
7675
7878
|
}
|
|
7676
7879
|
let t27;
|
|
7677
|
-
if ($[
|
|
7678
|
-
t27 =
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7880
|
+
if ($[61] !== t20 || $[62] !== t26) {
|
|
7881
|
+
t27 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col md:flex-row gap-4", children: [
|
|
7882
|
+
t20,
|
|
7883
|
+
t26
|
|
7884
|
+
] });
|
|
7885
|
+
$[61] = t20;
|
|
7886
|
+
$[62] = t26;
|
|
7887
|
+
$[63] = t27;
|
|
7682
7888
|
} else {
|
|
7683
|
-
t27 = $[
|
|
7889
|
+
t27 = $[63];
|
|
7684
7890
|
}
|
|
7685
7891
|
let t28;
|
|
7686
|
-
if ($[65] !==
|
|
7687
|
-
t28 =
|
|
7688
|
-
$[
|
|
7892
|
+
if ($[64] !== ParametersComponent || $[65] !== parameters) {
|
|
7893
|
+
t28 = ParametersComponent && parameters && /* @__PURE__ */ jsxRuntimeExports.jsx(ParametersComponent, { provider: parameters, onChange: setParameters });
|
|
7894
|
+
$[64] = ParametersComponent;
|
|
7895
|
+
$[65] = parameters;
|
|
7689
7896
|
$[66] = t28;
|
|
7690
7897
|
} else {
|
|
7691
7898
|
t28 = $[66];
|
|
7692
7899
|
}
|
|
7693
7900
|
let t29;
|
|
7694
|
-
if ($[67] !==
|
|
7695
|
-
t29 =
|
|
7696
|
-
$[67] =
|
|
7901
|
+
if ($[67] !== t) {
|
|
7902
|
+
t29 = t("modelLibrary.profileForm.headers");
|
|
7903
|
+
$[67] = t;
|
|
7697
7904
|
$[68] = t29;
|
|
7698
7905
|
} else {
|
|
7699
7906
|
t29 = $[68];
|
|
7700
7907
|
}
|
|
7701
7908
|
let t30;
|
|
7702
|
-
if ($[69] !==
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7909
|
+
if ($[69] !== t29) {
|
|
7910
|
+
t30 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm", children: t29 });
|
|
7911
|
+
$[69] = t29;
|
|
7912
|
+
$[70] = t30;
|
|
7913
|
+
} else {
|
|
7914
|
+
t30 = $[70];
|
|
7915
|
+
}
|
|
7916
|
+
let t31;
|
|
7917
|
+
if ($[71] !== handleHeaderChange || $[72] !== headers || $[73] !== removeHeader || $[74] !== t) {
|
|
7918
|
+
let t322;
|
|
7919
|
+
if ($[76] !== handleHeaderChange || $[77] !== removeHeader || $[78] !== t) {
|
|
7920
|
+
t322 = (header_0) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2 w-full", children: [
|
|
7706
7921
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Input, { placeholder: t("modelLibrary.profileForm.headerKey"), value: header_0.key, onChange: (e_1) => handleHeaderChange(header_0.id, "key", e_1.target.value), wrapperClassName: "flex-1" }),
|
|
7707
7922
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Input, { placeholder: t("modelLibrary.profileForm.headerValue"), value: header_0.value, onChange: (e_2) => handleHeaderChange(header_0.id, "value", e_2.target.value), wrapperClassName: "flex-1" }),
|
|
7708
7923
|
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: /* @__PURE__ */ jsxRuntimeExports.jsx(FaTrash, {}), onClick: () => removeHeader(header_0.id), className: "p-2" })
|
|
7709
7924
|
] }, header_0.id);
|
|
7710
|
-
$[
|
|
7711
|
-
$[
|
|
7712
|
-
$[
|
|
7713
|
-
$[
|
|
7925
|
+
$[76] = handleHeaderChange;
|
|
7926
|
+
$[77] = removeHeader;
|
|
7927
|
+
$[78] = t;
|
|
7928
|
+
$[79] = t322;
|
|
7714
7929
|
} else {
|
|
7715
|
-
|
|
7930
|
+
t322 = $[79];
|
|
7716
7931
|
}
|
|
7717
|
-
|
|
7718
|
-
$[
|
|
7719
|
-
$[
|
|
7720
|
-
$[
|
|
7721
|
-
$[
|
|
7722
|
-
$[
|
|
7932
|
+
t31 = headers.map(t322);
|
|
7933
|
+
$[71] = handleHeaderChange;
|
|
7934
|
+
$[72] = headers;
|
|
7935
|
+
$[73] = removeHeader;
|
|
7936
|
+
$[74] = t;
|
|
7937
|
+
$[75] = t31;
|
|
7723
7938
|
} else {
|
|
7724
|
-
|
|
7725
|
-
}
|
|
7726
|
-
let t31;
|
|
7727
|
-
if ($[78] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
7728
|
-
t31 = /* @__PURE__ */ jsxRuntimeExports.jsx(FaPlus, { className: "mr-2 w-4 h-4" });
|
|
7729
|
-
$[78] = t31;
|
|
7730
|
-
} else {
|
|
7731
|
-
t31 = $[78];
|
|
7939
|
+
t31 = $[75];
|
|
7732
7940
|
}
|
|
7733
7941
|
let t32;
|
|
7734
|
-
if ($[
|
|
7735
|
-
t32 =
|
|
7736
|
-
$[79] = t;
|
|
7942
|
+
if ($[80] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
7943
|
+
t32 = /* @__PURE__ */ jsxRuntimeExports.jsx(FaPlus, { className: "mr-2 w-4 h-4" });
|
|
7737
7944
|
$[80] = t32;
|
|
7738
7945
|
} else {
|
|
7739
7946
|
t32 = $[80];
|
|
7740
7947
|
}
|
|
7741
7948
|
let t33;
|
|
7742
|
-
if ($[81] !==
|
|
7743
|
-
t33 =
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
] }) });
|
|
7747
|
-
$[81] = addHeader;
|
|
7748
|
-
$[82] = t32;
|
|
7749
|
-
$[83] = t33;
|
|
7949
|
+
if ($[81] !== t) {
|
|
7950
|
+
t33 = t("modelLibrary.profileForm.addHeader");
|
|
7951
|
+
$[81] = t;
|
|
7952
|
+
$[82] = t33;
|
|
7750
7953
|
} else {
|
|
7751
|
-
t33 = $[
|
|
7954
|
+
t33 = $[82];
|
|
7752
7955
|
}
|
|
7753
7956
|
let t34;
|
|
7754
|
-
if ($[
|
|
7755
|
-
t34 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "
|
|
7756
|
-
|
|
7957
|
+
if ($[83] !== addHeader || $[84] !== t33) {
|
|
7958
|
+
t34 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { onClick: addHeader, variant: "text", className: "mt-2", size: "sm", children: [
|
|
7959
|
+
t32,
|
|
7757
7960
|
t33
|
|
7758
7961
|
] }) });
|
|
7759
|
-
$[
|
|
7760
|
-
$[
|
|
7761
|
-
$[
|
|
7962
|
+
$[83] = addHeader;
|
|
7963
|
+
$[84] = t33;
|
|
7964
|
+
$[85] = t34;
|
|
7762
7965
|
} else {
|
|
7763
|
-
t34 = $[
|
|
7966
|
+
t34 = $[85];
|
|
7764
7967
|
}
|
|
7765
7968
|
let t35;
|
|
7766
|
-
if ($[
|
|
7767
|
-
t35 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7969
|
+
if ($[86] !== t31 || $[87] !== t34) {
|
|
7970
|
+
t35 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 pt-2", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
|
|
7971
|
+
t31,
|
|
7972
|
+
t34
|
|
7973
|
+
] }) });
|
|
7974
|
+
$[86] = t31;
|
|
7975
|
+
$[87] = t34;
|
|
7976
|
+
$[88] = t35;
|
|
7771
7977
|
} else {
|
|
7772
|
-
t35 = $[
|
|
7978
|
+
t35 = $[88];
|
|
7773
7979
|
}
|
|
7774
7980
|
let t36;
|
|
7775
|
-
if ($[
|
|
7776
|
-
t36 = /* @__PURE__ */ jsxRuntimeExports.
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
] });
|
|
7781
|
-
$[90] = t26;
|
|
7782
|
-
$[91] = t27;
|
|
7783
|
-
$[92] = t35;
|
|
7784
|
-
$[93] = t36;
|
|
7981
|
+
if ($[89] !== t30 || $[90] !== t35) {
|
|
7982
|
+
t36 = /* @__PURE__ */ jsxRuntimeExports.jsx(Accordion, { title: t30, className: "mb-2 border rounded-md border-border-default", children: t35 });
|
|
7983
|
+
$[89] = t30;
|
|
7984
|
+
$[90] = t35;
|
|
7985
|
+
$[91] = t36;
|
|
7785
7986
|
} else {
|
|
7786
|
-
t36 = $[
|
|
7987
|
+
t36 = $[91];
|
|
7787
7988
|
}
|
|
7788
7989
|
let t37;
|
|
7789
|
-
if ($[
|
|
7790
|
-
t37 =
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7990
|
+
if ($[92] !== t27 || $[93] !== t28 || $[94] !== t36) {
|
|
7991
|
+
t37 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
|
|
7992
|
+
t27,
|
|
7993
|
+
t28,
|
|
7994
|
+
t36
|
|
7995
|
+
] });
|
|
7996
|
+
$[92] = t27;
|
|
7997
|
+
$[93] = t28;
|
|
7998
|
+
$[94] = t36;
|
|
7999
|
+
$[95] = t37;
|
|
7794
8000
|
} else {
|
|
7795
|
-
t37 = $[
|
|
8001
|
+
t37 = $[95];
|
|
7796
8002
|
}
|
|
7797
8003
|
let t38;
|
|
7798
|
-
if ($[
|
|
7799
|
-
t38 =
|
|
8004
|
+
if ($[96] !== handleDisableStreamingChange || $[97] !== handleDisableToolCallStreamingChange || $[98] !== parameters) {
|
|
8005
|
+
t38 = parameters && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-4 mx-2 space-y-2", children: [
|
|
8006
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DisableStreaming, { checked: parameters.disableStreaming ?? false, onChange: handleDisableStreamingChange }),
|
|
8007
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DisableToolCallStreaming, { checked: parameters.disableToolCallStreaming ?? false, onChange: handleDisableToolCallStreamingChange })
|
|
8008
|
+
] });
|
|
8009
|
+
$[96] = handleDisableStreamingChange;
|
|
8010
|
+
$[97] = handleDisableToolCallStreamingChange;
|
|
8011
|
+
$[98] = parameters;
|
|
8012
|
+
$[99] = t38;
|
|
8013
|
+
} else {
|
|
8014
|
+
t38 = $[99];
|
|
8015
|
+
}
|
|
8016
|
+
let t39;
|
|
8017
|
+
if ($[100] !== handleSave || $[101] !== hideActions || $[102] !== onCancel || $[103] !== t) {
|
|
8018
|
+
t39 = !hideActions && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-end space-x-4 mt-8", children: [
|
|
7800
8019
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: onCancel, variant: "text", children: t("common.cancel") }),
|
|
7801
8020
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: handleSave, children: t("common.save") })
|
|
7802
8021
|
] });
|
|
7803
|
-
$[
|
|
7804
|
-
$[
|
|
7805
|
-
$[
|
|
7806
|
-
$[
|
|
7807
|
-
$[
|
|
8022
|
+
$[100] = handleSave;
|
|
8023
|
+
$[101] = hideActions;
|
|
8024
|
+
$[102] = onCancel;
|
|
8025
|
+
$[103] = t;
|
|
8026
|
+
$[104] = t39;
|
|
7808
8027
|
} else {
|
|
7809
|
-
|
|
8028
|
+
t39 = $[104];
|
|
7810
8029
|
}
|
|
7811
|
-
let
|
|
7812
|
-
if ($[
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
t36,
|
|
8030
|
+
let t40;
|
|
8031
|
+
if ($[105] !== t15 || $[106] !== t37 || $[107] !== t38 || $[108] !== t39) {
|
|
8032
|
+
t40 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 py-10 overflow-y-auto scrollbar-thin scrollbar-track-bg-primary-light scrollbar-thumb-bg-tertiary", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "max-w-2xl mx-auto", children: [
|
|
8033
|
+
t15,
|
|
7816
8034
|
t37,
|
|
7817
|
-
t38
|
|
8035
|
+
t38,
|
|
8036
|
+
t39
|
|
7818
8037
|
] }) });
|
|
7819
|
-
$[
|
|
7820
|
-
$[
|
|
7821
|
-
$[
|
|
7822
|
-
$[
|
|
7823
|
-
$[
|
|
8038
|
+
$[105] = t15;
|
|
8039
|
+
$[106] = t37;
|
|
8040
|
+
$[107] = t38;
|
|
8041
|
+
$[108] = t39;
|
|
8042
|
+
$[109] = t40;
|
|
7824
8043
|
} else {
|
|
7825
|
-
|
|
8044
|
+
t40 = $[109];
|
|
7826
8045
|
}
|
|
7827
|
-
return
|
|
8046
|
+
return t40;
|
|
7828
8047
|
});
|
|
7829
8048
|
ProviderProfileForm.displayName = "ProviderProfileForm";
|
|
7830
8049
|
function _temp(t0) {
|
|
@@ -7856,6 +8075,7 @@ const PROVIDER_ICON_MAP = {
|
|
|
7856
8075
|
azure: AzureIcon,
|
|
7857
8076
|
bedrock: BedrockIcon,
|
|
7858
8077
|
cerebras: CerebrasIcon,
|
|
8078
|
+
clinepass: ClinePassIcon,
|
|
7859
8079
|
deepseek: DeepseekIcon,
|
|
7860
8080
|
gemini: GeminiIcon,
|
|
7861
8081
|
gpustack: GpustackIcon,
|
|
@@ -8265,6 +8485,7 @@ export {
|
|
|
8265
8485
|
ZaiPlanThinkingSetting as Z,
|
|
8266
8486
|
ProviderSelection as a,
|
|
8267
8487
|
ProviderHeader as b,
|
|
8268
|
-
|
|
8269
|
-
|
|
8488
|
+
DisableToolCallStreaming as c,
|
|
8489
|
+
OpenAiAdvancedSettings as d,
|
|
8490
|
+
OpenAiCompatibleAdvancedSettings as e
|
|
8270
8491
|
};
|