Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Pi Coding Agent NotificationsNew to Visual Studio Code? Get it now.
Pi Coding Agent Notifications

Pi Coding Agent Notifications

Patrick Kerschbaum

|
1 install
| (0) | Free
Show terminal notifications from Pi Coding Agent (http://pi.dev/) when it needs user input.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pi Coding Agent Notifications

VS Code extension that shows macOS notifications when the Pi Coding Agent is waiting for input and the terminal is not focused.

Example macOS notification from Pi

Features

  • Native macOS notifications when Pi finishes a turn and the terminal is not visible.
  • Click a notification to focus the owning VS Code window and terminal.
  • Notifications auto-dismiss when you switch to the terminal yourself.
  • Grouped per terminal — new notifications replace stale ones.

Requirements

  • macOS — this extension uses native macOS notifications and is not available on other platforms.
  • pi-vscode-terminal-notification — companion Pi package that emits notifications when Pi finishes a turn. Without it, this VS Code extension has nothing to listen for.

Installation

  1. Install this extension from the Marketplace.

  2. Install the companion Pi package:

    pi install pi-vscode-terminal-notification
    
  3. On first use, macOS shows a permission dialog — click Allow: macOS notification permission dialog for pi-terminal-notifier

How it works

  1. The Pi extension writes an OSC 777 notify escape sequence to the terminal when Pi finishes a turn.
  2. This VS Code extension reads the terminal output stream and parses OSC 777 sequences (including tmux passthrough-wrapped ones).
  3. If the terminal is not focused, a native macOS notification is shown. Clicking it brings the VS Code window and terminal to the foreground.

Troubleshooting

Notifications not appearing

  • Notification permissions — open System Settings → Notifications, find pi-terminal-notifier, and enable Allow Notifications.
  • Pi extension not installed — this VS Code extension only listens; install the Pi package via pi install pi-vscode-terminal-notification.
  • Terminal is focused — notifications are intentionally suppressed when the Pi terminal is already visible and focused.

Checking logs

Logs are written to the "Pi Terminal Notify" output channel — open it via Command Palette → Output: Show Output Channel → Pi Terminal Notify.

Attribution

Derived from Pan Wenbo's vscode-terminal-osc-notifier (MIT).

Links

  • Marketplace listing
  • Companion Pi package on npm
  • Source code
  • Issue tracker
  • Pi Coding Agent
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft