From f38f6848c807d8f94e0388b06e905e88791d436b Mon Sep 17 00:00:00 2001 From: Frostebite Date: Fri, 12 Sep 2025 04:30:30 +0100 Subject: [PATCH] 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 --- src/model/cloud-runner/providers/provider-git-manager.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/model/cloud-runner/providers/provider-git-manager.test.ts b/src/model/cloud-runner/providers/provider-git-manager.test.ts index 94cec2f5..978fec6c 100644 --- a/src/model/cloud-runner/providers/provider-git-manager.test.ts +++ b/src/model/cloud-runner/providers/provider-git-manager.test.ts @@ -46,7 +46,6 @@ describe('ProviderGitManager', () => { jest.clearAllMocks(); }); - describe('cloneRepository', () => { it('successfully clones a repository', async () => { const expectedResult = {