ring-skills-mcp 1.0.8 → 1.0.9
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 +1 -3
- 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` (supports private repos) |
|
|
114
114
|
|
|
115
115
|
**Example URLs:**
|
|
116
116
|
```
|
package/dist/index.js
CHANGED
|
@@ -111,13 +111,11 @@ 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)
|
|
115
114
|
*/
|
|
116
115
|
async function installFromGitLab(urlInfo, destPath) {
|
|
117
116
|
const skillsDir = path.dirname(destPath);
|
|
118
117
|
const tempDir = `temp-${urlInfo.skillName}-${Date.now()}`;
|
|
119
|
-
|
|
120
|
-
const repoUrl = `git@${urlInfo.host}:${urlInfo.owner}/${urlInfo.repo}.git`;
|
|
118
|
+
const repoUrl = `https://${urlInfo.host}/${urlInfo.owner}/${urlInfo.repo}.git`;
|
|
121
119
|
// Build command sequence:
|
|
122
120
|
// 1. Create target directory
|
|
123
121
|
// 2. Clone with sparse checkout
|