github AgentWorkforce/burn analyze-v0.9.0
@relayburn/analyze@0.9.0

latest releases: reader-v0.14.1, mcp-v0.14.1, ledger-v0.14.1...
11 hours ago

[0.9.0] - 2026-04-24

Added

  • Subagent tree + per-type statistics. buildSubagentTree(turns, { pricing }) returns a per-session SubagentTreeNode hierarchy: main thread at the root, subagent invocations nested by parentAgentId, with selfCost / selfTurns per node and cumulativeCost / cumulativeTurns rolled up from leaves. Sidechain turns that arrived without resolvable tree fields attach under a synthetic (unresolved) node so their cost isn't dropped. aggregateSubagentTypeStats(turns, { pricing }) reports invocations, turns, total / median / p95 / mean cost per subagentType across sessions (counted once per unique sessionId + agentId, not per turn). New exported types: SubagentTreeNode, SubagentTypeStats, BuildSubagentTreeOptions. Consumes the new TurnRecord.subagent fields from @relayburn/reader. Closes #8.

Don't miss a new burn release

NewReleases is sending notifications on new releases.