Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

--no-session-persistence check moved earlier and now applied immediately

--no-session-persistence is checked earlier and takes effect at once, and --managed-settings and setting sources are passed to child processes

Use it now Improvements
JSON All of v2.1.281
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.281,
What probably matters to youSection of the release
What

--no-session-persistence stops sessions from being saved to disk, so they cannot be resumed later. It still only works together with --print, which runs Claude Code once without the interactive screen. The check that enforces this now runs earlier, before the SDK and remote setup. When the flag is accepted, saving is switched off straight away.

Other startup changes in the same area:

  • --managed-settings and the setting sources are now passed on to the child process that Claude Code starts
  • The agent and agents options are passed on only when a certain condition holds
Why

Because saving is switched off before the rest of setup runs, nothing set up earlier gets a chance to save the session. Managed settings and your chosen setting sources now also reach the child process.

Read from
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --print, on Error reference. | `Error: --agents takes a JSON object, or a file path only with --print (-p)` | [Command-line errors](#invalid-agents-configuration) | errors see the edit
Confirmed since Anthropic's documentation has since written up --no-session-persistence, on Connect Claude Code to tools via MCP. If you disable session persistence with [`--no-session-persistence`](/docs/en/cli-reference#cli-flags) or [`CLAUDE_CODE_SKIP_PROMPT_HISTORY`](/docs/en/env-vars), Claude Code writes no image file and Claude receives only the inline copy. mcp see the edit
Added since A small documentation edit on CLI reference touched a line naming --print after this was published. | `--bg`, `--background` | Start the session as a [background agent](/docs/en/agent-view) and return immediately. Prints the session ID and management commands. Combine with `--exec` to run a shell command as a background job instead of a … cli-reference see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say what condition decides whether the `agent` and `agents` options are passed to the child process.
Anthropic's documentation agreesA small documentation edit on CLI reference touched a line naming --print after this was published.

See this entry in the whole of v2.1.281 →

Feedback