@datalayer/agent-runtimes 1.5.17 → 1.5.19

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 (298) hide show
  1. package/dist-embed/chunks/{AgentDetails-CMBy5o1q.js → AgentDetails-jDVTZOUO.js} +1 -1
  2. package/dist-embed/chunks/{AgentDetailsDialog-D2vH2Nrd.js → AgentDetailsDialog-BLC4yhCo.js} +1 -1
  3. package/dist-embed/chunks/{AgentInspector-Bd0oHNAX.js → AgentInspector-DBI8tAJ0.js} +1 -1
  4. package/dist-embed/chunks/{AgentInspectorDialog-BJUgBPAE.js → AgentInspectorDialog-xW2BjxJT.js} +1 -1
  5. package/dist-embed/chunks/{CellSidebarExtension-CYOVwk1t.js → CellSidebarExtension-D4_DkfUV.js} +1 -1
  6. package/dist-embed/chunks/ChatView-CpY0werd.js +32 -0
  7. package/dist-embed/chunks/{ContextPie-B9mAKJc2.js → ContextPie-Cebjx8jR.js} +1 -1
  8. package/dist-embed/chunks/{DeckComponent-CbmzVWcF.js → DeckComponent-B0pIJhTp.js} +2 -2
  9. package/dist-embed/chunks/{DocumentView-BqsGfNys.js → DocumentView-CS_ILd4O.js} +1 -1
  10. package/dist-embed/chunks/{EphemeralDocument-DLaNvwm_.js → EphemeralDocument-CwauqhmY.js} +1 -1
  11. package/dist-embed/chunks/{EphemeralNotebook-jnqAJFPI.js → EphemeralNotebook-BgC-YEtX.js} +1 -1
  12. package/dist-embed/chunks/{ExcalidrawComponent-Cb8yeXqu.js → ExcalidrawComponent-jOeuq53P.js} +1 -1
  13. package/dist-embed/chunks/{ExcalidrawModal-DaPSGYek.js → ExcalidrawModal-RsJGL2o8.js} +1 -1
  14. package/dist-embed/chunks/{JupyterLexicalExtension-BQINjIFV.js → JupyterLexicalExtension-BgcLmrzO.js} +9 -9
  15. package/dist-embed/chunks/{KernelVariables-CGQkS5EX.js → KernelVariables-cBMhcW1H.js} +1 -1
  16. package/dist-embed/chunks/{LexicalToolRegistry-BJ6mpMWn.js → LexicalToolRegistry-0QBhZnFO.js} +1 -1
  17. package/dist-embed/chunks/{NotebookToolSurfaces-DiPifvaW.js → NotebookToolSurfaces-D1GnK3rj.js} +1 -1
  18. package/dist-embed/chunks/{NotebookView-IX0wNuX8.js → NotebookView-CC5s4q0A.js} +1 -1
  19. package/dist-embed/chunks/{Output-B9XAhyoF.js → Output-B4b0TC6x.js} +1 -1
  20. package/dist-embed/chunks/{SandboxDetailsDialog-COCpmo8m.js → SandboxDetailsDialog-DhH0cSRN.js} +1 -1
  21. package/dist-embed/chunks/{SchemaForm-WIwdKnrk.js → SchemaForm-CPiM13ub.js} +1 -1
  22. package/dist-embed/chunks/{WidgetVariableView-BoGROi-A.js → WidgetVariableView-CUqRH-Wi.js} +1 -1
  23. package/dist-embed/chunks/{YouTubePlugin-BEQBWMwx.js → YouTubePlugin-CGKNamMP.js} +1 -1
  24. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-D3_T0Lze.js → abnfDiagram-VCTEODGH-DRoYJDMb.js} +1 -1
  25. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-CG18Hf18.js → abnfDiagram-VCTEODGH-DqGkvvLU.js} +1 -1
  26. package/dist-embed/chunks/{ar-SA-G6X2FPQ2-BDWXsTdt.js → ar-SA-G6X2FPQ2-BdYlCgqh.js} +1 -1
  27. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-B1QPAYO8.js → architectureDiagram-5GKGNRK7-B4WL7dDA.js} +1 -1
  28. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-B5kSsKje.js → architectureDiagram-5GKGNRK7-BfuR2k3K.js} +1 -1
  29. package/dist-embed/chunks/{az-AZ-76LH7QW2-BGchGiT7.js → az-AZ-76LH7QW2-BAJSVApS.js} +1 -1
  30. package/dist-embed/chunks/{bg-BG-XCXSNQG7-vCII6Zuq.js → bg-BG-XCXSNQG7-CutR4A8o.js} +1 -1
  31. package/dist-embed/chunks/{blockDiagram-868be97b-BvM0ptp7.js → blockDiagram-868be97b-gX0yvAGO.js} +1 -1
  32. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-ClwWG8yx.js → blockDiagram-I7D4REHJ-BzMuNIFV.js} +1 -1
  33. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-B8BmxOM4.js → blockDiagram-I7D4REHJ-CI05Fmnw.js} +1 -1
  34. package/dist-embed/chunks/{bn-BD-2XOGV67Q-Beu9yUTu.js → bn-BD-2XOGV67Q-CjPnVerm.js} +1 -1
  35. package/dist-embed/chunks/{c4Diagram-3f4bdde3-S92W2yOx.js → c4Diagram-3f4bdde3-CWKvySqQ.js} +1 -1
  36. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-CNWW_-u7.js → c4Diagram-7LVT6UL2-BVZdygZu.js} +1 -1
  37. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-nSCKKLuX.js → c4Diagram-7LVT6UL2-BfaHhF7Y.js} +1 -1
  38. package/dist-embed/chunks/{ca-ES-6MX7JW3Y-CnEo6YQi.js → ca-ES-6MX7JW3Y-D0HWiwHb.js} +1 -1
  39. package/dist-embed/chunks/{celltoolbartracker-CO6V5FhH.js → celltoolbartracker-DB7Qnu48.js} +1 -1
  40. package/dist-embed/chunks/{chunk-2Q5K7J3B--r8j4N5L.js → chunk-2Q5K7J3B-Ck5gIh4V.js} +1 -1
  41. package/dist-embed/chunks/{chunk-2Q5K7J3B-D3fTIaw3.js → chunk-2Q5K7J3B-DEZpvDtA.js} +1 -1
  42. package/dist-embed/chunks/{chunk-5VM5RSS4-D76mXyWz.js → chunk-5VM5RSS4-BFWTcAj1.js} +1 -1
  43. package/dist-embed/chunks/{chunk-5VM5RSS4-QmrgOATO.js → chunk-5VM5RSS4-DVfmoMLA.js} +1 -1
  44. package/dist-embed/chunks/{chunk-F27PBJKO-DvNrStTM.js → chunk-F27PBJKO-BjmQwwGl.js} +1 -1
  45. package/dist-embed/chunks/{chunk-F27PBJKO-DdSgBnK0.js → chunk-F27PBJKO-wR8Z4fpP.js} +1 -1
  46. package/dist-embed/chunks/{chunk-IMKFNOWR-DpxND1Ct.js → chunk-IMKFNOWR-DnYdav9f.js} +1 -1
  47. package/dist-embed/chunks/{chunk-IMKFNOWR-DwqmSZhU.js → chunk-IMKFNOWR-Dzk9sHxf.js} +1 -1
  48. package/dist-embed/chunks/{chunk-JWPE2WC7-i7V3vMtZ.js → chunk-JWPE2WC7-Ble97p_W.js} +1 -1
  49. package/dist-embed/chunks/{chunk-JWPE2WC7-jla8jvq5.js → chunk-JWPE2WC7-DyqhVk-0.js} +1 -1
  50. package/dist-embed/chunks/{chunk-POPQ4Y6H-BGCugXU7.js → chunk-POPQ4Y6H-CQpYIqjb.js} +1 -1
  51. package/dist-embed/chunks/{chunk-POPQ4Y6H-ofrenTaa.js → chunk-POPQ4Y6H-CtT0-VOM.js} +1 -1
  52. package/dist-embed/chunks/{chunk-SVP7TREG-BIxxVjkU.js → chunk-SVP7TREG-BTtpQsSJ.js} +1 -1
  53. package/dist-embed/chunks/{chunk-SVP7TREG-2Q2uQyQk.js → chunk-SVP7TREG-CwdiQONE.js} +1 -1
  54. package/dist-embed/chunks/{chunk-TICWLB2K-BqA5q52L.js → chunk-TICWLB2K-BfGhImQo.js} +1 -1
  55. package/dist-embed/chunks/{chunk-TICWLB2K-LNiCmYq5.js → chunk-TICWLB2K-D3UY4Hgl.js} +1 -1
  56. package/dist-embed/chunks/{chunk-XXDRQBXY-CqtfA3WC.js → chunk-XXDRQBXY-BaxFY2Jg.js} +1 -1
  57. package/dist-embed/chunks/{chunk-XXDRQBXY-CNMg_gvd.js → chunk-XXDRQBXY-a1EY5SM8.js} +1 -1
  58. package/dist-embed/chunks/{classDiagram-ZZMXUADV-D6z_X195.js → classDiagram-ZZMXUADV-C0eJXn7r.js} +1 -1
  59. package/dist-embed/chunks/{classDiagram-ZZMXUADV-Co0jT9i-.js → classDiagram-ZZMXUADV-Cop7Dp41.js} +1 -1
  60. package/dist-embed/chunks/{classDiagram-f62afe4f-lN62p17q.js → classDiagram-f62afe4f-BGkVvslN.js} +1 -1
  61. package/dist-embed/chunks/{classDiagram-v2-604399ef-B_QJ6H8h.js → classDiagram-v2-604399ef-CPwahFkc.js} +1 -1
  62. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-D6z_X195.js → classDiagram-v2-VYDZK3BY-C0eJXn7r.js} +1 -1
  63. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-Co0jT9i-.js → classDiagram-v2-VYDZK3BY-Cop7Dp41.js} +1 -1
  64. package/dist-embed/chunks/{code-block-IT6T5CEO-BA38Km-f.js → code-block-IT6T5CEO-DEZxRmcq.js} +1 -1
  65. package/dist-embed/chunks/{component-Chor_J7e.js → component-B8gGyr50.js} +1 -1
  66. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-B5H1cwBa.js → cose-bilkent-JH36ORCC-CQ3UHpys.js} +1 -1
  67. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-C3cTgEcU.js → cose-bilkent-JH36ORCC-whW3Ickm.js} +1 -1
  68. package/dist-embed/chunks/{createText-aed3d8b3-BtgHeyNs.js → createText-aed3d8b3-BdWXGDj2.js} +1 -1
  69. package/dist-embed/chunks/{cs-CZ-2BRQDIVT-ClBKH9_y.js → cs-CZ-2BRQDIVT-DHo-9UK-.js} +1 -1
  70. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-sdsAonZm.js → cynefinDiagram-5FMLGOSQ-C1dAzTZy.js} +1 -1
  71. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-DPQLh9z7.js → cynefinDiagram-5FMLGOSQ-DKngj3tn.js} +1 -1
  72. package/dist-embed/chunks/{da-DK-5WZEPLOC-BqFDUAty.js → da-DK-5WZEPLOC-BLw7PbxL.js} +1 -1
  73. package/dist-embed/chunks/{dagre-GXQ25YYZ-DHF-9-7e.js → dagre-GXQ25YYZ-Bom0Ow10.js} +1 -1
  74. package/dist-embed/chunks/{dagre-GXQ25YYZ-Bwf_WjLM.js → dagre-GXQ25YYZ-BuHKUFJc.js} +1 -1
  75. package/dist-embed/chunks/{de-DE-XR44H4JA-6dsEQn7Z.js → de-DE-XR44H4JA-DqCVLDRk.js} +1 -1
  76. package/dist-embed/chunks/{diagram-S7CK7UJ4-DEqGRBMT.js → diagram-S7CK7UJ4-4zEkI5rV.js} +1 -1
  77. package/dist-embed/chunks/{diagram-S7CK7UJ4-C-N7Ei3I.js → diagram-S7CK7UJ4-H6Kef58R.js} +1 -1
  78. package/dist-embed/chunks/{diagram-UQ7AKVKN-DACyxI-v.js → diagram-UQ7AKVKN-DVAC1okH.js} +1 -1
  79. package/dist-embed/chunks/{diagram-UQ7AKVKN-CvSBE0YU.js → diagram-UQ7AKVKN-DeXqnBhe.js} +1 -1
  80. package/dist-embed/chunks/{diagram-VSXAHHWV-DFze2xro.js → diagram-VSXAHHWV-BYu3Niho.js} +1 -1
  81. package/dist-embed/chunks/{diagram-VSXAHHWV-DOb69VtE.js → diagram-VSXAHHWV-DJvcLGGT.js} +1 -1
  82. package/dist-embed/chunks/{diagram-VX7I27RA-CVTSdYyZ.js → diagram-VX7I27RA-BeOTI_JX.js} +1 -1
  83. package/dist-embed/chunks/{diagram-VX7I27RA-8EKYM_Sx.js → diagram-VX7I27RA-Cd39Txmj.js} +1 -1
  84. package/dist-embed/chunks/{diagram-Z3DM3KII-B-689FF6.js → diagram-Z3DM3KII-Ccg8IzPs.js} +1 -1
  85. package/dist-embed/chunks/{diagram-Z3DM3KII-DyiBmBFy.js → diagram-Z3DM3KII-DV4M-vr2.js} +1 -1
  86. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-DcKvqn_h.js → ebnfDiagram-PWID7BFC-Ci7iqdKR.js} +1 -1
  87. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-gj8dgCWR.js → ebnfDiagram-PWID7BFC-JrHbupeR.js} +1 -1
  88. package/dist-embed/chunks/{edges-b2856ca0-BqGGNnb4.js → edges-b2856ca0-D0Ve_cWg.js} +1 -1
  89. package/dist-embed/chunks/{el-GR-BZB4AONW-DOMW2ttY.js → el-GR-BZB4AONW-DWIe_es3.js} +1 -1
  90. package/dist-embed/chunks/{erDiagram-5d81789a-Bf1Ik49K.js → erDiagram-5d81789a-_wYWwZkR.js} +1 -1
  91. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-B0PyZB_3.js → erDiagram-RLTQ6QDP-CgP-DSWO.js} +1 -1
  92. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-GSu-_IUJ.js → erDiagram-RLTQ6QDP-D2UUMLBd.js} +1 -1
  93. package/dist-embed/chunks/{es-ES-U4NZUMDT-DeyWqjw1.js → es-ES-U4NZUMDT-C4nVLuzt.js} +1 -1
  94. package/dist-embed/chunks/{eu-ES-A7QVB2H4-CUGbZ0Pv.js → eu-ES-A7QVB2H4-DNtU9lgI.js} +1 -1
  95. package/dist-embed/chunks/{fa-IR-HGAKTJCU-Br8UEVO1.js → fa-IR-HGAKTJCU-C9d2dVkk.js} +1 -1
  96. package/dist-embed/chunks/{fi-FI-Z5N7JZ37-BSHjwo8G.js → fi-FI-Z5N7JZ37-BtMDQ3ec.js} +1 -1
  97. package/dist-embed/chunks/{flowDb-185abca5-U9PwWSO4.js → flowDb-185abca5-w4ZLOMwa.js} +1 -1
  98. package/dist-embed/chunks/{flowDiagram-1629c991-BecgzQgp.js → flowDiagram-1629c991-CrRVLCnt.js} +1 -1
  99. package/dist-embed/chunks/{flowDiagram-HODETNUW-2vih3kWM.js → flowDiagram-HODETNUW-BJpTxK5i.js} +1 -1
  100. package/dist-embed/chunks/{flowDiagram-HODETNUW-tcAkcGh4.js → flowDiagram-HODETNUW-DtWilAWc.js} +1 -1
  101. package/dist-embed/chunks/{flowDiagram-v2-1d953310-Bdmc9G3m.js → flowDiagram-v2-1d953310-tzv2aPj8.js} +1 -1
  102. package/dist-embed/chunks/{flowchart-elk-definition-6df44142-oWOWsVNc.js → flowchart-elk-definition-6df44142-C8Gjf4Dy.js} +1 -1
  103. package/dist-embed/chunks/{fr-FR-RHASNOE6-BukqZYPz.js → fr-FR-RHASNOE6-D1fqP_vI.js} +1 -1
  104. package/dist-embed/chunks/{ganttDiagram-3b0b3873-B7lmD9r9.js → ganttDiagram-3b0b3873-WkbnZ3Zy.js} +1 -1
  105. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-D0E7se_Z.js → ganttDiagram-EL5Y4UJY-B1hq5rq9.js} +1 -1
  106. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-DDbqMevq.js → ganttDiagram-EL5Y4UJY-DiSce27A.js} +1 -1
  107. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-DK3EJl5z.js → gitGraphDiagram-WWUBYQGX-BoqOxrkd.js} +1 -1
  108. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-DnVwXJWu.js → gitGraphDiagram-WWUBYQGX-Dfl4EOB8.js} +1 -1
  109. package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-B9vpLy6R.js → gitGraphDiagram-f01e8bc2-DxsYooak.js} +1 -1
  110. package/dist-embed/chunks/{gl-ES-HMX3MZ6V-BxVOJiaI.js → gl-ES-HMX3MZ6V-BkLcCFrx.js} +1 -1
  111. package/dist-embed/chunks/{he-IL-6SHJWFNN-Dv2VRxlJ.js → he-IL-6SHJWFNN-By48peS7.js} +1 -1
  112. package/dist-embed/chunks/{hi-IN-IWLTKZ5I-CFo5RUMz.js → hi-IN-IWLTKZ5I-386dm1ZK.js} +1 -1
  113. package/dist-embed/chunks/{hu-HU-A5ZG7DT2-ul3dS3un.js → hu-HU-A5ZG7DT2-B2wmIkDO.js} +1 -1
  114. package/dist-embed/chunks/{id-ID-SAP4L64H-ItVb-zwI.js → id-ID-SAP4L64H-Bc22Fq5f.js} +1 -1
  115. package/dist-embed/chunks/{index-9bae90f3-D9849sgo.js → index-9bae90f3-0dEQW6X4.js} +1 -1
  116. package/dist-embed/chunks/{index-oGqh9y23.js → index-B2eXWNhX.js} +1 -1
  117. package/dist-embed/chunks/{index-DSvebR7d.js → index-B5UP_2-0.js} +1 -1
  118. package/dist-embed/chunks/{index-YlGTgJvL.js → index-BEuw5cVO.js} +1 -1
  119. package/dist-embed/chunks/{index-CsgaCZaW.js → index-BMlDZi3F.js} +1 -1
  120. package/dist-embed/chunks/{index-BNFRRs9d.js → index-BW1nTf3r.js} +1 -1
  121. package/dist-embed/chunks/{index-xiH3WzLm.js → index-Ba1_ej_S.js} +1 -1
  122. package/dist-embed/chunks/{index-CjM49jS0.js → index-Bf3G_UXi.js} +1 -1
  123. package/dist-embed/chunks/{index-BOYhJnrD.js → index-BlBHM8M3.js} +1 -1
  124. package/dist-embed/chunks/{index-B5zrJYwn.js → index-Bw3Ijhff.js} +1 -1
  125. package/dist-embed/chunks/{index-BT4vYFeY.js → index-C5TEB73S.js} +1 -1
  126. package/dist-embed/chunks/{index-BkKEXqQS.js → index-CD5d-0QJ.js} +1 -1
  127. package/dist-embed/chunks/{index-D2LvuQlP.js → index-CTSvc7kN.js} +1 -1
  128. package/dist-embed/chunks/{index-B-L6ocEV.js → index-CaBZ6zn5.js} +1 -1
  129. package/dist-embed/chunks/{index-DSF21-29.js → index-Ce0tqSYG.js} +1 -1
  130. package/dist-embed/chunks/{index-BfUXEHI0.js → index-CeDsYtrC.js} +1 -1
  131. package/dist-embed/chunks/{index-Cp2aJ2ZR.js → index-Ckzgd1GV.js} +1 -1
  132. package/dist-embed/chunks/{index-jh9S19of.js → index-Crj6AD3D.js} +1 -1
  133. package/dist-embed/chunks/{index-bm8APcDZ.js → index-Cs7fNnHI.js} +4 -4
  134. package/dist-embed/chunks/{index-DoBEQ07P.js → index-D2V9YBSL.js} +2 -2
  135. package/dist-embed/chunks/{index-B764si9c.js → index-D4xDU_cs.js} +1 -1
  136. package/dist-embed/chunks/{index-O2jaI8TY.js → index-DB3vaYGl.js} +1 -1
  137. package/dist-embed/chunks/{index-B0wMyD8Y.js → index-DGpvT0SW.js} +1 -1
  138. package/dist-embed/chunks/{index-CRpZyQIR.js → index-DIGoR1Tz.js} +4 -4
  139. package/dist-embed/chunks/{index-CZdWsyNw.js → index-DTF28A2w.js} +1 -1
  140. package/dist-embed/chunks/{index-7FNjj0f2.js → index-DdBEMKdr.js} +1 -1
  141. package/dist-embed/chunks/{index-BrD9dtoV.js → index-DiBjbJad.js} +1 -1
  142. package/dist-embed/chunks/{index-BM6oRiO1.js → index-DkAo6nTX.js} +1 -1
  143. package/dist-embed/chunks/{index-TEcp7-f6.js → index-DmlogZBL.js} +2 -2
  144. package/dist-embed/chunks/{index-Cql9gOsL.js → index-DmzlqRz3.js} +1 -1
  145. package/dist-embed/chunks/{index-CsxlyZef.js → index-DodMg2uF.js} +1 -1
  146. package/dist-embed/chunks/{index-BiTIdbkn.js → index-DwKNt0FO.js} +1 -1
  147. package/dist-embed/chunks/{index-BqMoyzEk.js → index-I5uUezOA.js} +1 -1
  148. package/dist-embed/chunks/{index-DQQXY-7d.js → index-TzvZ9g2T.js} +2 -2
  149. package/dist-embed/chunks/{index-QZ3sHHT3.js → index-wWGi6oM9.js} +10 -10
  150. package/dist-embed/chunks/{index.esm-CkSite-X.js → index.esm-DFA6Rod9.js} +1 -1
  151. package/dist-embed/chunks/{index.esm-B7KoTOBb.js → index.esm-De-JJWit.js} +1 -1
  152. package/dist-embed/chunks/{infoDiagram-27XIBGKW-DDO50Ria.js → infoDiagram-27XIBGKW-B6fdV0Xc.js} +1 -1
  153. package/dist-embed/chunks/{infoDiagram-27XIBGKW-O3q53Qe2.js → infoDiagram-27XIBGKW-C6J796kn.js} +1 -1
  154. package/dist-embed/chunks/{infoDiagram-a29d40f1-jOvOHUyu.js → infoDiagram-a29d40f1-BjFaAu0-.js} +1 -1
  155. package/dist-embed/chunks/isEqual-BxgGIFfN.js +1 -0
  156. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-DuiWhpVW.js → ishikawaDiagram-5VMMS53U-CZVbbiJE.js} +1 -1
  157. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-IzmbYzxv.js → ishikawaDiagram-5VMMS53U-sjolONOj.js} +1 -1
  158. package/dist-embed/chunks/{it-IT-JPQ66NNP-BuCUBzia.js → it-IT-JPQ66NNP-Cyadykvb.js} +1 -1
  159. package/dist-embed/chunks/{ja-JP-DBVTYXUO-BhtQz4sy.js → ja-JP-DBVTYXUO-DYq7TJf3.js} +1 -1
  160. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-sO-Cfp65.js → journeyDiagram-3NMN7TZE-BJ-6GyhB.js} +1 -1
  161. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-DGLcsVfC.js → journeyDiagram-3NMN7TZE-CNoB-K6t.js} +1 -1
  162. package/dist-embed/chunks/{journeyDiagram-95396277-CA4bGq0G.js → journeyDiagram-95396277-E32TRIvj.js} +1 -1
  163. package/dist-embed/chunks/{kaa-6HZHGXH3-B_TI8Aa0.js → kaa-6HZHGXH3-qdjcAwd_.js} +1 -1
  164. package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-BsSg_l-j.js → kab-KAB-ZGHBKWFO-DHVNVHkT.js} +1 -1
  165. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-CDtLkjnU.js → kanban-definition-UXKFOSKX-2elwU70n.js} +1 -1
  166. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-0wjvwDqk.js → kanban-definition-UXKFOSKX-ZErtzIYn.js} +1 -1
  167. package/dist-embed/chunks/{kk-KZ-P5N5QNE5-B7XK5OQq.js → kk-KZ-P5N5QNE5-DtQCYXHl.js} +1 -1
  168. package/dist-embed/chunks/{km-KH-HSX4SM5Z-Cm2LA9F8.js → km-KH-HSX4SM5Z-B_GLLzdn.js} +1 -1
  169. package/dist-embed/chunks/{ko-KR-MTYHY66A-CL5s99y5.js → ko-KR-MTYHY66A-B8OMm-h5.js} +1 -1
  170. package/dist-embed/chunks/{ku-TR-6OUDTVRD-CiijvKHq.js → ku-TR-6OUDTVRD-_gB3JeJW.js} +1 -1
  171. package/dist-embed/chunks/{layout-CzrlbzeK.js → layout-DV2JdCx0.js} +1 -1
  172. package/dist-embed/chunks/{layout-BBbB54WC.js → layout-Di1pO_ld.js} +1 -1
  173. package/dist-embed/chunks/{lexicalHooks-DQxNZEiJ.js → lexicalHooks-DuWTjfdx.js} +1 -1
  174. package/dist-embed/chunks/{lt-LT-XHIRWOB4-CcA_Z5jR.js → lt-LT-XHIRWOB4-judKfepg.js} +1 -1
  175. package/dist-embed/chunks/{lv-LV-5QDEKY6T-CAQS9wGm.js → lv-LV-5QDEKY6T-C-9ZhYTf.js} +1 -1
  176. package/dist-embed/chunks/{mermaid.core-DfgoT1cz.js → mermaid.core-CH9h-G6m.js} +3 -3
  177. package/dist-embed/chunks/{mermaid.core-s-D09gpV.js → mermaid.core-DmeLLEp4.js} +5 -5
  178. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-BCiSPRJk.js → mindmap-definition-YA3MSWOX-CH32-IRq.js} +1 -1
  179. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-B6_K5ZvV.js → mindmap-definition-YA3MSWOX-DQTfxlEc.js} +1 -1
  180. package/dist-embed/chunks/{mindmap-definition-e4c1d938-D7gmABiC.js → mindmap-definition-e4c1d938-BgjFyiku.js} +1 -1
  181. package/dist-embed/chunks/{mr-IN-CRQNXWMA-DMAAvsDA.js → mr-IN-CRQNXWMA-B7W8v3Ft.js} +1 -1
  182. package/dist-embed/chunks/{my-MM-5M5IBNSE-t2TKqrjW.js → my-MM-5M5IBNSE-e3nyuoTM.js} +1 -1
  183. package/dist-embed/chunks/{nb-NO-T6EIAALU-Bi3ZI-HQ.js → nb-NO-T6EIAALU-Dq2hr8f4.js} +1 -1
  184. package/dist-embed/chunks/{nl-NL-IS3SIHDZ-B8UdlW1K.js → nl-NL-IS3SIHDZ-BPpJK4bx.js} +1 -1
  185. package/dist-embed/chunks/{nn-NO-6E72VCQL-Bt87hI27.js → nn-NO-6E72VCQL-TlFEoum0.js} +1 -1
  186. package/dist-embed/chunks/{oc-FR-POXYY2M6-009NL0Pk.js → oc-FR-POXYY2M6-CnSPPsW-.js} +1 -1
  187. package/dist-embed/chunks/{pa-IN-N4M65BXN-BfUtS2yt.js → pa-IN-N4M65BXN-DOLWrPsW.js} +1 -1
  188. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-CBrnWUaX.js → pegDiagram-XKGWAZYB-n8BSl7l3.js} +1 -1
  189. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-BX0ZYMng.js → pegDiagram-XKGWAZYB-oyZR3LwE.js} +1 -1
  190. package/dist-embed/chunks/{percentages-BXMCSKIN-CfzulzOv.js → percentages-BXMCSKIN-CGGUos_k.js} +5 -5
  191. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-Ct8dzoLU.js → pieDiagram-E7YTZNPT-BW48oEVe.js} +1 -1
  192. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-B1My5W85.js → pieDiagram-E7YTZNPT-t7G_PNXz.js} +1 -1
  193. package/dist-embed/chunks/{pieDiagram-c941bede-7DZ-Bl8U.js → pieDiagram-c941bede-Ci9AzDtZ.js} +1 -1
  194. package/dist-embed/chunks/{pl-PL-T2D74RX3-DbtOl9_x.js → pl-PL-T2D74RX3-hlaxloT-.js} +1 -1
  195. package/dist-embed/chunks/{pt-BR-5N22H2LF-B1pjR1_T.js → pt-BR-5N22H2LF-Zzt5dIRi.js} +1 -1
  196. package/dist-embed/chunks/{pt-PT-UZXXM6DQ-takC7TRa.js → pt-PT-UZXXM6DQ-DclavEOo.js} +1 -1
  197. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-B1mlT7fN.js → quadrantDiagram-AXDQQJYC-BLT8OFPd.js} +1 -1
  198. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-B7p4unpj.js → quadrantDiagram-AXDQQJYC-CqCRrPOH.js} +1 -1
  199. package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-CTMh_Ad5.js → quadrantDiagram-cf8b8fe0-CCwvL59h.js} +1 -1
  200. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-CJEwr5d9.js → railroadDiagram-O6MQD6OU-CArU1lc_.js} +1 -1
  201. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-xr8bPIl7.js → railroadDiagram-O6MQD6OU-h7bwNVOI.js} +1 -1
  202. package/dist-embed/chunks/{renderer-Ba0Cwb4p.js → renderer-B7ulbNbj.js} +1 -1
  203. package/dist-embed/chunks/{requirementDiagram-53bda41b-Dv1Piop_.js → requirementDiagram-53bda41b-DwpbUtUG.js} +1 -1
  204. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-Bw89vFiC.js → requirementDiagram-BXWQKSXE-DjSU8lt8.js} +1 -1
  205. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-rabT3v-j.js → requirementDiagram-BXWQKSXE-DouRs4yi.js} +1 -1
  206. package/dist-embed/chunks/{ro-RO-JPDTUUEW-DkkqyFBF.js → ro-RO-JPDTUUEW-cgDkcR_I.js} +1 -1
  207. package/dist-embed/chunks/{ru-RU-B4JR7IUQ-CikD-ITp.js → ru-RU-B4JR7IUQ-9-oBtsiZ.js} +1 -1
  208. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-D--cx9I2.js → sankeyDiagram-P5KCCOFB-CBWfRlJB.js} +1 -1
  209. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-5SpI76uK.js → sankeyDiagram-P5KCCOFB-DjzmT1hm.js} +1 -1
  210. package/dist-embed/chunks/{sankeyDiagram-c3ef121a-DbhtSWkB.js → sankeyDiagram-c3ef121a-9XuKuXG6.js} +1 -1
  211. package/dist-embed/chunks/{sequenceDiagram-82a5b84f-DpxBSKAk.js → sequenceDiagram-82a5b84f-BG9YQ6K-.js} +1 -1
  212. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-D_wK-z7a.js → sequenceDiagram-WJ2MYXX4-B9mfZJzJ.js} +1 -1
  213. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-DGNwWgf8.js → sequenceDiagram-WJ2MYXX4-CosODaLN.js} +1 -1
  214. package/dist-embed/chunks/{sessions-DQkTozai.js → sessions-D0uw83Dx.js} +1 -1
  215. package/dist-embed/chunks/{si-LK-N5RQ5JYF-BqlWRhwK.js → si-LK-N5RQ5JYF-DwwdanqB.js} +1 -1
  216. package/dist-embed/chunks/{sizeCapture-INFHLROL-4Uh8JUjf.js → sizeCapture-INFHLROL-CwVsdbq8.js} +1 -1
  217. package/dist-embed/chunks/{sizeCapture-INFHLROL-g-K-6XON.js → sizeCapture-INFHLROL-H5_9Te0l.js} +1 -1
  218. package/dist-embed/chunks/{sk-SK-C5VTKIMK-DGsmi02E.js → sk-SK-C5VTKIMK-Bx7Xeegg.js} +1 -1
  219. package/dist-embed/chunks/{sl-SI-NN7IZMDC-HFz45GOs.js → sl-SI-NN7IZMDC-BnRYm8hb.js} +1 -1
  220. package/dist-embed/chunks/{stateDiagram-43e79a5f-DxbV4jP9.js → stateDiagram-43e79a5f-DqSNbxpV.js} +1 -1
  221. package/dist-embed/chunks/{stateDiagram-D77RDMKH-D-l3u-WY.js → stateDiagram-D77RDMKH-CFvF2i-n.js} +1 -1
  222. package/dist-embed/chunks/{stateDiagram-D77RDMKH-C_wYpqah.js → stateDiagram-D77RDMKH-CM0rQJN-.js} +1 -1
  223. package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-BzxzaDdI.js → stateDiagram-v2-2041ed4f-DEAOSRqx.js} +1 -1
  224. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-IEMNMwm0.js → stateDiagram-v2-MP3YSRHH-BNF3zl7F.js} +1 -1
  225. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-BGYkOvTS.js → stateDiagram-v2-MP3YSRHH-x4Ke6-d0.js} +1 -1
  226. package/dist-embed/chunks/{styles-455b33cd-C42Lyulv.js → styles-455b33cd-CGv1xv-g.js} +1 -1
  227. package/dist-embed/chunks/{styles-f932cba9-Bf6H3IMq.js → styles-f932cba9-BcvypeEH.js} +1 -1
  228. package/dist-embed/chunks/{styles-fcc2142b-OZg6fE-p.js → styles-fcc2142b-Bm-8o0Wg.js} +1 -1
  229. package/dist-embed/chunks/{subset-shared.chunk-KC0vshev.js → subset-shared.chunk-E0MJmgRL.js} +1 -1
  230. package/dist-embed/chunks/{subset-worker.chunk-CXZAV_Z5.js → subset-worker.chunk-C8uhAh2D.js} +1 -1
  231. package/dist-embed/chunks/{sv-SE-XGPEYMSR-yEdPvwHy.js → sv-SE-XGPEYMSR-CsQ6HfG0.js} +1 -1
  232. package/dist-embed/chunks/{svgDrawCommon-148a3cd9-D9MRwoYw.js → svgDrawCommon-148a3cd9-CfBqsI2Z.js} +1 -1
  233. package/dist-embed/chunks/{swimlanes-42K2YHIH-CPkom4Q8.js → swimlanes-42K2YHIH-C5u-jMMX.js} +1 -1
  234. package/dist-embed/chunks/{swimlanes-42K2YHIH-DJLFcHMt.js → swimlanes-42K2YHIH-DSy5A1Br.js} +1 -1
  235. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BJOhuN-y.js → swimlanesDiagram-VR7AAH4N-DiCCWeyH.js} +1 -1
  236. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BRTtY1QX.js → swimlanesDiagram-VR7AAH4N-Dz7sQXaA.js} +1 -1
  237. package/dist-embed/chunks/{ta-IN-2NMHFXQM-0i424YGX.js → ta-IN-2NMHFXQM-fGjZyqzP.js} +1 -1
  238. package/dist-embed/chunks/{th-TH-HPSO5L25-BidF5zNO.js → th-TH-HPSO5L25-mRygXByj.js} +1 -1
  239. package/dist-embed/chunks/{timeline-definition-24CTP7MA-BasSLg-_.js → timeline-definition-24CTP7MA-BbGhqNW7.js} +1 -1
  240. package/dist-embed/chunks/{timeline-definition-24CTP7MA-BfGIJi1H.js → timeline-definition-24CTP7MA-YHoSditW.js} +1 -1
  241. package/dist-embed/chunks/{timeline-definition-7545f45a-BWwgvKxJ.js → timeline-definition-7545f45a-Cgha50uP.js} +1 -1
  242. package/dist-embed/chunks/{tr-TR-DEFEU3FU-BoHR9SlC.js → tr-TR-DEFEU3FU-CSMtrw8Q.js} +1 -1
  243. package/dist-embed/chunks/{uk-UA-QMV73CPH-DfRkqqO0.js → uk-UA-QMV73CPH-CLyS0aEW.js} +1 -1
  244. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-D1T__rd2.js → vennDiagram-4TSXK5OY-CP_KbGdD.js} +1 -1
  245. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-DMIYCfJ-.js → vennDiagram-4TSXK5OY-DEMghTP3.js} +1 -1
  246. package/dist-embed/chunks/{vi-VN-M7AON7JQ-CvZ4wpTw.js → vi-VN-M7AON7JQ-DI90c6Zt.js} +1 -1
  247. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-DtlNUHLy.js → wardleyDiagram-VM6X3IG4-BKwp7C6o.js} +1 -1
  248. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CiKuFI26.js → wardleyDiagram-VM6X3IG4-CBfVN6X9.js} +1 -1
  249. package/dist-embed/chunks/{xychartDiagram-3f383b91-DzyuxW4K.js → xychartDiagram-3f383b91-CyeoV8HA.js} +1 -1
  250. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-p6pYRkk6.js → xychartDiagram-S5SC5T6Z-BdfPJ1NZ.js} +1 -1
  251. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-BIeFUHrS.js → xychartDiagram-S5SC5T6Z-DOiTJUlh.js} +1 -1
  252. package/dist-embed/chunks/{zh-CN-LNUGB5OW-Cx1Azgu2.js → zh-CN-LNUGB5OW-BhtQOj8w.js} +1 -1
  253. package/dist-embed/chunks/{zh-HK-E62DVLB3-DMjy1d4Z.js → zh-HK-E62DVLB3-BwejmqFd.js} +1 -1
  254. package/dist-embed/chunks/{zh-TW-RAJ6MFWO-J-YjINmR.js → zh-TW-RAJ6MFWO-CXYEZutZ.js} +1 -1
  255. package/dist-embed/datalayer-app-main.js +85 -85
  256. package/lib/apps/apps/appspec.d.ts +31 -1
  257. package/lib/apps/apps/appspec.js +66 -15
  258. package/lib/apps/plugins/chat/ChatView.js +31 -4
  259. package/lib/chat/ChatFloating.js +12 -4
  260. package/lib/chat/base/ChatBase.js +31 -5
  261. package/lib/chat/messages/ChatMessageList.js +1 -1
  262. package/lib/examples/AgentA2ATeamExample.js +6 -5
  263. package/lib/examples/ChatExample.js +2 -2
  264. package/lib/examples/VoiceChatExample.js +9 -3
  265. package/lib/hooks/ownRoutes.d.ts +27 -0
  266. package/lib/hooks/ownRoutes.js +33 -0
  267. package/lib/hooks/useAgentRuntimes.d.ts +5 -0
  268. package/lib/hooks/useAgentRuntimes.js +29 -26
  269. package/lib/hooks/useBrowserAgent.d.ts +1 -1
  270. package/lib/hooks/useBrowserAgent.js +1 -1
  271. package/lib/protocols/AGUIAdapter.d.ts +11 -0
  272. package/lib/protocols/AGUIAdapter.js +27 -2
  273. package/lib/specs/apps.d.ts +32 -32
  274. package/lib/specs/apps.js +620 -139
  275. package/lib/specs/protocols.js +2 -2
  276. package/lib/specs/scenes.js +7 -7
  277. package/lib/specs/teams/teams.js +11 -11
  278. package/lib/specs/voices.d.ts +4 -0
  279. package/lib/specs/voices.js +10 -0
  280. package/lib/types/agentspecs.d.ts +5 -0
  281. package/lib/types/chat.d.ts +6 -0
  282. package/lib/types/protocol.d.ts +17 -0
  283. package/lib/utils/utils.js +8 -1
  284. package/lib/voice/ReadAloud.d.ts +35 -0
  285. package/lib/voice/ReadAloud.js +29 -0
  286. package/lib/voice/hearing.js +5 -3
  287. package/lib/voice/index.d.ts +7 -2
  288. package/lib/voice/index.js +1 -0
  289. package/lib/voice/pinned.d.ts +3 -1
  290. package/lib/voice/pinned.js +17 -3
  291. package/package.json +2 -2
  292. package/scripts/codegen/generate_agents.py +34 -2
  293. package/scripts/codegen/generate_voices.py +8 -1
  294. package/scripts/voice/measure.py +9 -4
  295. package/scripts/voice/pin_store.py +11 -5
  296. package/scripts/voice/serve_store.py +2 -2
  297. package/dist-embed/chunks/ChatView-Dr-1g_cg.js +0 -32
  298. package/dist-embed/chunks/isEqual-CGLTk7wU.js +0 -1
