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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentskillsdk",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Install agent skills from agentskills.dk",
5
5
  "type": "module",
6
6
  "bin": {
@@ -62,14 +62,10 @@ export async function downloadSkill(skill, destDir, opts = {}) {
62
62
  return;
63
63
  }
64
64
 
65
- // Reject symlink/link entries outright (same posture as before).
66
- if (header.type === 'symlink' || header.type === 'link') {
67
- aborted = new FsError(t('download.error.unsupported_entry', { type: header.type, name: header.name }));
68
- stream.on('end', () => next());
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();