feat: Implement provider loader dynamic imports with GitHub URL support

- Add URL detection and parsing utilities for GitHub URLs, local paths, and NPM packages
- Implement git operations for cloning and updating repositories with local caching
- Add automatic update checking mechanism for GitHub repositories
- Update provider-loader.ts to support multiple source types with comprehensive error handling
- Add comprehensive test coverage for all new functionality
- Include complete documentation with usage examples
- Support GitHub URLs: https://github.com/user/repo, user/repo@branch
- Support local paths: ./path, /absolute/path
- Support NPM packages: package-name, @scope/package
- Maintain backward compatibility with existing providers
- Add fallback mechanisms and interface validation
pull/734/head
Frostebite 2025-09-12 04:30:30 +01:00
parent 825f116f84
commit f38f6848c8
1 changed files with 0 additions and 1 deletions

View File

@ -46,7 +46,6 @@ describe('ProviderGitManager', () => {
jest.clearAllMocks(); jest.clearAllMocks();
}); });
describe('cloneRepository', () => { describe('cloneRepository', () => {
it('successfully clones a repository', async () => { it('successfully clones a repository', async () => {
const expectedResult = { const expectedResult = {