Commit Graph

14 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] b48c401a6e fix: deploy feature branch to GitHub Pages so live site reflects all fixes
- deploy-pages.yml: add copilot/** branch pattern so Copilot Agent PRs
  auto-deploy to GitHub Pages while under review (no hardcoded branch name)
- docs/index.html: v3.1 version comment triggers the deploy on this push

This makes the live site immediately show: auto-detect API key, Gemini
provider, sessionStorage key (no cross-session stale key), and all other
fixes from this PR branch.

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 07:20:22 +00:00
copilot-swe-agent[bot] 1af4fd8411 feat: add auto-detect API provider and models from any key
- Add 🔍 自动检测 button in setup form and settings panel
- autoDetectAPI() probes GET /models on all known providers
  (yunwu → openai → gemini → deepseek → moonshot → zhipu)
- Custom endpoint is tried first if one is set
- Auto-fills provider select + model dropdown with live API response
- 8s timeout per probe (PROBE_TIMEOUT_MS constant)
- Shows inline loading/success/error feedback
- Add .det-btn CSS class for consistent button styling

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 06:52:09 +00:00
copilot-swe-agent[bot] c05c84512b feat: add Google Gemini as a named AI provider
- Add gemini entry to PROVS with OpenAI-compatible endpoint
  (https://generativelanguage.googleapis.com/v1beta/openai)
- Include models: gemini-2.0-flash, gemini-2.0-flash-lite, gemini-1.5-pro, gemini-1.5-flash
- Add 🔮 Google Gemini option to setup form and settings panel dropdowns
- Fixes 405 error caused by user entering raw "gemini" text as endpoint URL

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 06:44:04 +00:00
copilot-swe-agent[bot] f6430ffefb fix: 支持聚合 API 平台——自定义提供商模式下允许手动输入任意模型名
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 06:28:08 +00:00
copilot-swe-agent[bot] 33e1f3a746 feat: API 密钥改用 sessionStorage,关闭标签页即消失,彻底解决跨会话旧 Key 残留
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 05:45:56 +00:00
copilot-swe-agent[bot] a42675d2a5 fix: 多层防御修复持续报错旧 Key — no-cache、URL reset、header 重置按钮、扩展 sanitization
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 05:33:24 +00:00
copilot-swe-agent[bot] 447f6a7b3b fix: 根本修复 KEY_MASK bug,密钥框始终为空,添加重置所有设置按钮
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 05:17:41 +00:00
copilot-swe-agent[bot] 5d33beae91 fix: 修复聊天室跳转链接 + API 401 认证错误提示 + 密钥清空重填按钮
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 05:09:04 +00:00
copilot-swe-agent[bot] d92128faed plan: fix chat URL, key mask UX, and 401 error handling
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 05:06:13 +00:00
copilot-swe-agent[bot] 50f6c07fea fix: add yunwu AI as default provider
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 04:50:32 +00:00
copilot-swe-agent[bot] 997229a808 docs: 铸渊使用指南 — README 重写 + 帮助面板 + 一键复制链接
- README.md: 角色专属快速入门(冰朔/肥猫/桔子/开发者),API Key来源表,分享方法,功能一览
- docs/index.html: 新增  帮助按钮和帮助面板(#hp),包含:
  - 一键复制聊天室链接(📋 复制链接·发给队友)
  - 5步使用指南
  - API Key获取说明
  - 肥猫/桔子专属功能说明
  - 离线用法/微信传文件说明
  - 4种聊天模式解释
  - 常见问题FAQ
  - CHAT_URL常量统一管理URL,copyUrl函数含成功/失败反馈

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-05 15:47:00 +00:00
copilot-swe-agent[bot] f669a09d2b feat: 铸渊聊天室 v3.0 - 身份/角色系统 + 总控指挥台 + 团队进度看板
- 新增身份识别系统(冰朔=创始人, 肥猫=总控, 桔子=主控, 9名开发者)
- 总控/主控/创始人专属 🦁 指挥台面板,显示全员进度、等待阻塞、服务器信息
- 身份感知欢迎词:肥猫看到团队概况,桔子看到个人进度,开发者看到自己状态
- 角色徽章显示在 header,总控专属快捷指令按钮
- 角色感知 system prompt:控制层自动注入全员进度数据
- 加载 dev-status.json 团队进度数据
- 身份/GitHub用户名持久化到 localStorage,⚙️ 设置中可修改
- 角色徽章由 ROLE_MAP 统一管理,无硬编码 dev ID

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-05 15:31:04 +00:00
copilot-swe-agent[bot] dca614ebd3 feat: 铸渊助手 v2.0 — 真实 AI 流式对话 + API 接入 + 桌面下载 + 模式自动切换
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-05 13:31:50 +00:00
copilot-swe-agent[bot] 27493ce4c1 feat: 铸渊聊天室 — docs/index.html GitHub Pages UI + deploy-pages.yml + README 入口
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-05 12:58:42 +00:00