lpeixin/dsh-xiangqi-mate ↗★ 1

dsh-xiangqi-mate

提供人机对弈的中国象棋助手 适合想在 DSH 侧边栏与本地或 AI 模型进行象棋对弈娱乐的用户。

包名
dsh-xiangqi-mate
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年10月7日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lpeixin/dsh-xiangqi-mate

Configuration

Edit your profile's cordis.patch.yml. A patch replaces the whole config, it does not merge — restate every key you want to keep.

- id: xiangqi
  config:
    opponent:
      mode: model          # model | local
      timeoutMs: 60000
      maxRetries: 2
      maxTokensPerMove: 256
      maxTokensPerGame: 20000
    local:
      depth: 4
      timeMs: 300
    rules:
      fiftyMovePlies: 120
      perpetualCheckLoses: true
    ui:
      showCoordinates: true
      showEval: false
      animation: true
      clock: off           # off | perMove | total

opponent.mode: local produces no model requests at all. Leaving opponent.provider / model unset follows the current session's model route.

Note on config discovery. The plugin declares its config with a hand-written, dependency-free StandardSchemaV1, so the values are validated and defaulted when the row activates, but the schema is not projected into DSH's config tooling (it reports unsupported rather than showing the fields). Write the keys above by hand in your patch file; this table is the reference. (The two sibling third-party plugins declare no config at all.)