@popcraft/kit 0.25.0 → 0.26.0
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-45ZGYKTC.js → agent-NTEAEZBN.js} +1 -1
- package/dist/chunks/{build-K6QBTLT7.js → build-W5O2ZVN7.js} +2 -2
- package/dist/chunks/{builtin-ZS3HJHZL.js → builtin-KX2SGDND.js} +3 -3
- package/dist/chunks/{check-template-RZ7IO333.js → check-template-B2KKE6BW.js} +2 -2
- package/dist/chunks/{chunk-ZKHYC3QO.js → chunk-37WES5PM.js} +2 -2
- package/dist/chunks/chunk-45JABNLR.js +161 -0
- package/dist/chunks/chunk-4OGILN7Y.js +141 -0
- package/dist/chunks/{chunk-63X37RCC.js → chunk-5NWVUAWR.js} +4 -4
- package/dist/chunks/{chunk-QREG6HEK.js → chunk-67SLLJJB.js} +40 -40
- package/dist/chunks/chunk-6DV5JZ5M.js +121 -0
- package/dist/chunks/chunk-7Q67MXXL.js +140 -0
- package/dist/chunks/{chunk-R5CW4CNP.js → chunk-A6GPFR5O.js} +11 -11
- package/dist/chunks/chunk-AISWLDDO.js +895 -0
- package/dist/chunks/{chunk-ADZXK6SM.js → chunk-AQGECTRJ.js} +1 -1
- package/dist/chunks/chunk-ASWWZNTY.js +130 -0
- package/dist/chunks/chunk-BNEFANT2.js +134 -0
- package/dist/chunks/{chunk-REJO7GXO.js → chunk-CFEKYNGQ.js} +2 -2
- package/dist/chunks/{chunk-5HG4LWF5.js → chunk-D4HEDPVN.js} +161 -0
- package/dist/chunks/chunk-DRESZDOP.js +130 -0
- package/dist/chunks/{chunk-3W2MSVJA.js → chunk-EBLHS2EG.js} +5 -5
- package/dist/chunks/chunk-EHTLT6XJ.js +131 -0
- package/dist/chunks/{chunk-2AQK4IIV.js → chunk-EVFG2K4L.js} +1 -1
- package/dist/chunks/{chunk-6TJIEERG.js → chunk-F4NTIOTT.js} +26 -26
- package/dist/chunks/chunk-FC7B22QS.js +150 -0
- package/dist/chunks/{chunk-V6COW3DB.js → chunk-G6MIC23V.js} +1 -1
- package/dist/chunks/{chunk-4QBQ4RAA.js → chunk-GODXMHO3.js} +4 -4
- package/dist/chunks/chunk-GT22XGDH.js +152 -0
- package/dist/chunks/chunk-HL4M53ZR.js +143 -0
- package/dist/chunks/{chunk-MPI6SCA7.js → chunk-IDL5KKIC.js} +5 -5
- package/dist/chunks/{chunk-HR7HCFPX.js → chunk-IM6HORNC.js} +5 -5
- package/dist/chunks/{chunk-UVMU6CXR.js → chunk-IWCZDFXL.js} +17 -17
- package/dist/chunks/{chunk-OCSLBM6W.js → chunk-JXAJ6OST.js} +1 -1
- package/dist/chunks/{chunk-5WGMPGKY.js → chunk-KS7DVWDB.js} +1 -1
- package/dist/chunks/chunk-NHDBQ4G7.js +137 -0
- package/dist/chunks/chunk-NKPU5TF2.js +103 -0
- package/dist/chunks/chunk-NO734F3F.js +146 -0
- package/dist/chunks/{chunk-ASWAIYNC.js → chunk-NR2SFSJU.js} +3 -3
- package/dist/chunks/{chunk-CJY4TNOS.js → chunk-O3BEBIDN.js} +3 -1
- package/dist/chunks/{chunk-UDO3ZU5T.js → chunk-OR6HMJRM.js} +1 -1
- package/dist/chunks/chunk-OTICJQ4T.js +267 -0
- package/dist/chunks/chunk-PWZZRGWI.js +141 -0
- package/dist/chunks/{chunk-AE6S2M2B.js → chunk-QX4U3VTU.js} +25 -25
- package/dist/chunks/{chunk-TRUFIU5W.js → chunk-R3YD6VL6.js} +3 -3
- package/dist/chunks/{chunk-YSYZW4VZ.js → chunk-SFPM3UJA.js} +7 -7
- package/dist/chunks/chunk-SNXQM4UO.js +115 -0
- package/dist/chunks/chunk-T3LV66CQ.js +139 -0
- package/dist/chunks/chunk-TDGIO2S7.js +145 -0
- package/dist/chunks/chunk-TFNV2UP4.js +87 -0
- package/dist/chunks/chunk-UJZXKOTP.js +136 -0
- package/dist/chunks/{chunk-QAVWMRRM.js → chunk-V5HI55XO.js} +2 -2
- package/dist/chunks/chunk-VVNPBBPL.js +174 -0
- package/dist/chunks/{chunk-22RNC42G.js → chunk-YHA45NK5.js} +1 -1
- package/dist/chunks/{chunk-27EVM272.js → chunk-YPMT4Y4N.js} +2 -2
- package/dist/chunks/chunk-YRSDFRCX.js +122 -0
- package/dist/chunks/chunk-ZNARVSMD.js +140 -0
- package/dist/chunks/{chunk-3DWOQ4LW.js → chunk-ZTBKAGBN.js} +2 -2
- package/dist/chunks/{client-6DUSRTZG.js → client-25NJXQWL.js} +1 -1
- package/dist/chunks/{client-XYPBNSQ7.js → client-7AQTKZHV.js} +2 -2
- package/dist/chunks/{client-TRFNJJHQ.js → client-LWBTUXQK.js} +2 -2
- package/dist/chunks/{client-actions-SSUZUEG7.js → client-actions-3HIRRSOL.js} +4 -4
- package/dist/chunks/{dangerous-UX4DHJ7U.js → dangerous-XJOHEWL6.js} +3 -3
- package/dist/chunks/{editor-seams-V7ZP7XH3.js → editor-seams-4DREZRTT.js} +9 -9
- package/dist/chunks/{editor-store-OIHZT244.js → editor-store-C4VWC23J.js} +1 -1
- package/dist/chunks/{export-watermark-4NAP5RVM.js → export-watermark-OKGRZNOU.js} +5 -5
- package/dist/chunks/{eyedropper-QXEY7LVL.js → eyedropper-WZYSTUTM.js} +1 -1
- package/dist/chunks/{generate-media-JAEHWNF6.js → generate-media-DFSHOPOI.js} +2 -2
- package/dist/chunks/{host-IKFYVZS7.js → host-4ZE7SIWR.js} +6 -6
- package/dist/chunks/{integrations-U5X2BHVK.js → integrations-LPC35FKX.js} +1 -1
- package/dist/chunks/{kit-modules-BAUMECYQ.js → kit-modules-BAKTDLOZ.js} +1 -1
- package/dist/chunks/{libraries-Q5TCHWGI.js → libraries-ACERXG2O.js} +5 -5
- package/dist/chunks/{live-4XQEGNLA.js → live-ZIVBFX3G.js} +3 -3
- package/dist/chunks/{media-tool-OSQR45HY.js → media-tool-2ZPIQKJD.js} +1 -1
- package/dist/chunks/{new-file-VVLWHEJ4.js → new-file-XS3KCMGM.js} +3 -3
- package/dist/chunks/{plugin-44ZW5UEP.js → plugin-6RNMUP5I.js} +2 -2
- package/dist/chunks/{plugin-import-3ISLDX7T.js → plugin-import-UC5BHZFE.js} +13 -13
- package/dist/chunks/{presence-WVU4OIUA.js → presence-TLDOMBPD.js} +2 -2
- package/dist/chunks/{project-EG7XFEJU.js → project-NMPK4R5M.js} +1 -1
- package/dist/chunks/{publish-site-WFIX42D3.js → publish-site-R46ZILSS.js} +6 -6
- package/dist/chunks/{publish-store-6BS7OIP4.js → publish-store-MIPHEDLV.js} +4 -4
- package/dist/chunks/{raster-actions-37XUQSVZ.js → raster-actions-7EI5THLB.js} +1 -1
- package/dist/chunks/{runner-HZ7MU6ER.js → runner-I66TTKKZ.js} +16 -16
- package/dist/chunks/{store-PHWBXKNY.js → store-7WMR3JKP.js} +5 -5
- package/dist/chunks/{sync-IJNKHQRF.js → sync-OFINS45Q.js} +5 -5
- package/dist/chunks/{tabs-G6OTEGA5.js → tabs-PEH6VX3X.js} +8 -8
- package/dist/chunks/{team-M2EN4JT5.js → team-GGW3O32G.js} +1 -1
- package/dist/chunks/{tools-WDFCY4BH.js → tools-TKCA46ZS.js} +2 -2
- package/dist/chunks/{ui-commands-QHFGR33P.js → ui-commands-6K4PYKU5.js} +11 -11
- package/dist/chunks/{versions-S7COCZSQ.js → versions-KHRNQFGF.js} +5 -5
- package/dist/index.js +4 -4
- package/dist/seed/files.json +1 -1
- package/dist/templates/count.js +1 -1
- package/dist/templates/index.js +125 -101
- package/dist/templates/index.json +756 -0
- package/dist/templates/motion/landing-hero/index.js +4 -4
- package/dist/templates/motion/launch-trailer/document.js +125 -101
- package/dist/templates/motion/launch-trailer/index.js +4 -4
- package/dist/templates/motion/launch-trailer/scenes.js +3 -3
- package/dist/templates/motion/template-wall.js +2 -2
- package/dist/templates/print/holidays-christmas-church-newsletter.js +94 -0
- package/dist/templates/print/holidays-christmas-eve-invitation.js +94 -0
- package/dist/templates/print/holidays-christmas-gift-tags.js +94 -0
- package/dist/templates/print/holidays-diwali-party-invitation.js +95 -0
- package/dist/templates/print/holidays-easter-activity-sheet.js +94 -0
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +94 -0
- package/dist/templates/print/holidays-eid-dinner-invitation.js +95 -0
- package/dist/templates/print/holidays-eid-gift-tags.js +94 -0
- package/dist/templates/print/holidays-halloween-party-invitation.js +95 -0
- package/dist/templates/print/holidays-halloween-treat-labels.js +94 -0
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +94 -0
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +94 -0
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +94 -0
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +95 -0
- package/dist/templates/print/holidays-new-years-eve-poster.js +94 -0
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +94 -0
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +94 -0
- package/dist/templates/print/holidays-valentines-dinner-menu.js +94 -0
- package/dist/templates/saas/email-decks.js +2 -2
- package/dist/templates/saas/index.js +37 -37
- package/dist/templates/saas/launch-kit.js +2 -2
- package/dist/templates/saas/launch-video.js +2 -2
- package/dist/templates/saas/stores.js +2 -2
- package/dist/templates/saas/style-bento.js +2 -2
- package/dist/templates/saas/style-dark.js +2 -2
- package/dist/templates/saas/style-editorial.js +2 -2
- package/dist/templates/saas/style-gradient.js +2 -2
- package/dist/templates/saas/style-pastel.js +2 -2
- package/dist/templates/saas/style-swiss.js +2 -2
- package/dist/templates/slideshow/index.js +3 -3
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +96 -0
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +96 -0
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +96 -0
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +96 -0
- package/dist/templates/social/holidays-valentines-florist-post.js +96 -0
- package/dist/templates/themes/black-friday-coupons.js +2 -2
- package/dist/templates/themes/black-friday-neon.js +2 -2
- package/dist/templates/themes/blueprint.js +2 -2
- package/dist/templates/themes/broadsheet.js +2 -2
- package/dist/templates/themes/cyberpunk.js +2 -2
- package/dist/templates/themes/departure-board.js +2 -2
- package/dist/templates/themes/festival-presale-family-a.js +2 -2
- package/dist/templates/themes/festival-presale-family-b.js +2 -2
- package/dist/templates/themes/holidays-shared.js +172 -0
- package/dist/templates/themes/holidays.js +107 -1
- package/dist/templates/themes/index.js +72 -48
- package/dist/templates/themes/lunar-new-year.js +2 -2
- package/dist/templates/themes/noir.js +2 -2
- package/dist/templates/themes/psychedelic.js +2 -2
- package/dist/templates/themes/space-opera.js +2 -2
- package/dist/templates/themes/studio.js +3 -3
- package/dist/templates/themes/tour-tickets.js +2 -2
- package/dist/templates/themes/vaporwave.js +2 -2
- package/package.json +1 -1
- package/src/templates/print/holidays-christmas-church-newsletter.ts +246 -0
- package/src/templates/print/holidays-christmas-eve-invitation.ts +121 -0
- package/src/templates/print/holidays-christmas-gift-tags.ts +117 -0
- package/src/templates/print/holidays-diwali-party-invitation.ts +98 -0
- package/src/templates/print/holidays-easter-activity-sheet.ts +108 -0
- package/src/templates/print/holidays-easter-egg-hunt-flyer.ts +118 -0
- package/src/templates/print/holidays-eid-dinner-invitation.ts +104 -0
- package/src/templates/print/holidays-eid-gift-tags.ts +94 -0
- package/src/templates/print/holidays-halloween-party-invitation.ts +101 -0
- package/src/templates/print/holidays-halloween-treat-labels.ts +86 -0
- package/src/templates/print/holidays-halloween-trunk-or-treat-poster.ts +148 -0
- package/src/templates/print/holidays-hanukkah-activity-sheet.ts +112 -0
- package/src/templates/print/holidays-hanukkah-party-invitation.ts +112 -0
- package/src/templates/print/holidays-lunar-new-year-banquet-menu.ts +110 -0
- package/src/templates/print/holidays-new-years-eve-poster.ts +117 -0
- package/src/templates/print/holidays-thanksgiving-dinner-menu.ts +110 -0
- package/src/templates/print/holidays-thanksgiving-place-cards.ts +80 -0
- package/src/templates/print/holidays-valentines-dinner-menu.ts +95 -0
- package/src/templates/social/holidays-diwali-sweet-shop-post.ts +121 -0
- package/src/templates/social/holidays-lunar-new-year-bakery-post.ts +110 -0
- package/src/templates/social/holidays-new-years-eve-shop-hours.ts +118 -0
- package/src/templates/social/holidays-thanksgiving-pie-orders-post.ts +115 -0
- package/src/templates/social/holidays-valentines-florist-post.ts +102 -0
- package/src/templates/themes/holidays-shared.ts +903 -0
- package/src/templates/themes/holidays.ts +24 -1
- package/types/templates/src/print/holidays-christmas-church-newsletter.d.ts +2 -0
- package/types/templates/src/print/holidays-christmas-eve-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-christmas-gift-tags.d.ts +2 -0
- package/types/templates/src/print/holidays-diwali-party-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-easter-activity-sheet.d.ts +2 -0
- package/types/templates/src/print/holidays-easter-egg-hunt-flyer.d.ts +2 -0
- package/types/templates/src/print/holidays-eid-dinner-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-eid-gift-tags.d.ts +2 -0
- package/types/templates/src/print/holidays-halloween-party-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-halloween-treat-labels.d.ts +2 -0
- package/types/templates/src/print/holidays-halloween-trunk-or-treat-poster.d.ts +2 -0
- package/types/templates/src/print/holidays-hanukkah-activity-sheet.d.ts +2 -0
- package/types/templates/src/print/holidays-hanukkah-party-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-lunar-new-year-banquet-menu.d.ts +2 -0
- package/types/templates/src/print/holidays-new-years-eve-poster.d.ts +2 -0
- package/types/templates/src/print/holidays-thanksgiving-dinner-menu.d.ts +2 -0
- package/types/templates/src/print/holidays-thanksgiving-place-cards.d.ts +2 -0
- package/types/templates/src/print/holidays-valentines-dinner-menu.d.ts +2 -0
- package/types/templates/src/social/holidays-diwali-sweet-shop-post.d.ts +2 -0
- package/types/templates/src/social/holidays-lunar-new-year-bakery-post.d.ts +2 -0
- package/types/templates/src/social/holidays-new-years-eve-shop-hours.d.ts +2 -0
- package/types/templates/src/social/holidays-thanksgiving-pie-orders-post.d.ts +2 -0
- package/types/templates/src/social/holidays-valentines-florist-post.d.ts +2 -0
- package/types/templates/src/themes/holidays-shared.d.ts +374 -0
- package/dist/chunks/chunk-OWZLREWX.js +0 -18
- package/dist/chunks/{chunk-IFJTWD4O.js → chunk-2R3MZKA2.js} +3 -3
- package/dist/chunks/{chunk-P67L32AF.js → chunk-3DBNMCGN.js} +3 -3
- package/dist/chunks/{chunk-DZDTVMUO.js → chunk-3VHOXVMF.js} +3 -3
- package/dist/chunks/{chunk-2PQI2R5L.js → chunk-64RMGOTG.js} +0 -0
- package/dist/chunks/{chunk-7BDCMMSD.js → chunk-6Y46SDFE.js} +3 -3
- package/dist/chunks/{chunk-6VCQ4ZEG.js → chunk-AFARXTNQ.js} +3 -3
- package/dist/chunks/{chunk-ITSYENCT.js → chunk-BI3M4RUH.js} +3 -3
- package/dist/chunks/{chunk-25FM5JIR.js → chunk-BP7CHO7K.js} +3 -3
- package/dist/chunks/{chunk-D22534DX.js → chunk-DPTFZDOS.js} +3 -3
- package/dist/chunks/{chunk-JWLR6K62.js → chunk-FNUM5W3W.js} +3 -3
- package/dist/chunks/{chunk-JPH6HOYU.js → chunk-HJQU5POV.js} +3 -3
- package/dist/chunks/{chunk-HQYZ4URA.js → chunk-IJ65QZLL.js} +3 -3
- package/dist/chunks/{chunk-47VVF5TM.js → chunk-INT2OPPY.js} +8 -8
- package/dist/chunks/{chunk-AYVAHMWQ.js → chunk-JPMLUHZX.js} +3 -3
- package/dist/chunks/{chunk-LFYNAAAQ.js → chunk-LMRTRVPC.js} +3 -3
- package/dist/chunks/{chunk-HJIMF4NA.js → chunk-NGMCQZA6.js} +3 -3
- package/dist/chunks/{chunk-B3ASV6KS.js → chunk-PQBYL7AI.js} +3 -3
- package/dist/chunks/{chunk-NHXNUDC5.js → chunk-QD4QORNR.js} +3 -3
- package/dist/chunks/{chunk-P6TPDLAF.js → chunk-S3C6L5KF.js} +3 -3
- package/dist/chunks/{chunk-TIRPXUK2.js → chunk-S7L2D7NH.js} +3 -3
- package/dist/chunks/{chunk-QFGFR5FQ.js → chunk-TYOOL27R.js} +3 -3
- package/dist/chunks/{chunk-32V4D45K.js → chunk-TYW7EXV6.js} +3 -3
- package/dist/chunks/{chunk-3QIDCP4M.js → chunk-VOEAQIQT.js} +3 -3
- package/dist/chunks/{chunk-ASVDOX62.js → chunk-VVUQG4ME.js} +3 -3
- package/dist/chunks/{chunk-ZXZ22FKF.js → chunk-XTWKSMJC.js} +3 -3
- package/dist/chunks/{chunk-6NG5K7WN.js → chunk-YHEMML5Q.js} +3 -3
- package/dist/chunks/{chunk-MVFPEBMY.js → chunk-ZKRSVNY4.js} +3 -3
|
@@ -60,12 +60,12 @@ init_define_POPCRAFT_COMPONENT_IDS();
|
|
|
60
60
|
var isStorefront = (doc) => Object.values(doc.collections ?? {}).some((c) => c.schema === "commerce.product");
|
|
61
61
|
async function deployOpenStore(doc, pageId, o = {}) {
|
|
62
62
|
const [{ openFileKey }, { uploadActiveDocument }, cloud, { storefrontInputs }, { nextCommerceFiles }, { bytesOf }] = await Promise.all([
|
|
63
|
-
import("./publish-site-
|
|
64
|
-
import("./sync-
|
|
65
|
-
import("./integrations-
|
|
63
|
+
import("./publish-site-R46ZILSS.js"),
|
|
64
|
+
import("./sync-OFINS45Q.js"),
|
|
65
|
+
import("./integrations-LPC35FKX.js"),
|
|
66
66
|
import("./storefront-prepare-N6SPU7SQ.js"),
|
|
67
67
|
import("./next-commerce-VOBWFSX6.js"),
|
|
68
|
-
import("./project-
|
|
68
|
+
import("./project-NMPK4R5M.js")
|
|
69
69
|
]);
|
|
70
70
|
if (!isStorefront(doc)) throw new Error("This file is not a storefront: set a collection to Store products in Collections, or start from a Storefronts template.");
|
|
71
71
|
const env = doc.site?.env ?? {};
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
updateActiveThread,
|
|
20
20
|
updateMessage,
|
|
21
21
|
useAgentStore
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GODXMHO3.js";
|
|
23
23
|
import {
|
|
24
24
|
ALL_TOOLS,
|
|
25
25
|
SUBAGENT_FRAMING,
|
|
@@ -30,22 +30,22 @@ import {
|
|
|
30
30
|
import "./chunk-474GISCF.js";
|
|
31
31
|
import {
|
|
32
32
|
registerBuiltinTools
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZTBKAGBN.js";
|
|
34
34
|
import {
|
|
35
35
|
registerDangerousCommands
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-A6GPFR5O.js";
|
|
37
|
+
import "./chunk-NR2SFSJU.js";
|
|
38
|
+
import "./chunk-67SLLJJB.js";
|
|
39
39
|
import "./chunk-3OKZ57OD.js";
|
|
40
40
|
import "./chunk-FENVY7S5.js";
|
|
41
41
|
import "./chunk-U57RZGPM.js";
|
|
42
42
|
import {
|
|
43
43
|
editBlockReason,
|
|
44
44
|
editorToolContext
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-EBLHS2EG.js";
|
|
46
46
|
import "./chunk-5JFDKTA6.js";
|
|
47
47
|
import "./chunk-4UQLA7H3.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-V5HI55XO.js";
|
|
49
49
|
import {
|
|
50
50
|
buildDesignContext,
|
|
51
51
|
joinWithin
|
|
@@ -58,13 +58,13 @@ import {
|
|
|
58
58
|
getTool,
|
|
59
59
|
runTool,
|
|
60
60
|
toolSpecs
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-AQGECTRJ.js";
|
|
62
62
|
import {
|
|
63
63
|
external_exports
|
|
64
64
|
} from "./chunk-EZVFNLBJ.js";
|
|
65
65
|
import {
|
|
66
66
|
provideAgentCapability
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-R3YD6VL6.js";
|
|
68
68
|
import {
|
|
69
69
|
defineCommand
|
|
70
70
|
} from "./chunk-XPLI2SES.js";
|
|
@@ -82,32 +82,32 @@ import "./chunk-PELUYQR3.js";
|
|
|
82
82
|
import "./chunk-AZKWGJHU.js";
|
|
83
83
|
import {
|
|
84
84
|
HYPERY_TEAM_HEADER
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-O3BEBIDN.js";
|
|
86
86
|
import {
|
|
87
87
|
aiAvailability,
|
|
88
88
|
effectiveChatModel,
|
|
89
89
|
useAiStore
|
|
90
90
|
} from "./chunk-6XGGSKFB.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-5NWVUAWR.js";
|
|
92
92
|
import "./chunk-SPBIZ4KY.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-YPMT4Y4N.js";
|
|
94
94
|
import "./chunk-J2SFBGA7.js";
|
|
95
95
|
import "./chunk-F6NIUSR5.js";
|
|
96
96
|
import "./chunk-IRAU45LR.js";
|
|
97
97
|
import "./chunk-F6KBJTPS.js";
|
|
98
98
|
import {
|
|
99
99
|
activeHyperyTeamId
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-EVFG2K4L.js";
|
|
101
101
|
import "./chunk-XFB6EZVY.js";
|
|
102
102
|
import "./chunk-F672DUYT.js";
|
|
103
103
|
import "./chunk-N4MSAAPR.js";
|
|
104
104
|
import "./chunk-ODM43UFC.js";
|
|
105
105
|
import "./chunk-P3MJ3HNQ.js";
|
|
106
106
|
import "./chunk-CRGE3FVX.js";
|
|
107
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-JXAJ6OST.js";
|
|
108
108
|
import {
|
|
109
109
|
useEditorStore
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-IM6HORNC.js";
|
|
111
111
|
import "./chunk-LU6OMVWV.js";
|
|
112
112
|
import "./chunk-KO3O3ZPA.js";
|
|
113
113
|
import "./chunk-VEHJYALZ.js";
|
|
@@ -1152,7 +1152,7 @@ async function runTurn(text, mentions = []) {
|
|
|
1152
1152
|
const abort = new AbortController();
|
|
1153
1153
|
useAgentStore.setState({ running: true, abort, error: null });
|
|
1154
1154
|
const ctx = editorToolContext(abort.signal);
|
|
1155
|
-
const { createDesignPreview, DESIGN_TOOL } = await import("./live-
|
|
1155
|
+
const { createDesignPreview, DESIGN_TOOL } = await import("./live-ZIVBFX3G.js");
|
|
1156
1156
|
const preview = createDesignPreview();
|
|
1157
1157
|
registerTurnTools({
|
|
1158
1158
|
readOnly: !!editBlockReason(),
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
updateActiveThread,
|
|
47
47
|
updateMessage,
|
|
48
48
|
useAgentStore
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-GODXMHO3.js";
|
|
50
50
|
import "./chunk-4FL63S7V.js";
|
|
51
51
|
import "./chunk-474GISCF.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-V5HI55XO.js";
|
|
53
53
|
import "./chunk-DF7VNOSI.js";
|
|
54
54
|
import "./chunk-EZVFNLBJ.js";
|
|
55
55
|
import "./chunk-RYJWIHJJ.js";
|
|
@@ -62,16 +62,16 @@ import "./chunk-Q3LHD6Z5.js";
|
|
|
62
62
|
import "./chunk-4CKI3O4M.js";
|
|
63
63
|
import "./chunk-GGZ2QH2M.js";
|
|
64
64
|
import "./chunk-AZKWGJHU.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-O3BEBIDN.js";
|
|
66
66
|
import "./chunk-6XGGSKFB.js";
|
|
67
67
|
import "./chunk-F6NIUSR5.js";
|
|
68
68
|
import "./chunk-IRAU45LR.js";
|
|
69
69
|
import "./chunk-F6KBJTPS.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-EVFG2K4L.js";
|
|
71
71
|
import "./chunk-F672DUYT.js";
|
|
72
72
|
import "./chunk-N4MSAAPR.js";
|
|
73
73
|
import "./chunk-ODM43UFC.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-IM6HORNC.js";
|
|
75
75
|
import "./chunk-LU6OMVWV.js";
|
|
76
76
|
import "./chunk-KO3O3ZPA.js";
|
|
77
77
|
import "./chunk-VEHJYALZ.js";
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
uploadLocalDocument,
|
|
21
21
|
uploadMediaNow,
|
|
22
22
|
withDocUploadLock
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5NWVUAWR.js";
|
|
24
24
|
import "./chunk-SPBIZ4KY.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-YPMT4Y4N.js";
|
|
26
26
|
import "./chunk-J2SFBGA7.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-EVFG2K4L.js";
|
|
28
28
|
import "./chunk-XFB6EZVY.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-JXAJ6OST.js";
|
|
30
|
+
import "./chunk-IM6HORNC.js";
|
|
31
31
|
import "./chunk-LU6OMVWV.js";
|
|
32
32
|
import "./chunk-KO3O3ZPA.js";
|
|
33
33
|
import "./chunk-VEHJYALZ.js";
|
|
@@ -6,13 +6,13 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
createNewFileOrExplain
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-YPMT4Y4N.js";
|
|
10
|
+
import "./chunk-EVFG2K4L.js";
|
|
11
11
|
import "./chunk-XFB6EZVY.js";
|
|
12
12
|
import {
|
|
13
13
|
isUnsavedPlaceholder,
|
|
14
14
|
useEditorStore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IM6HORNC.js";
|
|
16
16
|
import "./chunk-LU6OMVWV.js";
|
|
17
17
|
import "./chunk-KO3O3ZPA.js";
|
|
18
18
|
import "./chunk-VEHJYALZ.js";
|
|
@@ -130,12 +130,12 @@ init_define_POPCRAFT_COMPONENT_IDS();
|
|
|
130
130
|
var fail = (error) => ({ ok: false, error });
|
|
131
131
|
async function run(id, params, approved) {
|
|
132
132
|
const [{ runEditorCommand }, registry, { surfaceFor }, { registerDangerousCommands }, { currentAsker, setAsker }, { isUnsavedPlaceholder: isUnsavedPlaceholder2, useEditorStore: useEditorStore2 }] = await Promise.all([
|
|
133
|
-
import("./ui-commands-
|
|
133
|
+
import("./ui-commands-6K4PYKU5.js"),
|
|
134
134
|
import("./registry-JZTGZ5XX.js"),
|
|
135
135
|
import("./headless-RADIHAKO.js"),
|
|
136
|
-
import("./dangerous-
|
|
136
|
+
import("./dangerous-XJOHEWL6.js"),
|
|
137
137
|
import("./ask-2XZPAKB3.js"),
|
|
138
|
-
import("./editor-store-
|
|
138
|
+
import("./editor-store-C4VWC23J.js")
|
|
139
139
|
]);
|
|
140
140
|
registerDangerousCommands();
|
|
141
141
|
const command = registry.getCommand(id) ?? registry.getCommandByAgentName(id) ?? registry.getCommandByPluginMethod(id);
|
|
@@ -157,14 +157,14 @@ async function run(id, params, approved) {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
async function importFile(name, b64) {
|
|
160
|
-
const { BUILTIN_IMPORT_ACCEPT, importViaPlugin } = await import("./plugin-import-
|
|
160
|
+
const { BUILTIN_IMPORT_ACCEPT, importViaPlugin } = await import("./plugin-import-UC5BHZFE.js");
|
|
161
161
|
const ext = name.slice(name.lastIndexOf(".")).toLowerCase();
|
|
162
162
|
if (!BUILTIN_IMPORT_ACCEPT.includes(ext)) return fail(`PopCraft opens ${BUILTIN_IMPORT_ACCEPT.join(", ")} files from the command line, not ${ext || name}.`);
|
|
163
163
|
const bin = atob(b64);
|
|
164
164
|
const bytes = new Uint8Array(bin.length);
|
|
165
165
|
for (let i = 0; i < bin.length; i++) bytes[i] = bin.charCodeAt(i);
|
|
166
166
|
const [{ createNewFileOrExplain: createNewFileOrExplain2 }, { cloudFilePath: cloudFilePath2, localDocPath }] = await Promise.all([
|
|
167
|
-
import("./new-file-
|
|
167
|
+
import("./new-file-XS3KCMGM.js"),
|
|
168
168
|
import("./tab-mode-H7FXWBQN.js")
|
|
169
169
|
]);
|
|
170
170
|
let opened = null;
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
registerTools,
|
|
12
12
|
runTool,
|
|
13
13
|
toolSpecs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AQGECTRJ.js";
|
|
15
15
|
import "./chunk-EZVFNLBJ.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-R3YD6VL6.js";
|
|
17
17
|
import "./chunk-XPLI2SES.js";
|
|
18
18
|
import "./chunk-F4FBI2LN.js";
|
|
19
19
|
import "./chunk-L3BAPZSJ.js";
|
|
@@ -6,29 +6,29 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
registerAppCommands
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SFPM3UJA.js";
|
|
10
10
|
import {
|
|
11
11
|
UI_CAPABILITIES,
|
|
12
12
|
registerBuiltinCommands,
|
|
13
13
|
runPaletteEntry
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-67SLLJJB.js";
|
|
15
15
|
import "./chunk-3OKZ57OD.js";
|
|
16
16
|
import "./chunk-FENVY7S5.js";
|
|
17
17
|
import "./chunk-U57RZGPM.js";
|
|
18
18
|
import {
|
|
19
19
|
editorToolContext
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EBLHS2EG.js";
|
|
21
21
|
import "./chunk-5JFDKTA6.js";
|
|
22
22
|
import "./chunk-4UQLA7H3.js";
|
|
23
23
|
import {
|
|
24
24
|
notice
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-V5HI55XO.js";
|
|
26
26
|
import "./chunk-DF7VNOSI.js";
|
|
27
27
|
import "./chunk-WPV57UKC.js";
|
|
28
28
|
import "./chunk-3CLJHQC5.js";
|
|
29
29
|
import "./chunk-HXDZI7ZZ.js";
|
|
30
30
|
import "./chunk-EZVFNLBJ.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-R3YD6VL6.js";
|
|
32
32
|
import "./chunk-XPLI2SES.js";
|
|
33
33
|
import "./chunk-RYJWIHJJ.js";
|
|
34
34
|
import "./chunk-DHZBRKFZ.js";
|
|
@@ -42,26 +42,26 @@ import "./chunk-4CKI3O4M.js";
|
|
|
42
42
|
import "./chunk-GGZ2QH2M.js";
|
|
43
43
|
import "./chunk-PELUYQR3.js";
|
|
44
44
|
import "./chunk-AZKWGJHU.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-O3BEBIDN.js";
|
|
46
46
|
import "./chunk-6XGGSKFB.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-5NWVUAWR.js";
|
|
48
48
|
import "./chunk-SPBIZ4KY.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-YPMT4Y4N.js";
|
|
50
50
|
import "./chunk-J2SFBGA7.js";
|
|
51
51
|
import "./chunk-F6NIUSR5.js";
|
|
52
52
|
import "./chunk-IRAU45LR.js";
|
|
53
53
|
import "./chunk-F6KBJTPS.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-EVFG2K4L.js";
|
|
55
55
|
import "./chunk-XFB6EZVY.js";
|
|
56
56
|
import "./chunk-F672DUYT.js";
|
|
57
57
|
import "./chunk-N4MSAAPR.js";
|
|
58
58
|
import "./chunk-ODM43UFC.js";
|
|
59
59
|
import "./chunk-P3MJ3HNQ.js";
|
|
60
60
|
import "./chunk-CRGE3FVX.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-JXAJ6OST.js";
|
|
62
62
|
import {
|
|
63
63
|
useEditorStore
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-IM6HORNC.js";
|
|
65
65
|
import "./chunk-LU6OMVWV.js";
|
|
66
66
|
import "./chunk-KO3O3ZPA.js";
|
|
67
67
|
import "./chunk-VEHJYALZ.js";
|
|
@@ -7,17 +7,17 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
syncStatus,
|
|
9
9
|
uploadActiveDocument
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5NWVUAWR.js";
|
|
11
11
|
import "./chunk-SPBIZ4KY.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-YPMT4Y4N.js";
|
|
13
13
|
import "./chunk-J2SFBGA7.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-EVFG2K4L.js";
|
|
15
15
|
import "./chunk-XFB6EZVY.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JXAJ6OST.js";
|
|
17
17
|
import {
|
|
18
18
|
storedDocument,
|
|
19
19
|
useEditorStore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IM6HORNC.js";
|
|
21
21
|
import "./chunk-LU6OMVWV.js";
|
|
22
22
|
import "./chunk-KO3O3ZPA.js";
|
|
23
23
|
import "./chunk-VEHJYALZ.js";
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunks/chunk-4UQJ4Z4F.js";
|
|
10
10
|
import {
|
|
11
11
|
buildDesign
|
|
12
|
-
} from "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-OR6HMJRM.js";
|
|
13
13
|
import {
|
|
14
14
|
RECORDER_SOURCE,
|
|
15
15
|
RECORD_LIMITS
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunks/chunk-F2INMAPM.js";
|
|
27
27
|
import {
|
|
28
28
|
loadKitModules
|
|
29
|
-
} from "./chunks/chunk-
|
|
29
|
+
} from "./chunks/chunk-64RMGOTG.js";
|
|
30
30
|
import {
|
|
31
31
|
HELPER_NAMES
|
|
32
32
|
} from "./chunks/chunk-XAGVE2C6.js";
|
|
@@ -267,7 +267,7 @@ function templatePopcraft(template, sizeId) {
|
|
|
267
267
|
|
|
268
268
|
// packages/kit/src/index.ts
|
|
269
269
|
async function tracks() {
|
|
270
|
-
return (await import("./chunks/kit-modules-
|
|
270
|
+
return (await import("./chunks/kit-modules-BAKTDLOZ.js").then((m) => m.loadKitModules())).TRACKS;
|
|
271
271
|
}
|
|
272
272
|
async function runDesign(source, options = {}) {
|
|
273
273
|
const built = await buildDesign(source, options.size ?? "ig-post", options.name ?? "Design", recordInNode);
|
|
@@ -283,7 +283,7 @@ function toTemplate(document, listing, options = {}) {
|
|
|
283
283
|
}
|
|
284
284
|
var mediaHash = (bytes) => hashBytesSync(bytes);
|
|
285
285
|
async function checkTemplate(template, options = {}) {
|
|
286
|
-
return (await import("./chunks/check-template-
|
|
286
|
+
return (await import("./chunks/check-template-B2KKE6BW.js")).checkTemplate(template, options);
|
|
287
287
|
}
|
|
288
288
|
export {
|
|
289
289
|
HELPER_NAMES,
|