Claude Code: Cache write token fields added to OpenTelemetry api_request event
Added cache_creation_5m_tokens and cache_creation_1h_tokens to the OpenTelemetry api_request event, splitting cache writes by lifetime.
- Event type
- Feature
- Version
- v2.1.300
- Published by vendor
- Compiled here
What changed
5 points
Added virtualText to a mod's prompt decorations: text drawn in the prompt box that never enters the draft or the submitted prompt.
Official wording · c1
Added virtualText to a mod's prompt decorations: text drawn in the prompt box that never enters the draft or the submitted prompt
Official wording · c1 Added cache_creation_5m_tokens and cache_creation_1h_tokens to the OpenTelemetry api_request event, splitting cache writes by lifetime.
Official wording · c2
Added cache_creation_5m_tokens and cache_creation_1h_tokens to the OpenTelemetry api_request event, splitting cache writes by lifetime
Official wording · c2 Added $.ui.view({ agentId }) for mods: it shows an agent's transcript in the main view when you ask, and $.ui.view({}) goes back.
Official wording · c3
Added $.ui.view({ agentId }) for mods: shows an agent's transcript in the main view when you ask, and $.ui.view({}) goes back
Official wording · c3 Added /advisor on Claude Platform on AWS; no advisor runs until you pick one with /advisor, advisorModel or --advisor, and CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1 turns it off.
Official wording · c4
Added /advisor on Claude Platform on AWS; no advisor runs until you pick one with /advisor , advisorModel or --advisor , and CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1 turns it off
Official wording · c4 Changed exit to force-kill background commands still running 1.5 seconds after being asked to stop; in fullscreen mode they could previously be left running.
Official wording · c5
Changed exit to force-kill background commands still running 1.5 seconds after being asked to stop; in fullscreen mode they could previously be left running
Official wording · c5
Change details
Fields in this table are taken verbatim from the official text.
| ID | Subject | Action | Object | Scope | Values |
|---|---|---|---|---|---|
| c1 | mod prompt decorations | added | virtualText | text drawn in the prompt box that never enters the draft or the submitted prompt | |
| c2 | OpenTelemetry api_request event | added | cache_creation_5m_tokens and cache_creation_1h_tokens | splitting cache writes by lifetime | |
| c3 | mods | added | $.ui.view({ agentId }) | shows an agent's transcript in the main view when you ask; $.ui.view({}) goes back | |
| c4 | Claude Platform on AWS | added | /advisor | no advisor runs until one is picked; CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1 turns it off | |
| c5 | exit | changed to force-kill | background commands still running 1.5 seconds after being asked to stop | in fullscreen mode they could previously be left running | exactly 1.5 seconds |
Version timeline
Published updates for this tool on this site, newest official date first.
- Added sandbox.allowNestedUserNamespaces for sandboxed Linux commands
- CurrentCache write token fields added to OpenTelemetry api_request event
About this tool
Claude Code
Claude Code is Anthropic's coding agent for reading codebase context, editing files, running commands and assisting development work.
CategoriesAI Coding
View Claude Code detailsRelated guides
- AI coding tools: choose by workflow, sign-in and costsChoose an AI coding tool by IDE or terminal workflow, sign-in method and billing limits. Compare six listed tools using official sources; no performance tests.
- AGENTS.md vs CLAUDE.md: which one Claude Code reads and how to share one fileBy default Claude Code reads AGENTS.md only when no CLAUDE.md exists; an @AGENTS.md import in CLAUDE.md shares one file. Not tested; check the official docs.
- Claude Code code-review plugin (a plugin command, not a Skill)Official Anthropic code-review plugin: /code-review runs multi-agent PR review, needs the gh CLI, not tested
- frontend-design: avoiding templated defaults in UI designAnthropic's frontend-design skill: plan the visual direction, check it against the brief, avoid templated defaults. Not tested; follow the official text.
- Splitting agent instructions by directory in a monorepoPer-directory AGENTS.md and CLAUDE.md in a monorepo: an example tree, then load scope, nesting and conflict rules per tool. Per official docs, not tested.
- skill-creator: Anthropic's skill for writing, editing and evaluating skillsAnthropic's skill-creator skill: draft a skill, run evals, revise it and tune its trigger description. Not tested here; follow the official text and docs.
- webapp-testing Skill: drive local web apps with PlaywrightOfficial Anthropic webapp-testing Skill: Python Playwright scripts for local web apps, not tested
Source and notes
Official source · github.com/anthropics/claude-code/releases/tag/v2.1.300
About this AI summary
This entry was compiled by AI from official sources and automatically checked. Found a mistake? Please send feedback.