Skip to content

🤖 Open-source, local-first alternative to Grok Bot, OpenAI dots and Claude Duet. Your own AI bots on any model: GPT, Claude, Gemini, Grok, DeepSeek, Kimi, GLM and 70+ more through one Modelflare key. Reach them in the app, WeChat or Feishu; they remember you, work in the background, run commands and use your computer. Pay per use.

ci(e2e): the self-healing check also requires the failure reason in words

Marlacf7c2e17994a
diff --git a/scripts/e2e-agent.mjs b/scripts/e2e-agent.mjs
index 840b2d4..0b09163 100644
--- a/scripts/e2e-agent.mjs
+++ b/scripts/e2e-agent.mjs
@@ -381,6 +381,8 @@ try {
const checks = {
brokenToolFailed: !(summary.healBroken?.reply ?? "").includes("tool-ran-ok") && /windows-acl-run|CreateProcess|spawn|ENOENT/i.test(summary.healBroken?.reply ?? ""),
markedBroken: !!summary.healFallback.bad,
+ // the reason is put in words (Win32 2 from the sandbox runner = pwsh.exe is gone)
+ reasonExplained: /找不到 pwsh\.exe/.test(summary.healFallback.bad?.reason ?? ""),
fellBackTo51: psverOf(summary.healOn51) === "5" && /powershell\.exe$/i.test(summary.healFallback.using ?? ""),
reinstalled: !!summary.healReinstalled.test?.ok,
backOn7: psverOf(summary.healBack) === "7" && (summary.healBack?.reply ?? "").includes("tool-ran-ok"),