minnimemory 1.3.0 → 1.3.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/CHANGELOG.md CHANGED
@@ -3,6 +3,37 @@
3
3
  All notable changes to the `minnimemory` package. Dates are publish dates; an entry that has not
4
4
  been published yet says `unreleased` and gets its date on the day it goes out.
5
5
 
6
+ ## 1.3.1 - 2026-10-12
7
+
8
+ - Fixed: on a memory folder with topic files the index never linked, `doctor` after `apply`
9
+ could keep saying "re-apply" with nothing changed, because choosing the generated list line's
10
+ trigger words again could move one word. A re-apply now keeps the words an earlier apply wrote
11
+ for that line, the way it already kept a routed piece's line. A folder sorted by 1.3.0 goes
12
+ clean on its next `doctor` with no further apply.
13
+ - Fix (#3): `undo` in a teammate's clone that had re-applied restored the compiled `CLAUDE.md`
14
+ and deleted the routed files it lists, with exit 0. A backup that already holds the
15
+ OnDemandMemory list is not an original, so undo now refuses and points at git history.
16
+ - Fix (#4): a new memory written into `OnDemandMemory/`, where the sorted index says new memory
17
+ files go, made every later `apply` refuse ("already exists at the destination"). It is now
18
+ adopted where it is, and a forced `undo` names it as kept with no index line.
19
+ - Fix (#5): `doctor` on a memory folder printed `apply .` as the re-apply command, which run from
20
+ the project re-applies the project. It now names the folder.
21
+ - Fix (#6): after applying and committing on a branch, `main` (whose checkout keeps only the
22
+ gitignored `original/`) counted as a lost manifest, and the forced undo it offered deleted the
23
+ branch's backups. It now reads as "not compiled on this checkout": `apply` says to undo on
24
+ that branch or merge it first, and `undo` keeps the backups.
25
+ - Fix (#7): after `init` on the memory folder, the reply's note about the project read as the
26
+ next step, and a Haiku session applied the project instead. The note now leads with the
27
+ folder's own step (`apply()` with no target), and `apply`/`undo` say an omitted target is the
28
+ recorded memory folder.
29
+ - Fix (#8): `init --only-this-folder` printed an apply command without the flag, which refused.
30
+ - Fix (#9): `init` on a memory folder with nothing reported no longer ends with an apply command
31
+ that would refuse; it says why and how to report.
32
+ - Fix (#10): the drift notice now fires in a session opened in a subfolder of a compiled project.
33
+ - Fix (#11): a deleted `.minnimemory/graph.json` is written again by the next `apply`.
34
+ - Fix (#12): after a memory-folder `init` or `apply`, the project hint shows only when the
35
+ project has something to apply. Undo's note for a deleted user `CLAUDE.md` now says so.
36
+
6
37
  ## 1.3.0 - 2026-10-12
7
38
 
8
39
  - New: on a memory folder, a topic file the index never linked now gets a generated list line
package/README.md CHANGED
@@ -50,14 +50,14 @@ $ npx -y minnimemory init .
50
50
  npx -y minnimemory apply --plan 7eb0e22e815143d0 --budget 2000 .
51
51
 
52
52
  $ npx -y minnimemory apply --plan 7eb0e22e815143d0 --budget 2000 .
53
- 5 file(s) written; originals are under .minnimemory/. Undo any time: npx -y minnimemory undo .
53
+ 7 file(s) written; originals are under .minnimemory/. Undo any time: npx -y minnimemory undo .
54
54
 
55
55
  $ npx -y minnimemory doctor
56
56
  nothing to apply: no drift since the last apply
57
57
 
58
58
  $ npx -y minnimemory undo
59
59
  restored 1 file(s) in /path/to/your/repo
60
- deleted: 4 path(s), .minnimemory/ included
60
+ deleted: 5 path(s), .minnimemory/ included
61
61
  ```
62
62
 
63
63
  `doctor` is for later, after `init`: it refuses until `init` has run here ("run init first").
@@ -516,8 +516,8 @@ The MCP server's own always-loaded cost, measured (not assumed), approx-v2 token
516
516
 
517
517
  | | tokens |
518
518
  |---|---|
519
- | basic profile tool schemas (`init`, `doctor`, `apply`, `undo`), read-only | 1,173 |
520
- | basic profile tool schemas, `--allow-write` (no effect on basic) | 1,173 |
519
+ | basic profile tool schemas (`init`, `doctor`, `apply`, `undo`), read-only | 1,183 |
520
+ | basic profile tool schemas, `--allow-write` (no effect on basic) | 1,183 |
521
521
  | server instructions text | 50 |
522
522
 
523
523
  Measured against a real registered server over an in-memory MCP transport, not assumed. Claude
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
- {
2
- "name": "minnimemory",
3
- "version": "1.3.0",
4
- "description": "MinniMemoryMCP: an MCP server that gives an AI coding agent curated memory. Tools audit the agent's memory file, compile it into a small AlwaysOnMemory body plus OnDemandMemory files, serve it back on demand and keep it maintained. Deterministic, lossless, offline. Built by MinniAI.",
5
- "type": "module",
6
- "mcpName": "io.github.MinniAI-com/minnimemory",
7
- "license": "SEE LICENSE IN LICENSE",
8
- "author": "MinniAI",
9
- "homepage": "https://minniai.com",
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "engines": {
14
- "node": ">=18.3"
15
- },
16
- "bin": {
17
- "minnimemory": "pkg/cli.js"
18
- },
19
- "main": "./pkg/index.js",
20
- "types": "./pkg/index.d.ts",
21
- "files": [
22
- "pkg",
23
- "examples",
24
- "README.md",
25
- "LICENSE",
26
- "CHANGELOG.md"
27
- ],
28
- "scripts": {
29
- "build": "tsc -p tsconfig.json",
30
- "bundle": "node scripts/bundle.mjs",
31
- "prepublishOnly": "npm run typecheck && npm test && npm run build && npm run bundle && npm run leakcheck",
32
- "leakcheck": "node scripts/leakcheck.mjs",
33
- "graph-check": "node scripts/graph-check.mjs",
34
- "typecheck": "tsc -p tsconfig.json --noEmit",
35
- "pretest": "npm run build",
36
- "test": "vitest run",
37
- "test:watch": "vitest"
38
- },
39
- "keywords": [
40
- "llm",
41
- "agent",
42
- "context",
43
- "tokens",
44
- "memory",
45
- "claude",
46
- "mcp",
47
- "prompt-caching"
48
- ],
49
- "devDependencies": {
50
- "@types/node": "^22.10.2",
51
- "esbuild": "^0.28.2",
52
- "typescript": "^5.7.2",
53
- "vitest": "^5.0.0"
54
- },
55
- "dependencies": {
56
- "@modelcontextprotocol/sdk": "^1.30.0",
57
- "zod": "^3.25.0"
58
- }
59
- }
1
+ {
2
+ "name": "minnimemory",
3
+ "version": "1.3.1",
4
+ "description": "MinniMemoryMCP: an MCP server that gives an AI coding agent curated memory. Tools audit the agent's memory file, compile it into a small AlwaysOnMemory body plus OnDemandMemory files, serve it back on demand and keep it maintained. Deterministic, lossless, offline. Built by MinniAI.",
5
+ "type": "module",
6
+ "mcpName": "io.github.MinniAI-com/minnimemory",
7
+ "license": "SEE LICENSE IN LICENSE",
8
+ "author": "MinniAI",
9
+ "homepage": "https://minniai.com",
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "engines": {
14
+ "node": ">=18.3"
15
+ },
16
+ "bin": {
17
+ "minnimemory": "pkg/cli.js"
18
+ },
19
+ "main": "./pkg/index.js",
20
+ "types": "./pkg/index.d.ts",
21
+ "files": [
22
+ "pkg",
23
+ "examples",
24
+ "README.md",
25
+ "LICENSE",
26
+ "CHANGELOG.md"
27
+ ],
28
+ "scripts": {
29
+ "build": "tsc -p tsconfig.json",
30
+ "bundle": "node scripts/bundle.mjs",
31
+ "prepublishOnly": "npm run typecheck && npm test && npm run build && npm run bundle && npm run leakcheck",
32
+ "leakcheck": "node scripts/leakcheck.mjs",
33
+ "graph-check": "node scripts/graph-check.mjs",
34
+ "typecheck": "tsc -p tsconfig.json --noEmit",
35
+ "pretest": "npm run build",
36
+ "test": "vitest run",
37
+ "test:watch": "vitest"
38
+ },
39
+ "keywords": [
40
+ "llm",
41
+ "agent",
42
+ "context",
43
+ "tokens",
44
+ "memory",
45
+ "claude",
46
+ "mcp",
47
+ "prompt-caching"
48
+ ],
49
+ "devDependencies": {
50
+ "@types/node": "^22.10.2",
51
+ "esbuild": "^0.28.2",
52
+ "typescript": "^5.7.2",
53
+ "vitest": "^5.0.0"
54
+ },
55
+ "dependencies": {
56
+ "@modelcontextprotocol/sdk": "^1.30.0",
57
+ "zod": "^3.25.0"
58
+ }
59
+ }