@engramprotocol/mcp-server 0.10.3 → 0.10.4

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
@@ -14,7 +14,7 @@ EML_API_TOKEN=eml_<prefix><secret> \
14
14
  The installer:
15
15
  - Verifies the token against `/stats` before storing
16
16
  - Writes `~/.eml/config` (chmod 600) with URL + token + client-version
17
- - Registers the `engramprotocol` MCP server via `claude mcp add` (user scope, stdio transport, semver-range-pinned to `@~0.10`)
17
+ - Registers the `engramprotocol` MCP server via `claude mcp add` (user scope, stdio transport, pinned to `@latest`)
18
18
  - Adds two hooks to `~/.claude/settings.json` (see [Hooks](#hooks) below):
19
19
  - **SessionStart** → loads your brain at session start (identity, rules, decisions, status, tasks, protocol conventions)
20
20
  - **UserPromptSubmit** → light mid-session reminder on turn 1, every 5 turns, or after >1h pause
@@ -57,7 +57,7 @@ Two bash hooks land in `~/.eml/hooks/`:
57
57
 
58
58
  Both hooks log to `~/.eml/logs/<event>-YYYY-MM-DD.log` (self-rotating per day) and carry a `# managed-by: engramprotocol-setup` marker line that lets `setup update` / `setup uninstall` identify which files they own.
59
59
 
60
- ## Tools (v0.10.0)
60
+ ## Tools (v0.10.4)
61
61
 
62
62
  All tools have an `eml_` prefix. Total: **17 tools**.
63
63
 
@@ -1 +1 @@
1
- {"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../src/tools/note.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAA;AACxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAOhD;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI,CAsC1E"}
1
+ {"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../src/tools/note.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAA;AACxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAOhD;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI,CAwC1E"}
@@ -25,10 +25,12 @@ function registerNoteTool(server, http) {
25
25
  '(external pointer), log (narrative entry). For the more frequent types ' +
26
26
  'use the typed tools: eml_decide, eml_set_status, eml_track_task.',
27
27
  inputSchema: {
28
- kind: zod_1.z.enum(NOTE_KINDS).describe('rule: behavioral convention/constraint. profile: identity facet ' +
29
- '(e.g. who an agent is). event: immutable timestamped occurrence ' +
30
- '(deploy, incident). reference: pointer to external system (ticket ' +
31
- 'URL, dashboard, doc). log: narrative entry (session summary).'),
28
+ kind: zod_1.z.enum(NOTE_KINDS).describe('Pick in order:\n' +
29
+ '1. Session summary (1 per session, e.g. motti-session-end)? log (else NEVER use log)\n' +
30
+ '2. Timestamped one-time occurrence (deploy, test, incident, diagnostic probe)? event (requires occurred_at + change_type)\n' +
31
+ '3. Pointer to external system (ticket URL, dashboard, doc)? reference\n' +
32
+ '4. Identity facet (who an agent/user is)? → profile\n' +
33
+ '5. Behavior convention/constraint? → rule (requires enforcement: mandatory|recommended|advisory)'),
32
34
  content: zod_1.z.string(),
33
35
  scope: zod_1.z.string().describe('global | project.<id> | entity.<id> | agent.<id> | user.<id>'),
34
36
  subject: zod_1.z.string().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"note.js","sourceRoot":"","sources":["../../src/tools/note.ts"],"names":[],"mappings":";;AAoBA,4CAsCC;AA1DD,6BAAuB;AAGvB,yCAAqC;AAErC,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,CAAU,CAAA;AAC5E,MAAM,YAAY,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,SA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QAAQ,EAAE;YACnC,YAAY,EAAE,OAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE;YAC7C,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC/D,6EAA6E;gBAC7E,0DAA0D,CAC3D;SACF;KACF,EACD,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,IAAA,mBAAQ,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;QACnD,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,UAAU,EAAE,IAAI,CAAC,UAAU;KAC5B,CAAC,CAAC,CACJ,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engramprotocol/mcp-server",
3
- "version": "0.10.3",
3
+ "version": "0.10.4",
4
4
  "description": "MCP wrapper for the EML HTTP API — exposes the Engram Protocol as MCP tools for Claude Code and other MCP clients. Includes setup-mode for one-shot install/update/uninstall.",
5
5
  "license": "MIT",
6
6
  "main": "dist/server.js",