jarrodwatts--claude-hud
691d27b207
Claude Code reports ultracode as a normal level (xhigh) in stdin, so the statusline recovers it from the transcript: the ultra_effort_enter / ultra_effort_exit attachment markers and the immediate /effort command output, latest signal wins. When active, the reported level is wrapped as ultracode(<level>), taken as-is rather than assumed to be xhigh. Also drop the ps-based parent-process --effort fallback (#471); the effort label now comes solely from Claude Code stdin, removing a subprocess spawn on every statusline refresh. Co-authored-by: Claude <noreply@anthropic.com>