dev-manager-tauri/.blueprint/modules/blueprint-reader.md
lanrtop 0cdaa3678c feat: add Blueprint feature to ProjectCard and commands
- 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.
2026-04-02 19:12:53 +09:00

30 lines
927 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: blueprint-reader
name: 蓝图文件读取
status: planned
progress: 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 + 所有模块详情 + 任务卡),前端无需多次请求