- Add full Telegram bot functionality with Z.AI API integration
- Implement 4 tools: Bash, FileEdit, WebSearch, Git
- Add 3 agents: Code Reviewer, Architect, DevOps Engineer
- Add 6 skills for common coding tasks
- Add systemd service file for 24/7 operation
- Add nginx configuration for HTTPS webhook
- Add comprehensive documentation
- Implement WebSocket server for real-time updates
- Add logging system with Winston
- Add environment validation
🤖 zCode CLI X - Agentic coder with Z.AI + Telegram integration
20 lines
503 B
JavaScript
20 lines
503 B
JavaScript
'use strict';
|
|
|
|
const BINARY_TYPES = ['nodebuffer', 'arraybuffer', 'fragments'];
|
|
const hasBlob = typeof Blob !== 'undefined';
|
|
|
|
if (hasBlob) BINARY_TYPES.push('blob');
|
|
|
|
module.exports = {
|
|
BINARY_TYPES,
|
|
CLOSE_TIMEOUT: 30000,
|
|
EMPTY_BUFFER: Buffer.alloc(0),
|
|
GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11',
|
|
hasBlob,
|
|
kForOnEventAttribute: Symbol('kIsForOnEventAttribute'),
|
|
kListener: Symbol('kListener'),
|
|
kStatusCode: Symbol('status-code'),
|
|
kWebSocket: Symbol('websocket'),
|
|
NOOP: () => {}
|
|
};
|