klypix-mcp 1.81.0 → 1.82.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.
Files changed (2) hide show
  1. package/README.md +47 -16
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -3,6 +3,21 @@
3
3
  **Active state management for multi-agent coding — a local-first active context engine with a shared brain.**
4
4
  *One project. One shared understanding.*
5
5
 
6
+ [![CI](https://img.shields.io/github/actions/workflow/status/dahshanlabs/klypix-mcp/ci.yml?branch=master&style=flat-square&label=CI)](https://github.com/dahshanlabs/klypix-mcp/actions/workflows/ci.yml)
7
+ [![npm](https://img.shields.io/npm/v/klypix-mcp?style=flat-square)](https://www.npmjs.com/package/klypix-mcp)
8
+ [![License](https://img.shields.io/github/license/dahshanlabs/klypix-mcp?style=flat-square)](LICENSE)
9
+ [![Node](https://img.shields.io/node/v/klypix-mcp?style=flat-square)](package.json)
10
+ [![MCP](https://img.shields.io/badge/MCP-server-475569?style=flat-square)](https://modelcontextprotocol.io)
11
+ [![bench](https://img.shields.io/badge/npx_klypix--mcp_bench-10_writers_%C2%B7_0_lost-475569?style=flat-square)](BENCHMARKS.md)
12
+
13
+ [![Claude Code](https://img.shields.io/badge/Claude_Code-5_lifecycle_hooks-475569?style=flat-square)](#supported-hosts-and-their-integration-level)
14
+ [![Codex](https://img.shields.io/badge/Codex-native_MCP_%2B_presence-475569?style=flat-square)](#supported-hosts-and-their-integration-level)
15
+ [![Cursor](https://img.shields.io/badge/Cursor-MCP_config_%2B_rules-475569?style=flat-square)](#supported-hosts-and-their-integration-level)
16
+ [![Gemini CLI](https://img.shields.io/badge/Gemini_CLI-MCP_config_%2B_rules-475569?style=flat-square)](#supported-hosts-and-their-integration-level)
17
+
18
+ <sub>Host badges name the **integration level**, not a flat "compatible" — the levels and what is
19
+ actually tested are in [Supported hosts](#supported-hosts-and-their-integration-level).</sub>
20
+
6
21
  **One actively managed project brain for multi-agent coding.** `klypix-mcp` keeps one versioned
7
22
  `brain.klypix` in your repo: the project's active state — current decisions, corrections, evidence
8
23
  anchors, open questions, active work, and handoffs. Corrections supersede stale decisions,
@@ -12,10 +27,25 @@ write to it over MCP. You read it and correct it in the [KLYPIX app](https://kly
12
27
 
13
28
  > **One project. Many agents. One current understanding.**
14
29
 
30
+ ![Two real MCP sessions on one project: Session B declares a file Session A already declared, and the server's exact-file-overlap warning fires; Session A then records a correction that supersedes its stale card](docs/demo/demo.gif)
31
+
32
+ <sub>Real output, not a mockup: both panes run a real MCP client against this server
33
+ ([docs/demo/](docs/demo/) — the GIF is re-rendered by CI from a scripted tape, so it can never
34
+ drift from what the product actually does).</sub>
35
+
15
36
  Klypix does not launch, run, supervise, or replace your agents. It is not an agent runtime, a model
16
37
  router, a worktree manager, or a replacement for Git. It is the layer underneath them that holds
17
38
  what the project currently believes.
18
39
 
40
+ ## See the shared project brain in action
41
+
42
+ [![Watch the 2 minute 21 second KLYPIX Brain product walkthrough](https://raw.githubusercontent.com/dahshanlabs/klypix-mcp/master/docs/assets/klypix-brain-showcase-readme.jpg)](https://klypix.com/developers#demo)
43
+
44
+ Watch how current decisions, corrections, evidence, and active work stay visible to people and
45
+ carry forward into supported coding-agent sessions.
46
+
47
+ **[Watch the 2:21 showcase with sound](https://klypix.com/developers#demo)**
48
+
19
49
  ---
20
50
 
21
51
  ## The problem
@@ -93,10 +123,10 @@ Run this **inside your project**:
93
123
  npx klypix-mcp install
94
124
  ```
95
125
 
96
- One command, every editor. It finds the project root (walking up, so running it from `src/` is
97
- fine), gives the project a brain if it doesn't have one, wires the agent tools you actually have
98
- installed, registers the lossless `.klypix` merge driver if it's a git repo, and then **proves the
99
- result** before it exits:
126
+ One command for supported editors detected on this machine. It finds the project root (walking up,
127
+ so running it from `src/` is fine), gives the project a brain if it doesn't have one, wires the
128
+ agent tools you actually have installed, registers the lossless `.klypix` merge driver if it's a
129
+ git repo, and then **proves the result** before it exits:
100
130
 
101
131
  ```text
102
132
  project E:\work\api (git repository root)
@@ -114,7 +144,7 @@ broken entry dies in ~100ms with `Connection closed` and is reported, not shippe
114
144
 
115
145
  What goes where:
116
146
 
117
- - **Machine-global, once** — the engine + runtime in `~/.claude/project-brain`, Claude Code's four
147
+ - **Machine-global, once** — the engine + runtime in `~/.claude/project-brain`, Claude Code's five
118
148
  lifecycle hooks in `~/.claude/settings.json`, and the `~/.codex/AGENTS.md` guidance block. Claude
119
149
  Code is therefore covered in every project on that machine that has a `./brain.klypix`.
120
150
  - **Per project** — MCP config and rules for Cursor, Codex, Cline, Windsurf, Copilot, Gemini CLI /
@@ -269,7 +299,7 @@ behaviour is unverified.
269
299
 
270
300
  | Host | Level | Wired by | Brief into context | Decision capture | Live presence |
271
301
  |---|---|---|---|---|---|
272
- | **Claude Code** | Full automatic (4 lifecycle hooks) | `install` | Automatic at session start, task-ranked retrieval per prompt | **Automatic** at turn end | Yes |
302
+ | **Claude Code** | Full automatic (5 lifecycle hooks) | `install` | Automatic at session start, task-ranked retrieval per prompt | **Automatic** at turn end | Yes |
273
303
  | **Codex** | Native MCP + presence + Context Gateway; optional `--codex-hooks` | `install` | Via `brain_sync`; per-prompt injection only with `--codex-hooks` | **Explicit only** (`brain_note`) — never automatic | Yes |
274
304
  | **Cursor** | MCP config + always-on rules file | `link` | Model must call `brain_sync` | Model must call `brain_note` | For the MCP connection |
275
305
  | **Cline** | MCP config + always-on rules file | `link` | Model must call `brain_sync` | Model must call `brain_note` | For the MCP connection |
@@ -279,9 +309,10 @@ behaviour is unverified.
279
309
  | **Aider** | Rules file only (no MCP) | `link` | CLI path: `npx klypix-read` | CLI path: `npx klypix-append` | — |
280
310
  | **Claude Desktop** | One-time manual config edit | you | Model must call `brain_sync` | Model must call `brain_note` | For the MCP connection |
281
311
 
282
- `install` and `link` are different things and are not interchangeable: `install` only touches Claude
283
- Code and Codex, and is machine-global for everything except Codex's MCP connection, which it writes
284
- per project (see *Quick start*); `link` is per project and is what wires everything else.
312
+ `install` and `link` are different things and are not interchangeable: `install` sets up the
313
+ machine engine and hooks, then wires supported hosts detected for this project (see *Quick start*).
314
+ `link` is the explicit per-project repair/projection path for all 14 managed files, regardless of
315
+ which hosts are installed.
285
316
 
286
317
  **Claude Desktop** — add this to `claude_desktop_config.json` by hand; nothing writes that file
287
318
  for you:
@@ -301,8 +332,8 @@ for you:
301
332
 
302
333
  ## Task briefing
303
334
 
304
- Every Claude Code session starts already knowing the project: a bounded ~5KB brief in context, with
305
- the full brief written to disk for when broad history or status work needs it.
335
+ Every Claude Code session starts already knowing the project: a bounded brief of at most 2KB in
336
+ context, with the full brief written to disk for when broad history or status work needs it.
306
337
 
307
338
  Every other host gets a bounded ~2.8KB task capsule from one `brain_sync` call, plus a compact
308
339
  always-loaded `AGENTS.md` block that tells the agent to make that call at task start, when scope
@@ -323,8 +354,8 @@ dedup, supersession, round-trip re-adoption receipts, `✓` resolve, `~` update
323
354
  `closes:` — and stamps which agent wrote the card. A `✓` question preference ranks only candidates
324
355
  that already clear raw lexical overlap and two subject-identity anchors; generic lifecycle wording
325
356
  cannot turn weak overlap into a closure.
326
- (If you install the git commit hook from the KLYPIX app, commit messages also capture automatically,
327
- for any agent. That hook has no CLI installer.)
357
+ (If you install the git commit hook from the KLYPIX app or run `npx klypix-mcp git-hook install`,
358
+ commit messages also capture automatically for any agent.)
328
359
 
329
360
  `brain_challenge` is the other direction: propose a decision and the brain answers with receipts —
330
361
  prior decisions that deterministically contradict it, standing rules that dispute it, and
@@ -525,7 +556,7 @@ The MCP verbs below are what agents call. These are what **you** call:
525
556
 
526
557
  ---
527
558
 
528
- ## The 26 verbs
559
+ ## The 22 verbs
529
560
 
530
561
  | Tool | What it does |
531
562
  |---|---|
@@ -552,7 +583,7 @@ The MCP verbs below are what agents call. These are what **you** call:
552
583
  | `add_to_canvas` | Append cards/connections (positions preserved) |
553
584
  | `list_canvases` | List every `.klypix` in the vault |
554
585
 
555
- Exactly 26, machine-verifiable with `npx klypix-mcp doctor`.
586
+ Exactly 22, machine-verifiable with `npx klypix-mcp doctor`.
556
587
 
557
588
  > **`canvas_view`:** no MCP Apps host has been observed rendering the UI resource yet — there is no
558
589
  > screenshot and no host-level test. Hosts without the extension get clean text, which is the path
@@ -757,7 +788,7 @@ Your `brain.klypix` is yours — it is a plain ZIP and stays readable with or wi
757
788
  Issues and pull requests: [github.com/dahshanlabs/klypix-mcp](https://github.com/dahshanlabs/klypix-mcp).
758
789
  Questions or feedback: [hello@klypix.com](mailto:hello@klypix.com).
759
790
 
760
- The repository carries 68 test files: 62 listed directly in `scripts.test`, plus the
791
+ The repository carries 89 test files: 83 listed directly in `scripts.test`, plus the
761
792
  `pretest` workflow gate. Together they cover the presence
762
793
  lane and its cross-machine relay, the Context Gateway, supervisor hot-swap, auto-update, retrieval
763
794
  quality, decay, challenge, lenses, the format guard, the git tools (including a real `git merge`
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "klypix-mcp",
3
- "version": "1.81.0",
3
+ "version": "1.82.0",
4
+ "mcpName": "io.github.dahshanlabs/klypix-mcp",
4
5
  "description": "Active state management for multi-agent coding: a shared, versioned project brain over MCP.",
5
6
  "type": "module",
6
7
  "license": "Apache-2.0",
@@ -23,7 +24,7 @@
23
24
  "klypix",
24
25
  "ai"
25
26
  ],
26
- "homepage": "https://klypix.com",
27
+ "homepage": "https://github.com/dahshanlabs/klypix-mcp#readme",
27
28
  "repository": {
28
29
  "type": "git",
29
30
  "url": "https://github.com/dahshanlabs/klypix-mcp"
@@ -76,7 +77,7 @@
76
77
  "NOTICE"
77
78
  ],
78
79
  "engines": {
79
- "node": ">=18"
80
+ "node": ">=20"
80
81
  },
81
82
  "scripts": {
82
83
  "test:project-graph": "node test/project-graph.mjs",