eagle-mem 4.9.6 → 4.9.7
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 +31 -4
- package/architecture.html +1791 -0
- package/bin/eagle-mem +1 -0
- package/db/migrate.sh +13 -2
- package/docs/visible-surface-ux-contract.md +53 -0
- package/hooks/post-tool-use.sh +2 -2
- package/hooks/pre-tool-use.sh +6 -6
- package/hooks/session-start.sh +188 -1
- package/hooks/user-prompt-submit.sh +35 -12
- package/lib/common.sh +361 -21
- package/lib/db-mirrors.sh +3 -6
- package/lib/db-summaries.sh +10 -1
- package/lib/hooks-posttool.sh +44 -10
- package/lib/updater.sh +12 -0
- package/package.json +4 -2
- package/scripts/doctor.sh +262 -0
- package/scripts/feature.sh +37 -11
- package/scripts/health.sh +10 -7
- package/scripts/help.sh +1 -0
- package/scripts/install.sh +9 -3
- package/scripts/memories.sh +189 -55
- package/scripts/orchestrate.sh +2 -2
- package/scripts/search.sh +195 -31
- package/scripts/statusline-em.sh +129 -26
- package/scripts/uninstall.sh +67 -0
- package/scripts/update.sh +8 -1
package/scripts/update.sh
CHANGED
|
@@ -40,6 +40,8 @@ if [ -d "$EAGLE_CODEX_DIR" ] || command -v codex &>/dev/null; then
|
|
|
40
40
|
codex_found=true
|
|
41
41
|
fi
|
|
42
42
|
|
|
43
|
+
eagle_runtime_change_plan "update" "$PACKAGE_DIR" "$claude_found" "$codex_found"
|
|
44
|
+
|
|
43
45
|
# ─── Update files ──────────────────────────────────────────
|
|
44
46
|
|
|
45
47
|
mkdir -p "$EAGLE_MEM_DIR"/{hooks,lib,db,scripts}
|
|
@@ -195,7 +197,7 @@ eagle_ok "Auto-updates ${DIM}(mode=$(eagle_update_config_mode), allow=$(eagle_up
|
|
|
195
197
|
|
|
196
198
|
if [ "$claude_found" = true ]; then
|
|
197
199
|
if eagle_patch_claude_md; then
|
|
198
|
-
|
|
200
|
+
eagle_ok "CLAUDE.md updated ${DIM}(Eagle Mem guidance refreshed)${RESET}"
|
|
199
201
|
else
|
|
200
202
|
eagle_ok "CLAUDE.md up to date"
|
|
201
203
|
fi
|
|
@@ -214,5 +216,10 @@ fi
|
|
|
214
216
|
version=$(jq -r .version "$PACKAGE_DIR/package.json" 2>/dev/null || echo "unknown")
|
|
215
217
|
echo "$version" > "$EAGLE_MEM_DIR/.version"
|
|
216
218
|
echo "$version" > "$EAGLE_MEM_DIR/.latest-version"
|
|
219
|
+
if eagle_runtime_manifest_write "$PACKAGE_DIR" "update"; then
|
|
220
|
+
eagle_ok "Install manifest refreshed"
|
|
221
|
+
else
|
|
222
|
+
eagle_warn "Install manifest could not be refreshed"
|
|
223
|
+
fi
|
|
217
224
|
|
|
218
225
|
eagle_footer "Eagle Mem updated to v${version}."
|