Commit Graph

12 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] edf3cfedd4
修复邮件发送: TLS error handler重构 + 错误信息透传
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/98f7f760-839a-42c7-b716-fa39b6021391

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 03:40:14 +00:00
copilot-swe-agent[bot] 2309984c89
fix: SMTP多行响应解析+邮件错误反馈+加速状态显示+Claude专线独立代理组
1. email-hub.js: 重写SMTP data handler,正确处理多行EHLO响应
   - 使用buffer逐行解析,只在最终响应行(NNN+空格)后发送下一命令
   - 添加SMTP错误码检查(4xx/5xx)

2. subscription-server-v3.js:
   - /bandwidth-send-code: 邮件发送失败时正确返回 success:false
   - 仪表盘新增"带宽共享"加速状态行(🚀 加速已生效)
   - 验证成功后前端实时更新加速状态
   - Clash YAML新增独立 🇺🇸 Claude专线 代理组(type:select)
   - claude.ai/anthropic.com 路由至Claude专线组

3. bandwidth-pool-agent.js:
   - 新增 isContributor(email) 函数
   - 导出新函数

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/875a729b-385f-406d-bb55-05f05b00db9b

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 03:11:06 +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] eab7e2057e
refactor: 邮件模板语言专业化 + 新增V3订阅邮件 + 带宽授权域名切换guanghulab.online
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:18:51 +00:00
copilot-swe-agent[bot] 506dd2dc39
feat: 增加带宽验证码一键发送/单独发送工作流 + VPN系统介绍邮件模板
- email-hub.js: 新增 getVpnSystemIntroHtml() VPN系统介绍模块(技术架构+版本号)
- email-hub.js: generateUpdateNotifyEmail() 加入VPN系统介绍和版本号展示
- email-hub.js: generateBandwidthAuthEmail() 加入VPN系统介绍,优化用户选择说明
- email-hub.js: 新增 sendBandwidthAuthAllEmail() 一键批量发送验证码
- email-hub.js: CLI新增 bandwidth-auth-all 命令
- infinity-evolution.yml: 新增 send-bandwidth-auth (一键全发) 和 send-bandwidth-auth-single (单独发送) 工作流操作

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/05c6782a-aa52-420c-8b7f-3de5ecda8da5

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 09:42:52 +00:00
copilot-swe-agent[bot] 85125fd1c8
修复代码审查反馈:移除zoom禁用(可访问性)、修复Outlook引号、移除邮件transition、优化字体栈
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/b8228c73-6b93-4af9-95a3-6c21b541e045

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 09:09:44 +00:00
copilot-swe-agent[bot] b2d6940e47
重构邮件模板:响应式设计 + 视觉优化 + 修复验证码通道缺失
邮件模板重构:
- wrapEmailTemplate: 添加viewport meta、@media响应式断点(620px/400px)、
  暗色模式支持、table布局兼容Outlook、改善排版层次和间距
- 8种邮件类型全部优化: 更大padding、更好的字体层次、卡片式信息块、
  交替行背景色表格、更宽松的行距(1.8→1.9/2.2)
- 反馈按钮升级为渐变色样式

验证码通道修复:
- CLI bandwidth-auth命令: 根据邮箱查找用户token,构建authPageUrl,
  确保邮件中包含「前往授权页面输入验证码」按钮
- 带宽授权页面(subscription-server-v3.js): 增加@media响应式断点
  (520px/380px)、改善触控体验(更大点击区域)、focus状态增加box-shadow

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/b8228c73-6b93-4af9-95a3-6c21b541e045

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 09:07:49 +00:00
copilot-swe-agent[bot] f840915ba0
∞+1 带宽共享加速 + 蜂群防御 + 用户守护Agent · 冰朔架构落地
新增模块:
- bandwidth-pool-agent.js: 带宽汇聚Agent (验证码授权 + IP加密存储 + 流量池)
- swarm-defense-agent.js: 蜂群防御Agent (融合/分裂 + Moving Target Defense)
- user-guardian-agent.js: 用户守护Agent (威胁切断 + 日志格式化 + 自毁机制)

升级模块:
- email-hub.js: 新增 bandwidth-auth / threat-alert / threat-cleared 邮件类型
- subscription-server-v3.js: 新增 /bandwidth-auth/ 授权页面 + 验证码提交
- ecosystem.brain-proxy-v3.config.js: 注册3个新PM2进程
- infinity-evolution.yml: 新增文件同步 + threat-alert/cleared 工作流操作
- release-notes.json: 更新∞+1版本特性

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e26c30a9-d5c9-4068-959b-bc4acf16ae4e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 08:12:05 +00: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
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
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