@rsdoctor/docs 1.1.10 → 1.2.0-beta.0

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.
@@ -141,6 +141,23 @@ RSDOCTOR=true npm run build
141
141
  2. Restart the Cursor editor
142
142
  3. Start interaction in the MCP panel
143
143
 
144
+ #### GitHub Copilot
145
+
146
+ 1. Create `.vscode/mcp.json` in your project root directory. GitHub Copilot will automatically load the MCP Server configuration.
147
+
148
+ ```json
149
+ {
150
+ "mcpServers": {
151
+ "rsdoctor": {
152
+ "command": "npx",
153
+ "args": ["-y", "@rsdoctor/mcp-server@latest"]
154
+ }
155
+ }
156
+ }
157
+ ```
158
+
159
+ 2. In the Copilot Chat view, select [Agent mode](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode#_use-agent-mode), then start interacting.
160
+
144
161
  #### Claude
145
162
 
146
163
  Add configuration in `claude_desktop_config.json`:
@@ -141,6 +141,23 @@ RSDOCTOR=true npm run build
141
141
  2. 重启 Cursor 编辑器
142
142
  3. 在 MCP 面板中开始交互
143
143
 
144
+ #### GitHub Copilot
145
+
146
+ 1. 在项目根目录创建 `.vscode/mcp.json`,GitHub Copilot 默认会自动加载 MCP Server 配置
147
+
148
+ ```json
149
+ {
150
+ "mcpServers": {
151
+ "rsdoctor": {
152
+ "command": "npx",
153
+ "args": ["-y", "@rsdoctor/mcp-server@latest"]
154
+ }
155
+ }
156
+ }
157
+ ```
158
+
159
+ 2. 在 Copilot Chat 面板中选择 [Agent 模式](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode#_use-agent-mode),然后开始交互。
160
+
144
161
  #### Claude
145
162
 
146
163
  在 `claude_desktop_config.json` 中添加配置:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/docs",
3
- "version": "1.1.10",
3
+ "version": "1.2.0-beta.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -19,8 +19,8 @@
19
19
  "registry": "https://registry.npmjs.org/"
20
20
  },
21
21
  "devDependencies": {
22
- "@rspress/plugin-algolia": "2.0.0-beta.18",
23
- "@rspress/plugin-llms": "2.0.0-beta.18",
22
+ "@rspress/plugin-algolia": "2.0.0-beta.20",
23
+ "@rspress/plugin-llms": "2.0.0-beta.20",
24
24
  "@rspress/plugin-rss": "2.0.0-beta.6",
25
25
  "@types/node": "^22.8.1",
26
26
  "@types/react": "^18.3.23",
@@ -32,10 +32,10 @@
32
32
  "rspress-plugin-font-open-sans": "^1.0.0",
33
33
  "rspress-plugin-sitemap": "^1.1.4",
34
34
  "typescript": "^5.2.2",
35
- "@rsdoctor/types": "1.1.10"
35
+ "@rsdoctor/types": "1.2.0-beta.0"
36
36
  },
37
37
  "dependencies": {
38
- "@rstack-dev/doc-ui": "1.10.6",
38
+ "@rstack-dev/doc-ui": "1.10.8",
39
39
  "react-markdown": "^9.1.0",
40
40
  "rspress": "2.0.0-beta.6"
41
41
  },