dsh-rws-tarot (tarot)
firefox2100/dsh-rws-tarot/packages/tarot
DSH 的莱德-韦特-史密斯塔罗牌插件,在右侧栏提供凯尔特十字、韦特的替代与三十五张牌方法、普通抽牌以及三张牌和九张牌布局;插件负责抽牌与摆放,再将每张翻开的牌逐轮送入对话,由模型依据韦特《塔罗图解》进行解读。
安装
dsh plugin --profile web add github:firefox2100/dsh-rws-tarot该插件位于仓库的 packages/tarot 子路径下。
README
DSH Plugin for Rider-Waite-Smith Tarot
English | 中文
Rider-Waite-Smith tarot for DeepSeek Harness: lay a spread in the right dock, turn the cards one at a time and have each read from Arthur Edward Waite's The Pictorial Key to the Tarot (1910, public domain). Code draws the cards and supplies the book's meanings and methods; the language model only reasons on top of those facts.
For entertainment, study and reflection only. It cannot predict or interpret real events and is no guide for decisions; see the disclaimer.
Install
dsh plugin --profile <profile> add dsh-rws-tarot
Requires DeepSeek Harness >=0.2.2-rc.1 <0.2.3 and a model the profile can already use. Features, usage, configuration and the /tarot command are in the plugin README.
Repository
| Path | Contents |
|---|---|
packages/tarot | The plugin (host and client). |
packages/tarot-data | The book's card, method and recurrence data and the card names. |
packages/tarot-engine | The deterministic engine: shuffle, layouts, facts for the model. |
references/pictorial-key | The book: text by part, the 78 plates, and the page-scan PDF the data is checked against. |
scripts | Data generators and check scripts. |
The two libraries are bundled into the plugin.
Development
pnpm install
pnpm typecheck # needs NODE_OPTIONS=--max-old-space-size=12288
pnpm test
node scripts/check-cards.mjs
node scripts/check-methods.mjs
pnpm --filter dsh-rws-tarot build
Card data is generated from the book (node scripts/build-cards.mjs, node scripts/build-recurrence.mjs); the check scripts fail when the data and the book disagree. More in the plugin README.
Licensed under GPL-3.0-only.