← Agent 目录

Cursor

部分 探测链当前对 bash 不友好 Windows 难度 中

IDE 侧有变通(Legacy Terminal Tool),Agent CLI 目前写死 PowerShell、无法配置。

settings.json · IDE 变通(启用旧版终端工具)
{
  "terminal.integrated.useWslProfiles": false
}

步骤

  1. IDE agent:开启 Legacy Terminal Tool 设置;配合上面的 useWslProfiles:false 避免落到 WSL
  2. Agent CLI:暂无法配置(detectShellType() 在 Windows 上无条件优先 PowerShell)——已上报上游,等它暴露 shell 路径

验证

universal.verifyCmd 观察当前回落到的 shell

回滚

关闭 Legacy Terminal Tool / 删除 useWslProfiles 配置

注意事项

来源