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
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
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
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
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
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
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
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
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