Introduction¶
DSH tasks are often executed locally, but progress notifications, message triggers, and reverse operation sessions are not necessarily confined to the terminal. dsh-wxauto-plugin integrates the WeChat window into DSH’s local workflow: task progress can be pushed to WeChat, WeChat messages can be listened to, and DSH sessions can be driven from WeChat with results received back.
DSH extends its capabilities through plugins. The following describes a plugin repository maintained by br1nosense, which is not equivalent to an official app store.
What This Is¶
dsh-wxauto-plugin is a DSH WeChat automation plugin licensed under MIT. The plugin is based on wxauto4 and targets local environments running Windows 10/11, a logged-in WeChat 4.1.x client, and Python 3.9–3.12.
Verified capabilities include:
- WeChat push notifications for task progress
- WeChat message listening
- WeChat ⇄ DSH bidirectional bridge
- DSH progress screenshots
- Keyword auto-reply
- Forwarding DSH questions to WeChat
The plugin provides toggles and configuration entries on DSH’s settings page. Since the plugin runs with the current dsh process permissions, you should review the source code and the MIT license before installation.
Environment Requirements¶
The following conditions come from the plugin documentation:
- System:
Windows 10/11 - WeChat: logged-in
4.1.xclient - Python:
3.9–3.12 - Python dependencies:
wxauto4andwebsocket-client
When the bidirectional bridge is enabled, it occupies the local WeChat window, and you should not manually operate WeChat during that time.
wxauto officially states that its code is for UIAutomation technical exchange and learning only, prohibiting use in production, marketing, or illegal activities, and warns of the risk of account ban.
Installation and Activation¶
First, prepare the repository directory, then register it into DSH’s web profile. The installation command is:
dsh plugin --profile web add <repository-directory>
This command adds the specified repository directory to the DSH plugin configuration. After installation, you need to find the WeChat automation-related toggles on DSH’s settings page and configure chat targets as needed.
If DSH fails to start after installing the plugin, check peerDependencies resolution. This plugin declares @deepseek-ai/cordis, @deepseek-ai/dsh-settings, and @deepseek-ai/schemastery as peerDependencies.
The documentation requires creating directory junctions at the local environment level, which should not be committed to the repository. The approach is to ensure that the three packages above can be resolved by Node from the plugin’s directory; if DSH’s built-in directories are not on that lookup path, you need to create directory junctions pointing to the same-named packages bundled with DSH. The exact paths depend on your local DSH installation location.
Typical Usage¶
The following commands come from the plugin documentation and are all used for local WeChat automation operations.
- Environment pre-check:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File skills\dsh-wxauto\wrappers\wx-test.ps1
- Send a test message to
File Transfer:
wx-send.ps1 -Who "File Transfer" -Msg "Task completed"
- Single listening check:
wx-listen.ps1 -Who "File Transfer" -Once -Force -Json
- Start the WeChat ⇄ DSH bidirectional bridge:
wx-bridge.ps1 -Who "My Control Group" -Timeout 86400
- Use
File Transferfor bridge self-test:
wx-bridge.ps1 -Who "File Transfer" -AllowSelf -Timeout 3600
The chat names and timeout values in the commands above should be adjusted based on actual scenarios. Note the WeChat window occupancy issue when running the bridge.
Applicable Scenarios and Notes¶
This is suitable for users who want to connect DSH local sessions to WeChat, especially for scenarios requiring task progress push, WeChat message listening, bidirectional bridging, and forwarding DSH questions to WeChat.
Before use, you need to confirm:
- The local machine meets the requirements of
Windows 10/11, WeChat4.1.x, andPython 3.9–3.12; wxauto4andwebsocket-clientare installed;- You will not manually operate WeChat while the bridge is running;
- You will not use the plugin for production, marketing, or illegal purposes;
- The plugin runs with the current
dshprocess permissions, so you should review the source code and license before installation.
Conclusion¶
The value of dsh-wxauto-plugin lies in turning the WeChat chat window into a notification, listening, and reverse operation entry point for DSH local tasks.
The repository address is:
https://github.com/br1nosense/dsh-wxauto-plugin
The directory page clue was not confirmed in the currently verified materials, so it is not listed as definitive information.