@echomem/mcp 1.4.65 → 1.4.67
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 +4 -3
- package/dist/local-data-paths.js +10 -0
- package/dist/migrate.js +1 -1
- package/dist/package-metadata.js +1 -1
- package/dist/save-checkpoint-hook.js +8 -2
- package/dist/setup-page/client-core.js +54 -7
- package/dist/setup-page/client-extraction.js +59 -44
- package/dist/setup-page/client-lifecycle.js +38 -4
- package/dist/setup-page/document.js +1 -1
- package/dist/setup-page/styles-extraction.js +0 -13
- package/dist/setup-page/styles-foundation.js +33 -21
- package/dist/setup-page/styles-monochrome.js +1403 -0
- package/dist/setup-page/styles-mvp.js +1 -253
- package/dist/setup-page/styles.js +2 -2
- package/dist/setup-preview.js +2 -2
- package/dist/setup.js +73 -15
- package/dist/source-session.js +50 -15
- package/dist/v1-contract.js +2 -1
- package/package.json +1 -1
- package/templates/codex-skills/echomem-save/SKILL.md +13 -8
- package/templates/echomem-recall.md +8 -3
- package/dist/setup-page/styles-website-alignment.js +0 -851
|
@@ -7,23 +7,28 @@ description: Save durable knowledge to EchoMem, the user's cross-agent long-term
|
|
|
7
7
|
|
|
8
8
|
Use the `save_conversation` tool from the `echomem` MCP server.
|
|
9
9
|
|
|
10
|
-
1.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
1. Prefer structured `messages` and omit `conversation`. Copy the smallest relevant contiguous set of
|
|
11
|
+
user and assistant turns verbatim, preserving their roles and order. Exclude system instructions,
|
|
12
|
+
tool calls, hidden content, noise, and unrelated turns.
|
|
13
|
+
2. Use at most six messages and 12,000 total characters. Drop whole older turns to fit the limit;
|
|
14
|
+
never silently truncate or rewrite a selected turn.
|
|
15
|
+
3. If exact source text is unavailable, use `conversation` with a concise structured summary prefixed
|
|
16
|
+
`Summary (source excerpt unavailable):`. Add a concise title, source, and useful tags.
|
|
17
|
+
4. Use `passthrough: true` only when the user explicitly needs a verbatim session capsule.
|
|
18
|
+
5. Never include secrets, credentials, or unnecessary sensitive content.
|
|
19
|
+
6. Confirm what EchoMem saved. When the tool returns one or more saved memory IDs, end the final
|
|
15
20
|
user-facing answer with a compact `EchoMem saved:` list containing every memory created by that
|
|
16
21
|
call. Use each memory key as the Markdown label and its canonical
|
|
17
22
|
`https://echoknows.com/memory/<memory-id>` URL. Keep this separate from `EchoMem sources:`; a save
|
|
18
23
|
receipt does not imply the newly saved memories informed the answer. If saving fails, report the
|
|
19
24
|
failure without switching providers silently.
|
|
20
|
-
|
|
25
|
+
7. Before a final response, use this workflow proactively when the task produced a durable decision,
|
|
21
26
|
confirmed preference, implementation, resolved bug, commit, passing verification, release, or
|
|
22
27
|
project milestone. A private checkpoint does not require a separate user request. Skip trivial
|
|
23
28
|
read-only work and incidental chatter.
|
|
24
|
-
|
|
29
|
+
8. If the encrypted vault is locked, tell the user to run `echomem-mcp unlock`; never silently skip a
|
|
25
30
|
qualifying checkpoint.
|
|
26
|
-
|
|
31
|
+
9. For a user with a company group, call `request_group_session_sharing` near conversation start or
|
|
27
32
|
after a qualifying private save. On the first call in a conversation, omit `groupSharingScopeId` so
|
|
28
33
|
EchoMem mints a fresh opaque scope. Reuse that exact scope only in this conversation for later
|
|
29
34
|
get/request/set/save calls, and never persist it as memory. If multiple groups are returned, reuse
|
|
@@ -18,9 +18,14 @@ This project has EchoMem connected — the user's long-term memory across all th
|
|
|
18
18
|
date + source) so the user can verify.
|
|
19
19
|
- Before the final response for work that produced a durable decision, confirmed preference,
|
|
20
20
|
implementation, resolved bug, commit, passing verification, release, or project milestone, call
|
|
21
|
-
`save_conversation`. This private checkpoint does not require a separate user request.
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
`save_conversation`. This private checkpoint does not require a separate user request. Prefer
|
|
22
|
+
`messages` and omit `conversation`: copy the smallest relevant contiguous set of user and assistant
|
|
23
|
+
turns verbatim, preserving role and order. Exclude system instructions, tool calls, and hidden
|
|
24
|
+
content. Use at most six messages and 12,000 total characters; drop whole older turns instead of
|
|
25
|
+
truncating or rewriting them. If exact source text is unavailable, use `conversation` with a concise
|
|
26
|
+
structured summary prefixed `Summary (source excerpt unavailable):`. Never save secrets,
|
|
27
|
+
credentials, incidental chatter, or trivial read-only work. This does not authorize company-group
|
|
28
|
+
publication.
|
|
24
29
|
- After `save_conversation` succeeds and returns one or more saved memory IDs, make the save visible
|
|
25
30
|
in the final user-facing answer with a compact `EchoMem saved:` list containing every memory
|
|
26
31
|
created by that call. Link each memory key to its canonical
|