@aiderdesk/aiderdesk 0.72.0 → 0.74.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/cli.js +982 -13
- package/out/renderer/assets/{AgentSettings-CEw1Tgyu.js → AgentSettings-B-793Wr6.js} +4561 -3203
- package/out/renderer/assets/{InfoIcon-B6bij_VJ.js → InfoIcon-cuLXzJtV.js} +1 -1
- package/out/renderer/assets/{Onboarding-C2CtQOko.js → Onboarding-xrPWRnXm.js} +4 -4
- package/out/renderer/assets/{ProviderHeader-BCrdzdGT.js → ProviderHeader-CMVyqpPa.js} +226 -275
- package/out/renderer/assets/{SettingsPage-CNCsKRS7.js → SettingsPage-BBtDhv80.js} +17 -11
- package/out/renderer/assets/{UsageDashboard-DtZ8GTj6.js → UsageDashboard-CGI4iwCD.js} +3 -3
- package/out/renderer/assets/{arc-DnyT8oZ2.js → arc-CFENq1wJ.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-3BPJPVTR-Dus_2n--.js → architectureDiagram-3BPJPVTR-BRG_9Mao.js} +3 -3
- package/out/renderer/assets/{blockDiagram-GPEHLZMM-A3REgcbw.js → blockDiagram-GPEHLZMM-B3c7WMY4.js} +4 -4
- package/out/renderer/assets/{c4Diagram-AAUBKEIU-DksErR7z.js → c4Diagram-AAUBKEIU-BYQrxMcW.js} +2 -2
- package/out/renderer/assets/{channel-DkjNDJNa.js → channel-DPxL1rpa.js} +1 -1
- package/out/renderer/assets/{chunk-2J33WTMH-CrUC6pnQ.js → chunk-2J33WTMH-C-kk05Nj.js} +1 -1
- package/out/renderer/assets/{chunk-4BX2VUAB-BulXGa1B.js → chunk-4BX2VUAB-BV8PWxnG.js} +1 -1
- package/out/renderer/assets/{chunk-55IACEB6-pQjPbAe9.js → chunk-55IACEB6-Cj6KHkUp.js} +1 -1
- package/out/renderer/assets/{chunk-727SXJPM-BcqphFMh.js → chunk-727SXJPM-BaIkuSPr.js} +5 -5
- package/out/renderer/assets/{chunk-AQP2D5EJ-DCREtqoW.js → chunk-AQP2D5EJ-DVZR_bfB.js} +3 -3
- package/out/renderer/assets/{chunk-FMBD7UC4-LFUgit2t.js → chunk-FMBD7UC4-CNrb2a0a.js} +1 -1
- package/out/renderer/assets/{chunk-ND2GUHAM-Bkunzp-9.js → chunk-ND2GUHAM-ClOnPDjy.js} +1 -1
- package/out/renderer/assets/{chunk-QZHKN3VN-foWYS4_y.js → chunk-QZHKN3VN-B2sJx9j2.js} +1 -1
- package/out/renderer/assets/{classDiagram-4FO5ZUOK-CVbKiC6R.js → classDiagram-4FO5ZUOK-ZzwWMcLO.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-Q7XG4LA2-CVbKiC6R.js → classDiagram-v2-Q7XG4LA2-ZzwWMcLO.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-S5V4N54A-Bw7reEuM.js → cose-bilkent-S5V4N54A-DBx-UiMU.js} +1 -1
- package/out/renderer/assets/{dagre-BM42HDAG-oGURKg82.js → dagre-BM42HDAG-B_vMvYpz.js} +3 -3
- package/out/renderer/assets/{diagram-2AECGRRQ-kaoJ1YpU.js → diagram-2AECGRRQ-Do-w2xXO.js} +3 -3
- package/out/renderer/assets/{diagram-5GNKFQAL-EvoHkNwk.js → diagram-5GNKFQAL-JzG77sgb.js} +4 -4
- package/out/renderer/assets/{diagram-KO2AKTUF-D5N5hwBV.js → diagram-KO2AKTUF-CGMx2nPP.js} +3 -3
- package/out/renderer/assets/{diagram-LMA3HP47-kKi9mSGe.js → diagram-LMA3HP47-BqXnQeNu.js} +3 -3
- package/out/renderer/assets/{diagram-OG6HWLK6-BWJ9L5AP.js → diagram-OG6HWLK6-BR4e0lIb.js} +4 -4
- package/out/renderer/assets/{erDiagram-TEJ5UH35-d1W9ONuu.js → erDiagram-TEJ5UH35-B7QK0XSy.js} +4 -4
- package/out/renderer/assets/{flowDiagram-I6XJVG4X-u5Xk-TTj.js → flowDiagram-I6XJVG4X-BOySqejA.js} +6 -6
- package/out/renderer/assets/{ganttDiagram-6RSMTGT7-DiheBMSM.js → ganttDiagram-6RSMTGT7-BORAleML.js} +3 -3
- package/out/renderer/assets/{gitGraphDiagram-PVQCEYII-B7hUlCNM.js → gitGraphDiagram-PVQCEYII-DTReLiJT.js} +4 -4
- package/out/renderer/assets/{graph-D7JlCUW0.js → graph-Bf8U9r0n.js} +1 -1
- package/out/renderer/assets/{index-ClS76F34.js → index-5i67azF0.js} +1 -1
- package/out/renderer/assets/{index-DJwDiyPe.css → index-7NwOg_q_.css} +8 -40
- package/out/renderer/assets/{index-BgXUknVd.js → index-BOQBc3Qj.js} +6 -4
- package/out/renderer/assets/{index-DcFrLBMu.js → index-BS5vy5uH.js} +1 -1
- package/out/renderer/assets/{index-gnQtDa4r.js → index-COyr1I0o.js} +1 -1
- package/out/renderer/assets/{index-D8P2TG70.js → index-CmQY2QKE.js} +1 -1
- package/out/renderer/assets/{index-CzGef_M5.js → index-D3R9tjiT.js} +1 -1
- package/out/renderer/assets/{index-DOl0MdBC.js → index-D6b3rMtW.js} +1 -1
- package/out/renderer/assets/{index-3OKQF96N.js → index-DUoUqcJ_.js} +1 -1
- package/out/renderer/assets/{index-biM8l5ZN.js → index-Dq3ldCAy.js} +10286 -2422
- package/out/renderer/assets/{index-Duwg55fn.js → index-Dtxgil7l.js} +1 -1
- package/out/renderer/assets/{infoDiagram-5YYISTIA-BNOwcP8d.js → infoDiagram-5YYISTIA-Ryv-Emth.js} +2 -2
- package/out/renderer/assets/{ishikawaDiagram-YF4QCWOH-DZGvMXcI.js → ishikawaDiagram-YF4QCWOH-Blzp6JLN.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-JHISSGLW-BF-SCAHN.js → journeyDiagram-JHISSGLW--KB4ASET.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-BZnUoQef.js → jsx-dev-runtime-DAzw_Red.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UN3LZRKU-Cp9SfO9v.js → kanban-definition-UN3LZRKU-BzNpCu_x.js} +2 -2
- package/out/renderer/assets/{layout-BxWwRUTm.js → layout-BQu4M-KW.js} +2 -2
- package/out/renderer/assets/{linear-Cpdxqlgb.js → linear-DNZEF2Al.js} +1 -1
- package/out/renderer/assets/{mindmap-definition-RKZ34NQL-BtGsJF8k.js → mindmap-definition-RKZ34NQL-CxQjZIps.js} +3 -3
- package/out/renderer/assets/{pieDiagram-4H26LBE5-choZS41J.js → pieDiagram-4H26LBE5-qJt7eGwM.js} +4 -4
- package/out/renderer/assets/{quadrantDiagram-W4KKPZXB-CSEwIgFD.js → quadrantDiagram-W4KKPZXB-mMOhLjN_.js} +2 -2
- package/out/renderer/assets/{requirementDiagram-4Y6WPE33-sCdLoMf0.js → requirementDiagram-4Y6WPE33-GLhMtLW7.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-5OEKKPKP-DunA5v4o.js → sankeyDiagram-5OEKKPKP-Kcd8qR8y.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-3UESZ5HK-Cwz8rZA1.js → sequenceDiagram-3UESZ5HK-CpmBIgMJ.js} +3 -3
- package/out/renderer/assets/{stateDiagram-AJRCARHV-VCMhb3e-.js → stateDiagram-AJRCARHV-D00qZ9cQ.js} +6 -6
- package/out/renderer/assets/{stateDiagram-v2-BHNVJYJU-B9OcfdsH.js → stateDiagram-v2-BHNVJYJU-CkEgNJrB.js} +4 -4
- package/out/renderer/assets/{time-CtsiuOCL.js → time-CQSoUo1N.js} +1 -1
- package/out/renderer/assets/{timeline-definition-PNZ67QCA-B36Hc_gQ.js → timeline-definition-PNZ67QCA-CmydTbH6.js} +2 -2
- package/out/renderer/assets/{vennDiagram-CIIHVFJN-Dt2oWHz0.js → vennDiagram-CIIHVFJN-B4QGhnvI.js} +1 -1
- package/out/renderer/assets/{wardley-L42UT6IY-DkWaUY9X.js → wardley-L42UT6IY-B-mpW52K.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-YWT4CUSO-BHFM3JNH.js → wardleyDiagram-YWT4CUSO-Cz1pK1MY.js} +3 -3
- package/out/renderer/assets/{xychartDiagram-2RQKCTM6-2wqqMVJ7.js → xychartDiagram-2RQKCTM6-H-Q9Zv48.js} +2 -2
- package/out/renderer/index.html +2 -2
- 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 +5 -5
- package/out/resources/skills/extension-creator/references/in-repo-flow.md +4 -4
- package/out/resources/skills/extension-creator/references/install-targets.md +2 -2
- package/out/resources/skills/extension-creator/references/project-global-flow.md +1 -1
- package/out/runner.js +10879 -10158
- package/package.json +3 -2
- package/scripts/generate-package.mjs +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, a as clsx, t as twMerge, j as jsxRuntimeExports, F as FaInfoCircle, I as IconButton } from "./index-
|
|
1
|
+
import { c as compilerRuntimeExports, a as clsx, t as twMerge, j as jsxRuntimeExports, F as FaInfoCircle, I as IconButton } from "./index-Dq3ldCAy.js";
|
|
2
2
|
const InfoIcon = (t0) => {
|
|
3
3
|
const $ = compilerRuntimeExports.c(13);
|
|
4
4
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, a$ as useModelProviders, b0 as reactExports, j as jsxRuntimeExports, b1 as HiCheck, a as clsx, b2 as useTranslation, b3 as useNavigate, b4 as useSettingsStore, b5 as useSaveSettings, b6 as useAgents, b7 as Button, b8 as HiArrowLeft, b9 as HiArrowRight, ba as showErrorNotification, bb as lodashExports, bc as showInfoNotification, bd as ROUTES } from "./index-
|
|
2
|
-
import { A as AgentSettings, a as AiderSettings, L as LanguageSelector } from "./AgentSettings-
|
|
3
|
-
import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-
|
|
4
|
-
import "./InfoIcon-
|
|
1
|
+
import { c as compilerRuntimeExports, a$ as useModelProviders, b0 as reactExports, j as jsxRuntimeExports, b1 as HiCheck, a as clsx, b2 as useTranslation, b3 as useNavigate, b4 as useSettingsStore, b5 as useSaveSettings, b6 as useAgents, b7 as Button, b8 as HiArrowLeft, b9 as HiArrowRight, ba as showErrorNotification, bb as lodashExports, bc as showInfoNotification, bd as ROUTES } from "./index-Dq3ldCAy.js";
|
|
2
|
+
import { A as AgentSettings, a as AiderSettings, L as LanguageSelector } from "./AgentSettings-B-793Wr6.js";
|
|
3
|
+
import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-CMVyqpPa.js";
|
|
4
|
+
import "./InfoIcon-cuLXzJtV.js";
|
|
5
5
|
const OnboardingProviderSetup = () => {
|
|
6
6
|
const $ = compilerRuntimeExports.c(21);
|
|
7
7
|
const {
|
|
@@ -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,
|
|
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-Dq3ldCAy.js";
|
|
2
|
+
import { I as InfoIcon } from "./InfoIcon-cuLXzJtV.js";
|
|
3
3
|
const DisableStreaming = (t0) => {
|
|
4
4
|
const $ = compilerRuntimeExports.c(13);
|
|
5
5
|
const {
|
|
@@ -1734,289 +1734,97 @@ const RequestyAdvancedSettings = (t0) => {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
return t25;
|
|
1736
1736
|
};
|
|
1737
|
-
const OpenAiCompatibleAdvancedSettings = (
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
onChange
|
|
1742
|
-
} = t0;
|
|
1737
|
+
const OpenAiCompatibleAdvancedSettings = ({
|
|
1738
|
+
provider,
|
|
1739
|
+
onChange
|
|
1740
|
+
}) => {
|
|
1743
1741
|
const {
|
|
1744
1742
|
t
|
|
1745
1743
|
} = useTranslation();
|
|
1746
1744
|
const reasoningEffort = provider.reasoningEffort || ReasoningEffort.None;
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
t6 = {
|
|
1796
|
-
value: ReasoningEffort.Low,
|
|
1797
|
-
label: t5
|
|
1798
|
-
};
|
|
1799
|
-
$[10] = t5;
|
|
1800
|
-
$[11] = t6;
|
|
1801
|
-
} else {
|
|
1802
|
-
t6 = $[11];
|
|
1803
|
-
}
|
|
1804
|
-
let t7;
|
|
1805
|
-
if ($[12] !== t) {
|
|
1806
|
-
t7 = t("reasoningEffort.medium");
|
|
1807
|
-
$[12] = t;
|
|
1808
|
-
$[13] = t7;
|
|
1809
|
-
} else {
|
|
1810
|
-
t7 = $[13];
|
|
1811
|
-
}
|
|
1812
|
-
let t8;
|
|
1813
|
-
if ($[14] !== t7) {
|
|
1814
|
-
t8 = {
|
|
1815
|
-
value: ReasoningEffort.Medium,
|
|
1816
|
-
label: t7
|
|
1817
|
-
};
|
|
1818
|
-
$[14] = t7;
|
|
1819
|
-
$[15] = t8;
|
|
1820
|
-
} else {
|
|
1821
|
-
t8 = $[15];
|
|
1822
|
-
}
|
|
1823
|
-
let t9;
|
|
1824
|
-
if ($[16] !== t) {
|
|
1825
|
-
t9 = t("reasoningEffort.high");
|
|
1826
|
-
$[16] = t;
|
|
1827
|
-
$[17] = t9;
|
|
1828
|
-
} else {
|
|
1829
|
-
t9 = $[17];
|
|
1830
|
-
}
|
|
1831
|
-
let t10;
|
|
1832
|
-
if ($[18] !== t9) {
|
|
1833
|
-
t10 = {
|
|
1834
|
-
value: ReasoningEffort.High,
|
|
1835
|
-
label: t9
|
|
1836
|
-
};
|
|
1837
|
-
$[18] = t9;
|
|
1838
|
-
$[19] = t10;
|
|
1839
|
-
} else {
|
|
1840
|
-
t10 = $[19];
|
|
1841
|
-
}
|
|
1842
|
-
let t11;
|
|
1843
|
-
if ($[20] !== t) {
|
|
1844
|
-
t11 = t("reasoningEffort.xhigh");
|
|
1845
|
-
$[20] = t;
|
|
1846
|
-
$[21] = t11;
|
|
1847
|
-
} else {
|
|
1848
|
-
t11 = $[21];
|
|
1849
|
-
}
|
|
1850
|
-
let t12;
|
|
1851
|
-
if ($[22] !== t11) {
|
|
1852
|
-
t12 = {
|
|
1853
|
-
value: ReasoningEffort.XHigh,
|
|
1854
|
-
label: t11
|
|
1855
|
-
};
|
|
1856
|
-
$[22] = t11;
|
|
1857
|
-
$[23] = t12;
|
|
1858
|
-
} else {
|
|
1859
|
-
t12 = $[23];
|
|
1860
|
-
}
|
|
1861
|
-
let t13;
|
|
1862
|
-
if ($[24] !== t10 || $[25] !== t12 || $[26] !== t2 || $[27] !== t4 || $[28] !== t6 || $[29] !== t8) {
|
|
1863
|
-
t13 = [t2, t4, t6, t8, t10, t12];
|
|
1864
|
-
$[24] = t10;
|
|
1865
|
-
$[25] = t12;
|
|
1866
|
-
$[26] = t2;
|
|
1867
|
-
$[27] = t4;
|
|
1868
|
-
$[28] = t6;
|
|
1869
|
-
$[29] = t8;
|
|
1870
|
-
$[30] = t13;
|
|
1871
|
-
} else {
|
|
1872
|
-
t13 = $[30];
|
|
1873
|
-
}
|
|
1874
|
-
const reasoningOptions = t13;
|
|
1875
|
-
let t14;
|
|
1876
|
-
if ($[31] !== onChange || $[32] !== provider) {
|
|
1877
|
-
t14 = (value) => {
|
|
1745
|
+
const reasoningOptions = [{
|
|
1746
|
+
value: ReasoningEffort.None,
|
|
1747
|
+
label: t("reasoningEffort.none")
|
|
1748
|
+
}, {
|
|
1749
|
+
value: ReasoningEffort.Minimal,
|
|
1750
|
+
label: t("reasoningEffort.minimal")
|
|
1751
|
+
}, {
|
|
1752
|
+
value: ReasoningEffort.Low,
|
|
1753
|
+
label: t("reasoningEffort.low")
|
|
1754
|
+
}, {
|
|
1755
|
+
value: ReasoningEffort.Medium,
|
|
1756
|
+
label: t("reasoningEffort.medium")
|
|
1757
|
+
}, {
|
|
1758
|
+
value: ReasoningEffort.High,
|
|
1759
|
+
label: t("reasoningEffort.high")
|
|
1760
|
+
}, {
|
|
1761
|
+
value: ReasoningEffort.XHigh,
|
|
1762
|
+
label: t("reasoningEffort.xhigh")
|
|
1763
|
+
}];
|
|
1764
|
+
const [extraBodyText, setExtraBodyText] = reactExports.useState(() => {
|
|
1765
|
+
const extraBody = provider.extraBody;
|
|
1766
|
+
if (!extraBody || Object.keys(extraBody).length === 0) {
|
|
1767
|
+
return "";
|
|
1768
|
+
}
|
|
1769
|
+
try {
|
|
1770
|
+
return JSON.stringify(extraBody, null, 2);
|
|
1771
|
+
} catch {
|
|
1772
|
+
return "";
|
|
1773
|
+
}
|
|
1774
|
+
});
|
|
1775
|
+
const [extraBodyError, setExtraBodyError] = reactExports.useState(null);
|
|
1776
|
+
const handleReasoningEffortChange = (value) => {
|
|
1777
|
+
onChange({
|
|
1778
|
+
...provider,
|
|
1779
|
+
reasoningEffort: value
|
|
1780
|
+
});
|
|
1781
|
+
};
|
|
1782
|
+
const handleTrackTokenUsageChange = (trackTokenUsage) => {
|
|
1783
|
+
onChange({
|
|
1784
|
+
...provider,
|
|
1785
|
+
trackTokenUsage
|
|
1786
|
+
});
|
|
1787
|
+
};
|
|
1788
|
+
const handleExtraBodyChange = (e) => {
|
|
1789
|
+
const value_0 = e.target.value;
|
|
1790
|
+
setExtraBodyText(value_0);
|
|
1791
|
+
if (!value_0.trim()) {
|
|
1792
|
+
setExtraBodyError(null);
|
|
1878
1793
|
onChange({
|
|
1879
1794
|
...provider,
|
|
1880
|
-
|
|
1795
|
+
extraBody: void 0
|
|
1881
1796
|
});
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
if ($[34] !== onChange || $[35] !== provider) {
|
|
1892
|
-
t15 = (trackTokenUsage) => {
|
|
1797
|
+
return;
|
|
1798
|
+
}
|
|
1799
|
+
try {
|
|
1800
|
+
const parsed = JSON.parse(value_0);
|
|
1801
|
+
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) {
|
|
1802
|
+
setExtraBodyError(t("modelLibrary.extraBodyErrorInvalid"));
|
|
1803
|
+
return;
|
|
1804
|
+
}
|
|
1805
|
+
setExtraBodyError(null);
|
|
1893
1806
|
onChange({
|
|
1894
1807
|
...provider,
|
|
1895
|
-
|
|
1808
|
+
extraBody: parsed
|
|
1896
1809
|
});
|
|
1897
|
-
}
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
t17 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: t16 });
|
|
1916
|
-
$[39] = t16;
|
|
1917
|
-
$[40] = t17;
|
|
1918
|
-
} else {
|
|
1919
|
-
t17 = $[40];
|
|
1920
|
-
}
|
|
1921
|
-
let t18;
|
|
1922
|
-
if ($[41] !== t) {
|
|
1923
|
-
t18 = t("reasoningEffort.tooltip");
|
|
1924
|
-
$[41] = t;
|
|
1925
|
-
$[42] = t18;
|
|
1926
|
-
} else {
|
|
1927
|
-
t18 = $[42];
|
|
1928
|
-
}
|
|
1929
|
-
let t19;
|
|
1930
|
-
if ($[43] !== t18) {
|
|
1931
|
-
t19 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { className: "ml-1", tooltip: t18 });
|
|
1932
|
-
$[43] = t18;
|
|
1933
|
-
$[44] = t19;
|
|
1934
|
-
} else {
|
|
1935
|
-
t19 = $[44];
|
|
1936
|
-
}
|
|
1937
|
-
let t20;
|
|
1938
|
-
if ($[45] !== t17 || $[46] !== t19) {
|
|
1939
|
-
t20 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center font-medium", children: [
|
|
1940
|
-
t17,
|
|
1941
|
-
t19
|
|
1942
|
-
] });
|
|
1943
|
-
$[45] = t17;
|
|
1944
|
-
$[46] = t19;
|
|
1945
|
-
$[47] = t20;
|
|
1946
|
-
} else {
|
|
1947
|
-
t20 = $[47];
|
|
1948
|
-
}
|
|
1949
|
-
let t21;
|
|
1950
|
-
if ($[48] !== handleReasoningEffortChange || $[49] !== reasoningEffort || $[50] !== reasoningOptions || $[51] !== t20) {
|
|
1951
|
-
t21 = /* @__PURE__ */ jsxRuntimeExports.jsx(Select, { label: t20, value: reasoningEffort, onChange: handleReasoningEffortChange, options: reasoningOptions });
|
|
1952
|
-
$[48] = handleReasoningEffortChange;
|
|
1953
|
-
$[49] = reasoningEffort;
|
|
1954
|
-
$[50] = reasoningOptions;
|
|
1955
|
-
$[51] = t20;
|
|
1956
|
-
$[52] = t21;
|
|
1957
|
-
} else {
|
|
1958
|
-
t21 = $[52];
|
|
1959
|
-
}
|
|
1960
|
-
let t22;
|
|
1961
|
-
if ($[53] !== t) {
|
|
1962
|
-
t22 = t("modelLibrary.trackTokenUsage");
|
|
1963
|
-
$[53] = t;
|
|
1964
|
-
$[54] = t22;
|
|
1965
|
-
} else {
|
|
1966
|
-
t22 = $[54];
|
|
1967
|
-
}
|
|
1968
|
-
const t23 = provider.trackTokenUsage !== false;
|
|
1969
|
-
let t24;
|
|
1970
|
-
if ($[55] !== handleTrackTokenUsageChange || $[56] !== t22 || $[57] !== t23) {
|
|
1971
|
-
t24 = /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t22, checked: t23, onChange: handleTrackTokenUsageChange, size: "md" });
|
|
1972
|
-
$[55] = handleTrackTokenUsageChange;
|
|
1973
|
-
$[56] = t22;
|
|
1974
|
-
$[57] = t23;
|
|
1975
|
-
$[58] = t24;
|
|
1976
|
-
} else {
|
|
1977
|
-
t24 = $[58];
|
|
1978
|
-
}
|
|
1979
|
-
let t25;
|
|
1980
|
-
if ($[59] !== t) {
|
|
1981
|
-
t25 = t("modelLibrary.trackTokenUsageInfo");
|
|
1982
|
-
$[59] = t;
|
|
1983
|
-
$[60] = t25;
|
|
1984
|
-
} else {
|
|
1985
|
-
t25 = $[60];
|
|
1986
|
-
}
|
|
1987
|
-
let t26;
|
|
1988
|
-
if ($[61] !== t25) {
|
|
1989
|
-
t26 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t25 });
|
|
1990
|
-
$[61] = t25;
|
|
1991
|
-
$[62] = t26;
|
|
1992
|
-
} else {
|
|
1993
|
-
t26 = $[62];
|
|
1994
|
-
}
|
|
1995
|
-
let t27;
|
|
1996
|
-
if ($[63] !== t24 || $[64] !== t26) {
|
|
1997
|
-
t27 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
1998
|
-
t24,
|
|
1999
|
-
t26
|
|
2000
|
-
] });
|
|
2001
|
-
$[63] = t24;
|
|
2002
|
-
$[64] = t26;
|
|
2003
|
-
$[65] = t27;
|
|
2004
|
-
} else {
|
|
2005
|
-
t27 = $[65];
|
|
2006
|
-
}
|
|
2007
|
-
let t28;
|
|
2008
|
-
if ($[66] !== t21 || $[67] !== t27) {
|
|
2009
|
-
t28 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
|
|
2010
|
-
t21,
|
|
2011
|
-
t27
|
|
2012
|
-
] });
|
|
2013
|
-
$[66] = t21;
|
|
2014
|
-
$[67] = t27;
|
|
2015
|
-
$[68] = t28;
|
|
2016
|
-
} else {
|
|
2017
|
-
t28 = $[68];
|
|
2018
|
-
}
|
|
2019
|
-
return t28;
|
|
1810
|
+
} catch {
|
|
1811
|
+
setExtraBodyError(t("modelLibrary.extraBodyErrorInvalid"));
|
|
1812
|
+
}
|
|
1813
|
+
};
|
|
1814
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
|
|
1815
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Select, { label: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center font-medium", children: [
|
|
1816
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: t("reasoningEffort.label") }),
|
|
1817
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { className: "ml-1", tooltip: t("reasoningEffort.tooltip") })
|
|
1818
|
+
] }), value: reasoningEffort, onChange: handleReasoningEffortChange, options: reasoningOptions }),
|
|
1819
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
1820
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t("modelLibrary.trackTokenUsage"), checked: provider.trackTokenUsage !== false, onChange: handleTrackTokenUsageChange, size: "md" }),
|
|
1821
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t("modelLibrary.trackTokenUsageInfo") })
|
|
1822
|
+
] }),
|
|
1823
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Accordion, { title: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center text-sm font-medium gap-1", children: [
|
|
1824
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: t("modelLibrary.extraBody") }),
|
|
1825
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { className: "ml-1", tooltip: t("modelLibrary.extraBodyInfo") })
|
|
1826
|
+
] }), className: "border rounded-md border-border-default", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 pt-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(TextArea, { value: extraBodyText, onChange: handleExtraBodyChange, placeholder: '{\n "thinking": {\n "type": "adaptive"\n }\n}', rows: 5, error: extraBodyError }) }) })
|
|
1827
|
+
] });
|
|
2020
1828
|
};
|
|
2021
1829
|
const ZaiPlanThinkingSetting = (t0) => {
|
|
2022
1830
|
const $ = compilerRuntimeExports.c(41);
|
|
@@ -2914,6 +2722,74 @@ const BedrockIcon = (t0) => {
|
|
|
2914
2722
|
}
|
|
2915
2723
|
return t12;
|
|
2916
2724
|
};
|
|
2725
|
+
const ClinePassIcon = (t0) => {
|
|
2726
|
+
const $ = compilerRuntimeExports.c(13);
|
|
2727
|
+
const {
|
|
2728
|
+
width: t1,
|
|
2729
|
+
height: t2,
|
|
2730
|
+
className
|
|
2731
|
+
} = t0;
|
|
2732
|
+
const width = t1 === void 0 ? 64 : t1;
|
|
2733
|
+
const height = t2 === void 0 ? 64 : t2;
|
|
2734
|
+
const t3 = `flex items-center justify-center rounded-full ${className || ""}`;
|
|
2735
|
+
const t4 = `${height}px`;
|
|
2736
|
+
const t5 = `${width}px`;
|
|
2737
|
+
let t6;
|
|
2738
|
+
if ($[0] !== t4 || $[1] !== t5) {
|
|
2739
|
+
t6 = {
|
|
2740
|
+
background: "#353d45",
|
|
2741
|
+
color: "rgb(255, 255, 255)",
|
|
2742
|
+
height: t4,
|
|
2743
|
+
width: t5
|
|
2744
|
+
};
|
|
2745
|
+
$[0] = t4;
|
|
2746
|
+
$[1] = t5;
|
|
2747
|
+
$[2] = t6;
|
|
2748
|
+
} else {
|
|
2749
|
+
t6 = $[2];
|
|
2750
|
+
}
|
|
2751
|
+
const t7 = width * 0.6;
|
|
2752
|
+
const t8 = height * 0.6;
|
|
2753
|
+
let t10;
|
|
2754
|
+
let t11;
|
|
2755
|
+
let t9;
|
|
2756
|
+
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
2757
|
+
t9 = /* @__PURE__ */ jsxRuntimeExports.jsx("title", { children: "ClinePass" });
|
|
2758
|
+
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" });
|
|
2759
|
+
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" });
|
|
2760
|
+
$[3] = t10;
|
|
2761
|
+
$[4] = t11;
|
|
2762
|
+
$[5] = t9;
|
|
2763
|
+
} else {
|
|
2764
|
+
t10 = $[3];
|
|
2765
|
+
t11 = $[4];
|
|
2766
|
+
t9 = $[5];
|
|
2767
|
+
}
|
|
2768
|
+
let t12;
|
|
2769
|
+
if ($[6] !== t7 || $[7] !== t8) {
|
|
2770
|
+
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: [
|
|
2771
|
+
t9,
|
|
2772
|
+
t10,
|
|
2773
|
+
t11
|
|
2774
|
+
] });
|
|
2775
|
+
$[6] = t7;
|
|
2776
|
+
$[7] = t8;
|
|
2777
|
+
$[8] = t12;
|
|
2778
|
+
} else {
|
|
2779
|
+
t12 = $[8];
|
|
2780
|
+
}
|
|
2781
|
+
let t13;
|
|
2782
|
+
if ($[9] !== t12 || $[10] !== t3 || $[11] !== t6) {
|
|
2783
|
+
t13 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-label": "ClinePass", className: t3, style: t6, children: t12 });
|
|
2784
|
+
$[9] = t12;
|
|
2785
|
+
$[10] = t3;
|
|
2786
|
+
$[11] = t6;
|
|
2787
|
+
$[12] = t13;
|
|
2788
|
+
} else {
|
|
2789
|
+
t13 = $[12];
|
|
2790
|
+
}
|
|
2791
|
+
return t13;
|
|
2792
|
+
};
|
|
2917
2793
|
const CerebrasIcon = (t0) => {
|
|
2918
2794
|
const $ = compilerRuntimeExports.c(14);
|
|
2919
2795
|
const {
|
|
@@ -4401,6 +4277,7 @@ const PROVIDER_ICON_MAP$1 = {
|
|
|
4401
4277
|
azure: AzureIcon,
|
|
4402
4278
|
bedrock: BedrockIcon,
|
|
4403
4279
|
cerebras: CerebrasIcon,
|
|
4280
|
+
clinepass: ClinePassIcon,
|
|
4404
4281
|
deepseek: DeepseekIcon,
|
|
4405
4282
|
gemini: GeminiIcon,
|
|
4406
4283
|
gpustack: GpustackIcon,
|
|
@@ -5232,6 +5109,78 @@ const BedrockParameters = (t0) => {
|
|
|
5232
5109
|
}
|
|
5233
5110
|
return t29;
|
|
5234
5111
|
};
|
|
5112
|
+
const ClinePassParameters = (t0) => {
|
|
5113
|
+
const $ = compilerRuntimeExports.c(14);
|
|
5114
|
+
const {
|
|
5115
|
+
provider,
|
|
5116
|
+
onChange
|
|
5117
|
+
} = t0;
|
|
5118
|
+
const {
|
|
5119
|
+
t
|
|
5120
|
+
} = useTranslation();
|
|
5121
|
+
const apiKey = provider.apiKey || "";
|
|
5122
|
+
const {
|
|
5123
|
+
environmentVariable: clineApiKeyEnv
|
|
5124
|
+
} = useEffectiveEnvironmentVariable("CLINE_API_KEY");
|
|
5125
|
+
let t1;
|
|
5126
|
+
if ($[0] !== onChange || $[1] !== provider) {
|
|
5127
|
+
t1 = (e) => {
|
|
5128
|
+
onChange({
|
|
5129
|
+
...provider,
|
|
5130
|
+
apiKey: e.target.value
|
|
5131
|
+
});
|
|
5132
|
+
};
|
|
5133
|
+
$[0] = onChange;
|
|
5134
|
+
$[1] = provider;
|
|
5135
|
+
$[2] = t1;
|
|
5136
|
+
} else {
|
|
5137
|
+
t1 = $[2];
|
|
5138
|
+
}
|
|
5139
|
+
const handleApiKeyChange = t1;
|
|
5140
|
+
let t2;
|
|
5141
|
+
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
5142
|
+
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" }) });
|
|
5143
|
+
$[3] = t2;
|
|
5144
|
+
} else {
|
|
5145
|
+
t2 = $[3];
|
|
5146
|
+
}
|
|
5147
|
+
let t3;
|
|
5148
|
+
if ($[4] !== t) {
|
|
5149
|
+
t3 = t("clinepass.apiKey");
|
|
5150
|
+
$[4] = t;
|
|
5151
|
+
$[5] = t3;
|
|
5152
|
+
} else {
|
|
5153
|
+
t3 = $[5];
|
|
5154
|
+
}
|
|
5155
|
+
let t4;
|
|
5156
|
+
if ($[6] !== clineApiKeyEnv || $[7] !== t) {
|
|
5157
|
+
t4 = clineApiKeyEnv ? t("settings.agent.envVarFoundPlaceholder", {
|
|
5158
|
+
source: clineApiKeyEnv.source
|
|
5159
|
+
}) : t("settings.agent.envVarPlaceholder", {
|
|
5160
|
+
envVar: "CLINE_API_KEY"
|
|
5161
|
+
});
|
|
5162
|
+
$[6] = clineApiKeyEnv;
|
|
5163
|
+
$[7] = t;
|
|
5164
|
+
$[8] = t4;
|
|
5165
|
+
} else {
|
|
5166
|
+
t4 = $[8];
|
|
5167
|
+
}
|
|
5168
|
+
let t5;
|
|
5169
|
+
if ($[9] !== apiKey || $[10] !== handleApiKeyChange || $[11] !== t3 || $[12] !== t4) {
|
|
5170
|
+
t5 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
|
|
5171
|
+
t2,
|
|
5172
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: t3, type: "password", value: apiKey, onChange: handleApiKeyChange, placeholder: t4 })
|
|
5173
|
+
] });
|
|
5174
|
+
$[9] = apiKey;
|
|
5175
|
+
$[10] = handleApiKeyChange;
|
|
5176
|
+
$[11] = t3;
|
|
5177
|
+
$[12] = t4;
|
|
5178
|
+
$[13] = t5;
|
|
5179
|
+
} else {
|
|
5180
|
+
t5 = $[13];
|
|
5181
|
+
}
|
|
5182
|
+
return t5;
|
|
5183
|
+
};
|
|
5235
5184
|
const DeepseekParameters = (t0) => {
|
|
5236
5185
|
const $ = compilerRuntimeExports.c(52);
|
|
5237
5186
|
const {
|
|
@@ -7557,6 +7506,7 @@ const PROVIDER_PARAMETERS_MAP = {
|
|
|
7557
7506
|
"anthropic-compatible": AnthropicCompatibleParameters,
|
|
7558
7507
|
azure: AzureParameters,
|
|
7559
7508
|
bedrock: BedrockParameters,
|
|
7509
|
+
clinepass: ClinePassParameters,
|
|
7560
7510
|
deepseek: DeepseekParameters,
|
|
7561
7511
|
gemini: GeminiParameters,
|
|
7562
7512
|
gpustack: GpustackParameters,
|
|
@@ -8048,6 +7998,7 @@ const PROVIDER_ICON_MAP = {
|
|
|
8048
7998
|
azure: AzureIcon,
|
|
8049
7999
|
bedrock: BedrockIcon,
|
|
8050
8000
|
cerebras: CerebrasIcon,
|
|
8001
|
+
clinepass: ClinePassIcon,
|
|
8051
8002
|
deepseek: DeepseekIcon,
|
|
8052
8003
|
gemini: GeminiIcon,
|
|
8053
8004
|
gpustack: GpustackIcon,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, b2 as useTranslation, b_ as FONTS, b$ as THEMES, c0 as DiffViewMode, c1 as MessageViewMode, c2 as FileWatchMode, j as jsxRuntimeExports, c3 as ProjectStartMode, c4 as RadioButton, c5 as SuggestionMode, c6 as Slider, c7 as Checkbox, c8 as Select, c9 as Input, ca as useVersions, cb as useApi, b7 as Button, cc as FaFolderOpen, cd as B, ce as TbLogs, cf as FaSyncAlt, b0 as reactExports, cg as Chip, a as clsx, I as IconButton, ch as BiCopy, ci as useMount, cj as MemoryEmbeddingProgressPhase, ck as CodeInline, cl as FaTrash, cm as ConfirmDialog, a$ as useModelProviders, cn as useLocalStorage, co as DEFAULT_VOICE_SYSTEM_INSTRUCTIONS, cp as OpenAiVoiceModel, cq as GeminiVoiceModel, cr as TextArea, cs as isOpenAiProvider, ct as isGeminiProvider, cu as FaEdit, cv as FaTimes, cw as FaPlus, cx as useRecordHotkeys, cy as DEFAULT_HOTKEY_CONFIG, cz as ModelSelectorWrapper, cA as ContextCompactionType, cB as getProviderModelId, cC as Tooltip, cD as ItemSelector, cE as AiFillFolderOpen, cF as IoGitBranch, cG as useExtensions, cH as useReactIcons, cI as showSuccessNotification, ba as showErrorNotification, cJ as LoadingOverlay, cK as StringToReactComponent, cL as useOS, cM as FaCog, cN as Toggle, cO as FaSync, cP as FaDownload, cQ as FaChevronDown, cR as Markdown, cS as MARKDOWN_COMPONENTS, cT as REMARK_PLUGINS, cU as FaChevronLeft, cV as FaChevronRight, cW as FaSearch, cX as FaServer, cY as MdTerminal, cZ as FaRobot, c_ as LuClipboardList, c$ as FaBrain, d0 as FaMicrophone, d1 as FaKeyboard, d2 as FaPuzzlePiece, F as FaInfoCircle, b4 as useSettingsStore, b5 as useSaveSettings, b6 as useAgents, bb as lodashExports, d3 as setTheme, d4 as setFont, d5 as setFontSize, d6 as useHotkeys, d7 as ModalOverlayLayout } from "./index-
|
|
2
|
-
import { L as LanguageSelector, S as Section, g as getPathBasename, A as AgentSettings, a as AiderSettings } from "./AgentSettings-
|
|
3
|
-
import { I as InfoIcon } from "./InfoIcon-
|
|
1
|
+
import { c as compilerRuntimeExports, b2 as useTranslation, b_ as FONTS, b$ as THEMES, c0 as DiffViewMode, c1 as MessageViewMode, c2 as FileWatchMode, j as jsxRuntimeExports, c3 as ProjectStartMode, c4 as RadioButton, c5 as SuggestionMode, c6 as Slider, c7 as Checkbox, c8 as Select, c9 as Input, ca as useVersions, cb as useApi, b7 as Button, cc as FaFolderOpen, cd as B, ce as TbLogs, cf as FaSyncAlt, b0 as reactExports, cg as Chip, a as clsx, I as IconButton, ch as BiCopy, ci as useMount, cj as MemoryEmbeddingProgressPhase, ck as CodeInline, cl as FaTrash, cm as ConfirmDialog, a$ as useModelProviders, cn as useLocalStorage, co as DEFAULT_VOICE_SYSTEM_INSTRUCTIONS, cp as OpenAiVoiceModel, cq as GeminiVoiceModel, cr as TextArea, cs as isOpenAiProvider, ct as isGeminiProvider, cu as FaEdit, cv as FaTimes, cw as FaPlus, cx as useRecordHotkeys, cy as DEFAULT_HOTKEY_CONFIG, cz as ModelSelectorWrapper, cA as ContextCompactionType, cB as getProviderModelId, cC as Tooltip, cD as ItemSelector, cE as AiFillFolderOpen, cF as IoGitBranch, cG as useExtensions, cH as useReactIcons, cI as showSuccessNotification, ba as showErrorNotification, cJ as LoadingOverlay, cK as StringToReactComponent, cL as useOS, cM as FaCog, cN as Toggle, cO as FaSync, cP as FaDownload, cQ as FaChevronDown, cR as Markdown, cS as MARKDOWN_COMPONENTS, cT as REMARK_PLUGINS, cU as FaChevronLeft, cV as FaChevronRight, cW as FaSearch, cX as FaServer, cY as MdTerminal, cZ as FaRobot, c_ as LuClipboardList, c$ as FaBrain, d0 as FaMicrophone, d1 as FaKeyboard, d2 as FaPuzzlePiece, F as FaInfoCircle, b4 as useSettingsStore, b5 as useSaveSettings, b6 as useAgents, bb as lodashExports, d3 as setTheme, d4 as setFont, d5 as setFontSize, d6 as useHotkeys, d7 as ModalOverlayLayout } from "./index-Dq3ldCAy.js";
|
|
2
|
+
import { L as LanguageSelector, S as Section, g as getPathBasename, A as AgentSettings, a as AiderSettings } from "./AgentSettings-B-793Wr6.js";
|
|
3
|
+
import { I as InfoIcon } from "./InfoIcon-cuLXzJtV.js";
|
|
4
4
|
const ZOOM_OPTIONS = [{
|
|
5
5
|
label: "80%",
|
|
6
6
|
value: "0.8"
|
|
@@ -865,18 +865,18 @@ const GeneralSettings = (t0) => {
|
|
|
865
865
|
}
|
|
866
866
|
let t80;
|
|
867
867
|
if ($[191] !== t) {
|
|
868
|
-
t80 = t("settings.messages.
|
|
868
|
+
t80 = t("settings.messages.fullMessageRendering");
|
|
869
869
|
$[191] = t;
|
|
870
870
|
$[192] = t80;
|
|
871
871
|
} else {
|
|
872
872
|
t80 = $[192];
|
|
873
873
|
}
|
|
874
|
-
const t81 = settings.
|
|
874
|
+
const t81 = settings.fullMessageRendering ?? false;
|
|
875
875
|
let t82;
|
|
876
876
|
if ($[193] !== setSettings || $[194] !== settings) {
|
|
877
877
|
t82 = (checked_2) => setSettings({
|
|
878
878
|
...settings,
|
|
879
|
-
|
|
879
|
+
fullMessageRendering: checked_2
|
|
880
880
|
});
|
|
881
881
|
$[193] = setSettings;
|
|
882
882
|
$[194] = settings;
|
|
@@ -896,7 +896,7 @@ const GeneralSettings = (t0) => {
|
|
|
896
896
|
}
|
|
897
897
|
let t84;
|
|
898
898
|
if ($[200] !== t) {
|
|
899
|
-
t84 = t("settings.messages.
|
|
899
|
+
t84 = t("settings.messages.fullMessageRenderingTooltip");
|
|
900
900
|
$[200] = t;
|
|
901
901
|
$[201] = t84;
|
|
902
902
|
} else {
|
|
@@ -3496,6 +3496,9 @@ const VoiceSettings = (t0) => {
|
|
|
3496
3496
|
}, {
|
|
3497
3497
|
label: OpenAiVoiceModel.Gpt4oTranscribe,
|
|
3498
3498
|
value: OpenAiVoiceModel.Gpt4oTranscribe
|
|
3499
|
+
}, {
|
|
3500
|
+
label: OpenAiVoiceModel.GptRealtimeWhisper,
|
|
3501
|
+
value: OpenAiVoiceModel.GptRealtimeWhisper
|
|
3499
3502
|
}];
|
|
3500
3503
|
$[48] = t18;
|
|
3501
3504
|
} else {
|
|
@@ -3505,8 +3508,11 @@ const VoiceSettings = (t0) => {
|
|
|
3505
3508
|
let t19;
|
|
3506
3509
|
if ($[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
3507
3510
|
t19 = [{
|
|
3508
|
-
label: GeminiVoiceModel.
|
|
3509
|
-
value: GeminiVoiceModel.
|
|
3511
|
+
label: GeminiVoiceModel.Gemini31FlashLivePreview,
|
|
3512
|
+
value: GeminiVoiceModel.Gemini31FlashLivePreview
|
|
3513
|
+
}, {
|
|
3514
|
+
label: GeminiVoiceModel.Gemini25FlashNativeAudio,
|
|
3515
|
+
value: GeminiVoiceModel.Gemini25FlashNativeAudio
|
|
3510
3516
|
}];
|
|
3511
3517
|
$[49] = t19;
|
|
3512
3518
|
} else {
|
|
@@ -3618,10 +3624,10 @@ const VoiceSettings = (t0) => {
|
|
|
3618
3624
|
}
|
|
3619
3625
|
const handleGeminiTemperatureChange = t23;
|
|
3620
3626
|
const openAiProvider = selectedProfile?.provider.name === "openai" ? selectedProfile.provider : void 0;
|
|
3621
|
-
const openAiModel = openAiProvider?.voice?.model ?? OpenAiVoiceModel.
|
|
3627
|
+
const openAiModel = openAiProvider?.voice?.model ?? OpenAiVoiceModel.GptRealtimeWhisper;
|
|
3622
3628
|
const openAiLanguage = openAiProvider?.voice?.language ?? "en";
|
|
3623
3629
|
const geminiProvider = selectedProfile?.provider.name === "gemini" ? selectedProfile.provider : void 0;
|
|
3624
|
-
const geminiModel = geminiProvider?.voice?.model ?? GeminiVoiceModel.
|
|
3630
|
+
const geminiModel = geminiProvider?.voice?.model ?? GeminiVoiceModel.Gemini31FlashLivePreview;
|
|
3625
3631
|
const geminiTemperature = geminiProvider?.voice?.temperature ?? 0.7;
|
|
3626
3632
|
const [geminiTemperatureDraft, setGeminiTemperatureDraft] = reactExports.useState(geminiTemperature);
|
|
3627
3633
|
let t24;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ao as withPath, bV as array, az as constant,
|
|
1
|
+
import { ao as withPath, bV as array, az as constant, fu as curveLinear, fv as x, fw as y, aF as shapeLine, ar as tau, ax as sqrt$1, aw as pi, at as sin, as as cos, c as compilerRuntimeExports, b2 as useTranslation, b0 as reactExports, j as jsxRuntimeExports, dk as MdArrowUpward, dl as MdArrowDownward, bW as getDefaultExportFromCjs, a as clsx, fx as commonjsGlobal, fy as withSelectorExports, fz as reactDomExports, fA as stepBefore, fB as stepAfter, fC as curveStep, fD as curveNatural, fE as monotoneY, fF as monotoneX, fG as curveLinearClosed, fH as bumpY, fI as bumpX, aN as curveBasis, fJ as curveBasisOpen, fK as curveBasisClosed, cb as useApi, d7 as ModalOverlayLayout, fL as DatePicker, c8 as Select, fM as MultiSelect, I as IconButton, cO as FaSync, fN as FaTable, fO as FaChartBar, fP as CgSpinner } from "./index-Dq3ldCAy.js";
|
|
2
2
|
import { b as band, p as point } from "./band-zXq5o_Ib.js";
|
|
3
|
-
import { d as ascending, n as numbers, e as number, i as interpolate, f as number$1, g as linearish, h as transformer$2, a as copy$1, j as ticks, k as identity$3, c as continuous, m as bisectRight, o as interpolateRound, l as linear, p as tickFormat } from "./linear-
|
|
3
|
+
import { d as ascending, n as numbers, e as number, i as interpolate, f as number$1, g as linearish, h as transformer$2, a as copy$1, j as ticks, k as identity$3, c as continuous, m as bisectRight, o as interpolateRound, l as linear, p as tickFormat } from "./linear-DNZEF2Al.js";
|
|
4
4
|
import { i as initRange, a as initInterpolator } from "./init-CTO7spbL.js";
|
|
5
|
-
import { m as min, a as max, p as nice, q as calendar, u as utcFormat, s as second, r as utcMinute, v as utcHour, w as utcDay, x as utcSunday, y as utcMonth, z as utcYear, A as utcTickInterval, B as utcTicks, t as time } from "./time-
|
|
5
|
+
import { m as min, a as max, p as nice, q as calendar, u as utcFormat, s as second, r as utcMinute, v as utcHour, w as utcDay, x as utcSunday, y as utcMonth, z as utcYear, A as utcTickInterval, B as utcTicks, t as time } from "./time-CQSoUo1N.js";
|
|
6
6
|
import { f as formatSpecifier, b as format } from "./defaultLocale-B2RvLBDe.js";
|
|
7
7
|
import { i as implicit, o as ordinal } from "./ordinal-BD3Y6v77.js";
|
|
8
8
|
function compareDefined(compare = ascending) {
|