Done.usage stays the last request (context size); usage_total is the sum
over all requests. Exposed in the NDJSON done line, RPC replies and hx stats.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- ToolResult carries images; agent attaches them after tool results; read returns real images
- inner codemode calls reported as Info notices via State::nested
- searchTools/ALL_TOOLS/describeNamespace, tools.x.json/.raw, exit()
- store()/load() across calls, max_output_tokens, 2-script concurrency cap
- script ends when settled; unawaited calls cancelled; failure lists calls made
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Tables are drawn as box-drawn grids that wrap to the terminal width,
falling back to header: value lists when too narrow.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- serve --acp applies --yolo / --auto (or `permissions` in config.toml)
like the TUI; before, every edit and command went to the orchestrator.
- claude no longer asks to run outside the sandbox. With the sandbox on it
stays confined; only a stored `claude:unsandboxed` rule or
--no-claude-sandbox lets it out, and yolo never does.
- The sandbox reads the files the global git config includes and may stat
$HOME and the directories above allowed paths and includeIf gitdir
paths (metadata only). git died on both before.
- hx mcp-serve logs a failed start to $TMPDIR/hx-mcp-serve.log; claude
hides its stderr and only reports "mcp__hx__approve not found".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The seatbelt profile hides $HOME, and claude_extra did not bring back
~/Library/Keychains. On macOS claude keeps its OAuth login there, so a
sandboxed claude failed with "Not logged in" and the only way out was
to let it run unconfined.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JSON-RPC on stdio with permission requests, hx/step|message|interrupt|compact
in and hx/step_result|intent|edit|usage|decision|plan out. Sessions persist by
id. Limits are soft: a limit stop is blocked with reason "limit" and no catch;
catch is only a validated name from the step's catches list.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Descriptions with an unquoted ': ' (e.g. floorplan) failed strict YAML and
the skill was silently dropped. Read single-line known keys instead; skills
with no recognised key are still skipped and reported in /skills.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
claude -p defaults to thinking display 'omitted' on new models, so the
thinking text was empty and the TUI showed 'thought · 0 words'. Pass
--thinking-display summarized (verified on claude 2.1.295) and drop empty
deltas.