docs: Update architecture docs with platform infrastructure details

- Add platform infrastructure chapter to frontend-backend architecture design
- Update system architecture document with 6 new infrastructure modules
- Update AI onboarding guide with infrastructure overview
- Link to backend/src/common/README.md for detailed usage guide

Key Updates:
- Storage service (LocalAdapter + OSSAdapter)
- Logging system (Winston + JSON format)
- Cache service (Memory + Redis)
- Async job queue (Memory + Database)
- Health check endpoints
- Monitoring metrics
- Database connection pool
- Environment config management

All modules support zero-code switching between local and cloud environments.

Related: #Platform-Infrastructure
This commit is contained in:
2025-11-17 08:36:10 +08:00
parent 8bba33ac89
commit 31d555f7bb
88 changed files with 490 additions and 8 deletions

View File

@@ -522,3 +522,4 @@ async chatWithRetry(provider: LLMProvider, prompt: string, maxRetries = 3) {

View File

@@ -533,3 +533,4 @@ function estimateTokens(text: string, model: string): number {

View File

@@ -105,3 +105,4 @@ GET /health - 健康检查

View File

@@ -100,3 +100,4 @@ interface RAGEngine {

View File

@@ -86,3 +86,4 @@ class ETLEngine:

View File

@@ -93,3 +93,4 @@