@cloudbase/cloudbase-mcp 2.22.0 → 2.23.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 +42 -6
- package/dist/{267.index.js → 341.index.js} +979 -1012
- package/dist/{148.index.cjs → 508.index.cjs} +19986 -19420
- package/dist/{880.index.cjs → 602.index.cjs} +3921 -3921
- package/dist/cli.cjs +6 -6
- package/dist/index.cjs +242686 -217744
- package/dist/index.d.ts +13 -0
- package/dist/index.js +14859 -13241
- package/package.json +2 -1
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;
|