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.

Muv Engine — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-muv-engine

Muv Engine

DSH native MUV engine — regex scripts, status bar cascading (any field/action option), variable tracking, LaTeX, macro expansion, tag CSS, visual code block rendering (letter/terminal/newspaper/phone), built-in diag.mjs diagnostic tool. Must be installed together with the companion plugin dsh-muv-ta

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

npx -y @deepseek-ai/dsh plugin --profile web add github:chen731215-dev/dsh-muv-engine#47244dce636c8fe87171525389ecace037d2d2fa
READMECompatibilityVersions

Description

DSH native MUV engine — regex scripts, status bar cascading (any field/action option), variable tracking, LaTeX, macro expansion, tag CSS, visual code block rendering (letter/terminal/newspaper/phone), built-in diag.mjs diagnostic tool. Must be installed together with the companion plugin dsh-muv-table

Compatibility and provenance

Muv Engine is published as dsh-muv-engine and currently resolves to version 0.3.9. 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/20/2026

Versions

0.3.9stable
9/20/2026
0.3.8stable
9/19/2026
0.3.7stable
9/19/2026
Show 10 more versionsCollapse versions
0.3.6stable
9/19/2026
0.3.5stable
9/19/2026
0.3.4stable
9/19/2026
0.3.3stable
9/12/2026
0.3.2stable
9/12/2026
0.3.1stable
8/31/2026
0.3.0stable
8/31/2026
0.2.1stable
8/28/2026
0.2.0stable
8/28/2026
0.1.0stable
8/27/2026

Related plugins

Loading related plugins…

Latest
0.3.9
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
PolyForm-Noncommercial-Copyleft-1.0.0
Source
github
GitHub
★ 1
Weekly downloads
1,546
Last push
9/20/2026
View source ↗Project homepage ↗
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 developer-tools.

Better Sidebardsh-better-sidebarDSH web plugin: a VSCode-like right sidebar (explorer / editor / terminal / git / browser), isolated per conversation session. Exposes a service for other plugins to register sidebar tabs and file viewers.Find Plugindsh-find-pluginFind DeepSeek Harness plugins inside the agent — live GitHub dsh-plugin topic search, ranked by stars.DSCODE@toddzheng024/dscode-bundleA complete DeepSeek coding agent with persistent shell, Ultra collaboration and automatic permission review.Plugindsh-pluginA community plugin marketplace for DeepSeek Harness, built to the official plugin spec — browse, search and install 9000+ human-curated community plugins without leaving the app. · DeepSeek Harness 社区插件市场(遵循官方开发规范):9000+ 人工精选社区插件,每日更新。

README

⚙️ dsh-muv-engine

DSH 原生 MUV 引擎 —— 酒馆伴生插件。

🔗 依赖 dsh-muv-table,配合 dsh-tavern-v2 使用。

🆕 v0.3.4 更新内容

本次是一个大修版,修的都是「不报错但结果不对」的静默失败;同时新增了诊断工具。

状态栏渲染

  • 行动选项不再整段消失:三级解析器(yaml / free / loose)对选项标记的支持范围 不一致,导致 A. B. C. 这种最常用的写法被静默丢弃。现在统一支持 A. A、 1. 1、 - • 以及无前缀的裸选项。
  • 支持任意字段:以前只认 名字/行动/内心/衣着 四个字段,卡片实际给出的 穿搭/小穴/胸部/肛门/阳具/最近性行为 等全部丢失。现在按 标签: "值" 通用提取, 卡片写什么就渲染什么。
  • 条目不再要求从行首开始:用户列表: - 用户: 名字: "…" 这种带前缀的写法以前会 导致整条角色丢失,只剩一个头部条。
  • 选项标题兼容英文 Options / Choices / Actions / Select;兼容 ## 行动选项 这类 markdown 装饰;章节标签不再重复渲染;选项挤在一行时也能正确拆分。

