@cloudbase/cloudbase-mcp 2.24.0 → 2.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -515
- package/README.zh-CN.md +175 -0
- package/dist/cli.cjs +3 -3
- package/dist/index.cjs +1545 -501
- package/dist/index.d.ts +9 -0
- package/dist/index.js +431 -298
- package/package.json +13 -6
package/dist/index.d.ts
CHANGED
|
@@ -330,6 +330,13 @@ declare interface LoginState {
|
|
|
330
330
|
|
|
331
331
|
export declare function logout(): Promise<void>;
|
|
332
332
|
|
|
333
|
+
/** MCP initialize clientInfo fields available after handshake via Server.getClientVersion(). */
|
|
334
|
+
declare type McpClientInfo = {
|
|
335
|
+
name?: string;
|
|
336
|
+
version?: string;
|
|
337
|
+
title?: string;
|
|
338
|
+
};
|
|
339
|
+
|
|
333
340
|
export { McpServer }
|
|
334
341
|
|
|
335
342
|
/** 各插件的可选配置 */
|
|
@@ -357,6 +364,7 @@ export declare const reportToolCall: (params: {
|
|
|
357
364
|
inputParams?: any;
|
|
358
365
|
cloudBaseOptions?: CloudBaseOptions;
|
|
359
366
|
ide?: string;
|
|
367
|
+
mcpClientInfo?: McpClientInfo;
|
|
360
368
|
}) => Promise<void>;
|
|
361
369
|
|
|
362
370
|
export declare const reportToolkitLifecycle: (params: {
|
|
@@ -366,6 +374,7 @@ export declare const reportToolkitLifecycle: (params: {
|
|
|
366
374
|
error?: string;
|
|
367
375
|
cloudBaseOptions?: CloudBaseOptions;
|
|
368
376
|
ide?: string;
|
|
377
|
+
mcpClientInfo?: McpClientInfo;
|
|
369
378
|
}) => Promise<void>;
|
|
370
379
|
|
|
371
380
|
export declare function resetCloudBaseManagerCache(): void;
|