@juicesharp/rpiv-pi 0.4.2 → 0.4.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 +42 -37
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,9 +7,46 @@ Skill-based development workflow for [Pi Agent](https://github.com/badlogic/pi-m
|
|
|
7
7
|
|
|
8
8
|
## Prerequisites
|
|
9
9
|
|
|
10
|
-
- **[Pi Agent](https://github.com/badlogic/pi-mono)** — the `pi` command must be available
|
|
11
10
|
- **Node.js** — required by Pi Agent
|
|
12
|
-
- **
|
|
11
|
+
- **[Pi Agent](https://github.com/badlogic/pi-mono)** — install globally so the `pi` command is available:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install -g @mariozechner/pi-coding-agent
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
- **Model provider** *(first-time Pi Agent users only — skip if `/login` already works or `~/.pi/agent/models.json` is configured)*. Pick one:
|
|
18
|
+
|
|
19
|
+
- **Subscription login** — start Pi Agent and run `/login` to authenticate with Anthropic Claude Pro/Max, ChatGPT Plus/Pro, GitHub Copilot, or Gemini.
|
|
20
|
+
- **BYOK (API key)** — edit `~/.pi/agent/models.json` and add a provider entry with `baseUrl`, `api`, `apiKey`, and `models[]`. Example (z.ai GLM coding plan):
|
|
21
|
+
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"providers": {
|
|
25
|
+
"zai": {
|
|
26
|
+
"baseUrl": "https://api.z.ai/api/coding/paas/v4",
|
|
27
|
+
"api": "openai-completions",
|
|
28
|
+
"apiKey": "XXXXXXXXX",
|
|
29
|
+
"compat": {
|
|
30
|
+
"supportsDeveloperRole": false,
|
|
31
|
+
"thinkingFormat": "zai"
|
|
32
|
+
},
|
|
33
|
+
"models": [
|
|
34
|
+
{
|
|
35
|
+
"id": "glm-5.1",
|
|
36
|
+
"name": "glm-5.1 [coding plan]",
|
|
37
|
+
"reasoning": true,
|
|
38
|
+
"input": ["text"],
|
|
39
|
+
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
|
|
40
|
+
"contextWindow": 204800,
|
|
41
|
+
"maxTokens": 131072
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
- **git** *(recommended)* — rpiv-pi works without it, but branch and commit context won't be available to skills.
|
|
13
50
|
|
|
14
51
|
## Quick Start
|
|
15
52
|
|
|
@@ -19,47 +56,15 @@ Skill-based development workflow for [Pi Agent](https://github.com/badlogic/pi-m
|
|
|
19
56
|
pi install npm:@juicesharp/rpiv-pi
|
|
20
57
|
```
|
|
21
58
|
|
|
22
|
-
2.
|
|
23
|
-
|
|
24
|
-
- **Subscription login** — start Pi Agent and run `/login` to authenticate with Anthropic Claude Pro/Max, ChatGPT Plus/Pro, GitHub Copilot, or Gemini.
|
|
25
|
-
- **BYOK (API key)** — edit `~/.pi/agent/models.json` and add a provider entry with `baseUrl`, `api`, `apiKey`, and `models[]`. Example (z.ai GLM coding plan):
|
|
26
|
-
|
|
27
|
-
```json
|
|
28
|
-
{
|
|
29
|
-
"providers": {
|
|
30
|
-
"zai": {
|
|
31
|
-
"baseUrl": "https://api.z.ai/api/coding/paas/v4",
|
|
32
|
-
"api": "openai-completions",
|
|
33
|
-
"apiKey": "XXXXXXXXX",
|
|
34
|
-
"compat": {
|
|
35
|
-
"supportsDeveloperRole": false,
|
|
36
|
-
"thinkingFormat": "zai"
|
|
37
|
-
},
|
|
38
|
-
"models": [
|
|
39
|
-
{
|
|
40
|
-
"id": "glm-5.1",
|
|
41
|
-
"name": "glm-5.1 [coding plan]",
|
|
42
|
-
"reasoning": true,
|
|
43
|
-
"input": ["text"],
|
|
44
|
-
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
|
|
45
|
-
"contextWindow": 204800,
|
|
46
|
-
"maxTokens": 131072
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
3. Start a Pi Agent session and install sibling plugins:
|
|
59
|
+
2. Start a Pi Agent session and install sibling plugins:
|
|
55
60
|
|
|
56
61
|
```
|
|
57
62
|
/rpiv-setup
|
|
58
63
|
```
|
|
59
64
|
|
|
60
|
-
|
|
65
|
+
3. Restart your Pi Agent session.
|
|
61
66
|
|
|
62
|
-
|
|
67
|
+
4. *(Optional)* Configure web search:
|
|
63
68
|
|
|
64
69
|
```
|
|
65
70
|
/web-search-config
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juicesharp/rpiv-pi",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Skill-based development workflow for Pi Agent — discover, research, design, plan, implement, validate",
|
|
5
5
|
"keywords": ["pi-package", "pi-extension", "rpiv", "skills", "workflow"],
|
|
6
6
|
"license": "MIT",
|