@kinetune/cli 5.0.0 → 5.1.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.
- package/LICENSE.md +20 -0
- package/README.md +319 -166
- package/dist/kinetune.mjs +263 -227
- package/package.json +21 -13
package/dist/kinetune.mjs
CHANGED
|
@@ -12,32 +12,7 @@ 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
|
-
//
|
|
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
|
|
15
|
+
// node_modules/zod/v4/classic/external.js
|
|
41
16
|
var external_exports = {};
|
|
42
17
|
__export(external_exports, {
|
|
43
18
|
$brand: () => $brand,
|
|
@@ -300,7 +275,7 @@ __export(external_exports, {
|
|
|
300
275
|
xor: () => xor
|
|
301
276
|
});
|
|
302
277
|
|
|
303
|
-
//
|
|
278
|
+
// node_modules/zod/v4/core/index.js
|
|
304
279
|
var core_exports2 = {};
|
|
305
280
|
__export(core_exports2, {
|
|
306
281
|
$ZodAny: () => $ZodAny,
|
|
@@ -617,7 +592,7 @@ __export(core_exports2, {
|
|
|
617
592
|
withParser: () => withParser
|
|
618
593
|
});
|
|
619
594
|
|
|
620
|
-
//
|
|
595
|
+
// node_modules/zod/v4/core/util.js
|
|
621
596
|
var util_exports = {};
|
|
622
597
|
__export(util_exports, {
|
|
623
598
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -688,6 +663,7 @@ __export(util_exports, {
|
|
|
688
663
|
required: () => required,
|
|
689
664
|
safeExtend: () => safeExtend,
|
|
690
665
|
shallowClone: () => shallowClone,
|
|
666
|
+
sizeCaps: () => sizeCaps,
|
|
691
667
|
slugify: () => slugify,
|
|
692
668
|
stringifyPrimitive: () => stringifyPrimitive,
|
|
693
669
|
toZod: () => toZod,
|
|
@@ -1207,6 +1183,18 @@ function prefixIssues(path4, issues) {
|
|
|
1207
1183
|
function unwrapMessage(message) {
|
|
1208
1184
|
return typeof message === "string" ? message : message?.message;
|
|
1209
1185
|
}
|
|
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
|
+
}
|
|
1210
1198
|
function attachSchema(issues, start, inst) {
|
|
1211
1199
|
var _a3;
|
|
1212
1200
|
for (let i = start; i < issues.length; i++) {
|
|
@@ -1328,8 +1316,8 @@ function base64urlToUint8Array(base64url3) {
|
|
|
1328
1316
|
function uint8ArrayToBase64url(bytes) {
|
|
1329
1317
|
return uint8ArrayToBase64(bytes).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
|
|
1330
1318
|
}
|
|
1331
|
-
function hexToUint8Array(
|
|
1332
|
-
const cleanHex =
|
|
1319
|
+
function hexToUint8Array(hex4) {
|
|
1320
|
+
const cleanHex = hex4.replace(/^0x/, "");
|
|
1333
1321
|
if (cleanHex.length % 2 !== 0) {
|
|
1334
1322
|
throw new Error("Invalid hex string length");
|
|
1335
1323
|
}
|
|
@@ -1460,7 +1448,7 @@ function constantCatch(value) {
|
|
|
1460
1448
|
return fn;
|
|
1461
1449
|
}
|
|
1462
1450
|
|
|
1463
|
-
//
|
|
1451
|
+
// node_modules/zod/v4/core/core.js
|
|
1464
1452
|
var _a;
|
|
1465
1453
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
1466
1454
|
status: "aborted"
|
|
@@ -1582,7 +1570,7 @@ function config(newConfig) {
|
|
|
1582
1570
|
return globalConfig;
|
|
1583
1571
|
}
|
|
1584
1572
|
|
|
1585
|
-
//
|
|
1573
|
+
// node_modules/zod/v4/core/errors.js
|
|
1586
1574
|
function _getMessage() {
|
|
1587
1575
|
const internals = this._zod;
|
|
1588
1576
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -1774,7 +1762,7 @@ function prettifyError(error62) {
|
|
|
1774
1762
|
return lines.join("\n");
|
|
1775
1763
|
}
|
|
1776
1764
|
|
|
1777
|
-
//
|
|
1765
|
+
// node_modules/zod/v4/core/parse.js
|
|
1778
1766
|
function finalizeParams(callee, params) {
|
|
1779
1767
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
1780
1768
|
}
|
|
@@ -1934,7 +1922,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1934
1922
|
};
|
|
1935
1923
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1936
1924
|
|
|
1937
|
-
//
|
|
1925
|
+
// node_modules/zod/v4/core/regexes.js
|
|
1938
1926
|
var regexes_exports = {};
|
|
1939
1927
|
__export(regexes_exports, {
|
|
1940
1928
|
anyString: () => anyString,
|
|
@@ -2106,7 +2094,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2106
2094
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2107
2095
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2108
2096
|
|
|
2109
|
-
//
|
|
2097
|
+
// node_modules/zod/v4/core/checks.js
|
|
2110
2098
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2111
2099
|
var _a3;
|
|
2112
2100
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2582,7 +2570,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2582
2570
|
};
|
|
2583
2571
|
});
|
|
2584
2572
|
|
|
2585
|
-
//
|
|
2573
|
+
// node_modules/zod/v4/core/doc.js
|
|
2586
2574
|
var Doc = class {
|
|
2587
2575
|
constructor(args = [], closed = {}) {
|
|
2588
2576
|
this.content = [];
|
|
@@ -2623,14 +2611,14 @@ ${content.join("\n")}
|
|
|
2623
2611
|
}
|
|
2624
2612
|
};
|
|
2625
2613
|
|
|
2626
|
-
//
|
|
2614
|
+
// node_modules/zod/v4/core/versions.js
|
|
2627
2615
|
var version = {
|
|
2628
2616
|
major: 4,
|
|
2629
2617
|
minor: 6,
|
|
2630
|
-
patch:
|
|
2618
|
+
patch: 7
|
|
2631
2619
|
};
|
|
2632
2620
|
|
|
2633
|
-
//
|
|
2621
|
+
// node_modules/zod/v4/core/schemas.js
|
|
2634
2622
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2635
2623
|
var _a3;
|
|
2636
2624
|
inst ?? (inst = {});
|
|
@@ -3383,6 +3371,31 @@ var $ZodDate = /* @__PURE__ */ $constructor("$ZodDate", (inst, def) => {
|
|
|
3383
3371
|
return payload;
|
|
3384
3372
|
};
|
|
3385
3373
|
});
|
|
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;
|
|
3386
3399
|
function handleArrayResult(result, final, index) {
|
|
3387
3400
|
if (result.issues.length) {
|
|
3388
3401
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
@@ -3426,6 +3439,7 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
3426
3439
|
}
|
|
3427
3440
|
return payload;
|
|
3428
3441
|
};
|
|
3442
|
+
capSize(inst, arraySize);
|
|
3429
3443
|
});
|
|
3430
3444
|
function handlePropertyResult(result, final, key, input2, optin, optout) {
|
|
3431
3445
|
const isPresent = key in input2;
|
|
@@ -4382,6 +4396,7 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
4382
4396
|
return Promise.all(proms).then(() => payload);
|
|
4383
4397
|
return payload;
|
|
4384
4398
|
};
|
|
4399
|
+
capSize(inst, mapSize);
|
|
4385
4400
|
});
|
|
4386
4401
|
function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx) {
|
|
4387
4402
|
if (keyResult.issues.length) {
|
|
@@ -4448,6 +4463,7 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
|
|
|
4448
4463
|
return Promise.all(proms).then(() => payload);
|
|
4449
4464
|
return payload;
|
|
4450
4465
|
};
|
|
4466
|
+
capSize(inst, setSize);
|
|
4451
4467
|
});
|
|
4452
4468
|
function handleSetResult(result, final) {
|
|
4453
4469
|
if (result.issues.length) {
|
|
@@ -5044,7 +5060,7 @@ function handleRefineResult(result, payload, input2, inst) {
|
|
|
5044
5060
|
}
|
|
5045
5061
|
}
|
|
5046
5062
|
|
|
5047
|
-
//
|
|
5063
|
+
// node_modules/zod/v4/core/memoizer.js
|
|
5048
5064
|
var $ZodCyclicError = class extends Error {
|
|
5049
5065
|
constructor() {
|
|
5050
5066
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -5321,7 +5337,7 @@ function isBackEdge(ctx, value) {
|
|
|
5321
5337
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
5322
5338
|
}
|
|
5323
5339
|
|
|
5324
|
-
//
|
|
5340
|
+
// node_modules/zod/v4/locales/index.js
|
|
5325
5341
|
var locales_exports = {};
|
|
5326
5342
|
__export(locales_exports, {
|
|
5327
5343
|
ar: () => ar_default,
|
|
@@ -5389,7 +5405,7 @@ __export(locales_exports, {
|
|
|
5389
5405
|
zhTW: () => zh_TW_default
|
|
5390
5406
|
});
|
|
5391
5407
|
|
|
5392
|
-
//
|
|
5408
|
+
// node_modules/zod/v4/locales/ar.js
|
|
5393
5409
|
var error = () => {
|
|
5394
5410
|
const Sizable = {
|
|
5395
5411
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -5501,7 +5517,7 @@ function ar_default() {
|
|
|
5501
5517
|
};
|
|
5502
5518
|
}
|
|
5503
5519
|
|
|
5504
|
-
//
|
|
5520
|
+
// node_modules/zod/v4/locales/az.js
|
|
5505
5521
|
var error2 = () => {
|
|
5506
5522
|
const Sizable = {
|
|
5507
5523
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -5612,7 +5628,7 @@ function az_default() {
|
|
|
5612
5628
|
};
|
|
5613
5629
|
}
|
|
5614
5630
|
|
|
5615
|
-
//
|
|
5631
|
+
// node_modules/zod/v4/locales/be.js
|
|
5616
5632
|
function getBelarusianPlural(count, one, few, many) {
|
|
5617
5633
|
const absCount = Math.abs(count);
|
|
5618
5634
|
const lastDigit = absCount % 10;
|
|
@@ -5781,7 +5797,7 @@ function be_default() {
|
|
|
5781
5797
|
};
|
|
5782
5798
|
}
|
|
5783
5799
|
|
|
5784
|
-
//
|
|
5800
|
+
// node_modules/zod/v4/locales/bg.js
|
|
5785
5801
|
var error4 = () => {
|
|
5786
5802
|
const Sizable = {
|
|
5787
5803
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -5907,7 +5923,7 @@ function bg_default() {
|
|
|
5907
5923
|
};
|
|
5908
5924
|
}
|
|
5909
5925
|
|
|
5910
|
-
//
|
|
5926
|
+
// node_modules/zod/v4/locales/bn.js
|
|
5911
5927
|
var error5 = () => {
|
|
5912
5928
|
const Sizable = {
|
|
5913
5929
|
string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
|
|
@@ -6021,7 +6037,7 @@ function bn_default() {
|
|
|
6021
6037
|
};
|
|
6022
6038
|
}
|
|
6023
6039
|
|
|
6024
|
-
//
|
|
6040
|
+
// node_modules/zod/v4/locales/ca.js
|
|
6025
6041
|
var error6 = () => {
|
|
6026
6042
|
const Sizable = {
|
|
6027
6043
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -6135,7 +6151,7 @@ function ca_default() {
|
|
|
6135
6151
|
};
|
|
6136
6152
|
}
|
|
6137
6153
|
|
|
6138
|
-
//
|
|
6154
|
+
// node_modules/zod/v4/locales/ckb.js
|
|
6139
6155
|
var error7 = () => {
|
|
6140
6156
|
const Sizable = {
|
|
6141
6157
|
string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
|
|
@@ -6268,7 +6284,7 @@ function ckb_default() {
|
|
|
6268
6284
|
};
|
|
6269
6285
|
}
|
|
6270
6286
|
|
|
6271
|
-
//
|
|
6287
|
+
// node_modules/zod/v4/locales/cs.js
|
|
6272
6288
|
var error8 = () => {
|
|
6273
6289
|
const Sizable = {
|
|
6274
6290
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -6385,7 +6401,7 @@ function cs_default() {
|
|
|
6385
6401
|
};
|
|
6386
6402
|
}
|
|
6387
6403
|
|
|
6388
|
-
//
|
|
6404
|
+
// node_modules/zod/v4/locales/da.js
|
|
6389
6405
|
var error9 = () => {
|
|
6390
6406
|
const Sizable = {
|
|
6391
6407
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -6506,7 +6522,7 @@ function da_default() {
|
|
|
6506
6522
|
};
|
|
6507
6523
|
}
|
|
6508
6524
|
|
|
6509
|
-
//
|
|
6525
|
+
// node_modules/zod/v4/locales/de.js
|
|
6510
6526
|
var error10 = () => {
|
|
6511
6527
|
const Sizable = {
|
|
6512
6528
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -6620,7 +6636,7 @@ function de_default() {
|
|
|
6620
6636
|
};
|
|
6621
6637
|
}
|
|
6622
6638
|
|
|
6623
|
-
//
|
|
6639
|
+
// node_modules/zod/v4/locales/el.js
|
|
6624
6640
|
var error11 = () => {
|
|
6625
6641
|
const Sizable = {
|
|
6626
6642
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -6733,7 +6749,7 @@ function el_default() {
|
|
|
6733
6749
|
};
|
|
6734
6750
|
}
|
|
6735
6751
|
|
|
6736
|
-
//
|
|
6752
|
+
// node_modules/zod/v4/locales/en.js
|
|
6737
6753
|
var error12 = () => {
|
|
6738
6754
|
const Sizable = {
|
|
6739
6755
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -6858,7 +6874,7 @@ function en_default() {
|
|
|
6858
6874
|
};
|
|
6859
6875
|
}
|
|
6860
6876
|
|
|
6861
|
-
//
|
|
6877
|
+
// node_modules/zod/v4/locales/eo.js
|
|
6862
6878
|
var error13 = () => {
|
|
6863
6879
|
const Sizable = {
|
|
6864
6880
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -6973,7 +6989,7 @@ function eo_default() {
|
|
|
6973
6989
|
};
|
|
6974
6990
|
}
|
|
6975
6991
|
|
|
6976
|
-
//
|
|
6992
|
+
// node_modules/zod/v4/locales/es.js
|
|
6977
6993
|
var error14 = () => {
|
|
6978
6994
|
const Sizable = {
|
|
6979
6995
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -7110,7 +7126,7 @@ function es_default() {
|
|
|
7110
7126
|
};
|
|
7111
7127
|
}
|
|
7112
7128
|
|
|
7113
|
-
//
|
|
7129
|
+
// node_modules/zod/v4/locales/fa.js
|
|
7114
7130
|
var error15 = () => {
|
|
7115
7131
|
const Sizable = {
|
|
7116
7132
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -7230,7 +7246,7 @@ function fa_default() {
|
|
|
7230
7246
|
};
|
|
7231
7247
|
}
|
|
7232
7248
|
|
|
7233
|
-
//
|
|
7249
|
+
// node_modules/zod/v4/locales/fi.js
|
|
7234
7250
|
var error16 = () => {
|
|
7235
7251
|
const Sizable = {
|
|
7236
7252
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -7348,7 +7364,7 @@ function fi_default() {
|
|
|
7348
7364
|
};
|
|
7349
7365
|
}
|
|
7350
7366
|
|
|
7351
|
-
//
|
|
7367
|
+
// node_modules/zod/v4/locales/fr.js
|
|
7352
7368
|
var error17 = () => {
|
|
7353
7369
|
const Sizable = {
|
|
7354
7370
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7478,7 +7494,7 @@ function fr_default() {
|
|
|
7478
7494
|
};
|
|
7479
7495
|
}
|
|
7480
7496
|
|
|
7481
|
-
//
|
|
7497
|
+
// node_modules/zod/v4/locales/fr-CA.js
|
|
7482
7498
|
var error18 = () => {
|
|
7483
7499
|
const Sizable = {
|
|
7484
7500
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7591,7 +7607,7 @@ function fr_CA_default() {
|
|
|
7591
7607
|
};
|
|
7592
7608
|
}
|
|
7593
7609
|
|
|
7594
|
-
//
|
|
7610
|
+
// node_modules/zod/v4/locales/gu.js
|
|
7595
7611
|
var error19 = () => {
|
|
7596
7612
|
const Sizable = {
|
|
7597
7613
|
string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
|
|
@@ -7705,7 +7721,7 @@ function gu_default() {
|
|
|
7705
7721
|
};
|
|
7706
7722
|
}
|
|
7707
7723
|
|
|
7708
|
-
//
|
|
7724
|
+
// node_modules/zod/v4/locales/he.js
|
|
7709
7725
|
var error20 = () => {
|
|
7710
7726
|
const TypeNames = {
|
|
7711
7727
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -7907,7 +7923,7 @@ function he_default() {
|
|
|
7907
7923
|
};
|
|
7908
7924
|
}
|
|
7909
7925
|
|
|
7910
|
-
//
|
|
7926
|
+
// node_modules/zod/v4/locales/hi.js
|
|
7911
7927
|
var error21 = () => {
|
|
7912
7928
|
const Sizable = {
|
|
7913
7929
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
|
|
@@ -8019,7 +8035,7 @@ function hi_default() {
|
|
|
8019
8035
|
};
|
|
8020
8036
|
}
|
|
8021
8037
|
|
|
8022
|
-
//
|
|
8038
|
+
// node_modules/zod/v4/locales/hr.js
|
|
8023
8039
|
var error22 = () => {
|
|
8024
8040
|
const Sizable = {
|
|
8025
8041
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -8146,7 +8162,7 @@ function hr_default() {
|
|
|
8146
8162
|
};
|
|
8147
8163
|
}
|
|
8148
8164
|
|
|
8149
|
-
//
|
|
8165
|
+
// node_modules/zod/v4/locales/hu.js
|
|
8150
8166
|
var error23 = () => {
|
|
8151
8167
|
const Sizable = {
|
|
8152
8168
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -8260,7 +8276,7 @@ function hu_default() {
|
|
|
8260
8276
|
};
|
|
8261
8277
|
}
|
|
8262
8278
|
|
|
8263
|
-
//
|
|
8279
|
+
// node_modules/zod/v4/locales/hy.js
|
|
8264
8280
|
function getArmenianPlural(count, one, many) {
|
|
8265
8281
|
return Math.abs(count) === 1 ? one : many;
|
|
8266
8282
|
}
|
|
@@ -8419,7 +8435,7 @@ function hy_default() {
|
|
|
8419
8435
|
};
|
|
8420
8436
|
}
|
|
8421
8437
|
|
|
8422
|
-
//
|
|
8438
|
+
// node_modules/zod/v4/locales/id.js
|
|
8423
8439
|
var error25 = () => {
|
|
8424
8440
|
const Sizable = {
|
|
8425
8441
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -8531,7 +8547,7 @@ function id_default() {
|
|
|
8531
8547
|
};
|
|
8532
8548
|
}
|
|
8533
8549
|
|
|
8534
|
-
//
|
|
8550
|
+
// node_modules/zod/v4/locales/is.js
|
|
8535
8551
|
var error26 = () => {
|
|
8536
8552
|
const Sizable = {
|
|
8537
8553
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -8646,7 +8662,7 @@ function is_default() {
|
|
|
8646
8662
|
};
|
|
8647
8663
|
}
|
|
8648
8664
|
|
|
8649
|
-
//
|
|
8665
|
+
// node_modules/zod/v4/locales/it.js
|
|
8650
8666
|
var error27 = () => {
|
|
8651
8667
|
const Sizable = {
|
|
8652
8668
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -8760,7 +8776,7 @@ function it_default() {
|
|
|
8760
8776
|
};
|
|
8761
8777
|
}
|
|
8762
8778
|
|
|
8763
|
-
//
|
|
8779
|
+
// node_modules/zod/v4/locales/ja.js
|
|
8764
8780
|
var error28 = () => {
|
|
8765
8781
|
const Sizable = {
|
|
8766
8782
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -8873,7 +8889,7 @@ function ja_default() {
|
|
|
8873
8889
|
};
|
|
8874
8890
|
}
|
|
8875
8891
|
|
|
8876
|
-
//
|
|
8892
|
+
// node_modules/zod/v4/locales/ka.js
|
|
8877
8893
|
var error29 = () => {
|
|
8878
8894
|
const Sizable = {
|
|
8879
8895
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -8991,7 +9007,7 @@ function ka_default() {
|
|
|
8991
9007
|
};
|
|
8992
9008
|
}
|
|
8993
9009
|
|
|
8994
|
-
//
|
|
9010
|
+
// node_modules/zod/v4/locales/km.js
|
|
8995
9011
|
var error30 = () => {
|
|
8996
9012
|
const Sizable = {
|
|
8997
9013
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -9107,12 +9123,12 @@ function km_default() {
|
|
|
9107
9123
|
};
|
|
9108
9124
|
}
|
|
9109
9125
|
|
|
9110
|
-
//
|
|
9126
|
+
// node_modules/zod/v4/locales/kh.js
|
|
9111
9127
|
function kh_default() {
|
|
9112
9128
|
return km_default();
|
|
9113
9129
|
}
|
|
9114
9130
|
|
|
9115
|
-
//
|
|
9131
|
+
// node_modules/zod/v4/locales/kn.js
|
|
9116
9132
|
var error31 = () => {
|
|
9117
9133
|
const Sizable = {
|
|
9118
9134
|
string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
|
|
@@ -9228,7 +9244,7 @@ function kn_default() {
|
|
|
9228
9244
|
};
|
|
9229
9245
|
}
|
|
9230
9246
|
|
|
9231
|
-
//
|
|
9247
|
+
// node_modules/zod/v4/locales/ko.js
|
|
9232
9248
|
var error32 = () => {
|
|
9233
9249
|
const Sizable = {
|
|
9234
9250
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -9345,7 +9361,7 @@ function ko_default() {
|
|
|
9345
9361
|
};
|
|
9346
9362
|
}
|
|
9347
9363
|
|
|
9348
|
-
//
|
|
9364
|
+
// node_modules/zod/v4/locales/lt.js
|
|
9349
9365
|
var capitalizeFirstCharacter = (text) => {
|
|
9350
9366
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
9351
9367
|
};
|
|
@@ -9553,7 +9569,7 @@ function lt_default() {
|
|
|
9553
9569
|
};
|
|
9554
9570
|
}
|
|
9555
9571
|
|
|
9556
|
-
//
|
|
9572
|
+
// node_modules/zod/v4/locales/mk.js
|
|
9557
9573
|
var error34 = () => {
|
|
9558
9574
|
const Sizable = {
|
|
9559
9575
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -9668,7 +9684,7 @@ function mk_default() {
|
|
|
9668
9684
|
};
|
|
9669
9685
|
}
|
|
9670
9686
|
|
|
9671
|
-
//
|
|
9687
|
+
// node_modules/zod/v4/locales/ms.js
|
|
9672
9688
|
var error35 = () => {
|
|
9673
9689
|
const Sizable = {
|
|
9674
9690
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -9781,7 +9797,7 @@ function ms_default() {
|
|
|
9781
9797
|
};
|
|
9782
9798
|
}
|
|
9783
9799
|
|
|
9784
|
-
//
|
|
9800
|
+
// node_modules/zod/v4/locales/ne.js
|
|
9785
9801
|
var error36 = () => {
|
|
9786
9802
|
const Sizable = {
|
|
9787
9803
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
|
|
@@ -9893,7 +9909,7 @@ function ne_default() {
|
|
|
9893
9909
|
};
|
|
9894
9910
|
}
|
|
9895
9911
|
|
|
9896
|
-
//
|
|
9912
|
+
// node_modules/zod/v4/locales/nl.js
|
|
9897
9913
|
var error37 = () => {
|
|
9898
9914
|
const Sizable = {
|
|
9899
9915
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -10009,7 +10025,7 @@ function nl_default() {
|
|
|
10009
10025
|
};
|
|
10010
10026
|
}
|
|
10011
10027
|
|
|
10012
|
-
//
|
|
10028
|
+
// node_modules/zod/v4/locales/nn.js
|
|
10013
10029
|
var error38 = () => {
|
|
10014
10030
|
const Sizable = {
|
|
10015
10031
|
string: { unit: "teikn", verb: "\xE5 ha" },
|
|
@@ -10123,7 +10139,7 @@ function nn_default() {
|
|
|
10123
10139
|
};
|
|
10124
10140
|
}
|
|
10125
10141
|
|
|
10126
|
-
//
|
|
10142
|
+
// node_modules/zod/v4/locales/no.js
|
|
10127
10143
|
var error39 = () => {
|
|
10128
10144
|
const Sizable = {
|
|
10129
10145
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -10237,7 +10253,7 @@ function no_default() {
|
|
|
10237
10253
|
};
|
|
10238
10254
|
}
|
|
10239
10255
|
|
|
10240
|
-
//
|
|
10256
|
+
// node_modules/zod/v4/locales/ota.js
|
|
10241
10257
|
var error40 = () => {
|
|
10242
10258
|
const Sizable = {
|
|
10243
10259
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -10352,7 +10368,7 @@ function ota_default() {
|
|
|
10352
10368
|
};
|
|
10353
10369
|
}
|
|
10354
10370
|
|
|
10355
|
-
//
|
|
10371
|
+
// node_modules/zod/v4/locales/ps.js
|
|
10356
10372
|
var error41 = () => {
|
|
10357
10373
|
const Sizable = {
|
|
10358
10374
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -10472,7 +10488,7 @@ function ps_default() {
|
|
|
10472
10488
|
};
|
|
10473
10489
|
}
|
|
10474
10490
|
|
|
10475
|
-
//
|
|
10491
|
+
// node_modules/zod/v4/locales/pl.js
|
|
10476
10492
|
var error42 = () => {
|
|
10477
10493
|
const Sizable = {
|
|
10478
10494
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -10587,7 +10603,7 @@ function pl_default() {
|
|
|
10587
10603
|
};
|
|
10588
10604
|
}
|
|
10589
10605
|
|
|
10590
|
-
//
|
|
10606
|
+
// node_modules/zod/v4/locales/pt.js
|
|
10591
10607
|
var error43 = () => {
|
|
10592
10608
|
const Sizable = {
|
|
10593
10609
|
string: { unit: "caracteres" },
|
|
@@ -10731,7 +10747,7 @@ function pt_default() {
|
|
|
10731
10747
|
};
|
|
10732
10748
|
}
|
|
10733
10749
|
|
|
10734
|
-
//
|
|
10750
|
+
// node_modules/zod/v4/locales/pt-BR.js
|
|
10735
10751
|
var error44 = () => {
|
|
10736
10752
|
const Sizable = {
|
|
10737
10753
|
string: { unit: "caracteres" },
|
|
@@ -10876,7 +10892,7 @@ function pt_BR_default() {
|
|
|
10876
10892
|
};
|
|
10877
10893
|
}
|
|
10878
10894
|
|
|
10879
|
-
//
|
|
10895
|
+
// node_modules/zod/v4/locales/ro.js
|
|
10880
10896
|
var error45 = () => {
|
|
10881
10897
|
const Sizable = {
|
|
10882
10898
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -10999,7 +11015,7 @@ function ro_default() {
|
|
|
10999
11015
|
};
|
|
11000
11016
|
}
|
|
11001
11017
|
|
|
11002
|
-
//
|
|
11018
|
+
// node_modules/zod/v4/locales/ru.js
|
|
11003
11019
|
function getRussianPlural(count, one, few, many) {
|
|
11004
11020
|
const absCount = Math.abs(count);
|
|
11005
11021
|
const lastDigit = absCount % 10;
|
|
@@ -11168,7 +11184,7 @@ function ru_default() {
|
|
|
11168
11184
|
};
|
|
11169
11185
|
}
|
|
11170
11186
|
|
|
11171
|
-
//
|
|
11187
|
+
// node_modules/zod/v4/locales/sk.js
|
|
11172
11188
|
var error47 = () => {
|
|
11173
11189
|
const Sizable = {
|
|
11174
11190
|
string: { unit: "znakov", verb: "ma\u0165" },
|
|
@@ -11285,7 +11301,7 @@ function sk_default() {
|
|
|
11285
11301
|
};
|
|
11286
11302
|
}
|
|
11287
11303
|
|
|
11288
|
-
//
|
|
11304
|
+
// node_modules/zod/v4/locales/sl.js
|
|
11289
11305
|
var error48 = () => {
|
|
11290
11306
|
const Sizable = {
|
|
11291
11307
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -11400,7 +11416,7 @@ function sl_default() {
|
|
|
11400
11416
|
};
|
|
11401
11417
|
}
|
|
11402
11418
|
|
|
11403
|
-
//
|
|
11419
|
+
// node_modules/zod/v4/locales/sv.js
|
|
11404
11420
|
var error49 = () => {
|
|
11405
11421
|
const Sizable = {
|
|
11406
11422
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -11516,7 +11532,7 @@ function sv_default() {
|
|
|
11516
11532
|
};
|
|
11517
11533
|
}
|
|
11518
11534
|
|
|
11519
|
-
//
|
|
11535
|
+
// node_modules/zod/v4/locales/ta.js
|
|
11520
11536
|
var error50 = () => {
|
|
11521
11537
|
const Sizable = {
|
|
11522
11538
|
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" },
|
|
@@ -11632,7 +11648,7 @@ function ta_default() {
|
|
|
11632
11648
|
};
|
|
11633
11649
|
}
|
|
11634
11650
|
|
|
11635
|
-
//
|
|
11651
|
+
// node_modules/zod/v4/locales/tg.js
|
|
11636
11652
|
var error51 = () => {
|
|
11637
11653
|
const Sizable = {
|
|
11638
11654
|
string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
|
|
@@ -11749,7 +11765,7 @@ function tg_default() {
|
|
|
11749
11765
|
};
|
|
11750
11766
|
}
|
|
11751
11767
|
|
|
11752
|
-
//
|
|
11768
|
+
// node_modules/zod/v4/locales/th.js
|
|
11753
11769
|
var error52 = () => {
|
|
11754
11770
|
const Sizable = {
|
|
11755
11771
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -11865,7 +11881,7 @@ function th_default() {
|
|
|
11865
11881
|
};
|
|
11866
11882
|
}
|
|
11867
11883
|
|
|
11868
|
-
//
|
|
11884
|
+
// node_modules/zod/v4/locales/tk.js
|
|
11869
11885
|
var error53 = () => {
|
|
11870
11886
|
const Sizable = {
|
|
11871
11887
|
string: { unit: "simwol", verb: "bolmaly" },
|
|
@@ -11973,7 +11989,7 @@ function tk_default() {
|
|
|
11973
11989
|
};
|
|
11974
11990
|
}
|
|
11975
11991
|
|
|
11976
|
-
//
|
|
11992
|
+
// node_modules/zod/v4/locales/tr.js
|
|
11977
11993
|
var error54 = () => {
|
|
11978
11994
|
const Sizable = {
|
|
11979
11995
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -12084,7 +12100,7 @@ function tr_default() {
|
|
|
12084
12100
|
};
|
|
12085
12101
|
}
|
|
12086
12102
|
|
|
12087
|
-
//
|
|
12103
|
+
// node_modules/zod/v4/locales/uk.js
|
|
12088
12104
|
var error55 = () => {
|
|
12089
12105
|
const Sizable = {
|
|
12090
12106
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -12198,12 +12214,12 @@ function uk_default() {
|
|
|
12198
12214
|
};
|
|
12199
12215
|
}
|
|
12200
12216
|
|
|
12201
|
-
//
|
|
12217
|
+
// node_modules/zod/v4/locales/ua.js
|
|
12202
12218
|
function ua_default() {
|
|
12203
12219
|
return uk_default();
|
|
12204
12220
|
}
|
|
12205
12221
|
|
|
12206
|
-
//
|
|
12222
|
+
// node_modules/zod/v4/locales/ur.js
|
|
12207
12223
|
var error56 = () => {
|
|
12208
12224
|
const Sizable = {
|
|
12209
12225
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -12319,7 +12335,7 @@ function ur_default() {
|
|
|
12319
12335
|
};
|
|
12320
12336
|
}
|
|
12321
12337
|
|
|
12322
|
-
//
|
|
12338
|
+
// node_modules/zod/v4/locales/uz.js
|
|
12323
12339
|
var error57 = () => {
|
|
12324
12340
|
const Sizable = {
|
|
12325
12341
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -12433,7 +12449,7 @@ function uz_default() {
|
|
|
12433
12449
|
};
|
|
12434
12450
|
}
|
|
12435
12451
|
|
|
12436
|
-
//
|
|
12452
|
+
// node_modules/zod/v4/locales/vi.js
|
|
12437
12453
|
var error58 = () => {
|
|
12438
12454
|
const Sizable = {
|
|
12439
12455
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -12547,7 +12563,7 @@ function vi_default() {
|
|
|
12547
12563
|
};
|
|
12548
12564
|
}
|
|
12549
12565
|
|
|
12550
|
-
//
|
|
12566
|
+
// node_modules/zod/v4/locales/zh-CN.js
|
|
12551
12567
|
var error59 = () => {
|
|
12552
12568
|
const Sizable = {
|
|
12553
12569
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -12662,7 +12678,7 @@ function zh_CN_default() {
|
|
|
12662
12678
|
};
|
|
12663
12679
|
}
|
|
12664
12680
|
|
|
12665
|
-
//
|
|
12681
|
+
// node_modules/zod/v4/locales/zh-TW.js
|
|
12666
12682
|
var error60 = () => {
|
|
12667
12683
|
const Sizable = {
|
|
12668
12684
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -12775,7 +12791,7 @@ function zh_TW_default() {
|
|
|
12775
12791
|
};
|
|
12776
12792
|
}
|
|
12777
12793
|
|
|
12778
|
-
//
|
|
12794
|
+
// node_modules/zod/v4/locales/yo.js
|
|
12779
12795
|
var error61 = () => {
|
|
12780
12796
|
const Sizable = {
|
|
12781
12797
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -12888,7 +12904,7 @@ function yo_default() {
|
|
|
12888
12904
|
};
|
|
12889
12905
|
}
|
|
12890
12906
|
|
|
12891
|
-
//
|
|
12907
|
+
// node_modules/zod/v4/core/registries.js
|
|
12892
12908
|
var _a2;
|
|
12893
12909
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
12894
12910
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -12938,7 +12954,7 @@ function registry() {
|
|
|
12938
12954
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
12939
12955
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
12940
12956
|
|
|
12941
|
-
//
|
|
12957
|
+
// node_modules/zod/v4/core/compile.js
|
|
12942
12958
|
var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
12943
12959
|
var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
12944
12960
|
var ZodCompileAsyncError = class extends Error {
|
|
@@ -13978,9 +13994,15 @@ function generateNullableCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
|
13978
13994
|
doc.write(`}`);
|
|
13979
13995
|
return outputVar;
|
|
13980
13996
|
}
|
|
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
|
+
}
|
|
13981
14002
|
function generateArrayCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
13982
14003
|
const def = schema._zod.def;
|
|
13983
14004
|
doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
|
|
14005
|
+
generateSizeGate(doc, schema, `${accessor}.length`);
|
|
13984
14006
|
const outputVar = buildsValue ? newVar(ctx) : null;
|
|
13985
14007
|
const iVar = newVar(ctx);
|
|
13986
14008
|
const elemVar = newVar(ctx);
|
|
@@ -14380,6 +14402,7 @@ function literalPropertyKey(ctx, key) {
|
|
|
14380
14402
|
function generateMapCheck(doc, ctx, schema, accessor) {
|
|
14381
14403
|
const def = schema._zod.def;
|
|
14382
14404
|
doc.write(`if (!(${accessor} instanceof Map)) return INVALID;`);
|
|
14405
|
+
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
14383
14406
|
const outputVar = newVar(ctx);
|
|
14384
14407
|
const kVar = newVar(ctx);
|
|
14385
14408
|
const valVar = newVar(ctx);
|
|
@@ -14396,6 +14419,7 @@ function generateMapCheck(doc, ctx, schema, accessor) {
|
|
|
14396
14419
|
function generateSetCheck(doc, ctx, schema, accessor) {
|
|
14397
14420
|
const def = schema._zod.def;
|
|
14398
14421
|
doc.write(`if (!(${accessor} instanceof Set)) return INVALID;`);
|
|
14422
|
+
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
14399
14423
|
const outputVar = newVar(ctx);
|
|
14400
14424
|
const valVar = newVar(ctx);
|
|
14401
14425
|
doc.write(`const ${outputVar} = new Set();`);
|
|
@@ -14540,7 +14564,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
14540
14564
|
return accessor;
|
|
14541
14565
|
}
|
|
14542
14566
|
|
|
14543
|
-
//
|
|
14567
|
+
// node_modules/zod/v4/core/api.js
|
|
14544
14568
|
function snapshotChecks(def) {
|
|
14545
14569
|
if (def.checks)
|
|
14546
14570
|
def.checks = [...def.checks];
|
|
@@ -15599,7 +15623,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
15599
15623
|
return inst;
|
|
15600
15624
|
}
|
|
15601
15625
|
|
|
15602
|
-
//
|
|
15626
|
+
// node_modules/zod/v4/core/to-json-schema.js
|
|
15603
15627
|
function assignProps(target, ...sources) {
|
|
15604
15628
|
for (const source of sources) {
|
|
15605
15629
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -16129,7 +16153,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
16129
16153
|
return finalize(ctx, schema);
|
|
16130
16154
|
};
|
|
16131
16155
|
|
|
16132
|
-
//
|
|
16156
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
16133
16157
|
var narrowMin = (agg, key, value) => {
|
|
16134
16158
|
if (agg[key] === void 0 || value > agg[key])
|
|
16135
16159
|
agg[key] = value;
|
|
@@ -16877,7 +16901,7 @@ function toJSONSchema(input2, params) {
|
|
|
16877
16901
|
return finalize(ctx, input2);
|
|
16878
16902
|
}
|
|
16879
16903
|
|
|
16880
|
-
//
|
|
16904
|
+
// node_modules/zod/v4/core/json-schema-generator.js
|
|
16881
16905
|
var JSONSchemaGenerator = class {
|
|
16882
16906
|
/** @deprecated Access via ctx instead */
|
|
16883
16907
|
get metadataRegistry() {
|
|
@@ -16955,10 +16979,10 @@ var JSONSchemaGenerator = class {
|
|
|
16955
16979
|
}
|
|
16956
16980
|
};
|
|
16957
16981
|
|
|
16958
|
-
//
|
|
16982
|
+
// node_modules/zod/v4/core/json-schema.js
|
|
16959
16983
|
var json_schema_exports = {};
|
|
16960
16984
|
|
|
16961
|
-
//
|
|
16985
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
16962
16986
|
var schemas_exports2 = {};
|
|
16963
16987
|
__export(schemas_exports2, {
|
|
16964
16988
|
ZodAny: () => ZodAny,
|
|
@@ -17139,7 +17163,7 @@ __export(schemas_exports2, {
|
|
|
17139
17163
|
xor: () => xor
|
|
17140
17164
|
});
|
|
17141
17165
|
|
|
17142
|
-
//
|
|
17166
|
+
// node_modules/zod/v4/classic/checks.js
|
|
17143
17167
|
var checks_exports2 = {};
|
|
17144
17168
|
__export(checks_exports2, {
|
|
17145
17169
|
endsWith: () => _endsWith,
|
|
@@ -17174,7 +17198,7 @@ __export(checks_exports2, {
|
|
|
17174
17198
|
uppercase: () => _uppercase
|
|
17175
17199
|
});
|
|
17176
17200
|
|
|
17177
|
-
//
|
|
17201
|
+
// node_modules/zod/v4/classic/errors.js
|
|
17178
17202
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
17179
17203
|
function _lazyMethod(proto, key, make) {
|
|
17180
17204
|
Object.defineProperty(proto, key, {
|
|
@@ -17220,7 +17244,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
17220
17244
|
Parent: Error
|
|
17221
17245
|
});
|
|
17222
17246
|
|
|
17223
|
-
//
|
|
17247
|
+
// node_modules/zod/v4/classic/parse.js
|
|
17224
17248
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
17225
17249
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
17226
17250
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -17234,7 +17258,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
17234
17258
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
17235
17259
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
17236
17260
|
|
|
17237
|
-
//
|
|
17261
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
17238
17262
|
function _ensureDefaultLocale() {
|
|
17239
17263
|
if (!globalConfig.localeError)
|
|
17240
17264
|
config(en_default());
|
|
@@ -18699,7 +18723,7 @@ function preprocess(fn, schema) {
|
|
|
18699
18723
|
});
|
|
18700
18724
|
}
|
|
18701
18725
|
|
|
18702
|
-
//
|
|
18726
|
+
// node_modules/zod/v4/classic/compat.js
|
|
18703
18727
|
var ZodIssueCode = {
|
|
18704
18728
|
invalid_type: "invalid_type",
|
|
18705
18729
|
too_big: "too_big",
|
|
@@ -18725,7 +18749,7 @@ var ZodFirstPartyTypeKind;
|
|
|
18725
18749
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
18726
18750
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
18727
18751
|
|
|
18728
|
-
//
|
|
18752
|
+
// node_modules/zod/v4/classic/iso.js
|
|
18729
18753
|
var iso_exports = {};
|
|
18730
18754
|
__export(iso_exports, {
|
|
18731
18755
|
ZodISODate: () => ZodISODate,
|
|
@@ -18750,7 +18774,7 @@ function duration2(params) {
|
|
|
18750
18774
|
return _isoDuration(ZodISODuration, params);
|
|
18751
18775
|
}
|
|
18752
18776
|
|
|
18753
|
-
//
|
|
18777
|
+
// node_modules/zod/v4/classic/from-json-schema.js
|
|
18754
18778
|
var z = {
|
|
18755
18779
|
...schemas_exports2,
|
|
18756
18780
|
...checks_exports2,
|
|
@@ -19483,7 +19507,7 @@ function fromJSONSchema(schema, params) {
|
|
|
19483
19507
|
return convertSchema(normalized, ctx);
|
|
19484
19508
|
}
|
|
19485
19509
|
|
|
19486
|
-
//
|
|
19510
|
+
// node_modules/zod/v4/core/visit.js
|
|
19487
19511
|
var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
|
|
19488
19512
|
function visit(schema, fnOrHandlers) {
|
|
19489
19513
|
const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
|
|
@@ -19638,7 +19662,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
19638
19662
|
return run(schema);
|
|
19639
19663
|
}
|
|
19640
19664
|
|
|
19641
|
-
//
|
|
19665
|
+
// node_modules/zod/v4/classic/deep-partial.js
|
|
19642
19666
|
function deepPartial(schema) {
|
|
19643
19667
|
return visit(schema, {
|
|
19644
19668
|
object: (s) => s.partial(),
|
|
@@ -19650,7 +19674,7 @@ function deepPartial(schema) {
|
|
|
19650
19674
|
});
|
|
19651
19675
|
}
|
|
19652
19676
|
|
|
19653
|
-
//
|
|
19677
|
+
// node_modules/zod/v4/classic/in-out.js
|
|
19654
19678
|
function withChecks(side, checks) {
|
|
19655
19679
|
if (!checks?.length)
|
|
19656
19680
|
return side;
|
|
@@ -19680,7 +19704,7 @@ function output(schema) {
|
|
|
19680
19704
|
});
|
|
19681
19705
|
}
|
|
19682
19706
|
|
|
19683
|
-
//
|
|
19707
|
+
// node_modules/zod/v4/classic/coerce.js
|
|
19684
19708
|
var coerce_exports = {};
|
|
19685
19709
|
__export(coerce_exports, {
|
|
19686
19710
|
bigint: () => bigint3,
|
|
@@ -19705,12 +19729,33 @@ function date4(params) {
|
|
|
19705
19729
|
return _coercedDate(ZodDate, params);
|
|
19706
19730
|
}
|
|
19707
19731
|
|
|
19708
|
-
//
|
|
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
|
+
];
|
|
19709
19756
|
var SPECTRUM_BANDS = 32;
|
|
19710
19757
|
var SECTION_TYPES = ["intro", "verse", "chorus", "drop", "bridge", "outro"];
|
|
19711
19758
|
var FRAME_BYTES = 5 + SPECTRUM_BANDS;
|
|
19712
|
-
|
|
19713
|
-
// ../composition/src/clips.ts
|
|
19714
19759
|
var CUT_DENSITIES = ["one", "fewer", "even", "more"];
|
|
19715
19760
|
var MAX_CLIP_SOURCES = 50;
|
|
19716
19761
|
var TRANSITIONS = {
|
|
@@ -19814,8 +19859,6 @@ var EditSchema = external_exports.object({
|
|
|
19814
19859
|
density: external_exports.enum(CUT_DENSITIES),
|
|
19815
19860
|
clips: external_exports.array(EditClipSchema).min(1).max(6e3)
|
|
19816
19861
|
}).strict();
|
|
19817
|
-
|
|
19818
|
-
// ../composition/src/fonts.ts
|
|
19819
19862
|
var FONTS = {
|
|
19820
19863
|
inter: { family: "Inter", kind: "sans", weights: [300, 500, 700, 800] },
|
|
19821
19864
|
montserrat: { family: "Montserrat", kind: "sans", weights: [500, 700, 800] },
|
|
@@ -19875,8 +19918,6 @@ var SCRIPT_FONTS = [
|
|
|
19875
19918
|
];
|
|
19876
19919
|
var SCRIPT_FONT_STACK = SCRIPT_FONTS.map((f) => `"${f.family}"`).join(", ");
|
|
19877
19920
|
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
|
|
19880
19921
|
var EFFECTS = {
|
|
19881
19922
|
"light-leak": { name: "Light leak", group: "light" },
|
|
19882
19923
|
"god-rays": { name: "God rays", group: "light" },
|
|
@@ -19898,8 +19939,6 @@ var DEFAULT_EFFECT_AMOUNT = 0.6;
|
|
|
19898
19939
|
var EffectSchema = external_exports.object({ id: external_exports.enum(EFFECT_IDS), amount: external_exports.number().min(0).max(1).default(DEFAULT_EFFECT_AMOUNT) }).strict();
|
|
19899
19940
|
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" });
|
|
19900
19941
|
var TAU = Math.PI * 2;
|
|
19901
|
-
|
|
19902
|
-
// ../composition/src/visualizers/engine-ids.ts
|
|
19903
19942
|
var VIZZ_ENGINE_IDS = [
|
|
19904
19943
|
"mesh-grid",
|
|
19905
19944
|
"sphericalShader",
|
|
@@ -19915,8 +19954,6 @@ var VIZZ_ENGINE_IDS = [
|
|
|
19915
19954
|
];
|
|
19916
19955
|
var LIQUID_ENGINE = "liquid";
|
|
19917
19956
|
var VISUALIZER_ENGINE_IDS = [...VIZZ_ENGINE_IDS, LIQUID_ENGINE];
|
|
19918
|
-
|
|
19919
|
-
// ../composition/src/short-styles.ts
|
|
19920
19957
|
var S = (x, y, blur, opacity) => ({ x, y, blur, opacity });
|
|
19921
19958
|
var F = (font2, weight, more = {}) => ({ font: font2, weight, ...more });
|
|
19922
19959
|
var SHORT_SPECS = {
|
|
@@ -20206,8 +20243,6 @@ var MIXTAPE_FLICKER = [
|
|
|
20206
20243
|
F("permanent-marker", 400),
|
|
20207
20244
|
F("abril-fatface", 400)
|
|
20208
20245
|
];
|
|
20209
|
-
|
|
20210
|
-
// ../composition/src/lyric-styles.ts
|
|
20211
20246
|
var LYRIC_STAGES = ["showcase", "kinetic"];
|
|
20212
20247
|
var LYRIC_LAYOUTS = ["line", "stack", "word", "scatter", "typewriter", "cascade", "subtitle", "chat", "short"];
|
|
20213
20248
|
var SHADER_REVEALS = ["burn", "ink", "smoke", "particles", "drip"];
|
|
@@ -20666,8 +20701,6 @@ function styleParts(id3) {
|
|
|
20666
20701
|
const s = LYRIC_STYLES[id3];
|
|
20667
20702
|
return { style: id3, lyrics: { ...s.lyrics }, fx: { ...s.fx }, spectrum: { ...s.spectrum }, finish: { ...s.finish }, player: s.player, hero: s.hero ?? "none" };
|
|
20668
20703
|
}
|
|
20669
|
-
|
|
20670
|
-
// ../composition/src/look.ts
|
|
20671
20704
|
var LOOK_VERSION = 3;
|
|
20672
20705
|
var ASPECT_RATIOS = ["9:16", "16:9", "1:1"];
|
|
20673
20706
|
var AspectRatioSchema = external_exports.enum(ASPECT_RATIOS);
|
|
@@ -20806,6 +20839,8 @@ var LookSpecSchema = external_exports.object({
|
|
|
20806
20839
|
blend: external_exports.enum(["screen", "lighten", "normal"]),
|
|
20807
20840
|
// 0 = none: the picture alone (over a picture each visual is also capped at its own measured maximum).
|
|
20808
20841
|
intensity: external_exports.number().min(0).max(1),
|
|
20842
|
+
// Set by the person over a picture: how strongly every shot shows, in place of intensity, each shot's opacity and the caps.
|
|
20843
|
+
strength: external_exports.number().min(0).max(1).optional(),
|
|
20809
20844
|
shots: external_exports.object(Object.fromEntries(SECTION_TYPES.map((t) => [t, ShotSchema]))).strict()
|
|
20810
20845
|
}).strict(),
|
|
20811
20846
|
motion: external_exports.object({
|
|
@@ -20831,6 +20866,10 @@ var DisplaySchema = external_exports.object({
|
|
|
20831
20866
|
cover: external_exports.boolean().default(true),
|
|
20832
20867
|
lyrics: external_exports.boolean().default(true),
|
|
20833
20868
|
badges: external_exports.boolean().default(true),
|
|
20869
|
+
clips: external_exports.boolean().optional(),
|
|
20870
|
+
// false: the clips are left out (the video's ground and visual show); omitted: on
|
|
20871
|
+
song: external_exports.boolean().optional(),
|
|
20872
|
+
// false: the song is left out of the sound (a silent video); omitted: on
|
|
20834
20873
|
censor: external_exports.boolean().optional(),
|
|
20835
20874
|
// swear words show their vowels as * (the song is untouched); omitted: off
|
|
20836
20875
|
headline: external_exports.enum(HEADLINES).optional(),
|
|
@@ -20847,8 +20886,20 @@ var DisplaySchema = external_exports.object({
|
|
|
20847
20886
|
// omitted: 1
|
|
20848
20887
|
}).strict();
|
|
20849
20888
|
var DEFAULT_DISPLAY = { title: true, artist: true, cover: true, lyrics: true, badges: true };
|
|
20850
|
-
|
|
20851
|
-
|
|
20889
|
+
var COLOUR_SETS = {
|
|
20890
|
+
midnight: { label: "Midnight", palette: { text: "#F4F6FF", muted: "#AEB8DD", accent: "#5B8CFF", accent2: "#9B7BFF", shade: "#070B1A" } },
|
|
20891
|
+
ember: { label: "Ember", palette: { text: "#FFF4EC", muted: "#E3BBA4", accent: "#FF6A2B", accent2: "#FFB23F", shade: "#160805" } },
|
|
20892
|
+
neon: { label: "Neon", palette: { text: "#FFFFFF", muted: "#C7F9F1", accent: "#00F0C8", accent2: "#FF2E93", shade: "#05050A" } },
|
|
20893
|
+
rose: { label: "Rose", palette: { text: "#FFF1F5", muted: "#E6B8C6", accent: "#FF5C8A", accent2: "#FFB3C7", shade: "#1A0710" } },
|
|
20894
|
+
forest: { label: "Forest", palette: { text: "#F1FFF4", muted: "#B8D9BF", accent: "#3DDC84", accent2: "#C6F25B", shade: "#04120A" } },
|
|
20895
|
+
gold: { label: "Gold", palette: { text: "#FFF9EA", muted: "#DCCB9F", accent: "#F5C542", accent2: "#FF8A3D", shade: "#120D02" } },
|
|
20896
|
+
ocean: { label: "Ocean", palette: { text: "#EFFBFF", muted: "#A9D3E3", accent: "#22B8F0", accent2: "#4AF2D1", shade: "#021018" } },
|
|
20897
|
+
violet: { label: "Violet", palette: { text: "#F7F0FF", muted: "#C9B6E8", accent: "#A35BFF", accent2: "#FF6BD6", shade: "#0D0618" } },
|
|
20898
|
+
canary: { label: "Canary", palette: { text: "#FFFFFF", muted: "#D6D6CF", accent: "#FFE500", accent2: "#FF4FA3", shade: "#0E0E13" } },
|
|
20899
|
+
mono: { label: "Black and white", palette: { text: "#FFFFFF", muted: "#A8A8A8", accent: "#FFFFFF", accent2: "#8A8A8A", shade: "#000000" } }
|
|
20900
|
+
};
|
|
20901
|
+
var COLOUR_SET_IDS = Object.keys(COLOUR_SETS);
|
|
20902
|
+
var COLOUR_CHOICES = ["style", "cover", ...COLOUR_SET_IDS];
|
|
20852
20903
|
var EXAMPLE_LOOK = {
|
|
20853
20904
|
version: LOOK_VERSION,
|
|
20854
20905
|
category: "release",
|
|
@@ -20887,14 +20938,12 @@ var EXAMPLE_LOOK = {
|
|
|
20887
20938
|
},
|
|
20888
20939
|
motion: { energy: 0.6, intro: "rise" }
|
|
20889
20940
|
};
|
|
20890
|
-
|
|
20891
|
-
// ../composition/src/outro.ts
|
|
20892
|
-
var hex4 = external_exports.string().regex(/^#[0-9a-fA-F]{6}$/);
|
|
20941
|
+
var hex22 = external_exports.string().regex(/^#[0-9a-fA-F]{6}$/);
|
|
20893
20942
|
var font = external_exports.enum(FONT_IDS);
|
|
20894
20943
|
var OUTRO_BACKDROPS = ["scrim", "darken", "blur"];
|
|
20895
20944
|
var OUTRO_TRANSITIONS = ["none", "flash", "glitch", "burn"];
|
|
20896
20945
|
var OutroDesignSchema = external_exports.object({
|
|
20897
|
-
palette: external_exports.object({ text:
|
|
20946
|
+
palette: external_exports.object({ text: hex22, muted: hex22, accent: hex22, shade: hex22 }).strict(),
|
|
20898
20947
|
title_font: font,
|
|
20899
20948
|
artist_font: font,
|
|
20900
20949
|
title_uppercase: external_exports.boolean(),
|
|
@@ -20911,17 +20960,17 @@ var OutroDesignSchema = external_exports.object({
|
|
|
20911
20960
|
transition: external_exports.enum(OUTRO_TRANSITIONS)
|
|
20912
20961
|
}).strict();
|
|
20913
20962
|
var OutroDisplaySchema = DisplaySchema.omit({ lyrics: true, headline: true, title_card: true });
|
|
20914
|
-
|
|
20915
|
-
// ../composition/src/visualizers/choice-schema.ts
|
|
20963
|
+
var VISUAL_STRENGTH = { min: 0.1, max: 1, step: 0.05 };
|
|
20916
20964
|
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"');
|
|
20917
20965
|
var VisualChoiceSchema = external_exports.object({
|
|
20918
20966
|
/** The visual for the whole song, or "none" (no visual at all). */
|
|
20919
20967
|
preset: external_exports.union([external_exports.literal("none"), VisualKeySchema]),
|
|
20920
20968
|
/** Another visual for some sections (intro, verse, chorus, bridge, drop, outro). */
|
|
20921
|
-
sections: external_exports.partialRecord(external_exports.enum(SECTION_TYPES), VisualKeySchema).optional()
|
|
20969
|
+
sections: external_exports.partialRecord(external_exports.enum(SECTION_TYPES), VisualKeySchema).optional(),
|
|
20970
|
+
/** How strongly it shows over a picture (clips), 0.1–1; left out, the visual's own level (visualStrength). The Visualizer picture
|
|
20971
|
+
* always plays it at full strength. */
|
|
20972
|
+
strength: external_exports.number().min(VISUAL_STRENGTH.min).max(VISUAL_STRENGTH.max).optional()
|
|
20922
20973
|
}).strict();
|
|
20923
|
-
|
|
20924
|
-
// ../composition/src/background-motion.ts
|
|
20925
20974
|
var DIRECTIONS = {
|
|
20926
20975
|
center: [0, 0],
|
|
20927
20976
|
up: [0, -1],
|
|
@@ -20933,8 +20982,6 @@ var DIRECTIONS = {
|
|
|
20933
20982
|
"down-left": [-Math.SQRT1_2, Math.SQRT1_2],
|
|
20934
20983
|
"down-right": [Math.SQRT1_2, Math.SQRT1_2]
|
|
20935
20984
|
};
|
|
20936
|
-
|
|
20937
|
-
// ../composition/src/stock.ts
|
|
20938
20985
|
var STOCK_PROVIDERS = {
|
|
20939
20986
|
pexels: { name: "Pexels", url: "https://www.pexels.com", kinds: ["photo", "video"] },
|
|
20940
20987
|
// Pixabay's API serves photos at most 1280 px: too small for a background, so only its videos are offered.
|
|
@@ -20942,13 +20989,9 @@ var STOCK_PROVIDERS = {
|
|
|
20942
20989
|
};
|
|
20943
20990
|
var STOCK_PROVIDER_IDS = Object.keys(STOCK_PROVIDERS);
|
|
20944
20991
|
var STOCK_ITEM_ID_PATTERN = new RegExp(`^(?:(${STOCK_PROVIDER_IDS.join("|")}):)?\\d{1,20}$`);
|
|
20945
|
-
|
|
20946
|
-
// ../composition/src/clips-editor.ts
|
|
20947
20992
|
var VISUAL_ENERGIES = [{ value: "all", label: "All" }, { value: "calm", label: "Calm" }, { value: "medium", label: "Medium" }, { value: "bold", label: "Bold" }];
|
|
20948
20993
|
var CLIP_SORTS = [{ value: "best", label: "Best first" }, { value: "newest", label: "Newest" }, { value: "length", label: "Length" }];
|
|
20949
20994
|
var CLIP_BROWSE_SHAPES = [{ value: "both", label: "Both" }, { value: "tall", label: "Tall" }, { value: "wide", label: "Wide" }];
|
|
20950
|
-
|
|
20951
|
-
// ../composition/src/canvas-frame.ts
|
|
20952
20995
|
var CANVAS_SPEEDS = [0.25, ...CLIP_SPEEDS];
|
|
20953
20996
|
var CANVAS_CROSSFADE = { min: 0.25, max: 2, default: 0.75, step: 0.05 };
|
|
20954
20997
|
var CANVAS_CAMERAS = ["still", "push", "pull"];
|
|
@@ -20957,8 +21000,6 @@ var CANVAS_ROTATIONS = [0, 90, 180, 270];
|
|
|
20957
21000
|
var CANVAS_ZOOM = { min: 1, max: 3 };
|
|
20958
21001
|
var HEX_COLOUR = /^#[0-9a-fA-F]{6}$/;
|
|
20959
21002
|
var DEFAULT_CANVAS_FRAME = { crossfade: CANVAS_CROSSFADE.default, camera: "still", fade: false, x: 0, y: 0, zoom: 1, rotate: 0, colour: null, steady: false };
|
|
20960
|
-
|
|
20961
|
-
// ../composition/src/canvas-settings.ts
|
|
20962
21003
|
var CANVAS_SECONDS = { min: 3, max: 8, default: 8 };
|
|
20963
21004
|
var CANVAS_VISUAL_KEY = /^[A-Za-z0-9-]+\/[a-z0-9-]+$/;
|
|
20964
21005
|
var CanvasLookSchema = external_exports.object({
|
|
@@ -20977,8 +21018,6 @@ var CanvasLookSchema = external_exports.object({
|
|
|
20977
21018
|
light: external_exports.string().regex(CANVAS_VISUAL_KEY, "A visual key from GET /v1/options (canvas.visuals)").nullable().default(null),
|
|
20978
21019
|
atmosphere: external_exports.enum(OVERLAYS).default("none")
|
|
20979
21020
|
}).strict().refine((v) => v.fill !== "colour" || v.fill_colour, { message: "A colour fill needs fill_colour", path: ["fill_colour"] });
|
|
20980
|
-
|
|
20981
|
-
// ../video-types/src/kit.ts
|
|
20982
21021
|
var KIT_KINDS = ["outfit", "place", "prop"];
|
|
20983
21022
|
var KIT_ANGLES = ["wide", "three-quarter", "side", "reverse", "corner", "low", "high", "overhead", "detail", "framed"];
|
|
20984
21023
|
var KIT_ANGLE_LINES = {
|
|
@@ -20999,8 +21038,6 @@ var SHOT_ANGLES = ["front", "three-quarter", "side", "low", "high", "over-should
|
|
|
20999
21038
|
var SHOT_MOVES = ["push-in", "pull-out", "arc", "tilt", "dolly", "handheld", "locked-off"];
|
|
21000
21039
|
var CHARACTER_DESCRIPTION_MIN = 10;
|
|
21001
21040
|
var CHARACTER_DESCRIPTION_MAX = 600;
|
|
21002
|
-
|
|
21003
|
-
// ../video-types/src/model-guide.ts
|
|
21004
21041
|
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" };
|
|
21005
21042
|
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" };
|
|
21006
21043
|
var DA_MULTI = { board: "DesignArena \xB7 Multi-image to video", source: "DesignArena", url: "https://designarena.ai/leaderboard?tab=video§ion=video&board=multi-to-video" };
|
|
@@ -21056,8 +21093,6 @@ var MUSIC_VIDEO_MODEL_GUIDES = {
|
|
|
21056
21093
|
benchmarks: [{ ...DA_MULTI, entry: "Seedance 2.0 Mini", score: 1292, date: READ }]
|
|
21057
21094
|
}
|
|
21058
21095
|
};
|
|
21059
|
-
|
|
21060
|
-
// ../video-types/src/visual-styles.ts
|
|
21061
21096
|
var MUSIC_VIDEO_STYLE_IDS = [
|
|
21062
21097
|
"natural",
|
|
21063
21098
|
"film",
|
|
@@ -21078,8 +21113,6 @@ var MUSIC_VIDEO_STYLE_IDS = [
|
|
|
21078
21113
|
"anime",
|
|
21079
21114
|
"clay"
|
|
21080
21115
|
];
|
|
21081
|
-
|
|
21082
|
-
// ../video-types/src/cover-art.ts
|
|
21083
21116
|
var COVER_STYLE_IDS = ["auto", "portrait", "snapshot", "film-still", "object", "place", "painted", "illustrated", "cartoon", "anime", "collage", "3d", "graphic", "type"];
|
|
21084
21117
|
var COVER_VIBE_IDS = ["dark", "sad", "romantic", "aggressive", "luxury", "aesthetic", "urban", "hood", "space", "surreal", "vintage"];
|
|
21085
21118
|
var COVER_VIBES_MAX = 2;
|
|
@@ -21132,8 +21165,6 @@ var CoverRequestSchema = external_exports.object({
|
|
|
21132
21165
|
credits: external_exports.number().int().positive()
|
|
21133
21166
|
}).strict().refine((r) => r.style !== "type" || r.words !== "none", { message: "The Type style needs words: title, or artist and title", path: ["words"] });
|
|
21134
21167
|
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();
|
|
21135
|
-
|
|
21136
|
-
// ../video-types/src/song-models.ts
|
|
21137
21168
|
var SONG_MODEL_IDS = ["mureka-v9-5", "lyria-3-5", "eleven-music-v2-5", "minimax-music-3"];
|
|
21138
21169
|
var DEFAULT_SONG_MODEL = "mureka-v9-5";
|
|
21139
21170
|
var SONG_TAKES = { min: 1, max: 4 };
|
|
@@ -21165,8 +21196,6 @@ var SongDraftFormSchema = external_exports.object({
|
|
|
21165
21196
|
write_id: external_exports.string().max(80).optional()
|
|
21166
21197
|
}).strict();
|
|
21167
21198
|
var SongWritePickSchema = external_exports.object({ style: external_exports.boolean().optional(), voice: external_exports.boolean().optional() }).strict();
|
|
21168
|
-
|
|
21169
|
-
// ../video-types/src/index.ts
|
|
21170
21199
|
var MAX_VARIATIONS = 4;
|
|
21171
21200
|
var variations = external_exports.number().int().min(1).max(MAX_VARIATIONS).default(1);
|
|
21172
21201
|
var MIN_TRIM_SECONDS = 8;
|
|
@@ -21202,6 +21231,7 @@ var UploadCreateSchema = external_exports.object({
|
|
|
21202
21231
|
}).strict();
|
|
21203
21232
|
var LookRequestSchema = external_exports.object({
|
|
21204
21233
|
lyric_style: external_exports.enum(LYRIC_STYLE_IDS).optional(),
|
|
21234
|
+
colours: external_exports.enum(COLOUR_CHOICES).optional(),
|
|
21205
21235
|
behind: external_exports.boolean().optional(),
|
|
21206
21236
|
visual: VisualChoiceSchema.optional(),
|
|
21207
21237
|
background: BackgroundChoiceSchema.optional()
|
|
@@ -21296,8 +21326,12 @@ var VideoDraftEditShape = external_exports.object({
|
|
|
21296
21326
|
type: external_exports.enum(["lyric-video", "canvas"]).default("lyric-video"),
|
|
21297
21327
|
reset: external_exports.boolean().optional(),
|
|
21298
21328
|
lyric_style: external_exports.enum(LYRIC_STYLE_IDS).nullable().optional(),
|
|
21329
|
+
/** A lyric video's colours: "style" (its lyric style's own), "cover" (the song's cover's) or a set (get_options colours). */
|
|
21330
|
+
colours: external_exports.enum(COLOUR_CHOICES).optional(),
|
|
21299
21331
|
behind: external_exports.boolean().nullable().optional(),
|
|
21300
21332
|
visual: external_exports.string().min(1).max(120).nullable().optional(),
|
|
21333
|
+
/** How strongly a lyric video's visual shows over clips (0.1–1); null: the visual's own level. */
|
|
21334
|
+
visual_strength: external_exports.number().min(VISUAL_STRENGTH.min).max(VISUAL_STRENGTH.max).nullable().optional(),
|
|
21301
21335
|
picture: external_exports.enum(["clips", "visualizer", "cover"]).optional(),
|
|
21302
21336
|
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(),
|
|
21303
21337
|
density: external_exports.enum(CUT_DENSITIES).optional(),
|
|
@@ -21345,7 +21379,7 @@ function checkVideoDraftEdit(v, ctx) {
|
|
|
21345
21379
|
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)` });
|
|
21346
21380
|
if (v.picture === "cover") ctx.addIssue({ code: "custom", path: ["picture"], message: "A lyric video's picture is clips or visualizer" });
|
|
21347
21381
|
} else {
|
|
21348
|
-
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` });
|
|
21382
|
+
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` });
|
|
21349
21383
|
}
|
|
21350
21384
|
}
|
|
21351
21385
|
var VideoDraftEditSchema = VideoDraftEditShape.superRefine(checkVideoDraftEdit);
|
|
@@ -21622,11 +21656,7 @@ var MusicVideoRequestSchema = external_exports.object({
|
|
|
21622
21656
|
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" });
|
|
21623
21657
|
});
|
|
21624
21658
|
var VideoRequestSchema = external_exports.discriminatedUnion("type", [LyricVideoRequestSchema, CanvasRequestSchema, MusicVideoRequestSchema]);
|
|
21625
|
-
|
|
21626
|
-
// ../api-spec/src/song-brief.ts
|
|
21627
21659
|
var SONG_BRIEF_LIMITS = { theme: 400, tone: 80, story: 1200, setting: 300, section: 60, feeling: 240, sections: 40 };
|
|
21628
|
-
|
|
21629
|
-
// ../api-spec/src/artist-pages.ts
|
|
21630
21660
|
var seg = (re) => (url2) => url2.pathname.match(re)?.[1] ?? null;
|
|
21631
21661
|
var PLATFORMS = [
|
|
21632
21662
|
{ id: "apple_music", name: "Apple Music", category: "listen", icon: "applemusic", color: "#FA243C", hosts: ["music.apple.com", "itunes.apple.com"], externalId: seg(/\/artist\/(?:[^/]+\/)?(\d+)/) },
|
|
@@ -21791,7 +21821,7 @@ var PAGE_THEMES = ["stage", "paper", "neon", "studio"];
|
|
|
21791
21821
|
var PAGE_FONTS = ["anton", "fraunces", "unbounded", "bebas", "archivo", "playfair"];
|
|
21792
21822
|
var PAGE_BUTTONS = ["solid", "outline", "pill"];
|
|
21793
21823
|
var PAGE_LAYOUTS = ["column", "split"];
|
|
21794
|
-
var
|
|
21824
|
+
var hex32 = external_exports.string().regex(/^#[0-9a-f]{6}$/i, "A colour like #f0a845");
|
|
21795
21825
|
var id = external_exports.string().min(1).max(80);
|
|
21796
21826
|
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) };
|
|
21797
21827
|
var PageSectionSchema = external_exports.discriminatedUnion("type", [
|
|
@@ -21815,8 +21845,8 @@ var PageSectionSchema = external_exports.discriminatedUnion("type", [
|
|
|
21815
21845
|
]);
|
|
21816
21846
|
var PageDocSchema = external_exports.object({
|
|
21817
21847
|
theme: external_exports.enum(PAGE_THEMES).default("stage"),
|
|
21818
|
-
accent:
|
|
21819
|
-
background: external_exports.discriminatedUnion("kind", [external_exports.object({ kind: external_exports.literal("color"), color:
|
|
21848
|
+
accent: hex32.nullable().default(null).describe("null uses the theme's accent"),
|
|
21849
|
+
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),
|
|
21820
21850
|
font: external_exports.enum(PAGE_FONTS).nullable().default(null),
|
|
21821
21851
|
buttons: external_exports.enum(PAGE_BUTTONS).nullable().default(null),
|
|
21822
21852
|
layout: external_exports.enum(PAGE_LAYOUTS).nullable().default(null),
|
|
@@ -21833,20 +21863,14 @@ var PageDocSchema = external_exports.object({
|
|
|
21833
21863
|
}).default({ ga4: null, meta_pixel: null, tiktok_pixel: null }).describe("The artist's own tracking IDs (plans only); pixels load after the fan accepts")
|
|
21834
21864
|
});
|
|
21835
21865
|
var PageDocPatchSchema = external_exports.object(Object.fromEntries(Object.entries(PageDocSchema.shape).map(([key, schema]) => [key, (schema instanceof external_exports.ZodDefault ? schema.unwrap() : schema).optional()])));
|
|
21836
|
-
|
|
21837
|
-
// ../api-spec/src/versioning.ts
|
|
21838
21866
|
var API_VERSION = 1;
|
|
21839
21867
|
var deprecationNote = (d) => `Deprecated since ${d.since}${d.use ? `: use ${d.use} instead` : ""}. It stops working on ${d.sunset}.`;
|
|
21840
|
-
|
|
21841
|
-
// ../api-spec/src/queue.ts
|
|
21842
21868
|
var minutes = (seconds) => Math.max(1, Math.round(seconds / 60));
|
|
21843
21869
|
function queueLabel(queue) {
|
|
21844
21870
|
if (queue.reason === "plan_limit") return queue.position && queue.position > 1 ? `#${queue.position} in line` : "Next in line";
|
|
21845
21871
|
if (queue.reason === "generator_capacity") return queue.position && queue.position > 1 ? `Generators busy \xB7 #${queue.position} in line` : "Generators busy \xB7 next in line";
|
|
21846
21872
|
return queue.estimated_wait_seconds != null ? `Machines busy \xB7 about ${minutes(queue.estimated_wait_seconds)} min` : "Machines busy";
|
|
21847
21873
|
}
|
|
21848
|
-
|
|
21849
|
-
// ../api-spec/src/index.ts
|
|
21850
21874
|
var SCOPES = ["videos:read", "videos:write", "music:read", "music:write", "library:read", "library:write", "organizations:read", "organizations:write"];
|
|
21851
21875
|
var SCOPE_DESCRIPTIONS = {
|
|
21852
21876
|
"videos:read": "See videos, quotes and your credit balance",
|
|
@@ -21909,9 +21933,9 @@ var lyricInput = external_exports.object({
|
|
|
21909
21933
|
song_id: songId,
|
|
21910
21934
|
callback_url: CALLBACK,
|
|
21911
21935
|
metadata: METADATA,
|
|
21912
|
-
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
|
|
21936
|
+
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)`),
|
|
21913
21937
|
aspect_ratios: lyricShape.aspect_ratios.describe('Formats to render, each its own file: "9:16" (vertical), "16:9" (wide), "1:1" (square)'),
|
|
21914
|
-
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)"),
|
|
21938
|
+
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)"),
|
|
21915
21939
|
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)"),
|
|
21916
21940
|
variations: lyricShape.variations.describe("1\u20134 videos with a clips picture, each drawing other clips (the next seed); one otherwise"),
|
|
21917
21941
|
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`)
|
|
@@ -22196,7 +22220,7 @@ var OPERATIONS = [
|
|
|
22196
22220
|
group: "account",
|
|
22197
22221
|
title: "List the options",
|
|
22198
22222
|
summary: "Video types, lyric styles, clip moods, formats and the current credit prices",
|
|
22199
|
-
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.",
|
|
22223
|
+
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.",
|
|
22200
22224
|
method: "GET",
|
|
22201
22225
|
path: "/api/v1/options",
|
|
22202
22226
|
scopes: ["videos:read", "music:read", "library:read"],
|
|
@@ -23009,7 +23033,7 @@ var OPERATIONS = [
|
|
|
23009
23033
|
...search("Part of the song title or artist name"),
|
|
23010
23034
|
status: external_exports.enum(["pending", "processing", "ready", "failed"]).optional().describe("Only songs whose analysis has this status (ready = usable for videos)"),
|
|
23011
23035
|
sort: external_exports.enum(["title", "newest"]).optional().describe("title (default): by artist then title; newest: latest uploads first"),
|
|
23012
|
-
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
|
|
23036
|
+
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"),
|
|
23013
23037
|
source: external_exports.enum(["made", "uploaded"]).optional().describe("made: only songs Kinetune made (make_song); uploaded: only songs uploaded or imported"),
|
|
23014
23038
|
counts: external_exports.boolean().optional().describe("true: also answer counts: songs (the artist's when artist_id is given), made, uploaded, and artists")
|
|
23015
23039
|
}),
|
|
@@ -23171,7 +23195,7 @@ var OPERATIONS = [
|
|
|
23171
23195
|
group: "songs",
|
|
23172
23196
|
title: "Rename a song",
|
|
23173
23197
|
summary: "Change a song\u2019s title",
|
|
23174
|
-
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
|
|
23198
|
+
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.`,
|
|
23175
23199
|
method: "PATCH",
|
|
23176
23200
|
path: "/api/v1/songs/{song_id}",
|
|
23177
23201
|
scopes: ["music:write", "videos:write"],
|
|
@@ -23270,12 +23294,12 @@ var OPERATIONS = [
|
|
|
23270
23294
|
title: external_exports.string().trim().max(SONG_TITLE_MAX).optional().describe("The song\u2019s title"),
|
|
23271
23295
|
style: external_exports.string().trim().min(1).max(SONG_STYLE_MAX).describe("Genre, mood, tempo, instruments; never another artist\u2019s name"),
|
|
23272
23296
|
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"),
|
|
23273
|
-
length: external_exports.union([external_exports.literal("auto"), external_exports.number().int()]).optional().describe("Seconds, one of the model\u2019s lengths, or auto"),
|
|
23297
|
+
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)"),
|
|
23274
23298
|
takes: external_exports.number().int().min(SONG_TAKES.min).max(SONG_TAKES.max).optional().describe("How many takes, 1 to 4 (default 2)"),
|
|
23275
23299
|
credits: external_exports.number().int().min(0).describe("credits from quote_new_song")
|
|
23276
23300
|
}),
|
|
23277
23301
|
readOnly: false,
|
|
23278
|
-
destructive:
|
|
23302
|
+
destructive: true,
|
|
23279
23303
|
idempotent: false,
|
|
23280
23304
|
cli: ["songs", "make"],
|
|
23281
23305
|
mcp: "make_song",
|
|
@@ -23348,13 +23372,13 @@ var OPERATIONS = [
|
|
|
23348
23372
|
title: external_exports.string().max(SONG_TITLE_MAX).optional().describe("The song\u2019s title"),
|
|
23349
23373
|
style: external_exports.array(external_exports.string().max(80)).max(12).optional().describe("Style words: genre, mood, tempo, instruments"),
|
|
23350
23374
|
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"),
|
|
23351
|
-
length: external_exports.union([external_exports.literal("auto"), external_exports.number().int()]).optional().describe("Seconds, one of the model\u2019s lengths, or auto"),
|
|
23375
|
+
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)"),
|
|
23352
23376
|
takes: external_exports.number().int().min(SONG_TAKES.min).max(SONG_TAKES.max).optional().describe("How many takes, 1 to 4"),
|
|
23353
23377
|
write_id: external_exports.string().optional().describe("The kept write the lyrics came from (get_song_creation_draft writes[].id)")
|
|
23354
23378
|
}).describe("The Create a song fields")
|
|
23355
23379
|
}),
|
|
23356
23380
|
readOnly: false,
|
|
23357
|
-
destructive:
|
|
23381
|
+
destructive: true,
|
|
23358
23382
|
idempotent: true,
|
|
23359
23383
|
cli: ["songs", "save-new-draft"],
|
|
23360
23384
|
mcp: "save_song_creation_draft"
|
|
@@ -23413,7 +23437,7 @@ var OPERATIONS = [
|
|
|
23413
23437
|
credits: external_exports.number().int().min(0).describe("credits from get_artist_voice for this source")
|
|
23414
23438
|
}),
|
|
23415
23439
|
readOnly: false,
|
|
23416
|
-
destructive:
|
|
23440
|
+
destructive: true,
|
|
23417
23441
|
idempotent: false,
|
|
23418
23442
|
cli: ["artists", "set-voice"],
|
|
23419
23443
|
mcp: "set_artist_voice"
|
|
@@ -23693,7 +23717,8 @@ var OPERATIONS = [
|
|
|
23693
23717
|
input: external_exports.object({
|
|
23694
23718
|
song_id: songId,
|
|
23695
23719
|
credits: external_exports.number().int().min(0).optional().describe("The price you were shown (get_transcription_price)"),
|
|
23696
|
-
language: external_exports.string().max(20).nullable().optional().describe('The language it is sung in, e.g. "fr"; omitted: the one the analysis found')
|
|
23720
|
+
language: external_exports.string().max(20).nullable().optional().describe('The language it is sung in, e.g. "fr"; omitted: the one the analysis found'),
|
|
23721
|
+
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")
|
|
23697
23722
|
}),
|
|
23698
23723
|
readOnly: false,
|
|
23699
23724
|
destructive: true,
|
|
@@ -23769,13 +23794,13 @@ var OPERATIONS = [
|
|
|
23769
23794
|
group: "clips",
|
|
23770
23795
|
title: "Change the video draft",
|
|
23771
23796
|
summary: "Change the person's lyric video or Canvas draft: style, clips, a clip at a cut, transitions, grade, effects, format",
|
|
23772
|
-
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.",
|
|
23797
|
+
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, 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.",
|
|
23773
23798
|
method: "PATCH",
|
|
23774
23799
|
path: "/api/v1/songs/{song_id}/video-draft",
|
|
23775
23800
|
scopes: ["videos:write"],
|
|
23776
23801
|
input: external_exports.object({ song_id: songId, ...VideoDraftEditShape.shape }).superRefine(checkVideoDraftEdit),
|
|
23777
23802
|
readOnly: false,
|
|
23778
|
-
destructive:
|
|
23803
|
+
destructive: true,
|
|
23779
23804
|
idempotent: false,
|
|
23780
23805
|
cli: ["drafts", "edit"],
|
|
23781
23806
|
mcp: "edit_video_draft",
|
|
@@ -23787,7 +23812,7 @@ var OPERATIONS = [
|
|
|
23787
23812
|
group: "clips",
|
|
23788
23813
|
title: "Get a song's draft lyric video",
|
|
23789
23814
|
summary: "The lyric style and clips picture Kinetune picks for a song, at once and without AI",
|
|
23790
|
-
description:
|
|
23815
|
+
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.`,
|
|
23791
23816
|
method: "GET",
|
|
23792
23817
|
path: "/api/v1/songs/{song_id}/draft",
|
|
23793
23818
|
scopes: ["videos:read", "videos:write"],
|
|
@@ -25134,8 +25159,8 @@ function openApiDocument(input2) {
|
|
|
25134
25159
|
const variants = ops.map((op) => {
|
|
25135
25160
|
const schema = inputJsonSchema(op);
|
|
25136
25161
|
const props2 = schema.properties ?? {};
|
|
25137
|
-
const
|
|
25138
|
-
return { op, props: props2, required:
|
|
25162
|
+
const required22 = new Set(schema.required ?? []);
|
|
25163
|
+
return { op, props: props2, required: required22 };
|
|
25139
25164
|
});
|
|
25140
25165
|
const { props, required: required2 } = variants[0];
|
|
25141
25166
|
const params = Object.entries(props).filter(([name]) => inPath.has(name) || first.method === "GET" || first.method === "DELETE").map(([name, s]) => ({
|
|
@@ -25210,7 +25235,7 @@ function openApiDocument(input2) {
|
|
|
25210
25235
|
}
|
|
25211
25236
|
var ref = (name) => ({ $ref: `#/components/schemas/${name}` });
|
|
25212
25237
|
|
|
25213
|
-
//
|
|
25238
|
+
// node_modules/commander/lib/error.js
|
|
25214
25239
|
var CommanderError = class extends Error {
|
|
25215
25240
|
/**
|
|
25216
25241
|
* Constructs the CommanderError class
|
|
@@ -25239,7 +25264,7 @@ var InvalidArgumentError = class extends CommanderError {
|
|
|
25239
25264
|
}
|
|
25240
25265
|
};
|
|
25241
25266
|
|
|
25242
|
-
//
|
|
25267
|
+
// node_modules/commander/lib/argument.js
|
|
25243
25268
|
var Argument = class {
|
|
25244
25269
|
/**
|
|
25245
25270
|
* Initialize a new command argument with the given name and description.
|
|
@@ -25360,7 +25385,7 @@ function humanReadableArgName(arg) {
|
|
|
25360
25385
|
return arg.required ? "<" + nameOutput + ">" : "[" + nameOutput + "]";
|
|
25361
25386
|
}
|
|
25362
25387
|
|
|
25363
|
-
//
|
|
25388
|
+
// node_modules/commander/lib/command.js
|
|
25364
25389
|
import { EventEmitter } from "node:events";
|
|
25365
25390
|
import childProcess from "node:child_process";
|
|
25366
25391
|
import path from "node:path";
|
|
@@ -25368,7 +25393,7 @@ import fs from "node:fs";
|
|
|
25368
25393
|
import process2 from "node:process";
|
|
25369
25394
|
import { stripVTControlCharacters as stripVTControlCharacters2 } from "node:util";
|
|
25370
25395
|
|
|
25371
|
-
//
|
|
25396
|
+
// node_modules/commander/lib/help.js
|
|
25372
25397
|
import { stripVTControlCharacters } from "node:util";
|
|
25373
25398
|
var Help = class {
|
|
25374
25399
|
constructor() {
|
|
@@ -25437,11 +25462,11 @@ var Help = class {
|
|
|
25437
25462
|
visibleOptions.push(helpOption);
|
|
25438
25463
|
} else if (helpOption.long && !removeLong) {
|
|
25439
25464
|
visibleOptions.push(
|
|
25440
|
-
cmd.createOption(helpOption.long, helpOption.description)
|
|
25465
|
+
cmd.createOption(helpOption.long, helpOption.description).helpGroup(helpOption.helpGroupHeading)
|
|
25441
25466
|
);
|
|
25442
25467
|
} else if (helpOption.short && !removeShort) {
|
|
25443
25468
|
visibleOptions.push(
|
|
25444
|
-
cmd.createOption(helpOption.short, helpOption.description)
|
|
25469
|
+
cmd.createOption(helpOption.short, helpOption.description).helpGroup(helpOption.helpGroupHeading)
|
|
25445
25470
|
);
|
|
25446
25471
|
}
|
|
25447
25472
|
}
|
|
@@ -25960,7 +25985,7 @@ ${itemIndentStr}`);
|
|
|
25960
25985
|
}
|
|
25961
25986
|
};
|
|
25962
25987
|
|
|
25963
|
-
//
|
|
25988
|
+
// node_modules/commander/lib/option.js
|
|
25964
25989
|
var Option = class {
|
|
25965
25990
|
/**
|
|
25966
25991
|
* Initialize a new `Option` with the given `flags` and `description`.
|
|
@@ -25973,7 +25998,7 @@ var Option = class {
|
|
|
25973
25998
|
this.description = description || "";
|
|
25974
25999
|
this.required = flags.includes("<");
|
|
25975
26000
|
this.optional = flags.includes("[");
|
|
25976
|
-
this.variadic =
|
|
26001
|
+
this.variadic = new RegExp("\\p{ID_Continue}\\.\\.\\.[>\\]]$", "u").test(flags);
|
|
25977
26002
|
this.mandatory = false;
|
|
25978
26003
|
const optionFlags = splitOptionFlags(flags);
|
|
25979
26004
|
this.short = optionFlags.shortFlag;
|
|
@@ -26266,7 +26291,7 @@ function splitOptionFlags(flags) {
|
|
|
26266
26291
|
return { shortFlag, longFlag };
|
|
26267
26292
|
}
|
|
26268
26293
|
|
|
26269
|
-
//
|
|
26294
|
+
// node_modules/commander/lib/suggestSimilar.js
|
|
26270
26295
|
var maxDistance = 3;
|
|
26271
26296
|
function editDistance(a, b) {
|
|
26272
26297
|
if (Math.abs(a.length - b.length) > maxDistance)
|
|
@@ -26341,7 +26366,7 @@ function suggestSimilar(word, candidates) {
|
|
|
26341
26366
|
return "";
|
|
26342
26367
|
}
|
|
26343
26368
|
|
|
26344
|
-
//
|
|
26369
|
+
// node_modules/commander/lib/command.js
|
|
26345
26370
|
var Command = class _Command extends EventEmitter {
|
|
26346
26371
|
/**
|
|
26347
26372
|
* Initialize a new `Command`.
|
|
@@ -27156,7 +27181,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
27156
27181
|
getOptionValueSourceWithGlobals(key) {
|
|
27157
27182
|
let source;
|
|
27158
27183
|
this._getCommandAndAncestors().forEach((cmd) => {
|
|
27159
|
-
if (cmd.
|
|
27184
|
+
if (Object.hasOwn(cmd._optionValueSources, key)) {
|
|
27160
27185
|
source = cmd.getOptionValueSource(key);
|
|
27161
27186
|
}
|
|
27162
27187
|
});
|
|
@@ -27799,7 +27824,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
27799
27824
|
return arg.length > 1 && arg[0] === "-";
|
|
27800
27825
|
}
|
|
27801
27826
|
const negativeNumberArg = (arg) => {
|
|
27802
|
-
if (!/^-(\d+|\d*\.\d+)(
|
|
27827
|
+
if (!/^-(\d+|\d*\.\d+)([eE][+-]?\d+)?$/.test(arg)) return false;
|
|
27803
27828
|
return !this._getCommandAndAncestors().some(
|
|
27804
27829
|
(cmd) => cmd.options.map((opt) => opt.short).some((short2) => /^-\d$/.test(short2))
|
|
27805
27830
|
);
|
|
@@ -28247,7 +28272,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
28247
28272
|
* (This does not override a group set directly on the subcommand using .helpGroup().)
|
|
28248
28273
|
*
|
|
28249
28274
|
* @example
|
|
28250
|
-
* program.commandsGroup('Development Commands:);
|
|
28275
|
+
* program.commandsGroup('Development Commands:');
|
|
28251
28276
|
* program.command('watch')...
|
|
28252
28277
|
* program.command('lint')...
|
|
28253
28278
|
* ...
|
|
@@ -28418,7 +28443,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
28418
28443
|
* Pass in false to disable the built-in help option.
|
|
28419
28444
|
*
|
|
28420
28445
|
* @example
|
|
28421
|
-
* program.helpOption('-?, --help' 'show help'); // customise
|
|
28446
|
+
* program.helpOption('-?, --help', 'show help'); // customise
|
|
28422
28447
|
* program.helpOption(false); // disable
|
|
28423
28448
|
*
|
|
28424
28449
|
* @param {(string | boolean)} flags
|
|
@@ -28547,16 +28572,20 @@ function incrementNodeInspectorPort(args) {
|
|
|
28547
28572
|
let debugHost = "127.0.0.1";
|
|
28548
28573
|
let debugPort = "9229";
|
|
28549
28574
|
let match;
|
|
28550
|
-
if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
|
|
28575
|
+
if ((match = arg.match(/^(--inspect(-brk|-wait)?)$/)) !== null) {
|
|
28551
28576
|
debugOption = match[1];
|
|
28552
|
-
} else if ((match = arg.match(
|
|
28577
|
+
} else if ((match = arg.match(
|
|
28578
|
+
/^(--inspect(-brk|-port|-wait)?)=(\[[^\]]+\]|[^:]+)$/
|
|
28579
|
+
)) !== null) {
|
|
28553
28580
|
debugOption = match[1];
|
|
28554
28581
|
if (/^\d+$/.test(match[3])) {
|
|
28555
28582
|
debugPort = match[3];
|
|
28556
28583
|
} else {
|
|
28557
28584
|
debugHost = match[3];
|
|
28558
28585
|
}
|
|
28559
|
-
} else if ((match = arg.match(
|
|
28586
|
+
} else if ((match = arg.match(
|
|
28587
|
+
/^(--inspect(-brk|-port|-wait)?)=(\[[^\]]+\]|[^:]+):(\d+)$/
|
|
28588
|
+
)) !== null) {
|
|
28560
28589
|
debugOption = match[1];
|
|
28561
28590
|
debugHost = match[3];
|
|
28562
28591
|
debugPort = match[4];
|
|
@@ -28575,7 +28604,7 @@ function useColor() {
|
|
|
28575
28604
|
return void 0;
|
|
28576
28605
|
}
|
|
28577
28606
|
|
|
28578
|
-
//
|
|
28607
|
+
// node_modules/commander/index.js
|
|
28579
28608
|
var program = new Command();
|
|
28580
28609
|
|
|
28581
28610
|
// src/config.ts
|
|
@@ -28752,10 +28781,22 @@ async function revoke(config2, auth = config2.auth) {
|
|
|
28752
28781
|
// package.json
|
|
28753
28782
|
var package_default = {
|
|
28754
28783
|
name: "@kinetune/cli",
|
|
28755
|
-
version: "5.
|
|
28784
|
+
version: "5.1.0",
|
|
28756
28785
|
description: "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
|
|
28757
28786
|
license: "MIT",
|
|
28787
|
+
author: {
|
|
28788
|
+
name: "Kinetune",
|
|
28789
|
+
email: "support@kinetune.com",
|
|
28790
|
+
url: "https://kinetune.com"
|
|
28791
|
+
},
|
|
28758
28792
|
homepage: "https://kinetune.com/developers#cli",
|
|
28793
|
+
repository: {
|
|
28794
|
+
type: "git",
|
|
28795
|
+
url: "git+https://github.com/kinetune/cli.git"
|
|
28796
|
+
},
|
|
28797
|
+
bugs: {
|
|
28798
|
+
url: "https://github.com/kinetune/cli/issues"
|
|
28799
|
+
},
|
|
28759
28800
|
keywords: [
|
|
28760
28801
|
"lyric video",
|
|
28761
28802
|
"spotify canvas",
|
|
@@ -28777,21 +28818,16 @@ var package_default = {
|
|
|
28777
28818
|
},
|
|
28778
28819
|
scripts: {
|
|
28779
28820
|
build: "node build.mjs",
|
|
28780
|
-
|
|
28781
|
-
test: "vitest run",
|
|
28782
|
-
prepack: "node build.mjs"
|
|
28821
|
+
prepublishOnly: "node build.mjs"
|
|
28783
28822
|
},
|
|
28784
28823
|
devDependencies: {
|
|
28785
|
-
"@kinetune/api-spec": "workspace:*",
|
|
28786
28824
|
commander: "^15.0.0",
|
|
28787
28825
|
esbuild: "^0.28.2",
|
|
28788
|
-
|
|
28789
|
-
typescript: "^5.9.3",
|
|
28790
|
-
vitest: "^3.2.7",
|
|
28791
|
-
zod: "^4.1.11"
|
|
28826
|
+
zod: "^4.6.5"
|
|
28792
28827
|
},
|
|
28793
28828
|
publishConfig: {
|
|
28794
|
-
access: "public"
|
|
28829
|
+
access: "public",
|
|
28830
|
+
provenance: true
|
|
28795
28831
|
}
|
|
28796
28832
|
};
|
|
28797
28833
|
|