mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-02-06 13:33:11 +00:00
chore: add pre-built dist folder for npx usage
This commit is contained in:
committed by
Romuald Członkowski
parent
a70d96a373
commit
5057481e70
19
dist/utils/protocol-version.d.ts
vendored
Normal file
19
dist/utils/protocol-version.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
export interface ClientInfo {
|
||||
name?: string;
|
||||
version?: string;
|
||||
[key: string]: any;
|
||||
}
|
||||
export interface ProtocolNegotiationResult {
|
||||
version: string;
|
||||
isN8nClient: boolean;
|
||||
reasoning: string;
|
||||
}
|
||||
export declare const STANDARD_PROTOCOL_VERSION = "2025-03-26";
|
||||
export declare const N8N_PROTOCOL_VERSION = "2024-11-05";
|
||||
export declare const SUPPORTED_VERSIONS: string[];
|
||||
export declare function isN8nClient(clientInfo?: ClientInfo, userAgent?: string, headers?: Record<string, string | string[] | undefined>): boolean;
|
||||
export declare function negotiateProtocolVersion(clientRequestedVersion?: string, clientInfo?: ClientInfo, userAgent?: string, headers?: Record<string, string | string[] | undefined>): ProtocolNegotiationResult;
|
||||
export declare function isVersionSupported(version: string): boolean;
|
||||
export declare function getCompatibleVersion(targetVersion?: string): string;
|
||||
export declare function logProtocolNegotiation(result: ProtocolNegotiationResult, logger: any, context?: string): void;
|
||||
//# sourceMappingURL=protocol-version.d.ts.map
|
||||
Reference in New Issue
Block a user