feat: abstract GitLab/GitHub CLI usage (#10)

- Move resolveRepoPath to lib/utils.ts
- Update all tools to use createProvider() from lib/providers/
- Remove direct imports from lib/gitlab.ts
- Mark lib/gitlab.ts as deprecated
- All tools now work with both GitHub (gh CLI) and GitLab (glab CLI)
- Provider auto-detected from git remote URL
This commit is contained in:
Lauren ten Hoor
2026-02-09 22:19:43 +08:00
parent bbef2970d1
commit 3197f442d2
8 changed files with 67 additions and 46 deletions

View File

@@ -1,4 +1,7 @@
/**
* @deprecated This module is deprecated and kept only for reference.
* Use lib/providers/index.ts with createProvider() for GitLab/GitHub abstraction.
*
* GitLab wrapper using glab CLI.
* Handles label transitions, issue fetching, and MR verification.
*/