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.
- package/.claude-plugin/plugin.json +1 -1
- package/bin/install.js +2 -1
- package/bin/listener-cli.js +12 -0
- package/commit-sha +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-notification-plugin",
|
|
3
|
-
"version": "1.1.
|
|
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(`
|
|
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}`);
|
package/bin/listener-cli.js
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
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": {
|