feat: add --schema, --max-turns and rpc --ask
- hx -p --schema <file> validates the final answer against a JSON schema, with one retry that includes the validation errors - max_turns config key and --max-turns cap the main agent's model calls - hx --mode rpc --ask sends permission requests to the client instead of auto-allowing bash/write/edit calls Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
13d914c8c0
commit
dfec176f43
11 files changed
+599
-14
No files matched your search
@@ -11,6 +11,8 @@ cargo test -q -p hx-lens rust_analyzer_turn_end >>"$log" 2>&1 || { grep -E 'FAIL
|
||||
grep -oE 'ok. [0-9]+ passed' "$log" | awk '{s+=$2} END {print s" unit tests ok"}'
|
||||
cargo build -q
|
||||
sh tests/e2e.sh
|
||||
sh tests/schema_e2e.sh
|
||||
sh tests/rpc_ask_e2e.sh
|
||||
python3 tests/tui_smoke.py | grep -q FAIL && { echo "tui smoke FAIL"; exit 1; } || echo "tui smoke ok"
|
||||
sh tests/lens_e2e.sh
|
||||
sh tests/m4_e2e.sh
|
||||
|
||||
Reference in new issue
Block a user