DSH Market
D

Dsh Minigames

by lhh010 · lhh010/dsh-minigames

Build failsBundlegit (build fails)fresh

DSH Web UI 右侧小游戏面板:18 款离线小游戏(恐龙跳一跳 / 俄罗斯方块 / 坦克大战 / 扫雷 / 2048 / 数独 / 吃豆人 / 跟枪练习等),可扩展游戏注册表,等待模型回复或修 bug 时的摸鱼神器

Install Dsh Minigames

Likely fails to load: not on npm, needs a build, and ships no `prepare` script — a git install fetches sources, not built artifacts, so the entry point is never produced.

This install is expected to fail

A git install pulls source, not build output. This package needs a build step, has no prepare script to run it, and is not published to npm — so nothing produces the compiled output the loader then goes looking for.

Three things would fix it, all of them on the author's side: publish the package to npm, add a prepare script that builds on install, or commit the build output to the repository. Until one of those happens, the command below is here so you can reproduce the failure, not so you can install it.

What would be run — expected to install and then fail to load

# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:lhh010/dsh-minigames

# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config

# 3. boot the profile
dsh --profile my-profile

Before you run it

  • A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.
  • Installing from git resolves a moving branch. Pin a commit — github:lhh010/dsh-minigames#<commit-sha> — so the code you reviewed is the code you install.

Prerequisites

API key
Not required.
Network access
Not required at runtime.
Language
TypeScript — a git install pulls this source, not build output.

Install check

Every field the verdict was derived from, so you can re-derive it yourself

Field checkedResultWeightWhat the spec says about it
lifecycleScriptspassinfono install-time scripts
dsh.bundlepassfatalpackage.json declares a `dsh.bundle` layer
dsh.bundle.patch filepassfatalpatch file present at `cordis.patch.yml`
npm registrymissingwarn`@dsh-external/dsh-minigames` is not published to npm
prepare scriptmissingfatalneeds a build but ships no `prepare` script — a git install fetches sources, not built artifacts
Verdict reason
git-only + needs build + no prepare script
package.json read
package.json
Rules applied from
docs/user/develop/basic/publish.md
Checked at
2026-08-15

From the README

Excerpt as published by the author, plain text, unedited

**简体中文** | [English](./README.en.md) DSH Web UI 右侧小游戏面板:等待模型回复或修 bug 时的摸鱼神器。 - **折叠态**:浏览器右缘一条小竖条(🎮),不占空间。 - **展开态**:点击后占据窗口**右半部分**(默认 50vw,可拖左缘调整 360px–80vw), 面板内自由选择游戏。 - **游戏**(全部离线、零资源文件、Canvas 绘制): 1. 🦖 **恐龙跳一跳** —— Chrome 经典小恐龙(昼夜/雨天); 2. 🧱 **俄罗斯方块** —— 经典下落消除; 3. 🛡️ **坦克大战(带 AI)** —— 2D 坦克对战,敌军追踪 + 视线开火,共 3 波; 4. 💎 **消消乐** —— 点击消除四连通同色块,目标分过关、逐关递增; 5. 🔢 **华容道** —— 16 格数字华容道(15-puzzle),滑动方块按序排列,用时越短分越高; 6. 🐍 **贪吃蛇** —— 经典贪吃蛇,穿越边界会从对侧出现(环面地图); 7. 🔢 **2048** —— 方向键滑动合并数字,合成 2048 即达成; 8. 💣 **扫雷** —— 左键翻开、右键标旗、双击数字自动展开周围; 9. 🃏 **记忆翻牌** —— 翻开两张配对,步数越少分越高; 10. ⚫ **五子棋 vs AI** —— 15×15,AI 会进攻也会堵你; 11. 🦘 **跳一跳** —— 按住蓄力、松开起跳,落点越准加分越多; 12. 🧱 **打砖块** —— 移动挡板反弹小球,清完进入下一关、球速递增; 13. 🔨 **打地鼠** —— 30 秒限时点击打地鼠,命中 +1、打空 -1; 14. ⚫ **黑白棋 vs AI** —— 8×8 奥赛罗,角最重要,无棋可下自动让位; 15. 🐦 **Flappy**

Topics

GitHub topics on this repository

More in Bug Vibe Feedback

Ranked by similarity inside the cluster, not alphabetically