- VisionTool: image analysis via Z.AI GLM-4V multimodal API - TTSTool: text-to-speech via node-edge-tts (free, auto-sends audio to chat) - BrowserTool: web page content extraction via cheerio (strips HTML, extracts text) - All 3 wired into tools/index.js + bot tool definitions + handlers - TTS handler auto-sends generated audio as voice message to chat
40 lines
1004 B
JSON
40 lines
1004 B
JSON
{
|
|
"name": "zcode-cli-x",
|
|
"version": "1.0.0",
|
|
"description": "Agentic coder with Z.AI + Telegram integration — Claude Code + Hermes in one beast",
|
|
"type": "module",
|
|
"bin": {
|
|
"zcode": "./bin/zcode.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.81.0",
|
|
"@grammyjs/auto-retry": "^2.0.2",
|
|
"@grammyjs/runner": "^2.0.3",
|
|
"axios": "^1.14.0",
|
|
"chalk": "^5.4.0",
|
|
"cheerio": "^1.2.0",
|
|
"commander": "^12.0.0",
|
|
"discord.js": "^14.26.4",
|
|
"dotenv": "^16.4.5",
|
|
"execa": "^9.6.1",
|
|
"express": "^4.21.0",
|
|
"fs-extra": "^11.2.0",
|
|
"glob": "^13.0.6",
|
|
"grammy": "^1.42.0",
|
|
"node-edge-tts": "^1.2.10",
|
|
"openai": "^4.77.0",
|
|
"p-queue": "^8.0.1",
|
|
"winston": "^3.13.0",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"scripts": {
|
|
"start": "node bin/zcode.js",
|
|
"dev": "node --watch bin/zcode.js",
|
|
"build": "echo 'No build step needed' && chmod +x bin/zcode.js",
|
|
"test": "echo 'TODO: Add tests'"
|
|
}
|
|
}
|