@popcraft/cli 0.53.12 → 0.53.14
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 -13
- 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.53.
|
|
1201
|
+
const headers = { "user-agent": `popcraft-cli/${"0.53.14"}`, ...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 {
|
|
@@ -94515,6 +94515,7 @@ function hasMessage(key5) {
|
|
|
94515
94515
|
var current2, loading, listeners, formats, asts;
|
|
94516
94516
|
var init_runtime = __esm({
|
|
94517
94517
|
"lib/i18n/runtime.ts"() {
|
|
94518
|
+
"use strict";
|
|
94518
94519
|
init_intl_messageformat();
|
|
94519
94520
|
init_icu_messageformat_parser();
|
|
94520
94521
|
init_catalogs();
|
|
@@ -248031,7 +248032,6 @@ function repairCompositions(comps, nodes) {
|
|
|
248031
248032
|
var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
|
|
248032
248033
|
var init_invariants = __esm({
|
|
248033
248034
|
"lib/motion/invariants.ts"() {
|
|
248034
|
-
"use strict";
|
|
248035
248035
|
init_easing();
|
|
248036
248036
|
init_properties();
|
|
248037
248037
|
init_markers();
|
|
@@ -249154,7 +249154,6 @@ function beforeWrite() {
|
|
|
249154
249154
|
var leave;
|
|
249155
249155
|
var init_read_only = __esm({
|
|
249156
249156
|
"lib/editor/modes/read-only.ts"() {
|
|
249157
|
-
"use strict";
|
|
249158
249157
|
leave = null;
|
|
249159
249158
|
}
|
|
249160
249159
|
});
|
|
@@ -257164,7 +257163,6 @@ function followPeers(peers) {
|
|
|
257164
257163
|
var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
|
|
257165
257164
|
var init_presence = __esm({
|
|
257166
257165
|
"lib/collab/presence.ts"() {
|
|
257167
|
-
"use strict";
|
|
257168
257166
|
init_esm();
|
|
257169
257167
|
init_editor_store();
|
|
257170
257168
|
init_status_announcements();
|
|
@@ -262697,7 +262695,6 @@ function networkSignal(signal, timeoutMs = NETWORK_TIMEOUT_MS) {
|
|
|
262697
262695
|
var import_react3, NETWORK_TIMEOUT_MS, OfflineError;
|
|
262698
262696
|
var init_network = __esm({
|
|
262699
262697
|
"lib/client/network.ts"() {
|
|
262700
|
-
"use strict";
|
|
262701
262698
|
import_react3 = __toESM(require_react());
|
|
262702
262699
|
NETWORK_TIMEOUT_MS = 8e3;
|
|
262703
262700
|
OfflineError = class extends Error {
|
|
@@ -262793,7 +262790,6 @@ function formatLimit(key5, max3) {
|
|
|
262793
262790
|
var formatBytes;
|
|
262794
262791
|
var init_limits2 = __esm({
|
|
262795
262792
|
"lib/billing/limits.ts"() {
|
|
262796
|
-
"use strict";
|
|
262797
262793
|
init_format();
|
|
262798
262794
|
init_plans();
|
|
262799
262795
|
formatBytes = formatFileSize;
|
|
@@ -263327,6 +263323,7 @@ function planEntryAction({ home }) {
|
|
|
263327
263323
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
263328
263324
|
var init_team = __esm({
|
|
263329
263325
|
"lib/client/cloud/team.ts"() {
|
|
263326
|
+
"use strict";
|
|
263330
263327
|
init_esm();
|
|
263331
263328
|
init_api4();
|
|
263332
263329
|
init_session();
|
|
@@ -311790,6 +311787,7 @@ function startCloudSync() {
|
|
|
311790
311787
|
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;
|
|
311791
311788
|
var init_sync2 = __esm({
|
|
311792
311789
|
"lib/client/cloud/sync.ts"() {
|
|
311790
|
+
"use strict";
|
|
311793
311791
|
init_paint_repair();
|
|
311794
311792
|
init_migrate();
|
|
311795
311793
|
init_view();
|
|
@@ -311999,7 +311997,6 @@ async function dispatchShaped(key5, options) {
|
|
|
311999
311997
|
var onViolation;
|
|
312000
311998
|
var init_dispatch = __esm({
|
|
312001
311999
|
"lib/commands/dispatch.ts"() {
|
|
312002
|
-
"use strict";
|
|
312003
312000
|
init_errors();
|
|
312004
312001
|
init_registry();
|
|
312005
312002
|
init_confirm();
|
|
@@ -318458,6 +318455,7 @@ function agentToolList() {
|
|
|
318458
318455
|
var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
|
|
318459
318456
|
var init_agent = __esm({
|
|
318460
318457
|
"lib/commands/agent.ts"() {
|
|
318458
|
+
"use strict";
|
|
318461
318459
|
init_types5();
|
|
318462
318460
|
init_registry();
|
|
318463
318461
|
init_errors();
|
|
@@ -328832,7 +328830,7 @@ var init_package = __esm({
|
|
|
328832
328830
|
"packages/runtime/package.json"() {
|
|
328833
328831
|
package_default = {
|
|
328834
328832
|
name: "@popcraft/runtime",
|
|
328835
|
-
version: "0.53.
|
|
328833
|
+
version: "0.53.14",
|
|
328836
328834
|
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.",
|
|
328837
328835
|
license: "MIT",
|
|
328838
328836
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -362591,7 +362589,6 @@ var init_delete_current_file = __esm({
|
|
|
362591
362589
|
var storeOpsSeam;
|
|
362592
362590
|
var init_seams = __esm({
|
|
362593
362591
|
"lib/commands/seams.ts"() {
|
|
362594
|
-
"use strict";
|
|
362595
362592
|
storeOpsSeam = (st) => ({
|
|
362596
362593
|
booleanOperation: (op4) => st().booleanOperation(op4),
|
|
362597
362594
|
flatten: () => st().flattenSelection(),
|
|
@@ -401411,7 +401408,6 @@ function record(source, namespaces, globals, limits) {
|
|
|
401411
401408
|
var HELPER_NAMES;
|
|
401412
401409
|
var init_helper_names = __esm({
|
|
401413
401410
|
"lib/agent/design-script/helper-names.ts"() {
|
|
401414
|
-
"use strict";
|
|
401415
401411
|
HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
|
|
401416
401412
|
}
|
|
401417
401413
|
});
|
|
@@ -409123,8 +409119,8 @@ var init_editor_store = __esm({
|
|
|
409123
409119
|
let cosmetic = true;
|
|
409124
409120
|
const touched = [];
|
|
409125
409121
|
for (const u of updates) {
|
|
409126
|
-
const
|
|
409127
|
-
if (!
|
|
409122
|
+
const housekeeping = Object.keys(u.props).every((k2) => k2 === "locked" || k2 === "visible" || k2 === "name");
|
|
409123
|
+
if (!housekeeping && isLocked(document2, u.id)) continue;
|
|
409128
409124
|
let props = u.props;
|
|
409129
409125
|
if ("rotation" in props && !canRotate(document2, u.id)) {
|
|
409130
409126
|
const { rotation: _dropped, ...rest } = props;
|
|
@@ -414429,7 +414425,7 @@ init_resources();
|
|
|
414429
414425
|
init_desktop();
|
|
414430
414426
|
init_hypery();
|
|
414431
414427
|
import { createInterface } from "node:readline";
|
|
414432
|
-
var VERSION2 = "0.53.
|
|
414428
|
+
var VERSION2 = "0.53.14";
|
|
414433
414429
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
414434
414430
|
|
|
414435
414431
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.14",
|
|
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.53.
|
|
37
|
+
"@popcraft/kit": "0.53.14"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|