@popcraft/cli 0.24.2 → 0.24.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 +5 -12
  2. package/package.json +2 -2
package/dist/popcraft.mjs CHANGED
@@ -1188,7 +1188,7 @@ function operations(spec = openapi) {
1188
1188
  }
1189
1189
  async function call(target2, method, path, opts = {}) {
1190
1190
  const qs = new URLSearchParams(opts.query ?? {}).toString();
1191
- const headers = { "user-agent": `popcraft-cli/${"0.24.2"}`, ...opts.headers };
1191
+ const headers = { "user-agent": `popcraft-cli/${"0.24.3"}`, ...opts.headers };
1192
1192
  if (target2.token) headers.authorization = `Bearer ${target2.token}`;
1193
1193
  if (opts.contentType) headers["content-type"] = opts.contentType;
1194
1194
  try {
@@ -260638,6 +260638,7 @@ function listenDesktop(event, handler) {
260638
260638
  var isDesktop;
260639
260639
  var init_tauri = __esm({
260640
260640
  "lib/desktop/tauri.ts"() {
260641
+ "use strict";
260641
260642
  isDesktop = () => !!tauri();
260642
260643
  }
260643
260644
  });
@@ -260688,7 +260689,6 @@ function formatLimit(key5, max3) {
260688
260689
  var formatBytes;
260689
260690
  var init_limits2 = __esm({
260690
260691
  "lib/billing/limits.ts"() {
260691
- "use strict";
260692
260692
  init_format();
260693
260693
  init_plans();
260694
260694
  formatBytes = formatFileSize;
@@ -261154,7 +261154,6 @@ function planEntryAction({ home }) {
261154
261154
  var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
261155
261155
  var init_team = __esm({
261156
261156
  "lib/client/cloud/team.ts"() {
261157
- "use strict";
261158
261157
  init_esm();
261159
261158
  init_api4();
261160
261159
  init_session();
@@ -309650,7 +309649,6 @@ async function dispatchShaped(key5, options) {
309650
309649
  var onViolation;
309651
309650
  var init_dispatch = __esm({
309652
309651
  "lib/commands/dispatch.ts"() {
309653
- "use strict";
309654
309652
  init_errors();
309655
309653
  init_registry();
309656
309654
  init_confirm();
@@ -325937,7 +325935,7 @@ var init_package = __esm({
325937
325935
  "packages/runtime/package.json"() {
325938
325936
  package_default = {
325939
325937
  name: "@popcraft/runtime",
325940
- version: "0.24.2",
325938
+ version: "0.24.3",
325941
325939
  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.",
325942
325940
  license: "MIT",
325943
325941
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -350603,7 +350601,6 @@ function exportsOf(source3) {
350603
350601
  var CODE_LIMITS, packageOf;
350604
350602
  var init_source2 = __esm({
350605
350603
  "lib/code/source.ts"() {
350606
- "use strict";
350607
350604
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
350608
350605
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
350609
350606
  }
@@ -350646,7 +350643,6 @@ function compileModule(module2) {
350646
350643
  var import_sucrase, BUILT_IN, memo4;
350647
350644
  var init_compile2 = __esm({
350648
350645
  "lib/code/compile.ts"() {
350649
- "use strict";
350650
350646
  import_sucrase = __toESM(require_dist2());
350651
350647
  init_source2();
350652
350648
  init_source2();
@@ -350724,7 +350720,6 @@ function hashOf(text) {
350724
350720
  }
350725
350721
  var init_hash = __esm({
350726
350722
  "lib/code/hash.ts"() {
350727
- "use strict";
350728
350723
  }
350729
350724
  });
350730
350725
 
@@ -359551,7 +359546,6 @@ var init_publish = __esm({
359551
359546
  var storeOpsSeam;
359552
359547
  var init_seams = __esm({
359553
359548
  "lib/commands/seams.ts"() {
359554
- "use strict";
359555
359549
  storeOpsSeam = (st) => ({
359556
359550
  booleanOperation: (op4) => st().booleanOperation(op4),
359557
359551
  flatten: () => st().flattenSelection(),
@@ -396055,6 +396049,7 @@ function record(source, namespaces, globals, limits) {
396055
396049
  var HELPER_NAMES;
396056
396050
  var init_helper_names = __esm({
396057
396051
  "lib/agent/design-script/helper-names.ts"() {
396052
+ "use strict";
396058
396053
  HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
396059
396054
  }
396060
396055
  });
@@ -396437,7 +396432,6 @@ function designRecorder() {
396437
396432
  var installed;
396438
396433
  var init_recorders = __esm({
396439
396434
  "lib/agent/design-script/recorders.ts"() {
396440
- "use strict";
396441
396435
  installed = null;
396442
396436
  }
396443
396437
  });
@@ -401244,7 +401238,6 @@ function registerBuiltinCommands() {
401244
401238
  var builtinCommands, uiOnlyCommands;
401245
401239
  var init_builtin4 = __esm({
401246
401240
  "lib/commands/builtin.ts"() {
401247
- "use strict";
401248
401241
  init_registry();
401249
401242
  init_node();
401250
401243
  init_node();
@@ -408741,7 +408734,7 @@ init_resources();
408741
408734
  init_desktop();
408742
408735
  init_hypery();
408743
408736
  import { createInterface } from "node:readline";
408744
- var VERSION2 = "0.24.2";
408737
+ var VERSION2 = "0.24.3";
408745
408738
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
408746
408739
 
408747
408740
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.24.2",
3
+ "version": "0.24.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.24.2"
37
+ "@popcraft/kit": "0.24.3"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",