M9: lens block, ctrl-p picker, /resume, wide side panel
Closes #78, closes #82, closes #83
This commit is contained in:
1 parent
b3960a09ed
commit
d7aeaf0bb9
11 files changed
+604
-24
No files matched your search
@@ -13,10 +13,13 @@ hx -c # continue last session in this directory
|
||||
```
|
||||
|
||||
TUI: `enter` send, `alt-enter`/`ctrl-j` newline, `esc` abort, `ctrl-o` expand tool output, `pgup`/`pgdn` scroll.
|
||||
`/help` lists commands: builtins (`/model`, `/provider`, `/compact`, `/clear`, `/lsp`, `/mcp`, `/skills`, `/quit`), MCP
|
||||
`/help` lists commands: builtins (`/model`, `/provider`, `/compact`, `/clear`, `/lsp`, `/mcp`, `/skills`, `/resume`, `/quit`), MCP
|
||||
prompts (`/server:prompt`) and skills. Typing `/` opens a completion popup for commands and their arguments
|
||||
(`up`/`down` select, `tab`/`enter` accept, `esc` close); `tab` completes `@file` (mentioned files are
|
||||
attached). Messages typed while the agent works are queued.
|
||||
attached). `ctrl-p` opens a picker over commands, skills, models and recent sessions (enter resumes one).
|
||||
Lens findings and affected-test results appear after each turn as a `┄ lens ┄` block. At 140+ columns,
|
||||
`/help`, `/skills`, `/lsp`, `/mcp` open in a side panel (`esc` closes). `NO_COLOR` disables colour,
|
||||
`HX_ASCII=1` uses ASCII symbols. Messages typed while the agent works are queued.
|
||||
|
||||
Config: `~/.hx/config.toml`, overridden per project by `.hx/config.toml`:
|
||||
|
||||
@@ -136,6 +139,7 @@ One JSON object per line on stdout. `type` is one of:
|
||||
| `tool_call` | `id`, `name`, `args` |
|
||||
| `tool_result` | `id`, `name`, `args`, `content`, `is_error` (blocked calls: `is_error: true`, content `blocked: <reason>`) |
|
||||
| `info` | `text` |
|
||||
| `injected` | `texts`: hook reports added to the conversation at turn end (lens diagnostics, affected tests) |
|
||||
| `done` (last line) | `error` (null on success), `usage`, `session` |
|
||||
|
||||
### RPC (`hx --mode rpc`)
|
||||
|
||||
Reference in new issue
Block a user