skillwiki 0.9.23 → 0.9.25

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
@@ -7004,9 +7004,12 @@ function summarizeChecks(checks) {
7004
7004
  function classifyLog(path, id, label, okPattern) {
7005
7005
  if (!existsSync12(path)) return { id, label, status: "warn", detail: `log file missing: ${path}` };
7006
7006
  const lines = readFileSync8(path, "utf8").split(/\r?\n/).filter(Boolean);
7007
- const last = lines[lines.length - 1] ?? "";
7008
- if (!last) return { id, label, status: "warn", detail: `log file empty: ${path}` };
7009
- if (/fail|error/i.test(last)) return { id, label, status: "error", detail: last.slice(0, 120) };
7007
+ if (lines.length === 0) return { id, label, status: "warn", detail: `log file empty: ${path}` };
7008
+ const statusLine = [...lines].reverse().find(
7009
+ (line) => /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z /.test(line) && (okPattern.test(line) || /\bFAIL\b|\bERROR\b/i.test(line))
7010
+ );
7011
+ const last = statusLine ?? lines[lines.length - 1];
7012
+ if (/\bFAIL\b|\bERROR\b/i.test(last)) return { id, label, status: "error", detail: last.slice(0, 120) };
7010
7013
  if (okPattern.test(last)) return { id, label, status: "pass", detail: last.slice(0, 120) };
7011
7014
  return { id, label, status: "warn", detail: last.slice(0, 120) };
7012
7015
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.9.23",
3
+ "version": "0.9.25",
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.9.23",
3
+ "version": "0.9.25",
4
4
  "skills": "./",
5
5
  "description": "Project-aware Karpathy-style knowledge base for Claude Code: 18 prompt-only skills (wiki-*, proj-*, using-skillwiki) backed by the deterministic `skillwiki` CLI.",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.9.23",
3
+ "version": "0.9.25",
4
4
  "description": "Project-aware Karpathy-style knowledge base for Codex with 18 prompt-only skills backed by the deterministic skillwiki CLI.",
5
5
  "author": {
6
6
  "name": "karlorz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillwiki/skills",
3
- "version": "0.9.23",
3
+ "version": "0.9.25",
4
4
  "private": true,
5
5
  "files": [
6
6
  "wiki-*",