skillwiki 0.9.32 → 0.9.33

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
@@ -1082,6 +1082,19 @@ function runVaultSyncHealth(home, syncMode) {
1082
1082
  const filterPath = join9(home, ".config", "rclone", "wiki-push-filters.txt");
1083
1083
  const checks = [];
1084
1084
  const pushScript = join9(shareDir, "wiki-push.sh");
1085
+ if (syncMode === "optional" && !existsSync3(pushScript)) {
1086
+ return {
1087
+ status: "pass",
1088
+ blocking: false,
1089
+ installed: false,
1090
+ summary: { pass: 1, info: 0, warn: 0, error: 0, skipped: 1 },
1091
+ checks: [{
1092
+ id: "vault_sync_installed",
1093
+ status: "pass",
1094
+ detail: `vault-sync not installed at ${pushScript}; optional check skipped`
1095
+ }]
1096
+ };
1097
+ }
1085
1098
  checks.push(existsSync3(pushScript) ? { id: "vault_sync_installed", label: "Vault sync installed", status: "pass", detail: `Found: ${pushScript}` } : { id: "vault_sync_installed", label: "Vault sync installed", status: "error", detail: `Script missing: ${pushScript}` });
1086
1099
  if (isMac) {
1087
1100
  const pushPlist = join9(home, "Library", "LaunchAgents", "com.karlchow.wiki-push.plist");
@@ -1221,6 +1234,7 @@ async function runHealth(input) {
1221
1234
  if (!lint.result.ok) return { exitCode: lint.exitCode, result: lint.result };
1222
1235
  const doctorStatus = statusFromCounts(doctor.result.data.summary);
1223
1236
  const vaultSync = runVaultSyncHealth(input.home, syncMode);
1237
+ const vaultSyncCoverage = syncMode === "off" ? { state: "skipped", status: "pass", reason: "--sync off" } : !vaultSync.installed && vaultSync.summary.skipped > 0 && vaultSync.summary.warn === 0 && vaultSync.summary.error === 0 ? { state: "skipped", status: vaultSync.status, reason: "vault-sync not installed and --sync optional" } : { state: "checked", status: vaultSync.status };
1224
1238
  const queryReadiness = deriveQueryReadiness(lint.result.data);
1225
1239
  const sourceFreshness = {
1226
1240
  status: bucketCount(lint.result.data.buckets, "stale_page") > 0 || bucketCount(lint.result.data.buckets, "file_source_url") > 0 ? "warn" : "pass",
@@ -1273,7 +1287,7 @@ async function runHealth(input) {
1273
1287
  coverage: {
1274
1288
  doctor: { state: "checked", status: doctorStatus },
1275
1289
  lint: { state: "checked", status: lintComponent.status },
1276
- vault_sync: syncMode === "off" ? { state: "skipped", status: "pass", reason: "--sync off" } : { state: "checked", status: vaultSync.status },
1290
+ vault_sync: vaultSyncCoverage,
1277
1291
  query_readiness: { state: "checked", status: queryReadiness.status },
1278
1292
  source_freshness: { state: "checked", status: sourceFreshness.status }
1279
1293
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.9.32",
3
+ "version": "0.9.33",
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.32",
3
+ "version": "0.9.33",
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.32",
3
+ "version": "0.9.33",
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.32",
3
+ "version": "0.9.33",
4
4
  "private": true,
5
5
  "files": [
6
6
  "wiki-*",