feat: Add source code viewer with Gitea integration
- Add /source page with file explorer and code viewer - Connect to Gitea API for repository browsing - Implement MCP tools: get_repo_info, list_repo_files, read_repo_file, search_repo_code - Default to nucleo000/agent-ui repository - Support branch switching and file search
This commit is contained in:
@@ -10,7 +10,7 @@ import { initToolRegistry, activatePageTools, initToolsOnRefresh } from './servi
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
|
||||
type PageName = 'home' | 'canvas' | 'components' | 'themes' | 'projects' | 'project-canvas' | 'database'
|
||||
type PageName = 'home' | 'canvas' | 'components' | 'themes' | 'projects' | 'project-canvas' | 'database' | 'source'
|
||||
|
||||
onMounted(async () => {
|
||||
// Initialize WebMCP connection
|
||||
|
||||
Reference in New Issue
Block a user