Expand description
Platform-agnostic facade functions for FFI and CLI integration.
This module provides high-level functions that abstract away the complexity
of credential resolution, API client creation, and data transformation.
Each platform (CLI, iOS, MCP) implements TokenProvider and calls these
functions with their own credential source.
Functions§
- add_
custom_ repo - Adds a custom repository.
- analyze_
issue - Analyzes a GitHub issue and generates triage suggestions.
- analyze_
pr - Analyzes PR details with AI to generate a review.
- apply_
triage_ labels - Applies AI-suggested labels and milestone to an issue.
- discover_
repos - Discovers repositories matching a filter via GitHub Search API.
- fetch_
issue_ for_ triage - Fetches an issue for triage analysis.
- fetch_
issues - Fetches “good first issue” issues from curated repositories.
- fetch_
pr_ for_ review - Reviews a pull request and generates AI feedback.
- format_
issue - Formats a GitHub issue with AI assistance.
- generate_
release_ notes - Generate AI-curated release notes from PRs between git tags.
- label_
pr - Auto-label a pull request based on conventional commit prefix and file paths.
- list_
curated_ repos - Fetches curated repositories with platform-agnostic API.
- list_
models - Lists available models from a provider API with caching.
- list_
repos - Lists repositories with optional filtering.
- post_
issue - Posts a formatted issue to GitHub.
- post_
pr_ review - Posts a PR review to GitHub.
- post_
release_ notes - Post release notes to GitHub.
- post_
triage_ comment - Posts a triage comment to GitHub.
- remove_
custom_ repo - Removes a custom repository.
- validate_
model - Validates if a model exists for a provider.