feat: 梅花易数 + 梅花心易 算法层 v1.0
- 八卦基础数据(先天数/五行/方位/生克关系) - 六十四卦完整数据(卦名/卦辞/象辞/吉凶/关键词) - 体用分析引擎(动爻→体用→五行生克→旺衰判定) - 变卦/互卦计算 - 三种起卦方式:数字法、时间法、外应法(梅花心易) - CLI入口:JSON/文本双格式输出 - 断卦分析 prompt + 梅花心易 prompt + 海报版 prompt - HTML海报模板(古风暗色系)
This commit is contained in:
commit
4ff76822ad
294 files changed
+501964
No files matched your search
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
export interface Trigram {
|
||||
number: number;
|
||||
name: string;
|
||||
symbol: string;
|
||||
element: string;
|
||||
direction: string;
|
||||
attribute: string;
|
||||
bodyPart: string;
|
||||
family: string;
|
||||
nature: string;
|
||||
}
|
||||
export declare const TRIGRAMS: Record<number, Trigram>;
|
||||
export declare const WUXING_SHENG: Record<string, string>;
|
||||
export declare const WUXING_KE: Record<string, string>;
|
||||
export declare function getRelation(a: string, b: string): string;
|
||||
export declare function getTrigramByNumber(n: number): Trigram;
|
||||
Reference in new issue
Block a user