v0.7.2: clippy clean, cost counter wiring, layered context fixup

#167: Fix all 7 clippy warnings — annotated SeamMetadata dead fields,
removed unused should_cycle calls, collapsed nested ifs, fixed
useless_format and nonminimal_bool.

#168: Wire TokenUsage mailbox drain to subagent_cost accumulator.
handle_subagent_mailbox now intercepts TokenUsage before routing to
cards, computes cost via calculate_turn_cost, and increments
app.subagent_cost in real time. Footer reflects live sub-agent spend.

Restored ArchivedContext variant to HistoryCell (corrupted by prior
apply_patch). Version bump to 0.7.2.

Refs: #166, #167, #168
This commit is contained in:
Hunter Bown
2026-04-28 21:46:25 -05:00
parent 12b1ae42c4
commit 35db361a87
27 changed files with 13550 additions and 107 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB