@howaboua/pi-subagent-review 0.1.5 → 0.1.51

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 +24 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  - `/review`
6
6
 
7
- It runs an isolated review subagent against your current repo, injects the findings back into the session as a user message, and asks the main agent to consider those findings in light of the prior conversation before deciding what to address. It is modelled after Codex CLI's /review command.
7
+ It runs an isolated review subagent against your current repo, optionally prepares a compact conversation-context summary first, injects the findings back into the session as a user message, and asks the main agent to triage those advisory findings before deciding what to address. It is modelled after Codex CLI's /review command.
8
8
 
9
9
  ## What it does
10
10
 
@@ -13,9 +13,17 @@ It runs an isolated review subagent against your current repo, injects the findi
13
13
  - chooses a base branch automatically
14
14
  - computes the merge base with `HEAD`
15
15
  - inspects committed and dirty worktree changes
16
+ - summarizes the current Pi session branch as review context, when enabled
16
17
  - runs an isolated review subagent
17
18
  - sends the findings back into the current Pi session as a user message
18
- - as a result, the main agent reviews the findings against the prior conversation and addresses only clearly worthwhile issues
19
+ - makes clear that the findings are advisory, not direct user instructions, so the main agent should triage them against prior context before editing
20
+
21
+ While `/review` is running, the extension shows a small review widget above the editor with one of two states:
22
+
23
+ - `Preparing review context…`
24
+ - `Reviewing changes…`
25
+
26
+ The widget is UI-only and is cleared when the command finishes, fails, or is cancelled.
19
27
 
20
28
  ## Automatic base branch selection
21
29
 
@@ -64,6 +72,20 @@ Edit that file to change the default review model or thinking level, and the mod
64
72
 
65
73
  The summary model uses the same `provider/model` string format as the reviewer model. The generated summary is injected into the isolated review task as branch-style context; raw conversation turns are not sent to the review subagent. If the configured review or summary model is not available for the user, `/review` falls back to the current session model automatically. If conversation summarization still fails, `/review` continues with a diff-only review.
66
74
 
75
+ Existing config files from older versions are migrated on load. If a config has `model` and `thinking` but no `summary` block, the extension adds one using the same model and low thinking:
76
+
77
+ ```json
78
+ {
79
+ "summary": {
80
+ "enabled": true,
81
+ "model": "<existing review model>",
82
+ "thinking": "low"
83
+ }
84
+ }
85
+ ```
86
+
87
+ If a `summary` block already exists, it is left unchanged.
88
+
67
89
  ## Install
68
90
 
69
91
  Installation methods:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@howaboua/pi-subagent-review",
3
- "version": "0.1.5",
3
+ "version": "0.1.51",
4
4
  "description": "Pi extension that adds /review via an isolated review subagent.",
5
5
  "license": "MIT",
6
6
  "files": [