Conversation
- Add .env.example with LLM and TTS settings - Update .gitignore with MediaPipe models and TTS cache - Add dependencies: mediapipe, langgraph, edge-tts, langchain-openai - Add core config and database modules Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add CLAUDE.md with system architecture and technical decisions - Add CHANGELOG.md documenting recovery coach implementation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add pose data schemas with 33 MediaPipe keypoints - Add exercise and phase requirement schemas - Add feedback message schemas with types - Add progress tracking and session record schemas Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add pose detection with MediaPipe Pose Landmarker - Add posture analysis with angle requirements checking - Add safety monitoring for fatigue and compensation detection - Add LLM-powered feedback generation with Chinese TTS - Add coaching workflow state management - Add exercise progress tracking Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add WebSocket endpoint for real-time pose streaming - Add frame throttling for performance optimization - Add exercises REST API endpoint - Add progress REST API endpoint Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add exercise coaching page with camera and AR overlay - Add audio queue system to prevent speech overlap - Add performance optimizations (reduced frame rate, resolution) - Add progress visualization and feedback display Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Configure FastAPI with CORS, static files, and templates - Add MediaPipe preloading at startup for better WebSocket performance - Add health check and root page endpoints - Register API routers for WebSocket, exercises, and progress Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Refactor recovery_coach to services/rehab - Add chat/companion service with ZhipuAI integration - Create Next.js frontend with two pages: - /chat: Soulful Companion emotional support - /rehab: AI Recovery Coach with full features - Add node_modules and .next to .gitignore Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4rthurCai
added a commit
that referenced
this pull request
Mar 15, 2026
- CORS: disable credentials when origins is wildcard (#1) - Token blacklist: evict expired entries before dropping new tokens (#3) - Static files: add security headers, block dangerous file types (#5) - HSTS: add Strict-Transport-Security header (#6) - HTML sanitization: escape user content in community service (#10) - Security logging: log auth failures, admin ops, JWT errors (#12) - Guest sessions: HMAC-sign session IDs to prevent spoofing (#15) - AI credentials: read from env vars instead of hardcoding (#16) - Cache-Control: add no-store for API responses (#17) - URL validation: reject non-HTTP(S) URLs in chat search (#19) - Like endpoints: split POST/DELETE into idempotent AddLike/RemoveLike (PR #167)
koishi510
pushed a commit
that referenced
this pull request
Mar 15, 2026
- CORS: disable credentials when origins is wildcard (#1) - Token blacklist: evict expired entries before dropping new tokens (#3) - Static files: add security headers, block dangerous file types (#5) - HSTS: add Strict-Transport-Security header (#6) - HTML sanitization: escape user content in community service (#10) - Security logging: log auth failures, admin ops, JWT errors (#12) - Guest sessions: HMAC-sign session IDs to prevent spoofing (#15) - AI credentials: read from env vars instead of hardcoding (#16) - Cache-Control: add no-store for API responses (#17) - URL validation: reject non-HTTP(S) URLs in chat search (#19) - Like endpoints: split POST/DELETE into idempotent AddLike/RemoveLike (PR #167)
koishi510
pushed a commit
that referenced
this pull request
Mar 15, 2026
- CORS: disable credentials when origins is wildcard (#1) - Token blacklist: evict expired entries before dropping new tokens (#3) - Static files: add security headers, block dangerous file types (#5) - HSTS: add Strict-Transport-Security header (#6) - HTML sanitization: escape user content in community service (#10) - Security logging: log auth failures, admin ops, JWT errors (#12) - Guest sessions: HMAC-sign session IDs to prevent spoofing (#15) - AI credentials: read from env vars instead of hardcoding (#16) - Cache-Control: add no-store for API responses (#17) - URL validation: reject non-HTTP(S) URLs in chat search (#19) - Like endpoints: split POST/DELETE into idempotent AddLike/RemoveLike (PR #167)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue
变更概述
变更类型
自测清单
uv run ruff format .与uv run ruff check . --fix。uv run mypy .。uv sync并提交了更新后的uv.lock文件。测试步骤
uv sync