midas-memory-mcp 0.0.3 → 0.1.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/README.md CHANGED
@@ -61,5 +61,5 @@ Node **>= 22.5** (uses the built-in `node:sqlite`; you may see its experimental
61
61
  npm test # builds + runs the suite, including the Python-parity fixture
62
62
  ```
63
63
 
64
- MIT — same license, same repo, same [PRIVACY.md](../../PRIVACY.md) posture: everything stays on
65
- your machine.
64
+ Apache-2.0 — same license, same repo, same [PRIVACY.md](../../PRIVACY.md) posture: everything stays
65
+ on your machine.
package/dist/mcp.js CHANGED
@@ -69,7 +69,8 @@ function text(data) {
69
69
  return { content: [{ type: "text", text: data }] };
70
70
  }
71
71
  export function createServer() {
72
- const server = new McpServer({ name: "midas-memory", version: "0.0.3" }, { instructions: AGENT_MEMORY_INSTRUCTIONS });
72
+ const server = new McpServer({ name: "midas-memory", version: "0.0.4" }, // keep in sync with package.json on each release
73
+ { instructions: AGENT_MEMORY_INSTRUCTIONS });
73
74
  server.registerTool("remember", {
74
75
  title: "Remember",
75
76
  description: "Store a memory for later recall. kind: note | chat | fact | preference | constraint | mission. " +
package/dist/policy.js CHANGED
@@ -1,9 +1,11 @@
1
1
  export const AGENT_MEMORY_INSTRUCTIONS = "Use Midas memory on every task. It is local, source-traceable, and uses no LLM at ingest/query.\n\n" +
2
2
  "1) RECALL FIRST. Call `build_context` with the user's goal; use the returned facts silently. Use " +
3
3
  "`recall`/`inspect_memory` only when you need audit details.\n\n" +
4
- "2) CAPTURE DURABLE SIGNAL. Call `capture` for reusable facts, decisions, preferences, constraints, " +
5
- "corrections, and completed actions. Skip pure small talk. Midas scores, dedups, and rejects trivia, " +
6
- "so capture can be brief and does not need an LLM. Set kind/provenance accurately; use " +
4
+ "2) CAPTURE DURABLE SIGNAL — DISTILLED. Call `capture` for reusable facts, decisions, preferences, " +
5
+ "constraints, corrections, and completed actions. Prefer ONE compact, self-contained statement " +
6
+ "(the entities, the value, and when) over raw turns a memory that answers on its own retrieves " +
7
+ "far better than a conversational fragment. Skip pure small talk. Midas scores, dedups, and rejects " +
8
+ "trivia, so capture can be brief and needs no LLM. Set kind/provenance accurately; use " +
7
9
  'provenance="user_confirmation" only for explicit user confirmation.\n\n' +
8
10
  "3) GUARD ACTIONS. Memory may guide planning, but before external/destructive actions based on memory, " +
9
11
  "call `check_memory_use`. If it is not allowed, ask the user to confirm in this turn.\n\n" +
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "midas-memory-mcp",
3
- "version": "0.0.3",
4
- "description": "Midas \u2014 local-first, source-traceable agent memory over MCP (TypeScript port, experimental). No LLM at ingest or query.",
5
- "license": "MIT",
3
+ "version": "0.1.1",
4
+ "description": "Midas local-first, source-traceable agent memory over MCP (TypeScript port, experimental). No LLM at ingest or query.",
5
+ "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "engines": {
8
8
  "node": ">=22.5"
@@ -40,4 +40,4 @@
40
40
  "typescript": "^5.5.0",
41
41
  "@types/node": "^22.0.0"
42
42
  }
43
- }
43
+ }