feat: add background group text sending - #19
Open
Shinichi1Kudo wants to merge 1 commit into
Open
Conversation
Add an experimental send command for exact, unique group targets on macOS ARM64 WeChat 4.1.8. The command validates the runtime and target before submission, loads an authenticated in-process bridge on demand, submits text through WeChat's official task builder/submit chain, and confirms success only after a matching local outgoing row has positive local and server IDs. Unknown outcomes are explicitly non-retryable. Direct messages, File Transfer, media messages, unsupported builds, ambiguous names, and forged chatroom IDs remain rejected. Chinese and English documentation cover the data flow, local visibility, exit codes, and operational risks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wechat-cli send GROUP TEXTfor background text sending to an exact, uniquely resolved group chat.local_id, positiveserver_id, the expected target and sender, exact text, and sent status.Scope and safeguards
@chatroomID already present in the contact database. Fuzzy names, duplicate names, forged IDs, and non-group contacts are rejected before submission.4/status: unknownand explicitly disallows automatic retry.CLI behavior
Successful JSON includes
success,status,request_id,group,username,local_id, andserver_id. A successful result usesstatus: server_accepted.Verification
python -m pytest -q: 279 passed-Wall -Wextra -Werroras part of the test suite