v2.1.149
Claude CodeSummary
This release introduces detailed usage breakdowns via the /usage command and enables GFM task list rendering in Markdown output. Several critical security and stability fixes address issues related to PowerShell permissions, sandbox write access in git worktrees, and crashes involving large directory trees or specific tool calls.
New Features
- Added per-category breakdown in /usage to show limits driven by skills, subagents, plugins, and per-MCP-server cost.
- Enabled keyboard scrolling (arrows, j/k, PgUp/PgDn, Space, Home/End) in the /diff detail view.
- Markdown output now renders GFM task list checkboxes (- [ ] todo / - [x] done) instead of plain bullets.
- Enterprise: Added the allowAllClaudeAiMcps managed setting to load claude.ai cloud MCP connectors alongside managed-mcp.json.
Bug Fixes
- Fixed a PowerShell permission bypass where built-in cd functions (cd.., cd\, cd~) changed the working directory undetected, potentially allowing commands to read outside the workspace.
- Fixed the sandbox write allowlist in git worktrees to cover only the shared .git directory, correctly denying access to the entire main repository root (except hooks/ and config).
- Fixed PowerShell prefix/wildcard allow rules (e.g. PowerShell(dotnet.exe build *)) not pre-approving native executables and scripts.
- Fixed a permission-analysis gap where the parser trusted stale variable-tracking values for PWD/OLDPWD/DIRSTACK across cd/pushd/popd operations.
- Fixed the find command in the Bash tool exhausting the macOS system file/vnode table and crashing the host when processing large directory trees.
- Fixed the managed-settings approval dialog freezing the terminal after accepting settings at startup.
- Fixed /ultraplan and remote session creation failing with "Could not capture uncommitted changes" when the working tree genuinely has no uncommitted changes.
- Fixed otelHeadersHelper failing silently when the script path contains spaces; failures are now reported in /doctor and the debug log.
- Fixed the thinking spinner remaining amber across tool calls and persisting onto subsequent fresh thinking bursts.
- Fixed collapsed Bash output reporting an incorrect hidden-line count for outputs containing many short lines.
- Fixed slash-command argument-hint clipping trailing typed characters when the hint overflows the input box.
- Fixed argument-hint and progressive arg suggestions not appearing after Tab-completing a skill whose frontmatter name differs from its directory basename.
- Fixed the status bar incorrectly showing the user's baseline /effort setting instead of the effort level specified by skill/agent effort: frontmatter.
- Fixed the Ctrl+O transcript view freezing upon opening instead of correctly tailing new messages.
- Fixed editing a recalled prompt-history entry losing the edit when navigating further up/down using arrow keys.
- Fixed /config exit summary reporting phantom changes to auto-compact and theme when toggling unrelated settings.
- Fixed /insights crashing when cached session-meta files are missing optional fields.
- Fixed malformed PowerShell and History tool calls missing input being misclassified as reads during transcript collapsing.
- Fixed renaming a Remote Control session from claude.ai or the Claude mobile app not updating the local session name required for claude --resume.
- Fixed a race condition where a just-submitted prompt could appear twice in the up-arrow history.
- Fixed tapping the "Jump to bottom" pill in fullscreen mode not dismissing it immediately.
Improvements
- Improved /feedback reports to include the conversation history that occurred before context compaction, aiding triage of issues from earlier in long sessions.