@juicesharp/rpiv-pi 0.4.1 → 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.
Files changed (2) hide show
  1. package/README.md +46 -25
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -3,13 +3,50 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@juicesharp/rpiv-pi.svg)](https://www.npmjs.com/package/@juicesharp/rpiv-pi)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- Skill-based development workflow for [Pi](https://github.com/badlogic/pi-mono) — research, design, plan, implement, validate. rpiv-pi extends the Pi coding agent with a pipeline of chained AI skills, named subagents for parallel analysis, and session lifecycle hooks for automatic context injection.
6
+ Skill-based development workflow for [Pi Agent](https://github.com/badlogic/pi-mono) — discover, research, design, plan, implement, and validate. rpiv-pi extends Pi Agent with a pipeline of chained AI skills, named subagents for parallel analysis, and session lifecycle hooks for automatic context injection.
7
7
 
8
8
  ## Prerequisites
9
9
 
10
- - **[Pi CLI](https://github.com/badlogic/pi-mono)** — the `pi` command must be available
11
- - **Node.js** — required by Pi
12
- - **git** *(recommended)* — rpiv-pi works without it, but branch and commit context won't be available to skills
10
+ - **Node.js** — required by Pi Agent
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,13 +56,13 @@ Skill-based development workflow for [Pi](https://github.com/badlogic/pi-mono)
19
56
  pi install npm:@juicesharp/rpiv-pi
20
57
  ```
21
58
 
22
- 2. Start a Pi session and install sibling plugins:
59
+ 2. Start a Pi Agent session and install sibling plugins:
23
60
 
24
61
  ```
25
62
  /rpiv-setup
26
63
  ```
27
64
 
28
- 3. Restart your Pi session.
65
+ 3. Restart your Pi Agent session.
29
66
 
30
67
  4. *(Optional)* Configure web search:
31
68
 
@@ -35,7 +72,7 @@ pi install npm:@juicesharp/rpiv-pi
35
72
 
36
73
  ### First Session
37
74
 
38
- On first session start, rpiv-pi automatically:
75
+ On first Pi Agent session start, rpiv-pi automatically:
39
76
  - Copies agent profiles to `<cwd>/.pi/agents/`
40
77
  - Detects outdated or removed agents on subsequent starts
41
78
  - Scaffolds `thoughts/shared/` directories for pipeline artifacts
@@ -57,7 +94,7 @@ Each skill produces an artifact consumed by the next. Run them in order, or jump
57
94
 
58
95
  ### Skills
59
96
 
60
- Invoke via `/skill:<name>` from inside a Pi session.
97
+ Invoke via `/skill:<name>` from inside a Pi Agent session.
61
98
 
62
99
  #### Research & Design
63
100
 
@@ -137,7 +174,7 @@ rpiv-pi/
137
174
  └── thoughts/shared/ — pipeline artifact store
138
175
  ```
139
176
 
140
- Pi discovers extensions via `"extensions": ["./extensions"]` and skills via `"skills": ["./skills"]` in `package.json`.
177
+ Pi Agent discovers extensions via `"extensions": ["./extensions"]` and skills via `"skills": ["./skills"]` in `package.json`.
141
178
 
142
179
  ## Configuration
143
180
 
@@ -146,22 +183,6 @@ Pi discovers extensions via `"extensions": ["./extensions"]` and skills via `"sk
146
183
  - **Agent concurrency** — `@tintinweb/pi-subagents` defaults to 4 concurrent agents; raise via `/agents → Settings → Max concurrency → 48` if skills stall on wide fan-outs
147
184
  - **Agent profiles** — editable at `<cwd>/.pi/agents/`; sync from bundled defaults with `/rpiv-update-agents` (overwrites rpiv-managed files, preserves your custom agents)
148
185
 
149
- ## Upgrading from 0.3.x
150
-
151
- Tool logic was extracted into sibling plugins in 0.4.0. After upgrading:
152
-
153
- 1. `pi install npm:@juicesharp/rpiv-pi`
154
- 2. Start a Pi session.
155
- 3. Run `/rpiv-setup` to install the four extracted plugins:
156
- - `@juicesharp/rpiv-ask-user-question`
157
- - `@juicesharp/rpiv-todo`
158
- - `@juicesharp/rpiv-advisor`
159
- - `@juicesharp/rpiv-web-tools`
160
- 4. Restart the session.
161
- 5. Re-run `/advisor` and `/web-search-config` — saved configuration at `~/.config/rpiv-pi/` is no longer read; each plugin now reads from its own config path.
162
-
163
- The `BRAVE_SEARCH_API_KEY` environment variable continues to work unchanged.
164
-
165
186
  ## Troubleshooting
166
187
 
167
188
  | Symptom | Cause | Fix |
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@juicesharp/rpiv-pi",
3
- "version": "0.4.1",
4
- "description": "Skill-based development workflow for Pi — research, design, plan, implement, review",
3
+ "version": "0.4.3",
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",
7
7
  "author": "juicesharp",