@popcraft/cli 0.9.0 → 0.9.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.
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.9.0"}`, ...opts.headers };
1176
+ const headers = { "user-agent": `popcraft-cli/${"0.9.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 {
@@ -254042,6 +254042,7 @@ function activeTeamWorkspaceId() {
254042
254042
  var STORAGE_KEY2, useHyperyTeam, useTeamPrompt;
254043
254043
  var init_team = __esm({
254044
254044
  "lib/client/cloud/team.ts"() {
254045
+ "use strict";
254045
254046
  init_esm();
254046
254047
  init_api4();
254047
254048
  init_session();
@@ -300897,7 +300898,6 @@ function importSVGFile(file2, document2, parentId) {
300897
300898
  var ENTITIES, decode3, I, mul2, apply2, scaleOf, NUM2, nums, near, NAMED, INHERITED, PRESENTATION, len2, CAP, JOIN, SKIPPED, refId;
300898
300899
  var init_svg_import = __esm({
300899
300900
  "lib/io/svg-import.ts"() {
300900
- "use strict";
300901
300901
  init_dist_node();
300902
300902
  init_types();
300903
300903
  ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', apos: "'", nbsp: "\xA0" };
@@ -301726,6 +301726,7 @@ async function createFreshFileOrExplain(place4 = {}, seed2 = {}) {
301726
301726
  var online, goesLocal;
301727
301727
  var init_new_file = __esm({
301728
301728
  "lib/client/cloud/new-file.ts"() {
301729
+ "use strict";
301729
301730
  init_scene_graph();
301730
301731
  init_print_pages();
301731
301732
  init_page_presets();
@@ -303482,6 +303483,7 @@ function applyTextPath(layout2, path, tp, rebase = true) {
303482
303483
  var defaultCircleRadius, ownsPath, mapPoint;
303483
303484
  var init_text_path = __esm({
303484
303485
  "lib/engine/text/text-path.ts"() {
303486
+ "use strict";
303485
303487
  init_scene_graph();
303486
303488
  init_transform();
303487
303489
  init_shape_to_path();
@@ -303599,6 +303601,7 @@ function areaBounds(rings) {
303599
303601
  }
303600
303602
  var init_text_area = __esm({
303601
303603
  "lib/engine/text/text-area.ts"() {
303604
+ "use strict";
303602
303605
  }
303603
303606
  });
303604
303607
 
@@ -307830,6 +307833,7 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
307830
307833
  var MIME, DEFAULT_EXPORT, exportSettingsOf;
307831
307834
  var init_export = __esm({
307832
307835
  "lib/io/export.ts"() {
307836
+ "use strict";
307833
307837
  init_download();
307834
307838
  init_scene_graph();
307835
307839
  init_codecs();
@@ -308206,7 +308210,6 @@ function videoPixelSize(resolution, aspect) {
308206
308210
  var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
308207
308211
  var init_video_models = __esm({
308208
308212
  "lib/ai/video-models.ts"() {
308209
- "use strict";
308210
308213
  VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
308211
308214
  VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
308212
308215
  SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
@@ -308695,6 +308698,7 @@ function agentToolList() {
308695
308698
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
308696
308699
  var init_agent = __esm({
308697
308700
  "lib/commands/agent.ts"() {
308701
+ "use strict";
308698
308702
  init_types5();
308699
308703
  init_registry();
308700
308704
  init_errors();
@@ -317228,7 +317232,7 @@ var init_package = __esm({
317228
317232
  "packages/runtime/package.json"() {
317229
317233
  package_default = {
317230
317234
  name: "@popcraft/runtime",
317231
- version: "0.9.0",
317235
+ version: "0.9.2",
317232
317236
  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.",
317233
317237
  license: "MIT",
317234
317238
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -397792,7 +397796,7 @@ init_resources();
397792
397796
  init_desktop();
397793
397797
  init_hypery();
397794
397798
  import { createInterface } from "node:readline";
397795
- var VERSION2 = "0.9.0";
397799
+ var VERSION2 = "0.9.2";
397796
397800
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
397797
397801
 
397798
397802
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.9.0",
3
+ "version": "0.9.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.9.0"
37
+ "@popcraft/kit": "0.9.2"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",