fix(mcp): use native binary for TRAE on Windows

This commit is contained in:
t8y2 committed 2026-07-22 13:31:23 +08:00
1 parent 4e68cd84cc
commit 01fde8879f
6 files changed
+124 -10

No files matched your search

@@ -40,6 +40,10 @@ export function buildMcpJsonConfig(config?: McpLaunchConfig): string {
return JSON.stringify({ mcpServers: { dbx } }, null, 2);
}
export function buildMcpTraeConfig(config?: McpLaunchConfig, nativeBinPath?: string): string {
return buildMcpJsonConfig(nativeBinPath ? { command: nativeBinPath } : config);
}
export function buildMcpVsCodeConfig(config?: McpLaunchConfig): string {
const dbx: Record<string, unknown> = {
type: "stdio",