eagle-mem 1.6.2 → 1.6.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.
- package/README.md +20 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ Last: Added auth middleware with JWT validation
|
|
|
62
62
|
| `eagle-mem scan .` | Analyze a project and generate an overview (auto-injected at session start) |
|
|
63
63
|
| `eagle-mem index .` | Index source files into FTS5-searchable chunks (incremental via mtime) |
|
|
64
64
|
| `eagle-mem search <query>` | Full-text search across summaries, observations, and code chunks |
|
|
65
|
-
| `eagle-mem tasks` |
|
|
65
|
+
| `eagle-mem tasks` | View mirrored Claude Code tasks (read-only — Claude Code manages task state) |
|
|
66
66
|
| `eagle-mem overview` | View or regenerate project overviews |
|
|
67
67
|
| `eagle-mem memories` | List, search, and sync Claude Code auto-memories, plans, and tasks |
|
|
68
68
|
| `eagle-mem memories sync` | Backfill all Claude Code memories, plans, and tasks into Eagle Mem |
|
|
@@ -79,7 +79,7 @@ Claude Code sessions lose context on `/compact` and between sessions. Eagle Mem
|
|
|
79
79
|
- **Claude Code memory mirror** — mirrors Claude's auto-memories, plans, and tasks into Eagle Mem's SQLite + FTS5
|
|
80
80
|
- **Session-start injection** — project overview, recent summaries, memories, plans, and in-progress tasks surfaced automatically
|
|
81
81
|
- **Compact-safe reload** — full context re-injects after compaction with trigger awareness
|
|
82
|
-
- **TaskAware Compact Loop**
|
|
82
|
+
- **TaskAware Compact Loop** using Claude Code's native `TaskCreate`/`TaskUpdate` with dependency support
|
|
83
83
|
- **FTS5 full-text search** across all sessions and projects
|
|
84
84
|
- **Contextual memory injection** — relevant past sessions surfaced when you ask related questions
|
|
85
85
|
- **Privacy controls** — `<private>` tags strip sensitive content before storage
|
|
@@ -155,14 +155,15 @@ The Stop hook removes `<private>` blocks at the edge — before any data reaches
|
|
|
155
155
|
|
|
156
156
|
### TaskAware Compact Loop
|
|
157
157
|
|
|
158
|
-
For complex multi-step work:
|
|
158
|
+
For complex multi-step work, using Claude Code's native task system:
|
|
159
159
|
|
|
160
|
-
1. **Plan** — Break the work into
|
|
161
|
-
2. **Execute** — Work on one task at a time
|
|
162
|
-
3. **
|
|
163
|
-
4. **
|
|
160
|
+
1. **Plan** — Break the work into tasks via `TaskCreate` with `addBlockedBy` for dependencies
|
|
161
|
+
2. **Execute** — Work on one task at a time (`TaskUpdate` to `in_progress`)
|
|
162
|
+
3. **Complete** — Mark done via `TaskUpdate` to `completed`
|
|
163
|
+
4. **Compact** — Run `/compact` when context fills up
|
|
164
|
+
5. **Resume** — SessionStart re-injects memory + mirrored task state from Eagle Mem
|
|
164
165
|
|
|
165
|
-
|
|
166
|
+
Claude Code drives all task state. Eagle Mem mirrors it for cross-session recall.
|
|
166
167
|
|
|
167
168
|
## Database
|
|
168
169
|
|
|
@@ -172,13 +173,12 @@ Single shared SQLite database at `~/.eagle-mem/memory.db` with a `project` colum
|
|
|
172
173
|
|
|
173
174
|
- **sessions** — Track active/completed sessions per project
|
|
174
175
|
- **observations** — Per-tool-use records with deduplication (files read/modified)
|
|
175
|
-
- **summaries** — Per-session summaries with FTS5 search
|
|
176
|
-
- **tasks** — Subtasks for the TaskAware Compact Loop with FTS5 search
|
|
176
|
+
- **summaries** — Per-session summaries with FTS5 search (UNIQUE on session_id, merge UPSERT)
|
|
177
177
|
- **overviews** — One rolling overview per project (injected at session start)
|
|
178
178
|
- **code_chunks** — FTS5-indexed source file chunks for code-level search
|
|
179
179
|
- **claude_memories** — Mirror of Claude Code auto-memories with FTS5 search
|
|
180
180
|
- **claude_plans** — Mirror of Claude Code plan files with FTS5 search
|
|
181
|
-
- **claude_tasks** — Mirror of Claude Code
|
|
181
|
+
- **claude_tasks** — Mirror of Claude Code tasks with FTS5 search (statuses: pending/in_progress/completed/deleted)
|
|
182
182
|
|
|
183
183
|
### Key Design Choices
|
|
184
184
|
|
|
@@ -195,7 +195,7 @@ Single shared SQLite database at `~/.eagle-mem/memory.db` with a `project` colum
|
|
|
195
195
|
Eagle Mem ships with seven skills for use inside Claude Code sessions:
|
|
196
196
|
|
|
197
197
|
- **eagle-mem-search** — 3-layer search: compact FTS5 search, timeline view, full observations
|
|
198
|
-
- **eagle-mem-tasks** — TaskAware Compact Loop
|
|
198
|
+
- **eagle-mem-tasks** — TaskAware Compact Loop using Claude Code's native TaskCreate/TaskUpdate with dependencies
|
|
199
199
|
- **eagle-mem-overview** — Generate and update a persistent project overview
|
|
200
200
|
- **eagle-mem-index** — Index source files for FTS5 code-level search
|
|
201
201
|
- **eagle-mem-scan** — Scan and analyze a project to generate an overview
|
|
@@ -216,19 +216,21 @@ Package (npm) Runtime (~/.eagle-mem/)
|
|
|
216
216
|
│ ├── index.sh │ └── session-end.sh
|
|
217
217
|
│ ├── search.sh ├── lib/
|
|
218
218
|
│ ├── tasks.sh │ ├── common.sh
|
|
219
|
-
│ ├── overview.sh │
|
|
220
|
-
│ ├── memories.sh └──
|
|
219
|
+
│ ├── overview.sh │ ├── db.sh
|
|
220
|
+
│ ├── memories.sh │ └── hooks.sh
|
|
221
|
+
│ │ └── db/
|
|
221
222
|
│ ├── prune.sh ├── migrate.sh
|
|
222
223
|
│ ├── statusline-em.sh ├── schema.sql
|
|
223
224
|
│ └── help.sh ├── 002_overviews.sql
|
|
224
225
|
├── hooks/ Source ├── 003_code_chunks.sql
|
|
225
226
|
├── lib/ Source ├── 004_observation_indexes.sql
|
|
226
227
|
│ ├── common.sh ├── 005_claude_memories.sql
|
|
227
|
-
│
|
|
228
|
-
├──
|
|
229
|
-
|
|
228
|
+
│ ├── db.sh ├── 006_claude_plans.sql
|
|
229
|
+
│ └── hooks.sh ├── 007_claude_tasks.sql
|
|
230
|
+
├── db/ Source ├── 008_summary_upsert.sql
|
|
231
|
+
│ ├── migrate.sh └── 009_drop_dead_tasks.sql
|
|
230
232
|
│ ├── schema.sql
|
|
231
|
-
│ └──
|
|
233
|
+
│ └── [0-9]*.sql Migrations
|
|
232
234
|
└── skills/ Symlinked → ~/.claude/skills/
|
|
233
235
|
├── eagle-mem-search/
|
|
234
236
|
├── eagle-mem-tasks/
|