ring-skills-mcp 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ Install the specified skill to local project by gitUrl.
|
|
|
110
110
|
| Platform | URL Format | Installation Method |
|
|
111
111
|
|----------|------------|---------------------|
|
|
112
112
|
| GitHub | `https://github.com/{owner}/{repo}/tree/{branch}/{path}` | `npx degit` (fast, no git history) |
|
|
113
|
-
| GitLab | `https://{host}/{owner}/{repo}/-/tree/{branch}/{path}` | `git sparse-checkout` (
|
|
113
|
+
| GitLab | `https://{host}/{owner}/{repo}/-/tree/{branch}/{path}` | `git sparse-checkout` via SSH (no login required for internal networks) |
|
|
114
114
|
|
|
115
115
|
**Example URLs:**
|
|
116
116
|
```
|
package/dist/index.js
CHANGED
|
@@ -111,11 +111,13 @@ async function installFromGitHub(urlInfo, destPath) {
|
|
|
111
111
|
/**
|
|
112
112
|
* Install Skill from GitLab using git sparse-checkout
|
|
113
113
|
* For private GitLab repositories that degit doesn't support
|
|
114
|
+
* Uses SSH format for internal networks (no login required)
|
|
114
115
|
*/
|
|
115
116
|
async function installFromGitLab(urlInfo, destPath) {
|
|
116
117
|
const skillsDir = path.dirname(destPath);
|
|
117
118
|
const tempDir = `temp-${urlInfo.skillName}-${Date.now()}`;
|
|
118
|
-
|
|
119
|
+
// Use SSH format for GitLab (no login required for internal networks)
|
|
120
|
+
const repoUrl = `git@${urlInfo.host}:${urlInfo.owner}/${urlInfo.repo}.git`;
|
|
119
121
|
// Build command sequence:
|
|
120
122
|
// 1. Create target directory
|
|
121
123
|
// 2. Clone with sparse checkout
|