@popcraft/cli 0.45.0 → 0.46.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.
Files changed (2) hide show
  1. package/dist/popcraft.mjs +11 -7
  2. package/package.json +2 -2
package/dist/popcraft.mjs CHANGED
@@ -1196,7 +1196,7 @@ function operations(spec = openapi) {
1196
1196
  }
1197
1197
  async function call(target2, method, path, opts = {}) {
1198
1198
  const qs = new URLSearchParams(opts.query ?? {}).toString();
1199
- const headers = { "user-agent": `popcraft-cli/${"0.45.0"}`, ...opts.headers };
1199
+ const headers = { "user-agent": `popcraft-cli/${"0.46.0"}`, ...opts.headers };
1200
1200
  if (target2.token) headers.authorization = `Bearer ${target2.token}`;
1201
1201
  if (opts.contentType) headers["content-type"] = opts.contentType;
1202
1202
  try {
@@ -94485,6 +94485,7 @@ function hasMessage(key5) {
94485
94485
  var current2, loading, listeners, formats, asts;
94486
94486
  var init_runtime = __esm({
94487
94487
  "lib/i18n/runtime.ts"() {
94488
+ "use strict";
94488
94489
  init_intl_messageformat();
94489
94490
  init_icu_messageformat_parser();
94490
94491
  init_catalogs();
@@ -247904,7 +247905,6 @@ function repairCompositions(comps, nodes) {
247904
247905
  var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
247905
247906
  var init_invariants = __esm({
247906
247907
  "lib/motion/invariants.ts"() {
247907
- "use strict";
247908
247908
  init_easing();
247909
247909
  init_properties();
247910
247910
  init_markers();
@@ -248001,7 +248001,6 @@ function resyncText(doc2, ids2) {
248001
248001
  var isVirtualId;
248002
248002
  var init_invariants2 = __esm({
248003
248003
  "lib/document/invariants.ts"() {
248004
- "use strict";
248005
248004
  init_auto_layout();
248006
248005
  init_scene_graph();
248007
248006
  init_text_bounds();
@@ -262412,6 +262411,7 @@ function formatDate(date5, opts = { month: "short", day: "numeric", year: "numer
262412
262411
  var cache5, nf;
262413
262412
  var init_format = __esm({
262414
262413
  "lib/i18n/format.ts"() {
262414
+ "use strict";
262415
262415
  init_runtime();
262416
262416
  cache5 = /* @__PURE__ */ new Map();
262417
262417
  nf = (opts) => cached2("n", opts, (l) => new Intl.NumberFormat(l, opts));
@@ -311634,6 +311634,7 @@ async function dispatchShaped(key5, options) {
311634
311634
  var onViolation;
311635
311635
  var init_dispatch = __esm({
311636
311636
  "lib/commands/dispatch.ts"() {
311637
+ "use strict";
311637
311638
  init_errors();
311638
311639
  init_registry();
311639
311640
  init_confirm();
@@ -317157,6 +317158,7 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
317157
317158
  var MIME, DEFAULT_EXPORT, exportSettingsOf;
317158
317159
  var init_export = __esm({
317159
317160
  "lib/io/export.ts"() {
317161
+ "use strict";
317160
317162
  init_download();
317161
317163
  init_scene_graph();
317162
317164
  init_codecs();
@@ -317601,7 +317603,6 @@ function videoPixelSize(resolution, aspect) {
317601
317603
  var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
317602
317604
  var init_video_models = __esm({
317603
317605
  "lib/ai/video-models.ts"() {
317604
- "use strict";
317605
317606
  VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
317606
317607
  VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
317607
317608
  SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
@@ -318090,7 +318091,6 @@ function agentToolList() {
318090
318091
  var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
318091
318092
  var init_agent = __esm({
318092
318093
  "lib/commands/agent.ts"() {
318093
- "use strict";
318094
318094
  init_types5();
318095
318095
  init_registry();
318096
318096
  init_errors();
@@ -327954,7 +327954,7 @@ var init_package = __esm({
327954
327954
  "packages/runtime/package.json"() {
327955
327955
  package_default = {
327956
327956
  name: "@popcraft/runtime",
327957
- version: "0.45.0",
327957
+ version: "0.46.0",
327958
327958
  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.",
327959
327959
  license: "MIT",
327960
327960
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -352620,6 +352620,7 @@ function exportsOf(source3) {
352620
352620
  var CODE_LIMITS, packageOf;
352621
352621
  var init_source2 = __esm({
352622
352622
  "lib/code/source.ts"() {
352623
+ "use strict";
352623
352624
  CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
352624
352625
  packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
352625
352626
  }
@@ -352662,6 +352663,7 @@ function compileModule(module2) {
352662
352663
  var import_sucrase, BUILT_IN, memo4;
352663
352664
  var init_compile2 = __esm({
352664
352665
  "lib/code/compile.ts"() {
352666
+ "use strict";
352665
352667
  import_sucrase = __toESM(require_dist2());
352666
352668
  init_source2();
352667
352669
  init_source2();
@@ -361702,6 +361704,7 @@ var init_delete_current_file = __esm({
361702
361704
  var storeOpsSeam;
361703
361705
  var init_seams = __esm({
361704
361706
  "lib/commands/seams.ts"() {
361707
+ "use strict";
361705
361708
  storeOpsSeam = (st) => ({
361706
361709
  booleanOperation: (op4) => st().booleanOperation(op4),
361707
361710
  flatten: () => st().flattenSelection(),
@@ -405917,6 +405920,7 @@ function registerBuiltinCommands() {
405917
405920
  var builtinCommands, uiOnlyCommands;
405918
405921
  var init_builtin4 = __esm({
405919
405922
  "lib/commands/builtin.ts"() {
405923
+ "use strict";
405920
405924
  init_registry();
405921
405925
  init_node();
405922
405926
  init_node();
@@ -413506,7 +413510,7 @@ init_resources();
413506
413510
  init_desktop();
413507
413511
  init_hypery();
413508
413512
  import { createInterface } from "node:readline";
413509
- var VERSION2 = "0.45.0";
413513
+ var VERSION2 = "0.46.0";
413510
413514
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
413511
413515
 
413512
413516
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.45.0",
3
+ "version": "0.46.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.45.0"
37
+ "@popcraft/kit": "0.46.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",