@datalayer/agent-runtimes 1.6.71 → 1.6.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/dist-embed/assets/loro_wasm_bg-DaqV7kEP.wasm +0 -0
  2. package/dist-embed/chunks/{CollapsiblePlugin-C0AB_Bj4.js → CollapsiblePlugin-Cw8Q8IWz.js} +1 -1
  3. package/dist-embed/chunks/{DeckComponent-CcQt_npU.js → DeckComponent-CGTzTPwI.js} +2 -2
  4. package/dist-embed/chunks/{DocumentView-B5kRsgHA.js → DocumentView-BM7pVo1r.js} +1 -1
  5. package/dist-embed/chunks/{EphemeralDocument-D2DiF9bh.js → EphemeralDocument--_i7ghFX.js} +1 -1
  6. package/dist-embed/chunks/{ExcalidrawComponent-fCxGNKCa.js → ExcalidrawComponent-CGM8z5XO.js} +1 -1
  7. package/dist-embed/chunks/{ExcalidrawModal-DKUwcCya.js → ExcalidrawModal-4MXeDi6L.js} +1 -1
  8. package/dist-embed/chunks/{JupyterLexicalExtension-BUzQSBg9.js → JupyterLexicalExtension-BGj3tSI6.js} +21 -21
  9. package/dist-embed/chunks/{NotebookToolSurfaces-CThVCYgT.js → NotebookToolSurfaces-BcUESGXl.js} +1 -1
  10. package/dist-embed/chunks/{Output-B9M8NqG2.js → Output-DePHyrJp.js} +1 -1
  11. package/dist-embed/chunks/{YouTubePlugin-CI2DrYzS.js → YouTubePlugin-CasHY3Io.js} +1 -1
  12. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-B9GjTWkr.js → abnfDiagram-VCTEODGH-BSmEjUJk.js} +1 -1
  13. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-DJgwPoAm.js → abnfDiagram-VCTEODGH-Din4lNdn.js} +1 -1
  14. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-7PVEMC7U.js → abnfDiagram-VCTEODGH-GnaR64st.js} +1 -1
  15. package/dist-embed/chunks/{ar-SA-G6X2FPQ2-wkzoJCis.js → ar-SA-G6X2FPQ2-DxZmaXSr.js} +1 -1
  16. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-D8l5JMJr.js → architectureDiagram-5GKGNRK7-B0gp8U3r.js} +1 -1
  17. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-BW58VD3k.js → architectureDiagram-5GKGNRK7-ByAYkSMW.js} +1 -1
  18. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DxpQoyfU.js → architectureDiagram-5GKGNRK7-Cy6c9GhS.js} +1 -1
  19. package/dist-embed/chunks/{az-AZ-76LH7QW2-8A2G5Xl3.js → az-AZ-76LH7QW2-D6_hI1qP.js} +1 -1
  20. package/dist-embed/chunks/{bg-BG-XCXSNQG7-STXgrxYv.js → bg-BG-XCXSNQG7-DD3spkPC.js} +1 -1
  21. package/dist-embed/chunks/{blockDiagram-868be97b-BKOxwODo.js → blockDiagram-868be97b-SJGV5uMV.js} +1 -1
  22. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-q5W9Inr2.js → blockDiagram-I7D4REHJ-CJlW5z_T.js} +1 -1
  23. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-CFwtuic_.js → blockDiagram-I7D4REHJ-Clrwi7_Q.js} +1 -1
  24. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-DUgDAcLk.js → blockDiagram-I7D4REHJ-zXh6gZYF.js} +1 -1
  25. package/dist-embed/chunks/{bn-BD-2XOGV67Q-CPLocPzf.js → bn-BD-2XOGV67Q-H0zOOYPr.js} +1 -1
  26. package/dist-embed/chunks/{c4Diagram-3f4bdde3-Qkzgeu7M.js → c4Diagram-3f4bdde3-CXvPU5ga.js} +1 -1
  27. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-CoN7P_Wn.js → c4Diagram-7LVT6UL2-BWQ9xHoN.js} +1 -1
  28. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-B1WiCopu.js → c4Diagram-7LVT6UL2-CZvEIDdH.js} +1 -1
  29. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-i6-qR7Jj.js → c4Diagram-7LVT6UL2-p14SIG7V.js} +1 -1
  30. package/dist-embed/chunks/{ca-ES-6MX7JW3Y-D02os1nv.js → ca-ES-6MX7JW3Y-DQlAuxYC.js} +1 -1
  31. package/dist-embed/chunks/{chunk-2Q5K7J3B-CQc6Ygno.js → chunk-2Q5K7J3B-BkzWX8eg.js} +1 -1
  32. package/dist-embed/chunks/{chunk-2Q5K7J3B-D4B9fHKh.js → chunk-2Q5K7J3B-CWx-QJ0-.js} +1 -1
  33. package/dist-embed/chunks/{chunk-2Q5K7J3B-D-8jYUeu.js → chunk-2Q5K7J3B-DXFGVRZV.js} +1 -1
  34. package/dist-embed/chunks/{chunk-5VM5RSS4-Di16-Nx2.js → chunk-5VM5RSS4-Ciba-ybC.js} +1 -1
  35. package/dist-embed/chunks/{chunk-5VM5RSS4-Czr6x1Cz.js → chunk-5VM5RSS4-DgSzeVg9.js} +1 -1
  36. package/dist-embed/chunks/{chunk-5VM5RSS4-hx-0JzDK.js → chunk-5VM5RSS4-O8p7luYq.js} +1 -1
  37. package/dist-embed/chunks/{chunk-F27PBJKO-Com1kf7o.js → chunk-F27PBJKO-Bo5boRfj.js} +1 -1
  38. package/dist-embed/chunks/{chunk-F27PBJKO-CwU1AhDh.js → chunk-F27PBJKO-BzBvJLmh.js} +1 -1
  39. package/dist-embed/chunks/{chunk-F27PBJKO-DHunCD1V.js → chunk-F27PBJKO-CZHz6AS9.js} +1 -1
  40. package/dist-embed/chunks/{chunk-IMKFNOWR-Dp2FeQer.js → chunk-IMKFNOWR-BJR6rkFo.js} +1 -1
  41. package/dist-embed/chunks/{chunk-IMKFNOWR-nKUPgIMh.js → chunk-IMKFNOWR-Csfu1kFU.js} +1 -1
  42. package/dist-embed/chunks/{chunk-IMKFNOWR-YY0LZ7sH.js → chunk-IMKFNOWR-DODKl-4z.js} +1 -1
  43. package/dist-embed/chunks/{chunk-JWPE2WC7-DbjVY_PP.js → chunk-JWPE2WC7-BVXd-ICe.js} +1 -1
  44. package/dist-embed/chunks/{chunk-JWPE2WC7-ExuCJCuM.js → chunk-JWPE2WC7-Bf4pFlIJ.js} +1 -1
  45. package/dist-embed/chunks/{chunk-JWPE2WC7-DnRzfMcA.js → chunk-JWPE2WC7-nWjEvJWR.js} +1 -1
  46. package/dist-embed/chunks/{chunk-POPQ4Y6H-BCGee997.js → chunk-POPQ4Y6H-DhNnPwZp.js} +1 -1
  47. package/dist-embed/chunks/{chunk-POPQ4Y6H-A9ubErdR.js → chunk-POPQ4Y6H-DsBRlZYP.js} +1 -1
  48. package/dist-embed/chunks/{chunk-POPQ4Y6H-C2JvWF2l.js → chunk-POPQ4Y6H-s1yt1ZtK.js} +1 -1
  49. package/dist-embed/chunks/{chunk-SVP7TREG-C3lpcsoi.js → chunk-SVP7TREG-4yrBA5Q8.js} +1 -1
  50. package/dist-embed/chunks/{chunk-SVP7TREG-B8Ktj5oZ.js → chunk-SVP7TREG-8oKVa2mm.js} +1 -1
  51. package/dist-embed/chunks/{chunk-SVP7TREG-BE6aCPtV.js → chunk-SVP7TREG-CsFEUe5B.js} +1 -1
  52. package/dist-embed/chunks/{chunk-TICWLB2K-DDLH-PY_.js → chunk-TICWLB2K-Br51vTwj.js} +1 -1
  53. package/dist-embed/chunks/{chunk-TICWLB2K-DsF5YXW8.js → chunk-TICWLB2K-CSCMv_QA.js} +1 -1
  54. package/dist-embed/chunks/{chunk-TICWLB2K-B41t7_ZH.js → chunk-TICWLB2K-InZQ5ZEH.js} +1 -1
  55. package/dist-embed/chunks/{chunk-XXDRQBXY-CrWRft2B.js → chunk-XXDRQBXY-B76itibr.js} +1 -1
  56. package/dist-embed/chunks/{chunk-XXDRQBXY-CL2NCW2M.js → chunk-XXDRQBXY-Y8pSpMzF.js} +1 -1
  57. package/dist-embed/chunks/{chunk-XXDRQBXY-WLyvY2FY.js → chunk-XXDRQBXY-sm2AIgJ5.js} +1 -1
  58. package/dist-embed/chunks/{classDiagram-ZZMXUADV-BboixpPJ.js → classDiagram-ZZMXUADV-BjEOw29S.js} +1 -1
  59. package/dist-embed/chunks/{classDiagram-ZZMXUADV-Bai0caPx.js → classDiagram-ZZMXUADV-CoxSb8Y6.js} +1 -1
  60. package/dist-embed/chunks/{classDiagram-ZZMXUADV-D8Y0xhOJ.js → classDiagram-ZZMXUADV-G9WI_1Zg.js} +1 -1
  61. package/dist-embed/chunks/{classDiagram-f62afe4f-DRLHRAsk.js → classDiagram-f62afe4f-C7V9AhQG.js} +1 -1
  62. package/dist-embed/chunks/{classDiagram-v2-604399ef-D5Ei8Rzt.js → classDiagram-v2-604399ef-D5fT6Dr7.js} +1 -1
  63. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-BboixpPJ.js → classDiagram-v2-VYDZK3BY-BjEOw29S.js} +1 -1
  64. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-Bai0caPx.js → classDiagram-v2-VYDZK3BY-CoxSb8Y6.js} +1 -1
  65. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-D8Y0xhOJ.js → classDiagram-v2-VYDZK3BY-G9WI_1Zg.js} +1 -1
  66. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-C3tGcmmE.js → cose-bilkent-JH36ORCC-3hKxz2TJ.js} +1 -1
  67. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-B8MfWP5z.js → cose-bilkent-JH36ORCC-C73aLaB-.js} +1 -1
  68. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-BTrzk8VB.js → cose-bilkent-JH36ORCC-DCtKiRmD.js} +1 -1
  69. package/dist-embed/chunks/{createText-aed3d8b3-BtTc5fFM.js → createText-aed3d8b3-BW8KnfYh.js} +1 -1
  70. package/dist-embed/chunks/{cs-CZ-2BRQDIVT-DWfsXoh1.js → cs-CZ-2BRQDIVT-DF0QlWYl.js} +1 -1
  71. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-BIHs-uIN.js → cynefinDiagram-5FMLGOSQ-BSwaTAfL.js} +1 -1
  72. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-y0sLtWDh.js → cynefinDiagram-5FMLGOSQ-DLyDkFEh.js} +1 -1
  73. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-CAVA9RUT.js → cynefinDiagram-5FMLGOSQ-NWammrfO.js} +1 -1
  74. package/dist-embed/chunks/{d3-interpolate-BVJucgkN.js → d3-interpolate-DUiJmnH4.js} +1 -1
  75. package/dist-embed/chunks/{d3-scale-B-wnA6MO.js → d3-scale-CKQch2Pp.js} +1 -1
  76. package/dist-embed/chunks/{d3-scale-chromatic-BM1YEV1K.js → d3-scale-chromatic-CYKVeOb7.js} +1 -1
  77. package/dist-embed/chunks/{da-DK-5WZEPLOC-DzG_CHLt.js → da-DK-5WZEPLOC-DZpohvgg.js} +1 -1
  78. package/dist-embed/chunks/{dagre-GXQ25YYZ-CDlWKdpD.js → dagre-GXQ25YYZ-CPu-St26.js} +1 -1
  79. package/dist-embed/chunks/{dagre-GXQ25YYZ-DS6b7B-9.js → dagre-GXQ25YYZ-DTWZ8vY1.js} +1 -1
  80. package/dist-embed/chunks/{dagre-GXQ25YYZ-B0H87EXG.js → dagre-GXQ25YYZ-ZuXkHh9P.js} +1 -1
  81. package/dist-embed/chunks/{de-DE-XR44H4JA-Cp9k5PP7.js → de-DE-XR44H4JA-BcvwLNFI.js} +1 -1
  82. package/dist-embed/chunks/{diagram-S7CK7UJ4-drVMHAtR.js → diagram-S7CK7UJ4-ERKr1j6v.js} +1 -1
  83. package/dist-embed/chunks/{diagram-S7CK7UJ4-JYsynKKF.js → diagram-S7CK7UJ4-RBcSDktx.js} +1 -1
  84. package/dist-embed/chunks/{diagram-S7CK7UJ4-CvKuSlIh.js → diagram-S7CK7UJ4-ewBgYmRN.js} +1 -1
  85. package/dist-embed/chunks/{diagram-UQ7AKVKN-F5Jttmi1.js → diagram-UQ7AKVKN-B-f2Afei.js} +1 -1
  86. package/dist-embed/chunks/{diagram-UQ7AKVKN-Bk4G3y2x.js → diagram-UQ7AKVKN-BQVu3Qe-.js} +1 -1
  87. package/dist-embed/chunks/{diagram-UQ7AKVKN-CKcB931e.js → diagram-UQ7AKVKN-CGNA7gub.js} +1 -1
  88. package/dist-embed/chunks/{diagram-VSXAHHWV-E1aTqHE6.js → diagram-VSXAHHWV-CTQu2IBp.js} +1 -1
  89. package/dist-embed/chunks/{diagram-VSXAHHWV-oD67DEqs.js → diagram-VSXAHHWV-DRVoe_PH.js} +1 -1
  90. package/dist-embed/chunks/{diagram-VSXAHHWV-CBVEfP-1.js → diagram-VSXAHHWV-GkbP6NMy.js} +1 -1
  91. package/dist-embed/chunks/{diagram-VX7I27RA-Pm6ZWSmt.js → diagram-VX7I27RA-B_LkfTnq.js} +1 -1
  92. package/dist-embed/chunks/{diagram-VX7I27RA-CyWaO7T4.js → diagram-VX7I27RA-CaynSBjY.js} +1 -1
  93. package/dist-embed/chunks/{diagram-VX7I27RA-ibaX9uY_.js → diagram-VX7I27RA-DHwSWNj4.js} +1 -1
  94. package/dist-embed/chunks/{diagram-Z3DM3KII-CuT3xWy-.js → diagram-Z3DM3KII-BSrrfEXq.js} +1 -1
  95. package/dist-embed/chunks/{diagram-Z3DM3KII-B9KP0qR5.js → diagram-Z3DM3KII-BZ9tmKdd.js} +1 -1
  96. package/dist-embed/chunks/{diagram-Z3DM3KII-pL8q22K1.js → diagram-Z3DM3KII-D0Xt6xwn.js} +1 -1
  97. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-CtXvxY4V.js → ebnfDiagram-PWID7BFC-CqUNJWps.js} +1 -1
  98. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-D8bY1H8h.js → ebnfDiagram-PWID7BFC-DN2tb-X8.js} +1 -1
  99. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-CSRgBRRN.js → ebnfDiagram-PWID7BFC-Dk5WVIim.js} +1 -1
  100. package/dist-embed/chunks/{edges-b2856ca0-uGZO77VR.js → edges-b2856ca0-C7Oyg_aM.js} +1 -1
  101. package/dist-embed/chunks/{el-GR-BZB4AONW-CmVPRUQo.js → el-GR-BZB4AONW-BFYxkU9G.js} +1 -1
  102. package/dist-embed/chunks/{erDiagram-5d81789a-D6cI7l5P.js → erDiagram-5d81789a-ow68WqFY.js} +1 -1
  103. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-C2OGtFDg.js → erDiagram-RLTQ6QDP-BTXMcY7Y.js} +1 -1
  104. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-CbHNzrJr.js → erDiagram-RLTQ6QDP-BsU1EeJN.js} +1 -1
  105. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-CmySoB2u.js → erDiagram-RLTQ6QDP-Dk34WMaW.js} +1 -1
  106. package/dist-embed/chunks/{es-ES-U4NZUMDT-CKiieSH_.js → es-ES-U4NZUMDT-DfsrGpW8.js} +1 -1
  107. package/dist-embed/chunks/{eu-ES-A7QVB2H4-DbwSFr4X.js → eu-ES-A7QVB2H4-C4M9A--a.js} +1 -1
  108. package/dist-embed/chunks/{fa-IR-HGAKTJCU-Dq2snuU2.js → fa-IR-HGAKTJCU-Dz5YhtO5.js} +1 -1
  109. package/dist-embed/chunks/{fi-FI-Z5N7JZ37-DmOWUSOC.js → fi-FI-Z5N7JZ37-XjyQSB_d.js} +1 -1
  110. package/dist-embed/chunks/{flowDb-185abca5-u47zsz1a.js → flowDb-185abca5-Cs4mMxhw.js} +1 -1
  111. package/dist-embed/chunks/{flowDiagram-1629c991-DZ9rPZXj.js → flowDiagram-1629c991-CHvSNikI.js} +1 -1
  112. package/dist-embed/chunks/{flowDiagram-HODETNUW-DZ9zaLhW.js → flowDiagram-HODETNUW-DNjEQlAR.js} +1 -1
  113. package/dist-embed/chunks/{flowDiagram-HODETNUW-vg00NXJH.js → flowDiagram-HODETNUW-DP1PWdQF.js} +1 -1
  114. package/dist-embed/chunks/{flowDiagram-HODETNUW-CQFl-GMX.js → flowDiagram-HODETNUW-DXLXSKI7.js} +1 -1
  115. package/dist-embed/chunks/{flowDiagram-v2-1d953310-651L93TU.js → flowDiagram-v2-1d953310-eV94YCy9.js} +1 -1
  116. package/dist-embed/chunks/{flowchart-elk-definition-6df44142-C4tiH4LX.js → flowchart-elk-definition-6df44142-6xYb0NnW.js} +1 -1
  117. package/dist-embed/chunks/{fr-FR-RHASNOE6-ClRC3QA7.js → fr-FR-RHASNOE6-VH6OvmOI.js} +1 -1
  118. package/dist-embed/chunks/{ganttDiagram-3b0b3873-BEQeyh8j.js → ganttDiagram-3b0b3873-BplyF8AP.js} +1 -1
  119. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-CH0_KopB.js → ganttDiagram-EL5Y4UJY-DmwhuzrV.js} +1 -1
  120. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-B7gFmmSB.js → ganttDiagram-EL5Y4UJY-Qz5HuyzZ.js} +1 -1
  121. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-DMm3VDQs.js → ganttDiagram-EL5Y4UJY-UWTfR8VF.js} +1 -1
  122. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-8Ld_oV7w.js → gitGraphDiagram-WWUBYQGX-BUlSUrle.js} +1 -1
  123. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-6YBQGkR1.js → gitGraphDiagram-WWUBYQGX-CF5nE-hV.js} +1 -1
  124. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-zGcY3zMf.js → gitGraphDiagram-WWUBYQGX-kicEF2lX.js} +1 -1
  125. package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-MlMt_j8g.js → gitGraphDiagram-f01e8bc2-Bhx3RNmO.js} +1 -1
  126. package/dist-embed/chunks/{gl-ES-HMX3MZ6V-DdzTZhDF.js → gl-ES-HMX3MZ6V-DD5-fm7n.js} +1 -1
  127. package/dist-embed/chunks/{he-IL-6SHJWFNN-h8PcVBZI.js → he-IL-6SHJWFNN-CJ6dYqWM.js} +1 -1
  128. package/dist-embed/chunks/{hi-IN-IWLTKZ5I-Cr64SJMR.js → hi-IN-IWLTKZ5I-CGMlTAed.js} +1 -1
  129. package/dist-embed/chunks/{hu-HU-A5ZG7DT2-CIk9I5SD.js → hu-HU-A5ZG7DT2-B62Sv99K.js} +1 -1
  130. package/dist-embed/chunks/{id-ID-SAP4L64H-BI0RoTwG.js → id-ID-SAP4L64H-OcuSDAR-.js} +1 -1
  131. package/dist-embed/chunks/{index-9bae90f3-BTKQkhNB.js → index-9bae90f3-C-Eph-LM.js} +1 -1
  132. package/dist-embed/chunks/{index-DedU423o.js → index-Botot3k_.js} +1 -1
  133. package/dist-embed/chunks/{index--2Kz2vhr.js → index-DObGLuCI.js} +3 -3
  134. package/dist-embed/chunks/{index-Das_qYGD.js → index-Df2MkvAW.js} +3 -3
  135. package/dist-embed/chunks/{index-BeGvx7Sl.js → index-DjDXWGO2.js} +2 -2
  136. package/dist-embed/chunks/{infoDiagram-27XIBGKW-DG60Rjp7.js → infoDiagram-27XIBGKW-B4XVsJvC.js} +1 -1
  137. package/dist-embed/chunks/{infoDiagram-27XIBGKW-BxqvbVTq.js → infoDiagram-27XIBGKW-Cs7bZlH6.js} +1 -1
  138. package/dist-embed/chunks/{infoDiagram-27XIBGKW-D4QEx-lv.js → infoDiagram-27XIBGKW-DGlJ7Q80.js} +1 -1
  139. package/dist-embed/chunks/{infoDiagram-a29d40f1-DFNkxTx3.js → infoDiagram-a29d40f1-qBdv4q0h.js} +1 -1
  140. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-DKZQg1nM.js → ishikawaDiagram-5VMMS53U-BB-Kv-Mj.js} +1 -1
  141. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-EJLPyjm5.js → ishikawaDiagram-5VMMS53U-BIytcjnR.js} +1 -1
  142. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-BJmxw87p.js → ishikawaDiagram-5VMMS53U-HBIqRNLh.js} +1 -1
  143. package/dist-embed/chunks/{it-IT-JPQ66NNP-BmtLkshr.js → it-IT-JPQ66NNP-1UkMde1K.js} +1 -1
  144. package/dist-embed/chunks/{ja-JP-DBVTYXUO-CHGYZwrL.js → ja-JP-DBVTYXUO-ZHmHs3WT.js} +1 -1
  145. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-DrvEpRi1.js → journeyDiagram-3NMN7TZE-Bs6ObzT9.js} +1 -1
  146. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-M2cPBt3x.js → journeyDiagram-3NMN7TZE-C3yCP95B.js} +1 -1
  147. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-PtL6vLpD.js → journeyDiagram-3NMN7TZE-DEtcUVr2.js} +1 -1
  148. package/dist-embed/chunks/{journeyDiagram-95396277-BvrUMAoy.js → journeyDiagram-95396277-D89HQ4tg.js} +1 -1
  149. package/dist-embed/chunks/{kaa-6HZHGXH3-nPvVx0w3.js → kaa-6HZHGXH3-C57X5Q7d.js} +1 -1
  150. package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-8D_1g1dO.js → kab-KAB-ZGHBKWFO-BUnQ_56J.js} +1 -1
  151. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BU0gbDDP.js → kanban-definition-UXKFOSKX-B9DSJpj9.js} +1 -1
  152. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-D3plDGho.js → kanban-definition-UXKFOSKX-CWfihtP5.js} +1 -1
  153. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-B4SUuj36.js → kanban-definition-UXKFOSKX-_mcHB773.js} +1 -1
  154. package/dist-embed/chunks/{kk-KZ-P5N5QNE5-Do6SvkVL.js → kk-KZ-P5N5QNE5-CBp9NICk.js} +1 -1
  155. package/dist-embed/chunks/{km-KH-HSX4SM5Z-BMJ3G21t.js → km-KH-HSX4SM5Z-MPn8eiKl.js} +1 -1
  156. package/dist-embed/chunks/{ko-KR-MTYHY66A-ChpsG9Xs.js → ko-KR-MTYHY66A-DqUfCjgF.js} +1 -1
  157. package/dist-embed/chunks/{ku-TR-6OUDTVRD-gp9htEdP.js → ku-TR-6OUDTVRD-BhyGSJkh.js} +1 -1
  158. package/dist-embed/chunks/{layout-BYpLKfOV.js → layout-DTdkd155.js} +1 -1
  159. package/dist-embed/chunks/{layout-Bakurf9B.js → layout-D_LOxL0l.js} +1 -1
  160. package/dist-embed/chunks/{layout-CrNv7hKB.js → layout-XFc4Od7Z.js} +1 -1
  161. package/dist-embed/chunks/{lib-BxINeYlh.js → lib-1k8qJMow.js} +1 -1
  162. package/dist-embed/chunks/{lib-DG8EYn4U.js → lib-5puVfbvR.js} +1 -1
  163. package/dist-embed/chunks/{lib-xBLxzb2n.js → lib-B0-V3yWM.js} +1 -1
  164. package/dist-embed/chunks/{lib-3uZWBPlY.js → lib-B5oYQnVZ.js} +1 -1
  165. package/dist-embed/chunks/{lib-BvYPNc73.js → lib-B8QeIpMg.js} +1 -1
  166. package/dist-embed/chunks/{lib-D0TfokqC.js → lib-BDCbvZ5k.js} +1 -1
  167. package/dist-embed/chunks/{lib-DPTXss3j.js → lib-BKRN5rY4.js} +1 -1
  168. package/dist-embed/chunks/{lib-BvqMzckl.js → lib-BuNapvTN.js} +1 -1
  169. package/dist-embed/chunks/{lib-DOHySEz9.js → lib-CDTJBLjs.js} +1 -1
  170. package/dist-embed/chunks/{lib-CEQko5Lb.js → lib-CJ1wJo-A.js} +1 -1
  171. package/dist-embed/chunks/{lib-DsKt7xJA.js → lib-D0_SMUcl.js} +1 -1
  172. package/dist-embed/chunks/{lib-CiVmfde5.js → lib-D8ZZk58r.js} +1 -1
  173. package/dist-embed/chunks/{lib-Cf2l8Zmf.js → lib-DGXPl5aF.js} +1 -1
  174. package/dist-embed/chunks/{lib-CyK2-X7d.js → lib-DLVOFtf2.js} +1 -1
  175. package/dist-embed/chunks/{lib-CO4OmVyp.js → lib-M0p61UIz.js} +1 -1
  176. package/dist-embed/chunks/{lib-C3ZlDgEi.js → lib-eUsLplee.js} +1 -1
  177. package/dist-embed/chunks/{lib-Dt1jfwNc.js → lib-qL5koKak.js} +1 -1
  178. package/dist-embed/chunks/{lib-DX4YNZSO.js → lib-r8emmCZN.js} +1 -1
  179. package/dist-embed/chunks/{lt-LT-XHIRWOB4-BbnVWzNi.js → lt-LT-XHIRWOB4-DnzpQbb1.js} +1 -1
  180. package/dist-embed/chunks/{lv-LV-5QDEKY6T-DavVCJnk.js → lv-LV-5QDEKY6T-CdDJ-bA0.js} +1 -1
  181. package/dist-embed/chunks/{mermaid.core-D27cfkqB.js → mermaid.core-KTB2Lxd3.js} +2 -2
  182. package/dist-embed/chunks/{mermaid.core-CiNB92Or.js → mermaid.core-gUuQZ3q0.js} +3 -3
  183. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-C3NB-5T8.js → mindmap-definition-YA3MSWOX-CCpwK8vh.js} +1 -1
  184. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-KsmhzYv2.js → mindmap-definition-YA3MSWOX-CmGscTNk.js} +1 -1
  185. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-BQ-9Txgq.js → mindmap-definition-YA3MSWOX-Zy7pURli.js} +1 -1
  186. package/dist-embed/chunks/{mindmap-definition-e4c1d938-Dv1AzCGL.js → mindmap-definition-e4c1d938-Bx-OHtVA.js} +1 -1
  187. package/dist-embed/chunks/{mr-IN-CRQNXWMA-CQBQTd6I.js → mr-IN-CRQNXWMA-dch-5wWZ.js} +1 -1
  188. package/dist-embed/chunks/{my-MM-5M5IBNSE-Bx2p29ll.js → my-MM-5M5IBNSE-CpBgcBwB.js} +1 -1
  189. package/dist-embed/chunks/{nb-NO-T6EIAALU-VfeikTNz.js → nb-NO-T6EIAALU-COa2OyCA.js} +1 -1
  190. package/dist-embed/chunks/{nl-NL-IS3SIHDZ-BRC7UbJQ.js → nl-NL-IS3SIHDZ-CUds_bYU.js} +1 -1
  191. package/dist-embed/chunks/{nn-NO-6E72VCQL-Cd0ZpCDa.js → nn-NO-6E72VCQL-C7gst3vb.js} +1 -1
  192. package/dist-embed/chunks/{oc-FR-POXYY2M6-0ol5enP0.js → oc-FR-POXYY2M6-BPpFvRq9.js} +1 -1
  193. package/dist-embed/chunks/{pa-IN-N4M65BXN-D1pyAzHY.js → pa-IN-N4M65BXN-CFdnD-54.js} +1 -1
  194. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-DhvaUzon.js → pegDiagram-XKGWAZYB-C1R8Kk6K.js} +1 -1
  195. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-DJx7ItKD.js → pegDiagram-XKGWAZYB-CRdzWywN.js} +1 -1
  196. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-Is1k6AS8.js → pegDiagram-XKGWAZYB-dwQNJiaW.js} +1 -1
  197. package/dist-embed/chunks/{percentages-BXMCSKIN-BBr7lX_m.js → percentages-BXMCSKIN-PE_Zr0z2.js} +5 -5
  198. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-BT8R9d7U.js → pieDiagram-E7YTZNPT-CH60iHt1.js} +1 -1
  199. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-BzkWlPJb.js → pieDiagram-E7YTZNPT-Cm-wzRi8.js} +1 -1
  200. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-B47HW6cl.js → pieDiagram-E7YTZNPT-IN-ewUih.js} +1 -1
  201. package/dist-embed/chunks/{pieDiagram-c941bede-D0pTkwg6.js → pieDiagram-c941bede-CsV2p2ej.js} +1 -1
  202. package/dist-embed/chunks/{pl-PL-T2D74RX3-CiqrMl0R.js → pl-PL-T2D74RX3-DC0vXmC3.js} +1 -1
  203. package/dist-embed/chunks/{pt-BR-5N22H2LF-CuQdXsLl.js → pt-BR-5N22H2LF-BOMTxvy-.js} +1 -1
  204. package/dist-embed/chunks/{pt-PT-UZXXM6DQ-BBsDgmIm.js → pt-PT-UZXXM6DQ-BoKelgnz.js} +1 -1
  205. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DbDzHhaw.js → quadrantDiagram-AXDQQJYC-B1wf6Zth.js} +1 -1
  206. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DauoGYGG.js → quadrantDiagram-AXDQQJYC-B7W6MWBq.js} +1 -1
  207. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DCmsJOCD.js → quadrantDiagram-AXDQQJYC-mkOZIUHb.js} +1 -1
  208. package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-Cm1iY9r_.js → quadrantDiagram-cf8b8fe0-ZmcsdB3H.js} +1 -1
  209. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-DoL_yVfQ.js → railroadDiagram-O6MQD6OU-B6nFyCFz.js} +1 -1
  210. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-DSAOllON.js → railroadDiagram-O6MQD6OU-DEB7gRmX.js} +1 -1
  211. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-Dn213fC_.js → railroadDiagram-O6MQD6OU-DrkBEH1z.js} +1 -1
  212. package/dist-embed/chunks/{requirementDiagram-53bda41b-DW2X-ZO4.js → requirementDiagram-53bda41b-B_LQ_xkB.js} +1 -1
  213. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-DIgwhEbm.js → requirementDiagram-BXWQKSXE-C8d0kJ1A.js} +1 -1
  214. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-Cc8Iq6BR.js → requirementDiagram-BXWQKSXE-S8WT8VJ1.js} +1 -1
  215. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-CoTX8nXS.js → requirementDiagram-BXWQKSXE-fKcgNNOv.js} +1 -1
  216. package/dist-embed/chunks/{ro-RO-JPDTUUEW-G8eJF90m.js → ro-RO-JPDTUUEW-DUoE6b7w.js} +1 -1
  217. package/dist-embed/chunks/{ru-RU-B4JR7IUQ-D8RVoxZu.js → ru-RU-B4JR7IUQ-BvGrQ7oU.js} +1 -1
  218. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-BzUs-oOr.js → sankeyDiagram-P5KCCOFB-C2LowYxA.js} +1 -1
  219. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-CCetWmiF.js → sankeyDiagram-P5KCCOFB-eNBOyfBR.js} +1 -1
  220. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-DX6zib8G.js → sankeyDiagram-P5KCCOFB-zVvXOpK2.js} +1 -1
  221. package/dist-embed/chunks/{sankeyDiagram-c3ef121a-VSTQbg15.js → sankeyDiagram-c3ef121a-CbZiQf68.js} +1 -1
  222. package/dist-embed/chunks/{sequenceDiagram-82a5b84f-C5Uckj83.js → sequenceDiagram-82a5b84f-E5IR2bYb.js} +1 -1
  223. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-DkNNIHVx.js → sequenceDiagram-WJ2MYXX4-CYxIlDNg.js} +1 -1
  224. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-DKnGwrF5.js → sequenceDiagram-WJ2MYXX4-C_2alFNp.js} +1 -1
  225. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-BTjd1mnX.js → sequenceDiagram-WJ2MYXX4-fsR56p6L.js} +1 -1
  226. package/dist-embed/chunks/{si-LK-N5RQ5JYF-DwhcMDMh.js → si-LK-N5RQ5JYF-DSd6gBaB.js} +1 -1
  227. package/dist-embed/chunks/{sizeCapture-INFHLROL-BH7KTzzO.js → sizeCapture-INFHLROL-BCe0IiFV.js} +1 -1
  228. package/dist-embed/chunks/{sizeCapture-INFHLROL-BlzXuuhc.js → sizeCapture-INFHLROL-BVaNrAtp.js} +1 -1
  229. package/dist-embed/chunks/{sizeCapture-INFHLROL-D9tzDD8E.js → sizeCapture-INFHLROL-BsZaIjAU.js} +1 -1
  230. package/dist-embed/chunks/{sk-SK-C5VTKIMK-BvvWOSic.js → sk-SK-C5VTKIMK-CX5Daxph.js} +1 -1
  231. package/dist-embed/chunks/{sl-SI-NN7IZMDC-BXRTBNsU.js → sl-SI-NN7IZMDC-D5seNheP.js} +1 -1
  232. package/dist-embed/chunks/{stateDiagram-43e79a5f-DCH2ixUH.js → stateDiagram-43e79a5f-DpDccHEJ.js} +1 -1
  233. package/dist-embed/chunks/{stateDiagram-D77RDMKH-uWa_SXfw.js → stateDiagram-D77RDMKH-BUw_L8lD.js} +1 -1
  234. package/dist-embed/chunks/{stateDiagram-D77RDMKH-BJaK_Fes.js → stateDiagram-D77RDMKH-DosU0FIz.js} +1 -1
  235. package/dist-embed/chunks/{stateDiagram-D77RDMKH-DARGsEH1.js → stateDiagram-D77RDMKH-ul2eLf5Q.js} +1 -1
  236. package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-BjpbynP5.js → stateDiagram-v2-2041ed4f-Tvcnabbb.js} +1 -1
  237. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-cAkf425W.js → stateDiagram-v2-MP3YSRHH-Bf-2UYRk.js} +1 -1
  238. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-BEW7rp4U.js → stateDiagram-v2-MP3YSRHH-D0rhfnrW.js} +1 -1
  239. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-ekrmpl5j.js → stateDiagram-v2-MP3YSRHH-DeEmivLr.js} +1 -1
  240. package/dist-embed/chunks/{styles-455b33cd-v8spAk5u.js → styles-455b33cd-CqrAPL5i.js} +1 -1
  241. package/dist-embed/chunks/{styles-f932cba9-BAdLnlMf.js → styles-f932cba9-Dw1HY-mR.js} +1 -1
  242. package/dist-embed/chunks/{styles-fcc2142b-lJPxksnq.js → styles-fcc2142b-C27pEgaj.js} +1 -1
  243. package/dist-embed/chunks/{subset-shared.chunk-OJeRSAZ2.js → subset-shared.chunk-X0WjKx8m.js} +1 -1
  244. package/dist-embed/chunks/{subset-worker.chunk-8ITAD01m.js → subset-worker.chunk-B_UbRqFW.js} +1 -1
  245. package/dist-embed/chunks/{sv-SE-XGPEYMSR-tQuFv9ff.js → sv-SE-XGPEYMSR-C45sq5QB.js} +1 -1
  246. package/dist-embed/chunks/{svgDrawCommon-148a3cd9-q4FMXuf-.js → svgDrawCommon-148a3cd9-CUn_M4Ra.js} +1 -1
  247. package/dist-embed/chunks/{swimlanes-42K2YHIH-B75xo_lW.js → swimlanes-42K2YHIH-CIW2hU2l.js} +1 -1
  248. package/dist-embed/chunks/{swimlanes-42K2YHIH-DN4FbNv8.js → swimlanes-42K2YHIH-CzG-9Sou.js} +1 -1
  249. package/dist-embed/chunks/{swimlanes-42K2YHIH-k2y5-bh2.js → swimlanes-42K2YHIH-DOkKP2_2.js} +1 -1
  250. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BC3XrenE.js → swimlanesDiagram-VR7AAH4N-9yw92Xx_.js} +1 -1
  251. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BZt0zkSo.js → swimlanesDiagram-VR7AAH4N-BlFZ7eQS.js} +1 -1
  252. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-Cg-6N4ep.js → swimlanesDiagram-VR7AAH4N-Cgj6azeO.js} +1 -1
  253. package/dist-embed/chunks/{ta-IN-2NMHFXQM-e7DnSDKG.js → ta-IN-2NMHFXQM-CoxPm9Ew.js} +1 -1
  254. package/dist-embed/chunks/{th-TH-HPSO5L25-C55q0THD.js → th-TH-HPSO5L25-Smv8dde_.js} +1 -1
  255. package/dist-embed/chunks/{timeline-definition-24CTP7MA-PuzLyHgX.js → timeline-definition-24CTP7MA-C9Ed6D0K.js} +1 -1
  256. package/dist-embed/chunks/{timeline-definition-24CTP7MA-DKJQthBG.js → timeline-definition-24CTP7MA-HSOgPjq4.js} +1 -1
  257. package/dist-embed/chunks/{timeline-definition-24CTP7MA-Cp-qOSF-.js → timeline-definition-24CTP7MA-kHlycslq.js} +1 -1
  258. package/dist-embed/chunks/{timeline-definition-7545f45a-CY9YEH2b.js → timeline-definition-7545f45a-CCyhwQdt.js} +1 -1
  259. package/dist-embed/chunks/{tr-TR-DEFEU3FU-CM7iPNh_.js → tr-TR-DEFEU3FU-DBMN0v-o.js} +1 -1
  260. package/dist-embed/chunks/{uk-UA-QMV73CPH-BmVujldO.js → uk-UA-QMV73CPH-DNvJwc9t.js} +1 -1
  261. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-C_kdic2x.js → vennDiagram-4TSXK5OY-7gMUaOyw.js} +1 -1
  262. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-BAluZQeU.js → vennDiagram-4TSXK5OY-CxvgI2f-.js} +1 -1
  263. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-DYR1DAEq.js → vennDiagram-4TSXK5OY-Dt9fBhlj.js} +1 -1
  264. package/dist-embed/chunks/{vi-VN-M7AON7JQ-BlZNK_Ay.js → vi-VN-M7AON7JQ-D1mitKRR.js} +1 -1
  265. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-Ov2ghJAS.js → wardleyDiagram-VM6X3IG4-6HRbbvDt.js} +1 -1
  266. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-DTEzv0pe.js → wardleyDiagram-VM6X3IG4-AvAVDPLG.js} +1 -1
  267. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CZD7CzI5.js → wardleyDiagram-VM6X3IG4-Bbh5PYAM.js} +1 -1
  268. package/dist-embed/chunks/{xychartDiagram-3f383b91-BJzZxtGI.js → xychartDiagram-3f383b91-BVsOkv2G.js} +1 -1
  269. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-DzHNLsYJ.js → xychartDiagram-S5SC5T6Z-DNoz1WpS.js} +1 -1
  270. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-Cie8emsN.js → xychartDiagram-S5SC5T6Z-VWPR98LV.js} +1 -1
  271. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-DApXg5ov.js → xychartDiagram-S5SC5T6Z-ZZD1fZ1L.js} +1 -1
  272. package/dist-embed/chunks/{zh-CN-LNUGB5OW-DQfIJ4rF.js → zh-CN-LNUGB5OW-DtmUhdIG.js} +1 -1
  273. package/dist-embed/chunks/{zh-HK-E62DVLB3-DIuCQjJ8.js → zh-HK-E62DVLB3-BKtdEVTQ.js} +1 -1
  274. package/dist-embed/chunks/{zh-TW-RAJ6MFWO-CLRAlPKM.js → zh-TW-RAJ6MFWO-BHnZRfWI.js} +1 -1
  275. package/dist-embed/datalayer-app-main.js +100 -99
  276. package/lib/addresses/AgentWebPage.d.ts +81 -0
  277. package/lib/addresses/AgentWebPage.js +109 -0
  278. package/lib/agent-web-main.d.ts +1 -0
  279. package/lib/agent-web-main.js +11 -0
  280. package/lib/apps/Application.d.ts +129 -0
  281. package/lib/apps/Application.js +244 -0
  282. package/lib/apps/apps/AppRenderer.d.ts +24 -2
  283. package/lib/apps/apps/AppRenderer.js +22 -8
  284. package/lib/apps/apps/appspec.d.ts +11 -1
  285. package/lib/apps/apps/appspec.js +36 -12
  286. package/lib/apps/embed/AppEmbed.d.ts +35 -2
  287. package/lib/apps/embed/AppEmbed.js +84 -14
  288. package/lib/apps/embed/element.d.ts +2 -9
  289. package/lib/apps/embed/element.js +41 -44
  290. package/lib/apps/embed/embedConfig.d.ts +7 -0
  291. package/lib/apps/embed/embedConfig.js +18 -0
  292. package/lib/apps/index.d.ts +2 -1
  293. package/lib/apps/index.js +3 -0
  294. package/lib/specs/apps.js +123 -8
  295. package/lib/specs/appspecSchema.js +14 -32
  296. package/lib/types/agentspecs.d.ts +8 -1
  297. package/package.json +1 -1
  298. package/scripts/codegen/generate_apps.py +10 -0
  299. package/dist-embed/assets/loro_wasm_bg-XW642dR7.wasm +0 -0
