rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:XuanCenXuKe/dsh-ziwei-doushu
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
把本地部署的 ziwei-doushu 紫微斗数排盘应用(含 AI 命理解读)接进 DeepSeek Harness:

next start 拉起(默认每 30 秒探测一次)需要 Node.js ≥ 20.9(macOS / Linux;Windows 建议用 WSL)。
curl -fsSL https://raw.githubusercontent.com/XuanCenXuKe/dsh-ziwei-doushu/main/install-ziwei.sh -o install-ziwei.sh
bash install-ziwei.sh
脚本会自动完成:下载 ziwei-doushu 应用 → npm ci → 生成 .env.local → npm run build。
完成后按提示安装插件即可(Discover 搜「紫微斗数」,或见下方安装命令)。
如果 raw 地址打不开,用镜像:
curl -fsSL https://ghproxy.net/https://raw.githubusercontent.com/XuanCenXuKe/dsh-ziwei-doushu/main/install-ziwei.sh -o install-ziwei.sh
⚠️ 这是「伴生插件」:它不打包应用本身,需要你先在本机部署 ziwei-doushu(见下方「前置部署」)。 插件不读取、不存储、不上传任何 API Key;AI 解读的模型 Key 由你本地的应用
.env.local管理。
# 1) 克隆并构建 ziwei-doushu(Node.js ≥ 20.9)
git clone https://github.com/Renhuai123/ziwei-doushu.git ~/ziwei-doushu
cd ~/ziwei-doushu
npm ci
cp .env.example .env.local
npm run build
# 2)(可选)启用 AI 解读:在 .env.local 里填模型 Key,例如 DeepSeek
# DEEPSEEK_API_KEY=sk-... # 只保留在你的本机,插件不会读取
插件按下列顺序查找应用目录(找到含 node_modules/next/dist/bin/next 的第一个):
ZIWEI_APP_DIR~/ziwei-doushu~/Documents/ziwei-doushu~/Documents/deepseek-harness/default-workspace/ziwei-doushuNode 可执行文件按 ZIWEI_NODE_BIN → 应用目录同级 tools/node-*/bin/node → Homebrew → PATH 查找。
在 DSH 里直接对 Agent 说「安装 dsh-ziwei-doushu 插件」,或等它在 dshfind 广场上架后用 Discover 安装。 从 GitHub 安装时使用可复现的提交引用:
plugin_manager install_bundle(target='github:XuanCenXuKe/dsh-ziwei-doushu')
长期使用建议在 dshfind 广场(Discover)搜索「紫微斗数」一键安装。
仓库地址:https://github.com/XuanCenXuKe/dsh-ziwei-doushu
安装后左侧栏会出现「紫微斗数」面板图标(第 20 位,位于「定时任务」与「Mnemon」之间)。
| 变量 | 默认 | 说明 |
|---|---|---|
ZIWEI_APP_DIR |
自动探测 | ziwei-doushu 部署目录 |
ZIWEI_NODE_BIN |
自动探测 | Node 可执行文件路径 |
ZIWEI_AUTO_START |
1 |
设为 0 关闭自动拉起(你自己管理服务时用) |
├── package.json # dsh.bundle + dsh.client 清单
├── cordis.patch.yml # 插入 ziwei-doushu 这一行
├── index.js # Host 半:本地服务守护
├── client.js # Client 半:侧栏图标 + 主面板
├── locale/zh.json # 插件管理页标题/描述(中文)
├── locale/en.json # 同上(英文)
├── icon.svg # 图标(原创星盘罗盘)
└── LICENSE # MIT
127.0.0.1:3000,数据与 Key 都在本机。MIT(本插件代码)。ziwei-doushu 应用及其数据集的许可见上游仓库。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。