shizai-agent-mcp 0.5.2 → 0.5.3
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 +9 -9
- package/bin/shizai-agent-mcp.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,27 +5,27 @@
|
|
|
5
5
|
## 使用
|
|
6
6
|
|
|
7
7
|
```powershell
|
|
8
|
-
npx -y shizai-agent-mcp install
|
|
9
|
-
npx -y shizai-agent-mcp register codex
|
|
8
|
+
npx -y shizai-agent-mcp@latest install
|
|
9
|
+
npx -y shizai-agent-mcp@latest register codex
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
也可以注册 Cursor 或 Claude Desktop:
|
|
13
13
|
|
|
14
14
|
```powershell
|
|
15
|
-
npx -y shizai-agent-mcp register cursor
|
|
16
|
-
npx -y shizai-agent-mcp register claude
|
|
15
|
+
npx -y shizai-agent-mcp@latest register cursor
|
|
16
|
+
npx -y shizai-agent-mcp@latest register claude
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
常用命令:
|
|
20
20
|
|
|
21
21
|
```powershell
|
|
22
|
-
npx -y shizai-agent-mcp status
|
|
23
|
-
npx -y shizai-agent-mcp path
|
|
24
|
-
npx -y shizai-agent-mcp uninstall
|
|
22
|
+
npx -y shizai-agent-mcp@latest status
|
|
23
|
+
npx -y shizai-agent-mcp@latest path
|
|
24
|
+
npx -y shizai-agent-mcp@latest uninstall
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
当前 npm launcher 版本为 `0.5.
|
|
28
|
-
`shizai-agent-v0.7.
|
|
27
|
+
当前 npm launcher 版本为 `0.5.3`,默认下载最新的 `v0.7.27` Windows x64 资产:
|
|
28
|
+
`shizai-agent-v0.7.27-windows-x64.zip`。npm 包不附带浏览器自动化依赖,也不要求用户安装额外扩展。
|
|
29
29
|
|
|
30
30
|
`install` 覆盖文件后会自动注册 Codex MCP;需要跳过配置写入时使用
|
|
31
31
|
`install --skip-register`,之后可单独运行 `register codex`。
|
package/bin/shizai-agent-mcp.js
CHANGED
|
@@ -9,7 +9,7 @@ const { execFileSync, spawn } = require('node:child_process');
|
|
|
9
9
|
|
|
10
10
|
const SERVER = 'shizai-agent';
|
|
11
11
|
const REPO = process.env.SHIZAI_AGENT_REPO || 'yimoxzy/shizai-agent';
|
|
12
|
-
const DEFAULT_VERSION = process.env.SHIZAI_AGENT_VERSION || '0.7.
|
|
12
|
+
const DEFAULT_VERSION = process.env.SHIZAI_AGENT_VERSION || '0.7.27';
|
|
13
13
|
const installRoot = process.env.SHIZAI_AGENT_HOME || path.join(
|
|
14
14
|
process.env.LOCALAPPDATA || path.join(os.homedir(), '.local'), 'Programs', 'ShizaiAgent'
|
|
15
15
|
);
|