Claude Code · Source-level changelog

Version 1.0.2

This is a minor update focused on internal optimizations and expanding token limits for Opus models. Users working with Opus models will benefit from the ability to process significantly larger contexts (5x increase in token limit). The import optimizations are internal improvements that won't affect the user experience but contribute to better code organization and potentially faster startup times.

Package @anthropic-ai/claude-code Diff v1.0.1 → v1.0.2
0
Features & Changes
0
Bug Fixes
2
In Development
0
Env Vars / Flags

Changes

# Claude Code v1.0.2 Changelog

Breaking Changes

2 items

None

Model Token Limit Updates #

Dev
  • Removed Opus model-specific token limit: The function that determines token limits for different Claude models no longer includes a special case for Opus models. Previously, Opus models had a 4096 token limit, but now they will use the default 20,000 token limit.

This means when using Claude Code with Opus models, you can now include much longer contexts in your requests - up to 20,000 tokens instead of the previous 4,096 token limit.

Internal Improvements #

Dev
  • Optimized imports: Refactored Node.js imports to be more specific:
  • Changed from importing the entire node:process module to importing only the cwd (current working directory) function
  • Changed from importing the entire stream module to importing only the PassThrough class

These changes improve code efficiency by reducing unnecessary imports and making the codebase more modular.