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

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,1723 @@
1
1
  # @eliya-oss/agent-diff
2
2
 
3
+ ## 0.1.0-alpha.181
4
+
5
+ ### Patch Changes
6
+
7
+ - feat(command palette): every overlay is drawn the same way: a bold title with its count at the right edge, a `›` before the query, one empty row between title, query, list and keys, the keys that work inside the box, and no line at the left edge.
8
+
9
+ <details><summary>What was wrong</summary>
10
+
11
+ Each overlay had its own spacing, its own title colour and its own row lead. The title and the
12
+ placeholder shared one faint colour on adjacent rows, the settings indented their titles two columns
13
+ past the palette's, and the keys that worked sat in the footer under the scrim, dimmed by the very
14
+ box they described.
15
+
16
+ </details>
17
+
18
+ feat(preferences): the preferences are a sheet along the bottom of the terminal, one row per preference with `on` or `off` in a value column, and what the highlighted one does said once under the list.
19
+
20
+ <details><summary>What was wrong</summary>
21
+
22
+ The preferences opened as a box over the middle of the diff, two rows per preference, so toggling
23
+ one meant looking past the box to see the diff it changed.
24
+
25
+ </details>
26
+
27
+ feat(command palette): commands are grouped under their category's headline, and the cursor row is painted across the whole box.
28
+
29
+ feat(preferences): the editor a line opens in is the last row of the preferences sheet, and return on it offers the editors on the machine.
30
+
31
+ fix(command palette): return runs the command under the cursor; it used to run the first match, because the return key reached the filter box first and reset the cursor.
32
+
33
+ fix(preferences): escape closes the sheet after a visit to the editor picker; it used to bounce back to the sheet forever.
34
+
35
+ fix(search): an empty search is one faint row saying where the matches will list, instead of a nine-row void.
36
+
37
+ ## 0.1.0-alpha.180
38
+
39
+ ### Patch Changes
40
+
41
+ - 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.
42
+
43
+ <details><summary>What was wrong</summary>
44
+
45
+ A comment on a stranger's pull request went into an inbox no agent was reading, and the review had
46
+ to be retyped in a browser, one comment at a time, with the anchors adiff already knew lost on the
47
+ way.
48
+
49
+ </details>
50
+
51
+ ## 0.1.0-alpha.179
52
+
53
+ ### Patch Changes
54
+
55
+ - 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.
56
+
57
+ <details><summary>What was wrong</summary>
58
+
59
+ Wrapping twenty-five lines in `startTransition(() => { … })` drew twenty-five removed lines and
60
+ twenty-seven added ones, and the reviewer had to read both blocks to find the two that mattered.
61
+
62
+ </details>
63
+
64
+ ## 0.1.0-alpha.178
65
+
66
+ ### Patch Changes
67
+
68
+ - 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.
69
+
70
+ ## 0.1.0-alpha.177
71
+
72
+ ### Patch Changes
73
+
74
+ - 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.
75
+
76
+ <details><summary>What was wrong</summary>
77
+
78
+ The walk stopped at either end, so getting from the last file back to the first meant pressing `[`
79
+ once per file. The footer says `around to the first file` when the walk wraps.
80
+
81
+ </details>
82
+
83
+ ## 0.1.0-alpha.176
84
+
85
+ ### Patch Changes
86
+
87
+ - fix(diff pane): a comment held until the review is sent shows under its line, marked waiting to be sent.
88
+
89
+ <details><summary>What was wrong</summary>
90
+
91
+ With holding on, a written comment reached only the review panel. The diff showed nothing under the
92
+ line, so a line you had commented on looked like one you had not.
93
+
94
+ </details>
95
+
96
+ ## 0.1.0-alpha.175
97
+
98
+ ### Patch Changes
99
+
100
+ - fix(agent skill): the agent edits and answers by id, and commits when the work forms a unit rather than once per comment.
101
+
102
+ <details><summary>What was wrong</summary>
103
+
104
+ The skill said the next commit is the reply and that a question is answered in the commit message.
105
+ Agents took it literally, so a review ended in a pile of one-comment commits, and answers written
106
+ into commit messages never reached the reviewer's screen.
107
+
108
+ </details>
109
+
110
+ ## 0.1.0-alpha.174
111
+
112
+ ### Patch Changes
113
+
114
+ - fix(review panel): opening a comment the branch moved past shows the whole thread, with the code it was written on.
115
+
116
+ <details><summary>What was wrong</summary>
117
+
118
+ When another line had taken the number the comment was written at, opening it jumped to that line,
119
+ where no comment was drawn, and the agent's answer was nowhere to read.
120
+
121
+ </details>
122
+
123
+ fix(settling box): marking a file that still holds open threads lists them, and says which one is not in the diff.
124
+
125
+ <details><summary>What was wrong</summary>
126
+
127
+ The box counted two threads while the diff showed one, and gave no way to tell where the other was.
128
+
129
+ </details>
130
+
131
+ ## 0.1.0-alpha.173
132
+
133
+ ### Patch Changes
134
+
135
+ - feat(review panel): `d` takes a settled thread back, so a point settled too early can be reopened.
136
+
137
+ <details><summary>What it does</summary>
138
+
139
+ Pressing `d` on a settled thread unsettles it: the thread opens where it stands, the footer names
140
+ the key as "unsettle" while the cursor is on one, its answers are marked unread again, and the agent
141
+ is owed an answer again if it never gave one. The panel cursor stays on a thread that has been
142
+ taken back, while settling still brings the next thread to it.
143
+ `adiff comment reopen --repo . --branch <branch> --id <id>` does the same from the command line, and
144
+ is refused on a thread that is not settled.
145
+
146
+ </details>
147
+
148
+ ## 0.1.0-alpha.172
149
+
150
+ ### Patch Changes
151
+
152
+ - feat(diff): a comment is written in the diff, under the line it is about, instead of in a box over it.
153
+
154
+ <details><summary>What moved</summary>
155
+
156
+ The draft opens under the last line of the selection and the code below it moves down, the way a
157
+ thread already sits under its line; a reply opens under the thread it answers. The quoted snippet is
158
+ gone, because the code is on the screen above. `ctrl+s` sends and `escape` cancels, as before. On a
159
+ pane too short to hold the draft, and where the diff cannot show the line, the draft opens over the
160
+ diff as it did before.
161
+
162
+ </details>
163
+
164
+ ## 0.1.0-alpha.171
165
+
166
+ ### Patch Changes
167
+
168
+ - feat(comment delivery): a comment on code a layer explains tells the agent which layer it will have to rewrite.
169
+
170
+ <details><summary>Why the agent is told</summary>
171
+
172
+ The work a comment asks for moves the code its layer describes, so the layers go stale as soon as
173
+ the agent acts. `comment take` now carries `layer`, the title of the layer whose spans cover the
174
+ comment's lines, read from the reading order as it stands when the comment is handed over. Where two
175
+ layers claim the line the tighter span wins, and code no layer claims carries none.
176
+
177
+ </details>
178
+
179
+ ## 0.1.0-alpha.170
180
+
181
+ ### Patch Changes
182
+
183
+ - feat(marks): marking a file read asks whether to settle the threads it still holds.
184
+
185
+ <details><summary>What it asks</summary>
186
+
187
+ `m` and `M` open a box naming the file, or the layer on a reading order, and counting its open
188
+ threads. The first answer settles those threads and marks; the second marks and leaves them open;
189
+ escape marks nothing. The last layer of a file also counts the threads no layer explains, and
190
+ remarks are never counted, because a remark is triaged rather than settled.
191
+
192
+ </details>
193
+
194
+ ## 0.1.0-alpha.169
195
+
196
+ ### Patch Changes
197
+
198
+ - fix(base): escape closes the base picker and leaves the base as it was.
199
+
200
+ <details><summary>What was wrong</summary>
201
+
202
+ The picker took escape and did nothing with it. The only ways out were choosing a ref, handing the
203
+ choice back to adiff, or quitting the terminal.
204
+
205
+ </details>
206
+
207
+ fix(editor): escape closes the list of editors and opens nothing.
208
+
209
+ <details><summary>What was wrong</summary>
210
+
211
+ Pressing the key with no editor found opened the list, and escape left it on screen. A reviewer who
212
+ did not mean to choose an editor had to pick one anyway.
213
+
214
+ </details>
215
+
216
+ ## 0.1.0-alpha.168
217
+
218
+ ### Patch Changes
219
+
220
+ - 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.
221
+
222
+ ## 0.1.0-alpha.167
223
+
224
+ ### Patch Changes
225
+
226
+ - 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.
227
+
228
+ - 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.
229
+
230
+ ## 0.1.0-alpha.166
231
+
232
+ ### Patch Changes
233
+
234
+ - 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.
235
+
236
+ - 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.
237
+
238
+ ## 0.1.0-alpha.165
239
+
240
+ ### Patch Changes
241
+
242
+ - 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`.
243
+
244
+ ## 0.1.0-alpha.164
245
+
246
+ ### Patch Changes
247
+
248
+ - 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.
249
+
250
+ ## 0.1.0-alpha.163
251
+
252
+ ### Patch Changes
253
+
254
+ - 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.
255
+
256
+ ## 0.1.0-alpha.162
257
+
258
+ ### Patch Changes
259
+
260
+ - 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.
261
+
262
+ ## 0.1.0-alpha.161
263
+
264
+ ### Patch Changes
265
+
266
+ - 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.
267
+
268
+ ## 0.1.0-alpha.160
269
+
270
+ ### Patch Changes
271
+
272
+ - 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.
273
+
274
+ - feat(diff): the editor a line opens in is chosen in the terminal, from the editors found on your machine.
275
+
276
+ <details><summary>What was wrong</summary>
277
+
278
+ A reviewer with no editor in the environment was told to set `$VISUAL` or edit the settings file —
279
+ a chore instead of an editor. Pressing the key now offers the editors found on the path, narrowed by
280
+ typing, and a command typed in full is accepted; choosing one opens the line straight away.
281
+ Changing it later is in the command palette, and one key there hands the choice back to the
282
+ environment.
283
+
284
+ </details>
285
+
286
+ - 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.
287
+
288
+ - 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.
289
+
290
+ - 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.
291
+
292
+ ## 0.1.0-alpha.159
293
+
294
+ ### Patch Changes
295
+
296
+ - 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.
297
+
298
+ <details><summary>What was wrong</summary>
299
+
300
+ The agent's answers carried an arrow and somebody else's remark carried a handle, but the reviewer's
301
+ own comment had no mark at all, so it read as a continuation of the heading above it. Two threads on
302
+ one line ran together with nothing between them, newest drawn first, so a conversation read backwards
303
+ and it was not clear who said which part.
304
+
305
+ </details>
306
+
307
+ ## 0.1.0-alpha.158
308
+
309
+ ### Patch Changes
310
+
311
+ - feat(diff): `e` opens the line under the cursor in your editor, found from the environment or set in the settings file.
312
+
313
+ <details><summary>Why</summary>
314
+
315
+ Reading a diff is where a reviewer decides to change something, and the file and line are already
316
+ under the cursor. `$VISUAL`, then `$EDITOR`, then whatever launched adiff — VS Code, Cursor,
317
+ Windsurf, Zed and JetBrains all say so in the environment — and a known editor gets its own line
318
+ flag, so `code` becomes `code --goto file:line`. Set `editor` in the settings file to override it.
319
+
320
+ </details>
321
+
322
+ ## 0.1.0-alpha.157
323
+
324
+ ### Patch Changes
325
+
326
+ - feat(branches): `b` sets what this branch is compared against, from the list of refs the repository has.
327
+
328
+ <details><summary>Why</summary>
329
+
330
+ A reviewer who could see the base was wrong — the row says what each branch is stacked on — had to
331
+ leave the terminal, remember `adiff base set`, and come back. `b` opens the refs newest first,
332
+ narrowed by typing, and a ref you type that is not listed is still tried, so a tag or a commit works.
333
+ `ctrl+x` hands the base back to adiff's own guess.
334
+
335
+ </details>
336
+
337
+ ## 0.1.0-alpha.156
338
+
339
+ ### Patch Changes
340
+
341
+ - 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.
342
+
343
+ <details><summary>What was wrong</summary>
344
+
345
+ The skill said a span from line 1 to past the end of the file "covers a file whatever happens to it",
346
+ against a tight range that "goes stale on the next push". An agent following that writes a reading
347
+ order whose every layer claims the whole file, and the terminal then draws the whole diff for each
348
+ one — eleven layers over one file meant reading it eleven times. Staleness is the cheaper problem:
349
+ adiff says when a set is stale.
350
+
351
+ </details>
352
+
353
+ ## 0.1.0-alpha.155
354
+
355
+ ### Patch Changes
356
+
357
+ - 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.
358
+
359
+ <details><summary>Why</summary>
360
+
361
+ Two reports cost a day between them. Neither said which base the diff was computed against, that the
362
+ branch had a reading order at all, or whether the slow thing took three seconds or thirty — so each
363
+ one had to be reproduced by hand against a real repository before it could be read. Counts, spans,
364
+ flags and timings name nothing, so they are in a minimal report too; a layer's title is the agent's
365
+ prose, so a minimal report says which layer by number.
366
+
367
+ </details>
368
+
369
+ feat(CLI): `layers set` says how many hunks more than one layer claims, which coverage cannot express.
370
+
371
+ <details><summary>Why</summary>
372
+
373
+ A reading order whose layers all claim the whole diff reports perfect coverage, and so does one
374
+ whose layers each claim their own run. The number that tells them apart was the one nothing counted.
375
+
376
+ </details>
377
+
378
+ ## 0.1.0-alpha.154
379
+
380
+ ### Patch Changes
381
+
382
+ - 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.
383
+
384
+ <details><summary>What was wrong</summary>
385
+
386
+ A reading order written one layer to a commit splits a long run of changed lines between several
387
+ layers. Scoping a layer to whole runs still drew all of a 276-line run for every layer that claimed
388
+ any line of it, so a reviewer walking eleven commits read the same block eleven times.
389
+
390
+ </details>
391
+
392
+ ## 0.1.0-alpha.153
393
+
394
+ ### Patch Changes
395
+
396
+ - fix(layers): a layer shows the runs it claims, and a change another layer explains is one line saying which layer that is.
397
+
398
+ <details><summary>What was wrong</summary>
399
+
400
+ Eleven layers over one file drew that file's whole diff eleven times, with the layer's words landing
401
+ somewhere different each time and nothing saying which part you were meant to be reading. A layer
402
+ whose runs sat at line 1,600 also opened at line 800 and left you to find them.
403
+
404
+ </details>
405
+
406
+ ## 0.1.0-alpha.152
407
+
408
+ ### Patch Changes
409
+
410
+ - 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.
411
+
412
+ <details><summary>What was wrong</summary>
413
+
414
+ Searching a monorepo for a common name handed back every place git happened to print, in git's
415
+ order: twenty-three thousand rows, with the file you were reading somewhere in the middle and
416
+ `.txt` corpora, Dockerfiles and documents above the code. The count for each distance is said now,
417
+ so a name with ten places in your file and twelve hundred elsewhere says both.
418
+
419
+ </details>
420
+
421
+ perf(search): searching a monorepo for a name costs one git pass over hit lines, not one per keystroke over every neighbouring line.
422
+
423
+ <details><summary>What was wrong</summary>
424
+
425
+ Every search asked git for two lines of context around every match — 6,832 lines for one name in a
426
+ monorepo against 1,421 hits — and then scanned all of them once per match to build the neighbours
427
+ of places nobody was looking at. At typing speed each keystroke started another one, so typing a
428
+ name of eight letters started eight, each queued behind the last. A search now reads hit lines
429
+ only, reads the neighbours of the one place under the cursor, waits until you have stopped typing,
430
+ and runs beside the terminal rather than in front of it.
431
+
432
+ </details>
433
+
434
+ fix(search): a search waits for two letters, and an answer that arrives for a word you have moved on from is dropped.
435
+
436
+ <details><summary>What was wrong</summary>
437
+
438
+ Typing `i` on the way to `identity` searched for `i`, which in a monorepo is twenty-two thousand
439
+ places; the answer landed after the later ones and the list then showed the places for `i` under
440
+ the word `identity`.
441
+
442
+ </details>
443
+
444
+ ## 0.1.0-alpha.151
445
+
446
+ ### Patch Changes
447
+
448
+ - fix(footer): the footer says one thing at a time, so reading the pull request no longer sits beside what you just did.
449
+
450
+ <details><summary>What was wrong</summary>
451
+
452
+ Reading the branch again while the pull request was still being read left two messages in the
453
+ corner — `reading the pull request read the branch again` — which reads as two things happening to
454
+ you rather than one. The reading line now shows where nothing else is being said.
455
+
456
+ </details>
457
+
458
+ ## 0.1.0-alpha.150
459
+
460
+ ### Patch Changes
461
+
462
+ - breaking(preferences): the pull request's remarks are read only after you turn "Read the pull request's review" on.
463
+
464
+ <details><summary>What changed</summary>
465
+
466
+ adiff read every branch's pull request as soon as you opened it, whether or not you wanted its
467
+ review in the terminal. The preference is off for everyone, so a repository with nothing to read
468
+ costs nothing. Turn it on under `,` in the review, or with `adiff config set --name remarks --value on`.
469
+
470
+ </details>
471
+
472
+ 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.
473
+
474
+ <details><summary>What was wrong</summary>
475
+
476
+ Pressing `r` sat there. Every reload listed the pull requests, looked one up, asked who owned the
477
+ repository and only then read the threads — four round trips to GitHub before the diff came back.
478
+ It is one request now, it runs behind the diff, and the footer says it is reading the pull request
479
+ until the remarks land.
480
+
481
+ </details>
482
+
483
+ fix(review panel): the box you reply to a remark in quotes the remark and says the reply goes to the pull request.
484
+
485
+ <details><summary>What was wrong</summary>
486
+
487
+ `c` wrote a comment for the agent and `R` posted publicly on the pull request, and both opened the
488
+ same box over the same lines of code, with the same "send it" underneath.
489
+
490
+ </details>
491
+
492
+ ## 0.1.0-alpha.149
493
+
494
+ ### Patch Changes
495
+
496
+ - fix(agent skill): the drafting rules name `draft send` as the reviewer's command instead of denying it exists.
497
+
498
+ <details><summary>What was wrong</summary>
499
+
500
+ The skill told an agent "There is no command that dispatches, on purpose", and `draft send` dispatches
501
+ — it posts every held comment to the pull request as one review. An agent that found the command had
502
+ been told it did not exist, which is a reason to think the skill is stale rather than a reason to
503
+ leave the command alone. The rule is the same as it always was, and now it says which command it is
504
+ about. PRD 012 carried the same sentence and says the same thing now.
505
+
506
+ </details>
507
+
508
+ ## 0.1.0-alpha.148
509
+
510
+ ### Patch Changes
511
+
512
+ - 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.
513
+
514
+ <details><summary>How it goes</summary>
515
+
516
+ A review on the pull request shows up against the code it is about, with the handle that left it.
517
+ `A` accepts a remark, which writes a comment in your name and sends it to the agent; `c` accepts it
518
+ in your own words; `X` dismisses it, reversibly, without touching the pull request; `o` opens the
519
+ pull request. The review panel lists what is still untriaged, and the walk to the next comment stops
520
+ on remarks too.
521
+
522
+ A remark never reaches the agent on its own. `comment take` cannot return one, and `adiff remark
523
+ list` is how an agent reads them when you ask it to.
524
+
525
+ </details>
526
+
527
+ ## 0.1.0-alpha.147
528
+
529
+ ### Patch Changes
530
+
531
+ - breaking(CLI): `adiff skill refresh` is gone, and `npx skills update adiff` updates the skill instead.
532
+
533
+ <details><summary>What changed</summary>
534
+
535
+ `skill refresh` looked in `.claude/skills/adiff/SKILL.md` and nowhere else. On Codex, Cursor,
536
+ OpenCode or anything else it found nothing and reported no changes rather than saying it had not
537
+ looked. The skills CLI also installs a symlink by default, so on an ordinary install there was
538
+ nothing there to rewrite that the next `skills update` would not undo.
539
+
540
+ Keeping a second updater working meant matching a registry of seventy-seven agent directories that
541
+ the skills CLI already maintains. `npx skills update adiff` works for every agent and every install.
542
+ An agent holding a skill a version behind gets a refused command with a `suggestion` naming the fix,
543
+ which is what `describe` is for.
544
+
545
+ </details>
546
+
547
+ fix(upgrade): an upgrade names the command that brings the skill up with it.
548
+
549
+ <details><summary>What was wrong</summary>
550
+
551
+ Upgrading adiff left the skill describing the older build, and the line that used to say otherwise
552
+ only ever appeared for a Claude Code install that had been copied rather than linked. The version
553
+ installed is still the second-to-last line; under it sits the one thing left to do.
554
+
555
+ </details>
556
+
557
+ fix(README): the install command no longer picks an agent for you.
558
+
559
+ <details><summary>What was wrong</summary>
560
+
561
+ The documented command was `npx skills add … -g -y -a claude-code`, which installed the skill for
562
+ Claude Code whatever agent the reader actually used, and `-y` suppressed the question that would
563
+ have asked them. The question is the agent picker. `--agent codex`, repeated, or `--agent '*'`
564
+ answers it up front.
565
+
566
+ </details>
567
+
568
+ ## 0.1.0-alpha.146
569
+
570
+ ### Patch Changes
571
+
572
+ - fix(CLI): `adiff skill refresh` works on the Homebrew install, where it used to fail every time.
573
+
574
+ <details><summary>What was wrong</summary>
575
+
576
+ `skill refresh` found the skill it ships by walking up from its own module until it saw
577
+ `skills/adiff/SKILL.md` on disk. That file is in the npm package and in a checkout, and it is not in
578
+ the compiled binary Homebrew installs, so the command failed with "not found beside this build" and
579
+ a suggestion that blamed the directory it was writing to. The skill now travels inside the build.
580
+
581
+ This was the mechanism that answers a skill drifting from the adiff beside it, and it did not work on
582
+ the route the README leads with.
583
+
584
+ </details>
585
+
586
+ fix(upgrade): `adiff upgrade` says when it could not rewrite the installed skill.
587
+
588
+ <details><summary>What was wrong</summary>
589
+
590
+ `upgrade` ran `skill refresh` and mapped any failure to "nothing was refreshed", so an upgrade whose
591
+ skill refresh failed read exactly like one with no skill installed. That is why the Homebrew failure
592
+ above went unnoticed.
593
+
594
+ </details>
595
+
596
+ fix(CLI): `skill refresh` leaves a skill the skills CLI owns alone, and reports it as linked.
597
+
598
+ <details><summary>What was wrong</summary>
599
+
600
+ `npx skills add` installs a symlink by default. `skill refresh` wrote straight through it, editing a
601
+ clone inside that tool's cache — which the next `npx skills update` silently reverted. Two tools were
602
+ overwriting one file in turn. A link is now reported and left as it is.
603
+
604
+ </details>
605
+
606
+ ## 0.1.0-alpha.145
607
+
608
+ ### Patch Changes
609
+
610
+ - fix(bug report): a minimal report carries nothing that names the machine, the repo, the branch or the file.
611
+
612
+ <details><summary>What was wrong</summary>
613
+
614
+ `ctrl+t` said the report left out file names, code and key history, and then printed the hostname,
615
+ the repo path, the branch and the current file anyway. A reviewer who was told the report was safe
616
+ to paste into a public issue published all four. A minimal report now carries only what a
617
+ maintainer needs and a reviewer can share: the adiff and Node versions, the platform, the terminal
618
+ size, the screen and focus, the count reviewed, and the kind of the last internal failure. The
619
+ failure's message is left out too, because an error message routinely carries an absolute path — an
620
+ `ENOENT` names the file it could not open. A full report is unchanged.
621
+
622
+ </details>
623
+
624
+ ## 0.1.0-alpha.144
625
+
626
+ ### Patch Changes
627
+
628
+ - fix(home screen): the branch list is headed `BRANCH` and counts `3 branches`, where it said worktree.
629
+
630
+ <details><summary>What was wrong</summary>
631
+
632
+ The list of work waiting was headed `WORKTREE`, and the line above it counted worktrees. adiff talks
633
+ about branches everywhere else, so the reviewer had two words for one thing on the first screen they
634
+ see.
635
+
636
+ </details>
637
+
638
+ fix(keys): the keys that reread the list and jump to its ends name branches, not worktrees.
639
+
640
+ ## 0.1.0-alpha.143
641
+
642
+ ### Patch Changes
643
+
644
+ - fix(diff): a comment stays on its line when the agent edits that line by a few characters.
645
+
646
+ <details><summary>What was wrong</summary>
647
+
648
+ A comment was placed by matching its snippet exactly, so making the small edit the comment asked for
649
+ took the comment off the diff along with the old wording. Asking for `seed: (driver, network)` to
650
+ become `seed: ({ driver, network })` cost the reviewer both the comment and the answer to it: the
651
+ thread was answered, but only the review panel showed it. A line that is nearly the same — at most
652
+ one character changed in four — now keeps the comment. A short line still has to match exactly, so
653
+ nothing lands on a stray brace, and code the agent genuinely replaced still goes to the panel.
654
+
655
+ </details>
656
+
657
+ - breaking(CLI): `adiff init` is gone, and the skill is installed with `npx skills add Newbie012/agent-diff --skill adiff`.
658
+
659
+ <details><summary>What changed</summary>
660
+
661
+ `init` wrote a passage into `AGENTS.md` and a `CLAUDE.md` importing it, kept between sentinels so it
662
+ could be found and replaced, and wrote the skill only if you also asked for it. Editing two files a
663
+ whole team shares bought nothing the skill does not already do — an agent finds a skill by its
664
+ description without being told to look — and a command whose whole job was fetching one file had to
665
+ be installed, learned and kept in step with the skills CLI's own.
666
+
667
+ Getting started is now installing adiff and installing the skill. adiff writes nothing into a
668
+ repository. If you ran the old `init`, the block between `<!-- adiff:begin -->` and
669
+ `<!-- adiff:end -->` in `AGENTS.md` and `CLAUDE.md` is yours to delete; nothing reads it any more.
670
+ `adiff skill refresh` still brings an installed skill up to the build running beside it.
671
+
672
+ </details>
673
+
674
+ - fix(diff): the terminal shows the diff against the base it was opened with.
675
+
676
+ <details><summary>What was wrong</summary>
677
+
678
+ `adiff review open --base <ref>` took the flag, validated it, and threw it away. The terminal always
679
+ read the branch against the base it would have guessed, so someone reviewing the one commit they had
680
+ just asked for got the whole stacked branch instead — 44 files where the base gave 1 — with nothing
681
+ on screen to say the base had been ignored. Every command that answers in JSON honoured it, which
682
+ made the terminal look right until you counted the files.
683
+
684
+ </details>
685
+
686
+ fix(diff): `review pane` carries a base into the pane it opens and the command it reports.
687
+
688
+ <details><summary>What was wrong</summary>
689
+
690
+ The same flag was dropped one function over, so a pane opened for an agent showed a different diff
691
+ from the one the agent was told to open, and the command in the answer could not be pasted to
692
+ reproduce it.
693
+
694
+ </details>
695
+
696
+ ## 0.1.0-alpha.142
697
+
698
+ ### Patch Changes
699
+
700
+ - fix(diff): a comment moves to wherever its code went when the agent edits the file above it.
701
+
702
+ <details><summary>What was wrong</summary>
703
+
704
+ A comment was drawn at the line number it was written at. When the agent added or removed lines
705
+ above that code, every comment in the file stayed on its old number and pointed at whatever had
706
+ moved into it. A comment carries the exact snippet it was written against, and that is now what
707
+ places it.
708
+
709
+ </details>
710
+
711
+ fix(diff): a comment whose code the agent rewrote is not drawn against the line that took its place.
712
+
713
+ <details><summary>What was wrong</summary>
714
+
715
+ When the code a comment was about was changed rather than moved, there was nothing to move the
716
+ comment to, and it stayed on its old line — reading as a remark about code it was never about. Such
717
+ a thread is now left off the diff and kept in the review panel, which says it is not in the diff.
718
+
719
+ </details>
720
+
721
+ fix(diff): an answer with more than one line keeps its lines.
722
+
723
+ <details><summary>What was wrong</summary>
724
+
725
+ An agent's answer and a reviewer's reply were flattened to a single paragraph, so a bulleted answer
726
+ read as one run-on sentence. The reviewer's own comment kept its breaks, so the two sides of a
727
+ thread were drawn by different rules.
728
+
729
+ </details>
730
+
731
+ ## 0.1.0-alpha.141
732
+
733
+ ### Patch Changes
734
+
735
+ - fix(CLI): `comment take --wait` refuses a number of seconds it cannot honour instead of answering as though nothing arrived.
736
+
737
+ <details><summary>What was wrong</summary>
738
+
739
+ `--wait` was read with nothing checking it. A value that was not a positive whole number of seconds
740
+ — a word, an empty value, a zero — fell through to a single poll and answered
741
+ `{"ok":true,"comments":[]}` at once. That is byte for byte what an expired wait answers, so an agent
742
+ that asked to listen for an hour was told "nothing arrived" and reported itself armed while it was
743
+ not listening at all.
744
+
745
+ `--wait` now takes a whole number of seconds from 1 to 86400 and refuses anything else on stderr
746
+ with exit 2, naming the most it takes. `--help` and `adiff describe` say the bound. An empty answer
747
+ now only ever means the inbox was empty.
748
+
749
+ </details>
750
+
751
+ ## 0.1.0-alpha.140
752
+
753
+ ### Patch Changes
754
+
755
+ - feat(comment delivery): with `hold` on, a comment waits with the others until `C` sends them to the agent as one review.
756
+
757
+ 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.
758
+
759
+ ## 0.1.0-alpha.139
760
+
761
+ ### Patch Changes
762
+
763
+ - feat(preferences): `,` opens a screen listing what adiff does, and turns any of it on or off.
764
+
765
+ ## 0.1.0-alpha.138
766
+
767
+ ### Patch Changes
768
+
769
+ - fix(review panel): the cursor keeps its place when you settle a thread, so the next one comes to it.
770
+
771
+ <details><summary>What was wrong</summary>
772
+
773
+ Settling followed the thread into the Settled section at the bottom of the panel, so closing a
774
+ column of threads meant walking back up to the top after every one.
775
+
776
+ </details>
777
+
778
+ fix(keys): tab moves to the next pane on the screen instead of bringing the file list back.
779
+
780
+ <details><summary>What was wrong</summary>
781
+
782
+ Hiding the file list with `t` and then pressing tab reopened it, so there was no way to move
783
+ between the diff and the review panel with the room the file list had been taking.
784
+
785
+ </details>
786
+
787
+ ## 0.1.0-alpha.137
788
+
789
+ ### Patch Changes
790
+
791
+ - fix(diff): a layer's prose carries a rule down its margin, so it cannot be read as the file.
792
+
793
+ <details><summary>What was wrong</summary>
794
+
795
+ 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.
796
+
797
+ </details>
798
+
799
+ perf(diff): turning to the next file takes about 15ms, down from about 77ms.
800
+
801
+ <details><summary>What was wrong</summary>
802
+
803
+ 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.
804
+
805
+ </details>
806
+
807
+ - feat(keys): `t` shows or hides the file list on its own, leaving the review panel where it is.
808
+
809
+ <details><summary>What was wrong</summary>
810
+
811
+ `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.
812
+
813
+ </details>
814
+
815
+ fix(footer): a stale reading order says which key asks for a new one.
816
+
817
+ <details><summary>What was wrong</summary>
818
+
819
+ 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.
820
+
821
+ </details>
822
+
823
+ ## 0.1.0-alpha.136
824
+
825
+ ### Patch Changes
826
+
827
+ - fix(layers rail): the wheel keeps working after a flick, and moves one file per notch.
828
+
829
+ <details><summary>What was wrong</summary>
830
+
831
+ 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.
832
+
833
+ 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.
834
+
835
+ </details>
836
+
837
+ perf(diff): the diff is not handed to the highlighter again when only the pane width changed.
838
+
839
+ <details><summary>What was wrong</summary>
840
+
841
+ 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.
842
+
843
+ </details>
844
+
845
+ - fix(key sheet): `?` fills the screen and lays the keys out in two columns under their section headings.
846
+
847
+ <details><summary>What was wrong</summary>
848
+
849
+ 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.
850
+
851
+ </details>
852
+
853
+ - fix(review panel): opening the panel puts the keys on it, and closing gives them back to the pane you came from.
854
+
855
+ <details><summary>What was wrong</summary>
856
+
857
+ `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.
858
+
859
+ </details>
860
+
861
+ ## 0.1.0-alpha.135
862
+
863
+ ### Patch Changes
864
+
865
+ - feat(changelog): a release note groups what changed under Breaking, Added, Fixed and Performance, and names the part of adiff each entry is about.
866
+
867
+ <details><summary>What it looked like before</summary>
868
+
869
+ 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.
870
+
871
+ </details>
872
+
873
+ - fix(review panel): a thread says whether the agent has actually picked your comment up.
874
+
875
+ <details><summary>What was wrong</summary>
876
+
877
+ 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.
878
+
879
+ </details>
880
+
881
+ fix(diff): a thread head says how long ago the comment was picked up.
882
+
883
+ <details><summary>What was wrong</summary>
884
+
885
+ 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.
886
+
887
+ </details>
888
+
889
+ ## 0.1.0-alpha.134
890
+
891
+ ### Patch Changes
892
+
893
+ - 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.
894
+
895
+ 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.
896
+
897
+ ## 0.1.0-alpha.133
898
+
899
+ ### Patch Changes
900
+
901
+ - 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.
902
+
903
+ ## 0.1.0-alpha.132
904
+
905
+ ### Patch Changes
906
+
907
+ - Five things the layers rail got wrong about where you are.
908
+
909
+ 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.
910
+
911
+ 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.
912
+
913
+ 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.
914
+
915
+ 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.
916
+
917
+ 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.
918
+
919
+ ## 0.1.0-alpha.131
920
+
921
+ ### Patch Changes
922
+
923
+ - 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.
924
+
925
+ 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.
926
+
927
+ ## 0.1.0-alpha.130
928
+
929
+ ### Patch Changes
930
+
931
+ - 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.
932
+
933
+ ## 0.1.0-alpha.129
934
+
935
+ ### Patch Changes
936
+
937
+ - 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.
938
+
939
+ 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.
940
+
941
+ ## 0.1.0-alpha.128
942
+
943
+ ### Patch Changes
944
+
945
+ - 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.
946
+
947
+ 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.
948
+
949
+ ## 0.1.0-alpha.127
950
+
951
+ ### Patch Changes
952
+
953
+ - 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.
954
+
955
+ ## 0.1.0-alpha.126
956
+
957
+ ### Patch Changes
958
+
959
+ - 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.
960
+
961
+ ## 0.1.0-alpha.125
962
+
963
+ ### Patch Changes
964
+
965
+ - 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.
966
+
967
+ `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.
968
+
969
+ 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.
970
+
971
+ `→ N columns cut off` counted three columns that were not cut, and did not name the key that pans.
972
+
973
+ ## 0.1.0-alpha.124
974
+
975
+ ### Patch Changes
976
+
977
+ - `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.
978
+
979
+ 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.
980
+
981
+ ## 0.1.0-alpha.123
982
+
983
+ ### Patch Changes
984
+
985
+ - 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.
986
+
987
+ ## 0.1.0-alpha.122
988
+
989
+ ### Patch Changes
990
+
991
+ - 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.
992
+
993
+ 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.
994
+
995
+ ## 0.1.0-alpha.121
996
+
997
+ ### Patch Changes
998
+
999
+ - 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.
1000
+
1001
+ ## 0.1.0-alpha.120
1002
+
1003
+ ### Patch Changes
1004
+
1005
+ - 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.
1006
+
1007
+ 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.
1008
+
1009
+ ## 0.1.0-alpha.119
1010
+
1011
+ ### Patch Changes
1012
+
1013
+ - 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`.
1014
+
1015
+ ## 0.1.0-alpha.118
1016
+
1017
+ ### Patch Changes
1018
+
1019
+ - 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.
1020
+
1021
+ `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.
1022
+
1023
+ ## 0.1.0-alpha.117
1024
+
1025
+ ### Patch Changes
1026
+
1027
+ - 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.
1028
+
1029
+ ## 0.1.0-alpha.116
1030
+
1031
+ ### Patch Changes
1032
+
1033
+ - `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.
1034
+
1035
+ 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.
1036
+
1037
+ 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.
1038
+
1039
+ ## 0.1.0-alpha.115
1040
+
1041
+ ### Patch Changes
1042
+
1043
+ - 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.
1044
+
1045
+ 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.
1046
+
1047
+ 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.
1048
+
1049
+ ## 0.1.0-alpha.114
1050
+
1051
+ ### Patch Changes
1052
+
1053
+ - 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.
1054
+
1055
+ ## 0.1.0-alpha.113
1056
+
1057
+ ### Patch Changes
1058
+
1059
+ - 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.
1060
+
1061
+ 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.
1062
+
1063
+ ## 0.1.0-alpha.112
1064
+
1065
+ ### Patch Changes
1066
+
1067
+ - 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.
1068
+
1069
+ 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.
1070
+
1071
+ `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.
1072
+
1073
+ ## 0.1.0-alpha.111
1074
+
1075
+ ### Patch Changes
1076
+
1077
+ - Removes code nothing called any more, and gives each duplicated constant one home. Nothing about what adiff does changes.
1078
+
1079
+ ## 0.1.0-alpha.110
1080
+
1081
+ ### Patch Changes
1082
+
1083
+ - 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.
1084
+
1085
+ 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.
1086
+
1087
+ `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.
1088
+
1089
+ 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.
1090
+
1091
+ ## 0.1.0-alpha.109
1092
+
1093
+ ### Patch Changes
1094
+
1095
+ - 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.
1096
+
1097
+ - 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`.
1098
+
1099
+ - 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`.
1100
+
1101
+ 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.
1102
+
1103
+ - Four things a bug bash of the review terminal turned up.
1104
+
1105
+ 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.
1106
+
1107
+ 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.
1108
+
1109
+ 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.
1110
+
1111
+ - 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.
1112
+
1113
+ ## 0.1.0-alpha.108
1114
+
1115
+ ### Patch Changes
1116
+
1117
+ - `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.
1118
+
1119
+ - 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.
1120
+
1121
+ ## 0.1.0-alpha.107
1122
+
1123
+ ### Patch Changes
1124
+
1125
+ - 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.
1126
+
1127
+ ## 0.1.0-alpha.106
1128
+
1129
+ ### Minor Changes
1130
+
1131
+ - 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.
1132
+
1133
+ ### Patch Changes
1134
+
1135
+ - 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.
1136
+
1137
+ - 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.
1138
+
1139
+ - `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.
1140
+
1141
+ - 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.
1142
+
1143
+ ## 0.1.0-alpha.105
1144
+
1145
+ ### Patch Changes
1146
+
1147
+ - Looking for something no longer re-reads the whole branch on every search, and finds a name however it was capitalised.
1148
+
1149
+ ## 0.1.0-alpha.104
1150
+
1151
+ ### Patch Changes
1152
+
1153
+ - 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.
1154
+
1155
+ ## 0.1.0-alpha.103
1156
+
1157
+ ### Minor Changes
1158
+
1159
+ - 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.
1160
+
1161
+ ## 0.1.0-alpha.102
1162
+
1163
+ ### Patch Changes
1164
+
1165
+ - `?` opens the key sheet again, along with every other binding that is a shifted character: `{`, `}`, `<`, `>`, `+` and `_`.
1166
+
1167
+ ## 0.1.0-alpha.101
1168
+
1169
+ ### Patch Changes
1170
+
1171
+ - 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.
1172
+
1173
+ ## 0.1.0-alpha.100
1174
+
1175
+ ### Patch Changes
1176
+
1177
+ - 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.
1178
+
1179
+ ## 0.1.0-alpha.99
1180
+
1181
+ ### Patch Changes
1182
+
1183
+ - 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.
1184
+
1185
+ ## 0.1.0-alpha.98
1186
+
1187
+ ### Patch Changes
1188
+
1189
+ - Finding the selection elsewhere looks for the words the reviewer picked, rather than the longest name on the line they were picked from.
1190
+
1191
+ - 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.
1192
+
1193
+ ## 0.1.0-alpha.97
1194
+
1195
+ ### Patch Changes
1196
+
1197
+ - Every release writes its changes into CHANGELOG.md and says them on the release page, rather than only in an install line.
1198
+
1199
+ - 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.
1200
+
1201
+ - Settling or removing a thread from the review panel leaves the cursor where it was, rather than sending it back to the first thread.
1202
+
1203
+ ## 0.1.0-alpha.96
1204
+
1205
+ ### Patch Changes
1206
+
1207
+ - 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.
1208
+
1209
+ ## 0.1.0-alpha.95
1210
+
1211
+ ### Minor Changes
1212
+
1213
+ - 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.
1214
+
1215
+ ## 0.1.0-alpha.94
1216
+
1217
+ ### Patch Changes
1218
+
1219
+ - The worktrees are read together rather than one after another, taking about 290ms off opening a review on a machine holding thirteen of them.
1220
+
1221
+ ## 0.1.0-alpha.93
1222
+
1223
+ ### Patch Changes
1224
+
1225
+ - 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.
1226
+
1227
+ ## 0.1.0-alpha.92
1228
+
1229
+ ### Patch Changes
1230
+
1231
+ - Opening the hidden lines in a diff reads that one file at whole-file context rather than every file on the branch.
1232
+
1233
+ ## 0.1.0-alpha.91
1234
+
1235
+ ### Patch Changes
1236
+
1237
+ - Prose a layer writes about deleted code is shown beside that code, rather than dropped because the file has no new side.
1238
+
1239
+ ## 0.1.0-alpha.90
1240
+
1241
+ ### Patch Changes
1242
+
1243
+ - The summary an agent writes with `layers set` is shown above the layers in the review, rather than only in JSON.
1244
+
1245
+ ## 0.1.0-alpha.89
1246
+
1247
+ ### Patch Changes
1248
+
1249
+ - 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.
1250
+
1251
+ ## 0.1.0-alpha.88
1252
+
1253
+ ### Patch Changes
1254
+
1255
+ - 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.
1256
+
1257
+ ## 0.1.0-alpha.87
1258
+
1259
+ ### Patch Changes
1260
+
1261
+ - 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.
1262
+
1263
+ ## 0.1.0-alpha.86
1264
+
1265
+ ### Patch Changes
1266
+
1267
+ - Turning past the last file says "last file" instead of doing nothing, and the same at the first file going back.
1268
+
1269
+ ## 0.1.0-alpha.85
1270
+
1271
+ ### Patch Changes
1272
+
1273
+ - Page Up, Page Down, Home and End now move through a diff, doing what ctrl+u, ctrl+d, g and G already did.
1274
+
1275
+ ## 0.1.0-alpha.84
1276
+
1277
+ ### Patch Changes
1278
+
1279
+ - 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.
1280
+
1281
+ ## 0.1.0-alpha.83
1282
+
1283
+ ### Patch Changes
1284
+
1285
+ - 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.
1286
+
1287
+ ## 0.1.0-alpha.82
1288
+
1289
+ ### Minor Changes
1290
+
1291
+ - 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.
1292
+
1293
+ ## 0.1.0-alpha.81
1294
+
1295
+ ### Patch Changes
1296
+
1297
+ - 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.
1298
+
1299
+ ## 0.1.0-alpha.80
1300
+
1301
+ ### Patch Changes
1302
+
1303
+ - 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.
1304
+
1305
+ ## 0.1.0-alpha.79
1306
+
1307
+ ### Patch Changes
1308
+
1309
+ - 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.
1310
+
1311
+ ## 0.1.0-alpha.78
1312
+
1313
+ ### Patch Changes
1314
+
1315
+ - Naming a branch no worktree here is on says so, rather than landing on the worktree list with no word about it.
1316
+
1317
+ - 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.
1318
+
1319
+ - 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.
1320
+
1321
+ ## 0.1.0-alpha.77
1322
+
1323
+ ### Patch Changes
1324
+
1325
+ - 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.
1326
+
1327
+ ## 0.1.0-alpha.76
1328
+
1329
+ ### Patch Changes
1330
+
1331
+ - 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.
1332
+
1333
+ ## 0.1.0-alpha.75
1334
+
1335
+ ### Patch Changes
1336
+
1337
+ - The suite runs in three parts at once, so a change reaches a release in about half the time it took.
1338
+
1339
+ - 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.
1340
+
1341
+ - 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.
1342
+
1343
+ ## 0.1.0-alpha.74
1344
+
1345
+ ### Patch Changes
1346
+
1347
+ - 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.
1348
+
1349
+ ## 0.1.0-alpha.73
1350
+
1351
+ ### Patch Changes
1352
+
1353
+ - 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.
1354
+
1355
+ - 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.
1356
+
1357
+ ## 0.1.0-alpha.72
1358
+
1359
+ ### Patch Changes
1360
+
1361
+ - 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.
1362
+
1363
+ ## 0.1.0-alpha.71
1364
+
1365
+ ### Patch Changes
1366
+
1367
+ - `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.
1368
+
1369
+ ## 0.1.0-alpha.70
1370
+
1371
+ ### Patch Changes
1372
+
1373
+ - 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.
1374
+
1375
+ - 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.
1376
+
1377
+ ## 0.1.0-alpha.69
1378
+
1379
+ ### Patch Changes
1380
+
1381
+ - 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.
1382
+
1383
+ - 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.
1384
+
1385
+ ## 0.1.0-alpha.68
1386
+
1387
+ ### Minor Changes
1388
+
1389
+ - 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.
1390
+
1391
+ ### Patch Changes
1392
+
1393
+ - 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.
1394
+
1395
+ - 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.
1396
+
1397
+ - 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.
1398
+
1399
+ ## 0.1.0-alpha.67
1400
+
1401
+ ### Patch Changes
1402
+
1403
+ - `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.
1404
+
1405
+ - `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.
1406
+
1407
+ ## 0.1.0-alpha.66
1408
+
1409
+ ### Patch Changes
1410
+
1411
+ - 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.
1412
+
1413
+ ## 0.1.0-alpha.65
1414
+
1415
+ ### Patch Changes
1416
+
1417
+ - 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.
1418
+
1419
+ ## 0.1.0-alpha.64
1420
+
1421
+ ### Patch Changes
1422
+
1423
+ - 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.
1424
+
1425
+ ## 0.1.0-alpha.63
1426
+
1427
+ ### Patch Changes
1428
+
1429
+ - 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.
1430
+
1431
+ ## 0.1.0-alpha.62
1432
+
1433
+ ### Patch Changes
1434
+
1435
+ - 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.
1436
+
1437
+ ## 0.1.0-alpha.61
1438
+
1439
+ ### Patch Changes
1440
+
1441
+ - 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.
1442
+
1443
+ ## 0.1.0-alpha.60
1444
+
1445
+ ### Patch Changes
1446
+
1447
+ - 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.
1448
+
1449
+ ## 0.1.0-alpha.59
1450
+
1451
+ ### Patch Changes
1452
+
1453
+ - 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.
1454
+
1455
+ ## 0.1.0-alpha.58
1456
+
1457
+ ### Patch Changes
1458
+
1459
+ - 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.
1460
+
1461
+ 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.
1462
+
1463
+ `}` 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.
1464
+
1465
+ 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.
1466
+
1467
+ The review screen also uses the two rows it was leaving empty above and below itself.
1468
+
1469
+ ## 0.1.0-alpha.57
1470
+
1471
+ ### Patch Changes
1472
+
1473
+ - 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.
1474
+
1475
+ ## 0.1.0-alpha.56
1476
+
1477
+ ### Patch Changes
1478
+
1479
+ - 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.
1480
+
1481
+ ## 0.1.0-alpha.55
1482
+
1483
+ ### Patch Changes
1484
+
1485
+ - 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.
1486
+
1487
+ ## 0.1.0-alpha.54
1488
+
1489
+ ### Patch Changes
1490
+
1491
+ - 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.
1492
+
1493
+ - 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.
1494
+
1495
+ ## 0.1.0-alpha.53
1496
+
1497
+ ### Patch Changes
1498
+
1499
+ - 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.
1500
+
1501
+ ## 0.1.0-alpha.52
1502
+
1503
+ ### Patch Changes
1504
+
1505
+ - 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.
1506
+
1507
+ ## 0.1.0-alpha.51
1508
+
1509
+ ### Patch Changes
1510
+
1511
+ - 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.
1512
+
1513
+ ## 0.1.0-alpha.50
1514
+
1515
+ ### Patch Changes
1516
+
1517
+ - `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.
1518
+
1519
+ ## 0.1.0-alpha.49
1520
+
1521
+ ### Patch Changes
1522
+
1523
+ - `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.
1524
+
1525
+ ## 0.1.0-alpha.48
1526
+
1527
+ ### Patch Changes
1528
+
1529
+ - `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.
1530
+
1531
+ - 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`.
1532
+
1533
+ - 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.
1534
+
1535
+ - 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.
1536
+
1537
+ ## 0.1.0-alpha.47
1538
+
1539
+ ### Minor Changes
1540
+
1541
+ - `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.
1542
+
1543
+ ## 0.1.0-alpha.46
1544
+
1545
+ ### Patch Changes
1546
+
1547
+ - 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.
1548
+
1549
+ ## 0.1.0-alpha.45
1550
+
1551
+ ### Patch Changes
1552
+
1553
+ - 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.
1554
+
1555
+ ## 0.1.0-alpha.44
1556
+
1557
+ ### Patch Changes
1558
+
1559
+ - 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.
1560
+
1561
+ ## 0.1.0-alpha.43
1562
+
1563
+ ### Patch Changes
1564
+
1565
+ - 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.
1566
+
1567
+ ## 0.1.0-alpha.42
1568
+
1569
+ ### Minor Changes
1570
+
1571
+ - 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`.
1572
+
1573
+ ### Patch Changes
1574
+
1575
+ - `--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.
1576
+
1577
+ ## 0.1.0-alpha.41
1578
+
1579
+ ### Patch Changes
1580
+
1581
+ - 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.
1582
+
1583
+ ## 0.1.0-alpha.40
1584
+
1585
+ ### Patch Changes
1586
+
1587
+ - `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.
1588
+
1589
+ ## 0.1.0-alpha.39
1590
+
1591
+ ### Patch Changes
1592
+
1593
+ - `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.
1594
+
1595
+ ## 0.1.0-alpha.38
1596
+
1597
+ ### Patch Changes
1598
+
1599
+ - 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.
1600
+
1601
+ ## 0.1.0-alpha.37
1602
+
1603
+ ### Patch Changes
1604
+
1605
+ - The footer carries the keys a review is made of, and ? lists every key the screen answers to.
1606
+
1607
+ ## 0.1.0-alpha.36
1608
+
1609
+ ### Patch Changes
1610
+
1611
+ - 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.
1612
+
1613
+ ## 0.1.0-alpha.35
1614
+
1615
+ ### Patch Changes
1616
+
1617
+ - A comment can be removed from the review and restored, and the record keeps it either way.
1618
+
1619
+ ## 0.1.0-alpha.34
1620
+
1621
+ ### Patch Changes
1622
+
1623
+ - A file name too long for the tree keeps its end, where the extension and the distinguishing word live.
1624
+
1625
+ ## 0.1.0-alpha.33
1626
+
1627
+ ### Patch Changes
1628
+
1629
+ - The store reports a damaged file instead of failing unexpectedly.
1630
+
1631
+ ## 0.1.0-alpha.32
1632
+
1633
+ ### Patch Changes
1634
+
1635
+ - The skill publishes a reading order on request, and tells the reviewer how to open the review.
1636
+
1637
+ ## 0.1.0-alpha.31
1638
+
1639
+ ### Patch Changes
1640
+
1641
+ - Coverage counts the changed lines a layer claims, not the hunks a span touches.
1642
+
1643
+ ## 0.1.0-alpha.30
1644
+
1645
+ ### Patch Changes
1646
+
1647
+ - The palette keeps a command's name clear of its category.
1648
+
1649
+ ## 0.1.0-alpha.29
1650
+
1651
+ ### Patch Changes
1652
+
1653
+ - First contact teaches the loop, an empty collection says what to do next, and a worktree error explains the path.
1654
+
1655
+ ## 0.1.0-alpha.28
1656
+
1657
+ ### Patch Changes
1658
+
1659
+ - An agent can open the review in a split pane beside the conversation.
1660
+
1661
+ ## 0.1.0-alpha.27
1662
+
1663
+ ### Minor Changes
1664
+
1665
+ - adiff init writes the review loop into a repository's agent instructions.
1666
+
1667
+ ## 0.1.0-alpha.26
1668
+
1669
+ ### Patch Changes
1670
+
1671
+ - A branch with no files left to read says so.
1672
+
1673
+ ## 0.1.0-alpha.25
1674
+
1675
+ ### Patch Changes
1676
+
1677
+ - The terminal names the key that sends a review, and counts what is waiting.
1678
+
1679
+ - The repository's own working tree is reviewable and marked here.
1680
+
1681
+ ## 0.1.0-alpha.24
1682
+
1683
+ ### Patch Changes
1684
+
1685
+ - A selection can be copied, or searched for across the branch's worktree with the matches listed and peeked at.
1686
+
1687
+ ## 0.1.0-alpha.23
1688
+
1689
+ ### Patch Changes
1690
+
1691
+ - A pinned scope wider than the pane can be panned into view, and the command palette opens over the review list.
1692
+
1693
+ ## 0.1.0-alpha.22
1694
+
1695
+ ### Patch Changes
1696
+
1697
+ - A selection reaching over hidden lines reports the range it will actually comment on.
1698
+
1699
+ - Composing on a row that carries no line says so instead of opening a panel that cannot send.
1700
+
1701
+ - The stale mark on the layer rail reads in full at any width.
1702
+
1703
+ ## 0.1.0-alpha.21
1704
+
1705
+ ### Patch Changes
1706
+
1707
+ - The store answers with the settings effect directly.
1708
+
1709
+ ## 0.1.0-alpha.20
1710
+
1711
+ ### Patch Changes
1712
+
1713
+ - Homebrew tracks each release.
1714
+
1715
+ ## 0.1.0-alpha.19
1716
+
1717
+ ### Patch Changes
1718
+
1719
+ - The house style lives in the linter, and a thread can be settled and folded from the terminal.
1720
+
3
1721
  ## 0.1.0-alpha.18
4
1722
 
5
1723
  ### Patch Changes