eagle-mem 1.4.2 → 1.4.4
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 +13 -5
- package/package.json +1 -1
package/hooks/session-start.sh
CHANGED
|
@@ -43,7 +43,7 @@ eagle_ascii=" .~~~~-.
|
|
|
43
43
|
|
|
44
44
|
context="$eagle_ascii
|
|
45
45
|
|
|
46
|
-
=== EAGLE MEM — Active ===
|
|
46
|
+
=== EAGLE MEM — Active (trigger: $source_type) ===
|
|
47
47
|
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.
|
|
48
48
|
|
|
49
49
|
"
|
|
@@ -182,12 +182,20 @@ context+="
|
|
|
182
182
|
=== EAGLE MEM INSTRUCTIONS ===
|
|
183
183
|
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.
|
|
184
184
|
|
|
185
|
-
IMPORTANT: At the start of your
|
|
185
|
+
IMPORTANT: At the start of your VERY NEXT response (this fires on session start, /clear, AND context compaction — always show this block, even if you think you showed it before, because prior context may have been compressed away). Show the user what Eagle Mem loaded using this exact format with the ASCII eagle:
|
|
186
186
|
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
\`\`\`
|
|
188
|
+
.~~~~-.
|
|
189
|
+
/ ,__\`)
|
|
190
|
+
| \\o/|'-. Eagle Mem loaded
|
|
191
|
+
| / ,\\ Project: <project name>
|
|
192
|
+
| ('--./ Sessions: N recent | Memories: N | Tasks: N pending
|
|
193
|
+
/ \\ Last: [one-line summary of most recent session]
|
|
194
|
+
/ , , , \\
|
|
195
|
+
\`--'--'--'--'
|
|
196
|
+
\`\`\`
|
|
189
197
|
|
|
190
|
-
This gives the user visibility into the context you received.
|
|
198
|
+
This gives the user visibility into the context you received.
|
|
191
199
|
|
|
192
200
|
Before your final response in this session, emit a summary block:
|
|
193
201
|
<eagle-summary>
|