Files
WechatExplorer/services/wechat-connector
Wxw-Gu 1156362c3c test: 完善 2.3.0 跨平台测试与 CI 稳定性
- 修复 Windows 与 macOS 单元测试环境差异\n- 完善组件、集成与 Electron E2E 测试\n- 修复异步等待、平台路径和环境依赖问题\n- 统一 E2E 窗口尺寸与 Visual 测试策略\n- 提升 GitHub Actions 跨平台 CI 稳定性
2026-09-05 10:38:41 +08:00
..

TraceMemo WeChat Connector

This repository-local service provides the minimal WeChat bridge required by TraceMemo:

  • QR-code login with a single persisted credential
  • account discovery
  • inbound long polling and authenticated webhook delivery
  • local HTTP health and send endpoints
  • text and local/remote media sending

The executable is managed by the Electron main process. It is not a general-purpose agent runtime and does not load external AI command-line tools.

Commands

go run . login --json
go run . accounts --json
go run . start --foreground --api-addr 127.0.0.1:18011 --account-id <account-id>

Credential and synchronization state is stored under ~/.wechatexplorer/wechat-connector/accounts. This legacy directory name is intentionally retained so upgrades can reuse existing accounts. A successful login is written before the older credential and synchronization state are removed, so an incomplete login cannot destroy the last working credential.

Attribution

Low-level protocol and media transport portions are distributed under the MIT license in LICENSE. TraceMemo-specific process management, webhook contract, product UI, and Agent Hub behavior live in the surrounding TraceMemo project.