releaseintermediate
[Release] anthropics/claude-code v2.1.162: v2.1.162
By ashwin-antgithub
View original on githubClaude Code v2.1.162 introduces improved session management with the `waitingFor` field in JSON output, enhanced slash command behavior with confirmation before execution, and a persistent Remote Control footer. The release fixes critical issues including read-only config directory handling, WebFetch permission precedence, Windows path matching in permission rules, and MCP timeout configuration. UI improvements include quieter startup messaging, full terminal-width status display, and better error reporting across agents, LSP tools, and cross-session messaging.
Key Points
- •Added `waitingFor` field to `claude agents --json` output to show what blocked sessions are waiting on (e.g., permission prompts)
- •Slash commands in autocomplete now fill into prompt instead of executing immediately; press Enter to run
- •Fixed critical startup hang when config directory is read-only by falling back to in-memory config and surfacing errors
- •WebFetch permission rules now correctly apply to preapproved domains with explicit rules taking precedence
- •Fixed Windows permission matching for backslash paths and case-variant paths; Read deny rules now properly hide files from Glob/Grep
- •MCP per-server timeout values below 1000ms are now ignored (falling back to defaults) instead of being floored to 1-second watchdog
- •LSP `workspaceSymbol` operation now accepts `query` parameter and properly returns results
- •Fixed `claude agents` status display to use full terminal width instead of truncating at 60-120 columns
- •Improved startup messaging with severity-based grouping, shorter warnings with concrete fixes, and persistent launch-prompt warnings
- •Fixed cross-session messaging (`SendMessage`) failures when `CLAUDE_CODE_TMPDIR` or `$TMPDIR` points to deep directories
Found this useful? Add it to a playbook for a step-by-step implementation guide.
Workflow Diagram
Start Process
Step A
Step B
Step C
Complete