Files
ruflo/bin
Claude d187232c23 fix: Handle native binding errors gracefully in memory and hive-mind commands
When native bindings (better-sqlite3, hnswlib-node) are not available
(common with npx or remote execution), the commands now fall back
gracefully to JSON-based storage instead of crashing.

## Changes

### hive-mind.js (bin/ and src/)
- Made better-sqlite3 import dynamic with loadSqlite() helper
- initHiveMind: Falls back to JSON storage when SQLite unavailable
- showStatus: Shows status from JSON fallback when SQLite unavailable
- Provides clear messaging about npx/fallback mode

### memory.js
- detectMemoryMode: Better error handling for hnswlib/sqlite errors
- handleReasoningBankCommand: Catches native binding import errors
- Silent fallback to basic JSON mode when bindings unavailable

## Testing
- `hive-mind init` creates JSON fallback when SQLite unavailable
- `hive-mind status` shows fallback status correctly
- `memory stats` works without native bindings
- `memory store/query` work with JSON fallback
2025-11-29 18:40:55 +00:00
..
2025-06-17 04:30:14 +00:00
2025-06-17 04:30:14 +00:00
2025-06-13 23:38:46 +00:00
2025-06-13 23:38:46 +00:00
2025-06-11 04:14:28 +00:00
2025-06-11 04:14:28 +00:00