@popcraft/cli 0.35.0 → 0.35.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 -9
- 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.35.
|
|
1199
|
+
const headers = { "user-agent": `popcraft-cli/${"0.35.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 {
|
|
@@ -247213,6 +247213,7 @@ function resyncText(doc2, ids2) {
|
|
|
247213
247213
|
var isVirtualId;
|
|
247214
247214
|
var init_invariants2 = __esm({
|
|
247215
247215
|
"lib/document/invariants.ts"() {
|
|
247216
|
+
"use strict";
|
|
247216
247217
|
init_auto_layout();
|
|
247217
247218
|
init_scene_graph();
|
|
247218
247219
|
init_text_bounds();
|
|
@@ -310580,7 +310581,6 @@ async function dispatchShaped(key5, options) {
|
|
|
310580
310581
|
var onViolation;
|
|
310581
310582
|
var init_dispatch = __esm({
|
|
310582
310583
|
"lib/commands/dispatch.ts"() {
|
|
310583
|
-
"use strict";
|
|
310584
310584
|
init_errors();
|
|
310585
310585
|
init_registry();
|
|
310586
310586
|
init_confirm();
|
|
@@ -316537,6 +316537,7 @@ function videoPixelSize(resolution, aspect) {
|
|
|
316537
316537
|
var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
|
|
316538
316538
|
var init_video_models = __esm({
|
|
316539
316539
|
"lib/ai/video-models.ts"() {
|
|
316540
|
+
"use strict";
|
|
316540
316541
|
VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
316541
316542
|
VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
|
|
316542
316543
|
SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
@@ -326888,7 +326889,7 @@ var init_package = __esm({
|
|
|
326888
326889
|
"packages/runtime/package.json"() {
|
|
326889
326890
|
package_default = {
|
|
326890
326891
|
name: "@popcraft/runtime",
|
|
326891
|
-
version: "0.35.
|
|
326892
|
+
version: "0.35.2",
|
|
326892
326893
|
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.",
|
|
326893
326894
|
license: "MIT",
|
|
326894
326895
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -351554,7 +351555,6 @@ function exportsOf(source3) {
|
|
|
351554
351555
|
var CODE_LIMITS, packageOf;
|
|
351555
351556
|
var init_source2 = __esm({
|
|
351556
351557
|
"lib/code/source.ts"() {
|
|
351557
|
-
"use strict";
|
|
351558
351558
|
CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
|
|
351559
351559
|
packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
|
|
351560
351560
|
}
|
|
@@ -351597,7 +351597,6 @@ function compileModule(module2) {
|
|
|
351597
351597
|
var import_sucrase, BUILT_IN, memo4;
|
|
351598
351598
|
var init_compile2 = __esm({
|
|
351599
351599
|
"lib/code/compile.ts"() {
|
|
351600
|
-
"use strict";
|
|
351601
351600
|
import_sucrase = __toESM(require_dist2());
|
|
351602
351601
|
init_source2();
|
|
351603
351602
|
init_source2();
|
|
@@ -358797,7 +358796,9 @@ button:not(:disabled), a[href], [role="button"], [role="menuitem"], [role="tab"]
|
|
|
358797
358796
|
[data-pc="home-sidebar"] { border: var(--pc-border-width) solid ${INK3} !important; box-shadow: 4px 4px 0 ${INK3}; background: var(--pc-raised) !important; }
|
|
358798
358797
|
[data-pc="home-title"] { font-family: var(--pc-font-heading); font-weight: 400 !important; letter-spacing: var(--pc-letter-spacing-heading); text-transform: var(--pc-text-transform-heading); }
|
|
358799
358798
|
[data-pc="home-welcome"] [data-pc="home-title"] { color: var(--pc-raised) !important; -webkit-text-stroke: 1.5px ${INK3}; text-shadow: 4px 4px 0 ${INK3}; }
|
|
358800
|
-
|
|
358799
|
+
/* The highlighted word sits on the accent: it takes the accent's own ink, not the headline's outlined fill. */
|
|
358800
|
+
[data-pc="home-welcome"] [data-pc="home-pop"] { color: var(--pc-fg-on-accent) !important; -webkit-text-stroke: 0; text-shadow: 3px 3px 0 ${INK3}; border: 2px solid ${INK3}; box-shadow: 4px 4px 0 ${INK3}; }
|
|
358801
|
+
[data-pc="home-kicker"] { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 1px 8px; background: var(--pc-accent); color: var(--pc-fg-on-accent) !important; border: 2px solid ${INK3}; box-shadow: 2px 2px 0 ${INK3}; rotate: -2deg; }
|
|
358801
358802
|
[data-pc="home-card"] > button, [data-pc="home-card-face"], [data-pc="home-mock"] {
|
|
358802
358803
|
border: var(--pc-border-width) solid ${INK3} !important; border-radius: var(--pc-radius-md) !important;
|
|
358803
358804
|
background: var(--pc-raised) !important; box-shadow: 6px 6px 0 ${INK3} !important;
|
|
@@ -360572,7 +360573,6 @@ var init_publish = __esm({
|
|
|
360572
360573
|
var storeOpsSeam;
|
|
360573
360574
|
var init_seams = __esm({
|
|
360574
360575
|
"lib/commands/seams.ts"() {
|
|
360575
|
-
"use strict";
|
|
360576
360576
|
storeOpsSeam = (st) => ({
|
|
360577
360577
|
booleanOperation: (op4) => st().booleanOperation(op4),
|
|
360578
360578
|
flatten: () => st().flattenSelection(),
|
|
@@ -402768,7 +402768,6 @@ function registerBuiltinCommands() {
|
|
|
402768
402768
|
var builtinCommands, uiOnlyCommands;
|
|
402769
402769
|
var init_builtin4 = __esm({
|
|
402770
402770
|
"lib/commands/builtin.ts"() {
|
|
402771
|
-
"use strict";
|
|
402772
402771
|
init_registry();
|
|
402773
402772
|
init_node();
|
|
402774
402773
|
init_node();
|
|
@@ -410346,7 +410345,7 @@ init_resources();
|
|
|
410346
410345
|
init_desktop();
|
|
410347
410346
|
init_hypery();
|
|
410348
410347
|
import { createInterface } from "node:readline";
|
|
410349
|
-
var VERSION2 = "0.35.
|
|
410348
|
+
var VERSION2 = "0.35.2";
|
|
410350
410349
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
410351
410350
|
|
|
410352
410351
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.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.35.
|
|
37
|
+
"@popcraft/kit": "0.35.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|