se supone que mcp server up
All checks were successful
build-and-push / build (push) Successful in 17s
build-and-push / deploy (push) Successful in 19s

This commit is contained in:
2025-05-02 19:33:50 -06:00
parent 022086f49d
commit b5e40cf4ac
1516 changed files with 242801 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
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