@popcraft/cli 0.54.0 → 0.55.0

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 +9 -15
  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.54.0"}`, ...opts.headers };
1201
+ const headers = { "user-agent": `popcraft-cli/${"0.55.0"}`, ...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 {
@@ -176232,7 +176232,6 @@ var init_frame_labels = __esm({
176232
176232
  var MODE_PROFILES, isTimelineMode, FOCUS_PROFILES, MODE_LIST, FOCUS_BY_PRECEDENCE;
176233
176233
  var init_registry2 = __esm({
176234
176234
  "lib/editor/modes/registry.ts"() {
176235
- "use strict";
176236
176235
  MODE_PROFILES = {
176237
176236
  DESIGN: {
176238
176237
  id: "DESIGN",
@@ -248055,6 +248054,7 @@ function hasMessage(key5) {
248055
248054
  var current2, loading2, listeners, formats, asts;
248056
248055
  var init_runtime = __esm({
248057
248056
  "lib/i18n/runtime.ts"() {
248057
+ "use strict";
248058
248058
  init_intl_messageformat();
248059
248059
  init_icu_messageformat_parser();
248060
248060
  init_catalogs();
@@ -249757,6 +249757,7 @@ function repairDocumentPaints(doc2) {
249757
249757
  var broken;
249758
249758
  var init_paint_repair = __esm({
249759
249759
  "lib/document/paint-repair.ts"() {
249760
+ "use strict";
249760
249761
  init_shader_graph();
249761
249762
  broken = (p2) => {
249762
249763
  if (!p2 || typeof p2 !== "object") return false;
@@ -250429,7 +250430,6 @@ function relinkCopies(doc2, copies) {
250429
250430
  var TEXT_PATH_SOURCE_TYPES, isPathSource;
250430
250431
  var init_text_links = __esm({
250431
250432
  "lib/document/text-links.ts"() {
250432
- "use strict";
250433
250433
  init_transform();
250434
250434
  TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
250435
250435
  isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
@@ -257311,7 +257311,6 @@ function fillPhotoFrame(doc2, groupId, imageUrl, size6, name2 = "Photo", credit)
257311
257311
  var isPhotoFrame;
257312
257312
  var init_photo_frames = __esm({
257313
257313
  "lib/document/photo-frames.ts"() {
257314
- "use strict";
257315
257314
  init_dist_node();
257316
257315
  init_scene_graph();
257317
257316
  init_types();
@@ -259132,7 +259131,6 @@ function resizeWindow(doc2, target2, rect) {
259132
259131
  }
259133
259132
  var init_crop = __esm({
259134
259133
  "lib/editor/crop.ts"() {
259135
- "use strict";
259136
259134
  init_dist_node();
259137
259135
  init_scene_graph();
259138
259136
  init_photo_frames();
@@ -262163,7 +262161,6 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
262163
262161
  var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
262164
262162
  var init_shader_presets = __esm({
262165
262163
  "lib/engine/shader-presets.ts"() {
262166
- "use strict";
262167
262164
  init_shader_graph();
262168
262165
  init_shader_graph_presets();
262169
262166
  init_shader_presets_legacy();
@@ -268386,7 +268383,6 @@ function networkSignal(signal, timeoutMs = NETWORK_TIMEOUT_MS) {
268386
268383
  var import_react3, NETWORK_TIMEOUT_MS, OfflineError;
268387
268384
  var init_network = __esm({
268388
268385
  "lib/client/network.ts"() {
268389
- "use strict";
268390
268386
  import_react3 = __toESM(require_react());
268391
268387
  NETWORK_TIMEOUT_MS = 8e3;
268392
268388
  OfflineError = class extends Error {
@@ -268482,7 +268478,6 @@ function formatLimit(key5, max3) {
268482
268478
  var formatBytes;
268483
268479
  var init_limits2 = __esm({
268484
268480
  "lib/billing/limits.ts"() {
268485
- "use strict";
268486
268481
  init_format();
268487
268482
  init_plans();
268488
268483
  formatBytes = formatFileSize;
@@ -317483,6 +317478,7 @@ function startCloudSync() {
317483
317478
  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;
317484
317479
  var init_sync2 = __esm({
317485
317480
  "lib/client/cloud/sync.ts"() {
317481
+ "use strict";
317486
317482
  init_kinds();
317487
317483
  init_paint_repair();
317488
317484
  init_migrate();
@@ -317694,7 +317690,6 @@ async function dispatchShaped(key5, options) {
317694
317690
  var onViolation;
317695
317691
  var init_dispatch = __esm({
317696
317692
  "lib/commands/dispatch.ts"() {
317697
- "use strict";
317698
317693
  init_errors();
317699
317694
  init_registry();
317700
317695
  init_confirm();
@@ -318756,6 +318751,7 @@ function applyTextPath(layout2, path, tp, rebase = true) {
318756
318751
  var defaultCircleRadius, ownsPath, mapPoint;
318757
318752
  var init_text_path = __esm({
318758
318753
  "lib/engine/text/text-path.ts"() {
318754
+ "use strict";
318759
318755
  init_scene_graph();
318760
318756
  init_transform();
318761
318757
  init_shape_to_path();
@@ -318873,6 +318869,7 @@ function areaBounds(rings) {
318873
318869
  }
318874
318870
  var init_text_area = __esm({
318875
318871
  "lib/engine/text/text-area.ts"() {
318872
+ "use strict";
318876
318873
  }
318877
318874
  });
318878
318875
 
@@ -333973,7 +333970,7 @@ var init_package = __esm({
333973
333970
  "packages/runtime/package.json"() {
333974
333971
  package_default = {
333975
333972
  name: "@popcraft/runtime",
333976
- version: "0.54.0",
333973
+ version: "0.55.0",
333977
333974
  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.",
333978
333975
  license: "MIT",
333979
333976
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -366891,6 +366888,7 @@ function publishSite(key5, files, opts = {}) {
366891
366888
  var siteStatus, setSiteVersion, workspaceSites, deleteSite, renameSite;
366892
366889
  var init_sites = __esm({
366893
366890
  "lib/client/cloud/sites.ts"() {
366891
+ "use strict";
366894
366892
  init_files();
366895
366893
  init_upload2();
366896
366894
  init_api4();
@@ -367491,7 +367489,6 @@ var init_edit_open = __esm({
367491
367489
  var storeOpsSeam;
367492
367490
  var init_seams = __esm({
367493
367491
  "lib/commands/seams.ts"() {
367494
- "use strict";
367495
367492
  storeOpsSeam = (st2) => ({
367496
367493
  booleanOperation: (op4) => st2().booleanOperation(op4),
367497
367494
  flatten: () => st2().flattenSelection(),
@@ -406561,7 +406558,6 @@ function placeDesign(doc2, built, source3, size6, name2, at5) {
406561
406558
  var DESIGN_NAMESPACES, DERIVED2, templateOfBuild;
406562
406559
  var init_build3 = __esm({
406563
406560
  "lib/agent/design-script/build.ts"() {
406564
- "use strict";
406565
406561
  init_hash();
406566
406562
  init_scene_graph();
406567
406563
  init_libraries();
@@ -406591,7 +406587,6 @@ function designFrameOf(doc2, id3) {
406591
406587
  }
406592
406588
  var init_locate = __esm({
406593
406589
  "lib/agent/design-script/locate.ts"() {
406594
- "use strict";
406595
406590
  }
406596
406591
  });
406597
406592
 
@@ -411763,7 +411758,6 @@ function registerBuiltinCommands() {
411763
411758
  var builtinCommands, uiOnlyCommands;
411764
411759
  var init_builtin4 = __esm({
411765
411760
  "lib/commands/builtin.ts"() {
411766
- "use strict";
411767
411761
  init_registry();
411768
411762
  init_node();
411769
411763
  init_node();
@@ -419364,7 +419358,7 @@ init_resources();
419364
419358
  init_desktop();
419365
419359
  init_hypery();
419366
419360
  import { createInterface } from "node:readline";
419367
- var VERSION2 = "0.54.0";
419361
+ var VERSION2 = "0.55.0";
419368
419362
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
419369
419363
 
419370
419364
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.54.0",
3
+ "version": "0.55.0",
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.54.0"
37
+ "@popcraft/kit": "0.55.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",