Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.234 Home All releases olderv2.1.233 v2.1.235newer
Claude Code v2.1.234

CLAUDE_CODE_PROJECT_DIR_NAME overrides the per-project state folder

Use it now
Useful3 Signal2
Configuration Notable

You can name the per-project history folder yourself, as long as you also set a custom config directory.

CLAUDE_CODE_PROJECT_DIR_NAMECLAUDE_CONFIG_DIR
What

Claude Code keeps each project's history and sessions in a folder under projects in its config directory, named after the project path. You can now name that folder yourself with CLAUDE_CODE_PROJECT_DIR_NAME, which only applies when CLAUDE_CONFIG_DIR is also set.

Details
  • The name must match [A-Za-z0-9_-]{1,64}.
  • Windows reserved device names are rejected: con, prn, aux, nul, com0-9, lpt0-9.
  • When the override differs from the usual path-derived name, history and session lookup searches both folders, so existing sessions are still found.
Usage
export CLAUDE_CONFIG_DIR=~/.claude-work
export CLAUDE_CODE_PROJECT_DIR_NAME=my-project
Evidence

CLAUDE_CODE_PROJECT_DIR_NAME

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.234 →