Files
ruflo/plugins/ruflo-cost-tracker/scripts
ReuvenandRuFlo 088e18f174 feat(cost-tracker): P11 — cost-per-conversation view (v0.12.0)
cost-report / cost-optimize aggregate by agent and model. P11 adds the
per-conversation lens: each session in cost-tracking gets one row with
started-at, message count, top model, and total cost. Useful for
retrospectives and project-level rollups.

What lands:

- scripts/conversation.mjs — list memory-keys starting with `session-`,
  retrieve each, sort by startedAt, render markdown table with per-tier
  totals + per-conversation rows. CONV_FORMAT=json for machine-readable;
  CONV_LIMIT=N to truncate; CONV_NAMESPACE to override.
- skills/cost-conversation/SKILL.md
- `cost conversation` subcommand
- 1 new smoke check (40a — pre-CI step), now 41/41

Live verified on this checkout: 1 conversation tracked,
$1546.36 total, all Opus 4.7 (heavy cache-read pattern).

Version: 0.11.0 → 0.12.0.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-05 00:04:38 -04:00
..