@jucie.io/cli 1.0.20 → 1.0.23
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/interactivity.md +51 -13
- package/dist/jucie.js +676 -239
- package/dist/layout.md +83 -24
- package/dist/prerenderWorker.js +13 -0
- package/dist/stage/library/preact.js +53 -0
- package/dist/stage/library/react.js +53 -0
- package/dist/stage/library/vue.js +53 -0
- package/dist/stage/prod.js +53 -1
- package/dist/stage/sdk/chunks/chunk-6BTG63JN.js +1 -0
- package/dist/stage/sdk/chunks/chunk-7YIGPKNU.js +1 -0
- package/dist/stage/sdk/chunks/chunk-IIZ233AH.js +1 -0
- package/dist/stage/sdk/preact-server.js +1 -0
- package/dist/stage/sdk/preact.js +1 -0
- package/dist/stage/sdk/react-server.js +1 -0
- package/dist/stage/sdk/react.js +1 -0
- package/dist/stage/sdk/vue-server.js +1 -0
- package/dist/stage/sdk/vue.js +1 -0
- package/dist/stage/server.js +53 -0
- package/dist/stage/styles.js +11845 -0
- package/dist/stage-bundles/preact/chunks/aiAttachmentContracts-S6BKHEJ6.js +1 -0
- package/dist/stage-bundles/preact/chunks/aiMessagesContracts-RZ3KTCRZ.js +1 -0
- package/dist/stage-bundles/preact/chunks/aiRelay-6QWC3MID.js +1 -0
- package/dist/stage-bundles/preact/chunks/aiSessionContracts-ISZHL5U5.js +1 -0
- package/dist/stage-bundles/preact/chunks/assets-4NXDKJMC.js +1 -0
- package/dist/stage-bundles/preact/chunks/capture-MXL3B5OM.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-3Q3DRUNQ.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-426Z5MME.js +9 -0
- package/dist/stage-bundles/preact/chunks/chunk-4WXMFOGZ.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-5H3EE23B.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-5HNN2HVX.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-6J3NV2ZA.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-BXWISJ2Z.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-CNULBMOT.js +99 -0
- package/dist/stage-bundles/preact/chunks/chunk-DLROTED3.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-DUPQKWW3.js +3 -0
- package/dist/stage-bundles/preact/chunks/chunk-FEFZSXXM.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-FGKRC2QO.js +4 -0
- package/dist/stage-bundles/preact/chunks/chunk-FWEUCYZO.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-GCPKA3IC.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-KUZTBTFR.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-P722OZCF.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-RDRAQE76.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-RQACOEIA.js +1 -0
- package/dist/stage-bundles/preact/chunks/{chunk-RYWOKFM7.js → chunk-S7MEYFKB.js} +1 -1
- package/dist/stage-bundles/preact/chunks/chunk-TKHZCD63.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-UNPHH2YK.js +7 -0
- package/dist/stage-bundles/preact/chunks/{chunk-H5NHEM4C.js → chunk-WN5EDULP.js} +1 -1
- package/dist/stage-bundles/preact/chunks/chunk-YQ22OWEN.js +6 -0
- package/dist/stage-bundles/preact/chunks/{chunk-NRRFAMFA.js → chunk-ZDH2DALT.js} +1 -1
- package/dist/stage-bundles/preact/chunks/contentEditor-KSOW7DQ4.js +1 -0
- package/dist/stage-bundles/preact/chunks/design-5WJ7WCTU.js +70 -0
- package/dist/stage-bundles/preact/chunks/files-2IVIODQO.js +1 -0
- package/dist/stage-bundles/preact/chunks/history-AJWJFNTH.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-3EOYBBCF.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-4GJ7OQPP.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-COYGSKNQ.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-DEGR6IFX.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-QJ4F72CN.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-Y73Z2R2Q.js +1 -0
- package/dist/stage-bundles/preact/chunks/nodeGraph-MIYBM2ME.js +1 -0
- package/dist/stage-bundles/preact/chunks/preview-MRYXCFFB.js +1 -0
- package/dist/stage-bundles/preact/chunks/sync-M5DHAJKK.js +1 -0
- package/dist/stage-bundles/preact/chunks/user-RPWZUUCN.js +1 -0
- package/dist/stage-bundles/preact/chunks/viewport-EE2UKHNS.js +1 -0
- package/dist/stage-bundles/preact/chunks/virtual_empty-main-4HFN7X6Y.js +1 -0
- package/dist/stage-bundles/preact/chunks/window-SHWTQPJX.js +1 -0
- package/dist/stage-bundles/preact/chunks/workbench-PI2NQ6WK.js +1 -0
- package/dist/stage-bundles/preact/entry.js +1 -1
- package/dist/stage-bundles/preact/framework-compat.js +1 -1
- package/dist/stage-bundles/preact/framework-hooks.js +1 -1
- package/dist/stage-bundles/preact/framework-jsx-runtime.js +1 -1
- package/dist/stage-bundles/preact/framework.js +1 -1
- package/dist/stage-bundles/preact/reactive.js +1 -0
- package/dist/stage-bundles/preact/sdk.js +1 -1
- package/dist/stage-bundles/react/chunks/aiAttachmentContracts-S6BKHEJ6.js +1 -0
- package/dist/stage-bundles/react/chunks/aiMessagesContracts-RZ3KTCRZ.js +1 -0
- package/dist/stage-bundles/react/chunks/aiRelay-6QWC3MID.js +1 -0
- package/dist/stage-bundles/react/chunks/aiSessionContracts-ISZHL5U5.js +1 -0
- package/dist/stage-bundles/react/chunks/assets-4NXDKJMC.js +1 -0
- package/dist/stage-bundles/react/chunks/capture-SX5LMYTU.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-3Q3DRUNQ.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-426Z5MME.js +9 -0
- package/dist/stage-bundles/react/chunks/chunk-4WXMFOGZ.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-5FKTA2K4.js +45 -0
- package/dist/stage-bundles/react/chunks/chunk-5HNN2HVX.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-6J3NV2ZA.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-COZYLIUS.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-DLROTED3.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-DUPQKWW3.js +3 -0
- package/dist/stage-bundles/react/chunks/chunk-FEFZSXXM.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-FGKRC2QO.js +4 -0
- package/dist/stage-bundles/react/chunks/chunk-FWEUCYZO.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-GCPKA3IC.js +1 -0
- package/dist/stage-bundles/react/chunks/{chunk-G5RN6RXS.js → chunk-HBUZBWXS.js} +1 -1
- package/dist/stage-bundles/react/chunks/chunk-IN7T7JOC.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-KUZTBTFR.js +1 -0
- package/dist/stage-bundles/react/chunks/{chunk-P3ZDKQWG.js → chunk-LGKXPMSS.js} +1 -1
- package/dist/stage-bundles/react/chunks/chunk-P722OZCF.js +1 -0
- package/dist/stage-bundles/react/chunks/{chunk-KLPU3QNW.js → chunk-PWVNILVW.js} +1 -1
- package/dist/stage-bundles/react/chunks/chunk-RDRAQE76.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-TKHZCD63.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-UNPHH2YK.js +7 -0
- package/dist/stage-bundles/react/chunks/chunk-UQWACM5R.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-YQ22OWEN.js +6 -0
- package/dist/stage-bundles/react/chunks/contentEditor-KSOW7DQ4.js +1 -0
- package/dist/stage-bundles/react/chunks/design-PLV3PDV6.js +70 -0
- package/dist/stage-bundles/react/chunks/files-2IVIODQO.js +1 -0
- package/dist/stage-bundles/react/chunks/history-AJWJFNTH.js +1 -0
- package/dist/stage-bundles/react/chunks/main-3EOYBBCF.js +1 -0
- package/dist/stage-bundles/react/chunks/main-4GJ7OQPP.js +1 -0
- package/dist/stage-bundles/react/chunks/main-COYGSKNQ.js +1 -0
- package/dist/stage-bundles/react/chunks/main-DEGR6IFX.js +1 -0
- package/dist/stage-bundles/react/chunks/main-QJ4F72CN.js +1 -0
- package/dist/stage-bundles/react/chunks/main-Y73Z2R2Q.js +1 -0
- package/dist/stage-bundles/react/chunks/nodeGraph-MIYBM2ME.js +1 -0
- package/dist/stage-bundles/react/chunks/preview-GQEX7ZIJ.js +1 -0
- package/dist/stage-bundles/react/chunks/sync-M5DHAJKK.js +1 -0
- package/dist/stage-bundles/react/chunks/user-RPWZUUCN.js +1 -0
- package/dist/stage-bundles/react/chunks/viewport-EE2UKHNS.js +1 -0
- package/dist/stage-bundles/react/chunks/virtual_empty-main-4HFN7X6Y.js +1 -0
- package/dist/stage-bundles/react/chunks/window-SHWTQPJX.js +1 -0
- package/dist/stage-bundles/react/chunks/workbench-BXYMXCNQ.js +1 -0
- package/dist/stage-bundles/react/entry.js +1 -1
- package/dist/stage-bundles/react/framework-dom-client.js +1 -1
- package/dist/stage-bundles/react/framework-dom.js +1 -1
- package/dist/stage-bundles/react/framework-jsx-runtime.js +1 -1
- package/dist/stage-bundles/react/framework.js +1 -1
- package/dist/stage-bundles/react/reactive.js +1 -0
- package/dist/stage-bundles/react/sdk.js +1 -1
- package/dist/stage-bundles/vue/chunks/aiAttachmentContracts-S6BKHEJ6.js +1 -0
- package/dist/stage-bundles/vue/chunks/aiMessagesContracts-RZ3KTCRZ.js +1 -0
- package/dist/stage-bundles/vue/chunks/aiRelay-6QWC3MID.js +1 -0
- package/dist/stage-bundles/vue/chunks/aiSessionContracts-ISZHL5U5.js +1 -0
- package/dist/stage-bundles/vue/chunks/assets-4NXDKJMC.js +1 -0
- package/dist/stage-bundles/vue/chunks/capture-BNTHDU5P.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-2CVBY2T5.js +99 -0
- package/dist/stage-bundles/vue/chunks/chunk-3Q3DRUNQ.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-4WXMFOGZ.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-5HNN2HVX.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-5Q537YU2.js +9 -0
- package/dist/stage-bundles/vue/chunks/chunk-6J3NV2ZA.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-BAARNJD7.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-DLROTED3.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-DUPQKWW3.js +3 -0
- package/dist/stage-bundles/vue/chunks/chunk-EPZVOVTF.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-FEFZSXXM.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-FGKRC2QO.js +4 -0
- package/dist/stage-bundles/vue/chunks/chunk-FWEUCYZO.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-GCPKA3IC.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-KUZTBTFR.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-P722OZCF.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-QZFBMONF.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-TKHZCD63.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-UNPHH2YK.js +7 -0
- package/dist/stage-bundles/vue/chunks/chunk-XIPQ5BT3.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-YQ22OWEN.js +6 -0
- package/dist/stage-bundles/vue/chunks/{chunk-M3OE4LWW.js → chunk-ZNG3HSBM.js} +1 -1
- package/dist/stage-bundles/vue/chunks/contentEditor-WMYXHKRR.js +1 -0
- package/dist/stage-bundles/vue/chunks/design-N46CCFRQ.js +70 -0
- package/dist/stage-bundles/vue/chunks/files-2IVIODQO.js +1 -0
- package/dist/stage-bundles/vue/chunks/history-AJWJFNTH.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-3EOYBBCF.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-4GJ7OQPP.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-COYGSKNQ.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-DEGR6IFX.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-IDHTCWLF.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-Y73Z2R2Q.js +1 -0
- package/dist/stage-bundles/vue/chunks/nodeGraph-MIYBM2ME.js +1 -0
- package/dist/stage-bundles/vue/chunks/preview-5K5EJBYM.js +1 -0
- package/dist/stage-bundles/vue/chunks/sync-M5DHAJKK.js +1 -0
- package/dist/stage-bundles/vue/chunks/user-RPWZUUCN.js +1 -0
- package/dist/stage-bundles/vue/chunks/viewport-EE2UKHNS.js +1 -0
- package/dist/stage-bundles/vue/chunks/virtual_empty-main-4HFN7X6Y.js +1 -0
- package/dist/stage-bundles/vue/chunks/window-SHWTQPJX.js +1 -0
- package/dist/stage-bundles/vue/chunks/workbench-OX4YXOA5.js +1 -0
- package/dist/stage-bundles/vue/entry.js +1 -1
- package/dist/stage-bundles/vue/framework-jsx-runtime.js +1 -1
- package/dist/stage-bundles/vue/framework.js +1 -1
- package/dist/stage-bundles/vue/reactive.js +1 -0
- package/dist/stage-bundles/vue/sdk.js +1 -1
- package/dist/stage-src/{dev/entry.js → dev.js} +1 -1
- package/dist/workflow.md +7 -0
- package/package.json +28 -21
- package/dist/stage/chunks/addAction-3QC2Z4ZR.js +0 -1
- package/dist/stage/chunks/addAnimationBinding-N3UW27JM.js +0 -1
- package/dist/stage/chunks/addAttribute-MEJIGMHV.js +0 -1
- package/dist/stage/chunks/addComponent-AQQI46C3.js +0 -1
- package/dist/stage/chunks/addComputed-2JNIUCEP.js +0 -1
- package/dist/stage/chunks/addEvent-PN6P6KR5.js +0 -1
- package/dist/stage/chunks/addLifecycleHook-D2UKKFVW.js +0 -1
- package/dist/stage/chunks/addNode-UXIXDXSD.js +0 -1
- package/dist/stage/chunks/addOption-AFCUFOT7.js +0 -1
- package/dist/stage/chunks/addParamToRoute-6LOHCID7.js +0 -1
- package/dist/stage/chunks/addState-RSEYKWQO.js +0 -1
- package/dist/stage/chunks/addStore-AK2FTEON.js +0 -1
- package/dist/stage/chunks/addToken-35LUBJPE.js +0 -1
- package/dist/stage/chunks/addTree-CU7MJAKT.js +0 -1
- package/dist/stage/chunks/addValue-LIQSHZFR.js +0 -1
- package/dist/stage/chunks/aiAttachmentContracts-KGD3EHZQ.js +0 -1
- package/dist/stage/chunks/aiMessagesContracts-QWUORKI3.js +0 -1
- package/dist/stage/chunks/aiRelay-LW2UZKRR.js +0 -1
- package/dist/stage/chunks/aiSessionContracts-RQKGQY4N.js +0 -1
- package/dist/stage/chunks/assets-5J5INILR.js +0 -1
- package/dist/stage/chunks/capture-VQE5664P.js +0 -1
- package/dist/stage/chunks/chunk-2JXGTRSC.js +0 -1
- package/dist/stage/chunks/chunk-3GPQ3HYG.js +0 -1
- package/dist/stage/chunks/chunk-3KR3JD5T.js +0 -1
- package/dist/stage/chunks/chunk-457GNGEV.js +0 -1
- package/dist/stage/chunks/chunk-4KXBOJIC.js +0 -1
- package/dist/stage/chunks/chunk-4UJAZNZX.js +0 -1
- package/dist/stage/chunks/chunk-5N7NET6A.js +0 -1
- package/dist/stage/chunks/chunk-5RVLCYPU.js +0 -1
- package/dist/stage/chunks/chunk-6JNM2JPA.js +0 -1
- package/dist/stage/chunks/chunk-7C53OCBB.js +0 -1
- package/dist/stage/chunks/chunk-7DIGILX7.js +0 -1
- package/dist/stage/chunks/chunk-7H7BUWZP.js +0 -1
- package/dist/stage/chunks/chunk-7SM7WG53.js +0 -1
- package/dist/stage/chunks/chunk-A7T3U7OZ.js +0 -1
- package/dist/stage/chunks/chunk-AOLXVYBO.js +0 -1
- package/dist/stage/chunks/chunk-ATDHO5ME.js +0 -1
- package/dist/stage/chunks/chunk-BCDDG7CW.js +0 -1
- package/dist/stage/chunks/chunk-CB4COXKW.js +0 -1
- package/dist/stage/chunks/chunk-CM6UENYI.js +0 -1
- package/dist/stage/chunks/chunk-CVWMERPH.js +0 -1
- package/dist/stage/chunks/chunk-DDCGP5GM.js +0 -1
- package/dist/stage/chunks/chunk-DOGIABU3.js +0 -1
- package/dist/stage/chunks/chunk-DUMMXI6I.js +0 -1
- package/dist/stage/chunks/chunk-E3LBHSMZ.js +0 -1
- package/dist/stage/chunks/chunk-E7JXTPFA.js +0 -1
- package/dist/stage/chunks/chunk-GBE5QYRO.js +0 -1
- package/dist/stage/chunks/chunk-GFV4SJGI.js +0 -1
- package/dist/stage/chunks/chunk-GILBTTLF.js +0 -1
- package/dist/stage/chunks/chunk-GPV2ZFME.js +0 -1
- package/dist/stage/chunks/chunk-HBNF34QX.js +0 -1
- package/dist/stage/chunks/chunk-HREW6EFQ.js +0 -1
- package/dist/stage/chunks/chunk-HZ7KMV42.js +0 -1
- package/dist/stage/chunks/chunk-HZXJUIIX.js +0 -1
- package/dist/stage/chunks/chunk-IE6IKN6P.js +0 -1
- package/dist/stage/chunks/chunk-IWO4MU2F.js +0 -1
- package/dist/stage/chunks/chunk-J7XIIFXF.js +0 -1
- package/dist/stage/chunks/chunk-JG62FTV2.js +0 -1
- package/dist/stage/chunks/chunk-JGELXWD3.js +0 -1
- package/dist/stage/chunks/chunk-JKJRK7ER.js +0 -1
- package/dist/stage/chunks/chunk-JPPPL527.js +0 -1
- package/dist/stage/chunks/chunk-JRCZXEL2.js +0 -1
- package/dist/stage/chunks/chunk-K33QXMAS.js +0 -1
- package/dist/stage/chunks/chunk-K4R2DLAT.js +0 -1
- package/dist/stage/chunks/chunk-MA3WBBC6.js +0 -1
- package/dist/stage/chunks/chunk-MHU6JTZC.js +0 -1
- package/dist/stage/chunks/chunk-MO2MHTOQ.js +0 -1
- package/dist/stage/chunks/chunk-MQKISAKO.js +0 -1
- package/dist/stage/chunks/chunk-ND3BSJOS.js +0 -1
- package/dist/stage/chunks/chunk-NGQ7GQSH.js +0 -1
- package/dist/stage/chunks/chunk-NM4FV6YK.js +0 -1
- package/dist/stage/chunks/chunk-NOHQVE3L.js +0 -1
- package/dist/stage/chunks/chunk-O6ZKHW5L.js +0 -1
- package/dist/stage/chunks/chunk-PBDA5G7U.js +0 -1
- package/dist/stage/chunks/chunk-PBDSKQIQ.js +0 -1
- package/dist/stage/chunks/chunk-PJFVW637.js +0 -1
- package/dist/stage/chunks/chunk-PRXT2NXZ.js +0 -1
- package/dist/stage/chunks/chunk-QAUB5H3S.js +0 -1
- package/dist/stage/chunks/chunk-QDH6OIAL.js +0 -5
- package/dist/stage/chunks/chunk-QM4IVTLC.js +0 -1
- package/dist/stage/chunks/chunk-QUWCLSNF.js +0 -1
- package/dist/stage/chunks/chunk-QVOXRLEG.js +0 -1
- package/dist/stage/chunks/chunk-RAHM76FI.js +0 -1
- package/dist/stage/chunks/chunk-RONEQF2M.js +0 -1
- package/dist/stage/chunks/chunk-RPTOBIKP.js +0 -1
- package/dist/stage/chunks/chunk-RSWDPV5U.js +0 -1
- package/dist/stage/chunks/chunk-SSSTBYOF.js +0 -1
- package/dist/stage/chunks/chunk-SV2PSWLZ.js +0 -1
- package/dist/stage/chunks/chunk-TDXJNI7H.js +0 -1
- package/dist/stage/chunks/chunk-TFGNKPAQ.js +0 -1
- package/dist/stage/chunks/chunk-TYA35RCB.js +0 -1
- package/dist/stage/chunks/chunk-UJZNQZVK.js +0 -1
- package/dist/stage/chunks/chunk-UN7EZPD7.js +0 -1
- package/dist/stage/chunks/chunk-UOBNXO4G.js +0 -1
- package/dist/stage/chunks/chunk-UVV4NANW.js +0 -97
- package/dist/stage/chunks/chunk-V5TNO5LS.js +0 -3
- package/dist/stage/chunks/chunk-VHRU6H4C.js +0 -1
- package/dist/stage/chunks/chunk-VP2XJ5UI.js +0 -1
- package/dist/stage/chunks/chunk-VQDQA3ID.js +0 -1
- package/dist/stage/chunks/chunk-VZJTFJZN.js +0 -1
- package/dist/stage/chunks/chunk-WCL6XNDN.js +0 -1
- package/dist/stage/chunks/chunk-WKUYNMPE.js +0 -1
- package/dist/stage/chunks/chunk-WWWIZ7VG.js +0 -1
- package/dist/stage/chunks/chunk-X2R3VYWI.js +0 -1
- package/dist/stage/chunks/chunk-X5HHNNED.js +0 -1
- package/dist/stage/chunks/chunk-X5INDUEQ.js +0 -1
- package/dist/stage/chunks/chunk-XBUV5F3F.js +0 -1
- package/dist/stage/chunks/chunk-XPWU54SD.js +0 -1
- package/dist/stage/chunks/chunk-YFURTAAV.js +0 -1
- package/dist/stage/chunks/chunk-YRI4I37X.js +0 -1
- package/dist/stage/chunks/chunk-ZCUNR3XN.js +0 -1
- package/dist/stage/chunks/clearDestination-TFFJZYZU.js +0 -1
- package/dist/stage/chunks/clearName-LAT5C4G3.js +0 -1
- package/dist/stage/chunks/clearOptionsExpression-QHE4GD2Y.js +0 -1
- package/dist/stage/chunks/clearRender-XEMKLRCM.js +0 -1
- package/dist/stage/chunks/clearRepeat-OJXLCGGV.js +0 -1
- package/dist/stage/chunks/contentEditor-H4QUMYKV.js +0 -1
- package/dist/stage/chunks/createAction-X7WWJ6BN.js +0 -1
- package/dist/stage/chunks/createAnimation-TYRSVQNL.js +0 -1
- package/dist/stage/chunks/createComputed-NVI2BGGF.js +0 -1
- package/dist/stage/chunks/createTextContent-R4ZOE6SM.js +0 -1
- package/dist/stage/chunks/createValue-GRZQQ5RR.js +0 -1
- package/dist/stage/chunks/design-2S7QAGYM.js +0 -15
- package/dist/stage/chunks/dev-PZI3DDXQ.js +0 -1
- package/dist/stage/chunks/disconnectNode-RRO6QPMX.js +0 -1
- package/dist/stage/chunks/history-5FAKKGJY.js +0 -1
- package/dist/stage/chunks/id-G47WSCWG.js +0 -1
- package/dist/stage/chunks/main-GPY4VWAB.js +0 -1
- package/dist/stage/chunks/main-OLXPOBOM.js +0 -1
- package/dist/stage/chunks/main-QADVRVCC.js +0 -1
- package/dist/stage/chunks/main-RMI3HY2B.js +0 -1
- package/dist/stage/chunks/moveNodeToLastChildOf-SGHEMUMS.js +0 -1
- package/dist/stage/chunks/nodeGraph-UGMYCUUO.js +0 -1
- package/dist/stage/chunks/normalizeEventName-Y34QRO25.js +0 -1
- package/dist/stage/chunks/preview-UBVA3QQU.js +0 -1
- package/dist/stage/chunks/removeAction-UIZVYC4K.js +0 -1
- package/dist/stage/chunks/removeAnimationBinding-PD2IRVQZ.js +0 -1
- package/dist/stage/chunks/removeAttribute-HCDVVDSZ.js +0 -1
- package/dist/stage/chunks/removeComputed-2UWAXEAM.js +0 -1
- package/dist/stage/chunks/removeEvent-GBW7REQV.js +0 -1
- package/dist/stage/chunks/removeLifecycleHook-V4BK7NPV.js +0 -1
- package/dist/stage/chunks/removeNode-H7TWCLTZ.js +0 -1
- package/dist/stage/chunks/removeOption-4SMMGXLO.js +0 -1
- package/dist/stage/chunks/removeParamFromRoute-2Q2PYYP5.js +0 -1
- package/dist/stage/chunks/removeState-X4UQTIPT.js +0 -1
- package/dist/stage/chunks/removeStore-B3WQQP3D.js +0 -1
- package/dist/stage/chunks/removeToken-3QTFHQF6.js +0 -1
- package/dist/stage/chunks/removeValue-QIQBSOHR.js +0 -1
- package/dist/stage/chunks/setDestination-26OTLIOX.js +0 -1
- package/dist/stage/chunks/setHomePage-GBSAVDQC.js +0 -1
- package/dist/stage/chunks/setHtmlId-PZQQWCXU.js +0 -1
- package/dist/stage/chunks/setName-C26SXODP.js +0 -1
- package/dist/stage/chunks/setNodeLayout-PZMYT6M2.js +0 -1
- package/dist/stage/chunks/setOptionsExpression-PQ3JOVEW.js +0 -1
- package/dist/stage/chunks/setRender-MNCOTE35.js +0 -1
- package/dist/stage/chunks/setRepeat-GIOC7YT4.js +0 -1
- package/dist/stage/chunks/setTagName-FA7BMEUS.js +0 -1
- package/dist/stage/chunks/updateAction-TUQLHSJE.js +0 -1
- package/dist/stage/chunks/updateAnimationBinding-I3AQNLO2.js +0 -1
- package/dist/stage/chunks/updateAttribute-TLLDGUPR.js +0 -1
- package/dist/stage/chunks/updateBounds-KL4N7VYO.js +0 -1
- package/dist/stage/chunks/updateComputed-JGJIIC4A.js +0 -1
- package/dist/stage/chunks/updateEvent-YOKH67TX.js +0 -1
- package/dist/stage/chunks/updateHtml-Z4XI7SYU.js +0 -1
- package/dist/stage/chunks/updateLifecycleHook-4555YGGM.js +0 -1
- package/dist/stage/chunks/updateOption-YUFQYF43.js +0 -1
- package/dist/stage/chunks/updateRoute-42OSDVLS.js +0 -1
- package/dist/stage/chunks/updateState-3RQX5YED.js +0 -1
- package/dist/stage/chunks/updateStyle-I5NO4TOV.js +0 -1
- package/dist/stage/chunks/updateToken-AFJYTJ7R.js +0 -1
- package/dist/stage/chunks/updateValue-XGRBUCOT.js +0 -1
- package/dist/stage/chunks/user-CK5IAVFH.js +0 -1
- package/dist/stage/chunks/validateStorePayload-3HAVFGVL.js +0 -3
- package/dist/stage/chunks/viewport-CQRIOXC6.js +0 -1
- package/dist/stage/chunks/window-7JZPBAP7.js +0 -1
- package/dist/stage/design.js +0 -1
- package/dist/stage/dev.js +0 -1
- package/dist/stage/preview.js +0 -1
- package/dist/stage-bundles/preact/chunks/addAction-EGLGEGTS.js +0 -1
- package/dist/stage-bundles/preact/chunks/addAnimationBinding-WCB5VZLU.js +0 -1
- package/dist/stage-bundles/preact/chunks/addAttribute-2MZ3OFUE.js +0 -1
- package/dist/stage-bundles/preact/chunks/addComponent-3JC5NC3Y.js +0 -1
- package/dist/stage-bundles/preact/chunks/addComputed-7JLBFD6I.js +0 -1
- package/dist/stage-bundles/preact/chunks/addEvent-HOBNKM2F.js +0 -1
- package/dist/stage-bundles/preact/chunks/addLifecycleHook-GHYL7FRH.js +0 -1
- package/dist/stage-bundles/preact/chunks/addNode-QXU2P4AE.js +0 -1
- package/dist/stage-bundles/preact/chunks/addOption-PVXGN7AJ.js +0 -1
- package/dist/stage-bundles/preact/chunks/addParamToRoute-VL2VOFZS.js +0 -1
- package/dist/stage-bundles/preact/chunks/addState-U2NWEGWV.js +0 -1
- package/dist/stage-bundles/preact/chunks/addStore-AQMFKH33.js +0 -1
- package/dist/stage-bundles/preact/chunks/addToken-XF2FFA52.js +0 -1
- package/dist/stage-bundles/preact/chunks/addTree-S73GXWZP.js +0 -1
- package/dist/stage-bundles/preact/chunks/addValue-O7YXXMST.js +0 -1
- package/dist/stage-bundles/preact/chunks/aiAttachmentContracts-7LLE57FI.js +0 -1
- package/dist/stage-bundles/preact/chunks/aiMessagesContracts-RAR7ENH4.js +0 -1
- package/dist/stage-bundles/preact/chunks/aiRelay-C6ZJ3PUF.js +0 -1
- package/dist/stage-bundles/preact/chunks/aiSessionContracts-NHU57TUZ.js +0 -1
- package/dist/stage-bundles/preact/chunks/assets-6LM3GVQU.js +0 -1
- package/dist/stage-bundles/preact/chunks/capture-ON3BO6WE.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-2Z2RXHNK.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-3WCN6R5H.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-45YNKT2X.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-4Q5R44ZZ.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-5CWWFBNY.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-5GKIM3R4.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-6KW4HPGN.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-6S7QQT47.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-7I5TQOE2.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-7UENQJSC.js +0 -5
- package/dist/stage-bundles/preact/chunks/chunk-7VDUBBVE.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-7YVQSQRP.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-A25WFH3U.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-A52FDU5E.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-AMPHYXGT.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-AOGIMUZ2.js +0 -103
- package/dist/stage-bundles/preact/chunks/chunk-AS76ZLXK.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-AYZAGKHN.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-BGQJ5B3Q.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-BL6GQ6ID.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-BWJHUHDJ.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-CAAW6MG4.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-CC3CCH2E.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-CGCD6S33.js +0 -6
- package/dist/stage-bundles/preact/chunks/chunk-CNZYL2VV.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-CXJ5APZF.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-CYURWEXX.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-DHPGPV5T.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-DLHF7QB4.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-DWW3567Q.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-E6KR5RXO.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-EPVRMHC2.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-EWEPEODY.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-EXXAK3BP.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-F5MJNV7Y.js +0 -3
- package/dist/stage-bundles/preact/chunks/chunk-FAYUYASQ.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-G3PYA3EU.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-GEOQWCYL.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-GK5XUHQG.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-GM4D3DPT.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-GUI7FIZD.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-HAN4CMBX.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-HCRWHPFW.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-HE7IQLGK.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-I57W7UZN.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-IBDKDP7T.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-ICWQHFOI.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-IG2Y3H6O.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-IKKRB6BS.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-IV6PINVX.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-IW4KEJOF.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-IWTWZA3T.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-J5QMLA3Z.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-K5BNCYT7.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-KTWXYDG7.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-LHK7LQPZ.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-LUY5LC7Z.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-LXD22ETU.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-M577WNTV.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-MGH62JQ4.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-MUZZUB5Y.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-N6I4COF2.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-NFKUJQZH.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-NHY2XYCH.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-NKDO4J6J.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-NOTXZB5N.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-NXBFOI3Z.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-OQM5TMCK.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-PPDOTRNT.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-PU62K33G.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-Q3IER3MW.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-Q3ZV7EKU.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-QD56IMFS.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-QFFVADTJ.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-QJ33JO3T.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-QVVBKZW6.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-RFFN4NF4.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-SCJKRPIZ.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-TPCJQIUG.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-TX5TCU2H.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-UCLSDDOL.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-ULVFWUAU.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-XE3A5HPY.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-XFHQ45KR.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-XTAXESM6.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-YB7FA4Y3.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-YCGY2NRE.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-YCMBBPKT.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-Z3M6DQKZ.js +0 -1
- package/dist/stage-bundles/preact/chunks/chunk-ZUPNPSUB.js +0 -1
- package/dist/stage-bundles/preact/chunks/clearDestination-IGKNL7FN.js +0 -1
- package/dist/stage-bundles/preact/chunks/clearName-HJ7ZTHBU.js +0 -1
- package/dist/stage-bundles/preact/chunks/clearOptionsExpression-NZQFL64E.js +0 -1
- package/dist/stage-bundles/preact/chunks/clearRender-NPVDTNFA.js +0 -1
- package/dist/stage-bundles/preact/chunks/clearRepeat-7YFYZODP.js +0 -1
- package/dist/stage-bundles/preact/chunks/contentEditor-7BYCT3TH.js +0 -1
- package/dist/stage-bundles/preact/chunks/createAction-73YUTK3T.js +0 -1
- package/dist/stage-bundles/preact/chunks/createAnimation-2WQSMYT5.js +0 -1
- package/dist/stage-bundles/preact/chunks/createComputed-DMX7CJA3.js +0 -1
- package/dist/stage-bundles/preact/chunks/createTextContent-4Z4YATBO.js +0 -1
- package/dist/stage-bundles/preact/chunks/createValue-DXQSLOBG.js +0 -1
- package/dist/stage-bundles/preact/chunks/design-3DHGUCPX.js +0 -15
- package/dist/stage-bundles/preact/chunks/disconnectNode-2CLWVIQP.js +0 -1
- package/dist/stage-bundles/preact/chunks/history-CMF3VYTT.js +0 -1
- package/dist/stage-bundles/preact/chunks/id-ZIAZZ5AS.js +0 -1
- package/dist/stage-bundles/preact/chunks/main-3VRCGPRY.js +0 -1
- package/dist/stage-bundles/preact/chunks/main-DH4JOS22.js +0 -1
- package/dist/stage-bundles/preact/chunks/main-FAFZABOS.js +0 -1
- package/dist/stage-bundles/preact/chunks/main-S7RT75O6.js +0 -1
- package/dist/stage-bundles/preact/chunks/moveNodeToLastChildOf-CWSWITHI.js +0 -1
- package/dist/stage-bundles/preact/chunks/nodeGraph-UNI2HUNX.js +0 -1
- package/dist/stage-bundles/preact/chunks/normalizeEventName-SNBYJDUY.js +0 -1
- package/dist/stage-bundles/preact/chunks/preview-YOYSHYJF.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeAction-T4M5EJN7.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeAnimationBinding-AIISPC33.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeAttribute-DCKZLM55.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeComputed-WSA5GNVZ.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeEvent-2YZ55HD6.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeLifecycleHook-SBPJNF5P.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeNode-5HXQ63V3.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeOption-SYIFB4XW.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeParamFromRoute-HAYP3WTT.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeState-SGJVQ66N.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeStore-YVBTGA3I.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeToken-AIDV7DUM.js +0 -1
- package/dist/stage-bundles/preact/chunks/removeValue-UP5ZFN3U.js +0 -1
- package/dist/stage-bundles/preact/chunks/setDestination-NCPAVIIK.js +0 -1
- package/dist/stage-bundles/preact/chunks/setHomePage-O2JYOG6H.js +0 -1
- package/dist/stage-bundles/preact/chunks/setHtmlId-2W7YW47O.js +0 -1
- package/dist/stage-bundles/preact/chunks/setName-NKRZPBGG.js +0 -1
- package/dist/stage-bundles/preact/chunks/setNodeLayout-KQVZJBYW.js +0 -1
- package/dist/stage-bundles/preact/chunks/setOptionsExpression-K5EQXJEY.js +0 -1
- package/dist/stage-bundles/preact/chunks/setRender-7XMGQ7ZK.js +0 -1
- package/dist/stage-bundles/preact/chunks/setRepeat-WN4WZJUN.js +0 -1
- package/dist/stage-bundles/preact/chunks/setTagName-U6UJNJLE.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateAction-3KSR6ZIJ.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateAnimationBinding-HVVHLFBO.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateAttribute-XXZL2P43.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateBounds-5M7YQRO3.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateComputed-7QA6XZIC.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateEvent-R52PL2G4.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateHtml-YBJJSWQW.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateLifecycleHook-4RA2U4TR.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateOption-5U23ZUWV.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateRoute-TFQFFFSZ.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateState-JCUSBQOL.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateStyle-JASLFXVX.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateToken-24P2P2SF.js +0 -1
- package/dist/stage-bundles/preact/chunks/updateValue-TSVJM3PO.js +0 -1
- package/dist/stage-bundles/preact/chunks/user-H5DKMGWA.js +0 -1
- package/dist/stage-bundles/preact/chunks/validateStorePayload-HCBPC7HR.js +0 -3
- package/dist/stage-bundles/preact/chunks/viewport-ZRWTVYC3.js +0 -1
- package/dist/stage-bundles/preact/chunks/window-IMPT5I3D.js +0 -1
- package/dist/stage-bundles/react/chunks/addAction-EGLGEGTS.js +0 -1
- package/dist/stage-bundles/react/chunks/addAnimationBinding-WCB5VZLU.js +0 -1
- package/dist/stage-bundles/react/chunks/addAttribute-2MZ3OFUE.js +0 -1
- package/dist/stage-bundles/react/chunks/addComponent-3JC5NC3Y.js +0 -1
- package/dist/stage-bundles/react/chunks/addComputed-7JLBFD6I.js +0 -1
- package/dist/stage-bundles/react/chunks/addEvent-HOBNKM2F.js +0 -1
- package/dist/stage-bundles/react/chunks/addLifecycleHook-GHYL7FRH.js +0 -1
- package/dist/stage-bundles/react/chunks/addNode-QXU2P4AE.js +0 -1
- package/dist/stage-bundles/react/chunks/addOption-PVXGN7AJ.js +0 -1
- package/dist/stage-bundles/react/chunks/addParamToRoute-VL2VOFZS.js +0 -1
- package/dist/stage-bundles/react/chunks/addState-U2NWEGWV.js +0 -1
- package/dist/stage-bundles/react/chunks/addStore-AQMFKH33.js +0 -1
- package/dist/stage-bundles/react/chunks/addToken-XF2FFA52.js +0 -1
- package/dist/stage-bundles/react/chunks/addTree-S73GXWZP.js +0 -1
- package/dist/stage-bundles/react/chunks/addValue-O7YXXMST.js +0 -1
- package/dist/stage-bundles/react/chunks/aiAttachmentContracts-7LLE57FI.js +0 -1
- package/dist/stage-bundles/react/chunks/aiMessagesContracts-RAR7ENH4.js +0 -1
- package/dist/stage-bundles/react/chunks/aiRelay-C6ZJ3PUF.js +0 -1
- package/dist/stage-bundles/react/chunks/aiSessionContracts-NHU57TUZ.js +0 -1
- package/dist/stage-bundles/react/chunks/assets-6LM3GVQU.js +0 -1
- package/dist/stage-bundles/react/chunks/capture-6GFKGXIT.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-2Z2RXHNK.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-3WCN6R5H.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-45YNKT2X.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-4Q5R44ZZ.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-5CWWFBNY.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-5GKIM3R4.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-6KW4HPGN.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-6S7QQT47.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-7I5TQOE2.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-7UENQJSC.js +0 -5
- package/dist/stage-bundles/react/chunks/chunk-7VDUBBVE.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-7YVQSQRP.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-A25WFH3U.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-A52FDU5E.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-AMPHYXGT.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-AS76ZLXK.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-AYZAGKHN.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-BGQJ5B3Q.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-BL6GQ6ID.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-BWJHUHDJ.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-CAAW6MG4.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-CC3CCH2E.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-CGCD6S33.js +0 -6
- package/dist/stage-bundles/react/chunks/chunk-CNZYL2VV.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-CXJ5APZF.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-CYURWEXX.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-DHPGPV5T.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-DLHF7QB4.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-E6KR5RXO.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-EPVRMHC2.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-EWEPEODY.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-EXXAK3BP.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-F5MJNV7Y.js +0 -3
- package/dist/stage-bundles/react/chunks/chunk-FAYUYASQ.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-G3PYA3EU.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-GEOQWCYL.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-GK5XUHQG.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-GM4D3DPT.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-GUI7FIZD.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-HAN4CMBX.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-HCRWHPFW.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-HE7IQLGK.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-HJOMUN4M.js +0 -49
- package/dist/stage-bundles/react/chunks/chunk-I57W7UZN.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-IBDKDP7T.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-ICWQHFOI.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-IG2Y3H6O.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-IKKRB6BS.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-IV6PINVX.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-IW4KEJOF.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-IWTWZA3T.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-J5QMLA3Z.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-K5BNCYT7.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-KTWXYDG7.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-LHK7LQPZ.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-LUY5LC7Z.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-LXD22ETU.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-M577WNTV.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-MGH62JQ4.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-MUZZUB5Y.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-N6I4COF2.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-NFKUJQZH.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-NHY2XYCH.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-NKDO4J6J.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-NOTXZB5N.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-NXBFOI3Z.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-OQM5TMCK.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-PPDOTRNT.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-PU62K33G.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-Q3IER3MW.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-Q3ZV7EKU.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-QD56IMFS.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-QFFVADTJ.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-QJ33JO3T.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-QVVBKZW6.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-RFFN4NF4.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-SCJKRPIZ.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-TPCJQIUG.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-TX5TCU2H.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-U66LRTNF.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-UCLSDDOL.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-ULVFWUAU.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-XE3A5HPY.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-XFHQ45KR.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-XTAXESM6.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-YB7FA4Y3.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-YCGY2NRE.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-YCMBBPKT.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-Z3M6DQKZ.js +0 -1
- package/dist/stage-bundles/react/chunks/chunk-ZUPNPSUB.js +0 -1
- package/dist/stage-bundles/react/chunks/clearDestination-IGKNL7FN.js +0 -1
- package/dist/stage-bundles/react/chunks/clearName-HJ7ZTHBU.js +0 -1
- package/dist/stage-bundles/react/chunks/clearOptionsExpression-NZQFL64E.js +0 -1
- package/dist/stage-bundles/react/chunks/clearRender-NPVDTNFA.js +0 -1
- package/dist/stage-bundles/react/chunks/clearRepeat-7YFYZODP.js +0 -1
- package/dist/stage-bundles/react/chunks/contentEditor-7BYCT3TH.js +0 -1
- package/dist/stage-bundles/react/chunks/createAction-73YUTK3T.js +0 -1
- package/dist/stage-bundles/react/chunks/createAnimation-2WQSMYT5.js +0 -1
- package/dist/stage-bundles/react/chunks/createComputed-DMX7CJA3.js +0 -1
- package/dist/stage-bundles/react/chunks/createTextContent-4Z4YATBO.js +0 -1
- package/dist/stage-bundles/react/chunks/createValue-DXQSLOBG.js +0 -1
- package/dist/stage-bundles/react/chunks/design-6KSNU4OK.js +0 -15
- package/dist/stage-bundles/react/chunks/disconnectNode-2CLWVIQP.js +0 -1
- package/dist/stage-bundles/react/chunks/history-CMF3VYTT.js +0 -1
- package/dist/stage-bundles/react/chunks/id-ZIAZZ5AS.js +0 -1
- package/dist/stage-bundles/react/chunks/main-3VRCGPRY.js +0 -1
- package/dist/stage-bundles/react/chunks/main-DH4JOS22.js +0 -1
- package/dist/stage-bundles/react/chunks/main-FAFZABOS.js +0 -1
- package/dist/stage-bundles/react/chunks/main-S7RT75O6.js +0 -1
- package/dist/stage-bundles/react/chunks/moveNodeToLastChildOf-CWSWITHI.js +0 -1
- package/dist/stage-bundles/react/chunks/nodeGraph-UNI2HUNX.js +0 -1
- package/dist/stage-bundles/react/chunks/normalizeEventName-SNBYJDUY.js +0 -1
- package/dist/stage-bundles/react/chunks/preview-KOCHK3AH.js +0 -1
- package/dist/stage-bundles/react/chunks/removeAction-T4M5EJN7.js +0 -1
- package/dist/stage-bundles/react/chunks/removeAnimationBinding-AIISPC33.js +0 -1
- package/dist/stage-bundles/react/chunks/removeAttribute-DCKZLM55.js +0 -1
- package/dist/stage-bundles/react/chunks/removeComputed-WSA5GNVZ.js +0 -1
- package/dist/stage-bundles/react/chunks/removeEvent-2YZ55HD6.js +0 -1
- package/dist/stage-bundles/react/chunks/removeLifecycleHook-SBPJNF5P.js +0 -1
- package/dist/stage-bundles/react/chunks/removeNode-5HXQ63V3.js +0 -1
- package/dist/stage-bundles/react/chunks/removeOption-SYIFB4XW.js +0 -1
- package/dist/stage-bundles/react/chunks/removeParamFromRoute-HAYP3WTT.js +0 -1
- package/dist/stage-bundles/react/chunks/removeState-SGJVQ66N.js +0 -1
- package/dist/stage-bundles/react/chunks/removeStore-YVBTGA3I.js +0 -1
- package/dist/stage-bundles/react/chunks/removeToken-AIDV7DUM.js +0 -1
- package/dist/stage-bundles/react/chunks/removeValue-UP5ZFN3U.js +0 -1
- package/dist/stage-bundles/react/chunks/setDestination-NCPAVIIK.js +0 -1
- package/dist/stage-bundles/react/chunks/setHomePage-O2JYOG6H.js +0 -1
- package/dist/stage-bundles/react/chunks/setHtmlId-2W7YW47O.js +0 -1
- package/dist/stage-bundles/react/chunks/setName-NKRZPBGG.js +0 -1
- package/dist/stage-bundles/react/chunks/setNodeLayout-KQVZJBYW.js +0 -1
- package/dist/stage-bundles/react/chunks/setOptionsExpression-K5EQXJEY.js +0 -1
- package/dist/stage-bundles/react/chunks/setRender-7XMGQ7ZK.js +0 -1
- package/dist/stage-bundles/react/chunks/setRepeat-WN4WZJUN.js +0 -1
- package/dist/stage-bundles/react/chunks/setTagName-U6UJNJLE.js +0 -1
- package/dist/stage-bundles/react/chunks/updateAction-3KSR6ZIJ.js +0 -1
- package/dist/stage-bundles/react/chunks/updateAnimationBinding-HVVHLFBO.js +0 -1
- package/dist/stage-bundles/react/chunks/updateAttribute-XXZL2P43.js +0 -1
- package/dist/stage-bundles/react/chunks/updateBounds-5M7YQRO3.js +0 -1
- package/dist/stage-bundles/react/chunks/updateComputed-7QA6XZIC.js +0 -1
- package/dist/stage-bundles/react/chunks/updateEvent-R52PL2G4.js +0 -1
- package/dist/stage-bundles/react/chunks/updateHtml-YBJJSWQW.js +0 -1
- package/dist/stage-bundles/react/chunks/updateLifecycleHook-4RA2U4TR.js +0 -1
- package/dist/stage-bundles/react/chunks/updateOption-5U23ZUWV.js +0 -1
- package/dist/stage-bundles/react/chunks/updateRoute-TFQFFFSZ.js +0 -1
- package/dist/stage-bundles/react/chunks/updateState-JCUSBQOL.js +0 -1
- package/dist/stage-bundles/react/chunks/updateStyle-JASLFXVX.js +0 -1
- package/dist/stage-bundles/react/chunks/updateToken-24P2P2SF.js +0 -1
- package/dist/stage-bundles/react/chunks/updateValue-TSVJM3PO.js +0 -1
- package/dist/stage-bundles/react/chunks/user-H5DKMGWA.js +0 -1
- package/dist/stage-bundles/react/chunks/validateStorePayload-HCBPC7HR.js +0 -3
- package/dist/stage-bundles/react/chunks/viewport-ZRWTVYC3.js +0 -1
- package/dist/stage-bundles/react/chunks/window-IMPT5I3D.js +0 -1
- package/dist/stage-bundles/vue/chunks/addAction-EGLGEGTS.js +0 -1
- package/dist/stage-bundles/vue/chunks/addAnimationBinding-WCB5VZLU.js +0 -1
- package/dist/stage-bundles/vue/chunks/addAttribute-2MZ3OFUE.js +0 -1
- package/dist/stage-bundles/vue/chunks/addComponent-NG2BML2S.js +0 -1
- package/dist/stage-bundles/vue/chunks/addComputed-7JLBFD6I.js +0 -1
- package/dist/stage-bundles/vue/chunks/addEvent-HOBNKM2F.js +0 -1
- package/dist/stage-bundles/vue/chunks/addLifecycleHook-GHYL7FRH.js +0 -1
- package/dist/stage-bundles/vue/chunks/addNode-UNXHE5VL.js +0 -1
- package/dist/stage-bundles/vue/chunks/addOption-PVXGN7AJ.js +0 -1
- package/dist/stage-bundles/vue/chunks/addParamToRoute-VL2VOFZS.js +0 -1
- package/dist/stage-bundles/vue/chunks/addState-U2NWEGWV.js +0 -1
- package/dist/stage-bundles/vue/chunks/addStore-AQMFKH33.js +0 -1
- package/dist/stage-bundles/vue/chunks/addToken-XF2FFA52.js +0 -1
- package/dist/stage-bundles/vue/chunks/addTree-MFMYQTGN.js +0 -1
- package/dist/stage-bundles/vue/chunks/addValue-O7YXXMST.js +0 -1
- package/dist/stage-bundles/vue/chunks/aiAttachmentContracts-7LLE57FI.js +0 -1
- package/dist/stage-bundles/vue/chunks/aiMessagesContracts-RAR7ENH4.js +0 -1
- package/dist/stage-bundles/vue/chunks/aiRelay-C6ZJ3PUF.js +0 -1
- package/dist/stage-bundles/vue/chunks/aiSessionContracts-NHU57TUZ.js +0 -1
- package/dist/stage-bundles/vue/chunks/assets-6LM3GVQU.js +0 -1
- package/dist/stage-bundles/vue/chunks/capture-XURVK5HZ.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-2Z2RXHNK.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-4M7L75C7.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-4Q5R44ZZ.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-5CWWFBNY.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-5GKIM3R4.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-6KW4HPGN.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-6S7QQT47.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-7UENQJSC.js +0 -5
- package/dist/stage-bundles/vue/chunks/chunk-7VDUBBVE.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-7YVQSQRP.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-A25WFH3U.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-A52FDU5E.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-AMPHYXGT.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-AS76ZLXK.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-AYZAGKHN.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-BJPSGTXJ.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-BL6GQ6ID.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-BWJHUHDJ.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-CAAW6MG4.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-CC3CCH2E.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-CGCD6S33.js +0 -6
- package/dist/stage-bundles/vue/chunks/chunk-CNZYL2VV.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-CXJ5APZF.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-CYURWEXX.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-DHPGPV5T.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-DLHF7QB4.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-E6KR5RXO.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-EPVRMHC2.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-EWEPEODY.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-EXXAK3BP.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-F5MJNV7Y.js +0 -3
- package/dist/stage-bundles/vue/chunks/chunk-F7DSZRND.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-FAYUYASQ.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-GEOQWCYL.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-GK5XUHQG.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-GM4D3DPT.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-GUI7FIZD.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-GW7KMMRR.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-HAN4CMBX.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-HCRWHPFW.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-HE7IQLGK.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-HYSOOJLT.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-I57W7UZN.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-IBDKDP7T.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-ICWQHFOI.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-IG2Y3H6O.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-IKKRB6BS.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-IV6PINVX.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-IW4KEJOF.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-IWTWZA3T.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-J5QMLA3Z.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-K5BNCYT7.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-K5IR3PSI.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-KTWXYDG7.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-LHK7LQPZ.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-LUY5LC7Z.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-LXD22ETU.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-MGH62JQ4.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-MUZZUB5Y.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-N6I4COF2.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-NFKUJQZH.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-NHY2XYCH.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-NKDO4J6J.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-NOTXZB5N.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-NXBFOI3Z.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-OQM5TMCK.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-PPDOTRNT.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-PU62K33G.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-Q3IER3MW.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-Q3ZV7EKU.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-QD56IMFS.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-QFFVADTJ.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-QFJRB6B2.js +0 -103
- package/dist/stage-bundles/vue/chunks/chunk-QJ33JO3T.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-QVVBKZW6.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-RFFN4NF4.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-SCJKRPIZ.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-TPCJQIUG.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-TX5TCU2H.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-UCLSDDOL.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-ULVFWUAU.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-USKXWFBI.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-XE3A5HPY.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-XFHQ45KR.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-XTAXESM6.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-YB7FA4Y3.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-YCGY2NRE.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-YCMBBPKT.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-Z3M6DQKZ.js +0 -1
- package/dist/stage-bundles/vue/chunks/chunk-ZUPNPSUB.js +0 -1
- package/dist/stage-bundles/vue/chunks/clearDestination-IGKNL7FN.js +0 -1
- package/dist/stage-bundles/vue/chunks/clearName-HJ7ZTHBU.js +0 -1
- package/dist/stage-bundles/vue/chunks/clearOptionsExpression-NZQFL64E.js +0 -1
- package/dist/stage-bundles/vue/chunks/clearRender-NPVDTNFA.js +0 -1
- package/dist/stage-bundles/vue/chunks/clearRepeat-7YFYZODP.js +0 -1
- package/dist/stage-bundles/vue/chunks/contentEditor-7BYCT3TH.js +0 -1
- package/dist/stage-bundles/vue/chunks/createAction-73YUTK3T.js +0 -1
- package/dist/stage-bundles/vue/chunks/createAnimation-2WQSMYT5.js +0 -1
- package/dist/stage-bundles/vue/chunks/createComputed-DMX7CJA3.js +0 -1
- package/dist/stage-bundles/vue/chunks/createTextContent-4Z4YATBO.js +0 -1
- package/dist/stage-bundles/vue/chunks/createValue-DXQSLOBG.js +0 -1
- package/dist/stage-bundles/vue/chunks/design-4GTDZLD2.js +0 -15
- package/dist/stage-bundles/vue/chunks/disconnectNode-2CLWVIQP.js +0 -1
- package/dist/stage-bundles/vue/chunks/history-CMF3VYTT.js +0 -1
- package/dist/stage-bundles/vue/chunks/id-ZIAZZ5AS.js +0 -1
- package/dist/stage-bundles/vue/chunks/main-4HW35P75.js +0 -1
- package/dist/stage-bundles/vue/chunks/main-BVDJS6IT.js +0 -1
- package/dist/stage-bundles/vue/chunks/main-DH4JOS22.js +0 -1
- package/dist/stage-bundles/vue/chunks/main-PALLSI3C.js +0 -1
- package/dist/stage-bundles/vue/chunks/moveNodeToLastChildOf-BLKABBSO.js +0 -1
- package/dist/stage-bundles/vue/chunks/nodeGraph-UNI2HUNX.js +0 -1
- package/dist/stage-bundles/vue/chunks/normalizeEventName-SNBYJDUY.js +0 -1
- package/dist/stage-bundles/vue/chunks/preview-QUDMZGVG.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeAction-T4M5EJN7.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeAnimationBinding-AIISPC33.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeAttribute-DCKZLM55.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeComputed-WSA5GNVZ.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeEvent-2YZ55HD6.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeLifecycleHook-SBPJNF5P.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeNode-5HXQ63V3.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeOption-SYIFB4XW.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeParamFromRoute-HAYP3WTT.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeState-SGJVQ66N.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeStore-YVBTGA3I.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeToken-AIDV7DUM.js +0 -1
- package/dist/stage-bundles/vue/chunks/removeValue-UP5ZFN3U.js +0 -1
- package/dist/stage-bundles/vue/chunks/setDestination-NCPAVIIK.js +0 -1
- package/dist/stage-bundles/vue/chunks/setHomePage-O2JYOG6H.js +0 -1
- package/dist/stage-bundles/vue/chunks/setHtmlId-2W7YW47O.js +0 -1
- package/dist/stage-bundles/vue/chunks/setName-NKRZPBGG.js +0 -1
- package/dist/stage-bundles/vue/chunks/setNodeLayout-KQVZJBYW.js +0 -1
- package/dist/stage-bundles/vue/chunks/setOptionsExpression-K5EQXJEY.js +0 -1
- package/dist/stage-bundles/vue/chunks/setRender-7XMGQ7ZK.js +0 -1
- package/dist/stage-bundles/vue/chunks/setRepeat-WN4WZJUN.js +0 -1
- package/dist/stage-bundles/vue/chunks/setTagName-U6UJNJLE.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateAction-3KSR6ZIJ.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateAnimationBinding-HVVHLFBO.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateAttribute-XXZL2P43.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateBounds-5M7YQRO3.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateComputed-7QA6XZIC.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateEvent-R52PL2G4.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateHtml-YBJJSWQW.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateLifecycleHook-4RA2U4TR.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateOption-5U23ZUWV.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateRoute-TFQFFFSZ.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateState-JCUSBQOL.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateStyle-JASLFXVX.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateToken-24P2P2SF.js +0 -1
- package/dist/stage-bundles/vue/chunks/updateValue-TSVJM3PO.js +0 -1
- package/dist/stage-bundles/vue/chunks/user-H5DKMGWA.js +0 -1
- package/dist/stage-bundles/vue/chunks/validateStorePayload-HCBPC7HR.js +0 -3
- package/dist/stage-bundles/vue/chunks/viewport-ZRWTVYC3.js +0 -1
- package/dist/stage-bundles/vue/chunks/window-IMPT5I3D.js +0 -1
- package/dist/stage-src/dev/server.js +0 -166
- package/dist/stage-src/preview/bootstrap.js +0 -20
- package/dist/stage-src/preview/entry.js +0 -5
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{a as T,b as ht,c as ft,d as gt,e as xt,f as It}from"./chunk-7YVQSQRP.js";import{a as lt,b as pe,c as ut,d as Ge,e as yt,f as wt,g as bt,h as St,i as Be,j as Nt}from"./chunk-AOGIMUZ2.js";import"./chunk-NFKUJQZH.js";import"./chunk-45YNKT2X.js";import"./chunk-NKDO4J6J.js";import"./chunk-LXD22ETU.js";import"./chunk-BGQJ5B3Q.js";import{b as mt}from"./chunk-CGCD6S33.js";import{a as dt,b as ct,c as pt,d as ce}from"./chunk-ULVFWUAU.js";import"./chunk-CYURWEXX.js";import"./chunk-GUI7FIZD.js";import"./chunk-IKKRB6BS.js";import"./chunk-7VDUBBVE.js";import"./chunk-N6I4COF2.js";import"./chunk-A52FDU5E.js";import"./chunk-6S7QQT47.js";import"./chunk-PU62K33G.js";import"./chunk-KTWXYDG7.js";import"./chunk-EWEPEODY.js";import"./chunk-HAN4CMBX.js";import"./chunk-Q3ZV7EKU.js";import"./chunk-F5MJNV7Y.js";import"./chunk-EPVRMHC2.js";import"./chunk-YB7FA4Y3.js";import"./chunk-ZUPNPSUB.js";import"./chunk-YCGY2NRE.js";import"./chunk-NXBFOI3Z.js";import"./chunk-E6KR5RXO.js";import"./chunk-I57W7UZN.js";import"./chunk-LUY5LC7Z.js";import"./chunk-IBDKDP7T.js";import"./chunk-5CWWFBNY.js";import"./chunk-BWJHUHDJ.js";import"./chunk-QFFVADTJ.js";import"./chunk-QD56IMFS.js";import"./chunk-CNZYL2VV.js";import"./chunk-MGH62JQ4.js";import"./chunk-YCMBBPKT.js";import"./chunk-NHY2XYCH.js";import"./chunk-XFHQ45KR.js";import"./chunk-XTAXESM6.js";import"./chunk-QJ33JO3T.js";import"./chunk-XE3A5HPY.js";import"./chunk-GEOQWCYL.js";import"./chunk-CC3CCH2E.js";import"./chunk-GM4D3DPT.js";import"./chunk-Q3IER3MW.js";import"./chunk-DHPGPV5T.js";import"./chunk-FAYUYASQ.js";import"./chunk-ICWQHFOI.js";import"./chunk-AS76ZLXK.js";import"./chunk-HCRWHPFW.js";import"./chunk-6KW4HPGN.js";import"./chunk-CAAW6MG4.js";import"./chunk-3WCN6R5H.js";import"./chunk-G3PYA3EU.js";import"./chunk-OQM5TMCK.js";import"./chunk-BL6GQ6ID.js";import"./chunk-K5BNCYT7.js";import"./chunk-LHK7LQPZ.js";import"./chunk-GK5XUHQG.js";import"./chunk-TX5TCU2H.js";import{a as Ze,c as kt}from"./chunk-M577WNTV.js";import{a as vt}from"./chunk-2Z2RXHNK.js";import"./chunk-7I5TQOE2.js";import"./chunk-J5QMLA3Z.js";import"./chunk-IWTWZA3T.js";import"./chunk-IV6PINVX.js";import"./chunk-A25WFH3U.js";import"./chunk-MUZZUB5Y.js";import"./chunk-TPCJQIUG.js";import"./chunk-SCJKRPIZ.js";import"./chunk-4Q5R44ZZ.js";import"./chunk-IG2Y3H6O.js";import"./chunk-HE7IQLGK.js";import"./chunk-Z3M6DQKZ.js";import"./chunk-PPDOTRNT.js";import"./chunk-DWW3567Q.js";import"./chunk-H5NHEM4C.js";import"./chunk-NRRFAMFA.js";import"./chunk-RYWOKFM7.js";import"./chunk-DLHF7QB4.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import{e as C,f as d,g as f,h as u,i as y,j as Je}from"./chunk-UCLSDDOL.js";var vn={"claude-sonnet-4-6":{input:3,output:15},"claude-sonnet-5":{input:2,output:10},"claude-opus-5":{input:5,output:25}},qn=vn["claude-sonnet-4-6"];var E=dt("AI_OPERATIONS",[Object]);function le(r){let e=r._name,t=r();return{namespace:e,operations:Object.entries(t).map(([n,s])=>({name:n,fullName:`${e}:${n}`,alias:s.alias||null,mcpName:s.mcpName||null,description:s.description||"",schema:s.schema||[],examples:s.examples||[],returns:s.returns||"Object"}))}}function Qe(r,e,t){if(!Array.isArray(e)||e.length===0)return!0;let n=e[0];if(typeof n!="object"||Array.isArray(n))return console.warn(`Schema for ${t} should be an object with named parameters`),!0;for(let[s,o]of Object.entries(n)){let a=typeof o=="string"&&o.endsWith("?"),c=a?o.slice(0,-1):o,i=r[s];if(!(s in r)||i===void 0){if(a)continue;throw new Error(`Missing required parameter "${s}" in ${t}`)}let p=Array.isArray(i)?"Array":i===null?"Null":typeof i=="object"?"Object":i.constructor.name;if(p!==c&&c!=="Any")throw new Error(`Parameter "${s}" in ${t} must be of type ${c}, got ${p}`)}return!0}var kn=2,In={name:"respond",description:"Send a conversational response to the user. Use this for greetings, questions, clarifications, status updates, or when the build task is fully complete.",input_schema:{type:"object",properties:{message:{type:"string",description:"Your conversational response to the user"}},required:["message"]}},Nn={name:"screenshot",description:"Render the current scene and look at it. Captures the full scrollable page, scaled to fit one review image when content is very tall. The JSX returned after each edit shows structure; a screenshot shows what the user will actually see. Use it to check your own work \u2014 after building a section, whenever layout could be wrong (overlapping elements, content overflowing its container, text the same colour as its background, collapsed or stretched spacing), and before you finish. Cheap relative to rebuilding something that turned out broken.",input_schema:{type:"object",properties:{reason:{type:"string",description:"What you are checking for (one short sentence)"},frameIds:{type:"array",items:{type:"string"},description:"Frame node ids to capture. Omit to capture every frame \u2014 prefer naming the frame you just changed."},fullPage:{type:"boolean",description:"Include all scroll-hidden content (default true). Set false for a viewport-only shot when checking a small visible region."}}}};function et(r){let e=An(r);return[In,Nn,...e.map(Cn)]}function Cn(r){let e=r.operations.map(t=>{let n=Array.isArray(t.schema)?t.schema[0]:null,s=n&&typeof n=="object"?Object.entries(n).map(([a,c])=>`${a}: ${c}`).join(", "):"",o=(t.examples??[]).slice(0,kn).map(a=>{let c=a.description?` \u2014 ${a.description}`:"";return`
|
|
2
|
-
Example: ${JSON.stringify(a.args)}${c}`}).join("");return` ${t.name} \u2014 ${t.description}
|
|
3
|
-
Args: { ${s} }${o}`}).join(`
|
|
4
|
-
|
|
5
|
-
`);return{name:r.namespace,description:`${r.namespace} operations. Put every operation for the current step in "ops" \u2014 they run in order, and {{ref}} values set by one are resolved for later ones. Batch aggressively: one call with ten operations costs a fraction of ten calls with one. You still see the re-rendered scene after each call.
|
|
6
|
-
|
|
7
|
-
${e}`,input_schema:{type:"object",properties:{ops:{type:"array",description:"Operations to run, in order. Preferred over the single-operation form below.",items:{type:"object",properties:{op:{type:"string",description:`Operation name within ${r.namespace}`},args:{type:"object",description:"Arguments matching the operation's schema. A JSON object, not a string containing JSON."},ref:{type:"string",description:"Optional {{name}} reference for cross-operation use"}},required:["op","args"]}},op:{type:"string",description:`Single operation name within ${r.namespace}. Use "ops" instead when running more than one.`},args:{type:"object",description:"Arguments matching the operation's schema (single-operation form). A JSON object, not a string containing JSON."},ref:{type:"string",description:"Optional {{name}} reference for cross-operation use (single-operation form)"},message:{type:"string",description:"Short explanation of what you are doing (1 sentence)"}}}}}function An(r){return!Array.isArray(r)||r.length===0?[]:r[0]?.namespace&&Array.isArray(r[0]?.operations)?r:r.map(e=>le(e))}var On=new Set(["parent","parentId","nodeId"]),Y,me,V,B,he,Ct,At,ue=class extends ce{constructor(){super(...arguments);f(this,he);f(this,Y,new Map);f(this,me,[]);f(this,V,new Map);f(this,B,new Map)}getters(){return{operationsMetadata:()=>this.getOperationsMetadata(),anthropicTools:()=>this.getAnthropicTools()}}actions(){return{use:(...t)=>{for(let n of t)y(this,he,Ct).call(this,n);return this},has:t=>d(this,Y).has(t),resolveType:t=>this.resolveType(t),describeUnresolved:t=>this.describeUnresolved(t),executeOperation:(t,n,s)=>this.executeOperation(t,n,s),executeBatch:t=>this.executeBatch(t)}}resolveType(t){return typeof t!="string"||!t?null:t.includes(":")?d(this,Y).has(t)?t:null:d(this,V).get(t)??d(this,B).get(t)??null}describeUnresolved(t){if(this.resolveType(t))return null;if(typeof t=="string"&&!t.includes(":")&&d(this,B).has(t)&&d(this,B).get(t)===null){let n=[];for(let[o,a]of d(this,Y))a.name===t&&n.push(a.alias?`${o} (alias: ${a.alias})`:o);let s=n.length?n.join(" or "):t;return`Ambiguous operation: "${t}". Use ${s}.`}return`Unknown operation: ${t}`}getOperationsMetadata(){return d(this,me).map(t=>le(t))}getAnthropicTools(){return et(d(this,me))}async executeOperation(t,n,s=null){let o=this.resolveType(t),a=d(this,Y).get(o);if(!a)throw new Error(this.describeUnresolved(t));try{Qe(n,a.schema,t)}catch(c){throw console.error(`Validation failed for ${t}:`,c),c}try{return{result:await a.handler(n),ref:s}}catch(c){throw console.error(`Handler failed for ${t}:`,c),c}}async executeBatch(t){let{operations:n,description:s,expectation:o}=t;console.log("AiOperations: Executing batch",{count:n.length,description:s});let a=new Map,c=[],i=[];try{for(let p=0;p<n.length;p++){let l=n[p];console.log(`AiOperations: Executing [${p+1}/${n.length}] ${l.type}`);let m=y(this,he,At).call(this,l.args,a),{result:h}=await this.executeOperation(l.type,m,l.ref),g=h.id??h.rootId;if(l.ref&&g&&(a.set(l.ref,g),i.push(g)),h.treeMap)for(let[x,N]of Object.entries(h.treeMap))a.set(x,N),i.push(N);h.createdIds?.length&&i.push(...h.createdIds),c.push({operation:l.type,success:!0,result:h})}return console.log("AiOperations: Execution complete",{total:n.length,successful:c.length,createdIds:i}),{success:!0,description:s,expectation:o,results:c,createdIds:i,refMap:Object.fromEntries(a)}}catch(p){return console.error("AiOperations: Batch execution failed",p),{success:!1,description:s,error:p.message,failedAt:c.length,results:c}}}};Y=new WeakMap,me=new WeakMap,V=new WeakMap,B=new WeakMap,he=new WeakSet,Ct=function(t){let n=this.inject("log");if(!t||typeof t!="function")throw new Error("Operation factory must be a function");let s=t._name;if(!s)throw new Error("Operation factory must have a _name property (use defineAiOperations)");n.info(`AiOperations: Registering operations for namespace "${s}"`),d(this,me).push(t);let o=t(this.inject);for(let[a,c]of Object.entries(o)){let{handler:i,schema:p,description:l,examples:m,returns:h,alias:g}=c,x=`${s}:${a}`;if(!i||typeof i!="function")throw new Error(`Operation ${x} must have a handler function`);l||console.warn(`Operation ${x} missing description`),d(this,Y).set(x,{namespace:s,name:a,handler:i,schema:p||[],description:l||"",examples:m||[],returns:h||"Object",alias:g||null}),g&&(d(this,V).has(g)&&d(this,V).get(g)!==x&&console.warn(`AiOperations: alias "${g}" already registered for ${d(this,V).get(g)}, overriding with ${x}`),d(this,V).set(g,x)),d(this,B).has(a)&&d(this,B).get(a)!==x?d(this,B).set(a,null):d(this,B).set(a,x)}},At=function(t,n){return t&&JSON.parse(JSON.stringify(t),(s,o)=>{if(s==="ref")return o;if(typeof o=="string"&&o.match(/^\{\{.*\}\}$/)){let a=n.get(o)??n.get(o.replace(/\.[^}]+(?=\}\}$)/,""));if(a)return a;if(On.has(s))throw new Error(`Unresolved reference "${o}" in "${s}". {{refs}} only resolve within the same tool call \u2014 use the real node id reported by the previous operation.`);return o}return o})},C(ue,"manifest",{name:"AiOperations",namespace:"aiOps",version:"1.0.0",description:"AI operation registry and executor",author:"",license:"MIT",homepage:""});function tt(r){let e=window.getSelection();if(e.rangeCount===0)return{start:0,end:0};let t=e.getRangeAt(0),n=t.cloneRange();n.selectNodeContents(r),n.setEnd(t.startContainer,t.startOffset);let s=n.toString().length,o=t.cloneRange();o.selectNodeContents(r),o.setEnd(t.endContainer,t.endOffset);let a=o.toString().length;return{start:Math.min(s,a),end:Math.max(s,a)}}function _n(r,e){let t=r.parentElement;for(;t&&t!==e;){if(t.contentEditable==="false")return!0;t=t.parentElement}return!1}function nt(r,e){let t=document.createTreeWalker(r,NodeFilter.SHOW_TEXT),n=0,s=null;for(let o=t.nextNode();o;o=t.nextNode()){if(s=o,e<=n+o.length){if(_n(o,r)){n+=o.length;continue}return{node:o,offset:e-n}}n+=o.length}return s?{node:s,offset:s.length}:null}function ot(r,e){if(!r?.isConnected||e<0)return;let t=nt(r,e);if(!t)return;let n=document.createRange();n.setStart(t.node,t.offset),n.collapse(!0);let s=window.getSelection();s.removeAllRanges(),s.addRange(n)}function Ot(r,e,t){if(!r?.isConnected||e<0)return;if(e===t){ot(r,e);return}let n=nt(r,e),s=nt(r,t);if(!n||!s)return;let o=document.createRange();o.setStart(n.node,n.offset),o.setEnd(s.node,s.offset);let a=window.getSelection();a.removeAllRanges(),a.addRange(o)}function _t(r,e,t=0,n=""){return r.slice(0,e)+n+r.slice(e+t)}function Et(r,e){let t=o=>/[\s\n]/.exec(o),n=e-1,s=e;for(;n>=0&&!t(r[n]);)n-=1;for(n=Math.max(0,n+1);s<r.length&&!t(r[s]);)s+=1;return s=Math.max(n,s),[n,s]}function We({pattern:r,word:e,match:t,regexMatch:n,triggerLen:s,start:o,end:a,cursorPos:c}){let i=c-o;return{pattern:r,word:e,match:t,regexMatch:n,start:o,end:a,query:e.slice(s,i)}}function Rt(r,e,t=[]){if(!r||e===0||t.length===0)return[];let[n,s]=Et(r,e),o=r.slice(n,s);if(!o)return[];let a=[];for(let c of t){if(c.regex){let l=o.match(c.trigger);l&&a.push(We({pattern:c,word:o,match:l[0],regexMatch:l,triggerLen:1,start:n,end:s,cursorPos:e}));continue}let i=c.trigger,p=i.length;c.exact&&o===i?a.push(We({pattern:c,word:o,match:i,regexMatch:null,triggerLen:p,start:n,end:s,cursorPos:e})):c.startsWith&&o.startsWith(i)?a.push(We({pattern:c,word:o,match:i,regexMatch:null,triggerLen:p,start:n,end:s,cursorPos:e})):c.endsWith&&o.endsWith(i)&&a.push(We({pattern:c,word:o,match:i,regexMatch:null,triggerLen:p,start:n,end:s,cursorPos:e}))}return a}var En=new Set(["insertText","insertParagraph","insertLineBreak","deleteContentBackward","deleteContentForward"]),Rn={childList:!0,characterData:!0,subtree:!0},F,ge,X,Oe,O,M,b,A,K,ye,we,be,Se,J,xe,se,I,Tt,Ae,_e,Ee,Re,je,Te,He,Ue,Me,z,fe=class fe{constructor(e,{onInput:t,onBlur:n,onWheel:s,segments:o,shiftSegments:a}={},c={}){f(this,I);f(this,F,[]);f(this,ge,[]);f(this,X,[]);f(this,Oe,{});f(this,O,"");f(this,M,null);f(this,b,0);f(this,A,0);f(this,K,0);f(this,ye,{content:"",start:0,end:0});f(this,we,!1);f(this,be,null);f(this,Se,!1);f(this,J,null);f(this,xe,null);f(this,se,null);f(this,_e,e=>{e.stopPropagation(),e.preventDefault();let t=e.clipboardData;if(!t)return;let n=t.getData("text/plain")||t.getData("text/html");if(!n)return;let s=n;if(n!==t.getData("text/plain")){let o=document.createElement("div");o.innerHTML=n,s=o.textContent||""}y(this,I,Ae).call(this),y(this,I,z).call(this,d(this,b),d(this,A)-d(this,b),s)});f(this,Ee,e=>{switch(console.log("beforeinput",e),e.stopPropagation(),En.has(e.inputType)&&e.preventDefault(),y(this,I,Ae).call(this),e.inputType){case"insertText":y(this,I,z).call(this,d(this,b),d(this,A)-d(this,b),e.data??"");break;case"insertParagraph":case"insertLineBreak":y(this,I,z).call(this,d(this,b),d(this,A)-d(this,b),`
|
|
8
|
-
`);break;case"deleteContentBackward":d(this,b)!==d(this,A)?y(this,I,z).call(this,d(this,b),d(this,A)-d(this,b),""):y(this,I,z).call(this,Math.max(0,d(this,b)-1),Math.min(1,d(this,b)),"");break;case"deleteContentForward":d(this,b)!==d(this,A)?y(this,I,z).call(this,d(this,b),d(this,A)-d(this,b),""):y(this,I,z).call(this,d(this,b),1,"");break}});f(this,Re,()=>{this.onBlur?.(d(this,O))});f(this,je,e=>{e.preventDefault(),this.onWheel({deltaX:e.deltaX,deltaY:e.deltaY,ctrlKey:e.ctrlKey,x:e.clientX,y:e.clientY})});f(this,Te,e=>{e.key===" "&&(e.preventDefault(),y(this,I,Ae).call(this),y(this,I,z).call(this,d(this,b),d(this,A)-d(this,b)," "))});f(this,He,()=>{if(!(d(this,we)||d(this,Se))){if(d(this,se)){let{start:e,end:t}=d(this,se);u(this,se,null),Ot(this.$el,e,t),u(this,b,e),u(this,A,t);return}ot(this.$el,d(this,K))}});f(this,Ue,()=>{u(this,Se,!0)});f(this,Me,()=>{u(this,Se,!1),u(this,O,this.$el.textContent||""),this.onInput?.(d(this,O),d(this,M))});this.$el=e,this.onInput=t,this.onBlur=n,this.onWheel=s,u(this,M,o??null),u(this,xe,a??null),u(this,ge,c.inheritedPatterns??[]),u(this,Oe,c),y(this,I,Tt).call(this)}static create(e,t={},n={}){if(this.instances.has(e))return this.instances.get(e);let s=new fe(e,t,n);return fe.instances.set(e,s),s}get content(){return d(this,O)}get segments(){return d(this,M)}set segments(e){u(this,M,e)}get cursor(){return{start:d(this,b),end:d(this,A)}}getSelection(){return y(this,I,Ae).call(this),{start:d(this,b),end:d(this,A)}}setPendingSelection(e,t){u(this,se,{start:e,end:t})}on(e,t,n=!1){this.$el.addEventListener(e,t,n);let s={eventName:e,callback:t,options:n};return d(this,X).push(s),()=>{this.$el.removeEventListener(e,t,n);let o=d(this,X).indexOf(s);o!==-1&&d(this,X).splice(o,1)}}onMatch(e,t,{exact:n=!0,startsWith:s=!1,endsWith:o=!1}={}){let a=e instanceof RegExp,c={trigger:a?e:e?.trim?.(),regex:a,exact:n,startsWith:s,endsWith:o,callback:t};return d(this,F).push(c),()=>{let i=d(this,F).indexOf(c);i!==-1&&d(this,F).splice(i,1)}}reset(){u(this,O,d(this,ye).content),u(this,K,d(this,ye).start),this.onInput?.(d(this,O))}destroy(){if(!d(this,we)){u(this,we,!0),d(this,be)?.disconnect(),this.$el.removeEventListener("paste",d(this,_e)),this.$el.removeEventListener("beforeinput",d(this,Ee)),this.$el.removeEventListener("blur",d(this,Re)),this.$el.removeEventListener("compositionstart",d(this,Ue)),this.$el.removeEventListener("compositionend",d(this,Me)),this.$el.removeEventListener("keydown",d(this,Te)),d(this,J)&&(document.removeEventListener("wheel",d(this,J),{passive:!1,capture:!0}),u(this,J,null));for(let{eventName:e,callback:t,options:n}of d(this,X))this.$el.removeEventListener(e,t,n);u(this,X,[]),u(this,F,[]),fe.instances.delete(this.$el),d(this,Oe).onDestroy?.(this)}}};F=new WeakMap,ge=new WeakMap,X=new WeakMap,Oe=new WeakMap,O=new WeakMap,M=new WeakMap,b=new WeakMap,A=new WeakMap,K=new WeakMap,ye=new WeakMap,we=new WeakMap,be=new WeakMap,Se=new WeakMap,J=new WeakMap,xe=new WeakMap,se=new WeakMap,I=new WeakSet,Tt=function(){u(this,O,this.$el.textContent||"");let{start:e,end:t}=tt(this.$el);u(this,b,e),u(this,A,t),u(this,K,e),u(this,ye,{content:d(this,O),start:e,end:t}),this.$el.addEventListener("paste",d(this,_e)),this.$el.addEventListener("beforeinput",d(this,Ee)),this.$el.addEventListener("blur",d(this,Re)),this.$el.addEventListener("compositionstart",d(this,Ue)),this.$el.addEventListener("compositionend",d(this,Me)),this.$el.tagName==="BUTTON"&&this.$el.addEventListener("keydown",d(this,Te)),u(this,be,new MutationObserver(d(this,He))),d(this,be).observe(this.$el,Rn),this.onWheel&&(u(this,J,d(this,je)),document.addEventListener("wheel",d(this,J),{passive:!1,capture:!0}))},Ae=function(){let{start:e,end:t}=tt(this.$el);u(this,b,e),u(this,A,t)},_e=new WeakMap,Ee=new WeakMap,Re=new WeakMap,je=new WeakMap,Te=new WeakMap,He=new WeakMap,Ue=new WeakMap,Me=new WeakMap,z=function(e,t,n){u(this,O,_t(d(this,O),e,t,n)),u(this,K,e+n.length),d(this,M)&&d(this,xe)&&u(this,M,d(this,xe).call(this,d(this,M),e,t,n));let s=d(this,ge).length?[...d(this,F),...d(this,ge)]:d(this,F),o=Rt(d(this,O),d(this,K),s);for(let a of o)a.pattern.callback({word:a.word,trigger:a.match,start:a.start,end:a.end,query:a.query,match:a.regexMatch});this.onInput?.(d(this,O),d(this,M))},C(fe,"instances",new WeakMap);var Z=fe;var ae,Q,re,ve=class extends ce{constructor(){super(...arguments);f(this,ae,[]);f(this,Q,[]);f(this,re,new Set)}actions(){return{create:(t,n={})=>{try{if(!(t instanceof HTMLElement))throw new Error("ContentEditor.create: $el must be an HTMLElement");t.isContentEditable||(t.contentEditable="true");let s=Z.create(t,n,{inheritedPatterns:d(this,ae),onDestroy:o=>{for(let{eventName:a,callback:c,options:i}of d(this,Q))o.$el.removeEventListener(a,c,i);d(this,re).delete(o),Z.instances.delete(t)}});for(let{eventName:o,callback:a,options:c}of d(this,Q))t.addEventListener(o,a,c);return d(this,re).add(s),s}catch(s){return console.error(s),null}},getTarget:t=>Z.instances.get(t),onMatch:(t,n,s={})=>{let o=t instanceof RegExp,a={trigger:o?t:t?.trim?.(),regex:o,exact:s.exact??!0,startsWith:s.startsWith??!1,endsWith:s.endsWith??!1,callback:n};return d(this,ae).push(a),()=>{let c=d(this,ae).indexOf(a);c!==-1&&d(this,ae).splice(c,1)}},on:(t,n,s=!1)=>{let o={eventName:t,callback:n,options:s};d(this,Q).push(o);for(let a of d(this,re))a.$el.addEventListener(t,n,s);return()=>{let a=d(this,Q).indexOf(o);a!==-1&&d(this,Q).splice(a,1);for(let c of d(this,re))c.$el.removeEventListener(t,n,s)}},applyFormat:(t,n,s)=>{if(!t)return null;let{start:o,end:a}=t.getSelection();if(o===a)return null;let c=t.segments;if(!c)return null;let i=s(c,o,a,n);return t.segments=i,t.setPendingSelection(o,a),i},removeFormat:(t,n,s)=>{if(!t)return null;let{start:o,end:a}=t.getSelection();if(o===a)return null;let c=t.segments;if(!c)return null;let i=s(c,o,a,n);return t.segments=i,t.setPendingSelection(o,a),i},reset:t=>Z.instances.get(t)?.reset(),destroy:t=>Z.instances.get(t)?.destroy()}}};ae=new WeakMap,Q=new WeakMap,re=new WeakMap,C(ve,"manifest",{name:"Content Editor",namespace:"contentEditor",version:"1.0.0",description:"Content editor extension"});function ze(r,e){let t=null,n=0;return typeof r=="function"?(t=r,typeof e=="number"&&(n=e)):typeof r=="number"&&(n=r),(...s)=>new Promise((o,a)=>{setTimeout(()=>{try{let c=t?t(...s):void 0;o(c)}catch(c){a(c)}},n)})}var Tn=Object.defineProperty,$=(r,e)=>Tn(r,"name",{value:e,configurable:!0}),ke,ee=(ke=class{constructor(e=""){this.isMarker=!0,this.description=e}},$(ke,"Marker"),ke),Fe,S,Ie,ie,v,te,W,P,ne,D,Mt,qe,$t,$e,Ut=(Fe=class extends Ge{constructor(){super(...arguments);f(this,D);f(this,S,[]);f(this,Ie,!1);f(this,ie,new Set);f(this,v,0);f(this,te,!1);f(this,W,new Map);f(this,P,!0);f(this,ne,!1);C(this,"onUndoRedo",null);f(this,qe,ze(()=>{y(this,D,$e).call(this),u(this,ne,!1)}));C(this,"undo",ze(e=>{if(!this.onUndoRedo)throw new Error("Undo/redo handler is required for undo operation");if(y(this,D,$e).call(this),d(this,v)<=0)return!1;if(u(this,P,!1),!(d(this,S)[d(this,v)]instanceof ee))return console.warn("Expected to be at a marker for undo operation"),!1;let t=new Set,n=d(this,v)-1;for(;n>0;){let s=d(this,S)[n];if(s instanceof ee)break;t.add(wt(s)),n--}return u(this,v,n),this.onUndoRedo(Array.from(t)),e&&typeof e=="function"&&e(),u(this,P,!0),!0}));C(this,"redo",ze(e=>{if(!this.onUndoRedo)throw new Error("Undo/redo handler is required for redo operation");if(d(this,v)>=d(this,S).length-1)return!1;if(u(this,P,!1),!(d(this,S)[d(this,v)]instanceof ee))return console.warn("Expected to be at a marker for redo operation"),!1;let t=new Set;for(Je(this,v)._++;d(this,v)<d(this,S).length;){let n=d(this,S)[d(this,v)];if(n instanceof ee)break;t.add(n),Je(this,v)._++}return this.onUndoRedo(t),e&&typeof e=="function"&&e(),u(this,P,!0),!0}))}initialize(e){this.onUndoRedo=t=>e.apply(t)}actions(e){return{undo:$(t=>this.undo(t),"undo"),redo:$(t=>this.redo(t),"redo"),canUndo:$(()=>this.canUndo(),"canUndo"),canRedo:$(()=>this.canRedo(),"canRedo"),group:$(t=>this.group(t),"group"),commit:$(t=>this.commit(t),"commit"),onCommit:$(t=>this.onCommit(t),"onCommit"),addMarker:$(t=>this.addMarker(t),"addMarker"),size:$(()=>this.size(),"size"),start:$(()=>y(this,D,Mt).call(this),"start")}}onStateChange(e,t,n){if(!d(this,Ie)||!d(this,P)||t.method==="apply")return;let s=d(this,W).get(e.address),o=s?{...t,from:s.from}:t;d(this,W).set(e.address,o),!n&&!d(this,te)&&y(this,D,$t).call(this)}addMarker(e=""){y(this,D,$e).call(this,e),u(this,v,d(this,S).length-1)}canUndo(){return d(this,v)>0}canRedo(){return d(this,v)<d(this,S).length-1}size(){return d(this,S).length}group(e){return u(this,te,!0),typeof e=="function"?(e(this),this.commit()):()=>this.commit()}commit(e=""){return y(this,D,$e).call(this,e),u(this,te,!1),this}pause(){u(this,P,!1)}resume(){u(this,P,!0)}onCommit(e){return d(this,ie).add(e),()=>{d(this,ie).delete(e)}}reset(){u(this,S,[new ee("History Start")]),u(this,ie,new Set),u(this,v,0),u(this,te,!1),u(this,W,new Map),u(this,P,!0),u(this,ne,!1),u(this,Ie,!1),this.onUndoRedo=null}},S=new WeakMap,Ie=new WeakMap,ie=new WeakMap,v=new WeakMap,te=new WeakMap,W=new WeakMap,P=new WeakMap,ne=new WeakMap,D=new WeakSet,Mt=function(){u(this,S,[new ee("History Start")]),u(this,v,0),u(this,Ie,!0),d(this,W).clear(),u(this,te,!1),u(this,ne,!1)},qe=new WeakMap,$t=function(){d(this,ne)||(u(this,ne,!0),d(this,qe).call(this))},$e=function(e=""){if(d(this,W).size===0)return;d(this,v)<d(this,S).length-1&&d(this,S).splice(d(this,v)+1);let t=Array.from(d(this,W).values());for(d(this,S).push(...t),d(this,ie).forEach(n=>n(t)),d(this,S)[d(this,S).length-1]instanceof ee||d(this,S).push(new ee(e||Date.now().toString()));d(this,S).length>this.options.maxSize;)d(this,S).shift();d(this,W).clear(),u(this,v,d(this,S).length-1)},C(Fe,"name","history"),C(Fe,"options",{maxSize:100}),Fe);var Un=Object.defineProperty,Pe=(r,e)=>Un(r,"name",{value:e,configurable:!0}),st,oe,q,Ne,de,De,_,Dt,Lt,at,Ye,Gt,Pt=(st=class extends Ge{constructor(e={}){super(e);f(this,_);f(this,oe,new Set);f(this,q,new Map);f(this,Ne,!1);f(this,de,!1);f(this,De,0);u(this,De,e.debounce??0)}actions(){return{addListener:Pe(e=>{if(typeof e=="function")return y(this,_,at).call(this,e)},"addListener"),subscribe:Pe(e=>{if(typeof e=="function")return y(this,_,at).call(this,e)},"subscribe"),unsubscribe:Pe(e=>{if(typeof e=="function")return y(this,_,Ye).call(this,e)},"unsubscribe"),removeListener:Pe(e=>y(this,_,Ye).call(this,e),"removeListener"),clear:Pe(()=>y(this,_,Gt).call(this),"clear")}}onStateChange(e,t){!d(this,de)||t.method==="apply"||y(this,_,Dt).call(this,e,t)}},oe=new WeakMap,q=new WeakMap,Ne=new WeakMap,de=new WeakMap,De=new WeakMap,_=new WeakSet,Dt=function(e,t){d(this,q).has(e.address)&&d(this,q).delete(e.address),d(this,q).set(e.address,t),y(this,_,Lt).call(this)},Lt=function(){if(!d(this,Ne)){u(this,Ne,!0);try{setTimeout(()=>{let e=Array.from(d(this,q).values());d(this,q).clear();for(let t of d(this,oe))try{t(e)}catch(n){console.error("Error in onChange listener:",n)}u(this,Ne,!1)},d(this,De))}catch(e){console.error(e)}}},at=function(e){return d(this,oe).add(e),u(this,de,!0),()=>y(this,_,Ye).call(this,e)},Ye=function(e){typeof e=="function"&&(d(this,oe).delete(e),d(this,oe).size===0&&u(this,de,!1))},Gt=function(){d(this,oe).clear(),d(this,q).clear(),u(this,de,!1)},C(st,"name","onChange"),st);function Bt(){let r=window.innerWidth,e=window.innerHeight,n=document.body.style.transform||"",s={x:0,y:0},o=1;if(n){let a=n.match(/translate\(([^,]+),\s*([^)]+)\)/);a&&(s.x=parseFloat(a[1].replace("px",""))||0,s.y=parseFloat(a[2].replace("px",""))||0);let c=n.match(/scale\(([^)]+)\)/);c&&(o=parseFloat(c[1]))}return{scroll:s,scale:o,width:r,height:e}}var Wt=E("node",r=>({create:{description:'Create a new node in the scene graph. type is a prototype name (e.g. div, header, p, button, frame). Optional props (e.g. name, frame). parent is the id of the container to create the node INSIDE \u2014 always pass it when a container exists. It falls back to "app" (the canvas root), which is only correct for frames; creating at the root and moving the node afterwards costs two operations instead of one and re-renders the scene twice.',alias:"create",mcpName:"create_node",schema:[{type:"String",props:"Object?",parent:"String?"}],examples:[{args:{type:"button",parent:"nd_hero"},description:"Create a button inside an existing container \u2014 pass that container id as parent"},{args:{type:"frame",props:{frame:"iPhone SE",name:"Home"},parent:"app"},description:"Frames are the exception \u2014 they belong at the canvas root"},{args:{type:"nav",parent:"nd_header"},description:"Create a nav inside an existing header"}],returns:"{ id: String, type: String }",handler:async e=>{let t=r("state"),{addNode:n}=await import("./addNode-QXU2P4AE.js"),s=t.ref(["nodes"]),{type:o,props:a,parent:c="app"}=e,i=n(s,o,a,c);if(i instanceof Error)throw i;if(o==="frame"){let l=(s.get(["app","children"])??[]).filter(m=>m!==i);if(l.length>0){let m=0;for(let g of l){let x=s.get([g,"bounds"]);x&&(m=Math.max(m,(x.x??0)+(x.width??0)))}let{updateBounds:h}=await import("./updateBounds-5M7YQRO3.js");h(s,i,{x:m+100,y:0})}}return{id:i,type:o}}},updateStyle:{description:'Update styles for a node. Optional breakpoint targets a variant: "@720" (responsive), ":hover" (pseudo-state), "&.is-active" (custom state).',mcpName:"update_style",schema:[{nodeId:"String",styles:"Object",breakpoint:"String?"}],examples:[{args:{nodeId:"nd_123",styles:{"background-color":"#2563eb",padding:"16px","border-radius":"8px"}},description:"Set background, padding, and border radius"},{args:{nodeId:"nd_123",styles:{"background-color":"#1d4ed8"},breakpoint:":hover"},description:"Set hover background"}],returns:"{ id: String, styles: Object }",handler:async e=>{let t=r("state"),{updateStyle:n}=await import("./updateStyle-JASLFXVX.js"),s=t.ref(["nodes"]),{nodeId:o,styles:a,breakpoint:c}=e,i=["display","position"].filter(h=>h in a),p={};c&&(c.startsWith(":")||c.startsWith("&")?p.interactionState=[c]:p.breakpoint=c);let l=n(s,o,{...a},p),m={id:o,styles:l};return i.length&&(m.warning=`Ignored ${i.join(", ")} \u2014 use node:setAutoLayout to change layout mode.`),m}},updateText:{description:"Set text content for a node. Use {{expression}} syntax for dynamic values.",mcpName:"update_text",schema:[{nodeId:"String",value:"String"}],examples:[{args:{nodeId:"nd_heading",value:"Welcome"},description:'Set static text to "Welcome"'},{args:{nodeId:"nd_label",value:"{{user.name}}"},description:"Set dynamic text with expression"}],returns:"{ id: String, textContent: Object }",handler:async e=>{let t=r("state"),{createTextContent:n}=await import("./createTextContent-4Z4YATBO.js"),s=t.ref(["nodes"]),{nodeId:o,value:a}=e,c=n({value:a});return s.set([o,"textContent"],c),{id:o,textContent:c}}},move:{description:"Move a node to be the last child of another node",mcpName:"move_node",schema:[{nodeId:"String",parentId:"String"}],examples:[{args:{nodeId:"nd_link",parentId:"nd_nav"},description:"Move link into nav"}],returns:"{ id: String, movedTo: String, success: Boolean }",handler:async e=>{let t=r("state"),{disconnectNode:n}=await import("./disconnectNode-2CLWVIQP.js"),{moveNodeToLastChildOf:s}=await import("./moveNodeToLastChildOf-CWSWITHI.js"),o=t.ref(["nodes"]),{nodeId:a,parentId:c}=e;n(o,a);let i=s(o,a,c);return{id:a,movedTo:c,success:i}}},remove:{description:"Remove a node and all its descendants from the scene graph",alias:"removeNode",mcpName:"remove_node",schema:[{nodeId:"String"}],examples:[{args:{nodeId:"nd_old_element"},description:"Remove an element"}],returns:"{ id: String, removed: Boolean, removedNodes: Object }",handler:async e=>{let t=r("state"),{removeNode:n}=await import("./removeNode-5HXQ63V3.js"),s=t.ref(["nodes"]),{nodeId:o}=e,[a,c]=n(s,o);return{id:a,removed:!0,removedNodes:c}}},setAutoLayout:{description:'Set the layout mode of a container node ("none" | "block" | "flex" | "grid"). Sets layout on the parent and the corresponding display style, and normalizes all direct children so they flow correctly. Always use this instead of setting display via updateStyle.',alias:"setLayout",mcpName:"set_layout",schema:[{nodeId:"String",layout:"String"}],examples:[{args:{nodeId:"nd_container",layout:"flex"},description:"Enable flex auto-layout on a container"},{args:{nodeId:"nd_container",layout:"none"},description:"Disable auto-layout, reverting children to absolute positioning"}],returns:"{ id: String, layout: String, childrenUpdated: Number }",handler:async e=>{let t=r("state"),{setNodeLayout:n}=await import("./setNodeLayout-KQVZJBYW.js"),s=t.ref(["nodes"]),{nodeId:o,layout:a}=e;return n(s,o,a)}},setName:{description:"Set a display name on a node. Names appear in get_scene output and make the tree readable. Pass an empty string to clear back to the default (tag name).",mcpName:"set_name",schema:[{nodeId:"String",name:"String"}],examples:[{args:{nodeId:"nd_123",name:"Hero Section"},description:"Name a section"}],returns:"{ id: String, name: String }",handler:async e=>{let n=r("state").ref(["nodes"]),{nodeId:s,name:o}=e;if(o===""){let{clearName:c}=await import("./clearName-HJ7ZTHBU.js");return c(n,s),{id:s,name:""}}let{setName:a}=await import("./setName-NKRZPBGG.js");return a(n,s,o),{id:s,name:o}}},clearName:{description:"Clear the display name from a node, reverting to its tag name.",schema:[{nodeId:"String"}],examples:[{args:{nodeId:"nd_123"},description:"Clear name back to default"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{clearName:n}=await import("./clearName-HJ7ZTHBU.js"),s=t.ref(["nodes"]),{nodeId:o}=e;return n(s,o),{id:o}}},addComponent:{description:"Convert an existing node into a reusable local component. Nested nodes are replaced in-place by an instance; direct children of app/temp become the component artboard only (no instance). Returns componentId and instanceId (null when promoted from app/temp).",mcpName:"add_component",schema:[{nodeId:"String",name:"String?"}],examples:[{args:{nodeId:"nd_card",name:"Card"},description:"Convert a card node into a reusable component"}],returns:"{ instanceId: String | null, componentId: String, name: String }",handler:async e=>{let t=r("state"),{addComponent:n}=await import("./addComponent-3JC5NC3Y.js"),s=t.ref(["nodes"]),{nodeId:o,name:a=""}=e,{componentId:c,instanceId:i}=n(s,o,a);return{instanceId:i,componentId:c,name:a}}}}));var jt=E("tree",r=>({create:{description:'Create a nested tree of nodes recursively (use for complex structures like page sections). FRAMES are the only tree that belongs at the root \u2014 they MUST have parent "app". Every other tree must be created directly into its container by passing that container id as parent. Never create at the root and move afterwards: that costs two operations per node and re-renders the scene twice.',alias:"createTree",schema:[{tree:"Object",parent:"String?"}],examples:[{args:{tree:{type:"frame",name:"Home",frame:"iPhone SE",bounds:{x:0,y:400},styles:{display:"flex","flex-direction":"column",overflow:"hidden"},children:[{type:"header",styles:{padding:"16px"},children:[{type:"h1",text:"App Name"}]},{type:"main",styles:{flex:"1"}},{type:"footer",styles:{padding:"16px"},text:"Footer"}]},parent:"app"},description:'A FRAME goes at the canvas root \u2014 parent "app"'},{args:{tree:{type:"section",name:"Hero Section",styles:{display:"flex","flex-direction":"column",gap:"24px",padding:"64px"},children:[{type:"h1",name:"Headline",text:"Build faster"},{type:"p",name:"Subheadline",text:"Ship in minutes, not weeks."},{type:"button",name:"CTA Button",text:"Get started"}]},parent:"nd_home_frame"},description:"Everything that is NOT a frame is created directly inside its container \u2014 pass the container id, do not create at the root and move it"}],returns:"{ rootId: String, createdIds: Array, treeMap: Object }",handler:async e=>{let t=r("state"),n=r("log"),{addTree:s}=await import("./addTree-S73GXWZP.js"),o=t.ref(["nodes"]),{tree:a,parent:c="app"}=e,{rootId:i,createdIds:p,treeMap:l}=s(o,a,c,{onWarn:(m,h)=>n.warn(m,h)});return{id:i,rootId:i,createdIds:p,treeMap:l,type:"tree"}}}}));var Ht=E("behavior",r=>({addEvent:{description:'Add or replace an event handler on a node (replaces any existing handler with the same name). Event names use React-style onX format (onClick, onSubmit, onInput, onChange, onMouseEnter, etc.); lowercase names like "click" or "submit" are auto-normalized. Use binding for zero-arg store actions (e.g. "$store.myStore.doSomething"); use code when you need arguments or complex logic \u2014 code MUST be a complete function expression: function (ctx, event) { ... }. Access stores inside the handler via ctx.$store.<storeName>.',mcpName:"add_event",schema:[{nodeId:"String",name:"String",binding:"String?",code:"String?",mode:"String?"}],examples:[{args:{nodeId:"nd_btn",name:"onClick",binding:"$store.default.increment"},description:"Call store action on click"},{args:{nodeId:"nd_btn",name:"onClick",code:`function (ctx, event) {
|
|
9
|
-
ctx.$store.todo.items.push({ text: ctx.$store.todo.newTodo, done: false })
|
|
10
|
-
ctx.$store.todo.newTodo = ""
|
|
11
|
-
}`},description:"Add click handler with code"},{args:{nodeId:"nd_form",name:"onSubmit",code:`function (ctx, event) {
|
|
12
|
-
event.preventDefault()
|
|
13
|
-
}`},description:"Prevent default on form submit"}],returns:"{ id: String, name: String }",handler:async e=>{let t=r("state"),{addEvent:n}=await import("./addEvent-HOBNKM2F.js"),{updateEvent:s}=await import("./updateEvent-R52PL2G4.js"),{normalizeEventName:o}=await import("./normalizeEventName-SNBYJDUY.js"),a=t.ref(["nodes"]),{nodeId:c,name:i,binding:p,code:l,mode:m}=e,h=o(i);if((a.get([c,"events"])??[]).find(N=>N.name===h)||n(a,c,h),p!==void 0){let N=(a.get([c,"events"])??[]).find(R=>R.name===h)??{name:h};s(a,c,h,{...N,mode:"binding",binding:p.split("."),code:null})}else if(l!==void 0){let N=(a.get([c,"events"])??[]).find(R=>R.name===h)??{name:h};s(a,c,h,{...N,mode:m??"code",code:l,binding:null})}return{id:c,name:h}}},updateEvent:{description:"Update an existing event handler by name",schema:[{nodeId:"String",name:"String",event:"Object"}],examples:[{args:{nodeId:"nd_btn",name:"onClick",event:{mode:"code",code:'alert("hi")'}},description:"Update onClick handler"}],returns:"{ id: String, name: String }",handler:async e=>{let t=r("state"),{updateEvent:n}=await import("./updateEvent-R52PL2G4.js"),{normalizeEventName:s}=await import("./normalizeEventName-SNBYJDUY.js"),o=t.ref(["nodes"]),{nodeId:a,name:c,event:i}=e,p=s(c),l=i?.name!==void 0?{...i,name:s(i.name)}:{...i,name:p};return n(o,a,p,l),{id:a,name:p}}},removeEvent:{description:"Remove an event handler by name",schema:[{nodeId:"String",name:"String"}],examples:[{args:{nodeId:"nd_btn",name:"onClick"},description:"Remove onClick handler"}],returns:"{ id: String, name: String }",handler:async e=>{let t=r("state"),{removeEvent:n}=await import("./removeEvent-2YZ55HD6.js"),{normalizeEventName:s}=await import("./normalizeEventName-SNBYJDUY.js"),o=t.ref(["nodes"]),{nodeId:a,name:c}=e,i=s(c);return n(o,a,i),{id:a,name:i}}},updateRoute:{description:"Set the route path on a frame node for multi-page navigation",schema:[{nodeId:"String",route:"Any"}],examples:[{args:{nodeId:"nd_frame",route:"/about"},description:"Set route path"},{args:{nodeId:"nd_frame",route:{path:"/users/:id"}},description:"Set route with params"}],returns:"{ id: String, route: Object }",handler:async e=>{let t=r("state"),{updateRoute:n}=await import("./updateRoute-TFQFFFSZ.js"),s=t.ref(["nodes"]),{nodeId:o,route:a}=e,c=typeof a=="string"?{path:a}:a;return n(s,o,c),{id:o,route:c}}},setHomePage:{description:"Mark a frame as the home page (root route)",schema:[{nodeId:"String",isHomePage:"Any"}],examples:[{args:{nodeId:"nd_frame",isHomePage:!0},description:"Set as home page"}],returns:"{ id: String, isHomePage: Any }",handler:async e=>{let t=r("state"),{setHomePage:n}=await import("./setHomePage-O2JYOG6H.js"),s=t.ref(["nodes"]),{nodeId:o,isHomePage:a}=e;return n(s,o,a),{id:o,isHomePage:a}}},setDestination:{description:"Set a navigation destination on a link or button node",schema:[{nodeId:"String",destination:"Any"}],examples:[{args:{nodeId:"nd_link",destination:"/about"},description:"Navigate to /about on click"}],returns:"{ id: String, destination: Object }",handler:async e=>{let t=r("state"),{setDestination:n}=await import("./setDestination-NCPAVIIK.js"),s=t.ref(["nodes"]),{nodeId:o,destination:a}=e,c=typeof a=="string"?{path:a}:a;return n(s,o,c),{id:o,destination:c}}},clearDestination:{description:"Remove the navigation destination from a node",schema:[{nodeId:"String"}],examples:[{args:{nodeId:"nd_link"},description:"Clear navigation destination"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{clearDestination:n}=await import("./clearDestination-IGKNL7FN.js"),s=t.ref(["nodes"]),{nodeId:o}=e;return n(s,o),{id:o}}},setRepeat:{description:'Repeat a node for each item in a data binding (loop). binding is a dot-path on ctx (e.g. "$store.todo.items").',schema:[{nodeId:"String",binding:"String",as:"String?",index:"String?",key:"Any?",keyOn:"Any?"}],examples:[{args:{nodeId:"nd_card",binding:"$store.todo.items",as:"$item"},description:"Repeat card for each item in the todo store"}],returns:"{ id: String, binding: String }",handler:async e=>{let t=r("state"),{setRepeat:n}=await import("./setRepeat-WN4WZJUN.js"),s=t.ref(["nodes"]),{nodeId:o,binding:a,as:c,index:i,key:p,keyOn:l}=e,m=a.split(".");return n(s,o,{descriptor:{mode:"binding",binding:m},as:c,index:i,key:p,keyOn:l}),{id:o,binding:a}}},clearRepeat:{description:"Remove repeat binding from a node",schema:[{nodeId:"String"}],examples:[{args:{nodeId:"nd_card"},description:"Stop repeating"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{clearRepeat:n}=await import("./clearRepeat-7YFYZODP.js"),s=t.ref(["nodes"]),{nodeId:o}=e;return n(s,o),{id:o}}},setRender:{description:'Conditionally show/hide a node based on an expression. Pass an expression that uses ctx (e.g. "ctx.$store.user.isAdmin"); it is wrapped as a computed function automatically. Stores are at ctx.$store.<name>; loop vars at ctx.$item / ctx.$index.',schema:[{nodeId:"String",value:"String"}],examples:[{args:{nodeId:"nd_admin",value:"ctx.$store.user.isAdmin"},description:"Show only for admins"}],returns:"{ id: String, value: String }",handler:async e=>{let t=r("state"),{setRender:n}=await import("./setRender-7XMGQ7ZK.js"),s=t.ref(["nodes"]),{nodeId:o,value:a}=e,c=`function (ctx) {
|
|
14
|
-
return ${a}
|
|
15
|
-
}`;return n(s,o,{mode:"computed",computed:c}),{id:o,value:a}}},clearRender:{description:"Remove conditional rendering from a node (always show)",schema:[{nodeId:"String"}],examples:[{args:{nodeId:"nd_admin"},description:"Always render"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{clearRender:n}=await import("./clearRender-NPVDTNFA.js"),s=t.ref(["nodes"]),{nodeId:o}=e;return n(s,o),{id:o}}},addState:{description:'Register a custom state class on a node (e.g. "is-active"). Style it with updateStyle breakpoint "&.is-active".',schema:[{nodeId:"String",stateName:"String"}],examples:[{args:{nodeId:"nd_tab",stateName:"is-active"},description:"Add active state"}],returns:"{ id: String, stateName: String }",handler:async e=>{let t=r("state"),{addState:n}=await import("./addState-U2NWEGWV.js"),s=t.ref(["nodes"]),{nodeId:o,stateName:a}=e;return n(s,o,a),{id:o,stateName:a}}},updateState:{description:"Set the expression that controls when a state is active",schema:[{nodeId:"String",stateName:"String",expression:"String"}],examples:[{args:{nodeId:"nd_tab",stateName:"is-active",expression:'$router.currentRoute?.path === "/"'},description:"Activate on home route"}],returns:"{ id: String, stateName: String }",handler:async e=>{let t=r("state"),{updateState:n}=await import("./updateState-JCUSBQOL.js"),s=t.ref(["nodes"]),{nodeId:o,stateName:a,expression:c}=e;return n(s,o,a,{name:a,mode:"computed",computed:c??null}),{id:o,stateName:a}}},removeState:{description:"Remove a custom state from a node",schema:[{nodeId:"String",stateName:"String"}],examples:[{args:{nodeId:"nd_tab",stateName:"is-active"},description:"Remove active state"}],returns:"{ id: String, stateName: String }",handler:async e=>{let t=r("state"),{removeState:n}=await import("./removeState-SGJVQ66N.js"),s=t.ref(["nodes"]),{nodeId:o,stateName:a}=e;return n(s,o,a),{id:o,stateName:a}}},updateBounds:{description:"Update the position and size of a node",schema:[{nodeId:"String",bounds:"Object"}],examples:[{args:{nodeId:"nd_frame",bounds:{x:500,y:0,width:375,height:667}},description:"Position a frame"}],returns:"{ id: String, bounds: Object }",handler:async e=>{let t=r("state"),{updateBounds:n}=await import("./updateBounds-5M7YQRO3.js"),s=t.ref(["nodes"]),{nodeId:o,bounds:a}=e;return n(s,o,a),{id:o,bounds:a}}},setHtmlId:{description:"Set the HTML id attribute on a node",schema:[{nodeId:"String",id:"String"}],examples:[{args:{nodeId:"nd_section",id:"hero-section"},description:"Set HTML id for anchor links"}],returns:"{ id: String, htmlId: String }",handler:async e=>{let t=r("state"),{setHtmlId:n}=await import("./setHtmlId-2W7YW47O.js"),s=t.ref(["nodes"]),{nodeId:o,id:a}=e;return n(s,o,a),{id:o,htmlId:a}}},addAttribute:{description:"Add a custom HTML attribute to a node",schema:[{nodeId:"String",name:"String",value:"Any?",mode:"String?"}],examples:[{args:{nodeId:"nd_img",name:"src",value:"/hero.png"},description:"Set image source"},{args:{nodeId:"nd_img",name:"alt",value:"Hero image"},description:"Set alt text"}],returns:"{ id: String, name: String }",handler:async e=>{let t=r("state"),{addAttribute:n}=await import("./addAttribute-2MZ3OFUE.js"),s=t.ref(["nodes"]),{nodeId:o,name:a,value:c,mode:i}=e;return n(s,o,{name:a,value:c,mode:i}),{id:o,name:a}}},updateAttribute:{description:'Update or upsert an attribute by name. For two-way input binding use name "model", mode "binding", and binding "$store.path". model XOR value/checked \u2014 setting model clears value and checked; setting value or checked clears model.',schema:[{nodeId:"String",name:"String",mode:"String?",value:"Any?",binding:"Any?",computed:"String?",code:"String?"}],examples:[{args:{nodeId:"nd_img",name:"src",value:"/new-hero.png"},description:"Change image source"},{args:{nodeId:"nd_email",name:"model",mode:"binding",binding:"$store.form.email"},description:"Two-way bind input to store"}],returns:"{ id: String, name: String }",handler:async e=>{let t=r("state"),{updateAttribute:n}=await import("./updateAttribute-XXZL2P43.js"),s=t.ref(["nodes"]),{nodeId:o,...a}=e;return typeof a.binding=="string"&&(a.binding=a.binding.split(".")),a.name==="model"&&a.mode==null&&(a.mode="binding"),n(s,o,a.name,a),{id:o,name:a.name}}},removeAttribute:{description:"Remove an attribute by name",schema:[{nodeId:"String",name:"String"}],examples:[{args:{nodeId:"nd_img",name:"src"},description:"Remove src attribute"}],returns:"{ id: String, name: String }",handler:async e=>{let t=r("state"),{removeAttribute:n}=await import("./removeAttribute-DCKZLM55.js"),s=t.ref(["nodes"]),{nodeId:o,name:a}=e;return n(s,o,a),{id:o,name:a}}},addLifecycleHook:{description:'Add a lifecycle hook to a node (mount, unmount, update). mode is "code" with a code string, or "binding" with a store action binding.',schema:[{nodeId:"String",key:"String",code:"String?",binding:"String?"}],examples:[{args:{nodeId:"nd_page",key:"mount",code:'console.log("mounted")'},description:"Run code on mount"},{args:{nodeId:"nd_page",key:"mount",binding:"cart.load"},description:"Call a store action on mount"}],returns:"{ id: String, key: String }",handler:async e=>{let t=r("state"),{addLifecycleHook:n}=await import("./addLifecycleHook-GHYL7FRH.js"),{updateLifecycleHook:s}=await import("./updateLifecycleHook-4RA2U4TR.js"),o=t.ref(["nodes"]),{nodeId:a,key:c,code:i,binding:p}=e;return n(o,a,c),(i!==void 0||p!==void 0)&&s(o,a,c,{key:c,mode:i!==void 0?"code":"binding",code:i??"",binding:p??null}),{id:a,key:c}}},updateLifecycleHook:{description:"Update a lifecycle hook by key. hook may include key, mode, code, binding.",schema:[{nodeId:"String",key:"String",hook:"Object"}],returns:"{ id: String, key: String }",handler:async e=>{let t=r("state"),{updateLifecycleHook:n}=await import("./updateLifecycleHook-4RA2U4TR.js"),s=t.ref(["nodes"]),{nodeId:o,key:a,hook:c}=e,i=(s.get([o,"lifecycle"])??[]).find(p=>p.key===a)??{key:a};return n(s,o,a,{...i,...c}),{id:o,key:a}}},removeLifecycleHook:{description:"Remove a lifecycle hook by key.",schema:[{nodeId:"String",key:"String"}],returns:"{ id: String, key: String }",handler:async e=>{let t=r("state"),{removeLifecycleHook:n}=await import("./removeLifecycleHook-SBPJNF5P.js");return n(t.ref(["nodes"]),e.nodeId,e.key),{id:e.nodeId,key:e.key}}},addOption:{description:"Add a static option to a select node.",schema:[{nodeId:"String",value:"String",label:"String?"}],examples:[{args:{nodeId:"nd_select",value:"us",label:"United States"},description:"Add a select option"}],returns:"{ id: String, value: String }",handler:async e=>{let t=r("state"),{addOption:n}=await import("./addOption-PVXGN7AJ.js"),s=t.ref(["nodes"]),{nodeId:o,value:a,label:c}=e;return n(s,o,{value:a,label:c??a}),{id:o,value:a}}},updateOption:{description:"Update a select option by its current value. Pass the old value to look up, and optionally a new value/label.",schema:[{nodeId:"String",value:"String",newValue:"String?",label:"String?"}],returns:"{ id: String, value: String }",handler:async e=>{let t=r("state"),{updateOption:n}=await import("./updateOption-5U23ZUWV.js"),s=t.ref(["nodes"]),{nodeId:o,value:a,newValue:c,label:i}=e,p=c??a;return n(s,o,a,{value:p,label:i??p}),{id:o,value:p}}},removeOption:{description:"Remove a select option by value.",schema:[{nodeId:"String",value:"String"}],returns:"{ id: String, value: String }",handler:async e=>{let t=r("state"),{removeOption:n}=await import("./removeOption-SYIFB4XW.js");return n(t.ref(["nodes"]),e.nodeId,e.value),{id:e.nodeId,value:e.value}}},setOptionsExpression:{description:"Bind a select node's options to a data expression instead of a static list. binding is a {{expression}} returning an array; valueKey/labelKey pick fields from each item.",schema:[{nodeId:"String",binding:"String",valueKey:"String?",labelKey:"String?"}],examples:[{args:{nodeId:"nd_select",binding:"{{countries}}",valueKey:"code",labelKey:"name"},description:"Populate options from a store"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{setOptionsExpression:n}=await import("./setOptionsExpression-K5EQXJEY.js"),s=t.ref(["nodes"]),{nodeId:o,binding:a,valueKey:c,labelKey:i}=e;return n(s,o,{binding:a,valueKey:c,labelKey:i}),{id:o}}},clearOptionsExpression:{description:"Switch a select node back to its static options list.",schema:[{nodeId:"String"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{clearOptionsExpression:n}=await import("./clearOptionsExpression-NZQFL64E.js");return n(t.ref(["nodes"]),e.nodeId),{id:e.nodeId}}},setTagName:{description:"Change the HTML tag of an element node (e.g. div to section).",mcpName:"set_tag_name",schema:[{nodeId:"String",tagName:"String"}],examples:[{args:{nodeId:"nd_box",tagName:"section"},description:"Make a div semantic"}],returns:"{ id: String, tagName: String }",handler:async e=>{let t=r("state"),{setTagName:n}=await import("./setTagName-U6UJNJLE.js"),s=t.ref(["nodes"]),{nodeId:o,tagName:a}=e;return n(s,o,a),{id:o,tagName:a}}},updateHtml:{description:"Set the inner HTML of a template node (raw HTML embed).",schema:[{nodeId:"String",html:"String"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{updateHtml:n}=await import("./updateHtml-YBJJSWQW.js");return n(t.ref(["nodes"]),e.nodeId,e.html),{id:e.nodeId}}},addRouteParam:{description:"Add a route parameter to a frame route (e.g. an :id segment). Set key to name it; optional marks it optional.",schema:[{nodeId:"String",key:"String?",optional:"Boolean?"}],examples:[{args:{nodeId:"nd_frame",key:"id"},description:"Add an :id param to the route"}],returns:"{ id: String, index: Number }",handler:async e=>{let t=r("state"),{addParamToRoute:n}=await import("./addParamToRoute-VL2VOFZS.js"),s=t.ref(["nodes"]),{nodeId:o,key:a,optional:c}=e;n(s,o);let p=(s.get([o,"route","params"])??[]).length-1;return(a!==void 0||c!==void 0)&&s.set([o,"route","params",p],{key:a??null,optional:c??!1}),{id:o,index:p}}},removeRouteParam:{description:"Remove a route parameter from a frame route by index.",schema:[{nodeId:"String",index:"Number"}],returns:"{ id: String, index: Number }",handler:async e=>{let t=r("state"),{removeParamFromRoute:n}=await import("./removeParamFromRoute-HAYP3WTT.js");return n(t.ref(["nodes"]),e.nodeId,e.index),{id:e.nodeId,index:e.index}}}}));var zt=E("token",r=>({create:{description:'Create a design token. path is the token name (e.g. "color/primary"), type is the token kind (color, dimension, fontFamily, etc.), value is the CSS value. Reference tokens in styles via the slugged path (slashes/dots become dashes): path "color/primary" \u2192 var(--color-primary).',mcpName:"create_token",schema:[{path:"String",value:"String",type:"String?"}],examples:[{args:{path:"color/primary",value:"#3B82F6",type:"color"},description:"Create a primary color token"},{args:{path:"spacing/lg",value:"24px",type:"dimension"},description:"Create a spacing token"}],returns:"{ id: String, path: String }",handler:async e=>{let t=r("state"),{addToken:n}=await import("./addToken-XF2FFA52.js"),s=t.ref(["tokens"]),{path:o,value:a,type:c}=e;return{id:n(s,{$path:o,$value:a,...c!==void 0?{$type:c}:{}}),path:o}}},update:{description:"Update a design token. changes may include path, value, or type.",mcpName:"update_token",schema:[{tokenId:"String",changes:"Object"}],examples:[{args:{tokenId:"tk_abc",changes:{value:"#EF4444"}},description:"Change a token value"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{updateToken:n}=await import("./updateToken-24P2P2SF.js"),s=t.ref(["tokens"]),{tokenId:o,changes:a={}}=e,c={};return a.path!==void 0&&(c.$path=a.path),a.value!==void 0&&(c.$value=a.value),a.type!==void 0&&(c.$type=a.type),n(s,o,c),{id:o}}},delete:{description:"Delete a design token by id.",mcpName:"delete_token",schema:[{tokenId:"String"}],examples:[{args:{tokenId:"tk_abc"},description:"Delete a token"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{removeToken:n}=await import("./removeToken-AIDV7DUM.js"),s=t.ref(["tokens"]);return n(s,e.tokenId),{id:e.tokenId}}}}));function rt(r,e){if(r==null||typeof r!="string")return r;switch(e){case"number":return r===""?0:Number(r);case"boolean":return r==="true"||r==="1";case"array":case"object":if(!r||r==="")return e==="array"?[]:{};try{return JSON.parse(r)}catch{return e==="array"?[]:{}}default:return r}}function Ce(r,{key:e,name:t,index:n}){let s=e??t;return s!==void 0?r.findIndex(o=>(o.key??o.name)===s):n??-1}var Ft=E("store",r=>({create:{description:"Create a data store. Stores hold reactive values, computed properties, and actions that nodes can bind to (via repeat, model, render, or {{expressions}}). The store id is its name. Optionally pass state/computed/actions arrays to seed the store in one call. Store actions and computed use this for state (e.g. function () { this.items = []; }), not a context first argument.",alias:"createStore",mcpName:"create_store",schema:[{name:"String",state:"Array?",computed:"Array?",actions:"Array?"}],examples:[{args:{name:"todo",state:[{key:"newText",type:"string",value:""},{key:"items",type:"array",value:[]}],actions:[{name:"addTodo",code:'function () { const text = this.newText.trim(); if (!text) return; this.items = [...this.items, { text, done: false }]; this.newText = ""; }'}]},description:"Create a todo store with state and actions in one call"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{validateStorePayload:n}=await import("./validateStorePayload-HCBPC7HR.js"),{addStore:s}=await import("./addStore-AQMFKH33.js"),{createValue:o}=await import("./createValue-DXQSLOBG.js"),{createComputed:a}=await import("./createComputed-DMX7CJA3.js"),{createAction:c}=await import("./createAction-73YUTK3T.js");n(e);let i=t.ref([".stores"]),p=s(i,e.name);return e.state?.length&&i.set([p,"state"],e.state.map(l=>o({key:l.key,type:l.type,value:rt(l.value,l.type)}))),e.computed?.length&&i.set([p,"computed"],e.computed.map(l=>a({name:l.name,code:l.code}))),e.actions?.length&&i.set([p,"actions"],e.actions.map(l=>c({name:l.name,code:l.code}))),{id:p}}},remove:{description:"Remove a data store and everything in it.",alias:"removeStore",schema:[{storeId:"String"}],returns:"{ id: String }",handler:async e=>{let t=r("state"),{removeStore:n}=await import("./removeStore-YVBTGA3I.js");return n(t.ref([".stores"]),e.storeId),{id:e.storeId}}},addValue:{description:"Add a reactive value to a store. key is the value name, type is string/number/boolean/array/object, value is the initial value.",mcpName:"add_store_value",schema:[{storeId:"String",key:"String?",type:"String?",value:"String?"}],examples:[{args:{storeId:"cart",key:"items",type:"array",value:"[]"},description:"Add an items array to the cart store"}],returns:"{ storeId: String, key: String, index: Number }",handler:async e=>{let t=r("state"),{addValue:n}=await import("./addValue-O7YXXMST.js"),{updateValue:s}=await import("./updateValue-TSVJM3PO.js"),o=t.ref([".stores"]),{storeId:a,key:c,type:i,value:p}=e;n(o,a,i);let l=o.get([a,"state"])??[],m=0,h=l[m];if(c!==void 0||p!==void 0){let g=i??h.type;s(o,a,m,{key:c??h.key,type:g,value:rt(p??h.value,g)})}return{storeId:a,key:c??h.key,index:m}}},updateValue:{description:"Update a store value by key (or index). changes may include key, type, value.",schema:[{storeId:"String",key:"String?",index:"Number?",changes:"Object"}],examples:[{args:{storeId:"cart",key:"items",changes:{value:'[{"id":1}]'}},description:"Set the items value"}],returns:"{ storeId: String, index: Number }",handler:async e=>{let t=r("state"),{updateValue:n}=await import("./updateValue-TSVJM3PO.js"),s=t.ref([".stores"]),{storeId:o,changes:a={}}=e,c=s.get([o,"state"])??[],i=Ce(c,e);if(i<0)throw new Error(`store value not found: ${e.key??e.index} in ${o}`);let p={...c[i],...a};return a.value!==void 0&&(p.value=rt(p.value,p.type)),n(s,o,i,p),{storeId:o,index:i}}},removeValue:{description:"Remove a store value by key (or index).",schema:[{storeId:"String",key:"String?",index:"Number?"}],returns:"{ storeId: String, index: Number }",handler:async e=>{let t=r("state"),{removeValue:n}=await import("./removeValue-UP5ZFN3U.js"),s=t.ref([".stores"]),o=s.get([e.storeId,"state"])??[],a=Ce(o,e);if(a<0)throw new Error(`store value not found: ${e.key??e.index} in ${e.storeId}`);return n(s,e.storeId,a),{storeId:e.storeId,index:a}}},addComputed:{description:"Add a computed property to a store. code is a function body string: function () { ... } with store state available on this (e.g. this.items).",schema:[{storeId:"String",name:"String?",code:"String?"}],examples:[{args:{storeId:"cart",name:"total",code:"function () { return this.items.reduce((s, i) => s + i.price, 0); }"},description:"Add a cart total computed"}],returns:"{ storeId: String, name: String, index: Number }",handler:async e=>{let t=r("state"),{addComputed:n}=await import("./addComputed-7JLBFD6I.js"),{updateComputed:s}=await import("./updateComputed-7QA6XZIC.js"),o=t.ref([".stores"]),{storeId:a,name:c,code:i}=e;n(o,a);let p=o.get([a,"computed"])??[],l=0,m=p[l];return(c!==void 0||i!==void 0)&&s(o,a,l,{name:c??m.name,code:i??m.code}),{storeId:a,name:c??m.name,index:l}}},updateComputed:{description:"Update a store computed property by name (or index). changes may include name, code.",schema:[{storeId:"String",name:"String?",index:"Number?",changes:"Object"}],returns:"{ storeId: String, index: Number }",handler:async e=>{let t=r("state"),{updateComputed:n}=await import("./updateComputed-7QA6XZIC.js"),s=t.ref([".stores"]),{storeId:o,changes:a={}}=e,c=s.get([o,"computed"])??[],i=Ce(c,e);if(i<0)throw new Error(`store computed not found: ${e.name??e.index} in ${o}`);return n(s,o,i,{...c[i],...a}),{storeId:o,index:i}}},removeComputed:{description:"Remove a store computed property by name (or index).",schema:[{storeId:"String",name:"String?",index:"Number?"}],returns:"{ storeId: String, index: Number }",handler:async e=>{let t=r("state"),{removeComputed:n}=await import("./removeComputed-WSA5GNVZ.js"),s=t.ref([".stores"]),o=s.get([e.storeId,"computed"])??[],a=Ce(o,e);if(a<0)throw new Error(`store computed not found: ${e.name??e.index} in ${e.storeId}`);return n(s,e.storeId,a),{storeId:e.storeId,index:a}}},addAction:{description:"Add an action to a store. code is a function body string: function () { ... } that can read and mutate store values via this (e.g. this.items).",schema:[{storeId:"String",name:"String?",code:"String?"}],examples:[{args:{storeId:"cart",name:"clear",code:"function () { this.items = []; }"},description:"Add a clear-cart action"}],returns:"{ storeId: String, name: String, index: Number }",handler:async e=>{let t=r("state"),{addAction:n}=await import("./addAction-EGLGEGTS.js"),{updateAction:s}=await import("./updateAction-3KSR6ZIJ.js"),o=t.ref([".stores"]),{storeId:a,name:c,code:i}=e;n(o,a);let p=o.get([a,"actions"])??[],l=0,m=p[l];return(c!==void 0||i!==void 0)&&s(o,a,l,{name:c??m.name,code:i??m.code}),{storeId:a,name:c??m.name,index:l}}},updateAction:{description:"Update a store action by name (or index). changes may include name, code.",schema:[{storeId:"String",name:"String?",index:"Number?",changes:"Object"}],returns:"{ storeId: String, index: Number }",handler:async e=>{let t=r("state"),{updateAction:n}=await import("./updateAction-3KSR6ZIJ.js"),s=t.ref([".stores"]),{storeId:o,changes:a={}}=e,c=s.get([o,"actions"])??[],i=Ce(c,e);if(i<0)throw new Error(`store action not found: ${e.name??e.index} in ${o}`);return n(s,o,i,{...c[i],...a}),{storeId:o,index:i}}},removeAction:{description:"Remove a store action by name (or index).",schema:[{storeId:"String",name:"String?",index:"Number?"}],returns:"{ storeId: String, index: Number }",handler:async e=>{let t=r("state"),{removeAction:n}=await import("./removeAction-T4M5EJN7.js"),s=t.ref([".stores"]),o=s.get([e.storeId,"actions"])??[],a=Ce(o,e);if(a<0)throw new Error(`store action not found: ${e.name??e.index} in ${e.storeId}`);return n(s,e.storeId,a),{storeId:e.storeId,index:a}}}}));var qt=E("animation",r=>({create:{description:'Create an animation asset. keyframes is a Web Animations API keyframe array (e.g. [{ opacity: 0 }, { opacity: 1 }]). scope is "project" (reusable) or "node". Bind it to nodes with animation:bind.',mcpName:"create_animation",schema:[{name:"String",keyframes:"Array",duration:"Number?",easing:"String?",iterations:"Number?",fill:"String?",scope:"String?"}],examples:[{args:{name:"Fade In",keyframes:[{opacity:0},{opacity:1}],duration:400,easing:"ease-out",scope:"project"},description:"Create a reusable fade-in animation"}],returns:"{ id: String, name: String }",handler:async e=>{let t=r("state"),{createAnimation:n}=await import("./createAnimation-2WQSMYT5.js"),{createAnimationId:s}=await import("./id-ZIAZZ5AS.js"),o=t.ref(["animations"]),{name:a,keyframes:c,duration:i,easing:p,iterations:l,fill:m,scope:h}=e,g=s();return o.set([g],n({name:a,keyframes:c,duration:i,easing:p,iterations:l,fill:m,scope:h??"project"})),{id:g,name:a}}},update:{description:"Update an animation asset. changes may include name, keyframes, duration, easing, iterations, fill, direction, delay.",schema:[{animationId:"String",changes:"Object"}],examples:[{args:{animationId:"anim_abc",changes:{duration:600}},description:"Slow an animation down"}],returns:"{ id: String }",handler:async e=>{let n=r("state").ref(["animations"]),{animationId:s,changes:o={}}=e;if(!n.get([s]))throw new Error(`animation not found: ${s}`);for(let[c,i]of Object.entries(o))n.set([s,c],i);return{id:s}}},delete:{description:"Delete an animation asset by id. Does not remove bindings that reference it.",schema:[{animationId:"String"}],returns:"{ id: String }",handler:async e=>(r("state").ref(["animations"]).remove([e.animationId]),{id:e.animationId})},bind:{description:'Bind an animation to a node. play is the trigger: "mount", "click", "hover", etc. Set reverse to a trigger to play backwards on that event.',mcpName:"bind_animation",schema:[{nodeId:"String",animationId:"String",play:"String?",reverse:"String?"}],examples:[{args:{nodeId:"nd_hero",animationId:"anim_abc",play:"mount"},description:"Fade the hero in on mount"}],returns:"{ nodeId: String, animationId: String, index: Number }",handler:async e=>{let t=r("state"),{addAnimationBinding:n}=await import("./addAnimationBinding-WCB5VZLU.js"),s=t.ref(["nodes"]),{nodeId:o,animationId:a,play:c,reverse:i}=e,p={id:a,play:c??"mount"};return i!==void 0&&(p.reverse=i),n(s,o,p),{nodeId:o,animationId:a}}},unbind:{description:"Remove an animation binding from a node by animation id.",schema:[{nodeId:"String",animationId:"String"}],returns:"{ nodeId: String, animationId: String }",handler:async e=>{let t=r("state"),{removeAnimationBinding:n}=await import("./removeAnimationBinding-AIISPC33.js");return n(t.ref(["nodes"]),e.nodeId,e.animationId),{nodeId:e.nodeId,animationId:e.animationId}}},updateBinding:{description:"Update an animation binding on a node by animation id. binding may include play, reverse, or id.",schema:[{nodeId:"String",animationId:"String",binding:"Object"}],returns:"{ nodeId: String, animationId: String }",handler:async e=>{let t=r("state"),{updateAnimationBinding:n}=await import("./updateAnimationBinding-HVVHLFBO.js");return n(t.ref(["nodes"]),e.nodeId,e.animationId,e.binding),{nodeId:e.nodeId,animationId:e.animationId}}}}));var Yt=[Wt,jt,Ht,zt,Ft,qt];var it=[{type:"graphic",displayName:"Rectangle",category:"shapes",keywords:["rectangle"],shape:"rectangle"},{type:"graphic",displayName:"Rounded Rectangle",category:"shapes",keywords:["rounded","rectangle"],shape:"roundedRectangle"},{type:"graphic",displayName:"Ellipse",category:"shapes",keywords:["ellipse"],shape:"ellipse"},{type:"graphic",displayName:"Triangle",category:"shapes",keywords:["triangle"],shape:"triangle"}];var Vt=[{type:"aside",displayName:"Aside",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"aside"},{type:"footer",displayName:"Footer",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"footer"},{type:"form",displayName:"Form",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"form"},{type:"header",displayName:"Header",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"header"},{type:"main",displayName:"Main",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"main"},{type:"section",displayName:"Section",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"section"},{type:"article",displayName:"Article",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"article"},{type:"nav",displayName:"Nav",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"nav"},{type:"div",displayName:"Div",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"div"},{type:"template",displayName:"Template",category:"layout",swapGroup:"layout",keywords:["layout"],tagName:"template"}];var Xt=[{type:"h1",displayName:"Heading 1",keywords:["headings"],category:"headings",swapGroup:"headings",tagName:"h1"},{type:"h2",displayName:"Heading 2",keywords:["headings"],category:"headings",swapGroup:"headings",tagName:"h2"},{type:"h3",displayName:"Heading 3",keywords:["headings"],category:"headings",swapGroup:"headings",tagName:"h3"},{type:"h4",displayName:"Heading 4",keywords:["headings"],category:"headings",swapGroup:"headings",tagName:"h4"},{type:"h5",displayName:"Heading 5",keywords:["headings"],category:"headings",swapGroup:"headings",tagName:"h5"},{type:"h6",displayName:"Heading 6",keywords:["headings"],category:"headings",swapGroup:"headings",tagName:"h6"},{type:"p",displayName:"Paragraph",category:"text",swapGroup:"text",keywords:["text"],tagName:"p"},{type:"label",displayName:"Label",category:"text",swapGroup:"text",keywords:["text"],tagName:"label"},{type:"span",displayName:"Span",category:"text",swapGroup:"text",keywords:["text"],tagName:"span"},{type:"blockquote",displayName:"Blockquote",category:"text",swapGroup:null,keywords:["text"],tagName:"blockquote"},{type:"pre",displayName:"Preformatted",category:"text",swapGroup:null,keywords:["text"],tagName:"pre"},{type:"codeElement",displayName:"Code",category:"text",swapGroup:"text",keywords:["text"],tagName:"code"},{type:"strong",displayName:"Strong",category:"text",swapGroup:"text",keywords:["text"],tagName:"strong"},{type:"em",displayName:"Emphasis",category:"text",swapGroup:"text",keywords:["text"],tagName:"em"},{type:"small",displayName:"Small",category:"text",swapGroup:"text",keywords:["text"],tagName:"small"},{type:"mark",displayName:"Mark",category:"text",swapGroup:null,keywords:["text"],tagName:"mark"},{type:"hr",displayName:"Horizontal Rule",category:"text",swapGroup:null,keywords:["text","divider"],tagName:"hr"},{type:"br",displayName:"Line Break",category:"text",swapGroup:null,keywords:["text"],tagName:"br"}];var Kt=[{type:"button",displayName:"Button",category:"interactive",swapGroup:"interactive",keywords:["interactive"],tagName:"button"},{type:"a",displayName:"Link",category:"interactive",swapGroup:"interactive",keywords:["interactive"],tagName:"a"},{type:"details",displayName:"Details",category:"interactive",swapGroup:null,keywords:["interactive"],tagName:"details"},{type:"summary",displayName:"Summary",category:"interactive",swapGroup:null,keywords:["interactive"],tagName:"summary"},{type:"dialog",displayName:"Dialog",category:"interactive",swapGroup:null,keywords:["interactive"],tagName:"dialog"}];var Jt=[{type:"radio",displayName:"Radio",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"textInput",displayName:"Text",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"checkbox",displayName:"Checkbox",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"phone",displayName:"Phone",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"email",displayName:"Email",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"password",displayName:"Password",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"select",displayName:"Select",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"select"},{type:"textarea",displayName:"Textarea",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"textarea"},{type:"number",displayName:"Number",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"date",displayName:"Date",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"range",displayName:"Range",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"file",displayName:"File Upload",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"search",displayName:"Search",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"color",displayName:"Color Picker",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"},{type:"hidden",displayName:"Hidden",category:"inputs",swapGroup:null,keywords:["inputs"],tagName:"input"}];var Zt=[{type:"img",displayName:"Image",category:"media",swapGroup:null,keywords:["media"],tagName:"img"},{type:"video",displayName:"Video",category:"media",swapGroup:null,keywords:["media"],tagName:"video"},{type:"audio",displayName:"Audio",category:"media",swapGroup:null,keywords:["media"],tagName:"audio"},{type:"iframe",displayName:"Iframe",category:"media",swapGroup:null,keywords:["media"],tagName:"iframe"},{type:"figure",displayName:"Figure",category:"media",swapGroup:null,keywords:["media"],tagName:"figure"},{type:"figcaption",displayName:"Figcaption",category:"media",swapGroup:null,keywords:["media"],tagName:"figcaption"}];var Qt=[{type:"ol",displayName:"Ordered List",category:"lists",swapGroup:"list-container",keywords:["lists"],tagName:"ol"},{type:"ul",displayName:"Unordered List",category:"lists",swapGroup:"list-container",keywords:["lists"],tagName:"ul"},{type:"li",displayName:"List Item",category:"lists",swapGroup:null,keywords:["lists"],tagName:"li"},{type:"dl",displayName:"Definition List",category:"lists",swapGroup:"list-container",keywords:["lists"],tagName:"dl"},{type:"dt",displayName:"Definition Term",category:"lists",swapGroup:null,keywords:["lists"],tagName:"dt"},{type:"dd",displayName:"Definition Description",category:"lists",swapGroup:null,keywords:["lists"],tagName:"dd"}];var en=[{type:"table",displayName:"Table",category:"tables",swapGroup:null,keywords:["tables"],tagName:"table"},{type:"thead",displayName:"Table Head",category:"tables",swapGroup:null,keywords:["tables"],tagName:"thead"},{type:"tbody",displayName:"Table Body",category:"tables",swapGroup:null,keywords:["tables"],tagName:"tbody"},{type:"tfoot",displayName:"Table Foot",category:"tables",swapGroup:null,keywords:["tables"],tagName:"tfoot"},{type:"tr",displayName:"Table Row",category:"tables",swapGroup:null,keywords:["tables"],tagName:"tr"},{type:"th",displayName:"Table Header Cell",category:"tables",swapGroup:null,keywords:["tables"],tagName:"th"},{type:"td",displayName:"Table Cell",category:"tables",swapGroup:null,keywords:["tables"],tagName:"td"}];var tn=[{type:"fieldset",displayName:"Fieldset",category:"form",swapGroup:null,keywords:["form"],tagName:"fieldset"},{type:"legend",displayName:"Legend",category:"form",swapGroup:null,keywords:["form"],tagName:"legend"},{type:"meter",displayName:"Meter",category:"form",swapGroup:null,keywords:["form"],tagName:"meter"},{type:"progress",displayName:"Progress",category:"form",swapGroup:null,keywords:["form"],tagName:"progress"}];var nn=[{type:"slot",displayName:"Slot",category:"special",swapGroup:null,keywords:["slot","placeholder","component","template"],tagName:"slot"}];var on=[...Vt,...Xt,...Kt,...Jt,...Zt,...Qt,...en,...tn,...nn];var sn={jui_fadeIn:{name:"Fade In",category:"entrance",defaultPlay:"mount",duration:600,easing:"ease",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"0"}},{offset:1,properties:{opacity:"1"}}]},jui_fadeInUp:{name:"Fade In Up",category:"entrance",defaultPlay:"mount",duration:600,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"0",transform:"translateY(30px)"}},{offset:1,properties:{opacity:"1",transform:"translateY(0)"}}]},jui_fadeInDown:{name:"Fade In Down",category:"entrance",defaultPlay:"mount",duration:600,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"0",transform:"translateY(-30px)"}},{offset:1,properties:{opacity:"1",transform:"translateY(0)"}}]},jui_slideInLeft:{name:"Slide In Left",category:"entrance",defaultPlay:"mount",duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"0",transform:"translateX(-60px)"}},{offset:1,properties:{opacity:"1",transform:"translateX(0)"}}]},jui_slideInRight:{name:"Slide In Right",category:"entrance",defaultPlay:"mount",duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"0",transform:"translateX(60px)"}},{offset:1,properties:{opacity:"1",transform:"translateX(0)"}}]},jui_slideInUp:{name:"Slide In Up",category:"entrance",defaultPlay:"mount",duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"0",transform:"translateY(60px)"}},{offset:1,properties:{opacity:"1",transform:"translateY(0)"}}]},jui_slideInDown:{name:"Slide In Down",category:"entrance",defaultPlay:"mount",duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"0",transform:"translateY(-60px)"}},{offset:1,properties:{opacity:"1",transform:"translateY(0)"}}]},jui_scaleIn:{name:"Scale In",category:"entrance",defaultPlay:"mount",duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"0",transform:"scale(0.8)"}},{offset:1,properties:{opacity:"1",transform:"scale(1)"}}]},jui_zoomIn:{name:"Zoom In",category:"entrance",defaultPlay:"mount",duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"0",transform:"scale(0.3)"}},{offset:1,properties:{opacity:"1",transform:"scale(1)"}}]}};var an={jui_fadeOut:{name:"Fade Out",category:"exit",defaultPlay:"mount",duration:600,easing:"ease",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"1"}},{offset:1,properties:{opacity:"0"}}]},jui_fadeOutDown:{name:"Fade Out Down",category:"exit",defaultPlay:"mount",duration:600,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"1",transform:"translateY(0)"}},{offset:1,properties:{opacity:"0",transform:"translateY(30px)"}}]},jui_slideOutLeft:{name:"Slide Out Left",category:"exit",defaultPlay:"mount",duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"1",transform:"translateX(0)"}},{offset:1,properties:{opacity:"0",transform:"translateX(-60px)"}}]},jui_slideOutRight:{name:"Slide Out Right",category:"exit",defaultPlay:"mount",duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"1",transform:"translateX(0)"}},{offset:1,properties:{opacity:"0",transform:"translateX(60px)"}}]},jui_scaleOut:{name:"Scale Out",category:"exit",defaultPlay:"mount",duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards",keyframes:[{offset:0,properties:{opacity:"1",transform:"scale(1)"}},{offset:1,properties:{opacity:"0",transform:"scale(0.8)"}}]}};var rn={jui_pulse:{name:"Pulse",category:"emphasis",defaultPlay:"pointerenter",defaultReset:"pointerleave",duration:1e3,easing:"ease-in-out",fill:"none",keyframes:[{offset:0,properties:{transform:"scale(1)"}},{offset:.5,properties:{transform:"scale(1.05)"}},{offset:1,properties:{transform:"scale(1)"}}]},jui_bounce:{name:"Bounce",category:"emphasis",defaultPlay:"pointerenter",defaultReset:"pointerleave",duration:800,easing:"cubic-bezier(0.28, 0.84, 0.42, 1)",fill:"none",keyframes:[{offset:0,properties:{transform:"translateY(0)"}},{offset:.2,properties:{transform:"translateY(0)"}},{offset:.4,properties:{transform:"translateY(-20px)"}},{offset:.5,properties:{transform:"translateY(0)"}},{offset:.6,properties:{transform:"translateY(-10px)"}},{offset:.8,properties:{transform:"translateY(0)"}},{offset:1,properties:{transform:"translateY(0)"}}]},jui_shake:{name:"Shake",category:"emphasis",defaultPlay:"pointerenter",defaultReset:"pointerleave",duration:600,easing:"ease-in-out",fill:"none",keyframes:[{offset:0,properties:{transform:"translateX(0)"}},{offset:.1,properties:{transform:"translateX(-8px)"}},{offset:.2,properties:{transform:"translateX(8px)"}},{offset:.3,properties:{transform:"translateX(-8px)"}},{offset:.4,properties:{transform:"translateX(8px)"}},{offset:.5,properties:{transform:"translateX(-4px)"}},{offset:.6,properties:{transform:"translateX(4px)"}},{offset:.7,properties:{transform:"translateX(-2px)"}},{offset:.8,properties:{transform:"translateX(2px)"}},{offset:1,properties:{transform:"translateX(0)"}}]}};var dn={jui_flash:{name:"Flash",category:"attention",defaultPlay:"pointerenter",defaultReset:"pointerleave",duration:800,easing:"ease-in-out",fill:"none",keyframes:[{offset:0,properties:{opacity:"1"}},{offset:.25,properties:{opacity:"0"}},{offset:.5,properties:{opacity:"1"}},{offset:.75,properties:{opacity:"0"}},{offset:1,properties:{opacity:"1"}}]},jui_heartbeat:{name:"Heartbeat",category:"attention",defaultPlay:"pointerenter",defaultReset:"pointerleave",duration:1200,easing:"ease-in-out",fill:"none",keyframes:[{offset:0,properties:{transform:"scale(1)"}},{offset:.14,properties:{transform:"scale(1.3)"}},{offset:.28,properties:{transform:"scale(1)"}},{offset:.42,properties:{transform:"scale(1.3)"}},{offset:.7,properties:{transform:"scale(1)"}},{offset:1,properties:{transform:"scale(1)"}}]}};var cn={...sn,...an,...rn,...dn};var pn=T("ledger",r=>{let[e,t]=r("state","socket");return e.ledger.addChangeListener(n=>{n.length&&t.publish("ledger:sync",n)}),{apply:{handler:n=>{e.ledger.apply(n)}}}});var ln=T("presence",r=>{let e=r("channel");return{join:{handler:(t,n)=>{e.to("renderWorker").publish("user:connect",t,n)}},leave:{handler:t=>{e.to("renderWorker").publish("user:disconnect",t)}},update:{handler:(t,n)=>{e.to("renderWorker").publish("user:update",t,n)}},snapshot:{handler:t=>{e.to("renderWorker").publish("user:setAll",t)}}}});var un=T("assets",r=>{let[e,t,n]=r("cache","channel","socket"),s=o=>{e.set(["assets"],o),t.to("editor").publish("assets:set",o)};return n.onConnect(async()=>{try{s(await n.request("assets:requestSnapshot")??{})}catch{}}),{set:{handler:o=>s(o??{})},update:{handler:o=>s({...e.get(["assets"])??{},...o})},remove:{handler:o=>{let a={...e.get(["assets"])??{}};delete a[o],s(a)}}}});function mn(r,e,t){let n=e.getSelectedRids?.()??[],s=r.get(["nodes"])??{},o=n.length>0?e.getIds(n):[],a=n.length>0?$n(s,o,n,e):Mn(e);return{framework:t.get(["config","framework"])??"react",componentCatalog:e.getMeta(),stores:r.get([".stores"])??{},tokens:r.get(["tokens"])??{},animations:r.get(["animations"])??{},...a,availableFrames:kt(),layoutHints:Pn(s,n)}}function Mn(r){return{scope:"global",jsx:r.projectPuppetJsx("app",{maxDepth:8})}}function $n(r,e,t,n){let s=Ln(r,e[0])??"app";return{scope:"local",selectedIds:e,jsx:n.projectPuppetJsx(s)}}function Pn(r,e){let t={viewportPositions:[],usedPositions:[],containerLayouts:{},suggestedViewportPosition:null},n=0;return Object.entries(r).forEach(([s,o])=>{if(o.type==="frame"&&o.bounds){let{top:a,left:c,width:i,height:p}=o.bounds,l={id:s,name:o.name,top:a||0,left:c||0,width:i||375,height:p||667};t.viewportPositions.push(l);let m=l.left+l.width;m>n&&(n=m)}if(o.type!=="frame"&&o.style?.default?.position==="absolute"){let{top:a,left:c,width:i,height:p}=o.style.default;t.usedPositions.push({id:s,top:parseInt(a)||0,left:parseInt(c)||0,width:parseInt(i)||100,height:parseInt(p)||50})}(o.layout==="flex"||o.style?.default?.display==="flex")&&(t.containerLayouts[s]="flex"),(o.layout==="grid"||o.style?.default?.display==="grid")&&(t.containerLayouts[s]="grid")}),t.suggestedViewportPosition={top:0,left:n+50},t}function Dn(r,e){for(let[t,n]of Object.entries(r))if(n.children?.includes(e))return t;return null}function Ln(r,e){let t=e;for(;t;){let n=r[t];if(!n)return null;if(n.type==="frame")return t;t=Dn(r,t)}return null}var Gn=5e3,Bn=50,Wn=40,jn=2e3;function Hn(r){let e=Object.keys(r),t=new Set(e);return e.filter(n=>{let s=new Set([n]),o=r[n]?.parentRid;for(;o&&!s.has(o);){if(t.has(o))return!1;s.add(o),o=r[o]?.parentRid}return!0})}function zn(r,e=[],t=jn){let n=Hn(r.updated??{});return n.length===0&&r.fullSync?e.length?e:null:n.length>t?null:n}function Fn(r,e){return e.length<r.length}var hn=T("ai:stage",r=>{let[e,t,n,s,o]=r("state","sceneCompiler","cache","log","aiOps");function a(p=Gn){return new Promise(l=>{let m={},h=new Set,g=null,x=!1,N=!1,R=()=>{clearTimeout(k),clearTimeout(g),j(),l(x?{updated:m,removed:[...h],fullSync:N}:null)},k=setTimeout(R,p),j=t.addNodeGraphListener((H,Ve,Xe)=>{x=!0,Xe?N=!0:Object.assign(m,H??{}),(Ve??[]).forEach(Ke=>h.add(Ke)),clearTimeout(g),g=setTimeout(R,Bn)})})}function c(p){if(!p?.length)return[];try{return t.getIds(p)??[]}catch{return p}}function i(p,l=[]){if(!p)return{delta:!0,settled:!1,changedJsx:"",removedIds:[]};let m=zn(p,l);if(m===null)return null;let h=m.length?t.projectPuppetJsx(m):"";if(m.length>Wn){let g=t.projectPuppetJsx("app",{maxDepth:8});if(Fn(h,g))return null}return{delta:!0,settled:!0,changedJsx:h,removedIds:c(p.removed)}}return{"context:capture":{timeoutMs:15e3,handler:async({awaitRender:p,delta:l,focusIds:m=[]}={})=>{try{let h=p?await a():null;if(l){let g=i(h,m);if(g)return g}return mn(e,t,n)}catch(h){throw s.error("ai context capture failed",{error:h.message}),h}}},"operations:execute":{timeoutMs:6e4,handler:async({batch:p}={})=>{try{e.history.group();try{return await o.executeBatch(p??{operations:[]})}finally{e.history.commit(p?.description||p?.message||"AI changes")}}catch(l){throw s.error("ai operations execute failed",{error:l.message}),l}}}}});var fn=T("ai:sessions",r=>{let[e,t]=r("cache","channel");return{set:{handler:n=>{e.set(["ai","sessions"],n),t.to("editor").publish("ai:sessions:set",n)}}}});var gn=T("screenshot",r=>{let[e,t,n]=r("state","cache","channel");return{capture:{timeoutMs:12e4,handler:async({frameIds:s=null,limit:o=null,fullPage:a=!0,maxWidth:c=null,maxHeight:i=null}={})=>{let p=e.get(["nodes"]),l=p?.app?.children??[],m=s?.length?new Set(s):null,h=l.filter(k=>p[k]?.type==="frame").filter(k=>!m||m.has(k)).map(k=>({id:k,name:p[k].name||k,bounds:p[k].bounds})),g=m?[...m].filter(k=>!h.some(j=>j.id===k)):[],x=h.length;o&&h.length>o&&(h=h.slice(0,o));let N=t.get(["config"]),R=[];for(let k of h){let j={config:{basePath:N.basePath??`http://localhost:${N.port}`,view:"screen-capture",type:N.type||"local",nodeId:k.id},width:k.bounds?.width??1440,height:k.bounds?.height??900,result:"base64",fullPage:a};c!=null&&(j.maxWidth=c),i!=null&&(j.maxHeight=i);let H=await n.to("electronMain").request("screenCapture:capture",j);R.push({id:k.id,name:k.name,imageData:`data:image/jpeg;base64,${H.base64}`,scale:H.scale??1,naturalSize:H.naturalSize??null,outputSize:H.outputSize??null,scaled:H.scaled??!1})}return{frames:R,dropped:Math.max(0,x-R.length),...g.length?{missing:g}:{}}}}}});var yn=pt("sync",r=>{let[e,t,n,s]=r("channel","sceneCompiler","state","cache");return{push:()=>{e.to("renderWorker").publish("sync:set",{graph:t.getNodeGraph()??{},viewport:t.getViewport(),selectedRids:t.getSelectedRids(),focalRid:t.getFocalRid()}),e.to("editor").publish("sync:set",{graph:t.getNodeGraph()??{},stores:n.get([".stores"])??{},tokens:n.get(["tokens"])??{},animations:n.get(["animations"])??{},assets:s.get(["assets"])??{},libraryClassNames:n.get(["libraryClassNames"])??[],components:t.getMeta(),aiSessions:s.get(["ai","sessions"])??[]})}}});var mr=async(r,e)=>{try{let t={...Nt,...r},n=(await import("/components.js"))?.default??{},s=Be(t.$el||"app"),o=Be("temp"),a=Be("components"),c=Bt(),i=ct.create().install(gt,lt.configure({plugins:[yt,St.configure({actorId:crypto.randomUUID()}),Ut,bt,Pt]}),ut.configure(t),ue,mt,ht.configure(xt(t,{auth:e??null})),ft.configure({visibility:!0,focus:!1,freeze:!0,sleepDetection:{enabled:!0,threshold:1e4}}),ve);i.cache.load({config:t,token:e,$app:s,$temp:o,$components:a,viewport:c}),i.aiOps.use(...Yt);let[p,l]=await Promise.all([fetch(new URL("scene/snapshot",t.basePath)).then(h=>h.json()),fetch(new URL("ai/chats",t.basePath)).then(h=>h.ok?h.json():null).catch(()=>null)]);i.use(yn),i.state.ledger.hydrate(p),i.state.history.start(),i.sceneCompiler.loadPrototypes(vt),i.sceneCompiler.loadSources(n),await i.sceneCompiler.create("app","app"),await i.sceneCompiler.create("temp","temp",{mode:"temp"}),await i.sceneCompiler.create("components","components",{mode:"components"}),l?.sessions&&i.cache.set(["ai","sessions"],l.sessions),i.socket.use(pn,ln,un,It,hn,fn,gn),i.windowBridge.register("parent",window.parent,"*"),i.windowBridge.subscribe("jucie:channel:close",()=>{try{i.channel.disconnect()}catch(h){console.warn("[stage] channel disconnect failed",h)}return!0}),i.channel.portProvider(async()=>await i.windowBridge.to("parent").request("jucie:port:request",t.id));let m=await i.channel.connect();if(m){let{nodeGraphContracts:h}=await import("./nodeGraph-UNI2HUNX.js"),{historyContracts:g}=await import("./history-CMF3VYTT.js"),{userContracts:x}=await import("./user-H5DKMGWA.js"),{assetsContracts:N}=await import("./assets-6LM3GVQU.js"),{aiContracts:R}=await import("./aiRelay-C6ZJ3PUF.js"),{aiSessionContracts:k}=await import("./aiSessionContracts-NHU57TUZ.js"),{aiMessagesContracts:j}=await import("./aiMessagesContracts-RAR7ENH4.js"),{aiAttachmentContracts:H}=await import("./aiAttachmentContracts-7LLE57FI.js"),{contentEditorContracts:Ve}=await import("./contentEditor-7BYCT3TH.js"),{viewportContracts:Xe}=await import("./viewport-ZRWTVYC3.js"),{contracts:Ke}=await import("./main-S7RT75O6.js"),{contracts:wn}=await import("./main-FAFZABOS.js"),{contracts:bn}=await import("./main-DH4JOS22.js"),{contracts:Sn}=await import("./main-3VRCGPRY.js");return m.use(Xe,h,g,x,N,R,k,j,H,Ve,...Ke,...wn,...bn,...Sn),i.channel.to("editor").publish("elements:set",on),i.channel.to("editor").publish("frames:set",Ze),i.channel.to("editor").publish("graphics:set",it),i.channel.to("editor").publish("globalAnimations:set",cn),i.channel.to("editor").publish("components:set",i.sceneCompiler.getMeta()),i.channel.to("editor").publish("assets:set",i.cache.get(["assets"])??{}),i.channel.to("editor").publish("ai:sessions:set",i.cache.get(["ai","sessions"])??[]),pe(()=>i.state.get(["nodes"]),w=>{if(!w)return;let U=Object.keys(w).filter(G=>w[G]?.type==="component"),L=[...i.sceneCompiler.getMeta()];for(let G of U){let Le=w[G];L.push({displayName:Le.name||G,category:"local",keywords:[Le.name,"component"],library:null,tagName:G})}i.channel.to("editor").publish("components:set",L)}),pe(()=>i.state.get(["tokens"]),w=>{i.channel.to("editor").publish("tokens:set",w??{}),i.channel.to("panel-tokens").publish("token:set",w??{})}),pe(()=>i.state.get([".stores"]),w=>{i.channel.to("editor").publish("stores:set",w??{})}),pe(()=>i.state.get(["libraryClassNames"]),w=>{i.channel.to("editor").publish("libraryClassNames:set",w??[])}),pe(()=>{let w=i.state.get(["animations"])??{};return Object.entries(w).map(([U,L])=>({id:U,...L}))},w=>{i.channel.to("editor").publish("animations:set",w??[])}),i.sceneCompiler.addNodeGraphListener((w,U,L)=>{L?m.to("renderWorker","editor").publish("nodeGraph:set",w):m.to("renderWorker","editor").publish("nodeGraph:update",w,U),i.sceneCompiler.projectPuppetJsx(["app"])}),i.sceneCompiler.startNodeGraph(),i.pageLifecycle.on("hidden",()=>{i.sceneCompiler.pauseNodeGraph()}),i.pageLifecycle.on("visible",()=>{i.sceneCompiler.forceNodeGraph()}),i.pageLifecycle.on("resume",()=>{i.socket.ready()||i.socket.connect(),i.sceneCompiler.forceNodeGraph()}),i.pageLifecycle.on("beforeclose",()=>{i.channel.disconnect()}),m.subscribe("selection:rids:set",w=>{i.sceneCompiler.setSelectedRids(w)}),m.subscribe("selection:focalRid:set",w=>{i.sceneCompiler.setFocalRid(w||null)}),m.subscribe("animation:preview:play",(w,U)=>{for(let L of U){let G=i.sceneCompiler.animate(L,w,{fill:"none"}),Le=Array.isArray(G)?G:G?[G]:[];for(let xn of Le)xn.addEventListener("finish",()=>{m.to("editor").publish("animation:preview:finished",w)},{once:!0})}}),m.subscribe("animation:preview:stop",(w,U)=>{for(let L of U)i.sceneCompiler.cancelAnimation(L,w)}),m.subscribe("animation:preview:seek",(w,U)=>{i.sceneCompiler.seekAnimation(w,U)}),i.channel.onEnable(i.sync.push),i.sync.push(),t}else throw new Error("Stage channel failed to connect")}catch(t){return{error:t.message}}};export{mr as createDesignBootstrap};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-MUZZUB5Y.js";import"./chunk-TPCJQIUG.js";import"./chunk-UCLSDDOL.js";export{a as disconnectNode};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";var o=e("history",s=>({group:{schema:null,namespace:"stage",handler:()=>{s("state")?.history?.group()}},commit:{schema:null,namespace:"stage",handler:()=>{s("state")?.history?.commit()}},undo:{schema:null,namespace:"stage",handler:()=>{let t=s("state");t?.history?.canUndo()&&t?.history?.undo()}},redo:{schema:null,namespace:"stage",handler:()=>{let t=s("state");t?.history?.canRedo()&&t?.history?.redo()}}}));export{o as historyContracts};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x}from"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{t as clearGeneratedIds,i as createActorId,g as createAnimationId,d as createAssetId,e as createChannelId,n as createDescriptorId,j as createDocumentId,a as createId,o as createLongId,l as createMessageRequestId,f as createNodeId,k as createPortId,b as createSceneId,q as createSecureId,c as createSpaceId,m as createStoreId,h as createTokenId,p as createUuid,u as getGeneratedIds,v as isIdGenerated,s as isValidId,x as loadExistingIds,r as parseId,w as removeGeneratedId};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"./chunk-BGQJ5B3Q.js";import"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-CYURWEXX.js";import"./chunk-GUI7FIZD.js";import"./chunk-IKKRB6BS.js";import"./chunk-7VDUBBVE.js";import"./chunk-N6I4COF2.js";import"./chunk-A52FDU5E.js";import"./chunk-6S7QQT47.js";import"./chunk-PU62K33G.js";import"./chunk-KTWXYDG7.js";import"./chunk-EWEPEODY.js";import"./chunk-HAN4CMBX.js";import"./chunk-Q3ZV7EKU.js";import"./chunk-F5MJNV7Y.js";import"./chunk-ZUPNPSUB.js";import"./chunk-YCGY2NRE.js";import"./chunk-UCLSDDOL.js";export{a as actionsContract,b as computedContract,e as contracts,c as stateContract,d as storeContract};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import{a as m,b as s}from"./chunk-AMPHYXGT.js";import{a as p}from"./chunk-IW4KEJOF.js";import{a}from"./chunk-CXJ5APZF.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";var f=c("token",e=>{let[r,t]=e("channel","state"),o=t?.ref(["tokens"])??null;if(!o)throw new Error("Tokens state not found");return{get:{namespace:"scene-graph",handler:n=>n?o.get([n]):o.get()??{}},create:{namespace:"scene-graph",schema:["Object"],handler:(n={})=>s(o,n)},update:{namespace:"scene-graph",schema:["String","Object"],handler:(n,u)=>{p(o,n,u)}},delete:{namespace:"scene-graph",schema:["String"],handler:n=>{a(o,n)}}}});function i(e,r,t){return e.set([r,"$value"],t)}function d(e,r,t){return e.set([r,"$type"],t)}function h(e,r,t){return e.set([r,"$path"],t)}function l(e,r,t){return t==null?e.set([r,"$description"],void 0):e.set([r,"$description"],t)}function x(e,r,t){return t==null?e.set([r,"$deprecated"],void 0):e.set([r,"$deprecated"],t)}var O=[f];export{s as addToken,O as contracts,a as removeToken,x as setDeprecated,l as setDescription,h as setPath,d as setType,i as setValue,f as tokenContracts,m as tokenDefaults,p as updateToken};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as p}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import{a as S,b as o}from"./chunk-AYZAGKHN.js";import{a as g}from"./chunk-NOTXZB5N.js";import{a as d}from"./chunk-5GKIM3R4.js";import{a as h}from"./chunk-QVVBKZW6.js";import"./chunk-UCLSDDOL.js";var u=p("node:animation",f=>{let c=f("state"),t=c?.ref(["animations"])??null,r=c?.ref(["nodes"])??null;if(!t)throw new Error("Animations state not found");return{create:{namespace:"scene-graph",schema:["String","Object"],handler:(e,n={})=>{t.set([e],o(n))}},update:{namespace:"scene-graph",schema:["String","Object"],handler:(e,n)=>{if(t.get([e]))for(let[i,m]of Object.entries(n))t.set([e,i],m)}},delete:{namespace:"scene-graph",schema:["String"],handler:e=>{t.remove([e])}},bind:{namespace:"scene-graph",schema:["String","Object"],handler:(e,n)=>{r&&g(r,e,n)}},unbind:{namespace:"scene-graph",schema:["String","String"],handler:(e,n)=>{r&&d(r,e,n)}},updateBinding:{namespace:"scene-graph",schema:["String","String","Object"],handler:(e,n,a)=>{r&&h(r,e,n,a)}},promote:{namespace:"scene-graph",schema:["String"],handler:e=>{t.get([e])&&t.set([e,"scope"],"project")}},customize:{namespace:"scene-graph",schema:["String","String","String"],handler:(e,n,a)=>{if(!r)return;let i=t.get([n]);if(!i)return;t.set([a],o({...i,scope:"node"}));let l=(r.get([e,"animations"])??[]).map(s=>s.id===n?{...s,id:a}:s);r.set([e,"animations"],l)}}}});var C=[u];export{u as animationContracts,S as animationDefaults,C as contracts,o as createAnimation};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as F,B as G,C as H,D as I,E as J,F as K,G as L,H as M,I as N,J as O,K as P,L as Q,M as R,N as S,a as f,b as g,c as h,d as i,e as j,f as k,g as l,h as m,i as n,j as o,k as p,l as q,m as r,n as s,o as t,p as u,q as v,r as w,s as x,t as y,u as z,v as A,w as B,x as C,y as D,z as E}from"./chunk-45YNKT2X.js";import"./chunk-NKDO4J6J.js";import"./chunk-LXD22ETU.js";import"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-EPVRMHC2.js";import"./chunk-YB7FA4Y3.js";import"./chunk-NXBFOI3Z.js";import"./chunk-E6KR5RXO.js";import"./chunk-I57W7UZN.js";import{a as e}from"./chunk-LUY5LC7Z.js";import"./chunk-IBDKDP7T.js";import"./chunk-5CWWFBNY.js";import"./chunk-BWJHUHDJ.js";import"./chunk-QFFVADTJ.js";import"./chunk-QD56IMFS.js";import"./chunk-CNZYL2VV.js";import"./chunk-MGH62JQ4.js";import"./chunk-YCMBBPKT.js";import"./chunk-NHY2XYCH.js";import"./chunk-XFHQ45KR.js";import"./chunk-XTAXESM6.js";import"./chunk-QJ33JO3T.js";import"./chunk-XE3A5HPY.js";import"./chunk-GEOQWCYL.js";import"./chunk-CC3CCH2E.js";import"./chunk-GM4D3DPT.js";import"./chunk-Q3IER3MW.js";import"./chunk-DHPGPV5T.js";import"./chunk-FAYUYASQ.js";import"./chunk-ICWQHFOI.js";import"./chunk-AS76ZLXK.js";import"./chunk-HCRWHPFW.js";import"./chunk-6KW4HPGN.js";import"./chunk-CAAW6MG4.js";import{d}from"./chunk-3WCN6R5H.js";import"./chunk-G3PYA3EU.js";import"./chunk-OQM5TMCK.js";import"./chunk-BL6GQ6ID.js";import"./chunk-K5BNCYT7.js";import"./chunk-LHK7LQPZ.js";import"./chunk-GK5XUHQG.js";import"./chunk-TX5TCU2H.js";import{a,b,c}from"./chunk-M577WNTV.js";import"./chunk-2Z2RXHNK.js";import"./chunk-7I5TQOE2.js";import"./chunk-J5QMLA3Z.js";import"./chunk-IWTWZA3T.js";import"./chunk-IV6PINVX.js";import"./chunk-A25WFH3U.js";import"./chunk-MUZZUB5Y.js";import"./chunk-TPCJQIUG.js";import"./chunk-SCJKRPIZ.js";import"./chunk-4Q5R44ZZ.js";import"./chunk-IG2Y3H6O.js";import"./chunk-HE7IQLGK.js";import"./chunk-Z3M6DQKZ.js";import"./chunk-PPDOTRNT.js";import"./chunk-DLHF7QB4.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{k as addContracts,m as attributeContracts,y as behaviorContracts,f as breakpointContracts,p as buildSlotsFromMeta,g as classNameContracts,h as clipboardContracts,d as cloneNodes,i as contextNameContracts,S as contracts,P as createNode,e as createOption,n as createProp,t as destinationContracts,u as dragContracts,Q as elements,l as eventsContracts,a as frames,c as getAvailableFrames,b as getFramePreset,R as graphics,s as htmlContracts,O as htmlIdContracts,w as interactionStateContracts,z as layoutContracts,v as lifecycleContracts,q as mergeMissingSlotsFromMeta,A as moveContracts,B as nameContracts,C as optionsContracts,D as orderContracts,x as patchContracts,o as propContracts,E as removeContracts,F as renderContracts,G as repeatContracts,H as routeContracts,r as slotContracts,j as statesContracts,I as styleContracts,J as tagNameContracts,K as textContentContracts,L as textSegmentsContracts,M as typeContracts,N as viewportContracts};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as a}from"./chunk-7I5TQOE2.js";import"./chunk-J5QMLA3Z.js";import"./chunk-IWTWZA3T.js";import"./chunk-TPCJQIUG.js";import"./chunk-4Q5R44ZZ.js";import"./chunk-IG2Y3H6O.js";import"./chunk-HE7IQLGK.js";import"./chunk-Z3M6DQKZ.js";import"./chunk-UCLSDDOL.js";export{a as moveNodeToLastChildOf};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";var a=o("nodeGraph",r=>{let n=r("log");return{pause:{schema:null,namespace:"stage",handler:()=>{let e=r("sceneCompiler");return e?(e.pauseNodeGraph(),!0):(n.warn("scene compiler not found"),!1)}},resume:{schema:null,namespace:"stage",handler:()=>{let e=r("sceneCompiler");return e?(e.resumeNodeGraph(),!0):(n.warn("scene compiler not found"),!1)}},force:{schema:null,namespace:"stage",handler:()=>{let e=r("sceneCompiler");return e?(e.forceNodeGraph(),!0):(n.warn("scene compiler not found"),!1)}}}});export{a as nodeGraphContracts};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-UCLSDDOL.js";var n={click:"onClick",dblclick:"onDoubleClick",doubleclick:"onDoubleClick",contextmenu:"onContextMenu",mousedown:"onMouseDown",mouseup:"onMouseUp",mousemove:"onMouseMove",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseover:"onMouseOver",mouseout:"onMouseOut",drag:"onDrag",dragstart:"onDragStart",dragend:"onDragEnd",dragenter:"onDragEnter",dragleave:"onDragLeave",dragover:"onDragOver",drop:"onDrop",keydown:"onKeyDown",keyup:"onKeyUp",keypress:"onKeyPress",change:"onChange",input:"onInput",submit:"onSubmit",reset:"onReset",focus:"onFocus",blur:"onBlur",invalid:"onInvalid",formdata:"onFormData",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onTouchEnd",touchcancel:"onTouchCancel",wheel:"onWheel",copy:"onCopy",cut:"onCut",paste:"onPaste",abort:"onAbort",canplay:"onCanPlay",canplaythrough:"onCanPlayThrough",durationchange:"onDurationChange",emptied:"onEmptied",ended:"onEnded",loadeddata:"onLoadedData",loadedmetadata:"onLoadedMetadata",loadstart:"onLoadStart",pause:"onPause",play:"onPlay",playing:"onPlaying",progress:"onProgress",ratechange:"onRateChange",seeked:"onSeeked",seeking:"onSeeking",stalled:"onStalled",suspend:"onSuspend",timeupdate:"onTimeUpdate",volumechange:"onVolumeChange",waiting:"onWaiting",animationstart:"onAnimationStart",animationend:"onAnimationEnd",animationiteration:"onAnimationIteration",transitionend:"onTransitionEnd",load:"onLoad",error:"onError",scroll:"onScroll",scrollend:"onScrollEnd",resize:"onResize",select:"onSelect",toggle:"onToggle",afterprint:"onAfterPrint",beforeprint:"onBeforePrint",beforeunload:"onBeforeUnload",hashchange:"onHashChange",languagechange:"onLanguageChange",message:"onMessage",messageerror:"onMessageError",offline:"onOffline",online:"onOnline",pagehide:"onPageHide",pageshow:"onPageShow",popstate:"onPopState",rejectionhandled:"onRejectionHandled",storage:"onStorage",unhandledrejection:"onUnhandledRejection",unload:"onUnload",auxclick:"onAuxClick",beforematch:"onBeforeMatch",beforetoggle:"onBeforeToggle",cancel:"onCancel",close:"onClose",contextlost:"onContextLost",contextrestored:"onContextRestored",cuechange:"onCueChange",securitypolicyviolation:"onSecurityPolicyViolation",slotchange:"onSlotChange"},r=new Set(Object.values(n));function l(o){if(typeof o!="string"||o.length===0)throw new Error('Event name must be a non-empty string. Use React-style names like "onClick" or "onSubmit".');if(r.has(o))return o;let e=o.toLowerCase(),t=e.startsWith("on")?e.slice(2):e,a=n[t]??n[e];if(a)return a;throw new Error(`Unknown event name: "${o}". Use React-style names like "onClick", "onSubmit", or "onMouseEnter".`)}export{l as normalizeEventName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as l,b as p,c as d,d as f,e as w,f as y}from"./chunk-7YVQSQRP.js";import{a,c,e as m,g as u,h as g,i as h,j as P}from"./chunk-AOGIMUZ2.js";import"./chunk-NFKUJQZH.js";import"./chunk-NKDO4J6J.js";import{b as s}from"./chunk-CGCD6S33.js";import{b as i}from"./chunk-ULVFWUAU.js";import{a as C}from"./chunk-2Z2RXHNK.js";import"./chunk-DWW3567Q.js";import"./chunk-H5NHEM4C.js";import"./chunk-NRRFAMFA.js";import"./chunk-RYWOKFM7.js";import"./chunk-DLHF7QB4.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";var W=async(b,r)=>{let t={...P,...b},S=(await import("/components.js"))?.default??{},v=h(t.$el||"app"),e=i.create().install(f,a.configure({plugins:[m,g.configure({actorId:"preview"}),u]}),s,p.configure(w({...t,basePath:void 0},{auth:r??null})),c.configure(t),d.configure({close:!0,visibility:!1,focus:!1,freeze:!1,sleepDetection:{enabled:!1}}));e.cache.load({config:t,$app:v,token:r}),e.sceneCompiler.loadPrototypes(C),e.sceneCompiler.loadSources(S),e.windowBridge.register("parent",window.parent,"*");let B=await fetch(new URL("scene/snapshot",window.location.origin)).then(o=>{if(!o.ok)throw new Error(`Failed to load ledger snapshot (${o.status})`);return o.json()});e.state.ledger.hydrate(B),e.socket.use(y),e.socket.use(l("ledger",o=>{let j=o("state");return{apply:{handler:k=>j.ledger.apply(k)}}})),await e.sceneCompiler.create("app",t.nodeId),e.windowBridge.subscribe("jucie:channel:close",()=>{try{e.channel.disconnect()}catch(o){console.warn("[stage] channel disconnect failed",o)}return!0}),e.channel.portProvider(async()=>await e.windowBridge.to("parent").request("jucie:port:request",t.id)),e.pageLifecycle.on("beforeclose",()=>{e.channel.disconnect()});let n=await e.channel.connect();if(n){let{windowContracts:o}=await import("./window-IMPT5I3D.js");n.use(o)}return t};export{W as createDesignPreviewBootstrap};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-7VDUBBVE.js";import"./chunk-UCLSDDOL.js";export{a as removeAction};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-5GKIM3R4.js";import"./chunk-UCLSDDOL.js";export{a as removeAnimationBinding};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-K5BNCYT7.js";import"./chunk-UCLSDDOL.js";export{a as removeAttribute};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-CYURWEXX.js";import"./chunk-UCLSDDOL.js";export{a as removeComputed};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-GM4D3DPT.js";import"./chunk-UCLSDDOL.js";export{a as removeEvent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-NXBFOI3Z.js";import"./chunk-UCLSDDOL.js";export{a as removeLifecycleHook};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-IV6PINVX.js";import"./chunk-A25WFH3U.js";import"./chunk-MUZZUB5Y.js";import"./chunk-TPCJQIUG.js";import"./chunk-UCLSDDOL.js";export{a as removeNode};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-IBDKDP7T.js";import"./chunk-UCLSDDOL.js";export{a as removeOption};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-YB7FA4Y3.js";import"./chunk-UCLSDDOL.js";export{a as removeParamFromRoute};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-XFHQ45KR.js";import"./chunk-UCLSDDOL.js";export{a as removeState};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-A52FDU5E.js";import"./chunk-UCLSDDOL.js";export{a as removeStore};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-CXJ5APZF.js";import"./chunk-UCLSDDOL.js";export{a as removeToken};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-KTWXYDG7.js";import"./chunk-UCLSDDOL.js";export{a as removeValue};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-FAYUYASQ.js";import"./chunk-UCLSDDOL.js";export{a as setDestination};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-DHPGPV5T.js";import"./chunk-UCLSDDOL.js";export{a as setHomePage};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-XTAXESM6.js";import"./chunk-UCLSDDOL.js";export{a as setHtmlId};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-CAAW6MG4.js";import"./chunk-UCLSDDOL.js";export{a as setName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-SCJKRPIZ.js";import"./chunk-4Q5R44ZZ.js";import"./chunk-IG2Y3H6O.js";import"./chunk-HE7IQLGK.js";import"./chunk-Z3M6DQKZ.js";import"./chunk-UCLSDDOL.js";export{a as setNodeLayout};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-5CWWFBNY.js";import"./chunk-RFFN4NF4.js";import"./chunk-UCLSDDOL.js";export{a as setOptionsExpression};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-6KW4HPGN.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as setRender};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-AS76ZLXK.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as setRepeat};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-QFFVADTJ.js";import"./chunk-UCLSDDOL.js";export{a as setTagName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-IKKRB6BS.js";import"./chunk-N6I4COF2.js";import"./chunk-F5MJNV7Y.js";import"./chunk-UCLSDDOL.js";export{a as updateAction};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-QVVBKZW6.js";import"./chunk-UCLSDDOL.js";export{a as updateAnimationBinding};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-OQM5TMCK.js";import"./chunk-BL6GQ6ID.js";import"./chunk-K5BNCYT7.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as updateAttribute};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-Z3M6DQKZ.js";import"./chunk-UCLSDDOL.js";export{a as updateBounds};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-HAN4CMBX.js";import"./chunk-Q3ZV7EKU.js";import"./chunk-F5MJNV7Y.js";import"./chunk-UCLSDDOL.js";export{a as updateComputed};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-GK5XUHQG.js";import"./chunk-TX5TCU2H.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as updateEvent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-QD56IMFS.js";import"./chunk-UCLSDDOL.js";export{a as updateHtml};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-GEOQWCYL.js";import"./chunk-CC3CCH2E.js";import"./chunk-UCLSDDOL.js";export{a as updateLifecycleHook};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-I57W7UZN.js";import"./chunk-LUY5LC7Z.js";import"./chunk-UCLSDDOL.js";export{a as updateOption};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-Q3IER3MW.js";import"./chunk-UCLSDDOL.js";export{a as updateRoute};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-YCMBBPKT.js";import"./chunk-NHY2XYCH.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as updateState};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-HE7IQLGK.js";import"./chunk-UCLSDDOL.js";export{a as updateStyle};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-IW4KEJOF.js";import"./chunk-UCLSDDOL.js";export{a as updateToken};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-PU62K33G.js";import"./chunk-YCGY2NRE.js";import"./chunk-UCLSDDOL.js";export{a as updateValue};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";var i=c("user",o=>{let[t,s]=o("socket","cache");if(!t||!s)throw new Error("Socket or cache not found");return{pointer:{namespace:"stage",schema:["Object"],handler:n=>{n&&t.publish("presence:pointer",n)}},selection:{namespace:"stage",schema:["Array","Array"],handler:(n,e)=>{let r=s.get(["selectedIds"])??[];if(s.set(["selectedRids"],n),s.set(["selectedIds"],e),r.length===0&&e.length===0)return;if(r.length!==e.length){t.publish("presence:selection",e);return}r.some((a,h)=>a!==e[h])&&t.publish("presence:selection",e)}}}});export{i as userContracts};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import"./chunk-UCLSDDOL.js";var o=new Set(["string","number","boolean","array","object"]);function u(e){return typeof e=="string"&&/^\s*function\b/.test(e)}function f(e){let n=[];if(!e||typeof e!="object"||Array.isArray(e))throw new Error("store payload must be an object");(typeof e.name!="string"||!e.name.trim())&&n.push("name must be a non-empty string"),e.state!==void 0&&(Array.isArray(e.state)?e.state.forEach((t,r)=>{if(!t||typeof t!="object"||Array.isArray(t)){n.push(`state[${r}] must be an object`);return}(typeof t.key!="string"||!t.key.trim())&&n.push(`state[${r}].key must be a non-empty string`),(typeof t.type!="string"||!o.has(t.type))&&n.push(`state[${r}].type must be one of ${[...o].join("|")}`)}):n.push("state must be an array"));for(let t of["computed","actions"])if(e[t]!==void 0){if(!Array.isArray(e[t])){n.push(`${t} must be an array`);continue}e[t].forEach((r,s)=>{if(!r||typeof r!="object"||Array.isArray(r)){n.push(`${t}[${s}] must be an object`);return}(typeof r.name!="string"||!r.name.trim())&&n.push(`${t}[${s}].name must be a non-empty string`),u(r.code)||n.push(`${t}[${s}].code must be a function expression string (e.g. function () { ... })`)})}if(n.length)throw new Error(`Invalid store payload:
|
|
2
|
-
- ${n.join(`
|
|
3
|
-
- `)}`);return!0}export{f as validateStorePayload};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";var s=e("viewport",t=>{let r=t("sceneCompiler");return{set:{schema:["Object"],handler:o=>(r.setViewport(o),!0)}}});export{s as viewportContracts};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";var s=n("window",e=>({back:{schema:null,namespace:"stage",handler:()=>{e("sceneCompiler").back()}},forward:{schema:null,namespace:"stage",handler:()=>{e("sceneCompiler").forward()}}}));export{s as windowContracts};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-GUI7FIZD.js";import"./chunk-N6I4COF2.js";import"./chunk-F5MJNV7Y.js";import"./chunk-UCLSDDOL.js";export{a as addAction};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-NOTXZB5N.js";import"./chunk-UCLSDDOL.js";export{a as addAnimationBinding};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-QJ33JO3T.js";import"./chunk-BL6GQ6ID.js";import"./chunk-K5BNCYT7.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as addAttribute};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as a}from"./chunk-3WCN6R5H.js";import"./chunk-2Z2RXHNK.js";import"./chunk-IWTWZA3T.js";import"./chunk-A25WFH3U.js";import"./chunk-MUZZUB5Y.js";import"./chunk-TPCJQIUG.js";import"./chunk-IG2Y3H6O.js";import"./chunk-HE7IQLGK.js";import"./chunk-DLHF7QB4.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as addComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-EWEPEODY.js";import"./chunk-Q3ZV7EKU.js";import"./chunk-F5MJNV7Y.js";import"./chunk-UCLSDDOL.js";export{a as addComputed};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-LHK7LQPZ.js";import"./chunk-TX5TCU2H.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as addEvent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-XE3A5HPY.js";import"./chunk-CC3CCH2E.js";import"./chunk-UCLSDDOL.js";export{a as addLifecycleHook};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as a}from"./chunk-M577WNTV.js";import"./chunk-2Z2RXHNK.js";import"./chunk-7I5TQOE2.js";import"./chunk-J5QMLA3Z.js";import"./chunk-IWTWZA3T.js";import"./chunk-TPCJQIUG.js";import"./chunk-4Q5R44ZZ.js";import"./chunk-IG2Y3H6O.js";import"./chunk-HE7IQLGK.js";import"./chunk-Z3M6DQKZ.js";import"./chunk-DLHF7QB4.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as addNode};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-E6KR5RXO.js";import"./chunk-LUY5LC7Z.js";import"./chunk-UCLSDDOL.js";export{a as addOption};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-EPVRMHC2.js";import"./chunk-UCLSDDOL.js";export{a as addParamToRoute};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-MGH62JQ4.js";import"./chunk-NHY2XYCH.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as addState};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-ZUPNPSUB.js";import"./chunk-UCLSDDOL.js";export{a as addStore};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-AMPHYXGT.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as addToken};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as a}from"./chunk-G3PYA3EU.js";import"./chunk-OQM5TMCK.js";import"./chunk-BL6GQ6ID.js";import"./chunk-K5BNCYT7.js";import"./chunk-M577WNTV.js";import"./chunk-2Z2RXHNK.js";import"./chunk-7I5TQOE2.js";import"./chunk-J5QMLA3Z.js";import"./chunk-IWTWZA3T.js";import"./chunk-TPCJQIUG.js";import"./chunk-SCJKRPIZ.js";import"./chunk-4Q5R44ZZ.js";import"./chunk-IG2Y3H6O.js";import"./chunk-HE7IQLGK.js";import"./chunk-Z3M6DQKZ.js";import"./chunk-DLHF7QB4.js";import"./chunk-7UENQJSC.js";import"./chunk-RFFN4NF4.js";import"./chunk-EXXAK3BP.js";import"./chunk-UCLSDDOL.js";export{a as addTree};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-6S7QQT47.js";import"./chunk-YCGY2NRE.js";import"./chunk-UCLSDDOL.js";export{a as addValue};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";var m=e("ai:attachment",r=>{let a=r("socket");return{save:{namespace:"stage",schema:["String","Object"],timeoutMs:3e4,handler:async(s,{name:n,mimeType:o,data:c})=>{let t=await a.request("ai:session:attachment:save",s,{name:n,mimeType:o,data:c});if(t?.error)throw new Error(t.error);return t??{}}}}});export{m as aiAttachmentContracts};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as s}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";var n=s("ai:messages",r=>{let t=r("socket");return{get:{namespace:"stage",schema:["String"],handler:async a=>{let e=await t.request("ai:session:messages:get",a);if(e?.error)throw new Error(e.error);return e??{}}}}});export{n as aiMessagesContracts};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";var i=n("ai",r=>{let[a,c,s]=r("channel","cache","socket");return s.subscribe("ai:agent:progress",e=>{a.to("editor").publish("ai:progress",e)}),s.subscribe("ai:agent:response",e=>{a.to("editor").publish("ai:response",e)}),{agent:{schema:["String","Object"],namespace:"stage",timeoutMs:36e5,handler:async(e,t={})=>{s.publish("ai:agent:run",{prompt:e,sessionId:t.sessionId??null,attachments:t.attachments??[],token:c.get(["token"])??null,orgId:t.orgId??null})}},stop:{schema:[],namespace:"stage",handler:()=>{s.publish("ai:agent:stop")}}}});export{i as aiContracts};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";async function a(r,e,s){let t=await r.request(e,...s!==void 0?[s]:[]);if(t?.error)throw new Error(t.error);return t??{}}var i=n("ai:session",r=>{let e=r("socket");return{create:{namespace:"stage",schema:[],handler:()=>a(e,"ai:session:create")},delete:{namespace:"stage",schema:["String"],handler:s=>a(e,"ai:session:delete",s)}}});export{i as aiSessionContracts};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk-CGCD6S33.js";import"./chunk-ULVFWUAU.js";import"./chunk-UCLSDDOL.js";var n=c("assets",l=>{let[a,s,o]=l("socket","channel","log");if(!a||!s)throw new Error("Socket or channel not found");return{upload:{namespace:"stage",schema:["Object","ArrayBuffer"],handler:async(t,e)=>{try{let r=await a.request("assets:upload",t,e);s.to("editor").publish("asset:uploaded",r)}catch(r){o.error("upload failed",{error:r.message}),s.to("editor").publish("asset:uploaded",{success:!1,error:r.message})}}},delete:{namespace:"stage",schema:["String"],handler:async t=>{o.debug("delete request received",{path:t});try{let e=await a.request("assets:delete",t);s.to("editor").publish("asset:deleted",e)}catch(e){o.error("delete failed",{error:e.message}),s.to("editor").publish("asset:deleted",{success:!1,error:e.message})}}},check:{namespace:"stage",schema:["String"],handler:async t=>{try{let e=await a.request("assets:check",t);return s.to("editor").publish("asset:checked",e),e}catch(e){o.error("check failed",{error:e.message});let r={exists:!1,error:e.message};return s.to("editor").publish("asset:checked",r),r}}}}});export{n as assetsContracts};
|