Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
568 changes: 284 additions & 284 deletions content/.metadata.json

Large diffs are not rendered by default.

44 changes: 0 additions & 44 deletions content/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,5 @@
# Changelog

## 2.1.88

- Added `CLAUDE_CODE_NO_FLICKER=1` environment variable to opt into flicker-free alt-screen rendering with virtualized scrollback
- Added `PermissionDenied` hook that fires after auto mode classifier denials — return `{retry: true}` to tell the model it can retry
- Added named subagents to `@` mention typeahead suggestions
- Fixed prompt cache misses in long sessions caused by tool schema bytes changing mid-session
- Fixed nested CLAUDE.md files being re-injected dozens of times in long sessions that read many files
- Fixed Edit/Write tools doubling CRLF on Windows and stripping Markdown hard line breaks (two trailing spaces)
- Fixed `StructuredOutput` schema cache bug causing ~50% failure rate in workflows with multiple schemas
- Fixed memory leak where large JSON inputs were retained as LRU cache keys in long-running sessions
- Fixed a potential out-of-memory crash when the Edit tool was used on very large files (>1 GiB)
- Fixed a crash when removing a message from very large session files (over 50MB)
- Fixed `--resume` crash when transcript contains a tool result from an older CLI version or interrupted write
- Fixed misleading "Rate limit reached" message when the API returned an entitlement error — now shows the actual error with actionable hints
- Fixed LSP server zombie state after crash — server now restarts on next request instead of failing until session restart
- Fixed hooks `if` condition filtering not matching compound commands (`ls && git push`) or commands with env-var prefixes (`FOO=bar git push`)
- Fixed prompt history entries containing CJK or emoji being silently dropped when they fall on a 4KB boundary in `~/.claude/history.jsonl`
- Fixed `/stats` losing historical data beyond 30 days when the stats cache format changes
- Fixed `/stats` undercounting tokens by excluding subagent/fork usage
- Fixed scrollback disappearing when scrolling up in long sessions
- Fixed collapsed search/read group badges duplicating in terminal scrollback during heavy parallel tool use
- Fixed notification `invalidates` not clearing the currently-displayed notification immediately
- Fixed prompt briefly disappearing after submit when background messages arrived during processing
- Fixed long `/btw` responses being clipped with no way to scroll — responses now render in a scrollable viewport
- Fixed Devanagari and other combining-mark text being truncated in assistant output
- Fixed rendering artifacts on main-screen terminals after layout shifts
- Fixed voice mode failing to request microphone permission on macOS Apple Silicon
- Fixed voice push-to-talk not activating for some modifier-combo bindings
- Fixed voice mode on Windows failing with "WebSocket upgrade rejected with HTTP 101"
- Fixed Shift+Enter submitting instead of inserting a newline on Windows Terminal Preview 1.25
- Fixed periodic UI jitter during streaming in iTerm2 when running inside tmux
- Fixed PowerShell tool incorrectly reporting failures when commands like `git push` wrote progress to stderr on Windows PowerShell 5.1
- Fixed SDK error result messages (`error_during_execution`, `error_max_turns`) to correctly set `is_error: true` with descriptive messages
- Fixed task notifications being lost when backgrounding a session with Ctrl+B
- Fixed PreToolUse/PostToolUse hooks not providing `file_path` as an absolute path for Write/Edit/Read tools
- Improved PowerShell tool prompt with version-appropriate syntax guidance (5.1 vs 7+)
- Thinking summaries are no longer generated by default in interactive sessions — set `showThinkingSummaries: true` in settings to restore
- Auto mode denied commands now show a notification and appear in `/permissions` → Recent tab
- `/env` now applies to PowerShell tool commands (previously only affected Bash)
- `/usage` now hides redundant "Current week (Sonnet only)" bar for Pro and Enterprise plans
- Collapsed tool summary now shows "Listed N directories" for ls/tree/du instead of "Read N files"
- Image paste no longer inserts a trailing space
- Pasting `!command` into an empty prompt now enters bash mode, matching typed `!` behavior

## 2.1.87

- Fixed messages in Cowork Dispatch not getting delivered
Expand Down
257 changes: 37 additions & 220 deletions content/blog/engineering/claude-code-best-practices.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/blog/engineering/claude-code-sandboxing.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Our new sandboxed bash tool and Claude Code on the web offer substantial improve
To get started with these tools:

