monomind 2.5.3 → 2.5.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monomind",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.4",
|
|
4
4
|
"description": "Open-source CLI extension for Claude Code. Adds an MCP server with a codebase knowledge graph, persistent memory, multi-agent coordination, and reusable slash commands. MIT licensed, runs locally, no data leaves your machine.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -107,8 +107,13 @@ function _withTimeout(promise, ms) {
|
|
|
107
107
|
/**
|
|
108
108
|
* Scan `input` with monofence-ai's threat detector, bounded by a timeout.
|
|
109
109
|
* Returns null (never throws) when monofence is unavailable, times out, or errors.
|
|
110
|
+
* MONOMIND_MONOFENCE_GATE=off disables this scan entirely (mirrors
|
|
111
|
+
* MONOMIND_GRAPH_GATE=off) — e.g. when its heuristics misfire on ordinary
|
|
112
|
+
* markdown headings (observed a false-positive high-confidence block on
|
|
113
|
+
* plain release-note prose during v2.5.3).
|
|
110
114
|
*/
|
|
111
115
|
async function monofenceScan(input) {
|
|
116
|
+
if (String(process.env.MONOMIND_MONOFENCE_GATE || '').toLowerCase() === 'off') return null;
|
|
112
117
|
if (!input || typeof input !== 'string') return null;
|
|
113
118
|
var mod = await _withTimeout(_loadMonofence(), MONOFENCE_TIMEOUT_MS);
|
|
114
119
|
if (!mod || typeof mod.getMonoDefence !== 'function') return null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monoes/monomindcli",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI engine for Monomind \u2014 an open-source MCP server that extends Claude Code with a codebase knowledge graph (tree-sitter + SQLite), persistent memory, multi-agent task coordination, and session hooks. MIT licensed, fully local.",
|
|
6
6
|
"main": "dist/src/index.js",
|