mirror of https://github.com/jackwener/wx-cli.git
Merge pull request #28 from dsjzazs/feat/auto-install-deps
fix: 改为通过 requirements 安装依赖feat/daemon-cli
commit
67244597f2
14
README.md
14
README.md
|
|
@ -29,7 +29,7 @@ WCDB (微信的 SQLCipher 封装) 会在进程内存中缓存派生后的 raw ke
|
|||
|
||||
- Python 3.10+
|
||||
- 微信 4.x
|
||||
- `pip install pycryptodome`
|
||||
- `pip install -r requirements.txt`
|
||||
|
||||
Windows:
|
||||
|
||||
|
|
@ -46,9 +46,17 @@ Linux:
|
|||
### 安装依赖
|
||||
|
||||
```bash
|
||||
pip install pycryptodome
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
Windows 如果遇到权限不足或全局环境不可写,可以改用:
|
||||
|
||||
```bash
|
||||
py -m pip install --user -r requirements.txt
|
||||
```
|
||||
|
||||
如果需要读取受保护的进程或把依赖安装到系统 Python,也可能需要以管理员身份打开终端。
|
||||
|
||||
### 快速开始
|
||||
|
||||
Windows:
|
||||
|
|
@ -104,7 +112,7 @@ Linux 版 `config.json` 示例:
|
|||
将微信数据查询能力接入 [Claude Code](https://claude.ai/claude-code),让 AI 直接读取你的微信消息。
|
||||
|
||||
```bash
|
||||
pip install mcp
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
注册到 Claude Code:
|
||||
|
|
|
|||
2
USAGE.md
2
USAGE.md
|
|
@ -221,7 +221,7 @@ Claude 会调用 `get_chat_history(chat_name="██群", limit=500)` 获取消
|
|||
|
||||
```bash
|
||||
# 1. 安装依赖
|
||||
pip install mcp pycryptodome
|
||||
pip install -r requirements.txt
|
||||
|
||||
# 2. 注册到 Claude Code
|
||||
claude mcp add wechat -- python C:\path\to\mcp_server.py
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
pycryptodome>=3.19,<4
|
||||
zstandard>=0.22,<1
|
||||
mcp>=1.0,<2
|
||||
Loading…
Reference in New Issue