@datalayer/agent-runtimes 1.6.97 → 1.6.98
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/dist-embed/chunks/{AgentDetails-B5csrqWi.js → AgentDetails-CqMfY8zN.js} +1 -1
- package/dist-embed/chunks/{AgentDetailsDialog-gGnV2mTY.js → AgentDetailsDialog-lxnKA_dF.js} +1 -1
- package/dist-embed/chunks/{CellSidebarExtension-B4QBsTRy.js → CellSidebarExtension-CrdbRLaE.js} +1 -1
- package/dist-embed/chunks/ChatView-B9oVgZ72.js +32 -0
- package/dist-embed/chunks/{CollapsiblePlugin-vjE7wFOu.js → CollapsiblePlugin-CnG1qA1e.js} +1 -1
- package/dist-embed/chunks/{ContextPie-Dqj618Q2.js → ContextPie-DAZz2yzl.js} +1 -1
- package/dist-embed/chunks/{DeckComponent-CSxElvrq.js → DeckComponent-qAMqKLzs.js} +1 -1
- package/dist-embed/chunks/{DeckRenderer-DcyoBlq5.js → DeckRenderer-DQmjQ_vE.js} +2 -2
- package/dist-embed/chunks/{DeckStage-DJJkDWlM.js → DeckStage-LDi6nZOg.js} +2 -2
- package/dist-embed/chunks/{DiagramView-D8385Uvy.js → DiagramView-CpCoC99y.js} +1 -1
- package/dist-embed/chunks/{DocumentView-pHXY2GUy.js → DocumentView-B-lWAJgm.js} +1 -1
- package/dist-embed/chunks/{DrawingStage-CBhXNP2j.js → DrawingStage-DEeTWKLT.js} +1 -1
- package/dist-embed/chunks/{EphemeralDocument-C12bJ2Zi.js → EphemeralDocument-CZNRDs_b.js} +1 -1
- package/dist-embed/chunks/{EphemeralNotebook-DW9uU70P.js → EphemeralNotebook-BDutT9GQ.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawComponent-BvB8s8DF.js → ExcalidrawComponent-CmJy7bb4.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawModal-CLGo6lxD.js → ExcalidrawModal-D_DmAro7.js} +1 -1
- package/dist-embed/chunks/{FormulaBar-IFoQ6yN8.js → FormulaBar-f9U7lupQ.js} +1 -1
- package/dist-embed/chunks/{JupyterLexicalExtension-DhlGUbc0.js → JupyterLexicalExtension-DpGAnn7v.js} +9 -9
- package/dist-embed/chunks/{KernelVariables-COPHuvQe.js → KernelVariables-BIWju6rZ.js} +1 -1
- package/dist-embed/chunks/{LexicalToolRegistry-mRwpy8uR.js → LexicalToolRegistry-BqxU1w4N.js} +1 -1
- package/dist-embed/chunks/{NotebookToolSurfaces-f0K0s6tk.js → NotebookToolSurfaces-CqU9CVCl.js} +1 -1
- package/dist-embed/chunks/{NotebookView-CkgduWGZ.js → NotebookView-CpOBHIut.js} +1 -1
- package/dist-embed/chunks/{Output-BlVb0nsN.js → Output-DLpf2Of9.js} +6 -6
- package/dist-embed/chunks/{SandboxDetailsDialog-BWr3ZHmy.js → SandboxDetailsDialog-yUjpxBdw.js} +1 -1
- package/dist-embed/chunks/{SchemaForm-BYx28f9R.js → SchemaForm-N0hu4z_p.js} +1 -1
- package/dist-embed/chunks/{SheetStage-UDDuD0c-.js → SheetStage-gUVhALxR.js} +1 -1
- package/dist-embed/chunks/{SheetTabs-CRqCh6SH.js → SheetTabs-sx_-jWyq.js} +1 -1
- package/dist-embed/chunks/{SignInIcon-C0lCx6yN.js → SignInIcon-XIbntAUw.js} +1 -1
- package/dist-embed/chunks/{SpreadsheetPreviewView-D3bm2FuW.js → SpreadsheetPreviewView-C9LaI5mp.js} +1 -1
- package/dist-embed/chunks/{SpreadsheetView-C0jqVlH0.js → SpreadsheetView-FfnOGHeU.js} +1 -1
- package/dist-embed/chunks/{WidgetVariableView-CEWGssAP.js → WidgetVariableView-CKcw-pPX.js} +1 -1
- package/dist-embed/chunks/{YouTubePlugin-CwtVeT4X.js → YouTubePlugin-DUDVTb3B.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-JXHACDBz.js → abnfDiagram-VCTEODGH-B0MQRzNo.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-C-5M28HY.js → abnfDiagram-VCTEODGH-BM2pAacI.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-Bwv6WjS-.js → abnfDiagram-VCTEODGH-fcR8gNdJ.js} +1 -1
- package/dist-embed/chunks/{ar-SA-G6X2FPQ2-BM34ImM5.js → ar-SA-G6X2FPQ2-BfVZMCow.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DpujQos2.js → architectureDiagram-5GKGNRK7-CnP0s6uJ.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-KCUb-Mex.js → architectureDiagram-5GKGNRK7-Cpu0tfD1.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-CAgLqF4a.js → architectureDiagram-5GKGNRK7-GZ5981UE.js} +1 -1
- package/dist-embed/chunks/{az-AZ-76LH7QW2-ClbRZkch.js → az-AZ-76LH7QW2-BeD9jzcd.js} +1 -1
- package/dist-embed/chunks/{bg-BG-XCXSNQG7-C9-xTdL3.js → bg-BG-XCXSNQG7-VUraF-a0.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-868be97b-BIKcIMyQ.js → blockDiagram-868be97b-BK7odeOZ.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-6rNTajX4.js → blockDiagram-I7D4REHJ-BMQSOcOL.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-Dk3ubhN6.js → blockDiagram-I7D4REHJ-CZlh2u1A.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-Dg9wRDSP.js → blockDiagram-I7D4REHJ-DiBWN476.js} +1 -1
- package/dist-embed/chunks/{bn-BD-2XOGV67Q-yHaSEyU7.js → bn-BD-2XOGV67Q-DjghL9Ba.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-3f4bdde3-DX31j648.js → c4Diagram-3f4bdde3-CMf0cOcM.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-Blhl5Ivg.js → c4Diagram-7LVT6UL2-BYPUXI1P.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-DotUFrPy.js → c4Diagram-7LVT6UL2-plU3oizm.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-kO868bTp.js → c4Diagram-7LVT6UL2-qmYneJtb.js} +1 -1
- package/dist-embed/chunks/{ca-ES-6MX7JW3Y-Co3yrY97.js → ca-ES-6MX7JW3Y-J6FuV-ut.js} +1 -1
- package/dist-embed/chunks/{celltoolbartracker-DzouPWbZ.js → celltoolbartracker-0MFBHjtq.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-BC8SN0W_.js → chunk-2Q5K7J3B-B5DIEbuU.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-BB4YNChb.js → chunk-2Q5K7J3B-BfCPaxeK.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-COf2HInf.js → chunk-2Q5K7J3B-Cj3jAIkT.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-C3jze8cb.js → chunk-5VM5RSS4-BZGDG9GF.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-DiJWlaEG.js → chunk-5VM5RSS4-DYeTGvz7.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-cXmhCpsu.js → chunk-5VM5RSS4-g3id5Hpo.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-BXMw8fcU.js → chunk-F27PBJKO-DvclqQhV.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-DaAtxZ3_.js → chunk-F27PBJKO-S3msebgW.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-DZJGymAh.js → chunk-F27PBJKO-kACIRR-8.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-CR3C15pD.js → chunk-IMKFNOWR-Ch7v5XHt.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-C4f2Xvwg.js → chunk-IMKFNOWR-DjIARM3y.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-Ct7GddYG.js → chunk-IMKFNOWR-SiS0o9FR.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-9KydF4Cl.js → chunk-JWPE2WC7-BwLKeh91.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-B54sCK-y.js → chunk-JWPE2WC7-CVacxpin.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-D9_2-oUP.js → chunk-JWPE2WC7-M6oulZhu.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-BaMRoQVu.js → chunk-POPQ4Y6H-BCHaCocF.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-BgtIg837.js → chunk-POPQ4Y6H-DacAiEUG.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-Db5GUGhc.js → chunk-POPQ4Y6H-DicNgh7k.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-CeM8qf58.js → chunk-SVP7TREG-3X_ReA6d.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-F4uclbvM.js → chunk-SVP7TREG-COLBrDOd.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-BYkF4CFZ.js → chunk-SVP7TREG-Cit7UeF2.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-D-Wwl7XB.js → chunk-TICWLB2K-C4D-h9t1.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-BFf8Le3M.js → chunk-TICWLB2K-DfGZ1S46.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-BHq2Ystt.js → chunk-TICWLB2K-TaUeWpZb.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-BHMLcU9A.js → chunk-XXDRQBXY-B6fuzLc9.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-BlVD4u-l.js → chunk-XXDRQBXY-Bo_XDdf-.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-DTCYLV17.js → chunk-XXDRQBXY-Bz5lFaJG.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-B1H5YR5N.js → classDiagram-ZZMXUADV-DDZ5U8jk.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-C69Ng482.js → classDiagram-ZZMXUADV-DpQTfwXC.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-fah4qQBw.js → classDiagram-ZZMXUADV-orzU8a0Z.js} +1 -1
- package/dist-embed/chunks/{classDiagram-f62afe4f-BpmDNOf_.js → classDiagram-f62afe4f-CNI3U8Mt.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-604399ef-DXSVTZaU.js → classDiagram-v2-604399ef-CLQHn0oB.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-B1H5YR5N.js → classDiagram-v2-VYDZK3BY-DDZ5U8jk.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-C69Ng482.js → classDiagram-v2-VYDZK3BY-DpQTfwXC.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-fah4qQBw.js → classDiagram-v2-VYDZK3BY-orzU8a0Z.js} +1 -1
- package/dist-embed/chunks/{code-block-IT6T5CEO-BzV6dOeo.js → code-block-IT6T5CEO-DjmCcA6a.js} +1 -1
- package/dist-embed/chunks/{component-DQ0vRpmL.js → component-B62XEB_I.js} +1 -1
- package/dist-embed/chunks/{core-YLcIWC_X.js → core-CsMGn5rr.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-DUgmse9Z.js → cose-bilkent-JH36ORCC-B_IELYPJ.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-CFC6-4OL.js → cose-bilkent-JH36ORCC-CE9lt3OO.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-B13OR0_2.js → cose-bilkent-JH36ORCC-CJiHk5L4.js} +1 -1
- package/dist-embed/chunks/{createText-aed3d8b3-Cft4GZJy.js → createText-aed3d8b3-DTAS6DfQ.js} +1 -1
- package/dist-embed/chunks/{cs-CZ-2BRQDIVT-BXDHJOy0.js → cs-CZ-2BRQDIVT-BJRVSuxc.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-Baap8yDb.js → cynefinDiagram-5FMLGOSQ-B2073FgP.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-B7_plLD6.js → cynefinDiagram-5FMLGOSQ-CyHkNAUC.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-kHl-Cu_e.js → cynefinDiagram-5FMLGOSQ-HsJLw9Ow.js} +1 -1
- package/dist-embed/chunks/{da-DK-5WZEPLOC-Bv_vMRQS.js → da-DK-5WZEPLOC-DmvpQmCz.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-l25rB3RT.js → dagre-GXQ25YYZ-BkxHUUfX.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-DLkLgXkX.js → dagre-GXQ25YYZ-DzmuuJ_r.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-De_KrzkJ.js → dagre-GXQ25YYZ-R_lzFrVl.js} +1 -1
- package/dist-embed/chunks/{de-DE-XR44H4JA-Bko2COU8.js → de-DE-XR44H4JA-aRPZsjh8.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-uPenisEP.js → diagram-S7CK7UJ4-1KpTTJPB.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-uDpubVD_.js → diagram-S7CK7UJ4-BANHWGqU.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-BiZ-ex3Q.js → diagram-S7CK7UJ4-DsEYZOqE.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-FzXo7K78.js → diagram-UQ7AKVKN-B-SbMZjY.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-BzBp2O2s.js → diagram-UQ7AKVKN-BadWwEqS.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-DbPeWUnW.js → diagram-UQ7AKVKN-E5q5_JWL.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-DLDYySj7.js → diagram-VSXAHHWV-B-ZTas3h.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-CwicQwvc.js → diagram-VSXAHHWV-BsdL7E17.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-BcQHUbuO.js → diagram-VSXAHHWV-D_7x_Ody.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-Ft45yb-L.js → diagram-VX7I27RA-BGyPrgPC.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-BscrabRG.js → diagram-VX7I27RA-CNSwTKHP.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-BSiMudGz.js → diagram-VX7I27RA-C_1S9aIm.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-C5mNapBw.js → diagram-Z3DM3KII-B5t8N8ZT.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-B86lp0dM.js → diagram-Z3DM3KII-C2gtrmQ9.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-Y-lVwha7.js → diagram-Z3DM3KII-yVDxeysg.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-DuGxLmkd.js → ebnfDiagram-PWID7BFC-BgfF1EZn.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-COn39ksr.js → ebnfDiagram-PWID7BFC-C7dUKFPT.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-Tzta9jsh.js → ebnfDiagram-PWID7BFC-LCa7gn5F.js} +1 -1
- package/dist-embed/chunks/{edges-b2856ca0-B0fzIYH0.js → edges-b2856ca0-J2ON9YC7.js} +1 -1
- package/dist-embed/chunks/{el-GR-BZB4AONW-CGifhWk7.js → el-GR-BZB4AONW-BBpO4fOL.js} +1 -1
- package/dist-embed/chunks/{erDiagram-5d81789a-Bs2AlkA7.js → erDiagram-5d81789a-BM5rHLzM.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-gNk7K_1a.js → erDiagram-RLTQ6QDP-BguBlD55.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-dY0zbwz5.js → erDiagram-RLTQ6QDP-C35O3IA_.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-69KYQDkg.js → erDiagram-RLTQ6QDP-CX1vL7D6.js} +1 -1
- package/dist-embed/chunks/{es-ES-U4NZUMDT-CG3eLB2T.js → es-ES-U4NZUMDT-CyrQHwAL.js} +1 -1
- package/dist-embed/chunks/{esm-jxjWs5qw.js → esm-BaC41XaP.js} +1 -1
- package/dist-embed/chunks/{esm-DXOCHrTC.js → esm-DNtiNaWu.js} +1 -1
- package/dist-embed/chunks/{eu-ES-A7QVB2H4-DzPN5Wvi.js → eu-ES-A7QVB2H4-BJG9zHud.js} +1 -1
- package/dist-embed/chunks/{fa-IR-HGAKTJCU-DFiN2zZy.js → fa-IR-HGAKTJCU-BOnLqEaQ.js} +1 -1
- package/dist-embed/chunks/{fi-FI-Z5N7JZ37-DoWgfc_V.js → fi-FI-Z5N7JZ37-DdQTDw9O.js} +1 -1
- package/dist-embed/chunks/{flowDb-185abca5-CX3GWJVI.js → flowDb-185abca5-CLfj2Qv7.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-1629c991-CLqeIp_x.js → flowDiagram-1629c991-DjfIfqQ2.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-BHSFqLFz.js → flowDiagram-HODETNUW-CmpkqsRJ.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-CJEJhhfg.js → flowDiagram-HODETNUW-Cuv1YfzK.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-Du69fYws.js → flowDiagram-HODETNUW-DEVM2ZrI.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-v2-1d953310-CBHgUV1p.js → flowDiagram-v2-1d953310-4wSPcojK.js} +1 -1
- package/dist-embed/chunks/{flowchart-elk-definition-6df44142-DeZ--5a6.js → flowchart-elk-definition-6df44142-Cb0xBerO.js} +1 -1
- package/dist-embed/chunks/{fr-FR-RHASNOE6-J88GG3aE.js → fr-FR-RHASNOE6-DQXpQs87.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-3b0b3873-C2r1fH39.js → ganttDiagram-3b0b3873-DI6DrFsY.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-7MMvC1fh.js → ganttDiagram-EL5Y4UJY-CSmChevD.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-DKaPd3MM.js → ganttDiagram-EL5Y4UJY-DdKCj2ex.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-C3YxQe7W.js → ganttDiagram-EL5Y4UJY-drl1C7t5.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-Cnig1EpR.js → gitGraphDiagram-WWUBYQGX-Dna0JScG.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-BhAiY2G7.js → gitGraphDiagram-WWUBYQGX-PLhOfVTI.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-DL75-74K.js → gitGraphDiagram-WWUBYQGX-gYDVDk5C.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-DpCnh99K.js → gitGraphDiagram-f01e8bc2-BmE4UKm_.js} +1 -1
- package/dist-embed/chunks/{gl-ES-HMX3MZ6V-DCx-cx3z.js → gl-ES-HMX3MZ6V-DzfCce3N.js} +1 -1
- package/dist-embed/chunks/{he-IL-6SHJWFNN-DSVCS7oh.js → he-IL-6SHJWFNN-DRlcBbb7.js} +1 -1
- package/dist-embed/chunks/{hi-IN-IWLTKZ5I-dYf4Ui9C.js → hi-IN-IWLTKZ5I-BrerMuM3.js} +1 -1
- package/dist-embed/chunks/{hu-HU-A5ZG7DT2-D62ZhqXS.js → hu-HU-A5ZG7DT2-DFTsPGh6.js} +1 -1
- package/dist-embed/chunks/{id-ID-SAP4L64H-CPbEyEGt.js → id-ID-SAP4L64H-D0pKFdUL.js} +1 -1
- package/dist-embed/chunks/{index-DUo_Q0bE.js → index-46VEGuyz.js} +2 -2
- package/dist-embed/chunks/{index-9bae90f3-BXKxYnBg.js → index-9bae90f3-Cc18qrXw.js} +1 -1
- package/dist-embed/chunks/{index-h3ezbReI.js → index-B5W7CVUY.js} +1 -1
- package/dist-embed/chunks/{index-BeTQYXBa.js → index-BQEWUnIX.js} +1 -1
- package/dist-embed/chunks/{index-C1V3QrNG.js → index-BXY2kJ1z.js} +1 -1
- package/dist-embed/chunks/{index-BDfHQl3F.js → index-BzdaTJ02.js} +4 -4
- package/dist-embed/chunks/{index-BxqT3iXs.js → index-C-4crJTg.js} +4 -4
- package/dist-embed/chunks/{index-BrEfsSSF.js → index-CBWGYoQM.js} +1 -1
- package/dist-embed/chunks/{index-D6Jo2GVI.js → index-CET7bv5d.js} +1 -1
- package/dist-embed/chunks/{index-BAjfjlr1.js → index-h8lXpqtD.js} +1 -1
- package/dist-embed/chunks/index.esm-DwyYEnhk.js +1 -0
- package/dist-embed/chunks/{index.esm-hHiWwus_.js → index.esm-fF--io5D.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-DR9uGGbg.js → infoDiagram-27XIBGKW-BZLQcxTA.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-BWng8B0-.js → infoDiagram-27XIBGKW-DlOi-VkF.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-CUOzYTfJ.js → infoDiagram-27XIBGKW-Ir7z7vae.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-a29d40f1-HEc-jV3D.js → infoDiagram-a29d40f1-B_50LXsh.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-bN5K7Z_H.js → ishikawaDiagram-5VMMS53U-CUxqPwbA.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-D-4s54qG.js → ishikawaDiagram-5VMMS53U-CmchLGEY.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-A0e9fSuG.js → ishikawaDiagram-5VMMS53U-Erx01g7S.js} +1 -1
- package/dist-embed/chunks/{it-IT-JPQ66NNP-B82xwLEQ.js → it-IT-JPQ66NNP-CbZLqWAE.js} +1 -1
- package/dist-embed/chunks/{ja-JP-DBVTYXUO-CM-98LRm.js → ja-JP-DBVTYXUO-9xZnJjLg.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-Bi4bGCmh.js → journeyDiagram-3NMN7TZE-B6PqY62p.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-BxzwEGdA.js → journeyDiagram-3NMN7TZE-BRe0KiaN.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-8G4uOxBl.js → journeyDiagram-3NMN7TZE-C9s2og1s.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-95396277-eqSlSLqg.js → journeyDiagram-95396277-BsoN0fKG.js} +1 -1
- package/dist-embed/chunks/{kaa-6HZHGXH3-Ef811qmk.js → kaa-6HZHGXH3-CO2r0Hb-.js} +1 -1
- package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-DXBRnDqR.js → kab-KAB-ZGHBKWFO-0WoWjCrc.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-CmTw15_j.js → kanban-definition-UXKFOSKX-B6PDcRlF.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-DMF43A4Q.js → kanban-definition-UXKFOSKX-BO0-y3yZ.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-DMkqn8yL.js → kanban-definition-UXKFOSKX-CKIjAYbp.js} +1 -1
- package/dist-embed/chunks/{kk-KZ-P5N5QNE5-DXPHFZv8.js → kk-KZ-P5N5QNE5-DFQE1uuw.js} +1 -1
- package/dist-embed/chunks/{km-KH-HSX4SM5Z-fcVwn7la.js → km-KH-HSX4SM5Z-D0Bja56Q.js} +1 -1
- package/dist-embed/chunks/{ko-KR-MTYHY66A-fPmaSt-R.js → ko-KR-MTYHY66A-C6MeQrMU.js} +1 -1
- package/dist-embed/chunks/{ku-TR-6OUDTVRD-DLO8mEqc.js → ku-TR-6OUDTVRD-CweepkXr.js} +1 -1
- package/dist-embed/chunks/{layout-BQJeAUxn.js → layout-Bz98EP0E.js} +1 -1
- package/dist-embed/chunks/{layout-DKKRYrOx.js → layout-DPmNjViN.js} +1 -1
- package/dist-embed/chunks/{layout-BiwLrHFv.js → layout-mk0FGxVc.js} +1 -1
- package/dist-embed/chunks/{lexicalHooks-CJT40c-i.js → lexicalHooks-Cj3BNPDC.js} +1 -1
- package/dist-embed/chunks/{lib-CCs8IFk9.js → lib-0j0dfH8p.js} +1 -1
- package/dist-embed/chunks/{lib-BWVYnyap.js → lib-B01oDNlH.js} +1 -1
- package/dist-embed/chunks/{lib-DGyQX8HH.js → lib-B62N3zGB.js} +1 -1
- package/dist-embed/chunks/{lib-DjnzrDLN.js → lib-BItrfBU4.js} +1 -1
- package/dist-embed/chunks/{lib-DiaM9sQK.js → lib-BmoHRaAo.js} +1 -1
- package/dist-embed/chunks/{lib-Bt7-2uko.js → lib-BnAfx9wF.js} +1 -1
- package/dist-embed/chunks/{lib-5GRWA8Zf.js → lib-C-8NAvI1.js} +1 -1
- package/dist-embed/chunks/{lib-D-sHfT2H.js → lib-COg_k5cY.js} +1 -1
- package/dist-embed/chunks/{lib-DlJpF03q.js → lib-CY6QUCzq.js} +1 -1
- package/dist-embed/chunks/{lib-Bkasfzit.js → lib-CjicD0Pj.js} +1 -1
- package/dist-embed/chunks/{lib-Ct98HeTv.js → lib-CkKgTevD.js} +1 -1
- package/dist-embed/chunks/{lib-CAO9TgtV.js → lib-D8Ksfd49.js} +1 -1
- package/dist-embed/chunks/{lib-hGDX-thU.js → lib-DCBCbRKN.js} +1 -1
- package/dist-embed/chunks/{lib-C9Xg-F1Z.js → lib-DpZphKNm.js} +1 -1
- package/dist-embed/chunks/{lib-D63-MDjq.js → lib-DzVf9ZJD.js} +1 -1
- package/dist-embed/chunks/{lib-Duu9jvZE.js → lib-Hgl-pfON.js} +1 -1
- package/dist-embed/chunks/{lib-D7hI6faK.js → lib-f60SfhfM.js} +1 -1
- package/dist-embed/chunks/{lib-Bp97CI40.js → lib-ku1U2GxE.js} +1 -1
- package/dist-embed/chunks/{lib-B9ZzlHt8.js → lib-tR3XRdBe.js} +1 -1
- package/dist-embed/chunks/{lib-BBunDtjl.js → lib-w650Gz0V.js} +1 -1
- package/dist-embed/chunks/{lt-LT-XHIRWOB4-CDj2NwJ7.js → lt-LT-XHIRWOB4-DrPOBOia.js} +1 -1
- package/dist-embed/chunks/{lv-LV-5QDEKY6T-DM0UmntK.js → lv-LV-5QDEKY6T-BlGiDUA0.js} +1 -1
- package/dist-embed/chunks/{mermaid.core-BFu8E2Ch.js → mermaid.core-1p09QPXM.js} +3 -3
- package/dist-embed/chunks/{mermaid.core-oCOrUXH6.js → mermaid.core-BiF8MSuv.js} +5 -5
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-BBOAmrK9.js → mindmap-definition-YA3MSWOX-CEFrcqEk.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-D5P4dsfO.js → mindmap-definition-YA3MSWOX-DpAy5heR.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-k9DaqQ85.js → mindmap-definition-YA3MSWOX-t1pDKjS3.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-e4c1d938-pjtVjzMw.js → mindmap-definition-e4c1d938-DcepOwKv.js} +1 -1
- package/dist-embed/chunks/{model-BlGqAZ_E.js → model-jLDiOPpQ.js} +1 -1
- package/dist-embed/chunks/{mr-IN-CRQNXWMA-DKu7Lbyh.js → mr-IN-CRQNXWMA-BWEVprKf.js} +1 -1
- package/dist-embed/chunks/{my-MM-5M5IBNSE-OpXhxQFy.js → my-MM-5M5IBNSE-BBxutJOz.js} +1 -1
- package/dist-embed/chunks/{nb-NO-T6EIAALU-CaW58ARR.js → nb-NO-T6EIAALU-DJnrKa7W.js} +1 -1
- package/dist-embed/chunks/{nl-NL-IS3SIHDZ-D4WjKwio.js → nl-NL-IS3SIHDZ-DQfv4h3e.js} +1 -1
- package/dist-embed/chunks/{nn-NO-6E72VCQL-n-7vV9Cs.js → nn-NO-6E72VCQL-DiGj9RA6.js} +1 -1
- package/dist-embed/chunks/{oc-FR-POXYY2M6-CB6dwikR.js → oc-FR-POXYY2M6-WJRn50ji.js} +1 -1
- package/dist-embed/chunks/{pa-IN-N4M65BXN-Cq4oiAGn.js → pa-IN-N4M65BXN-U7QCzNgm.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-oNVN1IG9.js → pegDiagram-XKGWAZYB-BlYwAwEo.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-BTn5P1TU.js → pegDiagram-XKGWAZYB-CudwiD3O.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-Cge-GlZ7.js → pegDiagram-XKGWAZYB-iE6rBtXO.js} +1 -1
- package/dist-embed/chunks/{percentages-BXMCSKIN-DRR-eJCX.js → percentages-BXMCSKIN-DhE6_GLO.js} +5 -5
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-C9syugZr.js → pieDiagram-E7YTZNPT-CIawCiDR.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-LKAJV-f9.js → pieDiagram-E7YTZNPT-Cy6Wueqp.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-LRVEFdTA.js → pieDiagram-E7YTZNPT-DkhDYj7K.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-c941bede-DjCRmn-L.js → pieDiagram-c941bede-Ds-rlqjJ.js} +1 -1
- package/dist-embed/chunks/{pl-PL-T2D74RX3-C1YHW5JY.js → pl-PL-T2D74RX3-D5hzyBxL.js} +1 -1
- package/dist-embed/chunks/{plugin-DdlXgZum.js → plugin-BqLEv-U0.js} +1 -1
- package/dist-embed/chunks/{pt-BR-5N22H2LF-CeAhQlI9.js → pt-BR-5N22H2LF-CAs1Vbwd.js} +1 -1
- package/dist-embed/chunks/{pt-PT-UZXXM6DQ-GWUC3hdB.js → pt-PT-UZXXM6DQ-f3BuGnIL.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-8vY1ABOf.js → quadrantDiagram-AXDQQJYC-1ViFLfLW.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-C2i8SYpJ.js → quadrantDiagram-AXDQQJYC-B30POsrM.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DFP2Eoj5.js → quadrantDiagram-AXDQQJYC-CqArYUyr.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-Bgejfr6D.js → quadrantDiagram-cf8b8fe0-QoN4fcns.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-D8iXssMi.js → railroadDiagram-O6MQD6OU-BKrSAEIz.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-Ck2bziJ8.js → railroadDiagram-O6MQD6OU-BelGMNLe.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-B54ysFcl.js → railroadDiagram-O6MQD6OU-nWQg4Zha.js} +1 -1
- package/dist-embed/chunks/{renderer-Dsm4_V5Z.js → renderer-NdtLW87o.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-53bda41b-Don9LmwH.js → requirementDiagram-53bda41b-DRQpj1S7.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-BKfTxvAx.js → requirementDiagram-BXWQKSXE-BsKIaNx-.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-BluOoSWL.js → requirementDiagram-BXWQKSXE-C-ZNAzIA.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-DzYOora7.js → requirementDiagram-BXWQKSXE-Dj_84sJE.js} +1 -1
- package/dist-embed/chunks/{ro-RO-JPDTUUEW-CfstrBRj.js → ro-RO-JPDTUUEW-Ck6Pl6T-.js} +1 -1
- package/dist-embed/chunks/{ru-RU-B4JR7IUQ-CprdF87i.js → ru-RU-B4JR7IUQ-B5ZFvbSm.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-BbWM5efa.js → sankeyDiagram-P5KCCOFB-BwrjNR9f.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-BO6yMQvy.js → sankeyDiagram-P5KCCOFB-CvESkMt0.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-CFPCOaBB.js → sankeyDiagram-P5KCCOFB-DNcJ8lTV.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-c3ef121a-foGV8N2_.js → sankeyDiagram-c3ef121a-NSdOSIUQ.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-82a5b84f-6pLDiDbB.js → sequenceDiagram-82a5b84f-Cxc06-S6.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-C0zWhG8B.js → sequenceDiagram-WJ2MYXX4-CdKf7EXa.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-w41G2RsH.js → sequenceDiagram-WJ2MYXX4-DYkcZR01.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-BGIbaSlI.js → sequenceDiagram-WJ2MYXX4-vrbMF2lh.js} +1 -1
- package/dist-embed/chunks/{sheet-4YYsjTBK.js → sheet-BFp5lgzm.js} +1 -1
- package/dist-embed/chunks/{si-LK-N5RQ5JYF-CBECC-z7.js → si-LK-N5RQ5JYF-turarKuZ.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-C4Um3fMN.js → sizeCapture-INFHLROL-B05-5pAF.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-WE85tnHS.js → sizeCapture-INFHLROL-BTK449Mq.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-DAIM469w.js → sizeCapture-INFHLROL-DBDGASUh.js} +1 -1
- package/dist-embed/chunks/{sk-SK-C5VTKIMK-DMJnHZkB.js → sk-SK-C5VTKIMK-B61Eejyh.js} +1 -1
- package/dist-embed/chunks/{sl-SI-NN7IZMDC-7Z4OGoYj.js → sl-SI-NN7IZMDC-Vmd7HFee.js} +1 -1
- package/dist-embed/chunks/{state-DWaoyyF_.js → state-B-9Ja93T.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-43e79a5f-S14mEvLi.js → stateDiagram-43e79a5f-BNfT8BMf.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-BC6_D1er.js → stateDiagram-D77RDMKH-B4P4foWm.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-BKswuz-D.js → stateDiagram-D77RDMKH-DGy5pPcJ.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-DaQTz1j_.js → stateDiagram-D77RDMKH-cX1LxuDW.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-3GcjyBy-.js → stateDiagram-v2-2041ed4f-DT_Cb2bL.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-Bm6DUSD7.js → stateDiagram-v2-MP3YSRHH-BSxDwfLM.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-z0Ujpn87.js → stateDiagram-v2-MP3YSRHH-CoF-m0JB.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-DOLQNFRH.js → stateDiagram-v2-MP3YSRHH-GuE-uLPq.js} +1 -1
- package/dist-embed/chunks/{styles-455b33cd-BRr4X9hL.js → styles-455b33cd-Cp1Ujuo8.js} +1 -1
- package/dist-embed/chunks/{styles-f932cba9-UDBXX5a8.js → styles-f932cba9-CxoS5hwQ.js} +1 -1
- package/dist-embed/chunks/{styles-fcc2142b-CSFZuop9.js → styles-fcc2142b-ByLmqETE.js} +1 -1
- package/dist-embed/chunks/{subset-shared.chunk-B3u5KdN0.js → subset-shared.chunk-BsVAPxIg.js} +1 -1
- package/dist-embed/chunks/{subset-worker.chunk-CT6VKIPU.js → subset-worker.chunk-BS8PIaQX.js} +1 -1
- package/dist-embed/chunks/{substates-CZP38fPi.js → substates-CeUNAPt2.js} +1 -1
- package/dist-embed/chunks/{sv-SE-XGPEYMSR-FpJ1BpmI.js → sv-SE-XGPEYMSR-C9lMr16n.js} +1 -1
- package/dist-embed/chunks/{svgDrawCommon-148a3cd9-F4sRB6k0.js → svgDrawCommon-148a3cd9-BHhr6lti.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-EibPKc5o.js → swimlanes-42K2YHIH-DKdFBGRm.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-Bm2EMEIj.js → swimlanes-42K2YHIH-DQJZa-xA.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-60OSS3vA.js → swimlanes-42K2YHIH-RHIIyMRW.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-C5g-ZOer.js → swimlanesDiagram-VR7AAH4N-DPhzMK19.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-mQfKwLBP.js → swimlanesDiagram-VR7AAH4N-qQpIxgus.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-Dd4rkKxx.js → swimlanesDiagram-VR7AAH4N-rV-EK234.js} +1 -1
- package/dist-embed/chunks/{ta-IN-2NMHFXQM-CGrfHW-T.js → ta-IN-2NMHFXQM-DDvtKbYb.js} +1 -1
- package/dist-embed/chunks/{th-TH-HPSO5L25-XSyuAjYd.js → th-TH-HPSO5L25-Cuk9i9q1.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-Dw-j__OF.js → timeline-definition-24CTP7MA-B0VfyyC9.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-DrK86SXx.js → timeline-definition-24CTP7MA-BYQXqujM.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-4xcdFEe3.js → timeline-definition-24CTP7MA-CNJYLQV3.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-7545f45a-BbuRGmnt.js → timeline-definition-7545f45a-B6u65RjP.js} +1 -1
- package/dist-embed/chunks/{tr-TR-DEFEU3FU-Bmilf4wA.js → tr-TR-DEFEU3FU-Dt5AbXXF.js} +1 -1
- package/dist-embed/chunks/{uk-UA-QMV73CPH-D7__x2rc.js → uk-UA-QMV73CPH-CqxkvO2g.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-Dyygo0QE.js → vennDiagram-4TSXK5OY-8GPjZ_rY.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-DU_TiJPw.js → vennDiagram-4TSXK5OY-BC0uMGWS.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-aBwLZ5sI.js → vennDiagram-4TSXK5OY-ERcpoENM.js} +1 -1
- package/dist-embed/chunks/{vi-VN-M7AON7JQ-Cp1NNDFR.js → vi-VN-M7AON7JQ-CZtlZzss.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-BUupZELs.js → wardleyDiagram-VM6X3IG4-Bubuc1xO.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-8uoJ6em9.js → wardleyDiagram-VM6X3IG4-DMJNYu8Y.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-DJsJzMBH.js → wardleyDiagram-VM6X3IG4-DdRbpzRB.js} +1 -1
- package/dist-embed/chunks/workbook-BQLbQvZ-.js +1 -0
- package/dist-embed/chunks/{write-DDDJmUTa.js → write-D-y9_9sL.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-3f383b91-CbuvIhMQ.js → xychartDiagram-3f383b91-CEkYRds9.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-D2_kfHro.js → xychartDiagram-S5SC5T6Z-C0WCXM2P.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-AUNwwAUK.js → xychartDiagram-S5SC5T6Z-DKWKSC-B.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-B9ZiyRsR.js → xychartDiagram-S5SC5T6Z-iG96dorC.js} +1 -1
- package/dist-embed/chunks/{zh-CN-LNUGB5OW-1W7T5K4d.js → zh-CN-LNUGB5OW-6_SDF9o2.js} +1 -1
- package/dist-embed/chunks/{zh-HK-E62DVLB3-6wLRdIMH.js → zh-HK-E62DVLB3-em8dd9Nl.js} +1 -1
- package/dist-embed/chunks/{zh-TW-RAJ6MFWO-Bq3E0gIc.js → zh-TW-RAJ6MFWO-BCzbAoXj.js} +1 -1
- package/dist-embed/datalayer-app-main.js +68 -74
- package/lib/apps/plugins/chat/ChatView.js +96 -38
- package/lib/chat/anonymous/AnonymousChat.d.ts +0 -3
- package/lib/chat/anonymous/anonymousMode.d.ts +0 -4
- package/lib/chat/anonymous/anonymousMode.js +0 -4
- package/lib/chat/base/ChatBase.js +2 -58
- package/lib/chat/index.d.ts +1 -1
- package/lib/chat/index.js +1 -1
- package/lib/chat/indicators/index.d.ts +3 -12
- package/lib/chat/indicators/index.js +0 -15
- package/lib/chat/prompt/InputPrompt.d.ts +28 -16
- package/lib/chat/prompt/InputPrompt.js +60 -12
- package/lib/chat/prompt/menus/EquipmentMenus.d.ts +58 -81
- package/lib/chat/prompt/menus/EquipmentMenus.js +190 -127
- package/lib/chat/prompt/menus/ToolsMenu.d.ts +2 -11
- package/lib/chat/prompt/menus/ToolsMenu.js +8 -43
- package/lib/chat/prompt/menus/equipmentRows.d.ts +160 -0
- package/lib/chat/prompt/menus/equipmentRows.js +349 -0
- package/lib/chat/prompt/menus/index.d.ts +2 -1
- package/lib/chat/prompt/menus/index.js +2 -1
- package/lib/hooks/useConversationSwitches.d.ts +29 -0
- package/lib/hooks/useConversationSwitches.js +102 -0
- package/lib/hooks/useMcpToolSwitches.d.ts +13 -0
- package/lib/hooks/useMcpToolSwitches.js +96 -0
- package/lib/portable/index.d.ts +1 -1
- package/lib/portable/sessions.d.ts +47 -0
- package/lib/portable/sessions.js +7 -0
- package/lib/types/chat.d.ts +2 -3
- package/package.json +1 -1
- package/dist-embed/chunks/ChatView-BxxW10wd.js +0 -32
- package/dist-embed/chunks/index.esm-ClpGzk_d.js +0 -1
- package/dist-embed/chunks/workbook-B-AfiHkC.js +0 -1
- package/lib/chat/indicators/DisabledIndicator.d.ts +0 -18
- package/lib/chat/indicators/DisabledIndicator.js +0 -22
- package/lib/chat/indicators/McpStatusIndicator.d.ts +0 -18
- package/lib/chat/indicators/McpStatusIndicator.js +0 -106
- package/lib/chat/indicators/SkillsStatusIndicator.d.ts +0 -13
- package/lib/chat/indicators/SkillsStatusIndicator.js +0 -88
- package/lib/chat/prompt/menus/SkillsMenu.d.ts +0 -10
- package/lib/chat/prompt/menus/SkillsMenu.js +0 -49
|
@@ -1,91 +1,68 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* The MCP servers and the skills of a conversation, in one overlay each,
|
|
3
|
+
* opened from either of two triggers: the dot beside the composer's send
|
|
4
|
+
* button, or the menu in its footer (the user, 19 November 2026: "the exact
|
|
5
|
+
* same overlay should be shown, the indicator and footer are just one way to
|
|
6
|
+
* show the same information").
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* words and why one is off
|
|
12
|
-
*
|
|
13
|
-
*
|
|
8
|
+
* Both triggers take the same rows (`equipmentLists`) and say the same
|
|
9
|
+
* summary (`summaryOf`): the dot by its colour and its tooltip, the footer
|
|
10
|
+
* by its icon and its count. The overlay lists every server and skill, on or
|
|
11
|
+
* off, with its state in words and why one is off, and the conversation's
|
|
12
|
+
* switches: a server's tools all at once or one by one, each tool's
|
|
13
|
+
* approval, a skill, all the skills, each skill's approval, and codemode.
|
|
14
|
+
* A switch that cannot be used is drawn disabled, with its reason.
|
|
15
|
+
*
|
|
16
|
+
* An application's model is listed apart (`EquipmentModelMenu`): chosen by
|
|
17
|
+
* its builder, the same for everyone, to read.
|
|
14
18
|
*
|
|
15
19
|
* @module chat/prompt/menus/EquipmentMenus
|
|
16
20
|
*/
|
|
17
|
-
import type
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
readonly failed: "Failed";
|
|
35
|
-
readonly not_started: "Not started";
|
|
36
|
-
readonly left_out: "Off";
|
|
37
|
-
};
|
|
38
|
-
readonly skillState: {
|
|
39
|
-
readonly active: "Active";
|
|
40
|
-
readonly not_activated: "Not activated";
|
|
21
|
+
import { type JSX } from 'react';
|
|
22
|
+
import type { Equipment } from '../../../hooks/useEquipment';
|
|
23
|
+
import { type EquipmentLists } from './equipmentRows';
|
|
24
|
+
/** What the switches do: the conversation's own handlers. */
|
|
25
|
+
export type EquipmentSwitches = {
|
|
26
|
+
onToggleMcpTool: (serverId: string, toolName: string) => void;
|
|
27
|
+
onToggleAllMcpServerTools: (serverId: string, toolNames: string[], enable: boolean) => void;
|
|
28
|
+
onToggleMcpToolApproval: (serverId: string, toolName: string) => void;
|
|
29
|
+
onToggleSkill: (skillId: string) => void;
|
|
30
|
+
onToggleAllSkills: (skillIds: string[], enable: boolean) => void;
|
|
31
|
+
onToggleSkillApproval: (skillId: string) => void;
|
|
32
|
+
/** The runtime's sentence for the last switch it refused: said in the overlay. */
|
|
33
|
+
refusal?: string;
|
|
34
|
+
/** Codemode, where the chat offers it; its toggle disabled without a handler. */
|
|
35
|
+
codemode?: {
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
onToggle?: (enabled: boolean) => void | Promise<void>;
|
|
41
38
|
};
|
|
42
|
-
readonly modelState: {
|
|
43
|
-
readonly current: "In use";
|
|
44
|
-
readonly available: "Available";
|
|
45
|
-
readonly off: "Not available";
|
|
46
|
-
};
|
|
47
|
-
readonly declaredState: "Declared";
|
|
48
|
-
};
|
|
49
|
-
type Tone = 'success' | 'attention' | 'danger' | 'neutral' | 'accent';
|
|
50
|
-
/** A row of a menu: what it is, its state in words, and why it is off. */
|
|
51
|
-
export type EquipmentRow = {
|
|
52
|
-
id: string;
|
|
53
|
-
name: string;
|
|
54
|
-
state: string;
|
|
55
|
-
tone: Tone;
|
|
56
|
-
/** Whether it counts as on. */
|
|
57
|
-
on: boolean;
|
|
58
|
-
reason?: string;
|
|
59
|
-
note?: string;
|
|
60
39
|
};
|
|
61
|
-
|
|
62
|
-
export declare function serverRow(server: EquipmentServer): EquipmentRow;
|
|
63
|
-
/** A skill as a row. */
|
|
64
|
-
export declare function skillRow(skill: EquipmentSkill): EquipmentRow;
|
|
65
|
-
/** A model as a row. */
|
|
66
|
-
export declare function modelRow(model: EquipmentModel): EquipmentRow;
|
|
67
|
-
/** What a row says to a screen reader: its name, its state, and why. */
|
|
68
|
-
export declare function rowWords(row: EquipmentRow): string;
|
|
40
|
+
export type EquipmentKind = 'servers' | 'skills';
|
|
69
41
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* one does nothing and leaves the menu open.
|
|
42
|
+
* The overlay's content: the list, its switches, and what it says of them.
|
|
43
|
+
* The one component both triggers open.
|
|
73
44
|
*/
|
|
74
|
-
export declare function
|
|
75
|
-
kind:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
rows: EquipmentRow[];
|
|
79
|
-
/** What the trigger shows beside its icon. */
|
|
80
|
-
count: string;
|
|
81
|
-
/** What the trigger says: its tooltip and its name. */
|
|
82
|
-
summary: string;
|
|
83
|
-
empty?: string;
|
|
84
|
-
declared?: boolean;
|
|
85
|
-
align?: 'start' | 'end';
|
|
45
|
+
export declare function EquipmentPanel({ kind, lists, switches, }: {
|
|
46
|
+
kind: EquipmentKind;
|
|
47
|
+
lists: EquipmentLists;
|
|
48
|
+
switches: EquipmentSwitches;
|
|
86
49
|
}): JSX.Element;
|
|
87
|
-
/**
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
50
|
+
/**
|
|
51
|
+
* The MCP servers or the skills, from a dot or from the footer: the same
|
|
52
|
+
* overlay either way. A dot with nothing to say is not drawn; the footer's
|
|
53
|
+
* menu says "none".
|
|
54
|
+
*/
|
|
55
|
+
export declare function EquipmentMenu({ kind, trigger, lists, switches, }: {
|
|
56
|
+
kind: EquipmentKind;
|
|
57
|
+
trigger: 'dot' | 'button';
|
|
58
|
+
lists: EquipmentLists;
|
|
59
|
+
switches: EquipmentSwitches;
|
|
60
|
+
}): JSX.Element | null;
|
|
61
|
+
/**
|
|
62
|
+
* An application's model, to read: chosen by its builder, the same for
|
|
63
|
+
* everyone. Every model it may run on, the one in use marked, an unusable
|
|
64
|
+
* one with why. Not drawn when no model is known.
|
|
65
|
+
*/
|
|
66
|
+
export declare function EquipmentModelMenu({ equipment, }: {
|
|
67
|
+
equipment: Pick<Equipment, 'models' | 'modelsSource'>;
|
|
68
|
+
}): JSX.Element | null;
|
|
@@ -1,33 +1,38 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
4
|
+
* Distributed under the terms of the Modified BSD License.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* The MCP servers and the skills of a conversation, in one overlay each,
|
|
8
|
+
* opened from either of two triggers: the dot beside the composer's send
|
|
9
|
+
* button, or the menu in its footer (the user, 19 November 2026: "the exact
|
|
10
|
+
* same overlay should be shown, the indicator and footer are just one way to
|
|
11
|
+
* show the same information").
|
|
12
|
+
*
|
|
13
|
+
* Both triggers take the same rows (`equipmentLists`) and say the same
|
|
14
|
+
* summary (`summaryOf`): the dot by its colour and its tooltip, the footer
|
|
15
|
+
* by its icon and its count. The overlay lists every server and skill, on or
|
|
16
|
+
* off, with its state in words and why one is off, and the conversation's
|
|
17
|
+
* switches: a server's tools all at once or one by one, each tool's
|
|
18
|
+
* approval, a skill, all the skills, each skill's approval, and codemode.
|
|
19
|
+
* A switch that cannot be used is drawn disabled, with its reason.
|
|
20
|
+
*
|
|
21
|
+
* An application's model is listed apart (`EquipmentModelMenu`): chosen by
|
|
22
|
+
* its builder, the same for everyone, to read.
|
|
23
|
+
*
|
|
24
|
+
* @module chat/prompt/menus/EquipmentMenus
|
|
25
|
+
*/
|
|
26
|
+
import { forwardRef, useEffect, useId, } from 'react';
|
|
27
|
+
import { ActionList, ActionMenu, Button, Text, ToggleSwitch, Tooltip, } from '@primer/react';
|
|
3
28
|
import { AiModelIcon, BriefcaseIcon } from '@primer/octicons-react';
|
|
4
29
|
// Primer's MCP mark (the user, 19 November 2026), by its own path: the
|
|
5
30
|
// package's index types do not declare it, its per-icon entry does.
|
|
6
31
|
import { McpIcon } from '@primer/octicons-react/McpIcon';
|
|
7
32
|
import { Box } from '@datalayer/primer-addons';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
model: 'Model',
|
|
12
|
-
servers: 'MCP servers',
|
|
13
|
-
skills: 'Skills',
|
|
14
|
-
none: { servers: 'It uses no MCP server.', skills: 'It has no skill.' },
|
|
15
|
-
optional: 'optional',
|
|
16
|
-
serverState: {
|
|
17
|
-
started: 'Running',
|
|
18
|
-
starting: 'Starting',
|
|
19
|
-
failed: 'Failed',
|
|
20
|
-
not_started: 'Not started',
|
|
21
|
-
left_out: 'Off',
|
|
22
|
-
},
|
|
23
|
-
skillState: { active: 'Active', not_activated: 'Not activated' },
|
|
24
|
-
modelState: {
|
|
25
|
-
current: 'In use',
|
|
26
|
-
available: 'Available',
|
|
27
|
-
off: 'Not available',
|
|
28
|
-
},
|
|
29
|
-
declaredState: 'Declared',
|
|
30
|
-
};
|
|
33
|
+
import { defaultIndicatorColors } from '@datalayer/primer-addons/lib/theme/index.js';
|
|
34
|
+
import { SpecMark, hasMark, marksOfMcpServer, marksOfSkill } from '../../marks/index.js';
|
|
35
|
+
import { EQUIPMENT_WORDS, modelRow, rowWords, summaryOf, } from './equipmentRows.js';
|
|
31
36
|
const TONES = {
|
|
32
37
|
success: { fg: 'success.fg', bg: 'success.subtle' },
|
|
33
38
|
attention: { fg: 'attention.fg', bg: 'attention.subtle' },
|
|
@@ -35,77 +40,170 @@ const TONES = {
|
|
|
35
40
|
accent: { fg: 'accent.fg', bg: 'accent.subtle' },
|
|
36
41
|
neutral: { fg: 'fg.muted', bg: 'neutral.subtle' },
|
|
37
42
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
43
|
+
const DOT_COLOURS = {
|
|
44
|
+
none: defaultIndicatorColors.neutral,
|
|
45
|
+
off: defaultIndicatorColors.muted,
|
|
46
|
+
starting: defaultIndicatorColors.warning,
|
|
47
|
+
failed: defaultIndicatorColors.danger,
|
|
48
|
+
on: defaultIndicatorColors.success,
|
|
49
|
+
};
|
|
50
|
+
const TITLES = {
|
|
51
|
+
servers: EQUIPMENT_WORDS.servers,
|
|
52
|
+
skills: EQUIPMENT_WORDS.skills,
|
|
53
|
+
};
|
|
54
|
+
/** A state, as a small pill. */
|
|
55
|
+
function StatePill({ row }) {
|
|
56
|
+
const tone = TONES[row.tone];
|
|
57
|
+
return (_jsx(Text, { sx: {
|
|
58
|
+
fontSize: '11px',
|
|
59
|
+
px: '6px',
|
|
60
|
+
py: '1px',
|
|
61
|
+
borderRadius: 999,
|
|
62
|
+
bg: tone.bg,
|
|
63
|
+
color: tone.fg,
|
|
64
|
+
whiteSpace: 'nowrap',
|
|
65
|
+
}, children: row.state }));
|
|
66
|
+
}
|
|
67
|
+
/** A switch with its word above it, labelled by what it switches. */
|
|
68
|
+
function Switch({ word, checked, labelledBy, locked, onToggle, name, }) {
|
|
69
|
+
return (_jsxs(Box, { display: "flex", flexDirection: "column", alignItems: "center", gap: "2px", "data-equipment-switch": name, "data-equipment-checked": checked ? 'true' : 'false', "data-equipment-locked": locked ? 'true' : 'false', title: locked, children: [_jsx(Text, { sx: { fontSize: '10px', color: 'fg.muted' }, children: word }), _jsx(ToggleSwitch, { size: "small", checked: checked, disabled: Boolean(locked), onClick: onToggle, "aria-labelledby": labelledBy })] }));
|
|
70
|
+
}
|
|
71
|
+
/** A row's name line: its mark, its name, its state. */
|
|
72
|
+
function RowHead({ row, labelId, mark, }) {
|
|
73
|
+
return (_jsxs(Box, { display: "flex", alignItems: "center", gap: 1, minWidth: 0, children: [mark, _jsx(Text, { id: labelId, sx: {
|
|
74
|
+
fontWeight: 'semibold',
|
|
75
|
+
overflow: 'hidden',
|
|
76
|
+
textOverflow: 'ellipsis',
|
|
77
|
+
whiteSpace: 'nowrap',
|
|
78
|
+
color: row.on ? undefined : 'fg.muted',
|
|
79
|
+
}, children: row.name }), _jsx(StatePill, { row: row })] }));
|
|
80
|
+
}
|
|
81
|
+
/** A muted line under a name: its reason, its note, or its description. */
|
|
82
|
+
function Line({ children }) {
|
|
83
|
+
return children ? (_jsx(Text, { sx: {
|
|
84
|
+
display: 'block',
|
|
85
|
+
fontSize: 0,
|
|
86
|
+
color: 'fg.muted',
|
|
87
|
+
overflow: 'hidden',
|
|
88
|
+
textOverflow: 'ellipsis',
|
|
89
|
+
}, children: children })) : null;
|
|
90
|
+
}
|
|
91
|
+
const ROW_SX = {
|
|
92
|
+
display: 'flex',
|
|
93
|
+
alignItems: 'center',
|
|
94
|
+
justifyContent: 'space-between',
|
|
95
|
+
gap: 2,
|
|
96
|
+
px: 3,
|
|
97
|
+
py: 2,
|
|
98
|
+
};
|
|
99
|
+
function ServerBlock({ row, switches, scope, }) {
|
|
100
|
+
const labelId = `${scope}-server-${row.id}`;
|
|
101
|
+
const names = row.tools.map(tool => tool.name);
|
|
102
|
+
const toolsOn = row.tools.filter(tool => tool.enabled).length;
|
|
103
|
+
// Without its tools listed, the server is on unless switched off whole.
|
|
104
|
+
const allOn = names.length > 0 ? toolsOn === names.length : row.on;
|
|
105
|
+
const marks = marksOfMcpServer({ id: row.id });
|
|
106
|
+
return (_jsxs(Box, { role: "group", "aria-label": rowWords(row), "data-equipment-row": row.id, "data-equipment-on": row.on ? 'true' : 'false', borderTop: "1px solid", borderColor: "border.muted", children: [_jsxs(Box, { sx: ROW_SX, children: [_jsxs(Box, { flex: 1, minWidth: 0, children: [_jsx(RowHead, { row: row, labelId: labelId, mark: hasMark(marks) ? (_jsx(SpecMark, { icon: marks.icon, emoji: marks.emoji, size: 16 })) : undefined }), _jsx(Line, { children: [row.reason, row.note].filter(Boolean).join(' · ') })] }), _jsx(Switch, { word: EQUIPMENT_WORDS.enableAll, name: `server:${row.id}`, checked: allOn, labelledBy: labelId, locked: row.locked, onToggle: () => switches.onToggleAllMcpServerTools(row.switchId, names, !allOn) })] }), row.tools.map(tool => {
|
|
107
|
+
const toolId = `${labelId}-tool-${tool.name}`;
|
|
108
|
+
return (_jsxs(Box, { sx: { ...ROW_SX, pl: 5 }, "data-equipment-tool": `${row.id}:${tool.name}`, children: [_jsxs(Box, { flex: 1, minWidth: 0, children: [_jsx(Text, { id: toolId, sx: { fontSize: 1 }, children: tool.name }), _jsx(Line, { children: tool.description })] }), _jsxs(Box, { display: "flex", alignItems: "center", gap: 3, children: [_jsx(Switch, { word: EQUIPMENT_WORDS.enabled, name: `tool:${row.id}:${tool.name}`, checked: tool.enabled, labelledBy: toolId, locked: row.locked, onToggle: () => switches.onToggleMcpTool(row.switchId, tool.name) }), _jsx(Switch, { word: EQUIPMENT_WORDS.approved, name: `tool-approval:${row.id}:${tool.name}`, checked: tool.approved, labelledBy: toolId, locked: row.locked, onToggle: () => switches.onToggleMcpToolApproval(row.switchId, tool.name) })] })] }, tool.name));
|
|
109
|
+
})] }));
|
|
61
110
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
const
|
|
65
|
-
return {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
state: state
|
|
69
|
-
? EQUIPMENT_WORDS.skillState[state]
|
|
70
|
-
: EQUIPMENT_WORDS.declaredState,
|
|
71
|
-
tone: state === 'active' ? 'success' : 'neutral',
|
|
72
|
-
on: state === 'active',
|
|
73
|
-
...(skill.reason ? { reason: skill.reason } : {}),
|
|
74
|
-
...(skill.optional ? { note: EQUIPMENT_WORDS.optional } : {}),
|
|
75
|
-
};
|
|
111
|
+
function SkillBlock({ row, switches, scope, }) {
|
|
112
|
+
const labelId = `${scope}-skill-${row.id}`;
|
|
113
|
+
const marks = marksOfSkill(row.id);
|
|
114
|
+
return (_jsxs(Box, { role: "group", "aria-label": rowWords(row), "data-equipment-row": row.id, "data-equipment-on": row.on ? 'true' : 'false', borderTop: "1px solid", borderColor: "border.muted", sx: ROW_SX, children: [_jsxs(Box, { flex: 1, minWidth: 0, children: [_jsx(RowHead, { row: row, labelId: labelId, mark: hasMark(marks) ? (_jsx(SpecMark, { icon: marks.icon, emoji: marks.emoji, size: 16 })) : undefined }), _jsx(Line, { children: [row.reason, row.note, row.reason ? undefined : row.description]
|
|
115
|
+
.filter(Boolean)
|
|
116
|
+
.join(' · ') })] }), _jsxs(Box, { display: "flex", alignItems: "center", gap: 3, children: [_jsx(Switch, { word: EQUIPMENT_WORDS.enabled, name: `skill:${row.id}`, checked: row.enabled, labelledBy: labelId, locked: row.locked, onToggle: () => switches.onToggleSkill(row.switchId) }), _jsx(Switch, { word: EQUIPMENT_WORDS.approved, name: `skill-approval:${row.id}`, checked: row.approved, labelledBy: labelId, locked: row.locked, onToggle: () => switches.onToggleSkillApproval(row.switchId) })] })] }));
|
|
76
117
|
}
|
|
77
|
-
/**
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
118
|
+
/**
|
|
119
|
+
* The overlay's content: the list, its switches, and what it says of them.
|
|
120
|
+
* The one component both triggers open.
|
|
121
|
+
*/
|
|
122
|
+
export function EquipmentPanel({ kind, lists, switches, }) {
|
|
123
|
+
const scope = useId().replace(/:/g, '');
|
|
124
|
+
const rows = kind === 'servers' ? lists.servers : lists.skills;
|
|
125
|
+
const { summary } = summaryOf(kind, rows, lists.declared);
|
|
126
|
+
const title = TITLES[kind];
|
|
127
|
+
const codemode = kind === 'servers' ? switches.codemode : undefined;
|
|
128
|
+
const open = lists.skills.filter(row => !row.locked);
|
|
129
|
+
const allSkillsOn = open.length > 0 && open.every(row => row.enabled);
|
|
130
|
+
return (_jsxs(Box, { "data-equipment-panel": kind, "aria-label": title, role: "group", children: [_jsx(Box, { px: 3, py: 2, children: _jsxs(Text, { sx: { fontSize: 0, fontWeight: 'semibold', color: 'fg.muted' }, children: [title, rows.length > 0 ? ` · ${summary}` : ''] }) }), codemode ? (_jsxs(Box, { sx: ROW_SX, borderTop: "1px solid", borderColor: "border.muted", children: [_jsxs(Box, { flex: 1, minWidth: 0, children: [_jsx(Text, { id: `${scope}-codemode`, sx: { fontWeight: 'semibold', display: 'block' }, children: EQUIPMENT_WORDS.codemode }), _jsx(Line, { children: codemode.enabled
|
|
131
|
+
? EQUIPMENT_WORDS.codemodeOn
|
|
132
|
+
: EQUIPMENT_WORDS.codemodeOff })] }), _jsx(Switch, { word: EQUIPMENT_WORDS.enabled, name: "codemode", checked: codemode.enabled, labelledBy: `${scope}-codemode`, locked: codemode.onToggle ? undefined : EQUIPMENT_WORDS.codemodeLocked, onToggle: () => void codemode.onToggle?.(!codemode.enabled) })] })) : null, kind === 'skills' && rows.length > 0 ? (_jsxs(Box, { sx: ROW_SX, borderTop: "1px solid", borderColor: "border.muted", children: [_jsxs(Text, { id: `${scope}-all-skills`, sx: { fontSize: 0, fontWeight: 'semibold', color: 'fg.muted' }, children: [EQUIPMENT_WORDS.enableAll, " (", lists.skills.filter(row => row.enabled).length, "/", rows.length, ")"] }), _jsx(Switch, { word: EQUIPMENT_WORDS.enableAll, name: "all-skills", checked: allSkillsOn, labelledBy: `${scope}-all-skills`, locked: open.length === 0
|
|
133
|
+
? lists.skills.find(row => row.locked)?.locked
|
|
134
|
+
: undefined, onToggle: () => switches.onToggleAllSkills(open.map(row => row.switchId), !allSkillsOn) })] })) : null, rows.length === 0 ? (_jsx(Box, { px: 3, py: 2, borderTop: "1px solid", borderColor: "border.muted", children: _jsx(Text, { sx: { color: 'fg.muted', fontSize: 1 }, children: EQUIPMENT_WORDS.none[kind] }) })) : kind === 'servers' ? (lists.servers.map(row => (_jsx(ServerBlock, { row: row, switches: switches, scope: scope }, row.id)))) : (lists.skills.map(row => (_jsx(SkillBlock, { row: row, switches: switches, scope: scope }, row.id)))), _jsxs(Box, { px: 3, py: 2, borderTop: "1px solid", borderColor: "border.muted", "data-equipment-note": "", children: [switches.refusal ? (_jsx(Text, { role: "alert", "data-equipment-refusal": "", sx: { fontSize: 0, color: 'danger.fg', display: 'block', mb: 1 }, children: switches.refusal })) : null, _jsx(Text, { sx: { fontSize: 0, color: 'fg.muted', display: 'block' }, children: EQUIPMENT_WORDS.switches }), lists.declared ? (_jsx(Text, { sx: { fontSize: 0, color: 'fg.muted', display: 'block' }, children: EQUIPMENT_WORDS.declared })) : null] })] }));
|
|
135
|
+
}
|
|
136
|
+
const PULSE_KEYFRAMES = `
|
|
137
|
+
@keyframes equipment-pulse {
|
|
138
|
+
0%, 100% { opacity: 1; }
|
|
139
|
+
50% { opacity: 0.4; }
|
|
94
140
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
141
|
+
`;
|
|
142
|
+
function usePulseKeyframes() {
|
|
143
|
+
useEffect(() => {
|
|
144
|
+
const id = '__equipment-pulse-keyframes__';
|
|
145
|
+
if (document.getElementById(id))
|
|
146
|
+
return;
|
|
147
|
+
const style = document.createElement('style');
|
|
148
|
+
style.id = id;
|
|
149
|
+
style.textContent = PULSE_KEYFRAMES;
|
|
150
|
+
document.head.appendChild(style);
|
|
151
|
+
}, []);
|
|
152
|
+
}
|
|
153
|
+
/** The dot: the list's status in its colour, its summary in its tooltip. */
|
|
154
|
+
const DotTrigger = forwardRef(function DotTrigger({ kind, status, label, ...anchor }, ref) {
|
|
155
|
+
usePulseKeyframes();
|
|
156
|
+
return (_jsx("button", { ...anchor, ref: ref, type: "button", "aria-label": label, "data-equipment-dot": kind, "data-equipment-status": status, style: {
|
|
157
|
+
display: 'inline-flex',
|
|
158
|
+
alignItems: 'center',
|
|
159
|
+
justifyContent: 'center',
|
|
160
|
+
width: 28,
|
|
161
|
+
height: 28,
|
|
162
|
+
padding: 0,
|
|
163
|
+
border: 'none',
|
|
164
|
+
background: 'none',
|
|
165
|
+
cursor: 'pointer',
|
|
166
|
+
lineHeight: 0,
|
|
167
|
+
}, children: _jsx(Box, { as: "span", display: "inline-block", width: 12, height: 12, borderRadius: "50%", bg: DOT_COLOURS[status], flexShrink: 0, animation: status === 'starting'
|
|
168
|
+
? 'equipment-pulse 1.5s ease-in-out infinite'
|
|
169
|
+
: undefined, reducedMotion: { animation: 'none' } }) }));
|
|
170
|
+
});
|
|
171
|
+
/** The footer's trigger: an icon and a count. */
|
|
172
|
+
const ButtonTrigger = forwardRef(function ButtonTrigger({ kind, count, label, declared, ...anchor }, ref) {
|
|
173
|
+
return (_jsx(Button, { ...anchor, ref: ref, type: "button", variant: "invisible", size: "small", "aria-label": label, leadingVisual: kind === 'servers' ? McpIcon : BriefcaseIcon, "data-equipment-menu": kind, "data-equipment-source": declared ? 'declared' : 'live', children: _jsx(Text, { sx: { fontSize: 0, fontVariantNumeric: 'tabular-nums' }, children: count }) }));
|
|
174
|
+
});
|
|
175
|
+
/**
|
|
176
|
+
* The MCP servers or the skills, from a dot or from the footer: the same
|
|
177
|
+
* overlay either way. A dot with nothing to say is not drawn; the footer's
|
|
178
|
+
* menu says "none".
|
|
179
|
+
*/
|
|
180
|
+
export function EquipmentMenu({ kind, trigger, lists, switches, }) {
|
|
181
|
+
const rows = kind === 'servers' ? lists.servers : lists.skills;
|
|
182
|
+
const { status, count, summary } = summaryOf(kind, rows, lists.declared);
|
|
183
|
+
if (trigger === 'dot' && status === 'none') {
|
|
184
|
+
return null;
|
|
185
|
+
}
|
|
186
|
+
const label = `${TITLES[kind]} — ${summary}`;
|
|
187
|
+
return (_jsxs(ActionMenu, { children: [_jsx(ActionMenu.Anchor, { children: _jsx(Tooltip, { text: label, direction: "n", children: trigger === 'dot' ? (_jsx(DotTrigger, { kind: kind, status: status, label: label })) : (_jsx(ButtonTrigger, { kind: kind, count: count, label: label, declared: lists.declared })) }) }), _jsx(ActionMenu.Overlay, { side: "outside-top", align: trigger === 'dot' ? 'end' : 'start', width: "large", children: _jsx(Box, { maxHeight: "60vh", overflowY: "auto", children: _jsx(EquipmentPanel, { kind: kind, lists: lists, switches: switches }) }) })] }));
|
|
98
188
|
}
|
|
99
189
|
/**
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* one
|
|
190
|
+
* An application's model, to read: chosen by its builder, the same for
|
|
191
|
+
* everyone. Every model it may run on, the one in use marked, an unusable
|
|
192
|
+
* one with why. Not drawn when no model is known.
|
|
103
193
|
*/
|
|
104
|
-
export function
|
|
105
|
-
const
|
|
106
|
-
|
|
194
|
+
export function EquipmentModelMenu({ equipment, }) {
|
|
195
|
+
const models = equipment.models.map(modelRow);
|
|
196
|
+
const current = equipment.models.find(model => model.current);
|
|
197
|
+
if (models.length === 0) {
|
|
198
|
+
return null;
|
|
199
|
+
}
|
|
200
|
+
const summary = current
|
|
201
|
+
? `${current.name}, of ${models.length} it may run on`
|
|
202
|
+
: `${models.length} it may run on`;
|
|
203
|
+
const label = `${EQUIPMENT_WORDS.model} — ${summary}`;
|
|
204
|
+
const declared = equipment.modelsSource === 'declared';
|
|
205
|
+
return (_jsxs(ActionMenu, { children: [_jsx(ActionMenu.Anchor, { children: _jsx(Tooltip, { text: label, direction: "n", children: _jsx(Button, { type: "button", variant: "invisible", size: "small", "aria-label": label, leadingVisual: AiModelIcon, "data-equipment-menu": "model", "data-equipment-source": declared ? 'declared' : 'live', children: _jsx(Text, { sx: {
|
|
107
206
|
fontSize: 0,
|
|
108
|
-
fontVariantNumeric: 'tabular-nums',
|
|
109
207
|
maxWidth: 160,
|
|
110
208
|
overflow: 'hidden',
|
|
111
209
|
textOverflow: 'ellipsis',
|
|
@@ -114,43 +212,8 @@ export function EquipmentMenu({ kind, icon, title, rows, count, summary, empty,
|
|
|
114
212
|
verticalAlign: 'bottom',
|
|
115
213
|
// A model's name is long: on a phone its icon stands alone,
|
|
116
214
|
// and the tooltip and the menu say which.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
const tone = TONES[row.tone];
|
|
122
|
-
return (_jsxs(ActionList.Item, {
|
|
123
|
-
// Read, not chosen: the menu stays open.
|
|
124
|
-
onSelect: event => event.preventDefault(), "aria-label": rowWords(row), "data-equipment-row": row.id, "data-equipment-on": row.on ? 'true' : 'false', sx: row.on ? undefined : { color: 'fg.muted' }, children: [row.name, _jsx(ActionList.TrailingVisual, { children: _jsx(Text, { sx: {
|
|
125
|
-
fontSize: '11px',
|
|
126
|
-
px: '6px',
|
|
127
|
-
py: '1px',
|
|
128
|
-
borderRadius: 999,
|
|
129
|
-
bg: tone.bg,
|
|
130
|
-
color: tone.fg,
|
|
131
|
-
whiteSpace: 'nowrap',
|
|
132
|
-
}, children: row.state }) }), row.reason || row.note ? (_jsx(ActionList.Description, { variant: "block", children: [row.reason, row.note].filter(Boolean).join(' · ') })) : null] }, row.id));
|
|
133
|
-
}))] }) }), _jsxs(Box, { px: 3, py: 2, borderTop: "1px solid", borderColor: "border.muted", "data-equipment-note": "", children: [_jsx(Text, { sx: { fontSize: 0, color: 'fg.muted', display: 'block' }, children: EQUIPMENT_WORDS.readOnly }), declared ? (_jsx(Text, { sx: { fontSize: 0, color: 'fg.muted', display: 'block' }, children: EQUIPMENT_WORDS.declared })) : null] })] }) })] }));
|
|
134
|
-
}
|
|
135
|
-
const of = (on, all, declared) => declared ? String(all) : `${on}/${all}`;
|
|
136
|
-
/** The three menus, in the order of an agent chat's selectors: tools, skills, model. */
|
|
137
|
-
export function EquipmentBar({ equipment, }) {
|
|
138
|
-
const declared = equipment.source === 'declared';
|
|
139
|
-
const servers = equipment.servers.map(serverRow);
|
|
140
|
-
const skills = equipment.skills.map(skillRow);
|
|
141
|
-
const models = equipment.models.map(modelRow);
|
|
142
|
-
const serversOn = servers.filter(row => row.on).length;
|
|
143
|
-
const skillsOn = skills.filter(row => row.on).length;
|
|
144
|
-
const current = equipment.models.find(model => model.current);
|
|
145
|
-
return (_jsxs(Box, { display: "inline-flex", alignItems: "center", role: "group", "aria-label": "What this application runs with", "data-equipment-bar": equipment.source, children: [_jsx(EquipmentMenu, { kind: "servers", icon: McpIcon, title: EQUIPMENT_WORDS.servers, rows: servers, count: of(serversOn, servers.length, declared), summary: servers.length === 0
|
|
146
|
-
? 'none'
|
|
147
|
-
: declared
|
|
148
|
-
? `${servers.length} declared`
|
|
149
|
-
: `${serversOn} of ${servers.length} running`, empty: EQUIPMENT_WORDS.none.servers, declared: declared }), _jsx(EquipmentMenu, { kind: "skills", icon: BriefcaseIcon, title: EQUIPMENT_WORDS.skills, rows: skills, count: of(skillsOn, skills.length, declared), summary: skills.length === 0
|
|
150
|
-
? 'none'
|
|
151
|
-
: declared
|
|
152
|
-
? `${skills.length} declared`
|
|
153
|
-
: `${skillsOn} of ${skills.length} active`, empty: EQUIPMENT_WORDS.none.skills, declared: declared }), models.length > 0 ? (_jsx(EquipmentMenu, { kind: "model", icon: AiModelIcon, title: EQUIPMENT_WORDS.model, rows: models, count: current?.name ?? String(models.length), summary: current
|
|
154
|
-
? `${current.name}, of ${models.length} it may run on`
|
|
155
|
-
: `${models.length} it may run on`, declared: equipment.modelsSource === 'declared', align: "end" })) : null] }));
|
|
215
|
+
'@media (max-width: 480px)': { display: 'none' },
|
|
216
|
+
}, children: current?.name ?? String(models.length) }) }) }) }), _jsx(ActionMenu.Overlay, { side: "outside-top", align: "end", width: "medium", children: _jsxs(Box, { maxHeight: "60vh", overflowY: "auto", children: [_jsx(ActionList, { "aria-label": EQUIPMENT_WORDS.model, children: _jsxs(ActionList.Group, { children: [_jsxs(ActionList.GroupHeading, { children: [EQUIPMENT_WORDS.model, " \u00B7 ", summary] }), models.map(row => (_jsxs(ActionList.Item, {
|
|
217
|
+
// Read, not chosen: the menu stays open.
|
|
218
|
+
onSelect: event => event.preventDefault(), "aria-label": rowWords(row), "data-equipment-row": row.id, "data-equipment-on": row.on ? 'true' : 'false', sx: row.on ? undefined : { color: 'fg.muted' }, children: [row.name, _jsx(ActionList.TrailingVisual, { children: _jsx(StatePill, { row: row }) }), row.reason ? (_jsx(ActionList.Description, { variant: "block", children: row.reason })) : null] }, row.id)))] }) }), _jsxs(Box, { px: 3, py: 2, borderTop: "1px solid", borderColor: "border.muted", "data-equipment-note": "", children: [_jsx(Text, { sx: { fontSize: 0, color: 'fg.muted', display: 'block' }, children: EQUIPMENT_WORDS.modelChosen }), declared ? (_jsx(Text, { sx: { fontSize: 0, color: 'fg.muted', display: 'block' }, children: EQUIPMENT_WORDS.declared })) : null] })] }) })] }));
|
|
156
219
|
}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
import type { BuiltinTool
|
|
2
|
-
export declare function ToolsMenu({
|
|
3
|
-
codemodeEnabled: boolean;
|
|
4
|
-
onToggleCodemode?: (enabled: boolean) => void | Promise<void>;
|
|
5
|
-
mcpServers: MCPServerConfig[];
|
|
6
|
-
enabledMcpTools: Map<string, Set<string>>;
|
|
7
|
-
enabledMcpToolCount: number;
|
|
8
|
-
onToggleMcpTool: (serverId: string, toolName: string) => void;
|
|
9
|
-
onToggleAllMcpServerTools: (serverId: string, toolNames: string[], enable: boolean) => void;
|
|
10
|
-
approvedMcpTools: Map<string, Set<string>>;
|
|
11
|
-
onToggleMcpToolApproval: (serverId: string, toolName: string) => void;
|
|
1
|
+
import type { BuiltinTool } from '../../../types';
|
|
2
|
+
export declare function ToolsMenu({ availableTools, availableFrontendTools, }: {
|
|
12
3
|
availableTools: BuiltinTool[];
|
|
13
4
|
/** The frontend tools: the ones the page runs for the agent. */
|
|
14
5
|
availableFrontendTools?: BuiltinTool[];
|
|
@@ -4,15 +4,17 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* Distributed under the terms of the Modified BSD License.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* What the agent may call: the runtime's tools
|
|
8
|
-
* the
|
|
7
|
+
* What the agent may call besides its MCP servers: the runtime's tools and
|
|
8
|
+
* the frontend tools (the ones the page runs), each drawn with its mark. The
|
|
9
|
+
* MCP servers, their tools and codemode are switched in their own overlay
|
|
10
|
+
* (`EquipmentMenu`), the one the composer's MCP dot opens too.
|
|
9
11
|
*
|
|
10
12
|
* @module chat/prompt/menus/ToolsMenu
|
|
11
13
|
*/
|
|
12
|
-
import { Text, Button, ActionMenu, ActionList,
|
|
14
|
+
import { Text, Button, ActionMenu, ActionList, Tooltip } from '@primer/react';
|
|
13
15
|
import { Box } from '@datalayer/primer-addons';
|
|
14
16
|
import { ToolsIcon } from '@primer/octicons-react';
|
|
15
|
-
import { SpecMark, hasMark, marksOfFrontendTool,
|
|
17
|
+
import { SpecMark, hasMark, marksOfFrontendTool, marksOfRuntimeTool, } from '../../marks/index.js';
|
|
16
18
|
/**
|
|
17
19
|
* A tool's mark, as the leading visual of its row: on the name's line.
|
|
18
20
|
*
|
|
@@ -24,8 +26,7 @@ import { SpecMark, hasMark, marksOfFrontendTool, marksOfMcpServer, marksOfRuntim
|
|
|
24
26
|
function leadingMark(marks) {
|
|
25
27
|
return hasMark(marks) ? (_jsx(ActionList.LeadingVisual, { children: _jsx(SpecMark, { icon: marks.icon, emoji: marks.emoji, size: 16 }) })) : null;
|
|
26
28
|
}
|
|
27
|
-
export function ToolsMenu({
|
|
28
|
-
const hasUsableMcpServers = mcpServers.some(server => server.isAvailable);
|
|
29
|
+
export function ToolsMenu({ availableTools, availableFrontendTools = [], }) {
|
|
29
30
|
/*
|
|
30
31
|
* A count, not a word.
|
|
31
32
|
*
|
|
@@ -39,44 +40,8 @@ export function ToolsMenu({ codemodeEnabled, onToggleCodemode, mcpServers, enabl
|
|
|
39
40
|
availableFrontendTools.length > 0
|
|
40
41
|
? `${availableFrontendTools.length} frontend tool${availableFrontendTools.length === 1 ? '' : 's'}`
|
|
41
42
|
: null,
|
|
42
|
-
enabledMcpToolCount > 0 ? `${enabledMcpToolCount} MCP enabled` : null,
|
|
43
|
-
hasUsableMcpServers ? null : 'no MCP server available',
|
|
44
43
|
]
|
|
45
44
|
.filter(Boolean)
|
|
46
45
|
.join(' · ');
|
|
47
|
-
return (_jsxs(ActionMenu, { children: [_jsx(ActionMenu.Anchor, { children: _jsx(Tooltip, { text: `Tools — ${summary}`, direction: "n", children: _jsx(Button, { type: "button", variant: "invisible", size: "small", "aria-label": `Tools — ${summary}`, leadingVisual: ToolsIcon, children: _jsx(Text, { sx: { fontSize: 0 }, children: availableTools.length +
|
|
48
|
-
availableFrontendTools.length +
|
|
49
|
-
enabledMcpToolCount }) }) }) }), _jsx(ActionMenu.Overlay, { side: "outside-top", align: "start", width: "large", children: _jsx(Box, { maxHeight: "60vh", overflowY: "auto", children: _jsxs(ActionList, { children: [_jsx(ActionList.Group, { title: "Codemode", children: _jsxs(Box, { display: "flex", alignItems: "center", justifyContent: "space-between", px: 3, py: 2, borderBottom: "1px solid", borderColor: "border.muted", gap: 2, children: [_jsxs(Box, { flex: 1, minWidth: 0, children: [_jsx(Text, { id: "toggle-codemode", sx: { fontWeight: 'semibold', display: 'block' }, children: "Enable Codemode" }), _jsx(Text, { sx: { fontSize: 0, color: 'fg.muted' }, children: codemodeEnabled
|
|
50
|
-
? 'MCP tools accessible via meta-tools (search_tools, execute_code).'
|
|
51
|
-
: 'Expose MCP tools directly to the model.' })] }), _jsx(ToggleSwitch, { size: "small", checked: codemodeEnabled, disabled: !onToggleCodemode, onClick: () => {
|
|
52
|
-
if (onToggleCodemode) {
|
|
53
|
-
void onToggleCodemode(!codemodeEnabled);
|
|
54
|
-
}
|
|
55
|
-
}, "aria-labelledby": "toggle-codemode" })] }) }), availableTools.length > 0 ? (_jsx(ActionList.Group, { title: "Tools", children: availableTools.map(tool => (_jsxs(ActionList.Item, { disabled: true, children: [leadingMark(marksOfRuntimeTool(tool.name)), tool.name] }, tool.id))) })) : null, availableFrontendTools.length > 0 ? (_jsx(ActionList.Group, { title: "Frontend tools", children: availableFrontendTools.map(tool => (_jsxs(ActionList.Item, { disabled: true, children: [leadingMark(marksOfFrontendTool(tool.name)), tool.name] }, tool.id))) })) : null, mcpServers.length > 0 && hasUsableMcpServers ? (mcpServers.map(server => {
|
|
56
|
-
const serverTools = enabledMcpTools.get(server.id);
|
|
57
|
-
const allToolNames = server.tools.map(t => t.name);
|
|
58
|
-
const enabledCount = serverTools?.size ?? 0;
|
|
59
|
-
const allEnabled = enabledCount === allToolNames.length &&
|
|
60
|
-
allToolNames.length > 0;
|
|
61
|
-
const serverMarks = marksOfMcpServer(server);
|
|
62
|
-
return (_jsxs(ActionList.Group, { title: `${server.name}${server.isAvailable ? '' : ' (unavailable)'}`, children: [server.isAvailable && server.tools.length > 0 && (_jsxs(Box, { display: "flex", alignItems: "center", justifyContent: "space-between", px: 3, py: 2, borderBottom: "1px solid", borderColor: "border.muted", children: [_jsxs(Box, { display: "flex", alignItems: "center", gap: 2, children: [hasMark(serverMarks) && (_jsx(SpecMark, { icon: serverMarks.icon, emoji: serverMarks.emoji, size: 16 })), _jsxs(Text, { id: `toggle-all-${server.id}`, sx: {
|
|
63
|
-
fontSize: 0,
|
|
64
|
-
fontWeight: 'semibold',
|
|
65
|
-
color: 'fg.muted',
|
|
66
|
-
}, children: ["Enable all (", enabledCount, "/", allToolNames.length, ")"] })] }), _jsx(ToggleSwitch, { size: "small", checked: allEnabled, onClick: () => onToggleAllMcpServerTools(server.id, allToolNames, !allEnabled), "aria-labelledby": `toggle-all-${server.id}` })] })), server.isAvailable && server.tools.length > 0 ? (server.tools.map(tool => {
|
|
67
|
-
const isEnabled = serverTools?.has(tool.name) ?? false;
|
|
68
|
-
const serverApproved = approvedMcpTools.get(server.id);
|
|
69
|
-
// Tools default to NOT approved — user must explicitly
|
|
70
|
-
// approve each one (matches the Skills approval UX).
|
|
71
|
-
const isApproved = serverApproved?.has(tool.name) ?? false;
|
|
72
|
-
return (_jsxs(Box, { display: "flex", alignItems: "center", justifyContent: "space-between", px: 3, py: 2, hover: { backgroundColor: 'canvas.subtle' }, children: [_jsxs(Box, { flex: 1, minWidth: 0, children: [_jsx(Text, { id: `toggle-tool-${server.id}-${tool.name}`, sx: { fontWeight: 'semibold' }, children: tool.name }), tool.description && (_jsx(Text, { sx: {
|
|
73
|
-
display: 'block',
|
|
74
|
-
fontSize: 0,
|
|
75
|
-
color: 'fg.muted',
|
|
76
|
-
overflow: 'hidden',
|
|
77
|
-
textOverflow: 'ellipsis',
|
|
78
|
-
whiteSpace: 'nowrap',
|
|
79
|
-
}, children: tool.description }))] }), _jsxs(Box, { display: "flex", alignItems: "center", gap: 3, children: [_jsxs(Box, { display: "flex", flexDirection: "column", alignItems: "center", gap: "2px", children: [_jsx(Text, { sx: { fontSize: '10px', color: 'fg.muted' }, children: "Enabled" }), _jsx(ToggleSwitch, { size: "small", checked: isEnabled, onClick: () => onToggleMcpTool(server.id, tool.name), "aria-labelledby": `toggle-tool-${server.id}-${tool.name}` })] }), _jsxs(Box, { display: "flex", flexDirection: "column", alignItems: "center", gap: "2px", children: [_jsx(Text, { sx: { fontSize: '10px', color: 'fg.muted' }, children: "Approved" }), _jsx(ToggleSwitch, { size: "small", checked: isApproved, onClick: () => onToggleMcpToolApproval(server.id, tool.name), "aria-labelledby": `toggle-tool-${server.id}-${tool.name}` })] })] })] }, `${server.id}-${tool.name}`));
|
|
80
|
-
})) : server.isAvailable ? (_jsx(ActionList.Item, { disabled: true, children: _jsx(Text, { sx: { color: 'fg.muted', fontStyle: 'italic' }, children: "No tools discovered" }) })) : (_jsx(ActionList.Item, { disabled: true, children: _jsx(Text, { sx: { color: 'fg.muted', fontStyle: 'italic' }, children: "Server unavailable" }) }))] }, server.id));
|
|
81
|
-
})) : (_jsx(ActionList.Group, { title: "No MCP Servers", children: _jsx(ActionList.Item, { disabled: true, children: _jsx(Text, { sx: { color: 'fg.muted', fontStyle: 'italic' }, children: "No MCP Servers" }) }) }))] }) }) })] }));
|
|
46
|
+
return (_jsxs(ActionMenu, { children: [_jsx(ActionMenu.Anchor, { children: _jsx(Tooltip, { text: `Tools — ${summary}`, direction: "n", children: _jsx(Button, { type: "button", variant: "invisible", size: "small", "aria-label": `Tools — ${summary}`, leadingVisual: ToolsIcon, children: _jsx(Text, { sx: { fontSize: 0 }, children: availableTools.length + availableFrontendTools.length }) }) }) }), _jsx(ActionMenu.Overlay, { side: "outside-top", align: "start", width: "large", children: _jsx(Box, { maxHeight: "60vh", overflowY: "auto", children: _jsxs(ActionList, { children: [availableTools.length > 0 ? (_jsx(ActionList.Group, { title: "Tools", children: availableTools.map(tool => (_jsxs(ActionList.Item, { disabled: true, children: [leadingMark(marksOfRuntimeTool(tool.name)), tool.name] }, tool.id))) })) : null, availableFrontendTools.length > 0 ? (_jsx(ActionList.Group, { title: "Frontend tools", children: availableFrontendTools.map(tool => (_jsxs(ActionList.Item, { disabled: true, children: [leadingMark(marksOfFrontendTool(tool.name)), tool.name] }, tool.id))) })) : null, availableTools.length + availableFrontendTools.length === 0 ? (_jsx(ActionList.Item, { disabled: true, children: _jsx(Text, { sx: { color: 'fg.muted', fontStyle: 'italic' }, children: "No tools" }) })) : null] }) }) })] }));
|
|
82
47
|
}
|