@popcraft/kit 1.2.0 → 1.2.1
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/chunks/agent-5ZVVUKVL.js +44 -0
- package/dist/chunks/apply-5RBSNZOG.js +46 -0
- package/dist/chunks/audio-decode-JARD6BMR.js +53 -0
- package/dist/chunks/audio-import-SQYL3E42.js +125 -0
- package/dist/chunks/audio-plan-I2WHFWT4.js +45 -0
- package/dist/chunks/board-export-K6TZ4JUE.js +180 -0
- package/dist/chunks/browser-PIADKZ7F.js +181 -0
- package/dist/chunks/build-6BOXVZZE.js +59 -0
- package/dist/chunks/builtin-ZWF5I77H.js +120 -0
- package/dist/chunks/buy-credits-T7C577LV.js +80 -0
- package/dist/chunks/check-K7F45WXR.js +59 -0
- package/dist/chunks/check-template-MWOIYAGA.js +2463 -0
- package/dist/chunks/chunk-224RL2IK.js +315 -0
- package/dist/chunks/chunk-253HDPDW.js +204 -0
- package/dist/chunks/chunk-26COEPOD.js +94 -0
- package/dist/chunks/chunk-26DACBOX.js +140 -0
- package/dist/chunks/chunk-27JMFQN3.js +23 -0
- package/dist/chunks/chunk-27PL2WFH.js +151 -0
- package/dist/chunks/chunk-27RIIXLD.js +313 -0
- package/dist/chunks/chunk-27SGFEFE.js +198 -0
- package/dist/chunks/chunk-2BC463BS.js +136 -0
- package/dist/chunks/chunk-2BTUCY7N.js +23 -0
- package/dist/chunks/chunk-2DXZHZAT.js +84 -0
- package/dist/chunks/chunk-2EE7ADNR.js +51 -0
- package/dist/chunks/chunk-2H2RC5BN.js +317 -0
- package/dist/chunks/chunk-2IMSPRAV.js +23 -0
- package/dist/chunks/chunk-2IWRJRC2.js +111 -0
- package/dist/chunks/chunk-2JB7NWCH.js +228 -0
- package/dist/chunks/chunk-2KHSIMQF.js +87 -0
- package/dist/chunks/chunk-2NYJ65ZK.js +293 -0
- package/dist/chunks/chunk-2O5FKRYH.js +41 -0
- package/dist/chunks/chunk-2PUIXYPY.js +93 -0
- package/dist/chunks/chunk-2Q6ML3HU.js +152 -0
- package/dist/chunks/chunk-2RPT6F7X.js +262 -0
- package/dist/chunks/chunk-2T37PWOU.js +43 -0
- package/dist/chunks/chunk-2TLL5MQR.js +110 -0
- package/dist/chunks/chunk-2VP2TNFJ.js +162 -0
- package/dist/chunks/chunk-2YBUL3XX.js +137 -0
- package/dist/chunks/chunk-2YQLN2PB.js +155 -0
- package/dist/chunks/chunk-2ZGIM67U.js +346 -0
- package/dist/chunks/chunk-2ZHAXB6P.js +45 -0
- package/dist/chunks/chunk-325TFCI6.js +50 -0
- package/dist/chunks/chunk-32DEPR36.js +361 -0
- package/dist/chunks/chunk-32PH5AKL.js +414 -0
- package/dist/chunks/chunk-33BI5GRN.js +301 -0
- package/dist/chunks/chunk-33OYO7ZS.js +140 -0
- package/dist/chunks/chunk-34R7YOT4.js +149 -0
- package/dist/chunks/chunk-3C6BQZVN.js +33 -0
- package/dist/chunks/chunk-3CAFE5W4.js +159 -0
- package/dist/chunks/chunk-3CGEOPOH.js +59 -0
- package/dist/chunks/chunk-3DBUZATS.js +338 -0
- package/dist/chunks/chunk-3E7ELVCX.js +120 -0
- package/dist/chunks/chunk-3FJ3ZHHJ.js +152 -0
- package/dist/chunks/chunk-3FSHPCLY.js +100 -0
- package/dist/chunks/chunk-3H5NLZCJ.js +179 -0
- package/dist/chunks/chunk-3H77TRB2.js +170 -0
- package/dist/chunks/chunk-3HAAWHB3.js +52 -0
- package/dist/chunks/chunk-3HCTISUK.js +503 -0
- package/dist/chunks/chunk-3HRSKC55.js +123 -0
- package/dist/chunks/chunk-3HTLGAEO.js +163 -0
- package/dist/chunks/chunk-3IAF62W5.js +78 -0
- package/dist/chunks/chunk-3IJQOFTZ.js +131 -0
- package/dist/chunks/chunk-3IQ6A62N.js +197 -0
- package/dist/chunks/chunk-3JTW4AF6.js +443 -0
- package/dist/chunks/chunk-3KZLMBZX.js +75 -0
- package/dist/chunks/chunk-3MVODLGN.js +1845 -0
- package/dist/chunks/chunk-3OTQB22H.js +160 -0
- package/dist/chunks/chunk-3QVW6U2S.js +299 -0
- package/dist/chunks/chunk-3RHLORXI.js +320 -0
- package/dist/chunks/chunk-3UVTEN2Z.js +728 -0
- package/dist/chunks/chunk-3WPC27TN.js +152 -0
- package/dist/chunks/chunk-3WSSM5NC.js +161 -0
- package/dist/chunks/chunk-3XCKOOPI.js +165 -0
- package/dist/chunks/chunk-42MNK5B7.js +104 -0
- package/dist/chunks/chunk-42VMN3XD.js +49 -0
- package/dist/chunks/chunk-43NSFYSA.js +312 -0
- package/dist/chunks/chunk-43RE7SUB.js +80 -0
- package/dist/chunks/chunk-446LJ62G.js +289 -0
- package/dist/chunks/chunk-452LA4JK.js +172 -0
- package/dist/chunks/chunk-463IWSXA.js +487 -0
- package/dist/chunks/chunk-47BCHVLO.js +95 -0
- package/dist/chunks/chunk-4BW3GNWA.js +298 -0
- package/dist/chunks/chunk-4CGNSTLN.js +889 -0
- package/dist/chunks/chunk-4CO4BJW3.js +80 -0
- package/dist/chunks/chunk-4DCSSI5H.js +392 -0
- package/dist/chunks/chunk-4E6KXIFQ.js +105 -0
- package/dist/chunks/chunk-4F76CXYC.js +162 -0
- package/dist/chunks/chunk-4FUYTN6V.js +140 -0
- package/dist/chunks/chunk-4FVP6IYV.js +87 -0
- package/dist/chunks/chunk-4GHFT6GU.js +55 -0
- package/dist/chunks/chunk-4HZ36WFR.js +155 -0
- package/dist/chunks/chunk-4IHSRBJB.js +898 -0
- package/dist/chunks/chunk-4JRH5L2M.js +105 -0
- package/dist/chunks/chunk-4MSAFSF7.js +66 -0
- package/dist/chunks/chunk-4NISKFAP.js +122 -0
- package/dist/chunks/chunk-4O7SPE5T.js +120 -0
- package/dist/chunks/chunk-4OOYKQDC.js +180 -0
- package/dist/chunks/chunk-4R4WCXKN.js +267 -0
- package/dist/chunks/chunk-4RNBIT23.js +166 -0
- package/dist/chunks/chunk-4TFBUDEO.js +255 -0
- package/dist/chunks/chunk-4U5X45GQ.js +104 -0
- package/dist/chunks/chunk-4VVXQCZZ.js +106 -0
- package/dist/chunks/chunk-4WC443V2.js +331 -0
- package/dist/chunks/chunk-4WFUDLP5.js +53 -0
- package/dist/chunks/chunk-4WXIFKTY.js +79 -0
- package/dist/chunks/chunk-4XE2KK7N.js +368 -0
- package/dist/chunks/chunk-523TYP25.js +85 -0
- package/dist/chunks/chunk-52AU4QPA.js +131 -0
- package/dist/chunks/chunk-52TLXELL.js +94 -0
- package/dist/chunks/chunk-53KI63V6.js +139 -0
- package/dist/chunks/chunk-5654W7DO.js +326 -0
- package/dist/chunks/chunk-5B34TLDY.js +232 -0
- package/dist/chunks/chunk-5BGG5QNE.js +200 -0
- package/dist/chunks/chunk-5BTKKZDI.js +598 -0
- package/dist/chunks/chunk-5CH3NPIA.js +165 -0
- package/dist/chunks/chunk-5CJGLGLV.js +362 -0
- package/dist/chunks/chunk-5E6MBCY7.js +92 -0
- package/dist/chunks/chunk-5EZHATKI.js +155 -0
- package/dist/chunks/chunk-5FFYRJFD.js +183 -0
- package/dist/chunks/chunk-5FPDKWTP.js +305 -0
- package/dist/chunks/chunk-5FSF5YG3.js +133 -0
- package/dist/chunks/chunk-5FTP3YMQ.js +92 -0
- package/dist/chunks/chunk-5G6BZS5E.js +198 -0
- package/dist/chunks/chunk-5GBS5SXU.js +103 -0
- package/dist/chunks/chunk-5GNQGVJC.js +77 -0
- package/dist/chunks/chunk-5H2KY4GM.js +215 -0
- package/dist/chunks/chunk-5HFWILON.js +81 -0
- package/dist/chunks/chunk-5JQ34QE6.js +94 -0
- package/dist/chunks/chunk-5MFCKKR5.js +173 -0
- package/dist/chunks/chunk-5MIXD5XG.js +305 -0
- package/dist/chunks/chunk-5MXXKSMI.js +119 -0
- package/dist/chunks/chunk-5PEPNDBI.js +130 -0
- package/dist/chunks/chunk-5PI3PMZB.js +272 -0
- package/dist/chunks/chunk-5QJCWL5U.js +97 -0
- package/dist/chunks/chunk-5SE664OH.js +230 -0
- package/dist/chunks/chunk-5VIXABE2.js +287 -0
- package/dist/chunks/chunk-5VL2CYZL.js +60 -0
- package/dist/chunks/chunk-5XECGWHK.js +85 -0
- package/dist/chunks/chunk-5XLOEEGQ.js +152 -0
- package/dist/chunks/chunk-5YKZJKDS.js +382 -0
- package/dist/chunks/chunk-5ZCPSJHQ.js +120 -0
- package/dist/chunks/chunk-5ZGBT6VO.js +136 -0
- package/dist/chunks/chunk-622OKPMS.js +77 -0
- package/dist/chunks/chunk-643HPKWH.js +276 -0
- package/dist/chunks/chunk-64ECRMEV.js +360 -0
- package/dist/chunks/chunk-64JIW7I2.js +234 -0
- package/dist/chunks/chunk-64YUI4UO.js +104 -0
- package/dist/chunks/chunk-65FOWAD7.js +201 -0
- package/dist/chunks/chunk-6737B3K4.js +81 -0
- package/dist/chunks/chunk-67SHQX4T.js +161 -0
- package/dist/chunks/chunk-6BHPMZUT.js +147 -0
- package/dist/chunks/chunk-6CDF5CEH.js +222 -0
- package/dist/chunks/chunk-6CSQLDK2.js +23 -0
- package/dist/chunks/chunk-6D452CFK.js +94 -0
- package/dist/chunks/chunk-6DMQD4IP.js +110 -0
- package/dist/chunks/chunk-6DP4KLTO.js +45 -0
- package/dist/chunks/chunk-6F2FFMIY.js +83 -0
- package/dist/chunks/chunk-6JNUIRSG.js +221 -0
- package/dist/chunks/chunk-6LCVEEGJ.js +199 -0
- package/dist/chunks/chunk-6LU75RI5.js +82 -0
- package/dist/chunks/chunk-6M7PRD7N.js +260 -0
- package/dist/chunks/chunk-6MH2U6WA.js +361 -0
- package/dist/chunks/chunk-6MQKBRXC.js +172 -0
- package/dist/chunks/chunk-6MYZPXEW.js +126 -0
- package/dist/chunks/chunk-6NGUY4G7.js +162 -0
- package/dist/chunks/chunk-6OB6A33R.js +100 -0
- package/dist/chunks/chunk-6P3YZCHJ.js +337 -0
- package/dist/chunks/chunk-6QIL6N7Z.js +141 -0
- package/dist/chunks/chunk-6RIRRH4P.js +96 -0
- package/dist/chunks/chunk-6U3VSGNK.js +93 -0
- package/dist/chunks/chunk-6UF4W74B.js +83 -0
- package/dist/chunks/chunk-6UX2INZE.js +83 -0
- package/dist/chunks/chunk-6VOHJRFR.js +137 -0
- package/dist/chunks/chunk-6VXK7SVR.js +128 -0
- package/dist/chunks/chunk-6WEKBBEX.js +53 -0
- package/dist/chunks/chunk-6WP4VK5E.js +47 -0
- package/dist/chunks/chunk-6ZL2D5NT.js +153 -0
- package/dist/chunks/chunk-6ZWWIBHT.js +112 -0
- package/dist/chunks/chunk-72NJQWCD.js +89 -0
- package/dist/chunks/chunk-735B6VI5.js +1574 -0
- package/dist/chunks/chunk-73BYJNNT.js +23 -0
- package/dist/chunks/chunk-75HIMXSR.js +97 -0
- package/dist/chunks/chunk-75ZV6UH6.js +400 -0
- package/dist/chunks/chunk-76KSVTKJ.js +187 -0
- package/dist/chunks/chunk-77G4WMGB.js +96 -0
- package/dist/chunks/chunk-7ANH3LEG.js +23 -0
- package/dist/chunks/chunk-7AYGPNDC.js +33 -0
- package/dist/chunks/chunk-7CEUBEEL.js +109 -0
- package/dist/chunks/chunk-7IDZEL7U.js +90 -0
- package/dist/chunks/chunk-7IRLI7FI.js +63 -0
- package/dist/chunks/chunk-7J636EU5.js +23 -0
- package/dist/chunks/chunk-7K7WKUYK.js +55 -0
- package/dist/chunks/chunk-7OD4XIOX.js +44 -0
- package/dist/chunks/chunk-7OGYXHV2.js +206 -0
- package/dist/chunks/chunk-7OS5345S.js +164 -0
- package/dist/chunks/chunk-7PINHPNT.js +55 -0
- package/dist/chunks/chunk-7Q3IS5SD.js +484 -0
- package/dist/chunks/chunk-7QMM4CJC.js +172 -0
- package/dist/chunks/chunk-7SW5S72F.js +106 -0
- package/dist/chunks/chunk-7VMRGPWB.js +100 -0
- package/dist/chunks/chunk-7VSHWGPZ.js +567 -0
- package/dist/chunks/chunk-7XLVGIJH.js +95 -0
- package/dist/chunks/chunk-7YTLQP5T.js +41 -0
- package/dist/chunks/chunk-7ZLFRTIS.js +152 -0
- package/dist/chunks/chunk-A34YWJTL.js +146 -0
- package/dist/chunks/chunk-A3JTG6V3.js +33 -0
- package/dist/chunks/chunk-A3OYGKT4.js +175 -0
- package/dist/chunks/chunk-A3X34TT7.js +62 -0
- package/dist/chunks/chunk-A5PORIEQ.js +78 -0
- package/dist/chunks/chunk-A72CYF2R.js +88 -0
- package/dist/chunks/chunk-A7P3PKVR.js +181 -0
- package/dist/chunks/chunk-AABLDYKR.js +178 -0
- package/dist/chunks/chunk-AANGY3FH.js +174 -0
- package/dist/chunks/chunk-AD2VC2JB.js +108 -0
- package/dist/chunks/chunk-AFNM4HT3.js +23 -0
- package/dist/chunks/chunk-AJ3Z7VHN.js +173 -0
- package/dist/chunks/chunk-AKVHAKHD.js +91 -0
- package/dist/chunks/chunk-AL6B3A6Y.js +192 -0
- package/dist/chunks/chunk-ALXHVT3V.js +330 -0
- package/dist/chunks/chunk-AMCNGXZF.js +512 -0
- package/dist/chunks/chunk-AMV656RG.js +282 -0
- package/dist/chunks/chunk-ANHGNY5Y.js +33 -0
- package/dist/chunks/chunk-ANPTXWSM.js +45 -0
- package/dist/chunks/chunk-APVBGQZ4.js +170 -0
- package/dist/chunks/chunk-APZGSM7O.js +193 -0
- package/dist/chunks/chunk-AQ5UVZZT.js +23 -0
- package/dist/chunks/chunk-AQ6L3YHE.js +100 -0
- package/dist/chunks/chunk-AQAXYTQ7.js +139 -0
- package/dist/chunks/chunk-ASFEI3CO.js +144 -0
- package/dist/chunks/chunk-ASMIA7MZ.js +97 -0
- package/dist/chunks/chunk-ASOBH5RJ.js +226 -0
- package/dist/chunks/chunk-AU55MNVM.js +304 -0
- package/dist/chunks/chunk-AUQYVZUE.js +36 -0
- package/dist/chunks/chunk-AX72BCQE.js +1109 -0
- package/dist/chunks/chunk-B43UYGBX.js +106 -0
- package/dist/chunks/chunk-B4DOENT3.js +48 -0
- package/dist/chunks/chunk-B4FLSLOJ.js +290 -0
- package/dist/chunks/chunk-B4PQIUPZ.js +37 -0
- package/dist/chunks/chunk-B6HOL6TV.js +102 -0
- package/dist/chunks/chunk-B7O7ATYU.js +118 -0
- package/dist/chunks/chunk-B7RUUDAP.js +68 -0
- package/dist/chunks/chunk-BAO2CQMD.js +92 -0
- package/dist/chunks/chunk-BBBKLNSW.js +422 -0
- package/dist/chunks/chunk-BC2F7NIT.js +122 -0
- package/dist/chunks/chunk-BCHQ3N4S.js +961 -0
- package/dist/chunks/chunk-BCSRYNNO.js +109 -0
- package/dist/chunks/chunk-BF37VYPH.js +65 -0
- package/dist/chunks/chunk-BGT3QLP3.js +96 -0
- package/dist/chunks/chunk-BH74WFR6.js +30 -0
- package/dist/chunks/chunk-BIDPV6WO.js +464 -0
- package/dist/chunks/chunk-BIVNZ65A.js +130 -0
- package/dist/chunks/chunk-BJTAS464.js +110 -0
- package/dist/chunks/chunk-BLQP6BSY.js +263 -0
- package/dist/chunks/chunk-BLWZFHOV.js +36 -0
- package/dist/chunks/chunk-BNAPUR7J.js +159 -0
- package/dist/chunks/chunk-BNI4HDQW.js +685 -0
- package/dist/chunks/chunk-BNYHFUIC.js +119 -0
- package/dist/chunks/chunk-BOGORBYF.js +134 -0
- package/dist/chunks/chunk-BOZD6JBM.js +97 -0
- package/dist/chunks/chunk-BQ4RBMZ4.js +79 -0
- package/dist/chunks/chunk-BQSLIP4F.js +146 -0
- package/dist/chunks/chunk-BVFDT3CA.js +85 -0
- package/dist/chunks/chunk-BYWOBR3E.js +425 -0
- package/dist/chunks/chunk-C2SCAN7V.js +261 -0
- package/dist/chunks/chunk-C353YBAM.js +334 -0
- package/dist/chunks/chunk-C3KV3BT5.js +89 -0
- package/dist/chunks/chunk-C3MFPLGA.js +336 -0
- package/dist/chunks/chunk-C3UHLWYN.js +36 -0
- package/dist/chunks/chunk-C3UJZY5O.js +97 -0
- package/dist/chunks/chunk-C3YVSFPG.js +106 -0
- package/dist/chunks/chunk-C4U4Q32B.js +1378 -0
- package/dist/chunks/chunk-C6WCXE3E.js +123 -0
- package/dist/chunks/chunk-CCKWJW2L.js +51 -0
- package/dist/chunks/chunk-CCPJ6NX2.js +237 -0
- package/dist/chunks/chunk-CDEJ5DR6.js +173 -0
- package/dist/chunks/chunk-CDLZEVYV.js +106 -0
- package/dist/chunks/chunk-CFI67U2X.js +112 -0
- package/dist/chunks/chunk-CFYVIAHZ.js +41 -0
- package/dist/chunks/chunk-CH4QK6SG.js +98 -0
- package/dist/chunks/chunk-CHAW7KU6.js +160 -0
- package/dist/chunks/chunk-CJ7QV2L6.js +73 -0
- package/dist/chunks/chunk-CLRRTLJN.js +197 -0
- package/dist/chunks/chunk-CLUZDLJ5.js +353 -0
- package/dist/chunks/chunk-CMY5GX6E.js +42 -0
- package/dist/chunks/chunk-CNWZDKNX.js +41 -0
- package/dist/chunks/chunk-COLABHMQ.js +213 -0
- package/dist/chunks/chunk-CPGFQ6RS.js +33 -0
- package/dist/chunks/chunk-CQ4JPJA7.js +23 -0
- package/dist/chunks/chunk-CQSHD5QV.js +256 -0
- package/dist/chunks/chunk-CRLXNQEU.js +105 -0
- package/dist/chunks/chunk-CS4SB5DK.js +231 -0
- package/dist/chunks/chunk-CSR7PK7G.js +145 -0
- package/dist/chunks/chunk-CT6HY2NB.js +303 -0
- package/dist/chunks/chunk-CUC7BJDV.js +175 -0
- package/dist/chunks/chunk-CUXD2345.js +169 -0
- package/dist/chunks/chunk-CVAEFG34.js +23 -0
- package/dist/chunks/chunk-CVGEJENO.js +411 -0
- package/dist/chunks/chunk-CVZA6HPL.js +344 -0
- package/dist/chunks/chunk-CYSBU4CC.js +127 -0
- package/dist/chunks/chunk-CYWS7Q34.js +208 -0
- package/dist/chunks/chunk-D266WUDD.js +10733 -0
- package/dist/chunks/chunk-D37ADDFS.js +77 -0
- package/dist/chunks/chunk-D3GUJVF6.js +90 -0
- package/dist/chunks/chunk-D4QQWFEH.js +23 -0
- package/dist/chunks/chunk-D6D6UME3.js +97 -0
- package/dist/chunks/chunk-D6DYCLSY.js +141 -0
- package/dist/chunks/chunk-DA7QYDDC.js +255 -0
- package/dist/chunks/chunk-DCII2AJ2.js +342 -0
- package/dist/chunks/chunk-DEA2AZXT.js +361 -0
- package/dist/chunks/chunk-DEK5TLRK.js +180 -0
- package/dist/chunks/chunk-DFF27QB6.js +188 -0
- package/dist/chunks/chunk-DGJFHGJJ.js +327 -0
- package/dist/chunks/chunk-DIX34HM2.js +235 -0
- package/dist/chunks/chunk-DJCXWSNB.js +277 -0
- package/dist/chunks/chunk-DOHM4DTG.js +117 -0
- package/dist/chunks/chunk-DOQ7QCTX.js +177 -0
- package/dist/chunks/chunk-DOZWAXTT.js +23 -0
- package/dist/chunks/chunk-DP22OYSU.js +45 -0
- package/dist/chunks/chunk-DQEVTB2P.js +512 -0
- package/dist/chunks/chunk-DR7VVWVR.js +109 -0
- package/dist/chunks/chunk-DRBEGSRN.js +165 -0
- package/dist/chunks/chunk-DVAOFNK7.js +811 -0
- package/dist/chunks/chunk-DVJ3JIXV.js +644 -0
- package/dist/chunks/chunk-DXRBSGWO.js +479 -0
- package/dist/chunks/chunk-DYFMK5WG.js +74 -0
- package/dist/chunks/chunk-DYPUK26P.js +80 -0
- package/dist/chunks/chunk-DYWT2D4V.js +283 -0
- package/dist/chunks/chunk-DZFN2OWB.js +361 -0
- package/dist/chunks/chunk-DZLC4Z4C.js +209 -0
- package/dist/chunks/chunk-E2NL5S6P.js +23 -0
- package/dist/chunks/chunk-E46WVN4A.js +127 -0
- package/dist/chunks/chunk-E5APSFAX.js +378 -0
- package/dist/chunks/chunk-E6QYDRBA.js +386 -0
- package/dist/chunks/chunk-E6QYI43V.js +777 -0
- package/dist/chunks/chunk-E75CKVYO.js +172 -0
- package/dist/chunks/chunk-E7OVA2PS.js +105 -0
- package/dist/chunks/chunk-EA4KFJHB.js +23 -0
- package/dist/chunks/chunk-EDZOI3CM.js +117 -0
- package/dist/chunks/chunk-EGGS7722.js +260 -0
- package/dist/chunks/chunk-EJHBFOMI.js +82 -0
- package/dist/chunks/chunk-EK4WHNPN.js +130 -0
- package/dist/chunks/chunk-EKDGKOBW.js +33 -0
- package/dist/chunks/chunk-ELO44YZ5.js +81 -0
- package/dist/chunks/chunk-ELTPU2CT.js +167 -0
- package/dist/chunks/chunk-EMFKE3DX.js +115 -0
- package/dist/chunks/chunk-ENHBK3WK.js +105 -0
- package/dist/chunks/chunk-ENP3UQTV.js +181 -0
- package/dist/chunks/chunk-EQIGG5VD.js +358 -0
- package/dist/chunks/chunk-ER2XUHXG.js +23 -0
- package/dist/chunks/chunk-ETHD5W4W.js +98 -0
- package/dist/chunks/chunk-EUE4VV7G.js +97 -0
- package/dist/chunks/chunk-EUKKWV3G.js +559 -0
- package/dist/chunks/chunk-EUYNXTEV.js +218 -0
- package/dist/chunks/chunk-EVN2RSNK.js +154 -0
- package/dist/chunks/chunk-EWAJE6EC.js +122 -0
- package/dist/chunks/chunk-EXUPCOIB.js +84 -0
- package/dist/chunks/chunk-EXWDDZ4K.js +122 -0
- package/dist/chunks/chunk-EXXUX44N.js +462 -0
- package/dist/chunks/chunk-EZKRYN3H.js +70 -0
- package/dist/chunks/chunk-EZN4ZLJ4.js +33 -0
- package/dist/chunks/chunk-EZRAJ2GC.js +172 -0
- package/dist/chunks/chunk-F2RLOTDE.js +216 -0
- package/dist/chunks/chunk-F3U3SJ6H.js +74 -0
- package/dist/chunks/chunk-F5GIZ7NG.js +214 -0
- package/dist/chunks/chunk-F5HUMUAG.js +69 -0
- package/dist/chunks/chunk-F5K77T6W.js +101 -0
- package/dist/chunks/chunk-F6HBHQWV.js +358 -0
- package/dist/chunks/chunk-FB35DOHJ.js +196 -0
- package/dist/chunks/chunk-FBMEB7AR.js +415 -0
- package/dist/chunks/chunk-FDMSXA36.js +342 -0
- package/dist/chunks/chunk-FDQRAJQ3.js +81 -0
- package/dist/chunks/chunk-FEK6QR4G.js +200 -0
- package/dist/chunks/chunk-FEU7JZRC.js +184 -0
- package/dist/chunks/chunk-FF7ACTPU.js +133 -0
- package/dist/chunks/chunk-FFMXGEEW.js +115 -0
- package/dist/chunks/chunk-FGCEGF6Q.js +119 -0
- package/dist/chunks/chunk-FH5U4I7B.js +85 -0
- package/dist/chunks/chunk-FHOPAWJU.js +297 -0
- package/dist/chunks/chunk-FI45LJKV.js +170 -0
- package/dist/chunks/chunk-FJIYMB4W.js +30 -0
- package/dist/chunks/chunk-FJPUFKSP.js +38 -0
- package/dist/chunks/chunk-FLXMEE7H.js +45 -0
- package/dist/chunks/chunk-FMA7C2BU.js +50 -0
- package/dist/chunks/chunk-FME65HSM.js +97 -0
- package/dist/chunks/chunk-FMGKYTLA.js +54 -0
- package/dist/chunks/chunk-FRDEKTX2.js +210 -0
- package/dist/chunks/chunk-FRIXW5AX.js +131 -0
- package/dist/chunks/chunk-FS6EBCFQ.js +189 -0
- package/dist/chunks/chunk-FSR6BS2T.js +108 -0
- package/dist/chunks/chunk-FSXNGQFT.js +115 -0
- package/dist/chunks/chunk-FTA5KR6T.js +139 -0
- package/dist/chunks/chunk-FUSZ6UNO.js +195 -0
- package/dist/chunks/chunk-FUWUKGI6.js +177 -0
- package/dist/chunks/chunk-FVVHGBN4.js +97 -0
- package/dist/chunks/chunk-FW3EG2VB.js +198 -0
- package/dist/chunks/chunk-FXB7GC6S.js +282 -0
- package/dist/chunks/chunk-G54OUUDR.js +181 -0
- package/dist/chunks/chunk-G62CDUQW.js +248 -0
- package/dist/chunks/chunk-G6D42IMC.js +80 -0
- package/dist/chunks/chunk-G6NOE4MZ.js +147 -0
- package/dist/chunks/chunk-G7RRH4GL.js +156 -0
- package/dist/chunks/chunk-G7WDFII7.js +179 -0
- package/dist/chunks/chunk-GE7G33DJ.js +242 -0
- package/dist/chunks/chunk-GEBHINKI.js +23 -0
- package/dist/chunks/chunk-GFWWP3IT.js +48 -0
- package/dist/chunks/chunk-GH5NSAWX.js +135 -0
- package/dist/chunks/chunk-GHC32626.js +446 -0
- package/dist/chunks/chunk-GLJCPU4K.js +224 -0
- package/dist/chunks/chunk-GNM3O2WF.js +123 -0
- package/dist/chunks/chunk-GOIIVFQC.js +166 -0
- package/dist/chunks/chunk-GPVB5ZNG.js +266 -0
- package/dist/chunks/chunk-GQW3A46Z.js +82 -0
- package/dist/chunks/chunk-GRNAZZJI.js +124 -0
- package/dist/chunks/chunk-GUKNMIRO.js +33 -0
- package/dist/chunks/chunk-GWRPG5VP.js +176 -0
- package/dist/chunks/chunk-GX5QYHB7.js +105 -0
- package/dist/chunks/chunk-GXSGC5MJ.js +139 -0
- package/dist/chunks/chunk-GZHD6HA5.js +204 -0
- package/dist/chunks/chunk-GZJHMFPW.js +969 -0
- package/dist/chunks/chunk-GZJNSKYA.js +368 -0
- package/dist/chunks/chunk-GZN3CWWE.js +655 -0
- package/dist/chunks/chunk-H33JBNSY.js +169 -0
- package/dist/chunks/chunk-H3RB2OUY.js +87 -0
- package/dist/chunks/chunk-H4HB5U76.js +196 -0
- package/dist/chunks/chunk-H5Z54LME.js +202 -0
- package/dist/chunks/chunk-HB247URN.js +78 -0
- package/dist/chunks/chunk-HB3BBROE.js +33 -0
- package/dist/chunks/chunk-HBVNCOMN.js +201 -0
- package/dist/chunks/chunk-HCZNGQIA.js +23 -0
- package/dist/chunks/chunk-HDCRLV65.js +33 -0
- package/dist/chunks/chunk-HDMPYTXB.js +110 -0
- package/dist/chunks/chunk-HEKU33XG.js +50 -0
- package/dist/chunks/chunk-HFEVSKFX.js +97 -0
- package/dist/chunks/chunk-HIE3ENNF.js +48 -0
- package/dist/chunks/chunk-HJDDG37G.js +428 -0
- package/dist/chunks/chunk-HLN6GTVF.js +282 -0
- package/dist/chunks/chunk-HMKI3RTZ.js +151 -0
- package/dist/chunks/chunk-HNWEQJNN.js +86 -0
- package/dist/chunks/chunk-HO2476IQ.js +94 -0
- package/dist/chunks/chunk-HO7NTFM6.js +122 -0
- package/dist/chunks/chunk-HOALCCKG.js +169 -0
- package/dist/chunks/chunk-HOCFNS3L.js +399 -0
- package/dist/chunks/chunk-HOJZ3EXF.js +88 -0
- package/dist/chunks/chunk-HOWSSUN7.js +13696 -0
- package/dist/chunks/chunk-HQ772FL6.js +103 -0
- package/dist/chunks/chunk-HQ7GVAPL.js +207 -0
- package/dist/chunks/chunk-HRIM64O2.js +73 -0
- package/dist/chunks/chunk-HRUS7MUY.js +106 -0
- package/dist/chunks/chunk-HRVDHKIR.js +80 -0
- package/dist/chunks/chunk-HSBUM7AM.js +157 -0
- package/dist/chunks/chunk-HTESRNVC.js +159 -0
- package/dist/chunks/chunk-HVZSUESI.js +103 -0
- package/dist/chunks/chunk-HW3PRHGM.js +82 -0
- package/dist/chunks/chunk-HW6KW3X3.js +832 -0
- package/dist/chunks/chunk-HXBIUEIR.js +1307 -0
- package/dist/chunks/chunk-HZ7UNU24.js +145 -0
- package/dist/chunks/chunk-HZEATVUY.js +147 -0
- package/dist/chunks/chunk-HZENMDP6.js +93 -0
- package/dist/chunks/chunk-I5LTNLZ2.js +261 -0
- package/dist/chunks/chunk-I7HOBKT2.js +84 -0
- package/dist/chunks/chunk-I7Y2K6ST.js +182 -0
- package/dist/chunks/chunk-IB4GDTLR.js +109 -0
- package/dist/chunks/chunk-IB7WP2TI.js +138 -0
- package/dist/chunks/chunk-IE25UPNJ.js +320 -0
- package/dist/chunks/chunk-IEHCH4YH.js +209 -0
- package/dist/chunks/chunk-IHENV5IS.js +100 -0
- package/dist/chunks/chunk-IJ2HRLXB.js +36 -0
- package/dist/chunks/chunk-IJTXBXED.js +150 -0
- package/dist/chunks/chunk-IK5A3TFD.js +166 -0
- package/dist/chunks/chunk-IKGV64X7.js +2157 -0
- package/dist/chunks/chunk-IMHTAF33.js +33 -0
- package/dist/chunks/chunk-IMOAFJIR.js +145 -0
- package/dist/chunks/chunk-INOODW5A.js +1188 -0
- package/dist/chunks/chunk-IOVR3OWS.js +90 -0
- package/dist/chunks/chunk-IQMA6JO3.js +366 -0
- package/dist/chunks/chunk-IRUDPSF6.js +152 -0
- package/dist/chunks/chunk-ISUFPSGF.js +49 -0
- package/dist/chunks/chunk-ITDVBW57.js +89 -0
- package/dist/chunks/chunk-ITY5NDE3.js +78 -0
- package/dist/chunks/chunk-IUCMJPU3.js +187 -0
- package/dist/chunks/chunk-IVUJJTWX.js +23 -0
- package/dist/chunks/chunk-IXJ2INBE.js +338 -0
- package/dist/chunks/chunk-J3C75RSM.js +33 -0
- package/dist/chunks/chunk-J4F7MNAT.js +188 -0
- package/dist/chunks/chunk-J4I4TCLE.js +214 -0
- package/dist/chunks/chunk-J5J7P777.js +66 -0
- package/dist/chunks/chunk-J7H6UHYL.js +88 -0
- package/dist/chunks/chunk-JABDPQMQ.js +2101 -0
- package/dist/chunks/chunk-JCV2E7HJ.js +144 -0
- package/dist/chunks/chunk-JECPGAJK.js +71 -0
- package/dist/chunks/chunk-JF4OJWO7.js +95 -0
- package/dist/chunks/chunk-JFPCNYKY.js +738 -0
- package/dist/chunks/chunk-JGSUAX5G.js +106 -0
- package/dist/chunks/chunk-JITY6HNW.js +178 -0
- package/dist/chunks/chunk-JJD5MZ4T.js +632 -0
- package/dist/chunks/chunk-JJHXLJE7.js +33 -0
- package/dist/chunks/chunk-JKPI4NPC.js +33 -0
- package/dist/chunks/chunk-JM5FVAJC.js +23 -0
- package/dist/chunks/chunk-JMNHFHNW.js +497 -0
- package/dist/chunks/chunk-JQR5CMQ2.js +153 -0
- package/dist/chunks/chunk-JQSHD3IE.js +149 -0
- package/dist/chunks/chunk-JSMZ6ZFP.js +108 -0
- package/dist/chunks/chunk-JSZJZTUT.js +123 -0
- package/dist/chunks/chunk-JUZZXCFK.js +331 -0
- package/dist/chunks/chunk-JVBTFBNZ.js +47 -0
- package/dist/chunks/chunk-JVJ37W3E.js +366 -0
- package/dist/chunks/chunk-JWB654OA.js +33 -0
- package/dist/chunks/chunk-JX5XVPHJ.js +327 -0
- package/dist/chunks/chunk-JY7KJGXS.js +78 -0
- package/dist/chunks/chunk-JYUUQELE.js +262 -0
- package/dist/chunks/chunk-JZ7NYSHP.js +44 -0
- package/dist/chunks/chunk-JZFPYSQH.js +130 -0
- package/dist/chunks/chunk-JZM5HWEX.js +199 -0
- package/dist/chunks/chunk-K2W3VWDB.js +91 -0
- package/dist/chunks/chunk-K3CFC45Y.js +163 -0
- package/dist/chunks/chunk-K3YG5VY7.js +45 -0
- package/dist/chunks/chunk-K4AMMKWH.js +185 -0
- package/dist/chunks/chunk-K5KZ2QV4.js +226 -0
- package/dist/chunks/chunk-KDC5QB4H.js +23 -0
- package/dist/chunks/chunk-KEQIT4AL.js +1309 -0
- package/dist/chunks/chunk-KG7YA5VM.js +149 -0
- package/dist/chunks/chunk-KH35FZ7P.js +544 -0
- package/dist/chunks/chunk-KH4W2IQH.js +23 -0
- package/dist/chunks/chunk-KHJE2MFL.js +176 -0
- package/dist/chunks/chunk-KIAN77DN.js +147 -0
- package/dist/chunks/chunk-KIB5UIAK.js +84 -0
- package/dist/chunks/chunk-KIWWS3I3.js +75 -0
- package/dist/chunks/chunk-KLBZXM67.js +101 -0
- package/dist/chunks/chunk-KLHL3SB2.js +162 -0
- package/dist/chunks/chunk-KLNNW4O5.js +104 -0
- package/dist/chunks/chunk-KMHJ6ZBL.js +23 -0
- package/dist/chunks/chunk-KMISNE5V.js +135 -0
- package/dist/chunks/chunk-KMTB6OS6.js +197 -0
- package/dist/chunks/chunk-KNPKTPJL.js +122 -0
- package/dist/chunks/chunk-KOFENM57.js +112 -0
- package/dist/chunks/chunk-KOFTDBT7.js +278 -0
- package/dist/chunks/chunk-KOH36YVL.js +49 -0
- package/dist/chunks/chunk-KOIB3DDD.js +133 -0
- package/dist/chunks/chunk-KOKHQBEX.js +23 -0
- package/dist/chunks/chunk-KOMQECNL.js +119 -0
- package/dist/chunks/chunk-KOY7FTCS.js +50 -0
- package/dist/chunks/chunk-KPASD6YT.js +91 -0
- package/dist/chunks/chunk-KPYLELIU.js +86 -0
- package/dist/chunks/chunk-KQH6N42I.js +113 -0
- package/dist/chunks/chunk-KU64AZSM.js +177 -0
- package/dist/chunks/chunk-KU7YEFE5.js +84 -0
- package/dist/chunks/chunk-KVB5NVOT.js +102 -0
- package/dist/chunks/chunk-KW3KTP65.js +63 -0
- package/dist/chunks/chunk-KWB7TX27.js +368 -0
- package/dist/chunks/chunk-KWNF7AYF.js +134 -0
- package/dist/chunks/chunk-KYDCW3SC.js +47 -0
- package/dist/chunks/chunk-KYXLLFYG.js +1403 -0
- package/dist/chunks/chunk-L3GKQWVM.js +180 -0
- package/dist/chunks/chunk-L6P6N7BX.js +217 -0
- package/dist/chunks/chunk-L7LT6MJ7.js +589 -0
- package/dist/chunks/chunk-LANJ542I.js +198 -0
- package/dist/chunks/chunk-LC7WZ3FD.js +33 -0
- package/dist/chunks/chunk-LDDM46CV.js +91 -0
- package/dist/chunks/chunk-LDIM4MFL.js +172 -0
- package/dist/chunks/chunk-LF2XUVYD.js +118 -0
- package/dist/chunks/chunk-LG7IWX4T.js +251 -0
- package/dist/chunks/chunk-LHZKIZ3F.js +33 -0
- package/dist/chunks/chunk-LIBBSPP4.js +140 -0
- package/dist/chunks/chunk-LIOZ543X.js +269 -0
- package/dist/chunks/chunk-LIUNUFAL.js +240 -0
- package/dist/chunks/chunk-LJLJXITE.js +480 -0
- package/dist/chunks/chunk-LKVRT6DC.js +42 -0
- package/dist/chunks/chunk-LNQDXJTP.js +23 -0
- package/dist/chunks/chunk-LORO7UYA.js +77 -0
- package/dist/chunks/chunk-LOS2KFBF.js +23 -0
- package/dist/chunks/chunk-LOTCDVG5.js +71 -0
- package/dist/chunks/chunk-LPTLWUSL.js +95 -0
- package/dist/chunks/chunk-LRIBDNI6.js +150 -0
- package/dist/chunks/chunk-LSJZ7MFN.js +68 -0
- package/dist/chunks/chunk-LTGN66IA.js +93 -0
- package/dist/chunks/chunk-LU2E3UAY.js +210 -0
- package/dist/chunks/chunk-LU3SKMPO.js +336 -0
- package/dist/chunks/chunk-LUTO76BW.js +169 -0
- package/dist/chunks/chunk-LVDM633G.js +167 -0
- package/dist/chunks/chunk-LVEDXTTL.js +142 -0
- package/dist/chunks/chunk-LW5537VB.js +226 -0
- package/dist/chunks/chunk-LZ75CZZJ.js +262 -0
- package/dist/chunks/chunk-LZ7GYW5P.js +52 -0
- package/dist/chunks/chunk-LZJRXAUA.js +410 -0
- package/dist/chunks/chunk-LZTWLE3D.js +86 -0
- package/dist/chunks/chunk-M2VFXNLN.js +104 -0
- package/dist/chunks/chunk-M5YFSIF5.js +147 -0
- package/dist/chunks/chunk-M6KY2SIR.js +293 -0
- package/dist/chunks/chunk-MA2ZRYRY.js +74 -0
- package/dist/chunks/chunk-MBVFFEVE.js +84 -0
- package/dist/chunks/chunk-MD3H66R2.js +157 -0
- package/dist/chunks/chunk-MEHR2GJ4.js +1936 -0
- package/dist/chunks/chunk-METFOYIA.js +363 -0
- package/dist/chunks/chunk-MGFHS6XT.js +172 -0
- package/dist/chunks/chunk-MH4M7DK2.js +60 -0
- package/dist/chunks/chunk-MJTBRGLQ.js +80 -0
- package/dist/chunks/chunk-MKYOFMGR.js +83 -0
- package/dist/chunks/chunk-MLGWV4H6.js +33 -0
- package/dist/chunks/chunk-MLJBI737.js +60 -0
- package/dist/chunks/chunk-MNYRGRUP.js +133 -0
- package/dist/chunks/chunk-MPNUZWOI.js +112 -0
- package/dist/chunks/chunk-MQNSKRLG.js +23 -0
- package/dist/chunks/chunk-MQWPII6U.js +45 -0
- package/dist/chunks/chunk-MSF3VJNP.js +104 -0
- package/dist/chunks/chunk-MSJRMDWS.js +125 -0
- package/dist/chunks/chunk-MTVZF36J.js +220 -0
- package/dist/chunks/chunk-MTWYKKR5.js +108 -0
- package/dist/chunks/chunk-MUEVSSOO.js +33 -0
- package/dist/chunks/chunk-MVF5TJZM.js +265 -0
- package/dist/chunks/chunk-MW2HRILJ.js +290 -0
- package/dist/chunks/chunk-MW3IZCOE.js +93 -0
- package/dist/chunks/chunk-MWFSCCKW.js +390 -0
- package/dist/chunks/chunk-MWLSMI7Q.js +303 -0
- package/dist/chunks/chunk-MYGIQFFB.js +103 -0
- package/dist/chunks/chunk-N3UFSODG.js +194 -0
- package/dist/chunks/chunk-N6CDUQOH.js +260 -0
- package/dist/chunks/chunk-N7DU3GZX.js +86 -0
- package/dist/chunks/chunk-NAZQXDXX.js +118 -0
- package/dist/chunks/chunk-NF57MIWN.js +23 -0
- package/dist/chunks/chunk-NF6JLTT5.js +82 -0
- package/dist/chunks/chunk-NIQ7KBN3.js +70 -0
- package/dist/chunks/chunk-NJDBA3J4.js +150 -0
- package/dist/chunks/chunk-NJRORL2O.js +238 -0
- package/dist/chunks/chunk-NK37GZCN.js +135 -0
- package/dist/chunks/chunk-NKFUVAJF.js +132 -0
- package/dist/chunks/chunk-NKTCS7CI.js +1410 -0
- package/dist/chunks/chunk-NKTGLUEQ.js +215 -0
- package/dist/chunks/chunk-NLGPOR4R.js +97 -0
- package/dist/chunks/chunk-NLIRIRDY.js +92 -0
- package/dist/chunks/chunk-NLLQ5VMS.js +192 -0
- package/dist/chunks/chunk-NLOKKG5C.js +209 -0
- package/dist/chunks/chunk-NLQND3SC.js +1419 -0
- package/dist/chunks/chunk-NLXZIY6X.js +644 -0
- package/dist/chunks/chunk-NLZU6AXZ.js +53 -0
- package/dist/chunks/chunk-NMEBH6XN.js +55 -0
- package/dist/chunks/chunk-NMYE3P34.js +252 -0
- package/dist/chunks/chunk-NNK4P5XK.js +183 -0
- package/dist/chunks/chunk-NNWY64UO.js +250 -0
- package/dist/chunks/chunk-NNXEZKK3.js +52 -0
- package/dist/chunks/chunk-NOD4ISDB.js +239 -0
- package/dist/chunks/chunk-NOEKNSTE.js +33 -0
- package/dist/chunks/chunk-NOLFZWD2.js +45 -0
- package/dist/chunks/chunk-NOV7UMPR.js +161 -0
- package/dist/chunks/chunk-NPBFFATB.js +115 -0
- package/dist/chunks/chunk-NPITAPFC.js +107 -0
- package/dist/chunks/chunk-NRG2UKFP.js +36 -0
- package/dist/chunks/chunk-NRPLKJWD.js +190 -0
- package/dist/chunks/chunk-NTJIQC6Z.js +87 -0
- package/dist/chunks/chunk-NUCFT4QF.js +77 -0
- package/dist/chunks/chunk-NUHVBJWH.js +291 -0
- package/dist/chunks/chunk-NVCY67BH.js +307 -0
- package/dist/chunks/chunk-NWSBBPHR.js +183 -0
- package/dist/chunks/chunk-NYF3FJVG.js +95 -0
- package/dist/chunks/chunk-NYPWUXNA.js +298 -0
- package/dist/chunks/chunk-O2QM4K43.js +151 -0
- package/dist/chunks/chunk-O3R7CFJF.js +299 -0
- package/dist/chunks/chunk-O3TSU37C.js +33 -0
- package/dist/chunks/chunk-O6334PHP.js +198 -0
- package/dist/chunks/chunk-O6WXDM2C.js +163 -0
- package/dist/chunks/chunk-O7CLHN26.js +155 -0
- package/dist/chunks/chunk-OA2ZOIH7.js +163 -0
- package/dist/chunks/chunk-OAEM6AY4.js +202 -0
- package/dist/chunks/chunk-OBAFYBKF.js +182 -0
- package/dist/chunks/chunk-OCXL3BRW.js +149 -0
- package/dist/chunks/chunk-ODVZOUEJ.js +112 -0
- package/dist/chunks/chunk-OEGBNQEL.js +161 -0
- package/dist/chunks/chunk-OGR5KC6Y.js +71 -0
- package/dist/chunks/chunk-OGSIFN5S.js +33 -0
- package/dist/chunks/chunk-OH7W4UGV.js +99 -0
- package/dist/chunks/chunk-OHRMHPJ7.js +160 -0
- package/dist/chunks/chunk-OHXKSO4B.js +102 -0
- package/dist/chunks/chunk-OJXRCKQV.js +324 -0
- package/dist/chunks/chunk-OKV3XZDB.js +304 -0
- package/dist/chunks/chunk-OM5VNLTP.js +174 -0
- package/dist/chunks/chunk-OPE3XGE7.js +247 -0
- package/dist/chunks/chunk-ORNX6EGP.js +39 -0
- package/dist/chunks/chunk-ORQKFX45.js +112 -0
- package/dist/chunks/chunk-OUJANDCQ.js +160 -0
- package/dist/chunks/chunk-OY33MZCM.js +231 -0
- package/dist/chunks/chunk-OY52ZVMY.js +168 -0
- package/dist/chunks/chunk-OYVBF4TI.js +123 -0
- package/dist/chunks/chunk-P2DBXVR6.js +447 -0
- package/dist/chunks/chunk-P2LZHITK.js +114 -0
- package/dist/chunks/chunk-P3QVB36X.js +71 -0
- package/dist/chunks/chunk-P4WQIYOD.js +23 -0
- package/dist/chunks/chunk-P7FXOQ2J.js +232 -0
- package/dist/chunks/chunk-P7ZM7PKG.js +150 -0
- package/dist/chunks/chunk-PA4QKA7L.js +45 -0
- package/dist/chunks/chunk-PANFIQ3K.js +70 -0
- package/dist/chunks/chunk-PCCKC7RL.js +196 -0
- package/dist/chunks/chunk-PCJOM3HO.js +33 -0
- package/dist/chunks/chunk-PDXYL6QM.js +189 -0
- package/dist/chunks/chunk-PFRCNCEI.js +422 -0
- package/dist/chunks/chunk-PFXM6ES7.js +77 -0
- package/dist/chunks/chunk-PH7L4R62.js +23 -0
- package/dist/chunks/chunk-PIKMTYTV.js +174 -0
- package/dist/chunks/chunk-PL7LDBXA.js +45 -0
- package/dist/chunks/chunk-PNCPDRLU.js +106 -0
- package/dist/chunks/chunk-PPB3ZVJB.js +261 -0
- package/dist/chunks/chunk-PPLXLO2O.js +115 -0
- package/dist/chunks/chunk-PPNPFSHY.js +164 -0
- package/dist/chunks/chunk-PPUOYKUJ.js +116 -0
- package/dist/chunks/chunk-PQW2WOU2.js +171 -0
- package/dist/chunks/chunk-PSUTL7IJ.js +191 -0
- package/dist/chunks/chunk-PVEKUGLB.js +170 -0
- package/dist/chunks/chunk-PWD2ZY4W.js +113 -0
- package/dist/chunks/chunk-PX4BOX5Z.js +287 -0
- package/dist/chunks/chunk-PYF2YBOX.js +104 -0
- package/dist/chunks/chunk-PYMXLV6K.js +99 -0
- package/dist/chunks/chunk-PZ6YI55U.js +769 -0
- package/dist/chunks/chunk-PZO7GLEM.js +33 -0
- package/dist/chunks/chunk-Q25DE73T.js +215 -0
- package/dist/chunks/chunk-Q2BMNKAO.js +274 -0
- package/dist/chunks/chunk-Q2QFTJ45.js +95 -0
- package/dist/chunks/chunk-Q2XFLMZS.js +115 -0
- package/dist/chunks/chunk-Q3XW5SAA.js +244 -0
- package/dist/chunks/chunk-Q4CJBJZJ.js +138 -0
- package/dist/chunks/chunk-Q4HJS57H.js +33 -0
- package/dist/chunks/chunk-Q6VXJPYF.js +335 -0
- package/dist/chunks/chunk-QBHONPCB.js +23 -0
- package/dist/chunks/chunk-QBJRRS2P.js +100 -0
- package/dist/chunks/chunk-QBOH2BOU.js +412 -0
- package/dist/chunks/chunk-QDCOCXNH.js +111 -0
- package/dist/chunks/chunk-QDQFVBY6.js +33 -0
- package/dist/chunks/chunk-QECXK2UV.js +182 -0
- package/dist/chunks/chunk-QGTQ5UCX.js +41 -0
- package/dist/chunks/chunk-QHPBIS7D.js +118 -0
- package/dist/chunks/chunk-QHZEOQZ5.js +266 -0
- package/dist/chunks/chunk-QM5J6UF6.js +155 -0
- package/dist/chunks/chunk-QN2HXITU.js +178 -0
- package/dist/chunks/chunk-QOIWKJY6.js +215 -0
- package/dist/chunks/chunk-QPT3QV4Q.js +165 -0
- package/dist/chunks/chunk-QQJA6JOC.js +100 -0
- package/dist/chunks/chunk-QR5HDXSS.js +221 -0
- package/dist/chunks/chunk-QRNRFIQT.js +153 -0
- package/dist/chunks/chunk-QRZONBOP.js +109 -0
- package/dist/chunks/chunk-QTBLWSUJ.js +218 -0
- package/dist/chunks/chunk-QU5EVLG2.js +46 -0
- package/dist/chunks/chunk-QY2YYLO4.js +163 -0
- package/dist/chunks/chunk-QYPQU6Q6.js +45 -0
- package/dist/chunks/chunk-QYZQBRUH.js +121 -0
- package/dist/chunks/chunk-R2HXYHLW.js +242 -0
- package/dist/chunks/chunk-R3XSIJ2K.js +138 -0
- package/dist/chunks/chunk-R3ZPNXHM.js +148 -0
- package/dist/chunks/chunk-R4HDJLD5.js +340 -0
- package/dist/chunks/chunk-R4HKGS4U.js +170 -0
- package/dist/chunks/chunk-R4IK4BVP.js +171 -0
- package/dist/chunks/chunk-R4NVB226.js +1349 -0
- package/dist/chunks/chunk-R53FRVV2.js +258 -0
- package/dist/chunks/chunk-R6MR35O3.js +91 -0
- package/dist/chunks/chunk-RAN2ZVFO.js +261 -0
- package/dist/chunks/chunk-RAXEEWU4.js +106 -0
- package/dist/chunks/chunk-RCRU7H4G.js +436 -0
- package/dist/chunks/chunk-RCZHESAV.js +99 -0
- package/dist/chunks/chunk-RFJUT2MW.js +212 -0
- package/dist/chunks/chunk-RIKHIXNE.js +107 -0
- package/dist/chunks/chunk-RIWSQ5Q5.js +157 -0
- package/dist/chunks/chunk-RMJ2MDDJ.js +225 -0
- package/dist/chunks/chunk-RMJ3O77W.js +246 -0
- package/dist/chunks/chunk-RMJMLAXQ.js +111 -0
- package/dist/chunks/chunk-RMSUDON7.js +77 -0
- package/dist/chunks/chunk-RN2EL4KJ.js +80 -0
- package/dist/chunks/chunk-RNXCKKAV.js +284 -0
- package/dist/chunks/chunk-RO3FWHY6.js +375 -0
- package/dist/chunks/chunk-RPJ7LZG2.js +157 -0
- package/dist/chunks/chunk-RPKBOARY.js +194 -0
- package/dist/chunks/chunk-RPNKKOOL.js +23 -0
- package/dist/chunks/chunk-RR7SNESJ.js +128 -0
- package/dist/chunks/chunk-RR7ZAUAV.js +33 -0
- package/dist/chunks/chunk-RSO3HMJT.js +36 -0
- package/dist/chunks/chunk-RUYKMWXQ.js +251 -0
- package/dist/chunks/chunk-RWEG3O3B.js +78 -0
- package/dist/chunks/chunk-RXAYTMCX.js +478 -0
- package/dist/chunks/chunk-RYBF2AGP.js +340 -0
- package/dist/chunks/chunk-S3UBCF3V.js +249 -0
- package/dist/chunks/chunk-S453TOFB.js +2700 -0
- package/dist/chunks/chunk-S6EDCLBF.js +135 -0
- package/dist/chunks/chunk-S7ALGJHZ.js +163 -0
- package/dist/chunks/chunk-SBQPK5Q6.js +150 -0
- package/dist/chunks/chunk-SBVATPRG.js +626 -0
- package/dist/chunks/chunk-SDJ2FU7A.js +410 -0
- package/dist/chunks/chunk-SENWX263.js +78 -0
- package/dist/chunks/chunk-SFZ6YHCL.js +77 -0
- package/dist/chunks/chunk-SGBWEISH.js +28 -0
- package/dist/chunks/chunk-SHS4HZAT.js +122 -0
- package/dist/chunks/chunk-SJBXKCE2.js +95 -0
- package/dist/chunks/chunk-SLH4IFZ7.js +339 -0
- package/dist/chunks/chunk-SMDWF5AN.js +124 -0
- package/dist/chunks/chunk-SOTL7XQK.js +102 -0
- package/dist/chunks/chunk-SRDJ65M3.js +390 -0
- package/dist/chunks/chunk-SVKLOGS5.js +155 -0
- package/dist/chunks/chunk-SXIMA7ZG.js +115 -0
- package/dist/chunks/chunk-SXU4IRQF.js +151 -0
- package/dist/chunks/chunk-SY4CUS3K.js +194 -0
- package/dist/chunks/chunk-SZDANM4P.js +197 -0
- package/dist/chunks/chunk-SZHQPUMX.js +98 -0
- package/dist/chunks/chunk-T3YKXCJT.js +79 -0
- package/dist/chunks/chunk-T4XV5NZQ.js +23 -0
- package/dist/chunks/chunk-T6HDFH6S.js +79 -0
- package/dist/chunks/chunk-T6NVK35S.js +1136 -0
- package/dist/chunks/chunk-T7ATVPH5.js +23 -0
- package/dist/chunks/chunk-T7B7WORH.js +179 -0
- package/dist/chunks/chunk-TA46C2HC.js +70 -0
- package/dist/chunks/chunk-TAI2NOLD.js +248 -0
- package/dist/chunks/chunk-TAMOHJS2.js +158 -0
- package/dist/chunks/chunk-TAVQB3TU.js +73 -0
- package/dist/chunks/chunk-TBOTGLSN.js +190 -0
- package/dist/chunks/chunk-TBQH364T.js +146 -0
- package/dist/chunks/chunk-TCQRBIZO.js +126 -0
- package/dist/chunks/chunk-TCZOAKVM.js +177 -0
- package/dist/chunks/chunk-TE7RQFKS.js +84 -0
- package/dist/chunks/chunk-TEDUOEHA.js +684 -0
- package/dist/chunks/chunk-THXXEEJU.js +273 -0
- package/dist/chunks/chunk-TJ5QL2RS.js +65 -0
- package/dist/chunks/chunk-TJEXNOET.js +396 -0
- package/dist/chunks/chunk-TJF55OGR.js +23 -0
- package/dist/chunks/chunk-TKKBTBKZ.js +23 -0
- package/dist/chunks/chunk-TLKSVYEF.js +166 -0
- package/dist/chunks/chunk-TLVTKZPZ.js +195 -0
- package/dist/chunks/chunk-TN7HH6BT.js +345 -0
- package/dist/chunks/chunk-TOMH4Z4Z.js +251 -0
- package/dist/chunks/chunk-TOS7MAKE.js +311 -0
- package/dist/chunks/chunk-TP4R6P4Q.js +36 -0
- package/dist/chunks/chunk-TSKPE6GU.js +114 -0
- package/dist/chunks/chunk-TTQT7QFX.js +95 -0
- package/dist/chunks/chunk-TTS5QSDD.js +168 -0
- package/dist/chunks/chunk-TUHBGO7L.js +407 -0
- package/dist/chunks/chunk-TVJATGJK.js +23 -0
- package/dist/chunks/chunk-TVZK74IX.js +192 -0
- package/dist/chunks/chunk-TXEKFUEK.js +10311 -0
- package/dist/chunks/chunk-TYDOXMAN.js +213 -0
- package/dist/chunks/chunk-TZU4GO6S.js +23 -0
- package/dist/chunks/chunk-U2EO6VM5.js +122 -0
- package/dist/chunks/chunk-U454NQVI.js +121 -0
- package/dist/chunks/chunk-U6CDWODF.js +250 -0
- package/dist/chunks/chunk-U7GFQBFP.js +121 -0
- package/dist/chunks/chunk-UAJW7DEG.js +62 -0
- package/dist/chunks/chunk-UFSLMJKR.js +23 -0
- package/dist/chunks/chunk-UGC5I4SH.js +105 -0
- package/dist/chunks/chunk-UH2ON4WX.js +191 -0
- package/dist/chunks/chunk-UHLD5UG6.js +76 -0
- package/dist/chunks/chunk-UJAJSPIH.js +274 -0
- package/dist/chunks/chunk-UJVNKJ5G.js +45 -0
- package/dist/chunks/chunk-ULF3Q6ZY.js +231 -0
- package/dist/chunks/chunk-ULG2JHDO.js +81 -0
- package/dist/chunks/chunk-UMBRWAS4.js +105 -0
- package/dist/chunks/chunk-UNAHWJOW.js +45 -0
- package/dist/chunks/chunk-UNXO33DN.js +152 -0
- package/dist/chunks/chunk-UPMY6FVL.js +139 -0
- package/dist/chunks/chunk-UQJ36GWB.js +626 -0
- package/dist/chunks/chunk-URH563AK.js +200 -0
- package/dist/chunks/chunk-URMTMZOX.js +118 -0
- package/dist/chunks/chunk-USA3EICO.js +117 -0
- package/dist/chunks/chunk-USCSW4MX.js +135 -0
- package/dist/chunks/chunk-UU5LOBYD.js +128 -0
- package/dist/chunks/chunk-UU6UZT73.js +69 -0
- package/dist/chunks/chunk-UUTAGS65.js +49 -0
- package/dist/chunks/chunk-UVOY4WUR.js +224 -0
- package/dist/chunks/chunk-UWUM3UPN.js +23 -0
- package/dist/chunks/chunk-UXO7ZTB7.js +344 -0
- package/dist/chunks/chunk-UXTN76K7.js +147 -0
- package/dist/chunks/chunk-UZI6NNA3.js +163 -0
- package/dist/chunks/chunk-V3UUYGNS.js +100 -0
- package/dist/chunks/chunk-V4GIC2KA.js +54 -0
- package/dist/chunks/chunk-V4Z75IE3.js +23 -0
- package/dist/chunks/chunk-V5DRS4OR.js +125 -0
- package/dist/chunks/chunk-V7VBVZKR.js +454 -0
- package/dist/chunks/chunk-VAG4KH5H.js +156 -0
- package/dist/chunks/chunk-VBT2NTAB.js +108 -0
- package/dist/chunks/chunk-VCW4CNE5.js +382 -0
- package/dist/chunks/chunk-VCYBKOBL.js +41 -0
- package/dist/chunks/chunk-VDMJBQ6V.js +95 -0
- package/dist/chunks/chunk-VDNDBQHM.js +158 -0
- package/dist/chunks/chunk-VEK3LOA4.js +79 -0
- package/dist/chunks/chunk-VF2WGBT3.js +145 -0
- package/dist/chunks/chunk-VFXSMYDO.js +345 -0
- package/dist/chunks/chunk-VIYBKBO4.js +282 -0
- package/dist/chunks/chunk-VJEZEWAT.js +76 -0
- package/dist/chunks/chunk-VJQ5DPYD.js +127 -0
- package/dist/chunks/chunk-VLIRKZER.js +163 -0
- package/dist/chunks/chunk-VMM7GAUK.js +107 -0
- package/dist/chunks/chunk-VMUJYIOJ.js +290 -0
- package/dist/chunks/chunk-VPL2T6A2.js +206 -0
- package/dist/chunks/chunk-VPNNRDRU.js +237 -0
- package/dist/chunks/chunk-VRQK3OLP.js +117 -0
- package/dist/chunks/chunk-VSV5AQLS.js +33 -0
- package/dist/chunks/chunk-VSWHK74V.js +181 -0
- package/dist/chunks/chunk-VTC6B654.js +251 -0
- package/dist/chunks/chunk-VTL6A4T2.js +33 -0
- package/dist/chunks/chunk-VU6E6AIA.js +209 -0
- package/dist/chunks/chunk-VUIF3X3Q.js +108 -0
- package/dist/chunks/chunk-VUZZNAMQ.js +63 -0
- package/dist/chunks/chunk-VVFIVHZC.js +84 -0
- package/dist/chunks/chunk-VVWMNLAH.js +99 -0
- package/dist/chunks/chunk-VWQIZDTO.js +141 -0
- package/dist/chunks/chunk-VXFPA76Y.js +184 -0
- package/dist/chunks/chunk-W5L7EY22.js +149 -0
- package/dist/chunks/chunk-W7ZFQHJI.js +102 -0
- package/dist/chunks/chunk-WCRG6CHL.js +263 -0
- package/dist/chunks/chunk-WEESOL5Q.js +45 -0
- package/dist/chunks/chunk-WER6I57S.js +177 -0
- package/dist/chunks/chunk-WETAS6U3.js +143 -0
- package/dist/chunks/chunk-WGKIOE6K.js +209 -0
- package/dist/chunks/chunk-WGUCGU2H.js +103 -0
- package/dist/chunks/chunk-WILGSJXW.js +64 -0
- package/dist/chunks/chunk-WJ3UK4SP.js +185 -0
- package/dist/chunks/chunk-WJRJTRU5.js +130 -0
- package/dist/chunks/chunk-WKFITMY4.js +122 -0
- package/dist/chunks/chunk-WKFVKECK.js +161 -0
- package/dist/chunks/chunk-WM2ATEBS.js +270 -0
- package/dist/chunks/chunk-WMNRT7ZQ.js +146 -0
- package/dist/chunks/chunk-WMPT76QX.js +96 -0
- package/dist/chunks/chunk-WNOWMNBQ.js +277 -0
- package/dist/chunks/chunk-WP272KYV.js +130 -0
- package/dist/chunks/chunk-WRGCLFSK.js +283 -0
- package/dist/chunks/chunk-WTOK3NHJ.js +220 -0
- package/dist/chunks/chunk-WV44GFFF.js +153 -0
- package/dist/chunks/chunk-WVCBXOQZ.js +128 -0
- package/dist/chunks/chunk-WWBSU6SP.js +146 -0
- package/dist/chunks/chunk-WX3QKXTU.js +33 -0
- package/dist/chunks/chunk-WZZV2ZRQ.js +206 -0
- package/dist/chunks/chunk-X2KCQ3C2.js +39 -0
- package/dist/chunks/chunk-X37JS36H.js +224 -0
- package/dist/chunks/chunk-X52N2M6L.js +78 -0
- package/dist/chunks/chunk-X5MUBTFP.js +70 -0
- package/dist/chunks/chunk-X5WIQNQE.js +53 -0
- package/dist/chunks/chunk-XAOPT2V7.js +217 -0
- package/dist/chunks/chunk-XE23WLXG.js +198 -0
- package/dist/chunks/chunk-XFOLT62U.js +242 -0
- package/dist/chunks/chunk-XGEH3TYT.js +307 -0
- package/dist/chunks/chunk-XIYKYCOJ.js +176 -0
- package/dist/chunks/chunk-XJ25TUQI.js +391 -0
- package/dist/chunks/chunk-XKMVOIMO.js +112 -0
- package/dist/chunks/chunk-XKPFCG7R.js +279 -0
- package/dist/chunks/chunk-XKUENI7A.js +48 -0
- package/dist/chunks/chunk-XL3D3SO7.js +164 -0
- package/dist/chunks/chunk-XMUWHWBW.js +934 -0
- package/dist/chunks/chunk-XMXK5Y4U.js +95 -0
- package/dist/chunks/chunk-XOVOFC2Y.js +156 -0
- package/dist/chunks/chunk-XQOQIRC7.js +23 -0
- package/dist/chunks/chunk-XQRA6Q5O.js +36 -0
- package/dist/chunks/chunk-XQX7JA2Q.js +142 -0
- package/dist/chunks/chunk-XTP3WV56.js +94 -0
- package/dist/chunks/chunk-XU732JDO.js +468 -0
- package/dist/chunks/chunk-XUOUHEA7.js +33 -0
- package/dist/chunks/chunk-XWWV53NR.js +343 -0
- package/dist/chunks/chunk-XX5ZFLMJ.js +129 -0
- package/dist/chunks/chunk-XXNU3DQY.js +87 -0
- package/dist/chunks/chunk-Y4EJAO57.js +156 -0
- package/dist/chunks/chunk-Y5LMDXO4.js +166 -0
- package/dist/chunks/chunk-Y5PHHDCC.js +72 -0
- package/dist/chunks/chunk-Y6ONU6MV.js +304 -0
- package/dist/chunks/chunk-YABWOAQO.js +351 -0
- package/dist/chunks/chunk-YAFVSAV7.js +129 -0
- package/dist/chunks/chunk-YAQNRW43.js +270 -0
- package/dist/chunks/chunk-YAYRSSOH.js +102 -0
- package/dist/chunks/chunk-YB7R7DAR.js +90 -0
- package/dist/chunks/chunk-YBKBYTTZ.js +55 -0
- package/dist/chunks/chunk-YCJSF7OW.js +304 -0
- package/dist/chunks/chunk-YDPE2EWG.js +100 -0
- package/dist/chunks/chunk-YFNETVBY.js +224 -0
- package/dist/chunks/chunk-YGWXFJ55.js +75 -0
- package/dist/chunks/chunk-YHAFXILP.js +150 -0
- package/dist/chunks/chunk-YHUBXLWS.js +30 -0
- package/dist/chunks/chunk-YJ2VA7ZM.js +187 -0
- package/dist/chunks/chunk-YJDPAL24.js +106 -0
- package/dist/chunks/chunk-YKGJXCVN.js +61 -0
- package/dist/chunks/chunk-YKXBFYST.js +146 -0
- package/dist/chunks/chunk-YN3GLG4J.js +94 -0
- package/dist/chunks/chunk-YNWJOO6G.js +329 -0
- package/dist/chunks/chunk-YOJWQNIS.js +101 -0
- package/dist/chunks/chunk-YT5FK6PA.js +83 -0
- package/dist/chunks/chunk-YUPBT47I.js +86 -0
- package/dist/chunks/chunk-YUTRCGNR.js +57 -0
- package/dist/chunks/chunk-YWDYEBNY.js +141 -0
- package/dist/chunks/chunk-YWQJXUS6.js +238 -0
- package/dist/chunks/chunk-YWVPLFR2.js +165 -0
- package/dist/chunks/chunk-YXN5HOQX.js +112 -0
- package/dist/chunks/chunk-YXXHLAM5.js +136 -0
- package/dist/chunks/chunk-YY46Z2DS.js +33 -0
- package/dist/chunks/chunk-YYF54SXN.js +98 -0
- package/dist/chunks/chunk-Z53B7NL7.js +305 -0
- package/dist/chunks/chunk-Z625A5QV.js +30 -0
- package/dist/chunks/chunk-Z7LWLMYB.js +225 -0
- package/dist/chunks/chunk-ZAUCHZZN.js +1469 -0
- package/dist/chunks/chunk-ZBBVGQI6.js +1393 -0
- package/dist/chunks/chunk-ZC4CE3NS.js +154 -0
- package/dist/chunks/chunk-ZDDCMAM3.js +45 -0
- package/dist/chunks/chunk-ZDKPZSVT.js +93 -0
- package/dist/chunks/chunk-ZESU46BC.js +76 -0
- package/dist/chunks/chunk-ZG3AJLDF.js +257 -0
- package/dist/chunks/chunk-ZGYXIUEX.js +130 -0
- package/dist/chunks/chunk-ZH3NATVN.js +191 -0
- package/dist/chunks/chunk-ZNVNPSAA.js +261 -0
- package/dist/chunks/chunk-ZPK6XAJY.js +42 -0
- package/dist/chunks/chunk-ZPKU7W5B.js +110 -0
- package/dist/chunks/chunk-ZQVBWF7C.js +90 -0
- package/dist/chunks/chunk-ZRMCCN7M.js +204 -0
- package/dist/chunks/chunk-ZSGR6KUN.js +111 -0
- package/dist/chunks/chunk-ZSUYD6TN.js +358 -0
- package/dist/chunks/chunk-ZSX46EEV.js +92 -0
- package/dist/chunks/chunk-ZUAIECGZ.js +101 -0
- package/dist/chunks/chunk-ZVXZL3CK.js +120 -0
- package/dist/chunks/client-72ZFWAFV.js +31 -0
- package/dist/chunks/client-N5HTFSII.js +168 -0
- package/dist/chunks/client-QV5XYYCT.js +47 -0
- package/dist/chunks/client-actions-3X7PCEC6.js +168 -0
- package/dist/chunks/components-XPBO2ZM5.js +76 -0
- package/dist/chunks/dangerous-LD5YGW2I.js +123 -0
- package/dist/chunks/delete-current-file-DBXJ3X5W.js +162 -0
- package/dist/chunks/document-library-5L7U746I.js +64 -0
- package/dist/chunks/editor-seams-TOAYXI2M.js +182 -0
- package/dist/chunks/editor-store-LZFNEHYB.js +147 -0
- package/dist/chunks/export-PCMFNMPH.js +67 -0
- package/dist/chunks/export-fills-2GW6XQUY.js +34 -0
- package/dist/chunks/export-watermark-M3URLKD7.js +156 -0
- package/dist/chunks/eyedropper-4DFRX5AG.js +354 -0
- package/dist/chunks/generate-media-APYNWFHP.js +255 -0
- package/dist/chunks/headless-VGAGOBCR.js +213 -0
- package/dist/chunks/host-HE3UQKE3.js +244 -0
- package/dist/chunks/host-KJT6LWVX.js +181 -0
- package/dist/chunks/import-EKGX23DQ.js +702 -0
- package/dist/chunks/import-merge-J7A3AYOA.js +39 -0
- package/dist/chunks/instances-QWMF2TJC.js +77 -0
- package/dist/chunks/integrations-SGZBIQUU.js +125 -0
- package/dist/chunks/invariants-ZMWUNB6Y.js +65 -0
- package/dist/chunks/kit-modules-4R45BDA6.js +18 -0
- package/dist/chunks/libraries-7AF3R3GJ.js +310 -0
- package/dist/chunks/library-previews-HZ23QWBD.js +206 -0
- package/dist/chunks/live-K2YZRNKK.js +321 -0
- package/dist/chunks/lottie-3WRK66BF.js +89 -0
- package/dist/chunks/media-tool-VBUUZZIH.js +236 -0
- package/dist/chunks/new-file-QSMLBVRU.js +139 -0
- package/dist/chunks/next-commerce-V2QELI45.js +72 -0
- package/dist/chunks/page-thumbnails-JDRMABIO.js +137 -0
- package/dist/chunks/pdf-JMVC2YCW.js +1216 -0
- package/dist/chunks/pdf-import-S5HV53XM.js +370 -0
- package/dist/chunks/plan-SHFGYPLK.js +85 -0
- package/dist/chunks/player-check-CS4GP43O.js +117 -0
- package/dist/chunks/plugin-WKKOD3IW.js +130 -0
- package/dist/chunks/plugin-import-GALNL6SB.js +690 -0
- package/dist/chunks/pptx-NJXAPM5Q.js +307 -0
- package/dist/chunks/presence-MSRD4SIK.js +136 -0
- package/dist/chunks/preview-media-OE7V43VS.js +129 -0
- package/dist/chunks/project-JTHWH3VF.js +1599 -0
- package/dist/chunks/publish-site-25MGB4QH.js +166 -0
- package/dist/chunks/publish-store-2JZEJLSB.js +99 -0
- package/dist/chunks/raster-actions-2LTYHHOZ.js +232 -0
- package/dist/chunks/reference-images-ZXD5LJRJ.js +62 -0
- package/dist/chunks/resolvers-YI7NB6LM.js +149 -0
- package/dist/chunks/review-kits-QYTVA6FV.js +41 -0
- package/dist/chunks/runner-6GHGTHVR.js +3545 -0
- package/dist/chunks/shader-preview-XYN64YYJ.js +746 -0
- package/dist/chunks/sound-66ZDPMBC.js +54 -0
- package/dist/chunks/store-BEDJRBIQ.js +233 -0
- package/dist/chunks/storefront-QQTNLF3Q.js +334 -0
- package/dist/chunks/storefront-prepare-QARBKWYY.js +33 -0
- package/dist/chunks/stress-document-N3WDULNZ.js +126 -0
- package/dist/chunks/svg-export-PLF3UQ4X.js +82 -0
- package/dist/chunks/svg-place-3T4HUTRB.js +44 -0
- package/dist/chunks/sync-A2YT72KR.js +161 -0
- package/dist/chunks/tabs-JICBGZ27.js +319 -0
- package/dist/chunks/team-6ZMFTJZK.js +47 -0
- package/dist/chunks/team-client-TFMDDV25.js +158 -0
- package/dist/chunks/templates-BVZHD4PF.js +183 -0
- package/dist/chunks/tools-5AQKFJ2D.js +37 -0
- package/dist/chunks/tree-5DKDQLDR.js +82 -0
- package/dist/chunks/ui-commands-YL4Q5VWA.js +190 -0
- package/dist/chunks/use-TDCWY3IX.js +49 -0
- package/dist/chunks/versions-WFHFBJP2.js +319 -0
- package/dist/chunks/video-DJRU4XPS.js +82 -0
- package/dist/chunks/web-BQWY6BIF.js +184 -0
- package/dist/index.js +44 -44
- package/dist/lib/document/instances.js +4 -4
- package/dist/lib/document/libraries.js +6 -6
- package/dist/lib/document/photo-frames.js +6 -6
- package/dist/lib/document/print-pages.js +5 -5
- package/dist/lib/document/scene-graph.js +5 -5
- package/dist/lib/document/scene3d.js +2 -2
- package/dist/lib/document/transform3d.js +1 -1
- package/dist/lib/editor/prototype-connect.js +6 -6
- package/dist/lib/marketplace/motion.js +9 -9
- package/dist/lib/motion/audio-clips.js +6 -6
- package/dist/lib/motion/author.js +10 -10
- package/dist/lib/motion/composition.js +6 -6
- package/dist/lib/motion/key-selection.js +7 -7
- package/dist/lib/motion/pose.js +13 -13
- package/dist/lib/motion/present.js +15 -15
- package/dist/lib/motion/presets.js +11 -11
- package/dist/lib/motion/properties.js +3 -3
- package/dist/lib/motion/shader-audio.js +9 -7
- package/dist/lib/motion/spatial.js +7 -7
- package/dist/lib/motion/text-animators.js +7 -7
- package/dist/lib/slides/slides.js +6 -6
- package/dist/lib/templates/apply.js +7 -7
- package/dist/lib/templates/capabilities.js +9 -9
- package/dist/lib/templates/capture.js +8 -8
- package/dist/lib/templates/finish.js +20 -20
- package/dist/lib/templates/layout.js +6 -6
- package/dist/lib/templates/resize.js +7 -7
- package/dist/migrations/board-meta.js +9 -9
- package/dist/migrations/brand-media.js +20 -20
- package/dist/migrations/brand-slots.js +6 -6
- package/dist/migrations/hug-content.js +7 -7
- package/dist/migrations/index.js +41 -41
- package/dist/migrations/min-type.js +9 -9
- package/dist/migrations/print-fixes.js +7 -7
- package/dist/migrations/text-on-dark.js +8 -8
- package/dist/migrations/timeline-facets.js +23 -23
- package/dist/migrations/violet-ink.js +8 -8
- package/dist/templates/anime/character.js +33 -33
- package/dist/templates/anime/duel.js +36 -36
- package/dist/templates/anime/morning.js +36 -36
- package/dist/templates/anime/rain.js +36 -36
- package/dist/templates/anime/shared.js +34 -34
- package/dist/templates/anime/starlight.js +36 -36
- package/dist/templates/anime/titan.js +36 -36
- package/dist/templates/app/festival-presale-electronic-ticket.js +38 -38
- package/dist/templates/app/festival-presale-family-ticket.js +38 -38
- package/dist/templates/app/festival-presale-folk-ticket.js +38 -38
- package/dist/templates/app/festival-presale-food-ticket.js +38 -38
- package/dist/templates/app/festival-presale-jazz-ticket.js +38 -38
- package/dist/templates/app/festival-presale-street-ticket.js +39 -39
- package/dist/templates/app/music/build.js +21 -21
- package/dist/templates/app/music/world.js +11 -11
- package/dist/templates/app/music-grove.js +34 -34
- package/dist/templates/app/music-nightline.js +34 -34
- package/dist/templates/app/music-orbit.js +34 -34
- package/dist/templates/app/music-undertow.js +34 -34
- package/dist/templates/app/onboarding-carousel.js +32 -32
- package/dist/templates/app/saas-store-paywall.js +32 -32
- package/dist/templates/app/splash.js +32 -32
- package/dist/templates/app/success-confetti.js +32 -32
- package/dist/templates/app/tour-tickets-june-ticket.js +32 -32
- package/dist/templates/app/tour-tickets-tide-ticket.js +32 -32
- package/dist/templates/app/tour-tickets-wreck-ticket.js +32 -32
- package/dist/templates/build.js +22 -22
- package/dist/templates/cards/index.js +34 -34
- package/dist/templates/cards/shared.js +32 -32
- package/dist/templates/cards/themes.js +33 -33
- package/dist/templates/count.js +12 -12
- package/dist/templates/data/bars.js +32 -32
- package/dist/templates/data/countdown-story.js +32 -32
- package/dist/templates/data/counters.js +32 -32
- package/dist/templates/data/donut.js +32 -32
- package/dist/templates/data/line.js +32 -32
- package/dist/templates/data/year-in-review.js +32 -32
- package/dist/templates/effects/glass-intro.js +32 -32
- package/dist/templates/effects/glass-promo.js +32 -32
- package/dist/templates/effects/grain-story.js +32 -32
- package/dist/templates/effects/grid-intro.js +32 -32
- package/dist/templates/effects/halftone-story.js +32 -32
- package/dist/templates/effects/mesh-story.js +32 -32
- package/dist/templates/effects/shader-title.js +32 -32
- package/dist/templates/email/april-fools-header.js +34 -34
- package/dist/templates/email/art-deco-invitation.js +34 -34
- package/dist/templates/email/autumn-harvest-header.js +34 -34
- package/dist/templates/email/back-to-school-header.js +34 -34
- package/dist/templates/email/black-friday-coupons-header.js +34 -34
- package/dist/templates/email/black-friday-header.js +33 -33
- package/dist/templates/email/black-friday-neon-header.js +36 -36
- package/dist/templates/email/black-friday-scratch-header.js +34 -34
- package/dist/templates/email/black-friday-ticker-header.js +34 -34
- package/dist/templates/email/broadsheet-weekly-edition-header.js +33 -33
- package/dist/templates/email/claymation-header.js +35 -35
- package/dist/templates/email/countdown-gif.js +33 -33
- package/dist/templates/email/cyberpunk-header.js +36 -36
- package/dist/templates/email/diwali-header.js +35 -35
- package/dist/templates/email/earth-day-header.js +35 -35
- package/dist/templates/email/festival-presale-electronic-header.js +38 -38
- package/dist/templates/email/festival-presale-family-header.js +38 -38
- package/dist/templates/email/festival-presale-folk-header.js +38 -38
- package/dist/templates/email/festival-presale-food-header.js +38 -38
- package/dist/templates/email/festival-presale-jazz-header.js +38 -38
- package/dist/templates/email/festival-presale-street-header.js +39 -39
- package/dist/templates/email/gothic-header.js +33 -33
- package/dist/templates/email/halloween-header.js +35 -35
- package/dist/templates/email/header-launch.js +33 -33
- package/dist/templates/email/header-newsletter.js +33 -33
- package/dist/templates/email/header-sale.js +33 -33
- package/dist/templates/email/lunar-new-year-header.js +35 -35
- package/dist/templates/email/manuscript-chronicle-header.js +34 -34
- package/dist/templates/email/new-year-header.js +35 -35
- package/dist/templates/email/noir-header.js +36 -36
- package/dist/templates/email/psychedelic-header.js +35 -35
- package/dist/templates/email/riso-zine-changelog-header.js +36 -36
- package/dist/templates/email/saas-mail-changelog.js +35 -35
- package/dist/templates/email/saas-mail-day-one.js +35 -35
- package/dist/templates/email/saas-mail-day-three.js +34 -34
- package/dist/templates/email/saas-mail-launch.js +34 -34
- package/dist/templates/email/saas-mail-payment-failed.js +34 -34
- package/dist/templates/email/saas-mail-sign-in-code.js +34 -34
- package/dist/templates/email/saas-mail-trial-ending.js +34 -34
- package/dist/templates/email/saas-mail-waitlist.js +34 -34
- package/dist/templates/email/shared.js +20 -20
- package/dist/templates/email/singles-day-header.js +35 -35
- package/dist/templates/email/solarpunk-header.js +35 -35
- package/dist/templates/email/space-opera-header.js +35 -35
- package/dist/templates/email/spring-bloom-header.js +35 -35
- package/dist/templates/email/style-bento-header.js +34 -34
- package/dist/templates/email/style-brutalist-header.js +34 -34
- package/dist/templates/email/style-dark-header.js +34 -34
- package/dist/templates/email/style-data-header.js +34 -34
- package/dist/templates/email/style-editorial-header.js +34 -34
- package/dist/templates/email/style-glass-header.js +35 -35
- package/dist/templates/email/style-gradient-header.js +34 -34
- package/dist/templates/email/style-maximal-header.js +34 -34
- package/dist/templates/email/style-pastel-header.js +35 -35
- package/dist/templates/email/style-sketch-header.js +35 -35
- package/dist/templates/email/style-swiss-header.js +34 -34
- package/dist/templates/email/style-terminal-header.js +36 -36
- package/dist/templates/email/summer-heatwave-header.js +35 -35
- package/dist/templates/email/tour-tickets-june-header.js +33 -33
- package/dist/templates/email/tour-tickets-tide-header.js +33 -33
- package/dist/templates/email/tour-tickets-wreck-header.js +33 -33
- package/dist/templates/email/transit-map-service-update.js +35 -35
- package/dist/templates/email/ukiyo-e-greeting-header.js +35 -35
- package/dist/templates/email/valentines-header.js +35 -35
- package/dist/templates/email/winter-cosy-header.js +36 -36
- package/dist/templates/email/winter-holidays-header.js +36 -36
- package/dist/templates/game/blossom-bash-puzzle.js +33 -33
- package/dist/templates/game/deckbound-roguelike.js +33 -33
- package/dist/templates/game/emberfall-rpg.js +33 -33
- package/dist/templates/game/hearthmoor-farm.js +33 -33
- package/dist/templates/game/index.js +46 -46
- package/dist/templates/game/iron-lotus-fighter.js +33 -33
- package/dist/templates/game/ironroot-rts.js +33 -33
- package/dist/templates/game/mossy-hollow-platformer.js +35 -35
- package/dist/templates/game/neon-apex-racing.js +33 -33
- package/dist/templates/game/platformer.js +34 -34
- package/dist/templates/game/pulse-riot-rhythm.js +33 -33
- package/dist/templates/game/shared.js +20 -20
- package/dist/templates/game/sprout-quest-pixel-platformer.js +35 -35
- package/dist/templates/game/vanta-fps.js +33 -33
- package/dist/templates/index.js +926 -926
- package/dist/templates/kinetic/letters.js +32 -32
- package/dist/templates/kinetic/lines.js +32 -32
- package/dist/templates/kinetic/typewriter.js +32 -32
- package/dist/templates/kinetic/word-swap.js +32 -32
- package/dist/templates/kinetic/words.js +32 -32
- package/dist/templates/kit.js +19 -19
- package/dist/templates/libraries/audio-reactive.js +33 -33
- package/dist/templates/libraries/loaders.js +32 -32
- package/dist/templates/libraries/micro-interactions.js +32 -32
- package/dist/templates/libraries/motion-essentials.js +32 -32
- package/dist/templates/libraries/toasts.js +32 -32
- package/dist/templates/lottie/ai.js +33 -33
- package/dist/templates/lottie/climate.js +33 -33
- package/dist/templates/lottie/commerce.js +33 -33
- package/dist/templates/lottie/education.js +33 -33
- package/dist/templates/lottie/fintech.js +33 -33
- package/dist/templates/lottie/food.js +33 -33
- package/dist/templates/lottie/health.js +33 -33
- package/dist/templates/lottie/index.js +57 -57
- package/dist/templates/lottie/lottie-kit.js +32 -32
- package/dist/templates/lottie/realestate.js +33 -33
- package/dist/templates/lottie/saas-ui-checklist.js +34 -34
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +34 -34
- package/dist/templates/lottie/saas-ui-empty-data.js +34 -34
- package/dist/templates/lottie/saas-ui-empty-search.js +34 -34
- package/dist/templates/lottie/saas-ui-error-retry.js +34 -34
- package/dist/templates/lottie/saas-ui-file-upload.js +34 -34
- package/dist/templates/lottie/saas-ui-streaming-answer.js +34 -34
- package/dist/templates/lottie/saas-ui-sync-connected.js +34 -34
- package/dist/templates/lottie/saas-ui-trial-timeline.js +34 -34
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +34 -34
- package/dist/templates/lottie/saas-ui.js +44 -44
- package/dist/templates/lottie/saas.js +33 -33
- package/dist/templates/lottie/security.js +33 -33
- package/dist/templates/lottie/techniques.js +33 -33
- package/dist/templates/lottie/travel.js +33 -33
- package/dist/templates/motion/ai-trailer/index.js +32 -32
- package/dist/templates/motion/ambient-loop.js +32 -32
- package/dist/templates/motion/app-icon-sting.js +32 -32
- package/dist/templates/motion/april-fools-infomercial-reel.js +34 -34
- package/dist/templates/motion/arcade-high-score.js +35 -35
- package/dist/templates/motion/art-deco-grand-opening.js +33 -33
- package/dist/templates/motion/autumn-harvest-year-reel.js +33 -33
- package/dist/templates/motion/back-to-school-timetable-reel.js +33 -33
- package/dist/templates/motion/bauhaus-launch-reel.js +33 -33
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +34 -34
- package/dist/templates/motion/black-friday-coupons-last-day.js +34 -34
- package/dist/templates/motion/black-friday-deal-drop.js +32 -32
- package/dist/templates/motion/black-friday-neon-deal-reel.js +35 -35
- package/dist/templates/motion/black-friday-neon-last-day.js +35 -35
- package/dist/templates/motion/black-friday-scratch-countdown.js +33 -33
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +33 -33
- package/dist/templates/motion/black-friday-scratch-last-day.js +33 -33
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +33 -33
- package/dist/templates/motion/black-friday-ticker-last-call.js +34 -34
- package/dist/templates/motion/blueprint-rev-b-reel.js +34 -34
- package/dist/templates/motion/broadsheet-launch-reel.js +32 -32
- package/dist/templates/motion/broadsheet-milestone-post.js +33 -33
- package/dist/templates/motion/claymation-launch-reel.js +34 -34
- package/dist/templates/motion/comic-book-issue-reel.js +35 -35
- package/dist/templates/motion/countdown.js +32 -32
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +35 -35
- package/dist/templates/motion/departure-board-reel.js +33 -33
- package/dist/templates/motion/diwali-lamps-reel.js +34 -34
- package/dist/templates/motion/earth-day-footprint-reel.js +34 -34
- package/dist/templates/motion/earth-day-pledge-post.js +34 -34
- package/dist/templates/motion/festival-presale-electronic-countdown.js +38 -38
- package/dist/templates/motion/festival-presale-electronic-lineup.js +38 -38
- package/dist/templates/motion/festival-presale-electronic-reel.js +38 -38
- package/dist/templates/motion/festival-presale-electronic-tier.js +38 -38
- package/dist/templates/motion/festival-presale-family-countdown.js +38 -38
- package/dist/templates/motion/festival-presale-family-lineup.js +38 -38
- package/dist/templates/motion/festival-presale-family-reel.js +38 -38
- package/dist/templates/motion/festival-presale-family-tier.js +38 -38
- package/dist/templates/motion/festival-presale-folk-countdown.js +38 -38
- package/dist/templates/motion/festival-presale-folk-lineup.js +38 -38
- package/dist/templates/motion/festival-presale-folk-reel.js +38 -38
- package/dist/templates/motion/festival-presale-folk-tier.js +38 -38
- package/dist/templates/motion/festival-presale-food-countdown.js +38 -38
- package/dist/templates/motion/festival-presale-food-lineup.js +38 -38
- package/dist/templates/motion/festival-presale-food-reel.js +38 -38
- package/dist/templates/motion/festival-presale-food-tier.js +38 -38
- package/dist/templates/motion/festival-presale-jazz-countdown.js +38 -38
- package/dist/templates/motion/festival-presale-jazz-lineup.js +38 -38
- package/dist/templates/motion/festival-presale-jazz-reel.js +38 -38
- package/dist/templates/motion/festival-presale-jazz-tier.js +38 -38
- package/dist/templates/motion/festival-presale-street-countdown.js +39 -39
- package/dist/templates/motion/festival-presale-street-lineup.js +39 -39
- package/dist/templates/motion/festival-presale-street-reel.js +39 -39
- package/dist/templates/motion/festival-presale-street-tier.js +39 -39
- package/dist/templates/motion/gothic-launch-reel.js +32 -32
- package/dist/templates/motion/halloween-graveyard-reel.js +34 -34
- package/dist/templates/motion/instagram-promo.js +32 -32
- package/dist/templates/motion/kinetic-headline.js +32 -32
- package/dist/templates/motion/landing-hero/index.js +35 -35
- package/dist/templates/motion/launch-trailer/document.js +926 -926
- package/dist/templates/motion/launch-trailer/index.js +35 -35
- package/dist/templates/motion/launch-trailer/scenes.js +34 -34
- package/dist/templates/motion/logo-reveal.js +32 -32
- package/dist/templates/motion/lower-third.js +32 -32
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +34 -34
- package/dist/templates/motion/machined-trailer.js +34 -34
- package/dist/templates/motion/manuscript-launch-reel.js +33 -33
- package/dist/templates/motion/new-year-ball-drop-reel.js +34 -34
- package/dist/templates/motion/noir-case-reel.js +35 -35
- package/dist/templates/motion/pitch-title.js +32 -32
- package/dist/templates/motion/psychedelic-gig-reel.js +34 -34
- package/dist/templates/motion/riso-zine-launch-reel.js +35 -35
- package/dist/templates/motion/saas-ai-prompt.js +33 -33
- package/dist/templates/motion/saas-before-after.js +33 -33
- package/dist/templates/motion/saas-changelog-drop.js +33 -33
- package/dist/templates/motion/saas-film-webinar-opener.js +33 -33
- package/dist/templates/motion/saas-hook-features.js +33 -33
- package/dist/templates/motion/saas-mrr-milestone.js +33 -33
- package/dist/templates/motion/saas-screen-demo.js +34 -34
- package/dist/templates/motion/saas-store-install-ad.js +33 -33
- package/dist/templates/motion/saas-testimonial.js +33 -33
- package/dist/templates/motion/saas-vs-comparison.js +33 -33
- package/dist/templates/motion/singles-day-flash-post.js +34 -34
- package/dist/templates/motion/singles-day-live-reel.js +34 -34
- package/dist/templates/motion/smooth-loop.js +32 -32
- package/dist/templates/motion/solarpunk-rooftop-reel.js +34 -34
- package/dist/templates/motion/space-opera-countdown-reel.js +34 -34
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +34 -34
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +34 -34
- package/dist/templates/motion/stat-pop.js +32 -32
- package/dist/templates/motion/style-bento-feature-demo.js +35 -35
- package/dist/templates/motion/style-bento-launch-reel.js +34 -34
- package/dist/templates/motion/style-brutalist-feature-demo.js +36 -36
- package/dist/templates/motion/style-brutalist-launch-reel.js +35 -35
- package/dist/templates/motion/style-dark-feature-demo.js +34 -34
- package/dist/templates/motion/style-dark-launch-reel.js +35 -35
- package/dist/templates/motion/style-data-feature-demo.js +35 -35
- package/dist/templates/motion/style-data-launch-reel.js +35 -35
- package/dist/templates/motion/style-editorial-feature-demo.js +35 -35
- package/dist/templates/motion/style-editorial-launch-reel.js +34 -34
- package/dist/templates/motion/style-glass-feature-demo.js +36 -36
- package/dist/templates/motion/style-glass-launch-reel.js +35 -35
- package/dist/templates/motion/style-gradient-feature-demo.js +35 -35
- package/dist/templates/motion/style-gradient-launch-reel.js +34 -34
- package/dist/templates/motion/style-maximal-beat-cut.js +34 -34
- package/dist/templates/motion/style-maximal-feature-demo.js +35 -35
- package/dist/templates/motion/style-maximal-launch-reel.js +34 -34
- package/dist/templates/motion/style-pastel-feature-demo.js +36 -36
- package/dist/templates/motion/style-pastel-launch-reel.js +36 -36
- package/dist/templates/motion/style-sketch-feature-demo.js +36 -36
- package/dist/templates/motion/style-sketch-launch-reel.js +36 -36
- package/dist/templates/motion/style-swiss-feature-demo.js +36 -36
- package/dist/templates/motion/style-swiss-launch-reel.js +35 -35
- package/dist/templates/motion/style-terminal-feature-demo.js +37 -37
- package/dist/templates/motion/style-terminal-launch-reel.js +37 -37
- package/dist/templates/motion/summer-heatwave-lido-reel.js +34 -34
- package/dist/templates/motion/template-wall.js +33 -33
- package/dist/templates/motion/title-card-3d.js +32 -32
- package/dist/templates/motion/tour-tickets-june-city.js +32 -32
- package/dist/templates/motion/tour-tickets-june-dates.js +32 -32
- package/dist/templates/motion/tour-tickets-june-final.js +33 -33
- package/dist/templates/motion/tour-tickets-june-reel.js +32 -32
- package/dist/templates/motion/tour-tickets-tide-city.js +32 -32
- package/dist/templates/motion/tour-tickets-tide-dates.js +32 -32
- package/dist/templates/motion/tour-tickets-tide-final.js +33 -33
- package/dist/templates/motion/tour-tickets-tide-reel.js +32 -32
- package/dist/templates/motion/tour-tickets-wreck-city.js +32 -32
- package/dist/templates/motion/tour-tickets-wreck-dates.js +32 -32
- package/dist/templates/motion/tour-tickets-wreck-final.js +33 -33
- package/dist/templates/motion/tour-tickets-wreck-reel.js +32 -32
- package/dist/templates/motion/transit-map-line-opening.js +34 -34
- package/dist/templates/motion/transit-map-milestone-post.js +34 -34
- package/dist/templates/motion/ukiyo-e-launch-reel.js +34 -34
- package/dist/templates/motion/valentines-breakup-reel.js +34 -34
- package/dist/templates/motion/vaporwave-launch-reel.js +34 -34
- package/dist/templates/motion/winter-cosy-heads-down-post.js +35 -35
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +35 -35
- package/dist/templates/motion/winter-holidays-advent-reel.js +35 -35
- package/dist/templates/motion-qa.js +30 -30
- package/dist/templates/motion3d/app-store-preview.js +33 -33
- package/dist/templates/motion3d/before-after-swing.js +33 -33
- package/dist/templates/motion3d/burger-reveal.js +33 -33
- package/dist/templates/motion3d/coverflow.js +33 -33
- package/dist/templates/motion3d/exploded-ui.js +33 -33
- package/dist/templates/motion3d/feature-flip.js +33 -33
- package/dist/templates/motion3d/kinetic-reveal.js +33 -33
- package/dist/templates/motion3d/laptop-reveal.js +33 -33
- package/dist/templates/motion3d/logo-extrude.js +33 -33
- package/dist/templates/motion3d/parallax-cascade.js +33 -33
- package/dist/templates/motion3d/phone-orbit.js +33 -33
- package/dist/templates/motion3d/pricing-fan.js +33 -33
- package/dist/templates/motion3d/product-turntable.js +33 -33
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +34 -34
- package/dist/templates/motion3d/screen-wall.js +33 -33
- package/dist/templates/motion3d/stage.js +20 -20
- package/dist/templates/motion3d/vertical-promo.js +33 -33
- package/dist/templates/music/edm-drop.js +34 -34
- package/dist/templates/music/festival-lineup.js +34 -34
- package/dist/templates/music/hiphop-lyrics.js +34 -34
- package/dist/templates/music/indie-poster.js +34 -34
- package/dist/templates/music/lofi-loop.js +34 -34
- package/dist/templates/music/parts.js +6 -6
- package/dist/templates/music/podcast-audiogram.js +34 -34
- package/dist/templates/music/shared.js +20 -20
- package/dist/templates/music/synthwave-tunnel.js +34 -34
- package/dist/templates/print/comic-hero-cascade.js +32 -32
- package/dist/templates/print/comic-hero-chase.js +32 -32
- package/dist/templates/print/comic-hero-cover-modern.js +32 -32
- package/dist/templates/print/comic-hero-grid-break.js +32 -32
- package/dist/templates/print/comic-hero-interrogation.js +32 -32
- package/dist/templates/print/comic-hero-issue.js +43 -43
- package/dist/templates/print/comic-hero-manga-action.js +32 -32
- package/dist/templates/print/comic-hero-nested.js +32 -32
- package/dist/templates/print/comic-hero-overlap.js +32 -32
- package/dist/templates/print/comic-hero-parallel.js +32 -32
- package/dist/templates/print/comic-hero-pinup.js +32 -32
- package/dist/templates/print/comic-hero-widescreen.js +32 -32
- package/dist/templates/print/comic-modern-action-slant.js +32 -32
- package/dist/templates/print/comic-modern-cover-pulp.js +32 -32
- package/dist/templates/print/comic-modern-flashback.js +32 -32
- package/dist/templates/print/comic-modern-issue.js +41 -41
- package/dist/templates/print/comic-modern-nine-grid.js +32 -32
- package/dist/templates/print/comic-modern-page-classic.js +32 -32
- package/dist/templates/print/comic-modern-polyptych.js +32 -32
- package/dist/templates/print/comic-modern-radial.js +32 -32
- package/dist/templates/print/comic-modern-splash.js +32 -32
- package/dist/templates/print/comic-modern-spread.js +32 -32
- package/dist/templates/print/everyday-save-the-date.js +34 -34
- package/dist/templates/print/everyday-specials-board.js +34 -34
- package/dist/templates/print/holidays-christmas-church-newsletter.js +32 -32
- package/dist/templates/print/holidays-christmas-eve-invitation.js +32 -32
- package/dist/templates/print/holidays-christmas-gift-tags.js +32 -32
- package/dist/templates/print/holidays-diwali-party-invitation.js +32 -32
- package/dist/templates/print/holidays-easter-activity-sheet.js +32 -32
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +32 -32
- package/dist/templates/print/holidays-eid-dinner-invitation.js +32 -32
- package/dist/templates/print/holidays-eid-gift-tags.js +32 -32
- package/dist/templates/print/holidays-halloween-party-invitation.js +32 -32
- package/dist/templates/print/holidays-halloween-treat-labels.js +32 -32
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +32 -32
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +32 -32
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +32 -32
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +32 -32
- package/dist/templates/print/holidays-new-years-eve-poster.js +32 -32
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +32 -32
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +32 -32
- package/dist/templates/print/holidays-valentines-dinner-menu.js +32 -32
- package/dist/templates/print/knit-christmas-tree-sweater.js +33 -33
- package/dist/templates/print/knit-nordic-snowflake-sweater.js +33 -33
- package/dist/templates/print/knit-shared.js +20 -20
- package/dist/templates/print/knit-snowflake-beanie.js +33 -33
- package/dist/templates/print/printshop-booklet-open-day.js +33 -33
- package/dist/templates/print/printshop-brochure-community.js +33 -33
- package/dist/templates/print/printshop-brochure-dental.js +33 -33
- package/dist/templates/print/printshop-brochure-gym.js +33 -33
- package/dist/templates/print/printshop-brochure-landscaping.js +33 -33
- package/dist/templates/print/printshop-brochure-travel.js +34 -34
- package/dist/templates/print/printshop-card-architect.js +33 -33
- package/dist/templates/print/printshop-card-barber.js +33 -33
- package/dist/templates/print/printshop-card-cafe.js +33 -33
- package/dist/templates/print/printshop-card-developer.js +33 -33
- package/dist/templates/print/printshop-card-florist.js +33 -33
- package/dist/templates/print/printshop-card-lawyer.js +33 -33
- package/dist/templates/print/printshop-card-photographer.js +34 -34
- package/dist/templates/print/printshop-card-plumber.js +33 -33
- package/dist/templates/print/printshop-card-realtor.js +33 -33
- package/dist/templates/print/printshop-card-yoga.js +33 -33
- package/dist/templates/print/printshop-flyer-charity-run.js +33 -33
- package/dist/templates/print/printshop-flyer-farmers-market.js +33 -33
- package/dist/templates/print/printshop-flyer-garage-sale.js +33 -33
- package/dist/templates/print/printshop-flyer-grand-opening.js +33 -33
- package/dist/templates/print/printshop-flyer-lost-pet.js +33 -33
- package/dist/templates/print/printshop-flyer-tutoring.js +33 -33
- package/dist/templates/print/printshop-flyer-yard-work.js +33 -33
- package/dist/templates/print/printshop-poster-live-music.js +33 -33
- package/dist/templates/print/studio-class-timetable-poster.js +32 -32
- package/dist/templates/print/studio-portfolio-booklet.js +33 -33
- package/dist/templates/saas/email-decks-shared.js +33 -33
- package/dist/templates/saas/email-decks.js +46 -46
- package/dist/templates/saas/index.js +235 -235
- package/dist/templates/saas/launch-kit.js +42 -42
- package/dist/templates/saas/launch-video.js +42 -42
- package/dist/templates/saas/lottie-shared.js +33 -33
- package/dist/templates/saas/stores-shared.js +20 -20
- package/dist/templates/saas/stores.js +43 -43
- package/dist/templates/saas/style-bento-shared.js +11 -11
- package/dist/templates/saas/style-bento.js +46 -46
- package/dist/templates/saas/style-brutalist-shared.js +11 -11
- package/dist/templates/saas/style-brutalist.js +47 -47
- package/dist/templates/saas/style-dark.js +46 -46
- package/dist/templates/saas/style-data-shared.js +11 -11
- package/dist/templates/saas/style-data.js +47 -47
- package/dist/templates/saas/style-editorial-shared.js +11 -11
- package/dist/templates/saas/style-editorial.js +47 -47
- package/dist/templates/saas/style-glass-shared.js +12 -12
- package/dist/templates/saas/style-glass.js +47 -47
- package/dist/templates/saas/style-gradient-shared.js +11 -11
- package/dist/templates/saas/style-gradient.js +47 -47
- package/dist/templates/saas/style-maximal-shared.js +11 -11
- package/dist/templates/saas/style-maximal.js +47 -47
- package/dist/templates/saas/style-pastel-shared.js +12 -12
- package/dist/templates/saas/style-pastel.js +47 -47
- package/dist/templates/saas/style-sketch-shared.js +11 -11
- package/dist/templates/saas/style-sketch.js +47 -47
- package/dist/templates/saas/style-swiss-shared.js +11 -11
- package/dist/templates/saas/style-swiss.js +47 -47
- package/dist/templates/saas/style-terminal-shared.js +13 -13
- package/dist/templates/saas/style-terminal.js +48 -48
- package/dist/templates/saas/video-shared.js +11 -11
- package/dist/templates/saas/video.js +42 -42
- package/dist/templates/saas/web-shared.js +11 -11
- package/dist/templates/saas/web.js +45 -45
- package/dist/templates/scenes/before-after.js +32 -32
- package/dist/templates/scenes/carousel-video.js +33 -33
- package/dist/templates/scenes/saas-film-app-preview.js +34 -34
- package/dist/templates/scenes/saas-film-bright-trailer.js +33 -33
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +33 -33
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +34 -34
- package/dist/templates/scenes/shared.js +20 -20
- package/dist/templates/scenes/story-ad.js +36 -36
- package/dist/templates/scenes/story-bakery.js +33 -33
- package/dist/templates/scenes/story-fitness.js +33 -33
- package/dist/templates/scenes/story-hotel.js +33 -33
- package/dist/templates/scenes/transitions-pack.js +33 -33
- package/dist/templates/scenes/web-scroll.js +33 -33
- package/dist/templates/shared/motion.js +11 -11
- package/dist/templates/shared/overlays.js +12 -12
- package/dist/templates/shared/pointer.js +11 -11
- package/dist/templates/slides/agenda.js +33 -33
- package/dist/templates/slides/deck.js +32 -32
- package/dist/templates/slides/education.js +33 -33
- package/dist/templates/slides/launch.js +33 -33
- package/dist/templates/slides/layouts.js +33 -33
- package/dist/templates/slides/pitch.js +33 -33
- package/dist/templates/slides/report.js +33 -33
- package/dist/templates/slides/saas-mail-investor-update.js +34 -34
- package/dist/templates/slides/saas-mail-seed-pitch.js +34 -34
- package/dist/templates/slides/sales.js +33 -33
- package/dist/templates/slides/section-divider.js +33 -33
- package/dist/templates/slides/title-card.js +33 -33
- package/dist/templates/slides/training.js +33 -33
- package/dist/templates/slides/webinar.js +33 -33
- package/dist/templates/slideshow/adoption.js +34 -34
- package/dist/templates/slideshow/baby.js +34 -34
- package/dist/templates/slideshow/birthday.js +34 -34
- package/dist/templates/slideshow/graduation.js +34 -34
- package/dist/templates/slideshow/holiday.js +34 -34
- package/dist/templates/slideshow/home.js +34 -34
- package/dist/templates/slideshow/index.js +41 -41
- package/dist/templates/slideshow/lease.js +34 -34
- package/dist/templates/slideshow/memorial.js +34 -34
- package/dist/templates/slideshow/portfolio.js +34 -34
- package/dist/templates/slideshow/product.js +34 -34
- package/dist/templates/slideshow/recipe.js +34 -34
- package/dist/templates/slideshow/shared.js +33 -33
- package/dist/templates/slideshow/team.js +34 -34
- package/dist/templates/slideshow/travel.js +34 -34
- package/dist/templates/slideshow/wedding.js +34 -34
- package/dist/templates/slideshow/year.js +34 -34
- package/dist/templates/social/april-fools-link-preview.js +34 -34
- package/dist/templates/social/april-fools-price-slash-post.js +34 -34
- package/dist/templates/social/arcade-boss-fight.js +35 -35
- package/dist/templates/social/arcade-level-up.js +35 -35
- package/dist/templates/social/art-deco-link-preview.js +33 -33
- package/dist/templates/social/art-deco-premiere-post.js +33 -33
- package/dist/templates/social/autumn-harvest-link-preview.js +33 -33
- package/dist/templates/social/autumn-harvest-thanks-post.js +33 -33
- package/dist/templates/social/back-to-school-link-preview.js +33 -33
- package/dist/templates/social/back-to-school-report-card-post.js +33 -33
- package/dist/templates/social/bauhaus-drift-post.js +33 -33
- package/dist/templates/social/bauhaus-link-preview.js +33 -33
- package/dist/templates/social/bauhaus-pricing-post.js +33 -33
- package/dist/templates/social/black-friday-ads.js +32 -32
- package/dist/templates/social/black-friday-countdown.js +32 -32
- package/dist/templates/social/black-friday-coupons-ads.js +33 -33
- package/dist/templates/social/black-friday-coupons-countdown.js +34 -34
- package/dist/templates/social/black-friday-neon-ads.js +35 -35
- package/dist/templates/social/black-friday-neon-countdown.js +35 -35
- package/dist/templates/social/black-friday-scratch-ads.js +33 -33
- package/dist/templates/social/black-friday-ticker-ads.js +33 -33
- package/dist/templates/social/black-friday-ticker-countdown.js +33 -33
- package/dist/templates/social/blueprint-dimension-post.js +34 -34
- package/dist/templates/social/blueprint-link-preview.js +34 -34
- package/dist/templates/social/blueprint-parts-list-post.js +34 -34
- package/dist/templates/social/broadsheet-hiring-classifieds.js +32 -32
- package/dist/templates/social/broadsheet-link-preview.js +32 -32
- package/dist/templates/social/claymation-link-preview.js +34 -34
- package/dist/templates/social/claymation-streak-post.js +34 -34
- package/dist/templates/social/comic-book-cover-preview.js +35 -35
- package/dist/templates/social/comic-book-strip-post.js +35 -35
- package/dist/templates/social/cyberpunk-implant-post.js +35 -35
- package/dist/templates/social/cyberpunk-link-preview.js +35 -35
- package/dist/templates/social/departure-board-pass-ad.js +33 -33
- package/dist/templates/social/departure-board-store-set.js +33 -33
- package/dist/templates/social/departure-board-thanks-post.js +33 -33
- package/dist/templates/social/diwali-link-preview.js +34 -34
- package/dist/templates/social/diwali-thanks-post.js +34 -34
- package/dist/templates/social/earth-day-link-preview.js +34 -34
- package/dist/templates/social/everyday-save-the-date-post.js +34 -34
- package/dist/templates/social/festival-presale-electronic-ads.js +38 -38
- package/dist/templates/social/festival-presale-family-ads.js +38 -38
- package/dist/templates/social/festival-presale-folk-ads.js +38 -38
- package/dist/templates/social/festival-presale-food-ads.js +38 -38
- package/dist/templates/social/festival-presale-jazz-ads.js +38 -38
- package/dist/templates/social/festival-presale-street-ads.js +39 -39
- package/dist/templates/social/gothic-feature-post.js +32 -32
- package/dist/templates/social/gothic-link-preview.js +32 -32
- package/dist/templates/social/halloween-link-preview.js +34 -34
- package/dist/templates/social/halloween-offer-post.js +34 -34
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +32 -32
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +32 -32
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +32 -32
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +32 -32
- package/dist/templates/social/holidays-valentines-florist-post.js +32 -32
- package/dist/templates/social/lunar-new-year-greeting-post.js +34 -34
- package/dist/templates/social/lunar-new-year-link-preview.js +34 -34
- package/dist/templates/social/machined-link-preview.js +34 -34
- package/dist/templates/social/machined-plate-post.js +34 -34
- package/dist/templates/social/manuscript-chapter-post.js +33 -33
- package/dist/templates/social/manuscript-link-preview.js +33 -33
- package/dist/templates/social/new-year-link-preview.js +34 -34
- package/dist/templates/social/new-year-resolutions-post.js +34 -34
- package/dist/templates/social/noir-case-file.js +35 -35
- package/dist/templates/social/noir-feature-post.js +35 -35
- package/dist/templates/social/post-announcement.js +32 -32
- package/dist/templates/social/post-event.js +32 -32
- package/dist/templates/social/post-podcast.js +32 -32
- package/dist/templates/social/post-quote.js +32 -32
- package/dist/templates/social/post-sale.js +32 -32
- package/dist/templates/social/post-stat.js +32 -32
- package/dist/templates/social/post-testimonial.js +32 -32
- package/dist/templates/social/promo-announcement.js +32 -32
- package/dist/templates/social/promo-beat-drop.js +32 -32
- package/dist/templates/social/promo-event.js +32 -32
- package/dist/templates/social/promo-new-product.js +32 -32
- package/dist/templates/social/promo-quote-reveal.js +32 -32
- package/dist/templates/social/promo-sale-drop.js +32 -32
- package/dist/templates/social/promo-tip-list.js +32 -32
- package/dist/templates/social/psychedelic-lineup-post.js +34 -34
- package/dist/templates/social/psychedelic-link-preview.js +34 -34
- package/dist/templates/social/riso-zine-link-preview.js +35 -35
- package/dist/templates/social/riso-zine-mrr-poster.js +35 -35
- package/dist/templates/social/saas-kit-carousel.js +32 -32
- package/dist/templates/social/saas-kit-countdown-post.js +32 -32
- package/dist/templates/social/saas-kit-feature-drop.js +33 -33
- package/dist/templates/social/saas-kit-link-preview.js +32 -32
- package/dist/templates/social/saas-kit-live-post.js +32 -32
- package/dist/templates/social/saas-kit-mrr-card.js +32 -32
- package/dist/templates/social/saas-kit-ph-gallery.js +32 -32
- package/dist/templates/social/saas-kit-ph-thumb.js +32 -32
- package/dist/templates/social/saas-kit-youtube-thumbs.js +32 -32
- package/dist/templates/social/saas-store-b2b-ads.js +33 -33
- package/dist/templates/social/saas-store-caption-set.js +33 -33
- package/dist/templates/social/saas-store-chrome-kit.js +33 -33
- package/dist/templates/social/saas-store-ipad-set.js +33 -33
- package/dist/templates/social/saas-store-panorama.js +34 -34
- package/dist/templates/social/saas-store-play-kit.js +32 -32
- package/dist/templates/social/saas-store-story.js +33 -33
- package/dist/templates/social/singles-day-link-preview.js +34 -34
- package/dist/templates/social/solarpunk-impact-post.js +34 -34
- package/dist/templates/social/solarpunk-link-preview.js +34 -34
- package/dist/templates/social/space-opera-link-preview.js +34 -34
- package/dist/templates/social/space-opera-mission-patch-post.js +34 -34
- package/dist/templates/social/spring-bloom-link-preview.js +34 -34
- package/dist/templates/social/studio-class-timetable.js +32 -32
- package/dist/templates/social/studio-podcast-cover.js +32 -32
- package/dist/templates/social/style-bento-announcement.js +33 -33
- package/dist/templates/social/style-bento-link-preview.js +33 -33
- package/dist/templates/social/style-bento-milestone.js +33 -33
- package/dist/templates/social/style-bento-testimonial.js +34 -34
- package/dist/templates/social/style-brutalist-announcement.js +33 -33
- package/dist/templates/social/style-brutalist-link-preview.js +33 -33
- package/dist/templates/social/style-brutalist-milestone.js +34 -34
- package/dist/templates/social/style-brutalist-testimonial.js +33 -33
- package/dist/templates/social/style-dark-announcement.js +33 -33
- package/dist/templates/social/style-dark-link-preview.js +32 -32
- package/dist/templates/social/style-dark-milestone.js +33 -33
- package/dist/templates/social/style-dark-testimonial.js +34 -34
- package/dist/templates/social/style-data-announcement.js +33 -33
- package/dist/templates/social/style-data-link-preview.js +33 -33
- package/dist/templates/social/style-data-milestone.js +34 -34
- package/dist/templates/social/style-data-testimonial.js +34 -34
- package/dist/templates/social/style-editorial-announcement.js +33 -33
- package/dist/templates/social/style-editorial-link-preview.js +33 -33
- package/dist/templates/social/style-editorial-milestone.js +33 -33
- package/dist/templates/social/style-editorial-testimonial.js +34 -34
- package/dist/templates/social/style-glass-announcement.js +34 -34
- package/dist/templates/social/style-glass-link-preview.js +34 -34
- package/dist/templates/social/style-glass-milestone.js +34 -34
- package/dist/templates/social/style-glass-testimonial.js +35 -35
- package/dist/templates/social/style-gradient-announcement.js +33 -33
- package/dist/templates/social/style-gradient-link-preview.js +33 -33
- package/dist/templates/social/style-gradient-milestone.js +34 -34
- package/dist/templates/social/style-gradient-testimonial.js +34 -34
- package/dist/templates/social/style-maximal-announcement.js +33 -33
- package/dist/templates/social/style-maximal-link-preview.js +33 -33
- package/dist/templates/social/style-maximal-milestone.js +33 -33
- package/dist/templates/social/style-maximal-testimonial.js +34 -34
- package/dist/templates/social/style-pastel-announcement.js +34 -34
- package/dist/templates/social/style-pastel-link-preview.js +34 -34
- package/dist/templates/social/style-pastel-milestone.js +34 -34
- package/dist/templates/social/style-pastel-testimonial.js +35 -35
- package/dist/templates/social/style-sketch-announcement.js +34 -34
- package/dist/templates/social/style-sketch-link-preview.js +33 -33
- package/dist/templates/social/style-sketch-milestone.js +33 -33
- package/dist/templates/social/style-sketch-testimonial.js +34 -34
- package/dist/templates/social/style-swiss-announcement.js +33 -33
- package/dist/templates/social/style-swiss-link-preview.js +33 -33
- package/dist/templates/social/style-swiss-milestone.js +33 -33
- package/dist/templates/social/style-swiss-testimonial.js +34 -34
- package/dist/templates/social/style-terminal-announcement.js +35 -35
- package/dist/templates/social/style-terminal-link-preview.js +35 -35
- package/dist/templates/social/style-terminal-milestone.js +35 -35
- package/dist/templates/social/style-terminal-testimonial.js +36 -36
- package/dist/templates/social/summer-heatwave-link-preview.js +34 -34
- package/dist/templates/social/summer-heatwave-lolly-post.js +34 -34
- package/dist/templates/social/tour-tickets-june-ads.js +32 -32
- package/dist/templates/social/tour-tickets-tide-ads.js +32 -32
- package/dist/templates/social/tour-tickets-wreck-ads.js +32 -32
- package/dist/templates/social/transit-map-link-preview.js +34 -34
- package/dist/templates/social/ukiyo-e-link-preview.js +34 -34
- package/dist/templates/social/ukiyo-e-spike-post.js +34 -34
- package/dist/templates/social/valentines-link-preview.js +34 -34
- package/dist/templates/social/valentines-poem-post.js +34 -34
- package/dist/templates/social/vaporwave-feature-drop.js +33 -33
- package/dist/templates/social/vaporwave-link-preview.js +33 -33
- package/dist/templates/social/winter-cosy-link-preview.js +35 -35
- package/dist/templates/social/winter-holidays-link-preview.js +35 -35
- package/dist/templates/social/winter-holidays-thanks-post.js +35 -35
- package/dist/templates/stings/line-reveal.js +32 -32
- package/dist/templates/stings/sting-blur.js +32 -32
- package/dist/templates/stings/sting-pop.js +32 -32
- package/dist/templates/stings/sting-rise.js +32 -32
- package/dist/templates/stings/sting-shimmer.js +32 -32
- package/dist/templates/stings/word-swap.js +32 -32
- package/dist/templates/text/stat-counter.js +32 -32
- package/dist/templates/text/word-quote.js +32 -32
- package/dist/templates/themes/april-fools-shared.js +21 -21
- package/dist/templates/themes/april-fools.js +39 -39
- package/dist/templates/themes/arcade-shared.js +13 -13
- package/dist/templates/themes/arcade.js +39 -39
- package/dist/templates/themes/art-deco-shared.js +11 -11
- package/dist/templates/themes/art-deco.js +39 -39
- package/dist/templates/themes/autumn-harvest-shared.js +11 -11
- package/dist/templates/themes/autumn-harvest.js +39 -39
- package/dist/templates/themes/back-to-school-shared.js +11 -11
- package/dist/templates/themes/back-to-school.js +39 -39
- package/dist/templates/themes/bauhaus-shared.js +11 -11
- package/dist/templates/themes/bauhaus.js +38 -38
- package/dist/templates/themes/black-friday-coupons-shared.js +11 -11
- package/dist/templates/themes/black-friday-coupons.js +41 -41
- package/dist/templates/themes/black-friday-neon-shared.js +12 -12
- package/dist/templates/themes/black-friday-neon.js +42 -42
- package/dist/templates/themes/black-friday-scratch-shared.js +11 -11
- package/dist/templates/themes/black-friday-scratch.js +40 -40
- package/dist/templates/themes/black-friday-ticker-shared.js +11 -11
- package/dist/templates/themes/black-friday-ticker.js +41 -41
- package/dist/templates/themes/black-friday.js +38 -38
- package/dist/templates/themes/blueprint-shared.js +12 -12
- package/dist/templates/themes/blueprint.js +39 -39
- package/dist/templates/themes/broadsheet.js +39 -39
- package/dist/templates/themes/claymation-shared.js +12 -12
- package/dist/templates/themes/claymation.js +40 -40
- package/dist/templates/themes/comic-book-shared.js +13 -13
- package/dist/templates/themes/comic-book.js +49 -49
- package/dist/templates/themes/comic-hero.js +44 -44
- package/dist/templates/themes/comic-indie.js +32 -32
- package/dist/templates/themes/cyberpunk-shared.js +13 -13
- package/dist/templates/themes/cyberpunk.js +41 -41
- package/dist/templates/themes/departure-board-shared.js +11 -11
- package/dist/templates/themes/departure-board.js +38 -38
- package/dist/templates/themes/diwali-shared.js +12 -12
- package/dist/templates/themes/diwali.js +40 -40
- package/dist/templates/themes/earth-day-shared.js +12 -12
- package/dist/templates/themes/earth-day.js +40 -40
- package/dist/templates/themes/everyday-shared.js +12 -12
- package/dist/templates/themes/everyday.js +42 -42
- package/dist/templates/themes/festival-presale-electronic-kit.js +37 -37
- package/dist/templates/themes/festival-presale-family-a-shared.js +36 -36
- package/dist/templates/themes/festival-presale-family-a.js +61 -61
- package/dist/templates/themes/festival-presale-family-b-shared.js +36 -36
- package/dist/templates/themes/festival-presale-family-b.js +62 -62
- package/dist/templates/themes/festival-presale-family-kit.js +37 -37
- package/dist/templates/themes/festival-presale-folk-kit.js +37 -37
- package/dist/templates/themes/festival-presale-food-kit.js +37 -37
- package/dist/templates/themes/festival-presale-jazz-kit.js +37 -37
- package/dist/templates/themes/festival-presale-shared.js +13 -13
- package/dist/templates/themes/festival-presale-street-kit.js +38 -38
- package/dist/templates/themes/festival-presale.js +42 -42
- package/dist/templates/themes/gothic.js +38 -38
- package/dist/templates/themes/halloween-shared.js +12 -12
- package/dist/templates/themes/halloween.js +40 -40
- package/dist/templates/themes/holidays.js +59 -59
- package/dist/templates/themes/index.js +500 -500
- package/dist/templates/themes/lunar-new-year-shared.js +12 -12
- package/dist/templates/themes/lunar-new-year.js +40 -40
- package/dist/templates/themes/machined-shared.js +21 -21
- package/dist/templates/themes/machined.js +38 -38
- package/dist/templates/themes/manuscript-shared.js +11 -11
- package/dist/templates/themes/manuscript.js +39 -39
- package/dist/templates/themes/memories.js +42 -42
- package/dist/templates/themes/new-year-shared.js +12 -12
- package/dist/templates/themes/new-year.js +40 -40
- package/dist/templates/themes/noir-shared.js +13 -13
- package/dist/templates/themes/noir.js +41 -41
- package/dist/templates/themes/printshop-shared.js +20 -20
- package/dist/templates/themes/printshop.js +58 -58
- package/dist/templates/themes/psychedelic-shared.js +12 -12
- package/dist/templates/themes/psychedelic.js +40 -40
- package/dist/templates/themes/riso-zine-shared.js +13 -13
- package/dist/templates/themes/riso-zine.js +41 -41
- package/dist/templates/themes/singles-day-shared.js +12 -12
- package/dist/templates/themes/singles-day.js +40 -40
- package/dist/templates/themes/solarpunk-shared.js +12 -12
- package/dist/templates/themes/solarpunk.js +40 -40
- package/dist/templates/themes/space-opera-shared.js +12 -12
- package/dist/templates/themes/space-opera.js +40 -40
- package/dist/templates/themes/spring-bloom-shared.js +12 -12
- package/dist/templates/themes/spring-bloom.js +40 -40
- package/dist/templates/themes/studio.js +38 -38
- package/dist/templates/themes/summer-heatwave-shared.js +12 -12
- package/dist/templates/themes/summer-heatwave.js +40 -40
- package/dist/templates/themes/tour-tickets-page-shared.js +12 -12
- package/dist/templates/themes/tour-tickets.js +60 -60
- package/dist/templates/themes/transit-map-shared.js +12 -12
- package/dist/templates/themes/transit-map.js +40 -40
- package/dist/templates/themes/ukiyo-e-shared.js +12 -12
- package/dist/templates/themes/ukiyo-e.js +40 -40
- package/dist/templates/themes/valentines-shared.js +12 -12
- package/dist/templates/themes/valentines.js +40 -40
- package/dist/templates/themes/vaporwave-shared.js +11 -11
- package/dist/templates/themes/vaporwave.js +38 -38
- package/dist/templates/themes/winter-cosy-shared.js +12 -12
- package/dist/templates/themes/winter-cosy.js +41 -41
- package/dist/templates/themes/winter-holidays-shared.js +12 -12
- package/dist/templates/themes/winter-holidays.js +41 -41
- package/dist/templates/video/youtube-chapter.js +32 -32
- package/dist/templates/video/youtube-end-screen.js +32 -32
- package/dist/templates/video/youtube-intro.js +32 -32
- package/dist/templates/video/youtube-subscribe.js +32 -32
- package/dist/templates/web/app-ui.js +21 -21
- package/dist/templates/web/april-fools-landing.js +34 -34
- package/dist/templates/web/arcade-landing.js +35 -35
- package/dist/templates/web/art-deco-landing.js +33 -33
- package/dist/templates/web/autumn-harvest-landing.js +33 -33
- package/dist/templates/web/back-to-school-landing.js +33 -33
- package/dist/templates/web/bauhaus-landing.js +33 -33
- package/dist/templates/web/black-friday-coupons-landing.js +34 -34
- package/dist/templates/web/black-friday-landing.js +32 -32
- package/dist/templates/web/black-friday-neon-landing.js +34 -34
- package/dist/templates/web/black-friday-scratch-landing.js +33 -33
- package/dist/templates/web/black-friday-ticker-landing.js +33 -33
- package/dist/templates/web/blog-post.js +32 -32
- package/dist/templates/web/blueprint-landing.js +34 -34
- package/dist/templates/web/broadsheet-landing.js +32 -32
- package/dist/templates/web/claymation-landing.js +34 -34
- package/dist/templates/web/comic-book-landing.js +35 -35
- package/dist/templates/web/coming-soon-page.js +33 -33
- package/dist/templates/web/coming-soon.js +32 -32
- package/dist/templates/web/contact.js +33 -33
- package/dist/templates/web/cyberpunk-landing.js +35 -35
- package/dist/templates/web/daybreak-app.js +34 -34
- package/dist/templates/web/departure-board-download.js +33 -33
- package/dist/templates/web/diwali-landing.js +34 -34
- package/dist/templates/web/earth-day-landing.js +34 -34
- package/dist/templates/web/everyday-cafe.js +35 -35
- package/dist/templates/web/everyday-hotel.js +35 -35
- package/dist/templates/web/everyday-wedding.js +36 -36
- package/dist/templates/web/festival-presale-electronic.js +35 -35
- package/dist/templates/web/festival-presale-family.js +35 -35
- package/dist/templates/web/festival-presale-folk.js +35 -35
- package/dist/templates/web/festival-presale-food.js +35 -35
- package/dist/templates/web/festival-presale-jazz.js +35 -35
- package/dist/templates/web/festival-presale-street.js +36 -36
- package/dist/templates/web/forms.js +20 -20
- package/dist/templates/web/gothic-landing.js +32 -32
- package/dist/templates/web/halloween-landing.js +34 -34
- package/dist/templates/web/hero-animated.js +32 -32
- package/dist/templates/web/kindling-app.js +34 -34
- package/dist/templates/web/launch-waitlist.js +33 -33
- package/dist/templates/web/lunar-new-year-landing.js +34 -34
- package/dist/templates/web/machined-hero.js +34 -34
- package/dist/templates/web/manuscript-landing.js +33 -33
- package/dist/templates/web/marginalia-app.js +34 -34
- package/dist/templates/web/new-year-landing.js +34 -34
- package/dist/templates/web/noir-landing.js +35 -35
- package/dist/templates/web/page-404.js +32 -32
- package/dist/templates/web/portfolio-architect.js +34 -34
- package/dist/templates/web/portfolio-art.js +20 -20
- package/dist/templates/web/portfolio-card-deck.js +34 -34
- package/dist/templates/web/portfolio-case-folio.js +34 -34
- package/dist/templates/web/portfolio-cube-gallery.js +34 -34
- package/dist/templates/web/portfolio-depth-tunnel.js +34 -34
- package/dist/templates/web/portfolio-editorial.js +34 -34
- package/dist/templates/web/portfolio-flip-wall.js +34 -34
- package/dist/templates/web/portfolio-index-list.js +34 -34
- package/dist/templates/web/portfolio-photographer.js +34 -34
- package/dist/templates/web/portfolio-reel-carousel.js +34 -34
- package/dist/templates/web/portfolio-shared.js +21 -21
- package/dist/templates/web/portfolio-sketchbook.js +34 -34
- package/dist/templates/web/portfolio-studio-grid.js +34 -34
- package/dist/templates/web/portfolio.js +32 -32
- package/dist/templates/web/portfolios.js +46 -46
- package/dist/templates/web/potluck-app.js +34 -34
- package/dist/templates/web/pricing-toggle.js +32 -32
- package/dist/templates/web/product-page.js +32 -32
- package/dist/templates/web/psychedelic-landing.js +34 -34
- package/dist/templates/web/riso-zine-landing.js +35 -35
- package/dist/templates/web/rsvp-invite.js +33 -33
- package/dist/templates/web/saas-ai-landing.js +33 -33
- package/dist/templates/web/saas-app-download.js +33 -33
- package/dist/templates/web/saas-case-study.js +33 -33
- package/dist/templates/web/saas-changelog.js +33 -33
- package/dist/templates/web/saas-comparison.js +33 -33
- package/dist/templates/web/saas-data-landing.js +33 -33
- package/dist/templates/web/saas-dev-landing.js +33 -33
- package/dist/templates/web/saas-indie-landing.js +33 -33
- package/dist/templates/web/saas-integrations.js +33 -33
- package/dist/templates/web/saas-security.js +33 -33
- package/dist/templates/web/saas-signup.js +33 -33
- package/dist/templates/web/saas-waitlist.js +33 -33
- package/dist/templates/web/saffron-app.js +34 -34
- package/dist/templates/web/shop-art.js +20 -20
- package/dist/templates/web/shop-bloom.js +37 -37
- package/dist/templates/web/shop-circuit.js +37 -37
- package/dist/templates/web/shop-fieldwork.js +37 -37
- package/dist/templates/web/shop-greenhouse.js +37 -37
- package/dist/templates/web/shop-kiln.js +37 -37
- package/dist/templates/web/shop-marginalia.js +37 -37
- package/dist/templates/web/shop-ode.js +37 -37
- package/dist/templates/web/shop-shared.js +24 -24
- package/dist/templates/web/shop-static.js +37 -37
- package/dist/templates/web/shop-summit.js +37 -37
- package/dist/templates/web/shops.js +46 -46
- package/dist/templates/web/singles-day-landing.js +34 -34
- package/dist/templates/web/solarpunk-landing.js +34 -34
- package/dist/templates/web/space-opera-landing.js +34 -34
- package/dist/templates/web/spring-bloom-landing.js +34 -34
- package/dist/templates/web/studio-careers.js +32 -32
- package/dist/templates/web/style-bento-landing.js +35 -35
- package/dist/templates/web/style-bento-pricing.js +34 -34
- package/dist/templates/web/style-brutalist-landing.js +34 -34
- package/dist/templates/web/style-brutalist-pricing.js +34 -34
- package/dist/templates/web/style-dark-landing.js +35 -35
- package/dist/templates/web/style-dark-pricing.js +34 -34
- package/dist/templates/web/style-data-landing.js +36 -36
- package/dist/templates/web/style-data-pricing.js +34 -34
- package/dist/templates/web/style-editorial-landing.js +34 -34
- package/dist/templates/web/style-editorial-pricing.js +35 -35
- package/dist/templates/web/style-glass-landing.js +36 -36
- package/dist/templates/web/style-glass-pricing.js +35 -35
- package/dist/templates/web/style-gradient-landing.js +36 -36
- package/dist/templates/web/style-gradient-pricing.js +34 -34
- package/dist/templates/web/style-maximal-landing.js +35 -35
- package/dist/templates/web/style-maximal-pricing.js +34 -34
- package/dist/templates/web/style-pastel-landing.js +36 -36
- package/dist/templates/web/style-pastel-pricing.js +35 -35
- package/dist/templates/web/style-sketch-landing.js +36 -36
- package/dist/templates/web/style-sketch-pricing.js +34 -34
- package/dist/templates/web/style-swiss-landing.js +36 -36
- package/dist/templates/web/style-swiss-pricing.js +34 -34
- package/dist/templates/web/style-terminal-landing.js +37 -37
- package/dist/templates/web/style-terminal-pricing.js +36 -36
- package/dist/templates/web/summer-heatwave-landing.js +34 -34
- package/dist/templates/web/tempo-app.js +34 -34
- package/dist/templates/web/tour-tickets-june-landing.js +34 -34
- package/dist/templates/web/tour-tickets-tide-landing.js +34 -34
- package/dist/templates/web/tour-tickets-wreck-landing.js +34 -34
- package/dist/templates/web/transit-map-landing.js +34 -34
- package/dist/templates/web/ukiyo-e-landing.js +34 -34
- package/dist/templates/web/valentines-landing.js +34 -34
- package/dist/templates/web/vaporwave-landing.js +33 -33
- package/dist/templates/web/wayfarer-app.js +34 -34
- package/dist/templates/web/winter-cosy-landing.js +35 -35
- package/dist/templates/web/winter-holidays-landing.js +35 -35
- package/package.json +1 -1
- package/types/lib/document/types.d.ts +2 -0
- package/types/lib/motion/pose.d.ts +1 -1
- package/types/lib/motion/shader-audio.d.ts +6 -0
- package/dist/chunks/agent-ORS5BEZC.js +0 -44
- package/dist/chunks/apply-PSU6SCI5.js +0 -46
- package/dist/chunks/audio-decode-BUYA4GTK.js +0 -53
- package/dist/chunks/audio-import-2FJ2VDUM.js +0 -125
- package/dist/chunks/audio-plan-BMCEHGEF.js +0 -45
- package/dist/chunks/board-export-VA65LT4Q.js +0 -180
- package/dist/chunks/browser-LTNMUUY5.js +0 -181
- package/dist/chunks/build-LH3DAI42.js +0 -59
- package/dist/chunks/builtin-2KL2EXTB.js +0 -120
- package/dist/chunks/buy-credits-NARMZ33F.js +0 -80
- package/dist/chunks/check-WPNRRJAU.js +0 -59
- package/dist/chunks/check-template-6D3CE5JN.js +0 -2463
- package/dist/chunks/chunk-24VAAMZS.js +0 -80
- package/dist/chunks/chunk-26C7EEL3.js +0 -961
- package/dist/chunks/chunk-27AUDAYZ.js +0 -166
- package/dist/chunks/chunk-27W532TV.js +0 -194
- package/dist/chunks/chunk-2EBMJZUF.js +0 -106
- package/dist/chunks/chunk-2EGTECBG.js +0 -33
- package/dist/chunks/chunk-2G5Z7VRP.js +0 -224
- package/dist/chunks/chunk-2IYD3ZY4.js +0 -414
- package/dist/chunks/chunk-2J3IWJFZ.js +0 -140
- package/dist/chunks/chunk-2JDCAFBZ.js +0 -36
- package/dist/chunks/chunk-2LPM6IDB.js +0 -644
- package/dist/chunks/chunk-2MKJNMBH.js +0 -112
- package/dist/chunks/chunk-2MRVGDAO.js +0 -178
- package/dist/chunks/chunk-2NSEUS5X.js +0 -96
- package/dist/chunks/chunk-2OC2G4JE.js +0 -304
- package/dist/chunks/chunk-2OEG4YWI.js +0 -464
- package/dist/chunks/chunk-2P767HFL.js +0 -95
- package/dist/chunks/chunk-2QSFF5ZG.js +0 -163
- package/dist/chunks/chunk-2TSXG3GY.js +0 -132
- package/dist/chunks/chunk-2UD35ZPM.js +0 -340
- package/dist/chunks/chunk-2VPIEUXQ.js +0 -685
- package/dist/chunks/chunk-2ZE6IV3T.js +0 -185
- package/dist/chunks/chunk-32P3NXJ4.js +0 -216
- package/dist/chunks/chunk-34FOTJ4P.js +0 -55
- package/dist/chunks/chunk-34ZTYDVW.js +0 -117
- package/dist/chunks/chunk-35X25URO.js +0 -282
- package/dist/chunks/chunk-36H3EKUV.js +0 -115
- package/dist/chunks/chunk-37I2XKTP.js +0 -136
- package/dist/chunks/chunk-37UK24CW.js +0 -363
- package/dist/chunks/chunk-3AVRCZEZ.js +0 -162
- package/dist/chunks/chunk-3CFZ53Q4.js +0 -209
- package/dist/chunks/chunk-3DE232PS.js +0 -391
- package/dist/chunks/chunk-3ENNN23M.js +0 -33
- package/dist/chunks/chunk-3FADSNRZ.js +0 -95
- package/dist/chunks/chunk-3JCTHFW4.js +0 -49
- package/dist/chunks/chunk-3LABV55S.js +0 -247
- package/dist/chunks/chunk-3LG32IHF.js +0 -116
- package/dist/chunks/chunk-3MJ3TAF4.js +0 -179
- package/dist/chunks/chunk-3MMY6U6R.js +0 -327
- package/dist/chunks/chunk-3MUKXGKH.js +0 -45
- package/dist/chunks/chunk-3N7EKXEF.js +0 -361
- package/dist/chunks/chunk-3P5E6VPB.js +0 -77
- package/dist/chunks/chunk-3QXNR7MV.js +0 -137
- package/dist/chunks/chunk-3SZ3C3GK.js +0 -33
- package/dist/chunks/chunk-3TFS7OJE.js +0 -78
- package/dist/chunks/chunk-3V5OAXTI.js +0 -240
- package/dist/chunks/chunk-3VK2N5T6.js +0 -1188
- package/dist/chunks/chunk-3VXSUPUK.js +0 -121
- package/dist/chunks/chunk-3WAJRL56.js +0 -30
- package/dist/chunks/chunk-43DKCF6N.js +0 -163
- package/dist/chunks/chunk-45MHTSH5.js +0 -173
- package/dist/chunks/chunk-4BT6AGAN.js +0 -166
- package/dist/chunks/chunk-4CSUIIMN.js +0 -215
- package/dist/chunks/chunk-4FGRO2EJ.js +0 -289
- package/dist/chunks/chunk-4IFC4ZJR.js +0 -84
- package/dist/chunks/chunk-4IG3KNOC.js +0 -94
- package/dist/chunks/chunk-4JZQ6SGU.js +0 -311
- package/dist/chunks/chunk-4LZK67EF.js +0 -265
- package/dist/chunks/chunk-4MKRR3TN.js +0 -1574
- package/dist/chunks/chunk-4MUIESCB.js +0 -120
- package/dist/chunks/chunk-4NFDAE3B.js +0 -112
- package/dist/chunks/chunk-4OLQYHDC.js +0 -80
- package/dist/chunks/chunk-4QDVL52H.js +0 -23
- package/dist/chunks/chunk-4QGWXZOD.js +0 -79
- package/dist/chunks/chunk-4SINGZ36.js +0 -390
- package/dist/chunks/chunk-4SLNLF2D.js +0 -140
- package/dist/chunks/chunk-4TUB4RT2.js +0 -218
- package/dist/chunks/chunk-4Y6CY6ZB.js +0 -86
- package/dist/chunks/chunk-4ZPORKQY.js +0 -96
- package/dist/chunks/chunk-527Y5QVG.js +0 -329
- package/dist/chunks/chunk-53CKIESL.js +0 -178
- package/dist/chunks/chunk-5523LA2B.js +0 -343
- package/dist/chunks/chunk-562V65KY.js +0 -353
- package/dist/chunks/chunk-57GZUMMV.js +0 -210
- package/dist/chunks/chunk-57PX5GO2.js +0 -284
- package/dist/chunks/chunk-5C7A4E7B.js +0 -104
- package/dist/chunks/chunk-5C7ANWWZ.js +0 -36
- package/dist/chunks/chunk-5CKMHZR3.js +0 -468
- package/dist/chunks/chunk-5CTRQW43.js +0 -86
- package/dist/chunks/chunk-5DIPBJ54.js +0 -832
- package/dist/chunks/chunk-5DK5YJLU.js +0 -567
- package/dist/chunks/chunk-5DPKJ5UI.js +0 -304
- package/dist/chunks/chunk-5GDS6URN.js +0 -45
- package/dist/chunks/chunk-5ICGFZKV.js +0 -94
- package/dist/chunks/chunk-5IKOQFKS.js +0 -146
- package/dist/chunks/chunk-5J5K3765.js +0 -454
- package/dist/chunks/chunk-5JBAW7KT.js +0 -166
- package/dist/chunks/chunk-5KSBSFL2.js +0 -84
- package/dist/chunks/chunk-5KZMWZ6M.js +0 -339
- package/dist/chunks/chunk-5KZUESDQ.js +0 -115
- package/dist/chunks/chunk-5LHWCGYN.js +0 -62
- package/dist/chunks/chunk-5LSQASS5.js +0 -174
- package/dist/chunks/chunk-5LV36ZGJ.js +0 -182
- package/dist/chunks/chunk-5MH6WXIQ.js +0 -44
- package/dist/chunks/chunk-5Q4OWPXE.js +0 -104
- package/dist/chunks/chunk-5QP4DQSI.js +0 -78
- package/dist/chunks/chunk-5RRH2SQA.js +0 -114
- package/dist/chunks/chunk-5RTV6RAO.js +0 -392
- package/dist/chunks/chunk-5SGGJFXD.js +0 -141
- package/dist/chunks/chunk-5TE35PKC.js +0 -47
- package/dist/chunks/chunk-5TMAFL5W.js +0 -59
- package/dist/chunks/chunk-5V3FWR25.js +0 -298
- package/dist/chunks/chunk-5VNTI5HC.js +0 -86
- package/dist/chunks/chunk-63IES7EQ.js +0 -23
- package/dist/chunks/chunk-63PVNOOL.js +0 -361
- package/dist/chunks/chunk-665O4IQ2.js +0 -110
- package/dist/chunks/chunk-66SBPF4P.js +0 -44
- package/dist/chunks/chunk-67ZOWNWA.js +0 -23
- package/dist/chunks/chunk-6AUFLC6I.js +0 -36
- package/dist/chunks/chunk-6BHV3F5N.js +0 -97
- package/dist/chunks/chunk-6BT4DP2X.js +0 -141
- package/dist/chunks/chunk-6D5V3NRK.js +0 -108
- package/dist/chunks/chunk-6ECANHYL.js +0 -33
- package/dist/chunks/chunk-6EE5YXPH.js +0 -187
- package/dist/chunks/chunk-6EI2IME7.js +0 -157
- package/dist/chunks/chunk-6F5UG63U.js +0 -462
- package/dist/chunks/chunk-6FDQCFZ3.js +0 -194
- package/dist/chunks/chunk-6FSIJMP3.js +0 -122
- package/dist/chunks/chunk-6HJAQVRN.js +0 -23
- package/dist/chunks/chunk-6KYB323H.js +0 -53
- package/dist/chunks/chunk-6LA5KFR7.js +0 -589
- package/dist/chunks/chunk-6LOS6TDN.js +0 -282
- package/dist/chunks/chunk-6MIZZ5FO.js +0 -150
- package/dist/chunks/chunk-6N5CDSA6.js +0 -106
- package/dist/chunks/chunk-6OQVDLP5.js +0 -180
- package/dist/chunks/chunk-6P36GAWL.js +0 -115
- package/dist/chunks/chunk-6PHPERHA.js +0 -165
- package/dist/chunks/chunk-6Q7DWLLC.js +0 -226
- package/dist/chunks/chunk-6QTIHLE6.js +0 -478
- package/dist/chunks/chunk-6RPJIYXI.js +0 -131
- package/dist/chunks/chunk-6S44A6SK.js +0 -156
- package/dist/chunks/chunk-6T2GWCP4.js +0 -320
- package/dist/chunks/chunk-6TWPO7NK.js +0 -93
- package/dist/chunks/chunk-6V6PESPH.js +0 -41
- package/dist/chunks/chunk-6VMFRREI.js +0 -99
- package/dist/chunks/chunk-6XNUP27N.js +0 -375
- package/dist/chunks/chunk-6XYMR65A.js +0 -51
- package/dist/chunks/chunk-6YL2GBRR.js +0 -101
- package/dist/chunks/chunk-6YM5WTKJ.js +0 -69
- package/dist/chunks/chunk-72NWM3OD.js +0 -299
- package/dist/chunks/chunk-73KVTFMC.js +0 -386
- package/dist/chunks/chunk-74SDV2TR.js +0 -100
- package/dist/chunks/chunk-75NROKEU.js +0 -85
- package/dist/chunks/chunk-76GWG6D6.js +0 -283
- package/dist/chunks/chunk-77UDFJBV.js +0 -159
- package/dist/chunks/chunk-7AZD6JDR.js +0 -298
- package/dist/chunks/chunk-7AZZ2I4H.js +0 -248
- package/dist/chunks/chunk-7B7MG4MI.js +0 -90
- package/dist/chunks/chunk-7CAAZZAR.js +0 -183
- package/dist/chunks/chunk-7CCDXOZD.js +0 -84
- package/dist/chunks/chunk-7D42GZKH.js +0 -487
- package/dist/chunks/chunk-7FYEHEQJ.js +0 -382
- package/dist/chunks/chunk-7HAQBTB2.js +0 -248
- package/dist/chunks/chunk-7HCTDX23.js +0 -45
- package/dist/chunks/chunk-7JRE5KFW.js +0 -109
- package/dist/chunks/chunk-7K4DVIS7.js +0 -199
- package/dist/chunks/chunk-7LJLI6NO.js +0 -267
- package/dist/chunks/chunk-7MCTQEGJ.js +0 -334
- package/dist/chunks/chunk-7NZFOZUA.js +0 -282
- package/dist/chunks/chunk-7O7DQFWD.js +0 -112
- package/dist/chunks/chunk-7OJV2CC6.js +0 -177
- package/dist/chunks/chunk-7PQNI53S.js +0 -344
- package/dist/chunks/chunk-7RNO7HPJ.js +0 -63
- package/dist/chunks/chunk-7TS727CQ.js +0 -198
- package/dist/chunks/chunk-7VAD2D7K.js +0 -260
- package/dist/chunks/chunk-7Z2MFRJI.js +0 -45
- package/dist/chunks/chunk-A2ND34XC.js +0 -179
- package/dist/chunks/chunk-A433G4Q3.js +0 -130
- package/dist/chunks/chunk-A4CSJDFA.js +0 -172
- package/dist/chunks/chunk-A54J3EET.js +0 -77
- package/dist/chunks/chunk-A5NP7G4O.js +0 -23
- package/dist/chunks/chunk-A7PE3RQX.js +0 -151
- package/dist/chunks/chunk-AA2X2RFG.js +0 -70
- package/dist/chunks/chunk-AA43YVO3.js +0 -312
- package/dist/chunks/chunk-AALKSACH.js +0 -79
- package/dist/chunks/chunk-ACXICOQH.js +0 -33
- package/dist/chunks/chunk-AFFRYF5A.js +0 -23
- package/dist/chunks/chunk-AFML7PFY.js +0 -167
- package/dist/chunks/chunk-AG5HDX3U.js +0 -214
- package/dist/chunks/chunk-AIXYMUB2.js +0 -91
- package/dist/chunks/chunk-AJHTPX46.js +0 -33
- package/dist/chunks/chunk-AKBVSXBL.js +0 -222
- package/dist/chunks/chunk-AKXCXJAR.js +0 -149
- package/dist/chunks/chunk-AL54WGPC.js +0 -172
- package/dist/chunks/chunk-AMMJNSY3.js +0 -139
- package/dist/chunks/chunk-AOEQVONN.js +0 -126
- package/dist/chunks/chunk-AOUSDLYF.js +0 -123
- package/dist/chunks/chunk-APDFXSYL.js +0 -23
- package/dist/chunks/chunk-APNNFZCP.js +0 -331
- package/dist/chunks/chunk-APP26MJL.js +0 -129
- package/dist/chunks/chunk-APXMMQDB.js +0 -130
- package/dist/chunks/chunk-AQ7VIL3I.js +0 -969
- package/dist/chunks/chunk-AQJLUW3A.js +0 -98
- package/dist/chunks/chunk-AR7M4EYV.js +0 -131
- package/dist/chunks/chunk-ASAF4KBF.js +0 -130
- package/dist/chunks/chunk-ATWGT5DR.js +0 -544
- package/dist/chunks/chunk-AW2PLFZP.js +0 -149
- package/dist/chunks/chunk-AWZKBKHH.js +0 -221
- package/dist/chunks/chunk-AX7B2WCS.js +0 -199
- package/dist/chunks/chunk-AXOICW2R.js +0 -260
- package/dist/chunks/chunk-AXYBZJQN.js +0 -246
- package/dist/chunks/chunk-B46IF6J3.js +0 -53
- package/dist/chunks/chunk-B6ZXFAFG.js +0 -503
- package/dist/chunks/chunk-BABWLU5B.js +0 -45
- package/dist/chunks/chunk-BEQ4AKA7.js +0 -251
- package/dist/chunks/chunk-BGO2QBYJ.js +0 -153
- package/dist/chunks/chunk-BHCZCKQF.js +0 -77
- package/dist/chunks/chunk-BHGD6BSE.js +0 -411
- package/dist/chunks/chunk-BHRY23G4.js +0 -105
- package/dist/chunks/chunk-BIKA5PQN.js +0 -95
- package/dist/chunks/chunk-BJFWM5XR.js +0 -94
- package/dist/chunks/chunk-BKIVZGAD.js +0 -23
- package/dist/chunks/chunk-BKPFBUT4.js +0 -214
- package/dist/chunks/chunk-BMLJBYEZ.js +0 -39
- package/dist/chunks/chunk-BMW6C24Y.js +0 -90
- package/dist/chunks/chunk-BO35G3Z6.js +0 -88
- package/dist/chunks/chunk-BPU5YIDG.js +0 -422
- package/dist/chunks/chunk-BPWNLMQT.js +0 -143
- package/dist/chunks/chunk-BQ7KNDG5.js +0 -187
- package/dist/chunks/chunk-BR36VE5Z.js +0 -202
- package/dist/chunks/chunk-BR4GZIQU.js +0 -252
- package/dist/chunks/chunk-BRIHKOVV.js +0 -124
- package/dist/chunks/chunk-BRTNUG5O.js +0 -1307
- package/dist/chunks/chunk-BSOFD4HJ.js +0 -340
- package/dist/chunks/chunk-BTD73H3K.js +0 -97
- package/dist/chunks/chunk-BVYVLDM6.js +0 -33
- package/dist/chunks/chunk-BWFD3IWJ.js +0 -48
- package/dist/chunks/chunk-BZEM6KXC.js +0 -33
- package/dist/chunks/chunk-BZLE32T3.js +0 -45
- package/dist/chunks/chunk-C2TCYRPA.js +0 -92
- package/dist/chunks/chunk-C46POITR.js +0 -177
- package/dist/chunks/chunk-C5HWH25M.js +0 -133
- package/dist/chunks/chunk-C5IGTE2W.js +0 -101
- package/dist/chunks/chunk-C5N5F7OY.js +0 -178
- package/dist/chunks/chunk-C5UBPA62.js +0 -180
- package/dist/chunks/chunk-C7L2KQY5.js +0 -28
- package/dist/chunks/chunk-CC5MV34L.js +0 -136
- package/dist/chunks/chunk-CCZHGMLC.js +0 -170
- package/dist/chunks/chunk-CE5EUGPU.js +0 -139
- package/dist/chunks/chunk-CFUI5S5D.js +0 -189
- package/dist/chunks/chunk-CGABGMOZ.js +0 -304
- package/dist/chunks/chunk-CGC5LBLM.js +0 -152
- package/dist/chunks/chunk-CJHKUK6R.js +0 -46
- package/dist/chunks/chunk-CKCDAEO2.js +0 -283
- package/dist/chunks/chunk-CKF5Z2GH.js +0 -127
- package/dist/chunks/chunk-CMC5P7S4.js +0 -122
- package/dist/chunks/chunk-CMNHQIY5.js +0 -221
- package/dist/chunks/chunk-CN7E26GP.js +0 -33
- package/dist/chunks/chunk-CNKEZH5P.js +0 -161
- package/dist/chunks/chunk-CNX2SCUK.js +0 -55
- package/dist/chunks/chunk-CQWO7ARR.js +0 -171
- package/dist/chunks/chunk-CR5HV2GK.js +0 -162
- package/dist/chunks/chunk-CRDNQLOD.js +0 -154
- package/dist/chunks/chunk-CRTVOLCB.js +0 -73
- package/dist/chunks/chunk-CRULPTLW.js +0 -198
- package/dist/chunks/chunk-CTK2TAEA.js +0 -99
- package/dist/chunks/chunk-CTXLYVMO.js +0 -108
- package/dist/chunks/chunk-CTZ5AJW7.js +0 -33
- package/dist/chunks/chunk-CUNLB4H2.js +0 -100
- package/dist/chunks/chunk-CUPIPPSJ.js +0 -123
- package/dist/chunks/chunk-CVA2X3T4.js +0 -49
- package/dist/chunks/chunk-CWL4Q75V.js +0 -315
- package/dist/chunks/chunk-CWTPUN2E.js +0 -196
- package/dist/chunks/chunk-CXXL3JD4.js +0 -33
- package/dist/chunks/chunk-CXZVK3Q2.js +0 -277
- package/dist/chunks/chunk-CZKUYEJ7.js +0 -23
- package/dist/chunks/chunk-CZWPHLYJ.js +0 -145
- package/dist/chunks/chunk-D2O2YAKK.js +0 -103
- package/dist/chunks/chunk-D2UPULJH.js +0 -77
- package/dist/chunks/chunk-D5GQ4TYX.js +0 -261
- package/dist/chunks/chunk-D5PBUIC2.js +0 -77
- package/dist/chunks/chunk-D64OT4VK.js +0 -366
- package/dist/chunks/chunk-D7JYUSQB.js +0 -225
- package/dist/chunks/chunk-DAB37UXL.js +0 -50
- package/dist/chunks/chunk-DBQG4HWS.js +0 -1136
- package/dist/chunks/chunk-DBW6FFZL.js +0 -84
- package/dist/chunks/chunk-DCIXIMR6.js +0 -36
- package/dist/chunks/chunk-DCS4MKQ7.js +0 -251
- package/dist/chunks/chunk-DCXV5UF2.js +0 -94
- package/dist/chunks/chunk-DCYVX4KE.js +0 -173
- package/dist/chunks/chunk-DE6FIM2S.js +0 -48
- package/dist/chunks/chunk-DGXL2VPW.js +0 -80
- package/dist/chunks/chunk-DHOWHU7P.js +0 -436
- package/dist/chunks/chunk-DJCEFHYW.js +0 -130
- package/dist/chunks/chunk-DJRI4UWX.js +0 -65
- package/dist/chunks/chunk-DJZG5XVP.js +0 -273
- package/dist/chunks/chunk-DKFUH23C.js +0 -79
- package/dist/chunks/chunk-DKYN3OOU.js +0 -351
- package/dist/chunks/chunk-DM2457W5.js +0 -95
- package/dist/chunks/chunk-DMD5GFDF.js +0 -140
- package/dist/chunks/chunk-DMNMC5L2.js +0 -45
- package/dist/chunks/chunk-DNJ2T32G.js +0 -100
- package/dist/chunks/chunk-DNSCQ2NW.js +0 -261
- package/dist/chunks/chunk-DOUTRZDG.js +0 -91
- package/dist/chunks/chunk-DPP7DLXV.js +0 -80
- package/dist/chunks/chunk-DQUEXIAH.js +0 -237
- package/dist/chunks/chunk-DRIAIXWX.js +0 -198
- package/dist/chunks/chunk-DRIOEYCA.js +0 -305
- package/dist/chunks/chunk-DUL7DHN5.js +0 -156
- package/dist/chunks/chunk-DVIDFXCM.js +0 -147
- package/dist/chunks/chunk-DYONXHES.js +0 -108
- package/dist/chunks/chunk-DYZVMKFE.js +0 -112
- package/dist/chunks/chunk-E4IK6BWK.js +0 -191
- package/dist/chunks/chunk-E553C75E.js +0 -169
- package/dist/chunks/chunk-E56VSHG3.js +0 -512
- package/dist/chunks/chunk-E56WIUSB.js +0 -23
- package/dist/chunks/chunk-E64CGS75.js +0 -92
- package/dist/chunks/chunk-E7ECIGRF.js +0 -33
- package/dist/chunks/chunk-EAFO4LVD.js +0 -118
- package/dist/chunks/chunk-EAK3M5DC.js +0 -83
- package/dist/chunks/chunk-EFK3FJRC.js +0 -97
- package/dist/chunks/chunk-EG2WP5CW.js +0 -52
- package/dist/chunks/chunk-EHIKCCBG.js +0 -152
- package/dist/chunks/chunk-EI5IR6CB.js +0 -378
- package/dist/chunks/chunk-EK7AJS3U.js +0 -250
- package/dist/chunks/chunk-EKKVWPBA.js +0 -106
- package/dist/chunks/chunk-ELBXW6DL.js +0 -777
- package/dist/chunks/chunk-EMUY64P2.js +0 -326
- package/dist/chunks/chunk-ENOGIL2T.js +0 -338
- package/dist/chunks/chunk-ENUSW64I.js +0 -157
- package/dist/chunks/chunk-ENXSFLOP.js +0 -644
- package/dist/chunks/chunk-ENZZJ3W6.js +0 -934
- package/dist/chunks/chunk-EQGPFTWR.js +0 -33
- package/dist/chunks/chunk-ER2YCS4Q.js +0 -320
- package/dist/chunks/chunk-ETZSD5CH.js +0 -113
- package/dist/chunks/chunk-EYNESOPJ.js +0 -177
- package/dist/chunks/chunk-EYQQR7EQ.js +0 -23
- package/dist/chunks/chunk-F2GZGHOM.js +0 -23
- package/dist/chunks/chunk-F2U5JLIW.js +0 -74
- package/dist/chunks/chunk-F4O7YS4J.js +0 -512
- package/dist/chunks/chunk-F5C2A6O5.js +0 -109
- package/dist/chunks/chunk-F632TQ7E.js +0 -299
- package/dist/chunks/chunk-F6HTJRSQ.js +0 -164
- package/dist/chunks/chunk-F77H3FGT.js +0 -23
- package/dist/chunks/chunk-F7PHNBXF.js +0 -146
- package/dist/chunks/chunk-FBNZ7GRP.js +0 -84
- package/dist/chunks/chunk-FBOZ6FRJ.js +0 -362
- package/dist/chunks/chunk-FEKFQRD3.js +0 -125
- package/dist/chunks/chunk-FF2OZPHF.js +0 -96
- package/dist/chunks/chunk-FFATU7AP.js +0 -201
- package/dist/chunks/chunk-FFLUD2SI.js +0 -23
- package/dist/chunks/chunk-FIFM2BRA.js +0 -336
- package/dist/chunks/chunk-FKAQDXPZ.js +0 -93
- package/dist/chunks/chunk-FKAYJ7KD.js +0 -155
- package/dist/chunks/chunk-FLFFCI2I.js +0 -69
- package/dist/chunks/chunk-FLOPRGMJ.js +0 -307
- package/dist/chunks/chunk-FMHZRX5I.js +0 -297
- package/dist/chunks/chunk-FMRZOOBD.js +0 -214
- package/dist/chunks/chunk-FN4VVPUD.js +0 -103
- package/dist/chunks/chunk-FO6YA6G5.js +0 -188
- package/dist/chunks/chunk-FRROD4WU.js +0 -23
- package/dist/chunks/chunk-FRZMQWX2.js +0 -155
- package/dist/chunks/chunk-FTH4G6F4.js +0 -338
- package/dist/chunks/chunk-FTN33ALO.js +0 -86
- package/dist/chunks/chunk-FUNE7DEH.js +0 -41
- package/dist/chunks/chunk-FUYLAO47.js +0 -102
- package/dist/chunks/chunk-FWFDUH7L.js +0 -231
- package/dist/chunks/chunk-FWUWDG73.js +0 -337
- package/dist/chunks/chunk-FX7FQRFQ.js +0 -119
- package/dist/chunks/chunk-FXFSTPQR.js +0 -231
- package/dist/chunks/chunk-FYQY23SH.js +0 -87
- package/dist/chunks/chunk-FYZPIE7Q.js +0 -156
- package/dist/chunks/chunk-FZ3RWHKY.js +0 -90
- package/dist/chunks/chunk-FZMD4XOX.js +0 -159
- package/dist/chunks/chunk-G225WFUG.js +0 -95
- package/dist/chunks/chunk-G2ACQ2GJ.js +0 -106
- package/dist/chunks/chunk-G3WDUGYX.js +0 -428
- package/dist/chunks/chunk-G4HVXWLM.js +0 -109
- package/dist/chunks/chunk-G52ZZ4YG.js +0 -117
- package/dist/chunks/chunk-G5CBLCXT.js +0 -147
- package/dist/chunks/chunk-G5O4NNZI.js +0 -98
- package/dist/chunks/chunk-G73CQMMJ.js +0 -889
- package/dist/chunks/chunk-G73XYY7M.js +0 -161
- package/dist/chunks/chunk-G7DMZVKZ.js +0 -170
- package/dist/chunks/chunk-GBSIEUCM.js +0 -107
- package/dist/chunks/chunk-GDNZQ46X.js +0 -170
- package/dist/chunks/chunk-GFGC2QTO.js +0 -148
- package/dist/chunks/chunk-GGEVABQT.js +0 -74
- package/dist/chunks/chunk-GGUNFKKE.js +0 -155
- package/dist/chunks/chunk-GK6ANG5P.js +0 -447
- package/dist/chunks/chunk-GKUBBJ2E.js +0 -78
- package/dist/chunks/chunk-GLFQ4ELS.js +0 -93
- package/dist/chunks/chunk-GMVTTOWK.js +0 -82
- package/dist/chunks/chunk-GN3F2REZ.js +0 -206
- package/dist/chunks/chunk-GNJLOVAY.js +0 -163
- package/dist/chunks/chunk-GNWIMBGM.js +0 -100
- package/dist/chunks/chunk-GPGVPFFZ.js +0 -293
- package/dist/chunks/chunk-GTCXHKSD.js +0 -164
- package/dist/chunks/chunk-GTDUFAKH.js +0 -161
- package/dist/chunks/chunk-GUSWBF34.js +0 -196
- package/dist/chunks/chunk-GWA2IQNZ.js +0 -303
- package/dist/chunks/chunk-GWP43KQU.js +0 -412
- package/dist/chunks/chunk-GYXXY646.js +0 -263
- package/dist/chunks/chunk-GZKSRF3A.js +0 -1393
- package/dist/chunks/chunk-GZT6ZATH.js +0 -23
- package/dist/chunks/chunk-GZZPA6OH.js +0 -130
- package/dist/chunks/chunk-H3F5EWSJ.js +0 -198
- package/dist/chunks/chunk-H4QNMVLT.js +0 -129
- package/dist/chunks/chunk-H5ZRE335.js +0 -172
- package/dist/chunks/chunk-HCS32YON.js +0 -63
- package/dist/chunks/chunk-HCXPHZ7B.js +0 -99
- package/dist/chunks/chunk-HDTI74DN.js +0 -100
- package/dist/chunks/chunk-HEJDYXEN.js +0 -172
- package/dist/chunks/chunk-HF7JCB3P.js +0 -60
- package/dist/chunks/chunk-HFEVVB6Y.js +0 -190
- package/dist/chunks/chunk-HFRLDTQP.js +0 -224
- package/dist/chunks/chunk-HGAHOHJO.js +0 -151
- package/dist/chunks/chunk-HGLKPOLA.js +0 -80
- package/dist/chunks/chunk-HGLTZM7Z.js +0 -163
- package/dist/chunks/chunk-HI2CUIXU.js +0 -305
- package/dist/chunks/chunk-HIEW2HBM.js +0 -410
- package/dist/chunks/chunk-HIWZZM7N.js +0 -262
- package/dist/chunks/chunk-HJFJI6E4.js +0 -317
- package/dist/chunks/chunk-HLKA3MPE.js +0 -176
- package/dist/chunks/chunk-HMW6JY4Y.js +0 -82
- package/dist/chunks/chunk-HNIG4LKT.js +0 -174
- package/dist/chunks/chunk-HP4ZVZV2.js +0 -93
- package/dist/chunks/chunk-HPF4EHSN.js +0 -36
- package/dist/chunks/chunk-HQIWONN4.js +0 -45
- package/dist/chunks/chunk-HQMXH6GW.js +0 -155
- package/dist/chunks/chunk-HRAYPYVF.js +0 -65
- package/dist/chunks/chunk-HU5KHZAE.js +0 -255
- package/dist/chunks/chunk-HUEO3MJJ.js +0 -279
- package/dist/chunks/chunk-HUNKTYDB.js +0 -150
- package/dist/chunks/chunk-HUWJTJ6D.js +0 -80
- package/dist/chunks/chunk-HX4WQAA6.js +0 -400
- package/dist/chunks/chunk-HYZ47FG5.js +0 -190
- package/dist/chunks/chunk-HZBIOT4N.js +0 -163
- package/dist/chunks/chunk-HZWVVPOM.js +0 -346
- package/dist/chunks/chunk-I2EAGBIK.js +0 -41
- package/dist/chunks/chunk-I4LN6AOJ.js +0 -180
- package/dist/chunks/chunk-I4WEDUEX.js +0 -48
- package/dist/chunks/chunk-I5HTH2RF.js +0 -117
- package/dist/chunks/chunk-I5NXE524.js +0 -13696
- package/dist/chunks/chunk-I63T7IVK.js +0 -151
- package/dist/chunks/chunk-I6LF43FF.js +0 -84
- package/dist/chunks/chunk-I6YWUXIO.js +0 -141
- package/dist/chunks/chunk-I75XKZKJ.js +0 -209
- package/dist/chunks/chunk-I7EOKFUK.js +0 -145
- package/dist/chunks/chunk-IAI3H7P3.js +0 -282
- package/dist/chunks/chunk-ICLWENB5.js +0 -225
- package/dist/chunks/chunk-IDNHCUVK.js +0 -598
- package/dist/chunks/chunk-IEQJ56HS.js +0 -632
- package/dist/chunks/chunk-IFTSQYJ7.js +0 -92
- package/dist/chunks/chunk-IFXJROHQ.js +0 -120
- package/dist/chunks/chunk-IHLXIB47.js +0 -122
- package/dist/chunks/chunk-II7L576U.js +0 -89
- package/dist/chunks/chunk-IJPRRLKP.js +0 -135
- package/dist/chunks/chunk-ILOZJS7R.js +0 -765
- package/dist/chunks/chunk-IM5EW6GR.js +0 -45
- package/dist/chunks/chunk-IMVGKUJU.js +0 -33
- package/dist/chunks/chunk-INVL4KU3.js +0 -23
- package/dist/chunks/chunk-IOL66ZOS.js +0 -70
- package/dist/chunks/chunk-IP2XYRA3.js +0 -110
- package/dist/chunks/chunk-IQYDU2ID.js +0 -204
- package/dist/chunks/chunk-IRHXCOG7.js +0 -23
- package/dist/chunks/chunk-IRLABX2F.js +0 -30
- package/dist/chunks/chunk-ITW5XMB4.js +0 -23
- package/dist/chunks/chunk-IU2AL4XL.js +0 -48
- package/dist/chunks/chunk-IUN657S4.js +0 -45
- package/dist/chunks/chunk-IWWO5YBM.js +0 -127
- package/dist/chunks/chunk-IXK5DQVP.js +0 -10733
- package/dist/chunks/chunk-IYPKEXVR.js +0 -2101
- package/dist/chunks/chunk-IZX2ULVH.js +0 -342
- package/dist/chunks/chunk-J2KM5DVN.js +0 -152
- package/dist/chunks/chunk-J2T6GVOW.js +0 -30
- package/dist/chunks/chunk-J3XMYYH5.js +0 -83
- package/dist/chunks/chunk-J4LNSSGH.js +0 -200
- package/dist/chunks/chunk-J5JZWAOK.js +0 -169
- package/dist/chunks/chunk-J64XGCXE.js +0 -139
- package/dist/chunks/chunk-J6OO2JZN.js +0 -207
- package/dist/chunks/chunk-JARW4KH3.js +0 -79
- package/dist/chunks/chunk-JB3T3NV4.js +0 -195
- package/dist/chunks/chunk-JBK4OXFV.js +0 -169
- package/dist/chunks/chunk-JC43ZU2V.js +0 -23
- package/dist/chunks/chunk-JDO5IPYT.js +0 -106
- package/dist/chunks/chunk-JDQUQNU2.js +0 -92
- package/dist/chunks/chunk-JFSJKMCJ.js +0 -78
- package/dist/chunks/chunk-JGC6PIT5.js +0 -344
- package/dist/chunks/chunk-JGXOBFFA.js +0 -89
- package/dist/chunks/chunk-JIJMD7SG.js +0 -172
- package/dist/chunks/chunk-JJY7TRTM.js +0 -191
- package/dist/chunks/chunk-JKM5CYPG.js +0 -118
- package/dist/chunks/chunk-JKXHXWS3.js +0 -149
- package/dist/chunks/chunk-JMGMRIN4.js +0 -23
- package/dist/chunks/chunk-JMXIRZN4.js +0 -1469
- package/dist/chunks/chunk-JPFBDTJV.js +0 -106
- package/dist/chunks/chunk-JPWFSVJJ.js +0 -45
- package/dist/chunks/chunk-JR7KZUF6.js +0 -162
- package/dist/chunks/chunk-JT4XDXMF.js +0 -128
- package/dist/chunks/chunk-JUOCCYLN.js +0 -232
- package/dist/chunks/chunk-JV5M5XGY.js +0 -162
- package/dist/chunks/chunk-JVHJ2UVF.js +0 -192
- package/dist/chunks/chunk-JVOIPU4J.js +0 -119
- package/dist/chunks/chunk-JW7JBI2V.js +0 -105
- package/dist/chunks/chunk-JWMM4ZMW.js +0 -110
- package/dist/chunks/chunk-JXLZRZKV.js +0 -125
- package/dist/chunks/chunk-JYC2IKH6.js +0 -164
- package/dist/chunks/chunk-JZ5UR7E4.js +0 -128
- package/dist/chunks/chunk-JZEZI4XH.js +0 -97
- package/dist/chunks/chunk-K27XLO7W.js +0 -237
- package/dist/chunks/chunk-K2JWLP4L.js +0 -102
- package/dist/chunks/chunk-K7HWC5X7.js +0 -446
- package/dist/chunks/chunk-KAWVBA3F.js +0 -238
- package/dist/chunks/chunk-KBXUGNIB.js +0 -109
- package/dist/chunks/chunk-KESFXSP6.js +0 -91
- package/dist/chunks/chunk-KJ6AJLV2.js +0 -73
- package/dist/chunks/chunk-KJAEND3S.js +0 -361
- package/dist/chunks/chunk-KJCGSFHH.js +0 -64
- package/dist/chunks/chunk-KKK7YGH6.js +0 -183
- package/dist/chunks/chunk-KLHYHFZF.js +0 -263
- package/dist/chunks/chunk-KLPEWPQK.js +0 -104
- package/dist/chunks/chunk-KMDQ52NK.js +0 -85
- package/dist/chunks/chunk-KO4UQ7GF.js +0 -57
- package/dist/chunks/chunk-KOIYHOT4.js +0 -193
- package/dist/chunks/chunk-KOVVPTL7.js +0 -70
- package/dist/chunks/chunk-KPSWG5MC.js +0 -36
- package/dist/chunks/chunk-KPWBE4D2.js +0 -174
- package/dist/chunks/chunk-KQW3AQMK.js +0 -115
- package/dist/chunks/chunk-KS4NKPNJ.js +0 -71
- package/dist/chunks/chunk-KSIRLYH5.js +0 -197
- package/dist/chunks/chunk-KT6AFSYT.js +0 -120
- package/dist/chunks/chunk-KUDRD46H.js +0 -115
- package/dist/chunks/chunk-KW4BPX4K.js +0 -114
- package/dist/chunks/chunk-KWFRMLS2.js +0 -60
- package/dist/chunks/chunk-KXGC272M.js +0 -110
- package/dist/chunks/chunk-KXPWWCIF.js +0 -23
- package/dist/chunks/chunk-KYO23CQK.js +0 -52
- package/dist/chunks/chunk-KYXWPTFQ.js +0 -266
- package/dist/chunks/chunk-KZ4IH4S5.js +0 -39
- package/dist/chunks/chunk-KZG3ISXI.js +0 -215
- package/dist/chunks/chunk-L3FN5CTL.js +0 -291
- package/dist/chunks/chunk-L7LXANKB.js +0 -33
- package/dist/chunks/chunk-LAX47XIN.js +0 -60
- package/dist/chunks/chunk-LDKRWHV2.js +0 -122
- package/dist/chunks/chunk-LENZHWRG.js +0 -242
- package/dist/chunks/chunk-LJSOOIQX.js +0 -76
- package/dist/chunks/chunk-LK4VRVAE.js +0 -91
- package/dist/chunks/chunk-LKQGKLDY.js +0 -77
- package/dist/chunks/chunk-LLUSI5T4.js +0 -204
- package/dist/chunks/chunk-LM7UI32E.js +0 -33
- package/dist/chunks/chunk-LNF6M6FN.js +0 -209
- package/dist/chunks/chunk-LNTLK36E.js +0 -108
- package/dist/chunks/chunk-LOWY6GE6.js +0 -153
- package/dist/chunks/chunk-LPV57UQN.js +0 -1936
- package/dist/chunks/chunk-LQKGTDA2.js +0 -287
- package/dist/chunks/chunk-LQULWI2O.js +0 -76
- package/dist/chunks/chunk-LRYPVZLK.js +0 -98
- package/dist/chunks/chunk-LUOWWDKO.js +0 -399
- package/dist/chunks/chunk-LUQ76STV.js +0 -290
- package/dist/chunks/chunk-LUVFOGW7.js +0 -71
- package/dist/chunks/chunk-LW3V75XE.js +0 -160
- package/dist/chunks/chunk-LY5WB4UJ.js +0 -111
- package/dist/chunks/chunk-LYGIXXFM.js +0 -171
- package/dist/chunks/chunk-LZEBBZPB.js +0 -228
- package/dist/chunks/chunk-M5C6MC5F.js +0 -85
- package/dist/chunks/chunk-M62IG46X.js +0 -189
- package/dist/chunks/chunk-MAEHNEQ6.js +0 -136
- package/dist/chunks/chunk-MAQCM7EB.js +0 -105
- package/dist/chunks/chunk-MBMMCM76.js +0 -97
- package/dist/chunks/chunk-MBS22UU3.js +0 -210
- package/dist/chunks/chunk-MC7UT3JM.js +0 -107
- package/dist/chunks/chunk-MCIPQQQS.js +0 -111
- package/dist/chunks/chunk-MCJR3NCX.js +0 -161
- package/dist/chunks/chunk-MDP53EDX.js +0 -147
- package/dist/chunks/chunk-MHE5XWFP.js +0 -41
- package/dist/chunks/chunk-MHLDQXBL.js +0 -105
- package/dist/chunks/chunk-MIME2MDH.js +0 -66
- package/dist/chunks/chunk-MIXYMMXI.js +0 -366
- package/dist/chunks/chunk-MJWXEMT6.js +0 -50
- package/dist/chunks/chunk-MKLBCHW7.js +0 -33
- package/dist/chunks/chunk-MO5JAQ72.js +0 -98
- package/dist/chunks/chunk-MO6VTJRB.js +0 -118
- package/dist/chunks/chunk-MOS6XHIO.js +0 -260
- package/dist/chunks/chunk-MQLK2AYJ.js +0 -105
- package/dist/chunks/chunk-MRICZCJU.js +0 -163
- package/dist/chunks/chunk-MWHXK5L3.js +0 -2157
- package/dist/chunks/chunk-MXLPMLQS.js +0 -197
- package/dist/chunks/chunk-MXOIEAOB.js +0 -23
- package/dist/chunks/chunk-MZ5EF6B5.js +0 -95
- package/dist/chunks/chunk-MZX6YPFI.js +0 -182
- package/dist/chunks/chunk-N2QDYNQV.js +0 -239
- package/dist/chunks/chunk-N42VJQIY.js +0 -23
- package/dist/chunks/chunk-N47IKTU4.js +0 -142
- package/dist/chunks/chunk-N4LQTC2P.js +0 -145
- package/dist/chunks/chunk-N6PWVAVZ.js +0 -33
- package/dist/chunks/chunk-N6RGYRGP.js +0 -100
- package/dist/chunks/chunk-NAS3AQMP.js +0 -112
- package/dist/chunks/chunk-NE7PRL3H.js +0 -87
- package/dist/chunks/chunk-NEPPTDND.js +0 -63
- package/dist/chunks/chunk-NHVULDWF.js +0 -138
- package/dist/chunks/chunk-NIKWTI32.js +0 -235
- package/dist/chunks/chunk-NIOVIPD4.js +0 -163
- package/dist/chunks/chunk-NK7M7JK6.js +0 -407
- package/dist/chunks/chunk-NLTHJTZ2.js +0 -61
- package/dist/chunks/chunk-NM7Z5YKA.js +0 -290
- package/dist/chunks/chunk-NMLRHWTY.js +0 -274
- package/dist/chunks/chunk-NNJ6P2DK.js +0 -165
- package/dist/chunks/chunk-NNTJWSQ5.js +0 -54
- package/dist/chunks/chunk-NPQDWVAY.js +0 -115
- package/dist/chunks/chunk-NPT5DQJ6.js +0 -152
- package/dist/chunks/chunk-NPW3LCFQ.js +0 -270
- package/dist/chunks/chunk-NQQARMXQ.js +0 -183
- package/dist/chunks/chunk-NQX7YN3I.js +0 -153
- package/dist/chunks/chunk-NRPWUHIL.js +0 -33
- package/dist/chunks/chunk-NSINPQDQ.js +0 -336
- package/dist/chunks/chunk-NT3RKQPM.js +0 -153
- package/dist/chunks/chunk-NTDRLFUW.js +0 -53
- package/dist/chunks/chunk-NTNHSHBS.js +0 -202
- package/dist/chunks/chunk-NUQPBGGA.js +0 -41
- package/dist/chunks/chunk-NUSQAUDB.js +0 -258
- package/dist/chunks/chunk-NWTA6H5F.js +0 -192
- package/dist/chunks/chunk-NX5JVVT2.js +0 -79
- package/dist/chunks/chunk-NXQN2CVJ.js +0 -47
- package/dist/chunks/chunk-NYEE7WOR.js +0 -72
- package/dist/chunks/chunk-NZJ7C3GQ.js +0 -151
- package/dist/chunks/chunk-O2KL2N65.js +0 -68
- package/dist/chunks/chunk-O2QI5HLG.js +0 -184
- package/dist/chunks/chunk-O3N4MUCJ.js +0 -102
- package/dist/chunks/chunk-O52ZBWXQ.js +0 -23
- package/dist/chunks/chunk-O545Q4OS.js +0 -147
- package/dist/chunks/chunk-O55LUW57.js +0 -145
- package/dist/chunks/chunk-O6XKKNLJ.js +0 -327
- package/dist/chunks/chunk-O7QMVYQL.js +0 -113
- package/dist/chunks/chunk-O7RTPXW3.js +0 -146
- package/dist/chunks/chunk-OAJOR5QC.js +0 -270
- package/dist/chunks/chunk-OAUZOBGN.js +0 -104
- package/dist/chunks/chunk-OBCV7RHJ.js +0 -218
- package/dist/chunks/chunk-OCXR2Q5C.js +0 -89
- package/dist/chunks/chunk-OD6HR4BO.js +0 -261
- package/dist/chunks/chunk-OEEQBAMP.js +0 -55
- package/dist/chunks/chunk-OFKYPLUY.js +0 -101
- package/dist/chunks/chunk-OGAM6N3Z.js +0 -75
- package/dist/chunks/chunk-OK2IOWWE.js +0 -213
- package/dist/chunks/chunk-OK4N3TTS.js +0 -126
- package/dist/chunks/chunk-OM2GETGD.js +0 -212
- package/dist/chunks/chunk-OMXSUIFJ.js +0 -368
- package/dist/chunks/chunk-ONDMIX6M.js +0 -87
- package/dist/chunks/chunk-ONHLN4VB.js +0 -1349
- package/dist/chunks/chunk-OOF5S77G.js +0 -251
- package/dist/chunks/chunk-OOREJPU6.js +0 -101
- package/dist/chunks/chunk-OPSS4UFD.js +0 -42
- package/dist/chunks/chunk-ORTKPMW7.js +0 -122
- package/dist/chunks/chunk-OS445LMW.js +0 -36
- package/dist/chunks/chunk-OTYKPAYN.js +0 -33
- package/dist/chunks/chunk-OU7UDZOO.js +0 -104
- package/dist/chunks/chunk-OVM2245J.js +0 -255
- package/dist/chunks/chunk-OZ5UUPV7.js +0 -626
- package/dist/chunks/chunk-P37OXYWP.js +0 -128
- package/dist/chunks/chunk-P3RFMPVN.js +0 -130
- package/dist/chunks/chunk-P3UOVTSZ.js +0 -104
- package/dist/chunks/chunk-P4AV3UVY.js +0 -97
- package/dist/chunks/chunk-P5ES5UZ2.js +0 -43
- package/dist/chunks/chunk-P62RKTFV.js +0 -50
- package/dist/chunks/chunk-P6RGDIR2.js +0 -276
- package/dist/chunks/chunk-PAESKSFP.js +0 -104
- package/dist/chunks/chunk-PARXUKOX.js +0 -163
- package/dist/chunks/chunk-PCD5Q6WR.js +0 -70
- package/dist/chunks/chunk-PEYUBLRY.js +0 -201
- package/dist/chunks/chunk-PFONW2IG.js +0 -112
- package/dist/chunks/chunk-PIEROD7M.js +0 -94
- package/dist/chunks/chunk-PINQHMIR.js +0 -128
- package/dist/chunks/chunk-PLWMQKJE.js +0 -200
- package/dist/chunks/chunk-PNJJ6TV6.js +0 -45
- package/dist/chunks/chunk-PNLVMTDJ.js +0 -200
- package/dist/chunks/chunk-PNT7NNBH.js +0 -1109
- package/dist/chunks/chunk-PPA7PWC6.js +0 -92
- package/dist/chunks/chunk-PPVAY7JD.js +0 -155
- package/dist/chunks/chunk-PQCJS6VP.js +0 -121
- package/dist/chunks/chunk-PTSJ23RR.js +0 -313
- package/dist/chunks/chunk-PXLMOCG2.js +0 -169
- package/dist/chunks/chunk-PZ644XYM.js +0 -330
- package/dist/chunks/chunk-Q2EVZ3XC.js +0 -1378
- package/dist/chunks/chunk-Q2ZB3FHK.js +0 -78
- package/dist/chunks/chunk-Q3SQ2WAU.js +0 -257
- package/dist/chunks/chunk-Q4EBZRNN.js +0 -112
- package/dist/chunks/chunk-Q4IELGHQ.js +0 -187
- package/dist/chunks/chunk-Q4P7BSUQ.js +0 -140
- package/dist/chunks/chunk-Q4PLXBNQ.js +0 -51
- package/dist/chunks/chunk-Q74FYIFU.js +0 -121
- package/dist/chunks/chunk-QDADUNEA.js +0 -181
- package/dist/chunks/chunk-QEIDODUT.js +0 -2700
- package/dist/chunks/chunk-QENC7S5B.js +0 -87
- package/dist/chunks/chunk-QFS3OUJN.js +0 -105
- package/dist/chunks/chunk-QGFZUHQN.js +0 -382
- package/dist/chunks/chunk-QGSO7KGM.js +0 -117
- package/dist/chunks/chunk-QHGFR4FY.js +0 -78
- package/dist/chunks/chunk-QIJY5PE5.js +0 -133
- package/dist/chunks/chunk-QITKMIAO.js +0 -106
- package/dist/chunks/chunk-QIZPU5YG.js +0 -181
- package/dist/chunks/chunk-QOIL356N.js +0 -71
- package/dist/chunks/chunk-QQI2GO7S.js +0 -262
- package/dist/chunks/chunk-QQMP5GGE.js +0 -175
- package/dist/chunks/chunk-QRFDSGBT.js +0 -103
- package/dist/chunks/chunk-QVUQ2BAM.js +0 -33
- package/dist/chunks/chunk-QWU2QURP.js +0 -368
- package/dist/chunks/chunk-QXKWG73E.js +0 -1403
- package/dist/chunks/chunk-QXNLPLYP.js +0 -100
- package/dist/chunks/chunk-QZ3BIF6H.js +0 -23
- package/dist/chunks/chunk-QZWBAAYF.js +0 -23
- package/dist/chunks/chunk-QZXYJ4RK.js +0 -95
- package/dist/chunks/chunk-QZYDRLH5.js +0 -290
- package/dist/chunks/chunk-R2SQMRXC.js +0 -85
- package/dist/chunks/chunk-R2UG7VXF.js +0 -45
- package/dist/chunks/chunk-R3ZXQWTY.js +0 -220
- package/dist/chunks/chunk-R65LEW7H.js +0 -139
- package/dist/chunks/chunk-R7352YKD.js +0 -45
- package/dist/chunks/chunk-R77TI3YE.js +0 -361
- package/dist/chunks/chunk-RAKVPFZV.js +0 -95
- package/dist/chunks/chunk-RCZ6AYLT.js +0 -123
- package/dist/chunks/chunk-REMCZH3Q.js +0 -138
- package/dist/chunks/chunk-RFXJC3UX.js +0 -231
- package/dist/chunks/chunk-RGNZITR2.js +0 -81
- package/dist/chunks/chunk-RHBGWWAL.js +0 -331
- package/dist/chunks/chunk-RIQ4TTCR.js +0 -23
- package/dist/chunks/chunk-RJCTWPTJ.js +0 -84
- package/dist/chunks/chunk-RJSUNBLL.js +0 -149
- package/dist/chunks/chunk-RLCUMYXI.js +0 -261
- package/dist/chunks/chunk-RLUHXQ75.js +0 -124
- package/dist/chunks/chunk-RLX73EFO.js +0 -119
- package/dist/chunks/chunk-RNMBZGDA.js +0 -33
- package/dist/chunks/chunk-RQ6DXAY3.js +0 -195
- package/dist/chunks/chunk-RR6IUVE3.js +0 -95
- package/dist/chunks/chunk-RT7DN7I6.js +0 -1309
- package/dist/chunks/chunk-RUD5NE4E.js +0 -410
- package/dist/chunks/chunk-RVBZDMLW.js +0 -103
- package/dist/chunks/chunk-RWBKJPUL.js +0 -196
- package/dist/chunks/chunk-RWCA6YHF.js +0 -738
- package/dist/chunks/chunk-RX6IMUBJ.js +0 -76
- package/dist/chunks/chunk-RXIYJTTI.js +0 -166
- package/dist/chunks/chunk-RXQ3KFNM.js +0 -141
- package/dist/chunks/chunk-RXRPNBBD.js +0 -82
- package/dist/chunks/chunk-RZHW2VHD.js +0 -191
- package/dist/chunks/chunk-S4A7KSSC.js +0 -251
- package/dist/chunks/chunk-S6IWRDYM.js +0 -262
- package/dist/chunks/chunk-SC2Y3WGS.js +0 -152
- package/dist/chunks/chunk-SCDAUFLC.js +0 -110
- package/dist/chunks/chunk-SCLPHSXD.js +0 -150
- package/dist/chunks/chunk-SG2ZRWUX.js +0 -93
- package/dist/chunks/chunk-SHW7NB7O.js +0 -198
- package/dist/chunks/chunk-SIIDFGPQ.js +0 -220
- package/dist/chunks/chunk-SLFLYHFZ.js +0 -99
- package/dist/chunks/chunk-SLQRAE6E.js +0 -179
- package/dist/chunks/chunk-SMMGBI3P.js +0 -122
- package/dist/chunks/chunk-SMWCBMNP.js +0 -23
- package/dist/chunks/chunk-SNZXH6FZ.js +0 -266
- package/dist/chunks/chunk-SOADRWGV.js +0 -358
- package/dist/chunks/chunk-SOJKQ7HK.js +0 -36
- package/dist/chunks/chunk-SPB3B622.js +0 -368
- package/dist/chunks/chunk-SPY6KYOJ.js +0 -71
- package/dist/chunks/chunk-SQCRHMPO.js +0 -242
- package/dist/chunks/chunk-SQD232NG.js +0 -82
- package/dist/chunks/chunk-SQGJZ2LX.js +0 -274
- package/dist/chunks/chunk-SQXRNSMN.js +0 -53
- package/dist/chunks/chunk-SQYWDISP.js +0 -23
- package/dist/chunks/chunk-SR7YIAYP.js +0 -75
- package/dist/chunks/chunk-SRT4UBZX.js +0 -97
- package/dist/chunks/chunk-SRXRN7N5.js +0 -37
- package/dist/chunks/chunk-SUDE7CLT.js +0 -81
- package/dist/chunks/chunk-SV4TTWY4.js +0 -42
- package/dist/chunks/chunk-SW252Z2D.js +0 -78
- package/dist/chunks/chunk-SXHFBXGO.js +0 -33
- package/dist/chunks/chunk-SYPBMWQC.js +0 -360
- package/dist/chunks/chunk-SZ4PVLX6.js +0 -208
- package/dist/chunks/chunk-T2ERUJ2V.js +0 -152
- package/dist/chunks/chunk-T2Z4HAOW.js +0 -182
- package/dist/chunks/chunk-T3AGOMZP.js +0 -97
- package/dist/chunks/chunk-T3MIHVJE.js +0 -47
- package/dist/chunks/chunk-T3OSU3S7.js +0 -68
- package/dist/chunks/chunk-T6KZ57R2.js +0 -811
- package/dist/chunks/chunk-T7G6CKLN.js +0 -134
- package/dist/chunks/chunk-TBPPBNOG.js +0 -102
- package/dist/chunks/chunk-TBZHPAS7.js +0 -122
- package/dist/chunks/chunk-TCT3ILX7.js +0 -144
- package/dist/chunks/chunk-TDBD2EPO.js +0 -45
- package/dist/chunks/chunk-TEMGE57G.js +0 -23
- package/dist/chunks/chunk-TEOCP7YQ.js +0 -133
- package/dist/chunks/chunk-TEZZT7FB.js +0 -224
- package/dist/chunks/chunk-TFRMXP46.js +0 -184
- package/dist/chunks/chunk-TGBTBPV3.js +0 -287
- package/dist/chunks/chunk-TGQ322VA.js +0 -115
- package/dist/chunks/chunk-TI6PKLSH.js +0 -197
- package/dist/chunks/chunk-TJDWHEOL.js +0 -137
- package/dist/chunks/chunk-TJPY4HJ6.js +0 -232
- package/dist/chunks/chunk-TLBGVZXU.js +0 -83
- package/dist/chunks/chunk-TLPGFPTL.js +0 -209
- package/dist/chunks/chunk-TMQ6NMPH.js +0 -176
- package/dist/chunks/chunk-TNFLOIRG.js +0 -192
- package/dist/chunks/chunk-TOUF2HLS.js +0 -118
- package/dist/chunks/chunk-TQ5R5XU7.js +0 -165
- package/dist/chunks/chunk-TRCULNNE.js +0 -123
- package/dist/chunks/chunk-TRIQ3PKG.js +0 -97
- package/dist/chunks/chunk-TRRQ347T.js +0 -175
- package/dist/chunks/chunk-TT3GW5VX.js +0 -90
- package/dist/chunks/chunk-TTBZWETH.js +0 -134
- package/dist/chunks/chunk-TTTUWTVN.js +0 -172
- package/dist/chunks/chunk-TV3SYSYY.js +0 -165
- package/dist/chunks/chunk-TWD2IYEW.js +0 -160
- package/dist/chunks/chunk-TY7ZSNVZ.js +0 -55
- package/dist/chunks/chunk-TZ6FRBF4.js +0 -75
- package/dist/chunks/chunk-U25XSBHN.js +0 -88
- package/dist/chunks/chunk-U63R2IUJ.js +0 -157
- package/dist/chunks/chunk-U6FT3XNJ.js +0 -23
- package/dist/chunks/chunk-U7ALK6AZ.js +0 -226
- package/dist/chunks/chunk-UAJSFDAC.js +0 -49
- package/dist/chunks/chunk-UBHN7S2V.js +0 -217
- package/dist/chunks/chunk-UBS3TVJO.js +0 -146
- package/dist/chunks/chunk-UE6IMPY3.js +0 -249
- package/dist/chunks/chunk-UEZ5X6H7.js +0 -1410
- package/dist/chunks/chunk-UF4PAL6T.js +0 -83
- package/dist/chunks/chunk-UGUFREHV.js +0 -10311
- package/dist/chunks/chunk-UJGO4GDG.js +0 -234
- package/dist/chunks/chunk-UJYLLEJT.js +0 -390
- package/dist/chunks/chunk-ULSPD424.js +0 -305
- package/dist/chunks/chunk-UMPR42SA.js +0 -655
- package/dist/chunks/chunk-UMVX5DYW.js +0 -135
- package/dist/chunks/chunk-UNZMWGYV.js +0 -42
- package/dist/chunks/chunk-UOCLRUER.js +0 -23
- package/dist/chunks/chunk-URZLWNOE.js +0 -90
- package/dist/chunks/chunk-USIMOCFJ.js +0 -168
- package/dist/chunks/chunk-USPH2BSU.js +0 -131
- package/dist/chunks/chunk-UUTN3FQV.js +0 -23
- package/dist/chunks/chunk-UVEENL72.js +0 -105
- package/dist/chunks/chunk-UVFOOSBD.js +0 -100
- package/dist/chunks/chunk-UVN2TL6I.js +0 -33
- package/dist/chunks/chunk-UWIM6PVI.js +0 -23
- package/dist/chunks/chunk-UWVLK3Y2.js +0 -118
- package/dist/chunks/chunk-UX4J5GMK.js +0 -146
- package/dist/chunks/chunk-UXDWK53B.js +0 -198
- package/dist/chunks/chunk-UY2JVIXG.js +0 -97
- package/dist/chunks/chunk-UY3WRPES.js +0 -497
- package/dist/chunks/chunk-UY6WULXL.js +0 -303
- package/dist/chunks/chunk-UYHHQL6K.js +0 -49
- package/dist/chunks/chunk-UZ4YDM5M.js +0 -215
- package/dist/chunks/chunk-V275U326.js +0 -176
- package/dist/chunks/chunk-V2GHOZLM.js +0 -94
- package/dist/chunks/chunk-V2RCKM5D.js +0 -108
- package/dist/chunks/chunk-V3DLHX5L.js +0 -396
- package/dist/chunks/chunk-V46M2I3A.js +0 -130
- package/dist/chunks/chunk-V472GMMS.js +0 -158
- package/dist/chunks/chunk-V64ZDNFL.js +0 -1845
- package/dist/chunks/chunk-V7C5BGOF.js +0 -103
- package/dist/chunks/chunk-V7FVKQXV.js +0 -105
- package/dist/chunks/chunk-VAMNVZGK.js +0 -52
- package/dist/chunks/chunk-VBCJB3FA.js +0 -33
- package/dist/chunks/chunk-VBVXU4SZ.js +0 -54
- package/dist/chunks/chunk-VCHD65RE.js +0 -161
- package/dist/chunks/chunk-VHJL2CZX.js +0 -106
- package/dist/chunks/chunk-VJWQJZRQ.js +0 -443
- package/dist/chunks/chunk-VJXPWVGV.js +0 -23
- package/dist/chunks/chunk-VKGVKR5Q.js +0 -293
- package/dist/chunks/chunk-VKIQUHXU.js +0 -33
- package/dist/chunks/chunk-VKMXS27M.js +0 -422
- package/dist/chunks/chunk-VMXPEUKH.js +0 -107
- package/dist/chunks/chunk-VOUDBB3B.js +0 -73
- package/dist/chunks/chunk-VOXFFKNY.js +0 -96
- package/dist/chunks/chunk-VOXNQZAO.js +0 -278
- package/dist/chunks/chunk-VPQEZPQS.js +0 -62
- package/dist/chunks/chunk-VQY7PBUD.js +0 -81
- package/dist/chunks/chunk-VQZQJBSH.js +0 -87
- package/dist/chunks/chunk-VSJGJDW2.js +0 -167
- package/dist/chunks/chunk-VUX6FKK7.js +0 -147
- package/dist/chunks/chunk-VVDQL3PF.js +0 -33
- package/dist/chunks/chunk-VW2UAOSU.js +0 -77
- package/dist/chunks/chunk-VX3T76QQ.js +0 -120
- package/dist/chunks/chunk-VXOXJXAF.js +0 -170
- package/dist/chunks/chunk-VY6JVXMY.js +0 -50
- package/dist/chunks/chunk-VZDD6OBJ.js +0 -78
- package/dist/chunks/chunk-W2KG3CQA.js +0 -261
- package/dist/chunks/chunk-W3BC5Q7Z.js +0 -38
- package/dist/chunks/chunk-W4VJQITF.js +0 -238
- package/dist/chunks/chunk-W6F7FH3X.js +0 -415
- package/dist/chunks/chunk-W72XUP4I.js +0 -102
- package/dist/chunks/chunk-WAU32P45.js +0 -1419
- package/dist/chunks/chunk-WBJSMD7F.js +0 -33
- package/dist/chunks/chunk-WDW7TPC6.js +0 -209
- package/dist/chunks/chunk-WDYD6N7F.js +0 -301
- package/dist/chunks/chunk-WEM3QUB5.js +0 -144
- package/dist/chunks/chunk-WFBXSXHP.js +0 -213
- package/dist/chunks/chunk-WJPOLAN4.js +0 -173
- package/dist/chunks/chunk-WL2IQX4W.js +0 -204
- package/dist/chunks/chunk-WNCBSOJQ.js +0 -149
- package/dist/chunks/chunk-WNR2BC4A.js +0 -165
- package/dist/chunks/chunk-WSSSY3JL.js +0 -86
- package/dist/chunks/chunk-WSW5RIWJ.js +0 -70
- package/dist/chunks/chunk-WTTS2ARS.js +0 -480
- package/dist/chunks/chunk-WU2HAWME.js +0 -91
- package/dist/chunks/chunk-WWBLMFYO.js +0 -135
- package/dist/chunks/chunk-WWGMB4XA.js +0 -127
- package/dist/chunks/chunk-WX7AFYS7.js +0 -479
- package/dist/chunks/chunk-WY2Y4GID.js +0 -181
- package/dist/chunks/chunk-X2X3NY3J.js +0 -142
- package/dist/chunks/chunk-X2ZZVMVQ.js +0 -177
- package/dist/chunks/chunk-X3JPB2MT.js +0 -109
- package/dist/chunks/chunk-X3OT4EJZ.js +0 -226
- package/dist/chunks/chunk-X4KNFVOT.js +0 -23
- package/dist/chunks/chunk-X6V755Z4.js +0 -146
- package/dist/chunks/chunk-XABPSJTV.js +0 -81
- package/dist/chunks/chunk-XALBVCEI.js +0 -345
- package/dist/chunks/chunk-XATKFHIC.js +0 -684
- package/dist/chunks/chunk-XBNFFLEL.js +0 -106
- package/dist/chunks/chunk-XDEOO7Q3.js +0 -55
- package/dist/chunks/chunk-XDWVAAEG.js +0 -108
- package/dist/chunks/chunk-XFNCWJ2B.js +0 -324
- package/dist/chunks/chunk-XH3DNBK4.js +0 -30
- package/dist/chunks/chunk-XHPZRLJF.js +0 -122
- package/dist/chunks/chunk-XHQGF3I4.js +0 -135
- package/dist/chunks/chunk-XHWOBCMC.js +0 -33
- package/dist/chunks/chunk-XJ4XLA4I.js +0 -139
- package/dist/chunks/chunk-XK6BUPL3.js +0 -84
- package/dist/chunks/chunk-XKUMZSJX.js +0 -88
- package/dist/chunks/chunk-XLMMVQTY.js +0 -559
- package/dist/chunks/chunk-XMCQFMF2.js +0 -81
- package/dist/chunks/chunk-XNAV5F6R.js +0 -111
- package/dist/chunks/chunk-XNXJR2NK.js +0 -728
- package/dist/chunks/chunk-XORR5FNO.js +0 -484
- package/dist/chunks/chunk-XPZ4X4ET.js +0 -272
- package/dist/chunks/chunk-XQGXRGCO.js +0 -188
- package/dist/chunks/chunk-XQYHY3DW.js +0 -94
- package/dist/chunks/chunk-XRBFISRW.js +0 -66
- package/dist/chunks/chunk-XRQ44R3M.js +0 -100
- package/dist/chunks/chunk-XT4ZSJBX.js +0 -150
- package/dist/chunks/chunk-XVAXI7N5.js +0 -304
- package/dist/chunks/chunk-XWJ4JBXU.js +0 -250
- package/dist/chunks/chunk-XYKWHSAA.js +0 -269
- package/dist/chunks/chunk-XZHINKCK.js +0 -342
- package/dist/chunks/chunk-Y2DGLX3N.js +0 -185
- package/dist/chunks/chunk-Y2TRZSEO.js +0 -112
- package/dist/chunks/chunk-Y3QVVOQI.js +0 -150
- package/dist/chunks/chunk-Y46O57EH.js +0 -23
- package/dist/chunks/chunk-Y4L3NJCJ.js +0 -277
- package/dist/chunks/chunk-Y5ABLHOK.js +0 -170
- package/dist/chunks/chunk-Y7NJSMEO.js +0 -217
- package/dist/chunks/chunk-YAUOFXEJ.js +0 -23
- package/dist/chunks/chunk-YCE36BOL.js +0 -41
- package/dist/chunks/chunk-YDQIRFUC.js +0 -626
- package/dist/chunks/chunk-YE3TPQOT.js +0 -157
- package/dist/chunks/chunk-YECYUZNX.js +0 -206
- package/dist/chunks/chunk-YF6ZOGNK.js +0 -23
- package/dist/chunks/chunk-YGDZEMK4.js +0 -80
- package/dist/chunks/chunk-YGW65B7Z.js +0 -172
- package/dist/chunks/chunk-YHVBLRAT.js +0 -256
- package/dist/chunks/chunk-YIO6WEEN.js +0 -345
- package/dist/chunks/chunk-YLPKCZ2R.js +0 -83
- package/dist/chunks/chunk-YLSDVEOL.js +0 -358
- package/dist/chunks/chunk-YOYXPHBT.js +0 -77
- package/dist/chunks/chunk-YP5TS4JT.js +0 -33
- package/dist/chunks/chunk-YQ7K2CC4.js +0 -150
- package/dist/chunks/chunk-YVKJF3ZA.js +0 -33
- package/dist/chunks/chunk-YVUTAADU.js +0 -147
- package/dist/chunks/chunk-YW7TRY4A.js +0 -111
- package/dist/chunks/chunk-YWX6DBXZ.js +0 -82
- package/dist/chunks/chunk-YX2UEN4J.js +0 -177
- package/dist/chunks/chunk-YY4LYBFD.js +0 -74
- package/dist/chunks/chunk-YY6YLUOX.js +0 -138
- package/dist/chunks/chunk-YYVKSTGA.js +0 -154
- package/dist/chunks/chunk-Z27JL77H.js +0 -224
- package/dist/chunks/chunk-Z2OZRSYA.js +0 -197
- package/dist/chunks/chunk-Z2TF6P4P.js +0 -166
- package/dist/chunks/chunk-Z4NAKUWO.js +0 -168
- package/dist/chunks/chunk-Z4Z6YLA3.js +0 -335
- package/dist/chunks/chunk-Z5KEIJOX.js +0 -33
- package/dist/chunks/chunk-Z5YD3FUK.js +0 -23
- package/dist/chunks/chunk-ZAG3REIE.js +0 -93
- package/dist/chunks/chunk-ZCGQP3HM.js +0 -122
- package/dist/chunks/chunk-ZER2QFPP.js +0 -123
- package/dist/chunks/chunk-ZF7S4CWK.js +0 -152
- package/dist/chunks/chunk-ZG5U5AOD.js +0 -194
- package/dist/chunks/chunk-ZGNJXVOR.js +0 -158
- package/dist/chunks/chunk-ZHFFCXOT.js +0 -156
- package/dist/chunks/chunk-ZHKZFEKK.js +0 -155
- package/dist/chunks/chunk-ZIB46BZC.js +0 -86
- package/dist/chunks/chunk-ZIITWS2R.js +0 -159
- package/dist/chunks/chunk-ZK3RD3MA.js +0 -23
- package/dist/chunks/chunk-ZKIVGTUU.js +0 -119
- package/dist/chunks/chunk-ZMCS5DHC.js +0 -95
- package/dist/chunks/chunk-ZMFL6JFB.js +0 -307
- package/dist/chunks/chunk-ZNOIZWI3.js +0 -135
- package/dist/chunks/chunk-ZNWC5AAU.js +0 -181
- package/dist/chunks/chunk-ZQIXQSRS.js +0 -133
- package/dist/chunks/chunk-ZQOZJVMJ.js +0 -160
- package/dist/chunks/chunk-ZSPPDLZC.js +0 -358
- package/dist/chunks/chunk-ZSY3VWAL.js +0 -206
- package/dist/chunks/chunk-ZVYFKPXS.js +0 -102
- package/dist/chunks/chunk-ZWRMC4HL.js +0 -160
- package/dist/chunks/chunk-ZX7F3Z4B.js +0 -244
- package/dist/chunks/chunk-ZXV2ZBEG.js +0 -425
- package/dist/chunks/chunk-ZYS6VFLS.js +0 -97
- package/dist/chunks/chunk-ZZANIRLG.js +0 -898
- package/dist/chunks/chunk-ZZKXMDCH.js +0 -230
- package/dist/chunks/chunk-ZZREQJ5H.js +0 -242
- package/dist/chunks/client-3XVU7EZN.js +0 -168
- package/dist/chunks/client-NKXABBB2.js +0 -31
- package/dist/chunks/client-UEBKLRWH.js +0 -47
- package/dist/chunks/client-actions-HSU6LXB3.js +0 -168
- package/dist/chunks/components-IKZYAYEA.js +0 -76
- package/dist/chunks/dangerous-IUSV6JMX.js +0 -123
- package/dist/chunks/delete-current-file-B7GF6WKT.js +0 -162
- package/dist/chunks/document-library-7AMZGMLO.js +0 -64
- package/dist/chunks/editor-seams-7V7DY52W.js +0 -182
- package/dist/chunks/editor-store-JFHEOFHY.js +0 -147
- package/dist/chunks/export-GMMPEVQW.js +0 -67
- package/dist/chunks/export-fills-YFJMQBFG.js +0 -34
- package/dist/chunks/export-watermark-22LJTK5X.js +0 -156
- package/dist/chunks/eyedropper-BGMQDPTB.js +0 -354
- package/dist/chunks/generate-media-7RV2ZT4X.js +0 -255
- package/dist/chunks/headless-PEVCJRDI.js +0 -213
- package/dist/chunks/host-PPWYGYTN.js +0 -181
- package/dist/chunks/host-YAYLJA4N.js +0 -244
- package/dist/chunks/import-MXQNR4AX.js +0 -702
- package/dist/chunks/import-merge-2KRXBK23.js +0 -39
- package/dist/chunks/instances-QFEI5OTM.js +0 -77
- package/dist/chunks/integrations-TMJB7SEY.js +0 -125
- package/dist/chunks/invariants-Y4NOYJYI.js +0 -65
- package/dist/chunks/kit-modules-J6RQ6LNQ.js +0 -18
- package/dist/chunks/libraries-7AUYSQU4.js +0 -310
- package/dist/chunks/library-previews-FX3SCVUA.js +0 -206
- package/dist/chunks/live-JRCK5ROW.js +0 -321
- package/dist/chunks/lottie-7MGYL2B7.js +0 -89
- package/dist/chunks/media-tool-BGIARYN2.js +0 -236
- package/dist/chunks/new-file-XB2B4U6V.js +0 -139
- package/dist/chunks/next-commerce-A7ZHR63R.js +0 -72
- package/dist/chunks/page-thumbnails-6VKXBCJR.js +0 -137
- package/dist/chunks/pdf-YQT3IQZH.js +0 -1216
- package/dist/chunks/pdf-import-UP2SH64Q.js +0 -370
- package/dist/chunks/plan-TBK7RBQU.js +0 -85
- package/dist/chunks/player-check-5YDE2P6W.js +0 -117
- package/dist/chunks/plugin-J6JF3PXI.js +0 -130
- package/dist/chunks/plugin-import-YRTFZW5S.js +0 -690
- package/dist/chunks/pptx-52USKO4C.js +0 -307
- package/dist/chunks/presence-MW5DBXWS.js +0 -136
- package/dist/chunks/preview-media-M2JJFXYG.js +0 -129
- package/dist/chunks/project-37JVFD6K.js +0 -1599
- package/dist/chunks/publish-site-4BKVML3W.js +0 -166
- package/dist/chunks/publish-store-QXVBQRV7.js +0 -99
- package/dist/chunks/raster-actions-FSIUMW5Y.js +0 -232
- package/dist/chunks/reference-images-R6ESAYSA.js +0 -62
- package/dist/chunks/resolvers-7RYSYAHZ.js +0 -149
- package/dist/chunks/review-kits-57JBEPNS.js +0 -41
- package/dist/chunks/runner-Q53FUQ4P.js +0 -3545
- package/dist/chunks/shader-preview-JOE7NBD2.js +0 -744
- package/dist/chunks/sound-RAPOZLCW.js +0 -54
- package/dist/chunks/store-QGNPU45L.js +0 -233
- package/dist/chunks/storefront-YZAY7XSO.js +0 -334
- package/dist/chunks/storefront-prepare-4XRHUBPC.js +0 -33
- package/dist/chunks/stress-document-FQ6OO5N3.js +0 -126
- package/dist/chunks/svg-export-3AWAIAN3.js +0 -82
- package/dist/chunks/svg-place-ASGLQ2EX.js +0 -44
- package/dist/chunks/sync-XVXFWCTT.js +0 -161
- package/dist/chunks/tabs-GRBJ3KDT.js +0 -319
- package/dist/chunks/team-GWLLCLUM.js +0 -47
- package/dist/chunks/team-client-JTGXOWAU.js +0 -158
- package/dist/chunks/templates-GPHXGC6I.js +0 -183
- package/dist/chunks/tools-RMNATBMU.js +0 -37
- package/dist/chunks/tree-CSYQAUTC.js +0 -82
- package/dist/chunks/ui-commands-C4R3GX3N.js +0 -190
- package/dist/chunks/use-YZKM2W3Z.js +0 -49
- package/dist/chunks/versions-33OVXBDN.js +0 -319
- package/dist/chunks/video-K364OZFS.js +0 -82
- package/dist/chunks/web-36MGF6CW.js +0 -184
- /package/dist/chunks/{chunk-DOXGRCCW.js → chunk-2YHVZW4D.js} +0 -0
|
@@ -0,0 +1,3545 @@
|
|
|
1
|
+
import { createRequire as __popcraftRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __popcraftPath } from 'node:url';
|
|
3
|
+
import { dirname as __popcraftDirname } from 'node:path';
|
|
4
|
+
const require = __popcraftRequire(import.meta.url);
|
|
5
|
+
const __filename = __popcraftPath(import.meta.url);
|
|
6
|
+
const __dirname = __popcraftDirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
ALL_TOOLS,
|
|
9
|
+
SUBAGENT_FRAMING,
|
|
10
|
+
activeMessages,
|
|
11
|
+
agentModel,
|
|
12
|
+
allProfiles,
|
|
13
|
+
allSkills,
|
|
14
|
+
appendMessage,
|
|
15
|
+
findProfile,
|
|
16
|
+
findSkill,
|
|
17
|
+
mentionContext,
|
|
18
|
+
newId,
|
|
19
|
+
persistThreads,
|
|
20
|
+
profileIndexLine,
|
|
21
|
+
rememberCheckpoint,
|
|
22
|
+
setParts,
|
|
23
|
+
setTodos,
|
|
24
|
+
skillIndexLine,
|
|
25
|
+
updateActiveThread,
|
|
26
|
+
updateMessage,
|
|
27
|
+
useAgentStore
|
|
28
|
+
} from "./chunk-IKGV64X7.js";
|
|
29
|
+
import "./chunk-NI5BBHJX.js";
|
|
30
|
+
import {
|
|
31
|
+
registerBuiltinTools
|
|
32
|
+
} from "./chunk-SGBWEISH.js";
|
|
33
|
+
import {
|
|
34
|
+
registerDangerousCommands
|
|
35
|
+
} from "./chunk-BBBKLNSW.js";
|
|
36
|
+
import "./chunk-GZJHMFPW.js";
|
|
37
|
+
import {
|
|
38
|
+
editBlockReason,
|
|
39
|
+
editorToolContext
|
|
40
|
+
} from "./chunk-TEDUOEHA.js";
|
|
41
|
+
import "./chunk-AMCNGXZF.js";
|
|
42
|
+
import "./chunk-2NFTX3PP.js";
|
|
43
|
+
import "./chunk-HOWSSUN7.js";
|
|
44
|
+
import "./chunk-YQA5IWOG.js";
|
|
45
|
+
import "./chunk-VT2A3WIM.js";
|
|
46
|
+
import "./chunk-L6RMNPUS.js";
|
|
47
|
+
import "./chunk-4CGNSTLN.js";
|
|
48
|
+
import {
|
|
49
|
+
buildDesignContext,
|
|
50
|
+
joinWithin
|
|
51
|
+
} from "./chunk-NNXEZKK3.js";
|
|
52
|
+
import "./chunk-4IUHCC33.js";
|
|
53
|
+
import "./chunk-3FUAWRIT.js";
|
|
54
|
+
import "./chunk-JEIJJB4H.js";
|
|
55
|
+
import "./chunk-ZEJGI7M6.js";
|
|
56
|
+
import {
|
|
57
|
+
allTools,
|
|
58
|
+
getTool,
|
|
59
|
+
runTool,
|
|
60
|
+
toolSpecs
|
|
61
|
+
} from "./chunk-WP272KYV.js";
|
|
62
|
+
import {
|
|
63
|
+
external_exports
|
|
64
|
+
} from "./chunk-R5K2B3R3.js";
|
|
65
|
+
import {
|
|
66
|
+
provideAgentCapability
|
|
67
|
+
} from "./chunk-6LCVEEGJ.js";
|
|
68
|
+
import {
|
|
69
|
+
defineCommand
|
|
70
|
+
} from "./chunk-CYD3CB7J.js";
|
|
71
|
+
import "./chunk-WMPT76QX.js";
|
|
72
|
+
import "./chunk-MEHR2GJ4.js";
|
|
73
|
+
import "./chunk-OZFBHGKA.js";
|
|
74
|
+
import "./chunk-BCHQ3N4S.js";
|
|
75
|
+
import "./chunk-42CJ7I2I.js";
|
|
76
|
+
import "./chunk-3XIF7PFG.js";
|
|
77
|
+
import "./chunk-V66O2FNK.js";
|
|
78
|
+
import "./chunk-3MVODLGN.js";
|
|
79
|
+
import "./chunk-V7VBVZKR.js";
|
|
80
|
+
import "./chunk-E5NEL7R5.js";
|
|
81
|
+
import "./chunk-PYF2YBOX.js";
|
|
82
|
+
import "./chunk-KHJE2MFL.js";
|
|
83
|
+
import "./chunk-FW3EG2VB.js";
|
|
84
|
+
import {
|
|
85
|
+
HYPERY_PAYMENT_SOURCE_HEADER,
|
|
86
|
+
paymentSourceHeaders
|
|
87
|
+
} from "./chunk-7PINHPNT.js";
|
|
88
|
+
import {
|
|
89
|
+
aiAvailability,
|
|
90
|
+
effectiveChatModel,
|
|
91
|
+
useAiStore
|
|
92
|
+
} from "./chunk-MKWU7K63.js";
|
|
93
|
+
import "./chunk-CLUZDLJ5.js";
|
|
94
|
+
import "./chunk-HIOKDYKH.js";
|
|
95
|
+
import "./chunk-DCQIJ5K6.js";
|
|
96
|
+
import "./chunk-XJFP22CM.js";
|
|
97
|
+
import "./chunk-TXEKFUEK.js";
|
|
98
|
+
import "./chunk-LDPWCKGV.js";
|
|
99
|
+
import "./chunk-Z53B7NL7.js";
|
|
100
|
+
import "./chunk-QH6PUSXO.js";
|
|
101
|
+
import "./chunk-MAIOW77V.js";
|
|
102
|
+
import "./chunk-B4PQIUPZ.js";
|
|
103
|
+
import {
|
|
104
|
+
activeHyperyTeamId
|
|
105
|
+
} from "./chunk-FRDEKTX2.js";
|
|
106
|
+
import "./chunk-CMPXWCFB.js";
|
|
107
|
+
import "./chunk-TAVQB3TU.js";
|
|
108
|
+
import "./chunk-LDIM4MFL.js";
|
|
109
|
+
import "./chunk-CRLXNQEU.js";
|
|
110
|
+
import "./chunk-YU7BEN7M.js";
|
|
111
|
+
import "./chunk-NFKRHEFS.js";
|
|
112
|
+
import "./chunk-URH563AK.js";
|
|
113
|
+
import {
|
|
114
|
+
useEditorStore
|
|
115
|
+
} from "./chunk-D266WUDD.js";
|
|
116
|
+
import "./chunk-GQV6RKZJ.js";
|
|
117
|
+
import "./chunk-F36HILOC.js";
|
|
118
|
+
import "./chunk-XWWV53NR.js";
|
|
119
|
+
import "./chunk-I2TPY3VN.js";
|
|
120
|
+
import "./chunk-P7BNDED3.js";
|
|
121
|
+
import "./chunk-SVKLOGS5.js";
|
|
122
|
+
import "./chunk-QKKEJX25.js";
|
|
123
|
+
import "./chunk-XPGIRVA4.js";
|
|
124
|
+
import "./chunk-JABDPQMQ.js";
|
|
125
|
+
import "./chunk-7YTLQP5T.js";
|
|
126
|
+
import "./chunk-FFAK5VLJ.js";
|
|
127
|
+
import "./chunk-C4JDVEM6.js";
|
|
128
|
+
import "./chunk-H3B6PDES.js";
|
|
129
|
+
import "./chunk-MSF3VJNP.js";
|
|
130
|
+
import "./chunk-KTQ2NERL.js";
|
|
131
|
+
import "./chunk-GIVKQ2M5.js";
|
|
132
|
+
import "./chunk-3AUIRV3M.js";
|
|
133
|
+
import "./chunk-PPJHWCXR.js";
|
|
134
|
+
import {
|
|
135
|
+
create
|
|
136
|
+
} from "./chunk-LLNAXNMG.js";
|
|
137
|
+
import "./chunk-F4CGME6I.js";
|
|
138
|
+
import "./chunk-QQQD6VX7.js";
|
|
139
|
+
import "./chunk-Z37MDRQF.js";
|
|
140
|
+
import "./chunk-WMUTHJSF.js";
|
|
141
|
+
import "./chunk-DRIEKZXH.js";
|
|
142
|
+
import {
|
|
143
|
+
HYPERY_GATEWAY_URL,
|
|
144
|
+
accessToken
|
|
145
|
+
} from "./chunk-TCJPZ2OH.js";
|
|
146
|
+
import "./chunk-4DCSSI5H.js";
|
|
147
|
+
import {
|
|
148
|
+
ToolError,
|
|
149
|
+
registerCommand
|
|
150
|
+
} from "./chunk-UOF5SVIL.js";
|
|
151
|
+
import "./chunk-BEJFQOQ3.js";
|
|
152
|
+
import "./chunk-O3R7CFJF.js";
|
|
153
|
+
import "./chunk-SDJ2FU7A.js";
|
|
154
|
+
import "./chunk-UBWVPI6Q.js";
|
|
155
|
+
import "./chunk-VUZZNAMQ.js";
|
|
156
|
+
import "./chunk-NKTCS7CI.js";
|
|
157
|
+
import "./chunk-RC4HK4O5.js";
|
|
158
|
+
import "./chunk-47X23Y2Y.js";
|
|
159
|
+
import "./chunk-ZESU46BC.js";
|
|
160
|
+
import "./chunk-KZADKUFA.js";
|
|
161
|
+
import "./chunk-7ZUCBQIM.js";
|
|
162
|
+
import "./chunk-EO4IBTJQ.js";
|
|
163
|
+
import "./chunk-QLKB3HSW.js";
|
|
164
|
+
import "./chunk-DJZKHTMX.js";
|
|
165
|
+
import "./chunk-HMW5WUPH.js";
|
|
166
|
+
import "./chunk-VCYBKOBL.js";
|
|
167
|
+
import "./chunk-2YQLN2PB.js";
|
|
168
|
+
import "./chunk-6HZO2OND.js";
|
|
169
|
+
import "./chunk-FS6EBCFQ.js";
|
|
170
|
+
import "./chunk-L4AJ2PEW.js";
|
|
171
|
+
import "./chunk-EJHBFOMI.js";
|
|
172
|
+
import "./chunk-PZ6YI55U.js";
|
|
173
|
+
import "./chunk-C4U4Q32B.js";
|
|
174
|
+
import "./chunk-F2RLOTDE.js";
|
|
175
|
+
import "./chunk-7SW5S72F.js";
|
|
176
|
+
import "./chunk-MIMJ2R3V.js";
|
|
177
|
+
import "./chunk-LIOZ543X.js";
|
|
178
|
+
import "./chunk-XHJBMQNM.js";
|
|
179
|
+
import "./chunk-J4AHFSZQ.js";
|
|
180
|
+
import "./chunk-P4BNB74I.js";
|
|
181
|
+
import "./chunk-PFJJ3RUV.js";
|
|
182
|
+
import "./chunk-Y7LDFZ6N.js";
|
|
183
|
+
import "./chunk-XFOLT62U.js";
|
|
184
|
+
import "./chunk-XMUWHWBW.js";
|
|
185
|
+
import "./chunk-32DEPR36.js";
|
|
186
|
+
import "./chunk-37XZT3YD.js";
|
|
187
|
+
import "./chunk-O3UBQXIG.js";
|
|
188
|
+
import "./chunk-IAMXIPBP.js";
|
|
189
|
+
import "./chunk-5ZQDOYRP.js";
|
|
190
|
+
import "./chunk-6LU75RI5.js";
|
|
191
|
+
import "./chunk-XCLWLTK7.js";
|
|
192
|
+
import "./chunk-XUBBSTHA.js";
|
|
193
|
+
import "./chunk-SELBWNFB.js";
|
|
194
|
+
import "./chunk-O7J2KVT4.js";
|
|
195
|
+
import "./chunk-AVWA3JAF.js";
|
|
196
|
+
import "./chunk-SXYEFL65.js";
|
|
197
|
+
import "./chunk-EOFZ6Y5R.js";
|
|
198
|
+
import "./chunk-XYP2M43F.js";
|
|
199
|
+
import "./chunk-IPACBESG.js";
|
|
200
|
+
import "./chunk-OS7XX42J.js";
|
|
201
|
+
import "./chunk-SIRXYQP6.js";
|
|
202
|
+
import "./chunk-5BHVJWCL.js";
|
|
203
|
+
import "./chunk-X3PKGFMJ.js";
|
|
204
|
+
import "./chunk-QEVMGJCM.js";
|
|
205
|
+
import "./chunk-UAAT523L.js";
|
|
206
|
+
import "./chunk-A4YVT7U5.js";
|
|
207
|
+
import "./chunk-N7K7Y7UK.js";
|
|
208
|
+
import "./chunk-7VSHWGPZ.js";
|
|
209
|
+
import "./chunk-65FOWAD7.js";
|
|
210
|
+
import "./chunk-RMJ3O77W.js";
|
|
211
|
+
import "./chunk-DVAOFNK7.js";
|
|
212
|
+
import "./chunk-YQIGEW75.js";
|
|
213
|
+
import "./chunk-MSV4G454.js";
|
|
214
|
+
import "./chunk-AX72BCQE.js";
|
|
215
|
+
import "./chunk-2NGEL7S4.js";
|
|
216
|
+
import "./chunk-JRIK4JAM.js";
|
|
217
|
+
import "./chunk-4LPBG4EL.js";
|
|
218
|
+
import "./chunk-S453TOFB.js";
|
|
219
|
+
import "./chunk-OXYWVYXJ.js";
|
|
220
|
+
import "./chunk-73VKIAIA.js";
|
|
221
|
+
import "./chunk-SHC2RARA.js";
|
|
222
|
+
import "./chunk-PXOPWNBA.js";
|
|
223
|
+
import "./chunk-4GOLK6U6.js";
|
|
224
|
+
import "./chunk-YWQJXUS6.js";
|
|
225
|
+
import "./chunk-4SO5ZS47.js";
|
|
226
|
+
import "./chunk-PYMXLV6K.js";
|
|
227
|
+
import {
|
|
228
|
+
AI_LIMITS,
|
|
229
|
+
init_limits,
|
|
230
|
+
str
|
|
231
|
+
} from "./chunk-INOODW5A.js";
|
|
232
|
+
import "./chunk-OD5O7GPZ.js";
|
|
233
|
+
import "./chunk-YLZL6Q26.js";
|
|
234
|
+
import "./chunk-YSKCBARI.js";
|
|
235
|
+
import "./chunk-FUIEW2MK.js";
|
|
236
|
+
import "./chunk-VWRVCETO.js";
|
|
237
|
+
import "./chunk-VTC6B654.js";
|
|
238
|
+
import "./chunk-STCMPJ6S.js";
|
|
239
|
+
import "./chunk-NKTGLUEQ.js";
|
|
240
|
+
import "./chunk-Z5C2UN3O.js";
|
|
241
|
+
import "./chunk-2DQDI24V.js";
|
|
242
|
+
import "./chunk-K6CUKRAN.js";
|
|
243
|
+
import "./chunk-2O6ZWXJP.js";
|
|
244
|
+
import "./chunk-XW6VDEO2.js";
|
|
245
|
+
import {
|
|
246
|
+
init_define_POPCRAFT_COMPONENT_IDS
|
|
247
|
+
} from "./chunk-6JXNKUNX.js";
|
|
248
|
+
import "./chunk-LJSVREWM.js";
|
|
249
|
+
|
|
250
|
+
// lib/agent/runner.ts
|
|
251
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
252
|
+
|
|
253
|
+
// lib/agent/gateway.ts
|
|
254
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
255
|
+
|
|
256
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/index.js
|
|
257
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
258
|
+
|
|
259
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/hypery-model.js
|
|
260
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
261
|
+
var delay = ((ms) => new Promise((settle) => setTimeout(() => settle(null), Math.max(0, Number(ms) || 0))));
|
|
262
|
+
var utf8Complete = ((b) => {
|
|
263
|
+
if (!Array.isArray(b)) return null;
|
|
264
|
+
const n = b.length;
|
|
265
|
+
for (let i = n - 1; i >= Math.max(0, n - 3); i--) {
|
|
266
|
+
const c = b[i];
|
|
267
|
+
if ((c & 192) === 128) continue;
|
|
268
|
+
const len = c <= 127 ? 1 : c >= 194 && c <= 223 ? 2 : c >= 224 && c <= 239 ? 3 : c >= 240 && c <= 244 ? 4 : 1;
|
|
269
|
+
return n - i < len ? i : n;
|
|
270
|
+
}
|
|
271
|
+
return n;
|
|
272
|
+
});
|
|
273
|
+
var utf8Decode = ((b) => typeof b === "string" ? b : Array.isArray(b) ? new TextDecoder().decode(Uint8Array.from(b)) : null);
|
|
274
|
+
var MAX_REQUEST_BYTES = 44e5;
|
|
275
|
+
var DEFAULT_IDLE_TIMEOUT_MS = 18e4;
|
|
276
|
+
var HYPERY_TEAM_HEADER = "x-hypery-active-organization-id";
|
|
277
|
+
var HYPERY_PAYMENT_SOURCE_HEADER2 = "x-hypery-payment-source";
|
|
278
|
+
function agentModelError(message, code, status) {
|
|
279
|
+
{
|
|
280
|
+
return { name: "AgentModelError", message, code: code ?? "ai_upstream", status: ((__v) => __v == null ? "null" : typeof __v)(status) === "number" ? status : 502 };
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
async function resolve(v) {
|
|
284
|
+
{
|
|
285
|
+
if (((__v) => __v == null ? "null" : typeof __v)(v) === "function") {
|
|
286
|
+
return await (v() ?? null);
|
|
287
|
+
}
|
|
288
|
+
return v ?? null;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
function errorCodeFor(status, payload) {
|
|
292
|
+
{
|
|
293
|
+
if (payload != null && ((__v) => __v == null ? "null" : typeof __v)(payload) === "object" && payload.error != null && ((__v) => __v == null ? "null" : typeof __v)(payload.error) === "object" && ((__v) => __v == null ? "null" : typeof __v)(payload.error.code) === "string") {
|
|
294
|
+
return payload.error.code;
|
|
295
|
+
}
|
|
296
|
+
if (status === 401) {
|
|
297
|
+
return "ai_reauth";
|
|
298
|
+
}
|
|
299
|
+
if (status === 402) {
|
|
300
|
+
return "ai_credits";
|
|
301
|
+
}
|
|
302
|
+
if (status === 403) {
|
|
303
|
+
return "ai_scope";
|
|
304
|
+
}
|
|
305
|
+
if (status === 429) {
|
|
306
|
+
return "ai_rate_limited";
|
|
307
|
+
}
|
|
308
|
+
return "ai_upstream";
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
function streamErrorMessage(payload, fallback) {
|
|
312
|
+
{
|
|
313
|
+
let otherwise = fallback ?? "The AI request failed.";
|
|
314
|
+
if (payload == null || ((__v) => __v == null ? "null" : typeof __v)(payload) !== "object") {
|
|
315
|
+
return otherwise;
|
|
316
|
+
}
|
|
317
|
+
let err = payload.error ?? null;
|
|
318
|
+
if (((__v) => __v == null ? "null" : typeof __v)(err) === "string" && (err.trim() ?? null) !== "") {
|
|
319
|
+
return err;
|
|
320
|
+
}
|
|
321
|
+
let message = err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" ? err.message ?? null : null;
|
|
322
|
+
if (message == null) {
|
|
323
|
+
message = payload.message ?? null;
|
|
324
|
+
}
|
|
325
|
+
return ((__v) => __v == null ? "null" : typeof __v)(message) === "string" && (message.trim() ?? null) !== "" ? message : otherwise;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
function createStreamAccumulator() {
|
|
329
|
+
{
|
|
330
|
+
let buffer = "";
|
|
331
|
+
let text = "";
|
|
332
|
+
let reasoning = "";
|
|
333
|
+
let sawDone = false;
|
|
334
|
+
let calls = /* @__PURE__ */ new Map() ?? null;
|
|
335
|
+
let order = [];
|
|
336
|
+
return { push: (part) => {
|
|
337
|
+
{
|
|
338
|
+
buffer = buffer + part;
|
|
339
|
+
let out = [];
|
|
340
|
+
let nl = buffer.indexOf("\n") ?? null;
|
|
341
|
+
while (nl >= 0) {
|
|
342
|
+
let line = (buffer.slice(0, nl) ?? null).trim() ?? null;
|
|
343
|
+
buffer = buffer.slice(nl + 1) ?? null;
|
|
344
|
+
nl = buffer.indexOf("\n") ?? null;
|
|
345
|
+
if (!(line.startsWith("data:") ?? null)) {
|
|
346
|
+
continue;
|
|
347
|
+
}
|
|
348
|
+
let data = (line.slice(5) ?? null).trim() ?? null;
|
|
349
|
+
if (data === "") {
|
|
350
|
+
continue;
|
|
351
|
+
}
|
|
352
|
+
if (data === "[DONE]") {
|
|
353
|
+
sawDone = true;
|
|
354
|
+
continue;
|
|
355
|
+
}
|
|
356
|
+
let chunk = null;
|
|
357
|
+
try {
|
|
358
|
+
{
|
|
359
|
+
chunk = JSON.parse(data) ?? null;
|
|
360
|
+
}
|
|
361
|
+
} catch (e) {
|
|
362
|
+
{
|
|
363
|
+
continue;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
if (chunk == null || ((__v) => __v == null ? "null" : typeof __v)(chunk) !== "object") {
|
|
367
|
+
continue;
|
|
368
|
+
}
|
|
369
|
+
if (chunk.error) {
|
|
370
|
+
let code = ((__v) => __v == null ? "null" : typeof __v)(chunk.error) === "object" && ((__v) => __v == null ? "null" : typeof __v)(chunk.error.code) === "string" ? chunk.error.code : "ai_upstream";
|
|
371
|
+
throw agentModelError(streamErrorMessage(chunk, null) ?? null, code, 502) ?? null;
|
|
372
|
+
}
|
|
373
|
+
let choice = (Array.isArray(chunk.choices) ?? null) && chunk.choices.length > 0 ? chunk.choices[0] ?? null : null;
|
|
374
|
+
let delta = choice != null ? choice.delta ?? null : null;
|
|
375
|
+
if (delta == null) {
|
|
376
|
+
continue;
|
|
377
|
+
}
|
|
378
|
+
if (((__v) => __v == null ? "null" : typeof __v)(delta.content) === "string" && delta.content !== "") {
|
|
379
|
+
text = text + delta.content;
|
|
380
|
+
out.push({ textDelta: delta.content }) ?? null;
|
|
381
|
+
}
|
|
382
|
+
let r = ((__v) => __v == null ? "null" : typeof __v)(delta.reasoning) === "string" ? delta.reasoning : ((__v) => __v == null ? "null" : typeof __v)(delta.reasoning_content) === "string" ? delta.reasoning_content : "";
|
|
383
|
+
if (r !== "") {
|
|
384
|
+
reasoning = reasoning + r;
|
|
385
|
+
out.push({ reasoningDelta: r }) ?? null;
|
|
386
|
+
}
|
|
387
|
+
for (const tc of Array.isArray(delta.tool_calls) ?? null ? delta.tool_calls : []) {
|
|
388
|
+
let i = ((__v) => __v == null ? "null" : typeof __v)(tc.index) === "number" ? tc.index : order.length > 0 ? order[order.length - 1] ?? null : 0;
|
|
389
|
+
if (!(calls.has(i) ?? null)) {
|
|
390
|
+
calls.set(i, { id: null, name: "", arguments: "" }) ?? null;
|
|
391
|
+
order.push(i) ?? null;
|
|
392
|
+
}
|
|
393
|
+
let call = calls.get(i) ?? null;
|
|
394
|
+
if (((__v) => __v == null ? "null" : typeof __v)(tc.id) === "string" && tc.id !== "") {
|
|
395
|
+
call.id = tc.id;
|
|
396
|
+
}
|
|
397
|
+
let f = tc["function"] ?? null ?? null;
|
|
398
|
+
if (f != null && ((__v) => __v == null ? "null" : typeof __v)(f.name) === "string") {
|
|
399
|
+
call.name = call.name + f.name;
|
|
400
|
+
}
|
|
401
|
+
if (f != null && ((__v) => __v == null ? "null" : typeof __v)(f.arguments) === "string" && f.arguments !== "") {
|
|
402
|
+
call.arguments = call.arguments + f.arguments;
|
|
403
|
+
out.push({ toolProgress: { index: i, name: call.name, bytes: call.arguments.length, arguments: call.arguments } }) ?? null;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return out;
|
|
408
|
+
}
|
|
409
|
+
}, result: () => {
|
|
410
|
+
{
|
|
411
|
+
let toolCalls = [];
|
|
412
|
+
let n = 0;
|
|
413
|
+
for (const i of order) {
|
|
414
|
+
let c = calls.get(i) ?? null;
|
|
415
|
+
if (c.name !== "") {
|
|
416
|
+
toolCalls.push({ id: c.id ?? "call_" + (String(n) ?? null), name: c.name, arguments: c.arguments }) ?? null;
|
|
417
|
+
}
|
|
418
|
+
n = n + 1;
|
|
419
|
+
}
|
|
420
|
+
return { text, reasoning, sawDone, toolCalls };
|
|
421
|
+
}
|
|
422
|
+
} };
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
function appendBytes(pending, chunk) {
|
|
426
|
+
{
|
|
427
|
+
let out = pending.slice() ?? null;
|
|
428
|
+
let i = 0;
|
|
429
|
+
while (i < chunk.length) {
|
|
430
|
+
out.push(chunk[i] ?? null) ?? null;
|
|
431
|
+
i = i + 1;
|
|
432
|
+
}
|
|
433
|
+
return out;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
function callHook(hooks, name, value) {
|
|
437
|
+
{
|
|
438
|
+
if (hooks == null || ((__v) => __v == null ? "null" : typeof __v)(hooks) !== "object") {
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
441
|
+
let h = hooks[name] ?? null;
|
|
442
|
+
if (((__v) => __v == null ? "null" : typeof __v)(h) === "function") {
|
|
443
|
+
h(value) ?? null;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
function createHyperyModel(opts) {
|
|
448
|
+
{
|
|
449
|
+
let idleMs = ((__v) => __v == null ? "null" : typeof __v)(opts.idleTimeoutMs) === "number" ? opts.idleTimeoutMs : DEFAULT_IDLE_TIMEOUT_MS;
|
|
450
|
+
let limit = ((__v) => __v == null ? "null" : typeof __v)(opts.maxRequestBytes) === "number" ? opts.maxRequestBytes : MAX_REQUEST_BYTES;
|
|
451
|
+
let base = ((__v) => __v == null ? "null" : typeof __v)(opts.gatewayUrl) === "string" && opts.gatewayUrl !== "" ? opts.gatewayUrl : "https://hypery.ai";
|
|
452
|
+
if (base.endsWith("/") ?? null) {
|
|
453
|
+
base = base.slice(0, base.length - 1) ?? null;
|
|
454
|
+
}
|
|
455
|
+
return async (messages, tools, hooks, signal, req = null) => {
|
|
456
|
+
{
|
|
457
|
+
let token = await (resolve(opts.token) ?? null);
|
|
458
|
+
if (((__v) => __v == null ? "null" : typeof __v)(token) !== "string" || token === "") {
|
|
459
|
+
throw agentModelError("Sign in to Hypery to use the agent.", "ai_reauth", 401) ?? null;
|
|
460
|
+
}
|
|
461
|
+
let hasReq = req != null && ((__v) => __v == null ? "null" : typeof __v)(req) === "object";
|
|
462
|
+
let model = hasReq && ((__v) => __v == null ? "null" : typeof __v)(req.model) === "string" && req.model !== "" ? req.model : await (resolve(opts.model) ?? null);
|
|
463
|
+
let effort = hasReq && ((__v) => __v == null ? "null" : typeof __v)(req.effort) === "string" ? req.effort : await (resolve(opts.effort) ?? null);
|
|
464
|
+
let team = await (resolve(opts.team) ?? null);
|
|
465
|
+
let paymentSource = await (resolve(opts.paymentSource) ?? null);
|
|
466
|
+
let hasTools = (Array.isArray(tools) ?? null) && tools.length > 0;
|
|
467
|
+
let request = { model, messages, stream: true, max_tokens: ((__v) => __v == null ? "null" : typeof __v)(opts.maxTokens) === "number" ? opts.maxTokens : hasTools ? 16384 : 4096 };
|
|
468
|
+
if (((__v) => __v == null ? "null" : typeof __v)(opts.temperature) === "number") {
|
|
469
|
+
request.temperature = opts.temperature;
|
|
470
|
+
}
|
|
471
|
+
if (((__v) => __v == null ? "null" : typeof __v)(effort) === "string" && effort !== "") {
|
|
472
|
+
request.reasoning = { effort };
|
|
473
|
+
}
|
|
474
|
+
if (hasTools) {
|
|
475
|
+
request.tools = tools;
|
|
476
|
+
let choice = hasReq ? req.toolChoice ?? null : null;
|
|
477
|
+
request.tool_choice = choice != null ? choice : "auto";
|
|
478
|
+
}
|
|
479
|
+
let body = JSON.stringify(request) ?? null;
|
|
480
|
+
if (body.length > limit) {
|
|
481
|
+
throw agentModelError("This message is too large to send (" + ((body.length / 1e6).toFixed(1) ?? null) + " MB with its images). Send fewer or smaller images.", "too_large", 413) ?? null;
|
|
482
|
+
}
|
|
483
|
+
let headers = { Authorization: "Bearer " + token, "Content-Type": "application/json", Accept: "text/event-stream" };
|
|
484
|
+
if (((__v) => __v == null ? "null" : typeof __v)(team) === "string" && team !== "") {
|
|
485
|
+
headers[HYPERY_TEAM_HEADER] = team;
|
|
486
|
+
}
|
|
487
|
+
if (((__v) => __v == null ? "null" : typeof __v)(paymentSource) === "string" && paymentSource !== "") {
|
|
488
|
+
headers[HYPERY_PAYMENT_SOURCE_HEADER2] = paymentSource;
|
|
489
|
+
}
|
|
490
|
+
let init = { method: "POST", headers, body };
|
|
491
|
+
if (signal != null && ((__v) => __v == null ? "null" : typeof __v)(signal.addEventListener) === "function") {
|
|
492
|
+
init.signal = signal;
|
|
493
|
+
}
|
|
494
|
+
let res = null;
|
|
495
|
+
try {
|
|
496
|
+
{
|
|
497
|
+
res = await (opts.fetch(base + "/api/v1/chat/completions", init) ?? null);
|
|
498
|
+
}
|
|
499
|
+
} catch (err) {
|
|
500
|
+
{
|
|
501
|
+
if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && err.name === "AbortError") {
|
|
502
|
+
throw err;
|
|
503
|
+
}
|
|
504
|
+
throw agentModelError("Could not reach Hypery. Check your connection.", "network", 0) ?? null;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
if (res.ok !== true || res.body == null) {
|
|
508
|
+
let text = "";
|
|
509
|
+
try {
|
|
510
|
+
{
|
|
511
|
+
text = await (res.text() ?? null);
|
|
512
|
+
}
|
|
513
|
+
} catch (e) {
|
|
514
|
+
{
|
|
515
|
+
text = "";
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
let payload = text;
|
|
519
|
+
try {
|
|
520
|
+
{
|
|
521
|
+
payload = JSON.parse(text) ?? null;
|
|
522
|
+
}
|
|
523
|
+
} catch (e) {
|
|
524
|
+
{
|
|
525
|
+
payload = text;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
throw agentModelError(streamErrorMessage(payload, "The AI request failed (" + (String(res.status) ?? null) + ").") ?? null, errorCodeFor(res.status, payload) ?? null, res.status) ?? null;
|
|
529
|
+
}
|
|
530
|
+
let acc = createStreamAccumulator() ?? null;
|
|
531
|
+
let reader = res.body.getReader() ?? null;
|
|
532
|
+
let pending = [];
|
|
533
|
+
let stopReading = () => {
|
|
534
|
+
{
|
|
535
|
+
if (((__v) => __v == null ? "null" : typeof __v)(reader.cancel) === "function") {
|
|
536
|
+
try {
|
|
537
|
+
{
|
|
538
|
+
reader.cancel() ?? null;
|
|
539
|
+
}
|
|
540
|
+
} catch (e) {
|
|
541
|
+
{
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
};
|
|
547
|
+
while (true) {
|
|
548
|
+
if (signal != null && signal.aborted === true) {
|
|
549
|
+
stopReading() ?? null;
|
|
550
|
+
throw { name: "AbortError", message: "The request was stopped." };
|
|
551
|
+
}
|
|
552
|
+
let next = await (Promise.race([reader.read() ?? null, delay(idleMs) ?? null]) ?? null);
|
|
553
|
+
if (next == null) {
|
|
554
|
+
stopReading() ?? null;
|
|
555
|
+
throw agentModelError("The model stopped responding.", "ai_timeout", 504) ?? null;
|
|
556
|
+
}
|
|
557
|
+
if (next.done === true) {
|
|
558
|
+
break;
|
|
559
|
+
}
|
|
560
|
+
if (next.value == null) {
|
|
561
|
+
continue;
|
|
562
|
+
}
|
|
563
|
+
let bytes = appendBytes(pending, next.value) ?? null;
|
|
564
|
+
let whole = utf8Complete(bytes) ?? null;
|
|
565
|
+
pending = bytes.slice(whole) ?? null;
|
|
566
|
+
let events = [];
|
|
567
|
+
try {
|
|
568
|
+
{
|
|
569
|
+
events = acc.push(utf8Decode(bytes.slice(0, whole) ?? null) ?? null) ?? null;
|
|
570
|
+
}
|
|
571
|
+
} catch (err) {
|
|
572
|
+
{
|
|
573
|
+
stopReading() ?? null;
|
|
574
|
+
throw err;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
for (const e of events) {
|
|
578
|
+
if (((__v) => __v == null ? "null" : typeof __v)(e.textDelta) === "string") {
|
|
579
|
+
callHook(hooks, "onTextDelta", e.textDelta) ?? null;
|
|
580
|
+
}
|
|
581
|
+
if (((__v) => __v == null ? "null" : typeof __v)(e.reasoningDelta) === "string") {
|
|
582
|
+
callHook(hooks, "onReasoningDelta", e.reasoningDelta) ?? null;
|
|
583
|
+
}
|
|
584
|
+
if (e.toolProgress != null) {
|
|
585
|
+
callHook(hooks, "onToolProgress", e.toolProgress) ?? null;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
if (pending.length > 0) {
|
|
590
|
+
acc.push(utf8Decode(pending) ?? null) ?? null;
|
|
591
|
+
}
|
|
592
|
+
acc.push("\n") ?? null;
|
|
593
|
+
let r = acc.result() ?? null;
|
|
594
|
+
if (!r.sawDone && r.text === "" && r.toolCalls.length === 0) {
|
|
595
|
+
throw agentModelError("The response was cut off before it started. Try again.", "ai_upstream", 502) ?? null;
|
|
596
|
+
}
|
|
597
|
+
return { text: r.text, reasoning: r.reasoning, toolCalls: r.toolCalls };
|
|
598
|
+
}
|
|
599
|
+
};
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/runtime.js
|
|
604
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
605
|
+
|
|
606
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/loop.js
|
|
607
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
608
|
+
|
|
609
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/advisor.js
|
|
610
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
611
|
+
|
|
612
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/roles.js
|
|
613
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
614
|
+
var MODEL_ROLES = ["lead", "swarm", "advisor", "router"];
|
|
615
|
+
function isModelRole(v) {
|
|
616
|
+
{
|
|
617
|
+
return ((__v) => __v == null ? "null" : typeof __v)(v) === "string" && (MODEL_ROLES.includes(v) ?? null);
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
function roleOfProfileModel(model) {
|
|
621
|
+
{
|
|
622
|
+
if ((model ?? null) == null || model === "" || model === "inherit") {
|
|
623
|
+
return "lead";
|
|
624
|
+
}
|
|
625
|
+
if (model === "fast") {
|
|
626
|
+
return "swarm";
|
|
627
|
+
}
|
|
628
|
+
if (isModelRole(model) ?? null) {
|
|
629
|
+
return model;
|
|
630
|
+
}
|
|
631
|
+
return null;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
function resolveCatalogModel(wanted, fallback, catalog) {
|
|
635
|
+
{
|
|
636
|
+
if (!(Array.isArray(catalog) ?? null) || catalog.length === 0) {
|
|
637
|
+
return wanted;
|
|
638
|
+
}
|
|
639
|
+
let ids = new Set(catalog.map((m) => {
|
|
640
|
+
{
|
|
641
|
+
return ((__v) => __v == null ? "null" : typeof __v)(m) === "string" ? m : m != null && ((__v) => __v == null ? "null" : typeof __v)(m) === "object" ? m.id : "";
|
|
642
|
+
}
|
|
643
|
+
}) ?? null) ?? null;
|
|
644
|
+
if (ids.has(wanted) ?? null) {
|
|
645
|
+
return wanted;
|
|
646
|
+
}
|
|
647
|
+
for (const f of fallback ?? []) {
|
|
648
|
+
if (ids.has(f) ?? null) {
|
|
649
|
+
return f;
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
return wanted;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
function resolveRole(role, roles, catalog) {
|
|
656
|
+
{
|
|
657
|
+
let spec = roles != null && ((__v) => __v == null ? "null" : typeof __v)(roles) === "object" ? roles[role] ?? null ?? null : null;
|
|
658
|
+
if (spec == null || ((__v) => __v == null ? "null" : typeof __v)(spec.model) !== "string" || spec.model === "") {
|
|
659
|
+
return null;
|
|
660
|
+
}
|
|
661
|
+
return { model: resolveCatalogModel(spec.model, spec.fallback ?? null, catalog) ?? null, effort: spec.effort ?? null, fallback: spec.fallback ?? null };
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
function mergeRoles(roles, overrides) {
|
|
665
|
+
{
|
|
666
|
+
let base = roles != null && ((__v) => __v == null ? "null" : typeof __v)(roles) === "object" ? roles : {};
|
|
667
|
+
if ((overrides ?? null) == null || ((__v) => __v == null ? "null" : typeof __v)(overrides) !== "object") {
|
|
668
|
+
return base;
|
|
669
|
+
}
|
|
670
|
+
let out = { ...base };
|
|
671
|
+
for (const r of MODEL_ROLES) {
|
|
672
|
+
let o = overrides[r] ?? null ?? null;
|
|
673
|
+
if (o == null) {
|
|
674
|
+
continue;
|
|
675
|
+
}
|
|
676
|
+
out[r] = ((__v) => __v == null ? "null" : typeof __v)(o) === "string" ? { ...base[r] ?? null ?? {}, model: o } : { ...base[r] ?? null ?? {}, ...o };
|
|
677
|
+
}
|
|
678
|
+
return out;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
function roleModel(callModel, spec) {
|
|
682
|
+
{
|
|
683
|
+
return async (messages, tools, hooks = null, signal = null, req = null) => {
|
|
684
|
+
{
|
|
685
|
+
let r = (req ?? null) != null && ((__v) => __v == null ? "null" : typeof __v)(req) === "object" ? req : {};
|
|
686
|
+
let merged = { ...r, model: r.model ?? spec.model, effort: r.effort ?? spec.effort ?? null };
|
|
687
|
+
return await (callModel(messages, tools, hooks, signal, merged) ?? null);
|
|
688
|
+
}
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/advisor.js
|
|
694
|
+
var REPEATED_ERROR_COUNT = 2;
|
|
695
|
+
var ADVISOR_PROMPT = ["You are the advisor to a coding agent (the lead). You read its whole session and give it short, specific advice. You never write code or call tools yourself.", 'Answer with JSON only: {"verdict": "ok" | "revise", "advice": ["..."]}. At most 4 advice items, each one sentence, concrete (files, commands, the likely cause).', 'Use "ok" with no advice when the lead is on track \u2014 do not add advice for its own sake.'].join("\n") ?? null;
|
|
696
|
+
var TRIGGER_ASK = { plan: "The lead is about to plan. Point out anything it should know before choosing an approach.", done: "The lead is about to say it is done. Check the work against the request: anything missing, wrong or unverified?", error: "The lead hit the same error again. Diagnose the likely cause and the next thing to try.", ask: "The lead asked for your advice." };
|
|
697
|
+
function contentText(c) {
|
|
698
|
+
{
|
|
699
|
+
if (((__v) => __v == null ? "null" : typeof __v)(c) === "string") {
|
|
700
|
+
return c;
|
|
701
|
+
}
|
|
702
|
+
if (Array.isArray(c) ?? null) {
|
|
703
|
+
return (c.map((p) => {
|
|
704
|
+
{
|
|
705
|
+
return ((__v) => __v == null ? "null" : typeof __v)(p.text) === "string" ? p.text : "[image]";
|
|
706
|
+
}
|
|
707
|
+
}) ?? null).join(" ") ?? null;
|
|
708
|
+
}
|
|
709
|
+
return "";
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
function renderTranscript(messages, maxChars) {
|
|
713
|
+
{
|
|
714
|
+
let lines = [];
|
|
715
|
+
for (const m of messages) {
|
|
716
|
+
let text = contentText(m.content) ?? null;
|
|
717
|
+
if (Array.isArray(m.tool_calls) ?? null) {
|
|
718
|
+
for (const c of m.tool_calls) {
|
|
719
|
+
text = text + "\n\u2192 " + (c["function"] ?? null).name + " " + (c["function"] ?? null).arguments;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
lines.push("[" + m.role + (((__v) => __v == null ? "null" : typeof __v)(m.name) === "string" ? " " + m.name : "") + "] " + text) ?? null;
|
|
723
|
+
}
|
|
724
|
+
let all = lines.join("\n\n") ?? null;
|
|
725
|
+
return all.length > maxChars ? "\u2026" + (all.slice(all.length - maxChars) ?? null) : all;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
function parseAdvice(text) {
|
|
729
|
+
{
|
|
730
|
+
let t = text.trim() ?? null;
|
|
731
|
+
let start = t.indexOf("{") ?? null;
|
|
732
|
+
let end = t.lastIndexOf("}") ?? null;
|
|
733
|
+
if (start >= 0 && end > start) {
|
|
734
|
+
try {
|
|
735
|
+
{
|
|
736
|
+
let j = JSON.parse(t.slice(start, end + 1) ?? null) ?? null;
|
|
737
|
+
let advice = Array.isArray(j.advice) ?? null ? j.advice.filter((a) => {
|
|
738
|
+
{
|
|
739
|
+
return ((__v) => __v == null ? "null" : typeof __v)(a) === "string" && (a.trim() ?? null) !== "";
|
|
740
|
+
}
|
|
741
|
+
}) ?? null : [];
|
|
742
|
+
return { verdict: j.verdict === "ok" ? "ok" : "revise", advice };
|
|
743
|
+
}
|
|
744
|
+
} catch (e) {
|
|
745
|
+
{
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
return { verdict: t === "" ? "ok" : "revise", advice: t === "" ? [] : [t] };
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
function createAdvisor(opts) {
|
|
753
|
+
{
|
|
754
|
+
let call = roleModel(opts.callModel, opts.spec) ?? null;
|
|
755
|
+
let maxCalls = ((__v) => __v == null ? "null" : typeof __v)(opts.maxCalls) === "number" ? opts.maxCalls : 8;
|
|
756
|
+
let maxChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxChars) === "number" ? opts.maxChars : 6e5;
|
|
757
|
+
let triggers = opts.triggers ?? {};
|
|
758
|
+
let calls = 0;
|
|
759
|
+
let tokensRead = 0;
|
|
760
|
+
let emit = (e) => {
|
|
761
|
+
{
|
|
762
|
+
if (((__v) => __v == null ? "null" : typeof __v)(opts.onEvent) === "function") {
|
|
763
|
+
opts.onEvent(e) ?? null;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
};
|
|
767
|
+
return { stats: () => {
|
|
768
|
+
{
|
|
769
|
+
return { calls, tokensRead };
|
|
770
|
+
}
|
|
771
|
+
}, advise: async (req) => {
|
|
772
|
+
{
|
|
773
|
+
if ((triggers[req.trigger] ?? null) === false || calls >= maxCalls) {
|
|
774
|
+
return null;
|
|
775
|
+
}
|
|
776
|
+
let transcript = renderTranscript(req.messages, maxChars) ?? null;
|
|
777
|
+
calls = calls + 1;
|
|
778
|
+
tokensRead = tokensRead + (Math.ceil(transcript.length / 4) ?? null);
|
|
779
|
+
emit({ type: "advisor:call", trigger: req.trigger, model: opts.spec.model, calls, tokensRead }) ?? null;
|
|
780
|
+
let ask = (TRIGGER_ASK[req.trigger] ?? null) + (((__v) => __v == null ? "null" : typeof __v)(req.detail) === "string" && req.detail !== "" ? "\n\n" + req.detail : "");
|
|
781
|
+
let turn = null;
|
|
782
|
+
try {
|
|
783
|
+
{
|
|
784
|
+
turn = await (call([{ role: "system", content: ((__v) => __v == null ? "null" : typeof __v)(opts.guidance) === "string" && (opts.guidance.trim() ?? null) !== "" ? ADVISOR_PROMPT + "\n\nGuidance for this kind of task:\n" + (opts.guidance.trim() ?? null) : ADVISOR_PROMPT }, { role: "user", content: "The session so far:\n\n" + transcript + "\n\n---\n" + ask }], [], {}, null, null) ?? null);
|
|
785
|
+
}
|
|
786
|
+
} catch (err) {
|
|
787
|
+
{
|
|
788
|
+
return null;
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
let parsed = parseAdvice(turn.text ?? "") ?? null;
|
|
792
|
+
emit({ type: "advisor:advice", trigger: req.trigger, model: opts.spec.model, calls, tokensRead, advice: parsed.advice, verdict: parsed.verdict }) ?? null;
|
|
793
|
+
if (parsed.verdict === "ok" || parsed.advice.length === 0) {
|
|
794
|
+
return null;
|
|
795
|
+
}
|
|
796
|
+
return "Advisor (" + req.trigger + "):\n" + ((parsed.advice.map((a) => {
|
|
797
|
+
{
|
|
798
|
+
return "\xBB " + a;
|
|
799
|
+
}
|
|
800
|
+
}) ?? null).join("\n") ?? null);
|
|
801
|
+
}
|
|
802
|
+
} };
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
function errorSignature(run) {
|
|
806
|
+
{
|
|
807
|
+
let s = (run.summary ?? "").toLowerCase() ?? null;
|
|
808
|
+
let out = "";
|
|
809
|
+
for (const ch of s) {
|
|
810
|
+
out = out + (ch >= "0" && ch <= "9" ? "#" : ch);
|
|
811
|
+
}
|
|
812
|
+
return run.name + ":" + (out.slice(0, 200) ?? null);
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/context.js
|
|
817
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
818
|
+
var RENDER_TURN_PREFIX = "Result of ";
|
|
819
|
+
var KEEP_IMAGE_TURNS = 2;
|
|
820
|
+
function sizeOf(messages) {
|
|
821
|
+
{
|
|
822
|
+
return (JSON.stringify(messages) ?? null).length;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
function isRenderTurn(m) {
|
|
826
|
+
{
|
|
827
|
+
if (m.role !== "user" || !(Array.isArray(m.content) ?? null) || m.content.length === 0) {
|
|
828
|
+
return false;
|
|
829
|
+
}
|
|
830
|
+
let first = m.content[0] ?? null;
|
|
831
|
+
return first.type === "text" && ((__v) => __v == null ? "null" : typeof __v)(first.text) === "string" && (first.text.startsWith(RENDER_TURN_PREFIX) ?? null);
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
function countImages(parts) {
|
|
835
|
+
{
|
|
836
|
+
return (parts.filter((p) => {
|
|
837
|
+
{
|
|
838
|
+
return p.type === "image_url";
|
|
839
|
+
}
|
|
840
|
+
}) ?? null).length;
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
function textOf(parts) {
|
|
844
|
+
{
|
|
845
|
+
return ((parts.filter((p) => {
|
|
846
|
+
{
|
|
847
|
+
return p.type === "text" && ((__v) => __v == null ? "null" : typeof __v)(p.text) === "string" && p.text !== "";
|
|
848
|
+
}
|
|
849
|
+
}) ?? null).map((p) => {
|
|
850
|
+
{
|
|
851
|
+
return p.text;
|
|
852
|
+
}
|
|
853
|
+
}) ?? null).join(" ") ?? null;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
function imagesLabel(n) {
|
|
857
|
+
{
|
|
858
|
+
return n === 1 ? "image" : (String(n) ?? null) + " images";
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
function pruneOldImages(messages, keep) {
|
|
862
|
+
{
|
|
863
|
+
let limit = ((__v) => __v == null ? "null" : typeof __v)(keep) === "number" ? keep : KEEP_IMAGE_TURNS;
|
|
864
|
+
let seen = 0;
|
|
865
|
+
let i = messages.length - 1;
|
|
866
|
+
while (i >= 0) {
|
|
867
|
+
let m = messages[i] ?? null;
|
|
868
|
+
if ((isRenderTurn(m) ?? null) && (countImages(m.content) ?? null) > 0) {
|
|
869
|
+
seen = seen + 1;
|
|
870
|
+
if (seen > limit) {
|
|
871
|
+
let note = (textOf(m.content) ?? null) + " [" + (imagesLabel(countImages(m.content) ?? null) ?? null) + " omitted: superseded by a later view.]";
|
|
872
|
+
messages[i] = { ...m, content: note.trim() ?? null };
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
i = i - 1;
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
function fitImagesToBudget(messages, budget) {
|
|
880
|
+
{
|
|
881
|
+
if ((sizeOf(messages) ?? null) <= budget) {
|
|
882
|
+
return;
|
|
883
|
+
}
|
|
884
|
+
let i = 0;
|
|
885
|
+
while (i < messages.length && (sizeOf(messages) ?? null) > budget) {
|
|
886
|
+
let m = messages[i] ?? null;
|
|
887
|
+
if (isRenderTurn(m) ?? null) {
|
|
888
|
+
let parts = m.content.slice() ?? null;
|
|
889
|
+
let dropped = 0;
|
|
890
|
+
let j = parts.length - 1;
|
|
891
|
+
while (j >= 0 && (sizeOf(messages) ?? null) > budget) {
|
|
892
|
+
if ((parts[j] ?? null).type === "image_url") {
|
|
893
|
+
parts.splice(j, 1) ?? null;
|
|
894
|
+
dropped = dropped + 1;
|
|
895
|
+
messages[i] = { ...m, content: parts.slice() ?? null };
|
|
896
|
+
}
|
|
897
|
+
j = j - 1;
|
|
898
|
+
}
|
|
899
|
+
if (dropped > 0) {
|
|
900
|
+
let label = dropped === 1 ? "1 image" : (String(dropped) ?? null) + " images";
|
|
901
|
+
let note = (textOf(parts) ?? null) + " [" + label + " omitted to keep the request under the size limit.]";
|
|
902
|
+
messages[i] = { ...m, content: note.trim() ?? null };
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
i = i + 1;
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
function safeTailStart(messages, want) {
|
|
910
|
+
{
|
|
911
|
+
let i = Math.max(1, messages.length - want) ?? null;
|
|
912
|
+
while (i < messages.length && (messages[i] ?? null).role === "tool") {
|
|
913
|
+
i = i + 1;
|
|
914
|
+
}
|
|
915
|
+
return i;
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
async function compactTranscript(messages, opts) {
|
|
919
|
+
{
|
|
920
|
+
if ((sizeOf(messages) ?? null) <= opts.maxChars) {
|
|
921
|
+
return false;
|
|
922
|
+
}
|
|
923
|
+
let head = messages.length > 0 && (messages[0] ?? null).role === "system" ? 1 : 0;
|
|
924
|
+
let firstUser = -1;
|
|
925
|
+
let k = head;
|
|
926
|
+
while (k < messages.length && firstUser < 0) {
|
|
927
|
+
if ((messages[k] ?? null).role === "user") {
|
|
928
|
+
firstUser = k;
|
|
929
|
+
}
|
|
930
|
+
k = k + 1;
|
|
931
|
+
}
|
|
932
|
+
let keepFrom = firstUser >= 0 ? firstUser + 1 : head;
|
|
933
|
+
let tail = safeTailStart(messages, ((__v) => __v == null ? "null" : typeof __v)(opts.keepRecent) === "number" ? opts.keepRecent : 12) ?? null;
|
|
934
|
+
if (tail <= keepFrom) {
|
|
935
|
+
return false;
|
|
936
|
+
}
|
|
937
|
+
let dropped = messages.slice(keepFrom, tail) ?? null;
|
|
938
|
+
let summary = "";
|
|
939
|
+
if (((__v) => __v == null ? "null" : typeof __v)(opts.summarize) === "function") {
|
|
940
|
+
try {
|
|
941
|
+
{
|
|
942
|
+
summary = await (opts.summarize(dropped) ?? null);
|
|
943
|
+
}
|
|
944
|
+
} catch (e) {
|
|
945
|
+
{
|
|
946
|
+
summary = "";
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
let content = summary !== "" ? "Summary of the earlier work in this session (the details were compacted to save space):\n" + summary : "[" + (String(dropped.length) ?? null) + " earlier messages were compacted to save space. Look again at anything you need from them.]";
|
|
951
|
+
messages.splice(keepFrom, dropped.length, { role: "user", content }) ?? null;
|
|
952
|
+
return true;
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/loop.js
|
|
957
|
+
var DEFAULT_MAX_ROUNDS = 40;
|
|
958
|
+
var DEFAULT_MAX_PARALLEL = 4;
|
|
959
|
+
var DEFAULT_ACTION_NUDGE = "You have not changed anything yet. Stop reading and do what was asked now, with the tools that make changes. If you truly cannot, say exactly what is blocking you.";
|
|
960
|
+
var RENDER_TURN_PREFIX2 = "Result of ";
|
|
961
|
+
var RECOVERABLE_WORDS = ["timeout", "timed out", "stalled", "network", "fetch failed", "econnreset", "socket", "stream"];
|
|
962
|
+
function batchCalls(calls, isParallel, max) {
|
|
963
|
+
{
|
|
964
|
+
let batches = [];
|
|
965
|
+
for (const call of calls) {
|
|
966
|
+
let last = batches.length > 0 ? batches[batches.length - 1] ?? null : null;
|
|
967
|
+
let parallel = isParallel(call.name) ?? null;
|
|
968
|
+
if (parallel && last != null && last.length < max && (isParallel((last[0] ?? null).name) ?? null)) {
|
|
969
|
+
last.push(call) ?? null;
|
|
970
|
+
} else {
|
|
971
|
+
batches.push([call]) ?? null;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
return batches;
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
function truncateResult(text, max) {
|
|
978
|
+
{
|
|
979
|
+
if (text.length <= max) {
|
|
980
|
+
return text;
|
|
981
|
+
}
|
|
982
|
+
return (text.slice(0, max) ?? null) + "\n\u2026[truncated " + (String(text.length - max) ?? null) + " characters]";
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
function defaultIsRecoverable(err) {
|
|
986
|
+
{
|
|
987
|
+
if (err == null || ((__v) => __v == null ? "null" : typeof __v)(err) !== "object") {
|
|
988
|
+
return false;
|
|
989
|
+
}
|
|
990
|
+
if (((__v) => __v == null ? "null" : typeof __v)(err.status) === "number") {
|
|
991
|
+
return err.status >= 500 || err.status === 408 || err.status === 429;
|
|
992
|
+
}
|
|
993
|
+
let text = ((String(err.name ?? "") ?? null) + " " + (String(err.code ?? "") ?? null) + " " + (String(err.message ?? "") ?? null)).toLowerCase() ?? null;
|
|
994
|
+
return RECOVERABLE_WORDS.some((w) => {
|
|
995
|
+
{
|
|
996
|
+
return text.includes(w) ?? null;
|
|
997
|
+
}
|
|
998
|
+
}) ?? null;
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
function errorMessage(err) {
|
|
1002
|
+
{
|
|
1003
|
+
if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
|
|
1004
|
+
return err.message;
|
|
1005
|
+
}
|
|
1006
|
+
return String(err) ?? null;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
function repairTranscript(messages) {
|
|
1010
|
+
{
|
|
1011
|
+
let i = 0;
|
|
1012
|
+
while (i < messages.length) {
|
|
1013
|
+
let m = messages[i] ?? null;
|
|
1014
|
+
if (m.role === "assistant" && (Array.isArray(m.tool_calls) ?? null) && m.tool_calls.length > 0) {
|
|
1015
|
+
let j = i + 1;
|
|
1016
|
+
let answered = /* @__PURE__ */ new Set() ?? null;
|
|
1017
|
+
while (j < messages.length && (messages[j] ?? null).role === "tool") {
|
|
1018
|
+
answered.add((messages[j] ?? null).tool_call_id ?? "") ?? null;
|
|
1019
|
+
j = j + 1;
|
|
1020
|
+
}
|
|
1021
|
+
let missing = m.tool_calls.filter((c) => {
|
|
1022
|
+
{
|
|
1023
|
+
return !(answered.has(c.id) ?? null);
|
|
1024
|
+
}
|
|
1025
|
+
}) ?? null;
|
|
1026
|
+
if (missing.length > 0) {
|
|
1027
|
+
let fillers = missing.map((c) => {
|
|
1028
|
+
{
|
|
1029
|
+
return { role: "tool", tool_call_id: c.id, name: (c["function"] ?? null).name, content: JSON.stringify({ error: "interrupted: this call did not finish (the session was interrupted). Check its effect and run it again if needed." }) ?? null };
|
|
1030
|
+
}
|
|
1031
|
+
}) ?? null;
|
|
1032
|
+
messages.splice(j, 0, ...fillers) ?? null;
|
|
1033
|
+
i = j + missing.length - 1;
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
i = i + 1;
|
|
1037
|
+
}
|
|
1038
|
+
return messages;
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
function hook(hooks, name) {
|
|
1042
|
+
{
|
|
1043
|
+
if (hooks == null || ((__v) => __v == null ? "null" : typeof __v)(hooks) !== "object") {
|
|
1044
|
+
return null;
|
|
1045
|
+
}
|
|
1046
|
+
let h = hooks[name] ?? null;
|
|
1047
|
+
return ((__v) => __v == null ? "null" : typeof __v)(h) === "function" ? h : null;
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
async function runAgentLoop(opts) {
|
|
1051
|
+
{
|
|
1052
|
+
let maxRounds = ((__v) => __v == null ? "null" : typeof __v)(opts.maxRounds) === "number" ? opts.maxRounds : DEFAULT_MAX_ROUNDS;
|
|
1053
|
+
let maxResultChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxResultChars) === "number" ? opts.maxResultChars : 8e3;
|
|
1054
|
+
let maxParallel = ((__v) => __v == null ? "null" : typeof __v)(opts.maxParallel) === "number" ? opts.maxParallel : DEFAULT_MAX_PARALLEL;
|
|
1055
|
+
let hooks = opts.hooks ?? null;
|
|
1056
|
+
let specs = opts.tools.map((t) => {
|
|
1057
|
+
{
|
|
1058
|
+
return t.spec;
|
|
1059
|
+
}
|
|
1060
|
+
}) ?? null;
|
|
1061
|
+
let parallelNames = new Set((opts.tools.filter((t) => {
|
|
1062
|
+
{
|
|
1063
|
+
return t.readOnly === true;
|
|
1064
|
+
}
|
|
1065
|
+
}) ?? null).map((t) => {
|
|
1066
|
+
{
|
|
1067
|
+
return (t.spec["function"] ?? null).name;
|
|
1068
|
+
}
|
|
1069
|
+
}) ?? null) ?? null;
|
|
1070
|
+
let actingNames = new Set((opts.tools.filter((t) => {
|
|
1071
|
+
{
|
|
1072
|
+
return ((__v) => __v == null ? "null" : typeof __v)(t.acts) === "boolean" ? t.acts : t.readOnly !== true;
|
|
1073
|
+
}
|
|
1074
|
+
}) ?? null).map((t) => {
|
|
1075
|
+
{
|
|
1076
|
+
return (t.spec["function"] ?? null).name;
|
|
1077
|
+
}
|
|
1078
|
+
}) ?? null) ?? null;
|
|
1079
|
+
let require2 = null;
|
|
1080
|
+
if (opts.requireAction === true) {
|
|
1081
|
+
require2 = {};
|
|
1082
|
+
}
|
|
1083
|
+
if (opts.requireAction != null && ((__v) => __v == null ? "null" : typeof __v)(opts.requireAction) === "object") {
|
|
1084
|
+
require2 = opts.requireAction;
|
|
1085
|
+
}
|
|
1086
|
+
let resume = opts.resumeState ?? {};
|
|
1087
|
+
let nudgesLeft = ((__v) => __v == null ? "null" : typeof __v)(resume.nudgesLeft) === "number" ? resume.nudgesLeft : require2 != null ? ((__v) => __v == null ? "null" : typeof __v)(require2.nudges) === "number" ? require2.nudges : 2 : 0;
|
|
1088
|
+
let signal = opts.signal ?? null;
|
|
1089
|
+
let isStopped = () => {
|
|
1090
|
+
{
|
|
1091
|
+
if (signal != null && signal.aborted === true) {
|
|
1092
|
+
return true;
|
|
1093
|
+
}
|
|
1094
|
+
return ((__v) => __v == null ? "null" : typeof __v)(opts.stopped) === "function" && (opts.stopped() ?? null) === true;
|
|
1095
|
+
}
|
|
1096
|
+
};
|
|
1097
|
+
let messages = repairTranscript(opts.messages.slice() ?? null) ?? null;
|
|
1098
|
+
let text = "";
|
|
1099
|
+
let acted = resume.acted === true;
|
|
1100
|
+
let retries = ((__v) => __v == null ? "null" : typeof __v)(opts.modelRetries) === "number" ? opts.modelRetries : 2;
|
|
1101
|
+
let recoverable = ((__v) => __v == null ? "null" : typeof __v)(opts.isRecoverable) === "function" ? opts.isRecoverable : defaultIsRecoverable;
|
|
1102
|
+
let ctx = opts.context ?? {};
|
|
1103
|
+
let maxRequestChars = ((__v) => __v == null ? "null" : typeof __v)(ctx.maxRequestChars) === "number" ? ctx.maxRequestChars : 43e5;
|
|
1104
|
+
let save = async (round2, done) => {
|
|
1105
|
+
{
|
|
1106
|
+
if (((__v) => __v == null ? "null" : typeof __v)(opts.checkpoint) === "function") {
|
|
1107
|
+
await (opts.checkpoint({ messages: messages.slice() ?? null, round: round2, acted, nudgesLeft, done }) ?? null);
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
};
|
|
1111
|
+
let drain = () => {
|
|
1112
|
+
{
|
|
1113
|
+
if (((__v) => __v == null ? "null" : typeof __v)(opts.drainNotifications) !== "function") {
|
|
1114
|
+
return [];
|
|
1115
|
+
}
|
|
1116
|
+
let notes = opts.drainNotifications() ?? null;
|
|
1117
|
+
return Array.isArray(notes) ?? null ? notes : [];
|
|
1118
|
+
}
|
|
1119
|
+
};
|
|
1120
|
+
let modelHooks = { onTextDelta: hook(hooks, "onTextDelta") ?? null, onReasoningDelta: hook(hooks, "onReasoningDelta") ?? null, onToolProgress: hook(hooks, "onToolProgress") ?? null };
|
|
1121
|
+
let choiceFor = (round2) => {
|
|
1122
|
+
{
|
|
1123
|
+
let c = opts.toolChoice ?? null;
|
|
1124
|
+
if (((__v) => __v == null ? "null" : typeof __v)(c) === "function") {
|
|
1125
|
+
c = c(round2) ?? null ?? null;
|
|
1126
|
+
}
|
|
1127
|
+
return c;
|
|
1128
|
+
}
|
|
1129
|
+
};
|
|
1130
|
+
let call = async (msgs, tools, choice) => {
|
|
1131
|
+
{
|
|
1132
|
+
let attempt = 0;
|
|
1133
|
+
while (true) {
|
|
1134
|
+
try {
|
|
1135
|
+
{
|
|
1136
|
+
if (choice == null || tools.length === 0) {
|
|
1137
|
+
return await (opts.callModel(msgs, tools, modelHooks, signal) ?? null);
|
|
1138
|
+
}
|
|
1139
|
+
return await (opts.callModel(msgs, tools, modelHooks, signal, { toolChoice: choice }) ?? null);
|
|
1140
|
+
}
|
|
1141
|
+
} catch (err) {
|
|
1142
|
+
{
|
|
1143
|
+
if ((isStopped() ?? null) || attempt >= retries || !(recoverable(err) ?? null)) {
|
|
1144
|
+
throw err;
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
attempt = attempt + 1;
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
};
|
|
1152
|
+
let advise = ((__v) => __v == null ? "null" : typeof __v)(opts.advise) === "function" ? opts.advise : null;
|
|
1153
|
+
let route = ((__v) => __v == null ? "null" : typeof __v)(opts.route) === "function" ? opts.route : null;
|
|
1154
|
+
let errorCounts = /* @__PURE__ */ new Map() ?? null;
|
|
1155
|
+
let doneChecked = false;
|
|
1156
|
+
let consult = async (trigger, detail) => {
|
|
1157
|
+
{
|
|
1158
|
+
if (advise == null) {
|
|
1159
|
+
return false;
|
|
1160
|
+
}
|
|
1161
|
+
let note = null;
|
|
1162
|
+
try {
|
|
1163
|
+
{
|
|
1164
|
+
note = await (advise({ trigger, messages: messages.slice() ?? null, detail }) ?? null);
|
|
1165
|
+
}
|
|
1166
|
+
} catch (e) {
|
|
1167
|
+
{
|
|
1168
|
+
note = null;
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
if (((__v) => __v == null ? "null" : typeof __v)(note) !== "string" || note === "") {
|
|
1172
|
+
return false;
|
|
1173
|
+
}
|
|
1174
|
+
messages.push({ role: "user", content: note }) ?? null;
|
|
1175
|
+
return true;
|
|
1176
|
+
}
|
|
1177
|
+
};
|
|
1178
|
+
let round = ((__v) => __v == null ? "null" : typeof __v)(resume.round) === "number" ? resume.round : 0;
|
|
1179
|
+
if (round === 0) {
|
|
1180
|
+
await (consult("plan", null) ?? null);
|
|
1181
|
+
}
|
|
1182
|
+
while (maxRounds === 0 || round < maxRounds) {
|
|
1183
|
+
if (isStopped() ?? null) {
|
|
1184
|
+
await (save(round, true) ?? null);
|
|
1185
|
+
return { messages, text, rounds: round, exhausted: false, stopped: true, acted };
|
|
1186
|
+
}
|
|
1187
|
+
for (const note of drain() ?? null) {
|
|
1188
|
+
messages.push({ role: "user", content: note }) ?? null;
|
|
1189
|
+
}
|
|
1190
|
+
pruneOldImages(messages, ctx.keepImageTurns ?? null) ?? null;
|
|
1191
|
+
if (ctx.compact != null && ((__v) => __v == null ? "null" : typeof __v)(ctx.compact) === "object") {
|
|
1192
|
+
await (compactTranscript(messages, ctx.compact) ?? null);
|
|
1193
|
+
}
|
|
1194
|
+
fitImagesToBudget(messages, maxRequestChars - (JSON.stringify(specs) ?? null).length) ?? null;
|
|
1195
|
+
let onStart = hook(hooks, "onAssistantStart") ?? null;
|
|
1196
|
+
if (onStart != null) {
|
|
1197
|
+
onStart(round) ?? null;
|
|
1198
|
+
}
|
|
1199
|
+
let choice = choiceFor(round) ?? null;
|
|
1200
|
+
if (choice == null && route != null && specs.length > 0) {
|
|
1201
|
+
try {
|
|
1202
|
+
{
|
|
1203
|
+
choice = await (route({ round, messages: messages.slice() ?? null, tools: specs }) ?? null);
|
|
1204
|
+
}
|
|
1205
|
+
} catch (e) {
|
|
1206
|
+
{
|
|
1207
|
+
choice = null;
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
let turn = await (call(messages, specs, choice ?? null) ?? null);
|
|
1212
|
+
text = turn.text;
|
|
1213
|
+
let toolCalls = Array.isArray(turn.toolCalls) ?? null ? turn.toolCalls : [];
|
|
1214
|
+
if (toolCalls.length > 0) {
|
|
1215
|
+
messages.push({ role: "assistant", content: turn.text, tool_calls: toolCalls.map((c) => {
|
|
1216
|
+
{
|
|
1217
|
+
return { id: c.id, type: "function", function: { name: c.name, arguments: c.arguments } };
|
|
1218
|
+
}
|
|
1219
|
+
}) ?? null }) ?? null;
|
|
1220
|
+
} else {
|
|
1221
|
+
messages.push({ role: "assistant", content: turn.text }) ?? null;
|
|
1222
|
+
}
|
|
1223
|
+
if (toolCalls.length === 0) {
|
|
1224
|
+
let onEnd = hook(hooks, "onRoundEnd") ?? null;
|
|
1225
|
+
if (onEnd != null) {
|
|
1226
|
+
onEnd(round) ?? null;
|
|
1227
|
+
}
|
|
1228
|
+
let late = drain() ?? null;
|
|
1229
|
+
if (late.length > 0) {
|
|
1230
|
+
for (const note of late) {
|
|
1231
|
+
messages.push({ role: "user", content: note }) ?? null;
|
|
1232
|
+
}
|
|
1233
|
+
round = round + 1;
|
|
1234
|
+
continue;
|
|
1235
|
+
}
|
|
1236
|
+
if (!doneChecked) {
|
|
1237
|
+
doneChecked = true;
|
|
1238
|
+
if (await (consult("done", null) ?? null)) {
|
|
1239
|
+
await (save(round + 1, false) ?? null);
|
|
1240
|
+
round = round + 1;
|
|
1241
|
+
continue;
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
if (require2 != null && !acted && nudgesLeft > 0 && actingNames.size > 0) {
|
|
1245
|
+
nudgesLeft = nudgesLeft - 1;
|
|
1246
|
+
let nudge = ((__v) => __v == null ? "null" : typeof __v)(require2.message) === "string" ? require2.message : DEFAULT_ACTION_NUDGE;
|
|
1247
|
+
let onNudge = hook(hooks, "onNudge") ?? null;
|
|
1248
|
+
if (onNudge != null) {
|
|
1249
|
+
onNudge(nudge) ?? null;
|
|
1250
|
+
}
|
|
1251
|
+
messages.push({ role: "user", content: nudge }) ?? null;
|
|
1252
|
+
await (save(round + 1, false) ?? null);
|
|
1253
|
+
round = round + 1;
|
|
1254
|
+
continue;
|
|
1255
|
+
}
|
|
1256
|
+
await (save(round + 1, true) ?? null);
|
|
1257
|
+
return { messages, text, rounds: round + 1, exhausted: false, stopped: false, acted };
|
|
1258
|
+
}
|
|
1259
|
+
let calls = toolCalls.map((c) => {
|
|
1260
|
+
{
|
|
1261
|
+
return { id: c.id, name: c.name, argsText: c.arguments };
|
|
1262
|
+
}
|
|
1263
|
+
}) ?? null;
|
|
1264
|
+
let imageTurns = [];
|
|
1265
|
+
let repeated = [];
|
|
1266
|
+
doneChecked = false;
|
|
1267
|
+
for (const batch of batchCalls(calls, (n) => {
|
|
1268
|
+
{
|
|
1269
|
+
return parallelNames.has(n) ?? null;
|
|
1270
|
+
}
|
|
1271
|
+
}, maxParallel) ?? null) {
|
|
1272
|
+
if (isStopped() ?? null) {
|
|
1273
|
+
for (const c of calls) {
|
|
1274
|
+
let answered = messages.some((m) => {
|
|
1275
|
+
{
|
|
1276
|
+
return m.role === "tool" && m.tool_call_id === c.id;
|
|
1277
|
+
}
|
|
1278
|
+
}) ?? null;
|
|
1279
|
+
if (!answered) {
|
|
1280
|
+
messages.push({ role: "tool", tool_call_id: c.id, name: c.name, content: JSON.stringify({ error: "stopped" }) ?? null }) ?? null;
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
await (save(round + 1, true) ?? null);
|
|
1284
|
+
return { messages, text, rounds: round + 1, exhausted: false, stopped: true, acted };
|
|
1285
|
+
}
|
|
1286
|
+
let onToolStart = hook(hooks, "onToolStart") ?? null;
|
|
1287
|
+
if (onToolStart != null) {
|
|
1288
|
+
for (const info of batch) {
|
|
1289
|
+
onToolStart(info) ?? null;
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
let runs2 = await (Promise.all(batch.map(async (info) => {
|
|
1293
|
+
{
|
|
1294
|
+
try {
|
|
1295
|
+
{
|
|
1296
|
+
return await (opts.execTool(info) ?? null);
|
|
1297
|
+
}
|
|
1298
|
+
} catch (err) {
|
|
1299
|
+
{
|
|
1300
|
+
let message = errorMessage(err) ?? null;
|
|
1301
|
+
return { id: info.id, name: info.name, argsText: info.argsText, ok: false, summary: message, content: JSON.stringify({ error: message }) ?? null };
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
}) ?? null) ?? null);
|
|
1306
|
+
let onToolEnd = hook(hooks, "onToolEnd") ?? null;
|
|
1307
|
+
for (const run of runs2) {
|
|
1308
|
+
let actedHere = ((__v) => __v == null ? "null" : typeof __v)(run.acted) === "boolean" ? run.acted : actingNames.has(run.name) ?? null;
|
|
1309
|
+
if (run.ok === true && actedHere) {
|
|
1310
|
+
acted = true;
|
|
1311
|
+
}
|
|
1312
|
+
if (onToolEnd != null) {
|
|
1313
|
+
onToolEnd(run) ?? null;
|
|
1314
|
+
}
|
|
1315
|
+
if (run.ok !== true && advise != null) {
|
|
1316
|
+
let sig = errorSignature(run) ?? null;
|
|
1317
|
+
let n = (errorCounts.get(sig) ?? null ?? 0) + 1;
|
|
1318
|
+
errorCounts.set(sig, n) ?? null;
|
|
1319
|
+
if (n === REPEATED_ERROR_COUNT) {
|
|
1320
|
+
repeated.push(run.name + ": " + run.summary) ?? null;
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
messages.push({ role: "tool", tool_call_id: run.id, name: run.name, content: truncateResult(run.content, maxResultChars) ?? null }) ?? null;
|
|
1324
|
+
if ((Array.isArray(run.images) ?? null) && run.images.length > 0) {
|
|
1325
|
+
let label = run.images.length === 1 ? "the rendered view" : (String(run.images.length) ?? null) + " rendered views";
|
|
1326
|
+
let parts = [{ type: "text", text: RENDER_TURN_PREFIX2 + run.name + ": " + label + "." }];
|
|
1327
|
+
for (const url of run.images) {
|
|
1328
|
+
parts.push({ type: "image_url", image_url: { url } }) ?? null;
|
|
1329
|
+
}
|
|
1330
|
+
imageTurns.push({ role: "user", content: parts }) ?? null;
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
for (const m of imageTurns) {
|
|
1335
|
+
messages.push(m) ?? null;
|
|
1336
|
+
}
|
|
1337
|
+
for (const err of repeated) {
|
|
1338
|
+
await (consult("error", "The error, seen " + (String(REPEATED_ERROR_COUNT) ?? null) + " times: " + err) ?? null);
|
|
1339
|
+
}
|
|
1340
|
+
let onRoundEnd = hook(hooks, "onRoundEnd") ?? null;
|
|
1341
|
+
if (onRoundEnd != null) {
|
|
1342
|
+
onRoundEnd(round) ?? null;
|
|
1343
|
+
}
|
|
1344
|
+
await (save(round + 1, false) ?? null);
|
|
1345
|
+
round = round + 1;
|
|
1346
|
+
}
|
|
1347
|
+
messages.push({ role: "user", content: "You have reached the tool limit for this turn. Summarise what you changed and what is left, without calling more tools." }) ?? null;
|
|
1348
|
+
let final = await (call(messages, [], null) ?? null);
|
|
1349
|
+
messages.push({ role: "assistant", content: final.text }) ?? null;
|
|
1350
|
+
await (save(maxRounds, true) ?? null);
|
|
1351
|
+
return { messages, text: final.text, rounds: maxRounds, exhausted: true, stopped: false, acted };
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/runtime.js
|
|
1356
|
+
var delay2 = ((ms) => new Promise((settle) => setTimeout(() => settle(null), Math.max(0, Number(ms) || 0))));
|
|
1357
|
+
var REPORT_TOOL = "report_to_parent";
|
|
1358
|
+
var REPORT_SPEC = { readOnly: true, acts: false, spec: { type: "function", function: { name: REPORT_TOOL, description: "Send the main agent a progress update, or a question (set question) when you need a decision you cannot make yourself. It arrives between its steps and it answers with a message you read at your next step \u2014 keep working on what you can meanwhile. Your final answer still goes back by itself when you finish.", parameters: { type: "object", properties: { message: { type: "string", description: "What to tell the main agent." }, question: { type: "boolean", description: "This needs an answer." } }, required: ["message"] } } } };
|
|
1359
|
+
var WAIT_STEP_MS = 25;
|
|
1360
|
+
function isBusy(s) {
|
|
1361
|
+
{
|
|
1362
|
+
return s != null && (s.status === "running" || s.status === "queued");
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
function plainStopControl() {
|
|
1366
|
+
{
|
|
1367
|
+
let flag = { aborted: false };
|
|
1368
|
+
return { signal: flag, stop: () => {
|
|
1369
|
+
{
|
|
1370
|
+
flag.aborted = true;
|
|
1371
|
+
}
|
|
1372
|
+
} };
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
function allSessions(sessions) {
|
|
1376
|
+
{
|
|
1377
|
+
let out = [];
|
|
1378
|
+
for (const s of sessions.values() ?? null) {
|
|
1379
|
+
out.push(s) ?? null;
|
|
1380
|
+
}
|
|
1381
|
+
return out;
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
function errorMessage2(err) {
|
|
1385
|
+
{
|
|
1386
|
+
if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
|
|
1387
|
+
return err.message;
|
|
1388
|
+
}
|
|
1389
|
+
return String(err) ?? null;
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
function createAgentRuntime(host) {
|
|
1393
|
+
{
|
|
1394
|
+
let sessions = /* @__PURE__ */ new Map() ?? null;
|
|
1395
|
+
let controls = /* @__PURE__ */ new Map() ?? null;
|
|
1396
|
+
let parentQueue = [];
|
|
1397
|
+
let loaded = false;
|
|
1398
|
+
let loading = null;
|
|
1399
|
+
let active = 0;
|
|
1400
|
+
let waiting = [];
|
|
1401
|
+
let listeners = [];
|
|
1402
|
+
let pendingSaves = 0;
|
|
1403
|
+
let orch = host.orchestration ?? null;
|
|
1404
|
+
let maxConcurrent = () => {
|
|
1405
|
+
{
|
|
1406
|
+
let h = ((__v) => __v == null ? "null" : typeof __v)(host.maxConcurrent) === "function" ? host.maxConcurrent() ?? null : host.maxConcurrent;
|
|
1407
|
+
if (((__v) => __v == null ? "null" : typeof __v)(h) === "number" && h > 0) {
|
|
1408
|
+
return h;
|
|
1409
|
+
}
|
|
1410
|
+
let o = orch != null ? orch.maxConcurrent ?? null : null;
|
|
1411
|
+
return ((__v) => __v == null ? "null" : typeof __v)(o) === "number" && o > 0 ? o : 4;
|
|
1412
|
+
}
|
|
1413
|
+
};
|
|
1414
|
+
let now = () => {
|
|
1415
|
+
{
|
|
1416
|
+
return ((__v) => __v == null ? "null" : typeof __v)(host.now) === "function" ? host.now() ?? null : Date.now() ?? null;
|
|
1417
|
+
}
|
|
1418
|
+
};
|
|
1419
|
+
let changed = () => {
|
|
1420
|
+
{
|
|
1421
|
+
if (((__v) => __v == null ? "null" : typeof __v)(host.onChange) === "function") {
|
|
1422
|
+
host.onChange() ?? null;
|
|
1423
|
+
}
|
|
1424
|
+
for (const l of listeners.slice() ?? null) {
|
|
1425
|
+
l() ?? null;
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
};
|
|
1429
|
+
let emit = (e) => {
|
|
1430
|
+
{
|
|
1431
|
+
if (((__v) => __v == null ? "null" : typeof __v)(host.onEvent) === "function") {
|
|
1432
|
+
host.onEvent(e) ?? null;
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
};
|
|
1436
|
+
let sessionEvent = (s) => {
|
|
1437
|
+
{
|
|
1438
|
+
emit({ type: "session", sessionId: s.id, status: s.status, profile: s.profile, description: s.description }) ?? null;
|
|
1439
|
+
}
|
|
1440
|
+
};
|
|
1441
|
+
let persist = (s) => {
|
|
1442
|
+
{
|
|
1443
|
+
changed() ?? null;
|
|
1444
|
+
if (host.store == null || ((__v) => __v == null ? "null" : typeof __v)(host.store) !== "object") {
|
|
1445
|
+
return;
|
|
1446
|
+
}
|
|
1447
|
+
pendingSaves = pendingSaves + 1;
|
|
1448
|
+
let save = async () => {
|
|
1449
|
+
{
|
|
1450
|
+
try {
|
|
1451
|
+
{
|
|
1452
|
+
await (host.store.save(s) ?? null);
|
|
1453
|
+
}
|
|
1454
|
+
} catch (e) {
|
|
1455
|
+
{
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
pendingSaves = pendingSaves - 1;
|
|
1459
|
+
}
|
|
1460
|
+
};
|
|
1461
|
+
save() ?? null;
|
|
1462
|
+
}
|
|
1463
|
+
};
|
|
1464
|
+
let profileById = (id) => {
|
|
1465
|
+
{
|
|
1466
|
+
let found = (host.profiles() ?? null).filter((p) => {
|
|
1467
|
+
{
|
|
1468
|
+
return p.id === id;
|
|
1469
|
+
}
|
|
1470
|
+
}) ?? null;
|
|
1471
|
+
return found.length > 0 ? found[0] ?? null : null;
|
|
1472
|
+
}
|
|
1473
|
+
};
|
|
1474
|
+
let report = (fromId, text, question) => {
|
|
1475
|
+
{
|
|
1476
|
+
let s = sessions.get(fromId) ?? null ?? null;
|
|
1477
|
+
let who = "agent " + fromId + (s != null ? " (" + s.profile + ")" : "");
|
|
1478
|
+
let asks = question === true;
|
|
1479
|
+
parentQueue.push(asks ? "QUESTION from " + who + " \u2014 it needs your answer (send_message " + fromId + "):\n" + text : "Report from " + who + ":\n" + text) ?? null;
|
|
1480
|
+
emit({ type: "report", sessionId: fromId, message: text, question: asks }) ?? null;
|
|
1481
|
+
changed() ?? null;
|
|
1482
|
+
}
|
|
1483
|
+
};
|
|
1484
|
+
let run = async (session2, profile, prompt, forceReadOnly, parentSignal, fresh) => {
|
|
1485
|
+
{
|
|
1486
|
+
let control = ((__v) => __v == null ? "null" : typeof __v)(host.createSignal) === "function" ? host.createSignal() ?? null : plainStopControl() ?? null;
|
|
1487
|
+
controls.set(session2.id, control) ?? null;
|
|
1488
|
+
if (parentSignal != null) {
|
|
1489
|
+
if (parentSignal.aborted === true) {
|
|
1490
|
+
control.stop() ?? null;
|
|
1491
|
+
} else if (((__v) => __v == null ? "null" : typeof __v)(parentSignal.addEventListener) === "function") {
|
|
1492
|
+
parentSignal.addEventListener("abort", () => {
|
|
1493
|
+
{
|
|
1494
|
+
control.stop() ?? null;
|
|
1495
|
+
}
|
|
1496
|
+
}) ?? null;
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
let ctx = { session: session2, profile, readOnly: forceReadOnly || profile.readOnly === true, signal: control.signal };
|
|
1500
|
+
let tools = (host.childTools(ctx) ?? null).concat([REPORT_SPEC]) ?? null;
|
|
1501
|
+
let childModel = ((__v) => __v == null ? "null" : typeof __v)(host.childModel) === "function" ? host.childModel(ctx) ?? null : null;
|
|
1502
|
+
if (((__v) => __v == null ? "null" : typeof __v)(childModel) !== "function" && orch != null) {
|
|
1503
|
+
childModel = orch.childModel(ctx.readOnly && (profile.model ?? null) == null ? "fast" : profile.model ?? null) ?? null;
|
|
1504
|
+
}
|
|
1505
|
+
let budget = ((__v) => __v == null ? "null" : typeof __v)(profile.maxRounds) === "number" && profile.maxRounds > 0 ? profile.maxRounds : ((__v) => __v == null ? "null" : typeof __v)(host.maxRounds) === "number" && host.maxRounds > 0 ? host.maxRounds : 30;
|
|
1506
|
+
let ok = true;
|
|
1507
|
+
let summary = "";
|
|
1508
|
+
let rounds = 0;
|
|
1509
|
+
let wasStopped = () => {
|
|
1510
|
+
{
|
|
1511
|
+
return control.signal.aborted === true || parentSignal != null && parentSignal.aborted === true;
|
|
1512
|
+
}
|
|
1513
|
+
};
|
|
1514
|
+
try {
|
|
1515
|
+
{
|
|
1516
|
+
let messages = fresh ? [{ role: "system", content: await (host.childSystemPrompt(ctx) ?? null) }, { role: "user", content: prompt }] : session2.transcript.concat([{ role: "user", content: "Message from the main agent:\n" + prompt }]) ?? null;
|
|
1517
|
+
let outcome = await (runAgentLoop({ messages, tools, callModel: ((__v) => __v == null ? "null" : typeof __v)(childModel) === "function" ? childModel : host.callModel, signal: control.signal, stopped: () => {
|
|
1518
|
+
{
|
|
1519
|
+
return parentSignal != null && parentSignal.aborted === true;
|
|
1520
|
+
}
|
|
1521
|
+
}, maxRounds: budget, drainNotifications: () => {
|
|
1522
|
+
{
|
|
1523
|
+
return (session2.inbox.splice(0, session2.inbox.length) ?? null).map((t) => {
|
|
1524
|
+
{
|
|
1525
|
+
return "Message from the main agent:\n" + t;
|
|
1526
|
+
}
|
|
1527
|
+
}) ?? null;
|
|
1528
|
+
}
|
|
1529
|
+
}, execTool: async (call) => {
|
|
1530
|
+
{
|
|
1531
|
+
if (call.name === REPORT_TOOL) {
|
|
1532
|
+
let args = {};
|
|
1533
|
+
try {
|
|
1534
|
+
{
|
|
1535
|
+
args = JSON.parse(call.argsText === "" ? "{}" : call.argsText) ?? null;
|
|
1536
|
+
}
|
|
1537
|
+
} catch (e) {
|
|
1538
|
+
{
|
|
1539
|
+
args = {};
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
report(session2.id, String(args.message ?? "") ?? null, args.question === true) ?? null;
|
|
1543
|
+
return { id: call.id, name: call.name, argsText: call.argsText, ok: true, summary: "reported", content: JSON.stringify({ ok: true }) ?? null };
|
|
1544
|
+
}
|
|
1545
|
+
return await (host.execChildTool(call, ctx) ?? null);
|
|
1546
|
+
}
|
|
1547
|
+
}, requireAction: fresh && !ctx.readOnly, hooks: { onToolStart: (c) => {
|
|
1548
|
+
{
|
|
1549
|
+
emit({ type: "tool-start", sessionId: session2.id, name: c.name }) ?? null;
|
|
1550
|
+
}
|
|
1551
|
+
}, onToolEnd: (r) => {
|
|
1552
|
+
{
|
|
1553
|
+
emit({ type: "tool-end", sessionId: session2.id, name: r.name, ok: r.ok, summary: r.summary }) ?? null;
|
|
1554
|
+
}
|
|
1555
|
+
}, onTextDelta: (d) => {
|
|
1556
|
+
{
|
|
1557
|
+
emit({ type: "text", sessionId: session2.id, delta: d }) ?? null;
|
|
1558
|
+
}
|
|
1559
|
+
}, onNudge: (m) => {
|
|
1560
|
+
{
|
|
1561
|
+
emit({ type: "nudge", sessionId: session2.id, message: m }) ?? null;
|
|
1562
|
+
}
|
|
1563
|
+
} } }) ?? null);
|
|
1564
|
+
session2.transcript = outcome.messages;
|
|
1565
|
+
rounds = outcome.rounds;
|
|
1566
|
+
let said = outcome.text.trim() ?? null;
|
|
1567
|
+
summary = said !== "" ? said : outcome.stopped ? "(stopped)" : "(finished without a summary)";
|
|
1568
|
+
ok = !outcome.stopped;
|
|
1569
|
+
}
|
|
1570
|
+
} catch (err) {
|
|
1571
|
+
{
|
|
1572
|
+
ok = false;
|
|
1573
|
+
summary = wasStopped() ?? null ? "(stopped)" : "(agent error: " + (errorMessage2(err) ?? null) + ")";
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
controls.delete(session2.id) ?? null;
|
|
1577
|
+
session2.rounds = session2.rounds + rounds;
|
|
1578
|
+
if (session2.status === "running") {
|
|
1579
|
+
session2.status = ok ? "done" : wasStopped() ?? null ? "stopped" : "error";
|
|
1580
|
+
session2.summary = summary;
|
|
1581
|
+
session2.endedAt = now() ?? null;
|
|
1582
|
+
} else {
|
|
1583
|
+
session2.summary = summary;
|
|
1584
|
+
}
|
|
1585
|
+
if (session2.background && session2.status !== "stopped") {
|
|
1586
|
+
parentQueue.push("Agent " + session2.id + " (" + session2.profile + ") " + (ok ? "finished" : "failed") + ":\n" + summary) ?? null;
|
|
1587
|
+
}
|
|
1588
|
+
sessionEvent(session2) ?? null;
|
|
1589
|
+
persist(session2) ?? null;
|
|
1590
|
+
return { ok, summary, rounds };
|
|
1591
|
+
}
|
|
1592
|
+
};
|
|
1593
|
+
let takeNext = () => {
|
|
1594
|
+
{
|
|
1595
|
+
while (waiting.length > 0) {
|
|
1596
|
+
let next = waiting.shift() ?? null;
|
|
1597
|
+
if (next.session.status === "queued") {
|
|
1598
|
+
next.session.status = "running";
|
|
1599
|
+
sessionEvent(next.session) ?? null;
|
|
1600
|
+
changed() ?? null;
|
|
1601
|
+
return next;
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
return null;
|
|
1605
|
+
}
|
|
1606
|
+
};
|
|
1607
|
+
let runSlot = (first) => {
|
|
1608
|
+
{
|
|
1609
|
+
((f) => Promise.resolve().then(() => f()))(async () => {
|
|
1610
|
+
{
|
|
1611
|
+
let job = first;
|
|
1612
|
+
while (job != null) {
|
|
1613
|
+
try {
|
|
1614
|
+
{
|
|
1615
|
+
if (job.session.status !== "stopped") {
|
|
1616
|
+
await (job.go() ?? null);
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
} catch (e) {
|
|
1620
|
+
{
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
job = active <= (maxConcurrent() ?? null) ? takeNext() ?? null : null;
|
|
1624
|
+
if (job == null) {
|
|
1625
|
+
active = Math.max(0, active - 1) ?? null;
|
|
1626
|
+
if (waiting.length > 0 && active < (maxConcurrent() ?? null)) {
|
|
1627
|
+
active = active + 1;
|
|
1628
|
+
job = takeNext() ?? null;
|
|
1629
|
+
if (job == null) {
|
|
1630
|
+
active = Math.max(0, active - 1) ?? null;
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
}) ?? null;
|
|
1637
|
+
}
|
|
1638
|
+
};
|
|
1639
|
+
let startBackground = (session2, go) => {
|
|
1640
|
+
{
|
|
1641
|
+
while (waiting.length > 0 && active < (maxConcurrent() ?? null)) {
|
|
1642
|
+
let next = takeNext() ?? null;
|
|
1643
|
+
if (next == null) {
|
|
1644
|
+
break;
|
|
1645
|
+
}
|
|
1646
|
+
active = active + 1;
|
|
1647
|
+
runSlot(next) ?? null;
|
|
1648
|
+
}
|
|
1649
|
+
if (active < (maxConcurrent() ?? null)) {
|
|
1650
|
+
active = active + 1;
|
|
1651
|
+
runSlot({ session: session2, go }) ?? null;
|
|
1652
|
+
return;
|
|
1653
|
+
}
|
|
1654
|
+
session2.status = "queued";
|
|
1655
|
+
sessionEvent(session2) ?? null;
|
|
1656
|
+
changed() ?? null;
|
|
1657
|
+
waiting.push({ session: session2, go }) ?? null;
|
|
1658
|
+
}
|
|
1659
|
+
};
|
|
1660
|
+
let stop = (id) => {
|
|
1661
|
+
{
|
|
1662
|
+
let s = sessions.get(id) ?? null ?? null;
|
|
1663
|
+
if (s == null || s.status !== "running" && s.status !== "queued") {
|
|
1664
|
+
return false;
|
|
1665
|
+
}
|
|
1666
|
+
let control = controls.get(id) ?? null ?? null;
|
|
1667
|
+
if (control != null) {
|
|
1668
|
+
control.stop() ?? null;
|
|
1669
|
+
}
|
|
1670
|
+
s.status = "stopped";
|
|
1671
|
+
s.endedAt = now() ?? null;
|
|
1672
|
+
persist(s) ?? null;
|
|
1673
|
+
return true;
|
|
1674
|
+
}
|
|
1675
|
+
};
|
|
1676
|
+
let load = async () => {
|
|
1677
|
+
{
|
|
1678
|
+
if (loaded) {
|
|
1679
|
+
return;
|
|
1680
|
+
}
|
|
1681
|
+
loaded = true;
|
|
1682
|
+
if (host.store != null && ((__v) => __v == null ? "null" : typeof __v)(host.store) === "object") {
|
|
1683
|
+
let saved = await (host.store.load() ?? null);
|
|
1684
|
+
for (const s of Array.isArray(saved) ?? null ? saved : []) {
|
|
1685
|
+
if (s.status === "running" || s.status === "queued") {
|
|
1686
|
+
s.status = "stopped";
|
|
1687
|
+
if (((__v) => __v == null ? "null" : typeof __v)(s.endedAt) !== "number") {
|
|
1688
|
+
s.endedAt = now() ?? null;
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
sessions.set(s.id, s) ?? null;
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
changed() ?? null;
|
|
1695
|
+
}
|
|
1696
|
+
};
|
|
1697
|
+
let get = (id) => {
|
|
1698
|
+
{
|
|
1699
|
+
return sessions.get(id) ?? null ?? null;
|
|
1700
|
+
}
|
|
1701
|
+
};
|
|
1702
|
+
return { load, flush: async () => {
|
|
1703
|
+
{
|
|
1704
|
+
while (pendingSaves > 0) {
|
|
1705
|
+
await (delay2(WAIT_STEP_MS) ?? null);
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
}, subscribe: (l) => {
|
|
1709
|
+
{
|
|
1710
|
+
listeners.push(l) ?? null;
|
|
1711
|
+
return () => {
|
|
1712
|
+
{
|
|
1713
|
+
let i = listeners.indexOf(l) ?? null;
|
|
1714
|
+
if (i >= 0) {
|
|
1715
|
+
listeners.splice(i, 1) ?? null;
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
};
|
|
1719
|
+
}
|
|
1720
|
+
}, list: () => {
|
|
1721
|
+
{
|
|
1722
|
+
return (allSessions(sessions) ?? null).sort((a, b) => {
|
|
1723
|
+
{
|
|
1724
|
+
return a.startedAt - b.startedAt;
|
|
1725
|
+
}
|
|
1726
|
+
}) ?? null;
|
|
1727
|
+
}
|
|
1728
|
+
}, get, wait: async (id, opts) => {
|
|
1729
|
+
{
|
|
1730
|
+
let o = opts ?? {};
|
|
1731
|
+
let deadline = (now() ?? null) + (((__v) => __v == null ? "null" : typeof __v)(o.timeoutMs) === "number" ? o.timeoutMs : 12e4);
|
|
1732
|
+
let signal = o.signal ?? null;
|
|
1733
|
+
while ((isBusy(get(id) ?? null) ?? null) && (now() ?? null) < deadline && !(signal != null && signal.aborted === true)) {
|
|
1734
|
+
await (delay2(Math.min(WAIT_STEP_MS, Math.max(1, deadline - (now() ?? null)) ?? null) ?? null) ?? null);
|
|
1735
|
+
}
|
|
1736
|
+
return get(id) ?? null;
|
|
1737
|
+
}
|
|
1738
|
+
}, dismissFinished: (id) => {
|
|
1739
|
+
{
|
|
1740
|
+
let prefix = "Agent " + id + " (";
|
|
1741
|
+
let i = parentQueue.length - 1;
|
|
1742
|
+
while (i >= 0) {
|
|
1743
|
+
if ((parentQueue[i] ?? null).startsWith(prefix) ?? null) {
|
|
1744
|
+
parentQueue.splice(i, 1) ?? null;
|
|
1745
|
+
}
|
|
1746
|
+
i = i - 1;
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
}, drainParentNotifications: () => {
|
|
1750
|
+
{
|
|
1751
|
+
return parentQueue.splice(0, parentQueue.length) ?? null;
|
|
1752
|
+
}
|
|
1753
|
+
}, hasPendingNotifications: () => {
|
|
1754
|
+
{
|
|
1755
|
+
return parentQueue.length > 0;
|
|
1756
|
+
}
|
|
1757
|
+
}, spawn: async (req) => {
|
|
1758
|
+
{
|
|
1759
|
+
let profile = profileById(req.profileId) ?? null;
|
|
1760
|
+
if (profile == null) {
|
|
1761
|
+
let ids = ((host.profiles() ?? null).map((p) => {
|
|
1762
|
+
{
|
|
1763
|
+
return p.id;
|
|
1764
|
+
}
|
|
1765
|
+
}) ?? null).join(", ") ?? null;
|
|
1766
|
+
return { kind: "refused", reason: 'No agent type "' + req.profileId + '". Available: ' + ids + "." };
|
|
1767
|
+
}
|
|
1768
|
+
let prompt = ((__v) => __v == null ? "null" : typeof __v)(req.prompt) === "string" ? req.prompt.trim() ?? null : "";
|
|
1769
|
+
if (prompt === "") {
|
|
1770
|
+
return { kind: "refused", reason: "A task needs a self-contained prompt \u2014 the agent cannot see this conversation." };
|
|
1771
|
+
}
|
|
1772
|
+
let background = ((__v) => __v == null ? "null" : typeof __v)(req.background) === "boolean" ? req.background : profile.background === true;
|
|
1773
|
+
let id = ((__v) => __v == null ? "null" : typeof __v)(host.newId) === "function" ? host.newId() ?? null : "agent-" + ((now() ?? null).toString(36) ?? null) + "-" + (((Math.random() ?? null).toString(36) ?? null).slice(2, 7) ?? null);
|
|
1774
|
+
let session2 = { id, profile: profile.id, description: ((__v) => __v == null ? "null" : typeof __v)(req.description) === "string" && req.description !== "" ? req.description : prompt.slice(0, 80) ?? null, status: "running", background, transcript: [], inbox: [], startedAt: now() ?? null, rounds: 0, readOnly: req.readOnly === true || profile.readOnly === true };
|
|
1775
|
+
if (((__v) => __v == null ? "null" : typeof __v)(req.parentCallId) === "string" && req.parentCallId !== "") {
|
|
1776
|
+
session2.parentCallId = req.parentCallId;
|
|
1777
|
+
}
|
|
1778
|
+
sessions.set(session2.id, session2) ?? null;
|
|
1779
|
+
changed() ?? null;
|
|
1780
|
+
sessionEvent(session2) ?? null;
|
|
1781
|
+
let forceReadOnly = req.readOnly === true;
|
|
1782
|
+
let parentSignal = req.signal ?? null;
|
|
1783
|
+
if (background) {
|
|
1784
|
+
startBackground(session2, async () => {
|
|
1785
|
+
{
|
|
1786
|
+
return await (run(session2, profile, prompt, forceReadOnly, parentSignal, true) ?? null);
|
|
1787
|
+
}
|
|
1788
|
+
}) ?? null;
|
|
1789
|
+
return { kind: "started", id: session2.id };
|
|
1790
|
+
}
|
|
1791
|
+
let out = await (run(session2, profile, prompt, forceReadOnly, parentSignal, true) ?? null);
|
|
1792
|
+
return { kind: "done", id: session2.id, ok: out.ok, summary: out.summary, rounds: out.rounds };
|
|
1793
|
+
}
|
|
1794
|
+
}, message: async (id, text, opts) => {
|
|
1795
|
+
{
|
|
1796
|
+
await (load() ?? null);
|
|
1797
|
+
let o = opts ?? {};
|
|
1798
|
+
let session2 = sessions.get(id) ?? null ?? null;
|
|
1799
|
+
if (session2 == null) {
|
|
1800
|
+
return { kind: "unknown", id };
|
|
1801
|
+
}
|
|
1802
|
+
if (session2.status === "running" || session2.status === "queued") {
|
|
1803
|
+
session2.inbox.push(text) ?? null;
|
|
1804
|
+
persist(session2) ?? null;
|
|
1805
|
+
return { kind: "queued", id };
|
|
1806
|
+
}
|
|
1807
|
+
let profile = profileById(session2.profile) ?? null;
|
|
1808
|
+
if (profile == null) {
|
|
1809
|
+
return { kind: "unknown", id };
|
|
1810
|
+
}
|
|
1811
|
+
let wait = o.wait === true;
|
|
1812
|
+
let parentSignal = o.signal ?? null;
|
|
1813
|
+
session2.status = "running";
|
|
1814
|
+
session2.endedAt = null;
|
|
1815
|
+
session2.background = !wait;
|
|
1816
|
+
changed() ?? null;
|
|
1817
|
+
if (!wait) {
|
|
1818
|
+
startBackground(session2, async () => {
|
|
1819
|
+
{
|
|
1820
|
+
return await (run(session2, profile, text, false, parentSignal, false) ?? null);
|
|
1821
|
+
}
|
|
1822
|
+
}) ?? null;
|
|
1823
|
+
return { kind: "resumed", id };
|
|
1824
|
+
}
|
|
1825
|
+
let out = await (run(session2, profile, text, false, parentSignal, false) ?? null);
|
|
1826
|
+
return { kind: "done", id, ok: out.ok, summary: out.summary };
|
|
1827
|
+
}
|
|
1828
|
+
}, stop, stopAll: () => {
|
|
1829
|
+
{
|
|
1830
|
+
for (const s of allSessions(sessions) ?? null) {
|
|
1831
|
+
stop(s.id) ?? null;
|
|
1832
|
+
}
|
|
1833
|
+
parentQueue.splice(0, parentQueue.length) ?? null;
|
|
1834
|
+
}
|
|
1835
|
+
}, report };
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/types.js
|
|
1840
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1841
|
+
function forceTool(name) {
|
|
1842
|
+
{
|
|
1843
|
+
return { type: "function", function: { name } };
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/store.js
|
|
1848
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1849
|
+
async function loadAll(kv, prefix) {
|
|
1850
|
+
{
|
|
1851
|
+
let out = [];
|
|
1852
|
+
for (const k of await (kv.keys(prefix) ?? null)) {
|
|
1853
|
+
let v = await (kv.get(k) ?? null);
|
|
1854
|
+
if (v != null) {
|
|
1855
|
+
out.push(v) ?? null;
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
return out;
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
function sessionStore(kv, scope) {
|
|
1862
|
+
{
|
|
1863
|
+
let prefix = (scope ?? "default") + ":session:";
|
|
1864
|
+
return { load: async () => {
|
|
1865
|
+
{
|
|
1866
|
+
return await (loadAll(kv, prefix) ?? null);
|
|
1867
|
+
}
|
|
1868
|
+
}, save: async (s) => {
|
|
1869
|
+
{
|
|
1870
|
+
await (kv.set(prefix + s.id, s) ?? null);
|
|
1871
|
+
}
|
|
1872
|
+
}, remove: async (id) => {
|
|
1873
|
+
{
|
|
1874
|
+
await ((kv["delete"] ?? null)(prefix + id) ?? null);
|
|
1875
|
+
}
|
|
1876
|
+
} };
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
function runStore(kv, scope) {
|
|
1880
|
+
{
|
|
1881
|
+
let prefix = (scope ?? "default") + ":run:";
|
|
1882
|
+
return { get: async (id) => {
|
|
1883
|
+
{
|
|
1884
|
+
return await (kv.get(prefix + id) ?? null);
|
|
1885
|
+
}
|
|
1886
|
+
}, save: async (run) => {
|
|
1887
|
+
{
|
|
1888
|
+
await (kv.set(prefix + run.id, run) ?? null);
|
|
1889
|
+
}
|
|
1890
|
+
}, list: async () => {
|
|
1891
|
+
{
|
|
1892
|
+
return await (loadAll(kv, prefix) ?? null);
|
|
1893
|
+
}
|
|
1894
|
+
}, remove: async (id) => {
|
|
1895
|
+
{
|
|
1896
|
+
await ((kv["delete"] ?? null)(prefix + id) ?? null);
|
|
1897
|
+
}
|
|
1898
|
+
} };
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/run.js
|
|
1903
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1904
|
+
function errorMessage3(err) {
|
|
1905
|
+
{
|
|
1906
|
+
if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
|
|
1907
|
+
return err.message;
|
|
1908
|
+
}
|
|
1909
|
+
return String(err) ?? null;
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
async function runPersistent(opts) {
|
|
1913
|
+
{
|
|
1914
|
+
let now = ((__v) => __v == null ? "null" : typeof __v)(opts.now) === "function" ? opts.now : () => {
|
|
1915
|
+
{
|
|
1916
|
+
return Date.now() ?? null;
|
|
1917
|
+
}
|
|
1918
|
+
};
|
|
1919
|
+
let existing = await (opts.runs.get(opts.id) ?? null);
|
|
1920
|
+
let createdAt = existing != null ? existing.createdAt : now() ?? null;
|
|
1921
|
+
let record = (status, checkpoint) => {
|
|
1922
|
+
{
|
|
1923
|
+
let todos = opts.todos != null && ((__v) => __v == null ? "null" : typeof __v)(opts.todos) === "object" ? opts.todos.get() ?? null : existing != null ? existing.todos ?? null : null;
|
|
1924
|
+
let meta = opts.meta ?? (existing != null ? existing.meta ?? null : null);
|
|
1925
|
+
return { id: opts.id, createdAt, updatedAt: now() ?? null, meta, todos, status, checkpoint };
|
|
1926
|
+
}
|
|
1927
|
+
};
|
|
1928
|
+
let first = existing != null ? existing.checkpoint : { messages: opts.messages, round: 0, acted: false, nudgesLeft: 0, done: false };
|
|
1929
|
+
await (opts.runs.save(record("running", first) ?? null) ?? null);
|
|
1930
|
+
let mark = async (status, error) => {
|
|
1931
|
+
{
|
|
1932
|
+
let saved = await (opts.runs.get(opts.id) ?? null);
|
|
1933
|
+
if (saved != null) {
|
|
1934
|
+
let next = { ...saved, status, updatedAt: now() ?? null };
|
|
1935
|
+
if (((__v) => __v == null ? "null" : typeof __v)(error) === "string") {
|
|
1936
|
+
next.error = error;
|
|
1937
|
+
}
|
|
1938
|
+
await (opts.runs.save(next) ?? null);
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
};
|
|
1942
|
+
let outcome = null;
|
|
1943
|
+
try {
|
|
1944
|
+
{
|
|
1945
|
+
outcome = await (runAgentLoop({ ...opts, checkpoint: async (state) => {
|
|
1946
|
+
{
|
|
1947
|
+
await (opts.runs.save(record(state.done ? "done" : "running", state) ?? null) ?? null);
|
|
1948
|
+
if (((__v) => __v == null ? "null" : typeof __v)(opts.checkpoint) === "function") {
|
|
1949
|
+
await (opts.checkpoint(state) ?? null);
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
} }) ?? null);
|
|
1953
|
+
}
|
|
1954
|
+
} catch (err) {
|
|
1955
|
+
{
|
|
1956
|
+
await (mark("error", errorMessage3(err) ?? null) ?? null);
|
|
1957
|
+
throw err;
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
if (outcome.stopped) {
|
|
1961
|
+
await (mark("stopped", null) ?? null);
|
|
1962
|
+
}
|
|
1963
|
+
return outcome;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
async function interruptedRuns(runs2, activeIds) {
|
|
1967
|
+
{
|
|
1968
|
+
let active = new Set(activeIds ?? []) ?? null;
|
|
1969
|
+
return (await (runs2.list() ?? null)).filter((r) => {
|
|
1970
|
+
{
|
|
1971
|
+
return r.status === "running" && !(active.has(r.id) ?? null);
|
|
1972
|
+
}
|
|
1973
|
+
}) ?? null;
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
async function resumeRun(id, runs2, options) {
|
|
1977
|
+
{
|
|
1978
|
+
let saved = await (runs2.get(id) ?? null);
|
|
1979
|
+
if (saved == null) {
|
|
1980
|
+
throw { message: 'No saved run "' + id + '".', code: "not_found" };
|
|
1981
|
+
}
|
|
1982
|
+
let cp = saved.checkpoint;
|
|
1983
|
+
return await (runPersistent({ ...options, id, runs: runs2, messages: cp.messages.concat([{ role: "user", content: "The session was interrupted and has resumed. Check the state of your work, then carry on where you left off." }]) ?? null, resumeState: { round: cp.round, acted: cp.acted, nudgesLeft: cp.nudgesLeft }, meta: options.meta ?? saved.meta ?? null }) ?? null);
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/router.js
|
|
1988
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1989
|
+
var ROUTER_PROMPT = 'You pick the next tool for a coding agent. Answer with JSON only: {"tool": "<one of the tool names, or none>", "p": <your confidence 0..1>}. Pick "none" when the agent should answer in words or the choice is unclear.';
|
|
1990
|
+
function createRouter(opts) {
|
|
1991
|
+
{
|
|
1992
|
+
let call = roleModel(opts.callModel, opts.spec) ?? null;
|
|
1993
|
+
let threshold = ((__v) => __v == null ? "null" : typeof __v)(opts.threshold) === "number" ? opts.threshold : 0.8;
|
|
1994
|
+
let maxChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxChars) === "number" ? opts.maxChars : 12e3;
|
|
1995
|
+
return async (req) => {
|
|
1996
|
+
{
|
|
1997
|
+
if (!(Array.isArray(req.tools) ?? null) || req.tools.length === 0) {
|
|
1998
|
+
return null;
|
|
1999
|
+
}
|
|
2000
|
+
let names = req.tools.map((t2) => {
|
|
2001
|
+
{
|
|
2002
|
+
return (t2["function"] ?? null).name;
|
|
2003
|
+
}
|
|
2004
|
+
}) ?? null;
|
|
2005
|
+
let turn = null;
|
|
2006
|
+
try {
|
|
2007
|
+
{
|
|
2008
|
+
turn = await (call([{ role: "system", content: ROUTER_PROMPT }, { role: "user", content: "Tools: " + (names.join(", ") ?? null) + "\n\nRecent session:\n" + (renderTranscript(req.messages, maxChars) ?? null) }], [], {}, null, null) ?? null);
|
|
2009
|
+
}
|
|
2010
|
+
} catch (err) {
|
|
2011
|
+
{
|
|
2012
|
+
return null;
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
let tool = null;
|
|
2016
|
+
let p = 0;
|
|
2017
|
+
let t = (turn.text ?? "").trim() ?? null;
|
|
2018
|
+
let start = t.indexOf("{") ?? null;
|
|
2019
|
+
let end = t.lastIndexOf("}") ?? null;
|
|
2020
|
+
if (start >= 0 && end > start) {
|
|
2021
|
+
try {
|
|
2022
|
+
{
|
|
2023
|
+
let j = JSON.parse(t.slice(start, end + 1) ?? null) ?? null;
|
|
2024
|
+
if (((__v) => __v == null ? "null" : typeof __v)(j.tool) === "string" && (names.includes(j.tool) ?? null)) {
|
|
2025
|
+
tool = j.tool;
|
|
2026
|
+
}
|
|
2027
|
+
if (((__v) => __v == null ? "null" : typeof __v)(j.p) === "number") {
|
|
2028
|
+
p = j.p;
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
} catch (e) {
|
|
2032
|
+
{
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
let sharp = tool != null && p >= threshold;
|
|
2037
|
+
if (((__v) => __v == null ? "null" : typeof __v)(opts.onEvent) === "function") {
|
|
2038
|
+
opts.onEvent({ type: "router:pick", round: req.round, model: opts.spec.model, tool, p, sharp }) ?? null;
|
|
2039
|
+
}
|
|
2040
|
+
return sharp ? forceTool(tool) ?? null : null;
|
|
2041
|
+
}
|
|
2042
|
+
};
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/auto.js
|
|
2047
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2048
|
+
function normalizeMode(mode) {
|
|
2049
|
+
{
|
|
2050
|
+
if (mode === "off" || mode === false) {
|
|
2051
|
+
return "off";
|
|
2052
|
+
}
|
|
2053
|
+
if (mode === "ultra") {
|
|
2054
|
+
return "ultra";
|
|
2055
|
+
}
|
|
2056
|
+
return "auto";
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
function createOrchestration(callModel, opts) {
|
|
2060
|
+
{
|
|
2061
|
+
let o = opts ?? {};
|
|
2062
|
+
let mode = normalizeMode(o.mode ?? "auto") ?? null;
|
|
2063
|
+
let skill = o.skill != null && ((__v) => __v == null ? "null" : typeof __v)(o.skill) === "object" ? o.skill : null;
|
|
2064
|
+
let catalog = o.catalog ?? null;
|
|
2065
|
+
let emit = (e) => {
|
|
2066
|
+
{
|
|
2067
|
+
if (((__v) => __v == null ? "null" : typeof __v)(o.onEvent) === "function") {
|
|
2068
|
+
o.onEvent(e) ?? null;
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
};
|
|
2072
|
+
let hostLimit = ((__v) => __v == null ? "null" : typeof __v)(o.maxConcurrent) === "number" ? o.maxConcurrent : null;
|
|
2073
|
+
if (mode === "off" || skill == null) {
|
|
2074
|
+
return { mode, skill: null, roles: {}, maxConcurrent: hostLimit, guidance: "", callModel, childModel: (m) => {
|
|
2075
|
+
{
|
|
2076
|
+
return null;
|
|
2077
|
+
}
|
|
2078
|
+
}, advise: null, route: null };
|
|
2079
|
+
}
|
|
2080
|
+
emit({ type: "skill", skill: skill.name }) ?? null;
|
|
2081
|
+
let roles = mergeRoles(skill.roles, o.roles ?? null) ?? null;
|
|
2082
|
+
if (((__v) => __v == null ? "null" : typeof __v)(o.effort) === "string" && (roles.lead ?? null) != null) {
|
|
2083
|
+
roles = mergeRoles(roles, { lead: { effort: o.effort } }) ?? null;
|
|
2084
|
+
}
|
|
2085
|
+
let specs = {};
|
|
2086
|
+
let calls = {};
|
|
2087
|
+
let callFor = (role) => {
|
|
2088
|
+
{
|
|
2089
|
+
if ((calls[role] ?? null ?? null) == null) {
|
|
2090
|
+
let spec = resolveRole(role, roles, catalog) ?? null;
|
|
2091
|
+
if (spec == null) {
|
|
2092
|
+
return null;
|
|
2093
|
+
}
|
|
2094
|
+
specs[role] = spec;
|
|
2095
|
+
calls[role] = roleModel(callModel, spec) ?? null;
|
|
2096
|
+
emit({ type: "role:model", role, model: spec.model }) ?? null;
|
|
2097
|
+
}
|
|
2098
|
+
return calls[role] ?? null;
|
|
2099
|
+
}
|
|
2100
|
+
};
|
|
2101
|
+
let lead = callFor("lead") ?? null ?? callModel;
|
|
2102
|
+
let advise = null;
|
|
2103
|
+
let route = null;
|
|
2104
|
+
if ((callFor("advisor") ?? null) != null) {
|
|
2105
|
+
let triggers = null;
|
|
2106
|
+
if (Array.isArray(skill.advisorTriggers) ?? null) {
|
|
2107
|
+
triggers = { plan: skill.advisorTriggers.includes("plan") ?? null, done: skill.advisorTriggers.includes("done") ?? null, error: skill.advisorTriggers.includes("error") ?? null, ask: skill.advisorTriggers.includes("ask") ?? null };
|
|
2108
|
+
}
|
|
2109
|
+
advise = (createAdvisor({ callModel, spec: specs.advisor, triggers, maxCalls: skill.advisorMaxCalls ?? null, maxChars: null, guidance: skill.guidance, onEvent: (e) => {
|
|
2110
|
+
{
|
|
2111
|
+
emit(e) ?? null;
|
|
2112
|
+
}
|
|
2113
|
+
} }) ?? null).advise;
|
|
2114
|
+
}
|
|
2115
|
+
if (((__v) => __v == null ? "null" : typeof __v)(skill.routerThreshold) === "number" && (callFor("router") ?? null) != null) {
|
|
2116
|
+
route = createRouter({ callModel, spec: specs.router, threshold: skill.routerThreshold, onEvent: (e) => {
|
|
2117
|
+
{
|
|
2118
|
+
emit(e) ?? null;
|
|
2119
|
+
}
|
|
2120
|
+
} }) ?? null;
|
|
2121
|
+
}
|
|
2122
|
+
return { mode, skill, roles, maxConcurrent: hostLimit ?? skill.maxConcurrent ?? null, guidance: skill.guidance, callModel: lead, childModel: (profileModel) => {
|
|
2123
|
+
{
|
|
2124
|
+
let role = roleOfProfileModel(profileModel) ?? null;
|
|
2125
|
+
if (role == null) {
|
|
2126
|
+
return roleModel(callModel, { model: profileModel, effort: (specs.lead ?? {}).effort ?? null, fallback: null }) ?? null;
|
|
2127
|
+
}
|
|
2128
|
+
return callFor(role) ?? null ?? lead;
|
|
2129
|
+
}
|
|
2130
|
+
}, advise, route };
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/orchestration-skill.js
|
|
2135
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2136
|
+
function splitList(v) {
|
|
2137
|
+
{
|
|
2138
|
+
if ((v ?? null) == null) {
|
|
2139
|
+
return [];
|
|
2140
|
+
}
|
|
2141
|
+
return ((v.split(",") ?? null).map((s) => {
|
|
2142
|
+
{
|
|
2143
|
+
return s.trim() ?? null;
|
|
2144
|
+
}
|
|
2145
|
+
}) ?? null).filter((s) => {
|
|
2146
|
+
{
|
|
2147
|
+
return s !== "";
|
|
2148
|
+
}
|
|
2149
|
+
}) ?? null;
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
function unquote(v) {
|
|
2153
|
+
{
|
|
2154
|
+
let t = v.trim() ?? null;
|
|
2155
|
+
if (t.length >= 2 && ((t.startsWith('"') ?? null) && (t.endsWith('"') ?? null) || (t.startsWith("'") ?? null) && (t.endsWith("'") ?? null))) {
|
|
2156
|
+
return t.slice(1, t.length - 1) ?? null;
|
|
2157
|
+
}
|
|
2158
|
+
return t;
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
function num(v) {
|
|
2162
|
+
{
|
|
2163
|
+
if ((v ?? null) == null || v === "") {
|
|
2164
|
+
return null;
|
|
2165
|
+
}
|
|
2166
|
+
let n = Number(v) ?? null;
|
|
2167
|
+
return Number.isFinite(n) ?? null ? n : null;
|
|
2168
|
+
}
|
|
2169
|
+
}
|
|
2170
|
+
function parseOrchestrationSkill(text) {
|
|
2171
|
+
{
|
|
2172
|
+
let src = ((__v) => __v == null ? "null" : typeof __v)(text) === "string" ? (text.split("\r\n") ?? null).join("\n") ?? null : "";
|
|
2173
|
+
if (!(src.startsWith("---\n") ?? null)) {
|
|
2174
|
+
return null;
|
|
2175
|
+
}
|
|
2176
|
+
let end = src.indexOf("\n---", 4) ?? null;
|
|
2177
|
+
if (end < 0) {
|
|
2178
|
+
return null;
|
|
2179
|
+
}
|
|
2180
|
+
let head = src.slice(4, end) ?? null;
|
|
2181
|
+
let body = src.slice(end + 4) ?? null;
|
|
2182
|
+
if (body.startsWith("\n") ?? null) {
|
|
2183
|
+
body = body.slice(1) ?? null;
|
|
2184
|
+
}
|
|
2185
|
+
let f = {};
|
|
2186
|
+
for (const line of head.split("\n") ?? null) {
|
|
2187
|
+
let i = line.indexOf(":") ?? null;
|
|
2188
|
+
if (i <= 0 || ((line.trim() ?? null).startsWith("#") ?? null)) {
|
|
2189
|
+
continue;
|
|
2190
|
+
}
|
|
2191
|
+
f[((line.slice(0, i) ?? null).trim() ?? null).toLowerCase() ?? null] = unquote(line.slice(i + 1) ?? null) ?? null;
|
|
2192
|
+
}
|
|
2193
|
+
if ((f["kind"] ?? null ?? "") !== "orchestration") {
|
|
2194
|
+
return null;
|
|
2195
|
+
}
|
|
2196
|
+
let roles = {};
|
|
2197
|
+
for (const r of MODEL_ROLES) {
|
|
2198
|
+
let model = f[r] ?? null ?? "";
|
|
2199
|
+
if (model === "") {
|
|
2200
|
+
continue;
|
|
2201
|
+
}
|
|
2202
|
+
let spec = { model, effort: (f[r + "_effort"] ?? null ?? "") !== "" ? f[r + "_effort"] ?? null : null, fallback: splitList(f[r + "_fallback"] ?? null ?? null) ?? null };
|
|
2203
|
+
roles[r] = spec;
|
|
2204
|
+
}
|
|
2205
|
+
let triggers = splitList(f["advisor_triggers"] ?? null ?? null) ?? null;
|
|
2206
|
+
return { name: (f["name"] ?? null ?? "") !== "" ? f["name"] ?? null : "orchestration", description: f["description"] ?? null ?? "", modes: (splitList(f["modes"] ?? null ?? null) ?? null).map((m) => {
|
|
2207
|
+
{
|
|
2208
|
+
return m.toLowerCase() ?? null;
|
|
2209
|
+
}
|
|
2210
|
+
}) ?? null, roles, advisorTriggers: triggers.length > 0 ? triggers : null, advisorMaxCalls: num(f["advisor_max_calls"] ?? null ?? null) ?? null, routerThreshold: num(f["router_threshold"] ?? null ?? null) ?? null, maxConcurrent: num(f["max_concurrent"] ?? null ?? null) ?? null, guidance: body.trim() ?? null };
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
function skillsForMode(skills, mode) {
|
|
2214
|
+
{
|
|
2215
|
+
if (mode === "off" || !(Array.isArray(skills) ?? null)) {
|
|
2216
|
+
return [];
|
|
2217
|
+
}
|
|
2218
|
+
return skills.filter((s) => {
|
|
2219
|
+
{
|
|
2220
|
+
return s != null && ((__v) => __v == null ? "null" : typeof __v)(s) === "object" && (s.modes.length === 0 || (s.modes.includes(mode) ?? null));
|
|
2221
|
+
}
|
|
2222
|
+
}) ?? null;
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
async function chooseOrchestrationSkill(callModel, skills, task, mode) {
|
|
2226
|
+
{
|
|
2227
|
+
let candidates = skillsForMode(skills, mode) ?? null;
|
|
2228
|
+
if (candidates.length === 0) {
|
|
2229
|
+
return null;
|
|
2230
|
+
}
|
|
2231
|
+
if (candidates.length === 1) {
|
|
2232
|
+
return candidates[0] ?? null;
|
|
2233
|
+
}
|
|
2234
|
+
let list = (candidates.map((s) => {
|
|
2235
|
+
{
|
|
2236
|
+
return "- " + s.name + ": " + s.description;
|
|
2237
|
+
}
|
|
2238
|
+
}) ?? null).join("\n") ?? null;
|
|
2239
|
+
let messages = [{ role: "system", content: "Pick the orchestration skill that fits the task. Reply with its name only, or `none`." }, { role: "user", content: "Skills:\n" + list + "\n\nTask:\n" + task }];
|
|
2240
|
+
let turn = null;
|
|
2241
|
+
try {
|
|
2242
|
+
{
|
|
2243
|
+
turn = await (callModel(messages, [], {}, null, null) ?? null);
|
|
2244
|
+
}
|
|
2245
|
+
} catch (err) {
|
|
2246
|
+
{
|
|
2247
|
+
return null;
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
let said = ((String(turn.text ?? "") ?? null).trim() ?? null).toLowerCase() ?? null;
|
|
2251
|
+
for (const ch of ["`", "'", '"', "*", "."]) {
|
|
2252
|
+
said = (said.split(ch) ?? null).join("") ?? null;
|
|
2253
|
+
}
|
|
2254
|
+
for (const s of candidates) {
|
|
2255
|
+
if (said === (s.name.toLowerCase() ?? null) || (said.includes(s.name.toLowerCase() ?? null) ?? null)) {
|
|
2256
|
+
return s;
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
return null;
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/indexeddb.js
|
|
2264
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2265
|
+
function indexedDbStore(name = "hypery-agents") {
|
|
2266
|
+
let db = null;
|
|
2267
|
+
const open = () => db ?? (db = new Promise((res, rej) => {
|
|
2268
|
+
const req = indexedDB.open(name, 1);
|
|
2269
|
+
req.onupgradeneeded = () => {
|
|
2270
|
+
req.result.createObjectStore("kv");
|
|
2271
|
+
};
|
|
2272
|
+
req.onsuccess = () => res(req.result);
|
|
2273
|
+
req.onerror = () => rej(req.error);
|
|
2274
|
+
}));
|
|
2275
|
+
const tx = async (mode, fn) => {
|
|
2276
|
+
const store = (await open()).transaction("kv", mode).objectStore("kv");
|
|
2277
|
+
return new Promise((res, rej) => {
|
|
2278
|
+
const r = fn(store);
|
|
2279
|
+
r.onsuccess = () => res(r.result);
|
|
2280
|
+
r.onerror = () => rej(r.error);
|
|
2281
|
+
});
|
|
2282
|
+
};
|
|
2283
|
+
return {
|
|
2284
|
+
// A missing key reads as null, as the core's stores do.
|
|
2285
|
+
get: async (k) => await tx("readonly", (s) => s.get(k)) ?? null,
|
|
2286
|
+
set: async (k, v) => {
|
|
2287
|
+
await tx("readwrite", (s) => s.put(structuredClone(v), k));
|
|
2288
|
+
},
|
|
2289
|
+
delete: async (k) => {
|
|
2290
|
+
await tx("readwrite", (s) => s.delete(k));
|
|
2291
|
+
},
|
|
2292
|
+
keys: async (prefix) => (await tx("readonly", (s) => s.getAllKeys())).map(String).filter((k) => k.startsWith(prefix))
|
|
2293
|
+
};
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2296
|
+
// node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/index.js
|
|
2297
|
+
function createHyperyModel2(opts) {
|
|
2298
|
+
return createHyperyModel({ ...opts, fetch: opts.fetch ?? ((url, init) => fetch(url, init)) });
|
|
2299
|
+
}
|
|
2300
|
+
function createAgentRuntime2(host) {
|
|
2301
|
+
return createAgentRuntime({
|
|
2302
|
+
...host,
|
|
2303
|
+
createSignal: host.createSignal ?? (() => {
|
|
2304
|
+
const controller = new AbortController();
|
|
2305
|
+
return { signal: controller.signal, stop: () => controller.abort() };
|
|
2306
|
+
})
|
|
2307
|
+
// The core types a child's signal as anything with `aborted`; here every one comes from `createSignal`, whose
|
|
2308
|
+
// signals are AbortSignals — so the host's callbacks may rely on that.
|
|
2309
|
+
});
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
// lib/agent/stream-parse.ts
|
|
2313
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2314
|
+
|
|
2315
|
+
// lib/agent/gateway.ts
|
|
2316
|
+
var session = {
|
|
2317
|
+
token: () => accessToken(),
|
|
2318
|
+
team: () => activeHyperyTeamId(),
|
|
2319
|
+
paymentSource: async () => (await paymentSourceHeaders())[HYPERY_PAYMENT_SOURCE_HEADER] === "credits" ? "credits" : null,
|
|
2320
|
+
gatewayUrl: HYPERY_GATEWAY_URL
|
|
2321
|
+
};
|
|
2322
|
+
var agentModel2 = (model) => createHyperyModel2({
|
|
2323
|
+
...session,
|
|
2324
|
+
model: () => {
|
|
2325
|
+
const id = model();
|
|
2326
|
+
if (!id) throw agentModelError("Pick a chat model for the agent first.", "no_model", 400);
|
|
2327
|
+
return id;
|
|
2328
|
+
}
|
|
2329
|
+
});
|
|
2330
|
+
|
|
2331
|
+
// lib/agent/turn-recovery.ts
|
|
2332
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2333
|
+
var ACTION_NUDGES = 2;
|
|
2334
|
+
var MAX_READ_ROUNDS = 4;
|
|
2335
|
+
var READ_BUDGET_NOTE = "You have read enough to start. Make the change now with a tool that edits the document; read more only if a write fails.";
|
|
2336
|
+
var ACTION_NUDGE = "Nothing has changed in the document yet. Make the change that was asked for now, with a tool that edits the document. If you truly cannot, say exactly what is blocking you.";
|
|
2337
|
+
var QUESTION_START = /^(what|why|how|which|who|where|when|is|are|does|do|did|can you (explain|tell)|could you (explain|tell)|explain|describe|tell me|list|show me what)\b/i;
|
|
2338
|
+
function wantsChange(text) {
|
|
2339
|
+
const body = text.trim();
|
|
2340
|
+
if (!body) return false;
|
|
2341
|
+
return !(body.endsWith("?") && QUESTION_START.test(body));
|
|
2342
|
+
}
|
|
2343
|
+
function createActionGuard(opts) {
|
|
2344
|
+
const maxReads = opts.maxReadRounds ?? MAX_READ_ROUNDS;
|
|
2345
|
+
const maxNudges = opts.nudges ?? ACTION_NUDGES;
|
|
2346
|
+
let readRounds = opts.initial?.readRounds ?? 0;
|
|
2347
|
+
let nudges = opts.initial?.nudges ?? 0;
|
|
2348
|
+
let acted = false;
|
|
2349
|
+
let actedThisRound = false;
|
|
2350
|
+
let ranThisRound = false;
|
|
2351
|
+
let notes = [];
|
|
2352
|
+
let choice = null;
|
|
2353
|
+
let budgetSpent = readRounds >= maxReads;
|
|
2354
|
+
return {
|
|
2355
|
+
onRun(run, changed) {
|
|
2356
|
+
ranThisRound = true;
|
|
2357
|
+
if (run.ok && changed) {
|
|
2358
|
+
acted = true;
|
|
2359
|
+
actedThisRound = true;
|
|
2360
|
+
}
|
|
2361
|
+
},
|
|
2362
|
+
onRoundEnd() {
|
|
2363
|
+
if (!opts.enabled || acted || !ranThisRound) {
|
|
2364
|
+
ranThisRound = false;
|
|
2365
|
+
actedThisRound = false;
|
|
2366
|
+
return;
|
|
2367
|
+
}
|
|
2368
|
+
if (!actedThisRound) readRounds++;
|
|
2369
|
+
ranThisRound = false;
|
|
2370
|
+
actedThisRound = false;
|
|
2371
|
+
if (!budgetSpent && readRounds >= maxReads) {
|
|
2372
|
+
budgetSpent = true;
|
|
2373
|
+
notes.push(READ_BUDGET_NOTE);
|
|
2374
|
+
choice = "required";
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
onNudge() {
|
|
2378
|
+
nudges++;
|
|
2379
|
+
if (opts.enabled && nudges >= maxNudges && opts.writeTool) choice = forceTool(opts.writeTool);
|
|
2380
|
+
else if (opts.enabled) choice = "required";
|
|
2381
|
+
return nudges;
|
|
2382
|
+
},
|
|
2383
|
+
drain() {
|
|
2384
|
+
const out = notes;
|
|
2385
|
+
notes = [];
|
|
2386
|
+
return out;
|
|
2387
|
+
},
|
|
2388
|
+
toolChoice() {
|
|
2389
|
+
if (acted) return null;
|
|
2390
|
+
const c = choice;
|
|
2391
|
+
choice = null;
|
|
2392
|
+
return c;
|
|
2393
|
+
},
|
|
2394
|
+
get acted() {
|
|
2395
|
+
return acted;
|
|
2396
|
+
},
|
|
2397
|
+
state: () => ({ readRounds, nudges, forced: budgetSpent })
|
|
2398
|
+
};
|
|
2399
|
+
}
|
|
2400
|
+
function createToolLedger(initial = null) {
|
|
2401
|
+
let done = { ...initial ?? {} };
|
|
2402
|
+
return {
|
|
2403
|
+
get: (id) => done[id],
|
|
2404
|
+
record: (run) => {
|
|
2405
|
+
done = { ...done, [run.id]: { id: run.id, name: run.name, argsText: run.argsText, ok: run.ok, summary: run.summary, content: run.content } };
|
|
2406
|
+
},
|
|
2407
|
+
entries: () => done,
|
|
2408
|
+
clear: () => {
|
|
2409
|
+
done = {};
|
|
2410
|
+
}
|
|
2411
|
+
};
|
|
2412
|
+
}
|
|
2413
|
+
async function runOnce(ledger, call, run) {
|
|
2414
|
+
const seen = ledger.get(call.id);
|
|
2415
|
+
if (seen) return { ...seen, acted: false, replayed: true };
|
|
2416
|
+
const result = await run();
|
|
2417
|
+
ledger.record(result);
|
|
2418
|
+
return result;
|
|
2419
|
+
}
|
|
2420
|
+
function resumeTranscript(checkpoint, pending, ledger) {
|
|
2421
|
+
if (!pending?.calls.length) return checkpoint;
|
|
2422
|
+
const answered = new Set(checkpoint.filter((m) => m.role === "tool").map((m) => m.tool_call_id));
|
|
2423
|
+
if (pending.calls.every((c) => answered.has(c.id))) return checkpoint;
|
|
2424
|
+
const assistant = {
|
|
2425
|
+
role: "assistant",
|
|
2426
|
+
content: pending.text,
|
|
2427
|
+
tool_calls: pending.calls.map((c) => ({ id: c.id, type: "function", function: { name: c.name, arguments: c.argsText } }))
|
|
2428
|
+
};
|
|
2429
|
+
const answers = pending.calls.map((c) => ledger?.[c.id]).filter((e) => !!e).map((e) => ({ role: "tool", tool_call_id: e.id, name: e.name, content: e.content }));
|
|
2430
|
+
return [...checkpoint, assistant, ...answers];
|
|
2431
|
+
}
|
|
2432
|
+
var browserSignals = () => {
|
|
2433
|
+
if (typeof document === "undefined" || typeof window === "undefined") return null;
|
|
2434
|
+
return {
|
|
2435
|
+
hidden: () => document.visibilityState === "hidden",
|
|
2436
|
+
online: () => typeof navigator === "undefined" || navigator.onLine !== false,
|
|
2437
|
+
subscribe: (fn) => {
|
|
2438
|
+
document.addEventListener("visibilitychange", fn);
|
|
2439
|
+
window.addEventListener("online", fn);
|
|
2440
|
+
window.addEventListener("pageshow", fn);
|
|
2441
|
+
return () => {
|
|
2442
|
+
document.removeEventListener("visibilitychange", fn);
|
|
2443
|
+
window.removeEventListener("online", fn);
|
|
2444
|
+
window.removeEventListener("pageshow", fn);
|
|
2445
|
+
};
|
|
2446
|
+
}
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
function whenResumable(signals = browserSignals(), signal, offlineWaitMs = 0) {
|
|
2450
|
+
if (!signals || signal?.aborted) return Promise.resolve();
|
|
2451
|
+
const visible = () => !signals.hidden() ? Promise.resolve() : new Promise((resolve2) => {
|
|
2452
|
+
const done = () => {
|
|
2453
|
+
off();
|
|
2454
|
+
signal?.removeEventListener("abort", done);
|
|
2455
|
+
resolve2();
|
|
2456
|
+
};
|
|
2457
|
+
const off = signals.subscribe(() => {
|
|
2458
|
+
if (!signals.hidden()) done();
|
|
2459
|
+
});
|
|
2460
|
+
signal?.addEventListener("abort", done);
|
|
2461
|
+
});
|
|
2462
|
+
return visible().then(() => {
|
|
2463
|
+
if (!offlineWaitMs || signals.online() || signal?.aborted) return;
|
|
2464
|
+
return new Promise((resolve2) => {
|
|
2465
|
+
const done = () => {
|
|
2466
|
+
clearTimeout(timer);
|
|
2467
|
+
off();
|
|
2468
|
+
signal?.removeEventListener("abort", done);
|
|
2469
|
+
resolve2();
|
|
2470
|
+
};
|
|
2471
|
+
const timer = setTimeout(done, offlineWaitMs);
|
|
2472
|
+
const off = signals.subscribe(() => {
|
|
2473
|
+
if (signals.online()) done();
|
|
2474
|
+
});
|
|
2475
|
+
signal?.addEventListener("abort", done);
|
|
2476
|
+
});
|
|
2477
|
+
});
|
|
2478
|
+
}
|
|
2479
|
+
function isInterruption(err, hidden = false) {
|
|
2480
|
+
if (hidden) return true;
|
|
2481
|
+
const e = err ?? {};
|
|
2482
|
+
if (e.code === "ai_timeout") return true;
|
|
2483
|
+
if (typeof e.status === "number") return e.status >= 500 || e.status === 408;
|
|
2484
|
+
const text = `${String(e.name ?? "")} ${String(e.code ?? "")} ${String(e.message ?? "")}`.toLowerCase();
|
|
2485
|
+
return ["load failed", "failed to fetch", "network", "fetch failed", "econnreset", "socket", "stream", "stalled", "timed out", "timeout"].some((w) => text.includes(w));
|
|
2486
|
+
}
|
|
2487
|
+
function serialRuns(inner) {
|
|
2488
|
+
const latest = /* @__PURE__ */ new Map();
|
|
2489
|
+
let queue = Promise.resolve();
|
|
2490
|
+
return {
|
|
2491
|
+
peek: (id) => latest.get(id),
|
|
2492
|
+
get: async (id) => latest.get(id) ?? inner.get(id),
|
|
2493
|
+
save: (rec) => {
|
|
2494
|
+
latest.set(rec.id, rec);
|
|
2495
|
+
const write = queue.then(() => inner.save(rec));
|
|
2496
|
+
queue = write.catch(() => {
|
|
2497
|
+
});
|
|
2498
|
+
return write;
|
|
2499
|
+
},
|
|
2500
|
+
list: async () => {
|
|
2501
|
+
await queue;
|
|
2502
|
+
return inner.list();
|
|
2503
|
+
},
|
|
2504
|
+
remove: (id) => {
|
|
2505
|
+
latest.delete(id);
|
|
2506
|
+
const write = queue.then(() => inner.remove(id));
|
|
2507
|
+
queue = write.catch(() => {
|
|
2508
|
+
});
|
|
2509
|
+
return write;
|
|
2510
|
+
}
|
|
2511
|
+
};
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
// lib/agent/tools/subagent-tools.ts
|
|
2515
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2516
|
+
|
|
2517
|
+
// lib/agent/subagent.ts
|
|
2518
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2519
|
+
|
|
2520
|
+
// lib/agent/orchestration.ts
|
|
2521
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2522
|
+
var MODE_KEY = "popcraft-agent-orchestration";
|
|
2523
|
+
function loadMode() {
|
|
2524
|
+
try {
|
|
2525
|
+
return normalizeMode(typeof localStorage === "undefined" ? null : localStorage.getItem(MODE_KEY));
|
|
2526
|
+
} catch {
|
|
2527
|
+
return "auto";
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
var useOrchestrationStore = create(() => ({ mode: loadMode() }));
|
|
2531
|
+
var orchestrationMode = () => useOrchestrationStore.getState().mode;
|
|
2532
|
+
var orchestrationSkillOf = (skill) => parseOrchestrationSkill(skill.instructions);
|
|
2533
|
+
var orchestrationSkills = (skills = allSkills()) => skills.map(orchestrationSkillOf).filter((s) => s !== null);
|
|
2534
|
+
var current = null;
|
|
2535
|
+
var currentOrchestration = () => current;
|
|
2536
|
+
async function orchestrateTurn(opts) {
|
|
2537
|
+
const mode = opts.mode ?? orchestrationMode();
|
|
2538
|
+
let skill = null;
|
|
2539
|
+
if (mode !== "off") {
|
|
2540
|
+
skill = await chooseOrchestrationSkill(opts.callModel, opts.skills ?? orchestrationSkills(), opts.task, mode).catch(() => null);
|
|
2541
|
+
}
|
|
2542
|
+
if (skill && opts.explicitModel && skill.roles?.lead) {
|
|
2543
|
+
const { lead: _lead, ...roles } = skill.roles;
|
|
2544
|
+
skill = { ...skill, roles };
|
|
2545
|
+
}
|
|
2546
|
+
current = createOrchestration(opts.callModel, { mode, skill, onEvent: opts.onEvent });
|
|
2547
|
+
return current;
|
|
2548
|
+
}
|
|
2549
|
+
function endOrchestration(orch) {
|
|
2550
|
+
if (current === orch) current = null;
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
// lib/agent/prompt.ts
|
|
2554
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2555
|
+
init_limits();
|
|
2556
|
+
var PROMPT_LIMITS = {
|
|
2557
|
+
maxPromptChars: 14400,
|
|
2558
|
+
maxSkillIndexChars: 5800,
|
|
2559
|
+
maxProfileIndexChars: 1600,
|
|
2560
|
+
maxContextChars: AI_LIMITS.maxContextChars,
|
|
2561
|
+
maxSelectionItems: 12
|
|
2562
|
+
};
|
|
2563
|
+
var IDENTITY = `You are the PopCraft design agent. PopCraft is a browser design tool (frames, vectors, text, components, styles, variables, auto layout), and you work inside the user's open document through tools that edit it live.`;
|
|
2564
|
+
var HOW_TO_WORK = `How you work:
|
|
2565
|
+
- Inspect before you edit. Read the selection and the layers you are about to change; never guess at node ids, colors or sizes.
|
|
2566
|
+
- Make designs as code. Anything bigger than a small tweak \u2014 a poster, a post, a reel, a page, an ad set \u2014 is ONE script built with write_design (read the design-code skill and read_design_reference first), not dozens of create_node and update_nodes calls: it builds in one step, shows on the canvas as you write it, returns a render to look at, and is changed by editing the script and building again. Before calling a design done, review it with the design-review skill: every size, moments in time, a light and a dark brand kit.
|
|
2567
|
+
- Prefer batched tools. One call that renames thirty layers or sets ten strings beats thirty calls: every write is one undo step for the user, and a wall of undo steps is a bad edit.
|
|
2568
|
+
- Stay inside the scope the user pointed at. The selection is the default scope; do not touch the rest of the page unless asked.
|
|
2569
|
+
- Explain briefly. A line or two about what you did and why, with counts rather than lists. No preamble, no restating the request.
|
|
2570
|
+
- Use skills. Before a multi-step job, read the matching skill with read_skill and follow it; skills carry the rules that make the result look designed rather than generated.
|
|
2571
|
+
- Pixel art (sprites, characters, items, tiles, 8-/16-bit) always goes in Pixel canvases made with k.pixels, never rects or vectors \u2014 even when the file already holds vector sprites. Read the pixel-sprites skill first. When the request does not say whether the sprite is still or animated (or pixel versus vector), ask with ask_user before building: that choice is consequential, so it is an exception to asking rarely.
|
|
2572
|
+
- Plan visibly for anything longer than a couple of steps: manage_todos puts the plan in front of the user and keeps you honest.
|
|
2573
|
+
- When a tool fails, read the error and fix the call \u2014 do not retry the same arguments, and do not pretend a failed edit happened.
|
|
2574
|
+
- Ask only when you genuinely cannot proceed (a structural ambiguity), and ask once. ask_user puts the question in front of them with options to click \u2014 use it when a choice is both ambiguous AND consequential, and never when you can reasonably infer the answer from the document or the request, or when you could just try it and let them undo. If they skip the question, pick sensibly and say which way you went.
|
|
2575
|
+
- Delegate the heavy parts. Surveying a big page, writing all the copy, restyling dozens of layers \u2014 hand those to a subagent with task(); it burns its own context and hands you back a short summary, which is what keeps you able to finish the turn. Several task() calls in one message run at the same time.`;
|
|
2576
|
+
var describeNodes = (doc, ids) => {
|
|
2577
|
+
const shown = ids.slice(0, PROMPT_LIMITS.maxSelectionItems);
|
|
2578
|
+
const parts = shown.map((id) => {
|
|
2579
|
+
const n = doc.nodes[id];
|
|
2580
|
+
return n ? `${id} (${n.type}${n.name ? ` "${str(n.name, 40)}"` : ""})` : `${id} (missing)`;
|
|
2581
|
+
});
|
|
2582
|
+
const rest = ids.length - shown.length;
|
|
2583
|
+
return parts.join(", ") + (rest > 0 ? `, +${rest} more` : "");
|
|
2584
|
+
};
|
|
2585
|
+
function buildContextBlock(ctx, maxChars = PROMPT_LIMITS.maxContextChars) {
|
|
2586
|
+
const { doc, pageId, selection } = ctx;
|
|
2587
|
+
const page = doc.nodes[pageId];
|
|
2588
|
+
const lines = [
|
|
2589
|
+
`Document: "${str(doc.name, AI_LIMITS.maxNameChars)}" (${doc.pages.length} page${doc.pages.length === 1 ? "" : "s"}, ${Object.keys(doc.nodes).length} nodes)`,
|
|
2590
|
+
`Current page: ${page ? `"${str(page.name, AI_LIMITS.maxNameChars)}"` : "unknown"} (id ${pageId}, ${page?.childIds?.length ?? 0} top-level layers)`,
|
|
2591
|
+
selection.length ? `Selection (${selection.length}): ${describeNodes(doc, selection)}` : "Selection: nothing selected \u2014 ask what to work on, or use find_nodes / get_document_outline to locate it."
|
|
2592
|
+
];
|
|
2593
|
+
const mentions = mentionContext(ctx.mentions, doc);
|
|
2594
|
+
if (mentions) lines.push(mentions);
|
|
2595
|
+
if (ctx.camera) {
|
|
2596
|
+
const z = Math.round(ctx.camera.zoom * 100);
|
|
2597
|
+
const size = ctx.viewport ? `, ${Math.round(ctx.viewport.width / ctx.camera.zoom)}x${Math.round(ctx.viewport.height / ctx.camera.zoom)} canvas units visible` : "";
|
|
2598
|
+
lines.push(`Viewport: ${z}% zoom at (${Math.round(ctx.camera.x)}, ${Math.round(ctx.camera.y)})${size}`);
|
|
2599
|
+
}
|
|
2600
|
+
const design = buildDesignContext(doc, Math.max(200, Math.floor(maxChars / 2)));
|
|
2601
|
+
if (design) lines.push(design);
|
|
2602
|
+
if (ctx.readOnly) lines.push("This document is currently read-only (a version-history preview, or you are in this file as a viewer or commenter) \u2014 editing tools will refuse; explain that instead of retrying.");
|
|
2603
|
+
return joinWithin(lines, maxChars);
|
|
2604
|
+
}
|
|
2605
|
+
function buildSkillIndex(skills, maxChars = PROMPT_LIMITS.maxSkillIndexChars) {
|
|
2606
|
+
return joinWithin(skills.filter((s) => parseOrchestrationSkill(s.instructions) === null).map(skillIndexLine), maxChars);
|
|
2607
|
+
}
|
|
2608
|
+
function buildProfileIndex(profiles, maxChars = PROMPT_LIMITS.maxProfileIndexChars) {
|
|
2609
|
+
return joinWithin(profiles.map(profileIndexLine), maxChars);
|
|
2610
|
+
}
|
|
2611
|
+
function buildSubagentPrompt(instructions, ctx) {
|
|
2612
|
+
const prompt = [instructions, SUBAGENT_FRAMING, `Current context:
|
|
2613
|
+
${buildContextBlock(ctx)}`].join("\n\n");
|
|
2614
|
+
return prompt.length <= PROMPT_LIMITS.maxPromptChars ? prompt : `${prompt.slice(0, PROMPT_LIMITS.maxPromptChars)}
|
|
2615
|
+
\u2026`;
|
|
2616
|
+
}
|
|
2617
|
+
function buildSystemPrompt(ctx) {
|
|
2618
|
+
const skills = ctx.skills ?? allSkills();
|
|
2619
|
+
const profiles = ctx.profiles ?? allProfiles();
|
|
2620
|
+
const active = ctx.activeSkillId ? findSkill(ctx.activeSkillId) : void 0;
|
|
2621
|
+
const sections = [
|
|
2622
|
+
IDENTITY,
|
|
2623
|
+
HOW_TO_WORK,
|
|
2624
|
+
`Skills (read the full instructions with read_skill before you follow one \u2014 only the summaries are here):
|
|
2625
|
+
${buildSkillIndex(skills)}`,
|
|
2626
|
+
`Subagent profiles (spawn one with task({ subagent_type, prompt }); it starts fresh, sees this document but not this conversation, and returns only a summary):
|
|
2627
|
+
${buildProfileIndex(profiles)}`,
|
|
2628
|
+
active ? `The user selected the "${active.name}" skill (${active.id}) for this turn. Call read_skill("${active.id}") first and follow it.` : "",
|
|
2629
|
+
// Last on purpose: selection, camera and viewport change every turn, and providers cache prompts by
|
|
2630
|
+
// prefix — everything above is identical from turn to turn, so it stays cacheable.
|
|
2631
|
+
`Current context:
|
|
2632
|
+
${buildContextBlock(ctx)}`
|
|
2633
|
+
].filter(Boolean);
|
|
2634
|
+
const prompt = sections.join("\n\n");
|
|
2635
|
+
return prompt.length <= PROMPT_LIMITS.maxPromptChars ? prompt : `${prompt.slice(0, PROMPT_LIMITS.maxPromptChars)}
|
|
2636
|
+
\u2026`;
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
// lib/agent/subagent.ts
|
|
2640
|
+
var PARENT_ONLY_TOOLS = ["task", "await_job", "send_message", "stop_agent", "list_agents"];
|
|
2641
|
+
var AGENT_SESSIONS_DB = "popcraft-agent-sessions";
|
|
2642
|
+
var FAST_HINTS = ["flash", "mini", "haiku", "lite", "nano", "small"];
|
|
2643
|
+
var isFastModelId = (id) => {
|
|
2644
|
+
const lower = id.toLowerCase();
|
|
2645
|
+
return FAST_HINTS.some((h) => lower.includes(h));
|
|
2646
|
+
};
|
|
2647
|
+
function canRunTools(model) {
|
|
2648
|
+
if (model.capabilities && !model.capabilities.includes("tools")) return false;
|
|
2649
|
+
const modalities = model.outputModalities;
|
|
2650
|
+
if (modalities?.length && !modalities.includes("text")) return false;
|
|
2651
|
+
return !/(^|[-/_])image([-/_]|$)/.test(model.id.toLowerCase());
|
|
2652
|
+
}
|
|
2653
|
+
function pickChildModel(profile, parentModel, catalog) {
|
|
2654
|
+
const explicit = profile.model?.trim();
|
|
2655
|
+
if (explicit && explicit !== "inherit") return explicit;
|
|
2656
|
+
if (!profile.readOnly) return parentModel;
|
|
2657
|
+
const fast = catalog.find((m) => isFastModelId(m.id) && canRunTools(m));
|
|
2658
|
+
return fast?.id ?? parentModel;
|
|
2659
|
+
}
|
|
2660
|
+
function childToolNames(profile, registered, forceReadOnly) {
|
|
2661
|
+
const wanted = profile.tools.includes(ALL_TOOLS) ? null : new Set(profile.tools);
|
|
2662
|
+
const parentOnly = new Set(PARENT_ONLY_TOOLS);
|
|
2663
|
+
return registered.filter((t) => !parentOnly.has(t.name)).filter((t) => t.confirm === void 0).filter((t) => t.interactive !== true).filter((t) => !wanted || wanted.has(t.name)).filter((t) => !forceReadOnly || t.readOnly === true).map((t) => t.name);
|
|
2664
|
+
}
|
|
2665
|
+
function editorPromptContext() {
|
|
2666
|
+
const st = useEditorStore.getState();
|
|
2667
|
+
return {
|
|
2668
|
+
doc: st.document,
|
|
2669
|
+
pageId: st.currentPageId,
|
|
2670
|
+
selection: st.selection,
|
|
2671
|
+
camera: st.camera,
|
|
2672
|
+
viewport: typeof window === "undefined" ? void 0 : { width: window.innerWidth, height: window.innerHeight },
|
|
2673
|
+
readOnly: !!editBlockReason()
|
|
2674
|
+
};
|
|
2675
|
+
}
|
|
2676
|
+
var childToolListener = null;
|
|
2677
|
+
function onChildTool(fn) {
|
|
2678
|
+
childToolListener = fn;
|
|
2679
|
+
return () => {
|
|
2680
|
+
if (childToolListener === fn) childToolListener = null;
|
|
2681
|
+
};
|
|
2682
|
+
}
|
|
2683
|
+
function subagentHost(deps = {}) {
|
|
2684
|
+
const profiles = deps.profiles ?? allProfiles;
|
|
2685
|
+
const registered = deps.registeredTools ?? (() => allTools().map((t) => ({ name: t.name, readOnly: t.readOnly, confirm: t.confirm, interactive: t.interactive })));
|
|
2686
|
+
const promptContext = deps.promptContext ?? editorPromptContext;
|
|
2687
|
+
const parentModel = deps.parentModel ?? (() => effectiveChatModel());
|
|
2688
|
+
const catalog = deps.catalog ?? (() => useAiStore.getState().catalog?.chat ?? []);
|
|
2689
|
+
const modelCall = deps.modelCall ?? agentModel2;
|
|
2690
|
+
const toolContext = deps.toolContext ?? editorToolContext;
|
|
2691
|
+
const profileOf = (ctx) => profiles().find((p) => p.id === ctx.profile.id) ?? ctx.profile;
|
|
2692
|
+
const readOnly = (ctx) => ctx.readOnly || promptContext().readOnly === true;
|
|
2693
|
+
return {
|
|
2694
|
+
profiles,
|
|
2695
|
+
callModel: modelCall(parentModel),
|
|
2696
|
+
childModel: (ctx) => {
|
|
2697
|
+
const orch = currentOrchestration();
|
|
2698
|
+
if (orch?.skill) {
|
|
2699
|
+
const call = orch.childModel(readOnly(ctx) ? "swarm" : profileOf(ctx).model ?? null);
|
|
2700
|
+
if (call) return call;
|
|
2701
|
+
}
|
|
2702
|
+
const model = pickChildModel(profileOf(ctx), parentModel(), catalog());
|
|
2703
|
+
return modelCall(() => model);
|
|
2704
|
+
},
|
|
2705
|
+
// The turn's skill sets how many background children run at once (null: the SDK's default).
|
|
2706
|
+
maxConcurrent: () => currentOrchestration()?.maxConcurrent ?? null,
|
|
2707
|
+
childSystemPrompt: (ctx) => buildSubagentPrompt(ctx.profile.instructions, promptContext()),
|
|
2708
|
+
childTools: (ctx) => {
|
|
2709
|
+
const all = registered();
|
|
2710
|
+
const names = childToolNames(profileOf(ctx), all, readOnly(ctx));
|
|
2711
|
+
return (names.length ? toolSpecs(names) : []).map((spec) => ({
|
|
2712
|
+
spec,
|
|
2713
|
+
readOnly: all.find((t) => t.name === spec.function.name)?.readOnly === true
|
|
2714
|
+
}));
|
|
2715
|
+
},
|
|
2716
|
+
execChildTool: async (call, ctx) => {
|
|
2717
|
+
if (!childToolNames(profileOf(ctx), registered(), readOnly(ctx)).includes(call.name)) {
|
|
2718
|
+
const message = `${call.name} is not one of your tools. Do this work with the tools you have, or say in your summary what is missing.`;
|
|
2719
|
+
return { ...call, ok: false, summary: message, content: JSON.stringify({ error: message }) };
|
|
2720
|
+
}
|
|
2721
|
+
const base = toolContext(ctx.signal);
|
|
2722
|
+
const toolCtx = { ...base, actor: { ...base.actor ?? {}, kind: "agent", nested: true, id: ctx.session.id } };
|
|
2723
|
+
try {
|
|
2724
|
+
const result = await runTool(call.name, call.argsText, toolCtx);
|
|
2725
|
+
return { ...call, ok: true, summary: result.summary, content: JSON.stringify(result.data ?? { ok: true, summary: result.summary }), images: result.images };
|
|
2726
|
+
} catch (err) {
|
|
2727
|
+
const message = err.message ?? String(err);
|
|
2728
|
+
return { ...call, ok: false, summary: message, content: JSON.stringify({ error: message }) };
|
|
2729
|
+
}
|
|
2730
|
+
},
|
|
2731
|
+
store: deps.store === null ? void 0 : deps.store ?? (typeof indexedDB === "undefined" ? void 0 : sessionStore(indexedDbStore(AGENT_SESSIONS_DB), "editor")),
|
|
2732
|
+
onEvent: (event) => reportChildTool(runtimeRef, event)
|
|
2733
|
+
};
|
|
2734
|
+
}
|
|
2735
|
+
var runtimeRef = null;
|
|
2736
|
+
var MAX_STEPS = 50;
|
|
2737
|
+
var activity = /* @__PURE__ */ new Map();
|
|
2738
|
+
var activityListeners = /* @__PURE__ */ new Set();
|
|
2739
|
+
function recordStep(event) {
|
|
2740
|
+
if (event.type !== "tool-start" && event.type !== "tool-end") return;
|
|
2741
|
+
const name = event.name ?? "";
|
|
2742
|
+
const steps = [...activity.get(event.sessionId) ?? []];
|
|
2743
|
+
if (event.type === "tool-start") steps.push({ name, status: "running" });
|
|
2744
|
+
else {
|
|
2745
|
+
const i = steps.findLastIndex((s) => s.name === name && s.status === "running");
|
|
2746
|
+
const step = { name, status: event.ok ? "done" : "error", summary: event.summary ?? void 0 };
|
|
2747
|
+
if (i >= 0) steps[i] = step;
|
|
2748
|
+
else steps.push(step);
|
|
2749
|
+
}
|
|
2750
|
+
activity.set(event.sessionId, steps.slice(-MAX_STEPS));
|
|
2751
|
+
for (const l of activityListeners) l();
|
|
2752
|
+
}
|
|
2753
|
+
function reportChildTool(runtime, event) {
|
|
2754
|
+
recordStep(event);
|
|
2755
|
+
if (!childToolListener || event.type !== "tool-start" && event.type !== "tool-end") return;
|
|
2756
|
+
const session2 = runtime?.get(event.sessionId);
|
|
2757
|
+
if (!session2) return;
|
|
2758
|
+
const jobId = session2.background ? session2.id : void 0;
|
|
2759
|
+
childToolListener({
|
|
2760
|
+
profile: session2.profile,
|
|
2761
|
+
toolCallId: session2.parentCallId ?? void 0,
|
|
2762
|
+
jobId,
|
|
2763
|
+
job: jobId,
|
|
2764
|
+
name: event.name ?? "",
|
|
2765
|
+
status: event.type === "tool-start" ? "running" : event.ok ? "done" : "error",
|
|
2766
|
+
summary: event.type === "tool-end" ? event.summary ?? void 0 : void 0
|
|
2767
|
+
});
|
|
2768
|
+
}
|
|
2769
|
+
function agentRuntime() {
|
|
2770
|
+
if (!runtimeRef) {
|
|
2771
|
+
runtimeRef = createAgentRuntime2(subagentHost());
|
|
2772
|
+
void runtimeRef.load();
|
|
2773
|
+
}
|
|
2774
|
+
return runtimeRef;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
// lib/agent/tools/subagent-tools.ts
|
|
2778
|
+
var MAX_WAIT_MS = 6e5;
|
|
2779
|
+
var DEFAULT_WAIT_MS = 12e4;
|
|
2780
|
+
function subagentDelegate(deps = {}) {
|
|
2781
|
+
const runtime = deps.runtime ?? agentRuntime;
|
|
2782
|
+
return async (raw) => {
|
|
2783
|
+
const request = raw;
|
|
2784
|
+
const rt = runtime();
|
|
2785
|
+
await rt.load();
|
|
2786
|
+
switch (request.op) {
|
|
2787
|
+
case "spawn": {
|
|
2788
|
+
const r = await rt.spawn({
|
|
2789
|
+
profileId: request.profileId,
|
|
2790
|
+
prompt: request.prompt,
|
|
2791
|
+
description: request.description,
|
|
2792
|
+
readOnly: deps.readOnly === true || request.readOnly === true,
|
|
2793
|
+
background: request.background,
|
|
2794
|
+
signal: deps.signal,
|
|
2795
|
+
parentCallId: request.callId
|
|
2796
|
+
});
|
|
2797
|
+
if (r.kind === "refused") return { kind: "refused", reason: r.reason };
|
|
2798
|
+
if (r.kind === "started") return { kind: "job", jobId: r.id };
|
|
2799
|
+
return { kind: "result", jobId: r.id, ok: r.ok, rounds: r.rounds, summary: r.summary };
|
|
2800
|
+
}
|
|
2801
|
+
case "await": {
|
|
2802
|
+
const ms = Math.min(Math.max(request.timeoutMs ?? DEFAULT_WAIT_MS, 1e3), MAX_WAIT_MS);
|
|
2803
|
+
const s = await rt.wait(request.jobId, { timeoutMs: ms, signal: deps.signal });
|
|
2804
|
+
if (!s) return { kind: "unknown-job", jobId: request.jobId };
|
|
2805
|
+
if (s.status !== "running" && s.status !== "queued") rt.dismissFinished(s.id);
|
|
2806
|
+
return { kind: "status", jobId: s.id, status: s.status, summary: s.summary ?? "" };
|
|
2807
|
+
}
|
|
2808
|
+
case "message": {
|
|
2809
|
+
const r = await rt.message(request.jobId, request.text, { wait: request.wait === true, signal: deps.signal });
|
|
2810
|
+
if (r.kind === "unknown") return { kind: "unknown-job", jobId: request.jobId };
|
|
2811
|
+
if (r.kind === "queued") return { kind: "delivered", jobId: r.id, resumed: false };
|
|
2812
|
+
if (r.kind === "resumed") return { kind: "delivered", jobId: r.id, resumed: true };
|
|
2813
|
+
return { kind: "result", jobId: r.id, ok: r.ok, rounds: 0, summary: r.summary };
|
|
2814
|
+
}
|
|
2815
|
+
case "stop":
|
|
2816
|
+
return { kind: "stopped", jobId: request.jobId, stopped: rt.stop(request.jobId) };
|
|
2817
|
+
case "list":
|
|
2818
|
+
return {
|
|
2819
|
+
kind: "list",
|
|
2820
|
+
agents: rt.list().map((s) => ({ id: s.id, profile: s.profile, description: s.description, status: s.status, summary: s.summary ?? void 0 }))
|
|
2821
|
+
};
|
|
2822
|
+
}
|
|
2823
|
+
};
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
// lib/commands/delegate.ts
|
|
2827
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2828
|
+
var TASK_DESCRIPTION = [
|
|
2829
|
+
"Delegate a self-contained piece of work to a subagent, which runs with its own fresh context and hands back only a summary. Use it to keep your own context small: surveys of large pages, writing all the copy, restyling dozens of layers.",
|
|
2830
|
+
"The child CANNOT see this conversation \u2014 put everything it needs in the prompt: the scope (node ids), the goal, the constraints, and what you want back. It cannot spawn subagents of its own; it may send you a progress report or a question while it works, which you answer with send_message.",
|
|
2831
|
+
"Several task calls in one message run at the same time. Set run_in_background when you want to carry on working while it runs: you get its id immediately and its summary arrives as a notification. Every child has an id: send_message steers a running one or continues a finished one with its whole context, await_job waits for one, stop_agent stops one, list_agents lists them."
|
|
2832
|
+
].join("\n\n");
|
|
2833
|
+
var delegateTask = defineCommand({
|
|
2834
|
+
id: "delegate.task",
|
|
2835
|
+
title: "Delegate to a subagent",
|
|
2836
|
+
domain: "delegate",
|
|
2837
|
+
// NOT harmless: a background task or a full-tool child obviously edits the document. The loop's
|
|
2838
|
+
// `readOnly` flag means "independent of the other calls in this batch", which a subagent spawn is, so
|
|
2839
|
+
// the agent exposure keeps saying true while the honest effect says document.
|
|
2840
|
+
effect: "document",
|
|
2841
|
+
permission: null,
|
|
2842
|
+
needs: ["delegate"],
|
|
2843
|
+
params: external_exports.object({
|
|
2844
|
+
subagent_type: external_exports.string().describe("Profile id \u2014 one of the profiles listed in your system prompt (list_profiles for the full set)."),
|
|
2845
|
+
prompt: external_exports.string().describe("The self-contained task. The child does not see this conversation."),
|
|
2846
|
+
description: external_exports.string().optional().describe('Short label for the panel row, e.g. "Survey the pricing page".'),
|
|
2847
|
+
readonly: external_exports.boolean().optional().describe("Force read-only tools for this child, whatever the profile allows."),
|
|
2848
|
+
run_in_background: external_exports.boolean().optional().describe("Return a job id immediately and notify you when the child finishes.")
|
|
2849
|
+
}),
|
|
2850
|
+
expose: {
|
|
2851
|
+
agent: { name: "task", description: TASK_DESCRIPTION, readOnly: true }
|
|
2852
|
+
},
|
|
2853
|
+
run: async (args, ctx) => {
|
|
2854
|
+
const reply = await ctx.use("delegate")({
|
|
2855
|
+
op: "spawn",
|
|
2856
|
+
profileId: args.subagent_type,
|
|
2857
|
+
prompt: args.prompt,
|
|
2858
|
+
description: args.description,
|
|
2859
|
+
readOnly: args.readonly === true,
|
|
2860
|
+
background: args.run_in_background,
|
|
2861
|
+
// omitted → the profile's `background` default (the SDK applies it)
|
|
2862
|
+
callId: ctx.callId
|
|
2863
|
+
});
|
|
2864
|
+
if (reply.kind === "refused") return { summary: "task refused (nested)", data: { error: reply.reason } };
|
|
2865
|
+
if (reply.kind === "job") {
|
|
2866
|
+
return {
|
|
2867
|
+
summary: `${args.subagent_type} started (${reply.jobId})`,
|
|
2868
|
+
data: {
|
|
2869
|
+
job_id: reply.jobId,
|
|
2870
|
+
status: "running",
|
|
2871
|
+
subagent_type: args.subagent_type,
|
|
2872
|
+
note: "Keep working. Its summary arrives as a notification when it finishes; await_job waits for it if you need it before you can go on."
|
|
2873
|
+
}
|
|
2874
|
+
};
|
|
2875
|
+
}
|
|
2876
|
+
const result = reply;
|
|
2877
|
+
return {
|
|
2878
|
+
summary: `${args.subagent_type}: ${result.ok ? "done" : "failed"} in ${result.rounds} round${result.rounds === 1 ? "" : "s"}`,
|
|
2879
|
+
data: { job_id: result.jobId, subagent_type: args.subagent_type, ok: result.ok, rounds: result.rounds, summary: result.summary }
|
|
2880
|
+
};
|
|
2881
|
+
}
|
|
2882
|
+
});
|
|
2883
|
+
var delegateAwait = defineCommand({
|
|
2884
|
+
id: "delegate.await",
|
|
2885
|
+
title: "Wait for a subagent",
|
|
2886
|
+
domain: "delegate",
|
|
2887
|
+
effect: "document",
|
|
2888
|
+
permission: null,
|
|
2889
|
+
needs: ["delegate"],
|
|
2890
|
+
params: external_exports.object({
|
|
2891
|
+
job_id: external_exports.string().describe("The id a task call returned."),
|
|
2892
|
+
timeout_ms: external_exports.number().optional().describe("How long to wait at most, in ms (default 120000, at most 600000).")
|
|
2893
|
+
}),
|
|
2894
|
+
expose: {
|
|
2895
|
+
agent: {
|
|
2896
|
+
name: "await_job",
|
|
2897
|
+
description: "Wait for a subagent by id to finish and get its summary (or its status when the wait times out). Use it when you need the answer before you can go on; otherwise keep working and let it notify you.",
|
|
2898
|
+
readOnly: true
|
|
2899
|
+
}
|
|
2900
|
+
},
|
|
2901
|
+
run: async (args, ctx) => {
|
|
2902
|
+
const reply = await ctx.use("delegate")({ op: "await", jobId: args.job_id, timeoutMs: args.timeout_ms });
|
|
2903
|
+
if (reply.kind === "unknown-job") {
|
|
2904
|
+
return { summary: `No job ${args.job_id}`, data: { error: `No background task with id "${args.job_id}".` } };
|
|
2905
|
+
}
|
|
2906
|
+
const status = reply;
|
|
2907
|
+
if (status.status === "running" || status.status === "queued") {
|
|
2908
|
+
return {
|
|
2909
|
+
summary: `${args.job_id}: ${status.status}`,
|
|
2910
|
+
data: {
|
|
2911
|
+
job_id: args.job_id,
|
|
2912
|
+
status: status.status,
|
|
2913
|
+
note: "Still going after the wait. Carry on with other work; its summary is delivered to you automatically when it lands."
|
|
2914
|
+
}
|
|
2915
|
+
};
|
|
2916
|
+
}
|
|
2917
|
+
return { summary: `${args.job_id}: ${status.status}`, data: { job_id: args.job_id, status: status.status, summary: status.summary ?? "" } };
|
|
2918
|
+
}
|
|
2919
|
+
});
|
|
2920
|
+
var delegateMessage = defineCommand({
|
|
2921
|
+
id: "delegate.message",
|
|
2922
|
+
title: "Message a subagent",
|
|
2923
|
+
domain: "delegate",
|
|
2924
|
+
// A message can resume a builder, which edits the document.
|
|
2925
|
+
effect: "document",
|
|
2926
|
+
permission: null,
|
|
2927
|
+
needs: ["delegate"],
|
|
2928
|
+
params: external_exports.object({
|
|
2929
|
+
job_id: external_exports.string().describe("The id a task call returned."),
|
|
2930
|
+
message: external_exports.string().describe("What to tell it: a correction, an answer to its question, or the next piece of work."),
|
|
2931
|
+
wait: external_exports.boolean().optional().describe("For a finished subagent: resume it and wait for its answer now.")
|
|
2932
|
+
}),
|
|
2933
|
+
expose: {
|
|
2934
|
+
agent: {
|
|
2935
|
+
name: "send_message",
|
|
2936
|
+
description: "Message a subagent by id. A running one reads it at its next step (steer it, answer its question). A finished one is resumed with its whole context and this message; set wait to get its answer now, otherwise it arrives as a notification.",
|
|
2937
|
+
readOnly: true
|
|
2938
|
+
}
|
|
2939
|
+
},
|
|
2940
|
+
run: async (args, ctx) => {
|
|
2941
|
+
const reply = await ctx.use("delegate")({ op: "message", jobId: args.job_id, text: args.message, wait: args.wait === true });
|
|
2942
|
+
if (reply.kind === "unknown-job") return { summary: `No subagent ${args.job_id}`, data: { error: `No subagent with id "${args.job_id}".` } };
|
|
2943
|
+
if (reply.kind === "delivered") {
|
|
2944
|
+
return reply.resumed ? { summary: `${args.job_id}: resumed`, data: { job_id: args.job_id, status: "running", note: "Resumed with your message. Its answer arrives as a notification." } } : { summary: `${args.job_id}: message delivered`, data: { job_id: args.job_id, status: "running", note: "It reads this at its next step." } };
|
|
2945
|
+
}
|
|
2946
|
+
const result = reply;
|
|
2947
|
+
return { summary: `${args.job_id}: ${result.ok ? "answered" : "failed"}`, data: { job_id: args.job_id, ok: result.ok, summary: result.summary } };
|
|
2948
|
+
}
|
|
2949
|
+
});
|
|
2950
|
+
var delegateStop = defineCommand({
|
|
2951
|
+
id: "delegate.stop",
|
|
2952
|
+
title: "Stop a subagent",
|
|
2953
|
+
domain: "delegate",
|
|
2954
|
+
effect: "none",
|
|
2955
|
+
permission: null,
|
|
2956
|
+
needs: ["delegate"],
|
|
2957
|
+
params: external_exports.object({ job_id: external_exports.string().describe("The id a task call returned.") }),
|
|
2958
|
+
expose: { agent: { name: "stop_agent", description: "Stop one running subagent by id. Edits it already made stay.", readOnly: true } },
|
|
2959
|
+
run: async (args, ctx) => {
|
|
2960
|
+
const reply = await ctx.use("delegate")({ op: "stop", jobId: args.job_id });
|
|
2961
|
+
const stopped = reply.kind === "stopped" && reply.stopped;
|
|
2962
|
+
return { summary: stopped ? `${args.job_id}: stopped` : `${args.job_id}: not running`, data: { job_id: args.job_id, stopped } };
|
|
2963
|
+
}
|
|
2964
|
+
});
|
|
2965
|
+
var delegateList = defineCommand({
|
|
2966
|
+
id: "delegate.list",
|
|
2967
|
+
title: "List subagents",
|
|
2968
|
+
domain: "delegate",
|
|
2969
|
+
effect: "none",
|
|
2970
|
+
permission: null,
|
|
2971
|
+
needs: ["delegate"],
|
|
2972
|
+
params: external_exports.object({}),
|
|
2973
|
+
expose: { agent: { name: "list_agents", description: "List your subagents: id, profile, what each was asked, its status and its last summary.", readOnly: true } },
|
|
2974
|
+
run: async (_args, ctx) => {
|
|
2975
|
+
const reply = await ctx.use("delegate")({ op: "list" });
|
|
2976
|
+
const agents = reply.kind === "list" ? reply.agents : [];
|
|
2977
|
+
return {
|
|
2978
|
+
summary: `${agents.length} subagent${agents.length === 1 ? "" : "s"}`,
|
|
2979
|
+
data: { agents: agents.map((a) => ({ job_id: a.id, subagent_type: a.profile, description: a.description, status: a.status, summary: a.summary })) }
|
|
2980
|
+
};
|
|
2981
|
+
}
|
|
2982
|
+
});
|
|
2983
|
+
var profileList = defineCommand({
|
|
2984
|
+
id: "delegate.listProfiles",
|
|
2985
|
+
title: "List subagent profiles",
|
|
2986
|
+
domain: "delegate",
|
|
2987
|
+
effect: "none",
|
|
2988
|
+
permission: null,
|
|
2989
|
+
params: external_exports.object({}),
|
|
2990
|
+
expose: {
|
|
2991
|
+
agent: {
|
|
2992
|
+
name: "list_profiles",
|
|
2993
|
+
description: "List the subagent profiles you can delegate to with task (id, what each is for, when to use it)."
|
|
2994
|
+
}
|
|
2995
|
+
},
|
|
2996
|
+
run: () => {
|
|
2997
|
+
const profiles = allProfiles();
|
|
2998
|
+
return {
|
|
2999
|
+
summary: `${profiles.length} profile${profiles.length === 1 ? "" : "s"}`,
|
|
3000
|
+
data: {
|
|
3001
|
+
profiles: profiles.map((p) => ({
|
|
3002
|
+
id: p.id,
|
|
3003
|
+
name: p.name,
|
|
3004
|
+
description: p.description,
|
|
3005
|
+
whenToUse: p.whenToUse,
|
|
3006
|
+
readOnly: p.readOnly,
|
|
3007
|
+
tools: p.tools,
|
|
3008
|
+
maxRounds: p.maxRounds
|
|
3009
|
+
}))
|
|
3010
|
+
}
|
|
3011
|
+
};
|
|
3012
|
+
}
|
|
3013
|
+
});
|
|
3014
|
+
var profileRead = defineCommand({
|
|
3015
|
+
id: "delegate.readProfile",
|
|
3016
|
+
title: "Read a subagent profile",
|
|
3017
|
+
domain: "delegate",
|
|
3018
|
+
effect: "none",
|
|
3019
|
+
permission: null,
|
|
3020
|
+
params: external_exports.object({ id: external_exports.string().describe('The profile id, e.g. "inspector".') }),
|
|
3021
|
+
expose: {
|
|
3022
|
+
agent: {
|
|
3023
|
+
name: "read_profile",
|
|
3024
|
+
description: "Read a subagent profile in full \u2014 its instructions, tool allowlist and round budget \u2014 before you delegate to it."
|
|
3025
|
+
}
|
|
3026
|
+
},
|
|
3027
|
+
run: ({ id }) => {
|
|
3028
|
+
const profile = findProfile(id);
|
|
3029
|
+
if (!profile) {
|
|
3030
|
+
return { summary: `No profile "${id}"`, data: { error: `No subagent profile with id "${id}".`, available: allProfiles().map(profileIndexLine) } };
|
|
3031
|
+
}
|
|
3032
|
+
return {
|
|
3033
|
+
summary: `Read profile: ${profile.name}`,
|
|
3034
|
+
data: { id: profile.id, name: profile.name, readOnly: profile.readOnly, tools: profile.tools, maxRounds: profile.maxRounds, instructions: profile.instructions }
|
|
3035
|
+
};
|
|
3036
|
+
}
|
|
3037
|
+
});
|
|
3038
|
+
var delegateCommands = [delegateTask, delegateAwait, delegateMessage, delegateStop, delegateList, profileList, profileRead];
|
|
3039
|
+
function registerDelegateCommands() {
|
|
3040
|
+
registerCommand(...delegateCommands);
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
// lib/commands/skill.ts
|
|
3044
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
3045
|
+
var skillList = defineCommand({
|
|
3046
|
+
id: "skill.list",
|
|
3047
|
+
title: "List skills",
|
|
3048
|
+
domain: "skill",
|
|
3049
|
+
effect: "none",
|
|
3050
|
+
// The skill sheets are the agent's own instructions, not the user's document.
|
|
3051
|
+
permission: null,
|
|
3052
|
+
params: external_exports.object({}),
|
|
3053
|
+
expose: {
|
|
3054
|
+
agent: {
|
|
3055
|
+
name: "list_skills",
|
|
3056
|
+
description: "List the available skills (name, what they are for, and when to use them). The full instructions come from read_skill."
|
|
3057
|
+
}
|
|
3058
|
+
},
|
|
3059
|
+
run: () => {
|
|
3060
|
+
const skills = allSkills();
|
|
3061
|
+
return {
|
|
3062
|
+
summary: `${skills.length} skill${skills.length === 1 ? "" : "s"}`,
|
|
3063
|
+
data: { skills: skills.map((s) => ({ id: s.id, name: s.name, description: s.description, whenToUse: s.whenToUse, tools: s.tools })) }
|
|
3064
|
+
};
|
|
3065
|
+
}
|
|
3066
|
+
});
|
|
3067
|
+
var skillRead = defineCommand({
|
|
3068
|
+
id: "skill.read",
|
|
3069
|
+
title: "Read a skill",
|
|
3070
|
+
domain: "skill",
|
|
3071
|
+
effect: "none",
|
|
3072
|
+
permission: null,
|
|
3073
|
+
params: external_exports.object({ id: external_exports.string().describe('The skill id, e.g. "fill-content".') }),
|
|
3074
|
+
expose: {
|
|
3075
|
+
agent: {
|
|
3076
|
+
name: "read_skill",
|
|
3077
|
+
description: "Read a skill\u2019s full instructions by id. Do this before following a skill; the system prompt only carries the summaries."
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3080
|
+
run: ({ id }) => {
|
|
3081
|
+
const skill = findSkill(id);
|
|
3082
|
+
if (!skill) {
|
|
3083
|
+
return {
|
|
3084
|
+
summary: `No skill "${id}"`,
|
|
3085
|
+
data: { error: `No skill with id "${id}".`, available: allSkills().map(skillIndexLine) }
|
|
3086
|
+
};
|
|
3087
|
+
}
|
|
3088
|
+
return {
|
|
3089
|
+
summary: `Read skill: ${skill.name}`,
|
|
3090
|
+
data: { id: skill.id, name: skill.name, tools: skill.tools, instructions: skill.instructions }
|
|
3091
|
+
};
|
|
3092
|
+
}
|
|
3093
|
+
});
|
|
3094
|
+
var skillCommands = [skillList, skillRead];
|
|
3095
|
+
function registerSkillCommands() {
|
|
3096
|
+
registerCommand(...skillCommands);
|
|
3097
|
+
}
|
|
3098
|
+
|
|
3099
|
+
// lib/agent/parts.ts
|
|
3100
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
3101
|
+
function todoItemsFrom(rows) {
|
|
3102
|
+
if (!Array.isArray(rows)) return null;
|
|
3103
|
+
return rows.map((row) => {
|
|
3104
|
+
const t = row ?? {};
|
|
3105
|
+
return {
|
|
3106
|
+
text: String(t.title ?? t.text ?? ""),
|
|
3107
|
+
done: typeof t.done === "boolean" ? t.done : t.status === "done"
|
|
3108
|
+
};
|
|
3109
|
+
});
|
|
3110
|
+
}
|
|
3111
|
+
var textOf2 = (m) => m.parts.filter((p) => p.type === "text").map((p) => p.text).join("");
|
|
3112
|
+
function pushTextDelta(parts, delta) {
|
|
3113
|
+
const last = parts[parts.length - 1];
|
|
3114
|
+
if (last?.type === "text") {
|
|
3115
|
+
parts[parts.length - 1] = { type: "text", text: last.text + delta };
|
|
3116
|
+
return parts;
|
|
3117
|
+
}
|
|
3118
|
+
return [...parts, { type: "text", text: delta }];
|
|
3119
|
+
}
|
|
3120
|
+
function pushReasoningDelta(parts, delta) {
|
|
3121
|
+
const last = parts[parts.length - 1];
|
|
3122
|
+
if (last?.type === "reasoning") {
|
|
3123
|
+
parts[parts.length - 1] = { type: "reasoning", text: last.text + delta };
|
|
3124
|
+
return parts;
|
|
3125
|
+
}
|
|
3126
|
+
return [...parts, { type: "reasoning", text: delta }];
|
|
3127
|
+
}
|
|
3128
|
+
function upsertToolPart(parts, part) {
|
|
3129
|
+
const i = parts.findIndex((p) => p.type === "tool" && p.id === part.id);
|
|
3130
|
+
if (i < 0) return [...parts, part];
|
|
3131
|
+
const next = [...parts];
|
|
3132
|
+
next[i] = { ...next[i], ...part };
|
|
3133
|
+
return next;
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3136
|
+
// lib/agent/runner.ts
|
|
3137
|
+
var ALWAYS_ALLOWED = ["list_skills", "read_skill", "manage_todos", "notify", "get_selection", "task", "await_job", "send_message", "stop_agent", "list_agents", "list_profiles", "read_profile", "ask_user"];
|
|
3138
|
+
var MAX_HISTORY_MESSAGES = 24;
|
|
3139
|
+
var MAX_PARALLEL_TOOLS = 4;
|
|
3140
|
+
var MAX_TOOL_RESULT_CHARS = 48e3;
|
|
3141
|
+
var TURN_MAX_ROUNDS = 500;
|
|
3142
|
+
function needsEditableSession(name) {
|
|
3143
|
+
const tool = getTool(name);
|
|
3144
|
+
if (tool?.readOnly) return false;
|
|
3145
|
+
if (tool?.interactive) return false;
|
|
3146
|
+
return true;
|
|
3147
|
+
}
|
|
3148
|
+
function guardEdit(name) {
|
|
3149
|
+
if (!needsEditableSession(name)) return;
|
|
3150
|
+
const reason = editBlockReason();
|
|
3151
|
+
if (reason) throw new ToolError(`${name} cannot run: ${reason}`);
|
|
3152
|
+
}
|
|
3153
|
+
function historyMessages() {
|
|
3154
|
+
return activeMessages().slice(-MAX_HISTORY_MESSAGES).map((m) => ({ role: m.role, content: textOf2(m).trim() })).filter((m) => !!m.content);
|
|
3155
|
+
}
|
|
3156
|
+
function systemMessage(skillId, mentions = []) {
|
|
3157
|
+
const st = useEditorStore.getState();
|
|
3158
|
+
return {
|
|
3159
|
+
role: "system",
|
|
3160
|
+
content: buildSystemPrompt({
|
|
3161
|
+
doc: st.document,
|
|
3162
|
+
pageId: st.currentPageId,
|
|
3163
|
+
selection: st.selection,
|
|
3164
|
+
camera: st.camera,
|
|
3165
|
+
viewport: typeof window === "undefined" ? void 0 : { width: window.innerWidth, height: window.innerHeight },
|
|
3166
|
+
activeSkillId: skillId,
|
|
3167
|
+
readOnly: !!editBlockReason(),
|
|
3168
|
+
mentions
|
|
3169
|
+
})
|
|
3170
|
+
};
|
|
3171
|
+
}
|
|
3172
|
+
var registerTurnTools = (deps) => {
|
|
3173
|
+
registerBuiltinTools();
|
|
3174
|
+
registerSkillCommands();
|
|
3175
|
+
registerDelegateCommands();
|
|
3176
|
+
registerDangerousCommands();
|
|
3177
|
+
provideAgentCapability("delegate", subagentDelegate(deps));
|
|
3178
|
+
};
|
|
3179
|
+
var specsFor = (skillId) => {
|
|
3180
|
+
const skill = skillId ? findSkill(skillId) : void 0;
|
|
3181
|
+
return skill?.tools.length ? toolSpecs([.../* @__PURE__ */ new Set([...skill.tools, ...ALWAYS_ALLOWED])]) : toolSpecs();
|
|
3182
|
+
};
|
|
3183
|
+
var loopTools = (skillId) => specsFor(skillId).map((spec) => ({ spec, readOnly: getTool(spec.function.name)?.readOnly === true }));
|
|
3184
|
+
function syncTodos(run) {
|
|
3185
|
+
if (run.name !== "manage_todos" || !run.ok) return;
|
|
3186
|
+
try {
|
|
3187
|
+
const data = JSON.parse(run.content);
|
|
3188
|
+
const items = todoItemsFrom(data.todos);
|
|
3189
|
+
if (items) setTodos(items);
|
|
3190
|
+
} catch {
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
var runs;
|
|
3194
|
+
var agentRuns = () => runs ??= serialRuns(runStore(indexedDbStore(AGENT_SESSIONS_DB), "editor"));
|
|
3195
|
+
var setAgentRuns = (store) => {
|
|
3196
|
+
runs = store && serialRuns(store);
|
|
3197
|
+
};
|
|
3198
|
+
var RESUME_WINDOW_MS = 30 * 6e4;
|
|
3199
|
+
var MAX_INTERRUPTIONS = 6;
|
|
3200
|
+
var SUSPEND_RESTART_MS = 5e3;
|
|
3201
|
+
var STOPPED_MESSAGE = "Stopped. Any edits already applied are still there.";
|
|
3202
|
+
async function runTurn(text, mentions = []) {
|
|
3203
|
+
const availability = aiAvailability();
|
|
3204
|
+
if (!availability.ok) {
|
|
3205
|
+
useAgentStore.setState({ error: { message: availability.message, code: availability.reason } });
|
|
3206
|
+
return;
|
|
3207
|
+
}
|
|
3208
|
+
if (!agentModel()) {
|
|
3209
|
+
useAgentStore.setState({ error: { message: "Pick a chat model for the agent first.", code: "no_model" } });
|
|
3210
|
+
return;
|
|
3211
|
+
}
|
|
3212
|
+
const skillId = mentions.find((m) => m.kind === "skill")?.id ?? useAgentStore.getState().skillId;
|
|
3213
|
+
const checkpoint = rememberCheckpoint(useEditorStore.getState().document);
|
|
3214
|
+
const user = { id: newId(), role: "user", parts: [{ type: "text", text }], createdAt: Date.now() };
|
|
3215
|
+
appendMessage(user);
|
|
3216
|
+
const assistantId = newId();
|
|
3217
|
+
appendMessage({ id: assistantId, role: "assistant", parts: [], createdAt: Date.now(), checkpoint });
|
|
3218
|
+
const s = useAgentStore.getState();
|
|
3219
|
+
const meta = {
|
|
3220
|
+
documentId: s.documentId ?? useEditorStore.getState().document.id,
|
|
3221
|
+
threadId: s.activeThreadId ?? "",
|
|
3222
|
+
assistantId,
|
|
3223
|
+
skillId,
|
|
3224
|
+
mentions,
|
|
3225
|
+
wantsChange: wantsChange(text)
|
|
3226
|
+
};
|
|
3227
|
+
await drive(meta, { messages: [systemMessage(skillId, mentions), ...historyMessages()], checkpoint });
|
|
3228
|
+
}
|
|
3229
|
+
async function resumeInterrupted(documentId) {
|
|
3230
|
+
if (useAgentStore.getState().running) return false;
|
|
3231
|
+
const store = agentRuns();
|
|
3232
|
+
let list;
|
|
3233
|
+
try {
|
|
3234
|
+
list = await interruptedRuns(store);
|
|
3235
|
+
} catch {
|
|
3236
|
+
return false;
|
|
3237
|
+
}
|
|
3238
|
+
const mine = list.filter((r) => r.meta?.documentId === documentId).sort((a, b) => b.updatedAt - a.updatedAt);
|
|
3239
|
+
const [latest, ...rest] = mine;
|
|
3240
|
+
for (const r of rest) await store.save({ ...r, status: "stopped", updatedAt: Date.now() });
|
|
3241
|
+
if (!latest) return false;
|
|
3242
|
+
if (Date.now() - latest.updatedAt > RESUME_WINDOW_MS || !findMessage(latest.meta)) {
|
|
3243
|
+
await store.save({ ...latest, status: "stopped", updatedAt: Date.now() });
|
|
3244
|
+
return false;
|
|
3245
|
+
}
|
|
3246
|
+
if (useAgentStore.getState().running) return false;
|
|
3247
|
+
await drive(latest.meta, { resume: latest });
|
|
3248
|
+
return true;
|
|
3249
|
+
}
|
|
3250
|
+
async function continueTurn() {
|
|
3251
|
+
const s = useAgentStore.getState();
|
|
3252
|
+
if (s.running) return false;
|
|
3253
|
+
const messages = activeMessages();
|
|
3254
|
+
const last = [...messages].reverse().find((m) => m.role === "assistant");
|
|
3255
|
+
if (!last) return false;
|
|
3256
|
+
const record = await agentRuns().get(last.id).catch(() => null);
|
|
3257
|
+
if (record?.meta && record.meta.threadId === s.activeThreadId) {
|
|
3258
|
+
await drive(record.meta, { resume: { ...record, status: "running" } });
|
|
3259
|
+
return true;
|
|
3260
|
+
}
|
|
3261
|
+
const ask = [...messages].reverse().find((m) => m.role === "user");
|
|
3262
|
+
if (!ask) return false;
|
|
3263
|
+
await runTurn(textOf2(ask));
|
|
3264
|
+
return true;
|
|
3265
|
+
}
|
|
3266
|
+
function findMessage(meta) {
|
|
3267
|
+
if (!meta) return void 0;
|
|
3268
|
+
return useAgentStore.getState().threads.find((t) => t.id === meta.threadId)?.messages.find((m) => m.id === meta.assistantId);
|
|
3269
|
+
}
|
|
3270
|
+
function installPageHandlers() {
|
|
3271
|
+
if (typeof window === "undefined") return () => {
|
|
3272
|
+
};
|
|
3273
|
+
const save = () => persistThreads();
|
|
3274
|
+
const onVisibility = () => {
|
|
3275
|
+
if (document.visibilityState === "hidden") save();
|
|
3276
|
+
};
|
|
3277
|
+
window.addEventListener("pagehide", save);
|
|
3278
|
+
document.addEventListener("visibilitychange", onVisibility);
|
|
3279
|
+
return () => {
|
|
3280
|
+
window.removeEventListener("pagehide", save);
|
|
3281
|
+
document.removeEventListener("visibilitychange", onVisibility);
|
|
3282
|
+
};
|
|
3283
|
+
}
|
|
3284
|
+
function resilientModel(model, turn, parts) {
|
|
3285
|
+
return async (messages, specs, hooks, _signal, request) => {
|
|
3286
|
+
await whenResumable(void 0, turn);
|
|
3287
|
+
const call = new AbortController();
|
|
3288
|
+
const onTurnAbort = () => call.abort();
|
|
3289
|
+
turn.addEventListener("abort", onTurnAbort);
|
|
3290
|
+
let hiddenAt = 0;
|
|
3291
|
+
const onVisibility = () => {
|
|
3292
|
+
if (document.visibilityState === "hidden") hiddenAt = Date.now();
|
|
3293
|
+
else if (hiddenAt && Date.now() - hiddenAt > SUSPEND_RESTART_MS) call.abort();
|
|
3294
|
+
};
|
|
3295
|
+
if (typeof document !== "undefined") document.addEventListener("visibilitychange", onVisibility);
|
|
3296
|
+
const base = parts.get();
|
|
3297
|
+
try {
|
|
3298
|
+
const cut = new Promise((_, reject) => call.signal.addEventListener("abort", () => reject(new Error("aborted")), { once: true }));
|
|
3299
|
+
cut.catch(() => {
|
|
3300
|
+
});
|
|
3301
|
+
return await Promise.race([model(messages, specs, hooks, call.signal, request), cut]);
|
|
3302
|
+
} catch (err) {
|
|
3303
|
+
parts.set(base);
|
|
3304
|
+
if (call.signal.aborted && !turn.aborted) throw { message: "The stream was interrupted.", code: "interrupted" };
|
|
3305
|
+
throw err;
|
|
3306
|
+
} finally {
|
|
3307
|
+
turn.removeEventListener("abort", onTurnAbort);
|
|
3308
|
+
if (typeof document !== "undefined") document.removeEventListener("visibilitychange", onVisibility);
|
|
3309
|
+
}
|
|
3310
|
+
};
|
|
3311
|
+
}
|
|
3312
|
+
function lastUserText(messages) {
|
|
3313
|
+
const m = [...messages].reverse().find((x) => x.role === "user");
|
|
3314
|
+
return typeof m?.content === "string" ? m.content : m ? JSON.stringify(m.content) : "";
|
|
3315
|
+
}
|
|
3316
|
+
function withGuidance(messages, guidance) {
|
|
3317
|
+
const i = messages.findIndex((m) => m.role === "system");
|
|
3318
|
+
if (i < 0) return [{ role: "system", content: guidance }, ...messages];
|
|
3319
|
+
const sys = messages[i];
|
|
3320
|
+
return messages.map((m, j) => j === i ? { ...sys, content: `${typeof sys.content === "string" ? sys.content : ""}
|
|
3321
|
+
|
|
3322
|
+
${guidance}` } : m);
|
|
3323
|
+
}
|
|
3324
|
+
async function drive(meta, initial) {
|
|
3325
|
+
let start = initial;
|
|
3326
|
+
const model = agentModel();
|
|
3327
|
+
if (!model) {
|
|
3328
|
+
useAgentStore.setState({ error: { message: "Pick a chat model for the agent first.", code: "no_model" } });
|
|
3329
|
+
return;
|
|
3330
|
+
}
|
|
3331
|
+
const store = agentRuns();
|
|
3332
|
+
const id = meta.assistantId;
|
|
3333
|
+
const before = useEditorStore.getState().document;
|
|
3334
|
+
if (useAgentStore.getState().activeThreadId !== meta.threadId) useAgentStore.setState({ activeThreadId: meta.threadId });
|
|
3335
|
+
let checkpoint = "checkpoint" in start ? start.checkpoint : findMessage(meta)?.checkpoint;
|
|
3336
|
+
if (!checkpoint) {
|
|
3337
|
+
checkpoint = rememberCheckpoint(before);
|
|
3338
|
+
updateMessage(id, (m) => ({ ...m, checkpoint }), { save: false });
|
|
3339
|
+
}
|
|
3340
|
+
const ledger = createToolLedger(meta.ledger);
|
|
3341
|
+
let parts = [...findMessage(meta)?.parts ?? []].filter((p) => !(p.type === "error" && p.message === STOPPED_MESSAGE));
|
|
3342
|
+
const flush = (save = false) => setParts(id, parts, { save });
|
|
3343
|
+
if ("resume" in start) {
|
|
3344
|
+
parts = parts.map((p) => {
|
|
3345
|
+
if (p.type !== "tool" || p.status !== "running") return p;
|
|
3346
|
+
const done = ledger.get(p.id);
|
|
3347
|
+
return done ? { ...p, status: done.ok ? "done" : "error", summary: done.summary, result: done.content } : { ...p, status: "error", summary: "interrupted", error: "interrupted" };
|
|
3348
|
+
});
|
|
3349
|
+
parts = [...parts, { type: "notice", kind: "resumed" }];
|
|
3350
|
+
flush(true);
|
|
3351
|
+
}
|
|
3352
|
+
const abort = new AbortController();
|
|
3353
|
+
useAgentStore.setState({ running: true, resuming: false, abort, error: null });
|
|
3354
|
+
const ctx = editorToolContext(abort.signal);
|
|
3355
|
+
const { createDesignPreview, DESIGN_TOOL } = await import("./live-K2YZRNKK.js");
|
|
3356
|
+
const preview = createDesignPreview();
|
|
3357
|
+
const readOnly = !!editBlockReason();
|
|
3358
|
+
registerTurnTools({ readOnly, signal: abort.signal });
|
|
3359
|
+
const runtime = agentRuntime();
|
|
3360
|
+
const fresh = "messages" in start ? start : null;
|
|
3361
|
+
const resumed = !fresh;
|
|
3362
|
+
const pool = orchestrationSkills();
|
|
3363
|
+
const orch = await orchestrateTurn({
|
|
3364
|
+
callModel: agentModel2(() => model),
|
|
3365
|
+
task: fresh ? lastUserText(fresh.messages) : "",
|
|
3366
|
+
mode: resumed && !meta.orchestrationSkill ? "off" : void 0,
|
|
3367
|
+
skills: resumed ? pool.filter((s) => s.name === meta.orchestrationSkill) : pool
|
|
3368
|
+
}).catch(() => null);
|
|
3369
|
+
meta.orchestrationSkill = orch?.skill?.name ?? null;
|
|
3370
|
+
if (fresh && orch?.guidance) start = { ...fresh, messages: withGuidance(fresh.messages, orch.guidance) };
|
|
3371
|
+
const tools = loopTools(meta.skillId);
|
|
3372
|
+
const canWrite = !readOnly && meta.wantsChange;
|
|
3373
|
+
const writeTool = tools.some((t) => t.spec.function.name === DESIGN_TOOL) ? DESIGN_TOOL : null;
|
|
3374
|
+
const guard = createActionGuard({ enabled: canWrite, writeTool, initial: meta.guard });
|
|
3375
|
+
let pending = null;
|
|
3376
|
+
let saving = Promise.resolve();
|
|
3377
|
+
const saveMeta = () => {
|
|
3378
|
+
meta.guard = guard.state();
|
|
3379
|
+
meta.ledger = ledger.entries();
|
|
3380
|
+
meta.pending = pending;
|
|
3381
|
+
const rec = store.peek(id);
|
|
3382
|
+
if (rec) saving = store.save({ ...rec, meta: { ...meta }, updatedAt: Date.now() }).catch(() => {
|
|
3383
|
+
});
|
|
3384
|
+
return saving;
|
|
3385
|
+
};
|
|
3386
|
+
const offPage = installPageHandlers();
|
|
3387
|
+
let interruptions = 0;
|
|
3388
|
+
let resumeFrom = "resume" in start ? start.resume : null;
|
|
3389
|
+
try {
|
|
3390
|
+
while (true) {
|
|
3391
|
+
const options = {
|
|
3392
|
+
tools,
|
|
3393
|
+
meta,
|
|
3394
|
+
stopped: () => abort.signal.aborted,
|
|
3395
|
+
drainNotifications: () => {
|
|
3396
|
+
const notes = guard.drain();
|
|
3397
|
+
if (notes.length) {
|
|
3398
|
+
parts = [...parts, { type: "notice", kind: "read-budget" }];
|
|
3399
|
+
flush();
|
|
3400
|
+
}
|
|
3401
|
+
return [...notes, ...runtime.drainParentNotifications()];
|
|
3402
|
+
},
|
|
3403
|
+
maxParallel: MAX_PARALLEL_TOOLS,
|
|
3404
|
+
// The loop's default cut every result at 8000 characters AFTER the tool had honoured its own limit, so
|
|
3405
|
+
// export_svg with maxChars 40000 still came back without its last paths and the model could not
|
|
3406
|
+
// rebuild the artwork. Tools bound their own output; this is only the backstop.
|
|
3407
|
+
maxResultChars: MAX_TOOL_RESULT_CHARS,
|
|
3408
|
+
maxRounds: TURN_MAX_ROUNDS,
|
|
3409
|
+
modelRetries: 3,
|
|
3410
|
+
isRecoverable: (err) => !abort.signal.aborted && isInterruption(err),
|
|
3411
|
+
requireAction: canWrite ? { nudges: ACTION_NUDGES, message: ACTION_NUDGE } : false,
|
|
3412
|
+
toolChoice: () => guard.toolChoice(),
|
|
3413
|
+
advise: orch?.advise ?? void 0,
|
|
3414
|
+
route: orch?.route ?? void 0,
|
|
3415
|
+
callModel: resilientModel(orch?.skill ? orch.callModel : agentModel2(() => model), abort.signal, { get: () => parts, set: (p) => {
|
|
3416
|
+
parts = p;
|
|
3417
|
+
flush();
|
|
3418
|
+
} }),
|
|
3419
|
+
checkpoint: async () => {
|
|
3420
|
+
pending = null;
|
|
3421
|
+
ledger.clear();
|
|
3422
|
+
await saveMeta();
|
|
3423
|
+
},
|
|
3424
|
+
execTool: (call) => runOnce(ledger, call, async () => {
|
|
3425
|
+
const row = { type: "tool", id: call.id, name: call.name, argsText: call.argsText, status: "running" };
|
|
3426
|
+
parts = upsertToolPart(parts, row);
|
|
3427
|
+
flush();
|
|
3428
|
+
const docBefore = useEditorStore.getState().document;
|
|
3429
|
+
try {
|
|
3430
|
+
if (call.name === DESIGN_TOOL) preview.end();
|
|
3431
|
+
guardEdit(call.name);
|
|
3432
|
+
const result = await runTool(call.name, call.argsText, { ...ctx, toolCallId: call.id });
|
|
3433
|
+
const content = JSON.stringify(result.data ?? { ok: true, summary: result.summary });
|
|
3434
|
+
parts = upsertToolPart(parts, { ...row, status: "done", summary: result.summary, result: content });
|
|
3435
|
+
for (const url of result.images ?? []) parts = [...parts, { type: "image", url, caption: call.name }];
|
|
3436
|
+
const acted = useEditorStore.getState().document !== docBefore;
|
|
3437
|
+
return { id: call.id, name: call.name, argsText: call.argsText, ok: true, summary: result.summary, content, images: result.images, acted };
|
|
3438
|
+
} catch (err) {
|
|
3439
|
+
const message = err.message ?? String(err);
|
|
3440
|
+
parts = upsertToolPart(parts, { ...row, status: "error", summary: message, error: message });
|
|
3441
|
+
return { id: call.id, name: call.name, argsText: call.argsText, ok: false, summary: message, content: JSON.stringify({ error: message }), acted: false };
|
|
3442
|
+
} finally {
|
|
3443
|
+
flush(true);
|
|
3444
|
+
}
|
|
3445
|
+
}).then((run) => {
|
|
3446
|
+
void saveMeta();
|
|
3447
|
+
return run;
|
|
3448
|
+
}),
|
|
3449
|
+
hooks: {
|
|
3450
|
+
onAssistantStart: () => {
|
|
3451
|
+
pending = { text: "", calls: [] };
|
|
3452
|
+
},
|
|
3453
|
+
onTextDelta: (d) => {
|
|
3454
|
+
parts = pushTextDelta([...parts], d);
|
|
3455
|
+
if (pending) pending.text += d;
|
|
3456
|
+
flush();
|
|
3457
|
+
},
|
|
3458
|
+
onReasoningDelta: (d) => {
|
|
3459
|
+
parts = pushReasoningDelta([...parts], d);
|
|
3460
|
+
flush();
|
|
3461
|
+
},
|
|
3462
|
+
onToolProgress: (p) => preview.update(p.name, p.arguments),
|
|
3463
|
+
onToolStart: (call) => {
|
|
3464
|
+
pending?.calls.push({ id: call.id, name: call.name, argsText: call.argsText });
|
|
3465
|
+
void saveMeta();
|
|
3466
|
+
},
|
|
3467
|
+
onToolEnd: (run) => {
|
|
3468
|
+
guard.onRun(run, run.acted === true);
|
|
3469
|
+
syncTodos(run);
|
|
3470
|
+
},
|
|
3471
|
+
onRoundEnd: () => guard.onRoundEnd(),
|
|
3472
|
+
onNudge: () => {
|
|
3473
|
+
const count = guard.onNudge();
|
|
3474
|
+
parts = [...parts, { type: "notice", kind: "nudge", count, max: ACTION_NUDGES }];
|
|
3475
|
+
flush(true);
|
|
3476
|
+
}
|
|
3477
|
+
}
|
|
3478
|
+
};
|
|
3479
|
+
try {
|
|
3480
|
+
let outcome;
|
|
3481
|
+
if (resumeFrom) {
|
|
3482
|
+
const cp = resumeFrom.checkpoint;
|
|
3483
|
+
const nudgesLeft = canWrite ? Math.max(0, ACTION_NUDGES - guard.state().nudges) : 0;
|
|
3484
|
+
const patched = { ...resumeFrom, status: "running", checkpoint: { ...cp, nudgesLeft, messages: resumeTranscript(cp.messages, meta.pending, meta.ledger) } };
|
|
3485
|
+
await store.save(patched);
|
|
3486
|
+
pending = null;
|
|
3487
|
+
outcome = await resumeRun(id, store, options);
|
|
3488
|
+
} else {
|
|
3489
|
+
if (!("messages" in start)) throw new Error("nothing to run");
|
|
3490
|
+
outcome = await runPersistent({ ...options, id, runs: store, messages: start.messages });
|
|
3491
|
+
}
|
|
3492
|
+
if (canWrite && !outcome.stopped && !outcome.acted && !guard.acted) parts = [...parts, { type: "notice", kind: "no-change" }];
|
|
3493
|
+
break;
|
|
3494
|
+
} catch (err) {
|
|
3495
|
+
if (abort.signal.aborted) break;
|
|
3496
|
+
const hidden = typeof document !== "undefined" && document.visibilityState === "hidden";
|
|
3497
|
+
if (isInterruption(err, hidden) && interruptions < MAX_INTERRUPTIONS) {
|
|
3498
|
+
interruptions++;
|
|
3499
|
+
await saving;
|
|
3500
|
+
const rec = await store.get(id);
|
|
3501
|
+
if (!rec) throw err;
|
|
3502
|
+
await store.save({ ...rec, status: "running", error: void 0, updatedAt: Date.now() });
|
|
3503
|
+
useAgentStore.setState({ resuming: true });
|
|
3504
|
+
persistThreads();
|
|
3505
|
+
await whenResumable(void 0, abort.signal, Math.min(3e4, 1e3 * 2 ** interruptions));
|
|
3506
|
+
if (abort.signal.aborted) break;
|
|
3507
|
+
useAgentStore.setState({ resuming: false });
|
|
3508
|
+
resumeFrom = await store.get(id);
|
|
3509
|
+
parts = [...parts, { type: "notice", kind: "resumed" }];
|
|
3510
|
+
flush(true);
|
|
3511
|
+
continue;
|
|
3512
|
+
}
|
|
3513
|
+
throw err;
|
|
3514
|
+
}
|
|
3515
|
+
}
|
|
3516
|
+
} catch (err) {
|
|
3517
|
+
if (!abort.signal.aborted) {
|
|
3518
|
+
const message = err?.message ?? String(err);
|
|
3519
|
+
const code = err?.code;
|
|
3520
|
+
parts = [...parts, { type: "error", message, code }];
|
|
3521
|
+
}
|
|
3522
|
+
} finally {
|
|
3523
|
+
endOrchestration(orch);
|
|
3524
|
+
offPage();
|
|
3525
|
+
preview.end();
|
|
3526
|
+
if (abort.signal.aborted) {
|
|
3527
|
+
runtime.stopAll();
|
|
3528
|
+
parts = [...parts, { type: "error", message: STOPPED_MESSAGE }];
|
|
3529
|
+
}
|
|
3530
|
+
if (useEditorStore.getState().document === before) updateMessage(id, (m) => ({ ...m, checkpoint: void 0 }), { save: false });
|
|
3531
|
+
flush(true);
|
|
3532
|
+
updateActiveThread((t) => ({ ...t, checkpoint: { id: checkpoint, label: "Undo these changes" } }));
|
|
3533
|
+
useAgentStore.setState({ running: false, resuming: false, abort: null });
|
|
3534
|
+
}
|
|
3535
|
+
}
|
|
3536
|
+
export {
|
|
3537
|
+
agentRuns,
|
|
3538
|
+
continueTurn,
|
|
3539
|
+
editorToolContext,
|
|
3540
|
+
needsEditableSession,
|
|
3541
|
+
onChildTool,
|
|
3542
|
+
resumeInterrupted,
|
|
3543
|
+
runTurn,
|
|
3544
|
+
setAgentRuns
|
|
3545
|
+
};
|