Repository navigation
v1.5.8 — Child credits, cumulative OTel totals, fully async scanner
What's New in v1.5.8
Fixed
- Child credits now in turn-level data: subagent/child LLM credits are merged into the parent turn that spawned them (via
child_session_refturn context). Previously, child credits were only reflected in session-level totals but missing from per-turn AIC calculations, daily analytics, and current-session debug-log fallback. - OTel totals remain cumulative: added separate cumulative counters (
cumulativeRequests,cumulativePrompt,cumulativeCompletion,cumulativeCached) that are never affected by the 10K retention pruning.getStats()now reports true session-lifetime totals.
What's New in v1.5.7
Fixed
- Subagent credits now included: debug-log parser follows
child_session_refentries and aggregates LLM usage fromrunSubagent-*.jsonlandtitle-*.jsonlchild logs. Previously onlymain.jsonlwas read, missing up to 46% of session credits when subagents were used. - OTel memory bounded: 10,000-request retention cap prevents unbounded memory growth.
- NaN guard in debug-log parser: strict type checks replace coercive
Number()casts. - Estimation note corrected: fallback note now states "~5-10% undercount" instead of incorrect "upper-bound estimate".
Changed
- Fully async scanner: all
fs.*Synccalls replaced withfs/promises, 16-worker concurrent pools. Extension host thread never blocked. - Zero
anytypes:unknownand proper type narrowing throughout. - ESLint async rules:
no-floating-promises,no-misused-promises,require-awaitenforced.
Installation
Download copilot-usage-dashboard-1.5.8.vsix and install via:
code --install-extension copilot-usage-dashboard-1.5.8.vsix
Or: VS Code → Extensions → ... → Install from VSIX