@aiderdesk/aiderdesk 0.74.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.
Files changed (79) hide show
  1. package/out/{open-telemetry-baOvr6sK.js → open-telemetry-B7yROZIC.js} +3 -0
  2. package/out/renderer/assets/{AgentSettings-B-793Wr6.js → AgentSettings-DX34HLFv.js} +2 -2
  3. package/out/renderer/assets/{InfoIcon-cuLXzJtV.js → InfoIcon-DzyZQ7Ye.js} +1 -1
  4. package/out/renderer/assets/{Onboarding-xrPWRnXm.js → Onboarding-FwXfKZ8B.js} +4 -4
  5. package/out/renderer/assets/{ProviderHeader-CMVyqpPa.js → ProviderHeader-Cii9aAmV.js} +275 -197
  6. package/out/renderer/assets/{SettingsPage-BBtDhv80.js → SettingsPage-XanGltUZ.js} +3 -3
  7. package/out/renderer/assets/{UsageDashboard-CGI4iwCD.js → UsageDashboard-eHbvZTZC.js} +3795 -2366
  8. package/out/renderer/assets/{arc-CFENq1wJ.js → arc-CVfdiTl1.js} +1 -1
  9. package/out/renderer/assets/{architectureDiagram-3BPJPVTR-BRG_9Mao.js → architectureDiagram-3BPJPVTR-DsLLo_Ek.js} +3 -3
  10. package/out/renderer/assets/{blockDiagram-GPEHLZMM-B3c7WMY4.js → blockDiagram-GPEHLZMM-eWy47S0_.js} +4 -4
  11. package/out/renderer/assets/{c4Diagram-AAUBKEIU-BYQrxMcW.js → c4Diagram-AAUBKEIU-BH9b_e6y.js} +2 -2
  12. package/out/renderer/assets/{channel-DPxL1rpa.js → channel-D1z_mPGJ.js} +1 -1
  13. package/out/renderer/assets/{chunk-2J33WTMH-C-kk05Nj.js → chunk-2J33WTMH-DK0Yw_7f.js} +1 -1
  14. package/out/renderer/assets/{chunk-4BX2VUAB-BV8PWxnG.js → chunk-4BX2VUAB-DIGR8Y5b.js} +1 -1
  15. package/out/renderer/assets/{chunk-55IACEB6-Cj6KHkUp.js → chunk-55IACEB6-DoCkLI5e.js} +1 -1
  16. package/out/renderer/assets/{chunk-727SXJPM-BaIkuSPr.js → chunk-727SXJPM-C2gQLzLi.js} +5 -5
  17. package/out/renderer/assets/{chunk-AQP2D5EJ-DVZR_bfB.js → chunk-AQP2D5EJ-D83_SlRR.js} +3 -3
  18. package/out/renderer/assets/{chunk-FMBD7UC4-CNrb2a0a.js → chunk-FMBD7UC4-CyiPoUsC.js} +1 -1
  19. package/out/renderer/assets/{chunk-ND2GUHAM-ClOnPDjy.js → chunk-ND2GUHAM-DfGsUYDD.js} +1 -1
  20. package/out/renderer/assets/{chunk-QZHKN3VN-B2sJx9j2.js → chunk-QZHKN3VN-BhnTFlht.js} +1 -1
  21. package/out/renderer/assets/{classDiagram-4FO5ZUOK-ZzwWMcLO.js → classDiagram-4FO5ZUOK-Dy7E8tVe.js} +6 -6
  22. package/out/renderer/assets/{classDiagram-v2-Q7XG4LA2-ZzwWMcLO.js → classDiagram-v2-Q7XG4LA2-Dy7E8tVe.js} +6 -6
  23. package/out/renderer/assets/{cose-bilkent-S5V4N54A-DBx-UiMU.js → cose-bilkent-S5V4N54A-Dsl61WN3.js} +1 -1
  24. package/out/renderer/assets/{dagre-BM42HDAG-B_vMvYpz.js → dagre-BM42HDAG-D-u18G94.js} +3 -3
  25. package/out/renderer/assets/{diagram-2AECGRRQ-Do-w2xXO.js → diagram-2AECGRRQ-BumP49Qp.js} +3 -3
  26. package/out/renderer/assets/{diagram-5GNKFQAL-JzG77sgb.js → diagram-5GNKFQAL-VpUN87Sw.js} +4 -4
  27. package/out/renderer/assets/{diagram-KO2AKTUF-CGMx2nPP.js → diagram-KO2AKTUF-CXCWwzRa.js} +3 -3
  28. package/out/renderer/assets/{diagram-LMA3HP47-BqXnQeNu.js → diagram-LMA3HP47-vlOcStwn.js} +3 -3
  29. package/out/renderer/assets/{diagram-OG6HWLK6-BR4e0lIb.js → diagram-OG6HWLK6-DS1BscxN.js} +4 -4
  30. package/out/renderer/assets/{erDiagram-TEJ5UH35-B7QK0XSy.js → erDiagram-TEJ5UH35-DPi6-CLL.js} +4 -4
  31. package/out/renderer/assets/{flowDiagram-I6XJVG4X-BOySqejA.js → flowDiagram-I6XJVG4X-BYlX12Cd.js} +6 -6
  32. package/out/renderer/assets/{ganttDiagram-6RSMTGT7-BORAleML.js → ganttDiagram-6RSMTGT7-BJQl-A9d.js} +3 -3
  33. package/out/renderer/assets/{gitGraphDiagram-PVQCEYII-DTReLiJT.js → gitGraphDiagram-PVQCEYII-CUFXx3IZ.js} +4 -4
  34. package/out/renderer/assets/{graph-Bf8U9r0n.js → graph-CbFubTTc.js} +1 -1
  35. package/out/renderer/assets/{index-BS5vy5uH.js → index-9GNr8q1O.js} +1 -1
  36. package/out/renderer/assets/{index-DUoUqcJ_.js → index-B6R_BNfE.js} +1 -1
  37. package/out/renderer/assets/{index-D3R9tjiT.js → index-B9iW9QmT.js} +1 -1
  38. package/out/renderer/assets/{index-D6b3rMtW.js → index-BkdacTnN.js} +1 -1
  39. package/out/renderer/assets/{index-CmQY2QKE.js → index-C7885gEz.js} +1 -1
  40. package/out/renderer/assets/{index-BOQBc3Qj.js → index-Cg7tn967.js} +575 -251
  41. package/out/renderer/assets/{index-7NwOg_q_.css → index-DCILJy4w.css} +42 -0
  42. package/out/renderer/assets/{index-Dq3ldCAy.js → index-DNlMJMPg.js} +3239 -2487
  43. package/out/renderer/assets/{index-COyr1I0o.js → index-DYKLRIHT.js} +1 -1
  44. package/out/renderer/assets/{index-5i67azF0.js → index-DeoI6jti.js} +1 -1
  45. package/out/renderer/assets/{index-Dtxgil7l.js → index-fD843lMX.js} +1 -1
  46. package/out/renderer/assets/{infoDiagram-5YYISTIA-Ryv-Emth.js → infoDiagram-5YYISTIA-IWJLFUYz.js} +2 -2
  47. package/out/renderer/assets/{ishikawaDiagram-YF4QCWOH-Blzp6JLN.js → ishikawaDiagram-YF4QCWOH-BuNfm7cB.js} +1 -1
  48. package/out/renderer/assets/{journeyDiagram-JHISSGLW--KB4ASET.js → journeyDiagram-JHISSGLW-CfceKUHO.js} +4 -4
  49. package/out/renderer/assets/{jsx-dev-runtime-DAzw_Red.js → jsx-dev-runtime-DT3FTts0.js} +1 -1
  50. package/out/renderer/assets/{kanban-definition-UN3LZRKU-BzNpCu_x.js → kanban-definition-UN3LZRKU-Bb6YnEgS.js} +2 -2
  51. package/out/renderer/assets/{layout-BQu4M-KW.js → layout-BkrDn6V9.js} +2 -2
  52. package/out/renderer/assets/{linear-DNZEF2Al.js → linear-jxO_dc8P.js} +1 -1
  53. package/out/renderer/assets/{mindmap-definition-RKZ34NQL-CxQjZIps.js → mindmap-definition-RKZ34NQL-BPRx7p9A.js} +3 -3
  54. package/out/renderer/assets/{pieDiagram-4H26LBE5-qJt7eGwM.js → pieDiagram-4H26LBE5-CPR4AuPM.js} +4 -4
  55. package/out/renderer/assets/{quadrantDiagram-W4KKPZXB-mMOhLjN_.js → quadrantDiagram-W4KKPZXB-BKzlAr7m.js} +2 -2
  56. package/out/renderer/assets/{requirementDiagram-4Y6WPE33-GLhMtLW7.js → requirementDiagram-4Y6WPE33-CUan3EZI.js} +3 -3
  57. package/out/renderer/assets/{sankeyDiagram-5OEKKPKP-Kcd8qR8y.js → sankeyDiagram-5OEKKPKP-y8X8qnX2.js} +1 -1
  58. package/out/renderer/assets/{sequenceDiagram-3UESZ5HK-CpmBIgMJ.js → sequenceDiagram-3UESZ5HK-B4xv8iDW.js} +3 -3
  59. package/out/renderer/assets/{stateDiagram-AJRCARHV-D00qZ9cQ.js → stateDiagram-AJRCARHV-DTPE2Z4L.js} +6 -6
  60. package/out/renderer/assets/{stateDiagram-v2-BHNVJYJU-CkEgNJrB.js → stateDiagram-v2-BHNVJYJU-BmZ9o6q3.js} +4 -4
  61. package/out/renderer/assets/{time-CQSoUo1N.js → time-D391Z6zp.js} +1 -1
  62. package/out/renderer/assets/{timeline-definition-PNZ67QCA-CmydTbH6.js → timeline-definition-PNZ67QCA-DVLUB2HD.js} +2 -2
  63. package/out/renderer/assets/{vennDiagram-CIIHVFJN-B4QGhnvI.js → vennDiagram-CIIHVFJN-BGGBlVN1.js} +1 -1
  64. package/out/renderer/assets/{wardley-L42UT6IY-B-mpW52K.js → wardley-L42UT6IY-ZVVSjQUD.js} +1 -1
  65. package/out/renderer/assets/{wardleyDiagram-YWT4CUSO-Cz1pK1MY.js → wardleyDiagram-YWT4CUSO-CRAH-LRw.js} +3 -3
  66. package/out/renderer/assets/{xychartDiagram-2RQKCTM6-H-Q9Zv48.js → xychartDiagram-2RQKCTM6-DQqvm7M3.js} +2 -2
  67. package/out/renderer/index.html +2 -2
  68. package/out/resources/linux/probe +0 -0
  69. package/out/resources/linux-x64/probe +0 -0
  70. package/out/resources/skills/extension-creator/SKILL.md +71 -7
  71. package/out/resources/skills/extension-creator/references/event-types.md +543 -40
  72. package/out/resources/skills/extension-creator/references/examples-gallery.md +23 -14
  73. package/out/resources/skills/extension-creator/references/extension-interface.md +1111 -171
  74. package/out/resources/skills/extension-creator/references/ui-components.md +34 -6
  75. package/out/runner.js +428 -320
  76. package/package.json +21 -19
  77. package/patches/@requesty+ai-sdk+3.5.0.patch +84 -0
  78. package/patches/ai+7.0.28.patch +33 -0
  79. 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, 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";
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("");
@@ -7529,7 +7586,7 @@ const PROVIDER_PARAMETERS_MAP = {
7529
7586
  "zai-plan": ZaiPlanParameters
7530
7587
  };
7531
7588
  const ProviderProfileForm = reactExports.forwardRef((t0, ref) => {
7532
- const $ = compilerRuntimeExports.c(107);
7589
+ const $ = compilerRuntimeExports.c(110);
7533
7590
  const {
7534
7591
  provider,
7535
7592
  editProfile,
@@ -7645,8 +7702,24 @@ const ProviderProfileForm = reactExports.forwardRef((t0, ref) => {
7645
7702
  }
7646
7703
  const handleDisableStreamingChange = t10;
7647
7704
  let t11;
7648
- if ($[16] !== editProfile || $[17] !== id || $[18] !== providers || $[19] !== t) {
7649
- 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 = () => {
7650
7723
  const newErrors = {};
7651
7724
  const existingIds = providers.filter((p) => editProfile ? p.id !== editProfile.id : true).map(_temp3);
7652
7725
  if (existingIds.includes(id)) {
@@ -7655,18 +7728,18 @@ const ProviderProfileForm = reactExports.forwardRef((t0, ref) => {
7655
7728
  setErrors(newErrors);
7656
7729
  return Object.keys(newErrors).length === 0;
7657
7730
  };
7658
- $[16] = editProfile;
7659
- $[17] = id;
7660
- $[18] = providers;
7661
- $[19] = t;
7662
- $[20] = t11;
7731
+ $[18] = editProfile;
7732
+ $[19] = id;
7733
+ $[20] = providers;
7734
+ $[21] = t;
7735
+ $[22] = t12;
7663
7736
  } else {
7664
- t11 = $[20];
7737
+ t12 = $[22];
7665
7738
  }
7666
- const validateForm = t11;
7667
- let t12;
7668
- if ($[21] !== disabled || $[22] !== headers || $[23] !== id || $[24] !== name || $[25] !== onSave || $[26] !== parameters || $[27] !== validateForm) {
7669
- t12 = () => {
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 = () => {
7670
7743
  if (!parameters) {
7671
7744
  return;
7672
7745
  }
@@ -7682,291 +7755,295 @@ const ProviderProfileForm = reactExports.forwardRef((t0, ref) => {
7682
7755
  disabled
7683
7756
  });
7684
7757
  };
7685
- $[21] = disabled;
7686
- $[22] = headers;
7687
- $[23] = id;
7688
- $[24] = name;
7689
- $[25] = onSave;
7690
- $[26] = parameters;
7691
- $[27] = validateForm;
7692
- $[28] = t12;
7758
+ $[23] = disabled;
7759
+ $[24] = headers;
7760
+ $[25] = id;
7761
+ $[26] = name;
7762
+ $[27] = onSave;
7763
+ $[28] = parameters;
7764
+ $[29] = validateForm;
7765
+ $[30] = t13;
7693
7766
  } else {
7694
- t12 = $[28];
7767
+ t13 = $[30];
7695
7768
  }
7696
- const handleSave = t12;
7697
- let t13;
7698
- if ($[29] !== handleSave) {
7699
- t13 = () => ({
7769
+ const handleSave = t13;
7770
+ let t14;
7771
+ if ($[31] !== handleSave) {
7772
+ t14 = () => ({
7700
7773
  submit: () => {
7701
7774
  handleSave();
7702
7775
  }
7703
7776
  });
7704
- $[29] = handleSave;
7705
- $[30] = t13;
7777
+ $[31] = handleSave;
7778
+ $[32] = t14;
7706
7779
  } else {
7707
- t13 = $[30];
7780
+ t14 = $[32];
7708
7781
  }
7709
- reactExports.useImperativeHandle(ref, t13);
7782
+ reactExports.useImperativeHandle(ref, t14);
7710
7783
  const ParametersComponent = PROVIDER_PARAMETERS_MAP[provider];
7711
- let t14;
7712
- if ($[31] !== hideTitle || $[32] !== provider || $[33] !== t) {
7713
- t14 = !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", {
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", {
7714
7787
  provider: t(`providers.${provider}`)
7715
7788
  }) }) });
7716
- $[31] = hideTitle;
7717
- $[32] = provider;
7718
- $[33] = t;
7719
- $[34] = t14;
7720
- } else {
7721
- t14 = $[34];
7722
- }
7723
- let t15;
7724
- if ($[35] !== t) {
7725
- t15 = t("modelLibrary.profileForm.name");
7789
+ $[33] = hideTitle;
7790
+ $[34] = provider;
7726
7791
  $[35] = t;
7727
7792
  $[36] = t15;
7728
7793
  } else {
7729
7794
  t15 = $[36];
7730
7795
  }
7731
- const t16 = `providers.${provider}`;
7732
- let t17;
7733
- if ($[37] !== t || $[38] !== t16) {
7734
- t17 = t(t16);
7796
+ let t16;
7797
+ if ($[37] !== t) {
7798
+ t16 = t("modelLibrary.profileForm.name");
7735
7799
  $[37] = t;
7736
7800
  $[38] = t16;
7737
- $[39] = t17;
7738
7801
  } else {
7739
- t17 = $[39];
7802
+ t16 = $[38];
7740
7803
  }
7804
+ const t17 = `providers.${provider}`;
7741
7805
  let t18;
7742
- if ($[40] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
7743
- t18 = (e) => setName(e.target.value);
7744
- $[40] = t18;
7806
+ if ($[39] !== t || $[40] !== t17) {
7807
+ t18 = t(t17);
7808
+ $[39] = t;
7809
+ $[40] = t17;
7810
+ $[41] = t18;
7745
7811
  } else {
7746
- t18 = $[40];
7812
+ t18 = $[41];
7747
7813
  }
7748
7814
  let t19;
7749
- if ($[41] !== name || $[42] !== t15 || $[43] !== t17) {
7750
- t19 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { wrapperClassName: "w-full", label: t15, placeholder: t17, value: name, onChange: t18 });
7751
- $[41] = name;
7752
- $[42] = t15;
7753
- $[43] = t17;
7754
- $[44] = t19;
7815
+ if ($[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
7816
+ t19 = (e) => setName(e.target.value);
7817
+ $[42] = t19;
7755
7818
  } else {
7756
- t19 = $[44];
7819
+ t19 = $[42];
7757
7820
  }
7758
7821
  let t20;
7759
- if ($[45] !== t) {
7760
- t20 = t("modelLibrary.profileForm.id");
7761
- $[45] = t;
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;
7762
7827
  $[46] = t20;
7763
7828
  } else {
7764
7829
  t20 = $[46];
7765
7830
  }
7766
7831
  let t21;
7767
- if ($[47] !== handleIdChange) {
7768
- t21 = (e_0) => handleIdChange(e_0.target.value);
7769
- $[47] = handleIdChange;
7832
+ if ($[47] !== t) {
7833
+ t21 = t("modelLibrary.profileForm.id");
7834
+ $[47] = t;
7770
7835
  $[48] = t21;
7771
7836
  } else {
7772
7837
  t21 = $[48];
7773
7838
  }
7774
- const t22 = !!editProfile;
7775
- let t23;
7776
- if ($[49] !== id || $[50] !== t20 || $[51] !== t21 || $[52] !== t22) {
7777
- t23 = /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { wrapperClassName: "w-full", label: t20, value: id, onChange: t21, disabled: t22 });
7778
- $[49] = id;
7779
- $[50] = t20;
7780
- $[51] = t21;
7781
- $[52] = t22;
7782
- $[53] = t23;
7839
+ let t22;
7840
+ if ($[49] !== handleIdChange) {
7841
+ t22 = (e_0) => handleIdChange(e_0.target.value);
7842
+ $[49] = handleIdChange;
7843
+ $[50] = t22;
7783
7844
  } else {
7784
- t23 = $[53];
7845
+ t22 = $[50];
7785
7846
  }
7847
+ const t23 = !!editProfile;
7786
7848
  let t24;
7787
- if ($[54] !== errors.id) {
7788
- t24 = errors.id && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-error text-2xs mt-1", children: errors.id });
7789
- $[54] = errors.id;
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;
7790
7855
  $[55] = t24;
7791
7856
  } else {
7792
7857
  t24 = $[55];
7793
7858
  }
7794
7859
  let t25;
7795
- if ($[56] !== t23 || $[57] !== t24) {
7796
- t25 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full", children: [
7797
- t23,
7798
- t24
7799
- ] });
7800
- $[56] = t23;
7801
- $[57] = t24;
7802
- $[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;
7803
7864
  } else {
7804
- t25 = $[58];
7865
+ t25 = $[57];
7805
7866
  }
7806
7867
  let t26;
7807
- if ($[59] !== t19 || $[60] !== t25) {
7808
- t26 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col md:flex-row gap-4", children: [
7809
- t19,
7868
+ if ($[58] !== t24 || $[59] !== t25) {
7869
+ t26 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full", children: [
7870
+ t24,
7810
7871
  t25
7811
7872
  ] });
7812
- $[59] = t19;
7813
- $[60] = t25;
7814
- $[61] = t26;
7873
+ $[58] = t24;
7874
+ $[59] = t25;
7875
+ $[60] = t26;
7815
7876
  } else {
7816
- t26 = $[61];
7877
+ t26 = $[60];
7817
7878
  }
7818
7879
  let t27;
7819
- if ($[62] !== ParametersComponent || $[63] !== parameters) {
7820
- t27 = ParametersComponent && parameters && /* @__PURE__ */ jsxRuntimeExports.jsx(ParametersComponent, { provider: parameters, onChange: setParameters });
7821
- $[62] = ParametersComponent;
7822
- $[63] = parameters;
7823
- $[64] = t27;
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;
7824
7888
  } else {
7825
- t27 = $[64];
7889
+ t27 = $[63];
7826
7890
  }
7827
7891
  let t28;
7828
- if ($[65] !== t) {
7829
- t28 = t("modelLibrary.profileForm.headers");
7830
- $[65] = t;
7892
+ if ($[64] !== ParametersComponent || $[65] !== parameters) {
7893
+ t28 = ParametersComponent && parameters && /* @__PURE__ */ jsxRuntimeExports.jsx(ParametersComponent, { provider: parameters, onChange: setParameters });
7894
+ $[64] = ParametersComponent;
7895
+ $[65] = parameters;
7831
7896
  $[66] = t28;
7832
7897
  } else {
7833
7898
  t28 = $[66];
7834
7899
  }
7835
7900
  let t29;
7836
- if ($[67] !== t28) {
7837
- t29 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm", children: t28 });
7838
- $[67] = t28;
7901
+ if ($[67] !== t) {
7902
+ t29 = t("modelLibrary.profileForm.headers");
7903
+ $[67] = t;
7839
7904
  $[68] = t29;
7840
7905
  } else {
7841
7906
  t29 = $[68];
7842
7907
  }
7843
7908
  let t30;
7844
- if ($[69] !== handleHeaderChange || $[70] !== headers || $[71] !== removeHeader || $[72] !== t) {
7845
- let t312;
7846
- if ($[74] !== handleHeaderChange || $[75] !== removeHeader || $[76] !== t) {
7847
- t312 = (header_0) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2 w-full", children: [
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: [
7848
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" }),
7849
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" }),
7850
7923
  /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: /* @__PURE__ */ jsxRuntimeExports.jsx(FaTrash, {}), onClick: () => removeHeader(header_0.id), className: "p-2" })
7851
7924
  ] }, header_0.id);
7852
- $[74] = handleHeaderChange;
7853
- $[75] = removeHeader;
7854
- $[76] = t;
7855
- $[77] = t312;
7925
+ $[76] = handleHeaderChange;
7926
+ $[77] = removeHeader;
7927
+ $[78] = t;
7928
+ $[79] = t322;
7856
7929
  } else {
7857
- t312 = $[77];
7930
+ t322 = $[79];
7858
7931
  }
7859
- t30 = headers.map(t312);
7860
- $[69] = handleHeaderChange;
7861
- $[70] = headers;
7862
- $[71] = removeHeader;
7863
- $[72] = t;
7864
- $[73] = t30;
7932
+ t31 = headers.map(t322);
7933
+ $[71] = handleHeaderChange;
7934
+ $[72] = headers;
7935
+ $[73] = removeHeader;
7936
+ $[74] = t;
7937
+ $[75] = t31;
7865
7938
  } else {
7866
- t30 = $[73];
7867
- }
7868
- let t31;
7869
- if ($[78] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
7870
- t31 = /* @__PURE__ */ jsxRuntimeExports.jsx(FaPlus, { className: "mr-2 w-4 h-4" });
7871
- $[78] = t31;
7872
- } else {
7873
- t31 = $[78];
7939
+ t31 = $[75];
7874
7940
  }
7875
7941
  let t32;
7876
- if ($[79] !== t) {
7877
- t32 = t("modelLibrary.profileForm.addHeader");
7878
- $[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" });
7879
7944
  $[80] = t32;
7880
7945
  } else {
7881
7946
  t32 = $[80];
7882
7947
  }
7883
7948
  let t33;
7884
- if ($[81] !== addHeader || $[82] !== t32) {
7885
- t33 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { onClick: addHeader, variant: "text", className: "mt-2", size: "sm", children: [
7886
- t31,
7887
- t32
7888
- ] }) });
7889
- $[81] = addHeader;
7890
- $[82] = t32;
7891
- $[83] = t33;
7949
+ if ($[81] !== t) {
7950
+ t33 = t("modelLibrary.profileForm.addHeader");
7951
+ $[81] = t;
7952
+ $[82] = t33;
7892
7953
  } else {
7893
- t33 = $[83];
7954
+ t33 = $[82];
7894
7955
  }
7895
7956
  let t34;
7896
- if ($[84] !== t30 || $[85] !== t33) {
7897
- t34 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 pt-2", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
7898
- t30,
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,
7899
7960
  t33
7900
7961
  ] }) });
