auto-mode 3.0.0 → 3.1.0
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/README.md +2 -0
- package/dist/classify-edit-O8JNCVde.js +138 -0
- package/dist/classify-reply-message-CrZ6S-AR.js +28 -0
- package/dist/cli.js +3 -3
- package/dist/{classify-edit-B660kX2I.js → find-secret-DUEWxfkc.js} +945 -718
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/{parse-action-request-C55m5DlM.js → parse-action-request-DySYvZxl.js} +1099 -142
- package/dist/{schemas-B_w83Dze.js → schemas-B80Yxv6m.js} +19 -19
- package/dist/{start-judge-server-BlhDO_4A.js → start-judge-server-CDYdRR4I.js} +2 -2
- package/dist/start-judge-session-C0eRJFlg.js +1 -0
- package/dist/{start-judge-session-vxiG-kDp.js → start-judge-session-vhUxe9-V.js} +14482 -13079
- package/mods/auto-mode/contract/cli-limits.ts +0 -6
- package/mods/auto-mode/contract/message-origins.ts +1 -1
- package/mods/auto-mode/contract/scope-commands.ts +0 -2
- package/mods/auto-mode/hooks/is-scope-command.ts +1 -2
- package/mods/auto-mode/hooks/parse-decision.ts +0 -2
- package/mods/auto-mode/hooks/register.ts +0 -2
- package/package.json +23 -17
- package/policy/judge.md +2 -0
- package/dist/start-judge-session-B-KYQG13.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.bun/zod@4.6.
|
|
1
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/util.js
|
|
2
2
|
function getEnumValues(entries) {
|
|
3
3
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
4
4
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -532,7 +532,7 @@ function constantCatch(value) {
|
|
|
532
532
|
return fn;
|
|
533
533
|
}
|
|
534
534
|
//#endregion
|
|
535
|
-
//#region node_modules/.bun/zod@4.6.
|
|
535
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/core.js
|
|
536
536
|
var _a$1;
|
|
537
537
|
const _zodDesc = {
|
|
538
538
|
value: void 0,
|
|
@@ -638,7 +638,7 @@ function config(newConfig) {
|
|
|
638
638
|
return globalConfig;
|
|
639
639
|
}
|
|
640
640
|
//#endregion
|
|
641
|
-
//#region node_modules/.bun/zod@4.6.
|
|
641
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/errors.js
|
|
642
642
|
function _getMessage() {
|
|
643
643
|
const internals = this._zod;
|
|
644
644
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -807,7 +807,7 @@ function prettifyError(error) {
|
|
|
807
807
|
return lines.join("\n");
|
|
808
808
|
}
|
|
809
809
|
//#endregion
|
|
810
|
-
//#region node_modules/.bun/zod@4.6.
|
|
810
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/parse.js
|
|
811
811
|
function finalizeParams(callee, params) {
|
|
812
812
|
return {
|
|
813
813
|
callee: params?.callee ?? callee,
|
|
@@ -1010,7 +1010,7 @@ const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1010
1010
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
1011
1011
|
};
|
|
1012
1012
|
//#endregion
|
|
1013
|
-
//#region node_modules/.bun/zod@4.6.
|
|
1013
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/regexes.js
|
|
1014
1014
|
/**
|
|
1015
1015
|
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
1016
1016
|
* (timestamps embedded in the id). Use {@link cuid2} instead.
|
|
@@ -1082,7 +1082,7 @@ const boolean$1 = /^(?:true|false)$/i;
|
|
|
1082
1082
|
const lowercase = /^[^A-Z]*$/;
|
|
1083
1083
|
const uppercase = /^[^a-z]*$/;
|
|
1084
1084
|
//#endregion
|
|
1085
|
-
//#region node_modules/.bun/zod@4.6.
|
|
1085
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/checks.js
|
|
1086
1086
|
const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
|
|
1087
1087
|
var _a;
|
|
1088
1088
|
inst._zod ?? (inst._zod = {});
|
|
@@ -1378,7 +1378,7 @@ const $ZodCheckOverwrite = /*@__PURE__*/ $constructor("$ZodCheckOverwrite", (ins
|
|
|
1378
1378
|
};
|
|
1379
1379
|
});
|
|
1380
1380
|
//#endregion
|
|
1381
|
-
//#region node_modules/.bun/zod@4.6.
|
|
1381
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/doc.js
|
|
1382
1382
|
var Doc = class {
|
|
1383
1383
|
constructor(args = [], closed = {}) {
|
|
1384
1384
|
this.content = [];
|
|
@@ -1412,14 +1412,14 @@ var Doc = class {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
};
|
|
1414
1414
|
//#endregion
|
|
1415
|
-
//#region node_modules/.bun/zod@4.6.
|
|
1415
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/versions.js
|
|
1416
1416
|
const version = {
|
|
1417
1417
|
major: 4,
|
|
1418
1418
|
minor: 6,
|
|
1419
|
-
patch:
|
|
1419
|
+
patch: 7
|
|
1420
1420
|
};
|
|
1421
1421
|
//#endregion
|
|
1422
|
-
//#region node_modules/.bun/zod@4.6.
|
|
1422
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/schemas.js
|
|
1423
1423
|
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
1424
1424
|
var _a;
|
|
1425
1425
|
inst ?? (inst = {});
|
|
@@ -2874,7 +2874,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
2874
2874
|
}
|
|
2875
2875
|
}
|
|
2876
2876
|
//#endregion
|
|
2877
|
-
//#region node_modules/.bun/zod@4.6.
|
|
2877
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/memoizer.js
|
|
2878
2878
|
var $ZodCyclicError = class extends Error {
|
|
2879
2879
|
constructor() {
|
|
2880
2880
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -3127,7 +3127,7 @@ function isBackEdge(ctx, value) {
|
|
|
3127
3127
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
3128
3128
|
}
|
|
3129
3129
|
//#endregion
|
|
3130
|
-
//#region node_modules/.bun/zod@4.6.
|
|
3130
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/locales/en.js
|
|
3131
3131
|
const error = () => {
|
|
3132
3132
|
const Sizable = {
|
|
3133
3133
|
string: {
|
|
@@ -3235,7 +3235,7 @@ function en_default() {
|
|
|
3235
3235
|
return { localeError: error() };
|
|
3236
3236
|
}
|
|
3237
3237
|
//#endregion
|
|
3238
|
-
//#region node_modules/.bun/zod@4.6.
|
|
3238
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/registries.js
|
|
3239
3239
|
var _a;
|
|
3240
3240
|
var $ZodRegistry = class {
|
|
3241
3241
|
constructor() {
|
|
@@ -3282,7 +3282,7 @@ function registry() {
|
|
|
3282
3282
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
3283
3283
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
3284
3284
|
//#endregion
|
|
3285
|
-
//#region node_modules/.bun/zod@4.6.
|
|
3285
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/api.js
|
|
3286
3286
|
function snapshotChecks(def) {
|
|
3287
3287
|
if (def.checks) def.checks = [...def.checks];
|
|
3288
3288
|
return def;
|
|
@@ -3791,7 +3791,7 @@ function _check(fn, params) {
|
|
|
3791
3791
|
return ch;
|
|
3792
3792
|
}
|
|
3793
3793
|
//#endregion
|
|
3794
|
-
//#region node_modules/.bun/zod@4.6.
|
|
3794
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.js
|
|
3795
3795
|
function assignProps(target, ...sources) {
|
|
3796
3796
|
for (const source of sources) for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProp(target, key, source[key]);
|
|
3797
3797
|
return target;
|
|
@@ -4235,7 +4235,7 @@ const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params)
|
|
|
4235
4235
|
return finalize(ctx, schema);
|
|
4236
4236
|
};
|
|
4237
4237
|
//#endregion
|
|
4238
|
-
//#region node_modules/.bun/zod@4.6.
|
|
4238
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/json-schema-processors.js
|
|
4239
4239
|
const narrowMin = (agg, key, value) => {
|
|
4240
4240
|
if (agg[key] === void 0 || value > agg[key]) agg[key] = value;
|
|
4241
4241
|
};
|
|
@@ -4683,7 +4683,7 @@ const optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
4683
4683
|
seen.ref = def.innerType;
|
|
4684
4684
|
};
|
|
4685
4685
|
//#endregion
|
|
4686
|
-
//#region node_modules/.bun/zod@4.6.
|
|
4686
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/errors.js
|
|
4687
4687
|
const _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
4688
4688
|
function _lazyMethod(proto, key, make) {
|
|
4689
4689
|
Object.defineProperty(proto, key, {
|
|
@@ -4733,7 +4733,7 @@ const initializer = (inst, issues) => {
|
|
|
4733
4733
|
};
|
|
4734
4734
|
const ZodRealError = /*@__PURE__*/ $constructor("ZodError", initializer, void 0, { Parent: Error });
|
|
4735
4735
|
//#endregion
|
|
4736
|
-
//#region node_modules/.bun/zod@4.6.
|
|
4736
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/parse.js
|
|
4737
4737
|
const parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
4738
4738
|
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
4739
4739
|
const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -4747,7 +4747,7 @@ const safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
4747
4747
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
4748
4748
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
4749
4749
|
//#endregion
|
|
4750
|
-
//#region node_modules/.bun/zod@4.6.
|
|
4750
|
+
//#region node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
4751
4751
|
function _ensureDefaultLocale() {
|
|
4752
4752
|
if (!globalConfig.localeError) config(en_default());
|
|
4753
4753
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as string, s as number, u as strictObject } from "./schemas-
|
|
2
|
-
import { t as startJudgeSession } from "./start-judge-session-
|
|
1
|
+
import { d as string, s as number, u as strictObject } from "./schemas-B80Yxv6m.js";
|
|
2
|
+
import { t as startJudgeSession } from "./start-judge-session-vhUxe9-V.js";
|
|
3
3
|
import { randomBytes } from "node:crypto";
|
|
4
4
|
import { chmod, mkdir, rename, rm, stat } from "node:fs/promises";
|
|
5
5
|
import { dirname, join } from "node:path";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as startJudgeSession } from "./start-judge-session-vhUxe9-V.js";
|