@popcraft/cli 0.26.0 → 0.27.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 +5 -7
- 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.27.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,7 +3872,6 @@ 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";
|
|
3876
3875
|
AUDIO_SIGNAL_NAMES = ["level", "bass", "mid", "treble", "beat", "onset", "spectrum"];
|
|
3877
3876
|
XY = ["x", "y"];
|
|
3878
3877
|
XYZ = ["x", "y", "z"];
|
|
@@ -246589,7 +246588,6 @@ function resyncText(doc2, ids2) {
|
|
|
246589
246588
|
var isVirtualId;
|
|
246590
246589
|
var init_invariants2 = __esm({
|
|
246591
246590
|
"lib/document/invariants.ts"() {
|
|
246592
|
-
"use strict";
|
|
246593
246591
|
init_auto_layout();
|
|
246594
246592
|
init_scene_graph();
|
|
246595
246593
|
init_text_bounds();
|
|
@@ -325936,7 +325934,7 @@ var init_package = __esm({
|
|
|
325936
325934
|
"packages/runtime/package.json"() {
|
|
325937
325935
|
package_default = {
|
|
325938
325936
|
name: "@popcraft/runtime",
|
|
325939
|
-
version: "0.
|
|
325937
|
+
version: "0.27.0",
|
|
325940
325938
|
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.",
|
|
325941
325939
|
license: "MIT",
|
|
325942
325940
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -350602,6 +350600,7 @@ function exportsOf(source3) {
|
|
|
350602
350600
|
var CODE_LIMITS, packageOf;
|
|
350603
350601
|
var init_source2 = __esm({
|
|
350604
350602
|
"lib/code/source.ts"() {
|
|
350603
|
+
"use strict";
|
|
350605
350604
|
CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
|
|
350606
350605
|
packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
|
|
350607
350606
|
}
|
|
@@ -350644,6 +350643,7 @@ function compileModule(module2) {
|
|
|
350644
350643
|
var import_sucrase, BUILT_IN, memo4;
|
|
350645
350644
|
var init_compile2 = __esm({
|
|
350646
350645
|
"lib/code/compile.ts"() {
|
|
350646
|
+
"use strict";
|
|
350647
350647
|
import_sucrase = __toESM(require_dist2());
|
|
350648
350648
|
init_source2();
|
|
350649
350649
|
init_source2();
|
|
@@ -396051,7 +396051,6 @@ function record(source, namespaces, globals, limits) {
|
|
|
396051
396051
|
var HELPER_NAMES;
|
|
396052
396052
|
var init_helper_names = __esm({
|
|
396053
396053
|
"lib/agent/design-script/helper-names.ts"() {
|
|
396054
|
-
"use strict";
|
|
396055
396054
|
HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
|
|
396056
396055
|
}
|
|
396057
396056
|
});
|
|
@@ -396434,7 +396433,6 @@ function designRecorder() {
|
|
|
396434
396433
|
var installed;
|
|
396435
396434
|
var init_recorders = __esm({
|
|
396436
396435
|
"lib/agent/design-script/recorders.ts"() {
|
|
396437
|
-
"use strict";
|
|
396438
396436
|
installed = null;
|
|
396439
396437
|
}
|
|
396440
396438
|
});
|
|
@@ -408737,7 +408735,7 @@ init_resources();
|
|
|
408737
408735
|
init_desktop();
|
|
408738
408736
|
init_hypery();
|
|
408739
408737
|
import { createInterface } from "node:readline";
|
|
408740
|
-
var VERSION2 = "0.
|
|
408738
|
+
var VERSION2 = "0.27.0";
|
|
408741
408739
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
408742
408740
|
|
|
408743
408741
|
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.27.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.27.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|