Commit graph

8 commits

Author SHA1 Message Date
d20ecdb89c fix: enterprise-grade reliability — three changes
Some checks failed
BotServer CI/CD / build (push) Failing after 6s
1. CI: restart system container instead of just systemctl restart botserver
   — ensures full env reload, Vault re-auth, DriveMonitor fresh state

2. Health endpoint: add 'commit' field with short git SHA
   — build.rs passes BOTSERVER_COMMIT from CI via rustc-env
   - Both /health and /api/health now report the running commit

3. WebSocket recv_task: spawn stream_response in separate tokio task
   - prevents one hung LLM from freezing all message processing
   - each WebSocket connection can now handle multiple messages
     concurrently regardless of LLM latency

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-14 09:51:54 -03:00
d4a7d1246b Fix build.rs: only watch botui/ui/suite if exists (CI compatibility) 2026-02-05 15:28:27 -03:00
9b9015bfa1 Keep 3rdparty.toml embedded in binary (already using include_str!) 2026-02-05 14:59:57 -03:00
355215c2a2 Update: refactor migrations, update source files, and add new features 2026-02-04 13:29:29 -03:00
c4c9521dd9 - Split into botui. 2025-12-02 21:09:43 -03:00
20696dd64f - New templates. 2025-11-22 01:27:29 -03:00
b423c1f66a feat: add HTTP server and refactor initialization
- Added HTTP server with CORS support and various endpoints
- Introduced http_tx/http_rx channels for HTTP server control
- Cleaned up build.rs by removing commented code
- Updated .gitignore to use *.rdb pattern instead of .rdb
- Simplified capabilities.json to empty object
- Improved UI initialization with better error handling
- Reorganized module imports in main.rs
- Added worker count configuration for HTTP server

The changes introduce a new HTTP server capability while cleaning up and improving existing code structure. The HTTP server includes authentication, session management, and websocket support.
2025-11-15 09:48:46 -03:00
743507cd09 feat(desktop): add desktop mode support with Tauri integration
- Changed default feature to include 'desktop' in Cargo.toml
- Replaced --noui flag with --desktop flag in launch.json
- Added Tauri desktop mode implementation in main.rs
- Simplified command line argument handling
- Cleaned up code formatting in main.rs

The changes introduce a new mode for running the application as a desktop app using Tauri framework, while maintaining the existing server functionality. The desktop mode loads a webview window with a specific HTML interface.
2025-11-14 16:54:55 -03:00