skillsets 0.9.1 → 0.9.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.
@@ -145,6 +145,12 @@ export async function install(skillsetId, options) {
145
145
  await rm(tempDir, { recursive: true, force: true });
146
146
  throw new Error('Checksum verification failed - files may be corrupted');
147
147
  }
148
+ // Strip redirect README.md if a README_*.md exists (avoid clobbering user's README)
149
+ const tempEntries = await readdir(tempDir);
150
+ const hasNamedReadme = tempEntries.some(f => /^README_[^/]+\.md$/i.test(f));
151
+ if (hasNamedReadme && tempEntries.includes('README.md')) {
152
+ await rm(join(tempDir, 'README.md'));
153
+ }
148
154
  // Checksums valid — move verified content to cwd
149
155
  spinner.text = 'Installing verified content...';
150
156
  const entries = await readdir(tempDir, { withFileTypes: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillsets",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "CLI tool for discovering and installing verified skillsets",
5
5
  "type": "module",
6
6
  "bin": {