eagle-mem 4.9.0 → 4.9.1

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
@@ -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.1 Patch
156
+
157
+ `eagle-mem updates status` now refreshes the npm version live, and install/update seed the local latest-version cache with the installed version. This avoids confusing status output immediately after an update.
158
+
155
159
  ### v4.9.0 Patch
156
160
 
157
161
  Eagle Mem now auto-updates by default for patch bug fixes. SessionStart performs a throttled background npm check, applies eligible patch releases with a lock and runtime/database backup, runs `eagle-mem update`, and records a one-time notice for the next session. Minor and major releases stay outside the default auto-apply range unless users opt in with `eagle-mem updates enable minor` or `eagle-mem updates enable major`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eagle-mem",
3
- "version": "4.9.0",
3
+ "version": "4.9.1",
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"
@@ -348,6 +348,7 @@ fi
348
348
 
349
349
  version=$(jq -r .version "$PACKAGE_DIR/package.json" 2>/dev/null || echo "unknown")
350
350
  echo "$version" > "$EAGLE_MEM_DIR/.version"
351
+ echo "$version" > "$EAGLE_MEM_DIR/.latest-version"
351
352
 
352
353
  # ─── Summary ───────────────────────────────────────────────
353
354
 
package/scripts/update.sh CHANGED
@@ -179,5 +179,6 @@ fi
179
179
 
180
180
  version=$(jq -r .version "$PACKAGE_DIR/package.json" 2>/dev/null || echo "unknown")
181
181
  echo "$version" > "$EAGLE_MEM_DIR/.version"
182
+ echo "$version" > "$EAGLE_MEM_DIR/.latest-version"
182
183
 
183
184
  eagle_footer "Eagle Mem updated to v${version}."
@@ -32,7 +32,7 @@ updates_status() {
32
32
 
33
33
  local installed latest latest_rc
34
34
  installed=$(eagle_update_installed_version)
35
- latest=$(eagle_update_latest_version 0 2>/dev/null) && latest_rc=0 || latest_rc=$?
35
+ latest=$(eagle_update_latest_version 1 2>/dev/null) && latest_rc=0 || latest_rc=$?
36
36
 
37
37
  eagle_header "Updates"
38
38
  eagle_kv "Installed:" "v${installed:-unknown}"