@popcraft/cli 0.24.3 → 0.26.0
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 +7 -4
- 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.
|
|
1191
|
+
const headers = { "user-agent": `popcraft-cli/${"0.26.0"}`, ...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 {
|
|
@@ -3872,6 +3872,7 @@ function paramLabel(name2) {
|
|
|
3872
3872
|
var AUDIO_SIGNAL_NAMES, XY, XYZ, RGB, RGBA, LAYOUT, TYPE_NAMES, roundUp, IDENT2, WHITE, numbers, MAX_SHADER_CHARS, reflections, isNum, EMPTY, packed, defaults;
|
|
3873
3873
|
var init_shader_params = __esm({
|
|
3874
3874
|
"lib/document/shader-params.ts"() {
|
|
3875
|
+
"use strict";
|
|
3875
3876
|
AUDIO_SIGNAL_NAMES = ["level", "bass", "mid", "treble", "beat", "onset", "spectrum"];
|
|
3876
3877
|
XY = ["x", "y"];
|
|
3877
3878
|
XYZ = ["x", "y", "z"];
|
|
@@ -260638,7 +260639,6 @@ function listenDesktop(event, handler) {
|
|
|
260638
260639
|
var isDesktop;
|
|
260639
260640
|
var init_tauri = __esm({
|
|
260640
260641
|
"lib/desktop/tauri.ts"() {
|
|
260641
|
-
"use strict";
|
|
260642
260642
|
isDesktop = () => !!tauri();
|
|
260643
260643
|
}
|
|
260644
260644
|
});
|
|
@@ -260689,6 +260689,7 @@ function formatLimit(key5, max3) {
|
|
|
260689
260689
|
var formatBytes;
|
|
260690
260690
|
var init_limits2 = __esm({
|
|
260691
260691
|
"lib/billing/limits.ts"() {
|
|
260692
|
+
"use strict";
|
|
260692
260693
|
init_format();
|
|
260693
260694
|
init_plans();
|
|
260694
260695
|
formatBytes = formatFileSize;
|
|
@@ -325935,7 +325936,7 @@ var init_package = __esm({
|
|
|
325935
325936
|
"packages/runtime/package.json"() {
|
|
325936
325937
|
package_default = {
|
|
325937
325938
|
name: "@popcraft/runtime",
|
|
325938
|
-
version: "0.
|
|
325939
|
+
version: "0.26.0",
|
|
325939
325940
|
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.",
|
|
325940
325941
|
license: "MIT",
|
|
325941
325942
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -350720,6 +350721,7 @@ function hashOf(text) {
|
|
|
350720
350721
|
}
|
|
350721
350722
|
var init_hash = __esm({
|
|
350722
350723
|
"lib/code/hash.ts"() {
|
|
350724
|
+
"use strict";
|
|
350723
350725
|
}
|
|
350724
350726
|
});
|
|
350725
350727
|
|
|
@@ -396432,6 +396434,7 @@ function designRecorder() {
|
|
|
396432
396434
|
var installed;
|
|
396433
396435
|
var init_recorders = __esm({
|
|
396434
396436
|
"lib/agent/design-script/recorders.ts"() {
|
|
396437
|
+
"use strict";
|
|
396435
396438
|
installed = null;
|
|
396436
396439
|
}
|
|
396437
396440
|
});
|
|
@@ -408734,7 +408737,7 @@ init_resources();
|
|
|
408734
408737
|
init_desktop();
|
|
408735
408738
|
init_hypery();
|
|
408736
408739
|
import { createInterface } from "node:readline";
|
|
408737
|
-
var VERSION2 = "0.
|
|
408740
|
+
var VERSION2 = "0.26.0";
|
|
408738
408741
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
408739
408742
|
|
|
408740
408743
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
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.
|
|
37
|
+
"@popcraft/kit": "0.26.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|