Download node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts from Snapkitty/agentscope-sift: direct link, hf CLI and curl.
- Browser
- Download file 472 Bytes
-
https://huggingface.co/Snapkitty/agentscope-sift/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts
- Command line
-
hf download hf://Snapkitty/agentscope-sift/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts
-
curl -L -o stdio.d.ts https://huggingface.co/Snapkitty/agentscope-sift/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts
472 Bytes
| import { JSONRPCMessage } from '../types.js'; | |
| /** | |
| * Buffers a continuous stdio stream into discrete JSON-RPC messages. | |
| */ | |
| export declare class ReadBuffer { | |
| private _buffer?; | |
| 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 |