@swmansion/argent 0.35.1-next.45 → 0.35.1-next.47
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/dist/cli-cmds.mjs +215 -149
- package/dist/client.js +164 -97
- package/dist/installer.mjs +86 -76
- package/dist/mcp-server.mjs +192 -125
- package/dist/tool-args.generated.d.ts +2 -2
- package/dist/tool-server.cjs +287 -206
- package/package.json +2 -2
- package/skills/argent-create-e2e/references/e2e-yaml.md +1 -1
package/dist/tool-server.cjs
CHANGED
|
@@ -782,6 +782,39 @@ function decodeClientSecrets(header) {
|
|
|
782
782
|
}
|
|
783
783
|
return values;
|
|
784
784
|
}
|
|
785
|
+
function decodeSecretSourceSummaries(header) {
|
|
786
|
+
let parsed2;
|
|
787
|
+
try {
|
|
788
|
+
parsed2 = JSON.parse(Buffer.from(header, "base64").toString("utf8"));
|
|
789
|
+
} catch {
|
|
790
|
+
throw new Error("is not base64-encoded JSON");
|
|
791
|
+
}
|
|
792
|
+
if (!Array.isArray(parsed2)) throw new Error("is not a JSON array");
|
|
793
|
+
return parsed2.map((entry, i) => {
|
|
794
|
+
if (typeof entry !== "object" || entry === null || Array.isArray(entry)) {
|
|
795
|
+
throw new Error(`has a source ${i} that is not a JSON object`);
|
|
796
|
+
}
|
|
797
|
+
const { label, kind, present, names, needsPrefix } = entry;
|
|
798
|
+
if (typeof label !== "string") throw new Error(`has a source ${i} with no label`);
|
|
799
|
+
if (typeof kind !== "string" || !SUMMARY_KINDS.has(kind)) {
|
|
800
|
+
throw new Error(`has a source ${i} of an unknown kind`);
|
|
801
|
+
}
|
|
802
|
+
if (typeof present !== "boolean") throw new Error(`has a source ${i} with no present flag`);
|
|
803
|
+
if (!Array.isArray(names) || !names.every((n) => typeof n === "string" && SECRET_NAME_RE.test(n))) {
|
|
804
|
+
throw new Error(`has a source ${i} with invalid names`);
|
|
805
|
+
}
|
|
806
|
+
if (needsPrefix !== void 0 && typeof needsPrefix !== "boolean") {
|
|
807
|
+
throw new Error(`has a source ${i} with an invalid needsPrefix flag`);
|
|
808
|
+
}
|
|
809
|
+
return {
|
|
810
|
+
label,
|
|
811
|
+
kind,
|
|
812
|
+
present,
|
|
813
|
+
names: [...names],
|
|
814
|
+
...needsPrefix === true ? { needsPrefix: true } : {}
|
|
815
|
+
};
|
|
816
|
+
});
|
|
817
|
+
}
|
|
785
818
|
function lookupSecret(name, sources) {
|
|
786
819
|
for (const source of sources) {
|
|
787
820
|
const value = source.values.get(name);
|
|
@@ -815,10 +848,13 @@ function secretPlacementAdvice(name, options = {}) {
|
|
|
815
848
|
const globalFile = path4.join(argentHomeDir(options), SECRETS_FILE_NAME);
|
|
816
849
|
return `To make it available, ask the user to add \`${name}=\u2026\` to ${globalFile} (or to \`.argent/${SECRETS_FILE_NAME}\` in the project), add \`${SECRET_ENV_PREFIX}${name}=\u2026\` to the project's .env / .env.local, or export ${SECRET_ENV_PREFIX}${name} in the tool-server's environment \u2014 never ask the user for the secret value itself. If this tool-server is reached through \`argent link\` or ARGENT_TOOLS_URL, the user can instead define it on the client's machine and run \`argent enable forward-secrets\` there; \`argent secrets\` there lists the sources the client reads, which this list leaves out.`;
|
|
817
850
|
}
|
|
851
|
+
function callerSecretPlacementAdvice(name) {
|
|
852
|
+
return `To make it available, ask the user to add \`${name}=\u2026\` to \`.argent/${SECRETS_FILE_NAME}\` in the project the call came from, or to ~/.argent/${SECRETS_FILE_NAME}, or \`${SECRET_ENV_PREFIX}${name}=\u2026\` to the project's .env / .env.local; a file applies to the next call. An environment variable ${SECRET_ENV_PREFIX}${name} must be set where the call starts: in the shell that runs \`argent\`, or in the environment of the editor or agent that starts the argent MCP server, which then needs a restart. \`argent secrets\`, run in the project, lists what a call there can resolve. Never ask the user for the secret value itself.`;
|
|
853
|
+
}
|
|
818
854
|
function clientSecretPlacementAdvice(name) {
|
|
819
855
|
return `To make it available, ask the user to add \`${name}=\u2026\` to ~/.argent/${SECRETS_FILE_NAME} on the client's machine (or to \`.argent/${SECRETS_FILE_NAME}\` in the project the client runs in), or to export ${SECRET_ENV_PREFIX}${name} before the client starts; \`argent secrets\` there lists the sources the client reads \u2014 never ask the user for the secret value itself.`;
|
|
820
856
|
}
|
|
821
|
-
var fs4, path4, import_dotenv, SECRET_ENV_PREFIX, SECRETS_FILE_NAME, SHARED_ENV_FILES, SECRET_NAME_RE, SECRET_PLACEHOLDER_RE, REDUNDANT_PREFIX_RE;
|
|
857
|
+
var fs4, path4, import_dotenv, SECRET_ENV_PREFIX, SECRETS_FILE_NAME, SHARED_ENV_FILES, SECRET_NAME_RE, SUMMARY_KINDS, SECRET_PLACEHOLDER_RE, REDUNDANT_PREFIX_RE;
|
|
822
858
|
var init_secrets = __esm({
|
|
823
859
|
"../configuration-core/src/secrets.ts"() {
|
|
824
860
|
"use strict";
|
|
@@ -831,6 +867,7 @@ var init_secrets = __esm({
|
|
|
831
867
|
SECRETS_FILE_NAME = "secrets.env";
|
|
832
868
|
SHARED_ENV_FILES = [".env.local", ".env"];
|
|
833
869
|
SECRET_NAME_RE = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
870
|
+
SUMMARY_KINDS = /* @__PURE__ */ new Set(["env", "file", "client"]);
|
|
834
871
|
SECRET_PLACEHOLDER_RE = /\{\{secret:([A-Za-z_][A-Za-z0-9_]*)\}\}/g;
|
|
835
872
|
REDUNDANT_PREFIX_RE = /^argent_secret_/i;
|
|
836
873
|
}
|
|
@@ -1186,13 +1223,14 @@ var init_event_emitter = __esm({
|
|
|
1186
1223
|
function isLiveServiceState(state3) {
|
|
1187
1224
|
return state3 === "RUNNING" /* RUNNING */ || state3 === "STARTING" /* STARTING */;
|
|
1188
1225
|
}
|
|
1189
|
-
var LINKED_CALL_HEADER, E2E_DIR_CLIENT_HEADER, CLIENT_SECRETS_HEADER;
|
|
1226
|
+
var LINKED_CALL_HEADER, E2E_DIR_CLIENT_HEADER, CLIENT_SECRETS_HEADER, CLIENT_SECRET_SOURCES_HEADER;
|
|
1190
1227
|
var init_types = __esm({
|
|
1191
1228
|
"../registry/src/types.ts"() {
|
|
1192
1229
|
"use strict";
|
|
1193
1230
|
LINKED_CALL_HEADER = "x-argent-linked";
|
|
1194
1231
|
E2E_DIR_CLIENT_HEADER = "x-argent-e2e-dir";
|
|
1195
1232
|
CLIENT_SECRETS_HEADER = "x-argent-client-secrets";
|
|
1233
|
+
CLIENT_SECRET_SOURCES_HEADER = "x-argent-client-secret-sources";
|
|
1196
1234
|
}
|
|
1197
1235
|
});
|
|
1198
1236
|
|
|
@@ -5396,13 +5434,13 @@ var init_schemas = __esm({
|
|
|
5396
5434
|
if (typeof input2 === "number" && !Number.isNaN(input2) && Number.isFinite(input2)) {
|
|
5397
5435
|
return payload;
|
|
5398
5436
|
}
|
|
5399
|
-
const
|
|
5437
|
+
const received2 = typeof input2 === "number" ? Number.isNaN(input2) ? "NaN" : !Number.isFinite(input2) ? String(input2) : void 0 : void 0;
|
|
5400
5438
|
payload.issues.push({
|
|
5401
5439
|
expected: "number",
|
|
5402
5440
|
code: "invalid_type",
|
|
5403
5441
|
input: input2,
|
|
5404
5442
|
inst,
|
|
5405
|
-
...
|
|
5443
|
+
...received2 ? { received: received2 } : {}
|
|
5406
5444
|
});
|
|
5407
5445
|
return payload;
|
|
5408
5446
|
};
|
|
@@ -7078,11 +7116,11 @@ var init_ar = __esm({
|
|
|
7078
7116
|
case "invalid_type": {
|
|
7079
7117
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
7080
7118
|
const receivedType = parsedType(issue2.input);
|
|
7081
|
-
const
|
|
7119
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
7082
7120
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
7083
|
-
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${issue2.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${
|
|
7121
|
+
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${issue2.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${received2}`;
|
|
7084
7122
|
}
|
|
7085
|
-
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${
|
|
7123
|
+
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${received2}`;
|
|
7086
7124
|
}
|
|
7087
7125
|
case "invalid_value":
|
|
7088
7126
|
if (issue2.values.length === 1)
|
|
@@ -7196,11 +7234,11 @@ var init_az = __esm({
|
|
|
7196
7234
|
case "invalid_type": {
|
|
7197
7235
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
7198
7236
|
const receivedType = parsedType(issue2.input);
|
|
7199
|
-
const
|
|
7237
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
7200
7238
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
7201
|
-
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${issue2.expected}, daxil olan ${
|
|
7239
|
+
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${issue2.expected}, daxil olan ${received2}`;
|
|
7202
7240
|
}
|
|
7203
|
-
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${expected}, daxil olan ${
|
|
7241
|
+
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${expected}, daxil olan ${received2}`;
|
|
7204
7242
|
}
|
|
7205
7243
|
case "invalid_value":
|
|
7206
7244
|
if (issue2.values.length === 1)
|
|
@@ -7365,11 +7403,11 @@ var init_be = __esm({
|
|
|
7365
7403
|
case "invalid_type": {
|
|
7366
7404
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
7367
7405
|
const receivedType = parsedType(issue2.input);
|
|
7368
|
-
const
|
|
7406
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
7369
7407
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
7370
|
-
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${issue2.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${
|
|
7408
|
+
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${issue2.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${received2}`;
|
|
7371
7409
|
}
|
|
7372
|
-
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${
|
|
7410
|
+
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${received2}`;
|
|
7373
7411
|
}
|
|
7374
7412
|
case "invalid_value":
|
|
7375
7413
|
if (issue2.values.length === 1)
|
|
@@ -7490,11 +7528,11 @@ var init_bg = __esm({
|
|
|
7490
7528
|
case "invalid_type": {
|
|
7491
7529
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
7492
7530
|
const receivedType = parsedType(issue2.input);
|
|
7493
|
-
const
|
|
7531
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
7494
7532
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
7495
|
-
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${
|
|
7533
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${received2}`;
|
|
7496
7534
|
}
|
|
7497
|
-
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${
|
|
7535
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${received2}`;
|
|
7498
7536
|
}
|
|
7499
7537
|
case "invalid_value":
|
|
7500
7538
|
if (issue2.values.length === 1)
|
|
@@ -7620,8 +7658,8 @@ var init_bn = __esm({
|
|
|
7620
7658
|
case "invalid_type": {
|
|
7621
7659
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
7622
7660
|
const receivedType = parsedType(issue2.input);
|
|
7623
|
-
const
|
|
7624
|
-
return `\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F: \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4 ${expected}, \u09AA\u09CD\u09B0\u09BE\u09AA\u09CD\u09A4 ${
|
|
7661
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
7662
|
+
return `\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F: \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4 ${expected}, \u09AA\u09CD\u09B0\u09BE\u09AA\u09CD\u09A4 ${received2}`;
|
|
7625
7663
|
}
|
|
7626
7664
|
case "invalid_value":
|
|
7627
7665
|
if (issue2.values.length === 1)
|
|
@@ -7740,11 +7778,11 @@ var init_ca = __esm({
|
|
|
7740
7778
|
case "invalid_type": {
|
|
7741
7779
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
7742
7780
|
const receivedType = parsedType(issue2.input);
|
|
7743
|
-
const
|
|
7781
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
7744
7782
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
7745
|
-
return `Tipus inv\xE0lid: s'esperava instanceof ${issue2.expected}, s'ha rebut ${
|
|
7783
|
+
return `Tipus inv\xE0lid: s'esperava instanceof ${issue2.expected}, s'ha rebut ${received2}`;
|
|
7746
7784
|
}
|
|
7747
|
-
return `Tipus inv\xE0lid: s'esperava ${expected}, s'ha rebut ${
|
|
7785
|
+
return `Tipus inv\xE0lid: s'esperava ${expected}, s'ha rebut ${received2}`;
|
|
7748
7786
|
}
|
|
7749
7787
|
case "invalid_value":
|
|
7750
7788
|
if (issue2.values.length === 1)
|
|
@@ -7878,12 +7916,12 @@ var init_ckb = __esm({
|
|
|
7878
7916
|
case "invalid_type": {
|
|
7879
7917
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
7880
7918
|
const receivedType = parsedType(issue2.input);
|
|
7881
|
-
const
|
|
7882
|
-
const postfix = ["\u0627", "\u0648", "\u06C6", "\u0648\u0648", "\u06D5", "\u06CC", "\u06CE"].some((p) =>
|
|
7883
|
-
const isEnglish = /^[a-zA-Z]+$/.test(
|
|
7919
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
7920
|
+
const postfix = ["\u0627", "\u0648", "\u06C6", "\u0648\u0648", "\u06D5", "\u06CC", "\u06CE"].some((p) => received2.endsWith(p)) ? "\u06CC\u06D5" : "\u06D5";
|
|
7921
|
+
const isEnglish = /^[a-zA-Z]+$/.test(received2);
|
|
7884
7922
|
if (receivedType === "null" || receivedType === "undefined")
|
|
7885
7923
|
return `\u062F\u0627\u0648\u0627\u06A9\u0631\u0627\u0648\u06D5`;
|
|
7886
|
-
return `\u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648\u06D5 ${expected} \u0628\u06CE\u062A\u060C \u0628\u06D5\u06B5\u0627\u0645 ${
|
|
7924
|
+
return `\u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648\u06D5 ${expected} \u0628\u06CE\u062A\u060C \u0628\u06D5\u06B5\u0627\u0645 ${received2}${isEnglish ? "" : postfix}`;
|
|
7887
7925
|
}
|
|
7888
7926
|
case "invalid_value":
|
|
7889
7927
|
if (issue2.values.length === 1)
|
|
@@ -8003,11 +8041,11 @@ var init_cs = __esm({
|
|
|
8003
8041
|
case "invalid_type": {
|
|
8004
8042
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8005
8043
|
const receivedType = parsedType(issue2.input);
|
|
8006
|
-
const
|
|
8044
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
8007
8045
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
8008
|
-
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${issue2.expected}, obdr\u017Eeno ${
|
|
8046
|
+
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${issue2.expected}, obdr\u017Eeno ${received2}`;
|
|
8009
8047
|
}
|
|
8010
|
-
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${expected}, obdr\u017Eeno ${
|
|
8048
|
+
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${expected}, obdr\u017Eeno ${received2}`;
|
|
8011
8049
|
}
|
|
8012
8050
|
case "invalid_value":
|
|
8013
8051
|
if (issue2.values.length === 1)
|
|
@@ -8129,11 +8167,11 @@ var init_da = __esm({
|
|
|
8129
8167
|
case "invalid_type": {
|
|
8130
8168
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8131
8169
|
const receivedType = parsedType(issue2.input);
|
|
8132
|
-
const
|
|
8170
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
8133
8171
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
8134
|
-
return `Ugyldigt input: forventede instanceof ${issue2.expected}, fik ${
|
|
8172
|
+
return `Ugyldigt input: forventede instanceof ${issue2.expected}, fik ${received2}`;
|
|
8135
8173
|
}
|
|
8136
|
-
return `Ugyldigt input: forventede ${expected}, fik ${
|
|
8174
|
+
return `Ugyldigt input: forventede ${expected}, fik ${received2}`;
|
|
8137
8175
|
}
|
|
8138
8176
|
case "invalid_value":
|
|
8139
8177
|
if (issue2.values.length === 1)
|
|
@@ -8251,11 +8289,11 @@ var init_de = __esm({
|
|
|
8251
8289
|
case "invalid_type": {
|
|
8252
8290
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8253
8291
|
const receivedType = parsedType(issue2.input);
|
|
8254
|
-
const
|
|
8292
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
8255
8293
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
8256
|
-
return `Ung\xFCltige Eingabe: erwartet instanceof ${issue2.expected}, erhalten ${
|
|
8294
|
+
return `Ung\xFCltige Eingabe: erwartet instanceof ${issue2.expected}, erhalten ${received2}`;
|
|
8257
8295
|
}
|
|
8258
|
-
return `Ung\xFCltige Eingabe: erwartet ${expected}, erhalten ${
|
|
8296
|
+
return `Ung\xFCltige Eingabe: erwartet ${expected}, erhalten ${received2}`;
|
|
8259
8297
|
}
|
|
8260
8298
|
case "invalid_value":
|
|
8261
8299
|
if (issue2.values.length === 1)
|
|
@@ -8369,11 +8407,11 @@ var init_el = __esm({
|
|
|
8369
8407
|
case "invalid_type": {
|
|
8370
8408
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8371
8409
|
const receivedType = parsedType(issue2.input);
|
|
8372
|
-
const
|
|
8410
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
8373
8411
|
if (typeof issue2.expected === "string" && /^[A-Z]/.test(issue2.expected)) {
|
|
8374
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD instanceof ${issue2.expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${
|
|
8412
|
+
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD instanceof ${issue2.expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${received2}`;
|
|
8375
8413
|
}
|
|
8376
|
-
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${
|
|
8414
|
+
return `\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${received2}`;
|
|
8377
8415
|
}
|
|
8378
8416
|
case "invalid_value":
|
|
8379
8417
|
if (issue2.values.length === 1)
|
|
@@ -8496,8 +8534,8 @@ var init_en = __esm({
|
|
|
8496
8534
|
case "invalid_type": {
|
|
8497
8535
|
const expected = getTypeName(issue2.expected);
|
|
8498
8536
|
const receivedType = parsedType(issue2.input);
|
|
8499
|
-
const
|
|
8500
|
-
return `Invalid input: expected ${expected}, received ${
|
|
8537
|
+
const received2 = getTypeName(receivedType, issue2.input);
|
|
8538
|
+
return `Invalid input: expected ${expected}, received ${received2}`;
|
|
8501
8539
|
}
|
|
8502
8540
|
case "invalid_value":
|
|
8503
8541
|
if (issue2.values.length === 1)
|
|
@@ -8622,11 +8660,11 @@ var init_eo = __esm({
|
|
|
8622
8660
|
case "invalid_type": {
|
|
8623
8661
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8624
8662
|
const receivedType = parsedType(issue2.input);
|
|
8625
|
-
const
|
|
8663
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
8626
8664
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
8627
|
-
return `Nevalida enigo: atendi\u011Dis instanceof ${issue2.expected}, ricevi\u011Dis ${
|
|
8665
|
+
return `Nevalida enigo: atendi\u011Dis instanceof ${issue2.expected}, ricevi\u011Dis ${received2}`;
|
|
8628
8666
|
}
|
|
8629
|
-
return `Nevalida enigo: atendi\u011Dis ${expected}, ricevi\u011Dis ${
|
|
8667
|
+
return `Nevalida enigo: atendi\u011Dis ${expected}, ricevi\u011Dis ${received2}`;
|
|
8630
8668
|
}
|
|
8631
8669
|
case "invalid_value":
|
|
8632
8670
|
if (issue2.values.length === 1)
|
|
@@ -8763,11 +8801,11 @@ var init_es = __esm({
|
|
|
8763
8801
|
case "invalid_type": {
|
|
8764
8802
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8765
8803
|
const receivedType = parsedType(issue2.input);
|
|
8766
|
-
const
|
|
8804
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
8767
8805
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
8768
|
-
return `Entrada inv\xE1lida: se esperaba instanceof ${issue2.expected}, recibido ${
|
|
8806
|
+
return `Entrada inv\xE1lida: se esperaba instanceof ${issue2.expected}, recibido ${received2}`;
|
|
8769
8807
|
}
|
|
8770
|
-
return `Entrada inv\xE1lida: se esperaba ${expected}, recibido ${
|
|
8808
|
+
return `Entrada inv\xE1lida: se esperaba ${expected}, recibido ${received2}`;
|
|
8771
8809
|
}
|
|
8772
8810
|
case "invalid_value":
|
|
8773
8811
|
if (issue2.values.length === 1)
|
|
@@ -8885,11 +8923,11 @@ var init_fa = __esm({
|
|
|
8885
8923
|
case "invalid_type": {
|
|
8886
8924
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
8887
8925
|
const receivedType = parsedType(issue2.input);
|
|
8888
|
-
const
|
|
8926
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
8889
8927
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
8890
|
-
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${issue2.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${
|
|
8928
|
+
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${issue2.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${received2} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;
|
|
8891
8929
|
}
|
|
8892
|
-
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${
|
|
8930
|
+
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${received2} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;
|
|
8893
8931
|
}
|
|
8894
8932
|
case "invalid_value":
|
|
8895
8933
|
if (issue2.values.length === 1) {
|
|
@@ -9013,11 +9051,11 @@ var init_fi = __esm({
|
|
|
9013
9051
|
case "invalid_type": {
|
|
9014
9052
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
9015
9053
|
const receivedType = parsedType(issue2.input);
|
|
9016
|
-
const
|
|
9054
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
9017
9055
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
9018
|
-
return `Virheellinen tyyppi: odotettiin instanceof ${issue2.expected}, oli ${
|
|
9056
|
+
return `Virheellinen tyyppi: odotettiin instanceof ${issue2.expected}, oli ${received2}`;
|
|
9019
9057
|
}
|
|
9020
|
-
return `Virheellinen tyyppi: odotettiin ${expected}, oli ${
|
|
9058
|
+
return `Virheellinen tyyppi: odotettiin ${expected}, oli ${received2}`;
|
|
9021
9059
|
}
|
|
9022
9060
|
case "invalid_value":
|
|
9023
9061
|
if (issue2.values.length === 1)
|
|
@@ -9152,11 +9190,11 @@ var init_fr = __esm({
|
|
|
9152
9190
|
case "invalid_type": {
|
|
9153
9191
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
9154
9192
|
const receivedType = parsedType(issue2.input);
|
|
9155
|
-
const
|
|
9193
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
9156
9194
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
9157
|
-
return `Entr\xE9e invalide : instance de ${issue2.expected} attendu, ${
|
|
9195
|
+
return `Entr\xE9e invalide : instance de ${issue2.expected} attendu, ${received2} re\xE7u`;
|
|
9158
9196
|
}
|
|
9159
|
-
return `Entr\xE9e invalide : ${expected} attendu, ${
|
|
9197
|
+
return `Entr\xE9e invalide : ${expected} attendu, ${received2} re\xE7u`;
|
|
9160
9198
|
}
|
|
9161
9199
|
case "invalid_value":
|
|
9162
9200
|
if (issue2.values.length === 1)
|
|
@@ -9269,11 +9307,11 @@ var init_fr_CA = __esm({
|
|
|
9269
9307
|
case "invalid_type": {
|
|
9270
9308
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
9271
9309
|
const receivedType = parsedType(issue2.input);
|
|
9272
|
-
const
|
|
9310
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
9273
9311
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
9274
|
-
return `Entr\xE9e invalide : attendu instanceof ${issue2.expected}, re\xE7u ${
|
|
9312
|
+
return `Entr\xE9e invalide : attendu instanceof ${issue2.expected}, re\xE7u ${received2}`;
|
|
9275
9313
|
}
|
|
9276
|
-
return `Entr\xE9e invalide : attendu ${expected}, re\xE7u ${
|
|
9314
|
+
return `Entr\xE9e invalide : attendu ${expected}, re\xE7u ${received2}`;
|
|
9277
9315
|
}
|
|
9278
9316
|
case "invalid_value":
|
|
9279
9317
|
if (issue2.values.length === 1)
|
|
@@ -9388,8 +9426,8 @@ var init_gu = __esm({
|
|
|
9388
9426
|
case "invalid_type": {
|
|
9389
9427
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
9390
9428
|
const receivedType = parsedType(issue2.input);
|
|
9391
|
-
const
|
|
9392
|
-
return `\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F: \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4 ${expected}, \u0AAA\u0ACD\u0AB0\u0ABE\u0AAA\u0ACD\u0AA4 ${
|
|
9429
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
9430
|
+
return `\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F: \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4 ${expected}, \u0AAA\u0ACD\u0AB0\u0ABE\u0AAA\u0ACD\u0AA4 ${received2}`;
|
|
9393
9431
|
}
|
|
9394
9432
|
case "invalid_value":
|
|
9395
9433
|
if (issue2.values.length === 1)
|
|
@@ -9550,11 +9588,11 @@ var init_he = __esm({
|
|
|
9550
9588
|
const expectedKey = issue2.expected;
|
|
9551
9589
|
const expected = TypeDictionary[expectedKey ?? ""] ?? typeLabel(expectedKey);
|
|
9552
9590
|
const receivedType = parsedType(issue2.input);
|
|
9553
|
-
const
|
|
9591
|
+
const received2 = TypeDictionary[receivedType] ?? TypeNames[receivedType]?.label ?? receivedType;
|
|
9554
9592
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
9555
|
-
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${issue2.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${
|
|
9593
|
+
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${issue2.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${received2}`;
|
|
9556
9594
|
}
|
|
9557
|
-
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${
|
|
9595
|
+
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${received2}`;
|
|
9558
9596
|
}
|
|
9559
9597
|
case "invalid_value": {
|
|
9560
9598
|
if (issue2.values.length === 1) {
|
|
@@ -9716,8 +9754,8 @@ var init_hi = __esm({
|
|
|
9716
9754
|
case "invalid_type": {
|
|
9717
9755
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
9718
9756
|
const receivedType = parsedType(issue2.input);
|
|
9719
|
-
const
|
|
9720
|
-
return `\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${expected}, \u092A\u094D\u0930\u093E\u092A\u094D\u0924 ${
|
|
9757
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
9758
|
+
return `\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${expected}, \u092A\u094D\u0930\u093E\u092A\u094D\u0924 ${received2}`;
|
|
9721
9759
|
}
|
|
9722
9760
|
case "invalid_value":
|
|
9723
9761
|
if (issue2.values.length === 1)
|
|
@@ -9847,11 +9885,11 @@ var init_hr = __esm({
|
|
|
9847
9885
|
case "invalid_type": {
|
|
9848
9886
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
9849
9887
|
const receivedType = parsedType(issue2.input);
|
|
9850
|
-
const
|
|
9888
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
9851
9889
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
9852
|
-
return `Neispravan unos: o\u010Dekuje se instanceof ${issue2.expected}, a primljeno je ${
|
|
9890
|
+
return `Neispravan unos: o\u010Dekuje se instanceof ${issue2.expected}, a primljeno je ${received2}`;
|
|
9853
9891
|
}
|
|
9854
|
-
return `Neispravan unos: o\u010Dekuje se ${expected}, a primljeno je ${
|
|
9892
|
+
return `Neispravan unos: o\u010Dekuje se ${expected}, a primljeno je ${received2}`;
|
|
9855
9893
|
}
|
|
9856
9894
|
case "invalid_value":
|
|
9857
9895
|
if (issue2.values.length === 1)
|
|
@@ -9969,11 +10007,11 @@ var init_hu = __esm({
|
|
|
9969
10007
|
case "invalid_type": {
|
|
9970
10008
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
9971
10009
|
const receivedType = parsedType(issue2.input);
|
|
9972
|
-
const
|
|
10010
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
9973
10011
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
9974
|
-
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${issue2.expected}, a kapott \xE9rt\xE9k ${
|
|
10012
|
+
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${issue2.expected}, a kapott \xE9rt\xE9k ${received2}`;
|
|
9975
10013
|
}
|
|
9976
|
-
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${expected}, a kapott \xE9rt\xE9k ${
|
|
10014
|
+
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${expected}, a kapott \xE9rt\xE9k ${received2}`;
|
|
9977
10015
|
}
|
|
9978
10016
|
case "invalid_value":
|
|
9979
10017
|
if (issue2.values.length === 1)
|
|
@@ -10129,11 +10167,11 @@ var init_hy = __esm({
|
|
|
10129
10167
|
case "invalid_type": {
|
|
10130
10168
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
10131
10169
|
const receivedType = parsedType(issue2.input);
|
|
10132
|
-
const
|
|
10170
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
10133
10171
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
10134
|
-
return `\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${issue2.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${
|
|
10172
|
+
return `\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${issue2.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${received2}`;
|
|
10135
10173
|
}
|
|
10136
|
-
return `\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${
|
|
10174
|
+
return `\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${received2}`;
|
|
10137
10175
|
}
|
|
10138
10176
|
case "invalid_value":
|
|
10139
10177
|
if (issue2.values.length === 1)
|
|
@@ -10252,11 +10290,11 @@ var init_id = __esm({
|
|
|
10252
10290
|
case "invalid_type": {
|
|
10253
10291
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
10254
10292
|
const receivedType = parsedType(issue2.input);
|
|
10255
|
-
const
|
|
10293
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
10256
10294
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
10257
|
-
return `Input tidak valid: diharapkan instanceof ${issue2.expected}, diterima ${
|
|
10295
|
+
return `Input tidak valid: diharapkan instanceof ${issue2.expected}, diterima ${received2}`;
|
|
10258
10296
|
}
|
|
10259
|
-
return `Input tidak valid: diharapkan ${expected}, diterima ${
|
|
10297
|
+
return `Input tidak valid: diharapkan ${expected}, diterima ${received2}`;
|
|
10260
10298
|
}
|
|
10261
10299
|
case "invalid_value":
|
|
10262
10300
|
if (issue2.values.length === 1)
|
|
@@ -10372,11 +10410,11 @@ var init_is = __esm({
|
|
|
10372
10410
|
case "invalid_type": {
|
|
10373
10411
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
10374
10412
|
const receivedType = parsedType(issue2.input);
|
|
10375
|
-
const
|
|
10413
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
10376
10414
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
10377
|
-
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${
|
|
10415
|
+
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${received2} \xFEar sem \xE1 a\xF0 vera instanceof ${issue2.expected}`;
|
|
10378
10416
|
}
|
|
10379
|
-
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${
|
|
10417
|
+
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${received2} \xFEar sem \xE1 a\xF0 vera ${expected}`;
|
|
10380
10418
|
}
|
|
10381
10419
|
case "invalid_value":
|
|
10382
10420
|
if (issue2.values.length === 1)
|
|
@@ -10493,11 +10531,11 @@ var init_it = __esm({
|
|
|
10493
10531
|
case "invalid_type": {
|
|
10494
10532
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
10495
10533
|
const receivedType = parsedType(issue2.input);
|
|
10496
|
-
const
|
|
10534
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
10497
10535
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
10498
|
-
return `Input non valido: atteso instanceof ${issue2.expected}, ricevuto ${
|
|
10536
|
+
return `Input non valido: atteso instanceof ${issue2.expected}, ricevuto ${received2}`;
|
|
10499
10537
|
}
|
|
10500
|
-
return `Input non valido: atteso ${expected}, ricevuto ${
|
|
10538
|
+
return `Input non valido: atteso ${expected}, ricevuto ${received2}`;
|
|
10501
10539
|
}
|
|
10502
10540
|
case "invalid_value":
|
|
10503
10541
|
if (issue2.values.length === 1)
|
|
@@ -10613,11 +10651,11 @@ var init_ja = __esm({
|
|
|
10613
10651
|
case "invalid_type": {
|
|
10614
10652
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
10615
10653
|
const receivedType = parsedType(issue2.input);
|
|
10616
|
-
const
|
|
10654
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
10617
10655
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
10618
|
-
return `\u7121\u52B9\u306A\u5165\u529B: instanceof ${issue2.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${
|
|
10656
|
+
return `\u7121\u52B9\u306A\u5165\u529B: instanceof ${issue2.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${received2}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;
|
|
10619
10657
|
}
|
|
10620
|
-
return `\u7121\u52B9\u306A\u5165\u529B: ${expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${
|
|
10658
|
+
return `\u7121\u52B9\u306A\u5165\u529B: ${expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${received2}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;
|
|
10621
10659
|
}
|
|
10622
10660
|
case "invalid_value":
|
|
10623
10661
|
if (issue2.values.length === 1)
|
|
@@ -10735,11 +10773,11 @@ var init_ka = __esm({
|
|
|
10735
10773
|
case "invalid_type": {
|
|
10736
10774
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
10737
10775
|
const receivedType = parsedType(issue2.input);
|
|
10738
|
-
const
|
|
10776
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
10739
10777
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
10740
|
-
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${issue2.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${
|
|
10778
|
+
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${issue2.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${received2}`;
|
|
10741
10779
|
}
|
|
10742
|
-
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${
|
|
10780
|
+
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${received2}`;
|
|
10743
10781
|
}
|
|
10744
10782
|
case "invalid_value":
|
|
10745
10783
|
if (issue2.values.length === 1)
|
|
@@ -10857,11 +10895,11 @@ var init_km = __esm({
|
|
|
10857
10895
|
case "invalid_type": {
|
|
10858
10896
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
10859
10897
|
const receivedType = parsedType(issue2.input);
|
|
10860
|
-
const
|
|
10898
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
10861
10899
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
10862
|
-
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${issue2.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${
|
|
10900
|
+
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${issue2.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${received2}`;
|
|
10863
10901
|
}
|
|
10864
|
-
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${
|
|
10902
|
+
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${received2}`;
|
|
10865
10903
|
}
|
|
10866
10904
|
case "invalid_value":
|
|
10867
10905
|
if (issue2.values.length === 1)
|
|
@@ -10988,8 +11026,8 @@ var init_kn = __esm({
|
|
|
10988
11026
|
case "invalid_type": {
|
|
10989
11027
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
10990
11028
|
const receivedType = parsedType(issue2.input);
|
|
10991
|
-
const
|
|
10992
|
-
return `\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${expected}, \u0CB8\u0CCD\u0CB5\u0CC0\u0C95\u0CB0\u0CBF\u0CB8\u0CBF\u0CA6\u0CA8\u0CC1 ${
|
|
11029
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
11030
|
+
return `\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${expected}, \u0CB8\u0CCD\u0CB5\u0CC0\u0C95\u0CB0\u0CBF\u0CB8\u0CBF\u0CA6\u0CA8\u0CC1 ${received2}`;
|
|
10993
11031
|
}
|
|
10994
11032
|
case "invalid_value":
|
|
10995
11033
|
if (issue2.values.length === 1)
|
|
@@ -11108,11 +11146,11 @@ var init_ko = __esm({
|
|
|
11108
11146
|
case "invalid_type": {
|
|
11109
11147
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
11110
11148
|
const receivedType = parsedType(issue2.input);
|
|
11111
|
-
const
|
|
11149
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
11112
11150
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
11113
|
-
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${issue2.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${
|
|
11151
|
+
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${issue2.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${received2}\uC785\uB2C8\uB2E4`;
|
|
11114
11152
|
}
|
|
11115
|
-
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${
|
|
11153
|
+
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${received2}\uC785\uB2C8\uB2E4`;
|
|
11116
11154
|
}
|
|
11117
11155
|
case "invalid_value":
|
|
11118
11156
|
if (issue2.values.length === 1)
|
|
@@ -11323,11 +11361,11 @@ var init_lt = __esm({
|
|
|
11323
11361
|
case "invalid_type": {
|
|
11324
11362
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
11325
11363
|
const receivedType = parsedType(issue2.input);
|
|
11326
|
-
const
|
|
11364
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
11327
11365
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
11328
|
-
return `Gautas tipas ${
|
|
11366
|
+
return `Gautas tipas ${received2}, o tik\u0117tasi - instanceof ${issue2.expected}`;
|
|
11329
11367
|
}
|
|
11330
|
-
return `Gautas tipas ${
|
|
11368
|
+
return `Gautas tipas ${received2}, o tik\u0117tasi - ${expected}`;
|
|
11331
11369
|
}
|
|
11332
11370
|
case "invalid_value":
|
|
11333
11371
|
if (issue2.values.length === 1)
|
|
@@ -11447,11 +11485,11 @@ var init_mk = __esm({
|
|
|
11447
11485
|
case "invalid_type": {
|
|
11448
11486
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
11449
11487
|
const receivedType = parsedType(issue2.input);
|
|
11450
|
-
const
|
|
11488
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
11451
11489
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
11452
|
-
return `\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${issue2.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${
|
|
11490
|
+
return `\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${issue2.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${received2}`;
|
|
11453
11491
|
}
|
|
11454
|
-
return `\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${
|
|
11492
|
+
return `\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${received2}`;
|
|
11455
11493
|
}
|
|
11456
11494
|
case "invalid_value":
|
|
11457
11495
|
if (issue2.values.length === 1)
|
|
@@ -11567,11 +11605,11 @@ var init_ms = __esm({
|
|
|
11567
11605
|
case "invalid_type": {
|
|
11568
11606
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
11569
11607
|
const receivedType = parsedType(issue2.input);
|
|
11570
|
-
const
|
|
11608
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
11571
11609
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
11572
|
-
return `Input tidak sah: dijangka instanceof ${issue2.expected}, diterima ${
|
|
11610
|
+
return `Input tidak sah: dijangka instanceof ${issue2.expected}, diterima ${received2}`;
|
|
11573
11611
|
}
|
|
11574
|
-
return `Input tidak sah: dijangka ${expected}, diterima ${
|
|
11612
|
+
return `Input tidak sah: dijangka ${expected}, diterima ${received2}`;
|
|
11575
11613
|
}
|
|
11576
11614
|
case "invalid_value":
|
|
11577
11615
|
if (issue2.values.length === 1)
|
|
@@ -11685,8 +11723,8 @@ var init_ne = __esm({
|
|
|
11685
11723
|
case "invalid_type": {
|
|
11686
11724
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
11687
11725
|
const receivedType = parsedType(issue2.input);
|
|
11688
|
-
const
|
|
11689
|
-
return `\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${expected}, \u092A\u094D\u0930\u093E\u092A\u094D\u0924 ${
|
|
11726
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
11727
|
+
return `\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${expected}, \u092A\u094D\u0930\u093E\u092A\u094D\u0924 ${received2}`;
|
|
11690
11728
|
}
|
|
11691
11729
|
case "invalid_value":
|
|
11692
11730
|
if (issue2.values.length === 1)
|
|
@@ -11804,11 +11842,11 @@ var init_nl = __esm({
|
|
|
11804
11842
|
case "invalid_type": {
|
|
11805
11843
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
11806
11844
|
const receivedType = parsedType(issue2.input);
|
|
11807
|
-
const
|
|
11845
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
11808
11846
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
11809
|
-
return `Ongeldige invoer: verwacht instanceof ${issue2.expected}, ontving ${
|
|
11847
|
+
return `Ongeldige invoer: verwacht instanceof ${issue2.expected}, ontving ${received2}`;
|
|
11810
11848
|
}
|
|
11811
|
-
return `Ongeldige invoer: verwacht ${expected}, ontving ${
|
|
11849
|
+
return `Ongeldige invoer: verwacht ${expected}, ontving ${received2}`;
|
|
11812
11850
|
}
|
|
11813
11851
|
case "invalid_value":
|
|
11814
11852
|
if (issue2.values.length === 1)
|
|
@@ -11927,11 +11965,11 @@ var init_nn = __esm({
|
|
|
11927
11965
|
case "invalid_type": {
|
|
11928
11966
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
11929
11967
|
const receivedType = parsedType(issue2.input);
|
|
11930
|
-
const
|
|
11968
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
11931
11969
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
11932
|
-
return `Ugyldig input: forventa instanceof ${issue2.expected}, fekk ${
|
|
11970
|
+
return `Ugyldig input: forventa instanceof ${issue2.expected}, fekk ${received2}`;
|
|
11933
11971
|
}
|
|
11934
|
-
return `Ugyldig input: forventa ${expected}, fekk ${
|
|
11972
|
+
return `Ugyldig input: forventa ${expected}, fekk ${received2}`;
|
|
11935
11973
|
}
|
|
11936
11974
|
case "invalid_value":
|
|
11937
11975
|
if (issue2.values.length === 1)
|
|
@@ -12047,11 +12085,11 @@ var init_no = __esm({
|
|
|
12047
12085
|
case "invalid_type": {
|
|
12048
12086
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
12049
12087
|
const receivedType = parsedType(issue2.input);
|
|
12050
|
-
const
|
|
12088
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
12051
12089
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
12052
|
-
return `Ugyldig input: forventet instanceof ${issue2.expected}, fikk ${
|
|
12090
|
+
return `Ugyldig input: forventet instanceof ${issue2.expected}, fikk ${received2}`;
|
|
12053
12091
|
}
|
|
12054
|
-
return `Ugyldig input: forventet ${expected}, fikk ${
|
|
12092
|
+
return `Ugyldig input: forventet ${expected}, fikk ${received2}`;
|
|
12055
12093
|
}
|
|
12056
12094
|
case "invalid_value":
|
|
12057
12095
|
if (issue2.values.length === 1)
|
|
@@ -12168,11 +12206,11 @@ var init_ota = __esm({
|
|
|
12168
12206
|
case "invalid_type": {
|
|
12169
12207
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
12170
12208
|
const receivedType = parsedType(issue2.input);
|
|
12171
|
-
const
|
|
12209
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
12172
12210
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
12173
|
-
return `F\xE2sit giren: umulan instanceof ${issue2.expected}, al\u0131nan ${
|
|
12211
|
+
return `F\xE2sit giren: umulan instanceof ${issue2.expected}, al\u0131nan ${received2}`;
|
|
12174
12212
|
}
|
|
12175
|
-
return `F\xE2sit giren: umulan ${expected}, al\u0131nan ${
|
|
12213
|
+
return `F\xE2sit giren: umulan ${expected}, al\u0131nan ${received2}`;
|
|
12176
12214
|
}
|
|
12177
12215
|
case "invalid_value":
|
|
12178
12216
|
if (issue2.values.length === 1)
|
|
@@ -12288,11 +12326,11 @@ var init_ps = __esm({
|
|
|
12288
12326
|
case "invalid_type": {
|
|
12289
12327
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
12290
12328
|
const receivedType = parsedType(issue2.input);
|
|
12291
|
-
const
|
|
12329
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
12292
12330
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
12293
|
-
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${issue2.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${
|
|
12331
|
+
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${issue2.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${received2} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;
|
|
12294
12332
|
}
|
|
12295
|
-
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${
|
|
12333
|
+
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${received2} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;
|
|
12296
12334
|
}
|
|
12297
12335
|
case "invalid_value":
|
|
12298
12336
|
if (issue2.values.length === 1) {
|
|
@@ -12414,11 +12452,11 @@ var init_pl = __esm({
|
|
|
12414
12452
|
case "invalid_type": {
|
|
12415
12453
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
12416
12454
|
const receivedType = parsedType(issue2.input);
|
|
12417
|
-
const
|
|
12455
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
12418
12456
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
12419
|
-
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${issue2.expected}, otrzymano ${
|
|
12457
|
+
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${issue2.expected}, otrzymano ${received2}`;
|
|
12420
12458
|
}
|
|
12421
|
-
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${expected}, otrzymano ${
|
|
12459
|
+
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${expected}, otrzymano ${received2}`;
|
|
12422
12460
|
}
|
|
12423
12461
|
case "invalid_value":
|
|
12424
12462
|
if (issue2.values.length === 1)
|
|
@@ -12562,8 +12600,8 @@ var init_pt = __esm({
|
|
|
12562
12600
|
case "invalid_type": {
|
|
12563
12601
|
const expected = translateOriginWithArticle(issue2.expected, "indefinite");
|
|
12564
12602
|
const receivedType = parsedType(issue2.input);
|
|
12565
|
-
const
|
|
12566
|
-
return `Entrada inv\xE1lida: esperava ${expected}, recebeu ${
|
|
12603
|
+
const received2 = translateOriginWithArticle(receivedType, "indefinite");
|
|
12604
|
+
return `Entrada inv\xE1lida: esperava ${expected}, recebeu ${received2}`;
|
|
12567
12605
|
}
|
|
12568
12606
|
case "invalid_value":
|
|
12569
12607
|
if (issue2.values.length === 1)
|
|
@@ -12712,8 +12750,8 @@ var init_pt_BR = __esm({
|
|
|
12712
12750
|
case "invalid_type": {
|
|
12713
12751
|
const expected = translateOriginWithArticle(issue2.expected, "indefinite");
|
|
12714
12752
|
const receivedType = parsedType(issue2.input);
|
|
12715
|
-
const
|
|
12716
|
-
return `Entrada inv\xE1lida: esperava ${expected}, recebeu ${
|
|
12753
|
+
const received2 = translateOriginWithArticle(receivedType, "indefinite");
|
|
12754
|
+
return `Entrada inv\xE1lida: esperava ${expected}, recebeu ${received2}`;
|
|
12717
12755
|
}
|
|
12718
12756
|
case "invalid_value":
|
|
12719
12757
|
if (issue2.values.length === 1)
|
|
@@ -12847,8 +12885,8 @@ var init_ro = __esm({
|
|
|
12847
12885
|
case "invalid_type": {
|
|
12848
12886
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
12849
12887
|
const receivedType = parsedType(issue2.input);
|
|
12850
|
-
const
|
|
12851
|
-
return `Intrare invalid\u0103: a\u0219teptat ${expected}, primit ${
|
|
12888
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
12889
|
+
return `Intrare invalid\u0103: a\u0219teptat ${expected}, primit ${received2}`;
|
|
12852
12890
|
}
|
|
12853
12891
|
case "invalid_value":
|
|
12854
12892
|
if (issue2.values.length === 1)
|
|
@@ -13015,11 +13053,11 @@ var init_ru = __esm({
|
|
|
13015
13053
|
case "invalid_type": {
|
|
13016
13054
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
13017
13055
|
const receivedType = parsedType(issue2.input);
|
|
13018
|
-
const
|
|
13056
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
13019
13057
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
13020
|
-
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${
|
|
13058
|
+
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${received2}`;
|
|
13021
13059
|
}
|
|
13022
|
-
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${
|
|
13060
|
+
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${received2}`;
|
|
13023
13061
|
}
|
|
13024
13062
|
case "invalid_value":
|
|
13025
13063
|
if (issue2.values.length === 1)
|
|
@@ -13142,11 +13180,11 @@ var init_sk = __esm({
|
|
|
13142
13180
|
case "invalid_type": {
|
|
13143
13181
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
13144
13182
|
const receivedType = parsedType(issue2.input);
|
|
13145
|
-
const
|
|
13183
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
13146
13184
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
13147
|
-
return `Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 instanceof ${issue2.expected}, obdr\u017Ean\xE9 ${
|
|
13185
|
+
return `Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 instanceof ${issue2.expected}, obdr\u017Ean\xE9 ${received2}`;
|
|
13148
13186
|
}
|
|
13149
|
-
return `Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 ${expected}, obdr\u017Ean\xE9 ${
|
|
13187
|
+
return `Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 ${expected}, obdr\u017Ean\xE9 ${received2}`;
|
|
13150
13188
|
}
|
|
13151
13189
|
case "invalid_value":
|
|
13152
13190
|
if (issue2.values.length === 1)
|
|
@@ -13263,11 +13301,11 @@ var init_sl = __esm({
|
|
|
13263
13301
|
case "invalid_type": {
|
|
13264
13302
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
13265
13303
|
const receivedType = parsedType(issue2.input);
|
|
13266
|
-
const
|
|
13304
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
13267
13305
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
13268
|
-
return `Neveljaven vnos: pri\u010Dakovano instanceof ${issue2.expected}, prejeto ${
|
|
13306
|
+
return `Neveljaven vnos: pri\u010Dakovano instanceof ${issue2.expected}, prejeto ${received2}`;
|
|
13269
13307
|
}
|
|
13270
|
-
return `Neveljaven vnos: pri\u010Dakovano ${expected}, prejeto ${
|
|
13308
|
+
return `Neveljaven vnos: pri\u010Dakovano ${expected}, prejeto ${received2}`;
|
|
13271
13309
|
}
|
|
13272
13310
|
case "invalid_value":
|
|
13273
13311
|
if (issue2.values.length === 1)
|
|
@@ -13384,11 +13422,11 @@ var init_sv = __esm({
|
|
|
13384
13422
|
case "invalid_type": {
|
|
13385
13423
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
13386
13424
|
const receivedType = parsedType(issue2.input);
|
|
13387
|
-
const
|
|
13425
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
13388
13426
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
13389
|
-
return `Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${issue2.expected}, fick ${
|
|
13427
|
+
return `Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${issue2.expected}, fick ${received2}`;
|
|
13390
13428
|
}
|
|
13391
|
-
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${expected}, fick ${
|
|
13429
|
+
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${expected}, fick ${received2}`;
|
|
13392
13430
|
}
|
|
13393
13431
|
case "invalid_value":
|
|
13394
13432
|
if (issue2.values.length === 1)
|
|
@@ -13507,11 +13545,11 @@ var init_ta = __esm({
|
|
|
13507
13545
|
case "invalid_type": {
|
|
13508
13546
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
13509
13547
|
const receivedType = parsedType(issue2.input);
|
|
13510
|
-
const
|
|
13548
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
13511
13549
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
13512
|
-
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${issue2.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${
|
|
13550
|
+
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${issue2.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${received2}`;
|
|
13513
13551
|
}
|
|
13514
|
-
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${
|
|
13552
|
+
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${received2}`;
|
|
13515
13553
|
}
|
|
13516
13554
|
case "invalid_value":
|
|
13517
13555
|
if (issue2.values.length === 1)
|
|
@@ -13631,8 +13669,8 @@ var init_tg = __esm({
|
|
|
13631
13669
|
case "invalid_type": {
|
|
13632
13670
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
13633
13671
|
const receivedType = parsedType(issue2.input);
|
|
13634
|
-
const
|
|
13635
|
-
return `\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: ${expected} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442, ${
|
|
13672
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
13673
|
+
return `\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: ${expected} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442, ${received2} \u0433\u0438\u0440\u0438\u0444\u0442\u0430 \u0448\u0443\u0434`;
|
|
13636
13674
|
}
|
|
13637
13675
|
case "invalid_value":
|
|
13638
13676
|
if (issue2.values.length === 1)
|
|
@@ -13752,11 +13790,11 @@ var init_th = __esm({
|
|
|
13752
13790
|
case "invalid_type": {
|
|
13753
13791
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
13754
13792
|
const receivedType = parsedType(issue2.input);
|
|
13755
|
-
const
|
|
13793
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
13756
13794
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
13757
|
-
return `\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${issue2.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${
|
|
13795
|
+
return `\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${issue2.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${received2}`;
|
|
13758
13796
|
}
|
|
13759
|
-
return `\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${
|
|
13797
|
+
return `\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${received2}`;
|
|
13760
13798
|
}
|
|
13761
13799
|
case "invalid_value":
|
|
13762
13800
|
if (issue2.values.length === 1)
|
|
@@ -13871,8 +13909,8 @@ var init_tk = __esm({
|
|
|
13871
13909
|
case "invalid_type": {
|
|
13872
13910
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
13873
13911
|
const receivedType = parsedType(issue2.input);
|
|
13874
|
-
const
|
|
13875
|
-
return `N\xE4dogry baha: gara\u015Fylan ${expected} \xFDerine ${
|
|
13912
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
13913
|
+
return `N\xE4dogry baha: gara\u015Fylan ${expected} \xFDerine ${received2} alyndy`;
|
|
13876
13914
|
}
|
|
13877
13915
|
case "invalid_value":
|
|
13878
13916
|
if (issue2.values.length === 1)
|
|
@@ -13985,11 +14023,11 @@ var init_tr = __esm({
|
|
|
13985
14023
|
case "invalid_type": {
|
|
13986
14024
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
13987
14025
|
const receivedType = parsedType(issue2.input);
|
|
13988
|
-
const
|
|
14026
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
13989
14027
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
13990
|
-
return `Ge\xE7ersiz de\u011Fer: beklenen instanceof ${issue2.expected}, al\u0131nan ${
|
|
14028
|
+
return `Ge\xE7ersiz de\u011Fer: beklenen instanceof ${issue2.expected}, al\u0131nan ${received2}`;
|
|
13991
14029
|
}
|
|
13992
|
-
return `Ge\xE7ersiz de\u011Fer: beklenen ${expected}, al\u0131nan ${
|
|
14030
|
+
return `Ge\xE7ersiz de\u011Fer: beklenen ${expected}, al\u0131nan ${received2}`;
|
|
13993
14031
|
}
|
|
13994
14032
|
case "invalid_value":
|
|
13995
14033
|
if (issue2.values.length === 1)
|
|
@@ -14104,11 +14142,11 @@ var init_uk = __esm({
|
|
|
14104
14142
|
case "invalid_type": {
|
|
14105
14143
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
14106
14144
|
const receivedType = parsedType(issue2.input);
|
|
14107
|
-
const
|
|
14145
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
14108
14146
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
14109
|
-
return `\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${issue2.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${
|
|
14147
|
+
return `\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${issue2.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${received2}`;
|
|
14110
14148
|
}
|
|
14111
|
-
return `\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${
|
|
14149
|
+
return `\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${received2}`;
|
|
14112
14150
|
}
|
|
14113
14151
|
case "invalid_value":
|
|
14114
14152
|
if (issue2.values.length === 1)
|
|
@@ -14235,11 +14273,11 @@ var init_ur = __esm({
|
|
|
14235
14273
|
case "invalid_type": {
|
|
14236
14274
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
14237
14275
|
const receivedType = parsedType(issue2.input);
|
|
14238
|
-
const
|
|
14276
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
14239
14277
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
14240
|
-
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${issue2.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${
|
|
14278
|
+
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${issue2.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${received2} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;
|
|
14241
14279
|
}
|
|
14242
|
-
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${
|
|
14280
|
+
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${received2} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;
|
|
14243
14281
|
}
|
|
14244
14282
|
case "invalid_value":
|
|
14245
14283
|
if (issue2.values.length === 1)
|
|
@@ -14356,11 +14394,11 @@ var init_uz = __esm({
|
|
|
14356
14394
|
case "invalid_type": {
|
|
14357
14395
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
14358
14396
|
const receivedType = parsedType(issue2.input);
|
|
14359
|
-
const
|
|
14397
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
14360
14398
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
14361
|
-
return `Noto\u2018g\u2018ri kirish: kutilgan instanceof ${issue2.expected}, qabul qilingan ${
|
|
14399
|
+
return `Noto\u2018g\u2018ri kirish: kutilgan instanceof ${issue2.expected}, qabul qilingan ${received2}`;
|
|
14362
14400
|
}
|
|
14363
|
-
return `Noto\u2018g\u2018ri kirish: kutilgan ${expected}, qabul qilingan ${
|
|
14401
|
+
return `Noto\u2018g\u2018ri kirish: kutilgan ${expected}, qabul qilingan ${received2}`;
|
|
14364
14402
|
}
|
|
14365
14403
|
case "invalid_value":
|
|
14366
14404
|
if (issue2.values.length === 1)
|
|
@@ -14476,11 +14514,11 @@ var init_vi = __esm({
|
|
|
14476
14514
|
case "invalid_type": {
|
|
14477
14515
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
14478
14516
|
const receivedType = parsedType(issue2.input);
|
|
14479
|
-
const
|
|
14517
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
14480
14518
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
14481
|
-
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${issue2.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${
|
|
14519
|
+
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${issue2.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${received2}`;
|
|
14482
14520
|
}
|
|
14483
|
-
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${
|
|
14521
|
+
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${received2}`;
|
|
14484
14522
|
}
|
|
14485
14523
|
case "invalid_value":
|
|
14486
14524
|
if (issue2.values.length === 1)
|
|
@@ -14597,11 +14635,11 @@ var init_zh_CN = __esm({
|
|
|
14597
14635
|
case "invalid_type": {
|
|
14598
14636
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
14599
14637
|
const receivedType = parsedType(issue2.input);
|
|
14600
|
-
const
|
|
14638
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
14601
14639
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
14602
|
-
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${issue2.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${
|
|
14640
|
+
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${issue2.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${received2}`;
|
|
14603
14641
|
}
|
|
14604
|
-
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${
|
|
14642
|
+
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${received2}`;
|
|
14605
14643
|
}
|
|
14606
14644
|
case "invalid_value":
|
|
14607
14645
|
if (issue2.values.length === 1)
|
|
@@ -14715,11 +14753,11 @@ var init_zh_TW = __esm({
|
|
|
14715
14753
|
case "invalid_type": {
|
|
14716
14754
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
14717
14755
|
const receivedType = parsedType(issue2.input);
|
|
14718
|
-
const
|
|
14756
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
14719
14757
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
14720
|
-
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${issue2.expected}\uFF0C\u4F46\u6536\u5230 ${
|
|
14758
|
+
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${issue2.expected}\uFF0C\u4F46\u6536\u5230 ${received2}`;
|
|
14721
14759
|
}
|
|
14722
|
-
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${expected}\uFF0C\u4F46\u6536\u5230 ${
|
|
14760
|
+
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${expected}\uFF0C\u4F46\u6536\u5230 ${received2}`;
|
|
14723
14761
|
}
|
|
14724
14762
|
case "invalid_value":
|
|
14725
14763
|
if (issue2.values.length === 1)
|
|
@@ -14836,11 +14874,11 @@ var init_yo = __esm({
|
|
|
14836
14874
|
case "invalid_type": {
|
|
14837
14875
|
const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
|
|
14838
14876
|
const receivedType = parsedType(issue2.input);
|
|
14839
|
-
const
|
|
14877
|
+
const received2 = TypeDictionary[receivedType] ?? receivedType;
|
|
14840
14878
|
if (/^[A-Z]/.test(issue2.expected)) {
|
|
14841
|
-
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${issue2.expected}, \xE0m\u1ECD\u0300 a r\xED ${
|
|
14879
|
+
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${issue2.expected}, \xE0m\u1ECD\u0300 a r\xED ${received2}`;
|
|
14842
14880
|
}
|
|
14843
|
-
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${expected}, \xE0m\u1ECD\u0300 a r\xED ${
|
|
14881
|
+
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${expected}, \xE0m\u1ECD\u0300 a r\xED ${received2}`;
|
|
14844
14882
|
}
|
|
14845
14883
|
case "invalid_value":
|
|
14846
14884
|
if (issue2.values.length === 1)
|
|
@@ -29496,7 +29534,7 @@ var require_raw_body = __commonJS({
|
|
|
29496
29534
|
type: "stream.not.readable"
|
|
29497
29535
|
}));
|
|
29498
29536
|
}
|
|
29499
|
-
var
|
|
29537
|
+
var received2 = 0;
|
|
29500
29538
|
var decoder2;
|
|
29501
29539
|
try {
|
|
29502
29540
|
decoder2 = getDecoder(encoding);
|
|
@@ -29535,17 +29573,17 @@ var require_raw_body = __commonJS({
|
|
|
29535
29573
|
code: "ECONNABORTED",
|
|
29536
29574
|
expected: length,
|
|
29537
29575
|
length,
|
|
29538
|
-
received,
|
|
29576
|
+
received: received2,
|
|
29539
29577
|
type: "request.aborted"
|
|
29540
29578
|
}));
|
|
29541
29579
|
}
|
|
29542
29580
|
function onData(chunk) {
|
|
29543
29581
|
if (complete) return;
|
|
29544
|
-
|
|
29545
|
-
if (limit !== null &&
|
|
29582
|
+
received2 += chunk.length;
|
|
29583
|
+
if (limit !== null && received2 > limit) {
|
|
29546
29584
|
done(createError(413, "request entity too large", {
|
|
29547
29585
|
limit,
|
|
29548
|
-
received,
|
|
29586
|
+
received: received2,
|
|
29549
29587
|
type: "entity.too.large"
|
|
29550
29588
|
}));
|
|
29551
29589
|
} else if (decoder2) {
|
|
@@ -29557,11 +29595,11 @@ var require_raw_body = __commonJS({
|
|
|
29557
29595
|
function onEnd(err) {
|
|
29558
29596
|
if (complete) return;
|
|
29559
29597
|
if (err) return done(err);
|
|
29560
|
-
if (length !== null &&
|
|
29598
|
+
if (length !== null && received2 !== length) {
|
|
29561
29599
|
done(createError(400, "request size did not match content length", {
|
|
29562
29600
|
expected: length,
|
|
29563
29601
|
length,
|
|
29564
|
-
received,
|
|
29602
|
+
received: received2,
|
|
29565
29603
|
type: "request.size.invalid"
|
|
29566
29604
|
}));
|
|
29567
29605
|
} else {
|
|
@@ -72982,7 +73020,7 @@ function isCi(env = process.env) {
|
|
|
72982
73020
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
72983
73021
|
function readCliVersion() {
|
|
72984
73022
|
if (true) {
|
|
72985
|
-
return "0.35.1-next.
|
|
73023
|
+
return "0.35.1-next.47";
|
|
72986
73024
|
}
|
|
72987
73025
|
return "0.0.0";
|
|
72988
73026
|
}
|
|
@@ -75603,21 +75641,24 @@ init_src();
|
|
|
75603
75641
|
var SECRET_PLACEHOLDER_MARKER = "{{secret:";
|
|
75604
75642
|
function resolveSecretPlaceholders(text, options = {}) {
|
|
75605
75643
|
const secrets = [];
|
|
75644
|
+
const client2 = options.clientSecrets;
|
|
75645
|
+
const exclusive = client2?.exclusive === true;
|
|
75606
75646
|
let sources;
|
|
75607
75647
|
const resolved = text.replace(SECRET_PLACEHOLDER_RE, (_placeholder, rawName) => {
|
|
75608
75648
|
sources ??= [
|
|
75609
|
-
...
|
|
75610
|
-
...secretSources(options)
|
|
75649
|
+
...client2 ? [clientSecretSource(client2)] : [],
|
|
75650
|
+
...exclusive ? [] : secretSources(options)
|
|
75611
75651
|
];
|
|
75612
75652
|
const { name, value } = lookupPlaceholderSecret(rawName, sources);
|
|
75613
75653
|
if (value === void 0) {
|
|
75654
|
+
if (exclusive) throw unknownCallerSecret(rawName, name, client2);
|
|
75614
75655
|
const names = secretNames(sources);
|
|
75615
|
-
const where =
|
|
75656
|
+
const where = client2 ? `the required secret ${name} was not provided: the argent client forwards its secrets to this tool-server and has no value for it, and no source on the machine running the tool-server defines it either` : `no source on the machine running the tool-server defines ${name}`;
|
|
75616
75657
|
throw new InvalidToolInputError(
|
|
75617
75658
|
`Unknown secret "${rawName}" \u2014 ${where}. Available secrets: ${names.length ? names.join(", ") : "(none)"}.
|
|
75618
75659
|
Sources consulted, first match wins:
|
|
75619
75660
|
${describeSecretSources(sources)}
|
|
75620
|
-
` + (
|
|
75661
|
+
` + (client2 ? clientSecretPlacementAdvice(name) : secretPlacementAdvice(name, options)),
|
|
75621
75662
|
{
|
|
75622
75663
|
error_code: FAILURE_CODES.SECRET_PLACEHOLDER_UNKNOWN,
|
|
75623
75664
|
failure_stage: "secret_placeholder_resolution",
|
|
@@ -75630,6 +75671,22 @@ ${describeSecretSources(sources)}
|
|
|
75630
75671
|
});
|
|
75631
75672
|
return { text: resolved, secrets };
|
|
75632
75673
|
}
|
|
75674
|
+
function unknownCallerSecret(rawName, name, client2) {
|
|
75675
|
+
const sources = client2.sources ?? [];
|
|
75676
|
+
const names = [.../* @__PURE__ */ new Set([...secretNames(sources), ...client2.keys()])].sort();
|
|
75677
|
+
const listed = sources.length > 0 ? `Sources the client consulted, first match wins:
|
|
75678
|
+
${describeSecretSources(sources)}
|
|
75679
|
+
` : "";
|
|
75680
|
+
return new InvalidToolInputError(
|
|
75681
|
+
`Unknown secret "${rawName}" \u2014 the argent client that sent this call (the \`argent\` command, or the MCP server of the agent's session) found no ${name} in its environment, its project or ~/.argent/secrets.env. The tool-server does not read its own. Available secrets: ${names.length ? names.join(", ") : "(none)"}.
|
|
75682
|
+
` + listed + callerSecretPlacementAdvice(name),
|
|
75683
|
+
{
|
|
75684
|
+
error_code: FAILURE_CODES.SECRET_PLACEHOLDER_UNKNOWN,
|
|
75685
|
+
failure_stage: "secret_placeholder_resolution",
|
|
75686
|
+
error_kind: "validation"
|
|
75687
|
+
}
|
|
75688
|
+
);
|
|
75689
|
+
}
|
|
75633
75690
|
var MIN_FRAGMENT = 6;
|
|
75634
75691
|
function redactSecrets(text, secrets) {
|
|
75635
75692
|
return secretRedactor(secrets)(text);
|
|
@@ -87105,9 +87162,9 @@ var Session = class _Session {
|
|
|
87105
87162
|
return 0n;
|
|
87106
87163
|
const streamId = frame2.id.value.value;
|
|
87107
87164
|
const flow = this.#streamFlow.get(streamId);
|
|
87108
|
-
const
|
|
87109
|
-
const finalSize = frame2.finalSize >
|
|
87110
|
-
const gap = finalSize -
|
|
87165
|
+
const received2 = flow?.recvOffset ?? 0n;
|
|
87166
|
+
const finalSize = frame2.finalSize > received2 ? frame2.finalSize : received2;
|
|
87167
|
+
const gap = finalSize - received2;
|
|
87111
87168
|
const recvMax = flow?.recvMax ?? (frame2.id.dir === Dir.Bi ? this.#ourParams.initialMaxStreamDataBidiRemote : this.#ourParams.initialMaxStreamDataUni);
|
|
87112
87169
|
if (finalSize > recvMax || this.#recvDataOffset + gap > this.#recvDataMax) {
|
|
87113
87170
|
return null;
|
|
@@ -94035,14 +94092,14 @@ async function exchangeSetup(transport, version3, implementation) {
|
|
|
94035
94092
|
const self2 = randomOrigin();
|
|
94036
94093
|
cluster_exports.intoSetup(params, self2, version3);
|
|
94037
94094
|
const setupMsg = new Setup({ parameters: params });
|
|
94038
|
-
const [writer,
|
|
94095
|
+
const [writer, received2] = await Promise.all([
|
|
94039
94096
|
sendSetup(transport, version3, setupMsg),
|
|
94040
94097
|
receiveSetup(transport, version3)
|
|
94041
94098
|
]);
|
|
94042
94099
|
return {
|
|
94043
|
-
control: new Stream({ writer, reader:
|
|
94044
|
-
solicit:
|
|
94045
|
-
cluster: { self: self2, peer:
|
|
94100
|
+
control: new Stream({ writer, reader: received2.reader }),
|
|
94101
|
+
solicit: received2.solicit,
|
|
94102
|
+
cluster: { self: self2, peer: received2.cluster }
|
|
94046
94103
|
};
|
|
94047
94104
|
}
|
|
94048
94105
|
async function sendSetup(transport, version3, setupMsg) {
|
|
@@ -125577,6 +125634,21 @@ function isLocalConnection(socket) {
|
|
|
125577
125634
|
return LOOPBACK_ADDRESSES.has(remote) || remote === socket.localAddress;
|
|
125578
125635
|
}
|
|
125579
125636
|
|
|
125637
|
+
// ../tool-server/src/utils/received-secrets.ts
|
|
125638
|
+
var MAX_VALUES2 = 256;
|
|
125639
|
+
var received = /* @__PURE__ */ new Map();
|
|
125640
|
+
function noteReceivedSecrets(secrets) {
|
|
125641
|
+
for (const [name, value] of secrets) {
|
|
125642
|
+
if (value.length === 0) continue;
|
|
125643
|
+
received.delete(value);
|
|
125644
|
+
received.set(value, name);
|
|
125645
|
+
if (received.size > MAX_VALUES2) received.delete(received.keys().next().value);
|
|
125646
|
+
}
|
|
125647
|
+
}
|
|
125648
|
+
function receivedSecrets() {
|
|
125649
|
+
return [...received].reverse().map(([value, name]) => ({ name, value }));
|
|
125650
|
+
}
|
|
125651
|
+
|
|
125580
125652
|
// ../tool-server/src/http.ts
|
|
125581
125653
|
var AUTO_SUPPRESS_MS = 30 * 60 * 1e3;
|
|
125582
125654
|
var AUTH_TOKEN_ENV = "ARGENT_AUTH_TOKEN";
|
|
@@ -125940,12 +126012,12 @@ function createHttpApp(registry2, options) {
|
|
|
125940
126012
|
const id = (0, import_node_crypto14.randomUUID)();
|
|
125941
126013
|
const tarPath = (0, import_node_path15.join)((0, import_node_os9.tmpdir)(), `argent-upload-${id}.tar.gz`);
|
|
125942
126014
|
const ws = (0, import_node_fs13.createWriteStream)(tarPath);
|
|
125943
|
-
let
|
|
126015
|
+
let received2 = 0;
|
|
125944
126016
|
let released = false;
|
|
125945
126017
|
const releaseInFlight = () => {
|
|
125946
126018
|
if (released) return;
|
|
125947
126019
|
released = true;
|
|
125948
|
-
inFlightUploadBytes -=
|
|
126020
|
+
inFlightUploadBytes -= received2;
|
|
125949
126021
|
};
|
|
125950
126022
|
const abort = (status, message) => {
|
|
125951
126023
|
releaseInFlight();
|
|
@@ -125957,10 +126029,10 @@ function createHttpApp(registry2, options) {
|
|
|
125957
126029
|
const digest = (0, import_node_crypto14.createHash)("sha256");
|
|
125958
126030
|
req.on("data", (chunk) => {
|
|
125959
126031
|
if (released) return;
|
|
125960
|
-
|
|
126032
|
+
received2 += chunk.length;
|
|
125961
126033
|
inFlightUploadBytes += chunk.length;
|
|
125962
126034
|
digest.update(chunk);
|
|
125963
|
-
if (
|
|
126035
|
+
if (received2 > maxUploadBytes) {
|
|
125964
126036
|
abort(
|
|
125965
126037
|
413,
|
|
125966
126038
|
`Upload exceeds the ${(0, import_bytes2.default)(maxUploadBytes, { unitSeparator: " " })} limit.`
|
|
@@ -125987,7 +126059,7 @@ function createHttpApp(registry2, options) {
|
|
|
125987
126059
|
tarPath,
|
|
125988
126060
|
sha256: digest.digest("hex"),
|
|
125989
126061
|
expireAt: Date.now() + UPLOAD_TTL_MS,
|
|
125990
|
-
bytes:
|
|
126062
|
+
bytes: received2
|
|
125991
126063
|
});
|
|
125992
126064
|
res.json({ uploadId: id });
|
|
125993
126065
|
});
|
|
@@ -126075,14 +126147,23 @@ function createHttpApp(registry2, options) {
|
|
|
126075
126147
|
let clientSecrets;
|
|
126076
126148
|
const clientSecretsHeader = firstHeader(req.headers[CLIENT_SECRETS_HEADER]);
|
|
126077
126149
|
if (clientSecretsHeader !== void 0) {
|
|
126150
|
+
const sourcesHeader = firstHeader(req.headers[CLIENT_SECRET_SOURCES_HEADER]);
|
|
126151
|
+
let header = CLIENT_SECRETS_HEADER;
|
|
126078
126152
|
try {
|
|
126079
|
-
|
|
126153
|
+
const values = decodeClientSecrets(clientSecretsHeader);
|
|
126154
|
+
header = CLIENT_SECRET_SOURCES_HEADER;
|
|
126155
|
+
const sources = sourcesHeader === void 0 ? void 0 : decodeSecretSourceSummaries(sourcesHeader);
|
|
126156
|
+
clientSecrets = Object.assign(values, {
|
|
126157
|
+
exclusive: firstHeader(req.headers[LINKED_CALL_HEADER]) !== "1",
|
|
126158
|
+
...sources ? { sources } : {}
|
|
126159
|
+
});
|
|
126080
126160
|
} catch (err) {
|
|
126081
126161
|
res.status(400).json({
|
|
126082
|
-
error: `The ${
|
|
126162
|
+
error: `The ${header} header ${err instanceof Error ? err.message : String(err)}.`
|
|
126083
126163
|
});
|
|
126084
126164
|
return;
|
|
126085
126165
|
}
|
|
126166
|
+
noteReceivedSecrets(clientSecrets);
|
|
126086
126167
|
}
|
|
126087
126168
|
let body;
|
|
126088
126169
|
try {
|
|
@@ -129226,7 +129307,7 @@ function networkSecrets(ctx) {
|
|
|
129226
129307
|
for (const source of secretSources()) {
|
|
129227
129308
|
for (const [name, value] of source.values) secrets.push({ name, value });
|
|
129228
129309
|
}
|
|
129229
|
-
return [...secrets, ...typedSecrets()];
|
|
129310
|
+
return [...secrets, ...receivedSecrets(), ...typedSecrets()];
|
|
129230
129311
|
}
|
|
129231
129312
|
function networkRedactorOf(secrets) {
|
|
129232
129313
|
const byValue = /* @__PURE__ */ new Map();
|
|
@@ -141342,7 +141423,7 @@ var capability18 = {
|
|
|
141342
141423
|
var zodSchema27 = external_exports.object({
|
|
141343
141424
|
udid: external_exports.string().describe("Target device id from `list-devices`."),
|
|
141344
141425
|
text: external_exports.string().optional().describe(
|
|
141345
|
-
"Text to type. Cannot be combined with `key`
|
|
141426
|
+
"Text to type. Cannot be combined with `key`. Use `{{secret:NAME}}` for credentials. Ask the user to configure missing secrets without sharing their values. Secret placeholders suppress the automatic screenshot for the call. Use one `run-sequence` to type a secret and press Enter with the same protection."
|
|
141346
141427
|
),
|
|
141347
141428
|
key: external_exports.string().optional().describe(
|
|
141348
141429
|
"Named key. Cannot be combined with `text` or `clear` (use two steps in `run-sequence`). Values: enter, escape, backspace, tab, space, arrow-up, arrow-down, arrow-left, arrow-right, f1-f12. Not supported on Apple TV / Android TV (use `tv-remote`). Physical iOS: enter/backspace only.<flag:harmonyos> HarmonyOS: enter, backspace, space, arrow-left/right.</flag:harmonyos><flag:macos-apps> Mac app: also delete (forward delete), home, end, page-up/down, and modifier shortcuts (e.g. command+a).</flag:macos-apps>"
|
|
@@ -141495,7 +141576,7 @@ var pasteZodSchema = external_exports.object({
|
|
|
141495
141576
|
"Device id from `list-devices` (iOS simulator UDID, Android emulator serial<flag:macos-apps>, or Mac app id</flag:macos-apps>)."
|
|
141496
141577
|
),
|
|
141497
141578
|
text: external_exports.string().min(1).describe(
|
|
141498
|
-
"Text to paste.
|
|
141579
|
+
"Text to paste. Use `{{secret:NAME}}` for credentials. Ask the user to configure missing secrets without sharing their values."
|
|
141499
141580
|
)
|
|
141500
141581
|
});
|
|
141501
141582
|
|