Skip to content

Add option to suppress SessionStart message in non-Warp terminals#4

Open
RonAmihai wants to merge 1 commit intowarpdotdev:mainfrom
RonAmihai:feat/silence-session-start-message
Open

Add option to suppress SessionStart message in non-Warp terminals#4
RonAmihai wants to merge 1 commit intowarpdotdev:mainfrom
RonAmihai:feat/silence-session-start-message

Conversation

@RonAmihai
Copy link

@RonAmihai RonAmihai commented Feb 23, 2026

Problem

The SessionStart hook displays an "ℹ️ Warp plugin installed but you're not running in Warp terminal" message every time Claude Code starts in a non-Warp terminal.

However, the plugin's notifications (OSC 777) work in any terminal that supports OSC 777 — not just Warp. For example, Ghostty fully supports OSC 777, and the plugin's Stop and Notification hooks work correctly there. The message is misleading for these users and clutters the session start output.

Solution

Add a CLAUDE_CODE_WARP_QUIET_SESSION_START=1 environment variable check that suppresses the message when set. This gives users who intentionally run the plugin in non-Warp terminals a clean way to opt out of the banner without modifying the plugin.

Usage

# In shell profile (.zshrc, .bashrc, etc.)
export CLAUDE_CODE_WARP_QUIET_SESSION_START=1

The default behavior is unchanged — users who don't set the variable see the same messages as before.

…essage

The SessionStart hook shows a "not running in Warp terminal" message in
non-Warp terminals. However, other terminals like Ghostty also support
OSC 777 notifications, so the plugin works fine there and the message
is misleading.

Setting CLAUDE_CODE_WARP_QUIET_SESSION_START=1 suppresses the message
for users who intentionally run the plugin in non-Warp terminals.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant