docs: sync to Claude Code v2.1.170 (#140)
* docs: sync to Claude Code v2.1.170 Additive sync covering features shipped in v2.1.161-2.1.170. No breaking changes in the window. - 10-cli: add Claude Fable 5 model row (claude-fable-5); --safe-mode flag + CLAUDE_CODE_SAFE_MODE / CLAUDE_CODE_DISABLE_BUNDLED_SKILLS env vars; note --fallback-model now applies to interactive sessions (v2.1.166) - 01-slash-commands: document /cd (preserves prompt cache, v2.1.169) - 03-skills: document disableBundledSkills setting + env var (v2.1.169) - 07-plugins: document /plugin list --enabled/--disabled (v2.1.163) - 06-hooks: document Stop/SubagentStop additionalContext return (v2.1.163) - 09-advanced-features: add Safe Mode + fallbackModel subsections - 05-mcp: stdio servers receive CLAUDE_CODE_SESSION_ID on --resume (v2.1.161); add metadata footer (none existed) - refresh footers on all edited files to 2.1.170 / June 10, 2026 * fix(mcp): correct CLAUDE_CODE_SESSION_ID --resume version to 2.1.163
This commit is contained in:
@@ -118,6 +118,8 @@ Every MCP stdio server is spawned with `CLAUDE_PROJECT_DIR=<absolute path to rep
|
||||
|
||||
Use this when your stdio server needs to read files relative to the project root regardless of where Claude Code was launched.
|
||||
|
||||
stdio MCP servers also receive `CLAUDE_CODE_SESSION_ID` (matching the value passed to hooks and Bash), including when the session is resumed with `--resume` (v2.1.163+).
|
||||
|
||||
### SSE Transport (Deprecated)
|
||||
|
||||
Server-Sent Events transport is deprecated in favor of `http` but still supported:
|
||||
@@ -1168,8 +1170,8 @@ export GITHUB_TOKEN="your_token"
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: June 2, 2026
|
||||
**Claude Code Version**: 2.1.160
|
||||
**Last Updated**: June 10, 2026
|
||||
**Claude Code Version**: 2.1.170
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/mcp
|
||||
- https://code.claude.com/docs/en/changelog
|
||||
|
||||
Reference in New Issue
Block a user