Answer the architecture pass's first round

This commit is contained in:
2026-10-02 08:52:20 +02:00
parent 211524196b
commit d42c99c37d
15 changed files with 97 additions and 72 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
from loop_claude.claude_code.entries import assistant_parts, ends_stream, parse
from loop_claude.claude_code.entries import assistant_parts, ends_stream, parse_entry
from loop_claude.claude_code.session import Session
from loop_claude.claude_code.transcript import part_line
from loop_claude.effects import Effects
@@ -14,7 +14,7 @@ def run_worker(root: str, args: list[str], effects: Effects) -> Failure | None:
return Failure(f"could not start claude: {failure.strerror}")
done = False
for raw in proc.lines():
event = parse(raw) or {}
event = parse_entry(raw) or {}
done = done or ends_stream(event)
for part in assistant_parts(event):
if line := part_line(part, PRINTED_TOOL_INPUT):