Claude Code v0.2.86 ·
API Changes
EntryKind: in v0.2.86,
ChangesSection of the release
New Functions for Session Tracking
WN0(cwd): Set the current working directory for the sessionYN0(cost, duration, durationWithoutRetries, inputTokens, outputTokens, cacheReadTokens, cacheCreationTokens): Track API usage metrics including:- Total cost in USD
- API call durations (with and without retries)
- Token usage breakdown (input, output, cache read, cache creation)
Improved Current Directory Detection
- New
d0() function provides more robust current working directory detection with fallback handling
See this entry in the whole of v0.2.86 →