pi-jarvis 1.3.1 → 1.3.2

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 (3) hide show
  1. package/AGENTS.md +1 -0
  2. package/README.md +5 -4
  3. package/package.json +17 -5
package/AGENTS.md CHANGED
@@ -17,6 +17,7 @@
17
17
  - `follow-main` thinking follows the main thinking level regardless of model selection, except xAI `/jarvis` models force thinking `off`.
18
18
  - `/compact`, `/tree`, and `/new` entered inside `/jarvis` operate on the isolated `/jarvis` side-session, not the main Pi session.
19
19
  - `Note main` and `Redirect` stay disabled when the active `/jarvis` model is incompatible with bridge tools.
20
+ - Published package keeps Pi runtime packages and `pi-mcp-adapter` as optional peers so installing `pi-jarvis` does not pull the full Pi/AI/MCP dependency stack; MCP becomes available only when the host environment provides `pi-mcp-adapter`.
20
21
 
21
22
  ## Validation
22
23
  - Run `npm test` for full validation.
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
  [![Pi extension](https://img.shields.io/badge/Pi-extension-06b6d4?style=for-the-badge)](https://github.com/fluxgear/pi-jarvis)
14
14
  [![TypeScript](https://img.shields.io/badge/TypeScript-powered-2563eb?style=for-the-badge)](./package.json)
15
15
 
16
- <p><strong>Current version:</strong> 1.3.1</p>
16
+ <p><strong>Current version:</strong> 1.3.2</p>
17
17
 
18
18
  <p>
19
19
  <strong>Persistent side session</strong> ·
@@ -119,6 +119,10 @@ Stay in the main lane when you want:
119
119
  npm install pi-jarvis
120
120
  ```
121
121
 
122
+ This package is meant to run **inside a Pi installation** that already provides the Pi runtime packages. Those host packages are declared as optional peers so npm does not install a second copy of the full Pi/AI provider stack just to add this extension.
123
+
124
+ MCP support is optional. If you want the `/jarvis` Repo tools toggle to expose the `mcp` tool, install `pi-mcp-adapter` in the same Pi environment; otherwise `/jarvis` still enables local `read`, `bash`, `edit`, and `write` tools when you opt in.
125
+
122
126
  ### 2) Register the extension in Pi
123
127
 
124
128
  Use the package's published extension entrypoint:
@@ -126,9 +130,6 @@ Use the package's published extension entrypoint:
126
130
  ```text
127
131
  ./dist/index.js
128
132
  ```
129
-
130
- This package is meant to run **inside a Pi installation** that provides the required peer dependencies.
131
-
132
133
  ### 3) Open Jarvis
133
134
 
134
135
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-jarvis",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "A /jarvis side-conversation overlay extension for Pi.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -48,13 +48,25 @@
48
48
  "test": "npm run check && node --import tsx test/jarvis.test.ts",
49
49
  "verify:release": "node --import tsx test/release-verification.test.ts"
50
50
  },
51
- "dependencies": {
52
- "pi-mcp-adapter": "^2.2.1"
53
- },
54
51
  "peerDependencies": {
55
52
  "@mariozechner/pi-ai": "*",
56
53
  "@mariozechner/pi-coding-agent": "*",
57
- "@mariozechner/pi-tui": "*"
54
+ "@mariozechner/pi-tui": "*",
55
+ "pi-mcp-adapter": "^2.2.1"
56
+ },
57
+ "peerDependenciesMeta": {
58
+ "@mariozechner/pi-ai": {
59
+ "optional": true
60
+ },
61
+ "@mariozechner/pi-coding-agent": {
62
+ "optional": true
63
+ },
64
+ "@mariozechner/pi-tui": {
65
+ "optional": true
66
+ },
67
+ "pi-mcp-adapter": {
68
+ "optional": true
69
+ }
58
70
  },
59
71
  "devDependencies": {
60
72
  "@mariozechner/pi-ai": "0.69.0",