Skip to content

feat(app-server): expose usage report [3 of 4]#24123

Open
fcoury-oai wants to merge 2 commits into
fcoury/usage-attributionfrom
fcoury/usage-api
Open

feat(app-server): expose usage report [3 of 4]#24123
fcoury-oai wants to merge 2 commits into
fcoury/usage-attributionfrom
fcoury/usage-api

Conversation

@fcoury-oai
Copy link
Copy Markdown
Contributor

@fcoury-oai fcoury-oai commented May 22, 2026

Why

The TUI should read usage through the app-server boundary instead of reaching into state directly.

What Changed

  • Adds the usage/read app-server request.
  • Maps state usage reports into v2 app-server protocol response types.
  • Regenerates JSON and TypeScript schema fixtures.

How to Test

Targeted tests:

  • just write-app-server-schema
  • cargo test -p codex-app-server-protocol
  • cargo check -p codex-app-server

Stack

  1. #24121 - Usage storage
  2. #24122 - Usage attribution
  3. #24123 - App-server usage API (this PR)
  4. #24124 - TUI /usage command

@fcoury-oai fcoury-oai changed the title feat(app-server): expose usage report feat(app-server): expose usage report [3 of 4] May 22, 2026
@fcoury-oai fcoury-oai force-pushed the fcoury/usage-attribution branch from b46cffa to 0d9682b Compare May 22, 2026 19:19
@fcoury-oai fcoury-oai requested a review from a team as a code owner May 22, 2026 19:19
@fcoury-oai fcoury-oai force-pushed the fcoury/usage-attribution branch from 0d9682b to 6f093f8 Compare May 22, 2026 19:29
@fcoury-oai fcoury-oai force-pushed the fcoury/usage-api branch 2 times, most recently from 6ddec49 to c9055e5 Compare May 23, 2026 18:03
@fcoury-oai fcoury-oai force-pushed the fcoury/usage-attribution branch from 3ff5b6b to 219664b Compare May 23, 2026 19:37
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