Z User
phase7: MCP stdio smoke test (handshake + tools/list + get_roots 6:74) — 4/4 tests PASS
54a6341 Download node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts from bravesigma/quran-md-plugin: direct link, hf CLI and curl.
- Browser
- Download file 616 Bytes
-
https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts
- Command line
-
hf download hf://datasets/bravesigma/quran-md-plugin/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts
-
curl -L -o stdio.d.ts https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts
616 Bytes
| import { JSONRPCMessage } from '../types.js'; | |
| export declare const STDIO_DEFAULT_MAX_BUFFER_SIZE: number; | |
| /** | |
| * Buffers a continuous stdio stream into discrete JSON-RPC messages. | |
| */ | |
| export declare class ReadBuffer { | |
| private _buffer?; | |
| private _maxBufferSize; | |
| constructor(options?: { | |
| maxBufferSize?: number; | |
| }); | |
| append(chunk: Buffer): void; | |
| readMessage(): JSONRPCMessage | null; | |
| clear(): void; | |
| } | |
| export declare function deserializeMessage(line: string): JSONRPCMessage; | |
| export declare function serializeMessage(message: JSONRPCMessage): string; | |
| //# sourceMappingURL=stdio.d.ts.map |