Remove dead channel/mention code — DM-only bot cleanup

MeshAI is now DM-only. Removed all unreachable channel response
paths, @mention detection, ChannelsConfig, and channel TUI menu.
Fixed restart mechanism with integrated watcher and SIGKILL fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ubuntu 2026-02-24 08:43:25 +00:00
commit 1e033316fb
7 changed files with 81 additions and 199 deletions

View file

@ -6,9 +6,8 @@
# === BOT IDENTITY ===
bot:
name: ai # Bot's trigger name (users say "@ai help")
name: ai # Bot's display name
owner: "" # Owner's callsign (optional)
respond_to_mentions: true # Respond when name is mentioned
respond_to_dms: true # Respond to direct messages
filter_bbs_protocols: true # Ignore advBBS sync/notification messages
@ -19,12 +18,6 @@ connection:
tcp_host: localhost # For TCP connection (meshtasticd)
tcp_port: 4403
# === CHANNEL FILTERING ===
channels:
mode: all # all | whitelist
whitelist: # Only respond on these channels (if mode=whitelist)
- 0
# === RESPONSE BEHAVIOR ===
response:
delay_min: 2.2 # Min delay before responding (seconds)