主要变更: - 后端:为 botNodeRecord 添加 llm_queue_enabled 和 llm_include_channel_messages 字段 - 后端:移除全局 LLM 队列开关,完全基于每个机器人的设置 - 后端:重写 enqueueChannelMessageToLLM,为每个启用了「包含频道消息」的机器人创建独立队列记录 - 后端:频道消息不再使用 bot_id=0,每条消息都有明确的机器人归属 - 前端:AdminLLM.vue 完全重写,添加机器人 LLM 设置面板 - 前端:消息列表表格新增「机器人」列,显示机器人名称和节点 ID - 前端:消息类型判断逻辑改为使用 channel_id 区分频道/私聊 - 前后端类型同步更新
MeshMap Frontend
Vue 3 + TypeScript + Vite frontend for the Meshtastic MQTT server.
Features
- Left panel: recent chat messages
- Right panel: Leaflet/OpenStreetMap node map
- Bottom panel: selected node details, recent messages, and recent positions
The app uses relative /api URLs. In development, Vite proxies /api to the Go backend.
Development
Start the Go backend:
go run . --web-host 127.0.0.1 --web-port 8080
Start the frontend dev server:
cd meshmap_frontend
npm install
npm run dev
Production build
cd meshmap_frontend
npm run build
The build output is written to the repository root dist/ directory, which is served by the Gin backend.
Map tiles
The map uses Leaflet with OpenStreetMap tiles:
https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
Network access to the tile server is required unless this is changed to a local tile source later.