@popcraft/kit 1.5.2 → 1.5.3
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-7WSSG2RK.js +44 -0
- package/dist/chunks/apply-5LRIJLAC.js +46 -0
- package/dist/chunks/board-export-Y23SKLYT.js +180 -0
- package/dist/chunks/browser-OOQOVSHW.js +181 -0
- package/dist/chunks/build-SF4QKDOF.js +59 -0
- package/dist/chunks/builtin-4J3PGPKL.js +120 -0
- package/dist/chunks/buy-credits-3AGYGG4Y.js +80 -0
- package/dist/chunks/check-3K74D66E.js +59 -0
- package/dist/chunks/check-template-6XNZDXJQ.js +2463 -0
- package/dist/chunks/chunk-22N2SSGT.js +331 -0
- package/dist/chunks/chunk-234HRBXQ.js +23 -0
- package/dist/chunks/chunk-256KVT7H.js +87 -0
- package/dist/chunks/chunk-25X2IBV3.js +344 -0
- package/dist/chunks/chunk-264KHKAF.js +55 -0
- package/dist/chunks/chunk-27O3CJH7.js +23 -0
- package/dist/chunks/chunk-2ARMJCXH.js +197 -0
- package/dist/chunks/chunk-2CAPNUBA.js +283 -0
- package/dist/chunks/chunk-2ED3YLMV.js +27 -0
- package/dist/chunks/chunk-2EXPT4VG.js +90 -0
- package/dist/chunks/chunk-2F2J3DSJ.js +65 -0
- package/dist/chunks/chunk-2IPX5P3N.js +274 -0
- package/dist/chunks/chunk-2J3RSVA5.js +378 -0
- package/dist/chunks/chunk-2JGVB6VC.js +101 -0
- package/dist/chunks/chunk-2JIP7A57.js +126 -0
- package/dist/chunks/chunk-2JRGT42J.js +226 -0
- package/dist/chunks/chunk-2JRPKKVK.js +23 -0
- package/dist/chunks/chunk-2K7PVAPO.js +335 -0
- package/dist/chunks/chunk-2KR4RFOU.js +255 -0
- package/dist/chunks/chunk-2KRUJ5QP.js +49 -0
- package/dist/chunks/chunk-2LNTVUB6.js +484 -0
- package/dist/chunks/chunk-2MBVKJC4.js +232 -0
- package/dist/chunks/chunk-2MD44LUE.js +91 -0
- package/dist/chunks/chunk-2MJGJ2YG.js +164 -0
- package/dist/chunks/chunk-2NB656JJ.js +109 -0
- package/dist/chunks/chunk-2OHNZOEM.js +290 -0
- package/dist/chunks/chunk-2Q4B5YGK.js +282 -0
- package/dist/chunks/chunk-2QYLH3TY.js +33 -0
- package/dist/chunks/chunk-2S5KKBCR.js +290 -0
- package/dist/chunks/chunk-2SEL36TG.js +1378 -0
- package/dist/chunks/chunk-2STZQY4L.js +64 -0
- package/dist/chunks/chunk-2TDANZDV.js +48 -0
- package/dist/chunks/chunk-2ZSHCS57.js +173 -0
- package/dist/chunks/chunk-32CXKS4D.js +48 -0
- package/dist/chunks/chunk-33T6IP26.js +156 -0
- package/dist/chunks/chunk-34QBY4ZP.js +503 -0
- package/dist/chunks/chunk-35GB5PC4.js +152 -0
- package/dist/chunks/chunk-37H65WCG.js +127 -0
- package/dist/chunks/chunk-37PHS2ZW.js +175 -0
- package/dist/chunks/chunk-3A5A2BG6.js +170 -0
- package/dist/chunks/chunk-3BWLDDXE.js +313 -0
- package/dist/chunks/chunk-3CW65RBF.js +320 -0
- package/dist/chunks/chunk-3CX62FI7.js +217 -0
- package/dist/chunks/chunk-3CYLZFXJ.js +139 -0
- package/dist/chunks/chunk-3DZPVKXP.js +133 -0
- package/dist/chunks/chunk-3ESTQKVX.js +84 -0
- package/dist/chunks/chunk-3FXKWYDL.js +231 -0
- package/dist/chunks/chunk-3IPRYSXC.js +23 -0
- package/dist/chunks/chunk-3LNST2KW.js +174 -0
- package/dist/chunks/chunk-3N4O2UJJ.js +97 -0
- package/dist/chunks/chunk-3NFK55CI.js +141 -0
- package/dist/chunks/chunk-3QDUHNBG.js +86 -0
- package/dist/chunks/chunk-3RMOFQIY.js +23 -0
- package/dist/chunks/chunk-3RTN45CW.js +87 -0
- package/dist/chunks/chunk-3VCH7VY7.js +91 -0
- package/dist/chunks/chunk-3VL7Y7NN.js +157 -0
- package/dist/chunks/chunk-3VWSBLY2.js +265 -0
- package/dist/chunks/chunk-3X24HNYW.js +98 -0
- package/dist/chunks/chunk-3YKQQYCN.js +94 -0
- package/dist/chunks/chunk-42BNRF5C.js +164 -0
- package/dist/chunks/chunk-43FBFTQP.js +45 -0
- package/dist/chunks/chunk-45HLO3YU.js +249 -0
- package/dist/chunks/chunk-4A64WN4H.js +123 -0
- package/dist/chunks/chunk-4EUWNLFV.js +165 -0
- package/dist/chunks/chunk-4G35CBVK.js +172 -0
- package/dist/chunks/chunk-4GCRFVN6.js +146 -0
- package/dist/chunks/chunk-4IH7HZYS.js +81 -0
- package/dist/chunks/chunk-4JJVNUPQ.js +97 -0
- package/dist/chunks/chunk-4KNHCM2V.js +122 -0
- package/dist/chunks/chunk-4L6TW3HG.js +100 -0
- package/dist/chunks/chunk-4MEVOBHJ.js +544 -0
- package/dist/chunks/chunk-4MX5WNPZ.js +425 -0
- package/dist/chunks/chunk-4NJOAITX.js +52 -0
- package/dist/chunks/chunk-4NKFDB6U.js +150 -0
- package/dist/chunks/chunk-4NMAL3F2.js +41 -0
- package/dist/chunks/chunk-4PF6R3NI.js +122 -0
- package/dist/chunks/chunk-4T6XHMJH.js +176 -0
- package/dist/chunks/chunk-4T7P3EYO.js +78 -0
- package/dist/chunks/chunk-4WSXPQZX.js +85 -0
- package/dist/chunks/chunk-4ZG2CH5O.js +23 -0
- package/dist/chunks/chunk-52BLA5OF.js +33 -0
- package/dist/chunks/chunk-52MZH6RI.js +82 -0
- package/dist/chunks/chunk-53OS5NIO.js +93 -0
- package/dist/chunks/chunk-54BNTUPF.js +213 -0
- package/dist/chunks/chunk-564H3TVF.js +213 -0
- package/dist/chunks/chunk-56DW4X7S.js +98 -0
- package/dist/chunks/chunk-56Y3SBUJ.js +78 -0
- package/dist/chunks/chunk-57NAZGJC.js +132 -0
- package/dist/chunks/chunk-5A54JECH.js +47 -0
- package/dist/chunks/chunk-5BZELEBY.js +136 -0
- package/dist/chunks/chunk-5CHRSVPO.js +30 -0
- package/dist/chunks/chunk-5COLIMYI.js +97 -0
- package/dist/chunks/chunk-5CRMFYOC.js +80 -0
- package/dist/chunks/chunk-5E2Z4RFE.js +45 -0
- package/dist/chunks/chunk-5HIKTGYF.js +42 -0
- package/dist/chunks/chunk-5JEKHPMJ.js +462 -0
- package/dist/chunks/chunk-5KQE4B5X.js +101 -0
- package/dist/chunks/chunk-5LXUUNJD.js +42 -0
- package/dist/chunks/chunk-5M2GS4TJ.js +97 -0
- package/dist/chunks/chunk-5N3MTYIT.js +150 -0
- package/dist/chunks/chunk-5NDXW4B3.js +103 -0
- package/dist/chunks/chunk-5Q5FW2KE.js +124 -0
- package/dist/chunks/chunk-5SHGCKT7.js +156 -0
- package/dist/chunks/chunk-5SJPPYBX.js +79 -0
- package/dist/chunks/chunk-5VRCZTWJ.js +110 -0
- package/dist/chunks/chunk-5W3DPKU6.js +158 -0
- package/dist/chunks/chunk-5WDTG4MW.js +134 -0
- package/dist/chunks/chunk-5WMM75J2.js +77 -0
- package/dist/chunks/chunk-5WP7VZGK.js +193 -0
- package/dist/chunks/chunk-5WYDFQKK.js +50 -0
- package/dist/chunks/chunk-5Z365QGK.js +1845 -0
- package/dist/chunks/chunk-62LGDPMZ.js +173 -0
- package/dist/chunks/chunk-63EC6TG2.js +112 -0
- package/dist/chunks/chunk-63VGQDSD.js +76 -0
- package/dist/chunks/chunk-64TUCGHX.js +133 -0
- package/dist/chunks/chunk-65J7CZRJ.js +23 -0
- package/dist/chunks/chunk-66LURFSR.js +91 -0
- package/dist/chunks/chunk-66S6BNLV.js +102 -0
- package/dist/chunks/chunk-6AHEE32O.js +257 -0
- package/dist/chunks/chunk-6BNUGG7X.js +130 -0
- package/dist/chunks/chunk-6D7XWXUE.js +110 -0
- package/dist/chunks/chunk-6DCPFYY6.js +104 -0
- package/dist/chunks/chunk-6E5KXZVG.js +75 -0
- package/dist/chunks/chunk-6F53OMRR.js +180 -0
- package/dist/chunks/chunk-6FAOYHOD.js +206 -0
- package/dist/chunks/chunk-6FTNIUOF.js +567 -0
- package/dist/chunks/chunk-6FURB27D.js +33 -0
- package/dist/chunks/chunk-6GNP3TOZ.js +327 -0
- package/dist/chunks/chunk-6I4PQQYK.js +69 -0
- package/dist/chunks/chunk-6KH6WPHH.js +151 -0
- package/dist/chunks/chunk-6KHPKECQ.js +174 -0
- package/dist/chunks/chunk-6KLCONIW.js +212 -0
- package/dist/chunks/chunk-6KZZ5YRX.js +84 -0
- package/dist/chunks/chunk-6LNN7EYS.js +82 -0
- package/dist/chunks/chunk-6MCJOGS5.js +92 -0
- package/dist/chunks/chunk-6MXZZWP5.js +187 -0
- package/dist/chunks/chunk-6OCJUC6I.js +189 -0
- package/dist/chunks/chunk-6PAESVH2.js +260 -0
- package/dist/chunks/chunk-6RR4MRQA.js +23 -0
- package/dist/chunks/chunk-6S5T7MKF.js +23 -0
- package/dist/chunks/chunk-6TQVFAVQ.js +178 -0
- package/dist/chunks/chunk-6VG36UAG.js +195 -0
- package/dist/chunks/chunk-6WCLMFQD.js +152 -0
- package/dist/chunks/chunk-6XBMBUOT.js +512 -0
- package/dist/chunks/chunk-6XCOL2LQ.js +386 -0
- package/dist/chunks/chunk-6YRF6PYO.js +36 -0
- package/dist/chunks/chunk-6YZMB3GG.js +70 -0
- package/dist/chunks/chunk-6ZETGMW5.js +140 -0
- package/dist/chunks/chunk-6ZGRXCTQ.js +100 -0
- package/dist/chunks/chunk-73EEYMDO.js +224 -0
- package/dist/chunks/chunk-742G7JP4.js +228 -0
- package/dist/chunks/chunk-74BNJLWP.js +115 -0
- package/dist/chunks/chunk-76DL4A6R.js +358 -0
- package/dist/chunks/chunk-773EILR5.js +81 -0
- package/dist/chunks/chunk-7AIZDDSB.js +97 -0
- package/dist/chunks/chunk-7CEU2VHO.js +111 -0
- package/dist/chunks/chunk-7CKEPN6T.js +221 -0
- package/dist/chunks/chunk-7DIBQGYC.js +112 -0
- package/dist/chunks/chunk-7DKSFAIC.js +330 -0
- package/dist/chunks/chunk-7E4ZRLUR.js +60 -0
- package/dist/chunks/chunk-7GZAVS2Z.js +69 -0
- package/dist/chunks/chunk-7H2B4SRN.js +95 -0
- package/dist/chunks/chunk-7HLHJ3XJ.js +53 -0
- package/dist/chunks/chunk-7HS6IIWI.js +86 -0
- package/dist/chunks/chunk-7IOGDHCR.js +23 -0
- package/dist/chunks/chunk-7JOWETEO.js +180 -0
- package/dist/chunks/chunk-7KRFSCLR.js +390 -0
- package/dist/chunks/chunk-7L466RMP.js +270 -0
- package/dist/chunks/chunk-7LODVTPF.js +106 -0
- package/dist/chunks/chunk-7NXN5OAU.js +343 -0
- package/dist/chunks/chunk-7PABSPSQ.js +206 -0
- package/dist/chunks/chunk-7PGUSYO5.js +179 -0
- package/dist/chunks/chunk-7R3QC4LR.js +148 -0
- package/dist/chunks/chunk-7RQY3WQM.js +71 -0
- package/dist/chunks/chunk-7RWHWETW.js +33 -0
- package/dist/chunks/chunk-7TW34BWV.js +100 -0
- package/dist/chunks/chunk-7VGWMQIH.js +366 -0
- package/dist/chunks/chunk-7WX6T7C2.js +169 -0
- package/dist/chunks/chunk-7X6VOS7Z.js +84 -0
- package/dist/chunks/chunk-7XS7P4SL.js +215 -0
- package/dist/chunks/chunk-7YJ2GNO7.js +45 -0
- package/dist/chunks/chunk-A3PXIXBV.js +78 -0
- package/dist/chunks/chunk-A3YWI2N2.js +113 -0
- package/dist/chunks/chunk-A457SIPB.js +104 -0
- package/dist/chunks/chunk-A4EJTTYT.js +84 -0
- package/dist/chunks/chunk-A4JG7VDL.js +83 -0
- package/dist/chunks/chunk-A7V7FHNY.js +44 -0
- package/dist/chunks/chunk-AA5TYF2W.js +303 -0
- package/dist/chunks/chunk-AAA5GFNQ.js +172 -0
- package/dist/chunks/chunk-ACF2BERE.js +189 -0
- package/dist/chunks/chunk-ADNOYEGH.js +93 -0
- package/dist/chunks/chunk-AEOJTUI5.js +70 -0
- package/dist/chunks/chunk-AERB54UV.js +250 -0
- package/dist/chunks/chunk-AF6E4P2S.js +33 -0
- package/dist/chunks/chunk-AFPLEHBU.js +410 -0
- package/dist/chunks/chunk-AFZMDHES.js +106 -0
- package/dist/chunks/chunk-AJOEFKFE.js +312 -0
- package/dist/chunks/chunk-AJYR2YAP.js +48 -0
- package/dist/chunks/chunk-AKJ6XYID.js +104 -0
- package/dist/chunks/chunk-AKWJWKHL.js +117 -0
- package/dist/chunks/chunk-ANZER277.js +231 -0
- package/dist/chunks/chunk-AP2BZWOK.js +86 -0
- package/dist/chunks/chunk-APECWWG6.js +146 -0
- package/dist/chunks/chunk-APJXHATT.js +106 -0
- package/dist/chunks/chunk-AQL7TGBS.js +114 -0
- package/dist/chunks/chunk-AQWOCRVW.js +155 -0
- package/dist/chunks/chunk-AREJW3E7.js +129 -0
- package/dist/chunks/chunk-ASTFQH7X.js +446 -0
- package/dist/chunks/chunk-ASWMPTXG.js +110 -0
- package/dist/chunks/chunk-AT7KMP2M.js +91 -0
- package/dist/chunks/chunk-ATOXFRNH.js +23 -0
- package/dist/chunks/chunk-AUZMEBH5.js +84 -0
- package/dist/chunks/chunk-AV2GEHOR.js +30 -0
- package/dist/chunks/chunk-AY6HQLOC.js +128 -0
- package/dist/chunks/chunk-AYFUBUNN.js +202 -0
- package/dist/chunks/chunk-AYJ7SSMC.js +261 -0
- package/dist/chunks/chunk-AZIEAIGU.js +216 -0
- package/dist/chunks/chunk-B2JUHENZ.js +315 -0
- package/dist/chunks/chunk-B3P6KE65.js +121 -0
- package/dist/chunks/chunk-B6QFD32Q.js +242 -0
- package/dist/chunks/chunk-B72OSRGZ.js +109 -0
- package/dist/chunks/chunk-B756HXSA.js +276 -0
- package/dist/chunks/chunk-BAB7S6WR.js +181 -0
- package/dist/chunks/chunk-BALFBEH4.js +150 -0
- package/dist/chunks/chunk-BEB734TR.js +320 -0
- package/dist/chunks/chunk-BGBHCSL4.js +198 -0
- package/dist/chunks/chunk-BIISXOPD.js +224 -0
- package/dist/chunks/chunk-BKAC3FVS.js +80 -0
- package/dist/chunks/chunk-BMCH3POW.js +45 -0
- package/dist/chunks/chunk-BMSJ77I4.js +142 -0
- package/dist/chunks/chunk-BSE7L6UL.js +143 -0
- package/dist/chunks/chunk-BSTKY76N.js +2700 -0
- package/dist/chunks/chunk-BTDV4GYO.js +91 -0
- package/dist/chunks/chunk-BV6BNENP.js +218 -0
- package/dist/chunks/chunk-BX7GFN3X.js +88 -0
- package/dist/chunks/chunk-BXFFP3J6.js +180 -0
- package/dist/chunks/chunk-BXN57YIJ.js +115 -0
- package/dist/chunks/chunk-BZTWXGYL.js +127 -0
- package/dist/chunks/chunk-C2DC7ZBM.js +90 -0
- package/dist/chunks/chunk-C377CORM.js +23 -0
- package/dist/chunks/chunk-C3GITGD5.js +209 -0
- package/dist/chunks/chunk-C4U4L2CU.js +168 -0
- package/dist/chunks/chunk-C4WVZC6F.js +137 -0
- package/dist/chunks/chunk-C6LLCROU.js +128 -0
- package/dist/chunks/chunk-C7H5OBGR.js +101 -0
- package/dist/chunks/chunk-CBZ7ZYSF.js +112 -0
- package/dist/chunks/chunk-CC6TJ6XX.js +410 -0
- package/dist/chunks/chunk-CD7VRUXL.js +97 -0
- package/dist/chunks/chunk-CETZLMH6.js +45 -0
- package/dist/chunks/chunk-CFZCRQLU.js +61 -0
- package/dist/chunks/chunk-CKF327HR.js +145 -0
- package/dist/chunks/chunk-CNDKZQMX.js +191 -0
- package/dist/chunks/chunk-CNFCFFHU.js +55 -0
- package/dist/chunks/chunk-CNNAVQ37.js +173 -0
- package/dist/chunks/chunk-COETIOEW.js +177 -0
- package/dist/chunks/chunk-CPNWSD6K.js +146 -0
- package/dist/chunks/chunk-CPYUA63N.js +361 -0
- package/dist/chunks/chunk-CQQWNK22.js +256 -0
- package/dist/chunks/chunk-CTM5JMTL.js +94 -0
- package/dist/chunks/chunk-CUWBUJVV.js +161 -0
- package/dist/chunks/chunk-CWCIOGLM.js +106 -0
- package/dist/chunks/chunk-CX75JFOX.js +166 -0
- package/dist/chunks/chunk-CXEAA34L.js +48 -0
- package/dist/chunks/chunk-CY7V42UR.js +120 -0
- package/dist/chunks/chunk-CYSDKWEF.js +33 -0
- package/dist/chunks/chunk-D3SCJA3V.js +100 -0
- package/dist/chunks/chunk-D3TW2SYQ.js +138 -0
- package/dist/chunks/chunk-DAWJJIKA.js +77 -0
- package/dist/chunks/chunk-DBUIB35M.js +304 -0
- package/dist/chunks/chunk-DELV6VDJ.js +82 -0
- package/dist/chunks/chunk-DEP57PMU.js +224 -0
- package/dist/chunks/chunk-DG67NQO3.js +138 -0
- package/dist/chunks/chunk-DGCMDPWE.js +101 -0
- package/dist/chunks/chunk-DJ5SC2DP.js +33 -0
- package/dist/chunks/chunk-DNT25PE4.js +201 -0
- package/dist/chunks/chunk-DOFIBCOB.js +85 -0
- package/dist/chunks/chunk-DQGHGIRX.js +23 -0
- package/dist/chunks/chunk-DQKSS42N.js +187 -0
- package/dist/chunks/chunk-DR2AVZTF.js +346 -0
- package/dist/chunks/chunk-DS2MPIBW.js +89 -0
- package/dist/chunks/chunk-DSXDDUHY.js +117 -0
- package/dist/chunks/chunk-DTMEPQE6.js +390 -0
- package/dist/chunks/chunk-DU6V7VOA.js +79 -0
- package/dist/chunks/chunk-DUPO3QVN.js +115 -0
- package/dist/chunks/chunk-DV2UDLVF.js +114 -0
- package/dist/chunks/chunk-DVBD7B4O.js +151 -0
- package/dist/chunks/chunk-DWCKETXR.js +62 -0
- package/dist/chunks/chunk-DWLCRWSX.js +60 -0
- package/dist/chunks/chunk-DXIZQHA3.js +338 -0
- package/dist/chunks/chunk-E44ITRWR.js +161 -0
- package/dist/chunks/chunk-E6NT7WMO.js +46 -0
- package/dist/chunks/chunk-EA62P4QX.js +287 -0
- package/dist/chunks/chunk-ED4YFGWR.js +221 -0
- package/dist/chunks/chunk-EDJH5GC4.js +68 -0
- package/dist/chunks/chunk-EEYD4RF3.js +177 -0
- package/dist/chunks/chunk-EF5FAXQ4.js +152 -0
- package/dist/chunks/chunk-EFRCFXWY.js +112 -0
- package/dist/chunks/chunk-EGLEYRFA.js +52 -0
- package/dist/chunks/chunk-EGNXYUZU.js +190 -0
- package/dist/chunks/chunk-EH4UMHET.js +209 -0
- package/dist/chunks/chunk-EHGAS4W3.js +198 -0
- package/dist/chunks/chunk-EI3SSRWY.js +626 -0
- package/dist/chunks/chunk-ELARKEQU.js +172 -0
- package/dist/chunks/chunk-ELNGJO2E.js +200 -0
- package/dist/chunks/chunk-ELPWVQ47.js +685 -0
- package/dist/chunks/chunk-EOMCHOST.js +194 -0
- package/dist/chunks/chunk-EOQCS33P.js +251 -0
- package/dist/chunks/chunk-EPQORPBE.js +33 -0
- package/dist/chunks/chunk-EQ7ZV52L.js +23 -0
- package/dist/chunks/chunk-EQYJKU5Y.js +45 -0
- package/dist/chunks/chunk-ER7S73PC.js +396 -0
- package/dist/chunks/chunk-ETBW5GAG.js +166 -0
- package/dist/chunks/chunk-ETX6Y4YO.js +170 -0
- package/dist/chunks/chunk-EV26Z3NZ.js +41 -0
- package/dist/chunks/chunk-EVERWQAL.js +99 -0
- package/dist/chunks/chunk-EVSHTWAL.js +23 -0
- package/dist/chunks/chunk-EZG4X7M7.js +375 -0
- package/dist/chunks/chunk-EZSOQQDK.js +487 -0
- package/dist/chunks/chunk-F2CRG36N.js +94 -0
- package/dist/chunks/chunk-F2O6ADED.js +282 -0
- package/dist/chunks/chunk-F4EMICWI.js +231 -0
- package/dist/chunks/chunk-F647KXFT.js +160 -0
- package/dist/chunks/chunk-F66A6LTA.js +97 -0
- package/dist/chunks/chunk-F6ZZPTD4.js +135 -0
- package/dist/chunks/chunk-F7XCLW2Y.js +23 -0
- package/dist/chunks/chunk-FAXR4Y5Y.js +33 -0
- package/dist/chunks/chunk-FB4SMCUD.js +368 -0
- package/dist/chunks/chunk-FBNH3SUD.js +49 -0
- package/dist/chunks/chunk-FBS4IVL6.js +291 -0
- package/dist/chunks/chunk-FD45YBLT.js +33 -0
- package/dist/chunks/chunk-FEPBNM5J.js +811 -0
- package/dist/chunks/chunk-FF5GV2KU.js +92 -0
- package/dist/chunks/chunk-FFUYHOCP.js +632 -0
- package/dist/chunks/chunk-FGW2W5W5.js +105 -0
- package/dist/chunks/chunk-FHCDDZV5.js +589 -0
- package/dist/chunks/chunk-FHJJ4G3S.js +96 -0
- package/dist/chunks/chunk-FJNBUN6I.js +23 -0
- package/dist/chunks/chunk-FLPSGHON.js +123 -0
- package/dist/chunks/chunk-FMCFFX76.js +124 -0
- package/dist/chunks/chunk-FN3MVVNF.js +175 -0
- package/dist/chunks/chunk-FNS2XVOL.js +329 -0
- package/dist/chunks/chunk-FQPFKZKX.js +33 -0
- package/dist/chunks/chunk-FRM7SGXL.js +49 -0
- package/dist/chunks/chunk-FRWIJNAZ.js +167 -0
- package/dist/chunks/chunk-FSSAU3CX.js +157 -0
- package/dist/chunks/chunk-FTAS3UQY.js +23 -0
- package/dist/chunks/chunk-FTV5KYUM.js +129 -0
- package/dist/chunks/chunk-FTZYTCEN.js +118 -0
- package/dist/chunks/chunk-FU2EBIQE.js +130 -0
- package/dist/chunks/chunk-FUE6FW5D.js +362 -0
- package/dist/chunks/chunk-FUKNHECL.js +81 -0
- package/dist/chunks/chunk-FVF3B7Z3.js +109 -0
- package/dist/chunks/chunk-G2SVYS6J.js +111 -0
- package/dist/chunks/chunk-G3LOI37T.js +399 -0
- package/dist/chunks/chunk-G4QSLT4F.js +53 -0
- package/dist/chunks/chunk-G4WJKHMJ.js +116 -0
- package/dist/chunks/chunk-G5LVSESL.js +163 -0
- package/dist/chunks/chunk-G5PQBWEP.js +72 -0
- package/dist/chunks/chunk-G6GIAWV3.js +150 -0
- package/dist/chunks/chunk-GA632MS5.js +163 -0
- package/dist/chunks/chunk-GAH4UVQA.js +95 -0
- package/dist/chunks/chunk-GBHISJVR.js +68 -0
- package/dist/chunks/chunk-GBWWLDTP.js +103 -0
- package/dist/chunks/chunk-GCVYVIBI.js +41 -0
- package/dist/chunks/chunk-GCYYQQHM.js +210 -0
- package/dist/chunks/chunk-GDKX32ZC.js +33 -0
- package/dist/chunks/chunk-GE5YAARX.js +122 -0
- package/dist/chunks/chunk-GEL6DDAI.js +96 -0
- package/dist/chunks/chunk-GFURVTYV.js +23 -0
- package/dist/chunks/chunk-GGCDH3ZQ.js +237 -0
- package/dist/chunks/chunk-GGPRW5DC.js +41 -0
- package/dist/chunks/chunk-GJWPJOWZ.js +154 -0
- package/dist/chunks/chunk-GLDWJAOH.js +183 -0
- package/dist/chunks/chunk-GLQP2B5D.js +87 -0
- package/dist/chunks/chunk-GON2SMX5.js +392 -0
- package/dist/chunks/chunk-GOP7ULP2.js +239 -0
- package/dist/chunks/chunk-GQCGIX3L.js +119 -0
- package/dist/chunks/chunk-GRCPWIHN.js +103 -0
- package/dist/chunks/chunk-GRWFR7LQ.js +447 -0
- package/dist/chunks/chunk-GTR3IA7U.js +136 -0
- package/dist/chunks/chunk-GU7JP66A.js +74 -0
- package/dist/chunks/chunk-GV6X2ZLN.js +105 -0
- package/dist/chunks/chunk-GVELLQ3M.js +191 -0
- package/dist/chunks/chunk-GVKQJ7ER.js +165 -0
- package/dist/chunks/chunk-GWDAJ3UT.js +30 -0
- package/dist/chunks/chunk-GXCVMPPB.js +36 -0
- package/dist/chunks/chunk-GXLYLWIC.js +33 -0
- package/dist/chunks/chunk-GY6FBTGT.js +100 -0
- package/dist/chunks/chunk-GZ6ESIVS.js +194 -0
- package/dist/chunks/chunk-GZNNABXN.js +108 -0
- package/dist/chunks/chunk-H224JZMA.js +238 -0
- package/dist/chunks/chunk-H4S2VF6D.js +728 -0
- package/dist/chunks/chunk-H4XFA25L.js +361 -0
- package/dist/chunks/chunk-H5XC34OY.js +248 -0
- package/dist/chunks/chunk-HAQFRUPU.js +345 -0
- package/dist/chunks/chunk-HAR5L7D2.js +153 -0
- package/dist/chunks/chunk-HCNZYFON.js +104 -0
- package/dist/chunks/chunk-HEA4DDQZ.js +204 -0
- package/dist/chunks/chunk-HEDM7QNX.js +832 -0
- package/dist/chunks/chunk-HEOS5AM4.js +161 -0
- package/dist/chunks/chunk-HETKJ6FR.js +199 -0
- package/dist/chunks/chunk-HEXGCNVK.js +145 -0
- package/dist/chunks/chunk-HFHX42TH.js +226 -0
- package/dist/chunks/chunk-HH22DNIJ.js +161 -0
- package/dist/chunks/chunk-HI3EAXHM.js +361 -0
- package/dist/chunks/chunk-HJBI2XHN.js +317 -0
- package/dist/chunks/chunk-HJG56YFA.js +53 -0
- package/dist/chunks/chunk-HLKY4C56.js +311 -0
- package/dist/chunks/chunk-HLXIBLDB.js +248 -0
- package/dist/chunks/chunk-HM33NMF4.js +242 -0
- package/dist/chunks/chunk-HPLCBUFG.js +250 -0
- package/dist/chunks/chunk-HQ7YIDPL.js +160 -0
- package/dist/chunks/chunk-HQCPMQXE.js +196 -0
- package/dist/chunks/chunk-HRJTFH67.js +261 -0
- package/dist/chunks/chunk-HRLRIOOJ.js +72 -0
- package/dist/chunks/chunk-HRUAXZ4C.js +262 -0
- package/dist/chunks/chunk-HSM7MK2V.js +36 -0
- package/dist/chunks/chunk-HTQ3GWRI.js +33 -0
- package/dist/chunks/chunk-HWVE7IPO.js +289 -0
- package/dist/chunks/chunk-HXYNC2ZB.js +94 -0
- package/dist/chunks/chunk-HZY4HTPO.js +130 -0
- package/dist/chunks/chunk-I2DCBDMG.js +345 -0
- package/dist/chunks/chunk-I4AV6XOF.js +209 -0
- package/dist/chunks/chunk-I5B3XBY6.js +204 -0
- package/dist/chunks/chunk-I5HPTJEA.js +104 -0
- package/dist/chunks/chunk-I727UYMH.js +247 -0
- package/dist/chunks/chunk-IABI5JDY.js +39 -0
- package/dist/chunks/chunk-IAKY43EK.js +102 -0
- package/dist/chunks/chunk-IBAEI5F5.js +153 -0
- package/dist/chunks/chunk-ICHORX5O.js +135 -0
- package/dist/chunks/chunk-ICOBBB6N.js +103 -0
- package/dist/chunks/chunk-IG3PK6PR.js +182 -0
- package/dist/chunks/chunk-IJSJ2CGR.js +181 -0
- package/dist/chunks/chunk-IK473GZL.js +252 -0
- package/dist/chunks/chunk-IK7Y7SKC.js +102 -0
- package/dist/chunks/chunk-ILYOQKDY.js +99 -0
- package/dist/chunks/chunk-IOI6ZVZ2.js +49 -0
- package/dist/chunks/chunk-IOJBZXXE.js +146 -0
- package/dist/chunks/chunk-IRNTJGLG.js +33 -0
- package/dist/chunks/chunk-IUFNG2VK.js +157 -0
- package/dist/chunks/chunk-IVMKM6WG.js +115 -0
- package/dist/chunks/chunk-IWEZKRQ6.js +140 -0
- package/dist/chunks/chunk-IWNNNALK.js +738 -0
- package/dist/chunks/chunk-IWYIUF5G.js +136 -0
- package/dist/chunks/chunk-IYTEHHDH.js +71 -0
- package/dist/chunks/chunk-IYVQVKQO.js +65 -0
- package/dist/chunks/chunk-IZIB4JIO.js +178 -0
- package/dist/chunks/chunk-IZSXL7L4.js +220 -0
- package/dist/chunks/chunk-J4IVEO2I.js +119 -0
- package/dist/chunks/chunk-J5VBAZQE.js +33 -0
- package/dist/chunks/chunk-J7WU3D2V.js +338 -0
- package/dist/chunks/chunk-JBF6S22T.js +51 -0
- package/dist/chunks/chunk-JBTOBCPX.js +28 -0
- package/dist/chunks/chunk-JG3ZDLLU.js +283 -0
- package/dist/chunks/chunk-JGA5T2U5.js +108 -0
- package/dist/chunks/chunk-JH7V4I2P.js +422 -0
- package/dist/chunks/chunk-JHA3LCXU.js +342 -0
- package/dist/chunks/chunk-JHYJQVAR.js +1469 -0
- package/dist/chunks/chunk-JIKENF3K.js +166 -0
- package/dist/chunks/chunk-JJ6E2W4E.js +123 -0
- package/dist/chunks/chunk-JL2ERISJ.js +80 -0
- package/dist/chunks/chunk-JL5H4GEJ.js +147 -0
- package/dist/chunks/chunk-JLCNV3HX.js +33 -0
- package/dist/chunks/chunk-JNYOW45U.js +135 -0
- package/dist/chunks/chunk-JP76SYYS.js +260 -0
- package/dist/chunks/chunk-JPVZ3H7J.js +153 -0
- package/dist/chunks/chunk-JS2YKLJ3.js +277 -0
- package/dist/chunks/chunk-JWD6MNDN.js +23 -0
- package/dist/chunks/chunk-JWJOD67H.js +106 -0
- package/dist/chunks/chunk-JX7BOERX.js +85 -0
- package/dist/chunks/chunk-JXNUPFU3.js +163 -0
- package/dist/chunks/chunk-JZECQMRX.js +133 -0
- package/dist/chunks/chunk-K3UQILPB.js +201 -0
- package/dist/chunks/chunk-K5LWT46S.js +196 -0
- package/dist/chunks/chunk-K7PNAK3C.js +23 -0
- package/dist/chunks/chunk-KA4Q57X6.js +244 -0
- package/dist/chunks/chunk-KAD4KBPK.js +135 -0
- package/dist/chunks/chunk-KBOVUGTF.js +304 -0
- package/dist/chunks/chunk-KDSC2CJ4.js +293 -0
- package/dist/chunks/chunk-KDU4OZXM.js +45 -0
- package/dist/chunks/chunk-KDVLFBJZ.js +92 -0
- package/dist/chunks/chunk-KGXCSCDL.js +122 -0
- package/dist/chunks/chunk-KGYE3P7S.js +95 -0
- package/dist/chunks/chunk-KGZ5MPQV.js +290 -0
- package/dist/chunks/chunk-KIAT4BNL.js +45 -0
- package/dist/chunks/chunk-KIEPFRN5.js +79 -0
- package/dist/chunks/chunk-KIGGIPYC.js +163 -0
- package/dist/chunks/chunk-KIWJHPE2.js +23 -0
- package/dist/chunks/chunk-KJBSORI7.js +151 -0
- package/dist/chunks/chunk-KJZ3ZGFC.js +50 -0
- package/dist/chunks/chunk-KLSBECTJ.js +110 -0
- package/dist/chunks/chunk-KMNICPDP.js +170 -0
- package/dist/chunks/chunk-KMZBCYYZ.js +96 -0
- package/dist/chunks/chunk-KN3RO2VC.js +272 -0
- package/dist/chunks/chunk-KO44SLMW.js +78 -0
- package/dist/chunks/chunk-KQCZCZDO.js +351 -0
- package/dist/chunks/chunk-KQFQG3EG.js +140 -0
- package/dist/chunks/chunk-KTPL6YCN.js +112 -0
- package/dist/chunks/chunk-KUNWBMZJ.js +118 -0
- package/dist/chunks/chunk-KUUBM3XK.js +77 -0
- package/dist/chunks/chunk-KY6IGKEQ.js +194 -0
- package/dist/chunks/chunk-L276ZYKP.js +130 -0
- package/dist/chunks/chunk-L4TDCAPS.js +23 -0
- package/dist/chunks/chunk-L5D2NWAS.js +105 -0
- package/dist/chunks/chunk-L6MR5USD.js +179 -0
- package/dist/chunks/chunk-L72KE3FX.js +146 -0
- package/dist/chunks/chunk-L7H3XSQ2.js +242 -0
- package/dist/chunks/chunk-L7Z5GKDO.js +214 -0
- package/dist/chunks/chunk-LATGOEDN.js +222 -0
- package/dist/chunks/chunk-LBJG4QW5.js +33 -0
- package/dist/chunks/chunk-LDHROS2N.js +139 -0
- package/dist/chunks/chunk-LDTXGPJK.js +122 -0
- package/dist/chunks/chunk-LIII65N2.js +95 -0
- package/dist/chunks/chunk-LKLYA2VS.js +155 -0
- package/dist/chunks/chunk-LNY5GRJX.js +261 -0
- package/dist/chunks/chunk-LOIKNF3N.js +66 -0
- package/dist/chunks/chunk-LPEJNTRZ.js +45 -0
- package/dist/chunks/chunk-LQ72S7RL.js +192 -0
- package/dist/chunks/chunk-LQANHAVX.js +155 -0
- package/dist/chunks/chunk-LQZQRN3Z.js +71 -0
- package/dist/chunks/chunk-LRHRN45K.js +889 -0
- package/dist/chunks/chunk-LSOIXN2J.js +33 -0
- package/dist/chunks/chunk-LTRRV33N.js +147 -0
- package/dist/chunks/chunk-LW54RUYG.js +299 -0
- package/dist/chunks/chunk-LXFJDE5U.js +199 -0
- package/dist/chunks/chunk-LYAVMVK5.js +192 -0
- package/dist/chunks/chunk-LYUELQHF.js +95 -0
- package/dist/chunks/chunk-LZA6DMOJ.js +45 -0
- package/dist/chunks/chunk-LZR3TKIA.js +358 -0
- package/dist/chunks/chunk-LZV5OQUC.js +50 -0
- package/dist/chunks/chunk-LZXNLYDC.js +119 -0
- package/dist/chunks/chunk-M2IZOGYT.js +90 -0
- package/dist/chunks/chunk-M2S5KDWA.js +115 -0
- package/dist/chunks/chunk-M55RRRPA.js +209 -0
- package/dist/chunks/chunk-M57CPIKX.js +215 -0
- package/dist/chunks/chunk-M5D3UWPK.js +104 -0
- package/dist/chunks/chunk-M6XFBSR4.js +33 -0
- package/dist/chunks/chunk-M6XZRLLG.js +961 -0
- package/dist/chunks/chunk-M7RTTPJJ.js +120 -0
- package/dist/chunks/chunk-MAGPJVWV.js +106 -0
- package/dist/chunks/chunk-MAJHVF2C.js +497 -0
- package/dist/chunks/chunk-MBJD3F4X.js +73 -0
- package/dist/chunks/chunk-MCIAN3ED.js +102 -0
- package/dist/chunks/chunk-MD4HSINH.js +224 -0
- package/dist/chunks/chunk-MEOMEXMA.js +274 -0
- package/dist/chunks/chunk-METF2CHZ.js +33 -0
- package/dist/chunks/chunk-MFOTLD2U.js +141 -0
- package/dist/chunks/chunk-MGQ24O34.js +38 -0
- package/dist/chunks/chunk-MHLKMQEW.js +208 -0
- package/dist/chunks/chunk-MI7WQCJQ.js +81 -0
- package/dist/chunks/chunk-ML5NWHFV.js +118 -0
- package/dist/chunks/chunk-MLN6GDA6.js +30 -0
- package/dist/chunks/chunk-MLUEN5WZ.js +115 -0
- package/dist/chunks/chunk-MM44QVPL.js +33 -0
- package/dist/chunks/chunk-MMFIPUOS.js +339 -0
- package/dist/chunks/chunk-MNG5LUQM.js +154 -0
- package/dist/chunks/chunk-MOP3YM3S.js +240 -0
- package/dist/chunks/chunk-MOQEQLQZ.js +55 -0
- package/dist/chunks/chunk-MPITYV33.js +23 -0
- package/dist/chunks/chunk-MQSVU3TV.js +128 -0
- package/dist/chunks/chunk-MRLDRUXF.js +512 -0
- package/dist/chunks/chunk-MSKFK43G.js +149 -0
- package/dist/chunks/chunk-MSMRECKX.js +340 -0
- package/dist/chunks/chunk-MTJPRIYO.js +111 -0
- package/dist/chunks/chunk-MTTC2WDZ.js +197 -0
- package/dist/chunks/chunk-MVVB353L.js +331 -0
- package/dist/chunks/chunk-MWI65DID.js +209 -0
- package/dist/chunks/chunk-MX2FVXQU.js +138 -0
- package/dist/chunks/chunk-MY5JTZKH.js +163 -0
- package/dist/chunks/chunk-MZXA72UC.js +121 -0
- package/dist/chunks/chunk-MZXPPO5V.js +2157 -0
- package/dist/chunks/chunk-N2OTEHE5.js +108 -0
- package/dist/chunks/chunk-N2SEWNF5.js +468 -0
- package/dist/chunks/chunk-N2X6MCDC.js +226 -0
- package/dist/chunks/chunk-N3ICYU4C.js +23 -0
- package/dist/chunks/chunk-N3JAOC6G.js +115 -0
- package/dist/chunks/chunk-N4MRTIYC.js +40 -0
- package/dist/chunks/chunk-N6P7NINX.js +122 -0
- package/dist/chunks/chunk-N7PRRCHQ.js +43 -0
- package/dist/chunks/chunk-NAQ2EI7E.js +105 -0
- package/dist/chunks/chunk-NATSEDSM.js +305 -0
- package/dist/chunks/chunk-NBBDPPHW.js +202 -0
- package/dist/chunks/chunk-NCHSPZQQ.js +93 -0
- package/dist/chunks/chunk-NCRDUGBO.js +92 -0
- package/dist/chunks/chunk-NCTM25FB.js +55 -0
- package/dist/chunks/chunk-NDI3QSVM.js +261 -0
- package/dist/chunks/chunk-NEAEU64Z.js +75 -0
- package/dist/chunks/chunk-NEG7PJKB.js +102 -0
- package/dist/chunks/chunk-NF3O56LV.js +303 -0
- package/dist/chunks/chunk-NFQWWCG4.js +1309 -0
- package/dist/chunks/chunk-NFRQU7NK.js +176 -0
- package/dist/chunks/chunk-NG55HHCQ.js +89 -0
- package/dist/chunks/chunk-NHENNPSP.js +76 -0
- package/dist/chunks/chunk-NK3LQCJ6.js +147 -0
- package/dist/chunks/chunk-NKBUWZN4.js +99 -0
- package/dist/chunks/chunk-NKVJECI4.js +33 -0
- package/dist/chunks/chunk-NL2OFUZW.js +197 -0
- package/dist/chunks/chunk-NMK2NEIH.js +1574 -0
- package/dist/chunks/chunk-NML357WJ.js +336 -0
- package/dist/chunks/chunk-NPKLTOTF.js +327 -0
- package/dist/chunks/chunk-NQPTAIWW.js +78 -0
- package/dist/chunks/chunk-NUR5LYYW.js +45 -0
- package/dist/chunks/chunk-NV42LQUK.js +183 -0
- package/dist/chunks/chunk-NVAP5QBI.js +23 -0
- package/dist/chunks/chunk-NVNGA2O2.js +358 -0
- package/dist/chunks/chunk-NW3J4KHZ.js +156 -0
- package/dist/chunks/chunk-NWAZMAQD.js +655 -0
- package/dist/chunks/chunk-NWWM3IBG.js +1393 -0
- package/dist/chunks/chunk-NXJBYMPQ.js +88 -0
- package/dist/chunks/chunk-O23IVHTV.js +684 -0
- package/dist/chunks/chunk-O2J6T26A.js +898 -0
- package/dist/chunks/chunk-O36V3N2Z.js +171 -0
- package/dist/chunks/chunk-O4DSXHT6.js +234 -0
- package/dist/chunks/chunk-O55XGKMJ.js +97 -0
- package/dist/chunks/chunk-O5URFVGZ.js +147 -0
- package/dist/chunks/chunk-OBKVVWYE.js +324 -0
- package/dist/chunks/chunk-ODKTTFCJ.js +36 -0
- package/dist/chunks/chunk-ODKZRPTJ.js +23 -0
- package/dist/chunks/chunk-OFSYFTEV.js +161 -0
- package/dist/chunks/chunk-OGEEZADU.js +135 -0
- package/dist/chunks/chunk-OGNQERHN.js +144 -0
- package/dist/chunks/chunk-OGR2IARA.js +326 -0
- package/dist/chunks/chunk-OHQD6YS6.js +98 -0
- package/dist/chunks/chunk-OILVCK33.js +94 -0
- package/dist/chunks/chunk-OJOZU25Z.js +23 -0
- package/dist/chunks/chunk-OKVAS6SD.js +428 -0
- package/dist/chunks/chunk-OLTOG3KY.js +83 -0
- package/dist/chunks/chunk-OQ3OWQHE.js +777 -0
- package/dist/chunks/chunk-ORVNGWGO.js +33 -0
- package/dist/chunks/chunk-OS2KYXU7.js +150 -0
- package/dist/chunks/chunk-OSQ2EIKP.js +23 -0
- package/dist/chunks/chunk-OSRL6CLL.js +298 -0
- package/dist/chunks/chunk-OUOB4QPV.js +190 -0
- package/dist/chunks/chunk-OVK3T5EI.js +47 -0
- package/dist/chunks/chunk-OWTW5LOT.js +122 -0
- package/dist/chunks/chunk-OXC7K5GB.js +155 -0
- package/dist/chunks/chunk-P4LOQ3LW.js +133 -0
- package/dist/chunks/chunk-P5KLE5K5.js +77 -0
- package/dist/chunks/chunk-P7DFQVAO.js +1419 -0
- package/dist/chunks/chunk-P7HIHJXE.js +33 -0
- package/dist/chunks/chunk-PB3UMFJU.js +23 -0
- package/dist/chunks/chunk-PB57BKEN.js +89 -0
- package/dist/chunks/chunk-PBR4FPC2.js +117 -0
- package/dist/chunks/chunk-PC2CMKFN.js +166 -0
- package/dist/chunks/chunk-PCDZJTCE.js +169 -0
- package/dist/chunks/chunk-PCMGJCH2.js +336 -0
- package/dist/chunks/chunk-PD6C2EGD.js +155 -0
- package/dist/chunks/chunk-PEBPPL6C.js +141 -0
- package/dist/chunks/chunk-PEIEW7AK.js +183 -0
- package/dist/chunks/chunk-PFWKT4ZK.js +152 -0
- package/dist/chunks/chunk-PHYPFJCE.js +86 -0
- package/dist/chunks/chunk-PK7O4JMR.js +108 -0
- package/dist/chunks/chunk-PKU3GBAL.js +103 -0
- package/dist/chunks/chunk-PNRA34ME.js +598 -0
- package/dist/chunks/chunk-POKM3PFS.js +342 -0
- package/dist/chunks/chunk-PPA7PTWA.js +87 -0
- package/dist/chunks/chunk-PPILJTWK.js +134 -0
- package/dist/chunks/chunk-PQH56VEG.js +45 -0
- package/dist/chunks/chunk-PRFNAF32.js +169 -0
- package/dist/chunks/chunk-PTC4JZXC.js +1349 -0
- package/dist/chunks/chunk-PTDMIIPT.js +152 -0
- package/dist/chunks/chunk-PTMNUBIQ.js +142 -0
- package/dist/chunks/chunk-PVXRIHGR.js +79 -0
- package/dist/chunks/chunk-PYXF4WED.js +90 -0
- package/dist/chunks/chunk-PZBREUT3.js +127 -0
- package/dist/chunks/chunk-PZL2OSCP.js +66 -0
- package/dist/chunks/chunk-Q4HLVVHI.js +172 -0
- package/dist/chunks/chunk-Q4LG4TEV.js +93 -0
- package/dist/chunks/chunk-Q5CYUN54.js +155 -0
- package/dist/chunks/chunk-Q6V3UYN2.js +261 -0
- package/dist/chunks/chunk-QB5MTZ75.js +337 -0
- package/dist/chunks/chunk-QCMHVD3M.js +70 -0
- package/dist/chunks/chunk-QCYZPSR5.js +262 -0
- package/dist/chunks/chunk-QEEH7RD6.js +95 -0
- package/dist/chunks/chunk-QEHSQZSO.js +479 -0
- package/dist/chunks/chunk-QF4I5BSX.js +33 -0
- package/dist/chunks/chunk-QFFQNGAW.js +454 -0
- package/dist/chunks/chunk-QG2KFDNA.js +184 -0
- package/dist/chunks/chunk-QGAKTK2H.js +23 -0
- package/dist/chunks/chunk-QGF5XDVQ.js +23 -0
- package/dist/chunks/chunk-QGUJOTMZ.js +158 -0
- package/dist/chunks/chunk-QJKXM36S.js +479 -0
- package/dist/chunks/chunk-QKKXINPI.js +107 -0
- package/dist/chunks/chunk-QL2JZ5RD.js +391 -0
- package/dist/chunks/chunk-QMYXTVEH.js +307 -0
- package/dist/chunks/chunk-QOAFWPCZ.js +258 -0
- package/dist/chunks/chunk-QORNLNEF.js +225 -0
- package/dist/chunks/chunk-QOWKLETU.js +145 -0
- package/dist/chunks/chunk-QPHJ6Q4S.js +112 -0
- package/dist/chunks/chunk-QQCV4JPQ.js +415 -0
- package/dist/chunks/chunk-QQPKWRUB.js +78 -0
- package/dist/chunks/chunk-QRBVNNY6.js +360 -0
- package/dist/chunks/chunk-QRCZ47JD.js +769 -0
- package/dist/chunks/chunk-QSLGJPB6.js +414 -0
- package/dist/chunks/chunk-QSWKJAA4.js +163 -0
- package/dist/chunks/chunk-QTB5O6HW.js +105 -0
- package/dist/chunks/chunk-QTRWP45O.js +94 -0
- package/dist/chunks/chunk-QTZW4GPV.js +86 -0
- package/dist/chunks/chunk-QUCWQU3U.js +382 -0
- package/dist/chunks/chunk-QUSCDFH3.js +90 -0
- package/dist/chunks/chunk-QUV72M7T.js +95 -0
- package/dist/chunks/chunk-QVA7YSJB.js +139 -0
- package/dist/chunks/chunk-QWJ32P4X.js +80 -0
- package/dist/chunks/chunk-QZ3JJ6UJ.js +218 -0
- package/dist/chunks/chunk-QZBRT325.js +105 -0
- package/dist/chunks/chunk-QZUFXUPH.js +85 -0
- package/dist/chunks/chunk-R35OS5RG.js +436 -0
- package/dist/chunks/chunk-R4N65IEC.js +108 -0
- package/dist/chunks/chunk-R7UT3ZH6.js +151 -0
- package/dist/chunks/chunk-RAKJVCX3.js +149 -0
- package/dist/chunks/chunk-RCAMVK6I.js +77 -0
- package/dist/chunks/chunk-RDFMG5JA.js +178 -0
- package/dist/chunks/chunk-REQCGL52.js +70 -0
- package/dist/chunks/chunk-RFFD5EI3.js +340 -0
- package/dist/chunks/chunk-RG6I65NZ.js +936 -0
- package/dist/chunks/chunk-RGPCGGUE.js +260 -0
- package/dist/chunks/chunk-RH6OVL4I.js +45 -0
- package/dist/chunks/chunk-RHO4MPUN.js +225 -0
- package/dist/chunks/chunk-RIBVR2BF.js +80 -0
- package/dist/chunks/chunk-RJTP4VOD.js +214 -0
- package/dist/chunks/chunk-RKR6MXCK.js +93 -0
- package/dist/chunks/chunk-RLJIUIUF.js +266 -0
- package/dist/chunks/chunk-RNDWGIWW.js +164 -0
- package/dist/chunks/chunk-RNUMMGM2.js +251 -0
- package/dist/chunks/chunk-ROTWID2M.js +83 -0
- package/dist/chunks/chunk-RQMY7NF6.js +181 -0
- package/dist/chunks/chunk-RRPNLQZ7.js +131 -0
- package/dist/chunks/chunk-RSWE4OQV.js +206 -0
- package/dist/chunks/chunk-RTWIMNNA.js +55 -0
- package/dist/chunks/chunk-RU4MLNKE.js +480 -0
- package/dist/chunks/chunk-RUXHQKMW.js +255 -0
- package/dist/chunks/chunk-RVP2Q7LX.js +131 -0
- package/dist/chunks/chunk-RXIGESSA.js +263 -0
- package/dist/chunks/chunk-S4OR2YXQ.js +45 -0
- package/dist/chunks/chunk-S56VJP45.js +84 -0
- package/dist/chunks/chunk-S5ISPRAQ.js +96 -0
- package/dist/chunks/chunk-S5ZBG7PP.js +185 -0
- package/dist/chunks/chunk-S67S46J6.js +93 -0
- package/dist/chunks/chunk-SABAFAIR.js +77 -0
- package/dist/chunks/chunk-SAMRLEZW.js +13713 -0
- package/dist/chunks/chunk-SCFJWFFM.js +100 -0
- package/dist/chunks/chunk-SENTXRGE.js +192 -0
- package/dist/chunks/chunk-SFAVAQYP.js +198 -0
- package/dist/chunks/chunk-SGDOJWP7.js +83 -0
- package/dist/chunks/chunk-SHIMCA7W.js +97 -0
- package/dist/chunks/chunk-SIO5QZF3.js +100 -0
- package/dist/chunks/chunk-SOFT6FWC.js +111 -0
- package/dist/chunks/chunk-SOS4KG7W.js +195 -0
- package/dist/chunks/chunk-SQK3OLTH.js +1307 -0
- package/dist/chunks/chunk-SRIE5KWP.js +198 -0
- package/dist/chunks/chunk-SRUIW3IW.js +73 -0
- package/dist/chunks/chunk-SU5MEO4K.js +198 -0
- package/dist/chunks/chunk-SVSZMJQ3.js +156 -0
- package/dist/chunks/chunk-SWBTXNK6.js +100 -0
- package/dist/chunks/chunk-SWVSNYF3.js +263 -0
- package/dist/chunks/chunk-SXMVVGX4.js +1136 -0
- package/dist/chunks/chunk-SXQYBCNK.js +165 -0
- package/dist/chunks/chunk-SYMF6AIP.js +106 -0
- package/dist/chunks/chunk-SZ5GZP4A.js +41 -0
- package/dist/chunks/chunk-T2DJVB7T.js +92 -0
- package/dist/chunks/chunk-T35K3MOD.js +23 -0
- package/dist/chunks/chunk-T4TTM5WI.js +1410 -0
- package/dist/chunks/chunk-T6DHAIKJ.js +23 -0
- package/dist/chunks/chunk-T7LHS4YM.js +162 -0
- package/dist/chunks/chunk-T7P6WBGU.js +42 -0
- package/dist/chunks/chunk-TAQCGU5Z.js +184 -0
- package/dist/chunks/chunk-TB5T6X3Q.js +167 -0
- package/dist/chunks/chunk-TBX5P4MO.js +152 -0
- package/dist/chunks/chunk-TBZUDUJF.js +267 -0
- package/dist/chunks/chunk-TD5YYPRP.js +130 -0
- package/dist/chunks/chunk-TEXZP43D.js +112 -0
- package/dist/chunks/chunk-TJ73BQAF.js +411 -0
- package/dist/chunks/chunk-TJB3LR2U.js +77 -0
- package/dist/chunks/chunk-TJR7GT7U.js +44 -0
- package/dist/chunks/chunk-TK4DAYVZ.js +182 -0
- package/dist/chunks/chunk-TMS23A3J.js +646 -0
- package/dist/chunks/chunk-TPJKB4HL.js +53 -0
- package/dist/chunks/chunk-TPQVSOG3.js +196 -0
- package/dist/chunks/chunk-TQOKEDF2.js +204 -0
- package/dist/chunks/chunk-TREV575S.js +305 -0
- package/dist/chunks/chunk-TUBAIJYX.js +217 -0
- package/dist/chunks/chunk-TUCMBFGT.js +120 -0
- package/dist/chunks/chunk-TUVXFRIO.js +109 -0
- package/dist/chunks/chunk-TVEYKNBO.js +77 -0
- package/dist/chunks/chunk-TX5Y4KCC.js +119 -0
- package/dist/chunks/chunk-U2T4M2GX.js +157 -0
- package/dist/chunks/chunk-U352IVGA.js +139 -0
- package/dist/chunks/chunk-U42WXY3M.js +139 -0
- package/dist/chunks/chunk-U4A6SC3N.js +266 -0
- package/dist/chunks/chunk-U4JMEZPY.js +149 -0
- package/dist/chunks/chunk-U4NAUIAY.js +57 -0
- package/dist/chunks/chunk-U6FENB25.js +125 -0
- package/dist/chunks/chunk-U77QG5XA.js +969 -0
- package/dist/chunks/chunk-U7ILFND6.js +106 -0
- package/dist/chunks/chunk-UAQUKDTT.js +39 -0
- package/dist/chunks/chunk-UDAANEB3.js +152 -0
- package/dist/chunks/chunk-UDLVOJ3S.js +207 -0
- package/dist/chunks/chunk-UGMDFHD2.js +188 -0
- package/dist/chunks/chunk-UHAMA4FV.js +97 -0
- package/dist/chunks/chunk-UHXKCXYX.js +76 -0
- package/dist/chunks/chunk-UIX7PGMI.js +83 -0
- package/dist/chunks/chunk-ULMCLL2W.js +118 -0
- package/dist/chunks/chunk-UMKA5YPK.js +63 -0
- package/dist/chunks/chunk-UNBJYW5S.js +182 -0
- package/dist/chunks/chunk-UNFK47PJ.js +278 -0
- package/dist/chunks/chunk-UQ7IGLPI.js +108 -0
- package/dist/chunks/chunk-UQUTL6CQ.js +284 -0
- package/dist/chunks/chunk-URTOJJQL.js +47 -0
- package/dist/chunks/chunk-URXWKGH2.js +117 -0
- package/dist/chunks/chunk-UTCJNJ2X.js +282 -0
- package/dist/chunks/chunk-UUSOW3UN.js +125 -0
- package/dist/chunks/chunk-UW556FDY.js +147 -0
- package/dist/chunks/chunk-UXZNIJ7X.js +104 -0
- package/dist/chunks/chunk-UYDOWMTM.js +176 -0
- package/dist/chunks/chunk-UYZLGXRY.js +82 -0
- package/dist/chunks/chunk-V2CFOXSI.js +159 -0
- package/dist/chunks/chunk-V2YWR25X.js +51 -0
- package/dist/chunks/chunk-V3KCYBYG.js +215 -0
- package/dist/chunks/chunk-V4YYDSOT.js +74 -0
- package/dist/chunks/chunk-V6RVSFJN.js +80 -0
- package/dist/chunks/chunk-V7EPGR63.js +149 -0
- package/dist/chunks/chunk-V7SU2RAM.js +210 -0
- package/dist/chunks/chunk-VAMSXZW7.js +153 -0
- package/dist/chunks/chunk-VC3SGENH.js +165 -0
- package/dist/chunks/chunk-VEJY6EFJ.js +126 -0
- package/dist/chunks/chunk-VEU6QHEH.js +407 -0
- package/dist/chunks/chunk-VF5DIJZT.js +366 -0
- package/dist/chunks/chunk-VFA3355R.js +150 -0
- package/dist/chunks/chunk-VFBTQ7GF.js +159 -0
- package/dist/chunks/chunk-VH3LOWCF.js +140 -0
- package/dist/chunks/chunk-VIH6LQLL.js +33 -0
- package/dist/chunks/chunk-VJBPJZ63.js +122 -0
- package/dist/chunks/chunk-VJFATHZB.js +123 -0
- package/dist/chunks/chunk-VM3BR3DF.js +141 -0
- package/dist/chunks/chunk-VMAEXQIZ.js +179 -0
- package/dist/chunks/chunk-VMGN6YG2.js +88 -0
- package/dist/chunks/chunk-VMTNUIZE.js +412 -0
- package/dist/chunks/chunk-VOI5CY76.js +70 -0
- package/dist/chunks/chunk-VPVXV6DA.js +50 -0
- package/dist/chunks/chunk-VQTZM7WB.js +10733 -0
- package/dist/chunks/chunk-VSY2C5EH.js +33 -0
- package/dist/chunks/chunk-VTQV3JFH.js +177 -0
- package/dist/chunks/chunk-VUYGAUGU.js +279 -0
- package/dist/chunks/chunk-VVS62OZ3.js +71 -0
- package/dist/chunks/chunk-VYCIALZM.js +93 -0
- package/dist/chunks/chunk-W2BBAEAD.js +75 -0
- package/dist/chunks/chunk-W3BRL7S4.js +174 -0
- package/dist/chunks/chunk-W4BLTYDM.js +36 -0
- package/dist/chunks/chunk-W5D63QP3.js +45 -0
- package/dist/chunks/chunk-W6AQV5US.js +147 -0
- package/dist/chunks/chunk-W7VZR7AE.js +95 -0
- package/dist/chunks/chunk-WA5D4BFD.js +305 -0
- package/dist/chunks/chunk-WCKWKHFB.js +363 -0
- package/dist/chunks/chunk-WD7RXJPN.js +277 -0
- package/dist/chunks/chunk-WDFUZ66Q.js +182 -0
- package/dist/chunks/chunk-WDPACOUG.js +23 -0
- package/dist/chunks/chunk-WEPTOTEP.js +62 -0
- package/dist/chunks/chunk-WF7HOKTS.js +100 -0
- package/dist/chunks/chunk-WFFQX7JL.js +36 -0
- package/dist/chunks/chunk-WGIHPV3I.js +237 -0
- package/dist/chunks/chunk-WID7HRFX.js +162 -0
- package/dist/chunks/chunk-WIQBH6VQ.js +162 -0
- package/dist/chunks/chunk-WJJQQU7O.js +299 -0
- package/dist/chunks/chunk-WMZCC5X7.js +368 -0
- package/dist/chunks/chunk-WN37I4JL.js +162 -0
- package/dist/chunks/chunk-WNKMOKK6.js +82 -0
- package/dist/chunks/chunk-WOEQA3XL.js +177 -0
- package/dist/chunks/chunk-WOUBVX6N.js +168 -0
- package/dist/chunks/chunk-WOYDF6VB.js +304 -0
- package/dist/chunks/chunk-WPISCLEK.js +41 -0
- package/dist/chunks/chunk-WPWPAF4F.js +63 -0
- package/dist/chunks/chunk-WRTL5ENV.js +105 -0
- package/dist/chunks/chunk-WS64IKCM.js +293 -0
- package/dist/chunks/chunk-WSM6SST5.js +149 -0
- package/dist/chunks/chunk-WSWHWXU4.js +145 -0
- package/dist/chunks/chunk-WTE6YPGV.js +262 -0
- package/dist/chunks/chunk-WUOQL7DS.js +163 -0
- package/dist/chunks/chunk-WWIGQ3F4.js +251 -0
- package/dist/chunks/chunk-WWXCB2WF.js +172 -0
- package/dist/chunks/chunk-WY3IQFOE.js +23 -0
- package/dist/chunks/chunk-WZ6N47DY.js +197 -0
- package/dist/chunks/chunk-X2NJGOGS.js +644 -0
- package/dist/chunks/chunk-X2Z3LLAR.js +23 -0
- package/dist/chunks/chunk-X47YULOB.js +287 -0
- package/dist/chunks/chunk-X52DBMWL.js +98 -0
- package/dist/chunks/chunk-X53JNYES.js +170 -0
- package/dist/chunks/chunk-X57F3KZB.js +73 -0
- package/dist/chunks/chunk-X5DAWA7W.js +171 -0
- package/dist/chunks/chunk-X7BZDNKX.js +282 -0
- package/dist/chunks/chunk-XAHAQUHY.js +422 -0
- package/dist/chunks/chunk-XBBCPVDJ.js +235 -0
- package/dist/chunks/chunk-XBERDWYP.js +200 -0
- package/dist/chunks/chunk-XCNZPKKI.js +23 -0
- package/dist/chunks/chunk-XCQ7X4AO.js +137 -0
- package/dist/chunks/chunk-XDV6CEGB.js +54 -0
- package/dist/chunks/chunk-XEITUT5O.js +297 -0
- package/dist/chunks/chunk-XFSFZPWD.js +298 -0
- package/dist/chunks/chunk-XJIHC6U4.js +334 -0
- package/dist/chunks/chunk-XJQLVIUG.js +159 -0
- package/dist/chunks/chunk-XLGEMKJ2.js +304 -0
- package/dist/chunks/chunk-XLRCNO2H.js +232 -0
- package/dist/chunks/chunk-XMGG6JKU.js +464 -0
- package/dist/chunks/chunk-XMJZA4ON.js +110 -0
- package/dist/chunks/chunk-XNAAPY5Y.js +2101 -0
- package/dist/chunks/chunk-XNJN7THK.js +79 -0
- package/dist/chunks/chunk-XNQKJ6BC.js +1403 -0
- package/dist/chunks/chunk-XPF3ZOTN.js +400 -0
- package/dist/chunks/chunk-XSFKZ6K5.js +33 -0
- package/dist/chunks/chunk-XSM5LF6M.js +122 -0
- package/dist/chunks/chunk-XT2N4UEJ.js +307 -0
- package/dist/chunks/chunk-XTZZXJSB.js +33 -0
- package/dist/chunks/chunk-XUJ3SMW5.js +10311 -0
- package/dist/chunks/chunk-XWFIKL7E.js +382 -0
- package/dist/chunks/chunk-XYZ3LQBO.js +78 -0
- package/dist/chunks/chunk-XZEIGKVI.js +94 -0
- package/dist/chunks/chunk-Y2D3GMQS.js +81 -0
- package/dist/chunks/chunk-Y2LMJZQZ.js +76 -0
- package/dist/chunks/chunk-Y4DO5SFA.js +191 -0
- package/dist/chunks/chunk-Y6YLVFAI.js +87 -0
- package/dist/chunks/chunk-YAEFXNJU.js +97 -0
- package/dist/chunks/chunk-YASAGOKX.js +188 -0
- package/dist/chunks/chunk-YB53DELX.js +559 -0
- package/dist/chunks/chunk-YBON2P6H.js +113 -0
- package/dist/chunks/chunk-YDIHHLOF.js +273 -0
- package/dist/chunks/chunk-YEB46NAT.js +368 -0
- package/dist/chunks/chunk-YEEZ6LLU.js +301 -0
- package/dist/chunks/chunk-YFVBE7RZ.js +934 -0
- package/dist/chunks/chunk-YG4NGTCH.js +172 -0
- package/dist/chunks/chunk-YGGVVK6T.js +60 -0
- package/dist/chunks/chunk-YHWQMODL.js +59 -0
- package/dist/chunks/chunk-YHWV6VHW.js +120 -0
- package/dist/chunks/chunk-YI7Y3X4Y.js +626 -0
- package/dist/chunks/chunk-YJKE7IYR.js +131 -0
- package/dist/chunks/chunk-YJZHX3QZ.js +123 -0
- package/dist/chunks/chunk-YKLMXZMC.js +177 -0
- package/dist/chunks/chunk-YLT32SWY.js +118 -0
- package/dist/chunks/chunk-YNTFF7AK.js +107 -0
- package/dist/chunks/chunk-YRAJD4OS.js +23 -0
- package/dist/chunks/chunk-YSAE5RCP.js +130 -0
- package/dist/chunks/chunk-YW7PEINI.js +121 -0
- package/dist/chunks/chunk-YWFVIQWP.js +443 -0
- package/dist/chunks/chunk-YXDPHY7J.js +33 -0
- package/dist/chunks/chunk-YXMU4JDI.js +84 -0
- package/dist/chunks/chunk-YZ6HA757.js +23 -0
- package/dist/chunks/chunk-YZGTPTS7.js +107 -0
- package/dist/chunks/chunk-Z2BNZQDF.js +1941 -0
- package/dist/chunks/chunk-Z4BSZUAL.js +169 -0
- package/dist/chunks/chunk-Z4HTD3P6.js +166 -0
- package/dist/chunks/chunk-Z57W3MR6.js +478 -0
- package/dist/chunks/chunk-ZADZP2IX.js +270 -0
- package/dist/chunks/chunk-ZB5Y35GM.js +125 -0
- package/dist/chunks/chunk-ZCCYBGML.js +200 -0
- package/dist/chunks/chunk-ZE4P23HD.js +220 -0
- package/dist/chunks/chunk-ZEIV5GPV.js +33 -0
- package/dist/chunks/chunk-ZFGKHCJU.js +160 -0
- package/dist/chunks/chunk-ZFYBSENA.js +102 -0
- package/dist/chunks/chunk-ZHK67VIF.js +36 -0
- package/dist/chunks/chunk-ZIQGHSUT.js +36 -0
- package/dist/chunks/chunk-ZKEFMYIO.js +23 -0
- package/dist/chunks/chunk-ZMIXVWPA.js +181 -0
- package/dist/chunks/chunk-ZMJFI2EN.js +63 -0
- package/dist/chunks/chunk-ZNA6RUHU.js +80 -0
- package/dist/chunks/chunk-ZOFBJOQO.js +95 -0
- package/dist/chunks/chunk-ZOJYYE72.js +128 -0
- package/dist/chunks/chunk-ZOK2EH5N.js +146 -0
- package/dist/chunks/chunk-ZQEYEZRG.js +187 -0
- package/dist/chunks/chunk-ZQKMUICG.js +163 -0
- package/dist/chunks/chunk-ZQRJHN3S.js +54 -0
- package/dist/chunks/chunk-ZQY56DRW.js +198 -0
- package/dist/chunks/chunk-ZTFSVJWX.js +230 -0
- package/dist/chunks/chunk-ZUM6R37S.js +23 -0
- package/dist/chunks/chunk-ZV3A262B.js +185 -0
- package/dist/chunks/chunk-ZVQ56HAT.js +139 -0
- package/dist/chunks/chunk-ZVYNVSOO.js +170 -0
- package/dist/chunks/chunk-ZWY5PSJD.js +95 -0
- package/dist/chunks/chunk-ZXLV6IND.js +74 -0
- package/dist/chunks/chunk-ZXS577QB.js +106 -0
- package/dist/chunks/chunk-ZY4F3G3W.js +84 -0
- package/dist/chunks/chunk-ZZATIM4E.js +112 -0
- package/dist/chunks/chunk-ZZFZBGZ3.js +147 -0
- package/dist/chunks/client-3XWQDLNM.js +47 -0
- package/dist/chunks/client-MZBAH36E.js +168 -0
- package/dist/chunks/client-Z4TCJK5E.js +31 -0
- package/dist/chunks/client-actions-4JTGVVZD.js +168 -0
- package/dist/chunks/components-3KZB7SMF.js +76 -0
- package/dist/chunks/dangerous-HIPK6EE5.js +123 -0
- package/dist/chunks/delete-current-file-6R2Z77SB.js +162 -0
- package/dist/chunks/document-library-L7RQXFGM.js +64 -0
- package/dist/chunks/editor-seams-T3C6SPGW.js +182 -0
- package/dist/chunks/editor-store-SZROL2UB.js +147 -0
- package/dist/chunks/export-6EMM4GKA.js +67 -0
- package/dist/chunks/export-watermark-P4BSV2OZ.js +156 -0
- package/dist/chunks/eyedropper-ZRPSXSTJ.js +354 -0
- package/dist/chunks/generate-media-EWK37S6K.js +255 -0
- package/dist/chunks/headless-7C3ICNAN.js +213 -0
- package/dist/chunks/host-6QH7CX4U.js +181 -0
- package/dist/chunks/host-G6N7HU35.js +244 -0
- package/dist/chunks/import-LQ3HWJOZ.js +702 -0
- package/dist/chunks/import-merge-2UZ3AIIL.js +39 -0
- package/dist/chunks/instances-QMN42ZD2.js +77 -0
- package/dist/chunks/integrations-AIAE6BG7.js +125 -0
- package/dist/chunks/invariants-V2IDK5WN.js +65 -0
- package/dist/chunks/kit-modules-6YUE7ICN.js +18 -0
- package/dist/chunks/libraries-BG4EA7FN.js +310 -0
- package/dist/chunks/library-previews-O6EH7YCC.js +206 -0
- package/dist/chunks/live-63S7KRIA.js +321 -0
- package/dist/chunks/lottie-IYVTETPS.js +89 -0
- package/dist/chunks/media-tool-W7FCVYRI.js +236 -0
- package/dist/chunks/new-file-TJI56DWF.js +139 -0
- package/dist/chunks/next-commerce-WPYSXNPL.js +72 -0
- package/dist/chunks/page-thumbnails-XANFO73X.js +137 -0
- package/dist/chunks/pdf-I2WDFBVW.js +1216 -0
- package/dist/chunks/pdf-import-LEWKSVSI.js +370 -0
- package/dist/chunks/plan-FN45HWOL.js +85 -0
- package/dist/chunks/player-check-SNRHG6WP.js +117 -0
- package/dist/chunks/plugin-YJGYV43K.js +130 -0
- package/dist/chunks/plugin-import-UGCHQDHR.js +690 -0
- package/dist/chunks/pptx-6ZQYAHSU.js +307 -0
- package/dist/chunks/presence-E2YJNHJP.js +136 -0
- package/dist/chunks/preview-media-W25LZLOM.js +129 -0
- package/dist/chunks/project-LWIQBKGC.js +1599 -0
- package/dist/chunks/publish-site-R5IKI3MR.js +166 -0
- package/dist/chunks/publish-store-7AGI4RIM.js +99 -0
- package/dist/chunks/raster-actions-VWQO24ZW.js +232 -0
- package/dist/chunks/reference-images-3XBBV2V5.js +62 -0
- package/dist/chunks/resolvers-QIRYLEFJ.js +149 -0
- package/dist/chunks/review-kits-CAV3YW3S.js +41 -0
- package/dist/chunks/runner-YZZ4V2CA.js +3545 -0
- package/dist/chunks/shader-preview-ABA3OBPK.js +746 -0
- package/dist/chunks/sound-I6YBZJQ4.js +54 -0
- package/dist/chunks/store-IYCIWPOI.js +233 -0
- package/dist/chunks/storefront-QNKJR7I3.js +334 -0
- package/dist/chunks/storefront-prepare-PDVAHM7M.js +33 -0
- package/dist/chunks/stress-document-L5PQDGXB.js +126 -0
- package/dist/chunks/svg-export-5A2L3VE6.js +82 -0
- package/dist/chunks/svg-place-D6JOY6ET.js +44 -0
- package/dist/chunks/sync-5S46S3XS.js +161 -0
- package/dist/chunks/tabs-TFKEIW6I.js +319 -0
- package/dist/chunks/team-DMSHLGLB.js +47 -0
- package/dist/chunks/team-client-CL47HZPA.js +158 -0
- package/dist/chunks/templates-YLG2X5KS.js +183 -0
- package/dist/chunks/tools-FJCVALMY.js +37 -0
- package/dist/chunks/tree-P6XTO756.js +82 -0
- package/dist/chunks/ui-commands-HAXHWKLB.js +190 -0
- package/dist/chunks/use-KMOTCHVY.js +49 -0
- package/dist/chunks/versions-77GS6MOI.js +319 -0
- package/dist/chunks/video-BKZPNAHA.js +82 -0
- package/dist/chunks/web-SMMJBOQM.js +184 -0
- package/dist/index.js +36 -36
- package/dist/lib/document/libraries.js +3 -3
- package/dist/lib/document/photo-frames.js +3 -3
- package/dist/lib/document/print-pages.js +2 -2
- package/dist/lib/document/scene-graph.js +2 -2
- package/dist/lib/document/types.js +7 -3
- package/dist/lib/editor/prototype-connect.js +3 -3
- package/dist/lib/io/svg-import.js +2 -2
- package/dist/lib/marketplace/motion.js +4 -4
- package/dist/lib/motion/author.js +5 -5
- package/dist/lib/motion/pose.js +6 -6
- package/dist/lib/motion/present.js +11 -11
- package/dist/lib/motion/presets.js +6 -6
- package/dist/lib/slides/slides.js +3 -3
- package/dist/lib/templates/apply.js +4 -4
- package/dist/lib/templates/capabilities.js +4 -4
- package/dist/lib/templates/capture.js +5 -5
- package/dist/lib/templates/finish.js +13 -13
- package/dist/lib/templates/layout.js +3 -3
- package/dist/lib/templates/resize.js +4 -4
- package/dist/lib/templates/upload.js +4 -4
- package/dist/lib/templates/vocabulary.js +3 -3
- package/dist/migrations/board-meta.js +6 -6
- package/dist/migrations/brand-media.js +13 -13
- package/dist/migrations/brand-slots.js +3 -3
- package/dist/migrations/categories.js +4 -4
- package/dist/migrations/hug-content.js +4 -4
- package/dist/migrations/index.js +33 -33
- package/dist/migrations/min-type.js +6 -6
- package/dist/migrations/print-fixes.js +4 -4
- package/dist/migrations/text-on-dark.js +5 -5
- package/dist/migrations/timeline-facets.js +16 -16
- package/dist/migrations/violet-ink.js +5 -5
- package/dist/templates/anime/character.js +24 -24
- package/dist/templates/anime/duel.js +27 -27
- package/dist/templates/anime/morning.js +27 -27
- package/dist/templates/anime/rain.js +27 -27
- package/dist/templates/anime/shared.js +25 -25
- package/dist/templates/anime/starlight.js +27 -27
- package/dist/templates/anime/titan.js +27 -27
- package/dist/templates/app/festival-presale-electronic-ticket.js +29 -29
- package/dist/templates/app/festival-presale-family-ticket.js +29 -29
- package/dist/templates/app/festival-presale-folk-ticket.js +29 -29
- package/dist/templates/app/festival-presale-food-ticket.js +29 -29
- package/dist/templates/app/festival-presale-jazz-ticket.js +29 -29
- package/dist/templates/app/festival-presale-street-ticket.js +30 -30
- package/dist/templates/app/music/build.js +14 -14
- package/dist/templates/app/music/world.js +6 -6
- package/dist/templates/app/music-grove.js +25 -25
- package/dist/templates/app/music-nightline.js +25 -25
- package/dist/templates/app/music-orbit.js +25 -25
- package/dist/templates/app/music-undertow.js +25 -25
- package/dist/templates/app/onboarding-carousel.js +23 -23
- package/dist/templates/app/saas-store-paywall.js +23 -23
- package/dist/templates/app/splash.js +23 -23
- package/dist/templates/app/success-confetti.js +23 -23
- package/dist/templates/app/tour-tickets-june-ticket.js +23 -23
- package/dist/templates/app/tour-tickets-tide-ticket.js +23 -23
- package/dist/templates/app/tour-tickets-wreck-ticket.js +23 -23
- package/dist/templates/build.js +15 -15
- package/dist/templates/cards/index.js +27 -27
- package/dist/templates/cards/motifs.js +3 -3
- package/dist/templates/cards/shared.js +23 -23
- package/dist/templates/cards/themes.js +26 -26
- package/dist/templates/count.js +7 -7
- package/dist/templates/data/bars.js +23 -23
- package/dist/templates/data/countdown-story.js +23 -23
- package/dist/templates/data/counters.js +23 -23
- package/dist/templates/data/donut.js +23 -23
- package/dist/templates/data/line.js +23 -23
- package/dist/templates/data/year-in-review.js +23 -23
- package/dist/templates/effects/glass-intro.js +23 -23
- package/dist/templates/effects/glass-promo.js +23 -23
- package/dist/templates/effects/grain-story.js +23 -23
- package/dist/templates/effects/grid-intro.js +23 -23
- package/dist/templates/effects/halftone-story.js +23 -23
- package/dist/templates/effects/mesh-story.js +23 -23
- package/dist/templates/effects/shader-title.js +23 -23
- package/dist/templates/email/april-fools-header.js +25 -25
- package/dist/templates/email/art-deco-invitation.js +25 -25
- package/dist/templates/email/autumn-harvest-header.js +25 -25
- package/dist/templates/email/back-to-school-header.js +25 -25
- package/dist/templates/email/black-friday-coupons-header.js +25 -25
- package/dist/templates/email/black-friday-header.js +24 -24
- package/dist/templates/email/black-friday-neon-header.js +27 -27
- package/dist/templates/email/black-friday-scratch-header.js +25 -25
- package/dist/templates/email/black-friday-ticker-header.js +25 -25
- package/dist/templates/email/broadsheet-weekly-edition-header.js +24 -24
- package/dist/templates/email/claymation-header.js +26 -26
- package/dist/templates/email/countdown-gif.js +24 -24
- package/dist/templates/email/cyberpunk-header.js +27 -27
- package/dist/templates/email/diwali-header.js +26 -26
- package/dist/templates/email/earth-day-header.js +26 -26
- package/dist/templates/email/festival-presale-electronic-header.js +29 -29
- package/dist/templates/email/festival-presale-family-header.js +29 -29
- package/dist/templates/email/festival-presale-folk-header.js +29 -29
- package/dist/templates/email/festival-presale-food-header.js +29 -29
- package/dist/templates/email/festival-presale-jazz-header.js +29 -29
- package/dist/templates/email/festival-presale-street-header.js +30 -30
- package/dist/templates/email/gothic-header.js +24 -24
- package/dist/templates/email/halloween-header.js +26 -26
- package/dist/templates/email/header-launch.js +24 -24
- package/dist/templates/email/header-newsletter.js +24 -24
- package/dist/templates/email/header-sale.js +24 -24
- package/dist/templates/email/lunar-new-year-header.js +26 -26
- package/dist/templates/email/manuscript-chronicle-header.js +25 -25
- package/dist/templates/email/new-year-header.js +26 -26
- package/dist/templates/email/noir-header.js +27 -27
- package/dist/templates/email/psychedelic-header.js +26 -26
- package/dist/templates/email/riso-zine-changelog-header.js +27 -27
- package/dist/templates/email/saas-mail-changelog.js +26 -26
- package/dist/templates/email/saas-mail-day-one.js +26 -26
- package/dist/templates/email/saas-mail-day-three.js +25 -25
- package/dist/templates/email/saas-mail-launch.js +25 -25
- package/dist/templates/email/saas-mail-payment-failed.js +25 -25
- package/dist/templates/email/saas-mail-sign-in-code.js +25 -25
- package/dist/templates/email/saas-mail-trial-ending.js +25 -25
- package/dist/templates/email/saas-mail-waitlist.js +25 -25
- package/dist/templates/email/shared.js +13 -13
- package/dist/templates/email/singles-day-header.js +26 -26
- package/dist/templates/email/solarpunk-header.js +26 -26
- package/dist/templates/email/space-opera-header.js +26 -26
- package/dist/templates/email/spring-bloom-header.js +26 -26
- package/dist/templates/email/style-bento-header.js +25 -25
- package/dist/templates/email/style-brutalist-header.js +25 -25
- package/dist/templates/email/style-dark-header.js +25 -25
- package/dist/templates/email/style-data-header.js +25 -25
- package/dist/templates/email/style-editorial-header.js +25 -25
- package/dist/templates/email/style-glass-header.js +26 -26
- package/dist/templates/email/style-gradient-header.js +25 -25
- package/dist/templates/email/style-maximal-header.js +25 -25
- package/dist/templates/email/style-pastel-header.js +26 -26
- package/dist/templates/email/style-sketch-header.js +26 -26
- package/dist/templates/email/style-swiss-header.js +25 -25
- package/dist/templates/email/style-terminal-header.js +27 -27
- package/dist/templates/email/summer-heatwave-header.js +26 -26
- package/dist/templates/email/tour-tickets-june-header.js +24 -24
- package/dist/templates/email/tour-tickets-tide-header.js +24 -24
- package/dist/templates/email/tour-tickets-wreck-header.js +24 -24
- package/dist/templates/email/transit-map-service-update.js +26 -26
- package/dist/templates/email/ukiyo-e-greeting-header.js +26 -26
- package/dist/templates/email/valentines-header.js +26 -26
- package/dist/templates/email/winter-cosy-header.js +27 -27
- package/dist/templates/email/winter-holidays-header.js +27 -27
- package/dist/templates/game/blossom-bash-puzzle.js +24 -24
- package/dist/templates/game/deckbound-roguelike.js +24 -24
- package/dist/templates/game/emberfall-rpg.js +24 -24
- package/dist/templates/game/hearthmoor-farm.js +24 -24
- package/dist/templates/game/index.js +37 -37
- package/dist/templates/game/iron-lotus-fighter.js +24 -24
- package/dist/templates/game/ironroot-rts.js +24 -24
- package/dist/templates/game/mossy-hollow-platformer.js +26 -26
- package/dist/templates/game/neon-apex-racing.js +24 -24
- package/dist/templates/game/platformer.js +25 -25
- package/dist/templates/game/pulse-riot-rhythm.js +24 -24
- package/dist/templates/game/shared.js +13 -13
- package/dist/templates/game/sprout-quest-pixel-platformer.js +26 -26
- package/dist/templates/game/vanta-fps.js +24 -24
- package/dist/templates/index.js +918 -918
- package/dist/templates/kinetic/letters.js +23 -23
- package/dist/templates/kinetic/lines.js +23 -23
- package/dist/templates/kinetic/typewriter.js +23 -23
- package/dist/templates/kinetic/word-swap.js +23 -23
- package/dist/templates/kinetic/words.js +23 -23
- package/dist/templates/kit.js +12 -12
- package/dist/templates/libraries/audio-reactive.js +23 -23
- package/dist/templates/libraries/loaders.js +23 -23
- package/dist/templates/libraries/micro-interactions.js +23 -23
- package/dist/templates/libraries/motion-essentials.js +23 -23
- package/dist/templates/libraries/toasts.js +23 -23
- package/dist/templates/lottie/ai.js +24 -24
- package/dist/templates/lottie/climate.js +24 -24
- package/dist/templates/lottie/commerce.js +24 -24
- package/dist/templates/lottie/education.js +24 -24
- package/dist/templates/lottie/fintech.js +24 -24
- package/dist/templates/lottie/food.js +24 -24
- package/dist/templates/lottie/health.js +24 -24
- package/dist/templates/lottie/index.js +48 -48
- package/dist/templates/lottie/lottie-kit.js +23 -23
- package/dist/templates/lottie/realestate.js +24 -24
- package/dist/templates/lottie/saas-ui-checklist.js +25 -25
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +25 -25
- package/dist/templates/lottie/saas-ui-empty-data.js +25 -25
- package/dist/templates/lottie/saas-ui-empty-search.js +25 -25
- package/dist/templates/lottie/saas-ui-error-retry.js +25 -25
- package/dist/templates/lottie/saas-ui-file-upload.js +25 -25
- package/dist/templates/lottie/saas-ui-streaming-answer.js +25 -25
- package/dist/templates/lottie/saas-ui-sync-connected.js +25 -25
- package/dist/templates/lottie/saas-ui-trial-timeline.js +25 -25
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +25 -25
- package/dist/templates/lottie/saas-ui.js +35 -35
- package/dist/templates/lottie/saas.js +24 -24
- package/dist/templates/lottie/security.js +24 -24
- package/dist/templates/lottie/techniques.js +24 -24
- package/dist/templates/lottie/travel.js +24 -24
- package/dist/templates/motion/ai-trailer/index.js +23 -23
- package/dist/templates/motion/ambient-loop.js +23 -23
- package/dist/templates/motion/app-icon-sting.js +23 -23
- package/dist/templates/motion/april-fools-infomercial-reel.js +25 -25
- package/dist/templates/motion/arcade-high-score.js +26 -26
- package/dist/templates/motion/art-deco-grand-opening.js +24 -24
- package/dist/templates/motion/autumn-harvest-year-reel.js +24 -24
- package/dist/templates/motion/back-to-school-timetable-reel.js +24 -24
- package/dist/templates/motion/bauhaus-launch-reel.js +24 -24
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +25 -25
- package/dist/templates/motion/black-friday-coupons-last-day.js +25 -25
- package/dist/templates/motion/black-friday-deal-drop.js +23 -23
- package/dist/templates/motion/black-friday-neon-deal-reel.js +26 -26
- package/dist/templates/motion/black-friday-neon-last-day.js +26 -26
- package/dist/templates/motion/black-friday-scratch-countdown.js +24 -24
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +24 -24
- package/dist/templates/motion/black-friday-scratch-last-day.js +24 -24
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +24 -24
- package/dist/templates/motion/black-friday-ticker-last-call.js +25 -25
- package/dist/templates/motion/blueprint-rev-b-reel.js +25 -25
- package/dist/templates/motion/broadsheet-launch-reel.js +23 -23
- package/dist/templates/motion/broadsheet-milestone-post.js +24 -24
- package/dist/templates/motion/claymation-launch-reel.js +25 -25
- package/dist/templates/motion/comic-book-issue-reel.js +26 -26
- package/dist/templates/motion/countdown.js +23 -23
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +26 -26
- package/dist/templates/motion/departure-board-reel.js +24 -24
- package/dist/templates/motion/diwali-lamps-reel.js +25 -25
- package/dist/templates/motion/earth-day-footprint-reel.js +25 -25
- package/dist/templates/motion/earth-day-pledge-post.js +25 -25
- package/dist/templates/motion/festival-presale-electronic-countdown.js +29 -29
- package/dist/templates/motion/festival-presale-electronic-lineup.js +29 -29
- package/dist/templates/motion/festival-presale-electronic-reel.js +29 -29
- package/dist/templates/motion/festival-presale-electronic-tier.js +29 -29
- package/dist/templates/motion/festival-presale-family-countdown.js +29 -29
- package/dist/templates/motion/festival-presale-family-lineup.js +29 -29
- package/dist/templates/motion/festival-presale-family-reel.js +29 -29
- package/dist/templates/motion/festival-presale-family-tier.js +29 -29
- package/dist/templates/motion/festival-presale-folk-countdown.js +29 -29
- package/dist/templates/motion/festival-presale-folk-lineup.js +29 -29
- package/dist/templates/motion/festival-presale-folk-reel.js +29 -29
- package/dist/templates/motion/festival-presale-folk-tier.js +29 -29
- package/dist/templates/motion/festival-presale-food-countdown.js +29 -29
- package/dist/templates/motion/festival-presale-food-lineup.js +29 -29
- package/dist/templates/motion/festival-presale-food-reel.js +29 -29
- package/dist/templates/motion/festival-presale-food-tier.js +29 -29
- package/dist/templates/motion/festival-presale-jazz-countdown.js +29 -29
- package/dist/templates/motion/festival-presale-jazz-lineup.js +29 -29
- package/dist/templates/motion/festival-presale-jazz-reel.js +29 -29
- package/dist/templates/motion/festival-presale-jazz-tier.js +29 -29
- package/dist/templates/motion/festival-presale-street-countdown.js +30 -30
- package/dist/templates/motion/festival-presale-street-lineup.js +30 -30
- package/dist/templates/motion/festival-presale-street-reel.js +30 -30
- package/dist/templates/motion/festival-presale-street-tier.js +30 -30
- package/dist/templates/motion/gothic-launch-reel.js +23 -23
- package/dist/templates/motion/halloween-graveyard-reel.js +25 -25
- package/dist/templates/motion/instagram-promo.js +23 -23
- package/dist/templates/motion/kinetic-headline.js +23 -23
- package/dist/templates/motion/landing-hero/index.js +26 -26
- package/dist/templates/motion/launch-trailer/document.js +918 -918
- package/dist/templates/motion/launch-trailer/index.js +26 -26
- package/dist/templates/motion/launch-trailer/scenes.js +25 -25
- package/dist/templates/motion/logo-reveal.js +23 -23
- package/dist/templates/motion/lower-third.js +23 -23
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +25 -25
- package/dist/templates/motion/machined-trailer.js +25 -25
- package/dist/templates/motion/manuscript-launch-reel.js +24 -24
- package/dist/templates/motion/new-year-ball-drop-reel.js +25 -25
- package/dist/templates/motion/noir-case-reel.js +26 -26
- package/dist/templates/motion/pitch-title.js +23 -23
- package/dist/templates/motion/psychedelic-gig-reel.js +25 -25
- package/dist/templates/motion/riso-zine-launch-reel.js +26 -26
- package/dist/templates/motion/saas-ai-prompt.js +24 -24
- package/dist/templates/motion/saas-before-after.js +24 -24
- package/dist/templates/motion/saas-changelog-drop.js +24 -24
- package/dist/templates/motion/saas-film-webinar-opener.js +24 -24
- package/dist/templates/motion/saas-hook-features.js +24 -24
- package/dist/templates/motion/saas-mrr-milestone.js +24 -24
- package/dist/templates/motion/saas-screen-demo.js +25 -25
- package/dist/templates/motion/saas-store-install-ad.js +24 -24
- package/dist/templates/motion/saas-testimonial.js +24 -24
- package/dist/templates/motion/saas-vs-comparison.js +24 -24
- package/dist/templates/motion/singles-day-flash-post.js +25 -25
- package/dist/templates/motion/singles-day-live-reel.js +25 -25
- package/dist/templates/motion/smooth-loop.js +23 -23
- package/dist/templates/motion/solarpunk-rooftop-reel.js +25 -25
- package/dist/templates/motion/space-opera-countdown-reel.js +25 -25
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +25 -25
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +25 -25
- package/dist/templates/motion/stat-pop.js +23 -23
- package/dist/templates/motion/style-bento-feature-demo.js +26 -26
- package/dist/templates/motion/style-bento-launch-reel.js +25 -25
- package/dist/templates/motion/style-brutalist-feature-demo.js +27 -27
- package/dist/templates/motion/style-brutalist-launch-reel.js +26 -26
- package/dist/templates/motion/style-dark-feature-demo.js +25 -25
- package/dist/templates/motion/style-dark-launch-reel.js +26 -26
- package/dist/templates/motion/style-data-feature-demo.js +26 -26
- package/dist/templates/motion/style-data-launch-reel.js +26 -26
- package/dist/templates/motion/style-editorial-feature-demo.js +26 -26
- package/dist/templates/motion/style-editorial-launch-reel.js +25 -25
- package/dist/templates/motion/style-glass-feature-demo.js +27 -27
- package/dist/templates/motion/style-glass-launch-reel.js +26 -26
- package/dist/templates/motion/style-gradient-feature-demo.js +26 -26
- package/dist/templates/motion/style-gradient-launch-reel.js +25 -25
- package/dist/templates/motion/style-maximal-beat-cut.js +25 -25
- package/dist/templates/motion/style-maximal-feature-demo.js +26 -26
- package/dist/templates/motion/style-maximal-launch-reel.js +25 -25
- package/dist/templates/motion/style-pastel-feature-demo.js +27 -27
- package/dist/templates/motion/style-pastel-launch-reel.js +27 -27
- package/dist/templates/motion/style-sketch-feature-demo.js +27 -27
- package/dist/templates/motion/style-sketch-launch-reel.js +27 -27
- package/dist/templates/motion/style-swiss-feature-demo.js +27 -27
- package/dist/templates/motion/style-swiss-launch-reel.js +26 -26
- package/dist/templates/motion/style-terminal-feature-demo.js +28 -28
- package/dist/templates/motion/style-terminal-launch-reel.js +28 -28
- package/dist/templates/motion/summer-heatwave-lido-reel.js +25 -25
- package/dist/templates/motion/template-wall.js +24 -24
- package/dist/templates/motion/title-card-3d.js +23 -23
- package/dist/templates/motion/tour-tickets-june-city.js +23 -23
- package/dist/templates/motion/tour-tickets-june-dates.js +23 -23
- package/dist/templates/motion/tour-tickets-june-final.js +24 -24
- package/dist/templates/motion/tour-tickets-june-reel.js +23 -23
- package/dist/templates/motion/tour-tickets-tide-city.js +23 -23
- package/dist/templates/motion/tour-tickets-tide-dates.js +23 -23
- package/dist/templates/motion/tour-tickets-tide-final.js +24 -24
- package/dist/templates/motion/tour-tickets-tide-reel.js +23 -23
- package/dist/templates/motion/tour-tickets-wreck-city.js +23 -23
- package/dist/templates/motion/tour-tickets-wreck-dates.js +23 -23
- package/dist/templates/motion/tour-tickets-wreck-final.js +24 -24
- package/dist/templates/motion/tour-tickets-wreck-reel.js +23 -23
- package/dist/templates/motion/transit-map-line-opening.js +25 -25
- package/dist/templates/motion/transit-map-milestone-post.js +25 -25
- package/dist/templates/motion/ukiyo-e-launch-reel.js +25 -25
- package/dist/templates/motion/valentines-breakup-reel.js +25 -25
- package/dist/templates/motion/vaporwave-launch-reel.js +25 -25
- package/dist/templates/motion/winter-cosy-heads-down-post.js +26 -26
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +26 -26
- package/dist/templates/motion/winter-holidays-advent-reel.js +26 -26
- package/dist/templates/motion-qa.js +22 -22
- package/dist/templates/motion3d/app-store-preview.js +24 -24
- package/dist/templates/motion3d/before-after-swing.js +24 -24
- package/dist/templates/motion3d/burger-reveal.js +24 -24
- package/dist/templates/motion3d/coverflow.js +24 -24
- package/dist/templates/motion3d/exploded-ui.js +24 -24
- package/dist/templates/motion3d/feature-flip.js +24 -24
- package/dist/templates/motion3d/kinetic-reveal.js +24 -24
- package/dist/templates/motion3d/laptop-reveal.js +24 -24
- package/dist/templates/motion3d/logo-extrude.js +24 -24
- package/dist/templates/motion3d/parallax-cascade.js +24 -24
- package/dist/templates/motion3d/phone-orbit.js +24 -24
- package/dist/templates/motion3d/pricing-fan.js +24 -24
- package/dist/templates/motion3d/product-turntable.js +24 -24
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +25 -25
- package/dist/templates/motion3d/screen-wall.js +24 -24
- package/dist/templates/motion3d/stage.js +13 -13
- package/dist/templates/motion3d/vertical-promo.js +24 -24
- package/dist/templates/music/edm-drop.js +24 -24
- package/dist/templates/music/festival-lineup.js +24 -24
- package/dist/templates/music/hiphop-lyrics.js +24 -24
- package/dist/templates/music/indie-poster.js +24 -24
- package/dist/templates/music/lofi-loop.js +24 -24
- package/dist/templates/music/podcast-audiogram.js +24 -24
- package/dist/templates/music/shared.js +13 -13
- package/dist/templates/music/synthwave-tunnel.js +24 -24
- package/dist/templates/print/comic-hero-cascade.js +23 -23
- package/dist/templates/print/comic-hero-chase.js +23 -23
- package/dist/templates/print/comic-hero-cover-modern.js +23 -23
- package/dist/templates/print/comic-hero-grid-break.js +23 -23
- package/dist/templates/print/comic-hero-interrogation.js +23 -23
- package/dist/templates/print/comic-hero-issue.js +34 -34
- package/dist/templates/print/comic-hero-manga-action.js +23 -23
- package/dist/templates/print/comic-hero-nested.js +23 -23
- package/dist/templates/print/comic-hero-overlap.js +23 -23
- package/dist/templates/print/comic-hero-parallel.js +23 -23
- package/dist/templates/print/comic-hero-pinup.js +23 -23
- package/dist/templates/print/comic-hero-widescreen.js +23 -23
- package/dist/templates/print/comic-modern-action-slant.js +23 -23
- package/dist/templates/print/comic-modern-cover-pulp.js +23 -23
- package/dist/templates/print/comic-modern-flashback.js +23 -23
- package/dist/templates/print/comic-modern-issue.js +32 -32
- package/dist/templates/print/comic-modern-nine-grid.js +23 -23
- package/dist/templates/print/comic-modern-page-classic.js +23 -23
- package/dist/templates/print/comic-modern-polyptych.js +23 -23
- package/dist/templates/print/comic-modern-radial.js +23 -23
- package/dist/templates/print/comic-modern-splash.js +23 -23
- package/dist/templates/print/comic-modern-spread.js +23 -23
- package/dist/templates/print/everyday-save-the-date.js +25 -25
- package/dist/templates/print/everyday-specials-board.js +25 -25
- package/dist/templates/print/holidays-christmas-church-newsletter.js +23 -23
- package/dist/templates/print/holidays-christmas-eve-invitation.js +23 -23
- package/dist/templates/print/holidays-christmas-gift-tags.js +23 -23
- package/dist/templates/print/holidays-diwali-party-invitation.js +23 -23
- package/dist/templates/print/holidays-easter-activity-sheet.js +23 -23
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +23 -23
- package/dist/templates/print/holidays-eid-dinner-invitation.js +23 -23
- package/dist/templates/print/holidays-eid-gift-tags.js +23 -23
- package/dist/templates/print/holidays-halloween-party-invitation.js +23 -23
- package/dist/templates/print/holidays-halloween-treat-labels.js +23 -23
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +23 -23
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +23 -23
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +23 -23
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +23 -23
- package/dist/templates/print/holidays-new-years-eve-poster.js +23 -23
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +23 -23
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +23 -23
- package/dist/templates/print/holidays-valentines-dinner-menu.js +23 -23
- package/dist/templates/print/knit-christmas-tree-sweater.js +24 -24
- package/dist/templates/print/knit-nordic-snowflake-sweater.js +24 -24
- package/dist/templates/print/knit-shared.js +13 -13
- package/dist/templates/print/knit-snowflake-beanie.js +24 -24
- package/dist/templates/print/printshop-booklet-open-day.js +24 -24
- package/dist/templates/print/printshop-brochure-community.js +24 -24
- package/dist/templates/print/printshop-brochure-dental.js +24 -24
- package/dist/templates/print/printshop-brochure-gym.js +24 -24
- package/dist/templates/print/printshop-brochure-landscaping.js +24 -24
- package/dist/templates/print/printshop-brochure-travel.js +25 -25
- package/dist/templates/print/printshop-card-architect.js +24 -24
- package/dist/templates/print/printshop-card-barber.js +24 -24
- package/dist/templates/print/printshop-card-cafe.js +24 -24
- package/dist/templates/print/printshop-card-developer.js +24 -24
- package/dist/templates/print/printshop-card-florist.js +24 -24
- package/dist/templates/print/printshop-card-lawyer.js +24 -24
- package/dist/templates/print/printshop-card-photographer.js +25 -25
- package/dist/templates/print/printshop-card-plumber.js +24 -24
- package/dist/templates/print/printshop-card-realtor.js +24 -24
- package/dist/templates/print/printshop-card-yoga.js +24 -24
- package/dist/templates/print/printshop-flyer-charity-run.js +24 -24
- package/dist/templates/print/printshop-flyer-farmers-market.js +24 -24
- package/dist/templates/print/printshop-flyer-garage-sale.js +24 -24
- package/dist/templates/print/printshop-flyer-grand-opening.js +24 -24
- package/dist/templates/print/printshop-flyer-lost-pet.js +24 -24
- package/dist/templates/print/printshop-flyer-tutoring.js +24 -24
- package/dist/templates/print/printshop-flyer-yard-work.js +24 -24
- package/dist/templates/print/printshop-poster-live-music.js +24 -24
- package/dist/templates/print/studio-class-timetable-poster.js +23 -23
- package/dist/templates/print/studio-portfolio-booklet.js +24 -24
- package/dist/templates/saas/email-decks-shared.js +24 -24
- package/dist/templates/saas/email-decks.js +37 -37
- package/dist/templates/saas/index.js +226 -226
- package/dist/templates/saas/launch-kit.js +33 -33
- package/dist/templates/saas/launch-video.js +33 -33
- package/dist/templates/saas/lottie-shared.js +24 -24
- package/dist/templates/saas/stores-shared.js +13 -13
- package/dist/templates/saas/stores.js +34 -34
- package/dist/templates/saas/style-bento-shared.js +6 -6
- package/dist/templates/saas/style-bento.js +37 -37
- package/dist/templates/saas/style-brutalist-shared.js +6 -6
- package/dist/templates/saas/style-brutalist.js +38 -38
- package/dist/templates/saas/style-dark.js +37 -37
- package/dist/templates/saas/style-data-shared.js +6 -6
- package/dist/templates/saas/style-data.js +38 -38
- package/dist/templates/saas/style-editorial-shared.js +6 -6
- package/dist/templates/saas/style-editorial.js +38 -38
- package/dist/templates/saas/style-glass-shared.js +7 -7
- package/dist/templates/saas/style-glass.js +38 -38
- package/dist/templates/saas/style-gradient-shared.js +6 -6
- package/dist/templates/saas/style-gradient.js +38 -38
- package/dist/templates/saas/style-maximal-shared.js +6 -6
- package/dist/templates/saas/style-maximal.js +38 -38
- package/dist/templates/saas/style-pastel-shared.js +7 -7
- package/dist/templates/saas/style-pastel.js +38 -38
- package/dist/templates/saas/style-sketch-shared.js +6 -6
- package/dist/templates/saas/style-sketch.js +38 -38
- package/dist/templates/saas/style-swiss-shared.js +6 -6
- package/dist/templates/saas/style-swiss.js +38 -38
- package/dist/templates/saas/style-terminal-shared.js +8 -8
- package/dist/templates/saas/style-terminal.js +39 -39
- package/dist/templates/saas/video-shared.js +6 -6
- package/dist/templates/saas/video.js +33 -33
- package/dist/templates/saas/web-shared.js +6 -6
- package/dist/templates/saas/web.js +36 -36
- package/dist/templates/scenes/before-after.js +23 -23
- package/dist/templates/scenes/carousel-video.js +24 -24
- package/dist/templates/scenes/saas-film-app-preview.js +25 -25
- package/dist/templates/scenes/saas-film-bright-trailer.js +24 -24
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +24 -24
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +25 -25
- package/dist/templates/scenes/shared.js +13 -13
- package/dist/templates/scenes/story-ad.js +27 -27
- package/dist/templates/scenes/story-bakery.js +24 -24
- package/dist/templates/scenes/story-fitness.js +24 -24
- package/dist/templates/scenes/story-hotel.js +24 -24
- package/dist/templates/scenes/transitions-pack.js +24 -24
- package/dist/templates/scenes/web-scroll.js +24 -24
- package/dist/templates/shared/motion.js +6 -6
- package/dist/templates/shared/overlays.js +7 -7
- package/dist/templates/shared/pointer.js +6 -6
- package/dist/templates/slides/agenda.js +24 -24
- package/dist/templates/slides/deck.js +23 -23
- package/dist/templates/slides/education.js +24 -24
- package/dist/templates/slides/launch.js +24 -24
- package/dist/templates/slides/layouts.js +24 -24
- package/dist/templates/slides/pitch.js +24 -24
- package/dist/templates/slides/report.js +24 -24
- package/dist/templates/slides/saas-mail-investor-update.js +25 -25
- package/dist/templates/slides/saas-mail-seed-pitch.js +25 -25
- package/dist/templates/slides/sales.js +24 -24
- package/dist/templates/slides/section-divider.js +24 -24
- package/dist/templates/slides/title-card.js +24 -24
- package/dist/templates/slides/training.js +24 -24
- package/dist/templates/slides/webinar.js +24 -24
- package/dist/templates/slideshow/adoption.js +25 -25
- package/dist/templates/slideshow/baby.js +25 -25
- package/dist/templates/slideshow/birthday.js +25 -25
- package/dist/templates/slideshow/graduation.js +25 -25
- package/dist/templates/slideshow/holiday.js +25 -25
- package/dist/templates/slideshow/home.js +25 -25
- package/dist/templates/slideshow/index.js +32 -32
- package/dist/templates/slideshow/lease.js +25 -25
- package/dist/templates/slideshow/memorial.js +25 -25
- package/dist/templates/slideshow/portfolio.js +25 -25
- package/dist/templates/slideshow/product.js +25 -25
- package/dist/templates/slideshow/recipe.js +25 -25
- package/dist/templates/slideshow/shared.js +24 -24
- package/dist/templates/slideshow/team.js +25 -25
- package/dist/templates/slideshow/travel.js +25 -25
- package/dist/templates/slideshow/wedding.js +25 -25
- package/dist/templates/slideshow/year.js +25 -25
- package/dist/templates/social/april-fools-link-preview.js +25 -25
- package/dist/templates/social/april-fools-price-slash-post.js +25 -25
- package/dist/templates/social/arcade-boss-fight.js +26 -26
- package/dist/templates/social/arcade-level-up.js +26 -26
- package/dist/templates/social/art-deco-link-preview.js +24 -24
- package/dist/templates/social/art-deco-premiere-post.js +24 -24
- package/dist/templates/social/autumn-harvest-link-preview.js +24 -24
- package/dist/templates/social/autumn-harvest-thanks-post.js +24 -24
- package/dist/templates/social/back-to-school-link-preview.js +24 -24
- package/dist/templates/social/back-to-school-report-card-post.js +24 -24
- package/dist/templates/social/bauhaus-drift-post.js +24 -24
- package/dist/templates/social/bauhaus-link-preview.js +24 -24
- package/dist/templates/social/bauhaus-pricing-post.js +24 -24
- package/dist/templates/social/black-friday-ads.js +23 -23
- package/dist/templates/social/black-friday-countdown.js +23 -23
- package/dist/templates/social/black-friday-coupons-ads.js +24 -24
- package/dist/templates/social/black-friday-coupons-countdown.js +25 -25
- package/dist/templates/social/black-friday-neon-ads.js +26 -26
- package/dist/templates/social/black-friday-neon-countdown.js +26 -26
- package/dist/templates/social/black-friday-scratch-ads.js +24 -24
- package/dist/templates/social/black-friday-ticker-ads.js +24 -24
- package/dist/templates/social/black-friday-ticker-countdown.js +24 -24
- package/dist/templates/social/blueprint-dimension-post.js +25 -25
- package/dist/templates/social/blueprint-link-preview.js +25 -25
- package/dist/templates/social/blueprint-parts-list-post.js +25 -25
- package/dist/templates/social/broadsheet-hiring-classifieds.js +23 -23
- package/dist/templates/social/broadsheet-link-preview.js +23 -23
- package/dist/templates/social/claymation-link-preview.js +25 -25
- package/dist/templates/social/claymation-streak-post.js +25 -25
- package/dist/templates/social/comic-book-cover-preview.js +26 -26
- package/dist/templates/social/comic-book-strip-post.js +26 -26
- package/dist/templates/social/cyberpunk-implant-post.js +26 -26
- package/dist/templates/social/cyberpunk-link-preview.js +26 -26
- package/dist/templates/social/departure-board-pass-ad.js +24 -24
- package/dist/templates/social/departure-board-store-set.js +24 -24
- package/dist/templates/social/departure-board-thanks-post.js +24 -24
- package/dist/templates/social/diwali-link-preview.js +25 -25
- package/dist/templates/social/diwali-thanks-post.js +25 -25
- package/dist/templates/social/earth-day-link-preview.js +25 -25
- package/dist/templates/social/everyday-save-the-date-post.js +25 -25
- package/dist/templates/social/festival-presale-electronic-ads.js +29 -29
- package/dist/templates/social/festival-presale-family-ads.js +29 -29
- package/dist/templates/social/festival-presale-folk-ads.js +29 -29
- package/dist/templates/social/festival-presale-food-ads.js +29 -29
- package/dist/templates/social/festival-presale-jazz-ads.js +29 -29
- package/dist/templates/social/festival-presale-street-ads.js +30 -30
- package/dist/templates/social/gothic-feature-post.js +23 -23
- package/dist/templates/social/gothic-link-preview.js +23 -23
- package/dist/templates/social/halloween-link-preview.js +25 -25
- package/dist/templates/social/halloween-offer-post.js +25 -25
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +23 -23
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +23 -23
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +23 -23
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +23 -23
- package/dist/templates/social/holidays-valentines-florist-post.js +23 -23
- package/dist/templates/social/lunar-new-year-greeting-post.js +25 -25
- package/dist/templates/social/lunar-new-year-link-preview.js +25 -25
- package/dist/templates/social/machined-link-preview.js +25 -25
- package/dist/templates/social/machined-plate-post.js +25 -25
- package/dist/templates/social/manuscript-chapter-post.js +24 -24
- package/dist/templates/social/manuscript-link-preview.js +24 -24
- package/dist/templates/social/new-year-link-preview.js +25 -25
- package/dist/templates/social/new-year-resolutions-post.js +25 -25
- package/dist/templates/social/noir-case-file.js +26 -26
- package/dist/templates/social/noir-feature-post.js +26 -26
- package/dist/templates/social/post-announcement.js +23 -23
- package/dist/templates/social/post-event.js +23 -23
- package/dist/templates/social/post-podcast.js +23 -23
- package/dist/templates/social/post-quote.js +23 -23
- package/dist/templates/social/post-sale.js +23 -23
- package/dist/templates/social/post-stat.js +23 -23
- package/dist/templates/social/post-testimonial.js +23 -23
- package/dist/templates/social/promo-announcement.js +23 -23
- package/dist/templates/social/promo-beat-drop.js +23 -23
- package/dist/templates/social/promo-event.js +23 -23
- package/dist/templates/social/promo-new-product.js +23 -23
- package/dist/templates/social/promo-quote-reveal.js +23 -23
- package/dist/templates/social/promo-sale-drop.js +23 -23
- package/dist/templates/social/promo-tip-list.js +23 -23
- package/dist/templates/social/psychedelic-lineup-post.js +25 -25
- package/dist/templates/social/psychedelic-link-preview.js +25 -25
- package/dist/templates/social/riso-zine-link-preview.js +26 -26
- package/dist/templates/social/riso-zine-mrr-poster.js +26 -26
- package/dist/templates/social/saas-kit-carousel.js +23 -23
- package/dist/templates/social/saas-kit-countdown-post.js +23 -23
- package/dist/templates/social/saas-kit-feature-drop.js +24 -24
- package/dist/templates/social/saas-kit-link-preview.js +23 -23
- package/dist/templates/social/saas-kit-live-post.js +23 -23
- package/dist/templates/social/saas-kit-mrr-card.js +23 -23
- package/dist/templates/social/saas-kit-ph-gallery.js +23 -23
- package/dist/templates/social/saas-kit-ph-thumb.js +23 -23
- package/dist/templates/social/saas-kit-youtube-thumbs.js +23 -23
- package/dist/templates/social/saas-store-b2b-ads.js +24 -24
- package/dist/templates/social/saas-store-caption-set.js +24 -24
- package/dist/templates/social/saas-store-chrome-kit.js +24 -24
- package/dist/templates/social/saas-store-ipad-set.js +24 -24
- package/dist/templates/social/saas-store-panorama.js +25 -25
- package/dist/templates/social/saas-store-play-kit.js +23 -23
- package/dist/templates/social/saas-store-story.js +24 -24
- package/dist/templates/social/singles-day-link-preview.js +25 -25
- package/dist/templates/social/solarpunk-impact-post.js +25 -25
- package/dist/templates/social/solarpunk-link-preview.js +25 -25
- package/dist/templates/social/space-opera-link-preview.js +25 -25
- package/dist/templates/social/space-opera-mission-patch-post.js +25 -25
- package/dist/templates/social/spring-bloom-link-preview.js +25 -25
- package/dist/templates/social/studio-class-timetable.js +23 -23
- package/dist/templates/social/studio-podcast-cover.js +23 -23
- package/dist/templates/social/style-bento-announcement.js +24 -24
- package/dist/templates/social/style-bento-link-preview.js +24 -24
- package/dist/templates/social/style-bento-milestone.js +24 -24
- package/dist/templates/social/style-bento-testimonial.js +25 -25
- package/dist/templates/social/style-brutalist-announcement.js +24 -24
- package/dist/templates/social/style-brutalist-link-preview.js +24 -24
- package/dist/templates/social/style-brutalist-milestone.js +25 -25
- package/dist/templates/social/style-brutalist-testimonial.js +24 -24
- package/dist/templates/social/style-dark-announcement.js +24 -24
- package/dist/templates/social/style-dark-link-preview.js +23 -23
- package/dist/templates/social/style-dark-milestone.js +24 -24
- package/dist/templates/social/style-dark-testimonial.js +25 -25
- package/dist/templates/social/style-data-announcement.js +24 -24
- package/dist/templates/social/style-data-link-preview.js +24 -24
- package/dist/templates/social/style-data-milestone.js +25 -25
- package/dist/templates/social/style-data-testimonial.js +25 -25
- package/dist/templates/social/style-editorial-announcement.js +24 -24
- package/dist/templates/social/style-editorial-link-preview.js +24 -24
- package/dist/templates/social/style-editorial-milestone.js +24 -24
- package/dist/templates/social/style-editorial-testimonial.js +25 -25
- package/dist/templates/social/style-glass-announcement.js +25 -25
- package/dist/templates/social/style-glass-link-preview.js +25 -25
- package/dist/templates/social/style-glass-milestone.js +25 -25
- package/dist/templates/social/style-glass-testimonial.js +26 -26
- package/dist/templates/social/style-gradient-announcement.js +24 -24
- package/dist/templates/social/style-gradient-link-preview.js +24 -24
- package/dist/templates/social/style-gradient-milestone.js +25 -25
- package/dist/templates/social/style-gradient-testimonial.js +25 -25
- package/dist/templates/social/style-maximal-announcement.js +24 -24
- package/dist/templates/social/style-maximal-link-preview.js +24 -24
- package/dist/templates/social/style-maximal-milestone.js +24 -24
- package/dist/templates/social/style-maximal-testimonial.js +25 -25
- package/dist/templates/social/style-pastel-announcement.js +25 -25
- package/dist/templates/social/style-pastel-link-preview.js +25 -25
- package/dist/templates/social/style-pastel-milestone.js +25 -25
- package/dist/templates/social/style-pastel-testimonial.js +26 -26
- package/dist/templates/social/style-sketch-announcement.js +25 -25
- package/dist/templates/social/style-sketch-link-preview.js +24 -24
- package/dist/templates/social/style-sketch-milestone.js +24 -24
- package/dist/templates/social/style-sketch-testimonial.js +25 -25
- package/dist/templates/social/style-swiss-announcement.js +24 -24
- package/dist/templates/social/style-swiss-link-preview.js +24 -24
- package/dist/templates/social/style-swiss-milestone.js +24 -24
- package/dist/templates/social/style-swiss-testimonial.js +25 -25
- package/dist/templates/social/style-terminal-announcement.js +26 -26
- package/dist/templates/social/style-terminal-link-preview.js +26 -26
- package/dist/templates/social/style-terminal-milestone.js +26 -26
- package/dist/templates/social/style-terminal-testimonial.js +27 -27
- package/dist/templates/social/summer-heatwave-link-preview.js +25 -25
- package/dist/templates/social/summer-heatwave-lolly-post.js +25 -25
- package/dist/templates/social/tour-tickets-june-ads.js +23 -23
- package/dist/templates/social/tour-tickets-tide-ads.js +23 -23
- package/dist/templates/social/tour-tickets-wreck-ads.js +23 -23
- package/dist/templates/social/transit-map-link-preview.js +25 -25
- package/dist/templates/social/ukiyo-e-link-preview.js +25 -25
- package/dist/templates/social/ukiyo-e-spike-post.js +25 -25
- package/dist/templates/social/valentines-link-preview.js +25 -25
- package/dist/templates/social/valentines-poem-post.js +25 -25
- package/dist/templates/social/vaporwave-feature-drop.js +24 -24
- package/dist/templates/social/vaporwave-link-preview.js +24 -24
- package/dist/templates/social/winter-cosy-link-preview.js +26 -26
- package/dist/templates/social/winter-holidays-link-preview.js +26 -26
- package/dist/templates/social/winter-holidays-thanks-post.js +26 -26
- package/dist/templates/stings/line-reveal.js +23 -23
- package/dist/templates/stings/sting-blur.js +23 -23
- package/dist/templates/stings/sting-pop.js +23 -23
- package/dist/templates/stings/sting-rise.js +23 -23
- package/dist/templates/stings/sting-shimmer.js +23 -23
- package/dist/templates/stings/word-swap.js +23 -23
- package/dist/templates/text/stat-counter.js +23 -23
- package/dist/templates/text/word-quote.js +23 -23
- package/dist/templates/themes/april-fools-shared.js +14 -14
- package/dist/templates/themes/april-fools.js +30 -30
- package/dist/templates/themes/arcade-shared.js +8 -8
- package/dist/templates/themes/arcade.js +30 -30
- package/dist/templates/themes/art-deco-shared.js +6 -6
- package/dist/templates/themes/art-deco.js +30 -30
- package/dist/templates/themes/autumn-harvest-shared.js +6 -6
- package/dist/templates/themes/autumn-harvest.js +30 -30
- package/dist/templates/themes/back-to-school-shared.js +6 -6
- package/dist/templates/themes/back-to-school.js +30 -30
- package/dist/templates/themes/bauhaus-shared.js +6 -6
- package/dist/templates/themes/bauhaus.js +29 -29
- package/dist/templates/themes/black-friday-coupons-shared.js +6 -6
- package/dist/templates/themes/black-friday-coupons.js +32 -32
- package/dist/templates/themes/black-friday-neon-shared.js +7 -7
- package/dist/templates/themes/black-friday-neon.js +33 -33
- package/dist/templates/themes/black-friday-scratch-shared.js +6 -6
- package/dist/templates/themes/black-friday-scratch.js +31 -31
- package/dist/templates/themes/black-friday-ticker-shared.js +6 -6
- package/dist/templates/themes/black-friday-ticker.js +32 -32
- package/dist/templates/themes/black-friday.js +29 -29
- package/dist/templates/themes/blueprint-shared.js +7 -7
- package/dist/templates/themes/blueprint.js +30 -30
- package/dist/templates/themes/broadsheet.js +30 -30
- package/dist/templates/themes/claymation-shared.js +7 -7
- package/dist/templates/themes/claymation.js +31 -31
- package/dist/templates/themes/comic-book-shared.js +8 -8
- package/dist/templates/themes/comic-book.js +40 -40
- package/dist/templates/themes/comic-hero.js +35 -35
- package/dist/templates/themes/comic-indie.js +23 -23
- package/dist/templates/themes/cyberpunk-shared.js +8 -8
- package/dist/templates/themes/cyberpunk.js +32 -32
- package/dist/templates/themes/departure-board-shared.js +6 -6
- package/dist/templates/themes/departure-board.js +29 -29
- package/dist/templates/themes/diwali-shared.js +7 -7
- package/dist/templates/themes/diwali.js +31 -31
- package/dist/templates/themes/earth-day-shared.js +7 -7
- package/dist/templates/themes/earth-day.js +31 -31
- package/dist/templates/themes/everyday-shared.js +7 -7
- package/dist/templates/themes/everyday.js +33 -33
- package/dist/templates/themes/festival-presale-electronic-kit.js +28 -28
- package/dist/templates/themes/festival-presale-family-a-shared.js +27 -27
- package/dist/templates/themes/festival-presale-family-a.js +52 -52
- package/dist/templates/themes/festival-presale-family-b-shared.js +27 -27
- package/dist/templates/themes/festival-presale-family-b.js +53 -53
- package/dist/templates/themes/festival-presale-family-kit.js +28 -28
- package/dist/templates/themes/festival-presale-folk-kit.js +28 -28
- package/dist/templates/themes/festival-presale-food-kit.js +28 -28
- package/dist/templates/themes/festival-presale-jazz-kit.js +28 -28
- package/dist/templates/themes/festival-presale-shared.js +8 -8
- package/dist/templates/themes/festival-presale-street-kit.js +29 -29
- package/dist/templates/themes/festival-presale.js +33 -33
- package/dist/templates/themes/gothic.js +29 -29
- package/dist/templates/themes/halloween-shared.js +7 -7
- package/dist/templates/themes/halloween.js +31 -31
- package/dist/templates/themes/holidays.js +50 -50
- package/dist/templates/themes/index.js +491 -491
- package/dist/templates/themes/lunar-new-year-shared.js +7 -7
- package/dist/templates/themes/lunar-new-year.js +31 -31
- package/dist/templates/themes/machined-shared.js +14 -14
- package/dist/templates/themes/machined.js +29 -29
- package/dist/templates/themes/manuscript-shared.js +6 -6
- package/dist/templates/themes/manuscript.js +30 -30
- package/dist/templates/themes/memories.js +33 -33
- package/dist/templates/themes/new-year-shared.js +7 -7
- package/dist/templates/themes/new-year.js +31 -31
- package/dist/templates/themes/noir-shared.js +8 -8
- package/dist/templates/themes/noir.js +32 -32
- package/dist/templates/themes/printshop-shared.js +13 -13
- package/dist/templates/themes/printshop.js +49 -49
- package/dist/templates/themes/psychedelic-shared.js +7 -7
- package/dist/templates/themes/psychedelic.js +31 -31
- package/dist/templates/themes/riso-zine-shared.js +8 -8
- package/dist/templates/themes/riso-zine.js +32 -32
- package/dist/templates/themes/singles-day-shared.js +7 -7
- package/dist/templates/themes/singles-day.js +31 -31
- package/dist/templates/themes/solarpunk-shared.js +7 -7
- package/dist/templates/themes/solarpunk.js +31 -31
- package/dist/templates/themes/space-opera-shared.js +7 -7
- package/dist/templates/themes/space-opera.js +31 -31
- package/dist/templates/themes/spring-bloom-shared.js +7 -7
- package/dist/templates/themes/spring-bloom.js +31 -31
- package/dist/templates/themes/studio.js +29 -29
- package/dist/templates/themes/summer-heatwave-shared.js +7 -7
- package/dist/templates/themes/summer-heatwave.js +31 -31
- package/dist/templates/themes/tour-tickets-page-shared.js +7 -7
- package/dist/templates/themes/tour-tickets.js +51 -51
- package/dist/templates/themes/transit-map-shared.js +7 -7
- package/dist/templates/themes/transit-map.js +31 -31
- package/dist/templates/themes/ukiyo-e-shared.js +7 -7
- package/dist/templates/themes/ukiyo-e.js +31 -31
- package/dist/templates/themes/valentines-shared.js +7 -7
- package/dist/templates/themes/valentines.js +31 -31
- package/dist/templates/themes/vaporwave-shared.js +6 -6
- package/dist/templates/themes/vaporwave.js +29 -29
- package/dist/templates/themes/winter-cosy-shared.js +7 -7
- package/dist/templates/themes/winter-cosy.js +32 -32
- package/dist/templates/themes/winter-holidays-shared.js +7 -7
- package/dist/templates/themes/winter-holidays.js +32 -32
- package/dist/templates/video/youtube-chapter.js +23 -23
- package/dist/templates/video/youtube-end-screen.js +23 -23
- package/dist/templates/video/youtube-intro.js +23 -23
- package/dist/templates/video/youtube-subscribe.js +23 -23
- package/dist/templates/web/app-ui.js +14 -14
- package/dist/templates/web/april-fools-landing.js +25 -25
- package/dist/templates/web/arcade-landing.js +26 -26
- package/dist/templates/web/art-deco-landing.js +24 -24
- package/dist/templates/web/autumn-harvest-landing.js +24 -24
- package/dist/templates/web/back-to-school-landing.js +24 -24
- package/dist/templates/web/bauhaus-landing.js +24 -24
- package/dist/templates/web/black-friday-coupons-landing.js +25 -25
- package/dist/templates/web/black-friday-landing.js +23 -23
- package/dist/templates/web/black-friday-neon-landing.js +25 -25
- package/dist/templates/web/black-friday-scratch-landing.js +24 -24
- package/dist/templates/web/black-friday-ticker-landing.js +24 -24
- package/dist/templates/web/blog-post.js +23 -23
- package/dist/templates/web/blueprint-landing.js +25 -25
- package/dist/templates/web/broadsheet-landing.js +23 -23
- package/dist/templates/web/claymation-landing.js +25 -25
- package/dist/templates/web/comic-book-landing.js +26 -26
- package/dist/templates/web/coming-soon-page.js +24 -24
- package/dist/templates/web/coming-soon.js +23 -23
- package/dist/templates/web/contact.js +24 -24
- package/dist/templates/web/cyberpunk-landing.js +26 -26
- package/dist/templates/web/daybreak-app.js +25 -25
- package/dist/templates/web/departure-board-download.js +24 -24
- package/dist/templates/web/diwali-landing.js +25 -25
- package/dist/templates/web/earth-day-landing.js +25 -25
- package/dist/templates/web/everyday-cafe.js +26 -26
- package/dist/templates/web/everyday-hotel.js +26 -26
- package/dist/templates/web/everyday-wedding.js +27 -27
- package/dist/templates/web/festival-presale-electronic.js +26 -26
- package/dist/templates/web/festival-presale-family.js +26 -26
- package/dist/templates/web/festival-presale-folk.js +26 -26
- package/dist/templates/web/festival-presale-food.js +26 -26
- package/dist/templates/web/festival-presale-jazz.js +26 -26
- package/dist/templates/web/festival-presale-street.js +27 -27
- package/dist/templates/web/forms.js +13 -13
- package/dist/templates/web/gothic-landing.js +23 -23
- package/dist/templates/web/halloween-landing.js +25 -25
- package/dist/templates/web/hero-animated.js +23 -23
- package/dist/templates/web/kindling-app.js +25 -25
- package/dist/templates/web/launch-waitlist.js +24 -24
- package/dist/templates/web/lunar-new-year-landing.js +25 -25
- package/dist/templates/web/machined-hero.js +25 -25
- package/dist/templates/web/manuscript-landing.js +24 -24
- package/dist/templates/web/marginalia-app.js +25 -25
- package/dist/templates/web/new-year-landing.js +25 -25
- package/dist/templates/web/noir-landing.js +26 -26
- package/dist/templates/web/page-404.js +23 -23
- package/dist/templates/web/portfolio-architect.js +25 -25
- package/dist/templates/web/portfolio-art.js +13 -13
- package/dist/templates/web/portfolio-card-deck.js +25 -25
- package/dist/templates/web/portfolio-case-folio.js +25 -25
- package/dist/templates/web/portfolio-cube-gallery.js +25 -25
- package/dist/templates/web/portfolio-depth-tunnel.js +25 -25
- package/dist/templates/web/portfolio-editorial.js +25 -25
- package/dist/templates/web/portfolio-flip-wall.js +25 -25
- package/dist/templates/web/portfolio-index-list.js +25 -25
- package/dist/templates/web/portfolio-photographer.js +25 -25
- package/dist/templates/web/portfolio-reel-carousel.js +25 -25
- package/dist/templates/web/portfolio-shared.js +14 -14
- package/dist/templates/web/portfolio-sketchbook.js +25 -25
- package/dist/templates/web/portfolio-studio-grid.js +25 -25
- package/dist/templates/web/portfolio.js +23 -23
- package/dist/templates/web/portfolios.js +37 -37
- package/dist/templates/web/potluck-app.js +25 -25
- package/dist/templates/web/pricing-toggle.js +23 -23
- package/dist/templates/web/product-page.js +23 -23
- package/dist/templates/web/psychedelic-landing.js +25 -25
- package/dist/templates/web/riso-zine-landing.js +26 -26
- package/dist/templates/web/rsvp-invite.js +24 -24
- package/dist/templates/web/saas-ai-landing.js +24 -24
- package/dist/templates/web/saas-app-download.js +24 -24
- package/dist/templates/web/saas-case-study.js +24 -24
- package/dist/templates/web/saas-changelog.js +24 -24
- package/dist/templates/web/saas-comparison.js +24 -24
- package/dist/templates/web/saas-data-landing.js +24 -24
- package/dist/templates/web/saas-dev-landing.js +24 -24
- package/dist/templates/web/saas-indie-landing.js +24 -24
- package/dist/templates/web/saas-integrations.js +24 -24
- package/dist/templates/web/saas-security.js +24 -24
- package/dist/templates/web/saas-signup.js +24 -24
- package/dist/templates/web/saas-waitlist.js +24 -24
- package/dist/templates/web/saffron-app.js +25 -25
- package/dist/templates/web/shop-art.js +13 -13
- package/dist/templates/web/shop-bloom.js +28 -28
- package/dist/templates/web/shop-circuit.js +28 -28
- package/dist/templates/web/shop-fieldwork.js +28 -28
- package/dist/templates/web/shop-greenhouse.js +28 -28
- package/dist/templates/web/shop-kiln.js +28 -28
- package/dist/templates/web/shop-marginalia.js +28 -28
- package/dist/templates/web/shop-ode.js +28 -28
- package/dist/templates/web/shop-shared.js +17 -17
- package/dist/templates/web/shop-static.js +28 -28
- package/dist/templates/web/shop-summit.js +28 -28
- package/dist/templates/web/shops.js +37 -37
- package/dist/templates/web/singles-day-landing.js +25 -25
- package/dist/templates/web/solarpunk-landing.js +25 -25
- package/dist/templates/web/space-opera-landing.js +25 -25
- package/dist/templates/web/spring-bloom-landing.js +25 -25
- package/dist/templates/web/studio-careers.js +23 -23
- package/dist/templates/web/style-bento-landing.js +26 -26
- package/dist/templates/web/style-bento-pricing.js +25 -25
- package/dist/templates/web/style-brutalist-landing.js +25 -25
- package/dist/templates/web/style-brutalist-pricing.js +25 -25
- package/dist/templates/web/style-dark-landing.js +26 -26
- package/dist/templates/web/style-dark-pricing.js +25 -25
- package/dist/templates/web/style-data-landing.js +27 -27
- package/dist/templates/web/style-data-pricing.js +25 -25
- package/dist/templates/web/style-editorial-landing.js +25 -25
- package/dist/templates/web/style-editorial-pricing.js +26 -26
- package/dist/templates/web/style-glass-landing.js +27 -27
- package/dist/templates/web/style-glass-pricing.js +26 -26
- package/dist/templates/web/style-gradient-landing.js +27 -27
- package/dist/templates/web/style-gradient-pricing.js +25 -25
- package/dist/templates/web/style-maximal-landing.js +26 -26
- package/dist/templates/web/style-maximal-pricing.js +25 -25
- package/dist/templates/web/style-pastel-landing.js +27 -27
- package/dist/templates/web/style-pastel-pricing.js +26 -26
- package/dist/templates/web/style-sketch-landing.js +27 -27
- package/dist/templates/web/style-sketch-pricing.js +25 -25
- package/dist/templates/web/style-swiss-landing.js +27 -27
- package/dist/templates/web/style-swiss-pricing.js +25 -25
- package/dist/templates/web/style-terminal-landing.js +28 -28
- package/dist/templates/web/style-terminal-pricing.js +27 -27
- package/dist/templates/web/summer-heatwave-landing.js +25 -25
- package/dist/templates/web/tempo-app.js +25 -25
- package/dist/templates/web/tour-tickets-june-landing.js +25 -25
- package/dist/templates/web/tour-tickets-tide-landing.js +25 -25
- package/dist/templates/web/tour-tickets-wreck-landing.js +25 -25
- package/dist/templates/web/transit-map-landing.js +25 -25
- package/dist/templates/web/ukiyo-e-landing.js +25 -25
- package/dist/templates/web/valentines-landing.js +25 -25
- package/dist/templates/web/vaporwave-landing.js +24 -24
- package/dist/templates/web/wayfarer-app.js +25 -25
- package/dist/templates/web/winter-cosy-landing.js +26 -26
- package/dist/templates/web/winter-holidays-landing.js +26 -26
- package/package.json +1 -1
- package/types/lib/document/types.d.ts +8 -0
- package/dist/chunks/agent-6THZ2EPN.js +0 -44
- package/dist/chunks/apply-3IT3CKRU.js +0 -46
- package/dist/chunks/board-export-EMZBD7SZ.js +0 -180
- package/dist/chunks/browser-QQKAUSO2.js +0 -181
- package/dist/chunks/build-ZQU33SAY.js +0 -59
- package/dist/chunks/builtin-F5D6PUUV.js +0 -120
- package/dist/chunks/buy-credits-KM6YVE4O.js +0 -80
- package/dist/chunks/check-UHN4TGI3.js +0 -59
- package/dist/chunks/check-template-J6XSBYRR.js +0 -2463
- package/dist/chunks/chunk-22F425TG.js +0 -119
- package/dist/chunks/chunk-27O62SQG.js +0 -139
- package/dist/chunks/chunk-2A25J5ET.js +0 -41
- package/dist/chunks/chunk-2AWHM2RH.js +0 -313
- package/dist/chunks/chunk-2AX3MOJ7.js +0 -182
- package/dist/chunks/chunk-2AX4EHGO.js +0 -162
- package/dist/chunks/chunk-2DCLDZCK.js +0 -95
- package/dist/chunks/chunk-2DQFAM4B.js +0 -191
- package/dist/chunks/chunk-2DY652KC.js +0 -312
- package/dist/chunks/chunk-2HQP6X7H.js +0 -108
- package/dist/chunks/chunk-2HT3GJTP.js +0 -172
- package/dist/chunks/chunk-2JJUQZYK.js +0 -135
- package/dist/chunks/chunk-2JVIBRHR.js +0 -146
- package/dist/chunks/chunk-2K7UCWZF.js +0 -170
- package/dist/chunks/chunk-2KHDIW7R.js +0 -335
- package/dist/chunks/chunk-2KLRHFCM.js +0 -97
- package/dist/chunks/chunk-2LSISW7U.js +0 -237
- package/dist/chunks/chunk-2M6JX22M.js +0 -104
- package/dist/chunks/chunk-2MKWTJFT.js +0 -129
- package/dist/chunks/chunk-2O5QCZSW.js +0 -464
- package/dist/chunks/chunk-2SCOURZA.js +0 -148
- package/dist/chunks/chunk-2TZFSRQK.js +0 -231
- package/dist/chunks/chunk-2UNJZDIY.js +0 -79
- package/dist/chunks/chunk-2VK22M3Z.js +0 -23
- package/dist/chunks/chunk-2VOS37XW.js +0 -177
- package/dist/chunks/chunk-2W7NDH5F.js +0 -201
- package/dist/chunks/chunk-2XNT7AGL.js +0 -226
- package/dist/chunks/chunk-32TY5WKU.js +0 -106
- package/dist/chunks/chunk-33XJYP2J.js +0 -454
- package/dist/chunks/chunk-34QQ752U.js +0 -122
- package/dist/chunks/chunk-3BBGBJ6E.js +0 -23
- package/dist/chunks/chunk-3BHAQ5JP.js +0 -79
- package/dist/chunks/chunk-3D7DW5ML.js +0 -257
- package/dist/chunks/chunk-3H65WYU7.js +0 -197
- package/dist/chunks/chunk-3IZWNK5V.js +0 -222
- package/dist/chunks/chunk-3JUOWNWF.js +0 -119
- package/dist/chunks/chunk-3L4LLAJS.js +0 -174
- package/dist/chunks/chunk-3LNUHMWL.js +0 -130
- package/dist/chunks/chunk-3MDM37SA.js +0 -80
- package/dist/chunks/chunk-3NI3XU6W.js +0 -1136
- package/dist/chunks/chunk-3NIBSMX4.js +0 -226
- package/dist/chunks/chunk-3OCT6UB6.js +0 -23
- package/dist/chunks/chunk-3PV7BOTT.js +0 -360
- package/dist/chunks/chunk-3TL7BI3S.js +0 -76
- package/dist/chunks/chunk-3U4ZMAKP.js +0 -145
- package/dist/chunks/chunk-3U7GUWOT.js +0 -23
- package/dist/chunks/chunk-3UZOCAFE.js +0 -163
- package/dist/chunks/chunk-3VGRJQLK.js +0 -41
- package/dist/chunks/chunk-3VL45SLC.js +0 -159
- package/dist/chunks/chunk-3VXCJVKD.js +0 -33
- package/dist/chunks/chunk-3XAEUQ3Y.js +0 -33
- package/dist/chunks/chunk-3YNR4AI2.js +0 -97
- package/dist/chunks/chunk-3YZHBULJ.js +0 -320
- package/dist/chunks/chunk-42QWWBMQ.js +0 -23
- package/dist/chunks/chunk-45F5MUQI.js +0 -147
- package/dist/chunks/chunk-466W7HL5.js +0 -46
- package/dist/chunks/chunk-4ASNXDT5.js +0 -33
- package/dist/chunks/chunk-4BWFK4TY.js +0 -33
- package/dist/chunks/chunk-4C3CKCL4.js +0 -155
- package/dist/chunks/chunk-4CYXNC2J.js +0 -270
- package/dist/chunks/chunk-4DIY7SNV.js +0 -30
- package/dist/chunks/chunk-4DO4C3ZU.js +0 -89
- package/dist/chunks/chunk-4ELQAM2V.js +0 -198
- package/dist/chunks/chunk-4EP6FLVG.js +0 -303
- package/dist/chunks/chunk-4FDVURKY.js +0 -153
- package/dist/chunks/chunk-4FREIWFO.js +0 -33
- package/dist/chunks/chunk-4IILSQMO.js +0 -91
- package/dist/chunks/chunk-4JOIRXUO.js +0 -112
- package/dist/chunks/chunk-4KD7XYHG.js +0 -103
- package/dist/chunks/chunk-4LN4OOE6.js +0 -284
- package/dist/chunks/chunk-4PMCH4NR.js +0 -95
- package/dist/chunks/chunk-4QXDX7GR.js +0 -261
- package/dist/chunks/chunk-4R5ZBXE4.js +0 -77
- package/dist/chunks/chunk-4RAV4IRK.js +0 -41
- package/dist/chunks/chunk-4REP5363.js +0 -78
- package/dist/chunks/chunk-4W445EDQ.js +0 -898
- package/dist/chunks/chunk-4YRX3BDX.js +0 -217
- package/dist/chunks/chunk-4ZJK5UYZ.js +0 -172
- package/dist/chunks/chunk-52BUVGC2.js +0 -738
- package/dist/chunks/chunk-52GKGV4V.js +0 -157
- package/dist/chunks/chunk-52O53HVD.js +0 -45
- package/dist/chunks/chunk-535SNIBW.js +0 -162
- package/dist/chunks/chunk-53PZUHEM.js +0 -291
- package/dist/chunks/chunk-54GRMC7C.js +0 -1410
- package/dist/chunks/chunk-5572CD6Y.js +0 -92
- package/dist/chunks/chunk-55UGC2GL.js +0 -102
- package/dist/chunks/chunk-56R2MTQR.js +0 -261
- package/dist/chunks/chunk-57AD5ZHQ.js +0 -33
- package/dist/chunks/chunk-5ARRRHAC.js +0 -283
- package/dist/chunks/chunk-5CHVTTDP.js +0 -117
- package/dist/chunks/chunk-5CWQLCCK.js +0 -182
- package/dist/chunks/chunk-5GWADMDW.js +0 -86
- package/dist/chunks/chunk-5JDJE3BE.js +0 -114
- package/dist/chunks/chunk-5JTTVS62.js +0 -123
- package/dist/chunks/chunk-5K7RF2MB.js +0 -340
- package/dist/chunks/chunk-5KIV7AMY.js +0 -155
- package/dist/chunks/chunk-5MRUMRFM.js +0 -23
- package/dist/chunks/chunk-5NTPP3XG.js +0 -78
- package/dist/chunks/chunk-5NUTPMIZ.js +0 -567
- package/dist/chunks/chunk-5OEZ73EJ.js +0 -137
- package/dist/chunks/chunk-5P6TXRO7.js +0 -390
- package/dist/chunks/chunk-5UFSEXDN.js +0 -166
- package/dist/chunks/chunk-5VLPEU5M.js +0 -78
- package/dist/chunks/chunk-5W3ITRUY.js +0 -142
- package/dist/chunks/chunk-5WTQPZEM.js +0 -23
- package/dist/chunks/chunk-5XGZIJFB.js +0 -23
- package/dist/chunks/chunk-5XITK7N3.js +0 -164
- package/dist/chunks/chunk-5XO4356Z.js +0 -33
- package/dist/chunks/chunk-5XRHASKC.js +0 -258
- package/dist/chunks/chunk-5YOIELDG.js +0 -23
- package/dist/chunks/chunk-5Z2FZSEP.js +0 -206
- package/dist/chunks/chunk-5Z2WBM3F.js +0 -127
- package/dist/chunks/chunk-62V23OT6.js +0 -33
- package/dist/chunks/chunk-63FXGAK7.js +0 -180
- package/dist/chunks/chunk-63NN5SLS.js +0 -168
- package/dist/chunks/chunk-63NZWM25.js +0 -84
- package/dist/chunks/chunk-64LVJB3F.js +0 -196
- package/dist/chunks/chunk-65A6QRLC.js +0 -382
- package/dist/chunks/chunk-65O6BV2R.js +0 -23
- package/dist/chunks/chunk-66OLC5PX.js +0 -192
- package/dist/chunks/chunk-66PC6NPG.js +0 -244
- package/dist/chunks/chunk-67HHHPAR.js +0 -33
- package/dist/chunks/chunk-6B7ODUZ6.js +0 -232
- package/dist/chunks/chunk-6DDB5WAD.js +0 -220
- package/dist/chunks/chunk-6HWF4PIO.js +0 -184
- package/dist/chunks/chunk-6IFVABMN.js +0 -589
- package/dist/chunks/chunk-6JMOEHXA.js +0 -133
- package/dist/chunks/chunk-6JRJGIFS.js +0 -93
- package/dist/chunks/chunk-6JUDL3MI.js +0 -235
- package/dist/chunks/chunk-6JV4A2PH.js +0 -109
- package/dist/chunks/chunk-6RGPRALU.js +0 -83
- package/dist/chunks/chunk-6SSWI37B.js +0 -138
- package/dist/chunks/chunk-6T5PYBLP.js +0 -110
- package/dist/chunks/chunk-6TDWP52P.js +0 -36
- package/dist/chunks/chunk-6VE5GFH5.js +0 -85
- package/dist/chunks/chunk-6VHKLNTZ.js +0 -55
- package/dist/chunks/chunk-6VNEECKO.js +0 -122
- package/dist/chunks/chunk-6XO5DWXS.js +0 -183
- package/dist/chunks/chunk-6YSD37DR.js +0 -95
- package/dist/chunks/chunk-6YSXLG5Q.js +0 -49
- package/dist/chunks/chunk-73775BIT.js +0 -93
- package/dist/chunks/chunk-73XH4VM6.js +0 -375
- package/dist/chunks/chunk-75NLABY5.js +0 -173
- package/dist/chunks/chunk-76R57DPZ.js +0 -150
- package/dist/chunks/chunk-7735D7GF.js +0 -150
- package/dist/chunks/chunk-77EFLKI5.js +0 -84
- package/dist/chunks/chunk-7A2S72N2.js +0 -105
- package/dist/chunks/chunk-7D6DMWXN.js +0 -66
- package/dist/chunks/chunk-7E4CFV6A.js +0 -125
- package/dist/chunks/chunk-7I3U2GZC.js +0 -36
- package/dist/chunks/chunk-7IZJ2FMC.js +0 -122
- package/dist/chunks/chunk-7JRNCKRZ.js +0 -261
- package/dist/chunks/chunk-7KOOXDGM.js +0 -172
- package/dist/chunks/chunk-7L25BNNZ.js +0 -150
- package/dist/chunks/chunk-7LTEG22U.js +0 -50
- package/dist/chunks/chunk-7MBYRDVK.js +0 -343
- package/dist/chunks/chunk-7NAM43DQ.js +0 -119
- package/dist/chunks/chunk-7OARJCZS.js +0 -178
- package/dist/chunks/chunk-7P45R73H.js +0 -210
- package/dist/chunks/chunk-7PHSEYIK.js +0 -171
- package/dist/chunks/chunk-7PTYAAV2.js +0 -122
- package/dist/chunks/chunk-7S446KEI.js +0 -969
- package/dist/chunks/chunk-7TFUDL7W.js +0 -163
- package/dist/chunks/chunk-7UJDV3Y5.js +0 -153
- package/dist/chunks/chunk-7VHGNRS3.js +0 -23
- package/dist/chunks/chunk-7VUVERMO.js +0 -100
- package/dist/chunks/chunk-7VVFY5NG.js +0 -626
- package/dist/chunks/chunk-7VY563GV.js +0 -50
- package/dist/chunks/chunk-7WOUFVM4.js +0 -478
- package/dist/chunks/chunk-7YTPJHDQ.js +0 -158
- package/dist/chunks/chunk-7Z5ZN7R7.js +0 -206
- package/dist/chunks/chunk-A2IRXI7V.js +0 -468
- package/dist/chunks/chunk-A3BQYEYO.js +0 -260
- package/dist/chunks/chunk-A3LB7XIJ.js +0 -191
- package/dist/chunks/chunk-A43BBYRD.js +0 -274
- package/dist/chunks/chunk-A4BGZGX6.js +0 -10733
- package/dist/chunks/chunk-A7ABWOXC.js +0 -33
- package/dist/chunks/chunk-A7SYW6QK.js +0 -23
- package/dist/chunks/chunk-AD4ZIENE.js +0 -298
- package/dist/chunks/chunk-AD7H2AKI.js +0 -47
- package/dist/chunks/chunk-ADJ6WE2P.js +0 -23
- package/dist/chunks/chunk-ADJ6WSMY.js +0 -10311
- package/dist/chunks/chunk-AG76HPP5.js +0 -83
- package/dist/chunks/chunk-AHS6VZRF.js +0 -260
- package/dist/chunks/chunk-AL3ZHFFX.js +0 -109
- package/dist/chunks/chunk-AL4U7ODX.js +0 -166
- package/dist/chunks/chunk-ALDSQEL5.js +0 -120
- package/dist/chunks/chunk-AMPHHTXS.js +0 -60
- package/dist/chunks/chunk-AOM7KXTO.js +0 -125
- package/dist/chunks/chunk-AOU4U3NF.js +0 -175
- package/dist/chunks/chunk-AOXLISNB.js +0 -163
- package/dist/chunks/chunk-AOYHIPEO.js +0 -832
- package/dist/chunks/chunk-APSJTC3L.js +0 -95
- package/dist/chunks/chunk-ASLFWYKQ.js +0 -65
- package/dist/chunks/chunk-ASLPS6K7.js +0 -161
- package/dist/chunks/chunk-ATWB3UFO.js +0 -479
- package/dist/chunks/chunk-AU2EQYWN.js +0 -57
- package/dist/chunks/chunk-AUUYSZBE.js +0 -168
- package/dist/chunks/chunk-AZZGY2HY.js +0 -102
- package/dist/chunks/chunk-B2U3VBMA.js +0 -304
- package/dist/chunks/chunk-B4WXXDFI.js +0 -94
- package/dist/chunks/chunk-BA5OCNKH.js +0 -363
- package/dist/chunks/chunk-BCWYP6MH.js +0 -60
- package/dist/chunks/chunk-BF752ZBW.js +0 -197
- package/dist/chunks/chunk-BFGHLR3M.js +0 -152
- package/dist/chunks/chunk-BFKDGV7L.js +0 -307
- package/dist/chunks/chunk-BGW5KXZW.js +0 -51
- package/dist/chunks/chunk-BH6L7O7A.js +0 -163
- package/dist/chunks/chunk-BHB2G5ZX.js +0 -83
- package/dist/chunks/chunk-BHL4HLMQ.js +0 -53
- package/dist/chunks/chunk-BIIQKONM.js +0 -172
- package/dist/chunks/chunk-BKXGHVTN.js +0 -1419
- package/dist/chunks/chunk-BL5N6UNH.js +0 -112
- package/dist/chunks/chunk-BLURCZNI.js +0 -204
- package/dist/chunks/chunk-BMIP3ACK.js +0 -182
- package/dist/chunks/chunk-BMNUXIPQ.js +0 -336
- package/dist/chunks/chunk-BNITMBB6.js +0 -182
- package/dist/chunks/chunk-BNKDCXZG.js +0 -100
- package/dist/chunks/chunk-BNYW6Q6C.js +0 -23
- package/dist/chunks/chunk-BQE6MSLL.js +0 -153
- package/dist/chunks/chunk-BRRQ4SPC.js +0 -151
- package/dist/chunks/chunk-BRX6FJRT.js +0 -44
- package/dist/chunks/chunk-BS7W7SJT.js +0 -87
- package/dist/chunks/chunk-BUGOXCTU.js +0 -62
- package/dist/chunks/chunk-BWH2GWSB.js +0 -23
- package/dist/chunks/chunk-BYWAW2BS.js +0 -48
- package/dist/chunks/chunk-C3UAETFH.js +0 -287
- package/dist/chunks/chunk-C5DH2HTG.js +0 -36
- package/dist/chunks/chunk-CAHVATLZ.js +0 -382
- package/dist/chunks/chunk-CGELXOFP.js +0 -101
- package/dist/chunks/chunk-CII23GA3.js +0 -248
- package/dist/chunks/chunk-CJ7AOJB4.js +0 -170
- package/dist/chunks/chunk-CKRII5QL.js +0 -252
- package/dist/chunks/chunk-CQOQJXOM.js +0 -64
- package/dist/chunks/chunk-CS2CWDH3.js +0 -97
- package/dist/chunks/chunk-CTXLPLEN.js +0 -315
- package/dist/chunks/chunk-CUQ4AUQY.js +0 -155
- package/dist/chunks/chunk-CVRH5CWF.js +0 -92
- package/dist/chunks/chunk-CWVSLYGB.js +0 -108
- package/dist/chunks/chunk-CXL6GEYZ.js +0 -100
- package/dist/chunks/chunk-CYLKOGYP.js +0 -135
- package/dist/chunks/chunk-CZFI7WGX.js +0 -157
- package/dist/chunks/chunk-CZGMKWVV.js +0 -76
- package/dist/chunks/chunk-D2KY5RMJ.js +0 -183
- package/dist/chunks/chunk-D2LXCMQX.js +0 -108
- package/dist/chunks/chunk-D35VDGYV.js +0 -74
- package/dist/chunks/chunk-D3NLYIE6.js +0 -305
- package/dist/chunks/chunk-D4QVYMEE.js +0 -45
- package/dist/chunks/chunk-D53MSLP4.js +0 -242
- package/dist/chunks/chunk-D6RYFMDP.js +0 -96
- package/dist/chunks/chunk-D6WG2UKQ.js +0 -169
- package/dist/chunks/chunk-DAKWJ7J7.js +0 -2101
- package/dist/chunks/chunk-DAV36O5A.js +0 -283
- package/dist/chunks/chunk-DBJBAHW2.js +0 -161
- package/dist/chunks/chunk-DCUGANNR.js +0 -125
- package/dist/chunks/chunk-DCXAOHFE.js +0 -97
- package/dist/chunks/chunk-DCY4BOAD.js +0 -231
- package/dist/chunks/chunk-DCZRD4SW.js +0 -45
- package/dist/chunks/chunk-DD6WUIE3.js +0 -777
- package/dist/chunks/chunk-DEAJR7UK.js +0 -160
- package/dist/chunks/chunk-DEJ6LIMP.js +0 -143
- package/dist/chunks/chunk-DFCN3PNR.js +0 -196
- package/dist/chunks/chunk-DG3UCBII.js +0 -234
- package/dist/chunks/chunk-DHFWSUE6.js +0 -102
- package/dist/chunks/chunk-DJCTE42V.js +0 -104
- package/dist/chunks/chunk-DK7NJQDG.js +0 -123
- package/dist/chunks/chunk-DKJWLZ7C.js +0 -290
- package/dist/chunks/chunk-DM3TTXJW.js +0 -386
- package/dist/chunks/chunk-DN72JWUJ.js +0 -1845
- package/dist/chunks/chunk-DNOVCUTL.js +0 -276
- package/dist/chunks/chunk-DOJAIZR6.js +0 -134
- package/dist/chunks/chunk-DP5I3GBK.js +0 -320
- package/dist/chunks/chunk-DPTWSRA3.js +0 -115
- package/dist/chunks/chunk-DPXUNAXR.js +0 -361
- package/dist/chunks/chunk-DRBOCWGX.js +0 -100
- package/dist/chunks/chunk-DRWWUQOK.js +0 -152
- package/dist/chunks/chunk-DTGFBXJY.js +0 -161
- package/dist/chunks/chunk-DTZRFID4.js +0 -149
- package/dist/chunks/chunk-DUHSN4E2.js +0 -232
- package/dist/chunks/chunk-DVS2GYNO.js +0 -85
- package/dist/chunks/chunk-DVZ55L3T.js +0 -79
- package/dist/chunks/chunk-DW5B7UOI.js +0 -70
- package/dist/chunks/chunk-DXWNMKZV.js +0 -78
- package/dist/chunks/chunk-DZKEYDUL.js +0 -261
- package/dist/chunks/chunk-DZN5VFJV.js +0 -154
- package/dist/chunks/chunk-E36TO7QZ.js +0 -136
- package/dist/chunks/chunk-E3NCODOU.js +0 -213
- package/dist/chunks/chunk-E5GXIHGQ.js +0 -171
- package/dist/chunks/chunk-E5OGWXU2.js +0 -23
- package/dist/chunks/chunk-E5ZE2TLA.js +0 -103
- package/dist/chunks/chunk-E6AUMZZW.js +0 -130
- package/dist/chunks/chunk-E6IPHYYE.js +0 -192
- package/dist/chunks/chunk-E7SERLKH.js +0 -141
- package/dist/chunks/chunk-EA5BZIWB.js +0 -163
- package/dist/chunks/chunk-EADHANHZ.js +0 -156
- package/dist/chunks/chunk-EBZH2Z7F.js +0 -90
- package/dist/chunks/chunk-ECFSIV3C.js +0 -33
- package/dist/chunks/chunk-EDUN6GZV.js +0 -299
- package/dist/chunks/chunk-EDW7AGSV.js +0 -99
- package/dist/chunks/chunk-EEKYKRCY.js +0 -436
- package/dist/chunks/chunk-EFPISYGJ.js +0 -155
- package/dist/chunks/chunk-EGC6J36G.js +0 -237
- package/dist/chunks/chunk-EGPWBU5Y.js +0 -68
- package/dist/chunks/chunk-EH7WH5TD.js +0 -190
- package/dist/chunks/chunk-EKQXD7NE.js +0 -94
- package/dist/chunks/chunk-ELDLUQFZ.js +0 -391
- package/dist/chunks/chunk-ENFDEPDA.js +0 -33
- package/dist/chunks/chunk-EPPD54T3.js +0 -298
- package/dist/chunks/chunk-EPQ2S6XL.js +0 -33
- package/dist/chunks/chunk-EPW4MMGU.js +0 -27
- package/dist/chunks/chunk-EQG4UMQJ.js +0 -198
- package/dist/chunks/chunk-EQOSKWXM.js +0 -82
- package/dist/chunks/chunk-EX364IHL.js +0 -484
- package/dist/chunks/chunk-EXF7MNRT.js +0 -1378
- package/dist/chunks/chunk-EYUBDPUW.js +0 -334
- package/dist/chunks/chunk-EZIT4KKG.js +0 -934
- package/dist/chunks/chunk-F37XUXRZ.js +0 -338
- package/dist/chunks/chunk-F675LPVK.js +0 -84
- package/dist/chunks/chunk-FBIZXXI3.js +0 -145
- package/dist/chunks/chunk-FBNGMNDA.js +0 -107
- package/dist/chunks/chunk-FC2KSOYM.js +0 -115
- package/dist/chunks/chunk-FCMNMMMD.js +0 -110
- package/dist/chunks/chunk-FDG6USH7.js +0 -45
- package/dist/chunks/chunk-FFQ5IUQR.js +0 -173
- package/dist/chunks/chunk-FGYRGSX6.js +0 -82
- package/dist/chunks/chunk-FKCW6UAW.js +0 -93
- package/dist/chunks/chunk-FKMCSLS6.js +0 -123
- package/dist/chunks/chunk-FLE2T5ZH.js +0 -161
- package/dist/chunks/chunk-FLGLP5HO.js +0 -53
- package/dist/chunks/chunk-FMDIR5X5.js +0 -304
- package/dist/chunks/chunk-FMFEVYJK.js +0 -207
- package/dist/chunks/chunk-FNBQ65K7.js +0 -185
- package/dist/chunks/chunk-FNF42JOT.js +0 -194
- package/dist/chunks/chunk-FNZL2EKC.js +0 -181
- package/dist/chunks/chunk-FOAPBUZA.js +0 -185
- package/dist/chunks/chunk-FOD3RSGM.js +0 -127
- package/dist/chunks/chunk-FRD3NSZU.js +0 -30
- package/dist/chunks/chunk-FSDLZA24.js +0 -428
- package/dist/chunks/chunk-FSDUGM35.js +0 -155
- package/dist/chunks/chunk-FSGGEEZV.js +0 -267
- package/dist/chunks/chunk-FTCWCFXP.js +0 -117
- package/dist/chunks/chunk-FUBC4H76.js +0 -626
- package/dist/chunks/chunk-FWYGGBK3.js +0 -93
- package/dist/chunks/chunk-G4HDJDUG.js +0 -336
- package/dist/chunks/chunk-G4IE4ICJ.js +0 -497
- package/dist/chunks/chunk-G6C6QC7L.js +0 -84
- package/dist/chunks/chunk-G7IT6XWR.js +0 -199
- package/dist/chunks/chunk-G7S55UUS.js +0 -936
- package/dist/chunks/chunk-GBQOERBH.js +0 -146
- package/dist/chunks/chunk-GD2H562T.js +0 -104
- package/dist/chunks/chunk-GEXTXLJP.js +0 -41
- package/dist/chunks/chunk-GFGN6YY5.js +0 -106
- package/dist/chunks/chunk-GFLFHGJV.js +0 -23
- package/dist/chunks/chunk-GHMQDIFV.js +0 -330
- package/dist/chunks/chunk-GI6VHSXD.js +0 -77
- package/dist/chunks/chunk-GIISEEJJ.js +0 -238
- package/dist/chunks/chunk-GJ5F65EX.js +0 -156
- package/dist/chunks/chunk-GKKFPM6X.js +0 -92
- package/dist/chunks/chunk-GM5ZNBHQ.js +0 -97
- package/dist/chunks/chunk-GMDABRSN.js +0 -23
- package/dist/chunks/chunk-GMVLAIIR.js +0 -1403
- package/dist/chunks/chunk-GSF2X47K.js +0 -79
- package/dist/chunks/chunk-GT7PDC3J.js +0 -33
- package/dist/chunks/chunk-GYWDH6G4.js +0 -139
- package/dist/chunks/chunk-GZEY2D6V.js +0 -149
- package/dist/chunks/chunk-H2NNSV5J.js +0 -23
- package/dist/chunks/chunk-H35QETQP.js +0 -202
- package/dist/chunks/chunk-H3LS5MX3.js +0 -274
- package/dist/chunks/chunk-H5FFU4UG.js +0 -447
- package/dist/chunks/chunk-H5ICDMMM.js +0 -170
- package/dist/chunks/chunk-H6MZJEQF.js +0 -95
- package/dist/chunks/chunk-H75SQ6Y5.js +0 -55
- package/dist/chunks/chunk-H7RQGWWK.js +0 -63
- package/dist/chunks/chunk-HCKWXTU5.js +0 -166
- package/dist/chunks/chunk-HCU3WSZG.js +0 -166
- package/dist/chunks/chunk-HDA3ATYO.js +0 -188
- package/dist/chunks/chunk-HEQ4EUD4.js +0 -293
- package/dist/chunks/chunk-HGA4HE4M.js +0 -358
- package/dist/chunks/chunk-HJANFW4S.js +0 -103
- package/dist/chunks/chunk-HJFT5JRV.js +0 -152
- package/dist/chunks/chunk-HJL3EDLJ.js +0 -53
- package/dist/chunks/chunk-HL3E7SSO.js +0 -422
- package/dist/chunks/chunk-HMCTAY6T.js +0 -217
- package/dist/chunks/chunk-HMHVEAGL.js +0 -101
- package/dist/chunks/chunk-HMXXQ7TT.js +0 -70
- package/dist/chunks/chunk-HNRR5U7K.js +0 -2157
- package/dist/chunks/chunk-HNYH3NRH.js +0 -45
- package/dist/chunks/chunk-HO7OFDFJ.js +0 -89
- package/dist/chunks/chunk-HOQMSD2H.js +0 -462
- package/dist/chunks/chunk-HPY7TPW3.js +0 -1469
- package/dist/chunks/chunk-HRELDBKM.js +0 -195
- package/dist/chunks/chunk-HRYQQLVO.js +0 -81
- package/dist/chunks/chunk-HS5KZ3ZZ.js +0 -172
- package/dist/chunks/chunk-HSXPECBU.js +0 -122
- package/dist/chunks/chunk-HSZVEDC3.js +0 -126
- package/dist/chunks/chunk-HT3W2HNP.js +0 -48
- package/dist/chunks/chunk-HTUXBXCF.js +0 -159
- package/dist/chunks/chunk-HVFZQXA6.js +0 -97
- package/dist/chunks/chunk-HWMHNKSY.js +0 -107
- package/dist/chunks/chunk-HWYBE4M4.js +0 -146
- package/dist/chunks/chunk-HX5KBVFE.js +0 -33
- package/dist/chunks/chunk-HZ3WNTON.js +0 -169
- package/dist/chunks/chunk-HZPD2ZQJ.js +0 -23
- package/dist/chunks/chunk-I3TDIZML.js +0 -72
- package/dist/chunks/chunk-I5VCWMBK.js +0 -106
- package/dist/chunks/chunk-I6O2LZQE.js +0 -62
- package/dist/chunks/chunk-I6RIHRRK.js +0 -138
- package/dist/chunks/chunk-I7JYYIPN.js +0 -44
- package/dist/chunks/chunk-I7LCMSYZ.js +0 -889
- package/dist/chunks/chunk-I7PBIWJ6.js +0 -92
- package/dist/chunks/chunk-I7ULYRSR.js +0 -164
- package/dist/chunks/chunk-IAU2YVYZ.js +0 -77
- package/dist/chunks/chunk-IB4IQ4SI.js +0 -113
- package/dist/chunks/chunk-IBRBCIMQ.js +0 -311
- package/dist/chunks/chunk-ICMPO5O3.js +0 -13709
- package/dist/chunks/chunk-IECUKWTE.js +0 -202
- package/dist/chunks/chunk-IF4GAIV3.js +0 -196
- package/dist/chunks/chunk-IG2XC2GI.js +0 -105
- package/dist/chunks/chunk-IGONEHQ7.js +0 -91
- package/dist/chunks/chunk-IH56SCIU.js +0 -165
- package/dist/chunks/chunk-IINXTNRN.js +0 -299
- package/dist/chunks/chunk-IIW5H2EE.js +0 -66
- package/dist/chunks/chunk-IK2PR6JZ.js +0 -112
- package/dist/chunks/chunk-IMVMGEZF.js +0 -90
- package/dist/chunks/chunk-IN4HE3PU.js +0 -131
- package/dist/chunks/chunk-INM3OYYN.js +0 -177
- package/dist/chunks/chunk-IOKN2D43.js +0 -112
- package/dist/chunks/chunk-IPOBAYSK.js +0 -160
- package/dist/chunks/chunk-IRQX6FZ4.js +0 -368
- package/dist/chunks/chunk-IRRKACZ3.js +0 -1307
- package/dist/chunks/chunk-ISCHAVP7.js +0 -63
- package/dist/chunks/chunk-ISEQVKBP.js +0 -106
- package/dist/chunks/chunk-ISSKF7BJ.js +0 -1941
- package/dist/chunks/chunk-ITFJP5AD.js +0 -277
- package/dist/chunks/chunk-IY52XFZU.js +0 -104
- package/dist/chunks/chunk-IYTFT6OK.js +0 -147
- package/dist/chunks/chunk-IYTLXGI3.js +0 -225
- package/dist/chunks/chunk-IZZXEQMB.js +0 -165
- package/dist/chunks/chunk-J2RGM5XI.js +0 -225
- package/dist/chunks/chunk-J47BOPBO.js +0 -290
- package/dist/chunks/chunk-J4R2E3OK.js +0 -42
- package/dist/chunks/chunk-J56FXQXJ.js +0 -228
- package/dist/chunks/chunk-JAWVGYLF.js +0 -98
- package/dist/chunks/chunk-JCF7EG7F.js +0 -23
- package/dist/chunks/chunk-JCWFMJEU.js +0 -224
- package/dist/chunks/chunk-JE7BO66S.js +0 -181
- package/dist/chunks/chunk-JEM5VUCE.js +0 -48
- package/dist/chunks/chunk-JGZN5QXB.js +0 -162
- package/dist/chunks/chunk-JH4O6I24.js +0 -249
- package/dist/chunks/chunk-JJ3XFGQE.js +0 -136
- package/dist/chunks/chunk-JL4FXIVF.js +0 -250
- package/dist/chunks/chunk-JLOSL4XN.js +0 -368
- package/dist/chunks/chunk-JN5JTWNX.js +0 -163
- package/dist/chunks/chunk-JNIDAYYL.js +0 -30
- package/dist/chunks/chunk-JPSR23P4.js +0 -89
- package/dist/chunks/chunk-JPTZV4EH.js +0 -111
- package/dist/chunks/chunk-JQ5LORDZ.js +0 -96
- package/dist/chunks/chunk-JQLZA2PV.js +0 -97
- package/dist/chunks/chunk-JQT7J4TW.js +0 -114
- package/dist/chunks/chunk-JRBLFHB4.js +0 -198
- package/dist/chunks/chunk-JRYTBPV4.js +0 -52
- package/dist/chunks/chunk-JTGSJYFH.js +0 -23
- package/dist/chunks/chunk-JUUJIWDT.js +0 -251
- package/dist/chunks/chunk-JV4VDMBC.js +0 -174
- package/dist/chunks/chunk-JVKENITP.js +0 -263
- package/dist/chunks/chunk-JW7PHFEF.js +0 -55
- package/dist/chunks/chunk-JXRJU3UF.js +0 -214
- package/dist/chunks/chunk-JXTKRIK3.js +0 -118
- package/dist/chunks/chunk-JY2ZU2ZV.js +0 -36
- package/dist/chunks/chunk-JZ7TP4QT.js +0 -152
- package/dist/chunks/chunk-K2MTTVNE.js +0 -96
- package/dist/chunks/chunk-K2TNSTX2.js +0 -250
- package/dist/chunks/chunk-K3RZVCO3.js +0 -128
- package/dist/chunks/chunk-K4MT2UK4.js +0 -224
- package/dist/chunks/chunk-KCLOORAK.js +0 -104
- package/dist/chunks/chunk-KDGTM4LK.js +0 -77
- package/dist/chunks/chunk-KGHZMHGX.js +0 -392
- package/dist/chunks/chunk-KHH5RMRK.js +0 -36
- package/dist/chunks/chunk-KIQI3TX7.js +0 -212
- package/dist/chunks/chunk-KIQLNK46.js +0 -81
- package/dist/chunks/chunk-KKBJU4K4.js +0 -81
- package/dist/chunks/chunk-KKZ6EGZ7.js +0 -121
- package/dist/chunks/chunk-KL2FWSI5.js +0 -272
- package/dist/chunks/chunk-KLZHTI3B.js +0 -115
- package/dist/chunks/chunk-KMPAWITY.js +0 -414
- package/dist/chunks/chunk-KMX63QZI.js +0 -30
- package/dist/chunks/chunk-KP4CCBLJ.js +0 -90
- package/dist/chunks/chunk-KPC57F55.js +0 -194
- package/dist/chunks/chunk-KPJ2Z6O5.js +0 -221
- package/dist/chunks/chunk-KU7FEUAM.js +0 -94
- package/dist/chunks/chunk-KUM5LIU7.js +0 -305
- package/dist/chunks/chunk-KWVYYB6U.js +0 -23
- package/dist/chunks/chunk-KXR4232D.js +0 -54
- package/dist/chunks/chunk-KY4T5DGE.js +0 -209
- package/dist/chunks/chunk-KY5F67U5.js +0 -45
- package/dist/chunks/chunk-KZALDYUU.js +0 -105
- package/dist/chunks/chunk-L3E6YCSH.js +0 -69
- package/dist/chunks/chunk-L3UUPDRG.js +0 -133
- package/dist/chunks/chunk-L7H23LJ4.js +0 -123
- package/dist/chunks/chunk-LAH4N2ZA.js +0 -297
- package/dist/chunks/chunk-LBPZGRP3.js +0 -152
- package/dist/chunks/chunk-LDGKJDN7.js +0 -396
- package/dist/chunks/chunk-LDWRPP4H.js +0 -23
- package/dist/chunks/chunk-LEJXURQE.js +0 -345
- package/dist/chunks/chunk-LEQY5TQG.js +0 -108
- package/dist/chunks/chunk-LEUNRXO6.js +0 -138
- package/dist/chunks/chunk-LGWGLBNF.js +0 -240
- package/dist/chunks/chunk-LNGN26BZ.js +0 -128
- package/dist/chunks/chunk-LNLO2KMJ.js +0 -139
- package/dist/chunks/chunk-LO7BSVMW.js +0 -344
- package/dist/chunks/chunk-LO7EQDXP.js +0 -86
- package/dist/chunks/chunk-LOPGRSHW.js +0 -255
- package/dist/chunks/chunk-LOYHIXV3.js +0 -80
- package/dist/chunks/chunk-LOZFU3PF.js +0 -95
- package/dist/chunks/chunk-LPCDJCBW.js +0 -102
- package/dist/chunks/chunk-LQVC65D7.js +0 -407
- package/dist/chunks/chunk-LR5OHBL6.js +0 -39
- package/dist/chunks/chunk-LULYM6A2.js +0 -112
- package/dist/chunks/chunk-LVHAXBM6.js +0 -1574
- package/dist/chunks/chunk-LVT6ABHQ.js +0 -87
- package/dist/chunks/chunk-LXF3H3AL.js +0 -74
- package/dist/chunks/chunk-LXFATODZ.js +0 -33
- package/dist/chunks/chunk-LXGHSKWL.js +0 -480
- package/dist/chunks/chunk-LXIEC2UX.js +0 -140
- package/dist/chunks/chunk-LZOBZ6ZH.js +0 -191
- package/dist/chunks/chunk-LZXAK5DD.js +0 -155
- package/dist/chunks/chunk-M4AWMJSN.js +0 -122
- package/dist/chunks/chunk-M4LAIJHP.js +0 -399
- package/dist/chunks/chunk-M4LH7ZS3.js +0 -443
- package/dist/chunks/chunk-M67EM63M.js +0 -177
- package/dist/chunks/chunk-MACRMHCT.js +0 -1349
- package/dist/chunks/chunk-MALOKHY6.js +0 -197
- package/dist/chunks/chunk-MBGDA3GO.js +0 -94
- package/dist/chunks/chunk-MEWVLI3L.js +0 -262
- package/dist/chunks/chunk-MFDY7ZRQ.js +0 -23
- package/dist/chunks/chunk-MFYSRSPL.js +0 -84
- package/dist/chunks/chunk-MGSFCHYN.js +0 -410
- package/dist/chunks/chunk-MHHWA7UZ.js +0 -178
- package/dist/chunks/chunk-MJFLCENH.js +0 -33
- package/dist/chunks/chunk-MJM7NSVH.js +0 -101
- package/dist/chunks/chunk-MKHYZ6YS.js +0 -189
- package/dist/chunks/chunk-MLFDHD2G.js +0 -149
- package/dist/chunks/chunk-MLKEFXKU.js +0 -84
- package/dist/chunks/chunk-MLU4SFSB.js +0 -135
- package/dist/chunks/chunk-MN457QZG.js +0 -358
- package/dist/chunks/chunk-MNCO2DAZ.js +0 -1309
- package/dist/chunks/chunk-MO2I4YX5.js +0 -167
- package/dist/chunks/chunk-MPZ73V4B.js +0 -53
- package/dist/chunks/chunk-MQKNC7KW.js +0 -189
- package/dist/chunks/chunk-MQR25M64.js +0 -33
- package/dist/chunks/chunk-MR7JNBW3.js +0 -65
- package/dist/chunks/chunk-MT3KH2JQ.js +0 -48
- package/dist/chunks/chunk-MTKPECUP.js +0 -140
- package/dist/chunks/chunk-MTWBPA6F.js +0 -165
- package/dist/chunks/chunk-MUKB4IZN.js +0 -170
- package/dist/chunks/chunk-MXKWPC6I.js +0 -351
- package/dist/chunks/chunk-MZKEZ27B.js +0 -331
- package/dist/chunks/chunk-MZPLEQRE.js +0 -41
- package/dist/chunks/chunk-N2GG2TPJ.js +0 -110
- package/dist/chunks/chunk-N2UZENT5.js +0 -135
- package/dist/chunks/chunk-N3SYB6GN.js +0 -33
- package/dist/chunks/chunk-N4LQFG6S.js +0 -107
- package/dist/chunks/chunk-N6IM4APS.js +0 -390
- package/dist/chunks/chunk-N6PGHPGF.js +0 -378
- package/dist/chunks/chunk-NASSH4ZS.js +0 -411
- package/dist/chunks/chunk-NCGQ6CTV.js +0 -84
- package/dist/chunks/chunk-NDGH2RSS.js +0 -340
- package/dist/chunks/chunk-NEKLWYW2.js +0 -41
- package/dist/chunks/chunk-NIYGNJT7.js +0 -77
- package/dist/chunks/chunk-NJ7WHEAY.js +0 -60
- package/dist/chunks/chunk-NJLCSELR.js +0 -503
- package/dist/chunks/chunk-NL7BP3OW.js +0 -23
- package/dist/chunks/chunk-NLBBW55L.js +0 -45
- package/dist/chunks/chunk-NOD5DW6Y.js +0 -598
- package/dist/chunks/chunk-NPXU7C4A.js +0 -187
- package/dist/chunks/chunk-NQURTQYE.js +0 -69
- package/dist/chunks/chunk-NSALBFDP.js +0 -80
- package/dist/chunks/chunk-NTX47HCK.js +0 -33
- package/dist/chunks/chunk-NUNRCL2R.js +0 -50
- package/dist/chunks/chunk-NVPQJKW2.js +0 -23
- package/dist/chunks/chunk-NWS6FUND.js +0 -144
- package/dist/chunks/chunk-NX7YOI72.js +0 -47
- package/dist/chunks/chunk-NZWEB6AJ.js +0 -90
- package/dist/chunks/chunk-NZYVS45N.js +0 -93
- package/dist/chunks/chunk-O4DSE743.js +0 -59
- package/dist/chunks/chunk-O7GNRUMG.js +0 -204
- package/dist/chunks/chunk-OBVU5P7Z.js +0 -109
- package/dist/chunks/chunk-OCATU5FK.js +0 -128
- package/dist/chunks/chunk-ODXP3LYN.js +0 -70
- package/dist/chunks/chunk-OEXP4C4E.js +0 -111
- package/dist/chunks/chunk-OHGURMMJ.js +0 -132
- package/dist/chunks/chunk-OJ6CANMR.js +0 -99
- package/dist/chunks/chunk-OJRGG3QG.js +0 -195
- package/dist/chunks/chunk-OL2LPXPT.js +0 -93
- package/dist/chunks/chunk-OLFZ62PC.js +0 -179
- package/dist/chunks/chunk-ONS2IHVK.js +0 -71
- package/dist/chunks/chunk-OODMD2VW.js +0 -94
- package/dist/chunks/chunk-OOHYPT5X.js +0 -139
- package/dist/chunks/chunk-OOK3XYKM.js +0 -329
- package/dist/chunks/chunk-OPAGV6XU.js +0 -146
- package/dist/chunks/chunk-OPFCCIW4.js +0 -87
- package/dist/chunks/chunk-OQYJ564C.js +0 -137
- package/dist/chunks/chunk-ORSRGIY4.js +0 -263
- package/dist/chunks/chunk-OSUSGNMR.js +0 -177
- package/dist/chunks/chunk-OTJFGA73.js +0 -84
- package/dist/chunks/chunk-OUGLZFKG.js +0 -162
- package/dist/chunks/chunk-OVHUH7DF.js +0 -157
- package/dist/chunks/chunk-OWIZMXOF.js +0 -214
- package/dist/chunks/chunk-OX3NG4PF.js +0 -120
- package/dist/chunks/chunk-OZC7MREE.js +0 -412
- package/dist/chunks/chunk-OZIPVF3W.js +0 -209
- package/dist/chunks/chunk-P26HRMIU.js +0 -23
- package/dist/chunks/chunk-P4D3WYXK.js +0 -146
- package/dist/chunks/chunk-P4WAMFBP.js +0 -366
- package/dist/chunks/chunk-P4YP5LOY.js +0 -282
- package/dist/chunks/chunk-P62L5HLR.js +0 -126
- package/dist/chunks/chunk-P7BCGDVT.js +0 -86
- package/dist/chunks/chunk-PA7OWQDU.js +0 -71
- package/dist/chunks/chunk-PABFIQD7.js +0 -110
- package/dist/chunks/chunk-PATCRKCN.js +0 -158
- package/dist/chunks/chunk-PB4CGKZJ.js +0 -97
- package/dist/chunks/chunk-PFGWL3NL.js +0 -28
- package/dist/chunks/chunk-PHAHYCYB.js +0 -105
- package/dist/chunks/chunk-PIEI623B.js +0 -112
- package/dist/chunks/chunk-PJF7ZIMX.js +0 -42
- package/dist/chunks/chunk-PJW7LTDX.js +0 -43
- package/dist/chunks/chunk-PLILZRG2.js +0 -147
- package/dist/chunks/chunk-PM2KHDZ6.js +0 -94
- package/dist/chunks/chunk-PMGMWZHL.js +0 -23
- package/dist/chunks/chunk-PMS5O533.js +0 -197
- package/dist/chunks/chunk-PP5I66SK.js +0 -728
- package/dist/chunks/chunk-PQ2GDXNL.js +0 -209
- package/dist/chunks/chunk-PQM7ZNIC.js +0 -103
- package/dist/chunks/chunk-PRIO3CUT.js +0 -220
- package/dist/chunks/chunk-PRSNWAWA.js +0 -23
- package/dist/chunks/chunk-PUZJIWGV.js +0 -110
- package/dist/chunks/chunk-PV2JJZ6W.js +0 -93
- package/dist/chunks/chunk-PV73NVRR.js +0 -115
- package/dist/chunks/chunk-PVGSZBCB.js +0 -78
- package/dist/chunks/chunk-PVHT2BLQ.js +0 -326
- package/dist/chunks/chunk-PVWAHJF3.js +0 -324
- package/dist/chunks/chunk-PVYVOSX4.js +0 -118
- package/dist/chunks/chunk-PX6LFW4Q.js +0 -106
- package/dist/chunks/chunk-PXTKPRIF.js +0 -36
- package/dist/chunks/chunk-PZ4AUBHD.js +0 -109
- package/dist/chunks/chunk-Q2VG6V2P.js +0 -45
- package/dist/chunks/chunk-Q3NUU3RD.js +0 -42
- package/dist/chunks/chunk-Q5SC2JDS.js +0 -170
- package/dist/chunks/chunk-Q7OTHHNP.js +0 -122
- package/dist/chunks/chunk-QAS4PJWC.js +0 -83
- package/dist/chunks/chunk-QASH3CP3.js +0 -49
- package/dist/chunks/chunk-QAVMQMNC.js +0 -33
- package/dist/chunks/chunk-QFAJPEG4.js +0 -156
- package/dist/chunks/chunk-QFGBZNGD.js +0 -77
- package/dist/chunks/chunk-QH5LJHQR.js +0 -45
- package/dist/chunks/chunk-QHD4KF7O.js +0 -304
- package/dist/chunks/chunk-QJDWK6NT.js +0 -94
- package/dist/chunks/chunk-QKOATXI5.js +0 -769
- package/dist/chunks/chunk-QLVK6R76.js +0 -301
- package/dist/chunks/chunk-QLXIJBXV.js +0 -124
- package/dist/chunks/chunk-QNMV3M37.js +0 -118
- package/dist/chunks/chunk-QQLVCXPQ.js +0 -92
- package/dist/chunks/chunk-QRMAPYDQ.js +0 -73
- package/dist/chunks/chunk-QS7YFTFT.js +0 -183
- package/dist/chunks/chunk-QTMRIHUU.js +0 -181
- package/dist/chunks/chunk-QURV7XZF.js +0 -104
- package/dist/chunks/chunk-QVA7AIWY.js +0 -415
- package/dist/chunks/chunk-QVETE3PD.js +0 -199
- package/dist/chunks/chunk-QVI6LZRD.js +0 -361
- package/dist/chunks/chunk-QVJT2XXZ.js +0 -218
- package/dist/chunks/chunk-QWDAOCSZ.js +0 -80
- package/dist/chunks/chunk-QWKOVKDL.js +0 -187
- package/dist/chunks/chunk-QXQCGKPP.js +0 -317
- package/dist/chunks/chunk-QYTGWXNS.js +0 -811
- package/dist/chunks/chunk-QYXMOPHV.js +0 -70
- package/dist/chunks/chunk-QZ2NPNUY.js +0 -33
- package/dist/chunks/chunk-QZEU3SC6.js +0 -115
- package/dist/chunks/chunk-QZWOLOX6.js +0 -141
- package/dist/chunks/chunk-R2H743QE.js +0 -215
- package/dist/chunks/chunk-R2O7DBTJ.js +0 -82
- package/dist/chunks/chunk-R2S4XQJJ.js +0 -51
- package/dist/chunks/chunk-R35ASKFC.js +0 -95
- package/dist/chunks/chunk-R3KIWQDR.js +0 -165
- package/dist/chunks/chunk-R5AXEOC4.js +0 -95
- package/dist/chunks/chunk-R5SPTEPZ.js +0 -239
- package/dist/chunks/chunk-R5UGKA4K.js +0 -145
- package/dist/chunks/chunk-R6Q56DE6.js +0 -216
- package/dist/chunks/chunk-R7GDIDDN.js +0 -167
- package/dist/chunks/chunk-R7R2DJJW.js +0 -215
- package/dist/chunks/chunk-R7RNMZ36.js +0 -120
- package/dist/chunks/chunk-RANWPCJ7.js +0 -130
- package/dist/chunks/chunk-RAVDKORA.js +0 -99
- package/dist/chunks/chunk-RBPT2BXN.js +0 -149
- package/dist/chunks/chunk-RDH4M2ZV.js +0 -184
- package/dist/chunks/chunk-RDYHPVXF.js +0 -78
- package/dist/chunks/chunk-RECXBB5S.js +0 -178
- package/dist/chunks/chunk-RFTEUWQT.js +0 -400
- package/dist/chunks/chunk-RGQXL55I.js +0 -142
- package/dist/chunks/chunk-RGUUY3OB.js +0 -85
- package/dist/chunks/chunk-RHLLLZS6.js +0 -75
- package/dist/chunks/chunk-RIQQUHAN.js +0 -278
- package/dist/chunks/chunk-RIUCSM7Y.js +0 -338
- package/dist/chunks/chunk-RLANKWVL.js +0 -45
- package/dist/chunks/chunk-RLLJBTGL.js +0 -176
- package/dist/chunks/chunk-RMUIEAOI.js +0 -145
- package/dist/chunks/chunk-ROHSPGHV.js +0 -345
- package/dist/chunks/chunk-ROQFHPSQ.js +0 -74
- package/dist/chunks/chunk-RRTVCJF2.js +0 -36
- package/dist/chunks/chunk-RS2PAMUE.js +0 -194
- package/dist/chunks/chunk-RSPWUICU.js +0 -23
- package/dist/chunks/chunk-RT3HGMTQ.js +0 -136
- package/dist/chunks/chunk-RTB4IG45.js +0 -159
- package/dist/chunks/chunk-RU7KYZW6.js +0 -111
- package/dist/chunks/chunk-RYC3LTGM.js +0 -366
- package/dist/chunks/chunk-S35A3V62.js +0 -151
- package/dist/chunks/chunk-S5OWCW22.js +0 -116
- package/dist/chunks/chunk-S5SGO2JO.js +0 -133
- package/dist/chunks/chunk-S6OFJMBX.js +0 -632
- package/dist/chunks/chunk-SAV6WE32.js +0 -215
- package/dist/chunks/chunk-SCSCDV2H.js +0 -961
- package/dist/chunks/chunk-SDG6HYZJ.js +0 -193
- package/dist/chunks/chunk-SDS2MAXY.js +0 -63
- package/dist/chunks/chunk-SDXUQDCY.js +0 -105
- package/dist/chunks/chunk-SE7P7Z5O.js +0 -97
- package/dist/chunks/chunk-SEFN2Z4X.js +0 -85
- package/dist/chunks/chunk-SF3KYEIT.js +0 -49
- package/dist/chunks/chunk-SFKTLRXA.js +0 -40
- package/dist/chunks/chunk-SGBO4BNJ.js +0 -684
- package/dist/chunks/chunk-SH2XR5BY.js +0 -307
- package/dist/chunks/chunk-SHP5WA3V.js +0 -176
- package/dist/chunks/chunk-SKOKBDHM.js +0 -175
- package/dist/chunks/chunk-SL6RLV6O.js +0 -61
- package/dist/chunks/chunk-SLZKNTDR.js +0 -139
- package/dist/chunks/chunk-SMSWJCNC.js +0 -206
- package/dist/chunks/chunk-SOBGG27V.js +0 -45
- package/dist/chunks/chunk-SOTDW7J5.js +0 -81
- package/dist/chunks/chunk-SRRUOBNV.js +0 -96
- package/dist/chunks/chunk-STGXU2PM.js +0 -282
- package/dist/chunks/chunk-STIVVPHK.js +0 -685
- package/dist/chunks/chunk-SUGLWWO5.js +0 -82
- package/dist/chunks/chunk-SUOTKPRN.js +0 -120
- package/dist/chunks/chunk-SXQ6VC62.js +0 -108
- package/dist/chunks/chunk-SYMOFZMZ.js +0 -139
- package/dist/chunks/chunk-SZXLM2OQ.js +0 -91
- package/dist/chunks/chunk-T2UAU6HO.js +0 -140
- package/dist/chunks/chunk-T33GGA7G.js +0 -88
- package/dist/chunks/chunk-T3MK3HBT.js +0 -266
- package/dist/chunks/chunk-T62HTJSS.js +0 -111
- package/dist/chunks/chunk-T7XMR666.js +0 -287
- package/dist/chunks/chunk-TBOJV23Z.js +0 -33
- package/dist/chunks/chunk-TECROHBX.js +0 -47
- package/dist/chunks/chunk-TF3U5BAW.js +0 -130
- package/dist/chunks/chunk-TFNH2LNZ.js +0 -187
- package/dist/chunks/chunk-TJ34W3OW.js +0 -544
- package/dist/chunks/chunk-TL4CWV63.js +0 -154
- package/dist/chunks/chunk-TNBG2BG5.js +0 -152
- package/dist/chunks/chunk-TNCW3VRK.js +0 -121
- package/dist/chunks/chunk-TNROR3JT.js +0 -200
- package/dist/chunks/chunk-TOIVBKS2.js +0 -180
- package/dist/chunks/chunk-TP3NYO4F.js +0 -247
- package/dist/chunks/chunk-TPBPC6IB.js +0 -2700
- package/dist/chunks/chunk-TQBGWWYI.js +0 -23
- package/dist/chunks/chunk-TRDOVP7P.js +0 -135
- package/dist/chunks/chunk-TSGIQXME.js +0 -251
- package/dist/chunks/chunk-TUNR2OCV.js +0 -33
- package/dist/chunks/chunk-TW5PPZ5I.js +0 -169
- package/dist/chunks/chunk-TX25XLTA.js +0 -327
- package/dist/chunks/chunk-TXWE2H4L.js +0 -260
- package/dist/chunks/chunk-TY3NYFQR.js +0 -226
- package/dist/chunks/chunk-TYNIAS3M.js +0 -655
- package/dist/chunks/chunk-TZYOYNPM.js +0 -224
- package/dist/chunks/chunk-TZZQZIS2.js +0 -265
- package/dist/chunks/chunk-U2T2IIWA.js +0 -425
- package/dist/chunks/chunk-U3CIKF4T.js +0 -150
- package/dist/chunks/chunk-U4JU6B3T.js +0 -81
- package/dist/chunks/chunk-U4MJ6PQS.js +0 -87
- package/dist/chunks/chunk-U5DTIDRA.js +0 -221
- package/dist/chunks/chunk-U5ILHIGZ.js +0 -98
- package/dist/chunks/chunk-U5PAJMZ4.js +0 -208
- package/dist/chunks/chunk-U5U6E3NS.js +0 -251
- package/dist/chunks/chunk-U6KROKVM.js +0 -106
- package/dist/chunks/chunk-U6VFJKUQ.js +0 -113
- package/dist/chunks/chunk-U6XDKVVN.js +0 -152
- package/dist/chunks/chunk-U7BUUIY6.js +0 -210
- package/dist/chunks/chunk-U7FSUXA7.js +0 -73
- package/dist/chunks/chunk-UBUFXNVN.js +0 -100
- package/dist/chunks/chunk-UHTZTACQ.js +0 -83
- package/dist/chunks/chunk-UI7OZHIW.js +0 -1393
- package/dist/chunks/chunk-UIIGEMVA.js +0 -98
- package/dist/chunks/chunk-UIJU3VUA.js +0 -118
- package/dist/chunks/chunk-ULOEHYZV.js +0 -71
- package/dist/chunks/chunk-ULYLL6JC.js +0 -100
- package/dist/chunks/chunk-UM5RU4RC.js +0 -290
- package/dist/chunks/chunk-UNXWQ6Y3.js +0 -124
- package/dist/chunks/chunk-UOV525I6.js +0 -200
- package/dist/chunks/chunk-UR3PHYCV.js +0 -172
- package/dist/chunks/chunk-UTIFOH3G.js +0 -368
- package/dist/chunks/chunk-UUXQ3KY2.js +0 -150
- package/dist/chunks/chunk-UVPXIGMD.js +0 -644
- package/dist/chunks/chunk-UXTYCHQ6.js +0 -38
- package/dist/chunks/chunk-UYFOL5YJ.js +0 -91
- package/dist/chunks/chunk-UZ73QO25.js +0 -101
- package/dist/chunks/chunk-UZEI7J2C.js +0 -80
- package/dist/chunks/chunk-UZKVCV26.js +0 -512
- package/dist/chunks/chunk-V3XLM6RR.js +0 -76
- package/dist/chunks/chunk-V7FEITC2.js +0 -179
- package/dist/chunks/chunk-V7IHBZWS.js +0 -119
- package/dist/chunks/chunk-V7QUXO2D.js +0 -179
- package/dist/chunks/chunk-VAIK5E4X.js +0 -55
- package/dist/chunks/chunk-VAL3CL4N.js +0 -33
- package/dist/chunks/chunk-VAYC2TLL.js +0 -80
- package/dist/chunks/chunk-VBVMC52H.js +0 -169
- package/dist/chunks/chunk-VCHWP6XZ.js +0 -201
- package/dist/chunks/chunk-VF3FGDGA.js +0 -108
- package/dist/chunks/chunk-VFJFSUG6.js +0 -103
- package/dist/chunks/chunk-VFMU6G66.js +0 -161
- package/dist/chunks/chunk-VG7W6RJQ.js +0 -174
- package/dist/chunks/chunk-VH7XWFJJ.js +0 -342
- package/dist/chunks/chunk-VIAVGJ4V.js +0 -98
- package/dist/chunks/chunk-VIWKA3KE.js +0 -45
- package/dist/chunks/chunk-VJ5UVXUY.js +0 -176
- package/dist/chunks/chunk-VK3WQ4UH.js +0 -256
- package/dist/chunks/chunk-VKUYUFS6.js +0 -129
- package/dist/chunks/chunk-VKYRQM6T.js +0 -62
- package/dist/chunks/chunk-VMGY4RRW.js +0 -82
- package/dist/chunks/chunk-VP3EJKL4.js +0 -33
- package/dist/chunks/chunk-VP5CKGTN.js +0 -115
- package/dist/chunks/chunk-VPNPZY7M.js +0 -342
- package/dist/chunks/chunk-VPQZ5PJ6.js +0 -140
- package/dist/chunks/chunk-VQATM2TQ.js +0 -76
- package/dist/chunks/chunk-VQDBHVVL.js +0 -88
- package/dist/chunks/chunk-VQOHISIN.js +0 -23
- package/dist/chunks/chunk-VRCVFRGP.js +0 -327
- package/dist/chunks/chunk-VRN566SB.js +0 -102
- package/dist/chunks/chunk-VRUAANLH.js +0 -180
- package/dist/chunks/chunk-VSFKT2DN.js +0 -173
- package/dist/chunks/chunk-VTPFU467.js +0 -50
- package/dist/chunks/chunk-VU6UO72B.js +0 -122
- package/dist/chunks/chunk-VWK6AUD7.js +0 -133
- package/dist/chunks/chunk-VXK243PR.js +0 -157
- package/dist/chunks/chunk-VY6ODM2B.js +0 -106
- package/dist/chunks/chunk-VYQA4LCV.js +0 -160
- package/dist/chunks/chunk-VZKTBLIV.js +0 -90
- package/dist/chunks/chunk-W36NJPGC.js +0 -75
- package/dist/chunks/chunk-W3772N3G.js +0 -79
- package/dist/chunks/chunk-W4FCSJIP.js +0 -282
- package/dist/chunks/chunk-W4YJV5LZ.js +0 -121
- package/dist/chunks/chunk-W4ZN2J56.js +0 -33
- package/dist/chunks/chunk-W6HKGUY2.js +0 -106
- package/dist/chunks/chunk-W6UKCZIS.js +0 -282
- package/dist/chunks/chunk-WA563HT7.js +0 -100
- package/dist/chunks/chunk-WALOS5AB.js +0 -131
- package/dist/chunks/chunk-WBMPI3ND.js +0 -163
- package/dist/chunks/chunk-WBX2UQ7M.js +0 -273
- package/dist/chunks/chunk-WCBJYNV6.js +0 -33
- package/dist/chunks/chunk-WCLZKB65.js +0 -266
- package/dist/chunks/chunk-WDQQ5CPW.js +0 -117
- package/dist/chunks/chunk-WEEMHFZB.js +0 -123
- package/dist/chunks/chunk-WGHNA54L.js +0 -346
- package/dist/chunks/chunk-WGKR27NC.js +0 -71
- package/dist/chunks/chunk-WI6AHNP5.js +0 -362
- package/dist/chunks/chunk-WIRPEMDA.js +0 -331
- package/dist/chunks/chunk-WJH3ETRG.js +0 -23
- package/dist/chunks/chunk-WKEXRJLY.js +0 -150
- package/dist/chunks/chunk-WPODV6UG.js +0 -153
- package/dist/chunks/chunk-WQBQF27W.js +0 -262
- package/dist/chunks/chunk-WRYYR37Z.js +0 -78
- package/dist/chunks/chunk-WSDJEARC.js +0 -128
- package/dist/chunks/chunk-WU32ZFVN.js +0 -23
- package/dist/chunks/chunk-WUUAFTJ2.js +0 -23
- package/dist/chunks/chunk-WWA3DBWM.js +0 -177
- package/dist/chunks/chunk-WWCD575U.js +0 -147
- package/dist/chunks/chunk-WXHCP7BM.js +0 -255
- package/dist/chunks/chunk-WXWEU7ZM.js +0 -303
- package/dist/chunks/chunk-WYQIOOMQ.js +0 -230
- package/dist/chunks/chunk-WYVTT26O.js +0 -147
- package/dist/chunks/chunk-WZDV5HUO.js +0 -127
- package/dist/chunks/chunk-WZHMG4YA.js +0 -97
- package/dist/chunks/chunk-WZOCJ6VQ.js +0 -117
- package/dist/chunks/chunk-X26EXXCO.js +0 -339
- package/dist/chunks/chunk-X3N27YVO.js +0 -104
- package/dist/chunks/chunk-X6ADT6M4.js +0 -86
- package/dist/chunks/chunk-X7FCUK3N.js +0 -289
- package/dist/chunks/chunk-XAS42DVL.js +0 -151
- package/dist/chunks/chunk-XAY6KAYG.js +0 -147
- package/dist/chunks/chunk-XBAUJWLY.js +0 -156
- package/dist/chunks/chunk-XH37MF3T.js +0 -49
- package/dist/chunks/chunk-XIP4COE3.js +0 -118
- package/dist/chunks/chunk-XIS4BOP6.js +0 -559
- package/dist/chunks/chunk-XKLNLBGB.js +0 -261
- package/dist/chunks/chunk-XKNZIBTL.js +0 -88
- package/dist/chunks/chunk-XKZT7LIM.js +0 -86
- package/dist/chunks/chunk-XLX4OYPQ.js +0 -55
- package/dist/chunks/chunk-XNA2J2HI.js +0 -147
- package/dist/chunks/chunk-XNEPTSDF.js +0 -91
- package/dist/chunks/chunk-XQKFPGVG.js +0 -23
- package/dist/chunks/chunk-XR6AGJPA.js +0 -198
- package/dist/chunks/chunk-XRWUSEJB.js +0 -270
- package/dist/chunks/chunk-XTREU6DZ.js +0 -33
- package/dist/chunks/chunk-XTTK63M6.js +0 -209
- package/dist/chunks/chunk-XU6APSJY.js +0 -146
- package/dist/chunks/chunk-XUIUJMKK.js +0 -45
- package/dist/chunks/chunk-XV7ELKEF.js +0 -231
- package/dist/chunks/chunk-XVT7SRWC.js +0 -54
- package/dist/chunks/chunk-XWNLY2HN.js +0 -95
- package/dist/chunks/chunk-XWQT2ABY.js +0 -131
- package/dist/chunks/chunk-XWRUV2JT.js +0 -277
- package/dist/chunks/chunk-XYQVLBIR.js +0 -97
- package/dist/chunks/chunk-Y2LMWQPD.js +0 -262
- package/dist/chunks/chunk-Y2MRQRZE.js +0 -218
- package/dist/chunks/chunk-Y33TAMLK.js +0 -188
- package/dist/chunks/chunk-Y4277BM4.js +0 -361
- package/dist/chunks/chunk-Y45MTFIJ.js +0 -45
- package/dist/chunks/chunk-Y4XK3KPK.js +0 -102
- package/dist/chunks/chunk-Y7H53747.js +0 -151
- package/dist/chunks/chunk-YADLETFO.js +0 -95
- package/dist/chunks/chunk-YAMIKXHC.js +0 -204
- package/dist/chunks/chunk-YCBQG47I.js +0 -23
- package/dist/chunks/chunk-YDIMK22W.js +0 -200
- package/dist/chunks/chunk-YDMX5FUE.js +0 -293
- package/dist/chunks/chunk-YEHKXJYK.js +0 -410
- package/dist/chunks/chunk-YEWIMSEZ.js +0 -33
- package/dist/chunks/chunk-YF4SUEUE.js +0 -224
- package/dist/chunks/chunk-YG3RY5SS.js +0 -77
- package/dist/chunks/chunk-YGHOJTME.js +0 -198
- package/dist/chunks/chunk-YGJRWZDM.js +0 -358
- package/dist/chunks/chunk-YGTHEV5S.js +0 -39
- package/dist/chunks/chunk-YJX2PSLM.js +0 -36
- package/dist/chunks/chunk-YKGEG75Q.js +0 -141
- package/dist/chunks/chunk-YLTYO5EA.js +0 -305
- package/dist/chunks/chunk-YMASKGZ2.js +0 -164
- package/dist/chunks/chunk-YMLCJ3HS.js +0 -105
- package/dist/chunks/chunk-YMUPNGP7.js +0 -33
- package/dist/chunks/chunk-YPE6OIHV.js +0 -115
- package/dist/chunks/chunk-YPKIQA7C.js +0 -87
- package/dist/chunks/chunk-YPO7F5YD.js +0 -163
- package/dist/chunks/chunk-YRH3RRGU.js +0 -100
- package/dist/chunks/chunk-YTKEQD6T.js +0 -242
- package/dist/chunks/chunk-YU5JTSZ5.js +0 -73
- package/dist/chunks/chunk-YU7BIAYP.js +0 -122
- package/dist/chunks/chunk-YWL4MB4L.js +0 -242
- package/dist/chunks/chunk-YX7QOI6R.js +0 -130
- package/dist/chunks/chunk-YXIKVHHQ.js +0 -166
- package/dist/chunks/chunk-YXNFFTGL.js +0 -181
- package/dist/chunks/chunk-YZE3Z7X6.js +0 -134
- package/dist/chunks/chunk-YZX6K5PG.js +0 -100
- package/dist/chunks/chunk-Z2HGY4SA.js +0 -149
- package/dist/chunks/chunk-Z3AV4XVE.js +0 -23
- package/dist/chunks/chunk-Z4ASPVXT.js +0 -337
- package/dist/chunks/chunk-Z5K3UJ4O.js +0 -304
- package/dist/chunks/chunk-Z64JJO3J.js +0 -422
- package/dist/chunks/chunk-Z6OM7QZ2.js +0 -213
- package/dist/chunks/chunk-ZBO5PPKU.js +0 -75
- package/dist/chunks/chunk-ZDQSYCUM.js +0 -141
- package/dist/chunks/chunk-ZE43LZE3.js +0 -446
- package/dist/chunks/chunk-ZE7BZM5W.js +0 -45
- package/dist/chunks/chunk-ZEEVQGBN.js +0 -279
- package/dist/chunks/chunk-ZGFUAUK7.js +0 -198
- package/dist/chunks/chunk-ZGGCCDG4.js +0 -248
- package/dist/chunks/chunk-ZGRLG3ZR.js +0 -52
- package/dist/chunks/chunk-ZHPPGVZW.js +0 -33
- package/dist/chunks/chunk-ZJHSWHLJ.js +0 -68
- package/dist/chunks/chunk-ZJOW3LJX.js +0 -487
- package/dist/chunks/chunk-ZKY2GFLT.js +0 -646
- package/dist/chunks/chunk-ZMNNS4P4.js +0 -23
- package/dist/chunks/chunk-ZMWNS5NE.js +0 -112
- package/dist/chunks/chunk-ZNAPD3RJ.js +0 -479
- package/dist/chunks/chunk-ZNQAYRCF.js +0 -77
- package/dist/chunks/chunk-ZNRES6AZ.js +0 -70
- package/dist/chunks/chunk-ZOFQ2H6G.js +0 -23
- package/dist/chunks/chunk-ZQ2DPJPV.js +0 -130
- package/dist/chunks/chunk-ZQG47PHF.js +0 -209
- package/dist/chunks/chunk-ZSEC5PGI.js +0 -106
- package/dist/chunks/chunk-ZSJYDZ3W.js +0 -192
- package/dist/chunks/chunk-ZT3URD3F.js +0 -512
- package/dist/chunks/chunk-ZUEQUHLT.js +0 -23
- package/dist/chunks/chunk-ZUZXSLPX.js +0 -112
- package/dist/chunks/chunk-ZWTIXQ3T.js +0 -190
- package/dist/chunks/chunk-ZX43XFOT.js +0 -105
- package/dist/chunks/chunk-ZZJRUSYE.js +0 -80
- package/dist/chunks/client-4N6MFREV.js +0 -31
- package/dist/chunks/client-D4IZEUXH.js +0 -168
- package/dist/chunks/client-NHWF45E4.js +0 -47
- package/dist/chunks/client-actions-DETOPCWG.js +0 -168
- package/dist/chunks/components-B35FIEWY.js +0 -76
- package/dist/chunks/dangerous-B7EETYMG.js +0 -123
- package/dist/chunks/delete-current-file-KXQHGGGM.js +0 -162
- package/dist/chunks/document-library-VLM7KM6D.js +0 -64
- package/dist/chunks/editor-seams-SXJYMXLU.js +0 -182
- package/dist/chunks/editor-store-HQ2T3LNI.js +0 -147
- package/dist/chunks/export-OEJ6KDLM.js +0 -67
- package/dist/chunks/export-watermark-R7SDVEEG.js +0 -156
- package/dist/chunks/eyedropper-6HJZLAEK.js +0 -354
- package/dist/chunks/generate-media-H25DONAV.js +0 -255
- package/dist/chunks/headless-MGU4KE2X.js +0 -213
- package/dist/chunks/host-JCIPYKIR.js +0 -181
- package/dist/chunks/host-Z453ZB26.js +0 -244
- package/dist/chunks/import-TSJKWS4Y.js +0 -702
- package/dist/chunks/import-merge-J77TJILI.js +0 -39
- package/dist/chunks/instances-BOMVB7FC.js +0 -77
- package/dist/chunks/integrations-FBRYS2TO.js +0 -125
- package/dist/chunks/invariants-RD47TEAV.js +0 -65
- package/dist/chunks/kit-modules-5INNHER4.js +0 -18
- package/dist/chunks/libraries-UJVEWIW5.js +0 -310
- package/dist/chunks/library-previews-5UHVJMMK.js +0 -206
- package/dist/chunks/live-MUAYF2ES.js +0 -321
- package/dist/chunks/lottie-32XACVT6.js +0 -89
- package/dist/chunks/media-tool-YZFYOV6H.js +0 -236
- package/dist/chunks/new-file-Z6IKQKPH.js +0 -139
- package/dist/chunks/next-commerce-E3K2J4QK.js +0 -72
- package/dist/chunks/page-thumbnails-SRZHQB3D.js +0 -137
- package/dist/chunks/pdf-6565S2KA.js +0 -1216
- package/dist/chunks/pdf-import-OL6ZIORT.js +0 -370
- package/dist/chunks/plan-VZLCPXC7.js +0 -85
- package/dist/chunks/player-check-XDDICE53.js +0 -117
- package/dist/chunks/plugin-YTIZLWXE.js +0 -130
- package/dist/chunks/plugin-import-XLLCXBY5.js +0 -690
- package/dist/chunks/pptx-OXDXAF6I.js +0 -307
- package/dist/chunks/presence-7L7ZKWMN.js +0 -136
- package/dist/chunks/preview-media-FXDZ42SJ.js +0 -129
- package/dist/chunks/project-3GINUPD3.js +0 -1599
- package/dist/chunks/publish-site-DN6AGEGC.js +0 -166
- package/dist/chunks/publish-store-P5UR5OIC.js +0 -99
- package/dist/chunks/raster-actions-ODBYDBUW.js +0 -232
- package/dist/chunks/reference-images-US22EFSJ.js +0 -62
- package/dist/chunks/resolvers-BIKAK42N.js +0 -149
- package/dist/chunks/review-kits-SWRLTPRO.js +0 -41
- package/dist/chunks/runner-XVR6BGC5.js +0 -3545
- package/dist/chunks/shader-preview-J2CDSOXW.js +0 -746
- package/dist/chunks/sound-Y2QYUE4Q.js +0 -54
- package/dist/chunks/store-NZMYEX33.js +0 -233
- package/dist/chunks/storefront-3E54IPXK.js +0 -334
- package/dist/chunks/storefront-prepare-JE7H6N22.js +0 -33
- package/dist/chunks/stress-document-AKB46ZXD.js +0 -126
- package/dist/chunks/svg-export-VUEMFV2D.js +0 -82
- package/dist/chunks/svg-place-J354Z3N5.js +0 -44
- package/dist/chunks/sync-4SQ4ESUJ.js +0 -161
- package/dist/chunks/tabs-WDLZJCQ4.js +0 -319
- package/dist/chunks/team-BUBC2G4C.js +0 -47
- package/dist/chunks/team-client-JF7JCE6B.js +0 -158
- package/dist/chunks/templates-ZPD5MKWF.js +0 -183
- package/dist/chunks/tools-CPWGXG7I.js +0 -37
- package/dist/chunks/tree-U5SIPMQY.js +0 -82
- package/dist/chunks/ui-commands-AQTMKT24.js +0 -190
- package/dist/chunks/use-5FEDQ7XT.js +0 -49
- package/dist/chunks/versions-SSJPXNMF.js +0 -319
- package/dist/chunks/video-A5ORCB63.js +0 -82
- package/dist/chunks/web-C4ETLN35.js +0 -184
- /package/dist/chunks/{chunk-JH567OGC.js → chunk-HJEQXDFE.js} +0 -0
|
@@ -1,3545 +0,0 @@
|
|
|
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-HNRR5U7K.js";
|
|
29
|
-
import "./chunk-WSE5LYFW.js";
|
|
30
|
-
import {
|
|
31
|
-
registerBuiltinTools
|
|
32
|
-
} from "./chunk-PFGWL3NL.js";
|
|
33
|
-
import {
|
|
34
|
-
registerDangerousCommands
|
|
35
|
-
} from "./chunk-HL3E7SSO.js";
|
|
36
|
-
import "./chunk-7S446KEI.js";
|
|
37
|
-
import {
|
|
38
|
-
editBlockReason,
|
|
39
|
-
editorToolContext
|
|
40
|
-
} from "./chunk-SGBO4BNJ.js";
|
|
41
|
-
import "./chunk-ZT3URD3F.js";
|
|
42
|
-
import "./chunk-HOZP2UPY.js";
|
|
43
|
-
import "./chunk-ICMPO5O3.js";
|
|
44
|
-
import "./chunk-2BVEMMNS.js";
|
|
45
|
-
import "./chunk-GTQXQLFP.js";
|
|
46
|
-
import "./chunk-JD2L6XOS.js";
|
|
47
|
-
import "./chunk-I7LCMSYZ.js";
|
|
48
|
-
import {
|
|
49
|
-
buildDesignContext,
|
|
50
|
-
joinWithin
|
|
51
|
-
} from "./chunk-YTV4HO2X.js";
|
|
52
|
-
import "./chunk-T5HEL2BJ.js";
|
|
53
|
-
import "./chunk-R3UXIN2A.js";
|
|
54
|
-
import "./chunk-AOZYQTBI.js";
|
|
55
|
-
import "./chunk-MWYE73HL.js";
|
|
56
|
-
import {
|
|
57
|
-
allTools,
|
|
58
|
-
getTool,
|
|
59
|
-
runTool,
|
|
60
|
-
toolSpecs
|
|
61
|
-
} from "./chunk-E6AUMZZW.js";
|
|
62
|
-
import {
|
|
63
|
-
external_exports
|
|
64
|
-
} from "./chunk-CFBLW5PB.js";
|
|
65
|
-
import {
|
|
66
|
-
provideAgentCapability
|
|
67
|
-
} from "./chunk-G7IT6XWR.js";
|
|
68
|
-
import {
|
|
69
|
-
defineCommand
|
|
70
|
-
} from "./chunk-5UOQJFFB.js";
|
|
71
|
-
import "./chunk-JQ5LORDZ.js";
|
|
72
|
-
import "./chunk-ISSKF7BJ.js";
|
|
73
|
-
import "./chunk-IV3GBU5C.js";
|
|
74
|
-
import "./chunk-SCSCDV2H.js";
|
|
75
|
-
import "./chunk-TYPEU6TO.js";
|
|
76
|
-
import "./chunk-TUZWJTOB.js";
|
|
77
|
-
import "./chunk-ZGAS4W6T.js";
|
|
78
|
-
import "./chunk-DN72JWUJ.js";
|
|
79
|
-
import "./chunk-33XJYP2J.js";
|
|
80
|
-
import "./chunk-6NCNSWZ4.js";
|
|
81
|
-
import "./chunk-KCLOORAK.js";
|
|
82
|
-
import "./chunk-VJ5UVXUY.js";
|
|
83
|
-
import "./chunk-4ELQAM2V.js";
|
|
84
|
-
import {
|
|
85
|
-
HYPERY_PAYMENT_SOURCE_HEADER,
|
|
86
|
-
paymentSourceHeaders
|
|
87
|
-
} from "./chunk-JW7PHFEF.js";
|
|
88
|
-
import {
|
|
89
|
-
aiAvailability,
|
|
90
|
-
effectiveChatModel,
|
|
91
|
-
useAiStore
|
|
92
|
-
} from "./chunk-SMWJL5MM.js";
|
|
93
|
-
import "./chunk-LATDLMOM.js";
|
|
94
|
-
import "./chunk-UKPTMVIJ.js";
|
|
95
|
-
import "./chunk-OOMIFAU3.js";
|
|
96
|
-
import "./chunk-VJ5YVKWD.js";
|
|
97
|
-
import "./chunk-ADJ6WSMY.js";
|
|
98
|
-
import "./chunk-KQLUTEMA.js";
|
|
99
|
-
import "./chunk-D3NLYIE6.js";
|
|
100
|
-
import "./chunk-MVBQZIAW.js";
|
|
101
|
-
import "./chunk-IXRXUUA2.js";
|
|
102
|
-
import "./chunk-MGWKMB6Y.js";
|
|
103
|
-
import {
|
|
104
|
-
activeHyperyTeamId
|
|
105
|
-
} from "./chunk-U7BUUIY6.js";
|
|
106
|
-
import "./chunk-MSRTWLAS.js";
|
|
107
|
-
import "./chunk-U7FSUXA7.js";
|
|
108
|
-
import "./chunk-6RH5MQLP.js";
|
|
109
|
-
import "./chunk-TSLQYSHG.js";
|
|
110
|
-
import "./chunk-H63AUCWS.js";
|
|
111
|
-
import "./chunk-RRMMUPCK.js";
|
|
112
|
-
import "./chunk-YDIMK22W.js";
|
|
113
|
-
import {
|
|
114
|
-
useEditorStore
|
|
115
|
-
} from "./chunk-A4BGZGX6.js";
|
|
116
|
-
import "./chunk-6633JFGM.js";
|
|
117
|
-
import "./chunk-EC4ATWIU.js";
|
|
118
|
-
import "./chunk-7MBYRDVK.js";
|
|
119
|
-
import "./chunk-HLBEULMH.js";
|
|
120
|
-
import "./chunk-RQNHUSYI.js";
|
|
121
|
-
import "./chunk-EFPISYGJ.js";
|
|
122
|
-
import "./chunk-QHTS5WOH.js";
|
|
123
|
-
import "./chunk-YUSN6GS3.js";
|
|
124
|
-
import "./chunk-DAKWJ7J7.js";
|
|
125
|
-
import "./chunk-NEKLWYW2.js";
|
|
126
|
-
import "./chunk-GTBGE3I7.js";
|
|
127
|
-
import "./chunk-Z72MVDHR.js";
|
|
128
|
-
import "./chunk-UIPZNU4Z.js";
|
|
129
|
-
import "./chunk-2M6JX22M.js";
|
|
130
|
-
import "./chunk-ROPUNK45.js";
|
|
131
|
-
import "./chunk-T7QDHMCG.js";
|
|
132
|
-
import "./chunk-YJ3CZBLN.js";
|
|
133
|
-
import "./chunk-6Z5AJCNP.js";
|
|
134
|
-
import {
|
|
135
|
-
create
|
|
136
|
-
} from "./chunk-PQRUKDSA.js";
|
|
137
|
-
import "./chunk-KAM5W5Y6.js";
|
|
138
|
-
import "./chunk-FPLJGUKE.js";
|
|
139
|
-
import "./chunk-SE5OKGIE.js";
|
|
140
|
-
import "./chunk-SGAGNJ57.js";
|
|
141
|
-
import "./chunk-7TLOFSS3.js";
|
|
142
|
-
import {
|
|
143
|
-
HYPERY_GATEWAY_URL,
|
|
144
|
-
accessToken
|
|
145
|
-
} from "./chunk-TGFJ66JW.js";
|
|
146
|
-
import "./chunk-KGHZMHGX.js";
|
|
147
|
-
import {
|
|
148
|
-
ToolError,
|
|
149
|
-
registerCommand
|
|
150
|
-
} from "./chunk-MNB2CUXZ.js";
|
|
151
|
-
import "./chunk-NHFOVK5O.js";
|
|
152
|
-
import "./chunk-IINXTNRN.js";
|
|
153
|
-
import "./chunk-MGSFCHYN.js";
|
|
154
|
-
import "./chunk-TL2MIDJ5.js";
|
|
155
|
-
import "./chunk-ISCHAVP7.js";
|
|
156
|
-
import "./chunk-54GRMC7C.js";
|
|
157
|
-
import "./chunk-RMDQWUVW.js";
|
|
158
|
-
import "./chunk-3VL6R2HQ.js";
|
|
159
|
-
import "./chunk-V3XLM6RR.js";
|
|
160
|
-
import "./chunk-7ESEOPUS.js";
|
|
161
|
-
import "./chunk-G7S55UUS.js";
|
|
162
|
-
import "./chunk-2RO66KTQ.js";
|
|
163
|
-
import "./chunk-G4KKQ2Y7.js";
|
|
164
|
-
import "./chunk-KRXMDAER.js";
|
|
165
|
-
import "./chunk-NBA6MWZM.js";
|
|
166
|
-
import "./chunk-MZPLEQRE.js";
|
|
167
|
-
import "./chunk-4C3CKCL4.js";
|
|
168
|
-
import "./chunk-YMU3BFV2.js";
|
|
169
|
-
import "./chunk-MKHYZ6YS.js";
|
|
170
|
-
import "./chunk-7WFR6ZMM.js";
|
|
171
|
-
import "./chunk-R2O7DBTJ.js";
|
|
172
|
-
import "./chunk-QKOATXI5.js";
|
|
173
|
-
import "./chunk-EXF7MNRT.js";
|
|
174
|
-
import "./chunk-R6Q56DE6.js";
|
|
175
|
-
import "./chunk-WAQ2AWE3.js";
|
|
176
|
-
import "./chunk-67IAFBRY.js";
|
|
177
|
-
import "./chunk-KCD22ZUJ.js";
|
|
178
|
-
import "./chunk-SF5MZWIF.js";
|
|
179
|
-
import "./chunk-P25IKCIO.js";
|
|
180
|
-
import "./chunk-CV4WHH6L.js";
|
|
181
|
-
import "./chunk-FFRJQKIW.js";
|
|
182
|
-
import "./chunk-HG753ZYD.js";
|
|
183
|
-
import "./chunk-YWL4MB4L.js";
|
|
184
|
-
import "./chunk-EZIT4KKG.js";
|
|
185
|
-
import "./chunk-U2K7UPED.js";
|
|
186
|
-
import "./chunk-P6MUFBV6.js";
|
|
187
|
-
import "./chunk-CPXOW7D4.js";
|
|
188
|
-
import "./chunk-42HNMTLQ.js";
|
|
189
|
-
import "./chunk-22CPO5WB.js";
|
|
190
|
-
import "./chunk-SUGLWWO5.js";
|
|
191
|
-
import "./chunk-XFJVQ3P3.js";
|
|
192
|
-
import "./chunk-PC572MZR.js";
|
|
193
|
-
import "./chunk-WOX76E3J.js";
|
|
194
|
-
import "./chunk-QENTLDS5.js";
|
|
195
|
-
import "./chunk-AVWA3JAF.js";
|
|
196
|
-
import "./chunk-PQWFMCXH.js";
|
|
197
|
-
import "./chunk-KUIP6CW4.js";
|
|
198
|
-
import "./chunk-DES66H2D.js";
|
|
199
|
-
import "./chunk-KODCBCND.js";
|
|
200
|
-
import "./chunk-NYXP56IG.js";
|
|
201
|
-
import "./chunk-7YJ77SX6.js";
|
|
202
|
-
import "./chunk-LUUAVJIH.js";
|
|
203
|
-
import "./chunk-RYSUFB3H.js";
|
|
204
|
-
import "./chunk-Y5YW5GND.js";
|
|
205
|
-
import "./chunk-7HEWP6MC.js";
|
|
206
|
-
import "./chunk-WO7Y3BRH.js";
|
|
207
|
-
import "./chunk-V3YXRSIA.js";
|
|
208
|
-
import "./chunk-5NUTPMIZ.js";
|
|
209
|
-
import "./chunk-VCHWP6XZ.js";
|
|
210
|
-
import "./chunk-3Z2MEPJN.js";
|
|
211
|
-
import "./chunk-QYTGWXNS.js";
|
|
212
|
-
import "./chunk-5IQC4ENP.js";
|
|
213
|
-
import "./chunk-6JRJGIFS.js";
|
|
214
|
-
import "./chunk-A77WHG75.js";
|
|
215
|
-
import "./chunk-NYD4YCVL.js";
|
|
216
|
-
import "./chunk-WWB7HM7B.js";
|
|
217
|
-
import "./chunk-5EH5OPG6.js";
|
|
218
|
-
import "./chunk-TPBPC6IB.js";
|
|
219
|
-
import "./chunk-QCQ2CESQ.js";
|
|
220
|
-
import "./chunk-JSNNF2UM.js";
|
|
221
|
-
import "./chunk-OYY7AYTZ.js";
|
|
222
|
-
import "./chunk-5AWLZLGN.js";
|
|
223
|
-
import "./chunk-GGHJUTY7.js";
|
|
224
|
-
import "./chunk-ZMAAXGOF.js";
|
|
225
|
-
import "./chunk-HFE5U7QP.js";
|
|
226
|
-
import "./chunk-QPDAF2SY.js";
|
|
227
|
-
import {
|
|
228
|
-
AI_LIMITS,
|
|
229
|
-
init_limits,
|
|
230
|
-
str
|
|
231
|
-
} from "./chunk-AHWLD4OL.js";
|
|
232
|
-
import "./chunk-OVUR5THH.js";
|
|
233
|
-
import "./chunk-VP33K4DH.js";
|
|
234
|
-
import "./chunk-JNX3VVZO.js";
|
|
235
|
-
import "./chunk-JBQHANUR.js";
|
|
236
|
-
import "./chunk-5IJRQC3E.js";
|
|
237
|
-
import "./chunk-TCHE45D2.js";
|
|
238
|
-
import "./chunk-RGM6NOCK.js";
|
|
239
|
-
import "./chunk-E6CMB3N5.js";
|
|
240
|
-
import "./chunk-HELLR3AX.js";
|
|
241
|
-
import "./chunk-OC5QDUZR.js";
|
|
242
|
-
import "./chunk-VKYRQM6T.js";
|
|
243
|
-
import "./chunk-UITF3NN6.js";
|
|
244
|
-
import "./chunk-V6MAMUWO.js";
|
|
245
|
-
import {
|
|
246
|
-
init_define_POPCRAFT_COMPONENT_IDS
|
|
247
|
-
} from "./chunk-2BY2WVRN.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-MUAYF2ES.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
|
-
};
|