@popcraft/cli 0.56.2 → 0.56.3
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 -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.56.
|
|
1201
|
+
const headers = { "user-agent": `popcraft-cli/${"0.56.3"}`, ...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 {
|
|
@@ -29244,6 +29244,7 @@ function selectionWorldBounds(nodes, ids2, scrollState) {
|
|
|
29244
29244
|
}
|
|
29245
29245
|
var init_selection_bounds = __esm({
|
|
29246
29246
|
"lib/editor/selection-bounds.ts"() {
|
|
29247
|
+
"use strict";
|
|
29247
29248
|
init_scene_graph();
|
|
29248
29249
|
init_transform();
|
|
29249
29250
|
}
|
|
@@ -172955,7 +172956,6 @@ function releaseMediaMemory(hash3) {
|
|
|
172955
172956
|
var key2, peaksKey, objectUrls, sourceKey, remoteResolver, MEDIA_FETCH_TIMEOUT_MS, SHIPPED_MEDIA_PATH, notShipped, MEDIA_SCHEME, isImageDataUrl, memory, pendingLoads, sourceAliases, PAINT_KEYS, URL_KEYS;
|
|
172956
172957
|
var init_media_store = __esm({
|
|
172957
172958
|
"lib/storage/media-store.ts"() {
|
|
172958
|
-
"use strict";
|
|
172959
172959
|
init_media_types();
|
|
172960
172960
|
init_idb();
|
|
172961
172961
|
init_media_hash();
|
|
@@ -254086,7 +254086,6 @@ function repairDocumentPaints(doc2) {
|
|
|
254086
254086
|
var broken;
|
|
254087
254087
|
var init_paint_repair = __esm({
|
|
254088
254088
|
"lib/document/paint-repair.ts"() {
|
|
254089
|
-
"use strict";
|
|
254090
254089
|
init_shader_graph();
|
|
254091
254090
|
broken = (p2) => {
|
|
254092
254091
|
if (!p2 || typeof p2 !== "object") return false;
|
|
@@ -255427,6 +255426,7 @@ function isAutoLayout(node2) {
|
|
|
255427
255426
|
}
|
|
255428
255427
|
var init_auto_layout = __esm({
|
|
255429
255428
|
"lib/document/auto-layout.ts"() {
|
|
255429
|
+
"use strict";
|
|
255430
255430
|
init_instance_layout();
|
|
255431
255431
|
setLayoutEngine(applyAutoLayout);
|
|
255432
255432
|
}
|
|
@@ -272809,6 +272809,7 @@ function formatLimit(key5, max3) {
|
|
|
272809
272809
|
var formatBytes;
|
|
272810
272810
|
var init_limits2 = __esm({
|
|
272811
272811
|
"lib/billing/limits.ts"() {
|
|
272812
|
+
"use strict";
|
|
272812
272813
|
init_format();
|
|
272813
272814
|
init_plans();
|
|
272814
272815
|
formatBytes = formatFileSize;
|
|
@@ -273354,6 +273355,7 @@ function planEntryAction({ home }) {
|
|
|
273354
273355
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
273355
273356
|
var init_team = __esm({
|
|
273356
273357
|
"lib/client/cloud/team.ts"() {
|
|
273358
|
+
"use strict";
|
|
273357
273359
|
init_esm();
|
|
273358
273360
|
init_api4();
|
|
273359
273361
|
init_session();
|
|
@@ -322213,7 +322215,6 @@ function startCloudSync() {
|
|
|
322213
322215
|
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;
|
|
322214
322216
|
var init_sync2 = __esm({
|
|
322215
322217
|
"lib/client/cloud/sync.ts"() {
|
|
322216
|
-
"use strict";
|
|
322217
322218
|
init_kinds();
|
|
322218
322219
|
init_paint_repair();
|
|
322219
322220
|
init_migrate();
|
|
@@ -322425,7 +322426,6 @@ async function dispatchShaped(key5, options) {
|
|
|
322425
322426
|
var onViolation;
|
|
322426
322427
|
var init_dispatch = __esm({
|
|
322427
322428
|
"lib/commands/dispatch.ts"() {
|
|
322428
|
-
"use strict";
|
|
322429
322429
|
init_errors();
|
|
322430
322430
|
init_registry();
|
|
322431
322431
|
init_confirm();
|
|
@@ -323605,7 +323605,6 @@ function areaBounds(rings) {
|
|
|
323605
323605
|
}
|
|
323606
323606
|
var init_text_area = __esm({
|
|
323607
323607
|
"lib/engine/text/text-area.ts"() {
|
|
323608
|
-
"use strict";
|
|
323609
323608
|
}
|
|
323610
323609
|
});
|
|
323611
323610
|
|
|
@@ -327738,6 +327737,7 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
|
|
|
327738
327737
|
var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
|
|
327739
327738
|
var init_reference_images = __esm({
|
|
327740
327739
|
"lib/ai/reference-images.ts"() {
|
|
327740
|
+
"use strict";
|
|
327741
327741
|
init_export();
|
|
327742
327742
|
init_selection_bounds();
|
|
327743
327743
|
init_renderer_registry();
|
|
@@ -338640,7 +338640,7 @@ var init_package = __esm({
|
|
|
338640
338640
|
"packages/runtime/package.json"() {
|
|
338641
338641
|
package_default = {
|
|
338642
338642
|
name: "@popcraft/runtime",
|
|
338643
|
-
version: "0.56.
|
|
338643
|
+
version: "0.56.3",
|
|
338644
338644
|
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.",
|
|
338645
338645
|
license: "MIT",
|
|
338646
338646
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -373453,7 +373453,6 @@ var init_source_monitor = __esm({
|
|
|
373453
373453
|
var storeOpsSeam;
|
|
373454
373454
|
var init_seams = __esm({
|
|
373455
373455
|
"lib/commands/seams.ts"() {
|
|
373456
|
-
"use strict";
|
|
373457
373456
|
storeOpsSeam = (st3) => ({
|
|
373458
373457
|
booleanOperation: (op4) => st3().booleanOperation(op4),
|
|
373459
373458
|
flatten: () => st3().flattenSelection(),
|
|
@@ -378981,7 +378980,6 @@ var init_doc2 = __esm({
|
|
|
378981
378980
|
var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
|
|
378982
378981
|
var init_motion3 = __esm({
|
|
378983
378982
|
"lib/marketplace/motion.ts"() {
|
|
378984
|
-
"use strict";
|
|
378985
378983
|
init_instances2();
|
|
378986
378984
|
POSTER_KEY = "poster";
|
|
378987
378985
|
MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
|
|
@@ -412429,7 +412427,6 @@ function placeDesign(doc2, built, source3, size6, name2, at5) {
|
|
|
412429
412427
|
var DESIGN_NAMESPACES, DERIVED2, templateOfBuild;
|
|
412430
412428
|
var init_build3 = __esm({
|
|
412431
412429
|
"lib/agent/design-script/build.ts"() {
|
|
412432
|
-
"use strict";
|
|
412433
412430
|
init_hash();
|
|
412434
412431
|
init_scene_graph();
|
|
412435
412432
|
init_libraries();
|
|
@@ -412459,7 +412456,6 @@ function designFrameOf(doc2, id3) {
|
|
|
412459
412456
|
}
|
|
412460
412457
|
var init_locate = __esm({
|
|
412461
412458
|
"lib/agent/design-script/locate.ts"() {
|
|
412462
|
-
"use strict";
|
|
412463
412459
|
}
|
|
412464
412460
|
});
|
|
412465
412461
|
|
|
@@ -417656,7 +417652,6 @@ function registerBuiltinCommands() {
|
|
|
417656
417652
|
var builtinCommands, uiOnlyCommands;
|
|
417657
417653
|
var init_builtin4 = __esm({
|
|
417658
417654
|
"lib/commands/builtin.ts"() {
|
|
417659
|
-
"use strict";
|
|
417660
417655
|
init_registry();
|
|
417661
417656
|
init_node();
|
|
417662
417657
|
init_node();
|
|
@@ -425262,7 +425257,7 @@ init_resources();
|
|
|
425262
425257
|
init_desktop();
|
|
425263
425258
|
init_hypery();
|
|
425264
425259
|
import { createInterface } from "node:readline";
|
|
425265
|
-
var VERSION2 = "0.56.
|
|
425260
|
+
var VERSION2 = "0.56.3";
|
|
425266
425261
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
425267
425262
|
|
|
425268
425263
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.3",
|
|
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.
|
|
37
|
+
"@popcraft/kit": "0.56.3"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|