• wechat_reply_daemon.sh:root 监督器,带 Termux 环境、单实例锁、等微信登录
    就绪(selftest)、看门狗崩溃重启(退避 10s)。
    service.d__wechat-reply-watcher.sh:Magisk service.d 开机钩子(装到
    /data/adb/service.d/wechat-reply-watcher.sh)拉起监督器。
    真机验证:纯 root(boot 上下文)selftest 通过、单实例防重、杀 watcher 自动
    重启、setsid 脱离后挂 init 常驻。已在设备 7×24 运行。
    
    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
    yibo authored
     
    Browse File »
  • wechat_reply_watcher.py:纯 ctypes inotify 监听当前账号 EnMicroMsg.db 目录
    (SELinux 放行、零轮询),失败退回 stat mtime;解密增量读 message(isSend=0
    & msgId>last)→ 分类(私聊/群@我/群引用我/群其它)→ 写 incoming.jsonl 队列。
    账号运行时按 MD5("mm"+uin) 自适应,首跑建基线不重放历史。真机验证 inotify
    触发读取、多账号切换自适应、解密/分类均通过。含 --selftest/--once/--tail。
    
    配套需求文档 md/wechat-auto-reply-requirements.md 标注环节1 完成。
    
    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
    yibo authored
     
    Browse File »