@kinetune/cli 5.0.1 → 5.3.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 (4) hide show
  1. package/README.md +300 -193
  2. package/dist/kinetune.mjs +270 -225
  3. package/package.json +13 -9
  4. package/LICENSE.md +0 -20
package/dist/kinetune.mjs CHANGED
@@ -12,7 +12,32 @@ import { mkdir as mkdir2, readFile as readFile2, writeFile as writeFile2 } from
12
12
  import path3 from "node:path";
13
13
  import { createInterface } from "node:readline/promises";
14
14
 
15
- // node_modules/zod/v4/classic/external.js
15
+ // ../composition/src/categories.ts
16
+ var CATEGORY_IDS = [
17
+ "release",
18
+ "fall",
19
+ "halloween",
20
+ "christmas",
21
+ "summer",
22
+ "valentines",
23
+ "mood",
24
+ "retro",
25
+ "synthwave",
26
+ "street",
27
+ "nature",
28
+ "luxury",
29
+ "abstract",
30
+ "minimal",
31
+ "neon",
32
+ "pop-art",
33
+ "lo-fi",
34
+ "grunge",
35
+ "cosmic",
36
+ "cyber",
37
+ "dreamy"
38
+ ];
39
+
40
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/external.js
16
41
  var external_exports = {};
17
42
  __export(external_exports, {
18
43
  $brand: () => $brand,
@@ -275,7 +300,7 @@ __export(external_exports, {
275
300
  xor: () => xor
276
301
  });
277
302
 
278
- // node_modules/zod/v4/core/index.js
303
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/index.js
279
304
  var core_exports2 = {};
280
305
  __export(core_exports2, {
281
306
  $ZodAny: () => $ZodAny,
@@ -592,7 +617,7 @@ __export(core_exports2, {
592
617
  withParser: () => withParser
593
618
  });
594
619
 
595
- // node_modules/zod/v4/core/util.js
620
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.js
596
621
  var util_exports = {};
597
622
  __export(util_exports, {
598
623
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -663,7 +688,6 @@ __export(util_exports, {
663
688
  required: () => required,
664
689
  safeExtend: () => safeExtend,
665
690
  shallowClone: () => shallowClone,
666
- sizeCaps: () => sizeCaps,
667
691
  slugify: () => slugify,
668
692
  stringifyPrimitive: () => stringifyPrimitive,
669
693
  toZod: () => toZod,
@@ -1183,18 +1207,6 @@ function prefixIssues(path4, issues) {
1183
1207
  function unwrapMessage(message) {
1184
1208
  return typeof message === "string" ? message : message?.message;
1185
1209
  }
1186
- function sizeCaps(defChecks) {
1187
- const caps = [];
1188
- for (const ch of defChecks ?? []) {
1189
- const d = ch._zod.def;
1190
- if (!/_(length|size)$|_equals$/.test(d.check))
1191
- break;
1192
- const max = d.maximum ?? d.length ?? d.size;
1193
- if (max >= 0)
1194
- caps.push([max, ch]);
1195
- }
1196
- return caps;
1197
- }
1198
1210
  function attachSchema(issues, start, inst) {
1199
1211
  var _a3;
1200
1212
  for (let i = start; i < issues.length; i++) {
@@ -1316,8 +1328,8 @@ function base64urlToUint8Array(base64url3) {
1316
1328
  function uint8ArrayToBase64url(bytes) {
1317
1329
  return uint8ArrayToBase64(bytes).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
1318
1330
  }
1319
- function hexToUint8Array(hex4) {
1320
- const cleanHex = hex4.replace(/^0x/, "");
1331
+ function hexToUint8Array(hex6) {
1332
+ const cleanHex = hex6.replace(/^0x/, "");
1321
1333
  if (cleanHex.length % 2 !== 0) {
1322
1334
  throw new Error("Invalid hex string length");
1323
1335
  }
@@ -1448,7 +1460,7 @@ function constantCatch(value) {
1448
1460
  return fn;
1449
1461
  }
1450
1462
 
1451
- // node_modules/zod/v4/core/core.js
1463
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.js
1452
1464
  var _a;
1453
1465
  var NEVER = /* @__PURE__ */ Object.freeze({
1454
1466
  status: "aborted"
@@ -1570,7 +1582,7 @@ function config(newConfig) {
1570
1582
  return globalConfig;
1571
1583
  }
1572
1584
 
1573
- // node_modules/zod/v4/core/errors.js
1585
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/errors.js
1574
1586
  function _getMessage() {
1575
1587
  const internals = this._zod;
1576
1588
  internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
@@ -1762,7 +1774,7 @@ function prettifyError(error62) {
1762
1774
  return lines.join("\n");
1763
1775
  }
1764
1776
 
1765
- // node_modules/zod/v4/core/parse.js
1777
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.js
1766
1778
  function finalizeParams(callee, params) {
1767
1779
  return { callee: params?.callee ?? callee, Err: params?.Err };
1768
1780
  }
@@ -1922,7 +1934,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
1922
1934
  };
1923
1935
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
1924
1936
 
1925
- // node_modules/zod/v4/core/regexes.js
1937
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/regexes.js
1926
1938
  var regexes_exports = {};
1927
1939
  __export(regexes_exports, {
1928
1940
  anyString: () => anyString,
@@ -2094,7 +2106,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
2094
2106
  var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
2095
2107
  var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
2096
2108
 
2097
- // node_modules/zod/v4/core/checks.js
2109
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.js
2098
2110
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
2099
2111
  var _a3;
2100
2112
  inst._zod ?? (inst._zod = {});
@@ -2570,7 +2582,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
2570
2582
  };
2571
2583
  });
2572
2584
 
2573
- // node_modules/zod/v4/core/doc.js
2585
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.js
2574
2586
  var Doc = class {
2575
2587
  constructor(args = [], closed = {}) {
2576
2588
  this.content = [];
@@ -2611,14 +2623,14 @@ ${content.join("\n")}
2611
2623
  }
2612
2624
  };
2613
2625
 
2614
- // node_modules/zod/v4/core/versions.js
2626
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.js
2615
2627
  var version = {
2616
2628
  major: 4,
2617
2629
  minor: 6,
2618
- patch: 7
2630
+ patch: 5
2619
2631
  };
2620
2632
 
2621
- // node_modules/zod/v4/core/schemas.js
2633
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/schemas.js
2622
2634
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
2623
2635
  var _a3;
2624
2636
  inst ?? (inst = {});
@@ -3371,31 +3383,6 @@ var $ZodDate = /* @__PURE__ */ $constructor("$ZodDate", (inst, def) => {
3371
3383
  return payload;
3372
3384
  };
3373
3385
  });
3374
- function capSize(inst, size) {
3375
- const caps = sizeCaps(inst._zod.def.checks);
3376
- if (!caps.length)
3377
- return;
3378
- const cap = Math.min(...caps.map((c) => c[0]));
3379
- const parse3 = inst._zod.parse;
3380
- inst._zod.parse = (payload, ctx) => {
3381
- const n = size(payload.value);
3382
- if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
3383
- for (const [max, ch] of sizeCaps(inst._zod.def.checks)) {
3384
- if (n > max && ch._zod.def.when(payload)) {
3385
- const start = payload.issues.length;
3386
- ch._zod.check(payload);
3387
- payload.issues[start].continue = false;
3388
- attachSchema(payload.issues, start, inst);
3389
- return payload;
3390
- }
3391
- }
3392
- }
3393
- return parse3(payload, ctx);
3394
- };
3395
- }
3396
- var arraySize = (input2) => Array.isArray(input2) ? input2.length : -1;
3397
- var mapSize = (input2) => input2 instanceof Map ? input2.size : -1;
3398
- var setSize = (input2) => input2 instanceof Set ? input2.size : -1;
3399
3386
  function handleArrayResult(result, final, index) {
3400
3387
  if (result.issues.length) {
3401
3388
  final.issues.push(...prefixIssues(index, result.issues));
@@ -3439,7 +3426,6 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
3439
3426
  }
3440
3427
  return payload;
3441
3428
  };
3442
- capSize(inst, arraySize);
3443
3429
  });
3444
3430
  function handlePropertyResult(result, final, key, input2, optin, optout) {
3445
3431
  const isPresent = key in input2;
@@ -4396,7 +4382,6 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
4396
4382
  return Promise.all(proms).then(() => payload);
4397
4383
  return payload;
4398
4384
  };
4399
- capSize(inst, mapSize);
4400
4385
  });
4401
4386
  function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx) {
4402
4387
  if (keyResult.issues.length) {
@@ -4463,7 +4448,6 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
4463
4448
  return Promise.all(proms).then(() => payload);
4464
4449
  return payload;
4465
4450
  };
4466
- capSize(inst, setSize);
4467
4451
  });
4468
4452
  function handleSetResult(result, final) {
4469
4453
  if (result.issues.length) {
@@ -5060,7 +5044,7 @@ function handleRefineResult(result, payload, input2, inst) {
5060
5044
  }
5061
5045
  }
5062
5046
 
5063
- // node_modules/zod/v4/core/memoizer.js
5047
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.js
5064
5048
  var $ZodCyclicError = class extends Error {
5065
5049
  constructor() {
5066
5050
  super(`Cannot parse a reference cycle that closes through a transform`);
@@ -5337,7 +5321,7 @@ function isBackEdge(ctx, value) {
5337
5321
  return backEdges !== void 0 && isRef(value) && backEdges.has(value);
5338
5322
  }
5339
5323
 
5340
- // node_modules/zod/v4/locales/index.js
5324
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/index.js
5341
5325
  var locales_exports = {};
5342
5326
  __export(locales_exports, {
5343
5327
  ar: () => ar_default,
@@ -5405,7 +5389,7 @@ __export(locales_exports, {
5405
5389
  zhTW: () => zh_TW_default
5406
5390
  });
5407
5391
 
5408
- // node_modules/zod/v4/locales/ar.js
5392
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ar.js
5409
5393
  var error = () => {
5410
5394
  const Sizable = {
5411
5395
  string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
@@ -5517,7 +5501,7 @@ function ar_default() {
5517
5501
  };
5518
5502
  }
5519
5503
 
5520
- // node_modules/zod/v4/locales/az.js
5504
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/az.js
5521
5505
  var error2 = () => {
5522
5506
  const Sizable = {
5523
5507
  string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
@@ -5628,7 +5612,7 @@ function az_default() {
5628
5612
  };
5629
5613
  }
5630
5614
 
5631
- // node_modules/zod/v4/locales/be.js
5615
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.js
5632
5616
  function getBelarusianPlural(count, one, few, many) {
5633
5617
  const absCount = Math.abs(count);
5634
5618
  const lastDigit = absCount % 10;
@@ -5797,7 +5781,7 @@ function be_default() {
5797
5781
  };
5798
5782
  }
5799
5783
 
5800
- // node_modules/zod/v4/locales/bg.js
5784
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bg.js
5801
5785
  var error4 = () => {
5802
5786
  const Sizable = {
5803
5787
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
@@ -5923,7 +5907,7 @@ function bg_default() {
5923
5907
  };
5924
5908
  }
5925
5909
 
5926
- // node_modules/zod/v4/locales/bn.js
5910
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bn.js
5927
5911
  var error5 = () => {
5928
5912
  const Sizable = {
5929
5913
  string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
@@ -6037,7 +6021,7 @@ function bn_default() {
6037
6021
  };
6038
6022
  }
6039
6023
 
6040
- // node_modules/zod/v4/locales/ca.js
6024
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ca.js
6041
6025
  var error6 = () => {
6042
6026
  const Sizable = {
6043
6027
  string: { unit: "car\xE0cters", verb: "contenir" },
@@ -6151,7 +6135,7 @@ function ca_default() {
6151
6135
  };
6152
6136
  }
6153
6137
 
6154
- // node_modules/zod/v4/locales/ckb.js
6138
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ckb.js
6155
6139
  var error7 = () => {
6156
6140
  const Sizable = {
6157
6141
  string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
@@ -6284,7 +6268,7 @@ function ckb_default() {
6284
6268
  };
6285
6269
  }
6286
6270
 
6287
- // node_modules/zod/v4/locales/cs.js
6271
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/cs.js
6288
6272
  var error8 = () => {
6289
6273
  const Sizable = {
6290
6274
  string: { unit: "znak\u016F", verb: "m\xEDt" },
@@ -6401,7 +6385,7 @@ function cs_default() {
6401
6385
  };
6402
6386
  }
6403
6387
 
6404
- // node_modules/zod/v4/locales/da.js
6388
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/da.js
6405
6389
  var error9 = () => {
6406
6390
  const Sizable = {
6407
6391
  string: { unit: "tegn", verb: "havde" },
@@ -6522,7 +6506,7 @@ function da_default() {
6522
6506
  };
6523
6507
  }
6524
6508
 
6525
- // node_modules/zod/v4/locales/de.js
6509
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/de.js
6526
6510
  var error10 = () => {
6527
6511
  const Sizable = {
6528
6512
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -6636,7 +6620,7 @@ function de_default() {
6636
6620
  };
6637
6621
  }
6638
6622
 
6639
- // node_modules/zod/v4/locales/el.js
6623
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/el.js
6640
6624
  var error11 = () => {
6641
6625
  const Sizable = {
6642
6626
  string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
@@ -6749,7 +6733,7 @@ function el_default() {
6749
6733
  };
6750
6734
  }
6751
6735
 
6752
- // node_modules/zod/v4/locales/en.js
6736
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.js
6753
6737
  var error12 = () => {
6754
6738
  const Sizable = {
6755
6739
  string: { unit: "characters", verb: "to have" },
@@ -6874,7 +6858,7 @@ function en_default() {
6874
6858
  };
6875
6859
  }
6876
6860
 
6877
- // node_modules/zod/v4/locales/eo.js
6861
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/eo.js
6878
6862
  var error13 = () => {
6879
6863
  const Sizable = {
6880
6864
  string: { unit: "karaktrojn", verb: "havi" },
@@ -6989,7 +6973,7 @@ function eo_default() {
6989
6973
  };
6990
6974
  }
6991
6975
 
6992
- // node_modules/zod/v4/locales/es.js
6976
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/es.js
6993
6977
  var error14 = () => {
6994
6978
  const Sizable = {
6995
6979
  string: { unit: "caracteres", verb: "tener" },
@@ -7126,7 +7110,7 @@ function es_default() {
7126
7110
  };
7127
7111
  }
7128
7112
 
7129
- // node_modules/zod/v4/locales/fa.js
7113
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fa.js
7130
7114
  var error15 = () => {
7131
7115
  const Sizable = {
7132
7116
  string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
@@ -7246,7 +7230,7 @@ function fa_default() {
7246
7230
  };
7247
7231
  }
7248
7232
 
7249
- // node_modules/zod/v4/locales/fi.js
7233
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fi.js
7250
7234
  var error16 = () => {
7251
7235
  const Sizable = {
7252
7236
  string: { unit: "merkki\xE4", subject: "merkkijonon" },
@@ -7364,7 +7348,7 @@ function fi_default() {
7364
7348
  };
7365
7349
  }
7366
7350
 
7367
- // node_modules/zod/v4/locales/fr.js
7351
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr.js
7368
7352
  var error17 = () => {
7369
7353
  const Sizable = {
7370
7354
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -7494,7 +7478,7 @@ function fr_default() {
7494
7478
  };
7495
7479
  }
7496
7480
 
7497
- // node_modules/zod/v4/locales/fr-CA.js
7481
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr-CA.js
7498
7482
  var error18 = () => {
7499
7483
  const Sizable = {
7500
7484
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -7607,7 +7591,7 @@ function fr_CA_default() {
7607
7591
  };
7608
7592
  }
7609
7593
 
7610
- // node_modules/zod/v4/locales/gu.js
7594
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/gu.js
7611
7595
  var error19 = () => {
7612
7596
  const Sizable = {
7613
7597
  string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
@@ -7721,7 +7705,7 @@ function gu_default() {
7721
7705
  };
7722
7706
  }
7723
7707
 
7724
- // node_modules/zod/v4/locales/he.js
7708
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/he.js
7725
7709
  var error20 = () => {
7726
7710
  const TypeNames = {
7727
7711
  string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
@@ -7923,7 +7907,7 @@ function he_default() {
7923
7907
  };
7924
7908
  }
7925
7909
 
7926
- // node_modules/zod/v4/locales/hi.js
7910
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hi.js
7927
7911
  var error21 = () => {
7928
7912
  const Sizable = {
7929
7913
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
@@ -8035,7 +8019,7 @@ function hi_default() {
8035
8019
  };
8036
8020
  }
8037
8021
 
8038
- // node_modules/zod/v4/locales/hr.js
8022
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hr.js
8039
8023
  var error22 = () => {
8040
8024
  const Sizable = {
8041
8025
  string: { unit: "znakova", verb: "imati" },
@@ -8162,7 +8146,7 @@ function hr_default() {
8162
8146
  };
8163
8147
  }
8164
8148
 
8165
- // node_modules/zod/v4/locales/hu.js
8149
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hu.js
8166
8150
  var error23 = () => {
8167
8151
  const Sizable = {
8168
8152
  string: { unit: "karakter", verb: "legyen" },
@@ -8276,7 +8260,7 @@ function hu_default() {
8276
8260
  };
8277
8261
  }
8278
8262
 
8279
- // node_modules/zod/v4/locales/hy.js
8263
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.js
8280
8264
  function getArmenianPlural(count, one, many) {
8281
8265
  return Math.abs(count) === 1 ? one : many;
8282
8266
  }
@@ -8435,7 +8419,7 @@ function hy_default() {
8435
8419
  };
8436
8420
  }
8437
8421
 
8438
- // node_modules/zod/v4/locales/id.js
8422
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/id.js
8439
8423
  var error25 = () => {
8440
8424
  const Sizable = {
8441
8425
  string: { unit: "karakter", verb: "memiliki" },
@@ -8547,7 +8531,7 @@ function id_default() {
8547
8531
  };
8548
8532
  }
8549
8533
 
8550
- // node_modules/zod/v4/locales/is.js
8534
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/is.js
8551
8535
  var error26 = () => {
8552
8536
  const Sizable = {
8553
8537
  string: { unit: "stafi", verb: "a\xF0 hafa" },
@@ -8662,7 +8646,7 @@ function is_default() {
8662
8646
  };
8663
8647
  }
8664
8648
 
8665
- // node_modules/zod/v4/locales/it.js
8649
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/it.js
8666
8650
  var error27 = () => {
8667
8651
  const Sizable = {
8668
8652
  string: { unit: "caratteri", verb: "avere" },
@@ -8776,7 +8760,7 @@ function it_default() {
8776
8760
  };
8777
8761
  }
8778
8762
 
8779
- // node_modules/zod/v4/locales/ja.js
8763
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ja.js
8780
8764
  var error28 = () => {
8781
8765
  const Sizable = {
8782
8766
  string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
@@ -8889,7 +8873,7 @@ function ja_default() {
8889
8873
  };
8890
8874
  }
8891
8875
 
8892
- // node_modules/zod/v4/locales/ka.js
8876
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ka.js
8893
8877
  var error29 = () => {
8894
8878
  const Sizable = {
8895
8879
  string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
@@ -9007,7 +8991,7 @@ function ka_default() {
9007
8991
  };
9008
8992
  }
9009
8993
 
9010
- // node_modules/zod/v4/locales/km.js
8994
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/km.js
9011
8995
  var error30 = () => {
9012
8996
  const Sizable = {
9013
8997
  string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
@@ -9123,12 +9107,12 @@ function km_default() {
9123
9107
  };
9124
9108
  }
9125
9109
 
9126
- // node_modules/zod/v4/locales/kh.js
9110
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kh.js
9127
9111
  function kh_default() {
9128
9112
  return km_default();
9129
9113
  }
9130
9114
 
9131
- // node_modules/zod/v4/locales/kn.js
9115
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kn.js
9132
9116
  var error31 = () => {
9133
9117
  const Sizable = {
9134
9118
  string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
@@ -9244,7 +9228,7 @@ function kn_default() {
9244
9228
  };
9245
9229
  }
9246
9230
 
9247
- // node_modules/zod/v4/locales/ko.js
9231
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ko.js
9248
9232
  var error32 = () => {
9249
9233
  const Sizable = {
9250
9234
  string: { unit: "\uBB38\uC790", verb: "to have" },
@@ -9361,7 +9345,7 @@ function ko_default() {
9361
9345
  };
9362
9346
  }
9363
9347
 
9364
- // node_modules/zod/v4/locales/lt.js
9348
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/lt.js
9365
9349
  var capitalizeFirstCharacter = (text) => {
9366
9350
  return text.charAt(0).toUpperCase() + text.slice(1);
9367
9351
  };
@@ -9569,7 +9553,7 @@ function lt_default() {
9569
9553
  };
9570
9554
  }
9571
9555
 
9572
- // node_modules/zod/v4/locales/mk.js
9556
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/mk.js
9573
9557
  var error34 = () => {
9574
9558
  const Sizable = {
9575
9559
  string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
@@ -9684,7 +9668,7 @@ function mk_default() {
9684
9668
  };
9685
9669
  }
9686
9670
 
9687
- // node_modules/zod/v4/locales/ms.js
9671
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ms.js
9688
9672
  var error35 = () => {
9689
9673
  const Sizable = {
9690
9674
  string: { unit: "aksara", verb: "mempunyai" },
@@ -9797,7 +9781,7 @@ function ms_default() {
9797
9781
  };
9798
9782
  }
9799
9783
 
9800
- // node_modules/zod/v4/locales/ne.js
9784
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ne.js
9801
9785
  var error36 = () => {
9802
9786
  const Sizable = {
9803
9787
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
@@ -9909,7 +9893,7 @@ function ne_default() {
9909
9893
  };
9910
9894
  }
9911
9895
 
9912
- // node_modules/zod/v4/locales/nl.js
9896
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nl.js
9913
9897
  var error37 = () => {
9914
9898
  const Sizable = {
9915
9899
  string: { unit: "tekens", verb: "heeft" },
@@ -10025,7 +10009,7 @@ function nl_default() {
10025
10009
  };
10026
10010
  }
10027
10011
 
10028
- // node_modules/zod/v4/locales/nn.js
10012
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nn.js
10029
10013
  var error38 = () => {
10030
10014
  const Sizable = {
10031
10015
  string: { unit: "teikn", verb: "\xE5 ha" },
@@ -10139,7 +10123,7 @@ function nn_default() {
10139
10123
  };
10140
10124
  }
10141
10125
 
10142
- // node_modules/zod/v4/locales/no.js
10126
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/no.js
10143
10127
  var error39 = () => {
10144
10128
  const Sizable = {
10145
10129
  string: { unit: "tegn", verb: "\xE5 ha" },
@@ -10253,7 +10237,7 @@ function no_default() {
10253
10237
  };
10254
10238
  }
10255
10239
 
10256
- // node_modules/zod/v4/locales/ota.js
10240
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ota.js
10257
10241
  var error40 = () => {
10258
10242
  const Sizable = {
10259
10243
  string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
@@ -10368,7 +10352,7 @@ function ota_default() {
10368
10352
  };
10369
10353
  }
10370
10354
 
10371
- // node_modules/zod/v4/locales/ps.js
10355
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ps.js
10372
10356
  var error41 = () => {
10373
10357
  const Sizable = {
10374
10358
  string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
@@ -10488,7 +10472,7 @@ function ps_default() {
10488
10472
  };
10489
10473
  }
10490
10474
 
10491
- // node_modules/zod/v4/locales/pl.js
10475
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pl.js
10492
10476
  var error42 = () => {
10493
10477
  const Sizable = {
10494
10478
  string: { unit: "znak\xF3w", verb: "mie\u0107" },
@@ -10603,7 +10587,7 @@ function pl_default() {
10603
10587
  };
10604
10588
  }
10605
10589
 
10606
- // node_modules/zod/v4/locales/pt.js
10590
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt.js
10607
10591
  var error43 = () => {
10608
10592
  const Sizable = {
10609
10593
  string: { unit: "caracteres" },
@@ -10747,7 +10731,7 @@ function pt_default() {
10747
10731
  };
10748
10732
  }
10749
10733
 
10750
- // node_modules/zod/v4/locales/pt-BR.js
10734
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt-BR.js
10751
10735
  var error44 = () => {
10752
10736
  const Sizable = {
10753
10737
  string: { unit: "caracteres" },
@@ -10892,7 +10876,7 @@ function pt_BR_default() {
10892
10876
  };
10893
10877
  }
10894
10878
 
10895
- // node_modules/zod/v4/locales/ro.js
10879
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ro.js
10896
10880
  var error45 = () => {
10897
10881
  const Sizable = {
10898
10882
  string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
@@ -11015,7 +10999,7 @@ function ro_default() {
11015
10999
  };
11016
11000
  }
11017
11001
 
11018
- // node_modules/zod/v4/locales/ru.js
11002
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.js
11019
11003
  function getRussianPlural(count, one, few, many) {
11020
11004
  const absCount = Math.abs(count);
11021
11005
  const lastDigit = absCount % 10;
@@ -11184,7 +11168,7 @@ function ru_default() {
11184
11168
  };
11185
11169
  }
11186
11170
 
11187
- // node_modules/zod/v4/locales/sk.js
11171
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sk.js
11188
11172
  var error47 = () => {
11189
11173
  const Sizable = {
11190
11174
  string: { unit: "znakov", verb: "ma\u0165" },
@@ -11301,7 +11285,7 @@ function sk_default() {
11301
11285
  };
11302
11286
  }
11303
11287
 
11304
- // node_modules/zod/v4/locales/sl.js
11288
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sl.js
11305
11289
  var error48 = () => {
11306
11290
  const Sizable = {
11307
11291
  string: { unit: "znakov", verb: "imeti" },
@@ -11416,7 +11400,7 @@ function sl_default() {
11416
11400
  };
11417
11401
  }
11418
11402
 
11419
- // node_modules/zod/v4/locales/sv.js
11403
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sv.js
11420
11404
  var error49 = () => {
11421
11405
  const Sizable = {
11422
11406
  string: { unit: "tecken", verb: "att ha" },
@@ -11532,7 +11516,7 @@ function sv_default() {
11532
11516
  };
11533
11517
  }
11534
11518
 
11535
- // node_modules/zod/v4/locales/ta.js
11519
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ta.js
11536
11520
  var error50 = () => {
11537
11521
  const Sizable = {
11538
11522
  string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
@@ -11648,7 +11632,7 @@ function ta_default() {
11648
11632
  };
11649
11633
  }
11650
11634
 
11651
- // node_modules/zod/v4/locales/tg.js
11635
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tg.js
11652
11636
  var error51 = () => {
11653
11637
  const Sizable = {
11654
11638
  string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
@@ -11765,7 +11749,7 @@ function tg_default() {
11765
11749
  };
11766
11750
  }
11767
11751
 
11768
- // node_modules/zod/v4/locales/th.js
11752
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/th.js
11769
11753
  var error52 = () => {
11770
11754
  const Sizable = {
11771
11755
  string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
@@ -11881,7 +11865,7 @@ function th_default() {
11881
11865
  };
11882
11866
  }
11883
11867
 
11884
- // node_modules/zod/v4/locales/tk.js
11868
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tk.js
11885
11869
  var error53 = () => {
11886
11870
  const Sizable = {
11887
11871
  string: { unit: "simwol", verb: "bolmaly" },
@@ -11989,7 +11973,7 @@ function tk_default() {
11989
11973
  };
11990
11974
  }
11991
11975
 
11992
- // node_modules/zod/v4/locales/tr.js
11976
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tr.js
11993
11977
  var error54 = () => {
11994
11978
  const Sizable = {
11995
11979
  string: { unit: "karakter", verb: "olmal\u0131" },
@@ -12100,7 +12084,7 @@ function tr_default() {
12100
12084
  };
12101
12085
  }
12102
12086
 
12103
- // node_modules/zod/v4/locales/uk.js
12087
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uk.js
12104
12088
  var error55 = () => {
12105
12089
  const Sizable = {
12106
12090
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
@@ -12214,12 +12198,12 @@ function uk_default() {
12214
12198
  };
12215
12199
  }
12216
12200
 
12217
- // node_modules/zod/v4/locales/ua.js
12201
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ua.js
12218
12202
  function ua_default() {
12219
12203
  return uk_default();
12220
12204
  }
12221
12205
 
12222
- // node_modules/zod/v4/locales/ur.js
12206
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ur.js
12223
12207
  var error56 = () => {
12224
12208
  const Sizable = {
12225
12209
  string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
@@ -12335,7 +12319,7 @@ function ur_default() {
12335
12319
  };
12336
12320
  }
12337
12321
 
12338
- // node_modules/zod/v4/locales/uz.js
12322
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uz.js
12339
12323
  var error57 = () => {
12340
12324
  const Sizable = {
12341
12325
  string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
@@ -12449,7 +12433,7 @@ function uz_default() {
12449
12433
  };
12450
12434
  }
12451
12435
 
12452
- // node_modules/zod/v4/locales/vi.js
12436
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/vi.js
12453
12437
  var error58 = () => {
12454
12438
  const Sizable = {
12455
12439
  string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
@@ -12563,7 +12547,7 @@ function vi_default() {
12563
12547
  };
12564
12548
  }
12565
12549
 
12566
- // node_modules/zod/v4/locales/zh-CN.js
12550
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-CN.js
12567
12551
  var error59 = () => {
12568
12552
  const Sizable = {
12569
12553
  string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
@@ -12678,7 +12662,7 @@ function zh_CN_default() {
12678
12662
  };
12679
12663
  }
12680
12664
 
12681
- // node_modules/zod/v4/locales/zh-TW.js
12665
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-TW.js
12682
12666
  var error60 = () => {
12683
12667
  const Sizable = {
12684
12668
  string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
@@ -12791,7 +12775,7 @@ function zh_TW_default() {
12791
12775
  };
12792
12776
  }
12793
12777
 
12794
- // node_modules/zod/v4/locales/yo.js
12778
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/yo.js
12795
12779
  var error61 = () => {
12796
12780
  const Sizable = {
12797
12781
  string: { unit: "\xE0mi", verb: "n\xED" },
@@ -12904,7 +12888,7 @@ function yo_default() {
12904
12888
  };
12905
12889
  }
12906
12890
 
12907
- // node_modules/zod/v4/core/registries.js
12891
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/registries.js
12908
12892
  var _a2;
12909
12893
  var $output = /* @__PURE__ */ Symbol("ZodOutput");
12910
12894
  var $input = /* @__PURE__ */ Symbol("ZodInput");
@@ -12954,7 +12938,7 @@ function registry() {
12954
12938
  (_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
12955
12939
  var globalRegistry = globalThis.__zod_globalRegistry;
12956
12940
 
12957
- // node_modules/zod/v4/core/compile.js
12941
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/compile.js
12958
12942
  var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
12959
12943
  var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
12960
12944
  var ZodCompileAsyncError = class extends Error {
@@ -13994,15 +13978,9 @@ function generateNullableCheck(doc, ctx, schema, accessor, buildsValue = true) {
13994
13978
  doc.write(`}`);
13995
13979
  return outputVar;
13996
13980
  }
13997
- function generateSizeGate(doc, schema, size) {
13998
- for (const [max, check2] of sizeCaps(schema._zod.def.checks)) {
13999
- doc.write(`if (${size} > ${numericOperand(max, check2._zod.def.check)}) return INVALID;`);
14000
- }
14001
- }
14002
13981
  function generateArrayCheck(doc, ctx, schema, accessor, buildsValue = true) {
14003
13982
  const def = schema._zod.def;
14004
13983
  doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
14005
- generateSizeGate(doc, schema, `${accessor}.length`);
14006
13984
  const outputVar = buildsValue ? newVar(ctx) : null;
14007
13985
  const iVar = newVar(ctx);
14008
13986
  const elemVar = newVar(ctx);
@@ -14402,7 +14380,6 @@ function literalPropertyKey(ctx, key) {
14402
14380
  function generateMapCheck(doc, ctx, schema, accessor) {
14403
14381
  const def = schema._zod.def;
14404
14382
  doc.write(`if (!(${accessor} instanceof Map)) return INVALID;`);
14405
- generateSizeGate(doc, schema, `${accessor}.size`);
14406
14383
  const outputVar = newVar(ctx);
14407
14384
  const kVar = newVar(ctx);
14408
14385
  const valVar = newVar(ctx);
@@ -14419,7 +14396,6 @@ function generateMapCheck(doc, ctx, schema, accessor) {
14419
14396
  function generateSetCheck(doc, ctx, schema, accessor) {
14420
14397
  const def = schema._zod.def;
14421
14398
  doc.write(`if (!(${accessor} instanceof Set)) return INVALID;`);
14422
- generateSizeGate(doc, schema, `${accessor}.size`);
14423
14399
  const outputVar = newVar(ctx);
14424
14400
  const valVar = newVar(ctx);
14425
14401
  doc.write(`const ${outputVar} = new Set();`);
@@ -14564,7 +14540,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
14564
14540
  return accessor;
14565
14541
  }
14566
14542
 
14567
- // node_modules/zod/v4/core/api.js
14543
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.js
14568
14544
  function snapshotChecks(def) {
14569
14545
  if (def.checks)
14570
14546
  def.checks = [...def.checks];
@@ -15623,7 +15599,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
15623
15599
  return inst;
15624
15600
  }
15625
15601
 
15626
- // node_modules/zod/v4/core/to-json-schema.js
15602
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.js
15627
15603
  function assignProps(target, ...sources) {
15628
15604
  for (const source of sources) {
15629
15605
  for (const key of Reflect.ownKeys(source)) {
@@ -16153,7 +16129,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
16153
16129
  return finalize(ctx, schema);
16154
16130
  };
16155
16131
 
16156
- // node_modules/zod/v4/core/json-schema-processors.js
16132
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.js
16157
16133
  var narrowMin = (agg, key, value) => {
16158
16134
  if (agg[key] === void 0 || value > agg[key])
16159
16135
  agg[key] = value;
@@ -16901,7 +16877,7 @@ function toJSONSchema(input2, params) {
16901
16877
  return finalize(ctx, input2);
16902
16878
  }
16903
16879
 
16904
- // node_modules/zod/v4/core/json-schema-generator.js
16880
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-generator.js
16905
16881
  var JSONSchemaGenerator = class {
16906
16882
  /** @deprecated Access via ctx instead */
16907
16883
  get metadataRegistry() {
@@ -16979,10 +16955,10 @@ var JSONSchemaGenerator = class {
16979
16955
  }
16980
16956
  };
16981
16957
 
16982
- // node_modules/zod/v4/core/json-schema.js
16958
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema.js
16983
16959
  var json_schema_exports = {};
16984
16960
 
16985
- // node_modules/zod/v4/classic/schemas.js
16961
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.js
16986
16962
  var schemas_exports2 = {};
16987
16963
  __export(schemas_exports2, {
16988
16964
  ZodAny: () => ZodAny,
@@ -17163,7 +17139,7 @@ __export(schemas_exports2, {
17163
17139
  xor: () => xor
17164
17140
  });
17165
17141
 
17166
- // node_modules/zod/v4/classic/checks.js
17142
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/checks.js
17167
17143
  var checks_exports2 = {};
17168
17144
  __export(checks_exports2, {
17169
17145
  endsWith: () => _endsWith,
@@ -17198,7 +17174,7 @@ __export(checks_exports2, {
17198
17174
  uppercase: () => _uppercase
17199
17175
  });
17200
17176
 
17201
- // node_modules/zod/v4/classic/errors.js
17177
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.js
17202
17178
  var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
17203
17179
  function _lazyMethod(proto, key, make) {
17204
17180
  Object.defineProperty(proto, key, {
@@ -17244,7 +17220,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
17244
17220
  Parent: Error
17245
17221
  });
17246
17222
 
17247
- // node_modules/zod/v4/classic/parse.js
17223
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.js
17248
17224
  var parse2 = /* @__PURE__ */ _parse(ZodRealError);
17249
17225
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
17250
17226
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -17258,7 +17234,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
17258
17234
  var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
17259
17235
  var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
17260
17236
 
17261
- // node_modules/zod/v4/classic/schemas.js
17237
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.js
17262
17238
  function _ensureDefaultLocale() {
17263
17239
  if (!globalConfig.localeError)
17264
17240
  config(en_default());
@@ -18723,7 +18699,7 @@ function preprocess(fn, schema) {
18723
18699
  });
18724
18700
  }
18725
18701
 
18726
- // node_modules/zod/v4/classic/compat.js
18702
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/compat.js
18727
18703
  var ZodIssueCode = {
18728
18704
  invalid_type: "invalid_type",
18729
18705
  too_big: "too_big",
@@ -18749,7 +18725,7 @@ var ZodFirstPartyTypeKind;
18749
18725
  /* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
18750
18726
  })(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
18751
18727
 
18752
- // node_modules/zod/v4/classic/iso.js
18728
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/iso.js
18753
18729
  var iso_exports = {};
18754
18730
  __export(iso_exports, {
18755
18731
  ZodISODate: () => ZodISODate,
@@ -18774,7 +18750,7 @@ function duration2(params) {
18774
18750
  return _isoDuration(ZodISODuration, params);
18775
18751
  }
18776
18752
 
18777
- // node_modules/zod/v4/classic/from-json-schema.js
18753
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/from-json-schema.js
18778
18754
  var z = {
18779
18755
  ...schemas_exports2,
18780
18756
  ...checks_exports2,
@@ -19507,7 +19483,7 @@ function fromJSONSchema(schema, params) {
19507
19483
  return convertSchema(normalized, ctx);
19508
19484
  }
19509
19485
 
19510
- // node_modules/zod/v4/core/visit.js
19486
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/visit.js
19511
19487
  var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
19512
19488
  function visit(schema, fnOrHandlers) {
19513
19489
  const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
@@ -19662,7 +19638,7 @@ function visit(schema, fnOrHandlers) {
19662
19638
  return run(schema);
19663
19639
  }
19664
19640
 
19665
- // node_modules/zod/v4/classic/deep-partial.js
19641
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/deep-partial.js
19666
19642
  function deepPartial(schema) {
19667
19643
  return visit(schema, {
19668
19644
  object: (s) => s.partial(),
@@ -19674,7 +19650,7 @@ function deepPartial(schema) {
19674
19650
  });
19675
19651
  }
19676
19652
 
19677
- // node_modules/zod/v4/classic/in-out.js
19653
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/in-out.js
19678
19654
  function withChecks(side, checks) {
19679
19655
  if (!checks?.length)
19680
19656
  return side;
@@ -19704,7 +19680,7 @@ function output(schema) {
19704
19680
  });
19705
19681
  }
19706
19682
 
19707
- // node_modules/zod/v4/classic/coerce.js
19683
+ // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.js
19708
19684
  var coerce_exports = {};
19709
19685
  __export(coerce_exports, {
19710
19686
  bigint: () => bigint3,
@@ -19729,33 +19705,12 @@ function date4(params) {
19729
19705
  return _coercedDate(ZodDate, params);
19730
19706
  }
19731
19707
 
19732
- // src/api-spec.js
19733
- var CATEGORY_IDS = [
19734
- "release",
19735
- "fall",
19736
- "halloween",
19737
- "christmas",
19738
- "summer",
19739
- "valentines",
19740
- "mood",
19741
- "retro",
19742
- "synthwave",
19743
- "street",
19744
- "nature",
19745
- "luxury",
19746
- "abstract",
19747
- "minimal",
19748
- "neon",
19749
- "pop-art",
19750
- "lo-fi",
19751
- "grunge",
19752
- "cosmic",
19753
- "cyber",
19754
- "dreamy"
19755
- ];
19708
+ // ../composition/src/song.ts
19756
19709
  var SPECTRUM_BANDS = 32;
19757
19710
  var SECTION_TYPES = ["intro", "verse", "chorus", "drop", "bridge", "outro"];
19758
19711
  var FRAME_BYTES = 5 + SPECTRUM_BANDS;
19712
+
19713
+ // ../composition/src/clips.ts
19759
19714
  var CUT_DENSITIES = ["one", "fewer", "even", "more"];
19760
19715
  var MAX_CLIP_SOURCES = 50;
19761
19716
  var TRANSITIONS = {
@@ -19859,6 +19814,8 @@ var EditSchema = external_exports.object({
19859
19814
  density: external_exports.enum(CUT_DENSITIES),
19860
19815
  clips: external_exports.array(EditClipSchema).min(1).max(6e3)
19861
19816
  }).strict();
19817
+
19818
+ // ../composition/src/fonts.ts
19862
19819
  var FONTS = {
19863
19820
  inter: { family: "Inter", kind: "sans", weights: [300, 500, 700, 800] },
19864
19821
  montserrat: { family: "Montserrat", kind: "sans", weights: [500, 700, 800] },
@@ -19918,6 +19875,8 @@ var SCRIPT_FONTS = [
19918
19875
  ];
19919
19876
  var SCRIPT_FONT_STACK = SCRIPT_FONTS.map((f) => `"${f.family}"`).join(", ");
19920
19877
  var SCRIPT_CHAR = new RegExp(`[${SCRIPT_FONTS.flatMap((f) => f.range.split(",")).map((r) => r.replace("U+", "").split("-").map((h) => `\\u{${h}}`).join("-")).join("")}]`, "gu");
19878
+
19879
+ // ../composition/src/effects.ts
19921
19880
  var EFFECTS = {
19922
19881
  "light-leak": { name: "Light leak", group: "light" },
19923
19882
  "god-rays": { name: "God rays", group: "light" },
@@ -19939,6 +19898,8 @@ var DEFAULT_EFFECT_AMOUNT = 0.6;
19939
19898
  var EffectSchema = external_exports.object({ id: external_exports.enum(EFFECT_IDS), amount: external_exports.number().min(0).max(1).default(DEFAULT_EFFECT_AMOUNT) }).strict();
19940
19899
  var EffectsSchema = external_exports.array(EffectSchema).max(MAX_EFFECTS).refine((list) => new Set(list.map((e) => e.id)).size === list.length, { message: "Each effect once" });
19941
19900
  var TAU = Math.PI * 2;
19901
+
19902
+ // ../composition/src/visualizers/engine-ids.ts
19942
19903
  var VIZZ_ENGINE_IDS = [
19943
19904
  "mesh-grid",
19944
19905
  "sphericalShader",
@@ -19954,6 +19915,8 @@ var VIZZ_ENGINE_IDS = [
19954
19915
  ];
19955
19916
  var LIQUID_ENGINE = "liquid";
19956
19917
  var VISUALIZER_ENGINE_IDS = [...VIZZ_ENGINE_IDS, LIQUID_ENGINE];
19918
+
19919
+ // ../composition/src/short-styles.ts
19957
19920
  var S = (x, y, blur, opacity) => ({ x, y, blur, opacity });
19958
19921
  var F = (font2, weight, more = {}) => ({ font: font2, weight, ...more });
19959
19922
  var SHORT_SPECS = {
@@ -20243,6 +20206,8 @@ var MIXTAPE_FLICKER = [
20243
20206
  F("permanent-marker", 400),
20244
20207
  F("abril-fatface", 400)
20245
20208
  ];
20209
+
20210
+ // ../composition/src/lyric-styles.ts
20246
20211
  var LYRIC_STAGES = ["showcase", "kinetic"];
20247
20212
  var LYRIC_LAYOUTS = ["line", "stack", "word", "scatter", "typewriter", "cascade", "subtitle", "chat", "short"];
20248
20213
  var SHADER_REVEALS = ["burn", "ink", "smoke", "particles", "drip"];
@@ -20701,6 +20666,8 @@ function styleParts(id3) {
20701
20666
  const s = LYRIC_STYLES[id3];
20702
20667
  return { style: id3, lyrics: { ...s.lyrics }, fx: { ...s.fx }, spectrum: { ...s.spectrum }, finish: { ...s.finish }, player: s.player, hero: s.hero ?? "none" };
20703
20668
  }
20669
+
20670
+ // ../composition/src/look.ts
20704
20671
  var LOOK_VERSION = 3;
20705
20672
  var ASPECT_RATIOS = ["9:16", "16:9", "1:1"];
20706
20673
  var AspectRatioSchema = external_exports.enum(ASPECT_RATIOS);
@@ -20839,6 +20806,8 @@ var LookSpecSchema = external_exports.object({
20839
20806
  blend: external_exports.enum(["screen", "lighten", "normal"]),
20840
20807
  // 0 = none: the picture alone (over a picture each visual is also capped at its own measured maximum).
20841
20808
  intensity: external_exports.number().min(0).max(1),
20809
+ // Set by the person over a picture: how strongly every shot shows, in place of intensity, each shot's opacity and the caps.
20810
+ strength: external_exports.number().min(0).max(1).optional(),
20842
20811
  shots: external_exports.object(Object.fromEntries(SECTION_TYPES.map((t) => [t, ShotSchema]))).strict()
20843
20812
  }).strict(),
20844
20813
  motion: external_exports.object({
@@ -20864,6 +20833,10 @@ var DisplaySchema = external_exports.object({
20864
20833
  cover: external_exports.boolean().default(true),
20865
20834
  lyrics: external_exports.boolean().default(true),
20866
20835
  badges: external_exports.boolean().default(true),
20836
+ clips: external_exports.boolean().optional(),
20837
+ // false: the clips are left out (the video's ground and visual show); omitted: on
20838
+ song: external_exports.boolean().optional(),
20839
+ // false: the song is left out of the sound (a silent video); omitted: on
20867
20840
  censor: external_exports.boolean().optional(),
20868
20841
  // swear words show their vowels as * (the song is untouched); omitted: off
20869
20842
  headline: external_exports.enum(HEADLINES).optional(),
@@ -20880,6 +20853,24 @@ var DisplaySchema = external_exports.object({
20880
20853
  // omitted: 1
20881
20854
  }).strict();
20882
20855
  var DEFAULT_DISPLAY = { title: true, artist: true, cover: true, lyrics: true, badges: true };
20856
+
20857
+ // ../composition/src/colours.ts
20858
+ var COLOUR_SETS = {
20859
+ midnight: { label: "Midnight", palette: { text: "#F4F6FF", muted: "#AEB8DD", accent: "#5B8CFF", accent2: "#9B7BFF", shade: "#070B1A" } },
20860
+ ember: { label: "Ember", palette: { text: "#FFF4EC", muted: "#E3BBA4", accent: "#FF6A2B", accent2: "#FFB23F", shade: "#160805" } },
20861
+ neon: { label: "Neon", palette: { text: "#FFFFFF", muted: "#C7F9F1", accent: "#00F0C8", accent2: "#FF2E93", shade: "#05050A" } },
20862
+ rose: { label: "Rose", palette: { text: "#FFF1F5", muted: "#E6B8C6", accent: "#FF5C8A", accent2: "#FFB3C7", shade: "#1A0710" } },
20863
+ forest: { label: "Forest", palette: { text: "#F1FFF4", muted: "#B8D9BF", accent: "#3DDC84", accent2: "#C6F25B", shade: "#04120A" } },
20864
+ gold: { label: "Gold", palette: { text: "#FFF9EA", muted: "#DCCB9F", accent: "#F5C542", accent2: "#FF8A3D", shade: "#120D02" } },
20865
+ ocean: { label: "Ocean", palette: { text: "#EFFBFF", muted: "#A9D3E3", accent: "#22B8F0", accent2: "#4AF2D1", shade: "#021018" } },
20866
+ violet: { label: "Violet", palette: { text: "#F7F0FF", muted: "#C9B6E8", accent: "#A35BFF", accent2: "#FF6BD6", shade: "#0D0618" } },
20867
+ canary: { label: "Canary", palette: { text: "#FFFFFF", muted: "#D6D6CF", accent: "#FFE500", accent2: "#FF4FA3", shade: "#0E0E13" } },
20868
+ mono: { label: "Black and white", palette: { text: "#FFFFFF", muted: "#A8A8A8", accent: "#FFFFFF", accent2: "#8A8A8A", shade: "#000000" } }
20869
+ };
20870
+ var COLOUR_SET_IDS = Object.keys(COLOUR_SETS);
20871
+ var COLOUR_CHOICES = ["style", "cover", ...COLOUR_SET_IDS];
20872
+
20873
+ // ../composition/src/defaults.ts
20883
20874
  var EXAMPLE_LOOK = {
20884
20875
  version: LOOK_VERSION,
20885
20876
  category: "release",
@@ -20918,12 +20909,14 @@ var EXAMPLE_LOOK = {
20918
20909
  },
20919
20910
  motion: { energy: 0.6, intro: "rise" }
20920
20911
  };
20921
- var hex22 = external_exports.string().regex(/^#[0-9a-fA-F]{6}$/);
20912
+
20913
+ // ../composition/src/outro.ts
20914
+ var hex4 = external_exports.string().regex(/^#[0-9a-fA-F]{6}$/);
20922
20915
  var font = external_exports.enum(FONT_IDS);
20923
20916
  var OUTRO_BACKDROPS = ["scrim", "darken", "blur"];
20924
20917
  var OUTRO_TRANSITIONS = ["none", "flash", "glitch", "burn"];
20925
20918
  var OutroDesignSchema = external_exports.object({
20926
- palette: external_exports.object({ text: hex22, muted: hex22, accent: hex22, shade: hex22 }).strict(),
20919
+ palette: external_exports.object({ text: hex4, muted: hex4, accent: hex4, shade: hex4 }).strict(),
20927
20920
  title_font: font,
20928
20921
  artist_font: font,
20929
20922
  title_uppercase: external_exports.boolean(),
@@ -20940,13 +20933,21 @@ var OutroDesignSchema = external_exports.object({
20940
20933
  transition: external_exports.enum(OUTRO_TRANSITIONS)
20941
20934
  }).strict();
20942
20935
  var OutroDisplaySchema = DisplaySchema.omit({ lyrics: true, headline: true, title_card: true });
20936
+
20937
+ // ../composition/src/visualizers/choice-schema.ts
20938
+ var VISUAL_STRENGTH = { min: 0.1, max: 1, step: 0.05 };
20943
20939
  var VisualKeySchema = external_exports.string().regex(/^[A-Za-z0-9-]+\/[a-z0-9-]+$/, 'A visual key from GET /v1/options (visualizers), like "liquid/amber-aurora"');
20944
20940
  var VisualChoiceSchema = external_exports.object({
20945
20941
  /** The visual for the whole song, or "none" (no visual at all). */
20946
20942
  preset: external_exports.union([external_exports.literal("none"), VisualKeySchema]),
20947
20943
  /** Another visual for some sections (intro, verse, chorus, bridge, drop, outro). */
20948
- sections: external_exports.partialRecord(external_exports.enum(SECTION_TYPES), VisualKeySchema).optional()
20944
+ sections: external_exports.partialRecord(external_exports.enum(SECTION_TYPES), VisualKeySchema).optional(),
20945
+ /** How strongly it shows over a picture (clips), 0.1–1; left out, the visual's own level (visualStrength). The Visualizer picture
20946
+ * always plays it at full strength. */
20947
+ strength: external_exports.number().min(VISUAL_STRENGTH.min).max(VISUAL_STRENGTH.max).optional()
20949
20948
  }).strict();
20949
+
20950
+ // ../composition/src/background-motion.ts
20950
20951
  var DIRECTIONS = {
20951
20952
  center: [0, 0],
20952
20953
  up: [0, -1],
@@ -20958,6 +20959,8 @@ var DIRECTIONS = {
20958
20959
  "down-left": [-Math.SQRT1_2, Math.SQRT1_2],
20959
20960
  "down-right": [Math.SQRT1_2, Math.SQRT1_2]
20960
20961
  };
20962
+
20963
+ // ../composition/src/stock.ts
20961
20964
  var STOCK_PROVIDERS = {
20962
20965
  pexels: { name: "Pexels", url: "https://www.pexels.com", kinds: ["photo", "video"] },
20963
20966
  // Pixabay's API serves photos at most 1280 px: too small for a background, so only its videos are offered.
@@ -20965,9 +20968,13 @@ var STOCK_PROVIDERS = {
20965
20968
  };
20966
20969
  var STOCK_PROVIDER_IDS = Object.keys(STOCK_PROVIDERS);
20967
20970
  var STOCK_ITEM_ID_PATTERN = new RegExp(`^(?:(${STOCK_PROVIDER_IDS.join("|")}):)?\\d{1,20}$`);
20971
+
20972
+ // ../composition/src/clips-editor.ts
20968
20973
  var VISUAL_ENERGIES = [{ value: "all", label: "All" }, { value: "calm", label: "Calm" }, { value: "medium", label: "Medium" }, { value: "bold", label: "Bold" }];
20969
20974
  var CLIP_SORTS = [{ value: "best", label: "Best first" }, { value: "newest", label: "Newest" }, { value: "length", label: "Length" }];
20970
20975
  var CLIP_BROWSE_SHAPES = [{ value: "both", label: "Both" }, { value: "tall", label: "Tall" }, { value: "wide", label: "Wide" }];
20976
+
20977
+ // ../composition/src/canvas-frame.ts
20971
20978
  var CANVAS_SPEEDS = [0.25, ...CLIP_SPEEDS];
20972
20979
  var CANVAS_CROSSFADE = { min: 0.25, max: 2, default: 0.75, step: 0.05 };
20973
20980
  var CANVAS_CAMERAS = ["still", "push", "pull"];
@@ -20976,6 +20983,8 @@ var CANVAS_ROTATIONS = [0, 90, 180, 270];
20976
20983
  var CANVAS_ZOOM = { min: 1, max: 3 };
20977
20984
  var HEX_COLOUR = /^#[0-9a-fA-F]{6}$/;
20978
20985
  var DEFAULT_CANVAS_FRAME = { crossfade: CANVAS_CROSSFADE.default, camera: "still", fade: false, x: 0, y: 0, zoom: 1, rotate: 0, colour: null, steady: false };
20986
+
20987
+ // ../composition/src/canvas-settings.ts
20979
20988
  var CANVAS_SECONDS = { min: 3, max: 8, default: 8 };
20980
20989
  var CANVAS_VISUAL_KEY = /^[A-Za-z0-9-]+\/[a-z0-9-]+$/;
20981
20990
  var CanvasLookSchema = external_exports.object({
@@ -20994,6 +21003,8 @@ var CanvasLookSchema = external_exports.object({
20994
21003
  light: external_exports.string().regex(CANVAS_VISUAL_KEY, "A visual key from GET /v1/options (canvas.visuals)").nullable().default(null),
20995
21004
  atmosphere: external_exports.enum(OVERLAYS).default("none")
20996
21005
  }).strict().refine((v) => v.fill !== "colour" || v.fill_colour, { message: "A colour fill needs fill_colour", path: ["fill_colour"] });
21006
+
21007
+ // ../video-types/src/kit.ts
20997
21008
  var KIT_KINDS = ["outfit", "place", "prop"];
20998
21009
  var KIT_ANGLES = ["wide", "three-quarter", "side", "reverse", "corner", "low", "high", "overhead", "detail", "framed"];
20999
21010
  var KIT_ANGLE_LINES = {
@@ -21014,6 +21025,8 @@ var SHOT_ANGLES = ["front", "three-quarter", "side", "low", "high", "over-should
21014
21025
  var SHOT_MOVES = ["push-in", "pull-out", "arc", "tilt", "dolly", "handheld", "locked-off"];
21015
21026
  var CHARACTER_DESCRIPTION_MIN = 10;
21016
21027
  var CHARACTER_DESCRIPTION_MAX = 600;
21028
+
21029
+ // ../video-types/src/model-guide.ts
21017
21030
  var AA_T2V = { board: "Artificial Analysis \xB7 Text to video with audio", source: "Artificial Analysis Video Arena", url: "https://artificialanalysis.ai/video/leaderboard/text-to-video" };
21018
21031
  var AA_I2V = { board: "Artificial Analysis \xB7 Image to video with audio", source: "Artificial Analysis Video Arena", url: "https://artificialanalysis.ai/video/leaderboard/image-to-video" };
21019
21032
  var DA_MULTI = { board: "DesignArena \xB7 Multi-image to video", source: "DesignArena", url: "https://designarena.ai/leaderboard?tab=video&section=video&board=multi-to-video" };
@@ -21069,6 +21082,8 @@ var MUSIC_VIDEO_MODEL_GUIDES = {
21069
21082
  benchmarks: [{ ...DA_MULTI, entry: "Seedance 2.0 Mini", score: 1292, date: READ }]
21070
21083
  }
21071
21084
  };
21085
+
21086
+ // ../video-types/src/visual-styles.ts
21072
21087
  var MUSIC_VIDEO_STYLE_IDS = [
21073
21088
  "natural",
21074
21089
  "film",
@@ -21089,6 +21104,8 @@ var MUSIC_VIDEO_STYLE_IDS = [
21089
21104
  "anime",
21090
21105
  "clay"
21091
21106
  ];
21107
+
21108
+ // ../video-types/src/cover-art.ts
21092
21109
  var COVER_STYLE_IDS = ["auto", "portrait", "snapshot", "film-still", "object", "place", "painted", "illustrated", "cartoon", "anime", "collage", "3d", "graphic", "type"];
21093
21110
  var COVER_VIBE_IDS = ["dark", "sad", "romantic", "aggressive", "luxury", "aesthetic", "urban", "hood", "space", "surreal", "vintage"];
21094
21111
  var COVER_VIBES_MAX = 2;
@@ -21141,6 +21158,8 @@ var CoverRequestSchema = external_exports.object({
21141
21158
  credits: external_exports.number().int().positive()
21142
21159
  }).strict().refine((r) => r.style !== "type" || r.words !== "none", { message: "The Type style needs words: title, or artist and title", path: ["words"] });
21143
21160
  var CoverRedrawSchema = external_exports.object({ cover_id: external_exports.string().min(1), note: external_exports.string().trim().min(1).max(COVER_NOTE_MAX), credits: external_exports.number().int().positive() }).strict();
21161
+
21162
+ // ../video-types/src/song-models.ts
21144
21163
  var SONG_MODEL_IDS = ["mureka-v9-5", "lyria-3-5", "eleven-music-v2-5", "minimax-music-3"];
21145
21164
  var DEFAULT_SONG_MODEL = "mureka-v9-5";
21146
21165
  var SONG_TAKES = { min: 1, max: 4 };
@@ -21172,6 +21191,8 @@ var SongDraftFormSchema = external_exports.object({
21172
21191
  write_id: external_exports.string().max(80).optional()
21173
21192
  }).strict();
21174
21193
  var SongWritePickSchema = external_exports.object({ style: external_exports.boolean().optional(), voice: external_exports.boolean().optional() }).strict();
21194
+
21195
+ // ../video-types/src/index.ts
21175
21196
  var MAX_VARIATIONS = 4;
21176
21197
  var variations = external_exports.number().int().min(1).max(MAX_VARIATIONS).default(1);
21177
21198
  var MIN_TRIM_SECONDS = 8;
@@ -21207,6 +21228,7 @@ var UploadCreateSchema = external_exports.object({
21207
21228
  }).strict();
21208
21229
  var LookRequestSchema = external_exports.object({
21209
21230
  lyric_style: external_exports.enum(LYRIC_STYLE_IDS).optional(),
21231
+ colours: external_exports.enum(COLOUR_CHOICES).optional(),
21210
21232
  behind: external_exports.boolean().optional(),
21211
21233
  visual: VisualChoiceSchema.optional(),
21212
21234
  background: BackgroundChoiceSchema.optional()
@@ -21301,8 +21323,12 @@ var VideoDraftEditShape = external_exports.object({
21301
21323
  type: external_exports.enum(["lyric-video", "canvas"]).default("lyric-video"),
21302
21324
  reset: external_exports.boolean().optional(),
21303
21325
  lyric_style: external_exports.enum(LYRIC_STYLE_IDS).nullable().optional(),
21326
+ /** A lyric video's colours: "style" (its lyric style's own), "cover" (the song's cover's) or a set (get_options colours). */
21327
+ colours: external_exports.enum(COLOUR_CHOICES).optional(),
21304
21328
  behind: external_exports.boolean().nullable().optional(),
21305
21329
  visual: external_exports.string().min(1).max(120).nullable().optional(),
21330
+ /** How strongly a lyric video's visual shows over clips (0.1–1); null: the visual's own level. */
21331
+ visual_strength: external_exports.number().min(VISUAL_STRENGTH.min).max(VISUAL_STRENGTH.max).nullable().optional(),
21306
21332
  picture: external_exports.enum(["clips", "visualizer", "cover"]).optional(),
21307
21333
  sources: external_exports.object({ moods: external_exports.array(external_exports.string().min(1).max(80)).max(40).optional(), folders: external_exports.array(external_exports.string().min(1).max(80)).max(40).optional() }).strict().optional(),
21308
21334
  density: external_exports.enum(CUT_DENSITIES).optional(),
@@ -21350,7 +21376,7 @@ function checkVideoDraftEdit(v, ctx) {
21350
21376
  for (const key of ["loop", "seconds", "cut", "motion", "light", "atmosphere", "frame"]) if (v[key] !== void 0) ctx.addIssue({ code: "custom", path: [key], message: `${key} is for a Canvas (type canvas)` });
21351
21377
  if (v.picture === "cover") ctx.addIssue({ code: "custom", path: ["picture"], message: "A lyric video's picture is clips or visualizer" });
21352
21378
  } else {
21353
- for (const key of ["lyric_style", "behind", "density", "shape", "joins", "format", "trim", "display"]) if (v[key] !== void 0) ctx.addIssue({ code: "custom", path: [key], message: `${key} is for a lyric video` });
21379
+ for (const key of ["lyric_style", "behind", "visual_strength", "density", "shape", "joins", "format", "trim", "display"]) if (v[key] !== void 0) ctx.addIssue({ code: "custom", path: [key], message: `${key} is for a lyric video` });
21354
21380
  }
21355
21381
  }
21356
21382
  var VideoDraftEditSchema = VideoDraftEditShape.superRefine(checkVideoDraftEdit);
@@ -21627,7 +21653,14 @@ var MusicVideoRequestSchema = external_exports.object({
21627
21653
  if (value.test && (value.outro || value.refinish || value.variations > 1)) ctx.addIssue({ code: "custom", path: ["test"], message: "A test is one video without an outro: leave outro, refinish and variations out" });
21628
21654
  });
21629
21655
  var VideoRequestSchema = external_exports.discriminatedUnion("type", [LyricVideoRequestSchema, CanvasRequestSchema, MusicVideoRequestSchema]);
21656
+
21657
+ // ../api-spec/src/community.ts
21658
+ var IDEA_AREAS = ["lyric-video", "music-video", "canvas", "songs", "cover-art", "artist-page", "clips", "showcase", "everything"];
21659
+
21660
+ // ../api-spec/src/song-brief.ts
21630
21661
  var SONG_BRIEF_LIMITS = { theme: 400, tone: 80, story: 1200, setting: 300, section: 60, feeling: 240, sections: 40 };
21662
+
21663
+ // ../api-spec/src/artist-pages.ts
21631
21664
  var seg = (re) => (url2) => url2.pathname.match(re)?.[1] ?? null;
21632
21665
  var PLATFORMS = [
21633
21666
  { id: "apple_music", name: "Apple Music", category: "listen", icon: "applemusic", color: "#FA243C", hosts: ["music.apple.com", "itunes.apple.com"], externalId: seg(/\/artist\/(?:[^/]+\/)?(\d+)/) },
@@ -21792,7 +21825,7 @@ var PAGE_THEMES = ["stage", "paper", "neon", "studio"];
21792
21825
  var PAGE_FONTS = ["anton", "fraunces", "unbounded", "bebas", "archivo", "playfair"];
21793
21826
  var PAGE_BUTTONS = ["solid", "outline", "pill"];
21794
21827
  var PAGE_LAYOUTS = ["column", "split"];
21795
- var hex32 = external_exports.string().regex(/^#[0-9a-f]{6}$/i, "A colour like #f0a845");
21828
+ var hex5 = external_exports.string().regex(/^#[0-9a-f]{6}$/i, "A colour like #f0a845");
21796
21829
  var id = external_exports.string().min(1).max(80);
21797
21830
  var sectionBase = { id: external_exports.string().min(1).max(40), visible: external_exports.boolean().default(true), title: external_exports.string().trim().max(60).nullable().default(null) };
21798
21831
  var PageSectionSchema = external_exports.discriminatedUnion("type", [
@@ -21816,8 +21849,8 @@ var PageSectionSchema = external_exports.discriminatedUnion("type", [
21816
21849
  ]);
21817
21850
  var PageDocSchema = external_exports.object({
21818
21851
  theme: external_exports.enum(PAGE_THEMES).default("stage"),
21819
- accent: hex32.nullable().default(null).describe("null uses the theme's accent"),
21820
- background: external_exports.discriminatedUnion("kind", [external_exports.object({ kind: external_exports.literal("color"), color: hex32 }), external_exports.object({ kind: external_exports.literal("photo") })]).nullable().default(null),
21852
+ accent: hex5.nullable().default(null).describe("null uses the theme's accent"),
21853
+ background: external_exports.discriminatedUnion("kind", [external_exports.object({ kind: external_exports.literal("color"), color: hex5 }), external_exports.object({ kind: external_exports.literal("photo") })]).nullable().default(null),
21821
21854
  font: external_exports.enum(PAGE_FONTS).nullable().default(null),
21822
21855
  buttons: external_exports.enum(PAGE_BUTTONS).nullable().default(null),
21823
21856
  layout: external_exports.enum(PAGE_LAYOUTS).nullable().default(null),
@@ -21834,14 +21867,20 @@ var PageDocSchema = external_exports.object({
21834
21867
  }).default({ ga4: null, meta_pixel: null, tiktok_pixel: null }).describe("The artist's own tracking IDs (plans only); pixels load after the fan accepts")
21835
21868
  });
21836
21869
  var PageDocPatchSchema = external_exports.object(Object.fromEntries(Object.entries(PageDocSchema.shape).map(([key, schema]) => [key, (schema instanceof external_exports.ZodDefault ? schema.unwrap() : schema).optional()])));
21870
+
21871
+ // ../api-spec/src/versioning.ts
21837
21872
  var API_VERSION = 1;
21838
21873
  var deprecationNote = (d) => `Deprecated since ${d.since}${d.use ? `: use ${d.use} instead` : ""}. It stops working on ${d.sunset}.`;
21874
+
21875
+ // ../api-spec/src/queue.ts
21839
21876
  var minutes = (seconds) => Math.max(1, Math.round(seconds / 60));
21840
21877
  function queueLabel(queue) {
21841
21878
  if (queue.reason === "plan_limit") return queue.position && queue.position > 1 ? `#${queue.position} in line` : "Next in line";
21842
21879
  if (queue.reason === "generator_capacity") return queue.position && queue.position > 1 ? `Generators busy \xB7 #${queue.position} in line` : "Generators busy \xB7 next in line";
21843
21880
  return queue.estimated_wait_seconds != null ? `Machines busy \xB7 about ${minutes(queue.estimated_wait_seconds)} min` : "Machines busy";
21844
21881
  }
21882
+
21883
+ // ../api-spec/src/index.ts
21845
21884
  var SCOPES = ["videos:read", "videos:write", "music:read", "music:write", "library:read", "library:write", "organizations:read", "organizations:write"];
21846
21885
  var SCOPE_DESCRIPTIONS = {
21847
21886
  "videos:read": "See videos, quotes and your credit balance",
@@ -21904,12 +21943,12 @@ var lyricInput = external_exports.object({
21904
21943
  song_id: songId,
21905
21944
  callback_url: CALLBACK,
21906
21945
  metadata: METADATA,
21907
- look: lyricShape.look.describe(`How it looks. Anything left out is the song's draft, picked by rules (get_song_draft shows it). Change any part: "lyric_style" (get_options lyric_styles), "behind" (true: big words go behind the subject of the clips, a person or a solid figure, which stands in front of them; only the lyric styles get_options marks behind: true take it, others keep their words in front; the behind style has it on, false turns it off), "visual" (get_options visualizers), and "background": {"kind":"clips","sources":{"moods":["euphoria"],"folders":["folder_\u2026"]},"density":"even","transitions":{"style":"auto","amount":0.5,"feel":0.5},"grade":"clean","grade_amount":1,"effects":[{"id":"film-grain","amount":0.5}],"shape":"both","fill":"blur","speed":1} for short clips cut on the beat (moods: get_options clip_moods; folders: list_clip_folders; transitions, grades and densities: get_options; grade_amount: the grade's strength 0\u20131, default 1; effects: up to three from get_options effects, each with an amount 0\u20131, drawn over the clips across the song), or {"kind":"visualizer"} for a visual that fills the frame. The lyric style brings its colours and type. No AI designs anything: a lyric video costs its per-video price and render only (quote_lyric_video shows both)`),
21946
+ look: lyricShape.look.describe(`How it looks. Anything left out is the song's draft, picked by rules (get_song_draft shows it). Change any part: "lyric_style" (get_options lyric_styles), "behind" (true: big words go behind the subject of the clips, a person or a solid figure, which stands in front of them; only the lyric styles get_options marks behind: true take it, others keep their words in front; the behind style has it on, false turns it off), "colours" ("style": the lyric style's own, the default; "cover": the song's cover's colours, the style's own without a cover; or a set from get_options colours: any colours suit any style), "visual" (get_options visualizers: {"preset":"liquid/\u2026"}, with "strength" 0.1\u20131 for how strongly it shows over clips; left out, the visual's own level; the Visualizer picture plays it at full strength), and "background": {"kind":"clips","sources":{"moods":["euphoria"],"folders":["folder_\u2026"]},"density":"even","transitions":{"style":"auto","amount":0.5,"feel":0.5},"grade":"clean","grade_amount":1,"effects":[{"id":"film-grain","amount":0.5}],"shape":"both","fill":"blur","speed":1} for short clips cut on the beat (moods: get_options clip_moods; folders: list_clip_folders; transitions, grades and densities: get_options; grade_amount: the grade's strength 0\u20131, default 1; effects: up to three from get_options effects, each with an amount 0\u20131, drawn over the clips across the song), or {"kind":"visualizer"} for a visual that fills the frame. The lyric style brings its type, and its colours unless "colours" names others. On a song with no vocals (get_song instrumental) the video is a Visualizer: the title card holds the screen, so pick a style for its colours, title card and effects. No AI designs anything: a lyric video costs its per-video price and render only (quote_lyric_video shows both)`),
21908
21947
  aspect_ratios: lyricShape.aspect_ratios.describe('Formats to render, each its own file: "9:16" (vertical), "16:9" (wide), "1:1" (square)'),
21909
- display: lyricShape.display.describe("Which elements show (title, artist, cover, lyrics, badges, headline) and their sizes. title_card: when a kinetic lyric style shows its big title card instead of the small label: ends (before the first line and after the last; the default over clips), breaks (also every break of 3 s or more; the default otherwise) or label (never). censor: true shows swear words with their vowels as * (the song is untouched)"),
21948
+ display: lyricShape.display.describe("Which elements show (title, artist, cover, lyrics, badges, headline) and their sizes. clips false leaves the clips out (the video's ground in its colours, with its visual if it has one); song false leaves the song out of the sound (a silent video); both default to on. title_card: when a kinetic lyric style shows its big title card instead of the small label: ends (before the first line and after the last; the default over clips), breaks (also every break of 3 s or more; the default otherwise) or label (never). censor: true shows swear words with their vowels as * (the song is untouched)"),
21910
21949
  trim: lyricShape.trim.describe("Render only this section of the song (at least 8 seconds). Best: a part from get_song_analysis (parts[]: its start and end never cut a word)"),
21911
21950
  variations: lyricShape.variations.describe("1\u20134 videos with a clips picture, each drawing other clips (the next seed); one otherwise"),
21912
- edit: lyricShape.edit.describe(`A clips picture's cut: {"seed":7} draws the clips (same seed, same video; another seed, other clips on the same cuts), or "clips" lists them exactly as a studio previewed them (list_clips and @kinetune/composition planEdit: {clip_id, at, in, duration, transition}, each cut where you want it, each clip from where you want it to start); a clip may also set its own transition's transition_seconds (0.07\u20131), direction (left, right, up, down: whip, stack, wipe, slip, slice) and intensity (0\u20131, 0.5 as designed: hits, zooms, flashes, warps); one variation only`)
21951
+ edit: lyricShape.edit.describe(`A clips picture's cut: {"seed":7} draws the clips (same seed, same video; another seed, other clips on the same cuts; the sung shots of this song's music videos land on their own words), or "clips" lists them exactly as a studio previewed them (list_clips and @kinetune/composition planEdit: {clip_id, at, in, duration, transition}, each cut where you want it, each clip from where you want it to start; a sung shot, list_clips sync, only where trim start + at to + duration lies inside its song seconds, and it starts on its own frame whatever in says; anywhere else 400); a clip may also set its own transition's transition_seconds (0.07\u20131), direction (left, right, up, down: whip, stack, wipe, slip, slice) and intensity (0\u20131, 0.5 as designed: hits, zooms, flashes, warps); one variation only`)
21913
21952
  });
21914
21953
  var legacy = (schema, use) => schema.optional().meta({ deprecated: true, "x-sunset": CANVAS_LEGACY_SUNSET }).describe(`Deprecated: use ${use}. Stops working on ${CANVAS_LEGACY_SUNSET}.`);
21915
21954
  var CANVAS_LEGACY_INPUT = {
@@ -22191,7 +22230,7 @@ var OPERATIONS = [
22191
22230
  group: "account",
22192
22231
  title: "List the options",
22193
22232
  summary: "Video types, lyric styles, clip moods, formats and the current credit prices",
22194
- description: "Everything a request can choose from, with the credit table (plans and credit_packs: the plan catalog the app shows, each plan's monthly credits, limits, features and shelf, its prices in cents and the app's highlighted one, and each pack's credits and price; reference only, nothing is bought through the API; music_video.categories: each kind, with demos, the real music videos of it Kinetune chose: one per model (model: its id) and a fallback (model null) for a model without its own; each with sound in video_url, a few silent seconds from its poster moment hover_seconds in hover_url, its poster in still_url, made_with: the model and quality it was made with, and story: its brief, the director's idea and its shots; signed for about a week. Show the one for the model in hand, else the fallback; demo is the fallback alone, as before. music_video.styles: each visual style (how the video is rendered), with its one picture: image_url (512 px square WebP) and thumbnail_url (160 px); its demo and demos are deprecated (still given until 2027-05-05: use image_url). music_video.models[].guide: what each model is best for (best_for), its strengths and weaknesses, the kinds it suits, its sharpest resolution (max_quality), public benchmark scores (board, entry, score, source, url, date) and page_url, the page comparing them; music_video.categories[].recommended_model: the offered model to suggest for that kind when the person hasn't named one. The catalog is set by Kinetune's admins and can change; a subscription keeps what it was bought with. credits.character_sheet: what drawing one character sheet costs now (draw_character_sheet). credits.cover: what a round of covers costs now, counts by how many (1 to 4), and redraw, one cover redrawn with a note (make_cover, redraw_cover). credits.song: what a song made costs now: takes, one take of each model everyone is offered at its usual length (model, label, credits; each take is a different song), write_lyrics (lyrics written for you) and voice (setting up the artist's voice, once); the same numbers song.models and quote_new_song give. credits.examples: what a lyric video of a song_seconds song costs now in one 9:16 format, as lyric_video, and clips: the same for the parts of a song people post (seconds: 15, 30, 60). clip_moods: Stock, the clip collections Kinetune keeps for everyone (free): each with id, name, group (kinetune or stock) and group_name, the heading people see (Feelings: moods, mostly tall; Places & textures: real footage), clips (how many are ready), tall and wide (how many of each shape) and poster_url; browse_clip_mood looks inside one. Use it to pick a category or source and to explain prices.",
22233
+ description: "Everything a request can choose from (colours: the colour sets a lyric video's look.colours takes, each with its text, muted, accent, accent2 and shade), with the credit table (plans and credit_packs: the plan catalog the app shows, each plan's monthly credits, limits, features and shelf, its prices in cents and the app's highlighted one, and each pack's credits and price; reference only, nothing is bought through the API; music_video.categories: each kind, with demos, the real music videos of it Kinetune chose: one per model (model: its id) and a fallback (model null) for a model without its own; each with sound in video_url, a few silent seconds from its poster moment hover_seconds in hover_url, its poster in still_url, made_with: the model and quality it was made with, and story: its brief, the director's idea and its shots; signed for about a week. Show the one for the model in hand, else the fallback; demo is the fallback alone, as before. music_video.styles: each visual style (how the video is rendered), with its one picture: image_url (512 px square WebP) and thumbnail_url (160 px); its demo and demos are deprecated (still given until 2027-05-05: use image_url). music_video.models[].guide: what each model is best for (best_for), its strengths and weaknesses, the kinds it suits, its sharpest resolution (max_quality), public benchmark scores (board, entry, score, source, url, date) and page_url, the page comparing them; music_video.categories[].recommended_model: the offered model to suggest for that kind when the person hasn't named one. The catalog is set by Kinetune's admins and can change; a subscription keeps what it was bought with. credits.character_sheet: what drawing one character sheet costs now (draw_character_sheet). credits.cover: what a round of covers costs now, counts by how many (1 to 4), and redraw, one cover redrawn with a note (make_cover, redraw_cover). credits.song: what a song made costs now: takes, one take of each model everyone is offered at its usual length (model, label, credits; each take is a different song) and at each length it offers (by_length: seconds, credits; a model that picks its own length: its usual one alone), write_lyrics (lyrics written for you) and voice (setting up the artist's voice, once); the same numbers song.models and quote_new_song give. credits.examples: what a lyric video of a song_seconds song costs now in one 9:16 format, as lyric_video, and clips: the same for the parts of a song people post (seconds: 15, 30, 60). clip_moods: Stock, the clip collections Kinetune keeps for everyone (free): each with id, name, group (kinetune or stock) and group_name, the heading people see (Feelings: moods, mostly tall; Places & textures: real footage), clips (how many are ready), tall and wide (how many of each shape) and poster_url; browse_clip_mood looks inside one. Use it to pick a category or source and to explain prices.",
22195
22234
  method: "GET",
22196
22235
  path: "/api/v1/options",
22197
22236
  scopes: ["videos:read", "music:read", "library:read"],
@@ -23004,7 +23043,7 @@ var OPERATIONS = [
23004
23043
  ...search("Part of the song title or artist name"),
23005
23044
  status: external_exports.enum(["pending", "processing", "ready", "failed"]).optional().describe("Only songs whose analysis has this status (ready = usable for videos)"),
23006
23045
  sort: external_exports.enum(["title", "newest"]).optional().describe("title (default): by artist then title; newest: latest uploads first"),
23007
- include: external_exports.enum(["videos"]).optional().describe("videos: each song also answers videos, its lyric videos, Canvases and music videos by kind (ready and in_production counts, the newest ready one's latest_video_id and poster_url, and your own draft of that kind or null), to see what a song still needs"),
23046
+ include: external_exports.enum(["videos"]).optional().describe("videos: each song also answers videos, its lyric videos, Canvases and music videos by kind (ready and in_production counts, the newest ready one's latest_video_id, poster_url and web_url (its 720p MP4), and your own draft of that kind or null), to see what a song still needs"),
23008
23047
  source: external_exports.enum(["made", "uploaded"]).optional().describe("made: only songs Kinetune made (make_song); uploaded: only songs uploaded or imported"),
23009
23048
  counts: external_exports.boolean().optional().describe("true: also answer counts: songs (the artist's when artist_id is given), made, uploaded, and artists")
23010
23049
  }),
@@ -23166,7 +23205,7 @@ var OPERATIONS = [
23166
23205
  group: "songs",
23167
23206
  title: "Rename a song",
23168
23207
  summary: "Change a song\u2019s title",
23169
- description: `A new title changes nothing else. instrumental is deprecated: the analysis hears whether a song has vocals. Switching it still analyzes the song again and replaces the analysis (an instrumental isn't transcribed, and its lyrics, including any set with set_song_lyrics, are deleted): poll get_song until analysis.status is "ready". Leave it out unless the user asks.`,
23208
+ description: `A new title changes nothing else. instrumental is deprecated: the analysis hears whether a song has vocals (get_song: instrumental; instrumental_by says whether the analysis heard none or it was marked). Switching it still analyzes the song again (an instrumental isn't transcribed; its own lyrics are kept, set aside): poll get_song until analysis.status is "ready". When the analysis missed a song's vocals, transcribe_song with vocals: true finds its words. Leave instrumental out.`,
23170
23209
  method: "PATCH",
23171
23210
  path: "/api/v1/songs/{song_id}",
23172
23211
  scopes: ["music:write", "videos:write"],
@@ -23265,7 +23304,7 @@ var OPERATIONS = [
23265
23304
  title: external_exports.string().trim().max(SONG_TITLE_MAX).optional().describe("The song\u2019s title"),
23266
23305
  style: external_exports.string().trim().min(1).max(SONG_STYLE_MAX).describe("Genre, mood, tempo, instruments; never another artist\u2019s name"),
23267
23306
  voice: external_exports.object({ use: external_exports.enum(["artist", "new"]).optional().describe("artist (the artist\u2019s Voice) or new (default)"), gender: external_exports.enum(SONG_VOICE_GENDERS).optional().describe("A new voice: female, male or any") }).optional().describe("Whose voice sings"),
23268
- length: external_exports.union([external_exports.literal("auto"), external_exports.number().int()]).optional().describe("Seconds, one of the model\u2019s lengths, or auto"),
23307
+ length: external_exports.union([external_exports.literal("auto"), external_exports.number().int()]).optional().describe("Seconds, one of the model\u2019s lengths, or auto (always auto in the artist\u2019s voice on a model without voice-length)"),
23269
23308
  takes: external_exports.number().int().min(SONG_TAKES.min).max(SONG_TAKES.max).optional().describe("How many takes, 1 to 4 (default 2)"),
23270
23309
  credits: external_exports.number().int().min(0).describe("credits from quote_new_song")
23271
23310
  }),
@@ -23343,7 +23382,7 @@ var OPERATIONS = [
23343
23382
  title: external_exports.string().max(SONG_TITLE_MAX).optional().describe("The song\u2019s title"),
23344
23383
  style: external_exports.array(external_exports.string().max(80)).max(12).optional().describe("Style words: genre, mood, tempo, instruments"),
23345
23384
  voice: external_exports.object({ use: external_exports.enum(["artist", "new"]).optional().describe("artist (the artist\u2019s Voice) or new"), gender: external_exports.enum(SONG_VOICE_GENDERS).optional().describe("A new voice: female, male or any") }).optional().describe("Whose voice sings"),
23346
- length: external_exports.union([external_exports.literal("auto"), external_exports.number().int()]).optional().describe("Seconds, one of the model\u2019s lengths, or auto"),
23385
+ length: external_exports.union([external_exports.literal("auto"), external_exports.number().int()]).optional().describe("Seconds, one of the model\u2019s lengths, or auto (always auto in the artist\u2019s voice on a model without voice-length)"),
23347
23386
  takes: external_exports.number().int().min(SONG_TAKES.min).max(SONG_TAKES.max).optional().describe("How many takes, 1 to 4"),
23348
23387
  write_id: external_exports.string().optional().describe("The kept write the lyrics came from (get_song_creation_draft writes[].id)")
23349
23388
  }).describe("The Create a song fields")
@@ -23688,7 +23727,8 @@ var OPERATIONS = [
23688
23727
  input: external_exports.object({
23689
23728
  song_id: songId,
23690
23729
  credits: external_exports.number().int().min(0).optional().describe("The price you were shown (get_transcription_price)"),
23691
- language: external_exports.string().max(20).nullable().optional().describe('The language it is sung in, e.g. "fr"; omitted: the one the analysis found')
23730
+ language: external_exports.string().max(20).nullable().optional().describe('The language it is sung in, e.g. "fr"; omitted: the one the analysis found'),
23731
+ vocals: external_exports.boolean().optional().describe("true: the user says a song the analysis heard as instrumental has vocals; it is listened to for its words, and once some are heard it is a song with vocals (nothing is charged if none are). Only with the user's word")
23692
23732
  }),
23693
23733
  readOnly: false,
23694
23734
  destructive: true,
@@ -23764,7 +23804,7 @@ var OPERATIONS = [
23764
23804
  group: "clips",
23765
23805
  title: "Change the video draft",
23766
23806
  summary: "Change the person's lyric video or Canvas draft: style, clips, a clip at a cut, transitions, grade, effects, format",
23767
- description: "Changes the draft get_video_draft answers, as the editor would, and saves it: the person sees the same draft in the editor (with no change, it only saves it, for editor_url). Send only what changes. Clips: sources (Stock mood ids from get_options clip_moods or browse_clip_mood; the workspace's folders from list_clip_folders, where the person's own uploads and the clips cut from their links land: import_clips), shuffle (other clips on the same cuts), replace [{cut, clip_id}] (one clip at a cut, e.g. one found with similar_clips or list_clips), joins [{cut, transition, seconds, direction, intensity}] (the transition into a cut: get_options transitions, or cut), starts [{cut, at}] (where in its clip a cut starts). Style: lyric_style, behind, visual. Recipe: density, transitions {style, amount, feel}, grade, grade_amount, effects, shape, fill, speed. format 9:16 or 16:9, trim (null: the whole song), display. Canvas (type canvas): picture clips|cover|visualizer, loop, seconds, cut, motion, visual, light, atmosphere, frame, effects. reset true starts over from the song's rules draft. A change to sources, density, shape, speed, seed, format or section plans a new cut and lets go of clips put in by hand. Answers the draft (cuts, request) like get_video_draft. Free (no AI); only making the video costs, after a quote and the person's yes.",
23807
+ description: "Changes the draft get_video_draft answers, as the editor would, and saves it: the person sees the same draft in the editor (with no change, it only saves it, for editor_url). Send only what changes. Clips: sources (Stock mood ids from get_options clip_moods or browse_clip_mood; the workspace's folders from list_clip_folders, where the person's own uploads and the clips cut from their links land: import_clips), shuffle (other clips on the same cuts), replace [{cut, clip_id}] (one clip at a cut, e.g. one found with similar_clips or list_clips; a sung shot, list_clips sync, only at a cut of its own words, else 400), joins [{cut, transition, seconds, direction, intensity}] (the transition into a cut: get_options transitions, or cut), starts [{cut, at}] (where in its clip a cut starts; a sung shot starts on its own words, so 400). Style: lyric_style, behind, visual, visual_strength (how strongly the visual shows over clips, 0.1\u20131; null: the visual's own level; get_video_draft answers the level it shows at). Recipe: density, transitions {style, amount, feel}, grade, grade_amount, effects, shape, fill, speed. format 9:16 or 16:9, trim (null: the whole song), display. Canvas (type canvas): picture clips|cover|visualizer, loop, seconds, cut, motion, visual, light, atmosphere, frame, effects. reset true starts over from the song's rules draft. A change to sources, density, shape, speed, seed, format or section plans a new cut and lets go of clips put in by hand. Answers the draft (cuts, request) like get_video_draft. Free (no AI); only making the video costs, after a quote and the person's yes.",
23768
23808
  method: "PATCH",
23769
23809
  path: "/api/v1/songs/{song_id}/video-draft",
23770
23810
  scopes: ["videos:write"],
@@ -23782,7 +23822,7 @@ var OPERATIONS = [
23782
23822
  group: "clips",
23783
23823
  title: "Get a song's draft lyric video",
23784
23824
  summary: "The lyric style and clips picture Kinetune picks for a song, at once and without AI",
23785
- description: "Everything picked by rules from the song, no AI: lyric_style (as lively as the song, able to keep up with how fast it is sung), background (a clips picture: moods, the feelings of the song's sections from its brief; density from its tempo; transitions from its tempo and loudness; grade and effects from its main feeling; shape, fill, speed) and edit.seed. The lyric style brings the colours and type. The artist's last lyric video brings its lyric_style, behind (words behind the subject) and folders back. Each section of the song's map (get_song_analysis) carries its mood, and the cut draws that section's clips from it. A create_lyric_video that leaves look out makes exactly this. With type canvas: the song's draft Canvas instead (picture: its clips sources and grade, loop drift, seconds 8, edit.seed), what a create_canvas with a clips picture and no sources makes. Change anything before creating.",
23825
+ description: `Everything picked by rules from the song, no AI: lyric_style (as lively as the song, able to keep up with how fast it is sung), background (a clips picture: moods, the feelings of the song's sections from its brief; density from its tempo; transitions from its tempo and loudness; grade and effects from its main feeling; shape, fill, speed), edit.seed, picture (visualizer for a song with nothing sung, else clips), suggested_visual (the visual that suits the song: as lively as it is, in its feeling's light and near its lyric style's colours) and visual (what the draft plays: {"preset": suggested_visual} on the Visualizer picture, null over clips, where a visual is only added when picked). The lyric style brings the type and, unless look.colours names others, the colours; cover_colours are the song's cover's (what colours "cover" draws with; null without a cover) and instrumental says no vocals were heard (its lyric video is a Visualizer: no Short styles are picked for it). The artist's last lyric video brings its lyric_style, behind (words behind the subject) and folders back. Each section of the song's map (get_song_analysis) carries its mood, and the cut draws that section's clips from it. A create_lyric_video that leaves look out makes exactly this. With type canvas: the song's draft Canvas instead (picture: its clips sources and grade, loop drift, seconds 8, edit.seed), what a create_canvas with a clips picture and no sources makes. Change anything before creating.`,
23786
23826
  method: "GET",
23787
23827
  path: "/api/v1/songs/{song_id}/draft",
23788
23828
  scopes: ["videos:read", "videos:write"],
@@ -23798,7 +23838,7 @@ var OPERATIONS = [
23798
23838
  group: "clips",
23799
23839
  title: "List clips",
23800
23840
  summary: "The clips of library moods and your folders, to plan a clips video's cut",
23801
- description: "The ready clips (1\u20135 s each) of as many sources together as your plan allows (get_account limits.clip_sources; more answers 402 plan_required): library moods (get_options clip_moods), and your folders (list_clip_folders). Each has id, source, cut_from (the source video it was cut from: pieces sharing one look alike), duration_seconds, width, height, energy (how much it moves, 0\u20131), brightness, color (its main colour, hex), preview_url (a light MP4), poster_url, subject (null until it is analysed: each clip, once and for everyone, the first time analyze_clips asks for it or a video is made with it: faces, each box as fractions of the poster x, y, w, h, which text keeps clear; aspect; and mask, the subject's silhouette, when it has a matte), subject_clear (whether it has a clear subject, a person or a solid figure, words can go behind; null until analysed), matte_url (null, or an MP4 holding the clip and its subject's mask side by side, or one over the other for a wide clip: made for a clear subject once words go behind it, then the words go behind the subject) and still_url and depth_url (a photo clip's picture and its depth map, white is near: it moves in 3D; null until analysed), loop_score (how well it loops as a Canvas drift, 0\u2013100; 60 and up loops well) and strip_url (ten frames along it, side by side); both null until measured, shortly after import. Send edit.seed and Kinetune draws the clips (with words behind the subject, clips with a clear subject under the sung lines), or plan the cut yourself and send edit.clips.",
23841
+ description: "The ready clips (1\u20135 s each) of as many sources together as your plan allows (get_account limits.clip_sources; more answers 402 plan_required): library moods (get_options clip_moods), and your folders (list_clip_folders). Each has id, source, cut_from (the source video it was cut from: pieces sharing one look alike), duration_seconds, width, height, energy (how much it moves, 0\u20131), brightness, color (its main colour, hex), preview_url (a light MP4), poster_url, subject (null until it is analysed: each clip, once and for everyone, the first time analyze_clips asks for it or a video is made with it: faces, each box as fractions of the poster x, y, w, h, which text keeps clear; aspect; and mask, the subject's silhouette, when it has a matte), subject_clear (whether it has a clear subject, a person or a solid figure, words can go behind; null until analysed), matte_url (null, or an MP4 holding the clip and its subject's mask side by side, or one over the other for a wide clip: made for a clear subject once words go behind it, then the words go behind the subject) and still_url and depth_url (a photo clip's picture and its depth map, white is near: it moves in 3D; null until analysed), loop_score (how well it loops as a Canvas drift, 0\u2013100; 60 and up loops well) and strip_url (ten frames along it, side by side); both null until measured, shortly after import. sync: a sung shot cut from one of your music videos, {song_id, start_seconds, end_seconds}, the seconds of its song it shows: it plays only in a lyric video of that song, where those seconds play, from its own frame, at speed 1, so the lips stay in time (Kinetune's cut, Replace and edit.clips keep to it; never in a Canvas); null: it plays anywhere. Send edit.seed and Kinetune draws the clips (with words behind the subject, clips with a clear subject under the sung lines), or plan the cut yourself and send edit.clips.",
23802
23842
  method: "GET",
23803
23843
  path: "/api/v1/clips",
23804
23844
  scopes: ["videos:read", "videos:write", "library:read"],
@@ -24060,7 +24100,7 @@ var OPERATIONS = [
24060
24100
  group: "clips",
24061
24101
  title: "Get a clip folder",
24062
24102
  summary: "A folder's clips and the imports still on their way",
24063
- description: "clips (as list_clips) and imports (status queued, working or failed with error; done ones leave the list).",
24103
+ description: "clips (as list_clips, with sync on the sung shots of a music video) and imports (status queued, working or failed with error; done ones leave the list).",
24064
24104
  method: "GET",
24065
24105
  path: "/api/v1/clip-folders/{folder_id}",
24066
24106
  scopes: ["videos:read", "videos:write", "library:read"],
@@ -24107,8 +24147,8 @@ var OPERATIONS = [
24107
24147
  id: "clip_folders.import",
24108
24148
  group: "clips",
24109
24149
  title: "Import clips",
24110
- summary: "Cut a video into clips in one of your folders: a link, a file or a stock video",
24111
- description: "One of: url (a YouTube, TikTok or Instagram link, up to 20 minutes), file_url (a video or photo sent with create_upload) or stock_id (a stock video from search_stock: it lands in this folder of yours, like any other source). Kinetune cuts it at every scene change into clips of 1\u20135 s, in the background (get_clip_folder shows it on its way). Only use clips you have the rights to. Free with an active plan (402 plan_required without one; get_account: plan.active); counts toward your storage.",
24150
+ summary: "Cut a video into clips in one of your folders: a link, a file, a stock video or one of your music videos",
24151
+ description: "One of: url (a YouTube, TikTok or Instagram link, up to 20 minutes), file_url (a video or photo sent with create_upload), stock_id (a stock video from search_stock: it lands in this folder of yours, like any other source) or video_id (one of your delivered music videos: list_videos type music-video, status completed; lyric videos and Canvases are refused, and its end card is left out, so its shots can play in your lyric videos; once per folder, 409 when it is already there. Its sung shots keep their song seconds (list_clips sync) and play only on their own words in that song's lyric videos; the shots where nobody sings play in any video; where the music video was sung to its own voice rather than the song, its sung shots are left out). Kinetune cuts it at every scene change into clips of 1\u20135 s, in the background (get_clip_folder shows it on its way). Only use clips you have the rights to. Free with an active plan (402 plan_required without one; get_account: plan.active); counts toward your storage.",
24112
24152
  method: "POST",
24113
24153
  path: "/api/v1/clip-folders/{folder_id}/imports",
24114
24154
  scopes: ["videos:write", "library:write"],
@@ -24116,7 +24156,8 @@ var OPERATIONS = [
24116
24156
  folder_id: external_exports.string().regex(/^folder_[0-9a-f-]{36}$/).describe("A clip folder id (folder_\u2026; list_clip_folders)"),
24117
24157
  url: external_exports.string().url().max(2e3).optional().describe("A YouTube, TikTok or Instagram link"),
24118
24158
  file_url: httpsUrl("a video or photo").optional(),
24119
- stock_id: StockIdSchema.optional().describe("A stock video id (search_stock kind video)")
24159
+ stock_id: StockIdSchema.optional().describe("A stock video id (search_stock kind video)"),
24160
+ video_id: external_exports.string().uuid().optional().describe("One of your delivered music videos (list_videos type music-video, status completed)")
24120
24161
  }),
24121
24162
  readOnly: false,
24122
24163
  destructive: false,
@@ -24681,8 +24722,11 @@ var OPERATIONS = [
24681
24722
  scopes: ["videos:read"],
24682
24723
  input: external_exports.object({
24683
24724
  song_id: songId.optional().describe("Only this song\u2019s videos"),
24725
+ except_song_id: songId.optional().describe("Every song\u2019s videos but this one\u2019s (a lyric video\u2019s music videos of other songs)"),
24684
24726
  artist_id: artistId.optional().describe("Only videos of this artist\u2019s songs"),
24685
24727
  type: external_exports.enum(["lyric-video", "canvas", "music-video"]).optional(),
24728
+ status: external_exports.enum(["queued", "processing", "completed", "failed", "cancelled"]).optional().describe("Only videos in this state (completed: delivered)"),
24729
+ in_folder: external_exports.string().regex(/^folder_[0-9a-f-]{36}$/).optional().describe("A clip folder id: each music video says in_folder, whether it is already cut into that folder (import_clips video_id)"),
24686
24730
  quote_id: external_exports.string().uuid().optional().describe("Only the videos this quote made (none until it is used)"),
24687
24731
  q: external_exports.string().trim().min(1).max(100).optional().describe("Search the song title, artist name or video id"),
24688
24732
  limit: external_exports.number().int().min(1).max(100).optional(),
@@ -24959,7 +25003,7 @@ var OPERATIONS = [
24959
25003
  input: external_exports.object({
24960
25004
  title: external_exports.string().trim().min(6).max(120).describe("The idea in one line, in the person's words"),
24961
25005
  body: external_exports.string().trim().max(2e3).optional().describe("How they would use it: their release, the platform, why it matters"),
24962
- area: external_exports.enum(["lyric-video", "canvas", "music-video", "everything"]).default("everything").describe("What it is about: lyric-video, canvas, music-video, or everything (the whole app)")
25006
+ area: external_exports.enum(IDEA_AREAS).default("everything").describe(`What it is about: ${IDEA_AREAS.join(", ")} (everything: the whole app)`)
24963
25007
  }),
24964
25008
  readOnly: false,
24965
25009
  destructive: false,
@@ -24981,7 +25025,7 @@ var OPERATIONS = [
24981
25025
  q: external_exports.string().trim().max(100).optional().describe("Words in the title or details"),
24982
25026
  sort: external_exports.enum(["top", "new"]).optional().describe("top (default: most voted) or new"),
24983
25027
  status: external_exports.enum(["open", "under_review", "planned", "in_progress", "shipped", "declined"]).optional(),
24984
- area: external_exports.enum(["lyric-video", "canvas", "music-video", "everything"]).optional(),
25028
+ area: external_exports.enum(IDEA_AREAS).optional(),
24985
25029
  yours: external_exports.boolean().optional().describe("Only the ones the person suggested or voted for"),
24986
25030
  limit: external_exports.number().int().min(1).max(100).optional(),
24987
25031
  cursor: external_exports.string().min(1).max(200).optional().describe("next_cursor from the previous page")
@@ -25129,8 +25173,8 @@ function openApiDocument(input2) {
25129
25173
  const variants = ops.map((op) => {
25130
25174
  const schema = inputJsonSchema(op);
25131
25175
  const props2 = schema.properties ?? {};
25132
- const required22 = new Set(schema.required ?? []);
25133
- return { op, props: props2, required: required22 };
25176
+ const required3 = new Set(schema.required ?? []);
25177
+ return { op, props: props2, required: required3 };
25134
25178
  });
25135
25179
  const { props, required: required2 } = variants[0];
25136
25180
  const params = Object.entries(props).filter(([name]) => inPath.has(name) || first.method === "GET" || first.method === "DELETE").map(([name, s]) => ({
@@ -25205,7 +25249,7 @@ function openApiDocument(input2) {
25205
25249
  }
25206
25250
  var ref = (name) => ({ $ref: `#/components/schemas/${name}` });
25207
25251
 
25208
- // node_modules/commander/lib/error.js
25252
+ // ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/error.js
25209
25253
  var CommanderError = class extends Error {
25210
25254
  /**
25211
25255
  * Constructs the CommanderError class
@@ -25234,7 +25278,7 @@ var InvalidArgumentError = class extends CommanderError {
25234
25278
  }
25235
25279
  };
25236
25280
 
25237
- // node_modules/commander/lib/argument.js
25281
+ // ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/argument.js
25238
25282
  var Argument = class {
25239
25283
  /**
25240
25284
  * Initialize a new command argument with the given name and description.
@@ -25355,7 +25399,7 @@ function humanReadableArgName(arg) {
25355
25399
  return arg.required ? "<" + nameOutput + ">" : "[" + nameOutput + "]";
25356
25400
  }
25357
25401
 
25358
- // node_modules/commander/lib/command.js
25402
+ // ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/command.js
25359
25403
  import { EventEmitter } from "node:events";
25360
25404
  import childProcess from "node:child_process";
25361
25405
  import path from "node:path";
@@ -25363,7 +25407,7 @@ import fs from "node:fs";
25363
25407
  import process2 from "node:process";
25364
25408
  import { stripVTControlCharacters as stripVTControlCharacters2 } from "node:util";
25365
25409
 
25366
- // node_modules/commander/lib/help.js
25410
+ // ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/help.js
25367
25411
  import { stripVTControlCharacters } from "node:util";
25368
25412
  var Help = class {
25369
25413
  constructor() {
@@ -25432,11 +25476,11 @@ var Help = class {
25432
25476
  visibleOptions.push(helpOption);
25433
25477
  } else if (helpOption.long && !removeLong) {
25434
25478
  visibleOptions.push(
25435
- cmd.createOption(helpOption.long, helpOption.description).helpGroup(helpOption.helpGroupHeading)
25479
+ cmd.createOption(helpOption.long, helpOption.description)
25436
25480
  );
25437
25481
  } else if (helpOption.short && !removeShort) {
25438
25482
  visibleOptions.push(
25439
- cmd.createOption(helpOption.short, helpOption.description).helpGroup(helpOption.helpGroupHeading)
25483
+ cmd.createOption(helpOption.short, helpOption.description)
25440
25484
  );
25441
25485
  }
25442
25486
  }
@@ -25955,7 +25999,7 @@ ${itemIndentStr}`);
25955
25999
  }
25956
26000
  };
25957
26001
 
25958
- // node_modules/commander/lib/option.js
26002
+ // ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/option.js
25959
26003
  var Option = class {
25960
26004
  /**
25961
26005
  * Initialize a new `Option` with the given `flags` and `description`.
@@ -25968,7 +26012,7 @@ var Option = class {
25968
26012
  this.description = description || "";
25969
26013
  this.required = flags.includes("<");
25970
26014
  this.optional = flags.includes("[");
25971
- this.variadic = new RegExp("\\p{ID_Continue}\\.\\.\\.[>\\]]$", "u").test(flags);
26015
+ this.variadic = /\w\.\.\.[>\]]$/.test(flags);
25972
26016
  this.mandatory = false;
25973
26017
  const optionFlags = splitOptionFlags(flags);
25974
26018
  this.short = optionFlags.shortFlag;
@@ -26261,7 +26305,7 @@ function splitOptionFlags(flags) {
26261
26305
  return { shortFlag, longFlag };
26262
26306
  }
26263
26307
 
26264
- // node_modules/commander/lib/suggestSimilar.js
26308
+ // ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/suggestSimilar.js
26265
26309
  var maxDistance = 3;
26266
26310
  function editDistance(a, b) {
26267
26311
  if (Math.abs(a.length - b.length) > maxDistance)
@@ -26336,7 +26380,7 @@ function suggestSimilar(word, candidates) {
26336
26380
  return "";
26337
26381
  }
26338
26382
 
26339
- // node_modules/commander/lib/command.js
26383
+ // ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/command.js
26340
26384
  var Command = class _Command extends EventEmitter {
26341
26385
  /**
26342
26386
  * Initialize a new `Command`.
@@ -27151,7 +27195,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
27151
27195
  getOptionValueSourceWithGlobals(key) {
27152
27196
  let source;
27153
27197
  this._getCommandAndAncestors().forEach((cmd) => {
27154
- if (Object.hasOwn(cmd._optionValueSources, key)) {
27198
+ if (cmd.getOptionValueSource(key) !== void 0) {
27155
27199
  source = cmd.getOptionValueSource(key);
27156
27200
  }
27157
27201
  });
@@ -27794,7 +27838,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
27794
27838
  return arg.length > 1 && arg[0] === "-";
27795
27839
  }
27796
27840
  const negativeNumberArg = (arg) => {
27797
- if (!/^-(\d+|\d*\.\d+)([eE][+-]?\d+)?$/.test(arg)) return false;
27841
+ if (!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(arg)) return false;
27798
27842
  return !this._getCommandAndAncestors().some(
27799
27843
  (cmd) => cmd.options.map((opt) => opt.short).some((short2) => /^-\d$/.test(short2))
27800
27844
  );
@@ -28242,7 +28286,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
28242
28286
  * (This does not override a group set directly on the subcommand using .helpGroup().)
28243
28287
  *
28244
28288
  * @example
28245
- * program.commandsGroup('Development Commands:');
28289
+ * program.commandsGroup('Development Commands:);
28246
28290
  * program.command('watch')...
28247
28291
  * program.command('lint')...
28248
28292
  * ...
@@ -28413,7 +28457,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
28413
28457
  * Pass in false to disable the built-in help option.
28414
28458
  *
28415
28459
  * @example
28416
- * program.helpOption('-?, --help', 'show help'); // customise
28460
+ * program.helpOption('-?, --help' 'show help'); // customise
28417
28461
  * program.helpOption(false); // disable
28418
28462
  *
28419
28463
  * @param {(string | boolean)} flags
@@ -28542,20 +28586,16 @@ function incrementNodeInspectorPort(args) {
28542
28586
  let debugHost = "127.0.0.1";
28543
28587
  let debugPort = "9229";
28544
28588
  let match;
28545
- if ((match = arg.match(/^(--inspect(-brk|-wait)?)$/)) !== null) {
28589
+ if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
28546
28590
  debugOption = match[1];
28547
- } else if ((match = arg.match(
28548
- /^(--inspect(-brk|-port|-wait)?)=(\[[^\]]+\]|[^:]+)$/
28549
- )) !== null) {
28591
+ } else if ((match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null) {
28550
28592
  debugOption = match[1];
28551
28593
  if (/^\d+$/.test(match[3])) {
28552
28594
  debugPort = match[3];
28553
28595
  } else {
28554
28596
  debugHost = match[3];
28555
28597
  }
28556
- } else if ((match = arg.match(
28557
- /^(--inspect(-brk|-port|-wait)?)=(\[[^\]]+\]|[^:]+):(\d+)$/
28558
- )) !== null) {
28598
+ } else if ((match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null) {
28559
28599
  debugOption = match[1];
28560
28600
  debugHost = match[3];
28561
28601
  debugPort = match[4];
@@ -28574,7 +28614,7 @@ function useColor() {
28574
28614
  return void 0;
28575
28615
  }
28576
28616
 
28577
- // node_modules/commander/index.js
28617
+ // ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
28578
28618
  var program = new Command();
28579
28619
 
28580
28620
  // src/config.ts
@@ -28751,7 +28791,7 @@ async function revoke(config2, auth = config2.auth) {
28751
28791
  // package.json
28752
28792
  var package_default = {
28753
28793
  name: "@kinetune/cli",
28754
- version: "5.0.1",
28794
+ version: "5.3.0",
28755
28795
  description: "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
28756
28796
  license: "MIT",
28757
28797
  author: {
@@ -28788,16 +28828,21 @@ var package_default = {
28788
28828
  },
28789
28829
  scripts: {
28790
28830
  build: "node build.mjs",
28791
- prepublishOnly: "node build.mjs"
28831
+ typecheck: "tsc --noEmit",
28832
+ test: "vitest run",
28833
+ prepack: "node build.mjs"
28792
28834
  },
28793
28835
  devDependencies: {
28836
+ "@kinetune/api-spec": "workspace:*",
28794
28837
  commander: "^15.0.0",
28795
28838
  esbuild: "^0.28.2",
28796
- zod: "^4.6.5"
28839
+ tsx: "^4.23.15",
28840
+ typescript: "^5.9.3",
28841
+ vitest: "^3.2.7",
28842
+ zod: "^4.1.11"
28797
28843
  },
28798
28844
  publishConfig: {
28799
- access: "public",
28800
- provenance: true
28845
+ access: "public"
28801
28846
  }
28802
28847
  };
28803
28848