Move the Claude Code internals from --help beside the modules relying on them
This commit is contained in:
@@ -71,6 +71,7 @@ def run_judge(root, args, prompt):
|
||||
return Failure(f"could not start claude: {failure.strerror}")
|
||||
if proc.returncode != 0:
|
||||
return Failure(proc.stderr.strip() or f"the judge exited {proc.returncode}")
|
||||
# Where Claude Code 2.1.282 puts the --json-schema output.
|
||||
return (parse(proc.stdout) or {}).get("structured_output")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user