Commit Graph

7 Commits

Author SHA1 Message Date
Copilot eaf411c1cd Migrate git toolset to modelcontextprotocol/go-sdk (#1432)
* Initial plan

* Migrate git toolset to modelcontextprotocol/go-sdk

- Remove //go:build ignore tag from git.go
- Update imports to use modelcontextprotocol/go-sdk
- Convert GetRepositoryTree tool schema to jsonschema format
- Update handler signature to use new generics pattern
- Update parameter extraction to use args map
- Replace mcp.NewToolResult* with utils package helpers
- Create dedicated git_test.go with updated test patterns
- Update toolsnaps for get_repository_tree

Related to #1428

Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com>

* re-add git toolset

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com>
Co-authored-by: LuluBeatson <lulubeatson@github.com>
2025-11-19 17:29:29 +01:00
Adam Holt 1e7a3f05f1 Merge branch 'main' into omgitsads/go-sdk 2025-11-18 11:04:12 +01:00
Adam Holt c946ada4ee Move files back, use build tags 2025-11-17 20:10:56 +01:00
Adam Holt 655bcca719 move files rather than commenting out 2025-11-17 18:42:29 +01:00
Jonathan c73f06fa29 bumps google/go-github to v79 2025-11-15 22:07:38 +01:00
Adam Holt 42ada5f005 comment out broken tools for now, we'll tackle them one by one 2025-11-13 17:07:59 +01:00
Natalie Dunbar e26cf427ef Add Repository Tree Navigation Tool (#1164)
* add repo nav tool

* comment responses

* move into git.go

* fix documentation

* Update pkg/github/git.go

Co-authored-by: Adam Holt <omgitsads@github.com>

* Fix undefined variable error in GetRepositoryTree

* Update git.go to use github.com/google/go-github/v77 for consistency with main branch

---------

Co-authored-by: Adam Holt <omgitsads@github.com>
2025-11-10 10:29:13 -05:00