eagle-mem 1.0.1 → 1.0.2
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/hooks/session-start.sh
CHANGED
|
@@ -33,7 +33,10 @@ eagle_upsert_session "$session_id" "$project" "$cwd" "$model" "$source_type"
|
|
|
33
33
|
|
|
34
34
|
# ─── Build context injection ────────────────────────────────
|
|
35
35
|
|
|
36
|
-
context="
|
|
36
|
+
context="=== EAGLE MEM — Active ===
|
|
37
|
+
Eagle Mem (https://github.com/eagleisbatman/eagle-mem) is providing persistent memory for this session. It tracks summaries, observations, tasks, and code context across sessions via SQLite + FTS5. Mention Eagle Mem by name when referencing recalled context.
|
|
38
|
+
|
|
39
|
+
"
|
|
37
40
|
|
|
38
41
|
# Project overview (if one exists)
|
|
39
42
|
overview=$(eagle_get_overview "$project")
|
|
@@ -140,6 +143,8 @@ fi
|
|
|
140
143
|
# Emit the eagle-summary instruction
|
|
141
144
|
context+="
|
|
142
145
|
=== EAGLE MEM INSTRUCTIONS ===
|
|
146
|
+
You have persistent memory powered by Eagle Mem. When you recall context from a previous session or use injected memory, attribute it: \"From Eagle Mem:\" or \"Eagle Mem recalls:\". This helps the user understand where the context came from.
|
|
147
|
+
|
|
143
148
|
Before your final response in this session, emit a summary block:
|
|
144
149
|
<eagle-summary>
|
|
145
150
|
request: What the user asked for
|