@eliya-oss/agent-diff 0.1.0-alpha.18 → 0.1.0-alpha.180

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,1689 @@
1
1
  # @eliya-oss/agent-diff
2
2
 
3
+ ## 0.1.0-alpha.180
4
+
5
+ ### Patch Changes
6
+
7
+ - feat(review): on a pull request somebody else opened, `c` holds a note for the author and `i` asks your agent, `C` lists every held note with its code and its text before anything goes, and `ctrl+s` there sends the lot to the pull request as one review.
8
+
9
+ <details><summary>What was wrong</summary>
10
+
11
+ A comment on a stranger's pull request went into an inbox no agent was reading, and the review had
12
+ to be retyped in a browser, one comment at a time, with the anchors adiff already knew lost on the
13
+ way.
14
+
15
+ </details>
16
+
17
+ ## 0.1.0-alpha.179
18
+
19
+ ### Patch Changes
20
+
21
+ - feat(diff): a line that only changed its indentation is shown once, as unchanged, so a block wrapped in a new function is two added lines and not a rewrite of every line inside it.
22
+
23
+ <details><summary>What was wrong</summary>
24
+
25
+ Wrapping twenty-five lines in `startTransition(() => { … })` drew twenty-five removed lines and
26
+ twenty-seven added ones, and the reviewer had to read both blocks to find the two that mattered.
27
+
28
+ </details>
29
+
30
+ ## 0.1.0-alpha.178
31
+
32
+ ### Patch Changes
33
+
34
+ - feat(diff): a removed line and an added line that differ only in their indentation are washed dimmer than a change, so a block wrapped in a new function reads as one wrapper and not as a rewrite of every line inside it.
35
+
36
+ ## 0.1.0-alpha.177
37
+
38
+ ### Patch Changes
39
+
40
+ - feat(review): `]` on the last file comes around to the first, `[` on the first to the last, and `j`/`k` in the file list do the same.
41
+
42
+ <details><summary>What was wrong</summary>
43
+
44
+ The walk stopped at either end, so getting from the last file back to the first meant pressing `[`
45
+ once per file. The footer says `around to the first file` when the walk wraps.
46
+
47
+ </details>
48
+
49
+ ## 0.1.0-alpha.176
50
+
51
+ ### Patch Changes
52
+
53
+ - fix(diff pane): a comment held until the review is sent shows under its line, marked waiting to be sent.
54
+
55
+ <details><summary>What was wrong</summary>
56
+
57
+ With holding on, a written comment reached only the review panel. The diff showed nothing under the
58
+ line, so a line you had commented on looked like one you had not.
59
+
60
+ </details>
61
+
62
+ ## 0.1.0-alpha.175
63
+
64
+ ### Patch Changes
65
+
66
+ - fix(agent skill): the agent edits and answers by id, and commits when the work forms a unit rather than once per comment.
67
+
68
+ <details><summary>What was wrong</summary>
69
+
70
+ The skill said the next commit is the reply and that a question is answered in the commit message.
71
+ Agents took it literally, so a review ended in a pile of one-comment commits, and answers written
72
+ into commit messages never reached the reviewer's screen.
73
+
74
+ </details>
75
+
76
+ ## 0.1.0-alpha.174
77
+
78
+ ### Patch Changes
79
+
80
+ - fix(review panel): opening a comment the branch moved past shows the whole thread, with the code it was written on.
81
+
82
+ <details><summary>What was wrong</summary>
83
+
84
+ When another line had taken the number the comment was written at, opening it jumped to that line,
85
+ where no comment was drawn, and the agent's answer was nowhere to read.
86
+
87
+ </details>
88
+
89
+ fix(settling box): marking a file that still holds open threads lists them, and says which one is not in the diff.
90
+
91
+ <details><summary>What was wrong</summary>
92
+
93
+ The box counted two threads while the diff showed one, and gave no way to tell where the other was.
94
+
95
+ </details>
96
+
97
+ ## 0.1.0-alpha.173
98
+
99
+ ### Patch Changes
100
+
101
+ - feat(review panel): `d` takes a settled thread back, so a point settled too early can be reopened.
102
+
103
+ <details><summary>What it does</summary>
104
+
105
+ Pressing `d` on a settled thread unsettles it: the thread opens where it stands, the footer names
106
+ the key as "unsettle" while the cursor is on one, its answers are marked unread again, and the agent
107
+ is owed an answer again if it never gave one. The panel cursor stays on a thread that has been
108
+ taken back, while settling still brings the next thread to it.
109
+ `adiff comment reopen --repo . --branch <branch> --id <id>` does the same from the command line, and
110
+ is refused on a thread that is not settled.
111
+
112
+ </details>
113
+
114
+ ## 0.1.0-alpha.172
115
+
116
+ ### Patch Changes
117
+
118
+ - feat(diff): a comment is written in the diff, under the line it is about, instead of in a box over it.
119
+
120
+ <details><summary>What moved</summary>
121
+
122
+ The draft opens under the last line of the selection and the code below it moves down, the way a
123
+ thread already sits under its line; a reply opens under the thread it answers. The quoted snippet is
124
+ gone, because the code is on the screen above. `ctrl+s` sends and `escape` cancels, as before. On a
125
+ pane too short to hold the draft, and where the diff cannot show the line, the draft opens over the
126
+ diff as it did before.
127
+
128
+ </details>
129
+
130
+ ## 0.1.0-alpha.171
131
+
132
+ ### Patch Changes
133
+
134
+ - feat(comment delivery): a comment on code a layer explains tells the agent which layer it will have to rewrite.
135
+
136
+ <details><summary>Why the agent is told</summary>
137
+
138
+ The work a comment asks for moves the code its layer describes, so the layers go stale as soon as
139
+ the agent acts. `comment take` now carries `layer`, the title of the layer whose spans cover the
140
+ comment's lines, read from the reading order as it stands when the comment is handed over. Where two
141
+ layers claim the line the tighter span wins, and code no layer claims carries none.
142
+
143
+ </details>
144
+
145
+ ## 0.1.0-alpha.170
146
+
147
+ ### Patch Changes
148
+
149
+ - feat(marks): marking a file read asks whether to settle the threads it still holds.
150
+
151
+ <details><summary>What it asks</summary>
152
+
153
+ `m` and `M` open a box naming the file, or the layer on a reading order, and counting its open
154
+ threads. The first answer settles those threads and marks; the second marks and leaves them open;
155
+ escape marks nothing. The last layer of a file also counts the threads no layer explains, and
156
+ remarks are never counted, because a remark is triaged rather than settled.
157
+
158
+ </details>
159
+
160
+ ## 0.1.0-alpha.169
161
+
162
+ ### Patch Changes
163
+
164
+ - fix(base): escape closes the base picker and leaves the base as it was.
165
+
166
+ <details><summary>What was wrong</summary>
167
+
168
+ The picker took escape and did nothing with it. The only ways out were choosing a ref, handing the
169
+ choice back to adiff, or quitting the terminal.
170
+
171
+ </details>
172
+
173
+ fix(editor): escape closes the list of editors and opens nothing.
174
+
175
+ <details><summary>What was wrong</summary>
176
+
177
+ Pressing the key with no editor found opened the list, and escape left it on screen. A reviewer who
178
+ did not mean to choose an editor had to pick one anyway.
179
+
180
+ </details>
181
+
182
+ ## 0.1.0-alpha.168
183
+
184
+ ### Patch Changes
185
+
186
+ - feat(branches): `b` offers the last five commits as bases, each named by the message of the newest commit it takes in, so reading just what the agent last did is one keypress and a return.
187
+
188
+ ## 0.1.0-alpha.167
189
+
190
+ ### Patch Changes
191
+
192
+ - fix(review): A comment the hunks cannot place is matched against every line of the code it quoted, so a comment about a deleted doc comment is no longer hung on the next `*/` in the file.
193
+
194
+ - feat(cli): `adiff resume` opens the review left last in the repository it is run from, and `adiff resume --check` names that branch without opening anything.
195
+
196
+ ## 0.1.0-alpha.166
197
+
198
+ ### Patch Changes
199
+
200
+ - feat(diff): A click moves the keys into the pane it landed in, opens the file or layer it landed on in the rail, and stands the cursor on the thread it landed on in the review panel.
201
+
202
+ - feat(review): `l` on a thread in the review panel reads it in full over the diff — the whole path, every message and the code it was written on, wrapped rather than cut — and a section counts the threads it holds whether its fold is open or shut.
203
+
204
+ ## 0.1.0-alpha.165
205
+
206
+ ### Patch Changes
207
+
208
+ - fix(review): A comment is called lost only when its line is gone from the whole file, not merely from the shown hunks, and the ones the branch really moved past are folded into a section of their own that says how many there are and opens with `l`.
209
+
210
+ ## 0.1.0-alpha.164
211
+
212
+ ### Patch Changes
213
+
214
+ - fix(diff): A stretch of code takes the first colour the highlighter gives it, so a `.tsx` file no longer paints tag names and identifiers as numbers where the highlighter answered with a name, a type and a constant for the same range.
215
+
216
+ ## 0.1.0-alpha.163
217
+
218
+ ### Patch Changes
219
+
220
+ - fix(repo): `pnpm check-body` refuses a pull request body that says who reported a change, carries a private repository or ticket, or runs past 300 characters of prose, and `pnpm lint` holds every change intent, wiki page, PRD, the changelog and the README to the same rules.
221
+
222
+ ## 0.1.0-alpha.162
223
+
224
+ ### Patch Changes
225
+
226
+ - fix(layers): Marking a file read on one layer no longer marks it read on the others. Where several layers claim one file, `m` records the layer's own runs, and the file counts as read once every layer's runs of it are read.
227
+
228
+ ## 0.1.0-alpha.161
229
+
230
+ ### Patch Changes
231
+
232
+ - fix(diff): `e` opens a line inside its project — an editor that takes a folder is handed the branch's worktree with the file, and every editor is started in that worktree — and a command you type yourself is offered back as the command to keep.
233
+
234
+ ## 0.1.0-alpha.160
235
+
236
+ ### Patch Changes
237
+
238
+ - feat(diff): The sheet of keys carries a legend along its foot, naming each mark a thread can carry, the remark mark, and the marks for your words and the agent's.
239
+
240
+ - feat(diff): the editor a line opens in is chosen in the terminal, from the editors found on your machine.
241
+
242
+ <details><summary>What was wrong</summary>
243
+
244
+ A reviewer with no editor in the environment was told to set `$VISUAL` or edit the settings file —
245
+ a chore instead of an editor. Pressing the key now offers the editors found on the path, narrowed by
246
+ typing, and a command typed in full is accepted; choosing one opens the line straight away.
247
+ Changing it later is in the command palette, and one key there hands the choice back to the
248
+ environment.
249
+
250
+ </details>
251
+
252
+ - fix(review): The panel quotes the code a comment was written on when the diff can no longer place it, and going to it says the diff no longer has that line.
253
+
254
+ - fix(report): A bug report names the cursor's row with the same number it marks that row with in the code around the cursor.
255
+
256
+ - fix(diff): A thread's stand is drawn as one circle at one size, `○ ◎ ◉ ●`, where the quarter-filled and half-filled circles were drawn at sizes of their own.
257
+
258
+ ## 0.1.0-alpha.159
259
+
260
+ ### Patch Changes
261
+
262
+ - fix(diff): a thread under a line marks the reviewer's own words, and two threads on one line read oldest first with a rule between them.
263
+
264
+ <details><summary>What was wrong</summary>
265
+
266
+ The agent's answers carried an arrow and somebody else's remark carried a handle, but the reviewer's
267
+ own comment had no mark at all, so it read as a continuation of the heading above it. Two threads on
268
+ one line ran together with nothing between them, newest drawn first, so a conversation read backwards
269
+ and it was not clear who said which part.
270
+
271
+ </details>
272
+
273
+ ## 0.1.0-alpha.158
274
+
275
+ ### Patch Changes
276
+
277
+ - feat(diff): `e` opens the line under the cursor in your editor, found from the environment or set in the settings file.
278
+
279
+ <details><summary>Why</summary>
280
+
281
+ Reading a diff is where a reviewer decides to change something, and the file and line are already
282
+ under the cursor. `$VISUAL`, then `$EDITOR`, then whatever launched adiff — VS Code, Cursor,
283
+ Windsurf, Zed and JetBrains all say so in the environment — and a known editor gets its own line
284
+ flag, so `code` becomes `code --goto file:line`. Set `editor` in the settings file to override it.
285
+
286
+ </details>
287
+
288
+ ## 0.1.0-alpha.157
289
+
290
+ ### Patch Changes
291
+
292
+ - feat(branches): `b` sets what this branch is compared against, from the list of refs the repository has.
293
+
294
+ <details><summary>Why</summary>
295
+
296
+ A reviewer who could see the base was wrong — the row says what each branch is stacked on — had to
297
+ leave the terminal, remember `adiff base set`, and come back. `b` opens the refs newest first,
298
+ narrowed by typing, and a ref you type that is not listed is still tried, so a tag or a commit works.
299
+ `ctrl+x` hands the base back to adiff's own guess.
300
+
301
+ </details>
302
+
303
+ ## 0.1.0-alpha.156
304
+
305
+ ### Patch Changes
306
+
307
+ - fix(skill): the skill tells an agent to claim the runs a layer explains, where it used to recommend a span over the whole file.
308
+
309
+ <details><summary>What was wrong</summary>
310
+
311
+ The skill said a span from line 1 to past the end of the file "covers a file whatever happens to it",
312
+ against a tight range that "goes stale on the next push". An agent following that writes a reading
313
+ order whose every layer claims the whole file, and the terminal then draws the whole diff for each
314
+ one — eleven layers over one file meant reading it eleven times. Staleness is the cheaper problem:
315
+ adiff says when a set is stale.
316
+
317
+ </details>
318
+
319
+ ## 0.1.0-alpha.155
320
+
321
+ ### Patch Changes
322
+
323
+ - feat(report): a bug report says the base, the preferences away from their default, what the reading order holds, whether remarks are read, the shape of the file on screen, and the slowest actions.
324
+
325
+ <details><summary>Why</summary>
326
+
327
+ Two reports cost a day between them. Neither said which base the diff was computed against, that the
328
+ branch had a reading order at all, or whether the slow thing took three seconds or thirty — so each
329
+ one had to be reproduced by hand against a real repository before it could be read. Counts, spans,
330
+ flags and timings name nothing, so they are in a minimal report too; a layer's title is the agent's
331
+ prose, so a minimal report says which layer by number.
332
+
333
+ </details>
334
+
335
+ feat(CLI): `layers set` says how many hunks more than one layer claims, which coverage cannot express.
336
+
337
+ <details><summary>Why</summary>
338
+
339
+ A reading order whose layers all claim the whole diff reports perfect coverage, and so does one
340
+ whose layers each claim their own run. The number that tells them apart was the one nothing counted.
341
+
342
+ </details>
343
+
344
+ ## 0.1.0-alpha.154
345
+
346
+ ### Patch Changes
347
+
348
+ - fix(layers): a layer shows the changed lines it claims, and the lines another layer claims are one line saying which layer that is, even inside the run it is showing.
349
+
350
+ <details><summary>What was wrong</summary>
351
+
352
+ A reading order written one layer to a commit splits a long run of changed lines between several
353
+ layers. Scoping a layer to whole runs still drew all of a 276-line run for every layer that claimed
354
+ any line of it, so a reviewer walking eleven commits read the same block eleven times.
355
+
356
+ </details>
357
+
358
+ ## 0.1.0-alpha.153
359
+
360
+ ### Patch Changes
361
+
362
+ - fix(layers): a layer shows the runs it claims, and a change another layer explains is one line saying which layer that is.
363
+
364
+ <details><summary>What was wrong</summary>
365
+
366
+ Eleven layers over one file drew that file's whole diff eleven times, with the layer's words landing
367
+ somewhere different each time and nothing saying which part you were meant to be reading. A layer
368
+ whose runs sat at line 1,600 also opened at line 800 and left you to find them.
369
+
370
+ </details>
371
+
372
+ ## 0.1.0-alpha.152
373
+
374
+ ### Patch Changes
375
+
376
+ - fix(search): what is found is ordered by how near it is to you — your file, then the branch's files, then the rest — with declarations marked and tests, prose and data last.
377
+
378
+ <details><summary>What was wrong</summary>
379
+
380
+ Searching a monorepo for a common name handed back every place git happened to print, in git's
381
+ order: twenty-three thousand rows, with the file you were reading somewhere in the middle and
382
+ `.txt` corpora, Dockerfiles and documents above the code. The count for each distance is said now,
383
+ so a name with ten places in your file and twelve hundred elsewhere says both.
384
+
385
+ </details>
386
+
387
+ perf(search): searching a monorepo for a name costs one git pass over hit lines, not one per keystroke over every neighbouring line.
388
+
389
+ <details><summary>What was wrong</summary>
390
+
391
+ Every search asked git for two lines of context around every match — 6,832 lines for one name in a
392
+ monorepo against 1,421 hits — and then scanned all of them once per match to build the neighbours
393
+ of places nobody was looking at. At typing speed each keystroke started another one, so typing a
394
+ name of eight letters started eight, each queued behind the last. A search now reads hit lines
395
+ only, reads the neighbours of the one place under the cursor, waits until you have stopped typing,
396
+ and runs beside the terminal rather than in front of it.
397
+
398
+ </details>
399
+
400
+ fix(search): a search waits for two letters, and an answer that arrives for a word you have moved on from is dropped.
401
+
402
+ <details><summary>What was wrong</summary>
403
+
404
+ Typing `i` on the way to `identity` searched for `i`, which in a monorepo is twenty-two thousand
405
+ places; the answer landed after the later ones and the list then showed the places for `i` under
406
+ the word `identity`.
407
+
408
+ </details>
409
+
410
+ ## 0.1.0-alpha.151
411
+
412
+ ### Patch Changes
413
+
414
+ - fix(footer): the footer says one thing at a time, so reading the pull request no longer sits beside what you just did.
415
+
416
+ <details><summary>What was wrong</summary>
417
+
418
+ Reading the branch again while the pull request was still being read left two messages in the
419
+ corner — `reading the pull request read the branch again` — which reads as two things happening to
420
+ you rather than one. The reading line now shows where nothing else is being said.
421
+
422
+ </details>
423
+
424
+ ## 0.1.0-alpha.150
425
+
426
+ ### Patch Changes
427
+
428
+ - breaking(preferences): the pull request's remarks are read only after you turn "Read the pull request's review" on.
429
+
430
+ <details><summary>What changed</summary>
431
+
432
+ adiff read every branch's pull request as soon as you opened it, whether or not you wanted its
433
+ review in the terminal. The preference is off for everyone, so a repository with nothing to read
434
+ costs nothing. Turn it on under `,` in the review, or with `adiff config set --name remarks --value on`.
435
+
436
+ </details>
437
+
438
+ perf(review): reading a branch's remarks takes 0.75s, down from 2.7s on this repository, and the diff no longer waits for it.
439
+
440
+ <details><summary>What was wrong</summary>
441
+
442
+ Pressing `r` sat there. Every reload listed the pull requests, looked one up, asked who owned the
443
+ repository and only then read the threads — four round trips to GitHub before the diff came back.
444
+ It is one request now, it runs behind the diff, and the footer says it is reading the pull request
445
+ until the remarks land.
446
+
447
+ </details>
448
+
449
+ fix(review panel): the box you reply to a remark in quotes the remark and says the reply goes to the pull request.
450
+
451
+ <details><summary>What was wrong</summary>
452
+
453
+ `c` wrote a comment for the agent and `R` posted publicly on the pull request, and both opened the
454
+ same box over the same lines of code, with the same "send it" underneath.
455
+
456
+ </details>
457
+
458
+ ## 0.1.0-alpha.149
459
+
460
+ ### Patch Changes
461
+
462
+ - fix(agent skill): the drafting rules name `draft send` as the reviewer's command instead of denying it exists.
463
+
464
+ <details><summary>What was wrong</summary>
465
+
466
+ The skill told an agent "There is no command that dispatches, on purpose", and `draft send` dispatches
467
+ — it posts every held comment to the pull request as one review. An agent that found the command had
468
+ been told it did not exist, which is a reason to think the skill is stale rather than a reason to
469
+ leave the command alone. The rule is the same as it always was, and now it says which command it is
470
+ about. PRD 012 carried the same sentence and says the same thing now.
471
+
472
+ </details>
473
+
474
+ ## 0.1.0-alpha.148
475
+
476
+ ### Patch Changes
477
+
478
+ - feat(diff): the remarks left on a branch's pull request are read in the review, and accepting one hands it to the agent as your own comment.
479
+
480
+ <details><summary>How it goes</summary>
481
+
482
+ A review on the pull request shows up against the code it is about, with the handle that left it.
483
+ `A` accepts a remark, which writes a comment in your name and sends it to the agent; `c` accepts it
484
+ in your own words; `X` dismisses it, reversibly, without touching the pull request; `o` opens the
485
+ pull request. The review panel lists what is still untriaged, and the walk to the next comment stops
486
+ on remarks too.
487
+
488
+ A remark never reaches the agent on its own. `comment take` cannot return one, and `adiff remark
489
+ list` is how an agent reads them when you ask it to.
490
+
491
+ </details>
492
+
493
+ ## 0.1.0-alpha.147
494
+
495
+ ### Patch Changes
496
+
497
+ - breaking(CLI): `adiff skill refresh` is gone, and `npx skills update adiff` updates the skill instead.
498
+
499
+ <details><summary>What changed</summary>
500
+
501
+ `skill refresh` looked in `.claude/skills/adiff/SKILL.md` and nowhere else. On Codex, Cursor,
502
+ OpenCode or anything else it found nothing and reported no changes rather than saying it had not
503
+ looked. The skills CLI also installs a symlink by default, so on an ordinary install there was
504
+ nothing there to rewrite that the next `skills update` would not undo.
505
+
506
+ Keeping a second updater working meant matching a registry of seventy-seven agent directories that
507
+ the skills CLI already maintains. `npx skills update adiff` works for every agent and every install.
508
+ An agent holding a skill a version behind gets a refused command with a `suggestion` naming the fix,
509
+ which is what `describe` is for.
510
+
511
+ </details>
512
+
513
+ fix(upgrade): an upgrade names the command that brings the skill up with it.
514
+
515
+ <details><summary>What was wrong</summary>
516
+
517
+ Upgrading adiff left the skill describing the older build, and the line that used to say otherwise
518
+ only ever appeared for a Claude Code install that had been copied rather than linked. The version
519
+ installed is still the second-to-last line; under it sits the one thing left to do.
520
+
521
+ </details>
522
+
523
+ fix(README): the install command no longer picks an agent for you.
524
+
525
+ <details><summary>What was wrong</summary>
526
+
527
+ The documented command was `npx skills add … -g -y -a claude-code`, which installed the skill for
528
+ Claude Code whatever agent the reader actually used, and `-y` suppressed the question that would
529
+ have asked them. The question is the agent picker. `--agent codex`, repeated, or `--agent '*'`
530
+ answers it up front.
531
+
532
+ </details>
533
+
534
+ ## 0.1.0-alpha.146
535
+
536
+ ### Patch Changes
537
+
538
+ - fix(CLI): `adiff skill refresh` works on the Homebrew install, where it used to fail every time.
539
+
540
+ <details><summary>What was wrong</summary>
541
+
542
+ `skill refresh` found the skill it ships by walking up from its own module until it saw
543
+ `skills/adiff/SKILL.md` on disk. That file is in the npm package and in a checkout, and it is not in
544
+ the compiled binary Homebrew installs, so the command failed with "not found beside this build" and
545
+ a suggestion that blamed the directory it was writing to. The skill now travels inside the build.
546
+
547
+ This was the mechanism that answers a skill drifting from the adiff beside it, and it did not work on
548
+ the route the README leads with.
549
+
550
+ </details>
551
+
552
+ fix(upgrade): `adiff upgrade` says when it could not rewrite the installed skill.
553
+
554
+ <details><summary>What was wrong</summary>
555
+
556
+ `upgrade` ran `skill refresh` and mapped any failure to "nothing was refreshed", so an upgrade whose
557
+ skill refresh failed read exactly like one with no skill installed. That is why the Homebrew failure
558
+ above went unnoticed.
559
+
560
+ </details>
561
+
562
+ fix(CLI): `skill refresh` leaves a skill the skills CLI owns alone, and reports it as linked.
563
+
564
+ <details><summary>What was wrong</summary>
565
+
566
+ `npx skills add` installs a symlink by default. `skill refresh` wrote straight through it, editing a
567
+ clone inside that tool's cache — which the next `npx skills update` silently reverted. Two tools were
568
+ overwriting one file in turn. A link is now reported and left as it is.
569
+
570
+ </details>
571
+
572
+ ## 0.1.0-alpha.145
573
+
574
+ ### Patch Changes
575
+
576
+ - fix(bug report): a minimal report carries nothing that names the machine, the repo, the branch or the file.
577
+
578
+ <details><summary>What was wrong</summary>
579
+
580
+ `ctrl+t` said the report left out file names, code and key history, and then printed the hostname,
581
+ the repo path, the branch and the current file anyway. A reviewer who was told the report was safe
582
+ to paste into a public issue published all four. A minimal report now carries only what a
583
+ maintainer needs and a reviewer can share: the adiff and Node versions, the platform, the terminal
584
+ size, the screen and focus, the count reviewed, and the kind of the last internal failure. The
585
+ failure's message is left out too, because an error message routinely carries an absolute path — an
586
+ `ENOENT` names the file it could not open. A full report is unchanged.
587
+
588
+ </details>
589
+
590
+ ## 0.1.0-alpha.144
591
+
592
+ ### Patch Changes
593
+
594
+ - fix(home screen): the branch list is headed `BRANCH` and counts `3 branches`, where it said worktree.
595
+
596
+ <details><summary>What was wrong</summary>
597
+
598
+ The list of work waiting was headed `WORKTREE`, and the line above it counted worktrees. adiff talks
599
+ about branches everywhere else, so the reviewer had two words for one thing on the first screen they
600
+ see.
601
+
602
+ </details>
603
+
604
+ fix(keys): the keys that reread the list and jump to its ends name branches, not worktrees.
605
+
606
+ ## 0.1.0-alpha.143
607
+
608
+ ### Patch Changes
609
+
610
+ - fix(diff): a comment stays on its line when the agent edits that line by a few characters.
611
+
612
+ <details><summary>What was wrong</summary>
613
+
614
+ A comment was placed by matching its snippet exactly, so making the small edit the comment asked for
615
+ took the comment off the diff along with the old wording. Asking for `seed: (driver, network)` to
616
+ become `seed: ({ driver, network })` cost the reviewer both the comment and the answer to it: the
617
+ thread was answered, but only the review panel showed it. A line that is nearly the same — at most
618
+ one character changed in four — now keeps the comment. A short line still has to match exactly, so
619
+ nothing lands on a stray brace, and code the agent genuinely replaced still goes to the panel.
620
+
621
+ </details>
622
+
623
+ - breaking(CLI): `adiff init` is gone, and the skill is installed with `npx skills add Newbie012/agent-diff --skill adiff`.
624
+
625
+ <details><summary>What changed</summary>
626
+
627
+ `init` wrote a passage into `AGENTS.md` and a `CLAUDE.md` importing it, kept between sentinels so it
628
+ could be found and replaced, and wrote the skill only if you also asked for it. Editing two files a
629
+ whole team shares bought nothing the skill does not already do — an agent finds a skill by its
630
+ description without being told to look — and a command whose whole job was fetching one file had to
631
+ be installed, learned and kept in step with the skills CLI's own.
632
+
633
+ Getting started is now installing adiff and installing the skill. adiff writes nothing into a
634
+ repository. If you ran the old `init`, the block between `<!-- adiff:begin -->` and
635
+ `<!-- adiff:end -->` in `AGENTS.md` and `CLAUDE.md` is yours to delete; nothing reads it any more.
636
+ `adiff skill refresh` still brings an installed skill up to the build running beside it.
637
+
638
+ </details>
639
+
640
+ - fix(diff): the terminal shows the diff against the base it was opened with.
641
+
642
+ <details><summary>What was wrong</summary>
643
+
644
+ `adiff review open --base <ref>` took the flag, validated it, and threw it away. The terminal always
645
+ read the branch against the base it would have guessed, so someone reviewing the one commit they had
646
+ just asked for got the whole stacked branch instead — 44 files where the base gave 1 — with nothing
647
+ on screen to say the base had been ignored. Every command that answers in JSON honoured it, which
648
+ made the terminal look right until you counted the files.
649
+
650
+ </details>
651
+
652
+ fix(diff): `review pane` carries a base into the pane it opens and the command it reports.
653
+
654
+ <details><summary>What was wrong</summary>
655
+
656
+ The same flag was dropped one function over, so a pane opened for an agent showed a different diff
657
+ from the one the agent was told to open, and the command in the answer could not be pasted to
658
+ reproduce it.
659
+
660
+ </details>
661
+
662
+ ## 0.1.0-alpha.142
663
+
664
+ ### Patch Changes
665
+
666
+ - fix(diff): a comment moves to wherever its code went when the agent edits the file above it.
667
+
668
+ <details><summary>What was wrong</summary>
669
+
670
+ A comment was drawn at the line number it was written at. When the agent added or removed lines
671
+ above that code, every comment in the file stayed on its old number and pointed at whatever had
672
+ moved into it. A comment carries the exact snippet it was written against, and that is now what
673
+ places it.
674
+
675
+ </details>
676
+
677
+ fix(diff): a comment whose code the agent rewrote is not drawn against the line that took its place.
678
+
679
+ <details><summary>What was wrong</summary>
680
+
681
+ When the code a comment was about was changed rather than moved, there was nothing to move the
682
+ comment to, and it stayed on its old line — reading as a remark about code it was never about. Such
683
+ a thread is now left off the diff and kept in the review panel, which says it is not in the diff.
684
+
685
+ </details>
686
+
687
+ fix(diff): an answer with more than one line keeps its lines.
688
+
689
+ <details><summary>What was wrong</summary>
690
+
691
+ An agent's answer and a reviewer's reply were flattened to a single paragraph, so a bulleted answer
692
+ read as one run-on sentence. The reviewer's own comment kept its breaks, so the two sides of a
693
+ thread were drawn by different rules.
694
+
695
+ </details>
696
+
697
+ ## 0.1.0-alpha.141
698
+
699
+ ### Patch Changes
700
+
701
+ - fix(CLI): `comment take --wait` refuses a number of seconds it cannot honour instead of answering as though nothing arrived.
702
+
703
+ <details><summary>What was wrong</summary>
704
+
705
+ `--wait` was read with nothing checking it. A value that was not a positive whole number of seconds
706
+ — a word, an empty value, a zero — fell through to a single poll and answered
707
+ `{"ok":true,"comments":[]}` at once. That is byte for byte what an expired wait answers, so an agent
708
+ that asked to listen for an hour was told "nothing arrived" and reported itself armed while it was
709
+ not listening at all.
710
+
711
+ `--wait` now takes a whole number of seconds from 1 to 86400 and refuses anything else on stderr
712
+ with exit 2, naming the most it takes. `--help` and `adiff describe` say the bound. An empty answer
713
+ now only ever means the inbox was empty.
714
+
715
+ </details>
716
+
717
+ ## 0.1.0-alpha.140
718
+
719
+ ### Patch Changes
720
+
721
+ - feat(comment delivery): with `hold` on, a comment waits with the others until `C` sends them to the agent as one review.
722
+
723
+ The review panel lists what is waiting under *Waiting to be sent*, the footer counts it, `X` drops the one under the cursor, and leaving with comments still waiting says so before it lets you go. Nothing waiting is a sent comment: it has no id the agent could answer and it is not in the inbox until it goes.
724
+
725
+ ## 0.1.0-alpha.139
726
+
727
+ ### Patch Changes
728
+
729
+ - feat(preferences): `,` opens a screen listing what adiff does, and turns any of it on or off.
730
+
731
+ ## 0.1.0-alpha.138
732
+
733
+ ### Patch Changes
734
+
735
+ - fix(review panel): the cursor keeps its place when you settle a thread, so the next one comes to it.
736
+
737
+ <details><summary>What was wrong</summary>
738
+
739
+ Settling followed the thread into the Settled section at the bottom of the panel, so closing a
740
+ column of threads meant walking back up to the top after every one.
741
+
742
+ </details>
743
+
744
+ fix(keys): tab moves to the next pane on the screen instead of bringing the file list back.
745
+
746
+ <details><summary>What was wrong</summary>
747
+
748
+ Hiding the file list with `t` and then pressing tab reopened it, so there was no way to move
749
+ between the diff and the review panel with the room the file list had been taking.
750
+
751
+ </details>
752
+
753
+ ## 0.1.0-alpha.137
754
+
755
+ ### Patch Changes
756
+
757
+ - fix(diff): a layer's prose carries a rule down its margin, so it cannot be read as the file.
758
+
759
+ <details><summary>What was wrong</summary>
760
+
761
+ The prose sat between two lines of code with no line number, no marker and nothing else to say it was not part of the file, so a note about the change below it read as stray markdown someone had committed.
762
+
763
+ </details>
764
+
765
+ perf(diff): turning to the next file takes about 15ms, down from about 77ms.
766
+
767
+ <details><summary>What was wrong</summary>
768
+
769
+ Every turn read the whole file at both ends of the diff before the screen moved, and those two reads exist only to feed syntax highlighting. The diff itself is already in memory, so the file now opens straight away and the colour follows it.
770
+
771
+ </details>
772
+
773
+ - feat(keys): `t` shows or hides the file list on its own, leaving the review panel where it is.
774
+
775
+ <details><summary>What was wrong</summary>
776
+
777
+ `z` hid the file list and the review panel together, so reading a wide diff beside your comments meant hiding both and bringing one back — `z` then `a`, which works by accident of composition rather than because anything offers it.
778
+
779
+ </details>
780
+
781
+ fix(footer): a stale reading order says which key asks for a new one.
782
+
783
+ <details><summary>What was wrong</summary>
784
+
785
+ The header said `layers stale` and stopped there, and `L` was in neither footer, so the one thing to do about it was only findable by reading the key sheet. The header now names the key, and the footer offers it while the order is stale.
786
+
787
+ </details>
788
+
789
+ ## 0.1.0-alpha.136
790
+
791
+ ### Patch Changes
792
+
793
+ - fix(layers rail): the wheel keeps working after a flick, and moves one file per notch.
794
+
795
+ <details><summary>What was wrong</summary>
796
+
797
+ The guard that stopped a trackpad flick running on past the gesture was never cleared when a move failed, so after one bad load the rail stopped answering the wheel entirely. It is cleared whatever happens now, and a notch that arrives mid-load is remembered rather than thrown away, so movement keeps up with the gesture instead of dropping out of it.
798
+
799
+ The wheel was also registered twice over the file list — once on the pane and once on the text inside it — so a single notch moved two files.
800
+
801
+ </details>
802
+
803
+ perf(diff): the diff is not handed to the highlighter again when only the pane width changed.
804
+
805
+ <details><summary>What was wrong</summary>
806
+
807
+ Toggling the review panel reassigned the code pane's contents even though the text was identical, which starts a fresh parse and draws the file unhighlighted until it finishes.
808
+
809
+ </details>
810
+
811
+ - fix(key sheet): `?` fills the screen and lays the keys out in two columns under their section headings.
812
+
813
+ <details><summary>What was wrong</summary>
814
+
815
+ Fifty keys were drawn in one narrow column the same size and shape as the command palette, so it scrolled even on a tall terminal and the category was repeated on every row instead of heading a section. The two columns fit most of the sheet at once, the headings say what each group is, and the space the repeated category took goes to the descriptions, which were being cut mid-word.
816
+
817
+ </details>
818
+
819
+ - fix(review panel): opening the panel puts the keys on it, and closing gives them back to the pane you came from.
820
+
821
+ <details><summary>What was wrong</summary>
822
+
823
+ `a` opened the panel and left the keys wherever they were, so the comments you had just asked to see could not be moved through without a second press of `tab`. Closing it sent the keys to the diff whatever you had been reading before, so opening and closing the panel quietly moved you off the file list. The panel is left alone when there is nothing in it to read.
824
+
825
+ </details>
826
+
827
+ ## 0.1.0-alpha.135
828
+
829
+ ### Patch Changes
830
+
831
+ - feat(changelog): a release note groups what changed under Breaking, Added, Fixed and Performance, and names the part of adiff each entry is about.
832
+
833
+ <details><summary>What it looked like before</summary>
834
+
835
+ A release was a run of paragraphs. Five fixes in one pull request arrived as one story, with no way to tell a fix from a new behaviour, or to find the part of adiff a line was about without reading all of it.
836
+
837
+ </details>
838
+
839
+ - fix(review panel): a thread says whether the agent has actually picked your comment up.
840
+
841
+ <details><summary>What was wrong</summary>
842
+
843
+ Everything unanswered was filed under "With the agent", which claimed custody adiff had no way to know about. `comment take` returned everything still owed an answer and left no trace, so a comment sent a second ago, one an agent had been working on for ten minutes, and one on a branch where no agent has ever run were the same thing on screen. Threads sit under "Not picked up" until something collects them, and "Picked up, no answer" after.
844
+
845
+ </details>
846
+
847
+ fix(diff): a thread head says how long ago the comment was picked up.
848
+
849
+ <details><summary>What was wrong</summary>
850
+
851
+ Every unanswered thread read `sent`. A comment an agent collected and then went away without answering — the case worth noticing — looked exactly like one written a second ago. It reads `picked up 40m ago` now.
852
+
853
+ </details>
854
+
855
+ ## 0.1.0-alpha.134
856
+
857
+ ### Patch Changes
858
+
859
+ - A wheel over the layers rail still moves a file at a time, but stops when you do. Each tick was queued behind a file load, so a trackpad flick left a backlog that carried on walking the review long after the gesture ended. Ticks that arrive while a move is still loading are dropped rather than queued.
860
+
861
+ The rail's columns line up. A directory sat one column left of the layer title above it and two right of the file names below it — three ragged edges. The three levels now step in evenly, the way the file tree already did, and a directory too long for the rail is shortened rather than cut off at the pane edge.
862
+
863
+ ## 0.1.0-alpha.133
864
+
865
+ ### Patch Changes
866
+
867
+ - CHANGELOG.md reads newest first. Versions were ordered as words rather than as numbers, so alpha.9 sat between alpha.90 and alpha.89 and the newest release was nowhere near the top. The release pages were always right; only the generated file was wrong.
868
+
869
+ ## 0.1.0-alpha.132
870
+
871
+ ### Patch Changes
872
+
873
+ - Five things the layers rail got wrong about where you are.
874
+
875
+ Collapsing the layer you are reading took the cursor off the rail entirely — nothing said where you were, and the layer looked unstarted. A collapsed layer holding the cursor now carries it on its title row.
876
+
877
+ After `r` picked up layers the agent had rewritten, the layer holding your file was collapsed, the rail had no cursor, and `l` did nothing at all, because both were still keyed to the layer index from before the reload.
878
+
879
+ A first layer whose files are not in the diff — one bad path from the agent — opened the review at the *last* file of the reading order instead of the first.
880
+
881
+ A file two layers both claim reported the position of its first appearance, so the counter read `file 1 of 3` at the end of the walk, and `]` looked dead on the press that moved between the two copies. The cursor bar was also drawn on that file in every layer naming it, so the rail could not say which layer you were reading.
882
+
883
+ A layer whose spans name nothing in the diff drew a bare title with no explanation and lost its note. It now says what it was pointing at, and shows the note, since there is no file for the diff to carry it against.
884
+
885
+ ## 0.1.0-alpha.131
886
+
887
+ ### Patch Changes
888
+
889
+ - A file whose content did not change says what did. Making a file executable, or renaming it, showed a diff pane containing a single bare line number and nothing else — no cursor, no explanation, and `j` did nothing because the pane had no rows. git reports both; adiff dropped the lines. It now says `mode changed, 100644 to 100755` or `renamed from pkg/gizmo.ts`, and shows the diff underneath when there is one.
890
+
891
+ That bare line number was a patch with no rows being given one blank display row and numbering it. No patch can end up with no rows now, and a row that sits on no line of either side no longer borrows a number — which also cleans up the "no newline at end of file" marker.
892
+
893
+ ## 0.1.0-alpha.130
894
+
895
+ ### Patch Changes
896
+
897
+ - The review opens with the file you are on visible in the file list. In a repo with enough files that folders start collapsed, the folder holding the opening file was collapsed too — so nothing in the rail was marked, and the only way to see where you were was to press `l`. With forty-five files across five folders, seventeen of twenty-seven rail rows sat empty while the current file was hidden.
898
+
899
+ ## 0.1.0-alpha.129
900
+
901
+ ### Patch Changes
902
+
903
+ - One glyph per idea. Five marks were carrying twelve meanings: `✓` meant a reviewed file, a settled thread and a sent one — the last of which is the opposite of done; `○` meant "this line has a thread", "this thread is unread" and "this file is in the diff"; `•` drew the same idea as `○` differently; `·` was a bullet and a separator at once; and `▎` was the cursor everywhere except the file tree, which used a background tint instead.
904
+
905
+ Now `▎` is the cursor row everywhere, `▾`/`▸` are disclosure only, `○ ◐ ●` is one three-state ring for a thread — waiting on the agent, answered, waiting on you — drawn identically in the diff gutter, the review panel, the file tree badge and the layers rail, `✓` means nothing left to do, and `·` is a separator. The file tree's badge counts only threads still open, so it stops promising work that is already settled. The diff no longer marks lines for a comment you removed. The Nerd Font file and folder icons are gone, and the two columns they took go to the path.
906
+
907
+ ## 0.1.0-alpha.128
908
+
909
+ ### Patch Changes
910
+
911
+ - A file whose name is not plain ASCII is in the review. git quotes such paths by default, adiff could not read the quoted form, and the file was dropped from the diff entirely — absent from the tree, absent from the count, unreachable by `]`, with nothing saying so. `layers set` reported it to the agent as vanished while it existed, and with layers set the same diff reported one more file than without.
912
+
913
+ Two things introduced earlier today are also fixed. A layer whose files you have all read stopped saying so once `f` hid them — the tick reverted and the layer looked unstarted, because the tally counted the visible files rather than the layer's own. And the leftover layer could say "0 runs of changed lines the layers do not account for" while listing a file; it now says what is actually left over.
914
+
915
+ ## 0.1.0-alpha.127
916
+
917
+ ### Patch Changes
918
+
919
+ - The pinned scope keeps the innermost levels rather than the outermost. Deeply nested code pinned the four scopes furthest from the code — so at twelve levels of nesting you were told the class and never the function you were reading. It now pins the outermost one, for orientation, and the innermost ones, and marks the outermost with `⋯` when levels between were dropped.
920
+
921
+ ## 0.1.0-alpha.126
922
+
923
+ ### Patch Changes
924
+
925
+ - A layer's note about a changed line sits above the change, not inside it. When a line is replaced, git shows the old and the new one after the other, and the note was drawn between them — so four rows of prose split the one pairing a diff exists to show, on the first screen of the review.
926
+
927
+ ## 0.1.0-alpha.125
928
+
929
+ ### Patch Changes
930
+
931
+ - A key that toggles something says which way it will go. `f hide read` read the same whether files were hidden or shown — and the filter survives a restart, so you could open a review with files missing and nothing on screen saying so. It now reads `f show read` while hiding. Same for `f hide settled`, and `X` offers `restore` when the thread under the cursor has been removed.
932
+
933
+ `L` asks about the branch, not about the line the cursor happened to be on. The request landed as a comment card on an arbitrary import, so the agent was told to write a reading order in a thread about a line that had nothing to do with it. It is anchored to the start of the diff and says up front that it is about the branch.
934
+
935
+ Every changed file has a place in the layers rail. A file with no changed lines — a binary one, say — belonged to no layer and never reached the leftover layer either, so the rail listed seven of eight files, the two rails disagreed about the count, and `]` could never reach the eighth.
936
+
937
+ `→ N columns cut off` counted three columns that were not cut, and did not name the key that pans.
938
+
939
+ ## 0.1.0-alpha.124
940
+
941
+ ### Patch Changes
942
+
943
+ - `draft send` keeps the comments the forge did not take. A send the forge only partly accepted deleted every draft it had asked about and reported success, so comments the pull request never received were gone from disk. Only drafts the forge names back are cleared; the rest stay held, the answer says how many landed and how many are still waiting, and sending again sends only those. A reply adiff cannot read confirms nothing rather than everything.
944
+
945
+ Two sends at once post one review. They used to race, each read the whole set, and each post it, so the pull request got two identical reviews. A send now holds a lock across the whole cycle, and a second one finds nothing left to send.
946
+
947
+ ## 0.1.0-alpha.123
948
+
949
+ ### Patch Changes
950
+
951
+ - A change you can only see in the whitespace is now visible. Adding a trailing space or turning spaces into a tab showed a removed line and an added line that read identically, with nothing to tell them apart. Trailing spaces and tabs on a changed line are marked. Copying still takes the bytes that are in the file.
952
+
953
+ ## 0.1.0-alpha.122
954
+
955
+ ### Patch Changes
956
+
957
+ - A file with no newline at the end says so. git reports it and adiff dropped the line, so the change to a file's last byte showed as two lines that read identically with nothing to tell them apart.
958
+
959
+ The lock around a review's state is patient enough for a loaded machine. Four writers arriving at once on a busy box could exhaust its retries and lose a write.
960
+
961
+ ## 0.1.0-alpha.121
962
+
963
+ ### Patch Changes
964
+
965
+ - Nothing about what adiff does changes. The test suite stopped repeating two setups 350 times, stopped reaching into functions no reviewer or agent can see, and stopped leaking `PATH` and a stub HTTP server between tests in the same worker. One existing test was writing to a store key nothing reads and passing anyway; it now derives the key from the store.
966
+
967
+ ## 0.1.0-alpha.120
968
+
969
+ ### Patch Changes
970
+
971
+ - Copying a selection that crosses a collapsed gap no longer puts adiff's own `⋯ 103 lines hidden` marker on the clipboard as if it were source. `y` also stops discarding a selection you made because the cursor happens to be resting on a comment — with a selection active it copies the selection.
972
+
973
+ The two numbers on screen say what they count. The footer now reads `4 lines selected` and the toast `2 lines copied`, which is honest about the difference: a change shows both its old and its new line, and copy takes the one you are keeping.
974
+
975
+ ## 0.1.0-alpha.119
976
+
977
+ ### Patch Changes
978
+
979
+ - A gap says what the keys do to it. `⋯ 26 lines hidden · press l` did not say that `l` reveals ten at a time, so on a large gap it looked like nothing was happening, and it never mentioned `F`, which opens the whole file at once. It now reads `⋯ 26 lines hidden · l opens 10, F opens all`, and when the gap is smaller than one press it says `l opens them`.
980
+
981
+ ## 0.1.0-alpha.118
982
+
983
+ ### Patch Changes
984
+
985
+ - One word per idea. A comment you take back was called "remove" by the key, "Withdrawn" by the review panel and `remove`/`restore` by the command line — three words for one act. The terminal now says what the command line says.
986
+
987
+ `unread` meant two different things in two answers: on a branch it counted comments the agent had not answered, and on a thread it counted answers the reviewer had not read. `adiff branch list` now calls its one `unanswered`, which is what the screen already labelled it.
988
+
989
+ ## 0.1.0-alpha.117
990
+
991
+ ### Patch Changes
992
+
993
+ - A binary file says it is binary instead of drawing an empty pane. git reports it as changed and adiff listed it in the file tree, but opening it showed a pane with nothing in it — indistinguishable from a rendering failure.
994
+
995
+ ## 0.1.0-alpha.116
996
+
997
+ ### Patch Changes
998
+
999
+ - `g`, `G` and the page keys move whatever pane has focus. With the file list or the review panel focused they moved the diff cursor instead — invisibly, since you were not looking at the diff — so the only way through a long list was one row at a time. Sixty presses to get from the bottom of a forty-layer rail to the top.
1000
+
1001
+ Hiding reviewed files now works while reading layers. `f` was honoured by the file tree and ignored by the layers rail, so the same key did something in one rail and nothing in the other, and the header count disagreed with what you could see.
1002
+
1003
+ A comment on a line that is hidden inside a collapsed gap can be reached from the review panel. It used to say the comment was outside the diff while the file it belongs to was open on screen; it now opens the gaps and goes there.
1004
+
1005
+ ## 0.1.0-alpha.115
1006
+
1007
+ ### Patch Changes
1008
+
1009
+ - Caches that outlived the process now live inside the layer that owns them, so a reload after the agent commits reads the real base rather than one remembered from earlier. The store's rename guard was set before the rename it guards, so a second reader could take the path the file had just left; it is a proper cache now, and a second reader waits.
1010
+
1011
+ Child processes are killed when the work that started them is interrupted. Leaving the review used to leave `gh` running behind it, and a cancelled upgrade could orphan a long install.
1012
+
1013
+ A truncated session file no longer crashes the terminal on launch, the store encodes what it writes through the same schema it decodes what it reads with, and several closed unions became switches so that adding a case fails the build rather than falling through.
1014
+
1015
+ ## 0.1.0-alpha.114
1016
+
1017
+ ### Patch Changes
1018
+
1019
+ - A comment you withdrew can be brought back from the terminal. `X` used to be a one-key destructive action with no confirm, no undo and no trace — the thread vanished from the diff, from the review panel and from the file counts, and the only way back was a CLI command the message named but the terminal could not run. A withdrawn thread now sits under "Withdrawn" in the review, out of the diff, and `X` on it brings it back.
1020
+
1021
+ ## 0.1.0-alpha.113
1022
+
1023
+ ### Patch Changes
1024
+
1025
+ - The reply box shows the thread you are answering. It used to quote code from wherever the diff cursor happened to be — often a different file — and never showed your comment or the agent's answer, so you replied to a question you could not see. It now shows the conversation, and names the range rather than only its last line.
1026
+
1027
+ The header says when a line runs off the right of the pane. Code was cut with no marker of any kind, so two lines that differ only past the edge looked identical.
1028
+
1029
+ ## 0.1.0-alpha.112
1030
+
1031
+ ### Patch Changes
1032
+
1033
+ - The review panel says what state a thread is in. A question the agent asked back — the one thing that stops the review until you answer — was filed under "Answered" with the same mark as an ordinary answer. It now has a section of its own at the top, and settled threads have one at the bottom instead of sitting in place with one glyph missing. When there are more threads than fit, the panel says how many are above and below rather than ending mid-list.
1034
+
1035
+ The box a comment is written in stays on screen. Past about seven hundred characters at 80x24 it grew through the pane border, the send hint and the footer, and you carried on typing with the caret off the bottom of the terminal.
1036
+
1037
+ `a` says the terminal is too narrow for the review panel every time, not only the first — it used to toggle an invisible flag and look dead. A path that is not a git repository says so, instead of "nothing to review". The key sheet no longer says "4 of them" while drawing three. And the key sheet and the command palette answer to the words a reviewer would actually type: `resolve` finds settle, `search` finds find, `shortcuts` finds the key sheet.
1038
+
1039
+ ## 0.1.0-alpha.111
1040
+
1041
+ ### Patch Changes
1042
+
1043
+ - Removes code nothing called any more, and gives each duplicated constant one home. Nothing about what adiff does changes.
1044
+
1045
+ ## 0.1.0-alpha.110
1046
+
1047
+ ### Patch Changes
1048
+
1049
+ - A comment now quotes only the lines it says it is about. A selection that crossed a change stored the old and the new version of every changed line in its snippet while naming only the new side, so the agent was handed code that is not at those line numbers in either version of the file. `--side old` was worse: it silently became a new-side comment on a different line.
1050
+
1051
+ Two writes to one review at the same moment both land. Settling in the terminal while the agent answered from the worktree lost one of them and reported success for both; at twelve at once, five of twelve survived.
1052
+
1053
+ `draft send` no longer throws away a draft written while it was sending, reports what the forge actually took rather than what it was handed, and posts a range as a range instead of a comment on its last line.
1054
+
1055
+ The key sheet names every key a command answers to, so `j` and `k` are findable, and it can be searched by key as well as by name. The footer says how to move before anything else, keeps the highest-ranked keys when the terminal is narrow rather than the last ones, and always keeps the two ways out.
1056
+
1057
+ ## 0.1.0-alpha.109
1058
+
1059
+ ### Patch Changes
1060
+
1061
+ - The line under the cursor, and the lines in a selection, keep their colour. It used to be repainted a flat grey with a bright blue gutter, so on the one line you were looking at you could not tell whether it had been added or deleted — the `+` sat at 1.18:1 against its own background. The cursor and the selection now lift the line's own tint instead of replacing it, and the line numbers were lifted out of the 1.6:1 they sat at on a tinted row. Comment bodies are no longer the dimmest text on the screen: they were 3.9:1 while the agent's narration beside them was 8.2:1, which had it backwards.
1062
+
1063
+ - The two counters in the header no longer look like the same number. `2/14 3/14 reviewed` put a position and a progress fraction two spaces apart in one colour, with different denominators when a file sat in more than one layer. They now read `file 2 of 14` and `3 reviewed`.
1064
+
1065
+ - An option value that begins with two dashes is kept rather than thrown away. `--body "--force is risky here"` used to store the word `true` and report success, so the comment the reviewer wrote was silently replaced. Options can also be written as `--name=value`.
1066
+
1067
+ adiff now refuses what it used to swallow: an option a command does not take, a `--side` that is neither `old` nor `new`, a line number that is not a whole number, and a `--fields` name the answer does not carry. Each refusal names what was given and what is allowed. `--fields` itself is now listed by `adiff describe`, and the nine failures that used to report "Unexpected failure, try again" — an unreachable forge, a git command that failed, a store file that could not be read — say what actually went wrong and that retrying will not help.
1068
+
1069
+ - Four things a bug bash of the review terminal turned up.
1070
+
1071
+ Copying a selection that crosses a change put both versions of every changed line on the clipboard, so the paste was code that existed in neither version of the file. It now copies the version being kept, and still copies deleted lines when that is all you picked.
1072
+
1073
+ A comment you were part way through writing is no longer thrown away when the box closes. Escape or ctrl+c keeps it, and reopening on the same lines brings it back. A comment of nothing but spaces is refused with a message instead of reaching the agent as an empty thread.
1074
+
1075
+ A terminal too narrow to draw the review in used to leave it blank for good, with no way back short of restarting. It says it needs more room, and comes back when the terminal does.
1076
+
1077
+ - Wrapped lines follow the pane when it grows. Hiding the rails with `z` widened the diff from 66 columns to 148 and the text kept breaking at 62, so the one key that buys the most room did nothing for anyone reading with wrapping on.
1078
+
1079
+ ## 0.1.0-alpha.108
1080
+
1081
+ ### Patch Changes
1082
+
1083
+ - `L` in the review asks the agent for a reading order. If the branch has none it asks for one, if the one it has describes an older commit it says so and asks for a fresh read, and otherwise it asks for a revision. The request arrives as an ordinary comment, so the agent picks it up the way it picks up everything else.
1084
+
1085
+ - Comments on somebody else's pull request can be drafted rather than sent. `adiff draft add`, `edit`, `drop` and `list` hold a set of comments against a branch, and `adiff draft send` posts them to the pull request as one review. Nothing reaches the forge until it is sent; a pull request that moved, or a forge that cannot be reached, refuses the send and keeps every draft. The agent can read and write drafts and cannot send — the reviewer signs the review.
1086
+
1087
+ ## 0.1.0-alpha.107
1088
+
1089
+ ### Patch Changes
1090
+
1091
+ - The key that swaps the rail says where it would take you — `s file tree` while you are reading layers, `s layers` while you are reading files — and it is offered from the diff as well as from the rail. A layer set that has gone stale says so in the header, so you can see it from the file tree and not only from the layers rail.
1092
+
1093
+ ## 0.1.0-alpha.106
1094
+
1095
+ ### Minor Changes
1096
+
1097
+ - A layer in the rail is a card: its title, what it says, and the files it covers, each ticked off as it is reviewed, with a count of how many are done. `]` and `[` walk that reading order from one layer into the next, and switching to the file tree survives a reload.
1098
+
1099
+ ### Patch Changes
1100
+
1101
+ - Layers read as chapters. The rail no longer repeats each layer's note word for word — the diff already shows it above the code it describes — and prints the reading order instead: a numbered title, the directories the layer touches, and the file names under them, with a tick against the ones you have read. It expands as many layers as fit rather than collapsing all but one, marks the current file in the accent colour, and says how many layers sit above and below.
1102
+
1103
+ - Making the terminal smaller no longer blanks the review for good. Every panel kept its old width, the draw underneath failed, and nothing was drawn again until adiff was restarted. Mark-and-go-to-next also stopped un-marking a file that was already reviewed.
1104
+
1105
+ - `layers set` says which layer it would not take and why, instead of one sentence for five different mistakes. Spans that end before they start, or start before line one, are refused rather than dropped in silence; a layer given both spans and blocks keeps both; `./src/one.ts` is the same path as `src/one.ts`; and `layers show` reports covered, partial and vanished for each layer, not only for the document as a whole.
1106
+
1107
+ - Walking a layered review reaches the end of it. Two layers naming the same file used to send `]` and `[` back to the first layer that claimed it, leaving the tail of the review unreachable, and the header counted a file once per layer that mentioned it.
1108
+
1109
+ ## 0.1.0-alpha.105
1110
+
1111
+ ### Patch Changes
1112
+
1113
+ - Looking for something no longer re-reads the whole branch on every search, and finds a name however it was capitalised.
1114
+
1115
+ ## 0.1.0-alpha.104
1116
+
1117
+ ### Patch Changes
1118
+
1119
+ - Looking for something shows the places as the words are typed, keeps a readable panel before there is anything to show, and never reads the clipboard.
1120
+
1121
+ ## 0.1.0-alpha.103
1122
+
1123
+ ### Minor Changes
1124
+
1125
+ - Looking for something opens a box to type in, filled from the clipboard or from what the mouse picked, rather than guessing a name from the selected line. Matches are grouped under the file they are in, and the one under the cursor shows the lines around it.
1126
+
1127
+ ## 0.1.0-alpha.102
1128
+
1129
+ ### Patch Changes
1130
+
1131
+ - `?` opens the key sheet again, along with every other binding that is a shifted character: `{`, `}`, `<`, `>`, `+` and `_`.
1132
+
1133
+ ## 0.1.0-alpha.101
1134
+
1135
+ ### Patch Changes
1136
+
1137
+ - Ctrl+C on the review says what a second press will do rather than leaving at once, and `adiff config set` refuses a value that is not on or off instead of reading it as off.
1138
+
1139
+ ## 0.1.0-alpha.100
1140
+
1141
+ ### Patch Changes
1142
+
1143
+ - A gap hiding a single line is opened as the file is read, rather than spending a row of the screen to say one line is hidden.
1144
+
1145
+ ## 0.1.0-alpha.99
1146
+
1147
+ ### Patch Changes
1148
+
1149
+ - What a search found can be narrowed by typing, and each match shows the end of its path and the line it matched rather than a long path cut at the edge.
1150
+
1151
+ ## 0.1.0-alpha.98
1152
+
1153
+ ### Patch Changes
1154
+
1155
+ - Finding the selection elsewhere looks for the words the reviewer picked, rather than the longest name on the line they were picked from.
1156
+
1157
+ - The file list and the review panel say which of them the keys will reach by how brightly the row under their cursor is lit, rather than with a small glyph beside it.
1158
+
1159
+ ## 0.1.0-alpha.97
1160
+
1161
+ ### Patch Changes
1162
+
1163
+ - Every release writes its changes into CHANGELOG.md and says them on the release page, rather than only in an install line.
1164
+
1165
+ - Clicking a line puts the cursor on it rather than selecting it, so the arrows afterwards move the cursor and the diff stays where it is.
1166
+
1167
+ - Settling or removing a thread from the review panel leaves the cursor where it was, rather than sending it back to the first thread.
1168
+
1169
+ ## 0.1.0-alpha.96
1170
+
1171
+ ### Patch Changes
1172
+
1173
+ - Ctrl+C closes the box, key sheet, palette or search that is open over the review, and only leaves adiff when nothing is open over it.
1174
+
1175
+ ## 0.1.0-alpha.95
1176
+
1177
+ ### Minor Changes
1178
+
1179
+ - adiff keeps preferences between sessions: wrapping, the sticky heading, the review panel, hiding files already reviewed, hiding settled threads, and the order the review reads in. `adiff config list`, `config get` and `config set` read and write them, and the review remembers a toggle made with a key.
1180
+
1181
+ ## 0.1.0-alpha.94
1182
+
1183
+ ### Patch Changes
1184
+
1185
+ - The worktrees are read together rather than one after another, taking about 290ms off opening a review on a machine holding thirteen of them.
1186
+
1187
+ ## 0.1.0-alpha.93
1188
+
1189
+ ### Patch Changes
1190
+
1191
+ - Opening a review no longer waits on GitHub before drawing the diff, taking about 2.85s down to about 1.5s on a branch of 131 files.
1192
+
1193
+ ## 0.1.0-alpha.92
1194
+
1195
+ ### Patch Changes
1196
+
1197
+ - Opening the hidden lines in a diff reads that one file at whole-file context rather than every file on the branch.
1198
+
1199
+ ## 0.1.0-alpha.91
1200
+
1201
+ ### Patch Changes
1202
+
1203
+ - Prose a layer writes about deleted code is shown beside that code, rather than dropped because the file has no new side.
1204
+
1205
+ ## 0.1.0-alpha.90
1206
+
1207
+ ### Patch Changes
1208
+
1209
+ - The summary an agent writes with `layers set` is shown above the layers in the review, rather than only in JSON.
1210
+
1211
+ ## 0.1.0-alpha.89
1212
+
1213
+ ### Patch Changes
1214
+
1215
+ - The worktree list shows the full name of the branch a review is stacked on, rather than cutting it into something that looks like a different branch.
1216
+
1217
+ ## 0.1.0-alpha.88
1218
+
1219
+ ### Patch Changes
1220
+
1221
+ - Sending a comment, settling a thread and removing one no longer re-read the whole branch from git. On a branch of 131 files: sending 220ms to 72ms, settling 162ms to 37ms, removing 171ms to 38ms.
1222
+
1223
+ ## 0.1.0-alpha.87
1224
+
1225
+ ### Patch Changes
1226
+
1227
+ - Marking a file reviewed no longer re-reads the whole branch from git, taking it from about 124ms to about 37ms on a branch of 131 files.
1228
+
1229
+ ## 0.1.0-alpha.86
1230
+
1231
+ ### Patch Changes
1232
+
1233
+ - Turning past the last file says "last file" instead of doing nothing, and the same at the first file going back.
1234
+
1235
+ ## 0.1.0-alpha.85
1236
+
1237
+ ### Patch Changes
1238
+
1239
+ - Page Up, Page Down, Home and End now move through a diff, doing what ctrl+u, ctrl+d, g and G already did.
1240
+
1241
+ ## 0.1.0-alpha.84
1242
+
1243
+ ### Patch Changes
1244
+
1245
+ - The count in the header follows the order `[` and `]` move in, so it steps by one instead of jumping about, and a branch named on the command line opens at the top of its tree rather than partway down it.
1246
+
1247
+ ## 0.1.0-alpha.83
1248
+
1249
+ ### Patch Changes
1250
+
1251
+ - A thread is redrawn when an answer or a reply lands in it, rather than staying as it was until the branch is read again. A thread the reviewer wrote back to now says it is with the agent instead of claiming it was answered.
1252
+
1253
+ ## 0.1.0-alpha.82
1254
+
1255
+ ### Minor Changes
1256
+
1257
+ - A reviewer can write back to an answer. Press `R` on a thread, in the diff or in the review panel, and the reply continues that thread rather than opening a second one about the same line. It reaches the agent through `comment take` like any other comment, carrying the conversation so far, and `adiff comment reply --to <id>` does the same from the command line.
1258
+
1259
+ ## 0.1.0-alpha.81
1260
+
1261
+ ### Patch Changes
1262
+
1263
+ - Opening a branch asks git for its diff once rather than four times over, which takes about forty milliseconds off every branch opened or reopened.
1264
+
1265
+ ## 0.1.0-alpha.80
1266
+
1267
+ ### Patch Changes
1268
+
1269
+ - A review opened on a named branch waits for that branch rather than for every worktree on the machine, and reads what the branch is made of at once. On a branch of 131 files that is 2.8 seconds down to 1.8.
1270
+
1271
+ ## 0.1.0-alpha.79
1272
+
1273
+ ### Patch Changes
1274
+
1275
+ - Opening a review on a branch named on the command line, or coming back to one you left, lands on a row you can comment on rather than on the row standing for hidden lines.
1276
+
1277
+ ## 0.1.0-alpha.78
1278
+
1279
+ ### Patch Changes
1280
+
1281
+ - Naming a branch no worktree here is on says so, rather than landing on the worktree list with no word about it.
1282
+
1283
+ - A file opens on a line rather than on the row standing for the ones it hides, so the first `c` in a file has something to comment on. `]` and `[` walk every file the branch changed, even when the folder holding them is closed.
1284
+
1285
+ - The worktree list is read all at once rather than one worktree after another, so it arrives in about a third of the time on a machine with a dozen of them. The file tree gives its width to names rather than to indenting, and keeps more of them whole.
1286
+
1287
+ ## 0.1.0-alpha.77
1288
+
1289
+ ### Patch Changes
1290
+
1291
+ - Copying reaches the clipboard inside tmux and screen, and on Linux and Windows rather than only on a Mac. The terminal is handed back if the review fails to open. The parser the diff is coloured by is shut down with the screen.
1292
+
1293
+ ## 0.1.0-alpha.76
1294
+
1295
+ ### Patch Changes
1296
+
1297
+ - The filter above the palette and the sheet of keys is a real text box now, like the one a comment is written in: a caret you can move, word jumps, and selection. `return` in a comment belongs to the box, so `shift+return` breaks a line rather than doing nothing.
1298
+
1299
+ ## 0.1.0-alpha.75
1300
+
1301
+ ### Patch Changes
1302
+
1303
+ - The suite runs in three parts at once, so a change reaches a release in about half the time it took.
1304
+
1305
+ - Cmd and option in the compose box now do what they do everywhere else: cmd moves to the ends of a line or the draft, option moves by word, and a key held with a modifier is never typed. Letting go of shift after growing a selection opens the comment on it.
1306
+
1307
+ - The box a comment is written in is opentui's textarea now, rather than one written here: the caret is the terminal's own, and undo, selection, and word and line movement come with it. Cmd and option keys the box does not carry by default are added to it.
1308
+
1309
+ ## 0.1.0-alpha.74
1310
+
1311
+ ### Patch Changes
1312
+
1313
+ - The box a comment is written in behaves like one: the caret is the cell it stands on rather than a character shifting the words, and the arrows move a line at a time through the wrap. `shift` with an arrow grows the selection to comment on.
1314
+
1315
+ ## 0.1.0-alpha.73
1316
+
1317
+ ### Patch Changes
1318
+
1319
+ - The README is short: install, `adiff init --write --skill`, and ask your agent to onboard you. The full handover with layers and coverage moved to `docs/handover.md`. The compose panel no longer offers a key that was removed.
1320
+
1321
+ - Everything drawn on the screen can be selected and copied, including the palette, the sheet of keys and the search results, which were drawn by a widget that hid its text. A selection clears on the next key. The row the cursor is on is washed rather than dotted, and the arrows walk between files.
1322
+
1323
+ ## 0.1.0-alpha.72
1324
+
1325
+ ### Patch Changes
1326
+
1327
+ - Dragging inside one line copies the characters it covered. The wheel belongs to the review again, so scrolling and then pressing an arrow no longer throws the view back. `S` turns the pinned scope off. Settling from the panel keeps the cursor on the thread it settled.
1328
+
1329
+ ## 0.1.0-alpha.71
1330
+
1331
+ ### Patch Changes
1332
+
1333
+ - `f` on the review panel hides the threads already settled, the way it hides files already read on the file list. The same key puts away what is done in whichever pane is in focus.
1334
+
1335
+ ## 0.1.0-alpha.70
1336
+
1337
+ ### Patch Changes
1338
+
1339
+ - The published binary is attached to the release compressed as well as raw, and Homebrew and `adiff upgrade` both take the compressed one. An install downloads about 25MB rather than 73MB, and unpacks to the same binary.
1340
+
1341
+ - Dragging over the code itself copies it, not only over the line numbers. Turning to another file starts at the top of it rather than keeping where the last one was scrolled to. A bug report names the adiff version it came from.
1342
+
1343
+ ## 0.1.0-alpha.69
1344
+
1345
+ ### Patch Changes
1346
+
1347
+ - A comment whose lines have left the diff can be read, settled and removed from the review panel. Settling or removing a thread marks its answers read, so nothing is left counted as unread once it is closed.
1348
+
1349
+ - The footer names the keys of the pane in focus, rather than one row for the whole screen. The sheet behind `?` filters as you type and groups keys narrowly. The wheel moves one row a notch, and an arrow after it moves the cursor into view instead of dragging the view back.
1350
+
1351
+ ## 0.1.0-alpha.68
1352
+
1353
+ ### Minor Changes
1354
+
1355
+ - A comment goes to the agent when it is written. Staging one for a review sent later is gone, with the screen that listed what was held back: `comment stage`, `comment edit` and `review send` are removed, `ctrl+s` in the compose panel is the only way out, and `comment send` is the only way to send.
1356
+
1357
+ ### Patch Changes
1358
+
1359
+ - Colours land on the words they belong to: a file edited after the review opened no longer draws old colours over new lines. Loading a grammar no longer holds up the keyboard. The wheel over the file list moves the list, rather than opening each file it passes.
1360
+
1361
+ - Dragging over lines in the diff copies them when the drag ends, and they stay selected. `y` copies the line the cursor is on without selecting first, or the whole answer when the cursor is on one. On a Mac the text reaches the pasteboard even when the terminal drops the escape.
1362
+
1363
+ - A comment taller than the screen is walked a page at a time, rather than stepped over in one press. The wheel carries on from where the pane is: the first notch after scrolling past a comment no longer jumps somewhere else.
1364
+
1365
+ ## 0.1.0-alpha.67
1366
+
1367
+ ### Patch Changes
1368
+
1369
+ - `f` hides the files you have already reviewed, so a long branch stops being mostly done files. The file you are on stays, whatever its state. Scrolling over the file list now walks it, and the review panel reads newest first with `O` to turn it around.
1370
+
1371
+ - `D` settles every answer you have already read, so a long review stops making you scroll past points you are done with. Only threads the agent answered and you opened are settled — nothing unanswered or unread is closed behind your back.
1372
+
1373
+ ## 0.1.0-alpha.66
1374
+
1375
+ ### Patch Changes
1376
+
1377
+ - adiff is built on the release candidate of Effect rather than a beta from eight releases back. Nothing about using it changes; the suite runs a little quicker.
1378
+
1379
+ ## 0.1.0-alpha.65
1380
+
1381
+ ### Patch Changes
1382
+
1383
+ - A bug report carries the notices you were shown and a clock against every step, so what you saw and how long you sat there survives into the report. The agent skill also stops claiming a comment is handed over once — it now comes back until it is answered.
1384
+
1385
+ ## 0.1.0-alpha.64
1386
+
1387
+ ### Patch Changes
1388
+
1389
+ - Typing `adiff` works on a Node older than 26. The launcher moves to a newer Node when a terminal is about to be drawn, and did not know plain `adiff` now draws one. An unexpected failure also says what went wrong rather than nothing.
1390
+
1391
+ ## 0.1.0-alpha.63
1392
+
1393
+ ### Patch Changes
1394
+
1395
+ - Selecting lines now shows `y copy` in the footer. adiff holds the mouse while a review is open, so your usual copy shortcut has no terminal selection to act on, and the key that does work was named nowhere you would look.
1396
+
1397
+ ## 0.1.0-alpha.62
1398
+
1399
+ ### Patch Changes
1400
+
1401
+ - Panning right reaches the end of a long line. The last few columns sat under the line numbers and the diff sign, and no amount of panning could bring them out, so a wide line always stopped short of wherever it really ended.
1402
+
1403
+ ## 0.1.0-alpha.61
1404
+
1405
+ ### Patch Changes
1406
+
1407
+ - Scrolling reaches the end of a file whose comments fill the screen. The wheel counted lines of code and a long answer is one line of code however tall it is drawn, so anything below it was out of reach. Opening a comment from the panel also leaves the panel where you left it.
1408
+
1409
+ ## 0.1.0-alpha.60
1410
+
1411
+ ### Patch Changes
1412
+
1413
+ - Typing `adiff` opens the review on the repository you are standing in, rather than printing the help you have already read. Piped output and agents still get the help, so nothing that reads adiff's answers is left waiting on a terminal.
1414
+
1415
+ ## 0.1.0-alpha.59
1416
+
1417
+ ### Patch Changes
1418
+
1419
+ - An answer stays unread until you open it, and the count survives reloading the branch. Keys work on a keyboard that is not English: a binding matches the key the letter sits on. Bug reports carry the last twenty moves, and `ctrl+t` sends only the words you typed.
1420
+
1421
+ ## 0.1.0-alpha.58
1422
+
1423
+ ### Patch Changes
1424
+
1425
+ - Syntax colour is read from the file now, not from the diff. The visible rows were handed to the parser as if they were a document, so a hunk starting inside a JSX block or an object literal gave it no opening to find, and the gap and comment rows between hunks were fed to it as code — which is why colour looked right in some files and wrong in others. Both sides of the file are parsed whole and the colours laid onto the rows that show them.
1426
+
1427
+ Three things around the diff were fixed with it. The pinned scope no longer keeps the previous file's line: the memo that skips redrawing an unchanged pin was reset without the pin being cleared, so an empty chain skipped the redraw and left the old scope on screen. Scrolling a deeply indented file no longer jumps, because the rows available to scroll through no longer shrink and grow with the pinned scope under the cursor. And `option` and `command` with backspace take back a word and a line while writing a comment, rather than one character like a bare backspace.
1428
+
1429
+ `}` and `{` walk changes rather than hunks. They jumped to the top of a hunk, which is its leading context, so the cursor landed three lines short of the thing it was jumping to — and with the whole file shown there was only ever one hunk, so they stopped working entirely. They now step from one run of changed lines to the next, which works at any width and lands on the change.
1430
+
1431
+ Opening a comment from the review panel brings the diff to it. The row was worked out from the diff before its gap and comment rows were counted in, so it landed somewhere else in the file — often the end. A comment whose line is not in the diff at all says so rather than moving you somewhere arbitrary.
1432
+
1433
+ The review screen also uses the two rows it was leaving empty above and below itself.
1434
+
1435
+ ## 0.1.0-alpha.57
1436
+
1437
+ ### Patch Changes
1438
+
1439
+ - Installing without naming a tag gets this version rather than one from weeks ago. The release moves the `latest` dist-tag itself now: the step used to throw away the credential the publish had just used successfully and go straight to an exchange that returns nothing, so the tag sat on `0.1.0-alpha.20` while releases ran on ahead, and moving it meant someone typing the command by hand every time. Opening the GitHub release retries too, so a refused API call no longer leaves a published version with no binaries and no Homebrew formula behind it.
1440
+
1441
+ ## 0.1.0-alpha.56
1442
+
1443
+ ### Patch Changes
1444
+
1445
+ - A branch stacked on another branch shows the work it adds, not its parent's as well. The diff was always taken against the default branch, so branch B built on branch A reported A's files as B's and the reviewer walked files they had already reviewed on A. The base is now whichever local branch this one was started from, found by looking for the closest ancestor branch among the local tips, and every command that resolves a diff takes `--base <ref>` to override the guess. `branch list` reports the base and how it was chosen on each row, so a non-default base is visible rather than surprising, and the review screen says `on <branch>` beside a branch that is not on the default. `adiff base set` remembers a base for a branch and `adiff base clear` goes back to detection. A base that names no ref, or one with no shared history, fails with exit 3 and a suggestion rather than quietly falling back to the default and reporting a file count that looks right.
1446
+
1447
+ ## 0.1.0-alpha.55
1448
+
1449
+ ### Patch Changes
1450
+
1451
+ - The review screen says which pane you are in. It was one frame around everything with rules between the panes, which drew the seams but never told you which side of them your next keystroke was going to land on — and `tab` moves between three panes where most keys mean something different. Each pane is its own bordered box now, and the one holding the focus is lit in the accent colour while the others stay dim, so exactly one border is bright at any time. `tab` also walks the panes left to right now, the way they are drawn, rather than starting in the middle and jumping to the left pane before crossing to the right; `shift+tab` walks back.
1452
+
1453
+ ## 0.1.0-alpha.54
1454
+
1455
+ ### Patch Changes
1456
+
1457
+ - A review now follows its branch instead of the folder it was read in. State was keyed on the worktree path, so renaming a worktree — or checking the same branch out somewhere else — left the entire review behind with nothing on screen to say it had happened. The key is the repository and the branch now, where the repository is the common git directory every worktree of it shares, so all the worktrees of one repo agree on where a review lives and different branches still keep their own. A store written under the old key is adopted the first time the branch is opened, so nothing already written is stranded.
1458
+
1459
+ - Comments handed to an agent that never answered them are no longer lost. The cursor advanced the moment `comment take` read a comment, so an agent that collected five and answered three left two that nothing would ever hand over again — and the terminal went on showing them as sent, with no sign anything was wrong. An answer is what retires a comment now, so one the agent dropped comes back on its next take and keeps coming back until it is answered. Settling or removing retires it too, since both are the reviewer saying they no longer need one. The branch list counts what the agent still owes rather than what it has yet to read, which is the number that was missing when a comment went quietly missing.
1460
+
1461
+ ## 0.1.0-alpha.53
1462
+
1463
+ ### Patch Changes
1464
+
1465
+ - Three places where the screen did something and said nothing about it. `}` and `{` now name the edge they hit instead of absorbing the keystroke, and when a file has been widened into a single change they name the context ladder as the reason — `+` quietly trades the changes you were stepping between for the lines around them. The review panel settles and removes the comment it is standing on, so a comment the diff cannot reach — its file deleted since, or just not the file on screen — stops being one you can see but not answer. And `… N more` counts what is below it rather than every row outside the window, so scrolling to the last file no longer promises seventeen more that are not there.
1466
+
1467
+ ## 0.1.0-alpha.52
1468
+
1469
+ ### Patch Changes
1470
+
1471
+ - Pasting into a comment works. The terminal hands a paste over in one piece rather than replaying it as keystrokes, and adiff was only listening for keystrokes, so every paste was read correctly and then thrown away — nothing appeared, and quoting a stack trace or an error message meant retyping it. A paste now lands at the caret in one move. Line breaks survive in a draft and become spaces in the palette, whose query is one line; tabs become two spaces so pasted code keeps its shape; escape sequences and control characters are stripped, because a comment is prose an agent reads back rather than a channel to the screen.
1472
+
1473
+ ## 0.1.0-alpha.51
1474
+
1475
+ ### Patch Changes
1476
+
1477
+ - The file list stops ending without saying so. It reserved a row for `… N more` whether or not one was needed, and that row paid for the pane's padding instead, so the count was clipped and the list just stopped. `h` now closes the folder the cursor's file is in and then walks outward one folder per press, with `l` opening them again from the outside in, so a deep tree can be folded down to something that fits.
1478
+
1479
+ ## 0.1.0-alpha.50
1480
+
1481
+ ### Patch Changes
1482
+
1483
+ - `adiff upgrade` says the command it ran and the version it landed on, and stops there. It used to open with which package manager installed the build, which registry tag mattered and what it was about to do, which is four paragraphs standing between you and the one fact you asked for. Upgrading now also rewrites the adiff skill wherever it is already installed, so an agent is not left reading last month's instructions; `adiff skill refresh` does that on its own, and neither installs a skill that was not already there.
1484
+
1485
+ ## 0.1.0-alpha.49
1486
+
1487
+ ### Patch Changes
1488
+
1489
+ - `z` gives the diff the whole window: it clears the review panel as well as the file list, and pressing it again brings back whatever was there before. The key that hides the panel on its own, `a`, is named in the footer instead of only in the sheet of keys.
1490
+
1491
+ ## 0.1.0-alpha.48
1492
+
1493
+ ### Patch Changes
1494
+
1495
+ - `review open` and `review pane` take `--branch`, so an agent handing over a review can name the branch and land the reviewer on its diff rather than on the worktree list. `F` shows the whole file the change sits in and `F` again gives the diff back, returning to whatever context width you had chosen.
1496
+
1497
+ - A wide terminal now carries the whole review beside the diff: what you have staged, what the agent already has, and what it has answered, in one panel you can walk with `tab` and open with `enter`. When an answer lands while you are reading, the panel names the comment it answers instead of only counting it, so you can tell whether pulling is worth doing before you press `r`.
1498
+
1499
+ - The wheel scrolls the sheet of keys you are looking at rather than the diff behind it. Reading the branch again with `r` keeps the lines you were looking at where they were, instead of moving them to an edge of the pane.
1500
+
1501
+ - Writing a comment has a caret: `left` and `right` move it, `alt` with either moves a word, `home` and `end` reach the ends of the line, and typing, `backspace` and `delete` all act where it stands, so fixing a typo near the start of a sentence no longer costs the rest of it.
1502
+
1503
+ ## 0.1.0-alpha.47
1504
+
1505
+ ### Minor Changes
1506
+
1507
+ - `adiff upgrade` upgrades. It runs the command for the install it found instead of printing it, shows the package manager working, and ends by naming the version you now have. `--check` reports without running, `--run` still works and does nothing, and a route adiff cannot do for you, a downloaded binary or a checkout, explains why and exits 1.
1508
+
1509
+ ## 0.1.0-alpha.46
1510
+
1511
+ ### Patch Changes
1512
+
1513
+ - Make the pull request reachable: p opens it from the review as well as the worktree list, the footer names the key where there is one to open, the review header says which state it is in, and a list that could not ask says so instead of looking like nobody has a pull request.
1514
+
1515
+ ## 0.1.0-alpha.45
1516
+
1517
+ ### Patch Changes
1518
+
1519
+ - Use the room a wide terminal has: panels keep a whole command title and a whole match, a tall screen lists more keys, and a long worktree name is read to its end.
1520
+
1521
+ ## 0.1.0-alpha.44
1522
+
1523
+ ### Patch Changes
1524
+
1525
+ - A file buried deep in a nested tree can be read: the file list keeps both ends of a name that does not fit, so two files whose names end the same way no longer draw as one row, and the header names the file you are on instead of letting the path run off the edge of the terminal.
1526
+
1527
+ ## 0.1.0-alpha.43
1528
+
1529
+ ### Patch Changes
1530
+
1531
+ - Build the Linux release binaries again. The terminal library ships one native package per platform and libc, and pnpm skips the musl ones on a glibc runner, so the compiler could not find the musl library it still has to bundle and both Linux builds stopped there. Installs now take both libc flavours, and every pull request compiles all four binaries and checks they answer with no runtime on PATH, so a broken binary shows up before a release does. The release also tracks the newest Bun rather than a pinned one.
1532
+
1533
+ ## 0.1.0-alpha.42
1534
+
1535
+ ### Minor Changes
1536
+
1537
+ - Renames on the merits, now that nothing depends on the old names: `comment threads` is `comment list`, `comment add` is `comment send`, `review submit` is `review send`, `file vouch` is `file review`, and `--asks` is `--question`. `comment drop` is gone, folded into `comment remove`. Every command that acts on a review now takes either `--worktree`, or `--repo` with `--branch`.
1538
+
1539
+ ### Patch Changes
1540
+
1541
+ - `--help` works on every command and every noun, the top-level list is grouped by what you are trying to do, a mistyped command names the one you meant, and a missing option says which command wanted it.
1542
+
1543
+ ## 0.1.0-alpha.41
1544
+
1545
+ ### Patch Changes
1546
+
1547
+ - Build the release binaries with a version of Bun that exists. The workflow asked for 1.4.0, which was never published, so every binary download answered 404. No release since the workflow landed has carried binaries or updated the Homebrew formula.
1548
+
1549
+ ## 0.1.0-alpha.40
1550
+
1551
+ ### Patch Changes
1552
+
1553
+ - `adiff upgrade` answers in plain english, starting with what happened: already the newest build, a newer one is out, or the registry never answered. `--json` gives the envelope back to a caller.
1554
+
1555
+ ## 0.1.0-alpha.39
1556
+
1557
+ ### Patch Changes
1558
+
1559
+ - `adiff upgrade` works out how this copy was installed and names the one command that updates it, and the terminal mentions a newer version once in the footer without ever checking on a command's path.
1560
+
1561
+ ## 0.1.0-alpha.38
1562
+
1563
+ ### Patch Changes
1564
+
1565
+ - adiff --version answers from a version built into the bundle rather than a package.json found beside it, and a Bun runtime opens the terminal itself instead of going looking for a Node it does not need.
1566
+
1567
+ ## 0.1.0-alpha.37
1568
+
1569
+ ### Patch Changes
1570
+
1571
+ - The footer carries the keys a review is made of, and ? lists every key the screen answers to.
1572
+
1573
+ ## 0.1.0-alpha.36
1574
+
1575
+ ### Patch Changes
1576
+
1577
+ - A review belongs to the branch it describes, the worktree list names the repository it opened and marks where you are, and the pull request opens from the list.
1578
+
1579
+ ## 0.1.0-alpha.35
1580
+
1581
+ ### Patch Changes
1582
+
1583
+ - A comment can be removed from the review and restored, and the record keeps it either way.
1584
+
1585
+ ## 0.1.0-alpha.34
1586
+
1587
+ ### Patch Changes
1588
+
1589
+ - A file name too long for the tree keeps its end, where the extension and the distinguishing word live.
1590
+
1591
+ ## 0.1.0-alpha.33
1592
+
1593
+ ### Patch Changes
1594
+
1595
+ - The store reports a damaged file instead of failing unexpectedly.
1596
+
1597
+ ## 0.1.0-alpha.32
1598
+
1599
+ ### Patch Changes
1600
+
1601
+ - The skill publishes a reading order on request, and tells the reviewer how to open the review.
1602
+
1603
+ ## 0.1.0-alpha.31
1604
+
1605
+ ### Patch Changes
1606
+
1607
+ - Coverage counts the changed lines a layer claims, not the hunks a span touches.
1608
+
1609
+ ## 0.1.0-alpha.30
1610
+
1611
+ ### Patch Changes
1612
+
1613
+ - The palette keeps a command's name clear of its category.
1614
+
1615
+ ## 0.1.0-alpha.29
1616
+
1617
+ ### Patch Changes
1618
+
1619
+ - First contact teaches the loop, an empty collection says what to do next, and a worktree error explains the path.
1620
+
1621
+ ## 0.1.0-alpha.28
1622
+
1623
+ ### Patch Changes
1624
+
1625
+ - An agent can open the review in a split pane beside the conversation.
1626
+
1627
+ ## 0.1.0-alpha.27
1628
+
1629
+ ### Minor Changes
1630
+
1631
+ - adiff init writes the review loop into a repository's agent instructions.
1632
+
1633
+ ## 0.1.0-alpha.26
1634
+
1635
+ ### Patch Changes
1636
+
1637
+ - A branch with no files left to read says so.
1638
+
1639
+ ## 0.1.0-alpha.25
1640
+
1641
+ ### Patch Changes
1642
+
1643
+ - The terminal names the key that sends a review, and counts what is waiting.
1644
+
1645
+ - The repository's own working tree is reviewable and marked here.
1646
+
1647
+ ## 0.1.0-alpha.24
1648
+
1649
+ ### Patch Changes
1650
+
1651
+ - A selection can be copied, or searched for across the branch's worktree with the matches listed and peeked at.
1652
+
1653
+ ## 0.1.0-alpha.23
1654
+
1655
+ ### Patch Changes
1656
+
1657
+ - A pinned scope wider than the pane can be panned into view, and the command palette opens over the review list.
1658
+
1659
+ ## 0.1.0-alpha.22
1660
+
1661
+ ### Patch Changes
1662
+
1663
+ - A selection reaching over hidden lines reports the range it will actually comment on.
1664
+
1665
+ - Composing on a row that carries no line says so instead of opening a panel that cannot send.
1666
+
1667
+ - The stale mark on the layer rail reads in full at any width.
1668
+
1669
+ ## 0.1.0-alpha.21
1670
+
1671
+ ### Patch Changes
1672
+
1673
+ - The store answers with the settings effect directly.
1674
+
1675
+ ## 0.1.0-alpha.20
1676
+
1677
+ ### Patch Changes
1678
+
1679
+ - Homebrew tracks each release.
1680
+
1681
+ ## 0.1.0-alpha.19
1682
+
1683
+ ### Patch Changes
1684
+
1685
+ - The house style lives in the linter, and a thread can be settled and folded from the terminal.
1686
+
3
1687
  ## 0.1.0-alpha.18
4
1688
 
5
1689
  ### Patch Changes