@popcraft/cli 0.25.0 → 0.26.1

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.1"}`, ...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,6 +246588,7 @@ function resyncText(doc2, ids2) {
246588
246588
  var isVirtualId;
246589
246589
  var init_invariants2 = __esm({
246590
246590
  "lib/document/invariants.ts"() {
246591
+ "use strict";
246591
246592
  init_auto_layout();
246592
246593
  init_scene_graph();
246593
246594
  init_text_bounds();
@@ -308925,6 +308926,7 @@ async function createFreshFileOrExplain(place4 = {}, seed2 = {}) {
308925
308926
  var online, goesLocal;
308926
308927
  var init_new_file = __esm({
308927
308928
  "lib/client/cloud/new-file.ts"() {
308929
+ "use strict";
308928
308930
  init_scene_graph();
308929
308931
  init_print_pages();
308930
308932
  init_page_presets();
@@ -309649,7 +309651,6 @@ async function dispatchShaped(key5, options) {
309649
309651
  var onViolation;
309650
309652
  var init_dispatch = __esm({
309651
309653
  "lib/commands/dispatch.ts"() {
309652
- "use strict";
309653
309654
  init_errors();
309654
309655
  init_registry();
309655
309656
  init_confirm();
@@ -325936,7 +325937,7 @@ var init_package = __esm({
325936
325937
  "packages/runtime/package.json"() {
325937
325938
  package_default = {
325938
325939
  name: "@popcraft/runtime",
325939
- version: "0.25.0",
325940
+ version: "0.26.1",
325940
325941
  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
325942
  license: "MIT",
325942
325943
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -396054,6 +396055,7 @@ function record(source, namespaces, globals, limits) {
396054
396055
  var HELPER_NAMES;
396055
396056
  var init_helper_names = __esm({
396056
396057
  "lib/agent/design-script/helper-names.ts"() {
396058
+ "use strict";
396057
396059
  HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
396058
396060
  }
396059
396061
  });
@@ -396436,6 +396438,7 @@ function designRecorder() {
396436
396438
  var installed;
396437
396439
  var init_recorders = __esm({
396438
396440
  "lib/agent/design-script/recorders.ts"() {
396441
+ "use strict";
396439
396442
  installed = null;
396440
396443
  }
396441
396444
  });
@@ -401242,7 +401245,6 @@ function registerBuiltinCommands() {
401242
401245
  var builtinCommands, uiOnlyCommands;
401243
401246
  var init_builtin4 = __esm({
401244
401247
  "lib/commands/builtin.ts"() {
401245
- "use strict";
401246
401248
  init_registry();
401247
401249
  init_node();
401248
401250
  init_node();
@@ -408739,7 +408741,7 @@ init_resources();
408739
408741
  init_desktop();
408740
408742
  init_hypery();
408741
408743
  import { createInterface } from "node:readline";
408742
- var VERSION2 = "0.25.0";
408744
+ var VERSION2 = "0.26.1";
408743
408745
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
408744
408746
 
408745
408747
  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.1",
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.1"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",