@popcraft/cli 0.42.7 → 0.43.0
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 -12
- package/package.json +2 -2
package/dist/popcraft.mjs
CHANGED
|
@@ -1196,7 +1196,7 @@ function operations(spec = openapi) {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
async function call(target2, method, path, opts = {}) {
|
|
1198
1198
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1199
|
-
const headers = { "user-agent": `popcraft-cli/${"0.
|
|
1199
|
+
const headers = { "user-agent": `popcraft-cli/${"0.43.0"}`, ...opts.headers };
|
|
1200
1200
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1201
1201
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1202
1202
|
try {
|
|
@@ -96827,6 +96827,7 @@ function releaseMediaMemory(hash3) {
|
|
|
96827
96827
|
var key2, peaksKey, objectUrls, sourceKey, remoteResolver, MEDIA_FETCH_TIMEOUT_MS, SHIPPED_MEDIA_PATH, notShipped, MEDIA_SCHEME, isImageDataUrl, memory, pendingLoads, sourceAliases, PAINT_KEYS, URL_KEYS;
|
|
96828
96828
|
var init_media_store = __esm({
|
|
96829
96829
|
"lib/storage/media-store.ts"() {
|
|
96830
|
+
"use strict";
|
|
96830
96831
|
init_media_types();
|
|
96831
96832
|
init_idb();
|
|
96832
96833
|
init_media_hash();
|
|
@@ -248865,7 +248866,6 @@ function fillPhotoFrame(doc2, groupId, imageUrl, size6, name2 = "Photo", credit)
|
|
|
248865
248866
|
var isPhotoFrame;
|
|
248866
248867
|
var init_photo_frames = __esm({
|
|
248867
248868
|
"lib/document/photo-frames.ts"() {
|
|
248868
|
-
"use strict";
|
|
248869
248869
|
init_dist_node();
|
|
248870
248870
|
init_scene_graph();
|
|
248871
248871
|
init_types();
|
|
@@ -252419,7 +252419,6 @@ function resizeWindow(doc2, target2, rect) {
|
|
|
252419
252419
|
}
|
|
252420
252420
|
var init_crop = __esm({
|
|
252421
252421
|
"lib/editor/crop.ts"() {
|
|
252422
|
-
"use strict";
|
|
252423
252422
|
init_dist_node();
|
|
252424
252423
|
init_scene_graph();
|
|
252425
252424
|
init_photo_frames();
|
|
@@ -256908,7 +256907,6 @@ function followPeers(peers) {
|
|
|
256908
256907
|
var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
|
|
256909
256908
|
var init_presence = __esm({
|
|
256910
256909
|
"lib/collab/presence.ts"() {
|
|
256911
|
-
"use strict";
|
|
256912
256910
|
init_esm();
|
|
256913
256911
|
init_editor_store();
|
|
256914
256912
|
init_status_announcements();
|
|
@@ -262408,6 +262406,7 @@ function formatLimit(key5, max3) {
|
|
|
262408
262406
|
var formatBytes;
|
|
262409
262407
|
var init_limits2 = __esm({
|
|
262410
262408
|
"lib/billing/limits.ts"() {
|
|
262409
|
+
"use strict";
|
|
262411
262410
|
init_format();
|
|
262412
262411
|
init_plans();
|
|
262413
262412
|
formatBytes = formatFileSize;
|
|
@@ -262939,6 +262938,7 @@ function planEntryAction({ home }) {
|
|
|
262939
262938
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
262940
262939
|
var init_team = __esm({
|
|
262941
262940
|
"lib/client/cloud/team.ts"() {
|
|
262941
|
+
"use strict";
|
|
262942
262942
|
init_esm();
|
|
262943
262943
|
init_api4();
|
|
262944
262944
|
init_session();
|
|
@@ -311277,6 +311277,7 @@ function startCloudSync() {
|
|
|
311277
311277
|
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, started2;
|
|
311278
311278
|
var init_sync2 = __esm({
|
|
311279
311279
|
"lib/client/cloud/sync.ts"() {
|
|
311280
|
+
"use strict";
|
|
311280
311281
|
init_paint_repair();
|
|
311281
311282
|
init_migrate();
|
|
311282
311283
|
init_view();
|
|
@@ -311483,7 +311484,6 @@ async function dispatchShaped(key5, options) {
|
|
|
311483
311484
|
var onViolation;
|
|
311484
311485
|
var init_dispatch = __esm({
|
|
311485
311486
|
"lib/commands/dispatch.ts"() {
|
|
311486
|
-
"use strict";
|
|
311487
311487
|
init_errors();
|
|
311488
311488
|
init_registry();
|
|
311489
311489
|
init_confirm();
|
|
@@ -311882,7 +311882,6 @@ function creditLine(c2) {
|
|
|
311882
311882
|
var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
|
|
311883
311883
|
var init_stock = __esm({
|
|
311884
311884
|
"lib/photos/stock.ts"() {
|
|
311885
|
-
"use strict";
|
|
311886
311885
|
MAX_PHOTO_PAGE = 12;
|
|
311887
311886
|
MAX_PHOTO_QUERY = 200;
|
|
311888
311887
|
UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
@@ -327805,7 +327804,7 @@ var init_package = __esm({
|
|
|
327805
327804
|
"packages/runtime/package.json"() {
|
|
327806
327805
|
package_default = {
|
|
327807
327806
|
name: "@popcraft/runtime",
|
|
327808
|
-
version: "0.
|
|
327807
|
+
version: "0.43.0",
|
|
327809
327808
|
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.",
|
|
327810
327809
|
license: "MIT",
|
|
327811
327810
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -361555,7 +361554,6 @@ var init_delete_current_file = __esm({
|
|
|
361555
361554
|
var storeOpsSeam;
|
|
361556
361555
|
var init_seams = __esm({
|
|
361557
361556
|
"lib/commands/seams.ts"() {
|
|
361558
|
-
"use strict";
|
|
361559
361557
|
storeOpsSeam = (st) => ({
|
|
361560
361558
|
booleanOperation: (op4) => st().booleanOperation(op4),
|
|
361561
361559
|
flatten: () => st().flattenSelection(),
|
|
@@ -400566,7 +400564,6 @@ function placeDesign(doc2, built, source3, size6, name2, at4) {
|
|
|
400566
400564
|
var DESIGN_NAMESPACES, DERIVED2, templateOfBuild;
|
|
400567
400565
|
var init_build3 = __esm({
|
|
400568
400566
|
"lib/agent/design-script/build.ts"() {
|
|
400569
|
-
"use strict";
|
|
400570
400567
|
init_hash();
|
|
400571
400568
|
init_scene_graph();
|
|
400572
400569
|
init_libraries();
|
|
@@ -400596,7 +400593,6 @@ function designFrameOf(doc2, id3) {
|
|
|
400596
400593
|
}
|
|
400597
400594
|
var init_locate = __esm({
|
|
400598
400595
|
"lib/agent/design-script/locate.ts"() {
|
|
400599
|
-
"use strict";
|
|
400600
400596
|
}
|
|
400601
400597
|
});
|
|
400602
400598
|
|
|
@@ -405771,7 +405767,6 @@ function registerBuiltinCommands() {
|
|
|
405771
405767
|
var builtinCommands, uiOnlyCommands;
|
|
405772
405768
|
var init_builtin4 = __esm({
|
|
405773
405769
|
"lib/commands/builtin.ts"() {
|
|
405774
|
-
"use strict";
|
|
405775
405770
|
init_registry();
|
|
405776
405771
|
init_node();
|
|
405777
405772
|
init_node();
|
|
@@ -413361,7 +413356,7 @@ init_resources();
|
|
|
413361
413356
|
init_desktop();
|
|
413362
413357
|
init_hypery();
|
|
413363
413358
|
import { createInterface } from "node:readline";
|
|
413364
|
-
var VERSION2 = "0.
|
|
413359
|
+
var VERSION2 = "0.43.0";
|
|
413365
413360
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
413366
413361
|
|
|
413367
413362
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.0",
|
|
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.
|
|
37
|
+
"@popcraft/kit": "0.43.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|