Commit graph

3 commits

Author SHA1 Message Date
pdogra1299
f602840c97 feat: Add code snippet support and suggestions to add_comment tool
- Added code_snippet parameter to find line numbers automatically using code text
- Added search_context parameter with before/after arrays for disambiguation
- Added match_strategy parameter (strict/best) for handling multiple matches
- Added suggestion and suggestion_end_line parameters for code suggestions
- Created suggestion-formatter utility for formatting suggestion comments
- Enhanced tool definitions with clearer descriptions and examples
- Updated README with comprehensive usage guide and decision flow
- Removed all debug information from responses for production readiness
- Added detailed error responses when multiple code matches are found
- Improved type definitions and guards for new parameters

This makes the add_comment tool more intelligent and user-friendly, especially for AI-powered code review scenarios.
2025-06-27 02:26:08 +05:30
pdogra1299
d649a116fe feat(diff): add filtering capabilities to get_pull_request_diff
- Add include_patterns, exclude_patterns, and file_path parameters to get_pull_request_diff
- Implement a diff parser to filter the diff based on the provided patterns
- Add minimatch dependency for glob pattern matching
- Update documentation and changelog
2025-06-26 20:17:33 +05:30
pdogra1299
b1d758646c Initial commit: Bitbucket MCP server with get_pull_request tool 2025-06-04 17:24:37 +05:30