fix(desktop): dedupe Windows MCP project paths - #1167
Closed
toBerlinWay wants to merge 1 commit into
Closed
Conversation
PR quality triageChanged areas: area:desktop CLI core policy: No CLI-core policy block detected. Missing-test policy: No missing-test policy block detected. Coverage baseline policy: No coverage-baseline policy block detected. CLI core files:
Coverage policy files:
Required check plan:
Test coverage signals:
Risk notes:
Hard merge gates come from the deterministic GitHub Actions contract lanes above. |
toBerlinWay
marked this pull request as ready for review
August 1, 2026 09:29
Owner
11 tasks
Contributor
Author
|
感谢提醒,下次会先确认 Issue 状态再动手,这两个 PR 我先关掉了。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
修复 Windows 下同一个项目因为路径写法不同(
C:\...和C:/...),在 MCP 面板重复出现的问题。现在这两种路径会被认作同一个项目,不会再出现两个条目一起启用或禁用的情况。改动点
C:\...和C:/...会按同一路径处理。测试
30685257865全部通过。Fixes #1165
Feature Quality Contract
desktop/src/stores/mcpStore.tsdesktop/src/__tests__/mcpStoreKnownProjects.test.tsartifacts/coverage/issue-1165-targeted/lcov.info.artifacts/coverage/2026-08-01T05-01-42-495Z/coverage-report.md.f334817fto restore the previous behavior.