7901
- $[84] = t30;
7902
- $[85] = t33;
7903
- $[86] = t34;
7962
+ $[83] = addHeader;
7963
+ $[84] = t33;
7964
+ $[85] = t34;
7904
7965
  } else {
7905
- t34 = $[86];
7966
+ t34 = $[85];
7906
7967
  }
7907
7968
  let t35;
7908
- if ($[87] !== t29 || $[88] !== t34) {
7909
- t35 = /* @__PURE__ */ jsxRuntimeExports.jsx(Accordion, { title: t29, className: "mb-2 border rounded-md border-border-default", children: t34 });
7910
- $[87] = t29;
7911
- $[88] = t34;
7912
- $[89] = t35;
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;
7913
7977
  } else {
7914
- t35 = $[89];
7978
+ t35 = $[88];
7915
7979
  }
7916
7980
  let t36;
7917
- if ($[90] !== t26 || $[91] !== t27 || $[92] !== t35) {
7918
- t36 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
7919
- t26,
7920
- t27,
7921
- t35
7922
- ] });
7923
- $[90] = t26;
7924
- $[91] = t27;
7925
- $[92] = t35;
7926
- $[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;
7927
7986
  } else {
7928
- t36 = $[93];
7987
+ t36 = $[91];
7929
7988
  }
