@popcraft/cli 0.56.2 → 0.56.4
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 +7 -17
- 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.4"}`, ...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;
|
|
@@ -254686,7 +254685,6 @@ function relinkCopies(doc2, copies) {
|
|
|
254686
254685
|
var TEXT_PATH_SOURCE_TYPES, isPathSource;
|
|
254687
254686
|
var init_text_links = __esm({
|
|
254688
254687
|
"lib/document/text-links.ts"() {
|
|
254689
|
-
"use strict";
|
|
254690
254688
|
init_transform();
|
|
254691
254689
|
TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
|
|
254692
254690
|
isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
|
|
@@ -255427,6 +255425,7 @@ function isAutoLayout(node2) {
|
|
|
255427
255425
|
}
|
|
255428
255426
|
var init_auto_layout = __esm({
|
|
255429
255427
|
"lib/document/auto-layout.ts"() {
|
|
255428
|
+
"use strict";
|
|
255430
255429
|
init_instance_layout();
|
|
255431
255430
|
setLayoutEngine(applyAutoLayout);
|
|
255432
255431
|
}
|
|
@@ -260365,6 +260364,7 @@ function repairFx(raw) {
|
|
|
260365
260364
|
var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH, LAYER_KINDS, ADJUSTMENT_TYPES, OPACITY_PROPERTY, CAPTION_PRESET_NAMES, inRange;
|
|
260366
260365
|
var init_invariants = __esm({
|
|
260367
260366
|
"lib/motion/invariants.ts"() {
|
|
260367
|
+
"use strict";
|
|
260368
260368
|
init_adjustments();
|
|
260369
260369
|
init_captions();
|
|
260370
260370
|
init_lut();
|
|
@@ -261352,7 +261352,6 @@ function fillPhotoFrame(doc2, groupId, imageUrl, size6, name2 = "Photo", credit)
|
|
|
261352
261352
|
var isPhotoFrame;
|
|
261353
261353
|
var init_photo_frames = __esm({
|
|
261354
261354
|
"lib/document/photo-frames.ts"() {
|
|
261355
|
-
"use strict";
|
|
261356
261355
|
init_dist_node();
|
|
261357
261356
|
init_scene_graph();
|
|
261358
261357
|
init_types();
|
|
@@ -266203,7 +266202,6 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
|
|
|
266203
266202
|
var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
|
|
266204
266203
|
var init_shader_presets = __esm({
|
|
266205
266204
|
"lib/engine/shader-presets.ts"() {
|
|
266206
|
-
"use strict";
|
|
266207
266205
|
init_shader_graph();
|
|
266208
266206
|
init_shader_graph_presets();
|
|
266209
266207
|
init_shader_presets_legacy();
|
|
@@ -270746,7 +270744,6 @@ function retuneShaderAudio(node2, fillId) {
|
|
|
270746
270744
|
}
|
|
270747
270745
|
var init_shader_audio = __esm({
|
|
270748
270746
|
"lib/motion/shader-audio.ts"() {
|
|
270749
|
-
"use strict";
|
|
270750
270747
|
init_shader_params();
|
|
270751
270748
|
init_modifier_edit();
|
|
270752
270749
|
init_keys();
|
|
@@ -272789,7 +272786,6 @@ function formatDate(date5, opts = { month: "short", day: "numeric", year: "numer
|
|
|
272789
272786
|
var cache5, nf;
|
|
272790
272787
|
var init_format = __esm({
|
|
272791
272788
|
"lib/i18n/format.ts"() {
|
|
272792
|
-
"use strict";
|
|
272793
272789
|
init_runtime();
|
|
272794
272790
|
cache5 = /* @__PURE__ */ new Map();
|
|
272795
272791
|
nf = (opts) => cached2("n", opts, (l) => new Intl.NumberFormat(l, opts));
|
|
@@ -273354,6 +273350,7 @@ function planEntryAction({ home }) {
|
|
|
273354
273350
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
273355
273351
|
var init_team = __esm({
|
|
273356
273352
|
"lib/client/cloud/team.ts"() {
|
|
273353
|
+
"use strict";
|
|
273357
273354
|
init_esm();
|
|
273358
273355
|
init_api4();
|
|
273359
273356
|
init_session();
|
|
@@ -317020,7 +317017,6 @@ function decodeSource(key5, label3) {
|
|
|
317020
317017
|
var DECODE_CACHE_BYTES, cache7, pending4, held, sizeOf, lengths, decodedLengths, DECODE_TIMEOUT_MS, decodedAudio, decodedSource, pcmOf;
|
|
317021
317018
|
var init_audio_decode = __esm({
|
|
317022
317019
|
"lib/motion/audio-decode.ts"() {
|
|
317023
|
-
"use strict";
|
|
317024
317020
|
init_media_store();
|
|
317025
317021
|
init_audio_plan();
|
|
317026
317022
|
init_time_stretch();
|
|
@@ -322213,7 +322209,6 @@ function startCloudSync() {
|
|
|
322213
322209
|
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
322210
|
var init_sync2 = __esm({
|
|
322215
322211
|
"lib/client/cloud/sync.ts"() {
|
|
322216
|
-
"use strict";
|
|
322217
322212
|
init_kinds();
|
|
322218
322213
|
init_paint_repair();
|
|
322219
322214
|
init_migrate();
|
|
@@ -322425,7 +322420,6 @@ async function dispatchShaped(key5, options) {
|
|
|
322425
322420
|
var onViolation;
|
|
322426
322421
|
var init_dispatch = __esm({
|
|
322427
322422
|
"lib/commands/dispatch.ts"() {
|
|
322428
|
-
"use strict";
|
|
322429
322423
|
init_errors();
|
|
322430
322424
|
init_registry();
|
|
322431
322425
|
init_confirm();
|
|
@@ -328091,7 +328085,6 @@ function videoPixelSize(resolution, aspect) {
|
|
|
328091
328085
|
var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
|
|
328092
328086
|
var init_video_models = __esm({
|
|
328093
328087
|
"lib/ai/video-models.ts"() {
|
|
328094
|
-
"use strict";
|
|
328095
328088
|
VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
328096
328089
|
VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
|
|
328097
328090
|
SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
@@ -338640,7 +338633,7 @@ var init_package = __esm({
|
|
|
338640
338633
|
"packages/runtime/package.json"() {
|
|
338641
338634
|
package_default = {
|
|
338642
338635
|
name: "@popcraft/runtime",
|
|
338643
|
-
version: "0.56.
|
|
338636
|
+
version: "0.56.4",
|
|
338644
338637
|
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
338638
|
license: "MIT",
|
|
338646
338639
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -372823,7 +372816,6 @@ function publishSite(key5, files, opts = {}) {
|
|
|
372823
372816
|
var siteStatus, setSiteVersion, workspaceSites, deleteSite, renameSite;
|
|
372824
372817
|
var init_sites = __esm({
|
|
372825
372818
|
"lib/client/cloud/sites.ts"() {
|
|
372826
|
-
"use strict";
|
|
372827
372819
|
init_files();
|
|
372828
372820
|
init_upload2();
|
|
372829
372821
|
init_api4();
|
|
@@ -373453,7 +373445,6 @@ var init_source_monitor = __esm({
|
|
|
373453
373445
|
var storeOpsSeam;
|
|
373454
373446
|
var init_seams = __esm({
|
|
373455
373447
|
"lib/commands/seams.ts"() {
|
|
373456
|
-
"use strict";
|
|
373457
373448
|
storeOpsSeam = (st3) => ({
|
|
373458
373449
|
booleanOperation: (op4) => st3().booleanOperation(op4),
|
|
373459
373450
|
flatten: () => st3().flattenSelection(),
|
|
@@ -417656,7 +417647,6 @@ function registerBuiltinCommands() {
|
|
|
417656
417647
|
var builtinCommands, uiOnlyCommands;
|
|
417657
417648
|
var init_builtin4 = __esm({
|
|
417658
417649
|
"lib/commands/builtin.ts"() {
|
|
417659
|
-
"use strict";
|
|
417660
417650
|
init_registry();
|
|
417661
417651
|
init_node();
|
|
417662
417652
|
init_node();
|
|
@@ -425262,7 +425252,7 @@ init_resources();
|
|
|
425262
425252
|
init_desktop();
|
|
425263
425253
|
init_hypery();
|
|
425264
425254
|
import { createInterface } from "node:readline";
|
|
425265
|
-
var VERSION2 = "0.56.
|
|
425255
|
+
var VERSION2 = "0.56.4";
|
|
425266
425256
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
425267
425257
|
|
|
425268
425258
|
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.4",
|
|
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.4"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|