* Add ability to view branches for a repo #141
* fix: update ListBranches test to use InputSchema and correct translation helper
* fix: update ListBranches test to use InputSchema and correct translation helper
* fix: update ListBranches test to handle errors in tool result
* fix: replace deprecated github.String with github.Ptr
* docs: add list_branches tool documentation to README
* Fix handling nil values for optional string array parameters,
nil values should be equivalent to an empty string, currently we return an error but Claude passes nil for optional values.
* lint fixes
* Add support for retrieving GitHub Issue Comments
Add new tool 'get_issue_comments' that allows fetching comments associated
with GitHub issues. This complements the existing issue retrieval functionality
and follows the same patterns as the pull request comments implementation.
The implementation includes:
- New getIssueComments function in pkg/github/issues.go
- Tool registration in server.go
- Comprehensive test coverage in issues_test.go
* Support pagination for get_issue_comments
---------
Co-authored-by: Javier Uruen Val <juruen@github.com>
* refactor to make testing easier
* not needed in handler func
* small cleanup
* create repository_resource_test
* remove chatty comments
* comment cleanup, function rename and some more tests
* fix test for ubuntu runner
* remove it for now
* make required args explicit instead of panic
* more tests and cleanup
* chore: use raw repo resources (#70)
* use raw repo URIs for resources
* fetch repository content from raw urls
* ensure no error in test write
* Update pkg/github/repository_resource.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* use appropriate file name for text file test
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Sam Morrow <info@sam-morrow.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>