Commit Graph

32 Commits

Author SHA1 Message Date
lanrtop
0065866f6b fix: 消除 Windows 子进程黑框闪烁,修复 DB 外键迁移
- 新增 silent_cmd() 辅助函数,统一添加 CREATE_NO_WINDOW 标志,全量替换 commands/ 中的裸 std::process::Command::new 调用
- 补充 project_tools / activity_log / project_env_tools 外键从 projects 迁移到 project_workspaces 的 migrate 逻辑
- CONVENTIONS.md v1.4.2:补充 files 回填规则和批量执行完整性检查规则
2026-04-08 01:13:53 +09:00
lanrtop
704a1c9422 chore: bump version to v0.1.14 2026-04-07 00:47:37 +09:00
lanrtop
fea43b0b8a feat: 仪表盘全局快启栏
新增 global_tools 表及 CRUD 命令,Dashboard 顶部增加独立的「快启」工具栏,
可配置与项目无关的日常应用。ProjectToolsModal 重构为通用组件,支持注入
自定义 commands / queryKey;ProjectCard 快启行始终显示并内联添加按钮。
2026-04-07 00:46:13 +09:00
lanrtop
6c24d34bb4 chore: bump version to v0.1.13 2026-04-05 02:58:16 +09:00
lanrtop
fbbfd4f205 feat: 仪表盘 - 多项目蓝图聚合视图 2026-04-05 02:45:19 +09:00
lanrtop
00a6d4e335 fix: WSL Buff 路径支持 + 排除 .blueprint/ 触发 Vite 热重载 2026-04-05 02:38:20 +09:00
lanrtop
30d6823a1f feat: 蓝图 Buff 系统 v0.1.12
炼境可向任意被管理项目施加「蓝图 Buff」,git 提交自动同步任务进度,与 AI 工具热插拔解耦。

- 后端:blueprint_buffs 数据表 + 生命周期命令(apply/remove/get/list)
- 后端:每 5 秒轮询 git HEAD,文件路径匹配任务卡 files 字段,自动标记 📋🔵
- 后端:sync 时 Buff 触发飞轮快照,emit blueprint://changed 事件
- 前端:ProjectCard 显示  Buff 激活徽章
- 前端:GovernancePanel 新增施加/撤销 Buff 按钮,无蓝图时附带 init prompt
- 前端:BlueprintModal 监听 blueprint://changed,自动刷新并显示「刚刚更新」提示
- 修复:sync prompt 新增 🔵 状态保护规则,防止 Claude 更新时降级炼境自动标记的进度
2026-04-05 01:56:40 +09:00
lanrtop
23b109119a fix: 已有蓝图时禁用「初始化蓝图」按钮
避免用户误用初始化覆盖已有蓝图,引导使用「更新蓝图描绘」。
disabled 状态加 tooltip 提示原因。
2026-04-04 23:33:13 +09:00
lanrtop
157df716c7 feat: 健康中心诊断优化 + CONVENTIONS v1.4.0
健康中心:
- check_editor 修正为读 editors/active_editors 新字段结构,兼容旧 active_editor
- check_github_token 区分 401/403(Token 失效)与网络超时(warn 而非 error)

蓝图规则:
- CONVENTIONS v1.4.0:新增「交互质量复盘笔记」章节,建立结构化复盘数据集
- blueprint.rs 版本常量同步至 1.4.0,CLAUDE.md 注入模板版本同步
- 项目导师模块标记为 done(progress 100)
2026-04-04 23:20:31 +09:00
lanrtop
af88408669 feat: complete project mentor feature with WSL path fix
- 新增 project_notes 数据层(T5):DB 迁移 + get/add 命令
- MCP 新增 append_project_note 工具,含 group 归属校验(T6)
- MentorPanel 底部展示 AI 笔记区域(T7)
- 后端全组巡检命令 get_group_mentor_report(T8)
- ManagePage 产品组卡片新增「巡检全组」按钮(T9)
- 启动健康扫描 + App.tsx 顶部告警 Banner(T10)
- 修复 WSL 项目路径检测:wsl_path 为 UNC 格式时
  用 unc_to_distro_and_linux() 转换后再调用 wsl 子命令
2026-04-04 23:20:09 +09:00
lanrtop
eb346ae1fd feat: add runtime diagnostics, health center, and project mentor
运行时可观测性:
- 新增 runtime_logs SQLite 表,提供全局 log_event 写入函数(保留最近 500 条)
- mcp_server/mcp_inject/groups 关键路径接入结构化日志
- MCP 新增 get_diagnostics 工具,返回注入摘要与近期错误
- add_group_member 注入失败时前端显示黄色 toast 警告

健康中心:
- 新增 run_health_check 命令(6 项并行检查:MCP/Git 路径/项目路径/GitHub Token/编辑器/DB 延迟)
- 新增质量指标聚合(休眠项目/孤立项目/注入异常组/无路径项目)
- 侧边栏新增健康中心页面,支持手动刷新和诊断报告复制
- 设置页 MCP 状态改为真实 HTTP ping 检测

项目导师:
- 新增 get_mentor_context 后端命令,聚合健康状态/蓝图摘要/近期错误
- MCP 新增 get_project_mentor_context 工具(含产品组归属校验)
- 项目卡片底部新增 🎓 导师按钮,面板支持复制结构化 Markdown 报告
- 修复 WSL 项目路径识别:wsl_path 存 UNC 格式时自动提取 distro 和 Linux 路径,改用 wsl 命令检查路径存在性(规避 Path::exists() 对 \wsl.localhost\... 不可靠的问题)

AI 工作流:
- 新增 AI-WORKFLOW.md、.claude/skills/ 技能体系配置
- 更新 CLAUDE.md 补充蓝图驱动开发规范
2026-04-04 19:58:49 +09:00
lanrtop
c598c9b05b feat: add BlueprintPromptModal for blueprint management and sync functionality
- 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.
2026-04-04 10:47:27 +09:00
lanrtop
a2596413c5 feat: add copy functionality for nodes and containers in GroupResourceCanvas
- Implemented CopyBtn component to allow copying of nodes with a new unique ID and adjusted position.
- Added copy functionality to ProjectNode, GitNode, EnvNode, ServerNode, FocusNode, CustomNode, and ContainerNode.
- Enhanced ContainerNode to copy itself along with its children nodes.
- Introduced a new LabeledEdge component for editable edges with drag-and-drop support for path adjustment and text labels.
- Added right-click context menu for edges to delete connections.
- Updated data structures to support new properties for tasks in BlueprintTask and BlueprintStats.
2026-04-03 08:42:17 +09:00
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
lanrtop
be7db96d48 release: v0.1.11 2026-04-02 14:50:53 +09:00
lanrtop
4d3dd66afc fix: add updater/process capabilities and improve update error display 2026-04-02 14:50:19 +09:00
lanrtop
fcdab7f575 release: v0.1.10 2026-04-02 14:19:41 +09:00
lanrtop
f761a0fa69 fix: pre-create release to work around token permission issue 2026-04-02 13:17:29 +09:00
lanrtop
966c593c8a fix: use .exe.sig for tauri v2 updater format 2026-04-02 09:23:29 +09:00
lanrtop
f41e3c0ae6 fix: restore correct updater pubkey 2026-04-02 02:44:17 +09:00
lanrtop
27b39a128e fix: enable createUpdaterArtifacts for tauri updater 2026-04-02 02:19:33 +09:00
lanrtop
7269f07a18 fix: update signing pubkey 2026-04-02 02:02:10 +09:00
lanrtop
60b42e37c6 fix: add --verbose to tauri build, skip latest.json if no update bundle 2026-04-02 01:24:03 +09:00
lanrtop
371a32b026 fix: add signing key diagnostic 2026-04-02 01:01:54 +09:00
lanrtop
a6f2f607e6 fix: find artifacts directly in OSS upload step 2026-04-02 00:48:21 +09:00
lanrtop
482bc2e6c0 fix: use Where-Object for nsis artifact matching 2026-04-02 00:31:55 +09:00
lanrtop
beef55ff24 fix: use full path for ossutil exe 2026-04-02 00:15:22 +09:00
lanrtop
28d3ff1209 fix: grant write permission for release creation 2026-04-01 23:33:41 +09:00
lanrtop
533c069e43 feat: add WSL editor launch modes and update checking functionality
- Introduced WSL editor launch modes in SettingsPage with options for internal, remote, and UNC path launches.
- Enhanced settings saving to include the new WSL launch mode.
- Added an update section to check for application updates, download, and install them with progress tracking.
- Updated Toast component to handle error messages with a copy button for convenience.
- Expanded commands to include project tags and templates management, along with WSL proxy synchronization features.
2026-04-01 23:12:23 +09:00
lanrtop
93617565bf feat: update commit handling in PublishModal for new projects and uncommitted changes 2026-04-01 02:34:38 +09:00
lanrtop
b067c1f348 feat: add WSL git support and improve commit message handling in PublishModal 2026-04-01 02:20:14 +09:00
lanrtop
0baa304fbe feat: WSL路径支持、项目发布到GitHub、三灯状态指示
- 新增发布到GitHub功能(scan/init/commit/push/register全流程)
- 新增WSL发行版检测与UNC路径自动转换,路径存储改为Windows可访问格式
- 修复libgit2访问WSL UNC路径的owner验证问题(启动时全局禁用)
- ProjectCard新增本地项目/本地仓库/远程仓库三灯状态指示
- ProjectModal重构为基本信息+部署信息双标签页,固定高度稳定切换
- 添加项目支持顶部快速选择文件夹并自动填充ID和名称
- 设置页WSL区块改为下拉检测选择发行版
- Dialog组件支持fixedHeight固定高度模式
2026-04-01 01:36:21 +09:00