@popcraft/cli 0.30.0 → 0.32.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.
Files changed (2) hide show
  1. package/dist/popcraft.mjs +6 -11
  2. 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.30.0"}`, ...opts.headers };
1191
+ const headers = { "user-agent": `popcraft-cli/${"0.32.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 {
@@ -3872,6 +3872,7 @@ function paramLabel(name2) {
3872
3872
  var AUDIO_SIGNAL_NAMES, XY, XYZ, RGB, RGBA, LAYOUT, TYPE_NAMES, roundUp, IDENT2, WHITE, numbers, MAX_SHADER_CHARS, reflections, isNum, EMPTY, packed, defaults;
3873
3873
  var init_shader_params = __esm({
3874
3874
  "lib/document/shader-params.ts"() {
3875
+ "use strict";
3875
3876
  AUDIO_SIGNAL_NAMES = ["level", "bass", "mid", "treble", "beat", "onset", "spectrum"];
3876
3877
  XY = ["x", "y"];
3877
3878
  XYZ = ["x", "y", "z"];
@@ -246748,6 +246749,7 @@ function resyncText(doc2, ids2) {
246748
246749
  var isVirtualId;
246749
246750
  var init_invariants2 = __esm({
246750
246751
  "lib/document/invariants.ts"() {
246752
+ "use strict";
246751
246753
  init_auto_layout();
246752
246754
  init_scene_graph();
246753
246755
  init_text_bounds();
@@ -310107,7 +310109,6 @@ async function dispatchShaped(key5, options) {
310107
310109
  var onViolation;
310108
310110
  var init_dispatch = __esm({
310109
310111
  "lib/commands/dispatch.ts"() {
310110
- "use strict";
310111
310112
  init_errors();
310112
310113
  init_registry();
310113
310114
  init_confirm();
@@ -310278,7 +310279,6 @@ function downloadBlob(blob, filename) {
310278
310279
  }
310279
310280
  var init_download = __esm({
310280
310281
  "lib/io/download.ts"() {
310281
- "use strict";
310282
310282
  }
310283
310283
  });
310284
310284
 
@@ -310498,7 +310498,6 @@ function creditLine(c2) {
310498
310498
  var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
310499
310499
  var init_stock = __esm({
310500
310500
  "lib/photos/stock.ts"() {
310501
- "use strict";
310502
310501
  MAX_PHOTO_PAGE = 12;
310503
310502
  MAX_PHOTO_QUERY = 200;
310504
310503
  UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -326410,7 +326409,7 @@ var init_package = __esm({
326410
326409
  "packages/runtime/package.json"() {
326411
326410
  package_default = {
326412
326411
  name: "@popcraft/runtime",
326413
- version: "0.30.0",
326412
+ version: "0.32.0",
326414
326413
  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.",
326415
326414
  license: "MIT",
326416
326415
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -351076,7 +351075,6 @@ function exportsOf(source3) {
351076
351075
  var CODE_LIMITS, packageOf;
351077
351076
  var init_source2 = __esm({
351078
351077
  "lib/code/source.ts"() {
351079
- "use strict";
351080
351078
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
351081
351079
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
351082
351080
  }
@@ -351119,7 +351117,6 @@ function compileModule(module2) {
351119
351117
  var import_sucrase, BUILT_IN, memo4;
351120
351118
  var init_compile2 = __esm({
351121
351119
  "lib/code/compile.ts"() {
351122
- "use strict";
351123
351120
  import_sucrase = __toESM(require_dist2());
351124
351121
  init_source2();
351125
351122
  init_source2();
@@ -360094,7 +360091,6 @@ var init_publish = __esm({
360094
360091
  var storeOpsSeam;
360095
360092
  var init_seams = __esm({
360096
360093
  "lib/commands/seams.ts"() {
360097
- "use strict";
360098
360094
  storeOpsSeam = (st) => ({
360099
360095
  booleanOperation: (op4) => st().booleanOperation(op4),
360100
360096
  flatten: () => st().flattenSelection(),
@@ -397061,7 +397057,6 @@ function record(source, namespaces, globals, limits) {
397061
397057
  var HELPER_NAMES;
397062
397058
  var init_helper_names = __esm({
397063
397059
  "lib/agent/design-script/helper-names.ts"() {
397064
- "use strict";
397065
397060
  HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
397066
397061
  }
397067
397062
  });
@@ -397444,6 +397439,7 @@ function designRecorder() {
397444
397439
  var installed;
397445
397440
  var init_recorders = __esm({
397446
397441
  "lib/agent/design-script/recorders.ts"() {
397442
+ "use strict";
397447
397443
  installed = null;
397448
397444
  }
397449
397445
  });
@@ -402250,7 +402246,6 @@ function registerBuiltinCommands() {
402250
402246
  var builtinCommands, uiOnlyCommands;
402251
402247
  var init_builtin4 = __esm({
402252
402248
  "lib/commands/builtin.ts"() {
402253
- "use strict";
402254
402249
  init_registry();
402255
402250
  init_node();
402256
402251
  init_node();
@@ -409765,7 +409760,7 @@ init_resources();
409765
409760
  init_desktop();
409766
409761
  init_hypery();
409767
409762
  import { createInterface } from "node:readline";
409768
- var VERSION2 = "0.30.0";
409763
+ var VERSION2 = "0.32.0";
409769
409764
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
409770
409765
 
409771
409766
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.30.0",
3
+ "version": "0.32.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.30.0"
37
+ "@popcraft/kit": "0.32.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",