docs(coding-agent): clarify custom footer usage APIs (#8482)

Fixes #8392
This commit is contained in:
Petr Houška 2026-08-23 23:34:08 +02:00 • committed by GitHub
parent 27b7a626de
commit 81152d88bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -177,8 +177,8 @@ export interface ExtensionUIContext {
/** Set a custom footer component, or undefined to restore the built-in footer.
*
* The factory receives a FooterDataProvider for data not otherwise accessible:
* git branch and extension statuses from setStatus(). Token stats, model info,
* etc. are available via ctx.sessionManager and ctx.model.
* git branch and extension statuses from setStatus(). Context usage is on
* ctx.getContextUsage(), token stats on ctx.sessionManager.getEntries(), model info on ctx.model.
*/
setFooter(
factory:

View file

@ -94,7 +94,7 @@ function shouldPollGitHead(repoDir: string): boolean {
/**
* Provides git branch and extension statuses - data not otherwise accessible to extensions.
* Token stats, model info available via ctx.sessionManager and ctx.model.
* Context usage on ctx.getContextUsage(), token stats on ctx.sessionManager.getEntries(), model info on ctx.model.
*/
export class FooterDataProvider {
private cwd: string;