# Claude Code 2.1.300

By Steven Van · 2026-10-14

Mods can display prompt-only text and switch agent views, while telemetry now separates cache writes by lifetime.

Mods gain more control over prompts and agent views in [Claude Code](<https://creatorstoolbox.com/tools/claude-code>) 2.1.300. The [release notes](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21300>) also add telemetry fields and advisor support on Claude Platform on AWS.

## Prompt decorations and agent views

Mods can now use virtualText to draw text inside the prompt box without adding it to the draft or submitted prompt. A new prompt.change hook fires when the prompt text changes without a typed edit, including history recall, clearing, undoing or a plugin filling the box.

Calling $.ui.view({ agentId }) shows an agent's transcript in the main view; $.ui.view({}) returns to the previous view. The agent.spawn hook can also rewrite a workflow agent's prompt and model, where previously it could only refuse workflow agents.

A new dir property on a mod's Text supports right-to-left text. On Windows and in VS Code's terminal, its rows read in that direction and align flush right.

## Cache and trace telemetry

The OpenTelemetry api\_request event gains cache\_creation\_5m\_tokens and cache\_creation\_1h\_tokens, splitting cache writes by lifetime. Trace spans also gain GenAI semantic-convention attributes, including gen\_ai.provider.name, gen\_ai.conversation.id, gen\_ai.tool.name and error.type.

## Advisors on AWS

The /advisor command is now available on Claude Platform on AWS. No advisor runs until one is selected through /advisor, advisorModel or --advisor. Setting CLAUDE\_CODE\_DISABLE\_ADVISOR\_TOOL=1 disables the advisor tool.

![Claude Code](<https://claude.com/images/icon-512x512.png>)

Claude Code

Anthropic's agentic coding tool — Claude in your terminal, IDE, desktop app and browser, reading and editing your codebase, running commands, opening pull requests and working on tasks in the cloud.

[View Claude Code →](<https://creatorstoolbox.com/tools/claude-code>)

[Original source](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21300>)

[Read Claude Code 2.1.300 on Creators Toolbox](<https://creatorstoolbox.com/blog/claude-code-claude-code-2-1-300>)

---
Canonical source: https://creatorstoolbox.com/blog/claude-code-claude-code-2-1-300
