@diegopetrucci/pi-extensions 0.1.50 → 0.1.52
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/.pi-fleet-tested-version +1 -1
- package/README.md +5 -2
- package/extensions/agent-workflow-audit/.pi-fleet-tested-version +1 -1
- package/extensions/agent-workflow-audit/package.json +1 -1
- package/extensions/annotate-git-diff/.pi-fleet-tested-version +1 -1
- package/extensions/annotate-git-diff/package.json +1 -1
- package/extensions/annotate-last-message/.pi-fleet-tested-version +1 -1
- package/extensions/annotate-last-message/package.json +1 -1
- package/extensions/brrr/.pi-fleet-tested-version +1 -1
- package/extensions/brrr/package.json +1 -1
- package/extensions/claude-fast/.pi-fleet-tested-version +1 -1
- package/extensions/claude-fast/package.json +1 -1
- package/extensions/confirm-destructive/.pi-fleet-tested-version +1 -1
- package/extensions/confirm-destructive/package.json +1 -1
- package/extensions/context-cap/.pi-fleet-tested-version +1 -1
- package/extensions/context-cap/package.json +1 -1
- package/extensions/context-inspector/.pi-fleet-tested-version +1 -1
- package/extensions/context-inspector/package.json +1 -1
- package/extensions/contrarian/.pi-fleet-tested-version +1 -0
- package/extensions/contrarian/README.md +85 -0
- package/extensions/contrarian/index.ts +1463 -0
- package/extensions/contrarian/package.json +37 -0
- package/extensions/dirty-repo-guard/.pi-fleet-tested-version +1 -1
- package/extensions/dirty-repo-guard/package.json +1 -1
- package/extensions/git-footer/.pi-fleet-tested-version +1 -1
- package/extensions/git-footer/package.json +1 -1
- package/extensions/gnosis/.pi-fleet-tested-version +1 -1
- package/extensions/gnosis/package.json +1 -1
- package/extensions/illustrations-to-explain-things/.pi-fleet-tested-version +1 -1
- package/extensions/illustrations-to-explain-things/package.json +1 -1
- package/extensions/inline-bash/.pi-fleet-tested-version +1 -1
- package/extensions/inline-bash/package.json +1 -1
- package/extensions/librarian/.pi-fleet-tested-version +1 -1
- package/extensions/librarian/package.json +1 -1
- package/extensions/minimal-footer/.pi-fleet-tested-version +1 -1
- package/extensions/minimal-footer/README.md +32 -3
- package/extensions/minimal-footer/index.ts +539 -2
- package/extensions/minimal-footer/minimal-footer.example.json +6 -0
- package/extensions/minimal-footer/package.json +1 -1
- package/extensions/notify/.pi-fleet-tested-version +1 -1
- package/extensions/notify/package.json +1 -1
- package/extensions/openai-fast/.pi-fleet-tested-version +1 -1
- package/extensions/openai-fast/package.json +1 -1
- package/extensions/oracle/.pi-fleet-tested-version +1 -1
- package/extensions/oracle/package.json +1 -1
- package/extensions/permission-gate/.pi-fleet-tested-version +1 -1
- package/extensions/permission-gate/package.json +1 -1
- package/extensions/quiet-tools/.pi-fleet-tested-version +1 -1
- package/extensions/quiet-tools/package.json +1 -1
- package/extensions/review/.pi-fleet-tested-version +1 -1
- package/extensions/review/package.json +1 -1
- package/extensions/todo/.pi-fleet-tested-version +1 -1
- package/extensions/todo/package.json +1 -1
- package/extensions/triage-comments/.pi-fleet-tested-version +1 -1
- package/extensions/triage-comments/package.json +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@diegopetrucci/pi-contrarian",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A read-only contrarian subagent extension for pi that stress-tests plans, designs, assumptions, and conclusions.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pi-package",
|
|
7
|
+
"pi",
|
|
8
|
+
"contrarian",
|
|
9
|
+
"reasoning",
|
|
10
|
+
"subagent"
|
|
11
|
+
],
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/diegopetrucci/pi-extensions.git",
|
|
16
|
+
"directory": "extensions/contrarian"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"index.ts",
|
|
20
|
+
"README.md",
|
|
21
|
+
".pi-fleet-tested-version"
|
|
22
|
+
],
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"pi": {
|
|
27
|
+
"extensions": [
|
|
28
|
+
"index.ts"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"@earendil-works/pi-ai": "*",
|
|
33
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
34
|
+
"@earendil-works/pi-tui": "*",
|
|
35
|
+
"typebox": "*"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.79.10
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.79.10
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.79.10
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.79.10
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diegopetrucci/pi-illustrations-to-explain-things",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A pi skill for generating clean, absurd Xiaohei-style article illustrations, shot lists, and visual metaphors.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.79.10
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.79.10
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.79.10
|
|
@@ -7,6 +7,7 @@ A minimal custom footer for pi.
|
|
|
7
7
|
It replaces pi's built-in footer with a cleaner two-line layout that focuses on the information I care about most:
|
|
8
8
|
|
|
9
9
|
- current git branch
|
|
10
|
+
- TLH-style git dirty counts, ahead/behind counts, and optional PR number
|
|
10
11
|
- current repo name
|
|
11
12
|
- current context percentage
|
|
12
13
|
- red `DUMB ZONE` indicator when context usage is above 200k tokens
|
|
@@ -19,7 +20,7 @@ It replaces pi's built-in footer with a cleaner two-line layout that focuses on
|
|
|
19
20
|
On wide terminals it renders two lines:
|
|
20
21
|
|
|
21
22
|
```text
|
|
22
|
-
<git-branch>
|
|
23
|
+
<git-branch> · <git-status> <repo-name>
|
|
23
24
|
<context-%> <model> <thinking>
|
|
24
25
|
```
|
|
25
26
|
|
|
@@ -30,6 +31,14 @@ fix/remove-detached-image-tasks SendItToMy
|
|
|
30
31
|
44.1% gpt-5.4 high
|
|
31
32
|
```
|
|
32
33
|
|
|
34
|
+
When the project is trusted and the repo has local or remote git state, the top-left line includes the same cached summary as `git-footer`:
|
|
35
|
+
|
|
36
|
+
```text
|
|
37
|
+
main · +1 ~2 ?3 ↑1 • PR #42
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The markers are `!` conflicts, `+` staged, `~` unstaged, `?` untracked, `↑` ahead, and `↓` behind. PR numbers are fetched best-effort with `gh pr view`. Git polling is skipped until Pi reports that the project is trusted, and `git status` is run with fsmonitor disabled.
|
|
41
|
+
|
|
33
42
|
When context usage is above 200k tokens, the bottom-left line includes a red warning:
|
|
34
43
|
|
|
35
44
|
```text
|
|
@@ -119,6 +128,12 @@ Example:
|
|
|
119
128
|
"enabled": true,
|
|
120
129
|
"label": "xp",
|
|
121
130
|
"color": "warning"
|
|
131
|
+
},
|
|
132
|
+
"gitStatus": {
|
|
133
|
+
"enabled": true,
|
|
134
|
+
"refreshIntervalMs": 8000,
|
|
135
|
+
"gitTimeoutMs": 1500,
|
|
136
|
+
"ghTimeoutMs": 3000
|
|
122
137
|
}
|
|
123
138
|
}
|
|
124
139
|
```
|
|
@@ -169,6 +184,16 @@ Disable the experimental-features marker:
|
|
|
169
184
|
}
|
|
170
185
|
```
|
|
171
186
|
|
|
187
|
+
Disable git dirty/ahead/PR status:
|
|
188
|
+
|
|
189
|
+
```json
|
|
190
|
+
{
|
|
191
|
+
"gitStatus": {
|
|
192
|
+
"enabled": false
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
```
|
|
196
|
+
|
|
172
197
|
### Config fields
|
|
173
198
|
|
|
174
199
|
- `context.showPercent`: show the context percentage
|
|
@@ -186,10 +211,14 @@ Disable the experimental-features marker:
|
|
|
186
211
|
- `experimentalMarker.enabled`: show the marker when `PI_EXPERIMENTAL=1`
|
|
187
212
|
- `experimentalMarker.label`: marker text
|
|
188
213
|
- `experimentalMarker.color`: theme color for the marker (`error`, `warning`, `accent`, `text`, or `dim`)
|
|
214
|
+
- `gitStatus.enabled`: show cached git dirty counts, ahead/behind counts, and optional PR number for trusted projects
|
|
215
|
+
- `gitStatus.refreshIntervalMs`: background git status refresh interval
|
|
216
|
+
- `gitStatus.gitTimeoutMs`: timeout for `git status --porcelain=v2 --branch`
|
|
217
|
+
- `gitStatus.ghTimeoutMs`: timeout for best-effort `gh pr view`
|
|
189
218
|
|
|
190
219
|
## What it shows
|
|
191
220
|
|
|
192
|
-
- **Top left:** current git branch
|
|
221
|
+
- **Top left:** current git branch plus dirty/ahead/PR status when available
|
|
193
222
|
- **Top right:** current repo directory name
|
|
194
223
|
- **Bottom left:** current context usage percentage, plus red `DUMB ZONE` above 200k context tokens
|
|
195
224
|
- **Bottom left on `openai-codex`:** current context usage percentage plus 5-hour and 7-day Codex usage
|
|
@@ -203,7 +232,7 @@ This extension also lives inside the broader [`pi-extensions`](../../README.md)
|
|
|
203
232
|
## Notes
|
|
204
233
|
|
|
205
234
|
- Replaces pi's built-in footer entirely.
|
|
206
|
-
- Uses pi footer data for git branch updates.
|
|
235
|
+
- Uses pi footer data for git branch updates, plus background cached git/gh checks for dirty counts and PR number after project trust is granted.
|
|
207
236
|
- Shows only context percentage, not context window size.
|
|
208
237
|
- Shows `DUMB ZONE` only while context usage is above 200k tokens.
|
|
209
238
|
- Shows the model id rather than a provider-specific display label.
|