chen731215-dev/dsh-tavern

插件Plugin ⭐ 14 NOASSERTION other

DSH 原生酒馆管理面板,入口:设置 → 通用设置 → 酒馆管理(原生)。多角色卡/多世界书/多预设,会话级预设隔离;世界书智能关键词注入省 60-70% 上下文;记忆总结 + 角色关系网;剧情选项一键发送;创作/扮演双模式;NSFW 成人模式。免费非商用(CC BY-NC-SA 4.0)。安装:dsh plugin --profile web add dsh-tavern

编辑导读Editor's Brief

## 核心特性
- 该插件在 DSH 中提供 SillyTavern 风格面板,可通过拖放 PNG、JSON 和 preset 文件导入并管理角色卡、世界书和预设。
- 它可分别存储多个预设,并将其绑定到会话,使角色卡、世界书、记忆和关系数据在会话切换时加载。
- 世界书注入支持全文或关键词触发模式:全局条目每次都会注入,基于关键词的角色条目仅在对话文本匹配其关键词时注入。
- 记忆模块可手动或自动总结最近对话轮次,将摘要写入记忆文件,并注入系统提示词。
- 它可以从 AI 回复生成剧情选项按钮、编辑 AI 回复、在总结时提取角色关系,并创建同名 DSH Agent 预设,便于在聊天头部切换。

## 使用场景
- 角色扮演对话:将 SillyTavern 角色卡和世界书导入 DSH,并自动注入聊天,无需手动粘贴设定。
- 按会话区分的预设工作流:不同对话使用独立的角色、世界书、记忆和关系配置。
- 节省上下文的角色扮演配置:使用关键词触发的世界书条目,而不是每轮都注入全部设定。
- 面向成人或 NSFW 的角色扮演配置:结合酒馆预设、成人模式注入和匹配的 DSH Agent 预设。

## 技术细节
- 安装可通过 DSH 插件市场、在 DSH 插件目录中使用 npm 安装,或将本地源码复制到插件目录完成,之后重启 DSH。
- 预设数据存储在 ~/.dsh/.agent-presets/ 下,包括 session-bindings.json 以及每个预设的文件,例如 agent.cordis.ymlcharacters.jsonworldbooks.jsonpresets.jsonmemory.mdrelations.json
- 该插件集成到 DSH 设置中的“设置 → 常规设置 → Tavern Management (Native)”,可将酒馆预设保存到 Harness,以作为 Agent 预设使用。
- 该项目以 CC BY-NC-SA 4.0 许可分发源代码,要求署名、非商业使用,并且衍生作品采用相同许可协议。

## 注意事项
- 该许可禁止商业使用,包括付费下载、广告变现、商业产品集成、外包、与使用挂钩的捐赠,或其他直接或间接营利目的。
- NSFW 或成人模式行为需要同时配置包含成人词条的酒馆预设,并切换到生成的同名 Agent 预设;仅启用开关并不足够。
- 仓库元数据将许可证列为 NOASSERTION,而 README 中说明为 CC BY-NC-SA 4.0,因此用户在再分发前应查看许可协议文件。

## Core Features
- The plugin provides a SillyTavern-style panel in DSH for importing and managing character cards, world books, and presets through drag-and-drop PNG, JSON, and preset files.
- It stores multiple presets separately and binds them to sessions, allowing character cards, world books, memory, and relationship data to load when a session changes.
- World book injection supports full-text or keyword-triggered modes, with global entries injected every time and keyword-based character entries injected only when conversation text matches their keywords.
- The memory module can summarize recent conversation turns manually or automatically, write summaries into memory files, and inject them into system prompts.
- It can generate plot option buttons from AI replies, edit AI replies, extract character relationships during summarization, and create a same-named DSH Agent preset for switching in the chat header.

## Use Cases
- Role-playing conversations where SillyTavern character cards and world books are imported into DSH and injected into chats without manually pasting settings.
- Session-specific preset workflows where different conversations use separate character, world book, memory, and relationship configurations.
- Context-saving role-play setups that use keyword-triggered world book entries instead of injecting all lore every turn.
- Adult or NSFW-oriented role-play configurations that combine tavern presets, adult mode injection, and a matching DSH Agent preset.

## Technical Details
- Installation is performed through the DSH plugin market, npm installation in the DSH plugin directory, or local source copying into the plugin directory, followed by restarting DSH.
- Preset data is stored under ~/.dsh/.agent-presets/, including session-bindings.json and per-preset files such as agent.cordis.yml, characters.json, worldbooks.json, presets.json, memory.md, and relations.json.
- The plugin integrates with DSH settings under Settings → General Settings → Tavern Management (Native) and can save tavern presets to Harness for use as Agent presets.
- The project is distributed as source code under CC BY-NC-SA 4.0, which requires attribution, non-commercial use, and share-alike licensing for derivatives.

## Notes
- The license prohibits commercial use, including paid downloads, advertising monetization, commercial product integration, outsourcing, donations tied to use, or other direct or indirect profit-making purposes.
- NSFW or adult-mode behavior requires both a configured tavern preset containing adult terms and switching to the generated same-named Agent preset; enabling the switch alone is not sufficient.
- The repository metadata lists license as NOASSERTION, while the README states CC BY-NC-SA 4.0, so users should review the license file before redistribution.

安装Install

dsh plugin add dsh-tavern

chen731215-dev/dsh-tavern 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

上一个 Prev dsh-design-skills 下一个 Next dsh-plugin-healthcheck