omdsh-dev/7d7d
Project Overview项目介绍
7d7d is a native game portal plugin built exclusively for DeepSeek Harness (DSH), modeled after the classic mini-game portal design of 7k7k and 4399. It adds a dedicated 7D7D tab to the DSH Web UI’s session bar right after the existing chat and Trajectory tabs, and clicking the tab opens the full game portal directly within the conversation column. The plugin hosts the game library on the same origin as DSH’s main server, automatically scans the game directory to generate a portal list whenever new games are added by users or models, and works with any DSH access method including loopback, LAN, and reverse proxy.
It includes a built-in community game sync feature that automatically pulls community-submitted games from the plugin’s repository to the user’s local portal on first launch. Users can also manually trigger a sync via the portal UI to get new games added after the initial installation, and developers can contribute their own original games by submitting a pull request to the repository. It also ships with a dedicated skill that lets DSH models generate new conformant single-file HTML5 mini-games, and supports Flash game playback via a fixed, checksum-verified self-hosted Ruffle emulator.
The plugin requires Node.js 22 or newer and pnpm as the package manager, and must be installed on a DSH Web Profile that includes the matching version of @deepseek-ai/dsh-web-app@0.1.0-rc.6. Installation can be done by merging the content of cordis.patch.yml to your profile or adding an entry to dsh.plugin.json, then restarting the DSH web service to activate the plugin. All games run in a sandbox iframe without the allow-same-origin permission to protect DSH’s core API from unauthorized access, and the full project is open-sourced under the MIT license.
7d7d是专为DeepSeek Harness(DSH)打造的原生游戏门户插件,参考7k7k/4399的小游戏门户形态,会在DSH Web UI的会话标签栏新增7D7D入口,点击即可在对话列内打开游戏门户。它支持同源托管游戏库,模型或用户添加游戏后会实时扫描生成门户清单,无需额外注册流程,任何GUI访问方式都能正常游玩。
它自带社区游戏同步功能,插件启动时会自动同步本仓库内的社区游戏到本地门户,用户也可手动触发同步操作,其他开发者可通过提交PR向公共社区投稿游戏。同时自带游戏生成技能,DeepSeek模型可按规范生成单文件HTML5小游戏,也支持上传和播放Flash游戏,使用固定版本、经过摘要校验的同源Ruffle模拟器。
项目依赖Node.js≥22和pnpm,需要安装在包含对应版本DSH Web应用的Web Profile上,可通过修改cordis.patch.yml或添加dsh.plugin.json清单完成安装。首次运行会自动复制9款示例种子游戏,所有游戏运行在隔离iframe中保证DSH核心API安全,项目开源遵循MIT许可。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:7d7d(omdsh-dev/7d7d)
仓库:https://github.com/omdsh-dev/7d7d
本站详情页:https://www.yhbd.top/plugins/omdsh-dev-7d7d/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-14 · 主语言 HTML
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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:omdsh-dev/7d7d
把 omdsh-dev/7d7d 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
7d7d —— 7k7k 风格的 DSH 游戏门户
让 DeepSeek Harness 变成一个游戏机:模型生成/上传 HTML5 与 Flash 小游戏, 在 DSH Web UI 里直接打开门户游玩。Flash 使用固定版本、摘要校验的同源 Ruffle。
这是什么
7d7d 是 DeepSeek Harness 的外部插件,参考 7k7k/4399 的门户形态:
- 前端原生入口:会话标签栏 chat / Trajectory 之后出现 7D7D 标签,点击即在对话列内打开游戏门户;
- 游戏库托管:DSH 主服务器
/7d7d前缀同源托管,实时扫描games/目录生成门户清单——模型或用户往库里丢一个文件夹,门户立刻上架,零注册流程;任何 GUI 访问方式(loopback / LAN / 代理)都能玩; - 社区游戏:别人通过 PR 提交到仓库
community-games/的游戏,启动时自动同步进你的门户(也可手动「⇅ 社区同步」),带「社区」徽标; - Flash 播放页:
.swf游戏只允许同源自托管的 Ruffle,不在运行时加载第三方脚本; - 游戏生成:自带
skills/7d7d技能,模型按规范批量产出单文件 H5 游戏; - 安全边界:游戏与 GUI 同源,但跑在不含
allow-same-origin的 sandbox iframe(不透明 origin)里——游戏触不到 DSH 的/api桥接(同源 fetch 被 CORS 拦,带 trust fence 的/api也拒绝跨站请求)。
快速开始
前置:Node ≥ 22、pnpm。开发依赖使用 npm 上与 DSH next 通道匹配的精确版本;
运行时仍由宿主提供相同兼容范围内的 peer dependencies。
# 1. 克隆仓库
git clone https://github.com/omdsh-dev/7d7d.git
cd 7d7d
# 2. 从公共 npm registry 安装锁定依赖;不读取本机 npm 凭据
NPM_CONFIG_USERCONFIG=/dev/null pnpm install --frozen-lockfile --ignore-scripts
# 3. 构建(产出 lib/index.js + lib/client.js)
pnpm build
# 4. (可选)安装固定版本、自托管的 Ruffle(仅 Flash 游戏需要)
pnpm fetch:ruffle
仓库不复制 DSH 实现源码,也不依赖固定的本机目录。开发依赖从公共 npm registry
匿名读取,CI 不需要 GitHub 或 npm 认证。类型检查直接使用精确 RC.6 包校验真实接口;运行时实现由宿主注入。本项目保留
private: true,发布物通过 Git source 安装,不承诺将本插件发布为公共 npm 包。
装进 DSH
7d7d 是 Web UI 扩展,必须装在包含精确
@deepseek-ai/dsh-web-app@0.1.0-rc.6 的 Web Profile 上;裸 Profile 不提供它依赖的
webServer 和客户端插槽服务。把 cordis.patch.yml 的内容并入该 Web Profile 层,或使用
dsh.plugin.json 清单安装:
- insert:
- id: 7d7d
name: '@mattheliu/7d7d'
重启 dsh web 后,打开任意会话,标签栏出现 7D7D 标签(chat / Trajectory 之后)。首次运行会把 seed-games/ 里的 9 款示例游戏拷进 ~/.dsh/7d7d/games/,并自动从社区目录同步游戏。
让模型造游戏
把 skills/7d7d/SKILL.md 放进 DSH 的 skills 目录(或按你的技能管理方式启用),然后:
用 7d7d 做一款「太空射击」小游戏
模型会按规范写出 ~/.dsh/7d7d/games/<slug>/(game.json + index.html),打开门户即可玩。想批量产出(K399 式游戏节),用 DSH 的 workflow/子代理扇出即可——每个子代理写一款,写完即上架。
游戏目录规范
~/.dsh/7d7d/games/
└── <slug>/ # 目录名 = 稳定标识
├── game.json # 元数据(必填)
├── index.html # html5 游戏入口(缺省)
├── game.swf # flash 游戏(type: "flash" 时)
├── cover.png # 可选封面
└── … # 其他资源(相对路径引用)
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Ayase34/gal-view
Jimmy0123-ux/dsh-token-pet
lhh010/dsh-ui-whale
JAdpp/dsh-whale-galgame
A8Chann/dsh-pet-live2d
TFboy1/dsh-minecraft-ui
Yuuhann1999/dsh-bloub-mood
mengyun233/dsh-codex-pet