diff --git a/CHANGELOG.md b/CHANGELOG.md index 478b0ad22..30a425180 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## 2.1.178 + +- Added `Tool(param:value)` syntax for permission rules to match a tool's input parameters (with `*` wildcard), e.g. `Agent(model:opus)` to block Opus subagents +- Skills in nested `.claude/skills` directories now load when working on files there; on a name clash, the nested skill appears as `:` so both stay available +- Nested `.claude/` directories: the agent, workflow, and output-style closest to the working directory now wins when names collide; project-scope workflow saves now target the closest existing `.claude/workflows/` +- Improved auto mode: subagent spawns are now evaluated by the classifier before launch, closing a gap where a subagent could request a blocked action without review +- Improved `/doctor` with consistent flat tree layout across all sections, clearer section status icons, and highlighted command names +- Improved the skill listing truncation warning to show how many skill descriptions are affected +- Changed the workflow prompt keyword to use a purple shimmer highlight and trigger only on explicit phrases like "run a workflow" or "workflow:", not on any mention of the word +- Improved Remote Control error messages: connection failures now show a persistent red "/rc failed" indicator in the footer, and the "not yet enabled" error now explains whether it's a gate, a check failure, stale entitlement, or org policy +- `/bug` now requires a description before submitting, and no longer uses model-refusal text as the GitHub issue title +- Fixed a crash (out-of-memory) when the CLI inherits a stale websocket/OAuth file-descriptor environment variable from a parent process +- Fixed Claude in Chrome silently failing to connect when the OAuth token belongs to a different account than the Claude Code login +- Fixed nested `.claude/skills` skills with directory-qualified names being blocked by permission prompts in non-interactive runs +- Fixed several subagent issues: viewing a subagent's transcript now shows tool results and live progress, messages sent while it finishes its turn are no longer dropped, and backgrounding a running subagent (ctrl+b) no longer restarts it from scratch +- Fixed `claude agents` workers failing with `401 Invalid bearer token` when the daemon was started from a shell with a custom API gateway via `ANTHROPIC_BASE_URL` and `ANTHROPIC_AUTH_TOKEN` +- Fixed compaction not honoring `--fallback-model`: compaction now falls back to the configured fallback model chain on overload or model-availability errors +- Fixed model requests continuing to fail with auth errors after credentials were refreshed outside the session, due to a stale cached request configuration +- Fixed background sessions created with `/bg` or `←←` after a turn finished showing "Working" forever in the agents list +- Fixed `CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1` preventing fresh marketplace installs from cloning +- Fixed MCP server-level specs (`mcp__server`, `mcp__server__*`, `mcp__*`) in subagent `disallowedTools` being silently ignored +- Fixed vim mode undo: `u` now steps through NORMAL/VISUAL-mode commands one at a time instead of merging commands in quick succession into a single undo step +- Fixed statusline links with custom URI schemes (e.g. `vscode://`) not opening when clicked in `claude agents` +- [VSCode] Fixed pressing Esc to dismiss a CJK IME candidate window canceling the running Claude task + ## 2.1.176 - Session titles are now generated in the language of your conversation (set the `language` setting to pin a specific language) diff --git a/feed.xml b/feed.xml index 7aab613c7..d6d4387d2 100644 --- a/feed.xml +++ b/feed.xml @@ -6,7 +6,35 @@ Anthropic - 2026-06-12T21:53:21Z + 2026-06-15T21:35:48Z + + https://github.com/anthropics/claude-code/releases/tag/v2.1.178 + Claude Code v2.1.178 + + 2026-06-15T21:35:48Z + <p>• Added Tool(param:value) syntax for permission rules to match a tool's input parameters (with * wildcard), e.g. Agent(model:opus) to block Opus subagents</p> +<p>• Skills in nested .claude/skills directories now load when working on files there; on a name clash, the nested skill appears as &lt;dir&gt;:&lt;name&gt; so both stay available</p> +<p>• Nested .claude/ directories: the agent, workflow, and output-style closest to the working directory now wins when names collide; project-scope workflow saves now target the closest existing .claude/workflows/</p> +<p>• Improved auto mode: subagent spawns are now evaluated by the classifier before launch, closing a gap where a subagent could request a blocked action without review</p> +<p>• Improved /doctor with consistent flat tree layout across all sections, clearer section status icons, and highlighted command names</p> +<p>• Improved the skill listing truncation warning to show how many skill descriptions are affected</p> +<p>• Changed the workflow prompt keyword to use a purple shimmer highlight and trigger only on explicit phrases like "run a workflow" or "workflow:", not on any mention of the word</p> +<p>• Improved Remote Control error messages: connection failures now show a persistent red "/rc failed" indicator in the footer, and the "not yet enabled" error now explains whether it's a gate, a check failure, stale entitlement, or org policy</p> +<p>• /bug now requires a description before submitting, and no longer uses model-refusal text as the GitHub issue title</p> +<p>• Fixed a crash (out-of-memory) when the CLI inherits a stale websocket/OAuth file-descriptor environment variable from a parent process</p> +<p>• Fixed Claude in Chrome silently failing to connect when the OAuth token belongs to a different account than the Claude Code login</p> +<p>• Fixed nested .claude/skills skills with directory-qualified names being blocked by permission prompts in non-interactive runs</p> +<p>• Fixed several subagent issues: viewing a subagent's transcript now shows tool results and live progress, messages sent while it finishes its turn are no longer dropped, and backgrounding a running subagent (ctrl+b) no longer restarts it from scratch</p> +<p>• Fixed claude agents workers failing with 401 Invalid bearer token when the daemon was started from a shell with a custom API gateway via ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN</p> +<p>• Fixed compaction not honoring --fallback-model: compaction now falls back to the configured fallback model chain on overload or model-availability errors</p> +<p>• Fixed model requests continuing to fail with auth errors after credentials were refreshed outside the session, due to a stale cached request configuration</p> +<p>• Fixed background sessions created with /bg or ←← after a turn finished showing "Working" forever in the agents list</p> +<p>• Fixed CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1 preventing fresh marketplace installs from cloning</p> +<p>• Fixed MCP server-level specs (mcp__server, mcp__server__*, mcp__*) in subagent disallowedTools being silently ignored</p> +<p>• Fixed vim mode undo: u now steps through NORMAL/VISUAL-mode commands one at a time instead of merging commands in quick succession into a single undo step</p> +<p>• Fixed statusline links with custom URI schemes (e.g. vscode://) not opening when clicked in claude agents</p> +<p>• [VSCode] Fixed pressing Esc to dismiss a CJK IME candidate window canceling the running Claude task</p> + https://github.com/anthropics/claude-code/releases/tag/v2.1.176 Claude Code v2.1.176 @@ -381,54 +409,4 @@ 2026-05-29T01:42:17Z <p>• Fixed an issue when using Opus 4.8 where thinking blocks were modified, leading to API errors.</p> - - https://github.com/anthropics/claude-code/releases/tag/v2.1.154 - Claude Code v2.1.154 - - 2026-05-28T18:00:47Z - <p>• Opus 4.8 is here! Now defaults to high effort · /effort xhigh for your hardest tasks</p> -<p>• Introducing dynamic workflows: ask Claude to create a workflow and it orchestrates work across tens to hundreds of agents in the background, so you can take on larger, more complex tasks. Run /workflows to view your runs</p> -<p>• Fast mode on Opus 4.8 is now available at a fraction of its previous cost: 2x the standard rate for 2.5x the speed</p> -<p>• The lean system prompt is now the default for all models except Haiku, Sonnet, and Opus 4.7 and earlier</p> -<p>• Claude now reserves the multiple-choice question prompt for decisions it genuinely cannot make itself, instead of asking when it already has enough context to proceed</p> -<p>• /simplify now runs a cleanup-only review (reuse, simplification, efficiency, altitude) and applies the fixes, instead of running the full /code-review --fix bug-hunting review</p> -<p>• Renamed the /effort slider labels from "Speed"/"Intelligence" to "Faster"/"Smarter" for clarity</p> -<p>• claude agents: type ! &lt;command&gt; to run a shell command as a background session you can attach to and detach from. Also available as claude --bg --exec '&lt;command&gt;'</p> -<p>• claude agents: /logout now signs you out instead of being sent to a background session</p> -<p>• ←← to open the agents view now works on Bedrock, Vertex, Foundry, and with telemetry disabled</p> -<p>• Claude in Chrome: pick which connected browser to use via /chrome → "Select browser…", or in-chat when a browser action runs with multiple connected</p> -<p>• Plugins can now declare defaultEnabled: false in plugin.json or a marketplace entry; enable them with /plugin or claude plugin enable. Dependencies of enabled plugins are still enabled automatically</p> -<p>• The /plugin Discover tab now pins plugins whose relevance signals match the current directory with a "suggested for this directory" annotation</p> -<p>• Streaming tool execution is now always enabled, including when telemetry is disabled or on Bedrock/Vertex/Foundry (previously behind a feature flag)</p> -<p>• Stdio MCP server subprocesses now receive CLAUDE_CODE_SESSION_ID and CLAUDECODE=1 in their environment</p> -<p>• claude mcp list/get now show unapproved .mcp.json servers as ⏸ Pending approval instead of auto-approving and connecting when output is piped</p> -<p>• /remote-control autocomplete now shows "Disconnect Remote Control" when Remote Control is already active</p> -<p>• Added Claude Opus 4.8 support and 4.7 → 4.8 migration guidance to the /claude-api skill</p> -<p>• Deprecated CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE (will be removed on 06/01). To use fast mode on Opus 4.6, switch with /model claude-opus-4-6[1m] and then /fast on</p> -<p>• Improved the auto-mode classifier's detection of data exfiltration, particularly bulk transfers of repository contents</p> -<p>• Fixed rm -rf $HOME not being blocked as a dangerous path when HOME has a trailing slash</p> -<p>• Fixed $TMPDIR resolving to different directories in sandboxed vs unsandboxed Bash commands within the same session</p> -<p>• Fixed unreadable highlighted-row text in claude agents when the Claude Code theme doesn't match the terminal background</p> -<p>• Fixed background-agent completion notifications triggering premature "out of context" behavior on some 1M-context models</p> -<p>• Fixed background-session classifier losing the user's goal when a scheduled /command fires</p> -<p>• Fixed pinned background sessions respawning every minute after a Claude Code update, causing repeated agent-start notifications and process churn at idle</p> -<p>• Fixed background sessions stuck at "blocked", "running", or "working" not retiring after the idle grace period</p> -<p>• Fixed subagents in background sessions bypassing the worktree-isolation guard and writing to the shared checkout</p> -<p>• Fixed orphaned claude --bg-pty-host processes spinning at 100% CPU after the daemon exits on macOS</p> -<p>• Fixed number key shortcuts not working for options shown below the divider in option dialogs</p> -<p>• Fixed worktree.baseRef: "head" resolving to the main checkout's HEAD instead of the current worktree's HEAD when spawning subagents or calling EnterWorktree from inside a linked worktree</p> -<p>• Fixed a stray leading space on wrapped lines when the previous line ended exactly at the terminal width</p> -<p>• Fixed intermittent terminal rendering corruption in VS Code by capping the number of distinct colors the thinking spinner produces</p> -<p>• Fixed plan file names including [Image #N] / [Pasted text #N] placeholders when a plan-mode prompt starts with pasted images or text</p> -<p>• Fixed a phantom expand/click affordance on colored tool output: short ANSI-colored lines that fit on screen no longer show a "ctrl+o to expand" hint</p> -<p>• Fixed a single invalid allowedMcpServers/deniedMcpServers entry in managed settings discarding all managed-settings policy; the bad entry is now dropped with a claude doctor warning</p> -<p>• Fixed API 400 errors on models that don't support the effort parameter when CLAUDE_CODE_ALWAYS_ENABLE_EFFORT is set</p> -<p>• Windows: Fixed update failures caused by claude.exe being in use showing a generic error instead of telling you to close other sessions and retry</p> -<p>• Removed the stale "&amp; for background" hint from the shortcuts help panel</p> -<p>• [VSCode] Auto mode no longer requires the bypass-permissions setting to appear in the mode picker, and a dismissable notice on the new-session screen explains auto mode the first time it's active</p> -<p>• Fixed the task panel below the prompt showing a stray unselectable "main" row when only a workflow is running</p> -<p>• Fixed /mcp tools list and tool detail rendering when MCP servers have long or multi-line tool names or long descriptions</p> -<p>• Fixed the /model picker not showing fast mode pricing on the Default option for API (pay-as-you-go) users when fast mode is on</p> -<p>• Fixed auto mode incorrectly blocking actions with "could not evaluate this action" when the safety classifier ran out of output tokens while reasoning</p> -