eagle-mem 4.9.5 → 4.9.6

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/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  Eagle Mem turns AI coding sessions into compounding project knowledge. It gives Claude Code and Codex the same local memory, labels which agent created each memory, blocks risky release commands until affected features are verified, and lets broad work split into durable worker lanes.
13
13
 
14
- **v4.9.5 hardens hooks and SQLite:** Stop hooks save immediately and queue LLM enrichment in the background instead of launching nested agents during turn shutdown. SQLite calls also resolve through one FTS5-capable binary selector, so Android SDK or other PATH shims do not accidentally break Eagle Mem.
14
+ **v4.9.6 hardens hooks, updates, and SQLite:** Stop hooks save immediately and queue LLM enrichment in the background instead of launching nested agents during turn shutdown. Updates also queue slow project backfills instead of blocking install completion. SQLite calls resolve through one FTS5-capable binary selector, so Android SDK or other PATH shims do not accidentally break Eagle Mem.
15
15
 
16
16
  **Website:** [Product](https://eagleisbatman.github.io/eagle-mem/) |
17
17
  [Architecture](https://eagleisbatman.github.io/eagle-mem/architecture.html) |
@@ -152,6 +152,10 @@ Eagle Mem prevents Claude from repeating past mistakes:
152
152
  | `eagle-mem scan` | Scan codebase and generate overview |
153
153
  | `eagle-mem index` | Index source files for FTS5 code search |
154
154
 
155
+ ### v4.9.6 Patch
156
+
157
+ `eagle-mem update` now queues project-key backfill in the background by default, so install/update can finish, write the installed version marker, and return control to the user. Use `EAGLE_MEM_UPDATE_BACKFILL=sync eagle-mem update` only when you intentionally want to wait for a full backfill.
158
+
155
159
  ### v4.9.5 Patch
156
160
 
157
161
  Stop hooks now use a fast path: they save heuristic summaries immediately, extract explicit summary blocks when present, and queue LLM enrichment in the background so Codex/Claude lifecycle hooks do not time out. SQLite access now goes through a shared FTS5-capable binary resolver used by migrations, DB helpers, updater backups, install checks, and the statusline, avoiding Android SDK or other PATH shims that shadow working SQLite builds.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eagle-mem",
3
- "version": "4.9.5",
3
+ "version": "4.9.6",
4
4
  "description": "Shared memory, release guardrails, RTK token protection, and worker lanes for Claude Code and Codex",
5
5
  "bin": {
6
6
  "eagle-mem": "bin/eagle-mem"
package/scripts/update.sh CHANGED
@@ -171,11 +171,19 @@ fi
171
171
 
172
172
  # ─── Backfill project names ───────────────────────────────
173
173
 
174
- backfilled=$(eagle_backfill_projects 2>/dev/null)
175
- if [ "${backfilled:-0}" -gt 0 ]; then
176
- eagle_ok "Project names: $backfilled rows corrected"
174
+ if [ "${EAGLE_MEM_UPDATE_BACKFILL:-background}" = "sync" ]; then
175
+ backfilled=$(eagle_backfill_projects 2>/dev/null)
176
+ if [ "${backfilled:-0}" -gt 0 ]; then
177
+ eagle_ok "Project names: $backfilled rows corrected"
178
+ else
179
+ eagle_ok "Project names up to date"
180
+ fi
177
181
  else
178
- eagle_ok "Project names up to date"
182
+ (
183
+ backfilled=$(eagle_backfill_projects 2>/dev/null || echo 0)
184
+ eagle_log "INFO" "Update: background project backfill corrected ${backfilled:-0} rows"
185
+ ) >/dev/null 2>&1 &
186
+ eagle_ok "Project names backfill queued"
179
187
  fi
180
188
 
181
189
  # ─── Ensure auto-update defaults exist ─────────────────────