@aiderdesk/aiderdesk 0.82.0 → 0.84.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 (102) hide show
  1. package/out/renderer/assets/{AgentSettings-DJJc1Fme.js → AgentSettings-DM4mKi74.js} +36 -9
  2. package/out/renderer/assets/{InfoIcon-C52Nlt0Q.js → InfoIcon-Bw8EGBxg.js} +1 -1
  3. package/out/renderer/assets/{Onboarding-oJUllcBj.js → Onboarding-DFKijtvN.js} +4 -4
  4. package/out/renderer/assets/{ProviderHeader-BUwGhjmh.js → ProviderHeader-DLWvVR8W.js} +125 -53
  5. package/out/renderer/assets/{SettingsPage-D-t-C4vK.js → SettingsPage-uyxTiZKI.js} +802 -705
  6. package/out/renderer/assets/{UsageDashboard-BL_9dmKD.js → UsageDashboard-DCw0YuxD.js} +3 -3
  7. package/out/renderer/assets/{abnfDiagram-N423BO3Z-CjheqUiL.js → abnfDiagram-N423BO3Z-yxJ4fPN_.js} +4 -4
  8. package/out/renderer/assets/{arc-CIsSOYxW.js → arc-BimdR_hV.js} +1 -1
  9. package/out/renderer/assets/{architectureDiagram-T3A2C74G-CoPzGT6T.js → architectureDiagram-T3A2C74G-DmdKaW6o.js} +3 -3
  10. package/out/renderer/assets/{blockDiagram-VBNYF7ZC-DL_eauAC.js → blockDiagram-VBNYF7ZC-Bg2b4ULY.js} +4 -4
  11. package/out/renderer/assets/{c4Diagram-5PPSVZJV-DBEnTRlI.js → c4Diagram-5PPSVZJV-BhKDEwT6.js} +2 -2
  12. package/out/renderer/assets/{channel-CQyzkTZw.js → channel-CgD7A7FI.js} +1 -1
  13. package/out/renderer/assets/{chunk-2GRJ4B5K-DtAuBrgJ.js → chunk-2GRJ4B5K-K0hu3vNG.js} +1 -1
  14. package/out/renderer/assets/{chunk-2Q5K7J3B-_b0U5pP8.js → chunk-2Q5K7J3B-CeCkrdSW.js} +1 -1
  15. package/out/renderer/assets/{chunk-5RXB4S5H-U1aERT_q.js → chunk-5RXB4S5H-Ct_cy6g5.js} +4 -4
  16. package/out/renderer/assets/{chunk-5VM5RSS4-BwUv-zs6.js → chunk-5VM5RSS4-s80RwN2z.js} +1 -1
  17. package/out/renderer/assets/{chunk-6Q2QTUOP-BHd2KF3B.js → chunk-6Q2QTUOP-v4zURRXm.js} +1 -1
  18. package/out/renderer/assets/{chunk-GF5L2VYU-BVxMTWHv.js → chunk-GF5L2VYU-DBSpMLfc.js} +5 -5
  19. package/out/renderer/assets/{chunk-JWPE2WC7-CIa7AIdX.js → chunk-JWPE2WC7-DofSUlRs.js} +1 -1
  20. package/out/renderer/assets/{chunk-KBJHAD2P-CIuhLQai.js → chunk-KBJHAD2P-TzdY34Tu.js} +1 -1
  21. package/out/renderer/assets/{chunk-RYQCIY6F-Bj2F1-lQ.js → chunk-RYQCIY6F-CvaLnjqG.js} +3 -3
  22. package/out/renderer/assets/{chunk-XXDRQBXY-CnbriU-I.js → chunk-XXDRQBXY-B0-aL-2c.js} +1 -1
  23. package/out/renderer/assets/{classDiagram-JCYQIIEL-CcvZaMfA.js → classDiagram-JCYQIIEL-R_an7kvU.js} +6 -6
  24. package/out/renderer/assets/{classDiagram-v2-OCEON4UE-CcvZaMfA.js → classDiagram-v2-OCEON4UE-R_an7kvU.js} +6 -6
  25. package/out/renderer/assets/{cose-bilkent-JH36ORCC-DtPO4IHF.js → cose-bilkent-JH36ORCC-DOuahZA9.js} +1 -1
  26. package/out/renderer/assets/{cynefin-VYW2F7L2-DjC8hr7a.js → cynefin-VYW2F7L2-DS2QFiBT.js} +1 -1
  27. package/out/renderer/assets/{cynefinDiagram-MW4NZA55-CxyLk177.js → cynefinDiagram-MW4NZA55-BPzKbL7Q.js} +3 -3
  28. package/out/renderer/assets/{dagre-VZM6K2ZE-B7ihS9zE.js → dagre-VZM6K2ZE-CmGEmKHF.js} +5 -5
  29. package/out/renderer/assets/{diagram-7IWD3JNH-Cm1XRVcB.js → diagram-7IWD3JNH-BDRMuic0.js} +4 -4
  30. package/out/renderer/assets/{diagram-B4RE2ZJO-BgZxVrLV.js → diagram-B4RE2ZJO-B_gmKEkH.js} +3 -3
  31. package/out/renderer/assets/{diagram-LBJQPF4R-DZ3evUsX.js → diagram-LBJQPF4R-D88K_NOp.js} +3 -3
  32. package/out/renderer/assets/{diagram-Q27KOJAE-CiJ1texc.js → diagram-Q27KOJAE-rkMYe9gz.js} +4 -4
  33. package/out/renderer/assets/{diagram-UB23O5K3-C24m2r-U.js → diagram-UB23O5K3-DMh5WXlZ.js} +3 -3
  34. package/out/renderer/assets/{ebnfDiagram-BXEA7PRR-7uWxi7au.js → ebnfDiagram-BXEA7PRR-DCvgVO7F.js} +4 -4
  35. package/out/renderer/assets/{erDiagram-JOGREHBK-DjKLavm0.js → erDiagram-JOGREHBK-BAsuslZ1.js} +4 -4
  36. package/out/renderer/assets/{flowDiagram-UKHOOZJN-BFI8gGXv.js → flowDiagram-UKHOOZJN-CTKOnUqh.js} +6 -6
  37. package/out/renderer/assets/{ganttDiagram-PKOTCBZU-CxT12pOf.js → ganttDiagram-PKOTCBZU-BWhyM_D4.js} +3 -3
  38. package/out/renderer/assets/{gitGraphDiagram-DS77QQ5N-DHEZwBwm.js → gitGraphDiagram-DS77QQ5N-DT1iAAUZ.js} +4 -4
  39. package/out/renderer/assets/{graph-Dd5Ka__i.js → graph-VbyxJj-t.js} +1 -1
  40. package/out/renderer/assets/{index-DlnlOHKl.js → index-5VtDRo9M.js} +2 -2
  41. package/out/renderer/assets/{index-BxETRezU.js → index-BKGEDwRK.js} +5 -4
  42. package/out/renderer/assets/{index-CzZjAckq.js → index-BQNPe23A.js} +2 -2
  43. package/out/renderer/assets/{index-rYYQ-71l.js → index-BR2qOs23.js} +5 -5
  44. package/out/renderer/assets/{index-D6CxztQK.js → index-BXPuRIVD.js} +4 -4
  45. package/out/renderer/assets/{index-CcRI5j4Q.js → index-BXayvtMW.js} +2 -2
  46. package/out/renderer/assets/{index-CMTcUdqo.js → index-BXylsJZj.js} +5 -5
  47. package/out/renderer/assets/{index-BI7dCmRM.js → index-BdjRTgDs.js} +5 -5
  48. package/out/renderer/assets/{index-BKUA_ryf.js → index-BhtiavlR.js} +2 -2
  49. package/out/renderer/assets/{index-9hM6MMOp.js → index-Bmllu1DD.js} +3 -3
  50. package/out/renderer/assets/{index-C2_FW7Sd.js → index-C-A02wyA.js} +1 -1
  51. package/out/renderer/assets/{index-DLijL6ao.js → index-C3V94OLw.js} +2 -2
  52. package/out/renderer/assets/{index-CqKI6Ebz.css → index-C4i_4ut0.css} +58 -33
  53. package/out/renderer/assets/{index-BEg6tAfR.js → index-C59SSDmz.js} +1 -1
  54. package/out/renderer/assets/{index-BvUaoc9e.js → index-CD1ISlpG.js} +8478 -8475
  55. package/out/renderer/assets/{index-CrNmkSrC.js → index-CFrOszJJ.js} +1 -1
  56. package/out/renderer/assets/{index-C4OBt7WW.js → index-CcrnStmi.js} +5 -5
  57. package/out/renderer/assets/{index-DTpXIwGi.js → index-CgPnC077.js} +1 -1
  58. package/out/renderer/assets/{index-CjTZ_7Cg.js → index-Ch5aj44G.js} +2 -2
  59. package/out/renderer/assets/{index-C5forKVi.js → index-CzFh9ZIv.js} +1 -1
  60. package/out/renderer/assets/{index-DBpmdecU.js → index-D34dtFsm.js} +1 -1
  61. package/out/renderer/assets/{index-CwXBTmvJ.js → index-DfBhjMpW.js} +2 -2
  62. package/out/renderer/assets/{index-Di0NPMuv.js → index-DrqPotGQ.js} +3 -3
  63. package/out/renderer/assets/{index-DfiydZX9.js → index-Dwx-Pvm-.js} +1 -1
  64. package/out/renderer/assets/{index-BpFKogRA.js → index-Dzh7mnUn.js} +2 -2
  65. package/out/renderer/assets/{index-D999120w.js → index-EStOQMCA.js} +1 -1
  66. package/out/renderer/assets/{index-CZpus4Ie.js → index-Fopyb88v.js} +2 -2
  67. package/out/renderer/assets/{index-BDYDui6w.js → index-ITNgdQIz.js} +1 -1
  68. package/out/renderer/assets/{index-CcmMLH3y.js → index-b4bGNHcE.js} +2 -2
  69. package/out/renderer/assets/{index-kcA_GXyG.js → index-d3ucSaaa.js} +5 -5
  70. package/out/renderer/assets/{index-x2YXa5og.js → index-de54iWKz.js} +2 -2
  71. package/out/renderer/assets/{index-BrSKGimz.js → index-rPiS-4FE.js} +5 -5
  72. package/out/renderer/assets/{index-CuY-Boa9.js → index-wxYYacNn.js} +2 -2
  73. package/out/renderer/assets/{infoDiagram-6WML65LV-Dqq0Ly_x.js → infoDiagram-6WML65LV-NJeNtV36.js} +2 -2
  74. package/out/renderer/assets/{ishikawaDiagram-WSZJBQD7-BJ3UhZPK.js → ishikawaDiagram-WSZJBQD7-O_2lEouD.js} +1 -1
  75. package/out/renderer/assets/{journeyDiagram-NVQOT4AX-DCMtUOfj.js → journeyDiagram-NVQOT4AX-B5NMUm5f.js} +4 -4
  76. package/out/renderer/assets/{jsx-dev-runtime-z0iF32X5.js → jsx-dev-runtime-NwoAuMLI.js} +1 -1
  77. package/out/renderer/assets/{kanban-definition-27J2QSJJ-Fj4ODWxy.js → kanban-definition-27J2QSJJ-CpytjTss.js} +2 -2
  78. package/out/renderer/assets/{layout-C9OzUIwu.js → layout-BSsTAGJd.js} +3 -3
  79. package/out/renderer/assets/{linear-DvIVsSu4.js → linear-DfB0VSRC.js} +1 -1
  80. package/out/renderer/assets/{map-E4qqafni.js → map-BaRh5oz-.js} +2 -2
  81. package/out/renderer/assets/{mindmap-definition-FAOFIHXS-BxsqU0Ua.js → mindmap-definition-FAOFIHXS-sTWV6Y_A.js} +3 -3
  82. package/out/renderer/assets/{pegDiagram-VL7TDLO6-D6oAA_8t.js → pegDiagram-VL7TDLO6-DGliItKh.js} +4 -4
  83. package/out/renderer/assets/{pieDiagram-7S7Q4E2Y-A_mxvW23.js → pieDiagram-7S7Q4E2Y-CCe3YeNw.js} +4 -4
  84. package/out/renderer/assets/{quadrantDiagram-CIZ2JOQS-DBrLMLUM.js → quadrantDiagram-CIZ2JOQS-tozmoOKs.js} +2 -2
  85. package/out/renderer/assets/{railroadDiagram-AXF67PYL-D4VKGU-o.js → railroadDiagram-AXF67PYL-46GN0wwR.js} +4 -4
  86. package/out/renderer/assets/{requirementDiagram-LRYGKXZP-BVsexX6-.js → requirementDiagram-LRYGKXZP-D5QhiXsk.js} +3 -3
  87. package/out/renderer/assets/{sankeyDiagram-W5VNT64P-X02xxTu5.js → sankeyDiagram-W5VNT64P-3A5Kv41O.js} +1 -1
  88. package/out/renderer/assets/{sequenceDiagram-SI44F4Z6-DOQ_8x_z.js → sequenceDiagram-SI44F4Z6-CLuxBOMJ.js} +3 -3
  89. package/out/renderer/assets/{sizeCapture-X5ZJPWSS-8K08pAlK.js → sizeCapture-X5ZJPWSS-DAIkSYV7.js} +1 -1
  90. package/out/renderer/assets/{stateDiagram-OKZ733FA--wgn2tL2.js → stateDiagram-OKZ733FA-CgVm7SLc.js} +8 -8
  91. package/out/renderer/assets/{stateDiagram-v2-UEYNNEHI-CgM73IMc.js → stateDiagram-v2-UEYNNEHI-DTF-jNr2.js} +5 -5
  92. package/out/renderer/assets/{swimlanes-SLNWSIFB-C-D83nsL.js → swimlanes-SLNWSIFB-eg8k5CIS.js} +6 -6
  93. package/out/renderer/assets/{swimlanesDiagram-ULZ7WXOC-DXNmj2lh.js → swimlanesDiagram-ULZ7WXOC-dSnZiKKT.js} +7 -7
  94. package/out/renderer/assets/{time-BE4flVKl.js → time-D8sCgc9h.js} +1 -1
  95. package/out/renderer/assets/{timeline-definition-Z64GVDOM-C9WpOVUg.js → timeline-definition-Z64GVDOM-BPh4n2Ca.js} +2 -2
  96. package/out/renderer/assets/{vennDiagram-T6HMQDX7-82QcToe-.js → vennDiagram-T6HMQDX7-BsiLEc6I.js} +1 -1
  97. package/out/renderer/assets/{wardleyDiagram-T6FBY63Y-CGMnBxIU.js → wardleyDiagram-T6FBY63Y-BEtT0AhH.js} +3 -3
  98. package/out/renderer/assets/{xychartDiagram-ELKLHX3M-hD9coeMM.js → xychartDiagram-ELKLHX3M-YYEPGcKJ.js} +2 -2
  99. package/out/renderer/index.html +2 -12
  100. package/out/renderer/sw.js +6 -10
  101. package/out/runner.js +1175 -290
  102. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
