Skip to content

fix(ui): Add GitHub repository URL input to Create Agent modal (#255) - #257

Merged
vybe merged 1 commit into
mainfrom
feature/255-github-repo-creation-ui
Apr 3, 2026
Merged

vybe merged 1 commit into
mainfrom
feature/255-github-repo-creation-ui

Conversation

@vybe

@vybe vybe commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a "GitHub Repository" option to the Create Agent modal that accepts any owner/repo or full GitHub URL
  • Parses and validates the input, then sends template: "github:owner/repo" to the existing backend endpoint
  • Auto-focuses the input field when selected; no backend changes needed

Changes

  • src/frontend/src/components/CreateAgentModal.vue — new GitHub repo card with expandable URL input, parseGithubRepo helper, payload wiring

Test Plan

  • Open Create Agent modal, select "GitHub Repository", enter owner/repo → agent creates successfully
  • Paste full https://github.com/owner/repo URL → parses correctly
  • Enter invalid input (e.g., just "repo") → shows validation error
  • Existing template and blank agent flows still work

Closes #255

Generated with Claude Code

The Create Agent modal only supported blank agents and pre-configured
templates. Users can now enter any GitHub repository URL (owner/repo or
full URL) to create an agent directly from a repo — wiring into the
existing backend support for github: templates.

Closes #255

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
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.

bug: Agent creation from GitHub repository via UI is broken

1 participant