@datalayer/agent-runtimes 1.6.72 → 1.6.74
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-JEKCQYM4.js → AgentDetails-LhuDov4Q.js} +1 -1
- package/dist-embed/chunks/{AgentDetailsDialog-NAMvdHyL.js → AgentDetailsDialog-DMTVgMus.js} +1 -1
- package/dist-embed/chunks/AgentInspector-DwJHlEsw.js +1 -0
- package/dist-embed/chunks/{AgentInspectorDialog-CyHzEFe4.js → AgentInspectorDialog-WpVv_yIt.js} +1 -1
- package/dist-embed/chunks/{CellSidebarExtension-Dx_Rm2j5.js → CellSidebarExtension-DwGg7VbR.js} +7 -7
- package/dist-embed/chunks/{ChatView-IgMCIcQU.js → ChatView-eRieNBDa.js} +1 -1
- package/dist-embed/chunks/{CollapsiblePlugin-Cw8Q8IWz.js → CollapsiblePlugin-DS2HZl7a.js} +1 -1
- package/dist-embed/chunks/{ContextPie-krf-G4Ja.js → ContextPie-C0N8hwmj.js} +1 -1
- package/dist-embed/chunks/{DeckComponent-CGTzTPwI.js → DeckComponent-1aJoEglD.js} +2 -2
- package/dist-embed/chunks/{DocumentView-BM7pVo1r.js → DocumentView-CaVDL8X7.js} +1 -1
- package/dist-embed/chunks/{EphemeralDocument--_i7ghFX.js → EphemeralDocument-SeXQLZbi.js} +1 -1
- package/dist-embed/chunks/{EphemeralNotebook-DVY3SPVf.js → EphemeralNotebook-DrL1r8Nx.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawComponent-CGM8z5XO.js → ExcalidrawComponent-CoZvA0u7.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawModal-4MXeDi6L.js → ExcalidrawModal-Czd2Kx8H.js} +1 -1
- package/dist-embed/chunks/{JupyterLexicalExtension-BGj3tSI6.js → JupyterLexicalExtension-Du1Loz2o.js} +29 -29
- package/dist-embed/chunks/{KernelVariables-DLBQe0HT.js → KernelVariables-CmWkosM8.js} +1 -1
- package/dist-embed/chunks/{LexicalToolRegistry-CxKoI0Fi.js → LexicalToolRegistry-BZUJ9wvF.js} +1 -1
- package/dist-embed/chunks/{NotebookToolSurfaces-BcUESGXl.js → NotebookToolSurfaces-m37Crb7c.js} +1 -1
- package/dist-embed/chunks/{NotebookView-CyxaVN-O.js → NotebookView-DeCxHOph.js} +1 -1
- package/dist-embed/chunks/{Output-DePHyrJp.js → Output-CJVIj3Io.js} +6 -6
- package/dist-embed/chunks/{SandboxDetailsDialog-V-oSQL_u.js → SandboxDetailsDialog-B4_0r2A_.js} +1 -1
- package/dist-embed/chunks/{SchemaForm-Cnusp_g9.js → SchemaForm-9JmMbUiD.js} +1 -1
- package/dist-embed/chunks/{SheetTabs-wZqQpkX8.js → SheetTabs-DJLVReVo.js} +2 -2
- package/dist-embed/chunks/{SpreadsheetPreviewView-DljhwLEp.js → SpreadsheetPreviewView-BGdz5D65.js} +1 -1
- package/dist-embed/chunks/{SpreadsheetView-BuUfKXea.js → SpreadsheetView-BvCWGCsx.js} +1 -1
- package/dist-embed/chunks/{WidgetVariableView-C-NLJIdO.js → WidgetVariableView-B9KgSbhv.js} +1 -1
- package/dist-embed/chunks/{YouTubePlugin-CasHY3Io.js → YouTubePlugin-DtVTIrdm.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-Din4lNdn.js → abnfDiagram-VCTEODGH-BG9Jt7Hr.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-GnaR64st.js → abnfDiagram-VCTEODGH-CvZ8usho.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-BSmEjUJk.js → abnfDiagram-VCTEODGH-DN0kRlog.js} +1 -1
- package/dist-embed/chunks/{ar-SA-G6X2FPQ2-DxZmaXSr.js → ar-SA-G6X2FPQ2-C-nP9nq8.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-B0gp8U3r.js → architectureDiagram-5GKGNRK7-87FtCsnw.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-ByAYkSMW.js → architectureDiagram-5GKGNRK7-Bwqgkba9.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-Cy6c9GhS.js → architectureDiagram-5GKGNRK7-DRfUn2vu.js} +1 -1
- package/dist-embed/chunks/{az-AZ-76LH7QW2-D6_hI1qP.js → az-AZ-76LH7QW2-WoAwmwN_.js} +1 -1
- package/dist-embed/chunks/{bg-BG-XCXSNQG7-DD3spkPC.js → bg-BG-XCXSNQG7-SLqAK6qo.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-868be97b-SJGV5uMV.js → blockDiagram-868be97b-CH6k87Wa.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-CJlW5z_T.js → blockDiagram-I7D4REHJ-BWHrrqXo.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-zXh6gZYF.js → blockDiagram-I7D4REHJ-BjLfxD7u.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-Clrwi7_Q.js → blockDiagram-I7D4REHJ-DUfJri3_.js} +1 -1
- package/dist-embed/chunks/{bn-BD-2XOGV67Q-H0zOOYPr.js → bn-BD-2XOGV67Q-DfCeTaG1.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-3f4bdde3-CXvPU5ga.js → c4Diagram-3f4bdde3-ufrtLRrD.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-p14SIG7V.js → c4Diagram-7LVT6UL2-BK8yvli2.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-CZvEIDdH.js → c4Diagram-7LVT6UL2-C-0ZQ8Xa.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-BWQ9xHoN.js → c4Diagram-7LVT6UL2-O_rZefrz.js} +1 -1
- package/dist-embed/chunks/{ca-ES-6MX7JW3Y-DQlAuxYC.js → ca-ES-6MX7JW3Y-1rV8dCez.js} +1 -1
- package/dist-embed/chunks/{celltoolbartracker-D5H7qtOH.js → celltoolbartracker-B_UScIax.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-DXFGVRZV.js → chunk-2Q5K7J3B-BFUbUsBE.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-BkzWX8eg.js → chunk-2Q5K7J3B-BX9u1bBi.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-CWx-QJ0-.js → chunk-2Q5K7J3B-DiqqlJZw.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-Ciba-ybC.js → chunk-5VM5RSS4-BbOPwJfe.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-DgSzeVg9.js → chunk-5VM5RSS4-D4N_xxBJ.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-O8p7luYq.js → chunk-5VM5RSS4-box8kQsT.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-Bo5boRfj.js → chunk-F27PBJKO-BUeWPnw5.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-CZHz6AS9.js → chunk-F27PBJKO-CQM02DXR.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-BzBvJLmh.js → chunk-F27PBJKO-DPF3nC8g.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-BJR6rkFo.js → chunk-IMKFNOWR-CPIe37ka.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-DODKl-4z.js → chunk-IMKFNOWR-DAOxV09i.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-Csfu1kFU.js → chunk-IMKFNOWR-rg2BEcj6.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-BVXd-ICe.js → chunk-JWPE2WC7-BGdc9-bH.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-Bf4pFlIJ.js → chunk-JWPE2WC7-NvLQtuoq.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-nWjEvJWR.js → chunk-JWPE2WC7-QIDUQRBr.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-DhNnPwZp.js → chunk-POPQ4Y6H-BgR92oKl.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-DsBRlZYP.js → chunk-POPQ4Y6H-Cl1oUaAM.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-s1yt1ZtK.js → chunk-POPQ4Y6H-DWWKSDND.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-CsFEUe5B.js → chunk-SVP7TREG-BGHt1HDi.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-4yrBA5Q8.js → chunk-SVP7TREG-DtwPtAP8.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-8oKVa2mm.js → chunk-SVP7TREG-lMq3S-u-.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-InZQ5ZEH.js → chunk-TICWLB2K-BdUzhQPw.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-Br51vTwj.js → chunk-TICWLB2K-CaVrVRpm.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-CSCMv_QA.js → chunk-TICWLB2K-D6WJ64X6.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-Y8pSpMzF.js → chunk-XXDRQBXY-BU32lP3z.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-sm2AIgJ5.js → chunk-XXDRQBXY-CjAMT3RS.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-B76itibr.js → chunk-XXDRQBXY-CtNPThT-.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-CoxSb8Y6.js → classDiagram-ZZMXUADV-9x2pAf81.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-BjEOw29S.js → classDiagram-ZZMXUADV-Cy9bb-Ja.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-G9WI_1Zg.js → classDiagram-ZZMXUADV-HBhnoh6h.js} +1 -1
- package/dist-embed/chunks/{classDiagram-f62afe4f-C7V9AhQG.js → classDiagram-f62afe4f-DKREECyJ.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-604399ef-D5fT6Dr7.js → classDiagram-v2-604399ef-CQ5TgOQe.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-CoxSb8Y6.js → classDiagram-v2-VYDZK3BY-9x2pAf81.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-BjEOw29S.js → classDiagram-v2-VYDZK3BY-Cy9bb-Ja.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-G9WI_1Zg.js → classDiagram-v2-VYDZK3BY-HBhnoh6h.js} +1 -1
- package/dist-embed/chunks/{code-block-IT6T5CEO-C2SgK78N.js → code-block-IT6T5CEO-B1q5VFMK.js} +1 -1
- package/dist-embed/chunks/{component-D06eSJe4.js → component-CHd9jmXQ.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-C73aLaB-.js → cose-bilkent-JH36ORCC-DFWJgtSE.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-DCtKiRmD.js → cose-bilkent-JH36ORCC-DGrxjlJ4.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-3hKxz2TJ.js → cose-bilkent-JH36ORCC-F97qu5nX.js} +1 -1
- package/dist-embed/chunks/{createText-aed3d8b3-BW8KnfYh.js → createText-aed3d8b3-B1Tmb4Mr.js} +1 -1
- package/dist-embed/chunks/{cs-CZ-2BRQDIVT-DF0QlWYl.js → cs-CZ-2BRQDIVT-SF5YII-L.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-BSwaTAfL.js → cynefinDiagram-5FMLGOSQ-BZ1LtKUy.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-NWammrfO.js → cynefinDiagram-5FMLGOSQ-CR7crOrC.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-DLyDkFEh.js → cynefinDiagram-5FMLGOSQ-DhFh7Gts.js} +1 -1
- package/dist-embed/chunks/{da-DK-5WZEPLOC-DZpohvgg.js → da-DK-5WZEPLOC-nd3n1KuA.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-CPu-St26.js → dagre-GXQ25YYZ-4P90jeEC.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-ZuXkHh9P.js → dagre-GXQ25YYZ-BpWd0wTo.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-DTWZ8vY1.js → dagre-GXQ25YYZ-MXGi4287.js} +1 -1
- package/dist-embed/chunks/{de-DE-XR44H4JA-BcvwLNFI.js → de-DE-XR44H4JA-DxoPxuG0.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-ERKr1j6v.js → diagram-S7CK7UJ4-Ccq8-Zxr.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-RBcSDktx.js → diagram-S7CK7UJ4-DhLnfG8J.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-ewBgYmRN.js → diagram-S7CK7UJ4-xgW0lqt_.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-B-f2Afei.js → diagram-UQ7AKVKN-Csc8IuSs.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-CGNA7gub.js → diagram-UQ7AKVKN-DM05uJg0.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-BQVu3Qe-.js → diagram-UQ7AKVKN-vfaPVBIp.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-GkbP6NMy.js → diagram-VSXAHHWV-BpkflTV8.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-DRVoe_PH.js → diagram-VSXAHHWV-C0Dte6B4.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-CTQu2IBp.js → diagram-VSXAHHWV-ChcqzpvG.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-CaynSBjY.js → diagram-VX7I27RA-D3eZ6yyK.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-B_LkfTnq.js → diagram-VX7I27RA-DA3s85ZI.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-DHwSWNj4.js → diagram-VX7I27RA-DFBWpFKi.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-BSrrfEXq.js → diagram-Z3DM3KII-BPDco9BP.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-D0Xt6xwn.js → diagram-Z3DM3KII-CWv5dRb1.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-BZ9tmKdd.js → diagram-Z3DM3KII-DpwpLNON.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-CqUNJWps.js → ebnfDiagram-PWID7BFC-BrHZve2O.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-DN2tb-X8.js → ebnfDiagram-PWID7BFC-CeZcQDV3.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-Dk5WVIim.js → ebnfDiagram-PWID7BFC-ZbRTmpLY.js} +1 -1
- package/dist-embed/chunks/{edges-b2856ca0-C7Oyg_aM.js → edges-b2856ca0-CHQtJW0X.js} +1 -1
- package/dist-embed/chunks/{el-GR-BZB4AONW-BFYxkU9G.js → el-GR-BZB4AONW-B_p1F0WP.js} +1 -1
- package/dist-embed/chunks/{erDiagram-5d81789a-ow68WqFY.js → erDiagram-5d81789a-7uQXDmYP.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BsU1EeJN.js → erDiagram-RLTQ6QDP-CmahDLTF.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-Dk34WMaW.js → erDiagram-RLTQ6QDP-DO7X3O5w.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BTXMcY7Y.js → erDiagram-RLTQ6QDP-QI_LQlaL.js} +1 -1
- package/dist-embed/chunks/{es-ES-U4NZUMDT-DfsrGpW8.js → es-ES-U4NZUMDT-BWCUsoic.js} +1 -1
- package/dist-embed/chunks/{esm-BuDeg2OK.js → esm-M4z_FfnQ.js} +1 -1
- package/dist-embed/chunks/{esm-8_0YCB2q.js → esm-itrlzhnT.js} +1 -1
- package/dist-embed/chunks/{eu-ES-A7QVB2H4-C4M9A--a.js → eu-ES-A7QVB2H4-QqCRXKSF.js} +1 -1
- package/dist-embed/chunks/{fa-IR-HGAKTJCU-Dz5YhtO5.js → fa-IR-HGAKTJCU-C0NVSF_c.js} +1 -1
- package/dist-embed/chunks/{fi-FI-Z5N7JZ37-XjyQSB_d.js → fi-FI-Z5N7JZ37-BP_C4Wwz.js} +1 -1
- package/dist-embed/chunks/{flowDb-185abca5-Cs4mMxhw.js → flowDb-185abca5-BmhWH32g.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-1629c991-CHvSNikI.js → flowDiagram-1629c991-oMWtc4C3.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-DP1PWdQF.js → flowDiagram-HODETNUW-CgvZqEVs.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-DNjEQlAR.js → flowDiagram-HODETNUW-CmuRDMmw.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-DXLXSKI7.js → flowDiagram-HODETNUW-Cy-T1qw4.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-v2-1d953310-eV94YCy9.js → flowDiagram-v2-1d953310-OG6RhgdC.js} +1 -1
- package/dist-embed/chunks/{flowchart-elk-definition-6df44142-6xYb0NnW.js → flowchart-elk-definition-6df44142-I8LO2x_c.js} +1 -1
- package/dist-embed/chunks/{fr-FR-RHASNOE6-VH6OvmOI.js → fr-FR-RHASNOE6-B1_hgegA.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-3b0b3873-BplyF8AP.js → ganttDiagram-3b0b3873-Ch394Td4.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-DmwhuzrV.js → ganttDiagram-EL5Y4UJY-DjmeWOsd.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-UWTfR8VF.js → ganttDiagram-EL5Y4UJY-iVAJV8uC.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Qz5HuyzZ.js → ganttDiagram-EL5Y4UJY-sX30iW6f.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-CF5nE-hV.js → gitGraphDiagram-WWUBYQGX-BuldyYGe.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-BUlSUrle.js → gitGraphDiagram-WWUBYQGX-CVcSYkDK.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-kicEF2lX.js → gitGraphDiagram-WWUBYQGX-CeOMDDRZ.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-Bhx3RNmO.js → gitGraphDiagram-f01e8bc2-CfNzWqtG.js} +1 -1
- package/dist-embed/chunks/{gl-ES-HMX3MZ6V-DD5-fm7n.js → gl-ES-HMX3MZ6V-BhVM3-ho.js} +1 -1
- package/dist-embed/chunks/{he-IL-6SHJWFNN-CJ6dYqWM.js → he-IL-6SHJWFNN-oud0_kOl.js} +1 -1
- package/dist-embed/chunks/{hi-IN-IWLTKZ5I-CGMlTAed.js → hi-IN-IWLTKZ5I-CD6iySjh.js} +1 -1
- package/dist-embed/chunks/{hu-HU-A5ZG7DT2-B62Sv99K.js → hu-HU-A5ZG7DT2-DXuEZMlE.js} +1 -1
- package/dist-embed/chunks/{id-ID-SAP4L64H-OcuSDAR-.js → id-ID-SAP4L64H-C-E1a9_p.js} +1 -1
- package/dist-embed/chunks/{index-Botot3k_.js → index-86hxexQA.js} +2 -2
- package/dist-embed/chunks/{index-9bae90f3-C-Eph-LM.js → index-9bae90f3-BZE71ijg.js} +1 -1
- package/dist-embed/chunks/{index-QUGTBUbz.js → index-BMY48-7N.js} +2 -2
- package/dist-embed/chunks/{index-Df2MkvAW.js → index-CLB4KPZs.js} +4 -4
- package/dist-embed/chunks/{index-D-tu7af7.js → index-CShCHnof.js} +1 -1
- package/dist-embed/chunks/{index-B9R5Oy-_.js → index-CXSUknte.js} +1 -1
- package/dist-embed/chunks/{index-CzDD-mUF.js → index-CaEDkyBB.js} +2 -2
- package/dist-embed/chunks/{index-DjDXWGO2.js → index-CvKH_NYI.js} +2 -2
- package/dist-embed/chunks/{index-BBAQAg8z.js → index-DakHBTji.js} +1 -1
- package/dist-embed/chunks/{index-DObGLuCI.js → index-s25RSqvt.js} +4 -4
- package/dist-embed/chunks/{index.esm-Ct20ZUrP.js → index.esm-CDmg415B.js} +1 -1
- package/dist-embed/chunks/{index.esm-KJZmBZvS.js → index.esm-tNe_Tes8.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-DGlJ7Q80.js → infoDiagram-27XIBGKW-CJ3r0yt4.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-Cs7bZlH6.js → infoDiagram-27XIBGKW-ZpA0pyod.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-B4XVsJvC.js → infoDiagram-27XIBGKW-r53wKy7u.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-a29d40f1-qBdv4q0h.js → infoDiagram-a29d40f1-SCeFVgXv.js} +1 -1
- package/dist-embed/chunks/{isEqual-ZTQsAovp.js → isEqual-DXPB_0fo.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-HBIqRNLh.js → ishikawaDiagram-5VMMS53U-CvqPw0ea.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-BIytcjnR.js → ishikawaDiagram-5VMMS53U-DZTg3ecD.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-BB-Kv-Mj.js → ishikawaDiagram-5VMMS53U-DyyVsa6G.js} +1 -1
- package/dist-embed/chunks/{it-IT-JPQ66NNP-1UkMde1K.js → it-IT-JPQ66NNP-iU7kI7qX.js} +1 -1
- package/dist-embed/chunks/{ja-JP-DBVTYXUO-ZHmHs3WT.js → ja-JP-DBVTYXUO-CgiuMyHB.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-C3yCP95B.js → journeyDiagram-3NMN7TZE-Bc9JVKJo.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-Bs6ObzT9.js → journeyDiagram-3NMN7TZE-DAnc386V.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-DEtcUVr2.js → journeyDiagram-3NMN7TZE-MiKYaC2s.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-95396277-D89HQ4tg.js → journeyDiagram-95396277-DT_97eTw.js} +1 -1
- package/dist-embed/chunks/{kaa-6HZHGXH3-C57X5Q7d.js → kaa-6HZHGXH3-kCO_bmZz.js} +1 -1
- package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-BUnQ_56J.js → kab-KAB-ZGHBKWFO-XZlP8YRp.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-CWfihtP5.js → kanban-definition-UXKFOSKX-BkReeSIH.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-_mcHB773.js → kanban-definition-UXKFOSKX-C2nVULib.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-B9DSJpj9.js → kanban-definition-UXKFOSKX-CaaDxJqC.js} +1 -1
- package/dist-embed/chunks/{kk-KZ-P5N5QNE5-CBp9NICk.js → kk-KZ-P5N5QNE5-BYUwHB4m.js} +1 -1
- package/dist-embed/chunks/{km-KH-HSX4SM5Z-MPn8eiKl.js → km-KH-HSX4SM5Z-CUO0IDD-.js} +1 -1
- package/dist-embed/chunks/{ko-KR-MTYHY66A-DqUfCjgF.js → ko-KR-MTYHY66A-CuR4MTdp.js} +1 -1
- package/dist-embed/chunks/{ku-TR-6OUDTVRD-BhyGSJkh.js → ku-TR-6OUDTVRD-CuFtqN6b.js} +1 -1
- package/dist-embed/chunks/{layout-XFc4Od7Z.js → layout-BD_a0kBf.js} +1 -1
- package/dist-embed/chunks/{layout-DTdkd155.js → layout-BjpOdFu2.js} +1 -1
- package/dist-embed/chunks/{layout-D_LOxL0l.js → layout-DQIVAfpO.js} +1 -1
- package/dist-embed/chunks/{lexicalHooks-0KfusRdE.js → lexicalHooks-BM3oRORX.js} +1 -1
- package/dist-embed/chunks/{lib-qL5koKak.js → lib-0t46pS-5.js} +1 -1
- package/dist-embed/chunks/{lib-r8emmCZN.js → lib-B5XoICB9.js} +1 -1
- package/dist-embed/chunks/{lib-DLVOFtf2.js → lib-BXb6Der8.js} +1 -1
- package/dist-embed/chunks/{lib-BuNapvTN.js → lib-BZnIPSNY.js} +1 -1
- package/dist-embed/chunks/{lib-B8QeIpMg.js → lib-B_ADtK-Y.js} +1 -1
- package/dist-embed/chunks/{lib-BKRN5rY4.js → lib-Bf4e9-pt.js} +1 -1
- package/dist-embed/chunks/{lib-5puVfbvR.js → lib-Bj6VnDnz.js} +1 -1
- package/dist-embed/chunks/{lib-B0-V3yWM.js → lib-Bx0zoo2z.js} +1 -1
- package/dist-embed/chunks/{lib-1k8qJMow.js → lib-CBlEbdz_.js} +1 -1
- package/dist-embed/chunks/{lib-DGXPl5aF.js → lib-CEAQckSu.js} +1 -1
- package/dist-embed/chunks/{lib-BDCbvZ5k.js → lib-CJ9ULCcA.js} +1 -1
- package/dist-embed/chunks/{lib-CJ1wJo-A.js → lib-CXURv0CD.js} +1 -1
- package/dist-embed/chunks/{lib-CG1c2su0.js → lib-CqNuA7eJ.js} +1 -1
- package/dist-embed/chunks/{lib-D8ZZk58r.js → lib-CtFV0V1H.js} +11 -11
- package/dist-embed/chunks/{lib-CDTJBLjs.js → lib-DXoXqPR6.js} +4 -4
- package/dist-embed/chunks/{lib-B5oYQnVZ.js → lib-Dfg3vZM8.js} +1 -1
- package/dist-embed/chunks/{lib-D0_SMUcl.js → lib-QwGhpmEd.js} +1 -1
- package/dist-embed/chunks/{lib-eUsLplee.js → lib-WvggSsMk.js} +1 -1
- package/dist-embed/chunks/{lib-M0p61UIz.js → lib-Yguxonvz.js} +1 -1
- package/dist-embed/chunks/{lib-CSk1FKf1.js → lib-eeN6DkZa.js} +1 -1
- package/dist-embed/chunks/{lt-LT-XHIRWOB4-DnzpQbb1.js → lt-LT-XHIRWOB4-TpyDKA3C.js} +1 -1
- package/dist-embed/chunks/{lv-LV-5QDEKY6T-CdDJ-bA0.js → lv-LV-5QDEKY6T-Dz0_ikqR.js} +1 -1
- package/dist-embed/chunks/{mermaid.core-gUuQZ3q0.js → mermaid.core-Dkoaa-_D.js} +5 -5
- package/dist-embed/chunks/{mermaid.core-KTB2Lxd3.js → mermaid.core-meWUGbq7.js} +3 -3
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-Zy7pURli.js → mindmap-definition-YA3MSWOX-1p4XwdjF.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-CmGscTNk.js → mindmap-definition-YA3MSWOX-BxYK9vLg.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-CCpwK8vh.js → mindmap-definition-YA3MSWOX-DQSoT62j.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-e4c1d938-Bx-OHtVA.js → mindmap-definition-e4c1d938-BGiAi0LL.js} +1 -1
- package/dist-embed/chunks/{mr-IN-CRQNXWMA-dch-5wWZ.js → mr-IN-CRQNXWMA-Vbci-IWj.js} +1 -1
- package/dist-embed/chunks/{my-MM-5M5IBNSE-CpBgcBwB.js → my-MM-5M5IBNSE-C0JHZ0Gp.js} +1 -1
- package/dist-embed/chunks/{nb-NO-T6EIAALU-COa2OyCA.js → nb-NO-T6EIAALU-eFOvuJCy.js} +1 -1
- package/dist-embed/chunks/{nl-NL-IS3SIHDZ-CUds_bYU.js → nl-NL-IS3SIHDZ-Din9L_2S.js} +1 -1
- package/dist-embed/chunks/{nn-NO-6E72VCQL-C7gst3vb.js → nn-NO-6E72VCQL-D7cIpOBH.js} +1 -1
- package/dist-embed/chunks/{oc-FR-POXYY2M6-BPpFvRq9.js → oc-FR-POXYY2M6-Bcxv3YfP.js} +1 -1
- package/dist-embed/chunks/{pa-IN-N4M65BXN-CFdnD-54.js → pa-IN-N4M65BXN-IrBb1NlL.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-CRdzWywN.js → pegDiagram-XKGWAZYB-DDgyLvau.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-C1R8Kk6K.js → pegDiagram-XKGWAZYB-GlLsdSxR.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-dwQNJiaW.js → pegDiagram-XKGWAZYB-iCCMOEMa.js} +1 -1
- package/dist-embed/chunks/{percentages-BXMCSKIN-PE_Zr0z2.js → percentages-BXMCSKIN-BaaVroR_.js} +5 -5
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-CH60iHt1.js → pieDiagram-E7YTZNPT-CIfzhxTy.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-IN-ewUih.js → pieDiagram-E7YTZNPT-DIErsg9L.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-Cm-wzRi8.js → pieDiagram-E7YTZNPT-ffhUIieA.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-c941bede-CsV2p2ej.js → pieDiagram-c941bede-JKyix3vD.js} +1 -1
- package/dist-embed/chunks/{pl-PL-T2D74RX3-DC0vXmC3.js → pl-PL-T2D74RX3-bF5WEfvP.js} +1 -1
- package/dist-embed/chunks/{plugin-KPr60ZvH.js → plugin-BFdQv_3f.js} +1 -1
- package/dist-embed/chunks/{pt-BR-5N22H2LF-BOMTxvy-.js → pt-BR-5N22H2LF-K9lAvfY5.js} +1 -1
- package/dist-embed/chunks/{pt-PT-UZXXM6DQ-BoKelgnz.js → pt-PT-UZXXM6DQ-DAlaVYmT.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-mkOZIUHb.js → quadrantDiagram-AXDQQJYC-BE9RPE6m.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-B7W6MWBq.js → quadrantDiagram-AXDQQJYC-D3pxCP4M.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-B1wf6Zth.js → quadrantDiagram-AXDQQJYC-DbYIZcyN.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-ZmcsdB3H.js → quadrantDiagram-cf8b8fe0-C_nd7FeD.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-DrkBEH1z.js → railroadDiagram-O6MQD6OU-CEl2l0ZE.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-B6nFyCFz.js → railroadDiagram-O6MQD6OU-CpXUNzTV.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-DEB7gRmX.js → railroadDiagram-O6MQD6OU-CwaTW3Mo.js} +1 -1
- package/dist-embed/chunks/{renderer-DEJh7EnD.js → renderer-CtmiT4nP.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-53bda41b-B_LQ_xkB.js → requirementDiagram-53bda41b-WVBAkQmj.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-S8WT8VJ1.js → requirementDiagram-BXWQKSXE-Bd0fV1Bn.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-C8d0kJ1A.js → requirementDiagram-BXWQKSXE-ClYVmNTl.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-fKcgNNOv.js → requirementDiagram-BXWQKSXE-sE3y_NEM.js} +1 -1
- package/dist-embed/chunks/{ro-RO-JPDTUUEW-DUoE6b7w.js → ro-RO-JPDTUUEW-kn8FzruZ.js} +1 -1
- package/dist-embed/chunks/{ru-RU-B4JR7IUQ-BvGrQ7oU.js → ru-RU-B4JR7IUQ-iQW1KMip.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-zVvXOpK2.js → sankeyDiagram-P5KCCOFB-BZnLyt_G.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-eNBOyfBR.js → sankeyDiagram-P5KCCOFB-CLR82118.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-C2LowYxA.js → sankeyDiagram-P5KCCOFB-DH-uxGJV.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-c3ef121a-CbZiQf68.js → sankeyDiagram-c3ef121a-CINAq9g5.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-82a5b84f-E5IR2bYb.js → sequenceDiagram-82a5b84f-Bx7xO8lv.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-CYxIlDNg.js → sequenceDiagram-WJ2MYXX4-CxHuil7I.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-C_2alFNp.js → sequenceDiagram-WJ2MYXX4-D00NbcmA.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-fsR56p6L.js → sequenceDiagram-WJ2MYXX4-VyUqwKEJ.js} +1 -1
- package/dist-embed/chunks/{server-extension-BL8WkLTl.js → server-extension-CTAcsVqM.js} +1 -1
- package/dist-embed/chunks/{sessions-HqXTOvV9.js → sessions-LMslHH3H.js} +2 -2
- package/dist-embed/chunks/{si-LK-N5RQ5JYF-DSd6gBaB.js → si-LK-N5RQ5JYF-C1J6zA3p.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-BCe0IiFV.js → sizeCapture-INFHLROL-B_CNNL_v.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-BVaNrAtp.js → sizeCapture-INFHLROL-BhSnrZjU.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-BsZaIjAU.js → sizeCapture-INFHLROL-_h3QW8w5.js} +1 -1
- package/dist-embed/chunks/{sk-SK-C5VTKIMK-CX5Daxph.js → sk-SK-C5VTKIMK-CK9RvjRD.js} +1 -1
- package/dist-embed/chunks/{sl-SI-NN7IZMDC-D5seNheP.js → sl-SI-NN7IZMDC-CcDWOBHp.js} +1 -1
- package/dist-embed/chunks/{state-DeMGhTAB.js → state-CGa66Nqd.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-43e79a5f-DpDccHEJ.js → stateDiagram-43e79a5f-DFrFK9qM.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-DosU0FIz.js → stateDiagram-D77RDMKH-BVJqlFiv.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-ul2eLf5Q.js → stateDiagram-D77RDMKH-CEvuFuTH.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-BUw_L8lD.js → stateDiagram-D77RDMKH-QwBnfyKm.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-Tvcnabbb.js → stateDiagram-v2-2041ed4f-CcaIZYWt.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-Bf-2UYRk.js → stateDiagram-v2-MP3YSRHH-BaZ6xgsr.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-D0rhfnrW.js → stateDiagram-v2-MP3YSRHH-C_JHNwKt.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-DeEmivLr.js → stateDiagram-v2-MP3YSRHH-ok1qePbZ.js} +1 -1
- package/dist-embed/chunks/{styles-455b33cd-CqrAPL5i.js → styles-455b33cd-CAiZEic0.js} +1 -1
- package/dist-embed/chunks/{styles-f932cba9-Dw1HY-mR.js → styles-f932cba9-CEhWf7q3.js} +1 -1
- package/dist-embed/chunks/{styles-fcc2142b-C27pEgaj.js → styles-fcc2142b-v0gPnZ9U.js} +1 -1
- package/dist-embed/chunks/{subset-shared.chunk-X0WjKx8m.js → subset-shared.chunk-C0JvsRAi.js} +1 -1
- package/dist-embed/chunks/{subset-worker.chunk-B_UbRqFW.js → subset-worker.chunk-qynV-rht.js} +1 -1
- package/dist-embed/chunks/{substates-BuHNVWkx.js → substates-Bs9ZMVGa.js} +1 -1
- package/dist-embed/chunks/{sv-SE-XGPEYMSR-C45sq5QB.js → sv-SE-XGPEYMSR-B38oK2Y4.js} +1 -1
- package/dist-embed/chunks/{svgDrawCommon-148a3cd9-CUn_M4Ra.js → svgDrawCommon-148a3cd9-vsaJmSq8.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-CzG-9Sou.js → swimlanes-42K2YHIH-C_43oheZ.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-CIW2hU2l.js → swimlanes-42K2YHIH-CpRw9PHz.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-DOkKP2_2.js → swimlanes-42K2YHIH-DO1ZzP4k.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-Cgj6azeO.js → swimlanesDiagram-VR7AAH4N-BBi0wpOL.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-9yw92Xx_.js → swimlanesDiagram-VR7AAH4N-BYKvE-MW.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BlFZ7eQS.js → swimlanesDiagram-VR7AAH4N-BucpGmoC.js} +1 -1
- package/dist-embed/chunks/{ta-IN-2NMHFXQM-CoxPm9Ew.js → ta-IN-2NMHFXQM-uSQqrrN6.js} +1 -1
- package/dist-embed/chunks/{th-TH-HPSO5L25-Smv8dde_.js → th-TH-HPSO5L25-Cs2r4usA.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-HSOgPjq4.js → timeline-definition-24CTP7MA-C9oiFt1s.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-C9Ed6D0K.js → timeline-definition-24CTP7MA-CRpA2xfq.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-kHlycslq.js → timeline-definition-24CTP7MA-C_RPFzcS.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-7545f45a-CCyhwQdt.js → timeline-definition-7545f45a-diaQHYG7.js} +1 -1
- package/dist-embed/chunks/{tr-TR-DEFEU3FU-DBMN0v-o.js → tr-TR-DEFEU3FU-D8o50B7O.js} +1 -1
- package/dist-embed/chunks/{uk-UA-QMV73CPH-DNvJwc9t.js → uk-UA-QMV73CPH-B5fUoSFX.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-CxvgI2f-.js → vennDiagram-4TSXK5OY-6I3E2S1J.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-7gMUaOyw.js → vennDiagram-4TSXK5OY-ByKQXzaL.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-Dt9fBhlj.js → vennDiagram-4TSXK5OY-C4cLgb45.js} +1 -1
- package/dist-embed/chunks/{vi-VN-M7AON7JQ-D1mitKRR.js → vi-VN-M7AON7JQ-Dj_kFfvZ.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-Bbh5PYAM.js → wardleyDiagram-VM6X3IG4-6QgHmuap.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-6HRbbvDt.js → wardleyDiagram-VM6X3IG4-CLayLpj4.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-AvAVDPLG.js → wardleyDiagram-VM6X3IG4-CnxCRlDr.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-3f383b91-BVsOkv2G.js → xychartDiagram-3f383b91-COn0cE9r.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-VWPR98LV.js → xychartDiagram-S5SC5T6Z-CoRCml5l.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-DNoz1WpS.js → xychartDiagram-S5SC5T6Z-Hrzni--y.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-ZZD1fZ1L.js → xychartDiagram-S5SC5T6Z-RhhCg-yn.js} +1 -1
- package/dist-embed/chunks/{zh-CN-LNUGB5OW-DtmUhdIG.js → zh-CN-LNUGB5OW-CHJxgGXp.js} +1 -1
- package/dist-embed/chunks/{zh-HK-E62DVLB3-BKtdEVTQ.js → zh-HK-E62DVLB3-CLxE_xvU.js} +1 -1
- package/dist-embed/chunks/{zh-TW-RAJ6MFWO-BHnZRfWI.js → zh-TW-RAJ6MFWO-CpEgHY46.js} +1 -1
- package/dist-embed/datalayer-app-main.js +25 -25
- package/lib/apps/agentUiPlugins.js +3 -0
- package/lib/apps/plugins/product-cards/index.d.ts +57 -0
- package/lib/apps/plugins/product-cards/index.js +99 -0
- package/lib/apps/plugins/product-cards/read.d.ts +47 -0
- package/lib/apps/plugins/product-cards/read.js +74 -0
- package/lib/apps/plugins/product-comparison/index.d.ts +2 -1
- package/lib/apps/plugins/product-comparison/index.js +6 -2
- package/lib/apps/plugins/product-comparison/read.d.ts +2 -0
- package/lib/apps/plugins/product-comparison/read.js +2 -1
- package/lib/apps/plugins/shopping-basket/index.d.ts +2 -1
- package/lib/apps/plugins/shopping-basket/index.js +9 -5
- package/lib/apps/plugins/shopping-basket/read.d.ts +2 -0
- package/lib/apps/plugins/shopping-basket/read.js +2 -1
- package/lib/apps/toolCards/productPhoto.d.ts +28 -0
- package/lib/apps/toolCards/productPhoto.js +28 -0
- package/lib/examples/pap/traces/account-tokens.json +1 -1
- package/lib/examples/pap/traces/conversation-control.json +11 -11
- package/lib/examples/pap/traces/conversation-streaming.json +5 -5
- package/lib/examples/pap/traces/mediated-sign-in.json +1 -1
- package/lib/examples/pap/traces/operations.json +23 -23
- package/lib/examples/pap/traces/two-companies.json +25 -25
- package/lib/examples/pap/traces/user-with-a-company.json +14 -14
- package/lib/pap/index.d.ts +4 -4
- package/lib/pap/index.js +6 -11
- package/lib/protocols/pap/index.d.ts +0 -2
- package/lib/protocols/pap/index.js +3 -4
- package/lib/specs/actions.js +7 -0
- package/lib/specs/apps.d.ts +2 -1
- package/lib/specs/apps.js +1081 -38
- package/lib/specs/backendTools.d.ts +5 -0
- package/lib/specs/backendTools.js +102 -2
- package/lib/specs/ui.d.ts +1 -0
- package/lib/specs/ui.js +24 -2
- package/package.json +2 -2
- package/dist-embed/chunks/AgentInspector-a_P_e-b-.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as te,r as z,j as e,B as n,H as F,dv as ae,T as i,v as L,
|
|
1
|
+
import{J as te,r as z,j as e,B as n,H as F,dv as ae,T as i,v as L,fa as Re,fm as le,fn as He,fo as Ve,fp as me,fq as De,fr as qe,fs as Be,ft as Ge,fu as Ke,fv as Je,fw as H,Y as ce,bu as Ye,du as Xe,L as A,b2 as Qe,fx as Ze,fy as et,fz as tt,fA as de,fB as Pe,dt as nt,fC as st,fD as ot,dr as it,I as Oe,f7 as rt,fE as lt,fF as at,fG as ct,fH as dt,fI as ut,fJ as ft,fK as pt,fL as ht,fM as gt,fN as xt,fO as ne,fP as se,ds as mt,fQ as bt}from"../datalayer-app-main.js";import{A as yt}from"./ArrowLeftIcon-sX3iNMG1.js";import{A as jt,T as St,M as Me,U as We,F as wt}from"./UnlinkIcon-fXwOyjzQ.js";import Ie from"./esm-itrlzhnT.js";import{P as $e}from"./index-BaRoLDk0.js";import{A as kt}from"./Avatar-DUPBQXVt.js";import"./index-BhCoJe__.js";function vt(t,s){if(Object.is(t,s))return!0;if(typeof t!="object"||t===null||typeof s!="object"||s===null)return!1;if(t instanceof Map&&s instanceof Map){if(t.size!==s.size)return!1;for(const[l,o]of t)if(!Object.is(o,s.get(l)))return!1;return!0}if(t instanceof Set&&s instanceof Set){if(t.size!==s.size)return!1;for(const l of t)if(!s.has(l))return!1;return!0}const r=Object.keys(t);if(r.length!==Object.keys(s).length)return!1;for(const l of r)if(!Object.prototype.hasOwnProperty.call(s,l)||!Object.is(t[l],s[l]))return!1;return!0}const{useRef:zt}=te;function Ne(t){const s=zt();return r=>{const l=t(r);return vt(s.current,l)?s.current:s.current=l}}function D(t){return t>=1e6?`${(t/1e6).toFixed(1)}M`:t>=1e3?`${(t/1e3).toFixed(1)}K`:t.toString()}function Te(t){if(!Number.isFinite(t)||Number.isNaN(t)||t<0)return"0ms";if(t<1)return`${Math.max(0,Math.round(t*1e3))}ms`;if(t<60)return`${t.toFixed(1)}s`;const s=Math.floor(t/60),r=Math.round(t%60);return`${s}m ${r}s`}function Ct(t){const s=String(t??"");return/[",\n]/.test(s)?`"${s.replace(/"/g,'""')}"`:s}function It(t){const s=[];s.push(["Context Usage Snapshot for Agent",t.agentId]),s.push(["Generated At",new Date().toISOString()]),s.push([]),s.push(["Summary"]),s.push(["Total Tokens",t.totalTokens]),s.push(["Context Window",t.contextWindow]),s.push(["System Prompt Tokens",t.systemPromptTokens]),s.push(["Tool Tokens",t.toolTokens]),s.push(["History Tokens",t.historyTokens]),s.push(["Current Message Tokens",t.currentMessageTokens]),s.push(["User Message Tokens",t.userMessageTokens]),s.push(["Assistant Message Tokens",t.assistantMessageTokens]),s.push([]),t.sessionUsage&&(s.push(["Session Usage"]),s.push(["Input Tokens",t.sessionUsage.inputTokens]),s.push(["Output Tokens",t.sessionUsage.outputTokens]),s.push(["Requests",t.sessionUsage.requests]),s.push(["Tool Calls",t.sessionUsage.toolCalls]),s.push(["Turns",t.sessionUsage.turns]),s.push(["Duration Seconds",t.sessionUsage.durationSeconds]),s.push([])),t.turnUsage&&(s.push(["Last Turn Usage"]),s.push(["Input Tokens",t.turnUsage.inputTokens]),s.push(["Output Tokens",t.turnUsage.outputTokens]),s.push(["Requests",t.turnUsage.requests]),s.push(["Tool Calls",t.turnUsage.toolCalls]),s.push(["Duration Seconds",t.turnUsage.durationSeconds]),s.push([])),s.push(["Distribution"]),s.push(["Category","Tokens"]);for(const c of t.distribution?.children??[])s.push([c.name,c.value]);if(s.push([]),t.perRequestUsage.length>0){s.push(["Per Request Usage"]),s.push(["Request #","Input Tokens","Output Tokens","Duration Ms","Tool Names","Timestamp","Turn ID"]);for(const c of t.perRequestUsage)s.push([c.requestNum,c.inputTokens,c.outputTokens,c.durationMs,c.toolNames.join("; "),c.timestamp??"",c.turnId??""])}const r=s.map(c=>c.map(Ct).join(",")).join(`
|
|
2
2
|
`),l=new Blob([r],{type:"text/csv;charset=utf-8;"}),o=URL.createObjectURL(l),a=document.createElement("a");a.href=o;const d=new Date().toISOString().replace(/[:.]/g,"-");a.download=`context-usage-${t.agentId}-${d}.csv`,a.style.display="none",document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(o)}function Tt(t){switch(t.toLowerCase()){case"messages":case"history":return Ge;case"tools":case"tool definitions":return Be;case"system":case"system prompts":return qe;case"cache":return De;default:return me}}function At({agentId:t,apiBase:s,liveData:r,messageCount:l=0,defaultView:o="overview",chartHeight:a="200px"}){const[d,c]=z.useState(o),[h,f]=z.useState(!1),S=r!==void 0,u=r,b=!S,m=z.useMemo(()=>{if(!u?.perRequestUsage||u.perRequestUsage.length===0)return null;const g=u.perRequestUsage;let C=0,N=0;const B=[],M=[],w=[],X=[];return g.forEach(W=>{C+=W.inputTokens,N+=W.outputTokens,B.push(`#${W.requestNum}`),M.push(C),w.push(N),X.push(C+N)}),{tooltip:{trigger:"axis",formatter:W=>{let U=`<strong>${W[0]?.axisValue||""}</strong><br/>`;return W.forEach($=>{U+=`${$.marker} ${$.seriesName}: ${D($.value)}<br/>`}),U}},legend:{data:["Input","Output","Total"],bottom:0,textStyle:{fontSize:10}},grid:{left:45,right:15,top:10,bottom:35},xAxis:{type:"category",data:B,axisLabel:{fontSize:10}},yAxis:{type:"value",axisLabel:{fontSize:10,formatter:W=>D(W)}},series:[{name:"Input",type:"line",data:M,smooth:!0,lineStyle:{width:2},areaStyle:{opacity:.2},itemStyle:{color:"#3B82F6"}},{name:"Output",type:"line",data:w,smooth:!0,lineStyle:{width:2},areaStyle:{opacity:.2},itemStyle:{color:"#10B981"}},{name:"Total",type:"line",data:X,smooth:!0,lineStyle:{width:2,type:"dashed"},itemStyle:{color:"#8B5CF6"}}]}},[u?.perRequestUsage]),R=z.useMemo(()=>{if(!u?.distribution)return null;const{distribution:g}=u,C=g.children&&g.children.length>0;return{tooltip:{formatter:N=>`${N.name}: ${D(N.value)} tokens`},series:[{type:"treemap",data:C?g.children:[{name:"No data",value:1}],roam:!1,breadcrumb:{show:!1},label:{show:!0,formatter:"{b}",fontSize:11},itemStyle:{borderColor:"#fff",borderWidth:2},levels:[{itemStyle:{borderColor:"#777",borderWidth:0,gapWidth:1}},{itemStyle:{borderColor:"#555",borderWidth:5,gapWidth:1},colorSaturation:[.35,.5]},{colorSaturation:[.35,.5]}]}]}},[u?.distribution]);if(b)return e.jsxs(n,{children:[e.jsx(F,{as:"h4",sx:{fontSize:1,fontWeight:"semibold",mb:2,color:"fg.muted"},children:"Context Usage"}),e.jsxs(n,{p:3,bg:"canvas.subtle",borderRadius:2,border:"1px solid",borderColor:"border.default",display:"flex",alignItems:"center",gap:2,children:[e.jsx(ae,{size:"small"}),e.jsx(i,{sx:{fontSize:1,color:"fg.muted"},children:"Loading context details..."})]})]});if(!u)return e.jsxs(n,{children:[e.jsx(F,{as:"h4",sx:{fontSize:1,fontWeight:"semibold",mb:2,color:"fg.muted"},children:"Context Usage"}),e.jsx(n,{p:3,bg:"attention.subtle",borderRadius:2,border:"1px solid",borderColor:"attention.muted",children:e.jsx(i,{sx:{fontSize:1,color:"attention.fg"},children:"Waiting for context data from WebSocket stream..."})})]});const{totalTokens:P,contextWindow:y,sessionUsage:p,turnUsage:j,distribution:E}=u,I=l>0?l:Math.max(p?.turns??0,u.perRequestUsage?.length>0?1:0),O=E?.children&&E.children.length>0;return e.jsxs(n,{children:[e.jsxs(n,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2,children:[e.jsx(F,{as:"h4",sx:{fontSize:1,fontWeight:"semibold",color:"fg.muted"},children:"Context Usage"}),e.jsxs(n,{display:"flex",alignItems:"center",gap:2,children:[I>0&&e.jsxs(i,{sx:{fontSize:0,color:"fg.muted"},children:[I," ",I===1?"message sent":"messages sent"]}),e.jsx(L,{size:"small",variant:"invisible",leadingVisual:Re,onClick:()=>It(u),children:"Download"})]})]}),e.jsxs(n,{p:3,bg:"canvas.subtle",borderRadius:2,border:"1px solid",borderColor:"border.default",children:[e.jsx(n,{mb:3,children:e.jsxs(i,{sx:{fontSize:1,fontWeight:"semibold"},children:["Total usage: ",D(P)]})}),(p||j)&&e.jsxs(n,{display:"flex",gap:3,mb:3,flexWrap:"wrap",children:[p&&e.jsxs(n,{flex:1,minWidth:120,p:2,bg:"canvas.default",borderRadius:2,border:"1px solid",borderColor:"border.muted",children:[e.jsxs(i,{sx:{fontSize:0,color:"fg.muted",display:"block"},children:["Session (",p.turns," turns)"]}),e.jsx(i,{sx:{fontSize:1,fontWeight:"semibold"},children:D(p.inputTokens+p.outputTokens)}),e.jsxs(i,{sx:{fontSize:0,color:"fg.muted"},children:[" ","in ",Te(p.durationSeconds)]})]}),j&&e.jsxs(n,{flex:1,minWidth:120,p:2,bg:"canvas.default",borderRadius:2,border:"1px solid",borderColor:"border.muted",children:[e.jsxs(i,{sx:{fontSize:0,color:"fg.muted",display:"block"},children:["Last Turn (",j.requests," reqs)"]}),e.jsx(i,{sx:{fontSize:1,fontWeight:"semibold"},children:D(j.inputTokens+j.outputTokens)}),e.jsxs(i,{sx:{fontSize:0,color:"fg.muted"},children:[" ","in ",Te(j.durationSeconds)]})]})]}),e.jsxs(n,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2,children:[e.jsxs(le,{"aria-label":"View mode",size:"small",onChange:g=>{c(["overview","distribution","history"][g])},children:[e.jsx(le.IconButton,{"aria-label":"Overview",selected:d==="overview",icon:He}),e.jsx(le.IconButton,{"aria-label":"Distribution",selected:d==="distribution",icon:jt,disabled:!O}),e.jsx(le.IconButton,{"aria-label":"History",selected:d==="history",icon:Ve})]}),d==="overview"&&e.jsx(L,{size:"small",variant:"invisible",onClick:()=>f(!h),children:h?"Less":"More"})]}),d==="overview"&&e.jsxs(n,{children:[e.jsxs(n,{display:"flex",flexDirection:"column",gap:2,children:[O&&E.children.map(g=>{const C=Tt(g.name),N=g.value/y*100;return e.jsxs(n,{display:"flex",alignItems:"center",gap:2,children:[e.jsx(n,{color:"fg.muted",width:20,children:e.jsx(C,{size:16})}),e.jsx(i,{sx:{fontSize:1,flex:1},children:g.name}),e.jsx(i,{sx:{fontSize:0,color:"fg.muted",minWidth:60},children:D(g.value)}),e.jsx(n,{width:80,children:e.jsx($e,{progress:N,sx:{height:4}})})]},g.name)}),!O&&e.jsx(i,{sx:{color:"fg.muted",fontSize:1,textAlign:"center",py:2},children:"No context data yet. Start a conversation to see usage."})]}),h&&O&&e.jsxs(n,{mt:3,p:2,bg:"canvas.default",borderRadius:2,border:"1px solid",borderColor:"border.muted",fontSize:0,children:[u.systemPromptTokens>0&&e.jsxs(n,{mb:2,children:[e.jsxs(i,{sx:{fontWeight:"semibold"},children:["System Prompts:"," ",D(u.systemPromptTokens)," tokens"]}),u.systemPrompts.slice(0,2).map((g,C)=>e.jsxs(i,{sx:{display:"block",ml:2,mt:1,color:"fg.muted"},children:["•"," ",g.length>80?g.slice(0,80)+"...":g]},C))]}),u.toolTokens>0&&e.jsxs(n,{mb:2,children:[e.jsxs(i,{sx:{fontWeight:"semibold"},children:["Tools: ",D(u.toolTokens)," tokens (",u.tools.length," tools)"]}),e.jsxs(n,{ml:2,mt:1,children:[u.tools.slice(0,4).map((g,C)=>e.jsxs(i,{sx:{display:"block",color:"fg.muted"},children:["• ",g.name,": ",D(g.totalTokens)]},C)),u.tools.length>4&&e.jsxs(i,{sx:{color:"fg.muted",fontStyle:"italic"},children:["...and ",u.tools.length-4," more"]})]})]}),(u.userMessageTokens>0||u.assistantMessageTokens>0)&&e.jsxs(n,{mb:2,children:[e.jsxs(i,{sx:{fontWeight:"semibold"},children:["Messages:"," ",D(u.userMessageTokens+u.assistantMessageTokens)," ","tokens"]}),e.jsxs(n,{ml:2,mt:1,children:[e.jsxs(i,{sx:{display:"block",color:"fg.muted"},children:["• User: ",D(u.userMessageTokens)]}),e.jsxs(i,{sx:{display:"block",color:"fg.muted"},children:["• Assistant:"," ",D(u.assistantMessageTokens)]}),u.toolCallTokens>0&&e.jsxs(i,{sx:{display:"block",color:"fg.muted"},children:["• Tool calls:"," ",D(u.toolCallTokens)]})]})]})]})]}),d==="distribution"&&R&&e.jsx(Ie,{option:R,style:{height:a},opts:{renderer:"svg"}}),d==="history"&&m&&e.jsxs(n,{children:[e.jsx(Ie,{option:m,style:{height:a},opts:{renderer:"svg"}}),h&&u.perRequestUsage.length>0&&e.jsx(n,{mt:2,maxHeight:"150px",overflowY:"auto",fontSize:0,children:u.perRequestUsage.slice(-10).reverse().map((g,C)=>e.jsxs(n,{display:"flex",gap:2,py:1,borderBottom:C<9?"1px solid":"none",borderColor:"border.muted",children:[e.jsxs(i,{sx:{fontWeight:"semibold",minWidth:30},children:["#",g.requestNum]}),e.jsxs(i,{sx:{color:"#3B82F6"},children:["↓",D(g.inputTokens)]}),e.jsxs(i,{sx:{color:"#10B981"},children:["↑",D(g.outputTokens)]}),g.toolNames.length>0&&e.jsxs(i,{sx:{color:"fg.muted"},children:["🔧 ",g.toolNames.join(", ")]})]},g.requestNum))})]}),d==="history"&&!m&&e.jsx(n,{py:3,children:e.jsx(i,{sx:{color:"fg.muted",fontSize:1},children:"No history"})})]})]})}function q(t){return t>=1e6?`${(t/1e6).toFixed(1)}M`:t>=1e3?`${(t/1e3).toFixed(1)}K`:t.toString()}function ee({title:t,icon:s,count:r,tokens:l,defaultExpanded:o=!1,children:a}){const[d,c]=z.useState(o);return e.jsxs(n,{mb:2,children:[e.jsxs(n,{as:"button",onClick:()=>c(!d),display:"flex",alignItems:"center",gap:2,width:"100%",p:2,bg:"canvas.subtle",border:"1px solid",borderColor:"border.default",borderRadius:2,cursor:"pointer",hover:{bg:"canvas.inset"},children:[d?e.jsx(Ye,{size:16}):e.jsx(Xe,{size:16}),te.createElement(s,{size:16}),e.jsx(i,{sx:{fontWeight:"semibold",flex:1,textAlign:"left"},children:t}),r!==void 0&&e.jsx(A,{variant:"secondary",size:"small",children:r}),l!==void 0&&l>0&&e.jsxs(i,{sx:{fontSize:0,color:"fg.muted"},children:[q(l)," tokens"]})]}),d&&e.jsx(n,{border:"1px solid",borderColor:"border.default",borderTop:"none",borderRadius:"0 0 6px 6px",p:2,children:a})]})}function Et({tool:t}){const[s,r]=z.useState(!1),[l,o]=z.useState(!1);return e.jsxs(n,{p:2,mb:2,bg:"canvas.default",border:"1px solid",borderColor:"border.muted",borderRadius:2,children:[e.jsxs(n,{display:"flex",alignItems:"center",gap:2,mb:1,children:[e.jsx(i,{sx:{fontWeight:"bold",fontFamily:"mono",fontSize:1},children:t.name}),e.jsx(A,{size:"small",variant:"secondary",children:t.sourceType}),t.isAsync&&e.jsx(A,{size:"small",variant:"accent",children:"async"}),t.requiresApproval&&e.jsx(A,{size:"small",variant:"attention",children:"requires approval"}),e.jsxs(i,{sx:{fontSize:0,color:"fg.muted",ml:"auto"},children:[q(t.totalTokens)," tokens"]})]}),t.description&&e.jsx(i,{sx:{fontSize:1,color:"fg.muted",display:"block",mb:2},children:t.description}),e.jsxs(n,{display:"flex",gap:2,children:[e.jsxs(L,{size:"small",variant:"invisible",onClick:()=>r(!s),children:[s?"Hide":"Show"," Schema"]}),t.sourceCode&&e.jsxs(L,{size:"small",variant:"invisible",onClick:()=>o(!l),children:[l?"Hide":"Show"," Source"]})]}),s&&e.jsx(n,{as:"pre",mt:2,p:2,bg:"canvas.inset",borderRadius:2,fontSize:0,overflow:"auto",maxHeight:200,children:JSON.stringify(t.parametersSchema,null,2)}),l&&t.sourceCode&&e.jsx(n,{as:"pre",mt:2,p:2,bg:"canvas.inset",borderRadius:2,fontSize:0,overflow:"auto",maxHeight:300,children:t.sourceCode})]})}function Ut({agentId:t,apiBase:s,liveData:r}){const l=r!==void 0,o=r;if(!l)return e.jsx(n,{p:3,display:"flex",alignItems:"center",justifyContent:"center",children:e.jsx(i,{sx:{color:"fg.muted"},children:"Waiting for context data from WebSocket stream..."})});if(!o)return e.jsx(n,{p:3,bg:"attention.subtle",borderRadius:2,border:"1px solid",borderColor:"attention.muted",children:e.jsx(i,{sx:{color:"attention.fg"},children:"No context data available."})});if(o.error)return e.jsx(n,{p:3,bg:"attention.subtle",borderRadius:2,border:"1px solid",borderColor:"attention.muted",children:e.jsx(i,{sx:{color:"attention.fg"},children:o.error})});const{tokenSummary:a,modelConfiguration:d}=o;return e.jsxs(n,{children:[e.jsxs(n,{mb:3,children:[e.jsxs(i,{sx:{fontSize:1,fontWeight:"semibold"},children:["Total usage: ",q(a.total)," /"," ",q(a.contextWindow)," (",Math.round(a.usagePercent),"%)"]}),e.jsx($e,{progress:Math.min(a.usagePercent,100),sx:{mt:2,height:8},bg:a.usagePercent>90?"danger.emphasis":a.usagePercent>70?"attention.emphasis":"success.emphasis"}),e.jsxs(n,{display:"flex",gap:3,mt:2,flexWrap:"wrap",fontSize:0,color:"fg.muted",children:[e.jsxs(i,{children:["System: ",q(a.systemPrompts)]}),e.jsxs(i,{children:["Tools: ",q(a.tools)]}),a.memory>0&&e.jsxs(i,{children:["Memory: ",q(a.memory)]}),e.jsxs(i,{children:["History: ",q(a.history)]}),e.jsxs(i,{children:["Current: ",q(a.current)]})]})]}),e.jsx(ee,{title:"Model Configuration",icon:Ke,defaultExpanded:!1,children:e.jsxs(n,{display:"grid",gridTemplateColumns:"1fr 2fr",gap:2,children:[e.jsx(i,{sx:{fontWeight:"semibold",fontSize:1},children:"Model:"}),e.jsx(i,{sx:{fontSize:1,fontFamily:"mono"},children:d.modelName||"Not specified"}),e.jsx(i,{sx:{fontWeight:"semibold",fontSize:1},children:"Context Window:"}),e.jsxs(i,{sx:{fontSize:1},children:[q(d.contextWindow)," tokens"]}),Object.keys(d.settings).length>0&&e.jsxs(e.Fragment,{children:[e.jsx(i,{sx:{fontWeight:"semibold",fontSize:1},children:"Settings:"}),e.jsx(n,{as:"pre",fontSize:0,p:2,bg:"canvas.inset",borderRadius:2,overflow:"auto",children:JSON.stringify(d.settings,null,2)})]})]})}),e.jsx(ee,{title:"System Prompts",icon:Je,count:o.systemPrompts.length,tokens:o.systemPromptTokens,children:o.systemPrompts.length===0?e.jsx(i,{sx:{color:"fg.muted",fontSize:1},children:"No system prompts configured"}):o.systemPrompts.map((c,h)=>e.jsxs(n,{p:2,mb:2,bg:"canvas.inset",borderRadius:2,border:"1px solid",borderColor:"border.muted",children:[e.jsxs(n,{display:"flex",justifyContent:"space-between",mb:1,children:[e.jsxs(i,{sx:{fontWeight:"semibold",fontSize:0},children:["Prompt ",h+1]}),e.jsxs(i,{sx:{fontSize:0,color:"fg.muted"},children:[q(c.tokens)," tokens"]})]}),e.jsx(i,{as:"pre",sx:{fontSize:0,whiteSpace:"pre-wrap",wordBreak:"break-word",maxHeight:200,overflow:"auto"},children:c.content})]},h))}),e.jsx(ee,{title:"Tool Definitions",icon:St,count:o.tools.length,tokens:o.toolTokens,children:o.tools.length===0?e.jsx(i,{sx:{color:"fg.muted",fontSize:1},children:"No tools configured"}):o.tools.map((c,h)=>e.jsx(Et,{tool:c},h))}),o.memoryBlocks.length>0&&e.jsx(ee,{title:"Memory Blocks",icon:De,count:o.memoryBlocks.length,tokens:o.memoryTokens,children:o.memoryBlocks.map((c,h)=>e.jsx(n,{as:"pre",p:2,mb:2,bg:"canvas.inset",borderRadius:2,fontSize:0,overflow:"auto",children:JSON.stringify(c,null,2)},h))}),Object.keys(o.toolEnvironment).length>0&&e.jsx(ee,{title:"Tool Environment",icon:H,count:Object.keys(o.toolEnvironment).length,children:e.jsx(n,{display:"grid",gridTemplateColumns:"1fr 2fr",gap:2,children:Object.entries(o.toolEnvironment).map(([c,h])=>e.jsxs(te.Fragment,{children:[e.jsx(i,{sx:{fontFamily:"mono",fontSize:1,fontWeight:"semibold"},children:c}),e.jsx(i,{sx:{fontFamily:"mono",fontSize:1,color:"fg.muted"},children:h})]},c))})}),o.toolRules.length>0&&e.jsx(ee,{title:"Tool Rules",icon:ce,count:o.toolRules.length,children:o.toolRules.map((c,h)=>e.jsx(n,{as:"pre",p:2,mb:2,bg:"canvas.inset",borderRadius:2,fontSize:0,overflow:"auto",children:JSON.stringify(c,null,2)},h))})]})}const ye={provider:"github",displayName:"GitHub",iconUrl:"https://github.githubassets.com/favicons/favicon.svg",authorizationUrl:"https://github.com/login/oauth/authorize",tokenUrl:"https://github.com/login/oauth/access_token",userInfoUrl:"https://api.github.com/user",revocationUrl:"https://api.github.com/applications/{client_id}/token",defaultScopes:["read:user","user:email"]},je={provider:"google",displayName:"Google",iconUrl:"https://www.google.com/favicon.ico",authorizationUrl:"https://accounts.google.com/o/oauth2/v2/auth",tokenUrl:"https://oauth2.googleapis.com/token",userInfoUrl:"https://www.googleapis.com/oauth2/v2/userinfo",revocationUrl:"https://oauth2.googleapis.com/revoke",defaultScopes:["openid","email","profile"],additionalParams:{access_type:"offline",prompt:"consent"}},Se={provider:"kaggle",displayName:"Kaggle",iconUrl:"https://www.kaggle.com/static/images/favicon.ico",authorizationUrl:"https://www.kaggle.com/oauth/authorize",tokenUrl:"https://www.kaggle.com/oauth/token",userInfoUrl:"https://www.kaggle.com/api/v1/me",defaultScopes:["datasets:read","notebooks:read"]};function _t(t=64){const s=Math.max(43,Math.min(128,t)),r=new Uint8Array(s);return crypto.getRandomValues(r),we(r)}async function Rt(t){const r=new TextEncoder().encode(t),l=await crypto.subtle.digest("SHA-256",r);return we(new Uint8Array(l))}function Dt(){const t=new Uint8Array(32);return crypto.getRandomValues(t),we(t)}function we(t){let s="";const r=new Uint8Array(t);for(let l=0;l<r.length;l++)s+=String.fromCharCode(r[l]);return s=btoa(s),s.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}async function Pt(){const t=_t(),s=await Rt(t);return{codeVerifier:t,codeChallenge:s}}const Ot="datalayer-agent-identities",Ae="/api/v1/identity/oauth/token",Mt="/api/v1/identity/oauth/userinfo",Wt="/api/v1/identity/oauth/revoke",$t={identities:new Map,pendingAuthorization:null,providerConfigs:new Map,isLoading:!1,error:null};function Nt(t,s,r,l){const o=new URLSearchParams({client_id:t.clientId,redirect_uri:t.redirectUri,response_type:"code",scope:s.join(" "),state:r,code_challenge:l,code_challenge_method:"S256",...t.additionalParams});return`${t.authorizationUrl}?${o.toString()}`}const T=Qe()(Ze(et(tt((t,s)=>({...$t,configureProvider:r=>{t(l=>{const o=new Map(l.providerConfigs);return o.set(r.provider,r),{providerConfigs:o}})},startAuthorization:async(r,l,o)=>{const d=s().providerConfigs.get(r);if(!d)throw new Error(`Provider ${r} is not configured`);const{codeVerifier:c,codeChallenge:h}=await Pt(),f=Dt(),S=l||d.defaultScopes,u=Nt(d,S,f,h),b={requestId:`auth-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,provider:r,authUrl:u,state:f,codeVerifier:c,scopes:S,requestedAt:Date.now(),onComplete:o?.onComplete,onError:o?.onError};return t({pendingAuthorization:b,error:null}),u},completeAuthorization:async r=>{const l=s(),o=l.pendingAuthorization;if(!o)throw new Error("No pending authorization request");if(r.state!==o.state){const a=new Error("State mismatch - possible CSRF attack");throw o.onError?.(a),t({pendingAuthorization:null,error:a}),a}if(r.error){const a=new Error(r.errorDescription||r.error);throw o.onError?.(a),t({pendingAuthorization:null,error:a}),a}t({isLoading:!0});try{const a=l.providerConfigs.get(o.provider);if(!a)throw new Error(`Provider ${o.provider} is not configured`);const d=a.redirectUri.split("/").slice(0,3).join("/"),c=await fetch(`${d}${Ae}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:o.provider,code:r.code,code_verifier:o.codeVerifier,redirect_uri:a.redirectUri})});if(!c.ok){const b=await c.json().catch(()=>({}));throw new Error(b.detail||`Token exchange failed: ${c.status}`)}const h=await c.json(),f={accessToken:h.access_token,tokenType:h.token_type||"Bearer",expiresAt:h.expires_in?Date.now()+h.expires_in*1e3:void 0,refreshToken:h.refresh_token,scopes:o.scopes};let S;if(a.userInfoUrl)try{const b=await fetch(`${d}${Mt}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:o.provider,access_token:f.accessToken})});if(b.ok){const m=await b.json();S={id:m.id?.toString()||m.sub,username:m.login||m.username,name:m.name,email:m.email,avatarUrl:m.avatar_url||m.picture,profileUrl:m.html_url||m.profile,raw:m}}}catch(b){console.warn("Failed to fetch user info:",b)}const u={provider:o.provider,displayName:a.displayName,iconUrl:a.iconUrl,scopes:o.scopes,isConnected:!0,connectedAt:Date.now(),userInfo:S,token:f};return t(b=>{const m=new Map(b.identities);return m.set(o.provider,u),{identities:m,pendingAuthorization:null,isLoading:!1,error:null}}),o.onComplete?.(u),u}catch(a){const d=a instanceof Error?a:new Error(String(a));throw o.onError?.(d),t({isLoading:!1,error:d,pendingAuthorization:null}),d}},cancelAuthorization:()=>{const r=s().pendingAuthorization;r?.onError&&r.onError(new Error("Authorization cancelled")),t({pendingAuthorization:null})},connectWithToken:async(r,l,o)=>{t({isLoading:!0,error:null});try{const a={accessToken:l,tokenType:"Bearer",scopes:[]},d={kaggle:{displayName:"Kaggle",iconUrl:"https://www.kaggle.com/static/images/favicon.ico"}}[r]||{displayName:r,iconUrl:void 0},c={provider:r,authType:"token",displayName:o?.displayName||d.displayName,iconUrl:o?.iconUrl||d.iconUrl,scopes:[],isConnected:!0,connectedAt:Date.now(),userInfo:o?.userInfo,token:a};return t(h=>{const f=new Map(h.identities);return f.set(r,c),{identities:f,isLoading:!1,error:null}}),c}catch(a){const d=a instanceof Error?a:new Error(String(a));throw t({isLoading:!1,error:d}),d}},disconnect:async r=>{const l=s(),o=l.identities.get(r),a=l.providerConfigs.get(r);if(!o||!o.token){t(d=>{const c=new Map(d.identities);return c.delete(r),{identities:c}});return}if(o.authType==="token"){t(d=>{const c=new Map(d.identities);return c.delete(r),{identities:c}});return}if(a?.revocationUrl)try{const d=a.redirectUri.split("/").slice(0,3).join("/");await fetch(`${d}${Wt}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:r,access_token:o.token.accessToken})})}catch(d){console.warn("Failed to revoke token:",d)}t(d=>{const c=new Map(d.identities);return c.delete(r),{identities:c}})},refreshToken:async r=>{const l=s(),o=l.identities.get(r),a=l.providerConfigs.get(r);if(!o||!o.token?.refreshToken)throw new Error(`No refresh token available for ${r}`);if(!a)throw new Error(`Provider ${r} is not configured`);const d=a.redirectUri.split("/").slice(0,3).join("/"),c=await fetch(`${d}${Ae}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:r,grant_type:"refresh_token",refresh_token:o.token.refreshToken})});if(!c.ok)throw new Error(`Token refresh failed: ${c.status}`);const h=await c.json(),f={accessToken:h.access_token,tokenType:h.token_type||"Bearer",expiresAt:h.expires_in?Date.now()+h.expires_in*1e3:void 0,refreshToken:h.refresh_token||o.token.refreshToken,scopes:o.scopes};return t(S=>{const u=new Map(S.identities);return u.set(r,{...o,token:f}),{identities:u}}),f},getIdentity:r=>s().identities.get(r),isConnected:r=>s().identities.get(r)?.isConnected??!1,getToken:async r=>{const o=s().identities.get(r);if(!o||!o.token)return null;const a=o.token.expiresAt;if(a&&a-Date.now()<300*1e3){if(o.token.refreshToken)try{return await s().refreshToken(r)}catch(d){return console.warn("Token refresh failed:",d),null}return null}return o.token},clearAll:()=>{t({identities:new Map,pendingAuthorization:null,error:null})},setError:r=>{t({error:r})}}),{name:Ot,storage:{getItem:t=>{const s=localStorage.getItem(t);if(!s)return null;const r=JSON.parse(s),l=new URLSearchParams(window.location.search),o=l.has("code")&&l.has("state");return{state:{...r.state,identities:new Map(r.state.identities||[]),providerConfigs:new Map(r.state.providerConfigs||[]),pendingAuthorization:o&&r.state.pendingAuthorization||null,isLoading:!1,error:null}}},setItem:(t,s)=>{const r={state:{...s.state,identities:Array.from(s.state.identities.entries()),providerConfigs:Array.from(s.state.providerConfigs.entries()),pendingAuthorization:s.state.pendingAuthorization?{...s.state.pendingAuthorization,onComplete:void 0,onError:void 0}:null,isLoading:!1,error:null}};localStorage.setItem(t,JSON.stringify(r))},removeItem:t=>localStorage.removeItem(t)},partialize:t=>({identities:t.identities,providerConfigs:t.providerConfigs,pendingAuthorization:t.pendingAuthorization})})),{name:"IdentityStore"}));function Lt(){return T(Ne(t=>Array.from(t.identities.values()).filter(s=>s.isConnected)))}function Ft(){return T(Ne(t=>Array.from(t.identities.entries()).filter(([s,r])=>r.isConnected).map(([s])=>s)))}function Ht(){return T(t=>t.pendingAuthorization)}function Vt(){return T(t=>t.isLoading)}function qt(){return T(t=>t.error)}function pe(t){const s=T.getState();t.github&&s.configureProvider({...ye,clientId:t.github.clientId,redirectUri:t.github.redirectUri}),t.google&&s.configureProvider({...je,clientId:t.google.clientId,redirectUri:t.google.redirectUri}),t.kaggle&&s.configureProvider({...Se,clientId:t.kaggle.clientId,redirectUri:t.kaggle.redirectUri})}function ke(t={}){const{providers:s,baseUrl:r=typeof window<"u"?window.location.origin:"",callbackPath:l=typeof window<"u"?window.location.pathname:"/oauth/callback",autoHandleCallback:o=!0}=t,a=Lt(),d=Ft(),c=Ht(),h=Vt(),f=qt(),S=T(x=>x.startAuthorization),u=T(x=>x.completeAuthorization),b=T(x=>x.cancelAuthorization),m=T(x=>x.disconnect),R=T(x=>x.getIdentity),P=T(x=>x.isConnected),y=T(x=>x.getToken),p=T(x=>x.configureProvider);z.useEffect(()=>{if(!s)return;const x=`${r}${l}`;s.github&&pe({github:{clientId:s.github.clientId,redirectUri:s.github.redirectUri||x}}),s.google&&pe({google:{clientId:s.google.clientId,redirectUri:s.google.redirectUri||x}}),s.kaggle&&pe({kaggle:{clientId:s.kaggle.clientId,redirectUri:s.kaggle.redirectUri||x}}),s.custom&&s.custom.forEach(U=>{p(U)})},[s,r,l,p]),z.useEffect(()=>{if(!o||typeof window>"u")return;const x=new URLSearchParams(window.location.search),U=x.get("code"),$=x.get("state"),G=x.get("error"),V=x.get("error_description");(U&&$||G)&&u({code:U||"",state:$||"",error:G||void 0,errorDescription:V||void 0}).then(()=>{const K=window.location.pathname;window.history.replaceState({},"",K)}).catch(K=>{console.error("OAuth callback error:",K);const Q=window.location.pathname;window.history.replaceState({},"",Q)})},[o,u]);const j=z.useCallback(async(x,U)=>{const $=await S(x,U);window.location.href=$},[S]),E=z.useCallback(async(x,U)=>{const $=await S(x,U,{onComplete:()=>{},onError:()=>{}});return new Promise((G,V)=>{const K=T.getState();K.pendingAuthorization&&(K.pendingAuthorization.onComplete=G,K.pendingAuthorization.onError=V);const Q=600,k=700,ue=window.screenX+(window.outerWidth-Q)/2,v=window.screenY+(window.outerHeight-k)/2,_=window.open($,"oauth_popup",`width=${Q},height=${k},left=${ue},top=${v},toolbar=no,menubar=no`);if(!_){V(new Error("Failed to open popup window"));return}const J=Y=>{if(Y.origin===window.location.origin)if(Y.data?.type==="oauth-callback-success"){window.removeEventListener("message",J),clearInterval(oe),_.close();const ie=Y.data.provider,re=Y.data.identity;if(console.debug("[Identity] Received oauth-callback-success for provider:",ie),console.debug("[Identity] Identity from popup:",re),re){const ve=T.getState().identities,Z=new Map(ve);Z.set(ie,re),T.setState({identities:Z,pendingAuthorization:null}),console.debug("[Identity] Store updated with identity from popup, identities count:",Z.size),G(re);return}setTimeout(()=>{const Z=localStorage.getItem("agent-runtimes-identity");if(console.debug("[Identity] Fallback: reading from localStorage"),Z)try{const Le=JSON.parse(Z).state?.identities||[],fe=new Map(Le).get(ie);if(fe){const Fe=T.getState().identities,Ce=new Map(Fe);Ce.set(ie,fe),T.setState({identities:Ce,pendingAuthorization:null}),G(fe);return}}catch(ze){console.error("[Identity] Failed to parse identity from localStorage:",ze)}T.setState({pendingAuthorization:null}),V(new Error("Identity not found after OAuth success"))},100)}else Y.data?.type==="oauth-callback-error"?(window.removeEventListener("message",J),clearInterval(oe),_.close(),T.setState({pendingAuthorization:null}),V(new Error(Y.data.error||"OAuth authentication failed"))):Y.data?.type==="oauth_callback"&&(window.removeEventListener("message",J),clearInterval(oe),_.close(),u(Y.data.payload).then(G).catch(V))};window.addEventListener("message",J);const oe=setInterval(()=>{_.closed&&(clearInterval(oe),window.removeEventListener("message",J),T.getState().pendingAuthorization&&(b(),V(new Error("Popup closed by user"))))},500)})},[S,u,b]),I=T(x=>x.connectWithToken),O=z.useCallback(async(x,U,$)=>I(x,U,$),[I]),g=z.useCallback(async x=>{await m(x)},[m]),C=z.useCallback(async x=>u(x),[u]),N=z.useCallback(()=>{b()},[b]),B=z.useCallback(x=>P(x),[P]),M=z.useCallback(x=>R(x),[R]),w=z.useCallback(async x=>(await y(x))?.accessToken??null,[y]),X=z.useCallback(x=>{p(x)},[p]),W=c!==null;return z.useMemo(()=>({identities:a,connectedProviders:d,isAuthorizing:W,isLoading:h,error:f,pendingAuthorization:c,connect:j,connectWithPopup:E,connectWithToken:O,disconnect:g,completeAuthorization:C,cancelAuthorization:N,isConnected:B,getIdentity:M,getAccessToken:w,configureProvider:X}),[a,d,W,h,f,c,j,E,O,g,C,N,B,M,w,X])}const Ee={github:{name:"GitHub",icon:Me,color:"#24292f",description:"Access GitHub repositories and APIs"},google:{name:"Google",icon:H,color:"#4285f4",description:"Access Google services and APIs"},kaggle:{name:"Kaggle",icon:H,color:"#20beff",description:"Access Kaggle datasets and notebooks"},linkedin:{name:"LinkedIn",icon:H,color:"#0077b5",description:"Access LinkedIn profile and connections"},slack:{name:"Slack",icon:H,color:"#4a154b",description:"Access Slack workspaces and channels"},notion:{name:"Notion",icon:H,color:"#000000",description:"Access Notion pages and databases"},custom:{name:"Custom",icon:de,color:"#6f42c1",description:"Custom OAuth provider"}},Bt={github:["read:user","user:email"],google:["openid","profile","email"],kaggle:["read"],linkedin:["r_liteprofile","r_emailaddress"],slack:["users:read","channels:read"],notion:["read_content"],custom:[]},Gt=({provider:t,clientId:s,providerConfig:r,scopes:l,disabled:o=!1,size:a="medium",variant:d="full",onConnect:c,onDisconnect:h,onError:f})=>{const{identities:S,isAuthorizing:u,error:b,connectWithPopup:m,disconnect:R,configureProvider:P}=ke(),y=Ee[t]||Ee.custom,p=S.find(g=>g.provider===t),j=!!p,E=u;te.useEffect(()=>{if(s){const g=t==="github"?ye:t==="google"?je:t==="kaggle"?Se:void 0;if(g){const C=r?.redirectUri||(typeof window<"u"?`${window.location.origin}${window.location.pathname}`:"");P({...g,...r,provider:t,clientId:s,redirectUri:C})}}},[s,t,r,P]);const I=z.useCallback(async()=>{try{if(j)await R(t),h?.(t);else{const g=await m(t,l||Bt[t]);c?.(g)}}catch(g){const C=g instanceof Error?g.message:String(g);C!=="Popup closed by user"&&f?.(g instanceof Error?g:new Error(C))}},[j,t,l,m,R,c,h,f]);te.useEffect(()=>{b&&f?.(b instanceof Error?b:new Error(String(b)))},[b,f]);const O={onClick:I,disabled:o||E||!s&&!j,size:a==="large"?"large":a==="small"?"small":"medium"};return d==="icon"?e.jsx(L,{...O,variant:j?"primary":"default","aria-label":j?`Disconnect ${y.name}`:`Connect ${y.name}`,sx:{width:a==="small"?28:a==="large"?44:36,height:a==="small"?28:a==="large"?44:36,p:0},children:E?e.jsx(n,{as:"span",className:"anim-rotate",display:"inline-block",children:"⏳"}):e.jsx(y.icon,{size:a==="small"?14:18})}):d==="compact"?e.jsx(L,{...O,variant:j?"primary":"default",leadingVisual:y.icon,trailingVisual:j?Pe:void 0,children:E?"Connecting...":y.name}):e.jsxs(n,{display:"flex",flexDirection:"column",gap:2,p:2,border:"1px solid",borderColor:j?"success.muted":"border.default",borderRadius:2,backgroundColor:j?"success.subtle":"canvas.subtle",children:[e.jsxs(n,{display:"flex",alignItems:"center",gap:2,children:[e.jsx(n,{width:40,height:40,borderRadius:2,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:y.color,color:"white",children:e.jsx(y.icon,{size:20})}),e.jsxs(n,{flex:1,children:[e.jsx(i,{sx:{fontWeight:"bold",display:"block"},children:y.name}),e.jsx(i,{sx:{fontSize:0,color:"fg.muted",display:"block"},children:j&&p?.userInfo?`Connected as ${p.userInfo.name||p.userInfo.email}`:y.description})]}),!j&&e.jsx(L,{...O,variant:"primary",leadingVisual:de,children:E?"Working...":"Connect"})]}),j&&p&&e.jsxs(n,{display:"flex",flexDirection:"column",gap:2,children:[e.jsxs(n,{display:"flex",alignItems:"center",gap:2,pl:1,children:[p.userInfo?.avatarUrl&&e.jsx("a",{href:p.userInfo.profileUrl||`https://github.com/${p.userInfo.username}`,target:"_blank",rel:"noopener noreferrer",style:{display:"block",lineHeight:0},children:e.jsx("img",{src:p.userInfo.avatarUrl,alt:p.userInfo.name||"User avatar",style:{width:32,height:32,borderRadius:"50%",cursor:"pointer"}})}),e.jsxs(n,{flex:1,children:[p.userInfo?.username&&e.jsx("a",{href:p.userInfo.profileUrl||`https://github.com/${p.userInfo.username}`,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none"},children:e.jsxs(i,{sx:{fontSize:1,color:"fg.muted",display:"block",":hover":{textDecoration:"underline"}},children:["@",p.userInfo.username]})}),e.jsx(i,{sx:{fontSize:0,color:"fg.muted",display:"block"},children:p.token?.expiresAt?`Expires ${new Date(p.token.expiresAt).toLocaleDateString()}`:"Token does not expire"})]})]}),p.scopes&&p.scopes.length>0&&e.jsx(n,{display:"flex",flexWrap:"wrap",gap:1,pl:1,children:p.scopes.map(g=>e.jsx(i,{sx:{fontSize:0,px:2,py:1,bg:"neutral.muted",borderRadius:2,color:"fg.muted"},children:g},g))}),e.jsxs(L,{...O,variant:"danger",leadingVisual:We,children:["Disconnect from ",y.name]})]})]})},Ue={github:{name:"GitHub",icon:Me,color:"#24292f",description:"Access GitHub repositories and APIs"},google:{name:"Google",icon:H,color:"#4285f4",description:"Access Google services and APIs"},kaggle:{name:"Kaggle",icon:H,color:"#20beff",description:"Access Kaggle datasets and notebooks"},linkedin:{name:"LinkedIn",icon:H,color:"#0077b5",description:"Access LinkedIn profile"},slack:{name:"Slack",icon:H,color:"#4a154b",description:"Access Slack workspaces"},notion:{name:"Notion",icon:H,color:"#000000",description:"Access Notion pages"},custom:{name:"Custom",icon:de,color:"#6f42c1",description:"Custom OAuth provider"}},Kt={github:["read:user","user:email","repo"],google:["openid","profile","email"],kaggle:["read"],linkedin:["r_liteprofile","r_emailaddress"],slack:["users:read","channels:read"],notion:["read_content"],custom:[]};function Jt(t){if(!t)return{isExpired:!1,isExpiringSoon:!1};const s=Date.now(),r=new Date(t),l=t-s,o=s-t,a=300*1e3;return{isExpired:l<0,isExpiringSoon:l>0&&l<a,expiresAt:r,timeUntilExpiry:l>0?l:void 0,timeSinceExpiry:l<0?o:void 0}}function he(t){const s=Math.floor(t/1e3),r=Math.floor(s/60),l=Math.floor(r/60),o=Math.floor(l/24);return o>0?o===1?"1 day":`${o} days`:l>0?l===1?"1 hour":`${l} hours`:r>0?r===1?"1 minute":`${r} minutes`:s===1?"1 second":`${s} seconds`}function Yt(t){return t.isExpired&&t.timeSinceExpiry?`Expired ${he(t.timeSinceExpiry)} ago`:t.timeUntilExpiry?t.isExpiringSoon?`Expires in ${he(t.timeUntilExpiry)}`:`Expires in ${he(t.timeUntilExpiry)}`:"Token does not expire"}function Xt({identity:t,providerConfig:s,showExpirationDetails:r=!0,allowReconnect:l=!0,onConnect:o,onDisconnect:a,onError:d}){const{connect:c,disconnect:h,configureProvider:f,isAuthorizing:S}=ke(),u=t.provider,b=Ue[u]||Ue.custom,m=z.useMemo(()=>Jt(t.token?.expiresAt),[t.token?.expiresAt]);te.useEffect(()=>{if(s?.clientId){const y=u==="github"?ye:u==="google"?je:u==="kaggle"?Se:void 0;if(y){const p=s.config?.redirectUri||(typeof window<"u"?`${window.location.origin}${window.location.pathname}`:"");f({...y,...s.config,provider:u,clientId:s.clientId,redirectUri:p})}}},[s,u,f]);const R=z.useCallback(async()=>{try{const y=s?.scopes||Kt[u];await c(u,y)}catch(y){d?.(y instanceof Error?y:new Error(String(y)))}},[u,s?.scopes,c,d]),P=z.useCallback(async()=>{try{await h(u),a?.(u)}catch(y){d?.(y instanceof Error?y:new Error(String(y)))}},[u,h,a,d]);return e.jsxs(n,{display:"flex",flexDirection:"column",gap:2,p:3,border:"1px solid",borderColor:m.isExpired?"danger.muted":m.isExpiringSoon?"attention.muted":"success.muted",borderRadius:2,backgroundColor:m.isExpired?"danger.subtle":m.isExpiringSoon?"attention.subtle":"success.subtle",children:[e.jsxs(n,{display:"flex",alignItems:"center",gap:2,children:[e.jsx(n,{width:32,height:32,borderRadius:2,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:b.color,color:"white",children:e.jsx(b.icon,{size:16})}),e.jsxs(n,{flex:1,display:"flex",alignItems:"center",gap:2,children:[e.jsx(i,{sx:{fontWeight:"semibold",fontSize:1},children:b.name}),e.jsx(A,{size:"small",variant:"secondary",children:t.authType==="token"?"API Key":"OAuth"})]}),m.isExpired?e.jsx(A,{variant:"danger",size:"small",children:e.jsxs(n,{display:"inline-flex",alignItems:"center",gap:1,children:[e.jsx(st,{size:12})," Expired"]})}):m.isExpiringSoon?e.jsx(A,{variant:"attention",size:"small",children:e.jsxs(n,{display:"inline-flex",alignItems:"center",gap:1,children:[e.jsx(me,{size:12})," Expiring Soon"]})}):e.jsx(A,{variant:"success",size:"small",children:e.jsxs(n,{display:"inline-flex",alignItems:"center",gap:1,children:[e.jsx(Pe,{size:12})," Connected"]})})]}),e.jsxs(n,{display:"flex",alignItems:"center",gap:2,children:[t.userInfo?.avatarUrl&&e.jsx("a",{href:t.userInfo.profileUrl||(u==="github"?`https://github.com/${t.userInfo.username}`:void 0),target:"_blank",rel:"noopener noreferrer",style:{display:"block",lineHeight:0},children:e.jsx(kt,{src:t.userInfo.avatarUrl,size:32,alt:t.userInfo.name||t.userInfo.username||b.name,sx:{cursor:"pointer"}})}),e.jsxs(n,{flex:1,minWidth:0,children:[t.userInfo?.name&&e.jsx(i,{sx:{fontWeight:"semibold",fontSize:1,display:"block"},children:t.userInfo.name}),(t.userInfo?.username||t.userInfo?.email)&&e.jsx("a",{href:t.userInfo.profileUrl||(u==="github"?`https://github.com/${t.userInfo.username}`:void 0),target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none"},children:e.jsx(i,{sx:{fontSize:0,color:"fg.muted",display:"block",":hover":{textDecoration:"underline"}},children:t.userInfo.username?`@${t.userInfo.username}`:t.userInfo.email})})]})]}),r&&e.jsxs(n,{display:"flex",alignItems:"center",gap:1,children:[e.jsx(me,{size:12}),e.jsx(i,{sx:{fontSize:0,color:m.isExpired?"danger.fg":m.isExpiringSoon?"attention.fg":"fg.muted"},children:Yt(m)})]}),t.scopes&&t.scopes.length>0&&e.jsx(n,{display:"flex",flexWrap:"wrap",gap:1,children:t.scopes.map(y=>e.jsx(A,{size:"small",variant:"secondary",children:y},y))}),e.jsxs(n,{display:"flex",gap:2,mt:1,children:[m.isExpired&&l&&s?.clientId&&e.jsx(ot,{text:"Reconnect to refresh token",children:e.jsx(L,{variant:"primary",size:"small",leadingVisual:it,onClick:R,disabled:S,children:S?"Connecting...":"Reconnect"})}),e.jsxs(L,{variant:m.isExpired?"invisible":"danger",size:"small",leadingVisual:We,onClick:P,disabled:S,children:["Disconnect from ",b.name]})]})]})}function Qt({providers:t,title:s="Connected Accounts",showHeader:r=!0,showDescription:l=!0,description:o="Connected identities for this agent. Agents can use these to access external services on your behalf.",showExpirationDetails:a=!0,allowReconnect:d=!0,onConnect:c,onDisconnect:h,onError:f}){const{identities:S,error:u}=ke(),b=z.useMemo(()=>{if(t){const p=Object.keys(t);return S.filter(j=>p.includes(j.provider)||j.authType==="token"&&j.isConnected)}return S},[S,t]),m=z.useMemo(()=>new Set(S.map(p=>p.provider)),[S]),R=z.useMemo(()=>{if(!t)return{};const p=Object.keys(t),j={};for(const E of p)m.has(E)||(j[E]=t[E]);return j},[t,m]),P=Object.keys(R).length>0,y=z.useCallback(p=>j=>{f?.(p,j)},[f]);return b.length===0&&!t?null:e.jsxs(n,{children:[r&&e.jsxs(n,{display:"flex",alignItems:"center",gap:2,mb:2,children:[e.jsx(H,{size:16}),e.jsx(i,{sx:{fontSize:1,fontWeight:"semibold",color:"fg.muted"},children:s})]}),e.jsxs(n,{p:3,bg:"canvas.subtle",borderRadius:2,border:"1px solid",borderColor:"border.default",children:[l&&e.jsx(i,{sx:{fontSize:0,color:"fg.muted",display:"block",mb:b.length>0?3:0},children:o}),u&&e.jsx(nt,{variant:"danger",sx:{mb:3},children:u instanceof Error?u.message:String(u)}),b.length>0?e.jsx(n,{display:"flex",flexDirection:"column",gap:2,children:b.map(p=>e.jsx(Xt,{identity:p,providerConfig:t?.[p.provider],showExpirationDetails:a,allowReconnect:d,onConnect:c,onDisconnect:h,onError:y(p.provider)},p.provider))}):P?null:e.jsxs(n,{display:"flex",alignItems:"center",gap:2,color:"fg.muted",children:[e.jsx(de,{size:16}),e.jsx(i,{sx:{fontSize:1},children:"No connected accounts"})]}),P&&e.jsxs(n,{mt:b.length>0?3:0,children:[b.length>0&&e.jsx(i,{sx:{fontSize:0,color:"fg.muted",display:"block",mb:2},children:"Connect additional accounts:"}),e.jsx(n,{display:"flex",flexDirection:"column",gap:2,children:Object.keys(R).map(p=>{const j=R[p];return e.jsx(Gt,{provider:p,clientId:j.clientId,scopes:j.scopes,providerConfig:j.config,size:"medium",variant:"full",onConnect:c,onDisconnect:h,onError:y(p)},p)})})]})]})]})}const ge=t=>typeof t=="object"&&t!==null&&!Array.isArray(t),xe=t=>{if(t==null)return"null";if(typeof t=="number"||typeof t=="boolean")return String(t);const s=String(t);return s===""?"''":/^[a-zA-Z0-9._/-]+$/.test(s)?s:JSON.stringify(s)},be=(t,s=0)=>{const r=" ".repeat(s);if(Array.isArray(t))return t.length===0?"[]":t.map(l=>ge(l)||Array.isArray(l)?`${r}-
|
|
3
3
|
${be(l,s+1)}`:`${r}- ${xe(l)}`).join(`
|
|
4
4
|
`);if(ge(t)){const l=Object.entries(t).filter(([,o])=>o!==void 0);return l.length===0?"{}":l.map(([o,a])=>ge(a)||Array.isArray(a)?`${r}${o}:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,Q as l,j as s,D as o,h as m}from"../datalayer-app-main.js";import{AgentDetails as p}from"./AgentDetails-
|
|
1
|
+
import{r as a,Q as l,j as s,D as o,h as m}from"../datalayer-app-main.js";import{AgentDetails as p}from"./AgentDetails-LhuDov4Q.js";import"./ArrowLeftIcon-sX3iNMG1.js";import"./UnlinkIcon-fXwOyjzQ.js";import"./esm-itrlzhnT.js";import"./index-BhCoJe__.js";import"./index-BaRoLDk0.js";import"./Avatar-DUPBQXVt.js";function B({about:e,name:r,onClose:t}){const n=a.useMemo(()=>new l,[]),i=!!(e.agentId&&e.apiBase);return s.jsx(o,{title:`${e.name??r} · Agent Details`,onClose:t,width:"xlarge",height:"large",children:s.jsx("div",{"data-assistant-agent-details":"",children:s.jsx(m,{client:n,children:s.jsx(p,{name:e.name??r,protocol:e.protocol??(i?"agent-runtimes":"browser"),url:e.url??"",messageCount:0,agentId:e.agentId,apiBase:e.apiBase,onBack:t,showBackHeader:!1,showUsage:i,padded:!1,runtime:i,summary:{spec:e.spec,model:e.model,where:e.where,description:e.description,skills:e.skills}})})})})}export{B as AgentDetailsDialog,B as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as x,j as e,B as l,dv as re,f5 as oe,T as c,bu as F,du as L,L as D,f6 as P,I as le,f7 as ae,f8 as K,v as H,U as de,f9 as ce,W as ue,fa as fe,e9 as V,bl as R,fb as xe,fc as he,fd as G,fe as pe,ff as me}from"../datalayer-app-main.js";import{B,U as $}from"./index-CShCHnof.js";function M(t){const n=Number(t);return!isNaN(n)&&n>1e15?n/1e6:!isNaN(n)&&n>1e12?n/1e3:isNaN(n)?new Date(String(t)).getTime():n}function J(t){return t==null?"—":t<.001?"<1µs":t<1?`${(t*1e3).toFixed(0)}µs`:t<1e3?`${t.toFixed(1)}ms`:t<6e4?`${(t/1e3).toFixed(2)}s`:`${(t/6e4).toFixed(1)}m`}function ge(t){if(t==null||t==="")return"—";try{const n=M(t),i=new Date(n);return isNaN(i.getTime())?String(t):i.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3})}catch{return String(t)}}const Y=["#0969da","#1a7f37","#cf222e","#8250df","#bf8700","#0550ae","#116329","#a40e26","#6639ba","#953800","#0e8a16","#e36209"];function be(t){let n=0;for(let i=0;i<t.length;i++)n=n*31+t.charCodeAt(i)|0;return Y[Math.abs(n)%Y.length]}function Z(t){const n=new Map,i=t.map(o=>({...o,children:[],depth:0}));for(const o of i)n.set(o.span_id,o);const s=[];for(const o of i)if(o.parent_span_id&&n.has(o.parent_span_id)){const f=n.get(o.parent_span_id);f.children=f.children??[],f.children.push(o)}else s.push(o);function a(o,f){o.depth=f;for(const h of o.children??[])a(h,f+1)}for(const o of s)a(o,0);return s}const je="peer.service";function Se(t,n){return t.service_name===n||t.attributes?.[je]===n}function _e(t,n){return n?t.filter(i=>Se(i,n)):[...t]}const q=[],we=()=>()=>{};function ye(t){return x.useSyncExternalStore(t?t.subscribe:we,()=>t?t.spans():q,()=>t?t.spans():q)}const ve="140px 1fr 160px 90px",ke="96px minmax(0, 1fr) 96px 64px";function Ce(t){const n=t.attributes;if(!n)return null;const i=n["gen_ai.usage.input_tokens"]!=null?Number(n["gen_ai.usage.input_tokens"]):void 0,s=n["gen_ai.usage.output_tokens"]!=null?Number(n["gen_ai.usage.output_tokens"]):void 0;return i==null&&s==null?null:{input:i,output:s}}const ze=({spans:t,loading:n,selectedSpanId:i,onSelectSpan:s,emptyText:a,compact:o=!1,defaultExpanded:f=!1,renderSpanMark:h,describeSpan:u})=>{const[p,d]=x.useState(new Set),m=x.useMemo(()=>({has:r=>f?!p.has(r):p.has(r)}),[p,f]),j=o?ke:ve,S=x.useMemo(()=>Z(t),[t]),g=x.useMemo(()=>{const r=[];function y(b,O){const v=b.children??[];if(r.push({span:b,depth:O,hasChildren:v.length>0}),m.has(b.span_id))for(const T of v)y(T,O+1)}for(const b of S)y(b,0);return r},[S,m]),A=x.useCallback(r=>{d(y=>{const b=new Set(y);return b.has(r)?b.delete(r):b.add(r),b})},[]);return n?e.jsx(l,{display:"flex",justifyContent:"center",p:5,children:e.jsx(re,{size:"medium"})}):t.length===0?e.jsxs(B,{children:[e.jsx(B.Visual,{children:e.jsx(oe,{size:24})}),e.jsx(B.Heading,{children:"No traces found"}),e.jsx(B.Description,{children:a??"Send some telemetry data first."})]}):e.jsxs(l,{width:"100%",flex:1,minHeight:0,overflow:"auto",children:[e.jsx(l,{display:"grid",gridTemplateColumns:j,gap:2,px:3,position:"sticky",top:0,bg:"canvas.subtle",zIndex:1,borderBottom:"2px solid",borderColor:"border.default",children:["Time","Message","Scope","Duration"].map(r=>e.jsx(c,{sx:{fontWeight:"bold",fontSize:0,color:"fg.muted",textTransform:"uppercase",letterSpacing:"0.05em",py:2,...r==="Duration"?{textAlign:"right"}:{}},children:r},r))}),g.map(({span:r,depth:y,hasChildren:b},O)=>{const v=i===r.span_id,T=m.has(r.span_id),C=y*(o?12:20),k=u?.(r);return e.jsxs(l,{"data-otel-span":r.span_id,"data-otel-span-name":r.span_name,onClick:()=>{b&&A(r.span_id),s?.(r)},display:"grid",gridTemplateColumns:j,gap:2,px:3,py:"5px",cursor:"pointer",bg:v?"accent.subtle":y>0?"canvas.inset":"canvas.default",borderBottom:"1px solid",borderColor:"border.muted",hover:{bg:v?"accent.subtle":"canvas.subtle"},children:[e.jsx(c,{sx:{fontSize:o?0:1,fontFamily:"mono",color:"fg.muted",whiteSpace:"nowrap",lineHeight:"22px"},children:ge(r.start_time)}),e.jsxs(l,{display:"flex",alignItems:"center",gap:1,overflow:"hidden",lineHeight:"22px",pl:`${C}px`,children:[b?e.jsx(l,{flexShrink:0,color:"fg.muted",display:"flex",alignItems:"center",children:T?e.jsx(F,{size:14}):e.jsx(L,{size:14})}):y>0?e.jsx(l,{flexShrink:0,width:"14px",display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",fontSize:0,children:"─"}):null,h?.(r),e.jsx(c,{sx:{fontSize:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flexShrink:k?0:1,maxWidth:k?"60%":void 0},title:r.span_name,children:r.span_name}),r.in_progress&&e.jsx(D,{variant:"attention",size:"small",children:"running"}),r.status_code==="ERROR"&&e.jsx(D,{variant:"danger",size:"small",children:"ERROR"}),(()=>{const I=Ce(r);return I?e.jsxs(P,{border:!0,shadow:"none",display:"inline-flex",alignItems:"center",gap:"2px",px:1,fontSize:"10px",fontFamily:"mono",color:"fg.muted",flexShrink:0,lineHeight:"16px",children:[I.input!=null&&e.jsxs(l,{display:"inline-flex",alignItems:"center",gap:"1px",children:[e.jsx(c,{sx:{fontSize:"9px",color:"fg.subtle"},children:"↗"}),e.jsx(c,{children:I.input})]}),I.output!=null&&e.jsxs(l,{display:"inline-flex",alignItems:"center",gap:"1px",children:[e.jsx(c,{sx:{fontSize:"9px",color:"fg.subtle"},children:"↙"}),e.jsx(c,{children:I.output})]})]}):null})(),k&&e.jsx(c,{sx:{fontSize:1,color:"fg.muted",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},title:k,"data-otel-span-description":"",children:k}),r.otel_scope_name&&!o&&e.jsx(D,{size:"small",variant:"secondary",sx:{flexShrink:0,fontSize:"10px"},children:r.otel_scope_name})]}),e.jsx(c,{sx:{fontSize:1,color:"fg.muted",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",lineHeight:"22px"},title:`${r.service_name} / ${r.otel_scope_name??""}`,children:r.service_name}),e.jsx(c,{sx:{fontSize:1,fontFamily:"mono",textAlign:"right",lineHeight:"22px",color:r.duration_ms!=null&&r.duration_ms>1e3?"danger.fg":"fg.default"},children:r.in_progress?"…":J(r.duration_ms)})]},`${r.trace_id}-${r.span_id}-${O}`)})]})},Ie=20,ee=({span:t,depth:n,selectedSpanId:i,onSelectSpan:s,expandedIds:a,toggleExpanded:o,traceMinTime:f,traceDuration:h})=>{const u=(t.children?.length??0)>0,p=a.has(t.span_id),d=i===t.span_id,m=be(t.service_name),j=(M(t.start_time)-f)/h*100,S=Math.max((t.duration_ms||0)/h*100,.5);return e.jsxs(e.Fragment,{children:[e.jsxs(l,{display:"flex",alignItems:"center",height:28,pl:`${n*Ie}px`,pr:2,cursor:"pointer",bg:d?"accent.subtle":"canvas.default",borderBottom:"1px solid",borderColor:"border.muted",hover:{bg:d?"accent.subtle":"canvas.subtle"},onClick:()=>s?.(t),children:[e.jsx(l,{width:20,textAlign:"center",color:"fg.muted",userSelect:"none",flexShrink:0,cursor:u?"pointer":"default",onClick:g=>{g.stopPropagation(),u&&o(t.span_id)},children:u?p?e.jsx(F,{size:12}):e.jsx(L,{size:12}):e.jsx(c,{sx:{color:"fg.subtle",fontSize:0},children:"·"})}),e.jsx(l,{width:8,height:8,borderRadius:"50%",bg:m,flexShrink:0,mr:1}),e.jsx(c,{sx:{flex:"0 0 200px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:1,fontWeight:d?"bold":"normal"},title:`${t.service_name} / ${t.span_name}`,children:t.span_name}),e.jsx(l,{flex:1,position:"relative",height:12,bg:"canvas.subtle",borderRadius:1,mx:2,overflow:"hidden",children:e.jsx(l,{position:"absolute",left:`${j}%`,width:`${S}%`,height:"100%",bg:m,borderRadius:1,opacity:d?1:.7})}),e.jsx(c,{sx:{minWidth:60,textAlign:"right",fontSize:0,fontFamily:"mono",color:"fg.muted",flexShrink:0},children:J(t.duration_ms)})]}),u&&p&&t.children.map(g=>e.jsx(ee,{span:g,depth:n+1,selectedSpanId:i,onSelectSpan:s,expandedIds:a,toggleExpanded:o,traceMinTime:f,traceDuration:h},g.span_id))]})},Te=({spans:t,selectedSpanId:n,onSelectSpan:i,defaultExpandDepth:s=2})=>{const a=x.useMemo(()=>{const d=new Set;function m(j,S){for(const g of j)S<s&&d.add(g.span_id),g.children&&m(g.children,S+1)}return m(t,0),d},[t,s]),[o,f]=x.useState(a),h=x.useCallback(d=>{f(m=>{const j=new Set(m);return j.has(d)?j.delete(d):j.add(d),j})},[]),{traceMinTime:u,traceDuration:p}=x.useMemo(()=>{let d=1/0,m=-1/0;function j(S){for(const g of S){const A=M(g.start_time),r=M(g.end_time);A<d&&(d=A),r>m&&(m=r),g.children&&j(g.children)}}return j(t),d===1/0?{traceMinTime:0,traceDuration:1}:{traceMinTime:d,traceDuration:m-d||1}},[t]);return t.length===0?e.jsx(l,{p:3,color:"fg.muted",textAlign:"center",children:e.jsx(c,{children:"No span tree to display."})}):e.jsxs(l,{width:"100%",overflow:"auto",children:[e.jsxs(l,{display:"flex",alignItems:"center",height:28,px:2,borderBottom:"2px solid",borderColor:"border.default",bg:"canvas.subtle",children:[e.jsx(l,{width:20}),e.jsx(l,{width:8,mr:1}),e.jsx(c,{sx:{flex:"0 0 200px",fontSize:0,fontWeight:"bold",color:"fg.muted",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Span"}),e.jsx(c,{sx:{flex:1,mx:2,fontSize:0,fontWeight:"bold",color:"fg.muted",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Timeline"}),e.jsx(c,{sx:{minWidth:60,textAlign:"right",fontSize:0,fontWeight:"bold",color:"fg.muted",textTransform:"uppercase",letterSpacing:"0.05em"},children:"Duration"})]}),t.map(d=>e.jsx(ee,{span:d,depth:0,selectedSpanId:n,onSelectSpan:i,expandedIds:o,toggleExpanded:h,traceMinTime:u,traceDuration:p},d.span_id))]})},w=({label:t,value:n,mono:i=!1})=>n==null||n===""?null:e.jsxs(l,{display:"flex",py:1,borderBottom:"1px solid",borderColor:"border.muted",gap:2,children:[e.jsx(c,{sx:{width:140,minWidth:140,color:"fg.muted",fontSize:1,fontWeight:"bold"},children:t}),e.jsx(c,{sx:{fontSize:1,fontFamily:i?"mono":"normal",wordBreak:"break-all"},children:String(n)})]}),Q=({title:t,data:n,defaultOpen:i=!1})=>{const[s,a]=x.useState(i);return!n||Object.keys(n).length===0?null:e.jsxs(l,{mt:3,children:[e.jsxs(l,{display:"flex",alignItems:"center",gap:1,cursor:"pointer",py:1,userSelect:"none",onClick:()=>a(!s),children:[s?e.jsx(F,{size:16}):e.jsx(L,{size:16}),e.jsx(c,{sx:{fontSize:1,fontWeight:"bold"},children:t}),e.jsx(K,{children:Object.keys(n).length})]}),s&&e.jsx(P,{border:!0,shadow:"none",variant:"subtle",display:"block",p:2,mt:1,overflowX:"auto",children:Object.entries(n).map(([o,f])=>e.jsx(W,{attrKey:o,value:f,depth:0},o))})]})};function Ae(t){if(typeof t!="string")return t;const n=t.trim();if(!/^[[{]/.test(n))return t;try{const i=JSON.parse(n);return typeof i=="object"&&i!==null?i:t}catch{return t}}const W=({attrKey:t,value:n,depth:i})=>{const s=x.useMemo(()=>Ae(n),[n]),[a,o]=x.useState(i<1),f=typeof s=="object"&&s!==null&&!Array.isArray(s),h=Array.isArray(s),u=f||h;return e.jsxs(l,{borderBottom:i===0?"1px solid":"none",borderColor:"border.muted",pb:i===0?1:0,mb:i===0?1:0,children:[e.jsxs(l,{display:"flex",gap:2,py:1,pl:i*16+"px",alignItems:"flex-start",children:[u?e.jsx(l,{cursor:"pointer",color:"fg.muted",userSelect:"none",width:16,flexShrink:0,onClick:()=>o(!a),children:a?e.jsx(F,{size:12}):e.jsx(L,{size:12})}):e.jsx(l,{width:16,flexShrink:0}),e.jsx(c,{sx:{color:"accent.fg",fontSize:1,fontFamily:"mono",minWidth:180,wordBreak:"break-all",flexShrink:0},children:t}),!u&&e.jsx(c,{sx:{fontSize:1,fontFamily:"mono",whiteSpace:"pre-wrap",wordBreak:"break-word",color:typeof s=="string"?"accent.emphasis":"attention.fg"},children:typeof s=="string"?s:JSON.stringify(s)}),u&&!a&&e.jsx(c,{sx:{fontSize:0,color:"fg.muted",fontFamily:"mono"},children:h?`[${s.length} items]`:`{${Object.keys(s).length} keys}`})]}),u&&a&&e.jsx(l,{children:h?s.map((p,d)=>e.jsx(W,{attrKey:`[${d}]`,value:p,depth:i+1},d)):Object.entries(s).map(([p,d])=>e.jsx(W,{attrKey:p,value:d,depth:i+1},p))})]})},Oe=({span:t,traceSpans:n,onClose:i})=>{const[s,a]=x.useState("details");if(!t)return e.jsx(l,{p:5,color:"fg.muted",textAlign:"center",children:e.jsx(c,{children:"Select a span to view details."})});const o={},f={};if(t.attributes)for(const[u,p]of Object.entries(t.attributes))u.startsWith("gen_ai.")||u.startsWith("model_request")?o[u]=p:f[u]=p;const h=n&&n.length>0?Z(n):void 0;return e.jsxs(l,{height:"100%",overflow:"auto",borderLeft:"1px solid",borderColor:"border.default",bg:"canvas.default",display:"flex",flexDirection:"column",children:[e.jsxs(l,{px:3,py:2,borderBottom:"1px solid",borderColor:"border.default",display:"flex",justifyContent:"space-between",alignItems:"center",bg:"canvas.subtle",flexShrink:0,children:[e.jsx(c,{sx:{fontSize:2,fontWeight:"bold"},children:t.span_name}),i&&e.jsx(le,{icon:ae,"aria-label":"Close detail panel",variant:"invisible",size:"small",onClick:i})]}),e.jsxs($,{"aria-label":"Span detail tabs",children:[e.jsx($.Item,{"aria-current":s==="details"?"page":void 0,onClick:()=>a("details"),children:"Details"}),h&&e.jsx($.Item,{"aria-current":s==="tree"?"page":void 0,onClick:()=>a("tree"),children:"Trace Tree"}),e.jsx($.Item,{"aria-current":s==="raw"?"page":void 0,onClick:()=>a("raw"),children:"Raw Data"})]}),e.jsxs(l,{flex:1,overflow:"auto",children:[s==="details"&&e.jsxs(l,{p:3,children:[e.jsx(w,{label:"span_name",value:t.span_name}),e.jsx(w,{label:"service_name",value:t.service_name}),e.jsx(w,{label:"otel_scope_name",value:t.otel_scope_name}),e.jsx(w,{label:"kind",value:t.kind}),e.jsx(w,{label:"trace_id",value:t.trace_id,mono:!0}),e.jsx(w,{label:"span_id",value:t.span_id,mono:!0}),e.jsx(w,{label:"parent_span_id",value:t.parent_span_id,mono:!0}),e.jsx(w,{label:"duration",value:J(t.duration_ms)}),e.jsx(w,{label:"start_time",value:t.start_time,mono:!0}),e.jsx(w,{label:"end_time",value:t.end_time,mono:!0}),e.jsx(w,{label:"status_code",value:t.status_code}),e.jsx(w,{label:"status_message",value:t.status_message}),e.jsx(Q,{title:"Arguments",data:o,defaultOpen:Object.keys(o).length>0}),e.jsx(Q,{title:"Attributes",data:f}),t.events&&t.events.length>0&&e.jsxs(l,{mt:3,children:[e.jsxs(l,{display:"flex",alignItems:"center",gap:1,children:[e.jsx(c,{sx:{fontWeight:"bold",fontSize:1},children:"Events"}),e.jsx(K,{children:t.events.length})]}),t.events.map((u,p)=>e.jsxs(P,{border:!0,shadow:"none",variant:"subtle",display:"block",p:2,mt:2,children:[e.jsxs(l,{display:"flex",gap:2,children:[e.jsx(D,{children:u.name}),e.jsx(c,{sx:{fontSize:0,color:"fg.muted",fontFamily:"mono"},children:u.timestamp})]}),u.attributes&&Object.keys(u.attributes).length>0&&e.jsx(l,{mt:1,children:Object.entries(u.attributes).map(([d,m])=>e.jsx(W,{attrKey:d,value:m,depth:0},d))})]},p))]}),t.links&&t.links.length>0&&e.jsxs(l,{mt:3,children:[e.jsxs(l,{display:"flex",alignItems:"center",gap:1,children:[e.jsx(c,{sx:{fontWeight:"bold",fontSize:1},children:"Links"}),e.jsx(K,{children:t.links.length})]}),t.links.map((u,p)=>e.jsxs(c,{sx:{display:"block",fontSize:1,fontFamily:"mono",py:1,borderBottom:"1px solid",borderColor:"border.muted"},children:["trace: ",u.trace_id," → span: ",u.span_id]},p))]})]}),s==="tree"&&h&&e.jsx(Te,{spans:h,selectedSpanId:t.span_id,defaultExpandDepth:4}),s==="raw"&&e.jsx(l,{as:"pre",p:3,fontSize:0,fontFamily:"mono",whiteSpace:"pre-wrap",wordBreak:"break-word",m:0,bg:"canvas.subtle",children:JSON.stringify(t,null,2)})]})]})},Ne=[{label:"Service",value:t=>t.service_name},{label:"Kind",value:t=>t.kind}];function Ee(t,n,i){return t.filter(s=>n.every((a,o)=>{const f=i[o];if(!f?.size)return!0;const h=a.value(s);return h!==void 0&&f.has(h)}))}function Me(t,n){const i=new Set(t);return i.has(n)?i.delete(n):i.add(n),i}function Re({facet:t,options:n,selected:i,onChange:s}){const a=t.name??(o=>o);return e.jsxs(V,{children:[e.jsxs(V.Button,{size:"small","data-otel-facet":t.label.toLowerCase(),children:[t.label,i.size?` · ${i.size}`:""]}),e.jsx(V.Overlay,{width:"auto",children:e.jsxs(R,{selectionVariant:"multiple","aria-label":t.label,children:[e.jsx(R.Item,{selected:!i.size,onSelect:()=>s(new Set),children:"All"}),e.jsx(R.Divider,{}),n.map(o=>e.jsx(R.Item,{selected:i.has(o),onSelect:()=>s(Me(i,o)),children:a(o)},o))]})})]})}function Be(t,n){const i=new Blob([JSON.stringify(n,null,2)],{type:"application/json"}),s=URL.createObjectURL(i),a=document.createElement("a");a.href=s,a.download=`${t}.json`,a.click(),setTimeout(()=>URL.revokeObjectURL(s),1e3)}const $e=({tracer:t,spans:n,service:i,facets:s=Ne,compact:a=!1,maxHeight:o=420,detailPlacement:f="below",emptyText:h="Nothing recorded yet.",exportName:u="otel-spans",label:p="Spans",renderSpanMark:d,describeSpan:m})=>{const j=ye(n?null:t),S=n??j,[g,A]=x.useState(0),[r,y]=x.useState(null),[b,O]=x.useState(()=>s.map(()=>new Set)),[v,T]=x.useState(null),C=x.useMemo(()=>{const _=_e(S,i);return g?_.filter(z=>M(z.start_time)>=g):_},[S,i,g]),k=r??C,I=r?C.length-r.length:0,te=x.useMemo(()=>s.map(_=>[...new Set(C.map(z=>_.value(z)).filter(z=>z!==void 0))].sort()),[s,C]),N=x.useMemo(()=>Ee(k,s,b),[k,s,b]),E=x.useMemo(()=>v?S.find(_=>_.span_id===v)??null:null,[S,v]),ne=x.useMemo(()=>E?S.filter(_=>_.trace_id===E.trace_id):[],[S,E]),U=f==="side"&&!a;return e.jsxs(P,{border:!0,shadow:"none",display:"block","data-otel-live-spans":"",color:"fg.default",minWidth:0,children:[e.jsxs(l,{role:"toolbar","aria-label":p,display:"flex",flexWrap:"wrap",gap:2,alignItems:"center",p:2,borderBottom:"1px solid",borderColor:"border.default",children:[s.map((_,z)=>e.jsx(Re,{facet:_,options:te[z]??[],selected:b[z]??new Set,onChange:ie=>O(se=>s.map((Fe,X)=>X===z?ie:se[X]??new Set))},_.label)),e.jsx(l,{flex:1}),e.jsxs(c,{sx:{fontSize:0,color:"fg.muted"},"data-otel-span-count":"",children:[N.length===k.length?`${N.length} ${N.length===1?"span":"spans"}`:`${N.length} of ${k.length}`,I>0?` · ${I} new`:""]}),e.jsx(H,{size:"small",leadingVisual:r?de:ce,"aria-pressed":r!==null,onClick:()=>y(r?null:C),"data-otel-pause":"",children:r?"Resume":"Pause"}),e.jsx(H,{size:"small",leadingVisual:ue,onClick:()=>{y(null),T(null),t&&!n&&!i?t.clear():A(Date.now())},"data-otel-clear":"",children:"Clear"}),e.jsx(H,{size:"small",leadingVisual:fe,disabled:!C.length,onClick:()=>Be(u,{exportedAt:new Date().toISOString(),spans:[...C]}),"data-otel-export":"",children:"Export"})]}),e.jsxs(l,{display:U?"grid":"block",gridTemplateColumns:U?"minmax(0, 3fr) minmax(0, 2fr)":void 0,children:[e.jsx(l,{maxHeight:o,overflowY:"auto",minWidth:0,children:e.jsx(ze,{spans:N,selectedSpanId:v,onSelectSpan:_=>T(_.span_id),emptyText:h,compact:a,defaultExpanded:!0,renderSpanMark:d,describeSpan:m})}),E&&e.jsx(l,{"data-otel-live-detail":"",maxHeight:o,overflowY:"auto",minWidth:0,borderTop:U?"none":"1px solid",borderColor:"border.default",children:e.jsx(Oe,{span:E,traceSpans:ne,onClose:()=>T(null)})})]})]})},De=[{label:"Source",value:he,name:t=>xe[t]??t},{label:"Operation",value:t=>{const n=t.attributes??{},i=n[G.operation]??n["rpc.method"];return i===void 0?void 0:String(i)}},{label:"Agent",value:t=>t.service_name}];function We(t){const n=t.attributes?.[G.markIcon],i=t.attributes?.[G.markEmoji];return n||i?e.jsx(me,{icon:typeof n=="string"?n:void 0,emoji:typeof i=="string"?i:void 0,size:14}):null}function Ue({tracer:t,spans:n,agent:i,maxHeight:s=420,compact:a=!1,emptyText:o="Nothing recorded yet.",exportName:f="agent-inspector"}){return e.jsx("div",{"data-agent-inspector":i??"",children:e.jsx($e,{tracer:t,spans:n,service:i,facets:De,compact:a,maxHeight:s,detailPlacement:"side",emptyText:o,exportName:f,label:i?`${i}'s Agent Inspector`:"Agent Inspector",renderSpanMark:We,describeSpan:pe})})}export{De as AGENT_INSPECTOR_FACETS,Ue as AgentInspector,Ue as default};
|
package/dist-embed/chunks/{AgentInspectorDialog-CyHzEFe4.js → AgentInspectorDialog-WpVv_yIt.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,D as n,r as t,T as i,_ as c}from"../datalayer-app-main.js";const g=t.lazy(()=>c(()=>import("./AgentInspector-
|
|
1
|
+
import{j as e,D as n,r as t,T as i,_ as c}from"../datalayer-app-main.js";const g=t.lazy(()=>c(()=>import("./AgentInspector-DwJHlEsw.js"),[],import.meta.url));function d({tracer:r,title:a="Agent Inspector",agent:o,onClose:s}){return e.jsx(n,{title:a,onClose:s,width:"xlarge",height:"large","data-agent-inspector-dialog":"",children:e.jsx(t.Suspense,{fallback:e.jsx(i,{sx:{color:"fg.muted"},children:"Loading the Agent Inspector…"}),children:e.jsx(g,{tracer:r,agent:o,maxHeight:"calc(80vh - 140px)",emptyText:"Nothing recorded yet: what the agent does shows here as it does it."})})})}export{d as AgentInspectorDialog,d as default};
|