Commit Graph

2612 Commits

Author SHA1 Message Date
zhuyuan-bot c71a5492e3 🔍 AOAC-02 · PR #343 合并CI日志 [skip ci] 2026-04-11 14:54:21 +00:00
冰朔 7b6dea9555
Merge pull request #343 from qinfendebingshuo/copilot/debug-api-connection-issues
fix: PM2 preview process restart + trust proxy + CN LLM relay
2026-04-11 22:54:11 +08:00
copilot-swe-agent[bot] d457ccd746
fix: validate empty messages + trim relay host whitespace
Address code review: check for empty messages array in relay, and
trim whitespace from CN_RELAY_HOST to avoid silent connection failures.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/04495ae8-6c76-4458-bbb0-262e3205dccd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:48:32 +00:00
copilot-swe-agent[bot] f8824ac43f
fix: restart zhuyuan-preview PM2 process on deploy + add 3801 health check
Root cause: deploy workflow only deleted zhuyuan-server before PM2 restart,
leaving zhuyuan-preview in errored state. Since guanghulab.online is the
preview domain (Nginx §2 → port 3801), requests to /api/* got 502.

Fix: delete BOTH zhuyuan-server AND zhuyuan-preview before pm2 start.
Add health check for port 3801 to detect this failure in future deploys.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/04495ae8-6c76-4458-bbb0-262e3205dccd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:45:42 +00:00
铸渊-COS接入Agent 6d00b0b71a 🔗 COS自动接入检查 · 2026-04-11 14:26 2026-04-11 14:26:43 +00:00
copilot-swe-agent[bot] 6146dd3aea
fix: address code review feedback - startup validation, error context, security notes
- Fail fast on startup if ZY_CN_RELAY_API_KEY is not configured
- Add model endpoint context to error messages for debugging
- Make API timeout configurable via environment variable
- Deduplicate health check curl in workflow
- Add security note about VPN-encrypted relay channel

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f6db708e-8b10-4339-b48f-db5f111ae5cd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:21:44 +00:00
copilot-swe-agent[bot] 91c957d85e
feat: add trust proxy fix + CN LLM relay service for Guangzhou
工单一: Add app.set('trust proxy', 1) to server.js (prevents PM2 crash)
Phase 1: Create server/cn-llm-relay/ - lightweight LLM proxy for Guangzhou
Phase 2: Modify domestic-llm-gateway.js - relay through Guangzhou with fallback
Phase 3: Add deploy-cn-llm-relay.yml workflow for automated deployment
Update server-registry.json with ZY-SVR-003 and cn-llm-relay config
Update deploy-to-zhuyuan-server.yml to inject CN relay env vars

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f6db708e-8b10-4339-b48f-db5f111ae5cd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:18:27 +00:00
zhuyuan-bot ada4091e9e AOAC-03 · 链路合体报告 · PR #342 [skip ci] 2026-04-11 13:52:11 +00:00
zhuyuan-bot 30c606f27d 📡 README自动更新 · PR #342 合并触发 [skip ci] 2026-04-11 13:52:03 +00:00
zhuyuan-bot 72692a9db3 🔍 AOAC-02 · PR #342 合并CI日志 [skip ci] 2026-04-11 13:52:02 +00:00
冰朔 d9da505d86
Merge pull request #342 from qinfendebingshuo/copilot/fix-domain-deployment-issues
fix: rsync tilde expansion failure in cn-landing deploy workflow
2026-04-11 21:51:53 +08:00
copilot-swe-agent[bot] 815f8f5f12
fix: remove explicit SSH config path from rsync to fix tilde expansion issue in cn-landing deploy
The rsync `-e "ssh -F ~/.ssh/config"` fails because `~` inside double
quotes is not expanded by bash. rsync passes the literal `~/.ssh/config`
to ssh, which cannot resolve it. Removing `-e` lets rsync use the default
ssh, which reads `$HOME/.ssh/config` automatically.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/45d1241e-8f50-40ac-898d-54e2a92b3300

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 13:13:41 +00:00
zhuyuan-bot d68c59a366 📡 部署日志采集 · 24283082910 [skip ci] 2026-04-11 13:06:53 +00:00
zhuyuan-bot 5811636936 📡 README自动更新 · push触发 · 2026-04-11 21:05 [skip ci] 2026-04-11 13:05:27 +00:00
zhuyuan-bot 0f3c9d7e68 AOAC-03 · 链路合体报告 · PR #341 [skip ci] 2026-04-11 13:05:24 +00:00
zhuyuan-bot 5985499a70 🔍 AOAC-02 · PR #341 合并CI日志 [skip ci] 2026-04-11 13:05:16 +00:00
zhuyuan-bot d4306f137d 📡 README自动更新 · PR #341 合并触发 [skip ci] 2026-04-11 13:05:13 +00:00
冰朔 b85aecdbc6
Merge pull request #341 from qinfendebingshuo/copilot/deploy-cn-domain-to-guangzhou-server
feat: 国内域名ICP备案落地页部署 (广州 ZY-SVR-004)
2026-04-11 21:05:03 +08:00
copilot-swe-agent[bot] 6400453e9f
fix: use scp for LLM API keys injection to avoid heredoc variable expansion issue
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/98e8a463-34d0-41db-a3b5-9f8c0a2d0366

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 12:58:50 +00:00
copilot-swe-agent[bot] e81a2b3981
feat: add CN domain landing page, Nginx config and deployment workflow for ICP filing
- Landing page with star-field, particles, orbital rings, shooting stars
- ICP备案号 陕ICP备2025071211号 with clickable link to beian.miit.gov.cn
- Nginx config for ZY-SVR-004 Guangzhou server
- GitHub Actions workflow (SG→CN SSH jump deploy)
- LLM API keys injection for 4 domestic models
- Server registry updated with cn_domain section

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/98e8a463-34d0-41db-a3b5-9f8c0a2d0366

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 12:57:32 +00:00
zhuyuan-bot 173cb74358 📡 部署日志采集 · 24282315686 [skip ci] 2026-04-11 12:20:27 +00:00
zhuyuan-bot e37d001a0c AOAC-03 · 链路合体报告 · PR #340 [skip ci] 2026-04-11 12:18:51 +00:00
zhuyuan-bot 49275974c6 📡 README自动更新 · PR #340 合并触发 [skip ci] 2026-04-11 12:18:43 +00:00
zhuyuan-bot 4c6ea47868 🔍 AOAC-02 · PR #340 合并CI日志 [skip ci] 2026-04-11 12:18:41 +00:00
冰朔 0b75194370
Merge pull request #340 from qinfendebingshuo/copilot/add-trigger-button-for-api-link
fix: PM2 env loading path mismatch causing LLM API keys to never load + portal reconnect button
2026-04-11 20:18:31 +08:00
copilot-swe-agent[bot] 4547000dd6
fix: use language-neutral test message for reconnect endpoint
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/37db3285-91fb-4df3-83a0-7315b0efa428

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 11:50:11 +00:00
copilot-swe-agent[bot] 3fedcab0d9
fix: ecosystem.config.js .env.app path + portal reconnect button + /api/chat/reconnect endpoint
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/37db3285-91fb-4df3-83a0-7315b0efa428

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 11:48:27 +00:00
zhuyuan-bot e29df57ef1 📡 部署日志采集 · 24281358698 [skip ci] 2026-04-11 11:21:09 +00:00
zhuyuan-bot 513f103dd9 AOAC-03 · 链路合体报告 · PR #339 [skip ci] 2026-04-11 11:19:39 +00:00
zhuyuan-bot b27a9ce018 📡 README自动更新 · PR #339 合并触发 [skip ci] 2026-04-11 11:19:28 +00:00
zhuyuan-bot bdfd772af3 🔍 AOAC-02 · PR #339 合并CI日志 [skip ci] 2026-04-11 11:19:28 +00:00
冰朔 80a824523d
Merge pull request #339 from qinfendebingshuo/copilot/investigate-api-key-configuration
Fix chat: inject LLM API keys into main app, fix Nginx routing, enlarge chat UI
2026-04-11 19:19:17 +08:00
copilot-swe-agent[bot] 6582b5dc1a
增强聊天API错误处理: 国内网关异常时自动降级到通用引擎
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5a0f8fc3-ded6-4e1f-8c98-b1e59f82aad6

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 11:16:42 +00:00
copilot-swe-agent[bot] a5ccbadbd6
修复聊天功能: API密钥注入主应用 + Nginx路由修正 + 聊天UI放大居中
核心修复:
1. 部署工作流: 为主应用写入.env.app (含LLM API密钥)
2. PM2配置: 加载.env.app环境变量到主应用进程
3. 聊天引擎: /api/chat 优先使用 domestic-llm-gateway (四路自动降级)
4. Nginx: /api/chat 路由到主应用3800 (原来路由到不存在的3721)
5. 前端UI: 聊天面板放大居中 + 背景遮罩 + 增大超时至60秒

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5a0f8fc3-ded6-4e1f-8c98-b1e59f82aad6

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 11:14:05 +00:00
zhuyuan-bot 4f47d39c0d 📡 部署日志采集 · 24280245491 [skip ci] 2026-04-11 10:10:48 +00:00
zhuyuan-bot 2e4d6d4a8f AOAC-03 · 链路合体报告 · PR #338 [skip ci] 2026-04-11 10:09:25 +00:00
zhuyuan-bot 05aa929cd4 🔍 AOAC-02 · PR #338 合并CI日志 [skip ci] 2026-04-11 10:09:16 +00:00
zhuyuan-bot 8944821780 📡 README自动更新 · PR #338 合并触发 [skip ci] 2026-04-11 10:09:14 +00:00
冰朔 6e77e95659
Merge pull request #338 from qinfendebingshuo/copilot/fix-typos-and-update-homepage
fix: portal 名字修正 / 公告栏替换架构图 / 聊天离线降级 / HoloLake天数自动计算 / UI动效增强
2026-04-11 18:09:03 +08:00
copilot-swe-agent[bot] ddde540994
fix: 公告栏GitHub API添加sessionStorage缓存+错误日志+截断省略号
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/929a30c8-2828-403f-a189-40c9ab2fd0f7

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 10:04:19 +00:00
copilot-swe-agent[bot] 9e9bb02fc2
fix: portal 名字修正/公告栏/聊天降级/HoloLake天数/UI动效增强
- 月夜→时雨, 移除之之, 花尔→花儿(docs)
- 数字地球六层架构→光湖语言世界公告栏(GitHub API实时同步)
- 聊天面板添加离线智能应答降级
- HoloLake Days从2025-04-26自动计算(不依赖API)
- 频道副标题: 每个频道一条专属语言通道
- 星空/卡片/频道卡/状态栏/聊天按钮动效增强
- yaoming站同步更新月夜→时雨

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/929a30c8-2828-403f-a189-40c9ab2fd0f7

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 10:03:09 +00:00
zhuyuan-bot d57a2eaf5e 📡 部署日志采集 · 24279759021 [skip ci] 2026-04-11 09:40:13 +00:00
zhuyuan-bot 9acadd1679 AOAC-03 · 链路合体报告 · PR #337 [skip ci] 2026-04-11 09:38:37 +00:00
zhuyuan-bot 83261ce265 📡 README自动更新 · PR #337 合并触发 [skip ci] 2026-04-11 09:38:30 +00:00
zhuyuan-bot 5b754705a1 🔍 AOAC-02 · PR #337 合并CI日志 [skip ci] 2026-04-11 09:38:28 +00:00
冰朔 0f5c2a0da8
Merge pull request #337 from qinfendebingshuo/copilot/develop-front-end-channel-page
feat: 双站点开发 — 光湖语言世界主入口 + 零点原核频道
2026-04-11 17:38:17 +08:00
copilot-swe-agent[bot] e8a6cb4f89
fix: 隐藏错误消息中的环境变量名 + 清理定时器优雅退出
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/576c1b97-3ce4-4c28-99f1-9374e2320212

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 09:33:31 +00:00
copilot-swe-agent[bot] fdc2ac0035
fix: 修复XSS漏洞、内存泄漏、超时处理等安全问题
- 聊天消息HTML转义防止XSS注入
- 匿名会话使用唯一ID替代共享portal-guest
- 上下文Map添加LRU淘汰和TTL过期清理
- 修复Node.js https超时处理使用req.setTimeout()
- MCP工具数从API动态获取替代硬编码

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/576c1b97-3ce4-4c28-99f1-9374e2320212

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 09:31:39 +00:00
copilot-swe-agent[bot] d7c613ce1a
feat: 双站点开发 — 光湖语言世界主入口 + 零点原核频道
- server/sites/portal/index.html — guanghulab.online 光湖语言世界主入口
- server/sites/yaoming/index.html — guanghuyaoming.com 零点原核频道
- server/app/modules/domestic-llm-gateway.js — 国内四模型智能网关
- server/nginx/guanghuyaoming.conf — 零点原核域名Nginx配置
- 更新 server/app/server.js — 新增 /api/chat/domestic 端点
- 更新部署工作流 — 支持双站点前端同步与Nginx配置注入

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/576c1b97-3ce4-4c28-99f1-9374e2320212

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 09:27:38 +00:00
zhuyuan-bot 038bc4f0f1 📡 部署日志采集 · 24278098339 [skip ci] 2026-04-11 07:57:02 +00:00