macOS notifications appear from "Script Editor" instead of "Claude Code"

Resolved 💬 3 comments Opened Mar 31, 2026 by tks-f Closed Jun 11, 2026

Description

On macOS, Claude Code sends desktop notifications via osascript (display notification). Because of this, all notifications appear as coming from "Script Editor" (スクリプトエディタ) rather than "Claude Code".

This makes it difficult for users to:

  • Identify which app is sending the notification
  • Configure notification preferences specifically for Claude Code (e.g., disabling only Claude Code notifications without affecting other osascript-based notifications)

Steps to Reproduce

  1. Run Claude Code on macOS
  2. Interact with it (e.g., ask a question, run a task)
  3. Observe the macOS notification center

Expected Behavior

Notifications should appear with "Claude Code" as the sender, allowing users to manage notification preferences independently.

Actual Behavior

Notifications appear from "Script Editor" (Script Editor.app), because osascript -e 'display notification ...' routes through Script Editor.

Screenshot

<img width="380" height="398" alt="Image" src="https://github.com/user-attachments/assets/60b2cf87-2c37-44c1-a683-0a574e42ed55" />

Multiple notifications all showing "スクリプトエディタ" (Script Editor) as the source instead of Claude Code.

Possible Solutions

  • Use terminal-notifier which allows setting a custom app icon and bundle ID
  • Bundle a lightweight native notification helper
  • Use the Node.js node-notifier package with a custom app identity

Environment

  • macOS Sequoia
  • Claude Code (CLI)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