@haolin-ai/skillman 1.0.4 → 1.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haolin-ai/skillman",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "A CLI tool to install AI agent skills across multiple platforms",
5
5
  "type": "module",
6
6
  "bin": {
package/src/downloader.js CHANGED
@@ -41,8 +41,8 @@ export function parseUrl(url) {
41
41
  };
42
42
  }
43
43
 
44
- // Regular git URLs
45
- if (url.startsWith('https://') || url.startsWith('git@') || url.startsWith('http://')) {
44
+ // Regular git URLs (https, http, git@, ssh://)
45
+ if (url.startsWith('https://') || url.startsWith('git@') || url.startsWith('http://') || url.startsWith('ssh://')) {
46
46
  // Remove .git suffix if present for consistency
47
47
  const cleanUrl = url.replace(/\.git$/, '');
48
48
  return { type: 'git', url: cleanUrl + '.git', subPath: null };