EchoUser005/dsh-fate-spectrum
DeepSeek 八字与紫微斗数插件 — 为 AI 代理提供确定性、离线的命盘计算。
Project Overview项目介绍
This is a native plugin built specifically for DeepSeek Harness (DSH), designed to generate structured Bazi (Four Pillars of Destiny) and Ziwei Dou Shu (Purple Star Astrology) charts for DSH’s AI agent to use directly. To install the latest version 0.1.0, you can run the DSH CLI command dsh plugin --profile web add dsh-fate-spectrum@0.1.0 after you have DSH set up on your machine. You can also install it from a local pre-built .tgz bundle if you prefer not to pull it from the npm registry. After installation, you can verify it is loaded correctly by running dsh --profile web --dump-config and checking for the plugin entry in the output.
The plugin is built for users interested in traditional Chinese astrology who use DSH for personal queries and analysis. To use it after installation, you only need to tell DSH what type of chart you want, and the plugin will handle all the calculation steps automatically. If you do not know your exact birth time or your birth time falls near a date change boundary, the plugin will not guess or fill in missing information on your behalf. Instead, it generates all valid candidate charts and passes them to DSH for analysis, and automatically prompts you for any missing required information before starting the calculation.
dsh-fate-spectrum is released under the open-source MIT license, so you can freely use, modify, and distribute it within the terms of that license. All chart calculations run offline locally on your own machine, so no birth information is ever sent to any third-party service, and the plugin itself does not store any of your personal data. The current version 0.1.0 only provides core charting functionality, with more features like true solar time calibration, personalized memory, and interactive visualization planned for future releases. For high-stakes matters like medical, legal, or financial advice, you should always consult a licensed qualified professional instead of relying on this plugin.
这是一个专为DeepSeek Harness(DSH)开发的原生插件,提供八字与紫微斗数排盘能力,将传统命理中的排盘数据转换为结构化、可复现、能被DSH Agent直接调用的格式。用户可通过DSH命令行直接安装,执行dsh plugin --profile web add dsh-fate-spectrum@0.1.0即可完成安装,也可下载预构建压缩包从本地安装。它同时支持单独排八字或紫微斗数,也可默认同时排出两种命盘。
这款插件面向对中国传统命理感兴趣的DSH用户,日常使用中用户只需直接告诉DSH自己的排盘需求即可,无需额外操作。如果出生信息不完整,比如不确定具体时辰或刚好落在换日边界,插件不会擅自猜测补全信息,而是会生成所有可能的候选命盘供DSH分析,信息不足时还会自动向用户询问缺失内容。
该插件采用MIT许可证开源,所有排盘计算都在本地离线完成,不会将用户的出生信息发送到外部第三方服务,插件本身也不存储用户的任何个人信息。当前版本仅提供基础排盘能力,后续规划将增加干支历转换、真太阳时校准、个性化记忆和可视化交互等功能,医疗法律等高风险问题仍需咨询专业人士。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-fate-spectrum(EchoUser005/dsh-fate-spectrum)
仓库:https://github.com/EchoUser005/dsh-fate-spectrum
本站详情页:https://www.yhbd.top/plugins/echouser005-dsh-fate-spectrum/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 10 · 最近提交 2026-08-17 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 10 stars - an early-stage project星标 10,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-fate-spectrum@0.1.0
把 EchoUser005/dsh-fate-spectrum 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-fate-spectrum
一个面向 DeepSeek Harness 的八字与紫微斗数确定性排盘插件。
将传统命理中的排盘事实转化为结构化、可复现、可被 AI Agent 直接调用的工具能力。
dsh plugin --profile web add dsh-fate-spectrum@0.1.0
https://github.com/user-attachments/assets/f0fac8c3-5ebe-4acf-a166-1f05a6f89b6f
每个人都希望活成自己命盘最好的样子。
dsh-fate-spectrum 想做的,是陪命主把命盘重新放回真实人生:看见自己的禀赋与节律,理解人生正在经过怎样的阶段,也看清那些更容易发生的高概率应象。
命理不该替你决定人生。它更像一张不断被现实校准的地图——迷茫时,帮你找到事情为什么会发生;走到关键路口时,陪你寻找更适合自己的解法;顺的时候知道顺从何来,逆的时候也能看见问题究竟卡在哪里。
未来,在命主明确授权后,记忆系统还可以记住这些真实发生过的因与果,让每一次对话都比上一次更懂你,一点点修正属于自己的 fate trajectory。
fate-spectrum 的长期规划
当前能力
- 四柱八字排盘:得到四柱、藏干、十神、纳音、旬空、十二长生、起运与大运等基础命盘事实。
- 紫微斗数排盘:得到十二宫、命身宫、命主身主、五行局、星曜亮度、四化与大限等基础命盘事实。
- 双盘同看:没有指定体系时,同时排出八字与紫微;也可以只看其中一套。
- 保留时间的不确定性:出生时辰未知,或恰好落在换日边界附近时,不会偷偷补成一个确定时间。不同候选盘会带着各自适用的时段交给 Agent,让能确定的先确定,不能确定的按条件分别理解。
- 缺什么就问什么:出生日期、性别、时辰状态或时区不足时,DSH 会先补问;不会为了尽快得到一张盘而猜测关键信息。
未来展望
- 干支历与周期上下文:把“下周”“下下周”“今年某一段时间”转换成明确日期范围、节气、流年、流月与逐日干支,让周期分析不再依赖临时搜索和手工查历。
- 真太阳时校准:结合出生地点、时区、经度与均时差,给出可追溯的实际排盘时间;校准跨过日期或换日边界时,明确告诉命主命盘发生了什么变化。
- 周报与分析 Skills:沉淀周报分析流程,把原局、运限和具体时间范围组织成 Agent 可调用的分析步骤。
- 案例、格局与经验 Knowledge:为 Agent 提供经过整理的佐证资料,支持格局分析和相似案例对照。
- 心智世界模型 Memory:在命主授权后,记录真实世界的因与果,实例化干支作用象意,并支持记忆的获取与更新。
- 命盘 A2UI:用受控的命盘视觉交互规则、组件、资产和变量,把全局命盘、局部干支作用与按需分析融入 Agent 人机交互;大运与流年的长期走势图、一年内的运势曲线、关键周期切换和候选盘差异,都可以成为 Agent 按意图调用的可交互视觉组件。
这些能力最终会连成同一件事:命盘负责提供坐标,现实负责给出反馈,Agent 帮助命主在一次次选择中,更清醒地走向适合自己的位置。
安装
从 npm 安装
已经安装 DSH 的情况下,把 dsh-fate-spectrum 加入日常使用的 Profile:
dsh plugin --profile web add dsh-fate-spectrum@0.1.0
dsh --profile web --dump-config
dsh web
--dump-config 中出现 dsh-fate-spectrum 和 fate-spectrum,说明 Bundle 已经进入当前 Profile。以后正常打开 DSH,就可以直接在对话里提出排盘或命理分析需求。
升级到最新兼容版本:
dsh plugin --profile web up dsh-fate-spectrum
从本地安装
下载或自行打包得到 .tgz 后,可以不经过 npm 注册表,直接安装同一份预构建 Bundle:
dsh plugin --profile web add ./dsh-fate-spectrum-0.1.0.tgz
dsh --profile web --dump-config
本地开发和 --patch 调试方式见 DSH 本地测试 SOP。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
nocobase/nocobase
TencentCloudBase/CloudBase-AI-Toolkit
WYH66666666/DSH-Transparent-UI-Plugin
Nagi-ovo/dsh-visualize
SepineTam/mcp-for-stata
omdsh-dev/dsh-data-agent
morluto/jacobian
youdotcom-oss/agent-skills