- import { c as compilerRuntimeExports, a as clsx, j as jsxRuntimeExports, bQ as useTranslation, bO as reactExports, cR as Checkbox, bV as Button, eP as HiEye, cT as Input, dk as TextArea, eQ as Trans, dN as CodeInline, eR as SUPPORTED_LANGUAGES, cQ as Select, eS as useClickOutside, eT as FaEllipsisVertical, eU as BiCut, dn as BiTrash, dK as BiCopy, eV as useSortable, eW as CSS, cU as Slider, I as IconButton, dV as FaTimes, dZ as ContextCompactionType, d0 as Tooltip, eX as TOOL_GROUP_NAME_SEPARATOR, eY as ToolApprovalState, dt as useApi, dp as McpOAuthStatus, dB as extractIpcErrorMessage, cS as Accordion, dq as FaPencilAlt, dr as FaTrash, eZ as POWER_TOOL_GROUP_NAME, e_ as POWER_TOOL_BASH, e$ as AIDER_TOOL_GROUP_NAME, f0 as TODO_TOOL_GROUP_NAME, f1 as TASKS_TOOL_GROUP_NAME, f2 as MEMORY_TOOL_GROUP_NAME, f3 as SKILLS_TOOL_GROUP_NAME, f4 as MEMORY_TOOL_DESCRIPTIONS, f5 as MEMORY_TOOL_STORE, f6 as MEMORY_TOOL_RETRIEVE, f7 as MEMORY_TOOL_LIST, f8 as MEMORY_TOOL_UPDATE, f9 as MEMORY_TOOL_DELETE, fa as TASKS_TOOL_DESCRIPTIONS, fb as TASKS_TOOL_LIST_TASKS, fc as TASKS_TOOL_GET_TASK, fd as TASKS_TOOL_GET_TASK_MESSAGE, fe as TASKS_TOOL_CREATE_TASK, ff as TASKS_TOOL_DELETE_TASK, fg as TASKS_TOOL_SEARCH_TASK, fh as TODO_TOOL_DESCRIPTIONS, fi as TODO_TOOL_SET_ITEMS, fj as TODO_TOOL_GET_ITEMS, fk as TODO_TOOL_UPDATE_ITEM_COMPLETION, fl as TODO_TOOL_CLEAR_ITEMS, fm as POWER_TOOL_DESCRIPTIONS, fn as POWER_TOOL_FILE_EDIT, fo as POWER_TOOL_FILE_READ, fp as POWER_TOOL_FILE_WRITE, fq as POWER_TOOL_GLOB, fr as POWER_TOOL_GREP, fs as POWER_TOOL_SEMANTIC_SEARCH, ft as POWER_TOOL_FETCH, fu as AIDER_TOOL_DESCRIPTIONS, fv as AIDER_TOOL_GET_CONTEXT_FILES, fw as AIDER_TOOL_ADD_CONTEXT_FILES, fx as AIDER_TOOL_DROP_CONTEXT_FILES, fy as AIDER_TOOL_RUN_PROMPT, ek as FaPlug, fz as _extends$1, fA as React, fB as _objectWithoutPropertiesLoose$1, fC as InvocationMode, fD as ContextMemoryMode, dv as useResponsive, dw as useBooleanState, fE as DEFAULT_AGENT_PROFILE, du as useMcpServers, bN as useModelProviders, fF as DEFAULT_AGENT_PROFILES, fG as useSensors, fH as useSensor, fI as KeyboardSensor, fJ as PointerSensor, d_ as getProviderModelId, fK as DndContext, fL as closestCenter, fM as SortableContext, fN as verticalListSortingStrategy, dE as FaPlus, fO as FaPaste, dx as AnimatePresence, dy as motion, dz as HiXMark, dA as RiMenuUnfold4Line, fP as BiReset, fQ as ModelSelector, fR as Tabs, fS as sortableKeyboardCoordinates, fT as arrayMove, bb as v4, bY as showErrorNotification, dC as FaChevronLeft, dD as FaChevronRight } from "./index-BvUaoc9e.js";
2
- import { I as InfoIcon } from "./InfoIcon-C52Nlt0Q.js";
1
+ import { c as compilerRuntimeExports, a as clsx, j as jsxRuntimeExports, bQ as useTranslation, bO as reactExports, cR as Checkbox, bV as Button, eP as HiEye, cT as Input, dk as TextArea, eQ as Trans, dN as CodeInline, eR as SUPPORTED_LANGUAGES, cQ as Select, eS as useClickOutside, eT as FaEllipsisVertical, eU as BiCut, dn as BiTrash, dK as BiCopy, eV as useSortable, eW as CSS, cU as Slider, I as IconButton, dV as FaTimes, dZ as ContextCompactionType, d0 as Tooltip, eX as TOOL_GROUP_NAME_SEPARATOR, eY as ToolApprovalState, dt as useApi, dp as McpOAuthStatus, dB as extractIpcErrorMessage, cS as Accordion, dq as FaPencilAlt, dr as FaTrash, eZ as POWER_TOOL_GROUP_NAME, e_ as POWER_TOOL_BASH, e$ as AIDER_TOOL_GROUP_NAME, f0 as TODO_TOOL_GROUP_NAME, f1 as TASKS_TOOL_GROUP_NAME, f2 as MEMORY_TOOL_GROUP_NAME, f3 as SKILLS_TOOL_GROUP_NAME, f4 as MEMORY_TOOL_DESCRIPTIONS, f5 as MEMORY_TOOL_STORE, f6 as MEMORY_TOOL_RETRIEVE, f7 as MEMORY_TOOL_LIST, f8 as MEMORY_TOOL_UPDATE, f9 as MEMORY_TOOL_DELETE, fa as TASKS_TOOL_DESCRIPTIONS, fb as TASKS_TOOL_LIST_TASKS, fc as TASKS_TOOL_GET_TASK, fd as TASKS_TOOL_GET_TASK_MESSAGE, fe as TASKS_TOOL_CREATE_TASK, ff as TASKS_TOOL_DELETE_TASK, fg as TASKS_TOOL_SEARCH_TASK, fh as TODO_TOOL_DESCRIPTIONS, fi as TODO_TOOL_SET_ITEMS, fj as TODO_TOOL_GET_ITEMS, fk as TODO_TOOL_UPDATE_ITEM_COMPLETION, fl as TODO_TOOL_CLEAR_ITEMS, fm as POWER_TOOL_DESCRIPTIONS, fn as POWER_TOOL_FILE_EDIT, fo as POWER_TOOL_FILE_READ, fp as POWER_TOOL_FILE_WRITE, fq as POWER_TOOL_GLOB, fr as POWER_TOOL_GREP, fs as POWER_TOOL_SEMANTIC_SEARCH, ft as POWER_TOOL_FETCH, fu as AIDER_TOOL_DESCRIPTIONS, fv as AIDER_TOOL_GET_CONTEXT_FILES, fw as AIDER_TOOL_ADD_CONTEXT_FILES, fx as AIDER_TOOL_DROP_CONTEXT_FILES, fy as AIDER_TOOL_RUN_PROMPT, ek as FaPlug, fz as _extends$1, fA as React, fB as _objectWithoutPropertiesLoose$1, fC as InvocationMode, fD as ContextMemoryMode, dv as useResponsive, dw as useBooleanState, fE as DEFAULT_AGENT_PROFILE, du as useMcpServers, bN as useModelProviders, fF as DEFAULT_AGENT_PROFILES, fG as useSensors, fH as useSensor, fI as KeyboardSensor, fJ as PointerSensor, d_ as getProviderModelId, fK as DndContext, fL as closestCenter, fM as SortableContext, fN as verticalListSortingStrategy, dE as FaPlus, fO as FaPaste, dx as AnimatePresence, dy as motion, dz as HiXMark, dA as RiMenuUnfold4Line, fP as BiReset, fQ as ModelSelector, fR as Tabs, fS as sortableKeyboardCoordinates, fT as arrayMove, aK as v4, bY as showErrorNotification, dC as FaChevronLeft, dD as FaChevronRight } from "./index-CD1ISlpG.js";
2
+ import { I as InfoIcon } from "./InfoIcon-Bw8EGBxg.js";
3
3
  const getPathBasename = (inputPath) => {
4
4
  if (!inputPath) {
5
5
  return inputPath;
@@ -2185,6 +2185,7 @@ const McpOAuthControls = ({
2185
2185
  error && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-error-light", children: error })
2186
2186
  ] });
2187
2187
  };
