dore-memory 0.4.1 → 0.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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <p align="center">
4
4
  <strong>Memory for Claude Code. Say it once, it remembers in every new session.</strong><br/>
5
- Runs on your laptop · your notes never leave your machine · learns with Claude Haiku between sessions
5
+ Runs on your laptop · notes stored only on your machine · learns with Claude Haiku after sessions
6
6
  </p>
7
7
 
8
8
  <p align="center">
@@ -10,7 +10,7 @@
10
10
  <a href="https://github.com/SopheaII/dore-memory/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/SopheaII/dore-memory/ci.yml?branch=master&style=flat-square&label=CI" alt="CI" /></a>
11
11
  <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>
12
12
  <img src="https://img.shields.io/badge/python-3.11+-3776ab?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+" />
13
- <img src="https://img.shields.io/badge/memory-stays_local-2ea44f?style=flat-square" alt="Memory stays local" />
13
+ <img src="https://img.shields.io/badge/memory-stored_locally-2ea44f?style=flat-square" alt="Memory stored locally" />
14
14
  <img src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" alt="MIT license" />
15
15
  </p>
16
16
 
@@ -29,11 +29,9 @@ Claude Code forgets everything between sessions, so you explain the same things
29
29
 
30
30
  ## How is it different from other memory tools?
31
31
 
32
- Most memory tools ask the AI to keep the notebook: it decides what to save, then searches it or loads all of it
33
- into every message. You pay tokens for both, and the fact is lost when the model forgets to write it down.
34
-
35
- **dore keeps that work outside the model:** local rules in a hook decide what to save in ~13 ms for **0 Claude
36
- tokens**, and Claude only reads the few notes that match your message — nothing when nothing matches.
32
+ Most memory tools let the AI decide what to save, then load it into every message: you pay tokens, and a fact is
33
+ lost when the AI forgets to save it. **dore saves outside the model** (~13 ms) and gives Claude
34
+ only the notes that match your message.
37
35
 
38
36
  | | Usual memory tools | dore |
39
37
  |---|---|---|
@@ -41,39 +39,25 @@ tokens**, and Claude only reads the few notes that match your message — nothin
41
39
  | What Claude receives | Everything, or what the AI searched | Only matching notes (plus rules once a session) |
42
40
  | Conflicting notes | Old and new may both stay | New beats old; you beat the AI |
43
41
  | Where facts belong | No rule | You vs. project, kept apart |
44
- | Where it runs | Sometimes a cloud service | On your computer; notes stay local |
42
+ | Where it runs | Sometimes a cloud service | On your computer; Haiku through your own `claude` login |
45
43
 
46
- Learning adds a few ms per message. When a session ends
47
- with enough waiting (about 30 sentences, or 3 hours after you said it), one batch sends what you typed and pasted (not Claude's
48
- replies) to Haiku to sort it into facts, rules, lists and noise — about 6k tokens a day on one real history (estimate), never
49
- while you work.
44
+ At a session end, Haiku sorts what you typed (not Claude's replies) into facts, rules and noise, in one batch: about
45
+ 6k tokens a day (estimate), never while you work.
50
46
 
51
47
  ## See it work in Claude Code
52
48
 
53
- Left: **without** dore. Right: **with** dore.
54
-
55
- **Session 1:** tell Claude a fact.
56
-
57
- ![Session 1: both sides are told the staging port](https://raw.githubusercontent.com/SopheaII/dore-memory/master/docs/images/claude-code-1-tell.png)
58
-
59
- **Session 2:** close Claude, start a new session, and ask.
60
-
61
- ![Session 2: without dore Claude can't find it; with dore it answers 8443](https://raw.githubusercontent.com/SopheaII/dore-memory/master/docs/images/claude-code-2-ask.png)
62
-
63
- Without dore, Claude can't find the port. With dore, it answers **8443** right away.
64
-
65
- ### Shared across projects
49
+ Two real Claude Code terminals, both with dore, recorded as they ran (Claude's thinking time plays faster).
66
50
 
67
- Facts about you are shared by all your projects. Tell it in project **api**:
51
+ **Same project:** what you tell one terminal, the other knows: the port (7311, then 7412) and a rule (pnpm).
68
52
 
69
- ![Project api: both sides are told "I write all my APIs in Go"](https://raw.githubusercontent.com/SopheaII/dore-memory/master/docs/images/claude-code-3-other-project-tell.png)
53
+ ![Same project: terminal 2 knows the port and its update, and the pnpm rule, from terminal 1](https://raw.githubusercontent.com/SopheaII/dore-memory/master/docs/images/claude-code-same-project.gif)
70
54
 
71
- Then ask in a different project, **shop**:
55
+ ### Different projects
72
56
 
73
- ![Project shop: without dore Claude can't tell; with dore it answers Go](https://raw.githubusercontent.com/SopheaII/dore-memory/master/docs/images/claude-code-4-other-project-ask.png)
57
+ Terminal 2 moves to project **beta**. alpha's port and rule stay in alpha; your favourite fruit, and its update,
58
+ reach both.
74
59
 
75
- Without dore, Claude can't tell. With dore, it knows: **Go**. Facts about one project (like its port) stay in
76
- that project.
60
+ ![Different projects: alpha's notes stay in alpha; the favourite fruit reaches both](https://raw.githubusercontent.com/SopheaII/dore-memory/master/docs/images/claude-code-other-project.gif)
77
61
 
78
62
  ## Test results
79
63
 
@@ -150,12 +134,12 @@ It also works with opencode and other MCP agents.
150
134
 
151
135
  ## Privacy
152
136
 
153
- - **Stays on your machine:** every note, everything you type, your projects and the search model's work.
154
- dore has no account, no server and no telemetry.
155
- - **Haiku learning:** at a session end,
156
- what you typed since the last batch, and the start and end of anything long you pasted (code and logs included),
157
- go to Claude Haiku through your own `claude` login, like any message you send Claude. Your notes stay on your
158
- machine.
137
+ - **Stored only on your machine:** your notes, your projects and the search model's work. dore has no account,
138
+ no server and no telemetry.
139
+ - **Sent to Claude Haiku** after a session, through your own `claude` login like any message you send Claude (it
140
+ counts toward your Claude usage): what you typed since the last batch (not Claude's replies), anything you pasted
141
+ (only its first 20 and last 5 lines when it is long; code and logs included), and a few saved notes and rules
142
+ close to it, so Haiku can tell a new fact from an update or a repeat.
159
143
  - **Besides Haiku, the only thing dore sends:** once a day, one request for the public page
160
144
  `https://registry.npmjs.org/dore-memory/latest` to see the newest version number. It carries nothing about
161
145
  you or your memory; npm sees an ordinary request from your IP address. When there is a newer version, the
@@ -150,7 +150,7 @@ function install(upgrade) {
150
150
  console.log(` memory: ${DATA}`);
151
151
  console.log(` plugin: ${plugin ? PLUGIN + " installed" : "not installed (see above)"}`);
152
152
  console.log(" Start a new Claude Code session; dore learns from what you tell it.");
153
- console.log(" Your memory stays on this computer. At a session end, what you typed goes to Claude Haiku through your");
153
+ console.log(" Your notes are stored on this computer. After a session, what you typed goes to Claude Haiku through your");
154
154
  console.log(" own `claude` login to sort it into facts and rules. Once a day dore asks npm for a newer version and updates");
155
155
  console.log(" itself in the background (nothing about you is sent); turn that off with DORE_NO_AUTO_UPDATE=1.");
156
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dore-memory",
3
- "version": "0.4.1",
3
+ "version": "0.4.4",
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
5
  "keywords": [
6
6
  "claude-code",