herdr support: report idle/working/blocked, resume command, release

This commit is contained in:
hermes committed 2026-10-06 15:15:22 +00:00
1 parent b223fd1f22
commit 789ee75a27
7 files changed
+287 -3

No files matched your search

+7
View File
@@ -173,6 +173,13 @@ poor proxy (context7: 2 tools, 1.1k tokens), the eager rule is schema size, not
`hx mcp-serve` runs hx as a stdio MCP server exposing the `lsp` tool (diagnostics, definition, references,
hover, symbols) to other clients.
## Herdr
Inside a [herdr](https://herdr.dev) pane (`HERDR_ENV=1`) hx reports `idle` / `working` / `blocked` (permission,
ask and choose prompts) to the sidebar, `herdr agent list` and `herdr agent wait`. It also reports
`hx --session <file>` as resume command, so a herdr server restart reopens the same session, and releases
the pane on quit. Outside herdr nothing happens.
## Machine interfaces
### Event stream (`hx -p "..." --mode json`)