@popcraft/cli 0.56.0 → 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 +12 -13
  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.0"}`, ...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
  }
@@ -172574,7 +172573,6 @@ async function sha256Prefix(bytes2) {
172574
172573
  }
172575
172574
  var init_media_hash = __esm({
172576
172575
  "lib/storage/media-hash.ts"() {
172577
- "use strict";
172578
172576
  }
172579
172577
  });
172580
172578
 
@@ -252385,6 +252383,7 @@ function hasMessage(key5) {
252385
252383
  var current3, loading2, listeners2, formats, asts;
252386
252384
  var init_runtime = __esm({
252387
252385
  "lib/i18n/runtime.ts"() {
252386
+ "use strict";
252388
252387
  init_intl_messageformat();
252389
252388
  init_icu_messageformat_parser();
252390
252389
  init_catalogs();
@@ -254087,6 +254086,7 @@ function repairDocumentPaints(doc2) {
254087
254086
  var broken;
254088
254087
  var init_paint_repair = __esm({
254089
254088
  "lib/document/paint-repair.ts"() {
254089
+ "use strict";
254090
254090
  init_shader_graph();
254091
254091
  broken = (p2) => {
254092
254092
  if (!p2 || typeof p2 !== "object") return false;
@@ -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
  }
@@ -260366,7 +260365,6 @@ function repairFx(raw) {
260366
260365
  var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH, LAYER_KINDS, ADJUSTMENT_TYPES, OPACITY_PROPERTY, CAPTION_PRESET_NAMES, inRange;
260367
260366
  var init_invariants = __esm({
260368
260367
  "lib/motion/invariants.ts"() {
260369
- "use strict";
260370
260368
  init_adjustments();
260371
260369
  init_captions();
260372
260370
  init_lut();
@@ -261504,7 +261502,6 @@ function beforeWrite() {
261504
261502
  var leave;
261505
261503
  var init_read_only = __esm({
261506
261504
  "lib/editor/modes/read-only.ts"() {
261507
- "use strict";
261508
261505
  leave = null;
261509
261506
  }
261510
261507
  });
@@ -263176,7 +263173,6 @@ function resizeWindow(doc2, target2, rect) {
263176
263173
  }
263177
263174
  var init_crop = __esm({
263178
263175
  "lib/editor/crop.ts"() {
263179
- "use strict";
263180
263176
  init_dist_node();
263181
263177
  init_scene_graph();
263182
263178
  init_photo_frames();
@@ -267171,7 +267167,6 @@ function followPeers(peers) {
267171
267167
  var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
267172
267168
  var init_presence = __esm({
267173
267169
  "lib/collab/presence.ts"() {
267174
- "use strict";
267175
267170
  init_esm();
267176
267171
  init_editor_store();
267177
267172
  init_status_announcements();
@@ -272719,7 +272714,6 @@ function networkSignal(signal, timeoutMs = NETWORK_TIMEOUT_MS) {
272719
272714
  var import_react3, NETWORK_TIMEOUT_MS, OfflineError;
272720
272715
  var init_network = __esm({
272721
272716
  "lib/client/network.ts"() {
272722
- "use strict";
272723
272717
  import_react3 = __toESM(require_react());
272724
272718
  NETWORK_TIMEOUT_MS = 8e3;
272725
272719
  OfflineError = class extends Error {
@@ -272815,7 +272809,6 @@ function formatLimit(key5, max3) {
272815
272809
  var formatBytes;
272816
272810
  var init_limits2 = __esm({
272817
272811
  "lib/billing/limits.ts"() {
272818
- "use strict";
272819
272812
  init_format();
272820
272813
  init_plans();
272821
272814
  formatBytes = formatFileSize;
@@ -273361,7 +273354,6 @@ function planEntryAction({ home }) {
273361
273354
  var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
273362
273355
  var init_team = __esm({
273363
273356
  "lib/client/cloud/team.ts"() {
273364
- "use strict";
273365
273357
  init_esm();
273366
273358
  init_api4();
273367
273359
  init_session();
@@ -322221,6 +322213,7 @@ function startCloudSync() {
322221
322213
  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;
322222
322214
  var init_sync2 = __esm({
322223
322215
  "lib/client/cloud/sync.ts"() {
322216
+ "use strict";
322224
322217
  init_kinds();
322225
322218
  init_paint_repair();
322226
322219
  init_migrate();
@@ -322432,6 +322425,7 @@ async function dispatchShaped(key5, options) {
322432
322425
  var onViolation;
322433
322426
  var init_dispatch = __esm({
322434
322427
  "lib/commands/dispatch.ts"() {
322428
+ "use strict";
322435
322429
  init_errors();
322436
322430
  init_registry();
322437
322431
  init_confirm();
@@ -328586,6 +328580,7 @@ function agentToolList() {
328586
328580
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
328587
328581
  var init_agent = __esm({
328588
328582
  "lib/commands/agent.ts"() {
328583
+ "use strict";
328589
328584
  init_types5();
328590
328585
  init_registry();
328591
328586
  init_errors();
@@ -338645,7 +338640,7 @@ var init_package = __esm({
338645
338640
  "packages/runtime/package.json"() {
338646
338641
  package_default = {
338647
338642
  name: "@popcraft/runtime",
338648
- version: "0.56.0",
338643
+ version: "0.56.2",
338649
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.",
338650
338645
  license: "MIT",
338651
338646
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -363311,6 +363306,7 @@ function exportsOf(source3) {
363311
363306
  var CODE_LIMITS, packageOf;
363312
363307
  var init_source2 = __esm({
363313
363308
  "lib/code/source.ts"() {
363309
+ "use strict";
363314
363310
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
363315
363311
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
363316
363312
  }
@@ -363353,6 +363349,7 @@ function compileModule(module2) {
363353
363349
  var import_sucrase, BUILT_IN, memo6;
363354
363350
  var init_compile2 = __esm({
363355
363351
  "lib/code/compile.ts"() {
363352
+ "use strict";
363356
363353
  import_sucrase = __toESM(require_dist2());
363357
363354
  init_source2();
363358
363355
  init_source2();
@@ -373456,6 +373453,7 @@ var init_source_monitor = __esm({
373456
373453
  var storeOpsSeam;
373457
373454
  var init_seams = __esm({
373458
373455
  "lib/commands/seams.ts"() {
373456
+ "use strict";
373459
373457
  storeOpsSeam = (st3) => ({
373460
373458
  booleanOperation: (op4) => st3().booleanOperation(op4),
373461
373459
  flatten: () => st3().flattenSelection(),
@@ -417658,6 +417656,7 @@ function registerBuiltinCommands() {
417658
417656
  var builtinCommands, uiOnlyCommands;
417659
417657
  var init_builtin4 = __esm({
417660
417658
  "lib/commands/builtin.ts"() {
417659
+ "use strict";
417661
417660
  init_registry();
417662
417661
  init_node();
417663
417662
  init_node();
@@ -425263,7 +425262,7 @@ init_resources();
425263
425262
  init_desktop();
425264
425263
  init_hypery();
425265
425264
  import { createInterface } from "node:readline";
425266
- var VERSION2 = "0.56.0";
425265
+ var VERSION2 = "0.56.2";
425267
425266
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
425268
425267
 
425269
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.0",
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.0"
37
+ "@popcraft/kit": "0.56.2"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",