@popcraft/cli 0.55.1 → 0.55.2
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 +9 -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.55.
|
|
1201
|
+
const headers = { "user-agent": `popcraft-cli/${"0.55.2"}`, ...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 {
|
|
@@ -29235,6 +29235,7 @@ function selectionWorldBounds(nodes, ids2, scrollState) {
|
|
|
29235
29235
|
}
|
|
29236
29236
|
var init_selection_bounds = __esm({
|
|
29237
29237
|
"lib/editor/selection-bounds.ts"() {
|
|
29238
|
+
"use strict";
|
|
29238
29239
|
init_scene_graph();
|
|
29239
29240
|
init_transform();
|
|
29240
29241
|
}
|
|
@@ -176231,7 +176232,6 @@ var init_frame_labels = __esm({
|
|
|
176231
176232
|
var MODE_PROFILES, isTimelineMode, FOCUS_PROFILES, MODE_LIST, FOCUS_BY_PRECEDENCE;
|
|
176232
176233
|
var init_registry2 = __esm({
|
|
176233
176234
|
"lib/editor/modes/registry.ts"() {
|
|
176234
|
-
"use strict";
|
|
176235
176235
|
MODE_PROFILES = {
|
|
176236
176236
|
DESIGN: {
|
|
176237
176237
|
id: "DESIGN",
|
|
@@ -250456,7 +250456,6 @@ function relinkCopies(doc2, copies) {
|
|
|
250456
250456
|
var TEXT_PATH_SOURCE_TYPES, isPathSource;
|
|
250457
250457
|
var init_text_links = __esm({
|
|
250458
250458
|
"lib/document/text-links.ts"() {
|
|
250459
|
-
"use strict";
|
|
250460
250459
|
init_transform();
|
|
250461
250460
|
TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
|
|
250462
250461
|
isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
|
|
@@ -262189,7 +262188,6 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
|
|
|
262189
262188
|
var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
|
|
262190
262189
|
var init_shader_presets = __esm({
|
|
262191
262190
|
"lib/engine/shader-presets.ts"() {
|
|
262192
|
-
"use strict";
|
|
262193
262191
|
init_shader_graph();
|
|
262194
262192
|
init_shader_graph_presets();
|
|
262195
262193
|
init_shader_presets_legacy();
|
|
@@ -263993,6 +263991,7 @@ async function docExists(id3) {
|
|
|
263993
263991
|
var INDEX_KEY, docKey, thumbKey, THUMB_MAX_BYTES, THUMB_TYPES, LEGACY_DATA_URL, migrating, SPLIT_LAYOUT, nodeKey, WRITER, persisted, saving, deletedHere, keyval, keyvalStore;
|
|
263994
263992
|
var init_document_library = __esm({
|
|
263995
263993
|
"lib/storage/document-library.ts"() {
|
|
263994
|
+
"use strict";
|
|
263996
263995
|
init_idb();
|
|
263997
263996
|
init_media_types();
|
|
263998
263997
|
init_collapse_duplicates();
|
|
@@ -264064,6 +264063,7 @@ function onTabMessage(fn) {
|
|
|
264064
264063
|
var EDITOR_HOME, localDocPath, cloudFilePath, CHANNEL2, channel2;
|
|
264065
264064
|
var init_tab_mode = __esm({
|
|
264066
264065
|
"lib/desktop/tab-mode.ts"() {
|
|
264066
|
+
"use strict";
|
|
264067
264067
|
EDITOR_HOME = "/home";
|
|
264068
264068
|
localDocPath = (docId) => `${EDITOR_HOME}?doc=${encodeURIComponent(docId)}`;
|
|
264069
264069
|
cloudFilePath = (key5) => `/pop/${encodeURIComponent(key5)}`;
|
|
@@ -266471,7 +266471,6 @@ function retuneShaderAudio(node2, fillId) {
|
|
|
266471
266471
|
}
|
|
266472
266472
|
var init_shader_audio = __esm({
|
|
266473
266473
|
"lib/motion/shader-audio.ts"() {
|
|
266474
|
-
"use strict";
|
|
266475
266474
|
init_shader_params();
|
|
266476
266475
|
init_modifier_edit();
|
|
266477
266476
|
init_keys();
|
|
@@ -267236,6 +267235,7 @@ function breakpointView(state, doc2 = state.document) {
|
|
|
267236
267235
|
var storedDocument;
|
|
267237
267236
|
var init_view = __esm({
|
|
267238
267237
|
"lib/motion/view.ts"() {
|
|
267238
|
+
"use strict";
|
|
267239
267239
|
init_registry2();
|
|
267240
267240
|
init_motion_slice();
|
|
267241
267241
|
init_transport_clock();
|
|
@@ -268505,7 +268505,6 @@ function formatLimit(key5, max3) {
|
|
|
268505
268505
|
var formatBytes;
|
|
268506
268506
|
var init_limits2 = __esm({
|
|
268507
268507
|
"lib/billing/limits.ts"() {
|
|
268508
|
-
"use strict";
|
|
268509
268508
|
init_format();
|
|
268510
268509
|
init_plans();
|
|
268511
268510
|
formatBytes = formatFileSize;
|
|
@@ -317506,6 +317505,7 @@ function startCloudSync() {
|
|
|
317506
317505
|
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;
|
|
317507
317506
|
var init_sync2 = __esm({
|
|
317508
317507
|
"lib/client/cloud/sync.ts"() {
|
|
317508
|
+
"use strict";
|
|
317509
317509
|
init_kinds();
|
|
317510
317510
|
init_paint_repair();
|
|
317511
317511
|
init_migrate();
|
|
@@ -333996,7 +333996,7 @@ var init_package = __esm({
|
|
|
333996
333996
|
"packages/runtime/package.json"() {
|
|
333997
333997
|
package_default = {
|
|
333998
333998
|
name: "@popcraft/runtime",
|
|
333999
|
-
version: "0.55.
|
|
333999
|
+
version: "0.55.2",
|
|
334000
334000
|
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.",
|
|
334001
334001
|
license: "MIT",
|
|
334002
334002
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -373136,6 +373136,7 @@ var init_doc2 = __esm({
|
|
|
373136
373136
|
var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
|
|
373137
373137
|
var init_motion3 = __esm({
|
|
373138
373138
|
"lib/marketplace/motion.ts"() {
|
|
373139
|
+
"use strict";
|
|
373139
373140
|
init_instances2();
|
|
373140
373141
|
POSTER_KEY = "poster";
|
|
373141
373142
|
MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
|
|
@@ -419410,7 +419411,7 @@ init_resources();
|
|
|
419410
419411
|
init_desktop();
|
|
419411
419412
|
init_hypery();
|
|
419412
419413
|
import { createInterface } from "node:readline";
|
|
419413
|
-
var VERSION2 = "0.55.
|
|
419414
|
+
var VERSION2 = "0.55.2";
|
|
419414
419415
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
419415
419416
|
|
|
419416
419417
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.2",
|
|
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.55.
|
|
37
|
+
"@popcraft/kit": "0.55.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|