7930
7989
  let t37;
7931
- if ($[94] !== handleDisableStreamingChange || $[95] !== parameters) {
7932
- t37 = parameters && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mt-4 mx-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(DisableStreaming, { checked: parameters.disableStreaming ?? false, onChange: handleDisableStreamingChange }) });
7933
- $[94] = handleDisableStreamingChange;
7934
- $[95] = parameters;
7935
- $[96] = t37;
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;
7936
8000
  } else {
7937
- t37 = $[96];
8001
+ t37 = $[95];
7938
8002
  }
7939
8003
  let t38;
7940
- if ($[97] !== handleSave || $[98] !== hideActions || $[99] !== onCancel || $[100] !== t) {
7941
- t38 = !hideActions && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-end space-x-4 mt-8", children: [
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: [
7942
8019
  /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: onCancel, variant: "text", children: t("common.cancel") }),
7943
8020
  /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: handleSave, children: t("common.save") })
7944
8021
  ] });
7945
- $[97] = handleSave;
7946
- $[98] = hideActions;
7947
- $[99] = onCancel;
7948
- $[100] = t;
7949
- $[101] = t38;
8022
+ $[100] = handleSave;
8023
+ $[101] = hideActions;
8024
+ $[102] = onCancel;
8025
+ $[103] = t;
8026
+ $[104] = t39;
7950
8027
  } else {
7951
- t38 = $[101];
8028
+ t39 = $[104];
7952
8029
  }
