dore-memory 0.1.0 → 0.1.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/README.md +105 -7
- package/package.json +35 -8
package/README.md
CHANGED
|
@@ -1,14 +1,112 @@
|
|
|
1
|
-
|
|
1
|
+
<h1 align="center">dore</h1>
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
<p align="center">
|
|
4
|
+
<strong>Memory for Claude Code. Say it once, it remembers in every new session.</strong><br/>
|
|
5
|
+
Runs on your laptop · free to learn · nothing leaves your machine
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
<p align="center">
|
|
9
|
+
<img src="https://img.shields.io/badge/Claude_Code-plugin_0.5.1-d97757?style=flat-square" alt="Claude Code plugin 0.5.1" />
|
|
10
|
+
<a href="https://www.npmjs.com/package/dore-memory"><img src="https://img.shields.io/npm/v/dore-memory?style=flat-square&logo=npm" alt="npm" /></a>
|
|
11
|
+
<img src="https://img.shields.io/badge/python-3.11+-3776ab?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+" />
|
|
12
|
+
<img src="https://img.shields.io/badge/data-stays_local-2ea44f?style=flat-square" alt="Data stays local" />
|
|
13
|
+
<img src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" alt="MIT license" />
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
## Why dore
|
|
17
|
+
|
|
18
|
+
**Problem:** every new Claude Code session forgets what you told it, so you repeat yourself.
|
|
19
|
+
|
|
20
|
+
**Solution:** dore remembers what you say, just by talking as usual.
|
|
21
|
+
|
|
22
|
+
- 🪶 **Saves tokens:** learning costs 0 Claude tokens; most prompts get nothing added.
|
|
23
|
+
- 🧠 **Learns over time:** newer facts replace older ones, with no model training.
|
|
24
|
+
- 🗂️ **Shared across projects:** facts about you go everywhere; project facts stay put.
|
|
25
|
+
- ⚡ **Fast and private:** about 13 ms per prompt; everything stays on your machine.
|
|
26
|
+
|
|
27
|
+
## See it work in Claude Code
|
|
28
|
+
|
|
29
|
+
Real screenshots: two Claude Code windows side by side, left **without** dore, right **with** dore.
|
|
30
|
+
Claude Code's own memory is turned off on both sides, so only dore can remember.
|
|
31
|
+
|
|
32
|
+
**Session 1:** tell Claude a fact.
|
|
33
|
+
|
|
34
|
+

|
|
35
|
+
|
|
36
|
+
**Session 2:** close Claude, start a new session, and ask.
|
|
37
|
+
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
Without dore, Claude can't find the port. With dore, it answers **8443** right away.
|
|
41
|
+
|
|
42
|
+
### Shared across projects
|
|
43
|
+
|
|
44
|
+
Facts about you are shared by all your projects. Tell it in project **api**:
|
|
45
|
+
|
|
46
|
+

|
|
47
|
+
|
|
48
|
+
Then ask in a different project, **shop**:
|
|
49
|
+
|
|
50
|
+

