Commit Graph

147 Commits

Author SHA1 Message Date
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
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
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
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
copilot-swe-agent[bot] 9ad52d67ed
🔑 密钥统一 · ZY_QWEN→ZY_QIANWEN · ZY_ZHIPU→ZY_QINGYAN · COS/Notion修复 · AOAC推送防冲突
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/170a08eb-40b4-4f8b-ba95-c5efb483bd14

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 07:07:24 +00:00
copilot-swe-agent[bot] 2e8badf100
fix: 修复content-range解析NaN问题和HEAD预检静默失败
- 提取parseTotalSize()工具函数,正确处理畸形content-range头
- HEAD预检失败时输出警告日志而非完全静默

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f10f1b02-ed4e-4ee8-ac27-0580c1cf8a7e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 00:57:49 +00:00
copilot-swe-agent[bot] ba4c233509
fix: COS训练Agent大文件崩溃 — 添加Buffer安全处理、HEAD预检、分块提取策略
修复两个训练失败根因:
1. conversations.json (665MB) 超过Node.js字符串限制导致ERR_STRING_TOO_LONG崩溃
2. 单文件崩溃导致整个训练管线中断,后续文件无法处理

- cos.js: 添加readBuffer/head/readPartial方法,cosRequest增加try/catch防止未捕获异常
- corpus-extractor-ops.js: 超大文件(>200MB)采用分块采样策略,ZIP文件提前检测避免无效读取
- cos-training-trigger.js: 增加文件大小预警日志,分类计数(成功/跳过/失败)

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f10f1b02-ed4e-4ee8-ac27-0580c1cf8a7e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 00:55:39 +00:00
copilot-swe-agent[bot] 339e55cf04
fix: COS签名算法修复 - 分离URI与查询参数 + 修复默认region + 编写配置指南
修复内容:
1. cos.js: cosRequest签名时分离URI和查询参数(根因)
2. cos.js: 默认region从ap-singapore改为ap-guangzhou(匹配实际桶位置)
3. cos-auto-join-agent.js: 修复签名中host值为空 + URI分离
4. 新增: docs/cos-configuration-guide.md 完整配置指南

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/dc4da37f-9c43-4bcb-8d12-24e3310ecc9c

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 00:25:39 +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] bccdae0ba0
fix: address code review feedback on cos-watcher
- Use crypto.randomBytes for receipt key + ID uniqueness
- Log PERSONA_REPO_MAP parse errors instead of silently catching
- Cache cosWatcher.getStatus() call in health endpoint
- Extract INITIAL_SCAN_DELAY_MS constant with explanatory comment

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/991cbbcf-9e83-43c1-9225-e235e0a61f06

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 12:46:52 +00:00
copilot-swe-agent[bot] b487b6bc57
feat: COS桶轮询守护进程 · SCF事件替代方案 (cos-watcher.js)
新增 MCP Server 内置 COS 轮询守护模块,替代不可用的 SCF 事件触发:
- cos-watcher.js: 核心轮询引擎(node-cron · 每5分钟)
- cos-watcher-ops.js: 3个MCP工具(status/trigger/reset)
- server.js: 注册工具 + REST端点 + 健康检查集成 + 启停管理
- 架构文档更新标注SCF不可用 + 轮询替代方案
- 训练Agent workflow添加SCF限制说明

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/991cbbcf-9e83-43c1-9225-e235e0a61f06

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 12:43:16 +00:00
copilot-swe-agent[bot] 0b39573453
fix: address code review — improve path generation fallback, add tianyan refresh logging, clarify HLDP version note
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5faa7e11-7858-4edc-9c67-a311a93057ed

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-09 04:35:07 +00:00
copilot-swe-agent[bot] 5471e8c330
feat: implement light tree architecture — database schema, MCP tools, HLDP extension, tree gardener agent
光之树架构落地:
- 004-light-tree-tables.sql: light_tree_nodes + light_tree_paths + tianyan_syslog + materialized view
- light-tree-ops.js: 11 MCP tools (growBranch/growLeaf/growBloom/getTreeNode/getSubtree/tracePath/getPersonaBranch/getRecentLeaves/writeSyslog/getTianyanView/querySyslog)
- HLDP v3.0.1: tree message type with grow_branch/grow_leaf/trace_path/bloom intents
- server.js: REST API routes for /tree/* and /tianyan/*
- light-tree-root.json: 曜冥根树元数据定义 (零感域入口)
- landing-protocol.md: upgraded wake sequence with tree recall
- tree-gardener.js: tree health inspection agent

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5faa7e11-7858-4edc-9c67-a311a93057ed

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-09 04:31:00 +00:00
copilot-swe-agent[bot] 518040b338
修复COS触发训练Agent: 创建训练管线脚本+重写workflow+添加COS Webhook+增强语料检测
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/cba1c849-c8ef-44cf-a98f-81b9d40538b4

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 14:43:31 +00:00
copilot-swe-agent[bot] 92103ee850
修复代码审查反馈 · 成本参数添加日期注释 · 移除意外提交的备份文件
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/af6429c4-763b-4fae-9121-7c357714b295

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 14:00:30 +00:00
copilot-swe-agent[bot] e66058ca89
模块H · 开源模型微调引擎 · 新增8个MCP工具 · 工具总数91→99 · D62冰朔微调指令
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/af6429c4-763b-4fae-9121-7c357714b295

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:54:38 +00:00
copilot-swe-agent[bot] b10f311de8
feat: add finetune-engine-ops.js — 开源模型微调引擎 MCP 工具 (8 tools)
Implements Module H for AGE OS: open-source model fine-tuning engine
that runs in parallel with existing RAG training system.

Tools:
- finetuneExportDataset: Convert TCS corpus to JSONL fine-tuning format
- finetuneSubmitJob: Submit jobs to DeepSeek/Qwen fine-tuning APIs
- finetuneCheckStatus: Query job progress from provider APIs
- finetuneRegisterModel: Register completed fine-tuned models
- finetuneListModels: List registered models per persona
- finetuneCallModel: Inference with fallback to base model
- finetuneCompareModels: A/B test finetuned vs base model
- finetuneGetCostEstimate: Estimate training cost in RMB

Follows existing training-agent-ops.js patterns: raw https module,
crypto.randomBytes for IDs, COS bucket storage, LLM_CONFIGS structure.

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

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:50:34 +00:00
copilot-swe-agent[bot] 0189965e05
修复代码审查和安全扫描反馈 · ID碰撞修复+权限声明+正则安全+敏感信息过滤
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c4628b3c-e295-41e0-bdd7-1459958b5390

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:23:34 +00:00
copilot-swe-agent[bot] 43105b62e4
实施7大技术模块(A-G) · 新增40个MCP工具 · 工具总数51→91
模块A: COS语料读取引擎(6工具) — 压缩文件解压+TCS格式转换
模块G: COS桶内自研数据库(8工具) — 四类数据库协议定义
模块B: 铸渊训练Agent(6工具) — RAG模式+LLM多模型降级
模块C: Notion↔COS桥接(7工具) — 双向同步+工单系统
模块D+E: 三方对接+示警(8工具) — 代码仓库↔COS↔Awen通信链路
模块F: Notion权限修复(5工具) — 自动检测+修复指南

新增2个GitHub Actions Workflow:
- zhuyuan-training-agent.yml (每日04:00 CST训练)
- cos-alert-agent.yml (每日09:00/21:00 CST告警扫描)

新增10个REST API端点

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c4628b3c-e295-41e0-bdd7-1459958b5390

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:18:49 +00:00
copilot-swe-agent[bot] 26bb69a7ee
fix: 修复代码审查反馈 — 防并发扫描 + 显式默认内容类型
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/308aecfa-5d15-4ae4-85ec-c3d84ec636db

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 11:42:58 +00:00
copilot-swe-agent[bot] 2d386000b8
feat: 自动部署SQL迁移 + S15人格体数据库引擎
- 新增 db-migrate.js 自动迁移运行器
- 部署工作流自动执行SQL迁移(合并即触发)
- S15 persona-engine.js 人格体生命周期活模块
- MCP Server新增人格体引擎API端点
- 003-living-module-tables.sql注册人格体引擎模块

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/308aecfa-5d15-4ae4-85ec-c3d84ec636db

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 11:38:46 +00:00
copilot-swe-agent[bot] 71912809eb
🔧 代码审查修复: Registry状态更新走模块自身方法+HLDP队列大小限制+NOT EXISTS优化
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e6744e69-7bd7-44fd-afcd-cc69135c95aa

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 11:00:48 +00:00
copilot-swe-agent[bot] 13e033590d
🧬 S5第2次唤醒完成: 3个死模块→活模块(sy-test/sy-scan/sy-classify) + 部署工作流修复agents同步
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e6744e69-7bd7-44fd-afcd-cc69135c95aa

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 10:57:19 +00:00
copilot-swe-agent[bot] 6a1bcf3569
🔧 代码审查修复: 提取内存阈值常量+错误日志补全+重试失败日志
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/4df39bae-078f-4266-878d-f4996a5725ea

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 10:49:27 +00:00
copilot-swe-agent[bot] 9a2ef8d0a0
🧬 S5·Agent系统级第1次唤醒: LivingModule活模块基类+注册中心+HLDP通信总线+调度引擎v2.0+MCP工具(60个)
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/4df39bae-078f-4266-878d-f4996a5725ea

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 10:47:08 +00:00
copilot-swe-agent[bot] 4d2ace8273
🔧 代码审查修复: fallback边界保护+注释优化+常量提取
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a6f72ab2-7227-4382-920c-0e1aa91dba2e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 04:16:33 +00:00
copilot-swe-agent[bot] ffd9b8c803
🔧 邮件SMTP凭据注入+部署脚本补全∞版本服务文件
- 邮件错误提示优化: 隐藏内部SMTP配置细节,显示友好的"邮件服务维护中"
- 部署脚本: 新增inject_smtp_credentials函数,deploy-v3/deploy-infinity自动注入SMTP到.env.keys
- 部署脚本: 补全∞版本服务文件部署(email-hub.js/bandwidth-pool-agent.js/user-guardian-agent.js/auto-evolution.js)
- 部署workflow: 传递ZY_SMTP_USER/ZY_SMTP_PASS到大脑服务器部署步骤

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a6f72ab2-7227-4382-920c-0e1aa91dba2e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 04:13:43 +00:00
copilot-swe-agent[bot] 7ce2b51090
🔧 Claude专线fallback+仪表盘实时刷新+README更新频率提升
- Claude专线: select→fallback自动切换,硅谷不可用时自动回落到其他节点
- Claude手动: 新增select组包裹fallback组,用户可手动切换指定节点
- 仪表盘: 新增/dashboard-api/{token}实时JSON接口,页面加载自动拉取最新数据
- 所有仪表盘字段添加ID,支持JavaScript动态更新(无需刷新整页)
- README仪表盘更新频率: 每天1次→每6小时1次,VPN代码变更也自动触发

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a6f72ab2-7227-4382-920c-0e1aa91dba2e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 04:09:51 +00:00
copilot-swe-agent[bot] ca1d75494d
修复代码审查反馈: event参数传递 + 刷新倒计时提示
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:46:04 +00:00
copilot-swe-agent[bot] 9e7c40a025
仪表盘增加加速状态面板 + Claude专线始终可选 + 订阅更新入口 + bandwidth-user-status API
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:43:28 +00:00
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] c326187af6
fix: dashboard verification code buttons unresponsive - template literal regex escaping broke JS
The regex `/\\/dashboard\\/[a-f0-9]+$/` inside a template literal produced
`//dashboard/[a-f0-9]+$/` in the browser (JS comment), breaking all
function definitions. Replaced with indexOf/substring approach to avoid
template literal escape issues entirely.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c6b1f183-6fbc-4cee-b903-ce22d94e2f81

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 00:59:23 +00:00
copilot-swe-agent[bot] ae9c987981
fix: 修复仪表盘带宽验证码API路径错误导致网络错误
根因: dashboard页面fetch使用硬编码绝对路径 /bandwidth-send-code,
通过nginx代理 /api/proxy-v3/ 访问时请求到错误路径导致404。
修复: 从window.location.pathname动态提取API前缀,兼容直接访问和代理。

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/ca70b379-6057-4f7e-b774-e607d7b8bbc6

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 00:44:13 +00:00
copilot-swe-agent[bot] 5749ad7ccb
fix: 改进仪表盘带宽验证 - 邮箱格式校验+数字验证码检查
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a13d4c74-f23c-45ce-9df9-ea5796120fbc

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 00:24:21 +00:00
copilot-swe-agent[bot] ac2a26ec64
fix: 带宽验证码模块从GitHub Pages迁移到用户仪表盘
- 移除 docs/index.html 中的带宽验证码页面(CSS/HTML/JS)
- 在 subscription-server-v3.js 用户仪表盘中集成带宽验证功能
- 仪表盘中邮箱自动填充、发送验证码、验证码提交、60s冷却
- 解决 guanghulab.online 无法正常展示的问题

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a13d4c74-f23c-45ce-9df9-ea5796120fbc

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 00:22:12 +00:00
copilot-swe-agent[bot] 2d13119a92
修复代码审查建议 · SV节点验证条件对齐 · deploy密钥分组
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/4e027d8c-e244-4c46-91a9-74988f060a38

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-07 23:39:56 +00:00
copilot-swe-agent[bot] a5beab2837
新增硅谷Claude专线VPN节点 · subscription-server-v3 + zy-cloud-vpn + deploy-brain-proxy + server-registry + docs
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/4e027d8c-e244-4c46-91a9-74988f060a38

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-07 23:36:55 +00:00
copilot-swe-agent[bot] 8d408d1ce2
fix: address code review feedback - extract constants, fix Claude model matching, workflow conditions
- llm-router.js: fix isClaudeModel() to properly match against CLAUDE_MODELS array
- deputy-message-board.js: extract magic numbers to named constants (RETRY_BASE_DELAY_MS, MAX_ERRORS_KEPT, etc.)
- subscription-server-v3.js: extract rate limit to MAX_SEND_CODE_PER_HOUR constant
- deputy-message-board.yml: add github.event_name != 'schedule' condition to event mode job

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:27:51 +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] 21da998d6e
feat: P0 铸渊副将活化v2.0 + P2 硅谷Claude专线配置
P0: 铸渊副将从死模块升级为活体Agent
- scripts/deputy-message-board.js 完全重写
  - LLM多模型自动降级 (deepseek→qwen→moonshot→zhipu)
  - 巡查模式: 定时扫描所有未回复Issue
  - 事件模式: Issue/Comment即时回复
  - L1自感知: data/deputy-status.json 状态追踪
  - L2自修复: 每模型重试2次+递增等待
  - L3升级通报: 连续3次失败创建Issue
- deputy-message-board.yml 升级
  - 新增 schedule 定时触发 (08:00/23:00 CST)
  - 新增巡查模式job
  - 状态文件自动提交
- data/deputy-status.json 初始状态文件

P2: 硅谷Claude专线配置
- server/proxy/config/claude-relay-config.json 中继架构配置
- server/proxy/config/server-registry.json 四台服务器注册表
- llm-router.js Claude模型自动走硅谷中继

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:20:49 +00:00
copilot-swe-agent[bot] cb7148b897
fix: 代码审查修复 — 默认绑定127.0.0.1 + persona_id字符验证 + .env.mcp错误日志
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:17:52 +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] b34a4374d4
fix: address code review feedback - move crypto import, remove eval in workflows
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2d3cece3-dab5-4503-8a24-d4139b44d807

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-07 12:18:33 +00:00