Skip to content

feat: T-128 La vista de consumo de sesiones por suscripción debe mostrar también la cuenta y el proveedor asociados - #104

Merged
jaesbit merged 1 commit into
develfrom
auto-work/t128-subscription-consumption-view-account-pr
Jul 15, 2026
Merged

feat: T-128 La vista de consumo de sesiones por suscripción debe mostrar también la cuenta y el proveedor asociados#104
jaesbit merged 1 commit into
develfrom
auto-work/t128-subscription-consumption-view-account-pr

Conversation

@jaesbit

@jaesbit jaesbit commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Auto Work completed T-128: La vista de consumo de sesiones por suscripción debe mostrar también la cuenta y el proveedor asociados

Session: https://omp.giovadroid.com/c/019f66fe-e506-7000-90c3-60f1e3553e1c

…ion view

- Extend SessionUsageSummary with accountLabel (derived from cwd via
  deriveLabel) and optional provider (extracted from the first
  model_change entry in the transcript, format "provider/modelId";
  falls back to the provider field on the first assistant message)
- Single-pass aggregateTranscript replaces aggregateTranscriptUsage,
  collecting tokens, cost, and provider in one read of the JSONL file
- Add listSessionUsage() to the web API client
- Add SessionListSection to SubscriptionLimitsView: sessions grouped
  by provider (subscription), each row showing Session, Account,
  Provider, Cost, Tokens columns — provider visible both as group
  header and on every row per acceptance criteria
- 4 new tests covering accountLabel derivation, model_change extraction,
  assistant-message fallback, and absent-provider case (7/7 pass)
@jaesbit
jaesbit merged commit bf9aea9 into devel Jul 15, 2026
@jaesbit
jaesbit deleted the auto-work/t128-subscription-consumption-view-account-pr branch July 15, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant