Skip to content

Commit 49d5036

Browse files
authored
Merge pull request #170 from TencentCloudBase/feature/release-v1.8.40-docs
feat: release v1.8.40 with AI CLI integration and documentation updates 🚀
2 parents ac44fb8 + 16cb7bc commit 49d5036

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

mcp/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudbase/cloudbase-mcp",
3-
"version": "1.8.39",
3+
"version": "1.8.40",
44
"description": "腾讯云开发 MCP Server,通过AI提示词和MCP协议+云开发,让开发更智能、更高效,当你在Cursor/ VSCode GitHub Copilot/WinSurf/CodeBuddy/Augment Code/Claude Code等AI编程工具里写代码时,它能自动帮你生成可直接部署的前后端应用+小程序,并一键发布到腾讯云开发 CloudBase。",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.js",

mcp/src/tools/download.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ export function registerDownloadTools(server: ExtendedMcpServer) {
421421
"downloadRemoteFileToPath",
422422
{
423423
title: "下载远程文件到指定路径",
424-
description: "下载远程文件到项目根目录下的指定相对路径。例如:小程序的 Tabbar 等素材图片,必须使用 **png** 格式,可以从 Unsplash、wikimedia【一般选用 500 大小即可、Pexels、Apple 官方 UI 等资源中选择来下载。",
424+
description: "下载远程文件到项目根目录下的指定相对路径。Claude Code: WORKSPACE_FOLDER_PATHS, Qwen Code: PROJECT_ROOT, CodeBuddy: GITHUB_WORKSPACE。例如:小程序的 Tabbar 等素材图片,必须使用 **png** 格式,可以从 Unsplash、wikimedia【一般选用 500 大小即可、Pexels、Apple 官方 UI 等资源中选择来下载。",
425425
inputSchema: {
426426
url: z.string().describe("远程文件的 URL 地址"),
427427
relativePath: z.string().describe("相对于项目根目录的路径,例如:'assets/images/logo.png' 或 'docs/api.md'。不允许使用 ../ 等路径遍历操作。")

tests/download-path-integration.test.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,7 @@ test('downloadRemoteFileToPath tool is available and has correct schema', async
6464
expect(relativePathParam).toBeDefined();
6565
expect(relativePathParam.description).toContain('相对于项目根目录的路径');
6666
console.log('✅ relativePath parameter found in tool schema');
67-
68-
// Check tool description
69-
expect(downloadPathTool.description).toContain('下载远程文件到项目根目录下的指定相对路径');
70-
expect(downloadPathTool.description).toContain('Claude Code: WORKSPACE_FOLDER_PATHS');
71-
expect(downloadPathTool.description).toContain('Qwen Code: PROJECT_ROOT');
72-
expect(downloadPathTool.description).toContain('CodeBuddy: GITHUB_WORKSPACE');
73-
console.log('✅ Tool description contains supported editor information');
74-
67+
7568
console.log('✅ downloadRemoteFileToPath tool schema validation passed');
7669

7770
} catch (error) {

0 commit comments

Comments
 (0)