dore-memory 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +31 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,6 +13,10 @@
13
13
  <img src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" alt="MIT license" />
14
14
  </p>
15
15
 
16
+ ```bash
17
+ npx dore-memory install # sets up dore and its Claude Code plugin, then open a new Claude Code session
18
+ ```
19
+
16
20
  ## Why dore
17
21
 
18
22
  **Problem:** every new Claude Code session forgets what you told it, so you repeat yourself.
@@ -72,16 +76,26 @@ Run them yourself (no AI model needed, a few seconds each):
72
76
 
73
77
  ## Install
74
78
 
79
+ ### With npm (recommended)
80
+
75
81
  Needs Node 18+, [Claude Code](https://claude.com/claude-code), and [uv](https://docs.astral.sh/uv/) or Python 3.11+.
76
82
 
77
83
  ```bash
78
- npx dore-memory install # set up dore + the Claude Code plugin
79
- npx dore-memory status # check it
80
- npx dore-memory update # get the latest version
81
- npx dore-memory uninstall # remove it (your memory is kept)
84
+ npx dore-memory install
82
85
  ```
83
86
 
84
- dore lives in `~/.dore-memory` (change it with `DORE_HOME`).
87
+ Then start a new Claude Code session and talk as usual. That's it.
88
+
89
+ | Command | What it does |
90
+ |---|---|
91
+ | `npx dore-memory install` | Sets up dore and turns on its Claude Code plugin |
92
+ | `npx dore-memory status` | Shows where dore is and whether the plugin is on |
93
+ | `npx dore-memory update` | Gets the latest dore |
94
+ | `npx dore-memory uninstall` | Removes dore and the plugin (your memory is kept) |
95
+
96
+ **What `install` does:** sets up dore in `~/.dore-memory` and turns on its Claude Code plugin.
97
+ Your memory is saved in `~/.dore-memory/data`. Change the folder with `DORE_HOME`.
98
+ The first install downloads about 200 MB (Python packages and a small search model).
85
99
 
86
100
  ### From source
87
101
 
@@ -94,7 +108,18 @@ claude plugin marketplace add ~/Documents/dore
94
108
  claude plugin install dore-memory@dore-memory
95
109
  ```
96
110
 
97
- Then use Claude Code as usual. Works on macOS and Linux, no GPU. It also works with opencode and other MCP agents.
111
+ Works on macOS and Linux, no GPU. It also works with opencode and other MCP agents.
112
+
113
+ ## How it works
114
+
115
+ 1. **You type a message** in Claude Code. dore's hook reads it before Claude does.
116
+ 2. **If it tells a fact** ("our staging port is 8443"), dore saves it as a note on your machine.
117
+ Questions and requests are not saved.
118
+ 3. **If it asks about something dore knows**, the hook adds the matching notes (a few lines) to your
119
+ message, so Claude can answer. If nothing matches, nothing is added (0 tokens).
120
+ 4. **If a fact changes** ("the port is now 9443"), the newer note replaces the old one.
121
+
122
+ Learning runs locally with small models, so it costs no Claude tokens and nothing leaves your machine.
98
123
 
99
124
  ## Limits
100
125
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dore-memory",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
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",