|
|
51
|
+
|
|
52
|
+
Without dore, Claude can't tell. With dore, it knows: **Go**. Facts about one project (like its port) stay in
|
|
53
|
+
that project.
|
|
54
|
+
|
|
55
|
+
## Test results
|
|
56
|
+
|
|
57
|
+
| Test | Result |
|
|
58
|
+
|---|---|
|
|
59
|
+
| Remembers facts across 20 sessions | **80 of 80** |
|
|
60
|
+
| Shows an outdated value after a change | **0 of 53** |
|
|
61
|
+
| Saves chatter (requests, questions) by mistake | **0 of 39** |
|
|
62
|
+
| Correct after 24 weeks, 12 projects | **81%** |
|
|
63
|
+
| Time per prompt | **13 ms** |
|
|
64
|
+
|
|
65
|
+
Run them yourself (no AI model needed, a few seconds each):
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
.venv/bin/pytest -q
|
|
69
|
+
.venv/bin/python -m dore.eval.conversation
|
|
70
|
+
.venv/bin/python -m dore.eval.learning
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Install
|
|
74
|
+
|
|
75
|
+
Needs Node 18+, [Claude Code](https://claude.com/claude-code), and [uv](https://docs.astral.sh/uv/) or Python 3.11+.
|
|
5
76
|
|
|
6
77
|
```bash
|
|
7
78
|
npx dore-memory install # set up dore + the Claude Code plugin
|
|
8
79
|
npx dore-memory status # check it
|
|
9
|
-
npx dore-memory update #
|
|
10
|
-
npx dore-memory uninstall # remove (your memory is kept)
|
|
80
|
+
npx dore-memory update # get the latest version
|
|
81
|
+
npx dore-memory uninstall # remove it (your memory is kept)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
dore lives in `~/.dore-memory` (change it with `DORE_HOME`).
|
|
85
|
+
|
|
86
|
+
### From source
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
git clone https://github.com/SopheaII/dore-memory.git ~/Documents/dore
|
|
90
|
+
cd ~/Documents/dore # or set DORE_HOME to where it is
|
|
91
|
+
uv venv .venv --python 3.12
|
|
92
|
+
uv pip install --python .venv/bin/python -e ".[dev]"
|
|
93
|
+
claude plugin marketplace add ~/Documents/dore
|
|
94
|
+
claude plugin install dore-memory@dore-memory
|
|
11
95
|
```
|
|
12
96
|
|
|
13
|
-
|
|
14
|
-
|
|
97
|
+
Then use Claude Code as usual. Works on macOS and Linux, no GPU. It also works with opencode and other MCP agents.
|
|
98
|
+
|
|
99
|
+
## Limits
|
|
100
|
+
|
|
101
|
+
- One question per fact works best. If one question asks two things, it may answer only one.
|
|
102
|
+
- Different words for the same thing ("job" vs "work as a nurse") may not match.
|
|
103
|
+
- English only.
|
|
104
|
+
|
|
105
|
+
## More
|
|
106
|
+
|
|
107
|
+
[`AGENTS.md`](https://github.com/SopheaII/dore-memory/blob/master/AGENTS.md) (design and roadmap) · [`.agents/rules/`](https://github.com/SopheaII/dore-memory/blob/master/.agents/rules) (details and all measurements) ·
|
|
108
|
+
[`REFERENCES.md`](https://github.com/SopheaII/dore-memory/blob/master/REFERENCES.md) (where the ideas come from)
|
|
109
|
+
|
|
110
|
+
## License
|
|
111
|
+
|
|
112
|
+
[MIT](https://github.com/SopheaII/dore-memory/blob/master/LICENSE): free to use, change and share.
|
package/package.json
CHANGED
|
@@ -1,14 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dore-memory",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Local long-term memory for Claude Code. Say it once, it remembers in every new session. Installs the dore Python package and its Claude Code plugin.",
|
|
5
|
-
"keywords": [
|
|
5
|
+
"keywords": [
|
|
6
|
+
"claude-code",
|
|
7
|
+
"claude",
|
|
8
|
+
"memory",
|
|
9
|
+
"agent",
|
|
10
|
+
"mcp",
|
|
11
|
+
"plugin"
|
|
12
|
+
],
|
|
6
13
|
"homepage": "https://github.com/SopheaII/dore-memory#readme",
|
|
7
|
-
"repository": {
|
|
8
|
-
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/SopheaII/dore-memory.git",
|
|
17
|
+
"directory": "npm"
|
|
18
|
+
},
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/SopheaII/dore-memory/issues"
|
|
21
|
+
},
|
|
9
22
|
"license": "MIT",
|
|
10
|
-
"bin": {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
23
|
+
"bin": {
|
|
24
|
+
"dore-memory": "bin/dore-memory.js"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"bin/",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=18"
|
|
33
|
+
},
|
|
34
|
+
"os": [
|
|
35
|
+
"darwin",
|
|
36
|
+
"linux"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"prepack": "node scripts/sync-readme.js"
|
|
40
|
+
}
|
|
14
41
|
}
|