dore-memory 0.1.2 → 0.2.0

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,14 +2,15 @@
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 · free to learn · nothing leaves your machine
5
+ Runs on your laptop · your notes never leave your machine · optional Haiku learning between sessions
6
6
  </p>
7
7
 
8
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" />
9
+ <img src="https://img.shields.io/badge/Claude_Code-plugin_0.6.1-d97757?style=flat-square" alt="Claude Code plugin 0.6.1" />
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>
10
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>
11
12
  <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/memory-stays_local-2ea44f?style=flat-square" alt="Memory stays local" />
13
14
  <img src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" alt="MIT license" />
14
15
  </p>
15
16
 
@@ -19,19 +20,39 @@ npx dore-memory install # sets up dore and its Claude Code plugin, then open
19
20
 
20
21
  ## Why dore
21
22
 
22
- **Problem:** every new Claude Code session forgets what you told it, so you repeat yourself.
23
+ **Problem:** Claude Code forgets everything when you start a new session, so you explain the same things again and again.
23
24
 
24
- **Solution:** dore remembers what you say, just by talking as usual.
25
+ **Solution:** dore gives Claude a memory that works like yours:
25
26
 
26
- - 🪶 **Saves tokens:** learning costs 0 Claude tokens; most prompts get nothing added.
27
- - 🧠 **Learns over time:** newer facts replace older ones, with no model training.
28
- - 🗂️ **Shared across projects:** facts about you go everywhere; project facts stay put.
29
- - ⚡ **Fast and private:** about 13 ms per prompt; everything stays on your machine.
27
+ - 👂 **It listens.** When you tell Claude a fact ("our staging server uses port 8443"), dore saves it.
28
+ You don't need to say "remember this".
29
+ - 💡 **It reminds.** When you ask about it later, even in a new session, dore hands Claude that note before it answers.
30
+ - 🔄 **It updates.** When a fact changes ("the staging port is now 9443"), the new fact replaces the old one.
31
+ - 🗂️ **It keeps things in place.** Facts about you (your name, how you like to work) are used in every project.
32
+ Facts about one project (its port, its database) stay in that project.
33
+
34
+ ## How is it different from other memory tools?
35
+
36
+ Most memory tools let the AI manage the memory: the AI decides what to save, and then either loads the whole
37
+ memory into every message or has to search it. That costs tokens, and if the AI forgets to save, the fact is lost.
38
+
39
+ dore manages the memory itself, outside the AI:
40
+
41
+ | | Usual memory tools | dore |
42
+ |---|---|---|
43
+ | Who decides what to save | The AI (costs tokens, and it can forget) | dore, from what you type: local rules (free), or, if you turn it on, Haiku in one small batch a day |
44
+ | What Claude receives | The whole memory, or what the AI searched for | Only the notes that match your message (usually none), plus your standing rules once per session |
45
+ | When a fact changes | Old and new notes may both stay | The old note is replaced |
46
+ | When notes disagree | No rule | What you said wins over what the AI guessed |
47
+ | Where it runs | Sometimes a cloud service | On your computer (with Haiku learning on, the sentences you type also go to Haiku, after each session) |
48
+
49
+ Learning adds a few ms to each message. By default it costs 0 Claude tokens (local word rules). If you say yes at
50
+ install, dore learns better with Claude Haiku instead: after each session, in the background, one small batch
51
+ (about 5-10k Haiku tokens a day on real use) sorts what you typed into facts, rules and noise.
30
52
 
31
53
  ## See it work in Claude Code
32
54
 
33
- Real screenshots: two Claude Code windows side by side, left **without** dore, right **with** dore.
34
- Claude Code's own memory is turned off on both sides, so only dore can remember.
55
+ Left: **without** dore. Right: **with** dore.
35
56
 
36
57
  **Session 1:** tell Claude a fact.
37
58
 
@@ -90,13 +111,19 @@ Then start a new Claude Code session and talk as usual. That's it.
90
111
  |---|---|
91
112
  | `npx dore-memory install` | Sets up dore and turns on its Claude Code plugin |
92
113
  | `npx dore-memory status` | Shows where dore is and whether the plugin is on |
