@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
@@ -104,7 +104,7 @@ export const agentIdOf = (app) => {
104
104
  * An application run by a team is not supported in the workspace yet: a team
105
105
  * is not an agent spec, and is refused here rather than launched as one.
106
106
  */
107
- export function defineAppPlugin(app, shown = app) {
107
+ export function defineAppPlugin(app, shown = app, { agentOnRuntime = false, } = {}) {
108
108
  if (!app.agent) {
109
109
  throw new Error(`“${app.name}” is run by a team, which the workspace does not run as an application yet.`);
110
110
  }
@@ -112,7 +112,9 @@ export function defineAppPlugin(app, shown = app) {
112
112
  return defineAgentCapacityPlugin({
113
113
  key: `app-${app.id}`,
114
114
  name: pair.page.name,
115
- requiredBackendPlugins: pair.page.requiredBackendPlugins,
115
+ ...(agentOnRuntime
116
+ ? {}
117
+ : { requiredBackendPlugins: pair.page.requiredBackendPlugins }),
116
118
  // What a person reads is in their language (P-26); what it is created
117
119
  // with is its own Appspec.
118
120
  displayName: shown.name,
@@ -243,11 +245,15 @@ export function appPreset(app, options = {}) {
243
245
  const visitor = options.visitor ?? options.kept?.visitor ?? false;
244
246
  return {
245
247
  plugins: [
246
- defineAppPlugin(app, shown),
248
+ defineAppPlugin(app, shown, { agentOnRuntime: options.agentOnRuntime }),
247
249
  // What its runtime holds, told to the page (F-15), and its packaged
248
250
  // page side read from it when its components are files of its folder
249
- // (P-29).
250
- defineAppRuntimePlugin(app.id, { pageSide: hasFolderModules(app) }),
251
+ // (P-29) — not for an agent that is not the application's own.
252
+ ...(options.agentOnRuntime
253
+ ? []
254
+ : [
255
+ defineAppRuntimePlugin(app.id, { pageSide: hasFolderModules(app) }),
256
+ ]),
251
257
  // Its code in the browser's sandbox, when it turns in the page and
252
258
  // computes in code (E-11): `execute_code`, its documents there.
253
259
  ...(runsCodeInSandbox(app) ? [defineAppBrowserSandboxPlugin(app)] : []),
@@ -388,7 +394,7 @@ export function appAgentOf(app, visitorsApp) {
388
394
  return { problem: error instanceof Error ? error.message : String(error) };
389
395
  }
390
396
  }
391
- export function AppRenderer({ app, plugins = NO_PLUGINS, instance, onPresence, onSaying, paused = false, sidebar = false, computer = false, frame = false, page, pluginsOff, language, speech, ...embed }) {
397
+ export function AppRenderer({ app, plugins = NO_PLUGINS, instance, onPresence, onSaying, paused = false, sidebar = false, computer = false, frame = false, page, pluginsOff, language, speech, agentId, ...embed }) {
392
398
  /*
393
399
  * The kind's plugins, made once per application. `LoopEmbed` rebuilds its
394
400
  * whole reactor when its plugins change, so a new plugin on every render
@@ -412,10 +418,13 @@ export function AppRenderer({ app, plugins = NO_PLUGINS, instance, onPresence, o
412
418
  */
413
419
  const deployed = Boolean(instance?.deploymentUid);
414
420
  const visitor = Boolean(embed.datalayerVisitors);
421
+ // A person's own agent on its runtime: not the application's, nor a visitor's.
422
+ const agentOnRuntime = Boolean(agentId && embed.datalayerKept && !visitor);
415
423
  const preset = useMemo(() => {
416
424
  try {
417
425
  return appPreset(app, {
418
426
  visitor,
427
+ agentOnRuntime,
419
428
  page,
420
429
  pluginsOff,
421
430
  sidebar,
@@ -442,6 +451,7 @@ export function AppRenderer({ app, plugins = NO_PLUGINS, instance, onPresence, o
442
451
  instance?.appUid,
443
452
  deployed,
444
453
  visitor,
454
+ agentOnRuntime,
445
455
  ]);
446
456
  const allPlugins = useMemo(() => 'problem' in preset
447
457
  ? plugins
@@ -479,7 +489,9 @@ export function AppRenderer({ app, plugins = NO_PLUGINS, instance, onPresence, o
479
489
  const themeOverrides = useMemo(() => appThemeOverrides(app),
480
490
  // eslint-disable-next-line react-hooks/exhaustive-deps
481
491
  [accent]);
482
- const agent = appAgentOf(app, embed.datalayerVisitors?.app);
492
+ const agent = agentOnRuntime
493
+ ? { agentId: agentId }
494
+ : appAgentOf(app, embed.datalayerVisitors?.app);
483
495
  /*
484
496
  * Its voice, as its Appspec says (VO-41, VO-49), where its host says the
485
497
  * speech runs: remembered consent is the application's own.
@@ -524,7 +536,9 @@ export function AppRenderer({ app, plugins = NO_PLUGINS, instance, onPresence, o
524
536
  */
525
537
  const anonymousProblem = embed.runAsAnonymous && !embed.datalayerVisitors
526
538
  ? 'Run as an anonymous visitor, an application runs on the visitors’ runtime: its host names none (datalayerVisitors).'
527
- : undefined;
539
+ : agentId && !agentOnRuntime
540
+ ? 'An agent named on its runtime (agentId) answers there: its host names no runtime of a person’s (datalayerKept).'
541
+ : undefined;
528
542
  const problem = anonymousProblem ??
529
543
  ('problem' in preset
530
544
  ? preset.problem
@@ -24,7 +24,7 @@
24
24
  *
25
25
  * @module apps/apps/appspec
26
26
  */
27
- import type { AppAccent, AppThemeMode, AppThemeVariant, AppAvatar, AppAvatarId, AppAvatarModel3D, AppEmbedMode, PapProfile, AppCustomComponentSpec, AppVoiceSpec, AppKind, AppLayout, AppPageOutputComponent, AppSpec, UiChoice } from '../../types/agentspecs';
27
+ import type { AppAccent, AppThemeMode, AppThemeVariant, AppAvatar, AppAvatarId, AppAvatarModel3D, AppEmbedMode, AppPapOperationSpec, PapProfile, AppCustomComponentSpec, AppVoiceSpec, AppKind, AppLayout, AppPageOutputComponent, AppSpec, UiChoice } from '../../types/agentspecs';
28
28
  /** The version of the spec itself. */
29
29
  export declare const APP_SCHEMA = "loop.app/v1";
30
30
  /** The language an application's own words are in, unless it says. */
@@ -115,6 +115,16 @@ export declare const PAP_PROFILE: PapProfile;
115
115
  * (`pap_profile_problem`); `undefined` when it is one Datalayer speaks.
116
116
  */
117
117
  export declare function papProfileProblem(value: unknown): string | undefined;
118
+ /**
119
+ * Personal Agent Protocol: the companies the
120
+ * application works with, and whether it is one. Defaults are agentspecs'.
121
+ */
122
+ /**
123
+ * The PAP operations of an application's `openapi`: one per operation carrying
124
+ * `x-pap` (`action`, `tool`, `summary`), in the document's order — agentspecs'
125
+ * `pap_operations`. `pap.company.operations` is never written.
126
+ */
127
+ export declare function papOperationsOf(openapi: unknown): AppPapOperationSpec[];
118
128
  /** An application's voice: off unless said. */
119
129
  export declare const DEFAULT_VOICE: AppVoiceSpec;
120
130
  /** What a page's output may be drawn with, and the property of each that shows its value. */
@@ -299,6 +299,7 @@ const KNOWN_KEYS = [
299
299
  'skills',
300
300
  'backend_tools',
301
301
  'tools',
302
+ 'openapi',
302
303
  'context',
303
304
  'contents',
304
305
  'connections',
@@ -385,7 +386,33 @@ const enumsOf = (value, allowed, otherwise) => {
385
386
  * Personal Agent Protocol: the companies the
386
387
  * application works with, and whether it is one. Defaults are agentspecs'.
387
388
  */
388
- function parsePap(data) {
389
+ /**
390
+ * The PAP operations of an application's `openapi`: one per operation carrying
391
+ * `x-pap` (`action`, `tool`, `summary`), in the document's order — agentspecs'
392
+ * `pap_operations`. `pap.company.operations` is never written.
393
+ */
394
+ export function papOperationsOf(openapi) {
395
+ const found = [];
396
+ const paths = isData(openapi) && isData(openapi.paths) ? openapi.paths : {};
397
+ for (const item of Object.values(paths)) {
398
+ if (!isData(item)) {
399
+ continue;
400
+ }
401
+ for (const method of ['get', 'post', 'put', 'patch', 'delete']) {
402
+ const operation = item[method];
403
+ if (isData(operation) && isData(operation['x-pap'])) {
404
+ const pap = operation['x-pap'];
405
+ found.push({
406
+ action: text(pap.action),
407
+ tool: text(pap.tool),
408
+ summary: text(pap.summary),
409
+ });
410
+ }
411
+ }
412
+ }
413
+ return found;
414
+ }
415
+ function parsePap(data, openapi) {
389
416
  const company = isData(data.company) ? data.company : {};
390
417
  return {
391
418
  profile: data.profile,
@@ -417,11 +444,7 @@ function parsePap(data) {
417
444
  extensions: texts(company.extensions),
418
445
  personalAgents: oneOf(company.personal_agents, ['any', 'registered'], 'any'),
419
446
  registeredAgents: texts(company.registered_agents),
420
- operations: records(company.operations).map(operation => ({
421
- action: text(operation.action),
422
- tool: text(operation.tool),
423
- summary: text(operation.summary),
424
- })),
447
+ operations: papOperationsOf(openapi),
425
448
  },
426
449
  };
427
450
  }
@@ -525,11 +548,7 @@ function dumpPap(pap) {
525
548
  .list('excluded_tasks', pap.company.excludedTasks.map(dumpPapExcludedTask))
526
549
  .list('extensions', pap.company.extensions)
527
550
  .value('personal_agents', pap.company.personalAgents, 'any')
528
- .list('registered_agents', pap.company.registeredAgents)
529
- .list('operations', pap.company.operations.map(operation => new Writer()
530
- .text('action', operation.action, '\u0000')
531
- .text('tool', operation.tool, '\u0000')
532
- .text('summary', operation.summary, '\u0000').data)).data).data;
551
+ .list('registered_agents', pap.company.registeredAgents).data).data;
533
552
  }
534
553
  /** PACT: the businesses it asks for each person, and as one. */
535
554
  function parsePact(data) {
@@ -1135,6 +1154,7 @@ export function parseAppspec(document) {
1135
1154
  skills: texts(data.skills),
1136
1155
  backendTools: texts(data.backend_tools),
1137
1156
  tools: records(data.tools).map(parseTool),
1157
+ ...(isData(data.openapi) ? { openapi: data.openapi } : {}),
1138
1158
  context: texts(data.context),
1139
1159
  contents: texts(data.contents),
1140
1160
  connections: records(data.connections).map(parseConnection),
@@ -1233,7 +1253,10 @@ export function parseAppspec(document) {
1233
1253
  problems.push(problem);
1234
1254
  }
1235
1255
  else {
1236
- app.pap = parsePap(data.pap);
1256
+ if (isData(data.pap.company) && 'operations' in data.pap.company) {
1257
+ problems.push('`pap.company.operations` are not written: they come from `openapi`, each operation that a person approves carrying `x-pap`.');
1258
+ }
1259
+ app.pap = parsePap(data.pap, data.openapi);
1237
1260
  }
1238
1261
  }
1239
1262
  if (isData(data.pact)) {
@@ -1617,6 +1640,7 @@ export function dumpAppspec(app) {
1617
1640
  : { parameters: tool.parameters }),
1618
1641
  does: tool.does,
1619
1642
  })))
1643
+ .present('openapi', app.openapi)
1620
1644
  .list('context', app.context)
1621
1645
  .list('contents', app.contents)
1622
1646
  .list('connections', app.connections.map(connection => new Writer()
@@ -63,6 +63,31 @@ export type AppEmbedProps = {
63
63
  * application unless its host writes `anonymous="false"`.
64
64
  */
65
65
  runAsAnonymous?: boolean;
66
+ /**
67
+ * A person's own agent, already on a runtime of theirs (`Application`'s
68
+ * runtime mode): the runtime's agent-runtimes address (`url`) and its
69
+ * name, the agent by its name there (`agentId`), spoken to with the
70
+ * person's own token. Nothing is launched or made.
71
+ */
72
+ kept?: {
73
+ url: string;
74
+ name?: string;
75
+ };
76
+ /** With `kept`, the agent that answers, by its name on that runtime. */
77
+ agentId?: string;
78
+ /** The conversation to go on with: a session the runtime holds or resumed (`fromRuntime`). */
79
+ thread?: ResumedThread;
80
+ /**
81
+ * Drawn in the host's own page and theme (a React host's `Application`):
82
+ * no theme of its own around it unless its Appspec names one
83
+ * (`interface.theme`) or the host says a mode or a face — the page's
84
+ * primer-addons theme, the application's accent over it in its
85
+ * conversation. Off, in its own theme (`loop` unless it names one), as the
86
+ * element draws it in its shadow root.
87
+ */
88
+ followHost?: boolean;
89
+ /** What else the host gives its renderer (`AppRendererExtras`). */
90
+ renderer?: AppRendererExtras;
66
91
  /** With `runAsAnonymous`, the turns a visitor has today as the preview counts them; none: no limit counted. */
67
92
  maxTurns?: number;
68
93
  /** With `runAsAnonymous`, where *Sign in* goes. */
@@ -103,6 +128,14 @@ export type AppEmbedProps = {
103
128
  */
104
129
  resume?: boolean;
105
130
  };
131
+ /**
132
+ * What else a host gives the application's renderer: its own plugins in the
133
+ * workspace (cards, panels, actions of its menus), the UI plugins its
134
+ * organization turned off, its computer or its builder's sidebar beside its
135
+ * page, whether its composer takes the caret — Datalayer's own page at an
136
+ * application's address passes these (`Application`'s `renderer`).
137
+ */
138
+ export type AppRendererExtras = Partial<Pick<AppRendererProps, 'plugins' | 'pluginsOff' | 'computer' | 'sidebar' | 'autoFocusPrompt'>>;
106
139
  /** What `useEmbedSession` gives the conversation. */
107
140
  export type EmbedSession = {
108
141
  /** Whether the kept session was asked for: nothing is drawn before. */
@@ -182,7 +215,7 @@ export type AppFloatingProps = {
182
215
  * own page at an application's address (T-21) passes the UI plugins its
183
216
  * organization turned off, the visitors' runtime and the one kept on.
184
217
  */
185
- renderer?: Partial<Pick<AppRendererProps, 'pluginsOff' | 'datalayerVisitors' | 'datalayerKept' | 'speech' | 'runAsAnonymous' | 'maxTurns' | 'signInUrl' | 'onSignIn'>>;
218
+ renderer?: Partial<Pick<AppRendererProps, 'pluginsOff' | 'datalayerVisitors' | 'datalayerKept' | 'agentId' | 'thread' | 'speech' | 'runAsAnonymous' | 'maxTurns' | 'signInUrl' | 'onSignIn'>> & AppRendererExtras;
186
219
  /** What the page gives the application (D-10). */
187
220
  host?: AppEmbedHost;
188
221
  /** The visit's session, picked up again after a reload (D-13). */
@@ -209,5 +242,5 @@ export declare function EmbedThemed({ accent, colorMode, font, variant, children
209
242
  children: ReactNode;
210
243
  style?: CSSProperties;
211
244
  }): JSX.Element;
212
- export declare function AppEmbed({ app, mode, accent, colorMode, font, language, serverUrl, instance, embedToken, visitors, runAsAnonymous, maxTurns, signInUrl, onSignIn, speech, height, ownPortal, plugins, host, resume, }: AppEmbedProps): JSX.Element;
245
+ export declare function AppEmbed({ app, mode, accent, colorMode, font, language, serverUrl, instance, embedToken, visitors, runAsAnonymous, maxTurns, signInUrl, onSignIn, speech, kept, agentId, thread, followHost, renderer: extras, height, ownPortal, plugins, host, resume, }: AppEmbedProps): JSX.Element;
213
246
  export default AppEmbed;
@@ -44,7 +44,7 @@ import { contribution, definePlugin } from '@datalayer/reactor';
44
44
  import { Text, registerPortalRoot } from '@primer/react';
45
45
  import { useIAMStore } from '@datalayer/core/lib/state/substates/IAMState.js';
46
46
  import { FluentEmoji } from '@datalayer/core/lib/components/emoji/index.js';
47
- import { DatalayerThemeProvider, getThemeConfig, } from '@datalayer/primer-addons';
47
+ import { DatalayerThemeProvider, getThemeConfig, themeAccentVars, } from '@datalayer/primer-addons';
48
48
  import { generateSessionUid } from '../../types/messages.js';
49
49
  import { ChatFloating } from '../../chat/ChatFloating.js';
50
50
  import { AppRenderer, } from '../apps/AppRenderer.js';
@@ -56,6 +56,10 @@ import { embedThemeOverrides, embedThemeStyles } from './embedTheme.js';
56
56
  import { WINDOW_NOT_YET, embedSessionKey, postWindowMessage, reattachSession, sessionGoneSentence, sessionKeeper, visitOfToken, } from './embedSession.js';
57
57
  import { onLoopWindowMessage } from '../../chat/base/loopWindow.js';
58
58
  import { ChatLanguage, useChatWords } from '../../chat/ChatLanguage.js';
59
+ /** The bridge's plugins and the host's, once each; the bridge's alone when the host gives none. */
60
+ function useWorkspacePlugins(bridged, own) {
61
+ return useMemo(() => (own && own.length > 0 ? [...bridged, ...own] : bridged), [bridged, own]);
62
+ }
59
63
  /**
60
64
  * The visit's session, kept and picked up again (D-13): on the host's
61
65
  * server with an embed token that names its visit, the session the chat
@@ -280,6 +284,8 @@ export function AppFloating({ app, view, colorMode, themeVariant, themeOverrides
280
284
  const [presence, setPresence] = useState('idle');
281
285
  const [said, setSaid] = useState({ answering: false });
282
286
  const bridge = useHostBridge(app, host);
287
+ const { plugins: ownPlugins, ...rendered } = renderer ?? {};
288
+ const workspacePlugins = useWorkspacePlugins(bridge.plugins, ownPlugins);
283
289
  const onPresence = useCallback((state) => {
284
290
  setPresence(state);
285
291
  bridge.onPresence(state);
@@ -304,7 +310,7 @@ export function AppFloating({ app, view, colorMode, themeVariant, themeOverrides
304
310
  // The window draws its face, its name and close.
305
311
  hideChatHeader: true,
306
312
  // Mounted closed: the caret goes in when the window opens.
307
- autoFocusPrompt: false, onPresence: onPresence, onSaying: onSaying, plugins: bridge.plugins, ...(session?.thread ? { thread: session.thread } : {}), ...(language ? { language } : {}), ...renderer })] })),
313
+ autoFocusPrompt: false, onPresence: onPresence, onSaying: onSaying, plugins: workspacePlugins, ...(session?.thread ? { thread: session.thread } : {}), ...(language ? { language } : {}), ...rendered })] })),
308
314
  presence,
309
315
  saying: said.saying,
310
316
  answering: said.answering,
@@ -353,7 +359,7 @@ export function EmbedThemed({ accent, colorMode, font, variant, children, style,
353
359
  */
354
360
  _jsx("div", { "data-color-mode": colorMode, style: { display: 'contents' }, children: _jsx(DatalayerThemeProvider, { colorMode: colorMode, theme: getThemeConfig(variant).primerTheme, themeStyles: themeStyles, baseStyles: style, children: children }) }));
355
361
  }
356
- export function AppEmbed({ app, mode, accent, colorMode, font, language, serverUrl, instance, embedToken, visitors, runAsAnonymous = false, maxTurns, signInUrl, onSignIn, speech, height = 640, ownPortal = false, plugins = NO_PLUGINS, host, resume = true, }) {
362
+ export function AppEmbed({ app, mode, accent, colorMode, font, language, serverUrl, instance, embedToken, visitors, runAsAnonymous = false, maxTurns, signInUrl, onSignIn, speech, kept, agentId, thread, followHost = false, renderer: extras, height = 640, ownPortal = false, plugins = NO_PLUGINS, host, resume = true, }) {
357
363
  const shownAs = mode ?? app.deployment.embedded?.mode ?? 'inline';
358
364
  // Inline, the page is bridged here; in a bubble, a panel or the assistant,
359
365
  // `AppFloating` bridges it itself. Bridged twice, every window message of a
@@ -363,9 +369,17 @@ export function AppEmbed({ app, mode, accent, colorMode, font, language, serverU
363
369
  // runs (VO-18): one object, so that the renderer never reads a change.
364
370
  // A visitor's limited preview with it (the user, 15 November 2026).
365
371
  const anonymous = Boolean(visitors && runAsAnonymous);
366
- const renderer = useMemo(() => visitors || speech
372
+ const { plugins: ownPlugins, ...extrasRest } = extras ?? {};
373
+ const extrasKey = JSON.stringify(extrasRest);
374
+ const renderer = useMemo(() => visitors || speech || kept || thread || extrasKey !== '{}'
367
375
  ? {
376
+ ...extrasRest,
368
377
  ...(visitors ? { datalayerVisitors: visitors } : {}),
378
+ // A person's own agent on its runtime: nothing launched.
379
+ ...(kept && !visitors
380
+ ? { datalayerKept: kept, ...(agentId ? { agentId } : {}) }
381
+ : {}),
382
+ ...(thread ? { thread } : {}),
369
383
  ...(anonymous
370
384
  ? {
371
385
  runAsAnonymous: true,
@@ -376,16 +390,37 @@ export function AppEmbed({ app, mode, accent, colorMode, font, language, serverU
376
390
  : {}),
377
391
  ...(speech ? { speech } : {}),
378
392
  }
379
- : undefined, [visitors, speech, anonymous, maxTurns, signInUrl, onSignIn]);
380
- const kept = useEmbedSession({ app, serverUrl, embedToken, resume });
393
+ : undefined, [
394
+ visitors,
395
+ speech,
396
+ anonymous,
397
+ maxTurns,
398
+ signInUrl,
399
+ onSignIn,
400
+ kept,
401
+ agentId,
402
+ thread,
403
+ // By content: a host that writes them inline hands a new object each render.
404
+ extrasKey,
405
+ ]);
406
+ const workspacePlugins = useWorkspacePlugins(bridge.plugins, ownPlugins);
407
+ const keptSession = useEmbedSession({
408
+ app,
409
+ serverUrl,
410
+ embedToken,
411
+ resume,
412
+ });
381
413
  // Window messages from the page, on the host's own server (P-25).
382
414
  const session = useWindowPort({
383
415
  serverUrl,
384
416
  embedToken,
385
- session: kept,
417
+ session: keptSession,
386
418
  host,
387
419
  });
388
420
  const system = useSystemMode();
421
+ // In the host's theme (a React host's `Application`): the page's, unless
422
+ // the application names one or the host says a mode or a face.
423
+ const hostThemed = followHost && !app.interface.theme && !colorMode && !font;
389
424
  // The theme the application names (T-30), `loop` when none; its mode
390
425
  // the host's, else the application's, else the visitor's system's.
391
426
  const variant = app.interface.theme?.variant ?? 'loop';
@@ -394,6 +429,14 @@ export function AppEmbed({ app, mode, accent, colorMode, font, language, serverU
394
429
  const view = floatingViewOf(shownAs);
395
430
  const worn = accent ?? app.interface.accent;
396
431
  const themeOverrides = useMemo(() => embedThemeOverrides({ accent: worn, font, variant }), [worn, font, variant]);
432
+ // In the host's theme, the host's accent alone over it, in both modes;
433
+ // the application's own the renderer lays itself.
434
+ const hostAccent = useMemo(() => accent
435
+ ? {
436
+ light: themeAccentVars(accent, 'light'),
437
+ dark: themeAccentVars(accent, 'dark'),
438
+ }
439
+ : undefined, [accent]);
397
440
  const named = JSON.stringify(app.interface.avatar ?? null);
398
441
  const assistant = useMemo(() => view === 'assistant' ? embedAssistantCharacter(app, plugins) : undefined,
399
442
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -402,15 +445,42 @@ export function AppEmbed({ app, mode, accent, colorMode, font, language, serverU
402
445
  return (_jsx("p", { role: "status", className: "datalayer-app-said", children: assistant.problem }));
403
446
  }
404
447
  const character = assistant?.character;
448
+ /*
449
+ * Inline: the renderer, its session picked up again (D-13). In its own
450
+ * theme, the host's accent and face over the application's inside its
451
+ * conversation, in the embed's mode — the host's or its visitor's
452
+ * system's, not a Datalayer setting; in the host's, the page's theme
453
+ * with the application's accent (or the host's) laid over it.
454
+ */
455
+ const inline = !session.ready ? null : (_jsxs(_Fragment, { children: [_jsx(SessionSaid, { said: session.said }), _jsx(AppRenderer, { app: app, target: serverUrl ? 'local' : 'datalayer', ...(serverUrl ? { serverUrl } : {}), ...(serverUrl && embedToken ? { embedToken } : {}), ...(renderer ?? {}), instance: instance, ...(hostThemed
456
+ ? hostAccent
457
+ ? { themeOverrides: hostAccent }
458
+ : {}
459
+ : { themeOverrides, colorMode: resolvedMode, themeVariant: variant }),
460
+ // What the page gives it, and what it tells the page (D-10), and
461
+ // the host's own plugins in its workspace.
462
+ plugins: workspacePlugins, onPresence: bridge.onPresence, onSaying: bridge.onSaying, ...(session.thread ? { thread: session.thread } : {}), ...(language ? { language } : {}) })] }));
463
+ if (hostThemed && !view) {
464
+ return (_jsx(ChatLanguage, { language: language, children: _jsxs("div", { className: "datalayer-app-inline", style: {
465
+ height,
466
+ width: '100%',
467
+ flex: '1 1 auto',
468
+ minWidth: 0,
469
+ display: 'flex',
470
+ flexDirection: 'column',
471
+ minHeight: 0,
472
+ }, children: [ownPortal ? _jsx(OwnPortalRoot, {}) : null, inline] }) }));
473
+ }
405
474
  return (_jsx(ChatLanguage, { language: language, children: _jsxs(EmbedThemed, { accent: worn, colorMode: resolvedMode, font: font, variant: variant, style: view
406
475
  ? // Floating: nothing in the page's flow, nothing painted behind.
407
476
  { backgroundColor: 'transparent' }
408
- : { height, display: 'flex', flexDirection: 'column' }, children: [ownPortal ? _jsx(OwnPortalRoot, {}) : null, view ? (_jsx(AppFloating, { app: app, view: view, serverUrl: serverUrl, instance: instance, embedToken: embedToken, colorMode: resolvedMode, themeVariant: variant, themeOverrides: themeOverrides, character: character, host: host, session: session, ...(renderer ? { renderer } : {}), ...(language ? { language } : {}) })) : !session.ready ? null : (_jsxs(_Fragment, { children: [_jsx(SessionSaid, { said: session.said }), _jsx(AppRenderer, { app: app, target: serverUrl ? 'local' : 'datalayer', ...(serverUrl ? { serverUrl } : {}), ...(serverUrl && embedToken ? { embedToken } : {}), ...(renderer ?? {}), instance: instance,
409
- // The host's accent and face over the application's own, inside
410
- // its conversation too, in the embed's mode: the host's or its
411
- // visitor's system's, not a Datalayer setting.
412
- themeOverrides: themeOverrides, colorMode: resolvedMode, themeVariant: variant,
413
- // What the page gives it, and what it tells the page (D-10).
414
- plugins: bridge.plugins, onPresence: bridge.onPresence, onSaying: bridge.onSaying, ...(session.thread ? { thread: session.thread } : {}), ...(language ? { language } : {}) })] }))] }) }));
477
+ : { height, display: 'flex', flexDirection: 'column' }, children: [ownPortal ? _jsx(OwnPortalRoot, {}) : null, view ? (_jsx(AppFloating, { app: app, view: view, serverUrl: serverUrl, instance: instance, embedToken: embedToken, colorMode: resolvedMode, themeVariant: variant, themeOverrides: themeOverrides, character: character, host: host, session: session, ...(renderer || ownPlugins
478
+ ? {
479
+ renderer: {
480
+ ...(renderer ?? {}),
481
+ ...(ownPlugins ? { plugins: ownPlugins } : {}),
482
+ },
483
+ }
484
+ : {}), ...(language ? { language } : {}) })) : (inline)] }) }));
415
485
  }
416
486
  export default AppEmbed;
@@ -1,7 +1,7 @@
1
1
  import type { AppSpec } from '../../types/agentspecs';
2
2
  import type { DatalayerVisitors } from '../apps/visitorToken';
3
- import { runnable } from './embedConfig';
4
- export { runnable };
3
+ import { frameInLanguage, frameSrcOf, runnable } from './embedConfig';
4
+ export { frameInLanguage, frameSrcOf, runnable };
5
5
  /** What the framed run page and the element say to each other. */
6
6
  export declare const EMBED_MESSAGES: {
7
7
  readonly size: "datalayer-app:size";
@@ -28,13 +28,6 @@ export type EmbedSource =
28
28
  };
29
29
  /** An Appspec from its text, YAML or JSON; refused in a sentence when it is neither. */
30
30
  export declare function appspecOfText(text: string): AppSpec;
31
- /** The run page an application on Datalayer is framed from. */
32
- export declare function frameSrcOf(origin: string, app: string, token?: string): string;
33
- /**
34
- * A framed run page told the visitor's language (P-26): `language=` in its
35
- * query, before the fragment that holds the token.
36
- */
37
- export declare function frameInLanguage(src: string, language?: string): string;
38
31
  /**
39
32
  * An application on Datalayer, read with its embed token: what the space
40
33
  * keeps of it (`model_s`, the stored definition), whose `spec` is the
@@ -30,8 +30,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
30
30
  * element.
31
31
  *
32
32
  * Every other application is drawn here, in the element's shadow root, by
33
- * `AppEmbed` — inline, or floating over the page as a bubble, a panel or the
34
- * assistant. The bundle's stylesheet is linked inside that root, the
33
+ * `Application` — the same React component a React host mounts in its own
34
+ * page (the user, 16 November 2026), here in its own theme — inline, or
35
+ * floating over the page as a bubble, a panel or the assistant. A name with
36
+ * no token is read as `Application` reads one (`resolveApplication`). The bundle's stylesheet is linked inside that root, the
35
37
  * styled-components rules are written into it, and Primer's overlays are
36
38
  * drawn in it, so nothing of the application's styles reaches the page and
37
39
  * nothing of the page's reaches the application.
@@ -68,12 +70,12 @@ import { getThemeConfig } from '@datalayer/primer-addons';
68
70
  import { coreStore } from '@datalayer/core/lib/state/substates/CoreState.js';
69
71
  import { parseAppspec } from '../apps/appspec.js';
70
72
  import { readAppspecYaml } from '../apps/yaml.js';
71
- import { AppEmbed, embedAssistantCharacter } from './AppEmbed.js';
73
+ import { embedAssistantCharacter } from './AppEmbed.js';
74
+ import { Application, resolveApplication, visitorApiOf, visitorInferenceOf, } from '../Application.js';
72
75
  import { WINDOW_NOT_YET } from './embedSession.js';
73
- import { EMBED_HOST_VARIABLES, EMBED_OBSERVED_ATTRIBUTES, EMBED_TAG, EMBED_TOKEN_NAMES_NO_DEPLOYMENT, EmbedAttributeError, adoptPropertiesSetEarly, embedLookOf, embedTokenDeployment, inlineHeightOf, anonymousOf, languageOf, maxTurnsAttributeOf, resumeOf, signInOf, runnable, } from './embedConfig.js';
76
+ import { EMBED_HOST_VARIABLES, EMBED_OBSERVED_ATTRIBUTES, EMBED_TAG, EMBED_TOKEN_NAMES_NO_DEPLOYMENT, EmbedAttributeError, adoptPropertiesSetEarly, embedLookOf, embedTokenDeployment, frameInLanguage, frameSrcOf, inlineHeightOf, anonymousOf, languageOf, maxTurnsAttributeOf, resumeOf, signInOf, runnable, } from './embedConfig.js';
74
77
  import { embedShadowCss } from './embedTheme.js';
75
- import { DEFAULT_API, DEFAULT_INFERENCE, readVisitorApp } from './visitorApp.js';
76
- export { runnable };
78
+ export { frameInLanguage, frameSrcOf, runnable };
77
79
  /** What the framed run page and the element say to each other. */
78
80
  export const EMBED_MESSAGES = {
79
81
  size: 'datalayer-app:size',
@@ -114,24 +116,6 @@ export function appspecOfText(text) {
114
116
  }
115
117
  return runnable(parsed);
116
118
  }
117
- /** The run page an application on Datalayer is framed from. */
118
- export function frameSrcOf(origin, app, token = '') {
119
- // The token in the fragment, which no server is sent: it reaches the page
120
- // and no access log.
121
- return `${origin.replace(/\/+$/, '')}/public/apps/${encodeURIComponent(app)}/run?embed=1${token ? `#token=${encodeURIComponent(token)}` : ''}`;
122
- }
123
- /**
124
- * A framed run page told the visitor's language (P-26): `language=` in its
125
- * query, before the fragment that holds the token.
126
- */
127
- export function frameInLanguage(src, language) {
128
- if (!language) {
129
- return src;
130
- }
131
- const at = src.indexOf('#');
132
- const [page, fragment] = at < 0 ? [src, ''] : [src.slice(0, at), src.slice(at)];
133
- return `${page}${page.includes('?') ? '&' : '?'}language=${encodeURIComponent(language)}${fragment}`;
134
- }
135
119
  /**
136
120
  * An application on Datalayer, read with its embed token: what the space
137
121
  * keeps of it (`model_s`, the stored definition), whose `spec` is the
@@ -418,21 +402,16 @@ export function defineDatalayerAppElement(options = {}) {
418
402
  // A public application, as a visitor without an account (D-07):
419
403
  // an example kept warm or an address open to visitors, run on the
420
404
  // visitors' runtime; a decision framed; a refusal said.
421
- const visitor = await readVisitorApp({
422
- api: this.agents(),
423
- inference: this.inference(),
405
+ // Read as `Application` reads a name (one way, `resolveApplication`).
406
+ return resolveApplication({
424
407
  app,
408
+ runsOn: {
409
+ kind: 'visitor',
410
+ api: this.agents(),
411
+ inference: this.inference(),
412
+ origin: this.originUrl(),
413
+ },
425
414
  });
426
- if (visitor.kind === 'decision') {
427
- return {
428
- kind: 'frame',
429
- src: frameSrcOf(this.originUrl(), visitor.app),
430
- };
431
- }
432
- if (visitor.kind === 'said') {
433
- return { kind: 'said', text: visitor.text };
434
- }
435
- return { kind: 'spec', app: visitor.app, visitors: visitor.visitors };
436
415
  }
437
416
  return readEmbeddedApp({
438
417
  api: this.spacerUrl(),
@@ -457,9 +436,7 @@ export function defineDatalayerAppElement(options = {}) {
457
436
  * which lives on another plane.
458
437
  */
459
438
  agents() {
460
- return (this.getAttribute('api') ||
461
- coreStore.getState().configuration?.aiAgentsUrl ||
462
- DEFAULT_API).replace(/\/+$/, '');
439
+ return visitorApiOf({ api: this.getAttribute('api') || undefined });
463
440
  }
464
441
  /**
465
442
  * ai-inference, which mints a visitor's token: the `api` attribute, else
@@ -468,9 +445,7 @@ export function defineDatalayerAppElement(options = {}) {
468
445
  * `<datalayer-app app="…">` asked prod1 and got "Failed to fetch").
469
446
  */
470
447
  inference() {
471
- return (this.getAttribute('api') ||
472
- coreStore.getState().configuration?.aiInferenceUrl ||
473
- DEFAULT_INFERENCE).replace(/\/+$/, '');
448
+ return visitorInferenceOf({ api: this.getAttribute('api') || undefined });
474
449
  }
475
450
  /** Spacer, where an application is read with its embed token: the `api` attribute, else the platform's, else prod1's. */
476
451
  spacerUrl() {
@@ -608,7 +583,29 @@ export function defineDatalayerAppElement(options = {}) {
608
583
  shadow.appendChild(mount);
609
584
  this.root = createRoot(mount);
610
585
  const server = this.getAttribute('server') || undefined;
611
- this.root.render(_jsx(StyleSheetManager, { target: shadow, children: _jsx(AppEmbed, { app: source.app, mode: look.mode, accent: look.accent, colorMode: look.colorMode, font: look.font, serverUrl: server, ...(server && this.token ? { embedToken: this.token } : {}), ...(source.visitors ? { visitors: source.visitors } : {}), ...(preview ?? {}),
586
+ // Where it runs: for a visitor without an account, on the visitors'
587
+ // runtime with a visitor's token, the limited preview unless the host
588
+ // says not (D-07, R-30); on the host's server, the visit's embed
589
+ // token going with the conversation (R-20); else on Datalayer, with
590
+ // the signed-in person's credentials.
591
+ const runsOn = source.visitors
592
+ ? {
593
+ kind: 'visitor',
594
+ visitors: source.visitors,
595
+ anonymous: Boolean(preview),
596
+ ...(preview?.maxTurns ? { maxTurns: preview.maxTurns } : {}),
597
+ ...(preview ? { signInUrl: preview.signInUrl } : {}),
598
+ }
599
+ : server
600
+ ? {
601
+ kind: 'server',
602
+ url: server,
603
+ ...(this.token ? { embedToken: this.token } : {}),
604
+ }
605
+ : { kind: 'datalayer' };
606
+ // One implementation: the element is `Application` in its shadow root,
607
+ // in its own theme, its overlays drawn there too.
608
+ this.root.render(_jsx(StyleSheetManager, { target: shadow, children: _jsx(Application, { app: source.app, runsOn: runsOn, theme: "own", mode: look.mode, accent: look.accent, colorMode: look.colorMode, font: look.font,
612
609
  // Its voice, when its Appspec says one (VO-18): ai-agents'
613
610
  // speech service; the microphone needs the page's
614
611
  // Permissions-Policy to allow it.
@@ -200,3 +200,10 @@ export declare function embedListens(app: Pick<AppSpec, 'interface'>): boolean;
200
200
  * each visit.
201
201
  */
202
202
  export declare function embedSnippetOf(options: EmbedSnippetOptions): string;
203
+ /** The run page an application on Datalayer is framed from. */
204
+ export declare function frameSrcOf(origin: string, app: string, token?: string): string;
205
+ /**
206
+ * A framed run page told the visitor's language (P-26): `language=` in its
207
+ * query, before the fragment that holds the token.
208
+ */
209
+ export declare function frameInLanguage(src: string, language?: string): string;
@@ -291,3 +291,21 @@ export function embedSnippetOf(options) {
291
291
  `<${EMBED_TAG}${written}></${EMBED_TAG}>`,
292
292
  ].join('\n');
293
293
  }
294
+ /** The run page an application on Datalayer is framed from. */
295
+ export function frameSrcOf(origin, app, token = '') {
296
+ // The token in the fragment, which no server is sent: it reaches the page
297
+ // and no access log.
298
+ return `${origin.replace(/\/+$/, '')}/public/apps/${encodeURIComponent(app)}/run?embed=1${token ? `#token=${encodeURIComponent(token)}` : ''}`;
299
+ }
300
+ /**
301
+ * A framed run page told the visitor's language (P-26): `language=` in its
302
+ * query, before the fragment that holds the token.
303
+ */
304
+ export function frameInLanguage(src, language) {
305
+ if (!language) {
306
+ return src;
307
+ }
308
+ const at = src.indexOf('#');
309
+ const [page, fragment] = at < 0 ? [src, ''] : [src.slice(0, at), src.slice(at)];
310
+ return `${page}${page.includes('?') ? '&' : '?'}language=${encodeURIComponent(language)}${fragment}`;
311
+ }