@popcraft/cli 0.20.0 → 0.20.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 +6 -7
- 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.20.
|
|
1189
|
+
const headers = { "user-agent": `popcraft-cli/${"0.20.1"}`, ...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 {
|
|
@@ -33706,6 +33706,7 @@ var init_en2 = __esm({
|
|
|
33706
33706
|
"homeTeam.delete": "Delete",
|
|
33707
33707
|
"homeTeam.deleteSite": "Delete website",
|
|
33708
33708
|
"homeTeam.deleteSiteConfirm": "Delete the website at {slug}? Every version is deleted and its address is freed. The file stays, and so does anything sent to GitHub or Vercel.",
|
|
33709
|
+
"homeTeam.deleteSiteTitle": "Delete the website of {name}?",
|
|
33709
33710
|
"homeTeam.edit": "Edit",
|
|
33710
33711
|
"homeTeam.editTitle": "Edit {name}",
|
|
33711
33712
|
"homeTeam.fileInTrash": "File in trash",
|
|
@@ -33740,6 +33741,7 @@ var init_en2 = __esm({
|
|
|
33740
33741
|
"homeTeam.rejected": "Rejected",
|
|
33741
33742
|
"homeTeam.rejectedBecause": "Rejected: {note}",
|
|
33742
33743
|
"homeTeam.removeConfirm": "Take {name} off the marketplace? A plugin is unlisted (those who installed it keep it); anything else is deleted.",
|
|
33744
|
+
"homeTeam.removeTitle": "Take {name} off the marketplace?",
|
|
33743
33745
|
"homeTeam.review": "Review",
|
|
33744
33746
|
"homeTeam.reviewHint": "Every version waiting for a reviewer, from every team. Only marketplace reviewers see this.",
|
|
33745
33747
|
"homeTeam.reviewSummary": "{id} \xB7 version {version} \xB7 by {author} \xB7 asks for {permissions}",
|
|
@@ -256245,7 +256247,6 @@ function planEntryAction({ home }) {
|
|
|
256245
256247
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
256246
256248
|
var init_team = __esm({
|
|
256247
256249
|
"lib/client/cloud/team.ts"() {
|
|
256248
|
-
"use strict";
|
|
256249
256250
|
init_esm();
|
|
256250
256251
|
init_api4();
|
|
256251
256252
|
init_session();
|
|
@@ -304665,7 +304666,6 @@ async function dispatchShaped(key5, options) {
|
|
|
304665
304666
|
var onViolation;
|
|
304666
304667
|
var init_dispatch = __esm({
|
|
304667
304668
|
"lib/commands/dispatch.ts"() {
|
|
304668
|
-
"use strict";
|
|
304669
304669
|
init_errors();
|
|
304670
304670
|
init_registry();
|
|
304671
304671
|
init_confirm();
|
|
@@ -320594,7 +320594,7 @@ var init_package = __esm({
|
|
|
320594
320594
|
"packages/runtime/package.json"() {
|
|
320595
320595
|
package_default = {
|
|
320596
320596
|
name: "@popcraft/runtime",
|
|
320597
|
-
version: "0.20.
|
|
320597
|
+
version: "0.20.1",
|
|
320598
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.",
|
|
320599
320599
|
license: "MIT",
|
|
320600
320600
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -354036,7 +354036,6 @@ var init_publish = __esm({
|
|
|
354036
354036
|
var storeOpsSeam;
|
|
354037
354037
|
var init_seams = __esm({
|
|
354038
354038
|
"lib/commands/seams.ts"() {
|
|
354039
|
-
"use strict";
|
|
354040
354039
|
storeOpsSeam = (st) => ({
|
|
354041
354040
|
booleanOperation: (op4) => st().booleanOperation(op4),
|
|
354042
354041
|
flatten: () => st().flattenSelection(),
|
|
@@ -390528,6 +390527,7 @@ function record(source, namespaces, globals, limits) {
|
|
|
390528
390527
|
var HELPER_NAMES;
|
|
390529
390528
|
var init_helper_names = __esm({
|
|
390530
390529
|
"lib/agent/design-script/helper-names.ts"() {
|
|
390530
|
+
"use strict";
|
|
390531
390531
|
HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
|
|
390532
390532
|
}
|
|
390533
390533
|
});
|
|
@@ -395569,7 +395569,6 @@ function registerBuiltinCommands() {
|
|
|
395569
395569
|
var builtinCommands, uiOnlyCommands;
|
|
395570
395570
|
var init_builtin4 = __esm({
|
|
395571
395571
|
"lib/commands/builtin.ts"() {
|
|
395572
|
-
"use strict";
|
|
395573
395572
|
init_registry();
|
|
395574
395573
|
init_node();
|
|
395575
395574
|
init_node();
|
|
@@ -403056,7 +403055,7 @@ init_resources();
|
|
|
403056
403055
|
init_desktop();
|
|
403057
403056
|
init_hypery();
|
|
403058
403057
|
import { createInterface } from "node:readline";
|
|
403059
|
-
var VERSION2 = "0.20.
|
|
403058
|
+
var VERSION2 = "0.20.1";
|
|
403060
403059
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
403061
403060
|
|
|
403062
403061
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.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.20.
|
|
37
|
+
"@popcraft/kit": "0.20.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|