Files
local-mcp/app/mcp_server.py
Brandon Zhang ba91349232 experiment: reduce keepalive to 5s and add progress bar
EXPERIMENT (NOT FOR PRODUCTION YET)
Changes:
- KEEPALIVE_INTERVAL_SECONDS reduced from 20s to 5s
- Keepalive messages now show progress bar with dots: ●●●●○○○○○○
- Show elapsed time, total wait, and remaining seconds
- Example:  Waiting for instructions... ●●●●○○○○○○ 20s / 50s (agent=copilot, 30s remaining)
Goal: Test if more frequent progress updates provide better UX and prevent
      perceived freezing during the 50s wait. No functional change - the
      60s client timeout limit remains the binding constraint.
2026-03-27 15:44:49 +08:00

9.5 KiB