pi-win-notify 1.0.2 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pi-win-notify
2
2
 
3
- Desktop notification for [pi coding agent](https://pi.dev). Pops up a rich popup when pi finishes output never miss a completed task.
3
+ A Windows notification tool for [pi](https://pi.dev) — fast focus, response preview, elapsed time, mute, multi-language. Pops up a dark popup when pi finishes, so you never miss a completed task. Skips automatically when the terminal is focused.
4
4
 
5
5
  > 中文说明见 [README.zh.md](./README.zh.md)
6
6
 
@@ -31,19 +31,16 @@ pi install git:https://github.com/ryanchan720/pi-desktop-notify.git
31
31
 
32
32
  ## Features
33
33
 
34
+ - ⚡ **Fast focus** — click or **Alt+]** to switch back to terminal. **Alt+[** to dismiss
35
+ - 👁 **Response preview** — shows AI reply (first 50 chars) right in the popup, or fixed text
36
+ - ⏱ **Elapsed time** — displays how long the task took
37
+ - 🔕 **Mute** — 3 min / 30 min / 1 hour / off. Persists to disk, survives restarts. Multi-instance auto-sync
38
+ - 🌐 **Multi-language** — `zh` / `en` / `ja` / `ko`
34
39
  - 🪟 Dark rounded popup, bottom-right, follows cursor across monitors
35
- - 🔝 Top-most, doesn't steal focus, configurable opacity, auto-dismiss
36
- - ⏱ Elapsed time display
37
- - 🔕 Mute button: 3 min / 30 min / 1 hour / off
38
- - Persists to disk, survives restarts
39
- - Multi-instance auto-sync via file check on each `agent_end`
40
- - ⌨ **Alt+[** dismiss, **Alt+]** switch back to terminal
40
+ - 🔝 Top-most, never steals focus, configurable opacity, auto-dismiss
41
41
  - 🤖 Auto-suppress during LLM retries & context compaction
42
- - 🏠 Skip when terminal is already focused
43
42
  - 📝 Title = first 25 chars of user prompt
44
43
  - 📚 Multi-pi window stacking
45
- - ⚡ Persistent daemon: first popup ~3s, subsequent <0.5s
46
- - 🌍 Cross-platform: Windows / macOS / Linux
47
44
 
48
45
  ## Test
49
46
 
package/README.zh.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pi-win-notify
2
2
 
3
- [pi coding agent](https://pi.dev) 桌面通知扩展。pi 完成输出时右下角弹出通知窗口,切到其他程序时不会错过。
3
+ [pi](https://pi.dev) 桌面通知工具 — 快速聚焦、回复预览、耗时显示、勿扰、多语言。pi 完成时右下角弹出暗色窗口,切走也不错过。终端在前台时自动跳过。
4
4
 
5
5
  > For English, see [README.md](./README.md)
6
6
 
@@ -31,19 +31,16 @@ pi install git:https://github.com/ryanchan720/pi-desktop-notify.git
31
31
 
32
32
  ## 特性
33
33
 
34
+ - ⚡ **快速聚焦** — 点击按钮或 **Alt+]** 一键切回终端。**Alt+[** 关闭弹窗
35
+ - 👁 **回复预览** — 弹窗直接显示 AI 回复前 50 字,或固定完成文本
36
+ - ⏱ **耗时显示** — 显示任务耗时
37
+ - 🔕 **勿扰** — 3 分钟 / 30 分钟 / 1 小时 / 关闭。持久化,重启不丢。多实例自动同步
38
+ - 🌐 **多语言** — `zh` / `en` / `ja` / `ko`
34
39
  - 🪟 暗色圆角弹窗,右下角,跟光标走
35
40
  - 🔝 置顶、不抢焦点、可配不透明度、自动消失
36
- - ⏱ 显示耗时
37
- - 🔕 勿扰按钮:3 分钟 / 30 分钟 / 1 小时 / 关闭
38
- - 持久化到磁盘,重启不丢
39
- - 多实例自动同步:每次 `agent_end` 检查文件
40
- - ⌨ **Alt+[** 关闭,**Alt+]** 切回终端
41
41
  - 🤖 自动抑制 LLM 重试和上下文压缩期间的弹窗
42
- - 🏠 终端在前台时自动跳过
43
42
  - 📝 通知标题 = 用户 prompt 前 25 字
44
43
  - 📚 多 pi 窗口堆叠
45
- - ⚡ 常驻守护进程:首次弹窗 ~3s,后续 <0.5s
46
- - 🌍 跨平台:Windows / macOS / Linux
47
44
 
48
45
  ## 测试
49
46
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "pi-win-notify",
3
- "version": "1.0.2",
3
+ "version": "1.0.5",
4
4
  "type": "module",
5
- "description": "WPF desktop notification for pi coding agent rich popup with mute, multi-monitor, i18n",
5
+ "description": "A Windows notification tool for pi fast focus, response preview, elapsed time, mute, multi-language",
6
6
  "keywords": [
7
7
  "pi-package",
8
8
  "pi-extension",