@popcraft/cli 0.44.1 → 0.46.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 +12 -6
  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.44.1"}`, ...opts.headers };
1199
+ const headers = { "user-agent": `popcraft-cli/${"0.46.0"}`, ...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 {
@@ -97535,6 +97535,7 @@ function relinkCopies(doc2, copies) {
97535
97535
  var TEXT_PATH_SOURCE_TYPES, isPathSource;
97536
97536
  var init_text_links = __esm({
97537
97537
  "lib/document/text-links.ts"() {
97538
+ "use strict";
97538
97539
  init_transform();
97539
97540
  TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
97540
97541
  isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
@@ -252435,6 +252436,7 @@ function resizeWindow(doc2, target2, rect) {
252435
252436
  }
252436
252437
  var init_crop = __esm({
252437
252438
  "lib/editor/crop.ts"() {
252439
+ "use strict";
252438
252440
  init_dist_node();
252439
252441
  init_scene_graph();
252440
252442
  init_photo_frames();
@@ -256926,6 +256928,7 @@ function followPeers(peers) {
256926
256928
  var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
256927
256929
  var init_presence = __esm({
256928
256930
  "lib/collab/presence.ts"() {
256931
+ "use strict";
256929
256932
  init_esm();
256930
256933
  init_editor_store();
256931
256934
  init_status_announcements();
@@ -260457,6 +260460,7 @@ function retuneShaderAudio(node2, fillId) {
260457
260460
  }
260458
260461
  var init_shader_audio = __esm({
260459
260462
  "lib/motion/shader-audio.ts"() {
260463
+ "use strict";
260460
260464
  init_shader_params();
260461
260465
  init_modifier_edit();
260462
260466
  init_keys();
@@ -311422,7 +311426,6 @@ function startCloudSync() {
311422
311426
  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;
311423
311427
  var init_sync2 = __esm({
311424
311428
  "lib/client/cloud/sync.ts"() {
311425
- "use strict";
311426
311429
  init_paint_repair();
311427
311430
  init_migrate();
311428
311431
  init_view();
@@ -311631,6 +311634,7 @@ async function dispatchShaped(key5, options) {
311631
311634
  var onViolation;
311632
311635
  var init_dispatch = __esm({
311633
311636
  "lib/commands/dispatch.ts"() {
311637
+ "use strict";
311634
311638
  init_errors();
311635
311639
  init_registry();
311636
311640
  init_confirm();
@@ -312809,6 +312813,7 @@ function areaBounds(rings) {
312809
312813
  }
312810
312814
  var init_text_area = __esm({
312811
312815
  "lib/engine/text/text-area.ts"() {
312816
+ "use strict";
312812
312817
  }
312813
312818
  });
312814
312819
 
@@ -317598,7 +317603,6 @@ function videoPixelSize(resolution, aspect) {
317598
317603
  var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
317599
317604
  var init_video_models = __esm({
317600
317605
  "lib/ai/video-models.ts"() {
317601
- "use strict";
317602
317606
  VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
317603
317607
  VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
317604
317608
  SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
@@ -318087,7 +318091,6 @@ function agentToolList() {
318087
318091
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
318088
318092
  var init_agent = __esm({
318089
318093
  "lib/commands/agent.ts"() {
318090
- "use strict";
318091
318094
  init_types5();
318092
318095
  init_registry();
318093
318096
  init_errors();
@@ -327951,7 +327954,7 @@ var init_package = __esm({
327951
327954
  "packages/runtime/package.json"() {
327952
327955
  package_default = {
327953
327956
  name: "@popcraft/runtime",
327954
- version: "0.44.1",
327957
+ version: "0.46.0",
327955
327958
  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.",
327956
327959
  license: "MIT",
327957
327960
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -361701,6 +361704,7 @@ var init_delete_current_file = __esm({
361701
361704
  var storeOpsSeam;
361702
361705
  var init_seams = __esm({
361703
361706
  "lib/commands/seams.ts"() {
361707
+ "use strict";
361704
361708
  storeOpsSeam = (st) => ({
361705
361709
  booleanOperation: (op4) => st().booleanOperation(op4),
361706
361710
  flatten: () => st().flattenSelection(),
@@ -367311,6 +367315,7 @@ var init_doc2 = __esm({
367311
367315
  var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
367312
367316
  var init_motion3 = __esm({
367313
367317
  "lib/marketplace/motion.ts"() {
367318
+ "use strict";
367314
367319
  init_instances2();
367315
367320
  POSTER_KEY = "poster";
367316
367321
  MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
@@ -405915,6 +405920,7 @@ function registerBuiltinCommands() {
405915
405920
  var builtinCommands, uiOnlyCommands;
405916
405921
  var init_builtin4 = __esm({
405917
405922
  "lib/commands/builtin.ts"() {
405923
+ "use strict";
405918
405924
  init_registry();
405919
405925
  init_node();
405920
405926
  init_node();
@@ -413504,7 +413510,7 @@ init_resources();
413504
413510
  init_desktop();
413505
413511
  init_hypery();
413506
413512
  import { createInterface } from "node:readline";
413507
- var VERSION2 = "0.44.1";
413513
+ var VERSION2 = "0.46.0";
413508
413514
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
413509
413515
 
413510
413516
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.44.1",
3
+ "version": "0.46.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.44.1"
37
+ "@popcraft/kit": "0.46.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",