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

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 CHANGED
@@ -1,5 +1,67 @@
1
1
  # @eliya-oss/agent-diff
2
2
 
3
+ ## 0.1.0-alpha.207
4
+
5
+ ### Patch Changes
6
+
7
+ - feat(CLI): a command run inside a worktree acts on that worktree's review, with no `--worktree` and from any folder inside it.
8
+
9
+ feat(CLI): a comment id can be given bare, as in `adiff comment doing c1`, and the first characters of an id name it when no other id starts the same way.
10
+
11
+ fix(CLI): `comment doing` with no `--body` puts "Working on it" on the comment.
12
+
13
+ <details><summary>What was wrong</summary>
14
+
15
+ `comment doing <id>` was refused for want of `--id` and `--body`, and an agent that hid stderr never
16
+ saw the refusal, so the reviewer saw no line at all.
17
+
18
+ </details>
19
+
20
+ breaking(CLI): `layers set` reads its document from `--file`, and `--json` is refused on every command but `upgrade` and `layers set`.
21
+
22
+ <details><summary>What to change</summary>
23
+
24
+ Write `adiff layers set --file -` where you wrote `--json -`; the old spelling still works there.
25
+ Every other command answered in JSON with or without `--json`, so drop it there. The refusal names
26
+ the option to use.
27
+
28
+ </details>
29
+
30
+ feat(CLI): `--fields ok` is accepted, and named alone it narrows the answer to `{"ok":true}`.
31
+
32
+ feat(CLI): a refused verb or option names the one that was meant, so `layers get` names `layers show` and `--comment` names `--id`, and the refusal lists the options the command takes.
33
+
34
+ feat(CLI): `describe` and help say who each command is for, with `audience` set to `reviewer`, `agent` or `anyone`.
35
+
36
+ fix(CLI): a bare word a command has no use for is refused, where adiff used to drop it and carry on.
37
+
38
+ ## 0.1.0-alpha.206
39
+
40
+ ### Patch Changes
41
+
42
+ - feat(comment delivery): one `comment take --wait` listens per worktree, and starting a second one ends the first with `"replaced": true` and no comments.
43
+
44
+ <details><summary>What this changes for an agent</summary>
45
+
46
+ An agent that lost track of a background wait armed another, and both woke on the same comment. The
47
+ newer wait now takes over. The older one exits 0 with an empty `comments` array and
48
+ `"replaced": true`, so its owner knows to leave it ended. A take with no `--wait` leaves the
49
+ listening wait running.
50
+
51
+ </details>
52
+
53
+ breaking(comment delivery): `comment take --wait` hands over only comments this review has not handed over before, and `--new` is retired.
54
+
55
+ <details><summary>What to change</summary>
56
+
57
+ A wait used to end at once on a comment the agent already held unless it was given `--new`. Every
58
+ wait now wakes only for a new comment, a reply, or a comment the reviewer reopened or restored. Drop
59
+ `--new` from the command line. Beside `--wait` it still works and changes nothing, so a wait armed
60
+ from an older skill keeps listening; on a take with no `--wait` it is refused with exit 2. A take
61
+ with no `--wait` still collects every comment owed an answer.
62
+
63
+ </details>
64
+
3
65
  ## 0.1.0-alpha.205
4
66
 
5
67
  ### Patch Changes