wayfind 2.0.40 → 2.0.41

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.
Files changed (2) hide show
  1. package/doctor.sh +4 -3
  2. package/package.json +1 -1
package/doctor.sh CHANGED
@@ -402,9 +402,10 @@ check_storage_backend() {
402
402
 
403
403
  # ── 2. Fallback detection ────────────────────────────────────────────
404
404
  if [ "$IS_FALLBACK" = "true" ]; then
405
- warn "JSON backend is a fallback better-sqlite3 was expected but failed to load"
406
- info "Run: npm install -g better-sqlite3 (or reinstall wayfind)"
407
- ISSUES=$((ISSUES + 1))
405
+ # JSON fallback is expected when better-sqlite3 isn't available (optional dep).
406
+ # Warn only don't increment ISSUES. Use `wayfind doctor --container` in Docker.
407
+ warn "JSON backend (better-sqlite3 unavailable — optional)"
408
+ info "To enable SQLite: npm install -g better-sqlite3 (or rebuild container image)"
408
409
  elif [ "$BACKEND_TYPE" = "json" ]; then
409
410
  # Not a runtime fallback — check if sqlite3 is available but unused
410
411
  if node -e "require('better-sqlite3')" 2>/dev/null; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wayfind",
3
- "version": "2.0.40",
3
+ "version": "2.0.41",
4
4
  "description": "Team decision trail for AI-assisted development. The connective tissue between product, engineering, and strategy.",
5
5
  "bin": {
6
6
  "wayfind": "./bin/team-context.js",