dsh-diceframe
为 DeepSeek Harness 设计的 AI 跑团与 GM 插件,支持掷骰、检定结算、世界设定集、角色卡以及 DiceFrame 内容包导入。
AI 分析
核心用途是在 DSH 中实现单人或多人的桌上角色扮演游戏(TRPG)跑团。适合跑团爱好者、TRPG 玩家或希望利用 AI 担任游戏主持人的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:diceframe/dsh-diceframe说明文档
阅读完整 README ↗Configuration
Six independent plugin rows (dsh-diceframe/dice, dsh-diceframe/gm, dsh-diceframe/lore, dsh-diceframe/commands, dsh-diceframe/table, dsh-diceframe/save); override them in your profile's cordis.patch.yml. Generic formats (markdown world book / Key: value card) support inline text or file paths:
- id: dsh-diceframe-lore
config:
enabled: true
world_book: |
## The Mist Kingdom
The continent is shrouded in eternal fog.
character_card: |
姓名: 艾琳
职业: 游侠
Set enabled: false to turn a feature off. See "DiceFrame interoperability" above for DiceFrame config.
Usage
Tell the agent you want to play — it calls roll_dice for randomness and resolve_check for checks, then narrates:
Run a one-hour D&D 5e style session. I'm Erin, a level 1 ranger.
Perception check to search the room — use resolve_check, d20, difficulty 12.