DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Fishpai — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
F

dsh-fishpai

Fishpai

DeepSeek Harness plugin: 鱼排 FishPai — a WeChat Official Account typesetting workbench in the DSH right sidebar, with block-level diffs and annotations a model can read. Rendering core derived from the MIT mopai-markdown.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:OMSociety/dsh-fishpai#520ffed52876085112c25a2030c2a5f20d519f45
READMECompatibilityVersions

Compatibility and provenance

Fishpai is published as dsh-fishpai and currently resolves to version 1.0.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/15/2026

Versions

1.0.0stable
9/15/2026
0.1.0stable
9/15/2026

Related plugins

Loading related plugins…

Latest
1.0.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 2
Weekly downloads
0
Last push
9/15/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsRemote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.

README

鱼排 FishPai

鱼排 FishPai

公众号排版工作台,长在 DeepSeek Harness 的右侧栏里。

人在侧栏改字、加批注与占位;模型用块级 diff 看懂你改了什么、想要什么;成品仍由你复制粘贴进公众号编辑器。

这是什么 • 核心特性 • 效果 • 快速开始 • 模型工具 • 面板快捷键 • 开发 • 许可证

🐟 这是什么

鱼排把 Markdown 排成内联样式 HTML:整段粘进微信公众号编辑器就得到成品排版。

它同时是一个人在回路里的改稿台——面板与模型看的是同一篇文档,谁改了什么一目了然。

渲染内核与主题来自 MoPai 墨排 / mopai-markdown(MIT), 本仓库把同一套管线重构为 DSH 插件。署名与许可链条见 NOTICE.md。

✨ 核心特性

特性说明
⌨Markdown 快捷键选中后 Ctrl/⌘+B 加粗、+I 斜体、+K 链接、+Alt+1/2/3 标题、+Shift+8/7 列表;列表里回车自动续写
🖼图片直接粘进来截图 Ctrl/⌘+V 粘入(也可以拖进来)→ 存到文档同级的 assets/,正文自动插入引用,预览立刻可见
👀实时预览 + 手机宽度打字 300ms 后预览跟着变;栏位够宽左右并排,窄了自动单栏;可切 375px 看公众号真实观感
📝批注与占位光标所在段落加批注(模型下次 fishpai_read 就能看到);正文里写 <!-- 鱼排: 这里补个过渡 --> 也一样;点批注「定位」直接选中它引用的那段
🔀块级 diff 与局部改稿模型只改该改的块,你的其它改动原样保留;写入必须带 base_revision,不符先拒并回带"自你上次写入以来的改动"
🛡冲突不丢字模型与你同时改时给出「用我的覆盖 / 看 AI 的版本」,采用 AI 版会先把你的草稿存进历史
🎨主题与主题色11 套主题,按"是否适合公众号"分组;主题色只对「默认公众号」生效(用不上的取色行会自动隐藏),有风险的主题直接提示原因;另有工作目录级的「自定义主题」(模型可在内置主题上只改几个槽位)
📦复制与导出复制为 text/html + text/plain 双格式;本地图片内嵌 base64,粘过去不用手动重传;也能导出成自包含 .html
🧩五个模型工具fishpai_open / read / write / render / theme,配一份教模型怎么用的技能

📷 效果

鱼排编辑器面板:左侧源码、右侧实时预览复制后粘进公众号编辑器的实际效果
面板截图:左边写 Markdown,右边实时预览;主题、字体、字号、脚注开关都在顶部一行粘贴进公众号后并发布后的实机截图

同一份 HTML 用「导出 HTML」存成文件、在浏览器里打开,看到的就是面板右侧那个样子。

🚀 快速开始

方式一:从 GitHub 装(推荐)

# 1) 先停掉 dsh web(运行中的服务会锁住依赖,装完再起)
dsh plugin --profile web add "github:OMSociety/dsh-fishpai#v1.0.0"
# 2) 重新启动 dsh web

上面的 #v1.0.0 钉在已发布的版本上;想跟进最新就把尾巴换成 #main(最新的排版规则与兼容层都在这里)。

方式二:clone 到本地再装

git clone https://github.com/OMSociety/dsh-fishpai D:\WorkSpace\dsh-fishpai
dsh plugin --profile web add "github:OMSociety/dsh-fishpai"

装好后刷新一下浏览器页面,右侧栏就会多出「鱼排编辑器」入口(官方右侧栏的 + 菜单 / 引导页里也能找到)——只重启宿主不够,客户端产物是页面加载时取的。 本插件零运行时依赖,不受 minimumReleaseAge 影响;客户端产物 lib/client.js 已入库,不需要本地构建。

装完怎么用

  1. 让模型 fishpai_open 打开一篇 Markdown → 右侧栏应自动弹出鱼排并显示正文与预览
  2. 在面板里打字 → 预览跟着变;选中文字按 Ctrl/⌘+B → 变成 **加粗**,Ctrl+Z 能撤销
  3. 截图后 Ctrl/⌘+V → 正文出现 ![](assets/…),预览里能看到图,文档同级多出 assets/ 目录
  4. 光标放在某段上点「+批注」写一句要求,再到正文里写一行 <!-- 鱼排: 这里补个过渡 -->
  5. 让模型 fishpai_read → 它应当说出你改了哪一块、批注要求什么、占位在哪一行
  6. 让模型 fishpai_write(mode: "patch")→ 只有那块变了,你其它改动原样保留
  7. 点「复制到公众号」→ 粘进公众号编辑器,版式正确(标题 / 列表 / 引用 / 表格 / 信息卡片)

🧩 模型工具

