@popcraft/cli 0.56.0 → 0.56.1
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 +6 -10
- 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.1"}`, ...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 {
|
|
@@ -172574,7 +172574,6 @@ async function sha256Prefix(bytes2) {
|
|
|
172574
172574
|
}
|
|
172575
172575
|
var init_media_hash = __esm({
|
|
172576
172576
|
"lib/storage/media-hash.ts"() {
|
|
172577
|
-
"use strict";
|
|
172578
172577
|
}
|
|
172579
172578
|
});
|
|
172580
172579
|
|
|
@@ -172957,7 +172956,6 @@ function releaseMediaMemory(hash3) {
|
|
|
172957
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;
|
|
172958
172957
|
var init_media_store = __esm({
|
|
172959
172958
|
"lib/storage/media-store.ts"() {
|
|
172960
|
-
"use strict";
|
|
172961
172959
|
init_media_types();
|
|
172962
172960
|
init_idb();
|
|
172963
172961
|
init_media_hash();
|
|
@@ -252385,6 +252383,7 @@ function hasMessage(key5) {
|
|
|
252385
252383
|
var current3, loading2, listeners2, formats, asts;
|
|
252386
252384
|
var init_runtime = __esm({
|
|
252387
252385
|
"lib/i18n/runtime.ts"() {
|
|
252386
|
+
"use strict";
|
|
252388
252387
|
init_intl_messageformat();
|
|
252389
252388
|
init_icu_messageformat_parser();
|
|
252390
252389
|
init_catalogs();
|
|
@@ -254087,6 +254086,7 @@ function repairDocumentPaints(doc2) {
|
|
|
254087
254086
|
var broken;
|
|
254088
254087
|
var init_paint_repair = __esm({
|
|
254089
254088
|
"lib/document/paint-repair.ts"() {
|
|
254089
|
+
"use strict";
|
|
254090
254090
|
init_shader_graph();
|
|
254091
254091
|
broken = (p2) => {
|
|
254092
254092
|
if (!p2 || typeof p2 !== "object") return false;
|
|
@@ -260366,7 +260366,6 @@ function repairFx(raw) {
|
|
|
260366
260366
|
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;
|
|
260367
260367
|
var init_invariants = __esm({
|
|
260368
260368
|
"lib/motion/invariants.ts"() {
|
|
260369
|
-
"use strict";
|
|
260370
260369
|
init_adjustments();
|
|
260371
260370
|
init_captions();
|
|
260372
260371
|
init_lut();
|
|
@@ -261504,7 +261503,6 @@ function beforeWrite() {
|
|
|
261504
261503
|
var leave;
|
|
261505
261504
|
var init_read_only = __esm({
|
|
261506
261505
|
"lib/editor/modes/read-only.ts"() {
|
|
261507
|
-
"use strict";
|
|
261508
261506
|
leave = null;
|
|
261509
261507
|
}
|
|
261510
261508
|
});
|
|
@@ -267171,7 +267169,6 @@ function followPeers(peers) {
|
|
|
267171
267169
|
var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
|
|
267172
267170
|
var init_presence = __esm({
|
|
267173
267171
|
"lib/collab/presence.ts"() {
|
|
267174
|
-
"use strict";
|
|
267175
267172
|
init_esm();
|
|
267176
267173
|
init_editor_store();
|
|
267177
267174
|
init_status_announcements();
|
|
@@ -272719,7 +272716,6 @@ function networkSignal(signal, timeoutMs = NETWORK_TIMEOUT_MS) {
|
|
|
272719
272716
|
var import_react3, NETWORK_TIMEOUT_MS, OfflineError;
|
|
272720
272717
|
var init_network = __esm({
|
|
272721
272718
|
"lib/client/network.ts"() {
|
|
272722
|
-
"use strict";
|
|
272723
272719
|
import_react3 = __toESM(require_react());
|
|
272724
272720
|
NETWORK_TIMEOUT_MS = 8e3;
|
|
272725
272721
|
OfflineError = class extends Error {
|
|
@@ -273361,7 +273357,6 @@ function planEntryAction({ home }) {
|
|
|
273361
273357
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
273362
273358
|
var init_team = __esm({
|
|
273363
273359
|
"lib/client/cloud/team.ts"() {
|
|
273364
|
-
"use strict";
|
|
273365
273360
|
init_esm();
|
|
273366
273361
|
init_api4();
|
|
273367
273362
|
init_session();
|
|
@@ -322221,6 +322216,7 @@ function startCloudSync() {
|
|
|
322221
322216
|
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;
|
|
322222
322217
|
var init_sync2 = __esm({
|
|
322223
322218
|
"lib/client/cloud/sync.ts"() {
|
|
322219
|
+
"use strict";
|
|
322224
322220
|
init_kinds();
|
|
322225
322221
|
init_paint_repair();
|
|
322226
322222
|
init_migrate();
|
|
@@ -338645,7 +338641,7 @@ var init_package = __esm({
|
|
|
338645
338641
|
"packages/runtime/package.json"() {
|
|
338646
338642
|
package_default = {
|
|
338647
338643
|
name: "@popcraft/runtime",
|
|
338648
|
-
version: "0.56.
|
|
338644
|
+
version: "0.56.1",
|
|
338649
338645
|
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.",
|
|
338650
338646
|
license: "MIT",
|
|
338651
338647
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -425263,7 +425259,7 @@ init_resources();
|
|
|
425263
425259
|
init_desktop();
|
|
425264
425260
|
init_hypery();
|
|
425265
425261
|
import { createInterface } from "node:readline";
|
|
425266
|
-
var VERSION2 = "0.56.
|
|
425262
|
+
var VERSION2 = "0.56.1";
|
|
425267
425263
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
425268
425264
|
|
|
425269
425265
|
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.1",
|
|
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.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|