@eliya-oss/agent-diff 0.1.0-alpha.174 → 0.1.0-alpha.175

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,19 @@
1
1
  # @eliya-oss/agent-diff
2
2
 
3
+ ## 0.1.0-alpha.175
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(agent skill): the agent edits and answers by id, and commits when the work forms a unit rather than once per comment.
8
+
9
+ <details><summary>What was wrong</summary>
10
+
11
+ The skill said the next commit is the reply and that a question is answered in the commit message.
12
+ Agents took it literally, so a review ended in a pile of one-comment commits, and answers written
13
+ into commit messages never reached the reviewer's screen.
14
+
15
+ </details>
16
+
3
17
  ## 0.1.0-alpha.174
4
18
 
5
19
  ### Patch Changes
package/dist/main.js CHANGED
@@ -10027,7 +10027,7 @@ var init_config = __esmMin((() => {
10027
10027
  //#region package.json
10028
10028
  init_pane();
10029
10029
  init_config();
10030
- var version$1 = "0.1.0-alpha.174";
10030
+ var version$1 = "0.1.0-alpha.175";
10031
10031
  //#endregion
10032
10032
  //#region src/cli/error.ts
10033
10033
  var UnknownCommand, MissingOption, UnknownField, UnknownOption, BadOption, RegistryUnanswered;
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "bin": {
24
24
  "adiff": "./bin/adiff.js"
25
25
  },
26
- "version": "0.1.0-alpha.174",
26
+ "version": "0.1.0-alpha.175",
27
27
  "description": "Review the work an agent left you without losing the thread: comments live on the lines, the agent answers them, and each point stays open until you settle it.",
28
28
  "license": "MIT",
29
29
  "repository": {
@@ -121,9 +121,13 @@ Read `snippet` before opening the file: the reviewer commented on the diff, and
121
121
  moved on since. If `head` no longer matches `git rev-parse --short HEAD`, the change you are being
122
122
  asked about may already be gone — say so rather than guessing at what they meant.
123
123
 
124
- Answer the comment by doing the work, not by replying. The reviewer is watching the diff; your
125
- next commit is the reply. When a comment is a question rather than a request, answer it in the
126
- commit message of the change it concerns, or plainly in chat if no change is needed.
124
+ Answer the comment by doing the work, then say what you did with `adiff comment answer`, by id.
125
+ The reviewer is watching the diff, and the diff is read from the working tree, so an edit shows the
126
+ moment they read the branch again: no commit is needed for them to see it. Do not commit once per
127
+ comment. Commit when the work forms a change you would want as a commit anyway, and let one commit
128
+ answer as many comments as it addresses. When a comment is a question rather than a request, answer
129
+ it with `adiff comment answer` too; an answer written into a commit message never reaches the
130
+ reviewer's screen.
127
131
 
128
132
  Handle every comment in the batch before taking again.
129
133