-
Hook.java v3.1 (315 行): - body 捕获:okio.Buffer 读取 POST/PUT body(截断 2000 字符) - Proxy poller(后台线程,1s 轮询 /xhs_proxy/pending): executeOkHttp() 在 XHS 进程内用 OkHttpClient 执行代理请求, 自动经过 XHS 拦截器签名,结果 POST /xhs_proxy/result - 手写 JSON 解析器(无外部依赖) - 保留 /xhs_params 转发(每条 edith 请求实时上报) event_server.py(Hermes 编写): - proxy_requests 表(pending→ok/error 状态机) - POST /xhs_proxy — Hermes 下发代理请求 - GET /xhs_proxy/pending — Hook 轮询取下一个任务 - POST /xhs_proxy/result — Hook 上报执行结果 - GET /xhs_proxy/result/{id} — Hermes 轮询取结果 - DELETE /xhs_proxy/{id} — 清理完成的任务 架构:Hermes → event_server → Hook(XHS进程内OkHttp签名) → event_server → Hermes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> -
- event_server.py: POST /xhs_params receives forwarded XHS edith requests from xhshook v3 (Hook.java background thread), stores as type='xhs_request' in events DB; GET /xhs_params returns latest N captures for Hermes to query - Pushed to device ~/.hermes/event_bus/event_server.py - STATUS.md: reflect v3 state (mid=4, DEX=6328B, HTTP forwarding live), mark task C done, add Hermes startup instructions for event_server + xhs_params query Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-
phoneuse 原是独立 git 仓库(origin: gitlab phoneuse.git),现移除其 内部 .git 元数据,把代码拍平为本仓库的普通文件纳入历史。phoneuse 自身 3 条 commit 历史仍完整保留在 gitlab 远端,未受影响。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>