thinkncollab-shell 0.0.10 → 0.0.13
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/Readme.md +32 -0
- package/package.json +5 -2
- package/src/commands/github/commits.js +58 -0
- package/src/commands/github/issue-create.js +67 -0
- package/src/commands/github/issues.js +57 -0
- package/src/commands/github/pulls.js +58 -0
- package/src/commands/github/statusgh.js +50 -0
- package/src/commands/index.js +30 -26
- package/src/commands/room/leave.js +6 -15
- package/src/commands/shell/status.js +5 -5
- package/src/commands/tasks/complete.js +748 -35
- package/src/commands/tasks/create-task.js +2 -2
- package/src/commands/tasks/loadtest.js +73 -0
- package/src/commands/tasks/task-status.js +63 -52
- package/src/commands/tasks/task.js +169 -65
- package/src/commands/tasks/tasks.js +4 -3
- package/src/commands/terminal/share.js +1 -1
- package/src/core/api-client.js +1 -1
- package/src/core/geekload.js +524 -0
- package/src/core/notification-window.js +25 -5
- package/src/core/shell.js +338 -299
- package/src/core/websocket.js +3 -0
- package/src/events/notifications.js +3 -4
package/src/core/websocket.js
CHANGED
|
@@ -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
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
112
|
+
playSound() {
|
|
113
|
+
process.stdout.write('\x07'); // terminal bell — zero dependencies
|
|
114
|
+
}
|
|
116
115
|
|
|
117
116
|
/* Mark notification as read
|
|
118
117
|
*/
|