@popcraft/cli 0.56.4 → 0.56.5

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 +12 -5
  2. package/package.json +2 -2
package/dist/popcraft.mjs CHANGED
@@ -1198,7 +1198,7 @@ function operations(spec = openapi) {
1198
1198
  }
1199
1199
  async function call(target2, method, path, opts = {}) {
1200
1200
  const qs = new URLSearchParams(opts.query ?? {}).toString();
1201
- const headers = { "user-agent": `popcraft-cli/${"0.56.4"}`, ...opts.headers };
1201
+ const headers = { "user-agent": `popcraft-cli/${"0.56.5"}`, ...opts.headers };
1202
1202
  if (target2.token) headers.authorization = `Bearer ${target2.token}`;
1203
1203
  if (opts.contentType) headers["content-type"] = opts.contentType;
1204
1204
  try {
@@ -260364,7 +260364,6 @@ function repairFx(raw) {
260364
260364
  var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH, LAYER_KINDS, ADJUSTMENT_TYPES, OPACITY_PROPERTY, CAPTION_PRESET_NAMES, inRange;
260365
260365
  var init_invariants = __esm({
260366
260366
  "lib/motion/invariants.ts"() {
260367
- "use strict";
260368
260367
  init_adjustments();
260369
260368
  init_captions();
260370
260369
  init_lut();
@@ -261352,6 +261351,7 @@ function fillPhotoFrame(doc2, groupId, imageUrl, size6, name2 = "Photo", credit)
261352
261351
  var isPhotoFrame;
261353
261352
  var init_photo_frames = __esm({
261354
261353
  "lib/document/photo-frames.ts"() {
261354
+ "use strict";
261355
261355
  init_dist_node();
261356
261356
  init_scene_graph();
261357
261357
  init_types();
@@ -266202,6 +266202,7 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
266202
266202
  var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
266203
266203
  var init_shader_presets = __esm({
266204
266204
  "lib/engine/shader-presets.ts"() {
266205
+ "use strict";
266205
266206
  init_shader_graph();
266206
266207
  init_shader_graph_presets();
266207
266208
  init_shader_presets_legacy();
@@ -270744,6 +270745,7 @@ function retuneShaderAudio(node2, fillId) {
270744
270745
  }
270745
270746
  var init_shader_audio = __esm({
270746
270747
  "lib/motion/shader-audio.ts"() {
270748
+ "use strict";
270747
270749
  init_shader_params();
270748
270750
  init_modifier_edit();
270749
270751
  init_keys();
@@ -272786,6 +272788,7 @@ function formatDate(date5, opts = { month: "short", day: "numeric", year: "numer
272786
272788
  var cache5, nf;
272787
272789
  var init_format = __esm({
272788
272790
  "lib/i18n/format.ts"() {
272791
+ "use strict";
272789
272792
  init_runtime();
272790
272793
  cache5 = /* @__PURE__ */ new Map();
272791
272794
  nf = (opts) => cached2("n", opts, (l) => new Intl.NumberFormat(l, opts));
@@ -272805,6 +272808,7 @@ function formatLimit(key5, max3) {
272805
272808
  var formatBytes;
272806
272809
  var init_limits2 = __esm({
272807
272810
  "lib/billing/limits.ts"() {
272811
+ "use strict";
272808
272812
  init_format();
272809
272813
  init_plans();
272810
272814
  formatBytes = formatFileSize;
@@ -317017,6 +317021,7 @@ function decodeSource(key5, label3) {
317017
317021
  var DECODE_CACHE_BYTES, cache7, pending4, held, sizeOf, lengths, decodedLengths, DECODE_TIMEOUT_MS, decodedAudio, decodedSource, pcmOf;
317018
317022
  var init_audio_decode = __esm({
317019
317023
  "lib/motion/audio-decode.ts"() {
317024
+ "use strict";
317020
317025
  init_media_store();
317021
317026
  init_audio_plan();
317022
317027
  init_time_stretch();
@@ -322209,6 +322214,7 @@ function startCloudSync() {
322209
322214
  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, SEEN_KEY, started2;
322210
322215
  var init_sync2 = __esm({
322211
322216
  "lib/client/cloud/sync.ts"() {
322217
+ "use strict";
322212
322218
  init_kinds();
322213
322219
  init_paint_repair();
322214
322220
  init_migrate();
@@ -323599,7 +323605,6 @@ function areaBounds(rings) {
323599
323605
  }
323600
323606
  var init_text_area = __esm({
323601
323607
  "lib/engine/text/text-area.ts"() {
323602
- "use strict";
323603
323608
  }
323604
323609
  });
323605
323610
 
@@ -328085,6 +328090,7 @@ function videoPixelSize(resolution, aspect) {
328085
328090
  var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
328086
328091
  var init_video_models = __esm({
328087
328092
  "lib/ai/video-models.ts"() {
328093
+ "use strict";
328088
328094
  VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
328089
328095
  VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
328090
328096
  SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
@@ -338633,7 +338639,7 @@ var init_package = __esm({
338633
338639
  "packages/runtime/package.json"() {
338634
338640
  package_default = {
338635
338641
  name: "@popcraft/runtime",
338636
- version: "0.56.4",
338642
+ version: "0.56.5",
338637
338643
  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.",
338638
338644
  license: "MIT",
338639
338645
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -372816,6 +372822,7 @@ function publishSite(key5, files, opts = {}) {
372816
372822
  var siteStatus, setSiteVersion, workspaceSites, deleteSite, renameSite;
372817
372823
  var init_sites = __esm({
372818
372824
  "lib/client/cloud/sites.ts"() {
372825
+ "use strict";
372819
372826
  init_files();
372820
372827
  init_upload2();
372821
372828
  init_api4();
@@ -425252,7 +425259,7 @@ init_resources();
425252
425259
  init_desktop();
425253
425260
  init_hypery();
425254
425261
  import { createInterface } from "node:readline";
425255
- var VERSION2 = "0.56.4";
425262
+ var VERSION2 = "0.56.5";
425256
425263
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
425257
425264
 
425258
425265
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.56.4",
3
+ "version": "0.56.5",
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.56.4"
37
+ "@popcraft/kit": "0.56.5"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",