diceframe/dsh-diceframe ↗★ 0

dsh-diceframe

DSH AI tabletop / GM plugin for DeepSeek Harness: dice rolls, check resolution, world books, character cards, and DiceFrame content-pack import. Play solo in DSH, play with friends in DiceFrame. 适合在DSH中进行单人跑团或与DiceFrame互通进行桌游的用户。

패키지
dsh-diceframe
호환성
미검증
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 15.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:diceframe/dsh-diceframe

配置

六个独立插件行(dsh-diceframe/dice、dsh-diceframe/gm、dsh-diceframe/lore、dsh-diceframe/commands、dsh-diceframe/table、dsh-diceframe/save),在 profile 的 cordis.patch.yml 覆盖。通用格式(Markdown 世界书 / 键: 值 角色卡)也支持内联文本或文件路径:

- id: dsh-diceframe-lore
  config:
    enabled: true
    world_book: |
      ## 迷雾王国
      大陆被永雾笼罩,只有灯塔之城仍有人烟。
    character_card: |
      姓名: 艾琳
      职业: 游侠

enabled: false 关闭对应功能;DiceFrame 配置见上方"互通"一节。

使用

告诉 agent 你想跑团即可——它会用 roll_dice 处理随机性、用 resolve_check 处理检定,然后叙述结果:

开始一个 D&D 5e 风格的一小时短团。我是 1 级游侠艾琳。
营地守夜的侦察检定用 resolve_check,d20,难度 12。