prism-mcp-server 20.0.5 → 20.0.6
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.
|
@@ -23,7 +23,16 @@ const FALLBACK_SCENARIO = [
|
|
|
23
23
|
"",
|
|
24
24
|
"Answer concretely. If you cannot, READ THE FILE FIRST.",
|
|
25
25
|
].join("\n");
|
|
26
|
+
/**
|
|
27
|
+
* MCP tool entrypoint. Every tool handler MUST return a CallToolResult
|
|
28
|
+
* object ({ content: [{ type: "text", text }] }) — returning a bare string
|
|
29
|
+
* makes the MCP SDK reject the result ("expected object, received string",
|
|
30
|
+
* -32602). See the dispatch contract in server.ts (result.content usage).
|
|
31
|
+
*/
|
|
26
32
|
export async function verifyBehaviorHandler(args) {
|
|
33
|
+
return { content: [{ type: "text", text: await buildScenarioText(args) }] };
|
|
34
|
+
}
|
|
35
|
+
async function buildScenarioText(args) {
|
|
27
36
|
if (!SYNALUX_CONFIGURED || !PRISM_SYNALUX_BASE_URL) {
|
|
28
37
|
return FALLBACK_SCENARIO;
|
|
29
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prism-mcp-server",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.6",
|
|
4
4
|
"mcpName": "io.github.dcostenco/prism-coder",
|
|
5
5
|
"description": "Prism Coder — Cognitive memory + tool-calling intelligence for AI agents. Mind Palace persistent memory (BFCL Gold Certified, 100% Tool-Call Accuracy, 114 Agent Skills, PHI Guard, Tier Enforcement, Prompt-Based Skill Routing, Zero-Search HDC/HRR retrieval, HRR Semantic Drift Detection across BCBA/Coding/AAC domains, HIPAA-hardened local-first storage, SLERP-optimized GRPO alignment) plus the prism-coder 1.7B–32B open-weights LLM fleet.",
|
|
6
6
|
"module": "index.ts",
|