mirror of
https://github.com/qwibitai/nanoclaw.git
synced 2026-06-12 18:11:51 +08:00
c303b6eb14
Direct ChannelAdapter implementation — no Chat SDK bridge. Ports v1 infrastructure: getMessage fallback, outgoing queue, group metadata cache, LID-to-phone mapping, auto-reconnect. Auth via pairing code (WHATSAPP_PHONE_NUMBER) or QR code. Text messaging only (MVP). Not yet implemented: - File/image attachments (send and receive) - Edit message, delete message - Reactions - Bot echo filtering (own messages loop back as inbound) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"name": "nanoclaw",
|
|
"version": "1.2.52",
|
|
"description": "Personal Claude assistant. Lightweight, secure, customizable.",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"dev": "tsx src/index.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
"format:fix": "prettier --write \"src/**/*.ts\"",
|
|
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
"prepare": "husky",
|
|
"setup": "tsx setup/index.ts",
|
|
"auth": "tsx src/whatsapp-auth.ts",
|
|
"lint": "eslint src/",
|
|
"lint:fix": "eslint src/ --fix",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@beeper/chat-adapter-matrix": "^0.2.0",
|
|
"@bitbasti/chat-adapter-webex": "^0.1.0",
|
|
"@chat-adapter/discord": "^4.24.0",
|
|
"@chat-adapter/gchat": "^4.24.0",
|
|
"@chat-adapter/github": "^4.24.0",
|
|
"@chat-adapter/linear": "^4.24.0",
|
|
"@chat-adapter/slack": "^4.24.0",
|
|
"@chat-adapter/state-memory": "^4.24.0",
|
|
"@chat-adapter/teams": "^4.24.0",
|
|
"@chat-adapter/telegram": "^4.24.0",
|
|
"@chat-adapter/whatsapp": "^4.24.0",
|
|
"@onecli-sh/sdk": "^0.3.1",
|
|
"@resend/chat-sdk-adapter": "^0.1.1",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@whiskeysockets/baileys": "^6.7.21",
|
|
"better-sqlite3": "11.10.0",
|
|
"chat": "^4.24.0",
|
|
"chat-adapter-imessage": "^0.1.1",
|
|
"cron-parser": "5.5.0",
|
|
"pino": "^9.6.0",
|
|
"qrcode": "^1.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.35.0",
|
|
"@types/better-sqlite3": "^7.6.12",
|
|
"@types/node": "^22.10.0",
|
|
"eslint": "^9.35.0",
|
|
"eslint-plugin-no-catch-all": "^1.1.0",
|
|
"globals": "^15.12.0",
|
|
"husky": "^9.1.7",
|
|
"prettier": "^3.8.1",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.7.0",
|
|
"typescript-eslint": "^8.35.0",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|