Claude Code v2.1.283: prompt-id gateway hints, model allow/deny lists, prompt audit
cliClaude Code CLI 2.1.283 ships gateway hint headers with an `x-claude-code-prompt-id` for grouping requests per user prompt, new `availableModelsMatch=exact` and `deniedModels` managed settings to lock down model access, a `/doctor prompt-audit` command that scans CLAUDE.md/skills/agents/commands for outdated prompting patterns, MCP tool/WebFetch/WebSearch output capture in OpenTelemetry spans, and many MCP, plugin, sandbox, and vim-mode fixes.
An agent operator can now pin exact allowed model versions, block specific models, audit prompt files for outdated patterns, and correlate LLM gateway requests to a single user prompt via a new header.
Point release but ships several agent-relevant capabilities: model allow/deny governance, prompt audit tooling, and OTel tool-output telemetry.
npm i -g @anthropic-ai/claude-code@2.1.283npm i -g @anthropic-ai/claude-code@2.1.283
# Enable gateway hint headers so an LLM gateway can group requests per prompt
export CLAUDE_CODE_GATEWAY_HINT_HEADERS=1
# Audit CLAUDE.md, skills, agents, and commands for outdated prompt patterns
claude /doctor prompt-audit
# Capture MCP tool / WebFetch / WebSearch outputs in OTel spans
export OTEL_LOG_TOOL_CONTENT=1
claude