@popcraft/cli 0.19.0 → 0.20.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
|
@@ -1186,7 +1186,7 @@ function operations(spec = openapi) {
|
|
|
1186
1186
|
}
|
|
1187
1187
|
async function call(target2, method, path, opts = {}) {
|
|
1188
1188
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1189
|
-
const headers = { "user-agent": `popcraft-cli/${"0.
|
|
1189
|
+
const headers = { "user-agent": `popcraft-cli/${"0.20.0"}`, ...opts.headers };
|
|
1190
1190
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1191
1191
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1192
1192
|
try {
|
|
@@ -256245,6 +256245,7 @@ function planEntryAction({ home }) {
|
|
|
256245
256245
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
256246
256246
|
var init_team = __esm({
|
|
256247
256247
|
"lib/client/cloud/team.ts"() {
|
|
256248
|
+
"use strict";
|
|
256248
256249
|
init_esm();
|
|
256249
256250
|
init_api4();
|
|
256250
256251
|
init_session();
|
|
@@ -304664,6 +304665,7 @@ async function dispatchShaped(key5, options) {
|
|
|
304664
304665
|
var onViolation;
|
|
304665
304666
|
var init_dispatch = __esm({
|
|
304666
304667
|
"lib/commands/dispatch.ts"() {
|
|
304668
|
+
"use strict";
|
|
304667
304669
|
init_errors();
|
|
304668
304670
|
init_registry();
|
|
304669
304671
|
init_confirm();
|
|
@@ -320592,7 +320594,7 @@ var init_package = __esm({
|
|
|
320592
320594
|
"packages/runtime/package.json"() {
|
|
320593
320595
|
package_default = {
|
|
320594
320596
|
name: "@popcraft/runtime",
|
|
320595
|
-
version: "0.
|
|
320597
|
+
version: "0.20.0",
|
|
320596
320598
|
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.",
|
|
320597
320599
|
license: "MIT",
|
|
320598
320600
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -354034,6 +354036,7 @@ var init_publish = __esm({
|
|
|
354034
354036
|
var storeOpsSeam;
|
|
354035
354037
|
var init_seams = __esm({
|
|
354036
354038
|
"lib/commands/seams.ts"() {
|
|
354039
|
+
"use strict";
|
|
354037
354040
|
storeOpsSeam = (st) => ({
|
|
354038
354041
|
booleanOperation: (op4) => st().booleanOperation(op4),
|
|
354039
354042
|
flatten: () => st().flattenSelection(),
|
|
@@ -390525,7 +390528,6 @@ function record(source, namespaces, globals, limits) {
|
|
|
390525
390528
|
var HELPER_NAMES;
|
|
390526
390529
|
var init_helper_names = __esm({
|
|
390527
390530
|
"lib/agent/design-script/helper-names.ts"() {
|
|
390528
|
-
"use strict";
|
|
390529
390531
|
HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
|
|
390530
390532
|
}
|
|
390531
390533
|
});
|
|
@@ -395567,6 +395569,7 @@ function registerBuiltinCommands() {
|
|
|
395567
395569
|
var builtinCommands, uiOnlyCommands;
|
|
395568
395570
|
var init_builtin4 = __esm({
|
|
395569
395571
|
"lib/commands/builtin.ts"() {
|
|
395572
|
+
"use strict";
|
|
395570
395573
|
init_registry();
|
|
395571
395574
|
init_node();
|
|
395572
395575
|
init_node();
|
|
@@ -403053,7 +403056,7 @@ init_resources();
|
|
|
403053
403056
|
init_desktop();
|
|
403054
403057
|
init_hypery();
|
|
403055
403058
|
import { createInterface } from "node:readline";
|
|
403056
|
-
var VERSION2 = "0.
|
|
403059
|
+
var VERSION2 = "0.20.0";
|
|
403057
403060
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
403058
403061
|
|
|
403059
403062
|
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.20.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.20.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|