copilot-swe-agent[bot]
e860b9963b
feat: AI写网文平台首期功能 — 前后端完整实现
...
- Landing Page: AI伙伴头像呼吸动画 + 打字机欢迎语 + 角色选择
- Auth: 手机号+验证码注册/登录 + JWT鉴权 + 三角色
- AI伙伴: WebSocket实时对话 + 角色人格化 + OpenAI集成
- Backend: Express + TypeScript + Socket.io + Notion存储
- Frontend: React 18 + Vite + Tailwind CSS + Zustand
- Nginx: 写网文平台路由配置 (/writing/, /api/writing/, /writing-ai/)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/38d62fa6-b645-4f42-92dd-00d327337c17
2026-03-25 13:01:49 +00:00
copilot-swe-agent[bot]
fec940188e
feat: add /webhook/push-broadcast POST route for Pipeline C feishu broadcast
...
- Add push-broadcast handler in backend/routes/feishu-bot.js with token
validation, request parsing, and Feishu IM API message delivery
- Wire /webhook/push-broadcast in backend/server.js via route forwarding
- Add nginx /webhook/ proxy_pass config in nginx-api-proxy.conf
- Update health check to report push_broadcast feature status
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-14 18:28:28 +00:00
copilot-swe-agent[bot]
2062878c9f
fix: 修复 Persona Studio 「我要开发」任务提交失败
...
根因修复:
1. Nginx CORS 头缺失(跨域预检失败导致 fetch 抛出异常)
2. WebSocket /ws/preview 路由被 /ws 匹配到端口 8080(应路由到 3002)
3. 前端开发端口不匹配 (3721 → 3002)
增强:
- 添加重试机制(最多2次重试)
- 提供详细错误诊断信息
- 更新 nginx-api-proxy.conf 参考配置
- 修复 smoke test 默认端口
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 07:09:19 +00: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