@mneme-ai/mcp 1.20.0 → 1.21.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/tools/_nucleus.d.ts
CHANGED
|
@@ -15,5 +15,7 @@ import type { MnemeTool } from "./_types.js";
|
|
|
15
15
|
export declare const nucleusTickTool: MnemeTool;
|
|
16
16
|
export declare const nucleusDnaTool: MnemeTool;
|
|
17
17
|
export declare const nucleusMutateTool: MnemeTool;
|
|
18
|
+
export declare const nucleusHeartbeatTool: MnemeTool;
|
|
19
|
+
export declare const nucleusExportTool: MnemeTool;
|
|
18
20
|
export declare const nucleusTools: MnemeTool[];
|
|
19
21
|
//# sourceMappingURL=_nucleus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_nucleus.d.ts","sourceRoot":"","sources":["../../src/tools/_nucleus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,eAAe,EAAE,SA4C7B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAuD5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"_nucleus.d.ts","sourceRoot":"","sources":["../../src/tools/_nucleus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,eAAe,EAAE,SA4C7B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAuD5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,SA+C/B,CAAC;AAGF,eAAO,MAAM,oBAAoB,EAAE,SAoClC,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,SAwD/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,SAAS,EAMnC,CAAC"}
|
package/dist/tools/_nucleus.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* NO non-Mneme AI can match. v1.20 ships the scaffold; v1.21 will add
|
|
12
12
|
* the persistent daemon + auto-tick on every MCP dispatch.
|
|
13
13
|
*/
|
|
14
|
-
import { nucleus } from "@mneme-ai/core";
|
|
14
|
+
import { nucleus, nucleusDaemon } from "@mneme-ai/core";
|
|
15
15
|
export const nucleusTickTool = {
|
|
16
16
|
name: "mneme.nucleus.tick",
|
|
17
17
|
category: "meta",
|
|
@@ -113,12 +113,13 @@ export const nucleusDnaTool = {
|
|
|
113
113
|
export const nucleusMutateTool = {
|
|
114
114
|
name: "mneme.nucleus.mutate",
|
|
115
115
|
category: "meta",
|
|
116
|
-
description: "Apply N mutation cycles
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"pressure
|
|
120
|
-
"WHEN you want to
|
|
121
|
-
|
|
116
|
+
description: "Apply N REAL mutation cycles (v1.21) — each cycle takes the most-recent " +
|
|
117
|
+
"chromosome, applies ±5% karma noise + drops one atom from the lowest-karma " +
|
|
118
|
+
"molecule, persists as a NEW chromosome with parent = original. Selection " +
|
|
119
|
+
"pressure is implicit: fertilize picks ancestors by recency × karma, so " +
|
|
120
|
+
"fitter mutations win inheritance over time. Use WHEN you want to push the " +
|
|
121
|
+
"nucleus toward exploration vs exploitation.",
|
|
122
|
+
whenToUse: "You want to evolve the lineage by introducing structured noise + selection pressure.",
|
|
122
123
|
triggers: ["mutate nucleus", "evolve dna"],
|
|
123
124
|
inputSchema: {
|
|
124
125
|
type: "object",
|
|
@@ -132,20 +133,130 @@ export const nucleusMutateTool = {
|
|
|
132
133
|
mutations: { type: "number" },
|
|
133
134
|
tick: { type: "number" },
|
|
134
135
|
dnaHash: { type: "string" },
|
|
136
|
+
mutatedChromosomeIds: { type: "array", items: { type: "string" } },
|
|
135
137
|
},
|
|
136
138
|
},
|
|
137
139
|
examples: [{ userQuery: "Mutate the nucleus once" }],
|
|
138
|
-
pitfalls: [
|
|
140
|
+
pitfalls: [
|
|
141
|
+
"v1.21 ships REAL evolution. Each mutation creates a new chromosome on disk — don't run hundreds in a tight loop.",
|
|
142
|
+
"Returns null mutatedChromosomeIds when lineage is empty (nothing to mutate from).",
|
|
143
|
+
],
|
|
139
144
|
composeWith: ["mneme.nucleus.tick", "mneme.nucleus.dna"],
|
|
140
145
|
handler: async (rt, args) => {
|
|
141
146
|
const cycles = Math.max(1, Math.min(100, typeof args["cycles"] === "number" ? args["cycles"] : 1));
|
|
147
|
+
const mutatedIds = [];
|
|
148
|
+
for (let i = 0; i < cycles; i++) {
|
|
149
|
+
const id = await nucleus.evolveOnce(rt.meta.rootPath);
|
|
150
|
+
if (id)
|
|
151
|
+
mutatedIds.push(id);
|
|
152
|
+
}
|
|
142
153
|
const n = nucleus.mutate(rt.meta.rootPath, cycles);
|
|
143
154
|
return {
|
|
144
|
-
data: { mutations: n.mutations, tick: n.tick, dnaHash: n.dnaHash },
|
|
145
|
-
wisdom: `Applied ${cycles} mutation cycle${cycles === 1 ? "" : "s"} —
|
|
155
|
+
data: { mutations: n.mutations, tick: n.tick, dnaHash: n.dnaHash, mutatedChromosomeIds: mutatedIds },
|
|
156
|
+
wisdom: `Applied ${cycles} mutation cycle${cycles === 1 ? "" : "s"} — ${mutatedIds.length} new mutated chromosome${mutatedIds.length === 1 ? "" : "s"} born · DNA ${n.dnaHash}. Selection pressure will pick fitter ones over time.`,
|
|
157
|
+
confidence: { level: "high" },
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
};
|
|
161
|
+
// ─── nucleus.heartbeat — daemon liveness check ───────────────────────
|
|
162
|
+
export const nucleusHeartbeatTool = {
|
|
163
|
+
name: "mneme.nucleus.heartbeat",
|
|
164
|
+
category: "meta",
|
|
165
|
+
description: "Check if the persistent nucleus daemon is alive (runs in background " +
|
|
166
|
+
"via `mneme nucleus daemon start`). Returns pid + uptime + tick count + " +
|
|
167
|
+
"last DNA banner + healthy flag. Use WHEN you want to verify the infinity " +
|
|
168
|
+
"loop is actually running outside of MCP sessions.",
|
|
169
|
+
whenToUse: "You want to verify the nucleus daemon is alive between MCP sessions.",
|
|
170
|
+
triggers: ["nucleus heartbeat", "daemon status"],
|
|
171
|
+
inputSchema: { type: "object", properties: {} },
|
|
172
|
+
outputSchema: {
|
|
173
|
+
type: "object",
|
|
174
|
+
properties: {
|
|
175
|
+
running: { type: "boolean" },
|
|
176
|
+
pid: { type: ["number", "null"] },
|
|
177
|
+
heartbeat: { type: ["object", "null"] },
|
|
178
|
+
lastTickSecondsAgo: { type: ["number", "null"] },
|
|
179
|
+
healthy: { type: "boolean" },
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
examples: [{ userQuery: "Is the nucleus daemon alive?" }],
|
|
183
|
+
pitfalls: [
|
|
184
|
+
"Returns running=false + healthy=false when no daemon was ever started (run `mneme nucleus daemon start` from a terminal).",
|
|
185
|
+
],
|
|
186
|
+
composeWith: ["mneme.nucleus.tick", "mneme.nucleus.dna"],
|
|
187
|
+
handler: async (rt) => {
|
|
188
|
+
const status = nucleusDaemon.daemonStatus(rt.meta.rootPath);
|
|
189
|
+
return {
|
|
190
|
+
data: status,
|
|
191
|
+
wisdom: status.running
|
|
192
|
+
? `✓ Nucleus daemon alive (pid ${status.pid}) · ${status.heartbeat?.tickCount ?? 0} ticks · ${status.heartbeat?.mutationsApplied ?? 0} mutations applied · last tick ${status.lastTickSecondsAgo ?? "?"}s ago`
|
|
193
|
+
: `✗ No nucleus daemon running. Start with \`mneme nucleus daemon start\` to keep the infinity loop alive between MCP sessions.`,
|
|
194
|
+
confidence: { level: "high" },
|
|
195
|
+
};
|
|
196
|
+
},
|
|
197
|
+
};
|
|
198
|
+
// ─── nucleus.export — anonymized export for v1.22 leaderboard ───────
|
|
199
|
+
export const nucleusExportTool = {
|
|
200
|
+
name: "mneme.nucleus.export",
|
|
201
|
+
category: "meta",
|
|
202
|
+
description: "Export an anonymized snapshot of the nucleus DNA — wisdom score, growth " +
|
|
203
|
+
"metrics, per-vendor stats (vendor name + verified rate, no PII), recent " +
|
|
204
|
+
"lessons, mutation count. Designed for v1.22 public AI-vendor trust " +
|
|
205
|
+
"leaderboard at lineage.mneme.dev. Use WHEN you want to share your " +
|
|
206
|
+
"nucleus state externally without leaking repo content.",
|
|
207
|
+
whenToUse: "You want to export anonymized DNA for a public benchmark or share.",
|
|
208
|
+
triggers: ["export dna", "nucleus snapshot"],
|
|
209
|
+
inputSchema: { type: "object", properties: {} },
|
|
210
|
+
outputSchema: {
|
|
211
|
+
type: "object",
|
|
212
|
+
properties: {
|
|
213
|
+
dnaHash: { type: "string" },
|
|
214
|
+
wisdomScore: { type: "number" },
|
|
215
|
+
tick: { type: "number" },
|
|
216
|
+
growth: { type: "object" },
|
|
217
|
+
vendors: { type: "array", items: { type: "object" } },
|
|
218
|
+
lessons: { type: "array", items: { type: "object" } },
|
|
219
|
+
mutations: { type: "number" },
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
examples: [{ userQuery: "Export my nucleus DNA" }],
|
|
223
|
+
pitfalls: [
|
|
224
|
+
"Output is suitable for sharing — vendor names + counts + scores only, no commit hashes / file paths / emails.",
|
|
225
|
+
"v1.22 will provide a one-line publish command; for now, take the JSON yourself.",
|
|
226
|
+
],
|
|
227
|
+
composeWith: ["mneme.nucleus.dna", "mneme.lineage.pedigree"],
|
|
228
|
+
handler: async (rt) => {
|
|
229
|
+
// Lazy-import lineage to avoid load on every MCP boot.
|
|
230
|
+
const { lineage } = await import("@mneme-ai/core");
|
|
231
|
+
const n = nucleus.readNucleus(rt.meta.rootPath);
|
|
232
|
+
const ped = lineage.buildPedigree(rt.meta.rootPath);
|
|
233
|
+
const data = {
|
|
234
|
+
dnaHash: n.dnaHash,
|
|
235
|
+
wisdomScore: n.wisdomScore,
|
|
236
|
+
tick: n.tick,
|
|
237
|
+
growth: n.growth,
|
|
238
|
+
vendors: ped.vendors.map((v) => ({
|
|
239
|
+
vendor: v.vendor,
|
|
240
|
+
chromosomeCount: v.chromosomeCount,
|
|
241
|
+
totalKarma: v.totalKarma,
|
|
242
|
+
verifiedRate: v.verifiedRate,
|
|
243
|
+
})),
|
|
244
|
+
lessons: n.lessons.slice(-10).map((l) => ({ tick: l.tick, text: l.text })),
|
|
245
|
+
mutations: n.mutations,
|
|
246
|
+
exportedAt: new Date().toISOString(),
|
|
247
|
+
};
|
|
248
|
+
return {
|
|
249
|
+
data,
|
|
250
|
+
wisdom: `Exported anonymized nucleus snapshot — wisdom ${n.wisdomScore} · tick ${n.tick} · ${ped.vendors.length} vendor${ped.vendors.length === 1 ? "" : "s"}.`,
|
|
146
251
|
confidence: { level: "high" },
|
|
147
252
|
};
|
|
148
253
|
},
|
|
149
254
|
};
|
|
150
|
-
export const nucleusTools = [
|
|
255
|
+
export const nucleusTools = [
|
|
256
|
+
nucleusTickTool,
|
|
257
|
+
nucleusDnaTool,
|
|
258
|
+
nucleusMutateTool,
|
|
259
|
+
nucleusHeartbeatTool,
|
|
260
|
+
nucleusExportTool,
|
|
261
|
+
];
|
|
151
262
|
//# sourceMappingURL=_nucleus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_nucleus.js","sourceRoot":"","sources":["../../src/tools/_nucleus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"_nucleus.js","sourceRoot":"","sources":["../../src/tools/_nucleus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGxD,MAAM,CAAC,MAAM,eAAe,GAAc;IACxC,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,MAAM;IAChB,WAAW,EACT,wEAAwE;QACxE,qEAAqE;QACrE,qEAAqE;QACrE,oEAAoE;QACpE,sEAAsE;QACtE,uEAAuE;QACvE,+D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AAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;YAC1E,SAAS,EAAE,CAAC,CAAC,SAAS;YACtB,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACrC,CAAC;QACF,OAAO;YACL,IAAI;YACJ,MAAM,EAAE,iDAAiD,CAAC,CAAC,WAAW,WAAW,CAAC,CAAC,IAAI,MAAM,GAAG,CAAC,OAAO,CAAC,MAAM,UAAU,GAAG,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG;YAC/J,UAAU,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;SAC9B,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAgB;IACvC,eAAe;IACf,cAAc;IACd,iBAAiB;IACjB,oBAAoB;IACpB,iBAAiB;CAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mneme-ai/mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "MCP server that exposes Mneme to Claude Code, Cursor, Continue, and other AI clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"node": ">=22.13.0 <25.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@mneme-ai/core": "1.
|
|
41
|
-
"@mneme-ai/embeddings": "1.
|
|
40
|
+
"@mneme-ai/core": "1.21.0",
|
|
41
|
+
"@mneme-ai/embeddings": "1.21.0",
|
|
42
42
|
"@modelcontextprotocol/sdk": "^1.0.4"
|
|
43
43
|
}
|
|
44
44
|
}
|