Files
WechatExplorer/services/wechat-connector
Wxw-Gu 55c6fb8cd3 feat: 完成 TraceMemo v2.2.0 品牌升级并保留旧数据兼容
- 将用户可见品牌升级为 TraceMemo(迹忆)
- 增加最早期 userData/sessionData 兼容路径选择
- 保留 WechatExplorer runtime identity 以兼容 safeStorage
- 继续使用旧 Knowledge、Settings、API Token 和 Provider 配置
- 新日志写入 TraceMemo 目录并保留历史日志
- 保留旧 API、Skill、环境变量和导出目录兼容标识
- 更新相关文档、界面文案与自动化测试
2026-08-11 14:42:12 +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.