@eliya-oss/agent-diff 0.1.0-alpha.146 → 0.1.0-alpha.148
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/CHANGELOG.md +60 -0
- package/README.md +7 -6
- package/dist/main.js +1063 -564
- package/package.json +1 -2
- package/skills/adiff/SKILL.md +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
# @eliya-oss/agent-diff
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.148
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat(diff): the remarks left on a branch's pull request are read in the review, and accepting one hands it to the agent as your own comment.
|
|
8
|
+
|
|
9
|
+
<details><summary>How it goes</summary>
|
|
10
|
+
|
|
11
|
+
A review on the pull request shows up against the code it is about, with the handle that left it.
|
|
12
|
+
`A` accepts a remark, which writes a comment in your name and sends it to the agent; `c` accepts it
|
|
13
|
+
in your own words; `X` dismisses it, reversibly, without touching the pull request; `o` opens the
|
|
14
|
+
pull request. The review panel lists what is still untriaged, and the walk to the next comment stops
|
|
15
|
+
on remarks too.
|
|
16
|
+
|
|
17
|
+
A remark never reaches the agent on its own. `comment take` cannot return one, and `adiff remark
|
|
18
|
+
list` is how an agent reads them when you ask it to.
|
|
19
|
+
|
|
20
|
+
</details>
|
|
21
|
+
|
|
22
|
+
## 0.1.0-alpha.147
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- breaking(CLI): `adiff skill refresh` is gone, and `npx skills update adiff` updates the skill instead.
|
|
27
|
+
|
|
28
|
+
<details><summary>What changed</summary>
|
|
29
|
+
|
|
30
|
+
`skill refresh` looked in `.claude/skills/adiff/SKILL.md` and nowhere else. On Codex, Cursor,
|
|
31
|
+
OpenCode or anything else it found nothing and reported no changes rather than saying it had not
|
|
32
|
+
looked. The skills CLI also installs a symlink by default, so on an ordinary install there was
|
|
33
|
+
nothing there to rewrite that the next `skills update` would not undo.
|
|
34
|
+
|
|
35
|
+
Keeping a second updater working meant matching a registry of seventy-seven agent directories that
|
|
36
|
+
the skills CLI already maintains. `npx skills update adiff` works for every agent and every install.
|
|
37
|
+
An agent holding a skill a version behind gets a refused command with a `suggestion` naming the fix,
|
|
38
|
+
which is what `describe` is for.
|
|
39
|
+
|
|
40
|
+
</details>
|
|
41
|
+
|
|
42
|
+
fix(upgrade): an upgrade names the command that brings the skill up with it.
|
|
43
|
+
|
|
44
|
+
<details><summary>What was wrong</summary>
|
|
45
|
+
|
|
46
|
+
Upgrading adiff left the skill describing the older build, and the line that used to say otherwise
|
|
47
|
+
only ever appeared for a Claude Code install that had been copied rather than linked. The version
|
|
48
|
+
installed is still the second-to-last line; under it sits the one thing left to do.
|
|
49
|
+
|
|
50
|
+
</details>
|
|
51
|
+
|
|
52
|
+
fix(README): the install command no longer picks an agent for you.
|
|
53
|
+
|
|
54
|
+
<details><summary>What was wrong</summary>
|
|
55
|
+
|
|
56
|
+
The documented command was `npx skills add … -g -y -a claude-code`, which installed the skill for
|
|
57
|
+
Claude Code whatever agent the reader actually used, and `-y` suppressed the question that would
|
|
58
|
+
have asked them. The question is the agent picker. `--agent codex`, repeated, or `--agent '*'`
|
|
59
|
+
answers it up front.
|
|
60
|
+
|
|
61
|
+
</details>
|
|
62
|
+
|
|
3
63
|
## 0.1.0-alpha.146
|
|
4
64
|
|
|
5
65
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -21,14 +21,15 @@ pick up your comments:
|
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
brew install Newbie012/tap/adiff
|
|
24
|
-
npx skills add Newbie012/agent-diff --skill adiff -g
|
|
24
|
+
npx skills add Newbie012/agent-diff --skill adiff -g
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
in
|
|
27
|
+
It asks which agent you use — Claude Code, Codex, Cursor, OpenCode and seventy-odd others — or you
|
|
28
|
+
can name it up front with `--agent codex`, more than once for more than one, or `--agent '*'` for all
|
|
29
|
+
of them. `-g` is the flag worth keeping: it puts the skill in your home directory rather than in the
|
|
30
|
+
repository you are standing in, and a skill written into the repository is invisible to an agent
|
|
31
|
+
working in a worktree of it unless you commit it. Drop `-g` if your team has adopted adiff and wants
|
|
32
|
+
it committed.
|
|
32
33
|
|
|
33
34
|
Your agent finds the skill on its own from there.
|
|
34
35
|
|