@cloudbase/cloudbase-mcp 2.25.6 → 2.25.7

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.js CHANGED
@@ -2772,7 +2772,7 @@ ${envIdSection}
2772
2772
  ## 环境信息
2773
2773
  - 操作系统: ${os_1.default.type()} ${os_1.default.release()}
2774
2774
  - Node.js版本: ${process.version}
2775
- - MCP 版本:${process.env.npm_package_version || "2.25.6" || 0}
2775
+ - MCP 版本:${process.env.npm_package_version || "2.25.7" || 0}
2776
2776
  - 系统架构: ${os_1.default.arch()}
2777
2777
  - 时间: ${new Date().toISOString()}
2778
2778
  - 请求ID: ${requestId}
@@ -2853,7 +2853,7 @@ function createWrappedHandler(name, handler, server) {
2853
2853
  requestId: (typeof error === 'object' && error && 'requestId' in error) ? error.requestId : '',
2854
2854
  ide: server.ide || process.env.INTEGRATION_IDE || ''
2855
2855
  });
2856
- const mcpVersion = true ? "2.25.6" : 0;
2856
+ const mcpVersion = true ? "2.25.7" : 0;
2857
2857
  const requestIdSuffix = requestId ? `\n🆔 RequestId: ${requestId}` : '';
2858
2858
  const enhancedErrorMessage = `${errorMessage}${requestIdSuffix}\n\n📦 CloudBase MCP v${mcpVersion}\n🔗 遇到问题?请复制以下链接到浏览器打开\n即可自动携带错误详情快速创建 GitHub Issue:\n${issueLink}`;
2859
2859
  // 创建新的错误对象,保持原有的错误类型但更新消息
