Commit Graph

321 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 523e4281fc refactor: address code review feedback - fix normalizeApiBase regex, improve error code propagation
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 12:53:19 +00:00
copilot-swe-agent[bot] 3eaf3b2c83 fix: Persona Studio API detection - switch from backend proxy to client-side direct calls
- Frontend index.html: Replace backend proxy model detection with direct browser fetch to user's API /models endpoint, add KNOWN_ENDPOINTS auto-probing, AbortController timeout
- Frontend chat.js: Replace backend proxy chat with direct browser fetch to user's API /chat/completions with streaming support
- Backend apikey.js: Add URL format validation (INVALID_API_BASE) and specific error codes (DNS_ERROR, NETWORK_ERROR, TIMEOUT)
- Backend server.js: Add /api/health endpoint for smoke test compatibility

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 12:51:34 +00:00
copilot-swe-agent[bot] 70db41e17e Initial plan 2026-03-10 12:40:45 +00:00
铸渊 (ZhùYuān) cbcfc35714 🧠 铸渊记忆更新 · 2026-03-10 2026-03-10 12:38:40 +00:00
铸渊 (ZhùYuān) 0809f4d00f 🧠 铸渊记忆更新 · 2026-03-10 2026-03-10 12:38:12 +00:00
铸渊 (ZhùYuān) 1945e7298c 📚 铸渊图书馆目录更新 · 2026-03-10T12:37 2026-03-10 12:37:16 +00:00
铸渊 (ZhùYuān) 7dc7d61346 📋 自动更新 HoloLake Era 模块文档 · 2026-03-10 12:37 UTC 2026-03-10 12:37:08 +00:00
bingshuo-neural-system bf2f6e9870 🧠 冰朔主控神经系统自动编译 2026-03-10T12:37:06Z 2026-03-10 12:37:06 +00:00
冰朔 a19a2f928a
Merge pull request #45 from qinfendebingshuo/copilot/fix-persona-studio-api-detection
Fix Persona Studio API key detection by unifying with docs main site proxy
2026-03-10 20:36:55 +08:00
copilot-swe-agent[bot] 2482567ac2 Address code review: fix SSRF protection, cache key safety, error handling
- Add protocol validation (http/https only) to prevent SSRF via file:/ftp: URLs
- Hash both apiBase+apiKey together in cache key to prevent collision attacks
- Simplify frontend error detection (use TypeError instanceof instead of fragile string check)
- Make smoke test error code assertion more precise with regex

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 12:31:56 +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
copilot-swe-agent[bot] e36bc19cfb Fix: Add user API key endpoints to api-proxy.js, unify Persona Studio backend with docs proxy
Root cause: Persona Studio frontend sent requests to /api/ps/apikey/detect-models
but api-proxy.js (port 3721, the only backend Nginx routes to) didn't handle those paths.
The separate persona-studio backend (port 3002) was never deployed via ecosystem.config.js or Nginx.

