[FEATURE] Add IDE connection status to custom status line JSON payload
Resolved 💬 2 comments Opened Feb 27, 2026 by blearyalarm Closed Mar 28, 2026
When using a custom status line script via settings.json:
{
"statusLine": {
"type": "command",
"command": "~/.claude/statusline.sh"
}
}
The JSON payload passed to the script does not include IDE connection status. This makes it impossible to display IDE connection state in a custom status line.
Current JSON payload includes:
cwd,workspace.*model.display_name,model.idcontext_window.used_percentagecost.*version,session_id
Missing:
- IDE connection status (e.g.,
ide.connected,ide.name)
Requested addition:
{
"ide": {
"connected": true,
"name": "Cursor"
}
}
Use case:
I want my status line to show:
📁 my-project | Opus 4.5 | 42% ctx | Cursor
Currently I can only show "No IDE" or omit it entirely, even when /ide status confirms a connection.
Environment:
- Claude Code version: 2.1.62
- OS: macOS
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