Commit Graph

50 Commits

Author SHA1 Message Date
铸渊 (ZhùYuān) 8f0f9b35ce 📋 自动更新 HoloLake Era 模块文档 · 2026-03-10 15:36 UTC 2026-03-10 15:36:02 +00:00
铸渊 (ZhùYuān) 1bb120d9ba 📋 自动更新 HoloLake Era 模块文档 · 2026-03-10 13:23 UTC 2026-03-10 13:23:52 +00:00
铸渊 (ZhùYuān) 7dc7d61346 📋 自动更新 HoloLake Era 模块文档 · 2026-03-10 12:37 UTC 2026-03-10 12:37:08 +00:00
copilot-swe-agent[bot] 7f7016b4ad Add Persona Studio link in docs nav, update smoke tests to target unified proxy
- Add 🧠 Persona Studio navigation tab in docs/index.html sidebar
- Update smoke tests to target api-proxy.js (port 3721) instead of persona-studio backend (3002)
- Update error code assertion to match improved error specificity
- Add test for INVALID_API_BASE validation
- Replace auth/login tests with /api/health check (auth is on separate service)

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 12:30:08 +00:00
铸渊 (ZhùYuān) fbcd1f2db9 📋 自动更新 HoloLake Era 模块文档 · 2026-03-10 10:27 UTC 2026-03-10 10:27:58 +00:00
copilot-swe-agent[bot] 8951eb86f1 feat: core brain upgrade v3.0 — shell-core separation architecture
- Created src/brain/ module (prompt-assembler, mode-detector, model-router, context-trimmer, memory-manager)
- Added HLI BRAIN domain endpoints (prompt, route, context, memory, status)
- Upgraded api-proxy.js with auto-fallback across providers
- Unified brain version to v3.0 across all files
- Frontend now calls backend brain APIs with local fallback
- Added truth-source federation documentation

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 09:57:26 +00:00
copilot-swe-agent[bot] 6391319c9b fix: replace literary-template synesthesia style with natural speech rules (v3.0)
- system-prompt.md: add identity anchoring, replace 5 sensory-channel mapping
  rules with 3 hard rules (structure, emoji-as-emotion, breathing rhythm),
  add correct/incorrect examples, update context to 200k
- style-config.json: delete mapping_examples (fixed metaphor phrases causing
  template responses), bump to v3.0, set mode to 'natural'
