@popcraft/cli 0.25.0 → 0.26.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.
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.25.0"}`, ...opts.headers };
1191
+ const headers = { "user-agent": `popcraft-cli/${"0.26.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 {
@@ -3872,6 +3872,7 @@ function paramLabel(name2) {
3872
3872
  var AUDIO_SIGNAL_NAMES, XY, XYZ, RGB, RGBA, LAYOUT, TYPE_NAMES, roundUp, IDENT2, WHITE, numbers, MAX_SHADER_CHARS, reflections, isNum, EMPTY, packed, defaults;
3873
3873
  var init_shader_params = __esm({
3874
3874
  "lib/document/shader-params.ts"() {
3875
+ "use strict";
3875
3876
  AUDIO_SIGNAL_NAMES = ["level", "bass", "mid", "treble", "beat", "onset", "spectrum"];
3876
3877
  XY = ["x", "y"];
3877
3878
  XYZ = ["x", "y", "z"];
@@ -246588,6 +246589,7 @@ function resyncText(doc2, ids2) {
246588
246589
  var isVirtualId;
246589
246590
  var init_invariants2 = __esm({
246590
246591
  "lib/document/invariants.ts"() {
246592
+ "use strict";
246591
246593
  init_auto_layout();
246592
246594
  init_scene_graph();
246593
246595
  init_text_bounds();
@@ -261153,7 +261155,6 @@ function planEntryAction({ home }) {
261153
261155
  var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
261154
261156
  var init_team = __esm({
261155
261157
  "lib/client/cloud/team.ts"() {
261156
- "use strict";
261157
261158
  init_esm();
261158
261159
  init_api4();
261159
261160
  init_session();
@@ -309649,7 +309650,6 @@ async function dispatchShaped(key5, options) {
309649
309650
  var onViolation;
309650
309651
  var init_dispatch = __esm({
309651
309652
  "lib/commands/dispatch.ts"() {
309652
- "use strict";
309653
309653
  init_errors();
309654
309654
  init_registry();
309655
309655
  init_confirm();
@@ -325936,7 +325936,7 @@ var init_package = __esm({
325936
325936
  "packages/runtime/package.json"() {
325937
325937
  package_default = {
325938
325938
  name: "@popcraft/runtime",
325939
- version: "0.25.0",
325939
+ version: "0.26.0",
325940
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.",
325941
325941
  license: "MIT",
325942
325942
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -350602,7 +350602,6 @@ function exportsOf(source3) {
350602
350602
  var CODE_LIMITS, packageOf;
350603
350603
  var init_source2 = __esm({
350604
350604
  "lib/code/source.ts"() {
350605
- "use strict";
350606
350605
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
350607
350606
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
350608
350607
  }
@@ -350645,7 +350644,6 @@ function compileModule(module2) {
350645
350644
  var import_sucrase, BUILT_IN, memo4;
350646
350645
  var init_compile2 = __esm({
350647
350646
  "lib/code/compile.ts"() {
350648
- "use strict";
350649
350647
  import_sucrase = __toESM(require_dist2());
350650
350648
  init_source2();
350651
350649
  init_source2();
@@ -359550,7 +359548,6 @@ var init_publish = __esm({
359550
359548
  var storeOpsSeam;
359551
359549
  var init_seams = __esm({
359552
359550
  "lib/commands/seams.ts"() {
359553
- "use strict";
359554
359551
  storeOpsSeam = (st) => ({
359555
359552
  booleanOperation: (op4) => st().booleanOperation(op4),
359556
359553
  flatten: () => st().flattenSelection(),
@@ -396054,6 +396051,7 @@ function record(source, namespaces, globals, limits) {
396054
396051
  var HELPER_NAMES;
396055
396052
  var init_helper_names = __esm({
396056
396053
  "lib/agent/design-script/helper-names.ts"() {
396054
+ "use strict";
396057
396055
  HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
396058
396056
  }
396059
396057
  });
@@ -396436,6 +396434,7 @@ function designRecorder() {
396436
396434
  var installed;
396437
396435
  var init_recorders = __esm({
396438
396436
  "lib/agent/design-script/recorders.ts"() {
396437
+ "use strict";
396439
396438
  installed = null;
396440
396439
  }
396441
396440
  });
@@ -401242,7 +401241,6 @@ function registerBuiltinCommands() {
401242
401241
  var builtinCommands, uiOnlyCommands;
401243
401242
  var init_builtin4 = __esm({
401244
401243
  "lib/commands/builtin.ts"() {
401245
- "use strict";
401246
401244
  init_registry();
401247
401245
  init_node();
401248
401246
  init_node();
@@ -408739,7 +408737,7 @@ init_resources();
408739
408737
  init_desktop();
408740
408738
  init_hypery();
408741
408739
  import { createInterface } from "node:readline";
408742
- var VERSION2 = "0.25.0";
408740
+ var VERSION2 = "0.26.0";
408743
408741
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
408744
408742
 
408745
408743
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.25.0",
3
+ "version": "0.26.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.25.0"
37
+ "@popcraft/kit": "0.26.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",