@popcraft/cli 0.35.1 → 0.35.2

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
@@ -1196,7 +1196,7 @@ function operations(spec = openapi) {
1196
1196
  }
1197
1197
  async function call(target2, method, path, opts = {}) {
1198
1198
  const qs = new URLSearchParams(opts.query ?? {}).toString();
1199
- const headers = { "user-agent": `popcraft-cli/${"0.35.1"}`, ...opts.headers };
1199
+ const headers = { "user-agent": `popcraft-cli/${"0.35.2"}`, ...opts.headers };
1200
1200
  if (target2.token) headers.authorization = `Bearer ${target2.token}`;
1201
1201
  if (opts.contentType) headers["content-type"] = opts.contentType;
1202
1202
  try {
@@ -96055,7 +96055,6 @@ function releaseMediaMemory(hash3) {
96055
96055
  var key2, peaksKey, objectUrls, sourceKey, remoteResolver, MEDIA_FETCH_TIMEOUT_MS, SHIPPED_MEDIA_PATH, notShipped, MEDIA_SCHEME, isImageDataUrl, memory, pendingLoads, sourceAliases, PAINT_KEYS, URL_KEYS;
96056
96056
  var init_media_store = __esm({
96057
96057
  "lib/storage/media-store.ts"() {
96058
- "use strict";
96059
96058
  init_media_types();
96060
96059
  init_idb();
96061
96060
  init_media_hash();
@@ -309851,7 +309850,6 @@ async function createFreshFileOrExplain(place4 = {}, seed2 = {}) {
309851
309850
  var online, goesLocal;
309852
309851
  var init_new_file = __esm({
309853
309852
  "lib/client/cloud/new-file.ts"() {
309854
- "use strict";
309855
309853
  init_scene_graph();
309856
309854
  init_print_pages();
309857
309855
  init_page_presets();
@@ -326891,7 +326889,7 @@ var init_package = __esm({
326891
326889
  "packages/runtime/package.json"() {
326892
326890
  package_default = {
326893
326891
  name: "@popcraft/runtime",
326894
- version: "0.35.1",
326892
+ version: "0.35.2",
326895
326893
  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.",
326896
326894
  license: "MIT",
326897
326895
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -351557,7 +351555,6 @@ function exportsOf(source3) {
351557
351555
  var CODE_LIMITS, packageOf;
351558
351556
  var init_source2 = __esm({
351559
351557
  "lib/code/source.ts"() {
351560
- "use strict";
351561
351558
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
351562
351559
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
351563
351560
  }
@@ -351600,7 +351597,6 @@ function compileModule(module2) {
351600
351597
  var import_sucrase, BUILT_IN, memo4;
351601
351598
  var init_compile2 = __esm({
351602
351599
  "lib/code/compile.ts"() {
351603
- "use strict";
351604
351600
  import_sucrase = __toESM(require_dist2());
351605
351601
  init_source2();
351606
351602
  init_source2();
@@ -360577,7 +360573,6 @@ var init_publish = __esm({
360577
360573
  var storeOpsSeam;
360578
360574
  var init_seams = __esm({
360579
360575
  "lib/commands/seams.ts"() {
360580
- "use strict";
360581
360576
  storeOpsSeam = (st) => ({
360582
360577
  booleanOperation: (op4) => st().booleanOperation(op4),
360583
360578
  flatten: () => st().flattenSelection(),
@@ -397584,7 +397579,6 @@ function record(source, namespaces, globals, limits) {
397584
397579
  var HELPER_NAMES;
397585
397580
  var init_helper_names = __esm({
397586
397581
  "lib/agent/design-script/helper-names.ts"() {
397587
- "use strict";
397588
397582
  HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
397589
397583
  }
397590
397584
  });
@@ -410351,7 +410345,7 @@ init_resources();
410351
410345
  init_desktop();
410352
410346
  init_hypery();
410353
410347
  import { createInterface } from "node:readline";
410354
- var VERSION2 = "0.35.1";
410348
+ var VERSION2 = "0.35.2";
410355
410349
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
410356
410350
 
410357
410351
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.35.1",
3
+ "version": "0.35.2",
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.35.1"
37
+ "@popcraft/kit": "0.35.2"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",