@antonbabenko/deliberation-mcp 3.7.1 → 3.8.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/index.js +9 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1078,6 +1078,14 @@ var require_analyze = __commonJS({
|
|
|
1078
1078
|
sessionsPersist: !!(meta && meta.sessionsPersist),
|
|
1079
1079
|
eventsParsed: evs.length,
|
|
1080
1080
|
sessionsRead: recs.length,
|
|
1081
|
+
// sessionsDir is the dir the RUNNING server resolved (passed by the caller).
|
|
1082
|
+
// /deliberation:doctor compares this to the shell-resolved path to detect the
|
|
1083
|
+
// XDG_CACHE_HOME / DELIBERATION_SESSIONS drift that silently empties Lens B.
|
|
1084
|
+
sessionsDir: meta && meta.sessionsDir || null,
|
|
1085
|
+
// Total agreement votes across all models. sessionsRead>0 with agreementVotes==0
|
|
1086
|
+
// means records exist but none carry a per-opinion verdict (old or ask-all runs) -
|
|
1087
|
+
// Lens B is empty for a content reason, not a read-path one.
|
|
1088
|
+
agreementVotes: agreement.reduce((n, a) => n + (a && a.votes ? a.votes : 0), 0),
|
|
1081
1089
|
insufficientData: stats.length === 0
|
|
1082
1090
|
}
|
|
1083
1091
|
};
|
|
@@ -5336,7 +5344,7 @@ function buildServer({ providers, getConfig, getConfigError, sessionsDir, notify
|
|
|
5336
5344
|
if (rec) records.push(rec);
|
|
5337
5345
|
}
|
|
5338
5346
|
}
|
|
5339
|
-
return analyzeCore.buildAnalysis(events, records, cfg, { logPath, debugEnabled, sessionsPersist: persist });
|
|
5347
|
+
return analyzeCore.buildAnalysis(events, records, cfg, { logPath, debugEnabled, sessionsPersist: persist, sessionsDir });
|
|
5340
5348
|
}
|
|
5341
5349
|
async function call(name, args) {
|
|
5342
5350
|
const namedExpert = EXPERTS.includes(name) ? name : void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antonbabenko/deliberation-mcp",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Deliberation for Claude Code and any MCP host - GPT, Gemini, Grok, and OpenRouter expert subagents.",
|
|
5
5
|
"mcpName": "io.github.antonbabenko/deliberation",
|
|
6
6
|
"repository": { "type": "git", "url": "git+https://github.com/antonbabenko/deliberation.git", "directory": "server/mcp" },
|