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 v1.0.85 Home All releases olderv1.0.84 v1.0.86newer
Claude Code v1.0.85

Environment Variable Validation Framework

What: Structured validation system for environment variables with detailed feedback How to use:

# Set environment variables with automatic validation:
export BASH_MAX_OUTPUT_LENGTH=40000  # Validates and caps if needed
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=16000  # Validates with warnings

# Invalid values show warnings but don't crash:
export BASH_MAX_OUTPUT_LENGTH=invalid  # Warning: Invalid value "invalid" (using default: 30000)
export BASH_MAX_OUTPUT_LENGTH=100000   # Warning: Capped from 100000 to 50000

Details:

  • BASH_MAX_OUTPUT_LENGTH: Default 30000, max 50000 characters
  • CLAUDE_CODE_MAX_OUTPUT_TOKENS: Default 32000, max 32000 tokens
  • Non-fatal warnings for invalid or capped values
  • Clear feedback about what values are actually being used

See this entry in the whole of v1.0.85 →