Skip to content

Commit 3393fc5

Browse files
committed
refactor: complete vault-bridge -> llm-wiki rename across all files
All source files, configs, agent discovery, skills, MCP identifiers, console.log messages, i18n READMEs, plugin folder, and generated templates now use llm-wiki consistently. Zero vault-bridge references remain in tracked files.
1 parent d35e649 commit 3393fc5

16 files changed

Lines changed: 42 additions & 42 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "vault-bridge",
2+
"name": "llm-wiki",
33
"owner": "2233admin",
44
"plugins": [
55
{
6-
"name": "vault-bridge",
6+
"name": "llm-wiki",
77
"path": "."
88
}
99
]

.claude-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "vault-bridge",
2+
"name": "llm-wiki",
33
"version": "0.2.0",
44
"description": "Obsidian vault as LLM knowledge infrastructure. Ingest, compile, query, lint, evolve -- Karpathy workflow with a real compiler engine.",
55
"author": "Curry",
66
"keywords": ["obsidian", "knowledge-base", "wiki", "mcp", "karpathy"],
7-
"skills": ["vault-bridge"]
7+
"skills": ["llm-wiki"]
88
}

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# vault-bridge
1+
# llm-wiki
22

33
Obsidian plugin that turns a vault into compiled LLM knowledge infrastructure. MCP server exposes vault CRUD, search, graph, lint, and init. A separate Python compiler engine handles deterministic operations (diffing, hashing, link validation, topology analysis).
44

