@popcraft/cli 0.26.0 → 0.26.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 +8 -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.26.
|
|
1191
|
+
const headers = { "user-agent": `popcraft-cli/${"0.26.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 {
|
|
@@ -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"];
|
|
@@ -261155,6 +261154,7 @@ function planEntryAction({ home }) {
|
|
|
261155
261154
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
261156
261155
|
var init_team = __esm({
|
|
261157
261156
|
"lib/client/cloud/team.ts"() {
|
|
261157
|
+
"use strict";
|
|
261158
261158
|
init_esm();
|
|
261159
261159
|
init_api4();
|
|
261160
261160
|
init_session();
|
|
@@ -308926,6 +308926,7 @@ async function createFreshFileOrExplain(place4 = {}, seed2 = {}) {
|
|
|
308926
308926
|
var online, goesLocal;
|
|
308927
308927
|
var init_new_file = __esm({
|
|
308928
308928
|
"lib/client/cloud/new-file.ts"() {
|
|
308929
|
+
"use strict";
|
|
308929
308930
|
init_scene_graph();
|
|
308930
308931
|
init_print_pages();
|
|
308931
308932
|
init_page_presets();
|
|
@@ -325936,7 +325937,7 @@ var init_package = __esm({
|
|
|
325936
325937
|
"packages/runtime/package.json"() {
|
|
325937
325938
|
package_default = {
|
|
325938
325939
|
name: "@popcraft/runtime",
|
|
325939
|
-
version: "0.26.
|
|
325940
|
+
version: "0.26.1",
|
|
325940
325941
|
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
325942
|
license: "MIT",
|
|
325942
325943
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -350602,6 +350603,7 @@ function exportsOf(source3) {
|
|
|
350602
350603
|
var CODE_LIMITS, packageOf;
|
|
350603
350604
|
var init_source2 = __esm({
|
|
350604
350605
|
"lib/code/source.ts"() {
|
|
350606
|
+
"use strict";
|
|
350605
350607
|
CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
|
|
350606
350608
|
packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
|
|
350607
350609
|
}
|
|
@@ -350644,6 +350646,7 @@ function compileModule(module2) {
|
|
|
350644
350646
|
var import_sucrase, BUILT_IN, memo4;
|
|
350645
350647
|
var init_compile2 = __esm({
|
|
350646
350648
|
"lib/code/compile.ts"() {
|
|
350649
|
+
"use strict";
|
|
350647
350650
|
import_sucrase = __toESM(require_dist2());
|
|
350648
350651
|
init_source2();
|
|
350649
350652
|
init_source2();
|
|
@@ -359548,6 +359551,7 @@ var init_publish = __esm({
|
|
|
359548
359551
|
var storeOpsSeam;
|
|
359549
359552
|
var init_seams = __esm({
|
|
359550
359553
|
"lib/commands/seams.ts"() {
|
|
359554
|
+
"use strict";
|
|
359551
359555
|
storeOpsSeam = (st) => ({
|
|
359552
359556
|
booleanOperation: (op4) => st().booleanOperation(op4),
|
|
359553
359557
|
flatten: () => st().flattenSelection(),
|
|
@@ -408737,7 +408741,7 @@ init_resources();
|
|
|
408737
408741
|
init_desktop();
|
|
408738
408742
|
init_hypery();
|
|
408739
408743
|
import { createInterface } from "node:readline";
|
|
408740
|
-
var VERSION2 = "0.26.
|
|
408744
|
+
var VERSION2 = "0.26.1";
|
|
408741
408745
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
408742
408746
|
|
|
408743
408747
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.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.26.
|
|
37
|
+
"@popcraft/kit": "0.26.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|