shuimo07/xiaoliuren2

dsh-plugin-xiaoliuren

小六壬占卜:时间 / 报数 / 随机三种起卦,结论优先的白话成败结论 + 掌诀排盘、吉凶、五行、方位、神煞与断辞(DeepSeek Harness 工具插件 + 界面小部件 + 库 + CLI)

AI 분석

核心用途是提供小六壬占卜排盘与断辞解析。适合对传统占卜感兴趣、希望在 DSH 界面或命令行中进行快速起卦与吉凶推算的娱乐或研究用户。

패키지
dsh-plugin-xiaoliuren
버전
0.2.1
라이선스
MIT
최근 업데이트
2026. 8. 17.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

Library usage

import { castTime, castNumbers, castRandom } from 'dsh-plugin-xiaoliuren'

const r = castNumbers([3, 15, 5])                                  // numbers: month=3, day=15, hour=5
const r2 = castTime('2024-02-10T12:00:00', { calendar: 'lunar' })  // lunar time casting
const r3 = castRandom({ randomSource: { seed: 42 } })              // reproducible random

Public API: castTime, castNumbers, castRandom, compute, advance, renderSteps, getPalace, PALACES, shichenFromHour, shichenName, solarToLunar, makeRng, and all types.

CLI usage

xiaoliuren
xiaoliuren time --datetime 2024-02-10T12:00:00 --question "Will this project succeed?"
xiaoliuren time --calendar lunar
xiaoliuren numbers 3 15 5
xiaoliuren random --seed 42 --json

Invalid input prints a Chinese error and exits non-zero. Default output is the conclusion-first card:

【小六壬】结果
所问:Will this project succeed?
起卦:报数(3·15·5)→ 小吉
结论:所问之事大吉,成功可期,诸事顺遂 —— 宜积极行动,趁势而为。
(吉|木|北方|六合)
※ 以上为传统民俗文化娱乐参考,不构成任何专业建议。