All plugins

DSH / BUNDLE / CLIENT-UI

dsh-chess-board

v0.1.0tomandpotato / dsh-chess-board235bfb06a6

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

dsh-chess-board

Play chess inside DSH: a right-Sidebar tab with full rules (castling, en passant, promotion, checkmate/stalemate), a built-in opponent, and lichess cloud evaluation, game review and puzzles.

README / EN

Package documentation

Registry summary

Play chess inside DSH: a right-Sidebar tab with full rules (castling, en passant, promotion, checkmate/stalemate), a built-in opponent, and lichess cloud evaluation, game review and puzzles.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- 对手是普通搜索 + 失误率(最高档 4 层),不是强引擎;**八档编号与 lichess 一致,但引擎不是 Stockfish**。 - **真人实时对局未实现**:lichess 的 Board API 只允许 BOT 账号自动走子。与**引擎**的对局可以在面板里下完; 与真人对局只能点开 lichess 网页去打。 - **对局状态已是推送,但一条连接只跟一盘棋**:`boardStream` 每个订阅各开一条 lichess 流; 页面关闭 / 切走时靠 `request.signal` 连带取消上游。文档页签不订阅(只有存在 lichess 对局时才订阅)。 - **`boardState` 仍在,但只用于"拉一次"**:建局后的首次同步与手动 Refresh 用它;持续更新走流。 - lichess 的**开局数据库**(`explorer.lichess.ovh`)在本机被一个需要鉴权的代理拦下(401), 所以没有接入开局统计;残局库(`tablebase.lichess.ovh`)、云端评估与对局导入都不受影响。 - token 只在宿主内存中,DSH 重启后需要重新贴一次。 - 无重复局面/子力不足自动判和(只实现了五十步)。 - 插件不向 agent 暴露工具:棋盘状态在页面内,不由会话日志派生。 - **只有中英两种语言**,且语言表在客户端 bundle 里;第三种语言要重新构建 bundle(目前 240 余条文案)。 - **设置存在页面的 `localStorage` 里**,所以它是"这个界面"的偏好,不随 DSH 的 profile 同步到别的机器。