DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Md2wechat — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
M

@geekjourneyx/dsh-md2wechat

Md2wechat

使用外部 md2wechat CLI 准备 Markdown 文章的 DeepSeek Harness 工具

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:geekjourneyx/dsh-md2wechat#8d4c3f25e3a2f03c9e5fffd053e56da446deaf0a
README兼容性版本

兼容性与来源证明

Md2wechat 以 @geekjourneyx/dsh-md2wechat 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/8/29

版本

1.0.0stable
2026/8/29

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/8/29
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Agent Teams@nanmicoder/dsh-agent-teamsAgentTeams for DeepSeek Harness:通过自然语言驱动多智能体团队协作(队长、成员、具有依赖关系的任务、消息传递),并在 Web GUI 中提供树状监视器

README

dsh-md2wechat

Prepare Markdown articles for WeChat from DeepSeek Harness with reviewable, approval-gated steps.

dsh-md2wechat is an installable DeepSeek Harness plugin for building an immutable article revision, improving it, planning images, producing a signed preview, and exporting the reviewed HTML. Optional tools can generate missing images through md2wechat's configured image service and create an unpublished WeChat draft.

It is not the md2wechat CLI, an image model, or a publishing bot. The plugin and its GitHub Release do not contain or install md2wechat, and there is no command to publish or mass-send an article.

Install

Requirements:

  • DeepSeek Harness with dsh and pnpm available.
  • Node.js ^22.19.0 or >=24.0.0.
  • A separately installed md2wechat CLI at exactly version 3.3.0.
  • An absolute path to that executable in MD2WECHAT_BINARY_PATH before the profile starts.

Install the prebuilt, platform-independent plugin archive into a DSH profile:

dsh plugin --profile web add https://github.com/geekjourneyx/dsh-md2wechat/releases/download/v1.0.0/geekjourneyx-dsh-md2wechat-1.0.0.tgz

Confirm the dependency and composed configuration:

dsh plugin --profile web why @geekjourneyx/dsh-md2wechat
dsh --profile web --dump-config

The Release contains only the plugin. Install md2wechat 3.3.0 separately, set MD2WECHAT_BINARY_PATH to its absolute executable path, then start the profile. Plugin activation fails before registering tools if the executable is missing, reports another version, or lacks a required command.

Credentials and configuration

The bundled patch reads MD2WECHAT_BINARY_PATH and uses these default DSH credential references:

ReferenceUsed for
MD2WECHAT_API_KEYSigned preview validation, preview generation, export validation, and draft creation
WECHAT_APPIDFallback image upload and unpublished draft creation
WECHAT_SECRETFallback image upload and unpublished draft creation
IMAGE_API_KEYFallback generation through the image service configured by md2wechat

Credential references are names resolved by DSH; do not place credential values in the patch or a prompt.

The plugin row can be replaced in a later profile patch. Because a DSH patch replaces the row's complete config, restate the executable and credential references when changing a feature gate. For example, keep draft creation but disable fallback image generation:

- id: dsh-md2wechat
  config:
    binaryPath: !!js process.env.MD2WECHAT_BINARY_PATH
    credentialRefs:
      MD2WECHAT_API_KEY: MD2WECHAT_API_KEY
      WECHAT_APPID: WECHAT_APPID
      WECHAT_SECRET: WECHAT_SECRET
      IMAGE_API_KEY: IMAGE_API_KEY
    enableWechatWriteTools: true
    enableFallbackImageTool: false

Save this row in the profile's cordis.patch.yml. Later layers override the bundle defaults.

Tools and feature gates

The six base tools are always available after successful activation:

ToolPurpose
md2wechat_doctorCheck the configured CLI, version, capabilities, and provider readiness without exposing credentials
md2wechat_start_articleCopy a workspace Markdown file into a new immutable article revision without changing the source
md2wechat_improve_articlePrepare advice or a rewrite request for the current revision without modifying its bytes
md2wechat_plan_imagesCreate replayable image plans without credentials, generation, or uploads
md2wechat_previewCreate an expiring signed HTML preview after one-time approval
md2wechat_exportCopy the exact current signed preview HTML to an approved absolute local destination

