feat(dora): add FileProvider with Serena-inspired file tools#27
Merged
Conversation
- Add FileProvider with 6 tools: read_file, create_text_file, list_dir, find_file, search_for_pattern, replace_content - Remove JetBrains provider (TBD for future implementation) - Simplify server.ts to use LSP and File providers only - Move tests from src/**/__tests__/ to test/ directory - Update to version 0.2.0
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27 +/- ##
==========================================
+ Coverage 32.14% 40.14% +8.00%
==========================================
Files 14 15 +1
Lines 2946 3340 +394
==========================================
+ Hits 947 1341 +394
Misses 1999 1999 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added FileProvider with six file system operation tools inspired by Serena's file utilities. This simplifies the dora MCP server to use LSP and File providers, removing the JetBrains provider (TBD for future implementation).
Changes
Add FileProvider with 6 tools:
read_file- Read files with line range supportcreate_text_file- Create or overwrite fileslist_dir- List files and directories recursivelyfind_file- Find files matching patterns with wildcardssearch_for_pattern- Search regex patterns across files with contextreplace_content- Replace content using literal or regex modeSimplify server.ts - Use only LSP and File providers
Remove JetBrains provider - Marked as TBD for future implementation
Move tests - Reorganize from src/**/tests/ to test/ directory
Update version - Bump to 0.2.0
Test Plan
Related Issues
Closes #TBD