Skip to content

Conversation

@BrunoV21
Copy link
Owner

📝 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

  • Added comprehensive author retrieval across all Git providers (GitHub, GitLab, Azure DevOps, and URL-based) with a new /api/authors endpoint
  • Implemented a /api/current-author endpoint to return authenticated user information from the active Git provider session
  • Enhanced the /actions endpoint to provide structured responses with metadata about token limit trimming operations

⚙️ Improvements

  • Improved transparency by adding user notifications when older actionables are trimmed due to token limits
  • Refactored code to move CloneRequest and GetCurrentAuthorResponse schemas to a more appropriate location
  • Updated endpoints to ensure consistent API behavior with proper response schema validation and type definitions

🧹 Refactoring

  • Removed stray TypeScript line from App.tsx
  • Organized related schemas and routes for better code maintainability

📚 Documentation

  • Added comprehensive test coverage for new author retrieval functionality across different providers and edge cases

Compass AI and others added 5 commits December 15, 2025 10:39
…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.
@BrunoV21 BrunoV21 merged commit 42d335b into main Dec 15, 2025
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants