Real-time dashboard for monitoring parallel execution progress
Monitors parallel execution progress with real-time worker status and overall completion metrics.
/plugin marketplace add flight505/sdk-bridge-marketplace/plugin install sdk-bridge@sdk-bridge-marketplaceMonitor parallel execution progress in real-time.
#!/bin/bash
set -euo pipefail
WORKERS_FILE=".claude/worker-sessions.json"
if [ ! -f "$WORKERS_FILE" ]; then
echo "ā No active workers found"
echo ""
echo "Start parallel execution with:"
echo " /sdk-bridge:handoff"
exit 0
fi
# Count active workers
ACTIVE_COUNT=$(jq '.active_workers | length' "$WORKERS_FILE" 2>/dev/null || echo "0")
if [ "$ACTIVE_COUNT" -eq 0 ]; then
echo "ā
No active workers (execution complete or not started)"
exit 0
fi
echo "š SDK Bridge Live Dashboard"
echo "āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā"
echo ""
# Display each active worker
jq -r '
.active_workers | to_entries[] |
"Worker: \(.key)
Feature: \(.value.feature_id)
Branch: \(.value.git_branch)
Model: \(.value.model)
Status: \(.value.status)
Session: \(.value.current_session)/\(.value.max_sessions)
Started: \(.value.started_at)
Last Update: \(.value.last_heartbeat)
Message: \(.value.result_message)
"
' "$WORKERS_FILE"
echo "āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā"
# Check if execution plan exists
if [ -f ".claude/execution-plan.json" ]; then
TOTAL_FEATURES=$(jq '.metadata.total_features' .claude/execution-plan.json)
# Count completed from worker sessions
COMPLETED=$(jq '.completed_workers | length' "$WORKERS_FILE")
# Calculate progress percentage
if [ "$TOTAL_FEATURES" -gt 0 ]; then
PROGRESS=$((COMPLETED * 100 / TOTAL_FEATURES))
echo ""
echo "š Overall Progress: $COMPLETED/$TOTAL_FEATURES features ($PROGRESS%)"
# ASCII progress bar
BAR_LENGTH=40
FILLED=$((PROGRESS * BAR_LENGTH / 100))
EMPTY=$((BAR_LENGTH - FILLED))
printf "["
for i in $(seq 1 $FILLED); do printf "ā"; done
for i in $(seq 1 $EMPTY); do printf "ā"; done
printf "] $PROGRESS%%\n"
echo ""
fi
fi
# Show last 10 lines of log
if [ -f ".claude/sdk-bridge.log" ]; then
echo "š Recent Activity:"
echo ""
tail -n 10 .claude/sdk-bridge.log | sed 's/^/ /'
echo ""
fi
Offer option to watch continuously:
echo "āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā"
echo ""
echo "š” Options:"
echo " ⢠Refresh: /sdk-bridge:observe"
echo " ⢠Live logs: tail -f .claude/sdk-bridge.log"
echo " ⢠Check status: /sdk-bridge:status"
echo " ⢠Cancel: /sdk-bridge:cancel"
echo ""
š SDK Bridge Live Dashboard
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Worker: worker-1
Feature: feat-002
Branch: sdk-bridge/parallel/feat-002
Model: claude-sonnet-4-5-20250929
Status: running
Session: 2/5
Started: 2026-01-10T19:30:00Z
Last Update: 2026-01-10T19:32:15Z
Message: Implementing JWT middleware
Worker: worker-2
Feature: feat-004
Branch: sdk-bridge/parallel/feat-004
Model: claude-sonnet-4-5-20250929
Status: running
Session: 1/5
Started: 2026-01-10T19:30:05Z
Last Update: 2026-01-10T19:31:45Z
Message: Creating database schema
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š Overall Progress: 3/7 features (42%)
[āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā] 42%
š Recent Activity:
2026-01-10 19:32:15 - Worker worker-1 executing session 2
2026-01-10 19:32:10 - Feature feat-002: Added JWT validation
2026-01-10 19:31:50 - Worker worker-2 executing session 1
2026-01-10 19:31:45 - Feature feat-004: Created users table
2026-01-10 19:30:30 - Worker worker-1 completed session 1
2026-01-10 19:30:00 - Starting parallel execution level 1
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š” Options:
⢠Refresh: /sdk-bridge:observe
⢠Live logs: tail -f .claude/sdk-bridge.log
⢠Check status: /sdk-bridge:status
⢠Cancel: /sdk-bridge:cancel
tail -f .claude/sdk-bridge.log for continuous monitoring