feat: Add shit-agents GitHub App integration#32
Open
jordanpartridge wants to merge 4 commits intomasterfrom
Open
feat: Add shit-agents GitHub App integration#32jordanpartridge wants to merge 4 commits intomasterfrom
jordanpartridge wants to merge 4 commits intomasterfrom
Conversation
- Add data-testid attributes to ChatMessage.vue for browser testing - Add comprehensive Pest browser tests for markdown rendering: - Renders markdown in assistant messages (h1, bold, italic, lists, code) - Keeps user messages as plain text - Renders code blocks, inline code, lists, and links correctly - Update agent queue with completed gh-1 task Task: gh-1 fixes #1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Implements a complete Agent Builder feature following IndyDevDan's standards for agent architecture: Backend: - Enhanced Agent model with relationships (user, defaultModel, models) - Added casts for tools/capabilities arrays and is_active boolean - Added scopes (active, system, forUser) and helper methods - Built AgentController with index, create, store, show, edit, update, destroy - Added agent routes to web.php Frontend: - Created Agents/Index.vue with grid layout and empty state - Created Agents/Create.vue with form for name, description, system prompt - Created Agents/Show.vue to display agent details - Created Agents/Edit.vue for updating agent configuration - Added Agent, ToolOption, CapabilityOption types to chat.ts Testing: - Created comprehensive AgentControllerTest with Pest - Added Playwright browser tests for E2E coverage - Tests cover auth, CRUD operations, and authorization fixes #21 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add agent selection capability to the chat interface, completing the Agent Builder integration with the existing chat system. Backend changes: - Chat model: Added agent_id fillable and agent() relationship - ChatController: Pass available agents to views, support agent_id in store - StoreChatRequest: Added agent_id validation (nullable, exists) - UpdateChatRequest: Added agent_id validation (sometimes, nullable) Frontend changes: - Chat types: Added agent_id and agent to Chat interface - Chat/Index: Agent selector dropdown when creating new chat - Chat/Show: Agent selector in header, agent indicator badge All 362 tests passing. Task: gh-21 fixes #21 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add JWT-based GitHub App authentication with installation token management, OAuth callback handling, device flow support, and webhook endpoint. Includes GitHubAppController for handling OAuth flows and GitHubAppService for API interactions. App installed on the-shit org with write access for autonomous agent operations. Key features: - JWT authentication for GitHub App - Installation token generation and caching - OAuth callback and device flow support - Webhook endpoint (placeholder for future) - Test commit endpoint for verification - API request wrapper with automatic token handling
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
Implementation Details
GitHubAppController: Handles OAuth flows, device authentication, webhooks, and test endpointsGitHubAppService: JWT generation, installation token management, API requestsfirebase/php-jwtdependency for RS256 JWT signingconfig/services.phpfor app credentials/githubprefix with auth middlewareApp Status
App is installed on the-shit org with write access and ready for autonomous agent operations.
Test Plan