@popcraft/cli 0.40.4 → 0.40.6

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.
Files changed (2) hide show
  1. package/dist/popcraft.mjs +20 -31
  2. package/package.json +2 -2
package/dist/popcraft.mjs CHANGED
@@ -1196,7 +1196,7 @@ function operations(spec = openapi) {
1196
1196
  }
1197
1197
  async function call(target2, method, path, opts = {}) {
1198
1198
  const qs = new URLSearchParams(opts.query ?? {}).toString();
1199
- const headers = { "user-agent": `popcraft-cli/${"0.40.4"}`, ...opts.headers };
1199
+ const headers = { "user-agent": `popcraft-cli/${"0.40.6"}`, ...opts.headers };
1200
1200
  if (target2.token) headers.authorization = `Bearer ${target2.token}`;
1201
1201
  if (opts.contentType) headers["content-type"] = opts.contentType;
1202
1202
  try {
@@ -3880,7 +3880,6 @@ function paramLabel(name2) {
3880
3880
  var AUDIO_SIGNAL_NAMES, XY, XYZ, RGB, RGBA, LAYOUT, TYPE_NAMES, roundUp, IDENT2, WHITE, numbers, MAX_SHADER_CHARS, reflections, isNum, EMPTY, packed, defaults;
3881
3881
  var init_shader_params = __esm({
3882
3882
  "lib/document/shader-params.ts"() {
3883
- "use strict";
3884
3883
  AUDIO_SIGNAL_NAMES = ["level", "bass", "mid", "treble", "beat", "onset", "spectrum"];
3885
3884
  XY = ["x", "y"];
3886
3885
  XYZ = ["x", "y", "z"];
@@ -35011,6 +35010,7 @@ var init_en2 = __esm({
35011
35010
  "planDialog.legacy": "Legacy",
35012
35011
  "planDialog.managedInAppStore": "Bought in the App Store. Manage or cancel it in the App Store on your iPad or Mac.",
35013
35012
  "planDialog.manageOnTheWeb": "Manage on the web",
35013
+ "planDialog.manageYourSubscriptionInTheAppStore": "Manage your subscription in the App Store.",
35014
35014
  "planDialog.manageYourSubscriptionOnTheWeb": "Manage your subscription on the web.",
35015
35015
  "planDialog.mediaStorage": "Storage (media and websites)",
35016
35016
  "planDialog.mo": "mo",
@@ -39778,6 +39778,7 @@ var require_es = __commonJS({
39778
39778
  "planDialog.legacy": "Legado",
39779
39779
  "planDialog.managedInAppStore": "Comprado en la App Store. Gestiona o cancela en la App Store de tu iPad o Mac.",
39780
39780
  "planDialog.manageOnTheWeb": "Gestionar en la web",
39781
+ "planDialog.manageYourSubscriptionInTheAppStore": "Gestiona tu suscripci\xF3n en la App Store.",
39781
39782
  "planDialog.manageYourSubscriptionOnTheWeb": "Gestiona tu suscripci\xF3n en la web.",
39782
39783
  "planDialog.mediaStorage": "Almacenamiento (medios y sitios web)",
39783
39784
  "planDialog.mo": "mes",
@@ -44545,6 +44546,7 @@ var require_fr = __commonJS({
44545
44546
  "planDialog.legacy": "H\xE9ritage",
44546
44547
  "planDialog.managedInAppStore": "Achet\xE9 dans l\u2019App Store. G\xE9rez ou annulez-le dans l\u2019App Store sur votre iPad ou Mac.",
44547
44548
  "planDialog.manageOnTheWeb": "G\xE9rer sur le web",
44549
+ "planDialog.manageYourSubscriptionInTheAppStore": "G\xE9rez votre abonnement dans l\u2019App Store.",
44548
44550
  "planDialog.manageYourSubscriptionOnTheWeb": "G\xE9rer votre abonnement sur le web.",
44549
44551
  "planDialog.mediaStorage": "Stockage (m\xE9dias et sites web)",
44550
44552
  "planDialog.mo": "mois",
@@ -49312,6 +49314,7 @@ var require_de = __commonJS({
49312
49314
  "planDialog.legacy": "Legacy",
49313
49315
  "planDialog.managedInAppStore": "Im App Store gekauft. Verwalte oder k\xFCndige es im App Store auf deinem iPad oder Mac.",
49314
49316
  "planDialog.manageOnTheWeb": "Im Web verwalten",
49317
+ "planDialog.manageYourSubscriptionInTheAppStore": "Verwalte dein Abonnement im App Store.",
49315
49318
  "planDialog.manageYourSubscriptionOnTheWeb": "Verwalte dein Abonnement im Web.",
49316
49319
  "planDialog.mediaStorage": "Speicherplatz (Medien und Websites)",
49317
49320
  "planDialog.mo": "Mo.",
@@ -54079,6 +54082,7 @@ var require_it = __commonJS({
54079
54082
  "planDialog.legacy": "Legacy",
54080
54083
  "planDialog.managedInAppStore": "Acquistato nell\u2019App Store. Gestiscilo o annullalo nell\u2019App Store sul tuo iPad o Mac.",
54081
54084
  "planDialog.manageOnTheWeb": "Gestisci sul web",
54085
+ "planDialog.manageYourSubscriptionInTheAppStore": "Gestisci il tuo abbonamento nell\u2019App Store.",
54082
54086
  "planDialog.manageYourSubscriptionOnTheWeb": "Gestisci il tuo abbonamento sul web.",
54083
54087
  "planDialog.mediaStorage": "Archiviazione (media e siti web)",
54084
54088
  "planDialog.mo": "mese",
@@ -58846,6 +58850,7 @@ var require_pt_BR = __commonJS({
58846
58850
  "planDialog.legacy": "Legado",
58847
58851
  "planDialog.managedInAppStore": "Comprado na App Store. Gerencie ou cancele na App Store do seu iPad ou Mac.",
58848
58852
  "planDialog.manageOnTheWeb": "Gerenciar na web",
58853
+ "planDialog.manageYourSubscriptionInTheAppStore": "Gerencie sua assinatura na App Store.",
58849
58854
  "planDialog.manageYourSubscriptionOnTheWeb": "Gerenciar sua assinatura na web.",
58850
58855
  "planDialog.mediaStorage": "Armazenamento (m\xEDdia e sites)",
58851
58856
  "planDialog.mo": "m\xEAs",
@@ -63613,6 +63618,7 @@ var require_ja = __commonJS({
63613
63618
  "planDialog.legacy": "\u5F93\u6765\u306E",
63614
63619
  "planDialog.managedInAppStore": "App Store\u3067\u8CFC\u5165\u6E08\u307F\u3067\u3059\u3002iPad\u307E\u305F\u306FMac\u306EApp Store\u3067\u7BA1\u7406\u307E\u305F\u306F\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
63615
63620
  "planDialog.manageOnTheWeb": "\u30A6\u30A7\u30D6\u3067\u7BA1\u7406",
63621
+ "planDialog.manageYourSubscriptionInTheAppStore": "App Store\u3067\u30B5\u30D6\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3\u3092\u7BA1\u7406\u3059\u308B\u3002",
63616
63622
  "planDialog.manageYourSubscriptionOnTheWeb": "Web\u3067\u5B9A\u671F\u8CFC\u5165\u3092\u7BA1\u7406\u3057\u307E\u3059\u3002",
63617
63623
  "planDialog.mediaStorage": "\u30B9\u30C8\u30EC\u30FC\u30B8\uFF08\u30E1\u30C7\u30A3\u30A2\u3068\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8\uFF09",
63618
63624
  "planDialog.mo": "\u304B\u6708",
@@ -68380,6 +68386,7 @@ var require_ko = __commonJS({
68380
68386
  "planDialog.legacy": "\uB808\uAC70\uC2DC",
68381
68387
  "planDialog.managedInAppStore": "App Store\uC5D0\uC11C \uAD6C\uB9E4\uD588\uC2B5\uB2C8\uB2E4. iPad \uB610\uB294 Mac\uC758 App Store\uC5D0\uC11C \uAD00\uB9AC\uD558\uAC70\uB098 \uCDE8\uC18C\uD558\uC138\uC694.",
68382
68388
  "planDialog.manageOnTheWeb": "\uC6F9\uC5D0\uC11C \uAD00\uB9AC",
68389
+ "planDialog.manageYourSubscriptionInTheAppStore": "App Store\uC5D0\uC11C \uAD6C\uB3C5\uC744 \uAD00\uB9AC\uD558\uC138\uC694.",
68383
68390
  "planDialog.manageYourSubscriptionOnTheWeb": "\uC6F9\uC5D0\uC11C \uAD6C\uB3C5\uC744 \uAD00\uB9AC\uD558\uC138\uC694.",
68384
68391
  "planDialog.mediaStorage": "\uC800\uC7A5 \uACF5\uAC04 (\uBBF8\uB514\uC5B4 \uBC0F \uC6F9\uC0AC\uC774\uD2B8)",
68385
68392
  "planDialog.mo": "\uAC1C\uC6D4",
@@ -73147,6 +73154,7 @@ var require_zh_CN = __commonJS({
73147
73154
  "planDialog.legacy": "\u65E7\u7248",
73148
73155
  "planDialog.managedInAppStore": "\u5728 App Store \u4E2D\u8D2D\u4E70\u3002\u8BF7\u5728 iPad \u6216 Mac \u4E0A\u7684 App Store \u4E2D\u7BA1\u7406\u6216\u53D6\u6D88\u3002",
73149
73156
  "planDialog.manageOnTheWeb": "\u5728\u7F51\u9875\u4E0A\u7BA1\u7406",
73157
+ "planDialog.manageYourSubscriptionInTheAppStore": "\u5728 App Store \u4E2D\u7BA1\u7406\u60A8\u7684\u8BA2\u9605\u3002",
73150
73158
  "planDialog.manageYourSubscriptionOnTheWeb": "\u5728\u7F51\u9875\u4E0A\u7BA1\u7406\u60A8\u7684\u8BA2\u9605\u3002",
73151
73159
  "planDialog.mediaStorage": "\u5B58\u50A8\u7A7A\u95F4\uFF08\u5A92\u4F53\u548C\u7F51\u7AD9\uFF09",
73152
73160
  "planDialog.mo": "\u6708",
@@ -77914,6 +77922,7 @@ var require_zh_TW = __commonJS({
77914
77922
  "planDialog.legacy": "\u820A\u7248",
77915
77923
  "planDialog.managedInAppStore": "\u5728 App Store \u8CFC\u8CB7\u3002\u8ACB\u5728 iPad \u6216 Mac \u4E0A\u7684 App Store \u7BA1\u7406\u6216\u53D6\u6D88\u8A02\u95B1\u3002",
77916
77924
  "planDialog.manageOnTheWeb": "\u5728\u7DB2\u9801\u4E0A\u7BA1\u7406",
77925
+ "planDialog.manageYourSubscriptionInTheAppStore": "\u5728 App Store \u4E2D\u7BA1\u7406\u60A8\u7684\u8A02\u95B1\u3002",
77917
77926
  "planDialog.manageYourSubscriptionOnTheWeb": "\u5728\u7DB2\u8DEF\u4E0A\u7BA1\u7406\u60A8\u7684\u8A02\u95B1\u3002",
77918
77927
  "planDialog.mediaStorage": "\u5132\u5B58\u7A7A\u9593\uFF08\u5A92\u9AD4\u548C\u7DB2\u7AD9\uFF09",
77919
77928
  "planDialog.mo": "\u6708",
@@ -82681,6 +82690,7 @@ var require_ru = __commonJS({
82681
82690
  "planDialog.legacy": "\u0423\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0439",
82682
82691
  "planDialog.managedInAppStore": "\u041A\u0443\u043F\u043B\u0435\u043D\u043E \u0432 App Store. \u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u0438\u043B\u0438 \u043E\u0442\u043C\u0435\u043D\u044F\u0439\u0442\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443 \u0432 App Store \u043D\u0430 \u0432\u0430\u0448\u0435\u043C iPad \u0438\u043B\u0438 Mac.",
82683
82692
  "planDialog.manageOnTheWeb": "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435",
82693
+ "planDialog.manageYourSubscriptionInTheAppStore": "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u0441\u0432\u043E\u0435\u0439 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u043E\u0439 \u0432 App Store.",
82684
82694
  "planDialog.manageYourSubscriptionOnTheWeb": "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u0432\u0430\u0448\u0435\u0439 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u043E\u0439 \u0432 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0435.",
82685
82695
  "planDialog.mediaStorage": "\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 (\u043C\u0435\u0434\u0438\u0430 \u0438 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u044B)",
82686
82696
  "planDialog.mo": "\u043C\u0435\u0441.",
@@ -87448,6 +87458,7 @@ var require_ar = __commonJS({
87448
87458
  "planDialog.legacy": "\u0642\u062F\u064A\u0645",
87449
87459
  "planDialog.managedInAppStore": "\u062A\u0645 \u0627\u0644\u0634\u0631\u0627\u0621 \u0645\u0646 App Store. \u0642\u0645 \u0628\u0625\u062F\u0627\u0631\u062A\u0647 \u0623\u0648 \u0625\u0644\u063A\u0627\u0626\u0647 \u0641\u064A App Store \u0639\u0644\u0649 \u062C\u0647\u0627\u0632 iPad \u0623\u0648 Mac \u0627\u0644\u062E\u0627\u0635 \u0628\u0643.",
87450
87460
  "planDialog.manageOnTheWeb": "\u0627\u0644\u0625\u062F\u0627\u0631\u0629 \u0639\u0628\u0631 \u0627\u0644\u0648\u064A\u0628",
87461
+ "planDialog.manageYourSubscriptionInTheAppStore": "\u0625\u062F\u0627\u0631\u0629 \u0627\u0634\u062A\u0631\u0627\u0643\u0643 \u0641\u064A App Store.",
87451
87462
  "planDialog.manageYourSubscriptionOnTheWeb": "\u0625\u062F\u0627\u0631\u0629 \u0627\u0634\u062A\u0631\u0627\u0643\u0643 \u0639\u0644\u0649 \u0627\u0644\u0648\u064A\u0628.",
87452
87463
  "planDialog.mediaStorage": "\u0627\u0644\u062A\u062E\u0632\u064A\u0646 (\u0627\u0644\u0648\u0633\u0627\u0626\u0637 \u0648\u0627\u0644\u0645\u0648\u0627\u0642\u0639 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629)",
87453
87464
  "planDialog.mo": "\u0634\u0647\u0631",
@@ -92215,6 +92226,7 @@ var require_hi = __commonJS({
92215
92226
  "planDialog.legacy": "\u0935\u093F\u0930\u093E\u0938\u0924",
92216
92227
  "planDialog.managedInAppStore": "\u0910\u092A \u0938\u094D\u091F\u094B\u0930 \u092E\u0947\u0902 \u0916\u0930\u0940\u0926\u093E \u0917\u092F\u093E\u0964 \u0907\u0938\u0947 \u0905\u092A\u0928\u0947 iPad \u092F\u093E Mac \u092A\u0930 \u0910\u092A \u0938\u094D\u091F\u094B\u0930 \u092E\u0947\u0902 \u092A\u094D\u0930\u092C\u0902\u0927\u093F\u0924 \u092F\u093E \u0930\u0926\u094D\u0926 \u0915\u0930\u0947\u0902\u0964",
92217
92228
  "planDialog.manageOnTheWeb": "\u0935\u0947\u092C \u092A\u0930 \u092A\u094D\u0930\u092C\u0902\u0927\u093F\u0924 \u0915\u0930\u0947\u0902",
92229
+ "planDialog.manageYourSubscriptionInTheAppStore": "\u0905\u092A\u0928\u0940 \u0938\u0926\u0938\u094D\u092F\u0924\u093E \u0910\u092A \u0938\u094D\u091F\u094B\u0930 \u092E\u0947\u0902 \u092A\u094D\u0930\u092C\u0902\u0927\u093F\u0924 \u0915\u0930\u0947\u0902\u0964",
92218
92230
  "planDialog.manageYourSubscriptionOnTheWeb": "\u0905\u092A\u0928\u0940 \u0938\u0926\u0938\u094D\u092F\u0924\u093E \u0935\u0947\u092C \u092A\u0930 \u092A\u094D\u0930\u092C\u0902\u0927\u093F\u0924 \u0915\u0930\u0947\u0902\u0964",
92219
92231
  "planDialog.mediaStorage": "\u0938\u094D\u091F\u094B\u0930\u0947\u091C (\u092E\u0940\u0921\u093F\u092F\u093E \u0914\u0930 \u0935\u0947\u092C\u0938\u093E\u0907\u091F\u0947\u0902)",
92220
92232
  "planDialog.mo": "\u092E\u093E\u0939",
@@ -96259,6 +96271,7 @@ async function sha256Prefix(bytes2) {
96259
96271
  }
96260
96272
  var init_media_hash = __esm({
96261
96273
  "lib/storage/media-hash.ts"() {
96274
+ "use strict";
96262
96275
  }
96263
96276
  });
96264
96277
 
@@ -96641,6 +96654,7 @@ function releaseMediaMemory(hash3) {
96641
96654
  var key2, peaksKey, objectUrls, sourceKey, remoteResolver, MEDIA_FETCH_TIMEOUT_MS, SHIPPED_MEDIA_PATH, notShipped, MEDIA_SCHEME, isImageDataUrl, memory, pendingLoads, sourceAliases, PAINT_KEYS, URL_KEYS;
96642
96655
  var init_media_store = __esm({
96643
96656
  "lib/storage/media-store.ts"() {
96657
+ "use strict";
96644
96658
  init_media_types();
96645
96659
  init_idb();
96646
96660
  init_media_hash();
@@ -97157,7 +97171,6 @@ function selectionWorldBounds(nodes, ids2, scrollState) {
97157
97171
  }
97158
97172
  var init_selection_bounds = __esm({
97159
97173
  "lib/editor/selection-bounds.ts"() {
97160
- "use strict";
97161
97174
  init_scene_graph();
97162
97175
  init_transform();
97163
97176
  }
@@ -97349,7 +97362,6 @@ function relinkCopies(doc2, copies) {
97349
97362
  var TEXT_PATH_SOURCE_TYPES, isPathSource;
97350
97363
  var init_text_links = __esm({
97351
97364
  "lib/document/text-links.ts"() {
97352
- "use strict";
97353
97365
  init_transform();
97354
97366
  TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
97355
97367
  isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
@@ -246721,7 +246733,6 @@ function rescaleTextEffect(node2) {
246721
246733
  var DEFAULTS, BLACK5, WHITE5, fillPaint, fillColor, shadow, round, OUTLINED;
246722
246734
  var init_effect_presets = __esm({
246723
246735
  "lib/text/effect-presets.ts"() {
246724
- "use strict";
246725
246736
  init_effects();
246726
246737
  DEFAULTS = {
246727
246738
  SHADOW: { distance: 17.68, angle: 45, blur: 12.5, thickness: 0, intensity: 45 },
@@ -247702,7 +247713,6 @@ function repairCompositions(comps, nodes) {
247702
247713
  var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
247703
247714
  var init_invariants = __esm({
247704
247715
  "lib/motion/invariants.ts"() {
247705
- "use strict";
247706
247716
  init_easing();
247707
247717
  init_properties();
247708
247718
  init_markers();
@@ -252234,7 +252244,6 @@ function resizeWindow(doc2, target2, rect) {
252234
252244
  }
252235
252245
  var init_crop = __esm({
252236
252246
  "lib/editor/crop.ts"() {
252237
- "use strict";
252238
252247
  init_dist_node();
252239
252248
  init_scene_graph();
252240
252249
  init_photo_frames();
@@ -252698,7 +252707,6 @@ function getActiveRenderer() {
252698
252707
  var active;
252699
252708
  var init_renderer_registry = __esm({
252700
252709
  "lib/engine/renderer-registry.ts"() {
252701
- "use strict";
252702
252710
  active = null;
252703
252711
  }
252704
252712
  });
@@ -255762,7 +255770,6 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
255762
255770
  var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
255763
255771
  var init_shader_presets = __esm({
255764
255772
  "lib/engine/shader-presets.ts"() {
255765
- "use strict";
255766
255773
  init_shader_graph();
255767
255774
  init_shader_graph_presets();
255768
255775
  init_shader_presets_legacy();
@@ -256723,7 +256730,6 @@ function followPeers(peers) {
256723
256730
  var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
256724
256731
  var init_presence = __esm({
256725
256732
  "lib/collab/presence.ts"() {
256726
- "use strict";
256727
256733
  init_esm();
256728
256734
  init_editor_store();
256729
256735
  init_status_announcements();
@@ -257636,7 +257642,6 @@ function onTabMessage(fn) {
257636
257642
  var EDITOR_HOME, localDocPath, cloudFilePath, CHANNEL, channel;
257637
257643
  var init_tab_mode = __esm({
257638
257644
  "lib/desktop/tab-mode.ts"() {
257639
- "use strict";
257640
257645
  EDITOR_HOME = "/home";
257641
257646
  localDocPath = (docId) => `${EDITOR_HOME}?doc=${encodeURIComponent(docId)}`;
257642
257647
  cloudFilePath = (key5) => `/pop/${encodeURIComponent(key5)}`;
@@ -260255,7 +260260,6 @@ function retuneShaderAudio(node2, fillId) {
260255
260260
  }
260256
260261
  var init_shader_audio = __esm({
260257
260262
  "lib/motion/shader-audio.ts"() {
260258
- "use strict";
260259
260263
  init_shader_params();
260260
260264
  init_modifier_edit();
260261
260265
  init_keys();
@@ -272814,7 +272818,6 @@ async function prepareTemplate(t3) {
272814
272818
  var templateMediaSources;
272815
272819
  var init_use = __esm({
272816
272820
  "lib/templates/use.ts"() {
272817
- "use strict";
272818
272821
  init_capture();
272819
272822
  templateMediaSources = (t3, hash3) => [
272820
272823
  `/templates/media/${hash3}`,
@@ -309694,7 +309697,6 @@ function importSVGFile(file2, document2, parentId) {
309694
309697
  var ENTITIES, decode3, I, mul2, apply2, scaleOf, NUM2, nums, near, NAMED, INHERITED, PRESENTATION, len2, CAP, JOIN, SKIPPED, refId;
309695
309698
  var init_svg_import = __esm({
309696
309699
  "lib/io/svg-import.ts"() {
309697
- "use strict";
309698
309700
  init_dist_node();
309699
309701
  init_types();
309700
309702
  ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', apos: "'", nbsp: "\xA0" };
@@ -310530,7 +310532,6 @@ async function createFreshFileOrExplain(place4 = {}, seed2 = {}) {
310530
310532
  var online, goesLocal;
310531
310533
  var init_new_file = __esm({
310532
310534
  "lib/client/cloud/new-file.ts"() {
310533
- "use strict";
310534
310535
  init_scene_graph();
310535
310536
  init_print_pages();
310536
310537
  init_page_presets();
@@ -311071,6 +311072,7 @@ function startCloudSync() {
311071
311072
  var status, readOnlyDoc, activeLink, statusListeners, notice, urlArmed, opening, syncStatus, canEdit, uploaded, MEDIA_UPLOAD_PARALLEL, pushTimer, pushing, dirty, pendingMedia, collab, collabSession, collabAnonymous, uploadedThumbs, thumbCheckedAt, THUMB_EVERY_MS, THUMB_MIN_GAP_MS, putThumbnail, openingFiles, mediaHealed, started2;
311072
311073
  var init_sync2 = __esm({
311073
311074
  "lib/client/cloud/sync.ts"() {
311075
+ "use strict";
311074
311076
  init_paint_repair();
311075
311077
  init_migrate();
311076
311078
  init_view();
@@ -311277,7 +311279,6 @@ async function dispatchShaped(key5, options) {
311277
311279
  var onViolation;
311278
311280
  var init_dispatch = __esm({
311279
311281
  "lib/commands/dispatch.ts"() {
311280
- "use strict";
311281
311282
  init_errors();
311282
311283
  init_registry();
311283
311284
  init_confirm();
@@ -311676,7 +311677,6 @@ function creditLine(c2) {
311676
311677
  var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
311677
311678
  var init_stock = __esm({
311678
311679
  "lib/photos/stock.ts"() {
311679
- "use strict";
311680
311680
  MAX_PHOTO_PAGE = 12;
311681
311681
  MAX_PHOTO_QUERY = 200;
311682
311682
  UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -312338,7 +312338,6 @@ function applyTextPath(layout2, path, tp, rebase = true) {
312338
312338
  var defaultCircleRadius, ownsPath, mapPoint;
312339
312339
  var init_text_path = __esm({
312340
312340
  "lib/engine/text/text-path.ts"() {
312341
- "use strict";
312342
312341
  init_scene_graph();
312343
312342
  init_transform();
312344
312343
  init_shape_to_path();
@@ -312456,7 +312455,6 @@ function areaBounds(rings) {
312456
312455
  }
312457
312456
  var init_text_area = __esm({
312458
312457
  "lib/engine/text/text-area.ts"() {
312459
- "use strict";
312460
312458
  }
312461
312459
  });
312462
312460
 
@@ -316801,7 +316799,6 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
316801
316799
  var MIME, DEFAULT_EXPORT, exportSettingsOf;
316802
316800
  var init_export = __esm({
316803
316801
  "lib/io/export.ts"() {
316804
- "use strict";
316805
316802
  init_download();
316806
316803
  init_scene_graph();
316807
316804
  init_codecs();
@@ -317735,6 +317732,7 @@ function agentToolList() {
317735
317732
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
317736
317733
  var init_agent = __esm({
317737
317734
  "lib/commands/agent.ts"() {
317735
+ "use strict";
317738
317736
  init_types5();
317739
317737
  init_registry();
317740
317738
  init_errors();
@@ -327598,7 +327596,7 @@ var init_package = __esm({
327598
327596
  "packages/runtime/package.json"() {
327599
327597
  package_default = {
327600
327598
  name: "@popcraft/runtime",
327601
- version: "0.40.4",
327599
+ version: "0.40.6",
327602
327600
  description: "What code exported from PopCraft shares: the meaning of expressions (operators and functions) and, as it grows, the parts of a design's behaviour that are common code rather than generated React.",
327603
327601
  license: "MIT",
327604
327602
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -352264,7 +352262,6 @@ function exportsOf(source3) {
352264
352262
  var CODE_LIMITS, packageOf;
352265
352263
  var init_source2 = __esm({
352266
352264
  "lib/code/source.ts"() {
352267
- "use strict";
352268
352265
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
352269
352266
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
352270
352267
  }
@@ -352307,7 +352304,6 @@ function compileModule(module2) {
352307
352304
  var import_sucrase, BUILT_IN, memo4;
352308
352305
  var init_compile2 = __esm({
352309
352306
  "lib/code/compile.ts"() {
352310
- "use strict";
352311
352307
  import_sucrase = __toESM(require_dist2());
352312
352308
  init_source2();
352313
352309
  init_source2();
@@ -361338,7 +361334,6 @@ var init_delete_current_file = __esm({
361338
361334
  var storeOpsSeam;
361339
361335
  var init_seams = __esm({
361340
361336
  "lib/commands/seams.ts"() {
361341
- "use strict";
361342
361337
  storeOpsSeam = (st) => ({
361343
361338
  booleanOperation: (op4) => st().booleanOperation(op4),
361344
361339
  flatten: () => st().flattenSelection(),
@@ -365517,7 +365512,6 @@ var init_doc2 = __esm({
365517
365512
  var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
365518
365513
  var init_motion3 = __esm({
365519
365514
  "lib/marketplace/motion.ts"() {
365520
- "use strict";
365521
365515
  init_instances2();
365522
365516
  POSTER_KEY = "poster";
365523
365517
  MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
@@ -365633,7 +365627,6 @@ async function renderLibraryPreviews(renderer, doc2, listing, format = pickPrevi
365633
365627
  var PREVIEW_FORMATS, PREVIEW_FPS, PREVIEW_MAX_MS2, PREVIEW_HOLD_MS, PREVIEW_BOX, POSTER_CELL, PREVIEW_MAX_SCALE, POSTER_COLS, POSTER_MAX, previewScale, componentSchedule;
365634
365628
  var init_library_previews = __esm({
365635
365629
  "lib/motion/library-previews.ts"() {
365636
- "use strict";
365637
365630
  init_codecs();
365638
365631
  init_gpu_pixels();
365639
365632
  init_render_frames();
@@ -398397,7 +398390,6 @@ function record(source, namespaces, globals, limits) {
398397
398390
  var HELPER_NAMES;
398398
398391
  var init_helper_names = __esm({
398399
398392
  "lib/agent/design-script/helper-names.ts"() {
398400
- "use strict";
398401
398393
  HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
398402
398394
  }
398403
398395
  });
@@ -398637,7 +398629,6 @@ function placeDesign(doc2, built, source3, size6, name2, at4) {
398637
398629
  var DESIGN_NAMESPACES, DERIVED2, templateOfBuild;
398638
398630
  var init_build3 = __esm({
398639
398631
  "lib/agent/design-script/build.ts"() {
398640
- "use strict";
398641
398632
  init_hash();
398642
398633
  init_scene_graph();
398643
398634
  init_libraries();
@@ -398667,7 +398658,6 @@ function designFrameOf(doc2, id3) {
398667
398658
  }
398668
398659
  var init_locate = __esm({
398669
398660
  "lib/agent/design-script/locate.ts"() {
398670
- "use strict";
398671
398661
  }
398672
398662
  });
398673
398663
 
@@ -403609,7 +403599,6 @@ function registerBuiltinCommands() {
403609
403599
  var builtinCommands, uiOnlyCommands;
403610
403600
  var init_builtin4 = __esm({
403611
403601
  "lib/commands/builtin.ts"() {
403612
- "use strict";
403613
403602
  init_registry();
403614
403603
  init_node();
403615
403604
  init_node();
@@ -411188,7 +411177,7 @@ init_resources();
411188
411177
  init_desktop();
411189
411178
  init_hypery();
411190
411179
  import { createInterface } from "node:readline";
411191
- var VERSION2 = "0.40.4";
411180
+ var VERSION2 = "0.40.6";
411192
411181
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
411193
411182
 
411194
411183
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.40.4",
3
+ "version": "0.40.6",
4
4
  "description": "The PopCraft command line: edit .popcraft files headlessly, call the REST API, publish to the marketplace and manage the desktop app's local plugins, themes, fonts, skills and agents.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://popcraft.app/docs/api/cli",
@@ -34,7 +34,7 @@
34
34
  "esbuild": "0.28.2"
35
35
  },
36
36
  "dependencies": {
37
- "@popcraft/kit": "0.40.4"
37
+ "@popcraft/kit": "0.40.6"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",