Skip to content

Persist provider token usage across runtime sessions#359

Merged
SDSLeon merged 1 commit into
masterfrom
poracode/steady-yak-8a22a799
Jul 24, 2026
Merged

Persist provider token usage across runtime sessions#359
SDSLeon merged 1 commit into
masterfrom
poracode/steady-yak-8a22a799

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jul 24, 2026

Copy link
Copy Markdown
Owner
  • Feature: Persist provider token consumption in a usage ledger so profile token statistics survive runtime sessions.
  • Capture normalized usage events across ACP, Claude, Codex, OpenCode, and Pi providers, including session and sub-agent scopes.
  • Surface providers with unavailable token reporting in the Profile stats UI, with translations for all supported locales.
  • Add database migration and coverage for usage persistence, token statistics, and provider event mapping.

- Emit scoped usage-spent events for Claude, Codex, and OpenCode
- Record usage in a durable ledger and surface unavailable providers
- Remove renderer-side token persistence and expand coverage
@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment Jul 24, 2026 6:31pm
poracode-pwa Ready Ready Preview, Comment Jul 24, 2026 6:31pm

@SDSLeon
SDSLeon merged commit a5dba87 into master Jul 24, 2026
11 checks passed
@SDSLeon
SDSLeon deleted the poracode/steady-yak-8a22a799 branch July 24, 2026 18:39
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