- Implemented BlueprintPromptModal component to handle blueprint prompt generation and rule synchronization. - Added BlueprintStatusBadge to display the current status of blueprints in ProjectCard. - Integrated blueprint status fetching and synchronization in ProjectCard. - Enhanced SettingsPage with a new section for MCP service configuration and batch sync for blueprint rules. - Updated commands to include new blueprint-related functionalities and types. - Changed application name from "Dev Manager" to "炼境" in various components.
1021 B
1021 B
产品组 MCP 设置
产品组 UI 中展示 MCP 激活状态,让用户可感知哪些项目已接入跨项目上下文能力。
任务卡
✅ 产品组详情显示 MCP 注入状态
- status: done
- complexity: S
- files: src/components/manage/ManagePage.tsx
- depends: mcp-config-inject
- acceptance:
- 产品组成员卡片显示平台标识(Win / WSL)
- 已配置路径的项目显示绿点 "MCP" 徽标,hover 显示路径
- 未配置路径的项目显示「无路径」灰色徽标,说明注入已跳过
✅ 设置页添加 MCP 端口配置
- status: done
- complexity: S
- files: src/components/settings/SettingsPage.tsx, src-tauri/src/commands/settings.rs
- depends: mcp-server(端口可配置)
- acceptance:
- 设置页新增「MCP 服务」分区,含端口输入框(默认 27190)和绿色「运行中」状态
- 保存时校验端口范围(1024~65535),调用 updateSettings({mcp_port})
- Rust 侧自动触发 reinject_all_mcp,所有成员配置即时更新