@@ -0,0 +1,81 @@
1
+ import type { JSX } from 'react';
2
+ /** A JSON schema, as an operation's inputs or answer say it. */
3
+ export type JsonSchema = {
4
+ type?: string;
5
+ description?: string;
6
+ properties?: Record<string, JsonSchema>;
7
+ required?: string[];
8
+ items?: JsonSchema;
9
+ enum?: unknown[];
10
+ };
11
+ /** One operation of the agent's `openapi`. */
12
+ export interface AgentViewOperation {
13
+ operation_id: string;
14
+ method: string;
15
+ path: string;
16
+ summary: string;
17
+ description: string;
18
+ inputs: JsonSchema;
19
+ output: JsonSchema;
20
+ pap: {
21
+ action?: string;
22
+ summary?: string;
23
+ scope?: string;
24
+ } | null;
25
+ }
26
+ /** What the page shows: `agent_view` of the runtime's web server. */
27
+ export interface AgentView {
28
+ id: string;
29
+ name: string;
30
+ description: string;
31
+ emoji: string;
32
+ kind: string;
33
+ role: 'company' | 'personal' | 'app';
34
+ acts_for: string;
35
+ agent: {
36
+ id: string;
37
+ name: string;
38
+ description: string;
39
+ model: string;
40
+ mcp_servers: string[];
41
+ skills: string[];
42
+ tools: {
43
+ name: string;
44
+ description: string;
45
+ }[];
46
+ };
47
+ operations: AgentViewOperation[];
48
+ declares_openapi: boolean;
49
+ protocols: string[];
50
+ visibility: 'public' | 'private';
51
+ addresses: Record<'agent' | 'mcp' | 'api' | 'web', {
52
+ host: string;
53
+ url: string;
54
+ }> | null;
55
+ interface: {
56
+ accent: string;
57
+ theme: {
58
+ variant?: string;
59
+ mode?: string;
60
+ } | null;
61
+ };
62
+ }
63
+ /** The script tag the runtime writes the view in. */
64
+ export declare const AGENT_VIEW_ID = "agent-runtimes-agent-view";
65
+ /** The view written into the page; an error when there is none. */
66
+ export declare function readAgentView(doc?: Document): AgentView;
67
+ /** What the agent is, as a person reads it. */
68
+ export declare function roleOf(view: Pick<AgentView, 'role' | 'acts_for'>): string;
69
+ /** Who may open it, as a person reads it. */
70
+ export declare function visibilityOf(visibility: AgentView['visibility']): string;
71
+ /** The four addresses, in the order they are said, each with what it is for. */
72
+ export declare const ADDRESS_KINDS: {
73
+ kind: 'agent' | 'mcp' | 'api' | 'web';
74
+ label: string;
75
+ says: string;
76
+ }[];
77
+ /** The page: the agent, in its own theme. */
78
+ export declare function AgentWebPage({ view }: {
79
+ view: AgentView;
80
+ }): JSX.Element;
81
+ export default AgentWebPage;
@@ -0,0 +1,109 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2025-2026 Datalayer, Inc.
4
+ * Distributed under the terms of the Modified BSD License.
5
+ */
6
+ /**
7
+ * An agent's page at its address (`{name}.web.<domain>`): what it is and how it
8
+ * is reached, in its application's own theme and accent (primer-addons).
9
+ *
10
+ * The runtime's web server writes what to show into the page
11
+ * (`agent_runtimes.addresses.web.agent_view`, the script tag
12
+ * `agent-runtimes-agent-view`): what it does, its agent (model, MCP servers,
13
+ * skills, tools), its operations with their inputs and outputs, its protocols,
14
+ * who may open it, and its four addresses.
15
+ *
16
+ * @module addresses/AgentWebPage
17
+ */
18
+ import { useState } from 'react';
19
+ import { Box, Card, useSystemColorMode } from '@datalayer/primer-addons';
20
+ import { Button, Heading, Label, Text } from '@primer/react';
21
+ import { EmbedThemed } from '../apps/embed/AppEmbed.js';
22
+ /** The script tag the runtime writes the view in. */
23
+ export const AGENT_VIEW_ID = 'agent-runtimes-agent-view';
24
+ /** The view written into the page; an error when there is none. */
25
+ export function readAgentView(doc = document) {
26
+ const tag = doc.getElementById(AGENT_VIEW_ID);
27
+ if (!tag?.textContent) {
28
+ throw new Error(`This page is served by an agent's web server, which writes #${AGENT_VIEW_ID}.`);
29
+ }
30
+ return JSON.parse(tag.textContent);
31
+ }
32
+ /** What the agent is, as a person reads it. */
33
+ export function roleOf(view) {
34
+ if (view.role === 'company') {
35
+ return 'A company’s agent';
36
+ }
37
+ if (view.role === 'personal') {
38
+ return `${view.acts_for}’s own agent`;
39
+ }
40
+ return 'An application';
41
+ }
42
+ /** Who may open it, as a person reads it. */
43
+ export function visibilityOf(visibility) {
44
+ return visibility === 'public'
45
+ ? 'Anyone, under its spend limit and a rate cap per caller.'
46
+ : 'Only the people its owner allowed: with a Datalayer API key or their sign-in.';
47
+ }
48
+ /** The four addresses, in the order they are said, each with what it is for. */
49
+ export const ADDRESS_KINDS = [
50
+ { kind: 'agent', label: 'Agent', says: 'A2A, its chat, poppy.json' },
51
+ { kind: 'mcp', label: 'MCP', says: 'Its operations as MCP tools' },
52
+ { kind: 'api', label: 'API', says: 'Its operations as REST, /openapi.json' },
53
+ { kind: 'web', label: 'Web', says: 'This page' },
54
+ ];
55
+ function SchemaFields({ schema }) {
56
+ const properties = Object.entries(schema.properties ?? {});
57
+ if (properties.length === 0) {
58
+ return (_jsx(Text, { sx: { color: 'fg.muted', fontSize: 1 }, children: schema.type ? `A ${schema.type}.` : 'Nothing.' }));
59
+ }
60
+ const required = new Set(schema.required ?? []);
61
+ return (_jsx(Box, { as: "ul", sx: { m: 0, pl: 3 }, children: properties.map(([name, field]) => (_jsxs(Box, { as: "li", sx: { fontSize: 1, mb: 1 }, children: [_jsx(Text, { sx: { fontFamily: 'mono', fontWeight: 'bold' }, children: name }), ' ', _jsxs(Text, { sx: { color: 'fg.muted' }, children: [field.type ?? 'any', required.has(name) ? ', required' : ''] }), field.description ? _jsxs(Text, { children: [" \u2014 ", field.description] }) : null] }, name))) }));
62
+ }
63
+ function Operation({ operation, }) {
64
+ return (_jsxs(Card, { sx: { p: 3, gap: 2 }, children: [_jsxs(Box, { sx: { display: 'flex', gap: 2, alignItems: 'center', flexWrap: 'wrap' }, children: [_jsx(Label, { variant: "accent", children: operation.method }), _jsx(Text, { sx: { fontFamily: 'mono' }, children: operation.path }), _jsx(Text, { sx: { fontFamily: 'mono', color: 'fg.muted' }, children: operation.operation_id }), operation.pap ? (_jsxs(Label, { variant: "attention", children: ["The person approves", operation.pap.scope ? ` · ${operation.pap.scope}` : ''] })) : null] }), _jsx(Text, { sx: { fontWeight: 'bold' }, children: operation.summary }), operation.description ? _jsx(Text, { children: operation.description }) : null, _jsxs(Box, { sx: {
65
+ display: 'grid',
66
+ gridTemplateColumns: ['1fr', '1fr 1fr'],
67
+ gap: 3,
68
+ }, children: [_jsxs(Box, { children: [_jsx(Text, { sx: { fontSize: 1, color: 'fg.muted' }, children: "It takes" }), _jsx(SchemaFields, { schema: operation.inputs })] }), _jsxs(Box, { children: [_jsx(Text, { sx: { fontSize: 1, color: 'fg.muted' }, children: "It answers" }), _jsx(SchemaFields, { schema: operation.output })] })] })] }));
69
+ }
70
+ function Address({ label, says, url, }) {
71
+ const [copied, setCopied] = useState(false);
72
+ return (_jsxs(Box, { sx: { display: 'flex', alignItems: 'center', gap: 2, flexWrap: 'wrap' }, children: [_jsx(Text, { sx: { fontWeight: 'bold', minWidth: 56 }, children: label }), _jsx(Text, { sx: { fontFamily: 'mono', wordBreak: 'break-all' }, children: url }), _jsx(Text, { sx: { color: 'fg.muted', fontSize: 1 }, children: says }), _jsx(Button, { size: "small", onClick: () => {
73
+ void navigator.clipboard?.writeText(url);
74
+ setCopied(true);
75
+ }, children: copied ? 'Copied' : 'Copy' })] }));
76
+ }
77
+ function Section({ title, children, }) {
78
+ return (_jsxs(Box, { as: "section", sx: { display: 'flex', flexDirection: 'column', gap: 2 }, children: [_jsx(Heading, { as: "h2", sx: { fontSize: 3 }, children: title }), children] }));
79
+ }
80
+ /** The page: the agent, in its own theme. */
81
+ export function AgentWebPage({ view }) {
82
+ const system = useSystemColorMode();
83
+ const mode = view.interface.theme?.mode;
84
+ const colorMode = mode === 'light' || mode === 'dark' ? mode : system;
85
+ const variant = (view.interface.theme?.variant || 'loop');
86
+ const accent = (view.interface.accent || undefined);
87
+ const { agent } = view;
88
+ return (_jsx(EmbedThemed, { accent: accent, colorMode: colorMode, variant: variant, children: _jsxs(Box, { as: "main", sx: {
89
+ maxWidth: 960,
90
+ mx: 'auto',
91
+ px: 3,
92
+ py: 4,
93
+ display: 'flex',
94
+ flexDirection: 'column',
95
+ gap: 4,
96
+ bg: 'canvas.default',
97
+ minHeight: '100vh',
98
+ }, children: [_jsxs(Box, { as: "header", sx: { display: 'flex', gap: 3, alignItems: 'center' }, children: [_jsx(Text, { sx: { fontSize: 6 }, "aria-hidden": true, children: view.emoji }), _jsxs(Box, { sx: { display: 'flex', flexDirection: 'column', gap: 1 }, children: [_jsx(Heading, { as: "h1", children: view.name }), _jsx(Text, { sx: { color: 'fg.muted' }, children: roleOf(view) })] })] }), view.description ? (_jsx(Text, { sx: { fontSize: 2 }, children: view.description })) : null, view.addresses ? (_jsx(Section, { title: "Where it is", children: _jsx(Card, { sx: { p: 3, gap: 2 }, children: ADDRESS_KINDS.map(({ kind, label, says }) => (_jsx(Address, { label: label, says: says, url: view.addresses[kind].url }, kind))) }) })) : null, _jsx(Section, { title: "Who may open it", children: _jsx(Text, { children: visibilityOf(view.visibility) }) }), _jsxs(Section, { title: "What it answers", children: [!view.declares_openapi ? (_jsx(Text, { sx: { color: 'fg.muted' }, children: "It declares no operations of its own: ask it anything." })) : null, view.operations.map(operation => (_jsx(Operation, { operation: operation }, operation.operation_id)))] }), _jsx(Section, { title: "Its agent", children: _jsxs(Card, { sx: { p: 3, gap: 2 }, children: [_jsx(Text, { sx: { fontWeight: 'bold' }, children: agent.name }), agent.description ? _jsx(Text, { children: agent.description }) : null, agent.model ? (_jsxs(Text, { sx: { fontSize: 1 }, children: ["Model ", _jsx(Text, { sx: { fontFamily: 'mono' }, children: agent.model })] })) : null, [
99
+ ['MCP servers', agent.mcp_servers],
100
+ ['Skills', agent.skills],
101
+ ['Tools', agent.tools.map(tool => tool.name)],
102
+ ].map(([label, items]) => items.length > 0 ? (_jsxs(Box, { sx: {
103
+ display: 'flex',
104
+ gap: 1,
105
+ flexWrap: 'wrap',
106
+ alignItems: 'center',
107
+ }, children: [_jsx(Text, { sx: { fontSize: 1, color: 'fg.muted', mr: 1 }, children: label }), items.map(item => (_jsx(Label, { children: item }, item)))] }, label)) : null)] }) }), view.protocols.length > 0 ? (_jsx(Section, { title: "The protocols it speaks", children: _jsx(Box, { sx: { display: 'flex', gap: 1, flexWrap: 'wrap' }, children: view.protocols.map(protocol => (_jsx(Label, { variant: "accent", children: protocol }, protocol))) }) })) : null] }) }));
108
+ }
109
+ export default AgentWebPage;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2025-2026 Datalayer, Inc.
4
+ * Distributed under the terms of the Modified BSD License.
5
+ */
6
+ import { createRoot } from 'react-dom/client';
7
+ import { AgentWebPage, readAgentView } from './addresses/AgentWebPage.js';
8
+ const rootElement = document.getElementById('root');
9
+ if (rootElement) {
10
+ createRoot(rootElement).render(_jsx(AgentWebPage, { view: readAgentView() }));
11
+ }
@@ -0,0 +1,129 @@
1
+ import type { JSX, ReactNode } from 'react';
2
+ import type { Agentspec, AppSpec } from '../types/agentspecs';
3
+ import type { ResumedThread } from '../types/chat';
4
+ import type { DatalayerVisitors } from './apps/visitorToken';
5
+ import { type AppEmbedProps } from './embed/AppEmbed';
6
+ /** Signed out, on the visitors' runtime (D-07, R-30). */
7
+ export type ApplicationVisitor = {
8
+ kind: 'visitor';
9
+ /**
10
+ * ai-agents, where an address is read and beside which the visitors'
11
+ * runtime answers: the platform's configuration unless given, else the AI
12
+ * plane. Given, it is ai-inference's too unless `inference` says it.
13
+ */
14
+ api?: string;
15
+ /** ai-inference, which mints the visitor's token. */
16
+ inference?: string;
17
+ /** Where Datalayer's run page is, for a decision framed: the page's origin unless given. */
18
+ origin?: string;
19
+ /**
20
+ * Where the conversation runs and what the visitor's token is for, when
21
+ * the host has read it already (the element): a name read here otherwise.
22
+ */
23
+ visitors?: DatalayerVisitors;
24
+ /** The limited preview (agent-runtimes' anonymous mode); on unless false. */
25
+ anonymous?: boolean;
26
+ /** The turns a visitor has today, as the preview counts them. */
27
+ maxTurns?: number;
28
+ /** Where *Sign in* goes. */
29
+ signInUrl?: string;
30
+ /** What *Sign in* does, in place of `signInUrl`. */
31
+ onSignIn?: () => void;
32
+ };
33
+ /** A person's own agent, already running on a runtime of theirs. */
34
+ export type ApplicationRuntime = {
35
+ kind: 'runtime';
36
+ /** The runtime's agent-runtimes address (`…/agent-runtimes/<pool>/<name>`). */
37
+ url: string;
38
+ /**
39
+ * The agent that answers, by its name on that runtime (`default`): a
40
+ * person's own agent, made from its agentspec. Unsaid, the application's
41
+ * own agent, made there under its id — a deployment kept always on (R-33).
42
+ */
43
+ agentId?: string;
44
+ /** The runtime's name. */
45
+ name?: string;
46
+ /** The session to go on with: one it holds, or one resumed onto it (`fromRuntime`). */
47
+ thread?: ResumedThread;
48
+ };
49
+ /** An agent-runtimes server of the host's own (R-20). */
50
+ export type ApplicationServer = {
51
+ kind: 'server';
52
+ url: string;
53
+ /** The visit's embed token. */
54
+ embedToken?: string;
55
+ };
56
+ /** Launched on a Datalayer runtime, with the signed-in person's credentials. */
57
+ export type ApplicationDatalayer = {
58
+ kind: 'datalayer';
59
+ /** A conversation to go on with, read from its runtime (`fromRuntime`): one opened from the person's history. */
60
+ thread?: ResumedThread;
61
+ };
62
+ export type ApplicationRunsOn = ApplicationVisitor | ApplicationRuntime | ApplicationServer | ApplicationDatalayer;
63
+ /** What a name, or an Appspec, comes to where it runs. */
64
+ export type ResolvedApplication =
65
+ /** An Appspec to draw; with `visitors`, on the visitors' runtime. */
66
+ {
67
+ kind: 'spec';
68
+ app: AppSpec;
69
+ visitors?: DatalayerVisitors;
70
+ }
71
+ /** A decision: Datalayer's run page, framed. */
72
+ | {
73
+ kind: 'frame';
74
+ src: string;
75
+ }
76
+ /** Not run, and why, in a sentence. */
77
+ | {
78
+ kind: 'said';
79
+ text: string;
80
+ };
81
+ /** ai-agents for a visitor: the host's, else the platform's, else the AI plane's. */
82
+ export declare function visitorApiOf(runsOn: Pick<ApplicationVisitor, 'api'>): string;
83
+ /**
84
+ * ai-inference for a visitor: the host's, else its `api` (as the element's
85
+ * `api` attribute is both), else the platform's, else the AI plane's — never
86
+ * the control plane, where none answers.
87
+ */
88
+ export declare function visitorInferenceOf(runsOn: Pick<ApplicationVisitor, 'api' | 'inference'>): string;
89
+ /**
90
+ * What an Appspec comes to where it runs, at once: for a visitor, on the
91
+ * visitors' runtime — the one the host read, else the example's of its id.
92
+ */
93
+ export declare function resolvedSpec(app: AppSpec, runsOn: ApplicationRunsOn): ResolvedApplication;
94
+ /**
95
+ * Read what a named application is where it runs: for a visitor, as the
96
+ * element reads one (`readVisitorApp`: an example kept warm, an address open
97
+ * to visitors, a decision framed, a refusal said); elsewhere, an
98
+ * application of the catalogue by its id.
99
+ */
100
+ export declare function resolveApplication({ app, runsOn, fetcher, }: {
101
+ app: AppSpec | string;
102
+ runsOn: ApplicationRunsOn;
103
+ fetcher?: typeof fetch;
104
+ }): Promise<ResolvedApplication>;
105
+ /**
106
+ * A person's own agent as an application (the Personal page): a chat whose
107
+ * name, face, welcome, starters and UI are its agentspec's, answered by the
108
+ * agent made from that spec on the person's runtime — nothing of its own
109
+ * enforced there, since the runtime runs the agent as its spec says.
110
+ */
111
+ export declare function agentAppspec(spec: Pick<Agentspec, 'id' | 'name' | 'description' | 'emoji' | 'welcomeMessage' | 'suggestions'>): AppSpec;
112
+ export type ApplicationProps = Pick<AppEmbedProps, 'mode' | 'accent' | 'colorMode' | 'font' | 'language' | 'speech' | 'host' | 'plugins' | 'ownPortal' | 'resume' | 'instance' | 'renderer'> & {
113
+ /** The application: an Appspec, a catalogue example's id, an address on Datalayer, or a decision's id. */
114
+ app: AppSpec | string;
115
+ /** Where it runs. */
116
+ runsOn: ApplicationRunsOn;
117
+ /** In the host's primer-addons theme (the default), or in its own (the element's). */
118
+ theme?: 'host' | 'own';
119
+ /** Inline, its height: it fills its container (`100%`) unless given. */
120
+ height?: number | string;
121
+ /** What holds its place while a name is read; a skeleton unless given. */
122
+ skeleton?: ReactNode;
123
+ };
124
+ /** The skeleton of a conversation while its application is read. */
125
+ export declare function ApplicationSkeleton({ height, }: {
126
+ height?: number | string;
127
+ }): JSX.Element;
128
+ export declare function Application({ app, runsOn, theme, height, skeleton, ...look }: ApplicationProps): JSX.Element;
129
+ export default Application;
@@ -0,0 +1,244 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright (c) 2025-2026 Datalayer, Inc.
4
+ * Distributed under the terms of the Modified BSD License.
5
+ */
6
+ /**
7
+ * An application, as a React component of the host's own page (the user,
8
+ * 16 November 2026: "make sure the Application is a first class React
9
+ * component"): what `<datalayer-app>` draws in its shadow root, drawn here
10
+ * in the page itself — no custom element, no script of its own to load —
11
+ * and what the element is a thin wrapper around.
12
+ *
13
+ * <Application app="demo-marketer" runsOn={{ kind: 'visitor', maxTurns: 10 }} />
14
+ *
15
+ * <Application
16
+ * app={agentAppspec(spec)}
17
+ * runsOn={{ kind: 'runtime', url, agentId: 'default', thread }}
18
+ * />
19
+ *
20
+ * **What** it shows (`app`): an Appspec, or a name — an example of the
21
+ * catalogue (`web-research`), an application at its address on Datalayer
22
+ * (`demo-marketer`), or a decision's id, framed from Datalayer's run page. A
23
+ * name is read as the element reads one (`readVisitorApp`), a skeleton in its
24
+ * place meanwhile, never a sentence that says it loads; what cannot be run
25
+ * is said in one sentence, in place (fail fast).
26
+ *
27
+ * **Where** it runs (`runsOn`):
28
+ *
29
+ * - `visitor` — signed out, on the visitors' runtime beside ai-agents, with
30
+ * a visitor's token the chat mints from ai-inference for that one
31
+ * application (D-07, R-30); in agent-runtimes' anonymous mode unless
32
+ * `anonymous: false`: the limited preview, the turns left (`maxTurns`),
33
+ * the temporary key's clock, *Sign in* (`signInUrl` or `onSignIn`), and
34
+ * what its agent would bring that needs a connection of the visitor's
35
+ * locked in the title bar;
36
+ * - `runtime` — an agent already running on a runtime: a person's own
37
+ * (its agent-runtimes address `url`, the agent by its name there
38
+ * `agentId`), or a deployment kept always on (no `agentId`: the
39
+ * application's own agent); the session to go on with (`thread`); spoken
40
+ * to with the signed-in person's token (core's IAM store), nothing
41
+ * launched;
42
+ * - `server` — an agent-runtimes server of the host's own (`url`), with the
43
+ * visit's embed token when it has one (R-20);
44
+ * - `datalayer` — launched on a Datalayer runtime with the signed-in
45
+ * person's credentials.
46
+ *
47
+ * **How** it looks: in the host's primer-addons theme (`theme: 'host'`, the
48
+ * default) — the page's colours and mode, the application's accent over
49
+ * them in its conversation — unless its Appspec names a theme
50
+ * (`interface.theme`) or the host says a mode or a face; `theme: 'own'`
51
+ * draws it in its own theme (`loop` unless it names one), as the element
52
+ * does. Inline, it fills its container (`height`, `100%` by default); `mode`
53
+ * floats it as a bubble, a panel or an avatar instead. `renderer` hands its
54
+ * renderer what a host's own page adds: its plugins, the UI plugins its
55
+ * organization turned off, its computer, the caret (Datalayer's page at an
56
+ * application's address, `/apps/<slug>`).
57
+ *
58
+ * @module apps/Application
59
+ */
60
+ import { useEffect, useMemo, useState } from 'react';
61
+ import { SkeletonText } from '@primer/react/experimental';
62
+ import { coreStore } from '@datalayer/core/lib/state/substates/CoreState.js';
63
+ import { getApp } from '../specs/apps.js';
64
+ import { emptyAppspec } from './apps/appspec.js';
65
+ import { agentUiChoicesOf } from './agentUiPlugins.js';
66
+ import { AppEmbed } from './embed/AppEmbed.js';
67
+ import { frameInLanguage, frameSrcOf } from './embed/embedConfig.js';
68
+ import { DEFAULT_API, DEFAULT_INFERENCE, readVisitorApp, visitorsAt, } from './embed/visitorApp.js';
69
+ /** ai-agents for a visitor: the host's, else the platform's, else the AI plane's. */
70
+ export function visitorApiOf(runsOn) {
71
+ return (runsOn.api ||
72
+ coreStore.getState().configuration?.aiAgentsUrl ||
73
+ DEFAULT_API).replace(/\/+$/, '');
74
+ }
75
+ /**
76
+ * ai-inference for a visitor: the host's, else its `api` (as the element's
77
+ * `api` attribute is both), else the platform's, else the AI plane's — never
78
+ * the control plane, where none answers.
79
+ */
80
+ export function visitorInferenceOf(runsOn) {
81
+ return (runsOn.inference ||
82
+ runsOn.api ||
83
+ coreStore.getState().configuration?.aiInferenceUrl ||
84
+ DEFAULT_INFERENCE).replace(/\/+$/, '');
85
+ }
86
+ const pageOrigin = () => typeof window === 'undefined' ? '' : window.location.origin;
87
+ /**
88
+ * What an Appspec comes to where it runs, at once: for a visitor, on the
89
+ * visitors' runtime — the one the host read, else the example's of its id.
90
+ */
91
+ export function resolvedSpec(app, runsOn) {
92
+ if (runsOn.kind !== 'visitor') {
93
+ return { kind: 'spec', app };
94
+ }
95
+ return {
96
+ kind: 'spec',
97
+ app,
98
+ visitors: runsOn.visitors ??
99
+ visitorsAt(visitorApiOf(runsOn), app.id, undefined, visitorInferenceOf(runsOn)),
100
+ };
101
+ }
102
+ /**
103
+ * Read what a named application is where it runs: for a visitor, as the
104
+ * element reads one (`readVisitorApp`: an example kept warm, an address open
105
+ * to visitors, a decision framed, a refusal said); elsewhere, an
106
+ * application of the catalogue by its id.
107
+ */
108
+ export async function resolveApplication({ app, runsOn, fetcher, }) {
109
+ if (typeof app !== 'string') {
110
+ return resolvedSpec(app, runsOn);
111
+ }
112
+ if (runsOn.kind === 'visitor') {
113
+ const visitor = await readVisitorApp({
114
+ api: visitorApiOf(runsOn),
115
+ inference: visitorInferenceOf(runsOn),
116
+ app,
117
+ ...(fetcher ? { fetcher } : {}),
118
+ });
119
+ if (visitor.kind === 'decision') {
120
+ return {
121
+ kind: 'frame',
122
+ src: frameSrcOf(runsOn.origin || pageOrigin(), visitor.app),
123
+ };
124
+ }
125
+ if (visitor.kind === 'said') {
126
+ return visitor;
127
+ }
128
+ return { kind: 'spec', app: visitor.app, visitors: visitor.visitors };
129
+ }
130
+ const found = getApp(app.trim());
131
+ return found
132
+ ? { kind: 'spec', app: found }
133
+ : {
134
+ kind: 'said',
135
+ text: `“${app}” is not an application of the catalogue: give its Appspec.`,
136
+ };
137
+ }
138
+ /**
139
+ * A person's own agent as an application (the Personal page): a chat whose
140
+ * name, face, welcome, starters and UI are its agentspec's, answered by the
141
+ * agent made from that spec on the person's runtime — nothing of its own
142
+ * enforced there, since the runtime runs the agent as its spec says.
143
+ */
144
+ export function agentAppspec(spec) {
145
+ const app = emptyAppspec('chat');
146
+ app.id = spec.id;
147
+ app.name = spec.name;
148
+ app.description = spec.description;
149
+ app.agent = spec.id;
150
+ app.owner = 'Datalayer <info@datalayer.io>';
151
+ if (spec.emoji) {
152
+ app.emoji = spec.emoji;
153
+ }
154
+ app.interface.layout = 'chat';
155
+ app.interface.welcome = spec.welcomeMessage || spec.description;
156
+ app.interface.starters = (spec.suggestions ?? []).map(suggestion => ({
157
+ label: suggestion.summary || suggestion.text,
158
+ message: suggestion.text,
159
+ }));
160
+ // Its own UI and that of the MCP servers, skills and tools it uses: the
161
+ // Marketer's post previews, *Sign in to LinkedIn* (15 November 2026).
162
+ app.ui = [...app.ui, ...agentUiChoicesOf(spec.id)];
163
+ return app;
164
+ }
165
+ /** The skeleton of a conversation while its application is read. */
166
+ export function ApplicationSkeleton({ height = '100%', }) {
167
+ return (_jsxs("div", { role: "status", "aria-busy": "true", "aria-label": "Loading the application", className: "datalayer-app-waiting", style: {
168
+ height,
169
+ padding: 16,
170
+ display: 'flex',
171
+ flexDirection: 'column',
172
+ gap: 12,
173
+ boxSizing: 'border-box',
174
+ }, "data-application-skeleton": "", children: [_jsx(SkeletonText, { lines: 1 }), _jsx(SkeletonText, { lines: 3 }), _jsx(SkeletonText, { lines: 2 })] }));
175
+ }
176
+ export function Application({ app, runsOn, theme = 'host', height = '100%', skeleton, ...look }) {
177
+ // An Appspec is drawn at once; a name is read first.
178
+ const given = typeof app === 'string' ? undefined : app;
179
+ const named = typeof app === 'string' ? app : '';
180
+ // Where it runs, by what it is: a host that writes it inline must not read it again.
181
+ const where = JSON.stringify({ ...runsOn, onSignIn: undefined });
182
+ const atOnce = useMemo(() => (given ? resolvedSpec(given, runsOn) : undefined),
183
+ // eslint-disable-next-line react-hooks/exhaustive-deps
184
+ [given, where]);
185
+ const [read, setRead] = useState();
186
+ const key = `${named}\n${where}`;
187
+ useEffect(() => {
188
+ if (!named) {
189
+ return undefined;
190
+ }
191
+ let current = true;
192
+ resolveApplication({ app: named, runsOn })
193
+ .catch((error) => ({
194
+ kind: 'said',
195
+ text: error instanceof Error ? error.message : String(error),
196
+ }))
197
+ .then(resolved => {
198
+ if (current) {
199
+ setRead({ key, resolved });
200
+ }
201
+ });
202
+ return () => {
203
+ current = false;
204
+ };
205
+ // eslint-disable-next-line react-hooks/exhaustive-deps
206
+ }, [key]);
207
+ const resolved = atOnce ?? (read?.key === key ? read.resolved : undefined);
208
+ if (!resolved) {
209
+ return _jsx(_Fragment, { children: skeleton ?? _jsx(ApplicationSkeleton, { height: height }) });
210
+ }
211
+ if (resolved.kind === 'said') {
212
+ return (_jsx("p", { role: "status", className: "datalayer-app-said", children: resolved.text }));
213
+ }
214
+ if (resolved.kind === 'frame') {
215
+ return (_jsx("iframe", { className: "datalayer-app-frame", src: frameInLanguage(resolved.src, look.language), title: "Datalayer app", style: { width: '100%', height, border: 0 }, allow: "clipboard-write" }));
216
+ }
217
+ const visitor = runsOn.kind === 'visitor' ? runsOn : undefined;
218
+ const anonymous = Boolean(visitor && visitor.anonymous !== false);
219
+ return (_jsx(AppEmbed, { app: resolved.app, ...look, height: height, followHost: theme === 'host', ...(resolved.visitors ? { visitors: resolved.visitors } : {}), ...(visitor && anonymous
220
+ ? {
221
+ runAsAnonymous: true,
222
+ ...(visitor.maxTurns ? { maxTurns: visitor.maxTurns } : {}),
223
+ ...(visitor.signInUrl ? { signInUrl: visitor.signInUrl } : {}),
224
+ ...(visitor.onSignIn ? { onSignIn: visitor.onSignIn } : {}),
225
+ }
226
+ : {}), ...(runsOn.kind === 'runtime'
227
+ ? {
228
+ kept: {
229
+ url: runsOn.url.replace(/\/+$/, ''),
230
+ ...(runsOn.name ? { name: runsOn.name } : {}),
231
+ },
232
+ ...(runsOn.agentId ? { agentId: runsOn.agentId } : {}),
233
+ ...(runsOn.thread ? { thread: runsOn.thread } : {}),
234
+ }
235
+ : {}), ...(runsOn.kind === 'datalayer' && runsOn.thread
236
+ ? { thread: runsOn.thread }
237
+ : {}), ...(runsOn.kind === 'server'
238
+ ? {
239
+ serverUrl: runsOn.url,
240
+ ...(runsOn.embedToken ? { embedToken: runsOn.embedToken } : {}),
241
+ }
242
+ : {}) }));
243
+ }
244
+ export default Application;
@@ -73,7 +73,15 @@ export declare const agentIdOf: (app: Pick<AppSpec, "agent" | "team">) => string
73
73
  * An application run by a team is not supported in the workspace yet: a team
