dev-manager-tauri/src-tauri
lanrtop 0851aa9783 feat(projects/parity): register_project 控制面投影,登记本体拒绝同目录重复登记(P8f)
- projects:从 create_project 抽出登记本体 register_project_records(连接注入),
  UI create_project 与 MCP register_project 共用;只写数据库,不建目录、不执行 git init、不接入。
  拒绝空 ID、空路径、相对路径、不存在的目录、空名称、同一目录已登记、已存在的 ID;
  重复检查与插入放进同一 IMMEDIATE 事务;workspace 插入去掉 OR IGNORE,ID 冲突不再静默成功
- 同目录判定 registration_path_key:去长路径前缀、斜杠统一、合并重复分隔符、去尾部分隔符、
  不区分大小写;win_path 与 wsl_path 两列都比较,WSL Linux 路径按 wsl.localhost 换算;
  错误信息给出已有 project_id(根治 PR #34 审查 L1/L2:同目录两条登记互相抢占 Codex 托管块)
- mcp_tools:新增 register_project(path 必填、name 可选,project_id 由炼境生成 UUID,归入当前空间,
  structuredContent 返回);只开放在全局路由,is_project_scoped_tool 显式排除;描述写明须用户确认目标
- 批量添加对已登记目录计入 skipped,模板新建与挂载仓库复用同一重复目录检查
- project-context.yaml「MCP 工具接口」段同步(T1)

cargo test 335 passed / 0 failed / 5 ignored(新增 10 条),0 warning;pnpm typecheck 通过;
9 处变异全部被对应用例捕获。

Feature-Confirmed: true
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 12:29:26 +09:00
..
capabilities fix: add updater/process capabilities and improve update error display 2026-04-02 14:50:19 +09:00
icons feat: WSL路径支持、项目发布到GitHub、三灯状态指示 2026-04-01 01:36:21 +09:00
resources feat(delivery/mcp): get_delivery_status 支持按 pr_number/branch 查询,结论绑定 Gitea head SHA(使者回传 #203) 2026-10-03 06:22:09 +09:00
src feat(projects/parity): register_project 控制面投影,登记本体拒绝同目录重复登记(P8f) 2026-10-03 12:29:26 +09:00
tests/fixtures/client_probe docs(blueprint/agent-client-parity): P4-0 探针前置实测六项假设出结论,脱敏夹具入库(P4-0) 2026-10-03 08:01:50 +09:00
.gitignore feat: WSL路径支持、项目发布到GitHub、三灯状态指示 2026-04-01 01:36:21 +09:00
build.rs feat: WSL路径支持、项目发布到GitHub、三灯状态指示 2026-04-01 01:36:21 +09:00
Cargo.lock feat(agent/access): 强化项目级运行态接入 2026-09-23 03:21:38 +09:00
Cargo.toml feat(agent/access): 强化项目级运行态接入 2026-09-23 03:21:38 +09:00
dev-manager.db feat: 服务器管理体系 + 云产品扩展 + 源码库 + API密钥管理 2026-04-17 22:25:06 +09:00
PkgExplorerPlugin.dll.log feat: 服务器管理体系 + 云产品扩展 + 源码库 + API密钥管理 2026-04-17 22:25:06 +09:00
tauri.conf.json chore(release): bump version to 0.1.19 2026-07-04 21:05:13 +09:00
tauri.local.conf.json chore(build): 新增 build:local 脚本——本地构建关闭 updater 签名产物 2026-07-06 21:21:57 +09:00