@popcraft/cli 0.8.2 → 0.8.3
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
|
@@ -1173,7 +1173,7 @@ function operations(spec = openapi) {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
async function call(target2, method, path, opts = {}) {
|
|
1175
1175
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1176
|
-
const headers = { "user-agent": `popcraft-cli/${"0.8.
|
|
1176
|
+
const headers = { "user-agent": `popcraft-cli/${"0.8.3"}`, ...opts.headers };
|
|
1177
1177
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1178
1178
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1179
1179
|
try {
|
|
@@ -32947,6 +32947,9 @@ var init_en2 = __esm({
|
|
|
32947
32947
|
"halftoneEditor.toneFrom": "Tone from",
|
|
32948
32948
|
"homePage.agentCtrlShiftJ": "Agent (Ctrl+Shift+J)",
|
|
32949
32949
|
"homePage.assets": "Assets",
|
|
32950
|
+
"homePage.storageStalledTitle": "PopCraft can't reach this browser's storage",
|
|
32951
|
+
"homePage.storageStalledBody": "Your files on this device are kept in the browser's storage, and it isn't answering. This usually clears after closing other PopCraft tabs, or quitting and reopening the browser. Then reload.",
|
|
32952
|
+
"homePage.storageStalledReload": "Reload",
|
|
32950
32953
|
"homePage.brushes": "Brushes",
|
|
32951
32954
|
"homePage.collapsePanel": "Collapse panel",
|
|
32952
32955
|
"homePage.commentsNotifications": "Comments & notifications",
|
|
@@ -298149,6 +298152,7 @@ function applyTextPath(layout2, path, tp, rebase = true) {
|
|
|
298149
298152
|
var defaultCircleRadius, ownsPath, mapPoint;
|
|
298150
298153
|
var init_text_path = __esm({
|
|
298151
298154
|
"lib/engine/text/text-path.ts"() {
|
|
298155
|
+
"use strict";
|
|
298152
298156
|
init_scene_graph();
|
|
298153
298157
|
init_transform();
|
|
298154
298158
|
init_shape_to_path();
|
|
@@ -298266,6 +298270,7 @@ function areaBounds(rings) {
|
|
|
298266
298270
|
}
|
|
298267
298271
|
var init_text_area = __esm({
|
|
298268
298272
|
"lib/engine/text/text-area.ts"() {
|
|
298273
|
+
"use strict";
|
|
298269
298274
|
}
|
|
298270
298275
|
});
|
|
298271
298276
|
|
|
@@ -303362,7 +303367,6 @@ function agentToolList() {
|
|
|
303362
303367
|
var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
|
|
303363
303368
|
var init_agent = __esm({
|
|
303364
303369
|
"lib/commands/agent.ts"() {
|
|
303365
|
-
"use strict";
|
|
303366
303370
|
init_types5();
|
|
303367
303371
|
init_registry();
|
|
303368
303372
|
init_errors();
|
|
@@ -312793,7 +312797,7 @@ var init_package = __esm({
|
|
|
312793
312797
|
"packages/runtime/package.json"() {
|
|
312794
312798
|
package_default = {
|
|
312795
312799
|
name: "@popcraft/runtime",
|
|
312796
|
-
version: "0.8.
|
|
312800
|
+
version: "0.8.3",
|
|
312797
312801
|
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.",
|
|
312798
312802
|
license: "MIT",
|
|
312799
312803
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -393347,7 +393351,7 @@ init_resources();
|
|
|
393347
393351
|
init_desktop();
|
|
393348
393352
|
init_hypery();
|
|
393349
393353
|
import { createInterface } from "node:readline";
|
|
393350
|
-
var VERSION2 = "0.8.
|
|
393354
|
+
var VERSION2 = "0.8.3";
|
|
393351
393355
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
393352
393356
|
|
|
393353
393357
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
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.8.
|
|
37
|
+
"@popcraft/kit": "0.8.3"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|