gsxdsm
|
63d1079d44
|
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>
|
2026-06-27 17:56:32 -07:00 |
|
gsxdsm
|
a19df338ad
|
FN-7131: add done-task summary tab
Done task details now open to a read-only Summary tab before Chat.
- Add TaskSummaryTab with completion summary markdown, landed-file stats, completed steps, workflow results, and retry context.
- Default done-task detail entrypoints to Summary while preserving explicit tab selections and plugin tab typing.
- Style and localize the Summary tab, document it, and add dashboard coverage for defaulting and tab content.
- Add a minor changeset for the published CLI package.
Files changed:
.changeset/fn-7131-summary-tab.md | 7 +
docs/dashboard-guide.md | 1 +
packages/dashboard/app/App.tsx | 2 +-
.../dashboard/app/components/TaskDetailModal.css | 181 +++++++++++++++++
.../dashboard/app/components/TaskDetailModal.tsx | 63 ++++--
.../dashboard/app/components/TaskSummaryTab.tsx | 160 +++++++++++++++
.../TaskDetailModal.definition-actions.test.tsx | 56 +++---
.../__tests__/TaskDetailModal.summary-tab.test.tsx | 222 +++++++++++++++++++++
.../dashboard/app/components/dashboard/types.ts | 2 +-
.../app/hooks/__tests__/useModalManager.test.ts | 10 +-
.../dashboard/app/hooks/useMainPanelTaskDetail.ts | 9 +-
packages/dashboard/app/hooks/useModalManager.ts | 12 +-
packages/dashboard/app/plugins/types.ts | 2 +-
packages/i18n/locales/en/app.json | 16 ++
14 files changed, 687 insertions(+), 56 deletions(-)
Fusion-Task-Id: FN-7131
Fusion-Task-Lineage: e8ca4ade-9904-4705-a151-d9e55f67b398
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
|
2026-06-27 12:15:42 -07:00 |
|