@popcraft/cli 0.53.8 → 0.53.10

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 -19
  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.53.8"}`, ...opts.headers };
1201
+ const headers = { "user-agent": `popcraft-cli/${"0.53.10"}`, ...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 {
@@ -35195,6 +35195,7 @@ var init_en2 = __esm({
35195
35195
  "pluginOverlays.installedByYourWorkspace": "Installed by your workspace",
35196
35196
  "pluginOverlays.installForEveryoneIn": "Install for everyone in {name}",
35197
35197
  "pluginOverlays.installFromFile": "Install from file\u2026",
35198
+ "pluginOverlays.installing": "Installing\u2026",
35198
35199
  "pluginOverlays.local": "Local",
35199
35200
  "pluginOverlays.manifestJsonCodeOrA": "(manifest.json + code) or a single-file",
35200
35201
  "pluginOverlays.marketplace": "Marketplace",
@@ -35208,6 +35209,7 @@ var init_en2 = __esm({
35208
35209
  "pluginOverlays.plugins": "Plugins",
35209
35210
  "pluginOverlays.published": "Published {name} {version}",
35210
35211
  "pluginOverlays.publishFromFile": "Publish from file\u2026",
35212
+ "pluginOverlays.publishing": "Publishing\u2026",
35211
35213
  "pluginOverlays.publishToTheMarketplace": "Publish to the marketplace",
35212
35214
  "pluginOverlays.reject": "Reject",
35213
35215
  "pluginOverlays.rejected": "Rejected",
@@ -97579,7 +97581,6 @@ function relinkCopies(doc2, copies) {
97579
97581
  var TEXT_PATH_SOURCE_TYPES, isPathSource;
97580
97582
  var init_text_links = __esm({
97581
97583
  "lib/document/text-links.ts"() {
97582
- "use strict";
97583
97584
  init_transform();
97584
97585
  TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
97585
97586
  isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
@@ -247047,7 +247048,6 @@ function rescaleTextEffect(node2) {
247047
247048
  var DEFAULTS, BLACK5, WHITE5, fillPaint, fillColor, shadow, round, OUTLINED;
247048
247049
  var init_effect_presets = __esm({
247049
247050
  "lib/text/effect-presets.ts"() {
247050
- "use strict";
247051
247051
  init_effects();
247052
247052
  DEFAULTS = {
247053
247053
  SHADOW: { distance: 17.68, angle: 45, blur: 12.5, thickness: 0, intensity: 45 },
@@ -248028,6 +248028,7 @@ function repairCompositions(comps, nodes) {
248028
248028
  var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
248029
248029
  var init_invariants = __esm({
248030
248030
  "lib/motion/invariants.ts"() {
248031
+ "use strict";
248031
248032
  init_easing();
248032
248033
  init_properties();
248033
248034
  init_markers();
@@ -249005,7 +249006,6 @@ function fillPhotoFrame(doc2, groupId, imageUrl, size6, name2 = "Photo", credit)
249005
249006
  var isPhotoFrame;
249006
249007
  var init_photo_frames = __esm({
249007
249008
  "lib/document/photo-frames.ts"() {
249008
- "use strict";
249009
249009
  init_dist_node();
249010
249010
  init_scene_graph();
249011
249011
  init_types();
@@ -253125,7 +253125,6 @@ function getActiveRenderer() {
253125
253125
  var active;
253126
253126
  var init_renderer_registry = __esm({
253127
253127
  "lib/engine/renderer-registry.ts"() {
253128
- "use strict";
253129
253128
  active = null;
253130
253129
  }
253131
253130
  });
@@ -256194,7 +256193,6 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
256194
256193
  var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
256195
256194
  var init_shader_presets = __esm({
256196
256195
  "lib/engine/shader-presets.ts"() {
256197
- "use strict";
256198
256196
  init_shader_graph();
256199
256197
  init_shader_graph_presets();
256200
256198
  init_shader_presets_legacy();
@@ -256891,7 +256889,6 @@ var init_apply2 = __esm({
256891
256889
  var HYPERY_CLIENT_ID, HYPERY_GATEWAY_URL, HYPERY_AI_SCOPES, plansEnabled, HYPERY_BILLING_SCOPES, HYPERY_AUDIO_SCOPES, HYPERY_SCOPES, cloudEnabled;
256892
256890
  var init_config2 = __esm({
256893
256891
  "lib/client/cloud/config.ts"() {
256894
- "use strict";
256895
256892
  HYPERY_CLIENT_ID = process.env.NEXT_PUBLIC_HYPERY_CLIENT_ID ?? "";
256896
256893
  HYPERY_GATEWAY_URL = process.env.NEXT_PUBLIC_HYPERY_GATEWAY_URL ?? "https://hypery.ai";
256897
256894
  HYPERY_AI_SCOPES = ["ai:chat", "ai:completions", "ai:models", "ai:images"];
@@ -257998,7 +257995,6 @@ async function docExists(id3) {
257998
257995
  var INDEX_KEY, docKey, thumbKey, THUMB_MAX_BYTES, THUMB_TYPES, LEGACY_DATA_URL, migrating, SPLIT_LAYOUT, nodeKey, WRITER, persisted, saving, deletedHere, keyval, keyvalStore;
257999
257996
  var init_document_library = __esm({
258000
257997
  "lib/storage/document-library.ts"() {
258001
- "use strict";
258002
257998
  init_idb();
258003
257999
  init_media_types();
258004
258000
  init_collapse_duplicates();
@@ -258070,7 +258066,6 @@ function onTabMessage(fn) {
258070
258066
  var EDITOR_HOME, localDocPath, cloudFilePath, CHANNEL2, channel2;
258071
258067
  var init_tab_mode = __esm({
258072
258068
  "lib/desktop/tab-mode.ts"() {
258073
- "use strict";
258074
258069
  EDITOR_HOME = "/home";
258075
258070
  localDocPath = (docId) => `${EDITOR_HOME}?doc=${encodeURIComponent(docId)}`;
258076
258071
  cloudFilePath = (key5) => `/pop/${encodeURIComponent(key5)}`;
@@ -261515,7 +261510,6 @@ function breakpointView(state, doc2 = state.document) {
261515
261510
  var storedDocument;
261516
261511
  var init_view = __esm({
261517
261512
  "lib/motion/view.ts"() {
261518
- "use strict";
261519
261513
  init_motion_slice();
261520
261514
  init_transport_clock();
261521
261515
  init_autokey();
@@ -273498,7 +273492,6 @@ async function prepareTemplate(t3) {
273498
273492
  var templateMediaSources, MEDIA_FETCH_TIMEOUT_MS2, PREPARE_BUDGET_MS, MEDIA_CONCURRENCY, timeoutOf;
273499
273493
  var init_use = __esm({
273500
273494
  "lib/templates/use.ts"() {
273501
- "use strict";
273502
273495
  init_capture();
273503
273496
  templateMediaSources = (t3, hash3) => [
273504
273497
  `/templates/media/${hash3}`,
@@ -312389,7 +312382,6 @@ function creditLine(c2) {
312389
312382
  var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
312390
312383
  var init_stock = __esm({
312391
312384
  "lib/photos/stock.ts"() {
312392
- "use strict";
312393
312385
  MAX_PHOTO_PAGE = 12;
312394
312386
  MAX_PHOTO_QUERY = 200;
312395
312387
  UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -313051,7 +313043,6 @@ function applyTextPath(layout2, path, tp, rebase = true) {
313051
313043
  var defaultCircleRadius, ownsPath, mapPoint;
313052
313044
  var init_text_path = __esm({
313053
313045
  "lib/engine/text/text-path.ts"() {
313054
- "use strict";
313055
313046
  init_scene_graph();
313056
313047
  init_transform();
313057
313048
  init_shape_to_path();
@@ -317513,7 +317504,6 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
317513
317504
  var MIME, DEFAULT_EXPORT, exportSettingsOf;
317514
317505
  var init_export = __esm({
317515
317506
  "lib/io/export.ts"() {
317516
- "use strict";
317517
317507
  init_download();
317518
317508
  init_scene_graph();
317519
317509
  init_codecs();
@@ -317605,7 +317595,6 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
317605
317595
  var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
317606
317596
  var init_reference_images = __esm({
317607
317597
  "lib/ai/reference-images.ts"() {
317608
- "use strict";
317609
317598
  init_export();
317610
317599
  init_selection_bounds();
317611
317600
  init_renderer_registry();
@@ -328801,7 +328790,7 @@ var init_package = __esm({
328801
328790
  "packages/runtime/package.json"() {
328802
328791
  package_default = {
328803
328792
  name: "@popcraft/runtime",
328804
- version: "0.53.8",
328793
+ version: "0.53.10",
328805
328794
  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.",
328806
328795
  license: "MIT",
328807
328796
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -353467,7 +353456,6 @@ function exportsOf(source3) {
353467
353456
  var CODE_LIMITS, packageOf;
353468
353457
  var init_source2 = __esm({
353469
353458
  "lib/code/source.ts"() {
353470
- "use strict";
353471
353459
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
353472
353460
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
353473
353461
  }
@@ -353510,7 +353498,6 @@ function compileModule(module2) {
353510
353498
  var import_sucrase, BUILT_IN, memo4;
353511
353499
  var init_compile2 = __esm({
353512
353500
  "lib/code/compile.ts"() {
353513
- "use strict";
353514
353501
  import_sucrase = __toESM(require_dist2());
353515
353502
  init_source2();
353516
353503
  init_source2();
@@ -414393,7 +414380,7 @@ init_resources();
414393
414380
  init_desktop();
414394
414381
  init_hypery();
414395
414382
  import { createInterface } from "node:readline";
414396
- var VERSION2 = "0.53.8";
414383
+ var VERSION2 = "0.53.10";
414397
414384
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
414398
414385
 
414399
414386
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.53.8",
3
+ "version": "0.53.10",
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.53.8"
37
+ "@popcraft/kit": "0.53.10"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",