2188
+ const MIXED_VALUE = "-";
2188
2189
  const McpServerItem = ({
2189
2190
  serverName,
2190
2191
  config,
@@ -2252,8 +2253,26 @@ const McpServerItem = ({
2252
2253
  setIsOpen(true);
2253
2254
  }
2254
2255
  }, []);
2256
+ const approvalOptions = [{
2257
+ value: ToolApprovalState.Always,
2258
+ label: t("tool.approval.always")
2259
+ }, {
2260
+ value: ToolApprovalState.Never,
2261
+ label: t("tool.approval.never")
2262
+ }, {
2263
+ value: ToolApprovalState.Ask,
2264
+ label: t("tool.approval.ask")
2265
+ }];
2266
+ const getApproval = (tool) => toolApprovals?.[`${serverName}${TOOL_GROUP_NAME_SEPARATOR}${tool.name}`] || ToolApprovalState.Always;
2267
+ const commonApproval = tools2 && tools2.length > 0 && tools2.every((tool_0) => getApproval(tool_0) === getApproval(tools2[0])) ? getApproval(tools2[0]) : null;
2268
+ const handleBulkApprovalChange = reactExports.useCallback((value_0) => {
2269
+ if (!onApprovalChange || !tools2 || value_0 === MIXED_VALUE) {
2270
+ return;
2271
+ }
2272
+ onApprovalChange(tools2.map((tool_1) => `${serverName}${TOOL_GROUP_NAME_SEPARATOR}${tool_1.name}`), value_0);
2273
+ }, [onApprovalChange, tools2, serverName]);
2255
2274
  const renderTitle = () => {
2256
- const enabledCount = tools2 && tools2.length - tools2.filter((tool) => toolApprovals?.[`${serverName}${TOOL_GROUP_NAME_SEPARATOR}${tool.name}`] === ToolApprovalState.Never).length;
2275
+ const enabledCount = tools2 && tools2.length - tools2.filter((tool_2) => toolApprovals?.[`${serverName}${TOOL_GROUP_NAME_SEPARATOR}${tool_2.name}`] === ToolApprovalState.Never).length;
2257
2276
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-between w-full", children: [
2258
2277
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center", children: [
2259
2278
  onEnabledChange && /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { id: `enable-server-${serverName}`, checked: enabled || false, onChange: onEnabledChange, className: "mr-2" }),
@@ -2273,8 +2292,14 @@ const McpServerItem = ({
2273
2292
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "border border-border-default-dark rounded mb-1", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Accordion, { title: renderTitle(), buttonClassName: "px-2", chevronPosition: "right", isOpen, onOpenChange: setIsOpen, children: [
2274
2293
  /* @__PURE__ */ jsxRuntimeExports.jsx(McpOAuthControls, { serverName, config, refreshTrigger: oauthRefreshTrigger, onAuthenticated: handleOAuthAuthenticated, onDisconnected: handleOAuthDisconnected, onStatusChange: handleOAuthStatusChange }),
2275
2294
  loading ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-text-muted p-2", children: t("common.loading") }) : oauthStatus === McpOAuthStatus.AuthenticationRequired || oauthStatus === McpOAuthStatus.Authorizing ? null : error ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-error-light p-4", children: error }) : tools2 && tools2.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-xs p-2 pt-1 rounded mt-1 space-y-2", children: [
2276
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-text-muted-light ml-1", children: t("mcp.tools") }),
2277
- tools2.map((tool_0) => /* @__PURE__ */ jsxRuntimeExports.jsx(McpToolItem, { tool: tool_0, toolApprovals, onApprovalChange, serverName }, tool_0.name))
2295
+ onApprovalChange && toolApprovals && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center", children: [
2296
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 text-xs ml-1 text-text-muted-light", children: t("mcp.tools") }),
2297
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center", children: [
2298
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs text-text-muted-light mr-2", children: t("mcp.all") }),
2299
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Select, { options: approvalOptions, size: "sm", value: commonApproval ?? MIXED_VALUE, notFoundLabel: MIXED_VALUE, onChange: handleBulkApprovalChange })
2300
+ ] })
2301
+ ] }),
2302
+ tools2.map((tool_3) => /* @__PURE__ */ jsxRuntimeExports.jsx(McpToolItem, { tool: tool_3, toolApprovals, onApprovalChange, serverName }, tool_3.name))
2278
2303
  ] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-text-muted p-4", children: t("mcp.noToolsFound") })
