Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AI Task NotifierNew to Visual Studio Code? Get it now.
AI Task Notifier

AI Task Notifier

Osamu Inoue

|
8 installs
| (0) | Free
Get notified on your iPhone/Apple Watch when long-running terminal commands (Claude Code, builds, tests, etc.) finish. Plays a local sound and sends push notifications via Pushover.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Task Notifier

Get notified on your iPhone / Apple Watch when long-running terminal commands finish in VS Code.

Perfect for Claude Code CLI, builds, tests, deployments, or any command that takes a while.

Features

  • Detects terminal command completion via VS Code Shell Integration API
  • Sends push notifications to iPhone / Apple Watch via Pushover
  • Plays a local macOS system sound
  • Configurable minimum duration threshold (default: 30 seconds)
  • Only notifies when VS Code is not focused (you're away)

Requirements

  • VS Code 1.100.0 or later
  • Terminal Shell Integration enabled (default in recent VS Code versions)
  • Pushover account and app for iPhone / Apple Watch notifications

Setup

1. Install Pushover

  1. Create a free account at pushover.net
  2. Install the Pushover app on your iPhone (one-time purchase of $5)
  3. Note your User Key from the Pushover dashboard
  4. Create a new application and note the API Token

2. Configure the Extension

Open VS Code Settings and search for "AI Task Notifier":

  • Pushover User Key: Your Pushover user key
  • Pushover API Token: Your Pushover application API token
  • Minimum Duration: Only notify for commands running longer than this (seconds)
  • Sound Enabled: Play a local macOS sound on completion
  • Only When Unfocused: Only notify when VS Code window is not focused

3. Test

Run the command "AI Task Notifier: Send Test Notification" from the Command Palette (Cmd+Shift+P) to verify your Pushover setup.

Commands

Command Description
AI Task Notifier: Enable Enable notifications
AI Task Notifier: Disable Disable notifications
AI Task Notifier: Send Test Notification Send a test push notification

Settings

Setting Default Description
aiTaskNotifier.pushoverUserKey "" Pushover user key
aiTaskNotifier.pushoverApiToken "" Pushover API token
aiTaskNotifier.minimumDurationSeconds 30 Minimum command duration to trigger notification
aiTaskNotifier.soundEnabled true Play local macOS sound
aiTaskNotifier.localSoundName Glass macOS system sound name
aiTaskNotifier.pushoverSound pushover Pushover notification sound
aiTaskNotifier.pushoverPriority 0 Priority: -2 (lowest) to 1 (high)
aiTaskNotifier.enabled true Master enable/disable
aiTaskNotifier.onlyWhenUnfocused true Only notify when VS Code is not focused

How It Works

The extension uses VS Code's Terminal Shell Integration API to detect when commands start and finish. When a command completes:

  1. Checks if the execution duration exceeds the minimum threshold
  2. Checks if VS Code is not focused (if configured)
  3. Plays a local macOS system sound
  4. Sends a push notification via Pushover with the command name, exit status, and duration

Troubleshooting

No notifications received

  • Ensure Shell Integration is enabled: check the "AI Task Notifier" output channel (View > Output) for "Shell integration activated" messages
  • Verify Pushover credentials with the "Send Test Notification" command
  • Check that minimumDurationSeconds is not set too high
  • If onlyWhenUnfocused is enabled, switch away from VS Code before the command finishes

Shell Integration not activating

Shell Integration requires VS Code 1.100.0+ and a compatible shell (bash, zsh, pwsh). Check VS Code's terminal settings to ensure it's not disabled.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft