@popcraft/cli 0.30.0 → 0.31.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.30.0"}`, ...opts.headers };
1191
+ const headers = { "user-agent": `popcraft-cli/${"0.31.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 {
@@ -246748,6 +246748,7 @@ function resyncText(doc2, ids2) {
246748
246748
  var isVirtualId;
246749
246749
  var init_invariants2 = __esm({
246750
246750
  "lib/document/invariants.ts"() {
246751
+ "use strict";
246751
246752
  init_auto_layout();
246752
246753
  init_scene_graph();
246753
246754
  init_text_bounds();
@@ -261591,7 +261592,6 @@ function planEntryAction({ home }) {
261591
261592
  var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
261592
261593
  var init_team = __esm({
261593
261594
  "lib/client/cloud/team.ts"() {
261594
- "use strict";
261595
261595
  init_esm();
261596
261596
  init_api4();
261597
261597
  init_session();
@@ -310107,7 +310107,6 @@ async function dispatchShaped(key5, options) {
310107
310107
  var onViolation;
310108
310108
  var init_dispatch = __esm({
310109
310109
  "lib/commands/dispatch.ts"() {
310110
- "use strict";
310111
310110
  init_errors();
310112
310111
  init_registry();
310113
310112
  init_confirm();
@@ -326410,7 +326409,7 @@ var init_package = __esm({
326410
326409
  "packages/runtime/package.json"() {
326411
326410
  package_default = {
326412
326411
  name: "@popcraft/runtime",
326413
- version: "0.30.0",
326412
+ version: "0.31.0",
326414
326413
  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.",
326415
326414
  license: "MIT",
326416
326415
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -351197,7 +351196,6 @@ function hashOf2(text) {
351197
351196
  }
351198
351197
  var init_hash = __esm({
351199
351198
  "lib/code/hash.ts"() {
351200
- "use strict";
351201
351199
  }
351202
351200
  });
351203
351201
 
@@ -360094,7 +360092,6 @@ var init_publish = __esm({
360094
360092
  var storeOpsSeam;
360095
360093
  var init_seams = __esm({
360096
360094
  "lib/commands/seams.ts"() {
360097
- "use strict";
360098
360095
  storeOpsSeam = (st) => ({
360099
360096
  booleanOperation: (op4) => st().booleanOperation(op4),
360100
360097
  flatten: () => st().flattenSelection(),
@@ -397164,6 +397161,7 @@ async function replay(rec, namespaces2) {
397164
397161
  var BLOCKED, isRef2, isFn;
397165
397162
  var init_replay = __esm({
397166
397163
  "lib/agent/design-script/replay.ts"() {
397164
+ "use strict";
397167
397165
  BLOCKED = /* @__PURE__ */ new Set(["constructor", "prototype", "__proto__", "caller", "callee", "arguments", "call", "apply", "bind"]);
397168
397166
  isRef2 = (v) => !!v && typeof v === "object" && "$ref" in v && Array.isArray(v.path);
397169
397167
  isFn = (v) => !!v && typeof v === "object" && "$fn" in v && Array.isArray(v.ops);
@@ -397444,6 +397442,7 @@ function designRecorder() {
397444
397442
  var installed;
397445
397443
  var init_recorders = __esm({
397446
397444
  "lib/agent/design-script/recorders.ts"() {
397445
+ "use strict";
397447
397446
  installed = null;
397448
397447
  }
397449
397448
  });
@@ -402250,7 +402249,6 @@ function registerBuiltinCommands() {
402250
402249
  var builtinCommands, uiOnlyCommands;
402251
402250
  var init_builtin4 = __esm({
402252
402251
  "lib/commands/builtin.ts"() {
402253
- "use strict";
402254
402252
  init_registry();
402255
402253
  init_node();
402256
402254
  init_node();
@@ -409765,7 +409763,7 @@ init_resources();
409765
409763
  init_desktop();
409766
409764
  init_hypery();
409767
409765
  import { createInterface } from "node:readline";
409768
- var VERSION2 = "0.30.0";
409766
+ var VERSION2 = "0.31.0";
409769
409767
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
409770
409768
 
409771
409769
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.30.0",
3
+ "version": "0.31.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.30.0"
37
+ "@popcraft/kit": "0.31.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",