Personal Telegram developer console for GitHub
feat: wire guided bot into Worker entrypoint
davoodmehraban89 committed
Oct 4, 2026 at 12:31 UTC
90179bac4c718a0cc83113816db4b91fa3ac18a9
1 file changed
+3
-3
src/index.js
+3
-3
@@ -1,4 +1,4 @@
1
-import { NexaDevBot } from './bot.js';
1
+import { GuidedNexaDevBot } from './guide-bot.js';
2
import { DurableWorkspaceStoreClient } from './core/workspace-store.js';
3
import { handleWorkspaceEditorRequest, workspaceEditorPageResponse } from './workspace-editor.js';
4
export { ApprovalReplayGuard } from './durable/approval-replay-guard.js';
@@ -70,7 +70,7 @@ export default {
70
}
71
72
if (url.pathname === '/status') {
73
- const bot = new NexaDevBot(env);
73
+ const bot = new GuidedNexaDevBot(env);
74
const statusView = bot.menu.getServiceStatusView();
75
return jsonResponse(statusView);
76
}
@@ -103,7 +103,7 @@ export default {
103
return jsonResponse({ ok: true, ignored: true });
104
}
105
106
- const bot = new NexaDevBot(env);
106
+ const bot = new GuidedNexaDevBot(env);
107
const result = await bot.handleUpdate(update);
108
return jsonResponse(result);
109
} catch (err) {