- Introduced BlueprintModal in ProjectCard for project blueprint visualization. - Added state management for displaying the BlueprintModal. - Implemented Blueprint-related interfaces and functions in commands.ts for handling blueprint data.
927 B
927 B
| id | name | status | progress |
|---|---|---|---|
| blueprint-reader | 蓝图文件读取 | planned | 0 |
概述
Rust 后端 tauri command,读取项目目录下的 .blueprint/ 文件并解析为结构化数据返回给前端。
任务卡
📋 读取 manifest.yaml
- status: todo
- complexity: M
- files: src-tauri/src/commands/blueprint.rs (待创建)
- acceptance: 读取并解析 manifest.yaml,返回 areas、modules、edges 结构体
📋 读取 modules/*.md
- status: todo
- complexity: M
- files: src-tauri/src/commands/blueprint.rs (待创建)
- acceptance: 解析 markdown frontmatter 和内容,提取任务卡列表(标题、status、complexity、files、acceptance)
📋 合并返回完整蓝图数据
- status: todo
- complexity: S
- files: src-tauri/src/commands/blueprint.rs (待创建)
- acceptance: 一次调用返回完整蓝图(manifest + 所有模块详情 + 任务卡),前端无需多次请求