This branch (deepmem-custom) contains DeepMem-specific modifications on top
of the upstream wx-cli project (jackwener/wx-cli). When upstream releases new
versions, merge them into this branch rather than rebasing, so the custom
patches remain clearly separated in git history.
- Repository: https://github.com/jackwener/wx-cli
- Tracking branch:
main(synced periodically fromorigin/main)
Added wx labels subcommand that retrieves WeChat contact labels/tags via IPC.
DeepMem uses this during onboarding to let users filter which contacts to
import by label.
- Commit:
2493d9f feat(contacts): add friend label/tag support
Added wx has-changes subcommand that detects whether new messages have
arrived since a given cursor. DeepMem daemon polls this at 2-3s intervals for
near-realtime WeChat sync without re-scanning the full database.
- Commit:
7ac858e feat(cli): add has-changes command for realtime sync polling
Improved database directory detection using WeChat process PID, more reliable than the previous heuristic on macOS.
- Branch:
feat/pid-based-db-dir-detection
cargo build --release
# Binary: target/release/wx
# DeepMem expects it at: ~/.deepmem/bin/wx (or /usr/local/bin/wx via symlink)Always build from deepmem-custom for DeepMem, never the upstream main
directly. The DeepMem daemon install endpoint downloads a pre-built binary
from a configured URL; that binary must come from this branch.
- Keep
Cargo.tomlpackage.versionaligned with upstream wx-cli. - Bump
deepmem-version.txtfor DeepMem fork changes. - Build and tag DeepMem releases as
deepmem-<upstream_version>-<deepmem_version>. - After a daemon-backed business command starts or restarts
wx-daemon, verify:
wx daemon status --jsonThe release candidate should report consistency.status = "ok".