@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.
- package/dist-embed/chunks/AgentInspector-CuvRXcQ7.js +1 -0
- package/dist-embed/chunks/{AgentInspectorDialog-Cf8jT6kR.js → AgentInspectorDialog-CXZGyBXE.js} +1 -1
- package/dist-embed/chunks/{CellSidebarExtension-9Xkl4nS1.js → CellSidebarExtension-BMT21AEe.js} +16 -16
- package/dist-embed/chunks/{DeckComponent-LPAk473I.js → DeckComponent-CDcvO2c7.js} +2 -2
- package/dist-embed/chunks/{DocumentView-CSX_hWLV.js → DocumentView-Bd505ec3.js} +1 -1
- package/dist-embed/chunks/EphemeralDocument-Cb738Fb7.js +1 -0
- package/dist-embed/chunks/{EphemeralNotebook-C3e2FrSq.js → EphemeralNotebook-ayRs87hn.js} +1 -1
- package/dist-embed/chunks/ExcalidrawComponent-zLN6lMMh.js +1 -0
- package/dist-embed/chunks/ExcalidrawModal-DmayKvhz.js +1 -0
- package/dist-embed/chunks/{JupyterLexicalExtension-Cq2BuRs0.js → JupyterLexicalExtension-DS8J9r_J.js} +5 -5
- package/dist-embed/chunks/{KernelVariables-BmWOn-n_.js → KernelVariables-JJah7mez.js} +1 -1
- package/dist-embed/chunks/NotebookToolSurfaces-Sjfasvqp.js +1 -0
- package/dist-embed/chunks/{NotebookView-yvVgAED6.js → NotebookView-BF9IDoeS.js} +1 -1
- package/dist-embed/chunks/{Output-DF1wzbCD.js → Output-UPeDwjyI.js} +1 -1
- package/dist-embed/chunks/{SandboxDetailsDialog-Bue8qhTm.js → SandboxDetailsDialog-BbFzOjmh.js} +1 -1
- package/dist-embed/chunks/WidgetVariableView-D4QMzgOL.js +1 -0
- package/dist-embed/chunks/{YouTubePlugin-aO-jWjdh.js → YouTubePlugin-C7CGtLzz.js} +1 -1
- package/dist-embed/chunks/abnfDiagram-VCTEODGH-B71U5XYF.js +1 -0
- package/dist-embed/chunks/abnfDiagram-VCTEODGH-Bc-fKn8l.js +1 -0
- package/dist-embed/chunks/abnfDiagram-VCTEODGH-HXaofwo9.js +1 -0
- package/dist-embed/chunks/advancedFormat-CshdkaWz.js +1 -0
- package/dist-embed/chunks/{ar-SA-G6X2FPQ2-DZ6ta9d0.js → ar-SA-G6X2FPQ2-CCIrNclv.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-CFyAMJIx.js → architectureDiagram-5GKGNRK7-BQB0U0rT.js} +2 -2
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-BbVwTk8b.js → architectureDiagram-5GKGNRK7-C2AE1F2T.js} +2 -2
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DeCj6zMe.js → architectureDiagram-5GKGNRK7-CjuFI4z9.js} +2 -2
- package/dist-embed/chunks/az-AZ-76LH7QW2-CSTNZhVp.js +1 -0
- package/dist-embed/chunks/{bg-BG-XCXSNQG7-B7QcVEVY.js → bg-BG-XCXSNQG7-DsDH3Vku.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-868be97b-CfRaagn_.js → blockDiagram-868be97b-B68KiGkE.js} +3 -3
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-BjRmv4QH.js → blockDiagram-I7D4REHJ-4XoG2wPO.js} +2 -2
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-SufaJtAi.js → blockDiagram-I7D4REHJ-BGPlI9Uq.js} +2 -2
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-kguVnun5.js → blockDiagram-I7D4REHJ-Cd5dHGkJ.js} +2 -2
- package/dist-embed/chunks/{bn-BD-2XOGV67Q-TxN1ubr7.js → bn-BD-2XOGV67Q-CGa5jk8k.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-3f4bdde3-FyOk3LSs.js → c4Diagram-3f4bdde3-BuW3MIkw.js} +2 -2
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-SgQrn2PO.js → c4Diagram-7LVT6UL2-DCfGVCNK.js} +2 -2
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-Cf2_xw9_.js → c4Diagram-7LVT6UL2-DgPxihhe.js} +2 -2
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-D3Vjz3Z8.js → c4Diagram-7LVT6UL2-SYqo_8ln.js} +2 -2
- package/dist-embed/chunks/{ca-ES-6MX7JW3Y-Dqf9cvaK.js → ca-ES-6MX7JW3Y-DPni6_r-.js} +1 -1
- package/dist-embed/chunks/channel-BkDTnYd-.js +1 -0
- package/dist-embed/chunks/{chunk-2Q5K7J3B-BJrhmygH.js → chunk-2Q5K7J3B-C6_NDlXz.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-DuPgZFdB.js → chunk-2Q5K7J3B-CXYPY0Ns.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-DBdUm--2.js → chunk-2Q5K7J3B-DAZwxp62.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-C1Bpa3VF.js → chunk-5VM5RSS4-BE7Xw1qR.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-B-UBqvd2.js → chunk-5VM5RSS4-CkLbaiHB.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-nQugzoqo.js → chunk-5VM5RSS4-lyh9Xnd2.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-D3zJwrkg.js → chunk-F27PBJKO-C3nbzFWn.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-DYiXXgT1.js → chunk-F27PBJKO-Db7_X2ml.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-MI-KHY-9.js → chunk-F27PBJKO-DgaijeLE.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-i4q8sDDB.js → chunk-IMKFNOWR-C0voe75K.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-BbylDqs_.js → chunk-IMKFNOWR-CGh3mc7U.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-DJk_fAZn.js → chunk-IMKFNOWR-wq8-ajoP.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-BSzyfwPR.js → chunk-JWPE2WC7-BnJZ2J3A.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-8ggfUh7n.js → chunk-JWPE2WC7-C7Vh66mu.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-D1PH2kGj.js → chunk-JWPE2WC7-IsI16_x9.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-DhZnEisk.js → chunk-POPQ4Y6H-C74YP19P.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-pegurE5S.js → chunk-POPQ4Y6H-Jfdu8NYy.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-CKubmyGa.js → chunk-POPQ4Y6H-igzMuKdy.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-BF112NUO.js → chunk-SVP7TREG-BRTUczs-.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-D5yRz6xm.js → chunk-SVP7TREG-D5GVP8mx.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-CoZRhamu.js → chunk-SVP7TREG-V_21qG9f.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-XF3ekUig.js → chunk-TICWLB2K-C64kdJiT.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-v9-jDBp6.js → chunk-TICWLB2K-COF4m2Q-.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-Bs5ffYyR.js → chunk-TICWLB2K-CmvMmjES.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-D_FJqGi2.js → chunk-XXDRQBXY-CfGL0WH9.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-l6VvHymR.js → chunk-XXDRQBXY-ClqYjHLS.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-D9b9c_ic.js → chunk-XXDRQBXY-p7YSmJfy.js} +1 -1
- package/dist-embed/chunks/classDiagram-ZZMXUADV-2HYBPww6.js +1 -0
- package/dist-embed/chunks/classDiagram-ZZMXUADV-BLOgen3q.js +1 -0
- package/dist-embed/chunks/classDiagram-ZZMXUADV-DanFMb8A.js +1 -0
- package/dist-embed/chunks/classDiagram-f62afe4f-CNTk_RA5.js +2 -0
- package/dist-embed/chunks/classDiagram-v2-604399ef-BPXwuOhe.js +2 -0
- package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-2HYBPww6.js +1 -0
- package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-BLOgen3q.js +1 -0
- package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-DanFMb8A.js +1 -0
- package/dist-embed/chunks/cose-bilkent-JH36ORCC-BMDoRbpo.js +1 -0
- package/dist-embed/chunks/cose-bilkent-JH36ORCC-C2S2DIKI.js +1 -0
- package/dist-embed/chunks/cose-bilkent-JH36ORCC-DSHzx2BI.js +1 -0
- package/dist-embed/chunks/{createText-aed3d8b3-Dw977TwJ.js → createText-aed3d8b3-BxsX7KcT.js} +1 -1
- package/dist-embed/chunks/{cs-CZ-2BRQDIVT-CwlCWt4T.js → cs-CZ-2BRQDIVT-C2VJoA4e.js} +1 -1
- package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-CXpjlIcM.js +62 -0
- package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-DNkIHI2P.js +62 -0
- package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-Und8rlmR.js +62 -0
- package/dist-embed/chunks/d3-color-Jd8hXty2.js +1 -0
- package/dist-embed/chunks/d3-hierarchy-Cx6senVY.js +1 -0
- package/dist-embed/chunks/d3-interpolate-BVJucgkN.js +1 -0
- package/dist-embed/chunks/d3-scale-B-wnA6MO.js +1 -0
- package/dist-embed/chunks/d3-scale-chromatic-BM1YEV1K.js +1 -0
- package/dist-embed/chunks/{da-DK-5WZEPLOC-BYQLzbDz.js → da-DK-5WZEPLOC-B-8uCnDZ.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-Bj78I_3y.js → dagre-GXQ25YYZ-B8HVheVA.js} +2 -2
- package/dist-embed/chunks/{dagre-GXQ25YYZ-BvxZGlAG.js → dagre-GXQ25YYZ-BLRf1T-i.js} +2 -2
- package/dist-embed/chunks/{dagre-GXQ25YYZ-BiceTC0E.js → dagre-GXQ25YYZ-DOA3t5IT.js} +2 -2
- package/dist-embed/chunks/dayjs.min-u3zuoSR8.js +1 -0
- package/dist-embed/chunks/{de-DE-XR44H4JA-CdWGWxSf.js → de-DE-XR44H4JA-mVAvUgBj.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-Cmb9Ykqm.js → diagram-S7CK7UJ4-D9c-d1DT.js} +2 -2
- package/dist-embed/chunks/{diagram-S7CK7UJ4-DMHeQr8F.js → diagram-S7CK7UJ4-DwDc_czt.js} +2 -2
- package/dist-embed/chunks/{diagram-S7CK7UJ4-a4FArSaJ.js → diagram-S7CK7UJ4-NIp8rRdr.js} +2 -2
- package/dist-embed/chunks/diagram-UQ7AKVKN-CZK18sap.js +41 -0
- package/dist-embed/chunks/diagram-UQ7AKVKN-DhMlTIH1.js +41 -0
- package/dist-embed/chunks/diagram-UQ7AKVKN-DtYHVrIv.js +41 -0
- package/dist-embed/chunks/{diagram-VSXAHHWV-D3lurhxI.js → diagram-VSXAHHWV-BbVAIuUE.js} +2 -2
- package/dist-embed/chunks/{diagram-VSXAHHWV-BsxdgIBU.js → diagram-VSXAHHWV-CClL-qVb.js} +2 -2
- package/dist-embed/chunks/{diagram-VSXAHHWV-BzwWsSpj.js → diagram-VSXAHHWV-CVuj7Wwr.js} +2 -2
- package/dist-embed/chunks/diagram-VX7I27RA-CHGaftMB.js +24 -0
- package/dist-embed/chunks/diagram-VX7I27RA-DUtes5TO.js +24 -0
- package/dist-embed/chunks/diagram-VX7I27RA-W9zdS7er.js +24 -0
- package/dist-embed/chunks/diagram-Z3DM3KII-CcvMwZF5.js +24 -0
- package/dist-embed/chunks/diagram-Z3DM3KII-JLzwAzwv.js +24 -0
- package/dist-embed/chunks/diagram-Z3DM3KII-nooaP3A_.js +24 -0
- package/dist-embed/chunks/ebnfDiagram-PWID7BFC-DwaCwxtV.js +1 -0
- package/dist-embed/chunks/ebnfDiagram-PWID7BFC-QUuH7KoJ.js +1 -0
- package/dist-embed/chunks/ebnfDiagram-PWID7BFC-paF78xx4.js +1 -0
- package/dist-embed/chunks/edges-b2856ca0-Cw6uMsAp.js +4 -0
- package/dist-embed/chunks/{el-GR-BZB4AONW-TO3tEZdB.js → el-GR-BZB4AONW-BdoQC7zI.js} +1 -1
- package/dist-embed/chunks/{erDiagram-5d81789a-D3blvZNR.js → erDiagram-5d81789a-DvA05QFt.js} +3 -3
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-HUP46o_S.js → erDiagram-RLTQ6QDP-B8yauwFZ.js} +5 -5
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BvRjMgFJ.js → erDiagram-RLTQ6QDP-Bl7uSMrm.js} +5 -5
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-pCbnjfMk.js → erDiagram-RLTQ6QDP-DZBeHxcW.js} +5 -5
- package/dist-embed/chunks/{es-ES-U4NZUMDT-BKZIANpq.js → es-ES-U4NZUMDT-mSL14Hu6.js} +1 -1
- package/dist-embed/chunks/{eu-ES-A7QVB2H4-vz5ecl6y.js → eu-ES-A7QVB2H4-i8MVUvvA.js} +1 -1
- package/dist-embed/chunks/{fa-IR-HGAKTJCU-Dmmoro5p.js → fa-IR-HGAKTJCU-BfG5w5pm.js} +1 -1
- package/dist-embed/chunks/{fi-FI-Z5N7JZ37-4bWurBmp.js → fi-FI-Z5N7JZ37-CxjOtOw5.js} +1 -1
- package/dist-embed/chunks/{flowDb-185abca5-DzeO696Q.js → flowDb-185abca5-CZQPmzTd.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-1629c991-BCS_QkN2.js → flowDiagram-1629c991-DVkQIanX.js} +3 -3
- package/dist-embed/chunks/{flowDiagram-HODETNUW-C7KqgwLg.js → flowDiagram-HODETNUW-B051mCrB.js} +3 -3
- package/dist-embed/chunks/{flowDiagram-HODETNUW-CObZVANE.js → flowDiagram-HODETNUW-CIxGkvY2.js} +3 -3
- package/dist-embed/chunks/{flowDiagram-HODETNUW-7NyW99NE.js → flowDiagram-HODETNUW-nx8wz3GE.js} +3 -3
- package/dist-embed/chunks/flowDiagram-v2-1d953310-BajQh2l6.js +1 -0
- package/dist-embed/chunks/{flowchart-elk-definition-6df44142-72x8aEiK.js → flowchart-elk-definition-6df44142-DVsdecvJ.js} +2 -2
- package/dist-embed/chunks/{fr-FR-RHASNOE6-QYoMYddl.js → fr-FR-RHASNOE6-Dx18-mdk.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-3b0b3873-BsGIi6q0.js → ganttDiagram-3b0b3873-B_Ze5xJT.js} +4 -4
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Cm2jOWpZ.js → ganttDiagram-EL5Y4UJY-BNa2jv7L.js} +3 -3
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Bmj6A7sI.js → ganttDiagram-EL5Y4UJY-DWOvMpi_.js} +3 -3
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-QZMrDtOa.js → ganttDiagram-EL5Y4UJY-Ix5W25h0.js} +3 -3
- package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-CY0V5PYj.js +106 -0
- package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-CieNMLLD.js +106 -0
- package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-DtTUInJx.js +106 -0
- package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-C5glz__6.js → gitGraphDiagram-f01e8bc2-B7CTdpxh.js} +2 -2
- package/dist-embed/chunks/{gl-ES-HMX3MZ6V-CuWi9MKI.js → gl-ES-HMX3MZ6V-D0gZC3Qs.js} +1 -1
- package/dist-embed/chunks/{he-IL-6SHJWFNN-CZ7rDY29.js → he-IL-6SHJWFNN-BpsgumHA.js} +1 -1
- package/dist-embed/chunks/{hi-IN-IWLTKZ5I-BOtn2GYM.js → hi-IN-IWLTKZ5I-1U7gawIv.js} +1 -1
- package/dist-embed/chunks/{hu-HU-A5ZG7DT2-Da2fd7BW.js → hu-HU-A5ZG7DT2-zY5nzegx.js} +1 -1
- package/dist-embed/chunks/{id-ID-SAP4L64H-DygGPsGR.js → id-ID-SAP4L64H-p8kr2CI9.js} +1 -1
- package/dist-embed/chunks/{index-CDGGINfN.js → index-4SXYvuYi.js} +1 -1
- package/dist-embed/chunks/{index-9bae90f3-C6Xh0qGL.js → index-9bae90f3-_IqcZYff.js} +1 -1
- package/dist-embed/chunks/{index-B6ISkj2i.js → index-B9_Wb9MN.js} +1 -1
- package/dist-embed/chunks/index-BWTYs63X.js +1 -0
- package/dist-embed/chunks/{index-DIoOWi0w.js → index-BbLfaxiL.js} +2 -2
- package/dist-embed/chunks/{index-CMna4RvT.js → index-BeDw56-P.js} +1 -1
- package/dist-embed/chunks/{index-DUtVEK_h.js → index-Bi_Lrakd.js} +55 -55
- package/dist-embed/chunks/index-BqnIBWZ9.js +35 -0
- package/dist-embed/chunks/index-C0jxnCf_.js +1 -0
- package/dist-embed/chunks/{index-Gy_uosvT.js → index-C6p1fI_l.js} +1 -1
- package/dist-embed/chunks/{index-e62XL6B3.js → index-C7Y6qb5P.js} +41 -41
- package/dist-embed/chunks/index-CCwTAE5t.js +1 -0
- package/dist-embed/chunks/index-CEoN6Igz.js +1 -0
- package/dist-embed/chunks/index-CGywzy5S.js +2 -0
- package/dist-embed/chunks/index-CslfR-ws.js +1 -0
- package/dist-embed/chunks/index-D1WP6gqy.js +2 -0
- package/dist-embed/chunks/{index-BeA4XI1t.js → index-DTxyD1Cg.js} +1 -1
- package/dist-embed/chunks/index-Da0hjuSR.js +1 -0
- package/dist-embed/chunks/{index-ErZ9_T3y.js → index-DjEoMYXa.js} +12 -12
- package/dist-embed/chunks/{index-CF9HUHN8.js → index-Dy9evYbM.js} +1 -1
- package/dist-embed/chunks/index-Dz7T8mqj.js +6 -0
- package/dist-embed/chunks/index-LJsqLy5q.js +1 -0
- package/dist-embed/chunks/{index-B40K_78l.js → index-MIDt7IxB.js} +1 -1
- package/dist-embed/chunks/{index-DrXZebZS.js → index-VedUjmyH.js} +1 -1
- package/dist-embed/chunks/{index-fi_KzQoZ.js → index-lC26z37v.js} +1 -1
- package/dist-embed/chunks/index-n0wY5AOk.js +17 -0
- package/dist-embed/chunks/index-x4xjV1QS.js +1 -0
- package/dist-embed/chunks/infoDiagram-27XIBGKW-CjrU5YxR.js +2 -0
- package/dist-embed/chunks/infoDiagram-27XIBGKW-CygK1B8s.js +2 -0
- package/dist-embed/chunks/infoDiagram-27XIBGKW-y2jlnC74.js +2 -0
- package/dist-embed/chunks/{infoDiagram-a29d40f1-C84ltR9z.js → infoDiagram-a29d40f1-CxLYanuc.js} +2 -2
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-19vfXaSu.js → ishikawaDiagram-5VMMS53U-B4bKsqAA.js} +2 -2
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-BKwHxl_c.js → ishikawaDiagram-5VMMS53U-B_r8LPoh.js} +6 -6
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-DxmD4pNL.js → ishikawaDiagram-5VMMS53U-D3Gs1zXZ.js} +6 -6
- package/dist-embed/chunks/{it-IT-JPQ66NNP-C61ct2vR.js → it-IT-JPQ66NNP-CxNntye1.js} +1 -1
- package/dist-embed/chunks/{ja-JP-DBVTYXUO-DsuHLQzd.js → ja-JP-DBVTYXUO-D2eNPUzJ.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-BtJM0rtE.js → journeyDiagram-3NMN7TZE-CPKVw4E2.js} +2 -2
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-CRrrfAmB.js → journeyDiagram-3NMN7TZE-CdSVPmSP.js} +2 -2
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-D8vrwew7.js → journeyDiagram-3NMN7TZE-D5N9LfNb.js} +2 -2
- package/dist-embed/chunks/{journeyDiagram-95396277-91Yn8aB5.js → journeyDiagram-95396277-maRimpb1.js} +2 -2
- package/dist-embed/chunks/kaa-6HZHGXH3-B9Jduu1i.js +1 -0
- package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-lymWJChw.js → kab-KAB-ZGHBKWFO-D80S5Hke.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BI3EeL_e.js → kanban-definition-UXKFOSKX-6OQwjjDA.js} +2 -2
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BD4YKCh4.js → kanban-definition-UXKFOSKX-9X8AwfWh.js} +2 -2
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-DFA9oGiU.js → kanban-definition-UXKFOSKX-DNrz6elS.js} +2 -2
- package/dist-embed/chunks/kk-KZ-P5N5QNE5-dttniW7L.js +1 -0
- package/dist-embed/chunks/{km-KH-HSX4SM5Z-C__pm6qQ.js → km-KH-HSX4SM5Z-CwFUU4KI.js} +1 -1
- package/dist-embed/chunks/{ko-KR-MTYHY66A-D5yQS5Y4.js → ko-KR-MTYHY66A-6qkv_Dp9.js} +1 -1
- package/dist-embed/chunks/{ku-TR-6OUDTVRD-OIGj43yE.js → ku-TR-6OUDTVRD-C4Mq1URI.js} +1 -1
- package/dist-embed/chunks/{layout-C3jdOWbU.js → layout-Br9qZ7AW.js} +1 -1
- package/dist-embed/chunks/{layout-DWmuzni9.js → layout-CA7S7W88.js} +1 -1
- package/dist-embed/chunks/{layout-Dj_zgK51.js → layout-DvZ5NRsQ.js} +1 -1
- package/dist-embed/chunks/{lt-LT-XHIRWOB4-UGZ71aBo.js → lt-LT-XHIRWOB4-Cxuhrxpe.js} +1 -1
- package/dist-embed/chunks/{lv-LV-5QDEKY6T-LRIHo0NC.js → lv-LV-5QDEKY6T-2nfUsrY3.js} +1 -1
- package/dist-embed/chunks/{mermaid.core-DIIwHAlX.js → mermaid.core-CCCzTT5Y.js} +14 -14
- package/dist-embed/chunks/{mermaid.core-DF6jaPnW.js → mermaid.core-DRZOVBT3.js} +11 -11
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-D6u4H_xO.js → mindmap-definition-YA3MSWOX-BjThuhS8.js} +4 -4
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-fBVFRUCw.js → mindmap-definition-YA3MSWOX-DFMy0Zmf.js} +4 -4
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-3bvIJFMV.js → mindmap-definition-YA3MSWOX-H2yRQ6u8.js} +4 -4
- package/dist-embed/chunks/{mindmap-definition-e4c1d938-DbYGQCf5.js → mindmap-definition-e4c1d938-vjhx3bcZ.js} +4 -4
- package/dist-embed/chunks/{mr-IN-CRQNXWMA-BXO8TJMv.js → mr-IN-CRQNXWMA-HC9cqgFo.js} +1 -1
- package/dist-embed/chunks/my-MM-5M5IBNSE-0zP3tJ-6.js +1 -0
- package/dist-embed/chunks/{nb-NO-T6EIAALU-UnDxFcwr.js → nb-NO-T6EIAALU-B7KA5H1w.js} +1 -1
- package/dist-embed/chunks/{nl-NL-IS3SIHDZ-CdTeVF3c.js → nl-NL-IS3SIHDZ-BqrheHUd.js} +1 -1
- package/dist-embed/chunks/{nn-NO-6E72VCQL-nLVDeuAb.js → nn-NO-6E72VCQL-DjkBZa_a.js} +1 -1
- package/dist-embed/chunks/{oc-FR-POXYY2M6-CGDfJA5K.js → oc-FR-POXYY2M6-Cu_3WEeT.js} +1 -1
- package/dist-embed/chunks/{pa-IN-N4M65BXN-h3gZ9Ic4.js → pa-IN-N4M65BXN-5JMtBjML.js} +1 -1
- package/dist-embed/chunks/pegDiagram-XKGWAZYB-1AWuvKdx.js +1 -0
- package/dist-embed/chunks/pegDiagram-XKGWAZYB-BAhw3noh.js +1 -0
- package/dist-embed/chunks/pegDiagram-XKGWAZYB-CO2oVfmH.js +1 -0
- package/dist-embed/chunks/{percentages-BXMCSKIN-BQMwWCQD.js → percentages-BXMCSKIN-BIq0kwQL.js} +5 -5
- package/dist-embed/chunks/pieDiagram-E7YTZNPT-8ObvGarl.js +39 -0
- package/dist-embed/chunks/pieDiagram-E7YTZNPT-BGXX7TE5.js +39 -0
- package/dist-embed/chunks/pieDiagram-E7YTZNPT-uyUfJur0.js +39 -0
- package/dist-embed/chunks/{pieDiagram-c941bede-Cj4FBN3j.js → pieDiagram-c941bede-CiwJwky_.js} +5 -5
- package/dist-embed/chunks/{pl-PL-T2D74RX3-D83IXMGV.js → pl-PL-T2D74RX3--llsK5eC.js} +1 -1
- package/dist-embed/chunks/{pt-BR-5N22H2LF-C-tCCB23.js → pt-BR-5N22H2LF-Bakh_msU.js} +1 -1
- package/dist-embed/chunks/{pt-PT-UZXXM6DQ-BfalAAyJ.js → pt-PT-UZXXM6DQ-OxrpUCfx.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-Be4yYxRi.js → quadrantDiagram-AXDQQJYC-CRV4o4qb.js} +4 -4
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DWfnlrHL.js → quadrantDiagram-AXDQQJYC-CRh_0GTn.js} +4 -4
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-299UcZFW.js → quadrantDiagram-AXDQQJYC-MaByZiV4.js} +2 -2
- package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-qh1uZ5v_.js → quadrantDiagram-cf8b8fe0-Wunt4_d5.js} +2 -2
- package/dist-embed/chunks/railroadDiagram-O6MQD6OU-CCaje6VF.js +1 -0
- package/dist-embed/chunks/railroadDiagram-O6MQD6OU-Dqphwk0Z.js +1 -0
- package/dist-embed/chunks/railroadDiagram-O6MQD6OU-JQKf7O31.js +1 -0
- package/dist-embed/chunks/{renderer-VW8Zgoi-.js → renderer-DX-Dx5-F.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-53bda41b-C_KZy5Fe.js → requirementDiagram-53bda41b-TCOAg1rM.js} +2 -2
- package/dist-embed/chunks/requirementDiagram-BXWQKSXE-Bm0upXLv.js +84 -0
- package/dist-embed/chunks/requirementDiagram-BXWQKSXE-C2uapxGA.js +84 -0
- package/dist-embed/chunks/requirementDiagram-BXWQKSXE-DJxuQg-7.js +84 -0
- package/dist-embed/chunks/{ro-RO-JPDTUUEW-BE1v-gpB.js → ro-RO-JPDTUUEW-uuey0xG_.js} +1 -1
- package/dist-embed/chunks/{ru-RU-B4JR7IUQ-CVNYAGNj.js → ru-RU-B4JR7IUQ-DqFdpWv9.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-BWZcxo3B.js → sankeyDiagram-P5KCCOFB-CLZzsFhP.js} +6 -6
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-CatGDvVZ.js → sankeyDiagram-P5KCCOFB-D_ovN9Nw.js} +6 -6
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-2w9aAGeM.js → sankeyDiagram-P5KCCOFB-SUZr8YYS.js} +6 -6
- package/dist-embed/chunks/{sankeyDiagram-c3ef121a-B6bWzn2q.js → sankeyDiagram-c3ef121a-_iCn_Xqv.js} +2 -2
- package/dist-embed/chunks/{sequenceDiagram-82a5b84f-CaIr2bxU.js → sequenceDiagram-82a5b84f-CZ9YH4d5.js} +2 -2
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-B67pBo6k.js → sequenceDiagram-WJ2MYXX4-BKNAKMB-.js} +2 -2
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-DlhUecfS.js → sequenceDiagram-WJ2MYXX4-BiNzit2i.js} +2 -2
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-CBRqz17v.js → sequenceDiagram-WJ2MYXX4-CxJBbJNf.js} +2 -2
- package/dist-embed/chunks/si-LK-N5RQ5JYF-CvENlHMe.js +1 -0
- package/dist-embed/chunks/sizeCapture-INFHLROL-CfXgq7GH.js +1 -0
- package/dist-embed/chunks/sizeCapture-INFHLROL-DdEoxy_h.js +1 -0
- package/dist-embed/chunks/sizeCapture-INFHLROL-DzGAMY7V.js +1 -0
- package/dist-embed/chunks/{sk-SK-C5VTKIMK-CnlsIkzl.js → sk-SK-C5VTKIMK-kO7aKifc.js} +1 -1
- package/dist-embed/chunks/{sl-SI-NN7IZMDC-BUxNatf_.js → sl-SI-NN7IZMDC-BSfu_xTu.js} +1 -1
- package/dist-embed/chunks/stateDiagram-43e79a5f-BD1qBXVh.js +1 -0
- package/dist-embed/chunks/stateDiagram-D77RDMKH-BdFfP6-j.js +1 -0
- package/dist-embed/chunks/stateDiagram-D77RDMKH-C6Rh7O9V.js +1 -0
- package/dist-embed/chunks/stateDiagram-D77RDMKH-CZM-t-r5.js +1 -0
- package/dist-embed/chunks/stateDiagram-v2-2041ed4f-CKbh55dE.js +1 -0
- package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-BHkGSAh9.js +1 -0
- package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-CBRXg201.js +1 -0
- package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-CtwsmZKB.js +1 -0
- package/dist-embed/chunks/{styles-455b33cd-DTnW81zt.js → styles-455b33cd-IAZJyrtZ.js} +1 -1
- package/dist-embed/chunks/styles-f932cba9-CulCjJgD.js +116 -0
- package/dist-embed/chunks/{styles-fcc2142b-DS8IKMau.js → styles-fcc2142b-B41TEwDB.js} +1 -1
- package/dist-embed/chunks/{subset-shared.chunk-CTwDOb0-.js → subset-shared.chunk-BerOLB9H.js} +1 -1
- package/dist-embed/chunks/subset-worker.chunk-Yn1lZtLj.js +1 -0
- package/dist-embed/chunks/{sv-SE-XGPEYMSR-cyuprKcs.js → sv-SE-XGPEYMSR-CwWdagrq.js} +1 -1
- package/dist-embed/chunks/{svgDrawCommon-148a3cd9-BxghTVdH.js → svgDrawCommon-148a3cd9-BFE-Fru-.js} +1 -1
- package/dist-embed/chunks/swimlanes-42K2YHIH-B4ynl1fF.js +1 -0
- package/dist-embed/chunks/swimlanes-42K2YHIH-C3Ob3hRX.js +1 -0
- package/dist-embed/chunks/swimlanes-42K2YHIH-C4SGzTvJ.js +1 -0
- package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BXjgQ3GL.js +8 -0
- package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-C7a6omGx.js +8 -0
- package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-Clkyphbe.js +8 -0
- package/dist-embed/chunks/{ta-IN-2NMHFXQM-Byh0RKP5.js → ta-IN-2NMHFXQM-re3EiMgT.js} +1 -1
- package/dist-embed/chunks/th-TH-HPSO5L25-DtD0NaIp.js +2 -0
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-D_rwkEbI.js → timeline-definition-24CTP7MA-BNDeFofK.js} +2 -2
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-CbdMtllQ.js → timeline-definition-24CTP7MA-Cq0llA9E.js} +2 -2
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-4T6yq6Xl.js → timeline-definition-24CTP7MA-meb3YGxd.js} +2 -2
- package/dist-embed/chunks/{timeline-definition-7545f45a-BV1QYS8b.js → timeline-definition-7545f45a-_IXtAyNt.js} +2 -2
- package/dist-embed/chunks/{tr-TR-DEFEU3FU-CnqB5qYp.js → tr-TR-DEFEU3FU-C7nWPcvx.js} +1 -1
- package/dist-embed/chunks/{uk-UA-QMV73CPH-T0hbDiAg.js → uk-UA-QMV73CPH-BXHaS8be.js} +1 -1
- package/dist-embed/chunks/{venn.esm-6w9J1Bn7.js → venn.esm-DcgGHut9.js} +2 -2
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-Bvimw16k.js → vennDiagram-4TSXK5OY-5vXx1zIe.js} +4 -4
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-CBXnZEfU.js → vennDiagram-4TSXK5OY-B_43mUqs.js} +4 -4
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-CYAyZJWP.js → vennDiagram-4TSXK5OY-cdkeJjkW.js} +4 -4
- package/dist-embed/chunks/{vi-VN-M7AON7JQ-BbVJrx8R.js → vi-VN-M7AON7JQ-D29vQQkQ.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-B9iqutw0.js → wardleyDiagram-VM6X3IG4-1VXLU7d1.js} +2 -2
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-k_2iCVDr.js → wardleyDiagram-VM6X3IG4-CDIFTq28.js} +2 -2
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CkqyRdUt.js → wardleyDiagram-VM6X3IG4-xAtWwDfd.js} +2 -2
- package/dist-embed/chunks/{xychartDiagram-3f383b91-L3ZS62LU.js → xychartDiagram-3f383b91-BuaB0j8f.js} +5 -5
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z--E3rc8E6.js → xychartDiagram-S5SC5T6Z-BL2yRZOy.js} +2 -2
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-COkEQpnW.js → xychartDiagram-S5SC5T6Z-BUZxSIAO.js} +2 -2
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-DufzH9GE.js → xychartDiagram-S5SC5T6Z-CHRdLn8n.js} +2 -2
- package/dist-embed/chunks/{zh-CN-LNUGB5OW-B2XCvd4u.js → zh-CN-LNUGB5OW-hmUIulf5.js} +1 -1
- package/dist-embed/chunks/zh-HK-E62DVLB3-Bew_EKh4.js +1 -0
- package/dist-embed/chunks/{zh-TW-RAJ6MFWO-fBqMZFIZ.js → zh-TW-RAJ6MFWO-GAr_9KYn.js} +1 -1
- package/dist-embed/datalayer-app-main.js +28 -27
- package/lib/apps/core/canvasParts.d.ts +1 -1
- package/lib/apps/plugins/canvas-parts/index.d.ts +9 -1
- package/lib/apps/plugins/canvas-parts/index.js +42 -0
- package/lib/battles/index.d.ts +1 -0
- package/lib/battles/index.js +5 -0
- package/lib/battles/verdict.d.ts +76 -0
- package/lib/battles/verdict.js +122 -0
- package/lib/chat/assistant/SpeechBalloon.js +2 -2
- package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.d.ts +7 -8
- package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.js +133 -27
- package/lib/components/code-sandboxes/CodeSandboxPicker.js +3 -0
- package/lib/components/code-sandboxes/codeSandboxEnvironments.d.ts +3 -2
- package/lib/components/code-sandboxes/codeSandboxEnvironments.js +3 -2
- package/lib/index.d.ts +1 -1
- package/lib/models/Environment.d.ts +8 -0
- package/lib/models/environments.generated.d.ts +9 -1
- package/lib/models/environments.generated.js +1 -1
- package/lib/specs/battles.d.ts +17 -0
- package/lib/specs/battles.js +144 -0
- package/lib/specs/guards.d.ts +11 -3
- package/lib/specs/guards.js +67 -636
- package/lib/specs/index.d.ts +1 -1
- package/lib/specs/index.js +1 -1
- package/lib/specs/ops.js +23 -701
- package/lib/specs/tracks.d.ts +2 -0
- package/lib/specs/tracks.js +70 -0
- package/lib/types/agentspecs.d.ts +59 -9
- package/lib/types/guardrails.d.ts +62 -94
- package/package.json +2 -2
- package/scripts/codegen/generate_agents.py +0 -1
- package/scripts/codegen/generate_ops.py +82 -26
- package/dist-embed/chunks/AgentInspector-CgyzKeHG.js +0 -1
- package/dist-embed/chunks/EphemeralDocument-BqDLSVvb.js +0 -1
- package/dist-embed/chunks/ExcalidrawComponent-DIz2Hp3F.js +0 -1
- package/dist-embed/chunks/ExcalidrawModal-Bz4nrIlA.js +0 -1
- package/dist-embed/chunks/NotebookToolSurfaces-Ch-7Pk_I.js +0 -1
- package/dist-embed/chunks/Tableau10-B-NsZVaP.js +0 -1
- package/dist-embed/chunks/WidgetVariableView-BEQqawKT.js +0 -1
- package/dist-embed/chunks/abnfDiagram-VCTEODGH-Cviduj-e.js +0 -1
- package/dist-embed/chunks/abnfDiagram-VCTEODGH-DRYUPXKp.js +0 -1
- package/dist-embed/chunks/abnfDiagram-VCTEODGH-uQbfcTeh.js +0 -1
- package/dist-embed/chunks/advancedFormat-Cytc7Lc-.js +0 -1
- package/dist-embed/chunks/arc-CvuHsKVP.js +0 -1
- package/dist-embed/chunks/array-BKyUJesY.js +0 -1
- package/dist-embed/chunks/az-AZ-76LH7QW2-By3wlF01.js +0 -1
- package/dist-embed/chunks/band-dPffDWoQ.js +0 -1
- package/dist-embed/chunks/channel-DSSC-Z6W.js +0 -1
- package/dist-embed/chunks/classDiagram-ZZMXUADV-2t4a-wcA.js +0 -1
- package/dist-embed/chunks/classDiagram-ZZMXUADV-9WVRK_2x.js +0 -1
- package/dist-embed/chunks/classDiagram-ZZMXUADV-Dh5wgyac.js +0 -1
- package/dist-embed/chunks/classDiagram-f62afe4f-CaiUEXWA.js +0 -2
- package/dist-embed/chunks/classDiagram-v2-604399ef-CZz_cEb3.js +0 -2
- package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-2t4a-wcA.js +0 -1
- package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-9WVRK_2x.js +0 -1
- package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-Dh5wgyac.js +0 -1
- package/dist-embed/chunks/color-CG7_7V2-.js +0 -1
- package/dist-embed/chunks/cose-bilkent-JH36ORCC-CYdr15Qb.js +0 -1
- package/dist-embed/chunks/cose-bilkent-JH36ORCC-D7xkFMi4.js +0 -1
- package/dist-embed/chunks/cose-bilkent-JH36ORCC-DyL8-f5N.js +0 -1
- package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-B-cEXnFH.js +0 -62
- package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-DkFOdRYH.js +0 -62
- package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-wHBoNo7j.js +0 -62
- package/dist-embed/chunks/defaultLocale-5voVPcsN.js +0 -1
- package/dist-embed/chunks/diagram-UQ7AKVKN-2cPTLkSD.js +0 -41
- package/dist-embed/chunks/diagram-UQ7AKVKN-CSMVfm7b.js +0 -41
- package/dist-embed/chunks/diagram-UQ7AKVKN-C_jt0u6D.js +0 -41
- package/dist-embed/chunks/diagram-VX7I27RA-BJ2YQn5K.js +0 -24
- package/dist-embed/chunks/diagram-VX7I27RA-DA1J99rY.js +0 -24
- package/dist-embed/chunks/diagram-VX7I27RA-Dm3pOzxq.js +0 -24
- package/dist-embed/chunks/diagram-Z3DM3KII-C5sZC4ig.js +0 -24
- package/dist-embed/chunks/diagram-Z3DM3KII-CVmSZjIo.js +0 -24
- package/dist-embed/chunks/diagram-Z3DM3KII-DVQwJUFe.js +0 -24
- package/dist-embed/chunks/ebnfDiagram-PWID7BFC-DwtRvYrD.js +0 -1
- package/dist-embed/chunks/ebnfDiagram-PWID7BFC-Qmmh9DWc.js +0 -1
- package/dist-embed/chunks/ebnfDiagram-PWID7BFC-YwFzQxr5.js +0 -1
- package/dist-embed/chunks/edges-b2856ca0-Cn0ZKu5E.js +0 -4
- package/dist-embed/chunks/flowDiagram-v2-1d953310-5ThB3y9b.js +0 -1
- package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-1XlTL5m_.js +0 -106
- package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-APR1d-tc.js +0 -106
- package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-BAP8EKLt.js +0 -106
- package/dist-embed/chunks/hcl-DhKDpa4Z.js +0 -1
- package/dist-embed/chunks/index-BF1314TG.js +0 -1
- package/dist-embed/chunks/index-BYQPOTc8.js +0 -1
- package/dist-embed/chunks/index-Ben6aEe6.js +0 -1
- package/dist-embed/chunks/index-CFSUTqDN.js +0 -1
- package/dist-embed/chunks/index-CvYzv8kf.js +0 -1
- package/dist-embed/chunks/index-D4a8E78-.js +0 -34
- package/dist-embed/chunks/index-D7tggxpZ.js +0 -1
- package/dist-embed/chunks/index-D99YJ2MP.js +0 -1
- package/dist-embed/chunks/index-DDgcbci7.js +0 -17
- package/dist-embed/chunks/index-DOI3H9VM.js +0 -2
- package/dist-embed/chunks/index-DcQTeOGT.js +0 -2
- package/dist-embed/chunks/index-DqGFpucN.js +0 -6
- package/dist-embed/chunks/index-Dw3RE4d5.js +0 -1
- package/dist-embed/chunks/index-MUnyaGR7.js +0 -1
- package/dist-embed/chunks/index-atSsKceW.js +0 -1
- package/dist-embed/chunks/infoDiagram-27XIBGKW-BRFvlR5E.js +0 -2
- package/dist-embed/chunks/infoDiagram-27XIBGKW-D2VjYulT.js +0 -2
- package/dist-embed/chunks/infoDiagram-27XIBGKW-mC-wx4e9.js +0 -2
- package/dist-embed/chunks/init-Gi6I4Gst.js +0 -1
- package/dist-embed/chunks/kaa-6HZHGXH3-DXk4Goog.js +0 -1
- package/dist-embed/chunks/kk-KZ-P5N5QNE5-BVNL23_r.js +0 -1
- package/dist-embed/chunks/line-DT6NiYhi.js +0 -1
- package/dist-embed/chunks/linear-BpNYqLzz.js +0 -1
- package/dist-embed/chunks/my-MM-5M5IBNSE-CRUW8B_2.js +0 -1
- package/dist-embed/chunks/ordinal-Cboi1Yqb.js +0 -1
- package/dist-embed/chunks/path-CbwjOpE9.js +0 -1
- package/dist-embed/chunks/pegDiagram-XKGWAZYB-CtWh5AAX.js +0 -1
- package/dist-embed/chunks/pegDiagram-XKGWAZYB-D0zyGRR2.js +0 -1
- package/dist-embed/chunks/pegDiagram-XKGWAZYB-fy3EphLc.js +0 -1
- package/dist-embed/chunks/pie-BU9ZrLAC.js +0 -1
- package/dist-embed/chunks/pieDiagram-E7YTZNPT-BsWWB93l.js +0 -39
- package/dist-embed/chunks/pieDiagram-E7YTZNPT-CArVdetR.js +0 -39
- package/dist-embed/chunks/pieDiagram-E7YTZNPT-DNxhxWw6.js +0 -39
- package/dist-embed/chunks/railroadDiagram-O6MQD6OU-C9HR2VRW.js +0 -1
- package/dist-embed/chunks/railroadDiagram-O6MQD6OU-COJ52k8E.js +0 -1
- package/dist-embed/chunks/railroadDiagram-O6MQD6OU-DPlEOlHJ.js +0 -1
- package/dist-embed/chunks/requirementDiagram-BXWQKSXE-2dtqnxe5.js +0 -84
- package/dist-embed/chunks/requirementDiagram-BXWQKSXE-BSUw2gn-.js +0 -84
- package/dist-embed/chunks/requirementDiagram-BXWQKSXE-BxFFoRpi.js +0 -84
- package/dist-embed/chunks/round-BfLWjAu-.js +0 -1
- package/dist-embed/chunks/si-LK-N5RQ5JYF-DUuCNsO5.js +0 -1
- package/dist-embed/chunks/sizeCapture-INFHLROL-BEjCofob.js +0 -1
- package/dist-embed/chunks/sizeCapture-INFHLROL-DMtgrDCy.js +0 -1
- package/dist-embed/chunks/sizeCapture-INFHLROL-fPkZXPlY.js +0 -1
- package/dist-embed/chunks/stateDiagram-43e79a5f-C9c4jD1w.js +0 -1
- package/dist-embed/chunks/stateDiagram-D77RDMKH-BwBOxQvl.js +0 -1
- package/dist-embed/chunks/stateDiagram-D77RDMKH-C3hsuLFV.js +0 -1
- package/dist-embed/chunks/stateDiagram-D77RDMKH-dWsBlue-.js +0 -1
- package/dist-embed/chunks/stateDiagram-v2-2041ed4f-CcvTvP8J.js +0 -1
- package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-BynTEikt.js +0 -1
- package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-CRNCbzUu.js +0 -1
- package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-yYUm25Cg.js +0 -1
- package/dist-embed/chunks/styles-f932cba9-DvbsLPZ9.js +0 -116
- package/dist-embed/chunks/subset-worker.chunk-CY8G1DYa.js +0 -1
- package/dist-embed/chunks/swimlanes-42K2YHIH-CGEWUgMO.js +0 -1
- package/dist-embed/chunks/swimlanes-42K2YHIH-DY5rybP3.js +0 -1
- package/dist-embed/chunks/swimlanes-42K2YHIH-DiRx3T6S.js +0 -1
- package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BmSxUdGr.js +0 -8
- package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BmTIqylO.js +0 -8
- package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-Dmom79F0.js +0 -8
- package/dist-embed/chunks/th-TH-HPSO5L25-C8zeMDt2.js +0 -2
- package/dist-embed/chunks/zh-HK-E62DVLB3-D8xk7wby.js +0 -1
- package/lib/specs/guardrails.d.ts +0 -22
- package/lib/specs/guardrails.js +0 -391
- package/scripts/codegen/generate_guardrails.py +0 -475
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The kinds of part an agent is built from on the Canvas. */
|
|
2
|
-
export type CanvasPartKind = 'agent' | 'connection' | 'rule' | 'skill' | 'test' | 'event' | 'model' | 'protocol' | 'ui' | 'avatar';
|
|
2
|
+
export type CanvasPartKind = 'agent' | 'connection' | 'rule' | 'skill' | 'test' | 'event' | 'model' | 'protocol' | 'ui' | 'avatar' | 'guard' | 'gate' | 'track';
|
|
3
3
|
/**
|
|
4
4
|
* A part of an agent the Canvas may place (C-20): a connection to a
|
|
5
5
|
* server of the catalogue, a skill, a model, a rule, a test, an event, a
|
|
@@ -15,7 +15,7 @@ type PartsReader = {
|
|
|
15
15
|
}>;
|
|
16
16
|
};
|
|
17
17
|
/** The short ids an organization turns off, and the plugin each names. */
|
|
18
|
-
export declare const CANVAS_PART_SOURCES: readonly ["agents", "connections", "skills", "models", "rules", "tests", "events", "protocols", "ui", "avatars"];
|
|
18
|
+
export declare const CANVAS_PART_SOURCES: readonly ["agents", "connections", "skills", "models", "rules", "tests", "events", "protocols", "ui", "avatars", "guards", "gates", "tracks"];
|
|
19
19
|
export type CanvasPartSource = (typeof CANVAS_PART_SOURCES)[number];
|
|
20
20
|
export declare const canvasPartsPluginName: (source: CanvasPartSource) => string;
|
|
21
21
|
/**
|
|
@@ -52,6 +52,14 @@ export declare const UI_PARTS: CanvasPartContribution[];
|
|
|
52
52
|
* (the default robot; its `url` is changed in the Appspec).
|
|
53
53
|
*/
|
|
54
54
|
export declare const AVATAR_PARTS: CanvasPartContribution[];
|
|
55
|
+
/**
|
|
56
|
+
* The accountability plane (the user, 6 November 2026), dropped on the
|
|
57
|
+
* application's checks: each Guard of the catalogue, each Gate, and the
|
|
58
|
+
* Track its record is kept under — by `id:version`, as `checks` names them.
|
|
59
|
+
*/
|
|
60
|
+
export declare const GUARD_PARTS: CanvasPartContribution[];
|
|
61
|
+
export declare const GATE_PARTS: CanvasPartContribution[];
|
|
62
|
+
export declare const TRACK_PARTS: CanvasPartContribution[];
|
|
55
63
|
export declare const CANVAS_PART_PLUGINS: ReactorPlugin<Record<string, never>, unknown, unknown>[];
|
|
56
64
|
/** The toolbox's reactor, its named plugins disabled; a name no plugin has is refused. */
|
|
57
65
|
export declare function canvasPartsReactor(disabled?: readonly string[], plugins?: ReactorPlugin<any, any, any>[]): ReactorPlatform;
|
|
@@ -19,6 +19,9 @@ import { listChatModels } from '../../../specs/models.js';
|
|
|
19
19
|
import { getSkillSpecs } from '../../../specs/skills.js';
|
|
20
20
|
import { listProtocolSpecs } from '../../../specs/protocols.js';
|
|
21
21
|
import { listUI } from '../../../specs/ui.js';
|
|
22
|
+
import { listGuards } from '../../../specs/guards.js';
|
|
23
|
+
import { listGates } from '../../../specs/gates.js';
|
|
24
|
+
import { listTracks } from '../../../specs/tracks.js';
|
|
22
25
|
import { ASSISTANT_CHARACTER_FAMILIES } from '../../../chat/assistant/characters.js';
|
|
23
26
|
import { SHIPPED_ASSISTANT_CHARACTERS, familyOf, } from '../../../chat/assistant/catalogue.js';
|
|
24
27
|
import { AVATAR_3D_ID } from '../../../chat/assistant/avatar3dModel.js';
|
|
@@ -35,6 +38,10 @@ export const CANVAS_PART_SOURCES = [
|
|
|
35
38
|
'protocols',
|
|
36
39
|
'ui',
|
|
37
40
|
'avatars',
|
|
41
|
+
// The accountability plane (6 November 2026).
|
|
42
|
+
'guards',
|
|
43
|
+
'gates',
|
|
44
|
+
'tracks',
|
|
38
45
|
];
|
|
39
46
|
export const canvasPartsPluginName = (source) => `@datalayer/loop-plugin-parts-${source}`;
|
|
40
47
|
const partsPlugin = (source, displayName, parts) => definePlugin({
|
|
@@ -262,6 +269,38 @@ export const AVATAR_PARTS = [
|
|
|
262
269
|
group: familyWords('model3d')?.label,
|
|
263
270
|
},
|
|
264
271
|
];
|
|
272
|
+
/**
|
|
273
|
+
* The accountability plane (the user, 6 November 2026), dropped on the
|
|
274
|
+
* application's checks: each Guard of the catalogue, each Gate, and the
|
|
275
|
+
* Track its record is kept under — by `id:version`, as `checks` names them.
|
|
276
|
+
*/
|
|
277
|
+
export const GUARD_PARTS = listGuards().map(guard => ({
|
|
278
|
+
id: `guard:${guard.id}`,
|
|
279
|
+
kind: 'guard',
|
|
280
|
+
label: guard.name,
|
|
281
|
+
says: guard.check,
|
|
282
|
+
emoji: guard.emoji,
|
|
283
|
+
example: `${guard.id}:${guard.version}`,
|
|
284
|
+
enabled: guard.enabled,
|
|
285
|
+
}));
|
|
286
|
+
export const GATE_PARTS = listGates().map(gate => ({
|
|
287
|
+
id: `gate:${gate.id}`,
|
|
288
|
+
kind: 'gate',
|
|
289
|
+
label: gate.name,
|
|
290
|
+
says: `When ${gate.when}: ${gate.then}; otherwise ${gate.otherwise}.`,
|
|
291
|
+
emoji: gate.emoji,
|
|
292
|
+
example: `${gate.id}:${gate.version}`,
|
|
293
|
+
enabled: gate.enabled,
|
|
294
|
+
}));
|
|
295
|
+
export const TRACK_PARTS = listTracks().map(track => ({
|
|
296
|
+
id: `track:${track.id}`,
|
|
297
|
+
kind: 'track',
|
|
298
|
+
label: track.name,
|
|
299
|
+
says: track.description,
|
|
300
|
+
emoji: track.emoji,
|
|
301
|
+
example: `${track.id}:${track.version}`,
|
|
302
|
+
enabled: track.enabled,
|
|
303
|
+
}));
|
|
265
304
|
export const CANVAS_PART_PLUGINS = [
|
|
266
305
|
partsPlugin('agents', 'Agents', AGENT_PARTS),
|
|
267
306
|
partsPlugin('connections', 'Connections', CONNECTION_PARTS),
|
|
@@ -273,6 +312,9 @@ export const CANVAS_PART_PLUGINS = [
|
|
|
273
312
|
partsPlugin('protocols', 'Protocols', PROTOCOL_PARTS),
|
|
274
313
|
partsPlugin('ui', 'UI', UI_PARTS),
|
|
275
314
|
partsPlugin('avatars', 'Avatars', AVATAR_PARTS),
|
|
315
|
+
partsPlugin('guards', 'Guards', GUARD_PARTS),
|
|
316
|
+
partsPlugin('gates', 'Gates', GATE_PARTS),
|
|
317
|
+
partsPlugin('tracks', 'Tracks', TRACK_PARTS),
|
|
276
318
|
];
|
|
277
319
|
/** The toolbox's reactor, its named plugins disabled; a name no plugin has is refused. */
|
|
278
320
|
export function canvasPartsReactor(disabled = [], plugins = CANVAS_PART_PLUGINS) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './verdict';
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The referee: one pure function of a Battle's record, `verdictOf`, for the
|
|
3
|
+
* three ways a Battle is decided. A race goes to the contestant done first
|
|
4
|
+
* within the clock, and is a draw when the clock ends first; a game goes to
|
|
5
|
+
* the higher score the arena kept; a challenge goes to the higher measure a
|
|
6
|
+
* Guard gave each outcome, equal measures tying on time. Tested without a
|
|
7
|
+
* browser.
|
|
8
|
+
*
|
|
9
|
+
* @module battles/verdict
|
|
10
|
+
*/
|
|
11
|
+
import type { BattleSpec } from '../types/agentspecs';
|
|
12
|
+
/** One contestant's side of the record. */
|
|
13
|
+
export interface BattleContestantRecord {
|
|
14
|
+
/** The contestant's id in the Battle. */
|
|
15
|
+
id: string;
|
|
16
|
+
/** When it reported done, as a time in milliseconds; unset while it runs. */
|
|
17
|
+
doneAt?: number;
|
|
18
|
+
/** How many turns it took. */
|
|
19
|
+
turns: number;
|
|
20
|
+
/** How many tool calls it made. */
|
|
21
|
+
toolCalls: number;
|
|
22
|
+
/** A challenge: the Guard's measure of its outcome, between 0 and 1. */
|
|
23
|
+
measure?: number;
|
|
24
|
+
/** A game: its score, as the arena kept it. */
|
|
25
|
+
score?: number;
|
|
26
|
+
/** Its final output, for the measure and the result card. */
|
|
27
|
+
output?: string;
|
|
28
|
+
}
|
|
29
|
+
/** A game: one move, with its tick. */
|
|
30
|
+
export interface BattleMove {
|
|
31
|
+
contestant: string;
|
|
32
|
+
tick: number;
|
|
33
|
+
at: number;
|
|
34
|
+
tool: string;
|
|
35
|
+
args?: Record<string, unknown>;
|
|
36
|
+
}
|
|
37
|
+
/** What a played Battle leaves. */
|
|
38
|
+
export interface BattleRecord {
|
|
39
|
+
/** The Battle, `id:version`. */
|
|
40
|
+
battle: string;
|
|
41
|
+
/** When every contestant was started, as a time in milliseconds. */
|
|
42
|
+
startedAt: number;
|
|
43
|
+
/** When it ended, on the referee's rule or the clock; unset while it runs. */
|
|
44
|
+
endedAt?: number;
|
|
45
|
+
contestants: BattleContestantRecord[];
|
|
46
|
+
/** A game: every move, with its tick. */
|
|
47
|
+
moves: BattleMove[];
|
|
48
|
+
}
|
|
49
|
+
/** One line of the standings: a contestant, what it is ranked on, and its time. */
|
|
50
|
+
export interface BattleStanding {
|
|
51
|
+
id: string;
|
|
52
|
+
/** Seconds from the start to done, when it reported done. */
|
|
53
|
+
seconds?: number;
|
|
54
|
+
/** The score or the measure, when it has one. */
|
|
55
|
+
value?: number;
|
|
56
|
+
}
|
|
57
|
+
/** What the referee says. */
|
|
58
|
+
export interface BattleVerdict {
|
|
59
|
+
outcome: 'won' | 'draw' | 'unfinished';
|
|
60
|
+
/** The winner's id, when there is one. */
|
|
61
|
+
winner?: string;
|
|
62
|
+
/** Why, in a sentence. */
|
|
63
|
+
why: string;
|
|
64
|
+
/** Every contestant, best first. */
|
|
65
|
+
standings: BattleStanding[];
|
|
66
|
+
}
|
|
67
|
+
/** Whether the clock of a Battle has run out at a time. */
|
|
68
|
+
export declare function clockEnded(spec: BattleSpec, record: BattleRecord, now: number): boolean;
|
|
69
|
+
/** The seconds left on the clock at a time, never under zero. */
|
|
70
|
+
export declare function secondsLeft(spec: BattleSpec, record: BattleRecord, now: number): number;
|
|
71
|
+
/** What the referee says of a record, by the Battle's rule. */
|
|
72
|
+
export declare function verdictOf(spec: BattleSpec, record: BattleRecord): BattleVerdict;
|
|
73
|
+
/** A record at the start of a Battle: every contestant started, nothing done. */
|
|
74
|
+
export declare function startRecord(spec: BattleSpec, startedAt: number): BattleRecord;
|
|
75
|
+
/** Whether the Battle's own rule ends it now: a race once someone is done, a game once the arena says so. */
|
|
76
|
+
export declare function ruleEnds(spec: BattleSpec, record: BattleRecord, arenaOver?: boolean): boolean;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
|
+
* Distributed under the terms of the Modified BSD License.
|
|
4
|
+
*/
|
|
5
|
+
const seconds = (record, contestant) => contestant.doneAt === undefined
|
|
6
|
+
? undefined
|
|
7
|
+
: Math.max(0, (contestant.doneAt - record.startedAt) / 1000);
|
|
8
|
+
/** Whether the clock of a Battle has run out at a time. */
|
|
9
|
+
export function clockEnded(spec, record, now) {
|
|
10
|
+
return now - record.startedAt >= spec.clockSeconds * 1000;
|
|
11
|
+
}
|
|
12
|
+
/** The seconds left on the clock at a time, never under zero. */
|
|
13
|
+
export function secondsLeft(spec, record, now) {
|
|
14
|
+
return Math.max(0, spec.clockSeconds - (now - record.startedAt) / 1000);
|
|
15
|
+
}
|
|
16
|
+
const byId = (spec, id) => spec.contestants.find(c => c.id === id)?.name || id;
|
|
17
|
+
const unfinished = (standings, why) => ({ outcome: 'unfinished', why, standings });
|
|
18
|
+
const draw = (standings, why) => ({
|
|
19
|
+
outcome: 'draw',
|
|
20
|
+
why,
|
|
21
|
+
standings,
|
|
22
|
+
});
|
|
23
|
+
function firstDone(spec, record) {
|
|
24
|
+
const within = record.contestants
|
|
25
|
+
.map(contestant => ({
|
|
26
|
+
id: contestant.id,
|
|
27
|
+
seconds: seconds(record, contestant),
|
|
28
|
+
}))
|
|
29
|
+
.filter((standing) => standing.seconds !== undefined && standing.seconds <= spec.clockSeconds)
|
|
30
|
+
.sort((a, b) => a.seconds - b.seconds);
|
|
31
|
+
const rest = record.contestants
|
|
32
|
+
.filter(contestant => !within.some(standing => standing.id === contestant.id))
|
|
33
|
+
.map(contestant => ({ id: contestant.id }));
|
|
34
|
+
const standings = [...within, ...rest];
|
|
35
|
+
if (within.length === 0) {
|
|
36
|
+
return record.endedAt === undefined
|
|
37
|
+
? unfinished(standings, 'Nobody is done yet.')
|
|
38
|
+
: draw(standings, `The clock ended first: nobody was done within ${spec.clockSeconds} seconds.`);
|
|
39
|
+
}
|
|
40
|
+
const [first, second] = within;
|
|
41
|
+
if (second && second.seconds === first.seconds) {
|
|
42
|
+
return draw(standings, `${byId(spec, first.id)} and ${byId(spec, second.id)} were done at the same instant.`);
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
outcome: 'won',
|
|
46
|
+
winner: first.id,
|
|
47
|
+
why: `${byId(spec, first.id)} was done first, in ${first.seconds.toFixed(1)} seconds.`,
|
|
48
|
+
standings,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function highest(spec, record, value, what, tieOnTime) {
|
|
52
|
+
const standings = record.contestants
|
|
53
|
+
.map(contestant => ({
|
|
54
|
+
id: contestant.id,
|
|
55
|
+
value: value(contestant),
|
|
56
|
+
seconds: seconds(record, contestant),
|
|
57
|
+
}))
|
|
58
|
+
.sort((a, b) => (b.value ?? -Infinity) - (a.value ?? -Infinity) ||
|
|
59
|
+
(a.seconds ?? Infinity) - (b.seconds ?? Infinity));
|
|
60
|
+
if (standings.every(standing => standing.value === undefined)) {
|
|
61
|
+
return unfinished(standings, `No ${what} yet.`);
|
|
62
|
+
}
|
|
63
|
+
if (record.endedAt === undefined) {
|
|
64
|
+
return unfinished(standings, `The ${what}s are not final: the Battle is still on.`);
|
|
65
|
+
}
|
|
66
|
+
const [first, second] = standings;
|
|
67
|
+
if (second && second.value === first.value) {
|
|
68
|
+
if (tieOnTime &&
|
|
69
|
+
first.seconds !== undefined &&
|
|
70
|
+
second.seconds !== undefined &&
|
|
71
|
+
first.seconds !== second.seconds) {
|
|
72
|
+
return {
|
|
73
|
+
outcome: 'won',
|
|
74
|
+
winner: first.id,
|
|
75
|
+
why: `${byId(spec, first.id)} and ${byId(spec, second.id)} measured ${first.value}; ${byId(spec, first.id)} was done first.`,
|
|
76
|
+
standings,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
return draw(standings, `${byId(spec, first.id)} and ${byId(spec, second.id)} both ${what}d ${first.value}.`);
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
outcome: 'won',
|
|
83
|
+
winner: first.id,
|
|
84
|
+
why: `${byId(spec, first.id)} ${what}d ${first.value}, ${byId(spec, second?.id ?? '')} ${second?.value ?? 'nothing'}.`,
|
|
85
|
+
standings,
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
/** What the referee says of a record, by the Battle's rule. */
|
|
89
|
+
export function verdictOf(spec, record) {
|
|
90
|
+
switch (spec.referee.decidesBy) {
|
|
91
|
+
case 'first_done':
|
|
92
|
+
return firstDone(spec, record);
|
|
93
|
+
case 'score':
|
|
94
|
+
return highest(spec, record, contestant => contestant.score, 'score', false);
|
|
95
|
+
case 'measure':
|
|
96
|
+
return highest(spec, record, contestant => contestant.measure, 'measure', true);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
/** A record at the start of a Battle: every contestant started, nothing done. */
|
|
100
|
+
export function startRecord(spec, startedAt) {
|
|
101
|
+
return {
|
|
102
|
+
battle: `${spec.id}:${spec.version}`,
|
|
103
|
+
startedAt,
|
|
104
|
+
contestants: spec.contestants.map(contestant => ({
|
|
105
|
+
id: contestant.id,
|
|
106
|
+
turns: 0,
|
|
107
|
+
toolCalls: 0,
|
|
108
|
+
})),
|
|
109
|
+
moves: [],
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
/** Whether the Battle's own rule ends it now: a race once someone is done, a game once the arena says so. */
|
|
113
|
+
export function ruleEnds(spec, record, arenaOver = false) {
|
|
114
|
+
switch (spec.referee.decidesBy) {
|
|
115
|
+
case 'first_done':
|
|
116
|
+
return record.contestants.some(contestant => contestant.doneAt !== undefined);
|
|
117
|
+
case 'score':
|
|
118
|
+
return arenaOver;
|
|
119
|
+
case 'measure':
|
|
120
|
+
return record.contestants.every(contestant => contestant.doneAt !== undefined);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -88,7 +88,7 @@ export function SpeechBalloon({ text, more = false, onOpen, above, side = 'above
|
|
|
88
88
|
width: wide || listed || offered || whole || (current && attachment)
|
|
89
89
|
? 300
|
|
90
90
|
: 'max-content',
|
|
91
|
-
bg: 'canvas.
|
|
91
|
+
bg: 'canvas.overlay',
|
|
92
92
|
// The current balloon is the agent's voice now: its accent's edge.
|
|
93
93
|
borderColor: current ? 'accent.muted' : 'border.default',
|
|
94
94
|
// The tail, toward what speaks.
|
|
@@ -99,7 +99,7 @@ export function SpeechBalloon({ text, more = false, onOpen, above, side = 'above
|
|
|
99
99
|
[align]: `${tailAt - 6}px`,
|
|
100
100
|
width: 12,
|
|
101
101
|
height: 12,
|
|
102
|
-
bg: 'canvas.
|
|
102
|
+
bg: 'canvas.overlay',
|
|
103
103
|
borderRight: '1px solid',
|
|
104
104
|
borderBottom: '1px solid',
|
|
105
105
|
borderColor: current ? 'accent.muted' : 'border.default',
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* that needs one; both are the same question, and were drawn twice — a menu
|
|
6
6
|
* here, a column of radio buttons there. This is that control, once: the
|
|
7
7
|
* chosen entry reads on the trigger exactly as the entries read in the list,
|
|
8
|
-
* name
|
|
9
|
-
*
|
|
8
|
+
* name first and labels after it, so the closed control and the open one
|
|
9
|
+
* show the same thing.
|
|
10
10
|
*
|
|
11
11
|
* An `ActionMenu` rather than a `<select>`: what tells two entries apart is
|
|
12
12
|
* their labels — the environment name, the provider, the credits it burns —
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @module components/code-sandboxes/CodeSandboxEnvironmentSelect
|
|
16
16
|
*/
|
|
17
|
-
import type
|
|
17
|
+
import { type JSX } from 'react';
|
|
18
18
|
/** One choice of the dropdown. */
|
|
19
19
|
export type ICodeSandboxEnvironmentOption = {
|
|
20
20
|
/** Identity of the choice, as the host knows it. */
|
|
@@ -42,8 +42,8 @@ export type ICodeSandboxEnvironmentOption = {
|
|
|
42
42
|
sizeClass?: string;
|
|
43
43
|
/**
|
|
44
44
|
* Whether the choice cannot be launched: a version whose Datalayer artifact
|
|
45
|
-
* was never built, or one nothing prices.
|
|
46
|
-
*
|
|
45
|
+
* was never built, or one nothing prices. Hidden unless the person asks to
|
|
46
|
+
* see them with the *Show disabled environments* toggle; then shown greyed.
|
|
47
47
|
*/
|
|
48
48
|
disabled?: boolean;
|
|
49
49
|
/**
|
|
@@ -66,9 +66,8 @@ export type ICodeSandboxEnvironmentSelectProps = {
|
|
|
66
66
|
/**
|
|
67
67
|
* Width of the overlay, `xlarge` by default.
|
|
68
68
|
*
|
|
69
|
-
* Wide
|
|
70
|
-
*
|
|
71
|
-
* provider, where it runs — is nearly as wide as the row itself.
|
|
69
|
+
* Wide so a priced entry's labels usually fit beside its name; when they do
|
|
70
|
+
* not, they wrap under it rather than squeezing the name.
|
|
72
71
|
*/
|
|
73
72
|
overlayWidth?: 'small' | 'medium' | 'large' | 'xlarge' | 'auto';
|
|
74
73
|
};
|
|
@@ -1,19 +1,118 @@
|
|
|
1
|
-
import { jsxs as _jsxs,
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
4
|
+
* Distributed under the terms of the Modified BSD License.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* The one dropdown for choosing where code runs.
|
|
8
|
+
*
|
|
9
|
+
* The launcher asks it of a new sandbox and the picker asks it of an editor
|
|
10
|
+
* that needs one; both are the same question, and were drawn twice — a menu
|
|
11
|
+
* here, a column of radio buttons there. This is that control, once: the
|
|
12
|
+
* chosen entry reads on the trigger exactly as the entries read in the list,
|
|
13
|
+
* name first and labels after it, so the closed control and the open one
|
|
14
|
+
* show the same thing.
|
|
15
|
+
*
|
|
16
|
+
* An `ActionMenu` rather than a `<select>`: what tells two entries apart is
|
|
17
|
+
* their labels — the environment name, the provider, the credits it burns —
|
|
18
|
+
* and no `<option>` can carry those.
|
|
19
|
+
*
|
|
20
|
+
* @module components/code-sandboxes/CodeSandboxEnvironmentSelect
|
|
21
|
+
*/
|
|
22
|
+
import { useId, useState } from 'react';
|
|
2
23
|
import { Box } from '@datalayer/primer-addons';
|
|
3
|
-
import { ActionList, ActionMenu, Label, Link, Text } from '@primer/react';
|
|
24
|
+
import { ActionList, ActionMenu, Label, Link, Text, ToggleSwitch, } from '@primer/react';
|
|
25
|
+
/** Ellipsis on one line: the full text stays in the `title` tooltip. */
|
|
26
|
+
const TRUNCATE = {
|
|
27
|
+
minWidth: 0,
|
|
28
|
+
overflow: 'hidden',
|
|
29
|
+
textOverflow: 'ellipsis',
|
|
30
|
+
whiteSpace: 'nowrap',
|
|
31
|
+
};
|
|
4
32
|
/**
|
|
5
|
-
* The labels of an option,
|
|
33
|
+
* The labels of an option: cost, GPU, version, size, name, provider, where.
|
|
6
34
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
35
|
+
* In the list they wrap among themselves (`wrap`), so a long environment id
|
|
36
|
+
* never pushes the row past the overlay. On the trigger they stay on one
|
|
37
|
+
* line and clip, since the trigger is one line high.
|
|
10
38
|
*/
|
|
11
39
|
function OptionLabels(props) {
|
|
40
|
+
const { option, wrap } = props;
|
|
41
|
+
const labels = [];
|
|
42
|
+
if (option.burningRate) {
|
|
43
|
+
labels.push({
|
|
44
|
+
key: 'rate',
|
|
45
|
+
text: `${option.burningRate} credits/second`,
|
|
46
|
+
variant: 'sponsors',
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
if (option.gpu) {
|
|
50
|
+
labels.push({ key: 'gpu', text: 'GPU', variant: 'success' });
|
|
51
|
+
}
|
|
52
|
+
if (option.version) {
|
|
53
|
+
labels.push({ key: 'version', text: option.version, variant: 'secondary' });
|
|
54
|
+
}
|
|
55
|
+
if (option.sizeClass) {
|
|
56
|
+
labels.push({ key: 'size', text: option.sizeClass, variant: 'secondary' });
|
|
57
|
+
}
|
|
58
|
+
if (option.name) {
|
|
59
|
+
labels.push({ key: 'name', text: option.name });
|
|
60
|
+
}
|
|
61
|
+
if (option.providerTitle) {
|
|
62
|
+
labels.push({
|
|
63
|
+
key: 'provider',
|
|
64
|
+
text: option.providerTitle,
|
|
65
|
+
variant: 'accent',
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
if (option.location) {
|
|
69
|
+
labels.push({
|
|
70
|
+
key: 'location',
|
|
71
|
+
text: option.location,
|
|
72
|
+
variant: 'secondary',
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return (_jsx(Box, { as: "span", sx: {
|
|
76
|
+
display: 'flex',
|
|
77
|
+
alignItems: 'center',
|
|
78
|
+
gap: 1,
|
|
79
|
+
minWidth: 0,
|
|
80
|
+
maxWidth: '100%',
|
|
81
|
+
flexWrap: wrap ? 'wrap' : 'nowrap',
|
|
82
|
+
overflow: wrap ? undefined : 'hidden',
|
|
83
|
+
}, children: labels.map(label => (_jsx(Label, { size: "small", variant: label.variant, title: label.text, sx: { ...TRUNCATE, maxWidth: '100%', flexShrink: wrap ? 1 : 0 }, children: label.text }, label.key))) }));
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* A row's content: the name on one line, ellipsed, and its labels beside it
|
|
87
|
+
* when they fit, under it when they do not. The name keeps at least 12rem
|
|
88
|
+
* before the labels give way to a line of their own.
|
|
89
|
+
*/
|
|
90
|
+
function OptionRow(props) {
|
|
12
91
|
const { option } = props;
|
|
13
|
-
return (_jsxs(Box, { as: "span",
|
|
92
|
+
return (_jsxs(Box, { as: "span", sx: {
|
|
93
|
+
display: 'flex',
|
|
94
|
+
flexWrap: 'wrap',
|
|
95
|
+
alignItems: 'center',
|
|
96
|
+
justifyContent: 'space-between',
|
|
97
|
+
columnGap: 2,
|
|
98
|
+
rowGap: 1,
|
|
99
|
+
width: '100%',
|
|
100
|
+
minWidth: 0,
|
|
101
|
+
}, children: [_jsx(Text, { as: "span", title: option.title, sx: { ...TRUNCATE, flex: '1 1 12rem', display: 'block' }, children: option.title }), _jsx(OptionLabels, { option: option, wrap: true })] }));
|
|
14
102
|
}
|
|
15
103
|
export function CodeSandboxEnvironmentSelect(props) {
|
|
16
104
|
const { disabled, onSelect, options, overlayWidth = 'xlarge', placeholder = 'Select an environment', selectedKey, } = props;
|
|
105
|
+
const toggleLabelId = useId();
|
|
106
|
+
/*
|
|
107
|
+
* What cannot be launched is hidden by default: a list of greyed rows reads
|
|
108
|
+
* as noise when choosing where to run. The toggle shows them, greyed, with
|
|
109
|
+
* the build link beside them, for whoever is looking for one.
|
|
110
|
+
*/
|
|
111
|
+
const [showDisabled, setShowDisabled] = useState(false);
|
|
112
|
+
const hasDisabled = options.some(option => option.disabled);
|
|
113
|
+
const visible = showDisabled
|
|
114
|
+
? options
|
|
115
|
+
: options.filter(option => !option.disabled);
|
|
17
116
|
const selected = options.find(option => option.key === selectedKey);
|
|
18
117
|
/*
|
|
19
118
|
* What costs credits leads.
|
|
@@ -28,7 +127,7 @@ export function CodeSandboxEnvironmentSelect(props) {
|
|
|
28
127
|
...subset.filter(option => option.burningRate),
|
|
29
128
|
...subset.filter(option => !option.burningRate),
|
|
30
129
|
];
|
|
31
|
-
const grouped =
|
|
130
|
+
const grouped = visible.some(option => option.group);
|
|
32
131
|
/*
|
|
33
132
|
* Within a group when there are groups. A grouped list has already been put
|
|
34
133
|
* in the order its headings should read — what is yours, your organizations',
|
|
@@ -37,9 +136,9 @@ export function CodeSandboxEnvironmentSelect(props) {
|
|
|
37
136
|
* environment awaiting its first build is, would move your heading below the
|
|
38
137
|
* platform's.
|
|
39
138
|
*/
|
|
40
|
-
const ordered = grouped ?
|
|
139
|
+
const ordered = grouped ? visible : priceFirst(visible);
|
|
41
140
|
const groups = grouped
|
|
42
|
-
? Array.from(new Set(
|
|
141
|
+
? Array.from(new Set(visible.map(option => option.group ?? '')))
|
|
43
142
|
: [];
|
|
44
143
|
const rows = (subset) => subset.map(option => (_jsxs(ActionList.Item, { selected: option.key === selectedKey, disabled: option.disabled, onSelect: () => {
|
|
45
144
|
// A choice that cannot be launched is shown, not chosen: selecting
|
|
@@ -47,25 +146,32 @@ export function CodeSandboxEnvironmentSelect(props) {
|
|
|
47
146
|
if (!option.disabled) {
|
|
48
147
|
onSelect(option.key);
|
|
49
148
|
}
|
|
50
|
-
}, children: [
|
|
149
|
+
}, children: [_jsx(OptionRow, { option: option }), option.disabled && option.buildHref ? (
|
|
51
150
|
// What to do about it, where it is noticed: the version's page is
|
|
52
151
|
// where a build for this variant is started (E1-21).
|
|
53
152
|
_jsx(ActionList.Description, { variant: "block", children: _jsx(Link, { href: option.buildHref, onClick: event => event.stopPropagation(), sx: { pointerEvents: 'auto' }, children: "Build for this variant" }) })) : null] }, option.key)));
|
|
54
|
-
return (_jsxs(ActionMenu, { children: [_jsx(ActionMenu.Button, { block: true, disabled: disabled || ordered.length === 0,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
153
|
+
return (_jsxs(_Fragment, { children: [_jsxs(ActionMenu, { children: [_jsx(ActionMenu.Button, { block: true, disabled: disabled || ordered.length === 0,
|
|
154
|
+
// The button centers its text by default; the trigger must read like
|
|
155
|
+
// the rows below it — name left, labels right.
|
|
156
|
+
sx: {
|
|
157
|
+
// The content of a Primer button is a grid whose middle track is
|
|
158
|
+
// content-sized, which hugs the labels against the title. The
|
|
159
|
+
// template areas stay "leadingVisual text trailingVisual": only
|
|
160
|
+
// that track changes, from content-sized to 1fr.
|
|
161
|
+
'& [data-component="buttonContent"]': {
|
|
162
|
+
flex: 1,
|
|
163
|
+
minWidth: 0,
|
|
164
|
+
gridTemplateColumns: 'min-content minmax(0, 1fr) min-content',
|
|
165
|
+
},
|
|
166
|
+
'& [data-component="text"]': {
|
|
167
|
+
width: '100%',
|
|
168
|
+
minWidth: 0,
|
|
169
|
+
textAlign: 'left',
|
|
170
|
+
},
|
|
171
|
+
}, children: selected ? (_jsxs(Box, { as: "span", display: "flex", width: "100%", minWidth: 0, alignItems: "center", justifyContent: "space-between", gap: 2, children: [_jsx(Text, { as: "span", title: selected.title, sx: { ...TRUNCATE, flex: '1 1 auto', display: 'block' }, children: selected.title }), _jsx(OptionLabels, { option: selected })] })) : (placeholder) }), _jsx(ActionMenu.Overlay, { width: overlayWidth, maxHeight: "large", overflow: "auto", children: _jsx(ActionList, { selectionVariant: "single", children: grouped
|
|
172
|
+
? groups.map(group => (_jsxs(ActionList.Group, { children: [group ? (_jsx(ActionList.GroupHeading, { children: group })) : null, rows(priceFirst(ordered.filter(option => (option.group ?? '') === group)))] }, group || 'ungrouped')))
|
|
173
|
+
: rows(ordered) }) })] }), hasDisabled ? (_jsxs(Box, { display: "flex", alignItems: "center", gap: 2, mt: 2, children: [_jsx(Text, { id: toggleLabelId, sx: { fontSize: 1, color: 'fg.muted' }, children: "Show disabled environments" }), _jsx(ToggleSwitch, { "aria-labelledby": toggleLabelId, size: "small", checked: showDisabled,
|
|
174
|
+
// Controlled, Primer's switch flips only through its click.
|
|
175
|
+
onClick: () => setShowDisabled(!showDisabled) })] })) : null] }));
|
|
70
176
|
}
|
|
71
177
|
export default CodeSandboxEnvironmentSelect;
|
|
@@ -99,6 +99,9 @@ export function CodeSandboxPicker(props) {
|
|
|
99
99
|
location: desc.location,
|
|
100
100
|
burningRate: desc.burningRate,
|
|
101
101
|
gpu: desc.gpu,
|
|
102
|
+
// An environment the platform switched off where it is defined —
|
|
103
|
+
// Kaggle, Daytona GPU — is kept behind the dropdown's toggle.
|
|
104
|
+
disabled: desc.environment?.disabled || undefined,
|
|
102
105
|
group,
|
|
103
106
|
}))), [groupedRuntimeDescs]);
|
|
104
107
|
/**
|
|
@@ -60,14 +60,15 @@ export declare function environmentVersionHref(uid: string, version?: number): s
|
|
|
60
60
|
/**
|
|
61
61
|
* Whether a sandbox of this entry can be started from here.
|
|
62
62
|
*
|
|
63
|
-
* A platform entry
|
|
63
|
+
* A platform entry can unless the platform switched it off where it is
|
|
64
|
+
* defined (`disabled`, Kaggle and Daytona GPU among them). A user environment can once a version is
|
|
64
65
|
* promoted AND that version has a Datalayer artifact: without one the Operator
|
|
65
66
|
* refuses the launch with `DL_ENV_ARTIFACT_MISSING`, so offering it would be
|
|
66
67
|
* offering a failure. A listing that does not say which variants are built —
|
|
67
68
|
* an older Runtimes — is believed rather than doubted: the entry stays
|
|
68
69
|
* offered, and the refusal, if any, comes from the platform as it did before.
|
|
69
70
|
*/
|
|
70
|
-
export declare function isCodeSandboxEnvironmentLaunchable(environment: Pick<IDatalayerEnvironment, 'origin' | 'promotedVersion' | 'availableVariants' | 'burning_rate'>): boolean;
|
|
71
|
+
export declare function isCodeSandboxEnvironmentLaunchable(environment: Pick<IDatalayerEnvironment, 'origin' | 'promotedVersion' | 'availableVariants' | 'burning_rate' | 'disabled'>): boolean;
|
|
71
72
|
/**
|
|
72
73
|
* Where "Build for this variant" leads: the version's own page, which is where
|
|
73
74
|
* a build of it is started. Only offered for an entry that has a version to
|
|
@@ -64,7 +64,8 @@ export function environmentVersionHref(uid, version) {
|
|
|
64
64
|
/**
|
|
65
65
|
* Whether a sandbox of this entry can be started from here.
|
|
66
66
|
*
|
|
67
|
-
* A platform entry
|
|
67
|
+
* A platform entry can unless the platform switched it off where it is
|
|
68
|
+
* defined (`disabled`, Kaggle and Daytona GPU among them). A user environment can once a version is
|
|
68
69
|
* promoted AND that version has a Datalayer artifact: without one the Operator
|
|
69
70
|
* refuses the launch with `DL_ENV_ARTIFACT_MISSING`, so offering it would be
|
|
70
71
|
* offering a failure. A listing that does not say which variants are built —
|
|
@@ -73,7 +74,7 @@ export function environmentVersionHref(uid, version) {
|
|
|
73
74
|
*/
|
|
74
75
|
export function isCodeSandboxEnvironmentLaunchable(environment) {
|
|
75
76
|
if (environment.origin !== 'user') {
|
|
76
|
-
return
|
|
77
|
+
return !environment.disabled;
|
|
77
78
|
}
|
|
78
79
|
if (!environment.promotedVersion) {
|
|
79
80
|
return false;
|
package/lib/index.d.ts
CHANGED
|
@@ -9,4 +9,4 @@ export * from './identity';
|
|
|
9
9
|
export * from './config';
|
|
10
10
|
export * from './specs';
|
|
11
11
|
export * from './apps';
|
|
12
|
-
export type { AgentRuntimeData, Agentspec, BenchmarkSpec, ChatCommonProps, TeamSpec,
|
|
12
|
+
export type { AgentRuntimeData, Agentspec, BenchmarkSpec, ChatCommonProps, TeamSpec, AgentGuardrail, EvalSpec, TriggerSpec, OutputSpec, NotificationChannelSpec, MCPServer, SkillSpec, SkillInfo, SkillStatus, EnvvarSpec, ToolCallStartContext, ToolCallCompleteContext, } from './types';
|
|
@@ -176,6 +176,14 @@ export interface IDatalayerEnvironment {
|
|
|
176
176
|
* name its owner gave it, `steps-drill`, rather than that uid (E2-19).
|
|
177
177
|
*/
|
|
178
178
|
label?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Set on a platform entry its definition switches off — Kaggle, Daytona
|
|
181
|
+
* GPU — which is kept and still listed, but offered only behind *Show
|
|
182
|
+
* disabled environments*, greyed, and never picked. Decided where the
|
|
183
|
+
* environment is defined (`code_sandboxes` `SandboxEnvironment.disabled`)
|
|
184
|
+
* and carried by `GET /environments`; nothing here keeps its own list.
|
|
185
|
+
*/
|
|
186
|
+
disabled?: boolean;
|
|
179
187
|
}
|
|
180
188
|
/**
|
|
181
189
|
* A refusal, as every registry route answers one: a code, a
|