@popcraft/cli 0.50.0 → 0.50.1

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
@@ -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.50.0"}`, ...opts.headers };
1199
+ const headers = { "user-agent": `popcraft-cli/${"0.50.1"}`, ...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 {
@@ -248125,6 +248125,7 @@ function resyncText(doc2, ids2) {
248125
248125
  var isVirtualId;
248126
248126
  var init_invariants2 = __esm({
248127
248127
  "lib/document/invariants.ts"() {
248128
+ "use strict";
248128
248129
  init_auto_layout();
248129
248130
  init_scene_graph();
248130
248131
  init_text_bounds();
@@ -249151,7 +249152,6 @@ function beforeWrite() {
249151
249152
  var leave;
249152
249153
  var init_read_only = __esm({
249153
249154
  "lib/editor/modes/read-only.ts"() {
249154
- "use strict";
249155
249155
  leave = null;
249156
249156
  }
249157
249157
  });
@@ -252593,7 +252593,6 @@ function resizeWindow(doc2, target2, rect) {
252593
252593
  }
252594
252594
  var init_crop = __esm({
252595
252595
  "lib/editor/crop.ts"() {
252596
- "use strict";
252597
252596
  init_dist_node();
252598
252597
  init_scene_graph();
252599
252598
  init_photo_frames();
@@ -256677,7 +256676,6 @@ function mergeFonts(fonts, incoming) {
256677
256676
  var fontWeightOf, fontStyleOf, sameSlot, hashOf, documentFontHashes;
256678
256677
  var init_document_fonts = __esm({
256679
256678
  "lib/fonts/document-fonts.ts"() {
256680
- "use strict";
256681
256679
  init_media_store();
256682
256680
  init_media_hash();
256683
256681
  fontWeightOf = (f2) => f2.weight ?? 400;
@@ -257090,7 +257088,6 @@ function followPeers(peers) {
257090
257088
  var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
257091
257089
  var init_presence = __esm({
257092
257090
  "lib/collab/presence.ts"() {
257093
- "use strict";
257094
257091
  init_esm();
257095
257092
  init_editor_store();
257096
257093
  init_status_announcements();
@@ -262660,7 +262657,6 @@ function formatLimit(key5, max3) {
262660
262657
  var formatBytes;
262661
262658
  var init_limits2 = __esm({
262662
262659
  "lib/billing/limits.ts"() {
262663
- "use strict";
262664
262660
  init_format();
262665
262661
  init_plans();
262666
262662
  formatBytes = formatFileSize;
@@ -311658,6 +311654,7 @@ function startCloudSync() {
311658
311654
  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, started2;
311659
311655
  var init_sync2 = __esm({
311660
311656
  "lib/client/cloud/sync.ts"() {
311657
+ "use strict";
311661
311658
  init_paint_repair();
311662
311659
  init_migrate();
311663
311660
  init_view();
@@ -312928,7 +312925,6 @@ function applyTextPath(layout2, path, tp, rebase = true) {
312928
312925
  var defaultCircleRadius, ownsPath, mapPoint;
312929
312926
  var init_text_path = __esm({
312930
312927
  "lib/engine/text/text-path.ts"() {
312931
- "use strict";
312932
312928
  init_scene_graph();
312933
312929
  init_transform();
312934
312930
  init_shape_to_path();
@@ -313046,7 +313042,6 @@ function areaBounds(rings) {
313046
313042
  }
313047
313043
  var init_text_area = __esm({
313048
313044
  "lib/engine/text/text-area.ts"() {
313049
- "use strict";
313050
313045
  }
313051
313046
  });
313052
313047
 
@@ -317391,7 +317386,6 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
317391
317386
  var MIME, DEFAULT_EXPORT, exportSettingsOf;
317392
317387
  var init_export = __esm({
317393
317388
  "lib/io/export.ts"() {
317394
- "use strict";
317395
317389
  init_download();
317396
317390
  init_scene_graph();
317397
317391
  init_codecs();
@@ -318326,6 +318320,7 @@ function agentToolList() {
318326
318320
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
318327
318321
  var init_agent = __esm({
318328
318322
  "lib/commands/agent.ts"() {
318323
+ "use strict";
318329
318324
  init_types5();
318330
318325
  init_registry();
318331
318326
  init_errors();
@@ -328480,7 +328475,7 @@ var init_package = __esm({
328480
328475
  "packages/runtime/package.json"() {
328481
328476
  package_default = {
328482
328477
  name: "@popcraft/runtime",
328483
- version: "0.50.0",
328478
+ version: "0.50.1",
328484
328479
  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.",
328485
328480
  license: "MIT",
328486
328481
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -414059,7 +414054,7 @@ init_resources();
414059
414054
  init_desktop();
414060
414055
  init_hypery();
414061
414056
  import { createInterface } from "node:readline";
414062
- var VERSION2 = "0.50.0";
414057
+ var VERSION2 = "0.50.1";
414063
414058
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
414064
414059
 
414065
414060
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.50.0",
3
+ "version": "0.50.1",
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.50.0"
37
+ "@popcraft/kit": "0.50.1"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",