High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
style: pdev gum picker — muted item color, indented subcommands
Data921fb221af5a
diff --git a/pdev b/pdevindex 808bcb06..683f3bd2 100755--- a/pdev+++ b/pdev@@ -119,7 +119,13 @@ pick_with_gum() {local options=()for cmd in "${COMMANDS[@]}"; doIFS=':' read -r name emoji desc <<< "$cmd"- options+=("$emoji $name — $desc")+ local trimmed="${name#"${name%%[![:space:]]*}"}"+ if [[ "$name" == " "* ]]; then+ # Subcommand: indent, no emoji+ options+=("$(printf ' %-18s %s' "$trimmed" "$desc")")+ else+ options+=("$(printf '%s %-18s %s' "$emoji" "$trimmed" "$desc")")+ fidonelocal choice@@ -127,11 +133,12 @@ pick_with_gum() {--header "🦀 Pinchtab Dev" \--header.foreground "#fbbf24" \--cursor.foreground "#00e5cc" \- --selected.foreground "#00e5cc")+ --selected.foreground "#00e5cc" \+ --item.foreground "#8892b0")- # Extract command name from choice (between emoji+spaces and " —")+ # Extract command name (first non-space word(s) after optional emoji)local picked- picked=$(echo "$choice" | sed 's/^.* //' | sed 's/ —.*//')+ picked=$(echo "$choice" | sed 's/^[^a-z]*//' | awk '{if ($2 ~ /^[a-z]/) print $1, $2; else print $1}')run_command "$picked"}