dsh-metaphysics 0.71.0 → 0.72.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +2 -2
- package/client.js +1 -1
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +4 -3
- package//345/221/275/347/220/206/346/216/222/347/233/230.html +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## 0.72.1(2026-11-12,已发布)
|
|
2
|
+
|
|
3
|
+
> 插件在侧栏里显示的名字,也从「命理插件」换成了「烛微命盘」。
|
|
4
|
+
|
|
5
|
+
- **显示名**:`locale/zh.json` 的 `meta.title` 由「烛微命盘(玄学)· 八字紫微六爻梅花六壬奇门合盘塔罗」缩成「烛微命盘」,`locale/en.json` 由「Zhuwei Mingpan · Chinese Metaphysics Charts」缩成「Zhuwei Mingpan」;`package.json` 增加 `displayName: "烛微命盘"`,供宿主界面读取。
|
|
6
|
+
- **不变**:npm 包名仍是 `dsh-metaphysics`,构建产物仍叫 `命理排盘.html`——包内 files 清单、exports、测试与网页版入口全按这两个名字走。
|
|
7
|
+
- **生效方式**:本机以 `link:` 方式安装,重启 App 后侧栏即显示新名。
|
|
8
|
+
|
|
9
|
+
## 0.72.0(2026-11-12,已发布)
|
|
10
|
+
|
|
11
|
+
> 本段主题:定名「烛微命盘」
|
|
12
|
+
|
|
13
|
+
- **产品定名 烛微命盘**(`tools/build-html.mjs`、`locale/*.json`、`package.json`、`README.md`):
|
|
14
|
+
|
|
15
|
+
> 二十二套体系不该只叫「命理插件」。名字取自「洞幽烛微」:烛照幽微处,不跳过任何一格。这正好对上这一版的差异点——每一格怎么来的都能展开核对。英文名 Zhuwei Mingpan,包名 `dsh-metaphysics` 不动(四个版本的发布链与链接都在它上面)。
|
|
16
|
+
|
|
17
|
+
### 改动
|
|
18
|
+
- 页面 `<title>`、OG 标题、页头印章与品牌字:命理排盘 → 烛微命盘(印章一字「微」)。
|
|
19
|
+
- `locale/zh.json` 市场名、`locale/en.json` 标题、`package.json` 的 description 与 keywords、README 标题与市场备注段。
|
|
20
|
+
- 构建产物文件名仍是 `命理排盘.html`:包内 files 清单、测试与 Pages 入口都按这个名字走,改名只会断链,对外显示名不受影响。
|
|
21
|
+
|
|
1
22
|
## 0.71.0(2026-11-12,已发布)
|
|
2
23
|
|
|
3
24
|
> 本段主题:说人话层铺开到 22 个体系
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# dsh-metaphysics
|
|
1
|
+
# 烛微命盘 · dsh-metaphysics
|
|
2
2
|
|
|
3
3
|
[](docs/verification.html)
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ Chinese metaphysics (玄学 / xuanxue) for [DeepSeek Harness](https://github.com
|
|
|
10
10
|
|
|
11
11
|
## 插件市场备注
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
**烛微命盘(玄学)· 八字 / 紫微 / 六爻 / 梅花 / 六壬 / 奇门 / 合盘 / 塔罗 + 黄历 / 农历 / 择日 / 称骨 / 小六壬 / 星座 / 生命数字 / 人生K线 / 风水 / 起名 / 十六型人格 / 中医体质 / 五运六气 / 太乙神数** —— 一个插件把二十二套体系装进 Harness:对话里说一句就排盘,侧栏还有可视化面板。
|
|
14
14
|
|
|
15
15
|
- **八字**:42 颗神煞(分吉凶七类,天干星双查年干与日干、三合星双查年支与日支,悬停看查法)、日主旺衰量化并给出依据、格局与用神(月令取格 + 化气/专旺/从格 + 十神组合,每条附判定依据;专旺再分**成格/待定/破格**,从格再分**真从/假从**并记微根与虚透)、**四宫**(胎元=月干进一、月支进三;胎息=日干五合、日支六合;命宫/身宫按生月与生时两支合数定宫,与 Tyme 1.5.4 / 紫微派同口径,已用 704 组日期逐组对齐)、**通关结构**(用神与克它的忌神两行各 ≥1.5 分时,指出五行里唯一能接上的那一行并分「可通/关弱/为忌/未通」四档,不折吉凶)、大运流年按喜忌五行与十神打分(大吉/吉/平/忌/大忌,可看逐项理由),大运另有**交运时刻**(日/时辰级,三日折一年放大)与每步起止日期
|
|
16
16
|
- **紫微**:十四主星与 49 星曜(主星带**庙旺得利平不陷**亮度标注)、四层十二神、生年四化与宫干自化、**四化飞星串连**(宫干化星 → 星定落宫 → 顺同一支化逐宫追到成环)、**三方四正复合飞化**(四宫 16 条按落宫归堆,标双忌会/禄忌同宫/三化会/自化)、34 条格局(标吉/中性/忌倾向与依据,每条都有独立的成立条件复算)、大限一览、流年四化落宫;**闰月口径**默认按日切分(1–15 归本月、16 起归次月,主流排盘口径),可切 `leapMonth: next/prev`;本命/大限/流年三视图一键切换,命宫红框、三方四正浅底标出;竖屏与窄侧栏保持 4×4 宫盘(宫位相对位置不丢)
|
package/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
window.__ModuleLoader__.load({id:"dsh-metaphysics",version:"0.
|
|
1
|
+
window.__ModuleLoader__.load({id:"dsh-metaphysics",version:"0.72.1",factory(mt){const Xa=(function(){try{return mt("react")}catch{return globalThis.React}})();if(!Xa)return{inject:[],apply(){}};const r=Xa.createElement,ni={bazi:"client.chart.js",ziwei:"client.chart.js",hepan:"client.chart.js",trend:"client.chart.js",name:"client.name.js",fengshui:"client.fengshui.js",liuyao:"client.liuyao.js",meihua:"client.liuyao.js",qimen:"client.qimen.js",daliuren:"client.daliuren.js",tarot:"client.tarot.js",almanac:"client.almanac.js",convert:"client.convert.js",zeri:"client.zeri.js",chenggu:"client.chenggu.js",xiaoliuren:"client.xiaoliuren.js",star:"client.star.js",numerology:"client.numerology.js",mbti:"client.mbti.js",constitution:"client.constitution.js",wuyunliuqi:"client.wuyunliuqi.js",taiyi:"client.taiyi.js"},si=[{key:"general",label:"综合",dim:null,focus:""},{key:"wealth",label:"财运",dim:"work",focus:"钱财进出的落点主要看「工作与职业选择」与「事业发展」这两条。"},{key:"career",label:"事业",dim:"career",focus:"事业发展这条与你的问题最直接。"},{key:"love",label:"感情",dim:"love",focus:"感情这条与你的问题最直接。"},{key:"health",label:"健康",dim:"health",focus:"健康这条与你的问题最直接;下面只作提醒,不作任何诊断。"},{key:"study",label:"学业",dim:"career",focus:"学业与考试更贴近「事业发展」这条,讲的是长期积累与阶段进展。"},{key:"travel",label:"出行",dim:"overall",focus:"出行与迁动更贴近「整体运势」这条,看的是当下这一段的大环境。"}];window.__MP_VER="0.72.1",window.__MPGroups=[{title:"问一件事",hint:"心里有一件具体的事,起一卦再决定",items:[{k:"liuyao",label:"六爻",tip:"摇六次问事"},{k:"tarot",label:"塔罗",tip:"抽牌看选择"},{k:"meihua",label:"梅花",tip:"见闻起卦"},{k:"qimen",label:"奇门",tip:"看方位时机"},{k:"daliuren",label:"六壬",tip:"占事断来意"},{k:"xiaoliuren",label:"小六壬",tip:"掐指一算"}]},{title:"看一个人",hint:"看自己或身边人的性情与格局",items:[{k:"bazi",label:"八字",tip:"四柱看格局"},{k:"ziwei",label:"紫微",tip:"十二宫细看"},{k:"hepan",label:"合盘",tip:"两人合不合"},{k:"mbti",label:"人格",tip:"16 型问卷"},{k:"constitution",label:"体质",tip:"九种体质"},{k:"chenggu",label:"称骨",tip:"生辰称命重"},{k:"trend",label:"人生K",tip:"一生走势",wide:!0}]},{title:"查日子",hint:"挑时间、换农历,看一年的气与方位",items:[{k:"almanac",label:"黄历",tip:"今日宜忌"},{k:"zeri",label:"择日",tip:"挑好日子"},{k:"convert",label:"农历",tip:"公历农历"},{k:"wuyunliuqi",label:"运气",tip:"一年大势"},{k:"taiyi",label:"太乙",tip:"积年推局"},{k:"fengshui",label:"风水",tip:"房屋朝向"},{k:"name",label:"起名",tip:"八字选字"}]}],window.__MP_UNRELEASED=[];const X={};X.DIRECTIONS=si,X.compute=()=>{throw new Error("命理引擎尚未加载")};const oi=Object.create(null),_t=Object.create(null);function on(n){return ni[n]||ni.bazi||"client.chart.js"}const pi=()=>typeof performance<"u"&&performance.now?performance.now():Date.now();async function pn(n){const s=on(n);let S=oi[s];const F=!!S,ee=pi();if(!S){if(!mt||typeof mt.async!="function")throw new Error("当前宿主不支持客户端分块加载(require.async 缺失),请升级 DeepSeek Harness");let se=_t[s];se||(se=mt.async(`./${s}`).then(le=>{const re=le&&(le.Engine||le.default);if(!re||typeof re.compute!="function")throw new Error(`命理引擎分块 ${s} 未返回 Engine`);return oi[s]=re,re}),_t[s]=se,se.catch(()=>{}).then(()=>{delete _t[s]})),S=await se}for(const se of Object.keys(S))S[se]!==void 0&&(X[se]=S[se]);return Array.isArray(X.DIRECTIONS)||(X.DIRECTIONS=si),window.Engine=X,window.__MP_ENGINE_READY__=!0,window.__MP_LAST_LOAD={tab:n,chunk:s,cached:F,ms:Math.round((pi()-ee)*10)/10},X}window.__mpEnsureEngine=pn,window.Engine=X,(function(){const n={liuyao:!0,meihua:!0,daliuren:!0,tarot:!0},s=Z=>!!n[Z],S={general:"other",wealth:"business",career:"career",love:"love",health:"other",study:"career",travel:"action"},F=Z=>S[Z]||"other",ee="#ffffff",se="#1c1a15";function le(Z){const K=String(Z??"").match(/rgba?\(([^)]+)\)/i);if(!K)return null;const V=K[1].split(/[,\s/]+/).filter(Boolean).map(Number);return V.length<3||V.slice(0,3).some(G=>!Number.isFinite(G))||V.length>3&&Number.isFinite(V[3])&&V[3]<.95?null:[V[0],V[1],V[2]]}function re(Z){const K=String(Z||"").replace("#",""),V=K.length===3?K.split("").map(G=>G+G).join(""):K;return/^[0-9a-f]{6}$/i.test(V)?[0,2,4].map(G=>parseInt(V.slice(G,G+2),16)):null}function ye(Z){const K=V=>{const G=V/255;return G<=.03928?G/12.92:Math.pow((G+.055)/1.055,2.4)};return .2126*K(Z[0])+.7152*K(Z[1])+.0722*K(Z[2])}function t(Z,K){const V=ye(Z),G=ye(K),te=Math.max(V,G),Ne=Math.min(V,G);return(te+.05)/(Ne+.05)}function $e(Z){const K=typeof Z=="string"?le(Z):Z;return K?t(K,re(ee))>=t(K,re(se))?ee:se:""}function I(Z){const K=String(Z??"").trim();if(!K)return{lines:null,warning:""};const V=K.split(/[^0-9]+/).filter(Boolean).map(Number),G=V.filter(te=>![6,7,8,9].includes(te));return V.length===6&&G.length===0?{lines:V,warning:""}:{lines:null,warning:V.length!==6?`爻值需要正好 6 个数字(当前 ${V.length} 个),本次按随机摇卦。`:`爻值只能是 6/7/8/9(收到 ${G.join("/")}),本次按随机摇卦。`}}function xe(Z){const K=String(Z??"").trim();if(!K)return null;const V=Number(K);return Number.isFinite(V)?V:null}function we(Z){const K=Z instanceof Date?Z:new Date,V=G=>String(G).padStart(2,"0");return`${K.getFullYear()}-${V(K.getMonth()+1)}-${V(K.getDate())}`}window.__MPCore={NEED_ASK:n,needAsk:s,parseLines:I,toNumber:xe,parseRGB:le,hexToRGB:re,luminance:ye,contrastRatio:t,pickOnColor:$e,ON_DARK:ee,ON_LIGHT:se,kindOfDirection:F,todayStamp:we}})(),(function(){const n=`
|
|
2
2
|
.pp,.mp-it,.mp-al,.mp-cg,.mp-cl,.mp-cli,.mp-kline,.mp-mb,.mp-mb-paper,.mp-nm,.mp-quick,.mp-cdiff,.mp-shadow,.mp-trace-card,.mp-trace-layer,.mp-prof{--ink:#1b1b1b;--ink2:#3f3a33;--muted:#6f6a60;--label:#8a8378;--faint:#a9a296;
|
|
3
3
|
--line:#c8c1b2;--dimline:#b9b2a4;--hair:#e9e2d3;
|
|
4
4
|
/* 底色略沉作「桌面」,--card 跳到近白:原先 bg 与 card 只差 1/255,卡片感等于零。
|
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Zhuwei Mingpan",
|
|
4
4
|
"description": "Chinese metaphysics (xuanxue) — twenty-two systems in one plugin: eight chart systems plus fourteen quick references and self-assessments (almanac, solar–lunar conversion, date selection, bone-weight fortune, Xiao Liu Ren, horoscope, numerology, MBTI-style 16-type questionnaire, life-curve, feng shui, name analysis, nine-type TCM body-constitution questionnaire, five-movements-six-qi yearly chart, Taiyi Shenshu with accumulated-year ju, palace, eight gates and Wen Chang). The first screen shows 20 pick-of-the-bunch entries in three groups and folds the rest behind 'N more'; all 22 stay in the flat tab view. Chart systems: BaZi (hidden stems, ten gods, 12 stages, 42 shensha, strength, pattern and useful-god, luck scoring), Zi Wei Dou Shu (49 stars with brightness, four 12-god cycles, 34 patterns, decade and annual/monthly/daily/hourly mutagen), LiuYao, MeiHua YiShu, Da Liu Ren, Qi Men Dun Jia (three ju-selection schools), compatibility charts (BaZi and Zi Wei), and Tarot, plus an ask-driven interpretation layer. Computed locally with networking off by default, exposed as an agent tool with a Web panel."
|
|
5
5
|
}
|
|
6
6
|
}
|
package/locale/zh.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "烛微命盘",
|
|
4
4
|
"description": "玄学命理排盘:二十二套体系一站排盘——既有的八套排盘(八字、紫微、六爻、梅花、大六壬、奇门、合盘、塔罗)之外,另有十一套速查(黄历、农历互转、择日、称骨、小六壬、星座、生命数字、人生K线、风水、起名、十六型人格),以及中医体质问卷、五运六气与太乙神数:八字(藏干十神、十二长生、42 神煞、旺衰、格局用神、大运流年吉凶评分)、紫微斗数(49 星曜与主星庙旺、四层十二神、34 格局、大限、流年流月流日流时四化)、六爻纳甲、梅花易数、大六壬(天地盘/四课/三传)、奇门遁甲(拆补/超神接气/置闰三派取局)、合盘(八字与紫微两套)与塔罗;另有所问之事驱动的解析与详解。纯本地计算、默认不联网,作为 Agent 工具供对话调用,并提供可切换本命/大限/流年视图的 Web 面板。紫微含飞星串连与三方四正复合飞化,六爻含用神旺衰与全卦逐爻旺衰。"
|
|
5
5
|
}
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-metaphysics",
|
|
3
|
-
"
|
|
3
|
+
"displayName": "烛微命盘",
|
|
4
|
+
"version": "0.72.1",
|
|
4
5
|
"type": "module",
|
|
5
|
-
"description": "
|
|
6
|
+
"description": "烛微命盘(玄学 xuanxue)for DeepSeek Harness: twenty-two systems and eleven quick references (almanac, solar–lunar conversion, …), with climate adjustment (tiaohou), the 120 Qiongtong Baojian entries, 1,062-char name library with per-character pinyin, Kangxi stroke counts, five-grid (五格/三才) analysis and mechanical phonetics checks, a 78-card tarot library on the Rider-Waite-Smith base (per-card English name, image description, core meaning and astrological correspondence, cross-checked against three published sources; court cards carry no zodiac by design and the chart says so), classical quotes (Ziping Zhenquan / Di Tian Sui / San Ming Tong Hui), hexagram body relations (六冲/六合/伏吟/反吟/化进神/化退神) plus yongshen placement (用神落位) with month/day strength (月建日辰旺衰) and whole-hexagram per-line strength (全卦逐爻旺衰) and response-time clues (应期线索:逢值/逢冲/逢合 + 月建五态快慢) for liuyao, plus an MBTI-style 16-type questionnaire and exact dayun handover dates (交运日) with annual suiyun hints (岁运并临/伏吟反吟), palace conditions (击刑/入墓), month states (旺相休囚死) and stem–palace relations (天盘干与宫生克) for qimen, flying four-transformations with chained flights (四化飞星串连), three-way-four-corner composite flights (三方四正复合飞化), switchable leap-month policy (闰月按日切分/整月归次月/整月归本月) eleven school switches (亮度/庚干四化/天马/天空/截空旬空/魁钺/天伤天使/长生/晚子时/身主/杂曜全表) for ziwei, the last one opting in to a 61-star minor-star (杂曜) table where each of the twelve extra stars carries its placement verse and the palace it landed in (verses accepted only when at least two independent published editions give the same table, homonymous stars never merged), caliber diffs for bazi/ziwei/qimen (same inputs, one switch, root-field changes), shadow-chart IDs (same normalized params → same ID; version bumps auto-diff chart fields), step-by-step deduction traces (liuyao najia→liuqin→shiying→fushen→strength; bazi strength score and pattern/yongshen; ziwei pattern conditions), and a bundled offline single-file page (命理排盘.html), a panel-to-chat handoff that asks the Harness about a finished chart, per-tab lazy engine chunks so the first-screen client bundle stays under 110KB gzip, and a public verification report (128 classical hexagram cases, 312 Zi Wei charts × 34 patterns, 12 dayun handover cases) generated from the same source that gates CI.",
|
|
6
7
|
"keywords": [
|
|
7
8
|
"玄学",
|
|
8
9
|
"玄学排盘",
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
"tarot",
|
|
23
24
|
"divination",
|
|
24
25
|
"命理",
|
|
25
|
-
"
|
|
26
|
+
"烛微命盘",
|
|
26
27
|
"八字",
|
|
27
28
|
"四柱",
|
|
28
29
|
"神煞",
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
|
6
|
-
<title
|
|
6
|
+
<title>烛微命盘 · 八字 紫微 六爻 奇门 大六壬 | 本地计算,每步有据可查</title>
|
|
7
7
|
<meta name="description" content="八套命理体系装进一个页面:八字、紫微斗数、六爻纳甲、梅花易数、大六壬、奇门遁甲、合盘、塔罗。全部本地计算、不联网;结果可复现,口径差异逐字可查。">
|
|
8
8
|
<meta name="theme-color" content="#f4f1ea" media="(prefers-color-scheme:light)">
|
|
9
9
|
<meta name="theme-color" content="#12110d" media="(prefers-color-scheme:dark)">
|
|
10
10
|
<meta property="og:type" content="website">
|
|
11
11
|
<meta property="og:locale" content="zh_CN">
|
|
12
|
-
<meta property="og:title" content="
|
|
12
|
+
<meta property="og:title" content="烛微命盘 · 二十二套体系,一个页面">
|
|
13
13
|
<meta property="og:description" content="八字 / 紫微 / 六爻 / 梅花 / 六壬 / 奇门 / 合盘 / 塔罗。本地计算,不采集数据;口径怎么取、差异在哪里,都能逐字对照。">
|
|
14
14
|
<meta name="twitter:card" content="summary_large_image">
|
|
15
15
|
<style>
|
|
@@ -361,7 +361,7 @@ h3::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--li
|
|
|
361
361
|
<div class="wrap">
|
|
362
362
|
<header>
|
|
363
363
|
<div class="brand-row">
|
|
364
|
-
<div class="brand"><span class="seal" aria-hidden="true"
|
|
364
|
+
<div class="brand"><span class="seal" aria-hidden="true">微</span><span class="brand-txt">烛微命盘<span class="ver">v0.72.1</span><small>八字 · 紫微 · 六爻 · 梅花 · 六壬 · 奇门 · 合盘 · 塔罗 全部在本机计算</small></span></div>
|
|
365
365
|
<div class="view-switch">
|
|
366
366
|
<span class="hint">熟练了可以换回平铺</span>
|
|
367
367
|
<span class="seg" role="group" aria-label="首屏样式">
|
|
@@ -31990,7 +31990,7 @@ return { interpret, DIRECTIONS, DIRECTION_DEFAULT, BRIGHTNESS, flowOf, parseDate
|
|
|
31990
31990
|
})();
|
|
31991
31991
|
|
|
31992
31992
|
window.Engine = __mods.index;
|
|
31993
|
-
window.__MP_VER = "0.
|
|
31993
|
+
window.__MP_VER = "0.72.1";
|
|
31994
31994
|
</script>
|
|
31995
31995
|
<script>
|
|
31996
31996
|
// 两个 UI 共用的表单规则:宿主面板(src/app.js)与独立页(src/web-ui.js)。
|