Skip to content

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

docs: reconcile README with MCP/hooks; drop unused test import

Shrish Dwivedi0bdf00363a2f
diff --git a/README.md b/README.md
index e1e6ad55..fc20c91a 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ npm install -g @nanonets/graft # install the CLI, once
graft init # build the graph + wire it into Claude Code
```
-That is the whole setup. `graft init` builds `graft/` from your code and drops a statusline and hooks into `.claude/`, so from the next session on Graft rides along in Claude Code: it pulls the matching nodes into each prompt and rebuilds the graph in the background after every turn. No daemon, no MCP server, no re-indexing to remember, and nothing else to run.
+That is the whole setup. `graft init` builds `graft/` from your code and drops a statusline and hooks into `.claude/`, so from the next session on Graft rides along in Claude Code: it pulls the matching nodes into each prompt and rebuilds the graph in the background after every turn. No daemon, no re-indexing to remember, nothing to run or maintain by default — the graph is just files.
Commit `graft/` so everyone who clones the repo (and their agents) gets the map:
@@ -72,6 +72,8 @@ npx @nanonets/graft init
| `--all-agents` | write instruction files for every known agent, detected or not |
| `--no-agents` | Claude Code wiring only; skip other agents |
| `--list-agents` | print the known agent ids and exit |
+| `--no-mcp` | skip MCP server registration |
+| `--no-hooks` | skip hook installation |
### MCP server
diff --git a/test/hosts-registry.test.ts b/test/hosts-registry.test.ts
index 64cde170..15c07680 100644
--- a/test/hosts-registry.test.ts
+++ b/test/hosts-registry.test.ts
@@ -4,7 +4,7 @@ import { mkdtempSync, mkdirSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
import { HOSTS, detectHosts, hostIds, type DetectProbe } from '../src/hosts/registry.js';
-import { existsSync, statSync } from 'node:fs';
+import { statSync } from 'node:fs';
function probeFor(home: string, repo: string): DetectProbe {
return {