跳转到内容

default

此内容尚不支持你的语言。

default: Definition<{
cache?: {
discover?: {
cacheScope: "private";
ttl: number;
};
prompts?: {
cacheScope: "private";
ttl: number;
};
resources?: {
cacheScope: "private";
ttl: number;
};
resourceTemplates?: {
cacheScope: "private";
ttl: number;
};
tools?: {
cacheScope: "private";
ttl: number;
};
};
description?: string;
icons?: readonly Icon[];
instructions?: string;
name: string;
protocols: readonly ["2026-07-28" | "2025-11-25" | "2025-06-18" | "2025-03-26" | "2024-11-05", "2026-07-28" | "2025-11-25" | "2025-06-18" | "2025-03-26" | "2024-11-05"];
version: string;
websiteUrl?: string;
},
| {
cache?: {
discover?: {
cacheScope?: "private";
ttl: string | number;
};
prompts?: {
cacheScope?: "private";
ttl: string | number;
};
resources?: {
cacheScope?: "private";
ttl: string | number;
};
resourceTemplates?: {
cacheScope?: "private";
ttl: string | number;
};
tools?: {
cacheScope?: "private";
ttl: string | number;
};
};
description?: string;
icons?: readonly {
mimeType?: string;
sizes?: readonly string[];
src: string;
theme?: "light" | "dark";
}[];
instructions?: string;
name?: string;
protocols?: readonly ["2026-07-28" | "2025-11-25" | "2025-06-18" | "2025-03-26" | "2024-11-05", "2026-07-28" | "2025-11-25" | "2025-06-18" | "2025-03-26" | "2024-11-05"];
version?: string;
websiteUrl?: string;
}
| undefined, SchemaError | ServiceConflict>;

Defined in: index.ts:19