lucid-mem 0.2.0 → 0.2.1
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/LICENSE +21 -0
- package/README.md +46 -0
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AgentMemoryRepo
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# lucid-mem
|
|
2
|
+
|
|
3
|
+
Autonomous, git-backed memory for AI coding agents. `amr` keeps what your agents learn across sessions and across repositories: it injects memory at session start, lets agents save durable facts while they work, syncs through git, and maintains itself with scheduled dreaming — no manual invocation.
|
|
4
|
+
|
|
5
|
+
Implements the [Agent Memory Repo spec](https://github.com/AgentMemoryRepo/agentmemoryrepo). Full docs and per-host details live in the [project repo](https://github.com/tonythethompson/lucid-mem).
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm i -g lucid-mem # gives you `amr` (and `lucid` as an alias)
|
|
11
|
+
amr ensure # create the memory repo (default ~/agent-memory, $AMR_HOME to override)
|
|
12
|
+
amr install # wire rules + hooks + MCP into detected agent hosts
|
|
13
|
+
amr doctor # verify everything
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Then start a session in a wired host — Cursor, Claude Code, Windsurf, Devin, Copilot, Codex, Cline, Muse, Claude Desktop, Antigravity, OpenCode, CommandCode, or Freebuff — and memory is already in context.
|
|
17
|
+
|
|
18
|
+
## Daily use
|
|
19
|
+
|
|
20
|
+
Mostly you don't touch it; agents do. Useful by hand:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
amr context # what a session here would see
|
|
24
|
+
amr add "I prefer concise summaries" # global memory
|
|
25
|
+
amr add "uses Kokoro-82M for TTS" --project # this repo's memory
|
|
26
|
+
amr search "tts"
|
|
27
|
+
amr link other-repo # auto-attach another repo's memory to sessions here
|
|
28
|
+
amr discover # which hot repos still lack memory
|
|
29
|
+
amr dream --fix --compact # dedupe + archive overflow
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Memory lives in `~/agent-memory` — a real git repo you can read, diff, and point at a private remote (`amr remote set <url>`) for sync and backup.
|
|
33
|
+
|
|
34
|
+
## Multi-repo memory
|
|
35
|
+
|
|
36
|
+
One memory repo serves every project. `projects/<name>-<hash>.md` files key off the repo's origin remote, so clones share memory and same-named repos don't collide. `amr link` attaches related projects (transitively); `private` policy keeps a project out of transitive auto-attach; `noglobal` skips global memory for a repo.
|
|
37
|
+
|
|
38
|
+
## MCP
|
|
39
|
+
|
|
40
|
+
`amr serve` is a stdio MCP server (`memory_context`, `memory_add`, `memory_search`, `memory_update`) — `amr install` registers it with hosts that support MCP.
|
|
41
|
+
|
|
42
|
+
## Links
|
|
43
|
+
|
|
44
|
+
- Repo: https://github.com/tonythethompson/lucid-mem
|
|
45
|
+
- Spec: https://github.com/AgentMemoryRepo/agentmemoryrepo
|
|
46
|
+
- License: MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lucid-mem",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "lucid-mem (amr)
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "lucid-mem (amr) - autonomous git-backed agent memory (Agent Memory Repo spec)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"amr": "./amr.mjs",
|