@skilltap/core 0.5.6 → 0.5.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/git.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skilltap/core",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Core library for skilltap — agent skill management",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/git.ts CHANGED
@@ -59,6 +59,14 @@ export async function clone(
59
59
  ),
60
60
  );
61
61
  }
62
+ if (stderr.includes("Permission denied") || stderr.includes("Could not read from remote repository")) {
63
+ return err(
64
+ new GitError(
65
+ `Repository not found or SSH access denied: '${url}'.`,
66
+ "Check that the repository exists and your SSH key is configured correctly.",
67
+ ),
68
+ );
69
+ }
62
70
  if (stderr.includes("not found") || stderr.includes("does not exist")) {
63
71
  return err(new GitError(`Repository not found: '${url}'.`));
64
72
  }