memory-pulse 0.1.4 → 0.1.5
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 +31 -17
- package/package.json +1 -1
- package/server.mjs +3 -3
package/README.md
CHANGED
|
@@ -32,36 +32,47 @@ Two design decisions do the heavy lifting:
|
|
|
32
32
|
The failure this prevents: your agent confidently quotes the benchmark number
|
|
33
33
|
you withdrew three sessions ago.
|
|
34
34
|
|
|
35
|
-
**Silence beats a wrong answer.**
|
|
35
|
+
**Silence beats a wrong answer.** When recall isn't confident enough, it returns nothing rather than guessing.
|
|
36
36
|
When the answer isn't there, you get nothing — not a plausible guess.
|
|
37
37
|
|
|
38
38
|
## Install
|
|
39
39
|
|
|
40
|
-
**
|
|
40
|
+
**Any MCP client, one line** (Claude Code shown):
|
|
41
41
|
|
|
42
42
|
```
|
|
43
|
-
|
|
44
|
-
/plugin install memory-pulse@memory-pulse
|
|
43
|
+
claude mcp add memory-pulse -- npx -y memory-pulse
|
|
45
44
|
```
|
|
46
45
|
|
|
47
|
-
**
|
|
48
|
-
(
|
|
46
|
+
**Make re-entry automatic** — a Claude Code SessionStart hook that runs the
|
|
47
|
+
brief before your first prompt (idempotent; merges into your settings, never
|
|
48
|
+
clobbers them; silent in projects that have no ledger):
|
|
49
49
|
|
|
50
50
|
```
|
|
51
|
-
|
|
51
|
+
npx memory-pulse install-hook
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
**Claude Code plugin** (installs straight from this repo, hook included):
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
/plugin marketplace add t-crew/memory-pulse
|
|
58
|
+
/plugin install memory-pulse@memory-pulse
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
**Codex CLI / Cursor / other clients** — stdio server, command
|
|
62
|
+
`npx -y memory-pulse` (or clone this repo and run `node /path/to/server.mjs`).
|
|
63
|
+
|
|
64
|
+
Then tell your agent to remember things. Record a withdrawn number with
|
|
65
|
+
`kind: "correction"` and it will outrank the history that contained it — at
|
|
66
|
+
every brief size, in every session.
|
|
67
|
+
|
|
68
|
+
### Commands
|
|
62
69
|
|
|
63
|
-
|
|
64
|
-
|
|
70
|
+
```
|
|
71
|
+
npx memory-pulse brief # the re-entry brief (what the hook prints)
|
|
72
|
+
npx memory-pulse stats # your telemetry capsule, signature verified by the engine
|
|
73
|
+
npx memory-pulse badge # README badge markdown from your own signed numbers
|
|
74
|
+
npx memory-pulse install-hook # Claude Code SessionStart hook
|
|
75
|
+
```
|
|
65
76
|
|
|
66
77
|
## What runs where (the privacy contract)
|
|
67
78
|
|
|
@@ -72,8 +83,11 @@ the memory". It figures the rest out from the tool descriptions.
|
|
|
72
83
|
which computes the answer and forgets the request. **The service keeps no
|
|
73
84
|
database of your memory** — state arrives in the request and leaves in the
|
|
74
85
|
response.
|
|
75
|
-
-
|
|
76
|
-
|
|
86
|
+
- Telemetry is a **signed capsule beside your ledger**
|
|
87
|
+
(`.memory-pulse/telemetry.rain`): the engine advances it on each read call
|
|
88
|
+
and hands it back — it never stores it. `stats` verifies the signature;
|
|
89
|
+
`badge` turns it into a README badge. Delete the file and it restarts.
|
|
90
|
+
- This client is the entire client, zero dependencies, read it in one sitting.
|
|
77
91
|
|
|
78
92
|
## Pricing
|
|
79
93
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memory-pulse",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Causal memory for coding agents that costs ~670 tokens, not your context window. Four MCP tools: re-enter a project, recall what caused what, record findings, run code against memory.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/server.mjs
CHANGED
|
@@ -140,8 +140,8 @@ export const TOOLS = [
|
|
|
140
140
|
name: "recall",
|
|
141
141
|
description:
|
|
142
142
|
"Query the causal graph: what an event caused (effects), what caused it (causes), a multi-hop " +
|
|
143
|
-
"
|
|
144
|
-
"when the answer is
|
|
143
|
+
"chain (pulse), or when a link was strongest (when). Returns nothing rather than guessing " +
|
|
144
|
+
"when the answer is not confident enough.",
|
|
145
145
|
inputSchema: {
|
|
146
146
|
type: "object",
|
|
147
147
|
properties: {
|
|
@@ -216,7 +216,7 @@ async function dispatch(msg) {
|
|
|
216
216
|
return ok(id, {
|
|
217
217
|
protocolVersion: SUPPORTED.includes(wanted) ? wanted : SUPPORTED[0],
|
|
218
218
|
capabilities: { tools: {} },
|
|
219
|
-
serverInfo: { name: "memory-pulse", version: "0.1.
|
|
219
|
+
serverInfo: { name: "memory-pulse", version: "0.1.5" },
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
if (method === "notifications/initialized" || method === "initialized") return;
|