@ppdocs/mcp 3.2.1 → 3.2.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/dist/cli.js +2 -2
- package/package.json +3 -2
package/dist/cli.js
CHANGED
|
@@ -127,8 +127,8 @@ export function runCli(args) {
|
|
|
127
127
|
});
|
|
128
128
|
return true;
|
|
129
129
|
}
|
|
130
|
-
if (cmd === 'agent') {
|
|
131
|
-
// 动态导入 Agent 入口
|
|
130
|
+
if (cmd === 'agent' || cmd === 'webui') {
|
|
131
|
+
// 动态导入 Agent 入口 (Web UI + 多项目管理)
|
|
132
132
|
import('./agent.js').catch(e => {
|
|
133
133
|
console.error(`❌ Agent failed: ${e}`);
|
|
134
134
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ppdocs/mcp",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "ppdocs MCP Server - Knowledge Graph for Claude",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
|
+
"ppdocs": "dist/index.js",
|
|
8
9
|
"mcp": "dist/index.js",
|
|
9
10
|
"ppdocs-mcp": "dist/index.js",
|
|
10
11
|
"ppdocs-agent": "dist/agent.js"
|
|
@@ -46,4 +47,4 @@
|
|
|
46
47
|
"@types/node": "^22.0.0",
|
|
47
48
|
"typescript": "^5.7.0"
|
|
48
49
|
}
|
|
49
|
-
}
|
|
50
|
+
}
|