wesight icon indicating copy to clipboard operation
wesight copied to clipboard

选择 Hermes agent 引擎后,无法执行“允许"/"Allow”命令

Open freestylefly opened this issue 5 months ago • 4 comments

选择 Hermes agent 引擎后,无法执行“允许"/"Allow”命令。他要我去终端中执行。

具体截图和日志都提供了。

Image

freestylefly avatar Jun 14 '26 08:06 freestylefly

已修复并合入 main。\n\n本次针对 Hermes Agent 在终端等待 Allow、WeSight 内无法正确处理确认的问题做了这些修复:\n\n- Hermes approval request 现在会绑定到对应的 session/run,避免确认回传到错误任务。\n- approval 回传时会携带 request_id/id,确保 Hermes 能识别具体确认请求。\n- 兼容标准 SSE event/data 帧,避免 approval、文本输出、完成事件被漏解析。\n- 修复 run failed/cancelled 被误标记为 completed 的问题。\n- 长时间无输出提示不再被当作真实模型输出,避免 silent run 被误判成功。\n\n验证:\n- npm run compile:electron\n- npx eslint src/main/libs/agentEngine/hermesRuntimeAdapter.ts\n- npm run build\n\nCommit: 85629af

freestylefly avatar Jun 14 '26 09:06 freestylefly

This issue has been inactive for 60 days. It will be automatically closed in 14 days unless there is new activity.

If this issue is still relevant, please leave a comment or update it to keep it open. Thank you!

github-actions[bot] avatar Aug 14 '26 02:08 github-actions[bot]

This issue was automatically closed due to inactivity. Feel free to reopen it if the problem persists.

github-actions[bot] avatar Aug 28 '26 04:08 github-actions[bot]