Skip to content

mcp(fix[safety]): Harden search, destructive tools, and middleware

de621ec
Select commit
Loading
Failed to load commit list.
Draft

feat: MCP server for programmatic tmux control #642

mcp(fix[safety]): Harden search, destructive tools, and middleware
de621ec
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 21, 2026 in 0s

58.04% (+6.84%) compared to 78b96c0

View this Pull Request on Codecov

58.04% (+6.84%) compared to 78b96c0

Details

Codecov Report

❌ Patch coverage is 80.75370% with 143 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.04%. Comparing base (78b96c0) to head (de621ec).

Files with missing lines Patch % Lines
src/libtmux/mcp/_utils.py 70.58% 35 Missing and 10 partials ⚠️
src/libtmux/mcp/resources/hierarchy.py 67.85% 12 Missing and 6 partials ⚠️
src/libtmux/mcp/tools/server_tools.py 75.00% 6 Missing and 6 partials ⚠️
src/libtmux/mcp/server.py 68.57% 10 Missing and 1 partial ⚠️
src/libtmux/mcp/tools/pane_tools.py 92.19% 7 Missing and 4 partials ⚠️
src/libtmux/mcp/tools/session_tools.py 81.03% 7 Missing and 4 partials ⚠️
src/libtmux/mcp/tools/window_tools.py 85.71% 8 Missing and 2 partials ⚠️
src/libtmux/mcp/middleware.py 63.63% 8 Missing ⚠️
src/libtmux/mcp/__init__.py 12.50% 7 Missing ⚠️
src/libtmux/mcp/tools/option_tools.py 79.41% 6 Missing and 1 partial ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #642      +/-   ##
==========================================
+ Coverage   51.19%   58.04%   +6.84%     
==========================================
  Files          25       40      +15     
  Lines        2590     3332     +742     
  Branches      402      493      +91     
==========================================
+ Hits         1326     1934     +608     
- Misses       1094     1196     +102     
- Partials      170      202      +32     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.