[0.35.0] - 2026-04-28
Added
- OpenCode skill recall duplicate detector.
detectPatternsnow scans OpenCode sessions for repeatedskill({name})calls and emitsSkillRecallDupentries (≥ 2 calls with the sameskillName). Non-OpenCode sessions are silently skipped. - OpenCode skill pruning protection detector.
detectPatternsnow tracks each skill tool call in OpenCode sessions and measures how many subsequent turns still carriedcacheReadtokens — the skill content is never evicted because OpenCode marks it as prune-protected. EmitsSkillPruningProtectionentries withridingTurns,lastCachedTurnIndex, and cost. - OpenCode system prompt / skill catalog tax detector.
detectPatternsnow estimates the fixed prefix tax (system prompt + skill catalog) on the first turn of an OpenCode session by subtracting the first user message size (fromUserTurnRecordblocks) fromcacheCreate. EmitsSystemPromptTaxentries withestimatedSystemPromptTokens,ridingTurns, and total cost. RequiresuserTurnsBySessioninDetectPatternsOptions. SessionPatternSummarygainsskillRecallDupCount,skillPruningProtectionCount, andsystemPromptTaxCountfields;PatternsResultgainsskillRecallDups,skillPruningProtection, andsystemPromptTaxesarrays;DetectPatternsOptionsgainsuserTurnsBySession.