[1.0.0] - 2026-04-29
Changed
- Renamed the public attribution APIs:
attributeHotspotsreplacesattributeWaste, andattributeOverhead/buildTrimRecommendationsreplace the old context and advise names. detectToolOutputBloatnow sizes oversized tool output via cl100k token counts from user-turn enrichment, with a bytes/4 fallback for legacy ledgers. Highly compressible payloads (repetitive logs, base64 dumps) score lower in tokens and may slip below the 15k default threshold.buildSubagentTree()now consumesSessionRelationshipRecordgraphs when available, with legacyTurnRecord.subagentfallback and per-noderelationshipType.- Edit-heavy detection now counts Codex
shell/exec_commandfile reads throughcat,head, andtail.
Fixed
detectObservedBloatno longer double-counts a tool call when itstool_resultis followed by asubagent_notification(or other non-carrier event) sharing the sametoolUseId. Non-carrier events are now sized by their owncontentLengthinstead of inheriting the carrier's enriched token count.