prreviewbuddy 0.57.0 → 0.59.50

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.
Files changed (109) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/dist/{delete_review-B3VPeozh.js → delete_review-TsYWWNVr.js} +1997 -223
  3. package/dist/main.js +1 -1
  4. package/dist/server.js +1257 -216
  5. package/package.json +1 -1
  6. package/static/chunk-4nFoFuBF.js +1 -0
  7. package/static/{chunk-BFC1myXj.js → chunk-6Hm8gwfc.js} +1 -1
  8. package/static/chunk-6olMbSDC.js +1 -0
  9. package/static/chunk-7g6hehZR.js +1 -0
  10. package/static/{chunk-DwZ_OKDV.js → chunk-9OYdRhXM.js} +1 -1
  11. package/static/{chunk-BOGxj-MG.js → chunk-9QJSvyT-.js} +1 -1
  12. package/static/{chunk-I02WWcy5.js → chunk-A2MXL8RD.js} +1 -1
  13. package/static/{chunk-CUxm3YXF.js → chunk-B-Up-Dum.js} +1 -1
  14. package/static/{chunk-Dlx_va8c.js → chunk-B1WAu5pS.js} +1 -1
  15. package/static/{chunk-BLYKMRgX.js → chunk-B3KwWIxA.js} +1 -1
  16. package/static/{chunk-CVKo9lqM.js → chunk-BH2wqCle.js} +1 -1
  17. package/static/chunk-BIhcpq89.js +1 -0
  18. package/static/chunk-BJt-3Igo.js +1 -0
  19. package/static/{chunk-Cuz7gAE5.js → chunk-BQ5h3ZKa.js} +1 -1
  20. package/static/chunk-BV3co1iE.js +1 -0
  21. package/static/{chunk-CNECTSY3.js → chunk-BW1ANL1o.js} +1 -1
  22. package/static/{chunk-DN473Oml.js → chunk-BXful7fw.js} +1 -1
  23. package/static/{chunk-nU5620mN.js → chunk-Baon_ihZ.js} +1 -1
  24. package/static/chunk-BcyJP52O.js +1 -0
  25. package/static/{chunk-DdkvfxwB.js → chunk-BfJ5btxI.js} +1 -1
  26. package/static/{chunk-DOebnhRz.js → chunk-BoKYaT6d.js} +1 -1
  27. package/static/chunk-Bqz19UgW.js +1 -0
  28. package/static/chunk-BvKoviOH.js +8 -0
  29. package/static/{chunk-DFxPlKZ4.js → chunk-C6TLHpBY.js} +1 -1
  30. package/static/chunk-C8f8HA4G.js +1 -0
  31. package/static/{chunk-tz4nb_gp.js → chunk-CCkeMk9N.js} +1 -1
  32. package/static/{chunk-DmCmlw77.js → chunk-CIfNEzlc.js} +1 -1
  33. package/static/chunk-CMZKCXl2.js +1 -0
  34. package/static/{chunk-gyMXflOg.js → chunk-CPbLHMZi.js} +1 -1
  35. package/static/{chunk-C3zyi6X6.js → chunk-CUEta9tE.js} +1 -1
  36. package/static/chunk-CU_pLmXg.js +1 -0
  37. package/static/{chunk-BveIbUwm.js → chunk-CV0YoHS0.js} +1 -1
  38. package/static/{chunk-Dx2-dNbd.js → chunk-CYEqf7aI.js} +1 -1
  39. package/static/{chunk-IT8Wx1rP.js → chunk-C_6e3UXl.js} +1 -1
  40. package/static/chunk-Caya2m0E.js +1 -0
  41. package/static/{chunk-2cPIwDyu.js → chunk-CkFz1wgR.js} +1 -1
  42. package/static/chunk-Co7Cgu9F.js +1 -0
  43. package/static/{chunk-CNG5uajc.js → chunk-CqXFWjSQ.js} +1 -1
  44. package/static/chunk-CvSN2dS5.js +1 -0
  45. package/static/{chunk-COmCkMOw.js → chunk-CwCL5WnJ.js} +1 -1
  46. package/static/chunk-CyYZeRiG.js +1 -0
  47. package/static/chunk-D5bmztPJ.js +1 -0
  48. package/static/chunk-D6EJPfS7.js +1 -0
  49. package/static/{chunk-BeqgAIrQ.js → chunk-D6oLtkSC.js} +4 -4
  50. package/static/{chunk-Wc3Sd0cy.js → chunk-D71XVZIg.js} +1 -1
  51. package/static/{chunk-DJ4Pz6CG.js → chunk-D7hFEgee.js} +1 -1
  52. package/static/{chunk-BKQNYMf0.js → chunk-D9Rf_Mu5.js} +1 -1
  53. package/static/{chunk-CWJTY3LS.js → chunk-DF3g9oko.js} +1 -1
  54. package/static/{chunk-CN9Gw02i.js → chunk-DIEkEPeW.js} +1 -1
  55. package/static/{chunk-BhOdd-9U.js → chunk-DInBXUWf.js} +1 -1
  56. package/static/chunk-DJqLf38C.js +1 -0
  57. package/static/chunk-D_CdBIAq.js +1 -0
  58. package/static/{chunk-i2ycf8WY.js → chunk-Dbx-B0iA.js} +1 -1
  59. package/static/{chunk-B6QMLbPb.js → chunk-DcXKkJre.js} +1 -1
  60. package/static/{chunk-BwpXVz85.js → chunk-DgcdmK42.js} +1 -1
  61. package/static/chunk-DmTwixkl.js +1 -0
  62. package/static/chunk-DmZq9LP2.js +1 -0
  63. package/static/{chunk-CU_yc7c0.js → chunk-DqxlbQOu.js} +3 -3
  64. package/static/{chunk-CVHEykQZ.js → chunk-DrNGVTkX.js} +1 -1
  65. package/static/chunk-Ds3YROGC.js +1 -0
  66. package/static/{chunk-DecH1K7C.js → chunk-DuX-olw5.js} +1 -1
  67. package/static/{chunk-BsaS8BTP.js → chunk-DwHSAwhM.js} +1 -1
  68. package/static/{chunk-CFLfawWY.js → chunk-DyBGMc4d.js} +1 -1
  69. package/static/{chunk-B-z83rju.js → chunk-G3ZceoN1.js} +1 -1
  70. package/static/{chunk-Bh1X0--a.js → chunk-Gu4zXr01.js} +1 -1
  71. package/static/{chunk-Dgyv2z85.js → chunk-J8FddCDs.js} +1 -1
  72. package/static/{chunk-DYi0PdOM.js → chunk-M1_E44jC.js} +1 -1
  73. package/static/{chunk-B0sWk9pb.js → chunk-Mg4TtgDp.js} +1 -1
  74. package/static/chunk-cyhKpRPg.js +1 -0
  75. package/static/{chunk-xyBkudn9.js → chunk-fE1xdnsY.js} +1 -1
  76. package/static/{chunk-BgAz67x8.js → chunk-lIN4-wAm.js} +1 -1
  77. package/static/{chunk-PhC9V0kv.js → chunk-msOfdoxN.js} +1 -1
  78. package/static/{chunk-Tk2BGjOK.js → chunk-n2czfdCl.js} +1 -1
  79. package/static/{chunk-CqXMuRFL.js → chunk-rzRU0blB.js} +1 -1
  80. package/static/{chunk-745C7DWL.js → chunk-zZBc5XuD.js} +1 -1
  81. package/static/help.js +1 -1
  82. package/static/notifications.js +1 -1
  83. package/static/reviews.js +1 -1
  84. package/static/settings.js +1 -1
  85. package/static/shell.css +234 -14
  86. package/static/sidebar.css +2 -7
  87. package/static/workspace.js +74 -66
  88. package/static/chunk-5rwdhcVY.js +0 -1
  89. package/static/chunk-BFRx3GcN.js +0 -1
  90. package/static/chunk-BNE4vRAl.js +0 -1
  91. package/static/chunk-BVqE4wlY.js +0 -1
  92. package/static/chunk-BYPUwVJd.js +0 -8
  93. package/static/chunk-BZFc_oT5.js +0 -1
  94. package/static/chunk-BfpeM2_Y.js +0 -1
  95. package/static/chunk-Bz6J7zHc.js +0 -1
  96. package/static/chunk-CyJ4bWgC.js +0 -1
  97. package/static/chunk-D7FarRGf.js +0 -1
  98. package/static/chunk-DDhk861e.js +0 -1
  99. package/static/chunk-DTTB1Rjf.js +0 -1
  100. package/static/chunk-DVXDUcQZ.js +0 -1
  101. package/static/chunk-DYSi9-67.js +0 -1
  102. package/static/chunk-DdmKGZXf.js +0 -1
  103. package/static/chunk-DpHRgEqx.js +0 -1
  104. package/static/chunk-DufL1VKq.js +0 -1
  105. package/static/chunk-DxnpLefu.js +0 -1
  106. package/static/chunk-SWs44m7G.js +0 -1
  107. package/static/chunk-qMjAlJP9.js +0 -1
  108. package/static/chunk-qnagBFlM.js +0 -1
  109. package/static/chunk-yqeNYXbH.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,171 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.59.50
