thinkncollab-shell 0.0.10 → 0.0.12

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.
@@ -74,6 +74,9 @@ class WebSocketManager extends EventEmitter {
74
74
  this.connected = false;
75
75
  this.emit('disconnected', { reason });
76
76
  });
77
+ this.socket.on('task:verdict', (data) => {
78
+ this.emit('task:verdict', data);
79
+ });
77
80
 
78
81
  this.socket.on('reconnect', () => {
79
82
  this.connected = true;
@@ -109,10 +109,9 @@ class NotificationManager extends EventEmitter {
109
109
 
110
110
  /* Play notification sound
111
111
  */
112
- playSound() {
113
- // TODO: Implement sound playing
114
- // This would use 'sound-play' or similar package
115
- }
112
+ playSound() {
113
+ process.stdout.write('\x07'); // terminal bell — zero dependencies
114
+ }
116
115
 
117
116
  /* Mark notification as read
118
117
  */