prism-mcp-server 9.13.3 → 9.13.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/README.md +15 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -548,6 +548,21 @@ While local SQLite is amazing for solo developers, enterprise teams cannot share
|
|
|
548
548
|
### 🚦 Task Router
|
|
549
549
|
Prism scores coding tasks across **6 weighted heuristic signals** (keyword analysis, file count, file-type complexity, scope, length, multi-step detection) and recommends whether to keep execution on the host cloud model or delegate to a **local Claw agent** (powered by deepseek-r1 / qwen2.5-coder via Ollama). File-type awareness routes config/docs edits locally while reserving systems-programming tasks for the host. The local agent features buffered streaming (handles split `<think>` tags), stateful multi-turn conversations, and automatic memory trimming. In client startup/skill flows, use defensive delegation: route only coding tasks, call `session_task_route` only when available, delegate to `claw` only when executor tooling exists and task is non-destructive, and fallback to host when router/executor is unavailable. → [Task router real-life example](examples/router_real_life_test.ts)
|
|
550
550
|
|
|
551
|
+
### 🧠 Local Prism Coder Engine (prism-coder:7b)
|
|
552
|
+
To achieve zero-latency, offline routing and memory compilation without cloud dependencies, Prism utilizes an internal fine-tuned ML model: **`prism-coder:7b`**.
|
|
553
|
+
Built atop Qwen 2.5 Coder 7B using the MLX framework for Apple Silicon, this engine underwent aggressive Supervised Fine-Tuning (SFT) over 1,000+ past session traces and semantic architectures.
|
|
554
|
+
|
|
555
|
+
To guarantee zero-hallucination MCP tool use, it was further aligned using **GRPO (Group Relative Policy Optimization)** with a deterministic reward function that deducts points for missing required parameters or misnaming tools.
|
|
556
|
+
|
|
557
|
+
**Benchmark Test Results (10-iteration proxy test):**
|
|
558
|
+
- **Tool-Call Accuracy:** 33.3%
|
|
559
|
+
- **JSON Validity:** 100.0%
|
|
560
|
+
- **Parameter Accuracy:** 33.3%
|
|
561
|
+
- **Average Latency:** 8.0s (Apple M4 Max, 36GB)
|
|
562
|
+
- **Tokens/sec:** 43.7
|
|
563
|
+
|
|
564
|
+
**Integration**: Run via Ollama natively to power autonomous file operations and session routing entirely within the local host environment.
|
|
565
|
+
|
|
551
566
|
### 🖼️ Visual Memory
|
|
552
567
|
Save UI screenshots, architecture diagrams, and bug states to a searchable vault. Images are auto-captioned by a VLM (Claude Vision / GPT-4V / Gemini) and become semantically searchable across sessions.
|
|
553
568
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prism-mcp-server",
|
|
3
|
-
"version": "9.13.
|
|
3
|
+
"version": "9.13.4",
|
|
4
4
|
"mcpName": "io.github.dcostenco/prism-mcp",
|
|
5
5
|
"description": "The Mind Palace for AI Agents — a true Cognitive Architecture with Hebbian learning (episodic→semantic consolidation), ACT-R spreading activation (multi-hop causal reasoning), uncertainty-aware rejection gates (agents that know when they don't know), adversarial evaluation (anti-sycophancy), fail-closed Dark Factory pipelines, persistent memory (SQLite/Supabase), multi-agent Hivemind, time travel & visual dashboard. Zero-config local mode.",
|
|
6
6
|
"module": "index.ts",
|