93
- | `npx dore-memory update` | Gets the latest dore |
114
+ | `npx dore-memory@latest update` | Gets the latest dore and its plugin |
94
115
  | `npx dore-memory uninstall` | Removes dore and the plugin (your memory is kept) |
95
116
 
96
117
  **What `install` does:** sets up dore in `~/.dore-memory` and turns on its Claude Code plugin.
97
118
  Your memory is saved in `~/.dore-memory/data`. Change the folder with `DORE_HOME`.
98
119
  The first install downloads about 200 MB (Python packages and a small search model).
99
120
 
121
+ **Updates are automatic.** Once a day, while you are not typing, dore asks npm whether a newer version is
122
+ out and, if so, updates itself in the background at low priority (no message; log in `~/.dore-memory/data/update.log`).
123
+ Turn this off with `DORE_NO_AUTO_UPDATE=1` (`NO_UPDATE_NOTIFIER=1`, `DO_NOT_TRACK=1` and Claude Code's
124
+ `DISABLE_AUTOUPDATER=1` also turn it off), then update by hand with `npx dore-memory@latest update`.
125
+ Installs from source never update by themselves.
126
+
100
127
  ### From source
101
128
 
102
129
  ```bash
@@ -108,7 +135,8 @@ claude plugin marketplace add ~/Documents/dore
108
135
  claude plugin install dore-memory@dore-memory
109
136
  ```
110
137
 
111
- Works on macOS and Linux, no GPU. It also works with opencode and other MCP agents.
138
+ Works on macOS, Linux and Windows (Claude Code on Windows uses Git Bash, which dore's hooks need), no GPU.
139
+ It also works with opencode and other MCP agents.
112
140
 
113
141
  ## How it works
114
142
 
@@ -118,8 +146,30 @@ Works on macOS and Linux, no GPU. It also works with opencode and other MCP agen
118
146
  3. **If it asks about something dore knows**, the hook adds the matching notes (a few lines) to your
119
147
  message, so Claude can answer. If nothing matches, nothing is added (0 tokens).
120
148
  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.
149
+ 5. **Rules you repeat** ("never use tabs", said in two sessions, in any words) or that Claude keeps following start
150
+ each new session, in a few lines at most; rules you stop repeating fade, like habits, and still come back when a
151
+ message matches them.
152
+
153
+ With Haiku learning on, steps 2 and 4 still happen at once (so it works from your very first session), and Haiku
154
+ reviews them afterwards: after each session dore's background helper sends what you typed (not code, logs, pastes or Claude's replies) to
155
+ Haiku through your own `claude` command. Haiku says which are lasting facts or rules, which repeat or update an
156
+ existing note, and which are noise; a quick note it doesn't agree with is archived. Nothing is deleted; an old note is hidden only when a second check agrees
157
+ it is out of date. Offline or at your plan's limit, the sentences wait and are tried again later.
158
+
159
+ Without Haiku, learning runs locally with small models: no Claude tokens, and your memory never leaves your machine.
160
+
161
+ ## Privacy
162
+
163
+ - **Stays on your machine:** every note, everything you type, your projects and the search model's work.
164
+ dore has no account, no server and no telemetry.
165
+ - **With Haiku learning on** (you choose at install; change it in `~/.dore-memory/data/learner`): after each session,
166
+ the sentences you typed since the last time go to Claude Haiku through your own `claude` login, like any message
167
+ you send Claude. Your notes stay on your machine.
168
+ - **Otherwise the only thing dore sends:** once a day, one request for the public page
169
+ `https://registry.npmjs.org/dore-memory/latest` to see the newest version number. It carries nothing about
170
+ you or your memory; npm sees an ordinary request from your IP address. When there is a newer version, the
171
+ update downloads it from npm and GitHub. Off with `DORE_NO_AUTO_UPDATE=1`.
172
+ - Installing and updating download packages from npm, GitHub and PyPI, like any installer.
123
173
 
124
174
  ## Limits
125
175
 
@@ -11,23 +11,38 @@ const path = require("node:path");
11
11
 
12
12
  const REPO = "SopheaII/dore-memory";
13
13
  const PLUGIN = "dore-memory@dore-memory";
