Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BulkReleaseResult ¶
type BulkReleaseResult struct {
BulkReleases []BulkReleaseResultEntry `json:"bulk_releases"`
}
func HandleBulkReleases ¶
func HandleBulkReleases(ctx context.Context, client *github.Client, input BulkReleasesInput) (*BulkReleaseResult, error)
HandleBulkReleases handles the bulk_releases tool request
type BulkReleaseResultEntry ¶
type BulkReleaseResultEntry struct {
Repository string `json:"repository"`
Tag string `json:"tag,omitempty"`
Error string `json:"error,omitempty"`
}
BulkReleaseResultEntry represents a single result in bulk operations
type BulkReleasesInput ¶
type BulkReleasesInput struct {
Repositories []string `json:"repositories" jsonschema:"Array of GitHub repositories in owner-repo format"`
}
BulkReleasesInput represents input for the bulk_releases tool
type CompareHistoryInput ¶
type CompareHistoryInput struct {
Entries []HistoryEntry `json:"entries" jsonschema:"Array of repositories with their historical versions"`
}
CompareHistoryInput represents input for the compare_history tool
type GetReleaseInput ¶
type GetReleaseInput struct {
Repository string `json:"repository" jsonschema:"GitHub repository in owner repo format"`
}
GetReleaseInput represents input for the get_release tool
type HistoryComparisonResult ¶
type HistoryComparisonResult struct {
HistoryComparisonResultEntry []HistoryComparisonResultEntry `json:"history_comparisons"`
}
HistoryComparisonResult
func HandleCompareHistory ¶
func HandleCompareHistory(ctx context.Context, client *github.Client, input CompareHistoryInput) (*HistoryComparisonResult, error)
HandleCompareHistory handles the compare_history tool request
type HistoryComparisonResultEntry ¶
type HistoryComparisonResultEntry struct {
Repository string `json:"repository"`
HistoricalVersion string `json:"historical_version"`
CurrentVersion string `json:"current_version,omitempty"`
HasUpdate bool `json:"has_update"`
Error string `json:"error,omitempty"`
}
HistoryComparisonResultEntryrepresents a single comparison result
type HistoryEntry ¶
type HistoryEntry struct {
Repository string `json:"repository" jsonschema:"GitHub repository in owner-repo format"`
Version string `json:"version" jsonschema:"Historical version tag to compare against"`
}
HistoryEntry represents a single repository with its historical version
type ReleaseOutput ¶
type ReleaseOutput struct {
Repository string `json:"repository"`
TagName string `json:"tag_name"`
Name string `json:"name"`
HTMLURL string `json:"html_url"`
PublishedAt string `json:"published_at"`
}
ReleaseOutput represents the output of a single release query
func HandleGetRelease ¶
func HandleGetRelease(ctx context.Context, client *github.Client, input GetReleaseInput) (*ReleaseOutput, error)
HandleGetRelease handles the get_release tool request