Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .agents/scripts/session-count-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ count_interactive_sessions() {
cursor_pids=$(pgrep -f 'Cursor\.app' || true)
if [[ -n "$cursor_pids" ]]; then
local cursor_count
cursor_count=$(echo "$cursor_pids" | wc -l | tr -d ' ')
cursor_count=$(echo "$cursor_pids" | wc -l)
count=$((count + cursor_count))
fi

Expand All @@ -155,7 +155,7 @@ count_interactive_sessions() {
windsurf_pids=$(pgrep -f 'Windsurf' || true)
if [[ -n "$windsurf_pids" ]]; then
local windsurf_count
windsurf_count=$(echo "$windsurf_pids" | wc -l | tr -d ' ')
windsurf_count=$(echo "$windsurf_pids" | wc -l)
count=$((count + windsurf_count))
fi

Expand All @@ -164,7 +164,7 @@ count_interactive_sessions() {
aider_pids=$(pgrep -f 'aider' || true)
if [[ -n "$aider_pids" ]]; then
local aider_count
aider_count=$(echo "$aider_pids" | wc -l | tr -d ' ')
aider_count=$(echo "$aider_pids" | wc -l)
count=$((count + aider_count))
fi

Expand Down
Loading