FN-7142: show task summary token costs
Add task summary visibility into token usage, model-level costs, and locale coverage.
- Render done-task Summary token usage by model with input, output, cached, total, and estimated cost columns.
- Thread global model pricing overrides into the summary cost calculation and mark unpriced models as unavailable.
- Add responsive token-cost styling, summary-tab coverage, dashboard docs, release notes, and locale keys.
Files changed:
.changeset/fn-7142-summary-token-cost.md | 7 +
docs/dashboard-guide.md | 2 +-
.../dashboard/app/components/TaskDetailModal.css | 125 +++++++++++
.../dashboard/app/components/TaskDetailModal.tsx | 2 +-
.../dashboard/app/components/TaskSummaryTab.tsx | 177 ++++++++++++++-
.../__tests__/TaskDetailModal.summary-tab.test.tsx | 241 ++++++++++++++++++++-
packages/i18n/locales/en/app.json | 11 +
packages/i18n/locales/es/app.json | 52 ++++-
packages/i18n/locales/fr/app.json | 52 ++++-
packages/i18n/locales/ko/app.json | 52 ++++-
packages/i18n/locales/zh-CN/app.json | 52 ++++-
packages/i18n/locales/zh-TW/app.json | 52 ++++-
12 files changed, 794 insertions(+), 31 deletions(-)
Fusion-Task-Id: FN-7142
Fusion-Task-Lineage: ec1c7244-4779-46e7-be7c-b0e00b361fd7
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>