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:
1 parent
d66a014bc5
commit
5b659fa8ba
14 files changed
+2676
-91
No files matched your search
@@ -43,6 +43,15 @@ kind = "cmd"
|
||||
command = "python3 /work/adapters/gitea.py"
|
||||
```
|
||||
|
||||
## State-machine sessions and the TUI
|
||||
|
||||
`orch` without a subcommand opens the TUI: sessions overview (`enter` on a row opens the session detail, `esc` goes
|
||||
back; `t` full test output, `d` diff, `l` event transcript, `o` open the worktree in hx). It reads `.hx/orch.db` of the
|
||||
current directory. `orch session --repo . --machine task --name NAME [--profile P]` creates a session and runs it.
|
||||
Machines are TOML files in `.hx/machines/` or `~/.hx/machines/` (examples in `examples/machines/`). A `computer` step
|
||||
with `report = "junit"` writes its JUnit XML to `$ORCH_REPORT` (also available as `{{report}}` in `cmd`); orch parses
|
||||
it into counts and failing tests. See ORCHESTRATOR.md for the whole design.
|
||||
|
||||
## More
|
||||
|
||||
- [docs/cmd-protocol.md](docs/cmd-protocol.md): task sources and result sinks as external commands (+ JSON schema)
|
||||
|
||||
Reference in new issue
Block a user