agent-skills-cli 1.1.0 → 1.1.2
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 +85 -13
- package/dist/__tests__/git-auth.test.d.ts +11 -0
- package/dist/__tests__/git-auth.test.d.ts.map +1 -0
- package/dist/__tests__/git-auth.test.js +160 -0
- package/dist/__tests__/git-auth.test.js.map +1 -0
- package/dist/__tests__/skill-lock.test.d.ts +8 -0
- package/dist/__tests__/skill-lock.test.d.ts.map +1 -0
- package/dist/__tests__/skill-lock.test.js +104 -0
- package/dist/__tests__/skill-lock.test.js.map +1 -0
- package/dist/__tests__/skillsrc.test.d.ts +11 -0
- package/dist/__tests__/skillsrc.test.d.ts.map +1 -0
- package/dist/__tests__/skillsrc.test.js +185 -0
- package/dist/__tests__/skillsrc.test.js.map +1 -0
- package/dist/__tests__/source-parser.test.d.ts +16 -0
- package/dist/__tests__/source-parser.test.d.ts.map +1 -0
- package/dist/__tests__/source-parser.test.js +231 -0
- package/dist/__tests__/source-parser.test.js.map +1 -0
- package/dist/cli/commands/install.d.ts +8 -0
- package/dist/cli/commands/install.d.ts.map +1 -1
- package/dist/cli/commands/install.js +203 -90
- package/dist/cli/commands/install.js.map +1 -1
- package/dist/core/git-auth.d.ts +74 -0
- package/dist/core/git-auth.d.ts.map +1 -0
- package/dist/core/git-auth.js +299 -0
- package/dist/core/git-auth.js.map +1 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +5 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/skill-lock.d.ts +1 -1
- package/dist/core/skill-lock.d.ts.map +1 -1
- package/dist/core/skillsrc.d.ts +65 -0
- package/dist/core/skillsrc.d.ts.map +1 -0
- package/dist/core/skillsrc.js +161 -0
- package/dist/core/skillsrc.js.map +1 -0
- package/dist/core/source-parser.d.ts +9 -1
- package/dist/core/source-parser.d.ts.map +1 -1
- package/dist/core/source-parser.js +95 -6
- package/dist/core/source-parser.js.map +1 -1
- package/package.json +9 -3
|
@@ -7,15 +7,23 @@
|
|
|
7
7
|
* - GitHub URLs: https://github.com/owner/repo
|
|
8
8
|
* - GitHub shorthand: owner/repo
|
|
9
9
|
* - GitLab URLs: https://gitlab.com/owner/repo
|
|
10
|
+
* - Bitbucket URLs: https://bitbucket.org/owner/repo
|
|
11
|
+
* - SSH URLs: git@host:owner/repo.git
|
|
12
|
+
* - npm packages: npm:@scope/package
|
|
13
|
+
* - Custom/self-hosted Git: https://git.company.com/team/repo
|
|
10
14
|
* - Direct SKILL.md URLs
|
|
11
15
|
* - Generic git URLs
|
|
12
16
|
*/
|
|
13
17
|
export interface ParsedSource {
|
|
14
|
-
type: 'local' | 'github' | 'gitlab' | 'git' | 'direct-url' | 'well-known';
|
|
18
|
+
type: 'local' | 'github' | 'gitlab' | 'bitbucket' | 'npm' | 'private-git' | 'direct-url' | 'well-known';
|
|
15
19
|
url: string;
|
|
16
20
|
localPath?: string;
|
|
17
21
|
ref?: string;
|
|
18
22
|
subpath?: string;
|
|
23
|
+
/** npm registry URL (for npm sources) */
|
|
24
|
+
registry?: string;
|
|
25
|
+
/** SSH host (for SSH URLs) */
|
|
26
|
+
sshHost?: string;
|
|
19
27
|
}
|
|
20
28
|
/**
|
|
21
29
|
* Parse a source string into a structured format
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-parser.d.ts","sourceRoot":"","sources":["../../src/core/source-parser.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"source-parser.d.ts","sourceRoot":"","sources":["../../src/core/source-parser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,KAAK,GAAG,aAAa,GAAG,YAAY,GAAG,YAAY,CAAC;IACxG,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AA2CD;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CA6LvD;AAkDD;;GAEG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,GAAG,IAAI,CAkBhE;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,CAYvE"}
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
* - GitHub URLs: https://github.com/owner/repo
|
|
8
8
|
* - GitHub shorthand: owner/repo
|
|
9
9
|
* - GitLab URLs: https://gitlab.com/owner/repo
|
|
10
|
+
* - Bitbucket URLs: https://bitbucket.org/owner/repo
|
|
11
|
+
* - SSH URLs: git@host:owner/repo.git
|
|
12
|
+
* - npm packages: npm:@scope/package
|
|
13
|
+
* - Custom/self-hosted Git: https://git.company.com/team/repo
|
|
10
14
|
* - Direct SKILL.md URLs
|
|
11
15
|
* - Generic git URLs
|
|
12
16
|
*/
|
|
@@ -49,6 +53,26 @@ function isDirectSkillUrl(input) {
|
|
|
49
53
|
* Parse a source string into a structured format
|
|
50
54
|
*/
|
|
51
55
|
export function parseSource(input) {
|
|
56
|
+
// npm package: npm:@scope/package or npm:package-name
|
|
57
|
+
const npmMatch = input.match(/^npm:(.+)$/);
|
|
58
|
+
if (npmMatch) {
|
|
59
|
+
return {
|
|
60
|
+
type: 'npm',
|
|
61
|
+
url: npmMatch[1],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
// SSH URL: git@hostname:owner/repo.git or git@hostname/owner/repo.git
|
|
65
|
+
const sshMatch = input.match(/^git@([^:/]+)[:/](.+?)(?:\.git)?$/);
|
|
66
|
+
if (sshMatch) {
|
|
67
|
+
const [, host, path] = sshMatch;
|
|
68
|
+
const parts = path.split('/');
|
|
69
|
+
return {
|
|
70
|
+
type: 'private-git',
|
|
71
|
+
url: input.includes(':') ? input : `git@${host}:${path}${input.endsWith('.git') ? '' : '.git'}`,
|
|
72
|
+
sshHost: host,
|
|
73
|
+
subpath: parts.length > 2 ? parts.slice(2).join('/') : undefined,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
52
76
|
// Local path: absolute, relative, or current directory
|
|
53
77
|
if (isLocalPath(input)) {
|
|
54
78
|
const resolvedPath = resolve(input);
|
|
@@ -127,26 +151,74 @@ export function parseSource(input) {
|
|
|
127
151
|
url: `https://gitlab.com/${owner}/${cleanRepo}.git`,
|
|
128
152
|
};
|
|
129
153
|
}
|
|
154
|
+
// Bitbucket URL with path: https://bitbucket.org/owner/repo/src/branch/path
|
|
155
|
+
const bitbucketSrcMatch = input.match(/bitbucket\.org\/([^/]+)\/([^/]+)\/src\/([^/]+)\/(.+)/);
|
|
156
|
+
if (bitbucketSrcMatch) {
|
|
157
|
+
const [, owner, repo, ref, subpath] = bitbucketSrcMatch;
|
|
158
|
+
return {
|
|
159
|
+
type: 'bitbucket',
|
|
160
|
+
url: `https://bitbucket.org/${owner}/${repo}.git`,
|
|
161
|
+
ref,
|
|
162
|
+
subpath,
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
// Bitbucket URL with branch: https://bitbucket.org/owner/repo/src/branch
|
|
166
|
+
const bitbucketBranchMatch = input.match(/bitbucket\.org\/([^/]+)\/([^/]+)\/src\/([^/]+)$/);
|
|
167
|
+
if (bitbucketBranchMatch) {
|
|
168
|
+
const [, owner, repo, ref] = bitbucketBranchMatch;
|
|
169
|
+
return {
|
|
170
|
+
type: 'bitbucket',
|
|
171
|
+
url: `https://bitbucket.org/${owner}/${repo}.git`,
|
|
172
|
+
ref,
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
// Bitbucket URL: https://bitbucket.org/owner/repo
|
|
176
|
+
const bitbucketRepoMatch = input.match(/bitbucket\.org\/([^/]+)\/([^/]+)/);
|
|
177
|
+
if (bitbucketRepoMatch) {
|
|
178
|
+
const [, owner, repo] = bitbucketRepoMatch;
|
|
179
|
+
const cleanRepo = repo.replace(/\.git$/, '');
|
|
180
|
+
return {
|
|
181
|
+
type: 'bitbucket',
|
|
182
|
+
url: `https://bitbucket.org/${owner}/${cleanRepo}.git`,
|
|
183
|
+
};
|
|
184
|
+
}
|
|
130
185
|
// GitHub shorthand: owner/repo or owner/repo/path/to/skill
|
|
186
|
+
// But NOT if 'owner' looks like a domain name (contains dots, e.g. git.company.com)
|
|
131
187
|
const shorthandMatch = input.match(/^([^/]+)\/([^/]+)(?:\/(.+))?$/);
|
|
132
188
|
if (shorthandMatch && !input.includes(':') && !input.startsWith('.') && !input.startsWith('/')) {
|
|
133
189
|
const [, owner, repo, subpath] = shorthandMatch;
|
|
190
|
+
// If the 'owner' part contains dots, it's likely a domain name (e.g. git.wosai-inc.com)
|
|
191
|
+
// Treat it as a self-hosted Git URL instead of GitHub shorthand
|
|
192
|
+
if (owner.includes('.')) {
|
|
193
|
+
const fullPath = subpath ? `${repo}/${subpath}` : repo;
|
|
194
|
+
return {
|
|
195
|
+
type: 'private-git',
|
|
196
|
+
url: `https://${owner}/${fullPath}`,
|
|
197
|
+
};
|
|
198
|
+
}
|
|
134
199
|
return {
|
|
135
200
|
type: 'github',
|
|
136
201
|
url: `https://github.com/${owner}/${repo}.git`,
|
|
137
202
|
subpath,
|
|
138
203
|
};
|
|
139
204
|
}
|
|
140
|
-
// Well-known skills: arbitrary HTTP(S) URLs that aren't GitHub/GitLab
|
|
205
|
+
// Well-known skills: arbitrary HTTP(S) URLs that aren't GitHub/GitLab/Bitbucket
|
|
141
206
|
if (isWellKnownUrl(input)) {
|
|
142
207
|
return {
|
|
143
208
|
type: 'well-known',
|
|
144
209
|
url: input,
|
|
145
210
|
};
|
|
146
211
|
}
|
|
147
|
-
//
|
|
212
|
+
// Custom/self-hosted Git HTTPS URL (not a known host)
|
|
213
|
+
if (input.startsWith('http://') || input.startsWith('https://')) {
|
|
214
|
+
return {
|
|
215
|
+
type: 'private-git',
|
|
216
|
+
url: input,
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
// Fallback: treat as generic git URL
|
|
148
220
|
return {
|
|
149
|
-
type: 'git',
|
|
221
|
+
type: 'private-git',
|
|
150
222
|
url: input,
|
|
151
223
|
};
|
|
152
224
|
}
|
|
@@ -163,6 +235,7 @@ function isWellKnownUrl(input) {
|
|
|
163
235
|
const excludedHosts = [
|
|
164
236
|
'github.com',
|
|
165
237
|
'gitlab.com',
|
|
238
|
+
'bitbucket.org',
|
|
166
239
|
'huggingface.co',
|
|
167
240
|
'raw.githubusercontent.com',
|
|
168
241
|
];
|
|
@@ -177,7 +250,16 @@ function isWellKnownUrl(input) {
|
|
|
177
250
|
if (input.endsWith('.git')) {
|
|
178
251
|
return false;
|
|
179
252
|
}
|
|
180
|
-
|
|
253
|
+
// Only match if the URL explicitly has a well-known or skills path
|
|
254
|
+
// This prevents arbitrary HTTPS URLs from being classified as well-known
|
|
255
|
+
// instead of private-git
|
|
256
|
+
const wellKnownPatterns = [
|
|
257
|
+
'/.well-known/skills',
|
|
258
|
+
'/.well-known/agent-skills',
|
|
259
|
+
'/skills.json',
|
|
260
|
+
'/skill-registry',
|
|
261
|
+
];
|
|
262
|
+
return wellKnownPatterns.some(pattern => parsed.pathname.includes(pattern));
|
|
181
263
|
}
|
|
182
264
|
catch {
|
|
183
265
|
return false;
|
|
@@ -191,10 +273,15 @@ export function getOwnerRepo(parsed) {
|
|
|
191
273
|
return null;
|
|
192
274
|
}
|
|
193
275
|
// Extract from git URL: https://github.com/owner/repo.git or similar
|
|
194
|
-
const match = parsed.url.match(/(?:github|gitlab)\.com\/([^/]+)\/([^/]+?)(?:\.git)?$/);
|
|
276
|
+
const match = parsed.url.match(/(?:github|gitlab|bitbucket)\.(?:com|org)\/([^/]+)\/([^/]+?)(?:\.git)?$/);
|
|
195
277
|
if (match) {
|
|
196
278
|
return `${match[1]}/${match[2]}`;
|
|
197
279
|
}
|
|
280
|
+
// Extract from SSH URL: git@host:owner/repo.git
|
|
281
|
+
const sshOwnerRepo = parsed.url.match(/^git@[^:]+:([^/]+)\/([^/]+?)(?:\.git)?$/);
|
|
282
|
+
if (sshOwnerRepo) {
|
|
283
|
+
return `${sshOwnerRepo[1]}/${sshOwnerRepo[2]}`;
|
|
284
|
+
}
|
|
198
285
|
return null;
|
|
199
286
|
}
|
|
200
287
|
/**
|
|
@@ -205,9 +292,11 @@ export function getSourceTypeDisplay(type) {
|
|
|
205
292
|
case 'local': return 'Local';
|
|
206
293
|
case 'github': return 'GitHub';
|
|
207
294
|
case 'gitlab': return 'GitLab';
|
|
295
|
+
case 'bitbucket': return 'Bitbucket';
|
|
296
|
+
case 'npm': return 'npm';
|
|
297
|
+
case 'private-git': return 'Private Git';
|
|
208
298
|
case 'direct-url': return 'Direct URL';
|
|
209
299
|
case 'well-known': return 'Well-Known';
|
|
210
|
-
case 'git': return 'Git';
|
|
211
300
|
default: return 'Unknown';
|
|
212
301
|
}
|
|
213
302
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-parser.js","sourceRoot":"","sources":["../../src/core/source-parser.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"source-parser.js","sourceRoot":"","sources":["../../src/core/source-parser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAc3C;;GAEG;AACH,SAAS,WAAW,CAAC,KAAa;IAC9B,OAAO,CACH,UAAU,CAAC,KAAK,CAAC;QACjB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;QACtB,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC;QACvB,KAAK,KAA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YAAY,CAAC,CAAC,OAAO,YAAY,CAAC;QACvC,KAAK,YAAY,CAAC,CAAC,OAAO,YAAY,CAAC;QACvC,OAAO,CAAC,CAAC,OAAO,SAAS,CAAC;IAC9B,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-skills-cli",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Universal CLI for Agent Skills - works with 42 AI agents including Cursor, Claude Code, GitHub Copilot, Windsurf, Cline, Zed, and more",
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "Universal CLI for Agent Skills - works with 42 AI agents including Cursor, Claude Code, GitHub Copilot, Windsurf, Cline, Zed, and more. Supports private Git repos, npm packages, and enterprise configurations.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -26,7 +26,13 @@
|
|
|
26
26
|
"github-copilot",
|
|
27
27
|
"openai-codex",
|
|
28
28
|
"skills",
|
|
29
|
-
"marketplace"
|
|
29
|
+
"marketplace",
|
|
30
|
+
"private-git",
|
|
31
|
+
"npm-packages",
|
|
32
|
+
"bitbucket",
|
|
33
|
+
"ssh",
|
|
34
|
+
"enterprise",
|
|
35
|
+
"skillsrc"
|
|
30
36
|
],
|
|
31
37
|
"author": "Karanjot786",
|
|
32
38
|
"license": "MIT",
|