@ossdeveloper/github-compliance 1.0.0 → 1.0.1
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/compliance.ts +5 -5
- package/dist/plugin.js +74 -74
- package/package.json +1 -1
package/compliance.ts
CHANGED
|
@@ -72,11 +72,11 @@ export function isGitHubWriteTool(toolName: string): boolean {
|
|
|
72
72
|
* @param args - Arguments passed to the tool
|
|
73
73
|
* @returns Extracted ToolInfo with content hash
|
|
74
74
|
*/
|
|
75
|
-
export function extractToolInfo(toolName: string, args: Record<string, unknown>): ToolInfo {
|
|
76
|
-
const owner = (args
|
|
77
|
-
const repo = (args
|
|
78
|
-
const title = (args
|
|
79
|
-
const body = (args
|
|
75
|
+
export function extractToolInfo(toolName: string, args: Record<string, unknown> | undefined): ToolInfo {
|
|
76
|
+
const owner = (args?.owner as string) || "";
|
|
77
|
+
const repo = (args?.repo as string) || "";
|
|
78
|
+
const title = (args?.title as string) || null;
|
|
79
|
+
const body = (args?.body as string) || null;
|
|
80
80
|
|
|
81
81
|
return {
|
|
82
82
|
toolName,
|
package/dist/plugin.js
CHANGED
|
@@ -347,10 +347,10 @@ function isGitHubWriteTool(toolName) {
|
|
|
347
347
|
return GITHUB_WRITE_TOOLS.includes(toolName);
|
|
348
348
|
}
|
|
349
349
|
function extractToolInfo(toolName, args) {
|
|
350
|
-
const owner = args
|
|
351
|
-
const repo = args
|
|
352
|
-
const title = args
|
|
353
|
-
const body = args
|
|
350
|
+
const owner = args?.owner || "";
|
|
351
|
+
const repo = args?.repo || "";
|
|
352
|
+
const title = args?.title || null;
|
|
353
|
+
const body = args?.body || null;
|
|
354
354
|
return {
|
|
355
355
|
toolName,
|
|
356
356
|
owner,
|
|
@@ -474,7 +474,7 @@ ${baseError}
|
|
|
474
474
|
return baseError;
|
|
475
475
|
}
|
|
476
476
|
|
|
477
|
-
// ../../
|
|
477
|
+
// ../../zod/v4/classic/external.js
|
|
478
478
|
var exports_external = {};
|
|
479
479
|
__export(exports_external, {
|
|
480
480
|
xid: () => xid2,
|
|
@@ -704,7 +704,7 @@ __export(exports_external, {
|
|
|
704
704
|
$brand: () => $brand
|
|
705
705
|
});
|
|
706
706
|
|
|
707
|
-
// ../../
|
|
707
|
+
// ../../zod/v4/core/index.js
|
|
708
708
|
var exports_core2 = {};
|
|
709
709
|
__export(exports_core2, {
|
|
710
710
|
version: () => version,
|
|
@@ -968,7 +968,7 @@ __export(exports_core2, {
|
|
|
968
968
|
$ZodAny: () => $ZodAny
|
|
969
969
|
});
|
|
970
970
|
|
|
971
|
-
// ../../
|
|
971
|
+
// ../../zod/v4/core/core.js
|
|
972
972
|
var NEVER = Object.freeze({
|
|
973
973
|
status: "aborted"
|
|
974
974
|
});
|
|
@@ -1035,7 +1035,7 @@ function config(newConfig) {
|
|
|
1035
1035
|
Object.assign(globalConfig, newConfig);
|
|
1036
1036
|
return globalConfig;
|
|
1037
1037
|
}
|
|
1038
|
-
// ../../
|
|
1038
|
+
// ../../zod/v4/core/util.js
|
|
1039
1039
|
var exports_util = {};
|
|
1040
1040
|
__export(exports_util, {
|
|
1041
1041
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -1664,7 +1664,7 @@ class Class {
|
|
|
1664
1664
|
constructor(..._args) {}
|
|
1665
1665
|
}
|
|
1666
1666
|
|
|
1667
|
-
// ../../
|
|
1667
|
+
// ../../zod/v4/core/errors.js
|
|
1668
1668
|
var initializer = (inst, def) => {
|
|
1669
1669
|
inst.name = "$ZodError";
|
|
1670
1670
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1807,7 +1807,7 @@ function prettifyError(error) {
|
|
|
1807
1807
|
`);
|
|
1808
1808
|
}
|
|
1809
1809
|
|
|
1810
|
-
// ../../
|
|
1810
|
+
// ../../zod/v4/core/parse.js
|
|
1811
1811
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
1812
1812
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
1813
1813
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -1894,7 +1894,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1894
1894
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
1895
1895
|
};
|
|
1896
1896
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1897
|
-
// ../../
|
|
1897
|
+
// ../../zod/v4/core/regexes.js
|
|
1898
1898
|
var exports_regexes = {};
|
|
1899
1899
|
__export(exports_regexes, {
|
|
1900
1900
|
xid: () => xid,
|
|
@@ -2046,7 +2046,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2046
2046
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2047
2047
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2048
2048
|
|
|
2049
|
-
// ../../
|
|
2049
|
+
// ../../zod/v4/core/checks.js
|
|
2050
2050
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2051
2051
|
var _a;
|
|
2052
2052
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2587,7 +2587,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2587
2587
|
};
|
|
2588
2588
|
});
|
|
2589
2589
|
|
|
2590
|
-
// ../../
|
|
2590
|
+
// ../../zod/v4/core/doc.js
|
|
2591
2591
|
class Doc {
|
|
2592
2592
|
constructor(args = []) {
|
|
2593
2593
|
this.content = [];
|
|
@@ -2625,14 +2625,14 @@ class Doc {
|
|
|
2625
2625
|
}
|
|
2626
2626
|
}
|
|
2627
2627
|
|
|
2628
|
-
// ../../
|
|
2628
|
+
// ../../zod/v4/core/versions.js
|
|
2629
2629
|
var version = {
|
|
2630
2630
|
major: 4,
|
|
2631
2631
|
minor: 1,
|
|
2632
2632
|
patch: 8
|
|
2633
2633
|
};
|
|
2634
2634
|
|
|
2635
|
-
// ../../
|
|
2635
|
+
// ../../zod/v4/core/schemas.js
|
|
2636
2636
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2637
2637
|
var _a;
|
|
2638
2638
|
inst ?? (inst = {});
|
|
@@ -4455,7 +4455,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4455
4455
|
payload.issues.push(issue(_iss));
|
|
4456
4456
|
}
|
|
4457
4457
|
}
|
|
4458
|
-
// ../../
|
|
4458
|
+
// ../../zod/v4/locales/index.js
|
|
4459
4459
|
var exports_locales = {};
|
|
4460
4460
|
__export(exports_locales, {
|
|
4461
4461
|
zhTW: () => zh_TW_default,
|
|
@@ -4506,7 +4506,7 @@ __export(exports_locales, {
|
|
|
4506
4506
|
ar: () => ar_default
|
|
4507
4507
|
});
|
|
4508
4508
|
|
|
4509
|
-
// ../../
|
|
4509
|
+
// ../../zod/v4/locales/ar.js
|
|
4510
4510
|
var error = () => {
|
|
4511
4511
|
const Sizable = {
|
|
4512
4512
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -4622,7 +4622,7 @@ function ar_default() {
|
|
|
4622
4622
|
localeError: error()
|
|
4623
4623
|
};
|
|
4624
4624
|
}
|
|
4625
|
-
// ../../
|
|
4625
|
+
// ../../zod/v4/locales/az.js
|
|
4626
4626
|
var error2 = () => {
|
|
4627
4627
|
const Sizable = {
|
|
4628
4628
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -4737,7 +4737,7 @@ function az_default() {
|
|
|
4737
4737
|
localeError: error2()
|
|
4738
4738
|
};
|
|
4739
4739
|
}
|
|
4740
|
-
// ../../
|
|
4740
|
+
// ../../zod/v4/locales/be.js
|
|
4741
4741
|
function getBelarusianPlural(count, one, few, many) {
|
|
4742
4742
|
const absCount = Math.abs(count);
|
|
4743
4743
|
const lastDigit = absCount % 10;
|
|
@@ -4901,7 +4901,7 @@ function be_default() {
|
|
|
4901
4901
|
localeError: error3()
|
|
4902
4902
|
};
|
|
4903
4903
|
}
|
|
4904
|
-
// ../../
|
|
4904
|
+
// ../../zod/v4/locales/ca.js
|
|
4905
4905
|
var error4 = () => {
|
|
4906
4906
|
const Sizable = {
|
|
4907
4907
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -5018,7 +5018,7 @@ function ca_default() {
|
|
|
5018
5018
|
localeError: error4()
|
|
5019
5019
|
};
|
|
5020
5020
|
}
|
|
5021
|
-
// ../../
|
|
5021
|
+
// ../../zod/v4/locales/cs.js
|
|
5022
5022
|
var error5 = () => {
|
|
5023
5023
|
const Sizable = {
|
|
5024
5024
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -5153,7 +5153,7 @@ function cs_default() {
|
|
|
5153
5153
|
localeError: error5()
|
|
5154
5154
|
};
|
|
5155
5155
|
}
|
|
5156
|
-
// ../../
|
|
5156
|
+
// ../../zod/v4/locales/da.js
|
|
5157
5157
|
var error6 = () => {
|
|
5158
5158
|
const Sizable = {
|
|
5159
5159
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -5284,7 +5284,7 @@ function da_default() {
|
|
|
5284
5284
|
localeError: error6()
|
|
5285
5285
|
};
|
|
5286
5286
|
}
|
|
5287
|
-
// ../../
|
|
5287
|
+
// ../../zod/v4/locales/de.js
|
|
5288
5288
|
var error7 = () => {
|
|
5289
5289
|
const Sizable = {
|
|
5290
5290
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -5400,7 +5400,7 @@ function de_default() {
|
|
|
5400
5400
|
localeError: error7()
|
|
5401
5401
|
};
|
|
5402
5402
|
}
|
|
5403
|
-
// ../../
|
|
5403
|
+
// ../../zod/v4/locales/en.js
|
|
5404
5404
|
var parsedType = (data) => {
|
|
5405
5405
|
const t = typeof data;
|
|
5406
5406
|
switch (t) {
|
|
@@ -5517,7 +5517,7 @@ function en_default() {
|
|
|
5517
5517
|
localeError: error8()
|
|
5518
5518
|
};
|
|
5519
5519
|
}
|
|
5520
|
-
// ../../
|
|
5520
|
+
// ../../zod/v4/locales/eo.js
|
|
5521
5521
|
var parsedType2 = (data) => {
|
|
5522
5522
|
const t = typeof data;
|
|
5523
5523
|
switch (t) {
|
|
@@ -5633,7 +5633,7 @@ function eo_default() {
|
|
|
5633
5633
|
localeError: error9()
|
|
5634
5634
|
};
|
|
5635
5635
|
}
|
|
5636
|
-
// ../../
|
|
5636
|
+
// ../../zod/v4/locales/es.js
|
|
5637
5637
|
var error10 = () => {
|
|
5638
5638
|
const Sizable = {
|
|
5639
5639
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -5781,7 +5781,7 @@ function es_default() {
|
|
|
5781
5781
|
localeError: error10()
|
|
5782
5782
|
};
|
|
5783
5783
|
}
|
|
5784
|
-
// ../../
|
|
5784
|
+
// ../../zod/v4/locales/fa.js
|
|
5785
5785
|
var error11 = () => {
|
|
5786
5786
|
const Sizable = {
|
|
5787
5787
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -5903,7 +5903,7 @@ function fa_default() {
|
|
|
5903
5903
|
localeError: error11()
|
|
5904
5904
|
};
|
|
5905
5905
|
}
|
|
5906
|
-
// ../../
|
|
5906
|
+
// ../../zod/v4/locales/fi.js
|
|
5907
5907
|
var error12 = () => {
|
|
5908
5908
|
const Sizable = {
|
|
5909
5909
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -6025,7 +6025,7 @@ function fi_default() {
|
|
|
6025
6025
|
localeError: error12()
|
|
6026
6026
|
};
|
|
6027
6027
|
}
|
|
6028
|
-
// ../../
|
|
6028
|
+
// ../../zod/v4/locales/fr.js
|
|
6029
6029
|
var error13 = () => {
|
|
6030
6030
|
const Sizable = {
|
|
6031
6031
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -6141,7 +6141,7 @@ function fr_default() {
|
|
|
6141
6141
|
localeError: error13()
|
|
6142
6142
|
};
|
|
6143
6143
|
}
|
|
6144
|
-
// ../../
|
|
6144
|
+
// ../../zod/v4/locales/fr-CA.js
|
|
6145
6145
|
var error14 = () => {
|
|
6146
6146
|
const Sizable = {
|
|
6147
6147
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -6258,7 +6258,7 @@ function fr_CA_default() {
|
|
|
6258
6258
|
localeError: error14()
|
|
6259
6259
|
};
|
|
6260
6260
|
}
|
|
6261
|
-
// ../../
|
|
6261
|
+
// ../../zod/v4/locales/he.js
|
|
6262
6262
|
var error15 = () => {
|
|
6263
6263
|
const Sizable = {
|
|
6264
6264
|
string: { unit: "\u05D0\u05D5\u05EA\u05D9\u05D5\u05EA", verb: "\u05DC\u05DB\u05DC\u05D5\u05DC" },
|
|
@@ -6374,7 +6374,7 @@ function he_default() {
|
|
|
6374
6374
|
localeError: error15()
|
|
6375
6375
|
};
|
|
6376
6376
|
}
|
|
6377
|
-
// ../../
|
|
6377
|
+
// ../../zod/v4/locales/hu.js
|
|
6378
6378
|
var error16 = () => {
|
|
6379
6379
|
const Sizable = {
|
|
6380
6380
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -6490,7 +6490,7 @@ function hu_default() {
|
|
|
6490
6490
|
localeError: error16()
|
|
6491
6491
|
};
|
|
6492
6492
|
}
|
|
6493
|
-
// ../../
|
|
6493
|
+
// ../../zod/v4/locales/id.js
|
|
6494
6494
|
var error17 = () => {
|
|
6495
6495
|
const Sizable = {
|
|
6496
6496
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -6606,7 +6606,7 @@ function id_default() {
|
|
|
6606
6606
|
localeError: error17()
|
|
6607
6607
|
};
|
|
6608
6608
|
}
|
|
6609
|
-
// ../../
|
|
6609
|
+
// ../../zod/v4/locales/is.js
|
|
6610
6610
|
var parsedType3 = (data) => {
|
|
6611
6611
|
const t = typeof data;
|
|
6612
6612
|
switch (t) {
|
|
@@ -6723,7 +6723,7 @@ function is_default() {
|
|
|
6723
6723
|
localeError: error18()
|
|
6724
6724
|
};
|
|
6725
6725
|
}
|
|
6726
|
-
// ../../
|
|
6726
|
+
// ../../zod/v4/locales/it.js
|
|
6727
6727
|
var error19 = () => {
|
|
6728
6728
|
const Sizable = {
|
|
6729
6729
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -6839,7 +6839,7 @@ function it_default() {
|
|
|
6839
6839
|
localeError: error19()
|
|
6840
6840
|
};
|
|
6841
6841
|
}
|
|
6842
|
-
// ../../
|
|
6842
|
+
// ../../zod/v4/locales/ja.js
|
|
6843
6843
|
var error20 = () => {
|
|
6844
6844
|
const Sizable = {
|
|
6845
6845
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -6954,7 +6954,7 @@ function ja_default() {
|
|
|
6954
6954
|
localeError: error20()
|
|
6955
6955
|
};
|
|
6956
6956
|
}
|
|
6957
|
-
// ../../
|
|
6957
|
+
// ../../zod/v4/locales/ka.js
|
|
6958
6958
|
var parsedType4 = (data) => {
|
|
6959
6959
|
const t = typeof data;
|
|
6960
6960
|
switch (t) {
|
|
@@ -7079,7 +7079,7 @@ function ka_default() {
|
|
|
7079
7079
|
localeError: error21()
|
|
7080
7080
|
};
|
|
7081
7081
|
}
|
|
7082
|
-
// ../../
|
|
7082
|
+
// ../../zod/v4/locales/km.js
|
|
7083
7083
|
var error22 = () => {
|
|
7084
7084
|
const Sizable = {
|
|
7085
7085
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -7197,11 +7197,11 @@ function km_default() {
|
|
|
7197
7197
|
};
|
|
7198
7198
|
}
|
|
7199
7199
|
|
|
7200
|
-
// ../../
|
|
7200
|
+
// ../../zod/v4/locales/kh.js
|
|
7201
7201
|
function kh_default() {
|
|
7202
7202
|
return km_default();
|
|
7203
7203
|
}
|
|
7204
|
-
// ../../
|
|
7204
|
+
// ../../zod/v4/locales/ko.js
|
|
7205
7205
|
var error23 = () => {
|
|
7206
7206
|
const Sizable = {
|
|
7207
7207
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -7322,7 +7322,7 @@ function ko_default() {
|
|
|
7322
7322
|
localeError: error23()
|
|
7323
7323
|
};
|
|
7324
7324
|
}
|
|
7325
|
-
// ../../
|
|
7325
|
+
// ../../zod/v4/locales/lt.js
|
|
7326
7326
|
var parsedType5 = (data) => {
|
|
7327
7327
|
const t = typeof data;
|
|
7328
7328
|
return parsedTypeFromType(t, data);
|
|
@@ -7551,7 +7551,7 @@ function lt_default() {
|
|
|
7551
7551
|
localeError: error24()
|
|
7552
7552
|
};
|
|
7553
7553
|
}
|
|
7554
|
-
// ../../
|
|
7554
|
+
// ../../zod/v4/locales/mk.js
|
|
7555
7555
|
var error25 = () => {
|
|
7556
7556
|
const Sizable = {
|
|
7557
7557
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -7668,7 +7668,7 @@ function mk_default() {
|
|
|
7668
7668
|
localeError: error25()
|
|
7669
7669
|
};
|
|
7670
7670
|
}
|
|
7671
|
-
// ../../
|
|
7671
|
+
// ../../zod/v4/locales/ms.js
|
|
7672
7672
|
var error26 = () => {
|
|
7673
7673
|
const Sizable = {
|
|
7674
7674
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -7784,7 +7784,7 @@ function ms_default() {
|
|
|
7784
7784
|
localeError: error26()
|
|
7785
7785
|
};
|
|
7786
7786
|
}
|
|
7787
|
-
// ../../
|
|
7787
|
+
// ../../zod/v4/locales/nl.js
|
|
7788
7788
|
var error27 = () => {
|
|
7789
7789
|
const Sizable = {
|
|
7790
7790
|
string: { unit: "tekens" },
|
|
@@ -7901,7 +7901,7 @@ function nl_default() {
|
|
|
7901
7901
|
localeError: error27()
|
|
7902
7902
|
};
|
|
7903
7903
|
}
|
|
7904
|
-
// ../../
|
|
7904
|
+
// ../../zod/v4/locales/no.js
|
|
7905
7905
|
var error28 = () => {
|
|
7906
7906
|
const Sizable = {
|
|
7907
7907
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -8017,7 +8017,7 @@ function no_default() {
|
|
|
8017
8017
|
localeError: error28()
|
|
8018
8018
|
};
|
|
8019
8019
|
}
|
|
8020
|
-
// ../../
|
|
8020
|
+
// ../../zod/v4/locales/ota.js
|
|
8021
8021
|
var error29 = () => {
|
|
8022
8022
|
const Sizable = {
|
|
8023
8023
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -8133,7 +8133,7 @@ function ota_default() {
|
|
|
8133
8133
|
localeError: error29()
|
|
8134
8134
|
};
|
|
8135
8135
|
}
|
|
8136
|
-
// ../../
|
|
8136
|
+
// ../../zod/v4/locales/ps.js
|
|
8137
8137
|
var error30 = () => {
|
|
8138
8138
|
const Sizable = {
|
|
8139
8139
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -8255,7 +8255,7 @@ function ps_default() {
|
|
|
8255
8255
|
localeError: error30()
|
|
8256
8256
|
};
|
|
8257
8257
|
}
|
|
8258
|
-
// ../../
|
|
8258
|
+
// ../../zod/v4/locales/pl.js
|
|
8259
8259
|
var error31 = () => {
|
|
8260
8260
|
const Sizable = {
|
|
8261
8261
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -8372,7 +8372,7 @@ function pl_default() {
|
|
|
8372
8372
|
localeError: error31()
|
|
8373
8373
|
};
|
|
8374
8374
|
}
|
|
8375
|
-
// ../../
|
|
8375
|
+
// ../../zod/v4/locales/pt.js
|
|
8376
8376
|
var error32 = () => {
|
|
8377
8377
|
const Sizable = {
|
|
8378
8378
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -8488,7 +8488,7 @@ function pt_default() {
|
|
|
8488
8488
|
localeError: error32()
|
|
8489
8489
|
};
|
|
8490
8490
|
}
|
|
8491
|
-
// ../../
|
|
8491
|
+
// ../../zod/v4/locales/ru.js
|
|
8492
8492
|
function getRussianPlural(count, one, few, many) {
|
|
8493
8493
|
const absCount = Math.abs(count);
|
|
8494
8494
|
const lastDigit = absCount % 10;
|
|
@@ -8652,7 +8652,7 @@ function ru_default() {
|
|
|
8652
8652
|
localeError: error33()
|
|
8653
8653
|
};
|
|
8654
8654
|
}
|
|
8655
|
-
// ../../
|
|
8655
|
+
// ../../zod/v4/locales/sl.js
|
|
8656
8656
|
var error34 = () => {
|
|
8657
8657
|
const Sizable = {
|
|
8658
8658
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -8769,7 +8769,7 @@ function sl_default() {
|
|
|
8769
8769
|
localeError: error34()
|
|
8770
8770
|
};
|
|
8771
8771
|
}
|
|
8772
|
-
// ../../
|
|
8772
|
+
// ../../zod/v4/locales/sv.js
|
|
8773
8773
|
var error35 = () => {
|
|
8774
8774
|
const Sizable = {
|
|
8775
8775
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -8887,7 +8887,7 @@ function sv_default() {
|
|
|
8887
8887
|
localeError: error35()
|
|
8888
8888
|
};
|
|
8889
8889
|
}
|
|
8890
|
-
// ../../
|
|
8890
|
+
// ../../zod/v4/locales/ta.js
|
|
8891
8891
|
var error36 = () => {
|
|
8892
8892
|
const Sizable = {
|
|
8893
8893
|
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" },
|
|
@@ -9004,7 +9004,7 @@ function ta_default() {
|
|
|
9004
9004
|
localeError: error36()
|
|
9005
9005
|
};
|
|
9006
9006
|
}
|
|
9007
|
-
// ../../
|
|
9007
|
+
// ../../zod/v4/locales/th.js
|
|
9008
9008
|
var error37 = () => {
|
|
9009
9009
|
const Sizable = {
|
|
9010
9010
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -9121,7 +9121,7 @@ function th_default() {
|
|
|
9121
9121
|
localeError: error37()
|
|
9122
9122
|
};
|
|
9123
9123
|
}
|
|
9124
|
-
// ../../
|
|
9124
|
+
// ../../zod/v4/locales/tr.js
|
|
9125
9125
|
var parsedType6 = (data) => {
|
|
9126
9126
|
const t = typeof data;
|
|
9127
9127
|
switch (t) {
|
|
@@ -9236,7 +9236,7 @@ function tr_default() {
|
|
|
9236
9236
|
localeError: error38()
|
|
9237
9237
|
};
|
|
9238
9238
|
}
|
|
9239
|
-
// ../../
|
|
9239
|
+
// ../../zod/v4/locales/uk.js
|
|
9240
9240
|
var error39 = () => {
|
|
9241
9241
|
const Sizable = {
|
|
9242
9242
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -9353,11 +9353,11 @@ function uk_default() {
|
|
|
9353
9353
|
};
|
|
9354
9354
|
}
|
|
9355
9355
|
|
|
9356
|
-
// ../../
|
|
9356
|
+
// ../../zod/v4/locales/ua.js
|
|
9357
9357
|
function ua_default() {
|
|
9358
9358
|
return uk_default();
|
|
9359
9359
|
}
|
|
9360
|
-
// ../../
|
|
9360
|
+
// ../../zod/v4/locales/ur.js
|
|
9361
9361
|
var error40 = () => {
|
|
9362
9362
|
const Sizable = {
|
|
9363
9363
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -9474,7 +9474,7 @@ function ur_default() {
|
|
|
9474
9474
|
localeError: error40()
|
|
9475
9475
|
};
|
|
9476
9476
|
}
|
|
9477
|
-
// ../../
|
|
9477
|
+
// ../../zod/v4/locales/vi.js
|
|
9478
9478
|
var error41 = () => {
|
|
9479
9479
|
const Sizable = {
|
|
9480
9480
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -9590,7 +9590,7 @@ function vi_default() {
|
|
|
9590
9590
|
localeError: error41()
|
|
9591
9591
|
};
|
|
9592
9592
|
}
|
|
9593
|
-
// ../../
|
|
9593
|
+
// ../../zod/v4/locales/zh-CN.js
|
|
9594
9594
|
var error42 = () => {
|
|
9595
9595
|
const Sizable = {
|
|
9596
9596
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -9706,7 +9706,7 @@ function zh_CN_default() {
|
|
|
9706
9706
|
localeError: error42()
|
|
9707
9707
|
};
|
|
9708
9708
|
}
|
|
9709
|
-
// ../../
|
|
9709
|
+
// ../../zod/v4/locales/zh-TW.js
|
|
9710
9710
|
var error43 = () => {
|
|
9711
9711
|
const Sizable = {
|
|
9712
9712
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -9823,7 +9823,7 @@ function zh_TW_default() {
|
|
|
9823
9823
|
localeError: error43()
|
|
9824
9824
|
};
|
|
9825
9825
|
}
|
|
9826
|
-
// ../../
|
|
9826
|
+
// ../../zod/v4/locales/yo.js
|
|
9827
9827
|
var error44 = () => {
|
|
9828
9828
|
const Sizable = {
|
|
9829
9829
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -9938,7 +9938,7 @@ function yo_default() {
|
|
|
9938
9938
|
localeError: error44()
|
|
9939
9939
|
};
|
|
9940
9940
|
}
|
|
9941
|
-
// ../../
|
|
9941
|
+
// ../../zod/v4/core/registries.js
|
|
9942
9942
|
var $output = Symbol("ZodOutput");
|
|
9943
9943
|
var $input = Symbol("ZodInput");
|
|
9944
9944
|
|
|
@@ -9989,7 +9989,7 @@ function registry() {
|
|
|
9989
9989
|
return new $ZodRegistry;
|
|
9990
9990
|
}
|
|
9991
9991
|
var globalRegistry = /* @__PURE__ */ registry();
|
|
9992
|
-
// ../../
|
|
9992
|
+
// ../../zod/v4/core/api.js
|
|
9993
9993
|
function _string(Class2, params) {
|
|
9994
9994
|
return new Class2({
|
|
9995
9995
|
type: "string",
|
|
@@ -10867,7 +10867,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
10867
10867
|
const inst = new Class2(def);
|
|
10868
10868
|
return inst;
|
|
10869
10869
|
}
|
|
10870
|
-
// ../../
|
|
10870
|
+
// ../../zod/v4/core/to-json-schema.js
|
|
10871
10871
|
class JSONSchemaGenerator {
|
|
10872
10872
|
constructor(params) {
|
|
10873
10873
|
this.counter = 0;
|
|
@@ -11671,9 +11671,9 @@ function isTransforming(_schema, _ctx) {
|
|
|
11671
11671
|
}
|
|
11672
11672
|
throw new Error(`Unknown schema type: ${def.type}`);
|
|
11673
11673
|
}
|
|
11674
|
-
// ../../
|
|
11674
|
+
// ../../zod/v4/core/json-schema.js
|
|
11675
11675
|
var exports_json_schema = {};
|
|
11676
|
-
// ../../
|
|
11676
|
+
// ../../zod/v4/classic/iso.js
|
|
11677
11677
|
var exports_iso = {};
|
|
11678
11678
|
__export(exports_iso, {
|
|
11679
11679
|
time: () => time2,
|
|
@@ -11714,7 +11714,7 @@ function duration2(params) {
|
|
|
11714
11714
|
return _isoDuration(ZodISODuration, params);
|
|
11715
11715
|
}
|
|
11716
11716
|
|
|
11717
|
-
// ../../
|
|
11717
|
+
// ../../zod/v4/classic/errors.js
|
|
11718
11718
|
var initializer2 = (inst, issues) => {
|
|
11719
11719
|
$ZodError.init(inst, issues);
|
|
11720
11720
|
inst.name = "ZodError";
|
|
@@ -11749,7 +11749,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
11749
11749
|
Parent: Error
|
|
11750
11750
|
});
|
|
11751
11751
|
|
|
11752
|
-
// ../../
|
|
11752
|
+
// ../../zod/v4/classic/parse.js
|
|
11753
11753
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
11754
11754
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
11755
11755
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -11763,7 +11763,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
11763
11763
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
11764
11764
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
11765
11765
|
|
|
11766
|
-
// ../../
|
|
11766
|
+
// ../../zod/v4/classic/schemas.js
|
|
11767
11767
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
11768
11768
|
$ZodType.init(inst, def);
|
|
11769
11769
|
inst.def = def;
|
|
@@ -12738,7 +12738,7 @@ function json(params) {
|
|
|
12738
12738
|
function preprocess(fn, schema) {
|
|
12739
12739
|
return pipe(transform(fn), schema);
|
|
12740
12740
|
}
|
|
12741
|
-
// ../../
|
|
12741
|
+
// ../../zod/v4/classic/compat.js
|
|
12742
12742
|
var ZodIssueCode = {
|
|
12743
12743
|
invalid_type: "invalid_type",
|
|
12744
12744
|
too_big: "too_big",
|
|
@@ -12762,7 +12762,7 @@ function getErrorMap() {
|
|
|
12762
12762
|
}
|
|
12763
12763
|
var ZodFirstPartyTypeKind;
|
|
12764
12764
|
(function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
12765
|
-
// ../../
|
|
12765
|
+
// ../../zod/v4/classic/coerce.js
|
|
12766
12766
|
var exports_coerce = {};
|
|
12767
12767
|
__export(exports_coerce, {
|
|
12768
12768
|
string: () => string3,
|
|
@@ -12787,9 +12787,9 @@ function date4(params) {
|
|
|
12787
12787
|
return _coercedDate(ZodDate, params);
|
|
12788
12788
|
}
|
|
12789
12789
|
|
|
12790
|
-
// ../../
|
|
12790
|
+
// ../../zod/v4/classic/external.js
|
|
12791
12791
|
config(en_default());
|
|
12792
|
-
//
|
|
12792
|
+
// ../../@opencode-ai/plugin/dist/tool.js
|
|
12793
12793
|
function tool(input) {
|
|
12794
12794
|
return input;
|
|
12795
12795
|
}
|
package/package.json
CHANGED