feat: add Discord channel, OpenCode runtime, rename to Regolith
Some checks failed
Update token count / update-tokens (push) Has been cancelled

- Discord channel integration (discord.js) with mention stripping, attachment tagging, reply context, message chunking
- OpenCode runtime with CLI and SDK modes, SQLite session persistence, idle timeout cleanup
- Multi-channel architecture: WhatsApp + Discord simultaneous or independent via DISCORD_ONLY/DISCORD_BOT_TOKEN
- Config additions: DISCORD_BOT_TOKEN, DISCORD_ONLY, OPENCODE_MODE, OPENCODE_MODEL, OPENCODE_TIMEOUT, OPENCODE_SESSION_TTL_HOURS
- Updated README and CLAUDE.md documentation
- Renamed project to Regolith in package.json
This commit is contained in:
2026-02-19 02:30:14 -05:00
parent 646491ce5c
commit a3a7e7a480
16 changed files with 1744 additions and 180 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "nanoclaw",
"version": "1.0.0",
"description": "Personal Claude assistant. Lightweight, secure, customizable.",
"name": "regolith",
"version": "2.0.0",
"description": "Personal AI assistant with multi-channel support (WhatsApp, Discord) and multi-runtime backends (Claude Agent SDK, OpenCode).",
"type": "module",
"main": "dist/index.js",
"scripts": {
@@ -19,6 +19,7 @@
"@whiskeysockets/baileys": "^7.0.0-rc.9",
"better-sqlite3": "^11.8.1",
"cron-parser": "^5.5.0",
"discord.js": "^14.25.1",
"pino": "^9.6.0",
"pino-pretty": "^13.0.0",
"qrcode": "^1.5.4",
@@ -31,6 +32,7 @@
"@types/node": "^22.10.0",
"@types/qrcode-terminal": "^0.12.2",
"@vitest/coverage-v8": "^4.0.18",
"fast-check": "^4.5.3",
"prettier": "^3.8.1",
"tsx": "^4.19.0",
"typescript": "^5.7.0",