claude-notification-plugin 1.1.60 → 1.1.61

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-notification-plugin",
3
- "version": "1.1.60",
3
+ "version": "1.1.61",
4
4
  "description": "Claude Code task-completion notifications: Telegram, desktop notifications (Windows/macOS/Linux), sound, and voice",
5
5
  "author": {
6
6
  "name": "Viacheslav Makarov",
package/bin/install.js CHANGED
@@ -497,7 +497,8 @@ async function main () {
497
497
  const version = getVersion();
498
498
 
499
499
  console.log('');
500
- console.log(`Registering plugin v${version} in Claude Code...`);
500
+ console.log(`claude-notify v${version}`);
501
+ console.log('Registering plugin in Claude Code...');
501
502
 
502
503
  const installPath = copyToCache(version);
503
504
  console.log(` Cached: ${installPath}`);
@@ -11,6 +11,16 @@ import {
11
11
 
12
12
  const __filename = fileURLToPath(import.meta.url);
13
13
  const __dirname = path.dirname(__filename);
14
+ const PACKAGE_ROOT = path.resolve(__dirname, '..');
15
+
16
+ function getVersion () {
17
+ try {
18
+ const pkg = JSON.parse(fs.readFileSync(path.join(PACKAGE_ROOT, 'package.json'), 'utf-8'));
19
+ return pkg.version;
20
+ } catch {
21
+ return 'unknown';
22
+ }
23
+ }
14
24
 
15
25
  function getLogFile () {
16
26
  try {
@@ -181,6 +191,8 @@ function stopDaemon () {
181
191
  }
182
192
 
183
193
  async function showStatus () {
194
+ console.log(`claude-notify v${getVersion()}`);
195
+
184
196
  const pid = readPid();
185
197
  if (!pid) {
186
198
  console.log('Status: not running');
package/commit-sha CHANGED
@@ -1 +1 @@
1
- f80a38052530b65482f761ddfab8087fceab2587
1
+ abbc3917465b38585bb933edc777768f40f4b107
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.60",
4
+ "version": "1.1.61",
5
5
  "description": "Claude Code task-completion notifications: Telegram, desktop notifications (Windows/macOS/Linux), sound, and voice",
6
6
  "type": "module",
7
7
  "engines": {