feat: update MCP config and TOOLS.md with calendar/contacts note

This commit is contained in:
root
2026-03-29 18:45:26 +08:00
parent 1a9fdc7274
commit c3e845f89c
3427 changed files with 2447281 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
import { IncomingMessage, Agent, OutgoingHttpHeaders } from "http";
import { Readable } from "stream";
export interface Options {
'method'?: string;
'readTimeout'?: number;
'connectTimeout'?: number;
'timeout'?: number;
'agent'?: Agent;
'headers'?: OutgoingHttpHeaders;
'rejectUnauthorized'?: boolean;
'compression'?: boolean;
'beforeRequest'?(options: Options): void;
'data'?: string | Buffer | Readable | undefined;
'key'?: string;
'cert'?: string;
'ca'?: string;
}
export function request(url: string, options: Options): Promise<IncomingMessage>;
export function read(response: IncomingMessage, encoding: string): Promise<string|Buffer>;
export interface Event {
'data'?: string;
'id'?: string;
'event'?: string;
'retry'?: number;
}
export function readAsSSE(response: IncomingMessage): AsyncGenerator<Event, void, unknown>;