消息渲染

  • 修复插画不显示、原始标签糊满屏幕:取角色卡时只用 sessionId 定位,三种兜底 全落空时会拿到别人的卡,于是卡里的正则全部静默不执行——<img> 不被替换、 隐藏块不生效。现在优先使用酒馆界面上的当前预设。
  • 纯 <choices> 回复(没有状态栏、只有剧情+选项)以前会被入口闸门跳过,现在能渲染。
  • 变量块:识别 <VariableInsert> / <VariableEdit> / <VariableThink> / <Abstract>, 收进折叠卡片而不是把 JSON 糊在屏幕上。
  • 消息定位改用形状匹配 + 块级子节点判定,不再依赖会随 DSH 重建变化的 CSS Modules 哈希,也不会误伤同名的文件类型图标。

新增诊断工具 diag.mjs

一条命令查完:服务器是否加载了新代码、每个预设绑的哪张卡、SillyTavern PNG 卡库、 实时 API 返回,还能把一段消息过一遍渲染管线(报用了哪张卡、正则是否命中、 有无残留标签、外链图片是否可达)。

node diag.mjs                 # 全量体检
node diag.mjs --tests         # 附带跑回归
node diag.mjs --preset <id> --msg-file msg.txt   # 测一条消息

回归测试从 46 项增至 84 项(node test-status-cascade.mjs)。

是什么

替代 MagVarUpdate 的 DSH 原生实现,v0.3.0 起融合了 dsh-visual-render:

🎮 变量与状态

  • 正则引擎:执行角色卡 regex_scripts,实时替换 LLM 输出
  • 变量追踪:跨对话轮次追踪变量状态,自动提取 <UpdateVariable> 块
  • 状态栏渲染:提取 <StatusPlaceHolderImpl/> 的 HTML,iframe 沙箱渲染

🎲 宏展开

聊天输入框内直接写宏,按 Enter 自动展开后发送给 AI:

{[random::去酒楼::去坊市::去洞府]}     → 每次随机选一个
{[pick::宝箱::灵石x50::剑谱::丹药]}    → 固定结果,缓存为「宝箱」
{[roll::2d6+3]}                       → 掷 2d6 加 3 调整值
  • 支持调整值:{[roll::1d20+5]}、{[roll::3d6-1]}
  • pick 缓存可用 _tavernRerollPick('key') 重抽(浏览器控制台)
  • 控制台调试:_tavernExpandMacros('...') / _tavernListPicks()

🏷️ 标签渲染

AI 输出自动美化(_tavernRenderTags 钩子),支持转义形态(&lt;标签&gt;):

标签效果
<speech>斜体灰色对白
<action>绿色斜体动作
<thought> / <thinking>紫色斜体内心
<char> / <character>金色粗体角色名
<dialogue>蓝色左边框
<赏令接取> ~ <自由开局>独立配色游戏卡片(金/紫/青/蓝/青绿/橙)
<Drama>暗红渐变戏剧卡片(含 .mys 内容区样式)
<choices>选项按钮(按行解析,支持 A、/1./•/无前缀)
<style>自动剥离(世界书模板 CSS 不展示)
<inventory> / <背包> / <skill>折叠列表卡片
<quote> / <引用>引用块

🖼️ visual 代码块渲染(融合 dsh-visual-render)

聊天里 ```visual 代码块自动渲染为沙箱 HTML 界面:

  • 信纸 / 终端 / 报纸 / 手机 / 浏览器组件
  • options 代码块 → 可点击剧情选项按钮
  • aside 代码块 → 淡色旁白
  • scene 代码块 → 场景标题卡
  • iframe sandbox 隔离,安全运行

🌠 LaTeX 渲染

\(...\) 公式自动渲染(含 array/fcolorbox/colorbox/textcolor/rule 等)。

安装

dsh plugin --profile web add dsh-muv-engine

API 端点

端点方法功能
/api/muv-engine/expand-macrosPOST服务端展开宏(random/pick/roll)
/api/muv-engine/reroll-pickPOST清除 pick 缓存
/api/muv-engine/apply-regexPOST对文本执行正则脚本
/api/muv-engine/apply-regex-cardPOST从卡片 JSON 执行正则
/api/muv-engine/stateGET/POST获取/更新变量状态
/api/muv-engine/extractPOST提取 <initvar> 并生成 MUV 块
/api/muv-engine/generatePOST编辑后生成 MUV 块
/api/muv-engine/status-barPOST提取状态栏 HTML

协议

PolyForm-Noncommercial-Copyleft-1.0.0 — 详见 LICENSE