@cloudbase/cloudbase-mcp 1.7.2 → 1.7.4
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.
|
@@ -2160,7 +2160,9 @@ export class InteractiveServer {
|
|
|
2160
2160
|
color: var(--text-primary);
|
|
2161
2161
|
animation: fadeInUp 0.8s ease-out 0.4s both;
|
|
2162
2162
|
position: relative;
|
|
2163
|
-
overflow:
|
|
2163
|
+
overflow: scroll;
|
|
2164
|
+
white-space: pre;
|
|
2165
|
+
max-height: 300px;
|
|
2164
2166
|
}
|
|
2165
2167
|
|
|
2166
2168
|
.message::before {
|
package/dist/tools/setup.js
CHANGED
|
@@ -12,6 +12,10 @@ const TEMPLATES = {
|
|
|
12
12
|
description: "React + CloudBase 全栈应用模板",
|
|
13
13
|
url: "https://static.cloudbase.net/cloudbase-examples/web-cloudbase-react-template.zip"
|
|
14
14
|
},
|
|
15
|
+
"vue": {
|
|
16
|
+
description: "Vue + CloudBase 全栈应用模板",
|
|
17
|
+
url: "https://static.cloudbase.net/cloudbase-examples/web-cloudbase-vue-template.zip"
|
|
18
|
+
},
|
|
15
19
|
"miniprogram": {
|
|
16
20
|
description: "微信小程序 + 云开发模板",
|
|
17
21
|
url: "https://static.cloudbase.net/cloudbase-examples/miniprogram-cloudbase-miniprogram-template.zip"
|
|
@@ -123,11 +127,12 @@ export function registerSetupTools(server) {
|
|
|
123
127
|
|
|
124
128
|
支持的模板:
|
|
125
129
|
- react: React + CloudBase 全栈应用模板
|
|
130
|
+
- vue: Vue + CloudBase 全栈应用模板
|
|
126
131
|
- miniprogram: 微信小程序 + 云开发模板
|
|
127
132
|
- rules: 只包含AI编辑器配置文件(包含Cursor、WindSurf、CodeBuddy等所有主流编辑器配置),适合在已有项目中补充AI编辑器配置
|
|
128
133
|
|
|
129
134
|
工具会自动下载模板到临时目录,解压后如果检测到WORKSPACE_FOLDER_PATHS环境变量,则复制到项目目录。`, {
|
|
130
|
-
template: z.enum(["react", "miniprogram", "rules"]).describe("要下载的模板类型"),
|
|
135
|
+
template: z.enum(["react", "vue", "miniprogram", "rules"]).describe("要下载的模板类型"),
|
|
131
136
|
overwrite: z.boolean().optional().describe("是否覆盖已存在的文件,默认为false(不覆盖)")
|
|
132
137
|
}, async ({ template, overwrite = false }) => {
|
|
133
138
|
try {
|