dsh-tool-gzh-publisher: A WeChat Official Account Publishing Pipeline for DeepSeek Harness

yuehancn/dsh-tool-gzh-publisher

Integrations & ConnectionsVerified
Listed on 2026-10-02
Page last updated 2026-10-02

A WeChat Official Account pipeline for DeepSeek Harness: validate a draft against the publish gate, then safely push it to the draft box without leaving the conversation.

dsh-tool-gzh-publisher is a WeChat Official Account publishing pipeline plugin for DeepSeek Harness that wraps draft quality gating and draft box pushing into typed tools an Agent can call directly. Instead of reimplementing the WeChat API, it bridges a publisher script already working on your machine, so the model does not assemble flags, parse Chinese output, or guess whether a call succeeded. Once enabled you can list publishable accounts, run the publish gate offline, check account configuration and credentials, and push a passing draft into the draft box. It is maintained by yuehancn under the MIT license and written in JavaScript.

How to Install

install
dsh plugin --profile web add github:yuehancn/dsh-tool-gzh-publisher
Category
Integrations & Connections
Platform
DSH Plugin
Author
yuehancn
Distribution
Plugin

dsh-tool-gzh-publisher Key Features

Validate drafts against publish gatePush to WeChat draft boxCheck account configurationVerify credential handshakeList publishable accounts
Listed on dsh-plugin.org

dsh-tool-gzh-publisher Repo Summary

What Does It Do?

It is a DSH plugin for DeepSeek Harness that turns WeChat Official Account drafting into tools an Agent can call directly, covering both quality gating and pushing a draft to the draft box. Rather than reimplementing the WeChat API, it acts as a typed bridge over a publisher script already working on your machine, so the model does not have to assemble flags, parse Chinese output, or guess whether a call succeeded. Once enabled, your Agent can gate a draft and push it into the draft box without leaving the conversation. It is maintained by yuehancn under the MIT license, written in JavaScript, and built and tested against dsh 0.2.0-rc.2 preview.

Core Features

  • Account listing: reads the local account registry and lists publishable official accounts with their positioning, keywords, and working directories, fully offline.
  • Publish gate validation: runs word count, golden-sentence, emoji, AI-tone, and ending checks on a draft without touching the network.
  • Account health check: verifies required fields, on-disk paths, and whether the environment file already holds the APPID and SECRET.
  • Draft push: passes the quality gate first, then pushes to the draft box only, never publishing publicly, so a human still clicks publish.
  • Credential handshake: the only tool that authenticates, exchanging real credentials for an access token to confirm the account works.
  • Network labeling: every tool states whether it goes online, so a config check never accidentally triggers authentication.

How to Use This Plugin?

After enabling it in DSH, the Agent receives a set of typed WeChat Official Account tools, used in the order check, validate, then push. Start by listing accounts to pick the target, run the health check to confirm configuration and credentials, validate the chosen draft against the publish gate, and push it to the draft box once it passes. Before use you need three external pieces on your machine: the bridged publisher script, the Python interpreter that runs it, and the account registry, with their paths filled into the plugin configuration. Each registry entry carries positioning, keywords, working directory, environment file, and thresholds such as word count and golden sentences. The plugin itself reads no credentials and writes no files; the bridged script reads credentials from the environment file you specify, and the access token goes only to the official WeChat endpoint. If a path is missing, the tool reports clearly that it cannot find the publisher script.

How to Troubleshoot This Plugin?

If a tool reports that the publisher script cannot be found, the configured script path does not point to a real script on your machine; follow the official instructions to correct it to the actual location. If the account health check reports a missing APPID or SECRET, check that the environment file referenced by the account registry contains both fields. If the account list is empty or unreadable, confirm the registry path is correct and that its contents follow the expected entry format.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: yuehancn/dsh-tool-gzh-publisher. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