feat: full service exposure with grammy bot + claudegram patterns

- Rewrote bot/index.js using grammy (@grammyjs/auto-retry + runner)
- Added deduplication.js (adapted from claudegram)
- Added request-queue.js (per-chat sequential processing)
- Added message-sender.js (chunking + Markdown fallback)
- Wired all JS-shim services: tools, skills, agents, config, RTK
- Added function calling support to ZAIProvider.chat()
- Added dynamic command routing (tools, skills, agents, model, stats)
- Added per-agent delegation commands (/agent_coder, /agent_architect, etc.)
- Added dedup + queue patterns from claudegram's battle-tested codebase
- Updated zcode.js to pass agents to initBot()
- Updated README feature comparison table to reflect real capabilities
This commit is contained in:
admin
2026-05-05 12:41:15 +00:00
Unverified
parent 4db82f78a6
commit cbe816a421
9 changed files with 964 additions and 174 deletions

View File

@@ -11,6 +11,8 @@
},
"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",
"commander": "^12.0.0",
@@ -18,6 +20,7 @@
"execa": "^9.6.1",
"express": "^4.21.0",
"fs-extra": "^11.2.0",
"grammy": "^1.42.0",
"openai": "^4.77.0",
"p-queue": "^8.0.1",
"winston": "^3.13.0",