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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user