Skip to content

Commit e0985ac

Browse files
Eric Buessclaude
andcommitted
Merge dev: Fix critical docs source migration issue
Merging fix for 78+ "Documentation update failed" issues. CRITICAL FIX: Anthropic migrated documentation infrastructure - Domain: docs.anthropic.com → code.claude.com - URL structure: /en/docs/claude-code/ → /docs/en/ - Sitemap: /sitemap.xml → /docs/sitemap.xml Changes from dev branch: - Updated primary sitemap to code.claude.com/docs/sitemap.xml - Added support for new /docs/en/ URL pattern - Maintained backwards compatibility with legacy URLs - Successfully tested: 45/45 docs fetched (100% success) Result: - 44 documentation pages now syncing correctly - 15 new docs added (plugins, skills, gitlab-ci, etc.) - 3 deprecated docs removed - GitHub Actions will now succeed Verified working at ~/.claude-code-docs installation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2 parents fdb69dd + 80cf79d commit e0985ac

14 files changed

Lines changed: 388 additions & 253 deletions

docs/changelog.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,43 @@
88

99
# Changelog
1010

11+
## 2.0.41
12+
13+
- Added `model` parameter to prompt-based stop hooks, allowing users to specify a custom model for hook evaluation
14+
- Fixed slash commands from user settings being loaded twice, which could cause rendering issues
15+
- Fixed incorrect labeling of user settings vs project settings in command descriptions
16+
- Fixed crash when plugin command hooks timeout during execution
17+
- Fixed: Bedrock users no longer see duplicate Opus entries in the /model picker when using `--model haiku`
18+
- Fixed broken security documentation links in trust dialogs and onboarding
19+
- Fixed issue where pressing ESC to close the diff modal would also interrupt the model
20+
- Slash Commmands: Added CLAUDE_PROJECT_DIR and CLAUDE_PLUGIN_ROOT env vars to bash command processing
21+
- ctrl-r history search landing on a slash command no longer cancels the search
22+
- SDK: Support custom timeouts for hooks
23+
- Allow more safe git commands to run without approval
24+
- Plugins: Added support for sharing and installing output styles
25+
- Teleporting a session from web will automatically set the upstream branch
26+
27+
## 2.0.37
28+
29+
- Fixed how idleness is computed for notifications
30+
- Hooks: Added matcher values for Notification hook events
31+
- Output Styles: Added `keep-coding-instructions` option to frontmatter
32+
33+
## 2.0.36
34+
35+
- Fixed: DISABLE_AUTOUPDATER environment variable now properly disables package manager update notifications
36+
- 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+
1148
## 2.0.34
1249

1350
- VSCode Extension: Added setting to configure the initial permission mode for new conversations

docs/claude-code-on-the-web.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Claude Code on the web is available in research preview to:
2929

3030
* **Pro users**
3131
* **Max users**
32-
33-
Coming soon to Team and Enterprise premium seat users.
32+
* **Team premium seat users**
33+
* **Enterprise premium seat users**
3434

3535
## Getting started
3636

@@ -92,12 +92,21 @@ This command displays:
9292
The universal image includes pre-configured environments for:
9393

9494
* **Python**: Python 3.x with pip, poetry, and common scientific libraries
95-
* **Node.js**: Latest LTS versions with npm, yarn, and pnpm
95+
* **Node.js**: Latest LTS versions with npm, yarn, pnpm, and bun
96+
* **Ruby**: Versions 3.1.6, 3.2.6, 3.3.6 (default: 3.3.6) with gem, bundler, and rbenv for version management
97+
* **PHP**: Version 8.4.14
9698
* **Java**: OpenJDK with Maven and Gradle
9799
* **Go**: Latest stable version with module support
98100
* **Rust**: Rust toolchain with cargo
99101
* **C++**: GCC and Clang compilers
100102

103+
#### Databases
104+
105+
The universal image includes the following databases:
106+
107+
* **PostgreSQL**: Version 16
108+
* **Redis**: Version 7.0
109+
101110
### Environment configuration
102111

103112
When you start a session in Claude Code on the web, here's what happens under the hood:

docs/cli-reference.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,27 @@
2020

2121
Customize Claude Code's behavior with these command-line flags:
2222

23-
| Flag | Description | Example |
24-
| :------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------- |
25-
| `--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` |
23+
| Flag | Description | Example |
24+
| :------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------- |
25+
| `--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` |
4444

4545
<Tip>
4646
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
114114

115115
For detailed information about print mode (`-p`) including output formats,
116116
streaming, verbose logging, and programmatic usage, see the
117-
[SDK documentation](https://docs.claude.com/en/api/agent-sdk).
117+
[SDK documentation](https://docs.claude.com/en/docs/agent-sdk).
118118

119119
## See also
120120

@@ -123,4 +123,4 @@ streaming, verbose logging, and programmatic usage, see the
123123
* [Quickstart guide](/en/quickstart) - Getting started with Claude Code
124124
* [Common workflows](/en/common-workflows) - Advanced workflows and patterns
125125
* [Settings](/en/settings) - Configuration options
126-
* [SDK documentation](https://docs.claude.com/en/api/agent-sdk) - Programmatic usage and integrations
126+
* [SDK documentation](https://docs.claude.com/en/docs/agent-sdk) - Programmatic usage and integrations

0 commit comments

Comments
 (0)