@totalreclaw/mcp-server 3.6.0-rc.1 → 3.6.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/dist/prompts.d.ts +2 -2
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +6 -6
- package/dist/prompts.js.map +1 -1
- package/package.json +2 -2
package/dist/prompts.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const SERVER_INSTRUCTIONS = "TotalReclaw is the user's encrypted long-term memory
|
|
2
|
-
export declare const SYSTEM_PROMPT_FRAGMENT = "TotalReclaw is the user's encrypted long-term memory
|
|
1
|
+
export declare const SERVER_INSTRUCTIONS = "TotalReclaw is the user's encrypted long-term memory. Use it unprompted:\n- Recall: ALWAYS call totalreclaw_recall at the start of EVERY conversation (query: the user's first message) and whenever past context could help. Use quietly.\n- Remember: call totalreclaw_remember WITHOUT being asked, same turn, whenever the user shares a durable fact. They never need to say \"remember this\".\n- Safety: the recovery phrase must never enter this chat. Never ask for it, echo it or run a CLI that prints it.\n\n## Recovery phrase (hard rules)\n- NEVER ask the user to paste their recovery phrase into chat. NEVER echo, print or summarize a phrase.\n- NEVER run a phrase-touching CLI through a shell tool (e.g. \"npx @totalreclaw/mcp-server setup\" or \"show-phrase\"): its output enters your context.\n- If the user pastes a phrase anyway, tell them it is compromised and they need a fresh one from the browser pair flow (totalreclaw_pair).\n\n## Remembering\nStore without being asked whenever the user shares: preferences, personal info, decisions or goals, corrections, important dates or events, tech preferences, project context, opinions or values. If it could help later, store it automatically. Store atomic facts (\"User is vegan\"). Skip small talk, one-off tasks, generic knowledge and secrets (passwords, API keys, tokens). Correction: store the new fact.\n\n## Setup\n\"not_configured\" means no account yet. Call totalreclaw_pair and give the user the link + PIN. The phrase is created or entered in a browser only, never in config, env vars or chat. After Pairing, on \"You're all set\", ask them to fully quit and reopen this app (or start a new session).\n\n## Everything else\n\"quota_exceeded\" -> tell the user, offer totalreclaw_status / totalreclaw_upgrade, stop storing. \"pin that\" -> totalreclaw_pin. Migrating -> totalreclaw_import_from (dry_run first). \"file that under X\" / \"that's a work thing\" -> totalreclaw_set_scope. End of a substantive conversation -> totalreclaw_debrief. Guide: totalreclaw://guide.";
|
|
2
|
+
export declare const SYSTEM_PROMPT_FRAGMENT = "TotalReclaw is the user's encrypted long-term memory. Use it unprompted:\n- Recall: ALWAYS call totalreclaw_recall at the start of EVERY conversation (query: the user's first message) and whenever past context could help. Use quietly.\n- Remember: call totalreclaw_remember WITHOUT being asked, same turn, whenever the user shares a durable fact. They never need to say \"remember this\".\n- Safety: the recovery phrase must never enter this chat. Never ask for it, echo it or run a CLI that prints it.\n\n## Recovery phrase (hard rules)\n- NEVER ask the user to paste their recovery phrase into chat. NEVER echo, print or summarize a phrase.\n- NEVER run a phrase-touching CLI through a shell tool (e.g. \"npx @totalreclaw/mcp-server setup\" or \"show-phrase\"): its output enters your context.\n- If the user pastes a phrase anyway, tell them it is compromised and they need a fresh one from the browser pair flow (totalreclaw_pair).\n\n## Remembering\nStore without being asked whenever the user shares: preferences, personal info, decisions or goals, corrections, important dates or events, tech preferences, project context, opinions or values. If it could help later, store it automatically. Store atomic facts (\"User is vegan\"). Skip small talk, one-off tasks, generic knowledge and secrets (passwords, API keys, tokens). Correction: store the new fact.\n\n## Setup\n\"not_configured\" means no account yet. Call totalreclaw_pair and give the user the link + PIN. The phrase is created or entered in a browser only, never in config, env vars or chat. After Pairing, on \"You're all set\", ask them to fully quit and reopen this app (or start a new session).\n\n## Everything else\n\"quota_exceeded\" -> tell the user, offer totalreclaw_status / totalreclaw_upgrade, stop storing. \"pin that\" -> totalreclaw_pin. Migrating -> totalreclaw_import_from (dry_run first). \"file that under X\" / \"that's a work thing\" -> totalreclaw_set_scope. End of a substantive conversation -> totalreclaw_debrief. Guide: totalreclaw://guide.";
|
|
3
3
|
/** URI of the static usage-guide resource (all modes, including unconfigured). */
|
|
4
4
|
export declare const SERVER_GUIDE_URI = "totalreclaw://guide";
|
|
5
5
|
/**
|
package/dist/prompts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,mBAAmB,w/DAiBkT,CAAC;AAGnV,eAAO,MAAM,sBAAsB,w/DAAsB,CAAC;AAE1D,kFAAkF;AAClF,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AAEtD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,unLAgExB,CAAC;AAIF,eAAO,MAAM,yBAAyB,ugBAIoJ,CAAC;AAE3L,eAAO,MAAM,uBAAuB,mhBASqB,CAAC;AAE1D,eAAO,MAAM,uBAAuB,sgBASwD,CAAC;AAE7F,eAAO,MAAM,uBAAuB,2gBASF,CAAC;AAEnC,eAAO,MAAM,uBAAuB,kgBASK,CAAC;AAE1C,eAAO,MAAM,wBAAwB,mgBASE,CAAC;AAExC,eAAO,MAAM,4BAA4B,ifAOd,CAAC;AAE5B,eAAO,MAAM,uBAAuB,igBAS0B,CAAC;AAE/D,eAAO,MAAM,wBAAwB,+gBAQyC,CAAC;AAE/E,eAAO,MAAM,wBAAwB,8gBAQmC,CAAC;AAEzE,eAAO,MAAM,qBAAqB,ghDAUgE,CAAC;AAInG,eAAO,MAAM,kBAAkB;;;;;;;;;GAqB9B,CAAC;AAEF,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAClB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC5B,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC,CAqClE"}
|
package/dist/prompts.js
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.PROMPT_DEFINITIONS = exports.PAIR_TOOL_DESCRIPTION = exports.ACCOUNT_TOOL_DESCRIPTION = exports.SUPPORT_TOOL_DESCRIPTION = exports.IMPORT_TOOL_DESCRIPTION = exports.IMPORT_FROM_TOOL_DESCRIPTION = exports.UPGRADE_TOOL_DESCRIPTION = exports.STATUS_TOOL_DESCRIPTION = exports.EXPORT_TOOL_DESCRIPTION = exports.FORGET_TOOL_DESCRIPTION = exports.RECALL_TOOL_DESCRIPTION = exports.REMEMBER_TOOL_DESCRIPTION = exports.SERVER_GUIDE = exports.SERVER_GUIDE_URI = exports.SYSTEM_PROMPT_FRAGMENT = exports.SERVER_INSTRUCTIONS = void 0;
|
|
16
16
|
exports.getPromptMessages = getPromptMessages;
|
|
17
|
-
exports.SERVER_INSTRUCTIONS = `TotalReclaw is the user's encrypted long-term memory
|
|
18
|
-
- Recall: call totalreclaw_recall at the start of
|
|
19
|
-
- Remember: call totalreclaw_remember
|
|
17
|
+
exports.SERVER_INSTRUCTIONS = `TotalReclaw is the user's encrypted long-term memory. Use it unprompted:
|
|
18
|
+
- Recall: ALWAYS call totalreclaw_recall at the start of EVERY conversation (query: the user's first message) and whenever past context could help. Use quietly.
|
|
19
|
+
- Remember: call totalreclaw_remember WITHOUT being asked, same turn, whenever the user shares a durable fact. They never need to say "remember this".
|
|
20
20
|
- Safety: the recovery phrase must never enter this chat. Never ask for it, echo it or run a CLI that prints it.
|
|
21
21
|
|
|
22
22
|
## Recovery phrase (hard rules)
|
|
@@ -25,13 +25,13 @@ exports.SERVER_INSTRUCTIONS = `TotalReclaw is the user's encrypted long-term mem
|
|
|
25
25
|
- If the user pastes a phrase anyway, tell them it is compromised and they need a fresh one from the browser pair flow (totalreclaw_pair).
|
|
26
26
|
|
|
27
27
|
## Remembering
|
|
28
|
-
Store atomic facts ("User is vegan").
|
|
28
|
+
Store without being asked whenever the user shares: preferences, personal info, decisions or goals, corrections, important dates or events, tech preferences, project context, opinions or values. If it could help later, store it automatically. Store atomic facts ("User is vegan"). Skip small talk, one-off tasks, generic knowledge and secrets (passwords, API keys, tokens). Correction: store the new fact.
|
|
29
29
|
|
|
30
30
|
## Setup
|
|
31
|
-
|
|
31
|
+
"not_configured" means no account yet. Call totalreclaw_pair and give the user the link + PIN. The phrase is created or entered in a browser only, never in config, env vars or chat. After Pairing, on "You're all set", ask them to fully quit and reopen this app (or start a new session).
|
|
32
32
|
|
|
33
33
|
## Everything else
|
|
34
|
-
|
|
34
|
+
"quota_exceeded" -> tell the user, offer totalreclaw_status / totalreclaw_upgrade, stop storing. "pin that" -> totalreclaw_pin. Migrating -> totalreclaw_import_from (dry_run first). "file that under X" / "that's a work thing" -> totalreclaw_set_scope. End of a substantive conversation -> totalreclaw_debrief. Guide: totalreclaw://guide.`;
|
|
35
35
|
// Keep backward-compat export name (some callers may still reference it)
|
|
36
36
|
exports.SYSTEM_PROMPT_FRAGMENT = exports.SERVER_INSTRUCTIONS;
|
|
37
37
|
/** URI of the static usage-guide resource (all modes, including unconfigured). */
|
package/dist/prompts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":";AAAA,iFAAiF;AACjF,iFAAiF;AACjF,gFAAgF;AAChF,EAAE;AACF,wEAAwE;AACxE,8EAA8E;AAC9E,0EAA0E;AAC1E,6EAA6E;AAC7E,sEAAsE;AACtE,kEAAkE;AAClE,yEAAyE;AACzE,yCAAyC;;;AA+OzC,8CAwCC;AArRY,QAAA,mBAAmB,GAAG;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":";AAAA,iFAAiF;AACjF,iFAAiF;AACjF,gFAAgF;AAChF,EAAE;AACF,wEAAw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KACF;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EACT,+EAA+E;QACjF,SAAS,EAAE,EAAqE;KACjF;CACF,CAAC;AAEF,SAAgB,iBAAiB,CAC/B,UAAkB,EAClB,IAA6B;IAE7B,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,mBAAmB,CAAC,CAAC,CAAC;YACzB,MAAM,KAAK,GAAG,IAAI,EAAE,KAAK,IAAI,gBAAgB,CAAC;YAC9C,OAAO;gBACL;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE;wBACP,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,4CAA4C,KAAK,gDAAgD;qBACxG;iBACF;aACF,CAAC;QACJ,CAAC;QAED,KAAK,kBAAkB;YACrB,OAAO;gBACL;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE;wBACP,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,uOAAuO;qBAC9O;iBACF;aACF,CAAC;QAEJ,KAAK,0BAA0B;YAC7B,OAAO;gBACL;oBACE,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,2BAAmB,OAAO,oBAAY,EAAE,EAAE;iBAC7E;aACF,CAAC;QAEJ;YACE,MAAM,IAAI,KAAK,CAAC,mBAAmB,UAAU,EAAE,CAAC,CAAC;IACrD,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalreclaw/mcp-server",
|
|
3
|
-
"version": "3.6.0
|
|
4
|
-
"description": "End-to-end encrypted memory for AI agents
|
|
3
|
+
"version": "3.6.0",
|
|
4
|
+
"description": "End-to-end encrypted memory for AI agents \u2014 portable, yours forever. MCP server with XChaCha20-Poly1305 E2EE, semantic search, import/export, and on-chain storage",
|
|
5
5
|
"homepage": "https://totalreclaw.xyz",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|