[BUG] VS Code extension: a mod's AbovePrompt band covers the `/` and `@` menus
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code
What's Wrong?
A mod's AbovePrompt band (here, a status line) is drawn on top of the prompt's typeahead menus and hides their rows.
The band at rest:
<img width="760" height="170" alt="Image" src="https://github.com/user-attachments/assets/da179679-32c0-462d-9306-6967e7aa9187" />
Typing /: the band covers the model menu.
<img width="752" height="231" alt="Image" src="https://github.com/user-attachments/assets/0ada7328-fdc4-48bf-b8c2-2bc8c546b648" />
Typing @: the band covers the file list.
<img width="756" height="167" alt="Image" src="https://github.com/user-attachments/assets/da807ac7-7ca4-4cb5-8d02-38f7cb1e5546" />
A mod cannot step aside: AbovePrompt props carry no menu-open flag, and the VS Code prompt box raises no prompt.edit / prompt.change.
What Should Happen?
The menu draws above the band, or the band hides while a menu is open.
Error Messages/Logs
None.
Steps to Reproduce
- Save the mod below to
band-overlap/. - Add
"CLAUDE_CODE_PLUGIN_DIRS": "/path/to/band-overlap"to theenvblock of~/.claude/settings.json. - Open a new session in the VS Code extension and type
/or@.
<details>
<summary>Minimal mod (3 files)</summary>
band-overlap/.claude-plugin/plugin.json
{ "name": "band-overlap", "version": "0.1.0", "description": "Draws an AbovePrompt band to show it covering the / and @ menus" }
band-overlap/hooks/hooks.json
{ "modules": ["./register.tsx"] }
band-overlap/hooks/register.tsx
import type { Register } from 'claude-code'
export const register: Register = on => {
on('ui.render', { component: 'AbovePrompt' }, ($, e, next) => {
if (e.surface === 'terminal' || e.props.hasSurvey) return next(e)
const { Text } = $.ui.resolve(e)
return <Text>band</Text>
})
}
</details>
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
N/A
Claude Code Version
2.1.300 (VS Code extension)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other: VS Code extension panel (VS Code 1.142.0)
Additional Information
Related: #99401.