hunkdiff 0.10.0 → 0.11.0-beta.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/README.md +15 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -57,6 +57,18 @@ hunk show # review the latest commit
|
|
|
57
57
|
hunk show HEAD~1 # review an earlier commit
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
+
### Working with Jujutsu
|
|
61
|
+
|
|
62
|
+
Set `vcs = "jj"` in config to use the same `hunk diff [revset]` and `hunk show [revset]` commands with Jujutsu revsets instead. When `vcs` is unset, Hunk uses Git.
|
|
63
|
+
|
|
64
|
+
To use hunk as jj's pager, run `jj config edit --user` and update:
|
|
65
|
+
|
|
66
|
+
```toml
|
|
67
|
+
[ui]
|
|
68
|
+
pager = ["hunk", "pager"]
|
|
69
|
+
diff-formatter = ":git"
|
|
70
|
+
```
|
|
71
|
+
|
|
60
72
|
### Working with raw files and patches
|
|
61
73
|
|
|
62
74
|
```bash
|
|
@@ -78,7 +90,7 @@ Load the Hunk skill and use it for this review.
|
|
|
78
90
|
```
|
|
79
91
|
|
|
80
92
|
> [!NOTE]
|
|
81
|
-
> `hunk skill path`
|
|
93
|
+
> `hunk skill path` is available in Hunk 0.10.0 and newer. On older installs, load the skill from the repo path above.
|
|
82
94
|
|
|
83
95
|
For the full live-session and `--agent-context` workflow guide, see [docs/agent-workflows.md](docs/agent-workflows.md).
|
|
84
96
|
|
|
@@ -112,13 +124,14 @@ Example:
|
|
|
112
124
|
```toml
|
|
113
125
|
theme = "graphite" # graphite, midnight, paper, ember
|
|
114
126
|
mode = "auto" # auto, split, stack
|
|
127
|
+
vcs = "git" # git, jj
|
|
115
128
|
exclude_untracked = false
|
|
116
129
|
line_numbers = true
|
|
117
130
|
wrap_lines = false
|
|
118
131
|
agent_notes = false
|
|
119
132
|
```
|
|
120
133
|
|
|
121
|
-
`exclude_untracked` affects working-tree `hunk diff` sessions only.
|
|
134
|
+
`exclude_untracked` affects Git working-tree `hunk diff` sessions only.
|
|
122
135
|
|
|
123
136
|
### Git integration
|
|
124
137
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hunkdiff",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-beta.0",
|
|
4
4
|
"description": "Desktop-inspired terminal diff viewer for understanding agent-authored changesets.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hunk": "./bin/hunk.cjs"
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"node": ">=18"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"hunkdiff-darwin-arm64": "0.
|
|
35
|
-
"hunkdiff-darwin-x64": "0.
|
|
36
|
-
"hunkdiff-linux-arm64": "0.
|
|
37
|
-
"hunkdiff-linux-x64": "0.
|
|
34
|
+
"hunkdiff-darwin-arm64": "0.11.0-beta.0",
|
|
35
|
+
"hunkdiff-darwin-x64": "0.11.0-beta.0",
|
|
36
|
+
"hunkdiff-linux-arm64": "0.11.0-beta.0",
|
|
37
|
+
"hunkdiff-linux-x64": "0.11.0-beta.0"
|
|
38
38
|
},
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"publishConfig": {
|