config.json
1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"_comment": "WeChat 本地闭环配置 — daemon 负责检测+发送,hermes 负责 LLM 处理",
"db_src_path": "/data/data/com.tencent.mm/MicroMsg/653cdc2320abb089e149a3f7a7683fcf/EnMicroMsg.db",
"db_copy_dir": "/sdcard/hermes/dbs",
"msg_log_file": "/sdcard/hermes/wechat_msgs.jsonl",
"sqlcipher_key": "e03ce81",
"cipher_compatibility": 1,
"cipher_page_size": 1024,
"poll_interval_sec": 10,
"max_msgs_per_poll": 3,
"notifications": {
"enabled": true,
"poll_interval_sec": 3,
"termux_bin_path": "/data/data/com.termux/files/usr/bin/termux-notification-list"
},
"hermes": {
"host": "localhost",
"port": 3010,
"timeout_sec": 120,
"default_session_prefix": "wx-",
"system_hint": "你是一个微信智能助手。根据收到的消息,给出简短、自然、得体的中文回复。群聊中被@时要友好回应。",
"api_url": "",
"api_key": "",
"provider": "anthropic",
"model": ""
},
"auto_reply": {
"enabled": true,
"contacts": ["yibooo"],
"exclude_types": [10000],
"cooldown_sec": 5
},
"send": {
"method": "am_broadcast",
"broadcast_action": "com.hermes.wechat.SEND_MSG",
"am_path": "/system/bin/am"
},
"logging": {
"level": "INFO",
"file": "/sdcard/hermes/daemon.log"
}
}