hunkdiff 0.6.1-beta3 → 0.6.1
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/README.md +5 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ Hunk is a review-first terminal diff viewer for agent-authored changesets, built
|
|
|
9
9
|
- multi-file review stream with sidebar navigation
|
|
10
10
|
- inline AI and agent annotations beside the code
|
|
11
11
|
- split, stack, and responsive auto layouts
|
|
12
|
+
- watch mode for auto-reloading file and Git-backed reviews
|
|
12
13
|
- keyboard, mouse, pager, and Git difftool support
|
|
13
14
|
|
|
14
15
|
<table>
|
|
@@ -52,6 +53,7 @@ Hunk mirrors Git's diff-style commands, but opens the changeset in a review UI i
|
|
|
52
53
|
```bash
|
|
53
54
|
hunk diff # review current repo changes
|
|
54
55
|
hunk diff --staged
|
|
56
|
+
hunk diff --watch # auto-reload as the working tree changes
|
|
55
57
|
hunk show # review the latest commit
|
|
56
58
|
hunk show HEAD~1 # review an earlier commit
|
|
57
59
|
```
|
|
@@ -59,8 +61,9 @@ hunk show HEAD~1 # review an earlier commit
|
|
|
59
61
|
### Working with raw files and patches
|
|
60
62
|
|
|
61
63
|
```bash
|
|
62
|
-
hunk diff before.ts after.ts
|
|
63
|
-
|
|
64
|
+
hunk diff before.ts after.ts # compare two files directly
|
|
65
|
+
hunk diff before.ts after.ts --watch # auto-reload when either file changes
|
|
66
|
+
git diff --no-color | hunk patch - # review a patch from stdin
|
|
64
67
|
```
|
|
65
68
|
|
|
66
69
|
### Working with agents
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hunkdiff",
|
|
3
|
-
"version": "0.6.1
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Desktop-inspired terminal diff viewer for understanding agent-authored changesets.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hunk": "./bin/hunk.cjs"
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"node": ">=18"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"hunkdiff-darwin-arm64": "0.6.1
|
|
34
|
-
"hunkdiff-darwin-x64": "0.6.1
|
|
35
|
-
"hunkdiff-linux-x64": "0.6.1
|
|
33
|
+
"hunkdiff-darwin-arm64": "0.6.1",
|
|
34
|
+
"hunkdiff-darwin-x64": "0.6.1",
|
|
35
|
+
"hunkdiff-linux-x64": "0.6.1"
|
|
36
36
|
},
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"publishConfig": {
|