@popcraft/cli 0.48.1 → 0.48.3

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 +13 -8
  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.48.1"}`, ...opts.headers };
1199
+ const headers = { "user-agent": `popcraft-cli/${"0.48.3"}`, ...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 {
@@ -247966,7 +247966,6 @@ function repairCompositions(comps, nodes) {
247966
247966
  var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
247967
247967
  var init_invariants = __esm({
247968
247968
  "lib/motion/invariants.ts"() {
247969
- "use strict";
247970
247969
  init_easing();
247971
247970
  init_properties();
247972
247971
  init_markers();
@@ -248063,7 +248062,6 @@ function resyncText(doc2, ids2) {
248063
248062
  var isVirtualId;
248064
248063
  var init_invariants2 = __esm({
248065
248064
  "lib/document/invariants.ts"() {
248066
- "use strict";
248067
248065
  init_auto_layout();
248068
248066
  init_scene_graph();
248069
248067
  init_text_bounds();
@@ -257028,7 +257026,6 @@ function followPeers(peers) {
257028
257026
  var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
257029
257027
  var init_presence = __esm({
257030
257028
  "lib/collab/presence.ts"() {
257031
- "use strict";
257032
257029
  init_esm();
257033
257030
  init_editor_store();
257034
257031
  init_status_announcements();
@@ -262578,7 +262575,6 @@ function formatDate(date5, opts = { month: "short", day: "numeric", year: "numer
262578
262575
  var cache5, nf;
262579
262576
  var init_format = __esm({
262580
262577
  "lib/i18n/format.ts"() {
262581
- "use strict";
262582
262578
  init_runtime();
262583
262579
  cache5 = /* @__PURE__ */ new Map();
262584
262580
  nf = (opts) => cached2("n", opts, (l) => new Intl.NumberFormat(l, opts));
@@ -262598,6 +262594,7 @@ function formatLimit(key5, max3) {
262598
262594
  var formatBytes;
262599
262595
  var init_limits2 = __esm({
262600
262596
  "lib/billing/limits.ts"() {
262597
+ "use strict";
262601
262598
  init_format();
262602
262599
  init_plans();
262603
262600
  formatBytes = formatFileSize;
@@ -311804,6 +311801,7 @@ async function dispatchShaped(key5, options) {
311804
311801
  var onViolation;
311805
311802
  var init_dispatch = __esm({
311806
311803
  "lib/commands/dispatch.ts"() {
311804
+ "use strict";
311807
311805
  init_errors();
311808
311806
  init_registry();
311809
311807
  init_confirm();
@@ -312203,6 +312201,7 @@ function creditLine(c2) {
312203
312201
  var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
312204
312202
  var init_stock = __esm({
312205
312203
  "lib/photos/stock.ts"() {
312204
+ "use strict";
312206
312205
  MAX_PHOTO_PAGE = 12;
312207
312206
  MAX_PHOTO_QUERY = 200;
312208
312207
  UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -312864,6 +312863,7 @@ function applyTextPath(layout2, path, tp, rebase = true) {
312864
312863
  var defaultCircleRadius, ownsPath, mapPoint;
312865
312864
  var init_text_path = __esm({
312866
312865
  "lib/engine/text/text-path.ts"() {
312866
+ "use strict";
312867
312867
  init_scene_graph();
312868
312868
  init_transform();
312869
312869
  init_shape_to_path();
@@ -317325,6 +317325,7 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
317325
317325
  var MIME, DEFAULT_EXPORT, exportSettingsOf;
317326
317326
  var init_export = __esm({
317327
317327
  "lib/io/export.ts"() {
317328
+ "use strict";
317328
317329
  init_download();
317329
317330
  init_scene_graph();
317330
317331
  init_codecs();
@@ -317416,7 +317417,6 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
317416
317417
  var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
317417
317418
  var init_reference_images = __esm({
317418
317419
  "lib/ai/reference-images.ts"() {
317419
- "use strict";
317420
317420
  init_export();
317421
317421
  init_selection_bounds();
317422
317422
  init_renderer_registry();
@@ -328147,7 +328147,7 @@ var init_package = __esm({
328147
328147
  "packages/runtime/package.json"() {
328148
328148
  package_default = {
328149
328149
  name: "@popcraft/runtime",
328150
- version: "0.48.1",
328150
+ version: "0.48.3",
328151
328151
  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.",
328152
328152
  license: "MIT",
328153
328153
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -352813,6 +352813,7 @@ function exportsOf(source3) {
352813
352813
  var CODE_LIMITS, packageOf;
352814
352814
  var init_source2 = __esm({
352815
352815
  "lib/code/source.ts"() {
352816
+ "use strict";
352816
352817
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
352817
352818
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
352818
352819
  }
@@ -352855,6 +352856,7 @@ function compileModule(module2) {
352855
352856
  var import_sucrase, BUILT_IN, memo4;
352856
352857
  var init_compile2 = __esm({
352857
352858
  "lib/code/compile.ts"() {
352859
+ "use strict";
352858
352860
  import_sucrase = __toESM(require_dist2());
352859
352861
  init_source2();
352860
352862
  init_source2();
@@ -361369,6 +361371,7 @@ function publishSite(key5, files, opts = {}) {
361369
361371
  var siteStatus, setSiteVersion, workspaceSites, deleteSite, renameSite;
361370
361372
  var init_sites = __esm({
361371
361373
  "lib/client/cloud/sites.ts"() {
361374
+ "use strict";
361372
361375
  init_files();
361373
361376
  init_upload2();
361374
361377
  init_api4();
@@ -361896,6 +361899,7 @@ var init_delete_current_file = __esm({
361896
361899
  var storeOpsSeam;
361897
361900
  var init_seams = __esm({
361898
361901
  "lib/commands/seams.ts"() {
361902
+ "use strict";
361899
361903
  storeOpsSeam = (st) => ({
361900
361904
  booleanOperation: (op4) => st().booleanOperation(op4),
361901
361905
  flatten: () => st().flattenSelection(),
@@ -406121,6 +406125,7 @@ function registerBuiltinCommands() {
406121
406125
  var builtinCommands, uiOnlyCommands;
406122
406126
  var init_builtin4 = __esm({
406123
406127
  "lib/commands/builtin.ts"() {
406128
+ "use strict";
406124
406129
  init_registry();
406125
406130
  init_node();
406126
406131
  init_node();
@@ -413724,7 +413729,7 @@ init_resources();
413724
413729
  init_desktop();
413725
413730
  init_hypery();
413726
413731
  import { createInterface } from "node:readline";
413727
- var VERSION2 = "0.48.1";
413732
+ var VERSION2 = "0.48.3";
413728
413733
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
413729
413734
 
413730
413735
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.48.1",
3
+ "version": "0.48.3",
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.48.1"
37
+ "@popcraft/kit": "0.48.3"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",