lanrtop
75c3cdd8a9
chore(updater): 更换自动更新签名密钥对
...
Release / release (push) Successful in 4m43s
旧钥密码丢失(无任何留痕可寻回),按单人场景换钥方案处理:
新钥密码已双写存储(Gitea Secrets + 炼境密钥库)。
本版本(0.1.16)需手动安装一次以内置新公钥,之后自动更新恢复。
2026-07-02 18:39:28 +09:00
lanrtop
8b7038fd1b
chore: 升级版本号至 0.1.16
Release / release (push) Failing after 3m53s
2026-07-02 17:27:08 +09:00
lanrtop
8a64b29445
feat(gitea): G6 远端轮询采集——公网 Gitea + 内网炼境拓扑的观测面方案
...
- poll_all_repos:后台线程每 10 分钟出站拉取所有绑定仓库最新 commit
(GET /repos/:owner/:repo/commits),record_commit 幂等写入,与本地
watcher / 全量导入三路径共存不重复计数
- gitea_poll_now 命令 + GiteaPanel「立即拉取」按钮与拓扑说明
- 决策记录:webhook 仅作同网补充,否决 frp 全端口映射(MCP 路由无鉴权,
27190 保持零公网暴露);飞轮为统计系统,10 分钟延迟无影响
验证:cargo test 67 passed(新增轮询解析 2 测试)、typecheck 全绿
Rules-Applied: R01, R07
2026-07-02 16:36:18 +09:00
lanrtop
de961d0e95
feat(flywheel): Gitea Actions 模板 + Rules-Applied trailer 自吸——规则有效性闭环接通
...
Gitea Actions workflow 生成(gitea-integration 收官卡):
- generate_workflow 输出 .gitea/workflows/;tauri_oss 模板去掉 GitHub Release
步骤(发布走 OSS),构建改 pnpm tauri build + 签名环境变量,runs-on 改
自建 windows runner 标签;CicdModal Secrets 文案改 Gitea 路径
- 单元测试断言模板无 github.com / GITHUB_TOKEN / gh-release 残留
R1 Rules-Applied trailer 被动自吸(flywheel-intelligence):
- smart-commit 技能:commit message 末尾附 Rules-Applied: R01,R06 trailer
(仅真实触发的规则,防数据污染)
- commit_metrics 新增 rules_applied 列(增量 migration)+ parse_rules_applied
解析(token 校验/去重/规范化)+ rule_hit_stats 跨项目"命中×返工"聚合
- 梦核 prompt 新增「规则命中×返工交叉」数据段 + 【规则置信度】分析任务
(升/降 confidence、按 R11 细化边界)——R01-R10 置信度首次有真实数据来源
验证:cargo test 65 passed(新增 7 测试,其中一个抓到 trailer 解析的
? 提前返回 bug)、typecheck 全绿
Rules-Applied: R01, R05, R06, R07
2026-07-02 15:10:26 +09:00
lanrtop
d14b348845
feat(gitea): G2-G5 全链路——建仓/迁移/绑定 + webhook 收发 + 治理面板
...
G2 控制面:gitea_create_repo / gitea_migrate_repo / gitea_link_repo,
upsert 绑定(换绑自动重置 webhook 字段),API 错误提取 Gitea message 可读返回
G3 观测面:MCP Server 新增 POST /webhook/gitea/:project_id——HMAC-SHA256 验签
(X-Gitea-Signature,兼容 X-Hub-Signature-256)→ 解析 commits → 批量
record_commit(sha 幂等,与本地 watcher 双路径不重复计数);验签失败记 log_event
G4 webhook 注册:gitea_setup_webhook 生成随机 secret 注册 push hook(重设先删旧)、
gitea_unlink_repo 解绑顺带清理 Gitea 侧 hook
G5 治理面板:GiteaPanel——实例管理(添加/测试/删除)、当前项目三种绑定方式、
webhook 注册与可复制回调地址、全部绑定概览
依赖:新增 hmac + sha2;project_id 与 commit_metrics 同源(Project.id),
避免双路径冲突复发;R10 修正设计文档错误签名头
验证:cargo test 58 passed(新增 upsert 换绑重置 + hmac 正反向 + payload 解析 5 测试)、
typecheck 全绿
2026-07-02 14:22:49 +09:00
lanrtop
289b558278
refactor(github): GitHub 全面退役——免登录 + 发布/导入/同步链路移除 + 凭据去 GitHub 化
...
D1 免登录改造:App 启动直接进主界面,删 LoginPage/github.rs/OAuth 全套命令、
Sidebar 账户区与 GitHub OAuth 设置弹窗、健康检查 GitHub Token 项
D2 移除发布/导入/PR/CI 入口:删 PublishModal/ImportRepoModal、ProjectCard 的
PR compare 链接与 Actions 状态灯、RepoRegistryModal 同步 tab、CicdModal runs tab、
publish.rs 的 github_create_repo/git_push_to_github
D3 spacesSync 单机化:删 spacesSync/useSpacesSync/SpacesPage/DiscoveryPanel,
拆除 App→Dashboard→ProjectCard 的 spacesJson 链
D4 git_ops 凭据链重写:ssh agent → git credential helper → gitea_instances token
前缀匹配 → default,不再依赖 github_token
保留:server_software GitHub 镜像(Releases 下载加速)、gitea_migrate 迁移入口、
cicd.rs(待 Gitea Actions 改造卡);DB 表不删(R05 migration 兼容)
顺带:修复 servers.rs 两个存量测试的 schema 漂移(测试建表缺 deploy_type 列);
包含会话前未提交的 agent-infra F3(get_agent_health 健康诊断,与 lib.rs/
commands.ts 物理耦合无法拆分提交)
验证:cargo test 53 passed / typecheck 全绿 / vitest passWithNoTests
2026-07-02 13:15:56 +09:00
lanrtop
dcbf1f9355
feat(gitea): G1 DB schema + 实例 CRUD + 连接测试
...
新增 gitea_instances / gitea_repos 两张表(db.rs migrate);
实现 save/list/delete/update/test_connection 命令(ureq 调 GET /api/v1/user 验证 token);
gitea_list_linked_repos / gitea_get_repo_link 查询绑定状态;
前端 commands.ts 完整类型封装;4 个单元测试全绿。
2026-06-30 17:44:39 +09:00
lanrtop
b13dc83b90
fix(flywheel): 补全项目名解析——project_profiles prof- 关联 + 路径末段提取
...
之前 get_all_commit_health 只有两条名称解析路径,导致:
1. 孤儿 UUID(blueprint_buffs 记录已删但 commit_metrics 数据保留)显示为 UUID 字符串
2. blueprint_buffs 有路径但 projects 表无对应项目时显示完整路径
本次新增第三条路径:LEFT JOIN project_profiles ON id = 'prof-' + UUID,
可解析 makemd-2026、enterprise-system、beast-mode、my-docs、yljt-index 等 10 个孤儿 UUID;
Rust 端对最终名称进行路径末段提取,将剩余路径字符串(react-phone-apps、ReadBorne 等)清理为目录名。
2026-06-29 21:30:43 +09:00
lanrtop
d41e0f1707
fix(flywheel): 修复 commit_metrics project_id 双路径冲突,表格能显示所有项目
...
blueprint_buffs 用 UUID 写 commit_metrics,全量导入用名称字符串写,
同一 sha 在 sha PRIMARY KEY 约束下只能存一条,导致全量导入被 INSERT OR IGNORE 全部跳过,
表格无法查到 UUID 格式的历史数据。
修复点:
- ingest_full_git_history 自动查 blueprint_buffs,若该路径已有 UUID project_id 则优先用 UUID
- 新增 get_all_commit_health 命令,SQL 关联 blueprint_buffs / projects 解析名称,不需要前端传 project_ids
- FlywheelPanel 切换到 getAllCommitHealth,表格直接用后端返回的 project_name,无需前端 lookup
2026-06-29 21:21:23 +09:00
lanrtop
9c2064e3d0
feat(flywheel-L0): F1 全量历史导入 + 跨项目 Git 健康度聚合
...
- ingest_full_git_history: 最多 500 条历史,INSERT OR IGNORE 幂等,事务批量写入
- get_project_commit_health: 直接聚合 commit_metrics,返回规范化率/返工率/top_scopes
- 前端 commands.ts 补 IngestResult/ProjectCommitHealth/ScopeActivity 封装
- 新增 4 个单元测试(空项目排除、聚合正确性、scope 排序、写入幂等)
2026-06-29 20:55:11 +09:00
lanrtop
cc5d4a219b
feat(agent-infra): monorepo 扫描支持——子包依赖采集 + apps/* 路径检测
2026-06-29 20:33:56 +09:00
lanrtop
dfb4f74c5c
fix(agent-infra): Tauri 项目 Cargo.toml 路径回退 + Axum 路由精准检测
...
- detect_contracts() 先查根目录 Cargo.toml,失败回退 src-tauri/Cargo.toml
- tauri_commands_path / tauri_frontend_ts 按实际路径动态选择
- Axum 路由检测优先查 src-tauri/src/mcp_server.rs(炼境 MCP 内嵌服务器场景)
- 删除临时自验证测试 self_scan_lianjing_project(已完成使命)
2026-06-29 18:48:56 +09:00
lanrtop
0c5730381d
feat(agent-infra): 卡C——文档腐化评分 + doc_freshness_cache 表
...
scan_doc_freshness():git log 读取契约路径 vs project-context.yaml
时间戳差值,project-context.yaml 不存在直接 RED;结果写入 DB 缓存。
get_doc_freshness_cache():看板读缓存不触发扫描。
10 条单元测试全过。
2026-06-29 18:26:47 +09:00
lanrtop
5e824027e5
feat(agent-infra): 卡B——三件套文件生成
...
generate_agent_infra_files():
- 生成 docs/ai-context/project-context.yaml(含确认后的契约路径)
- 注入 AGENTS.md 元规则段落(已有则跳过,幂等)
- 生成 .claude/rules/doc-freshness.md(含项目特定 globs)
7 条单元测试全过(含生成+幂等验证)
2026-06-29 18:11:30 +09:00
lanrtop
2246df8e2a
feat(agent-infra): 卡A——框架层扫描 + 契约路径推断
...
新增 agent_infra.rs:从 package.json(serde_json)和 Cargo.toml
识别 Drizzle/Prisma/Hono/Axum/tRPC/pnpm-monorepo 等框架,
返回带 confidence 的 DetectedContract 列表;6 条单元测试全过。
前端封装:scanAgentInfraStack(projectPath)
2026-06-29 18:07:40 +09:00
lanrtop
0552180e45
docs(blueprint): agent 友好基础设施方案 + 炼境自身接入包 + 蓝图规范 v1.8.0
...
- CONVENTIONS.md v1.8.0:蓝图定位为意图层,files 字段变可选,status/progress 从 git 推断
- 新增 agent-infrastructure 模块(concept):接入包 v2,扫描→确认→生成三件套
- AGENTS.md.tmpl 注入四支柱 + T1-T4 防腐元规则
- 炼境自身接入自己的包:AGENTS.md + docs/ai-context/ + .claude/rules/
- docs/templates/ 三件套模板:agents-meta-rules / project-brief / project-context
2026-06-29 16:38:45 +09:00
lanrtop
58d2c79c74
feat(onboarding): 接入包数据可信度提示(commit 规范化比例)
...
get_commit_stats 暴露项目 commit 规范化统计(total/conventional/rework);治理面板常驻展示规范化比例 + 返工数,比例 <60% 提示种 lefthook。接入包 A/B/C1/C2/D 全部完成。
2026-06-19 13:52:09 +09:00
lanrtop
5f8b2e8bec
feat(onboarding): 接入包模板分发 + apply_onboarding_pack 后端
...
dispatch_templates 向项目种入 AGENTS.md/lefthook.yml/git-workflow.md 标准模板(蓝本取自 enterprise-system,已通用化),不存在才写、绝不覆盖用户已有;apply_onboarding_pack 组合模板分发 + apply_blueprint_buff 返回 OnboardingReport。含 3 内嵌模板 + 不覆盖单测 + commands.ts 封装。前端 UI 待接。
2026-06-19 13:00:22 +09:00
lanrtop
3befc50d20
feat(flywheel): L0 从 git 自吸执行质量(commit_metrics)
...
buff watcher 解析每条新 commit 的 conventional type/scope,将返工(fix)/CI自修信号写入 commit_metrics 表;append_usage_snapshot 的 rework_count 改由此表聚合,取代枯竭的复盘笔记解析。avg_rounds_M 暂留空(需 PR 边界,待档2)。含 parse_conventional 纯解析器 + 11 单测、project_id 索引、事务批量写入、首次限 50 条。
2026-06-19 12:23:40 +09:00
lanrtop
5b28cb351c
fix: dev 端口 1420→1430 避免占用冲突
2026-06-19 11:39:11 +09:00
lanrtop
8afb16480a
feat: 引入 vitest 测试体系,前端测试基建 + 蓝图接入闭环
2026-05-07 01:24:30 +09:00
lanrtop
4dd19574f0
feat: 新增 pnpm Monorepo+Expo 模板及蓝图模块扩展
...
- 新增 pnpm Monorepo + Expo Router 项目模板(含 Metro monorepo 路径解析及 Windows 兼容修复)
- 扩展蓝图系统:新增 api-keys、server-registry、ssh-config-sync、vscode-remote 等 15+ 模块定义
- 新增 .blueprint/rules.md 项目私有规则支持,并在 CLAUDE.md 中集成
- 蓝图版本升级至 1.6.0,优化版本比较逻辑(语义化版本元组对比)
2026-04-29 22:11:28 +09:00
lanrtop
9660bcbc48
feat: 服务器管理体系 + 云产品扩展 + 源码库 + API密钥管理
...
新增多个核心功能模块(后端 Rust 命令 + 前端 Panel 全部接线完成):
- 服务器注册表:servers.rs + ServerManagerPanel、ProjectServerPanel(项目关联服务器)
- SSH Config 自动同步:ssh_config.rs
- 服务器软件管理:server_software.rs + ServerSoftwareBlock
- 宿主机应用管理:host_apps.rs + HostAppsPanel
- 服务配置管理:service_config.rs + ServiceConfigBlock
- 项目部署信息:deploy_info.rs + DeployInfoPanel
- API密钥管理:api_keys.rs + ApiKeysPanel
- 云产品管理:cloud_products.rs + CloudProductsPanel(含 Docker应用、云数据库实例子模块)
- 源码库:source_library.rs + SourceLibraryPage(分类管理 + 项目详情)
导航栏新增「源码库」入口;蓝图 manifest 同步补录 7 个新模块
2026-04-17 22:25:06 +09:00
lanrtop
8c06aa5e44
feat: 飞轮智能阶段二完成——MCP SSE 传输 + 复盘覆盖率 + usage.json 扩展采集
...
- MCP Server 新增 GET/SSE 端点,Claude Code 原生 MCP 打通
- 项目导师面板显示复盘笔记覆盖率统计与缺口提醒
- usage.json 快照新增 complexity_dist、rework_count 等扩展字段
- 独立项目自动创建产品组并注入 MCP
- 新增 retro-catchup 技能用于批量补写历史复盘笔记
- 补全飞轮存量函数单元测试
- NewProjectModal 支持更灵活的模板参数配置
2026-04-13 01:49:56 +09:00
lanrtop
6162533c77
feat: 飞轮阶段一 + 项目个人备忘功能
...
飞轮智能成长阶段一:
- 梦核 prompt 注入跨项目复盘笔记,新增【高频陷阱】分析节
- 修复 collect_flywheel_notes 查错表 bug(projects → project_workspaces)
- MCP append_project_note 描述内嵌【复盘】结构化格式,引导 Claude 写标准笔记
- FlywheelStats 新增 project_notes 字段,支持 win_path/wsl_path 两种路径匹配
项目个人备忘(user_project_todos):
- 新表 + 4 个 Rust command,依赖注入写法,6 个单元测试全绿
- UserTodoPanel 组件,📝 按钮展开,支持新增/勾选/删除
CONVENTIONS v1.4.4:新增 Rust 可测试性规范(依赖注入强制要求)
2026-04-11 17:21:47 +09:00
lanrtop
d33baeb3f7
feat: 模板创建进度可视化——流式日志 + 步骤指示器 + 计时器
2026-04-11 15:22:38 +09:00
lanrtop
26860a0b4d
feat: 新增 Tauri + React 内置项目模板
2026-04-11 14:43:55 +09:00
lanrtop
e4c7015ee1
chore: 升级版本号至 0.1.15
2026-04-11 13:02:16 +09:00
lanrtop
ee4b41f938
feat: 复盘笔记接入梦核飞轮 + 看板右侧栏 UI 重构
...
- FlywheelStats 聚合跨项目 project_notes(最近 50 条),梦核 prompt 新增【高频陷阱】分析节
- 新增 flywheel-intelligence 蓝图模块,阶段一标记 done
- ProjectCard 去重:role/recent_focus/部署链接移至 Dashboard 右侧栏统一展示
- 右侧栏改为卡片式布局,部署环境按钮全宽、带箭头图标
- settings.json 权限模式升级为 bypassPermissions;CLAUDE.md 重构蓝图工作流说明
2026-04-11 12:58:47 +09:00
lanrtop
b6e4fbe3fa
feat: 新增 Claude 自主性状态面板,炼境感知 Beast 运行状态
...
- 新增 get_beast_global_status 命令读取全局 Beast 状态(安装情况、当前模式、bash 规则)
- ClaudeConfigModal 改为只读状态展示 + CLI 操作引导,炼境不再写入任何 Claude 配置
- 项目卡片新增 🤖 按钮,对所有项目可见(Beast 是全局状态)
- .claude/settings.json 补充 permissions.defaultMode: acceptEdits
2026-04-11 00:32:07 +09:00
lanrtop
8d646c6cbb
feat: 增强 Claude 项目理解能力——历史快照、近期提交、任务卡详情、AI 笔记
...
- db: 新增 project_snapshots 表,每日一条,UNIQUE(project_id, snapshot_date)
- mentor: 启动扫描写入快照(days_since_commit / blueprint_done_rate / blocked / errors)
- mentor: ProjectHealth 加入 recent_commits(最近 10 条含日期)
- mentor: MentorContext 加入 active_tasks(进行中/阻塞任务卡含 files/acceptance)
- mentor: build_mentor_markdown 加入 AI 笔记段落(跨会话记忆)
- mcp: 新增 get_project_snapshots 工具,Claude 可查询历史趋势数据
2026-04-08 04:03:42 +09:00
lanrtop
f1cecd1601
fix: 修复 P2 三处 Bug
...
1. get_blueprint_status 对比 effective_conventions_version() 而非
master_conventions_version(),避免用户版 CONVENTIONS 生效后治理面板
永远显示「待更新」
2. sync_blueprint_rules 成功消息改用 effective_conventions_version()
3. parse_frontmatter_version_str 修正 break 条件,正确限定在 frontmatter
范围内解析,防止文档正文中的 version: 行被误匹配
2026-04-08 04:00:40 +09:00
lanrtop
7a81222686
fix: P2 conventions 分发覆盖 WSL 项目
...
save_user_conventions / reset_conventions_to_builtin 移除前端传路径的设计,
改为后端自行从 DB 查询所有项目路径(Windows 路径 + WSL UNC 路径),
确保 WSL 项目不再被漏同步;同步锁定蓝图数据:T4 关锁、blueprint-view frontmatter 修正
2026-04-08 03:55:36 +09:00
lanrtop
56536effff
feat: P2 CONVENTIONS 动态化——梦核建议可直接写入并分发
...
- 新增用户版 CONVENTIONS 存储层(app_data_dir/conventions/CONVENTIONS.md)
- OnceLock 初始化目录,effective_conventions_content() 用户版优先 fallback 内置
- invalidate_effective_cache() 写入/重置后清除缓存
- 新增三个 Tauri command
- get_user_conventions_status:返回来源(builtin/user)、版本、内容
- save_user_conventions:解析 frontmatter version,写入用户版,自动同步所有项目
- reset_conventions_to_builtin:删除用户版,自动同步回内置版
- sync_blueprint_rules / build_init_prompt / build_sync_prompt / generate_muhe_prompt
全部切换为 effective_conventions_content(),规则更新无需发版
- GovernancePanel 新增规则编辑器 UI
- 来源 badge(内置基线 / 用户自定义)
- 「应用梦核建议」区域:粘贴新内容 + 确认写入 + 同步进度提示
- 「重置为基线」按钮(仅用户版存在时显示)
2026-04-08 03:27:04 +09:00
lanrtop
4d9c003470
refactor: 蓝图系统三项优化(P1/P3/P4)
...
P1 - CONVENTIONS 版本号自动同步
- 删除手动维护的 MASTER_CONVENTIONS_VERSION 常量
- 新增 master_conventions_version() 从 frontmatter 自动解析,基于 OnceLock 缓存
- CLAUDE_MANAGED_TEMPLATE 改为 claude_managed_template() 函数,版本号随之自动同步
P3 - 梦核提示词精简
- 新增 conventions_rules_summary(),按白名单抽取规则段落
- 保留:何时更新蓝图、模块状态定义、可派发标准、迭代管理、飞轮外环、注意事项
- 跳过:任务卡格式、manifest 字段规范、流程说明等实现细节
- 提示词 CONVENTIONS 部分从 ~500 行压缩至关键规则段落
P4 - usage.json 补执行 delta
- 快照新增 task_ids.done / task_ids.blocked(当前任务状态,供下次对比)
- 快照新增 delta.newly_done / newly_blocked / unblocked(与上次快照的差量)
- 梦核可据此看到执行轨迹,而非仅状态截面
2026-04-08 02:59:40 +09:00
lanrtop
69c05380cc
fix: 修复飞轮聚合三处数据质量问题
...
- 最新快照改为按 at 字段取最大值,不再依赖写入顺序
- blocked_reasons 改为只取最新快照,消除历史快照反复计数导致的虚高
- 版本队列排序改为语义版本比较,修复字符串排序下 1.4.9 > 1.4.10 的问题
- 聚合时跳过 conventions_version=unknown 的历史脏数据项目
2026-04-08 02:18:23 +09:00
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
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
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
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
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
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