@popcraft/cli 0.56.1 → 0.56.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.
Files changed (2) hide show
  1. package/dist/popcraft.mjs +10 -7
  2. package/package.json +2 -2
package/dist/popcraft.mjs CHANGED
@@ -1198,7 +1198,7 @@ function operations(spec = openapi) {
1198
1198
  }
1199
1199
  async function call(target2, method, path, opts = {}) {
1200
1200
  const qs = new URLSearchParams(opts.query ?? {}).toString();
1201
- const headers = { "user-agent": `popcraft-cli/${"0.56.1"}`, ...opts.headers };
1201
+ const headers = { "user-agent": `popcraft-cli/${"0.56.2"}`, ...opts.headers };
1202
1202
  if (target2.token) headers.authorization = `Bearer ${target2.token}`;
1203
1203
  if (opts.contentType) headers["content-type"] = opts.contentType;
1204
1204
  try {
@@ -29244,7 +29244,6 @@ function selectionWorldBounds(nodes, ids2, scrollState) {
29244
29244
  }
29245
29245
  var init_selection_bounds = __esm({
29246
29246
  "lib/editor/selection-bounds.ts"() {
29247
- "use strict";
29248
29247
  init_scene_graph();
29249
29248
  init_transform();
29250
29249
  }
@@ -172956,6 +172955,7 @@ function releaseMediaMemory(hash3) {
172956
172955
  var key2, peaksKey, objectUrls, sourceKey, remoteResolver, MEDIA_FETCH_TIMEOUT_MS, SHIPPED_MEDIA_PATH, notShipped, MEDIA_SCHEME, isImageDataUrl, memory, pendingLoads, sourceAliases, PAINT_KEYS, URL_KEYS;
172957
172956
  var init_media_store = __esm({
172958
172957
  "lib/storage/media-store.ts"() {
172958
+ "use strict";
172959
172959
  init_media_types();
172960
172960
  init_idb();
172961
172961
  init_media_hash();
@@ -255427,7 +255427,6 @@ function isAutoLayout(node2) {
255427
255427
  }
255428
255428
  var init_auto_layout = __esm({
255429
255429
  "lib/document/auto-layout.ts"() {
255430
- "use strict";
255431
255430
  init_instance_layout();
255432
255431
  setLayoutEngine(applyAutoLayout);
255433
255432
  }
@@ -263174,7 +263173,6 @@ function resizeWindow(doc2, target2, rect) {
263174
263173
  }
263175
263174
  var init_crop = __esm({
263176
263175
  "lib/editor/crop.ts"() {
263177
- "use strict";
263178
263176
  init_dist_node();
263179
263177
  init_scene_graph();
263180
263178
  init_photo_frames();
@@ -272811,7 +272809,6 @@ function formatLimit(key5, max3) {
272811
272809
  var formatBytes;
272812
272810
  var init_limits2 = __esm({
272813
272811
  "lib/billing/limits.ts"() {
272814
- "use strict";
272815
272812
  init_format();
272816
272813
  init_plans();
272817
272814
  formatBytes = formatFileSize;
@@ -322428,6 +322425,7 @@ async function dispatchShaped(key5, options) {
322428
322425
  var onViolation;
322429
322426
  var init_dispatch = __esm({
322430
322427
  "lib/commands/dispatch.ts"() {
322428
+ "use strict";
322431
322429
  init_errors();
322432
322430
  init_registry();
322433
322431
  init_confirm();
@@ -328582,6 +328580,7 @@ function agentToolList() {
328582
328580
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
328583
328581
  var init_agent = __esm({
328584
328582
  "lib/commands/agent.ts"() {
328583
+ "use strict";
328585
328584
  init_types5();
328586
328585
  init_registry();
328587
328586
  init_errors();
@@ -338641,7 +338640,7 @@ var init_package = __esm({
338641
338640
  "packages/runtime/package.json"() {
338642
338641
  package_default = {
338643
338642
  name: "@popcraft/runtime",
338644
- version: "0.56.1",
338643
+ version: "0.56.2",
338645
338644
  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.",
338646
338645
  license: "MIT",
338647
338646
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -363307,6 +363306,7 @@ function exportsOf(source3) {
363307
363306
  var CODE_LIMITS, packageOf;
363308
363307
  var init_source2 = __esm({
363309
363308
  "lib/code/source.ts"() {
363309
+ "use strict";
363310
363310
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
363311
363311
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
363312
363312
  }
@@ -363349,6 +363349,7 @@ function compileModule(module2) {
363349
363349
  var import_sucrase, BUILT_IN, memo6;
363350
363350
  var init_compile2 = __esm({
363351
363351
  "lib/code/compile.ts"() {
363352
+ "use strict";
363352
363353
  import_sucrase = __toESM(require_dist2());
363353
363354
  init_source2();
363354
363355
  init_source2();
@@ -373452,6 +373453,7 @@ var init_source_monitor = __esm({
373452
373453
  var storeOpsSeam;
373453
373454
  var init_seams = __esm({
373454
373455
  "lib/commands/seams.ts"() {
373456
+ "use strict";
373455
373457
  storeOpsSeam = (st3) => ({
373456
373458
  booleanOperation: (op4) => st3().booleanOperation(op4),
373457
373459
  flatten: () => st3().flattenSelection(),
@@ -417654,6 +417656,7 @@ function registerBuiltinCommands() {
417654
417656
  var builtinCommands, uiOnlyCommands;
417655
417657
  var init_builtin4 = __esm({
417656
417658
  "lib/commands/builtin.ts"() {
417659
+ "use strict";
417657
417660
  init_registry();
417658
417661
  init_node();
417659
417662
  init_node();
@@ -425259,7 +425262,7 @@ init_resources();
425259
425262
  init_desktop();
425260
425263
  init_hypery();
425261
425264
  import { createInterface } from "node:readline";
425262
- var VERSION2 = "0.56.1";
425265
+ var VERSION2 = "0.56.2";
425263
425266
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
425264
425267
 
425265
425268
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.56.1",
3
+ "version": "0.56.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.56.1"
37
+ "@popcraft/kit": "0.56.2"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",