@popcraft/cli 0.8.1 → 0.8.3

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 +12 -6
  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.3"}`, ...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 {
@@ -32947,6 +32947,9 @@ var init_en2 = __esm({
32947
32947
  "halftoneEditor.toneFrom": "Tone from",
32948
32948
  "homePage.agentCtrlShiftJ": "Agent (Ctrl+Shift+J)",
32949
32949
  "homePage.assets": "Assets",
32950
+ "homePage.storageStalledTitle": "PopCraft can't reach this browser's storage",
32951
+ "homePage.storageStalledBody": "Your files on this device are kept in the browser's storage, and it isn't answering. This usually clears after closing other PopCraft tabs, or quitting and reopening the browser. Then reload.",
32952
+ "homePage.storageStalledReload": "Reload",
32950
32953
  "homePage.brushes": "Brushes",
32951
32954
  "homePage.collapsePanel": "Collapse panel",
32952
32955
  "homePage.commentsNotifications": "Comments & notifications",
@@ -249722,6 +249725,7 @@ function activeTeamWorkspaceId() {
249722
249725
  var STORAGE_KEY2, useHyperyTeam, useTeamPrompt;
249723
249726
  var init_team = __esm({
249724
249727
  "lib/client/cloud/team.ts"() {
249728
+ "use strict";
249725
249729
  init_esm();
249726
249730
  init_api4();
249727
249731
  init_session();
@@ -297104,6 +297108,7 @@ async function dispatchShaped(key5, options) {
297104
297108
  var onViolation;
297105
297109
  var init_dispatch = __esm({
297106
297110
  "lib/commands/dispatch.ts"() {
297111
+ "use strict";
297107
297112
  init_errors();
297108
297113
  init_registry();
297109
297114
  init_confirm();
@@ -297486,7 +297491,6 @@ function creditLine(c2) {
297486
297491
  var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
297487
297492
  var init_stock = __esm({
297488
297493
  "lib/photos/stock.ts"() {
297489
- "use strict";
297490
297494
  MAX_PHOTO_PAGE = 12;
297491
297495
  MAX_PHOTO_QUERY = 200;
297492
297496
  UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
@@ -302498,6 +302502,7 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
302498
302502
  var MIME, DEFAULT_EXPORT, exportSettingsOf;
302499
302503
  var init_export = __esm({
302500
302504
  "lib/io/export.ts"() {
302505
+ "use strict";
302501
302506
  init_download();
302502
302507
  init_scene_graph();
302503
302508
  init_codecs();
@@ -302874,7 +302879,6 @@ function videoPixelSize(resolution, aspect) {
302874
302879
  var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
302875
302880
  var init_video_models = __esm({
302876
302881
  "lib/ai/video-models.ts"() {
302877
- "use strict";
302878
302882
  VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
302879
302883
  VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
302880
302884
  SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
@@ -312793,7 +312797,7 @@ var init_package = __esm({
312793
312797
  "packages/runtime/package.json"() {
312794
312798
  package_default = {
312795
312799
  name: "@popcraft/runtime",
312796
- version: "0.8.1",
312800
+ version: "0.8.3",
312797
312801
  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
312802
  license: "MIT",
312799
312803
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -344474,7 +344478,6 @@ function publishSite(key5, files, opts = {}) {
344474
344478
  var siteStatus, setSiteVersion, renameSite;
344475
344479
  var init_sites = __esm({
344476
344480
  "lib/client/cloud/sites.ts"() {
344477
- "use strict";
344478
344481
  init_files();
344479
344482
  init_upload2();
344480
344483
  init_api4();
@@ -344988,6 +344991,7 @@ function designRecorder() {
344988
344991
  var installed;
344989
344992
  var init_recorders = __esm({
344990
344993
  "lib/agent/design-script/recorders.ts"() {
344994
+ "use strict";
344991
344995
  installed = null;
344992
344996
  }
344993
344997
  });
@@ -347626,6 +347630,7 @@ var init_plugin_widget = __esm({
347626
347630
  var storeOpsSeam;
347627
347631
  var init_seams = __esm({
347628
347632
  "lib/commands/seams.ts"() {
347633
+ "use strict";
347629
347634
  storeOpsSeam = (st) => ({
347630
347635
  booleanOperation: (op4) => st().booleanOperation(op4),
347631
347636
  flatten: () => st().flattenSelection(),
@@ -380513,6 +380518,7 @@ function registerBuiltinCommands() {
380513
380518
  var builtinCommands, uiOnlyCommands;
380514
380519
  var init_builtin2 = __esm({
380515
380520
  "lib/commands/builtin.ts"() {
380521
+ "use strict";
380516
380522
  init_registry();
380517
380523
  init_node();
380518
380524
  init_node();
@@ -393345,7 +393351,7 @@ init_resources();
393345
393351
  init_desktop();
393346
393352
  init_hypery();
393347
393353
  import { createInterface } from "node:readline";
393348
- var VERSION2 = "0.8.1";
393354
+ var VERSION2 = "0.8.3";
393349
393355
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
393350
393356
 
393351
393357
  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.3",
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.3"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",