claude-notification-plugin 1.0.95 → 1.0.96
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/uninstall.js +13 -2
- 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.0.
|
|
3
|
+
"version": "1.0.96",
|
|
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/uninstall.js
CHANGED
|
@@ -101,7 +101,7 @@ const pluginCacheDir = path.join(claudeDir, 'plugins', 'cache', 'bazilio-plugins
|
|
|
101
101
|
let cacheRemoved = false;
|
|
102
102
|
if (fs.existsSync(pluginCacheDir)) {
|
|
103
103
|
fs.rmSync(pluginCacheDir, { recursive: true, force: true });
|
|
104
|
-
cacheRemoved =
|
|
104
|
+
cacheRemoved = !fs.existsSync(pluginCacheDir);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
const extras = [
|
|
@@ -109,11 +109,22 @@ const extras = [
|
|
|
109
109
|
cliBinsRemoved ? 'CLI wrapper scripts removed.' : '',
|
|
110
110
|
].filter(Boolean).join('\n');
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
const cacheStillExists = fs.existsSync(pluginCacheDir);
|
|
113
|
+
if (cacheStillExists) {
|
|
114
|
+
console.log(`
|
|
115
|
+
Warning: Could not fully remove plugin cache directory:
|
|
116
|
+
${pluginCacheDir}
|
|
117
|
+
Please remove it manually.
|
|
118
|
+
Hooks removed from settings.json
|
|
119
|
+
Config files deleted.${extras ? `\n${extras}` : ''}
|
|
120
|
+
`);
|
|
121
|
+
} else {
|
|
122
|
+
console.log(`
|
|
113
123
|
Claude Notification Plugin uninstalled.
|
|
114
124
|
Hooks removed from settings.json
|
|
115
125
|
Config files deleted.${extras ? `\n${extras}` : ''}
|
|
116
126
|
`);
|
|
127
|
+
}
|
|
117
128
|
|
|
118
129
|
// If run manually (not via npm lifecycle), remove the global npm package too
|
|
119
130
|
if (!process.env.npm_lifecycle_event) {
|
package/commit-sha
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
dbbfbd026315df5250a8765f89adbd2e125e745e
|
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.0.
|
|
4
|
+
"version": "1.0.96",
|
|
5
5
|
"description": "Claude Code task-completion notifications: Telegram, desktop notifications (Windows/macOS/Linux), sound, and voice",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|