@popcraft/cli 0.53.13 → 0.53.14
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 +12 -7
- 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.14"}`, ...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 {
|
|
@@ -97583,6 +97583,7 @@ function relinkCopies(doc2, copies) {
|
|
|
97583
97583
|
var TEXT_PATH_SOURCE_TYPES, isPathSource;
|
|
97584
97584
|
var init_text_links = __esm({
|
|
97585
97585
|
"lib/document/text-links.ts"() {
|
|
97586
|
+
"use strict";
|
|
97586
97587
|
init_transform();
|
|
97587
97588
|
TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
|
|
97588
97589
|
isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
|
|
@@ -248031,7 +248032,6 @@ function repairCompositions(comps, nodes) {
|
|
|
248031
248032
|
var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
|
|
248032
248033
|
var init_invariants = __esm({
|
|
248033
248034
|
"lib/motion/invariants.ts"() {
|
|
248034
|
-
"use strict";
|
|
248035
248035
|
init_easing();
|
|
248036
248036
|
init_properties();
|
|
248037
248037
|
init_markers();
|
|
@@ -252666,6 +252666,7 @@ function resizeWindow(doc2, target2, rect) {
|
|
|
252666
252666
|
}
|
|
252667
252667
|
var init_crop = __esm({
|
|
252668
252668
|
"lib/editor/crop.ts"() {
|
|
252669
|
+
"use strict";
|
|
252669
252670
|
init_dist_node();
|
|
252670
252671
|
init_scene_graph();
|
|
252671
252672
|
init_photo_frames();
|
|
@@ -262789,7 +262790,6 @@ function formatLimit(key5, max3) {
|
|
|
262789
262790
|
var formatBytes;
|
|
262790
262791
|
var init_limits2 = __esm({
|
|
262791
262792
|
"lib/billing/limits.ts"() {
|
|
262792
|
-
"use strict";
|
|
262793
262793
|
init_format();
|
|
262794
262794
|
init_plans();
|
|
262795
262795
|
formatBytes = formatFileSize;
|
|
@@ -307006,6 +307006,7 @@ function decodeSource(key5, label3) {
|
|
|
307006
307006
|
var DECODE_CACHE_BYTES, cache7, pending4, held, sizeOf, lengths, decodedLengths, DECODE_TIMEOUT_MS, decodedAudio, decodedSource, pcmOf;
|
|
307007
307007
|
var init_audio_decode = __esm({
|
|
307008
307008
|
"lib/motion/audio-decode.ts"() {
|
|
307009
|
+
"use strict";
|
|
307009
307010
|
init_media_store();
|
|
307010
307011
|
init_audio_plan();
|
|
307011
307012
|
init_time_stretch();
|
|
@@ -311786,6 +311787,7 @@ function startCloudSync() {
|
|
|
311786
311787
|
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;
|
|
311787
311788
|
var init_sync2 = __esm({
|
|
311788
311789
|
"lib/client/cloud/sync.ts"() {
|
|
311790
|
+
"use strict";
|
|
311789
311791
|
init_paint_repair();
|
|
311790
311792
|
init_migrate();
|
|
311791
311793
|
init_view();
|
|
@@ -313056,6 +313058,7 @@ function applyTextPath(layout2, path, tp, rebase = true) {
|
|
|
313056
313058
|
var defaultCircleRadius, ownsPath, mapPoint;
|
|
313057
313059
|
var init_text_path = __esm({
|
|
313058
313060
|
"lib/engine/text/text-path.ts"() {
|
|
313061
|
+
"use strict";
|
|
313059
313062
|
init_scene_graph();
|
|
313060
313063
|
init_transform();
|
|
313061
313064
|
init_shape_to_path();
|
|
@@ -313173,6 +313176,7 @@ function areaBounds(rings) {
|
|
|
313173
313176
|
}
|
|
313174
313177
|
var init_text_area = __esm({
|
|
313175
313178
|
"lib/engine/text/text-area.ts"() {
|
|
313179
|
+
"use strict";
|
|
313176
313180
|
}
|
|
313177
313181
|
});
|
|
313178
313182
|
|
|
@@ -318451,6 +318455,7 @@ function agentToolList() {
|
|
|
318451
318455
|
var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
|
|
318452
318456
|
var init_agent = __esm({
|
|
318453
318457
|
"lib/commands/agent.ts"() {
|
|
318458
|
+
"use strict";
|
|
318454
318459
|
init_types5();
|
|
318455
318460
|
init_registry();
|
|
318456
318461
|
init_errors();
|
|
@@ -328825,7 +328830,7 @@ var init_package = __esm({
|
|
|
328825
328830
|
"packages/runtime/package.json"() {
|
|
328826
328831
|
package_default = {
|
|
328827
328832
|
name: "@popcraft/runtime",
|
|
328828
|
-
version: "0.53.
|
|
328833
|
+
version: "0.53.14",
|
|
328829
328834
|
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.",
|
|
328830
328835
|
license: "MIT",
|
|
328831
328836
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -409114,8 +409119,8 @@ var init_editor_store = __esm({
|
|
|
409114
409119
|
let cosmetic = true;
|
|
409115
409120
|
const touched = [];
|
|
409116
409121
|
for (const u of updates) {
|
|
409117
|
-
const
|
|
409118
|
-
if (!
|
|
409122
|
+
const housekeeping = Object.keys(u.props).every((k2) => k2 === "locked" || k2 === "visible" || k2 === "name");
|
|
409123
|
+
if (!housekeeping && isLocked(document2, u.id)) continue;
|
|
409119
409124
|
let props = u.props;
|
|
409120
409125
|
if ("rotation" in props && !canRotate(document2, u.id)) {
|
|
409121
409126
|
const { rotation: _dropped, ...rest } = props;
|
|
@@ -414420,7 +414425,7 @@ init_resources();
|
|
|
414420
414425
|
init_desktop();
|
|
414421
414426
|
init_hypery();
|
|
414422
414427
|
import { createInterface } from "node:readline";
|
|
414423
|
-
var VERSION2 = "0.53.
|
|
414428
|
+
var VERSION2 = "0.53.14";
|
|
414424
414429
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
414425
414430
|
|
|
414426
414431
|
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.14",
|
|
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.14"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|