@popcraft/cli 0.56.3 → 0.56.5

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
@@ -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.3"}`, ...opts.headers };
1201
+ const headers = { "user-agent": `popcraft-cli/${"0.56.5"}`, ...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 {
@@ -254685,7 +254685,6 @@ function relinkCopies(doc2, copies) {
254685
254685
  var TEXT_PATH_SOURCE_TYPES, isPathSource;
254686
254686
  var init_text_links = __esm({
254687
254687
  "lib/document/text-links.ts"() {
254688
- "use strict";
254689
254688
  init_transform();
254690
254689
  TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
254691
254690
  isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
@@ -322215,6 +322214,7 @@ function startCloudSync() {
322215
322214
  var status, readOnlyDoc, activeLink, statusListeners, notice, urlArmed, opening, syncStatus, canEdit, uploaded, MEDIA_UPLOAD_PARALLEL, pushTimer, pushing, dirty, pendingMedia, collab, collabSession, collabAnonymous, uploadedThumbs, thumbCheckedAt, THUMB_EVERY_MS, THUMB_MIN_GAP_MS, putThumbnail, openingFiles, mediaHealed, SEEN_KEY, started2;
322216
322215
  var init_sync2 = __esm({
322217
322216
  "lib/client/cloud/sync.ts"() {
322217
+ "use strict";
322218
322218
  init_kinds();
322219
322219
  init_paint_repair();
322220
322220
  init_migrate();
@@ -327737,7 +327737,6 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
327737
327737
  var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
327738
327738
  var init_reference_images = __esm({
327739
327739
  "lib/ai/reference-images.ts"() {
327740
- "use strict";
327741
327740
  init_export();
327742
327741
  init_selection_bounds();
327743
327742
  init_renderer_registry();
@@ -338640,7 +338639,7 @@ var init_package = __esm({
338640
338639
  "packages/runtime/package.json"() {
338641
338640
  package_default = {
338642
338641
  name: "@popcraft/runtime",
338643
- version: "0.56.3",
338642
+ version: "0.56.5",
338644
338643
  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.",
338645
338644
  license: "MIT",
338646
338645
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -378980,6 +378979,7 @@ var init_doc2 = __esm({
378980
378979
  var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
378981
378980
  var init_motion3 = __esm({
378982
378981
  "lib/marketplace/motion.ts"() {
378982
+ "use strict";
378983
378983
  init_instances2();
378984
378984
  POSTER_KEY = "poster";
378985
378985
  MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
@@ -412427,6 +412427,7 @@ function placeDesign(doc2, built, source3, size6, name2, at5) {
412427
412427
  var DESIGN_NAMESPACES, DERIVED2, templateOfBuild;
412428
412428
  var init_build3 = __esm({
412429
412429
  "lib/agent/design-script/build.ts"() {
412430
+ "use strict";
412430
412431
  init_hash();
412431
412432
  init_scene_graph();
412432
412433
  init_libraries();
@@ -412456,6 +412457,7 @@ function designFrameOf(doc2, id3) {
412456
412457
  }
412457
412458
  var init_locate = __esm({
412458
412459
  "lib/agent/design-script/locate.ts"() {
412460
+ "use strict";
412459
412461
  }
412460
412462
  });
412461
412463
 
@@ -425257,7 +425259,7 @@ init_resources();
425257
425259
  init_desktop();
425258
425260
  init_hypery();
425259
425261
  import { createInterface } from "node:readline";
425260
- var VERSION2 = "0.56.3";
425262
+ var VERSION2 = "0.56.5";
425261
425263
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
425262
425264
 
425263
425265
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.56.3",
3
+ "version": "0.56.5",
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.3"
37
+ "@popcraft/kit": "0.56.5"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",