@datalayer/agent-runtimes 1.5.102 → 1.5.106

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 (438) hide show
  1. package/dist-embed/chunks/AgentInspector-CuvRXcQ7.js +1 -0
  2. package/dist-embed/chunks/{AgentInspectorDialog-Cf8jT6kR.js → AgentInspectorDialog-CXZGyBXE.js} +1 -1
  3. package/dist-embed/chunks/{CellSidebarExtension-9Xkl4nS1.js → CellSidebarExtension-BMT21AEe.js} +16 -16
  4. package/dist-embed/chunks/{DeckComponent-LPAk473I.js → DeckComponent-CDcvO2c7.js} +2 -2
  5. package/dist-embed/chunks/{DocumentView-CSX_hWLV.js → DocumentView-Bd505ec3.js} +1 -1
  6. package/dist-embed/chunks/EphemeralDocument-Cb738Fb7.js +1 -0
  7. package/dist-embed/chunks/{EphemeralNotebook-C3e2FrSq.js → EphemeralNotebook-ayRs87hn.js} +1 -1
  8. package/dist-embed/chunks/ExcalidrawComponent-zLN6lMMh.js +1 -0
  9. package/dist-embed/chunks/ExcalidrawModal-DmayKvhz.js +1 -0
  10. package/dist-embed/chunks/{JupyterLexicalExtension-Cq2BuRs0.js → JupyterLexicalExtension-DS8J9r_J.js} +5 -5
  11. package/dist-embed/chunks/{KernelVariables-BmWOn-n_.js → KernelVariables-JJah7mez.js} +1 -1
  12. package/dist-embed/chunks/NotebookToolSurfaces-Sjfasvqp.js +1 -0
  13. package/dist-embed/chunks/{NotebookView-yvVgAED6.js → NotebookView-BF9IDoeS.js} +1 -1
  14. package/dist-embed/chunks/{Output-DF1wzbCD.js → Output-UPeDwjyI.js} +1 -1
  15. package/dist-embed/chunks/{SandboxDetailsDialog-Bue8qhTm.js → SandboxDetailsDialog-BbFzOjmh.js} +1 -1
  16. package/dist-embed/chunks/WidgetVariableView-D4QMzgOL.js +1 -0
  17. package/dist-embed/chunks/{YouTubePlugin-aO-jWjdh.js → YouTubePlugin-C7CGtLzz.js} +1 -1
  18. package/dist-embed/chunks/abnfDiagram-VCTEODGH-B71U5XYF.js +1 -0
  19. package/dist-embed/chunks/abnfDiagram-VCTEODGH-Bc-fKn8l.js +1 -0
  20. package/dist-embed/chunks/abnfDiagram-VCTEODGH-HXaofwo9.js +1 -0
  21. package/dist-embed/chunks/advancedFormat-CshdkaWz.js +1 -0
  22. package/dist-embed/chunks/{ar-SA-G6X2FPQ2-DZ6ta9d0.js → ar-SA-G6X2FPQ2-CCIrNclv.js} +1 -1
  23. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-CFyAMJIx.js → architectureDiagram-5GKGNRK7-BQB0U0rT.js} +2 -2
  24. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-BbVwTk8b.js → architectureDiagram-5GKGNRK7-C2AE1F2T.js} +2 -2
  25. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DeCj6zMe.js → architectureDiagram-5GKGNRK7-CjuFI4z9.js} +2 -2
  26. package/dist-embed/chunks/az-AZ-76LH7QW2-CSTNZhVp.js +1 -0
  27. package/dist-embed/chunks/{bg-BG-XCXSNQG7-B7QcVEVY.js → bg-BG-XCXSNQG7-DsDH3Vku.js} +1 -1
  28. package/dist-embed/chunks/{blockDiagram-868be97b-CfRaagn_.js → blockDiagram-868be97b-B68KiGkE.js} +3 -3
  29. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-BjRmv4QH.js → blockDiagram-I7D4REHJ-4XoG2wPO.js} +2 -2
  30. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-SufaJtAi.js → blockDiagram-I7D4REHJ-BGPlI9Uq.js} +2 -2
  31. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-kguVnun5.js → blockDiagram-I7D4REHJ-Cd5dHGkJ.js} +2 -2
  32. package/dist-embed/chunks/{bn-BD-2XOGV67Q-TxN1ubr7.js → bn-BD-2XOGV67Q-CGa5jk8k.js} +1 -1
  33. package/dist-embed/chunks/{c4Diagram-3f4bdde3-FyOk3LSs.js → c4Diagram-3f4bdde3-BuW3MIkw.js} +2 -2
  34. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-SgQrn2PO.js → c4Diagram-7LVT6UL2-DCfGVCNK.js} +2 -2
  35. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-Cf2_xw9_.js → c4Diagram-7LVT6UL2-DgPxihhe.js} +2 -2
  36. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-D3Vjz3Z8.js → c4Diagram-7LVT6UL2-SYqo_8ln.js} +2 -2
  37. package/dist-embed/chunks/{ca-ES-6MX7JW3Y-Dqf9cvaK.js → ca-ES-6MX7JW3Y-DPni6_r-.js} +1 -1
  38. package/dist-embed/chunks/channel-BkDTnYd-.js +1 -0
  39. package/dist-embed/chunks/{chunk-2Q5K7J3B-BJrhmygH.js → chunk-2Q5K7J3B-C6_NDlXz.js} +1 -1
  40. package/dist-embed/chunks/{chunk-2Q5K7J3B-DuPgZFdB.js → chunk-2Q5K7J3B-CXYPY0Ns.js} +1 -1
  41. package/dist-embed/chunks/{chunk-2Q5K7J3B-DBdUm--2.js → chunk-2Q5K7J3B-DAZwxp62.js} +1 -1
  42. package/dist-embed/chunks/{chunk-5VM5RSS4-C1Bpa3VF.js → chunk-5VM5RSS4-BE7Xw1qR.js} +1 -1
  43. package/dist-embed/chunks/{chunk-5VM5RSS4-B-UBqvd2.js → chunk-5VM5RSS4-CkLbaiHB.js} +1 -1
  44. package/dist-embed/chunks/{chunk-5VM5RSS4-nQugzoqo.js → chunk-5VM5RSS4-lyh9Xnd2.js} +1 -1
  45. package/dist-embed/chunks/{chunk-F27PBJKO-D3zJwrkg.js → chunk-F27PBJKO-C3nbzFWn.js} +1 -1
  46. package/dist-embed/chunks/{chunk-F27PBJKO-DYiXXgT1.js → chunk-F27PBJKO-Db7_X2ml.js} +1 -1
  47. package/dist-embed/chunks/{chunk-F27PBJKO-MI-KHY-9.js → chunk-F27PBJKO-DgaijeLE.js} +1 -1
  48. package/dist-embed/chunks/{chunk-IMKFNOWR-i4q8sDDB.js → chunk-IMKFNOWR-C0voe75K.js} +1 -1
  49. package/dist-embed/chunks/{chunk-IMKFNOWR-BbylDqs_.js → chunk-IMKFNOWR-CGh3mc7U.js} +1 -1
  50. package/dist-embed/chunks/{chunk-IMKFNOWR-DJk_fAZn.js → chunk-IMKFNOWR-wq8-ajoP.js} +1 -1
  51. package/dist-embed/chunks/{chunk-JWPE2WC7-BSzyfwPR.js → chunk-JWPE2WC7-BnJZ2J3A.js} +1 -1
  52. package/dist-embed/chunks/{chunk-JWPE2WC7-8ggfUh7n.js → chunk-JWPE2WC7-C7Vh66mu.js} +1 -1
  53. package/dist-embed/chunks/{chunk-JWPE2WC7-D1PH2kGj.js → chunk-JWPE2WC7-IsI16_x9.js} +1 -1
  54. package/dist-embed/chunks/{chunk-POPQ4Y6H-DhZnEisk.js → chunk-POPQ4Y6H-C74YP19P.js} +1 -1
  55. package/dist-embed/chunks/{chunk-POPQ4Y6H-pegurE5S.js → chunk-POPQ4Y6H-Jfdu8NYy.js} +1 -1
  56. package/dist-embed/chunks/{chunk-POPQ4Y6H-CKubmyGa.js → chunk-POPQ4Y6H-igzMuKdy.js} +1 -1
  57. package/dist-embed/chunks/{chunk-SVP7TREG-BF112NUO.js → chunk-SVP7TREG-BRTUczs-.js} +1 -1
  58. package/dist-embed/chunks/{chunk-SVP7TREG-D5yRz6xm.js → chunk-SVP7TREG-D5GVP8mx.js} +1 -1
  59. package/dist-embed/chunks/{chunk-SVP7TREG-CoZRhamu.js → chunk-SVP7TREG-V_21qG9f.js} +1 -1
  60. package/dist-embed/chunks/{chunk-TICWLB2K-XF3ekUig.js → chunk-TICWLB2K-C64kdJiT.js} +1 -1
  61. package/dist-embed/chunks/{chunk-TICWLB2K-v9-jDBp6.js → chunk-TICWLB2K-COF4m2Q-.js} +1 -1
  62. package/dist-embed/chunks/{chunk-TICWLB2K-Bs5ffYyR.js → chunk-TICWLB2K-CmvMmjES.js} +1 -1
  63. package/dist-embed/chunks/{chunk-XXDRQBXY-D_FJqGi2.js → chunk-XXDRQBXY-CfGL0WH9.js} +1 -1
  64. package/dist-embed/chunks/{chunk-XXDRQBXY-l6VvHymR.js → chunk-XXDRQBXY-ClqYjHLS.js} +1 -1
  65. package/dist-embed/chunks/{chunk-XXDRQBXY-D9b9c_ic.js → chunk-XXDRQBXY-p7YSmJfy.js} +1 -1
  66. package/dist-embed/chunks/classDiagram-ZZMXUADV-2HYBPww6.js +1 -0
  67. package/dist-embed/chunks/classDiagram-ZZMXUADV-BLOgen3q.js +1 -0
  68. package/dist-embed/chunks/classDiagram-ZZMXUADV-DanFMb8A.js +1 -0
  69. package/dist-embed/chunks/classDiagram-f62afe4f-CNTk_RA5.js +2 -0
  70. package/dist-embed/chunks/classDiagram-v2-604399ef-BPXwuOhe.js +2 -0
  71. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-2HYBPww6.js +1 -0
  72. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-BLOgen3q.js +1 -0
  73. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-DanFMb8A.js +1 -0
  74. package/dist-embed/chunks/cose-bilkent-JH36ORCC-BMDoRbpo.js +1 -0
  75. package/dist-embed/chunks/cose-bilkent-JH36ORCC-C2S2DIKI.js +1 -0
  76. package/dist-embed/chunks/cose-bilkent-JH36ORCC-DSHzx2BI.js +1 -0
  77. package/dist-embed/chunks/{createText-aed3d8b3-Dw977TwJ.js → createText-aed3d8b3-BxsX7KcT.js} +1 -1
  78. package/dist-embed/chunks/{cs-CZ-2BRQDIVT-CwlCWt4T.js → cs-CZ-2BRQDIVT-C2VJoA4e.js} +1 -1
  79. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-CXpjlIcM.js +62 -0
  80. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-DNkIHI2P.js +62 -0
  81. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-Und8rlmR.js +62 -0
  82. package/dist-embed/chunks/d3-color-Jd8hXty2.js +1 -0
  83. package/dist-embed/chunks/d3-hierarchy-Cx6senVY.js +1 -0
  84. package/dist-embed/chunks/d3-interpolate-BVJucgkN.js +1 -0
  85. package/dist-embed/chunks/d3-scale-B-wnA6MO.js +1 -0
  86. package/dist-embed/chunks/d3-scale-chromatic-BM1YEV1K.js +1 -0
  87. package/dist-embed/chunks/{da-DK-5WZEPLOC-BYQLzbDz.js → da-DK-5WZEPLOC-B-8uCnDZ.js} +1 -1
  88. package/dist-embed/chunks/{dagre-GXQ25YYZ-Bj78I_3y.js → dagre-GXQ25YYZ-B8HVheVA.js} +2 -2
  89. package/dist-embed/chunks/{dagre-GXQ25YYZ-BvxZGlAG.js → dagre-GXQ25YYZ-BLRf1T-i.js} +2 -2
  90. package/dist-embed/chunks/{dagre-GXQ25YYZ-BiceTC0E.js → dagre-GXQ25YYZ-DOA3t5IT.js} +2 -2
  91. package/dist-embed/chunks/dayjs.min-u3zuoSR8.js +1 -0
  92. package/dist-embed/chunks/{de-DE-XR44H4JA-CdWGWxSf.js → de-DE-XR44H4JA-mVAvUgBj.js} +1 -1
  93. package/dist-embed/chunks/{diagram-S7CK7UJ4-Cmb9Ykqm.js → diagram-S7CK7UJ4-D9c-d1DT.js} +2 -2
  94. package/dist-embed/chunks/{diagram-S7CK7UJ4-DMHeQr8F.js → diagram-S7CK7UJ4-DwDc_czt.js} +2 -2
  95. package/dist-embed/chunks/{diagram-S7CK7UJ4-a4FArSaJ.js → diagram-S7CK7UJ4-NIp8rRdr.js} +2 -2
  96. package/dist-embed/chunks/diagram-UQ7AKVKN-CZK18sap.js +41 -0
  97. package/dist-embed/chunks/diagram-UQ7AKVKN-DhMlTIH1.js +41 -0
  98. package/dist-embed/chunks/diagram-UQ7AKVKN-DtYHVrIv.js +41 -0
  99. package/dist-embed/chunks/{diagram-VSXAHHWV-D3lurhxI.js → diagram-VSXAHHWV-BbVAIuUE.js} +2 -2
  100. package/dist-embed/chunks/{diagram-VSXAHHWV-BsxdgIBU.js → diagram-VSXAHHWV-CClL-qVb.js} +2 -2
  101. package/dist-embed/chunks/{diagram-VSXAHHWV-BzwWsSpj.js → diagram-VSXAHHWV-CVuj7Wwr.js} +2 -2
  102. package/dist-embed/chunks/diagram-VX7I27RA-CHGaftMB.js +24 -0
  103. package/dist-embed/chunks/diagram-VX7I27RA-DUtes5TO.js +24 -0
  104. package/dist-embed/chunks/diagram-VX7I27RA-W9zdS7er.js +24 -0
  105. package/dist-embed/chunks/diagram-Z3DM3KII-CcvMwZF5.js +24 -0
  106. package/dist-embed/chunks/diagram-Z3DM3KII-JLzwAzwv.js +24 -0
  107. package/dist-embed/chunks/diagram-Z3DM3KII-nooaP3A_.js +24 -0
  108. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-DwaCwxtV.js +1 -0
  109. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-QUuH7KoJ.js +1 -0
  110. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-paF78xx4.js +1 -0
  111. package/dist-embed/chunks/edges-b2856ca0-Cw6uMsAp.js +4 -0
  112. package/dist-embed/chunks/{el-GR-BZB4AONW-TO3tEZdB.js → el-GR-BZB4AONW-BdoQC7zI.js} +1 -1
  113. package/dist-embed/chunks/{erDiagram-5d81789a-D3blvZNR.js → erDiagram-5d81789a-DvA05QFt.js} +3 -3
  114. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-HUP46o_S.js → erDiagram-RLTQ6QDP-B8yauwFZ.js} +5 -5
  115. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BvRjMgFJ.js → erDiagram-RLTQ6QDP-Bl7uSMrm.js} +5 -5
  116. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-pCbnjfMk.js → erDiagram-RLTQ6QDP-DZBeHxcW.js} +5 -5
  117. package/dist-embed/chunks/{es-ES-U4NZUMDT-BKZIANpq.js → es-ES-U4NZUMDT-mSL14Hu6.js} +1 -1
  118. package/dist-embed/chunks/{eu-ES-A7QVB2H4-vz5ecl6y.js → eu-ES-A7QVB2H4-i8MVUvvA.js} +1 -1
  119. package/dist-embed/chunks/{fa-IR-HGAKTJCU-Dmmoro5p.js → fa-IR-HGAKTJCU-BfG5w5pm.js} +1 -1
  120. package/dist-embed/chunks/{fi-FI-Z5N7JZ37-4bWurBmp.js → fi-FI-Z5N7JZ37-CxjOtOw5.js} +1 -1
  121. package/dist-embed/chunks/{flowDb-185abca5-DzeO696Q.js → flowDb-185abca5-CZQPmzTd.js} +1 -1
  122. package/dist-embed/chunks/{flowDiagram-1629c991-BCS_QkN2.js → flowDiagram-1629c991-DVkQIanX.js} +3 -3
  123. package/dist-embed/chunks/{flowDiagram-HODETNUW-C7KqgwLg.js → flowDiagram-HODETNUW-B051mCrB.js} +3 -3
  124. package/dist-embed/chunks/{flowDiagram-HODETNUW-CObZVANE.js → flowDiagram-HODETNUW-CIxGkvY2.js} +3 -3
  125. package/dist-embed/chunks/{flowDiagram-HODETNUW-7NyW99NE.js → flowDiagram-HODETNUW-nx8wz3GE.js} +3 -3
  126. package/dist-embed/chunks/flowDiagram-v2-1d953310-BajQh2l6.js +1 -0
  127. package/dist-embed/chunks/{flowchart-elk-definition-6df44142-72x8aEiK.js → flowchart-elk-definition-6df44142-DVsdecvJ.js} +2 -2
  128. package/dist-embed/chunks/{fr-FR-RHASNOE6-QYoMYddl.js → fr-FR-RHASNOE6-Dx18-mdk.js} +1 -1
  129. package/dist-embed/chunks/{ganttDiagram-3b0b3873-BsGIi6q0.js → ganttDiagram-3b0b3873-B_Ze5xJT.js} +4 -4
  130. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Cm2jOWpZ.js → ganttDiagram-EL5Y4UJY-BNa2jv7L.js} +3 -3
  131. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Bmj6A7sI.js → ganttDiagram-EL5Y4UJY-DWOvMpi_.js} +3 -3
  132. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-QZMrDtOa.js → ganttDiagram-EL5Y4UJY-Ix5W25h0.js} +3 -3
  133. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-CY0V5PYj.js +106 -0
  134. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-CieNMLLD.js +106 -0
  135. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-DtTUInJx.js +106 -0
  136. package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-C5glz__6.js → gitGraphDiagram-f01e8bc2-B7CTdpxh.js} +2 -2
  137. package/dist-embed/chunks/{gl-ES-HMX3MZ6V-CuWi9MKI.js → gl-ES-HMX3MZ6V-D0gZC3Qs.js} +1 -1
  138. package/dist-embed/chunks/{he-IL-6SHJWFNN-CZ7rDY29.js → he-IL-6SHJWFNN-BpsgumHA.js} +1 -1
  139. package/dist-embed/chunks/{hi-IN-IWLTKZ5I-BOtn2GYM.js → hi-IN-IWLTKZ5I-1U7gawIv.js} +1 -1
  140. package/dist-embed/chunks/{hu-HU-A5ZG7DT2-Da2fd7BW.js → hu-HU-A5ZG7DT2-zY5nzegx.js} +1 -1
  141. package/dist-embed/chunks/{id-ID-SAP4L64H-DygGPsGR.js → id-ID-SAP4L64H-p8kr2CI9.js} +1 -1
  142. package/dist-embed/chunks/{index-CDGGINfN.js → index-4SXYvuYi.js} +1 -1
  143. package/dist-embed/chunks/{index-9bae90f3-C6Xh0qGL.js → index-9bae90f3-_IqcZYff.js} +1 -1
  144. package/dist-embed/chunks/{index-B6ISkj2i.js → index-B9_Wb9MN.js} +1 -1
  145. package/dist-embed/chunks/index-BWTYs63X.js +1 -0
  146. package/dist-embed/chunks/{index-DIoOWi0w.js → index-BbLfaxiL.js} +2 -2
  147. package/dist-embed/chunks/{index-CMna4RvT.js → index-BeDw56-P.js} +1 -1
  148. package/dist-embed/chunks/{index-DUtVEK_h.js → index-Bi_Lrakd.js} +55 -55
  149. package/dist-embed/chunks/index-BqnIBWZ9.js +35 -0
  150. package/dist-embed/chunks/index-C0jxnCf_.js +1 -0
  151. package/dist-embed/chunks/{index-Gy_uosvT.js → index-C6p1fI_l.js} +1 -1
  152. package/dist-embed/chunks/{index-e62XL6B3.js → index-C7Y6qb5P.js} +41 -41
  153. package/dist-embed/chunks/index-CCwTAE5t.js +1 -0
  154. package/dist-embed/chunks/index-CEoN6Igz.js +1 -0
  155. package/dist-embed/chunks/index-CGywzy5S.js +2 -0
  156. package/dist-embed/chunks/index-CslfR-ws.js +1 -0
  157. package/dist-embed/chunks/index-D1WP6gqy.js +2 -0
  158. package/dist-embed/chunks/{index-BeA4XI1t.js → index-DTxyD1Cg.js} +1 -1
  159. package/dist-embed/chunks/index-Da0hjuSR.js +1 -0
  160. package/dist-embed/chunks/{index-ErZ9_T3y.js → index-DjEoMYXa.js} +12 -12
  161. package/dist-embed/chunks/{index-CF9HUHN8.js → index-Dy9evYbM.js} +1 -1
  162. package/dist-embed/chunks/index-Dz7T8mqj.js +6 -0
  163. package/dist-embed/chunks/index-LJsqLy5q.js +1 -0
  164. package/dist-embed/chunks/{index-B40K_78l.js → index-MIDt7IxB.js} +1 -1
  165. package/dist-embed/chunks/{index-DrXZebZS.js → index-VedUjmyH.js} +1 -1
  166. package/dist-embed/chunks/{index-fi_KzQoZ.js → index-lC26z37v.js} +1 -1
  167. package/dist-embed/chunks/index-n0wY5AOk.js +17 -0
  168. package/dist-embed/chunks/index-x4xjV1QS.js +1 -0
  169. package/dist-embed/chunks/infoDiagram-27XIBGKW-CjrU5YxR.js +2 -0
  170. package/dist-embed/chunks/infoDiagram-27XIBGKW-CygK1B8s.js +2 -0
  171. package/dist-embed/chunks/infoDiagram-27XIBGKW-y2jlnC74.js +2 -0
  172. package/dist-embed/chunks/{infoDiagram-a29d40f1-C84ltR9z.js → infoDiagram-a29d40f1-CxLYanuc.js} +2 -2
  173. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-19vfXaSu.js → ishikawaDiagram-5VMMS53U-B4bKsqAA.js} +2 -2
  174. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-BKwHxl_c.js → ishikawaDiagram-5VMMS53U-B_r8LPoh.js} +6 -6
  175. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-DxmD4pNL.js → ishikawaDiagram-5VMMS53U-D3Gs1zXZ.js} +6 -6
  176. package/dist-embed/chunks/{it-IT-JPQ66NNP-C61ct2vR.js → it-IT-JPQ66NNP-CxNntye1.js} +1 -1
  177. package/dist-embed/chunks/{ja-JP-DBVTYXUO-DsuHLQzd.js → ja-JP-DBVTYXUO-D2eNPUzJ.js} +1 -1
  178. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-BtJM0rtE.js → journeyDiagram-3NMN7TZE-CPKVw4E2.js} +2 -2
  179. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-CRrrfAmB.js → journeyDiagram-3NMN7TZE-CdSVPmSP.js} +2 -2
  180. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-D8vrwew7.js → journeyDiagram-3NMN7TZE-D5N9LfNb.js} +2 -2
  181. package/dist-embed/chunks/{journeyDiagram-95396277-91Yn8aB5.js → journeyDiagram-95396277-maRimpb1.js} +2 -2
  182. package/dist-embed/chunks/kaa-6HZHGXH3-B9Jduu1i.js +1 -0
  183. package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-lymWJChw.js → kab-KAB-ZGHBKWFO-D80S5Hke.js} +1 -1
  184. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BI3EeL_e.js → kanban-definition-UXKFOSKX-6OQwjjDA.js} +2 -2
  185. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BD4YKCh4.js → kanban-definition-UXKFOSKX-9X8AwfWh.js} +2 -2
  186. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-DFA9oGiU.js → kanban-definition-UXKFOSKX-DNrz6elS.js} +2 -2
  187. package/dist-embed/chunks/kk-KZ-P5N5QNE5-dttniW7L.js +1 -0
  188. package/dist-embed/chunks/{km-KH-HSX4SM5Z-C__pm6qQ.js → km-KH-HSX4SM5Z-CwFUU4KI.js} +1 -1
  189. package/dist-embed/chunks/{ko-KR-MTYHY66A-D5yQS5Y4.js → ko-KR-MTYHY66A-6qkv_Dp9.js} +1 -1
  190. package/dist-embed/chunks/{ku-TR-6OUDTVRD-OIGj43yE.js → ku-TR-6OUDTVRD-C4Mq1URI.js} +1 -1
  191. package/dist-embed/chunks/{layout-C3jdOWbU.js → layout-Br9qZ7AW.js} +1 -1
  192. package/dist-embed/chunks/{layout-DWmuzni9.js → layout-CA7S7W88.js} +1 -1
  193. package/dist-embed/chunks/{layout-Dj_zgK51.js → layout-DvZ5NRsQ.js} +1 -1
  194. package/dist-embed/chunks/{lt-LT-XHIRWOB4-UGZ71aBo.js → lt-LT-XHIRWOB4-Cxuhrxpe.js} +1 -1
  195. package/dist-embed/chunks/{lv-LV-5QDEKY6T-LRIHo0NC.js → lv-LV-5QDEKY6T-2nfUsrY3.js} +1 -1
  196. package/dist-embed/chunks/{mermaid.core-DIIwHAlX.js → mermaid.core-CCCzTT5Y.js} +14 -14
  197. package/dist-embed/chunks/{mermaid.core-DF6jaPnW.js → mermaid.core-DRZOVBT3.js} +11 -11
  198. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-D6u4H_xO.js → mindmap-definition-YA3MSWOX-BjThuhS8.js} +4 -4
  199. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-fBVFRUCw.js → mindmap-definition-YA3MSWOX-DFMy0Zmf.js} +4 -4
  200. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-3bvIJFMV.js → mindmap-definition-YA3MSWOX-H2yRQ6u8.js} +4 -4
  201. package/dist-embed/chunks/{mindmap-definition-e4c1d938-DbYGQCf5.js → mindmap-definition-e4c1d938-vjhx3bcZ.js} +4 -4
  202. package/dist-embed/chunks/{mr-IN-CRQNXWMA-BXO8TJMv.js → mr-IN-CRQNXWMA-HC9cqgFo.js} +1 -1
  203. package/dist-embed/chunks/my-MM-5M5IBNSE-0zP3tJ-6.js +1 -0
  204. package/dist-embed/chunks/{nb-NO-T6EIAALU-UnDxFcwr.js → nb-NO-T6EIAALU-B7KA5H1w.js} +1 -1
  205. package/dist-embed/chunks/{nl-NL-IS3SIHDZ-CdTeVF3c.js → nl-NL-IS3SIHDZ-BqrheHUd.js} +1 -1
  206. package/dist-embed/chunks/{nn-NO-6E72VCQL-nLVDeuAb.js → nn-NO-6E72VCQL-DjkBZa_a.js} +1 -1
  207. package/dist-embed/chunks/{oc-FR-POXYY2M6-CGDfJA5K.js → oc-FR-POXYY2M6-Cu_3WEeT.js} +1 -1
  208. package/dist-embed/chunks/{pa-IN-N4M65BXN-h3gZ9Ic4.js → pa-IN-N4M65BXN-5JMtBjML.js} +1 -1
  209. package/dist-embed/chunks/pegDiagram-XKGWAZYB-1AWuvKdx.js +1 -0
  210. package/dist-embed/chunks/pegDiagram-XKGWAZYB-BAhw3noh.js +1 -0
  211. package/dist-embed/chunks/pegDiagram-XKGWAZYB-CO2oVfmH.js +1 -0
  212. package/dist-embed/chunks/{percentages-BXMCSKIN-BQMwWCQD.js → percentages-BXMCSKIN-BIq0kwQL.js} +5 -5
  213. package/dist-embed/chunks/pieDiagram-E7YTZNPT-8ObvGarl.js +39 -0
  214. package/dist-embed/chunks/pieDiagram-E7YTZNPT-BGXX7TE5.js +39 -0
  215. package/dist-embed/chunks/pieDiagram-E7YTZNPT-uyUfJur0.js +39 -0
  216. package/dist-embed/chunks/{pieDiagram-c941bede-Cj4FBN3j.js → pieDiagram-c941bede-CiwJwky_.js} +5 -5
  217. package/dist-embed/chunks/{pl-PL-T2D74RX3-D83IXMGV.js → pl-PL-T2D74RX3--llsK5eC.js} +1 -1
  218. package/dist-embed/chunks/{pt-BR-5N22H2LF-C-tCCB23.js → pt-BR-5N22H2LF-Bakh_msU.js} +1 -1
  219. package/dist-embed/chunks/{pt-PT-UZXXM6DQ-BfalAAyJ.js → pt-PT-UZXXM6DQ-OxrpUCfx.js} +1 -1
  220. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-Be4yYxRi.js → quadrantDiagram-AXDQQJYC-CRV4o4qb.js} +4 -4
  221. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DWfnlrHL.js → quadrantDiagram-AXDQQJYC-CRh_0GTn.js} +4 -4
  222. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-299UcZFW.js → quadrantDiagram-AXDQQJYC-MaByZiV4.js} +2 -2
  223. package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-qh1uZ5v_.js → quadrantDiagram-cf8b8fe0-Wunt4_d5.js} +2 -2
  224. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-CCaje6VF.js +1 -0
  225. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-Dqphwk0Z.js +1 -0
  226. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-JQKf7O31.js +1 -0
  227. package/dist-embed/chunks/{renderer-VW8Zgoi-.js → renderer-DX-Dx5-F.js} +1 -1
  228. package/dist-embed/chunks/{requirementDiagram-53bda41b-C_KZy5Fe.js → requirementDiagram-53bda41b-TCOAg1rM.js} +2 -2
  229. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-Bm0upXLv.js +84 -0
  230. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-C2uapxGA.js +84 -0
  231. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-DJxuQg-7.js +84 -0
  232. package/dist-embed/chunks/{ro-RO-JPDTUUEW-BE1v-gpB.js → ro-RO-JPDTUUEW-uuey0xG_.js} +1 -1
  233. package/dist-embed/chunks/{ru-RU-B4JR7IUQ-CVNYAGNj.js → ru-RU-B4JR7IUQ-DqFdpWv9.js} +1 -1
  234. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-BWZcxo3B.js → sankeyDiagram-P5KCCOFB-CLZzsFhP.js} +6 -6
  235. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-CatGDvVZ.js → sankeyDiagram-P5KCCOFB-D_ovN9Nw.js} +6 -6
  236. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-2w9aAGeM.js → sankeyDiagram-P5KCCOFB-SUZr8YYS.js} +6 -6
  237. package/dist-embed/chunks/{sankeyDiagram-c3ef121a-B6bWzn2q.js → sankeyDiagram-c3ef121a-_iCn_Xqv.js} +2 -2
  238. package/dist-embed/chunks/{sequenceDiagram-82a5b84f-CaIr2bxU.js → sequenceDiagram-82a5b84f-CZ9YH4d5.js} +2 -2
  239. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-B67pBo6k.js → sequenceDiagram-WJ2MYXX4-BKNAKMB-.js} +2 -2
  240. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-DlhUecfS.js → sequenceDiagram-WJ2MYXX4-BiNzit2i.js} +2 -2
  241. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-CBRqz17v.js → sequenceDiagram-WJ2MYXX4-CxJBbJNf.js} +2 -2
  242. package/dist-embed/chunks/si-LK-N5RQ5JYF-CvENlHMe.js +1 -0
  243. package/dist-embed/chunks/sizeCapture-INFHLROL-CfXgq7GH.js +1 -0
  244. package/dist-embed/chunks/sizeCapture-INFHLROL-DdEoxy_h.js +1 -0
  245. package/dist-embed/chunks/sizeCapture-INFHLROL-DzGAMY7V.js +1 -0
  246. package/dist-embed/chunks/{sk-SK-C5VTKIMK-CnlsIkzl.js → sk-SK-C5VTKIMK-kO7aKifc.js} +1 -1
  247. package/dist-embed/chunks/{sl-SI-NN7IZMDC-BUxNatf_.js → sl-SI-NN7IZMDC-BSfu_xTu.js} +1 -1
  248. package/dist-embed/chunks/stateDiagram-43e79a5f-BD1qBXVh.js +1 -0
  249. package/dist-embed/chunks/stateDiagram-D77RDMKH-BdFfP6-j.js +1 -0
  250. package/dist-embed/chunks/stateDiagram-D77RDMKH-C6Rh7O9V.js +1 -0
  251. package/dist-embed/chunks/stateDiagram-D77RDMKH-CZM-t-r5.js +1 -0
  252. package/dist-embed/chunks/stateDiagram-v2-2041ed4f-CKbh55dE.js +1 -0
  253. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-BHkGSAh9.js +1 -0
  254. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-CBRXg201.js +1 -0
  255. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-CtwsmZKB.js +1 -0
  256. package/dist-embed/chunks/{styles-455b33cd-DTnW81zt.js → styles-455b33cd-IAZJyrtZ.js} +1 -1
  257. package/dist-embed/chunks/styles-f932cba9-CulCjJgD.js +116 -0
  258. package/dist-embed/chunks/{styles-fcc2142b-DS8IKMau.js → styles-fcc2142b-B41TEwDB.js} +1 -1
  259. package/dist-embed/chunks/{subset-shared.chunk-CTwDOb0-.js → subset-shared.chunk-BerOLB9H.js} +1 -1
  260. package/dist-embed/chunks/subset-worker.chunk-Yn1lZtLj.js +1 -0
  261. package/dist-embed/chunks/{sv-SE-XGPEYMSR-cyuprKcs.js → sv-SE-XGPEYMSR-CwWdagrq.js} +1 -1
  262. package/dist-embed/chunks/{svgDrawCommon-148a3cd9-BxghTVdH.js → svgDrawCommon-148a3cd9-BFE-Fru-.js} +1 -1
  263. package/dist-embed/chunks/swimlanes-42K2YHIH-B4ynl1fF.js +1 -0
  264. package/dist-embed/chunks/swimlanes-42K2YHIH-C3Ob3hRX.js +1 -0
  265. package/dist-embed/chunks/swimlanes-42K2YHIH-C4SGzTvJ.js +1 -0
  266. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BXjgQ3GL.js +8 -0
  267. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-C7a6omGx.js +8 -0
  268. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-Clkyphbe.js +8 -0
  269. package/dist-embed/chunks/{ta-IN-2NMHFXQM-Byh0RKP5.js → ta-IN-2NMHFXQM-re3EiMgT.js} +1 -1
  270. package/dist-embed/chunks/th-TH-HPSO5L25-DtD0NaIp.js +2 -0
  271. package/dist-embed/chunks/{timeline-definition-24CTP7MA-D_rwkEbI.js → timeline-definition-24CTP7MA-BNDeFofK.js} +2 -2
  272. package/dist-embed/chunks/{timeline-definition-24CTP7MA-CbdMtllQ.js → timeline-definition-24CTP7MA-Cq0llA9E.js} +2 -2
  273. package/dist-embed/chunks/{timeline-definition-24CTP7MA-4T6yq6Xl.js → timeline-definition-24CTP7MA-meb3YGxd.js} +2 -2
  274. package/dist-embed/chunks/{timeline-definition-7545f45a-BV1QYS8b.js → timeline-definition-7545f45a-_IXtAyNt.js} +2 -2
  275. package/dist-embed/chunks/{tr-TR-DEFEU3FU-CnqB5qYp.js → tr-TR-DEFEU3FU-C7nWPcvx.js} +1 -1
  276. package/dist-embed/chunks/{uk-UA-QMV73CPH-T0hbDiAg.js → uk-UA-QMV73CPH-BXHaS8be.js} +1 -1
  277. package/dist-embed/chunks/{venn.esm-6w9J1Bn7.js → venn.esm-DcgGHut9.js} +2 -2
  278. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-Bvimw16k.js → vennDiagram-4TSXK5OY-5vXx1zIe.js} +4 -4
  279. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-CBXnZEfU.js → vennDiagram-4TSXK5OY-B_43mUqs.js} +4 -4
  280. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-CYAyZJWP.js → vennDiagram-4TSXK5OY-cdkeJjkW.js} +4 -4
  281. package/dist-embed/chunks/{vi-VN-M7AON7JQ-BbVJrx8R.js → vi-VN-M7AON7JQ-D29vQQkQ.js} +1 -1
  282. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-B9iqutw0.js → wardleyDiagram-VM6X3IG4-1VXLU7d1.js} +2 -2
  283. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-k_2iCVDr.js → wardleyDiagram-VM6X3IG4-CDIFTq28.js} +2 -2
  284. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CkqyRdUt.js → wardleyDiagram-VM6X3IG4-xAtWwDfd.js} +2 -2
  285. package/dist-embed/chunks/{xychartDiagram-3f383b91-L3ZS62LU.js → xychartDiagram-3f383b91-BuaB0j8f.js} +5 -5
  286. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z--E3rc8E6.js → xychartDiagram-S5SC5T6Z-BL2yRZOy.js} +2 -2
  287. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-COkEQpnW.js → xychartDiagram-S5SC5T6Z-BUZxSIAO.js} +2 -2
  288. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-DufzH9GE.js → xychartDiagram-S5SC5T6Z-CHRdLn8n.js} +2 -2
  289. package/dist-embed/chunks/{zh-CN-LNUGB5OW-B2XCvd4u.js → zh-CN-LNUGB5OW-hmUIulf5.js} +1 -1
  290. package/dist-embed/chunks/zh-HK-E62DVLB3-Bew_EKh4.js +1 -0
  291. package/dist-embed/chunks/{zh-TW-RAJ6MFWO-fBqMZFIZ.js → zh-TW-RAJ6MFWO-GAr_9KYn.js} +1 -1
  292. package/dist-embed/datalayer-app-main.js +28 -27
  293. package/lib/apps/core/canvasParts.d.ts +1 -1
  294. package/lib/apps/plugins/canvas-parts/index.d.ts +9 -1
  295. package/lib/apps/plugins/canvas-parts/index.js +42 -0
  296. package/lib/battles/index.d.ts +1 -0
  297. package/lib/battles/index.js +5 -0
  298. package/lib/battles/verdict.d.ts +76 -0
  299. package/lib/battles/verdict.js +122 -0
  300. package/lib/chat/assistant/SpeechBalloon.js +2 -2
  301. package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.d.ts +7 -8
  302. package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.js +133 -27
  303. package/lib/components/code-sandboxes/CodeSandboxPicker.js +3 -0
  304. package/lib/components/code-sandboxes/codeSandboxEnvironments.d.ts +3 -2
  305. package/lib/components/code-sandboxes/codeSandboxEnvironments.js +3 -2
  306. package/lib/index.d.ts +1 -1
  307. package/lib/models/Environment.d.ts +8 -0
  308. package/lib/models/environments.generated.d.ts +9 -1
  309. package/lib/models/environments.generated.js +1 -1
  310. package/lib/specs/battles.d.ts +17 -0
  311. package/lib/specs/battles.js +144 -0
  312. package/lib/specs/guards.d.ts +11 -3
  313. package/lib/specs/guards.js +67 -636
  314. package/lib/specs/index.d.ts +1 -1
  315. package/lib/specs/index.js +1 -1
  316. package/lib/specs/ops.js +23 -701
  317. package/lib/specs/tracks.d.ts +2 -0
  318. package/lib/specs/tracks.js +70 -0
  319. package/lib/types/agentspecs.d.ts +59 -9
  320. package/lib/types/guardrails.d.ts +62 -94
  321. package/package.json +2 -2
  322. package/scripts/codegen/generate_agents.py +0 -1
  323. package/scripts/codegen/generate_ops.py +82 -26
  324. package/dist-embed/chunks/AgentInspector-CgyzKeHG.js +0 -1
  325. package/dist-embed/chunks/EphemeralDocument-BqDLSVvb.js +0 -1
  326. package/dist-embed/chunks/ExcalidrawComponent-DIz2Hp3F.js +0 -1
  327. package/dist-embed/chunks/ExcalidrawModal-Bz4nrIlA.js +0 -1
  328. package/dist-embed/chunks/NotebookToolSurfaces-Ch-7Pk_I.js +0 -1
  329. package/dist-embed/chunks/Tableau10-B-NsZVaP.js +0 -1
  330. package/dist-embed/chunks/WidgetVariableView-BEQqawKT.js +0 -1
  331. package/dist-embed/chunks/abnfDiagram-VCTEODGH-Cviduj-e.js +0 -1
  332. package/dist-embed/chunks/abnfDiagram-VCTEODGH-DRYUPXKp.js +0 -1
  333. package/dist-embed/chunks/abnfDiagram-VCTEODGH-uQbfcTeh.js +0 -1
  334. package/dist-embed/chunks/advancedFormat-Cytc7Lc-.js +0 -1
  335. package/dist-embed/chunks/arc-CvuHsKVP.js +0 -1
  336. package/dist-embed/chunks/array-BKyUJesY.js +0 -1
  337. package/dist-embed/chunks/az-AZ-76LH7QW2-By3wlF01.js +0 -1
  338. package/dist-embed/chunks/band-dPffDWoQ.js +0 -1
  339. package/dist-embed/chunks/channel-DSSC-Z6W.js +0 -1
  340. package/dist-embed/chunks/classDiagram-ZZMXUADV-2t4a-wcA.js +0 -1
  341. package/dist-embed/chunks/classDiagram-ZZMXUADV-9WVRK_2x.js +0 -1
  342. package/dist-embed/chunks/classDiagram-ZZMXUADV-Dh5wgyac.js +0 -1
  343. package/dist-embed/chunks/classDiagram-f62afe4f-CaiUEXWA.js +0 -2
  344. package/dist-embed/chunks/classDiagram-v2-604399ef-CZz_cEb3.js +0 -2
  345. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-2t4a-wcA.js +0 -1
  346. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-9WVRK_2x.js +0 -1
  347. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-Dh5wgyac.js +0 -1
  348. package/dist-embed/chunks/color-CG7_7V2-.js +0 -1
  349. package/dist-embed/chunks/cose-bilkent-JH36ORCC-CYdr15Qb.js +0 -1
  350. package/dist-embed/chunks/cose-bilkent-JH36ORCC-D7xkFMi4.js +0 -1
  351. package/dist-embed/chunks/cose-bilkent-JH36ORCC-DyL8-f5N.js +0 -1
  352. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-B-cEXnFH.js +0 -62
  353. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-DkFOdRYH.js +0 -62
  354. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-wHBoNo7j.js +0 -62
  355. package/dist-embed/chunks/defaultLocale-5voVPcsN.js +0 -1
  356. package/dist-embed/chunks/diagram-UQ7AKVKN-2cPTLkSD.js +0 -41
  357. package/dist-embed/chunks/diagram-UQ7AKVKN-CSMVfm7b.js +0 -41
  358. package/dist-embed/chunks/diagram-UQ7AKVKN-C_jt0u6D.js +0 -41
  359. package/dist-embed/chunks/diagram-VX7I27RA-BJ2YQn5K.js +0 -24
  360. package/dist-embed/chunks/diagram-VX7I27RA-DA1J99rY.js +0 -24
  361. package/dist-embed/chunks/diagram-VX7I27RA-Dm3pOzxq.js +0 -24
  362. package/dist-embed/chunks/diagram-Z3DM3KII-C5sZC4ig.js +0 -24
  363. package/dist-embed/chunks/diagram-Z3DM3KII-CVmSZjIo.js +0 -24
  364. package/dist-embed/chunks/diagram-Z3DM3KII-DVQwJUFe.js +0 -24
  365. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-DwtRvYrD.js +0 -1
  366. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-Qmmh9DWc.js +0 -1
  367. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-YwFzQxr5.js +0 -1
  368. package/dist-embed/chunks/edges-b2856ca0-Cn0ZKu5E.js +0 -4
  369. package/dist-embed/chunks/flowDiagram-v2-1d953310-5ThB3y9b.js +0 -1
  370. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-1XlTL5m_.js +0 -106
  371. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-APR1d-tc.js +0 -106
  372. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-BAP8EKLt.js +0 -106
  373. package/dist-embed/chunks/hcl-DhKDpa4Z.js +0 -1
  374. package/dist-embed/chunks/index-BF1314TG.js +0 -1
  375. package/dist-embed/chunks/index-BYQPOTc8.js +0 -1
  376. package/dist-embed/chunks/index-Ben6aEe6.js +0 -1
  377. package/dist-embed/chunks/index-CFSUTqDN.js +0 -1
  378. package/dist-embed/chunks/index-CvYzv8kf.js +0 -1
  379. package/dist-embed/chunks/index-D4a8E78-.js +0 -34
  380. package/dist-embed/chunks/index-D7tggxpZ.js +0 -1
  381. package/dist-embed/chunks/index-D99YJ2MP.js +0 -1
  382. package/dist-embed/chunks/index-DDgcbci7.js +0 -17
  383. package/dist-embed/chunks/index-DOI3H9VM.js +0 -2
  384. package/dist-embed/chunks/index-DcQTeOGT.js +0 -2
  385. package/dist-embed/chunks/index-DqGFpucN.js +0 -6
  386. package/dist-embed/chunks/index-Dw3RE4d5.js +0 -1
  387. package/dist-embed/chunks/index-MUnyaGR7.js +0 -1
  388. package/dist-embed/chunks/index-atSsKceW.js +0 -1
  389. package/dist-embed/chunks/infoDiagram-27XIBGKW-BRFvlR5E.js +0 -2
  390. package/dist-embed/chunks/infoDiagram-27XIBGKW-D2VjYulT.js +0 -2
  391. package/dist-embed/chunks/infoDiagram-27XIBGKW-mC-wx4e9.js +0 -2
  392. package/dist-embed/chunks/init-Gi6I4Gst.js +0 -1
  393. package/dist-embed/chunks/kaa-6HZHGXH3-DXk4Goog.js +0 -1
  394. package/dist-embed/chunks/kk-KZ-P5N5QNE5-BVNL23_r.js +0 -1
  395. package/dist-embed/chunks/line-DT6NiYhi.js +0 -1
  396. package/dist-embed/chunks/linear-BpNYqLzz.js +0 -1
  397. package/dist-embed/chunks/my-MM-5M5IBNSE-CRUW8B_2.js +0 -1
  398. package/dist-embed/chunks/ordinal-Cboi1Yqb.js +0 -1
  399. package/dist-embed/chunks/path-CbwjOpE9.js +0 -1
  400. package/dist-embed/chunks/pegDiagram-XKGWAZYB-CtWh5AAX.js +0 -1
  401. package/dist-embed/chunks/pegDiagram-XKGWAZYB-D0zyGRR2.js +0 -1
  402. package/dist-embed/chunks/pegDiagram-XKGWAZYB-fy3EphLc.js +0 -1
  403. package/dist-embed/chunks/pie-BU9ZrLAC.js +0 -1
  404. package/dist-embed/chunks/pieDiagram-E7YTZNPT-BsWWB93l.js +0 -39
  405. package/dist-embed/chunks/pieDiagram-E7YTZNPT-CArVdetR.js +0 -39
  406. package/dist-embed/chunks/pieDiagram-E7YTZNPT-DNxhxWw6.js +0 -39
  407. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-C9HR2VRW.js +0 -1
  408. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-COJ52k8E.js +0 -1
  409. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-DPlEOlHJ.js +0 -1
  410. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-2dtqnxe5.js +0 -84
  411. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-BSUw2gn-.js +0 -84
  412. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-BxFFoRpi.js +0 -84
  413. package/dist-embed/chunks/round-BfLWjAu-.js +0 -1
  414. package/dist-embed/chunks/si-LK-N5RQ5JYF-DUuCNsO5.js +0 -1
  415. package/dist-embed/chunks/sizeCapture-INFHLROL-BEjCofob.js +0 -1
  416. package/dist-embed/chunks/sizeCapture-INFHLROL-DMtgrDCy.js +0 -1
  417. package/dist-embed/chunks/sizeCapture-INFHLROL-fPkZXPlY.js +0 -1
  418. package/dist-embed/chunks/stateDiagram-43e79a5f-C9c4jD1w.js +0 -1
  419. package/dist-embed/chunks/stateDiagram-D77RDMKH-BwBOxQvl.js +0 -1
  420. package/dist-embed/chunks/stateDiagram-D77RDMKH-C3hsuLFV.js +0 -1
  421. package/dist-embed/chunks/stateDiagram-D77RDMKH-dWsBlue-.js +0 -1
  422. package/dist-embed/chunks/stateDiagram-v2-2041ed4f-CcvTvP8J.js +0 -1
  423. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-BynTEikt.js +0 -1
  424. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-CRNCbzUu.js +0 -1
  425. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-yYUm25Cg.js +0 -1
  426. package/dist-embed/chunks/styles-f932cba9-DvbsLPZ9.js +0 -116
  427. package/dist-embed/chunks/subset-worker.chunk-CY8G1DYa.js +0 -1
  428. package/dist-embed/chunks/swimlanes-42K2YHIH-CGEWUgMO.js +0 -1
  429. package/dist-embed/chunks/swimlanes-42K2YHIH-DY5rybP3.js +0 -1
  430. package/dist-embed/chunks/swimlanes-42K2YHIH-DiRx3T6S.js +0 -1
  431. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BmSxUdGr.js +0 -8
  432. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BmTIqylO.js +0 -8
  433. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-Dmom79F0.js +0 -8
  434. package/dist-embed/chunks/th-TH-HPSO5L25-C8zeMDt2.js +0 -2
  435. package/dist-embed/chunks/zh-HK-E62DVLB3-D8xk7wby.js +0 -1
  436. package/lib/specs/guardrails.d.ts +0 -22
  437. package/lib/specs/guardrails.js +0 -391
  438. package/scripts/codegen/generate_guardrails.py +0 -475
