nano-brain 2026.6.2 → 2026.6.3

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/package.json +1 -1
  2. package/src/harvester.ts +7 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nano-brain",
3
- "version": "2026.6.2",
3
+ "version": "2026.6.3",
4
4
  "description": "Persistent memory and code intelligence for AI coding agents. Local MCP server with self-learning hybrid search (BM25 + vector + knowledge graph + LLM reranking), automatic session ingestion, codebase indexing, and 22 tools. Learns your preferences over time. Works with OpenCode, Claude, Cursor, Windsurf, and any MCP client.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/harvester.ts CHANGED
@@ -315,8 +315,13 @@ async function harvestFromDb(
315
315
  if (sessionIndex % 5 === 0) await yieldToEventLoop();
316
316
 
317
317
  if (state[sessionId]?.skipped) {
318
- skippedCount++;
319
- continue;
318
+ if (state[sessionId].mtime >= session.time_updated) {
319
+ skippedCount++;
320
+ continue;
321
+ }
322
+ delete state[sessionId].skipped;
323
+ stateChanged = true;
324
+ log('harvester', 'Re-evaluating previously skipped session ' + sessionId + ' (updated since last check)');
320
325
  }
321
326
 
322
327
  if (