@fro.bot/systematic 3.22.3 → 3.22.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 +3 -3
- package/dist/{index-99dtcz5j.js → index-aaygsm67.js} +55 -19
- package/dist/index.js +1408 -301
- package/dist/lib/opencode-operation-observer.d.ts +61 -2
- package/dist/lib/opencode-workflow-guard.d.ts +33 -1
- package/dist/lib/workflow-guard.d.ts +1 -1
- package/dist/pi.js +55 -19
- package/package.json +3 -3
- package/skills/ce-review/scripts/validate-review.mjs +67 -32
- package/skills/using-systematic/SKILL.md +1 -1
package/dist/cli.js
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
findCommandsInDir,
|
|
35
35
|
findSkillsInDir,
|
|
36
36
|
discoverSkills
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-aaygsm67.js";
|
|
38
38
|
var __defProp = Object.defineProperty;
|
|
39
39
|
var __returnValue = (v) => v;
|
|
40
40
|
function __exportSetter(name, newValue) {
|
|
@@ -50,7 +50,7 @@ var __export = (target, all) => {
|
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
// node_modules/.bun/zod@4.6.
|
|
53
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/iso.js
|
|
54
54
|
var exports_iso = {};
|
|
55
55
|
__export(exports_iso, {
|
|
56
56
|
ZodISODate: () => ZodISODate,
|
|
@@ -829,7 +829,7 @@ function buildCapabilitySnapshot(options) {
|
|
|
829
829
|
options.outputSink?.(serialized);
|
|
830
830
|
return snapshot;
|
|
831
831
|
}
|
|
832
|
-
// node_modules/.bun/zod@4.6.
|
|
832
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/iso.js
|
|
833
833
|
function datetime(params) {
|
|
834
834
|
return _isoDateTime(ZodISODateTime, params);
|
|
835
835
|
}
|
|
@@ -1521,7 +1521,7 @@ var CONFIG_PROTECTED_FIELD_PATHS = [
|
|
|
1521
1521
|
"categories.*.pi"
|
|
1522
1522
|
];
|
|
1523
1523
|
|
|
1524
|
-
// node_modules/.bun/zod@4.6.
|
|
1524
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/util.js
|
|
1525
1525
|
function getEnumValues(entries) {
|
|
1526
1526
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
1527
1527
|
const values = Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -1867,6 +1867,18 @@ function prefixIssues(path, issues) {
|
|
|
1867
1867
|
function unwrapMessage(message) {
|
|
1868
1868
|
return typeof message === "string" ? message : message?.message;
|
|
1869
1869
|
}
|
|
1870
|
+
function sizeCaps(defChecks) {
|
|
1871
|
+
const caps = [];
|
|
1872
|
+
for (const ch of defChecks ?? []) {
|
|
1873
|
+
const d = ch._zod.def;
|
|
1874
|
+
if (!/_(length|size)$|_equals$/.test(d.check))
|
|
1875
|
+
break;
|
|
1876
|
+
const max = d.maximum ?? d.length ?? d.size;
|
|
1877
|
+
if (max >= 0)
|
|
1878
|
+
caps.push([max, ch]);
|
|
1879
|
+
}
|
|
1880
|
+
return caps;
|
|
1881
|
+
}
|
|
1870
1882
|
function attachSchema(issues, start, inst) {
|
|
1871
1883
|
var _a;
|
|
1872
1884
|
for (let i = start;i < issues.length; i++) {
|
|
@@ -2064,7 +2076,7 @@ function constantCatch(value) {
|
|
|
2064
2076
|
return fn;
|
|
2065
2077
|
}
|
|
2066
2078
|
|
|
2067
|
-
// node_modules/.bun/zod@4.6.
|
|
2079
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/core.js
|
|
2068
2080
|
var _a;
|
|
2069
2081
|
var _zodDesc = { value: undefined, enumerable: false };
|
|
2070
2082
|
var _E = "captureStackTrace" in Error ? Error : null;
|
|
@@ -2182,7 +2194,7 @@ function config(newConfig) {
|
|
|
2182
2194
|
Object.assign(globalConfig, newConfig);
|
|
2183
2195
|
return globalConfig;
|
|
2184
2196
|
}
|
|
2185
|
-
// node_modules/.bun/zod@4.6.
|
|
2197
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/errors.js
|
|
2186
2198
|
function _getMessage() {
|
|
2187
2199
|
const internals = this._zod;
|
|
2188
2200
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -2297,7 +2309,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
2297
2309
|
return fieldErrors;
|
|
2298
2310
|
}
|
|
2299
2311
|
|
|
2300
|
-
// node_modules/.bun/zod@4.6.
|
|
2312
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/parse.js
|
|
2301
2313
|
function finalizeParams(callee, params) {
|
|
2302
2314
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
2303
2315
|
}
|
|
@@ -2444,7 +2456,7 @@ var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
2444
2456
|
var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
2445
2457
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
2446
2458
|
};
|
|
2447
|
-
// node_modules/.bun/zod@4.6.
|
|
2459
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/regexes.js
|
|
2448
2460
|
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
2449
2461
|
var cuid2 = /^[0-9a-z]+$/;
|
|
2450
2462
|
var ulid = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
|
|
@@ -2502,7 +2514,7 @@ var boolean2 = /^(?:true|false)$/i;
|
|
|
2502
2514
|
var lowercase = /^[^A-Z]*$/;
|
|
2503
2515
|
var uppercase = /^[^a-z]*$/;
|
|
2504
2516
|
|
|
2505
|
-
// node_modules/.bun/zod@4.6.
|
|
2517
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/checks.js
|
|
2506
2518
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2507
2519
|
var _a;
|
|
2508
2520
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2818,7 +2830,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2818
2830
|
};
|
|
2819
2831
|
});
|
|
2820
2832
|
|
|
2821
|
-
// node_modules/.bun/zod@4.6.
|
|
2833
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/doc.js
|
|
2822
2834
|
class Doc {
|
|
2823
2835
|
constructor(args = [], closed = {}) {
|
|
2824
2836
|
this.content = [];
|
|
@@ -2860,14 +2872,14 @@ ${content.join(`
|
|
|
2860
2872
|
}
|
|
2861
2873
|
}
|
|
2862
2874
|
|
|
2863
|
-
// node_modules/.bun/zod@4.6.
|
|
2875
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/versions.js
|
|
2864
2876
|
var version = {
|
|
2865
2877
|
major: 4,
|
|
2866
2878
|
minor: 6,
|
|
2867
|
-
patch:
|
|
2879
|
+
patch: 7
|
|
2868
2880
|
};
|
|
2869
2881
|
|
|
2870
|
-
// node_modules/.bun/zod@4.6.
|
|
2882
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/schemas.js
|
|
2871
2883
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2872
2884
|
var _a;
|
|
2873
2885
|
inst ?? (inst = {});
|
|
@@ -3416,6 +3428,29 @@ var $ZodNever = /* @__PURE__ */ $constructor("$ZodNever", (inst, def) => {
|
|
|
3416
3428
|
return payload;
|
|
3417
3429
|
};
|
|
3418
3430
|
});
|
|
3431
|
+
function capSize(inst, size) {
|
|
3432
|
+
const caps = sizeCaps(inst._zod.def.checks);
|
|
3433
|
+
if (!caps.length)
|
|
3434
|
+
return;
|
|
3435
|
+
const cap = Math.min(...caps.map((c) => c[0]));
|
|
3436
|
+
const parse = inst._zod.parse;
|
|
3437
|
+
inst._zod.parse = (payload, ctx) => {
|
|
3438
|
+
const n = size(payload.value);
|
|
3439
|
+
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
3440
|
+
for (const [max, ch] of sizeCaps(inst._zod.def.checks)) {
|
|
3441
|
+
if (n > max && ch._zod.def.when(payload)) {
|
|
3442
|
+
const start = payload.issues.length;
|
|
3443
|
+
ch._zod.check(payload);
|
|
3444
|
+
payload.issues[start].continue = false;
|
|
3445
|
+
attachSchema(payload.issues, start, inst);
|
|
3446
|
+
return payload;
|
|
3447
|
+
}
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
3450
|
+
return parse(payload, ctx);
|
|
3451
|
+
};
|
|
3452
|
+
}
|
|
3453
|
+
var arraySize = (input) => Array.isArray(input) ? input.length : -1;
|
|
3419
3454
|
function handleArrayResult(result, final, index) {
|
|
3420
3455
|
if (result.issues.length) {
|
|
3421
3456
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
@@ -3459,6 +3494,7 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
3459
3494
|
}
|
|
3460
3495
|
return payload;
|
|
3461
3496
|
};
|
|
3497
|
+
capSize(inst, arraySize);
|
|
3462
3498
|
});
|
|
3463
3499
|
function handlePropertyResult(result, final, key, input, optin, optout) {
|
|
3464
3500
|
const isPresent = key in input;
|
|
@@ -4479,7 +4515,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4479
4515
|
payload.issues.push(issue(_iss));
|
|
4480
4516
|
}
|
|
4481
4517
|
}
|
|
4482
|
-
// node_modules/.bun/zod@4.6.
|
|
4518
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/memoizer.js
|
|
4483
4519
|
class $ZodCyclicError extends Error {
|
|
4484
4520
|
constructor() {
|
|
4485
4521
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -4748,7 +4784,7 @@ function isBackEdge(ctx, value) {
|
|
|
4748
4784
|
const backEdges = ctx[STATE]?.backEdges;
|
|
4749
4785
|
return backEdges !== undefined && isRef(value) && backEdges.has(value);
|
|
4750
4786
|
}
|
|
4751
|
-
// node_modules/.bun/zod@4.6.
|
|
4787
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/locales/en.js
|
|
4752
4788
|
var error = () => {
|
|
4753
4789
|
const Sizable = {
|
|
4754
4790
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -4870,7 +4906,7 @@ function en_default() {
|
|
|
4870
4906
|
localeError: error()
|
|
4871
4907
|
};
|
|
4872
4908
|
}
|
|
4873
|
-
// node_modules/.bun/zod@4.6.
|
|
4909
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/registries.js
|
|
4874
4910
|
var _a2;
|
|
4875
4911
|
class $ZodRegistry {
|
|
4876
4912
|
constructor() {
|
|
@@ -4917,7 +4953,7 @@ function registry() {
|
|
|
4917
4953
|
}
|
|
4918
4954
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
4919
4955
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
4920
|
-
// node_modules/.bun/zod@4.6.
|
|
4956
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/api.js
|
|
4921
4957
|
function snapshotChecks(def) {
|
|
4922
4958
|
if (def.checks)
|
|
4923
4959
|
def.checks = [...def.checks];
|
|
@@ -5365,7 +5401,7 @@ function _check(fn, params) {
|
|
|
5365
5401
|
ch._zod.check = fn;
|
|
5366
5402
|
return ch;
|
|
5367
5403
|
}
|
|
5368
|
-
// node_modules/.bun/zod@4.6.
|
|
5404
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.js
|
|
5369
5405
|
function assignProps(target, ...sources) {
|
|
5370
5406
|
for (const source of sources) {
|
|
5371
5407
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -5888,7 +5924,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
5888
5924
|
extractDefs(ctx, schema);
|
|
5889
5925
|
return finalize(ctx, schema);
|
|
5890
5926
|
};
|
|
5891
|
-
// node_modules/.bun/zod@4.6.
|
|
5927
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/json-schema-processors.js
|
|
5892
5928
|
var narrowMin = (agg, key, value) => {
|
|
5893
5929
|
if (agg[key] === undefined || value > agg[key])
|
|
5894
5930
|
agg[key] = value;
|
|
@@ -6413,7 +6449,7 @@ var optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
6413
6449
|
const seen = ctx.seen.get(schema);
|
|
6414
6450
|
seen.ref = def.innerType;
|
|
6415
6451
|
};
|
|
6416
|
-
// node_modules/.bun/zod@4.6.
|
|
6452
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/errors.js
|
|
6417
6453
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
6418
6454
|
function _lazyMethod(proto, key, make) {
|
|
6419
6455
|
Object.defineProperty(proto, key, {
|
|
@@ -6458,7 +6494,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, undefi
|
|
|
6458
6494
|
Parent: Error
|
|
6459
6495
|
});
|
|
6460
6496
|
|
|
6461
|
-
// node_modules/.bun/zod@4.6.
|
|
6497
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/parse.js
|
|
6462
6498
|
var parse4 = /* @__PURE__ */ _parse(ZodRealError);
|
|
6463
6499
|
var parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
6464
6500
|
var safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -6472,7 +6508,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
6472
6508
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
6473
6509
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
6474
6510
|
|
|
6475
|
-
// node_modules/.bun/zod@4.6.
|
|
6511
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
6476
6512
|
function _ensureDefaultLocale() {
|
|
6477
6513
|
if (!globalConfig.localeError)
|
|
6478
6514
|
config(en_default());
|