claude-notification-plugin 1.1.40 → 1.1.41

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.40",
3
+ "version": "1.1.41",
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/commit-sha CHANGED
@@ -1 +1 @@
1
- 03d819f371c1cd76acd7127b9c1e1a6a90b4daa9
1
+ e6d8c5ca437e900daf65216e3742d35354a15ba6
@@ -293,6 +293,11 @@ export class PtyRunner extends EventEmitter {
293
293
  // Filter out pipe-mode-specific args
294
294
  const args = claudeArgs.filter(a => a !== '-p' && a !== '--output-format' && a !== 'json');
295
295
 
296
+ // Ensure --permission-mode is set (default: auto) to prevent interactive permission prompts
297
+ if (!args.includes('--permission-mode')) {
298
+ args.push('--permission-mode', 'auto');
299
+ }
300
+
296
301
  this.logger.info(`Creating PTY session in ${workDir} with args: ${JSON.stringify(args)}`);
297
302
 
298
303
  const shell = process.platform === 'win32' ? 'cmd.exe' : '/bin/bash';
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.40",
4
+ "version": "1.1.41",
5
5
  "description": "Claude Code task-completion notifications: Telegram, desktop notifications (Windows/macOS/Linux), sound, and voice",
6
6
  "type": "module",
7
7
  "engines": {