Claude Code 2.1.238 plugs the memory leak in long sessions
The Aug 20 build also brings a Bash-style Ctrl+W, short-lived tokens for private plugin marketplaces, and graceful shutdown for self-hosted runners.

Copy markdown
Long sessions stop ballooning
Claude Code now frees a subagent's tool results once they scroll out of the recent display window, fixing the unbounded memory growth that had crept into long interactive sessions. If your all-day session used to bloat, 2.1.238 is the fix.
Ctrl+W deletes like your shell
A new keybindingFlavor setting accepts "readline", making Ctrl+W in the prompt delete back to the previous whitespace the way Bash does. The default "classic" behavior is unchanged, so it is strictly opt-in.
Private plugin marketplaces get short-lived tokens
A headersHelper on a URL marketplace or catalog entry runs a command that mints HTTP headers, such as a fresh token, for catalog and same-origin archive fetches. It runs only when you install or update that plugin, after showing you the command, behind a y/N prompt.
Self-hosted runners exit gracefully
New --defer-shutdown-max-min keeps a self-hosted runner serving attached sessions on SIGTERM, parks whatever is left after N minutes, then exits, so deploys no longer yank live sessions. Paired --proxy-authorization-command and --proxy-authorization-file flags cover egress proxies that demand a fresh Proxy-Authorization header on every connection.
Output styles hold their voice
Custom, project, and plugin output styles no longer drift back to the default voice partway through a session, the fix that matters if you lean on a house style or the Concise mode that shipped in 2.1.237.