Lanxing6480/dsh-galgame 预览 preview

Lanxing6480/dsh-galgame

Plugin插件 Native原生 ⭐ 19 NOASSERTION UI & Themes界面与主题

在 DSH Web GUI 的聊天主界面新增一个与「聊天」「轨迹」并列的界面栏——「galgame 模式」。该模式下,DeepSeek 娘(鲸鱼娘)以 GalGame 女主角的形式与你对话:立绘 + 差分接口 + 思考气泡 + 打字机对话框 + 分块阅读 + 提问/审批选项 + 历史回顾 + 调试模式。纯视觉层:不写会话、不干预 agent 循环,随时可切回常规聊天。

catalog descriptioncatalog 简介 / catalog description:我要成为Galgame高手!!将你的Vibe coding界面修改成为Galgame的样子,在不影响工作的情况下和赏心悦目的DeepSeek娘进行友好互动

Project Overview项目介绍

This repository is a native UI plugin built exclusively for DeepSeek Harness (DSH), following DSH's plugin specification and including a dedicated DSH bundle manifest. It adds a new "galgame mode" tab to the main chat interface of DSH's web GUI, placed alongside the default "Chat" and "History" tabs. In this mode, DeepSeek's Whale Girl character interacts with users just like a GalGame heroine, offering character sprites, thinking bubbles, a typewriter-style dialog box, chunked reading and other immersive features. It only modifies the visual layer, does not interfere with the agent's conversation loop, and can be switched back to normal chat at any time.

After installation and activation, users can enter galgame mode from the top tab bar of the main chat interface. The plugin automatically adapts to the current DSH theme color scheme, including default light, default dark, and third-party custom skin mods. By default, the mode automatically advances text chunk by chunk at an interval of about 0.95 seconds per chunk, but users can take over control at any time by clicking or scrolling to flip pages. It supports many custom settings like automatic position shifting for approval popups, full line history playback, and adjustable typewriter speed, making it ideal for users who prefer anime-style immersive conversation experiences.

The plugin's code is released under the MIT license, while the character sprite assets are derivative works released under the CC BY-NC-SA 4.0 license, which prohibits any commercial use. Currently, automatic emotion-based sprite switching is not yet implemented, and playback state is only stored locally in the component, so it will be rebuilt from the session snapshot after switching sessions and does not persist performance state. To install the plugin, you first need to build dependencies with pnpm, then install via either local link or the official npm registry, and you must restart DSH Web and refresh your browser before the plugin becomes available.

Lanxing6480/dsh-galgame 是专为 DeepSeek Harness (DSH) 开发的原生界面插件,遵循 DSH 插件开发规范,带有 DSH 专属的 bundle 清单文件。它会在 DSH Web 图形界面的聊天主界面新增一个与「聊天」「轨迹」并列的「galgame 模式」界面栏。该模式下,DeepSeek 鲸鱼娘以美少女游戏女主角的形式和用户对话,支持立绘差分、思考气泡、打字机对话框、分块阅读等功能,且属于纯视觉层改造,不干预代理会话循环,可随时切回常规聊天模式。

安装启用后,用户可从聊天主界面顶部标签栏进入 galgame 模式,插件会自动适配当前 DSH 的主题配色,包括默认浅色、深色和第三方皮肤 mod。模式默认自动逐块推进文本,每块间隔约 0.95 秒,用户也可以点击或滚轮翻页,随时接管控制。插件支持提问审批弹窗自动让出位置、历史台词回放、打字机速度等多项自定义设置,适合喜欢二次元风格、想要获得更有沉浸感的 DSH 对话体验的用户。

本插件代码采用 MIT 许可开放,立绘素材为衍生创作,采用 CC BY-NC-SA 4.0 许可,禁止任何商业使用。目前暂不支持自动情绪差分分类,播放状态仅保存在组件局部,切换会话后会重新从快照构建,不持久化演出位置。安装需要 pnpm 构建依赖,可通过本地 link 或 npm 官方源安装,完成后需要重启 DSH Web 并刷新浏览器才可使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 19 stars - an early-stage project星标 19,属于早期项目
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 github:Lanxing6480/dsh-galgame

把 Lanxing6480/dsh-galgame 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-galgame · GalGame 模式界面插件

简介

在 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)· 浅色
皮肤浅色

致谢:本插件的女仆鲸鱼娘立绘素材取自 dsh-deep-whale 皮肤(作者 Small-tailqwq),完整署名链见下方「素材来源与许可」。

形态与架构

  • 形态:树外 npm 包(@lanxing/dsh-galgame,link 安装到 web profile)
  • 平台:Host(立绘静态资源路由)+ Client(conversation.view 注册 + GalGame UI)
  • 架构(详见 DESIGN.md):
ConversationSnapshot (useSession 只读)
  → GalgameAdapter(纯函数:过滤工具/思维链、按换行分块)
  → 演出状态(分块/打字机/自动模式/翻页)
  → Stage(立绘+气泡+浮层插槽)/ DialogueBox / ChoicePanel / ApprovalPanel / Backlog
  • 关键契约:conversation.view keyed slot(id/order/label/inject)、s.pending(question/approval 交互)、ctx.webServer prefix 路由、session.prompt(..., 'steer') 插话引导

使用方式

  1. 构建:pnpm install && pnpm build(在 plugins/dsh-galgame/ 目录)。
  2. 安装(本地 link):dsh plugin --profile web add link:H:/Projects/DEEPSE~1/plugins/dsh-galgame;或从 npm:dsh plugin --profile web add @lanxing/dsh-galgame。
  3. 重启 DSH Web(dsh web)后刷新浏览器。
  4. 用户操作入口:聊天主界面顶部标签栏 →「galgame 模式」。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-hdc-bridge 下一个 Next dsh-deepseek-usage-panel →