@cloudbase/cloudbase-mcp 2.23.9 → 2.23.10
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/cli.cjs +1 -1
- package/dist/index.cjs +10 -4
- package/dist/index.js +10 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -136836,7 +136836,7 @@ class TelemetryReporter {
|
|
|
136836
136836
|
const nodeVersion = process.version; // Node.js版本
|
|
136837
136837
|
const arch = os_1.default.arch(); // 系统架构
|
|
136838
136838
|
// 从构建时注入的版本号获取MCP版本信息
|
|
136839
|
-
const mcpVersion = process.env.npm_package_version || "2.23.
|
|
136839
|
+
const mcpVersion = process.env.npm_package_version || "2.23.10" || 0;
|
|
136840
136840
|
return {
|
|
136841
136841
|
userAgent: `${osType} ${osRelease} ${arch} ${nodeVersion} CloudBase-MCP/${mcpVersion}`,
|
|
136842
136842
|
deviceId: this.deviceId,
|
|
@@ -182984,6 +182984,12 @@ async function resolveSkillSearchRoots(options = {}) {
|
|
|
182984
182984
|
? path.resolve(path.dirname(cliEntryPath), "..", "..")
|
|
182985
182985
|
: undefined;
|
|
182986
182986
|
return filterExistingDirs([
|
|
182987
|
+
repoRoot
|
|
182988
|
+
? path.join(repoRoot, ".generated", "compat-config", ".agents", "skills")
|
|
182989
|
+
: undefined,
|
|
182990
|
+
repoRoot
|
|
182991
|
+
? path.join(repoRoot, ".generated", "compat-config", ".claude", "skills")
|
|
182992
|
+
: undefined,
|
|
182987
182993
|
repoRoot
|
|
182988
182994
|
? path.join(repoRoot, ".generated", "compat-config", ".codebuddy", "skills")
|
|
182989
182995
|
: undefined,
|
|
@@ -196564,7 +196570,7 @@ ${envIdSection}
|
|
|
196564
196570
|
## 环境信息
|
|
196565
196571
|
- 操作系统: ${os_1.default.type()} ${os_1.default.release()}
|
|
196566
196572
|
- Node.js版本: ${process.version}
|
|
196567
|
-
- MCP 版本:${process.env.npm_package_version || "2.23.
|
|
196573
|
+
- MCP 版本:${process.env.npm_package_version || "2.23.10" || 0}
|
|
196568
196574
|
- 系统架构: ${os_1.default.arch()}
|
|
196569
196575
|
- 时间: ${new Date().toISOString()}
|
|
196570
196576
|
- 请求ID: ${requestId}
|
|
@@ -196645,7 +196651,7 @@ function createWrappedHandler(name, handler, server) {
|
|
|
196645
196651
|
requestId: (typeof error === 'object' && error && 'requestId' in error) ? error.requestId : '',
|
|
196646
196652
|
ide: server.ide || process.env.INTEGRATION_IDE || ''
|
|
196647
196653
|
});
|
|
196648
|
-
const mcpVersion = true ? "2.23.
|
|
196654
|
+
const mcpVersion = true ? "2.23.10" : 0;
|
|
196649
196655
|
const requestIdSuffix = requestId ? `\n🆔 RequestId: ${requestId}` : '';
|
|
196650
196656
|
const enhancedErrorMessage = `${errorMessage}${requestIdSuffix}\n\n📦 CloudBase MCP v${mcpVersion}\n🔗 遇到问题?请复制以下链接到浏览器打开\n即可自动携带错误详情快速创建 GitHub Issue:\n${issueLink}`;
|
|
196651
196657
|
// 创建新的错误对象,保持原有的错误类型但更新消息
|
|
@@ -212659,7 +212665,7 @@ function registerSetupTools(server) {
|
|
|
212659
212665
|
server.registerTool("downloadTemplate", {
|
|
212660
212666
|
title: "下载项目模板",
|
|
212661
212667
|
description: `自动下载并部署CloudBase项目模板。
|
|
212662
|
-
**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.23.
|
|
212668
|
+
**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.23.10" : 0}),便于后续维护和版本追踪\n- 下载 rules 模板时,如果项目中已存在 README.md 文件,系统会自动保护该文件不被覆盖(除非设置 overwrite=true)`,
|
|
212663
212669
|
inputSchema: {
|
|
212664
212670
|
template: zod_1.z
|
|
212665
212671
|
.enum(["react", "vue", "miniprogram", "uniapp", "rules"])
|
package/dist/index.js
CHANGED
|
@@ -2200,7 +2200,7 @@ ${envIdSection}
|
|
|
2200
2200
|
## 环境信息
|
|
2201
2201
|
- 操作系统: ${os_1.default.type()} ${os_1.default.release()}
|
|
2202
2202
|
- Node.js版本: ${process.version}
|
|
2203
|
-
- MCP 版本:${process.env.npm_package_version || "2.23.
|
|
2203
|
+
- MCP 版本:${process.env.npm_package_version || "2.23.10" || 0}
|
|
2204
2204
|
- 系统架构: ${os_1.default.arch()}
|
|
2205
2205
|
- 时间: ${new Date().toISOString()}
|
|
2206
2206
|
- 请求ID: ${requestId}
|
|
@@ -2281,7 +2281,7 @@ function createWrappedHandler(name, handler, server) {
|
|
|
2281
2281
|
requestId: (typeof error === 'object' && error && 'requestId' in error) ? error.requestId : '',
|
|
2282
2282
|
ide: server.ide || process.env.INTEGRATION_IDE || ''
|
|
2283
2283
|
});
|
|
2284
|
-
const mcpVersion = true ? "2.23.
|
|
2284
|
+
const mcpVersion = true ? "2.23.10" : 0;
|
|
2285
2285
|
const requestIdSuffix = requestId ? `\n🆔 RequestId: ${requestId}` : '';
|
|
2286
2286
|
const enhancedErrorMessage = `${errorMessage}${requestIdSuffix}\n\n📦 CloudBase MCP v${mcpVersion}\n🔗 遇到问题?请复制以下链接到浏览器打开\n即可自动携带错误详情快速创建 GitHub Issue:\n${issueLink}`;
|
|
2287
2287
|
// 创建新的错误对象,保持原有的错误类型但更新消息
|
|
@@ -6522,6 +6522,12 @@ async function resolveSkillSearchRoots(options = {}) {
|
|
|
6522
6522
|
? path.resolve(path.dirname(cliEntryPath), "..", "..")
|
|
6523
6523
|
: undefined;
|
|
6524
6524
|
return filterExistingDirs([
|
|
6525
|
+
repoRoot
|
|
6526
|
+
? path.join(repoRoot, ".generated", "compat-config", ".agents", "skills")
|
|
6527
|
+
: undefined,
|
|
6528
|
+
repoRoot
|
|
6529
|
+
? path.join(repoRoot, ".generated", "compat-config", ".claude", "skills")
|
|
6530
|
+
: undefined,
|
|
6525
6531
|
repoRoot
|
|
6526
6532
|
? path.join(repoRoot, ".generated", "compat-config", ".codebuddy", "skills")
|
|
6527
6533
|
: undefined,
|
|
@@ -9908,7 +9914,7 @@ class TelemetryReporter {
|
|
|
9908
9914
|
const nodeVersion = process.version; // Node.js版本
|
|
9909
9915
|
const arch = os_1.default.arch(); // 系统架构
|
|
9910
9916
|
// 从构建时注入的版本号获取MCP版本信息
|
|
9911
|
-
const mcpVersion = process.env.npm_package_version || "2.23.
|
|
9917
|
+
const mcpVersion = process.env.npm_package_version || "2.23.10" || 0;
|
|
9912
9918
|
return {
|
|
9913
9919
|
userAgent: `${osType} ${osRelease} ${arch} ${nodeVersion} CloudBase-MCP/${mcpVersion}`,
|
|
9914
9920
|
deviceId: this.deviceId,
|
|
@@ -13862,7 +13868,7 @@ function registerSetupTools(server) {
|
|
|
13862
13868
|
server.registerTool("downloadTemplate", {
|
|
13863
13869
|
title: "下载项目模板",
|
|
13864
13870
|
description: `自动下载并部署CloudBase项目模板。
|
|
13865
|
-
**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.23.
|
|
13871
|
+
**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.23.10" : 0}),便于后续维护和版本追踪\n- 下载 rules 模板时,如果项目中已存在 README.md 文件,系统会自动保护该文件不被覆盖(除非设置 overwrite=true)`,
|
|
13866
13872
|
inputSchema: {
|
|
13867
13873
|
template: zod_1.z
|
|
13868
13874
|
.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.23.
|
|
3
|
+
"version": "2.23.10",
|
|
4
4
|
"packageManager": "pnpm@10.8.0",
|
|
5
5
|
"description": "腾讯云开发 MCP Server,通过AI提示词和MCP协议+云开发,让开发更智能、更高效,当你在Cursor/ VSCode GitHub Copilot/WinSurf/CodeBuddy/Augment Code/Claude Code等AI编程工具里写代码时,它能自动帮你生成可直接部署的前后端应用+小程序,并一键发布到腾讯云开发 CloudBase。",
|
|
6
6
|
"main": "./dist/index.cjs",
|