feat(tui): add turn token usage diagnostics (#38398)

This commit is contained in:
James Long 2026-07-23 10:00:51 -04:00 committed by GitHub
commit 5b1321a8ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 175 additions and 12 deletions

View file

@ -159,6 +159,7 @@ export const Info = Schema.Struct({
Schema.Struct({
devtools: Schema.optional(Schema.Boolean).annotate({ description: "Show the DevTools debug bar" }),
timing: Schema.optional(Schema.Boolean).annotate({ description: "Show time-to-first-draw diagnostics" }),
turn_tokens: Schema.optional(Schema.Boolean).annotate({ description: "Show per-turn token usage diagnostics" }),
}),
).annotate({ description: "Debugging settings" }),
animations: Schema.optional(Schema.Boolean).annotate({ description: "Enable interface animations" }),