DeepSeek Harness Plugin

YeYirp/dsh-wechat-kb

Category Remote & Mobile Added 2026-11-26

One plugin holding two halves that share a settings page. The first bridges WeChat desktop on Windows to DSH: a Python side (bridge/wechat_bridge.py, dependencies installed into ~/.dsh/wechat-bridge-venv or a bundled runtime) drives the client through UI Automation, incoming chats are answered by the agent and sent back as real messages with UIA @-mentions, each chat can be bound to its own session, inbound forwarding is fail-closed (with an empty allowlist nothing is forwarded until chats, wxids or the owner are added explicitly), and it adds per-chat diary files, group reply spacing and hourly caps, owner / whitelist / blocklist rules, image understanding through a vision model, and a queued outbox that waits for acknowledgement. The second is a local knowledge base kept in a JSON file with no database, embedding model or API key: PDF, Word, Excel, PowerPoint, image and audio files are imported, images extracted from PDFs are OCR'd through an OpenAI-compatible chat endpoint (on by default, pointed at the local gateway and deepseek-official/deepseek-flash) and stored with the document, and retrieval is keyword scoring over the local store exposed as seven project_knowledge_* tools plus a system-prompt section for answer/review behaviour. Both halves are the upstream plugins dsh-wechat-bridge 1.4.0 (MIT, Yuuyuko-uu / thawline) and dsh-project-knowledge-review 0.5.14, kept as they were apart from the merged entry point and one combined settings page. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:YeYirp/dsh-wechat-kb

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.