← Catalog

@xiaoso/pi-plugin-windows-notify

Pi Windows notification plugin - sends notifications on task completion and user confirmation needed, with AFK mode to notify only when away from window

Extension

Install

Install with PiG

pig install npm:@xiaoso/pi-plugin-windows-notify

Install with Pi

pi install npm:@xiaoso/pi-plugin-windows-notify
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.0.2 (README.md). PiG does not review it.

简体中文 | English

pi-windows-tip

A pi extension that sends Windows desktop notifications when tasks complete, fail, or need your confirmation — so you can step away and come back when Pi needs you.

⚠️ Windows only — this extension uses Windows-specific APIs and will not work on other platforms.

Compatible with both Pi and OMP (Oh My Pi).

Features

  • Task completion / failure / confirmation-request notifications
  • AFK mode — only notify when you're away from the Pi window
  • Minimum task duration filter (skip trivially short tasks)
  • 7 languages (en, zh-CN, ja, ko, es, fr, ru) — auto-detected from system locale
  • Persistent settings across sessions

Install

Pi:

pi install npm:@xiaoso/pi-plugin-windows-notify

OMP:

omp plugin install @xiaoso/pi-plugin-windows-notify

Or from git:

pi install git:github.com/xiaoso456/pi-plugin-windows-notify

Commands

/notify    — open notification settings

Settings

SettingValuesDescription
Enabledon / offMaster switch
Notify Modeafk / allafk: only notify when away; all: always notify
Languageen / zh-CN / ja / ko / es / fr / ruDisplay language

Config file (Pi): ~/.pi/agent/pi-windows-tip-config.json Config file (OMP): ~/.omp/agent/pi-windows-tip-config.json

How it works

Listens to Pi lifecycle events and sends notifications via node-notifier. In AFK mode, active-win checks whether the foreground window is still Pi — notifications are suppressed while you're watching.

License

MIT