Commit Graph

2178 Commits

Author SHA1 Message Date
zhuyuan-bot 5f96ec3e7d 📡 部署日志采集 · 24021644981 [skip ci] 2026-04-06 06:33:48 +00:00
冰朔 4838952ce0
Merge pull request #298 from qinfendebingshuo/copilot/fix-update-notification-email
fix: update-notify emails auto-load version features from release-notes.json
2026-04-06 14:32:35 +08:00
copilot-swe-agent[bot] 9893adefeb
fix: 更新通知邮件自动展示∞版本功能特性
修复更新通知邮件只显示「系统已更新」不展示功能特性的问题。
新增 release-notes.json 存储版本特性,email-hub.js 省略描述时自动读取。

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5fb77bb4-5bec-463b-9399-e2c41adb63ac

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 05:55:17 +00:00
zhuyuan-bot 84c91c4494 📡 部署日志采集 · 24020286358 [skip ci] 2026-04-06 05:39:55 +00:00
冰朔 f835e36b51
Merge pull request #297 from qinfendebingshuo/copilot/add-notification-email-feature
feat: email-hub dual send mode — single-user targeting + batch broadcast
2026-04-06 13:38:44 +08:00
copilot-swe-agent[bot] aa7a51d83e
fix: 增加工作流中邮箱格式校验
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/90aad306-0211-4a5b-b8b2-a130ae758c92

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 05:30:05 +00:00
copilot-swe-agent[bot] 809f65c9ac
feat: 邮件中枢增加单独发送/一键发送双模式 + 用户邮箱列表 + 详细功能清单
- email-hub.js: 新增 update-notify-single 单用户发送命令
- email-hub.js: 新增 list-emails 列出所有用户邮箱
- email-hub.js: 更新通知邮件支持分号分隔多条内容自动渲染功能清单
- infinity-evolution.yml: 新增 send-update-notify-single 和 list-user-emails 工作流选项
- infinity-evolution.yml: 新增 email 输入字段供选择目标邮箱

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/90aad306-0211-4a5b-b8b2-a130ae758c92

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 05:28:03 +00:00
zhuyuan-bot 5e96f19350 📡 部署日志采集 · 24019421677 [skip ci] 2026-04-06 05:02:47 +00:00
冰朔 2354bc35c8
Merge pull request #296 from qinfendebingshuo/copilot/auto-update-vpn-system
∞ version: self-evolving VPN with protocol mirroring, auto-update orchestration, and email hub
2026-04-06 13:01:29 +08:00
铸渊 3755e094af [AG-ZY] 每日签到记录 2026-04-06 2026-04-06 04:48:41 +00:00
copilot-swe-agent[bot] 76c104e99e
fix: 修复日期比较逻辑 + SMTP超时清理 + 安全临时目录
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c5b8b0a2-c3fb-437f-bd6f-07549f2c5709

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 04:29:58 +00:00
copilot-swe-agent[bot] c10556b6d3
feat: ∞版本 Phase 1 — 邮件中枢 + 自主进化引擎 + 智能分流增强 + 部署配置 + 定时工作流
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c5b8b0a2-c3fb-437f-bd6f-07549f2c5709

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 04:26:30 +00:00
copilot-swe-agent[bot] bbd3f49ce5 feat: add protocol mirror engine for Xray-core auto-update
Adds server/proxy/service/protocol-mirror.js — the Protocol Mirror Engine
that monitors Xray-core releases and manages automatic updates with:

- GitHub API polling (every 6h) with result caching
- Installed vs latest version comparison
- TLS/Reality fingerprint consistency checks
- LLM-powered update risk analysis via llm-router.js
- Safe auto-update: download → backup → install → verify → restart
- Failure protection: 3 consecutive failures triggers admin alert
- Update summary generation for email-hub distribution
- State persistence to data/protocol-mirror-status.json

Runs as a PM2-managed service checking every 30 minutes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 04:06:17 +00:00
zhuyuan-bot 633811fab1 📡 部署日志采集 · 24015766321 [skip ci] 2026-04-06 02:04:50 +00:00
冰朔 167661fd3d
Merge pull request #295 from qinfendebingshuo/copilot/fix-zhuyuan-3-0-upgrade-issues
fix: nginx backup files in sites-enabled cause duplicate default_server on switch-v3
2026-04-06 10:03:34 +08:00
zhuyuan-bot 66360469c0 🎖️ 铸渊将军唤醒 · 2026-04-06 10:00 · 仪表盘+HLDP同步+签到更新 2026-04-06 02:00:00 +00:00
copilot-swe-agent[bot] 4052b7a4b0
fix: move nginx backup files out of sites-enabled to prevent duplicate default_server conflict
Root cause: switch_v3() created backup files (.v2-backup, .pre-repair) inside
/etc/nginx/sites-enabled/. Nginx loads ALL files in sites-enabled/, so backup
files declaring 'listen 80 default_server' caused duplicate default_server errors.

