Suppress toast notifications for automated executions
Automated executions (started_by gandalf: or scheduler:) no longer trigger success/failure toast alerts for connected browser users. Server now includes is_automated flag in command_result broadcasts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2818,11 +2818,13 @@
|
||||
console.log(`Error: ${data.stderr}`);
|
||||
}
|
||||
|
||||
// Show terminal notification
|
||||
if (data.success) {
|
||||
showTerminalNotification('Command completed successfully', 'success');
|
||||
} else {
|
||||
showTerminalNotification('Command execution failed', 'error');
|
||||
// Show terminal notification only for manual executions
|
||||
if (!data.is_automated) {
|
||||
if (data.success) {
|
||||
showTerminalNotification('Command completed successfully', 'success');
|
||||
} else {
|
||||
showTerminalNotification('Command execution failed', 'error');
|
||||
}
|
||||
}
|
||||
|
||||
// If viewing execution details, refresh that specific execution
|
||||
|
||||
Reference in New Issue
Block a user