- Add search_code tool for searching code across Bitbucket repositories
- Currently supports Bitbucket Server only (Cloud support planned)
- Implement SearchHandlers class following modular architecture
- Add formatCodeSearchOutput for clean AI-friendly output
- Support file pattern filtering with glob patterns
- Add comprehensive documentation and examples
- Create Memory Bank for project documentation
- Bump version to 1.0.0 indicating stable API with comprehensive features
- Update CHANGELOG.md with v1.0.0 release notes
- 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
- Modified handleUpdatePullRequest to include existing reviewers when reviewers parameter is omitted
- Preserves approval status for existing reviewers when updating reviewer list
- Updated tool documentation to clarify reviewer preservation behavior
- Enhanced README with detailed explanation of reviewer handling
- Bumped version to 0.9.1
This prevents accidentally removing reviewers when only updating PR title or description.
- 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
- Enhanced FormattedComment interface with replies field for nested threads
- Updated comment fetching to recursively process nested structure
- Fixed comment counting to include all nested replies
- Updated documentation to explain reply handling differences
- Maintained backward compatibility with existing tools
- 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
- Added create_pull_request, update_pull_request, merge_pull_request tools
- Added list_branches and delete_branch tools (fixed delete to handle 204 response)
- Enhanced add_comment to support inline comments on specific code lines
- Added all code review tools: approve/unapprove, request/remove changes, get diff
- Updated package version to 0.2.0
- Comprehensive documentation for all tools in README
- Add note that Bitbucket Server requires email address for author filter
- Clarify difference between Cloud (username) and Server (email) for author parameter