Mods: `$.ui.status` is always drawn with a ⚠ warning icon and the mod's name as a prefix, with no way to choose a neutral style
What happens
A mod's $.ui.status(text) line under the prompt is always drawn with a yellow ⚠ and <mod-name>: in front of the text. A purely informational status therefore looks like a warning. For example, a mod that shows how many Sentry issues are left to triage draws:
⚠ sentry-view: sentry: 1 to do / 16
(screenshot in the first comment)
The $.ui.status signature (status: (text: string | undefined) => void) takes only text. No option sets the icon, color or tone. The line isn't among the components a ui.render hook can redraw (InfoNotice, SessionMode, PromptHint, AbovePrompt, Pane, …), so a mod can't restyle it either. The only workaround is to move the information elsewhere: a SessionMode label, the PromptHint tail, or an AbovePrompt band.
Expected
A way for a mod to say what kind of status it is setting, for example:
$.ui.status(text, { tone: 'info' | 'warning' | 'error' })
// or
$.ui.status(text, { icon: '●' | false })
info would be dim with no icon, and warning would keep today's look. An alternative is to make the status line a ui.render site, as the comment in #91870 asks for the prompt bar and status line generally.
Why it matters
Using the same warning look for every mod status teaches people to ignore the ⚠, including on the engine's own pinned notices that sit beside it.
Environment
Claude Code 2.1.289, macOS 27, terminal (fullscreen layout), mod loaded through hot reloading.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