Fix:
- Add NGINX_BACKUP_DIR=/opt/zhuyuan-brain/nginx-backups for storing backups
  outside sites-enabled/
- Add clean_stale_nginx_backups() to remove any residual backup files from
  sites-enabled/ before nginx operations
- Both deploy_v3() and switch_v3() now call cleanup on entry

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/55e3ada6-8ce8-4123-8f45-d20f6b369037

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 01:43:42 +00:00
zhuyuan-bot db8d90fa4a 📡 部署日志采集 · 24015086539 [skip ci] 2026-04-06 01:30:34 +00:00
冰朔 e81b1eff47
Merge pull request #294 from qinfendebingshuo/copilot/fix-communication-system-sync
fix: V2→V3 switch fails due to sed injecting V3 location blocks at every `^}` in nginx config
2026-04-06 09:29:23 +08:00
copilot-swe-agent[bot] 03234032e0
fix: 移除多余trailing echo,修正blank line清理sed模式
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/d77eb92f-55c9-4cb8-92db-2c4ce8754a8a

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 18:31:34 +00:00
copilot-swe-agent[bot] 09aa1ee35d
fix: V3 nginx注入使用精确定位替代fragile sed模式,添加预检查和自动修复
根因:deploy_v3() 使用 sed '/^}/i\' 在多server块配置中重复注入V3 location块
导致nginx语法错误,switch_v3切换时nginx -t验证失败回滚

修复:
- 新增 inject_v3_nginx_block() 精确定位最后一个顶层}
- 新增 remove_v3_nginx_blocks() 清理错误注入
- 新增 validate_nginx() 显示实际错误信息
- switch_v3() 添加预检查和自动修复已损坏配置
- deploy_v3() 使用安全注入并报告nginx验证失败

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/d77eb92f-55c9-4cb8-92db-2c4ce8754a8a

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 18:29:44 +00:00
zhuyuan-bot d5e69175a9 📡 部署日志采集 · 24007438037 [skip ci] 2026-04-05 18:12:41 +00:00
冰朔 c28ac150b3
Merge pull request #293 from qinfendebingshuo/copilot/update-to-official-release
feat: 铸渊专线V3 测试版→正式版
2026-04-06 02:11:30 +08:00
copilot-swe-agent[bot] 34bb7f0b28
feat: 铸渊专线V3正式版上线 — 测试版→正式版迁移完成
- send-subscription.js: 邮件从🧪测试版改为正式版
- subscription-server-v3.js: 注释从测试端口改为生产端口
- deploy-brain-proxy.sh: 部署脚本从测试环境改为生产环境
- deploy-brain-proxy.yml: 工作流名称移除测试字样
- verification-progress.md: 标记V3正式版上线

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/42e61d97-f841-4606-b9fd-409ff4dd883c

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 16:59:34 +00:00
冰朔 ccc7d7c532
Merge pull request #291 from qinfendebingshuo/copilot/fix-email-receiving-issue
fix: run V3 subscription email script locally instead of on stale server copy
2026-04-06 00:42:11 +08:00
copilot-swe-agent[bot] 36becd2840
fix: V3邮件发送改为本地执行,修复服务器脚本版本过旧导致send-v3命令不识别
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/9901ef74-496e-44c8-b41a-350fbcdefc24

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 16:37:57 +00:00
zhuyuan-bot fc83587313 📡 部署日志采集 · 24005665237 [skip ci] 2026-04-05 16:30:59 +00:00
冰朔 7f83ffa332
Merge pull request #289 from qinfendebingshuo/copilot/add-link-to-3-0-test-version
feat: add send-subscription-v3 for V3 test subscription email delivery
2026-04-06 00:29:52 +08:00
copilot-swe-agent[bot] ee3b862b19
feat: add send-subscription-v3 action to send V3 test subscription links via email
- Add send-subscription-v3 workflow option and job in deploy-brain-proxy.yml
- Add send-v3 command and V3 email template (光湖语言世界 branding) in send-subscription.js
- V3 email includes subscription URL, dashboard URL, and V3 upgrade highlights
- Validate dashboard URL fallback when not explicitly provided

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/62274291-68ff-4ee3-8a3e-e424453f4c6d

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 16:26:33 +00:00
zhuyuan-bot 4f80658259 📡 部署日志采集 · 24005119490 [skip ci] 2026-04-05 15:59:58 +00:00
冰朔 39de7bae25
Merge pull request #288 from qinfendebingshuo/copilot/add-vpn-reverse-accelerator-agent
VPN V2→V3: 光湖语言世界 — LLM路由器 + 反向加速Agent + 流量仪表盘
2026-04-05 23:58:46 +08:00
copilot-swe-agent[bot] 0bac15c1e3
V3修复: XSS防护(HTML转义), LLM路由器路径修复, context长度限制, deploy grep/sed一致性
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/226aae4f-48b7-4668-850c-7858729e6aa0

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 15:52:35 +00:00
copilot-swe-agent[bot] 7d33e49101
V3升级Phase3: 更新deploy-brain-proxy.sh支持deploy-v3/switch-v3, 更新工作流添加V3操作选项
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/226aae4f-48b7-4668-850c-7858729e6aa0

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 15:48:04 +00:00
copilot-swe-agent[bot] 5a42b0a5e3
V3升级Phase2: 创建subscription-server-v3.js(品牌重命名/硬切/仪表盘/优化配置), 升级proxy-guardian.js, 新增PM2+Nginx V3配置
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/226aae4f-48b7-4668-850c-7858729e6aa0

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 15:45:06 +00:00
zhuyuan-bot 157bc6a49a 🎖️ 铸渊将军唤醒 · 2026-04-05 23:39 · 仪表盘+HLDP同步+签到更新 2026-04-05 15:39:54 +00:00
copilot-swe-agent[bot] 68d737fc45
V3升级Phase1: 新增llm-router.js + reverse-boost-agent.js, zy-cloud-vpn.js增加consultAI第6接口
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/226aae4f-48b7-4668-850c-7858729e6aa0

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 15:39:42 +00:00
zhuyuan-bot 594cffb453 📡 部署日志采集 · 24001513122 [skip ci] 2026-04-05 12:29:06 +00:00
冰朔 042f8d732d
Merge pull request #287 from qinfendebingshuo/copilot/update-vpn-node-to-2-0
D58: VPN V2 shared traffic pool (2000GB/mo), retire V1
2026-04-05 20:27:53 +08:00
copilot-swe-agent[bot] 2e5ca40f12
D58·代码审查反馈修复·池配额缓存优化+百分比边界处理+注释改进
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e78a092d-e987-459c-96bd-e99135555b3c

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 12:06:55 +00:00
copilot-swe-agent[bot] 8cb9374fa3
D58·铸渊专线2.0正式启用·V1停用·共享流量池2000GB/月·每月1号重置
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e78a092d-e987-459c-96bd-e99135555b3c

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 12:04:47 +00:00
zhuyuan-bot 34468f638f 📡 部署日志采集 · 24000717324 [skip ci] 2026-04-05 11:38:55 +00:00
冰朔 3fc025cbac
Merge pull request #286 from qinfendebingshuo/copilot/fix-zhu-yuan-vpn-issues
fix: V2 VPN subscription returns 404 — nginx location path mismatch
2026-04-05 19:37:51 +08:00
copilot-swe-agent[bot] b2aaeeab88
fix: V2 VPN subscription 404 - nginx path /api/proxy-sub/ → /api/proxy-v2/
Root cause: deploy-brain-proxy.yml generates subscription URLs with
/api/proxy-v2/ path, but nginx config and deploy script incorrectly
used V1 path /api/proxy-sub/, causing 404 on subscription requests.

