Add ACP agent steps, JUnit reports and session detail screen

- acp.rs: ACP client for hx serve --acp, hx/* events into the event table
- tests/fake_acp_hx.py: Python fake hx for the runner tests
- runner.rs: agent steps, blocked catches, failure context, junit test events
- junit.rs: JUnit XML parser (counts, failing tests, locations)
- detail.rs + tui/session.rs: session detail screen with machine view
- tui: enter/esc navigation, pagers for test output, diff and transcript

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
johannesandClaude Sonnet 5.5 committed 2026-11-14 12:14:25 +01:00
1 parent d66a014bc5
commit 5b659fa8ba
14 files changed
+2676 -91

No files matched your search

+12
View File
@@ -183,6 +183,18 @@ impl Machine {
),
RunOn::Computer | RunOn::Human => {}
}
if let Some(r) = &st.report {
ensure!(
r == "junit",
"state {n:?} step {:?}: unknown report format {r:?} (only junit)",
st.name
);
ensure!(
st.run == RunOn::Computer,
"state {n:?} step {:?}: only computer steps can have a report",
st.name
);
}
if let Some(f) = &st.fail_as {
ensure!(
s.catch.contains_key(f),