Under the hood
New HTTP headers report recent tool-call durations and compaction status on bridge requests
What
Claude Code now sends three new HTTP headers on some requests: x-claude-code-compaction, x-claude-code-context-compacted, and x-claude-code-prev-tool-durations. The last one carries a compact, size-limited list of recent tool names and how long each took to run. These headers are only attached when the connection is related to a Remote Control bridge session.
Why
This lets the server side of a bridge connection see timing and compaction (conversation-history trimming) information about the session without the client having to be asked for it separately.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Added x-claude-code-request-class, x-claude-code-agent-type, x-claude-code-prev-tool-durations, x-claude-code-compaction and…