@zosmaai/pi-llm-wiki 0.10.1 → 0.10.3
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
|
@@ -16,19 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
<br/>
|
|
18
18
|
|
|
19
|
-
<div align="center">
|
|
20
|
-
<a href="https://github.com/zosmaai/pi-llm-wiki/stargazers">
|
|
21
|
-
<img src="./assets/thank-you-for-the-star.png" alt="Thank you for starring pi-llm-wiki!" width="100%" />
|
|
22
|
-
</a>
|
|
23
|
-
<br/>
|
|
24
|
-
<sub>
|
|
25
|
-
If you find pi-llm-wiki useful,
|
|
26
|
-
<a href="https://github.com/zosmaai/pi-llm-wiki">⭐ star the repo</a> —
|
|
27
|
-
it lets us know we're building something that matters.
|
|
28
|
-
</sub>
|
|
29
|
-
</div>
|
|
30
19
|
|
|
31
|
-
<br/>
|
|
32
20
|
|
|
33
21
|
**Self-maintaining, Obsidian-compatible knowledge base for [pi](https://pi.dev).**
|
|
34
22
|
Follows Andrej Karpathy's [LLM Wiki pattern](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f).
|
|
@@ -402,9 +390,19 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, test patterns, and
|
|
|
402
390
|
|
|
403
391
|
---
|
|
404
392
|
|
|
405
|
-
|
|
393
|
+
<div align="center">
|
|
394
|
+
<a href="https://github.com/zosmaai/pi-llm-wiki/stargazers">
|
|
395
|
+
<img src="./assets/thank-you-for-the-star.png" alt="Thank you for starring pi-llm-wiki!" width="100%" />
|
|
396
|
+
</a>
|
|
397
|
+
<br/>
|
|
398
|
+
<sub>
|
|
399
|
+
If you find pi-llm-wiki useful,
|
|
400
|
+
<a href="https://github.com/zosmaai/pi-llm-wiki">⭐ star the repo</a> —
|
|
401
|
+
it lets us know we're building something that matters.
|
|
402
|
+
</sub>
|
|
403
|
+
</div>
|
|
406
404
|
|
|
407
|
-
|
|
405
|
+
<br/>
|
|
408
406
|
|
|
409
407
|
## Contributors
|
|
410
408
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { existsSync, mkdirSync,
|
|
1
|
+
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
4
4
|
import type { Api, Model } from "@mariozechner/pi-ai";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { existsSync, mkdirSync, readFileSync, readdirSync,
|
|
2
|
-
import { join
|
|
1
|
+
import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
|
|
2
|
+
import { join } from "node:path";
|
|
3
3
|
import {
|
|
4
4
|
type VaultPaths,
|
|
5
5
|
extractWikilinks,
|
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
fmtDate,
|
|
8
8
|
parseFrontmatter,
|
|
9
9
|
readJson,
|
|
10
|
-
readText,
|
|
11
10
|
writeJson,
|
|
12
11
|
} from "./utils.js";
|
|
13
12
|
|
package/mcp/index.ts
CHANGED
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
import { existsSync, readFileSync } from "node:fs";
|
|
16
16
|
import { join } from "node:path";
|
|
17
|
-
import { McpServer } from "@modelcontextprotocol/server";
|
|
18
|
-
import { StdioServerTransport } from "@modelcontextprotocol/server/stdio";
|
|
17
|
+
import { McpServer, StdioServerTransport } from "@modelcontextprotocol/server";
|
|
19
18
|
import * as z from "zod/v4";
|
|
20
19
|
|
|
21
20
|
// ─── Wiki Vault Detection ──────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zosmaai/pi-llm-wiki",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"description": "Self-maintaining LLM Wiki for Pi — Karpathy-pattern knowledge base with immutable source capture, automated ingestion, search, linting, and Obsidian-compatible vault. auto-updating personal & company wiki.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
],
|
|
60
60
|
"image": "https://raw.githubusercontent.com/zosmaai/pi-llm-wiki/main/assets/screenshot.png",
|
|
61
61
|
"mcpservers": {
|
|
62
|
-
"llm-wiki": "node ./mcp/index.
|
|
62
|
+
"llm-wiki": "node ./mcp/index.ts"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
@@ -70,8 +70,10 @@
|
|
|
70
70
|
"node": ">=18"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
+
"@cfworker/json-schema": "^4.1.1",
|
|
73
74
|
"@modelcontextprotocol/server": "^2.0.0-alpha.2",
|
|
74
|
-
"node-html-markdown": "^2.0.0"
|
|
75
|
+
"node-html-markdown": "^2.0.0",
|
|
76
|
+
"zod": "^4.0"
|
|
75
77
|
},
|
|
76
78
|
"devDependencies": {
|
|
77
79
|
"@biomejs/biome": "^1.9.4",
|