agentskillsdk 0.6.1 → 0.6.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/package.json +1 -1
- package/src/lib/download.js +4 -8
package/package.json
CHANGED
package/src/lib/download.js
CHANGED
|
@@ -62,14 +62,10 @@ export async function downloadSkill(skill, destDir, opts = {}) {
|
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
//
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
stream.resume();
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
|
|
65
|
+
// Skip symlinks and hardlinks. We never write them to disk, so they can't
|
|
66
|
+
// cause harm — but real-world skill repos use symlinks to deduplicate
|
|
67
|
+
// shared docs (e.g. CLAUDE.md alias). Aborting the whole install over a
|
|
68
|
+
// symlink in an unrelated skill made multi-skill repos uninstallable.
|
|
73
69
|
if (header.type !== 'file') {
|
|
74
70
|
stream.on('end', next);
|
|
75
71
|
stream.resume();
|