chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package github
|
||||
|
||||
import (
|
||||
"github.com/github/github-mcp-server/pkg/inventory"
|
||||
"github.com/github/github-mcp-server/pkg/translations"
|
||||
)
|
||||
|
||||
// AllResources returns all resource templates with their embedded toolset metadata.
|
||||
// Resource definitions are stateless - handlers are generated on-demand during registration.
|
||||
func AllResources(t translations.TranslationHelperFunc) []inventory.ServerResourceTemplate {
|
||||
return []inventory.ServerResourceTemplate{
|
||||
// Repository resources
|
||||
GetRepositoryResourceContent(t),
|
||||
GetRepositoryResourceBranchContent(t),
|
||||
GetRepositoryResourceCommitContent(t),
|
||||
GetRepositoryResourceTagContent(t),
|
||||
GetRepositoryResourcePrContent(t),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user