What
The Bash tool runs shell commands for Claude. It now measures how much time and processor work each command used:
- Measuring: building a command now returns a
cpuAccountJoinvalue, and the started process receivescpuTime,procCpuTimeandcpuAccountWindowoptions. The shell command itself receives astartedAtandcpuTimeoption. - Result figures: when a command exits, its result gets a
shellUsagerecord withwallMs(elapsed time),cpu(including whether a process was left running),procCpuMsandcpuAccount. - Only with a process id: the record is built only when the command has a process id.
Why
This adds resource accounting to each shell command's result. It looks like measurement for tracking. Nothing in the findings shows a change in what you see.