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.124 Home All releases olderv1.0.123 v1.0.125newer
Claude Code v1.0.124

API Token Counting Simplification

What: Removed unnecessary isNonInteractiveSession parameter from token counting functions.

Details:

  • Functions KP2() (now NP2()) and zP2() (now LP2()) simplified
  • Token counting no longer varies based on interactive vs non-interactive mode
  • Evidence: Function NP2() at line 377221, function LP2() at line 377245

See this entry in the whole of v1.0.124 →