mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-12-05 04:51:51 +08:00
fix: improve static script review and default to model judgement
This commit is contained in:
1 parent
e47f367a7d
commit
6aa0c56d81
21 files changed
+2594
-101
No files matched your search
@@ -2514,7 +2514,7 @@ function route(m: string, path: string, seg: string[], q: URLSearchParams, b: Re
|
||||
fail_action: "allow",
|
||||
ask_timeout_seconds: 300,
|
||||
ask_timeout_action: "deny",
|
||||
incomplete_script_action: "ask",
|
||||
incomplete_script_action: "model",
|
||||
};
|
||||
if (path === "/intercept/judge" && m === "PUT") return { ok: true };
|
||||
if (path === "/intercept/judge/usage" && m === "GET")
|
||||
|
||||
@@ -1487,6 +1487,7 @@ export interface InterceptReviewInput {
|
||||
script_capture_status?: "not_applicable" | "complete" | "incomplete";
|
||||
script_files?: {
|
||||
path: string;
|
||||
source?: "file" | "command";
|
||||
sha256?: string;
|
||||
bytes?: number;
|
||||
content?: string;
|
||||
|
||||
Reference in new issue
Block a user