74
74
  * is not an agent spec, and is refused here rather than launched as one.
75
75
  */
76
- export declare function defineAppPlugin(app: AppSpec, shown?: AppSpec): ReactorPlugin<Record<string, never>, unknown, unknown>;
76
+ export declare function defineAppPlugin(app: AppSpec, shown?: AppSpec, { agentOnRuntime, }?: {
77
+ /**
78
+ * Its agent is one already on a runtime, made there from its agentspec
79
+ * and not from the application (a person's own agent, `Application`'s
80
+ * runtime mode): the runtime holds no plugin of the application, so the
81
+ * page's requires none.
82
+ */
83
+ agentOnRuntime?: boolean;
84
+ }): ReactorPlugin<Record<string, never>, unknown, unknown>;
77
85
  /**
78
86
  * The application on the page: its plugins delivered as one extension named
79
87
  * as its plugin pair is, `loop-app-<id>` — the extension its runtime's plugin
@@ -170,6 +178,14 @@ export type AppRendererProps = Omit<LoopEmbedProps, 'agentId'> & {
170
178
  * answers heard; a host that gives none draws it without a voice.
171
179
  */
172
180
  speech?: Omit<ChatVoicePlace, 'consentKey' | 'language'>;
181
+ /**
182
+ * The agent that answers, by its name on the runtime it already runs on
183
+ * (`datalayerKept`): a person's own agent, launched from its agentspec
184
+ * (`Application`'s runtime mode). Its page plugin then requires nothing of
185
+ * that runtime, which holds no plugin of the application. Unsaid, the
186
+ * application's own agent, made under its id (D-15).
187
+ */
188
+ agentId?: string;
173
189
  };
