UNPKG

@kya-os/mcp-i

Version:

The TypeScript MCP framework with identity features built-in

18 lines (17 loc) 876 B
/** * Session Management for XMCP-I Runtime — Node.js adapter * * Re-exports SessionManager from @kya-os/mcp-i-core and wires in * NodeCryptoProvider as the default. All existing call sites remain * compatible: `new SessionManager()` and `new SessionManager(config)` work. * * Requirements: 4.5-4.9, 19.1-19.2 */ import { SessionManager as CoreSessionManager, createHandshakeRequest, validateHandshakeFormat, type SessionConfig, type HandshakeResult } from "@kya-os/mcp-i-runtime"; import { CryptoProvider } from "@kya-os/mcp-i-runtime"; export type { SessionConfig, HandshakeResult }; export { createHandshakeRequest, validateHandshakeFormat }; export declare class SessionManager extends CoreSessionManager { constructor(configOrCrypto?: SessionConfig | CryptoProvider, config?: SessionConfig); } export declare const defaultSessionManager: SessionManager;