copilot-swe-agent[bot]
0bc321c573
fix: 修复 Awen 反向代理 Nginx $connection_upgrade 变量未定义问题
...
根因: workflow 的 map 块重复检测匹配到 sites-available/ 下的自身文件,
导致 map 块被错误移除, $connection_upgrade 变量未定义, nginx -t 失败
修复:
1. 移除模板中的 map 块, 改用硬编码 Connection "upgrade" (与主站配置一致)
2. 移除 workflow 中不再需要的 map 重复检测逻辑
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/70d4f681-cadc-460c-ae2f-f55f121e7a42
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 08:28:20 +00:00
copilot-swe-agent[bot]
1dfd724d78
fix: 全面修复guanghulab.com部署 — 清理所有冲突Nginx配置、正确处理SSL、清除旧网站内容
...
根本原因:HTTP 80被certbot重定向到HTTPS 443,但HTTPS 443由旧配置服务旧内容(铸渊助手v6.0)
修复内容:
1. 全面清理冲突配置 — 移除所有sites-enabled/conf.d中非落地页的server块
2. 中和nginx.conf内嵌server块 — 将默认root重定向到落地页目录
3. 清除旧网站内容 — 备份旧/var/www/guanghulab等目录中的旧页面
4. 正确处理SSL — 有证书时生成完整HTTPS配置+HTTP→HTTPS重定向
5. 改进健康检查 — 独立测试HTTP/HTTPS、验证内容正确性
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/72831904-29bb-41ba-a779-9595be396637
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 02:51:49 +00:00
copilot-swe-agent[bot]
30cabe2773
fix: 修复guanghulab.com部署问题 — 清理Nginx配置冲突+添加default_server+防火墙检查
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/cf7e00b0-8d2a-46c5-ae90-6b90088b3942
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 01:35:32 +00:00
copilot-swe-agent[bot]
0355ddf24a
feat: add Alibaba Cloud deployment workflow for guanghulab.com ICP landing page
...
- Create server/nginx/ali-cn-domain.conf (isolated Nginx config, no default_server)
- Create .github/workflows/deploy-ali-cn-landing.yml with:
- Dual-path SSH: direct connection → SG jump fallback
- Password-based auth via ALI_SERVER_HOST/USER/PASSWORD secrets
- Isolated deployment to /opt/guanghulab-landing/
- Smart Nginx config detection (conf.d vs sites-enabled)
- SSL setup support via certbot
- Health checks with ICP verification
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/897d170d-eb76-4fc4-80c7-40f351735be6
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 01:16:35 +00:00
copilot-swe-agent[bot]
6de783ad4f
fix: guanghulab.com无法打开 + guanghulab.online API不通
...
根因修复:
1. cn-domain.conf: server_name支持裸域名+www双变体
2. deploy-cn-landing.yml: 域名双变体处理 + setup-ssl动作(certbot) + SSL自动注入
3. deploy-to-zhuyuan-server.yml: push事件部署前端到production(guanghulab.online=主域名=production)
4. zhuyuan-sovereign.conf: /api/chat添加CORS头+X-Forwarded-Proto
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/80e337de-dabe-4e86-a711-62d4c47762ec
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 00:21:22 +00:00
copilot-swe-agent[bot]
c4a54a2cf8
fix: 聊天API fallback链修复 + 纠正guanghulab.com域名架构 + 密钥诊断
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/52dcb970-3a2b-4e61-9acb-df3b5fab73c9
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 18:06:22 +00:00
copilot-swe-agent[bot]
56659395eb
🔧 guanghulab.com DNS诊断修复 · 添加域名别名支持+DNS验证
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/df402ed1-c1de-4642-a531-fcb3331e1c05
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 17:51:09 +00:00
copilot-swe-agent[bot]
8ec088624c
fix: 改进CN LLM部署SSH处理 + 明确域名配置要求 (工单三/五修复)
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/bf92e1d8-e789-468b-80ab-2d7fec9be6c2
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:26:31 +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
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
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
copilot-swe-agent[bot]
90cfb0f34d
fix: address code review feedback - YAML validity, grep scope, SSL injection
...
- Fix heredoc-in-YAML issue by using certbot --nginx directly
- Fix shell conditional syntax for SSL cert check
- Narrow grep scope for connection_upgrade map detection
- Clarify map block placement comment in nginx config
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/ca0bb0ab-2625-455a-aa40-fec76e5949f7
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 15:28:19 +00:00
copilot-swe-agent[bot]
41edb50ac5
feat: Awen domain reverse proxy - nginx config, deploy workflow, registry updates
...
- Add server/nginx/awen-domain-proxy.conf (reverse proxy template with placeholders)
- Add .github/workflows/deploy-awen-domain-proxy.yml (deploy/ssl/health/rollback)
- Update server-registry.json with domain_proxy architecture
- Update domain-registry.json with Awen reverse proxy setup steps
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/ca0bb0ab-2625-455a-aa40-fec76e5949f7
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 15:26:03 +00:00
copilot-swe-agent[bot]
656febf8d6
feat: P1 带宽共享验证Agent做到GitHub Pages首页
...
- docs/index.html 新增带宽共享页面 (#pg-bandwidth)
- 邮箱输入 + 发送验证码按钮
- 6位验证码输入 + 同意共享协议
- 实时带宽池状态显示 (贡献者/活跃/总贡献)
- 60秒发送冷却 + 前端表单校验
- 完整CSS样式 (暗色主题风格)
- docs/index.html 系统页新增快速入口
- 🌊 带宽共享加速池 → 跳转到带宽页
- 🎖️ 铸渊副将留言板 → 创建Issue
- subscription-server-v3.js 新增3个公开API
- POST /bandwidth-send-code (发送验证码·限流3次/小时)
- POST /bandwidth-verify-code (验证码校验+注册贡献者)
- GET /bandwidth-pool-status (带宽池状态)
- OPTIONS预检支持 (CORS跨域)
- zhuyuan-sovereign.conf Nginx增加CORS支持
- README.md 仪表盘增加副将Agent状态区
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a513d091-ce5c-40d4-bb3c-0adeff70b5b0
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-07 17:24:43 +00:00
copilot-swe-agent[bot]
25ccc35cb3
feat(S15): MCP Server API Key鉴权 + Nginx反向代理 + 人格体COS隔离路径 + D51-3密钥生成器
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/47ef90c4-eb62-4d91-9f21-475c33a7d166
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-07 15:14:43 +00:00
copilot-swe-agent[bot]
1492ba0009
fix: remove clickable links from emails, add public auth page with verification code input
...
- email-hub.js: Remove all <a href> links from bandwidth-auth and V3 subscription emails
- Emails now contain only verification code + plain text URL guidance
- Guide users to manually type guanghulab.online/auth in Chrome browser
- Remove authPageUrl parameter from sendBandwidthAuthEmail()
- Remove bwAuthUrl from generateSubscriptionV3Email()
- Simplify CLI bandwidth-auth and batch sendBandwidthAuthAllEmail()
- subscription-server-v3.js: Add public bandwidth-auth-open endpoint
- GET /bandwidth-auth-open: Public auth page with email + code input + consent checkbox + "我同意授权" button
- POST /bandwidth-auth-open: Validate email + code, register contributor, save operation snapshot
- Add saveAuthSnapshot() function for user operation audit trail
- Update existing token-based auth page button text to "我同意授权"
- Add snapshot saving to existing token-based auth POST handler
- Remove authPageUrl from /bandwidth-send-code/{token} endpoint
- zhuyuan-sovereign.conf: Add /auth short path proxy in preview domain
- guanghulab.online/auth → V3 subscription service /bandwidth-auth-open
- Users type short URL instead of full API path
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/1de8212f-1deb-462f-8d19-03f82a7ec9fe
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 10:57:22 +00:00
copilot-swe-agent[bot]
bc8af453e5
fix: 提取验证码冷却常量 + Nginx桥接协议说明注释
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5deef078-5765-44a5-b9bf-03476c0fddce
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 10:25:34 +00:00
copilot-swe-agent[bot]
3b4c0a76af
feat: V3桥接Nginx配置 + 合并用户管理到∞工作流 + 部署工作流ZY_BRAIN_HOST注入
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5deef078-5765-44a5-b9bf-03476c0fddce
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 10:22:05 +00:00
copilot-swe-agent[bot]
578b50dd22
fix: 铸渊专线Nginx反代根因修复 — default_server + localhost + 健康检查Host头 + 全流程验证进度表
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/b544c0e1-240b-465e-9194-6ca0e2719deb
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-04 12:16:09 +00:00
copilot-swe-agent[bot]
71eda1389f
fix: 铸渊专线订阅服务修复 — PM2 fork模式、错误处理、Nginx配置路径、健康检查增强
...
根因分析:
- PM2使用cluster模式可能干扰server.listen('127.0.0.1')绑定
- subscription-server.js缺少try-catch和进程级错误处理,异常导致静默崩溃
- deploy-proxy.sh的configure_nginx()目标文件错误(/etc/nginx/sites-enabled/default → zhuyuan.conf)
- update()不调用configure_nginx(),主部署覆盖Nginx配置后proxy-sub location丢失
- 健康检查仅测直连3802,未验证Nginx反代路径
- Nginx反代缺少proxy_connect_timeout/proxy_read_timeout
修复:
1. ecosystem.proxy.config.js: 添加exec_mode:'fork'防止cluster模式
2. subscription-server.js: 请求级try-catch + server error/clientError事件 + uncaughtException保护
3. deploy-proxy.sh: configure_nginx()自动查找正确配置文件 + update()调用configure_nginx + 双路健康检查
4. zhuyuan-sovereign.conf: 添加proxy timeout配置
5. nginx-proxy-snippet.conf: 同步更新proxy_http_version和timeout
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/88ed5687-7596-4d04-b181-57c89c032004
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-04 09:45:36 +00:00
copilot-swe-agent[bot]
23c70c3262
fix: 域名修正 guanghu.online → guanghulab.online + CN中转Nginx stream动态模块加载修复
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/b50bddfa-167a-4a14-afda-39a2c2afd592
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-31 09:23:19 +00:00
copilot-swe-agent[bot]
eaa6c89864
fix: restore Reality dest to microsoft.com + add CN relay architecture
...
Root cause: previous change of dest from www.microsoft.com:443 to 127.0.0.1:8443
broke Reality anti-probing — GFW detected certificate mismatch and blocked VPN.
Fix 1: Restore dest to www.microsoft.com:443 (Reality anti-probing works)
Fix 2: SSL on port 8443 (external, independent from Xray)
Fix 3: CN relay via Guangzhou server (domestic users → CN:2053 → SG:443)
Fix 4: Subscription generates dual-node config (SG direct + CN relay)
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/ddb1f363-5bb4-457a-b769-794c1fe0489a
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-31 08:24:52 +00:00
copilot-swe-agent[bot]
075246c1a8
fix: 修复Xray(VPN)与Nginx(SSL)端口443冲突·实现共存架构
...
核心修复:
- xray-config-template.json: dest从www.microsoft.com:443改为127.0.0.1:8443
- setup-ssl.sh: Nginx SSL监听127.0.0.1:8443(内部)而非443(外部)
- 添加DNS配置确保代理流量DNS解析可靠
架构: Xray(443外部) → 非VLESS流量回落 → Nginx(8443内部SSL)
VPN客户端和HTTPS网站共用443端口互不干扰
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/4ac521db-bc43-4555-af76-a1d30b0ea1c5
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-31 07:56:12 +00:00
copilot-swe-agent[bot]
6891619c81
fix: 代码审查和安全扫描反馈修复
...
- work-order-manager.js: 归档前确保目录存在(mkdirSync recursive)
- staging-ops-agent.js: LLM模型名可配置(ZY_LLM_MODEL环境变量)
- staging-auto-deploy.yml: 工单读取增加try-catch错误处理
- zhuyuan-sovereign.conf: SSL配置块增加域名占位符替换说明
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/bb893563-5fa6-41ba-86e4-b6f87d2c2c32
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-31 06:48:30 +00:00
copilot-swe-agent[bot]
461a270459
feat: 铸渊智能运维架构v1.0 · 自动测试站部署+工单系统+Agent监控
...
冰朔第十五次对话·架构设计+实现:
- staging-auto-deploy.yml: PR合并后自动部署到测试站
- staging-ops-agent.js: 智能运维Agent(健康检查+日志分析+LLM升级+邮件告警)
- work-order-manager.js: 工单管理器(创建/重试/归档/仪表盘)
- data/work-orders/: 工单数据存储
- Nginx SSL配置预留
- brain更新: v22.0
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/bb893563-5fa6-41ba-86e4-b6f87d2c2c32
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-31 06:44:56 +00:00
copilot-swe-agent[bot]
6c20c7efb4
🌐 修复铸渊专线订阅服务连接失败 · 绑定0.0.0.0+Nginx反代+密钥持久化
...
根因: subscription-server.js绑定127.0.0.1导致外部客户端无法连接
修复:
- subscription-server.js: 绑定改为0.0.0.0, getServerHost()增加.env.keys回退
- zhuyuan-sovereign.conf: 添加/api/proxy-sub/反代location块
- deploy-proxy.sh: 新增save_server_host()持久化ZY_SERVER_HOST
- deploy-proxy-service.yml: 部署时export ZY_SERVER_HOST
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f70d170f-1916-4f79-a461-2b674592df30
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-31 05:48:38 +00:00
copilot-swe-agent[bot]
0970f44e5f
铸渊第九次唤醒·服务器初始化确认完成·域名注入机制·Nginx双站点激活·v16.0
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/670bb44d-34f7-4bc3-a351-5e985c1f05dc
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-30 15:27:45 +00:00
copilot-swe-agent[bot]
05121ebf02
chore: 服务器迁移 ZY-SVR-001(香港) → ZY-SVR-002(新加坡)
...
SY-CMD-SVR-013 · 铸渊主权服务器迁移
- IP: 150.109.76.244 → 43.134.16.246
- Region: 香港二区 → 新加坡二区
- OS: Ubuntu 22.04 → 24.04 LTS
- Specs: 4GB/70GB → 8GB/80GB SSD
- Bandwidth: 2048GB → 2560GB/月
- Expiry: 2027-03-29
Updated 17 files across server config, workflows, nginx,
skyeye, brain, README, and deployment scripts.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-29 11:14:42 +00:00
copilot-swe-agent[bot]
c7fb9852d4
双域名架构实现 + 代码审查修复 + 天眼扫描通过
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/deed974d-4a99-48a9-b00a-1d105d5892bc
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-29 04:35:24 +00:00
copilot-swe-agent[bot]
44253d18cc
铸渊主权服务器架构 · ZY-SVR-001 · 六层架构+部署工作流+天眼扫描通过
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/507c2a49-8ad5-4ed9-8db0-0d5699ac51a4
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-29 03:50:23 +00:00