@popcraft/cli 0.53.18 → 0.53.19
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/popcraft.mjs +8 -8
- 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.53.
|
|
1201
|
+
const headers = { "user-agent": `popcraft-cli/${"0.53.19"}`, ...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 {
|
|
@@ -178853,6 +178853,7 @@ function findContainingFrame(state, nodeId2) {
|
|
|
178853
178853
|
for (const id3 of ids2) {
|
|
178854
178854
|
const n = allNodes[id3];
|
|
178855
178855
|
if (!n) continue;
|
|
178856
|
+
if (n.locked) continue;
|
|
178856
178857
|
const parentType = n.parentId ? allNodes[n.parentId]?.type : void 0;
|
|
178857
178858
|
const topFrame = n.type === "FRAME" && (parentType === "PAGE" || parentType === "SECTION");
|
|
178858
178859
|
const acceptsNode = topFrame || n.type === "SECTION" || n.type === "PIXEL_GRID" && canBePixelLayer(node2);
|
|
@@ -254303,7 +254304,6 @@ function resizeWindow(doc2, target2, rect) {
|
|
|
254303
254304
|
}
|
|
254304
254305
|
var init_crop = __esm({
|
|
254305
254306
|
"lib/editor/crop.ts"() {
|
|
254306
|
-
"use strict";
|
|
254307
254307
|
init_dist_node();
|
|
254308
254308
|
init_scene_graph();
|
|
254309
254309
|
init_photo_frames();
|
|
@@ -261894,7 +261894,6 @@ function retuneShaderAudio(node2, fillId) {
|
|
|
261894
261894
|
}
|
|
261895
261895
|
var init_shader_audio = __esm({
|
|
261896
261896
|
"lib/motion/shader-audio.ts"() {
|
|
261897
|
-
"use strict";
|
|
261898
261897
|
init_shader_params();
|
|
261899
261898
|
init_modifier_edit();
|
|
261900
261899
|
init_keys();
|
|
@@ -263908,6 +263907,7 @@ function formatDate(date5, opts = { month: "short", day: "numeric", year: "numer
|
|
|
263908
263907
|
var cache5, nf;
|
|
263909
263908
|
var init_format = __esm({
|
|
263910
263909
|
"lib/i18n/format.ts"() {
|
|
263910
|
+
"use strict";
|
|
263911
263911
|
init_runtime();
|
|
263912
263912
|
cache5 = /* @__PURE__ */ new Map();
|
|
263913
263913
|
nf = (opts) => cached2("n", opts, (l) => new Intl.NumberFormat(l, opts));
|
|
@@ -263927,6 +263927,7 @@ function formatLimit(key5, max3) {
|
|
|
263927
263927
|
var formatBytes;
|
|
263928
263928
|
var init_limits2 = __esm({
|
|
263929
263929
|
"lib/billing/limits.ts"() {
|
|
263930
|
+
"use strict";
|
|
263930
263931
|
init_format();
|
|
263931
263932
|
init_plans();
|
|
263932
263933
|
formatBytes = formatFileSize;
|
|
@@ -308126,7 +308127,6 @@ function decodeSource(key5, label3) {
|
|
|
308126
308127
|
var DECODE_CACHE_BYTES, cache7, pending4, held, sizeOf, lengths, decodedLengths, DECODE_TIMEOUT_MS, decodedAudio, decodedSource, pcmOf;
|
|
308127
308128
|
var init_audio_decode = __esm({
|
|
308128
308129
|
"lib/motion/audio-decode.ts"() {
|
|
308129
|
-
"use strict";
|
|
308130
308130
|
init_media_store();
|
|
308131
308131
|
init_audio_plan();
|
|
308132
308132
|
init_time_stretch();
|
|
@@ -312928,6 +312928,7 @@ function startCloudSync() {
|
|
|
312928
312928
|
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;
|
|
312929
312929
|
var init_sync2 = __esm({
|
|
312930
312930
|
"lib/client/cloud/sync.ts"() {
|
|
312931
|
+
"use strict";
|
|
312931
312932
|
init_kinds();
|
|
312932
312933
|
init_paint_repair();
|
|
312933
312934
|
init_migrate();
|
|
@@ -318516,7 +318517,6 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
|
|
|
318516
318517
|
var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
|
|
318517
318518
|
var init_reference_images = __esm({
|
|
318518
318519
|
"lib/ai/reference-images.ts"() {
|
|
318519
|
-
"use strict";
|
|
318520
318520
|
init_export();
|
|
318521
318521
|
init_selection_bounds();
|
|
318522
318522
|
init_renderer_registry();
|
|
@@ -329744,7 +329744,7 @@ var init_package = __esm({
|
|
|
329744
329744
|
"packages/runtime/package.json"() {
|
|
329745
329745
|
package_default = {
|
|
329746
329746
|
name: "@popcraft/runtime",
|
|
329747
|
-
version: "0.53.
|
|
329747
|
+
version: "0.53.19",
|
|
329748
329748
|
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.",
|
|
329749
329749
|
license: "MIT",
|
|
329750
329750
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -354452,6 +354452,7 @@ function compileModule(module2) {
|
|
|
354452
354452
|
var import_sucrase, BUILT_IN, memo4;
|
|
354453
354453
|
var init_compile2 = __esm({
|
|
354454
354454
|
"lib/code/compile.ts"() {
|
|
354455
|
+
"use strict";
|
|
354455
354456
|
import_sucrase = __toESM(require_dist2());
|
|
354456
354457
|
init_source2();
|
|
354457
354458
|
init_source2();
|
|
@@ -368407,7 +368408,6 @@ var init_doc2 = __esm({
|
|
|
368407
368408
|
var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
|
|
368408
368409
|
var init_motion3 = __esm({
|
|
368409
368410
|
"lib/marketplace/motion.ts"() {
|
|
368410
|
-
"use strict";
|
|
368411
368411
|
init_instances2();
|
|
368412
368412
|
POSTER_KEY = "poster";
|
|
368413
368413
|
MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
|
|
@@ -414651,7 +414651,7 @@ init_resources();
|
|
|
414651
414651
|
init_desktop();
|
|
414652
414652
|
init_hypery();
|
|
414653
414653
|
import { createInterface } from "node:readline";
|
|
414654
|
-
var VERSION2 = "0.53.
|
|
414654
|
+
var VERSION2 = "0.53.19";
|
|
414655
414655
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
414656
414656
|
|
|
414657
414657
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.19",
|
|
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.53.
|
|
37
|
+
"@popcraft/kit": "0.53.19"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|