claude-notification-plugin 1.1.4 → 1.1.6

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
@@ -18,13 +18,6 @@ Sends alerts to Telegram and desktop (Windows, macOS, Linux) when Claude finishe
18
18
  - Skips short tasks (< 15s by default)
19
19
  - Per-channel enable/disable (globally and per-project)
20
20
 
21
- ## Install
22
-
23
- ```bash
24
- npm install -g claude-notification-plugin
25
- ```
26
-
27
-
28
21
  ## Telegram Setup
29
22
 
30
23
  If you plan to work with Telegram, you need to pre-register the bot and send a message to it
@@ -34,16 +27,21 @@ If you plan to work with Telegram, you need to pre-register the bot and send a m
34
27
  3. Copy the bot token (format: `123456789:ABCdef...`)
35
28
  4. **Send any message to your new bot**
36
29
 
30
+ ## Install
31
+
32
+ ```bash
33
+ npm install -g claude-notification-plugin --foreground-scripts
34
+ ```
37
35
 
38
36
  ## Setup
39
37
 
38
+ If npm install was run without the --foreground-scripts switch, or if you need to reconfigure
39
+ The installer prompts for Telegram bot credentials and sets everything up.
40
+
40
41
  ```bash
41
42
  claude-notify install
42
43
  ```
43
44
 
44
- The installer prompts for Telegram bot credentials and sets everything up.
45
- Re-run `claude-notify install` anytime to reconfigure.
46
-
47
45
  ## Uninstall
48
46
 
49
47
  ```bash
package/bin/install.js CHANGED
@@ -475,7 +475,7 @@ Claude Notification Plugin - Setup
475
475
  `);
476
476
 
477
477
  if (existingToken) {
478
- const masked = existingToken.slice(0, 6) + '...' + existingToken.slice(-4);
478
+ const masked = existingToken.slice(0, 10) + '...' + existingToken.slice(-10);
479
479
  console.log(`Telegram token found: ${masked}`);
480
480
  const reuse = await ask(rl, 'Keep existing token? (Y/n): ');
481
481
  if (reuse.toLowerCase() === 'n') {
package/commit-sha CHANGED
@@ -1 +1 @@
1
- de93efdd9c0a0aa72fdedb23302e244436529929
1
+ ce8065e53638e41f0ae971030f26f0b556dc287b
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "claude-notification-plugin",
3
3
  "productName": "claude-notification-plugin",
4
- "version": "1.1.4",
4
+ "version": "1.1.6",
5
5
  "description": "Claude Code task-completion notifications: Telegram, desktop notifications (Windows/macOS/Linux), sound, and voice",
6
6
  "type": "module",
7
7
  "engines": {