2279
2304
  ] }) });
2280
2305
  };
@@ -5208,9 +5233,11 @@ const AgentSettings = (t0) => {
5208
5233
  t39 = (toolId_0, approval) => {
5209
5234
  if (selectedProfile) {
5210
5235
  const newToolApprovals_0 = {
5211
- ...selectedProfile.toolApprovals || {},
5212
- [toolId_0]: approval
5236
+ ...selectedProfile.toolApprovals || {}
5213
5237
  };
5238
+ (Array.isArray(toolId_0) ? toolId_0 : [toolId_0]).forEach((id) => {
5239
+ newToolApprovals_0[id] = approval;
5240
+ });
5214
5241
  handleProfileSettingChange("toolApprovals", newToolApprovals_0);
5215
5242
  }
5216
5243
  };
@@ -5321,9 +5348,9 @@ const AgentSettings = (t0) => {
5321
5348
  const handleTabChange = t49;
5322
5349
  let t50;
5323
5350
  if ($[143] !== dragging || $[144] !== hideListSidebar || $[145] !== isMobile) {
5324
- t50 = (id) => {
5351
+ t50 = (id_0) => {
5325
5352
  if (!dragging) {
5326
- setSelectedProfileId(id);
5353
+ setSelectedProfileId(id_0);
5327
5354
  if (isMobile) {
5328
5355
  hideListSidebar();
5329
5356
  }
@@ -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-BvUaoc9e.js";
1
+ import { c as compilerRuntimeExports, a as clsx, t as twMerge, j as jsxRuntimeExports, F as FaInfoCircle, I as IconButton } from "./index-CD1ISlpG.js";
2
2
  const InfoIcon = (t0) => {
3
3
  const $ = compilerRuntimeExports.c(13);
4
4
  const {
@@ -1,7 +1,7 @@
1
- import { c as compilerRuntimeExports, bN as useModelProviders, bO as reactExports, j as jsxRuntimeExports, bP as HiCheck, a as clsx, bQ as useTranslation, bR as useNavigate, bS as useSettingsStore, bT as useSaveSettings, bU as useAgents, bV as Button, bW as HiArrowLeft, bX as HiArrowRight, bY as showErrorNotification, bZ as lodashExports, b_ as showInfoNotification, b$ as ROUTES } from "./index-BvUaoc9e.js";
2
- import { A as AgentSettings, a as AiderSettings, L as LanguageSelector } from "./AgentSettings-DJJc1Fme.js";
3
- import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-BUwGhjmh.js";
4
- import "./InfoIcon-C52Nlt0Q.js";
1
+ import { c as compilerRuntimeExports, bN as useModelProviders, bO as reactExports, j as jsxRuntimeExports, bP as HiCheck, a as clsx, bQ as useTranslation, bR as useNavigate, bS as useSettingsStore, bT as useSaveSettings, bU as useAgents, bV as Button, bW as HiArrowLeft, bX as HiArrowRight, bY as showErrorNotification, bZ as lodashExports, b_ as showInfoNotification, b$ as ROUTES } from "./index-CD1ISlpG.js";
2
+ import { A as AgentSettings, a as AiderSettings, L as LanguageSelector } from "./AgentSettings-DM4mKi74.js";
3
+ import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-DLWvVR8W.js";
4
+ import "./InfoIcon-Bw8EGBxg.js";
5
5
  const OnboardingProviderSetup = () => {
6
6
  const $ = compilerRuntimeExports.c(21);
7
7
  const {
@@ -1,5 +1,5 @@
1
- import { c as compilerRuntimeExports, bQ as useTranslation, j as jsxRuntimeExports, cR as Checkbox, bO as reactExports, cT as Input, cQ as Select, cU as Slider, cP as ReasoningEffort, cS as Accordion, dk as TextArea, I as IconButton, g9 as FiArrowLeft, ga as AVAILABLE_PROVIDERS, dt as useApi, du as useMcpServers, d0 as Tooltip, F as FaInfoCircle, gb as FaExternalLinkAlt, gc as FaCheck, bV as Button, dE as FaPlus, cO as getDefaultProviderParams, bb as v4, dr as FaTrash, dv as useResponsive, a as clsx, gd as FiMic, d1 as FiEdit2, d4 as FiTrash2, cV as ConfirmDialog, ge as FiCpu, gf as FaExclamationCircle, d6 as FiPlus } from "./index-BvUaoc9e.js";
2
- import { I as InfoIcon } from "./InfoIcon-C52Nlt0Q.js";
1
+ import { c as compilerRuntimeExports, bQ as useTranslation, j as jsxRuntimeExports, cR as Checkbox, bO as reactExports, cT as Input, cQ as Select, cU as Slider, cP as ReasoningEffort, cS as Accordion, dk as TextArea, I as IconButton, g9 as FiArrowLeft, ga as AVAILABLE_PROVIDERS, dt as useApi, du as useMcpServers, d0 as Tooltip, F as FaInfoCircle, gb as FaExternalLinkAlt, gc as FaCheck, bV as Button, dE as FaPlus, cO as getDefaultProviderParams, aK as v4, dr as FaTrash, dv as useResponsive, a as clsx, gd as FiMic, d1 as FiEdit2, d4 as FiTrash2, cV as ConfirmDialog, ge as FiCpu, gf as FaExclamationCircle, d6 as FiPlus } from "./index-CD1ISlpG.js";
2
+ import { I as InfoIcon } from "./InfoIcon-Bw8EGBxg.js";
3
3
  const DisableStreaming = (t0) => {
4
4
  const $ = compilerRuntimeExports.c(13);
5
5
  const {
@@ -1270,7 +1270,7 @@ const VertexAiAdvancedSettings = (t0) => {
1270
1270
  return t13;
1271
1271
  };
1272
1272
  const OpenAiAdvancedSettings = (t0) => {
1273
- const $ = compilerRuntimeExports.c(62);
1273
+ const $ = compilerRuntimeExports.c(81);
1274
1274
  const {
1275
1275
  provider,
1276
1276
  onChange
@@ -1280,6 +1280,7 @@ const OpenAiAdvancedSettings = (t0) => {
1280
1280
  } = useTranslation();
1281
1281
  const reasoningEffort = provider.reasoningEffort || ReasoningEffort.None;
1282
1282
  const useWebSearch = provider.useWebSearch ?? false;
1283
+ const store = provider.store ?? true;
1283
1284
  let t1;
1284
1285
  if ($[0] !== t) {
1285
1286
  t1 = t("reasoningEffort.none");
@@ -1439,91 +1440,162 @@ const OpenAiAdvancedSettings = (t0) => {
1439
1440
  }
1440
1441
  const handleUseWebSearchChange = t15;
1441
1442
  let t16;
1442
- if ($[37] !== t) {
1443
- t16 = t("reasoningEffort.label");
1444
- $[37] = t;
1445
- $[38] = t16;
1443
+ if ($[37] !== onChange || $[38] !== provider) {
1444
+ t16 = (checked_0) => {
1445
+ onChange({
1446
+ ...provider,
1447
+ store: checked_0
1448
+ });
1449
+ };
1450
+ $[37] = onChange;
1451
+ $[38] = provider;
1452
+ $[39] = t16;
1446
1453
  } else {
1447
- t16 = $[38];
1454
+ t16 = $[39];
1448
1455
  }
1456
+ const handleStoreChange = t16;
1449
1457
  let t17;
1450
- if ($[39] !== handleReasoningEffortChange || $[40] !== reasoningEffort || $[41] !== reasoningOptions || $[42] !== t16) {
1451
- t17 = /* @__PURE__ */ jsxRuntimeExports.jsx(Select, { label: t16, value: reasoningEffort, onChange: handleReasoningEffortChange, options: reasoningOptions });
1452
- $[39] = handleReasoningEffortChange;
1453
- $[40] = reasoningEffort;
1454
- $[41] = reasoningOptions;
1455
- $[42] = t16;
1456
- $[43] = t17;
1458
+ if ($[40] !== t) {
1459
+ t17 = t("reasoningEffort.label");
1460
+ $[40] = t;
1461
+ $[41] = t17;
1457
1462
  } else {
1458
- t17 = $[43];
1463
+ t17 = $[41];
1459
1464
  }
1460
1465
  let t18;
1461
- if ($[44] !== t) {
1462
- t18 = t("openai.useWebSearch");
1463
- $[44] = t;
1464
- $[45] = t18;
1466
+ if ($[42] !== handleReasoningEffortChange || $[43] !== reasoningEffort || $[44] !== reasoningOptions || $[45] !== t17) {
1467
+ t18 = /* @__PURE__ */ jsxRuntimeExports.jsx(Select, { label: t17, value: reasoningEffort, onChange: handleReasoningEffortChange, options: reasoningOptions });
1468
+ $[42] = handleReasoningEffortChange;
1469
+ $[43] = reasoningEffort;
1470
+ $[44] = reasoningOptions;
1471
+ $[45] = t17;
1472
+ $[46] = t18;
1465
1473
  } else {
1466
- t18 = $[45];
1474
+ t18 = $[46];
1467
1475
  }
1468
1476
  let t19;
1469
- if ($[46] !== t18) {
1470
- t19 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm", children: t18 });
1471
- $[46] = t18;
1472
- $[47] = t19;
1477
+ if ($[47] !== t) {
1478
+ t19 = t("openai.useWebSearch");
1479
+ $[47] = t;
1480
+ $[48] = t19;
1473
1481
  } else {
1474
- t19 = $[47];
1482
+ t19 = $[48];
1475
1483
  }
1476
1484
  let t20;
1477
- if ($[48] !== handleUseWebSearchChange || $[49] !== t19 || $[50] !== useWebSearch) {
1478
- t20 = /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t19, checked: useWebSearch, onChange: handleUseWebSearchChange });
1479
- $[48] = handleUseWebSearchChange;
1485
+ if ($[49] !== t19) {
1486
+ t20 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm", children: t19 });
1480
1487
  $[49] = t19;
1481
- $[50] = useWebSearch;
1482
- $[51] = t20;
1488
+ $[50] = t20;
1483
1489
  } else {
1484
- t20 = $[51];
1490
+ t20 = $[50];
1485
1491
  }
1486
1492
  let t21;
1487
- if ($[52] !== t) {
1488
- t21 = t("openai.useWebSearchTooltip");
1489
- $[52] = t;
1490
- $[53] = t21;
1493
+ if ($[51] !== handleUseWebSearchChange || $[52] !== t20 || $[53] !== useWebSearch) {
1494
+ t21 = /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t20, checked: useWebSearch, onChange: handleUseWebSearchChange });
1495
+ $[51] = handleUseWebSearchChange;
1496
+ $[52] = t20;
1497
+ $[53] = useWebSearch;
1498
+ $[54] = t21;
1491
1499
  } else {
1492
- t21 = $[53];
1500
+ t21 = $[54];
1493
1501
  }
1494
1502
  let t22;
1495
- if ($[54] !== t21) {
1496
- t22 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t21 });
1497
- $[54] = t21;
1498
- $[55] = t22;
1503
+ if ($[55] !== t) {
1504
+ t22 = t("openai.useWebSearchTooltip");
1505
+ $[55] = t;
1506
+ $[56] = t22;
1499
1507
  } else {
1500
- t22 = $[55];
1508
+ t22 = $[56];
1501
1509
  }
1502
1510
  let t23;
1503
- if ($[56] !== t20 || $[57] !== t22) {
1504
- t23 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2", children: [
1505
- t20,
1506
- t22
1507
- ] });
1508
- $[56] = t20;
1511
+ if ($[57] !== t22) {
1512
+ t23 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t22 });
1509
1513
  $[57] = t22;
1510
1514
  $[58] = t23;
1511
1515
  } else {
1512
1516
  t23 = $[58];
1513
1517
  }
1514
1518
  let t24;
1515
- if ($[59] !== t17 || $[60] !== t23) {
1516
- t24 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
1517
- t17,
1519
+ if ($[59] !== t21 || $[60] !== t23) {
1520
+ t24 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2", children: [
1521
+ t21,
1518
1522
  t23
1519
1523
  ] });
1520
- $[59] = t17;
1524
+ $[59] = t21;
1521
1525
  $[60] = t23;
1522
1526
  $[61] = t24;
1523
1527
  } else {
1524
1528
  t24 = $[61];
1525
1529
  }
1526
- return t24;
1530
+ let t25;
1531
+ if ($[62] !== t) {
1532
+ t25 = t("openai.storeResponses");
1533
+ $[62] = t;
1534
+ $[63] = t25;
1535
+ } else {
1536
+ t25 = $[63];
1537
+ }
1538
+ let t26;
1539
+ if ($[64] !== t25) {
1540
+ t26 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-sm", children: t25 });
1541
+ $[64] = t25;
1542
+ $[65] = t26;
1543
+ } else {
1544
+ t26 = $[65];
1545
+ }
1546
+ let t27;
1547
+ if ($[66] !== handleStoreChange || $[67] !== store || $[68] !== t26) {
1548
+ t27 = /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t26, checked: store, onChange: handleStoreChange });
1549
+ $[66] = handleStoreChange;
1550
+ $[67] = store;
1551
+ $[68] = t26;
1552
+ $[69] = t27;
1553
+ } else {
1554
+ t27 = $[69];
1555
+ }
1556
+ let t28;
1557
+ if ($[70] !== t) {
1558
+ t28 = t("openai.storeResponsesTooltip");
1559
+ $[70] = t;
1560
+ $[71] = t28;
1561
+ } else {
1562
+ t28 = $[71];
1563
+ }
1564
+ let t29;
1565
+ if ($[72] !== t28) {
1566
+ t29 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t28 });
1567
+ $[72] = t28;
1568
+ $[73] = t29;
1569
+ } else {
1570
+ t29 = $[73];
1571
+ }
1572
+ let t30;
1573
+ if ($[74] !== t27 || $[75] !== t29) {
1574
+ t30 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center space-x-2", children: [
1575
+ t27,
1576
+ t29
1577
+ ] });
1578
+ $[74] = t27;
1579
+ $[75] = t29;
1580
+ $[76] = t30;
1581
+ } else {
1582
+ t30 = $[76];
1583
+ }
1584
+ let t31;
1585
+ if ($[77] !== t18 || $[78] !== t24 || $[79] !== t30) {
1586
+ t31 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-4", children: [
1587
+ t18,
1588
+ t24,
1589
+ t30
1590
+ ] });
1591
+ $[77] = t18;
1592
+ $[78] = t24;
1593
+ $[79] = t30;
1594
+ $[80] = t31;
1595
+ } else {
1596
+ t31 = $[80];
1597
+ }
1598
+ return t31;
1527
1599
  };
1528
1600
  const RequestyAdvancedSettings = (t0) => {
1529
1601
  const $ = compilerRuntimeExports.c(64);