• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 25052753903
66%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 12:33PM UTC
Jobs 1
Files 703
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Apr 2026 12:27PM UTC coverage: 63.941% (-2.4%) from 66.293%
25052753903

push

github

web-flow
Add interactive TUI dashboard for managing MCP servers (#4680)

* Add interactive TUI dashboard

Add a terminal dashboard (thv tui) for managing MCP servers with:
- Real-time workload list with status indicators and filtering
- Tabbed panels for logs, server info, tools, proxy logs, and inspector
- Tool inspector with form-based calling and JSON tree response viewer
- Registry browser with search and detail view
- Log search with case-insensitive highlighting and match navigation
- Horizontal scrolling for long log lines
- Keyboard-driven navigation with contextual help overlay

The codebase is organized into focused files by area (inspector,
registry, search, navigation) with shared form field helpers and
sub-structs for clean state management.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add run from registry support in TUI

Allow launching MCP servers directly from the registry browser. Press
'r' in the registry detail view to open a form with the workload name
and environment variable fields pre-populated from registry metadata.
Secret fields use password masking. On submit, the TUI spawns
'thv run' as a subprocess and refreshes the workload list on completion.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Cap tool description to 2 lines in inspector

Truncate long tool descriptions in the inspector form to 2 lines with
an ellipsis and [i] hint to view the full text in the detail modal.
This prevents verbose MCP tool descriptions from pushing form fields
off screen.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Sort environment variables in info panel

Sort environment variable keys alphabetically before rendering in the
server info panel. Go maps have non-deterministic iteration order,
which caused env vars to shuffle on every 5-second refresh cycle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add unit tests for TUI pure functions

Cover... (continued)

430 of 4078 new or added lines in 30 files covered. (10.54%)

42 existing lines in 7 files now uncovered.

60214 of 94171 relevant lines covered (63.94%)

57.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
400
0.0
pkg/tui/update_navigation.go
325
0.0
pkg/tui/view_inspector.go
293
0.0
pkg/tui/update.go
291
0.0
pkg/tui/update_inspector.go
291
10.74
pkg/tui/view_registry.go
253
0.0
pkg/tui/view.go
216
0.0
pkg/tui/view_statusbar.go
171
0.0
pkg/tui/update_registry.go
166
0.0
cmd/thv/app/ui/styles.go
151
0.0
cmd/thv/app/ui/help.go
135
20.12
pkg/tui/update_search.go
119
0.0
pkg/tui/actions.go
96
31.91
pkg/tui/view_helpers.go
96
0.0
pkg/tui/view_info.go
93
52.79
pkg/tui/json_tree.go
91
0.0
pkg/mcp/client/client.go
69
0.0
cmd/thv/app/ui/spinner.go
54
58.46
pkg/tui/inspector.go
52
0.0
cmd/thv/app/tui.go
52
0.0
pkg/tui/model.go
44
45.68
pkg/tui/logs.go
43
8.51
pkg/tui/registry.go
41
0.0
pkg/tui/init.go
30
0.0
pkg/tui/proxylogs.go
23
0.0
cmd/thv/app/ui/log_handler.go
21
0.0
pkg/tui/tools.go
20
77.27
pkg/tui/logformat.go
7
79.41
pkg/tui/form_helpers.go
4
0.0
0.0% cmd/thv/app/mcp.go
1
0.0
0.0% cmd/thv/app/commands.go

Coverage Regressions

Lines Coverage ∆ File
12
75.09
-4.33% pkg/client/config.go
11
68.35
-13.92% pkg/client/discovery.go
8
23.56
-4.6% pkg/client/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
2
73.63
1.29% pkg/runner/config.go
2
82.29
-0.21% pkg/vmcp/composer/workflow_engine.go
1
0.0
0.0% cmd/thv/app/mcp.go
Jobs
ID Job ID Ran Files Coverage
1 25052753903.1 28 Apr 2026 12:33PM UTC 703
63.94
GitHub Action Run
Source Files on build 25052753903
  • Tree
  • List 703
  • Changed 10
  • Source Changed 2
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25052753903
  • 704d0ae1 on github
  • Prev Build on main (#25050756777)
  • Next Build on main (#25055098908)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc