TypeScript
docs: explain how to enable the context window indicator (#21678)
Richard Biroš9b1802d4d6f1
diff --git a/docs/user/composer.md b/docs/user/composer.mdindex db41f6cc013..9f13b44c48d 100644--- a/docs/user/composer.md+++ b/docs/user/composer.md@@ -240,7 +240,12 @@ Provider commands must start the message to run. T3 Code commands such as`/model` and `/plan`, and skill mentions, work on any line.Send `/compact` in an existing conversation to reduce context usage when the-provider supports it. Web and desktop also offer compaction from the context meter.+provider supports it, even with the context meter turned off.++On web and desktop, turn on **Settings → Labs → Legacy → Context+window indicator (legacy)** to see context usage. The meter is off by default+and appears once the provider reports usage. Open it for usage details and+**Compact context** when the provider supports compaction.Claude instances can also compact idle threads for you. See[compact long conversations](./providers-claude.md#compact-long-conversations).diff --git a/docs/user/providers-acp.md b/docs/user/providers-acp.mdindex 120df9c6141..ab660b746ca 100644--- a/docs/user/providers-acp.md+++ b/docs/user/providers-acp.md@@ -100,7 +100,9 @@ including when another client performs the import.The thread keeps the native session's title and last-update value as provider metadata withoutoverwriting a title you set in T3 Code. Agents that report ACP context usage drive the composer's-context meter and cumulative cost metadata. Text resources and links render as assistant output;+context meter and cumulative cost metadata. The meter is off by default; see+[commands and skills](./composer.md#commands-and-skills) to enable it on web and desktop.+Text resources and links render as assistant output;binary resources, images, and audio that T3 Code cannot render yet appear as explicit placeholdersinstead of disappearing.diff --git a/docs/user/providers-claude.md b/docs/user/providers-claude.mdindex 206d82ce323..c94fc3420f8 100644--- a/docs/user/providers-claude.md+++ b/docs/user/providers-claude.md@@ -49,8 +49,12 @@ Set **Auto-compact after** in the Claude provider settings to an integer betweenwindow. Leave it empty for Claude Code's default.You can also send `/compact` in an existing conversation. Web and desktop offer-**Compact context** from the context meter. When you return to a large thread-after Claude's prompt cache expires, a **Compact** chip with the thread's token count shows+**Compact context** from the context meter. The meter is off by default; see+[commands and skills](./composer.md#commands-and-skills) to enable it. Claude Code+compacts automatically whether the meter is on or off.++When you return to a large thread after Claude's prompt cache expires, a+**Compact** chip with the thread's token count showsnext to the send button. While it is on, Enter summarizes the history first, thensends your message. Click the chip to switch it to **Full** and keep the fullhistory for that message. The cache lasts about an hour on a Claudediff --git a/docs/user/providers-pi.md b/docs/user/providers-pi.mdindex e106d0afdd3..37026d50ab7 100644--- a/docs/user/providers-pi.md+++ b/docs/user/providers-pi.md@@ -86,5 +86,6 @@ threads.environment, including `PI_CODING_AGENT_DIR` if set. Trust the folder or its parent with `/trust`,then start a new thread using that same worktree. Launch arguments with `--no-approve` keepproject files off without the notice.-- The context meter appears once Pi reports usage for the thread. Some model providers only- report usage when a response completes, so the meter can wait for the first reply.+- The context meter is off by default; see [commands and skills](./composer.md#commands-and-skills)+ to enable it on web and desktop. It appears once Pi reports usage for the thread. Some model+ providers only report usage when a response completes, so the meter can wait for the first reply.