claude-notification-plugin 1.0.109 → 1.0.110
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 +8 -3
- 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.110",
|
|
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
|
@@ -181,13 +181,18 @@ function copyToCache (version) {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
try {
|
|
184
|
-
|
|
184
|
+
const env = { ...process.env };
|
|
185
|
+
delete env.npm_config_global;
|
|
186
|
+
delete env.npm_config_prefix;
|
|
187
|
+
execSync('npm install --omit=dev --ignore-scripts', {
|
|
185
188
|
cwd: dest,
|
|
186
189
|
stdio: 'pipe',
|
|
187
190
|
windowsHide: true,
|
|
191
|
+
env,
|
|
188
192
|
});
|
|
189
|
-
} catch {
|
|
193
|
+
} catch (err) {
|
|
190
194
|
console.warn(' Warning: could not install dependencies in plugin cache.');
|
|
195
|
+
console.warn(' Reason:', err.stderr?.toString?.() || err.message);
|
|
191
196
|
}
|
|
192
197
|
|
|
193
198
|
return dest;
|
|
@@ -514,7 +519,7 @@ Send any message to your bot in Telegram, then press Enter.\x1b[0m`);
|
|
|
514
519
|
} else {
|
|
515
520
|
const telegramMsg = token && chatId
|
|
516
521
|
? 'Telegram: using existing config.'
|
|
517
|
-
: '
|
|
522
|
+
: 'Interactive setup skipped. Run "claude-notify install" to configure.';
|
|
518
523
|
console.log(`\nNon-interactive install (stdin is not a terminal).\n${telegramMsg}`);
|
|
519
524
|
}
|
|
520
525
|
|
package/commit-sha
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
18261926cec70dd6480c219b4c5323291a0df7ad
|
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.110",
|
|
5
5
|
"description": "Claude Code task-completion notifications: Telegram, desktop notifications (Windows/macOS/Linux), sound, and voice",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|