@aiderdesk/aiderdesk 0.87.0 → 0.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/renderer/assets/2DXBBFLN-DhlZjS3f.js +666 -0
- package/out/renderer/assets/46IJ22JX-C1e8pvI2.js +853 -0
- package/out/renderer/assets/4TTDE5I4-Bea_IXhu.js +501 -0
- package/out/renderer/assets/4UF3HTLV-CVqcE2iq.js +29 -0
- package/out/renderer/assets/5THPTBWS-2mBFupjU.js +21 -0
- package/out/renderer/assets/7WLXJQOR-C8MM6Bra.js +23 -0
- package/out/renderer/assets/AAXQQPKT-BVbjBycX.js +1130 -0
- package/out/renderer/assets/AKE5O7KZ-Dr4O6i9X.js +184 -0
- package/out/renderer/assets/{AgentSettings-Cp7VI6CM.js → AgentSettings-ByYnHHTv.js} +710 -255
- package/out/renderer/assets/BNMLP6AG-CHDGj3j_.js +804 -0
- package/out/renderer/assets/DKTLEL5E-Dj3316cp.js +42 -0
- package/out/renderer/assets/DR6PKOQU-C6a3Tq7K.js +301 -0
- package/out/renderer/assets/E4RJ7UJB-BQWgl9gv.js +441 -0
- package/out/renderer/assets/ELSXBIJH-CVPK3kX4.js +39 -0
- package/out/renderer/assets/ERTIBQVS-71_Ru0iJ.js +182 -0
- package/out/renderer/assets/F653G4FO-Dj2Ang6n.js +1497 -0
- package/out/renderer/assets/FKCDD66M-DCrQTwBi.js +205 -0
- package/out/renderer/assets/FP7KDXVC-DKVnH-En.js +221 -0
- package/out/renderer/assets/FT5I3RHX-hlTJy7Nw.js +243 -0
- package/out/renderer/assets/FTXIJQGB-BX14b7pN.js +13 -0
- package/out/renderer/assets/G3MDBVQH-qZ3yfAIw.js +25 -0
- package/out/renderer/assets/GY35JXOZ-cSi0MdIc.js +168 -0
- package/out/renderer/assets/H5EEJPP2-bpYW0xE8.js +353 -0
- package/out/renderer/assets/HWDLEDTA-uLGgs5fE.js +982 -0
- package/out/renderer/assets/{InfoIcon-DesJ60KC.js → InfoIcon-DI4teJbi.js} +1 -1
- package/out/renderer/assets/JZWSX6AR-B0pkfB2b.js +67 -0
- package/out/renderer/assets/KQOEJWJY-EQFQbIDt.js +84 -0
- package/out/renderer/assets/KS3BB3KE-DclWHpbY.js +138 -0
- package/out/renderer/assets/KXJRRZHI-CHoCRoQ4.js +502 -0
- package/out/renderer/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/out/renderer/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/out/renderer/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/out/renderer/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/out/renderer/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/out/renderer/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/out/renderer/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/out/renderer/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/out/renderer/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/out/renderer/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/out/renderer/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/out/renderer/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/out/renderer/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/out/renderer/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/out/renderer/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/out/renderer/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/out/renderer/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/out/renderer/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/out/renderer/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/out/renderer/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/out/renderer/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/out/renderer/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/out/renderer/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/out/renderer/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/out/renderer/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/out/renderer/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/out/renderer/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/out/renderer/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/out/renderer/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/out/renderer/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/out/renderer/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/out/renderer/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/out/renderer/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/out/renderer/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/out/renderer/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/out/renderer/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/out/renderer/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/out/renderer/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/out/renderer/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/out/renderer/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/out/renderer/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/out/renderer/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/out/renderer/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/out/renderer/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/out/renderer/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/out/renderer/assets/MFVI5XKI-TmPyVySZ.js +10 -0
- package/out/renderer/assets/MWY2J62P-BlVjis68.js +1102 -0
- package/out/renderer/assets/MXGNCBL2-HvKcixVr.js +216 -0
- package/out/renderer/assets/N6DAJLIZ-B0JHSPS3.js +120 -0
- package/out/renderer/assets/NU5M23IW-CWgVJ5o_.js +116 -0
- package/out/renderer/assets/NV4XNBIS-uOSoaYKk.js +1221 -0
- package/out/renderer/assets/OGLU4SIR-CiNpshB1.js +289 -0
- package/out/renderer/assets/OUNS5N76-C6p0zhvm.js +1064 -0
- package/out/renderer/assets/{Onboarding-B2h7iatR.js → Onboarding-Ct6-CF4Z.js} +4 -4
- package/out/renderer/assets/PU4ISKXV-BQc-2oYa.js +515 -0
- package/out/renderer/assets/PUZGS23X-Bf89SCAj.js +21 -0
- package/out/renderer/assets/{ProviderHeader-BvigqAWX.js → ProviderHeader-Buje398H.js} +2 -2
- package/out/renderer/assets/Q3IYVLG5-DbP4qs2C.js +500 -0
- package/out/renderer/assets/QYHQDLKZ-dANs6SeT.js +983 -0
- package/out/renderer/assets/RVARI57O-DMrXgtoB.js +10 -0
- package/out/renderer/assets/RZSVICHU-CeuX_9H4.js +263 -0
- package/out/renderer/assets/{SettingsPage-CBonY1bv.js → SettingsPage-CLpPKXG1.js} +978 -848
- package/out/renderer/assets/UEXXS2NB-Bmbum3yG.js +25 -0
- package/out/renderer/assets/UHTQJXKL-C2OuiQBx.js +134 -0
- package/out/renderer/assets/URA2L2QI-DJ2BF8fn.js +201 -0
- package/out/renderer/assets/UXCHDUKG-B6wMZRAn.js +173 -0
- package/out/renderer/assets/{UsageDashboard-DFgckoeT.js → UsageDashboard-ORnsHGxF.js} +9130 -6449
- package/out/renderer/assets/VKNV3BUX-BMK4lviM.js +277 -0
- package/out/renderer/assets/VMV7XPHP-CzHnUaWh.js +127 -0
- package/out/renderer/assets/WEVWDWVA-BYWYeLxq.js +57 -0
- package/out/renderer/assets/XRRJ35LF-DaeQ2kbN.js +119 -0
- package/out/renderer/assets/YFKBLVVN-DsXlM7HO.js +990 -0
- package/out/renderer/assets/YHRE5QGZ-nB9z3NP1.js +697 -0
- package/out/renderer/assets/ZF3OVT4B-Ctn5OOBd.js +420 -0
- package/out/renderer/assets/{index-BFhJk8dv.js → index-BCaQe4ny.js} +2 -2
- package/out/renderer/assets/{index-Dk4pOCFt.js → index-BD-JYQGT.js} +5 -5
- package/out/renderer/assets/{index-bNFXvWqr.js → index-BGR4ZXWZ.js} +2 -2
- package/out/renderer/assets/{index-BP0q4HOE.js → index-BZBhErKV.js} +2 -2
- package/out/renderer/assets/{index-x_iC3w5N.js → index-BcWszklu.js} +1 -1
- package/out/renderer/assets/{index-C8TOzJWw.js → index-BpNNugm2.js} +4 -4
- package/out/renderer/assets/{index-uAJ0Zw9K.js → index-BrgyIQaN.js} +2 -2
- package/out/renderer/assets/{index-CuQvDzzr.js → index-Bt1dN7k_.js} +1 -1
- package/out/renderer/assets/{index-BZmjwrvJ.js → index-Bxu6rqm3.js} +1 -1
- package/out/renderer/assets/{index-tNlkrDYM.js → index-C6mXHxX3.js} +1 -1
- package/out/renderer/assets/{index-Z71oMk_m.js → index-CCbq90uE.js} +1 -1
- package/out/renderer/assets/{index-DE2koGci.js → index-CCm3UXZP.js} +2 -2
- package/out/renderer/assets/{index-DKNYbwcH.js → index-CNkiGtsK.js} +3 -3
- package/out/renderer/assets/{index-D_o1aMFn.css → index-CWfnJXNI.css} +130 -0
- package/out/renderer/assets/{index-47ZLfCU8.js → index-Cc-He418.js} +72999 -82151
- package/out/renderer/assets/{index-Dx6kKrXY.js → index-Crdzxx6k.js} +19 -15
- package/out/renderer/assets/{index-B_PkNLqT.js → index-D30k3y98.js} +1 -1
- package/out/renderer/assets/{index-CasrGDb0.js → index-DAWoHfjM.js} +2 -2
- package/out/renderer/assets/{index-D-rE7YVD.js → index-DG5AIC6J.js} +3 -3
- package/out/renderer/assets/{index-BzOM6AUj.js → index-DSBgCNMv.js} +2 -2
- package/out/renderer/assets/{index-C1I2Idqy.js → index-DeRKeskE.js} +5 -5
- package/out/renderer/assets/{index-Bh4xfAPL.js → index-DgQEgdew.js} +2 -2
- package/out/renderer/assets/{index-BKmr7UTW.js → index-Dgdp4i2K.js} +1 -1
- package/out/renderer/assets/{index-Bbv79qeB.js → index-DnNK6R2g.js} +2 -2
- package/out/renderer/assets/{index-CiIr--kg.js → index-DrNutodm.js} +2 -2
- package/out/renderer/assets/{index-B2jZTTYL.js → index-FS3mY8Ct.js} +1 -1
- package/out/renderer/assets/{index-DvSWnCZD.js → index-KId2jLzt.js} +2 -2
- package/out/renderer/assets/{index-DWZF-uSf.js → index-PyRCX6hq.js} +5 -5
- package/out/renderer/assets/{index-J-dLn6uq.js → index-U8nE80jx.js} +2 -2
- package/out/renderer/assets/{index-cO9XeYPQ.js → index-Vw8jKJU_.js} +5 -5
- package/out/renderer/assets/{index-B9bf5T9j.js → index-_a6zbU-0.js} +1 -1
- package/out/renderer/assets/{index-CenYyetH.js → index-dsqlqRSG.js} +5 -5
- package/out/renderer/assets/{index-D4dhIRp1.js → index-rQL1hwaP.js} +5 -5
- package/out/renderer/assets/{jsx-dev-runtime-CtvYhMha.js → jsx-dev-runtime-Bwt8d4vP.js} +1 -1
- package/out/renderer/index.html +2 -2
- package/out/resources/prompts/system-prompt.hbs +11 -0
- package/out/resources/skills/extension-creator/SKILL.md +20 -1
- package/out/resources/skills/extension-creator/references/event-types.md +5 -3
- package/out/resources/skills/extension-creator/references/extension-interface.md +62 -1
- package/out/resources/skills/extension-creator/references/external-agent-providers.md +90 -0
- package/out/runner.js +2016 -615
- package/package.json +3 -3
- package/out/renderer/assets/abnfDiagram-N423BO3Z-DV7pjob8.js +0 -118
- package/out/renderer/assets/arc-C2NyJjKR.js +0 -131
- package/out/renderer/assets/architectureDiagram-T3A2C74G-BmG8PHmc.js +0 -8829
- package/out/renderer/assets/band-zXq5o_Ib.js +0 -77
- package/out/renderer/assets/blockDiagram-VBNYF7ZC-CJndPtzf.js +0 -3824
- package/out/renderer/assets/c4Diagram-5PPSVZJV-B9DY2Hnr.js +0 -2482
- package/out/renderer/assets/channel-CCPkBLnh.js +0 -7
- package/out/renderer/assets/chunk-2GRJ4B5K-Bt46bDfT.js +0 -116
- package/out/renderer/assets/chunk-2Q5K7J3B-DkQwfKC2.js +0 -19
- package/out/renderer/assets/chunk-5RXB4S5H-CFNEWvlR.js +0 -1988
- package/out/renderer/assets/chunk-5VM5RSS4-BNeZg_6d.js +0 -19
- package/out/renderer/assets/chunk-6Q2QTUOP-BU5gT8Us.js +0 -860
- package/out/renderer/assets/chunk-GF5L2VYU-BNML5JwJ.js +0 -2026
- package/out/renderer/assets/chunk-JWPE2WC7-Dvih3ku3.js +0 -16
- package/out/renderer/assets/chunk-KBJHAD2P-CMgAbRkQ.js +0 -24
- package/out/renderer/assets/chunk-RYQCIY6F-CAJ6Qldz.js +0 -474
- package/out/renderer/assets/chunk-XXDRQBXY-BDZJ-WFV.js +0 -13
- package/out/renderer/assets/classDiagram-JCYQIIEL-BJCilkUQ.js +0 -23
- package/out/renderer/assets/classDiagram-v2-OCEON4UE-BJCilkUQ.js +0 -23
- package/out/renderer/assets/cose-bilkent-JH36ORCC-D6MsqBP5.js +0 -4942
- package/out/renderer/assets/cynefin-VYW2F7L2-3kPlVPG0.js +0 -32093
- package/out/renderer/assets/cynefinDiagram-MW4NZA55-6BlkJqWN.js +0 -453
- package/out/renderer/assets/cytoscape.esm-Bx_1tVW-.js +0 -30332
- package/out/renderer/assets/dagre-VZM6K2ZE-Chj1W0as.js +0 -522
- package/out/renderer/assets/defaultLocale-B2RvLBDe.js +0 -206
- package/out/renderer/assets/diagram-7IWD3JNH-CHFj7vIm.js +0 -488
- package/out/renderer/assets/diagram-B4RE2ZJO-BqOMO30m.js +0 -632
- package/out/renderer/assets/diagram-LBJQPF4R-CkiuQM5K.js +0 -212
- package/out/renderer/assets/diagram-Q27KOJAE-WVbpb4Iq.js +0 -857
- package/out/renderer/assets/diagram-UB23O5K3-B9Q0wQI3.js +0 -311
- package/out/renderer/assets/ebnfDiagram-BXEA7PRR-BUhf1ZxU.js +0 -138
- package/out/renderer/assets/erDiagram-JOGREHBK-DGxWkssI.js +0 -1238
- package/out/renderer/assets/flowDiagram-UKHOOZJN-D3ul5aGG.js +0 -2348
- package/out/renderer/assets/ganttDiagram-PKOTCBZU-BD3VbhAZ.js +0 -2782
- package/out/renderer/assets/gitGraphDiagram-DS77QQ5N-x-7NMw7v.js +0 -1373
- package/out/renderer/assets/graph-BDbmSegI.js +0 -1308
- package/out/renderer/assets/infoDiagram-6WML65LV-BMwbA6CU.js +0 -31
- package/out/renderer/assets/init-CTO7spbL.js +0 -35
- package/out/renderer/assets/ishikawaDiagram-WSZJBQD7-Bx90Gz0s.js +0 -967
- package/out/renderer/assets/journeyDiagram-NVQOT4AX-Dh4pUAU5.js +0 -1255
- package/out/renderer/assets/kanban-definition-27J2QSJJ-BZ_lX-ko.js +0 -1052
- package/out/renderer/assets/katex-oVG3DVWa.js +0 -14499
- package/out/renderer/assets/layout-oaOUFeBM.js +0 -2326
- package/out/renderer/assets/linear-B2eGZpM_.js +0 -361
- package/out/renderer/assets/map-BijQCI9U.js +0 -299
- package/out/renderer/assets/mindmap-definition-FAOFIHXS-BeWZh5qg.js +0 -1153
- package/out/renderer/assets/ordinal-BD3Y6v77.js +0 -77
- package/out/renderer/assets/pegDiagram-VL7TDLO6-BA6NzzN6.js +0 -126
- package/out/renderer/assets/pieDiagram-7S7Q4E2Y-KJmT5t-P.js +0 -316
- package/out/renderer/assets/quadrantDiagram-CIZ2JOQS-BdFz_bQU.js +0 -1343
- package/out/renderer/assets/railroadDiagram-AXF67PYL-CbH2ZZ1S.js +0 -92
- package/out/renderer/assets/requirementDiagram-LRYGKXZP-BZXG5Vgf.js +0 -1204
- package/out/renderer/assets/sankeyDiagram-W5VNT64P-CV1Upv22.js +0 -1274
- package/out/renderer/assets/sequenceDiagram-SI44F4Z6-Csbi3ivi.js +0 -4514
- package/out/renderer/assets/sizeCapture-X5ZJPWSS-CaN4k1d3.js +0 -62
- package/out/renderer/assets/stateDiagram-OKZ733FA-DSo1KeOQ.js +0 -452
- package/out/renderer/assets/stateDiagram-v2-UEYNNEHI-BhXw89HT.js +0 -22
- package/out/renderer/assets/swimlanes-SLNWSIFB-p3GZ-wkU.js +0 -8557
- package/out/renderer/assets/swimlanesDiagram-ULZ7WXOC-DGBdyiqy.js +0 -20
- package/out/renderer/assets/time-4LaKa9ym.js +0 -985
- package/out/renderer/assets/timeline-definition-Z64GVDOM-DfY8hG5p.js +0 -1596
- package/out/renderer/assets/vennDiagram-T6HMQDX7-wp87GaTi.js +0 -2515
- package/out/renderer/assets/wardleyDiagram-T6FBY63Y-DNrC2vOI.js +0 -975
- package/out/renderer/assets/xychartDiagram-ELKLHX3M-Bn8J2SKt.js +0 -1943
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, a as clsx, j as jsxRuntimeExports,
|
|
2
|
-
import { I as InfoIcon } from "./InfoIcon-
|
|
1
|
+
import { c as compilerRuntimeExports, a as clsx, j as jsxRuntimeExports, aA as useTranslation, az as reactExports, aV as Checkbox, aK as Button, cy as HiEye, aX as Input, bn as TextArea, cz as Trans, bQ as CodeInline, cA as SUPPORTED_LANGUAGES, aU as Select, cB as useClickOutside, cC as FaEllipsisVertical, cD as BiCut, bq as BiTrash, bM as BiCopy, cE as useSortable, cF as CSS, aY as Slider, I as IconButton, b_ as FaTimes, c3 as ContextCompactionType, b4 as Tooltip, cG as useDropdownState, cH as reactDomExports, cI as HiCheck, cJ as KeyboardKeys, cK as HiChevronUpDown, cL as ToolRecoveryMode, cM as RiAlertLine, cN as RiRefreshLine, cO as RiProhibitedLine, cP as TOOL_GROUP_NAME_SEPARATOR, cQ as ToolApprovalState, bv as useApi, br as McpOAuthStatus, bD as extractIpcErrorMessage, aW as Accordion, bs as FaPencilAlt, bt as FaTrash, cR as DEFAULT_TOOL_RECOVERY_MODES, cS as POWER_TOOL_GROUP_NAME, cT as POWER_TOOL_BASH, cU as AIDER_TOOL_GROUP_NAME, cV as TODO_TOOL_GROUP_NAME, cW as TASKS_TOOL_GROUP_NAME, cX as MEMORY_TOOL_GROUP_NAME, cY as SKILLS_TOOL_GROUP_NAME, cZ as SUBAGENTS_TOOL_GROUP_NAME, c_ as MEMORY_TOOL_DESCRIPTIONS, c$ as MEMORY_TOOL_STORE, d0 as MEMORY_TOOL_RETRIEVE, d1 as MEMORY_TOOL_LIST, d2 as MEMORY_TOOL_UPDATE, d3 as MEMORY_TOOL_DELETE, d4 as TASKS_TOOL_DESCRIPTIONS, d5 as TASKS_TOOL_LIST_TASKS, d6 as TASKS_TOOL_GET_TASK, d7 as TASKS_TOOL_GET_TASK_MESSAGE, d8 as TASKS_TOOL_CREATE_TASK, d9 as TASKS_TOOL_DELETE_TASK, da as TASKS_TOOL_SEARCH_TASK, db as TODO_TOOL_DESCRIPTIONS, dc as TODO_TOOL_SET_ITEMS, dd as TODO_TOOL_GET_ITEMS, de as TODO_TOOL_UPDATE_ITEM_COMPLETION, df as TODO_TOOL_CLEAR_ITEMS, dg as POWER_TOOL_DESCRIPTIONS, dh as POWER_TOOL_FILE_EDIT, di as POWER_TOOL_FILE_READ, dj as POWER_TOOL_FILE_WRITE, dk as POWER_TOOL_GLOB, dl as POWER_TOOL_GREP, dm as POWER_TOOL_SEMANTIC_SEARCH, dn as POWER_TOOL_FETCH, dp as AIDER_TOOL_DESCRIPTIONS, dq as AIDER_TOOL_GET_CONTEXT_FILES, dr as AIDER_TOOL_ADD_CONTEXT_FILES, ds as AIDER_TOOL_DROP_CONTEXT_FILES, dt as AIDER_TOOL_RUN_PROMPT, du as SUBAGENTS_TOOL_RUN_TASK, cp as FaPlug, dv as _extends$1, dw as React, dx as _objectWithoutPropertiesLoose$1, dy as InvocationMode, dz as ContextMemoryMode, bx as useResponsive, by as useBooleanState, aI as DEFAULT_AGENT_PROFILE, bw as useMcpServers, ay as useModelProviders, dA as useExtensionTools, dB as DEFAULT_AGENT_PROFILES, dC as useSensors, dD as useSensor, dE as KeyboardSensor, dF as PointerSensor, c4 as getProviderModelId, dG as DndContext, dH as closestCenter, dI as SortableContext, dJ as verticalListSortingStrategy, bG as FaPlus, dK as FaPaste, bz as AnimatePresence, bA as motion, bB as HiXMark, bC as RiMenuUnfold4Line, dL as BiReset, dM as ModelSelector, dN as Tabs, dO as sortableKeyboardCoordinates, dP as arrayMove, dQ as v4, aN as showErrorNotification, bE as FaChevronLeft, bF as FaChevronRight } from "./index-Cc-He418.js";
|
|
2
|
+
import { I as InfoIcon } from "./InfoIcon-DI4teJbi.js";
|
|
3
3
|
const getPathBasename = (inputPath) => {
|
|
4
4
|
if (!inputPath) {
|
|
5
5
|
return inputPath;
|
|
@@ -1965,13 +1965,369 @@ const ProfilePromptsSection = (t0) => {
|
|
|
1965
1965
|
}
|
|
1966
1966
|
return t15;
|
|
1967
1967
|
};
|
|
1968
|
+
const RichSelect = (t0) => {
|
|
1969
|
+
const $ = compilerRuntimeExports.c(48);
|
|
1970
|
+
const {
|
|
1971
|
+
options,
|
|
1972
|
+
value,
|
|
1973
|
+
onChange,
|
|
1974
|
+
renderTrigger,
|
|
1975
|
+
triggerClassName,
|
|
1976
|
+
menuWidth: t1,
|
|
1977
|
+
align: t2,
|
|
1978
|
+
placement: t3,
|
|
1979
|
+
disabled: t4,
|
|
1980
|
+
ariaLabel
|
|
1981
|
+
} = t0;
|
|
1982
|
+
const menuWidth = t1 === void 0 ? 260 : t1;
|
|
1983
|
+
const align = t2 === void 0 ? "left" : t2;
|
|
1984
|
+
const placement = t3 === void 0 ? "bottom" : t3;
|
|
1985
|
+
const disabled = t4 === void 0 ? false : t4;
|
|
1986
|
+
const [position, setPosition] = reactExports.useState(null);
|
|
1987
|
+
const containerRef = reactExports.useRef(null);
|
|
1988
|
+
const menuRef = reactExports.useRef(null);
|
|
1989
|
+
let t5;
|
|
1990
|
+
if ($[0] !== value) {
|
|
1991
|
+
t5 = (opt) => opt.value === value;
|
|
1992
|
+
$[0] = value;
|
|
1993
|
+
$[1] = t5;
|
|
1994
|
+
} else {
|
|
1995
|
+
t5 = $[1];
|
|
1996
|
+
}
|
|
1997
|
+
const selectedOption = options.find(t5);
|
|
1998
|
+
let t6;
|
|
1999
|
+
if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
2000
|
+
t6 = {
|
|
2001
|
+
initialState: {
|
|
2002
|
+
highlightedIndex: -1
|
|
2003
|
+
},
|
|
2004
|
+
onCloseReset: {
|
|
2005
|
+
highlightedIndex: -1
|
|
2006
|
+
}
|
|
2007
|
+
};
|
|
2008
|
+
$[2] = t6;
|
|
2009
|
+
} else {
|
|
2010
|
+
t6 = $[2];
|
|
2011
|
+
}
|
|
2012
|
+
const {
|
|
2013
|
+
isOpen,
|
|
2014
|
+
state,
|
|
2015
|
+
open,
|
|
2016
|
+
close,
|
|
2017
|
+
toggle,
|
|
2018
|
+
updateState
|
|
2019
|
+
} = useDropdownState(t6);
|
|
2020
|
+
let t7;
|
|
2021
|
+
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
2022
|
+
t7 = [containerRef, menuRef];
|
|
2023
|
+
$[3] = t7;
|
|
2024
|
+
} else {
|
|
2025
|
+
t7 = $[3];
|
|
2026
|
+
}
|
|
2027
|
+
useClickOutside(t7, close, isOpen);
|
|
2028
|
+
let t8;
|
|
2029
|
+
if ($[4] !== align || $[5] !== disabled || $[6] !== isOpen || $[7] !== menuWidth || $[8] !== open || $[9] !== options || $[10] !== placement || $[11] !== toggle || $[12] !== value) {
|
|
2030
|
+
t8 = () => {
|
|
2031
|
+
if (disabled) {
|
|
2032
|
+
return;
|
|
2033
|
+
}
|
|
2034
|
+
if (!isOpen && containerRef.current) {
|
|
2035
|
+
const rect = containerRef.current.getBoundingClientRect();
|
|
2036
|
+
const left = align === "right" ? rect.right + window.scrollX - menuWidth : rect.left + window.scrollX;
|
|
2037
|
+
setPosition({
|
|
2038
|
+
top: placement === "top" ? rect.top + window.scrollY : rect.bottom + window.scrollY,
|
|
2039
|
+
left
|
|
2040
|
+
});
|
|
2041
|
+
open({
|
|
2042
|
+
highlightedIndex: options.findIndex((opt_0) => opt_0.value === value)
|
|
2043
|
+
});
|
|
2044
|
+
} else {
|
|
2045
|
+
toggle();
|
|
2046
|
+
}
|
|
2047
|
+
};
|
|
2048
|
+
$[4] = align;
|
|
2049
|
+
$[5] = disabled;
|
|
2050
|
+
$[6] = isOpen;
|
|
2051
|
+
$[7] = menuWidth;
|
|
2052
|
+
$[8] = open;
|
|
2053
|
+
$[9] = options;
|
|
2054
|
+
$[10] = placement;
|
|
2055
|
+
$[11] = toggle;
|
|
2056
|
+
$[12] = value;
|
|
2057
|
+
$[13] = t8;
|
|
2058
|
+
} else {
|
|
2059
|
+
t8 = $[13];
|
|
2060
|
+
}
|
|
2061
|
+
const handleToggle = t8;
|
|
2062
|
+
let t9;
|
|
2063
|
+
if ($[14] !== close || $[15] !== onChange) {
|
|
2064
|
+
t9 = (option) => {
|
|
2065
|
+
close();
|
|
2066
|
+
onChange?.(option.value);
|
|
2067
|
+
};
|
|
2068
|
+
$[14] = close;
|
|
2069
|
+
$[15] = onChange;
|
|
2070
|
+
$[16] = t9;
|
|
2071
|
+
} else {
|
|
2072
|
+
t9 = $[16];
|
|
2073
|
+
}
|
|
2074
|
+
const handleSelect = t9;
|
|
2075
|
+
let t10;
|
|
2076
|
+
if ($[17] !== close || $[18] !== handleSelect || $[19] !== handleToggle || $[20] !== isOpen || $[21] !== options || $[22] !== state || $[23] !== updateState) {
|
|
2077
|
+
t10 = (e) => {
|
|
2078
|
+
if (!isOpen) {
|
|
2079
|
+
if (e.key === KeyboardKeys.Enter || e.key === KeyboardKeys.Space) {
|
|
2080
|
+
e.preventDefault();
|
|
2081
|
+
handleToggle();
|
|
2082
|
+
}
|
|
2083
|
+
return;
|
|
2084
|
+
}
|
|
2085
|
+
bb55: switch (e.key) {
|
|
2086
|
+
case KeyboardKeys.Escape: {
|
|
2087
|
+
e.preventDefault();
|
|
2088
|
+
close();
|
|
2089
|
+
break bb55;
|
|
2090
|
+
}
|
|
2091
|
+
case KeyboardKeys.ArrowDown: {
|
|
2092
|
+
e.preventDefault();
|
|
2093
|
+
updateState((prev_0) => ({
|
|
2094
|
+
highlightedIndex: prev_0.highlightedIndex >= options.length - 1 ? 0 : prev_0.highlightedIndex + 1
|
|
2095
|
+
}));
|
|
2096
|
+
break bb55;
|
|
2097
|
+
}
|
|
2098
|
+
case KeyboardKeys.ArrowUp: {
|
|
2099
|
+
e.preventDefault();
|
|
2100
|
+
updateState((prev) => ({
|
|
2101
|
+
highlightedIndex: prev.highlightedIndex <= 0 ? options.length - 1 : prev.highlightedIndex - 1
|
|
2102
|
+
}));
|
|
2103
|
+
break bb55;
|
|
2104
|
+
}
|
|
2105
|
+
case KeyboardKeys.Enter: {
|
|
2106
|
+
e.preventDefault();
|
|
2107
|
+
if (state.highlightedIndex >= 0 && state.highlightedIndex < options.length) {
|
|
2108
|
+
handleSelect(options[state.highlightedIndex]);
|
|
2109
|
+
}
|
|
2110
|
+
break bb55;
|
|
2111
|
+
}
|
|
2112
|
+
case KeyboardKeys.Tab: {
|
|
2113
|
+
close();
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
};
|
|
2117
|
+
$[17] = close;
|
|
2118
|
+
$[18] = handleSelect;
|
|
2119
|
+
$[19] = handleToggle;
|
|
2120
|
+
$[20] = isOpen;
|
|
2121
|
+
$[21] = options;
|
|
2122
|
+
$[22] = state;
|
|
2123
|
+
$[23] = updateState;
|
|
2124
|
+
$[24] = t10;
|
|
2125
|
+
} else {
|
|
2126
|
+
t10 = $[24];
|
|
2127
|
+
}
|
|
2128
|
+
const handleKeyDown = t10;
|
|
2129
|
+
const t11 = isOpen && "border-border-light";
|
|
2130
|
+
let t12;
|
|
2131
|
+
if ($[25] !== t11 || $[26] !== triggerClassName) {
|
|
2132
|
+
t12 = clsx("flex items-center gap-2 bg-bg-secondary-light border-2 border-border-default rounded px-2 py-1 text-xs text-text-primary", t11, triggerClassName);
|
|
2133
|
+
$[25] = t11;
|
|
2134
|
+
$[26] = triggerClassName;
|
|
2135
|
+
$[27] = t12;
|
|
2136
|
+
} else {
|
|
2137
|
+
t12 = $[27];
|
|
2138
|
+
}
|
|
2139
|
+
let t13;
|
|
2140
|
+
if ($[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
2141
|
+
t13 = /* @__PURE__ */ jsxRuntimeExports.jsx(HiChevronUpDown, { className: "size-4 text-text-muted flex-shrink-0" });
|
|
2142
|
+
$[28] = t13;
|
|
2143
|
+
} else {
|
|
2144
|
+
t13 = $[28];
|
|
2145
|
+
}
|
|
2146
|
+
const defaultTrigger = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: t12, children: [
|
|
2147
|
+
selectedOption?.icon,
|
|
2148
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "flex-1 truncate", children: selectedOption?.label }),
|
|
2149
|
+
t13
|
|
2150
|
+
] });
|
|
2151
|
+
const t14 = "relative";
|
|
2152
|
+
const t15 = "button";
|
|
2153
|
+
const t16 = "listbox";
|
|
2154
|
+
const t17 = "flex items-center focus:outline-none disabled:opacity-50";
|
|
2155
|
+
const t18 = renderTrigger ? renderTrigger(selectedOption, isOpen) : defaultTrigger;
|
|
2156
|
+
let t19;
|
|
2157
|
+
if ($[29] !== ariaLabel || $[30] !== disabled || $[31] !== handleKeyDown || $[32] !== handleToggle || $[33] !== isOpen || $[34] !== t18) {
|
|
2158
|
+
t19 = /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: t15, onClick: handleToggle, onKeyDown: handleKeyDown, "aria-haspopup": t16, "aria-expanded": isOpen, "aria-label": ariaLabel, disabled, className: t17, children: t18 });
|
|
2159
|
+
$[29] = ariaLabel;
|
|
2160
|
+
$[30] = disabled;
|
|
2161
|
+
$[31] = handleKeyDown;
|
|
2162
|
+
$[32] = handleToggle;
|
|
2163
|
+
$[33] = isOpen;
|
|
2164
|
+
$[34] = t18;
|
|
2165
|
+
$[35] = t19;
|
|
2166
|
+
} else {
|
|
2167
|
+
t19 = $[35];
|
|
2168
|
+
}
|
|
2169
|
+
let t20;
|
|
2170
|
+
if ($[36] !== handleSelect || $[37] !== isOpen || $[38] !== menuWidth || $[39] !== options || $[40] !== placement || $[41] !== position || $[42] !== selectedOption?.value || $[43] !== state) {
|
|
2171
|
+
t20 = isOpen && position && reactDomExports.createPortal(/* @__PURE__ */ jsxRuntimeExports.jsx("ul", { ref: menuRef, className: "absolute z-50 mt-1 max-h-72 overflow-auto rounded-md bg-bg-secondary-light py-1 ring-1 shadow-lg ring-black/5 focus:outline-none scrollbar-thin scrollbar-track-bg-secondary-light scrollbar-thumb-bg-fourth", style: {
|
|
2172
|
+
top: placement === "top" ? void 0 : `${position.top}px`,
|
|
2173
|
+
bottom: placement === "top" ? `${window.innerHeight - position.top + 4}px` : void 0,
|
|
2174
|
+
left: `${position.left}px`,
|
|
2175
|
+
width: `${menuWidth}px`
|
|
2176
|
+
}, role: "listbox", children: options.map((opt_1, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { onClick: () => handleSelect(opt_1), className: clsx("relative flex cursor-pointer select-none items-start gap-2.5 px-3 py-2", selectedOption?.value === opt_1.value || state.highlightedIndex === index ? "bg-bg-tertiary" : "hover:bg-bg-tertiary"), role: "option", "aria-selected": selectedOption?.value === opt_1.value, children: [
|
|
2177
|
+
opt_1.icon && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "mt-0.5 flex-shrink-0", children: opt_1.icon }),
|
|
2178
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
2179
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center gap-2 text-xs font-medium text-text-primary", children: opt_1.label }),
|
|
2180
|
+
opt_1.description && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mt-0.5 text-2xs leading-snug text-text-muted-light", children: opt_1.description })
|
|
2181
|
+
] }),
|
|
2182
|
+
selectedOption?.value === opt_1.value && /* @__PURE__ */ jsxRuntimeExports.jsx(HiCheck, { className: "mt-0.5 size-4 flex-shrink-0 text-text-tertiary" })
|
|
2183
|
+
] }, opt_1.value)) }), document.body);
|
|
2184
|
+
$[36] = handleSelect;
|
|
2185
|
+
$[37] = isOpen;
|
|
2186
|
+
$[38] = menuWidth;
|
|
2187
|
+
$[39] = options;
|
|
2188
|
+
$[40] = placement;
|
|
2189
|
+
$[41] = position;
|
|
2190
|
+
$[42] = selectedOption?.value;
|
|
2191
|
+
$[43] = state;
|
|
2192
|
+
$[44] = t20;
|
|
2193
|
+
} else {
|
|
2194
|
+
t20 = $[44];
|
|
2195
|
+
}
|
|
2196
|
+
let t21;
|
|
2197
|
+
if ($[45] !== t19 || $[46] !== t20) {
|
|
2198
|
+
t21 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: containerRef, className: t14, children: [
|
|
2199
|
+
t19,
|
|
2200
|
+
t20
|
|
2201
|
+
] });
|
|
2202
|
+
$[45] = t19;
|
|
2203
|
+
$[46] = t20;
|
|
2204
|
+
$[47] = t21;
|
|
2205
|
+
} else {
|
|
2206
|
+
t21 = $[47];
|
|
2207
|
+
}
|
|
2208
|
+
return t21;
|
|
2209
|
+
};
|
|
2210
|
+
const MODE_CONFIG = {
|
|
2211
|
+
[ToolRecoveryMode.Forget]: {
|
|
2212
|
+
icon: RiProhibitedLine,
|
|
2213
|
+
color: "text-text-muted"
|
|
2214
|
+
},
|
|
2215
|
+
[ToolRecoveryMode.Safe]: {
|
|
2216
|
+
icon: RiRefreshLine,
|
|
2217
|
+
color: "text-success"
|
|
2218
|
+
},
|
|
2219
|
+
[ToolRecoveryMode.Notify]: {
|
|
2220
|
+
icon: RiAlertLine,
|
|
2221
|
+
color: "text-warning"
|
|
2222
|
+
}
|
|
2223
|
+
};
|
|
2224
|
+
const ToolRecoverySelect = (t0) => {
|
|
2225
|
+
const $ = compilerRuntimeExports.c(16);
|
|
2226
|
+
const {
|
|
2227
|
+
value,
|
|
2228
|
+
onChange
|
|
2229
|
+
} = t0;
|
|
2230
|
+
const {
|
|
2231
|
+
t
|
|
2232
|
+
} = useTranslation();
|
|
2233
|
+
let t1;
|
|
2234
|
+
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
2235
|
+
t1 = Object.values(ToolRecoveryMode);
|
|
2236
|
+
$[0] = t1;
|
|
2237
|
+
} else {
|
|
2238
|
+
t1 = $[0];
|
|
2239
|
+
}
|
|
2240
|
+
let t2;
|
|
2241
|
+
if ($[1] !== t) {
|
|
2242
|
+
t2 = t1.map((mode) => {
|
|
2243
|
+
const {
|
|
2244
|
+
icon: Icon,
|
|
2245
|
+
color: color2
|
|
2246
|
+
} = MODE_CONFIG[mode];
|
|
2247
|
+
return {
|
|
2248
|
+
value: mode,
|
|
2249
|
+
label: t("tool.recovery." + mode),
|
|
2250
|
+
description: t("tool.recovery.descriptions." + mode),
|
|
2251
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { className: clsx("h-3.5 w-3.5", color2) })
|
|
2252
|
+
};
|
|
2253
|
+
});
|
|
2254
|
+
$[1] = t;
|
|
2255
|
+
$[2] = t2;
|
|
2256
|
+
} else {
|
|
2257
|
+
t2 = $[2];
|
|
2258
|
+
}
|
|
2259
|
+
const options = t2;
|
|
2260
|
+
let t3;
|
|
2261
|
+
if ($[3] !== onChange) {
|
|
2262
|
+
t3 = (next) => {
|
|
2263
|
+
onChange(next);
|
|
2264
|
+
};
|
|
2265
|
+
$[3] = onChange;
|
|
2266
|
+
$[4] = t3;
|
|
2267
|
+
} else {
|
|
2268
|
+
t3 = $[4];
|
|
2269
|
+
}
|
|
2270
|
+
const handleChange = t3;
|
|
2271
|
+
let t4;
|
|
2272
|
+
if ($[5] !== t) {
|
|
2273
|
+
t4 = (selected, isOpen) => {
|
|
2274
|
+
const mode_0 = selected?.value ?? ToolRecoveryMode.Forget;
|
|
2275
|
+
const {
|
|
2276
|
+
icon: Icon_0,
|
|
2277
|
+
color: color_0
|
|
2278
|
+
} = MODE_CONFIG[mode_0];
|
|
2279
|
+
const tooltip = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-1 text-left", children: [
|
|
2280
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "font-semibold text-text-primary", children: t("tool.recovery.label") }),
|
|
2281
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-text-secondary", children: t("tool.recovery.description") }),
|
|
2282
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-1 border-t border-border-default pt-1", children: [
|
|
2283
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "font-medium text-text-primary", children: t("tool.recovery." + mode_0) }),
|
|
2284
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-text-muted-light", children: [
|
|
2285
|
+
" — ",
|
|
2286
|
+
t("tool.recovery.descriptions." + mode_0)
|
|
2287
|
+
] })
|
|
2288
|
+
] })
|
|
2289
|
+
] });
|
|
2290
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { content: tooltip, maxWidth: 320, children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("flex h-8 w-8 items-center justify-center rounded border-2 transition-colors", isOpen ? "border-border-light bg-bg-tertiary" : "border-border-default bg-bg-secondary-light hover:bg-bg-tertiary"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon_0, { className: clsx("h-3.5 w-3.5", color_0) }) }) });
|
|
2291
|
+
};
|
|
2292
|
+
$[5] = t;
|
|
2293
|
+
$[6] = t4;
|
|
2294
|
+
} else {
|
|
2295
|
+
t4 = $[6];
|
|
2296
|
+
}
|
|
2297
|
+
const renderTrigger = t4;
|
|
2298
|
+
const t5 = "tool.recovery." + value;
|
|
2299
|
+
let t6;
|
|
2300
|
+
if ($[7] !== t || $[8] !== t5) {
|
|
2301
|
+
t6 = t(t5);
|
|
2302
|
+
$[7] = t;
|
|
2303
|
+
$[8] = t5;
|
|
2304
|
+
$[9] = t6;
|
|
2305
|
+
} else {
|
|
2306
|
+
t6 = $[9];
|
|
2307
|
+
}
|
|
2308
|
+
let t7;
|
|
2309
|
+
if ($[10] !== handleChange || $[11] !== options || $[12] !== renderTrigger || $[13] !== t6 || $[14] !== value) {
|
|
2310
|
+
t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(RichSelect, { options, value, onChange: handleChange, renderTrigger, menuWidth: 260, align: "right", ariaLabel: t6 });
|
|
2311
|
+
$[10] = handleChange;
|
|
2312
|
+
$[11] = options;
|
|
2313
|
+
$[12] = renderTrigger;
|
|
2314
|
+
$[13] = t6;
|
|
2315
|
+
$[14] = value;
|
|
2316
|
+
$[15] = t7;
|
|
2317
|
+
} else {
|
|
2318
|
+
t7 = $[15];
|
|
2319
|
+
}
|
|
2320
|
+
return t7;
|
|
2321
|
+
};
|
|
1968
2322
|
const McpToolItem = (t0) => {
|
|
1969
|
-
const $ = compilerRuntimeExports.c(
|
|
2323
|
+
const $ = compilerRuntimeExports.c(45);
|
|
1970
2324
|
const {
|
|
1971
2325
|
tool,
|
|
1972
2326
|
serverName,
|
|
1973
2327
|
toolApprovals,
|
|
1974
|
-
onApprovalChange
|
|
2328
|
+
onApprovalChange,
|
|
2329
|
+
toolRecoveryModes,
|
|
2330
|
+
onRecoveryModeChange
|
|
1975
2331
|
} = t0;
|
|
1976
2332
|
const {
|
|
1977
2333
|
t
|
|
@@ -2061,57 +2417,82 @@ const McpToolItem = (t0) => {
|
|
|
2061
2417
|
}
|
|
2062
2418
|
const handleApprovalChange = t8;
|
|
2063
2419
|
let t9;
|
|
2064
|
-
if ($[19] !==
|
|
2065
|
-
t9 =
|
|
2066
|
-
|
|
2067
|
-
|
|
2420
|
+
if ($[19] !== fullToolId || $[20] !== onRecoveryModeChange) {
|
|
2421
|
+
t9 = (value_0) => {
|
|
2422
|
+
onRecoveryModeChange?.(fullToolId, value_0);
|
|
2423
|
+
};
|
|
2424
|
+
$[19] = fullToolId;
|
|
2425
|
+
$[20] = onRecoveryModeChange;
|
|
2426
|
+
$[21] = t9;
|
|
2068
2427
|
} else {
|
|
2069
|
-
t9 = $[
|
|
2428
|
+
t9 = $[21];
|
|
2070
2429
|
}
|
|
2430
|
+
const handleRecoveryModeChange = t9;
|
|
2071
2431
|
let t10;
|
|
2072
|
-
if ($[
|
|
2073
|
-
t10 =
|
|
2074
|
-
$[
|
|
2075
|
-
$[22] = tool.description;
|
|
2432
|
+
if ($[22] !== tool.name) {
|
|
2433
|
+
t10 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 text-xs ml-2 mr-2", children: tool.name });
|
|
2434
|
+
$[22] = tool.name;
|
|
2076
2435
|
$[23] = t10;
|
|
2077
2436
|
} else {
|
|
2078
2437
|
t10 = $[23];
|
|
2079
2438
|
}
|
|
2080
2439
|
let t11;
|
|
2081
|
-
if ($[24] !==
|
|
2082
|
-
t11 =
|
|
2083
|
-
$[24] =
|
|
2084
|
-
$[25] =
|
|
2440
|
+
if ($[24] !== t || $[25] !== tool.description) {
|
|
2441
|
+
t11 = tool.description?.trim() || t("tool.noDescription");
|
|
2442
|
+
$[24] = t;
|
|
2443
|
+
$[25] = tool.description;
|
|
2444
|
+
$[26] = t11;
|
|
2085
2445
|
} else {
|
|
2086
|
-
t11 = $[
|
|
2446
|
+
t11 = $[26];
|
|
2087
2447
|
}
|
|
2088
2448
|
let t12;
|
|
2089
|
-
if ($[
|
|
2090
|
-
t12 =
|
|
2091
|
-
$[
|
|
2092
|
-
$[
|
|
2093
|
-
$[28] = handleApprovalChange;
|
|
2094
|
-
$[29] = onApprovalChange;
|
|
2095
|
-
$[30] = toolApprovals;
|
|
2096
|
-
$[31] = t12;
|
|
2449
|
+
if ($[27] !== t11) {
|
|
2450
|
+
t12 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { className: "mr-4", tooltip: t11, tooltipMaxWidth: 600 });
|
|
2451
|
+
$[27] = t11;
|
|
2452
|
+
$[28] = t12;
|
|
2097
2453
|
} else {
|
|
2098
|
-
t12 = $[
|
|
2454
|
+
t12 = $[28];
|
|
2099
2455
|
}
|
|
2100
2456
|
let t13;
|
|
2101
|
-
if ($[
|
|
2102
|
-
t13 = /* @__PURE__ */ jsxRuntimeExports.
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2457
|
+
if ($[29] !== fullToolId || $[30] !== handleRecoveryModeChange || $[31] !== onRecoveryModeChange || $[32] !== toolRecoveryModes) {
|
|
2458
|
+
t13 = onRecoveryModeChange && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mr-3", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolRecoverySelect, { value: toolRecoveryModes?.[fullToolId] ?? ToolRecoveryMode.Forget, onChange: handleRecoveryModeChange }) });
|
|
2459
|
+
$[29] = fullToolId;
|
|
2460
|
+
$[30] = handleRecoveryModeChange;
|
|
2461
|
+
$[31] = onRecoveryModeChange;
|
|
2462
|
+
$[32] = toolRecoveryModes;
|
|
2463
|
+
$[33] = t13;
|
|
2464
|
+
} else {
|
|
2465
|
+
t13 = $[33];
|
|
2466
|
+
}
|
|
2467
|
+
let t14;
|
|
2468
|
+
if ($[34] !== approvalOptions || $[35] !== currentApproval || $[36] !== handleApprovalChange || $[37] !== onApprovalChange || $[38] !== toolApprovals) {
|
|
2469
|
+
t14 = onApprovalChange && toolApprovals && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Select, { options: approvalOptions, size: "sm", value: currentApproval, onChange: handleApprovalChange }) });
|
|
2470
|
+
$[34] = approvalOptions;
|
|
2471
|
+
$[35] = currentApproval;
|
|
2472
|
+
$[36] = handleApprovalChange;
|
|
2473
|
+
$[37] = onApprovalChange;
|
|
2474
|
+
$[38] = toolApprovals;
|
|
2475
|
+
$[39] = t14;
|
|
2476
|
+
} else {
|
|
2477
|
+
t14 = $[39];
|
|
2478
|
+
}
|
|
2479
|
+
let t15;
|
|
2480
|
+
if ($[40] !== t10 || $[41] !== t12 || $[42] !== t13 || $[43] !== t14) {
|
|
2481
|
+
t15 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center", children: [
|
|
2482
|
+
t10,
|
|
2483
|
+
t12,
|
|
2484
|
+
t13,
|
|
2485
|
+
t14
|
|
2106
2486
|
] });
|
|
2107
|
-
$[
|
|
2108
|
-
$[
|
|
2109
|
-
$[
|
|
2110
|
-
$[
|
|
2487
|
+
$[40] = t10;
|
|
2488
|
+
$[41] = t12;
|
|
2489
|
+
$[42] = t13;
|
|
2490
|
+
$[43] = t14;
|
|
2491
|
+
$[44] = t15;
|
|
2111
2492
|
} else {
|
|
2112
|
-
|
|
2493
|
+
t15 = $[44];
|
|
2113
2494
|
}
|
|
2114
|
-
return
|
|
2495
|
+
return t15;
|
|
2115
2496
|
};
|
|
2116
2497
|
const McpOAuthControls = ({
|
|
2117
2498
|
serverName,
|
|
@@ -2211,6 +2592,8 @@ const McpServerItem = ({
|
|
|
2211
2592
|
onRemove,
|
|
2212
2593
|
onEdit,
|
|
2213
2594
|
toolApprovals,
|
|
2595
|
+
toolRecoveryModes,
|
|
2596
|
+
onRecoveryModeChange,
|
|
2214
2597
|
onApprovalChange,
|
|
2215
2598
|
reloadTrigger = 0,
|
|
2216
2599
|
enabled,
|
|
@@ -2318,16 +2701,17 @@ const McpServerItem = ({
|
|
|
2318
2701
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Select, { options: approvalOptions, size: "sm", value: commonApproval ?? MIXED_VALUE, notFoundLabel: MIXED_VALUE, onChange: handleBulkApprovalChange })
|
|
2319
2702
|
] })
|
|
2320
2703
|
] }),
|
|
2321
|
-
tools2.map((tool_3) => /* @__PURE__ */ jsxRuntimeExports.jsx(McpToolItem, { tool: tool_3, toolApprovals, onApprovalChange, serverName }, tool_3.name))
|
|
2704
|
+
tools2.map((tool_3) => /* @__PURE__ */ jsxRuntimeExports.jsx(McpToolItem, { toolRecoveryModes, onRecoveryModeChange, tool: tool_3, toolApprovals, onApprovalChange, serverName }, tool_3.name))
|
|
2322
2705
|
] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-text-muted p-4", children: t("mcp.noToolsFound") })
|
|
2323
2706
|
] }) });
|
|
2324
2707
|
};
|
|
2325
2708
|
const GenericToolItem = (t0) => {
|
|
2326
|
-
const $ = compilerRuntimeExports.c(
|
|
2709
|
+
const $ = compilerRuntimeExports.c(52);
|
|
2327
2710
|
const {
|
|
2328
2711
|
tool,
|
|
2329
2712
|
profile,
|
|
2330
2713
|
onApprovalChange,
|
|
2714
|
+
onRecoveryModeChange,
|
|
2331
2715
|
renderToolSettings
|
|
2332
2716
|
} = t0;
|
|
2333
2717
|
const {
|
|
@@ -2418,84 +2802,112 @@ const GenericToolItem = (t0) => {
|
|
|
2418
2802
|
}
|
|
2419
2803
|
const handleApprovalChange = t8;
|
|
2420
2804
|
let t9;
|
|
2421
|
-
if ($[19] !==
|
|
2422
|
-
t9 =
|
|
2423
|
-
|
|
2424
|
-
|
|
2805
|
+
if ($[19] !== fullToolId || $[20] !== onRecoveryModeChange) {
|
|
2806
|
+
t9 = (value_0) => {
|
|
2807
|
+
onRecoveryModeChange?.(fullToolId, value_0);
|
|
2808
|
+
};
|
|
2809
|
+
$[19] = fullToolId;
|
|
2810
|
+
$[20] = onRecoveryModeChange;
|
|
2811
|
+
$[21] = t9;
|
|
2425
2812
|
} else {
|
|
2426
|
-
t9 = $[
|
|
2813
|
+
t9 = $[21];
|
|
2427
2814
|
}
|
|
2815
|
+
const handleRecoveryModeChange = t9;
|
|
2428
2816
|
let t10;
|
|
2429
|
-
if ($[
|
|
2430
|
-
t10 =
|
|
2431
|
-
$[
|
|
2432
|
-
$[22] = tool.description;
|
|
2817
|
+
if ($[22] !== tool.name) {
|
|
2818
|
+
t10 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 text-xs ml-2 mr-2", children: tool.name });
|
|
2819
|
+
$[22] = tool.name;
|
|
2433
2820
|
$[23] = t10;
|
|
2434
2821
|
} else {
|
|
2435
2822
|
t10 = $[23];
|
|
2436
2823
|
}
|
|
2437
2824
|
let t11;
|
|
2438
|
-
if ($[24] !==
|
|
2439
|
-
t11 =
|
|
2440
|
-
$[24] =
|
|
2441
|
-
$[25] =
|
|
2825
|
+
if ($[24] !== t || $[25] !== tool.description) {
|
|
2826
|
+
t11 = tool.description?.trim() || t("tool.noDescription");
|
|
2827
|
+
$[24] = t;
|
|
2828
|
+
$[25] = tool.description;
|
|
2829
|
+
$[26] = t11;
|
|
2442
2830
|
} else {
|
|
2443
|
-
t11 = $[
|
|
2831
|
+
t11 = $[26];
|
|
2444
2832
|
}
|
|
2445
2833
|
let t12;
|
|
2446
|
-
if ($[
|
|
2447
|
-
t12 =
|
|
2448
|
-
$[
|
|
2449
|
-
$[
|
|
2450
|
-
$[28] = handleApprovalChange;
|
|
2451
|
-
$[29] = onApprovalChange;
|
|
2452
|
-
$[30] = profile.toolApprovals;
|
|
2453
|
-
$[31] = t12;
|
|
2834
|
+
if ($[27] !== t11) {
|
|
2835
|
+
t12 = /* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { className: "mr-4", tooltip: t11 });
|
|
2836
|
+
$[27] = t11;
|
|
2837
|
+
$[28] = t12;
|
|
2454
2838
|
} else {
|
|
2455
|
-
t12 = $[
|
|
2839
|
+
t12 = $[28];
|
|
2456
2840
|
}
|
|
2457
2841
|
let t13;
|
|
2458
|
-
if ($[32] !==
|
|
2459
|
-
t13 = /* @__PURE__ */ jsxRuntimeExports.
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
]
|
|
2464
|
-
$[
|
|
2465
|
-
$[
|
|
2466
|
-
$[34] = t9;
|
|
2842
|
+
if ($[29] !== fullToolId || $[30] !== handleRecoveryModeChange || $[31] !== onRecoveryModeChange || $[32] !== profile.toolRecoveryModes || $[33] !== tool.name || $[34] !== tool.recoveryMode) {
|
|
2843
|
+
t13 = onRecoveryModeChange && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mr-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolRecoverySelect, { value: profile.toolRecoveryModes?.[fullToolId] ?? tool.recoveryMode ?? DEFAULT_TOOL_RECOVERY_MODES[fullToolId] ?? DEFAULT_TOOL_RECOVERY_MODES[tool.name] ?? ToolRecoveryMode.Forget, onChange: handleRecoveryModeChange }) });
|
|
2844
|
+
$[29] = fullToolId;
|
|
2845
|
+
$[30] = handleRecoveryModeChange;
|
|
2846
|
+
$[31] = onRecoveryModeChange;
|
|
2847
|
+
$[32] = profile.toolRecoveryModes;
|
|
2848
|
+
$[33] = tool.name;
|
|
2849
|
+
$[34] = tool.recoveryMode;
|
|
2467
2850
|
$[35] = t13;
|
|
2468
2851
|
} else {
|
|
2469
2852
|
t13 = $[35];
|
|
2470
2853
|
}
|
|
2471
2854
|
let t14;
|
|
2472
|
-
if ($[36] !==
|
|
2473
|
-
t14 =
|
|
2474
|
-
$[36] =
|
|
2475
|
-
$[37] =
|
|
2855
|
+
if ($[36] !== approvalOptions || $[37] !== currentApproval || $[38] !== handleApprovalChange || $[39] !== onApprovalChange || $[40] !== profile.toolApprovals) {
|
|
2856
|
+
t14 = onApprovalChange && profile.toolApprovals && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Select, { options: approvalOptions, size: "sm", value: currentApproval, onChange: handleApprovalChange }) });
|
|
2857
|
+
$[36] = approvalOptions;
|
|
2858
|
+
$[37] = currentApproval;
|
|
2859
|
+
$[38] = handleApprovalChange;
|
|
2860
|
+
$[39] = onApprovalChange;
|
|
2861
|
+
$[40] = profile.toolApprovals;
|
|
2862
|
+
$[41] = t14;
|
|
2476
2863
|
} else {
|
|
2477
|
-
t14 = $[
|
|
2864
|
+
t14 = $[41];
|
|
2478
2865
|
}
|
|
2479
2866
|
let t15;
|
|
2480
|
-
if ($[
|
|
2481
|
-
t15 = /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2867
|
+
if ($[42] !== t10 || $[43] !== t12 || $[44] !== t13 || $[45] !== t14) {
|
|
2868
|
+
t15 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center", children: [
|
|
2869
|
+
t10,
|
|
2870
|
+
t12,
|
|
2482
2871
|
t13,
|
|
2483
2872
|
t14
|
|
2484
2873
|
] });
|
|
2485
|
-
$[
|
|
2486
|
-
$[
|
|
2487
|
-
$[
|
|
2874
|
+
$[42] = t10;
|
|
2875
|
+
$[43] = t12;
|
|
2876
|
+
$[44] = t13;
|
|
2877
|
+
$[45] = t14;
|
|
2878
|
+
$[46] = t15;
|
|
2488
2879
|
} else {
|
|
2489
|
-
t15 = $[
|
|
2880
|
+
t15 = $[46];
|
|
2490
2881
|
}
|
|
2491
|
-
|
|
2882
|
+
let t16;
|
|
2883
|
+
if ($[47] !== renderToolSettings) {
|
|
2884
|
+
t16 = renderToolSettings && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "pb-4", children: renderToolSettings() });
|
|
2885
|
+
$[47] = renderToolSettings;
|
|
2886
|
+
$[48] = t16;
|
|
2887
|
+
} else {
|
|
2888
|
+
t16 = $[48];
|
|
2889
|
+
}
|
|
2890
|
+
let t17;
|
|
2891
|
+
if ($[49] !== t15 || $[50] !== t16) {
|
|
2892
|
+
t17 = /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
2893
|
+
t15,
|
|
2894
|
+
t16
|
|
2895
|
+
] });
|
|
2896
|
+
$[49] = t15;
|
|
2897
|
+
$[50] = t16;
|
|
2898
|
+
$[51] = t17;
|
|
2899
|
+
} else {
|
|
2900
|
+
t17 = $[51];
|
|
2901
|
+
}
|
|
2902
|
+
return t17;
|
|
2492
2903
|
};
|
|
2493
2904
|
const BashToolItem = (t0) => {
|
|
2494
|
-
const $ = compilerRuntimeExports.c(
|
|
2905
|
+
const $ = compilerRuntimeExports.c(13);
|
|
2495
2906
|
const {
|
|
2496
2907
|
tool,
|
|
2497
2908
|
profile,
|
|
2498
2909
|
onApprovalChange,
|
|
2910
|
+
onRecoveryModeChange,
|
|
2499
2911
|
onProfileChange
|
|
2500
2912
|
} = t0;
|
|
2501
2913
|
const {
|
|
@@ -2550,20 +2962,21 @@ const BashToolItem = (t0) => {
|
|
|
2550
2962
|
}
|
|
2551
2963
|
const renderToolSettings = t1;
|
|
2552
2964
|
let t2;
|
|
2553
|
-
if ($[7] !== onApprovalChange || $[8] !==
|
|
2554
|
-
t2 = /* @__PURE__ */ jsxRuntimeExports.jsx(GenericToolItem, { tool, profile, onApprovalChange, renderToolSettings });
|
|
2965
|
+
if ($[7] !== onApprovalChange || $[8] !== onRecoveryModeChange || $[9] !== profile || $[10] !== renderToolSettings || $[11] !== tool) {
|
|
2966
|
+
t2 = /* @__PURE__ */ jsxRuntimeExports.jsx(GenericToolItem, { tool, profile, onApprovalChange, onRecoveryModeChange, renderToolSettings });
|
|
2555
2967
|
$[7] = onApprovalChange;
|
|
2556
|
-
$[8] =
|
|
2557
|
-
$[9] =
|
|
2558
|
-
$[10] =
|
|
2559
|
-
$[11] =
|
|
2968
|
+
$[8] = onRecoveryModeChange;
|
|
2969
|
+
$[9] = profile;
|
|
2970
|
+
$[10] = renderToolSettings;
|
|
2971
|
+
$[11] = tool;
|
|
2972
|
+
$[12] = t2;
|
|
2560
2973
|
} else {
|
|
2561
|
-
t2 = $[
|
|
2974
|
+
t2 = $[12];
|
|
2562
2975
|
}
|
|
2563
2976
|
return t2;
|
|
2564
2977
|
};
|
|
2565
2978
|
const GenericToolGroupItem = (t0) => {
|
|
2566
|
-
const $ = compilerRuntimeExports.c(
|
|
2979
|
+
const $ = compilerRuntimeExports.c(23);
|
|
2567
2980
|
const {
|
|
2568
2981
|
name,
|
|
2569
2982
|
displayName,
|
|
@@ -2578,8 +2991,23 @@ const GenericToolGroupItem = (t0) => {
|
|
|
2578
2991
|
t
|
|
2579
2992
|
} = useTranslation();
|
|
2580
2993
|
let t1;
|
|
2581
|
-
if ($[0] !==
|
|
2582
|
-
t1 = () => {
|
|
2994
|
+
if ($[0] !== onProfileChange || $[1] !== profile) {
|
|
2995
|
+
t1 = (toolId, mode) => {
|
|
2996
|
+
onProfileChange("toolRecoveryModes", {
|
|
2997
|
+
...profile.toolRecoveryModes,
|
|
2998
|
+
[toolId]: mode
|
|
2999
|
+
});
|
|
3000
|
+
};
|
|
3001
|
+
$[0] = onProfileChange;
|
|
3002
|
+
$[1] = profile;
|
|
3003
|
+
$[2] = t1;
|
|
3004
|
+
} else {
|
|
3005
|
+
t1 = $[2];
|
|
3006
|
+
}
|
|
3007
|
+
const handleRecoveryModeChange = t1;
|
|
3008
|
+
let t2;
|
|
3009
|
+
if ($[3] !== displayName || $[4] !== enabled || $[5] !== name || $[6] !== onEnabledChange || $[7] !== profile || $[8] !== t || $[9] !== tools2) {
|
|
3010
|
+
t2 = () => {
|
|
2583
3011
|
const enabledCount = tools2.length - tools2.filter((tool) => profile.toolApprovals[`${name}${TOOL_GROUP_NAME_SEPARATOR}${tool.name}`] === ToolApprovalState.Never).length;
|
|
2584
3012
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-between w-full", children: [
|
|
2585
3013
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center", children: [
|
|
@@ -2592,58 +3020,64 @@ const GenericToolGroupItem = (t0) => {
|
|
|
2592
3020
|
}) }) })
|
|
2593
3021
|
] });
|
|
2594
3022
|
};
|
|
2595
|
-
$[
|
|
2596
|
-
$[
|
|
2597
|
-
$[
|
|
2598
|
-
$[
|
|
2599
|
-
$[
|
|
2600
|
-
$[
|
|
2601
|
-
$[
|
|
2602
|
-
$[
|
|
3023
|
+
$[3] = displayName;
|
|
3024
|
+
$[4] = enabled;
|
|
3025
|
+
$[5] = name;
|
|
3026
|
+
$[6] = onEnabledChange;
|
|
3027
|
+
$[7] = profile;
|
|
3028
|
+
$[8] = t;
|
|
3029
|
+
$[9] = tools2;
|
|
3030
|
+
$[10] = t2;
|
|
2603
3031
|
} else {
|
|
2604
|
-
|
|
3032
|
+
t2 = $[10];
|
|
2605
3033
|
}
|
|
2606
|
-
const renderTitle =
|
|
2607
|
-
let
|
|
2608
|
-
if ($[
|
|
2609
|
-
|
|
2610
|
-
$[
|
|
2611
|
-
$[
|
|
3034
|
+
const renderTitle = t2;
|
|
3035
|
+
let t3;
|
|
3036
|
+
if ($[11] !== renderTitle) {
|
|
3037
|
+
t3 = renderTitle();
|
|
3038
|
+
$[11] = renderTitle;
|
|
3039
|
+
$[12] = t3;
|
|
2612
3040
|
} else {
|
|
2613
|
-
|
|
3041
|
+
t3 = $[12];
|
|
2614
3042
|
}
|
|
2615
|
-
let
|
|
2616
|
-
if ($[
|
|
2617
|
-
|
|
3043
|
+
let t4;
|
|
3044
|
+
if ($[13] !== handleRecoveryModeChange || $[14] !== onApprovalChange || $[15] !== onProfileChange || $[16] !== profile || $[17] !== t || $[18] !== tools2) {
|
|
3045
|
+
t4 = 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: [
|
|
2618
3046
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-text-muted-light ml-1", children: t("mcp.tools") }),
|
|
2619
3047
|
tools2.map((tool_0) => {
|
|
2620
3048
|
if (tool_0.name === POWER_TOOL_BASH) {
|
|
2621
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(BashToolItem, { tool: tool_0, profile, onApprovalChange, onProfileChange }, tool_0.name);
|
|
3049
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(BashToolItem, { tool: tool_0, profile, onApprovalChange, onRecoveryModeChange: handleRecoveryModeChange, onProfileChange }, tool_0.name);
|
|
2622
3050
|
}
|
|
2623
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(GenericToolItem, { tool: tool_0, profile, onApprovalChange }, tool_0.name);
|
|
3051
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(GenericToolItem, { tool: tool_0, profile, onApprovalChange, onRecoveryModeChange: handleRecoveryModeChange }, tool_0.name);
|
|
2624
3052
|
})
|
|
2625
3053
|
] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-text-muted p-4", children: t("mcp.noToolsFound") });
|
|
2626
|
-
$[
|
|
2627
|
-
$[
|
|
2628
|
-
$[
|
|
2629
|
-
$[
|
|
2630
|
-
$[
|
|
2631
|
-
$[
|
|
3054
|
+
$[13] = handleRecoveryModeChange;
|
|
3055
|
+
$[14] = onApprovalChange;
|
|
3056
|
+
$[15] = onProfileChange;
|
|
3057
|
+
$[16] = profile;
|
|
3058
|
+
$[17] = t;
|
|
3059
|
+
$[18] = tools2;
|
|
3060
|
+
$[19] = t4;
|
|
2632
3061
|
} else {
|
|
2633
|
-
|
|
3062
|
+
t4 = $[19];
|
|
2634
3063
|
}
|
|
2635
|
-
let
|
|
2636
|
-
if ($[
|
|
2637
|
-
|
|
2638
|
-
$[
|
|
2639
|
-
$[
|
|
2640
|
-
$[
|
|
3064
|
+
let t5;
|
|
3065
|
+
if ($[20] !== t3 || $[21] !== t4) {
|
|
3066
|
+
t5 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "border border-border-default-dark rounded mb-1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Accordion, { title: t3, buttonClassName: "px-2", chevronPosition: "right", children: t4 }) });
|
|
3067
|
+
$[20] = t3;
|
|
3068
|
+
$[21] = t4;
|
|
3069
|
+
$[22] = t5;
|
|
2641
3070
|
} else {
|
|
2642
|
-
|
|
3071
|
+
t5 = $[22];
|
|
2643
3072
|
}
|
|
2644
|
-
return
|
|
3073
|
+
return t5;
|
|
2645
3074
|
};
|
|
2646
3075
|
const tools = {
|
|
3076
|
+
[SUBAGENTS_TOOL_GROUP_NAME]: [{
|
|
3077
|
+
groupName: SUBAGENTS_TOOL_GROUP_NAME,
|
|
3078
|
+
name: SUBAGENTS_TOOL_RUN_TASK,
|
|
3079
|
+
description: POWER_TOOL_DESCRIPTIONS[SUBAGENTS_TOOL_RUN_TASK]
|
|
3080
|
+
}],
|
|
2647
3081
|
[AIDER_TOOL_GROUP_NAME]: [{
|
|
2648
3082
|
groupName: AIDER_TOOL_GROUP_NAME,
|
|
2649
3083
|
name: AIDER_TOOL_GET_CONTEXT_FILES,
|
|
@@ -2764,7 +3198,7 @@ const tools = {
|
|
|
2764
3198
|
}]
|
|
2765
3199
|
};
|
|
2766
3200
|
const ProfileToolsSection = (t0) => {
|
|
2767
|
-
const $ = compilerRuntimeExports.c(
|
|
3201
|
+
const $ = compilerRuntimeExports.c(55);
|
|
2768
3202
|
const {
|
|
2769
3203
|
profile,
|
|
2770
3204
|
mcpServers,
|
|
@@ -2778,33 +3212,48 @@ const ProfileToolsSection = (t0) => {
|
|
|
2778
3212
|
t
|
|
2779
3213
|
} = useTranslation();
|
|
2780
3214
|
let t1;
|
|
2781
|
-
if ($[0] !==
|
|
2782
|
-
t1 =
|
|
2783
|
-
|
|
2784
|
-
|
|
3215
|
+
if ($[0] !== onSettingChange || $[1] !== profile) {
|
|
3216
|
+
t1 = (toolId, recoveryMode) => {
|
|
3217
|
+
onSettingChange("toolRecoveryModes", {
|
|
3218
|
+
...profile.toolRecoveryModes,
|
|
3219
|
+
[toolId]: recoveryMode
|
|
3220
|
+
});
|
|
3221
|
+
};
|
|
3222
|
+
$[0] = onSettingChange;
|
|
3223
|
+
$[1] = profile;
|
|
3224
|
+
$[2] = t1;
|
|
2785
3225
|
} else {
|
|
2786
|
-
t1 = $[
|
|
3226
|
+
t1 = $[2];
|
|
2787
3227
|
}
|
|
3228
|
+
const handleRecoveryModeChange = t1;
|
|
2788
3229
|
let t2;
|
|
2789
|
-
if ($[
|
|
2790
|
-
t2 =
|
|
2791
|
-
$[
|
|
2792
|
-
$[
|
|
3230
|
+
if ($[3] !== t) {
|
|
3231
|
+
t2 = t("settings.agent.genericTools");
|
|
3232
|
+
$[3] = t;
|
|
3233
|
+
$[4] = t2;
|
|
2793
3234
|
} else {
|
|
2794
|
-
t2 = $[
|
|
3235
|
+
t2 = $[4];
|
|
2795
3236
|
}
|
|
2796
3237
|
let t3;
|
|
2797
|
-
if ($[
|
|
2798
|
-
t3 =
|
|
2799
|
-
$[
|
|
3238
|
+
if ($[5] !== t2) {
|
|
3239
|
+
t3 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-sm font-medium text-text-primary mb-3", children: t2 });
|
|
3240
|
+
$[5] = t2;
|
|
3241
|
+
$[6] = t3;
|
|
2800
3242
|
} else {
|
|
2801
|
-
t3 = $[
|
|
3243
|
+
t3 = $[6];
|
|
2802
3244
|
}
|
|
2803
3245
|
let t4;
|
|
2804
|
-
if ($[
|
|
2805
|
-
t4 =
|
|
2806
|
-
|
|
2807
|
-
|
|
3246
|
+
if ($[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
3247
|
+
t4 = Object.entries(tools);
|
|
3248
|
+
$[7] = t4;
|
|
3249
|
+
} else {
|
|
3250
|
+
t4 = $[7];
|
|
3251
|
+
}
|
|
3252
|
+
let t5;
|
|
3253
|
+
if ($[8] !== onApprovalChange || $[9] !== onSettingChange || $[10] !== profile) {
|
|
3254
|
+
t5 = t4.map((t62) => {
|
|
3255
|
+
const [groupName, groupTools] = t62;
|
|
3256
|
+
const isGroupEnabled = profile.usePowerTools && groupName === POWER_TOOL_GROUP_NAME || profile.useAiderTools && groupName === AIDER_TOOL_GROUP_NAME || profile.useTodoTools && groupName === TODO_TOOL_GROUP_NAME || profile.useTaskTools && groupName === TASKS_TOOL_GROUP_NAME || profile.useMemoryTools && groupName === MEMORY_TOOL_GROUP_NAME || profile.useSkillsTools && groupName === SKILLS_TOOL_GROUP_NAME || profile.useSubagents && groupName === SUBAGENTS_TOOL_GROUP_NAME;
|
|
2808
3257
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(GenericToolGroupItem, { name: groupName, tools: groupTools, profile, onApprovalChange, onProfileChange: onSettingChange, enabled: isGroupEnabled, onEnabledChange: (enabled) => {
|
|
2809
3258
|
if (groupName === POWER_TOOL_GROUP_NAME) {
|
|
2810
3259
|
onSettingChange("usePowerTools", enabled);
|
|
@@ -2823,6 +3272,10 @@ const ProfileToolsSection = (t0) => {
|
|
|
2823
3272
|
} else {
|
|
2824
3273
|
if (groupName === SKILLS_TOOL_GROUP_NAME) {
|
|
2825
3274
|
onSettingChange("useSkillsTools", enabled);
|
|
3275
|
+
} else {
|
|
3276
|
+
if (groupName === SUBAGENTS_TOOL_GROUP_NAME) {
|
|
3277
|
+
onSettingChange("useSubagents", enabled);
|
|
3278
|
+
}
|
|
2826
3279
|
}
|
|
2827
3280
|
}
|
|
2828
3281
|
}
|
|
@@ -2831,22 +3284,23 @@ const ProfileToolsSection = (t0) => {
|
|
|
2831
3284
|
}
|
|
2832
3285
|
} }) }, groupName);
|
|
2833
3286
|
});
|
|
2834
|
-
$[
|
|
2835
|
-
$[
|
|
2836
|
-
$[
|
|
2837
|
-
$[
|
|
3287
|
+
$[8] = onApprovalChange;
|
|
3288
|
+
$[9] = onSettingChange;
|
|
3289
|
+
$[10] = profile;
|
|
3290
|
+
$[11] = t5;
|
|
2838
3291
|
} else {
|
|
2839
|
-
|
|
3292
|
+
t5 = $[11];
|
|
2840
3293
|
}
|
|
2841
|
-
let
|
|
2842
|
-
if ($[
|
|
2843
|
-
let
|
|
2844
|
-
if ($[
|
|
2845
|
-
|
|
3294
|
+
let t6;
|
|
3295
|
+
if ($[12] !== extensionToolsInfo || $[13] !== onApprovalChange || $[14] !== onSettingChange || $[15] !== profile) {
|
|
3296
|
+
let t72;
|
|
3297
|
+
if ($[17] !== onApprovalChange || $[18] !== onSettingChange || $[19] !== profile) {
|
|
3298
|
+
t72 = (extInfo) => {
|
|
2846
3299
|
const extTools = extInfo.tools.map((tool) => ({
|
|
2847
3300
|
groupName: extInfo.extensionId,
|
|
2848
3301
|
name: tool.name,
|
|
2849
|
-
description: tool.description
|
|
3302
|
+
description: tool.description,
|
|
3303
|
+
recoveryMode: tool.recoveryMode
|
|
2850
3304
|
}));
|
|
2851
3305
|
const isExtEnabled = !(profile.disabledExtensionTools ?? []).includes(extInfo.extensionId);
|
|
2852
3306
|
const handleExtEnabledChange = (enabled_0) => {
|
|
@@ -2856,139 +3310,140 @@ const ProfileToolsSection = (t0) => {
|
|
|
2856
3310
|
};
|
|
2857
3311
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(GenericToolGroupItem, { name: extInfo.extensionId, displayName: extInfo.extensionName, tools: extTools, profile, onApprovalChange, onProfileChange: onSettingChange, enabled: isExtEnabled, onEnabledChange: handleExtEnabledChange }) }, extInfo.extensionId);
|
|
2858
3312
|
};
|
|
2859
|
-
$[
|
|
2860
|
-
$[
|
|
2861
|
-
$[
|
|
2862
|
-
$[
|
|
3313
|
+
$[17] = onApprovalChange;
|
|
3314
|
+
$[18] = onSettingChange;
|
|
3315
|
+
$[19] = profile;
|
|
3316
|
+
$[20] = t72;
|
|
2863
3317
|
} else {
|
|
2864
|
-
|
|
3318
|
+
t72 = $[20];
|
|
2865
3319
|
}
|
|
2866
|
-
|
|
2867
|
-
$[
|
|
2868
|
-
$[
|
|
2869
|
-
$[
|
|
2870
|
-
$[
|
|
2871
|
-
$[
|
|
3320
|
+
t6 = extensionToolsInfo.map(t72);
|
|
3321
|
+
$[12] = extensionToolsInfo;
|
|
3322
|
+
$[13] = onApprovalChange;
|
|
3323
|
+
$[14] = onSettingChange;
|
|
3324
|
+
$[15] = profile;
|
|
3325
|
+
$[16] = t6;
|
|
2872
3326
|
} else {
|
|
2873
|
-
|
|
2874
|
-
}
|
|
2875
|
-
let t6;
|
|
2876
|
-
if ($[18] !== t4 || $[19] !== t5) {
|
|
2877
|
-
t6 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-1", children: [
|
|
2878
|
-
t4,
|
|
2879
|
-
t5
|
|
2880
|
-
] });
|
|
2881
|
-
$[18] = t4;
|
|
2882
|
-
$[19] = t5;
|
|
2883
|
-
$[20] = t6;
|
|
2884
|
-
} else {
|
|
2885
|
-
t6 = $[20];
|
|
3327
|
+
t6 = $[16];
|
|
2886
3328
|
}
|
|
2887
3329
|
let t7;
|
|
2888
|
-
if ($[21] !==
|
|
2889
|
-
t7 =
|
|
2890
|
-
|
|
2891
|
-
|
|
3330
|
+
if ($[21] !== t5 || $[22] !== t6) {
|
|
3331
|
+
t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-1", children: [
|
|
3332
|
+
t5,
|
|
3333
|
+
t6
|
|
3334
|
+
] });
|
|
3335
|
+
$[21] = t5;
|
|
3336
|
+
$[22] = t6;
|
|
2892
3337
|
$[23] = t7;
|
|
2893
3338
|
} else {
|
|
2894
3339
|
t7 = $[23];
|
|
2895
3340
|
}
|
|
2896
3341
|
let t8;
|
|
2897
|
-
if ($[24] !==
|
|
2898
|
-
t8 = /* @__PURE__ */ jsxRuntimeExports.
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
] });
|
|
2903
|
-
$[24] = t2;
|
|
2904
|
-
$[25] = t6;
|
|
2905
|
-
$[26] = t7;
|
|
2906
|
-
$[27] = t8;
|
|
3342
|
+
if ($[24] !== extensionToolsInfo.length || $[25] !== t) {
|
|
3343
|
+
t8 = Object.keys(tools).length === 0 && extensionToolsInfo.length === 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-text-muted-light my-4 text-center", children: t("settings.agent.noGenericToolsConfigured") });
|
|
3344
|
+
$[24] = extensionToolsInfo.length;
|
|
3345
|
+
$[25] = t;
|
|
3346
|
+
$[26] = t8;
|
|
2907
3347
|
} else {
|
|
2908
|
-
t8 = $[
|
|
3348
|
+
t8 = $[26];
|
|
2909
3349
|
}
|
|
2910
3350
|
let t9;
|
|
2911
|
-
if ($[28] !==
|
|
2912
|
-
t9 =
|
|
2913
|
-
|
|
2914
|
-
|
|
3351
|
+
if ($[27] !== t3 || $[28] !== t7 || $[29] !== t8) {
|
|
3352
|
+
t9 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
3353
|
+
t3,
|
|
3354
|
+
t7,
|
|
3355
|
+
t8
|
|
3356
|
+
] });
|
|
3357
|
+
$[27] = t3;
|
|
3358
|
+
$[28] = t7;
|
|
3359
|
+
$[29] = t8;
|
|
3360
|
+
$[30] = t9;
|
|
2915
3361
|
} else {
|
|
2916
|
-
t9 = $[
|
|
3362
|
+
t9 = $[30];
|
|
2917
3363
|
}
|
|
2918
3364
|
let t10;
|
|
2919
|
-
if ($[
|
|
2920
|
-
t10 =
|
|
2921
|
-
$[
|
|
2922
|
-
$[
|
|
3365
|
+
if ($[31] !== t) {
|
|
3366
|
+
t10 = t("settings.agent.mcpServers");
|
|
3367
|
+
$[31] = t;
|
|
3368
|
+
$[32] = t10;
|
|
2923
3369
|
} else {
|
|
2924
|
-
t10 = $[
|
|
3370
|
+
t10 = $[32];
|
|
2925
3371
|
}
|
|
2926
3372
|
let t11;
|
|
2927
|
-
if ($[
|
|
2928
|
-
t11 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(McpServerItem, { serverName, config: serverConfig, projectDir: profile.projectDir, toolApprovals: profile.toolApprovals || {}, onApprovalChange, enabled: isServerEnabled, onEnabledChange: (checked) => onToggleServerEnabled(serverName, checked) }) }, serverName);
|
|
2932
|
-
}) });
|
|
2933
|
-
$[32] = mcpServers;
|
|
2934
|
-
$[33] = onApprovalChange;
|
|
2935
|
-
$[34] = onToggleServerEnabled;
|
|
2936
|
-
$[35] = profile;
|
|
2937
|
-
$[36] = t11;
|
|
3373
|
+
if ($[33] !== t10) {
|
|
3374
|
+
t11 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-sm font-medium text-text-primary mb-3", children: t10 });
|
|
3375
|
+
$[33] = t10;
|
|
3376
|
+
$[34] = t11;
|
|
2938
3377
|
} else {
|
|
2939
|
-
t11 = $[
|
|
3378
|
+
t11 = $[34];
|
|
2940
3379
|
}
|
|
2941
3380
|
let t12;
|
|
2942
|
-
if ($[
|
|
2943
|
-
t12 =
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
3381
|
+
if ($[35] !== handleRecoveryModeChange || $[36] !== mcpServers || $[37] !== onApprovalChange || $[38] !== onToggleServerEnabled || $[39] !== profile) {
|
|
3382
|
+
t12 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-1", children: Object.entries(mcpServers).map((t132) => {
|
|
3383
|
+
const [serverName, serverConfig] = t132;
|
|
3384
|
+
const isServerEnabled = (profile.enabledServers || []).includes(serverName);
|
|
3385
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(McpServerItem, { serverName, config: serverConfig, projectDir: profile.projectDir, toolApprovals: profile.toolApprovals || {}, toolRecoveryModes: profile.toolRecoveryModes, onRecoveryModeChange: handleRecoveryModeChange, onApprovalChange, enabled: isServerEnabled, onEnabledChange: (checked) => onToggleServerEnabled(serverName, checked) }) }, serverName);
|
|
3386
|
+
}) });
|
|
3387
|
+
$[35] = handleRecoveryModeChange;
|
|
3388
|
+
$[36] = mcpServers;
|
|
3389
|
+
$[37] = onApprovalChange;
|
|
3390
|
+
$[38] = onToggleServerEnabled;
|
|
3391
|
+
$[39] = profile;
|
|
3392
|
+
$[40] = t12;
|
|
2947
3393
|
} else {
|
|
2948
|
-
t12 = $[
|
|
3394
|
+
t12 = $[40];
|
|
2949
3395
|
}
|
|
2950
3396
|
let t13;
|
|
2951
|
-
if ($[
|
|
2952
|
-
t13 =
|
|
3397
|
+
if ($[41] !== mcpServers || $[42] !== t) {
|
|
3398
|
+
t13 = Object.keys(mcpServers).length === 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-text-muted-light my-4 text-center", children: t("settings.agent.noServersConfigured") });
|
|
3399
|
+
$[41] = mcpServers;
|
|
3400
|
+
$[42] = t;
|
|
3401
|
+
$[43] = t13;
|
|
3402
|
+
} else {
|
|
3403
|
+
t13 = $[43];
|
|
3404
|
+
}
|
|
3405
|
+
let t14;
|
|
3406
|
+
if ($[44] !== onOpenMcpServers || $[45] !== t) {
|
|
3407
|
+
t14 = onOpenMcpServers && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-center mt-4", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { variant: "outline", size: "xs", onClick: onOpenMcpServers, children: [
|
|
2953
3408
|
/* @__PURE__ */ jsxRuntimeExports.jsx(FaPlug, { className: "w-3.5 h-3.5 mr-2" }),
|
|
2954
3409
|
" ",
|
|
2955
3410
|
t("settings.agent.configureMcpServers")
|
|
2956
3411
|
] }) });
|
|
2957
|
-
$[
|
|
2958
|
-
$[
|
|
2959
|
-
$[
|
|
3412
|
+
$[44] = onOpenMcpServers;
|
|
3413
|
+
$[45] = t;
|
|
3414
|
+
$[46] = t14;
|
|
2960
3415
|
} else {
|
|
2961
|
-
|
|
3416
|
+
t14 = $[46];
|
|
2962
3417
|
}
|
|
2963
|
-
let
|
|
2964
|
-
if ($[
|
|
2965
|
-
|
|
2966
|
-
t10,
|
|
3418
|
+
let t15;
|
|
3419
|
+
if ($[47] !== t11 || $[48] !== t12 || $[49] !== t13 || $[50] !== t14) {
|
|
3420
|
+
t15 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "border-t border-border-default-dark pt-4", children: [
|
|
2967
3421
|
t11,
|
|
2968
3422
|
t12,
|
|
2969
|
-
t13
|
|
3423
|
+
t13,
|
|
3424
|
+
t14
|
|
2970
3425
|
] });
|
|
2971
|
-
$[
|
|
2972
|
-
$[
|
|
2973
|
-
$[
|
|
2974
|
-
$[
|
|
2975
|
-
$[
|
|
3426
|
+
$[47] = t11;
|
|
3427
|
+
$[48] = t12;
|
|
3428
|
+
$[49] = t13;
|
|
3429
|
+
$[50] = t14;
|
|
3430
|
+
$[51] = t15;
|
|
2976
3431
|
} else {
|
|
2977
|
-
|
|
3432
|
+
t15 = $[51];
|
|
2978
3433
|
}
|
|
2979
|
-
let
|
|
2980
|
-
if ($[
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
3434
|
+
let t16;
|
|
3435
|
+
if ($[52] !== t15 || $[53] !== t9) {
|
|
3436
|
+
t16 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-6", children: [
|
|
3437
|
+
t9,
|
|
3438
|
+
t15
|
|
2984
3439
|
] });
|
|
2985
|
-
$[
|
|
2986
|
-
$[
|
|
2987
|
-
$[
|
|
3440
|
+
$[52] = t15;
|
|
3441
|
+
$[53] = t9;
|
|
3442
|
+
$[54] = t16;
|
|
2988
3443
|
} else {
|
|
2989
|
-
|
|
3444
|
+
t16 = $[54];
|
|
2990
3445
|
}
|
|
2991
|
-
return
|
|
3446
|
+
return t16;
|
|
2992
3447
|
};
|
|
2993
3448
|
var RGB_MAX = 255;
|
|
2994
3449
|
var SV_MAX = 100;
|