@cachly-dev/mcp-server 0.10.87 → 0.10.89

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
@@ -22,7 +22,7 @@
22
22
  <img src="https://img.shields.io/badge/GDPR-EU%20servers-green" alt="GDPR: EU servers" />
23
23
  </a>
24
24
  &nbsp;
25
- <img src="https://img.shields.io/badge/107%20MCP%20tools-violet" alt="107 MCP tools" />
25
+ <img src="https://img.shields.io/badge/114%20MCP%20tools-violet" alt="114 MCP tools" />
26
26
  &nbsp;
27
27
  <img src="https://img.shields.io/badge/License-Apache--2.0-yellow" alt="License: Apache-2.0" />
28
28
  </p>
@@ -101,30 +101,20 @@ Like what you see? Make it permanent in the next step.
101
101
 
102
102
  ---
103
103
 
104
- ## The plan — three steps, then it's automatic
105
-
106
- ### 1. Run one command
104
+ ## Setup — one command
107
105
 
108
106
  ```bash
109
- npx @cachly-dev/mcp-server@latest setup
107
+ npx @cachly-dev/mcp-server@latest autopilot
110
108
  ```
111
109
 
112
- It signs you in (one browser click, no password, no credit card), detects every AI
113
- editor you use, writes the MCP config, seeds your brain from git history, and installs
114
- a git hook so it keeps learning.
115
-
116
- ### 2. Restart your editor
117
-
118
- That's it. From now on your AI arrives pre-briefed — every session.
119
-
120
- ### 3. Just work
121
-
122
- cachly learns in the background. You never have to "remember to save." Every fix,
123
- every commit, every session feeds the brain automatically.
110
+ Autopilot does everything in a single command: it auto-detects every AI editor you use,
111
+ writes the MCP config, signs you in via browser device-flow (one click, no password, no
112
+ credit card), and bootstraps your brain from git history. Restart your editor and your AI
113
+ arrives pre-briefed — every session, automatically.
124
114
 
125
115
  > **Already inside Claude / Cursor / Copilot?** Paste this to your AI and it configures everything itself:
126
116
  > ```
127
- > Set up cachly for this project. Run: npx @cachly-dev/mcp-server@latest setup
117
+ > Set up cachly for this project. Run: npx @cachly-dev/mcp-server@latest autopilot
128
118
  > It gives my AI persistent memory across sessions. Follow the browser login
129
119
  > (one click, no credit card), then restart the editor.
130
120
  > ```
@@ -234,8 +224,9 @@ causal_trace(problem="auth breaks after restart")
234
224
  ## CLI Commands
235
225
 
236
226
  ```bash
227
+ npx @cachly-dev/mcp-server@latest autopilot # One command — signs in, configures every editor, bootstraps from git
237
228
  npx @cachly-dev/mcp-server@latest demo # Preview your Brain (no account needed)
238
- npx @cachly-dev/mcp-server@latest setup # Wire up all your AI editors (1–5 minutes)
229
+ npx @cachly-dev/mcp-server@latest setup # Interactive variant — pick editors yourself
239
230
  npx @cachly-dev/mcp-server@latest health # Check token, API, editors, git hook
240
231
  npx @cachly-dev/mcp-server@latest digest # Weekly Brain summary — shareable
241
232
  npx @cachly-dev/mcp-server@latest share # Generate a shareable stats card + tweet
@@ -252,7 +243,7 @@ npx @cachly-dev/mcp-server@latest learn-git # Auto-learn lessons from recent git
252
243
 
253
244
  ---
254
245
 
255
- ## MCP Tools (113 total)
246
+ ## MCP Tools (114 total)
256
247
 
257
248
  ### 🧠 Session & Memory (most used)
258
249
 
@@ -344,7 +335,7 @@ sessions + WIP registry — typically one tool call.
344
335
 
345
336
  ## Editor support matrix
346
337
 
347
- `npx @cachly-dev/mcp-server@latest setup` auto-detects and configures all of the
338
+ `npx @cachly-dev/mcp-server@latest autopilot` auto-detects and configures all of the
348
339
  following. Manual snippets are in the **Manual Setup** section below.
349
340
 
350
341
  | Editor / Client | Auto-setup | Config file written | Global config | Notes |
@@ -370,7 +361,7 @@ following. Manual snippets are in the **Manual Setup** section below.
370
361
 
371
362
  > **Tip — fastest per-project setup from inside Claude Code:**
372
363
  > ```
373
- > Set up cachly for this project: npx @cachly-dev/mcp-server@latest setup
364
+ > Set up cachly for this project: npx @cachly-dev/mcp-server@latest autopilot
374
365
  > ```
375
366
  > Claude runs it and restarts automatically.
376
367
 
@@ -455,7 +446,7 @@ private backend instead of `api.cachly.dev`:
455
446
 
456
447
  ```bash
457
448
  # One-shot: wire up the wizard against your self-hosted backend
458
- npx @cachly-dev/mcp-server@latest setup --api-url https://cachly.mycorp.internal
449
+ npx @cachly-dev/mcp-server@latest autopilot --api-url https://cachly.mycorp.internal
459
450
 
460
451
  # Or non-interactively
461
452
  npx @cachly-dev/mcp-server@latest init \
@@ -513,5 +504,5 @@ keep talking to your backend on every editor launch. All data stays in your infr
513
504
  > brain that remembers, learns, and gets sharper with every commit.
514
505
  >
515
506
  > ```bash
516
- > npx @cachly-dev/mcp-server@latest setup
507
+ > npx @cachly-dev/mcp-server@latest autopilot
517
508
  > ```
@@ -7,8 +7,23 @@ 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.87';
10
+ const MCP_VERSION = '0.10.89';
11
11
  const WHATS_NEW = {
12
+ '0.10.89': [
13
+ `⚡ **One-command onboarding — \`autopilot\` is now the single canonical setup**`,
14
+ ` 🚀 Every surface (README, docs, emails, dashboard, blog) now leads with \`npx @cachly-dev/mcp-server@latest autopilot\` — one command signs you in, configures every editor, and bootstraps from git`,
15
+ ` 🧹 Retired the split-brain instructions (legacy \`@cachly-dev/init\` wrapper + the old "three steps") so there's exactly one thing to copy-paste`,
16
+ ` 🔧 Fixed a build-breaking duplicate \`export\` on buildClaudeMdBlock that failed CI on v0.10.88`,
17
+ ` 🔢 Version hygiene — package.json, server.json, lockfile and MCP_VERSION resynced (server.json/lockfile were stuck at 0.10.85)`,
18
+ ` 📊 114 MCP tools`,
19
+ ],
20
+ '0.10.88': [
21
+ `✅ **Honest setup + tested config writer (v0.10.88)**`,
22
+ ` 🔒 setup/autopilot now report the truth: if no editor config could be written it exits non-zero with the exact failures instead of falsely claiming "Brain is ready"`,
23
+ ` 📊 New setup_config_write_failed telemetry — permission/path failures that block activation are now visible in reporting`,
24
+ ` 🧪 24 new unit tests for the config writer (buildServerEnv, buildMcpConfig, mergeMcpConfig, buildClaudeMdBlock) — the merge logic that must never clobber your other MCP servers is now regression-guarded`,
25
+ ` 📊 114 MCP tools`,
26
+ ],
12
27
  '0.10.87': [
13
28
  `🌐 **Multi-editor auth persistence + full activation telemetry (v0.10.87)**`,
14
29
  ` ✅ JWT + instance_id now persisted to Cursor (\`~/.cursor/mcp.json\`) and Windsurf configs on auth — no more infinite re-auth for non-Claude-Code users`,