@@ -11208,7 +11208,7 @@ class TelemetryReporter {
11208
11208
  const nodeVersion = process.version; // Node.js版本
11209
11209
  const arch = os_1.default.arch(); // 系统架构
11210
11210
  // 从构建时注入的版本号获取MCP版本信息
11211
- const mcpVersion = process.env.npm_package_version || "2.25.6" || 0;
11211
+ const mcpVersion = process.env.npm_package_version || "2.25.7" || 0;
11212
11212
  return {
11213
11213
  userAgent: `${osType} ${osRelease} ${arch} ${nodeVersion} CloudBase-MCP/${mcpVersion}`,
11214
11214
  deviceId: this.deviceId,
@@ -16743,7 +16743,7 @@ function registerSetupTools(server) {
16743
16743
  server.registerTool("downloadTemplate", {
16744
16744
  title: "下载项目模板",
16745
16745
  description: `自动下载并部署CloudBase项目模板。
16746
- **Note**: Call this tool when the user requests to create a new project using a CloudBase template.\n\n支持的模板:\n- react: React + CloudBase 全栈应用模板\n- vue: Vue + CloudBase 全栈应用模板\n- miniprogram: 微信小程序 + 云开发模板 \n- uniapp: UniApp + CloudBase 跨端应用模板\n- rules: 只包含AI编辑器配置文件(包含Cursor、WindSurf、CodeBuddy等所有主流编辑器配置),适合在已有项目中补充AI编辑器配置\n\n支持的IDE类型:\n- all: 下载所有IDE配置\n- cursor: Cursor AI编辑器\n- 其他IDE类型见下方列表\n\n注意:如果未传入 ide 参数且无法从环境变量检测到 IDE,将提示错误并要求传入 ide 参数\n- windsurf: WindSurf AI编辑器\n- codebuddy: CodeBuddy AI编辑器\n- claude-code: Claude Code AI编辑器\n- cline: Cline AI编辑器\n- gemini-cli: Gemini CLI\n- opencode: OpenCode AI编辑器\n- qwen-code: 通义灵码\n- baidu-comate: 百度Comate\n- openai-codex-cli: OpenAI Codex CLI\n- augment-code: Augment Code\n- github-copilot: GitHub Copilot\n- roocode: RooCode AI编辑器\n- tongyi-lingma: 通义灵码\n- trae: Trae AI编辑器\n- qoder: Qoder AI编辑器\n- antigravity: Google Antigravity AI编辑器\n- vscode: Visual Studio Code\n- kiro: Kiro AI编辑器\n- aider: Aider AI编辑器\n\n特别说明:\n- rules 模板会自动包含当前 mcp 版本号信息(版本号:${ true ? "2.25.6" : 0}),便于后续维护和版本追踪\n- 下载 rules 模板时,如果项目中已存在 README.md 文件,系统会自动保护该文件不被覆盖(除非设置 overwrite=true)`,
16746
+ **Note**: Call this tool when the user requests to create a new project using a CloudBase template.\n\n支持的模板:\n- react: React + CloudBase 全栈应用模板\n- vue: Vue + CloudBase 全栈应用模板\n- miniprogram: 微信小程序 + 云开发模板 \n- uniapp: UniApp + CloudBase 跨端应用模板\n- rules: 只包含AI编辑器配置文件(包含Cursor、WindSurf、CodeBuddy等所有主流编辑器配置),适合在已有项目中补充AI编辑器配置\n\n支持的IDE类型:\n- all: 下载所有IDE配置\n- cursor: Cursor AI编辑器\n- 其他IDE类型见下方列表\n\n注意:如果未传入 ide 参数且无法从环境变量检测到 IDE,将提示错误并要求传入 ide 参数\n- windsurf: WindSurf AI编辑器\n- codebuddy: CodeBuddy AI编辑器\n- claude-code: Claude Code AI编辑器\n- cline: Cline AI编辑器\n- gemini-cli: Gemini CLI\n- opencode: OpenCode AI编辑器\n- qwen-code: 通义灵码\n- baidu-comate: 百度Comate\n- openai-codex-cli: OpenAI Codex CLI\n- augment-code: Augment Code\n- github-copilot: GitHub Copilot\n- roocode: RooCode AI编辑器\n- tongyi-lingma: 通义灵码\n- trae: Trae AI编辑器\n- qoder: Qoder AI编辑器\n- antigravity: Google Antigravity AI编辑器\n- vscode: Visual Studio Code\n- kiro: Kiro AI编辑器\n- aider: Aider AI编辑器\n\n特别说明:\n- rules 模板会自动包含当前 mcp 版本号信息(版本号:${ true ? "2.25.7" : 0}),便于后续维护和版本追踪\n- 下载 rules 模板时,如果项目中已存在 README.md 文件,系统会自动保护该文件不被覆盖(除非设置 overwrite=true)`,
16747
16747
  inputSchema: {
16748
16748
  template: zod_1.z
16749
16749
  .enum(["react", "vue", "miniprogram", "uniapp", "rules"])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/cloudbase-mcp",
3
- "version": "2.25.6",
3
+ "version": "2.25.7",
4
4
  "packageManager": "pnpm@10.8.0",
5
5
  "description": "CloudBase MCP Server — operate Tencent CloudBase (database, auth, functions, storage, hosting) from AI coding tools via the Model Context Protocol. Part of CloudBase AI Toolkit.",
6
6
  "main": "./dist/index.cjs",
@@ -46,7 +46,6 @@
46
46
  "build:permissions": "chmod 755 dist/cli.cjs",
47
47
  "test": "npm run build && vitest run",
48
48
  "test:watch": "npm run build && vitest",
49
- "test:ui": "npm run build && vitest --ui",
50
49
  "test:coverage": "npm run build && vitest run --coverage",
51
50
  "test:pg:cloud": "npm run build && node ./scripts/verify-pg-cloud-smoke.mjs",
52
51
  "test:inspector": "npm run build && npx @modelcontextprotocol/inspector node ./dist/cli.js",
@@ -93,7 +92,7 @@
93
92
  "ts-loader": "^9.5.2",
94
93
  "tslib": "^2.8.1",
95
94
  "typescript": "^5.9.3",
96
- "vitest": "^2.1.8",
95
+ "vitest": "3.2.7",
97
96
  "webpack": "^5.100.0",
98
97
  "webpack-cli": "^6.0.1",
99
98
  "webpack-merge": "^6.0.1",
@@ -101,12 +100,30 @@
101
100
  "webpack-obfuscator": "^3.6.0"
102
101
  },
103
102
  "overrides": {
104
- "tough-cookie": "^4.1.3",
103
+ "tough-cookie": "4.1.4",
105
104
  "js-yaml": "4.3.0",
106
- "brace-expansion@1": "1.1.16",
107
- "brace-expansion@2": "2.1.2",
108
- "brace-expansion@3": "5.0.7",
109
- "brace-expansion@4": "5.0.7",
110
- "brace-expansion@5": "5.0.7"
105
+ "brace-expansion@1": "1.1.18",
106
+ "brace-expansion@2": "2.1.4",
107
+ "brace-expansion@3": "5.0.9",
108
+ "brace-expansion@4": "5.0.9",
109
+ "brace-expansion@5": "5.0.9",
110
+ "fast-uri": "3.1.5",
111
+ "postcss": "8.5.25",
112
+ "undici": "6.28.0",
113
+ "body-parser": "2.3.0",
114
+ "form-data": "2.5.6",
115
+ "fast-xml-parser@4": "4.5.5",
116
+ "ws@7": "7.5.11",
117
+ "ws@8": "8.21.0",
118
+ "path-to-regexp@8": "8.4.0",
119
+ "serialize-javascript": "7.0.5",
120
+ "picomatch@2": "2.3.2",
121
+ "picomatch@4": "4.0.4",
122
+ "minimatch@3": "3.1.5",
123
+ "minimatch@5": "5.1.9",
124
+ "minimatch@10": "10.2.5",
125
+ "vite@5": "5.4.21",
126
+ "adm-zip": "0.6.0",
127
+ "decompress": "npm:@xhmikosr/decompress@11.1.3"
111
128
  }
112
129
  }