
Lanxing6480/dsh-galgame
90Last commit Aug 14, 2026
dsh-galgame DSH plugin
This plugin adds a 'galgame mode' tab to the DSH Web GUI chat interface, alongside the existing 'Chat' and 'Trace' tabs. It transforms the conversation into a visual novel style: a character portrait (DeepSeek whale girl) with expression switching, thought bubbles, typewriter text rendering, choice/approval panels, and a history drawer. It is purely visual and does not modify the agent loop or session state.
How to install the dsh-galgame DSH plugin
dsh plugin --profile web add link:H:/Projects/DEEPSE~1/plugins/dsh-galgameCopying does not run this command. Review the repository and version before installing the dsh-galgame DSH plugin.
dsh-galgame DSH plugin data source
dsh-galgame DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-galgame DSH plugin can do
- Registers a new conversation view tab with id 'galgame' and order 20, switchable at any time.
- Displays a character portrait (transparent WebP) with crossfade transitions and bounce animation on each utterance.
- Shows streaming thinking chain in a comic-style thought bubble that can be dragged and auto-scrolled.
- Hides tool calls, thinking chain, and image blocks from the dialogue box, showing only text output.
- Splits text into chunks by newlines (preserving tables, lists, code blocks, quotes), rendered with typewriter effect and Markdown.
- Supports auto-advance mode (default ~0.95s per chunk) and manual click/scroll/arrow key navigation.
- Displays question/approval interactions as GalGame-style choice panels anchored to the portrait, with multi-select support and custom answer input.
- Provides a persistent user input bar that expands with content; sends input as 'steer' during task execution.
- Includes a history drawer showing full dialogue log including streamed content.
- Offers settings panel for auto-advance, typewriter speed, speaking bounce, thought bubble, and debug mode (colored borders for layers).
- Automatically shifts portrait right when choice/approval panels appear, returning to center when dismissed.
- Follows DSH theme/skin (light/dark/default) and custom skin mods for color adaptation.
Where the dsh-galgame DSH plugin fits
- Enhancing the chat experience with a visual novel aesthetic for roleplay or immersive interaction.
- Providing a more engaging interface for story-driven conversations with AI characters.
- Allowing users to switch between standard chat and a gamified mode for variety.
- Demonstrating the extensibility of DSH's conversation view system via a rich UI plugin.
- Serving as a base for further customization (e.g., adding new character expressions or emotion rules).
Who the dsh-galgame DSH plugin is for
- DSH users who want a more visually appealing and interactive chat interface.
- Developers interested in creating custom conversation views using DSH plugin conventions.
dsh-galgame DSH plugin limitations
- Automatic emotion classification for character portraits is not implemented; currently only 'neutral' expression is used, though the interface is prepared for future addition.
- Playback state is only stored in component local state; switching sessions or views resets the reading position, no persistence.
- Character portraits are transparent WebP; original white-background JPGs are only archived in raw/ folder.
- Purely frontend rendering with pending.respond; does not send model requests or block the agent loop.
- Choice and approval panel positions are fixed to defaults; only debug mode allows dragging to adjust.
dsh-galgame DSH plugin: from the repository README
Quoted from the Lanxing6480/dsh-galgame README, the upstream source of the dsh-galgame DSH plugin. Copyright remains with the original authors.
在 DSH Web GUI 的聊天主界面新增一个与「聊天」「轨迹」并列的界面栏——「galgame 模式」。该模式下,DeepSeek 娘(鲸鱼娘)以 GalGame 女主角的形式与你对话:立绘 + 差分接口 + 思考气泡 + 打字机对话框 + 分块阅读 + 提问/审批选项 + 历史回顾 + 调试模式。**纯视觉层**:不写会话、不干预 agent 循环,随时可切回常规聊天。 ## 能力清单(v1.0.0) | 能力 | 说明 | |---|---| | 独立界面栏 | 注册进 `conversation.view`(id `galgame`、order 20),位于「轨迹」右侧,可随时切换 | | 立绘舞台 | 鲸鱼娘立绘(透明底 WebP)+ 差分切换接口(crossfade 120ms),说话每句弹跳一次(弹跳后保持居中) | | 思考气泡 | 流式输出思维链时在立绘旁显示(漫画气泡、可拖拽、自动滚动到底);提问/审批/定稿后自动收起 | | 隐藏幕后 | 对话框只显示文本输出,工具调用 / 思维链 / 图片块全部隐藏 | | 分块阅读 | 按换行分块(表格/列表/代码/引用整块不拆),打字机逐字 + Markdown 渲染,点击/滚轮/◀▶ 翻页 | | 自动模式 | 模型运行中默认自动推进(约 0.95s/块),点击即接管;滚轮切换跳过打字机 | | 提问/审批 | 提问工具与权限申请 → GalGame 风格选项框(以立绘为原点绑定、位置固化、多选全量传递、自定义答案支持 Shift+Enter 换行) | | 用户输入 | 常驻输入条(随内容扩展);任务执行中默认「插话引导(steer)」发送;你的输入整段显示在对话框(名字牌「你」) | | 历史抽屉 | 右上角「历史」按钮展开完整台词回放(含流式内容) | | 设置面板 | 自动翻句 / 打字机速度 / 说话弹跳 / 思考气泡 / 调试模式(各图层彩色边框) | | 立绘位移 | 提问/审批弹出时立绘自动右移给选项让位,恢复后回到居中 | ## 界面预览 配色主题化:跟随 DSH 当前主题/皮肤(默认浅色、默认深色、皮肤 mod 均自动适配)。 | 默认主题 · 浅色 | 默认主题 · 深色 | |---|---| |  |  | | 皮肤 mod(深海女仆工坊 maid-atelier,[Small-tailqwq/dsh-deep-whale](https://github.com/Small-tailqwq/dsh-deep-whale))· 浅色 | |---| |  into the `assets/characters/deepseek/portraits/` directory, and then add corresponding entries in the `portraits` table in `src/client/manifest.ts`. The component already resolves portrait IDs, and the interface is pre-prepared for future emotion rule engine.
Why is the character portrait always showing neutral expression?
Automatic emotion classification is not yet implemented. The current version always uses the 'neutral' portrait for all dialogue. The interface is ready for future additions, and you can manually add more expressions as described in the previous FAQ. We plan to add an emotion rule engine in future versions.
How do I adjust the reading speed or disable auto-advance?
You can open the settings panel (accessible from the galgame mode interface) to adjust the auto-advance speed, typewriter speed, and other options. You can also disable auto-advance entirely by clicking on the dialogue box or using the scroll wheel to manually control the reading pace.