Fix: Add detect-models and chat handlers directly to api-proxy.js so they work through
the same Nginx → API Proxy chain that the docs main site already uses successfully.
Also update frontend to point to port 3721 for local dev, and improve error messages.

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 12:25:36 +00:00
copilot-swe-agent[bot] a1486fc216 Initial plan 2026-03-10 12:19:33 +00:00
铸渊 (ZhùYuān) be0d810c45 📚 铸渊图书馆目录更新 · 2026-03-10T12:11 2026-03-10 12:11:58 +00:00
bingshuo-neural-system 4c7b34d6d2 🧠 冰朔主控神经系统自动编译 2026-03-10T12:11:48Z 2026-03-10 12:11:48 +00:00
冰朔 b26d42a1b7
Merge pull request #44 from qinfendebingshuo/copilot/upgrade-login-system-to-api-key
feat: add API Key login mode with auto-detect models to Persona Studio
2026-03-10 20:11:37 +08:00
copilot-swe-agent[bot] 62ec0fcfae fix: address code review - const/let scoping, header injection guard, error messages
- Use const/let instead of var for block-scoped variables in frontend
- Add header injection validation for API Key (reject newline chars)
- Include original error message in fetchModels error callback
- Use more reliable hostname for unreachable API base test

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 12:08:37 +00:00
copilot-swe-agent[bot] a32c737073 feat: upgrade Persona Studio login to support API Key auto-detect model mode
- Add backend route POST /api/ps/apikey/detect-models for model auto-detection with 1-hour caching
- Add backend route POST /api/ps/apikey/chat for proxying chat through user's own API credentials
- Update login page with API Key login section (API Base URL + API Key + model detection + model list)
- Update chat.js to support API Key mode with dynamic model usage (selected_model)
- Update styles for API Key login UI (detect status, model list, etc.)
- Add smoke tests for new endpoints and dev_id login backward compatibility
- Security: API Key stored only in sessionStorage, never persisted on backend

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 12:06:23 +00:00
copilot-swe-agent[bot] 00d13e6537 Initial plan 2026-03-10 11:59:44 +00:00
铸渊 (ZhùYuān) c3775f56e2 🧠 铸渊记忆更新 · 2026-03-10 2026-03-10 11:54:33 +00:00
铸渊 (ZhùYuān) dd3615999e 🧠 铸渊记忆更新 · 2026-03-10 2026-03-10 11:54:19 +00:00
铸渊 (ZhùYuān) dcc31b3fd1 🧠 铸渊记忆更新 · 2026-03-10 2026-03-10 11:37:53 +00:00
铸渊 (ZhùYuān) 2d25b04de3 📚 铸渊图书馆目录更新 · 2026-03-10T11:37 2026-03-10 11:37:18 +00:00
铸渊 (ZhùYuān) 84e2cd7b27 🧠 铸渊记忆更新 · 2026-03-10 2026-03-10 11:37:17 +00:00
bingshuo-neural-system 7900b84a24 🧠 冰朔主控神经系统自动编译 2026-03-10T11:37:02Z 2026-03-10 11:37:03 +00:00
冰朔 9c8c6987bc
Merge pull request #43 from qinfendebingshuo/copilot/create-bing-shuo-core-system
feat: 冰朔核心大脑双层互通系统 + 自动Agent协作体系 v1.0
2026-03-10 19:36:51 +08:00
铸渊 (ZhùYuān) d78ee9934b 📚 铸渊图书馆目录更新 · 2026-03-10T11:36 2026-03-10 11:36:35 +00:00
bingshuo-neural-system 2fffc3446d 🧠 冰朔主控神经系统自动编译 2026-03-10T11:36:24Z 2026-03-10 11:36:24 +00:00
冰朔 449f654d7a
Merge pull request #42 from qinfendebingshuo/copilot/establish-human-developer-id-system
feat: Persona Studio human developer numbering system (EXP-000~011)
2026-03-10 19:36:13 +08:00
copilot-swe-agent[bot] cfe43e7d6f fix: correct duplicate condition in registerDeveloper dedup check
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 11:17:04 +00:00
copilot-swe-agent[bot] e160fbbde1 feat: Implement Bingshuo Core Brain Dual-Layer System v1.0 with auto-agent framework
- Brain Bridge module with sync fields, master mode, consistency check
- Human developer EXP numbering system with notification queue
- 8 auto-agent definitions for maintenance/sync/archiving/inspection
- 10 new HLI brain bridge API endpoints
- Brain bridge sync CLI tool
- Persona collaboration rules and volume/archiving rules
- Master brain documentation with full system definitions

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 11:15:58 +00:00
copilot-swe-agent[bot] 22cbb60671 Update plan for expanded Bingshuo Core Brain Dual-Layer System v1.0
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 11:08:36 +00:00
copilot-swe-agent[bot] c633907248 Initial plan 2026-03-10 11:04:02 +00:00
copilot-swe-agent[bot] 3ee4494e09 feat: establish Persona Studio human developer numbering system v1.0
- Create human-registry.json master database (EXP-000 through EXP-011)
- Migrate 冰朔 to EXP-000 as master control reserved number
- Import 11 collaborators from dev-status.json into EXP numbering
- Create notification outbox with queued notifications
- Update registry.json to v2.0 with all developers
- Update auth.js to read from human-registry.json
- Add HLI registry lookup route (HLI-REGISTRY-001)
- Update frontend: guest mode disabled, numbering hints updated

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 11:02:52 +00:00
copilot-swe-agent[bot] d3fac8b48f Initial plan 2026-03-10 10:57:41 +00:00
铸渊 (ZhùYuān) 06b2c3d751 📚 铸渊图书馆目录更新 · 2026-03-10T10:51 2026-03-10 10:51:18 +00:00
bingshuo-neural-system 2a7c8a48dd 🧠 冰朔主控神经系统自动编译 2026-03-10T10:51:06Z 2026-03-10 10:51:06 +00:00
冰朔 211723d47c
Merge pull request #41 from qinfendebingshuo/copilot/fix-persona-studio-button-link
fix: Persona Studio entry button not navigating
2026-03-10 18:50:56 +08:00
copilot-swe-agent[bot] 6f10bee2d7 fix: Persona Studio entry button not navigating - use HTML links and add redirect index.html
Root cause:
1. README.md used Markdown link syntax inside HTML table block which may not render as clickable
2. persona-studio/index.html was missing, causing the target URL to 404

