@eliya-oss/agent-diff 0.1.0-alpha.207 → 0.1.0-alpha.209
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/.agents/adr/README.md +2 -0
- package/CHANGELOG.md +35 -0
- package/README.md +23 -1
- package/dist/main.js +26636 -370
- package/package.json +5 -3
- package/skills/adiff/SKILL.md +22 -0
- package/skills/adiff-web/SKILL.md +117 -0
package/.agents/adr/README.md
CHANGED
|
@@ -18,6 +18,8 @@ the way it is, why it is tested the way it is. ADRs explain choices that outlive
|
|
|
18
18
|
| [ADR-005](ADR-005-a-mechanical-style-contract.md) | Style is a lint rule, not a document |
|
|
19
19
|
| [ADR-006](ADR-006-the-terminal-runs-on-effect.md) | The terminal runs on Effect |
|
|
20
20
|
| [ADR-007](ADR-007-model-with-effect-not-only-run-on-it.md) | Model with Effect, not only run on it |
|
|
21
|
+
| [ADR-008](ADR-008-adiff-speaks-mcp.md) | adiff speaks MCP, on the official SDK |
|
|
22
|
+
| [ADR-009](ADR-009-the-page-lives-in-this-repository.md) | The page lives in this repository, with its own toolchain |
|
|
21
23
|
|
|
22
24
|
## Writing one
|
|
23
25
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# @eliya-oss/agent-diff
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.209
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat(page): the `adiff-web` skill installs with `--skill adiff-web` and teaches an agent to hand a review over in the browser.
|
|
8
|
+
|
|
9
|
+
feat(upgrade): `adiff upgrade` names both skills, `adiff` and `adiff-web`, in the command that updates them.
|
|
10
|
+
|
|
11
|
+
## 0.1.0-alpha.208
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- feat(CLI): `adiff mcp` serves the agent's side of a review to an MCP client, with a tool for each command an agent runs and its answer as structured content.
|
|
16
|
+
|
|
17
|
+
<details><summary>How to connect it</summary>
|
|
18
|
+
|
|
19
|
+
`claude mcp add adiff -- adiff mcp`. The tools are the commands `describe` marks `agent`, such as
|
|
20
|
+
`comment_take`, `comment_answer` and `layers_set`. No tool waits.
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
feat(comment delivery): `adiff mcp --push` hands each new comment to a Claude Code session as a channel event, so the agent keeps no wait in the background.
|
|
25
|
+
|
|
26
|
+
<details><summary>What it needs</summary>
|
|
27
|
+
|
|
28
|
+
Start Claude Code with `--dangerously-load-development-channels server:adiff`. The server listens in
|
|
29
|
+
place of a `comment take --wait`: a wait that is running keeps listening, and a wait started later
|
|
30
|
+
takes over from the server.
|
|
31
|
+
|
|
32
|
+
</details>
|
|
33
|
+
|
|
34
|
+
feat(CLI): `adiff mcp` serves the skill that shipped with the installed adiff, which Claude Code lists as `/adiff:review`.
|
|
35
|
+
|
|
36
|
+
feat(CLI): `describe` marks each command an agent runs with `agent`.
|
|
37
|
+
|
|
3
38
|
## 0.1.0-alpha.207
|
|
4
39
|
|
|
5
40
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ you comment on the lines in a terminal, the agent that wrote them answers under
|
|
|
7
7
|
point stays open until you settle it.
|
|
8
8
|
|
|
9
9
|
<pre align="center">brew install Newbie012/tap/adiff</pre>
|
|
10
|
-
<pre align="center">npx skills add Newbie012/agent-diff --skill adiff -g</pre>
|
|
10
|
+
<pre align="center">npx skills add Newbie012/agent-diff --skill adiff --skill adiff-web -g</pre>
|
|
11
11
|
|
|
12
12
|
<p align="center"><a href="docs/install.md">Other ways to install</a></p>
|
|
13
13
|
|
|
@@ -29,6 +29,28 @@ point stays open until you settle it.
|
|
|
29
29
|
2. In your agent, run `/adiff layer this work and hand it over for review`.
|
|
30
30
|
3. Comment on the lines. The agent answers under your words, and `?` lists every key.
|
|
31
31
|
|
|
32
|
+
### Connect it to Claude Code
|
|
33
|
+
|
|
34
|
+
adiff is also an MCP server. Claude Code then calls adiff's commands as tools and reads their
|
|
35
|
+
answers as fields, and gets the adiff skill that matches the installed version as `/adiff:review`.
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
claude mcp add adiff -- adiff mcp
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
To have new comments reach the session as they are written, with no wait in the background, add
|
|
42
|
+
`--push` and start Claude Code with the channel loaded:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
claude mcp add adiff -- adiff mcp --push
|
|
46
|
+
claude --dangerously-load-development-channels server:adiff
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Channels are a Claude Code research preview, and adiff's is not on its approved list, which is why
|
|
50
|
+
the long flag is needed. With `--push` the server may not show `/adiff:review`, so keep the skill
|
|
51
|
+
installed with `npx skills` as well. Codex, Cursor, OpenCode and Gemini use the command line and
|
|
52
|
+
that skill, as before.
|
|
53
|
+
|
|
32
54
|
## Requirements
|
|
33
55
|
|
|
34
56
|
The Homebrew formula installs one compiled binary for Apple silicon, which draws the terminal itself
|