14
+ const IS_WIN = process.platform === "win32";
15
+ const EXE = IS_WIN ? ".exe" : "";
14
16
  const HOME = process.env.DORE_HOME || path.join(os.homedir(), ".dore-memory");
15
17
  const VENV = path.join(HOME, ".venv");
16
- const HOOK = path.join(VENV, "bin", "dore-hook");
18
+ const VENV_BIN = path.join(VENV, IS_WIN ? "Scripts" : "bin"); // Windows venvs keep programs in Scripts\
19
+ const VENV_PY = path.join(VENV_BIN, "python" + EXE);
20
+ const HOOK = path.join(VENV_BIN, "dore-hook" + EXE);
17
21
  const DATA = process.env.DORE_DATA || path.join(HOME, "data");
18
22
  // Until dore-memory is on PyPI, install from GitHub. Override with DORE_PIP_SPEC (e.g. "dore-memory").
19
23
  const SPEC = process.env.DORE_PIP_SPEC || `git+https://github.com/${REPO}.git`;
24
+ // Where the Claude Code plugin comes from; a local folder (a dore checkout) works too, for testing.
25
+ const MARKET = process.env.DORE_MARKETPLACE || REPO;
20
26
 
21
27
  const say = (msg) => console.log(`dore-memory: ${msg}`);
22
28
  const fail = (msg) => { console.error(`dore-memory: ${msg}`); process.exit(1); };
23
29
 
24
30
  function has(cmd) {
31
+ if (IS_WIN) return spawnSync("where", [cmd], { stdio: "ignore" }).status === 0;
25
32
  return spawnSync("sh", ["-c", `command -v ${cmd}`], { stdio: "ignore" }).status === 0;
26
33
  }
27
34
 
