@deepseek-ai/dsh-experimental-client-ui-forge 0.2.2-rc.5 → 0.2.3-alpha.2

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 (334) hide show
  1. package/README.i18n.yaml +12 -12
  2. package/README.md +47 -30
  3. package/README.zh.md +47 -30
  4. package/lib/client.js +18 -8
  5. package/lib/client.js.map +1 -1
  6. package/lib/index.js +2444 -406
  7. package/lib/typert.host.js +3433 -950
  8. package/lib/typert.remote-client.d.ts +89 -14
  9. package/lib/typert.remote-client.d.ts.map +1 -1
  10. package/lib/typert.remote-client.js +3155 -978
  11. package/lib/types/branch-name.d.ts +30 -0
  12. package/lib/types/branch-name.d.ts.map +1 -0
  13. package/lib/types/branch-name.js.map +1 -0
  14. package/lib/types/client/AttentionIndicator.d.ts +22 -0
  15. package/lib/types/client/AttentionIndicator.d.ts.map +1 -0
  16. package/lib/types/client/AttentionIndicator.js.map +1 -0
  17. package/lib/types/client/BaseMenu.d.ts.map +1 -1
  18. package/lib/types/client/BaseMenu.js.map +1 -1
  19. package/lib/types/client/ChangeRequestCard.d.ts +87 -9
  20. package/lib/types/client/ChangeRequestCard.d.ts.map +1 -1
  21. package/lib/types/client/ChangeRequestCard.js.map +1 -1
  22. package/lib/types/client/ChangeRequestOverview.d.ts +126 -10
  23. package/lib/types/client/ChangeRequestOverview.d.ts.map +1 -1
  24. package/lib/types/client/ChangeRequestOverview.js.map +1 -1
  25. package/lib/types/client/ChangeRequestsSection.d.ts +76 -0
  26. package/lib/types/client/ChangeRequestsSection.d.ts.map +1 -0
  27. package/lib/types/client/ChangeRequestsSection.js.map +1 -0
  28. package/lib/types/client/ChangedFiles.d.ts +6 -2
  29. package/lib/types/client/ChangedFiles.d.ts.map +1 -1
  30. package/lib/types/client/ChangedFiles.js.map +1 -1
  31. package/lib/types/client/ChangesLoading.d.ts +14 -0
  32. package/lib/types/client/ChangesLoading.d.ts.map +1 -0
  33. package/lib/types/client/ChangesLoading.js.map +1 -0
  34. package/lib/types/client/ChangesTab.d.ts +62 -14
  35. package/lib/types/client/ChangesTab.d.ts.map +1 -1
  36. package/lib/types/client/ChangesTab.js.map +1 -1
  37. package/lib/types/client/ChangesTabTitle.js.map +1 -1
  38. package/lib/types/client/DiffFile.d.ts +23 -4
  39. package/lib/types/client/DiffFile.d.ts.map +1 -1
  40. package/lib/types/client/DiffFile.js.map +1 -1
  41. package/lib/types/client/EnvironmentRows.d.ts +79 -0
  42. package/lib/types/client/EnvironmentRows.d.ts.map +1 -0
  43. package/lib/types/client/EnvironmentRows.js.map +1 -0
  44. package/lib/types/client/FileTreePane.d.ts +5 -2
  45. package/lib/types/client/FileTreePane.d.ts.map +1 -1
  46. package/lib/types/client/FileTreePane.js.map +1 -1
  47. package/lib/types/client/LensFilter.d.ts +50 -0
  48. package/lib/types/client/LensFilter.d.ts.map +1 -0
  49. package/lib/types/client/LensFilter.js.map +1 -0
  50. package/lib/types/client/ReasonButton.d.ts +15 -0
  51. package/lib/types/client/ReasonButton.d.ts.map +1 -0
  52. package/lib/types/client/ReasonButton.js.map +1 -0
  53. package/lib/types/client/ReviewComposer.d.ts +11 -4
  54. package/lib/types/client/ReviewComposer.d.ts.map +1 -1
  55. package/lib/types/client/ReviewComposer.js.map +1 -1
  56. package/lib/types/client/ReviewControls.d.ts +18 -7
  57. package/lib/types/client/ReviewControls.d.ts.map +1 -1
  58. package/lib/types/client/ReviewControls.js.map +1 -1
  59. package/lib/types/client/ReviewThread.d.ts +3 -1
  60. package/lib/types/client/ReviewThread.d.ts.map +1 -1
  61. package/lib/types/client/ReviewThread.js.map +1 -1
  62. package/lib/types/client/ReviewThreads.d.ts +32 -2
  63. package/lib/types/client/ReviewThreads.d.ts.map +1 -1
  64. package/lib/types/client/ReviewThreads.js.map +1 -1
  65. package/lib/types/client/SessionHoverForge.d.ts.map +1 -1
  66. package/lib/types/client/SessionHoverForge.js.map +1 -1
  67. package/lib/types/client/SubmitReview.d.ts +4 -4
  68. package/lib/types/client/SubmitReview.d.ts.map +1 -1
  69. package/lib/types/client/SubmitReview.js.map +1 -1
  70. package/lib/types/client/ThreadList.js.map +1 -1
  71. package/lib/types/client/ViewOptionsMenu.d.ts +7 -1
  72. package/lib/types/client/ViewOptionsMenu.d.ts.map +1 -1
  73. package/lib/types/client/ViewOptionsMenu.js.map +1 -1
  74. package/lib/types/client/WorktreeNameDialog.d.ts +38 -0
  75. package/lib/types/client/WorktreeNameDialog.d.ts.map +1 -0
  76. package/lib/types/client/WorktreeNameDialog.js.map +1 -0
  77. package/lib/types/client/WorktreeProgress.d.ts +14 -3
  78. package/lib/types/client/WorktreeProgress.d.ts.map +1 -1
  79. package/lib/types/client/WorktreeProgress.js.map +1 -1
  80. package/lib/types/client/WorktreeToggle.d.ts +22 -15
  81. package/lib/types/client/WorktreeToggle.d.ts.map +1 -1
  82. package/lib/types/client/WorktreeToggle.js.map +1 -1
  83. package/lib/types/client/action-notices.d.ts +25 -0
  84. package/lib/types/client/action-notices.d.ts.map +1 -0
  85. package/lib/types/client/action-notices.js.map +1 -0
  86. package/lib/types/client/annotations.d.ts +41 -0
  87. package/lib/types/client/annotations.d.ts.map +1 -0
  88. package/lib/types/client/annotations.js.map +1 -0
  89. package/lib/types/client/branch-search.d.ts +38 -0
  90. package/lib/types/client/branch-search.d.ts.map +1 -0
  91. package/lib/types/client/branch-search.js.map +1 -0
  92. package/lib/types/client/change-requests-store.d.ts +25 -0
  93. package/lib/types/client/change-requests-store.d.ts.map +1 -0
  94. package/lib/types/client/change-requests-store.js.map +1 -0
  95. package/lib/types/client/changes-address.d.ts +3 -1
  96. package/lib/types/client/changes-address.d.ts.map +1 -1
  97. package/lib/types/client/changes-address.js.map +1 -1
  98. package/lib/types/client/changes-service.d.ts +119 -0
  99. package/lib/types/client/changes-service.d.ts.map +1 -0
  100. package/lib/types/client/changes-service.js.map +1 -0
  101. package/lib/types/client/changes-store.d.ts +6 -2
  102. package/lib/types/client/changes-store.d.ts.map +1 -1
  103. package/lib/types/client/changes-store.js.map +1 -1
  104. package/lib/types/client/checkout.d.ts.map +1 -1
  105. package/lib/types/client/checkout.js.map +1 -1
  106. package/lib/types/client/diff-rows.d.ts +49 -7
  107. package/lib/types/client/diff-rows.d.ts.map +1 -1
  108. package/lib/types/client/diff-rows.js.map +1 -1
  109. package/lib/types/client/file-tree.d.ts +7 -0
  110. package/lib/types/client/file-tree.d.ts.map +1 -1
  111. package/lib/types/client/file-tree.js.map +1 -1
  112. package/lib/types/client/forge-copy.d.ts +29 -0
  113. package/lib/types/client/forge-copy.d.ts.map +1 -0
  114. package/lib/types/client/forge-copy.js.map +1 -0
  115. package/lib/types/client/format.d.ts +8 -0
  116. package/lib/types/client/format.d.ts.map +1 -1
  117. package/lib/types/client/format.js.map +1 -1
  118. package/lib/types/client/glyphs.d.ts +3 -3
  119. package/lib/types/client/glyphs.d.ts.map +1 -1
  120. package/lib/types/client/glyphs.js.map +1 -1
  121. package/lib/types/client/highlight-context.d.ts +73 -0
  122. package/lib/types/client/highlight-context.d.ts.map +1 -0
  123. package/lib/types/client/highlight-context.js.map +1 -0
  124. package/lib/types/client/index.d.ts +9 -5
  125. package/lib/types/client/index.d.ts.map +1 -1
  126. package/lib/types/client/index.js.map +1 -1
  127. package/lib/types/client/lens-filter.d.ts +69 -0
  128. package/lib/types/client/lens-filter.d.ts.map +1 -0
  129. package/lib/types/client/lens-filter.js.map +1 -0
  130. package/lib/types/client/locales.d.ts +188 -36
  131. package/lib/types/client/locales.d.ts.map +1 -1
  132. package/lib/types/client/locales.js.map +1 -1
  133. package/lib/types/client/mount.d.ts +0 -4
  134. package/lib/types/client/mount.d.ts.map +1 -1
  135. package/lib/types/client/mount.js.map +1 -1
  136. package/lib/types/client/review-page/ReviewChat.d.ts +112 -0
  137. package/lib/types/client/review-page/ReviewChat.d.ts.map +1 -0
  138. package/lib/types/client/review-page/ReviewChat.js.map +1 -0
  139. package/lib/types/client/review-page/ReviewDetail.d.ts +56 -0
  140. package/lib/types/client/review-page/ReviewDetail.d.ts.map +1 -0
  141. package/lib/types/client/review-page/ReviewDetail.js.map +1 -0
  142. package/lib/types/client/review-page/ReviewLabels.d.ts +32 -0
  143. package/lib/types/client/review-page/ReviewLabels.d.ts.map +1 -0
  144. package/lib/types/client/review-page/ReviewLabels.js.map +1 -0
  145. package/lib/types/client/review-page/ReviewList.d.ts +68 -0
  146. package/lib/types/client/review-page/ReviewList.d.ts.map +1 -0
  147. package/lib/types/client/review-page/ReviewList.js.map +1 -0
  148. package/lib/types/client/review-page/ReviewNav.d.ts +28 -0
  149. package/lib/types/client/review-page/ReviewNav.d.ts.map +1 -0
  150. package/lib/types/client/review-page/ReviewNav.js.map +1 -0
  151. package/lib/types/client/review-page/ReviewPage.d.ts +61 -0
  152. package/lib/types/client/review-page/ReviewPage.d.ts.map +1 -0
  153. package/lib/types/client/review-page/ReviewPage.js.map +1 -0
  154. package/lib/types/client/review-page/ReviewStatus.d.ts +37 -0
  155. package/lib/types/client/review-page/ReviewStatus.d.ts.map +1 -0
  156. package/lib/types/client/review-page/ReviewStatus.js.map +1 -0
  157. package/lib/types/client/review-page/host-stream.d.ts +24 -0
  158. package/lib/types/client/review-page/host-stream.d.ts.map +1 -0
  159. package/lib/types/client/review-page/host-stream.js.map +1 -0
  160. package/lib/types/client/review-page/review-lists.d.ts +116 -0
  161. package/lib/types/client/review-page/review-lists.d.ts.map +1 -0
  162. package/lib/types/client/review-page/review-lists.js.map +1 -0
  163. package/lib/types/client/review-page/review-mount.d.ts +50 -0
  164. package/lib/types/client/review-page/review-mount.d.ts.map +1 -0
  165. package/lib/types/client/review-page/review-mount.js.map +1 -0
  166. package/lib/types/client/review-page/review-store.d.ts +79 -0
  167. package/lib/types/client/review-page/review-store.d.ts.map +1 -0
  168. package/lib/types/client/review-page/review-store.js.map +1 -0
  169. package/lib/types/client/review-queue.d.ts +19 -0
  170. package/lib/types/client/review-queue.d.ts.map +1 -1
  171. package/lib/types/client/review-queue.js.map +1 -1
  172. package/lib/types/client/review-threads.d.ts +0 -8
  173. package/lib/types/client/review-threads.d.ts.map +1 -1
  174. package/lib/types/client/review-threads.js.map +1 -1
  175. package/lib/types/client/review.d.ts +18 -0
  176. package/lib/types/client/review.d.ts.map +1 -1
  177. package/lib/types/client/review.js.map +1 -1
  178. package/lib/types/client/slots.d.ts +114 -0
  179. package/lib/types/client/slots.d.ts.map +1 -0
  180. package/lib/types/client/slots.js.map +1 -0
  181. package/lib/types/client/source.d.ts +29 -23
  182. package/lib/types/client/source.d.ts.map +1 -1
  183. package/lib/types/client/source.js.map +1 -1
  184. package/lib/types/client/status.d.ts +13 -2
  185. package/lib/types/client/status.d.ts.map +1 -1
  186. package/lib/types/client/status.js.map +1 -1
  187. package/lib/types/git.d.ts +4 -15
  188. package/lib/types/git.d.ts.map +1 -1
  189. package/lib/types/git.js.map +1 -1
  190. package/lib/types/index.d.ts +346 -28
  191. package/lib/types/index.d.ts.map +1 -1
  192. package/lib/types/index.js.map +1 -1
  193. package/lib/types/lens-version.d.ts +14 -0
  194. package/lib/types/lens-version.d.ts.map +1 -0
  195. package/lib/types/lens-version.js.map +1 -0
  196. package/lib/types/lenses.d.ts +122 -0
  197. package/lib/types/lenses.d.ts.map +1 -0
  198. package/lib/types/lenses.js.map +1 -0
  199. package/lib/types/local-diff.d.ts +16 -0
  200. package/lib/types/local-diff.d.ts.map +1 -1
  201. package/lib/types/local-diff.js.map +1 -1
  202. package/lib/types/panel.d.ts +59 -8
  203. package/lib/types/panel.d.ts.map +1 -1
  204. package/lib/types/panel.js.map +1 -1
  205. package/lib/types/parse.d.ts +24 -8
  206. package/lib/types/parse.d.ts.map +1 -1
  207. package/lib/types/parse.js.map +1 -1
  208. package/lib/types/review-cache.d.ts +29 -19
  209. package/lib/types/review-cache.d.ts.map +1 -1
  210. package/lib/types/review-cache.js.map +1 -1
  211. package/lib/types/states.d.ts +11 -7
  212. package/lib/types/states.d.ts.map +1 -1
  213. package/lib/types/states.js.map +1 -1
  214. package/lib/types/types.d.ts +266 -20
  215. package/lib/types/types.d.ts.map +1 -1
  216. package/lib/types/viewer-lists.d.ts +113 -0
  217. package/lib/types/viewer-lists.d.ts.map +1 -0
  218. package/lib/types/viewer-lists.js.map +1 -0
  219. package/lib/types/worktree.d.ts +20 -11
  220. package/lib/types/worktree.d.ts.map +1 -1
  221. package/lib/types/worktree.js.map +1 -1
  222. package/locale/de.json +1 -1
  223. package/locale/en.json +1 -1
  224. package/locale/es.json +1 -1
  225. package/locale/fr.json +1 -1
  226. package/locale/ja.json +1 -1
  227. package/locale/pt.json +1 -1
  228. package/locale/ru.json +1 -1
  229. package/locale/zh.json +1 -1
  230. package/package.json +61 -52
  231. package/src/branch-name.ts +74 -0
  232. package/src/client/AttentionIndicator.tsx +37 -0
  233. package/src/client/BaseMenu.module.css +0 -20
  234. package/src/client/BaseMenu.tsx +9 -52
  235. package/src/client/ChangeRequestCard.tsx +276 -131
  236. package/src/client/ChangeRequestOverview.module.css +1 -1
  237. package/src/client/ChangeRequestOverview.tsx +183 -67
  238. package/src/client/ChangeRequestsSection.tsx +234 -0
  239. package/src/client/ChangedFiles.module.css +5 -1
  240. package/src/client/ChangedFiles.tsx +72 -36
  241. package/src/client/ChangesLoading.module.css +110 -0
  242. package/src/client/ChangesLoading.tsx +69 -0
  243. package/src/client/ChangesTab.module.css +83 -114
  244. package/src/client/ChangesTab.tsx +331 -100
  245. package/src/client/ChangesTabTitle.tsx +3 -3
  246. package/src/client/DiffFile.tsx +241 -45
  247. package/src/client/EnvironmentRows.tsx +263 -0
  248. package/src/client/FileLabel.tsx +1 -1
  249. package/src/client/FileTreePane.tsx +11 -6
  250. package/src/client/{ForgeTab.module.css → Forge.module.css} +130 -275
  251. package/src/client/LensFilter.module.css +87 -0
  252. package/src/client/LensFilter.tsx +105 -0
  253. package/src/client/ReasonButton.tsx +23 -0
  254. package/src/client/ReviewComposer.module.css +2 -8
  255. package/src/client/ReviewComposer.tsx +27 -8
  256. package/src/client/ReviewControls.module.css +39 -0
  257. package/src/client/ReviewControls.tsx +71 -15
  258. package/src/client/ReviewThread.tsx +55 -30
  259. package/src/client/ReviewThreads.module.css +24 -0
  260. package/src/client/ReviewThreads.tsx +56 -21
  261. package/src/client/SessionHoverForge.tsx +2 -1
  262. package/src/client/SubmitReview.tsx +11 -8
  263. package/src/client/ThreadList.tsx +1 -1
  264. package/src/client/ViewOptionsMenu.tsx +19 -4
  265. package/src/client/WorktreeNameDialog.module.css +53 -0
  266. package/src/client/WorktreeNameDialog.tsx +93 -0
  267. package/src/client/WorktreeProgress.tsx +100 -35
  268. package/src/client/WorktreeToggle.module.css +121 -5
  269. package/src/client/WorktreeToggle.tsx +178 -61
  270. package/src/client/action-notices.ts +38 -0
  271. package/src/client/annotations.ts +105 -0
  272. package/src/client/branch-search.tsx +77 -0
  273. package/src/client/change-requests-store.ts +50 -0
  274. package/src/client/changes-address.ts +3 -1
  275. package/src/client/changes-service.ts +173 -0
  276. package/src/client/changes-store.ts +103 -91
  277. package/src/client/checkout.ts +2 -1
  278. package/src/client/diff-rows.ts +100 -16
  279. package/src/client/file-tree.ts +29 -0
  280. package/src/client/forge-copy.ts +49 -0
  281. package/src/client/format.ts +14 -0
  282. package/src/client/glyphs.tsx +12 -13
  283. package/src/client/highlight-context.ts +213 -0
  284. package/src/client/index.ts +20 -5
  285. package/src/client/lens-filter.ts +136 -0
  286. package/src/client/locales.ts +1504 -288
  287. package/src/client/mount.ts +228 -109
  288. package/src/client/review-page/ReviewChat.tsx +311 -0
  289. package/src/client/review-page/ReviewDetail.tsx +331 -0
  290. package/src/client/review-page/ReviewLabels.tsx +94 -0
  291. package/src/client/review-page/ReviewList.tsx +461 -0
  292. package/src/client/review-page/ReviewNav.tsx +47 -0
  293. package/src/client/review-page/ReviewPage.module.css +946 -0
  294. package/src/client/review-page/ReviewPage.tsx +287 -0
  295. package/src/client/review-page/ReviewStatus.tsx +259 -0
  296. package/src/client/review-page/host-stream.ts +63 -0
  297. package/src/client/review-page/review-lists.ts +207 -0
  298. package/src/client/review-page/review-mount.ts +228 -0
  299. package/src/client/review-page/review-store.ts +94 -0
  300. package/src/client/review-queue.ts +30 -0
  301. package/src/client/review-threads.ts +0 -12
  302. package/src/client/review.ts +27 -0
  303. package/src/client/slots.ts +92 -0
  304. package/src/client/source.ts +67 -43
  305. package/src/client/status.ts +16 -4
  306. package/src/git.ts +16 -38
  307. package/src/index.ts +900 -152
  308. package/src/lens-version.ts +27 -0
  309. package/src/lenses.ts +284 -0
  310. package/src/local-diff.ts +48 -1
  311. package/src/panel.ts +123 -28
  312. package/src/parse.ts +86 -10
  313. package/src/review-cache.ts +57 -37
  314. package/src/states.ts +38 -18
  315. package/src/types.ts +267 -21
  316. package/src/viewer-lists.ts +375 -0
  317. package/src/worktree.ts +64 -34
  318. package/lib/types/client/ForgeTab.d.ts +0 -65
  319. package/lib/types/client/ForgeTab.d.ts.map +0 -1
  320. package/lib/types/client/ForgeTab.js.map +0 -1
  321. package/lib/types/client/ForgeTabTitle.d.ts +0 -11
  322. package/lib/types/client/ForgeTabTitle.d.ts.map +0 -1
  323. package/lib/types/client/ForgeTabTitle.js.map +0 -1
  324. package/lib/types/client/HeaderButton.d.ts +0 -27
  325. package/lib/types/client/HeaderButton.d.ts.map +0 -1
  326. package/lib/types/client/HeaderButton.js.map +0 -1
  327. package/lib/types/client/LocalChangesCard.d.ts +0 -29
  328. package/lib/types/client/LocalChangesCard.d.ts.map +0 -1
  329. package/lib/types/client/LocalChangesCard.js.map +0 -1
  330. package/src/client/ForgeTab.tsx +0 -263
  331. package/src/client/ForgeTabTitle.tsx +0 -21
  332. package/src/client/HeaderButton.module.css +0 -29
  333. package/src/client/HeaderButton.tsx +0 -68
  334. package/src/client/LocalChangesCard.tsx +0 -83
