Move the Claude Code internals from --help beside the modules relying on them

This commit is contained in:
2026-09-28 16:52:30 +02:00
parent 1be6ae8187
commit 44cf712dc8
8 changed files with 8 additions and 14 deletions
+1
View File
@@ -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")