@datalayer/agent-runtimes 1.5.70 → 1.5.73
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/{DeckComponent-DAnUabRV.js → DeckComponent-Cd1sbs9L.js} +1 -1
- package/dist-embed/chunks/{DocumentView-BKFitqiB.js → DocumentView-ssQ835Wa.js} +1 -1
- package/dist-embed/chunks/{EphemeralDocument-BRzYMd8Z.js → EphemeralDocument-DNziilOG.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawComponent-VnKcai35.js → ExcalidrawComponent-CQ4BeoQt.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawModal-DrntFjbe.js → ExcalidrawModal-8W-b1OmA.js} +1 -1
- package/dist-embed/chunks/{JupyterLexicalExtension-BBivQZvX.js → JupyterLexicalExtension-BLYM-DTn.js} +4 -4
- package/dist-embed/chunks/{YouTubePlugin-C209681s.js → YouTubePlugin-BgZG6fCA.js} +1 -1
- package/dist-embed/chunks/abnfDiagram-VCTEODGH-BdOOK2nG.js +1 -0
- package/dist-embed/chunks/abnfDiagram-VCTEODGH-CHerLzZ0.js +1 -0
- package/dist-embed/chunks/{ar-SA-G6X2FPQ2-Dypu3IcK.js → ar-SA-G6X2FPQ2-Bcy9b6jn.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-C22xzf-o.js → architectureDiagram-5GKGNRK7-C8jjE2mY.js} +2 -2
- package/dist-embed/chunks/architectureDiagram-5GKGNRK7-GukKr_g1.js +36 -0
- package/dist-embed/chunks/{az-AZ-76LH7QW2-D8CzfKb1.js → az-AZ-76LH7QW2-Bzy5rt95.js} +1 -1
- package/dist-embed/chunks/{bg-BG-XCXSNQG7-_NVFEM1_.js → bg-BG-XCXSNQG7-C3mQkAoD.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-CHicgYkf.js → blockDiagram-I7D4REHJ-DH6ta7S_.js} +2 -2
- package/dist-embed/chunks/blockDiagram-I7D4REHJ-edfypROz.js +129 -0
- package/dist-embed/chunks/{bn-BD-2XOGV67Q-DMgdNi-k.js → bn-BD-2XOGV67Q-DHwDUFeg.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-auJZQjpw.js → c4Diagram-7LVT6UL2-B6NHHf7w.js} +2 -2
- package/dist-embed/chunks/c4Diagram-7LVT6UL2-BD3Ld97M.js +38 -0
- package/dist-embed/chunks/{ca-ES-6MX7JW3Y-DpOQhzr4.js → ca-ES-6MX7JW3Y-CWMZCfjI.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-DpFWUcsT.js → chunk-2Q5K7J3B-9xCosPaH.js} +1 -1
- package/dist-embed/chunks/chunk-2Q5K7J3B-ZWnuQ6M2.js +1 -0
- package/dist-embed/chunks/{chunk-5VM5RSS4-CaowF8Al.js → chunk-5VM5RSS4-7q2jPq-I.js} +1 -1
- package/dist-embed/chunks/chunk-5VM5RSS4-C2EZUNrH.js +15 -0
- package/dist-embed/chunks/{chunk-F27PBJKO-D7PuEggc.js → chunk-F27PBJKO-hasZYXJc.js} +1 -1
- package/dist-embed/chunks/chunk-F27PBJKO-iAw_9Xtd.js +1 -0
- package/dist-embed/chunks/{chunk-IMKFNOWR-jZNuNkCa.js → chunk-IMKFNOWR-CR2LIHPi.js} +1 -1
- package/dist-embed/chunks/chunk-IMKFNOWR-CU661Hle.js +231 -0
- package/dist-embed/chunks/{chunk-JWPE2WC7-BIShIUcJ.js → chunk-JWPE2WC7-B40RAhYQ.js} +1 -1
- package/dist-embed/chunks/chunk-JWPE2WC7-D4pNFsZF.js +1 -0
- package/dist-embed/chunks/{chunk-POPQ4Y6H-DG5Q2OKT.js → chunk-POPQ4Y6H-CNc-_UkX.js} +1 -1
- package/dist-embed/chunks/chunk-POPQ4Y6H-PC7NS4ab.js +1 -0
- package/dist-embed/chunks/{chunk-SVP7TREG-ERRaAh-x.js → chunk-SVP7TREG-B-LR0OEY.js} +1 -1
- package/dist-embed/chunks/chunk-SVP7TREG-BgVpHjUA.js +88 -0
- package/dist-embed/chunks/{chunk-TICWLB2K-B91fA6Jd.js → chunk-TICWLB2K-BKUWUi4x.js} +1 -1
- package/dist-embed/chunks/chunk-TICWLB2K-D0mlrZUj.js +206 -0
- package/dist-embed/chunks/{chunk-XXDRQBXY-BAy0lBJk.js → chunk-XXDRQBXY-CFD4Agg8.js} +1 -1
- package/dist-embed/chunks/chunk-XXDRQBXY-DF8wFPCi.js +1 -0
- package/dist-embed/chunks/classDiagram-ZZMXUADV-B2RPE1Bl.js +1 -0
- package/dist-embed/chunks/classDiagram-ZZMXUADV-BSdRgwsr.js +1 -0
- package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-B2RPE1Bl.js +1 -0
- package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-BSdRgwsr.js +1 -0
- package/dist-embed/chunks/cose-bilkent-JH36ORCC-CGF9N16A.js +1 -0
- package/dist-embed/chunks/cose-bilkent-JH36ORCC-D976z1sp.js +1 -0
- package/dist-embed/chunks/{cs-CZ-2BRQDIVT-Fr-SpqHD.js → cs-CZ-2BRQDIVT-B_pe2qj9.js} +1 -1
- package/dist-embed/chunks/cynefin-OW5HDTMX-BBLugbYz.js +166 -0
- package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-Cil4cm66.js +62 -0
- package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-D7ioXav_.js +62 -0
- package/dist-embed/chunks/{da-DK-5WZEPLOC-DO_sAXvt.js → da-DK-5WZEPLOC-CGWCNcJj.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-BgrGEY09.js → dagre-GXQ25YYZ-Cp78_L9l.js} +2 -2
- package/dist-embed/chunks/dagre-GXQ25YYZ-DauBFK-x.js +4 -0
- package/dist-embed/chunks/{de-DE-XR44H4JA-4JnXB_iM.js → de-DE-XR44H4JA-DTdq2h_G.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-hQvZziAN.js → diagram-S7CK7UJ4-LsSU5PzE.js} +2 -2
- package/dist-embed/chunks/diagram-S7CK7UJ4-cLOCifii.js +30 -0
- package/dist-embed/chunks/diagram-UQ7AKVKN-BK4qe_eB.js +41 -0
- package/dist-embed/chunks/diagram-UQ7AKVKN-CoIPlGw-.js +41 -0
- package/dist-embed/chunks/diagram-VSXAHHWV-CIhWkrRX.js +3 -0
- package/dist-embed/chunks/{diagram-VSXAHHWV-WVuzjdxU.js → diagram-VSXAHHWV-DWWQ-Ga9.js} +2 -2
- package/dist-embed/chunks/diagram-VX7I27RA-43SwkivD.js +24 -0
- package/dist-embed/chunks/diagram-VX7I27RA-CQM8aGRO.js +24 -0
- package/dist-embed/chunks/diagram-Z3DM3KII-Da75Rc5Q.js +24 -0
- package/dist-embed/chunks/diagram-Z3DM3KII-DrILxydN.js +24 -0
- package/dist-embed/chunks/ebnfDiagram-PWID7BFC-CwBVaHP2.js +1 -0
- package/dist-embed/chunks/ebnfDiagram-PWID7BFC-Klx1dPe6.js +1 -0
- package/dist-embed/chunks/{el-GR-BZB4AONW-MydAlwHl.js → el-GR-BZB4AONW-qdInZt55.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-zwXEFcAp.js → erDiagram-RLTQ6QDP-6YXMuidI.js} +2 -2
- package/dist-embed/chunks/erDiagram-RLTQ6QDP-DmlOR1VA.js +99 -0
- package/dist-embed/chunks/{es-ES-U4NZUMDT-rQmnr_uu.js → es-ES-U4NZUMDT-CbVgghD5.js} +1 -1
- package/dist-embed/chunks/{eu-ES-A7QVB2H4-j5Hf8ngk.js → eu-ES-A7QVB2H4-Cfyi4-QV.js} +1 -1
- package/dist-embed/chunks/{fa-IR-HGAKTJCU-DMJRRSBp.js → fa-IR-HGAKTJCU-Bpz9Yk2c.js} +1 -1
- package/dist-embed/chunks/{fi-FI-Z5N7JZ37-BFLC0BFd.js → fi-FI-Z5N7JZ37-CnNP_ASI.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-BrbR1EkW.js → flowDiagram-HODETNUW-DpJLPDJS.js} +1 -1
- package/dist-embed/chunks/flowDiagram-HODETNUW-_PPo6xx4.js +168 -0
- package/dist-embed/chunks/{fr-FR-RHASNOE6-CxjhSJC1.js → fr-FR-RHASNOE6-CXIU81zC.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-DfJDZVnm.js → ganttDiagram-EL5Y4UJY-B3ddBLm-.js} +2 -2
- package/dist-embed/chunks/ganttDiagram-EL5Y4UJY-DnJUq63S.js +292 -0
- package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-CKVR9Ajq.js +106 -0
- package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-u7eHxrMk.js +106 -0
- package/dist-embed/chunks/{gl-ES-HMX3MZ6V-BuuMpTaX.js → gl-ES-HMX3MZ6V-Do1RdVfG.js} +1 -1
- package/dist-embed/chunks/{he-IL-6SHJWFNN-Cv3Nrcgu.js → he-IL-6SHJWFNN-NcTscmv6.js} +1 -1
- package/dist-embed/chunks/{hi-IN-IWLTKZ5I-Sddst60F.js → hi-IN-IWLTKZ5I-CyNpoQ12.js} +1 -1
- package/dist-embed/chunks/{hu-HU-A5ZG7DT2-ehrXVpD0.js → hu-HU-A5ZG7DT2-Bzge2Fdz.js} +1 -1
- package/dist-embed/chunks/{id-ID-SAP4L64H-Gfb1UYxZ.js → id-ID-SAP4L64H-DaNcoDhl.js} +1 -1
- package/dist-embed/chunks/{index-BaBNw6X5.js → index-BQdtKMKk.js} +56 -61
- package/dist-embed/chunks/index-CJys1M3A.js +6 -0
- package/dist-embed/chunks/{index-hxIHgkzg.js → index-CLdL3h_Z.js} +1 -1
- package/dist-embed/chunks/{index-DmpLE1d4.js → index-Cx_cIRez.js} +1 -1
- package/dist-embed/chunks/index-lOJZWhTu.js +337 -0
- package/dist-embed/chunks/infoDiagram-27XIBGKW-C3YByzAX.js +2 -0
- package/dist-embed/chunks/infoDiagram-27XIBGKW-CrHEoNfn.js +2 -0
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-DrEzfSK9.js → ishikawaDiagram-5VMMS53U-B87JmQRn.js} +6 -6
- package/dist-embed/chunks/ishikawaDiagram-5VMMS53U-DkW3YLz9.js +70 -0
- package/dist-embed/chunks/{it-IT-JPQ66NNP-BehLHkar.js → it-IT-JPQ66NNP-6fWP-4Pk.js} +1 -1
- package/dist-embed/chunks/{ja-JP-DBVTYXUO-BZvqIigI.js → ja-JP-DBVTYXUO-TOPcUfq8.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-DpWKIFIN.js → journeyDiagram-3NMN7TZE-BcfZXfHF.js} +2 -2
- package/dist-embed/chunks/journeyDiagram-3NMN7TZE-BjO5pIr-.js +139 -0
- package/dist-embed/chunks/{kaa-6HZHGXH3-DgAIF6rN.js → kaa-6HZHGXH3-WPmptgZr.js} +1 -1
- package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-DW4thPSJ.js → kab-KAB-ZGHBKWFO-CMOAXrZA.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-DxbTprYr.js → kanban-definition-UXKFOSKX-D9d45rsU.js} +2 -2
- package/dist-embed/chunks/kanban-definition-UXKFOSKX-DKCJ8_n0.js +89 -0
- package/dist-embed/chunks/{kk-KZ-P5N5QNE5-CCy_nSJ7.js → kk-KZ-P5N5QNE5-B6ezOPzr.js} +1 -1
- package/dist-embed/chunks/{km-KH-HSX4SM5Z-kpXyoxjS.js → km-KH-HSX4SM5Z-C84QUPbc.js} +1 -1
- package/dist-embed/chunks/{ko-KR-MTYHY66A-CFm6WtQG.js → ko-KR-MTYHY66A-cuBEuTL_.js} +1 -1
- package/dist-embed/chunks/{ku-TR-6OUDTVRD-CKF85mOv.js → ku-TR-6OUDTVRD-B9KdlCAR.js} +1 -1
- package/dist-embed/chunks/{layout-DYytgC9r.js → layout-C6Twj1mW.js} +1 -1
- package/dist-embed/chunks/layout-Do3wJC1j.js +1 -0
- package/dist-embed/chunks/{lt-LT-XHIRWOB4-CO9Bo5qJ.js → lt-LT-XHIRWOB4-B39JwBGi.js} +1 -1
- package/dist-embed/chunks/{lv-LV-5QDEKY6T-CvZszc5p.js → lv-LV-5QDEKY6T-8WReOaa7.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-_1SBIPav.js → mindmap-definition-YA3MSWOX-5wZuXgB8.js} +2 -2
- package/dist-embed/chunks/mindmap-definition-YA3MSWOX-BURkGTKI.js +96 -0
- package/dist-embed/chunks/{mr-IN-CRQNXWMA-Cio_dB9M.js → mr-IN-CRQNXWMA-DUaS8VWx.js} +1 -1
- package/dist-embed/chunks/{my-MM-5M5IBNSE-Z0RQ5Vbz.js → my-MM-5M5IBNSE-BdJYwQXg.js} +1 -1
- package/dist-embed/chunks/{nb-NO-T6EIAALU-BEQ0YP9J.js → nb-NO-T6EIAALU-C_p5yu1z.js} +1 -1
- package/dist-embed/chunks/{nl-NL-IS3SIHDZ-YtkJnS_J.js → nl-NL-IS3SIHDZ-DM5qgcCp.js} +1 -1
- package/dist-embed/chunks/{nn-NO-6E72VCQL-C1j2s3qO.js → nn-NO-6E72VCQL-BuX1DqI5.js} +1 -1
- package/dist-embed/chunks/{oc-FR-POXYY2M6-CinnjccW.js → oc-FR-POXYY2M6-BAWljcaf.js} +1 -1
- package/dist-embed/chunks/{pa-IN-N4M65BXN-c_6OtC6L.js → pa-IN-N4M65BXN-2iyq8qxX.js} +1 -1
- package/dist-embed/chunks/pegDiagram-XKGWAZYB-BjrOX_Ki.js +1 -0
- package/dist-embed/chunks/pegDiagram-XKGWAZYB-CyuSADYr.js +1 -0
- package/dist-embed/chunks/{percentages-BXMCSKIN-VqMxh8LK.js → percentages-BXMCSKIN-C9b5dzpq.js} +5 -5
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-EvMxJb2S.js → pieDiagram-E7YTZNPT-GvxNnk0x.js} +2 -2
- package/dist-embed/chunks/pieDiagram-E7YTZNPT-ni9UMEzV.js +39 -0
- package/dist-embed/chunks/{pl-PL-T2D74RX3-Cn_9xZgM.js → pl-PL-T2D74RX3-C6nLJHhB.js} +1 -1
- package/dist-embed/chunks/{pt-BR-5N22H2LF-Da6r-Pp1.js → pt-BR-5N22H2LF-B1adz-DU.js} +1 -1
- package/dist-embed/chunks/{pt-PT-UZXXM6DQ-D6lhcuX9.js → pt-PT-UZXXM6DQ-BCZpI4LV.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-rFaTvNlk.js → quadrantDiagram-AXDQQJYC-CufBEqrC.js} +4 -4
- package/dist-embed/chunks/quadrantDiagram-AXDQQJYC-Yg2WGHWh.js +7 -0
- package/dist-embed/chunks/railroadDiagram-O6MQD6OU-6tStysfX.js +1 -0
- package/dist-embed/chunks/railroadDiagram-O6MQD6OU-Df7m1mT4.js +1 -0
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-DHLQ_9Lw.js → requirementDiagram-BXWQKSXE-0AqPqv7a.js} +2 -2
- package/dist-embed/chunks/requirementDiagram-BXWQKSXE-CmXBYo40.js +84 -0
- package/dist-embed/chunks/{ro-RO-JPDTUUEW-BFss9e8X.js → ro-RO-JPDTUUEW-BPM7y_F2.js} +1 -1
- package/dist-embed/chunks/{ru-RU-B4JR7IUQ-DIruW2gS.js → ru-RU-B4JR7IUQ-UViKo8dy.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-Nk71fRsK.js → sankeyDiagram-P5KCCOFB-CqcWOAyy.js} +2 -2
- package/dist-embed/chunks/sankeyDiagram-P5KCCOFB-rQsp_j9w.js +40 -0
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-Dm3QM01Z.js → sequenceDiagram-WJ2MYXX4-Br4F1sd7.js} +2 -2
- package/dist-embed/chunks/sequenceDiagram-WJ2MYXX4-GMFparx1.js +162 -0
- package/dist-embed/chunks/{si-LK-N5RQ5JYF-Dom-aTTE.js → si-LK-N5RQ5JYF-D7TIYEDr.js} +1 -1
- package/dist-embed/chunks/sizeCapture-INFHLROL-8qFOiWrK.js +1 -0
- package/dist-embed/chunks/sizeCapture-INFHLROL-C_M5Nl06.js +1 -0
- package/dist-embed/chunks/{sk-SK-C5VTKIMK-CLRU9TNq.js → sk-SK-C5VTKIMK-CQedcNlJ.js} +1 -1
- package/dist-embed/chunks/{sl-SI-NN7IZMDC-BKLCNVXA.js → sl-SI-NN7IZMDC-BX1W51zJ.js} +1 -1
- package/dist-embed/chunks/stateDiagram-D77RDMKH-CWrs6KzY.js +1 -0
- package/dist-embed/chunks/stateDiagram-D77RDMKH-XK76naDS.js +1 -0
- package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-D3ZN_IoS.js +1 -0
- package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-lpluVNfO.js +1 -0
- package/dist-embed/chunks/{subset-shared.chunk-zIH7OLsP.js → subset-shared.chunk-PVguOYyR.js} +1 -1
- package/dist-embed/chunks/{subset-worker.chunk-b9j7PKPe.js → subset-worker.chunk-iWGyr_E5.js} +1 -1
- package/dist-embed/chunks/{sv-SE-XGPEYMSR-D0UV0HV7.js → sv-SE-XGPEYMSR-DI7YcqUR.js} +1 -1
- package/dist-embed/chunks/swimlanes-42K2YHIH-B9qJ99nD.js +1 -0
- package/dist-embed/chunks/swimlanes-42K2YHIH-Ca0PhRmf.js +1 -0
- package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BEQKTD21.js +8 -0
- package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-D-2e4UFJ.js +8 -0
- package/dist-embed/chunks/{ta-IN-2NMHFXQM-C-EJ3jDE.js → ta-IN-2NMHFXQM-OZH5xroe.js} +1 -1
- package/dist-embed/chunks/{th-TH-HPSO5L25-CfQh62Qa.js → th-TH-HPSO5L25-gAuWhBpT.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-CKtubk73.js → timeline-definition-24CTP7MA-B8lxEouP.js} +2 -2
- package/dist-embed/chunks/timeline-definition-24CTP7MA-CtZZro9U.js +120 -0
- package/dist-embed/chunks/{tr-TR-DEFEU3FU-Lz7Ka2Zr.js → tr-TR-DEFEU3FU-DQ0SDuS6.js} +1 -1
- package/dist-embed/chunks/{uk-UA-QMV73CPH-DU0hsGUJ.js → uk-UA-QMV73CPH-7J4e2jng.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-Bq0xMhnH.js → vennDiagram-4TSXK5OY-Ca7szyFH.js} +2 -2
- package/dist-embed/chunks/vennDiagram-4TSXK5OY-zaNGkt8b.js +28 -0
- package/dist-embed/chunks/{vi-VN-M7AON7JQ-CDvS0SiL.js → vi-VN-M7AON7JQ-dNpZ5DZ5.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-DL5LgQWr.js → wardleyDiagram-VM6X3IG4-D_Q6gtp2.js} +2 -2
- package/dist-embed/chunks/wardleyDiagram-VM6X3IG4-Dh0UOrRp.js +78 -0
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-BXkM4beH.js → xychartDiagram-S5SC5T6Z-4OhI4XQl.js} +2 -2
- package/dist-embed/chunks/xychartDiagram-S5SC5T6Z-D_TaZM0k.js +7 -0
- package/dist-embed/chunks/{zh-CN-LNUGB5OW-CWE-bF0d.js → zh-CN-LNUGB5OW-CZSp2g8b.js} +1 -1
- package/dist-embed/chunks/{zh-HK-E62DVLB3-pEfL2bds.js → zh-HK-E62DVLB3-DUqVOyB_.js} +1 -1
- package/dist-embed/chunks/{zh-TW-RAJ6MFWO-Cp6UFUuD.js → zh-TW-RAJ6MFWO-U-TalxxN.js} +1 -1
- package/dist-embed/datalayer-app-main.js +3 -3
- package/lib/Agent.js +2 -2
- package/lib/AgentDocument.js +6 -6
- package/lib/AgentNode.js +4 -4
- package/lib/AgentNotebook.js +3 -3
- package/lib/App.js +2 -2
- package/lib/AppExamples2.js +3 -4
- package/lib/agent-document-main.js +1 -1
- package/lib/agent-main.js +1 -1
- package/lib/agent-node-main.js +1 -1
- package/lib/agent-notebook-main.js +1 -1
- package/lib/agents/AgentDetails.js +5 -5
- package/lib/agents/AgentRuntimeChat.js +3 -3
- package/lib/api/index.js +5 -5
- package/lib/api/scheduler/index.js +1 -1
- package/lib/apps/apps/AppBrowserSandbox.js +3 -3
- package/lib/apps/apps/AppComposer.js +6 -6
- package/lib/apps/apps/AppFeedback.js +3 -3
- package/lib/apps/apps/AppKept.js +3 -3
- package/lib/apps/apps/AppRenderer.js +26 -26
- package/lib/apps/apps/AppRuntimePlugins.js +3 -3
- package/lib/apps/apps/agent.js +2 -2
- package/lib/apps/apps/appspec.js +5 -5
- package/lib/apps/apps/browserSandbox.js +1 -1
- package/lib/apps/apps/checks.js +24 -24
- package/lib/apps/apps/customComponents.js +1 -1
- package/lib/apps/apps/index.js +18 -18
- package/lib/apps/apps/language.js +1 -1
- package/lib/apps/apps/records.js +3 -3
- package/lib/apps/apps/rules.js +1 -1
- package/lib/apps/apps/sceneChecks.js +6 -6
- package/lib/apps/apps/sceneShape.js +2 -2
- package/lib/apps/apps/sceneYaml.js +2 -2
- package/lib/apps/apps/yaml.js +1 -1
- package/lib/apps/core/index.js +7 -7
- package/lib/apps/embed/AppEmbed.d.ts +1 -1
- package/lib/apps/embed/AppEmbed.js +11 -11
- package/lib/apps/embed/LoopEmbed.js +4 -4
- package/lib/apps/embed/datalayer-app.js +1 -1
- package/lib/apps/embed/element.js +7 -7
- package/lib/apps/embed/embedConfig.js +2 -2
- package/lib/apps/embed/embedSession.js +2 -2
- package/lib/apps/embed/hostBridge.js +3 -3
- package/lib/apps/embed/visitorApp.js +3 -3
- package/lib/apps/extensions.js +4 -4
- package/lib/apps/index.js +70 -70
- package/lib/apps/plugins/a2a-sidebar/A2ASidebar.js +6 -6
- package/lib/apps/plugins/a2a-sidebar/index.js +3 -3
- package/lib/apps/plugins/a2ui/A2uiView.js +2 -2
- package/lib/apps/plugins/a2ui/index.js +3 -3
- package/lib/apps/plugins/a2ui-scene/index.js +1 -1
- package/lib/apps/plugins/a2ui-surface/AnswerShows.js +3 -3
- package/lib/apps/plugins/a2ui-surface/InlineSurface.js +1 -1
- package/lib/apps/plugins/a2ui-surface/SurfaceToolResult.js +4 -4
- package/lib/apps/plugins/a2ui-surface/index.js +7 -7
- package/lib/apps/plugins/a2ui-surface/ownComponents.js +2 -2
- package/lib/apps/plugins/agent-a2a/index.js +1 -1
- package/lib/apps/plugins/agent-a2ui/index.js +1 -1
- package/lib/apps/plugins/agent-a2ui-jupyter-output/index.js +1 -1
- package/lib/apps/plugins/agent-capacity/index.js +1 -1
- package/lib/apps/plugins/agent-checkpoints/index.js +1 -1
- package/lib/apps/plugins/agent-code-sandbox/index.js +1 -1
- package/lib/apps/plugins/agent-code-sandboxes/index.js +1 -1
- package/lib/apps/plugins/agent-codemode/index.js +1 -1
- package/lib/apps/plugins/agent-compaction/index.js +1 -1
- package/lib/apps/plugins/agent-evals/index.js +1 -1
- package/lib/apps/plugins/agent-guardrails/index.js +1 -1
- package/lib/apps/plugins/agent-hooks/index.js +1 -1
- package/lib/apps/plugins/agent-inference/index.js +1 -1
- package/lib/apps/plugins/agent-mcp/index.js +1 -1
- package/lib/apps/plugins/agent-memory/index.js +1 -1
- package/lib/apps/plugins/agent-monitoring/index.js +1 -1
- package/lib/apps/plugins/agent-notifications/index.js +1 -1
- package/lib/apps/plugins/agent-otel/index.js +1 -1
- package/lib/apps/plugins/agent-outputs/index.js +1 -1
- package/lib/apps/plugins/agent-parameters/index.js +1 -1
- package/lib/apps/plugins/agent-skills/index.js +1 -1
- package/lib/apps/plugins/agent-subagents/index.js +1 -1
- package/lib/apps/plugins/agent-tool-approvals/index.js +1 -1
- package/lib/apps/plugins/agent-triggers/index.js +1 -1
- package/lib/apps/plugins/agents/AgentSummaryPanel.js +5 -5
- package/lib/apps/plugins/agents/AnonymousKeyBadge.js +2 -2
- package/lib/apps/plugins/agents/DatalayerAgentBridge.js +7 -7
- package/lib/apps/plugins/agents/DatalayerAgentMount.js +1 -1
- package/lib/apps/plugins/agents/SandboxSelector.js +3 -3
- package/lib/apps/plugins/agents/SandboxStatusBridge.js +2 -2
- package/lib/apps/plugins/agents/SandboxView.js +1 -1
- package/lib/apps/plugins/agents/TeamMemberPicker.js +2 -2
- package/lib/apps/plugins/agents/index.js +8 -8
- package/lib/apps/plugins/agents/plugin.js +10 -10
- package/lib/apps/plugins/agents/specSubagents.js +1 -1
- package/lib/apps/plugins/agents/switchable.js +3 -3
- package/lib/apps/plugins/agents/team.js +2 -2
- package/lib/apps/plugins/agents/useSandboxService.js +1 -1
- package/lib/apps/plugins/agents/useTeamSelection.js +1 -1
- package/lib/apps/plugins/agentspecs/AgentspecPicker.js +1 -1
- package/lib/apps/plugins/agentspecs/index.js +2 -2
- package/lib/apps/plugins/app-activity/AppActivity.js +2 -2
- package/lib/apps/plugins/app-activity/index.js +3 -3
- package/lib/apps/plugins/app-components/index.js +4 -4
- package/lib/apps/plugins/app-computer/AppComputer.js +3 -3
- package/lib/apps/plugins/app-computer/index.js +4 -4
- package/lib/apps/plugins/app-elements/AppElements.js +2 -2
- package/lib/apps/plugins/app-elements/QuestionView.js +1 -1
- package/lib/apps/plugins/app-elements/index.js +6 -6
- package/lib/apps/plugins/app-page/AppPage.js +7 -7
- package/lib/apps/plugins/app-page/appPageModel.js +1 -1
- package/lib/apps/plugins/app-page/index.js +6 -6
- package/lib/apps/plugins/app-rules/AppRulesCard.js +5 -5
- package/lib/apps/plugins/app-rules/index.js +4 -4
- package/lib/apps/plugins/assistant/index.js +12 -12
- package/lib/apps/plugins/assistant-characters/index.d.ts +1 -1
- package/lib/apps/plugins/assistant-characters/index.js +3 -3
- package/lib/apps/plugins/canvas-blocks/index.js +2 -2
- package/lib/apps/plugins/canvas-parts/index.js +10 -10
- package/lib/apps/plugins/chat/ChatView.js +43 -43
- package/lib/apps/plugins/chat/SessionActionsMenu.js +2 -2
- package/lib/apps/plugins/chat/index.js +4 -4
- package/lib/apps/plugins/chat/sessionActions.js +2 -2
- package/lib/apps/plugins/chat-extras/index.js +1 -1
- package/lib/apps/plugins/chat-header/HeaderView.js +1 -1
- package/lib/apps/plugins/chat-header/index.js +2 -2
- package/lib/apps/plugins/chat-view/index.js +2 -2
- package/lib/apps/plugins/checkpoints-sidebar/CheckpointsSidebar.js +2 -2
- package/lib/apps/plugins/checkpoints-sidebar/index.js +3 -3
- package/lib/apps/plugins/commands/index.js +1 -1
- package/lib/apps/plugins/decks/DecksMenu.js +2 -2
- package/lib/apps/plugins/decks/index.js +8 -8
- package/lib/apps/plugins/document/DocumentView.js +5 -5
- package/lib/apps/plugins/document/index.js +4 -4
- package/lib/apps/plugins/document/openingDocument.js +1 -1
- package/lib/apps/plugins/document-toolbar/SandboxStatusItem.js +2 -2
- package/lib/apps/plugins/document-toolbar/index.js +3 -3
- package/lib/apps/plugins/document-toolbar/plugin.js +3 -3
- package/lib/apps/plugins/document-view/index.js +1 -1
- package/lib/apps/plugins/graph/GraphToggle.js +1 -1
- package/lib/apps/plugins/graph/index.js +5 -5
- package/lib/apps/plugins/input-prompt/ComposerView.js +2 -2
- package/lib/apps/plugins/input-prompt/index.js +2 -2
- package/lib/apps/plugins/models/index.js +1 -1
- package/lib/apps/plugins/notebook/NotebookView.js +5 -5
- package/lib/apps/plugins/notebook/index.js +4 -4
- package/lib/apps/plugins/notebook-toolbar/index.js +3 -3
- package/lib/apps/plugins/notebook-toolbar/plugin.js +3 -3
- package/lib/apps/plugins/notebook-view/index.js +1 -1
- package/lib/apps/plugins/page-layout/SplitLayout.js +1 -1
- package/lib/apps/plugins/page-layout/TurnPanel.js +5 -5
- package/lib/apps/plugins/page-layout/index.js +5 -5
- package/lib/apps/plugins/pap-example/index.js +1 -1
- package/lib/apps/plugins/pap-sign-in/PapSignInCard.js +1 -1
- package/lib/apps/plugins/pap-sign-in/index.js +5 -5
- package/lib/apps/plugins/pap-sign-in/signIn.js +1 -1
- package/lib/apps/plugins/plugins-panel/index.js +1 -1
- package/lib/apps/plugins/prompt/index.js +3 -3
- package/lib/apps/plugins/shell/editorChoice.js +1 -1
- package/lib/apps/plugins/shell/index.js +4 -4
- package/lib/apps/plugins/shell/useEditorPreviews.js +1 -1
- package/lib/apps/plugins/shield-displays/DiffCard.js +1 -1
- package/lib/apps/plugins/shield-displays/TerminalCard.js +1 -1
- package/lib/apps/plugins/shield-displays/index.js +5 -5
- package/lib/apps/plugins/subagent-activity/SubagentPulse.js +3 -3
- package/lib/apps/plugins/subagent-activity/index.js +4 -4
- package/lib/apps/plugins/view-switch/index.js +3 -3
- package/lib/apps/plugins/window-frame/WindowFrame.js +1 -1
- package/lib/apps/plugins/window-frame/index.js +5 -5
- package/lib/apps/presets.js +21 -21
- package/lib/apps/shell/LoopWorkspace.js +4 -4
- package/lib/apps/shell/SidebarRail.js +1 -1
- package/lib/apps/shell/ViewSwitcher.js +1 -1
- package/lib/apps/shell/WorkspaceFullScreenAction.js +2 -2
- package/lib/apps/shell/index.js +7 -7
- package/lib/chat/Chat.js +7 -7
- package/lib/chat/ChatFloating.d.ts +1 -1
- package/lib/chat/ChatFloating.js +23 -23
- package/lib/chat/ChatInline.js +4 -4
- package/lib/chat/ChatLanguage.js +2 -2
- package/lib/chat/ChatPopupStandalone.js +4 -4
- package/lib/chat/ChatSidebar.js +2 -2
- package/lib/chat/ChatStandalone.js +3 -3
- package/lib/chat/assistant/AgentDetailsDialog.js +1 -1
- package/lib/chat/assistant/AssistantStage.d.ts +1 -1
- package/lib/chat/assistant/AssistantStage.js +16 -16
- package/lib/chat/assistant/Avatar3D.d.ts +1 -1
- package/lib/chat/assistant/Avatar3D.js +1 -1
- package/lib/chat/assistant/BalloonParts.js +8 -8
- package/lib/chat/assistant/BalloonVisual.js +1 -1
- package/lib/chat/assistant/ConversationBalloon.js +1 -1
- package/lib/chat/assistant/DecisionAsk.js +1 -1
- package/lib/chat/assistant/SandboxDetailsDialog.js +1 -1
- package/lib/chat/assistant/SpeechBalloon.js +5 -5
- package/lib/chat/assistant/SpriteCharacter.js +2 -2
- package/lib/chat/assistant/{avatar3d.d.ts → avatar3dModel.d.ts} +1 -1
- package/lib/chat/assistant/formats/acf.js +3 -3
- package/lib/chat/assistant/formats/acs.js +3 -3
- package/lib/chat/assistant/formats/agentCompression.js +1 -1
- package/lib/chat/assistant/formats/blobs.js +1 -1
- package/lib/chat/assistant/formats/clippy.js +3 -3
- package/lib/chat/assistant/formats/files.js +4 -4
- package/lib/chat/assistant/formats/index.js +7 -7
- package/lib/chat/assistant/formats/objectLiteral.js +1 -1
- package/lib/chat/assistant/toolLine.js +2 -2
- package/lib/chat/base/ChatBase.js +45 -45
- package/lib/chat/base/fullContextMessages.js +1 -1
- package/lib/chat/base/uiOps.js +3 -3
- package/lib/chat/display/EmptyState.js +3 -3
- package/lib/chat/document/EphemeralDocument.js +4 -4
- package/lib/chat/header/ChatHeaderBase.js +2 -2
- package/lib/chat/header/ChatViewModeToggle.js +1 -1
- package/lib/chat/index.js +24 -24
- package/lib/chat/indicators/McpStatusIndicator.js +1 -1
- package/lib/chat/indicators/SandboxStatusIndicator.js +1 -1
- package/lib/chat/indicators/index.js +3 -3
- package/lib/chat/marks/SpecMark.js +1 -1
- package/lib/chat/marks/index.js +3 -3
- package/lib/chat/marks/toolMarks.js +4 -4
- package/lib/chat/messages/ChatMarkdown.js +3 -3
- package/lib/chat/messages/ChatMessageList.js +13 -13
- package/lib/chat/messages/ChatMessages.js +2 -2
- package/lib/chat/messages/FormSubmissionMessage.js +1 -1
- package/lib/chat/messages/TurnFooter.js +2 -2
- package/lib/chat/notebook/EphemeralNotebook.js +4 -4
- package/lib/chat/parts/MessagePart.js +4 -4
- package/lib/chat/parts/ReasoningPart.js +2 -2
- package/lib/chat/parts/TextPart.js +2 -2
- package/lib/chat/parts/ToolPart.js +1 -1
- package/lib/chat/parts/index.js +5 -5
- package/lib/chat/presence/Presence.js +1 -1
- package/lib/chat/presence/presenceStatus.js +1 -1
- package/lib/chat/prompt/InputPrompt.js +9 -9
- package/lib/chat/prompt/InputPromptBase.js +6 -6
- package/lib/chat/prompt/InputPromptLexical.js +4 -4
- package/lib/chat/prompt/footer/BelowPromptFooter.js +1 -1
- package/lib/chat/prompt/footer/InPromptFooter.js +2 -2
- package/lib/chat/prompt/footer/index.js +2 -2
- package/lib/chat/prompt/header/BelowPromptHeader.js +1 -1
- package/lib/chat/prompt/header/InPromptHeader.js +1 -1
- package/lib/chat/prompt/header/index.js +2 -2
- package/lib/chat/prompt/index.js +10 -10
- package/lib/chat/prompt/menus/SkillsMenu.js +1 -1
- package/lib/chat/prompt/menus/SuggestionsMenu.js +1 -1
- package/lib/chat/prompt/menus/ToolsMenu.js +1 -1
- package/lib/chat/prompt/menus/index.js +6 -6
- package/lib/chat/prompt/plugins/AgentMentionPlugin.js +1 -1
- package/lib/chat/prompt/plugins/MentionNode.js +1 -1
- package/lib/chat/prompt/stack.js +1 -1
- package/lib/chat/tools/SubagentActivity.js +1 -1
- package/lib/chat/tools/ToolApprovalBanner.js +1 -1
- package/lib/chat/tools/ToolApprovalDialog.js +1 -1
- package/lib/chat/tools/ToolCallDisplay.js +2 -2
- package/lib/chat/tools/index.js +5 -5
- package/lib/chat/usage/ContextPie.js +1 -1
- package/lib/chat/words.js +1 -1
- package/lib/client/AgentRuntimesClient.js +2 -2
- package/lib/client/AgentsMixin.js +8 -8
- package/lib/client/index.js +3 -3
- package/lib/client/mixins/RuntimesMixin.js +6 -6
- package/lib/client/mixins/SpacerMixin.js +11 -11
- package/lib/client/utils/spacerUtils.js +2 -2
- package/lib/collaboration/DatalayerCollaborationProvider.js +1 -1
- package/lib/collaboration/index.js +2 -2
- package/lib/components/a2ui/custom/index.js +6 -6
- package/lib/components/a2ui/datalayer/Chart.js +2 -2
- package/lib/components/a2ui/datalayer/Chat.js +5 -5
- package/lib/components/a2ui/datalayer/Download.js +2 -2
- package/lib/components/a2ui/datalayer/Evidence.js +2 -2
- package/lib/components/a2ui/datalayer/FileUpload.js +3 -3
- package/lib/components/a2ui/datalayer/Form.js +3 -3
- package/lib/components/a2ui/datalayer/SchemaForm.js +1 -1
- package/lib/components/a2ui/datalayer/Table.js +2 -2
- package/lib/components/a2ui/datalayer/implementation.js +1 -1
- package/lib/components/a2ui/datalayer/index.js +17 -17
- package/lib/components/a2ui/datalayer/schema.js +1 -1
- package/lib/components/a2ui/index.js +7 -7
- package/lib/components/a2ui/visibleWhen.js +2 -2
- package/lib/components/agents/AgentSummary.js +1 -1
- package/lib/components/agents/index.js +1 -1
- package/lib/components/cards/NotificationEventCard.js +2 -2
- package/lib/components/cards/OutputCard.js +2 -2
- package/lib/components/cards/index.js +3 -3
- package/lib/components/code-sandboxes/CodeSandboxCellVariablesDialog.js +3 -3
- package/lib/components/code-sandboxes/CodeSandboxLauncher.js +9 -9
- package/lib/components/code-sandboxes/CodeSandboxPicker.js +9 -9
- package/lib/components/code-sandboxes/CodeSandboxPickerCell.js +7 -7
- package/lib/components/code-sandboxes/CodeSandboxUtils.js +3 -3
- package/lib/components/code-sandboxes/CodeSandboxVariables.js +1 -1
- package/lib/components/code-sandboxes/NewCodeSandboxControls.js +3 -3
- package/lib/components/code-sandboxes/index.js +14 -14
- package/lib/components/context/SpaceSelect.js +1 -1
- package/lib/components/flashes/FlashDisclaimer.js +1 -1
- package/lib/components/icons/index.js +1 -1
- package/lib/components/index.js +6 -6
- package/lib/components/inspector/AgentInspector.js +2 -2
- package/lib/components/inspector/AgentInspectorDialog.js +1 -1
- package/lib/components/inspector/a2aSpans.js +1 -1
- package/lib/components/inspector/chatSpans.js +2 -2
- package/lib/components/inspector/classify.js +1 -1
- package/lib/components/inspector/index.js +6 -6
- package/lib/components/nbgrader/index.js +1 -1
- package/lib/components/progress/index.js +1 -1
- package/lib/components/scheduler/ScheduleMenu.js +1 -1
- package/lib/components/scheduler/index.js +1 -1
- package/lib/components/snapshots/SandboxSnapshotMenu.js +2 -2
- package/lib/components/snapshots/index.js +1 -1
- package/lib/components/teams/A2ATeamGraph.d.ts +1 -1
- package/lib/components/teams/A2ATeamGraph.js +8 -8
- package/lib/components/teams/AnswerSurfaces.js +1 -1
- package/lib/components/teams/AnswerSurfacesView.js +4 -4
- package/lib/components/teams/NotebookPreview.js +2 -2
- package/lib/components/teams/NotebookPreviewView.js +1 -1
- package/lib/components/teams/SceneTranscript.d.ts +1 -1
- package/lib/components/teams/SceneTranscript.js +2 -2
- package/lib/components/teams/SceneView.d.ts +1 -1
- package/lib/components/teams/SceneView.js +1 -1
- package/lib/components/teams/TeamNotebook.js +1 -1
- package/lib/components/teams/TeamNotebookView.js +3 -3
- package/lib/components/teams/index.d.ts +1 -1
- package/lib/components/teams/index.js +13 -13
- package/lib/components/teams/sceneStage.js +2 -2
- package/lib/components/teams/{sceneTranscript.d.ts → sceneTranscriptRules.d.ts} +1 -1
- package/lib/components/teams/{sceneTranscript.js → sceneTranscriptRules.js} +1 -1
- package/lib/components/teams/teamConnections.js +3 -3
- package/lib/components/teams/useA2ATeam.js +6 -6
- package/lib/components/teams/usePeerSandbox.js +1 -1
- package/lib/components/tokens/index.js +1 -1
- package/lib/config/AgentConfiguration.js +2 -2
- package/lib/config/index.js +2 -2
- package/lib/context/CostUsageChart.js +4 -4
- package/lib/context/MessageHistory.js +1 -1
- package/lib/context/TokenUsageChart.js +4 -4
- package/lib/examples/A2UiAgentExample.js +9 -9
- package/lib/examples/A2UiComponentsGalleryExample.js +4 -4
- package/lib/examples/A2UiContactCardExample.js +4 -4
- package/lib/examples/A2UiJupyterOutputExample.js +11 -11
- package/lib/examples/A2UiRestaurantExample.js +4 -4
- package/lib/examples/A2UiViewerExample.js +6 -6
- package/lib/examples/AgUiAgenticExample.js +4 -4
- package/lib/examples/AgUiBackendToolRenderingExample.js +6 -6
- package/lib/examples/AgUiHaikuGenUiExample.js +6 -6
- package/lib/examples/AgUiHumanInTheLoopExample.js +5 -5
- package/lib/examples/AgUiSharedStateExample.js +4 -4
- package/lib/examples/AgUiToolsBasedGenUiExample.js +4 -4
- package/lib/examples/AgentA2AExample.js +7 -7
- package/lib/examples/AgentA2ATeamExample.js +10 -10
- package/lib/examples/AgentCheckpointsExample.js +14 -14
- package/lib/examples/AgentCodeSandboxExample.js +6 -6
- package/lib/examples/AgentCodeSandboxesExample.js +5 -5
- package/lib/examples/AgentCodemodeExample.js +12 -12
- package/lib/examples/AgentCompactionExample.js +8 -8
- package/lib/examples/AgentDecideExample.js +6 -6
- package/lib/examples/AgentEvalsExample.js +11 -11
- package/lib/examples/AgentGuardrailsExample.js +17 -17
- package/lib/examples/AgentHooksExample.js +5 -5
- package/lib/examples/AgentInferenceProviderExample.js +6 -6
- package/lib/examples/AgentMCPExample.js +14 -14
- package/lib/examples/AgentMemoryExample.js +11 -11
- package/lib/examples/AgentMonitoringExample.js +19 -19
- package/lib/examples/AgentNotificationsExample.js +9 -9
- package/lib/examples/AgentOtelExample.js +6 -6
- package/lib/examples/AgentOutputsExample.js +8 -8
- package/lib/examples/AgentParametersExample.js +6 -6
- package/lib/examples/AgentSkillsExample.js +9 -9
- package/lib/examples/AgentSubagentsExample.js +8 -8
- package/lib/examples/AgentToolApprovalsExample.js +10 -10
- package/lib/examples/AgentTriggersExample.js +14 -14
- package/lib/examples/AgentspecsExample.js +11 -11
- package/lib/examples/AvatarExample.js +8 -8
- package/lib/examples/AvatarGalleryExample.js +8 -8
- package/lib/examples/CellExample.js +2 -2
- package/lib/examples/ChatCustomExample.js +4 -4
- package/lib/examples/ChatExample.js +8 -8
- package/lib/examples/ChatStandaloneExample.js +2 -2
- package/lib/examples/CopilotKitLexicalExample.js +4 -4
- package/lib/examples/CopilotKitNotebookExample.js +4 -4
- package/lib/examples/DecksAgent.js +4 -4
- package/lib/examples/DocumentPageAgent.js +2 -2
- package/lib/examples/Lexical2Example.js +9 -9
- package/lib/examples/LexicalAgentExample.js +7 -7
- package/lib/examples/LexicalAgentSidebarExample.js +8 -8
- package/lib/examples/LoopAppComputerExample.js +4 -4
- package/lib/examples/LoopShellExample.js +6 -6
- package/lib/examples/LoopStrategyExample.js +6 -6
- package/lib/examples/LoopWorkspaceEmbed.js +1 -1
- package/lib/examples/LoopWorkspaceExample.js +11 -11
- package/lib/examples/NotebookAgentExample.js +5 -5
- package/lib/examples/NotebookAgentSidebarExample.js +5 -5
- package/lib/examples/NotebookCollaborationExample.js +6 -6
- package/lib/examples/NotebookExample.js +2 -2
- package/lib/examples/NotebookPageAgent.js +2 -2
- package/lib/examples/PapAccountTokensExample.js +4 -4
- package/lib/examples/PapAgentIdentityExample.js +4 -4
- package/lib/examples/PapAuthorizationBoundaryExample.js +4 -4
- package/lib/examples/PapCompanyDiscoveryExample.js +4 -4
- package/lib/examples/PapConversationControlExample.js +4 -4
- package/lib/examples/PapConversationStreamingExample.js +4 -4
- package/lib/examples/PapDpopProofExample.js +4 -4
- package/lib/examples/PapGuidedJourneyExample.js +4 -4
- package/lib/examples/PapMediatedSignInExample.js +4 -4
- package/lib/examples/PapOperationsExample.js +4 -4
- package/lib/examples/PapSessionLifecycleExample.js +4 -4
- package/lib/examples/PapSignInDisplayExample.js +4 -4
- package/lib/examples/PapTwoCompaniesExample.js +4 -4
- package/lib/examples/PapUserWithACompanyExample.js +4 -4
- package/lib/examples/ProtocolSignedRequestsExample.js +2 -2
- package/lib/examples/ProtocolUcpCheckoutExample.js +2 -2
- package/lib/examples/ScenesExample.js +8 -8
- package/lib/examples/ShieldHarnessExample.js +5 -5
- package/lib/examples/ShieldPolicyExample.js +2 -2
- package/lib/examples/VoiceChatExample.js +4 -4
- package/lib/examples/components/AuthRequiredView.js +1 -1
- package/lib/examples/components/ExampleWrapper.js +3 -3
- package/lib/examples/components/Header.js +2 -2
- package/lib/examples/components/LexicalEditor.js +1 -1
- package/lib/examples/components/MainContent.js +1 -1
- package/lib/examples/components/haiku/HaikuDisplay.js +1 -1
- package/lib/examples/components/haiku/index.js +2 -2
- package/lib/examples/components/index.js +13 -13
- package/lib/examples/components/weather/index.js +1 -1
- package/lib/examples/example-selector.js +78 -78
- package/lib/examples/hooks/useExampleAgentProtocol.js +2 -2
- package/lib/examples/hooks/useExampleAgentRuntime.js +4 -4
- package/lib/examples/hooks/useExampleAgentRuntimes.js +4 -4
- package/lib/examples/hooks/useExampleJupyterAgent.js +8 -8
- package/lib/examples/hooks/useToolRenderers.js +1 -1
- package/lib/examples/index.js +66 -66
- package/lib/examples/lexical/editorConfig.js +1 -1
- package/lib/examples/main.js +21 -21
- package/lib/examples/pap/PapAccountTokensView.js +1 -1
- package/lib/examples/pap/PapAgentIdentityView.js +2 -2
- package/lib/examples/pap/PapAuthorizationBoundaryView.js +1 -1
- package/lib/examples/pap/PapCompanyDiscoveryView.js +2 -2
- package/lib/examples/pap/PapConversationControlView.js +1 -1
- package/lib/examples/pap/PapConversationStreamingView.js +1 -1
- package/lib/examples/pap/PapDpopProofView.js +1 -1
- package/lib/examples/pap/PapGuidedJourneyView.js +2 -2
- package/lib/examples/pap/PapMediatedSignInView.js +1 -1
- package/lib/examples/pap/PapOperationsView.js +1 -1
- package/lib/examples/pap/PapSessionLifecycleView.js +1 -1
- package/lib/examples/pap/PapSignInDisplayView.js +2 -2
- package/lib/examples/pap/PapTraceView.js +1 -1
- package/lib/examples/pap/PapTwoCompaniesView.js +1 -1
- package/lib/examples/pap/PapUserWithACompanyView.js +1 -1
- package/lib/examples/pap/papSignInCases.js +1 -1
- package/lib/examples/protocols/signedRequestsDemo.js +1 -1
- package/lib/examples/protocols/ucpCheckoutDemo.js +3 -3
- package/lib/examples/scenes/A2UiComponentsGalleryScene.js +4 -4
- package/lib/examples/scenes/A2UiContactCardScene.js +3 -3
- package/lib/examples/scenes/A2UiRestaurantScene.js +5 -5
- package/lib/examples/scenes/A2UiViewerScene.js +3 -3
- package/lib/examples/utils/AvatarGalleryGrid.d.ts +1 -1
- package/lib/examples/utils/AvatarGalleryGrid.js +8 -8
- package/lib/examples/utils/a2ui.js +1 -1
- package/lib/examples/utils/a2uiMarkdownProvider.js +1 -1
- package/lib/examples/utils/avatarGallery.js +2 -2
- package/lib/examples/utils/clippyJsCharacters.js +1 -1
- package/lib/examples/utils/examplesStore.js +1 -1
- package/lib/examples/utils/notebookToolbarItems.js +1 -1
- package/lib/examples/utils/owlCharacterPlugin.js +1 -1
- package/lib/examples/utils/teardownAgents.js +1 -1
- package/lib/examples/utils/testSpriteCharacter.js +1 -1
- package/lib/examples/utils/themedProvider.js +1 -1
- package/lib/examples/utils/useExampleAgentRuntimesUrl.js +3 -3
- package/lib/examples2/DatalayerNotebookExample.js +3 -3
- package/lib/examples2/NativeNavigationExample.js +1 -1
- package/lib/examples2/NotebookMutationsKernel.js +2 -2
- package/lib/examples2/NotebookMutationsServiceManager.js +2 -2
- package/lib/examples2/ReactRouterExample.js +1 -1
- package/lib/examples2/example-selector.js +7 -7
- package/lib/examples2/index.js +2 -2
- package/lib/examples2/main.js +5 -5
- package/lib/hooks/index.js +26 -26
- package/lib/hooks/useAgUi.js +1 -1
- package/lib/hooks/useAgentRuntimes.js +9 -9
- package/lib/hooks/useAgentsCatalog.js +1 -1
- package/lib/hooks/useAgentsService.js +1 -1
- package/lib/hooks/useBrowserAgent.js +1 -1
- package/lib/hooks/useBrowserInference.js +2 -2
- package/lib/hooks/useCellOutputshot.js +1 -1
- package/lib/hooks/useChat.js +6 -6
- package/lib/hooks/useCheckpoints.js +10 -10
- package/lib/hooks/useConfig.js +1 -1
- package/lib/hooks/useContextSnapshot.js +1 -1
- package/lib/hooks/useNotifications.js +1 -1
- package/lib/hooks/useProgressTask.js +1 -1
- package/lib/hooks/useSandbox.js +1 -1
- package/lib/hooks/useSkills.js +1 -1
- package/lib/hooks/useToolApprovals.js +2 -2
- package/lib/hooks/useTools.js +1 -1
- package/lib/identity/AgentIdentity.js +3 -3
- package/lib/identity/IdentityConnect.js +2 -2
- package/lib/identity/OAuthCallback.js +1 -1
- package/lib/identity/identityStore.js +2 -2
- package/lib/identity/index.js +8 -8
- package/lib/identity/useIdentity.js +1 -1
- package/lib/index.js +11 -11
- package/lib/inference/DatalayerInferenceProvider.js +2 -2
- package/lib/inference/SelfHostedInferenceProvider.js +2 -2
- package/lib/inference/index.js +3 -3
- package/lib/jupyter/exec/Snippets.js +1 -1
- package/lib/jupyter/exec/index.js +2 -2
- package/lib/jupyter/index.js +3 -3
- package/lib/jupyter/useResumeServerExecutions.js +1 -1
- package/lib/lexical/ChatInlinePlugin.js +1 -1
- package/lib/lexical/index.js +2 -2
- package/lib/loop-example-main.js +2 -2
- package/lib/loop-main.js +9 -9
- package/lib/main.js +1 -1
- package/lib/mcp/index.js +1 -1
- package/lib/middleware/index.js +1 -1
- package/lib/mocks/models/CourseMock.js +1 -1
- package/lib/models/CodeSandboxSnapshotDTO.js +1 -1
- package/lib/models/ItemDTO.js +1 -1
- package/lib/models/LexicalDTO.js +2 -2
- package/lib/models/NotebookDTO.js +2 -2
- package/lib/models/Page.js +1 -1
- package/lib/models/RuntimeDTO.js +1 -1
- package/lib/models/SpaceDTO.js +7 -7
- package/lib/models/index.js +32 -32
- package/lib/portable/activity.js +1 -1
- package/lib/portable/approvalCard.js +1 -1
- package/lib/portable/attention.d.ts +204 -0
- package/lib/portable/attention.js +352 -0
- package/lib/portable/conversation.js +4 -4
- package/lib/portable/displays.js +1 -1
- package/lib/portable/fixtures.js +2 -2
- package/lib/portable/hosts/agentClient.js +4 -4
- package/lib/portable/hosts/client.js +1 -1
- package/lib/portable/hosts/deadLetters.js +3 -3
- package/lib/portable/hosts/deliveries.js +1 -1
- package/lib/portable/hosts/index.js +21 -21
- package/lib/portable/hosts/postgresQueue.js +1 -1
- package/lib/portable/hosts/quotas.js +1 -1
- package/lib/portable/hosts/schema.js +1 -1
- package/lib/portable/index.js +24 -24
- package/lib/portable/localApprovals.d.ts +72 -0
- package/lib/portable/localApprovals.js +125 -0
- package/lib/portable/localRuntime.d.ts +365 -0
- package/lib/portable/localRuntime.js +555 -0
- package/lib/portable/runMeasures.js +2 -2
- package/lib/portable/sessionList.d.ts +426 -0
- package/lib/portable/sessionList.js +618 -0
- package/lib/portable/sessions.js +4 -4
- package/lib/portable/thread.js +2 -2
- package/lib/portable/views.js +1 -1
- package/lib/protocols/A2AAdapter.js +3 -3
- package/lib/protocols/ACPAdapter.js +2 -2
- package/lib/protocols/AGUIAdapter.js +4 -4
- package/lib/protocols/BrowserAgentAdapter.js +3 -3
- package/lib/protocols/VercelAIAdapter.js +2 -2
- package/lib/protocols/a2a/index.js +1 -1
- package/lib/protocols/agentProtocols.js +8 -8
- package/lib/protocols/agentic-commerce/index.js +3 -3
- package/lib/protocols/commerce.js +1 -1
- package/lib/protocols/index.js +6 -6
- package/lib/protocols/mcp/index.js +2 -2
- package/lib/protocols/pact/index.js +1 -1
- package/lib/protocols/pap/index.js +1 -1
- package/lib/protocols/ucp/index.js +3 -3
- package/lib/protocols/ucp/merchant.js +1 -1
- package/lib/protocols/web-bot-auth/index.js +1 -1
- package/lib/protocols/web-bot-auth/tap.js +1 -1
- package/lib/runtimes/actions.js +3 -3
- package/lib/runtimes/browser/agent.js +2 -2
- package/lib/runtimes/browser/frontendTools.js +1 -1
- package/lib/runtimes/browser/index.js +6 -6
- package/lib/runtimes/browser/subagents.js +2 -2
- package/lib/runtimes/index.js +8 -8
- package/lib/runtimes/variants.js +1 -1
- package/lib/services/DatalayerServiceManager.js +1 -1
- package/lib/specs/agents/agents.js +4 -4
- package/lib/specs/agents/index.js +1 -1
- package/lib/specs/cogs.js +4 -4
- package/lib/specs/index.js +32 -32
- package/lib/specs/teams/index.js +1 -1
- package/lib/state/index.js +1 -1
- package/lib/state/substates/RuntimesState.js +1 -1
- package/lib/state/substates/index.js +7 -7
- package/lib/stores/agentRuntimeStore.js +3 -3
- package/lib/stores/index.js +3 -3
- package/lib/stories/Button.stories.js +1 -1
- package/lib/stories/Header.js +1 -1
- package/lib/stories/Header.stories.js +1 -1
- package/lib/stories/Page.js +1 -1
- package/lib/stories/Page.stories.js +1 -1
- package/lib/stories/loop/LoopReference.stories.js +1 -1
- package/lib/stories/loop/ReferenceScreens.js +11 -11
- package/lib/stories/loop/pictures-main.js +2 -2
- package/lib/tools/ToolExecutor.js +1 -1
- package/lib/tools/adapters/agent-runtimes/index.js +3 -3
- package/lib/tools/adapters/agent-runtimes/lexicalHooks.js +1 -1
- package/lib/tools/adapters/agent-runtimes/notebookHooks.js +1 -1
- package/lib/tools/adapters/commands/index.js +1 -1
- package/lib/tools/adapters/copilotkit/index.js +3 -3
- package/lib/tools/adapters/copilotkit/lexicalHooks.js +1 -1
- package/lib/tools/adapters/copilotkit/notebookHooks.js +1 -1
- package/lib/tools/index.js +3 -3
- package/lib/types/index.js +40 -40
- package/lib/ui-plugins/index.js +3 -3
- package/lib/utils/index.js +1 -1
- package/lib/utils/utils.js +2 -2
- package/lib/voice/ComposerVoice.js +5 -5
- package/lib/voice/HandsFree.js +5 -5
- package/lib/voice/ReadAloud.js +1 -1
- package/lib/voice/VoiceInput.js +3 -3
- package/lib/voice/VoiceMenu.js +3 -3
- package/lib/voice/captions.js +2 -2
- package/lib/voice/chatVoice.js +3 -3
- package/lib/voice/choices.js +1 -1
- package/lib/voice/{handsFree.d.ts → handsFreeRules.d.ts} +1 -1
- package/lib/voice/hearing.js +3 -3
- package/lib/voice/index.d.ts +1 -1
- package/lib/voice/index.js +22 -22
- package/lib/voice/keptSound.js +1 -1
- package/lib/voice/pinned.js +1 -1
- package/lib/voice/serverHearing.js +2 -2
- package/lib/voice/useSpokenAnswers.js +1 -1
- package/lib/voice/useVoiceSettings.js +1 -1
- package/lib/voice/useVoiceSpeaker.js +2 -2
- package/package.json +4 -3
- package/scripts/check-npm-pack.mjs +77 -0
- package/scripts/esm-specifiers.mjs +76 -0
- package/scripts/fully-specify-lib.mjs +61 -0
- package/dist-embed/chunks/abnfDiagram-VCTEODGH-m7LJLYga.js +0 -1
- package/dist-embed/chunks/classDiagram-ZZMXUADV-CGdcKCOI.js +0 -1
- package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-CGdcKCOI.js +0 -1
- package/dist-embed/chunks/cose-bilkent-JH36ORCC-BsK2pWDL.js +0 -1
- package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-vmheD_S2.js +0 -62
- package/dist-embed/chunks/diagram-UQ7AKVKN-BFkOO3Wu.js +0 -41
- package/dist-embed/chunks/diagram-VX7I27RA-_LUOsaBb.js +0 -24
- package/dist-embed/chunks/diagram-Z3DM3KII-CY856Sry.js +0 -24
- package/dist-embed/chunks/ebnfDiagram-PWID7BFC-kqD9RLAA.js +0 -1
- package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-BujqTwbf.js +0 -106
- package/dist-embed/chunks/infoDiagram-27XIBGKW-C18Zz25F.js +0 -2
- package/dist-embed/chunks/pegDiagram-XKGWAZYB-BBVcHZ8T.js +0 -1
- package/dist-embed/chunks/railroadDiagram-O6MQD6OU-bR7xXZGS.js +0 -1
- package/dist-embed/chunks/sizeCapture-INFHLROL-BW7unDBA.js +0 -1
- package/dist-embed/chunks/stateDiagram-D77RDMKH-mLSMGpPQ.js +0 -1
- package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-C6TftAzE.js +0 -1
- package/dist-embed/chunks/swimlanes-42K2YHIH-BQTDK2Ta.js +0 -1
- package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BV8Vb5g2.js +0 -8
- /package/lib/chat/assistant/{avatar3d.js → avatar3dModel.js} +0 -0
- /package/lib/voice/{handsFree.js → handsFreeRules.js} +0 -0
|
@@ -7,21 +7,21 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
7
7
|
import { useCallback, useEffect, useMemo, useRef, useState, } from 'react';
|
|
8
8
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
9
9
|
import { Box } from '@datalayer/primer-addons';
|
|
10
|
-
import { AuthRequiredView, ErrorView } from './components';
|
|
10
|
+
import { AuthRequiredView, ErrorView } from './components/index.js';
|
|
11
11
|
import { Heading, Label, Spinner, Text, Token as PrimerToken, } from '@primer/react';
|
|
12
12
|
import { GlobeIcon, CheckCircleIcon, ServerIcon, XCircleIcon, ToolsIcon, } from '@primer/octicons-react';
|
|
13
13
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
14
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
15
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
16
|
-
import { waitForAgent } from './utils/waitForAgent';
|
|
17
|
-
import { LoopEmbed } from '../apps';
|
|
18
|
-
import { AgentMcpPlugin } from '../apps/plugins/agent-mcp';
|
|
19
|
-
import { createChatExtrasPlugin } from '../apps/plugins/chat-extras';
|
|
20
|
-
import { useAIAgentsWebSocket } from '../hooks';
|
|
21
|
-
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
22
|
-
import { parseAgentStreamMessage } from '../types/stream';
|
|
23
|
-
import { MCP_STATUS_COLORS, MCP_STATUS_LABELS } from '../types/mcp';
|
|
24
|
-
import { MCP_SERVER_LIBRARY } from '../specs/mcpServers';
|
|
14
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
15
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
16
|
+
import { waitForAgent } from './utils/waitForAgent.js';
|
|
17
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
18
|
+
import { AgentMcpPlugin } from '../apps/plugins/agent-mcp/index.js';
|
|
19
|
+
import { createChatExtrasPlugin } from '../apps/plugins/chat-extras/index.js';
|
|
20
|
+
import { useAIAgentsWebSocket } from '../hooks/index.js';
|
|
21
|
+
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl.js';
|
|
22
|
+
import { parseAgentStreamMessage } from '../types/stream.js';
|
|
23
|
+
import { MCP_STATUS_COLORS, MCP_STATUS_LABELS } from '../types/mcp.js';
|
|
24
|
+
import { MCP_SERVER_LIBRARY } from '../specs/mcpServers.js';
|
|
25
25
|
const queryClient = new QueryClient();
|
|
26
26
|
const AGENT_NAME = 'mcp-example-agent';
|
|
27
27
|
/* ── Aggregate MCP status helpers ─────────────────────── */
|
|
@@ -306,7 +306,7 @@ const AgentMCPInner = ({ onLogout }) => {
|
|
|
306
306
|
return (_jsxs(Box, { height: "100%", display: "flex", flexDirection: "column", children: [isReconnectedAgent && (_jsx(Box, { px: 3, py: 1, borderBottom: "1px solid", borderColor: "border.default", children: _jsx(Text, { sx: { color: 'fg.muted', fontSize: 0 }, children: "Agent already running - reconnected." }) })), _jsxs(Box, { flex: 1, minHeight: 0, display: "flex", children: [_jsx(Box, { flex: 1, minWidth: 0, children: _jsx(LoopEmbed, { serverUrl: agentBaseUrl, target: "local", showAgentVariants: true, agentId: agentId, editors: false, showHeader: true, plugins: chatPlugins }) }), _jsxs(Box, { width: 320, minWidth: 260, borderLeft: "1px solid", borderColor: "border.default", display: "flex", flexDirection: "column", minHeight: 0, bg: "canvas.default", children: [_jsxs(Box, { p: 2, borderBottom: "1px solid", borderColor: "border.default", children: [_jsx(Heading, { as: "h4", sx: { fontSize: 1, mb: 1 }, children: _jsxs(Box, { display: "inline-flex", alignItems: "center", gap: 1, children: [_jsx(ServerIcon, { size: 16 }), "MCP Servers & Tools"] }) }), _jsxs(Box, { display: "flex", alignItems: "center", gap: 2, children: [_jsx(Box, { as: "span", display: "inline-block", width: 8, height: 8, borderRadius: "50%", bg: MCP_STATUS_COLORS[aggregate], flexShrink: 0 }), _jsxs(Text, { sx: { fontSize: 0, color: 'fg.muted' }, children: [MCP_STATUS_LABELS[aggregate], " \u00B7 ", totalTools, " tool", totalTools !== 1 ? 's' : ''] })] })] }), _jsxs(Box, { p: 2, overflow: "auto", flex: 1, children: [_jsxs(Box, { mb: 3, children: [_jsx(Heading, { as: "h5", sx: { fontSize: 1, mb: 2 }, children: "MCP Servers" }), _jsx(McpStatusPanel, { data: mcpStatusData })] }), mcpServers.length === 0 ? (_jsxs(Box, { display: "flex", flexDirection: "column", alignItems: "center", gap: 2, py: 4, children: [_jsx(Spinner, { size: "medium" }), _jsx(Text, { sx: { fontSize: 0, color: 'fg.muted' }, children: "Waiting for MCP servers to start..." })] })) : (_jsxs(_Fragment, { children: [mcpServers.map(server => (_jsxs(Box, { children: [_jsx(McpServerCard, { server: server }), server.tools.length > 0 && (_jsx(Box, { pl: 2, children: server.tools.map(tool => (_jsx(McpToolCard, { tool: tool }, `${tool.serverId}-${tool.name}`))) }))] }, server.id))), _jsxs(Box, { mt: 3, p: 2, borderRadius: 2, bg: "canvas.default", border: "1px solid", borderColor: "border.muted", children: [_jsx(Heading, { as: "h5", sx: { fontSize: 0, mb: 1 }, children: "MCP (Model Context Protocol)" }), _jsxs(Box, { fontSize: 0, color: "fg.muted", children: [_jsxs(Box, { display: "flex", alignItems: "center", gap: 1, mb: 1, children: [_jsx(GlobeIcon, { size: 12 }), _jsxs(Text, { children: [_jsx("strong", { children: "Servers:" }), " Discover and start MCP servers that expose tools to the agent"] })] }), _jsxs(Box, { display: "flex", alignItems: "center", gap: 1, children: [_jsx(ToolsIcon, { size: 12 }), _jsxs(Text, { children: [_jsx("strong", { children: "Tools:" }), " Individual capabilities exposed by each server (search, fetch, etc.)"] })] })] })] })] }))] })] })] })] }));
|
|
307
307
|
};
|
|
308
308
|
const syncTokenToIamStore = (token) => {
|
|
309
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
309
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
310
310
|
iamStore.setState({ token });
|
|
311
311
|
});
|
|
312
312
|
};
|
|
@@ -322,7 +322,7 @@ const AgentMCPExample = () => {
|
|
|
322
322
|
const handleLogout = useCallback(() => {
|
|
323
323
|
clearAuth();
|
|
324
324
|
hasSynced.current = false;
|
|
325
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
325
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
326
326
|
iamStore.setState({ token: undefined });
|
|
327
327
|
});
|
|
328
328
|
}, [clearAuth]);
|
|
@@ -21,17 +21,17 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
|
21
21
|
import { Text, Button, Spinner, TextInput, Heading, Label, Flash, } from '@primer/react';
|
|
22
22
|
import { SearchIcon, DatabaseIcon, ListUnorderedIcon, } from '@primer/octicons-react';
|
|
23
23
|
import { Box } from '@datalayer/primer-addons';
|
|
24
|
-
import { AuthRequiredView, ErrorView } from './components';
|
|
25
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
26
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
27
|
-
import { waitForAgent } from './utils/waitForAgent';
|
|
24
|
+
import { AuthRequiredView, ErrorView } from './components/index.js';
|
|
25
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
26
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
27
|
+
import { waitForAgent } from './utils/waitForAgent.js';
|
|
28
28
|
const queryClient = new QueryClient();
|
|
29
29
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
30
|
-
import { LoopEmbed } from '../apps';
|
|
31
|
-
import { AgentMemoryPlugin } from '../apps/plugins/agent-memory';
|
|
32
|
-
import { listRuntimeMemories } from '../api/runtimes/runtimes';
|
|
33
|
-
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
34
|
-
import { useRuntimeTargetStore } from './utils/runtimeTargetStore';
|
|
30
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
31
|
+
import { AgentMemoryPlugin } from '../apps/plugins/agent-memory/index.js';
|
|
32
|
+
import { listRuntimeMemories } from '../api/runtimes/runtimes.js';
|
|
33
|
+
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl.js';
|
|
34
|
+
import { useRuntimeTargetStore } from './utils/runtimeTargetStore.js';
|
|
35
35
|
const LOOP_PLUGINS_AGENTMEM = [AgentMemoryPlugin];
|
|
36
36
|
// ─── Constants ─────────────────────────────────────────────────────────────
|
|
37
37
|
const AGENT_NAME = 'memory-example-agent';
|
|
@@ -215,7 +215,7 @@ const AgentMemoryInner = ({ onLogout }) => {
|
|
|
215
215
|
};
|
|
216
216
|
// ─── Sync token to core IAM store ──────────────────────────────────────────
|
|
217
217
|
const syncTokenToIamStore = (token) => {
|
|
218
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
218
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
219
219
|
iamStore.setState({ token });
|
|
220
220
|
});
|
|
221
221
|
};
|
|
@@ -232,7 +232,7 @@ const AgentMemoryExample = () => {
|
|
|
232
232
|
const handleLogout = useCallback(() => {
|
|
233
233
|
clearAuth();
|
|
234
234
|
hasSynced.current = false;
|
|
235
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
235
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
236
236
|
iamStore.setState({ token: undefined });
|
|
237
237
|
});
|
|
238
238
|
}, [clearAuth]);
|
|
@@ -19,25 +19,25 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
|
19
19
|
import { Text, Heading, Label } from '@primer/react';
|
|
20
20
|
import { GraphIcon } from '@primer/octicons-react';
|
|
21
21
|
import { Box } from '@datalayer/primer-addons';
|
|
22
|
-
import { AuthRequiredView, ErrorView } from './components';
|
|
23
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
24
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
25
|
-
import { waitForAgent } from './utils/waitForAgent';
|
|
26
|
-
import { ContextPanel, } from '../context/ContextPanel';
|
|
27
|
-
import { CostTracker } from '../context/CostTracker';
|
|
28
|
-
import { CostUsageChart } from '../context/CostUsageChart';
|
|
29
|
-
import { TokenUsageChart } from '../context/TokenUsageChart';
|
|
30
|
-
import { GraphFlowChart } from '../context/GraphFlowChart';
|
|
31
|
-
import { TurnGraphChart } from '../context/TurnGraphChart';
|
|
32
|
-
import { useAIAgentsWebSocket } from '../hooks';
|
|
33
|
-
import { parseAgentStreamMessage } from '../types/stream';
|
|
34
|
-
import { useCoreStore } from '../state/substates';
|
|
35
|
-
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
22
|
+
import { AuthRequiredView, ErrorView } from './components/index.js';
|
|
23
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
24
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
25
|
+
import { waitForAgent } from './utils/waitForAgent.js';
|
|
26
|
+
import { ContextPanel, } from '../context/ContextPanel.js';
|
|
27
|
+
import { CostTracker } from '../context/CostTracker.js';
|
|
28
|
+
import { CostUsageChart } from '../context/CostUsageChart.js';
|
|
29
|
+
import { TokenUsageChart } from '../context/TokenUsageChart.js';
|
|
30
|
+
import { GraphFlowChart } from '../context/GraphFlowChart.js';
|
|
31
|
+
import { TurnGraphChart } from '../context/TurnGraphChart.js';
|
|
32
|
+
import { useAIAgentsWebSocket } from '../hooks/index.js';
|
|
33
|
+
import { parseAgentStreamMessage } from '../types/stream.js';
|
|
34
|
+
import { useCoreStore } from '../state/substates/index.js';
|
|
35
|
+
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl.js';
|
|
36
36
|
const queryClient = new QueryClient();
|
|
37
37
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
38
|
-
import { LoopEmbed } from '../apps';
|
|
39
|
-
import { AgentMonitoringPlugin } from '../apps/plugins/agent-monitoring';
|
|
40
|
-
import { createChatExtrasPlugin } from '../apps/plugins/chat-extras';
|
|
38
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
39
|
+
import { AgentMonitoringPlugin } from '../apps/plugins/agent-monitoring/index.js';
|
|
40
|
+
import { createChatExtrasPlugin } from '../apps/plugins/chat-extras/index.js';
|
|
41
41
|
const AGENT_NAME = 'monitoring-example-agent';
|
|
42
42
|
const OTEL_BASE_URL_ENV = import.meta.env.VITE_OTEL_BASE_URL;
|
|
43
43
|
// Consume-side OTEL override (DATALAYER_OTEL_IN_URL). When set, telemetry is
|
|
@@ -301,7 +301,7 @@ const AgentMonitoringInner = ({ onLogout, }) => {
|
|
|
301
301
|
: ''] })] })), _jsxs(Box, { p: 3, borderBottom: "1px solid", borderColor: "border.default", children: [_jsx(Heading, { as: "h4", sx: { fontSize: 1, mb: 2 }, children: "Turn Execution Graph (OTEL traces)" }), _jsx(TurnGraphChart, { serviceName: otelServiceName, agentId: agentId, otelUrl: otelBaseUrl, apiKey: token ?? undefined, autoRefreshMs: 10_000, height: 280 })] })] })] })] }));
|
|
302
302
|
};
|
|
303
303
|
const syncTokenToIamStore = (token) => {
|
|
304
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
304
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
305
305
|
iamStore.setState({ token });
|
|
306
306
|
});
|
|
307
307
|
};
|
|
@@ -317,7 +317,7 @@ const AgentMonitoringExample = () => {
|
|
|
317
317
|
const handleLogout = useCallback(() => {
|
|
318
318
|
clearAuth();
|
|
319
319
|
hasSynced.current = false;
|
|
320
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
320
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
321
321
|
iamStore.setState({ token: undefined });
|
|
322
322
|
});
|
|
323
323
|
}, [clearAuth]);
|
|
@@ -19,14 +19,14 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
|
19
19
|
import { Text, Button, Heading, Label, TextInput, Flash, Timeline, } from '@primer/react';
|
|
20
20
|
import { AlertIcon, BellIcon, MailIcon, CheckCircleIcon, MuteIcon, } from '@primer/octicons-react';
|
|
21
21
|
import { Box } from '@datalayer/primer-addons';
|
|
22
|
-
import { AuthRequiredView, ErrorView } from './components';
|
|
23
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
24
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
25
|
-
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime';
|
|
22
|
+
import { AuthRequiredView, ErrorView } from './components/index.js';
|
|
23
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
24
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
25
|
+
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime.js';
|
|
26
26
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
27
|
-
import { LoopEmbed } from '../apps';
|
|
28
|
-
import { useAgentRuntimeStore } from '../stores';
|
|
29
|
-
import { AgentNotificationsPlugin } from '../apps/plugins/agent-notifications';
|
|
27
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
28
|
+
import { useAgentRuntimeStore } from '../stores/index.js';
|
|
29
|
+
import { AgentNotificationsPlugin } from '../apps/plugins/agent-notifications/index.js';
|
|
30
30
|
const queryClient = new QueryClient();
|
|
31
31
|
// ─── Constants ─────────────────────────────────────────────────────────────
|
|
32
32
|
const AGENT_NAME = 'notification-example-agent';
|
|
@@ -222,7 +222,7 @@ const AgentNotificationsInner = ({ onLogout, }) => {
|
|
|
222
222
|
};
|
|
223
223
|
// ─── Sync token to core IAM store ──────────────────────────────────────────
|
|
224
224
|
const syncTokenToIamStore = (token) => {
|
|
225
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
225
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
226
226
|
iamStore.setState({ token });
|
|
227
227
|
});
|
|
228
228
|
};
|
|
@@ -239,7 +239,7 @@ const AgentNotificationsExample = () => {
|
|
|
239
239
|
const handleLogout = useCallback(() => {
|
|
240
240
|
clearAuth();
|
|
241
241
|
hasSynced.current = false;
|
|
242
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
242
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
243
243
|
iamStore.setState({ token: undefined });
|
|
244
244
|
});
|
|
245
245
|
}, [clearAuth]);
|
|
@@ -28,12 +28,12 @@ import { TelescopeIcon, PlugIcon, XIcon } from '@primer/octicons-react';
|
|
|
28
28
|
import { Box } from '@datalayer/primer-addons';
|
|
29
29
|
import { OtelHeader, DashboardView, SqlView, SystemView, useSimpleAuthStore, } from '@datalayer/core/lib/views/otel';
|
|
30
30
|
import { useCoreStore } from '@datalayer/core';
|
|
31
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
32
|
-
import { AuthRequiredView } from './components';
|
|
33
|
-
import { LoopEmbed } from '../apps';
|
|
34
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
35
|
-
import { AgentOtelPlugin } from '../apps/plugins/agent-otel';
|
|
36
|
-
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
31
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
32
|
+
import { AuthRequiredView } from './components/index.js';
|
|
33
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
34
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
35
|
+
import { AgentOtelPlugin } from '../apps/plugins/agent-otel/index.js';
|
|
36
|
+
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl.js';
|
|
37
37
|
// ─── Environment / defaults ────────────────────────────────────────────────
|
|
38
38
|
const OTEL_BASE_URL_ENV = import.meta.env.VITE_OTEL_BASE_URL ?? '';
|
|
39
39
|
// Consume-side OTEL override (DATALAYER_OTEL_IN_URL). When set, telemetry is
|
|
@@ -26,14 +26,14 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
|
26
26
|
import { Text, Button, Heading, Label } from '@primer/react';
|
|
27
27
|
import { TableIcon, FileIcon, CodeIcon, GraphIcon, DownloadIcon, } from '@primer/octicons-react';
|
|
28
28
|
import { Box } from '@datalayer/primer-addons';
|
|
29
|
-
import { AuthRequiredView } from './components';
|
|
29
|
+
import { AuthRequiredView } from './components/index.js';
|
|
30
30
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
31
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
32
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
33
|
-
import { LoopEmbed } from '../apps';
|
|
34
|
-
import { AgentOutputsPlugin } from '../apps/plugins/agent-outputs';
|
|
35
|
-
import { useChatStore } from '../stores/chatStore';
|
|
36
|
-
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
31
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
32
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
33
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
34
|
+
import { AgentOutputsPlugin } from '../apps/plugins/agent-outputs/index.js';
|
|
35
|
+
import { useChatStore } from '../stores/chatStore.js';
|
|
36
|
+
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl.js';
|
|
37
37
|
const LOOP_PLUGINS_AGENTOUT = [AgentOutputsPlugin];
|
|
38
38
|
const queryClient = new QueryClient();
|
|
39
39
|
// ─── Constants ─────────────────────────────────────────────────────────────
|
|
@@ -339,7 +339,7 @@ const AgentOutputsInner = () => {
|
|
|
339
339
|
};
|
|
340
340
|
// ─── Sync token to core IAM store ──────────────────────────────────────────
|
|
341
341
|
const syncTokenToIamStore = (token) => {
|
|
342
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
342
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
343
343
|
iamStore.setState({ token });
|
|
344
344
|
});
|
|
345
345
|
};
|
|
@@ -8,12 +8,12 @@ import { Box, setupPrimerPortals } from '@datalayer/primer-addons';
|
|
|
8
8
|
import { Button, Heading, Label, Spinner, Text } from '@primer/react';
|
|
9
9
|
import validator from '@rjsf/validator-ajv8';
|
|
10
10
|
import { Form, yamlSchemaToJsonSchema } from '@datalayer/primer-rjsf';
|
|
11
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
12
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
13
|
-
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime';
|
|
14
|
-
import { ErrorView } from './components';
|
|
15
|
-
import { LoopEmbed } from '../apps';
|
|
16
|
-
import { AgentParametersPlugin } from '../apps/plugins/agent-parameters';
|
|
11
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
12
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
13
|
+
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime.js';
|
|
14
|
+
import { ErrorView } from './components/index.js';
|
|
15
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
16
|
+
import { AgentParametersPlugin } from '../apps/plugins/agent-parameters/index.js';
|
|
17
17
|
const LOOP_PLUGINS_AGENTPAR = [AgentParametersPlugin];
|
|
18
18
|
setupPrimerPortals();
|
|
19
19
|
const AGENTSPEC_ID = 'example-parameters';
|
|
@@ -7,16 +7,16 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
7
7
|
import { useCallback, useEffect, useMemo, useRef, useState, } from 'react';
|
|
8
8
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
9
9
|
import { Box } from '@datalayer/primer-addons';
|
|
10
|
-
import { AuthRequiredView, ErrorView } from './components';
|
|
10
|
+
import { AuthRequiredView, ErrorView } from './components/index.js';
|
|
11
11
|
import { Button, Dialog, Heading, Label, Text, Token as PrimerToken, } from '@primer/react';
|
|
12
12
|
import { BriefcaseIcon, FileIcon } from '@primer/octicons-react';
|
|
13
13
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
14
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
15
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
16
|
-
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime';
|
|
17
|
-
import { LoopEmbed } from '../apps';
|
|
18
|
-
import { AgentSkillsPlugin } from '../apps/plugins/agent-skills';
|
|
19
|
-
import { useSkills, useSkillActions } from '../hooks';
|
|
14
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
15
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
16
|
+
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime.js';
|
|
17
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
18
|
+
import { AgentSkillsPlugin } from '../apps/plugins/agent-skills/index.js';
|
|
19
|
+
import { useSkills, useSkillActions } from '../hooks/index.js';
|
|
20
20
|
const LOOP_PLUGINS_AGENTSKI = [AgentSkillsPlugin];
|
|
21
21
|
const queryClient = new QueryClient();
|
|
22
22
|
const AGENT_NAME = 'skills-example-agent';
|
|
@@ -92,7 +92,7 @@ const AgentSkillsInner = ({ onLogout }) => {
|
|
|
92
92
|
return (_jsx(Box, { height: "100%", display: "flex", flexDirection: "column", children: _jsxs(Box, { flex: 1, minHeight: 0, display: "flex", children: [_jsx(Box, { flex: 1, minWidth: 0, children: _jsx(LoopEmbed, { serverUrl: agentBaseUrl, target: "local", showAgentVariants: true, agentId: agentId, editors: false, showHeader: true, plugins: LOOP_PLUGINS_AGENTSKI }) }), _jsxs(Box, { width: 320, minWidth: 280, borderLeft: "1px solid", borderColor: "border.default", display: "flex", flexDirection: "column", minHeight: 0, bg: "canvas.default", children: [_jsxs(Box, { p: 2, borderBottom: "1px solid", borderColor: "border.default", children: [_jsx(Heading, { as: "h4", sx: { fontSize: 1, mb: 1 }, children: _jsxs(Box, { display: "inline-flex", alignItems: "center", gap: 1, children: [_jsx(BriefcaseIcon, { size: 16 }), "Agent Skills"] }) }), _jsxs(Text, { sx: { fontSize: 0, color: 'fg.muted' }, children: [skills.length, " skill", skills.length !== 1 ? 's' : '', " \u00B7", ' ', skills.filter(s => s.status === 'loaded').length, " loaded \u00B7", ' ', skills.filter(s => s.approved).length, " approved"] }), _jsxs(Text, { sx: { fontSize: 0, color: 'fg.muted', mt: 1, display: 'block' }, children: [fileBasedSkills.length, " file-based \u00B7", ' ', packageBasedSkills.length, " package-based \u00B7", ' ', moduleBasedSkills.length, " module-based"] })] }), _jsxs(Box, { p: 2, overflow: "auto", flex: 1, children: [skills.length === 0 ? (_jsx(Text, { sx: { fontSize: 0, color: 'fg.muted' }, children: "Waiting for skills snapshot..." })) : (skills.map(skill => (_jsx(SkillCard, { skill: skill, onToggle: toggleSkill, onToggleApproval: toggleSkillApproval }, skill.id)))), _jsxs(Box, { mt: 3, p: 2, borderRadius: 2, bg: "canvas.default", border: "1px solid", borderColor: "border.muted", children: [_jsx(Heading, { as: "h5", sx: { fontSize: 0, mb: 1 }, children: "Skill Statuses" }), _jsxs(Box, { fontSize: 0, color: "fg.muted", children: [_jsxs(Box, { display: "flex", alignItems: "center", gap: 1, mb: 1, children: [_jsx(Label, { size: "small", variant: "secondary", children: "available" }), _jsx(Text, { children: "In catalog, not yet enabled" })] }), _jsxs(Box, { display: "flex", alignItems: "center", gap: 1, mb: 1, children: [_jsx(Label, { size: "small", variant: "attention", children: "enabled" }), _jsx(Text, { children: "Enabled, loading pending" })] }), _jsxs(Box, { display: "flex", alignItems: "center", gap: 1, children: [_jsx(Label, { size: "small", variant: "success", children: "loaded" }), _jsx(Text, { children: "SKILL.md loaded, in system prompt" })] })] })] })] })] })] }) }));
|
|
93
93
|
};
|
|
94
94
|
const syncTokenToIamStore = (token) => {
|
|
95
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
95
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
96
96
|
iamStore.setState({ token });
|
|
97
97
|
});
|
|
98
98
|
};
|
|
@@ -108,7 +108,7 @@ const AgentSkillsExample = () => {
|
|
|
108
108
|
const handleLogout = useCallback(() => {
|
|
109
109
|
clearAuth();
|
|
110
110
|
hasSynced.current = false;
|
|
111
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
111
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
112
112
|
iamStore.setState({ token: undefined });
|
|
113
113
|
});
|
|
114
114
|
}, [clearAuth]);
|
|
@@ -20,14 +20,14 @@ import { useMemo } from 'react';
|
|
|
20
20
|
import { Text, Spinner, Heading, Label, Timeline } from '@primer/react';
|
|
21
21
|
import { PeopleIcon, PersonIcon } from '@primer/octicons-react';
|
|
22
22
|
import { Box } from '@datalayer/primer-addons';
|
|
23
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
24
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
25
|
-
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
26
|
-
import { LoopEmbed } from '../apps';
|
|
27
|
-
import { AgentSubagentsPlugin } from '../apps/plugins/agent-subagents';
|
|
28
|
-
import { SubagentChatPanel } from '../chat/messages/ChatMessageList';
|
|
29
|
-
import { useAgentRuntimeActiveSubagentToolCallId, useAgentRuntimeRunningSubagentNames, } from '../stores';
|
|
30
|
-
import { getAgentspecs } from '../specs/agents';
|
|
23
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
24
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
25
|
+
import { resolveExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl.js';
|
|
26
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
27
|
+
import { AgentSubagentsPlugin } from '../apps/plugins/agent-subagents/index.js';
|
|
28
|
+
import { SubagentChatPanel } from '../chat/messages/ChatMessageList.js';
|
|
29
|
+
import { useAgentRuntimeActiveSubagentToolCallId, useAgentRuntimeRunningSubagentNames, } from '../stores/index.js';
|
|
30
|
+
import { getAgentspecs } from '../specs/agents/index.js';
|
|
31
31
|
const LOOP_PLUGINS_AGENTSUB = [AgentSubagentsPlugin];
|
|
32
32
|
const AGENT_NAME = 'subagents-example-agent';
|
|
33
33
|
const AGENTSPEC_ID = 'example-subagents';
|
|
@@ -7,16 +7,16 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
import { useCallback, useEffect, useMemo, useRef, useState, } from 'react';
|
|
8
8
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
9
9
|
import { Box } from '@datalayer/primer-addons';
|
|
10
|
-
import { AuthRequiredView, ErrorView } from './components';
|
|
10
|
+
import { AuthRequiredView, ErrorView } from './components/index.js';
|
|
11
11
|
import { Text } from '@primer/react';
|
|
12
12
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
13
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
14
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
15
|
-
import { waitForAgent } from './utils/waitForAgent';
|
|
16
|
-
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
17
|
-
import { LoopEmbed } from '../apps';
|
|
18
|
-
import { createAgentToolApprovalsPlugin } from '../apps/plugins/agent-tool-approvals';
|
|
19
|
-
import { useAgentRuntimeApprovals } from '../stores/agentRuntimeStore';
|
|
13
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
14
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
15
|
+
import { waitForAgent } from './utils/waitForAgent.js';
|
|
16
|
+
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl.js';
|
|
17
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
18
|
+
import { createAgentToolApprovalsPlugin } from '../apps/plugins/agent-tool-approvals/index.js';
|
|
19
|
+
import { useAgentRuntimeApprovals } from '../stores/agentRuntimeStore.js';
|
|
20
20
|
const queryClient = new QueryClient();
|
|
21
21
|
const AGENT_NAME_PREFIX = 'tool-approval-example-agent';
|
|
22
22
|
const DEFAULT_AGENTSPEC_ID = 'example-tool-approvals';
|
|
@@ -157,7 +157,7 @@ const AgentToolApprovalsInner = ({ onLogout, }) => {
|
|
|
157
157
|
return (_jsxs(Box, { height: "100%", minHeight: 0, display: "flex", flexDirection: "column", children: [isReconnectedAgent && (_jsx(Box, { px: 3, py: 1, borderBottom: "1px solid", borderColor: "border.default", children: _jsx(Text, { sx: { color: 'fg.muted', fontSize: 0 }, children: "Agent already running - reconnected." }) })), _jsx(Box, { flex: 1, minHeight: 0, display: "flex", children: _jsx(Box, { flex: 1, minWidth: 0, children: _jsx(LoopEmbed, { serverUrl: agentBaseUrl, target: "local", showAgentVariants: true, agentId: agentId, editors: false, showHeader: true, plugins: plugins }, agentName) }) })] }));
|
|
158
158
|
};
|
|
159
159
|
const syncTokenToIamStore = (token) => {
|
|
160
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
160
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
161
161
|
iamStore.setState({ token });
|
|
162
162
|
});
|
|
163
163
|
};
|
|
@@ -173,7 +173,7 @@ const AgentToolApprovalsExample = () => {
|
|
|
173
173
|
const handleLogout = useCallback(() => {
|
|
174
174
|
clearAuth();
|
|
175
175
|
hasSynced.current = false;
|
|
176
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
176
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
177
177
|
iamStore.setState({ token: undefined });
|
|
178
178
|
});
|
|
179
179
|
}, [clearAuth]);
|
|
@@ -20,19 +20,19 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
|
20
20
|
import { Text, Button, Spinner, Heading, Label, TextInput, Flash, Timeline, Truncate, Tooltip, } from '@primer/react';
|
|
21
21
|
import { ClockIcon, SyncIcon, CheckCircleIcon, XCircleIcon, PlayIcon, GlobeIcon, ZapIcon, EyeIcon, EyeClosedIcon, TrashIcon, CopyIcon, } from '@primer/octicons-react';
|
|
22
22
|
import { Box } from '@datalayer/primer-addons';
|
|
23
|
-
import { AuthRequiredView, ErrorView } from './components';
|
|
24
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
25
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
23
|
+
import { AuthRequiredView, ErrorView } from './components/index.js';
|
|
24
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
25
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
26
26
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
27
|
-
import { LoopEmbed } from '../apps';
|
|
28
|
-
import { AgentTriggersPlugin } from '../apps/plugins/agent-triggers';
|
|
29
|
-
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl';
|
|
30
|
-
import { waitForAgent } from './utils/waitForAgent';
|
|
31
|
-
import { useConnectedIdentities } from '../identity';
|
|
32
|
-
import { ToolApprovalBanner, ToolApprovalDialog, } from '../chat/tools';
|
|
33
|
-
import { useAgentEvents, useDeleteAgentEvent, useMarkEventRead, useMarkEventUnread, useAIAgentsWebSocket, } from '../hooks';
|
|
34
|
-
import { AGUIAdapter, VercelAIAdapter } from '../protocols';
|
|
35
|
-
import { createUserMessage } from '../types/messages';
|
|
27
|
+
import { LoopEmbed } from '../apps/index.js';
|
|
28
|
+
import { AgentTriggersPlugin } from '../apps/plugins/agent-triggers/index.js';
|
|
29
|
+
import { useExampleAgentRuntimesUrl } from './utils/useExampleAgentRuntimesUrl.js';
|
|
30
|
+
import { waitForAgent } from './utils/waitForAgent.js';
|
|
31
|
+
import { useConnectedIdentities } from '../identity/index.js';
|
|
32
|
+
import { ToolApprovalBanner, ToolApprovalDialog, } from '../chat/tools/index.js';
|
|
33
|
+
import { useAgentEvents, useDeleteAgentEvent, useMarkEventRead, useMarkEventUnread, useAIAgentsWebSocket, } from '../hooks/index.js';
|
|
34
|
+
import { AGUIAdapter, VercelAIAdapter } from '../protocols/index.js';
|
|
35
|
+
import { createUserMessage } from '../types/messages.js';
|
|
36
36
|
const LOOP_PLUGINS_AGENTTRI = [AgentTriggersPlugin];
|
|
37
37
|
const queryClient = new QueryClient();
|
|
38
38
|
// ─── Constants ─────────────────────────────────────────────────────────────
|
|
@@ -1087,7 +1087,7 @@ const AgentTriggerInner = ({ onLogout, }) => {
|
|
|
1087
1087
|
};
|
|
1088
1088
|
// ─── Sync token to core IAM store ──────────────────────────────────────────
|
|
1089
1089
|
const syncTokenToIamStore = (token) => {
|
|
1090
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
1090
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
1091
1091
|
iamStore.setState({ token });
|
|
1092
1092
|
});
|
|
1093
1093
|
};
|
|
@@ -1104,7 +1104,7 @@ const AgentTriggersExample = () => {
|
|
|
1104
1104
|
const handleLogout = useCallback(() => {
|
|
1105
1105
|
clearAuth();
|
|
1106
1106
|
hasSynced.current = false;
|
|
1107
|
-
import('../state/substates').then(({ iamStore }) => {
|
|
1107
|
+
import('../state/substates/index.js').then(({ iamStore }) => {
|
|
1108
1108
|
iamStore.setState({ token: undefined });
|
|
1109
1109
|
});
|
|
1110
1110
|
}, [clearAuth]);
|
|
@@ -13,17 +13,17 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
|
13
13
|
import { Box } from '@datalayer/primer-addons';
|
|
14
14
|
import { useCoreStore } from '@datalayer/core';
|
|
15
15
|
import { useSimpleAuthStore } from '@datalayer/core/lib/views/otel';
|
|
16
|
-
import { AgentConfiguration } from '../config';
|
|
17
|
-
import { Chat } from '../chat';
|
|
18
|
-
import { DEFAULT_MODEL } from '../specs';
|
|
19
|
-
import { useIdentity } from '../identity';
|
|
20
|
-
import { useAgentsStore } from './utils/examplesStore';
|
|
21
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
22
|
-
import { isSpecSelection, getSpecId, isCloudSpecSelection, getCloudSpecId, } from '../config/AgentConfiguration';
|
|
23
|
-
import { MockFileBrowser, MainContent, Header } from './components';
|
|
24
|
-
import { useChatStore } from '../stores';
|
|
25
|
-
import { useExampleAgentRuntimes as useAgentRuntimes } from './hooks/useExampleAgentRuntimes';
|
|
26
|
-
import { resolveExampleAgentRuntimesUrl, useExampleAgentRuntimesUrl, } from './utils/useExampleAgentRuntimesUrl';
|
|
16
|
+
import { AgentConfiguration } from '../config/index.js';
|
|
17
|
+
import { Chat } from '../chat/index.js';
|
|
18
|
+
import { DEFAULT_MODEL } from '../specs/index.js';
|
|
19
|
+
import { useIdentity } from '../identity/index.js';
|
|
20
|
+
import { useAgentsStore } from './utils/examplesStore.js';
|
|
21
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
22
|
+
import { isSpecSelection, getSpecId, isCloudSpecSelection, getCloudSpecId, } from '../config/AgentConfiguration.js';
|
|
23
|
+
import { MockFileBrowser, MainContent, Header } from './components/index.js';
|
|
24
|
+
import { useChatStore } from '../stores/index.js';
|
|
25
|
+
import { useExampleAgentRuntimes as useAgentRuntimes } from './hooks/useExampleAgentRuntimes.js';
|
|
26
|
+
import { resolveExampleAgentRuntimesUrl, useExampleAgentRuntimesUrl, } from './utils/useExampleAgentRuntimesUrl.js';
|
|
27
27
|
// Create a query client for React Query
|
|
28
28
|
const queryClient = new QueryClient({
|
|
29
29
|
defaultOptions: {
|
|
@@ -15,17 +15,17 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
* and so are the characters clippy.js publishes, fetched when picked.
|
|
16
16
|
*/
|
|
17
17
|
import { useEffect, useRef, useState } from 'react';
|
|
18
|
-
import { useAgentInspector } from '../components/inspector/agentSpans';
|
|
18
|
+
import { useAgentInspector } from '../components/inspector/agentSpans.js';
|
|
19
19
|
import { buildReactorFromPlugins } from '@datalayer/reactor';
|
|
20
20
|
import { Button, Heading, Text, ToggleSwitch } from '@primer/react';
|
|
21
21
|
import { Box } from '@datalayer/primer-addons';
|
|
22
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
23
|
-
import { ChatFloating } from '../chat';
|
|
24
|
-
import { AssistantCharactersPlugin, assistantCharacterNamed, assistantCharactersOf, } from '../apps/plugins/assistant-characters';
|
|
25
|
-
import { OwlCharacterPlugin } from './utils/owlCharacterPlugin';
|
|
26
|
-
import { readTestSpriteCharacter } from './utils/testSpriteCharacter';
|
|
27
|
-
import { CLIPPY_JS_CHARACTERS, CLIPPY_JS_VERSION, readClippyJsCharacter, } from './utils/clippyJsCharacters';
|
|
28
|
-
import { CHARACTER_FILES_ACCEPT, readCharacterFiles, } from '../chat/assistant/formats';
|
|
22
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
23
|
+
import { ChatFloating } from '../chat/index.js';
|
|
24
|
+
import { AssistantCharactersPlugin, assistantCharacterNamed, assistantCharactersOf, } from '../apps/plugins/assistant-characters/index.js';
|
|
25
|
+
import { OwlCharacterPlugin } from './utils/owlCharacterPlugin.js';
|
|
26
|
+
import { readTestSpriteCharacter } from './utils/testSpriteCharacter.js';
|
|
27
|
+
import { CLIPPY_JS_CHARACTERS, CLIPPY_JS_VERSION, readClippyJsCharacter, } from './utils/clippyJsCharacters.js';
|
|
28
|
+
import { CHARACTER_FILES_ACCEPT, readCharacterFiles, } from '../chat/assistant/formats/index.js';
|
|
29
29
|
/**
|
|
30
30
|
* The agent-runtimes server the assistant talks to: `?agentRuntimesUrl=`
|
|
31
31
|
* when given, else this machine's on port 8765. It serves the `assistant`
|
|
@@ -21,14 +21,14 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
21
21
|
import { useEffect, useRef, useState } from 'react';
|
|
22
22
|
import { Button, Checkbox, FormControl, Heading, SegmentedControl, Text, ToggleSwitch, } from '@primer/react';
|
|
23
23
|
import { Box, DatalayerThemeProvider, themeConfigs, } from '@datalayer/primer-addons';
|
|
24
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
25
|
-
import { useExampleThemeStore } from './utils/themeStore';
|
|
26
|
-
import { AssistantStage } from '../chat/assistant/AssistantStage';
|
|
27
|
-
import { isAssistantModel3D } from '../chat/assistant/
|
|
28
|
-
import { useViewportDrag } from '../chat/useViewportDrag';
|
|
29
|
-
import { AvatarGalleryGrid, MODEL_3D_CHARACTER, GalleryBalloons, GalleryNotebook, GalleryObstacle, galleryNotebookVisual, Still, useGalleryCharacters, } from './utils/AvatarGalleryGrid';
|
|
30
|
-
import { GALLERY_POSES, GALLERY_POSE_LABELS, SAMPLE_NOTEBOOK_SAYING, balloonForPose, sampleApproval, sampleHistory, sampleSaying, sampleToolLine, stateOfPose, } from './utils/avatarGallery';
|
|
31
|
-
import { CLIPPY_JS_VERSION, useClippyJsCharacters, } from './utils/clippyJsCharacters';
|
|
24
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
25
|
+
import { useExampleThemeStore } from './utils/themeStore.js';
|
|
26
|
+
import { AssistantStage } from '../chat/assistant/AssistantStage.js';
|
|
27
|
+
import { isAssistantModel3D } from '../chat/assistant/avatar3dModel.js';
|
|
28
|
+
import { useViewportDrag } from '../chat/useViewportDrag.js';
|
|
29
|
+
import { AvatarGalleryGrid, MODEL_3D_CHARACTER, GalleryBalloons, GalleryNotebook, GalleryObstacle, galleryNotebookVisual, Still, useGalleryCharacters, } from './utils/AvatarGalleryGrid.js';
|
|
30
|
+
import { GALLERY_POSES, GALLERY_POSE_LABELS, SAMPLE_NOTEBOOK_SAYING, balloonForPose, sampleApproval, sampleHistory, sampleSaying, sampleToolLine, stateOfPose, } from './utils/avatarGallery.js';
|
|
31
|
+
import { CLIPPY_JS_VERSION, useClippyJsCharacters, } from './utils/clippyJsCharacters.js';
|
|
32
32
|
const STAGE_SIZE = 96;
|
|
33
33
|
const PANEL_HEIGHT = 640;
|
|
34
34
|
const LEAVE_MS = 700;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { Cell, KernelIndicator, useJupyter, useKernelsStore, useCellsStore, } from '@datalayer/jupyter-react';
|
|
4
|
-
import { getServiceManagerRuntimeEnvironmentDetails } from '../hooks/useAgentRuntimes';
|
|
5
|
-
import { ThemedJupyterProvider } from './utils/themedProvider';
|
|
4
|
+
import { getServiceManagerRuntimeEnvironmentDetails } from '../hooks/useAgentRuntimes.js';
|
|
5
|
+
import { ThemedJupyterProvider } from './utils/themedProvider.js';
|
|
6
6
|
import { Button, Heading, Label, Text } from '@primer/react';
|
|
7
7
|
import { Box } from '@datalayer/primer-addons';
|
|
8
8
|
const CELL_ID = 'cell-example-1';
|
|
@@ -7,10 +7,10 @@ import { useMemo } from 'react';
|
|
|
7
7
|
import { Spinner, Text } from '@primer/react';
|
|
8
8
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
9
9
|
import { Box } from '@datalayer/primer-addons';
|
|
10
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
11
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
12
|
-
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime';
|
|
13
|
-
import { Chat } from '../chat';
|
|
10
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
11
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
12
|
+
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime.js';
|
|
13
|
+
import { Chat } from '../chat/index.js';
|
|
14
14
|
// Create a query client for React Query
|
|
15
15
|
const queryClient = new QueryClient({
|
|
16
16
|
defaultOptions: {
|
|
@@ -25,14 +25,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
25
25
|
import { useMemo } from 'react';
|
|
26
26
|
import { Text, Spinner } from '@primer/react';
|
|
27
27
|
import { Box, setupPrimerPortals } from '@datalayer/primer-addons';
|
|
28
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
29
|
-
import { uniqueAgentId } from './utils/agentId';
|
|
30
|
-
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime';
|
|
31
|
-
import { BROWSER_SIGN_IN_REASON, useExampleAgentProtocol, } from './hooks/useExampleAgentProtocol';
|
|
32
|
-
import { runsInBrowser } from '../runtimes/variants';
|
|
33
|
-
import { AGENTSPECS } from '../specs/agents/agents';
|
|
34
|
-
import { ErrorView } from './components';
|
|
35
|
-
import { Chat } from '../chat';
|
|
28
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
29
|
+
import { uniqueAgentId } from './utils/agentId.js';
|
|
30
|
+
import { useExampleAgentRuntime } from './hooks/useExampleAgentRuntime.js';
|
|
31
|
+
import { BROWSER_SIGN_IN_REASON, useExampleAgentProtocol, } from './hooks/useExampleAgentProtocol.js';
|
|
32
|
+
import { runsInBrowser } from '../runtimes/variants.js';
|
|
33
|
+
import { AGENTSPECS } from '../specs/agents/agents.js';
|
|
34
|
+
import { ErrorView } from './components/index.js';
|
|
35
|
+
import { Chat } from '../chat/index.js';
|
|
36
36
|
setupPrimerPortals();
|
|
37
37
|
const AGENTSPEC_ID = 'example-simple';
|
|
38
38
|
const AGENT_NAME = 'simple';
|
|
@@ -18,8 +18,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
18
18
|
import { useCallback } from 'react';
|
|
19
19
|
import { Text } from '@primer/react';
|
|
20
20
|
import { Box } from '@datalayer/primer-addons';
|
|
21
|
-
import { ThemedProvider } from './utils/themedProvider';
|
|
22
|
-
import { ChatStandalone } from '../chat';
|
|
21
|
+
import { ThemedProvider } from './utils/themedProvider.js';
|
|
22
|
+
import { ChatStandalone } from '../chat/index.js';
|
|
23
23
|
/**
|
|
24
24
|
* Simulated AI responses for demo purposes.
|
|
25
25
|
* In a real application, this would call your AI backend.
|