@eliya-oss/agent-diff 0.1.0-alpha.207 → 0.1.0-alpha.208

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.
@@ -18,6 +18,7 @@ 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 |
21
22
 
22
23
  ## Writing one
23
24
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @eliya-oss/agent-diff
2
2
 
3
+ ## 0.1.0-alpha.208
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+
9
+ <details><summary>How to connect it</summary>
10
+
11
+ `claude mcp add adiff -- adiff mcp`. The tools are the commands `describe` marks `agent`, such as
12
+ `comment_take`, `comment_answer` and `layers_set`. No tool waits.
13
+
14
+ </details>
15
+
16
+ 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.
17
+
18
+ <details><summary>What it needs</summary>
19
+
20
+ Start Claude Code with `--dangerously-load-development-channels server:adiff`. The server listens in
21
+ place of a `comment take --wait`: a wait that is running keeps listening, and a wait started later
22
+ takes over from the server.
23
+
24
+ </details>
25
+
26
+ feat(CLI): `adiff mcp` serves the skill that shipped with the installed adiff, which Claude Code lists as `/adiff:review`.
27
+
28
+ feat(CLI): `describe` marks each command an agent runs with `agent`.
29
+
3
30
  ## 0.1.0-alpha.207
4
31
 
5
32
  ### Patch Changes
package/README.md CHANGED
@@ -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