Move the Claude Code internals from --help beside the modules relying on them
This commit is contained in:
@@ -13,6 +13,7 @@ def run_worker(root, args):
|
||||
done = False
|
||||
for raw in proc.stdout:
|
||||
event = parse(raw) or {}
|
||||
# Claude Code 2.1.282's stream-json ends with a "result" event.
|
||||
if event.get("type") == "result":
|
||||
done = True
|
||||
elif event.get("type") == "assistant":
|
||||
|
||||
Reference in New Issue
Block a user