Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · claude-code

One read of Claude Code CLIclaude-code-20260819T000701Z

3 pages moved out of 186 read.

Pages moved 3 significant first
Pages read 186 in this capture
Captured 00:07 UTC
Corpus hash 6a8b5609064c corpus-hash

What this read moved

1-3 of 3

errors Changed · +61 / -4 lines

### Message too large for cross-session delivery

from line 80
8080| `Couldn't reconnect to your Remote Control session` | [Network](#couldnt-reconnect-to-your-remote-control-session) |
8181| `N sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.` | [Network](#sessions-ended-while-this-machine-was-offline) |
8282| `Couldn't share the transcript.` | [Network](#couldnt-share-the-transcript) |
83| `Couldn't show context usage: the remote sent a reply this version can't display` | [Network](#the-remote-sent-a-reply-this-version-cant-display) |
84| `The remote session sent a reply this version can't display` | [Network](#the-remote-sent-a-reply-this-version-cant-display) |
8385| `Prompt is too long` / `Input is too long for requested model` | [Request errors](#prompt-is-too-long) |
8486| `Prompt is too long · automatic compaction failed:` | [Request errors](#prompt-is-too-long) |
87| `Context limit reached · /compact or /clear to continue` | [Request errors](#prompt-is-too-long) |
88| `Context limit reached · /clear to continue` | [Request errors](#prompt-is-too-long) |
8589| `Context exceeds the ...-token limit by ... tokens` in `/context` output | [Request errors](#context-exceeds-the-token-limit) |
8690| `Error during compaction: Conversation too long` | [Request errors](#error-during-compaction-conversation-too-long) |
8791| `Request too large` | [Request errors](#request-too-large) |
from line 141
137141| `pkill: refusing to run` | [Tool errors](#pkill-pattern-matches-the-claude-code-process) |
138142| `Failed to write to <name>'s inbox — nothing was sent` | [Tool errors](#failed-to-write-to-a-teammate-inbox) |
139143| `Failed to write the plan approval request to the lead's inbox — plan not submitted` | [Tool errors](#failed-to-write-to-a-teammate-inbox) |
144| `Message too large for cross-session delivery` | [Tool errors](#message-too-large-for-cross-session-delivery) |
140145| `Can't open MCP settings while no terminal is attached to this background session` | [Background session errors](#commands-refused-in-a-background-session) |
141146| `Can't open MCP settings in a background session` | [Background session errors](#commands-refused-in-a-background-session) |
142147| `blocked because the path is spelled in a form that cannot be safely resolved` | [Background session errors](#write-or-command-blocked-because-the-path-cannot-be-safely-resolved) |
from line 1104
10991104* When Claude Code lists kept worktrees under this message, pick up any uncommitted work from them
11001105* Run `claude remote-control` to start a fresh environment
11011106 
1107<h3 id="the-remote-sent-a-reply-this-version-cant-display">
1108 The remote sent a reply this version can't display
1109</h3>
1110 
1111`/context` shows this line in a terminal [attached to a cloud session](/docs/en/claude-code-on-the-web#send-follow-ups-from-the-cli):
1112 
1113```text theme={null}
1114Couldn't show context usage: the remote sent a reply this version can't display
1115```
1116 
1117While your terminal is attached, `/context` and `/btw` ask the cloud session for their answer. Sometimes the answer arrives in a form your terminal's Claude Code can't render. The usual cause is a version difference between the two. `/context` then shows the line above instead of the usage breakdown. `/btw` shows `The remote session sent a reply this version can't display` instead of its answer. The cloud session keeps running, and other commands still work.
1118 
1119**What to do:**
1120 
1121* Update Claude Code with `claude update`, reattach, and rerun the command
1122* If the line still appears, run `/feedback` and name the command
1123 
1124Before v2.1.235, this case showed a raw JavaScript error instead, such as `undefined is not an object`.
1125 
11021126<h3 id="couldnt-share-the-transcript">
11031127 Couldn't share the transcript
11041128</h3>
from line 1152
11281152Prompt is too long
11291153```
11301154 
1155In an interactive session, Claude Code shows this error as:
1156 
1157```text theme={null}
1158Context limit reached · /compact or /clear to continue
1159```
1160 
1161The line names only `/clear` when [`DISABLE_COMPACT`](/docs/en/env-vars) is set. Longer forms of the error, such as the compaction-failed form below, keep the `Prompt is too long ·` wording. In `-p` output and the transcript, the text stays `Prompt is too long`.
1162 
1163When you turned auto-compact off in your [user settings](/docs/en/settings#available-settings), the line also says so:
1164 
1165```text theme={null}
1166Context limit reached · /compact or /clear to continue · auto-compact is off · /config to turn it on
1167```
1168 
1169The **Auto-compact** toggle in `/config` writes `autoCompactEnabled` to user settings. The hint appears only when a `/config` change would take effect. For example, it doesn't appear when [`DISABLE_AUTO_COMPACT`](/docs/en/env-vars) or [`DISABLE_COMPACT`](/docs/en/env-vars) turned auto-compact off. It also doesn't appear when a higher-precedence scope, such as project or managed settings, set `autoCompactEnabled` to `false`. Nor does it appear in a terminal attached to a cloud session, where the cloud session owns auto-compact. Before v2.1.235, the line carried no auto-compact hint.
1170 
11311171Amazon Bedrock reports this condition as `Input is too long for requested model.`, which Claude Code handles the same way. Before v2.1.217, Claude Code didn't recognize the Bedrock wording, so auto-compact never triggered on it and `/compact` failed with the same error.
11321172 
11331173When automatic compaction ran on this turn and failed on an underlying error, such as an unavailable model or an authentication failure, the message names that error after a separator:
from line 1176
11361176Prompt is too long · automatic compaction failed: <the underlying error>
11371177```
11381178 
1139Resolve the named error first; `/compact` fails on the same error until you do. Before v2.1.229, a failed automatic compaction surfaced the bare `Prompt is too long` without the cause.
1179Resolve the named error first; `/compact` fails on the same error until you do. Before v2.1.229, a failed automatic compaction surfaced `Prompt is too long` without the cause.
11401180 
11411181**What to do:**
11421182 
from line 1185
11451185* Disable MCP servers you are not using with `/mcp disable <name>` to remove their tool definitions from context
11461186* Trim large `CLAUDE.md` memory files, or move instructions into [path-scoped rules](/docs/en/memory#path-specific-rules) that load only when relevant
11471187* Subagents inherit every MCP tool definition from the parent session, which can fill their context window before the first turn. Disable MCP servers you are not using before spawning subagents.
1148* Auto-compact is on by default and normally prevents this error. If you have set [`DISABLE_AUTO_COMPACT`](/docs/en/env-vars), re-enable it or run `/compact` manually before the window fills.
1188* Auto-compact is on by default and normally prevents this error. If you turned it off in `/config` or with [`DISABLE_AUTO_COMPACT`](/docs/en/env-vars), turn it back on. If you keep it off, run `/compact` yourself before the window fills.
11491189 
11501190See [Explore the context window](/docs/en/context-window) for an interactive view of how context fills up.
11511191 
11521192### Context exceeds the token limit
11531193 
1154`/context` shows this warning at the top of its output when the conversation has grown past the model's context window. Requests fail with [`Prompt is too long`](#prompt-is-too-long) until you free space.
1194`/context` shows this warning at the top of its output when the conversation has grown past the model's context window. Requests fail with [`Prompt is too long`](#prompt-is-too-long) until you free space. An interactive session shows that error as the `Context limit reached` line.
11551195 
11561196```text theme={null}
11571197Context exceeds the 200k-token limit by 94k tokens — run /compact or /clear to continue.
from line 1220
11801220Error during compaction: Conversation too long. Press esc twice to go up a few messages and try again.
11811221```
11821222 
1183This can happen when the window is already full at the moment auto-compact triggers, or when you run `/compact` after seeing `Prompt is too long`.
1223This can happen when the window is already full at the moment auto-compact triggers, or when you run `/compact` after seeing [`Prompt is too long`](#prompt-is-too-long). In an interactive session, that error is the `Context limit reached` line.
11841224 
11851225**What to do:**
11861226 
from line 2006
19662006 
19672007* Ask the sender to resend the message; contention for the inbox lock is transient and clears on retry
19682008* Check free disk space, and check that `~/.claude/teams` and the files under it are writable by your user
2009 
2010### Message too large for cross-session delivery
2011 
2012Claude's [cross-session message](/docs/en/cross-session-messaging) to another of your sessions on this machine was too long to send. Claude Code refused it, and the receiving session got nothing. The refusal appears in the sending session's tool result, not as a banner in your terminal. It names both sizes and how to make the message fit:
2013 
2014```text wrap theme={null}
2015Failed to send to api-worker: Message too large for cross-session delivery: the serialized message is 1,203,844 characters and the limit is 1,048,576. Shorten the message text — put bulk content in a file the recipient can read rather than in the message — or split it into smaller messages.
2016```
2017 
2018Resending the same text fails the same way.
2019 
2020**What to do:**
2021 
2022* Ask Claude to summarize the message, or to put the bulk content in a file and send the file's path
2023* Ask Claude to split the content across several shorter messages
2024 
2025Before v2.1.235, Claude Code reported an oversized message as sent. The receiving session dropped it unread.
19692026 
19702027## Background session errors
19712028 

cross-session-messaging Changed · +2 / -1 lines

from line 59
5959 
6060The receiving Claude reads the message between tool calls during an active turn, so a running tool is never interrupted. When the receiving session is idle, Claude Code starts a new turn with the message.
6161 
62Between two ordinary interactive sessions with default settings, Claude Code delivers the message. Delivery isn't guaranteed in every configuration, though. The receiving session checks each arriving message against its own [inbound controls](#control-inbound-messages), and the check ends in one of three outcomes:
62Between two ordinary interactive sessions with default settings, Claude Code delivers the message. Delivery isn't guaranteed in every configuration, though. Claude Code refuses a message [over the size cap](#limitations) in the sending session, before it leaves. The receiving session checks each arriving message against its own [inbound controls](#control-inbound-messages), and the check ends in one of three outcomes:
6363 
6464* **Delivered**: Claude Code passes the message to the receiving Claude.
6565* **Held**: Claude Code sets the message aside undelivered. A held message reaches Claude only when you approve it or a later mode or settings change allows it.
from line 261
261261The limits here are properties of the messaging channel itself and apply wherever the feature runs. For platform and provider gaps, see [Availability](#availability) instead.
262262 
263263* **Plain text only**: Claude sends only plain text across sessions. Structured [agent team](/docs/en/agent-teams) protocol messages stay within a team.
264* **Same-machine message size is capped**: Claude Code refuses a message to a session on this machine once its serialized form passes about a million characters. The refusal [names the exact sizes](/docs/en/errors#message-too-large-for-cross-session-delivery). Nothing reaches the receiving session.
264265* **Message loops are throttled**: Claude Code rate-limits repeated messages per sender, drops identical repeats arriving within a short window, and caps accepted messages waiting for Claude to read them at 50 per session. A message loop between two sessions therefore stops on its own.
265266 
266267## Related resources

model-config Changed · +1 / -1 lines

from line 557
557557To turn off 1M context, set `CLAUDE_CODE_DISABLE_1M_CONTEXT=1`. Claude Code removes 1M model variants from the model picker. On models with a native 1M window, such as Sonnet 5 and Fable 5, it also treats the model as having a 200K context window:
558558 
559559* With auto-compaction on, sessions compact at the 200K boundary through [auto-compaction](#set-the-auto-compact-window). Setting the auto-compact window above 200K doesn't lift the hold, because Claude Code caps that window at the model's context window.
560* With auto-compaction off, sessions stop at the 200K boundary with a [`Prompt is too long` error](/docs/en/errors#prompt-is-too-long) instead of compacting.
560* With auto-compaction off, sessions stop at the 200K boundary with the [context-limit error](/docs/en/errors#prompt-is-too-long) instead of compacting.
561561 
562562Before v2.1.223, Claude Code held only Sonnet 5, Opus 4.8, and Opus 5 sessions to 200K. See [environment variables](/docs/en/env-vars).
563563 
Feedback