prism-mcp-server 4.2.0 β 4.6.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/README.md +196 -67
- package/dist/dashboard/ui.js +333 -2
- package/dist/lifecycle.js +6 -0
- package/dist/server.js +229 -139
- package/dist/storage/sqlite.js +52 -0
- package/dist/storage/supabase.js +73 -14
- package/dist/storage/supabaseMigrations.js +42 -1
- package/dist/tools/compactionHandler.js +7 -14
- package/dist/tools/handlers.js +26 -3
- package/dist/tools/index.js +2 -2
- package/dist/tools/sessionMemoryDefinitions.js +93 -0
- package/dist/tools/sessionMemoryHandlers.js +384 -21
- package/dist/utils/briefing.js +9 -10
- package/dist/utils/factMerger.js +11 -16
- package/dist/utils/healthCheck.js +19 -22
- package/dist/utils/imageCaptioner.js +240 -0
- package/dist/utils/llm/adapters/anthropic.js +128 -0
- package/dist/utils/llm/adapters/gemini.js +152 -0
- package/dist/utils/llm/adapters/openai.js +183 -0
- package/dist/utils/llm/adapters/traced.js +190 -0
- package/dist/utils/llm/factory.js +143 -0
- package/dist/utils/llm/provider.js +25 -0
- package/dist/utils/telemetry.js +174 -0
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
## Table of Contents
|
|
16
16
|
|
|
17
|
-
- [What's New (v4.
|
|
17
|
+
- [What's New (v4.6.0)](#whats-new-in-v460--opentelemetry-observability-)
|
|
18
18
|
- [Multi-Instance Support](#multi-instance-support)
|
|
19
19
|
- [How Prism Compares](#how-prism-compares)
|
|
20
20
|
- [Quick Start](#quick-start-zero-config--local-mode)
|
|
@@ -42,7 +42,58 @@
|
|
|
42
42
|
|
|
43
43
|
---
|
|
44
44
|
|
|
45
|
-
## What's New in v4.
|
|
45
|
+
## What's New in v4.6.0 β OpenTelemetry Observability π
|
|
46
|
+
|
|
47
|
+
> **π Full distributed tracing for every MCP tool call, LLM provider hop, and background AI worker.**
|
|
48
|
+
> Configure in the new **π Observability** tab in Mind Palace β no code changes required.
|
|
49
|
+
> Activates a 4-tier span waterfall: `mcp.call_tool` β `worker.vlm_caption` β `llm.generate_image_description` / `llm.generate_embedding`.
|
|
50
|
+
|
|
51
|
+
<a name="whats-new-in-v451--gdpr-export-"></a>
|
|
52
|
+
<details>
|
|
53
|
+
<summary><strong>What's in v4.5.1 β GDPR Export & Test Hardening π</strong></summary>
|
|
54
|
+
|
|
55
|
+
| Feature | Description |
|
|
56
|
+
|---|---|
|
|
57
|
+
| π¦ **`session_export_memory`** | Full ZIP export of project memory (JSON + Markdown). Satisfies GDPR Art. 20 Right to Portability. API keys redacted, embeddings stripped. |
|
|
58
|
+
| π§ͺ **270 Tests** | Concurrent export safety, redaction edge cases, MCP contract validation under load. |
|
|
59
|
+
|
|
60
|
+
</details>
|
|
61
|
+
|
|
62
|
+
<a name="whats-new-in-v450--vlm-multimodal-memory-"></a>
|
|
63
|
+
<details>
|
|
64
|
+
<summary><strong>What's in v4.5.0 β VLM Multimodal Memory ποΈ</strong></summary>
|
|
65
|
+
|
|
66
|
+
| Feature | Description |
|
|
67
|
+
|---|---|
|
|
68
|
+
| ποΈ **Visual Memory** | `session_save_image` β VLM auto-caption β ledger entry β vector embedding. Images become semantically searchable with zero schema changes. |
|
|
69
|
+
| π‘οΈ **Provider Size Guards** | Anthropic 5MB hard cap, Gemini/OpenAI 20MB. Pre-flight check before API call. |
|
|
70
|
+
|
|
71
|
+
</details>
|
|
72
|
+
|
|
73
|
+
<a name="whats-new-in-v440--pluggable-llm-adapters-"></a>
|
|
74
|
+
<details>
|
|
75
|
+
<summary><strong>What's in v4.4.0 β Pluggable LLM Adapters (BYOM) π</strong></summary>
|
|
76
|
+
|
|
77
|
+
| Feature | Description |
|
|
78
|
+
|---|---|
|
|
79
|
+
| π **BYOM** | OpenAI, Anthropic, Gemini, Ollama adapters. Text + embedding providers independently configurable. |
|
|
80
|
+
| π‘οΈ **Air-Gapped** | Full local mode via `http://127.0.0.1:11434` β zero cloud API keys required. |
|
|
81
|
+
|
|
82
|
+
</details>
|
|
83
|
+
|
|
84
|
+
<a name="whats-new-in-v430--the-bridge-"></a>
|
|
85
|
+
<details>
|
|
86
|
+
<summary><strong>What's in v4.3.0 β The Bridge: Knowledge Sync Rules π</strong></summary>
|
|
87
|
+
|
|
88
|
+
> **π§ Active Behavioral Memory & IDE Sync**
|
|
89
|
+
> Prism doesn't just log what happenedβit learns. When an agent is corrected, the memory gains "Importance". Once an insight graduates (Importance >= 7), Prism automatically syncs it to `.cursorrules` / `.clauderules` β permanent, zero-token IDE enforcement.
|
|
90
|
+
|
|
91
|
+
</details>
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
<a name="whats-new-in-v420--project-repo-registry-"></a>
|
|
95
|
+
<details>
|
|
96
|
+
<summary><strong>What's in v4.2.0 β Project Repo Registry ποΈ</strong></summary>
|
|
46
97
|
|
|
47
98
|
| Feature | Description |
|
|
48
99
|
|---|---|
|
|
@@ -50,6 +101,9 @@
|
|
|
50
101
|
| π **Universal Auto-Load** | Auto-load projects via dynamic tool descriptions β works across all MCP clients (Claude, Cursor, Gemini, Antigravity) without lifecycle hooks. Dashboard is the sole source of truth. |
|
|
51
102
|
| π **Dashboard-First Config** | Removed `PRISM_AUTOLOAD_PROJECTS` env var override. The Mind Palace dashboard is now the single source of truth for auto-load project configuration. |
|
|
52
103
|
|
|
104
|
+
</details>
|
|
105
|
+
|
|
106
|
+
<a name="whats-in-v410--auto-migration--multi-instance-"></a>
|
|
53
107
|
<details>
|
|
54
108
|
<summary><strong>What's in v4.1.0 β Auto-Migration & Multi-Instance π</strong></summary>
|
|
55
109
|
|
|
@@ -61,6 +115,7 @@
|
|
|
61
115
|
|
|
62
116
|
</details>
|
|
63
117
|
|
|
118
|
+
<a name="whats-in-v400--behavioral-memory-"></a>
|
|
64
119
|
<details>
|
|
65
120
|
<summary><strong>What's in v4.0.0 β Behavioral Memory π§ </strong></summary>
|
|
66
121
|
|
|
@@ -74,6 +129,7 @@
|
|
|
74
129
|
|
|
75
130
|
</details>
|
|
76
131
|
|
|
132
|
+
<a name="whats-in-v310--memory-lifecycle-"></a>
|
|
77
133
|
<details>
|
|
78
134
|
<summary><strong>What's in v3.1.0 β Memory Lifecycle π</strong></summary>
|
|
79
135
|
|
|
@@ -99,6 +155,7 @@
|
|
|
99
155
|
|
|
100
156
|
</details>
|
|
101
157
|
|
|
158
|
+
<a name="whats-in-v300--agent-hivemind-"></a>
|
|
102
159
|
<details>
|
|
103
160
|
<summary><strong>What's in v3.0.0 β Agent Hivemind π</strong></summary>
|
|
104
161
|
|
|
@@ -116,24 +173,24 @@
|
|
|
116
173
|
|
|
117
174
|
|
|
118
175
|
<details>
|
|
119
|
-
<summary><strong>What's in v2.5.
|
|
176
|
+
<summary><strong>What's in v2.5.1 β Version Sync & Embedding Safety</strong></summary>
|
|
120
177
|
|
|
121
178
|
| Feature | Description |
|
|
122
179
|
|---|---|
|
|
123
|
-
|
|
|
124
|
-
| π‘οΈ **
|
|
125
|
-
| π **LangChain Integration** | `PrismMemoryRetriever` / `PrismKnowledgeRetriever` BaseRetriever adapters. |
|
|
126
|
-
| π§© **LangGraph Agent** | 5-node research agent example with MCP bridge and hybrid search. |
|
|
180
|
+
| π **Dynamic Versioning** | Version derived from `package.json` β MCP handshake, dashboard, and npm stay in sync. |
|
|
181
|
+
| π‘οΈ **Embedding Validation** | Validates 768-dimension vectors at runtime to catch model regressions. |
|
|
127
182
|
|
|
128
183
|
</details>
|
|
129
184
|
|
|
130
185
|
<details>
|
|
131
|
-
<summary><strong>What's in v2.5.
|
|
186
|
+
<summary><strong>What's in v2.5.0 β Enterprise Memory ποΈ</strong></summary>
|
|
132
187
|
|
|
133
188
|
| Feature | Description |
|
|
134
189
|
|---|---|
|
|
135
|
-
|
|
|
136
|
-
| π‘οΈ **
|
|
190
|
+
| π **Memory Tracing** | `MemoryTrace` with latency breakdown and scoring metadata for LangSmith. |
|
|
191
|
+
| π‘οΈ **GDPR Deletion** | `session_forget_memory` with soft/hard delete and Article 17 justification. |
|
|
192
|
+
| π **LangChain Integration** | `PrismMemoryRetriever` / `PrismKnowledgeRetriever` BaseRetriever adapters. |
|
|
193
|
+
| π§© **LangGraph Agent** | 5-node research agent example with MCP bridge and hybrid search. |
|
|
137
194
|
|
|
138
195
|
</details>
|
|
139
196
|
|
|
@@ -690,6 +747,41 @@ The tool and dashboard button both call the same repair logic β the dashboard
|
|
|
690
747
|
4. On `session_load_context`, high-importance corrections auto-surface as `[β οΈ BEHAVIORAL WARNINGS]`
|
|
691
748
|
5. Agent sees warnings and avoids repeating past mistakes
|
|
692
749
|
|
|
750
|
+
### v4.3.0 Knowledge Sync Rules β "The Bridge"
|
|
751
|
+
|
|
752
|
+
Bridges **v4.0 Behavioral Memory** (graduated insights) with **v4.2.0 Project Registry** (repo paths) to physically write agent learnings into your project's IDE rules file.
|
|
753
|
+
|
|
754
|
+
| Feature | Without Sync Rules | With `knowledge_sync_rules` |
|
|
755
|
+
|---------|-------------------|----------------------------|
|
|
756
|
+
| **Insight Visibility** | Only in Prism context injection | Persisted as static IDE context (`.cursorrules` / `.clauderules`) |
|
|
757
|
+
| **Cross-Session** | Loaded per-session via tool call | Always-on β IDE reads rules file on every prompt |
|
|
758
|
+
| **Agent Learning Loop** | Behavioral warnings during context load | Rules enforced even without Prism connected |
|
|
759
|
+
| **Idempotency** | N/A | Sentinel markers ensure safe re-runs |
|
|
760
|
+
| **User Control** | View in dashboard | User-maintained rules preserved; only sentinel block updated |
|
|
761
|
+
|
|
762
|
+
**Syncing graduated insights:**
|
|
763
|
+
|
|
764
|
+
```json
|
|
765
|
+
{ "name": "knowledge_sync_rules", "arguments": {
|
|
766
|
+
"project": "my-app",
|
|
767
|
+
"target_file": ".cursorrules",
|
|
768
|
+
"dry_run": true
|
|
769
|
+
}}
|
|
770
|
+
```
|
|
771
|
+
|
|
772
|
+
**How it works:**
|
|
773
|
+
1. Fetches graduated insights (`importance >= 7`) from the ledger
|
|
774
|
+
2. Formats them as markdown rules inside `<!-- PRISM:AUTO-RULES:START/END -->` sentinel markers
|
|
775
|
+
3. Idempotently writes them into the target file at the project's configured `repo_path`
|
|
776
|
+
|
|
777
|
+
| Tool | Purpose | Key Args |
|
|
778
|
+
|------|---------|----------|
|
|
779
|
+
| `knowledge_sync_rules` | Sync graduated insights to IDE rules file | `project`, `target_file`, `dry_run` |
|
|
780
|
+
| `knowledge_upvote` | Increase entry importance (+1) | `id` |
|
|
781
|
+
| `knowledge_downvote` | Decrease entry importance (-1) | `id` |
|
|
782
|
+
|
|
783
|
+
> π‘ **Prerequisite:** Set a `repo_path` for your project in the Mind Palace dashboard (βοΈ Settings β Project Repo Paths) before syncing.
|
|
784
|
+
|
|
693
785
|
### Code Mode Templates (v2.1)
|
|
694
786
|
|
|
695
787
|
Instead of writing custom JavaScript, pass a `template` name for instant extraction:
|
|
@@ -1109,7 +1201,7 @@ Prism supports surgical, per-entry deletion for GDPR Article 17 compliance:
|
|
|
1109
1201
|
| Data Protection by Design (Art. 25) | β
Implemented | Ownership guards, DB-level filtering, safe defaults |
|
|
1110
1202
|
| Audit Trail | β
Implemented | `deleted_at` + `deleted_reason` columns |
|
|
1111
1203
|
| User Isolation | β
Implemented | `user_id` verification on all delete operations |
|
|
1112
|
-
| Right to Portability (Art. 20) |
|
|
1204
|
+
| Right to Portability (Art. 20) | β
Implemented | `session_export_memory` β ZIP export of JSON + Markdown, API keys redacted |
|
|
1113
1205
|
| Consent Management | β Out of scope | Application-layer responsibility |
|
|
1114
1206
|
|
|
1115
1207
|
> **Note:** No software is "GDPR certified" on its own β GDPR is an organizational compliance framework. Prism provides the technical controls that a DPO (Data Protection Officer) needs to satisfy the data deletion and privacy-by-design requirements.
|
|
@@ -1118,40 +1210,50 @@ Prism supports surgical, per-entry deletion for GDPR Article 17 compliance:
|
|
|
1118
1210
|
|
|
1119
1211
|
## Observability & Tracing
|
|
1120
1212
|
|
|
1121
|
-
Prism MCP
|
|
1213
|
+
Prism MCP ships **two complementary tracing systems** serving different audiences:
|
|
1122
1214
|
|
|
1123
|
-
|
|
1215
|
+
| | MemoryTrace | OpenTelemetry (OTel) |
|
|
1216
|
+
|---|---|---|
|
|
1217
|
+
| **Question answered** | Why was this memory returned? | What was the end-to-end latency? |
|
|
1218
|
+
| **Output** | `content[1]` in MCP response | OTLP β Jaeger / Tempo / Zipkin |
|
|
1219
|
+
| **Trigger** | `enable_trace: true` parameter | Every tool call, automatically |
|
|
1220
|
+
| **Audience** | LLM / LangSmith orchestration | Developers debugging infrastructure |
|
|
1124
1221
|
|
|
1125
|
-
|
|
1126
|
-
|------------|:-----------:|:----------------------:|
|
|
1127
|
-
| Per-query latency breakdown (`embedding_ms`, `storage_ms`, `total_ms`) | β
| β
|
|
|
1128
|
-
| Search strategy attribution (`semantic`, `keyword`, `hybrid`) | β
| β (custom) |
|
|
1129
|
-
| Result scoring metadata | β
| β (custom) |
|
|
1130
|
-
| LangSmith integration (via retriever metadata) | β
| β
|
|
|
1131
|
-
| W3C `traceparent` / distributed trace context | β | β
|
|
|
1132
|
-
| Export to Jaeger / Zipkin / Datadog | β | β
|
|
|
1133
|
-
| Auto-instrumentation of HTTP / DB calls | β | β
|
|
|
1134
|
-
| External SDK dependency | **None** | `@opentelemetry/sdk-*` |
|
|
1222
|
+
### MemoryTrace (Phase 1 β LLM Explainability)
|
|
1135
1223
|
|
|
1136
|
-
|
|
1224
|
+
A zero-dependency tracing system built for MCP. Returns per-query latency breakdowns and result scoring metadata as a second `content` block β keeping structured telemetry out of the LLM's context window.
|
|
1137
1225
|
|
|
1138
1226
|
```json
|
|
1139
|
-
{
|
|
1140
|
-
"type": "text",
|
|
1141
|
-
"text": "{\"trace\":{\"strategy\":\"semantic\",\"latency\":{\"embedding_ms\":45,\"storage_ms\":12,\"total_ms\":57},\"result_count\":3,\"threshold\":0.7}}"
|
|
1142
|
-
}
|
|
1227
|
+
{ "trace": { "strategy": "semantic", "latency": { "embedding_ms": 45, "storage_ms": 12, "total_ms": 57 }, "result_count": 3 } }
|
|
1143
1228
|
```
|
|
1144
1229
|
|
|
1145
|
-
|
|
1230
|
+
### OpenTelemetry (Phase 2 β Infrastructure Observability)
|
|
1146
1231
|
|
|
1147
|
-
|
|
1232
|
+
Every MCP tool call emits a **4-tier span waterfall** to any OTLP-compatible collector:
|
|
1233
|
+
|
|
1234
|
+
```
|
|
1235
|
+
mcp.call_tool [e.g. session_save_image, ~50 ms]
|
|
1236
|
+
ββ worker.vlm_caption [~2β5 s, outlives parent β]
|
|
1237
|
+
ββ llm.generate_image_description [~1β4 s]
|
|
1238
|
+
ββ llm.generate_embedding [~200 ms]
|
|
1239
|
+
```
|
|
1240
|
+
|
|
1241
|
+
**Quick-start with Jaeger:**
|
|
1242
|
+
|
|
1243
|
+
```bash
|
|
1244
|
+
docker run -d -p 4318:4318 -p 16686:16686 jaegertracing/all-in-one
|
|
1245
|
+
```
|
|
1246
|
+
|
|
1247
|
+
Then open **Mind Palace Dashboard β βοΈ Settings β π Observability**, toggle OTel on, and restart. Open [localhost:16686](http://localhost:16686) to see traces.
|
|
1248
|
+
|
|
1249
|
+
**GDPR-safe by design:** Span attributes capture only character counts and byte sizes β never prompt content, vector embeddings, or base64 image data.
|
|
1250
|
+
|
|
1251
|
+
| Setting | Default | Description |
|
|
1252
|
+
|---------|---------|-------------|
|
|
1253
|
+
| `otel_enabled` | `false` | Toggle OTel pipeline on/off (restart required) |
|
|
1254
|
+
| `otel_endpoint` | `http://localhost:4318/v1/traces` | OTLP HTTP collector URL |
|
|
1255
|
+
| `otel_service_name` | `prism-mcp-server` | Service label in trace UI |
|
|
1148
1256
|
|
|
1149
|
-
| Feature | Status |
|
|
1150
|
-
|---------|--------|
|
|
1151
|
-
| MemoryTrace (current) | β
Shipped |
|
|
1152
|
-
| OpenTelemetry SDK integration | β¬ Planned |
|
|
1153
|
-
| Span export to Jaeger/Zipkin | β¬ Planned |
|
|
1154
|
-
| W3C Trace Context propagation | β¬ Planned |
|
|
1155
1257
|
|
|
1156
1258
|
---
|
|
1157
1259
|
|
|
@@ -1318,7 +1420,10 @@ See [`vertex-ai/`](vertex-ai/) for setup and benchmarks.
|
|
|
1318
1420
|
β β βββ compactionHandler.ts # Gemini-powered ledger compaction
|
|
1319
1421
|
β β βββ index.ts # Tool registration & re-exports
|
|
1320
1422
|
β βββ utils/
|
|
1321
|
-
β
|
|
1423
|
+
β βββ utils/
|
|
1424
|
+
β βββ telemetry.ts # OTel singleton β NodeTracerProvider, BatchSpanProcessor, no-op mode
|
|
1425
|
+
β βββ tracing.ts # MemoryTrace types + factory (Phase 1 β LLM explainability)
|
|
1426
|
+
β βββ imageCaptioner.ts # VLM auto-caption pipeline (v4.5) + worker.vlm_caption OTel span
|
|
1322
1427
|
β βββ logger.ts # Debug logging (gated by PRISM_DEBUG_LOGGING)
|
|
1323
1428
|
β βββ braveApi.ts # Brave Search REST client
|
|
1324
1429
|
β βββ googleAi.ts # Gemini SDK wrapper
|
|
@@ -1327,8 +1432,17 @@ See [`vertex-ai/`](vertex-ai/) for setup and benchmarks.
|
|
|
1327
1432
|
β βββ healthCheck.ts # Brain integrity engine + security scanner
|
|
1328
1433
|
β βββ factMerger.ts # Async LLM contradiction resolution
|
|
1329
1434
|
β βββ git.ts # Git state capture + drift detection
|
|
1330
|
-
β βββ embeddingApi.ts # Embedding generation
|
|
1331
|
-
β
|
|
1435
|
+
β βββ embeddingApi.ts # Embedding generation
|
|
1436
|
+
β βββ keywordExtractor.ts # Zero-dependency NLP keyword extraction
|
|
1437
|
+
β βββ llm/
|
|
1438
|
+
β βββ provider.ts # LLMProvider interface
|
|
1439
|
+
β βββ factory.ts # Provider factory β composes + wraps in TracingLLMProvider
|
|
1440
|
+
β βββ adapters/
|
|
1441
|
+
β βββ gemini.ts # Google Gemini adapter
|
|
1442
|
+
β βββ openai.ts # OpenAI adapter
|
|
1443
|
+
β βββ anthropic.ts # Anthropic Claude adapter
|
|
1444
|
+
β βββ ollama.ts # Ollama (local) adapter
|
|
1445
|
+
β βββ traced.ts # TracingLLMProvider decorator (v4.6 OTel)
|
|
1332
1446
|
βββ examples/langgraph-agent/ # LangChain/LangGraph integration
|
|
1333
1447
|
β βββ agent.py # 5-node LangGraph research agent
|
|
1334
1448
|
β βββ mcp_client.py # MCP Bridge (call_tool + call_tool_raw)
|
|
@@ -1346,7 +1460,36 @@ See [`vertex-ai/`](vertex-ai/) for setup and benchmarks.
|
|
|
1346
1460
|
|
|
1347
1461
|
## π Roadmap
|
|
1348
1462
|
|
|
1349
|
-
> **[View the full project board β](https://github.com/users/dcostenco/projects/1/views/1)**
|
|
1463
|
+
> **[View the full project board β](https://github.com/users/dcostenco/projects/1/views/1)** | **[Full ROADMAP.md β](ROADMAP.md)**
|
|
1464
|
+
|
|
1465
|
+
### β
v4.6 β OpenTelemetry Observability (Shipped!)
|
|
1466
|
+
|
|
1467
|
+
| Feature | Description |
|
|
1468
|
+
|---|---|
|
|
1469
|
+
| π **OTel Root Span** | Every MCP tool call wrapped in `mcp.call_tool` span β propagated to all child async operations via AsyncLocalStorage. |
|
|
1470
|
+
| π¨ **TracingLLMProvider** | Decorator pattern wraps the composed LLM factory. Zero changes to vendor adapters. Instruments `generate_text`, `generate_embedding`, `generate_image_description`. |
|
|
1471
|
+
| βοΈ **Worker Spans** | `worker.vlm_caption` span in `imageCaptioner` correctly parents fire-and-forget async tasks to the root span. |
|
|
1472
|
+
| π **Shutdown Flush** | `shutdownTelemetry()` wired as step-0 in `lifecycle.ts` β flushes `BatchSpanProcessor` before DB closes on SIGTERM. |
|
|
1473
|
+
| π₯οΈ **Dashboard UI** | New π Observability tab with enable toggle, OTLP endpoint, service name, inline Jaeger docker command, and ASCII waterfall diagram. |
|
|
1474
|
+
|
|
1475
|
+
### β
v4.5 β VLM Multimodal Memory & GDPR Export (Shipped!)
|
|
1476
|
+
|
|
1477
|
+
| Feature | Description |
|
|
1478
|
+
|---|---|
|
|
1479
|
+
| ποΈ **Auto-Captioning** | `session_save_image` β VLM β ledger entry β vector embedding. Images become semantically searchable with zero schema changes. |
|
|
1480
|
+
| π¦ **GDPR Art. 20** | `session_export_memory` β full ZIP export (JSON + Markdown), API keys redacted, embeddings stripped. |
|
|
1481
|
+
| π§ͺ **270 tests** | Full regression coverage including concurrent safety, redaction edge cases, and MCP contract validation. |
|
|
1482
|
+
|
|
1483
|
+
### β
v4.4 β Pluggable LLM Adapters (Shipped!)
|
|
1484
|
+
|
|
1485
|
+
| Feature | Description |
|
|
1486
|
+
|---|---|
|
|
1487
|
+
| π **BYOM** | OpenAI, Anthropic, Gemini, Ollama adapters. Text + embedding providers independently configurable. |
|
|
1488
|
+
| π‘οΈ **Air-Gapped** | Full local mode via Ollama β zero cloud API keys required. |
|
|
1489
|
+
|
|
1490
|
+
### β
v4.3 β The Bridge: Knowledge Sync Rules (Shipped!)
|
|
1491
|
+
|
|
1492
|
+
See [What's in v4.3.0](#whats-new-in-v430--the-bridge-) above β syncing dynamic behavioral insights to static IDE rules files.
|
|
1350
1493
|
|
|
1351
1494
|
### β
v4.2 β Project Repo Registry (Shipped!)
|
|
1352
1495
|
|
|
@@ -1354,7 +1497,6 @@ See [`vertex-ai/`](vertex-ai/) for setup and benchmarks.
|
|
|
1354
1497
|
|---|---|
|
|
1355
1498
|
| ποΈ **Project Repo Paths** | Dashboard UI to map projects to repo directories + `session_save_ledger` path validation. |
|
|
1356
1499
|
| π **Universal Auto-Load** | Dynamic tool descriptions replace env var β dashboard is sole source of truth. |
|
|
1357
|
-
| π **Dashboard-First Config** | Removed `PRISM_AUTOLOAD_PROJECTS` env var override. |
|
|
1358
1500
|
|
|
1359
1501
|
### β
v4.1 β Auto-Migration & Multi-Instance (Shipped!)
|
|
1360
1502
|
|
|
@@ -1364,35 +1506,22 @@ See [What's in v4.1.0](#whats-in-v410--auto-migration--multi-instance-) above.
|
|
|
1364
1506
|
|
|
1365
1507
|
See [What's in v4.0.0](#whats-in-v400--behavioral-memory-) above.
|
|
1366
1508
|
|
|
1367
|
-
### β
v3.
|
|
1368
|
-
|
|
1369
|
-
See [What's in v3.1.0](#whats-in-v310--memory-lifecycle-) above.
|
|
1370
|
-
|
|
1371
|
-
### β
v3.0 β Agent Hivemind (Shipped!)
|
|
1509
|
+
### β
v3.x β Memory Lifecycle & Agent Hivemind (Shipped!)
|
|
1372
1510
|
|
|
1373
|
-
See [
|
|
1511
|
+
See [v3.1.0](#whats-in-v310--memory-lifecycle-) and [v3.0.0](#whats-in-v300--agent-hivemind-) above.
|
|
1374
1512
|
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
| Feature | Issue | Description |
|
|
1378
|
-
|---------|-------|-------------|
|
|
1379
|
-
| Insight Graduation | β | `knowledge_upvote` / `knowledge_downvote` β importance β₯ 7 promotes to rule |
|
|
1380
|
-
| OpenTelemetry | [#6](https://github.com/dcostenco/prism-mcp/issues/6) | W3C tracing with Jaeger/Zipkin export |
|
|
1381
|
-
| GDPR Portability | [#7](https://github.com/dcostenco/prism-mcp/issues/7) | `session_export_memory` for Art. 20 |
|
|
1382
|
-
| CRDT Conflict Resolution | [#9](https://github.com/dcostenco/prism-mcp/issues/9) | Conflict-free types for concurrent edits |
|
|
1383
|
-
| Pluggable LLM Providers | [#13](https://github.com/dcostenco/prism-mcp/issues/13) | Anthropic, OpenAI, Ollama adapters |
|
|
1384
|
-
| VLM / OCR for Images | [#14](https://github.com/dcostenco/prism-mcp/issues/14) | Auto-extract text from stored images |
|
|
1385
|
-
| Knowledge Graph Editor | [#19](https://github.com/dcostenco/prism-mcp/issues/19) | Visual graph editor in Mind Palace |
|
|
1513
|
+
---
|
|
1386
1514
|
|
|
1387
|
-
###
|
|
1515
|
+
### πΊοΈ Next on the Horizon
|
|
1388
1516
|
|
|
1389
|
-
|
|
|
1390
|
-
|
|
1391
|
-
|
|
|
1392
|
-
|
|
|
1393
|
-
|
|
|
1394
|
-
|
|
|
1395
|
-
| TypeScript LangGraph
|
|
1517
|
+
| Priority | Feature | Description |
|
|
1518
|
+
|----------|---------|-------------|
|
|
1519
|
+
| π₯ | **Documentation & Architecture Guide** | Full README overhaul with architecture diagrams, "How to build a self-improving agent" walkthrough, and v4.x feature matrix. |
|
|
1520
|
+
| π₯ | **Knowledge Graph Editor** | Visual graph in Mind Palace showing nodes for projects, agents, sessions, and graduated rules. |
|
|
1521
|
+
| π₯ | **Autonomous Web Scholar** | Agent-driven learning pipeline using Brave Search + VLM to autonomously build project context while the developer sleeps. |
|
|
1522
|
+
| β | **Dashboard Auth** | Optional basic auth for remote Mind Palace access. |
|
|
1523
|
+
| β | **TypeScript LangGraph Examples** | Reference implementations alongside the existing Python agent. |
|
|
1524
|
+
| β | **CRDT Conflict Resolution** | Conflict-free types for concurrent multi-agent edits on the same handoff. |
|
|
1396
1525
|
|
|
1397
1526
|
---
|
|
1398
1527
|
|
|
@@ -1402,4 +1531,4 @@ MIT
|
|
|
1402
1531
|
|
|
1403
1532
|
---
|
|
1404
1533
|
|
|
1405
|
-
<sub>**Keywords:** MCP server, Model Context Protocol, Claude Desktop memory, persistent session memory, AI agent memory, local-first, SQLite MCP, Mind Palace, time travel, visual memory, agent telepathy, multi-agent sync, reality drift detection, morning briefing, code mode templates, cursor MCP server, windsurf MCP server, cline MCP server, pgvector semantic search, progressive context loading, MCP Prompts, MCP Resources, knowledge management AI, Brave Search MCP, Gemini analysis, optimistic concurrency control, zero config,
|
|
1534
|
+
<sub>**Keywords:** MCP server, Model Context Protocol, Claude Desktop memory, persistent session memory, AI agent memory, local-first, SQLite MCP, Mind Palace, time travel, visual memory, VLM image captioning, OpenTelemetry OTel tracing, Jaeger distributed traces, GDPR export portability, agent telepathy, multi-agent sync, behavioral memory, IDE rules sync, cursorrules, pluggable LLM, Ollama MCP, Anthropic Claude MCP, OpenAI MCP, reality drift detection, morning briefing, code mode templates, cursor MCP server, windsurf MCP server, cline MCP server, pgvector semantic search, progressive context loading, MCP Prompts, MCP Resources, knowledge management AI, Brave Search MCP, Gemini analysis, optimistic concurrency control, zero config, memory tracing, LangChain retriever, LangGraph agent, soft delete, memory lineage, explainability, enterprise AI memory</sub>
|