@popcraft/cli 0.24.2 → 0.25.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 +3 -5
- 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.25.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 {
|
|
@@ -246588,7 +246588,6 @@ function resyncText(doc2, ids2) {
|
|
|
246588
246588
|
var isVirtualId;
|
|
246589
246589
|
var init_invariants2 = __esm({
|
|
246590
246590
|
"lib/document/invariants.ts"() {
|
|
246591
|
-
"use strict";
|
|
246592
246591
|
init_auto_layout();
|
|
246593
246592
|
init_scene_graph();
|
|
246594
246593
|
init_text_bounds();
|
|
@@ -325937,7 +325936,7 @@ var init_package = __esm({
|
|
|
325937
325936
|
"packages/runtime/package.json"() {
|
|
325938
325937
|
package_default = {
|
|
325939
325938
|
name: "@popcraft/runtime",
|
|
325940
|
-
version: "0.
|
|
325939
|
+
version: "0.25.0",
|
|
325941
325940
|
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.",
|
|
325942
325941
|
license: "MIT",
|
|
325943
325942
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -396437,7 +396436,6 @@ function designRecorder() {
|
|
|
396437
396436
|
var installed;
|
|
396438
396437
|
var init_recorders = __esm({
|
|
396439
396438
|
"lib/agent/design-script/recorders.ts"() {
|
|
396440
|
-
"use strict";
|
|
396441
396439
|
installed = null;
|
|
396442
396440
|
}
|
|
396443
396441
|
});
|
|
@@ -408741,7 +408739,7 @@ init_resources();
|
|
|
408741
408739
|
init_desktop();
|
|
408742
408740
|
init_hypery();
|
|
408743
408741
|
import { createInterface } from "node:readline";
|
|
408744
|
-
var VERSION2 = "0.
|
|
408742
|
+
var VERSION2 = "0.25.0";
|
|
408745
408743
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
408746
408744
|
|
|
408747
408745
|
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.25.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.25.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|