config.json 1.21 KB
{
  "_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": {
    "api_url": "http://localhost:8642/v1/chat/completions",
    "timeout_sec": 120,
    "default_session_prefix": "wx-",
    "system_hint": "你是一个微信智能助手。根据收到的消息,给出简短、自然、得体的中文回复。群聊中被@时要友好回应。"
  },
  "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"
  }
}