Commit Graph

18 Commits

Author SHA1 Message Date
732642856 c7eeb3f8e5 Add active rectification API workflow 2026-07-16 16:31:34 +08:00
732642856 a8f6a57ccc harden calculation contracts and local API boundaries 2026-07-11 23:24:54 +08:00
732642856 b33c2f9cd2 Add web professional reading gateway surface 2026-07-02 23:54:05 +08:00
732642856 5a76abf8d6 Harden high-rigor Jyotish timing workflow 2026-07-01 19:15:35 +08:00
732642856 3161de68c0 Productize VedAstro user range scan entry 2026-06-29 07:51:00 +08:00
732642856 a07f91c88b Wire VedAstro status and live quality gate 2026-06-29 03:59:30 +08:00
732642856 c6e819b5e5 feat: expose chara dasha in frontend workbench 2026-06-26 12:09:41 +08:00
732642856 dbfe603df1 Add oracle evidence validation intake 2026-06-25 21:03:56 +08:00
732642856 de4bdff5d3 Expose Dasha Shadbala calibration status 2026-06-25 19:35:33 +08:00
732642856 5d35731f8b Add jyotish oracle evidence calibration gate 2026-06-25 18:33:26 +08:00
732642856 494e387018 Productize jyotish app release surface 2026-06-24 13:37:33 +08:00
732642856 3f355de1db Enhance Jyotish precision techniques and tests 2026-06-13 15:06:11 +08:00
732642856 b563e0cd47 v6.9.6: 字段映射完整修复 — degree→degree_in_sign + toFixed空值保护 2026-06-12 15:31:49 +08:00
732642856 67b38bc408 v6.9.5: 修复 Python API 字段映射 — birth→birth_info 2026-06-12 14:35:57 +08:00
732642856 6750368bc8 v6.9.4: AI解读集成 — copse.top GPT 中转接入
## 架构重构
- 计算层: 纯本地 (SwissEph WASM 或 localhost:5200)
- AI解读层: copse.top GPT API 生成个性化解读
- 清晰的职责分离

## flow
1. 用户输入出生信息 → 本地计算星盘
2. 结构化数据 → copse.top → GPT 解读
3. AI 解读直接展示在星盘下方

## 修改
- api-bridge.js v4.0: 全新架构
- main.js: triggerAIReading() 自动触发
- index.html: chart-summary 展示区
2026-06-12 07:21:00 +08:00
732642856 8337f237bd v6.9.2: API智能回退 — localhost自动检测+JS引擎fallback
## 修复
- api-bridge.js: 自动检测运行环境 (localhost→5200, 云端→copse.top)
- main.js: API失败自动回退JS引擎, 不再直接报错
- 移除isResolved未闭合的try错误
2026-06-11 22:47:57 +08:00
732642856 02ec40137a v6.7.2: Web应用→纯API静态前端 — 移除JS引擎依赖
## 架构简化
- api-bridge.js v2.0: 指向 https://copse.top + API Key认证
- main.js: 始终使用Python API (移除JS引擎fallback)
- index.html: 移除 SwissEph WASM 脚本(不再需要)
- 新增 apiComputeAll() 一键全功能计算+5分钟缓存

## 前端体积
- HTML: 23KB | CSS: 60KB | JS: 324KB (含UI+解释数据)
- 构建: npm run build  3秒完成
2026-06-11 20:52:34 +08:00
732642856 d6d786a57a v6.7.0: Python API桥接 — Web应用前后端统一使用v6.6.0精算引擎
## 新增
- jyotish_api_server.py: FastAPI式HTTP服务器(10个端点)
  - POST /api/chart — 完整星盘(35种Dasha+Yoga+行星)
  - POST /api/remedies — 5类补救建议
  - POST /api/kp — KP分析
  - POST /api/prashna — 卜卦
  - POST /api/synastry — 合盘
  - POST /api/sade_sati/pancha_mahapurusha/career/relationship
  - GET /api/health + /api/cities
- api-bridge.js: 前端API桥接模块(自动检测+降级)
- main.js: 优先使用Python API,不可用时回退JS引擎

## 关键修复
- 前后端现在使用同一套v6.6.0精算引擎(35种Dasha, 107+ Yoga)
- Web应用不再受限于v0.1 JS引擎的有限计算能力
- 启动: python3 scripts/jyotish_api_server.py --port 5200
2026-06-11 20:37:59 +08:00