- docs/index.html sysPrompt(): replace inline synesthesia section with new
  v3.0 rules, add identity anchoring at prompt start

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 15:38:11 +00:00
copilot-swe-agent[bot] 5253def3b0 Address code review: extract formatDocs helper, remove diagnostic log
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 15:16:55 +00:00
copilot-swe-agent[bot] c52568df87 v5.4: remove 冰朔 shortcut, add file upload, 200k context, fix API, clean modules
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 15:13:44 +00:00
copilot-swe-agent[bot] 4b8d8908bc feat: 后端 Notion 开发者同步 API + 前端自动同步集成
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 14:52:26 +00:00
copilot-swe-agent[bot] 027b126f87 feat: 团队登录增加自定义开发者编号输入(DEV-XXX)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 14:37:24 +00:00
copilot-swe-agent[bot] 2afe93e1a1 feat: 团队登录模式 + API代理部署 + 128k上下文(无需API密钥)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 14:28:10 +00:00
copilot-swe-agent[bot] 203ecee955 fix: 改进滑动窗口保留最近消息 + 添加北京时间注释
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 13:52:16 +00:00
copilot-swe-agent[bot] e7723e6444 feat: MVP升级 P0-A(128k上下文) + P0-B(通感语言风格) + 基础设施
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 13:51:00 +00:00
铸渊 (ZhùYuān) 3c6c927791 📋 自动更新 HoloLake Era 模块文档 · 2026-03-08 13:07 UTC 2026-03-08 13:07:42 +00:00
铸渊 (ZhùYuān) 86869eaed3 📋 自动更新 HoloLake Era 模块文档 · 2026-03-07 11:38 UTC 2026-03-07 11:38:34 +00:00
copilot-swe-agent[bot] 6ef51c01d0 fix: address code review - restore zoom accessibility, use CSS var for viewport height, debounce resize
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 11:34:24 +00:00
copilot-swe-agent[bot] a015a3a003 feat: mobile compatibility fixes + guest mode DeepSeek API integration
- Fix viewport meta: add viewport-fit=cover, maximum-scale=1, user-scalable=no
- Replace 100vh with 100dvh (with fallback) for app shell, sidebars, panels
- Add iOS safe-area-inset padding for notched devices (iPhone X+)
- Add -webkit-overflow-scrolling: touch for momentum scrolling
- Fix input font-size to 16px (prevent iOS auto-zoom on focus)
- Fix side panels max-width: 100vw for small screens
- Improve mobile layout: smaller padding, hidden footer meta, horizontal scroll quick replies
- Add overscroll-behavior: none to prevent pull-to-refresh
- Increase touch targets to 44px minimum (iOS guidelines)
- Add visualViewport resize handler for mobile keyboard
- Add touch event handling for sidebar dismiss
- Configure guest mode to use DeepSeek via api-proxy
- Add guestStreamReply() with full 铸渊 system prompt
- Guest mode tries real API first, falls back to demo responses
- Update UI text to reflect guest API capability
- Version bump to v5.1

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 11:32:45 +00:00
copilot-swe-agent[bot] 15187c8b89 feat: 全站部署 — rsync 同步全仓库 + 模块导航 + 后端部署 + Nginx 配置
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 10:41:56 +00:00
copilot-swe-agent[bot] 6971d93a87 🌐 明确 guanghulab.com = GitHub Pages 部署 + 修复远程服务器 rsync 安装
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 10:21:41 +00:00
copilot-swe-agent[bot] ff9867939a 📖 更新使用指南:添加部署流程图和快速回答,明确「合并即部署」
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 10:03:12 +00:00
铸渊 (ZhùYuān) 4726b6cfe6 📋 自动更新 HoloLake Era 模块文档 · 2026-03-07 09:44 UTC 2026-03-07 09:44:44 +00:00
冰朔 4ad04ababc
Merge pull request #8 from qinfendebingshuo/copilot/add-interactive-ai-status-page
feat: add CD workflow for auto-deploy to server via SSH/rsync
2026-03-07 17:44:36 +08:00
copilot-swe-agent[bot] bca45ccd02 feat: custom domain + staging preview + 铸渊人格协议 module management
- Add docs/CNAME for guanghulab.com custom domain
- Fix deploy-pages.yml: production deploy only from main (not copilot/**)
- Add staging-preview.yml: PR preview with module integrity checks
- Add .github/brain/module-protocol.md: ZMP v1.0 protocol documentation
- Add scripts/zhuyuan-module-protocol.js: module lifecycle CLI
- Add module:protocol npm script
- Update 使用指南.md: custom domain + module management sections

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 08:58:07 +00:00
copilot-swe-agent[bot] 8a7be7e117 docs: add comprehensive deployment guide and branch protection setup instructions
- Section 3: How to deploy (merge PR / 冰朔人格体 / manual workflow)
- Section 6: Detailed branch protection setup with step-by-step and options table
- Section 7: GitHub Pages source configuration check
- Updated sections 2, 5 for v5.0 login and old-version troubleshooting

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 08:34:12 +00:00
copilot-swe-agent[bot] 41f05bf9e8 refactor: redesign login page with guest/dev modes and auto-detect API
- Replace multi-provider dropdown with two login modes: 访客模式 (guest) and 编号登录 (developer)
- Guest mode: one-click demo entry, no API key needed
- Developer login: identity selection + API endpoint + key + auto-detect models
- Remove all provider-specific logic (PROVS → KNOWN_ENDPOINTS for fallback)
- Simplify settings panel: endpoint URL + model + key (no provider dropdown)
- Auto-detect probes user's endpoint first, falls back to known endpoints
- Model dropdown populated from auto-detect results
- Remove proxy mode support
- Update help panel, version to v5.0, demo response text

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 08:21:44 +00:00
铸渊 (ZhùYuān) 70cbd30e7b 📋 自动更新 HoloLake Era 模块文档 · 2026-03-07 07:56 UTC 2026-03-07 07:56:25 +00:00
copilot-swe-agent[bot] 786d25d770 fix: add .nojekyll + CODEOWNERS + 使用指南 for 404 fix and collaborator restrictions
- docs/.nojekyll: prevent Jekyll interference with GitHub Pages
- .github/CODEOWNERS: protect core files, leave module dirs open for collaborators
- docs/使用指南.md: correct URL, operation instructions, module upload guide

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 07:55:34 +00:00
淑婷陈 fa6983ad27 Step 1: 创建所有模块目录 + README 2026-03-07 15:54:30 +08:00
copilot-swe-agent[bot] 466f344ef8 fix: address code review — CORS, input validation, timeout alignment, logging
- CORS: default whitelist restricted to project domains (not wildcard)
- Input validation: clamp temperature [0,2] and max_tokens [1,8192]
- Timeout: increase to 60s, align Nginx config (90s read / 60s send)
- Logging: remove client IP and message count from logs
- Frontend: move proxy option lower in dropdown, fix duplicate system prompt
- Shorten proxy mode placeholder text

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 07:34:59 +00:00
copilot-swe-agent[bot] 723f6b16bc feat: add backend API proxy layer for China network access
- backend-integration/api-proxy.js: Node.js proxy with SSE streaming passthrough
  - Supports DeepSeek/Moonshot/Zhipu (China-direct) + Yunwu/OpenAI/Gemini
  - API keys managed server-side via environment variables
  - Rate limiting (10 req/min per IP)
  - CORS support for cross-origin access
  - Health check and model listing endpoints
- backend-integration/nginx-api-proxy.conf: Nginx config reference
- docs/index.html: Added "后端代理" provider option (no API key required)
- package.json: Added proxy:start script

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 07:31:58 +00:00
copilot-swe-agent[bot] aac7f53d4b feat: upgrade 铸渊助手 to v4.0 with three-column layout
- Three-column layout on desktop (>900px): left sidebar, center area, right sidebar
- Left sidebar: user identity, nav tabs (公告栏/聊天), conversation history, settings
- Center area switches between announcements and chat views
- Right sidebar: always-visible team panel for controllers (founder/supreme/main)
- Chat history system with localStorage (zy_conversations, max 20 conversations)
- Announcements page with system info from brain files, tasks, quick actions
- Mobile responsive: left sidebar toggleable via hamburger menu
- Identity preview on setup screen with DEV-ID display
- All existing JS functions, API streaming, demo mode, brain loading preserved
- Version bumped from v3.1 to v4.0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-07 07:24:05 +00:00
铸渊 (ZhùYuān) 0e671dab62 📋 自动更新 HoloLake Era 模块文档 · 2026-03-07 05:14 UTC 2026-03-07 05:14:32 +00:00
铸渊 (ZhùYuān) f949ef62c6 📋 自动更新 HoloLake Era 模块文档 · 2026-03-06 14:55 UTC 2026-03-06 14:55:46 +00:00
copilot-swe-agent[bot] 7698adad46 feat: 模块收讫自动通知系统 — GitHub Issue @提及 + 邮件通知
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 14:44:19 +00:00
copilot-swe-agent[bot] 2874d46c32 feat: HoloLake Era 操作系统部署模块 — 自动文档生成系统
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-06 14:37:33 +00:00
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