@popcraft/cli 0.48.2 → 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 +6 -11
  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.2"}`, ...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 {
@@ -249088,7 +249088,6 @@ function beforeWrite() {
249088
249088
  var leave;
249089
249089
  var init_read_only = __esm({
249090
249090
  "lib/editor/modes/read-only.ts"() {
249091
- "use strict";
249092
249091
  leave = null;
249093
249092
  }
249094
249093
  });
@@ -257027,7 +257026,6 @@ function followPeers(peers) {
257027
257026
  var PALETTE, usePresence, awareness, CURSOR_SEND_MS, VIEWPORT_SEND_MS, cursorTimer, pendingCursor, sentCursor, EMOTE_MS, lastFollowCamera;
257028
257027
  var init_presence = __esm({
257029
257028
  "lib/collab/presence.ts"() {
257030
- "use strict";
257031
257029
  init_esm();
257032
257030
  init_editor_store();
257033
257031
  init_status_announcements();
@@ -262502,7 +262500,6 @@ function networkSignal(signal, timeoutMs = NETWORK_TIMEOUT_MS) {
262502
262500
  var import_react3, NETWORK_TIMEOUT_MS, OfflineError;
262503
262501
  var init_network = __esm({
262504
262502
  "lib/client/network.ts"() {
262505
- "use strict";
262506
262503
  import_react3 = __toESM(require_react());
262507
262504
  NETWORK_TIMEOUT_MS = 8e3;
262508
262505
  OfflineError = class extends Error {
@@ -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;
@@ -263131,6 +263128,7 @@ function planEntryAction({ home }) {
263131
263128
  var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
263132
263129
  var init_team = __esm({
263133
263130
  "lib/client/cloud/team.ts"() {
263131
+ "use strict";
263134
263132
  init_esm();
263135
263133
  init_api4();
263136
263134
  init_session();
@@ -312983,7 +312981,6 @@ function areaBounds(rings) {
312983
312981
  }
312984
312982
  var init_text_area = __esm({
312985
312983
  "lib/engine/text/text-area.ts"() {
312986
- "use strict";
312987
312984
  }
312988
312985
  });
312989
312986
 
@@ -318262,6 +318259,7 @@ function agentToolList() {
318262
318259
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
318263
318260
  var init_agent = __esm({
318264
318261
  "lib/commands/agent.ts"() {
318262
+ "use strict";
318265
318263
  init_types5();
318266
318264
  init_registry();
318267
318265
  init_errors();
@@ -321320,7 +321318,6 @@ function outerSizeFor(want, inner, outer) {
321320
321318
  var AUDIENCE_PRESETS, DEFAULT_AUDIENCE_RESOLUTION, MIN_SIDE, MAX_SIDE, FIT_OPEN_SIZE, clampSide, formatResolution, sameResolution, captureSize;
321321
321319
  var init_resolution = __esm({
321322
321320
  "lib/slides/audience/resolution.ts"() {
321323
- "use strict";
321324
321321
  init_stage_view();
321325
321322
  AUDIENCE_PRESETS = [
321326
321323
  { id: "720p", label: "1280 \xD7 720 (720p)", resolution: { kind: "fixed", width: 1280, height: 720 } },
@@ -328150,7 +328147,7 @@ var init_package = __esm({
328150
328147
  "packages/runtime/package.json"() {
328151
328148
  package_default = {
328152
328149
  name: "@popcraft/runtime",
328153
- version: "0.48.2",
328150
+ version: "0.48.3",
328154
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.",
328155
328152
  license: "MIT",
328156
328153
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -400677,7 +400674,6 @@ function record(source, namespaces, globals, limits) {
400677
400674
  var HELPER_NAMES;
400678
400675
  var init_helper_names = __esm({
400679
400676
  "lib/agent/design-script/helper-names.ts"() {
400680
- "use strict";
400681
400677
  HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
400682
400678
  }
400683
400679
  });
@@ -400780,7 +400776,6 @@ async function replay(rec, namespaces2) {
400780
400776
  var BLOCKED, isRef2, isFn;
400781
400777
  var init_replay = __esm({
400782
400778
  "lib/agent/design-script/replay.ts"() {
400783
- "use strict";
400784
400779
  BLOCKED = /* @__PURE__ */ new Set(["constructor", "prototype", "__proto__", "caller", "callee", "arguments", "call", "apply", "bind"]);
400785
400780
  isRef2 = (v) => !!v && typeof v === "object" && "$ref" in v && Array.isArray(v.path);
400786
400781
  isFn = (v) => !!v && typeof v === "object" && "$fn" in v && Array.isArray(v.ops);
@@ -413734,7 +413729,7 @@ init_resources();
413734
413729
  init_desktop();
413735
413730
  init_hypery();
413736
413731
  import { createInterface } from "node:readline";
413737
- var VERSION2 = "0.48.2";
413732
+ var VERSION2 = "0.48.3";
413738
413733
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
413739
413734
 
413740
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.2",
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.2"
37
+ "@popcraft/kit": "0.48.3"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",