memoryrouter-claude 2.8.0 → 2.9.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/CHANGELOG.md +6 -0
- package/lib/memory-instructions.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.9.0 (2026-11-06)
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- The save half of the instructions block is now a mandate as strong as the search half. When the MemoryRouter MCP tools are connected, Claude is told to call `store_memory` after every user message worth knowing later (a decision, a preference, a fact about a person, project, or tool, a plan or commitment, a correction, or an outcome), to default to saving because a missed memory costs more than a redundant one, and to save the distilled fact rather than repeating the turn the hooks already capture. The old wording told it to save only for a fact "the turn itself would not make clear", which models read as "do not save".
|
|
8
|
+
|
|
3
9
|
## 2.8.0 (2026-11-04)
|
|
4
10
|
|
|
5
11
|
### Changed
|
|
@@ -10,8 +10,8 @@ const MEMORY_INSTRUCTIONS = "MemoryRouter is the user’s external, persistent m
|
|
|
10
10
|
// and save each turn; there is no hook-mode save tool, so this names only the
|
|
11
11
|
// surfaces that exist (the optional OAuth MCP server and the CLI).
|
|
12
12
|
const CLAUDE_CODE_MAPPING = [
|
|
13
|
-
'How this maps to Claude Code: the MemoryRouter hooks already run the RETRIEVE search before each prompt (the "MemoryRouter recall" block) and
|
|
14
|
-
'
|
|
13
|
+
'How this maps to Claude Code: the MemoryRouter hooks already run the RETRIEVE search before each prompt (the "MemoryRouter recall" block) and capture each completed turn (the user\'s message and your final reply).',
|
|
14
|
+
'When the MemoryRouter MCP tools are connected, save with store_memory after every user message worth knowing later (a decision, a preference, a fact about a person, project, or tool, a plan or commitment, a correction, or an outcome), one concise, self-contained memory per call with exact wording, numbers, and identifiers. Default to saving; a missed memory costs more than a redundant one. Hooks capture the turn text, so save the distilled fact rather than repeating the turn. For more detail use search_memories, inspect_memory, and date_search_memories, or run npx memoryrouter-claude date-search --from <ISO> and npx memoryrouter-claude inspect --id <memory id>.',
|
|
15
15
|
'There is no update tool: to supersede outdated information, save the corrected fact and say what it replaces. Never save passwords, API keys, tokens or other credentials, payment card numbers, government ID numbers, or health information. If the user asks what was searched or saved, answer truthfully.',
|
|
16
16
|
].join(' ');
|
|
17
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memoryrouter-claude",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"description": "Deterministic persistent memory for Claude Code: one MemoryRouter vault shared by every session, repo and tool, with automatic hook retrieval/capture plus an optional OAuth MCP control surface.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "John Rood <john@memoryrouter.ai>",
|