skillwiki 0.2.1-beta.24 → 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 +11 -2
- package/package.json +1 -1
- package/skills/.claude-plugin/plugin.json +1 -1
- package/skills/package.json +1 -1
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
|
-
|
|
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
|
}
|
|
@@ -5894,7 +5903,7 @@ program.command("doctor").description("diagnose skillwiki setup issues").action(
|
|
|
5894
5903
|
currentVersion: pkg.version,
|
|
5895
5904
|
cwd: process.cwd()
|
|
5896
5905
|
})));
|
|
5897
|
-
program.command("status [vault]").description("output vault diagnostics").option("--
|
|
5906
|
+
program.command("status [vault]").description("output vault diagnostics").option("--wiki <name>", "wiki profile name").action(async (vault, opts) => {
|
|
5898
5907
|
const v = await resolveVaultArg(vault, opts.wiki);
|
|
5899
5908
|
if (!v.ok) emit({ exitCode: v.exitCode, result: v.payload });
|
|
5900
5909
|
else emit(await runStatus({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillwiki",
|
|
3
|
-
"version": "0.2.1-beta.
|
|
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": {
|