XCNXNXNX/dsh-portable-tavern
DeepSeek Harness的「便携酒馆」插件:RPG式SillyTavern V2/V3角色卡生成器+酒馆角色扮演聊天。支持世界书、角色卡JSON/PNG导入导出、面板主题与本地音乐。独立插件,仅依赖官方@deepseek-ai SDK。
Project Overview项目介绍
dsh-portable-tavern is a native plugin built exclusively for the DeepSeek Harness (DSH) Web GUI. It adds SillyTavern-style roleplay chat and SillyTavern V2/V3 character card generation functionality directly to your DSH instance. You can install it via the DSH CLI with one of three methods: install the published version from the DSH registry, install directly from the GitHub repository, or add the download URL of the latest release tarball. It follows the standard DSH plugin architecture, with a Node backend that routes requests to DSH’s official LLM service and a frontend that mounts directly in the DSH Web GUI.
The plugin is designed for DSH users who enjoy AI roleplay and regularly work with SillyTavern character cards. After generating a character card through the plugin’s visual RPG property panel with seven different modules, you can start chatting with the character immediately. You can switch between different models easily, and you can even add your own custom OpenAI-compatible API endpoint and API key if you prefer not to use DSH’s default model configuration. All your character cards, chat history, world info, and custom settings are saved automatically to the browser’s local storage, so you can pick up your roleplay any time you restart DSH.
This plugin only depends on the official @deepseek-ai SDK from DeepSeek, so you don’t need to install any extra third-party dependencies to run it on your DSH instance. It is released under the permissive MIT open source license, so you can modify or redistribute it in accordance with the terms of the license. The pre-built lib directory is already committed to the public repository, so you don’t need to run a local build step after installing the plugin. The API keys you add to the plugin are stored only in your local browser, so there is no risk of them being leaked to external services.
这是一个专为DeepSeek Harness(DSH)Web GUI开发的原生插件,整合了SillyTavern风格的角色扮演聊天功能,同时支持可视化生成适配SillyTavern V2/V3版本的角色卡。它遵循标准DSH双面插件架构,Node端注册路由调用官方LLM服务,浏览器端在DSH Web GUI中挂载功能面板与设置入口,可通过DSH插件命令直接安装。
这款插件面向喜欢AI角色扮演、使用SillyTavern角色卡的DSH用户,用户生成角色卡后可以直接和生成的角色聊天,也支持下拉切换不同模型对话,还可以自定义接入自己的OpenAI兼容接口。所有角色卡、对话记录、世界书设定都保存在浏览器本地存储,自动保存恢复,支持一键载入或删除多个本地角色。
本插件仅依赖DeepSeek官方的@deepseek-ai/* SDK,采用MIT许可证开源,代码打包后的lib目录已预先提交至仓库,安装后即可直接使用,无需再次构建。它支持自定义面板宽度、主题色、背景图和本地背景音乐播放,用户填写的API密钥仅保存在本地浏览器,不会上传到任何外部服务器。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-portable-tavern(XCNXNXNX/dsh-portable-tavern)
仓库:https://github.com/XCNXNXNX/dsh-portable-tavern
本站详情页:https://www.yhbd.top/plugins/xcnxnxnx-dsh-portable-tavern/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 24 · 最近提交 2026-10-03 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 更稳。
- 24 stars - an early-stage project星标 24,属于早期项目
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 dsh-portable-tavern
把 XCNXNXNX/dsh-portable-tavern 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
便携酒馆 · dsh-portable-tavern
在 DeepSeek Harness 里开一间属于你自己的酒馆。
捏角色卡、和角色聊天、把喜欢的角色组队,想出门冒险的时候再开一局跑团。 装完就能用,角色和对话保存在你自己的浏览器里。

它能做什么
| 角色卡 | 七个模块可视化捏人,一键生成 SillyTavern V2/V3 角色卡;也能导入别人做好的 JSON 或 PNG 角色卡 |
| 聊天 | 和角色一对一对话,也可以用你自己的 OpenAI 兼容接口;每个角色有独立的对话上下文 |
| 冒险 | 跑团模式:你宣告行动,骰子和判定由系统算,故事由 AI 讲 |
| 队伍 | 1–12 人组队,每个人有自己的形象、属性、提示词,甚至自己的模型接口 |
| 插件 | 六套内置美化主题,还能装社区的酒馆扩展 |
| 设置 | 模型接入、采样温度、外观、本地音乐 |
角色是互通的。 同一张角色卡,可以用来聊天,也可以直接拉进队伍陪你冒险; 队伍成员反过来也能导出成一张标准角色卡。冒险途中随时能切到聊天窗找队友商量对策, 再把商量好的计划带回冒险窗执行。
看看长什么样
队伍 —— 每个人的形象、属性、独立提示词,以及各自的模型接入(可以一桌混用不同 API):

冒险 —— 系统告诉你"至少要掷出多少",把每一栏加成摊开;成败按差值分档,AI 只负责讲:

角色卡 —— 捏好的角色可以直接拉进队伍:

插件 —— 内置玻璃拟态、赛博霓虹、羊皮纸、樱花物语、极简终端、夜曲六套主题:

一句话说清冒险模式
骰子和判定交给系统,故事交给 AI。 你用自己的话宣告行动,AI 推进剧情; 当结果不确定时,系统会算出你至少要掷出多少、把加成一栏栏摊开,你掷骰,系统判成败。 差距多大,AI 就讲得多细:差 1 是"眼看跑掉了又被追回来",差 50 是"逃跑时摔了一跤", 超 1 是"怪物快碰到你了但你还是脱身了"。掉血、中毒、被追击这些后果也由系统结算, AI 只负责描述。
角色卡
- 可视化面板:基础信息、外貌、性格、背景、能力、对话风格、场景七个模块, 填完一键生成完整角色卡。
- 导入 / 导出:SillyTavern V2 / V3 的 JSON,以及 PNG 角色卡(图片里内嵌的
chara数据块)。 - 角色库:本地存多张卡,各自的对话记录一起保存,随时载入。
- 头像:上传图片自动压缩,随角色卡一起导出。
- 世界书:按角色生成、补全,或导入已有的世界书 JSON。
- 工作区自动保存,关掉页面再回来还在。
聊天
- 和角色一对一对话,走 DSH 当前配置的模型,也可以换成你自己的任何 OpenAI 兼容接口(地址 / Key / 模型)。
- 全局系统提示词,类似 SillyTavern 的 System Prompt / Jailbreak。
- 每个角色独立的对话上下文——换个角色聊,不会串台。
队伍
- 1 到 12 人。每个人有自己的头像、定位、独立人设提示词。
- 独立模型接入:跟随全局、指定 DSH 里的某个模型、或者填自己的接口。 所以一桌人可以混着来——旁白用本地模型,队友 A 用 DeepSeek,队友 B 用 Kimi。
- 六维属性(力量 / 敏捷 / 体质 / 智力 / 感知 / 魅力)、技能、生命值、状态。
- 从角色卡一键进队:捏好的角色直接变成队友,属性由角色卡推导,之后还能改。
- 从队友导出角色卡:队伍里的人也能变成一张标准角色卡,拿去聊天或分享。
- 队伍自动保存,也可以存进队伍库、导出成 JSON 分享给别人。
冒险(跑团)
一句话概括:骰子和判定交给系统,故事交给 AI。
- 你用自己的话宣告行动。AI 推进剧情;当结果不确定时,它会说"这里需要判定"。
- 遇到怪物这种事,系统会把选择摆出来给你——正面对抗、拔腿就跑、还是先观察。
- 点一个选项,系统算出你至少要掷出多少,并把算式摊开给你看(基础难度、对手强度、 你的属性调整、技能熟练、状态惩罚)。你掷骰,系统判成败。
- 成败之间分七档,差距多大,AI 就讲得多细:差 1 是"眼看跑掉了又被追回来", 差 50 是"逃跑时摔了一跤",超 1 是"怪物快碰到你了但你还是脱身了"。
- 掉血、中毒、被追击这些后果,也由系统结算,AI 只负责描述。
- 队伍里的每个人都能开口,用的是各自配置的模型。
剧本:开局的前提、基调、本桌约定都可以自己写;写不动就点"让 AI 写", 它会照着你已经写下的想法和你的队伍补完。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
reactive-resume/reactive-resume
ningbainb/deepseek-harness-desktop
elysia395/dsh-wallpaper-engine
PM-Shawn/Abu-Cowork
ChisaAlter/Deepseek-Harness-Desktop
Nwflower/dsh-claude-style
rison114514/dsh-endfield-ui