@eliya-oss/agent-diff 0.1.0-alpha.15 → 0.1.0-alpha.151

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,1300 @@
1
1
  # @eliya-oss/agent-diff
2
2
 
3
+ ## 0.1.0-alpha.151
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(footer): the footer says one thing at a time, so reading the pull request no longer sits beside what you just did.
8
+
9
+ <details><summary>What was wrong</summary>
10
+
11
+ Reading the branch again while the pull request was still being read left two messages in the
12
+ corner — `reading the pull request read the branch again` — which reads as two things happening to
13
+ you rather than one. The reading line now shows where nothing else is being said.
14
+
15
+ </details>
16
+
17
+ ## 0.1.0-alpha.150
18
+
19
+ ### Patch Changes
20
+
21
+ - breaking(preferences): the pull request's remarks are read only after you turn "Read the pull request's review" on.
22
+
23
+ <details><summary>What changed</summary>
24
+
25
+ adiff read every branch's pull request as soon as you opened it, whether or not you wanted its
26
+ review in the terminal. The preference is off for everyone, so a repository with nothing to read
27
+ costs nothing. Turn it on under `,` in the review, or with `adiff config set --name remarks --value on`.
28
+
29
+ </details>
30
+
31
+ 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.
32
+
33
+ <details><summary>What was wrong</summary>
34
+
35
+ Pressing `r` sat there. Every reload listed the pull requests, looked one up, asked who owned the
36
+ repository and only then read the threads — four round trips to GitHub before the diff came back.
37
+ It is one request now, it runs behind the diff, and the footer says it is reading the pull request
38
+ until the remarks land.
39
+
40
+ </details>
41
+
42
+ fix(review panel): the box you reply to a remark in quotes the remark and says the reply goes to the pull request.
43
+
44
+ <details><summary>What was wrong</summary>
45
+
46
+ `c` wrote a comment for the agent and `R` posted publicly on the pull request, and both opened the
47
+ same box over the same lines of code, with the same "send it" underneath.
48
+
49
+ </details>
50
+
51
+ ## 0.1.0-alpha.149
52
+
53
+ ### Patch Changes
54
+
55
+ - fix(agent skill): the drafting rules name `draft send` as the reviewer's command instead of denying it exists.
56
+
57
+ <details><summary>What was wrong</summary>
58
+
59
+ The skill told an agent "There is no command that dispatches, on purpose", and `draft send` dispatches
60
+ — it posts every held comment to the pull request as one review. An agent that found the command had
61
+ been told it did not exist, which is a reason to think the skill is stale rather than a reason to
62
+ leave the command alone. The rule is the same as it always was, and now it says which command it is
63
+ about. PRD 012 carried the same sentence and says the same thing now.
64
+
65
+ </details>
66
+
67
+ ## 0.1.0-alpha.148
68
+
69
+ ### Patch Changes
70
+
71
+ - 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.
72
+
73
+ <details><summary>How it goes</summary>
74
+
75
+ A review on the pull request shows up against the code it is about, with the handle that left it.
76
+ `A` accepts a remark, which writes a comment in your name and sends it to the agent; `c` accepts it
77
+ in your own words; `X` dismisses it, reversibly, without touching the pull request; `o` opens the
78
+ pull request. The review panel lists what is still untriaged, and the walk to the next comment stops
79
+ on remarks too.
80
+
81
+ A remark never reaches the agent on its own. `comment take` cannot return one, and `adiff remark
82
+ list` is how an agent reads them when you ask it to.
83
+
84
+ </details>
85
+
86
+ ## 0.1.0-alpha.147
87
+
88
+ ### Patch Changes
89
+
90
+ - breaking(CLI): `adiff skill refresh` is gone, and `npx skills update adiff` updates the skill instead.
91
+
92
+ <details><summary>What changed</summary>
93
+
94
+ `skill refresh` looked in `.claude/skills/adiff/SKILL.md` and nowhere else. On Codex, Cursor,
95
+ OpenCode or anything else it found nothing and reported no changes rather than saying it had not
96
+ looked. The skills CLI also installs a symlink by default, so on an ordinary install there was
97
+ nothing there to rewrite that the next `skills update` would not undo.
98
+
99
+ Keeping a second updater working meant matching a registry of seventy-seven agent directories that
100
+ the skills CLI already maintains. `npx skills update adiff` works for every agent and every install.
101
+ An agent holding a skill a version behind gets a refused command with a `suggestion` naming the fix,
102
+ which is what `describe` is for.
103
+
104
+ </details>
105
+
106
+ fix(upgrade): an upgrade names the command that brings the skill up with it.
107
+
108
+ <details><summary>What was wrong</summary>
109
+
110
+ Upgrading adiff left the skill describing the older build, and the line that used to say otherwise
111
+ only ever appeared for a Claude Code install that had been copied rather than linked. The version
112
+ installed is still the second-to-last line; under it sits the one thing left to do.
113
+
114
+ </details>
115
+
116
+ fix(README): the install command no longer picks an agent for you.
117
+
118
+ <details><summary>What was wrong</summary>
119
+
120
+ The documented command was `npx skills add … -g -y -a claude-code`, which installed the skill for
121
+ Claude Code whatever agent the reader actually used, and `-y` suppressed the question that would
122
+ have asked them. The question is the agent picker. `--agent codex`, repeated, or `--agent '*'`
123
+ answers it up front.
124
+
125
+ </details>
126
+
127
+ ## 0.1.0-alpha.146
128
+
129
+ ### Patch Changes
130
+
131
+ - fix(CLI): `adiff skill refresh` works on the Homebrew install, where it used to fail every time.
132
+
133
+ <details><summary>What was wrong</summary>
134
+
135
+ `skill refresh` found the skill it ships by walking up from its own module until it saw
136
+ `skills/adiff/SKILL.md` on disk. That file is in the npm package and in a checkout, and it is not in
137
+ the compiled binary Homebrew installs, so the command failed with "not found beside this build" and
138
+ a suggestion that blamed the directory it was writing to. The skill now travels inside the build.
139
+
140
+ This was the mechanism that answers a skill drifting from the adiff beside it, and it did not work on
141
+ the route the README leads with.
142
+
143
+ </details>
144
+
145
+ fix(upgrade): `adiff upgrade` says when it could not rewrite the installed skill.
146
+
147
+ <details><summary>What was wrong</summary>
148
+
149
+ `upgrade` ran `skill refresh` and mapped any failure to "nothing was refreshed", so an upgrade whose
150
+ skill refresh failed read exactly like one with no skill installed. That is why the Homebrew failure
151
+ above went unnoticed.
152
+
153
+ </details>
154
+
155
+ fix(CLI): `skill refresh` leaves a skill the skills CLI owns alone, and reports it as linked.
156
+
157
+ <details><summary>What was wrong</summary>
158
+
159
+ `npx skills add` installs a symlink by default. `skill refresh` wrote straight through it, editing a
160
+ clone inside that tool's cache — which the next `npx skills update` silently reverted. Two tools were
161
+ overwriting one file in turn. A link is now reported and left as it is.
162
+
163
+ </details>
164
+
165
+ ## 0.1.0-alpha.145
166
+
167
+ ### Patch Changes
168
+
169
+ - fix(bug report): a minimal report carries nothing that names the machine, the repo, the branch or the file.
170
+
171
+ <details><summary>What was wrong</summary>
172
+
173
+ `ctrl+t` said the report left out file names, code and key history, and then printed the hostname,
174
+ the repo path, the branch and the current file anyway. A reviewer who was told the report was safe
175
+ to paste into a public issue published all four. A minimal report now carries only what a
176
+ maintainer needs and a reviewer can share: the adiff and Node versions, the platform, the terminal
177
+ size, the screen and focus, the count reviewed, and the kind of the last internal failure. The
178
+ failure's message is left out too, because an error message routinely carries an absolute path — an
179
+ `ENOENT` names the file it could not open. A full report is unchanged.
180
+
181
+ </details>
182
+
183
+ ## 0.1.0-alpha.144
184
+
185
+ ### Patch Changes
186
+
187
+ - fix(home screen): the branch list is headed `BRANCH` and counts `3 branches`, where it said worktree.
188
+
189
+ <details><summary>What was wrong</summary>
190
+
191
+ The list of work waiting was headed `WORKTREE`, and the line above it counted worktrees. adiff talks
192
+ about branches everywhere else, so the reviewer had two words for one thing on the first screen they
193
+ see.
194
+
195
+ </details>
196
+
197
+ fix(keys): the keys that reread the list and jump to its ends name branches, not worktrees.
198
+
199
+ ## 0.1.0-alpha.143
200
+
201
+ ### Patch Changes
202
+
203
+ - fix(diff): a comment stays on its line when the agent edits that line by a few characters.
204
+
205
+ <details><summary>What was wrong</summary>
206
+
207
+ A comment was placed by matching its snippet exactly, so making the small edit the comment asked for
208
+ took the comment off the diff along with the old wording. Asking for `seed: (driver, network)` to
209
+ become `seed: ({ driver, network })` cost the reviewer both the comment and the answer to it: the
210
+ thread was answered, but only the review panel showed it. A line that is nearly the same — at most
211
+ one character changed in four — now keeps the comment. A short line still has to match exactly, so
212
+ nothing lands on a stray brace, and code the agent genuinely replaced still goes to the panel.
213
+
214
+ </details>
215
+
216
+ - breaking(CLI): `adiff init` is gone, and the skill is installed with `npx skills add Newbie012/agent-diff --skill adiff`.
217
+
218
+ <details><summary>What changed</summary>
219
+
220
+ `init` wrote a passage into `AGENTS.md` and a `CLAUDE.md` importing it, kept between sentinels so it
221
+ could be found and replaced, and wrote the skill only if you also asked for it. Editing two files a
222
+ whole team shares bought nothing the skill does not already do — an agent finds a skill by its
223
+ description without being told to look — and a command whose whole job was fetching one file had to
224
+ be installed, learned and kept in step with the skills CLI's own.
225
+
226
+ Getting started is now installing adiff and installing the skill. adiff writes nothing into a
227
+ repository. If you ran the old `init`, the block between `<!-- adiff:begin -->` and
228
+ `<!-- adiff:end -->` in `AGENTS.md` and `CLAUDE.md` is yours to delete; nothing reads it any more.
229
+ `adiff skill refresh` still brings an installed skill up to the build running beside it.
230
+
231
+ </details>
232
+
233
+ - fix(diff): the terminal shows the diff against the base it was opened with.
234
+
235
+ <details><summary>What was wrong</summary>
236
+
237
+ `adiff review open --base <ref>` took the flag, validated it, and threw it away. The terminal always
238
+ read the branch against the base it would have guessed, so someone reviewing the one commit they had
239
+ just asked for got the whole stacked branch instead — 44 files where the base gave 1 — with nothing
240
+ on screen to say the base had been ignored. Every command that answers in JSON honoured it, which
241
+ made the terminal look right until you counted the files.
242
+
243
+ </details>
244
+
245
+ fix(diff): `review pane` carries a base into the pane it opens and the command it reports.
246
+
247
+ <details><summary>What was wrong</summary>
248
+
249
+ The same flag was dropped one function over, so a pane opened for an agent showed a different diff
250
+ from the one the agent was told to open, and the command in the answer could not be pasted to
251
+ reproduce it.
252
+
253
+ </details>
254
+
255
+ ## 0.1.0-alpha.142
256
+
257
+ ### Patch Changes
258
+
259
+ - fix(diff): a comment moves to wherever its code went when the agent edits the file above it.
260
+
261
+ <details><summary>What was wrong</summary>
262
+
263
+ A comment was drawn at the line number it was written at. When the agent added or removed lines
264
+ above that code, every comment in the file stayed on its old number and pointed at whatever had
265
+ moved into it. A comment carries the exact snippet it was written against, and that is now what
266
+ places it.
267
+
268
+ </details>
269
+
270
+ fix(diff): a comment whose code the agent rewrote is not drawn against the line that took its place.
271
+
272
+ <details><summary>What was wrong</summary>
273
+
274
+ When the code a comment was about was changed rather than moved, there was nothing to move the
275
+ comment to, and it stayed on its old line — reading as a remark about code it was never about. Such
276
+ a thread is now left off the diff and kept in the review panel, which says it is not in the diff.
277
+
278
+ </details>
279
+
280
+ fix(diff): an answer with more than one line keeps its lines.
281
+
282
+ <details><summary>What was wrong</summary>
283
+
284
+ An agent's answer and a reviewer's reply were flattened to a single paragraph, so a bulleted answer
285
+ read as one run-on sentence. The reviewer's own comment kept its breaks, so the two sides of a
286
+ thread were drawn by different rules.
287
+
288
+ </details>
289
+
290
+ ## 0.1.0-alpha.141
291
+
292
+ ### Patch Changes
293
+
294
+ - fix(CLI): `comment take --wait` refuses a number of seconds it cannot honour instead of answering as though nothing arrived.
295
+
296
+ <details><summary>What was wrong</summary>
297
+
298
+ `--wait` was read with nothing checking it. A value that was not a positive whole number of seconds
299
+ — a word, an empty value, a zero — fell through to a single poll and answered
300
+ `{"ok":true,"comments":[]}` at once. That is byte for byte what an expired wait answers, so an agent
301
+ that asked to listen for an hour was told "nothing arrived" and reported itself armed while it was
302
+ not listening at all.
303
+
304
+ `--wait` now takes a whole number of seconds from 1 to 86400 and refuses anything else on stderr
305
+ with exit 2, naming the most it takes. `--help` and `adiff describe` say the bound. An empty answer
306
+ now only ever means the inbox was empty.
307
+
308
+ </details>
309
+
310
+ ## 0.1.0-alpha.140
311
+
312
+ ### Patch Changes
313
+
314
+ - feat(comment delivery): with `hold` on, a comment waits with the others until `C` sends them to the agent as one review.
315
+
316
+ 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.
317
+
318
+ ## 0.1.0-alpha.139
319
+
320
+ ### Patch Changes
321
+
322
+ - feat(preferences): `,` opens a screen listing what adiff does, and turns any of it on or off.
323
+
324
+ ## 0.1.0-alpha.138
325
+
326
+ ### Patch Changes
327
+
328
+ - fix(review panel): the cursor keeps its place when you settle a thread, so the next one comes to it.
329
+
330
+ <details><summary>What was wrong</summary>
331
+
332
+ Settling followed the thread into the Settled section at the bottom of the panel, so closing a
333
+ column of threads meant walking back up to the top after every one.
334
+
335
+ </details>
336
+
337
+ fix(keys): tab moves to the next pane on the screen instead of bringing the file list back.
338
+
339
+ <details><summary>What was wrong</summary>
340
+
341
+ Hiding the file list with `t` and then pressing tab reopened it, so there was no way to move
342
+ between the diff and the review panel with the room the file list had been taking.
343
+
344
+ </details>
345
+
346
+ ## 0.1.0-alpha.137
347
+
348
+ ### Patch Changes
349
+
350
+ - fix(diff): a layer's prose carries a rule down its margin, so it cannot be read as the file.
351
+
352
+ <details><summary>What was wrong</summary>
353
+
354
+ 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.
355
+
356
+ </details>
357
+
358
+ perf(diff): turning to the next file takes about 15ms, down from about 77ms.
359
+
360
+ <details><summary>What was wrong</summary>
361
+
362
+ 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.
363
+
364
+ </details>
365
+
366
+ - feat(keys): `t` shows or hides the file list on its own, leaving the review panel where it is.
367
+
368
+ <details><summary>What was wrong</summary>
369
+
370
+ `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.
371
+
372
+ </details>
373
+
374
+ fix(footer): a stale reading order says which key asks for a new one.
375
+
376
+ <details><summary>What was wrong</summary>
377
+
378
+ 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.
379
+
380
+ </details>
381
+
382
+ ## 0.1.0-alpha.136
383
+
384
+ ### Patch Changes
385
+
386
+ - fix(layers rail): the wheel keeps working after a flick, and moves one file per notch.
387
+
388
+ <details><summary>What was wrong</summary>
389
+
390
+ 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.
391
+
392
+ 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.
393
+
394
+ </details>
395
+
396
+ perf(diff): the diff is not handed to the highlighter again when only the pane width changed.
397
+
398
+ <details><summary>What was wrong</summary>
399
+
400
+ 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.
401
+
402
+ </details>
403
+
404
+ - fix(key sheet): `?` fills the screen and lays the keys out in two columns under their section headings.
405
+
406
+ <details><summary>What was wrong</summary>
407
+
408
+ 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.
409
+
410
+ </details>
411
+
412
+ - fix(review panel): opening the panel puts the keys on it, and closing gives them back to the pane you came from.
413
+
414
+ <details><summary>What was wrong</summary>
415
+
416
+ `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.
417
+
418
+ </details>
419
+
420
+ ## 0.1.0-alpha.135
421
+
422
+ ### Patch Changes
423
+
424
+ - feat(changelog): a release note groups what changed under Breaking, Added, Fixed and Performance, and names the part of adiff each entry is about.
425
+
426
+ <details><summary>What it looked like before</summary>
427
+
428
+ 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.
429
+
430
+ </details>
431
+
432
+ - fix(review panel): a thread says whether the agent has actually picked your comment up.
433
+
434
+ <details><summary>What was wrong</summary>
435
+
436
+ 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.
437
+
438
+ </details>
439
+
440
+ fix(diff): a thread head says how long ago the comment was picked up.
441
+
442
+ <details><summary>What was wrong</summary>
443
+
444
+ 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.
445
+
446
+ </details>
447
+
448
+ ## 0.1.0-alpha.134
449
+
450
+ ### Patch Changes
451
+
452
+ - 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.
453
+
454
+ 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.
455
+
456
+ ## 0.1.0-alpha.133
457
+
458
+ ### Patch Changes
459
+
460
+ - 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.
461
+
462
+ ## 0.1.0-alpha.132
463
+
464
+ ### Patch Changes
465
+
466
+ - Five things the layers rail got wrong about where you are.
467
+
468
+ 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.
469
+
470
+ 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.
471
+
472
+ 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.
473
+
474
+ 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.
475
+
476
+ 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.
477
+
478
+ ## 0.1.0-alpha.131
479
+
480
+ ### Patch Changes
481
+
482
+ - 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.
483
+
484
+ 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.
485
+
486
+ ## 0.1.0-alpha.130
487
+
488
+ ### Patch Changes
489
+
490
+ - 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.
491
+
492
+ ## 0.1.0-alpha.129
493
+
494
+ ### Patch Changes
495
+
496
+ - 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.
497
+
498
+ 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.
499
+
500
+ ## 0.1.0-alpha.128
501
+
502
+ ### Patch Changes
503
+
504
+ - 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.
505
+
506
+ 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.
507
+
508
+ ## 0.1.0-alpha.127
509
+
510
+ ### Patch Changes
511
+
512
+ - 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.
513
+
514
+ ## 0.1.0-alpha.126
515
+
516
+ ### Patch Changes
517
+
518
+ - 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.
519
+
520
+ ## 0.1.0-alpha.125
521
+
522
+ ### Patch Changes
523
+
524
+ - 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.
525
+
526
+ `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.
527
+
528
+ 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.
529
+
530
+ `→ N columns cut off` counted three columns that were not cut, and did not name the key that pans.
531
+
532
+ ## 0.1.0-alpha.124
533
+
534
+ ### Patch Changes
535
+
536
+ - `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.
537
+
538
+ 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.
539
+
540
+ ## 0.1.0-alpha.123
541
+
542
+ ### Patch Changes
543
+
544
+ - 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.
545
+
546
+ ## 0.1.0-alpha.122
547
+
548
+ ### Patch Changes
549
+
550
+ - 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.
551
+
552
+ 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.
553
+
554
+ ## 0.1.0-alpha.121
555
+
556
+ ### Patch Changes
557
+
558
+ - 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.
559
+
560
+ ## 0.1.0-alpha.120
561
+
562
+ ### Patch Changes
563
+
564
+ - 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.
565
+
566
+ 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.
567
+
568
+ ## 0.1.0-alpha.119
569
+
570
+ ### Patch Changes
571
+
572
+ - 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`.
573
+
574
+ ## 0.1.0-alpha.118
575
+
576
+ ### Patch Changes
577
+
578
+ - 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.
579
+
580
+ `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.
581
+
582
+ ## 0.1.0-alpha.117
583
+
584
+ ### Patch Changes
585
+
586
+ - 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.
587
+
588
+ ## 0.1.0-alpha.116
589
+
590
+ ### Patch Changes
591
+
592
+ - `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.
593
+
594
+ 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.
595
+
596
+ 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.
597
+
598
+ ## 0.1.0-alpha.115
599
+
600
+ ### Patch Changes
601
+
602
+ - 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.
603
+
604
+ 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.
605
+
606
+ 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.
607
+
608
+ ## 0.1.0-alpha.114
609
+
610
+ ### Patch Changes
611
+
612
+ - 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.
613
+
614
+ ## 0.1.0-alpha.113
615
+
616
+ ### Patch Changes
617
+
618
+ - 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.
619
+
620
+ 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.
621
+
622
+ ## 0.1.0-alpha.112
623
+
624
+ ### Patch Changes
625
+
626
+ - 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.
627
+
628
+ 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.
629
+
630
+ `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.
631
+
632
+ ## 0.1.0-alpha.111
633
+
634
+ ### Patch Changes
635
+
636
+ - Removes code nothing called any more, and gives each duplicated constant one home. Nothing about what adiff does changes.
637
+
638
+ ## 0.1.0-alpha.110
639
+
640
+ ### Patch Changes
641
+
642
+ - 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.
643
+
644
+ 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.
645
+
646
+ `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.
647
+
648
+ 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.
649
+
650
+ ## 0.1.0-alpha.109
651
+
652
+ ### Patch Changes
653
+
654
+ - 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.
655
+
656
+ - 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`.
657
+
658
+ - 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`.
659
+
660
+ 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.
661
+
662
+ - Four things a bug bash of the review terminal turned up.
663
+
664
+ 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.
665
+
666
+ 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.
667
+
668
+ 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.
669
+
670
+ - 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.
671
+
672
+ ## 0.1.0-alpha.108
673
+
674
+ ### Patch Changes
675
+
676
+ - `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.
677
+
678
+ - 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.
679
+
680
+ ## 0.1.0-alpha.107
681
+
682
+ ### Patch Changes
683
+
684
+ - 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.
685
+
686
+ ## 0.1.0-alpha.106
687
+
688
+ ### Minor Changes
689
+
690
+ - 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.
691
+
692
+ ### Patch Changes
693
+
694
+ - 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.
695
+
696
+ - 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.
697
+
698
+ - `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.
699
+
700
+ - 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.
701
+
702
+ ## 0.1.0-alpha.105
703
+
704
+ ### Patch Changes
705
+
706
+ - Looking for something no longer re-reads the whole branch on every search, and finds a name however it was capitalised.
707
+
708
+ ## 0.1.0-alpha.104
709
+
710
+ ### Patch Changes
711
+
712
+ - 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.
713
+
714
+ ## 0.1.0-alpha.103
715
+
716
+ ### Minor Changes
717
+
718
+ - 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.
719
+
720
+ ## 0.1.0-alpha.102
721
+
722
+ ### Patch Changes
723
+
724
+ - `?` opens the key sheet again, along with every other binding that is a shifted character: `{`, `}`, `<`, `>`, `+` and `_`.
725
+
726
+ ## 0.1.0-alpha.101
727
+
728
+ ### Patch Changes
729
+
730
+ - 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.
731
+
732
+ ## 0.1.0-alpha.100
733
+
734
+ ### Patch Changes
735
+
736
+ - 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.
737
+
738
+ ## 0.1.0-alpha.99
739
+
740
+ ### Patch Changes
741
+
742
+ - 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.
743
+
744
+ ## 0.1.0-alpha.98
745
+
746
+ ### Patch Changes
747
+
748
+ - Finding the selection elsewhere looks for the words the reviewer picked, rather than the longest name on the line they were picked from.
749
+
750
+ - 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.
751
+
752
+ ## 0.1.0-alpha.97
753
+
754
+ ### Patch Changes
755
+
756
+ - Every release writes its changes into CHANGELOG.md and says them on the release page, rather than only in an install line.
757
+
758
+ - 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.
759
+
760
+ - Settling or removing a thread from the review panel leaves the cursor where it was, rather than sending it back to the first thread.
761
+
762
+ ## 0.1.0-alpha.96
763
+
764
+ ### Patch Changes
765
+
766
+ - 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.
767
+
768
+ ## 0.1.0-alpha.95
769
+
770
+ ### Minor Changes
771
+
772
+ - 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.
773
+
774
+ ## 0.1.0-alpha.94
775
+
776
+ ### Patch Changes
777
+
778
+ - The worktrees are read together rather than one after another, taking about 290ms off opening a review on a machine holding thirteen of them.
779
+
780
+ ## 0.1.0-alpha.93
781
+
782
+ ### Patch Changes
783
+
784
+ - 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.
785
+
786
+ ## 0.1.0-alpha.92
787
+
788
+ ### Patch Changes
789
+
790
+ - Opening the hidden lines in a diff reads that one file at whole-file context rather than every file on the branch.
791
+
792
+ ## 0.1.0-alpha.91
793
+
794
+ ### Patch Changes
795
+
796
+ - Prose a layer writes about deleted code is shown beside that code, rather than dropped because the file has no new side.
797
+
798
+ ## 0.1.0-alpha.90
799
+
800
+ ### Patch Changes
801
+
802
+ - The summary an agent writes with `layers set` is shown above the layers in the review, rather than only in JSON.
803
+
804
+ ## 0.1.0-alpha.89
805
+
806
+ ### Patch Changes
807
+
808
+ - 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.
809
+
810
+ ## 0.1.0-alpha.88
811
+
812
+ ### Patch Changes
813
+
814
+ - 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.
815
+
816
+ ## 0.1.0-alpha.87
817
+
818
+ ### Patch Changes
819
+
820
+ - 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.
821
+
822
+ ## 0.1.0-alpha.86
823
+
824
+ ### Patch Changes
825
+
826
+ - Turning past the last file says "last file" instead of doing nothing, and the same at the first file going back.
827
+
828
+ ## 0.1.0-alpha.85
829
+
830
+ ### Patch Changes
831
+
832
+ - Page Up, Page Down, Home and End now move through a diff, doing what ctrl+u, ctrl+d, g and G already did.
833
+
834
+ ## 0.1.0-alpha.84
835
+
836
+ ### Patch Changes
837
+
838
+ - 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.
839
+
840
+ ## 0.1.0-alpha.83
841
+
842
+ ### Patch Changes
843
+
844
+ - 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.
845
+
846
+ ## 0.1.0-alpha.82
847
+
848
+ ### Minor Changes
849
+
850
+ - 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.
851
+
852
+ ## 0.1.0-alpha.81
853
+
854
+ ### Patch Changes
855
+
856
+ - 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.
857
+
858
+ ## 0.1.0-alpha.80
859
+
860
+ ### Patch Changes
861
+
862
+ - 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.
863
+
864
+ ## 0.1.0-alpha.79
865
+
866
+ ### Patch Changes
867
+
868
+ - 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.
869
+
870
+ ## 0.1.0-alpha.78
871
+
872
+ ### Patch Changes
873
+
874
+ - Naming a branch no worktree here is on says so, rather than landing on the worktree list with no word about it.
875
+
876
+ - 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.
877
+
878
+ - 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.
879
+
880
+ ## 0.1.0-alpha.77
881
+
882
+ ### Patch Changes
883
+
884
+ - 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.
885
+
886
+ ## 0.1.0-alpha.76
887
+
888
+ ### Patch Changes
889
+
890
+ - 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.
891
+
892
+ ## 0.1.0-alpha.75
893
+
894
+ ### Patch Changes
895
+
896
+ - The suite runs in three parts at once, so a change reaches a release in about half the time it took.
897
+
898
+ - 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.
899
+
900
+ - 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.
901
+
902
+ ## 0.1.0-alpha.74
903
+
904
+ ### Patch Changes
905
+
906
+ - 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.
907
+
908
+ ## 0.1.0-alpha.73
909
+
910
+ ### Patch Changes
911
+
912
+ - 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.
913
+
914
+ - 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.
915
+
916
+ ## 0.1.0-alpha.72
917
+
918
+ ### Patch Changes
919
+
920
+ - 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.
921
+
922
+ ## 0.1.0-alpha.71
923
+
924
+ ### Patch Changes
925
+
926
+ - `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.
927
+
928
+ ## 0.1.0-alpha.70
929
+
930
+ ### Patch Changes
931
+
932
+ - 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.
933
+
934
+ - 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.
935
+
936
+ ## 0.1.0-alpha.69
937
+
938
+ ### Patch Changes
939
+
940
+ - 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.
941
+
942
+ - 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.
943
+
944
+ ## 0.1.0-alpha.68
945
+
946
+ ### Minor Changes
947
+
948
+ - 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.
949
+
950
+ ### Patch Changes
951
+
952
+ - 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.
953
+
954
+ - 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.
955
+
956
+ - 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.
957
+
958
+ ## 0.1.0-alpha.67
959
+
960
+ ### Patch Changes
961
+
962
+ - `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.
963
+
964
+ - `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.
965
+
966
+ ## 0.1.0-alpha.66
967
+
968
+ ### Patch Changes
969
+
970
+ - 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.
971
+
972
+ ## 0.1.0-alpha.65
973
+
974
+ ### Patch Changes
975
+
976
+ - 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.
977
+
978
+ ## 0.1.0-alpha.64
979
+
980
+ ### Patch Changes
981
+
982
+ - 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.
983
+
984
+ ## 0.1.0-alpha.63
985
+
986
+ ### Patch Changes
987
+
988
+ - 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.
989
+
990
+ ## 0.1.0-alpha.62
991
+
992
+ ### Patch Changes
993
+
994
+ - 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.
995
+
996
+ ## 0.1.0-alpha.61
997
+
998
+ ### Patch Changes
999
+
1000
+ - 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.
1001
+
1002
+ ## 0.1.0-alpha.60
1003
+
1004
+ ### Patch Changes
1005
+
1006
+ - 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.
1007
+
1008
+ ## 0.1.0-alpha.59
1009
+
1010
+ ### Patch Changes
1011
+
1012
+ - 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.
1013
+
1014
+ ## 0.1.0-alpha.58
1015
+
1016
+ ### Patch Changes
1017
+
1018
+ - 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.
1019
+
1020
+ 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.
1021
+
1022
+ `}` 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.
1023
+
1024
+ 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.
1025
+
1026
+ The review screen also uses the two rows it was leaving empty above and below itself.
1027
+
1028
+ ## 0.1.0-alpha.57
1029
+
1030
+ ### Patch Changes
1031
+
1032
+ - 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.
1033
+
1034
+ ## 0.1.0-alpha.56
1035
+
1036
+ ### Patch Changes
1037
+
1038
+ - 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.
1039
+
1040
+ ## 0.1.0-alpha.55
1041
+
1042
+ ### Patch Changes
1043
+
1044
+ - 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.
1045
+
1046
+ ## 0.1.0-alpha.54
1047
+
1048
+ ### Patch Changes
1049
+
1050
+ - 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.
1051
+
1052
+ - 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.
1053
+
1054
+ ## 0.1.0-alpha.53
1055
+
1056
+ ### Patch Changes
1057
+
1058
+ - 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.
1059
+
1060
+ ## 0.1.0-alpha.52
1061
+
1062
+ ### Patch Changes
1063
+
1064
+ - 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.
1065
+
1066
+ ## 0.1.0-alpha.51
1067
+
1068
+ ### Patch Changes
1069
+
1070
+ - 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.
1071
+
1072
+ ## 0.1.0-alpha.50
1073
+
1074
+ ### Patch Changes
1075
+
1076
+ - `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.
1077
+
1078
+ ## 0.1.0-alpha.49
1079
+
1080
+ ### Patch Changes
1081
+
1082
+ - `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.
1083
+
1084
+ ## 0.1.0-alpha.48
1085
+
1086
+ ### Patch Changes
1087
+
1088
+ - `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.
1089
+
1090
+ - 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`.
1091
+
1092
+ - 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.
1093
+
1094
+ - 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.
1095
+
1096
+ ## 0.1.0-alpha.47
1097
+
1098
+ ### Minor Changes
1099
+
1100
+ - `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.
1101
+
1102
+ ## 0.1.0-alpha.46
1103
+
1104
+ ### Patch Changes
1105
+
1106
+ - 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.
1107
+
1108
+ ## 0.1.0-alpha.45
1109
+
1110
+ ### Patch Changes
1111
+
1112
+ - 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.
1113
+
1114
+ ## 0.1.0-alpha.44
1115
+
1116
+ ### Patch Changes
1117
+
1118
+ - 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.
1119
+
1120
+ ## 0.1.0-alpha.43
1121
+
1122
+ ### Patch Changes
1123
+
1124
+ - 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.
1125
+
1126
+ ## 0.1.0-alpha.42
1127
+
1128
+ ### Minor Changes
1129
+
1130
+ - 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`.
1131
+
1132
+ ### Patch Changes
1133
+
1134
+ - `--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.
1135
+
1136
+ ## 0.1.0-alpha.41
1137
+
1138
+ ### Patch Changes
1139
+
1140
+ - 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.
1141
+
1142
+ ## 0.1.0-alpha.40
1143
+
1144
+ ### Patch Changes
1145
+
1146
+ - `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.
1147
+
1148
+ ## 0.1.0-alpha.39
1149
+
1150
+ ### Patch Changes
1151
+
1152
+ - `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.
1153
+
1154
+ ## 0.1.0-alpha.38
1155
+
1156
+ ### Patch Changes
1157
+
1158
+ - 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.
1159
+
1160
+ ## 0.1.0-alpha.37
1161
+
1162
+ ### Patch Changes
1163
+
1164
+ - The footer carries the keys a review is made of, and ? lists every key the screen answers to.
1165
+
1166
+ ## 0.1.0-alpha.36
1167
+
1168
+ ### Patch Changes
1169
+
1170
+ - 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.
1171
+
1172
+ ## 0.1.0-alpha.35
1173
+
1174
+ ### Patch Changes
1175
+
1176
+ - A comment can be removed from the review and restored, and the record keeps it either way.
1177
+
1178
+ ## 0.1.0-alpha.34
1179
+
1180
+ ### Patch Changes
1181
+
1182
+ - A file name too long for the tree keeps its end, where the extension and the distinguishing word live.
1183
+
1184
+ ## 0.1.0-alpha.33
1185
+
1186
+ ### Patch Changes
1187
+
1188
+ - The store reports a damaged file instead of failing unexpectedly.
1189
+
1190
+ ## 0.1.0-alpha.32
1191
+
1192
+ ### Patch Changes
1193
+
1194
+ - The skill publishes a reading order on request, and tells the reviewer how to open the review.
1195
+
1196
+ ## 0.1.0-alpha.31
1197
+
1198
+ ### Patch Changes
1199
+
1200
+ - Coverage counts the changed lines a layer claims, not the hunks a span touches.
1201
+
1202
+ ## 0.1.0-alpha.30
1203
+
1204
+ ### Patch Changes
1205
+
1206
+ - The palette keeps a command's name clear of its category.
1207
+
1208
+ ## 0.1.0-alpha.29
1209
+
1210
+ ### Patch Changes
1211
+
1212
+ - First contact teaches the loop, an empty collection says what to do next, and a worktree error explains the path.
1213
+
1214
+ ## 0.1.0-alpha.28
1215
+
1216
+ ### Patch Changes
1217
+
1218
+ - An agent can open the review in a split pane beside the conversation.
1219
+
1220
+ ## 0.1.0-alpha.27
1221
+
1222
+ ### Minor Changes
1223
+
1224
+ - adiff init writes the review loop into a repository's agent instructions.
1225
+
1226
+ ## 0.1.0-alpha.26
1227
+
1228
+ ### Patch Changes
1229
+
1230
+ - A branch with no files left to read says so.
1231
+
1232
+ ## 0.1.0-alpha.25
1233
+
1234
+ ### Patch Changes
1235
+
1236
+ - The terminal names the key that sends a review, and counts what is waiting.
1237
+
1238
+ - The repository's own working tree is reviewable and marked here.
1239
+
1240
+ ## 0.1.0-alpha.24
1241
+
1242
+ ### Patch Changes
1243
+
1244
+ - A selection can be copied, or searched for across the branch's worktree with the matches listed and peeked at.
1245
+
1246
+ ## 0.1.0-alpha.23
1247
+
1248
+ ### Patch Changes
1249
+
1250
+ - A pinned scope wider than the pane can be panned into view, and the command palette opens over the review list.
1251
+
1252
+ ## 0.1.0-alpha.22
1253
+
1254
+ ### Patch Changes
1255
+
1256
+ - A selection reaching over hidden lines reports the range it will actually comment on.
1257
+
1258
+ - Composing on a row that carries no line says so instead of opening a panel that cannot send.
1259
+
1260
+ - The stale mark on the layer rail reads in full at any width.
1261
+
1262
+ ## 0.1.0-alpha.21
1263
+
1264
+ ### Patch Changes
1265
+
1266
+ - The store answers with the settings effect directly.
1267
+
1268
+ ## 0.1.0-alpha.20
1269
+
1270
+ ### Patch Changes
1271
+
1272
+ - Homebrew tracks each release.
1273
+
1274
+ ## 0.1.0-alpha.19
1275
+
1276
+ ### Patch Changes
1277
+
1278
+ - The house style lives in the linter, and a thread can be settled and folded from the terminal.
1279
+
1280
+ ## 0.1.0-alpha.18
1281
+
1282
+ ### Patch Changes
1283
+
1284
+ - The cursor stops on a thread so it can be settled directly, and a settled thread folds to one row.
1285
+
1286
+ ## 0.1.0-alpha.17
1287
+
1288
+ ### Patch Changes
1289
+
1290
+ - Say when an agent answers, settle a thread with d, and hold the comments still while the code pans.
1291
+
1292
+ ## 0.1.0-alpha.16
1293
+
1294
+ ### Patch Changes
1295
+
1296
+ - r reads the worktree list again, and notices reach the home screen.
1297
+
3
1298
  ## 0.1.0-alpha.15
4
1299
 
5
1300
  ### Patch Changes