Claude Code v2.1.0

変更項目: 109件

Added
Added automatic skill hot-reload - skills created or modified in ~/.claude/skills or .claude/skills are now immediately available without restarting the session
Added
Added language setting to configure Claude's response language (e.g., language: "japanese")

関連ドキュメント

Added
Added respectGitignore support in settings.json for per-project control over @-mention file picker behavior

関連ドキュメント

Added
Added IS_DEMO environment variable to hide email and organization from the UI, useful for streaming or recording sessions

関連ドキュメント

Added
Added wildcard pattern matching for Bash tool permissions using * at any position in rules (e.g., Bash(npm *), Bash(* install), Bash(git * main))
Added
Added unified Ctrl+B backgrounding for both bash commands and agents - pressing Ctrl+B now backgrounds all running foreground tasks simultaneously
Added
Added support for MCP list_changed notifications, allowing MCP servers to dynamically update their available tools, prompts, and resources without requiring reconnection

関連ドキュメント

Added
Added support for disabling specific agents using Task(AgentName) syntax in settings.json permissions or the --disallowedTools CLI flag
Added
Added hooks support to agent frontmatter, allowing agents to define PreToolUse, PostToolUse, and Stop hooks scoped to the agent's lifecycle
Added
Added hooks support for skill and slash command frontmatter
Added
Added new Vim motions: ; and , to repeat f/F/t/T motions, y operator for yank with yy/Y, p/P for paste, text objects (iw, aw, iW, aW, i", a", i', a', i(, a(, i[, a[, i{, a{), >> and << for indent/dedent, and J to join lines
Added
Added /plan command shortcut to enable plan mode directly from the prompt

関連ドキュメント

Added
Added --tools flag support in interactive mode to restrict which built-in tools Claude can use during interactive sessions

関連ドキュメント

Added
Added CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS environment variable to override the default file read token limit

関連ドキュメント

Added
Added support for YAML-style lists in frontmatter allowed-tools field for cleaner skill declarations

関連ドキュメント

Added
Added support for prompt and agent hook types from plugins (previously only command hooks were supported)
Added
Added Cmd+V support for image paste in iTerm2 (maps to Ctrl+V)
Added
Added left/right arrow key navigation for cycling through tabs in dialogs
Added
Added real-time thinking block display in Ctrl+O transcript mode
Added
Added filepath to full output in background bash task details dialog
Added
Added Skills as a separate category in the context visualization
Changed
Changed Shift+Enter to work out of the box in iTerm2, WezTerm, Ghostty, and Kitty without modifying terminal configs
Changed
Reduced permission prompts for complex bash commands
Improved
Improved CLI help output to display options and subcommands in alphabetical order for easier navigation

関連ドキュメント

Changed
Multiple optimizations to improve startup performance
Improved
Improved terminal rendering performance when using native installer or Bun, especially for text with emoji, ANSI codes, and Unicode characters

関連ドキュメント

Improved
Improved performance when reading Jupyter notebooks with many cells
Improved
Improved reliability for AskQuestion tool
Improved
Improved sed in-place edit commands to render as file edits with diff preview
Improved
Improved Claude to automatically continue when response is cut off due to output token limit, instead of showing an error message
Improved
Improved compaction reliability
Improved
Improved subagents (Task tool) to continue working after permission denial, allowing them to try alternative approaches
Improved
Improved skills to show progress while executing, displaying tool uses as they happen
Improved
Improved skills from /skills/ directories to be visible in the slash command menu by default (opt-out with user-invocable: false in frontmatter)

関連ドキュメント

Improved
Improved skill suggestions to prioritize recently and frequently used skills
Improved
Improved spinner feedback when waiting for the first response token
Improved
Improved token count display in spinner to include tokens from background agents
Improved
Improved incremental output for async agents to give the main thread more control and visibility
Improved
Improved permission prompt UX with Tab hint moved to footer, cleaner Yes/No input labels with contextual placeholders

関連ドキュメント

Improved
Improved the Claude in Chrome notification with shortened help text and persistent display until dismissed
Improved
Improved macOS screenshot paste reliability with TIFF format support
Changed
Changed "Interrupted" message color from red to grey for a less alarming appearance
Changed
[SDK] Changed minimum zod peer dependency to ^4.0.0
Changed
[VSCode] Added currently selected model name to the context menu
Changed
[VSCode] Added descriptive labels on auto-accept permission button (e.g., "Yes, allow npm for this project" instead of "Yes, and don't ask again")
Changed
[VSCode] Fixed paragraph breaks not rendering in markdown content
Changed
[VSCode] Fixed scrolling in the extension inadvertently scrolling the parent iframe
Changed
[Windows] Fixed issue with improper rendering
Removed
Removed permission prompt when entering plan mode - users can now enter plan mode without approval
Removed
Removed underline styling from image reference links
Fixed
Fixed pasted content being lost when replaying prompts from history using up arrow or Ctrl+R search
Fixed
Fixed Esc key with queued prompts to only move them to input without canceling the running task
Fixed
Fixed command search to prioritize exact and prefix matches on command names over fuzzy matches in descriptions
Fixed
Fixed PreToolUse hooks to allow updatedInput when returning ask permission decision, enabling hooks to act as middleware while still requesting user consent

関連ドキュメント

Fixed
Fixed plugin path resolution for file-based marketplace sources
Fixed
Fixed background tasks failing with "git repository not found" error for repositories with dots in their names
Fixed
Fixed Windows native installer silently failing when executable creation fails
Fixed
Fixed OAuth token refresh not triggering when server reports token expired but local expiration check disagrees
Fixed
Fixed session persistence getting stuck after transient server errors by recovering from 409 conflicts when the entry was actually stored
Fixed
Fixed session resume failures caused by orphaned tool results during concurrent tool execution
Fixed
Fixed a race condition where stale OAuth tokens could be read from the keychain cache during concurrent token refresh attempts
Fixed
Fixed AWS Bedrock subagents not inheriting EU/APAC cross-region inference model configuration, causing 403 errors when IAM permissions are scoped to specific regions
Fixed
Fixed API context overflow when background tasks produce large output by truncating to 30K chars with file path reference
Fixed
Fixed a hang when reading FIFO files by skipping symlink resolution for special file types
Fixed
Fixed terminal keyboard mode not being reset on exit in Ghostty, iTerm2, Kitty, and WezTerm
Fixed
Fixed Alt+B and Alt+F (word navigation) not working in iTerm2, Ghostty, Kitty, and WezTerm
Fixed
Fixed files created by the Write tool using hardcoded 0o600 permissions instead of respecting the system umask
Fixed
Fixed multi-line bash commands with backslash continuations being incorrectly split and flagged for permissions
Fixed
Fixed bash command prefix extraction to correctly identify subcommands after global options (e.g., git -C /path log now correctly matches Bash(git log:*) rules)
Fixed
Fixed pressing Enter after Tab-completing a slash command selecting a different command instead of submitting the completed one
Fixed
Fixed slash command argument hint flickering and inconsistent display when typing commands with arguments
Fixed
Fixed Claude sometimes redundantly invoking the Skill tool when running slash commands directly
Fixed
Fixed subagents sometimes not inheriting the parent's model by default
Fixed
Fixed duplicate Bash commands appearing in permission request option labels
Fixed
Fixed noisy output when background tasks complete - now shows clean completion message instead of raw output
Fixed
Fixed background task completion notifications to appear proactively with bullet point
Fixed
Fixed forked slash commands showing "AbortError" instead of "Interrupted" message when cancelled
Fixed
Fixed cursor disappearing after dismissing permission dialogs
Fixed
Fixed images in queued prompts showing as "[object Object]" when pressing Esc to cancel
Fixed
Fixed images being silently dropped when queueing messages while backgrounding a task
Fixed
Fixed large pasted images failing with "Image was too large" error
Fixed
Fixed extra blank lines in multiline prompts containing CJK characters (Japanese, Chinese, Korean)
Fixed
Fixed ultrathink keyword highlighting being applied to wrong characters when user prompt text wraps to multiple lines
Fixed
Fixed collapsed "Reading X files…" indicator incorrectly switching to past tense when thinking blocks appear mid-stream
Fixed
Fixed Bash read commands (like ls and cat) not being counted in collapsed read/search groups, causing groups to incorrectly show "Read 0 files"
Fixed
Fixed spinner token counter to properly accumulate tokens from subagents during execution
Fixed
Fixed memory leak in git diff parsing where sliced strings retained large parent strings
Fixed
Fixed feedback submission hanging indefinitely when network requests timeout
Fixed
Fixed search mode in plugin discovery and log selector views exiting when pressing up arrow
Fixed
Fixed hook success message showing trailing colon when hook has no output