|
9 | 9 | **把占星与中国术数,收进一个原生 Windows 工作站**<br /> |
10 | 10 | *Western astrology and Chinese metaphysics, in one native Windows workstation* |
11 | 11 |
|
12 | | -[](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.5) |
| 12 | +[](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.6) |
13 | 13 | [](LICENSE) |
14 | | -[](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.5) |
15 | | -[](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.5) |
| 14 | +[](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.6) |
| 15 | +[](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.6) |
16 | 16 | [](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/actions/workflows/ci.yml) |
17 | 17 | [](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/stargazers) |
18 | 18 |
|
19 | | -[下载安装包](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/latest/download/Horosa-Setup-2.1.5.exe) · |
| 19 | +[下载安装包](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/latest/download/Horosa-Setup-2.1.6.exe) · |
20 | 20 | [完整中文说明](README_ZH.md) · |
21 | 21 | [English Guide](README_EN.md) · |
22 | 22 | [所有版本](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases) |
|
35 | 35 |
|
36 | 36 | > Regular users grab the offline installer and open it like any finished Windows app. No Python or Java to install yourself—the runtime ships inside the package—and updates replace the program and shared runtime without wiping your saved charts. The first launch is a little slower while the runtime is extracted and verified; later launches reuse the local cache. |
37 | 37 |
|
38 | | -**[⬇︎ Horosa-Setup-2.1.5.exe](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/latest/download/Horosa-Setup-2.1.5.exe)** |
| 38 | +**[⬇︎ Horosa-Setup-2.1.6.exe](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/latest/download/Horosa-Setup-2.1.6.exe)** |
39 | 39 |
|
40 | 40 | 适合:Windows 10/11 · `x64` · 弱网 / 离线环境 · 首次安装 · 转发给他人。 |
41 | 41 |
|
|
96 | 96 |
|
97 | 97 | > Charts and cases save locally—tags, snapshots, raw backend payloads, JSON import/export, and full restore on reopen. |
98 | 98 |
|
99 | | -## 本次更新 · What's New in v2.1.5 beta |
| 99 | +## 本次更新 · What's New in v2.1.6 beta |
100 | 100 |
|
101 | | -这一版把 Mac 端最新的 **AI 分析页全面修复** 同步到 Windows(供应商切换 / 鉴权、发送安全、静默失败透出): |
| 101 | +这一版把 Mac 端的 **奇门历法底层修复** 与 **印度盘地图选点修复** 同步到 Windows: |
102 | 102 |
|
103 | | -- **多供应商切换更顺**:供应商卡片可点击 + 「设为当前」按钮;切换供应商类型会清空旧 API key;删除当前供应商自动补选另一个。 |
104 | | -- **Gemini 直连修复**:原生 Gemini 走 URL `?key=`,不再误加 `Authorization` 头(此前会报 `ACCESS_TOKEN_TYPE_UNSUPPORTED`);custom 供应商可用 `providerOptions.authHeaderName` / `authPrefix` 自定义鉴权头;推理模型前缀新增 `o5`。 |
105 | | -- **发送更稳**:流式生成中再按回车不会并发重发;切换 / 删除会话会先中止当前流;新消息自动滚到底部。 |
106 | | -- **失败不再静默**:嵌入 / 分块失败有提示;Markdown 解析失败退回纯文本;请求超时可由 `providerOptions.requestTimeoutMs` 配置;本地存储配额超限会记录日志而非吞掉。 |
| 103 | +- **奇门月柱交节边界**:月柱改为按 sxtwl 精确交节时刻判定——交节当日、交节时刻之前的时间不再被错算进新月(立春同时校正年柱)。例:2005-05-05 16:30 月柱由辛巳更正为庚辰。 |
| 104 | +- **奇门置闰超神接气定局**:置闰法定局改用「超神接气置闰后的节气」(新增 `zhirun_jieqi`),弃用旧农历启发式(旧实现约 45% 日期误用当日历法节气)。例:2027-10-31 由霜降更正为立冬上元六局;拆补法本就正确,未改。 |
| 105 | +- **印度盘地图选点修复**:印度盘在地图上选点后排盘不再报错(`changeGeo` 传参对齐父级 `changeCond`)。 |
107 | 106 |
|
108 | | -后端 `AIAnalysisProxyService` 改动已重新构建并打包进 `astrostudyboot.jar`。仍包含 2.1.4 供应商兼容 / 错误透传 / 脱敏、2.1.3 八字时间修复、2.1.2 AI 分析重做与 2.1.1 干净机器加固。完整改动见 [v2.1.5 Beta Release](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.5) 与 [本地发布说明](docs/releases/2.1.5.md)。 |
| 107 | +奇门改的是随运行时打包的 vendored Python 引擎(`vendor/kinqimen`),**未动 Java,无需重建 `astrostudyboot.jar`**。仍包含 2.1.5 AI 分析页修复、2.1.4 供应商兼容 / 错误透传 / 脱敏、2.1.3 八字时间修复、2.1.2 AI 分析重做与 2.1.1 干净机器加固,并含本轮 Windows 侧 issue #2 修复(隔离内置 Python/Java 运行时不受系统环境污染,修复装有系统 Python 的 Win11 机器无法启动)。完整改动见 [v2.1.6 Beta Release](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.6) 与 [本地发布说明](docs/releases/2.1.6.md)。 |
109 | 108 |
|
110 | | -> This release syncs the latest Mac-side **AI Analysis page hardening** into Windows (provider switching/auth, send-safety, surfaced failures): clickable provider cards + a "set current" button, switching provider type clears the stale API key, deleting the current provider auto-selects another; native Gemini uses the URL `?key=` and no longer adds an `Authorization` header (which caused `ACCESS_TOKEN_TYPE_UNSUPPORTED`), with `authHeaderName`/`authPrefix` overrides for custom providers and an added `o5` reasoning prefix; pressing Enter mid-stream no longer double-sends, switching/deleting a session aborts the stream first, and new messages auto-scroll; embedding/chunking failures are surfaced, Markdown parse failures fall back to plain text, request timeout is configurable via `providerOptions.requestTimeoutMs`, and a localStorage quota overflow is logged instead of silently swallowed. The backend `AIAnalysisProxyService` change was rebuilt into `astrostudyboot.jar`. Still includes the 2.1.4 / 2.1.3 / 2.1.2 / 2.1.1 work. See the [v2.1.5 release](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.5) for the full log. |
| 109 | +> This release syncs the Mac-side **Qimen (奇门) calendar fix** and **India chart map-pick fix** into Windows. Qimen month-pillar now respects the precise 交节 (solar-term) crossing time — births before the crossing are no longer pushed into the new month, and 立春 also corrects the year pillar (e.g. 2005-05-05 16:30 月柱 辛巳→庚辰); 置闰 ju-determination now uses the 超神接气置闰 solar term (new `zhirun_jieqi`) instead of the old lunar heuristic that was wrong ~45% of the time (e.g. 2027-10-31 霜降→立冬上元六局), while the 拆补 method was already correct and is unchanged. The India chart no longer errors after picking a location on the map (`changeGeo` now matches the parent `changeCond`). The Qimen changes live in the vendored Python engine (`vendor/kinqimen`) shipped with the runtime — no Java change, no jar rebuild. Still includes the 2.1.5 / 2.1.4 / 2.1.3 / 2.1.2 / 2.1.1 work, plus a Windows-side issue #2 fix isolating the embedded Python/Java runtime from a contaminated host environment (Win11 machines with system Python no longer fail to launch). See the [v2.1.6 release](https://github.com/Horace-Maxwell/Horosa-Web-App-comprehensively-improved-Windows/releases/tag/v2.1.6) for the full log. |
111 | 110 |
|
112 | 111 | ## 技术构成 · Under the Hood |
113 | 112 |
|
|
124 | 123 | - [desktop_installer_bundle/README.md](desktop_installer_bundle/README.md) — 桌面打包与安装器说明 / installer internals |
125 | 124 | - [docs/PROJECT_STRUCTURE.md](docs/PROJECT_STRUCTURE.md) — 项目结构说明 / project structure |
126 | 125 | - [docs/CLEAN_MACHINE_NATIVE_RUNTIME_FIX.md](docs/CLEAN_MACHINE_NATIVE_RUNTIME_FIX.md) — 干净 Windows 运行时修复与发布注意点 / clean-machine runtime notes |
127 | | -- [docs/releases/2.1.5.md](docs/releases/2.1.5.md) · [docs/releases/2.1.4.md](docs/releases/2.1.4.md) · [docs/releases/2.1.3.md](docs/releases/2.1.3.md) · [docs/releases/2.1.2.md](docs/releases/2.1.2.md) · [docs/releases/2.1.1.md](docs/releases/2.1.1.md) · [SECURITY.md](SECURITY.md) · [SUPPORT.md](SUPPORT.md) · [CONTRIBUTING.md](CONTRIBUTING.md) · [CITATION.cff](CITATION.cff) |
| 126 | +- [docs/releases/2.1.6.md](docs/releases/2.1.6.md) · [docs/releases/2.1.5.md](docs/releases/2.1.5.md) · [docs/releases/2.1.4.md](docs/releases/2.1.4.md) · [docs/releases/2.1.3.md](docs/releases/2.1.3.md) · [docs/releases/2.1.2.md](docs/releases/2.1.2.md) · [docs/releases/2.1.1.md](docs/releases/2.1.1.md) · [SECURITY.md](SECURITY.md) · [SUPPORT.md](SUPPORT.md) · [CONTRIBUTING.md](CONTRIBUTING.md) · [CITATION.cff](CITATION.cff) |
128 | 127 | - 源码 / source: `local/workspace/Horosa-Web-*/`(前端 `astrostudyui`,后端 `astrostudysrv` / `astropy`,引擎 `vendor`) |
129 | 128 |
|
130 | 129 | ## 致谢 · Acknowledgements |
|
0 commit comments