Skip to content

Commit dcad117

Browse files
committed
feat: vendor subagent and rpiv packages
1 parent 1fa8717 commit dcad117

172 files changed

Lines changed: 35595 additions & 848 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTING.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ npm install
99
npm run typecheck
1010
```
1111

12-
To test the extension in pi without installing it globally:
12+
To test the package set in pi without installing it globally:
13+
14+
```bash
15+
pi -e /path/to/forjd-pi
16+
```
17+
18+
To test only the Git diff sidebar extension:
1319

1420
```bash
1521
pi -e ./extensions/git-diff-sidebar.ts
@@ -20,7 +26,7 @@ pi -e ./extensions/git-diff-sidebar.ts
2026
- Keep extensions small and focused.
2127
- Prefer passive UI that does not interrupt the main editor unless a command explicitly asks for interaction.
2228
- Run `npm run typecheck` before opening a PR.
23-
- Update the README when adding commands, configuration, or visible UI changes.
29+
- Update the README when adding commands, configuration, package contents, or visible UI changes.
2430

2531
## Security
2632

README.md

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# forjd-pi
22

3-
A small [pi coding agent](https://pi.dev) extension pack from Forjd.
3+
A [pi coding agent](https://pi.dev) package set from Forjd.
44

5-
The first extension is a high-level Git diff sidebar: a passive right-side panel that keeps the current working tree visible while you code with pi.
5+
This package bundles the Forjd Git diff sidebar plus three cloned pi packages:
6+
7+
- [`pi-subagents`](https://github.com/nicobailon/pi-subagents) for delegating work to subagents, chains, and parallel runs
8+
- [`@juicesharp/rpiv-todo`](https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-todo) for model-managed task tracking with a live overlay
9+
- [`@juicesharp/rpiv-ask-user-question`](https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-ask-user-question) for structured clarification prompts
610

711
## Features
812

@@ -13,6 +17,9 @@ The first extension is a high-level Git diff sidebar: a passive right-side panel
1317
- Largest changed files sorted to the top
1418
- Non-capturing overlay, so the editor keeps focus
1519
- Automatically hides on narrow terminals and leaves a compact footer status
20+
- Subagent delegation tools, slash commands, bundled agents, skills, and prompts
21+
- Persistent todo tool and overlay for multi-step work
22+
- Structured `ask_user_question` tool for option-based clarification
1623

1724
## Preview
1825

@@ -45,15 +52,15 @@ Or install from a local checkout while developing:
4552
pi install /path/to/forjd-pi
4653
```
4754

48-
You can also test the extension for one pi run without installing it:
55+
You can also test the whole package set for one pi run without installing it:
4956

5057
```bash
51-
pi -e ./extensions/git-diff-sidebar.ts
58+
pi -e /path/to/forjd-pi
5259
```
5360

5461
## Usage
5562

56-
The sidebar starts automatically in interactive pi sessions when this package is installed.
63+
The Git diff sidebar starts automatically in interactive pi sessions when this package is installed.
5764

5865
Commands:
5966

@@ -66,21 +73,25 @@ Commands:
6673

6774
The overlay is passive. It does not capture keyboard input, and it is hidden when the terminal is narrower than 100 columns.
6875

76+
The cloned packages also register their upstream tools and commands:
77+
78+
- `subagent` tool, `/subagent`, `/chain`, `/parallel`, and bundled subagent prompts/skills from `pi-subagents`
79+
- `todo` tool and `/todos` command from `rpiv-todo`
80+
- `ask_user_question` tool from `rpiv-ask-user-question`
81+
82+
See the upstream READMEs under `packages/` for detailed usage.
83+
6984
## Package contents
7085

7186
```text
72-
extensions/git-diff-sidebar.ts Git diff sidebar extension
87+
extensions/git-diff-sidebar.ts Git diff sidebar extension
88+
packages/pi-subagents/ Cloned pi-subagents package
89+
packages/rpiv-todo/ Cloned rpiv-todo package
90+
packages/rpiv-ask-user-question/ Cloned rpiv-ask-user-question package
91+
packages/UPSTREAM.md Upstream source commits for cloned packages
7392
```
7493

75-
The pi manifest is declared in `package.json`:
76-
77-
```json
78-
{
79-
"pi": {
80-
"extensions": ["./extensions"]
81-
}
82-
}
83-
```
94+
The pi manifest is declared in `package.json` and loads extension, skill, and prompt resources from those paths.
8495

8596
## Development
8697

0 commit comments

Comments
 (0)