@popcraft/cli 0.31.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.
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.31.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"];
@@ -261592,6 +261593,7 @@ function planEntryAction({ home }) {
261592
261593
  var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
261593
261594
  var init_team = __esm({
261594
261595
  "lib/client/cloud/team.ts"() {
261596
+ "use strict";
261595
261597
  init_esm();
261596
261598
  init_api4();
261597
261599
  init_session();
@@ -310277,7 +310279,6 @@ function downloadBlob(blob, filename) {
310277
310279
  }
310278
310280
  var init_download = __esm({
310279
310281
  "lib/io/download.ts"() {
310280
- "use strict";
310281
310282
  }
310282
310283
  });
310283
310284
 
@@ -310497,7 +310498,6 @@ function creditLine(c2) {
310497
310498
  var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
310498
310499
  var init_stock = __esm({
310499
310500
  "lib/photos/stock.ts"() {
310500
- "use strict";
310501
310501
  MAX_PHOTO_PAGE = 12;
310502
310502
  MAX_PHOTO_QUERY = 200;
310503
310503
  UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -326409,7 +326409,7 @@ var init_package = __esm({
326409
326409
  "packages/runtime/package.json"() {
326410
326410
  package_default = {
326411
326411
  name: "@popcraft/runtime",
326412
- version: "0.31.0",
326412
+ version: "0.32.0",
326413
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.",
326414
326414
  license: "MIT",
326415
326415
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -351075,7 +351075,6 @@ function exportsOf(source3) {
351075
351075
  var CODE_LIMITS, packageOf;
351076
351076
  var init_source2 = __esm({
351077
351077
  "lib/code/source.ts"() {
351078
- "use strict";
351079
351078
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
351080
351079
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
351081
351080
  }
@@ -351118,7 +351117,6 @@ function compileModule(module2) {
351118
351117
  var import_sucrase, BUILT_IN, memo4;
351119
351118
  var init_compile2 = __esm({
351120
351119
  "lib/code/compile.ts"() {
351121
- "use strict";
351122
351120
  import_sucrase = __toESM(require_dist2());
351123
351121
  init_source2();
351124
351122
  init_source2();
@@ -351196,6 +351194,7 @@ function hashOf2(text) {
351196
351194
  }
351197
351195
  var init_hash = __esm({
351198
351196
  "lib/code/hash.ts"() {
351197
+ "use strict";
351199
351198
  }
351200
351199
  });
351201
351200
 
@@ -397058,7 +397057,6 @@ function record(source, namespaces, globals, limits) {
397058
397057
  var HELPER_NAMES;
397059
397058
  var init_helper_names = __esm({
397060
397059
  "lib/agent/design-script/helper-names.ts"() {
397061
- "use strict";
397062
397060
  HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
397063
397061
  }
397064
397062
  });
@@ -397161,7 +397159,6 @@ async function replay(rec, namespaces2) {
397161
397159
  var BLOCKED, isRef2, isFn;
397162
397160
  var init_replay = __esm({
397163
397161
  "lib/agent/design-script/replay.ts"() {
397164
- "use strict";
397165
397162
  BLOCKED = /* @__PURE__ */ new Set(["constructor", "prototype", "__proto__", "caller", "callee", "arguments", "call", "apply", "bind"]);
397166
397163
  isRef2 = (v) => !!v && typeof v === "object" && "$ref" in v && Array.isArray(v.path);
397167
397164
  isFn = (v) => !!v && typeof v === "object" && "$fn" in v && Array.isArray(v.ops);
@@ -409763,7 +409760,7 @@ init_resources();
409763
409760
  init_desktop();
409764
409761
  init_hypery();
409765
409762
  import { createInterface } from "node:readline";
409766
- var VERSION2 = "0.31.0";
409763
+ var VERSION2 = "0.32.0";
409767
409764
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
409768
409765
 
409769
409766
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.31.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.31.0"
37
+ "@popcraft/kit": "0.32.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",