@@ -1,11 +1,11 @@
1
1
  /** Host Remote of the forge panel: checkout, code host, sign-in, change request, and worktree state per Session. */
2
2
  import { Context, Service } from '@deepseek-ai/cordis';
3
3
  import z from '@deepseek-ai/schemastery';
4
- import type { BranchUpdateMethod, ChangeRequestReviewer, ChangeRequestSnapshot, ForgeCommitList, ForgeRerunRequest, ForgeReviewData, ForgeReviewerCandidate, ForgeReviewRequest, ForgeReviewResult, ForgeReviewWrite, ForgeReviewWriteResult, ForgeViewedFiles, ForgeViewedRequest, MergeMethod } from '@deepseek-ai/dsh-experimental-forge';
4
+ import type { BranchUpdateMethod, ChangeRequestDescription, ChangeRequestReviewer, ChangeRequestSnapshot, ForgeCommitList, ForgeRerunRequest, ForgeReviewData, ForgeReviewerCandidate, ForgeReviewRequest, ForgeReviewResult, ForgeReviewWrite, ForgeReviewWriteResult, ForgeViewedFiles, ForgeViewedRequest, MergeMethod } from '@deepseek-ai/dsh-experimental-forge';
5
5
  import type { WorktreeCleanup } from '@deepseek-ai/dsh-experimental-worktree/types';
