@popcraft/cli 0.53.11 → 0.53.13
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 +4 -13
- 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.13"}`, ...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 {
|
|
@@ -94515,6 +94515,7 @@ function hasMessage(key5) {
|
|
|
94515
94515
|
var current2, loading, listeners, formats, asts;
|
|
94516
94516
|
var init_runtime = __esm({
|
|
94517
94517
|
"lib/i18n/runtime.ts"() {
|
|
94518
|
+
"use strict";
|
|
94518
94519
|
init_intl_messageformat();
|
|
94519
94520
|
init_icu_messageformat_parser();
|
|
94520
94521
|
init_catalogs();
|
|
@@ -97582,7 +97583,6 @@ function relinkCopies(doc2, copies) {
|
|
|
97582
97583
|
var TEXT_PATH_SOURCE_TYPES, isPathSource;
|
|
97583
97584
|
var init_text_links = __esm({
|
|
97584
97585
|
"lib/document/text-links.ts"() {
|
|
97585
|
-
"use strict";
|
|
97586
97586
|
init_transform();
|
|
97587
97587
|
TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
|
|
97588
97588
|
isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
|
|
@@ -248128,7 +248128,6 @@ function resyncText(doc2, ids2) {
|
|
|
248128
248128
|
var isVirtualId;
|
|
248129
248129
|
var init_invariants2 = __esm({
|
|
248130
248130
|
"lib/document/invariants.ts"() {
|
|
248131
|
-
"use strict";
|
|
248132
248131
|
init_auto_layout();
|
|
248133
248132
|
init_scene_graph();
|
|
248134
248133
|
init_text_bounds();
|
|
@@ -249155,7 +249154,6 @@ function beforeWrite() {
|
|
|
249155
249154
|
var leave;
|
|
249156
249155
|
var init_read_only = __esm({
|
|
249157
249156
|
"lib/editor/modes/read-only.ts"() {
|
|
249158
|
-
"use strict";
|
|
249159
249157
|
leave = null;
|
|
249160
249158
|
}
|
|
249161
249159
|
});
|
|
@@ -252668,7 +252666,6 @@ function resizeWindow(doc2, target2, rect) {
|
|
|
252668
252666
|
}
|
|
252669
252667
|
var init_crop = __esm({
|
|
252670
252668
|
"lib/editor/crop.ts"() {
|
|
252671
|
-
"use strict";
|
|
252672
252669
|
init_dist_node();
|
|
252673
252670
|
init_scene_graph();
|
|
252674
252671
|
init_photo_frames();
|
|
@@ -257165,7 +257162,6 @@ function followPeers(peers) {
|
|
|
257165
257162
|
var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
|
|
257166
257163
|
var init_presence = __esm({
|
|
257167
257164
|
"lib/collab/presence.ts"() {
|
|
257168
|
-
"use strict";
|
|
257169
257165
|
init_esm();
|
|
257170
257166
|
init_editor_store();
|
|
257171
257167
|
init_status_announcements();
|
|
@@ -307010,7 +307006,6 @@ function decodeSource(key5, label3) {
|
|
|
307010
307006
|
var DECODE_CACHE_BYTES, cache7, pending4, held, sizeOf, lengths, decodedLengths, DECODE_TIMEOUT_MS, decodedAudio, decodedSource, pcmOf;
|
|
307011
307007
|
var init_audio_decode = __esm({
|
|
307012
307008
|
"lib/motion/audio-decode.ts"() {
|
|
307013
|
-
"use strict";
|
|
307014
307009
|
init_media_store();
|
|
307015
307010
|
init_audio_plan();
|
|
307016
307011
|
init_time_stretch();
|
|
@@ -313061,7 +313056,6 @@ function applyTextPath(layout2, path, tp, rebase = true) {
|
|
|
313061
313056
|
var defaultCircleRadius, ownsPath, mapPoint;
|
|
313062
313057
|
var init_text_path = __esm({
|
|
313063
313058
|
"lib/engine/text/text-path.ts"() {
|
|
313064
|
-
"use strict";
|
|
313065
313059
|
init_scene_graph();
|
|
313066
313060
|
init_transform();
|
|
313067
313061
|
init_shape_to_path();
|
|
@@ -313179,7 +313173,6 @@ function areaBounds(rings) {
|
|
|
313179
313173
|
}
|
|
313180
313174
|
var init_text_area = __esm({
|
|
313181
313175
|
"lib/engine/text/text-area.ts"() {
|
|
313182
|
-
"use strict";
|
|
313183
313176
|
}
|
|
313184
313177
|
});
|
|
313185
313178
|
|
|
@@ -328832,7 +328825,7 @@ var init_package = __esm({
|
|
|
328832
328825
|
"packages/runtime/package.json"() {
|
|
328833
328826
|
package_default = {
|
|
328834
328827
|
name: "@popcraft/runtime",
|
|
328835
|
-
version: "0.53.
|
|
328828
|
+
version: "0.53.13",
|
|
328836
328829
|
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.",
|
|
328837
328830
|
license: "MIT",
|
|
328838
328831
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -401410,7 +401403,6 @@ function record(source, namespaces, globals, limits) {
|
|
|
401410
401403
|
var HELPER_NAMES;
|
|
401411
401404
|
var init_helper_names = __esm({
|
|
401412
401405
|
"lib/agent/design-script/helper-names.ts"() {
|
|
401413
|
-
"use strict";
|
|
401414
401406
|
HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
|
|
401415
401407
|
}
|
|
401416
401408
|
});
|
|
@@ -401793,7 +401785,6 @@ function designRecorder() {
|
|
|
401793
401785
|
var installed2;
|
|
401794
401786
|
var init_recorders = __esm({
|
|
401795
401787
|
"lib/agent/design-script/recorders.ts"() {
|
|
401796
|
-
"use strict";
|
|
401797
401788
|
installed2 = null;
|
|
401798
401789
|
}
|
|
401799
401790
|
});
|
|
@@ -414429,7 +414420,7 @@ init_resources();
|
|
|
414429
414420
|
init_desktop();
|
|
414430
414421
|
init_hypery();
|
|
414431
414422
|
import { createInterface } from "node:readline";
|
|
414432
|
-
var VERSION2 = "0.53.
|
|
414423
|
+
var VERSION2 = "0.53.13";
|
|
414433
414424
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
414434
414425
|
|
|
414435
414426
|
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.13",
|
|
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.13"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|