4
+
5
+ **A click on the Architecture background clears the selection.** Clicking empty space in the
6
+ drawing was meant to deselect the part or arrow you had chosen, and never did; it now does, and the
7
+ panel beside the drawing goes back to its prompt. Dragging the background to pan still leaves your
8
+ selection as it was.
9
+
10
+ ## 0.59.49
11
+
12
+ **A new Architecture map opens in the middle of its frame.** A picture smaller than the frame sat
13
+ in the top-left corner; it is now centred. Zoomed in past the frame, it scrolls and drags as before.
14
+
15
+ **Buddy AI's tab no longer covers the expand button.** With a section expanded, the **Buddy AI**
16
+ tab on the right edge sat on top of that section's collapse button. It now sits just below it.
17
+
18
+ ## 0.59.48
19
+
20
+ **An Architecture run keeps your layout.** With the diagrams expanded, starting a map, stopping one,
21
+ or one finishing reloaded the page back to the normal layout. It now comes back expanded, or with
22
+ Buddy AI expanded beside it, as you left it.
23
+
24
+ ## 0.59.47
25
+
26
+ **A retried review is timed from the retry.** "Last review in this repository took …" counted a
27
+ retry from when the review was first asked for, so a retry made later looked far slower than it
28
+ was. It now counts from when the retry started.
29
+
30
+ ## 0.59.46
31
+
32
+ **A resumed analysis no longer skews "Last analysis took".** An analysis picked up again after an
33
+ interruption recorded the whole time between the attempts as its duration. It now records no
34
+ duration, so the estimate comes only from runs timed from start to finish.
35
+
36
+ ## 0.59.45
37
+
38
+ **An updated review says when the update ran.** **How this review was made** named the new commit
39
+ after an update but kept the time of the first analysis, for example "3 days ago". It now gives the
40
+ time of the update. Reviews updated before this keep the old time until their next update or
41
+ reanalysis.
42
+
43
+ ## 0.59.44
44
+
45
+ **No visible change.** An update now records how long the update itself took, rather than the time
46
+ since the review was first analysed.
47
+
48
+ ## 0.59.43
49
+
50
+ **No visible change.** A test of the Architecture tab now waits for the map to be drawn, so a run
51
+ whose tests all passed can no longer exit as a failure.
52
+
53
+ ## 0.59.42
54
+
55
+ **Waiting says how long it took last time.** Once something has succeeded before, the page says how
56
+ long it took.
57
+
58
+ - **Architecture map:** beside **Remap repository**, and while a remap runs, for example "Last map
59
+ took 3m 12s".
60
+ - **Review in progress:** for example "Last review in this repository took 3m 10s".
61
+ - **Reanalysis:** for example "Last analysis of this review took 2m 05s".
62
+ - **Update or KISS run:** the same kind of line.
63
+
64
+ With one earlier run the page states it exactly. With several it summarises, for example "Usually
65
+ takes about 3 minutes" or "Recent maps took 3–4 minutes". Only runs that succeeded count, and KISS
66
+ and standard reviews are never compared with each other. Before anything has succeeded, the page
67
+ says what it said before. The history is kept on your machine in `~/.prreviewbuddy/runtimes.json`.
68
+
69
+ ## 0.59.41
70
+
71
+ **No visible change.** A review still records which version of your coding agent made it, asked
72
+ of the agent exactly as before. The tests now supply that version themselves instead of running
73
+ whichever agents happen to be installed, so their results no longer depend on the machine.
74
+
75
+ ## 0.59.40
76
+
77
+ **No visible change.** While the workspace is waiting to save your place in a page's history, it
78
+ now marks the page as saving, and clears the mark once it has. The browser tests wait on that mark
79
+ instead of sleeping past it, which takes them from about two minutes to about one.
80
+
81
+ ## 0.59.39
82
+
83
+ **Mapping says its stage on a line of its own.** While a part is being mapped in depth or the
84
+ repository is remapped, the notice above the map put its title and the current stage side by side,
85
+ which read as two headings. The stage now sits under the title, as it already did for a first map,
86
+ and the same goes for the line under **Remapping failed** and **Architecture may be out of date**.
87
+
88
+ **Long links in PR messages wrap.** A comment holding a long URL or hash with no spaces in it ran
89
+ out of its card on the PR messages tab. It now breaks onto the next line, and so does a long file
90
+ path above a thread. Code blocks still scroll sideways as before.
91
+
92
+ **A part's buttons on the Architecture tab get room.** Once a part was mapped in depth,
93
+ **Remap this part** sat flush against **Open … in depth** below it. The way in now comes first,
94
+ the remap button after it, and every button on the panel has its own line with space around it.
95
+
96
+ ## 0.59.38
97
+
98
+ **Map a repository from its Architecture tab.** A review whose repository has no map now offers
99
+ **Map this repository** on the Architecture tab. Your configured coding agent maps it in the
100
+ background, and you can keep reviewing meanwhile. The tab says what each stage is doing, **Stop**
101
+ ends a run you no longer want, and a notification says **Map ready** or **Mapping failed** when it
102
+ finishes. Every linked worktree of one repository shares the same map. **How this map was made**
103
+ says which agent made it, from which commit, and how many of the places it quotes can still be found.
104
+ When enough of them cannot, the tab says **Architecture may be out of date** and offers **Remap
105
+ repository**.
106
+
107
+ **Map one part in depth, and see what a change touches.** Selecting a part that owns files offers
108
+ **Map this part in depth**, which draws that part on its own with a trail back to the repository's
109
+ map. If a later remap moves files into or out of the part, its map in depth says so and offers
110
+ **Remap this part**. Above the drawing, **Affected by this change** names the parts the review's
111
+ files belong to, and counts the changed files no part owns. The drawing opens fitted to the frame,
112
+ and every part and arrow can be reached with Tab and selected with Enter or Space.
113
+
114
+ **Cancel a review or an update while it runs.** A review in progress now has **Cancel review**
115
+ beside its running time, whether it was started from the terminal or from the page. The agent is
116
+ stopped, and the review shows as stopped with **Carry on**, which picks up where it left off. An
117
+ update in progress has **Cancel update**: the agent is stopped and the review is left exactly as it
118
+ was before the update began, including the pull request conversation. A cancel that arrives once
119
+ the result is already being saved says it was too late, and the page then shows the finished
120
+ result.
121
+
122
+ **Opening a review marks its notifications read.** Any unread notification about a review is marked
123
+ read when you open that review, however you got there: from Notifications, the Reviews list, a
124
+ link or a reload. The notifications stay in the list; only the unread count changes. Opening one
125
+ review leaves the notifications about other reviews as they were.
126
+
127
+ **Restart is more careful.** A restart onto a new port, after changing it in Settings, keeps the old
128
+ server answering until the new one is up, and the page follows it there. If the new server never
129
+ starts, the old one carries on where it was. A restart now also waits for a KISS review started
130
+ from the browser, or for a Buddy AI answer or drawing, as well as for a review or a map.
131
+
132
+ **Fixes.**
133
+
134
+ - A pull request whose clone has a `main` with unpushed commits can be reviewed again. The default
135
+ base is checked only when the pull request names no base of its own.
136
+ - A KISS review started from the browser asks for the model the review was made with, when it uses
137
+ the review's agent.
138
+ - Updating a review clears a pull request description the author has since emptied, instead of
139
+ carrying the deleted words into the reassessment. When the description was edited, a motive the
140
+ review had quoted from it is checked again, and asked about if the quote has gone.
141
+ - A KISS answer that lost recommendations on the way reads as incomplete, not as proportionate.
142
+ - A JSON example in the prose before an agent's reply is no longer mistaken for the reply.
143
+ - Files, Architecture, Change map and Implementation take the same full width in focus mode.
144
+ - The line between open and resolved findings, and similar section lines on Files, KISS, Reviews and
145
+ Notifications, have gone; space separates them instead.
146
+ - The unused native desktop notification code has been removed, along with the
147
+ `PRB_DESKTOP_NOTIFICATIONS` setting that switched it on. Notifications in the workspace, and the
148
+ toasts that announce them, are unchanged.
149
+
150
+ ## 0.58.0
151
+
152
+ **Architecture: the important parts of a repository and how they relate.** A repository with an
153
+ architecture gets a third tab in Diagrams, before Change map and Implementation. It shows the
154
+ repository's main parts and the relationships between them, the same for every review of that
155
+ repository. A part that contains others opens to show them, with a trail back to where you started.
156
+ Selecting a part or an arrow shows what it is, the relationships it takes part in, and the code each
157
+ claim rests on, quoted, with a link that opens your editor at that code.
158
+
159
+ **The evidence follows the code.** Every claim cites a short quote from a file, not just a line
160
+ number. Each time the page loads, the quote is looked for again in the code as it is now, so a link
161
+ still lands on the right code after lines above it were added or removed. A claim whose code can no
162
+ longer be found keeps its quote and note but loses its link, and the tab says how many citations
163
+ still stand.
164
+
165
+ Nothing in the workspace makes an architecture yet. A repository without one shows no Architecture
166
+ tab, so for now nothing changes unless a model has been imported with the developer command
167
+ described in `docs/architecture/README.md`.
168
+
3
169
  ## 0.57.0
4
170
 
5
171
  **Reviews you marked reviewed now find out when their pull request merges.** Until now the