ProtecteddismissedProcess-lifetime dismissal flag. Reset on the next launch so the user is always reminded once per process. Also automatically cleared when the override set changes in any way after a dismissal (see init), so a previously dismissed strip cannot silently hide new or escalated overrides.
ProtecteddismissedSignature of the override set at the moment the user dismissed the strip.
undefined while the strip is not dismissed.
ReadonlyonFired when the banner content (or visibility) may have changed.
Protected ReadonlyonProtected ReadonlypreferenceReadonlypriorityOptional priority for rendering order. Higher values render first. Default: 0.
Protected ReadonlytoProtected ReadonlywatchedOnly tool confirmation preferences are watched here. Other AI session overrides (enable AI, agent mode, default chat agent, etc.) are surfaced in the generic Session Preferences status bar item to keep the banner from duplicating the list.
ProtectedcollectAI-relevant preferences currently coming from the session scope.
ProtecteddescribeProtectedhandleProtectedinitProtectedisReturns true only when the global default is forced to Allow-All. Per-tool
always_allow entries via TOOL_CONFIRMATION_PREFERENCE are scoped exceptions
and remain in the banner as informational (warning) entries rather than escalating
the whole strip to the red "Allow-All Mode" treatment.
ProtectedoverrideStable snapshot of the watched preferences' current session values. Used to detect changes to the override set for the dismissal-reset logic; not for anything user-visible so the format is intentionally simple.
Render the banner, or undefined to hide it.
Persistent strip rendered above the chat content whenever an AI tool confirmation preference (
ai-features.chat.defaultToolConfirmationorai-features.chat.toolConfirmation) is active in the session scope (typically set via--session-preference). When the global default is forced to "Allow All" the strip is shown in error styling as the Theia AI Allow-All Mode banner; per-tool confirmation overrides use warning styling.Other AI-namespaced session overrides (e.g. forced-on AI features, default chat agent) are reported by the generic Session Preferences status bar item and intentionally not duplicated here.