mirror of
https://github.com/anthropics/claude-code.git
synced 2026-05-16 14:42:44 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8bdbb7296d | ||
|
|
d61bfb5b56 |
63
CHANGELOG.md
63
CHANGELOG.md
@@ -1,5 +1,68 @@
|
||||
# Changelog
|
||||
|
||||
## 2.1.143
|
||||
|
||||
- Added plugin dependency enforcement: `claude plugin disable` now refuses when another enabled plugin depends on the target (with a copy-pasteable disable-chain hint), and `claude plugin enable` force-enables transitive dependencies
|
||||
- Added projected context cost (per-turn and per-invocation token estimates) to the `/plugin` marketplace browse pane
|
||||
- Added `worktree.bgIsolation: "none"` setting to let background sessions edit the working copy directly without `EnterWorktree`, for repos where worktrees are impractical
|
||||
- PowerShell tool now passes `-ExecutionPolicy Bypass`. Opt out with `CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICY=1`
|
||||
- Background sessions now preserve the model and effort level you set after waking from idle
|
||||
- Shift+Tab in attached agent sessions now includes auto mode in the cycle
|
||||
- Fixed a corrupt `.credentials.json` with a non-array `scopes` value hanging the CLI on startup or silently aborting OAuth token refresh
|
||||
- Fixed right-click paste in `claude agents` on Windows Terminal and WSL
|
||||
- Fixed stop hooks that block repeatedly looping forever — the turn now ends with a warning after 8 consecutive blocks (override via `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP`)
|
||||
- Fixed Esc/Ctrl+C not cancelling a pending `/loop` wakeup while Claude is idle between iterations
|
||||
- Fixed `/goal` evaluator firing while background shells or delegated subagents are still running
|
||||
- Fixed `NO_COLOR`/`FORCE_COLOR` in settings.json `env` stripping Claude Code's own UI colors — they now apply to subprocesses only
|
||||
- Fixed agent view spawning repeated PowerShell processes on Windows when listing sessions
|
||||
- Fixed `/bg` without a prompt sending "continue" to the forked session — the fork now waits for input
|
||||
- Fixed `--agent <name>` not finding plugin-contributed agents without the `plugin:` prefix
|
||||
- Fixed deleting a session from agent view not removing its transcript file
|
||||
- Fixed stale-fragment rendering when scrolling in attached background sessions on Windows Terminal
|
||||
- Fixed background agents false-positive worker-stall detection storm after host sleep or macOS App Nap
|
||||
- Fixed 5xx error messages pointing at status.claude.com instead of naming the configured gateway or cloud provider
|
||||
- The PowerShell tool is now enabled by default on Windows for Bedrock, Vertex, and Foundry users. Opt out with `CLAUDE_CODE_USE_POWERSHELL_TOOL=0`.
|
||||
- `claude agents` now accepts `--add-dir`, `--settings`, `--mcp-config`, and `--plugin-dir` and applies them to the dashboard and to background sessions dispatched from it
|
||||
- `claude agents` accepts `--permission-mode`, `--model`, `--effort`, and `--dangerously-skip-permissions` to set defaults for sessions dispatched from the view
|
||||
- `claude --bg --dangerously-skip-permissions` now persists across retire→wake
|
||||
- Fixed background sessions silently capturing IDE file references into the warm spare's input, which caused the reference to be prepended to the next prompt dispatched from `claude agents`
|
||||
- Worktree cleanup no longer falls back to `rm -rf` when `git worktree remove` fails, preventing loss of gitignored or in-progress files
|
||||
- Fixed background-job sessions on macOS getting "Operation not permitted" errors when reading files under `~/Documents`, `~/Desktop`, or `~/Downloads`, even with Full Disk Access granted.
|
||||
- `/bg` now preserves `--mcp-config`, `--settings`, `--add-dir`, `--plugin-dir`, and `--strict-mcp-config`, so backgrounded sessions keep their MCP servers and settings across respawn.
|
||||
- Background sessions launched from `claude agents` now honor `permissions.defaultMode` from settings.json (was previously overridden to auto mode)
|
||||
- Fixed: on Windows, pressing ← in `claude agents` while a response was streaming could leave the agents list unresponsive to all input
|
||||
- `/bg` and `←`-detach now preserve `--fallback-model`, so backgrounded workers degrade to the fallback model on overload instead of hard-failing.
|
||||
- `/bg` and `←`-detach now preserve `--allow-dangerously-skip-permissions`, so the forked worker keeps bypass-permissions available in its Shift+Tab cycle.
|
||||
- Fixed: background daemon spawn now falls back to the running binary when the `~/.local/bin/claude` launcher is missing or non-executable
|
||||
- Fixed `claude agents --allow-dangerously-skip-permissions` defaulting dispatched sessions to bypass mode instead of making it available in the permission cycle
|
||||
|
||||
## 2.1.142
|
||||
|
||||
- Added new `claude agents` flags: `--add-dir`, `--settings`, `--mcp-config`, `--plugin-dir`, `--permission-mode`, `--model`, `--effort`, and `--dangerously-skip-permissions` to configure dispatched background sessions
|
||||
- Fast mode now uses Opus 4.7 by default (previously Opus 4.6). Set `CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1` to pin fast mode to Opus 4.6
|
||||
- Plugins with a root-level `SKILL.md` and no `skills/` subdirectory are now surfaced as a skill
|
||||
- The `/plugin` details pane and `claude plugin details` now show LSP servers a plugin provides
|
||||
- `/web-setup` warns before replacing an existing GitHub App connection
|
||||
- Fixed `MCP_TOOL_TIMEOUT` not raising the per-request fetch timeout for remote HTTP and SSE MCP servers, which capped tool calls at 60 seconds regardless of the configured value
|
||||
- Fixed background sessions not recognizing pre-existing git worktrees, blocking Edit while EnterWorktree refused to create a duplicate
|
||||
- Fixed background sessions disappearing and daemon reconnect failing after macOS sleep/wake — the daemon now detects clock jumps instead of treating them as elapsed idle time
|
||||
- Fixed daemon not exiting cleanly after the binary is upgraded (e.g. `brew upgrade`), causing dispatched agents to crash-loop on the deleted path
|
||||
- Fixed background agents crash-looping when the Claude-in-Chrome extension is connected without a shared tab
|
||||
- Fixed clicking links in an attached `claude agents` session — the background worker's headless browser shim no longer applies while attached
|
||||
- Fixed `claude agents` "v to open in editor" using the daemon's default editor instead of your shell's `$EDITOR`/`$VISUAL`
|
||||
- Fixed `claude agents` deadlocking on Windows with network-drive working directories; Ctrl+C now works during startup
|
||||
- Fixed background-color bleed when attaching to a `claude agents` session from Apple Terminal or other 256-color-only terminals
|
||||
- Fixed `claude --bg --dangerously-skip-permissions` not persisting across retire/wake
|
||||
- Fixed session titles being derived from the URL when the first message is a link
|
||||
- Fixed redundant `set_model` requests from remote clients injecting duplicate `/model` breadcrumbs into the transcript
|
||||
- Fixed plugins using `skills: ["./"]` showing a false "path escapes plugin directory" error
|
||||
- Fixed plugin cache cleanup deleting the active plugin version directory when no installation metadata is present
|
||||
- Fixed `/plugin` browse pane showing "0 installs" for newly published plugins
|
||||
- Fixed plugin advisories not naming every `plugin.json` key that shadows a default folder
|
||||
- Improved reactive compaction: the first summarize attempt now seeds from the original request's overflow size, avoiding a wasted near-full-context retry
|
||||
- Improved hook configuration error: configuring a prompt- or agent-type hook for `SessionStart`/`Setup`/`SubagentStart` now shows a clear "use a command-type hook instead" error
|
||||
- Removed stale `/model claude-sonnet-4-20250514` suggestion from Usage Policy refusal messages
|
||||
|
||||
## 2.1.141
|
||||
|
||||
- Added `terminalSequence` field to hook JSON output so hooks can emit desktop notifications, window titles, and bells without a controlling terminal
|
||||
|
||||
Reference in New Issue
Block a user