世运引擎 · shiyun-engine

v0.7.1
io.github.mingjing-me/shiyun-engine Checked 8 hours ago Published 3 days ago

三元九运×命盘叠加判定+九运价值观内核。Era-luck overlay engine for BaZi charts with a values core.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

era_years

查询某年所属三元九运(七/八/九/一运)、时代元素与阶段节点(2024甲辰/2027丁未/2028戊申)

ParameterTypeDescription
year *integer公历年份

era_supply

查询某一运「供什么气」:八运供真土(堆),九运供金水之气、土生金而非埋金(火为银河AI之火)

ParameterTypeDescription
era *string世运名

classify_era

个人命盘×世运叠加判定(核心)。公理:不看含量看喜用——八运看用不用土(强弱不主导),九运能用火而非用土。输出判定键:八运(得世/扶立/反埋/不济/间接受惠)、九运(火辅/金水主场/解燥/供应断/隔断)、通塞(漏/断)、卡存、意义观照轴(定风波层)。

ParameterTypeDescription
dayMasterWuxing *string日主五行
wuxingScore *object五行分值(含量,仅参考不主导)
congGeobject从格信息
flowobject流通/通塞信号
hanNuanstring寒暖燥湿
isStrongboolean | null身强弱;土日主判通塞时传 null

overlay_dayun

大运落段:每步运跨哪几运、是否在八运甜点区、是否换运×换世运同线

ParameterTypeDescription
currentYear *integer当前年份
daYunList *array大运序列

year_markers

流年节点:2027丁未总结年、2027-2031动荡窗口、三年三段注记

ParameterTypeDescription
year *integer公历年份