mirror of
https://github.com/anthropics/claude-code.git
synced 2026-04-19 18:32:42 +00:00
Compare commits
3 Commits
claude/sla
...
claude/fix
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
416b2c53c5 | ||
|
|
2192c86c20 | ||
|
|
dfd3494132 |
15
CHANGELOG.md
15
CHANGELOG.md
@@ -1,5 +1,20 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2.0.67
|
||||||
|
|
||||||
|
- Claude now suggests prompts to speed up your workflow: press Tab to accept or Enter to submit
|
||||||
|
- Thinking mode is now enabled by default for Opus 4.5
|
||||||
|
- Thinking mode configuration has moved to /config
|
||||||
|
- Added search functionality to `/permissions` command with `/` keyboard shortcut for filtering rules by tool name
|
||||||
|
- Show reason why autoupdater is disabled in `/doctor`
|
||||||
|
- Fixed false "Another process is currently updating Claude" error when running `claude update` while another instance is already on the latest version
|
||||||
|
- Fixed MCP servers from `.mcp.json` being stuck in pending state when running in non-interactive mode (`-p` flag or piped input)
|
||||||
|
- Fixed scroll position resetting after deleting a permission rule in `/permissions`
|
||||||
|
- Fixed word deletion (opt+delete) and word navigation (opt+arrow) not working correctly with non-Latin text such as Cyrillic, Greek, Arabic, Hebrew, Thai, and Chinese
|
||||||
|
- Fixed `claude install --force` not bypassing stale lock files
|
||||||
|
- Fixed consecutive @~/ file references in CLAUDE.md being incorrectly parsed due to markdown strikethrough interference
|
||||||
|
- Windows: Fixed plugin MCP servers failing due to colons in log directory paths
|
||||||
|
|
||||||
## 2.0.65
|
## 2.0.65
|
||||||
|
|
||||||
- Added ability to switch models while writing a prompt using alt+p (linux, windows), option+p (macos).
|
- Added ability to switch models while writing a prompt using alt+p (linux, windows), option+p (macos).
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ assistant: "[How assistant should respond and use this agent]"
|
|||||||
model: inherit
|
model: inherit
|
||||||
color: blue
|
color: blue
|
||||||
tools: ["Read", "Write", "Grep"]
|
tools: ["Read", "Write", "Grep"]
|
||||||
|
permissionMode: default
|
||||||
---
|
---
|
||||||
|
|
||||||
You are [agent role description]...
|
You are [agent role description]...
|
||||||
@@ -159,6 +160,41 @@ tools: ["Read", "Write", "Grep", "Bash"]
|
|||||||
- Testing: `["Read", "Bash", "Grep"]`
|
- Testing: `["Read", "Bash", "Grep"]`
|
||||||
- Full access: Omit field or use `["*"]`
|
- Full access: Omit field or use `["*"]`
|
||||||
|
|
||||||
|
### permissionMode (optional)
|
||||||
|
|
||||||
|
Control how permission prompts are handled for the agent.
|
||||||
|
|
||||||
|
**Format:** String
|
||||||
|
|
||||||
|
**Options:**
|
||||||
|
- `default` - Inherit permission mode from parent conversation (default behavior)
|
||||||
|
- `ask` - Always prompt for permission before tool use
|
||||||
|
- `accept-edits` - Auto-accept file edits without prompting
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
permissionMode: accept-edits
|
||||||
|
```
|
||||||
|
|
||||||
|
**Default:** If omitted, inherits from parent conversation settings
|
||||||
|
|
||||||
|
**Backwards compatibility:** `acceptEdits` is also accepted but `accept-edits` (kebab-case) is preferred for consistency with CLI flags.
|
||||||
|
|
||||||
|
**Use cases:**
|
||||||
|
- Agents performing many file operations: Use `accept-edits`
|
||||||
|
- Security-sensitive agents: Use `ask` to ensure oversight
|
||||||
|
- General purpose: Omit field to inherit conversation settings
|
||||||
|
|
||||||
|
**Example:**
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
name: code-generator
|
||||||
|
description: Use this agent when...
|
||||||
|
model: inherit
|
||||||
|
color: green
|
||||||
|
permissionMode: accept-edits
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
## System Prompt Design
|
## System Prompt Design
|
||||||
|
|
||||||
The markdown body becomes the agent's system prompt. Write in second person, addressing the agent directly.
|
The markdown body becomes the agent's system prompt. Write in second person, addressing the agent directly.
|
||||||
@@ -355,6 +391,7 @@ Output: [What to provide]
|
|||||||
| model | Yes | inherit/sonnet/opus/haiku | inherit |
|
| model | Yes | inherit/sonnet/opus/haiku | inherit |
|
||||||
| color | Yes | Color name | blue |
|
| color | Yes | Color name | blue |
|
||||||
| tools | No | Array of tool names | ["Read", "Grep"] |
|
| tools | No | Array of tool names | ["Read", "Grep"] |
|
||||||
|
| permissionMode | No | default/ask/accept-edits | accept-edits |
|
||||||
|
|
||||||
### Best Practices
|
### Best Practices
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user