shuimo07/xiaoliuren
shuimo07★ 0TypeScript最后同步: 2026-08-16
小六壬占卜 + DeepSeek Harness 插件(时间/报数/随机起卦,结论优先)
README 摘要
xiaoliuren · Xiao Liu Ren divination (dsh-plugin-xiaoliuren) A Xiao Liu Ren (小六壬) divination project: cast a reading via time / numbers / random , and get a conclusion-first plain-language verdict plus the six-palace layout, auspiciousness, five elements, direction, celestial spirit and verse. It works standalone (library + CLI) and also ships as a DeepSeek Harness (DSH) tool plugin (tool name xiaoliuren ). Every result carries a disclaimer — entertainment/traditional-culture reference only. Features - Three casting modes: time (solar/lunar), numbers (1–3 numbers), random (seeded & reproducible) - Conclusion-first : plain-language verdict + advice, then layout details - question is echoed in the conclusion and never affects the math - Configurable: calendar, lateZiShiRollover , disclaimer text, random source - Zero-dependency core ( src/core/ is pure functions; lunar calendar uses a built-in compact table) - Install-and-run : committed lib/ output, loaded by DSH via main: lib/index.js Build & test Requires Node ≥ 18 (Node 22 recommended) and pnpm. Library usage Public API: castTime , castNumbers , castRandom , compute , advance , renderSteps , getPalace , PALACES , shichenFromHour …
在 GitHub 查看完整 README →