@rsdoctor/docs 1.2.0-beta.0 → 1.2.0-beta.2
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.
|
@@ -188,6 +188,21 @@ Add configuration in the configuration file:
|
|
|
188
188
|
}
|
|
189
189
|
```
|
|
190
190
|
|
|
191
|
+
#### Trae
|
|
192
|
+
|
|
193
|
+
You can configure and add it via "Create Agent" → "MCP" → "Add" → "Manual Add":
|
|
194
|
+
|
|
195
|
+
```json
|
|
196
|
+
{
|
|
197
|
+
"mcpServers": {
|
|
198
|
+
"rsdoctor": {
|
|
199
|
+
"command": "npx",
|
|
200
|
+
"args": ["-y", "@rsdoctor/mcp-server@latest"]
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
```
|
|
205
|
+
|
|
191
206
|
## Configuration instructions
|
|
192
207
|
|
|
193
208
|
### Command line parameters
|
|
@@ -188,6 +188,35 @@ RSDOCTOR=true npm run build
|
|
|
188
188
|
}
|
|
189
189
|
```
|
|
190
190
|
|
|
191
|
+
#### Trae
|
|
192
|
+
|
|
193
|
+
可在「创建智能体」- 「MCP」-「添加」-「手动添加」中配置添加:
|
|
194
|
+
|
|
195
|
+
```json
|
|
196
|
+
{
|
|
197
|
+
"mcpServers": {
|
|
198
|
+
"rsdoctor": {
|
|
199
|
+
"command": "npx",
|
|
200
|
+
"args": ["-y", "@rsdoctor/mcp-server@latest"]
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
目前已在 Trae CN MCP 市场中发布,除了手动配置外,也可以通过市场搜索 「rsdoctor-mcp」进行添加并使用。
|
|
207
|
+
|
|
208
|
+
<img
|
|
209
|
+
src="https://assets.rspack.rs/others/assets/rsdoctor/trae-mcp.png"
|
|
210
|
+
alt="trae-mcp"
|
|
211
|
+
style={{
|
|
212
|
+
width: '90%',
|
|
213
|
+
height: 'auto',
|
|
214
|
+
maxHeight: '50vh',
|
|
215
|
+
objectFit: 'cover',
|
|
216
|
+
display: 'block',
|
|
217
|
+
}}
|
|
218
|
+
/>
|
|
219
|
+
|
|
191
220
|
## 配置说明
|
|
192
221
|
|
|
193
222
|
### 命令行参数
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/docs",
|
|
3
|
-
"version": "1.2.0-beta.
|
|
3
|
+
"version": "1.2.0-beta.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
],
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public",
|
|
18
|
-
"provenance": true,
|
|
19
18
|
"registry": "https://registry.npmjs.org/"
|
|
20
19
|
},
|
|
21
20
|
"devDependencies": {
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
"rspress-plugin-font-open-sans": "^1.0.0",
|
|
33
32
|
"rspress-plugin-sitemap": "^1.1.4",
|
|
34
33
|
"typescript": "^5.2.2",
|
|
35
|
-
"@rsdoctor/types": "1.2.0-beta.
|
|
34
|
+
"@rsdoctor/types": "1.2.0-beta.2"
|
|
36
35
|
},
|
|
37
36
|
"dependencies": {
|
|
38
37
|
"@rstack-dev/doc-ui": "1.10.8",
|