diff --git a/packages/coding-agent/src/core/extensions/types.ts b/packages/coding-agent/src/core/extensions/types.ts index 9008d6212..9303c0bc4 100644 --- a/packages/coding-agent/src/core/extensions/types.ts +++ b/packages/coding-agent/src/core/extensions/types.ts @@ -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: diff --git a/packages/coding-agent/src/core/footer-data-provider.ts b/packages/coding-agent/src/core/footer-data-provider.ts index edee25caa..3119d63d3 100644 --- a/packages/coding-agent/src/core/footer-data-provider.ts +++ b/packages/coding-agent/src/core/footer-data-provider.ts @@ -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;