Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.261 ·

New per-phase CPU telemetry, gated behind CLAUDE_CODE_REMOTE

Remote sessions now report per-phase CPU usage split between CLI and tool subprocesses.

Under the hood No documentation found Internal Changes
JSON All of v2.1.261
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
TelemetryArea: what it touches
Internal ChangesKind: in v2.1.261,
Internal ChangesSection of the release

When the environment sets CLAUDE_CODE_REMOTE and the active transport is the remote/websocket-style transport class, Claude Code now reads the process's cgroup cpuacct usage file (/sys/fs/cgroup/cpuacct${d}/cpuacct.usage, located via /proc/self/cgroup) and compares it against process.cpuUsage() to split CPU time into CLI versus tool-subprocess buckets per session-state phase. This emits tengu_tool_cpu_by_phase telemetry, with fields like <phase>_wall_ms, <phase>_cli_cpu_ms, and <phase>_tools_cpu_ms, on state transitions (idle, idle_background, active, exit) and at exit, also stamping the event with the raw value of CLAUDE_CODE_BG_TASKS_REPORT_RUNNING. The instrumentation is skipped entirely unless CLAUDE_CODE_REMOTE is set.

Read from
Names in the bundletengu_tool_cpu_by_phase

See this entry in the whole of v2.1.261 →

Feedback