28
- function run(cmd, args, { allowFail = false } = {}) {
35
+ // Windows: `claude` and `npm` are often .cmd files, which only start through the shell;
36
+ // quote arguments there so paths with spaces (C:\Users\First Last) stay whole.
37
+ function spawn(cmd, args, opts) {
38
+ if (!IS_WIN) return spawnSync(cmd, args, opts);
39
+ const q = (a) => (/[\s"]/.test(a) ? `"${a.replace(/"/g, '\\"')}"` : a);
40
+ return spawnSync([cmd, ...args].map(q).join(" "), { ...opts, shell: true });
41
+ }
42
+
43
+ function run(cmd, args, { allowFail = false, env } = {}) {
29
44
  console.log(` $ ${[cmd, ...args].join(" ")}`);
30
- const r = spawnSync(cmd, args, { stdio: "inherit" });
45
+ const r = spawn(cmd, args, { stdio: "inherit", ...(env ? { env } : {}) });
31
46
  if (r.status !== 0 && !allowFail) fail(`command failed: ${cmd} ${args.join(" ")}`);
32
47
  return r.status === 0;
33
48
  }
@@ -37,47 +52,138 @@ function pythonOk(py) {
37
52
  return r.status === 0;
38
53
  }
39
54
 
55
+ function ask(question) {
56
+ // No terminal (CI, piped, run by an agent): go ahead, like other installers do.
57
+ if (!process.stdin.isTTY) return true;
58
+ process.stdout.write(`${question} [Y/n] `);
59
+ const buf = Buffer.alloc(256);
60
+ let answer = "";
61
+ try { answer = buf.toString("utf8", 0, fs.readSync(0, buf, 0, 256, null)).trim().toLowerCase(); } catch {}
62
+ return answer === "" || answer.startsWith("y");
63
+ }
64
+
65
+ // uv's own installer puts it in ~/.local/bin (or $XDG_BIN_HOME, $CARGO_HOME/bin); same on Windows.
66
+ function findUv() {
67
+ if (has("uv")) return "uv";
68
+ const dirs = [process.env.XDG_BIN_HOME, path.join(os.homedir(), ".local", "bin"),
69
+ path.join(process.env.CARGO_HOME || path.join(os.homedir(), ".cargo"), "bin")];
70
+ return dirs.filter(Boolean).map((d) => path.join(d, "uv" + EXE)).find((p) => fs.existsSync(p)) || null;
71
+ }
72
+
73
+ function installUv() {
74
+ say("dore needs Python 3.11+. uv (https://docs.astral.sh/uv/) can set it up for dore only.");
75
+ if (!ask("Install uv now?")) fail("stopped. Install Python 3.11+ or uv, then run: npx dore-memory install");
76
+ if (IS_WIN) {
77
+ // Started from PowerShell 7, Windows PowerShell 5 inherits 7's PSModulePath and fails to load its
78
+ // own modules ("module could not be loaded"); give it a clean one. Fall back to pwsh if needed.
79
+ const env = Object.fromEntries(Object.entries(process.env).filter(([k]) => k.toLowerCase() !== "psmodulepath"));
80
+ const ps = ["-NoProfile", "-ExecutionPolicy", "ByPass", "-Command", "irm https://astral.sh/uv/install.ps1 | iex"];
81
+ const ok = run("powershell", ps, { env, allowFail: true }) || (has("pwsh") && run("pwsh", ps, { allowFail: true }));
82
+ if (!ok) fail("could not install uv. Install it yourself (https://docs.astral.sh/uv/), then run: npx dore-memory install");
83
+ } else {
84
+ if (!has("curl")) fail("needs curl to install uv. Install uv yourself: https://docs.astral.sh/uv/");
85
+ run("sh", ["-c", "curl -LsSf https://astral.sh/uv/install.sh | sh"]);
86
+ }
87
+ return findUv() || fail("uv was installed but not found. Open a new terminal and run: npx dore-memory install");
88
+ }
89
+
40
90
  function installPython(upgrade) {
41
91
  fs.mkdirSync(HOME, { recursive: true });
42
- if (has("uv")) {
43
- if (!fs.existsSync(VENV)) run("uv", ["venv", VENV, "--python", "3.12"]);
44
- run("uv", ["pip", "install", "--python", path.join(VENV, "bin", "python"), ...(upgrade ? ["--upgrade"] : []), SPEC]);
92
+ // Windows: always uv ("python" there is often the Microsoft Store placeholder).
93
+ const py = IS_WIN ? null : ["python3.12", "python3.11", "python3.13", "python3"].find((p) => has(p) && pythonOk(p));
94
+ // Prefer uv (it downloads Python 3.12 by itself); else a Python 3.11+ already here; else install uv.
95
+ const uv = findUv() || (py ? null : installUv());
96
+ if (uv) {
97
+ // Windows on ARM: spaCy has no win_arm64 package, so use x64 Python (Windows runs it emulated).
98
+ const pyWant = IS_WIN && os.arch() === "arm64" ? "cpython-3.12-windows-x86_64-none" : "3.12";
99
+ if (!fs.existsSync(VENV)) run(uv, ["venv", VENV, "--python", pyWant]);
100
+ run(uv, ["pip", "install", "--python", VENV_PY, ...(upgrade ? ["--upgrade"] : []), SPEC]);
45
101
  } else {
46
- const py = ["python3.12", "python3.11", "python3.13", "python3"].find((p) => has(p) && pythonOk(p));
47
- if (!py) fail("needs Python 3.11+ or uv. Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh");
48
102
  if (!fs.existsSync(VENV)) run(py, ["-m", "venv", VENV]);
49
- const pip = path.join(VENV, "bin", "pip");
103
+ const pip = path.join(VENV_BIN, "pip");
50
104
  run(pip, ["install", "--quiet", "--upgrade", "pip"]);
51
105
  run(pip, ["install", ...(upgrade ? ["--upgrade"] : []), SPEC]);
52
106
  }
53
107
  if (!fs.existsSync(HOOK)) fail(`install finished but ${HOOK} is missing`);
108
+ warmUp();
54
109
  }
55
110
 
56
- function installPlugin() {
111
+ // The first hook run downloads the search model (~130 MB). That takes longer than Claude Code
112
+ // waits for a hook (20 s), so the user's first message would be lost. Do it here instead.
113
+ function warmUp() {
114
+ say("downloading the search model and opening the memory (one time, about 30 s)...");
115
+ // fastembed turns progress bars back on, and huggingface_hub warns that the env var wins: hide that.
116
+ const code = "import warnings\nwarnings.filterwarnings('ignore', message='Cannot enable progress bars')\n"
117
+ + "from dore.config import Config\nfrom dore.integrations.hooks import open_store\n"
118
+ + "from dore.learn.grammar import nlp\nopen_store(Config()).close()\nnlp()\n";
119
+ const r = spawnSync(VENV_PY, ["-c", code], {
120
+ stdio: ["ignore", "ignore", "inherit"],
121
+ env: { ...process.env, DORE_HOME: HOME, HF_HUB_DISABLE_PROGRESS_BARS: "1" },
122
+ });
123
+ if (r.status !== 0) fail("could not download the search model. Check your internet connection and run install again.");
124
+ }
125
+
126
+ function installPlugin(upgrade) {
57
127
  if (!has("claude")) {
58
128
  say("Claude Code CLI not found. Install Claude Code, then run: npx dore-memory install");
59
129
  return false;
60
130
  }
61
131
  // "add" fails when the marketplace is already known; that is fine.
62
- run("claude", ["plugin", "marketplace", "add", REPO], { allowFail: true });
132
+ run("claude", ["plugin", "marketplace", "add", MARKET], { allowFail: true });
63
133
  run("claude", ["plugin", "marketplace", "update", "dore-memory"], { allowFail: true });
134
+ if (upgrade && run("claude", ["plugin", "update", PLUGIN], { allowFail: true })) return true;
64
135
  return run("claude", ["plugin", "install", PLUGIN], { allowFail: true });
65
136
  }
66
137
 
138
+ function recordVersion() {
139
+ const version = require(path.join(__dirname, "..", "package.json")).version;
140
+ fs.mkdirSync(DATA, { recursive: true });
141
+ fs.writeFileSync(path.join(DATA, "install.json"), JSON.stringify({ version }) + "\n");
142
+ }
143
+
144
+ // Learning with Haiku uses the user's own Claude Code login, so it is on only after a clear yes (default no; no
145
+ // terminal = no). The choice is kept in data/learner ("haiku" or "rules"); DORE_LEARN overrides it.
146
+ function chooseLearner() {
147
+ const file = path.join(DATA, "learner");
148
+ if (fs.existsSync(file) || process.env.DORE_LEARN) return;
149
+ let yes = false;
150
+ if (process.stdin.isTTY && has("claude")) {
151
+ console.log("dore-memory: dore can learn better with Claude Haiku: about once a day it sends the sentences you");
152
+ console.log(" typed (not code, logs, pastes or Claude's replies) to Haiku through your own `claude` command and");
153
+ console.log(" login, about 5-10k tokens a day. Without it, dore learns with local word rules only.");
154
+ process.stdout.write(" Use Haiku for learning? [y/N] ");
155
+ const buf = Buffer.alloc(256);
156
+ try { yes = buf.toString("utf8", 0, fs.readSync(0, buf, 0, 256, null)).trim().toLowerCase().startsWith("y"); } catch {}
157
+ }
158
+ fs.mkdirSync(DATA, { recursive: true });
159
+ fs.writeFileSync(file, (yes ? "haiku" : "rules") + "\n");
160
+ }
161
+
67
162
  function install(upgrade) {
68
- if (process.platform === "win32") fail("Windows is not supported yet (macOS and Linux only).");
69
163
  say(`setting up in ${HOME} (first run downloads ~200 MB of packages and models)`);
70
164
  installPython(upgrade);
71
- const plugin = installPlugin();
165
+ recordVersion();
166
+ chooseLearner();
167
+ const plugin = installPlugin(upgrade);
72
168
  say("done.");
73
169
  console.log(` memory: ${DATA}`);
74
170
  console.log(` plugin: ${plugin ? PLUGIN + " installed" : "not installed (see above)"}`);
75
171
  console.log(" Start a new Claude Code session; dore learns from what you tell it.");
172
+ console.log(" Your memory stays on this computer (with Haiku learning on, the sentences you type also go to Haiku,");
173
+ console.log(" once a day; change it in " + path.join(DATA, "learner") + "). Once a day dore asks npm for a newer version and updates");
174
+ console.log(" itself in the background (nothing about you is sent); turn that off with DORE_NO_AUTO_UPDATE=1.");
76
175
  }
77
176
 
78
177
  function uninstall() {
79
178
  if (has("claude")) run("claude", ["plugin", "uninstall", PLUGIN], { allowFail: true });
80
- if (fs.existsSync(VENV)) fs.rmSync(VENV, { recursive: true, force: true });
179
+ // Stop dore's background helper first: Windows can't delete files a running program uses.
180
+ if (fs.existsSync(HOOK)) spawnSync(HOOK, ["quit"], { stdio: "ignore", timeout: 10000 });
181
+ try {
182
+ if (fs.existsSync(VENV)) fs.rmSync(VENV, { recursive: true, force: true, maxRetries: 5, retryDelay: 500 });
183
+ } catch {
184
+ // Windows keeps files of a running program locked; dore's helper quits by itself after 30 idle minutes.
185
+ fail(`could not remove ${VENV} (dore's helper may still be running). Close Claude Code, wait a minute, and run uninstall again.`);
186
+ }
81
187
  say("removed the plugin and the Python environment.");
82
188
  // dore never deletes memories: the notes stay unless the user removes them.
83
189
  console.log(` Your memory was kept in ${DATA}. Delete that folder yourself if you want it gone.`);
@@ -88,7 +194,7 @@ function status() {
88
194
  console.log(`hook: ${fs.existsSync(HOOK) ? HOOK : "missing (run: npx dore-memory install)"}`);
89
195
  console.log(`memory: ${fs.existsSync(path.join(DATA, "memory.db")) ? path.join(DATA, "memory.db") : "empty"}`);
90
196
  if (has("claude")) {
91
- const r = spawnSync("claude", ["plugin", "list"], { encoding: "utf8" });
197
+ const r = spawn("claude", ["plugin", "list"], { encoding: "utf8" });
92
198
  const on = (r.stdout || "").includes(PLUGIN);
93
199
  console.log(`plugin: ${on ? PLUGIN : "not installed"}`);
94
200
  } else {
@@ -99,15 +205,23 @@ function status() {
99
205
  const HELP = `Usage: npx dore-memory <command>
100
206
 
101
207
  install set up dore and its Claude Code plugin
102
- update upgrade dore to the latest version
208
+ update upgrade dore to the latest version (use: npx dore-memory@latest update)
103
209
  status show where dore is and whether the plugin is on
104
210
  uninstall remove the plugin and Python environment (keeps your memory)
105
211
 
106
- Environment: DORE_HOME (default ~/.dore-memory), DORE_PIP_SPEC (what to pip install).`;
212
+ Environment: DORE_HOME (default ~/.dore-memory), DORE_PIP_SPEC (what to pip install),
213
+ DORE_MARKETPLACE (where the plugin comes from; default the GitHub repo),
214
+ DORE_NO_AUTO_UPDATE=1 (never ask npm for a newer version or update by itself).`;
107
215
 
108
216
  const cmd = process.argv[2];
109
217
  if (cmd === "install") install(false);
110
- else if (cmd === "update") { installPython(true); installPlugin(); say("updated."); }
218
+ else if (cmd === "update") {
219
+ if (fs.existsSync(HOOK)) spawnSync(HOOK, ["quit"], { stdio: "ignore", timeout: 10000 });
220
+ installPython(true);
221
+ recordVersion();
222
+ installPlugin(true);
223
+ say("updated. Run /reload-plugins in open Claude Code sessions, or start a new one.");
224
+ }
111
225
  else if (cmd === "status") status();
112
226
  else if (cmd === "uninstall") uninstall();
113
227
  else { console.log(HELP); process.exit(cmd && !["-h", "--help", "help"].includes(cmd) ? 1 : 0); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dore-memory",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
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",
@@ -33,7 +33,8 @@
33
33
  },
34
34
  "os": [
35
35
  "darwin",
36
- "linux"
36
+ "linux",
37
+ "win32"
37
38
  ],
38
39
  "scripts": {
39
40
  "prepack": "node scripts/sync-readme.js"