- 去掉版本号后缀,路径更稳定(后续更新工具不必再改 .mcp.json) - .mcp.json 指向新路径 server/build/index.js - server 依赖已 npm install 就绪;node_modules 由 .gitignore 忽略,未入库 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
13 lines
492 B
TypeScript
13 lines
492 B
TypeScript
export declare class GodotConnectionError extends Error {
|
|
constructor(message: string);
|
|
}
|
|
export declare class GodotCommandError extends Error {
|
|
code: number;
|
|
data?: Record<string, unknown>;
|
|
constructor(code: number, message: string, data?: Record<string, unknown>);
|
|
}
|
|
export declare class TimeoutError extends Error {
|
|
constructor(method: string, timeoutMs: number);
|
|
}
|
|
export declare function formatErrorForMcp(error: unknown): string;
|
|
//# sourceMappingURL=errors.d.ts.map
|