Commit Graph

60 Commits

Author SHA1 Message Date
铸渊 (ZhùYuān) 2844bc31e9 📋 自动更新光湖纪元模块文档 · 2026-03-13 01:56 UTC 2026-03-13 01:56:40 +00:00
冰朔 e9f4486f4e
Merge pull request #23 from qinfendebingshuo/copilot/document-ai-interaction-functionality
📋 创建 AI交互页面·功能全量文档 v5.3
2026-03-12 23:48:26 +08:00
铸渊 (ZhùYuān) bf6bf6d381 📋 自动更新光湖纪元模块文档 · 2026-03-12 13:22 UTC 2026-03-12 13:22:12 +00:00
铸渊 (ZhùYuān) be583963ba 📋 自动更新 HoloLake Era 模块文档 · 2026-03-11 08:51 UTC 2026-03-11 08:51:45 +00:00
铸渊 (ZhùYuān) 4f7953b940 📋 自动更新 HoloLake Era 模块文档 · 2026-03-11 08:50 UTC 2026-03-11 08:50:56 +00:00
copilot-swe-agent[bot] 82caccc18b Resolve merge conflicts in docs and M22-bulletin module files
Keep origin/main version for all 25 conflict sections:
- README.md: 4 conflicts (bulletin timestamps, alert status)
- docs/HoloLake-Era-OS-Modules.md: 8 conflicts (module metadata, file listings)
- modules/M22-bulletin/index.html: 1 conflict (semantic header with i18n)
- modules/M22-bulletin/style.css: 11 conflicts (CSS class naming, state styles)
- modules/M22-bulletin/script.js: 1 conflict (IIFE pattern with dynamic rendering)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-11 07:52:42 +00:00
zhizhi200271 d546bc0525 合并 Phase 2 与远程仓库 2026-03-11 11:06:16 +08:00
zhizhi200271 16abb8f776 [BC-M-DINGTALK-002-ZZ][DEV-004] Phase 2 完成 · EL-7 · 多维表格联动+自动更新+自助查询+看板 2026-03-11 10:57:23 +08:00
铸渊 (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] 8776172c46 fix: 修正工作流数量为 21 条(代码审查反馈)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 15:47:57 +00:00
copilot-swe-agent[bot] bbb9e6ae7a 📋 创建 AI交互页面·功能全量文档 v5.3(docs/ai-system-doc.md)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 15:47:08 +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