github AgentWorkforce/burn relayburn-v1.8.0
relayburn@1.8.0

3 hours ago

Packages

  • @relayburn/reader@1.8.0 (tag: reader-v1.8.0)
  • @relayburn/ledger@1.8.0 (tag: ledger-v1.8.0)
  • @relayburn/analyze@1.8.0 (tag: analyze-v1.8.0)
  • @relayburn/mcp@1.8.0 (tag: mcp-v1.8.0)
  • @relayburn/cli@1.8.0 (tag: cli-v1.8.0)
  • @relayburn/sdk@1.8.0 (tag: sdk-v1.8.0)
  • relayburn@1.8.0 (tag: relayburn-v1.8.0)

Release Notes

Added

  • Recognise _meta.replaces / _meta.collapsedCalls annotations on Claude tool_result blocks across reader → analyze → CLI, so replacement tools (e.g. relaywash) get attributed estimated tokens saved in burn summary and burn summary --by-tool.

Package Changelogs

@relayburn/reader

Added

  • Claude reader now back-populates _meta.replaces / _meta.collapsedCalls annotations from tool_result blocks onto the matching ToolCall.replacedTools / ToolCall.collapsedCalls and the corresponding ToolResultEventRecord, so replacement tools (e.g. relaywash) carry counterfactual attribution through to analyze.

@relayburn/ledger

Added

  • SQLite archive tool_calls table now persists replaced_tools (JSON) and collapsed_calls via additive migration, and queryAllFromArchive() rehydrates ToolCall.replacedTools / ToolCall.collapsedCalls so the default archive code path preserves the counterfactual annotations introduced in #219.

@relayburn/analyze

Added

  • Added summarizeReplacementSavings() and estimateSavingsForToolCall() to estimate tokens saved by replacement tools (e.g. relaywash) against the vanilla calls they collapse, using a static per-tool cost table (DEFAULT_REPLACED_TOOL_TOKEN_COST).

@relayburn/cli

Added

  • burn summary and burn summary --by-tool now surface estimated tokens saved by replacement tools (e.g. relaywash) when sessions carry _meta.replaces / _meta.collapsedCalls annotations: a top-line "estimated savings from replacement tools" notice in the default view, a savedTokens column in the by-tool table, and a replacementSavings block (with per-tool breakdown) in JSON output.

Don't miss a new burn release

NewReleases is sending notifications on new releases.