@popcraft/cli 0.8.1 → 0.8.2

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 +10 -8
  2. package/package.json +2 -2
package/dist/popcraft.mjs CHANGED
@@ -1173,7 +1173,7 @@ function operations(spec = openapi) {
1173
1173
  }
1174
1174
  async function call(target2, method, path, opts = {}) {
1175
1175
  const qs = new URLSearchParams(opts.query ?? {}).toString();
1176
- const headers = { "user-agent": `popcraft-cli/${"0.8.1"}`, ...opts.headers };
1176
+ const headers = { "user-agent": `popcraft-cli/${"0.8.2"}`, ...opts.headers };
1177
1177
  if (target2.token) headers.authorization = `Bearer ${target2.token}`;
1178
1178
  if (opts.contentType) headers["content-type"] = opts.contentType;
1179
1179
  try {
@@ -249722,6 +249722,7 @@ function activeTeamWorkspaceId() {
249722
249722
  var STORAGE_KEY2, useHyperyTeam, useTeamPrompt;
249723
249723
  var init_team = __esm({
249724
249724
  "lib/client/cloud/team.ts"() {
249725
+ "use strict";
249725
249726
  init_esm();
249726
249727
  init_api4();
249727
249728
  init_session();
@@ -297104,6 +297105,7 @@ async function dispatchShaped(key5, options) {
297104
297105
  var onViolation;
297105
297106
  var init_dispatch = __esm({
297106
297107
  "lib/commands/dispatch.ts"() {
297108
+ "use strict";
297107
297109
  init_errors();
297108
297110
  init_registry();
297109
297111
  init_confirm();
@@ -297486,7 +297488,6 @@ function creditLine(c2) {
297486
297488
  var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
297487
297489
  var init_stock = __esm({
297488
297490
  "lib/photos/stock.ts"() {
297489
- "use strict";
297490
297491
  MAX_PHOTO_PAGE = 12;
297491
297492
  MAX_PHOTO_QUERY = 200;
297492
297493
  UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -298148,7 +298149,6 @@ function applyTextPath(layout2, path, tp, rebase = true) {
298148
298149
  var defaultCircleRadius, ownsPath, mapPoint;
298149
298150
  var init_text_path = __esm({
298150
298151
  "lib/engine/text/text-path.ts"() {
298151
- "use strict";
298152
298152
  init_scene_graph();
298153
298153
  init_transform();
298154
298154
  init_shape_to_path();
@@ -298266,7 +298266,6 @@ function areaBounds(rings) {
298266
298266
  }
298267
298267
  var init_text_area = __esm({
298268
298268
  "lib/engine/text/text-area.ts"() {
298269
- "use strict";
298270
298269
  }
298271
298270
  });
298272
298271
 
@@ -302498,6 +302497,7 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
302498
302497
  var MIME, DEFAULT_EXPORT, exportSettingsOf;
302499
302498
  var init_export = __esm({
302500
302499
  "lib/io/export.ts"() {
302500
+ "use strict";
302501
302501
  init_download();
302502
302502
  init_scene_graph();
302503
302503
  init_codecs();
@@ -302874,7 +302874,6 @@ function videoPixelSize(resolution, aspect) {
302874
302874
  var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
302875
302875
  var init_video_models = __esm({
302876
302876
  "lib/ai/video-models.ts"() {
302877
- "use strict";
302878
302877
  VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
302879
302878
  VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
302880
302879
  SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
@@ -303363,6 +303362,7 @@ function agentToolList() {
303363
303362
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
303364
303363
  var init_agent = __esm({
303365
303364
  "lib/commands/agent.ts"() {
303365
+ "use strict";
303366
303366
  init_types5();
303367
303367
  init_registry();
303368
303368
  init_errors();
@@ -312793,7 +312793,7 @@ var init_package = __esm({
312793
312793
  "packages/runtime/package.json"() {
312794
312794
  package_default = {
312795
312795
  name: "@popcraft/runtime",
312796
- version: "0.8.1",
312796
+ version: "0.8.2",
312797
312797
  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.",
312798
312798
  license: "MIT",
312799
312799
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -344474,7 +344474,6 @@ function publishSite(key5, files, opts = {}) {
344474
344474
  var siteStatus, setSiteVersion, renameSite;
344475
344475
  var init_sites = __esm({
344476
344476
  "lib/client/cloud/sites.ts"() {
344477
- "use strict";
344478
344477
  init_files();
344479
344478
  init_upload2();
344480
344479
  init_api4();
@@ -344988,6 +344987,7 @@ function designRecorder() {
344988
344987
  var installed;
344989
344988
  var init_recorders = __esm({
344990
344989
  "lib/agent/design-script/recorders.ts"() {
344990
+ "use strict";
344991
344991
  installed = null;
344992
344992
  }
344993
344993
  });
@@ -347626,6 +347626,7 @@ var init_plugin_widget = __esm({
347626
347626
  var storeOpsSeam;
347627
347627
  var init_seams = __esm({
347628
347628
  "lib/commands/seams.ts"() {
347629
+ "use strict";
347629
347630
  storeOpsSeam = (st) => ({
347630
347631
  booleanOperation: (op4) => st().booleanOperation(op4),
347631
347632
  flatten: () => st().flattenSelection(),
@@ -380513,6 +380514,7 @@ function registerBuiltinCommands() {
380513
380514
  var builtinCommands, uiOnlyCommands;
380514
380515
  var init_builtin2 = __esm({
380515
380516
  "lib/commands/builtin.ts"() {
380517
+ "use strict";
380516
380518
  init_registry();
380517
380519
  init_node();
380518
380520
  init_node();
@@ -393345,7 +393347,7 @@ init_resources();
393345
393347
  init_desktop();
393346
393348
  init_hypery();
393347
393349
  import { createInterface } from "node:readline";
393348
- var VERSION2 = "0.8.1";
393350
+ var VERSION2 = "0.8.2";
393349
393351
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
393350
393352
 
393351
393353
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
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.8.1"
37
+ "@popcraft/kit": "0.8.2"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",