7953
- let t39;
7954
- if ($[102] !== t14 || $[103] !== t36 || $[104] !== t37 || $[105] !== t38) {
7955
- t39 = /* @__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: [
7956
- t14,
7957
- 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,
7958
8034
  t37,
7959
- t38
8035
+ t38,
8036
+ t39
7960
8037
  ] }) });
7961
- $[102] = t14;
7962
- $[103] = t36;
7963
- $[104] = t37;
7964
- $[105] = t38;
7965
- $[106] = t39;
8038
+ $[105] = t15;
8039
+ $[106] = t37;
8040
+ $[107] = t38;
8041
+ $[108] = t39;
8042
+ $[109] = t40;
7966
8043
  } else {
7967
- t39 = $[106];
8044
+ t40 = $[109];
7968
8045
  }
7969
- return t39;
8046
+ return t40;
7970
8047
  });
7971
8048
  ProviderProfileForm.displayName = "ProviderProfileForm";
7972
8049
  function _temp(t0) {
@@ -8408,6 +8485,7 @@ export {
8408
8485
  ZaiPlanThinkingSetting as Z,
8409
8486
  ProviderSelection as a,
8410
8487
  ProviderHeader as b,
8411
- OpenAiAdvancedSettings as c,
8412
- OpenAiCompatibleAdvancedSettings as d
8488
+ DisableToolCallStreaming as c,
8489
+ OpenAiAdvancedSettings as d,
8490
+ OpenAiCompatibleAdvancedSettings as e
8413
8491
  };
@@ -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-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";
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-DNlMJMPg.js";
2
+ import { L as LanguageSelector, S as Section, g as getPathBasename, A as AgentSettings, a as AiderSettings } from "./AgentSettings-DX34HLFv.js";
3
+ import { I as InfoIcon } from "./InfoIcon-DzyZQ7Ye.js";
4
4
  const ZOOM_OPTIONS = [{
5
5
  label: "80%",
6
6
  value: "0.8"