1. Run `/sandbox` in Claude and check out [our docs](https://docs.claude.com/en/docs/claude-code/sandboxing) on how to configure this sandbox.
2. Go to [claude.com/code](http://claude.ai/redirect/website.v1.00086a34-31b8-49b6-afd7-84f7cb165327/code) to try out Claude Code on the web.
2. Go to [claude.com/code](http://claude.ai/redirect/website.v1.ddb1e512-304a-4cca-b2cd-e74c7451b966/code) to try out Claude Code on the web.

Or, if you're building your own agents, check out our [open-sourced sandboxing code](https://github.com/anthropic-experimental/sandbox-runtime), and consider integrating it into your work. We look forward to seeing what you build.

Expand Down
19 changes: 10 additions & 9 deletions content/claude-code-manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@anthropic-ai/claude-code",
"version": "2.1.88",
"version": "2.1.87",
"author": {
"name": "Anthropic",
"email": "support@anthropic.com"
},
"license": "SEE LICENSE IN README.md",
"_id": "@anthropic-ai/claude-code@2.1.88",
"_id": "@anthropic-ai/claude-code@2.1.87",
"maintainers": [
{
"name": "zak-anthropic",
Expand Down Expand Up @@ -73,22 +73,23 @@
"claude": "cli.js"
},
"dist": {
"shasum": "c22a001bea2241defb15d0124939836170389daf",
"tarball": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.88.tgz",
"fileCount": 20,
"integrity": "sha512-ukMtYZCi0I7cD3rt89rnXy20D/Zvk0Gj/SW60xYfz17zTslLz+VuhXw/KPb+2ndp3/ATadJdyNEqdKQlcNk7nQ==",
"shasum": "7727a2e69353a24eb9adf89b6134fd207c086a2a",
"tarball": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.87.tgz",
"fileCount": 19,
"integrity": "sha512-R40p85lv270MsOmuP0VrgZlsBnq6HIoW/aIrPwny6AfhPUmsChPNLkxv/F8Mf6g9iYpGNEfICt5CDw++tKZD0g==",
"signatures": [
{
"sig": "MEUCIHXjhm3IsYM1o1worSMkPW8rIHqSNsV6D08wJoIArNumAiEAtiif6ZPqt/ovlEXSM0sEc8NuCteOb+yIkDZcff2kFSk=",
"sig": "MEUCIFUWZDQOTg3MYfKwczjITo77nHxO+kAHVab08wmlIuaoAiEA3zSRCOGanzjrSsoq0dD1/EGiUo9kX3WLiIhR0F6tKrU=",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"unpackedSize": 102754401
"unpackedSize": 46604198
},
"type": "module",
"engines": {
"node": ">=18.0.0"
},
"gitHead": "baec21064a7d4725dd2c34ecab379b04e922973a",
"scripts": {
"prepare": "node -e \"if (!process.env.AUTHORIZED) { console.error('ERROR: Direct publishing is not allowed.\\nPlease see the release workflow documentation to publish this package.'); process.exit(1); }\""
},
Expand All @@ -115,7 +116,7 @@
"@img/sharp-linuxmusl-arm64": "^0.34.2"
},
"_npmOperationalInternal": {
"tmp": "tmp/claude-code_2.1.88_1774910207554_0.1190643563209497",
"tmp": "tmp/claude-code_2.1.87_1774748452104_0.7953736765342561",
"host": "s3://npm-registry-packages-npm-production"
}
}
2 changes: 1 addition & 1 deletion content/en/agent-sdk/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ SdkBeta = Literal["context-1m-2025-08-07"]
Use with the `betas` field in `ClaudeAgentOptions` to enable beta features.

<Warning>
The `context-1m-2025-08-07` beta is retired as of April 30, 2026. Requests using this header with Claude Sonnet 4.5 or Sonnet 4 will return a 400 error. To use a 1M-token context window, migrate to [Claude Sonnet 4.6 or Claude Opus 4.6](/docs/en/about-claude/models/overview), which include 1M context at standard pricing with no beta header required.
The `context-1m-2025-08-07` beta is retired as of April 30, 2026. Passing this header with Claude Sonnet 4.5 or Sonnet 4 has no effect, and requests that exceed the standard 200k-token context window return an error. To use a 1M-token context window, migrate to [Claude Sonnet 4.6 or Claude Opus 4.6](/docs/en/about-claude/models/overview), which include 1M context at standard pricing with no beta header required.
</Warning>

### `McpSdkServerConfig`
Expand Down
2 changes: 1 addition & 1 deletion content/en/agent-sdk/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,7 @@ type SdkBeta = "context-1m-2025-08-07";
```

<Warning>
The `context-1m-2025-08-07` beta is retired as of April 30, 2026. Requests using this value with Claude Sonnet 4.5 or Sonnet 4 will return a 400 error. To use a 1M-token context window, migrate to [Claude Sonnet 4.6 or Claude Opus 4.6](/docs/en/about-claude/models/overview), which include 1M context at standard pricing with no beta header required.
The `context-1m-2025-08-07` beta is retired as of April 30, 2026. Passing this value with Claude Sonnet 4.5 or Sonnet 4 has no effect, and requests that exceed the standard 200k-token context window return an error. To use a 1M-token context window, migrate to [Claude Sonnet 4.6 or Claude Opus 4.6](/docs/en/about-claude/models/overview), which include 1M context at standard pricing with no beta header required.
</Warning>

### `SlashCommand`
Expand Down
2 changes: 1 addition & 1 deletion content/en/api/cli/beta.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/download.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/retrieve_metadata.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/upload.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/completions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/completions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/download.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/retrieve_metadata.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/upload.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/completions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/completions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/download.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/retrieve_metadata.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/upload.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/completions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/completions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/models/retrieve.md

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions content/en/docs/claude-code/agent-teams.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,24 @@ Teams and tasks are stored locally:
* **Team config**: `~/.claude/teams/{team-name}/config.json`
* **Task list**: `~/.claude/tasks/{team-name}/`

Claude Code generates both of these automatically when you create a team and updates them as teammates join, go idle, or leave. The team config holds runtime state such as session IDs and tmux pane IDs, so don't edit it by hand or pre-author it: your changes are overwritten on the next state update.

To define reusable teammate roles, use [subagent definitions](#use-subagent-definitions-for-teammates) instead.

The team config contains a `members` array with each teammate's name, agent ID, and agent type. Teammates can read this file to discover other team members.

There is no project-level equivalent of the team config. A file like `.claude/teams/teams.json` in your project directory is not recognized as configuration; Claude treats it as an ordinary file.

### Use subagent definitions for teammates

When spawning a teammate, you can reference a [subagent](/en/sub-agents) type from any [subagent scope](/en/sub-agents#choose-the-subagent-scope): project, user, plugin, or CLI-defined. The teammate inherits that subagent's system prompt, tools, and model. This lets you define a role once, such as a security-reviewer or test-runner, and reuse it both as a delegated subagent and as an agent team teammate.

To use a subagent definition, mention it by name when asking Claude to spawn the teammate:

```text theme={null}
Spawn a teammate using the security-reviewer agent type to audit the auth module.
```

### Permissions

Teammates start with the lead's permission settings. If the lead runs with `--dangerously-skip-permissions`, all teammates do too. After spawning, you can change individual teammate modes, but you can't set per-teammate modes at spawn time.
Expand Down
2 changes: 2 additions & 0 deletions content/en/docs/claude-code/sub-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ The `--agents` flag accepts JSON with the same [frontmatter](#supported-frontmat
For security reasons, plugin subagents do not support the `hooks`, `mcpServers`, or `permissionMode` frontmatter fields. These fields are ignored when loading agents from a plugin. If you need them, copy the agent file into `.claude/agents/` or `~/.claude/agents/`. You can also add rules to [`permissions.allow`](/en/settings#permission-settings) in `settings.json` or `settings.local.json`, but these rules apply to the entire session, not just the plugin subagent.
</Note>

Subagent definitions from any of these scopes are also available to [agent teams](/en/agent-teams#use-subagent-definitions-for-teammates): when spawning a teammate, you can reference a subagent type and the teammate inherits its system prompt, tools, and model.

### Write subagent files

Subagent files use YAML frontmatter for configuration, followed by the system prompt in Markdown:
Expand Down
2 changes: 1 addition & 1 deletion content/en/release-notes/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ For updates to Claude Code, see the [complete CHANGELOG.md](https://github.com/a

### March 30, 2026
- We've raised the `max_tokens` cap to 300k on the [Message Batches API](/docs/en/build-with-claude/batch-processing#extended-output-beta) for Claude Opus 4.6 and Sonnet 4.6. Include the `output-300k-2026-03-24` beta header to generate longer single-turn outputs for long-form content, structured data, and large code generation tasks.
- We're retiring the 1M token context window beta for Claude Sonnet 4.5 and Claude Sonnet 4 on **April 30, 2026**. After that date, requests that include the `context-1m-2025-08-07` beta header on these models will return a 400 error. To continue using 1M context windows, migrate to [Claude Sonnet 4.6](/docs/en/about-claude/models/overview#latest-models-comparison) or [Claude Opus 4.6](/docs/en/about-claude/models/overview#latest-models-comparison), which support the full 1M token context window at standard pricing with no beta header required.
- We're retiring the 1M token context window beta for Claude Sonnet 4.5 and Claude Sonnet 4 on **April 30, 2026**. After that date, the `context-1m-2025-08-07` beta header will have no effect on these models, and requests that exceed the standard 200k-token context window will return an error. To continue using 1M context windows, migrate to [Claude Sonnet 4.6](/docs/en/about-claude/models/overview#latest-models-comparison) or [Claude Opus 4.6](/docs/en/about-claude/models/overview#latest-models-comparison), which support the full 1M token context window at standard pricing with no beta header required.

### March 18, 2026
- We've added model capability fields to the [Models API](/docs/en/api/models/list). `GET /v1/models` and `GET /v1/models/{model_id}` now return `max_input_tokens`, `max_tokens`, and a `capabilities` object. Query the API to discover what each model supports.
Expand Down
Loading