skillwiki 0.2.1-beta.25 → 0.2.1-beta.26

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/dist/cli.js CHANGED
@@ -1212,7 +1212,16 @@ async function createSymlink(src, dst) {
1212
1212
  async function runInstall(input) {
1213
1213
  let entries;
1214
1214
  try {
1215
- entries = (await readdir2(input.skillsRoot, { withFileTypes: true })).filter((d) => d.isDirectory() && (d.name.startsWith("wiki-") || d.name.startsWith("proj-") || d.name === "dev-loop-research" || d.name === "using-skillwiki")).map((d) => d.name);
1215
+ const dirs = (await readdir2(input.skillsRoot, { withFileTypes: true })).filter((d) => d.isDirectory());
1216
+ const withSkill = [];
1217
+ for (const d of dirs) {
1218
+ try {
1219
+ await stat4(join6(input.skillsRoot, d.name, "SKILL.md"));
1220
+ withSkill.push(d.name);
1221
+ } catch {
1222
+ }
1223
+ }
1224
+ entries = withSkill;
1216
1225
  } catch (e) {
1217
1226
  return { exitCode: ExitCode.PREFLIGHT_FAILED, result: err("PREFLIGHT_FAILED", { message: String(e) }) };
1218
1227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.2.1-beta.25",
3
+ "version": "0.2.1-beta.26",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "skillwiki": "dist/cli.js"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.2.1-beta.25",
3
+ "version": "0.2.1-beta.26",
4
4
  "skills": "./",
5
5
  "description": "Project-aware Karpathy-style knowledge base for Claude Code: 19 prompt-only skills (wiki-*, proj-*, dev-loop-research, using-skillwiki) backed by the deterministic `skillwiki` CLI.",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillwiki/skills",
3
- "version": "0.2.1-beta.25",
3
+ "version": "0.2.1-beta.26",
4
4
  "private": true,
5
5
  "files": [
6
6
  "wiki-*",