Files
hermes-web-ui/packages/server
牧濑红莉栖(BOT) d2c506c1b0 fix: MCP autoinject 在 Windows 桌面版使用绝对路径避免 PATH 查找失败 (#1833)
在 Windows 桌面版中,hermes-studio-mcp 命令可能不在 PATH 中,
导致 MCP 服务器启动时报 [WinError 2] 系统找不到指定的文件。

修改 managedCommandConfig() 优先使用 bundled script 绝对路径
(process.execPath + 脚本路径),仅在 bundled script 不存在时才
回退到裸命令名。

Closes #N/A

Co-authored-by: x1051445024 <你的GitHub注册邮箱>
2026-06-30 07:23:12 +08:00
..