@@ -17,7 +17,7 @@ Add to your agent's MCP config:
1717
```json
1818
{
1919
"mcpServers": {
20-
"vault-bridge": {
20+
"llm-wiki": {
2121
"command": "node",
2222
"args": ["/path/to/obsidian-llm-wiki/connector.js"]
2323
}
@@ -27,7 +27,7 @@ Add to your agent's MCP config:
2727

2828
Config file locations:
2929
- Claude Code: `.mcp.json` (project) or `~/.claude.json`
30-
- Codex CLI: `.codex/config.toml``[mcp_servers.vault-bridge]`
30+
- Codex CLI: `.codex/config.toml``[mcp_servers.llm-wiki]`
3131
- Gemini CLI: `.gemini/settings.json`
3232
- Cursor: `.cursor/mcp.json`
3333

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Vault Bridge -- LLM Knowledge Base Schema
1+
# LLM Wiki -- Knowledge Base Schema
22

3-
Opinionated workflow for maintaining a compiled knowledge wiki via vault-bridge.
3+
Opinionated workflow for maintaining a compiled knowledge wiki via LLM Wiki (obsidian-llm-wiki).
44
Transport: **MCP** (primary) or WebSocket. Filesystem fallback is a **global invariant** -- everything works when Obsidian is closed.
55

66
## First Action

README.ja.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[English](README.md) | [中文](README.zh.md) | **日本語**
1+
[English](README.md) | [中文](README.zh-CN.md) | **日本語**
22

33
# Obsidian LLM Wiki
44

@@ -48,7 +48,7 @@ node setup.js
4848

4949
### 1. プラグインをインストール
5050

51-
`main.js``manifest.json``styles.css`をボルトの`.obsidian/plugins/vault-bridge/`にコピーし、Obsidian Settings > Community Pluginsで有効にします。
51+
`main.js``manifest.json``styles.css`をボルトの`.obsidian/plugins/llm-wiki/`にコピーし、Obsidian Settings > Community Pluginsで有効にします。
5252

5353
### 2. エージェントを接続
5454

@@ -57,7 +57,7 @@ node setup.js
5757
```json
5858
{
5959
"mcpServers": {
60-
"vault-bridge": {
60+
"llm-wiki": {
6161
"command": "node",
6262
"args": ["/path/to/obsidian-llm-wiki/connector.js", "/path/to/your/vault"]
6363
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ That's it.
4848

4949
### 1. Install the plugin
5050

51-
Copy `main.js`, `manifest.json`, `styles.css` into your vault's `.obsidian/plugins/vault-bridge/`, then enable it in Obsidian Settings > Community Plugins.
51+
Copy `main.js`, `manifest.json`, `styles.css` into your vault's `.obsidian/plugins/llm-wiki/`, then enable it in Obsidian Settings > Community Plugins.
5252

5353
### 2. Connect your agent
5454

@@ -57,7 +57,7 @@ Add to `~/.claude/settings.json` (or `.cursor/mcp.json`):
5757
```json
5858
{
5959
"mcpServers": {
60-
"vault-bridge": {
60+
"llm-wiki": {
6161
"command": "node",
6262
"args": ["/path/to/obsidian-llm-wiki/connector.js", "/path/to/your/vault"]
6363
}

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ node setup.js
4848

4949
### 1. 装插件
5050

51-
`main.js``manifest.json``styles.css` 复制到你的库的 `.obsidian/plugins/vault-bridge/` 里,然后在 Obsidian 的设置 > 社区插件 里启用它。
51+
`main.js``manifest.json``styles.css` 复制到你的库的 `.obsidian/plugins/llm-wiki/` 里,然后在 Obsidian 的设置 > 社区插件 里启用它。
5252

5353
### 2. 连接你的智能体
5454

@@ -57,7 +57,7 @@ node setup.js
5757
```json
5858
{
5959
"mcpServers": {
60-
"vault-bridge": {
60+
"llm-wiki": {
6161
"command": "node",
6262
"args": ["/path/to/obsidian-llm-wiki/connector.js", "/path/to/your/vault"]
6363
}

connector.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
2-
// vault-bridge MCP connector -- stdio transport
2+
// llm-wiki MCP connector -- stdio transport
33
// Proxies to WS when Obsidian runs, filesystem fallback when it doesn't.
44

55
const fs = require("fs");
@@ -334,7 +334,7 @@ class FsTransport {
334334
ensureFile(`${base}/wiki/_sources.md`, `---\ntopic: "${p.topic}"\nupdated: ${now}\n---\n\n# Sources\n\nNo sources compiled yet.\n`);
335335
ensureFile(`${base}/wiki/_categories.md`, `---\ntopic: "${p.topic}"\nupdated: ${now}\n---\n\n# Categories\n\nAuto-generated during compilation.\n`);
336336
ensureFile(`${base}/Log.md`, `# ${p.topic} -- Operation Log\n\n- ${now}: KB initialized\n`);
337-
ensureFile(`${base}/schema/CLAUDE.md`, `# ${p.topic} -- KB Schema\n\nFollows vault-bridge opinionated workflow.\nSee root CLAUDE.md for full documentation.\n`);
337+
ensureFile(`${base}/schema/CLAUDE.md`, `# ${p.topic} -- KB Schema\n\nFollows llm-wiki opinionated workflow.\nSee root CLAUDE.md for full documentation.\n`);
338338
const yamlPath = `${base}/kb.yaml`;
339339
if (fs.existsSync(this.resolve(yamlPath))) { skipped.push(yamlPath); }
340340
else { fs.writeFileSync(this.resolve(yamlPath), `topic: "${p.topic}"\nvault_path: "${this.vault.replace(/\\\\/g, "/")}"\ncreated: ${now}\n`, "utf-8"); created.push(yamlPath); }
@@ -580,20 +580,20 @@ async function main() {
580580
const ws = new WsTransport(info);
581581
await ws.connect();
582582
transport = ws;
583-
process.stderr.write(`vault-bridge: connected to Obsidian WS on port ${info.port}\n`);
583+
process.stderr.write(`llm-wiki: connected to Obsidian WS on port ${info.port}\n`);
584584
} catch (err) {
585-
process.stderr.write(`vault-bridge: WS unavailable (${err.message}), using filesystem fallback\n`);
585+
process.stderr.write(`llm-wiki: WS unavailable (${err.message}), using filesystem fallback\n`);
586586
transport = new FsTransport(info.vault);
587587
}
588588
} else {
589589
// No port file -- try to find vault path from args or env
590590
const vaultPath = process.argv[2] || process.env.VAULT_BRIDGE_VAULT || "";
591591
if (!vaultPath) {
592-
process.stderr.write("vault-bridge: no port file and no vault path. Pass vault path as first argument.\n");
592+
process.stderr.write("llm-wiki: no port file and no vault path. Pass vault path as first argument.\n");
593593
process.exit(1);
594594
}
595595
transport = new FsTransport(vaultPath);
596-
process.stderr.write(`vault-bridge: filesystem mode on ${vaultPath}\n`);
596+
process.stderr.write(`llm-wiki: filesystem mode on ${vaultPath}\n`);
597597
}
598598

599599
const rl = readline.createInterface({ input: process.stdin, terminal: false });
@@ -615,7 +615,7 @@ async function main() {
615615
write({ jsonrpc: "2.0", id, result: {
616616
protocolVersion: "2024-11-05",
617617
capabilities: { tools: {} },
618-
serverInfo: { name: "vault-bridge", version: VERSION }
618+
serverInfo: { name: "llm-wiki", version: VERSION }
619619
}});
620620
return;
621621
}
@@ -674,4 +674,4 @@ function getToolDefinitions() {
674674
];
675675
}
676676

677-
main().catch((err) => { process.stderr.write(`vault-bridge: fatal: ${err.message}\n`); process.exit(1); });
677+
main().catch((err) => { process.stderr.write(`llm-wiki: fatal: ${err.message}\n`); process.exit(1); });

demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Demo script: shows vault-bridge in action
1+
// Demo script: shows llm-wiki in action
22
// Simulates what an AI agent does when connected to your vault
33
const WebSocket = require("ws");
44
const token = require("fs").readFileSync(require("os").homedir() + "/.obsidian-ws-port", "utf-8");

setup.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function installPlugin(vaultPath) {
165165
process.exit(1);
166166
}
167167

168-
const pluginDir = path.join(vaultPath, ".obsidian", "plugins", "vault-bridge");
168+
const pluginDir = path.join(vaultPath, ".obsidian", "plugins", "llm-wiki");
169169

170170
// Create plugin directory
171171
try {
@@ -226,7 +226,7 @@ function buildMcpEntry(vaultPath) {
226226
function printMcpSnippet(vaultPath) {
227227
const snippet = {
228228
mcpServers: {
229-
"vault-bridge": buildMcpEntry(vaultPath),
229+
"llm-wiki": buildMcpEntry(vaultPath),
230230
},
231231
};
232232
console.log();
@@ -248,7 +248,7 @@ async function configureMcp(rl, vaultPath) {
248248
info(`Target: ${settingsPath}`);
249249
printMcpSnippet(vaultPath);
250250

251-
const answer = await ask(rl, `${C.cyan} Add vault-bridge to Claude Code settings? (Y/n): ${C.reset}`);
251+
const answer = await ask(rl, `${C.cyan} Add llm-wiki to Claude Code settings? (Y/n): ${C.reset}`);
252252
if (answer.toLowerCase() === "n") {
253253
info("Skipped -- paste the snippet above into ~/.claude/settings.json manually.");
254254
return;
@@ -270,7 +270,7 @@ async function configureMcp(rl, vaultPath) {
270270
if (!settings.mcpServers || typeof settings.mcpServers !== "object") {
271271
settings.mcpServers = {};
272272
}
273-
settings.mcpServers["vault-bridge"] = buildMcpEntry(vaultPath);
273+
settings.mcpServers["llm-wiki"] = buildMcpEntry(vaultPath);
274274

275275
// Ensure ~/.claude directory exists
276276
const claudeDir = path.dirname(settingsPath);
@@ -285,7 +285,7 @@ async function configureMcp(rl, vaultPath) {
285285
try {
286286
fs.writeFileSync(settingsPath, JSON.stringify(settings, null, 2) + "\n", "utf-8");
287287
ok(`Updated ${settingsPath}`);
288-
dim(`Added: mcpServers["vault-bridge"]`);
288+
dim(`Added: mcpServers["llm-wiki"]`);
289289
} catch (err) {
290290
fail(`Could not write ${settingsPath}: ${err.message}`);
291291
info("Paste the snippet above into ~/.claude/settings.json manually.");

0 commit comments

Comments
 (0)