@cachly-dev/mcp-server 0.10.79 → 0.10.80

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 CHANGED
@@ -239,6 +239,7 @@ npx @cachly-dev/mcp-server@latest setup # Wire up all your AI editors (1–5
239
239
  npx @cachly-dev/mcp-server@latest health # Check token, API, editors, git hook
240
240
  npx @cachly-dev/mcp-server@latest digest # Weekly Brain summary — shareable
241
241
  npx @cachly-dev/mcp-server@latest share # Generate a shareable stats card + tweet
242
+ npx @cachly-dev/mcp-server@latest publish # Publish your Brain as an importable link (--public)
242
243
  npx @cachly-dev/mcp-server@latest badge # Get a live README badge for your Brain
243
244
  npx @cachly-dev/mcp-server@latest invite # Invite a teammate to share your Brain
244
245
  npx @cachly-dev/mcp-server@latest index . # Index a project's code into the Brain (CI-friendly)
@@ -251,7 +252,7 @@ npx @cachly-dev/mcp-server@latest learn-git # Auto-learn lessons from recent git
251
252
 
252
253
  ---
253
254
 
254
- ## MCP Tools (100 total)
255
+ ## MCP Tools (113 total)
255
256
 
256
257
  ### 🧠 Session & Memory (most used)
257
258
 
@@ -289,6 +290,16 @@ npx @cachly-dev/mcp-server@latest learn-git # Auto-learn lessons from recent git
289
290
  | `memory_consolidate` | Detect contradictions, merge duplicates, expire stale lessons |
290
291
  | `ckg_inspect` | Inspect the causal graph around any concept |
291
292
 
293
+ ### 🌐 Shareable & Public Brains
294
+
295
+ | Tool | What it does |
296
+ |------|-------------|
297
+ | **`brain_seed_starter`** | Seed 16 universal lessons so your **first** `smart_recall` hits — auto-runs on a fresh repo |
298
+ | **`brain_share`** | Export a Brain snapshot as a shareable link (public or unlisted) |
299
+ | **`brain_import`** | Import any shared Brain into yours — `topic_prefix`, `min_confidence`, `dry_run` |
300
+ | `brain_share_list` / `brain_unshare` | List your shares · revoke a share (link goes dead) |
301
+ | **`brain_discover`** | Search the Brain marketplace for ready-made knowledge bases |
302
+
292
303
  ### 🌍 Knowledge Commons · ⚙️ Infrastructure · 📋 Roadmap
293
304
 
294
305
  | Tool | What it does |
@@ -7,8 +7,17 @@ import { keywordSearch, tokenize, splitMultiQuery, levenshtein, indexVocab as _i
7
7
  import { rerankByQuality } from '../rerank.js';
8
8
  import { computeEmbedding, hasEmbedProvider } from '../embeddings.js';
9
9
  // ── Changelog (shown once per version in session_start) ──────────────────────
10
- const MCP_VERSION = '0.10.79';
10
+ const MCP_VERSION = '0.10.80';
11
11
  const WHATS_NEW = {
12
+ '0.10.80': [
13
+ `🌱 **Starter corpus — first recall in seconds, not sessions**`,
14
+ ` 📚 \`brain_seed_starter(instance_id)\` — seed 16 curated universal lessons (Docker cache, JWT skew, K8s OOM, N+1, cache stampede…)`,
15
+ ` 🚀 Auto-seeds on first session when git history is empty/shallow — your first \`smart_recall\` returns a real hit`,
16
+ ` 🛡️ Tagged \`source:"starter"\`, idempotent, never overrides your own lessons`,
17
+ ` ⏱️ Directly attacks time-to-first-recall (<2 min goal); stamps \`born_at\` on seed`,
18
+ ` 🧪 18 new tests: seeding, idempotency, topic_filter, force, user-lesson protection`,
19
+ ` 📊 113 MCP tools`,
20
+ ],
12
21
  '0.10.79': [
13
22
  `🌐 **Brain Marketplace — full shareable Brain lifecycle**`,
14
23
  ` 📋 \`brain_share_list(instance_id)\` — see all your public shares with lesson counts + share IDs`,
@@ -1090,6 +1099,11 @@ export async function handleBrainTool(name, args, getConnection, apiFetch) {
1090
1099
  lines.push(' • End each session → `session_end(summary="What I did")` — auto-learns from git commits');
1091
1100
  lines.push(' • After fixing bugs → `learn_from_attempts(topic="...", outcome="success", what_worked="...")`');
1092
1101
  lines.push('');
1102
+ lines.push('🌱 **Want answers right now?** Seed 16 universal engineering lessons so your first');
1103
+ lines.push(' `smart_recall` returns a hit instead of nothing:');
1104
+ lines.push(` \`brain_seed_starter(instance_id="${instance_id}")\``);
1105
+ lines.push(' _(Docker cache, JWT skew, K8s OOM, N+1 queries, cache stampede… — never overrides your own lessons.)_');
1106
+ lines.push('');
1093
1107
  lines.push('💡 Run `brain_doctor` for a health-check and personalised tips.');
1094
1108
  lines.push('');
1095
1109
  }