Claude Code
25e8879abe
feat: complete system optimization and enhancements
...
This commit adds comprehensive system optimizations, monitoring,
backup/restore functionality, and complete deployment documentation.
Optimizations Added:
- Prometheus metrics exporter at port 9101
- System metrics (CPU, memory, disk, network, load)
- Database metrics (devices, conversations, logs)
- Automatic scraping by Prometheus
- Firewall and security hardening
- iptables rules configured
- LAN-only access for sensitive ports
- Docker network support added
- Automatic persistence on boot
- Database performance optimization
- Indexes on frequently queried columns
- VACUUM ANALYZE for statistics
- Query performance improvements
- Automatic backup and restore
- Daily/weekly/monthly backup retention
- Database backups (PostgreSQL dump)
- Session backups (tar.gz archives)
- Configuration backups
- One-click restore functionality
- Grafana dashboard provisioning
- Pre-configured system monitoring dashboard
- Auto-loaded on Grafana startup
- Real-time metrics visualization
- Cron job automation
- Database backup: daily at 2 AM
- Session sync: every 10 minutes
- Health check: every 5 minutes
- Metrics collection: continuous
Documentation:
- DEPLOYMENT-COMPLETE.md - Complete deployment guide
- ROADMAP.md - Updated to v2.0 with all completed features
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-29 18:00:47 +08:00
Claude Code
77645d143d
feat: complete distributed Moltbot cluster enhancements
...
This commit adds comprehensive enhancements to the Moltbot distributed
cluster system, completing high and medium priority features.
Features Added:
- Web Management Panel (admin-panel.html)
- Real-time database integration
- Device management from database
- Monitoring integration links (Grafana/Prometheus)
- System health status indicator
- Database Persistence System
- PostgreSQL database with 4 tables (conversations, devices, system_logs, statistics)
- HTTP API at port 18800 for database operations
- systemd service for auto-start
- Monitoring Stack (Grafana + Prometheus)
- Docker Compose setup
- Grafana: http://38.14.254.51:3000 (admin/moltbot2024)
- Prometheus: http://38.14.254.51:9090
- Node Exporter for system metrics
- Automation Scripts
- notebook-auto-deploy.bat: Automated notebook deployment
- register-device.bat: Device registration with database
- setup-ssh-keys.bat: SSH key configuration for passwordless sync
- sync-daemon.bat: Auto-sync every 10 minutes
- sync-sessions.bat: Manual session sync
- Email/Webhook Alert System
- Alert configuration at /opt/moltbot-monitoring/alert-config.json
- Support for email, DingTalk, Slack, WeChat
- Session Synchronization
- Server-side: /opt/moltbot-sync/sync-sessions.sh
- Client-side: sync-sessions.bat
- Cron job: */10 * * * * (every 10 minutes)
- Backup rotation (keeps last 10)
Updated:
- ROADMAP.md: Marked completed features, updated progress
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-29 17:42:40 +08:00
Claude Code
6f71b8ad76
docs: add comprehensive roadmap and extension plan
...
Complete upgrade roadmap with 25+ enhancement ideas:
- 🔴 High priority: Notebook deployment, email alerts, session sync
- 🟡 Medium priority: Web UI, database, security, monitoring
- 🟢 Low priority: Mobile app, multi-model, containers
Organized into phases:
- Short term (1-2 weeks)
- Medium term (1-2 months)
- Long term (3-6 months)
See ROADMAP.md for details.
2026-01-29 16:50:31 +08:00
Claude Code
286f6f43a7
docs: add comprehensive cluster configuration
...
Add complete Moltbot distributed cluster setup:
- 6 documentation files (33KB)
- Deployment tools and scripts
- Configuration templates
- Status dashboard
See CLUSTER-CONFIG-SUMMARY.md for details.
2026-01-29 16:43:13 +08:00
Ayaan Zaidi
93c2d65398
fix: restore discord username lookup and align minimax test ( #3131 ) (thanks @bonald)
2026-01-28 11:04:07 +05:30
Jarvis
f897f17c6e
test: update MiniMax API URL expectation to match #3064
...
The MiniMax provider config was updated to use api.minimax.chat
instead of api.minimax.io in PR #3064 , but the test expectation
was not updated.
🤖 Generated with Claude Code
2026-01-28 11:04:07 +05:30
Jarvis
cd72b80011
fix(discord): add missing type exports and fix unused imports
...
- Re-export DirectoryConfigParams and ChannelDirectoryEntry from channels/targets
- Remove unused ChannelDirectoryEntry and resolveDiscordAccount imports
- Fix parseDiscordTarget calls to not pass incompatible options type
- Fix unused catch parameter
Fixes CI build failures on main.
🤖 Generated with Claude Code
2026-01-28 11:04:07 +05:30
Shadow
6fc3ca4996
CI: add auto-response labels
2026-01-27 23:17:22 -06:00
Shadow
61ab348dd3
Discord: fix target type imports
2026-01-27 22:56:12 -06:00
Shadow
b01612c262
Discord: gate username lookups
2026-01-27 22:48:18 -06:00
Ayaan Zaidi
14e4b88bf0
fix: keep telegram dm thread sessions ( #2731 ) (thanks @dylanneve1)
2026-01-28 09:32:20 +05:30
Dylan Neve
915497114e
fix(telegram): ignore message_thread_id for non-forum group sessions
...
Regular Telegram groups (without Topics/Forums enabled) can send
message_thread_id when users reply to messages. This was incorrectly
being used to create separate session keys like '-123:topic:42',
causing each reply chain to get its own conversation context.
Now resolveTelegramForumThreadId only returns a thread ID when the
chat is actually a forum (is_forum=true). For regular groups, the
thread ID is ignored, ensuring all messages share the same session.
DMs continue to use messageThreadId for thread sessions as before.
2026-01-28 09:32:20 +05:30
Gustavo Madeira Santana
8f452dbc08
Update wizard header with new ASCII art
2026-01-27 22:30:38 -05:00
Gustavo Madeira Santana
c5effb78f3
Modify CLI banner ASCII art
...
Updated the ASCII art for the CLI banner.
2026-01-27 22:29:09 -05:00
Shadow
d0ef4d3b85
fix: update Moonshot Kimi model references ( #2762 ) (thanks @MarvinCui)
2026-01-27 21:10:59 -06:00
Boran Cui
b8aa041dcc
Update Moonshot Kimi model references to kimi-k2.5
2026-01-27 21:10:59 -06:00
Boran Cui
394308076a
Update Moonshot Kimi model references from kimi-k2-0905-preview to the latest kimi-k2.5
2026-01-27 21:10:59 -06:00
Shadow
7bfe6ab2d6
fix: resolve Discord usernames for outbound sends ( #2649 ) (thanks @nonggialiang)
2026-01-27 21:05:37 -06:00
Shadow
cf827f03e8
tests: cover Discord username resolution
2026-01-27 21:05:37 -06:00
nonggia.liang
7958ead91a
fix: resolve Discord usernames to user IDs for outbound messages
...
When sending Discord messages via cron jobs or the message tool,
usernames like "john.doe" were incorrectly treated as channel names,
causing silent delivery failures.
This fix adds a resolveDiscordTarget() function that:
- Queries Discord directory to resolve usernames to user IDs
- Falls back to standard parsing for known formats
- Enables sending DMs by username without requiring explicit user:ID format
Changes:
- Added resolveDiscordTarget() in targets.ts with directory lookup
- Added parseAndResolveRecipient() in send.shared.ts
- Updated all outbound send functions to use username resolution
Fixes #2627
2026-01-27 21:05:37 -06:00
Shadow
57d9c09f6e
fix: expand Telegram polling network recovery ( #3013 ) (thanks @ryancontent)
2026-01-27 19:56:24 -06:00
ryan
558b64f5fa
fix: handle Telegram network errors gracefully to prevent gateway crashes
...
- Expand recoverable error codes (ECONNABORTED, ERR_NETWORK)
- Add message patterns for 'typeerror: fetch failed' and 'undici' errors
- Add isNetworkRelatedError() helper for broad network failure detection
- Retry on all network-related errors instead of crashing gateway
- Remove unnecessary 'void' from fire-and-forget patterns
- Add tests for new error patterns
Fixes #3005
2026-01-27 19:56:24 -06:00
Shadow
eb50314d7d
fix: update MiniMax provider config ( #3064 ) (thanks @hlbbbbbbb)
2026-01-27 19:48:38 -06:00
hlbbbbbbb
2496056886
fix(minimax): use correct API endpoint and format
...
MiniMax has updated their API. The previous configuration used an
incorrect endpoint (api.minimax.io/anthropic) with anthropic-messages
format, which no longer works.
Changes:
- Update MINIMAX_API_BASE_URL to https://api.minimax.chat/v1
- Change API format from anthropic-messages to openai-completions
- Remove minimax from isAnthropicApi check in transcript-policy
This fixes the issue where MiniMax API calls return no results.
2026-01-27 19:48:38 -06:00
Shadow
34653e4baf
fix: guard channel tool listActions ( #2859 ) (thanks @mbelinky)
2026-01-27 19:25:50 -06:00
Mariano Belinky
4287c21e77
fix: guard channel-tools listActions against plugin crashes
...
Wraps plugin.actions.listActions() in a try/catch so a single
broken channel plugin cannot crash the entire agent boot sequence.
Errors are logged once per plugin+message (deduped) via
defaultRuntime.error() and the call gracefully returns an empty
array instead of propagating the exception.
Fixes: 'Cannot read properties of undefined (reading listActions)'
after the clawdbot→moltbot rename left some plugin state undefined.
2026-01-27 19:25:50 -06:00
Mariano Belinky
64be96c88c
Add bitwarden skill
2026-01-27 19:25:50 -06:00
Peter Steinberger
72a3046541
test: honor windows homedir env for legacy config
2026-01-28 01:09:44 +00:00
Peter Steinberger
f6d0d4dbc2
fix: honor state dir override in config resolution
2026-01-28 01:08:30 +00:00
Shadow
4647309c4c
fix: update exe.dev install docs (# https://github.com/moltbot/moltbot/pull/3047 ) (thanks @zackerthescar)
2026-01-27 18:54:46 -06:00
Shaun Loo
5fe7bbeffb
docs: update exe.dev install instructions
...
Signed-off-by: Shaun Loo <shaun@bold.dev>
2026-01-27 18:54:46 -06:00
Peter Steinberger
afd57c7e23
style: format unhandled rejection handler
2026-01-28 00:37:03 +00:00
Peter Steinberger
7eb57b691c
chore: prep 2026.1.27-beta.1 release
2026-01-28 01:35:58 +01:00
Peter Steinberger
aced5dde8d
docs: switch skill metadata key to moltbot
2026-01-28 01:32:53 +01:00
Peter Steinberger
1883541f05
docs: update plugin skill gating key
2026-01-28 01:32:10 +01:00
Peter Steinberger
4aa2f24af3
test: handle legacy cron swift path
2026-01-28 00:31:58 +00:00
Peter Steinberger
8d07955f2c
chore: bump beta version to 2026.1.27-beta.1
2026-01-28 01:28:16 +01:00
Peter Steinberger
e2c437e81e
fix: migrate legacy state/config paths
2026-01-28 00:16:00 +00:00
Shadow
0770194b29
test: align unhandled rejection logs ( #2980 ) (thanks @elliotsecops)
2026-01-27 18:11:04 -06:00
Shadow
3a25a4fa99
fix: keep unhandled rejections safe
2026-01-27 18:11:04 -06:00
elliotsecops
3b879fe524
fix(infra): prevent gateway crashes on transient network errors
2026-01-27 18:11:04 -06:00
Vignesh
3bf768ab07
docs: add new formal security models + updates for Moltbot rename
...
docs: update security + formal verification pages for Moltbot rename
2026-01-27 15:37:39 -08:00
vignesh07
0b2b501856
docs: clarify v1++ claims (not just target lists)
2026-01-27 15:35:24 -08:00
vignesh07
ead73f86f0
docs: add v1++ formal model targets (pairing/ingress/routing)
2026-01-27 15:32:37 -08:00
Vignesh
f7a014228d
Update permalink for formal verification document
2026-01-27 15:30:42 -08:00
vignesh07
90a6bbdbda
docs: restore gateway/security formal verification redirect copy
2026-01-27 15:29:35 -08:00
Vignesh
2bcd7655e4
Replace 'clawdbot' with 'moltbot' in security documentation
...
Updated references from 'clawdbot' to 'moltbot' throughout the document, including security settings, file paths, and command usage.
2026-01-27 15:25:04 -08:00
vignesh07
ce5a2add01
docs: fix Moltbot naming consistency on formal verification page
2026-01-27 15:19:34 -08:00
vignesh07
98b136541b
docs: fix Moltbot naming in security + formal verification pages
2026-01-27 15:15:18 -08:00
vignesh07
8198e826da
docs: update security + formal verification pages for Moltbot rename
2026-01-27 15:12:26 -08:00