- 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
28 lines
991 B
TypeScript
28 lines
991 B
TypeScript
import { Readable, Writable } from 'node:stream';
|
|
import { JSONRPCMessage } from '../types.js';
|
|
import { Transport } from '../shared/transport.js';
|
|
/**
|
|
* Server transport for stdio: this communicates with an MCP client by reading from the current process' stdin and writing to stdout.
|
|
*
|
|
* This transport is only available in Node.js environments.
|
|
*/
|
|
export declare class StdioServerTransport implements Transport {
|
|
private _stdin;
|
|
private _stdout;
|
|
private _readBuffer;
|
|
private _started;
|
|
constructor(_stdin?: Readable, _stdout?: Writable);
|
|
onclose?: () => void;
|
|
onerror?: (error: Error) => void;
|
|
onmessage?: (message: JSONRPCMessage) => void;
|
|
_ondata: (chunk: Buffer) => void;
|
|
_onerror: (error: Error) => void;
|
|
/**
|
|
* Starts listening for messages on stdin.
|
|
*/
|
|
start(): Promise<void>;
|
|
private processReadBuffer;
|
|
close(): Promise<void>;
|
|
send(message: JSONRPCMessage): Promise<void>;
|
|
}
|
|
//# sourceMappingURL=stdio.d.ts.map
|