@fro.bot/systematic 3.18.4 → 3.18.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -2
- package/dist/{index-be0zwq50.js → index-ft2sjkks.js} +63 -108
- package/dist/index.js +1 -1
- package/dist/pi.js +63 -108
- package/package.json +2 -2
- package/skills/ce-review/scripts/validate-review.mjs +74 -139
package/dist/cli.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
findCommandsInDir,
|
|
34
34
|
findSkillsInDir,
|
|
35
35
|
discoverSkills
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-ft2sjkks.js";
|
|
37
37
|
var __defProp = Object.defineProperty;
|
|
38
38
|
var __returnValue = (v) => v;
|
|
39
39
|
function __exportSetter(name, newValue) {
|
|
@@ -831,7 +831,7 @@ function buildCapabilitySnapshot(options) {
|
|
|
831
831
|
options.outputSink?.(serialized);
|
|
832
832
|
return snapshot;
|
|
833
833
|
}
|
|
834
|
-
// node_modules/.bun/zod@4.6.
|
|
834
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/iso.js
|
|
835
835
|
var exports_iso = {};
|
|
836
836
|
__export(exports_iso, {
|
|
837
837
|
ZodISODate: () => ZodISODate,
|
|
@@ -1786,7 +1786,7 @@ var BUNDLED_SKILL_NAMES = [
|
|
|
1786
1786
|
"writing-skills"
|
|
1787
1787
|
];
|
|
1788
1788
|
|
|
1789
|
-
// node_modules/.bun/zod@4.6.
|
|
1789
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/util.js
|
|
1790
1790
|
function getEnumValues(entries) {
|
|
1791
1791
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
1792
1792
|
const values = Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -2224,9 +2224,6 @@ function members(proto, table) {
|
|
|
2224
2224
|
else
|
|
2225
2225
|
defineBound(proto, key, desc.value);
|
|
2226
2226
|
}
|
|
2227
|
-
for (const sym of Object.getOwnPropertySymbols(table)) {
|
|
2228
|
-
defineBound(proto, sym, table[sym]);
|
|
2229
|
-
}
|
|
2230
2227
|
}
|
|
2231
2228
|
function own(inst, key, value, enumerable = true) {
|
|
2232
2229
|
Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
|
|
@@ -2332,7 +2329,7 @@ function constantCatch(value) {
|
|
|
2332
2329
|
return fn;
|
|
2333
2330
|
}
|
|
2334
2331
|
|
|
2335
|
-
// node_modules/.bun/zod@4.6.
|
|
2332
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/core.js
|
|
2336
2333
|
var _a;
|
|
2337
2334
|
var _zodDesc = { value: undefined, enumerable: false };
|
|
2338
2335
|
var _E = "captureStackTrace" in Error ? Error : null;
|
|
@@ -2374,8 +2371,7 @@ function $constructor(name, initializer, proto, params) {
|
|
|
2374
2371
|
} finally {
|
|
2375
2372
|
_zodDesc.value = undefined;
|
|
2376
2373
|
}
|
|
2377
|
-
}
|
|
2378
|
-
if (inst._zod.traits.has(name)) {
|
|
2374
|
+
} else if (inst._zod.traits.has(name)) {
|
|
2379
2375
|
return;
|
|
2380
2376
|
}
|
|
2381
2377
|
inst._zod.traits.add(name);
|
|
@@ -2451,7 +2447,7 @@ function config(newConfig) {
|
|
|
2451
2447
|
Object.assign(globalConfig, newConfig);
|
|
2452
2448
|
return globalConfig;
|
|
2453
2449
|
}
|
|
2454
|
-
// node_modules/.bun/zod@4.6.
|
|
2450
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/errors.js
|
|
2455
2451
|
function _getMessage() {
|
|
2456
2452
|
const internals = this._zod;
|
|
2457
2453
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -2566,7 +2562,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
2566
2562
|
return fieldErrors;
|
|
2567
2563
|
}
|
|
2568
2564
|
|
|
2569
|
-
// node_modules/.bun/zod@4.6.
|
|
2565
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/parse.js
|
|
2570
2566
|
function finalizeParams(callee, params) {
|
|
2571
2567
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
2572
2568
|
}
|
|
@@ -2713,7 +2709,7 @@ var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
2713
2709
|
var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
2714
2710
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
2715
2711
|
};
|
|
2716
|
-
// node_modules/.bun/zod@4.6.
|
|
2712
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/regexes.js
|
|
2717
2713
|
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
2718
2714
|
var cuid2 = /^[0-9a-z]+$/;
|
|
2719
2715
|
var ulid = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
|
|
@@ -2771,7 +2767,7 @@ var boolean2 = /^(?:true|false)$/i;
|
|
|
2771
2767
|
var lowercase = /^[^A-Z]*$/;
|
|
2772
2768
|
var uppercase = /^[^a-z]*$/;
|
|
2773
2769
|
|
|
2774
|
-
// node_modules/.bun/zod@4.6.
|
|
2770
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/checks.js
|
|
2775
2771
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2776
2772
|
var _a;
|
|
2777
2773
|
inst._zod ?? (inst._zod = {});
|
|
@@ -3087,7 +3083,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
3087
3083
|
};
|
|
3088
3084
|
});
|
|
3089
3085
|
|
|
3090
|
-
// node_modules/.bun/zod@4.6.
|
|
3086
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/doc.js
|
|
3091
3087
|
class Doc {
|
|
3092
3088
|
constructor(args = [], closed = {}) {
|
|
3093
3089
|
this.content = [];
|
|
@@ -3129,14 +3125,14 @@ ${content.join(`
|
|
|
3129
3125
|
}
|
|
3130
3126
|
}
|
|
3131
3127
|
|
|
3132
|
-
// node_modules/.bun/zod@4.6.
|
|
3128
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/versions.js
|
|
3133
3129
|
var version = {
|
|
3134
3130
|
major: 4,
|
|
3135
3131
|
minor: 6,
|
|
3136
|
-
patch:
|
|
3132
|
+
patch: 4
|
|
3137
3133
|
};
|
|
3138
3134
|
|
|
3139
|
-
// node_modules/.bun/zod@4.6.
|
|
3135
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/schemas.js
|
|
3140
3136
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
3141
3137
|
var _a;
|
|
3142
3138
|
inst ?? (inst = {});
|
|
@@ -3318,11 +3314,32 @@ var $ZodEmail = /* @__PURE__ */ $constructor("$ZodEmail", (inst, def) => {
|
|
|
3318
3314
|
});
|
|
3319
3315
|
var URL_BAD_FORMAT = 1;
|
|
3320
3316
|
var URL_UNPARSEABLE = 2;
|
|
3317
|
+
function canParseURL(input) {
|
|
3318
|
+
try {
|
|
3319
|
+
if (typeof URL !== "undefined" && typeof URL.canParse === "function")
|
|
3320
|
+
return URL.canParse(input);
|
|
3321
|
+
new URL(input);
|
|
3322
|
+
return true;
|
|
3323
|
+
} catch {
|
|
3324
|
+
return false;
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
function validateURL(trimmed, def) {
|
|
3328
|
+
if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
|
|
3329
|
+
return canParseURL(trimmed) || URL_UNPARSEABLE;
|
|
3330
|
+
}
|
|
3331
|
+
return parseURLObject(trimmed, def);
|
|
3332
|
+
}
|
|
3321
3333
|
function parseURLObject(trimmed, def) {
|
|
3322
3334
|
if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
|
|
3323
3335
|
return URL_BAD_FORMAT;
|
|
3324
3336
|
}
|
|
3325
3337
|
try {
|
|
3338
|
+
if (typeof URL !== "undefined") {
|
|
3339
|
+
const URLStatic = URL;
|
|
3340
|
+
if (typeof URLStatic.parse === "function")
|
|
3341
|
+
return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE;
|
|
3342
|
+
}
|
|
3326
3343
|
return new URL(trimmed);
|
|
3327
3344
|
} catch {
|
|
3328
3345
|
return URL_UNPARSEABLE;
|
|
@@ -3345,7 +3362,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
3345
3362
|
inst._zod.check = (payload) => {
|
|
3346
3363
|
try {
|
|
3347
3364
|
const trimmed = payload.value.trim();
|
|
3348
|
-
const url =
|
|
3365
|
+
const url = validateURL(trimmed, def);
|
|
3349
3366
|
if (url === URL_BAD_FORMAT) {
|
|
3350
3367
|
payload.issues.push({
|
|
3351
3368
|
code: "invalid_format",
|
|
@@ -3367,6 +3384,10 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
3367
3384
|
});
|
|
3368
3385
|
return;
|
|
3369
3386
|
}
|
|
3387
|
+
if (url === true) {
|
|
3388
|
+
payload.value = stripTabAndNewline(trimmed);
|
|
3389
|
+
return;
|
|
3390
|
+
}
|
|
3370
3391
|
if (def.hostname && !urlHostnameOk(url, def.hostname)) {
|
|
3371
3392
|
payload.issues.push({
|
|
3372
3393
|
code: "invalid_format",
|
|
@@ -3456,12 +3477,7 @@ var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
|
|
|
3456
3477
|
function isValidIPv6(value) {
|
|
3457
3478
|
if (!ipv6Alphabet.test(value))
|
|
3458
3479
|
return false;
|
|
3459
|
-
|
|
3460
|
-
new URL(`http://[${value}]`);
|
|
3461
|
-
return true;
|
|
3462
|
-
} catch {
|
|
3463
|
-
return false;
|
|
3464
|
-
}
|
|
3480
|
+
return canParseURL(`http://[${value}]`);
|
|
3465
3481
|
}
|
|
3466
3482
|
var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
|
|
3467
3483
|
def.pattern ?? (def.pattern = ipv6);
|
|
@@ -4728,62 +4744,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4728
4744
|
payload.issues.push(issue(_iss));
|
|
4729
4745
|
}
|
|
4730
4746
|
}
|
|
4731
|
-
|
|
4732
|
-
if (result.issues.length) {
|
|
4733
|
-
payload.issues.push(...prefixIssues(key, result.issues));
|
|
4734
|
-
}
|
|
4735
|
-
}
|
|
4736
|
-
var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def) => {
|
|
4737
|
-
$ZodType.init(inst, def);
|
|
4738
|
-
$ZodCheck.init(inst, def);
|
|
4739
|
-
const memo = globalConfig.memoizer;
|
|
4740
|
-
memo?.attach(inst);
|
|
4741
|
-
let entries;
|
|
4742
|
-
const runShape = (payload, ctx) => {
|
|
4743
|
-
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
4744
|
-
const input = payload.value;
|
|
4745
|
-
let proms;
|
|
4746
|
-
for (const [key, schema] of entries) {
|
|
4747
|
-
const result = schema._zod.run({ value: input[key], issues: [] }, ctx);
|
|
4748
|
-
if (result instanceof Promise) {
|
|
4749
|
-
proms ?? (proms = []);
|
|
4750
|
-
proms.push(result.then((result) => handlePropertiesResult(result, payload, key)));
|
|
4751
|
-
} else {
|
|
4752
|
-
handlePropertiesResult(result, payload, key);
|
|
4753
|
-
}
|
|
4754
|
-
}
|
|
4755
|
-
if (proms)
|
|
4756
|
-
return Promise.all(proms).then(() => {
|
|
4757
|
-
return;
|
|
4758
|
-
});
|
|
4759
|
-
return;
|
|
4760
|
-
};
|
|
4761
|
-
inst._zod.parse = (payload, ctx) => {
|
|
4762
|
-
const input = payload.value;
|
|
4763
|
-
if (input === null || typeof input !== "object" && typeof input !== "function") {
|
|
4764
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input, inst });
|
|
4765
|
-
return payload;
|
|
4766
|
-
}
|
|
4767
|
-
if (ctx.direction === "backward")
|
|
4768
|
-
ctx = { ...ctx, direction: "forward" };
|
|
4769
|
-
if (memo)
|
|
4770
|
-
memo.alloc(inst, payload, input, ctx);
|
|
4771
|
-
const result = runShape(payload, ctx);
|
|
4772
|
-
return result instanceof Promise ? result.then(() => payload) : payload;
|
|
4773
|
-
};
|
|
4774
|
-
inst._zod.check = (payload) => {
|
|
4775
|
-
if (payload.value == null) {
|
|
4776
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
|
|
4777
|
-
return;
|
|
4778
|
-
}
|
|
4779
|
-
return runShape(payload, {});
|
|
4780
|
-
};
|
|
4781
|
-
}, {
|
|
4782
|
-
*[Symbol.iterator]() {
|
|
4783
|
-
yield this;
|
|
4784
|
-
}
|
|
4785
|
-
});
|
|
4786
|
-
// node_modules/.bun/zod@4.6.2/node_modules/zod/v4/core/memoizer.js
|
|
4747
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/memoizer.js
|
|
4787
4748
|
class $ZodCyclicError extends Error {
|
|
4788
4749
|
constructor() {
|
|
4789
4750
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -4793,7 +4754,7 @@ class $ZodCyclicError extends Error {
|
|
|
4793
4754
|
var STATE = "~memo";
|
|
4794
4755
|
var NO_ISSUES = [];
|
|
4795
4756
|
function isRef(value) {
|
|
4796
|
-
return value !== null &&
|
|
4757
|
+
return value !== null && typeof value === "object";
|
|
4797
4758
|
}
|
|
4798
4759
|
function cloneIssues(issues) {
|
|
4799
4760
|
return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
|
|
@@ -4842,9 +4803,6 @@ function isRecursive(inst, stack, resolve) {
|
|
|
4842
4803
|
check(def.catchall);
|
|
4843
4804
|
break;
|
|
4844
4805
|
}
|
|
4845
|
-
case "properties":
|
|
4846
|
-
merge(shape(def.shape, false));
|
|
4847
|
-
break;
|
|
4848
4806
|
case "array":
|
|
4849
4807
|
check(def.element);
|
|
4850
4808
|
break;
|
|
@@ -5055,7 +5013,7 @@ function isBackEdge(ctx, value) {
|
|
|
5055
5013
|
const backEdges = ctx[STATE]?.backEdges;
|
|
5056
5014
|
return backEdges !== undefined && isRef(value) && backEdges.has(value);
|
|
5057
5015
|
}
|
|
5058
|
-
// node_modules/.bun/zod@4.6.
|
|
5016
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/locales/en.js
|
|
5059
5017
|
var error = () => {
|
|
5060
5018
|
const Sizable = {
|
|
5061
5019
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -5095,6 +5053,7 @@ var error = () => {
|
|
|
5095
5053
|
base64url: "base64url-encoded string",
|
|
5096
5054
|
json_string: "JSON string",
|
|
5097
5055
|
e164: "E.164 number",
|
|
5056
|
+
currency_code: "currency code",
|
|
5098
5057
|
credit_card: "credit card number",
|
|
5099
5058
|
iban: "IBAN",
|
|
5100
5059
|
jwt: "JWT",
|
|
@@ -5176,7 +5135,7 @@ function en_default() {
|
|
|
5176
5135
|
localeError: error()
|
|
5177
5136
|
};
|
|
5178
5137
|
}
|
|
5179
|
-
// node_modules/.bun/zod@4.6.
|
|
5138
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/registries.js
|
|
5180
5139
|
var _a2;
|
|
5181
5140
|
class $ZodRegistry {
|
|
5182
5141
|
constructor() {
|
|
@@ -5223,12 +5182,14 @@ function registry() {
|
|
|
5223
5182
|
}
|
|
5224
5183
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
5225
5184
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
5226
|
-
// node_modules/.bun/zod@4.6.
|
|
5185
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/api.js
|
|
5186
|
+
function snapshotChecks(def) {
|
|
5187
|
+
if (def.checks)
|
|
5188
|
+
def.checks = [...def.checks];
|
|
5189
|
+
return def;
|
|
5190
|
+
}
|
|
5227
5191
|
function _string(Class, params) {
|
|
5228
|
-
return new Class({
|
|
5229
|
-
type: "string",
|
|
5230
|
-
...normalizeParams(params)
|
|
5231
|
-
});
|
|
5192
|
+
return new Class(snapshotChecks({ type: "string", ...normalizeParams(params) }));
|
|
5232
5193
|
}
|
|
5233
5194
|
function _email(Class, params) {
|
|
5234
5195
|
return new Class({
|
|
@@ -5468,11 +5429,7 @@ function _isoDuration(Class, params) {
|
|
|
5468
5429
|
});
|
|
5469
5430
|
}
|
|
5470
5431
|
function _number(Class, params) {
|
|
5471
|
-
return new Class({
|
|
5472
|
-
type: "number",
|
|
5473
|
-
checks: [],
|
|
5474
|
-
...normalizeParams(params)
|
|
5475
|
-
});
|
|
5432
|
+
return new Class(snapshotChecks({ type: "number", checks: [], ...normalizeParams(params) }));
|
|
5476
5433
|
}
|
|
5477
5434
|
function _int(Class, params) {
|
|
5478
5435
|
return new Class({
|
|
@@ -5673,7 +5630,7 @@ function _check(fn, params) {
|
|
|
5673
5630
|
ch._zod.check = fn;
|
|
5674
5631
|
return ch;
|
|
5675
5632
|
}
|
|
5676
|
-
// node_modules/.bun/zod@4.6.
|
|
5633
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/to-json-schema.js
|
|
5677
5634
|
function assignProps(target, ...sources) {
|
|
5678
5635
|
for (const source of sources) {
|
|
5679
5636
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -6196,7 +6153,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
6196
6153
|
extractDefs(ctx, schema);
|
|
6197
6154
|
return finalize(ctx, schema);
|
|
6198
6155
|
};
|
|
6199
|
-
// node_modules/.bun/zod@4.6.
|
|
6156
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/json-schema-processors.js
|
|
6200
6157
|
var narrowMin = (agg, key, value) => {
|
|
6201
6158
|
if (agg[key] === undefined || value > agg[key])
|
|
6202
6159
|
agg[key] = value;
|
|
@@ -6476,17 +6433,15 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
6476
6433
|
path: [...params.path, "properties", key]
|
|
6477
6434
|
}));
|
|
6478
6435
|
}
|
|
6479
|
-
const
|
|
6480
|
-
const
|
|
6436
|
+
const requiredKeys = [];
|
|
6437
|
+
for (const key of Object.keys(shape)) {
|
|
6481
6438
|
const field = def.shape[key];
|
|
6482
|
-
if (ctx.io === "input") {
|
|
6483
|
-
|
|
6484
|
-
} else {
|
|
6485
|
-
return field._zod.optout === undefined;
|
|
6439
|
+
if (ctx.io === "input" ? inputOptin(field) === undefined : field._zod.optout === undefined) {
|
|
6440
|
+
requiredKeys.push(key);
|
|
6486
6441
|
}
|
|
6487
|
-
}
|
|
6488
|
-
if (requiredKeys.
|
|
6489
|
-
json.required =
|
|
6442
|
+
}
|
|
6443
|
+
if (requiredKeys.length > 0) {
|
|
6444
|
+
json.required = requiredKeys;
|
|
6490
6445
|
}
|
|
6491
6446
|
if (def.catchall?._zod.def.type === "never") {
|
|
6492
6447
|
json.additionalProperties = false;
|
|
@@ -6723,7 +6678,7 @@ var optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
6723
6678
|
const seen = ctx.seen.get(schema);
|
|
6724
6679
|
seen.ref = def.innerType;
|
|
6725
6680
|
};
|
|
6726
|
-
// node_modules/.bun/zod@4.6.
|
|
6681
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/errors.js
|
|
6727
6682
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
6728
6683
|
function _lazyMethod(proto, key, make) {
|
|
6729
6684
|
Object.defineProperty(proto, key, {
|
|
@@ -6768,7 +6723,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, undefi
|
|
|
6768
6723
|
Parent: Error
|
|
6769
6724
|
});
|
|
6770
6725
|
|
|
6771
|
-
// node_modules/.bun/zod@4.6.
|
|
6726
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/parse.js
|
|
6772
6727
|
var parse4 = /* @__PURE__ */ _parse(ZodRealError);
|
|
6773
6728
|
var parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
6774
6729
|
var safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -6782,7 +6737,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
6782
6737
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
6783
6738
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
6784
6739
|
|
|
6785
|
-
// node_modules/.bun/zod@4.6.
|
|
6740
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/schemas.js
|
|
6786
6741
|
function _ensureDefaultLocale() {
|
|
6787
6742
|
if (!globalConfig.localeError)
|
|
6788
6743
|
config(en_default());
|
package/dist/index.js
CHANGED
package/dist/pi.js
CHANGED
|
@@ -3549,7 +3549,7 @@ var BUNDLED_SKILL_NAMES = [
|
|
|
3549
3549
|
"writing-skills"
|
|
3550
3550
|
];
|
|
3551
3551
|
|
|
3552
|
-
// node_modules/.bun/zod@4.6.
|
|
3552
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/util.js
|
|
3553
3553
|
function getEnumValues(entries) {
|
|
3554
3554
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
3555
3555
|
const values = Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -3987,9 +3987,6 @@ function members(proto, table) {
|
|
|
3987
3987
|
else
|
|
3988
3988
|
defineBound(proto, key, desc.value);
|
|
3989
3989
|
}
|
|
3990
|
-
for (const sym of Object.getOwnPropertySymbols(table)) {
|
|
3991
|
-
defineBound(proto, sym, table[sym]);
|
|
3992
|
-
}
|
|
3993
3990
|
}
|
|
3994
3991
|
function own(inst, key, value, enumerable = true) {
|
|
3995
3992
|
Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
|
|
@@ -4095,7 +4092,7 @@ function constantCatch(value) {
|
|
|
4095
4092
|
return fn;
|
|
4096
4093
|
}
|
|
4097
4094
|
|
|
4098
|
-
// node_modules/.bun/zod@4.6.
|
|
4095
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/core.js
|
|
4099
4096
|
var _a;
|
|
4100
4097
|
var _zodDesc = { value: undefined, enumerable: false };
|
|
4101
4098
|
var _E = "captureStackTrace" in Error ? Error : null;
|
|
@@ -4137,8 +4134,7 @@ function $constructor(name, initializer, proto, params) {
|
|
|
4137
4134
|
} finally {
|
|
4138
4135
|
_zodDesc.value = undefined;
|
|
4139
4136
|
}
|
|
4140
|
-
}
|
|
4141
|
-
if (inst._zod.traits.has(name)) {
|
|
4137
|
+
} else if (inst._zod.traits.has(name)) {
|
|
4142
4138
|
return;
|
|
4143
4139
|
}
|
|
4144
4140
|
inst._zod.traits.add(name);
|
|
@@ -4214,7 +4210,7 @@ function config(newConfig) {
|
|
|
4214
4210
|
Object.assign(globalConfig, newConfig);
|
|
4215
4211
|
return globalConfig;
|
|
4216
4212
|
}
|
|
4217
|
-
// node_modules/.bun/zod@4.6.
|
|
4213
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/errors.js
|
|
4218
4214
|
function _getMessage() {
|
|
4219
4215
|
const internals = this._zod;
|
|
4220
4216
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -4329,7 +4325,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
4329
4325
|
return fieldErrors;
|
|
4330
4326
|
}
|
|
4331
4327
|
|
|
4332
|
-
// node_modules/.bun/zod@4.6.
|
|
4328
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/parse.js
|
|
4333
4329
|
function finalizeParams(callee, params) {
|
|
4334
4330
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
4335
4331
|
}
|
|
@@ -4476,7 +4472,7 @@ var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
4476
4472
|
var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
4477
4473
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
4478
4474
|
};
|
|
4479
|
-
// node_modules/.bun/zod@4.6.
|
|
4475
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/regexes.js
|
|
4480
4476
|
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
4481
4477
|
var cuid2 = /^[0-9a-z]+$/;
|
|
4482
4478
|
var ulid = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
|
|
@@ -4534,7 +4530,7 @@ var boolean = /^(?:true|false)$/i;
|
|
|
4534
4530
|
var lowercase = /^[^A-Z]*$/;
|
|
4535
4531
|
var uppercase = /^[^a-z]*$/;
|
|
4536
4532
|
|
|
4537
|
-
// node_modules/.bun/zod@4.6.
|
|
4533
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/checks.js
|
|
4538
4534
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
4539
4535
|
var _a;
|
|
4540
4536
|
inst._zod ?? (inst._zod = {});
|
|
@@ -4850,7 +4846,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
4850
4846
|
};
|
|
4851
4847
|
});
|
|
4852
4848
|
|
|
4853
|
-
// node_modules/.bun/zod@4.6.
|
|
4849
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/doc.js
|
|
4854
4850
|
class Doc {
|
|
4855
4851
|
constructor(args = [], closed = {}) {
|
|
4856
4852
|
this.content = [];
|
|
@@ -4892,14 +4888,14 @@ ${content.join(`
|
|
|
4892
4888
|
}
|
|
4893
4889
|
}
|
|
4894
4890
|
|
|
4895
|
-
// node_modules/.bun/zod@4.6.
|
|
4891
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/versions.js
|
|
4896
4892
|
var version = {
|
|
4897
4893
|
major: 4,
|
|
4898
4894
|
minor: 6,
|
|
4899
|
-
patch:
|
|
4895
|
+
patch: 4
|
|
4900
4896
|
};
|
|
4901
4897
|
|
|
4902
|
-
// node_modules/.bun/zod@4.6.
|
|
4898
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/schemas.js
|
|
4903
4899
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
4904
4900
|
var _a;
|
|
4905
4901
|
inst ?? (inst = {});
|
|
@@ -5081,11 +5077,32 @@ var $ZodEmail = /* @__PURE__ */ $constructor("$ZodEmail", (inst, def) => {
|
|
|
5081
5077
|
});
|
|
5082
5078
|
var URL_BAD_FORMAT = 1;
|
|
5083
5079
|
var URL_UNPARSEABLE = 2;
|
|
5080
|
+
function canParseURL(input) {
|
|
5081
|
+
try {
|
|
5082
|
+
if (typeof URL !== "undefined" && typeof URL.canParse === "function")
|
|
5083
|
+
return URL.canParse(input);
|
|
5084
|
+
new URL(input);
|
|
5085
|
+
return true;
|
|
5086
|
+
} catch {
|
|
5087
|
+
return false;
|
|
5088
|
+
}
|
|
5089
|
+
}
|
|
5090
|
+
function validateURL(trimmed, def) {
|
|
5091
|
+
if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
|
|
5092
|
+
return canParseURL(trimmed) || URL_UNPARSEABLE;
|
|
5093
|
+
}
|
|
5094
|
+
return parseURLObject(trimmed, def);
|
|
5095
|
+
}
|
|
5084
5096
|
function parseURLObject(trimmed, def) {
|
|
5085
5097
|
if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
|
|
5086
5098
|
return URL_BAD_FORMAT;
|
|
5087
5099
|
}
|
|
5088
5100
|
try {
|
|
5101
|
+
if (typeof URL !== "undefined") {
|
|
5102
|
+
const URLStatic = URL;
|
|
5103
|
+
if (typeof URLStatic.parse === "function")
|
|
5104
|
+
return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE;
|
|
5105
|
+
}
|
|
5089
5106
|
return new URL(trimmed);
|
|
5090
5107
|
} catch {
|
|
5091
5108
|
return URL_UNPARSEABLE;
|
|
@@ -5108,7 +5125,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
5108
5125
|
inst._zod.check = (payload) => {
|
|
5109
5126
|
try {
|
|
5110
5127
|
const trimmed = payload.value.trim();
|
|
5111
|
-
const url =
|
|
5128
|
+
const url = validateURL(trimmed, def);
|
|
5112
5129
|
if (url === URL_BAD_FORMAT) {
|
|
5113
5130
|
payload.issues.push({
|
|
5114
5131
|
code: "invalid_format",
|
|
@@ -5130,6 +5147,10 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
5130
5147
|
});
|
|
5131
5148
|
return;
|
|
5132
5149
|
}
|
|
5150
|
+
if (url === true) {
|
|
5151
|
+
payload.value = stripTabAndNewline(trimmed);
|
|
5152
|
+
return;
|
|
5153
|
+
}
|
|
5133
5154
|
if (def.hostname && !urlHostnameOk(url, def.hostname)) {
|
|
5134
5155
|
payload.issues.push({
|
|
5135
5156
|
code: "invalid_format",
|
|
@@ -5219,12 +5240,7 @@ var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
|
|
|
5219
5240
|
function isValidIPv6(value) {
|
|
5220
5241
|
if (!ipv6Alphabet.test(value))
|
|
5221
5242
|
return false;
|
|
5222
|
-
|
|
5223
|
-
new URL(`http://[${value}]`);
|
|
5224
|
-
return true;
|
|
5225
|
-
} catch {
|
|
5226
|
-
return false;
|
|
5227
|
-
}
|
|
5243
|
+
return canParseURL(`http://[${value}]`);
|
|
5228
5244
|
}
|
|
5229
5245
|
var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
|
|
5230
5246
|
def.pattern ?? (def.pattern = ipv6);
|
|
@@ -6408,62 +6424,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
6408
6424
|
payload.issues.push(issue(_iss));
|
|
6409
6425
|
}
|
|
6410
6426
|
}
|
|
6411
|
-
|
|
6412
|
-
if (result.issues.length) {
|
|
6413
|
-
payload.issues.push(...prefixIssues(key, result.issues));
|
|
6414
|
-
}
|
|
6415
|
-
}
|
|
6416
|
-
var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def) => {
|
|
6417
|
-
$ZodType.init(inst, def);
|
|
6418
|
-
$ZodCheck.init(inst, def);
|
|
6419
|
-
const memo = globalConfig.memoizer;
|
|
6420
|
-
memo?.attach(inst);
|
|
6421
|
-
let entries;
|
|
6422
|
-
const runShape = (payload, ctx) => {
|
|
6423
|
-
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
6424
|
-
const input = payload.value;
|
|
6425
|
-
let proms;
|
|
6426
|
-
for (const [key, schema] of entries) {
|
|
6427
|
-
const result = schema._zod.run({ value: input[key], issues: [] }, ctx);
|
|
6428
|
-
if (result instanceof Promise) {
|
|
6429
|
-
proms ?? (proms = []);
|
|
6430
|
-
proms.push(result.then((result) => handlePropertiesResult(result, payload, key)));
|
|
6431
|
-
} else {
|
|
6432
|
-
handlePropertiesResult(result, payload, key);
|
|
6433
|
-
}
|
|
6434
|
-
}
|
|
6435
|
-
if (proms)
|
|
6436
|
-
return Promise.all(proms).then(() => {
|
|
6437
|
-
return;
|
|
6438
|
-
});
|
|
6439
|
-
return;
|
|
6440
|
-
};
|
|
6441
|
-
inst._zod.parse = (payload, ctx) => {
|
|
6442
|
-
const input = payload.value;
|
|
6443
|
-
if (input === null || typeof input !== "object" && typeof input !== "function") {
|
|
6444
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input, inst });
|
|
6445
|
-
return payload;
|
|
6446
|
-
}
|
|
6447
|
-
if (ctx.direction === "backward")
|
|
6448
|
-
ctx = { ...ctx, direction: "forward" };
|
|
6449
|
-
if (memo)
|
|
6450
|
-
memo.alloc(inst, payload, input, ctx);
|
|
6451
|
-
const result = runShape(payload, ctx);
|
|
6452
|
-
return result instanceof Promise ? result.then(() => payload) : payload;
|
|
6453
|
-
};
|
|
6454
|
-
inst._zod.check = (payload) => {
|
|
6455
|
-
if (payload.value == null) {
|
|
6456
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
|
|
6457
|
-
return;
|
|
6458
|
-
}
|
|
6459
|
-
return runShape(payload, {});
|
|
6460
|
-
};
|
|
6461
|
-
}, {
|
|
6462
|
-
*[Symbol.iterator]() {
|
|
6463
|
-
yield this;
|
|
6464
|
-
}
|
|
6465
|
-
});
|
|
6466
|
-
// node_modules/.bun/zod@4.6.2/node_modules/zod/v4/core/memoizer.js
|
|
6427
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/memoizer.js
|
|
6467
6428
|
class $ZodCyclicError extends Error {
|
|
6468
6429
|
constructor() {
|
|
6469
6430
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -6473,7 +6434,7 @@ class $ZodCyclicError extends Error {
|
|
|
6473
6434
|
var STATE = "~memo";
|
|
6474
6435
|
var NO_ISSUES = [];
|
|
6475
6436
|
function isRef(value) {
|
|
6476
|
-
return value !== null &&
|
|
6437
|
+
return value !== null && typeof value === "object";
|
|
6477
6438
|
}
|
|
6478
6439
|
function cloneIssues(issues) {
|
|
6479
6440
|
return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
|
|
@@ -6522,9 +6483,6 @@ function isRecursive(inst, stack, resolve) {
|
|
|
6522
6483
|
check(def.catchall);
|
|
6523
6484
|
break;
|
|
6524
6485
|
}
|
|
6525
|
-
case "properties":
|
|
6526
|
-
merge(shape(def.shape, false));
|
|
6527
|
-
break;
|
|
6528
6486
|
case "array":
|
|
6529
6487
|
check(def.element);
|
|
6530
6488
|
break;
|
|
@@ -6735,7 +6693,7 @@ function isBackEdge(ctx, value) {
|
|
|
6735
6693
|
const backEdges = ctx[STATE]?.backEdges;
|
|
6736
6694
|
return backEdges !== undefined && isRef(value) && backEdges.has(value);
|
|
6737
6695
|
}
|
|
6738
|
-
// node_modules/.bun/zod@4.6.
|
|
6696
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/locales/en.js
|
|
6739
6697
|
var error = () => {
|
|
6740
6698
|
const Sizable = {
|
|
6741
6699
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -6775,6 +6733,7 @@ var error = () => {
|
|
|
6775
6733
|
base64url: "base64url-encoded string",
|
|
6776
6734
|
json_string: "JSON string",
|
|
6777
6735
|
e164: "E.164 number",
|
|
6736
|
+
currency_code: "currency code",
|
|
6778
6737
|
credit_card: "credit card number",
|
|
6779
6738
|
iban: "IBAN",
|
|
6780
6739
|
jwt: "JWT",
|
|
@@ -6856,7 +6815,7 @@ function en_default() {
|
|
|
6856
6815
|
localeError: error()
|
|
6857
6816
|
};
|
|
6858
6817
|
}
|
|
6859
|
-
// node_modules/.bun/zod@4.6.
|
|
6818
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/registries.js
|
|
6860
6819
|
var _a2;
|
|
6861
6820
|
class $ZodRegistry {
|
|
6862
6821
|
constructor() {
|
|
@@ -6903,12 +6862,14 @@ function registry() {
|
|
|
6903
6862
|
}
|
|
6904
6863
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
6905
6864
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
6906
|
-
// node_modules/.bun/zod@4.6.
|
|
6865
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/api.js
|
|
6866
|
+
function snapshotChecks(def) {
|
|
6867
|
+
if (def.checks)
|
|
6868
|
+
def.checks = [...def.checks];
|
|
6869
|
+
return def;
|
|
6870
|
+
}
|
|
6907
6871
|
function _string(Class, params) {
|
|
6908
|
-
return new Class({
|
|
6909
|
-
type: "string",
|
|
6910
|
-
...normalizeParams(params)
|
|
6911
|
-
});
|
|
6872
|
+
return new Class(snapshotChecks({ type: "string", ...normalizeParams(params) }));
|
|
6912
6873
|
}
|
|
6913
6874
|
function _email(Class, params) {
|
|
6914
6875
|
return new Class({
|
|
@@ -7148,11 +7109,7 @@ function _isoDuration(Class, params) {
|
|
|
7148
7109
|
});
|
|
7149
7110
|
}
|
|
7150
7111
|
function _number(Class, params) {
|
|
7151
|
-
return new Class({
|
|
7152
|
-
type: "number",
|
|
7153
|
-
checks: [],
|
|
7154
|
-
...normalizeParams(params)
|
|
7155
|
-
});
|
|
7112
|
+
return new Class(snapshotChecks({ type: "number", checks: [], ...normalizeParams(params) }));
|
|
7156
7113
|
}
|
|
7157
7114
|
function _int(Class, params) {
|
|
7158
7115
|
return new Class({
|
|
@@ -7353,7 +7310,7 @@ function _check(fn, params) {
|
|
|
7353
7310
|
ch._zod.check = fn;
|
|
7354
7311
|
return ch;
|
|
7355
7312
|
}
|
|
7356
|
-
// node_modules/.bun/zod@4.6.
|
|
7313
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/to-json-schema.js
|
|
7357
7314
|
function assignProps(target, ...sources) {
|
|
7358
7315
|
for (const source of sources) {
|
|
7359
7316
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -7876,7 +7833,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
7876
7833
|
extractDefs(ctx, schema);
|
|
7877
7834
|
return finalize(ctx, schema);
|
|
7878
7835
|
};
|
|
7879
|
-
// node_modules/.bun/zod@4.6.
|
|
7836
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/json-schema-processors.js
|
|
7880
7837
|
var narrowMin = (agg, key, value) => {
|
|
7881
7838
|
if (agg[key] === undefined || value > agg[key])
|
|
7882
7839
|
agg[key] = value;
|
|
@@ -8156,17 +8113,15 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
8156
8113
|
path: [...params.path, "properties", key]
|
|
8157
8114
|
}));
|
|
8158
8115
|
}
|
|
8159
|
-
const
|
|
8160
|
-
const
|
|
8116
|
+
const requiredKeys = [];
|
|
8117
|
+
for (const key of Object.keys(shape)) {
|
|
8161
8118
|
const field = def.shape[key];
|
|
8162
|
-
if (ctx.io === "input") {
|
|
8163
|
-
|
|
8164
|
-
} else {
|
|
8165
|
-
return field._zod.optout === undefined;
|
|
8119
|
+
if (ctx.io === "input" ? inputOptin(field) === undefined : field._zod.optout === undefined) {
|
|
8120
|
+
requiredKeys.push(key);
|
|
8166
8121
|
}
|
|
8167
|
-
}
|
|
8168
|
-
if (requiredKeys.
|
|
8169
|
-
json.required =
|
|
8122
|
+
}
|
|
8123
|
+
if (requiredKeys.length > 0) {
|
|
8124
|
+
json.required = requiredKeys;
|
|
8170
8125
|
}
|
|
8171
8126
|
if (def.catchall?._zod.def.type === "never") {
|
|
8172
8127
|
json.additionalProperties = false;
|
|
@@ -8403,7 +8358,7 @@ var optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
8403
8358
|
const seen = ctx.seen.get(schema);
|
|
8404
8359
|
seen.ref = def.innerType;
|
|
8405
8360
|
};
|
|
8406
|
-
// node_modules/.bun/zod@4.6.
|
|
8361
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/errors.js
|
|
8407
8362
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
8408
8363
|
function _lazyMethod(proto, key, make) {
|
|
8409
8364
|
Object.defineProperty(proto, key, {
|
|
@@ -8448,7 +8403,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, undefi
|
|
|
8448
8403
|
Parent: Error
|
|
8449
8404
|
});
|
|
8450
8405
|
|
|
8451
|
-
// node_modules/.bun/zod@4.6.
|
|
8406
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/parse.js
|
|
8452
8407
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
8453
8408
|
var parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
8454
8409
|
var safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -8462,7 +8417,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
8462
8417
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
8463
8418
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
8464
8419
|
|
|
8465
|
-
// node_modules/.bun/zod@4.6.
|
|
8420
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/schemas.js
|
|
8466
8421
|
function _ensureDefaultLocale() {
|
|
8467
8422
|
if (!globalConfig.localeError)
|
|
8468
8423
|
config(en_default());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fro.bot/systematic",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.5",
|
|
4
4
|
"description": "Compound-engineering loops for OpenCode, Pi, and Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://fro.bot/systematic",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"jsonc-parser": "^3.3.0",
|
|
123
123
|
"tree-sitter-bash": "0.25.1",
|
|
124
124
|
"web-tree-sitter": "0.27.0",
|
|
125
|
-
"zod": "4.6.
|
|
125
|
+
"zod": "4.6.4"
|
|
126
126
|
},
|
|
127
127
|
"overrides": {
|
|
128
128
|
"@earendil-works/pi-ai": "0.83.0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// biome-ignore-all assist/source/organizeImports: generated bundle
|
|
3
3
|
// Generated by scripts/generate-ce-review-validator.ts; do not edit by hand.
|
|
4
4
|
// Run `bun run ce-review-validator:build` to regenerate.
|
|
5
|
-
// source-digest:
|
|
5
|
+
// source-digest: d8c9763e3ace0919dbdc8994665795ed8666be392c40e526f2807b0c2fb17eae
|
|
6
6
|
var __defProp = Object.defineProperty
|
|
7
7
|
var __returnValue = (v) => v
|
|
8
8
|
function __exportSetter(name, newValue) {
|
|
@@ -173,7 +173,7 @@ function resolveReviewArtifactPath(input, cwd, options = {}) {
|
|
|
173
173
|
return { ok: true, path: canonicalTarget }
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
// node_modules/.bun/zod@4.6.
|
|
176
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/util.js
|
|
177
177
|
function getEnumValues(entries) {
|
|
178
178
|
const numericValues = Object.values(entries).filter(
|
|
179
179
|
(v) => typeof v === 'number',
|
|
@@ -668,9 +668,6 @@ function members(proto, table) {
|
|
|
668
668
|
Object.defineProperty(proto, key, { ...desc, enumerable: false })
|
|
669
669
|
else defineBound(proto, key, desc.value)
|
|
670
670
|
}
|
|
671
|
-
for (const sym of Object.getOwnPropertySymbols(table)) {
|
|
672
|
-
defineBound(proto, sym, table[sym])
|
|
673
|
-
}
|
|
674
671
|
}
|
|
675
672
|
function own(inst, key, value, enumerable = true) {
|
|
676
673
|
Object.defineProperty(inst, key, {
|
|
@@ -797,7 +794,7 @@ function constantCatch(value) {
|
|
|
797
794
|
return fn
|
|
798
795
|
}
|
|
799
796
|
|
|
800
|
-
// node_modules/.bun/zod@4.6.
|
|
797
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/core.js
|
|
801
798
|
var _a
|
|
802
799
|
var _zodDesc = { value: undefined, enumerable: false }
|
|
803
800
|
var _E = 'captureStackTrace' in Error ? Error : null
|
|
@@ -839,8 +836,7 @@ function $constructor(name, initializer, proto, params) {
|
|
|
839
836
|
} finally {
|
|
840
837
|
_zodDesc.value = undefined
|
|
841
838
|
}
|
|
842
|
-
}
|
|
843
|
-
if (inst._zod.traits.has(name)) {
|
|
839
|
+
} else if (inst._zod.traits.has(name)) {
|
|
844
840
|
return
|
|
845
841
|
}
|
|
846
842
|
inst._zod.traits.add(name)
|
|
@@ -912,7 +908,7 @@ function config(newConfig) {
|
|
|
912
908
|
if (newConfig) Object.assign(globalConfig, newConfig)
|
|
913
909
|
return globalConfig
|
|
914
910
|
}
|
|
915
|
-
// node_modules/.bun/zod@4.6.
|
|
911
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/errors.js
|
|
916
912
|
function _getMessage() {
|
|
917
913
|
const internals = this._zod
|
|
918
914
|
internals.message ??
|
|
@@ -1049,7 +1045,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
1049
1045
|
return fieldErrors
|
|
1050
1046
|
}
|
|
1051
1047
|
|
|
1052
|
-
// node_modules/.bun/zod@4.6.
|
|
1048
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/parse.js
|
|
1053
1049
|
function finalizeParams(callee, params) {
|
|
1054
1050
|
return { callee: params?.callee ?? callee, Err: params?.Err }
|
|
1055
1051
|
}
|
|
@@ -1211,7 +1207,7 @@ var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1211
1207
|
var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
1212
1208
|
return _safeParseAsync(_Err)(schema, value, _ctx)
|
|
1213
1209
|
}
|
|
1214
|
-
// node_modules/.bun/zod@4.6.
|
|
1210
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/regexes.js
|
|
1215
1211
|
var cuid = /^[cC][0-9a-z]{6,}$/
|
|
1216
1212
|
var cuid2 = /^[0-9a-z]+$/
|
|
1217
1213
|
var ulid = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/
|
|
@@ -1288,7 +1284,7 @@ var boolean = /^(?:true|false)$/i
|
|
|
1288
1284
|
var lowercase = /^[^A-Z]*$/
|
|
1289
1285
|
var uppercase = /^[^a-z]*$/
|
|
1290
1286
|
|
|
1291
|
-
// node_modules/.bun/zod@4.6.
|
|
1287
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/checks.js
|
|
1292
1288
|
var $ZodCheck = /* @__PURE__ */ $constructor('$ZodCheck', (inst, def) => {
|
|
1293
1289
|
var _a
|
|
1294
1290
|
inst._zod ?? (inst._zod = {})
|
|
@@ -1668,7 +1664,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor(
|
|
|
1668
1664
|
},
|
|
1669
1665
|
)
|
|
1670
1666
|
|
|
1671
|
-
// node_modules/.bun/zod@4.6.
|
|
1667
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/doc.js
|
|
1672
1668
|
class Doc {
|
|
1673
1669
|
constructor(args = [], closed = {}) {
|
|
1674
1670
|
this.content = []
|
|
@@ -1719,14 +1715,14 @@ ${content.join(`
|
|
|
1719
1715
|
}
|
|
1720
1716
|
}
|
|
1721
1717
|
|
|
1722
|
-
// node_modules/.bun/zod@4.6.
|
|
1718
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/versions.js
|
|
1723
1719
|
var version = {
|
|
1724
1720
|
major: 4,
|
|
1725
1721
|
minor: 6,
|
|
1726
|
-
patch:
|
|
1722
|
+
patch: 4,
|
|
1727
1723
|
}
|
|
1728
1724
|
|
|
1729
|
-
// node_modules/.bun/zod@4.6.
|
|
1725
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/schemas.js
|
|
1730
1726
|
var $ZodType = /* @__PURE__ */ $constructor(
|
|
1731
1727
|
'$ZodType',
|
|
1732
1728
|
(inst, def) => {
|
|
@@ -1915,6 +1911,22 @@ var $ZodEmail = /* @__PURE__ */ $constructor('$ZodEmail', (inst, def) => {
|
|
|
1915
1911
|
})
|
|
1916
1912
|
var URL_BAD_FORMAT = 1
|
|
1917
1913
|
var URL_UNPARSEABLE = 2
|
|
1914
|
+
function canParseURL(input) {
|
|
1915
|
+
try {
|
|
1916
|
+
if (typeof URL !== 'undefined' && typeof URL.canParse === 'function')
|
|
1917
|
+
return URL.canParse(input)
|
|
1918
|
+
new URL(input)
|
|
1919
|
+
return true
|
|
1920
|
+
} catch {
|
|
1921
|
+
return false
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
function validateURL(trimmed, def) {
|
|
1925
|
+
if (!('normalize' in def) && !('hostname' in def) && !('protocol' in def)) {
|
|
1926
|
+
return canParseURL(trimmed) || URL_UNPARSEABLE
|
|
1927
|
+
}
|
|
1928
|
+
return parseURLObject(trimmed, def)
|
|
1929
|
+
}
|
|
1918
1930
|
function parseURLObject(trimmed, def) {
|
|
1919
1931
|
if (
|
|
1920
1932
|
!def.normalize &&
|
|
@@ -1924,6 +1936,11 @@ function parseURLObject(trimmed, def) {
|
|
|
1924
1936
|
return URL_BAD_FORMAT
|
|
1925
1937
|
}
|
|
1926
1938
|
try {
|
|
1939
|
+
if (typeof URL !== 'undefined') {
|
|
1940
|
+
const URLStatic = URL
|
|
1941
|
+
if (typeof URLStatic.parse === 'function')
|
|
1942
|
+
return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE
|
|
1943
|
+
}
|
|
1927
1944
|
return new URL(trimmed)
|
|
1928
1945
|
} catch {
|
|
1929
1946
|
return URL_UNPARSEABLE
|
|
@@ -1948,7 +1965,7 @@ var $ZodURL = /* @__PURE__ */ $constructor('$ZodURL', (inst, def) => {
|
|
|
1948
1965
|
inst._zod.check = (payload) => {
|
|
1949
1966
|
try {
|
|
1950
1967
|
const trimmed = payload.value.trim()
|
|
1951
|
-
const url =
|
|
1968
|
+
const url = validateURL(trimmed, def)
|
|
1952
1969
|
if (url === URL_BAD_FORMAT) {
|
|
1953
1970
|
payload.issues.push({
|
|
1954
1971
|
code: 'invalid_format',
|
|
@@ -1970,6 +1987,10 @@ var $ZodURL = /* @__PURE__ */ $constructor('$ZodURL', (inst, def) => {
|
|
|
1970
1987
|
})
|
|
1971
1988
|
return
|
|
1972
1989
|
}
|
|
1990
|
+
if (url === true) {
|
|
1991
|
+
payload.value = stripTabAndNewline(trimmed)
|
|
1992
|
+
return
|
|
1993
|
+
}
|
|
1973
1994
|
if (def.hostname && !urlHostnameOk(url, def.hostname)) {
|
|
1974
1995
|
payload.issues.push({
|
|
1975
1996
|
code: 'invalid_format',
|
|
@@ -2069,12 +2090,7 @@ var $ZodIPv4 = /* @__PURE__ */ $constructor('$ZodIPv4', (inst, def) => {
|
|
|
2069
2090
|
var ipv6Alphabet = /^[0-9a-fA-F:.]+$/
|
|
2070
2091
|
function isValidIPv6(value) {
|
|
2071
2092
|
if (!ipv6Alphabet.test(value)) return false
|
|
2072
|
-
|
|
2073
|
-
new URL(`http://[${value}]`)
|
|
2074
|
-
return true
|
|
2075
|
-
} catch {
|
|
2076
|
-
return false
|
|
2077
|
-
}
|
|
2093
|
+
return canParseURL(`http://[${value}]`)
|
|
2078
2094
|
}
|
|
2079
2095
|
var $ZodIPv6 = /* @__PURE__ */ $constructor('$ZodIPv6', (inst, def) => {
|
|
2080
2096
|
def.pattern ?? (def.pattern = ipv6)
|
|
@@ -3293,85 +3309,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
3293
3309
|
payload.issues.push(issue(_iss))
|
|
3294
3310
|
}
|
|
3295
3311
|
}
|
|
3296
|
-
|
|
3297
|
-
if (result.issues.length) {
|
|
3298
|
-
payload.issues.push(...prefixIssues(key, result.issues))
|
|
3299
|
-
}
|
|
3300
|
-
}
|
|
3301
|
-
var $ZodProperties = /* @__PURE__ */ $constructor(
|
|
3302
|
-
'$ZodProperties',
|
|
3303
|
-
(inst, def) => {
|
|
3304
|
-
$ZodType.init(inst, def)
|
|
3305
|
-
$ZodCheck.init(inst, def)
|
|
3306
|
-
const memo = globalConfig.memoizer
|
|
3307
|
-
memo?.attach(inst)
|
|
3308
|
-
let entries
|
|
3309
|
-
const runShape = (payload, ctx) => {
|
|
3310
|
-
entries ??
|
|
3311
|
-
(entries = Reflect.ownKeys(def.shape).map((key) => [
|
|
3312
|
-
key,
|
|
3313
|
-
def.shape[key],
|
|
3314
|
-
]))
|
|
3315
|
-
const input = payload.value
|
|
3316
|
-
let proms
|
|
3317
|
-
for (const [key, schema] of entries) {
|
|
3318
|
-
const result = schema._zod.run({ value: input[key], issues: [] }, ctx)
|
|
3319
|
-
if (result instanceof Promise) {
|
|
3320
|
-
proms ?? (proms = [])
|
|
3321
|
-
proms.push(
|
|
3322
|
-
result.then((result) =>
|
|
3323
|
-
handlePropertiesResult(result, payload, key),
|
|
3324
|
-
),
|
|
3325
|
-
)
|
|
3326
|
-
} else {
|
|
3327
|
-
handlePropertiesResult(result, payload, key)
|
|
3328
|
-
}
|
|
3329
|
-
}
|
|
3330
|
-
if (proms)
|
|
3331
|
-
return Promise.all(proms).then(() => {
|
|
3332
|
-
return
|
|
3333
|
-
})
|
|
3334
|
-
return
|
|
3335
|
-
}
|
|
3336
|
-
inst._zod.parse = (payload, ctx) => {
|
|
3337
|
-
const input = payload.value
|
|
3338
|
-
if (
|
|
3339
|
-
input === null ||
|
|
3340
|
-
(typeof input !== 'object' && typeof input !== 'function')
|
|
3341
|
-
) {
|
|
3342
|
-
payload.issues.push({
|
|
3343
|
-
expected: 'object',
|
|
3344
|
-
code: 'invalid_type',
|
|
3345
|
-
input,
|
|
3346
|
-
inst,
|
|
3347
|
-
})
|
|
3348
|
-
return payload
|
|
3349
|
-
}
|
|
3350
|
-
if (ctx.direction === 'backward') ctx = { ...ctx, direction: 'forward' }
|
|
3351
|
-
if (memo) memo.alloc(inst, payload, input, ctx)
|
|
3352
|
-
const result = runShape(payload, ctx)
|
|
3353
|
-
return result instanceof Promise ? result.then(() => payload) : payload
|
|
3354
|
-
}
|
|
3355
|
-
inst._zod.check = (payload) => {
|
|
3356
|
-
if (payload.value == null) {
|
|
3357
|
-
payload.issues.push({
|
|
3358
|
-
expected: 'object',
|
|
3359
|
-
code: 'invalid_type',
|
|
3360
|
-
input: payload.value,
|
|
3361
|
-
inst,
|
|
3362
|
-
})
|
|
3363
|
-
return
|
|
3364
|
-
}
|
|
3365
|
-
return runShape(payload, {})
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
*[Symbol.iterator]() {
|
|
3370
|
-
yield this
|
|
3371
|
-
},
|
|
3372
|
-
},
|
|
3373
|
-
)
|
|
3374
|
-
// node_modules/.bun/zod@4.6.2/node_modules/zod/v4/core/memoizer.js
|
|
3312
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/memoizer.js
|
|
3375
3313
|
class $ZodCyclicError extends Error {
|
|
3376
3314
|
constructor() {
|
|
3377
3315
|
super(`Cannot parse a reference cycle that closes through a transform`)
|
|
@@ -3381,9 +3319,7 @@ class $ZodCyclicError extends Error {
|
|
|
3381
3319
|
var STATE = '~memo'
|
|
3382
3320
|
var NO_ISSUES = []
|
|
3383
3321
|
function isRef(value) {
|
|
3384
|
-
return
|
|
3385
|
-
value !== null && (typeof value === 'object' || typeof value === 'function')
|
|
3386
|
-
)
|
|
3322
|
+
return value !== null && typeof value === 'object'
|
|
3387
3323
|
}
|
|
3388
3324
|
function cloneIssues(issues) {
|
|
3389
3325
|
return issues.map((iss) =>
|
|
@@ -3432,9 +3368,6 @@ function isRecursive(inst, stack, resolve) {
|
|
|
3432
3368
|
check(def.catchall)
|
|
3433
3369
|
break
|
|
3434
3370
|
}
|
|
3435
|
-
case 'properties':
|
|
3436
|
-
merge(shape(def.shape, false))
|
|
3437
|
-
break
|
|
3438
3371
|
case 'array':
|
|
3439
3372
|
check(def.element)
|
|
3440
3373
|
break
|
|
@@ -3633,7 +3566,7 @@ function isBackEdge(ctx, value) {
|
|
|
3633
3566
|
const backEdges = ctx[STATE]?.backEdges
|
|
3634
3567
|
return backEdges !== undefined && isRef(value) && backEdges.has(value)
|
|
3635
3568
|
}
|
|
3636
|
-
// node_modules/.bun/zod@4.6.
|
|
3569
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/locales/en.js
|
|
3637
3570
|
var error = () => {
|
|
3638
3571
|
const Sizable = {
|
|
3639
3572
|
string: { unit: 'characters', verb: 'to have' },
|
|
@@ -3673,6 +3606,7 @@ var error = () => {
|
|
|
3673
3606
|
base64url: 'base64url-encoded string',
|
|
3674
3607
|
json_string: 'JSON string',
|
|
3675
3608
|
e164: 'E.164 number',
|
|
3609
|
+
currency_code: 'currency code',
|
|
3676
3610
|
credit_card: 'credit card number',
|
|
3677
3611
|
iban: 'IBAN',
|
|
3678
3612
|
jwt: 'JWT',
|
|
@@ -3762,7 +3696,7 @@ function en_default() {
|
|
|
3762
3696
|
localeError: error(),
|
|
3763
3697
|
}
|
|
3764
3698
|
}
|
|
3765
|
-
// node_modules/.bun/zod@4.6.
|
|
3699
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/registries.js
|
|
3766
3700
|
var _a2
|
|
3767
3701
|
class $ZodRegistry {
|
|
3768
3702
|
constructor() {
|
|
@@ -3810,12 +3744,15 @@ function registry() {
|
|
|
3810
3744
|
;(_a2 = globalThis).__zod_globalRegistry ??
|
|
3811
3745
|
(_a2.__zod_globalRegistry = registry())
|
|
3812
3746
|
var globalRegistry = globalThis.__zod_globalRegistry
|
|
3813
|
-
// node_modules/.bun/zod@4.6.
|
|
3747
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/api.js
|
|
3748
|
+
function snapshotChecks(def) {
|
|
3749
|
+
if (def.checks) def.checks = [...def.checks]
|
|
3750
|
+
return def
|
|
3751
|
+
}
|
|
3814
3752
|
function _string(Class, params) {
|
|
3815
|
-
return new Class(
|
|
3816
|
-
type: 'string',
|
|
3817
|
-
|
|
3818
|
-
})
|
|
3753
|
+
return new Class(
|
|
3754
|
+
snapshotChecks({ type: 'string', ...normalizeParams(params) }),
|
|
3755
|
+
)
|
|
3819
3756
|
}
|
|
3820
3757
|
function _email(Class, params) {
|
|
3821
3758
|
return new Class({
|
|
@@ -4055,11 +3992,9 @@ function _isoDuration(Class, params) {
|
|
|
4055
3992
|
})
|
|
4056
3993
|
}
|
|
4057
3994
|
function _number(Class, params) {
|
|
4058
|
-
return new Class(
|
|
4059
|
-
type: 'number',
|
|
4060
|
-
|
|
4061
|
-
...normalizeParams(params),
|
|
4062
|
-
})
|
|
3995
|
+
return new Class(
|
|
3996
|
+
snapshotChecks({ type: 'number', checks: [], ...normalizeParams(params) }),
|
|
3997
|
+
)
|
|
4063
3998
|
}
|
|
4064
3999
|
function _int(Class, params) {
|
|
4065
4000
|
return new Class({
|
|
@@ -4258,7 +4193,7 @@ function _check(fn, params) {
|
|
|
4258
4193
|
ch._zod.check = fn
|
|
4259
4194
|
return ch
|
|
4260
4195
|
}
|
|
4261
|
-
// node_modules/.bun/zod@4.6.
|
|
4196
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/to-json-schema.js
|
|
4262
4197
|
function assignProps(target, ...sources) {
|
|
4263
4198
|
for (const source of sources) {
|
|
4264
4199
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -4813,7 +4748,7 @@ var createStandardJSONSchemaMethod =
|
|
|
4813
4748
|
extractDefs(ctx, schema)
|
|
4814
4749
|
return finalize(ctx, schema)
|
|
4815
4750
|
}
|
|
4816
|
-
// node_modules/.bun/zod@4.6.
|
|
4751
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/core/json-schema-processors.js
|
|
4817
4752
|
var narrowMin = (agg, key, value) => {
|
|
4818
4753
|
if (agg[key] === undefined || value > agg[key]) agg[key] = value
|
|
4819
4754
|
}
|
|
@@ -5137,19 +5072,19 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
5137
5072
|
}),
|
|
5138
5073
|
)
|
|
5139
5074
|
}
|
|
5140
|
-
const
|
|
5141
|
-
const
|
|
5142
|
-
[
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
}
|
|
5150
|
-
|
|
5151
|
-
if (requiredKeys.
|
|
5152
|
-
json.required =
|
|
5075
|
+
const requiredKeys = []
|
|
5076
|
+
for (const key of Object.keys(shape)) {
|
|
5077
|
+
const field = def.shape[key]
|
|
5078
|
+
if (
|
|
5079
|
+
ctx.io === 'input'
|
|
5080
|
+
? inputOptin(field) === undefined
|
|
5081
|
+
: field._zod.optout === undefined
|
|
5082
|
+
) {
|
|
5083
|
+
requiredKeys.push(key)
|
|
5084
|
+
}
|
|
5085
|
+
}
|
|
5086
|
+
if (requiredKeys.length > 0) {
|
|
5087
|
+
json.required = requiredKeys
|
|
5153
5088
|
}
|
|
5154
5089
|
if (def.catchall?._zod.def.type === 'never') {
|
|
5155
5090
|
json.additionalProperties = false
|
|
@@ -5303,7 +5238,7 @@ var optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
5303
5238
|
const seen = ctx.seen.get(schema)
|
|
5304
5239
|
seen.ref = def.innerType
|
|
5305
5240
|
}
|
|
5306
|
-
// node_modules/.bun/zod@4.6.
|
|
5241
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/errors.js
|
|
5307
5242
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([
|
|
5308
5243
|
Object.prototype,
|
|
5309
5244
|
Error.prototype,
|
|
@@ -5367,7 +5302,7 @@ var ZodRealError = /* @__PURE__ */ $constructor(
|
|
|
5367
5302
|
},
|
|
5368
5303
|
)
|
|
5369
5304
|
|
|
5370
|
-
// node_modules/.bun/zod@4.6.
|
|
5305
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/parse.js
|
|
5371
5306
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError)
|
|
5372
5307
|
var parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError)
|
|
5373
5308
|
var safeParse = /* @__PURE__ */ _safeParse(ZodRealError)
|
|
@@ -5381,7 +5316,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError)
|
|
|
5381
5316
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError)
|
|
5382
5317
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError)
|
|
5383
5318
|
|
|
5384
|
-
// node_modules/.bun/zod@4.6.
|
|
5319
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/schemas.js
|
|
5385
5320
|
function _ensureDefaultLocale() {
|
|
5386
5321
|
if (!globalConfig.localeError) config(en_default())
|
|
5387
5322
|
}
|
|
@@ -6350,7 +6285,7 @@ function refine(fn, _params = {}) {
|
|
|
6350
6285
|
function superRefine(fn, params) {
|
|
6351
6286
|
return _superRefine(fn, params)
|
|
6352
6287
|
}
|
|
6353
|
-
// node_modules/.bun/zod@4.6.
|
|
6288
|
+
// node_modules/.bun/zod@4.6.4/node_modules/zod/v4/classic/iso.js
|
|
6354
6289
|
var exports_iso = {}
|
|
6355
6290
|
__export(exports_iso, {
|
|
6356
6291
|
ZodISODate: () => ZodISODate,
|