@popcraft/cli 0.24.3 → 0.25.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 +11 -6
  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.3"}`, ...opts.headers };
1191
+ const headers = { "user-agent": `popcraft-cli/${"0.25.0"}`, ...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 {
@@ -246588,7 +246588,6 @@ function resyncText(doc2, ids2) {
246588
246588
  var isVirtualId;
246589
246589
  var init_invariants2 = __esm({
246590
246590
  "lib/document/invariants.ts"() {
246591
- "use strict";
246592
246591
  init_auto_layout();
246593
246592
  init_scene_graph();
246594
246593
  init_text_bounds();
@@ -260638,7 +260637,6 @@ function listenDesktop(event, handler) {
260638
260637
  var isDesktop;
260639
260638
  var init_tauri = __esm({
260640
260639
  "lib/desktop/tauri.ts"() {
260641
- "use strict";
260642
260640
  isDesktop = () => !!tauri();
260643
260641
  }
260644
260642
  });
@@ -260689,6 +260687,7 @@ function formatLimit(key5, max3) {
260689
260687
  var formatBytes;
260690
260688
  var init_limits2 = __esm({
260691
260689
  "lib/billing/limits.ts"() {
260690
+ "use strict";
260692
260691
  init_format();
260693
260692
  init_plans();
260694
260693
  formatBytes = formatFileSize;
@@ -261154,6 +261153,7 @@ function planEntryAction({ home }) {
261154
261153
  var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
261155
261154
  var init_team = __esm({
261156
261155
  "lib/client/cloud/team.ts"() {
261156
+ "use strict";
261157
261157
  init_esm();
261158
261158
  init_api4();
261159
261159
  init_session();
@@ -309649,6 +309649,7 @@ async function dispatchShaped(key5, options) {
309649
309649
  var onViolation;
309650
309650
  var init_dispatch = __esm({
309651
309651
  "lib/commands/dispatch.ts"() {
309652
+ "use strict";
309652
309653
  init_errors();
309653
309654
  init_registry();
309654
309655
  init_confirm();
@@ -325935,7 +325936,7 @@ var init_package = __esm({
325935
325936
  "packages/runtime/package.json"() {
325936
325937
  package_default = {
325937
325938
  name: "@popcraft/runtime",
325938
- version: "0.24.3",
325939
+ version: "0.25.0",
325939
325940
  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.",
325940
325941
  license: "MIT",
325941
325942
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -350601,6 +350602,7 @@ function exportsOf(source3) {
350601
350602
  var CODE_LIMITS, packageOf;
350602
350603
  var init_source2 = __esm({
350603
350604
  "lib/code/source.ts"() {
350605
+ "use strict";
350604
350606
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
350605
350607
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
350606
350608
  }
@@ -350643,6 +350645,7 @@ function compileModule(module2) {
350643
350645
  var import_sucrase, BUILT_IN, memo4;
350644
350646
  var init_compile2 = __esm({
350645
350647
  "lib/code/compile.ts"() {
350648
+ "use strict";
350646
350649
  import_sucrase = __toESM(require_dist2());
350647
350650
  init_source2();
350648
350651
  init_source2();
@@ -350720,6 +350723,7 @@ function hashOf(text) {
350720
350723
  }
350721
350724
  var init_hash = __esm({
350722
350725
  "lib/code/hash.ts"() {
350726
+ "use strict";
350723
350727
  }
350724
350728
  });
350725
350729
 
@@ -359546,6 +359550,7 @@ var init_publish = __esm({
359546
359550
  var storeOpsSeam;
359547
359551
  var init_seams = __esm({
359548
359552
  "lib/commands/seams.ts"() {
359553
+ "use strict";
359549
359554
  storeOpsSeam = (st) => ({
359550
359555
  booleanOperation: (op4) => st().booleanOperation(op4),
359551
359556
  flatten: () => st().flattenSelection(),
@@ -396049,7 +396054,6 @@ function record(source, namespaces, globals, limits) {
396049
396054
  var HELPER_NAMES;
396050
396055
  var init_helper_names = __esm({
396051
396056
  "lib/agent/design-script/helper-names.ts"() {
396052
- "use strict";
396053
396057
  HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
396054
396058
  }
396055
396059
  });
@@ -401238,6 +401242,7 @@ function registerBuiltinCommands() {
401238
401242
  var builtinCommands, uiOnlyCommands;
401239
401243
  var init_builtin4 = __esm({
401240
401244
  "lib/commands/builtin.ts"() {
401245
+ "use strict";
401241
401246
  init_registry();
401242
401247
  init_node();
401243
401248
  init_node();
@@ -408734,7 +408739,7 @@ init_resources();
408734
408739
  init_desktop();
408735
408740
  init_hypery();
408736
408741
  import { createInterface } from "node:readline";
408737
- var VERSION2 = "0.24.3";
408742
+ var VERSION2 = "0.25.0";
408738
408743
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
408739
408744
 
408740
408745
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.24.3",
3
+ "version": "0.25.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.24.3"
37
+ "@popcraft/kit": "0.25.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",