@mneme-ai/mcp 2.86.0 โ 2.87.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.
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import type { MnemeTool } from "./_types.js";
|
|
9
9
|
export declare const hephCrossTool: MnemeTool;
|
|
10
10
|
export declare const hephPolyglotTool: MnemeTool;
|
|
11
|
+
export declare const hephPreflightTool: MnemeTool;
|
|
11
12
|
export declare const hephStatusTool: MnemeTool;
|
|
12
13
|
export declare const HEPHAESTUS_TOOLS: MnemeTool[];
|
|
13
14
|
//# sourceMappingURL=_hephaestus_tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_hephaestus_tools.d.ts","sourceRoot":"","sources":["../../src/tools/_hephaestus_tools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"_hephaestus_tools.d.ts","sourceRoot":"","sources":["../../src/tools/_hephaestus_tools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,aAAa,EAAE,SA4C3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,SAoB9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,SAmC/B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAiB5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,SAAS,EAAyE,CAAC"}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
export const hephCrossTool = {
|
|
9
9
|
name: "mneme.heph.cross",
|
|
10
10
|
category: "meta",
|
|
11
|
-
description: "๐จ HEPHAESTUS โ cross a command into the OS through the safety gate. Classifies risk (read/write/destructive), scans for injection, applies policy, and returns ALLOW / NEEDS_COSIGN / BLOCK + reasons + a signed provenance receipt (who: human vs which AI). A DESTRUCTIVE command is NEVER ALLOW without a human co-sign. Decision only โ it does not execute. Call this BEFORE running any shell command and only proceed if disposition === 'ALLOW'.",
|
|
12
|
-
whenToUse: "BEFORE you (an AI agent) run ANY shell command on the user's machine โ especially destructive ones (rm -rf, kubectl delete, DROP, git push --force). Use the verdict to decide whether to run, ask for co-sign, or refuse.",
|
|
11
|
+
description: "๐จ HEPHAESTUS โ cross a command into the OS through the safety gate. Classifies risk (read/write/destructive), scans for injection, applies policy, and returns ALLOW / NEEDS_COSIGN / BLOCK + reasons + a signed provenance receipt (who: human vs which AI). A DESTRUCTIVE command is NEVER ALLOW without a human co-sign. Set tribunal=true to convene a REAL cross-vendor panel (from env API keys OPENAI_API_KEY/XAI_API_KEY/GEMINI_API_KEY/DEEPSEEK_API_KEY/OPENROUTER_API_KEY) to judge a destructive op โ uncorrelated judges, fail-SAFE to BLOCK when no panel is reachable. Decision only โ it does not execute. Call this BEFORE running any shell command and only proceed if disposition === 'ALLOW'.",
|
|
12
|
+
whenToUse: "BEFORE you (an AI agent) run ANY shell command on the user's machine โ especially destructive ones (rm -rf, kubectl delete, DROP, git push --force). Use the verdict to decide whether to run, ask for co-sign, or refuse. Add tribunal=true on a destructive op for an independent cross-vendor verdict.",
|
|
13
13
|
triggers: ["heph cross", "is this command safe to run", "gate this command", "check before running"],
|
|
14
14
|
inputSchema: {
|
|
15
15
|
type: "object",
|
|
@@ -19,6 +19,7 @@ export const hephCrossTool = {
|
|
|
19
19
|
agent: { type: "string", description: "'human' or your AI agent id" },
|
|
20
20
|
host: { type: "string", description: "host/context tag; a 'prod' substring triggers prod read-only" },
|
|
21
21
|
cosigned: { type: "boolean", description: "a human explicitly co-signed a destructive op" },
|
|
22
|
+
tribunal: { type: "boolean", description: "convene a REAL cross-vendor tribunal from env API keys (no keys โ fail-safe BLOCK on destructive)" },
|
|
22
23
|
},
|
|
23
24
|
},
|
|
24
25
|
outputSchema: { type: "object" },
|
|
@@ -26,16 +27,20 @@ export const hephCrossTool = {
|
|
|
26
27
|
try {
|
|
27
28
|
const core = await import("@mneme-ai/core");
|
|
28
29
|
const cwd = rt.meta?.rootPath ?? process.cwd();
|
|
30
|
+
const deps = {};
|
|
31
|
+
if (args["tribunal"] === true) {
|
|
32
|
+
deps.tribunal = core.hephaestus.makeDiffArenaTribunal(cwd, { vendors: await core.hephaestus.tribunalVendorsFromEnv() });
|
|
33
|
+
}
|
|
29
34
|
const r = await core.hephaestus.crossCommand(cwd, {
|
|
30
35
|
command: String(args["command"] ?? ""),
|
|
31
36
|
agent: String(args["agent"] ?? "unknown"),
|
|
32
37
|
host: typeof args["host"] === "string" ? args["host"] : undefined,
|
|
33
38
|
cosigned: args["cosigned"] === true,
|
|
34
|
-
});
|
|
39
|
+
}, deps);
|
|
35
40
|
const icon = r.disposition === "ALLOW" ? "๐ข" : r.disposition === "NEEDS_COSIGN" ? "๐ก" : "๐ด";
|
|
36
41
|
return {
|
|
37
|
-
data: { disposition: r.disposition, risk: r.risk, reasons: r.reasons, threats: r.threats, origin: r.origin, receiptId: r.receipt?.receiptId },
|
|
38
|
-
wisdom: `${icon} ${r.disposition} (${r.risk})${r.reasons[0] ? " โ " + r.reasons[0] : ""}`,
|
|
42
|
+
data: { disposition: r.disposition, risk: r.risk, reasons: r.reasons, threats: r.threats, origin: r.origin, tribunal: r.tribunal, receiptId: r.receipt?.receiptId },
|
|
43
|
+
wisdom: `${icon} ${r.disposition} (${r.risk})${r.reasons[0] ? " โ " + r.reasons[0] : ""}${r.tribunal ? ` ยท tribunal=${r.tribunal.consensus}` : ""}`,
|
|
39
44
|
followUp: r.disposition === "NEEDS_COSIGN" ? ["mneme.heph.status"] : [],
|
|
40
45
|
confidence: { level: "high" },
|
|
41
46
|
};
|
|
@@ -68,6 +73,42 @@ export const hephPolyglotTool = {
|
|
|
68
73
|
}
|
|
69
74
|
},
|
|
70
75
|
};
|
|
76
|
+
export const hephPreflightTool = {
|
|
77
|
+
name: "mneme.heph.preflight",
|
|
78
|
+
category: "meta",
|
|
79
|
+
description: "๐ฎ HEPHAESTUS PRE-FLIGHT โ preview a command's blast radius BEFORE crossing: risk + whether the effect is REVERSIBLE + an explicit list of what CANNOT be undone (rm -rf, dd, DROP/TRUNCATE, git push --force, terraform destroy, โฆ) + a signed pre-mortem receipt. NEVER executes. The honest answer to 'can you undo it?': we can't un-delete, so we predict + warn + SIGN first. Call this on any command whose effect you're unsure is recoverable.",
|
|
80
|
+
whenToUse: "BEFORE running a command that might destroy data or be impossible to undo. Read irreversibleWarnings back to the user and get explicit confirmation before proceeding.",
|
|
81
|
+
triggers: ["heph preflight", "preview command", "what will this command do", "is this reversible", "blast radius"],
|
|
82
|
+
inputSchema: {
|
|
83
|
+
type: "object",
|
|
84
|
+
required: ["command"],
|
|
85
|
+
properties: {
|
|
86
|
+
command: { type: "string" },
|
|
87
|
+
agent: { type: "string", description: "'human' or your AI agent id" },
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
outputSchema: { type: "object" },
|
|
91
|
+
handler: async (rt, args) => {
|
|
92
|
+
try {
|
|
93
|
+
const core = await import("@mneme-ai/core");
|
|
94
|
+
const cwd = rt.meta?.rootPath ?? process.cwd();
|
|
95
|
+
const pf = await core.hephaestus.preflightCommand(cwd, {
|
|
96
|
+
command: String(args["command"] ?? ""),
|
|
97
|
+
agent: String(args["agent"] ?? "human"),
|
|
98
|
+
});
|
|
99
|
+
const icon = pf.reversible ? "๐ข" : "๐ด";
|
|
100
|
+
return {
|
|
101
|
+
data: { command: pf.command, risk: pf.risk, reversible: pf.reversible, effects: pf.effects, irreversibleWarnings: pf.irreversibleWarnings, receiptId: pf.receipt?.receiptId },
|
|
102
|
+
wisdom: `${icon} ${pf.reversible ? "REVERSIBLE" : "IRREVERSIBLE"} (${pf.risk})${pf.irreversibleWarnings[0] ? " โ " + pf.irreversibleWarnings[0] : ""}`,
|
|
103
|
+
followUp: pf.reversible ? ["mneme.heph.cross"] : ["mneme.heph.cross"],
|
|
104
|
+
confidence: { level: "high" },
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
catch (e) {
|
|
108
|
+
return { data: { ok: false, error: e.message }, wisdom: "preflight failed", followUp: [], confidence: { level: "low" } };
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
};
|
|
71
112
|
export const hephStatusTool = {
|
|
72
113
|
name: "mneme.heph.status",
|
|
73
114
|
category: "meta",
|
|
@@ -87,5 +128,5 @@ export const hephStatusTool = {
|
|
|
87
128
|
}
|
|
88
129
|
},
|
|
89
130
|
};
|
|
90
|
-
export const HEPHAESTUS_TOOLS = [hephCrossTool, hephPolyglotTool, hephStatusTool];
|
|
131
|
+
export const HEPHAESTUS_TOOLS = [hephCrossTool, hephPreflightTool, hephPolyglotTool, hephStatusTool];
|
|
91
132
|
//# sourceMappingURL=_hephaestus_tools.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_hephaestus_tools.js","sourceRoot":"","sources":["../../src/tools/_hephaestus_tools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,aAAa,GAAc;IACtC,IAAI,EAAE,kBAAkB;IACxB,QAAQ,EAAE,MAAM;IAChB,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"_hephaestus_tools.js","sourceRoot":"","sources":["../../src/tools/_hephaestus_tools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,aAAa,GAAc;IACtC,IAAI,EAAE,kBAAkB;IACxB,QAAQ,EAAE,MAAM;IAChB,WAAW,EACT,orBAAorB;IACtrB,SAAS,EAAE,2SAA2S;IACtT,QAAQ,EAAE,CAAC,YAAY,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,sBAAsB,CAAC;IACpG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;QA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C,OAAO,CAAC,EAAE,CAAC;YACX,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAG,CAAW,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,KAAc,EAAE,EAAE,CAAC;QAC5I,CAAC;IACH,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAgB,CAAC,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,cAAc,CAAC,CAAC"}
|
package/dist/tools/_runtime.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare function passthroughHandler(cliCommand: string, argMap: (args: Re
|
|
|
19
19
|
wisdom: string;
|
|
20
20
|
followUp: string[];
|
|
21
21
|
confidence: {
|
|
22
|
-
level: "high" | "
|
|
22
|
+
level: "high" | "low" | "medium";
|
|
23
23
|
};
|
|
24
24
|
}>;
|
|
25
25
|
/** Spawn `mneme <command> [...args]` as a child process and parse its --json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mneme-ai/mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.87.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",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"node": ">=22.13.0 <25.0.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@mneme-ai/core": "2.
|
|
49
|
-
"@mneme-ai/embeddings": "2.
|
|
48
|
+
"@mneme-ai/core": "2.87.0",
|
|
49
|
+
"@mneme-ai/embeddings": "2.87.0",
|
|
50
50
|
"@modelcontextprotocol/sdk": "^1.0.4"
|
|
51
51
|
}
|
|
52
52
|
}
|