@mnemoverse/mcp-memory-server 0.12.0 → 0.13.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/README.md +12 -5
- package/dist/errors.js +134 -8
- package/dist/errors.js.map +1 -1
- package/dist/limits.d.ts +17 -0
- package/dist/limits.js +17 -0
- package/dist/limits.js.map +1 -1
- package/dist/requests.d.ts +22 -0
- package/dist/requests.js +23 -0
- package/dist/requests.js.map +1 -1
- package/dist/teaching.d.ts +15 -1
- package/dist/teaching.js +15 -1
- package/dist/teaching.js.map +1 -1
- package/dist/tools.d.ts +2 -2
- package/dist/tools.js +360 -89
- package/dist/tools.js.map +1 -1
- package/package.json +7 -3
- package/tools.json +140 -0
package/README.md
CHANGED
|
@@ -292,6 +292,7 @@ If it doesn't remember: check that the client was fully restarted and the config
|
|
|
292
292
|
| `memory_invite_to_room` | Mint an invite (code + link) for a room you own; single-use unless `max_uses` allows more |
|
|
293
293
|
| `memory_join_room` | Join a shared room with an invite code (`mnvr_...`) |
|
|
294
294
|
| `memory_list_rooms` | List rooms you own or joined, with each room's address to use as `domain` |
|
|
295
|
+
| `memory_graph` | Read the association edges around given concepts — weight, outcome valence, co-activation count |
|
|
295
296
|
| `vault_list` | List Vault secrets by alias and purpose — the secret value is never returned |
|
|
296
297
|
|
|
297
298
|
### Prompts
|
|
@@ -346,9 +347,9 @@ saw and diff it against what the server serves today, by version.
|
|
|
346
347
|
tool (or parameter) stays, its description says
|
|
347
348
|
`deprecated since x.y, removed in x.z`, and the change lands only in the
|
|
348
349
|
announced version, with its CHANGELOG line. A renamed parameter is accepted
|
|
349
|
-
under both names until then (0.11
|
|
350
|
-
`memory_ids`;
|
|
351
|
-
|
|
350
|
+
under both names until then (0.11 renamed `memory_feedback`'s `atom_ids` to
|
|
351
|
+
`memory_ids`; the old name was removed in 0.13, as announced after 0.12
|
|
352
|
+
shipped sooner than the first announcement assumed). A rename is announced by naming
|
|
352
353
|
both the old and the new name; the version pair alone does not say what a
|
|
353
354
|
client should look for. Because a MINOR may add a field but not remove one, a
|
|
354
355
|
renamed annotation field is declared under both names until the announced
|
|
@@ -360,8 +361,13 @@ saw and diff it against what the server serves today, by version.
|
|
|
360
361
|
changes those three description strings and nothing else; tool names,
|
|
361
362
|
input and output schemas and annotations never vary by configuration.
|
|
362
363
|
|
|
363
|
-
The list above is the
|
|
364
|
-
The hosted connector at `mcp.mnemoverse.com/mcp` serves the same
|
|
364
|
+
The list above is the current surface: eleven tools, each declaring all four hints.
|
|
365
|
+
The hosted connector at `mcp.mnemoverse.com/mcp` serves the same surface, registered
|
|
366
|
+
from this package at the version it pins. The list itself is published as
|
|
367
|
+
[`tools.json`](./tools.json), generated from the built server (name, title,
|
|
368
|
+
description and annotations per tool); the test suite and the release workflow
|
|
369
|
+
fail when it does not list what the server registers, and the `.mcpb` manifest's
|
|
370
|
+
tool list is derived from it.
|
|
365
371
|
|
|
366
372
|
**If the hosted connector stops answering in a session.** A client can keep showing the connector as connected while every call in that session fails with "not connected". Reconnecting it on claude.ai does not revive a session that is already stuck; reconnect from inside the session instead (in Claude Code, `/mcp`, then sign in again). Meanwhile this local server, set up with an API key from the same account as in the Quick Start, reaches the same memory and does not depend on that session's sign-in.
|
|
367
373
|
|
|
@@ -465,6 +471,7 @@ What each tool sends:
|
|
|
465
471
|
| `memory_create_room` | the room `name` and `description` |
|
|
466
472
|
| `memory_invite_to_room` | the `room_id`, invite `scope`, and expiry |
|
|
467
473
|
| `memory_join_room` | the invite `code` |
|
|
474
|
+
| `memory_graph` | the `seeds`, plus any of `depth`, `domain`, `min_weight`, `limit` you pass |
|
|
468
475
|
| `memory_stats` / `memory_list_rooms` / `vault_list` | no request body — authenticated GETs |
|
|
469
476
|
|
|
470
477
|
One thing goes out that you did not explicitly request: since 0.8.1, when a search or feed comes back empty, the server sends one or two authenticated read-only GET probes (`/memory/rooms` and/or `/memory/stats`) so the empty answer can say what it did not cover. The probes carry your API key and nothing else, change no stored state, and are disclosed in the [CHANGELOG](CHANGELOG.md).
|
package/dist/errors.js
CHANGED
|
@@ -397,6 +397,121 @@ function explain403(env, wording) {
|
|
|
397
397
|
const holder = oauth ? "This account" : "This key";
|
|
398
398
|
const holderLc = oauth ? "this account" : "this key";
|
|
399
399
|
const m = env.message;
|
|
400
|
+
// A SCOPE refusal: the credential identified the account and lacks a
|
|
401
|
+
// permission the call needs (a write with a read-only token). Two producers
|
|
402
|
+
// today, both name the scope: core's middleware ("Token lacks memory:write
|
|
403
|
+
// scope") and the hosted connector's own gate ("the token lacks the
|
|
404
|
+
// memory:write scope"). It is not about a room, so it must not fall
|
|
405
|
+
// through to the generic sentence that guesses "most often the room it
|
|
406
|
+
// addressed" (the connector's refusal did exactly that, step 4 review).
|
|
407
|
+
// The check is keyed on that vocabulary (a scope NAME, or one of the lack
|
|
408
|
+
// verbs lacks, lacking, missing, without, requires, required, needs
|
|
409
|
+
// followed by the word "scope" in the same sentence), not on the bare word
|
|
410
|
+
// "scope" ("outside the scope of this plan and needs a review" is not a
|
|
411
|
+
// scope refusal), and it is tried AFTER the room causes: room
|
|
412
|
+
// membership is itself called a scope elsewhere on this surface, so a room
|
|
413
|
+
// refusal that happens to say "scope" keeps its room diagnosis (Sigma on
|
|
414
|
+
// #175).
|
|
415
|
+
const LACK_THEN_SCOPE = /\b(?:lacks?|lacking|missing|without|requires?|required|needs?)\b[^.;]*\bscope\b/i;
|
|
416
|
+
const scopeRefusal = has(m, "scope") && (has(m, "memory:") || LACK_THEN_SCOPE.test(m ?? ""));
|
|
417
|
+
// Core's other scope sentence, "Route has no scope policy; denied by
|
|
418
|
+
// default", is NOT about the credential: the route itself has no policy
|
|
419
|
+
// registered, and the middleware denies it by default. No re-authorization
|
|
420
|
+
// and no other credential changes that, so it gets its own diagnosis
|
|
421
|
+
// (CodeRabbit and Copilot on #175). Keyed on core's exact clause ("no
|
|
422
|
+
// scope policy"), so a message that names a lacking scope and merely
|
|
423
|
+
// mentions a scope policy stays a scope refusal; core's sentence itself
|
|
424
|
+
// names no scope and does not say "lacks", so it never matches
|
|
425
|
+
// `scopeRefusal` either.
|
|
426
|
+
const routePolicy = has(m, "no scope policy");
|
|
427
|
+
// Under oauth the remedy is real: the connector's consent flow grants
|
|
428
|
+
// scopes. Under api-key it is credential-neutral: an API key carries no
|
|
429
|
+
// scope selection this package knows of (the scope rules are OIDC-only, and
|
|
430
|
+
// no producer sends a scope refusal to an API-key caller today), so the
|
|
431
|
+
// reply names no fix a key swap cannot deliver; the user is told which
|
|
432
|
+
// scope was refused and grants it on their side (Copilot and the internal
|
|
433
|
+
// refuter on #175).
|
|
434
|
+
// The scope NAMES come from the engine's message itself, matched as
|
|
435
|
+
// `memory:<word>` and nothing else, so the api-key advice can name what to
|
|
436
|
+
// grant even when `rawDetail: false` withholds the message (Copilot on
|
|
437
|
+
// #175). Only the clause that states the lack is read: from "lacks",
|
|
438
|
+
// "missing", "without", "requires" or "needs" up to the end of the
|
|
439
|
+
// sentence, a comma, a dash (en, em, or a spaced hyphen), an opening
|
|
440
|
+
// parenthesis, a conjunction (but, while, whereas, although, though, yet,
|
|
441
|
+
// however, except), or a word that introduces what IS held ("granted",
|
|
442
|
+
// "has", "holds", "carries"), so a scope the message lists as held in any
|
|
443
|
+
// of those positions is not presented as refused (CodeRabbit on #175).
|
|
444
|
+
// The trade-off is deliberate: a comma-separated list of LACKING scopes is
|
|
445
|
+
// cut to its first item, and a held scope after a colon or after a
|
|
446
|
+
// connective not in that list ("with memory:read retained") would still
|
|
447
|
+
// be named; no producer writes either today (core names exactly one
|
|
448
|
+
// scope). A message that names scopes with the name
|
|
449
|
+
// BEFORE the verb ("memory:write scope is required") keeps them all,
|
|
450
|
+
// unless it also speaks of held scopes; a refusal that names none gets
|
|
451
|
+
// the generic sentence.
|
|
452
|
+
const text = m ?? "";
|
|
453
|
+
const scopesIn = (t) => [...new Set((t.match(/\bmemory:[a-z_]+/gi) ?? []).map((x) => x.toLowerCase()))];
|
|
454
|
+
const lackClause = text.match(/\b(?:lacks?|lacking|missing|without|requires?|required|needs?)\b((?:(?!\b(?:granted|held|has|holds|carries|but|while|whereas|although|though|yet|however|except)\b|\s-\s)[^.;(,\u2013\u2014])*)/i)?.[1] ?? "";
|
|
455
|
+
const speaksOfHeld = /\b(?:granted|held|has|holds|carries)\b/i.test(text);
|
|
456
|
+
// Names the message says are HELD are never refused, wherever they sit: a
|
|
457
|
+
// name followed by "is/are (already) held|granted|available|present", or
|
|
458
|
+
// any name after a held-word up to the end of that fragment (Sigma on
|
|
459
|
+
// #175: "lacks memory:write scope but memory:read is already held").
|
|
460
|
+
const heldNames = new Set([
|
|
461
|
+
// The window between the name and "is held" may not contain another
|
|
462
|
+
// scope name, or "memory:write scope but memory:read is held" would
|
|
463
|
+
// count memory:write as held.
|
|
464
|
+
...[...text.matchAll(/\b(memory:[a-z_]+)\b(?:(?!memory:)[^.;,]){0,40}?\b(?:is|are)\s+(?:already\s+|still\s+)?(?:held|granted|available|present)\b/gi)].map((x) => x[1].toLowerCase()),
|
|
465
|
+
// The held fragment ends where a lack verb or a conjunction starts, so
|
|
466
|
+
// "has memory:read scope but lacks memory:write scope" holds only read.
|
|
467
|
+
...[
|
|
468
|
+
...text.matchAll(/\b(?:granted|held|has|holds|carries)\b((?:(?!\b(?:lacks?|lacking|missing|without|requires?|required|needs?|but|while|whereas|although|though|yet|however|except)\b)[^.;])*)/gi),
|
|
469
|
+
// A name the lack clause itself refuses is not held by this fragment
|
|
470
|
+
// ("has memory:write scope for room A but lacks memory:write scope
|
|
471
|
+
// for room B" refuses memory:write).
|
|
472
|
+
].flatMap((x) => scopesIn(x[1])).filter((x) => !scopesIn(lackClause).includes(x)),
|
|
473
|
+
]);
|
|
474
|
+
const candidates = scopesIn(lackClause).length > 0 || speaksOfHeld ? scopesIn(lackClause) : scopesIn(text);
|
|
475
|
+
const named = candidates.filter((x) => !heldNames.has(x));
|
|
476
|
+
// Reads are said to be unaffected only when the REFUSED scope is the write
|
|
477
|
+
// scope and the read scope is not among the refused (Copilot and Sigma on
|
|
478
|
+
// #175; the flag reads the refused names, not the whole message, so
|
|
479
|
+
// "lacks memory:admin scope; has memory:write scope" does not count as a
|
|
480
|
+
// write refusal); a refusal that names no scope falls back to the words
|
|
481
|
+
// "write scope"/"read scope". "Unaffected by this refusal" is all the
|
|
482
|
+
// refusal supports: whether reads work depends on the read scope, which it
|
|
483
|
+
// says nothing about.
|
|
484
|
+
// And never when the message states the read scope lacking anywhere, even
|
|
485
|
+
// past the cut of the lack clause ("lacks memory:write scope, memory:read
|
|
486
|
+
// scope"): a read name that is not held, or the words "read scope".
|
|
487
|
+
const readStatedLacking = (scopesIn(text).includes("memory:read") && !heldNames.has("memory:read")) || has(m, "read scope");
|
|
488
|
+
const writeScope = named.length > 0
|
|
489
|
+
? named.includes("memory:write") && !named.includes("memory:read") && !readStatedLacking
|
|
490
|
+
: has(m, "write scope") && !has(m, "read scope");
|
|
491
|
+
const list = named.length <= 2 ? named.join(" and ") : `${named.slice(0, -1).join(", ")} and ${named[named.length - 1]}`;
|
|
492
|
+
const refused = named.length === 0
|
|
493
|
+
? "this call was refused for a missing scope so they can grant it on their side"
|
|
494
|
+
: named.length === 1
|
|
495
|
+
? `the ${named[0]} scope was refused so they can grant it on their side`
|
|
496
|
+
: `the ${list} scopes were refused so they can grant them on their side`;
|
|
497
|
+
const remedy = oauth
|
|
498
|
+
? `tell the user to re-authorize this connector with ${writeScope ? "write access" : "the access it needs"}`
|
|
499
|
+
: `tell the user ${refused}`;
|
|
500
|
+
// The remedy either follows the reads clause mid-sentence or opens its own
|
|
501
|
+
// sentence, capitalised.
|
|
502
|
+
const advice = writeScope ? `Reads are not affected by this refusal, since they need only the read scope; ${remedy}.` : `${remedy[0].toUpperCase()}${remedy.slice(1)}.`;
|
|
503
|
+
// The opening clause of the reply (below) already says what is missing, so
|
|
504
|
+
// the cause carries the pointer to the engine's words, the advice, and the
|
|
505
|
+
// one prohibition. The pointer exists only when the raw-detail paragraph
|
|
506
|
+
// will be there: under `rawDetail: false` the consumer withholds the body,
|
|
507
|
+
// and a pointer to withheld content is a lie (Copilot on #175).
|
|
508
|
+
const pointer = wording.rawDetail ? "The engine's own words are in the detail below. " : "";
|
|
509
|
+
const scopeCause = `${pointer}${advice} ` + "Do not work around it by trying another tool.";
|
|
510
|
+
const routePolicyCause = "The engine denies this route by default because no scope policy is " +
|
|
511
|
+
"registered for it: a gap in the server's own configuration, not anything " +
|
|
512
|
+
`about ${holderLc}, so no re-authorization and no other credential changes ` +
|
|
513
|
+
"it. Tell the user exactly what was refused so it can be reported, and do " +
|
|
514
|
+
"not work around it by trying another tool.";
|
|
400
515
|
const cause = has(m, "archiv")
|
|
401
516
|
? "The room you addressed is archived. An archived room refuses every read " +
|
|
402
517
|
"and every write, for its owner as much as for a member, and this client " +
|
|
@@ -405,7 +520,7 @@ function explain403(env, wording) {
|
|
|
405
520
|
? `${holder} is not an active member of the room you addressed. Ask the ` +
|
|
406
521
|
"room's owner for an invite; memory_list_rooms shows the rooms it can " +
|
|
407
522
|
"already reach."
|
|
408
|
-
: has(m, "read-only")
|
|
523
|
+
: has(m, "read-only") && (has(m, "membership") || has(m, "room"))
|
|
409
524
|
? `${holder}'s membership in that room is read-only — it can read the ` +
|
|
410
525
|
"room but not write to it. Ask the room's owner for write access."
|
|
411
526
|
: has(m, "invalid room address")
|
|
@@ -415,14 +530,25 @@ function explain403(env, wording) {
|
|
|
415
530
|
: has(m, "own this room")
|
|
416
531
|
? "That room belongs to another account, and only its owner can do " +
|
|
417
532
|
`this. memory_list_rooms shows which rooms ${holderLc} owns.`
|
|
418
|
-
:
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
533
|
+
: routePolicy
|
|
534
|
+
? routePolicyCause
|
|
535
|
+
: scopeRefusal
|
|
536
|
+
? scopeCause
|
|
537
|
+
: `Something about this request is not permitted for ${holderLc} — ` +
|
|
538
|
+
"most often the room it addressed. Check memory_list_rooms, and " +
|
|
539
|
+
"if nothing there explains it, tell the user exactly what was " +
|
|
540
|
+
"refused instead of guessing.";
|
|
422
541
|
const subject = oauth ? "Your sign-in" : "The API key";
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
542
|
+
// The innocent clause ("NOT the problem") would contradict the scope cause
|
|
543
|
+
// that follows it: for that one refusal the credential did identify the
|
|
544
|
+
// account, and the decision was about a scope it does not carry, so the
|
|
545
|
+
// clause says exactly that (CodeRabbit on #175). Every other 403, the room
|
|
546
|
+
// causes and the route-policy denial included, keeps the clause byte for
|
|
547
|
+
// byte.
|
|
548
|
+
const opening = cause === scopeCause
|
|
549
|
+
? `${subject} identified the account fine, but it does not carry a scope this call needs. `
|
|
550
|
+
: `${subject} is NOT the problem — it identified the account fine, and this was a permission decision. `;
|
|
551
|
+
return `Mnemoverse: this request was refused (403). ${opening}${cause} Do not retry the same call: it will be refused again.`;
|
|
426
552
|
}
|
|
427
553
|
/**
|
|
428
554
|
* Did this response say ANYTHING an engine would have said?
|
package/dist/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AAEH;;;yDAGyD;AACzD,MAAM,cAAc,GAAG,GAAG,CAAC;AAE3B;;;;;;0BAM0B;AAC1B,MAAM,CAAC,MAAM,QAAQ,GAAG,+CAA+C,CAAC;AAExE;8EAC8E;AAC9E,MAAM,SAAS,GAAG,gDAAgD,CAAC;AAEnE;;;6CAG6C;AAC7C,MAAM,eAAe,GAAG,oCAAoC,CAAC;AA6C7D;;;;sEAIsE;AACtE,SAAS,cAAc,CAAC,CAAsB;IAC5C,OAAO;QACL,UAAU,EAAE,CAAC,EAAE,UAAU,KAAK,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,aAAa;QACjF,IAAI,EAAE,CAAC,E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,QAAQ,CAAC,CAAC;IACjE,CAAC;CACF;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,aAAa,CAAC,CAAU,EAAE,OAA4B;IACpE,IAAI,CAAC,YAAY,QAAQ,IAAI,CAAC,YAAY,YAAY,IAAI,CAAC,YAAY,mBAAmB,EAAE,CAAC;QAC3F,OAAO,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC"}
|
package/dist/limits.d.ts
CHANGED
|
@@ -60,6 +60,23 @@ export declare const CORE_LIMITS: {
|
|
|
60
60
|
readonly maximum: 1000;
|
|
61
61
|
readonly default: 1;
|
|
62
62
|
};
|
|
63
|
+
readonly graphSeeds: {
|
|
64
|
+
readonly minItems: 1;
|
|
65
|
+
readonly maxItems: 20;
|
|
66
|
+
};
|
|
67
|
+
readonly graphDepth: {
|
|
68
|
+
readonly minimum: 1;
|
|
69
|
+
readonly maximum: 3;
|
|
70
|
+
readonly default: 1;
|
|
71
|
+
};
|
|
72
|
+
readonly graphMinWeight: {
|
|
73
|
+
readonly minimum: 0;
|
|
74
|
+
};
|
|
75
|
+
readonly graphLimit: {
|
|
76
|
+
readonly minimum: 1;
|
|
77
|
+
readonly maximum: 500;
|
|
78
|
+
readonly default: 100;
|
|
79
|
+
};
|
|
63
80
|
};
|
|
64
81
|
/** The contract this file was generated from, for the freshness check. */
|
|
65
82
|
export declare const CORE_CONTRACT: {
|
package/dist/limits.js
CHANGED
|
@@ -60,6 +60,23 @@ export const CORE_LIMITS = {
|
|
|
60
60
|
maximum: 1000,
|
|
61
61
|
default: 1,
|
|
62
62
|
},
|
|
63
|
+
graphSeeds: {
|
|
64
|
+
minItems: 1,
|
|
65
|
+
maxItems: 20,
|
|
66
|
+
},
|
|
67
|
+
graphDepth: {
|
|
68
|
+
minimum: 1,
|
|
69
|
+
maximum: 3,
|
|
70
|
+
default: 1,
|
|
71
|
+
},
|
|
72
|
+
graphMinWeight: {
|
|
73
|
+
minimum: 0,
|
|
74
|
+
},
|
|
75
|
+
graphLimit: {
|
|
76
|
+
minimum: 1,
|
|
77
|
+
maximum: 500,
|
|
78
|
+
default: 100,
|
|
79
|
+
},
|
|
63
80
|
};
|
|
64
81
|
/** The contract this file was generated from, for the freshness check. */
|
|
65
82
|
export const CORE_CONTRACT = {
|
package/dist/limits.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limits.js","sourceRoot":"","sources":["../src/limits.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,YAAY,EAAE;QACZ,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,KAAK;KACjB;IACD,aAAa,EAAE;QACb,QAAQ,EAAE,GAAG;KACd;IACD,MAAM,EAAE;QACN,SAAS,EAAE,GAAG;KACf;IACD,SAAS,EAAE;QACT,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,IAAI;KAChB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,GAAG;QACZ,OAAO,EAAE,EAAE;KACZ;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,GAAG;QACZ,OAAO,EAAE,EAAE;KACZ;IACD,YAAY,EAAE;QACZ,SAAS,EAAE,GAAG;KACf;IACD,eAAe,EAAE;QACf,OAAO,EAAE,CAAC,CAAC;QACX,OAAO,EAAE,CAAC;KACX;IACD,QAAQ,EAAE;QACR,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,GAAG;KACf;IACD,eAAe,EAAE;QACf,SAAS,EAAE,IAAI;KAChB;IACD,mBAAmB,EAAE;QACnB,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,CAAC;KACX;IACD,aAAa,EAAE;QACb,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,CAAC;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AC;QACV,OAAO,EAAE,CAAC;KACX;IACD,cAAc,EAAE;QACd,OAAO,EAAE,CAAC;KACX;IACD,UAAU,EAAE;QACV,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,GAAG;QACZ,OAAO,EAAE,GAAG;KACb;CACO,CAAC;AAEX,0EAA0E;AAC1E,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,0CAA0C;IAC/C,UAAU,EAAE,OAAO;CACX,CAAC"}
|
package/dist/requests.d.ts
CHANGED
|
@@ -52,6 +52,13 @@ export interface WriteArgs {
|
|
|
52
52
|
concepts?: string[];
|
|
53
53
|
domain?: string;
|
|
54
54
|
}
|
|
55
|
+
export interface GraphArgs {
|
|
56
|
+
seeds: string[];
|
|
57
|
+
depth?: number;
|
|
58
|
+
domain?: string;
|
|
59
|
+
min_weight?: number;
|
|
60
|
+
limit?: number;
|
|
61
|
+
}
|
|
55
62
|
/**
|
|
56
63
|
* Supplier-vouched authorship for a write (STEP4-5, owner 2026-09-24),
|
|
57
64
|
* mirroring core's `ProvenanceWriteSchema` field for field
|
|
@@ -89,6 +96,21 @@ export declare function searchedScope(domain?: string): string | undefined;
|
|
|
89
96
|
export declare function readRequestBody(a: ReadArgs): Record<string, unknown>;
|
|
90
97
|
/** memory_list_recent. */
|
|
91
98
|
export declare function recentRequestBody(a: RecentArgs): Record<string, unknown>;
|
|
99
|
+
/**
|
|
100
|
+
* memory_graph. `depth` and `limit` are sent with an explicit default (1 and
|
|
101
|
+
* 100), the same convention `readRequestBody` uses for `top_k` — this
|
|
102
|
+
* server's own default rather than a field left out for the engine's to
|
|
103
|
+
* apply, so it stays stated here even though, unlike `top_k`, both currently
|
|
104
|
+
* match the engine's own (GraphRequestSchema `depth.default`/`limit.default`).
|
|
105
|
+
*
|
|
106
|
+
* `min_weight` is `??`, never `||`: `0.0` is a meaningful, contract-honoured
|
|
107
|
+
* value (an explicit floor of zero, honoured at every hop with no server
|
|
108
|
+
* override — GraphRequestSchema), not a falsy placeholder for "unset". It is
|
|
109
|
+
* omitted from the body entirely when the caller passed none, so core applies
|
|
110
|
+
* its OWN default (no floor at depth 1; its own 0.05 floor from depth 2) —
|
|
111
|
+
* this package does not invent one.
|
|
112
|
+
*/
|
|
113
|
+
export declare function graphRequestBody(a: GraphArgs): Record<string, unknown>;
|
|
92
114
|
/**
|
|
93
115
|
* memory_write. `"general"` is the server-side default made explicit, and is
|
|
94
116
|
* what 0.8.0 sent — NOT a normalisation of the caller's value.
|
package/dist/requests.js
CHANGED
|
@@ -71,6 +71,29 @@ export function recentRequestBody(a) {
|
|
|
71
71
|
cursor: a.cursor || undefined,
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* memory_graph. `depth` and `limit` are sent with an explicit default (1 and
|
|
76
|
+
* 100), the same convention `readRequestBody` uses for `top_k` — this
|
|
77
|
+
* server's own default rather than a field left out for the engine's to
|
|
78
|
+
* apply, so it stays stated here even though, unlike `top_k`, both currently
|
|
79
|
+
* match the engine's own (GraphRequestSchema `depth.default`/`limit.default`).
|
|
80
|
+
*
|
|
81
|
+
* `min_weight` is `??`, never `||`: `0.0` is a meaningful, contract-honoured
|
|
82
|
+
* value (an explicit floor of zero, honoured at every hop with no server
|
|
83
|
+
* override — GraphRequestSchema), not a falsy placeholder for "unset". It is
|
|
84
|
+
* omitted from the body entirely when the caller passed none, so core applies
|
|
85
|
+
* its OWN default (no floor at depth 1; its own 0.05 floor from depth 2) —
|
|
86
|
+
* this package does not invent one.
|
|
87
|
+
*/
|
|
88
|
+
export function graphRequestBody(a) {
|
|
89
|
+
return {
|
|
90
|
+
seeds: a.seeds,
|
|
91
|
+
depth: a.depth ?? 1,
|
|
92
|
+
domain: searchedScope(a.domain),
|
|
93
|
+
...(a.min_weight === undefined ? {} : { min_weight: a.min_weight }),
|
|
94
|
+
limit: a.limit ?? 100,
|
|
95
|
+
};
|
|
96
|
+
}
|
|
74
97
|
/**
|
|
75
98
|
* memory_write. `"general"` is the server-side default made explicit, and is
|
|
76
99
|
* what 0.8.0 sent — NOT a normalisation of the caller's value.
|
package/dist/requests.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requests.js","sourceRoot":"","sources":["../src/requests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,4EAA4E;AAC5E,4EAA4E;AAC5E,6EAA6E;AAC7E,wDAAwD;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"requests.js","sourceRoot":"","sources":["../src/requests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,4EAA4E;AAC5E,4EAA4E;AAC5E,6EAA6E;AAC7E,wDAAwD;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA2DvC;;;;;;;GAOG;AACH,MAAM,UAAU,aAAa,CAAC,MAAe;IAC3C,OAAO,MAAM,IAAI,SAAS,CAAC;AAC7B,CAAC;AAED;mEACmE;AACnE,MAAM,UAAU,eAAe,CAAC,CAAW;IACzC,OAAO;QACL,KAAK,EAAE,CAAC,CAAC,KAAK;QACd,KAAK,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC;QACnB,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC/B,oBAAoB,EAAE,IAAI;QAC1B,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/C,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACtC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CA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QAC7B,GAAG,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC;KAC5C,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,UAAU,oBAAoB,CAClC,GAAW;IAEX,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACjE,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC7D,IAAI,CAAC,qBAAqB,IAAI,CAAC,qBAAqB;QAAE,OAAO,SAAS,CAAC;IACvE,OAAO;QACL,QAAQ,EACN,mEAAmE;YACnE,kEAAkE;YAClE,sEAAsE;YACtE,mEAAmE;YACnE,yCAAyC,QAAQ,kBAAkB;YACnE,qEAAqE;YACrE,mEAAmE;YACnE,gCAAgC;QAClC,UAAU,EACR,+DAA+D;YAC/D,yDAAyD;YACzD,gDAAgD,QAAQ,cAAc;YACtE,kEAAkE;YAClE,mDAAmD;KACtD,CAAC;AACJ,CAAC"}
|
package/dist/teaching.d.ts
CHANGED
|
@@ -22,8 +22,22 @@ import type { ReadScope } from "./scope.js";
|
|
|
22
22
|
* - No delete tool on this surface (2026-08-20): deletion was withdrawn to an
|
|
23
23
|
* administrative REST-only operation, so the instructions point a model at
|
|
24
24
|
* writing a corrected memory instead of asking to delete one.
|
|
25
|
+
*
|
|
26
|
+
* memory_graph (0.13): mentioning the eleventh tool here pushed the string
|
|
27
|
+
* past 800 at 833 chars. Two sentences were shortened to make room, both
|
|
28
|
+
* with margin under the cap left afterward (793 total) rather than trimmed to
|
|
29
|
+
* the wire:
|
|
30
|
+
* - the room sentence dropped its "(memory_list_rooms)" parenthetical —
|
|
31
|
+
* that tool name is not one of the ones this file's own tests require
|
|
32
|
+
* present (`test/descriptions.test.ts` pins
|
|
33
|
+
* "...pass its address as domain" and "unscoped reads never cover rooms"
|
|
34
|
+
* as two independent substrings, not the text between them, so removing
|
|
35
|
+
* only the aside between those two anchors keeps both intact);
|
|
36
|
+
* - "deletion is administrative, not a tool" lost its last three words —
|
|
37
|
+
* the sentence still states the fact ("write a fresh one" and
|
|
38
|
+
* "administrative" both survive, and both are separately asserted).
|
|
25
39
|
*/
|
|
26
|
-
export declare const SERVER_INSTRUCTIONS = "You own this long-term memory. It persists across sessions and every AI tool this user connects. Use it as a habit: memory_read before answering anything that may have come up; memory_write the moment you learn a durable fact, preference or decision \u2014 don't wait to be asked. Shared rooms are SEPARATE stores: to read one, pass its address as domain
|
|
40
|
+
export declare const SERVER_INSTRUCTIONS = "You own this long-term memory. It persists across sessions and every AI tool this user connects. Use it as a habit: memory_read before answering anything that may have come up; memory_write the moment you learn a durable fact, preference or decision \u2014 don't wait to be asked. Shared rooms are SEPARATE stores: to read one, pass its address as domain; unscoped reads never cover rooms. Rate recalls with memory_feedback; memory_stats shows counts; memory_list_recent is newest-first; memory_graph shows links. To correct a wrong memory, write a fresh one \u2014 deletion is administrative. Rooms: memory_create_room, memory_invite_to_room, memory_join_room. vault_list names secrets by alias, never values. Never store passwords, API keys, payment data, MFA codes, government IDs, or health records.";
|
|
27
41
|
/** The pre-existing zero-result message — kept as the fail-open fallback. */
|
|
28
42
|
export declare const NO_MATCH_MESSAGE = "No memories found for this query.";
|
|
29
43
|
/** Hint for an UNSCOPED no-match against a non-empty store: widen the query.
|
package/dist/teaching.js
CHANGED
|
@@ -21,8 +21,22 @@
|
|
|
21
21
|
* - No delete tool on this surface (2026-08-20): deletion was withdrawn to an
|
|
22
22
|
* administrative REST-only operation, so the instructions point a model at
|
|
23
23
|
* writing a corrected memory instead of asking to delete one.
|
|
24
|
+
*
|
|
25
|
+
* memory_graph (0.13): mentioning the eleventh tool here pushed the string
|
|
26
|
+
* past 800 at 833 chars. Two sentences were shortened to make room, both
|
|
27
|
+
* with margin under the cap left afterward (793 total) rather than trimmed to
|
|
28
|
+
* the wire:
|
|
29
|
+
* - the room sentence dropped its "(memory_list_rooms)" parenthetical —
|
|
30
|
+
* that tool name is not one of the ones this file's own tests require
|
|
31
|
+
* present (`test/descriptions.test.ts` pins
|
|
32
|
+
* "...pass its address as domain" and "unscoped reads never cover rooms"
|
|
33
|
+
* as two independent substrings, not the text between them, so removing
|
|
34
|
+
* only the aside between those two anchors keeps both intact);
|
|
35
|
+
* - "deletion is administrative, not a tool" lost its last three words —
|
|
36
|
+
* the sentence still states the fact ("write a fresh one" and
|
|
37
|
+
* "administrative" both survive, and both are separately asserted).
|
|
24
38
|
*/
|
|
25
|
-
export const SERVER_INSTRUCTIONS = "You own this long-term memory. It persists across sessions and every AI tool this user connects. Use it as a habit: memory_read before answering anything that may have come up; memory_write the moment you learn a durable fact, preference or decision — don't wait to be asked. Shared rooms are SEPARATE stores: to read one, pass its address as domain
|
|
39
|
+
export const SERVER_INSTRUCTIONS = "You own this long-term memory. It persists across sessions and every AI tool this user connects. Use it as a habit: memory_read before answering anything that may have come up; memory_write the moment you learn a durable fact, preference or decision — don't wait to be asked. Shared rooms are SEPARATE stores: to read one, pass its address as domain; unscoped reads never cover rooms. Rate recalls with memory_feedback; memory_stats shows counts; memory_list_recent is newest-first; memory_graph shows links. To correct a wrong memory, write a fresh one — deletion is administrative. Rooms: memory_create_room, memory_invite_to_room, memory_join_room. vault_list names secrets by alias, never values. Never store passwords, API keys, payment data, MFA codes, government IDs, or health records.";
|
|
26
40
|
/** The pre-existing zero-result message — kept as the fail-open fallback. */
|
|
27
41
|
export const NO_MATCH_MESSAGE = "No memories found for this query.";
|
|
28
42
|
/** Hint for an UNSCOPED no-match against a non-empty store: widen the query.
|
package/dist/teaching.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teaching.js","sourceRoot":"","sources":["../src/teaching.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH
|
|
1
|
+
{"version":3,"file":"teaching.js","sourceRoot":"","sources":["../src/tea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
|
1
1
|
/**
|
|
2
|
-
* The ten memory tools, as one function any MCP server can register.
|
|
2
|
+
* The eleven tools (ten memory tools and vault_list), as one function any MCP server can register.
|
|
3
3
|
*
|
|
4
4
|
* ADR-025 (mnemoverse-core): this package defines the MCP surface, and every
|
|
5
5
|
* server that exposes Mnemoverse memory over MCP registers the SAME tools from
|
|
@@ -128,7 +128,7 @@ export declare function structured(text: string, data: Record<string, unknown>):
|
|
|
128
128
|
structuredContent: Record<string, unknown>;
|
|
129
129
|
};
|
|
130
130
|
/**
|
|
131
|
-
* Register the
|
|
131
|
+
* Register the eleven tools on `server`. Call once per server instance.
|
|
132
132
|
* `deps.apiFetch` is the only way the tools reach the API.
|
|
133
133
|
*/
|
|
134
134
|
export declare function registerMemoryTools(server: McpServer, deps: MemoryToolDeps): void;
|