Files
XuJiacheng 282f7268ed feat: 重构项目心跳数据结构并实现项目列表API
- 新增统一项目列表Redis键和迁移工具
- 实现GET /api/projects端点获取项目列表
- 实现POST /api/projects/migrate端点支持数据迁移
- 更新前端ProjectSelector组件使用真实项目数据
- 扩展projectStore状态管理
- 更新相关文档和OpenSpec规范
- 添加测试用例验证新功能
2026-01-13 19:45:05 +08:00

616 B

1. Documentation

  • 1.1 Add Redis integration protocol doc for external projects
  • 1.2 Link doc location from README (optional)

2. Backend

  • 2.1 Add Redis client config + connection helper
  • 2.2 Implement command enqueue: write ${targetProjectName}_控制 LIST with JSON payload
  • 2.3 Implement log fetch/stream: read ${projectName}_项目控制台 LIST

3. Frontend

  • 3.1 Wire selected project name into Console (targetProjectName)
  • 3.2 Replace simulated command send with API call to backend
  • 3.3 Replace simulated logs with backend-provided logs (polling or SSE)