工具作用关键参数
fishpai_open打开 / 新建文档,并在右侧栏弹出面板path(可省扩展名,自动补 .md)、markdown(新建时写正文)、theme
fishpai_read改稿前必做:读块级 diff、批注、占位、图片提醒与块 iddoc_key、include
fishpai_write改稿。必须带 base_revision;优先按块改doc_key、base_revision、mode(patch / replace)、patches[{block_id 或 block_index, op, markdown}]
fishpai_render导出可粘贴 / 归档的自包含 HTML(本地图片内嵌 base64)out_path(可省扩展名)、theme、theme_spec(临时自定义主题,不落盘)、publish(false = 预览原样形态)、embed_images
fishpai_theme工作目录级的**「自定义主题」**(一套,set / show / clear):模型在某套内置主题上只覆盖想改的槽位,面板主题列表里就是那一个占位action、theme_spec

模型的标准动作顺序是 open → 等你改 → read → write → 你点复制;技能 fishpai (随插件注册)里写明了这套纪律与排版口径,模型会在需要时自己读。

📋 面板快捷键

快捷键作用快捷键作用
Ctrl/⌘ + B加粗Ctrl/⌘ + Alt + 1/2/3一级 / 二级 / 三级标题
Ctrl/⌘ + I斜体Ctrl/⌘ + Alt + 0正文(去掉标题)
Ctrl/⌘ + E行内代码Ctrl/⌘ + Shift + .引用
Ctrl/⌘ + K链接Ctrl/⌘ + Shift + 8 / + 7无序 / 有序列表
Ctrl/⌘ + Shift + X删除线Tab / Shift + Tab缩进 / 反缩进
Ctrl/⌘ + S保存Ctrl/⌘ + Shift + C复制到公众号
Ctrl/⌘ + V粘贴图片(或拖进来)Ctrl/⌘ + Enter添加批注(在批注框里)

编辑器右上角的「快捷键」按钮里就是这份表(Mac 显示 ⌘、Windows 显示 Ctrl)。

📄 数据放在哪

位置内容说明
你指定的 .md文档正文普通 Markdown,任何编辑器都能改;鱼排不往正文里塞标记
.fishpai/docs/没指定路径时新建的文档fishpai_open 省略 path 就落在这里,按标题命名
<文档同级>/assets/粘贴进来的图片相对路径引用(assets/xxx.png),文档搬走图也跟着走
.fishpai/state/主题、revision、baseline、批注按文档路径哈希命名;删掉会丢批注、历史与「模型上次写入的基线」(正文不动,但模型暂时看不出你改了什么)
.fishpai/history/历史快照(最多 50 份)面板「历史」抽屉里可一键回滚
.fishpai/theme.json「自定义主题」(工作目录级,只有一套)fishpai_theme set 写、clear 删;改坏了静默退回「默认公众号」
.fishpai/.gitignore忽略 state/、history/、theme.json插件自建,只追加缺失的行(你写的改动一字不动);正文与图片是否入库由你自己决定,主题想跟仓库走就用 git add -f

🛠 开发

npm install        # 只有 devDependencies(esbuild / typescript / @types/react / @types/react-dom / @deepseek-ai/cordis)
npm test           # 全量回归:golden + 站点对照 + 块/diff/批注/补丁 + 宿主红线 + 微信兼容层 + 主题规格 + bundle + 快捷键 + 挂载 + 客户端 store 时序
npm run typecheck  # 客户端 TSX 类型检查
npm run build      # 重新打包 lib/client.js(改完客户端必须跑,并提交产物)
npm run check:build  # 确认 lib/ 无漂移

目录与「改东西去哪」:

plugin/index.mjs        宿主入口:注册工具 + /fishpai/api 路由 + fishpai 技能
plugin/core/            渲染内核(ESM,零依赖):runtime / markdown / render / diff / notes / patch / theme-info / theme-spec
plugin/host/            宿主侧:工具契约、HTTP 路由、文档存储、图片、自定义主题
plugin/vendor/          上游 themes.js + markdown-it 14.1.0 + highlight.js 11.9.0 + hljs-map.json
client/                 客户端源码(TSX → esbuild 打成 lib/client.js)
lib/client.js           客户端 bundle(入库;dsh plugin add 不做构建)
skills/fishpai/         鱼排技能:教模型怎么选主题、怎么按块改稿
legacy-site/            上游 SPA 原样留存,便于复核渲染一致性
test/                   golden、站点对照、块/diff/批注/补丁、宿主红线、微信兼容层、主题规格、bundle 形态、快捷键、真实 Cordis 挂载、客户端 store 时序

用微信官方校验器复验(需要本机 Chrome,不进依赖):

git clone --depth 1 https://github.com/wechatjs/verify-article-structure-spec "$env:TEMP\was"
cd "$env:TEMP\was\cli"; $env:PUPPETEER_SKIP_DOWNLOAD='true'; npm install
$env:PUPPETEER_EXECUTABLE_PATH='C:\Program Files\Google\Chrome\Application\chrome.exe'
npx tsx src/index.ts <导出的 article.html> --json    # isValid: true 即通过

⭐ 支持

  • 如果这个插件对你有帮助,欢迎点亮 Star ⭐,有问题和建议请提交 Issue 或 Pull Request。
  • 想改主题或加一套自己的:主题定义集中在 plugin/vendor/themes.js,加完跑 npm run test:golden:regen 重生成 golden

🙏 致谢

  • MoPai 墨排 / mopai-markdown(MIT):渲染管线、主题、以及"复制到公众号"的整套行为都来自这里
  • markdown-it(MIT)与 highlight.js(BSD-3-Clause):随包内嵌的 vendor 资产
  • DeepSeek Harness:插件、右侧栏与技能的宿主

📜 许可证

MIT。上游 mopai-markdown © 2026 ye4wzp;本仓库新增部分 © 2026 OMSociety。