Skip to content

feat(servers): show live connection status on server cards - #50

Merged
agentHits merged 2 commits into
AgentHits-Devfrom
feat/server-status-indicator
Oct 8, 2026
Merged

agentHits merged 2 commits into
AgentHits-Devfrom
feat/server-status-indicator

Conversation

@agentHits

Copy link
Copy Markdown
Collaborator

Summary

  • Every server card on the Remote Servers page shows a live connection badge, in every mode: Online (green), Offline (red, with the check error in a tooltip) or Checking… while the check runs.
  • A refresh button re-runs the check on that card.
  • The Components dialog explains why components cannot be checked when the server check fails, instead of showing an empty or up-to-date state.

The check reuses the existing server.validate procedure, cached for 60 seconds, with retries off so that Offline appears after one failed check. The stored serverStatus field and its cloud badge are unchanged.

Test plan

  • biome check and tsc --noEmit pass.
  • bun run test __test__/server: 16 files, 167 tests pass.
  • Manual: open Settings → Servers, confirm each card shows Online or Offline, and that an Offline server shows its error on hover.

🤖 Generated with Claude Code

agentHits and others added 2 commits October 8, 2026 17:43
Each server card runs the existing server.validate check, cached for 60 seconds, and shows Online, Offline or Checking. Offline shows the check error in a tooltip, and the refresh button re-runs the check. The Components dialog explains why it cannot check components when the check fails, instead of showing an empty or up-to-date state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Revealing the hidden values reset the environment form without the
createEnvFile flag. The form schema then failed validation on that
missing boolean, and the field that reports it is hidden for raw compose,
so Save did nothing and gave no message. Keep the flag when the values
are revealed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@agentHits
agentHits merged commit 1369315 into AgentHits-Dev Oct 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant