docs: sync to Claude Code v2.1.187 (#146)

* docs: sync to Claude Code v2.1.187

Sync the delta from v2.1.179 to v2.1.187 across six modules.

- slash-commands: reclassify `/review <pr>` as a supported PR-review entry
  point (same engine as `/code-review medium`, v2.1.186), no longer deprecated
- advanced-features: `!` bash output now auto-responds (v2.1.186);
  `/config key=value` shorthand + `--help` (v2.1.181/.183) and menu key
  behavior; built-in intent-based auto-mode blocks for destructive git/IaC
  commands (v2.1.183); `sandbox.credentials` / `sandbox.allowAppleEvents`
- subagents: `teammateMode: "iterm2"` display mode (v2.1.186)
- memory: `attribution.sessionUrl` setting (v2.1.183)
- mcp: `claude mcp login` / `claude mcp logout` CLI auth (v2.1.186)
- cli: `respondToBashCommands` setting; new env vars
  `CLAUDE_CLIENT_PRESENCE_FILE`, `CLAUDE_CODE_MAX_RETRIES` (cap 15),
  `CLAUDE_CODE_RETRY_WATCHDOG`, `CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT`

Footers on all touched files bumped to v2.1.187.

* fix(advanced-features): correct respondToBashCommands version framing

The ! bash auto-response feature landed in v2.1.186 (confirmed against the
official changelog). The previous 'Since v2.1.187 (changed in v2.1.186)'
wording was misleading and inconsistent with 10-cli/README.md, which
correctly tags respondToBashCommands as v2.1.186.
This commit is contained in:
Luong NGUYEN
2026-06-24 15:46:07 +02:00
committed by GitHub
parent 8143e37d1b
commit 6b9ce6463f
6 changed files with 66 additions and 18 deletions

View File

@@ -707,6 +707,7 @@ Control how teammate activity is displayed:
| **Auto** | `--teammate-mode auto` | Automatically chooses the best display mode for your terminal |
| **In-process** (default) | `--teammate-mode in-process` | Shows teammate output inline in the current terminal |
| **Split-panes** | `--teammate-mode tmux` | Opens each teammate in a separate tmux or iTerm2 pane |
| **iTerm2** | `--teammate-mode iterm2` | (v2.1.186+) Spawns teammates in dedicated iTerm2 panes. Requires the `it2` CLI; auto mode warns when it can't be found |
```bash
claude --teammate-mode tmux
@@ -1240,10 +1241,11 @@ See the OpenTelemetry section in [Advanced Features → Telemetry](../09-advance
---
**Last Updated**: June 17, 2026
**Claude Code Version**: 2.1.179
**Last Updated**: June 24, 2026
**Claude Code Version**: 2.1.187
**Sources**:
- https://code.claude.com/docs/en/sub-agents
- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
- https://code.claude.com/docs/en/agent-teams
- https://code.claude.com/docs/en/changelog#2-1-172
- https://code.claude.com/docs/en/changelog