Optional tools follow both gates exactly:

enableWechatWriteToolsenableFallbackImageToolAdditional tools
falsefalse or trueNone
truefalsemd2wechat_create_draft
truetruemd2wechat_create_draft, md2wechat_generate_images

Both gates default to true. md2wechat_create_draft creates one unpublished WeChat draft from the exact signed preview and verified uploaded images. md2wechat_generate_images must be used only when image work is required and the current DSH agent has no other image-generation capability.

Workflow

Use this order:

  1. md2wechat_start_article or md2wechat_improve_article
  2. md2wechat_plan_images
  3. md2wechat_preview
  4. md2wechat_export or, when enabled, md2wechat_create_draft

When the article needs images and the agent has no other image-generation capability, run md2wechat_generate_images after planning and before producing the final preview or draft.

Example prompt:

Prepare article.md as a WeChat article, plan the required images, let me review the signed preview, then export the approved HTML. Use md2wechat fallback image generation only if you have no other image-generation capability.

Approvals and side effects

  • Preview requires one-time approval before md2wechat generates signed preview HTML through the configured provider. It writes revision-local preview artifacts.
  • Export requires one-time approval bound to the exact signed HTML and absolute destination. It performs no CLI or network call, but writes the approved local file.
  • Fallback generation requires one-time approval. It can incur image-provider usage, download the result, and upload it to WeChat material storage before saving verified local artifacts. It runs as a background job when work remains.
  • Draft creation requires one-time approval. It uses already-uploaded body images and one verified cover to create an unpublished WeChat draft. It never publishes or mass-sends.

Planning, previewing, exporting, generating images, and creating a draft are separate decisions. A preview or export does not imply approval to generate, upload, or create a draft.

Compatibility and security

  • Plugin version: 1.0.0.
  • External md2wechat CLI: exactly 3.3.0; other versions fail activation.
  • Node.js: ^22.19.0 or >=24.0.0.
  • The plugin archive is platform-independent. Platform support for the external CLI is the CLI distributor's responsibility.
  • Revision artifacts stay inside the session workspace at .dsh/md2wechat by default.
  • Image-plan and draft-operation authority stays outside the workspace and temporary directories at $DSH_HOME/plugins/dsh-md2wechat by default. Configure an absolute external stateDir when that default overlaps a workspace.
  • Credentials are resolved only for the approved operation that needs them. The plugin does not print credential values or store them in article artifacts.
  • md2wechat is a trusted external executable. Review and install it separately; the plugin does not sandbox or update it.

Troubleshooting

The plugin registers no tools. Check that MD2WECHAT_BINARY_PATH is absolute, points to an executable md2wechat 3.3.0, and that md2wechat version --json plus md2wechat capabilities --json succeed.

A preview, export, image job, or draft reports missing credentials. Add the named credential to DSH and keep the corresponding credentialRefs entry. Do not paste a credential into the prompt or patch.

Fallback generation is unavailable. Both enableWechatWriteTools and enableFallbackImageTool must be true. Prefer another agent image capability when one is available.

The state directory is rejected. Use an absolute private directory outside the session workspace, the artifact directory, and platform temporary directories.

A draft outcome is unknown. The plugin blocks automatic retry after a started operation without an authenticated completion result, preventing an accidental duplicate draft. Inspect the WeChat account before deciding on any manual recovery.

Development

pnpm install --frozen-lockfile
pnpm test
pnpm typecheck
pnpm lint
pnpm run check:boundaries
pnpm run build
pnpm run pack:check

The test suite uses controlled fixtures and installed-package acceptance without making paid provider, image-generation, WeChat, publication, mass-send, or browser calls.

License

MIT © 2026 geekjourneyx. See CHANGELOG.md for the current release.