@popcraft/cli 0.23.0 → 0.23.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 +5 -5
- package/package.json +2 -2
package/dist/popcraft.mjs
CHANGED
|
@@ -1188,7 +1188,7 @@ function operations(spec = openapi) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
async function call(target2, method, path, opts = {}) {
|
|
1190
1190
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1191
|
-
const headers = { "user-agent": `popcraft-cli/${"0.23.
|
|
1191
|
+
const headers = { "user-agent": `popcraft-cli/${"0.23.1"}`, ...opts.headers };
|
|
1192
1192
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1193
1193
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1194
1194
|
try {
|
|
@@ -244048,6 +244048,7 @@ function resyncText(doc2, ids2) {
|
|
|
244048
244048
|
var isVirtualId;
|
|
244049
244049
|
var init_invariants2 = __esm({
|
|
244050
244050
|
"lib/document/invariants.ts"() {
|
|
244051
|
+
"use strict";
|
|
244051
244052
|
init_auto_layout();
|
|
244052
244053
|
init_scene_graph();
|
|
244053
244054
|
init_text_bounds();
|
|
@@ -312675,7 +312676,6 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
|
|
|
312675
312676
|
var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
|
|
312676
312677
|
var init_reference_images = __esm({
|
|
312677
312678
|
"lib/ai/reference-images.ts"() {
|
|
312678
|
-
"use strict";
|
|
312679
312679
|
init_export();
|
|
312680
312680
|
init_selection_bounds();
|
|
312681
312681
|
init_renderer_registry();
|
|
@@ -313019,6 +313019,7 @@ function videoPixelSize(resolution, aspect) {
|
|
|
313019
313019
|
var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
|
|
313020
313020
|
var init_video_models = __esm({
|
|
313021
313021
|
"lib/ai/video-models.ts"() {
|
|
313022
|
+
"use strict";
|
|
313022
313023
|
VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
313023
313024
|
VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
|
|
313024
313025
|
SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
@@ -323356,7 +323357,7 @@ var init_package = __esm({
|
|
|
323356
323357
|
"packages/runtime/package.json"() {
|
|
323357
323358
|
package_default = {
|
|
323358
323359
|
name: "@popcraft/runtime",
|
|
323359
|
-
version: "0.23.
|
|
323360
|
+
version: "0.23.1",
|
|
323360
323361
|
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.",
|
|
323361
323362
|
license: "MIT",
|
|
323362
323363
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -398633,7 +398634,6 @@ function registerBuiltinCommands() {
|
|
|
398633
398634
|
var builtinCommands, uiOnlyCommands;
|
|
398634
398635
|
var init_builtin4 = __esm({
|
|
398635
398636
|
"lib/commands/builtin.ts"() {
|
|
398636
|
-
"use strict";
|
|
398637
398637
|
init_registry();
|
|
398638
398638
|
init_node();
|
|
398639
398639
|
init_node();
|
|
@@ -406130,7 +406130,7 @@ init_resources();
|
|
|
406130
406130
|
init_desktop();
|
|
406131
406131
|
init_hypery();
|
|
406132
406132
|
import { createInterface } from "node:readline";
|
|
406133
|
-
var VERSION2 = "0.23.
|
|
406133
|
+
var VERSION2 = "0.23.1";
|
|
406134
406134
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
406135
406135
|
|
|
406136
406136
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.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.23.
|
|
37
|
+
"@popcraft/kit": "0.23.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|