6
- import type { Session } from '@deepseek-ai/dsh-session';
6
+ import type { Session, SessionId } from '@deepseek-ai/dsh-session';
7
7
  import { TypertRemoteService } from '@deepseek-ai/dsh-typert-protocol';
8
- import type { Config, ForgeBaseBranches, ForgeBranches, ForgeChangeRequestDiff, ForgeChangeRequestStatesFrame, ForgeCommitRange, ForgeLocalCommits, ForgeLocalDiff, ForgeLocalScope, ForgePanelState } from './types.ts';
8
+ import type { Config, ForgeBaseBranches, ForgeChangeRequestDiff, ForgeChangeRequestStatesFrame, ForgeCommitRange, ForgeReviewChangeRequest, ForgeReviewCountFrame, ForgeReviewFrame, ForgeExtensionState, ForgeLens, ForgeLensFrame, ForgeLensRequest, ForgeLocalCommits, ForgeLocalDiff, ForgeLocalScope, ForgePanelState, ForgeWorktreeBases } from './types.ts';
9
9
  export type * from './types.ts';
10
10
  declare module '@deepseek-ai/cordis' {
11
11
  interface Context {
@@ -34,12 +34,25 @@ export declare class ForgePanelController extends TypertRemoteService {
34
34
  private readonly home;
35
35
  private readonly config;
36
36
  private readonly panels;
37
+ /** What the last panel of a Session kept when its last follower left. */
38
+ private readonly keptPanels;
37
39
  private worktreeStates;
38
40
  private creations;
39
41
  private readonly patches;
40
42
  private readonly layers;
41
43
  private readonly reviews;
44
+ /** The viewed marks read for each change request, by head commit. */
45
+ private readonly viewed;
46
+ private readonly lenses;
47
+ private readonly lensResults;
48
+ /** Review changes `forge/review-changed` announced per change request, which each panel entry reports. */
49
+ private readonly reviewRevisions;
42
50
  private states;
51
+ private readonly viewerLists;
52
+ /** The change request a review conversation's draft quotes, per Session, bound once its first message enters the inbox. */
53
+ private readonly staged;
54
+ /** Review page streams of change requests shown in full, which a review change makes publish again. */
55
+ private readonly reviewFollowers;
43
56
  private readonly stopPanels;
44
57
  private readonly stopStates;
45
58
  constructor(ctx: Context, config: Config);
@@ -66,21 +79,233 @@ export declare class ForgePanelController extends TypertRemoteService {
66
79
  * @throws when the Host lacks the Session query, projection cache, storage, or Session store service.
67
80
  */
68
81
  changeRequestStates(signal: AbortSignal): AsyncIterable<ForgeChangeRequestStatesFrame>;
82
+ /**
83
+ * Stream the review page's lists of the signed-in user's open change requests on every host a provider lists them on:
84
+ * the lists read so far first, then a frame after each read settles. Readers of one repository scope share one
85
+ * reader, which reads every `reviewListIntervalMs` while some stream lasts and backs off after failed rounds up to
86
+ * `reviewMaxBackoffMs`; nothing is read while no stream lasts. The stream ends when `signal` aborts or the Remote stops.
87
+ * @param repository - one repository to list in, or null for every repository the user can read.
88
+ * @param signal - ends the stream.
89
+ * @returns frames, each complete.
90
+ */
91
+ reviewLists(repository: {
92
+ readonly owner: string;
93
+ readonly name: string;
94
+ } | null, signal: AbortSignal): AsyncIterable<ForgeReviewFrame>;
95
+ /**
96
+ * Stream the number of open change requests that ask the signed-in user for a review, summed over the hosts read:
97
+ * the latest count first, then each change. It is read every `reviewCountIntervalMs` while some stream lasts, and a
98
+ * list stream of every repository updates it as well. The stream ends when `signal` aborts or the Remote stops.
99
+ * @param signal - ends the stream.
100
+ * @returns frames, each complete.
101
+ */
102
+ reviewCount(signal: AbortSignal): AsyncIterable<ForgeReviewCountFrame>;
103
+ /**
104
+ * Read every streamed review page list and the count again at once.
105
+ * @param signal - request cancellation.
106
+ */
107
+ reviewRefresh(signal: AbortSignal): Promise<void>;
108
+ /**
109
+ * Poll one change request the review page shows at once; its stream reports the result.
110
+ * @param url - web URL of the change request.
111
+ * @param signal - request cancellation.
112
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL.
113
+ */
114
+ reviewPoll(url: string, signal: AbortSignal): Promise<void>;
115
+ /**
116
+ * Stream one change request the review page shows in full: its latest polling result first, then each later result
117
+ * and each review change `forge/review-changed` announces for it. The change request is polled through `ctx.forge`
118
+ * while the stream lasts. Review page reads and actions name a change request by URL and need no Session binding, so
119
+ * only callers that may use the Host's code host credentials reach them.
120
+ * @param url - web URL of the change request.
121
+ * @param signal - ends the stream.
122
+ * @returns frames, each complete.
123
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL.
124
+ */
125
+ reviewChangeRequest(url: string, signal: AbortSignal): AsyncIterable<ForgeReviewChangeRequest>;
126
+ /**
127
+ * Read the description and labels of a change request for the review page.
128
+ * @param url - web URL of the change request.
129
+ * @param signal - request cancellation.
130
+ * @returns the description.
131
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/description-failed` with the
132
+ * host's reason when the host does not provide it.
133
+ */
134
+ reviewDescription(url: string, signal: AbortSignal): Promise<ChangeRequestDescription>;
135
+ /**
136
+ * Read every check of a change request the review page shows.
137
+ * @param url - web URL of the change request.
138
+ * @param headSha - head commit whose checks the page shows.
139
+ * @param signal - request cancellation.
140
+ * @returns the snapshot with every check.
141
+ * @throws as {@link ForgePanelController.changeRequestChecks} does, with `forgePanel/unrecognized-url` in place of
142
+ * `forgePanel/not-bound`.
143
+ */
144
+ reviewChecks(url: string, headSha: string, signal: AbortSignal): Promise<ChangeRequestSnapshot>;
145
+ /**
146
+ * Read the review threads of a change request the review page shows, at the head of its latest status.
147
+ * @param url - web URL of the change request.
148
+ * @param headSha - head commit the page shows.
149
+ * @param fresh - whether to read from the host even when threads at this head and update time are kept.
150
+ * @param signal - request cancellation.
151
+ * @returns the threads at `headSha`.
152
+ * @throws as {@link ForgePanelController.changeRequestReview} does, with `forgePanel/unrecognized-url` in place of
153
+ * `forgePanel/not-bound`.
154
+ */
155
+ reviewThreads(url: string, headSha: string, fresh: boolean, signal: AbortSignal): Promise<ForgeReviewData>;
156
+ /**
157
+ * Write to the review threads or the pending review of a change request the review page shows.
158
+ * @param url - web URL of the change request.
159
+ * @param write - the write and the head commit the user saw.
160
+ * @param signal - request cancellation.
161
+ * @returns whether the host took the write, as {@link ForgePanelController.changeRequestReviewWrite} does.
162
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; an error for an invalid write.
163
+ */
164
+ reviewThreadWrite(url: string, write: ForgeReviewWrite, signal: AbortSignal): Promise<ForgeReviewWriteResult>;
165
+ /**
166
+ * Publish a line comment or a completed review on a change request the review page shows.
167
+ * @param url - web URL of the change request.
168
+ * @param request - reviewed head, ranges, plain text, and explicit review decision.
169
+ * @param signal - request cancellation.
170
+ * @returns confirmed publication or a typed failure, as {@link ForgePanelController.submitReview} does.
171
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; an error for an invalid review.
172
+ */
173
+ reviewSubmit(url: string, request: ForgeReviewRequest, signal: AbortSignal): Promise<ForgeReviewResult>;
174
+ /**
175
+ * Read the changes of a change request the review page shows, or of consecutive commits of it.
176
+ * @param url - web URL of the change request.
177
+ * @param commits - consecutive commits of the change request, or null for all of it.
178
+ * @param signal - request cancellation.
179
+ * @returns the files and the commit they end at, without a local checkout count.
180
+ * @throws as {@link ForgePanelController.changeRequestDiff} does, with `forgePanel/unrecognized-url` in place of
181
+ * `forgePanel/not-bound`.
182
+ */
183
+ reviewDiff(url: string, commits: ForgeCommitRange | null, signal: AbortSignal): Promise<ForgeChangeRequestDiff>;
184
+ /**
185
+ * List the commits of a change request the review page shows.
186
+ * @param url - web URL of the change request.
187
+ * @param signal - request cancellation.
188
+ * @returns the commits, or null when the provider does not read commits.
189
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/diff-failed` when the host does
190
+ * not list them.
191
+ */
192
+ reviewCommits(url: string, signal: AbortSignal): Promise<ForgeCommitList | null>;
193
+ /**
194
+ * Read one file of a change request's repository at a commit for the review page.
195
+ * @param url - web URL of the change request.
196
+ * @param commit - commit object name.
197
+ * @param path - path relative to the repository root.
198
+ * @param signal - request cancellation.
199
+ * @returns the text.
200
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/diff-too-large` or
201
+ * `forgePanel/diff-failed` when the host does not provide the file.
202
+ */
203
+ reviewText(url: string, commit: string, path: string, signal: AbortSignal): Promise<string>;
204
+ /**
205
+ * Read the signed-in user's viewed marks on the files of a change request the review page shows, as
206
+ * {@link ForgePanelController.changeRequestViewed} keeps them.
207
+ * @param url - web URL of the change request.
208
+ * @param headSha - head commit of the shown diff.
209
+ * @param fresh - whether to read the host although kept marks could answer, as after a refresh.
210
+ * @param signal - request cancellation.
211
+ * @returns the marks, or null when the provider keeps no viewed marks.
212
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/stale-head` or
213
+ * `forgePanel/viewed-failed` as {@link ForgePanelController.changeRequestViewed} does.
214
+ */
215
+ reviewViewed(url: string, headSha: string, fresh: boolean, signal: AbortSignal): Promise<ForgeViewedFiles | null>;
216
+ /**
217
+ * Set or clear the signed-in user's viewed mark on one file of a change request the review page shows.
218
+ * @param url - web URL of the change request.
219
+ * @param request - the file, its mark, and the head commit of the shown diff.
220
+ * @param signal - request cancellation.
221
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; the action errors of
222
+ * {@link ForgePanelController.setFileViewed}.
223
+ */
224
+ reviewSetViewed(url: string, request: ForgeViewedRequest, signal: AbortSignal): Promise<void>;
225
+ /**
226
+ * Mark a draft change request the review page shows ready for review.
227
+ * @param url - web URL of the change request.
228
+ * @param signal - request cancellation.
229
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/action-failed` or
230
+ * `forgePanel/action-unknown` with the host's reason.
231
+ */
232
+ reviewMarkReady(url: string, signal: AbortSignal): Promise<void>;
233
+ /**
234
+ * Merge a change request the review page shows while its head is still `headSha`.
235
+ * @param url - web URL of the change request.
236
+ * @param method - how the commits enter the base branch.
237
+ * @param headSha - head commit the user confirmed.
238
+ * @param signal - request cancellation.
239
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/stale-head`,
240
+ * `forgePanel/action-failed`, or `forgePanel/action-unknown` with the host's reason.
241
+ */
242
+ reviewMerge(url: string, method: MergeMethod, headSha: string, signal: AbortSignal): Promise<void>;
243
+ /**
244
+ * Rerun the failed checks of a change request the review page shows.
245
+ * @param url - web URL of the change request.
246
+ * @param request - the head commit whose checks the user saw.
247
+ * @param signal - request cancellation.
248
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/stale-head`,
249
+ * `forgePanel/action-failed`, or `forgePanel/action-unknown` with the host's reason.
250
+ */
251
+ reviewRerunChecks(url: string, request: ForgeRerunRequest, signal: AbortSignal): Promise<void>;
252
+ /**
253
+ * Request reviews of a change request the review page shows from more reviewers.
254
+ * @param url - web URL of the change request.
255
+ * @param reviewers - the reviewers to ask, by kind and login.
256
+ * @param signal - request cancellation.
257
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/action-failed` or
258
+ * `forgePanel/action-unknown` with the host's reason; an error without reviewers.
259
+ */
260
+ reviewRequestReviews(url: string, reviewers: readonly Pick<ChangeRequestReviewer, 'kind' | 'login'>[], signal: AbortSignal): Promise<void>;
261
+ /**
262
+ * List accounts a review of a change request the review page shows can be requested from.
263
+ * @param url - web URL of the change request.
264
+ * @param query - text the login or name contains; empty for the host's suggestions.
265
+ * @param signal - request cancellation.
266
+ * @returns the accounts, the host's suggestions first.
267
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/reviewers-failed` when the host
268
+ * does not list them.
269
+ */
270
+ reviewReviewerCandidates(url: string, query: string, signal: AbortSignal): Promise<readonly ForgeReviewerCandidate[]>;
271
+ /**
272
+ * Bring the base branch's new commits into the head branch of a change request the review page shows.
273
+ * @param url - web URL of the change request.
274
+ * @param method - merge or rebase.
275
+ * @param headSha - head commit the user confirmed.
276
+ * @param signal - request cancellation.
277
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/stale-head`,
278
+ * `forgePanel/action-failed`, or `forgePanel/action-unknown` with the host's reason.
279
+ */
280
+ reviewUpdateBranch(url: string, method: BranchUpdateMethod, headSha: string, signal: AbortSignal): Promise<void>;
281
+ /**
282
+ * Remember the change request a review conversation's draft quotes, or forget it with null. When the Session's next
283
+ * message enters its inbox, the change request is bound to the Session with a `track` record before the turn starts;
284
+ * a Session that already started is bound at its next message. The choice lives in memory until then.
285
+ * @param sessionId - the Session whose draft quotes the change request; staging neither loads nor resumes it.
286
+ * @param url - web URL of the change request, or null.
287
+ * @param signal - request cancellation.
288
+ * @throws `forgePanel/unrecognized-url` when no provider serves the URL.
289
+ */
290
+ reviewStage(sessionId: SessionId, url: string | null, signal: AbortSignal): Promise<void>;
69
291
  /**
70
292
  * Read or await the worktree service's archive cleanup of the Session's checkout.
71
- * @param session - Session whose cleanup is visible to the caller.
293
+ * @param sessionId - Session whose cleanup is visible to the caller; reading neither loads nor resumes it.
72
294
  * @param revision - null reads now; a matching revision waits for completion.
73
295
  * @returns the cleanup state, or null without a worktree service, an attempt, or a current revision.
74
296
  */
75
- worktreeCleanup(session: Session, revision: number | null): Promise<WorktreeCleanup | null>;
297
+ worktreeCleanup(sessionId: SessionId, revision: number | null): Promise<WorktreeCleanup | null>;
76
298
  /**
77
- * List the local branches that can start a worktree of the Session's current checkout.
78
- * @param session - Session whose current directory is listed.
299
+ * List the branches that can start a worktree of the Session's current checkout: the checked-out branch, each
300
+ * remote's default branch, other local branches, and each remote's other remote-tracking branches, remotes in the
301
+ * order the panel recognizes code hosts.
302
+ * @param session - Session whose checkout is read.
303
+ * @param query - text the branch names must contain, ignoring case; empty for every branch.
79
304
  * @param signal - request cancellation.
80
- * @returns the checked-out branch and at most `maxBranches` local branches, the checked-out one first.
81
- * @throws when the current directory is not inside a checkout or Git fails.
305
+ * @returns the branches, at most `maxBranches` local branches and `maxBranches` per remote, most recently committed first.
306
+ * @throws `forgePanel/not-a-checkout` outside a checkout; the Git error when Git fails or the listed refs exceed `maxDiffBytes`.
82
307
  */
83
- branches(session: Session, signal: AbortSignal): Promise<ForgeBranches>;
308
+ worktreeBases(session: Session, query: string, signal: AbortSignal): Promise<ForgeWorktreeBases>;
84
309
  /**
85
310
  * List the branches the `branch` scope of the Session's current checkout can compare with.
86
311
  * @param session - Session whose checkout is read.
@@ -109,11 +334,21 @@ export declare class ForgePanelController extends TypertRemoteService {
109
334
  /**
110
335
  * Reinspect a followed Session's checkout, probe sign-in again, and poll its
111
336
  * change requests at once; an unfollowed Session is unchanged.
112
- * @param session - Session whose panel refreshes.
337
+ * @param sessionId - Session whose panel refreshes; refreshing neither loads nor resumes it.
113
338
  * @param signal - request cancellation.
114
339
  * @returns settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.
115
340
  */
116
- refresh(session: Session, signal: AbortSignal): Promise<void>;
341
+ refresh(sessionId: SessionId, signal: AbortSignal): Promise<void>;
342
+ /**
343
+ * Bring a followed Session's panel up to date after its surface showed again: reinspect the checkout, poll the
344
+ * change requests whose latest poll is older than `statusMaxAgeMs`, probe sign-in again unless the last probe found
345
+ * the host ready, and look the upstream branch up again while the Session shows no change request; an unfollowed
346
+ * Session is unchanged.
347
+ * @param sessionId - Session whose panel is revisited; revisiting neither loads nor resumes it.
348
+ * @param signal - request cancellation.
349
+ * @returns settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.
350
+ */
351
+ revisit(sessionId: SessionId, signal: AbortSignal): Promise<void>;
117
352
  /**
118
353
  * Read the changes one scope covers in the checkout of the Session's
119
354
  * current directory, with Git using the Session's sandbox policy.
@@ -212,19 +447,53 @@ export declare class ForgePanelController extends TypertRemoteService {
212
447
  * `forgePanel/diff-failed` when the host does not provide the file otherwise.
213
448
  */
214
449
  changeRequestText(session: Session, url: string, commit: string, path: string, signal: AbortSignal): Promise<string>;
450
+ /**
451
+ * Register a filter lens as an effect on the calling fiber. The changes views list it while it is registered; ending
452
+ * the registration aborts its running classifications and waits for them.
453
+ * @param lens - the lens.
454
+ * @returns the disposer that unregisters the lens and waits for its classifications to stop.
455
+ * @throws when another registration holds `lens.id`.
456
+ */
457
+ registerLens(lens: ForgeLens): () => Promise<void>;
458
+ /**
459
+ * Stream the facts every changes view reads about the panel's extensions: the current facts first, then the facts
460
+ * after each lens registration or withdrawal. The stream ends when `signal` aborts or the Remote stops.
461
+ * @param signal - ends the stream.
462
+ * @returns the registered lenses and the annotation limit, in publication order.
463
+ */
464
+ extensions(signal: AbortSignal): AsyncIterable<ForgeExtensionState>;
465
+ /**
466
+ * Classify the files a changes view of a Session shows with one registered lens: progress frames while the lens
467
+ * runs, then the files it keeps. Results for the same files, lens, and lens version are reused from memory until
468
+ * `maxCachedLensBytes` evicts them. Local changes are read with the Session's permissions; a change request's files
469
+ * are those `changeRequestDiff` reads.
470
+ * @param session - Session whose checkout or binding the view shows.
471
+ * @param request - the view's source, the version of the files it shows, and the lens.
472
+ * @param signal - ends the classification.
473
+ * @returns progress frames, then one result frame.
474
+ * @throws `forgePanel/lens-missing` while no lens holds the identity or once its registration ends;
475
+ * `forgePanel/lens-stale` before a change request's status was read, when the files differ from `request.version`, and
476
+ * when local files changed while the lens ran;
477
+ * `forgePanel/lens-failed` when the lens fails, runs past `lensTimeoutMs`, reads past `maxLensReadBytes`, or answers
478
+ * over `maxCachedLensBytes`; the errors of `localDiff` and `changeRequestDiff` for the files.
479
+ */
480
+ changesLens(session: Session, request: ForgeLensRequest, signal: AbortSignal): AsyncIterable<ForgeLensFrame>;
215
481
  /**
216
482
  * Read the signed-in user's viewed marks on the files of a change request of a Session, which the host keeps for the
217
- * whole change request.
483
+ * whole change request. Marks read at the same head are kept in memory and returned until they are `reviewRefreshMs`
484
+ * old or `maxCachedReviewBytes` evicts them; a mark saved through `ctx.forge` at that head replaces the kept state
485
+ * of its file, so the read after a save costs no request.
218
486
  * @param session - Session the change request is bound to.
219
487
  * @param url - binding URL of the change request.
220
488
  * @param headSha - head commit of the shown diff; marks read at another head are refused.
489
+ * @param fresh - whether to read the host although kept marks could answer, as after a refresh.
221
490
  * @param signal - request cancellation.
222
491
  * @returns the marks at `headSha`, or null when the provider keeps no viewed marks.
223
492
  * @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;
224
493
  * `forgePanel/stale-head` when the head moved past `headSha`, which is then polled again; `forgePanel/viewed-failed`
225
494
  * when the host does not provide the marks otherwise.
226
495
  */
227
- changeRequestViewed(session: Session, url: string, headSha: string, signal: AbortSignal): Promise<ForgeViewedFiles | null>;
496
+ changeRequestViewed(session: Session, url: string, headSha: string, fresh: boolean, signal: AbortSignal): Promise<ForgeViewedFiles | null>;
228
497
  /**
229
498
  * Set or clear the signed-in user's viewed mark on one file of a change request of a Session.
230
499
  * @param session - Session the change request is bound to.
@@ -356,18 +625,23 @@ export declare class ForgePanelController extends TypertRemoteService {
356
625
  /**
357
626
  * Ask for a new worktree before the Session's first turn, replacing an open
358
627
  * request and forgetting a failed attempt. While the next message waits in
359
- * the inbox, or else at the first step proposal, the panel creates a branch
360
- * from `from`, or from HEAD of the current checkout when it is null, and
361
- * enters its checkout. A message that already waits after a failed or
362
- * stopped attempt keeps waiting for {@link ForgePanelController.retryWorktree}.
628
+ * the inbox, or else at the first step proposal, the panel creates the
629
+ * branch `name`, or a generated branch per attempt when it is null, from
630
+ * `from`, or from HEAD of the current checkout when it is null, and enters
631
+ * its checkout; a remote-tracking `from` is fetched first. A message that
632
+ * already waits after a failed or stopped attempt keeps waiting for
633
+ * {@link ForgePanelController.retryWorktree}.
363
634
  * @param session - Session without a started turn.
364
- * @param from - local base branch, or null for HEAD.
635
+ * @param from - full name of a local or remote-tracking base branch, or null for HEAD.
636
+ * @param name - new branch name, or null to generate one per attempt.
365
637
  * @param signal - request cancellation.
366
- * @throws `forgePanel/invalid-branch` when `from` is empty; `forgePanel/worktrees-unavailable`
638
+ * @throws `forgePanel/invalid-branch` when `from` is empty; `forgePanel/invalid-name` when `name` breaks
639
+ * a branch-name rule; `forgePanel/branch-exists` when the checkout has a local branch named `name`;
640
+ * `forgePanel/not-a-checkout` when a name is checked outside a checkout; `forgePanel/worktrees-unavailable`
367
641
  * without a worktree service; `forgePanel/session-started` after a turn started or the worktree was
368
642
  * created; `forgePanel/session-busy` while the worktree is being created.
369
643
  */
370
- requestWorktree(session: Session, from: string | null, signal: AbortSignal): Promise<void>;
644
+ requestWorktree(session: Session, from: string | null, name: string | null, signal: AbortSignal): Promise<void>;
371
645
  /**
372
646
  * Withdraw the open worktree request of a Session with its failed attempt,
373
647
  * which lets a waiting message go on in the current checkout; without a
@@ -387,13 +661,16 @@ export declare class ForgePanelController extends TypertRemoteService {
387
661
  */
388
662
  stopCreation(session: Session, signal: AbortSignal): Promise<void>;
389
663
  /**
390
- * Make another attempt, with a new branch name, at the worktree a message
391
- * of the Session waits for after a failed or stopped attempt.
664
+ * Make another attempt, on the requested branch name or a new generated
665
+ * one, at the worktree a message of the Session waits for after a failed or
666
+ * stopped attempt.
392
667
  * @param session - Session whose message waits.
668
+ * @param fetch - false skips fetching a remote-tracking base branch for this attempt, which then starts from the
669
+ * commit last fetched.
393
670
  * @param signal - request cancellation.
394
671
  * @throws `forgePanel/not-waiting` when no message waits or an attempt is running.
395
672
  */
396
- retryWorktree(session: Session, signal: AbortSignal): Promise<void>;
673
+ retryWorktree(session: Session, fetch: boolean, signal: AbortSignal): Promise<void>;
397
674
  /**
398
675
  * Check out the created worktree of a Session again at its recorded
399
676
  * directory when that directory is gone: its branch when the branch still
@@ -421,12 +698,14 @@ export declare class ForgePanelController extends TypertRemoteService {
421
698
  */
422
699
  continueInProject(session: Session, signal: AbortSignal): Promise<void>;
423
700
  /**
424
- * Hold the turn of a message entering a Session's inbox while the
701
+ * Hold the turn of a message entering a Session's next-turn queue while the
425
702
  * Session's requested worktree does not exist yet, or while the worktree
426
703
  * the Session works in is checked and, when gone, until it is restored or
427
704
  * left. The message is entering, so the delivery has not woken the Agent
428
- * yet and its wake waits for the hold.
705
+ * yet and its wake waits for the hold. A message for the next step, such as
706
+ * a notice another plugin queues, opens no turn and gets no hold.
429
707
  * @param agent - Agent whose inbox receives the message.
708
+ * @param message - the entering message.
430
709
  */
431
710
  private holdTurn;
432
711
  /**
@@ -437,8 +716,10 @@ export declare class ForgePanelController extends TypertRemoteService {
437
716
  * @throws when the filesystem or Git cannot answer.
438
717
  */
439
718
  private missingFor;
440
- /** The changes of consecutive commits of a change request, from the first one's first parent to the last. */
441
- private commitsDiff;
719
+ /** The files of a change request at the head a status recorded, read once per head and base branch while the cache keeps them. */
720
+ private headFiles;
721
+ /** The files of consecutive commits of a change request, from the first one's first parent, which is returned too, to the last. */
722
+ private commitFiles;
442
723
  /**
443
724
  * Read a patch that ends at `commit` together with the root `.gitattributes` at that commit. A failed patch read
444
725
  * cancels the attributes read. Both reads end before the result: the patch's failure passes on first, and the
@@ -455,9 +736,36 @@ export declare class ForgePanelController extends TypertRemoteService {
455
736
  private attributesAt;
456
737
  /** Inspect the checkout of the Session's current directory, which local diffs read. */
457
738
  private checkoutOf;
739
+ /** Read every check of a change request, refusing a list read at another head; `recheck` runs once the host answers. */
740
+ private readChecks;
741
+ /** Read the changes of a change request at the head of its latest status, or of chosen commits; `ahead` counts local commits. */
742
+ private readDiff;
743
+ /** Read the viewed marks at a head commit, reusing marks kept for that head unless `fresh`. */
744
+ private readViewed;
745
+ /** Set or clear a viewed mark. */
746
+ private writeViewed;
747
+ /** Read the review threads at the head of the latest status, reusing threads kept for that head and update time. */
748
+ private readThreads;
749
+ /** Publish a comment or a completed review, then drop the threads kept for the change request. */
750
+ private publishReview;
751
+ /** Write to the review threads or the pending review, then drop the threads kept for the change request. */
752
+ private writeThreads;
753
+ /** The change request a review page URL names, with its latest polling result. */
754
+ /** Request reviews of a change request from the given accounts, refusing an empty list or an empty login. */
755
+ private askReviews;
756
+ /** List accounts a review of a change request can be requested from, failing with the host's reason. */
757
+ private candidatesOf;
758
+ private served;
759
+ /** Bind the change request a review conversation staged once the Session's message enters its inbox. */
760
+ private bindStaged;
458
761
  /** A visible binding of the Session that a provider serves, which actions and reads are limited to. */
459
762
  private bound;
460
763
  private worktreeState;
764
+ /**
765
+ * Refuse a new branch name that breaks a branch-name rule or names a local branch of the Session's checkout. The
766
+ * rules cover every name `git check-ref-format` refuses, which the worktree service runs again at creation.
767
+ */
768
+ private checkBranchName;
461
769
  private editableWorktree;
462
770
  /** The worktree state of a Session whose request may still change: no turn started, nothing created, and no attempt running. */
463
771
  private changeableWorktree;
@@ -470,6 +778,16 @@ export declare class ForgePanelController extends TypertRemoteService {
470
778
  private maintain;
471
779
  /** The shared change request states, created for the first stream from the Host's Session and storage services. */
472
780
  private changeRequestStatesHub;
781
+ /**
782
+ * Bring what is kept for a change request up to date after an accepted review change, and let its panel entries
783
+ * report it: a saved viewed mark replaces the kept state of its file, which a host lists for every changed file, and
784
+ * leaves the kept threads; any other change drops the kept threads.
785
+ */
786
+ private reviewChanged;
787
+ /** The files a lens request names with their reader and the key results for them are kept under. */
788
+ private lensSubject;
789
+ /** The merge base whose files the old side of a change request's diff at the status's head shows. */
790
+ private mergeBaseOf;
473
791
  private panelOf;
474
792
  }
475
793
  export default ForgePanelController;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,oHAAoH;AAEpH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAIxC,OAAO,KAAK,EACV,kBAAkB,EAAoB,qBAAqB,EAAE,qBAAqB,EAAsB,eAAe,EACrG,iBAAiB,EAAE,eAAe,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE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