bug: suppress built-in CLI "Use Claude Code Desktop" startup prompt #204

Closed
opened 2026-03-10 09:15:29 -07:00 by hikari · 1 comment
Owner

Summary

CLI v2.1.69 added a one-time startup prompt (shown up to 3 times) suggesting users install Claude Code Desktop on macOS and Windows. Since Hikari is a desktop wrapper, this prompt is misleading and confusing — users will see a recommendation to install software they're already effectively using.

Required Changes

  • Investigate whether the CLI exposes an environment variable or config flag to suppress this prompt
  • If so, pass the appropriate flag/env var when spawning the Claude process in wsl_bridge.rs
  • If not, filter the prompt text from the stdout stream before it reaches the terminal display
  • Ensure the check works on both WSL and Windows native paths

Reference

  • CLI v2.1.69: "Added a one-time startup prompt suggesting Claude Code Desktop on macOS and Windows (max 3 showings, dismissible)"

This issue was created with help from Hikari~ 🌸

## Summary CLI v2.1.69 added a one-time startup prompt (shown up to 3 times) suggesting users install Claude Code Desktop on macOS and Windows. Since Hikari **is** a desktop wrapper, this prompt is misleading and confusing — users will see a recommendation to install software they're already effectively using. ## Required Changes - Investigate whether the CLI exposes an environment variable or config flag to suppress this prompt - If so, pass the appropriate flag/env var when spawning the Claude process in `wsl_bridge.rs` - If not, filter the prompt text from the stdout stream before it reaches the terminal display - Ensure the check works on both WSL and Windows native paths ## Reference - CLI v2.1.69: "Added a one-time startup prompt suggesting Claude Code Desktop on macOS and Windows (max 3 showings, dismissible)" ✨ This issue was created with help from Hikari~ 🌸
Author
Owner

After investigation, this issue is not applicable to our app.

We invoke Claude Code with --output-format stream-json --input-format stream-json --verbose, which puts it into programmatic/non-interactive mode. The "Use Claude Code Desktop" startup prompt is a TTY/interactive-mode banner — it does not appear in the stream-json output and Naomi has never seen it surface in the app.

Closing as not applicable. If Anthropic ever adds this as a proper stream-json message type in a future version, we can revisit.

This issue was closed with help from Hikari~ 🌸

After investigation, this issue is not applicable to our app. We invoke Claude Code with `--output-format stream-json --input-format stream-json --verbose`, which puts it into programmatic/non-interactive mode. The "Use Claude Code Desktop" startup prompt is a TTY/interactive-mode banner — it does not appear in the stream-json output and Naomi has never seen it surface in the app. Closing as not applicable. If Anthropic ever adds this as a proper stream-json message type in a future version, we can revisit. ✨ This issue was closed with help from Hikari~ 🌸
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#204