Personal Telegram developer console for GitHub
feat: wire operational diagnostics into guided bot
davoodmehraban89 committed
Oct 4, 2026 at 14:04 UTC
99198223ce82f2c37571c31bfe799b883f621e93
1 file changed
+11
-2
src/guide-bot.js
+11
-2
@@ -1,5 +1,6 @@
1
import { NexaDevBot } from './bot.js';
2
-import { GuideMenuManager } from './guide-menu.js';
2
+import { OpsMenuManager } from './ops-menu.js';
3
+import { RuntimeDiagnostics } from './core/runtime-diagnostics.js';
4
5
function guidedPersistentQuickMenuMarkup() {
6
return {
@@ -17,7 +18,15 @@ function guidedPersistentQuickMenuMarkup() {
18
export class GuidedNexaDevBot extends NexaDevBot {
19
constructor(env = {}) {
20
super(env);
20
- this.menu = new GuideMenuManager(this.github);
21
+ this.diagnostics = new RuntimeDiagnostics({
22
+ env,
23
+ github: this.github,
24
+ registry: this.registry,
25
+ replayStore: this.replayStore,
26
+ workspaceStore: this.workspaceStore,
27
+ approvals: this.approvals
28
+ });
29
+ this.menu = new OpsMenuManager(this.github, this.diagnostics);
30
}
31
32
async handleMessage(message) {