eagle-mem 1.0.1 → 1.0.3

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.
@@ -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,15 @@ 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
+
148
+ IMPORTANT: At the start of your FIRST response after session start or /clear, show the user what Eagle Mem loaded. Use a brief, formatted block like:
149
+
150
+ > **Eagle Mem loaded:** project overview, N recent sessions, N pending tasks
151
+ > Last session: [one-line summary of most recent session]
152
+
153
+ This gives the user visibility into the context you received. Keep it concise — 2-3 lines max.
154
+
143
155
  Before your final response in this session, emit a summary block:
144
156
  <eagle-summary>
145
157
  request: What the user asked for
@@ -98,5 +98,11 @@ fi
98
98
 
99
99
  [ -z "$context" ] && exit 0
100
100
 
101
+ context+="
102
+ IMPORTANT: When Eagle Mem finds relevant memories or code for the user's prompt, briefly mention it at the start of your response: \"Eagle Mem recalled N relevant sessions\" or \"Eagle Mem found related code in [files]\". One line max — then proceed with the answer.
103
+
104
+ — Eagle Mem (persistent memory across sessions)
105
+ "
106
+
101
107
  echo "$context"
102
108
  exit 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eagle-mem",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Lightweight persistent memory for Claude Code — SQLite + FTS5, no daemon, no bloat",
5
5
  "bin": {
6
6
  "eagle-mem": "bin/eagle-mem"