@popcraft/cli 0.26.1 → 0.27.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 -9
- 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.27.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();
|
|
@@ -261154,7 +261153,6 @@ function planEntryAction({ home }) {
|
|
|
261154
261153
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
261155
261154
|
var init_team = __esm({
|
|
261156
261155
|
"lib/client/cloud/team.ts"() {
|
|
261157
|
-
"use strict";
|
|
261158
261156
|
init_esm();
|
|
261159
261157
|
init_api4();
|
|
261160
261158
|
init_session();
|
|
@@ -308926,7 +308924,6 @@ async function createFreshFileOrExplain(place4 = {}, seed2 = {}) {
|
|
|
308926
308924
|
var online, goesLocal;
|
|
308927
308925
|
var init_new_file = __esm({
|
|
308928
308926
|
"lib/client/cloud/new-file.ts"() {
|
|
308929
|
-
"use strict";
|
|
308930
308927
|
init_scene_graph();
|
|
308931
308928
|
init_print_pages();
|
|
308932
308929
|
init_page_presets();
|
|
@@ -325937,7 +325934,7 @@ var init_package = __esm({
|
|
|
325937
325934
|
"packages/runtime/package.json"() {
|
|
325938
325935
|
package_default = {
|
|
325939
325936
|
name: "@popcraft/runtime",
|
|
325940
|
-
version: "0.
|
|
325937
|
+
version: "0.27.0",
|
|
325941
325938
|
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
325939
|
license: "MIT",
|
|
325943
325940
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -359551,7 +359548,6 @@ var init_publish = __esm({
|
|
|
359551
359548
|
var storeOpsSeam;
|
|
359552
359549
|
var init_seams = __esm({
|
|
359553
359550
|
"lib/commands/seams.ts"() {
|
|
359554
|
-
"use strict";
|
|
359555
359551
|
storeOpsSeam = (st) => ({
|
|
359556
359552
|
booleanOperation: (op4) => st().booleanOperation(op4),
|
|
359557
359553
|
flatten: () => st().flattenSelection(),
|
|
@@ -396055,7 +396051,6 @@ function record(source, namespaces, globals, limits) {
|
|
|
396055
396051
|
var HELPER_NAMES;
|
|
396056
396052
|
var init_helper_names = __esm({
|
|
396057
396053
|
"lib/agent/design-script/helper-names.ts"() {
|
|
396058
|
-
"use strict";
|
|
396059
396054
|
HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
|
|
396060
396055
|
}
|
|
396061
396056
|
});
|
|
@@ -396438,7 +396433,6 @@ function designRecorder() {
|
|
|
396438
396433
|
var installed;
|
|
396439
396434
|
var init_recorders = __esm({
|
|
396440
396435
|
"lib/agent/design-script/recorders.ts"() {
|
|
396441
|
-
"use strict";
|
|
396442
396436
|
installed = null;
|
|
396443
396437
|
}
|
|
396444
396438
|
});
|
|
@@ -408741,7 +408735,7 @@ init_resources();
|
|
|
408741
408735
|
init_desktop();
|
|
408742
408736
|
init_hypery();
|
|
408743
408737
|
import { createInterface } from "node:readline";
|
|
408744
|
-
var VERSION2 = "0.
|
|
408738
|
+
var VERSION2 = "0.27.0";
|
|
408745
408739
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
408746
408740
|
|
|
408747
408741
|
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.27.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.27.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|