feat: 问就是封包

This commit is contained in:
claude-code-best
2026-03-31 23:32:58 +08:00
parent d7a729ca68
commit dd9cd782a7
67 changed files with 423 additions and 172 deletions

View File

@@ -1279,7 +1279,7 @@ export async function getAllMcpConfigs(): Promise<{
// Keys never collide (`slack` vs `claude.ai Slack`) so the merge below
// won't catch this — need content-based dedup by URL signature.
const { servers: dedupedClaudeAi } = dedupClaudeAiMcpServers(
claudeaiMcpServers,
claudeaiMcpServers as Record<string, ScopedMcpServerConfig>,
claudeCodeServers,
)
@@ -1351,6 +1351,7 @@ export function parseMcpConfig(params: {
if (
getPlatform() === 'windows' &&
(!configToCheck.type || configToCheck.type === 'stdio') &&
('command' in configToCheck) &&
(configToCheck.command === 'npx' ||
configToCheck.command.endsWith('\\npx') ||
configToCheck.command.endsWith('/npx'))