@popcraft/cli 0.53.3 → 0.53.4

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 +5 -12
  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.53.3"}`, ...opts.headers };
1199
+ const headers = { "user-agent": `popcraft-cli/${"0.53.4"}`, ...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 {
@@ -97576,7 +97576,6 @@ function relinkCopies(doc2, copies) {
97576
97576
  var TEXT_PATH_SOURCE_TYPES, isPathSource;
97577
97577
  var init_text_links = __esm({
97578
97578
  "lib/document/text-links.ts"() {
97579
- "use strict";
97580
97579
  init_transform();
97581
97580
  TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
97582
97581
  isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
@@ -248122,7 +248121,6 @@ function resyncText(doc2, ids2) {
248122
248121
  var isVirtualId;
248123
248122
  var init_invariants2 = __esm({
248124
248123
  "lib/document/invariants.ts"() {
248125
- "use strict";
248126
248124
  init_auto_layout();
248127
248125
  init_scene_graph();
248128
248126
  init_text_bounds();
@@ -253124,7 +253122,6 @@ function getActiveRenderer() {
253124
253122
  var active;
253125
253123
  var init_renderer_registry = __esm({
253126
253124
  "lib/engine/renderer-registry.ts"() {
253127
- "use strict";
253128
253125
  active = null;
253129
253126
  }
253130
253127
  });
@@ -256193,7 +256190,6 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
256193
256190
  var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
256194
256191
  var init_shader_presets = __esm({
256195
256192
  "lib/engine/shader-presets.ts"() {
256196
- "use strict";
256197
256193
  init_shader_graph();
256198
256194
  init_shader_graph_presets();
256199
256195
  init_shader_presets_legacy();
@@ -256889,6 +256885,7 @@ var init_apply2 = __esm({
256889
256885
  var HYPERY_CLIENT_ID, HYPERY_GATEWAY_URL, HYPERY_AI_SCOPES, plansEnabled, HYPERY_BILLING_SCOPES, HYPERY_AUDIO_SCOPES, HYPERY_SCOPES, cloudEnabled;
256890
256886
  var init_config2 = __esm({
256891
256887
  "lib/client/cloud/config.ts"() {
256888
+ "use strict";
256892
256889
  HYPERY_CLIENT_ID = process.env.NEXT_PUBLIC_HYPERY_CLIENT_ID ?? "";
256893
256890
  HYPERY_GATEWAY_URL = process.env.NEXT_PUBLIC_HYPERY_GATEWAY_URL ?? "https://hypery.ai";
256894
256891
  HYPERY_AI_SCOPES = ["ai:chat", "ai:completions", "ai:models", "ai:images"];
@@ -258067,7 +258064,6 @@ function onTabMessage(fn) {
258067
258064
  var EDITOR_HOME, localDocPath, cloudFilePath, CHANNEL2, channel2;
258068
258065
  var init_tab_mode = __esm({
258069
258066
  "lib/desktop/tab-mode.ts"() {
258070
- "use strict";
258071
258067
  EDITOR_HOME = "/home";
258072
258068
  localDocPath = (docId) => `${EDITOR_HOME}?doc=${encodeURIComponent(docId)}`;
258073
258069
  cloudFilePath = (key5) => `/pop/${encodeURIComponent(key5)}`;
@@ -262761,7 +262757,6 @@ function formatDate(date5, opts = { month: "short", day: "numeric", year: "numer
262761
262757
  var cache5, nf;
262762
262758
  var init_format = __esm({
262763
262759
  "lib/i18n/format.ts"() {
262764
- "use strict";
262765
262760
  init_runtime();
262766
262761
  cache5 = /* @__PURE__ */ new Map();
262767
262762
  nf = (opts) => cached2("n", opts, (l) => new Intl.NumberFormat(l, opts));
@@ -312388,7 +312383,6 @@ function creditLine(c2) {
312388
312383
  var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
312389
312384
  var init_stock = __esm({
312390
312385
  "lib/photos/stock.ts"() {
312391
- "use strict";
312392
312386
  MAX_PHOTO_PAGE = 12;
312393
312387
  MAX_PHOTO_QUERY = 200;
312394
312388
  UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -318445,6 +318439,7 @@ function agentToolList() {
318445
318439
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
318446
318440
  var init_agent = __esm({
318447
318441
  "lib/commands/agent.ts"() {
318442
+ "use strict";
318448
318443
  init_types5();
318449
318444
  init_registry();
318450
318445
  init_errors();
@@ -328750,7 +328745,7 @@ var init_package = __esm({
328750
328745
  "packages/runtime/package.json"() {
328751
328746
  package_default = {
328752
328747
  name: "@popcraft/runtime",
328753
- version: "0.53.3",
328748
+ version: "0.53.4",
328754
328749
  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.",
328755
328750
  license: "MIT",
328756
328751
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -401562,7 +401557,6 @@ function placeDesign(doc2, built, source3, size6, name2, at4) {
401562
401557
  var DESIGN_NAMESPACES, DERIVED2, templateOfBuild;
401563
401558
  var init_build3 = __esm({
401564
401559
  "lib/agent/design-script/build.ts"() {
401565
- "use strict";
401566
401560
  init_hash();
401567
401561
  init_scene_graph();
401568
401562
  init_libraries();
@@ -401592,7 +401586,6 @@ function designFrameOf(doc2, id3) {
401592
401586
  }
401593
401587
  var init_locate = __esm({
401594
401588
  "lib/agent/design-script/locate.ts"() {
401595
- "use strict";
401596
401589
  }
401597
401590
  });
401598
401591
 
@@ -414339,7 +414332,7 @@ init_resources();
414339
414332
  init_desktop();
414340
414333
  init_hypery();
414341
414334
  import { createInterface } from "node:readline";
414342
- var VERSION2 = "0.53.3";
414335
+ var VERSION2 = "0.53.4";
414343
414336
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
414344
414337
 
414345
414338
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.53.3",
3
+ "version": "0.53.4",
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.3"
37
+ "@popcraft/kit": "0.53.4"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",