feat(web): serve the dashboard and its interface

The front-end is plain JavaScript served as is: no build step to run before
the bot starts, and no second toolchain to keep alive. A simple/advanced
switch hides the technical panels without ever standing in for a permission.

`npm run setup` starts the wizard alone, because the bot refuses to boot
without a token and the `.env` has to be writable from somewhere. When the
webhook and the dashboard share a port, a single HTTP server is started.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
nocodeandClaude Opus 5 committed 2026-09-23 20:09:14 +02:00
1 parent bf92badb05
commit 06a9be0cba
23 files changed
+5850 -2

No files matched your search

+1
View File
@@ -11,6 +11,7 @@
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js",
"setup": "node scripts/setup-server.js",
"deploy:commands": "node scripts/deploy-commands.js",
"db:init": "node scripts/init-database.js",
"changelog": "node scripts/generate-changelog.js",