@@ -2,57 +2,8 @@
2
2
  * Copyright (c) 2025-2026 Datalayer, Inc.
3
3
  * Distributed under the terms of the Modified BSD License.
4
4
  */
5
+ import { POLICY_CATALOGUE } from './policies.js';
5
6
  export const CONFIDENCE_GUARD_0_0_1 = {
6
- identity_provider: 'datalayer',
7
- identity_name: 'alice@acme.com',
8
- permissions: {
9
- 'read:data': true,
10
- 'write:data': false,
11
- 'execute:code': true,
12
- 'access:internet': true,
13
- 'send:email': false,
14
- 'deploy:production': false,
15
- },
16
- token_limits: {
17
- per_run: '50K',
18
- per_day: '500K',
19
- per_month: '5M',
20
- },
21
- data_scope: {
22
- allowed_systems: [],
23
- allowed_objects: [],
24
- denied_objects: [],
25
- denied_fields: [],
26
- },
27
- data_handling: {
28
- default_aggregation: false,
29
- allow_row_level_output: true,
30
- max_rows_in_output: 1000,
31
- redact_fields: [],
32
- hash_fields: [],
33
- pii_detection: false,
34
- pii_action: 'warn',
35
- },
36
- approval_policy: {
37
- require_manual_approval_for: [],
38
- auto_approved: ['All read-only queries'],
39
- },
40
- tool_limits: {
41
- max_tool_calls: 50,
42
- max_query_rows: 100000,
43
- max_query_runtime: '60s',
44
- max_time_window_days: 90,
45
- },
46
- audit: {
47
- log_tool_calls: true,
48
- log_query_metadata_only: false,
49
- retain_days: 30,
50
- require_lineage_in_report: false,
51
- },
52
- content_safety: {
53
- treat_crm_text_fields_as_untrusted: false,
54
- do_not_follow_instructions_from_data: true,
55
- },
56
7
  id: 'confidence-guard',
57
8
  version: '0.0.1',
58
9
  name: 'Confidence Guard',
@@ -71,61 +22,11 @@ export const CONFIDENCE_GUARD_0_0_1 = {
71
22
  required: true,
72
23
  enabled: true,
73
24
  tags: ['confidence'],
74
- guardrail: 'default-platform-user',
75
25
  icon: 'shield-check',
76
26
  emoji: '🛡️',
27
+ policy: 'default:0.0.1',
77
28
  };
78
29
  export const CONSENSUS_GUARD_0_0_1 = {
79
- identity_provider: 'datalayer',
80
- identity_name: 'alice@acme.com',
81
- permissions: {
82
- 'read:data': true,
83
- 'write:data': false,
84
- 'execute:code': true,
85
- 'access:internet': true,
86
- 'send:email': false,
87
- 'deploy:production': false,
88
- },
89
- token_limits: {
90
- per_run: '50K',
91
- per_day: '500K',
92
- per_month: '5M',
93
- },
94
- data_scope: {
95
- allowed_systems: [],
96
- allowed_objects: [],
97
- denied_objects: [],
98
- denied_fields: [],
99
- },
100
- data_handling: {
101
- default_aggregation: false,
102
- allow_row_level_output: true,
103
- max_rows_in_output: 1000,
104
- redact_fields: [],
105
- hash_fields: [],
106
- pii_detection: false,
107
- pii_action: 'warn',
108
- },
109
- approval_policy: {
110
- require_manual_approval_for: [],
111
- auto_approved: ['All read-only queries'],
112
- },
113
- tool_limits: {
114
- max_tool_calls: 50,
115
- max_query_rows: 100000,
116
- max_query_runtime: '60s',
117
- max_time_window_days: 90,
118
- },
119
- audit: {
120
- log_tool_calls: true,
121
- log_query_metadata_only: false,
122
- retain_days: 30,
123
- require_lineage_in_report: false,
124
- },
125
- content_safety: {
126
- treat_crm_text_fields_as_untrusted: false,
127
- do_not_follow_instructions_from_data: true,
128
- },
129
30
  id: 'consensus-guard',
130
31
  version: '0.0.1',
131
32
  name: 'Consensus Guard',
@@ -144,77 +45,19 @@ export const CONSENSUS_GUARD_0_0_1 = {
144
45
  required: true,
145
46
  enabled: true,
146
47
  tags: ['consensus', 'verification'],
147
- guardrail: 'default-platform-user',
148
48
  icon: 'shield-check',
149
49
  emoji: '🛡️',
50
+ policy: 'default:0.0.1',
150
51
  };
151
52
  export const DATA_SOURCE_AUTHORIZATION_GUARD_0_0_1 = {
152
- identity_provider: 'datalayer',
153
- identity_name: 'dave@acme.com',
154
- permissions: {
155
- 'read:data': true,
156
- 'write:data': true,
157
- 'execute:code': true,
158
- 'access:internet': true,
159
- 'send:email': true,
160
- 'deploy:production': true,
161
- },
162
- token_limits: {
163
- per_run: '200K',
164
- per_day: '5M',
165
- per_month: '50M',
166
- },
167
- data_scope: {
168
- allowed_systems: ['postgresql', 'mongodb', 's3', 'kafka'],
169
- allowed_objects: [],
170
- denied_objects: [],
171
- denied_fields: ['*SSN*', '*Bank*', '*IBAN*'],
172
- },
173
- data_handling: {
174
- default_aggregation: false,
175
- allow_row_level_output: true,
176
- max_rows_in_output: 100000,
177
- redact_fields: [],
178
- hash_fields: [],
179
- pii_detection: true,
180
- pii_action: 'redact',
181
- },
182
- approval_policy: {
183
- require_manual_approval_for: [
184
- 'Schema changes',
185
- 'Drop or truncate operations',
186
- 'Production data modifications',
187
- ],
188
- auto_approved: [
189
- 'Read queries',
190
- 'Data transformations',
191
- 'Pipeline orchestration',
192
- ],
193
- },
194
- tool_limits: {
195
- max_tool_calls: 500,
196
- max_query_rows: 1000000,
197
- max_query_runtime: '300s',
198
- max_time_window_days: 365,
199
- },
200
- audit: {
201
- log_tool_calls: true,
202
- log_query_metadata_only: false,
203
- retain_days: 90,
204
- require_lineage_in_report: true,
205
- },
206
- content_safety: {
207
- treat_crm_text_fields_as_untrusted: true,
208
- do_not_follow_instructions_from_data: true,
209
- },
210
53
  id: 'data-source-authorization-guard',
211
54
  version: '0.0.1',
212
55
  name: 'Data Source Authorization Guard',
213
- description: 'Checks that each system, object and field the Op is about to read is inside the data scope of the guardrail, and that no denied field is requested.',
56
+ description: 'Checks that each system the Op is about to read is one the Policy lends it, and that reading what it reads is not something the Policy denies.',
214
57
  category: 'policy-safety',
215
58
  stages: ['preflight'],
216
59
  method: 'algorithmic',
217
- check: "Every data source named by the run is among the guardrail's allowed systems and objects; none is a denied object or matches a denied field.",
60
+ check: "Every MCP server the run connects to is among those the Policy lends (`mcp.allow`; a Policy lending none by name lends every one), and reading each document and Space the run names is not denied by the Policy's rules.",
218
61
  signals: [
219
62
  {
220
63
  name: 'unauthorized_source',
@@ -225,61 +68,11 @@ export const DATA_SOURCE_AUTHORIZATION_GUARD_0_0_1 = {
225
68
  required: true,
226
69
  enabled: true,
227
70
  tags: ['data', 'authorization'],
228
- guardrail: 'data-engineering-power-user',
229
71
  icon: 'shield-check',
230
72
  emoji: '🛡️',
73
+ policy: 'default:0.0.1',
231
74
  };
232
75
  export const EXPERT_SAMPLING_GUARD_0_0_1 = {
233
- identity_provider: 'datalayer',
234
- identity_name: 'alice@acme.com',
235
- permissions: {
236
- 'read:data': true,
237
- 'write:data': false,
238
- 'execute:code': true,
239
- 'access:internet': true,
240
- 'send:email': false,
241
- 'deploy:production': false,
242
- },
243
- token_limits: {
244
- per_run: '50K',
245
- per_day: '500K',
246
- per_month: '5M',
247
- },
248
- data_scope: {
249
- allowed_systems: [],
250
- allowed_objects: [],
251
- denied_objects: [],
252
- denied_fields: [],
253
- },
254
- data_handling: {
255
- default_aggregation: false,
256
- allow_row_level_output: true,
257
- max_rows_in_output: 1000,
258
- redact_fields: [],
259
- hash_fields: [],
260
- pii_detection: false,
261
- pii_action: 'warn',
262
- },
263
- approval_policy: {
264
- require_manual_approval_for: [],
265
- auto_approved: ['All read-only queries'],
266
- },
267
- tool_limits: {
268
- max_tool_calls: 50,
269
- max_query_rows: 100000,
270
- max_query_runtime: '60s',
271
- max_time_window_days: 90,
272
- },
273
- audit: {
274
- log_tool_calls: true,
275
- log_query_metadata_only: false,
276
- retain_days: 30,
277
- require_lineage_in_report: false,
278
- },
279
- content_safety: {
280
- treat_crm_text_fields_as_untrusted: false,
281
- do_not_follow_instructions_from_data: true,
282
- },
283
76
  id: 'expert-sampling-guard',
284
77
  version: '0.0.1',
285
78
  name: 'Expert Sampling Guard',
@@ -303,61 +96,11 @@ export const EXPERT_SAMPLING_GUARD_0_0_1 = {
303
96
  required: true,
304
97
  enabled: true,
305
98
  tags: ['expert', 'review'],
306
- guardrail: 'default-platform-user',
307
99
  icon: 'shield-check',
308
100
  emoji: '🛡️',
101
+ policy: 'default:0.0.1',
309
102
  };
310
103
  export const OUTCOME_GUARD_0_0_1 = {
311
- identity_provider: 'datalayer',
312
- identity_name: 'alice@acme.com',
313
- permissions: {
314
- 'read:data': true,
315
- 'write:data': false,
316
- 'execute:code': true,
317
- 'access:internet': true,
318
- 'send:email': false,
319
- 'deploy:production': false,
320
- },
321
- token_limits: {
322
- per_run: '50K',
323
- per_day: '500K',
324
- per_month: '5M',
325
- },
326
- data_scope: {
327
- allowed_systems: [],
328
- allowed_objects: [],
329
- denied_objects: [],
330
- denied_fields: [],
331
- },
332
- data_handling: {
333
- default_aggregation: false,
334
- allow_row_level_output: true,
335
- max_rows_in_output: 1000,
336
- redact_fields: [],
337
- hash_fields: [],
338
- pii_detection: false,
339
- pii_action: 'warn',
340
- },
341
- approval_policy: {
342
- require_manual_approval_for: [],
343
- auto_approved: ['All read-only queries'],
344
- },
345
- tool_limits: {
346
- max_tool_calls: 50,
347
- max_query_rows: 100000,
348
- max_query_runtime: '60s',
349
- max_time_window_days: 90,
350
- },
351
- audit: {
352
- log_tool_calls: true,
353
- log_query_metadata_only: false,
354
- retain_days: 30,
355
- require_lineage_in_report: false,
356
- },
357
- content_safety: {
358
- treat_crm_text_fields_as_untrusted: false,
359
- do_not_follow_instructions_from_data: true,
360
- },
361
104
  id: 'outcome-guard',
362
105
  version: '0.0.1',
363
106
  name: 'Outcome Guard',
@@ -376,69 +119,19 @@ export const OUTCOME_GUARD_0_0_1 = {
376
119
  required: false,
377
120
  enabled: true,
378
121
  tags: ['outcome', 'value'],
379
- guardrail: 'default-platform-user',
380
122
  icon: 'shield-check',
381
123
  emoji: '🛡️',
124
+ policy: 'default:0.0.1',
382
125
  };
383
126
  export const PERMISSION_GUARD_0_0_1 = {
384
- identity_provider: 'datalayer',
385
- identity_name: 'alice@acme.com',
386
- permissions: {
387
- 'read:data': true,
388
- 'write:data': false,
389
- 'execute:code': true,
390
- 'access:internet': true,
391
- 'send:email': false,
392
- 'deploy:production': false,
393
- },
394
- token_limits: {
395
- per_run: '50K',
396
- per_day: '500K',
397
- per_month: '5M',
398
- },
399
- data_scope: {
400
- allowed_systems: [],
401
- allowed_objects: [],
402
- denied_objects: [],
403
- denied_fields: [],
404
- },
405
- data_handling: {
406
- default_aggregation: false,
407
- allow_row_level_output: true,
408
- max_rows_in_output: 1000,
409
- redact_fields: [],
410
- hash_fields: [],
411
- pii_detection: false,
412
- pii_action: 'warn',
413
- },
414
- approval_policy: {
415
- require_manual_approval_for: [],
416
- auto_approved: ['All read-only queries'],
417
- },
418
- tool_limits: {
419
- max_tool_calls: 50,
420
- max_query_rows: 100000,
421
- max_query_runtime: '60s',
422
- max_time_window_days: 90,
423
- },
424
- audit: {
425
- log_tool_calls: true,
426
- log_query_metadata_only: false,
427
- retain_days: 30,
428
- require_lineage_in_report: false,
429
- },
430
- content_safety: {
431
- treat_crm_text_fields_as_untrusted: false,
432
- do_not_follow_instructions_from_data: true,
433
- },
434
127
  id: 'permission-guard',
435
128
  version: '0.0.1',
436
129
  name: 'Permission Guard',
437
- description: "Checks that the person or the system launching the Op holds every permission the Op's Cogs need, as the guardrail states them.",
130
+ description: "Checks that the person or the system launching the Op may do what the Op's Cogs do, by the rules of the Policy it extends.",
438
131
  category: 'policy-safety',
439
132
  stages: ['preflight'],
440
133
  method: 'algorithmic',
441
- check: "Each permission the Op's Cogs use is granted to the launching identity by the guardrail; nothing the guardrail denies is requested.",
134
+ check: "Each class of action the Op's Cogs take — read, write, delete, execute, send, buy — is one the Policy's rules allow or ask about for the launching identity; none is a class the Policy denies, or needs an authorization the identity does not hold.",
442
135
  signals: [
443
136
  {
444
137
  name: 'permission_denied',
@@ -449,69 +142,11 @@ export const PERMISSION_GUARD_0_0_1 = {
449
142
  required: true,
450
143
  enabled: true,
451
144
  tags: ['permissions', 'identity'],
452
- guardrail: 'default-platform-user',
453
145
  icon: 'shield-check',
454
146
  emoji: '🛡️',
147
+ policy: 'default:0.0.1',
455
148
  };
456
149
  export const REGRESSION_GUARD_0_0_1 = {
457
- identity_provider: 'datalayer',
458
- identity_name: 'dave@acme.com',
459
- permissions: {
460
- 'read:data': true,
461
- 'write:data': true,
462
- 'execute:code': true,
463
- 'access:internet': true,
464
- 'send:email': true,
465
- 'deploy:production': true,
466
- },
467
- token_limits: {
468
- per_run: '200K',
469
- per_day: '5M',
470
- per_month: '50M',
471
- },
472
- data_scope: {
473
- allowed_systems: ['postgresql', 'mongodb', 's3', 'kafka'],
474
- allowed_objects: [],
475
- denied_objects: [],
476
- denied_fields: ['*SSN*', '*Bank*', '*IBAN*'],
477
- },
478
- data_handling: {
479
- default_aggregation: false,
480
- allow_row_level_output: true,
481
- max_rows_in_output: 100000,
482
- redact_fields: [],
483
- hash_fields: [],
484
- pii_detection: true,
485
- pii_action: 'redact',
486
- },
487
- approval_policy: {
488
- require_manual_approval_for: [
489
- 'Schema changes',
490
- 'Drop or truncate operations',
491
- 'Production data modifications',
492
- ],
493
- auto_approved: [
494
- 'Read queries',
495
- 'Data transformations',
496
- 'Pipeline orchestration',
497
- ],
498
- },
499
- tool_limits: {
500
- max_tool_calls: 500,
501
- max_query_rows: 1000000,
502
- max_query_runtime: '300s',
503
- max_time_window_days: 365,
504
- },
505
- audit: {
506
- log_tool_calls: true,
507
- log_query_metadata_only: false,
508
- retain_days: 90,
509
- require_lineage_in_report: true,
510
- },
511
- content_safety: {
512
- treat_crm_text_fields_as_untrusted: true,
513
- do_not_follow_instructions_from_data: true,
514
- },
515
150
  id: 'regression-guard',
516
151
  version: '0.0.1',
517
152
  name: 'Regression Guard',
@@ -530,61 +165,39 @@ export const REGRESSION_GUARD_0_0_1 = {
530
165
  required: false,
531
166
  enabled: true,
532
167
  tags: ['regression', 'drift'],
533
- guardrail: 'data-engineering-power-user',
534
168
  icon: 'shield-check',
535
169
  emoji: '🛡️',
170
+ policy: 'default:0.0.1',
171
+ };
172
+ export const REPORT_QUALITY_GUARD_0_0_1 = {
173
+ id: 'report-quality-guard',
174
+ version: '0.0.1',
175
+ name: 'Report Quality Guard',
176
+ description: 'Scores a drafted report, between 0 and 1, for completeness against what was asked and grounding in the sources read: every figure traced to a call, nothing asked left out.',
177
+ category: 'outcome',
178
+ stages: ['post_run'],
179
+ method: 'cog',
180
+ check: 'Read the goal, the report and the tool calls the run made. Every point the goal asks for is in the report, and every figure in the report is read from a call of the run, not assumed. Score 1 when both hold in full, 0 when neither, between the two as the shares.',
181
+ signals: [
182
+ {
183
+ name: 'quality',
184
+ type: 'number',
185
+ description: "The report's completeness and grounding, between 0 and 1.",
186
+ },
187
+ {
188
+ name: 'ungrounded_figures',
189
+ type: 'number',
190
+ description: 'How many figures of the report no call of the run accounts for.',
191
+ },
192
+ ],
193
+ required: false,
194
+ enabled: true,
195
+ tags: ['outcome', 'quality', 'challenge'],
196
+ icon: 'shield-check',
197
+ emoji: '🛡️',
198
+ policy: 'default:0.0.1',
536
199
  };
537
200
  export const REQUIRED_FRAME_GUARD_0_0_1 = {
538
- identity_provider: 'datalayer',
539
- identity_name: 'alice@acme.com',
540
- permissions: {
541
- 'read:data': true,
542
- 'write:data': false,
543
- 'execute:code': true,
544
- 'access:internet': true,
545
- 'send:email': false,
546
- 'deploy:production': false,
547
- },
548
- token_limits: {
549
- per_run: '50K',
550
- per_day: '500K',
551
- per_month: '5M',
552
- },
553
- data_scope: {
554
- allowed_systems: [],
555
- allowed_objects: [],
556
- denied_objects: [],
557
- denied_fields: [],
558
- },
559
- data_handling: {
560
- default_aggregation: false,
561
- allow_row_level_output: true,
562
- max_rows_in_output: 1000,
563
- redact_fields: [],
564
- hash_fields: [],
565
- pii_detection: false,
566
- pii_action: 'warn',
567
- },
568
- approval_policy: {
569
- require_manual_approval_for: [],
570
- auto_approved: ['All read-only queries'],
571
- },
572
- tool_limits: {
573
- max_tool_calls: 50,
574
- max_query_rows: 100000,
575
- max_query_runtime: '60s',
576
- max_time_window_days: 90,
577
- },
578
- audit: {
579
- log_tool_calls: true,
580
- log_query_metadata_only: false,
581
- retain_days: 30,
582
- require_lineage_in_report: false,
583
- },
584
- content_safety: {
585
- treat_crm_text_fields_as_untrusted: false,
586
- do_not_follow_instructions_from_data: true,
587
- },
588
201
  id: 'required-frame-guard',
589
202
  version: '0.0.1',
590
203
  name: 'Required Frame Guard',
@@ -603,61 +216,11 @@ export const REQUIRED_FRAME_GUARD_0_0_1 = {
603
216
  required: true,
604
217
  enabled: true,
605
218
  tags: ['frames', 'configuration'],
606
- guardrail: 'default-platform-user',
607
219
  icon: 'shield-check',
608
220
  emoji: '🛡️',
221
+ policy: 'default:0.0.1',
609
222
  };
610
223
  export const SCHEMA_GUARD_0_0_1 = {
611
- identity_provider: 'datalayer',
612
- identity_name: 'alice@acme.com',
613
- permissions: {
614
- 'read:data': true,
615
- 'write:data': false,
616
- 'execute:code': true,
617
- 'access:internet': true,
618
- 'send:email': false,
619
- 'deploy:production': false,
620
- },
621
- token_limits: {
622
- per_run: '50K',
623
- per_day: '500K',
624
- per_month: '5M',
625
- },
626
- data_scope: {
627
- allowed_systems: [],
628
- allowed_objects: [],
629
- denied_objects: [],
630
- denied_fields: [],
631
- },
632
- data_handling: {
633
- default_aggregation: false,
634
- allow_row_level_output: true,
635
- max_rows_in_output: 1000,
636
- redact_fields: [],
637
- hash_fields: [],
638
- pii_detection: false,
639
- pii_action: 'warn',
640
- },
641
- approval_policy: {
642
- require_manual_approval_for: [],
643
- auto_approved: ['All read-only queries'],
644
- },
645
- tool_limits: {
646
- max_tool_calls: 50,
647
- max_query_rows: 100000,
648
- max_query_runtime: '60s',
649
- max_time_window_days: 90,
650
- },
651
- audit: {
652
- log_tool_calls: true,
653
- log_query_metadata_only: false,
654
- retain_days: 30,
655
- require_lineage_in_report: false,
656
- },
657
- content_safety: {
658
- treat_crm_text_fields_as_untrusted: false,
659
- do_not_follow_instructions_from_data: true,
660
- },
661
224
  id: 'schema-guard',
662
225
  version: '0.0.1',
663
226
  name: 'Schema Guard',
@@ -676,69 +239,19 @@ export const SCHEMA_GUARD_0_0_1 = {
676
239
  required: true,
677
240
  enabled: true,
678
241
  tags: ['schema', 'structure'],
679
- guardrail: 'default-platform-user',
680
242
  icon: 'shield-check',
681
243
  emoji: '🛡️',
244
+ policy: 'default:0.0.1',
682
245
  };
683
246
  export const SENSITIVE_DATA_GUARD_0_0_1 = {
684
- identity_provider: 'azure-ad',
685
- identity_name: 'viewer-group@acme.onmicrosoft.com',
686
- permissions: {
687
- 'read:data': true,
688
- 'write:data': false,
689
- 'execute:code': false,
690
- 'access:internet': false,
691
- 'send:email': false,
692
- 'deploy:production': false,
693
- },
694
- token_limits: {
695
- per_run: '10K',
696
- per_day: '50K',
697
- per_month: '500K',
698
- },
699
- data_scope: {
700
- allowed_systems: [],
701
- allowed_objects: [],
702
- denied_objects: [],
703
- denied_fields: ['*SSN*', '*Bank*', '*IBAN*', '*Password*', '*Secret*'],
704
- },
705
- data_handling: {
706
- default_aggregation: true,
707
- allow_row_level_output: false,
708
- max_rows_in_output: 0,
709
- redact_fields: [],
710
- hash_fields: [],
711
- pii_detection: true,
712
- pii_action: 'redact',
713
- },
714
- approval_policy: {
715
- require_manual_approval_for: ['Any operation beyond read'],
716
- auto_approved: ['Aggregated read-only queries'],
717
- },
718
- tool_limits: {
719
- max_tool_calls: 10,
720
- max_query_rows: 10000,
721
- max_query_runtime: '15s',
722
- max_time_window_days: 30,
723
- },
724
- audit: {
725
- log_tool_calls: true,
726
- log_query_metadata_only: true,
727
- retain_days: 90,
728
- require_lineage_in_report: false,
729
- },
730
- content_safety: {
731
- treat_crm_text_fields_as_untrusted: true,
732
- do_not_follow_instructions_from_data: true,
733
- },
734
247
  id: 'sensitive-data-guard',
735
248
  version: '0.0.1',
736
249
  name: 'Sensitive Data Guard',
737
- description: "Detects personal data, credentials and the guardrail's denied fields in what a Cog is about to send out, and in the final output.",
250
+ description: 'Detects credentials and personal data in what a Cog is about to send out, and in the final output.',
738
251
  category: 'policy-safety',
739
252
  stages: ['in_flight', 'post_run'],
740
253
  method: 'algorithmic',
741
- check: "No output, tool argument or outbound message contains a credential, a field matching the guardrail's denied fields, or personal data the guardrail's handling rules require to be redacted.",
254
+ check: 'No output, tool argument or outbound message contains a credential or personal data.',
742
255
  signals: [
743
256
  {
744
257
  name: 'sensitive_data_detected',
@@ -749,61 +262,11 @@ export const SENSITIVE_DATA_GUARD_0_0_1 = {
749
262
  required: true,
750
263
  enabled: true,
751
264
  tags: ['privacy', 'pii', 'secrets'],
752
- guardrail: 'restricted-viewer',
753
265
  icon: 'shield-check',
754
266
  emoji: '🛡️',
267
+ policy: 'organization-baseline:0.0.1',
755
268
  };
756
269
  export const SOURCE_GROUNDING_GUARD_0_0_1 = {
757
- identity_provider: 'datalayer',
758
- identity_name: 'alice@acme.com',
759
- permissions: {
760
- 'read:data': true,
761
- 'write:data': false,
762
- 'execute:code': true,
763
- 'access:internet': true,
764
- 'send:email': false,
765
- 'deploy:production': false,
766
- },
767
- token_limits: {
768
- per_run: '50K',
769
- per_day: '500K',
770
- per_month: '5M',
771
- },
772
- data_scope: {
773
- allowed_systems: [],
774
- allowed_objects: [],
775
- denied_objects: [],
776
- denied_fields: [],
777
- },
778
- data_handling: {
779
- default_aggregation: false,
780
- allow_row_level_output: true,
781
- max_rows_in_output: 1000,
782
- redact_fields: [],
783
- hash_fields: [],
784
- pii_detection: false,
785
- pii_action: 'warn',
786
- },
787
- approval_policy: {
788
- require_manual_approval_for: [],
789
- auto_approved: ['All read-only queries'],
790
- },
791
- tool_limits: {
792
- max_tool_calls: 50,
793
- max_query_rows: 100000,
794
- max_query_runtime: '60s',
795
- max_time_window_days: 90,
796
- },
797
- audit: {
798
- log_tool_calls: true,
799
- log_query_metadata_only: false,
800
- retain_days: 30,
801
- require_lineage_in_report: false,
802
- },
803
- content_safety: {
804
- treat_crm_text_fields_as_untrusted: false,
805
- do_not_follow_instructions_from_data: true,
806
- },
807
270
  id: 'source-grounding-guard',
808
271
  version: '0.0.1',
809
272
  name: 'Source Grounding Guard',
@@ -822,69 +285,19 @@ export const SOURCE_GROUNDING_GUARD_0_0_1 = {
822
285
  required: true,
823
286
  enabled: true,
824
287
  tags: ['sources', 'evidence'],
825
- guardrail: 'default-platform-user',
826
288
  icon: 'shield-check',
827
289
  emoji: '🛡️',
290
+ policy: 'default:0.0.1',
828
291
  };
829
292
  export const TOOL_USE_POLICY_GUARD_0_0_1 = {
830
- identity_provider: 'datalayer',
831
- identity_name: 'alice@acme.com',
832
- permissions: {
833
- 'read:data': true,
834
- 'write:data': false,
835
- 'execute:code': true,
836
- 'access:internet': true,
837
- 'send:email': false,
838
- 'deploy:production': false,
839
- },
840
- token_limits: {
841
- per_run: '50K',
842
- per_day: '500K',
843
- per_month: '5M',
844
- },
845
- data_scope: {
846
- allowed_systems: [],
847
- allowed_objects: [],
848
- denied_objects: [],
849
- denied_fields: [],
850
- },
851
- data_handling: {
852
- default_aggregation: false,
853
- allow_row_level_output: true,
854
- max_rows_in_output: 1000,
855
- redact_fields: [],
856
- hash_fields: [],
857
- pii_detection: false,
858
- pii_action: 'warn',
859
- },
860
- approval_policy: {
861
- require_manual_approval_for: [],
862
- auto_approved: ['All read-only queries'],
863
- },
864
- tool_limits: {
865
- max_tool_calls: 50,
866
- max_query_rows: 100000,
867
- max_query_runtime: '60s',
868
- max_time_window_days: 90,
869
- },
870
- audit: {
871
- log_tool_calls: true,
872
- log_query_metadata_only: false,
873
- retain_days: 30,
874
- require_lineage_in_report: false,
875
- },
876
- content_safety: {
877
- treat_crm_text_fields_as_untrusted: false,
878
- do_not_follow_instructions_from_data: true,
879
- },
880
293
  id: 'tool-use-policy-guard',
881
294
  version: '0.0.1',
882
295
  name: 'Tool Use Policy Guard',
883
- description: "Watches each tool call a Cog makes: the tool is one the Cog declares, and the calls stay within the guardrail's tool limits.",
296
+ description: "Watches each tool call a Cog makes: the tool is one the Cog declares, and the calls stay within the Policy's limits.",
884
297
  category: 'policy-safety',
885
298
  stages: ['in_flight'],
886
299
  method: 'algorithmic',
887
- check: "Every tool called is declared by the calling Cog; the number of calls, the rows queried and the query runtime stay within the guardrail's limits.",
300
+ check: "Every tool called is declared by the calling Cog; the number of calls stays within the Policy's `tool_calls` limit.",
888
301
  signals: [
889
302
  {
890
303
  name: 'tool_violation',
@@ -895,9 +308,9 @@ export const TOOL_USE_POLICY_GUARD_0_0_1 = {
895
308
  required: true,
896
309
  enabled: true,
897
310
  tags: ['tools', 'limits'],
898
- guardrail: 'default-platform-user',
899
311
  icon: 'shield-check',
900
312
  emoji: '🛡️',
313
+ policy: 'default:0.0.1',
901
314
  };
902
315
  export const GUARD_CATALOGUE = {
903
316
  'confidence-guard': CONFIDENCE_GUARD_0_0_1,
@@ -907,6 +320,7 @@ export const GUARD_CATALOGUE = {
907
320
  'outcome-guard': OUTCOME_GUARD_0_0_1,
908
321
  'permission-guard': PERMISSION_GUARD_0_0_1,
909
322
  'regression-guard': REGRESSION_GUARD_0_0_1,
323
+ 'report-quality-guard': REPORT_QUALITY_GUARD_0_0_1,
910
324
  'required-frame-guard': REQUIRED_FRAME_GUARD_0_0_1,
911
325
  'schema-guard': SCHEMA_GUARD_0_0_1,
912
326
  'sensitive-data-guard': SENSITIVE_DATA_GUARD_0_0_1,
@@ -928,3 +342,20 @@ export function getGuard(ref) {
928
342
  export function listGuards() {
929
343
  return Object.values(GUARD_CATALOGUE);
930
344
  }
345
+ /**
346
+ * The Policy a Guard extends, from the policies catalogue. Thrown when the
347
+ * catalogue does not hold it: a Guard names a Policy that exists, at the
348
+ * version the catalogue has.
349
+ */
350
+ export function policyOf(guard) {
351
+ const at = guard.policy.lastIndexOf(':');
352
+ const id = at > 0 ? guard.policy.slice(0, at) : guard.policy;
353
+ const version = at > 0 ? guard.policy.slice(at + 1) : '';
354
+ const policy = Object.prototype.hasOwnProperty.call(POLICY_CATALOGUE, id)
355
+ ? POLICY_CATALOGUE[id]
356
+ : undefined;
357
+ if (policy === undefined || policy.version !== version) {
358
+ throw new Error(`Guard '${guard.id}' extends '${guard.policy}', which is not a Policy of the catalogue`);
359
+ }
360
+ return policy;
361
+ }