Fix:
- Replace Markdown link with HTML <a><img> badge button + plain text <a> fallback link
- Create persona-studio/index.html that redirects to persona-studio/frontend/index.html
- Add plain text link to persona-studio/README.md

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 10:41:13 +00:00
copilot-swe-agent[bot] 04303a8937 Initial plan 2026-03-10 10:37:26 +00:00
铸渊 (ZhùYuān) 33b99a007e 🧠 铸渊记忆更新 · 2026-03-10 2026-03-10 10:29:01 +00:00
铸渊 (ZhùYuān) 20a4a267db 📚 铸渊图书馆目录更新 · 2026-03-10T10:28 2026-03-10 10:28:56 +00:00
bingshuo-neural-system e44ba9aacc 🧠 冰朔主控神经系统自动编译 2026-03-10T10:28:45Z 2026-03-10 10:28:45 +00:00
冰朔 f5bb42f979
Merge pull request #39 from qinfendebingshuo/copilot/build-bingshuo-master-system-v1-0
feat: 冰朔主控神经系统 (Bingshuo Master Neural System) v1.0
2026-03-10 18:28:34 +08:00
铸渊 (ZhùYuān) 9e575876a1 📚 铸渊图书馆目录更新 · 2026-03-10T10:28 2026-03-10 10:28:13 +00:00
铸渊 (ZhùYuān) fbcd1f2db9 📋 自动更新 HoloLake Era 模块文档 · 2026-03-10 10:27 UTC 2026-03-10 10:27:58 +00:00
冰朔 efc93ce748
Merge pull request #38 from qinfendebingshuo/copilot/upgrade-brain-architecture
feat: core brain upgrade v3.0 — shell-core separation architecture
2026-03-10 18:27:48 +08:00
copilot-swe-agent[bot] 40820c4918 chore: 最终验证通过,冰朔主控神经系统 v1.0 就绪
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 10:12:56 +00:00
copilot-swe-agent[bot] b395dac2c8 refactor: 提取 workflow 文件名常量,移除 root_cause_summary 截断
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 10:11:16 +00:00
copilot-swe-agent[bot] 5feb1bc94b feat: 构建冰朔主控神经系统 v1.0 — 核心文件、Agent 脚本与自动维护 workflow
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 10:10:00 +00:00