reviewdeck 0.4.3 → 0.5.0
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/dist/reviewdeck.mjs +17943 -14891
- package/package.json +2 -1
- package/skills/reviewdeck/SKILL.md +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reviewdeck",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Split large PR diffs into reviewable sub-patches via indexed groups.",
|
|
5
5
|
"homepage": "https://github.com/neutree-ai/reviewdeck",
|
|
6
6
|
"bugs": {
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"class-variance-authority": "^0.7.1",
|
|
50
50
|
"clsx": "^2.1.1",
|
|
51
51
|
"hono": "^4.12.9",
|
|
52
|
+
"jose": "^6.2.2",
|
|
52
53
|
"lucide-react": "^0.577.0",
|
|
53
54
|
"postgres": "^3.4.8",
|
|
54
55
|
"react": "^19.2.4",
|
|
@@ -15,7 +15,7 @@ Default posture:
|
|
|
15
15
|
|
|
16
16
|
- If the user wants PR review help, do not stop after `split`. Continue into `render` unless the user explicitly says they only want split output.
|
|
17
17
|
- Do not substitute your own autonomous review for the human review step unless the user explicitly asks you to review the code yourself.
|
|
18
|
-
- When invoking the CLI via `npx`, use `npx reviewdeck@^0.
|
|
18
|
+
- When invoking the CLI via `npx`, use `npx reviewdeck@^0.4.0 ...`.
|
|
19
19
|
|
|
20
20
|
## Main Path
|
|
21
21
|
|
|
@@ -52,7 +52,7 @@ git diff --cached > pr.diff
|
|
|
52
52
|
### 2. Index changes
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
|
-
npx reviewdeck@^0.
|
|
55
|
+
npx reviewdeck@^0.4.0 index pr.diff
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
This prints a numbered list of changed lines. Those indices are the units you group in the split metadata.
|
|
@@ -103,13 +103,13 @@ If you need heavier guidance for grouping, description writing, or draft comment
|
|
|
103
103
|
### 5. Split and verify
|
|
104
104
|
|
|
105
105
|
```bash
|
|
106
|
-
echo '<meta JSON>' | npx reviewdeck@^0.
|
|
106
|
+
echo '<meta JSON>' | npx reviewdeck@^0.4.0 split pr.diff -
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
Or write files:
|
|
110
110
|
|
|
111
111
|
```bash
|
|
112
|
-
echo '<meta JSON>' | npx reviewdeck@^0.
|
|
112
|
+
echo '<meta JSON>' | npx reviewdeck@^0.4.0 split pr.diff - -o output/
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
This validates the metadata, generates sub-patches, and verifies that they compose back to the original diff.
|
|
@@ -121,13 +121,13 @@ If `split` fails, read the error, fix the metadata JSON, and retry.
|
|
|
121
121
|
After `split` succeeds, the default next step is live review:
|
|
122
122
|
|
|
123
123
|
```bash
|
|
124
|
-
npx reviewdeck@^0.
|
|
124
|
+
npx reviewdeck@^0.4.0 render output/
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
Or from stdin:
|
|
128
128
|
|
|
129
129
|
```bash
|
|
130
|
-
echo '<meta JSON>' | npx reviewdeck@^0.
|
|
130
|
+
echo '<meta JSON>' | npx reviewdeck@^0.4.0 split pr.diff - | npx reviewdeck@^0.4.0 render -
|
|
131
131
|
```
|
|
132
132
|
|
|
133
133
|
The server opens a browser, blocks until submission, and prints a review submission JSON object to stdout.
|