@popcraft/cli 0.53.19 → 0.53.20
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 -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.20"}`, ...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 {
|
|
@@ -29217,7 +29217,6 @@ function selectionWorldBounds(nodes, ids2, scrollState) {
|
|
|
29217
29217
|
}
|
|
29218
29218
|
var init_selection_bounds = __esm({
|
|
29219
29219
|
"lib/editor/selection-bounds.ts"() {
|
|
29220
|
-
"use strict";
|
|
29221
29220
|
init_scene_graph();
|
|
29222
29221
|
init_transform();
|
|
29223
29222
|
}
|
|
@@ -244373,6 +244372,7 @@ function hasMessage(key5) {
|
|
|
244373
244372
|
var current2, loading2, listeners, formats, asts;
|
|
244374
244373
|
var init_runtime = __esm({
|
|
244375
244374
|
"lib/i18n/runtime.ts"() {
|
|
244375
|
+
"use strict";
|
|
244376
244376
|
init_intl_messageformat();
|
|
244377
244377
|
init_icu_messageformat_parser();
|
|
244378
244378
|
init_catalogs();
|
|
@@ -246075,6 +246075,7 @@ function repairDocumentPaints(doc2) {
|
|
|
246075
246075
|
var broken;
|
|
246076
246076
|
var init_paint_repair = __esm({
|
|
246077
246077
|
"lib/document/paint-repair.ts"() {
|
|
246078
|
+
"use strict";
|
|
246078
246079
|
init_shader_graph();
|
|
246079
246080
|
broken = (p2) => {
|
|
246080
246081
|
if (!p2 || typeof p2 !== "object") return false;
|
|
@@ -251505,7 +251506,6 @@ function repairCompositions(comps, nodes) {
|
|
|
251505
251506
|
var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
|
|
251506
251507
|
var init_invariants = __esm({
|
|
251507
251508
|
"lib/motion/invariants.ts"() {
|
|
251508
|
-
"use strict";
|
|
251509
251509
|
init_easing();
|
|
251510
251510
|
init_properties();
|
|
251511
251511
|
init_markers();
|
|
@@ -261894,6 +261894,7 @@ function retuneShaderAudio(node2, fillId) {
|
|
|
261894
261894
|
}
|
|
261895
261895
|
var init_shader_audio = __esm({
|
|
261896
261896
|
"lib/motion/shader-audio.ts"() {
|
|
261897
|
+
"use strict";
|
|
261897
261898
|
init_shader_params();
|
|
261898
261899
|
init_modifier_edit();
|
|
261899
261900
|
init_keys();
|
|
@@ -264461,7 +264462,6 @@ function planEntryAction({ home }) {
|
|
|
264461
264462
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
264462
264463
|
var init_team = __esm({
|
|
264463
264464
|
"lib/client/cloud/team.ts"() {
|
|
264464
|
-
"use strict";
|
|
264465
264465
|
init_esm();
|
|
264466
264466
|
init_api4();
|
|
264467
264467
|
init_session();
|
|
@@ -308127,6 +308127,7 @@ function decodeSource(key5, label3) {
|
|
|
308127
308127
|
var DECODE_CACHE_BYTES, cache7, pending4, held, sizeOf, lengths, decodedLengths, DECODE_TIMEOUT_MS, decodedAudio, decodedSource, pcmOf;
|
|
308128
308128
|
var init_audio_decode = __esm({
|
|
308129
308129
|
"lib/motion/audio-decode.ts"() {
|
|
308130
|
+
"use strict";
|
|
308130
308131
|
init_media_store();
|
|
308131
308132
|
init_audio_plan();
|
|
308132
308133
|
init_time_stretch();
|
|
@@ -314201,6 +314202,7 @@ function applyTextPath(layout2, path, tp, rebase = true) {
|
|
|
314201
314202
|
var defaultCircleRadius, ownsPath, mapPoint;
|
|
314202
314203
|
var init_text_path = __esm({
|
|
314203
314204
|
"lib/engine/text/text-path.ts"() {
|
|
314205
|
+
"use strict";
|
|
314204
314206
|
init_scene_graph();
|
|
314205
314207
|
init_transform();
|
|
314206
314208
|
init_shape_to_path();
|
|
@@ -314318,6 +314320,7 @@ function areaBounds(rings) {
|
|
|
314318
314320
|
}
|
|
314319
314321
|
var init_text_area = __esm({
|
|
314320
314322
|
"lib/engine/text/text-area.ts"() {
|
|
314323
|
+
"use strict";
|
|
314321
314324
|
}
|
|
314322
314325
|
});
|
|
314323
314326
|
|
|
@@ -319359,6 +319362,7 @@ function agentToolList() {
|
|
|
319359
319362
|
var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
|
|
319360
319363
|
var init_agent = __esm({
|
|
319361
319364
|
"lib/commands/agent.ts"() {
|
|
319365
|
+
"use strict";
|
|
319362
319366
|
init_types5();
|
|
319363
319367
|
init_registry();
|
|
319364
319368
|
init_errors();
|
|
@@ -329744,7 +329748,7 @@ var init_package = __esm({
|
|
|
329744
329748
|
"packages/runtime/package.json"() {
|
|
329745
329749
|
package_default = {
|
|
329746
329750
|
name: "@popcraft/runtime",
|
|
329747
|
-
version: "0.53.
|
|
329751
|
+
version: "0.53.20",
|
|
329748
329752
|
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
329753
|
license: "MIT",
|
|
329750
329754
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -354410,6 +354414,7 @@ function exportsOf(source3) {
|
|
|
354410
354414
|
var CODE_LIMITS, packageOf;
|
|
354411
354415
|
var init_source2 = __esm({
|
|
354412
354416
|
"lib/code/source.ts"() {
|
|
354417
|
+
"use strict";
|
|
354413
354418
|
CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
|
|
354414
354419
|
packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
|
|
354415
354420
|
}
|
|
@@ -368408,6 +368413,7 @@ var init_doc2 = __esm({
|
|
|
368408
368413
|
var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
|
|
368409
368414
|
var init_motion3 = __esm({
|
|
368410
368415
|
"lib/marketplace/motion.ts"() {
|
|
368416
|
+
"use strict";
|
|
368411
368417
|
init_instances2();
|
|
368412
368418
|
POSTER_KEY = "poster";
|
|
368413
368419
|
MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
|
|
@@ -401855,7 +401861,6 @@ function placeDesign(doc2, built, source3, size6, name2, at4) {
|
|
|
401855
401861
|
var DESIGN_NAMESPACES, DERIVED2, templateOfBuild;
|
|
401856
401862
|
var init_build3 = __esm({
|
|
401857
401863
|
"lib/agent/design-script/build.ts"() {
|
|
401858
|
-
"use strict";
|
|
401859
401864
|
init_hash();
|
|
401860
401865
|
init_scene_graph();
|
|
401861
401866
|
init_libraries();
|
|
@@ -401885,7 +401890,6 @@ function designFrameOf(doc2, id3) {
|
|
|
401885
401890
|
}
|
|
401886
401891
|
var init_locate = __esm({
|
|
401887
401892
|
"lib/agent/design-script/locate.ts"() {
|
|
401888
|
-
"use strict";
|
|
401889
401893
|
}
|
|
401890
401894
|
});
|
|
401891
401895
|
|
|
@@ -414651,7 +414655,7 @@ init_resources();
|
|
|
414651
414655
|
init_desktop();
|
|
414652
414656
|
init_hypery();
|
|
414653
414657
|
import { createInterface } from "node:readline";
|
|
414654
|
-
var VERSION2 = "0.53.
|
|
414658
|
+
var VERSION2 = "0.53.20";
|
|
414655
414659
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
414656
414660
|
|
|
414657
414661
|
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.20",
|
|
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.20"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|