- Add list_branch_commits tool with advanced filtering options:
- Filter by date range (since/until)
- Filter by author email/username
- Include/exclude merge commits
- Search in commit messages
- Pagination support
- Add list_pr_commits tool to list all commits in a pull request
- Returns PR title along with commit list
- Pagination support
- Detailed commit information
- Fix author filtering for Bitbucket Server with client-side filtering
- Add TypeScript interfaces for commit types
- Add formatter functions for consistent commit representation
- Update documentation with comprehensive usage examples
- Bump version to 0.10.0
- 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.
- 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
- Added list_directory_content tool for browsing repository files/directories
- Added get_file_content tool with smart truncation for large files
- Smart defaults by file type (config: 200, docs: 300, code: 500 lines)
- Pagination support with start_line and line_count parameters
- Tail functionality using negative start_line values
- Auto-truncation for files >50KB, explicit approval needed for >1MB files
- Returns metadata including size, encoding, and last modified info
- Added FileHandlers class following modular architecture
- Added TypeScript interfaces and type guards
- Updated version to 0.5.0 and CHANGELOG
- Added new tool to get detailed branch information including associated PRs
- Supports both Bitbucket Server and Cloud APIs
- Returns branch details, open PRs, optionally merged PRs, and statistics
- Useful for checking PR status before branch deletion and branch management
- Added TypeScript interfaces for branch responses
- Added comprehensive documentation in README
- Fixed API parameter passing for GET requests (was passing config as third parameter instead of fourth)
- Branch filtering now works correctly with filterText parameter for Bitbucket Server
- All GET requests with query parameters now functioning properly across all handlers
- Updated CHANGELOG.md to reflect the fixes