yejiming/dsh-museai-tavern
MuseAI的DeepSeek Harness插件,可以将你的MuseAI角色放进DSH使用啦!
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH). It adds a new MuseAI tab to the right of the existing "Track" tab in DSH’s Web GUI conversation tab bar, integrating all five core MuseAI pages (background, chat, adventure, bond, settings) directly into the DSH interface. Registered to the conversation.view slot at order 15, the plugin reuses DSH’s already configured LLM models, eliminating the need for users to add extra API endpoints or authentication keys for any functionality. It leverages DSH’s native plugin system to register all UI components and backend services seamlessly.
After installation, users can see the new MuseAI tab as soon as they open any DSH conversation. The standard workflow starts with confirming the model selection on the settings page: by default it uses DSH’s default model, but users can also select any other already configured model from DSH’s list. Next, users create world books and character cards on the background page, then can start chatting with characters on the chat page, run text-based TTRPG campaigns on the adventure page, and view character relationship timelines on the bond page. This plugin is intended for users who enjoy AI roleplay and text adventure games, and want to access these features directly within DSH.
This plugin requires that at least one LLM model is already configured in DSH; if not, the settings page will show an empty prompt and any chat or adventure requests will return an error message. There are two supported installation methods: installing via npm, or installing directly from the GitHub source code. Neither method requires local building because the compiled build artifacts are already committed to the repository. All user data, including world books, character cards, sessions, and custom settings, is persisted to DSH’s storage directory, so no data is lost after a restart. The project is open source under the MIT license, and users can customize configuration options like request timeouts.
这是一个专门为 DeepSeek Harness(DSH)开发的原生插件,会在 DSH Web 界面的会话标签栏「轨迹」右侧新增一个「MuseAI」标签,把 MuseAI 的背景、聊天、冒险、羁绊、设置五个页面完整整合进 DSH 界面。它注册在 conversation.view 插槽,排序 15,刚好位于排序 10 的「轨迹」标签右侧。该插件复用 DSH 中已配置的模型调用,不需要用户额外配置 API 地址或密钥,所有功能通过 DSH 的原生插件机制实现。
安装完成后,用户打开任意 DSH 会话就能在标签栏看到新增的 MuseAI 标签。使用流程一般是先进入设置页确认模型(默认跟随 DSH 默认模型,也可从已配置模型列表中选择),接着在背景页创建世界书和角色卡,之后就可以在聊天页和角色对谈、在冒险页进行文字跑团、在羁绊页查看角色关系。该插件面向喜欢 AI 角色扮演和文字冒险,希望在 DSH 中直接使用该类功能的用户。
该插件要求 DSH 中已经配置至少一个可用模型,否则设置页会显示空提示,聊天和冒险请求会返回错误。它支持 npm 安装和 GitHub 源码安装两种方式,都不需要本地构建,因为构建产物已经提交到仓库。所有用户数据(世界书、角色卡、会话、设置等)都会持久化存储到 DSH 的存储目录,重启后不会丢失,项目以 MIT 许可证开源,支持自定义超时等配置参数。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-museai-tavern(yejiming/dsh-museai-tavern)
仓库:https://github.com/yejiming/dsh-museai-tavern
本站详情页:https://www.yhbd.top/plugins/yejiming-dsh-museai-tavern/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 23 · 最近提交 2026-09-30 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 23 stars - an early-stage project星标 23,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add @yejiming/dsh-museai-tavern
把 yejiming/dsh-museai-tavern 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
MuseAI Tavern · DeepSeek Harness 的 MuseAI 标签
English | 中文
在 DeepSeek Harness 的会话标签栏「轨迹」右侧,新增一个 MuseAI 标签,把 MuseAI 桌面的五个页面(背景 / 聊天 / 冒险 / 羁绊 / 设置)搬进 DSH Web GUI,并让所有模型调用复用 DSH 已配置的模型 —— 不需要任何额外的 API / 密钥配置。

