@popcraft/cli 0.35.0 → 0.35.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 +11 -6
- 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.1"}`, ...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 {
|
|
@@ -96055,6 +96055,7 @@ function releaseMediaMemory(hash3) {
|
|
|
96055
96055
|
var key2, peaksKey, objectUrls, sourceKey, remoteResolver, MEDIA_FETCH_TIMEOUT_MS, SHIPPED_MEDIA_PATH, notShipped, MEDIA_SCHEME, isImageDataUrl, memory, pendingLoads, sourceAliases, PAINT_KEYS, URL_KEYS;
|
|
96056
96056
|
var init_media_store = __esm({
|
|
96057
96057
|
"lib/storage/media-store.ts"() {
|
|
96058
|
+
"use strict";
|
|
96058
96059
|
init_media_types();
|
|
96059
96060
|
init_idb();
|
|
96060
96061
|
init_media_hash();
|
|
@@ -247213,6 +247214,7 @@ function resyncText(doc2, ids2) {
|
|
|
247213
247214
|
var isVirtualId;
|
|
247214
247215
|
var init_invariants2 = __esm({
|
|
247215
247216
|
"lib/document/invariants.ts"() {
|
|
247217
|
+
"use strict";
|
|
247216
247218
|
init_auto_layout();
|
|
247217
247219
|
init_scene_graph();
|
|
247218
247220
|
init_text_bounds();
|
|
@@ -309849,6 +309851,7 @@ async function createFreshFileOrExplain(place4 = {}, seed2 = {}) {
|
|
|
309849
309851
|
var online, goesLocal;
|
|
309850
309852
|
var init_new_file = __esm({
|
|
309851
309853
|
"lib/client/cloud/new-file.ts"() {
|
|
309854
|
+
"use strict";
|
|
309852
309855
|
init_scene_graph();
|
|
309853
309856
|
init_print_pages();
|
|
309854
309857
|
init_page_presets();
|
|
@@ -310580,7 +310583,6 @@ async function dispatchShaped(key5, options) {
|
|
|
310580
310583
|
var onViolation;
|
|
310581
310584
|
var init_dispatch = __esm({
|
|
310582
310585
|
"lib/commands/dispatch.ts"() {
|
|
310583
|
-
"use strict";
|
|
310584
310586
|
init_errors();
|
|
310585
310587
|
init_registry();
|
|
310586
310588
|
init_confirm();
|
|
@@ -316537,6 +316539,7 @@ function videoPixelSize(resolution, aspect) {
|
|
|
316537
316539
|
var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
|
|
316538
316540
|
var init_video_models = __esm({
|
|
316539
316541
|
"lib/ai/video-models.ts"() {
|
|
316542
|
+
"use strict";
|
|
316540
316543
|
VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
316541
316544
|
VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
|
|
316542
316545
|
SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
@@ -326888,7 +326891,7 @@ var init_package = __esm({
|
|
|
326888
326891
|
"packages/runtime/package.json"() {
|
|
326889
326892
|
package_default = {
|
|
326890
326893
|
name: "@popcraft/runtime",
|
|
326891
|
-
version: "0.35.
|
|
326894
|
+
version: "0.35.1",
|
|
326892
326895
|
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
326896
|
license: "MIT",
|
|
326894
326897
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -358797,7 +358800,9 @@ button:not(:disabled), a[href], [role="button"], [role="menuitem"], [role="tab"]
|
|
|
358797
358800
|
[data-pc="home-sidebar"] { border: var(--pc-border-width) solid ${INK3} !important; box-shadow: 4px 4px 0 ${INK3}; background: var(--pc-raised) !important; }
|
|
358798
358801
|
[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
358802
|
[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
|
-
|
|
358803
|
+
/* The highlighted word sits on the accent: it takes the accent's own ink, not the headline's outlined fill. */
|
|
358804
|
+
[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}; }
|
|
358805
|
+
[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
358806
|
[data-pc="home-card"] > button, [data-pc="home-card-face"], [data-pc="home-mock"] {
|
|
358802
358807
|
border: var(--pc-border-width) solid ${INK3} !important; border-radius: var(--pc-radius-md) !important;
|
|
358803
358808
|
background: var(--pc-raised) !important; box-shadow: 6px 6px 0 ${INK3} !important;
|
|
@@ -397579,6 +397584,7 @@ function record(source, namespaces, globals, limits) {
|
|
|
397579
397584
|
var HELPER_NAMES;
|
|
397580
397585
|
var init_helper_names = __esm({
|
|
397581
397586
|
"lib/agent/design-script/helper-names.ts"() {
|
|
397587
|
+
"use strict";
|
|
397582
397588
|
HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
|
|
397583
397589
|
}
|
|
397584
397590
|
});
|
|
@@ -402768,7 +402774,6 @@ function registerBuiltinCommands() {
|
|
|
402768
402774
|
var builtinCommands, uiOnlyCommands;
|
|
402769
402775
|
var init_builtin4 = __esm({
|
|
402770
402776
|
"lib/commands/builtin.ts"() {
|
|
402771
|
-
"use strict";
|
|
402772
402777
|
init_registry();
|
|
402773
402778
|
init_node();
|
|
402774
402779
|
init_node();
|
|
@@ -410346,7 +410351,7 @@ init_resources();
|
|
|
410346
410351
|
init_desktop();
|
|
410347
410352
|
init_hypery();
|
|
410348
410353
|
import { createInterface } from "node:readline";
|
|
410349
|
-
var VERSION2 = "0.35.
|
|
410354
|
+
var VERSION2 = "0.35.1";
|
|
410350
410355
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
410351
410356
|
|
|
410352
410357
|
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.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.35.
|
|
37
|
+
"@popcraft/kit": "0.35.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|