@cloudbase/cloudbase-mcp 2.21.1-beta.2 → 2.22.0-beta.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/dist/index.d.ts CHANGED
@@ -159,6 +159,8 @@ export declare interface ExtendedMcpServer extends McpServer {
159
159
  authOptions?: AuthOptions;
160
160
  ide?: string;
161
161
  logger?: Logger;
162
+ pgRuntimeContext?: PgRuntimeContext;
163
+ enabledPlugins?: string[];
162
164
  pluginOptions?: PluginOptions;
163
165
  /** 已注册工具的列表,供外部(如微信 IDE)提取并注册到自己的 MCP server */
164
166
  toolDefs: Array<{
@@ -331,6 +333,17 @@ export declare function logout(): Promise<void>;
331
333
 
332
334
  export { McpServer }
333
335
 
336
+ declare interface PgRuntimeContext {
337
+ envId: string;
338
+ instanceId: string;
339
+ defaultSchema: string;
340
+ runtimeMode: "cloudbase-manager";
341
+ bootstrapMode: "cloud";
342
+ role?: string;
343
+ createdAt: string;
344
+ updatedAt: string;
345
+ }
346
+
334
347
  /** 各插件的可选配置 */
335
348
  export declare interface PluginOptions {
336
349
  functions?: FunctionDeployOverrides;