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.
- package/.claude-plugin/plugin.json +1 -1
- package/commit-sha +1 -1
- package/listener/pty-runner.js +5 -0
- 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.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
|
-
|
|
1
|
+
e6d8c5ca437e900daf65216e3742d35354a15ba6
|
package/listener/pty-runner.js
CHANGED
|
@@ -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.
|
|
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": {
|