主要功能
- MuseAI 会话视图标签:注册于
conversation.view插槽(order 15,位于「轨迹」order 10 右侧),点击后整个会话面板渲染 MuseAI 视图;标签内五页导航(背景/聊天/冒险/羁绊/设置)。 - 背景页(不含 AI 智能提取世界书/角色卡):世界书 / 角色卡手动管理(自定义字段、按世界书分组的角色卡目录)、JSON 导入导出、MuseAI / SillyTavern 双格式导出与 SillyTavern 转换预览、文风预设、记忆 AI 浓缩、删除世界书(仅删/连带删)。
- 聊天页:伴侣对谈。绑定世界书 + 角色卡,流式对话(Markdown + Thinking 折叠 + 停止生成)、会话历史/标题编辑、文风预设、封存记忆、上下文用量圆环。
- 冒险页:文字冒险 / GM 跑团。世界书 + 多角色卡选择(勾选世界书自动带出角色卡)、动态角色加载、三种输入模式、流式故事 +
[[TOOL]]特殊气泡 +<choices>候选选项、多角色卡封存记忆、会话保存。 - 羁绊页:角色关系概览、羁绊时间线、关联的聊天/冒险会话展示。
- 设置页:全部系统提示词(逐字复制 MuseAI 默认值,可编辑/重置)与 Agent 采样参数(temperature / maxOutputTokens / maxContextTokens / thinkingDepth 等);模型区域为「DSH 模型选择」:跟随 DSH 默认模型,或从 DSH 已配置的 provider/model 目录中挑选,无任何 baseUrl / API Key / 连接测试。
- 持久化:数据(世界书、角色卡、会话、设置、风格预设)经插件服务端存储域落盘
$DSH_HOME/storages/museai.json(storage-domain json backend),浏览器 localStorage 仅作离线镜像;重启不丢。
快速安装
要求 DeepSeek Harness >=0.2.0-rc.1(包括 0.2.0-rc.2)。可用
dsh --version 检查本机版本;旧的 0.1.x 不再支持。
支持两种安装方式,均无需本地构建(构建产物 lib/ 已提交进仓库,且不设
prepare/prepack 脚本)。
方式一:npm 安装(推荐)
# 从 npm 安装(首次使用会初始化该 profile)
dsh plugin --profile web add @yejiming/dsh-museai-tavern
方式二:GitHub 源码安装
# 从 GitHub 源码安装(仓库已提交构建产物 lib/,安装时无需构建)
dsh plugin --profile web add github:yejiming/dsh-museai-tavern
安装后验证:
dsh --profile web --dump-config # 输出中应出现 museai 与 museai-routes 行
启动 Web GUI:
dsh --profile web
在 Web GUI 中:打开任意会话 → 标签栏「轨迹」右侧出现 MuseAI → 先到「设置」页确认模型(默认跟随 DSH 默认模型,或从目录中选择)→ 在「背景」页创建世界书/角色卡 → 「聊天」页与角色对话、「冒险」页跑团、「羁绊」页查看关系。
模型前提:DSH 中需已配置至少一个模型(provider/model),否则设置页显示空态引导,聊天/冒险请求返回错误提示。
架构
浏览器 (apps/web) 宿主进程 (dsh --profile web)
┌─────────────────────────────┐ ┌──────────────────────────────────────┐
│ MuseAI 会话视图 (conversation│ fetch │ @yejiming/dsh-museai-tavern (宿主行) │
│ .view, order 15) │ ───────▶ │ · museaiStore 服务(存储域/内存) │
│ · 背景 / 聊天 / 冒险 / 羁绊 │ │ @yejiming/dsh-museai-tavern/routes │
│ · 设置(DSH 模型选择器) │ │ · /plugins/museai/models|chat| │
│ · zustand + syncStorage │ │ complete|store/*|sessions/* │
└─────────────────────────────┘ └──────────────┬───────────────────────┘
│ ctx.llm(DSH 模型)
▼
DeepSeek / 其他已配置适配器
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
titanwings/distilly
YuJunZhiXue/dsh-purge
Clearailhc/clearai-dsh
yejiming/MuseAI
superdesigndev/superdesign-skill
Miaotofu01/Study-Mate