refactor(lib): add robust TUI readiness tokens for cline

- Include 'What can I do' and 'slash commands' to grep search pattern
- Avoid false-positive timeouts when welcome screen branding logo is skipped
This commit is contained in:
2026-07-12 15:44:01 +09:00
parent dc1a2718d1
commit 2d2510f391
+1 -1
View File
@@ -1054,7 +1054,7 @@ wait_for_tui_ready() {
fi
;;
cline)
if echo "$content" | grep -E -q "Cline|history|Chat" 2>/dev/null; then
if echo "$content" | grep -E -q "Cline|history|Chat|What can I do|slash commands" 2>/dev/null; then
echo "✅ Cline TUI detected ready."
return 0
fi