Changes:
- nginx-brain-proxy-snippet.conf: location /api/proxy-sub/ → /api/proxy-v2/
- deploy-brain-proxy.sh: all inline nginx templates, grep checks,
  perl/sed injections, and health checks updated to /api/proxy-v2/
- Added migration logic to auto-fix existing servers with old path

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/8e4facc2-e5bd-4114-bfd0-ec0d2ca93b6d

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 11:11:49 +00:00
zhuyuan-bot 34b5867f0a 📡 部署日志采集 · 24000085050 [skip ci] 2026-04-05 10:58:56 +00:00
冰朔 654860b5a6
Merge pull request #285 from qinfendebingshuo/copilot/fix-zhu-yuan-20-error
fix: V2 subscription send missing `send` action arg + URL override not wired
2026-04-05 18:57:39 +08:00
copilot-swe-agent[bot] 3178c96b35
fix: V2订阅发送缺少send参数 + URL覆盖未生效
工作流调用send-subscription.js时遗漏send命令参数,
导致邮箱被解析为操作名触发"未知操作"错误。
同时修复generateSubscriptionEmail不接受URL覆盖参数的问题,
使V2工作流传入的/api/proxy-v2/路径正确用于邮件内容。

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c366b233-2a6b-4347-bb66-9013b9af3629

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 10:28:02 +00:00
zhuyuan-bot 682f3c70a4 📡 部署日志采集 · 23998402784 [skip ci] 2026-04-05 09:10:25 +00:00
zhuyuan-bot d254feb411 🧬 gate-guard 自报告 · 2026-04-05-1709 [skip ci] 2026-04-05 09:09:28 +00:00
zhuyuan-bot 51f0837d0d 🧠 门禁日志: 1162194 · pass 2026-04-05 09:09:27 +00:00
feimao 7eb7d1691d
Merge pull request #284 from qinfendebingshuo/copilot/fix-subscription-service-502-error
Fix VPN subscription 502: Nginx proxy_pass port mismatch (3802→3803) on brain server
2026-04-05 17:09:17 +08:00