Files
zCode-CLI-X/~/.npm-cache/@modelcontextprotocol/sdk@1.29.0@@@1/dist/cjs/inMemory.d.ts
admin 875c7f9b91 feat: Complete zCode CLI X with Telegram bot integration
- 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
2026-05-05 09:01:26 +00:00

31 lines
1.1 KiB
TypeScript

import { Transport } from './shared/transport.js';
import { JSONRPCMessage, RequestId } from './types.js';
import { AuthInfo } from './server/auth/types.js';
/**
* In-memory transport for creating clients and servers that talk to each other within the same process.
*/
export declare class InMemoryTransport implements Transport {
private _otherTransport?;
private _messageQueue;
onclose?: () => void;
onerror?: (error: Error) => void;
onmessage?: (message: JSONRPCMessage, extra?: {
authInfo?: AuthInfo;
}) => void;
sessionId?: string;
/**
* Creates a pair of linked in-memory transports that can communicate with each other. One should be passed to a Client and one to a Server.
*/
static createLinkedPair(): [InMemoryTransport, InMemoryTransport];
start(): Promise<void>;
close(): Promise<void>;
/**
* Sends a message with optional auth info.
* This is useful for testing authentication scenarios.
*/
send(message: JSONRPCMessage, options?: {
relatedRequestId?: RequestId;
authInfo?: AuthInfo;
}): Promise<void>;
}
//# sourceMappingURL=inMemory.d.ts.map