174
190
  /** What `interface.layout` sets on the workspace. */
175
191
  export type AppLayoutOptions = Pick<LoopPresetOptions, 'editors' | 'showViewSelector' | 'defaultEditor' | 'pageLayout' | 'pageLayoutArrangement' | 'pageLayoutPrompt' | 'pageLayoutPromptAnchor' | 'pageLayoutTurnPanelFooter'>;
@@ -245,6 +261,12 @@ export declare function appPreset(app: AppSpec, options?: {
245
261
  * title bar. Unsaid, `kept.visitor`.
246
262
  */
247
263
  visitor?: boolean;
264
+ /**
265
+ * Its agent is already on a runtime, made from its agentspec (a
266
+ * person's own agent): its page plugin requires nothing of that runtime,
267
+ * which holds no plugin of the application, and nothing follows it.
268
+ */
269
+ agentOnRuntime?: boolean;
248
270
  }): AppPreset;
249
271
  /**
250
272
  * What an application's agent is created with on a Datalayer runtime: under
@@ -285,5 +307,5 @@ export declare function appAgentOf(app: Pick<AppSpec, 'id'>, visitorsApp?: strin
285
307
  } | {
286
308
  problem: string;
287
309
  };
288
- export declare function AppRenderer({ app, plugins, instance, onPresence, onSaying, paused, sidebar, computer, frame, page, pluginsOff, language, speech, ...embed }: AppRendererProps): React.JSX.Element;
310
+ export declare function AppRenderer({ app, plugins, instance, onPresence, onSaying, paused, sidebar, computer, frame, page, pluginsOff, language, speech, agentId, ...embed }: AppRendererProps): React.JSX.Element;
289
311
  export default AppRenderer;