You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed queued messages being incorrectly executed as bash commands
37
+
- Fixed input being lost when typing while a queued message is processed
38
+
39
+
## 2.0.35
40
+
41
+
- Improve fuzzy search results when searching commands
42
+
- Improved VS Code extension to respect `chat.fontSize` and `chat.fontFamily` settings throughout the entire UI, and apply font changes immediately without requiring reload
43
+
- Added `CLAUDE_CODE_EXIT_AFTER_STOP_DELAY` environment variable to automatically exit SDK mode after a specified idle duration, useful for automated workflows and scripts
44
+
- Migrated `ignorePatterns` from project config to deny permissions in the localSettings.
45
+
- Fixed messages returning null `stop_reason` and `stop_sequence` values
46
+
- Fixed menu navigation getting stuck on items with empty string or other falsy values (e.g., in the `/hooks` menu)
47
+
11
48
## 2.0.34
12
49
13
50
- VSCode Extension: Added setting to configure the initial permission mode for new conversations
|`--add-dir`| Add additional working directories for Claude to access (validates each path exists as a directory) |`claude --add-dir ../apps ../lib`|
26
-
|`--agents`| Define custom [subagents](/en/sub-agents) dynamically via JSON (see below for format) |`claude --agents '{"reviewer":{"description":"Reviews code","prompt":"You are a code reviewer"}}'`|
27
-
|`--allowedTools`| A list of tools that should be allowed without prompting the user for permission, in addition to [settings.json files](/en/settings)|`"Bash(git log:*)" "Bash(git diff:*)" "Read"`|
28
-
|`--disallowedTools`| A list of tools that should be disallowed without prompting the user for permission, in addition to [settings.json files](/en/settings)|`"Bash(git log:*)" "Bash(git diff:*)" "Edit"`|
29
-
|`--print`, `-p`| Print response without interactive mode (see [SDK documentation](https://docs.claude.com/en/api/agent-sdk) for programmatic usage details) |`claude -p "query"`|
30
-
|`--system-prompt`| Replace the entire system prompt with custom text (works in both interactive and print modes; added in v2.0.14) |`claude --system-prompt "You are a Python expert"`|
31
-
|`--system-prompt-file`| Load system prompt from a file, replacing the default prompt (print mode only; added in v1.0.54) |`claude -p --system-prompt-file ./custom-prompt.txt "query"`|
32
-
|`--append-system-prompt`| Append custom text to the end of the default system prompt (works in both interactive and print modes; added in v1.0.55) |`claude --append-system-prompt "Always use TypeScript"`|
33
-
|`--output-format`| Specify output format for print mode (options: `text`, `json`, `stream-json`) |`claude -p "query" --output-format json`|
34
-
|`--input-format`| Specify input format for print mode (options: `text`, `stream-json`) |`claude -p --output-format json --input-format stream-json`|
35
-
|`--include-partial-messages`| Include partial streaming events in output (requires `--print` and `--output-format=stream-json`) |`claude -p --output-format stream-json --include-partial-messages "query"`|
36
-
|`--verbose`| Enable verbose logging, shows full turn-by-turn output (helpful for debugging in both print and interactive modes) |`claude --verbose`|
37
-
|`--max-turns`| Limit the number of agentic turns in non-interactive mode |`claude -p --max-turns 3 "query"`|
38
-
|`--model`| Sets the model for the current session with an alias for the latest model (`sonnet` or `opus`) or a model's full name |`claude --model claude-sonnet-4-5-20250929`|
39
-
|`--permission-mode`| Begin in a specified [permission mode](/en/iam#permission-modes)|`claude --permission-mode plan`|
40
-
|`--permission-prompt-tool`| Specify an MCP tool to handle permission prompts in non-interactive mode |`claude -p --permission-prompt-tool mcp_auth_tool "query"`|
41
-
|`--resume`| Resume a specific session by ID, or by choosing in interactive mode |`claude --resume abc123 "query"`|
42
-
|`--continue`| Load the most recent conversation in the current directory |`claude --continue`|
43
-
|`--dangerously-skip-permissions`| Skip permission prompts (use with caution) |`claude --dangerously-skip-permissions`|
|`--add-dir`| Add additional working directories for Claude to access (validates each path exists as a directory) |`claude --add-dir ../apps ../lib`|
26
+
|`--agents`| Define custom [subagents](/en/sub-agents) dynamically via JSON (see below for format) |`claude --agents '{"reviewer":{"description":"Reviews code","prompt":"You are a code reviewer"}}'`|
27
+
|`--allowedTools`| A list of tools that should be allowed without prompting the user for permission, in addition to [settings.json files](/en/settings)|`"Bash(git log:*)" "Bash(git diff:*)" "Read"`|
28
+
|`--disallowedTools`| A list of tools that should be disallowed without prompting the user for permission, in addition to [settings.json files](/en/settings)|`"Bash(git log:*)" "Bash(git diff:*)" "Edit"`|
29
+
|`--print`, `-p`| Print response without interactive mode (see [SDK documentation](https://docs.claude.com/en/docs/agent-sdk) for programmatic usage details) |`claude -p "query"`|
30
+
|`--system-prompt`| Replace the entire system prompt with custom text (works in both interactive and print modes; added in v2.0.14) |`claude --system-prompt "You are a Python expert"`|
31
+
|`--system-prompt-file`| Load system prompt from a file, replacing the default prompt (print mode only; added in v1.0.54) |`claude -p --system-prompt-file ./custom-prompt.txt "query"`|
32
+
|`--append-system-prompt`| Append custom text to the end of the default system prompt (works in both interactive and print modes; added in v1.0.55) |`claude --append-system-prompt "Always use TypeScript"`|
33
+
|`--output-format`| Specify output format for print mode (options: `text`, `json`, `stream-json`) |`claude -p "query" --output-format json`|
34
+
|`--input-format`| Specify input format for print mode (options: `text`, `stream-json`) |`claude -p --output-format json --input-format stream-json`|
35
+
|`--include-partial-messages`| Include partial streaming events in output (requires `--print` and `--output-format=stream-json`) |`claude -p --output-format stream-json --include-partial-messages "query"`|
36
+
|`--verbose`| Enable verbose logging, shows full turn-by-turn output (helpful for debugging in both print and interactive modes) |`claude --verbose`|
37
+
|`--max-turns`| Limit the number of agentic turns in non-interactive mode |`claude -p --max-turns 3 "query"`|
38
+
|`--model`| Sets the model for the current session with an alias for the latest model (`sonnet` or `opus`) or a model's full name |`claude --model claude-sonnet-4-5-20250929`|
39
+
|`--permission-mode`| Begin in a specified [permission mode](/en/iam#permission-modes)|`claude --permission-mode plan`|
40
+
|`--permission-prompt-tool`| Specify an MCP tool to handle permission prompts in non-interactive mode |`claude -p --permission-prompt-tool mcp_auth_tool "query"`|
41
+
|`--resume`| Resume a specific session by ID, or by choosing in interactive mode |`claude --resume abc123 "query"`|
42
+
|`--continue`| Load the most recent conversation in the current directory |`claude --continue`|
43
+
|`--dangerously-skip-permissions`| Skip permission prompts (use with caution) |`claude --dangerously-skip-permissions`|
44
44
45
45
<Tip>
46
46
The `--output-format json` flag is particularly useful for scripting and
@@ -114,7 +114,7 @@ Claude Code provides three flags for customizing the system prompt, each serving
114
114
115
115
For detailed information about print mode (`-p`) including output formats,
116
116
streaming, verbose logging, and programmatic usage, see the
0 commit comments