- 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>
- 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>
- 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>
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>
The contract-check.js script was requiring schema files for index.js
files in route directories, but index.js files are router aggregators
(not HLI endpoints) and should not have schemas. This caused the
deploy-to-server.yml CD pipeline to fail, preventing persona-studio
backend from being deployed. As a result, users could not login or
access the interactive chat interface.
Error: ❌ [MISSING] index.js → 缺少 src/schemas/hli/auth/index.schema.json
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>