@blueking/bkui-knowledge 0.0.1-beta.1 → 0.0.1-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.
package/README.md CHANGED
@@ -15,12 +15,15 @@
15
15
  "mcpServers": {
16
16
  "bkui-knowledge": {
17
17
  "command": "npx",
18
- "args": ["-y", "@blueking/bkui-knowledge"]
18
+ "args": ["-y", "@blueking/bkui-knowledge"],
19
+ "cwd": "${workspaceFolder}"
19
20
  }
20
21
  }
21
22
  }
22
23
  ```
23
24
 
25
+ > ⚠️ `cwd` 必须设置为项目根目录,否则 skills 无法同步到正确位置
26
+
24
27
  **特性:**
25
28
  - ✅ 首次启动自动同步推荐 skills 到 `.cursor/skills/`
26
29
  - ✅ 自动生成 `.cursor/rules/bkui.mdc`(规则自动注入 AI 上下文)
@@ -11,11 +11,14 @@
11
11
  * "mcpServers": {
12
12
  * "bkui-knowledge": {
13
13
  * "command": "npx",
14
- * "args": ["-y", "@blueking/bkui-knowledge"]
14
+ * "args": ["-y", "@blueking/bkui-knowledge"],
15
+ * "cwd": "${workspaceFolder}"
15
16
  * }
16
17
  * }
17
18
  * }
18
19
  *
20
+ * 注意:cwd 必须设置为项目根目录,否则 skills 无法同步到正确位置
21
+ *
19
22
  * 更新机制:
20
23
  * - skills 内置在 npm 包中
21
24
  * - 更新 skills 时:修改代码 → npm publish
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/bkui-knowledge",
3
- "version": "0.0.1-beta.1",
3
+ "version": "0.0.1-beta.2",
4
4
  "description": "蓝鲸前端知识库 MCP 服务 - 自动同步 skills,支持 Cursor/VSCode",
5
5
  "main": "server/mcp-core.js",
6
6
  "bin": {