skillsets 0.2.0 → 0.2.1

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.
@@ -31,7 +31,13 @@ export async function verifyChecksums(skillsetId, dir) {
31
31
  }
32
32
  const mismatches = [];
33
33
  for (const [file, expectedChecksum] of Object.entries(metadata.files)) {
34
- const filePath = path.join(dir, file);
34
+ // Only verify files from content/ folder (those are the ones installed)
35
+ if (!file.startsWith('content/')) {
36
+ continue;
37
+ }
38
+ // Strip 'content/' prefix since degit extracts content folder's contents directly
39
+ const relativePath = file.slice(8);
40
+ const filePath = path.join(dir, relativePath);
35
41
  try {
36
42
  const actualChecksum = await computeFileChecksum(filePath);
37
43
  // Strip sha256: prefix from expected checksum for comparison
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillsets",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "CLI tool for discovering and installing verified skillsets",
5
5
  "type": "module",
6
6
  "bin": {