Conversation
…ndpoint Implemented a new `get_authors()` method across all fetcher classes (GitHub, GitLab, Azure DevOps, and URL-based) to retrieve unique author information from repositories. Added corresponding API schemas and a new `/api/authors` endpoint that allows filtering by repository names and returns deduplicated author data with names and emails. Includes comprehensive test coverage for the new functionality across different providers and edge cases.
Implemented a new `/api/current-author` endpoint that returns the authenticated user's name and email from the active Git provider session. This feature adds the `get_current_author()` method to all fetcher classes (GitHub, GitLab, Azure DevOps, and URL-based), with GitHub providing full implementation while other providers return None as they don't currently support this functionality. The endpoint includes proper error handling for missing sessions and provider-specific limitations.
…etadata and user notifications Modified the `/actions` endpoint to return a structured response that includes the list of Git actionables along with metadata about token limit trimming operations. When the free version's token limit requires trimming older actionables, the API now provides a user-facing informational message explaining the situation. The frontend displays this message in a dismissible banner, improving transparency about context limitations. Added proper response schema validation and type definitions to ensure consistent API behavior.
…nse to schemas, update endpoints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Summary
This pull request introduces new author retrieval functionality, improves the actions endpoint response structure, and refactors related code for better maintainability. The changes include new API endpoints for author information and current user details, along with enhanced transparency for token limit trimming operations.
✨ Features
/api/authorsendpoint/api/current-authorendpoint to return authenticated user information from the active Git provider session/actionsendpoint to provide structured responses with metadata about token limit trimming operations⚙️ Improvements
CloneRequestandGetCurrentAuthorResponseschemas to a more appropriate location🧹 Refactoring
App.tsx📚 Documentation