@gtchakama/wa-tui 1.4.5 → 1.5.0

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
@@ -89,10 +89,13 @@ Run the command from whatever directory you want to use for WhatsApp session fil
89
89
  | -------- | ----------- |
90
90
  | `WA_TUI_RESIZE` | Set to `1` to enable resize-related behavior used during development (`npm run start:resize`). |
91
91
  | `WA_TUI_NO_SOUND` | Set to `1` to disable the incoming-message notification sound. |
92
+ | `WA_TUI_NO_DESKTOP_NOTIFY` | Set to `1` to disable desktop notifications for incoming messages in chats you are not currently viewing. |
92
93
  | `WA_TUI_SOUND` | Optional path to an audio file (macOS: `afplay`; Linux: `paplay` / `aplay`). Overrides the default tone. |
93
94
 
94
95
  Incoming messages play a short sound when you are **not** viewing that chat. Defaults: **macOS** — `Ping.aiff` via `afplay`; **Windows** — short two-tone console beep; **Linux** — freedesktop `complete.oga` or `message.oga`, then WAV fallback; otherwise the terminal bell. There is no sound for your own messages or for messages in the chat you currently have open.
95
96
 
97
+ Desktop notifications are also sent for incoming messages outside the chat you currently have open. They are best-effort: **macOS** uses `osascript`, **Linux** uses `notify-send`, and **Windows** uses a small PowerShell balloon notification.
98
+
96
99
  ## Scripts (development)
97
100
 
98
101
  | Command | Description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gtchakama/wa-tui",
3
- "version": "1.4.5",
3
+ "version": "1.5.0",
4
4
  "description": "Terminal UI for WhatsApp Web (blessed + whatsapp-web.js)",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -45,5 +45,6 @@
45
45
  "puppeteer-core": "^24.40.0",
46
46
  "qrcode-terminal": "^0.12.0",
47
47
  "whatsapp-web.js": "^1.34.6"
48
- }
48
+ },
49
+ "packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"
49
50
  }