@moxt-ai/mobius 0.0.69 → 0.0.71
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/acp/session-history.d.ts +4 -2
- package/dist/acp/session-history.d.ts.map +1 -1
- package/dist/acp/session-history.js +121 -13
- package/dist/acp/session-history.js.map +1 -1
- package/dist/acp/session-manager.d.ts +57 -4
- package/dist/acp/session-manager.d.ts.map +1 -1
- package/dist/acp/session-manager.js +21 -5
- package/dist/acp/session-manager.js.map +1 -1
- package/dist/agent-catalog/agents/oh-my-pi-agent.d.ts +14 -0
- package/dist/agent-catalog/agents/oh-my-pi-agent.d.ts.map +1 -0
- package/dist/agent-catalog/agents/oh-my-pi-agent.js +32 -0
- package/dist/agent-catalog/agents/oh-my-pi-agent.js.map +1 -0
- package/dist/agent-catalog/agents/supported-agent-specifications.d.ts.map +1 -1
- package/dist/agent-catalog/agents/supported-agent-specifications.js +2 -0
- package/dist/agent-catalog/agents/supported-agent-specifications.js.map +1 -1
- package/dist/agent-catalog/discover-local-agents.d.ts +1 -0
- package/dist/agent-catalog/discover-local-agents.d.ts.map +1 -1
- package/dist/agent-catalog/discover-local-agents.js +1 -0
- package/dist/agent-catalog/discover-local-agents.js.map +1 -1
- package/dist/cli.js +735 -396
- package/dist/cli.js.map +4 -4
- package/dist/index.js +712 -373
- package/dist/index.js.map +4 -4
- package/dist/native-sessions/codex-history.d.ts +4 -2
- package/dist/native-sessions/codex-history.d.ts.map +1 -1
- package/dist/native-sessions/codex-history.js +159 -14
- package/dist/native-sessions/codex-history.js.map +1 -1
- package/dist/run-daemon.d.ts.map +1 -1
- package/dist/run-daemon.js +10 -2
- package/dist/run-daemon.js.map +1 -1
- package/dist/runtime.js +732 -393
- package/dist/runtime.js.map +4 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var createAcpClient = (handler) => client({ name: "mobius" }).onRequest(
|
|
|
35
35
|
import { join as join3, resolve as resolve3 } from "node:path";
|
|
36
36
|
import { fileURLToPath } from "node:url";
|
|
37
37
|
|
|
38
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
38
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/external.js
|
|
39
39
|
var external_exports = {};
|
|
40
40
|
__export(external_exports, {
|
|
41
41
|
$brand: () => $brand,
|
|
@@ -105,7 +105,6 @@ __export(external_exports, {
|
|
|
105
105
|
ZodPrefault: () => ZodPrefault,
|
|
106
106
|
ZodPreprocess: () => ZodPreprocess,
|
|
107
107
|
ZodPromise: () => ZodPromise,
|
|
108
|
-
ZodProperties: () => ZodProperties,
|
|
109
108
|
ZodReadonly: () => ZodReadonly,
|
|
110
109
|
ZodRealError: () => ZodRealError,
|
|
111
110
|
ZodRecord: () => ZodRecord,
|
|
@@ -149,6 +148,7 @@ __export(external_exports, {
|
|
|
149
148
|
creditCard: () => creditCard2,
|
|
150
149
|
cuid: () => cuid3,
|
|
151
150
|
cuid2: () => cuid22,
|
|
151
|
+
currencyCode: () => currencyCode2,
|
|
152
152
|
custom: () => custom,
|
|
153
153
|
date: () => date2,
|
|
154
154
|
decode: () => decode2,
|
|
@@ -242,7 +242,7 @@ __export(external_exports, {
|
|
|
242
242
|
preprocess: () => preprocess,
|
|
243
243
|
prettifyError: () => prettifyError,
|
|
244
244
|
promise: () => promise,
|
|
245
|
-
properties: () =>
|
|
245
|
+
properties: () => _properties,
|
|
246
246
|
property: () => _property,
|
|
247
247
|
readonly: () => readonly,
|
|
248
248
|
record: () => record,
|
|
@@ -298,7 +298,7 @@ __export(external_exports, {
|
|
|
298
298
|
xor: () => xor
|
|
299
299
|
});
|
|
300
300
|
|
|
301
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
301
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/index.js
|
|
302
302
|
var core_exports2 = {};
|
|
303
303
|
__export(core_exports2, {
|
|
304
304
|
$ZodAny: () => $ZodAny,
|
|
@@ -330,6 +330,7 @@ __export(core_exports2, {
|
|
|
330
330
|
$ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
|
|
331
331
|
$ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
|
|
332
332
|
$ZodCheckOverwrite: () => $ZodCheckOverwrite,
|
|
333
|
+
$ZodCheckProperties: () => $ZodCheckProperties,
|
|
333
334
|
$ZodCheckProperty: () => $ZodCheckProperty,
|
|
334
335
|
$ZodCheckRegex: () => $ZodCheckRegex,
|
|
335
336
|
$ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
|
|
@@ -383,7 +384,6 @@ __export(core_exports2, {
|
|
|
383
384
|
$ZodPrefault: () => $ZodPrefault,
|
|
384
385
|
$ZodPreprocess: () => $ZodPreprocess,
|
|
385
386
|
$ZodPromise: () => $ZodPromise,
|
|
386
|
-
$ZodProperties: () => $ZodProperties,
|
|
387
387
|
$ZodReadonly: () => $ZodReadonly,
|
|
388
388
|
$ZodRealError: () => $ZodRealError,
|
|
389
389
|
$ZodRecord: () => $ZodRecord,
|
|
@@ -551,6 +551,7 @@ __export(core_exports2, {
|
|
|
551
551
|
_xor: () => _xor,
|
|
552
552
|
base64Charset: () => base64Charset,
|
|
553
553
|
base64urlCharset: () => base64urlCharset,
|
|
554
|
+
canParseURL: () => canParseURL,
|
|
554
555
|
clone: () => clone,
|
|
555
556
|
compile: () => compile,
|
|
556
557
|
compileFn: () => compileFn,
|
|
@@ -573,7 +574,6 @@ __export(core_exports2, {
|
|
|
573
574
|
initializeContext: () => initializeContext,
|
|
574
575
|
isBackEdge: () => isBackEdge,
|
|
575
576
|
isRecursiveSchema: () => isRecursiveSchema,
|
|
576
|
-
isTransforming: () => isTransforming,
|
|
577
577
|
isValidBase64: () => isValidBase64,
|
|
578
578
|
isValidBase64URL: () => isValidBase64URL,
|
|
579
579
|
isValidCIDRv6: () => isValidCIDRv6,
|
|
@@ -610,11 +610,12 @@ __export(core_exports2, {
|
|
|
610
610
|
util: () => util_exports,
|
|
611
611
|
validate: () => validate,
|
|
612
612
|
validateAsync: () => validateAsync,
|
|
613
|
+
validateURL: () => validateURL,
|
|
613
614
|
version: () => version,
|
|
614
615
|
withParser: () => withParser
|
|
615
616
|
});
|
|
616
617
|
|
|
617
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
618
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.js
|
|
618
619
|
var util_exports = {};
|
|
619
620
|
__export(util_exports, {
|
|
620
621
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -1351,9 +1352,6 @@ function members(proto, table) {
|
|
|
1351
1352
|
else
|
|
1352
1353
|
defineBound(proto, key, desc.value);
|
|
1353
1354
|
}
|
|
1354
|
-
for (const sym of Object.getOwnPropertySymbols(table)) {
|
|
1355
|
-
defineBound(proto, sym, table[sym]);
|
|
1356
|
-
}
|
|
1357
1355
|
}
|
|
1358
1356
|
function own(inst, key, value, enumerable = true) {
|
|
1359
1357
|
Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
|
|
@@ -1460,7 +1458,7 @@ function constantCatch(value) {
|
|
|
1460
1458
|
return fn;
|
|
1461
1459
|
}
|
|
1462
1460
|
|
|
1463
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
1461
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.js
|
|
1464
1462
|
var _a;
|
|
1465
1463
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
1466
1464
|
status: "aborted"
|
|
@@ -1506,8 +1504,7 @@ function $constructor(name, initializer3, proto, params) {
|
|
|
1506
1504
|
} finally {
|
|
1507
1505
|
_zodDesc.value = void 0;
|
|
1508
1506
|
}
|
|
1509
|
-
}
|
|
1510
|
-
if (inst._zod.traits.has(name)) {
|
|
1507
|
+
} else if (inst._zod.traits.has(name)) {
|
|
1511
1508
|
return;
|
|
1512
1509
|
}
|
|
1513
1510
|
inst._zod.traits.add(name);
|
|
@@ -1583,7 +1580,7 @@ function config(newConfig) {
|
|
|
1583
1580
|
return globalConfig;
|
|
1584
1581
|
}
|
|
1585
1582
|
|
|
1586
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
1583
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/errors.js
|
|
1587
1584
|
function _getMessage() {
|
|
1588
1585
|
const internals = this._zod;
|
|
1589
1586
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -1775,7 +1772,7 @@ function prettifyError(error62) {
|
|
|
1775
1772
|
return lines.join("\n");
|
|
1776
1773
|
}
|
|
1777
1774
|
|
|
1778
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
1775
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.js
|
|
1779
1776
|
function finalizeParams(callee, params) {
|
|
1780
1777
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
1781
1778
|
}
|
|
@@ -1935,7 +1932,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1935
1932
|
};
|
|
1936
1933
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1937
1934
|
|
|
1938
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
1935
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/regexes.js
|
|
1939
1936
|
var regexes_exports = {};
|
|
1940
1937
|
__export(regexes_exports, {
|
|
1941
1938
|
anyString: () => anyString,
|
|
@@ -1949,6 +1946,7 @@ __export(regexes_exports, {
|
|
|
1949
1946
|
creditCard: () => creditCard,
|
|
1950
1947
|
cuid: () => cuid,
|
|
1951
1948
|
cuid2: () => cuid2,
|
|
1949
|
+
currencyCode: () => currencyCode,
|
|
1952
1950
|
date: () => date,
|
|
1953
1951
|
datetime: () => datetime,
|
|
1954
1952
|
domain: () => domain,
|
|
@@ -2047,6 +2045,7 @@ var domain = /^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a
|
|
|
2047
2045
|
var httpProtocol = /^https?$/;
|
|
2048
2046
|
var e164 = /^\+[1-9]\d{6,14}$/;
|
|
2049
2047
|
var creditCard = /^\d(?:[ -]?\d){11,18}$/;
|
|
2048
|
+
var currencyCode = /^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/;
|
|
2050
2049
|
var iban = /^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/;
|
|
2051
2050
|
var dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
|
|
2052
2051
|
function anchor(source) {
|
|
@@ -2105,7 +2104,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2105
2104
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2106
2105
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2107
2106
|
|
|
2108
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
2107
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.js
|
|
2109
2108
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2110
2109
|
var _a3;
|
|
2111
2110
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2531,6 +2530,34 @@ var $ZodCheckProperty = /* @__PURE__ */ $constructor("$ZodCheckProperty", (inst,
|
|
|
2531
2530
|
return;
|
|
2532
2531
|
};
|
|
2533
2532
|
});
|
|
2533
|
+
var $ZodCheckProperties = /* @__PURE__ */ $constructor("$ZodCheckProperties", (inst, def) => {
|
|
2534
|
+
$ZodCheck.init(inst, def);
|
|
2535
|
+
hide(inst, Symbol.iterator, function* () {
|
|
2536
|
+
yield inst;
|
|
2537
|
+
});
|
|
2538
|
+
let entries;
|
|
2539
|
+
inst._zod.check = (payload) => {
|
|
2540
|
+
if (payload.value == null) {
|
|
2541
|
+
payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
|
|
2542
|
+
return void 0;
|
|
2543
|
+
}
|
|
2544
|
+
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
2545
|
+
const input2 = payload.value;
|
|
2546
|
+
let proms;
|
|
2547
|
+
for (const [key, schema] of entries) {
|
|
2548
|
+
const result = schema._zod.run({ value: input2[key], issues: [] }, {});
|
|
2549
|
+
if (result instanceof Promise) {
|
|
2550
|
+
proms ?? (proms = []);
|
|
2551
|
+
proms.push(result.then((result2) => handleCheckPropertyResult(result2, payload, key)));
|
|
2552
|
+
} else {
|
|
2553
|
+
handleCheckPropertyResult(result, payload, key);
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
if (proms)
|
|
2557
|
+
return Promise.all(proms).then(() => void 0);
|
|
2558
|
+
return void 0;
|
|
2559
|
+
};
|
|
2560
|
+
});
|
|
2534
2561
|
var $ZodCheckMimeType = /* @__PURE__ */ $constructor("$ZodCheckMimeType", (inst, def) => {
|
|
2535
2562
|
$ZodCheck.init(inst, def);
|
|
2536
2563
|
const mimeSet = new Set(def.mime);
|
|
@@ -2553,7 +2580,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2553
2580
|
};
|
|
2554
2581
|
});
|
|
2555
2582
|
|
|
2556
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
2583
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.js
|
|
2557
2584
|
var Doc = class {
|
|
2558
2585
|
constructor(args = [], closed = {}) {
|
|
2559
2586
|
this.content = [];
|
|
@@ -2594,14 +2621,14 @@ ${content3.join("\n")}
|
|
|
2594
2621
|
}
|
|
2595
2622
|
};
|
|
2596
2623
|
|
|
2597
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
2624
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.js
|
|
2598
2625
|
var version = {
|
|
2599
2626
|
major: 4,
|
|
2600
2627
|
minor: 6,
|
|
2601
|
-
patch:
|
|
2628
|
+
patch: 5
|
|
2602
2629
|
};
|
|
2603
2630
|
|
|
2604
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
2631
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/schemas.js
|
|
2605
2632
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2606
2633
|
var _a3;
|
|
2607
2634
|
inst ?? (inst = {});
|
|
@@ -2786,11 +2813,32 @@ var $ZodEmail = /* @__PURE__ */ $constructor("$ZodEmail", (inst, def) => {
|
|
|
2786
2813
|
});
|
|
2787
2814
|
var URL_BAD_FORMAT = 1;
|
|
2788
2815
|
var URL_UNPARSEABLE = 2;
|
|
2816
|
+
function canParseURL(input2) {
|
|
2817
|
+
try {
|
|
2818
|
+
if (typeof URL !== "undefined" && typeof URL.canParse === "function")
|
|
2819
|
+
return URL.canParse(input2);
|
|
2820
|
+
new URL(input2);
|
|
2821
|
+
return true;
|
|
2822
|
+
} catch {
|
|
2823
|
+
return false;
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
function validateURL(trimmed, def) {
|
|
2827
|
+
if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
|
|
2828
|
+
return canParseURL(trimmed) || URL_UNPARSEABLE;
|
|
2829
|
+
}
|
|
2830
|
+
return parseURLObject(trimmed, def);
|
|
2831
|
+
}
|
|
2789
2832
|
function parseURLObject(trimmed, def) {
|
|
2790
2833
|
if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
|
|
2791
2834
|
return URL_BAD_FORMAT;
|
|
2792
2835
|
}
|
|
2793
2836
|
try {
|
|
2837
|
+
if (typeof URL !== "undefined") {
|
|
2838
|
+
const URLStatic = URL;
|
|
2839
|
+
if (typeof URLStatic.parse === "function")
|
|
2840
|
+
return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE;
|
|
2841
|
+
}
|
|
2794
2842
|
return new URL(trimmed);
|
|
2795
2843
|
} catch {
|
|
2796
2844
|
return URL_UNPARSEABLE;
|
|
@@ -2813,7 +2861,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
2813
2861
|
inst._zod.check = (payload) => {
|
|
2814
2862
|
try {
|
|
2815
2863
|
const trimmed = payload.value.trim();
|
|
2816
|
-
const url2 =
|
|
2864
|
+
const url2 = validateURL(trimmed, def);
|
|
2817
2865
|
if (url2 === URL_BAD_FORMAT) {
|
|
2818
2866
|
payload.issues.push({
|
|
2819
2867
|
code: "invalid_format",
|
|
@@ -2835,6 +2883,10 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
2835
2883
|
});
|
|
2836
2884
|
return;
|
|
2837
2885
|
}
|
|
2886
|
+
if (url2 === true) {
|
|
2887
|
+
payload.value = stripTabAndNewline(trimmed);
|
|
2888
|
+
return;
|
|
2889
|
+
}
|
|
2838
2890
|
if (def.hostname && !urlHostnameOk(url2, def.hostname)) {
|
|
2839
2891
|
payload.issues.push({
|
|
2840
2892
|
code: "invalid_format",
|
|
@@ -2924,12 +2976,7 @@ var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
|
|
|
2924
2976
|
function isValidIPv6(value) {
|
|
2925
2977
|
if (!ipv6Alphabet.test(value))
|
|
2926
2978
|
return false;
|
|
2927
|
-
|
|
2928
|
-
new URL(`http://[${value}]`);
|
|
2929
|
-
return true;
|
|
2930
|
-
} catch {
|
|
2931
|
-
return false;
|
|
2932
|
-
}
|
|
2979
|
+
return canParseURL(`http://[${value}]`);
|
|
2933
2980
|
}
|
|
2934
2981
|
var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
|
|
2935
2982
|
def.pattern ?? (def.pattern = ipv6);
|
|
@@ -4994,61 +5041,8 @@ function handleRefineResult(result, payload, input2, inst) {
|
|
|
4994
5041
|
payload.issues.push(issue(_iss));
|
|
4995
5042
|
}
|
|
4996
5043
|
}
|
|
4997
|
-
function handlePropertiesResult(result, payload, key) {
|
|
4998
|
-
if (result.issues.length) {
|
|
4999
|
-
payload.issues.push(...prefixIssues(key, result.issues));
|
|
5000
|
-
}
|
|
5001
|
-
}
|
|
5002
|
-
var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def) => {
|
|
5003
|
-
$ZodType.init(inst, def);
|
|
5004
|
-
$ZodCheck.init(inst, def);
|
|
5005
|
-
const memo2 = globalConfig.memoizer;
|
|
5006
|
-
memo2?.attach(inst);
|
|
5007
|
-
let entries;
|
|
5008
|
-
const runShape = (payload, ctx) => {
|
|
5009
|
-
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
5010
|
-
const input2 = payload.value;
|
|
5011
|
-
let proms;
|
|
5012
|
-
for (const [key, schema] of entries) {
|
|
5013
|
-
const result = schema._zod.run({ value: input2[key], issues: [] }, ctx);
|
|
5014
|
-
if (result instanceof Promise) {
|
|
5015
|
-
proms ?? (proms = []);
|
|
5016
|
-
proms.push(result.then((result2) => handlePropertiesResult(result2, payload, key)));
|
|
5017
|
-
} else {
|
|
5018
|
-
handlePropertiesResult(result, payload, key);
|
|
5019
|
-
}
|
|
5020
|
-
}
|
|
5021
|
-
if (proms)
|
|
5022
|
-
return Promise.all(proms).then(() => void 0);
|
|
5023
|
-
return void 0;
|
|
5024
|
-
};
|
|
5025
|
-
inst._zod.parse = (payload, ctx) => {
|
|
5026
|
-
const input2 = payload.value;
|
|
5027
|
-
if (input2 === null || typeof input2 !== "object" && typeof input2 !== "function") {
|
|
5028
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input: input2, inst });
|
|
5029
|
-
return payload;
|
|
5030
|
-
}
|
|
5031
|
-
if (ctx.direction === "backward")
|
|
5032
|
-
ctx = { ...ctx, direction: "forward" };
|
|
5033
|
-
if (memo2)
|
|
5034
|
-
memo2.alloc(inst, payload, input2, ctx);
|
|
5035
|
-
const result = runShape(payload, ctx);
|
|
5036
|
-
return result instanceof Promise ? result.then(() => payload) : payload;
|
|
5037
|
-
};
|
|
5038
|
-
inst._zod.check = (payload) => {
|
|
5039
|
-
if (payload.value == null) {
|
|
5040
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
|
|
5041
|
-
return void 0;
|
|
5042
|
-
}
|
|
5043
|
-
return runShape(payload, {});
|
|
5044
|
-
};
|
|
5045
|
-
}, {
|
|
5046
|
-
*[Symbol.iterator]() {
|
|
5047
|
-
yield this;
|
|
5048
|
-
}
|
|
5049
|
-
});
|
|
5050
5044
|
|
|
5051
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
5045
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.js
|
|
5052
5046
|
var $ZodCyclicError = class extends Error {
|
|
5053
5047
|
constructor() {
|
|
5054
5048
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -5058,7 +5052,7 @@ var $ZodCyclicError = class extends Error {
|
|
|
5058
5052
|
var STATE = "~memo";
|
|
5059
5053
|
var NO_ISSUES = [];
|
|
5060
5054
|
function isRef(value) {
|
|
5061
|
-
return value !== null &&
|
|
5055
|
+
return value !== null && typeof value === "object";
|
|
5062
5056
|
}
|
|
5063
5057
|
function cloneIssues(issues) {
|
|
5064
5058
|
return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
|
|
@@ -5107,9 +5101,6 @@ function isRecursive(inst, stack, resolve8) {
|
|
|
5107
5101
|
check2(def.catchall);
|
|
5108
5102
|
break;
|
|
5109
5103
|
}
|
|
5110
|
-
case "properties":
|
|
5111
|
-
merge2(shape(def.shape, false));
|
|
5112
|
-
break;
|
|
5113
5104
|
case "array":
|
|
5114
5105
|
check2(def.element);
|
|
5115
5106
|
break;
|
|
@@ -5328,7 +5319,7 @@ function isBackEdge(ctx, value) {
|
|
|
5328
5319
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
5329
5320
|
}
|
|
5330
5321
|
|
|
5331
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
5322
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/index.js
|
|
5332
5323
|
var locales_exports = {};
|
|
5333
5324
|
__export(locales_exports, {
|
|
5334
5325
|
ar: () => ar_default,
|
|
@@ -5396,7 +5387,7 @@ __export(locales_exports, {
|
|
|
5396
5387
|
zhTW: () => zh_TW_default
|
|
5397
5388
|
});
|
|
5398
5389
|
|
|
5399
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
5390
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ar.js
|
|
5400
5391
|
var error = () => {
|
|
5401
5392
|
const Sizable = {
|
|
5402
5393
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -5437,6 +5428,7 @@ var error = () => {
|
|
|
5437
5428
|
json_string: "\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",
|
|
5438
5429
|
e164: "\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",
|
|
5439
5430
|
credit_card: "\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",
|
|
5431
|
+
currency_code: "\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",
|
|
5440
5432
|
iban: "IBAN",
|
|
5441
5433
|
jwt: "JWT",
|
|
5442
5434
|
template_literal: "\u0645\u062F\u062E\u0644"
|
|
@@ -5507,7 +5499,7 @@ function ar_default() {
|
|
|
5507
5499
|
};
|
|
5508
5500
|
}
|
|
5509
5501
|
|
|
5510
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
5502
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/az.js
|
|
5511
5503
|
var error2 = () => {
|
|
5512
5504
|
const Sizable = {
|
|
5513
5505
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -5548,6 +5540,7 @@ var error2 = () => {
|
|
|
5548
5540
|
json_string: "JSON string",
|
|
5549
5541
|
e164: "E.164 number",
|
|
5550
5542
|
credit_card: "kredit kart\u0131 n\xF6mr\u0259si",
|
|
5543
|
+
currency_code: "valyuta kodu",
|
|
5551
5544
|
iban: "IBAN",
|
|
5552
5545
|
jwt: "JWT",
|
|
5553
5546
|
template_literal: "input"
|
|
@@ -5617,7 +5610,7 @@ function az_default() {
|
|
|
5617
5610
|
};
|
|
5618
5611
|
}
|
|
5619
5612
|
|
|
5620
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
5613
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.js
|
|
5621
5614
|
function getBelarusianPlural(count, one2, few, many) {
|
|
5622
5615
|
const absCount = Math.abs(count);
|
|
5623
5616
|
const lastDigit = absCount % 10;
|
|
@@ -5708,6 +5701,7 @@ var error3 = () => {
|
|
|
5708
5701
|
json_string: "JSON \u0440\u0430\u0434\u043E\u043A",
|
|
5709
5702
|
e164: "\u043D\u0443\u043C\u0430\u0440 E.164",
|
|
5710
5703
|
credit_card: "\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",
|
|
5704
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
|
|
5711
5705
|
iban: "IBAN",
|
|
5712
5706
|
jwt: "JWT",
|
|
5713
5707
|
template_literal: "\u0443\u0432\u043E\u0434"
|
|
@@ -5785,7 +5779,7 @@ function be_default() {
|
|
|
5785
5779
|
};
|
|
5786
5780
|
}
|
|
5787
5781
|
|
|
5788
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
5782
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bg.js
|
|
5789
5783
|
var error4 = () => {
|
|
5790
5784
|
const Sizable = {
|
|
5791
5785
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -5826,6 +5820,7 @@ var error4 = () => {
|
|
|
5826
5820
|
json_string: "JSON \u043D\u0438\u0437",
|
|
5827
5821
|
e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
|
|
5828
5822
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",
|
|
5823
|
+
currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
|
|
5829
5824
|
iban: "IBAN",
|
|
5830
5825
|
jwt: "JWT",
|
|
5831
5826
|
template_literal: "\u0432\u0445\u043E\u0434"
|
|
@@ -5910,7 +5905,7 @@ function bg_default() {
|
|
|
5910
5905
|
};
|
|
5911
5906
|
}
|
|
5912
5907
|
|
|
5913
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
5908
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bn.js
|
|
5914
5909
|
var error5 = () => {
|
|
5915
5910
|
const Sizable = {
|
|
5916
5911
|
string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
|
|
@@ -5951,6 +5946,7 @@ var error5 = () => {
|
|
|
5951
5946
|
json_string: "JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",
|
|
5952
5947
|
e164: "E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",
|
|
5953
5948
|
credit_card: "\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",
|
|
5949
|
+
currency_code: "\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",
|
|
5954
5950
|
iban: "IBAN",
|
|
5955
5951
|
jwt: "JWT",
|
|
5956
5952
|
template_literal: "\u0987\u09A8\u09AA\u09C1\u099F"
|
|
@@ -6023,7 +6019,7 @@ function bn_default() {
|
|
|
6023
6019
|
};
|
|
6024
6020
|
}
|
|
6025
6021
|
|
|
6026
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
6022
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ca.js
|
|
6027
6023
|
var error6 = () => {
|
|
6028
6024
|
const Sizable = {
|
|
6029
6025
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -6064,6 +6060,7 @@ var error6 = () => {
|
|
|
6064
6060
|
json_string: "cadena JSON",
|
|
6065
6061
|
e164: "n\xFAmero E.164",
|
|
6066
6062
|
credit_card: "n\xFAmero de targeta de cr\xE8dit",
|
|
6063
|
+
currency_code: "codi de moneda",
|
|
6067
6064
|
iban: "IBAN",
|
|
6068
6065
|
jwt: "JWT",
|
|
6069
6066
|
template_literal: "entrada"
|
|
@@ -6136,7 +6133,7 @@ function ca_default() {
|
|
|
6136
6133
|
};
|
|
6137
6134
|
}
|
|
6138
6135
|
|
|
6139
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
6136
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ckb.js
|
|
6140
6137
|
var error7 = () => {
|
|
6141
6138
|
const Sizable = {
|
|
6142
6139
|
string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
|
|
@@ -6177,6 +6174,7 @@ var error7 = () => {
|
|
|
6177
6174
|
json_string: "\u062F\u06D5\u0642\u06CC JSON",
|
|
6178
6175
|
e164: "\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",
|
|
6179
6176
|
credit_card: "\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",
|
|
6177
|
+
currency_code: "\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",
|
|
6180
6178
|
iban: "IBAN",
|
|
6181
6179
|
jwt: "JWT",
|
|
6182
6180
|
template_literal: "\u062A\u06CE\u06A9\u0631\u062F\u06D5"
|
|
@@ -6268,7 +6266,7 @@ function ckb_default() {
|
|
|
6268
6266
|
};
|
|
6269
6267
|
}
|
|
6270
6268
|
|
|
6271
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
6269
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/cs.js
|
|
6272
6270
|
var error8 = () => {
|
|
6273
6271
|
const Sizable = {
|
|
6274
6272
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -6309,6 +6307,7 @@ var error8 = () => {
|
|
|
6309
6307
|
json_string: "\u0159et\u011Bzec ve form\xE1tu JSON",
|
|
6310
6308
|
e164: "\u010D\xEDslo E.164",
|
|
6311
6309
|
credit_card: "\u010D\xEDslo kreditn\xED karty",
|
|
6310
|
+
currency_code: "k\xF3d m\u011Bny",
|
|
6312
6311
|
iban: "IBAN",
|
|
6313
6312
|
jwt: "JWT",
|
|
6314
6313
|
template_literal: "vstup"
|
|
@@ -6384,7 +6383,7 @@ function cs_default() {
|
|
|
6384
6383
|
};
|
|
6385
6384
|
}
|
|
6386
6385
|
|
|
6387
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
6386
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/da.js
|
|
6388
6387
|
var error9 = () => {
|
|
6389
6388
|
const Sizable = {
|
|
6390
6389
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -6425,6 +6424,7 @@ var error9 = () => {
|
|
|
6425
6424
|
json_string: "JSON-streng",
|
|
6426
6425
|
e164: "E.164-nummer",
|
|
6427
6426
|
credit_card: "kreditkortnummer",
|
|
6427
|
+
currency_code: "valutakode",
|
|
6428
6428
|
iban: "IBAN",
|
|
6429
6429
|
jwt: "JWT",
|
|
6430
6430
|
template_literal: "input"
|
|
@@ -6504,7 +6504,7 @@ function da_default() {
|
|
|
6504
6504
|
};
|
|
6505
6505
|
}
|
|
6506
6506
|
|
|
6507
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
6507
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/de.js
|
|
6508
6508
|
var error10 = () => {
|
|
6509
6509
|
const Sizable = {
|
|
6510
6510
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -6545,6 +6545,7 @@ var error10 = () => {
|
|
|
6545
6545
|
json_string: "JSON-String",
|
|
6546
6546
|
e164: "E.164-Nummer",
|
|
6547
6547
|
credit_card: "Kreditkartennummer",
|
|
6548
|
+
currency_code: "W\xE4hrungscode",
|
|
6548
6549
|
iban: "IBAN",
|
|
6549
6550
|
jwt: "JWT",
|
|
6550
6551
|
template_literal: "Eingabe"
|
|
@@ -6617,7 +6618,7 @@ function de_default() {
|
|
|
6617
6618
|
};
|
|
6618
6619
|
}
|
|
6619
6620
|
|
|
6620
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
6621
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/el.js
|
|
6621
6622
|
var error11 = () => {
|
|
6622
6623
|
const Sizable = {
|
|
6623
6624
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -6658,6 +6659,7 @@ var error11 = () => {
|
|
|
6658
6659
|
json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
|
|
6659
6660
|
e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
|
|
6660
6661
|
credit_card: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE\u03C2 \u03BA\u03AC\u03C1\u03C4\u03B1\u03C2",
|
|
6662
|
+
currency_code: "\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",
|
|
6661
6663
|
iban: "IBAN",
|
|
6662
6664
|
jwt: "JWT",
|
|
6663
6665
|
template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
|
|
@@ -6729,7 +6731,7 @@ function el_default() {
|
|
|
6729
6731
|
};
|
|
6730
6732
|
}
|
|
6731
6733
|
|
|
6732
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
6734
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.js
|
|
6733
6735
|
var error12 = () => {
|
|
6734
6736
|
const Sizable = {
|
|
6735
6737
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -6769,6 +6771,7 @@ var error12 = () => {
|
|
|
6769
6771
|
base64url: "base64url-encoded string",
|
|
6770
6772
|
json_string: "JSON string",
|
|
6771
6773
|
e164: "E.164 number",
|
|
6774
|
+
currency_code: "currency code",
|
|
6772
6775
|
credit_card: "credit card number",
|
|
6773
6776
|
iban: "IBAN",
|
|
6774
6777
|
jwt: "JWT",
|
|
@@ -6853,7 +6856,7 @@ function en_default() {
|
|
|
6853
6856
|
};
|
|
6854
6857
|
}
|
|
6855
6858
|
|
|
6856
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
6859
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/eo.js
|
|
6857
6860
|
var error13 = () => {
|
|
6858
6861
|
const Sizable = {
|
|
6859
6862
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -6894,6 +6897,7 @@ var error13 = () => {
|
|
|
6894
6897
|
json_string: "JSON-karaktraro",
|
|
6895
6898
|
e164: "E.164-nombro",
|
|
6896
6899
|
credit_card: "kreditkarta numero",
|
|
6900
|
+
currency_code: "valuta kodo",
|
|
6897
6901
|
iban: "IBAN",
|
|
6898
6902
|
jwt: "JWT",
|
|
6899
6903
|
template_literal: "enigo"
|
|
@@ -6967,7 +6971,7 @@ function eo_default() {
|
|
|
6967
6971
|
};
|
|
6968
6972
|
}
|
|
6969
6973
|
|
|
6970
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
6974
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/es.js
|
|
6971
6975
|
var error14 = () => {
|
|
6972
6976
|
const Sizable = {
|
|
6973
6977
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -7007,6 +7011,7 @@ var error14 = () => {
|
|
|
7007
7011
|
json_string: "cadena JSON",
|
|
7008
7012
|
e164: "n\xFAmero E.164",
|
|
7009
7013
|
credit_card: "n\xFAmero de tarjeta de cr\xE9dito",
|
|
7014
|
+
currency_code: "c\xF3digo de moneda",
|
|
7010
7015
|
iban: "IBAN",
|
|
7011
7016
|
jwt: "JWT",
|
|
7012
7017
|
template_literal: "entrada"
|
|
@@ -7103,7 +7108,7 @@ function es_default() {
|
|
|
7103
7108
|
};
|
|
7104
7109
|
}
|
|
7105
7110
|
|
|
7106
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
7111
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fa.js
|
|
7107
7112
|
var error15 = () => {
|
|
7108
7113
|
const Sizable = {
|
|
7109
7114
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -7144,6 +7149,7 @@ var error15 = () => {
|
|
|
7144
7149
|
json_string: "JSON \u0631\u0634\u062A\u0647",
|
|
7145
7150
|
e164: "E.164 \u0639\u062F\u062F",
|
|
7146
7151
|
credit_card: "\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",
|
|
7152
|
+
currency_code: "\u06A9\u062F \u0627\u0631\u0632",
|
|
7147
7153
|
iban: "IBAN",
|
|
7148
7154
|
jwt: "JWT",
|
|
7149
7155
|
template_literal: "\u0648\u0631\u0648\u062F\u06CC"
|
|
@@ -7222,7 +7228,7 @@ function fa_default() {
|
|
|
7222
7228
|
};
|
|
7223
7229
|
}
|
|
7224
7230
|
|
|
7225
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
7231
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fi.js
|
|
7226
7232
|
var error16 = () => {
|
|
7227
7233
|
const Sizable = {
|
|
7228
7234
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -7267,6 +7273,7 @@ var error16 = () => {
|
|
|
7267
7273
|
json_string: "JSON-merkkijono",
|
|
7268
7274
|
e164: "E.164-luku",
|
|
7269
7275
|
credit_card: "luottokortin numero",
|
|
7276
|
+
currency_code: "valuuttakoodi",
|
|
7270
7277
|
iban: "IBAN",
|
|
7271
7278
|
jwt: "JWT",
|
|
7272
7279
|
template_literal: "templaattimerkkijono"
|
|
@@ -7339,7 +7346,7 @@ function fi_default() {
|
|
|
7339
7346
|
};
|
|
7340
7347
|
}
|
|
7341
7348
|
|
|
7342
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
7349
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr.js
|
|
7343
7350
|
var error17 = () => {
|
|
7344
7351
|
const Sizable = {
|
|
7345
7352
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7379,6 +7386,7 @@ var error17 = () => {
|
|
|
7379
7386
|
json_string: "cha\xEEne de caract\xE8res JSON",
|
|
7380
7387
|
e164: "num\xE9ro au format E.164",
|
|
7381
7388
|
credit_card: "num\xE9ro de carte de cr\xE9dit",
|
|
7389
|
+
currency_code: "code de devise",
|
|
7382
7390
|
iban: "IBAN",
|
|
7383
7391
|
jwt: "JWT",
|
|
7384
7392
|
template_literal: "entr\xE9e"
|
|
@@ -7468,7 +7476,7 @@ function fr_default() {
|
|
|
7468
7476
|
};
|
|
7469
7477
|
}
|
|
7470
7478
|
|
|
7471
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
7479
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr-CA.js
|
|
7472
7480
|
var error18 = () => {
|
|
7473
7481
|
const Sizable = {
|
|
7474
7482
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7509,6 +7517,7 @@ var error18 = () => {
|
|
|
7509
7517
|
json_string: "cha\xEEne JSON",
|
|
7510
7518
|
e164: "num\xE9ro E.164",
|
|
7511
7519
|
credit_card: "num\xE9ro de carte de cr\xE9dit",
|
|
7520
|
+
currency_code: "code de devise",
|
|
7512
7521
|
iban: "IBAN",
|
|
7513
7522
|
jwt: "JWT",
|
|
7514
7523
|
template_literal: "entr\xE9e"
|
|
@@ -7580,7 +7589,7 @@ function fr_CA_default() {
|
|
|
7580
7589
|
};
|
|
7581
7590
|
}
|
|
7582
7591
|
|
|
7583
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
7592
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/gu.js
|
|
7584
7593
|
var error19 = () => {
|
|
7585
7594
|
const Sizable = {
|
|
7586
7595
|
string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
|
|
@@ -7621,6 +7630,7 @@ var error19 = () => {
|
|
|
7621
7630
|
json_string: "JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",
|
|
7622
7631
|
e164: "E.164 \u0AA8\u0A82\u0AAC\u0AB0",
|
|
7623
7632
|
credit_card: "\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",
|
|
7633
|
+
currency_code: "\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",
|
|
7624
7634
|
iban: "IBAN",
|
|
7625
7635
|
jwt: "JWT",
|
|
7626
7636
|
template_literal: "\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"
|
|
@@ -7693,7 +7703,7 @@ function gu_default() {
|
|
|
7693
7703
|
};
|
|
7694
7704
|
}
|
|
7695
7705
|
|
|
7696
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
7706
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/he.js
|
|
7697
7707
|
var error20 = () => {
|
|
7698
7708
|
const TypeNames = {
|
|
7699
7709
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -7770,6 +7780,7 @@ var error20 = () => {
|
|
|
7770
7780
|
json_string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON", gender: "f" },
|
|
7771
7781
|
e164: { label: "\u05DE\u05E1\u05E4\u05E8 E.164", gender: "m" },
|
|
7772
7782
|
credit_card: { label: "\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9", gender: "m" },
|
|
7783
|
+
currency_code: { label: "\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2", gender: "m" },
|
|
7773
7784
|
iban: { label: "IBAN", gender: "m" },
|
|
7774
7785
|
jwt: { label: "JWT", gender: "m" },
|
|
7775
7786
|
template_literal: { label: "\u05E7\u05DC\u05D8", gender: "m" },
|
|
@@ -7894,7 +7905,7 @@ function he_default() {
|
|
|
7894
7905
|
};
|
|
7895
7906
|
}
|
|
7896
7907
|
|
|
7897
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
7908
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hi.js
|
|
7898
7909
|
var error21 = () => {
|
|
7899
7910
|
const Sizable = {
|
|
7900
7911
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
|
|
@@ -7935,6 +7946,7 @@ var error21 = () => {
|
|
|
7935
7946
|
json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",
|
|
7936
7947
|
e164: "E.164 \u0938\u0902\u0916\u094D\u092F\u093E",
|
|
7937
7948
|
credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",
|
|
7949
|
+
currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
|
|
7938
7950
|
iban: "IBAN",
|
|
7939
7951
|
jwt: "JWT",
|
|
7940
7952
|
template_literal: "\u0907\u0928\u092A\u0941\u091F"
|
|
@@ -8005,7 +8017,7 @@ function hi_default() {
|
|
|
8005
8017
|
};
|
|
8006
8018
|
}
|
|
8007
8019
|
|
|
8008
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
8020
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hr.js
|
|
8009
8021
|
var error22 = () => {
|
|
8010
8022
|
const Sizable = {
|
|
8011
8023
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -8045,6 +8057,7 @@ var error22 = () => {
|
|
|
8045
8057
|
json_string: "JSON tekst",
|
|
8046
8058
|
e164: "E.164 broj",
|
|
8047
8059
|
credit_card: "broj kreditne kartice",
|
|
8060
|
+
currency_code: "kod valute",
|
|
8048
8061
|
iban: "IBAN",
|
|
8049
8062
|
jwt: "JWT",
|
|
8050
8063
|
template_literal: "unos"
|
|
@@ -8131,7 +8144,7 @@ function hr_default() {
|
|
|
8131
8144
|
};
|
|
8132
8145
|
}
|
|
8133
8146
|
|
|
8134
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
8147
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hu.js
|
|
8135
8148
|
var error23 = () => {
|
|
8136
8149
|
const Sizable = {
|
|
8137
8150
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -8172,6 +8185,7 @@ var error23 = () => {
|
|
|
8172
8185
|
json_string: "JSON string",
|
|
8173
8186
|
e164: "E.164 sz\xE1m",
|
|
8174
8187
|
credit_card: "hitelk\xE1rtyasz\xE1m",
|
|
8188
|
+
currency_code: "p\xE9nznemk\xF3d",
|
|
8175
8189
|
iban: "IBAN",
|
|
8176
8190
|
jwt: "JWT",
|
|
8177
8191
|
template_literal: "bemenet"
|
|
@@ -8244,7 +8258,7 @@ function hu_default() {
|
|
|
8244
8258
|
};
|
|
8245
8259
|
}
|
|
8246
8260
|
|
|
8247
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
8261
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.js
|
|
8248
8262
|
function getArmenianPlural(count, one2, many) {
|
|
8249
8263
|
return Math.abs(count) === 1 ? one2 : many;
|
|
8250
8264
|
}
|
|
@@ -8325,6 +8339,7 @@ var error24 = () => {
|
|
|
8325
8339
|
json_string: "JSON \u057F\u0578\u0572",
|
|
8326
8340
|
e164: "E.164 \u0570\u0561\u0574\u0561\u0580",
|
|
8327
8341
|
credit_card: "\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",
|
|
8342
|
+
currency_code: "\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",
|
|
8328
8343
|
iban: "IBAN",
|
|
8329
8344
|
jwt: "JWT",
|
|
8330
8345
|
template_literal: "\u0574\u0578\u0582\u057F\u0584"
|
|
@@ -8402,7 +8417,7 @@ function hy_default() {
|
|
|
8402
8417
|
};
|
|
8403
8418
|
}
|
|
8404
8419
|
|
|
8405
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
8420
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/id.js
|
|
8406
8421
|
var error25 = () => {
|
|
8407
8422
|
const Sizable = {
|
|
8408
8423
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -8443,6 +8458,7 @@ var error25 = () => {
|
|
|
8443
8458
|
json_string: "string JSON",
|
|
8444
8459
|
e164: "angka E.164",
|
|
8445
8460
|
credit_card: "nomor kartu kredit",
|
|
8461
|
+
currency_code: "kode mata uang",
|
|
8446
8462
|
iban: "IBAN",
|
|
8447
8463
|
jwt: "JWT",
|
|
8448
8464
|
template_literal: "input"
|
|
@@ -8513,7 +8529,7 @@ function id_default() {
|
|
|
8513
8529
|
};
|
|
8514
8530
|
}
|
|
8515
8531
|
|
|
8516
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
8532
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/is.js
|
|
8517
8533
|
var error26 = () => {
|
|
8518
8534
|
const Sizable = {
|
|
8519
8535
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -8554,6 +8570,7 @@ var error26 = () => {
|
|
|
8554
8570
|
json_string: "JSON strengur",
|
|
8555
8571
|
e164: "E.164 t\xF6lugildi",
|
|
8556
8572
|
credit_card: "kreditkortan\xFAmer",
|
|
8573
|
+
currency_code: "gjaldmi\xF0ilsk\xF3\xF0i",
|
|
8557
8574
|
iban: "IBAN",
|
|
8558
8575
|
jwt: "JWT",
|
|
8559
8576
|
template_literal: "gildi"
|
|
@@ -8627,7 +8644,7 @@ function is_default() {
|
|
|
8627
8644
|
};
|
|
8628
8645
|
}
|
|
8629
8646
|
|
|
8630
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
8647
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/it.js
|
|
8631
8648
|
var error27 = () => {
|
|
8632
8649
|
const Sizable = {
|
|
8633
8650
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -8668,6 +8685,7 @@ var error27 = () => {
|
|
|
8668
8685
|
json_string: "stringa JSON",
|
|
8669
8686
|
e164: "numero E.164",
|
|
8670
8687
|
credit_card: "numero di carta di credito",
|
|
8688
|
+
currency_code: "codice valuta",
|
|
8671
8689
|
iban: "IBAN",
|
|
8672
8690
|
jwt: "JWT",
|
|
8673
8691
|
template_literal: "input"
|
|
@@ -8740,7 +8758,7 @@ function it_default() {
|
|
|
8740
8758
|
};
|
|
8741
8759
|
}
|
|
8742
8760
|
|
|
8743
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
8761
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ja.js
|
|
8744
8762
|
var error28 = () => {
|
|
8745
8763
|
const Sizable = {
|
|
8746
8764
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -8781,6 +8799,7 @@ var error28 = () => {
|
|
|
8781
8799
|
json_string: "JSON\u6587\u5B57\u5217",
|
|
8782
8800
|
e164: "E.164\u756A\u53F7",
|
|
8783
8801
|
credit_card: "\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",
|
|
8802
|
+
currency_code: "\u901A\u8CA8\u30B3\u30FC\u30C9",
|
|
8784
8803
|
iban: "IBAN",
|
|
8785
8804
|
jwt: "JWT",
|
|
8786
8805
|
template_literal: "\u5165\u529B\u5024"
|
|
@@ -8852,7 +8871,7 @@ function ja_default() {
|
|
|
8852
8871
|
};
|
|
8853
8872
|
}
|
|
8854
8873
|
|
|
8855
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
8874
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ka.js
|
|
8856
8875
|
var error29 = () => {
|
|
8857
8876
|
const Sizable = {
|
|
8858
8877
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -8893,6 +8912,7 @@ var error29 = () => {
|
|
|
8893
8912
|
json_string: "JSON \u10D5\u10D4\u10DA\u10D8",
|
|
8894
8913
|
e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
|
|
8895
8914
|
credit_card: "\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
|
|
8915
|
+
currency_code: "\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",
|
|
8896
8916
|
iban: "IBAN",
|
|
8897
8917
|
jwt: "JWT",
|
|
8898
8918
|
template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
|
|
@@ -8969,7 +8989,7 @@ function ka_default() {
|
|
|
8969
8989
|
};
|
|
8970
8990
|
}
|
|
8971
8991
|
|
|
8972
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
8992
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/km.js
|
|
8973
8993
|
var error30 = () => {
|
|
8974
8994
|
const Sizable = {
|
|
8975
8995
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -9010,6 +9030,7 @@ var error30 = () => {
|
|
|
9010
9030
|
json_string: "\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",
|
|
9011
9031
|
e164: "\u179B\u17C1\u1781 E.164",
|
|
9012
9032
|
credit_card: "\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",
|
|
9033
|
+
currency_code: "\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",
|
|
9013
9034
|
iban: "IBAN",
|
|
9014
9035
|
jwt: "JWT",
|
|
9015
9036
|
template_literal: "\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"
|
|
@@ -9084,12 +9105,12 @@ function km_default() {
|
|
|
9084
9105
|
};
|
|
9085
9106
|
}
|
|
9086
9107
|
|
|
9087
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9108
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kh.js
|
|
9088
9109
|
function kh_default() {
|
|
9089
9110
|
return km_default();
|
|
9090
9111
|
}
|
|
9091
9112
|
|
|
9092
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9113
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kn.js
|
|
9093
9114
|
var error31 = () => {
|
|
9094
9115
|
const Sizable = {
|
|
9095
9116
|
string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
|
|
@@ -9130,6 +9151,7 @@ var error31 = () => {
|
|
|
9130
9151
|
json_string: "JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",
|
|
9131
9152
|
e164: "E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
|
|
9132
9153
|
credit_card: "\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
|
|
9154
|
+
currency_code: "\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",
|
|
9133
9155
|
iban: "IBAN",
|
|
9134
9156
|
jwt: "JWT",
|
|
9135
9157
|
template_literal: "\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"
|
|
@@ -9204,7 +9226,7 @@ function kn_default() {
|
|
|
9204
9226
|
};
|
|
9205
9227
|
}
|
|
9206
9228
|
|
|
9207
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9229
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ko.js
|
|
9208
9230
|
var error32 = () => {
|
|
9209
9231
|
const Sizable = {
|
|
9210
9232
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -9245,6 +9267,7 @@ var error32 = () => {
|
|
|
9245
9267
|
json_string: "JSON \uBB38\uC790\uC5F4",
|
|
9246
9268
|
e164: "E.164 \uBC88\uD638",
|
|
9247
9269
|
credit_card: "\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",
|
|
9270
|
+
currency_code: "\uD1B5\uD654 \uCF54\uB4DC",
|
|
9248
9271
|
iban: "IBAN",
|
|
9249
9272
|
jwt: "JWT",
|
|
9250
9273
|
template_literal: "\uC785\uB825"
|
|
@@ -9320,7 +9343,7 @@ function ko_default() {
|
|
|
9320
9343
|
};
|
|
9321
9344
|
}
|
|
9322
9345
|
|
|
9323
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9346
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/lt.js
|
|
9324
9347
|
var capitalizeFirstCharacter = (text3) => {
|
|
9325
9348
|
return text3.charAt(0).toUpperCase() + text3.slice(1);
|
|
9326
9349
|
};
|
|
@@ -9443,6 +9466,7 @@ var error33 = () => {
|
|
|
9443
9466
|
json_string: "JSON eilut\u0117",
|
|
9444
9467
|
e164: "E.164 numeris",
|
|
9445
9468
|
credit_card: "kredito kortel\u0117s numeris",
|
|
9469
|
+
currency_code: "valiutos kodas",
|
|
9446
9470
|
iban: "IBAN",
|
|
9447
9471
|
jwt: "JWT",
|
|
9448
9472
|
template_literal: "\u012Fvestis"
|
|
@@ -9527,7 +9551,7 @@ function lt_default() {
|
|
|
9527
9551
|
};
|
|
9528
9552
|
}
|
|
9529
9553
|
|
|
9530
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9554
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/mk.js
|
|
9531
9555
|
var error34 = () => {
|
|
9532
9556
|
const Sizable = {
|
|
9533
9557
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -9568,6 +9592,7 @@ var error34 = () => {
|
|
|
9568
9592
|
json_string: "JSON \u043D\u0438\u0437\u0430",
|
|
9569
9593
|
e164: "E.164 \u0431\u0440\u043E\u0458",
|
|
9570
9594
|
credit_card: "\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",
|
|
9595
|
+
currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
|
|
9571
9596
|
iban: "IBAN",
|
|
9572
9597
|
jwt: "JWT",
|
|
9573
9598
|
template_literal: "\u0432\u043D\u0435\u0441"
|
|
@@ -9641,7 +9666,7 @@ function mk_default() {
|
|
|
9641
9666
|
};
|
|
9642
9667
|
}
|
|
9643
9668
|
|
|
9644
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9669
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ms.js
|
|
9645
9670
|
var error35 = () => {
|
|
9646
9671
|
const Sizable = {
|
|
9647
9672
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -9682,6 +9707,7 @@ var error35 = () => {
|
|
|
9682
9707
|
json_string: "string JSON",
|
|
9683
9708
|
e164: "nombor E.164",
|
|
9684
9709
|
credit_card: "nombor kad kredit",
|
|
9710
|
+
currency_code: "kod mata wang",
|
|
9685
9711
|
iban: "IBAN",
|
|
9686
9712
|
jwt: "JWT",
|
|
9687
9713
|
template_literal: "input"
|
|
@@ -9753,7 +9779,7 @@ function ms_default() {
|
|
|
9753
9779
|
};
|
|
9754
9780
|
}
|
|
9755
9781
|
|
|
9756
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9782
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ne.js
|
|
9757
9783
|
var error36 = () => {
|
|
9758
9784
|
const Sizable = {
|
|
9759
9785
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
|
|
@@ -9794,6 +9820,7 @@ var error36 = () => {
|
|
|
9794
9820
|
json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",
|
|
9795
9821
|
e164: "E.164 \u0928\u092E\u094D\u092C\u0930",
|
|
9796
9822
|
credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",
|
|
9823
|
+
currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
|
|
9797
9824
|
iban: "IBAN",
|
|
9798
9825
|
jwt: "JWT",
|
|
9799
9826
|
template_literal: "\u0907\u0928\u092A\u0941\u091F"
|
|
@@ -9864,7 +9891,7 @@ function ne_default() {
|
|
|
9864
9891
|
};
|
|
9865
9892
|
}
|
|
9866
9893
|
|
|
9867
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
9894
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nl.js
|
|
9868
9895
|
var error37 = () => {
|
|
9869
9896
|
const Sizable = {
|
|
9870
9897
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -9905,6 +9932,7 @@ var error37 = () => {
|
|
|
9905
9932
|
json_string: "JSON string",
|
|
9906
9933
|
e164: "E.164-nummer",
|
|
9907
9934
|
credit_card: "creditcardnummer",
|
|
9935
|
+
currency_code: "valutacode",
|
|
9908
9936
|
iban: "IBAN",
|
|
9909
9937
|
jwt: "JWT",
|
|
9910
9938
|
template_literal: "invoer"
|
|
@@ -9979,7 +10007,7 @@ function nl_default() {
|
|
|
9979
10007
|
};
|
|
9980
10008
|
}
|
|
9981
10009
|
|
|
9982
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10010
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nn.js
|
|
9983
10011
|
var error38 = () => {
|
|
9984
10012
|
const Sizable = {
|
|
9985
10013
|
string: { unit: "teikn", verb: "\xE5 ha" },
|
|
@@ -10020,6 +10048,7 @@ var error38 = () => {
|
|
|
10020
10048
|
json_string: "JSON-streng",
|
|
10021
10049
|
e164: "E.164-nummer",
|
|
10022
10050
|
credit_card: "kredittkortnummer",
|
|
10051
|
+
currency_code: "valutakode",
|
|
10023
10052
|
iban: "IBAN",
|
|
10024
10053
|
jwt: "JWT",
|
|
10025
10054
|
template_literal: "input"
|
|
@@ -10092,7 +10121,7 @@ function nn_default() {
|
|
|
10092
10121
|
};
|
|
10093
10122
|
}
|
|
10094
10123
|
|
|
10095
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10124
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/no.js
|
|
10096
10125
|
var error39 = () => {
|
|
10097
10126
|
const Sizable = {
|
|
10098
10127
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -10133,6 +10162,7 @@ var error39 = () => {
|
|
|
10133
10162
|
json_string: "JSON-streng",
|
|
10134
10163
|
e164: "E.164-nummer",
|
|
10135
10164
|
credit_card: "kredittkortnummer",
|
|
10165
|
+
currency_code: "valutakode",
|
|
10136
10166
|
iban: "IBAN",
|
|
10137
10167
|
jwt: "JWT",
|
|
10138
10168
|
template_literal: "input"
|
|
@@ -10205,7 +10235,7 @@ function no_default() {
|
|
|
10205
10235
|
};
|
|
10206
10236
|
}
|
|
10207
10237
|
|
|
10208
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10238
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ota.js
|
|
10209
10239
|
var error40 = () => {
|
|
10210
10240
|
const Sizable = {
|
|
10211
10241
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -10246,6 +10276,7 @@ var error40 = () => {
|
|
|
10246
10276
|
json_string: "JSON metin",
|
|
10247
10277
|
e164: "E.164 say\u0131s\u0131",
|
|
10248
10278
|
credit_card: "i'tib\xE2r kart\u0131 numaras\u0131",
|
|
10279
|
+
currency_code: "para birimi kodu",
|
|
10249
10280
|
iban: "IBAN",
|
|
10250
10281
|
jwt: "JWT",
|
|
10251
10282
|
template_literal: "giren"
|
|
@@ -10319,7 +10350,7 @@ function ota_default() {
|
|
|
10319
10350
|
};
|
|
10320
10351
|
}
|
|
10321
10352
|
|
|
10322
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10353
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ps.js
|
|
10323
10354
|
var error41 = () => {
|
|
10324
10355
|
const Sizable = {
|
|
10325
10356
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -10360,6 +10391,7 @@ var error41 = () => {
|
|
|
10360
10391
|
json_string: "JSON \u0645\u062A\u0646",
|
|
10361
10392
|
e164: "\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",
|
|
10362
10393
|
credit_card: "\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",
|
|
10394
|
+
currency_code: "\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",
|
|
10363
10395
|
iban: "IBAN",
|
|
10364
10396
|
jwt: "JWT",
|
|
10365
10397
|
template_literal: "\u0648\u0631\u0648\u062F\u064A"
|
|
@@ -10438,7 +10470,7 @@ function ps_default() {
|
|
|
10438
10470
|
};
|
|
10439
10471
|
}
|
|
10440
10472
|
|
|
10441
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10473
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pl.js
|
|
10442
10474
|
var error42 = () => {
|
|
10443
10475
|
const Sizable = {
|
|
10444
10476
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -10479,6 +10511,7 @@ var error42 = () => {
|
|
|
10479
10511
|
json_string: "ci\u0105g znak\xF3w w formacie JSON",
|
|
10480
10512
|
e164: "liczba E.164",
|
|
10481
10513
|
credit_card: "numer karty kredytowej",
|
|
10514
|
+
currency_code: "kod waluty",
|
|
10482
10515
|
iban: "IBAN",
|
|
10483
10516
|
jwt: "JWT",
|
|
10484
10517
|
template_literal: "wej\u015Bcie"
|
|
@@ -10552,7 +10585,7 @@ function pl_default() {
|
|
|
10552
10585
|
};
|
|
10553
10586
|
}
|
|
10554
10587
|
|
|
10555
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10588
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt.js
|
|
10556
10589
|
var error43 = () => {
|
|
10557
10590
|
const Sizable = {
|
|
10558
10591
|
string: { unit: "caracteres" },
|
|
@@ -10593,6 +10626,7 @@ var error43 = () => {
|
|
|
10593
10626
|
json_string: "o texto JSON",
|
|
10594
10627
|
e164: "o n\xFAmero E.164",
|
|
10595
10628
|
credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
|
|
10629
|
+
currency_code: "o c\xF3digo de moeda",
|
|
10596
10630
|
iban: "o IBAN",
|
|
10597
10631
|
jwt: "o JWT",
|
|
10598
10632
|
template_literal: "a entrada"
|
|
@@ -10695,7 +10729,7 @@ function pt_default() {
|
|
|
10695
10729
|
};
|
|
10696
10730
|
}
|
|
10697
10731
|
|
|
10698
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10732
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt-BR.js
|
|
10699
10733
|
var error44 = () => {
|
|
10700
10734
|
const Sizable = {
|
|
10701
10735
|
string: { unit: "caracteres" },
|
|
@@ -10736,6 +10770,7 @@ var error44 = () => {
|
|
|
10736
10770
|
json_string: "o texto JSON",
|
|
10737
10771
|
e164: "o n\xFAmero E.164",
|
|
10738
10772
|
credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
|
|
10773
|
+
currency_code: "o c\xF3digo de moeda",
|
|
10739
10774
|
iban: "o IBAN",
|
|
10740
10775
|
jwt: "o JWT",
|
|
10741
10776
|
template_literal: "a entrada"
|
|
@@ -10839,7 +10874,7 @@ function pt_BR_default() {
|
|
|
10839
10874
|
};
|
|
10840
10875
|
}
|
|
10841
10876
|
|
|
10842
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
10877
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ro.js
|
|
10843
10878
|
var error45 = () => {
|
|
10844
10879
|
const Sizable = {
|
|
10845
10880
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -10880,6 +10915,7 @@ var error45 = () => {
|
|
|
10880
10915
|
json_string: "\u0219ir JSON",
|
|
10881
10916
|
e164: "num\u0103r E.164",
|
|
10882
10917
|
credit_card: "num\u0103r de card de credit",
|
|
10918
|
+
currency_code: "cod valutar",
|
|
10883
10919
|
iban: "IBAN",
|
|
10884
10920
|
jwt: "JWT",
|
|
10885
10921
|
template_literal: "intrare"
|
|
@@ -10961,7 +10997,7 @@ function ro_default() {
|
|
|
10961
10997
|
};
|
|
10962
10998
|
}
|
|
10963
10999
|
|
|
10964
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11000
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.js
|
|
10965
11001
|
function getRussianPlural(count, one2, few, many) {
|
|
10966
11002
|
const absCount = Math.abs(count);
|
|
10967
11003
|
const lastDigit = absCount % 10;
|
|
@@ -11052,6 +11088,7 @@ var error46 = () => {
|
|
|
11052
11088
|
json_string: "JSON \u0441\u0442\u0440\u043E\u043A\u0430",
|
|
11053
11089
|
e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
|
|
11054
11090
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",
|
|
11091
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
|
|
11055
11092
|
iban: "IBAN",
|
|
11056
11093
|
jwt: "JWT",
|
|
11057
11094
|
template_literal: "\u0432\u0432\u043E\u0434"
|
|
@@ -11129,7 +11166,7 @@ function ru_default() {
|
|
|
11129
11166
|
};
|
|
11130
11167
|
}
|
|
11131
11168
|
|
|
11132
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11169
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sk.js
|
|
11133
11170
|
var error47 = () => {
|
|
11134
11171
|
const Sizable = {
|
|
11135
11172
|
string: { unit: "znakov", verb: "ma\u0165" },
|
|
@@ -11170,6 +11207,7 @@ var error47 = () => {
|
|
|
11170
11207
|
json_string: "re\u0165azec vo form\xE1te JSON",
|
|
11171
11208
|
e164: "\u010D\xEDslo E.164",
|
|
11172
11209
|
credit_card: "\u010D\xEDslo kreditnej karty",
|
|
11210
|
+
currency_code: "k\xF3d meny",
|
|
11173
11211
|
iban: "IBAN",
|
|
11174
11212
|
jwt: "JWT",
|
|
11175
11213
|
template_literal: "vstup"
|
|
@@ -11245,7 +11283,7 @@ function sk_default() {
|
|
|
11245
11283
|
};
|
|
11246
11284
|
}
|
|
11247
11285
|
|
|
11248
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11286
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sl.js
|
|
11249
11287
|
var error48 = () => {
|
|
11250
11288
|
const Sizable = {
|
|
11251
11289
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -11286,6 +11324,7 @@ var error48 = () => {
|
|
|
11286
11324
|
json_string: "JSON niz",
|
|
11287
11325
|
e164: "E.164 \u0161tevilka",
|
|
11288
11326
|
credit_card: "\u0161tevilka kreditne kartice",
|
|
11327
|
+
currency_code: "koda valute",
|
|
11289
11328
|
iban: "IBAN",
|
|
11290
11329
|
jwt: "JWT",
|
|
11291
11330
|
template_literal: "vnos"
|
|
@@ -11359,7 +11398,7 @@ function sl_default() {
|
|
|
11359
11398
|
};
|
|
11360
11399
|
}
|
|
11361
11400
|
|
|
11362
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11401
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sv.js
|
|
11363
11402
|
var error49 = () => {
|
|
11364
11403
|
const Sizable = {
|
|
11365
11404
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -11400,6 +11439,7 @@ var error49 = () => {
|
|
|
11400
11439
|
json_string: "JSON-str\xE4ng",
|
|
11401
11440
|
e164: "E.164-nummer",
|
|
11402
11441
|
credit_card: "kreditkortsnummer",
|
|
11442
|
+
currency_code: "valutakod",
|
|
11403
11443
|
iban: "IBAN",
|
|
11404
11444
|
jwt: "JWT",
|
|
11405
11445
|
template_literal: "mall-literal"
|
|
@@ -11474,7 +11514,7 @@ function sv_default() {
|
|
|
11474
11514
|
};
|
|
11475
11515
|
}
|
|
11476
11516
|
|
|
11477
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11517
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ta.js
|
|
11478
11518
|
var error50 = () => {
|
|
11479
11519
|
const Sizable = {
|
|
11480
11520
|
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" },
|
|
@@ -11515,6 +11555,7 @@ var error50 = () => {
|
|
|
11515
11555
|
json_string: "JSON \u0B9A\u0BB0\u0BAE\u0BCD",
|
|
11516
11556
|
e164: "E.164 \u0B8E\u0BA3\u0BCD",
|
|
11517
11557
|
credit_card: "\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",
|
|
11558
|
+
currency_code: "\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",
|
|
11518
11559
|
iban: "IBAN",
|
|
11519
11560
|
jwt: "JWT",
|
|
11520
11561
|
template_literal: "input"
|
|
@@ -11589,7 +11630,7 @@ function ta_default() {
|
|
|
11589
11630
|
};
|
|
11590
11631
|
}
|
|
11591
11632
|
|
|
11592
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11633
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tg.js
|
|
11593
11634
|
var error51 = () => {
|
|
11594
11635
|
const Sizable = {
|
|
11595
11636
|
string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
|
|
@@ -11630,6 +11671,7 @@ var error51 = () => {
|
|
|
11630
11671
|
json_string: "\u0441\u0430\u0442\u0440\u0438 JSON",
|
|
11631
11672
|
e164: "\u0440\u0430\u049B\u0430\u043C\u0438 E.164",
|
|
11632
11673
|
credit_card: "\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",
|
|
11674
|
+
currency_code: "\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",
|
|
11633
11675
|
iban: "IBAN",
|
|
11634
11676
|
jwt: "JWT",
|
|
11635
11677
|
template_literal: "\u0432\u0443\u0440\u0443\u0434"
|
|
@@ -11705,7 +11747,7 @@ function tg_default() {
|
|
|
11705
11747
|
};
|
|
11706
11748
|
}
|
|
11707
11749
|
|
|
11708
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11750
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/th.js
|
|
11709
11751
|
var error52 = () => {
|
|
11710
11752
|
const Sizable = {
|
|
11711
11753
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -11746,6 +11788,7 @@ var error52 = () => {
|
|
|
11746
11788
|
json_string: "\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",
|
|
11747
11789
|
e164: "\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",
|
|
11748
11790
|
credit_card: "\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",
|
|
11791
|
+
currency_code: "\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",
|
|
11749
11792
|
iban: "IBAN",
|
|
11750
11793
|
jwt: "\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",
|
|
11751
11794
|
template_literal: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"
|
|
@@ -11820,7 +11863,7 @@ function th_default() {
|
|
|
11820
11863
|
};
|
|
11821
11864
|
}
|
|
11822
11865
|
|
|
11823
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11866
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tk.js
|
|
11824
11867
|
var error53 = () => {
|
|
11825
11868
|
const Sizable = {
|
|
11826
11869
|
string: { unit: "simwol", verb: "bolmaly" },
|
|
@@ -11861,6 +11904,7 @@ var error53 = () => {
|
|
|
11861
11904
|
json_string: "JSON setiri",
|
|
11862
11905
|
e164: "E.164 nomeri",
|
|
11863
11906
|
credit_card: "kredit kartyny\u0148 nomeri",
|
|
11907
|
+
currency_code: "wal\xFDuta kody",
|
|
11864
11908
|
iban: "IBAN",
|
|
11865
11909
|
jwt: "JWT",
|
|
11866
11910
|
template_literal: "\u015Fablon"
|
|
@@ -11927,7 +11971,7 @@ function tk_default() {
|
|
|
11927
11971
|
};
|
|
11928
11972
|
}
|
|
11929
11973
|
|
|
11930
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
11974
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tr.js
|
|
11931
11975
|
var error54 = () => {
|
|
11932
11976
|
const Sizable = {
|
|
11933
11977
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -11968,6 +12012,7 @@ var error54 = () => {
|
|
|
11968
12012
|
json_string: "JSON dizesi",
|
|
11969
12013
|
e164: "E.164 say\u0131s\u0131",
|
|
11970
12014
|
credit_card: "kredi kart\u0131 numaras\u0131",
|
|
12015
|
+
currency_code: "para birimi kodu",
|
|
11971
12016
|
iban: "IBAN",
|
|
11972
12017
|
jwt: "JWT",
|
|
11973
12018
|
template_literal: "\u015Eablon dizesi"
|
|
@@ -12037,7 +12082,7 @@ function tr_default() {
|
|
|
12037
12082
|
};
|
|
12038
12083
|
}
|
|
12039
12084
|
|
|
12040
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12085
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uk.js
|
|
12041
12086
|
var error55 = () => {
|
|
12042
12087
|
const Sizable = {
|
|
12043
12088
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -12078,6 +12123,7 @@ var error55 = () => {
|
|
|
12078
12123
|
json_string: "\u0440\u044F\u0434\u043E\u043A JSON",
|
|
12079
12124
|
e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
|
|
12080
12125
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",
|
|
12126
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",
|
|
12081
12127
|
iban: "IBAN",
|
|
12082
12128
|
jwt: "JWT",
|
|
12083
12129
|
template_literal: "\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"
|
|
@@ -12150,12 +12196,12 @@ function uk_default() {
|
|
|
12150
12196
|
};
|
|
12151
12197
|
}
|
|
12152
12198
|
|
|
12153
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12199
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ua.js
|
|
12154
12200
|
function ua_default() {
|
|
12155
12201
|
return uk_default();
|
|
12156
12202
|
}
|
|
12157
12203
|
|
|
12158
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12204
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ur.js
|
|
12159
12205
|
var error56 = () => {
|
|
12160
12206
|
const Sizable = {
|
|
12161
12207
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -12196,6 +12242,7 @@ var error56 = () => {
|
|
|
12196
12242
|
json_string: "\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",
|
|
12197
12243
|
e164: "\u0627\u06CC 164 \u0646\u0645\u0628\u0631",
|
|
12198
12244
|
credit_card: "\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",
|
|
12245
|
+
currency_code: "\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",
|
|
12199
12246
|
iban: "IBAN",
|
|
12200
12247
|
jwt: "\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",
|
|
12201
12248
|
template_literal: "\u0627\u0646 \u067E\u0679"
|
|
@@ -12270,7 +12317,7 @@ function ur_default() {
|
|
|
12270
12317
|
};
|
|
12271
12318
|
}
|
|
12272
12319
|
|
|
12273
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12320
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uz.js
|
|
12274
12321
|
var error57 = () => {
|
|
12275
12322
|
const Sizable = {
|
|
12276
12323
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -12311,6 +12358,7 @@ var error57 = () => {
|
|
|
12311
12358
|
json_string: "JSON satr",
|
|
12312
12359
|
e164: "E.164 raqam",
|
|
12313
12360
|
credit_card: "kredit karta raqami",
|
|
12361
|
+
currency_code: "valyuta kodi",
|
|
12314
12362
|
iban: "IBAN",
|
|
12315
12363
|
jwt: "JWT",
|
|
12316
12364
|
template_literal: "kirish"
|
|
@@ -12383,7 +12431,7 @@ function uz_default() {
|
|
|
12383
12431
|
};
|
|
12384
12432
|
}
|
|
12385
12433
|
|
|
12386
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12434
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/vi.js
|
|
12387
12435
|
var error58 = () => {
|
|
12388
12436
|
const Sizable = {
|
|
12389
12437
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -12424,6 +12472,7 @@ var error58 = () => {
|
|
|
12424
12472
|
json_string: "chu\u1ED7i JSON",
|
|
12425
12473
|
e164: "s\u1ED1 E.164",
|
|
12426
12474
|
credit_card: "s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",
|
|
12475
|
+
currency_code: "m\xE3 ti\u1EC1n t\u1EC7",
|
|
12427
12476
|
iban: "IBAN",
|
|
12428
12477
|
jwt: "JWT",
|
|
12429
12478
|
template_literal: "\u0111\u1EA7u v\xE0o"
|
|
@@ -12496,7 +12545,7 @@ function vi_default() {
|
|
|
12496
12545
|
};
|
|
12497
12546
|
}
|
|
12498
12547
|
|
|
12499
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12548
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-CN.js
|
|
12500
12549
|
var error59 = () => {
|
|
12501
12550
|
const Sizable = {
|
|
12502
12551
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -12537,6 +12586,7 @@ var error59 = () => {
|
|
|
12537
12586
|
json_string: "JSON\u5B57\u7B26\u4E32",
|
|
12538
12587
|
e164: "E.164\u53F7\u7801",
|
|
12539
12588
|
credit_card: "\u4FE1\u7528\u5361\u53F7",
|
|
12589
|
+
currency_code: "\u8D27\u5E01\u4EE3\u7801",
|
|
12540
12590
|
iban: "IBAN",
|
|
12541
12591
|
jwt: "JWT",
|
|
12542
12592
|
template_literal: "\u8F93\u5165"
|
|
@@ -12610,7 +12660,7 @@ function zh_CN_default() {
|
|
|
12610
12660
|
};
|
|
12611
12661
|
}
|
|
12612
12662
|
|
|
12613
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12663
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-TW.js
|
|
12614
12664
|
var error60 = () => {
|
|
12615
12665
|
const Sizable = {
|
|
12616
12666
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -12651,6 +12701,7 @@ var error60 = () => {
|
|
|
12651
12701
|
json_string: "JSON \u5B57\u4E32",
|
|
12652
12702
|
e164: "E.164 \u6578\u503C",
|
|
12653
12703
|
credit_card: "\u4FE1\u7528\u5361\u865F",
|
|
12704
|
+
currency_code: "\u8CA8\u5E63\u4EE3\u78BC",
|
|
12654
12705
|
iban: "IBAN",
|
|
12655
12706
|
jwt: "JWT",
|
|
12656
12707
|
template_literal: "\u8F38\u5165"
|
|
@@ -12722,7 +12773,7 @@ function zh_TW_default() {
|
|
|
12722
12773
|
};
|
|
12723
12774
|
}
|
|
12724
12775
|
|
|
12725
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12776
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/yo.js
|
|
12726
12777
|
var error61 = () => {
|
|
12727
12778
|
const Sizable = {
|
|
12728
12779
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -12763,6 +12814,7 @@ var error61 = () => {
|
|
|
12763
12814
|
json_string: "\u1ECD\u0300r\u1ECD\u0300 JSON",
|
|
12764
12815
|
e164: "n\u1ECD\u0301mb\xE0 E.164",
|
|
12765
12816
|
credit_card: "n\u1ECDmba kaadi gbese",
|
|
12817
|
+
currency_code: "koodu ow\xF3",
|
|
12766
12818
|
iban: "IBAN",
|
|
12767
12819
|
jwt: "JWT",
|
|
12768
12820
|
template_literal: "\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"
|
|
@@ -12834,7 +12886,7 @@ function yo_default() {
|
|
|
12834
12886
|
};
|
|
12835
12887
|
}
|
|
12836
12888
|
|
|
12837
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12889
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/registries.js
|
|
12838
12890
|
var _a2;
|
|
12839
12891
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
12840
12892
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -12884,7 +12936,7 @@ function registry() {
|
|
|
12884
12936
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
12885
12937
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
12886
12938
|
|
|
12887
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
12939
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/compile.js
|
|
12888
12940
|
var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
12889
12941
|
var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
12890
12942
|
var ZodCompileAsyncError = class extends Error {
|
|
@@ -13141,7 +13193,7 @@ function generateChecks(doc, ctx, schema, accessor) {
|
|
|
13141
13193
|
generatePropertyCheck(doc, ctx, def, currentAccessor);
|
|
13142
13194
|
break;
|
|
13143
13195
|
case "properties":
|
|
13144
|
-
generatePropertiesChecks(doc, ctx, def, currentAccessor
|
|
13196
|
+
generatePropertiesChecks(doc, ctx, def, currentAccessor);
|
|
13145
13197
|
break;
|
|
13146
13198
|
case "overwrite": {
|
|
13147
13199
|
const newAccessor = newVar(ctx);
|
|
@@ -13251,11 +13303,11 @@ function generateMimeTypeCheck(doc, ctx, def, accessor) {
|
|
|
13251
13303
|
doc.write(`if (!${mimeSet}.has(${accessor}.type)) return INVALID;`);
|
|
13252
13304
|
}
|
|
13253
13305
|
}
|
|
13254
|
-
function generatePropertiesChecks(doc, ctx, def, accessor
|
|
13306
|
+
function generatePropertiesChecks(doc, ctx, def, accessor) {
|
|
13255
13307
|
if (def.when) {
|
|
13256
13308
|
throw new ZodCompileUnsupportedError(`check with a custom "when" condition`);
|
|
13257
13309
|
}
|
|
13258
|
-
doc.write(
|
|
13310
|
+
doc.write(`if (${accessor} == null) return INVALID;`);
|
|
13259
13311
|
const shape = def.shape;
|
|
13260
13312
|
for (const key of Reflect.ownKeys(shape)) {
|
|
13261
13313
|
const keyExpr = typeof key === "symbol" ? addConstant(ctx, key) : esc(key);
|
|
@@ -13345,7 +13397,7 @@ var PATTERN_IS_COMPLETE = /* @__PURE__ */ new Set([
|
|
|
13345
13397
|
"uuid",
|
|
13346
13398
|
"xid"
|
|
13347
13399
|
]);
|
|
13348
|
-
function generateStringFormatCheck(doc, ctx, def, accessor) {
|
|
13400
|
+
function generateStringFormatCheck(doc, ctx, def, accessor, needsValue = true) {
|
|
13349
13401
|
const fmt = def.format;
|
|
13350
13402
|
if (fmt === "base64") {
|
|
13351
13403
|
const validator = addConstant(ctx, isValidBase64);
|
|
@@ -13385,7 +13437,7 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
|
|
|
13385
13437
|
}
|
|
13386
13438
|
const formatDef = def;
|
|
13387
13439
|
if (fmt === "url" || fmt === "httpurl" || formatDef.normalize || formatDef.hostname !== void 0 || formatDef.protocol !== void 0) {
|
|
13388
|
-
const parseConst = addConstant(ctx,
|
|
13440
|
+
const parseConst = addConstant(ctx, validateURL);
|
|
13389
13441
|
const defConst = addConstant(ctx, def);
|
|
13390
13442
|
const trimVar = newVar(ctx);
|
|
13391
13443
|
const urlVar = newVar(ctx);
|
|
@@ -13400,6 +13452,8 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
|
|
|
13400
13452
|
const protocolConst = addConstant(ctx, urlProtocolOk);
|
|
13401
13453
|
doc.write(`if (!${protocolConst}(${urlVar}, ${defConst}.protocol)) return INVALID;`);
|
|
13402
13454
|
}
|
|
13455
|
+
if (!needsValue)
|
|
13456
|
+
return null;
|
|
13403
13457
|
const outputVar = newVar(ctx);
|
|
13404
13458
|
const outputExpr = formatDef.normalize ? `${urlVar}.href` : `${addConstant(ctx, stripTabAndNewline)}(${trimVar})`;
|
|
13405
13459
|
doc.write(`const ${outputVar} = ${outputExpr};`);
|
|
@@ -13459,7 +13513,7 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
|
13459
13513
|
let typeAccessor;
|
|
13460
13514
|
switch (type) {
|
|
13461
13515
|
case "string":
|
|
13462
|
-
typeAccessor = generateStringCheck(doc, ctx, schema, accessor);
|
|
13516
|
+
typeAccessor = generateStringCheck(doc, ctx, schema, accessor, buildsValue);
|
|
13463
13517
|
break;
|
|
13464
13518
|
case "number":
|
|
13465
13519
|
typeAccessor = generateNumberCheck(doc, schema, accessor);
|
|
@@ -13565,10 +13619,6 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
|
13565
13619
|
case "custom":
|
|
13566
13620
|
typeAccessor = generateCustomCheck(doc, ctx, schema, accessor);
|
|
13567
13621
|
break;
|
|
13568
|
-
case "properties":
|
|
13569
|
-
generatePropertiesChecks(doc, ctx, schema._zod.def, accessor, true);
|
|
13570
|
-
typeAccessor = accessor;
|
|
13571
|
-
break;
|
|
13572
13622
|
case "transform":
|
|
13573
13623
|
typeAccessor = generateTransformCheck(doc, ctx, schema, accessor);
|
|
13574
13624
|
break;
|
|
@@ -13584,12 +13634,12 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
|
13584
13634
|
return null;
|
|
13585
13635
|
return generateChecks(doc, ctx, schema, typeAccessor);
|
|
13586
13636
|
}
|
|
13587
|
-
function generateStringCheck(doc, ctx, schema, accessor) {
|
|
13637
|
+
function generateStringCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
13588
13638
|
doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
|
|
13589
13639
|
const def = schema._zod.def;
|
|
13590
13640
|
if (def.format === void 0)
|
|
13591
13641
|
return accessor;
|
|
13592
|
-
return generateStringFormatCheck(doc, ctx, def, accessor);
|
|
13642
|
+
return generateStringFormatCheck(doc, ctx, def, accessor, needsValue);
|
|
13593
13643
|
}
|
|
13594
13644
|
function generateNumberCheck(doc, schema, accessor) {
|
|
13595
13645
|
doc.write(`if (typeof ${accessor} !== "number" || !Number.isFinite(${accessor})) return INVALID;`);
|
|
@@ -14488,21 +14538,19 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
14488
14538
|
return accessor;
|
|
14489
14539
|
}
|
|
14490
14540
|
|
|
14491
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
14541
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.js
|
|
14542
|
+
function snapshotChecks(def) {
|
|
14543
|
+
if (def.checks)
|
|
14544
|
+
def.checks = [...def.checks];
|
|
14545
|
+
return def;
|
|
14546
|
+
}
|
|
14492
14547
|
// @__NO_SIDE_EFFECTS__
|
|
14493
14548
|
function _string(Class2, params) {
|
|
14494
|
-
return new Class2({
|
|
14495
|
-
type: "string",
|
|
14496
|
-
...normalizeParams(params)
|
|
14497
|
-
});
|
|
14549
|
+
return new Class2(snapshotChecks({ type: "string", ...normalizeParams(params) }));
|
|
14498
14550
|
}
|
|
14499
14551
|
// @__NO_SIDE_EFFECTS__
|
|
14500
14552
|
function _coercedString(Class2, params) {
|
|
14501
|
-
return new Class2({
|
|
14502
|
-
type: "string",
|
|
14503
|
-
coerce: true,
|
|
14504
|
-
...normalizeParams(params)
|
|
14505
|
-
});
|
|
14553
|
+
return new Class2(snapshotChecks({ type: "string", coerce: true, ...normalizeParams(params) }));
|
|
14506
14554
|
}
|
|
14507
14555
|
// @__NO_SIDE_EFFECTS__
|
|
14508
14556
|
function _email(Class2, params) {
|
|
@@ -14806,20 +14854,11 @@ function _isoDuration(Class2, params) {
|
|
|
14806
14854
|
}
|
|
14807
14855
|
// @__NO_SIDE_EFFECTS__
|
|
14808
14856
|
function _number(Class2, params) {
|
|
14809
|
-
return new Class2({
|
|
14810
|
-
type: "number",
|
|
14811
|
-
checks: [],
|
|
14812
|
-
...normalizeParams(params)
|
|
14813
|
-
});
|
|
14857
|
+
return new Class2(snapshotChecks({ type: "number", checks: [], ...normalizeParams(params) }));
|
|
14814
14858
|
}
|
|
14815
14859
|
// @__NO_SIDE_EFFECTS__
|
|
14816
14860
|
function _coercedNumber(Class2, params) {
|
|
14817
|
-
return new Class2({
|
|
14818
|
-
type: "number",
|
|
14819
|
-
coerce: true,
|
|
14820
|
-
checks: [],
|
|
14821
|
-
...normalizeParams(params)
|
|
14822
|
-
});
|
|
14861
|
+
return new Class2(snapshotChecks({ type: "number", coerce: true, checks: [], ...normalizeParams(params) }));
|
|
14823
14862
|
}
|
|
14824
14863
|
// @__NO_SIDE_EFFECTS__
|
|
14825
14864
|
function _int(Class2, params) {
|
|
@@ -15161,9 +15200,8 @@ function _property(property, schema, params) {
|
|
|
15161
15200
|
});
|
|
15162
15201
|
}
|
|
15163
15202
|
// @__NO_SIDE_EFFECTS__
|
|
15164
|
-
function _properties(
|
|
15165
|
-
return new
|
|
15166
|
-
type: "properties",
|
|
15203
|
+
function _properties(shape, params) {
|
|
15204
|
+
return new $ZodCheckProperties({
|
|
15167
15205
|
check: "properties",
|
|
15168
15206
|
shape,
|
|
15169
15207
|
...normalizeParams(params)
|
|
@@ -15559,7 +15597,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
15559
15597
|
return inst;
|
|
15560
15598
|
}
|
|
15561
15599
|
|
|
15562
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
15600
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.js
|
|
15563
15601
|
function assignProps(target, ...sources) {
|
|
15564
15602
|
for (const source of sources) {
|
|
15565
15603
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -15798,11 +15836,11 @@ function foldObjects(members2) {
|
|
|
15798
15836
|
}
|
|
15799
15837
|
objects.push(member);
|
|
15800
15838
|
}
|
|
15801
|
-
const
|
|
15839
|
+
const properties = {};
|
|
15802
15840
|
const required2 = /* @__PURE__ */ new Set();
|
|
15803
15841
|
for (const object2 of objects) {
|
|
15804
15842
|
for (const key in object2.properties) {
|
|
15805
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
15843
|
+
if (Object.prototype.hasOwnProperty.call(properties, key))
|
|
15806
15844
|
continue;
|
|
15807
15845
|
const parts = [];
|
|
15808
15846
|
for (const other of objects) {
|
|
@@ -15813,12 +15851,12 @@ function foldObjects(members2) {
|
|
|
15813
15851
|
parts.push(part);
|
|
15814
15852
|
}
|
|
15815
15853
|
const merged = parts.length === 1 ? parts[0] : foldObjects(parts) ?? { allOf: parts };
|
|
15816
|
-
assignProp(
|
|
15854
|
+
assignProp(properties, key, merged);
|
|
15817
15855
|
}
|
|
15818
15856
|
for (const key of object2.required ?? [])
|
|
15819
15857
|
required2.add(key);
|
|
15820
15858
|
}
|
|
15821
|
-
const folded = { type: "object", properties
|
|
15859
|
+
const folded = { type: "object", properties };
|
|
15822
15860
|
if (required2.size)
|
|
15823
15861
|
folded.required = [...required2];
|
|
15824
15862
|
if (objects.every((object2) => object2.additionalProperties === false)) {
|
|
@@ -16089,7 +16127,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
16089
16127
|
return finalize(ctx, schema);
|
|
16090
16128
|
};
|
|
16091
16129
|
|
|
16092
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16130
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.js
|
|
16093
16131
|
var narrowMin = (agg, key, value) => {
|
|
16094
16132
|
if (agg[key] === void 0 || value > agg[key])
|
|
16095
16133
|
agg[key] = value;
|
|
@@ -16440,17 +16478,15 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
16440
16478
|
path: [...params.path, "properties", key]
|
|
16441
16479
|
}));
|
|
16442
16480
|
}
|
|
16443
|
-
const
|
|
16444
|
-
const
|
|
16481
|
+
const requiredKeys = [];
|
|
16482
|
+
for (const key of Object.keys(shape)) {
|
|
16445
16483
|
const field = def.shape[key];
|
|
16446
|
-
if (ctx.io === "input") {
|
|
16447
|
-
|
|
16448
|
-
} else {
|
|
16449
|
-
return field._zod.optout === void 0;
|
|
16484
|
+
if (ctx.io === "input" ? inputOptin(field) === void 0 : field._zod.optout === void 0) {
|
|
16485
|
+
requiredKeys.push(key);
|
|
16450
16486
|
}
|
|
16451
|
-
}
|
|
16452
|
-
if (requiredKeys.
|
|
16453
|
-
json2.required =
|
|
16487
|
+
}
|
|
16488
|
+
if (requiredKeys.length > 0) {
|
|
16489
|
+
json2.required = requiredKeys;
|
|
16454
16490
|
}
|
|
16455
16491
|
if (def.catchall?._zod.def.type === "never") {
|
|
16456
16492
|
json2.additionalProperties = false;
|
|
@@ -16464,31 +16500,6 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
16464
16500
|
});
|
|
16465
16501
|
}
|
|
16466
16502
|
};
|
|
16467
|
-
var propertiesProcessor = (schema, ctx, _json, params) => {
|
|
16468
|
-
const json2 = _json;
|
|
16469
|
-
const def = schema._zod.def;
|
|
16470
|
-
if (Object.getOwnPropertySymbols(def.shape).length && handleUnrepresentable(schema, ctx, json2, params, "Symbol keys cannot be represented in JSON Schema")) {
|
|
16471
|
-
return;
|
|
16472
|
-
}
|
|
16473
|
-
if (ctx.io === "output") {
|
|
16474
|
-
for (const key in def.shape) {
|
|
16475
|
-
if (isTransforming(def.shape[key]) && handleUnrepresentable(schema, ctx, json2, params, `z.properties() returns its input, so the output of a transforming schema at key "${key}" cannot be represented in JSON Schema`)) {
|
|
16476
|
-
return;
|
|
16477
|
-
}
|
|
16478
|
-
}
|
|
16479
|
-
}
|
|
16480
|
-
json2.type = "object";
|
|
16481
|
-
json2.properties = {};
|
|
16482
|
-
for (const key in def.shape) {
|
|
16483
|
-
assignProp(json2.properties, key, processSchema(def.shape[key], ctx, {
|
|
16484
|
-
...params,
|
|
16485
|
-
path: [...params.path, "properties", key]
|
|
16486
|
-
}));
|
|
16487
|
-
}
|
|
16488
|
-
const required2 = Object.keys(def.shape).filter((key) => inputOptin(def.shape[key]) === void 0);
|
|
16489
|
-
if (required2.length > 0)
|
|
16490
|
-
json2.required = required2;
|
|
16491
|
-
};
|
|
16492
16503
|
var unionProcessor = (schema, ctx, json2, params) => {
|
|
16493
16504
|
const def = schema._zod.def;
|
|
16494
16505
|
const isExclusive = def.inclusive === false;
|
|
@@ -16808,7 +16819,6 @@ var allProcessors = {
|
|
|
16808
16819
|
file: fileProcessor,
|
|
16809
16820
|
success: successProcessor,
|
|
16810
16821
|
custom: customProcessor,
|
|
16811
|
-
properties: propertiesProcessor,
|
|
16812
16822
|
function: functionProcessor,
|
|
16813
16823
|
transform: transformProcessor,
|
|
16814
16824
|
map: mapProcessor,
|
|
@@ -16865,7 +16875,7 @@ function toJSONSchema(input2, params) {
|
|
|
16865
16875
|
return finalize(ctx, input2);
|
|
16866
16876
|
}
|
|
16867
16877
|
|
|
16868
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16878
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-generator.js
|
|
16869
16879
|
var JSONSchemaGenerator = class {
|
|
16870
16880
|
/** @deprecated Access via ctx instead */
|
|
16871
16881
|
get metadataRegistry() {
|
|
@@ -16943,10 +16953,10 @@ var JSONSchemaGenerator = class {
|
|
|
16943
16953
|
}
|
|
16944
16954
|
};
|
|
16945
16955
|
|
|
16946
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16956
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema.js
|
|
16947
16957
|
var json_schema_exports = {};
|
|
16948
16958
|
|
|
16949
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
16959
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.js
|
|
16950
16960
|
var schemas_exports2 = {};
|
|
16951
16961
|
__export(schemas_exports2, {
|
|
16952
16962
|
ZodAny: () => ZodAny,
|
|
@@ -17005,7 +17015,6 @@ __export(schemas_exports2, {
|
|
|
17005
17015
|
ZodPrefault: () => ZodPrefault,
|
|
17006
17016
|
ZodPreprocess: () => ZodPreprocess,
|
|
17007
17017
|
ZodPromise: () => ZodPromise,
|
|
17008
|
-
ZodProperties: () => ZodProperties,
|
|
17009
17018
|
ZodReadonly: () => ZodReadonly,
|
|
17010
17019
|
ZodRecord: () => ZodRecord,
|
|
17011
17020
|
ZodSet: () => ZodSet,
|
|
@@ -17043,6 +17052,7 @@ __export(schemas_exports2, {
|
|
|
17043
17052
|
creditCard: () => creditCard2,
|
|
17044
17053
|
cuid: () => cuid3,
|
|
17045
17054
|
cuid2: () => cuid22,
|
|
17055
|
+
currencyCode: () => currencyCode2,
|
|
17046
17056
|
custom: () => custom,
|
|
17047
17057
|
date: () => date2,
|
|
17048
17058
|
describe: () => describe2,
|
|
@@ -17097,7 +17107,6 @@ __export(schemas_exports2, {
|
|
|
17097
17107
|
prefault: () => prefault,
|
|
17098
17108
|
preprocess: () => preprocess,
|
|
17099
17109
|
promise: () => promise,
|
|
17100
|
-
properties: () => properties,
|
|
17101
17110
|
readonly: () => readonly,
|
|
17102
17111
|
record: () => record,
|
|
17103
17112
|
refine: () => refine,
|
|
@@ -17128,7 +17137,7 @@ __export(schemas_exports2, {
|
|
|
17128
17137
|
xor: () => xor
|
|
17129
17138
|
});
|
|
17130
17139
|
|
|
17131
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17140
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/checks.js
|
|
17132
17141
|
var checks_exports2 = {};
|
|
17133
17142
|
__export(checks_exports2, {
|
|
17134
17143
|
endsWith: () => _endsWith,
|
|
@@ -17151,6 +17160,7 @@ __export(checks_exports2, {
|
|
|
17151
17160
|
normalize: () => _normalize,
|
|
17152
17161
|
overwrite: () => _overwrite,
|
|
17153
17162
|
positive: () => _positive,
|
|
17163
|
+
properties: () => _properties,
|
|
17154
17164
|
property: () => _property,
|
|
17155
17165
|
regex: () => _regex,
|
|
17156
17166
|
size: () => _size,
|
|
@@ -17162,7 +17172,7 @@ __export(checks_exports2, {
|
|
|
17162
17172
|
uppercase: () => _uppercase
|
|
17163
17173
|
});
|
|
17164
17174
|
|
|
17165
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17175
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.js
|
|
17166
17176
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
17167
17177
|
function _lazyMethod(proto, key, make) {
|
|
17168
17178
|
Object.defineProperty(proto, key, {
|
|
@@ -17208,7 +17218,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
17208
17218
|
Parent: Error
|
|
17209
17219
|
});
|
|
17210
17220
|
|
|
17211
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17221
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.js
|
|
17212
17222
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
17213
17223
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
17214
17224
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -17222,7 +17232,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
17222
17232
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
17223
17233
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
17224
17234
|
|
|
17225
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
17235
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.js
|
|
17226
17236
|
function _ensureDefaultLocale() {
|
|
17227
17237
|
if (!globalConfig.localeError)
|
|
17228
17238
|
config(en_default());
|
|
@@ -17610,8 +17620,8 @@ function url(params) {
|
|
|
17610
17620
|
}
|
|
17611
17621
|
function httpUrl(params) {
|
|
17612
17622
|
return _url(ZodURL, {
|
|
17613
|
-
protocol:
|
|
17614
|
-
hostname:
|
|
17623
|
+
protocol: httpProtocol,
|
|
17624
|
+
hostname: domain,
|
|
17615
17625
|
...util_exports.normalizeParams(params)
|
|
17616
17626
|
});
|
|
17617
17627
|
}
|
|
@@ -17749,10 +17759,13 @@ function stringFormat(format, fnOrRegex, _params = {}) {
|
|
|
17749
17759
|
return _stringFormat(ZodCustomStringFormat, format, fnOrRegex, _params);
|
|
17750
17760
|
}
|
|
17751
17761
|
function hostname2(_params) {
|
|
17752
|
-
return _stringFormat(ZodCustomStringFormat, "hostname",
|
|
17762
|
+
return _stringFormat(ZodCustomStringFormat, "hostname", hostname, _params);
|
|
17753
17763
|
}
|
|
17754
17764
|
function hex2(_params) {
|
|
17755
|
-
return _stringFormat(ZodCustomStringFormat, "hex",
|
|
17765
|
+
return _stringFormat(ZodCustomStringFormat, "hex", hex, _params);
|
|
17766
|
+
}
|
|
17767
|
+
function currencyCode2(_params) {
|
|
17768
|
+
return _stringFormat(ZodCustomStringFormat, "currency_code", currencyCode, _params);
|
|
17756
17769
|
}
|
|
17757
17770
|
function hash(alg, params) {
|
|
17758
17771
|
const enc = params?.enc ?? "hex";
|
|
@@ -18617,14 +18630,6 @@ var ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
|
|
|
18617
18630
|
ZodType.init(inst, def);
|
|
18618
18631
|
inst._zod.processJSONSchema = (ctx, json2, params) => customProcessor(inst, ctx, json2, params);
|
|
18619
18632
|
});
|
|
18620
|
-
var ZodProperties = /* @__PURE__ */ $constructor("ZodProperties", (inst, def) => {
|
|
18621
|
-
_ensureDefaultMemoizer();
|
|
18622
|
-
$ZodProperties.init(inst, def);
|
|
18623
|
-
ZodType.init(inst, def);
|
|
18624
|
-
});
|
|
18625
|
-
function properties(shape, params) {
|
|
18626
|
-
return _properties(ZodProperties, shape, params);
|
|
18627
|
-
}
|
|
18628
18633
|
function check(fn) {
|
|
18629
18634
|
const ch = new $ZodCheck({
|
|
18630
18635
|
check: "custom"
|
|
@@ -18648,7 +18653,7 @@ var ZodInstanceOf = /* @__PURE__ */ $constructor("ZodInstanceOf", (inst, def) =>
|
|
|
18648
18653
|
ZodCustom.init(inst, def);
|
|
18649
18654
|
}, {
|
|
18650
18655
|
properties(shape, params) {
|
|
18651
|
-
return this.check(
|
|
18656
|
+
return this.check(_properties(shape, params));
|
|
18652
18657
|
}
|
|
18653
18658
|
});
|
|
18654
18659
|
function _instanceof(cls, params = {}) {
|
|
@@ -18692,7 +18697,7 @@ function preprocess(fn, schema) {
|
|
|
18692
18697
|
});
|
|
18693
18698
|
}
|
|
18694
18699
|
|
|
18695
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18700
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/compat.js
|
|
18696
18701
|
var ZodIssueCode = {
|
|
18697
18702
|
invalid_type: "invalid_type",
|
|
18698
18703
|
too_big: "too_big",
|
|
@@ -18718,7 +18723,7 @@ var ZodFirstPartyTypeKind;
|
|
|
18718
18723
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
18719
18724
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
18720
18725
|
|
|
18721
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18726
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/iso.js
|
|
18722
18727
|
var iso_exports = {};
|
|
18723
18728
|
__export(iso_exports, {
|
|
18724
18729
|
ZodISODate: () => ZodISODate,
|
|
@@ -18743,7 +18748,7 @@ function duration2(params) {
|
|
|
18743
18748
|
return _isoDuration(ZodISODuration, params);
|
|
18744
18749
|
}
|
|
18745
18750
|
|
|
18746
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
18751
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/from-json-schema.js
|
|
18747
18752
|
var z = {
|
|
18748
18753
|
...schemas_exports2,
|
|
18749
18754
|
...checks_exports2,
|
|
@@ -19235,10 +19240,10 @@ function convertBaseSchema(schema, ctx) {
|
|
|
19235
19240
|
}
|
|
19236
19241
|
case "object": {
|
|
19237
19242
|
const shape = {};
|
|
19238
|
-
const
|
|
19243
|
+
const properties = schema.properties || {};
|
|
19239
19244
|
const requiredSet = new Set(schema.required || []);
|
|
19240
19245
|
const additionalSchema = typeof schema.additionalProperties === "object" ? convertSchema(schema.additionalProperties, ctx) : void 0;
|
|
19241
|
-
for (const [key, propSchema] of Object.entries(
|
|
19246
|
+
for (const [key, propSchema] of Object.entries(properties)) {
|
|
19242
19247
|
const propZodSchema = convertSchema(propSchema, ctx);
|
|
19243
19248
|
assignProp(shape, key, requiredSet.has(key) ? propZodSchema : propZodSchema.optional());
|
|
19244
19249
|
}
|
|
@@ -19476,7 +19481,7 @@ function fromJSONSchema(schema, params) {
|
|
|
19476
19481
|
return convertSchema(normalized, ctx);
|
|
19477
19482
|
}
|
|
19478
19483
|
|
|
19479
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19484
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/visit.js
|
|
19480
19485
|
var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
|
|
19481
19486
|
function visit(schema, fnOrHandlers) {
|
|
19482
19487
|
const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node3, rewritten) => {
|
|
@@ -19599,18 +19604,6 @@ function visit(schema, fnOrHandlers) {
|
|
|
19599
19604
|
const { _cachedInner, ...rest } = def;
|
|
19600
19605
|
return clone(s, { ...rest, getter: () => run(original()) });
|
|
19601
19606
|
}
|
|
19602
|
-
case "properties": {
|
|
19603
|
-
const oldShape = def.shape;
|
|
19604
|
-
let changed = false;
|
|
19605
|
-
const newShape = {};
|
|
19606
|
-
for (const k of Reflect.ownKeys(oldShape)) {
|
|
19607
|
-
const mapped = run(oldShape[k]);
|
|
19608
|
-
if (mapped !== oldShape[k])
|
|
19609
|
-
changed = true;
|
|
19610
|
-
newShape[k] = mapped;
|
|
19611
|
-
}
|
|
19612
|
-
return changed ? clone(s, { ...def, shape: newShape }) : s;
|
|
19613
|
-
}
|
|
19614
19607
|
// A leaf by choice: `parts` are regex fragments, not data positions.
|
|
19615
19608
|
case "template_literal":
|
|
19616
19609
|
// Leaves.
|
|
@@ -19643,7 +19636,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
19643
19636
|
return run(schema);
|
|
19644
19637
|
}
|
|
19645
19638
|
|
|
19646
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19639
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/deep-partial.js
|
|
19647
19640
|
function deepPartial(schema) {
|
|
19648
19641
|
return visit(schema, {
|
|
19649
19642
|
object: (s) => s.partial(),
|
|
@@ -19655,7 +19648,7 @@ function deepPartial(schema) {
|
|
|
19655
19648
|
});
|
|
19656
19649
|
}
|
|
19657
19650
|
|
|
19658
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19651
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/in-out.js
|
|
19659
19652
|
function withChecks(side, checks) {
|
|
19660
19653
|
if (!checks?.length)
|
|
19661
19654
|
return side;
|
|
@@ -19685,7 +19678,7 @@ function output(schema) {
|
|
|
19685
19678
|
});
|
|
19686
19679
|
}
|
|
19687
19680
|
|
|
19688
|
-
// ../../node_modules/.pnpm/zod@4.6.
|
|
19681
|
+
// ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.js
|
|
19689
19682
|
var coerce_exports = {};
|
|
19690
19683
|
__export(coerce_exports, {
|
|
19691
19684
|
bigint: () => bigint3,
|
|
@@ -20893,11 +20886,32 @@ function parseNativeHistoryText(text3) {
|
|
|
20893
20886
|
});
|
|
20894
20887
|
return { text: plainText, images };
|
|
20895
20888
|
}
|
|
20896
|
-
var
|
|
20897
|
-
|
|
20889
|
+
var nativeMessageActivitySchema = external_exports.strictObject({
|
|
20890
|
+
activityId: external_exports.string().min(1).max(128),
|
|
20891
|
+
activityType: external_exports.string().min(1).max(128),
|
|
20892
|
+
content: external_exports.array(displayContentSchema).max(100).readonly(),
|
|
20893
|
+
input: external_exports.string().max(1e5),
|
|
20894
|
+
locations: external_exports.array(external_exports.string().min(1).max(2048)).max(100).readonly(),
|
|
20895
|
+
name: external_exports.string().max(128),
|
|
20896
|
+
output: external_exports.string().max(1e5),
|
|
20897
|
+
sequence: external_exports.number().int().nonnegative(),
|
|
20898
|
+
status: external_exports.string().min(1).max(64),
|
|
20899
|
+
title: external_exports.string().max(500),
|
|
20900
|
+
toolKind: external_exports.string().max(64)
|
|
20901
|
+
}).readonly();
|
|
20902
|
+
var userHistoryMessage = external_exports.strictObject({
|
|
20903
|
+
role: external_exports.literal("user"),
|
|
20898
20904
|
text: external_exports.string().max(SESSION_HISTORY_CHARACTER_LIMIT),
|
|
20899
20905
|
images: external_exports.array(historyImage).max(8).readonly().optional()
|
|
20900
20906
|
}).readonly();
|
|
20907
|
+
var assistantHistoryMessage = external_exports.strictObject({
|
|
20908
|
+
activities: external_exports.array(nativeMessageActivitySchema).max(100).readonly().default([]),
|
|
20909
|
+
content: external_exports.array(displayContentSchema).max(100).readonly().default([]),
|
|
20910
|
+
role: external_exports.literal("assistant"),
|
|
20911
|
+
text: external_exports.string().max(SESSION_HISTORY_CHARACTER_LIMIT),
|
|
20912
|
+
images: external_exports.array(historyImage).max(8).readonly().optional()
|
|
20913
|
+
}).readonly();
|
|
20914
|
+
var historyMessage = external_exports.discriminatedUnion("role", [userHistoryMessage, assistantHistoryMessage]);
|
|
20901
20915
|
var availableSessionHistoryObjectSchema = external_exports.strictObject({
|
|
20902
20916
|
status: external_exports.literal("available"),
|
|
20903
20917
|
messages: external_exports.array(historyMessage).max(SESSION_HISTORY_MESSAGE_LIMIT).readonly(),
|
|
@@ -20906,19 +20920,28 @@ var availableSessionHistoryObjectSchema = external_exports.strictObject({
|
|
|
20906
20920
|
coveredMessageIds: external_exports.array(external_exports.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9._:-]{0,127}:(?:user|agent)$/)).max(2e4).readonly().default([])
|
|
20907
20921
|
});
|
|
20908
20922
|
var availableSessionHistorySchema = availableSessionHistoryObjectSchema.readonly();
|
|
20909
|
-
var unavailableSessionHistoryObjectSchema = external_exports.strictObject({
|
|
20923
|
+
var unavailableSessionHistoryObjectSchema = external_exports.strictObject({
|
|
20924
|
+
status: external_exports.literal("unavailable"),
|
|
20925
|
+
cause: external_exports.strictObject({
|
|
20926
|
+
code: external_exports.string().regex(/^[a-z][a-z0-9_]{0,127}$/),
|
|
20927
|
+
message: external_exports.string().min(1).max(1e3)
|
|
20928
|
+
}).readonly()
|
|
20929
|
+
});
|
|
20910
20930
|
var unavailableSessionHistorySchema = unavailableSessionHistoryObjectSchema.readonly();
|
|
20911
20931
|
function withinHistoryContentLimits(history) {
|
|
20912
20932
|
if (history.status === "unavailable" || history.messages === void 0) {
|
|
20913
20933
|
return true;
|
|
20914
20934
|
}
|
|
20915
|
-
return history.messages.reduce(
|
|
20935
|
+
return history.messages.reduce(
|
|
20936
|
+
(total, message) => total + message.text.length + (message.role === "assistant" ? JSON.stringify(message.activities).length + JSON.stringify(message.content).length : 0),
|
|
20937
|
+
0
|
|
20938
|
+
) <= SESSION_HISTORY_CHARACTER_LIMIT && history.messages.reduce(
|
|
20916
20939
|
(total, message) => total + (message.images ?? []).reduce((size, image) => size + image.data.length, 0),
|
|
20917
20940
|
0
|
|
20918
20941
|
) <= SESSION_HISTORY_IMAGE_CHARACTER_LIMIT;
|
|
20919
20942
|
}
|
|
20920
20943
|
var sessionHistorySchema = external_exports.discriminatedUnion("status", [availableSessionHistorySchema, unavailableSessionHistorySchema]).refine(withinHistoryContentLimits);
|
|
20921
|
-
var
|
|
20944
|
+
var nativeMessagePageSchema = external_exports.discriminatedUnion("status", [
|
|
20922
20945
|
availableSessionHistoryObjectSchema.extend({ nextCursor: external_exports.string().max(512).nullable() }).readonly(),
|
|
20923
20946
|
unavailableSessionHistoryObjectSchema.extend({ nextCursor: external_exports.null() }).readonly()
|
|
20924
20947
|
]).refine(withinHistoryContentLimits);
|
|
@@ -22701,8 +22724,8 @@ function captureActivityDetail(content3, input2, output2) {
|
|
|
22701
22724
|
originalBytes
|
|
22702
22725
|
};
|
|
22703
22726
|
}
|
|
22704
|
-
function recordedDetail(
|
|
22705
|
-
return
|
|
22727
|
+
function recordedDetail(activity2) {
|
|
22728
|
+
return activity2?.detail.kind === "recorded" ? activity2.detail : null;
|
|
22706
22729
|
}
|
|
22707
22730
|
function emptyDisplayContent(type) {
|
|
22708
22731
|
return {
|
|
@@ -22920,7 +22943,7 @@ var AcpActivityTracker = class {
|
|
|
22920
22943
|
const previous2 = this.#activities.get(key);
|
|
22921
22944
|
const identity2 = this.#identity(key);
|
|
22922
22945
|
const fullOutput = `${recordedDetail(previous2)?.output ?? previous2?.output ?? ""}${text3}`;
|
|
22923
|
-
const
|
|
22946
|
+
const activity2 = new AcpActivity(
|
|
22924
22947
|
identity2.id,
|
|
22925
22948
|
activityType,
|
|
22926
22949
|
"",
|
|
@@ -22934,7 +22957,7 @@ var AcpActivityTracker = class {
|
|
|
22934
22957
|
[],
|
|
22935
22958
|
captureActivityDetail([], "", fullOutput)
|
|
22936
22959
|
);
|
|
22937
|
-
await this.#record(key,
|
|
22960
|
+
await this.#record(key, activity2);
|
|
22938
22961
|
this.#activeNarrativeKey = key;
|
|
22939
22962
|
};
|
|
22940
22963
|
recordPlan = async (plan) => {
|
|
@@ -23056,21 +23079,21 @@ var AcpActivityTracker = class {
|
|
|
23056
23079
|
return;
|
|
23057
23080
|
}
|
|
23058
23081
|
this.#activeNarrativeKey = "";
|
|
23059
|
-
const
|
|
23060
|
-
if (
|
|
23082
|
+
const activity2 = this.#activities.get(key);
|
|
23083
|
+
if (activity2 === void 0) {
|
|
23061
23084
|
return;
|
|
23062
23085
|
}
|
|
23063
|
-
const completed =
|
|
23064
|
-
if (completed !==
|
|
23086
|
+
const completed = activity2.complete();
|
|
23087
|
+
if (completed !== activity2) {
|
|
23065
23088
|
await this.#record(key, completed);
|
|
23066
23089
|
}
|
|
23067
23090
|
};
|
|
23068
23091
|
finish = async () => {
|
|
23069
23092
|
await this.finishNarrative();
|
|
23070
23093
|
const entries = [...this.#activities.entries()].sort((left, right) => left[1].sequence - right[1].sequence);
|
|
23071
|
-
for (const [key,
|
|
23072
|
-
const completed =
|
|
23073
|
-
if (completed !==
|
|
23094
|
+
for (const [key, activity2] of entries) {
|
|
23095
|
+
const completed = activity2.complete();
|
|
23096
|
+
if (completed !== activity2) {
|
|
23074
23097
|
await this.#record(key, completed);
|
|
23075
23098
|
}
|
|
23076
23099
|
}
|
|
@@ -23085,9 +23108,9 @@ var AcpActivityTracker = class {
|
|
|
23085
23108
|
this.#identities.set(key, identity2);
|
|
23086
23109
|
return identity2;
|
|
23087
23110
|
};
|
|
23088
|
-
#record = async (key,
|
|
23089
|
-
this.#activities.set(key,
|
|
23090
|
-
await this.#onActivity(
|
|
23111
|
+
#record = async (key, activity2) => {
|
|
23112
|
+
this.#activities.set(key, activity2);
|
|
23113
|
+
await this.#onActivity(activity2);
|
|
23091
23114
|
};
|
|
23092
23115
|
#recordPlanEntries = async (key, entries) => {
|
|
23093
23116
|
const identity2 = this.#identity(key);
|
|
@@ -30715,19 +30738,74 @@ function sessionConfigProtocolForAgent(agentId) {
|
|
|
30715
30738
|
|
|
30716
30739
|
// src/acp/session-history.ts
|
|
30717
30740
|
var AcpHistoryReplay = class {
|
|
30741
|
+
#activities = /* @__PURE__ */ new Map();
|
|
30718
30742
|
#messages = [];
|
|
30743
|
+
#turnActivityIds = /* @__PURE__ */ new Set();
|
|
30744
|
+
#activityTracker = new AcpActivityTracker(async (activity2) => {
|
|
30745
|
+
this.#activities.set(activity2.activityId, activity2);
|
|
30746
|
+
this.#turnActivityIds.add(activity2.activityId);
|
|
30747
|
+
const latest = this.#messages.at(-1);
|
|
30748
|
+
if (latest?.role === "assistant") {
|
|
30749
|
+
this.#messages[this.#messages.length - 1] = {
|
|
30750
|
+
...latest,
|
|
30751
|
+
activityIds: [...this.#turnActivityIds]
|
|
30752
|
+
};
|
|
30753
|
+
}
|
|
30754
|
+
});
|
|
30719
30755
|
#lastMessageId = null;
|
|
30720
30756
|
#characters = 0;
|
|
30721
30757
|
#truncated = false;
|
|
30722
|
-
record = (update) => {
|
|
30758
|
+
record = async (update) => {
|
|
30759
|
+
if (update.sessionUpdate === "agent_thought_chunk") {
|
|
30760
|
+
if (update.content.type === "text") {
|
|
30761
|
+
await this.#activityTracker.recordNarrative(
|
|
30762
|
+
"reasoning",
|
|
30763
|
+
update.messageId ?? "current",
|
|
30764
|
+
update.content.text
|
|
30765
|
+
);
|
|
30766
|
+
}
|
|
30767
|
+
return;
|
|
30768
|
+
}
|
|
30769
|
+
if (update.sessionUpdate === "tool_call") {
|
|
30770
|
+
await this.#activityTracker.recordToolCall(update);
|
|
30771
|
+
return;
|
|
30772
|
+
}
|
|
30773
|
+
if (update.sessionUpdate === "tool_call_update") {
|
|
30774
|
+
await this.#activityTracker.recordToolCallUpdate(update);
|
|
30775
|
+
return;
|
|
30776
|
+
}
|
|
30777
|
+
if (update.sessionUpdate === "plan") {
|
|
30778
|
+
await this.#activityTracker.recordPlan(update);
|
|
30779
|
+
return;
|
|
30780
|
+
}
|
|
30781
|
+
if (update.sessionUpdate === "plan_update") {
|
|
30782
|
+
await this.#activityTracker.recordPlanUpdate(update);
|
|
30783
|
+
return;
|
|
30784
|
+
}
|
|
30785
|
+
if (update.sessionUpdate === "plan_removed") {
|
|
30786
|
+
await this.#activityTracker.removePlan(update);
|
|
30787
|
+
return;
|
|
30788
|
+
}
|
|
30723
30789
|
if (update.sessionUpdate !== "user_message_chunk" && update.sessionUpdate !== "agent_message_chunk") {
|
|
30724
30790
|
return;
|
|
30725
30791
|
}
|
|
30726
30792
|
if (update.sessionUpdate === "agent_message_chunk" && isProgressMessage(update)) {
|
|
30793
|
+
if (update.content.type === "text") {
|
|
30794
|
+
await this.#activityTracker.recordNarrative(
|
|
30795
|
+
"progress",
|
|
30796
|
+
update.messageId ?? "current",
|
|
30797
|
+
update.content.text
|
|
30798
|
+
);
|
|
30799
|
+
}
|
|
30727
30800
|
return;
|
|
30728
30801
|
}
|
|
30729
30802
|
const role = update.sessionUpdate === "user_message_chunk" ? "user" : "assistant";
|
|
30730
30803
|
const content3 = update.content;
|
|
30804
|
+
if (role === "assistant" && content3.type !== "text") {
|
|
30805
|
+
await this.#activityTracker.finishNarrative();
|
|
30806
|
+
this.recordAssistantContent(update.messageId ?? null, normalizeContentBlock(content3));
|
|
30807
|
+
return;
|
|
30808
|
+
}
|
|
30731
30809
|
const text3 = content3.type === "text" ? content3.text : content3.type === "image" ? content3.data.length > 0 ? `[@image](data:${content3.mimeType};base64,${content3.data})` : content3.uri != null && content3.uri.length > 0 ? `[@image](${content3.uri})` : "[image attachment]" : `[${content3.type} attachment]`;
|
|
30732
30810
|
if (text3.length === 0) {
|
|
30733
30811
|
return;
|
|
@@ -30735,19 +30813,84 @@ var AcpHistoryReplay = class {
|
|
|
30735
30813
|
const previous2 = this.#messages.at(-1);
|
|
30736
30814
|
const id = update.messageId ?? null;
|
|
30737
30815
|
const continuation = previous2?.role === role && id === this.#lastMessageId;
|
|
30816
|
+
if (role === "user" && !continuation) {
|
|
30817
|
+
await this.#activityTracker.finish();
|
|
30818
|
+
this.#turnActivityIds.clear();
|
|
30819
|
+
}
|
|
30738
30820
|
const combined = continuation ? `${previous2.text}${text3}` : text3;
|
|
30739
30821
|
if (continuation) {
|
|
30740
30822
|
this.#messages.pop();
|
|
30741
30823
|
this.#characters -= previous2.text.length;
|
|
30742
30824
|
}
|
|
30743
|
-
const
|
|
30744
|
-
this.#truncated ||=
|
|
30745
|
-
this.#messages.push(
|
|
30746
|
-
role,
|
|
30747
|
-
|
|
30748
|
-
|
|
30749
|
-
|
|
30825
|
+
const bounded2 = combined.slice(-SESSION_HISTORY_CHARACTER_LIMIT);
|
|
30826
|
+
this.#truncated ||= bounded2.length < combined.length;
|
|
30827
|
+
this.#messages.push(
|
|
30828
|
+
role === "user" ? { role, text: bounded2 } : {
|
|
30829
|
+
activityIds: [...this.#turnActivityIds],
|
|
30830
|
+
content: previous2?.role === "assistant" ? previous2.content : [],
|
|
30831
|
+
role,
|
|
30832
|
+
text: bounded2
|
|
30833
|
+
}
|
|
30834
|
+
);
|
|
30835
|
+
this.#characters += bounded2.length;
|
|
30750
30836
|
this.#lastMessageId = id;
|
|
30837
|
+
this.trimMessages();
|
|
30838
|
+
};
|
|
30839
|
+
snapshot = async () => {
|
|
30840
|
+
await this.#activityTracker.finish();
|
|
30841
|
+
return {
|
|
30842
|
+
status: "available",
|
|
30843
|
+
messages: this.#messages.map(
|
|
30844
|
+
(message) => message.role === "user" ? message : {
|
|
30845
|
+
role: "assistant",
|
|
30846
|
+
text: message.text,
|
|
30847
|
+
content: message.content,
|
|
30848
|
+
activities: message.activityIds.flatMap((id) => {
|
|
30849
|
+
const activity2 = this.#activities.get(id);
|
|
30850
|
+
return activity2 === void 0 ? [] : [
|
|
30851
|
+
{
|
|
30852
|
+
activityId: activity2.activityId,
|
|
30853
|
+
activityType: activity2.activityType,
|
|
30854
|
+
content: activity2.content,
|
|
30855
|
+
input: activity2.input,
|
|
30856
|
+
locations: activity2.locations,
|
|
30857
|
+
name: activity2.name,
|
|
30858
|
+
output: activity2.output,
|
|
30859
|
+
sequence: activity2.sequence,
|
|
30860
|
+
status: activity2.status,
|
|
30861
|
+
title: activity2.title,
|
|
30862
|
+
toolKind: activity2.toolKind
|
|
30863
|
+
}
|
|
30864
|
+
];
|
|
30865
|
+
})
|
|
30866
|
+
}
|
|
30867
|
+
),
|
|
30868
|
+
truncated: this.#truncated,
|
|
30869
|
+
coveredCommandIds: [],
|
|
30870
|
+
coveredMessageIds: []
|
|
30871
|
+
};
|
|
30872
|
+
};
|
|
30873
|
+
recordAssistantContent = (messageId, content3) => {
|
|
30874
|
+
const previous2 = this.#messages.at(-1);
|
|
30875
|
+
const continuation = previous2?.role === "assistant" && messageId === this.#lastMessageId;
|
|
30876
|
+
if (continuation) {
|
|
30877
|
+
this.#messages[this.#messages.length - 1] = {
|
|
30878
|
+
...previous2,
|
|
30879
|
+
activityIds: [...this.#turnActivityIds],
|
|
30880
|
+
content: [...previous2.content, content3]
|
|
30881
|
+
};
|
|
30882
|
+
} else {
|
|
30883
|
+
this.#messages.push({
|
|
30884
|
+
activityIds: [...this.#turnActivityIds],
|
|
30885
|
+
content: [content3],
|
|
30886
|
+
role: "assistant",
|
|
30887
|
+
text: ""
|
|
30888
|
+
});
|
|
30889
|
+
}
|
|
30890
|
+
this.#lastMessageId = messageId;
|
|
30891
|
+
this.trimMessages();
|
|
30892
|
+
};
|
|
30893
|
+
trimMessages = () => {
|
|
30751
30894
|
while (this.#messages.length > SESSION_HISTORY_PREVIEW_MESSAGE_LIMIT || this.#characters > SESSION_HISTORY_CHARACTER_LIMIT) {
|
|
30752
30895
|
const removed = this.#messages.shift();
|
|
30753
30896
|
if (removed !== void 0) {
|
|
@@ -30756,13 +30899,6 @@ var AcpHistoryReplay = class {
|
|
|
30756
30899
|
this.#truncated = true;
|
|
30757
30900
|
}
|
|
30758
30901
|
};
|
|
30759
|
-
snapshot = () => ({
|
|
30760
|
-
status: "available",
|
|
30761
|
-
messages: [...this.#messages],
|
|
30762
|
-
truncated: this.#truncated,
|
|
30763
|
-
coveredCommandIds: [],
|
|
30764
|
-
coveredMessageIds: []
|
|
30765
|
-
});
|
|
30766
30902
|
};
|
|
30767
30903
|
|
|
30768
30904
|
// src/acp/session-store.ts
|
|
@@ -31273,13 +31409,13 @@ function normalizeElicitationFields(requestedSchema) {
|
|
|
31273
31409
|
if (!isRecord5(requestedSchema) || !isRecord5(requestedSchema["properties"])) {
|
|
31274
31410
|
return [];
|
|
31275
31411
|
}
|
|
31276
|
-
const
|
|
31412
|
+
const properties = requestedSchema["properties"];
|
|
31277
31413
|
const requiredValues = requestedSchema["required"];
|
|
31278
31414
|
const required2 = new Set(
|
|
31279
31415
|
Array.isArray(requiredValues) ? requiredValues.filter((entry) => typeof entry === "string") : []
|
|
31280
31416
|
);
|
|
31281
31417
|
const normalized = [];
|
|
31282
|
-
for (const [name, property] of Object.entries(
|
|
31418
|
+
for (const [name, property] of Object.entries(properties)) {
|
|
31283
31419
|
if (!isRecord5(property)) {
|
|
31284
31420
|
continue;
|
|
31285
31421
|
}
|
|
@@ -31378,7 +31514,7 @@ function validateElicitationContent(encoded, requestedSchema) {
|
|
|
31378
31514
|
"invalid_elicitation_response"
|
|
31379
31515
|
);
|
|
31380
31516
|
}
|
|
31381
|
-
const
|
|
31517
|
+
const properties = requestedSchema["properties"];
|
|
31382
31518
|
const requiredValue = requestedSchema["required"];
|
|
31383
31519
|
const required2 = new Set(
|
|
31384
31520
|
Array.isArray(requiredValue) ? requiredValue.filter((entry) => typeof entry === "string") : []
|
|
@@ -31390,7 +31526,7 @@ function validateElicitationContent(encoded, requestedSchema) {
|
|
|
31390
31526
|
}
|
|
31391
31527
|
const validated = {};
|
|
31392
31528
|
for (const [name, value] of Object.entries(decoded)) {
|
|
31393
|
-
const property =
|
|
31529
|
+
const property = properties[name];
|
|
31394
31530
|
if (!isRecord5(property)) {
|
|
31395
31531
|
throw new AcpExecutionError(
|
|
31396
31532
|
`Elicitation field ${name} was not requested`,
|
|
@@ -31688,7 +31824,13 @@ var AcpProcessSession = class _AcpProcessSession {
|
|
|
31688
31824
|
);
|
|
31689
31825
|
loadHistory = async (signal) => {
|
|
31690
31826
|
if (!this.#capabilities.loadSession) {
|
|
31691
|
-
return {
|
|
31827
|
+
return {
|
|
31828
|
+
status: "unavailable",
|
|
31829
|
+
cause: {
|
|
31830
|
+
code: "native_history_unsupported",
|
|
31831
|
+
message: "This Agent restores context but does not provide message history."
|
|
31832
|
+
}
|
|
31833
|
+
};
|
|
31692
31834
|
}
|
|
31693
31835
|
const history = new AcpHistoryReplay();
|
|
31694
31836
|
this.#replay = { kind: "capture", history };
|
|
@@ -31709,7 +31851,7 @@ var AcpProcessSession = class _AcpProcessSession {
|
|
|
31709
31851
|
);
|
|
31710
31852
|
await this.#updateTail;
|
|
31711
31853
|
signal.throwIfAborted();
|
|
31712
|
-
return await embedLocalHistoryImages(history.snapshot(), signal);
|
|
31854
|
+
return await embedLocalHistoryImages(await history.snapshot(), signal);
|
|
31713
31855
|
} finally {
|
|
31714
31856
|
this.#replay = { kind: "idle" };
|
|
31715
31857
|
}
|
|
@@ -32553,7 +32695,7 @@ var AcpProcessSession = class _AcpProcessSession {
|
|
|
32553
32695
|
this.assertNativeSession(notification.sessionId);
|
|
32554
32696
|
const update = notification.update;
|
|
32555
32697
|
if (this.#replay.kind === "capture") {
|
|
32556
|
-
this.#replay.history.record(update);
|
|
32698
|
+
await this.#replay.history.record(update);
|
|
32557
32699
|
}
|
|
32558
32700
|
if (this.#replay.kind !== "idle" && (update.sessionUpdate === "user_message_chunk" || update.sessionUpdate === "agent_message_chunk" || update.sessionUpdate === "agent_thought_chunk" || update.sessionUpdate === "tool_call" || update.sessionUpdate === "tool_call_update" || update.sessionUpdate === "plan" || update.sessionUpdate === "plan_update" || update.sessionUpdate === "plan_removed")) {
|
|
32559
32701
|
return;
|
|
@@ -32844,10 +32986,12 @@ var AcpSessionManager = class {
|
|
|
32844
32986
|
#startingProcessCount = 0;
|
|
32845
32987
|
#transientProcessCount = 0;
|
|
32846
32988
|
#store;
|
|
32989
|
+
#nativeHistoryReader;
|
|
32847
32990
|
#observer;
|
|
32848
|
-
constructor(observer = new NullAcpSessionObserver(), store = new MemoryAcpSessionStore()) {
|
|
32991
|
+
constructor(observer = new NullAcpSessionObserver(), store = new MemoryAcpSessionStore(), nativeHistoryReader = null) {
|
|
32849
32992
|
this.#observer = observer;
|
|
32850
32993
|
this.#store = store;
|
|
32994
|
+
this.#nativeHistoryReader = nativeHistoryReader;
|
|
32851
32995
|
}
|
|
32852
32996
|
setObserver = (observer) => {
|
|
32853
32997
|
this.#observer = observer;
|
|
@@ -33609,7 +33753,15 @@ var AcpSessionManager = class {
|
|
|
33609
33753
|
loadSessionHistory = async (options) => {
|
|
33610
33754
|
this.#beginSessionUse(options.sessionId);
|
|
33611
33755
|
try {
|
|
33612
|
-
|
|
33756
|
+
const runtime = await this.ensureSession(options);
|
|
33757
|
+
const stored = this.#store.read(options.sessionId);
|
|
33758
|
+
if (stored instanceof FoundAcpStoredSession && this.#nativeHistoryReader !== null) {
|
|
33759
|
+
const history = await this.#nativeHistoryReader.read(options, stored.session.nativeSessionId);
|
|
33760
|
+
if (history !== null) {
|
|
33761
|
+
return history;
|
|
33762
|
+
}
|
|
33763
|
+
}
|
|
33764
|
+
return await runtime.loadHistory(options.signal);
|
|
33613
33765
|
} finally {
|
|
33614
33766
|
this.#endSessionUse(options.sessionId);
|
|
33615
33767
|
}
|
|
@@ -34857,6 +35009,47 @@ var HermesAgentSpecification = class extends DirectAcpAgentDefinition {
|
|
|
34857
35009
|
};
|
|
34858
35010
|
};
|
|
34859
35011
|
|
|
35012
|
+
// src/agent-catalog/agents/oh-my-pi-agent.ts
|
|
35013
|
+
import {
|
|
35014
|
+
methods as methods5
|
|
35015
|
+
} from "@agentclientprotocol/sdk";
|
|
35016
|
+
var ACP_PROBE_TIMEOUT_MILLISECONDS2 = 3e4;
|
|
35017
|
+
var OH_MY_PI_TESTED_VERSION = "18.2.7";
|
|
35018
|
+
var OhMyPiAgentSpecification = class extends DirectAcpAgentDefinition {
|
|
35019
|
+
acpProbeTimeoutMilliseconds = ACP_PROBE_TIMEOUT_MILLISECONDS2;
|
|
35020
|
+
adapterVersion = OH_MY_PI_TESTED_VERSION;
|
|
35021
|
+
authenticationCommand = () => "omp";
|
|
35022
|
+
agentExecutable = "omp";
|
|
35023
|
+
agentOverrideVariable = "MOBIUS_OH_MY_PI_PATH";
|
|
35024
|
+
id = "oh-my-pi";
|
|
35025
|
+
label = "Oh My Pi";
|
|
35026
|
+
constructor() {
|
|
35027
|
+
super("MOBIUS_OH_MY_PI_PATH", ["acp"], ["agents", "oh-my-pi", OH_MY_PI_TESTED_VERSION, "bin", "omp"]);
|
|
35028
|
+
}
|
|
35029
|
+
verifyAcp = async (connection, initialized, defaultWorkspace, signal) => {
|
|
35030
|
+
const capabilities = initialized.agentCapabilities ?? {};
|
|
35031
|
+
if (capabilities.loadSession !== true) {
|
|
35032
|
+
throw new AgentProbeError("acp_incompatible", "Oh My Pi does not support ACP session recovery");
|
|
35033
|
+
}
|
|
35034
|
+
const session = await connection.agent.request(
|
|
35035
|
+
methods5.agent.session.new,
|
|
35036
|
+
{ additionalDirectories: [], cwd: defaultWorkspace, mcpServers: [] },
|
|
35037
|
+
{ cancellationSignal: signal }
|
|
35038
|
+
);
|
|
35039
|
+
if (session.sessionId.length === 0) {
|
|
35040
|
+
throw new AgentProbeError("acp_incompatible", "Oh My Pi returned an invalid ACP session");
|
|
35041
|
+
}
|
|
35042
|
+
const prompt = await connection.agent.request(
|
|
35043
|
+
methods5.agent.session.prompt,
|
|
35044
|
+
{ prompt: [{ text: "/session", type: "text" }], sessionId: session.sessionId },
|
|
35045
|
+
{ cancellationSignal: signal }
|
|
35046
|
+
);
|
|
35047
|
+
if (prompt.stopReason !== "end_turn") {
|
|
35048
|
+
throw new AgentProbeError("acp_incompatible", "Oh My Pi did not complete its ACP conformance prompt");
|
|
35049
|
+
}
|
|
35050
|
+
};
|
|
35051
|
+
};
|
|
35052
|
+
|
|
34860
35053
|
// src/agent-catalog/agents/opencode-agent.ts
|
|
34861
35054
|
import { join as join10 } from "node:path";
|
|
34862
35055
|
|
|
@@ -35172,7 +35365,7 @@ var OpenCodeAgentSpecification = class extends DirectAcpAgentDefinition {
|
|
|
35172
35365
|
// src/agent-catalog/agents/pi-agent.ts
|
|
35173
35366
|
import { join as join11 } from "node:path";
|
|
35174
35367
|
import {
|
|
35175
|
-
methods as
|
|
35368
|
+
methods as methods6
|
|
35176
35369
|
} from "@agentclientprotocol/sdk";
|
|
35177
35370
|
|
|
35178
35371
|
// src/agent-installation/pi-managed-packages.ts
|
|
@@ -35192,9 +35385,9 @@ var PI_AGENT_PACKAGE = new SriManagedNpmPackageDefinition(
|
|
|
35192
35385
|
);
|
|
35193
35386
|
|
|
35194
35387
|
// src/agent-catalog/agents/pi-agent.ts
|
|
35195
|
-
var
|
|
35388
|
+
var ACP_PROBE_TIMEOUT_MILLISECONDS3 = 3e4;
|
|
35196
35389
|
var PiAgentSpecification = class extends BridgedAcpAgentDefinition {
|
|
35197
|
-
acpProbeTimeoutMilliseconds =
|
|
35390
|
+
acpProbeTimeoutMilliseconds = ACP_PROBE_TIMEOUT_MILLISECONDS3;
|
|
35198
35391
|
adapterEnvironmentVariable = "PI_ACP_PI_COMMAND";
|
|
35199
35392
|
adapterOverrideVariable = "MOBIUS_PI_ACP_PATH";
|
|
35200
35393
|
adapterPackageDefinition = PI_ACP_PACKAGE;
|
|
@@ -35239,7 +35432,7 @@ var PiAgentSpecification = class extends BridgedAcpAgentDefinition {
|
|
|
35239
35432
|
throw new AgentProbeError("acp_incompatible", "Pi ACP adapter does not support session recovery");
|
|
35240
35433
|
}
|
|
35241
35434
|
const session = await connection.agent.request(
|
|
35242
|
-
|
|
35435
|
+
methods6.agent.session.new,
|
|
35243
35436
|
{
|
|
35244
35437
|
additionalDirectories: [],
|
|
35245
35438
|
cwd: defaultWorkspace,
|
|
@@ -35251,7 +35444,7 @@ var PiAgentSpecification = class extends BridgedAcpAgentDefinition {
|
|
|
35251
35444
|
throw new AgentProbeError("acp_incompatible", "Pi ACP adapter returned an invalid session");
|
|
35252
35445
|
}
|
|
35253
35446
|
const prompt = await connection.agent.request(
|
|
35254
|
-
|
|
35447
|
+
methods6.agent.session.prompt,
|
|
35255
35448
|
{
|
|
35256
35449
|
prompt: [{ text: "/session", type: "text" }],
|
|
35257
35450
|
sessionId: session.sessionId
|
|
@@ -35363,6 +35556,7 @@ function supportedLocalAgentSpecifications() {
|
|
|
35363
35556
|
new DeepSeekHarnessAgentSpecification(),
|
|
35364
35557
|
new HermesAgentSpecification(),
|
|
35365
35558
|
new OpenCodeAgentSpecification(),
|
|
35559
|
+
new OhMyPiAgentSpecification(),
|
|
35366
35560
|
new CursorCliAgentSpecification(),
|
|
35367
35561
|
new GrokBuildAgentSpecification(),
|
|
35368
35562
|
new WorkBuddyAgentSpecification(),
|
|
@@ -35373,7 +35567,7 @@ function supportedLocalAgentSpecifications() {
|
|
|
35373
35567
|
// src/agent-catalog/acp-readiness-probe.ts
|
|
35374
35568
|
import { spawn as spawn3 } from "node:child_process";
|
|
35375
35569
|
import {
|
|
35376
|
-
methods as
|
|
35570
|
+
methods as methods7,
|
|
35377
35571
|
ndJsonStream as ndJsonStream2,
|
|
35378
35572
|
PROTOCOL_VERSION as PROTOCOL_VERSION2,
|
|
35379
35573
|
RequestError as RequestError3
|
|
@@ -35497,7 +35691,7 @@ async function probeAcpReadiness(specification, agent, environment, defaultWorks
|
|
|
35497
35691
|
try {
|
|
35498
35692
|
const initialized = await Promise.race([
|
|
35499
35693
|
connection.agent.request(
|
|
35500
|
-
|
|
35694
|
+
methods7.agent.initialize,
|
|
35501
35695
|
{
|
|
35502
35696
|
clientCapabilities: {},
|
|
35503
35697
|
clientInfo: { name: "mobius", version: "0.0.3" },
|
|
@@ -37832,10 +38026,6 @@ var WorkspaceDirectoryService = class {
|
|
|
37832
38026
|
};
|
|
37833
38027
|
};
|
|
37834
38028
|
|
|
37835
|
-
// src/native-sessions/service.ts
|
|
37836
|
-
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
37837
|
-
import { basename as basename6 } from "node:path";
|
|
37838
|
-
|
|
37839
38029
|
// src/native-sessions/codex-history.ts
|
|
37840
38030
|
import { spawn as spawn4 } from "node:child_process";
|
|
37841
38031
|
var responseSchema = external_exports.union([
|
|
@@ -37853,7 +38043,12 @@ var threadSchema = external_exports.object({
|
|
|
37853
38043
|
})
|
|
37854
38044
|
});
|
|
37855
38045
|
var turnsSchema = external_exports.object({
|
|
37856
|
-
data: external_exports.array(
|
|
38046
|
+
data: external_exports.array(
|
|
38047
|
+
external_exports.object({
|
|
38048
|
+
error: external_exports.unknown().nullish(),
|
|
38049
|
+
items: external_exports.array(external_exports.unknown()).max(1e5)
|
|
38050
|
+
})
|
|
38051
|
+
).max(SESSION_HISTORY_PREVIEW_MESSAGE_LIMIT),
|
|
37857
38052
|
nextCursor: external_exports.string().nullish()
|
|
37858
38053
|
});
|
|
37859
38054
|
var itemTypeSchema = external_exports.object({ type: external_exports.string().min(1).max(80) });
|
|
@@ -37863,12 +38058,62 @@ var userMessageSchema = external_exports.object({
|
|
|
37863
38058
|
var textSchema = external_exports.object({ text: external_exports.string() });
|
|
37864
38059
|
var imageSchema = external_exports.object({ url: external_exports.string() });
|
|
37865
38060
|
var agentMessageSchema = textSchema.extend({ phase: external_exports.string().nullish() });
|
|
37866
|
-
|
|
38061
|
+
var reasoningSchema = external_exports.object({
|
|
38062
|
+
id: external_exports.string(),
|
|
38063
|
+
summary: external_exports.array(external_exports.string()).max(1e4),
|
|
38064
|
+
content: external_exports.array(external_exports.string()).max(1e4)
|
|
38065
|
+
});
|
|
38066
|
+
var commandExecutionSchema = external_exports.object({
|
|
38067
|
+
id: external_exports.string(),
|
|
38068
|
+
command: external_exports.string(),
|
|
38069
|
+
cwd: external_exports.string(),
|
|
38070
|
+
status: external_exports.string(),
|
|
38071
|
+
commandActions: external_exports.array(external_exports.object({ type: external_exports.string() }).passthrough()).max(100),
|
|
38072
|
+
aggregatedOutput: external_exports.string().nullish(),
|
|
38073
|
+
exitCode: external_exports.number().int().nullish()
|
|
38074
|
+
});
|
|
38075
|
+
function bounded(value, maximum) {
|
|
38076
|
+
return value.slice(0, maximum);
|
|
38077
|
+
}
|
|
38078
|
+
function activity(activityId, activityType, sequence, fields) {
|
|
38079
|
+
return {
|
|
38080
|
+
activityId: bounded(activityId, 128) || `history-${sequence.toString()}`,
|
|
38081
|
+
activityType,
|
|
38082
|
+
content: [],
|
|
38083
|
+
input: bounded(fields.input, 1e5),
|
|
38084
|
+
locations: fields.locations.filter((location) => location.length > 0).map((location) => bounded(location, 2048)).slice(0, 100),
|
|
38085
|
+
name: bounded(fields.name, 128),
|
|
38086
|
+
output: bounded(fields.output, 1e5),
|
|
38087
|
+
sequence,
|
|
38088
|
+
status: bounded(fields.status, 64),
|
|
38089
|
+
title: bounded(fields.title, 500),
|
|
38090
|
+
toolKind: bounded(fields.toolKind, 64)
|
|
38091
|
+
};
|
|
38092
|
+
}
|
|
38093
|
+
function errorMessage(value) {
|
|
38094
|
+
if (typeof value === "string") {
|
|
38095
|
+
return value;
|
|
38096
|
+
}
|
|
38097
|
+
if (typeof value === "object" && value !== null) {
|
|
38098
|
+
const message = Reflect.get(value, "message");
|
|
38099
|
+
if (typeof message === "string") {
|
|
38100
|
+
return message;
|
|
38101
|
+
}
|
|
38102
|
+
}
|
|
38103
|
+
return JSON.stringify(value) ?? "Codex stopped before completing this turn.";
|
|
38104
|
+
}
|
|
38105
|
+
function messageSize(message) {
|
|
38106
|
+
return message.text.length + (message.role === "assistant" ? JSON.stringify(message.activities).length + JSON.stringify(message.content).length : 0);
|
|
38107
|
+
}
|
|
38108
|
+
function decodeHistory(thread, value, options) {
|
|
37867
38109
|
const page = turnsSchema.parse(value);
|
|
37868
38110
|
const messages = [];
|
|
37869
38111
|
let characters = 0;
|
|
37870
38112
|
let truncated = page.nextCursor != null;
|
|
37871
38113
|
for (const turn of page.data.toReversed()) {
|
|
38114
|
+
const activities = [];
|
|
38115
|
+
let sequence = 0;
|
|
38116
|
+
let assistantMessageIndex = null;
|
|
37872
38117
|
for (const item of turn.items) {
|
|
37873
38118
|
const { type } = itemTypeSchema.parse(item);
|
|
37874
38119
|
let message;
|
|
@@ -37891,9 +38136,60 @@ function decodeHistory(thread, value) {
|
|
|
37891
38136
|
} else if (type === "agentMessage") {
|
|
37892
38137
|
const agent = agentMessageSchema.parse(item);
|
|
37893
38138
|
if (agent.phase === "commentary") {
|
|
38139
|
+
if (options.detail === "rich" && agent.text.length > 0) {
|
|
38140
|
+
activities.push(
|
|
38141
|
+
activity(`progress-${sequence.toString()}`, "progress", sequence, {
|
|
38142
|
+
input: "",
|
|
38143
|
+
locations: [],
|
|
38144
|
+
name: "",
|
|
38145
|
+
output: agent.text,
|
|
38146
|
+
status: "completed",
|
|
38147
|
+
title: "Progress",
|
|
38148
|
+
toolKind: ""
|
|
38149
|
+
})
|
|
38150
|
+
);
|
|
38151
|
+
sequence += 1;
|
|
38152
|
+
}
|
|
37894
38153
|
continue;
|
|
37895
38154
|
}
|
|
37896
|
-
message = { role: "assistant", text: agent.text };
|
|
38155
|
+
message = { activities: activities.slice(-100), content: [], role: "assistant", text: agent.text };
|
|
38156
|
+
} else if (type === "reasoning" && options.detail === "rich") {
|
|
38157
|
+
const reasoning = reasoningSchema.parse(item);
|
|
38158
|
+
const output2 = (reasoning.summary.length > 0 ? reasoning.summary : reasoning.content).join("\n\n");
|
|
38159
|
+
if (output2.length > 0) {
|
|
38160
|
+
activities.push(
|
|
38161
|
+
activity(reasoning.id, "reasoning", sequence, {
|
|
38162
|
+
input: "",
|
|
38163
|
+
locations: [],
|
|
38164
|
+
name: "",
|
|
38165
|
+
output: output2,
|
|
38166
|
+
status: "completed",
|
|
38167
|
+
title: "Reasoning",
|
|
38168
|
+
toolKind: ""
|
|
38169
|
+
})
|
|
38170
|
+
);
|
|
38171
|
+
sequence += 1;
|
|
38172
|
+
}
|
|
38173
|
+
continue;
|
|
38174
|
+
} else if (type === "commandExecution" && options.detail === "rich") {
|
|
38175
|
+
const command = commandExecutionSchema.parse(item);
|
|
38176
|
+
const action = command.commandActions[0]?.type ?? "execute";
|
|
38177
|
+
activities.push(
|
|
38178
|
+
activity(command.id, "tool", sequence, {
|
|
38179
|
+
input: JSON.stringify({ command: command.command, cwd: command.cwd }),
|
|
38180
|
+
locations: [command.cwd],
|
|
38181
|
+
name: "",
|
|
38182
|
+
output: JSON.stringify({
|
|
38183
|
+
formatted_output: command.aggregatedOutput ?? "",
|
|
38184
|
+
...command.exitCode == null ? {} : { exit_code: command.exitCode }
|
|
38185
|
+
}),
|
|
38186
|
+
status: command.status === "completed" ? "completed" : "failed",
|
|
38187
|
+
title: command.command,
|
|
38188
|
+
toolKind: action
|
|
38189
|
+
})
|
|
38190
|
+
);
|
|
38191
|
+
sequence += 1;
|
|
38192
|
+
continue;
|
|
37897
38193
|
} else {
|
|
37898
38194
|
continue;
|
|
37899
38195
|
}
|
|
@@ -37903,14 +38199,48 @@ function decodeHistory(thread, value) {
|
|
|
37903
38199
|
}
|
|
37904
38200
|
truncated ||= text3.length < message.text.length;
|
|
37905
38201
|
messages.push({ ...message, text: text3 });
|
|
37906
|
-
|
|
37907
|
-
|
|
37908
|
-
|
|
37909
|
-
|
|
37910
|
-
|
|
37911
|
-
|
|
37912
|
-
|
|
38202
|
+
if (message.role === "assistant") {
|
|
38203
|
+
assistantMessageIndex = messages.length - 1;
|
|
38204
|
+
}
|
|
38205
|
+
characters += messageSize({ ...message, text: text3 });
|
|
38206
|
+
}
|
|
38207
|
+
if (options.detail === "rich" && turn.error != null) {
|
|
38208
|
+
activities.push(
|
|
38209
|
+
activity(`agent-error-${sequence.toString()}`, "tool", sequence, {
|
|
38210
|
+
input: "",
|
|
38211
|
+
locations: [],
|
|
38212
|
+
name: "",
|
|
38213
|
+
output: errorMessage(turn.error),
|
|
38214
|
+
status: "failed",
|
|
38215
|
+
title: "Agent error",
|
|
38216
|
+
toolKind: "other"
|
|
38217
|
+
})
|
|
38218
|
+
);
|
|
38219
|
+
}
|
|
38220
|
+
if (assistantMessageIndex !== null) {
|
|
38221
|
+
const assistant = messages[assistantMessageIndex];
|
|
38222
|
+
if (assistant?.role === "assistant") {
|
|
38223
|
+
characters -= messageSize(assistant);
|
|
38224
|
+
const updated = { ...assistant, activities: activities.slice(-100) };
|
|
38225
|
+
messages[assistantMessageIndex] = updated;
|
|
38226
|
+
characters += messageSize(updated);
|
|
38227
|
+
}
|
|
38228
|
+
} else if (activities.length > 0) {
|
|
38229
|
+
const message = {
|
|
38230
|
+
activities: activities.slice(-100),
|
|
38231
|
+
content: [],
|
|
38232
|
+
role: "assistant",
|
|
38233
|
+
text: ""
|
|
38234
|
+
};
|
|
38235
|
+
messages.push(message);
|
|
38236
|
+
characters += messageSize(message);
|
|
38237
|
+
}
|
|
38238
|
+
while (messages.length > SESSION_HISTORY_PREVIEW_MESSAGE_LIMIT || characters > SESSION_HISTORY_CHARACTER_LIMIT) {
|
|
38239
|
+
const removed = messages.shift();
|
|
38240
|
+
if (removed !== void 0) {
|
|
38241
|
+
characters -= messageSize(removed);
|
|
37913
38242
|
}
|
|
38243
|
+
truncated = true;
|
|
37914
38244
|
}
|
|
37915
38245
|
}
|
|
37916
38246
|
return {
|
|
@@ -37925,7 +38255,7 @@ function decodeHistory(thread, value) {
|
|
|
37925
38255
|
}
|
|
37926
38256
|
};
|
|
37927
38257
|
}
|
|
37928
|
-
async function
|
|
38258
|
+
async function readCodexHistoryWithOptions(agent, cwd, nativeSessionId, signal, options) {
|
|
37929
38259
|
signal.throwIfAborted();
|
|
37930
38260
|
nativeSessionIdSchema.parse(nativeSessionId);
|
|
37931
38261
|
if (agent.id !== "codex" || !await revalidateExecutable(agent.agentIdentity)) {
|
|
@@ -38019,13 +38349,13 @@ async function readCodexHistory(agent, cwd, nativeSessionId, signal) {
|
|
|
38019
38349
|
threadId: nativeSessionId,
|
|
38020
38350
|
limit: SESSION_HISTORY_PREVIEW_MESSAGE_LIMIT,
|
|
38021
38351
|
sortDirection: "desc",
|
|
38022
|
-
itemsView: "summary"
|
|
38352
|
+
itemsView: options.detail === "rich" ? "full" : "summary"
|
|
38023
38353
|
}
|
|
38024
38354
|
});
|
|
38025
38355
|
break;
|
|
38026
38356
|
}
|
|
38027
38357
|
case "turns":
|
|
38028
|
-
response.resolve(decodeHistory(state.thread, message.result));
|
|
38358
|
+
response.resolve(decodeHistory(state.thread, message.result, options));
|
|
38029
38359
|
return;
|
|
38030
38360
|
default: {
|
|
38031
38361
|
const unhandled = state;
|
|
@@ -38082,8 +38412,12 @@ async function readCodexHistory(agent, cwd, nativeSessionId, signal) {
|
|
|
38082
38412
|
child.removeListener("exit", onExit);
|
|
38083
38413
|
}
|
|
38084
38414
|
}
|
|
38415
|
+
var readCodexHistory = async (agent, cwd, nativeSessionId, signal) => await readCodexHistoryWithOptions(agent, cwd, nativeSessionId, signal, { detail: "messages" });
|
|
38416
|
+
var readCodexFullHistory = async (agent, cwd, nativeSessionId, signal) => await readCodexHistoryWithOptions(agent, cwd, nativeSessionId, signal, { detail: "rich" });
|
|
38085
38417
|
|
|
38086
38418
|
// src/native-sessions/service.ts
|
|
38419
|
+
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
38420
|
+
import { basename as basename6 } from "node:path";
|
|
38087
38421
|
var NativeSessionService = class {
|
|
38088
38422
|
#entries = /* @__PURE__ */ new Map();
|
|
38089
38423
|
#cursors = /* @__PURE__ */ new Map();
|
|
@@ -40186,28 +40520,28 @@ var CoalescingDaemonActivityPublisher = class {
|
|
|
40186
40520
|
}
|
|
40187
40521
|
this.#pending.clear();
|
|
40188
40522
|
this.#scheduled.clear();
|
|
40189
|
-
for (const
|
|
40190
|
-
this.#publish(
|
|
40523
|
+
for (const activity2 of activities) {
|
|
40524
|
+
this.#publish(activity2);
|
|
40191
40525
|
}
|
|
40192
40526
|
};
|
|
40193
|
-
record = (
|
|
40194
|
-
if (
|
|
40195
|
-
this.#discardPending(
|
|
40196
|
-
this.#publishedActivityIds.add(
|
|
40197
|
-
this.#publish(
|
|
40527
|
+
record = (activity2) => {
|
|
40528
|
+
if (activity2.status !== "pending" && activity2.status !== "running") {
|
|
40529
|
+
this.#discardPending(activity2.activityId);
|
|
40530
|
+
this.#publishedActivityIds.add(activity2.activityId);
|
|
40531
|
+
this.#publish(activity2);
|
|
40198
40532
|
return Promise.resolve();
|
|
40199
40533
|
}
|
|
40200
|
-
if (!this.#publishedActivityIds.has(
|
|
40201
|
-
this.#publishedActivityIds.add(
|
|
40202
|
-
this.#publish(
|
|
40534
|
+
if (!this.#publishedActivityIds.has(activity2.activityId)) {
|
|
40535
|
+
this.#publishedActivityIds.add(activity2.activityId);
|
|
40536
|
+
this.#publish(activity2);
|
|
40203
40537
|
return Promise.resolve();
|
|
40204
40538
|
}
|
|
40205
|
-
this.#pending.set(
|
|
40206
|
-
if (!this.#scheduled.has(
|
|
40539
|
+
this.#pending.set(activity2.activityId, activity2);
|
|
40540
|
+
if (!this.#scheduled.has(activity2.activityId)) {
|
|
40207
40541
|
this.#scheduled.set(
|
|
40208
|
-
|
|
40542
|
+
activity2.activityId,
|
|
40209
40543
|
this.#timer.schedule(
|
|
40210
|
-
() => this.#flushActivity(
|
|
40544
|
+
() => this.#flushActivity(activity2.activityId),
|
|
40211
40545
|
AGENT_ACTIVITY_COALESCING_MILLISECONDS
|
|
40212
40546
|
)
|
|
40213
40547
|
);
|
|
@@ -40220,30 +40554,30 @@ var CoalescingDaemonActivityPublisher = class {
|
|
|
40220
40554
|
this.#pending.delete(activityId);
|
|
40221
40555
|
};
|
|
40222
40556
|
#flushActivity = (activityId) => {
|
|
40223
|
-
const
|
|
40557
|
+
const activity2 = this.#pending.get(activityId);
|
|
40224
40558
|
this.#discardPending(activityId);
|
|
40225
|
-
if (
|
|
40226
|
-
this.#publish(
|
|
40559
|
+
if (activity2 !== void 0) {
|
|
40560
|
+
this.#publish(activity2);
|
|
40227
40561
|
}
|
|
40228
40562
|
};
|
|
40229
40563
|
};
|
|
40230
|
-
function daemonActivity(command,
|
|
40564
|
+
function daemonActivity(command, activity2) {
|
|
40231
40565
|
return {
|
|
40232
|
-
activityId:
|
|
40233
|
-
activityType:
|
|
40566
|
+
activityId: activity2.activityId,
|
|
40567
|
+
activityType: activity2.activityType,
|
|
40234
40568
|
commandId: command.commandId,
|
|
40235
|
-
content:
|
|
40236
|
-
detail:
|
|
40237
|
-
input:
|
|
40569
|
+
content: activity2.content,
|
|
40570
|
+
detail: activity2.detail,
|
|
40571
|
+
input: activity2.input,
|
|
40238
40572
|
kind: AGENT_ACTIVITY_KIND,
|
|
40239
|
-
locations:
|
|
40240
|
-
name:
|
|
40241
|
-
output:
|
|
40242
|
-
sequence:
|
|
40573
|
+
locations: activity2.locations,
|
|
40574
|
+
name: activity2.name,
|
|
40575
|
+
output: activity2.output,
|
|
40576
|
+
sequence: activity2.sequence,
|
|
40243
40577
|
sessionId: command.sessionId,
|
|
40244
|
-
status:
|
|
40245
|
-
title:
|
|
40246
|
-
toolKind:
|
|
40578
|
+
status: activity2.status,
|
|
40579
|
+
title: activity2.title,
|
|
40580
|
+
toolKind: activity2.toolKind
|
|
40247
40581
|
};
|
|
40248
40582
|
}
|
|
40249
40583
|
function reportFailure(publisher, command, code, message, attemptId) {
|
|
@@ -40742,7 +41076,10 @@ async function executeSessionLiveHistoryLoad(socket, command, config2, directori
|
|
|
40742
41076
|
sessionId: command.sessionId
|
|
40743
41077
|
});
|
|
40744
41078
|
send(socket, {
|
|
40745
|
-
history: {
|
|
41079
|
+
history: {
|
|
41080
|
+
status: "unavailable",
|
|
41081
|
+
cause: { code: operationErrorCode(error62), message: operationErrorMessage(error62) }
|
|
41082
|
+
},
|
|
40746
41083
|
kind: "session.live-history.loaded",
|
|
40747
41084
|
requestId: command.requestId,
|
|
40748
41085
|
sessionId: command.sessionId
|
|
@@ -40789,8 +41126,8 @@ async function executeSessionConfigure(publisher, socket, command, config2, dire
|
|
|
40789
41126
|
}
|
|
40790
41127
|
}
|
|
40791
41128
|
async function executePrompt(outbox, publisher, command, config2, directories, audit, sessions, attemptId, activateAttempt, timer, signal) {
|
|
40792
|
-
const activities = new CoalescingDaemonActivityPublisher(timer, (
|
|
40793
|
-
publisher.recordAttempt(command.sessionId, daemonActivity(command,
|
|
41129
|
+
const activities = new CoalescingDaemonActivityPublisher(timer, (activity2) => {
|
|
41130
|
+
publisher.recordAttempt(command.sessionId, daemonActivity(command, activity2), attemptId);
|
|
40794
41131
|
});
|
|
40795
41132
|
const text3 = new CoalescingTextPublisher(
|
|
40796
41133
|
timer,
|
|
@@ -42187,7 +42524,9 @@ async function runDaemon(config2, audit, signal, timer = systemDaemonTimer, opti
|
|
|
42187
42524
|
}
|
|
42188
42525
|
publisher.recordAttempt(sessionId, event, attemptId);
|
|
42189
42526
|
};
|
|
42190
|
-
const sessions = new AcpSessionManager(new DaemonAcpObserver(recordSessionEvent), sessionStore
|
|
42527
|
+
const sessions = new AcpSessionManager(new DaemonAcpObserver(recordSessionEvent), sessionStore, {
|
|
42528
|
+
read: async (options2, nativeSessionId) => options2.agent.id === "codex" ? (await readCodexFullHistory(options2.agent, options2.cwd, nativeSessionId, options2.signal)).history : null
|
|
42529
|
+
});
|
|
42191
42530
|
const directories = new WorkspaceDirectoryService(config2.bindingId, config2.defaultWorkspace);
|
|
42192
42531
|
const installationObserver = new DaemonInstallationObserver();
|
|
42193
42532
|
const diagnostics = new RelayConnectionDiagnostics(audit, config2.channelId, config2.relayUrl);
|