@@ -24,6 +24,7 @@ import { parseAgentStreamMessage, } from '../types/stream';
24
24
  import { DEFAULT_AGENT_CONFIG } from '../types/config';
25
25
  import { ServiceManager } from '@jupyterlab/services/lib/manager';
26
26
  import { disposeSandboxServiceManagers } from '../services/sandboxServiceManagers';
27
+ import { agentDeletionUrl, launchesOwnRoutesOnly, runtimeStatusUrl, } from './ownRoutes';
27
28
  import { runtimeUrl, runtimesUrl } from '../runtimes/lifecycle';
28
29
  import { legacyTargetOf, locationOf, runsInBrowser, toAgentRuntimeVariant, } from '../runtimes/variants';
29
30
  // ═══════════════════════════════════════════════════════════════════════════
@@ -232,26 +233,22 @@ export async function createServiceManagerFromAgentSandbox(info, authToken) {
232
233
  .replace(/\/$/, '');
233
234
  const agentId = String(info.agentId || '').trim();
234
235
  const bearer = String(authToken || '').trim();
235
- if (agentBaseUrl && agentId && bearer) {
236
- const statusCandidates = [
237
- `${agentBaseUrl}/api/v1/runtime/status?agent_id=${encodeURIComponent(agentId)}`,
238
- ];
239
- for (const statusUrl of statusCandidates) {
240
- try {
241
- const response = await fetch(statusUrl, {
242
- headers: {
243
- Authorization: `Bearer ${bearer}`,
244
- },
245
- });
246
- if (!response.ok) {
247
- continue;
248
- }
249
- const payload = (await response
236
+ const statusUrl = agentBaseUrl && agentId && bearer
237
+ ? runtimeStatusUrl(agentBaseUrl, agentId, Boolean(info.ownRoutesOnly))
238
+ : undefined;
239
+ if (statusUrl) {
240
+ try {
241
+ const response = await fetch(statusUrl, {
242
+ headers: {
243
+ Authorization: `Bearer ${bearer}`,
244
+ },
245
+ });
246
+ const payload = response.ok
247
+ ? (await response
250
248
  .json()
251
- .catch(() => null));
252
- if (!payload) {
253
- continue;
254
- }
249
+ .catch(() => null))
250
+ : null;
251
+ if (payload) {
255
252
  payloadFromStatus = payload;
256
253
  const ingressFromStatus = resolveSandboxIngress(payload);
257
254
  if (ingressFromStatus) {
@@ -268,12 +265,11 @@ export async function createServiceManagerFromAgentSandbox(info, authToken) {
268
265
  }
269
266
  }
270
267
  tokenFromStatus = resolveSandboxToken(payload);
271
- break;
272
- }
273
- catch {
274
- // Keep fallback ingress/token when status endpoint is unavailable.
275
268
  }
276
269
  }
270
+ catch {
271
+ // Keep fallback ingress/token when status endpoint is unavailable.
272
+ }
277
273
  }
278
274
  let ingress = resolvedIngress.replace(/\/$/, '');
279
275
  let tokenFromIngress = '';
@@ -366,6 +362,9 @@ export function useAgentRuntimes(options = {}) {
366
362
  // Both vocabularies funnel into one value here, so no branch below has to
367
363
  // remember that the old names exist.
368
364
  const variant = toAgentRuntimeVariant(variantOption ?? runtimeCreationTarget);
365
+ // Launched for a deployment, its runtime answers only the application's
366
+ // own routes (OwnRoutesOnly): nothing else is asked of it.
367
+ const ownRoutesOnly = launchesOwnRoutesOnly(appLaunch);
369
368
  const { configuration } = useCoreStore();
370
369
  // Base store state
371
370
  const runtime = useAgentRuntimeConnection();
@@ -575,10 +574,14 @@ export function useAgentRuntimes(options = {}) {
575
574
  const teardown = useCallback(async () => {
576
575
  const agentId = runtime?.agentId;
577
576
  const agentBaseUrl = runtime?.agentBaseUrl;
578
- if (agentId && agentBaseUrl) {
577
+ // A deployment's runtime keeps its agent: nobody outside deletes it.
578
+ const deletion = agentId && agentBaseUrl
579
+ ? agentDeletionUrl(agentBaseUrl, agentId, ownRoutesOnly)
580
+ : undefined;
581
+ if (deletion) {
579
582
  try {
580
583
  const { token } = await getAuthHeaders();
581
- await fetch(`${agentBaseUrl}/api/v1/agents/${encodeURIComponent(agentId)}`, {
584
+ await fetch(deletion, {
582
585
  method: 'DELETE',
583
586
  headers: token ? { Authorization: `Bearer ${token}` } : {},
584
587
  });
@@ -593,7 +596,7 @@ export function useAgentRuntimes(options = {}) {
593
596
  setLifecycleStatus('idle');
594
597
  setLifecycleError(null);
595
598
  agentRuntimeStore.getState().reset();
596
- }, [runtime?.agentId, runtime?.agentBaseUrl, getAuthHeaders]);
599
+ }, [runtime?.agentId, runtime?.agentBaseUrl, getAuthHeaders, ownRoutesOnly]);
597
600
  // ─── Auto-create agent when runtime is ready (connect mode) ───────
598
601
  useEffect(() => {
599
602
  if (!hasSpec &&
@@ -14,7 +14,7 @@ export type UseBrowserAgentOptions = CreateBrowserAgentOptions & {
14
14
  * ```tsx
15
15
  * const frontendTools = useNotebookTools(notebookId);
16
16
  * const { messages, sendMessage, status } = useBrowserAgent({
17
- * spec: JUPYTER_NOTEBOOK_COMPACTOR_AGENTSPEC_0_0_1,
17
+ * spec: AGENTSPECS['jupyter-notebook-compactor'],
18
18
  * frontendTools,
19
19
  * inference: { inferenceUrl, token },
20
20
  * });
@@ -35,7 +35,7 @@ import { createBrowserAgent, } from '../runtimes/browser';
35
35
  * ```tsx
36
36
  * const frontendTools = useNotebookTools(notebookId);
37
37
  * const { messages, sendMessage, status } = useBrowserAgent({
38
- * spec: JUPYTER_NOTEBOOK_COMPACTOR_AGENTSPEC_0_0_1,
38
+ * spec: AGENTSPECS['jupyter-notebook-compactor'],
39
39
  * frontendTools,
40
40
  * inference: { inferenceUrl, token },
41
41
  * });
@@ -15,6 +15,11 @@ export declare const RUN_CUT_SHORT = "The run stopped before it finished, withou
15
15
  export interface AGUIAdapterConfig extends ProtocolAdapterConfig {
16
16
  /** Runtime URL (e.g., /api/copilotkit) */
17
17
  runtimeUrl?: string;
18
+ /**
19
+ * An application's sessions (`…/api/v1/apps/sessions`): Stop is the
20
+ * thread's session's (`ProtocolConfig.appSessions`).
21
+ */
22
+ appSessions?: string;
18
23
  }
19
24
  /**
20
25
  * AG-UI protocol adapter
@@ -63,6 +68,12 @@ export declare class AGUIAdapter extends BaseProtocolAdapter {
63
68
  * Terminate a running agent thread on the backend
64
69
  */
65
70
  terminateAgent(threadId?: string): Promise<void>;
71
+ /**
72
+ * Stop an application's session (`POST {sessions}/{uid}/stop`): what runs
73
+ * is cancelled and it waits to be resumed. Its thread is the session; with
74
+ * none, nothing was sent and there is nothing to stop.
75
+ */
76
+ private stopSession;
66
77
  /**
67
78
  * Send a message through AG-UI protocol
68
79
  * @param message - The new message to send
@@ -86,8 +86,10 @@ export class AGUIAdapter extends BaseProtocolAdapter {
86
86
  disconnect() {
87
87
  // Abort every ongoing fetch request, not merely the newest.
88
88
  this.stopGeneration();
89
- // Send terminate request to backend if we have a thread ID
90
- if (this.currentThreadId) {
89
+ // Send terminate request to backend if we have a thread ID. Never an
90
+ // application's session: a page going away, or the chat rebuilt with a
91
+ // fresh token, is not the person's Stop — it waits for them to come back.
92
+ if (this.currentThreadId && !this.aguiConfig.appSessions) {
91
93
  this.terminateAgent(this.currentThreadId).catch(err => {
92
94
  console.warn('[AGUIAdapter] Failed to terminate agent:', err);
93
95
  });
@@ -98,6 +100,11 @@ export class AGUIAdapter extends BaseProtocolAdapter {
98
100
  * Terminate a running agent thread on the backend
99
101
  */
100
102
  async terminateAgent(threadId) {
103
+ const sessions = this.aguiConfig.appSessions;
104
+ if (sessions) {
105
+ await this.stopSession(sessions, threadId || this.currentThreadId);
106
+ return;
107
+ }
101
108
  try {
102
109
  // Derive the terminate endpoint from the base URL
103
110
  // e.g., http://localhost:8765/api/v1/ag-ui/default -> http://localhost:8765/api/v1/ag-ui/terminate
@@ -121,6 +128,24 @@ export class AGUIAdapter extends BaseProtocolAdapter {
121
128
  // Ignore errors - agent may have already completed
122
129
  }
123
130
  }
131
+ /**
132
+ * Stop an application's session (`POST {sessions}/{uid}/stop`): what runs
133
+ * is cancelled and it waits to be resumed. Its thread is the session; with
134
+ * none, nothing was sent and there is nothing to stop.
135
+ */
136
+ async stopSession(sessions, threadId) {
137
+ if (!threadId) {
138
+ return;
139
+ }
140
+ const url = `${sessions.replace(/\/+$/, '')}/${encodeURIComponent(threadId)}/stop`;
141
+ const response = await this.fetchOf()(url, {
142
+ method: 'POST',
143
+ headers: this.buildHeaders(),
144
+ });
145
+ if (!response.ok) {
146
+ throw new Error(`The session ${threadId} could not be stopped (${response.status}).`);
147
+ }
148
+ }
124
149
  /**
125
150
  * Send a message through AG-UI protocol
126
151
  * @param message - The new message to send
@@ -8,38 +8,38 @@
8
8
  * DO NOT EDIT MANUALLY - run 'make specs' to regenerate.
9
9
  */
10
10
  import type { AppBuilt, AppKind, AppSpec } from '../types/agentspecs';
11
- export declare const ACCOUNTING_APP_0_0_1: AppSpec;
12
- export declare const BOOKKEEPING_DESK_APP_0_0_1: AppSpec;
13
- export declare const CHANGE_DETECTION_APP_0_0_1: AppSpec;
14
- export declare const CROP_MONITORING_APP_0_0_1: AppSpec;
15
- export declare const CUSTOMER_INTERVIEW_APP_0_0_2: AppSpec;
16
- export declare const DATA_QUALITY_APP_0_0_2: AppSpec;
17
- export declare const DECIDE_APP_0_0_1: AppSpec;
18
- export declare const DISASTER_ASSESSMENT_APP_0_0_1: AppSpec;
19
- export declare const ERRAND_RUNNER_APP_0_0_1: AppSpec;
20
- export declare const EVENT_RESPONSE_APP_0_0_2: AppSpec;
21
- export declare const EXCHANGE_DESK_APP_0_0_2: AppSpec;
22
- export declare const GUEST_DESK_APP_0_0_1: AppSpec;
23
- export declare const INBOX_TRIAGE_APP_0_0_1: AppSpec;
24
- export declare const LIVE_SHOP_CHAT_APP_0_0_1: AppSpec;
25
- export declare const MODEL_CHOICE_APP_0_0_2: AppSpec;
26
- export declare const MONTH_END_CLOSE_APP_0_0_1: AppSpec;
27
- export declare const ORDER_DESK_APP_0_0_1: AppSpec;
28
- export declare const ORDER_TRACKER_APP_0_0_1: AppSpec;
29
- export declare const PIPELINE_REPORT_APP_0_0_1: AppSpec;
30
- export declare const QUOTE_CALCULATOR_APP_0_0_5: AppSpec;
31
- export declare const REPORT_FROM_A_FILE_APP_0_0_4: AppSpec;
32
- export declare const RETURNS_DESK_APP_0_0_1: AppSpec;
33
- export declare const SALES_APP_0_0_2: AppSpec;
34
- export declare const SHIP_OR_FIX_APP_0_0_2: AppSpec;
35
- export declare const SHOP_CONCIERGE_APP_0_0_1: AppSpec;
36
- export declare const SHOPPING_DESK_APP_0_0_1: AppSpec;
37
- export declare const SIGN_IN_DESK_APP_0_0_1: AppSpec;
38
- export declare const SIGNED_READER_APP_0_0_1: AppSpec;
39
- export declare const SUPPLIER_COMPARISON_APP_0_0_2: AppSpec;
40
- export declare const SUPPORT_DESK_APP_0_0_4: AppSpec;
41
- export declare const TRAVEL_DESK_APP_0_0_1: AppSpec;
42
- export declare const WEB_RESEARCH_APP_0_0_1: AppSpec;
11
+ export declare const ACCOUNTING_APP_0_0_2: AppSpec;
12
+ export declare const BOOKKEEPING_DESK_APP_0_0_2: AppSpec;
13
+ export declare const CHANGE_DETECTION_APP_0_0_2: AppSpec;
14
+ export declare const CROP_MONITORING_APP_0_0_2: AppSpec;
15
+ export declare const CUSTOMER_INTERVIEW_APP_0_0_3: AppSpec;
16
+ export declare const DATA_QUALITY_APP_0_0_3: AppSpec;
17
+ export declare const DECIDE_APP_0_0_2: AppSpec;
18
+ export declare const DISASTER_ASSESSMENT_APP_0_0_2: AppSpec;
19
+ export declare const ERRAND_RUNNER_APP_0_0_2: AppSpec;
20
+ export declare const EVENT_RESPONSE_APP_0_0_3: AppSpec;
21
+ export declare const EXCHANGE_DESK_APP_0_0_3: AppSpec;
22
+ export declare const GUEST_DESK_APP_0_0_2: AppSpec;
23
+ export declare const INBOX_TRIAGE_APP_0_0_2: AppSpec;
24
+ export declare const LIVE_SHOP_CHAT_APP_0_0_2: AppSpec;
25
+ export declare const MODEL_CHOICE_APP_0_0_3: AppSpec;
26
+ export declare const MONTH_END_CLOSE_APP_0_0_2: AppSpec;
27
+ export declare const ORDER_DESK_APP_0_0_2: AppSpec;
28
+ export declare const ORDER_TRACKER_APP_0_0_2: AppSpec;
29
+ export declare const PIPELINE_REPORT_APP_0_0_2: AppSpec;
30
+ export declare const QUOTE_CALCULATOR_APP_0_0_6: AppSpec;
31
+ export declare const REPORT_FROM_A_FILE_APP_0_0_5: AppSpec;
32
+ export declare const RETURNS_DESK_APP_0_0_2: AppSpec;
33
+ export declare const SALES_APP_0_0_3: AppSpec;
34
+ export declare const SHIP_OR_FIX_APP_0_0_3: AppSpec;
35
+ export declare const SHOP_CONCIERGE_APP_0_0_2: AppSpec;
36
+ export declare const SHOPPING_DESK_APP_0_0_2: AppSpec;
37
+ export declare const SIGN_IN_DESK_APP_0_0_2: AppSpec;
38
+ export declare const SIGNED_READER_APP_0_0_2: AppSpec;
39
+ export declare const SUPPLIER_COMPARISON_APP_0_0_3: AppSpec;
40
+ export declare const SUPPORT_DESK_APP_0_0_5: AppSpec;
41
+ export declare const TRAVEL_DESK_APP_0_0_2: AppSpec;
42
+ export declare const WEB_RESEARCH_APP_0_0_2: AppSpec;
43
43
  export declare const APP_CATALOGUE: Record<string, AppSpec>;
44
44
  /** An application, by `id` or `id:version`, or undefined. */
45
45
  export declare function getApp(ref: string): AppSpec | undefined;