Fix wording, docs and style inconsistencies per audit of 0139564

This commit is contained in:
Ian Gulliver committed 2026-10-23 18:36:11 -07:00
1 parent 5a21396775
commit 681cc2b090
42 files changed
+469 -453

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ claude --output-format stream-json --input-format stream-json --verbose \
--permission-mode bypassPermissions --allow-dangerously-skip-permissions \
--settings '{"attribution":{"commit":"","pr":""}}' \
--mcp-config '{"mcpServers":{"byre":{"type":"sdk","name":"byre","alwaysLoad":true}}}' \
[--model M] [--effort E] [--session-id=ID] [--resume=SESSION_ID] [--resume-session-at=UUID] [--fork-session]
[--model M] [--effort E] [--append-system-prompt GUIDANCE] [--session-id=ID] [--resume=SESSION_ID] [--resume-session-at=UUID] [--fork-session]
```
- No `--print`; stream-json input implies non-interactive.
@@ -39,7 +39,7 @@ Either side sends `{"type":"control_request","request_id":ID,"request":{"subtype
Host → CLI:
- `initialize` must be first. It carries hook registrations: `{"hooks":{"Stop":[{"matcher":null,"hookCallbackIds":["hook_0"],"timeout":<seconds>}],...}}`. Without `timeout` the CLI abandons a hook callback after its default; the timer is a JavaScript `setTimeout`, so values past about 24 days (2^31 ms) fire at once.
- `initialize` must be first. It carries hook registrations: `{"hooks":{"Stop":[{"matcher":"","hookCallbackIds":["hook_0"],"timeout":<seconds>}],...}}`. Without `timeout` the CLI abandons a hook callback after its default; the timer is a JavaScript `setTimeout`, so values past about 24 days (2^31 ms) fire at once.
- `interrupt` ends the current turn; the turn's `result` follows almost immediately and a running Bash tool is killed. The session stays usable.
- `set_model` (`{"subtype":"set_model","model":M}`) switches the running process's model for later turns.
- `apply_flag_settings` (`{"subtype":"apply_flag_settings","settings":{"effortLevel":E}}`) switches its effort; `null` returns to the default. It answers success for any value, an unknown level included.