Commit Graph

338 Commits

Author SHA1 Message Date
bingshuo-neural-system 8a768a82db 🧠 冰朔主控神经系统自动编译 2026-03-10T14:08:07Z 2026-03-10 14:08:07 +00:00
冰朔 f951ef1876
Merge pull request #49 from qinfendebingshuo/copilot/fix-model-interaction-issues
fix: Persona Studio API Key chat CORS failure, bulletin push race condition, add daily inspection agent
2026-03-10 22:07:57 +08:00
copilot-swe-agent[bot] 85519ab1cd fix: address code review feedback - remove duplicate variable, fix report job deps
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 13:57:02 +00:00
copilot-swe-agent[bot] 555247a913 fix: Persona Studio chat proxy, bulletin push retry, daily agent workflow
1. Fix API Key mode chat: route through backend proxy to avoid CORS
2. Fix bulletin update workflow: add git pull --rebase retry on push failure
3. Add daily inspection Agent workflow and script

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 13:56:03 +00:00
github-actions[bot] 9edea7d4e2 📢 自动更新系统公告区 [skip ci] 2026-03-10 13:54:48 +00:00
copilot-swe-agent[bot] f8b32844be Initial plan 2026-03-10 13:46:55 +00:00
铸渊 (ZhùYuān) a4374bc87b 🧠 铸渊记忆更新 · 2026-03-10 2026-03-10 13:24:33 +00:00
铸渊 (ZhùYuān) 729a2dcf35 📚 铸渊图书馆目录更新 · 2026-03-10T13:24 2026-03-10 13:24:07 +00:00
铸渊 (ZhùYuān) 1bb120d9ba 📋 自动更新 HoloLake Era 模块文档 · 2026-03-10 13:23 UTC 2026-03-10 13:23:52 +00:00
zhizhi200271 6d777062e8 合并远程更新并添加钉钉Phase1模块 2026-03-10 21:23:40 +08:00
zhizhi200271 c47b4b2c36 DEV-004: M-DINGTALK Phase1- SYSLOG自动接收+解析+模型API广播生成+推送 2026-03-10 21:20:01 +08:00
铸渊 (ZhùYuān) b1f861c43a 📚 铸渊图书馆目录更新 · 2026-03-10T13:11 2026-03-10 13:11:27 +00:00
bingshuo-neural-system 381cdd8423 🧠 冰朔主控神经系统自动编译 2026-03-10T13:11:12Z 2026-03-10 13:11:13 +00:00
冰朔 ca9065b08a
Merge pull request #47 from qinfendebingshuo/copilot/fix-api-input-issues
fix: Persona Studio API detection — client-side direct calls instead of backend proxy
2026-03-10 21:11:01 +08:00
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
铸渊 (ZhùYuān) 690a0a61e2 📚 铸渊图书馆目录更新 · 2026-03-10T12:50 2026-03-10 12:50:05 +00:00
github-actions[bot] bc4e24ffe6 📢 自动更新系统公告区 [skip ci] 2026-03-10 12:50:03 +00:00
zhizhi200271 9a0eeb036f [BC-GLOBAL-002][DEV-002] Git连通测试成功 2026-03-10 20:49:40 +08: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