@eliya-oss/agent-diff 0.1.0-alpha.206 → 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 +35 -0
- package/dist/main.js +396 -107
- package/package.json +1 -1
- package/skills/adiff/SKILL.md +16 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
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
|
+
|
|
3
38
|
## 0.1.0-alpha.206
|
|
4
39
|
|
|
5
40
|
### Patch Changes
|