DSH Plugins Marketplace

DSH Plugins

Plugins

/

wxmp

w

wxmp

Manifest valid

公众号文章工作台:在 DSH 里写稿、排版、生成封面、建草稿并发布到微信公众号。模型侧提供 wxmp 工具,界面侧提供三栏工作台(文章列表 / 预览 / 发布流水线)。

UI (client)hasBundlePatch

@local/wxmp — DSH 插件

把 wxmp CLI 注册成一个模型工具 wxmp,用于制作与发布微信公众号文章。

安装

dsh plugin --profile web add G:\AI PGRM\DSH\wxmp\dsh-plugin

或把本目录链接到 DSH 的本地插件目录(本工作区是 G:\AI PGRM\DSH\plugins\)。

工具形态

{
  "operation": "draft_create",
  "params": { "file": "文章.md" }
}

返回固定形状(DSH 会按 output.schema 校验):

{ "ok": true, "exitCode": 0, "data": { "mediaId": "draft_7", ... }, "text": "草稿已创建: draft_7 ..." }

render() 只把 text 交给模型,data 留给程序消费。

操作与参数

operationparams
config_show—
config_setappid, secret
doctor—
article_newtitle(必填), author?, theme?, cover?, force?
article_list—
article_show / article_checkfile?(缺省取最新一篇)
article_previewfile?, out?, open?
coverfile?, subtitle?, badge?, theme?, out?
draft_createfile?, dryRun?, thumbMediaId?
draft_listoffset?, count?, full?
draft_get / draft_deletemediaId
draft_updatefile?, mediaId?, index?, dryRun?
draft_count—
publish_submitfile? 或 mediaId, yes?
publish_status / publish_waitpublishId, timeoutMs?, intervalMs?
publish_listoffset?, count?
publish_deletearticleId, yes?, index?

所有操作都接受 baseUrl(指向自建/内网网关,默认 api.weixin.qq.com)。 mediaId 也接受 media_id、publishId 也接受 publish_id 等下划线写法。

配置

- insert:
    - id: wxmp
      name: '@local/wxmp'
      config:
        cliPath: ''        # 默认自动定位 ../bin/wxmp.js
        stateDir: ''       # 空 = 用 CLI 自己的目录(%LOCALAPPDATA%\wxmp)
        timeoutMs: 120000

安全默认(有意为之)

  • publish_submit 不带 yes: true 只 dry-run,不会真的发出去;
  • publish_delete 同理;
  • 凭据在输出里始终打码;
  • 发布是异步任务:工具会提示用 publish_wait 轮询,而不是假装 submit 成功就完事。

设计要点

  • 只注入 tools:systemPrompt 是可选增强。
  • 不 import @deepseek-ai/*:手写 raw JSON Schema,link: 加载也不会解析失败。
  • 子进程 stdio 指向文件:受限沙箱里管道会 EPERM。
  • 所有操作串行:draft_create 会把 media_id 写回文章 front matter, publish_submit 依赖它,并发会互相踩踏。
  • 重新 apply 先释放旧注册:配置变更会重新调用 apply。

卸载

# 1. 从 profile 清单里去掉依赖与 bundles 条目
#    %USERPROFILE%\.dsh\profiles\desktop\package.json
# 2. 删链接
Remove-Item "$env:USERPROFILE\.dsh\profiles\desktop\node_modules\@local\wxmp" -Force
# 3. 重启 DSH

插件只是把 CLI 注册成工具;卸载不会删除 G:\AI PGRM\DSH\wxmp 本身,也不影响已发布的文章。

Comments

Loading…

Similar plugins

dsh-fishpai

by OMSociety

公众号排版工作台,长在 DeepSeek Harness 的右侧栏里。 人在侧栏改字、加批注与占位;模型用块级 diff 看懂你改了什么、想要什么;成品仍由你复制粘贴进公众号编辑器。

Development & InfrastructureManifest valid

★ 5

↓ 328/wk

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add dsh-fishpai

by aiworkskills

一个DeepSeek Harness的公众号运营插件,选题 → 写稿 → 排版 → 配图 → 发布

Workflow & AutomationManifest valid

★ 11

Apache-2.0

TypeScript

Sep 10, 2026

dsh plugin --profile web add @aiworkskills/aws-wechat-article

by xiaoziwenjie-code

微信公众号发布插件 for DeepSeek Harness — 把 Markdown + 封面直推草稿箱,纯 Node 零依赖

Manifest valid

★ 0

MIT

TypeScript

Oct 24, 2026

dsh plugin --profile web add dsh-plugin-wechat-publisher

by jerryjiao

微信公众号 AI 写作插件,跑在 DeepSeek Harness 里:一条命令装上完整写作管线(选题→写作→质量门禁→排版→配图→草稿箱),定时默认只进草稿箱,群发永远人工。MIT 开源。

Workflow & AutomationManifest valid

★ 8

↓ 313/wk

MIT

TypeScript

Aug 28, 2026

dsh plugin --profile web add dsh-wewrite

by tea-whale

DeepSeek Harness (DSH) 写作工具插件:长文工作流、风格控制与 8 套常用写作模板,进度落盘、跨轮次续写。零运行时依赖。

Development & InfrastructureManifest valid

★ 1

MIT

JavaScript

Sep 9, 2026

dsh plugin --profile web add dsh-writing-studio

by yuehancn

WeChat Official Account (公众号) pipeline for DeepSeek Harness: validate a draft against the publish gate, then push it to the draft box.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 26, 2026

dsh plugin --profile web add dsh-tool-gzh-publisher