pi-mcp-client 0.0.0 → 0.2.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 (4) hide show
  1. package/README.md +338 -0
  2. package/dist/index.js +3726 -0
  3. package/package.json +54 -8
  4. package/index.js +0 -2
package/package.json CHANGED
@@ -1,17 +1,63 @@
1
1
  {
2
2
  "name": "pi-mcp-client",
3
- "version": "0.0.0",
4
- "description": "MCP client extension for Pi. Initial placeholder; MCP functionality is not implemented yet.",
3
+ "version": "0.2.0",
4
+ "description": "MCP tools for Pi, discovered on demand and called natively through the official SDK.",
5
5
  "type": "module",
6
- "main": "index.js",
7
- "files": ["index.js", "LICENSE"],
8
- "author": "Matthias Vallentin",
9
6
  "license": "MIT",
7
+ "author": "Matthias Vallentin",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/mavam/pi-mcp-client.git"
11
+ },
12
+ "keywords": [
13
+ "pi-package",
14
+ "pi-extension",
15
+ "mcp",
16
+ "model-context-protocol"
17
+ ],
18
+ "engines": {
19
+ "node": ">=22"
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "README.md",
24
+ "LICENSE"
25
+ ],
10
26
  "pi": {
11
- "extensions": ["./index.js"]
27
+ "extensions": [
28
+ "./dist/index.js"
29
+ ]
12
30
  },
13
31
  "publishConfig": {
14
- "access": "public",
15
- "registry": "https://registry.npmjs.org/"
32
+ "access": "public"
33
+ },
34
+ "scripts": {
35
+ "build": "rm -rf dist && esbuild src/index.ts --bundle --format=esm --platform=node --outfile=dist/index.js --external:@earendil-works/pi-coding-agent --external:@earendil-works/pi-ai --external:@earendil-works/pi-tui --external:typebox --external:@modelcontextprotocol/client --external:@modelcontextprotocol/client/* --external:@napi-rs/keyring",
36
+ "check": "tsc --noEmit && bun test",
37
+ "test": "bun test",
38
+ "prepack": "bun run build"
39
+ },
40
+ "dependencies": {
41
+ "@modelcontextprotocol/client": "2.0.0",
42
+ "@napi-rs/keyring": "^1.3.0",
43
+ "minisearch": "^7.2.0"
44
+ },
45
+ "devDependencies": {
46
+ "@earendil-works/pi-ai": "^0.85.1",
47
+ "@earendil-works/pi-coding-agent": "^0.85.1",
48
+ "@earendil-works/pi-tui": "^0.85.1",
49
+ "@modelcontextprotocol/server": "2.0.0",
50
+ "@types/bun": "^1.3.0",
51
+ "@types/node": "^24.0.0",
52
+ "esbuild": "^0.25.0",
53
+ "typebox": "^1.1.0",
54
+ "typescript": "^5.9.0",
55
+ "zod": "^4.0.0"
56
+ },
57
+ "peerDependencies": {
58
+ "@earendil-works/pi-ai": ">=0.85.1",
59
+ "@earendil-works/pi-coding-agent": ">=0.85.1",
60
+ "@earendil-works/pi-tui": ">=0.85.1",
61
+ "typebox": "^1.1.0"
16
62
  }
17
63
  }
package/index.js DELETED
@@ -1,2 +0,0 @@
1
- // Initial placeholder. MCP functionality is not implemented yet.
2
- export default function mcpClient(_pi) {}