@popcraft/cli 0.50.0 → 0.50.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 +8 -11
- 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.50.
|
|
1199
|
+
const headers = { "user-agent": `popcraft-cli/${"0.50.2"}`, ...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 {
|
|
@@ -94512,6 +94512,7 @@ function hasMessage(key5) {
|
|
|
94512
94512
|
var current2, loading, listeners, formats, asts;
|
|
94513
94513
|
var init_runtime = __esm({
|
|
94514
94514
|
"lib/i18n/runtime.ts"() {
|
|
94515
|
+
"use strict";
|
|
94515
94516
|
init_intl_messageformat();
|
|
94516
94517
|
init_icu_messageformat_parser();
|
|
94517
94518
|
init_catalogs();
|
|
@@ -97387,7 +97388,6 @@ function selectionWorldBounds(nodes, ids2, scrollState) {
|
|
|
97387
97388
|
}
|
|
97388
97389
|
var init_selection_bounds = __esm({
|
|
97389
97390
|
"lib/editor/selection-bounds.ts"() {
|
|
97390
|
-
"use strict";
|
|
97391
97391
|
init_scene_graph();
|
|
97392
97392
|
init_transform();
|
|
97393
97393
|
}
|
|
@@ -248028,7 +248028,6 @@ function repairCompositions(comps, nodes) {
|
|
|
248028
248028
|
var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
|
|
248029
248029
|
var init_invariants = __esm({
|
|
248030
248030
|
"lib/motion/invariants.ts"() {
|
|
248031
|
-
"use strict";
|
|
248032
248031
|
init_easing();
|
|
248033
248032
|
init_properties();
|
|
248034
248033
|
init_markers();
|
|
@@ -249151,7 +249150,6 @@ function beforeWrite() {
|
|
|
249151
249150
|
var leave;
|
|
249152
249151
|
var init_read_only = __esm({
|
|
249153
249152
|
"lib/editor/modes/read-only.ts"() {
|
|
249154
|
-
"use strict";
|
|
249155
249153
|
leave = null;
|
|
249156
249154
|
}
|
|
249157
249155
|
});
|
|
@@ -252593,7 +252591,6 @@ function resizeWindow(doc2, target2, rect) {
|
|
|
252593
252591
|
}
|
|
252594
252592
|
var init_crop = __esm({
|
|
252595
252593
|
"lib/editor/crop.ts"() {
|
|
252596
|
-
"use strict";
|
|
252597
252594
|
init_dist_node();
|
|
252598
252595
|
init_scene_graph();
|
|
252599
252596
|
init_photo_frames();
|
|
@@ -253057,7 +253054,6 @@ function getActiveRenderer() {
|
|
|
253057
253054
|
var active;
|
|
253058
253055
|
var init_renderer_registry = __esm({
|
|
253059
253056
|
"lib/engine/renderer-registry.ts"() {
|
|
253060
|
-
"use strict";
|
|
253061
253057
|
active = null;
|
|
253062
253058
|
}
|
|
253063
253059
|
});
|
|
@@ -257090,7 +257086,6 @@ function followPeers(peers) {
|
|
|
257090
257086
|
var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
|
|
257091
257087
|
var init_presence = __esm({
|
|
257092
257088
|
"lib/collab/presence.ts"() {
|
|
257093
|
-
"use strict";
|
|
257094
257089
|
init_esm();
|
|
257095
257090
|
init_editor_store();
|
|
257096
257091
|
init_status_announcements();
|
|
@@ -311658,6 +311653,7 @@ function startCloudSync() {
|
|
|
311658
311653
|
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;
|
|
311659
311654
|
var init_sync2 = __esm({
|
|
311660
311655
|
"lib/client/cloud/sync.ts"() {
|
|
311656
|
+
"use strict";
|
|
311661
311657
|
init_paint_repair();
|
|
311662
311658
|
init_migrate();
|
|
311663
311659
|
init_view();
|
|
@@ -317391,7 +317387,6 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
|
|
|
317391
317387
|
var MIME, DEFAULT_EXPORT, exportSettingsOf;
|
|
317392
317388
|
var init_export = __esm({
|
|
317393
317389
|
"lib/io/export.ts"() {
|
|
317394
|
-
"use strict";
|
|
317395
317390
|
init_download();
|
|
317396
317391
|
init_scene_graph();
|
|
317397
317392
|
init_codecs();
|
|
@@ -317483,7 +317478,6 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
|
|
|
317483
317478
|
var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
|
|
317484
317479
|
var init_reference_images = __esm({
|
|
317485
317480
|
"lib/ai/reference-images.ts"() {
|
|
317486
|
-
"use strict";
|
|
317487
317481
|
init_export();
|
|
317488
317482
|
init_selection_bounds();
|
|
317489
317483
|
init_renderer_registry();
|
|
@@ -318326,6 +318320,7 @@ function agentToolList() {
|
|
|
318326
318320
|
var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
|
|
318327
318321
|
var init_agent = __esm({
|
|
318328
318322
|
"lib/commands/agent.ts"() {
|
|
318323
|
+
"use strict";
|
|
318329
318324
|
init_types5();
|
|
318330
318325
|
init_registry();
|
|
318331
318326
|
init_errors();
|
|
@@ -328480,7 +328475,7 @@ var init_package = __esm({
|
|
|
328480
328475
|
"packages/runtime/package.json"() {
|
|
328481
328476
|
package_default = {
|
|
328482
328477
|
name: "@popcraft/runtime",
|
|
328483
|
-
version: "0.50.
|
|
328478
|
+
version: "0.50.2",
|
|
328484
328479
|
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.",
|
|
328485
328480
|
license: "MIT",
|
|
328486
328481
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -353146,6 +353141,7 @@ function exportsOf(source3) {
|
|
|
353146
353141
|
var CODE_LIMITS, packageOf;
|
|
353147
353142
|
var init_source2 = __esm({
|
|
353148
353143
|
"lib/code/source.ts"() {
|
|
353144
|
+
"use strict";
|
|
353149
353145
|
CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
|
|
353150
353146
|
packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
|
|
353151
353147
|
}
|
|
@@ -353188,6 +353184,7 @@ function compileModule(module2) {
|
|
|
353188
353184
|
var import_sucrase, BUILT_IN, memo4;
|
|
353189
353185
|
var init_compile2 = __esm({
|
|
353190
353186
|
"lib/code/compile.ts"() {
|
|
353187
|
+
"use strict";
|
|
353191
353188
|
import_sucrase = __toESM(require_dist2());
|
|
353192
353189
|
init_source2();
|
|
353193
353190
|
init_source2();
|
|
@@ -414059,7 +414056,7 @@ init_resources();
|
|
|
414059
414056
|
init_desktop();
|
|
414060
414057
|
init_hypery();
|
|
414061
414058
|
import { createInterface } from "node:readline";
|
|
414062
|
-
var VERSION2 = "0.50.
|
|
414059
|
+
var VERSION2 = "0.50.2";
|
|
414063
414060
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
414064
414061
|
|
|
414065
414062
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.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.50.
|
|
37
|
+
"@popcraft/kit": "0.50.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|