@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/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "bin": {
25
25
  "adiff": "./bin/adiff.js"
26
26
  },
27
- "version": "0.1.0-alpha.206",
27
+ "version": "0.1.0-alpha.207",
28
28
  "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.",
29
29
  "license": "MIT",
30
30
  "repository": {
@@ -149,7 +149,8 @@ adiff comment doing --worktree . --id <id> --body "Editing driver.ts"
149
149
  ```
150
150
 
151
151
  The reviewer sees the latest line on the comment. Your answer clears it, so there is nothing to
152
- take back when you finish. Keep it to what you are doing now, not a plan.
152
+ take back when you finish. Keep it to what you are doing now, not a plan. Without `--body` the line
153
+ reads "Working on it".
153
154
 
154
155
  ## When the reviewer writes back
155
156
 
@@ -193,7 +194,19 @@ what kind of problem it is: `2` the request was malformed, `3` the branch or fil
193
194
  `1` something unexpected.
194
195
 
195
196
  Every command that acts on a review takes either `--worktree <path>` or `--repo <path>` with
196
- `--branch <name>`. Standing in the worktree, `--worktree .` is always enough.
197
+ `--branch <name>`. Standing anywhere inside the worktree you can leave both out, and the command
198
+ acts on that worktree.
199
+
200
+ An id can be given bare, as in `adiff comment answer <id> --body "…"`, and the first characters of
201
+ an id are enough when no other id starts the same way. A command takes one id, so run it once for
202
+ each comment.
203
+
204
+ Every answer is JSON already, so no command but `upgrade` takes `--json`. `--fields` narrows an
205
+ answer, and `--fields ok` narrows it to `{"ok":true}`.
206
+
207
+ `adiff describe` marks each command with an `audience`. A command marked `reviewer` speaks for the
208
+ person reviewing: settling, removing or sending a comment, marking a file reviewed, changing a
209
+ preference. Leave those to them unless they ask you to run one.
197
210
 
198
211
  Read `suggestion` before doing anything else — it names the command that resolves the failure.
199
212
  Retry only when `retriable` is true. `UnknownBranch` means this worktree is not one adiff knows
@@ -268,7 +281,7 @@ When they do ask, write **layers**: an ordered set over the diff, each one a cla
268
281
  code. The reviewer then walks the argument instead of the filesystem.
269
282
 
270
283
  ```bash
271
- adiff layers set --worktree . --json - <<'JSON'
284
+ adiff layers set --worktree . --file - <<'JSON'
272
285
  {
273
286
  "summary": "Team invitations, end to end",
274
287
  "layers": [