@deepseek-ai/dsh-experimental-client-ui-forge 0.2.3-alpha.2 → 0.2.3-alpha.3

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 (315) hide show
  1. package/README.i18n.yaml +8 -8
  2. package/README.md +29 -12
  3. package/README.zh.md +29 -12
  4. package/lib/client.js +21 -16
  5. package/lib/client.js.map +1 -1
  6. package/lib/index.js +874 -170
  7. package/lib/typert.host.js +831 -156
  8. package/lib/typert.remote-client.d.ts +29 -11
  9. package/lib/typert.remote-client.d.ts.map +1 -1
  10. package/lib/typert.remote-client.js +727 -134
  11. package/lib/types/client/ActionToast.d.ts +1 -1
  12. package/lib/types/client/ActionToast.d.ts.map +1 -1
  13. package/lib/types/client/ActionToast.js.map +1 -1
  14. package/lib/types/client/AttentionIndicator.d.ts +1 -1
  15. package/lib/types/client/AttentionIndicator.d.ts.map +1 -1
  16. package/lib/types/client/BaseMenu.d.ts +6 -4
  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/BranchPicker.d.ts +84 -0
  20. package/lib/types/client/BranchPicker.d.ts.map +1 -0
  21. package/lib/types/client/BranchPicker.js.map +1 -0
  22. package/lib/types/client/ChangeRequestCard.d.ts +21 -12
  23. package/lib/types/client/ChangeRequestCard.d.ts.map +1 -1
  24. package/lib/types/client/ChangeRequestCard.js.map +1 -1
  25. package/lib/types/client/ChangeRequestOverview.d.ts +12 -6
  26. package/lib/types/client/ChangeRequestOverview.d.ts.map +1 -1
  27. package/lib/types/client/ChangeRequestOverview.js.map +1 -1
  28. package/lib/types/client/ChangeRequestsSection.d.ts +5 -3
  29. package/lib/types/client/ChangeRequestsSection.d.ts.map +1 -1
  30. package/lib/types/client/ChangeRequestsSection.js.map +1 -1
  31. package/lib/types/client/ChangedFiles.d.ts +1 -1
  32. package/lib/types/client/ChangedFiles.d.ts.map +1 -1
  33. package/lib/types/client/ChangedFiles.js.map +1 -1
  34. package/lib/types/client/ChangesLoading.d.ts +1 -1
  35. package/lib/types/client/ChangesLoading.d.ts.map +1 -1
  36. package/lib/types/client/ChangesTab.d.ts +15 -7
  37. package/lib/types/client/ChangesTab.d.ts.map +1 -1
  38. package/lib/types/client/ChangesTab.js.map +1 -1
  39. package/lib/types/client/ChangesTabTitle.d.ts +1 -1
  40. package/lib/types/client/ChangesTabTitle.d.ts.map +1 -1
  41. package/lib/types/client/ChangesTabTitle.js.map +1 -1
  42. package/lib/types/client/CommitMenu.d.ts +3 -3
  43. package/lib/types/client/CommitMenu.d.ts.map +1 -1
  44. package/lib/types/client/CommitMenu.js.map +1 -1
  45. package/lib/types/client/DiffFile.d.ts +16 -2
  46. package/lib/types/client/DiffFile.d.ts.map +1 -1
  47. package/lib/types/client/DiffFile.js.map +1 -1
  48. package/lib/types/client/EnvironmentRows.d.ts +6 -6
  49. package/lib/types/client/EnvironmentRows.d.ts.map +1 -1
  50. package/lib/types/client/EnvironmentRows.js.map +1 -1
  51. package/lib/types/client/FileLabel.js.map +1 -1
  52. package/lib/types/client/HeadMenu.d.ts +35 -0
  53. package/lib/types/client/HeadMenu.d.ts.map +1 -0
  54. package/lib/types/client/HeadMenu.js.map +1 -0
  55. package/lib/types/client/HostSettings.d.ts +33 -0
  56. package/lib/types/client/HostSettings.d.ts.map +1 -0
  57. package/lib/types/client/HostSettings.js.map +1 -0
  58. package/lib/types/client/LensFilter.d.ts +2 -2
  59. package/lib/types/client/LensFilter.d.ts.map +1 -1
  60. package/lib/types/client/LensFilter.js.map +1 -1
  61. package/lib/types/client/ReasonButton.js.map +1 -1
  62. package/lib/types/client/RefreshGlyph.js.map +1 -1
  63. package/lib/types/client/ReviewComposer.d.ts +1 -1
  64. package/lib/types/client/ReviewComposer.d.ts.map +1 -1
  65. package/lib/types/client/ReviewComposer.js.map +1 -1
  66. package/lib/types/client/ReviewControls.d.ts +1 -1
  67. package/lib/types/client/ReviewControls.d.ts.map +1 -1
  68. package/lib/types/client/ReviewControls.js.map +1 -1
  69. package/lib/types/client/ReviewThread.d.ts +1 -1
  70. package/lib/types/client/ReviewThread.d.ts.map +1 -1
  71. package/lib/types/client/ReviewThread.js.map +1 -1
  72. package/lib/types/client/ReviewThreads.d.ts +4 -2
  73. package/lib/types/client/ReviewThreads.d.ts.map +1 -1
  74. package/lib/types/client/ReviewThreads.js.map +1 -1
  75. package/lib/types/client/SessionHoverForge.d.ts +1 -1
  76. package/lib/types/client/SessionHoverForge.d.ts.map +1 -1
  77. package/lib/types/client/SessionHoverForge.js.map +1 -1
  78. package/lib/types/client/SessionRowForge.d.ts +1 -1
  79. package/lib/types/client/SessionRowForge.d.ts.map +1 -1
  80. package/lib/types/client/SessionRowForge.js.map +1 -1
  81. package/lib/types/client/SubmitReview.d.ts +1 -1
  82. package/lib/types/client/SubmitReview.d.ts.map +1 -1
  83. package/lib/types/client/SubmitReview.js.map +1 -1
  84. package/lib/types/client/ThreadList.d.ts +3 -1
  85. package/lib/types/client/ThreadList.d.ts.map +1 -1
  86. package/lib/types/client/ThreadList.js.map +1 -1
  87. package/lib/types/client/ViewOptionsMenu.d.ts +1 -1
  88. package/lib/types/client/ViewOptionsMenu.d.ts.map +1 -1
  89. package/lib/types/client/ViewOptionsMenu.js.map +1 -1
  90. package/lib/types/client/WorktreeNameDialog.d.ts +1 -1
  91. package/lib/types/client/WorktreeNameDialog.d.ts.map +1 -1
  92. package/lib/types/client/WorktreeNameDialog.js.map +1 -1
  93. package/lib/types/client/WorktreeProgress.d.ts +1 -1
  94. package/lib/types/client/WorktreeProgress.d.ts.map +1 -1
  95. package/lib/types/client/WorktreeProgress.js.map +1 -1
  96. package/lib/types/client/WorktreeSettings.d.ts +1 -1
  97. package/lib/types/client/WorktreeSettings.d.ts.map +1 -1
  98. package/lib/types/client/WorktreeSettings.js.map +1 -1
  99. package/lib/types/client/WorktreeToggle.d.ts +1 -1
  100. package/lib/types/client/WorktreeToggle.d.ts.map +1 -1
  101. package/lib/types/client/WorktreeToggle.js.map +1 -1
  102. package/lib/types/client/annotations.d.ts +1 -1
  103. package/lib/types/client/annotations.d.ts.map +1 -1
  104. package/lib/types/client/branch-search.d.ts +1 -1
  105. package/lib/types/client/branch-search.d.ts.map +1 -1
  106. package/lib/types/client/branch-search.js.map +1 -1
  107. package/lib/types/client/changes-address.d.ts +1 -1
  108. package/lib/types/client/changes-address.d.ts.map +1 -1
  109. package/lib/types/client/changes-service.d.ts +1 -1
  110. package/lib/types/client/changes-service.d.ts.map +1 -1
  111. package/lib/types/client/changes-store.d.ts +18 -2
  112. package/lib/types/client/changes-store.d.ts.map +1 -1
  113. package/lib/types/client/changes-store.js.map +1 -1
  114. package/lib/types/client/checkout.d.ts +1 -1
  115. package/lib/types/client/checkout.d.ts.map +1 -1
  116. package/lib/types/client/code-selection.d.ts.map +1 -1
  117. package/lib/types/client/code-selection.js.map +1 -1
  118. package/lib/types/client/forge-copy.d.ts +8 -1
  119. package/lib/types/client/forge-copy.d.ts.map +1 -1
  120. package/lib/types/client/forge-copy.js.map +1 -1
  121. package/lib/types/client/format.d.ts +1 -1
  122. package/lib/types/client/format.d.ts.map +1 -1
  123. package/lib/types/client/format.js.map +1 -1
  124. package/lib/types/client/glyphs.d.ts +23 -1
  125. package/lib/types/client/glyphs.d.ts.map +1 -1
  126. package/lib/types/client/glyphs.js.map +1 -1
  127. package/lib/types/client/highlight-context.d.ts +1 -1
  128. package/lib/types/client/highlight-context.d.ts.map +1 -1
  129. package/lib/types/client/host-settings-form.d.ts +69 -0
  130. package/lib/types/client/host-settings-form.d.ts.map +1 -0
  131. package/lib/types/client/host-settings-form.js.map +1 -0
  132. package/lib/types/client/host-sign-in.d.ts +31 -0
  133. package/lib/types/client/host-sign-in.d.ts.map +1 -0
  134. package/lib/types/client/host-sign-in.js.map +1 -0
  135. package/lib/types/client/local-writes.d.ts +47 -0
  136. package/lib/types/client/local-writes.d.ts.map +1 -0
  137. package/lib/types/client/local-writes.js.map +1 -0
  138. package/lib/types/client/locales.d.ts +106 -9
  139. package/lib/types/client/locales.d.ts.map +1 -1
  140. package/lib/types/client/locales.js.map +1 -1
  141. package/lib/types/client/mount.d.ts +15 -1
  142. package/lib/types/client/mount.d.ts.map +1 -1
  143. package/lib/types/client/mount.js.map +1 -1
  144. package/lib/types/client/review-page/ReviewActivity.d.ts +44 -0
  145. package/lib/types/client/review-page/ReviewActivity.d.ts.map +1 -0
  146. package/lib/types/client/review-page/ReviewActivity.js.map +1 -0
  147. package/lib/types/client/review-page/ReviewChat.d.ts +1 -1
  148. package/lib/types/client/review-page/ReviewChat.d.ts.map +1 -1
  149. package/lib/types/client/review-page/ReviewChat.js.map +1 -1
  150. package/lib/types/client/review-page/ReviewDetail.d.ts +23 -9
  151. package/lib/types/client/review-page/ReviewDetail.d.ts.map +1 -1
  152. package/lib/types/client/review-page/ReviewDetail.js.map +1 -1
  153. package/lib/types/client/review-page/ReviewLabels.d.ts +1 -1
  154. package/lib/types/client/review-page/ReviewLabels.d.ts.map +1 -1
  155. package/lib/types/client/review-page/ReviewLabels.js.map +1 -1
  156. package/lib/types/client/review-page/ReviewList.d.ts +10 -8
  157. package/lib/types/client/review-page/ReviewList.d.ts.map +1 -1
  158. package/lib/types/client/review-page/ReviewList.js.map +1 -1
  159. package/lib/types/client/review-page/ReviewNav.d.ts +1 -1
  160. package/lib/types/client/review-page/ReviewNav.d.ts.map +1 -1
  161. package/lib/types/client/review-page/ReviewPage.d.ts +15 -12
  162. package/lib/types/client/review-page/ReviewPage.d.ts.map +1 -1
  163. package/lib/types/client/review-page/ReviewPage.js.map +1 -1
  164. package/lib/types/client/review-page/ReviewSkeleton.d.ts +26 -0
  165. package/lib/types/client/review-page/ReviewSkeleton.d.ts.map +1 -0
  166. package/lib/types/client/review-page/ReviewSkeleton.js.map +1 -0
  167. package/lib/types/client/review-page/ReviewStatus.d.ts +5 -3
  168. package/lib/types/client/review-page/ReviewStatus.d.ts.map +1 -1
  169. package/lib/types/client/review-page/ReviewStatus.js.map +1 -1
  170. package/lib/types/client/review-page/review-activity.d.ts +37 -0
  171. package/lib/types/client/review-page/review-activity.d.ts.map +1 -0
  172. package/lib/types/client/review-page/review-activity.js.map +1 -0
  173. package/lib/types/client/review-page/review-lists.d.ts +48 -13
  174. package/lib/types/client/review-page/review-lists.d.ts.map +1 -1
  175. package/lib/types/client/review-page/review-lists.js.map +1 -1
  176. package/lib/types/client/review-page/review-mount.d.ts +3 -1
  177. package/lib/types/client/review-page/review-mount.d.ts.map +1 -1
  178. package/lib/types/client/review-page/review-mount.js.map +1 -1
  179. package/lib/types/client/review-page/review-store.d.ts +18 -8
  180. package/lib/types/client/review-page/review-store.d.ts.map +1 -1
  181. package/lib/types/client/review-page/review-store.js.map +1 -1
  182. package/lib/types/client/review-queue.d.ts +1 -1
  183. package/lib/types/client/review-queue.d.ts.map +1 -1
  184. package/lib/types/client/review-queue.js.map +1 -1
  185. package/lib/types/client/review-threads.d.ts +1 -1
  186. package/lib/types/client/review-threads.d.ts.map +1 -1
  187. package/lib/types/client/review.d.ts +12 -1
  188. package/lib/types/client/review.d.ts.map +1 -1
  189. package/lib/types/client/review.js.map +1 -1
  190. package/lib/types/client/row-form-labels.d.ts +12 -0
  191. package/lib/types/client/row-form-labels.d.ts.map +1 -0
  192. package/lib/types/client/row-form-labels.js.map +1 -0
  193. package/lib/types/client/session-list.d.ts +1 -1
  194. package/lib/types/client/session-list.d.ts.map +1 -1
  195. package/lib/types/client/slots.d.ts +1 -1
  196. package/lib/types/client/slots.d.ts.map +1 -1
  197. package/lib/types/client/source.d.ts +1 -1
  198. package/lib/types/client/source.d.ts.map +1 -1
  199. package/lib/types/client/status.d.ts +7 -0
  200. package/lib/types/client/status.d.ts.map +1 -1
  201. package/lib/types/client/status.js.map +1 -1
  202. package/lib/types/client/worktree-settings-form.d.ts +1 -1
  203. package/lib/types/client/worktree-settings-form.d.ts.map +1 -1
  204. package/lib/types/client/worktree-settings-form.js.map +1 -1
  205. package/lib/types/diff.d.ts.map +1 -1
  206. package/lib/types/diff.js.map +1 -1
  207. package/lib/types/git.d.ts +22 -0
  208. package/lib/types/git.d.ts.map +1 -1
  209. package/lib/types/git.js.map +1 -1
  210. package/lib/types/index.d.ts +113 -25
  211. package/lib/types/index.d.ts.map +1 -1
  212. package/lib/types/index.js.map +1 -1
  213. package/lib/types/local-diff.d.ts +81 -23
  214. package/lib/types/local-diff.d.ts.map +1 -1
  215. package/lib/types/local-diff.js.map +1 -1
  216. package/lib/types/local-write.d.ts +44 -0
  217. package/lib/types/local-write.d.ts.map +1 -0
  218. package/lib/types/local-write.js.map +1 -0
  219. package/lib/types/parse.d.ts +12 -3
  220. package/lib/types/parse.d.ts.map +1 -1
  221. package/lib/types/parse.js.map +1 -1
  222. package/lib/types/restore.d.ts +12 -0
  223. package/lib/types/restore.d.ts.map +1 -0
  224. package/lib/types/restore.js.map +1 -0
  225. package/lib/types/types.d.ts +106 -8
  226. package/lib/types/types.d.ts.map +1 -1
  227. package/lib/types/viewer-lists.d.ts +22 -13
  228. package/lib/types/viewer-lists.d.ts.map +1 -1
  229. package/lib/types/viewer-lists.js.map +1 -1
  230. package/package.json +60 -58
  231. package/src/client/ActionToast.tsx +2 -2
  232. package/src/client/AttentionIndicator.tsx +1 -1
  233. package/src/client/BaseMenu.module.css +12 -3
  234. package/src/client/BaseMenu.tsx +25 -88
  235. package/src/client/BranchPicker.tsx +161 -0
  236. package/src/client/ChangeRequestCard.tsx +138 -44
  237. package/src/client/ChangeRequestOverview.tsx +21 -9
  238. package/src/client/ChangeRequestsSection.tsx +12 -6
  239. package/src/client/ChangedFiles.tsx +2 -2
  240. package/src/client/ChangesLoading.tsx +1 -1
  241. package/src/client/ChangesTab.module.css +95 -16
  242. package/src/client/ChangesTab.tsx +190 -72
  243. package/src/client/ChangesTabTitle.tsx +2 -2
  244. package/src/client/CommitMenu.tsx +7 -5
  245. package/src/client/DiffFile.tsx +67 -11
  246. package/src/client/EnvironmentRows.tsx +21 -17
  247. package/src/client/FileLabel.tsx +1 -1
  248. package/src/client/Forge.module.css +28 -1
  249. package/src/client/HeadMenu.tsx +69 -0
  250. package/src/client/HostSettings.module.css +194 -0
  251. package/src/client/HostSettings.tsx +192 -0
  252. package/src/client/LensFilter.tsx +2 -2
  253. package/src/client/ReasonButton.tsx +1 -1
  254. package/src/client/RefreshGlyph.tsx +1 -1
  255. package/src/client/ReviewComposer.tsx +2 -2
  256. package/src/client/ReviewControls.tsx +10 -3
  257. package/src/client/ReviewThread.tsx +2 -2
  258. package/src/client/ReviewThreads.tsx +7 -4
  259. package/src/client/SessionHoverForge.tsx +2 -2
  260. package/src/client/SessionRowForge.tsx +2 -2
  261. package/src/client/SubmitReview.tsx +2 -2
  262. package/src/client/ThreadList.tsx +6 -3
  263. package/src/client/ViewOptionsMenu.tsx +2 -2
  264. package/src/client/WorktreeNameDialog.tsx +2 -2
  265. package/src/client/WorktreeProgress.tsx +2 -2
  266. package/src/client/WorktreeSettings.tsx +4 -11
  267. package/src/client/WorktreeToggle.tsx +2 -2
  268. package/src/client/annotations.ts +1 -1
  269. package/src/client/branch-search.tsx +2 -2
  270. package/src/client/changes-address.ts +1 -1
  271. package/src/client/changes-service.ts +1 -1
  272. package/src/client/changes-store.ts +49 -5
  273. package/src/client/checkout.ts +1 -1
  274. package/src/client/code-selection.ts +3 -1
  275. package/src/client/forge-copy.ts +11 -1
  276. package/src/client/format.ts +2 -2
  277. package/src/client/glyphs.tsx +50 -5
  278. package/src/client/highlight-context.ts +1 -1
  279. package/src/client/host-settings-form.ts +115 -0
  280. package/src/client/host-sign-in.ts +46 -0
  281. package/src/client/local-writes.ts +129 -0
  282. package/src/client/locales.ts +841 -65
  283. package/src/client/mount.ts +56 -7
  284. package/src/client/review-page/ReviewActivity.tsx +405 -0
  285. package/src/client/review-page/ReviewChat.tsx +2 -2
  286. package/src/client/review-page/ReviewDetail.tsx +201 -64
  287. package/src/client/review-page/ReviewLabels.tsx +2 -2
  288. package/src/client/review-page/ReviewList.tsx +153 -136
  289. package/src/client/review-page/ReviewNav.tsx +1 -1
  290. package/src/client/review-page/ReviewPage.module.css +490 -13
  291. package/src/client/review-page/ReviewPage.tsx +44 -21
  292. package/src/client/review-page/ReviewSkeleton.tsx +108 -0
  293. package/src/client/review-page/ReviewStatus.tsx +14 -9
  294. package/src/client/review-page/review-activity.ts +64 -0
  295. package/src/client/review-page/review-lists.ts +85 -22
  296. package/src/client/review-page/review-mount.ts +24 -7
  297. package/src/client/review-page/review-store.ts +24 -7
  298. package/src/client/review-queue.ts +7 -3
  299. package/src/client/review-threads.ts +1 -1
  300. package/src/client/review.ts +20 -2
  301. package/src/client/row-form-labels.ts +17 -0
  302. package/src/client/session-list.ts +1 -1
  303. package/src/client/slots.ts +1 -1
  304. package/src/client/source.ts +1 -1
  305. package/src/client/status.ts +20 -0
  306. package/src/client/worktree-settings-form.ts +1 -1
  307. package/src/diff.ts +8 -5
  308. package/src/git.ts +31 -1
  309. package/src/index.ts +241 -50
  310. package/src/local-diff.ts +151 -48
  311. package/src/local-write.ts +159 -0
  312. package/src/parse.ts +26 -4
  313. package/src/restore.ts +15 -0
  314. package/src/types.ts +97 -12
  315. package/src/viewer-lists.ts +124 -48
@@ -38,6 +38,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChec
38
38
  'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
39
39
  'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
40
40
  'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
41
+ 'autoMerge': z.object({
42
+ 'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
43
+ 'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
44
+ 'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
45
+ 'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
46
+ 'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
47
+ }).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
41
48
  'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
42
49
  'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
43
50
  'reviewers': z.array(z.object({
@@ -112,10 +119,11 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff
112
119
  'files': z.array(z.object({
113
120
  'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),
114
121
  'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),
115
- 'status': z.union([z.literal("deleted"), z.literal("added"), z.literal("modified"), z.literal("renamed")]).readonly().describe('How the file changed.'),
122
+ 'status': z.union([z.literal("deleted"), z.literal("renamed"), z.literal("added"), z.literal("modified")]).readonly().describe('How the file changed.'),
116
123
  'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),
117
124
  'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),
118
125
  'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),
126
+ 'submodule': z.boolean().readonly().describe('Whether the path is a submodule, whose change is the commit recorded for it and whose hunks hold no file content.'),
119
127
  'additions': z.number().readonly().describe('Lines added.'),
120
128
  'deletions': z.number().readonly().describe('Lines deleted.'),
121
129
  'hunks': z.array(z.object({
@@ -297,6 +305,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
297
305
  'kind': z.literal("local").readonly(),
298
306
  'scope': z.union([z.object({
299
307
  'kind': z.literal("branch").readonly(),
308
+ 'head': z.string().readonly().optional(),
300
309
  'base': z.union([z.literal(null), z.string()]).readonly(),
301
310
  'commits': z.union([z.literal(null), z.object({
302
311
  'from': z.string().readonly().describe('First, oldest commit shown.'),
@@ -304,10 +313,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
304
313
  })]).readonly(),
305
314
  }), z.object({
306
315
  'kind': z.literal("uncommitted").readonly(),
316
+ 'head': z.string().readonly().optional(),
307
317
  }), z.object({
308
318
  'kind': z.literal("unstaged").readonly(),
319
+ 'head': z.string().readonly().optional(),
309
320
  }), z.object({
310
321
  'kind': z.literal("staged").readonly(),
322
+ 'head': z.string().readonly().optional(),
311
323
  })]).readonly(),
312
324
  }), z.object({
313
325
  'kind': z.literal("change").readonly(),
@@ -347,21 +359,25 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject
347
359
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema$value
348
360
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema$value ??= z.string())
349
361
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema$value
350
- const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema$value ??= z.string())
362
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema$value ??= z.union([z.literal(null), z.string()]))
363
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2$schema$value
364
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2$schema$value ??= z.string())
351
365
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema$value
352
366
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema$value ??= z.object({
353
367
  'automatic': z.union([z.literal(null), z.object({
354
- 'name': z.string().readonly().describe('The created worktree\'s base branch or abbreviated base commit, or the default branch of the code host remote.'),
368
+ 'name': z.string().readonly().describe('The created worktree\'s base branch or abbreviated base commit, or the default branch of the code host remote; for a scope with a `head`, the Session\'s checked-out branch, or its abbreviated HEAD commit when detached.'),
355
369
  'worktree': z.boolean().readonly().describe('Whether the fork point is the base commit of the worktree the Session created rather than a merge base.'),
356
370
  })]).readonly().describe('The fork point used while no base branch is chosen, whatever the query; null without one.'),
357
371
  'remote': z.array(z.object({
358
372
  'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
359
373
  'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
374
+ 'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
360
375
  })).readonly().describe('Remote-tracking branches without symbolic refs such as `origin/HEAD`, most recently committed first, at most `maxBranches`.'),
361
376
  'local': z.array(z.object({
362
377
  'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
363
378
  'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
364
- })).readonly().describe('Local branches other than the checked-out one, most recently committed first, at most `maxBranches`.'),
379
+ 'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
380
+ })).readonly().describe('Local branches other than the one the scope shows, most recently committed first, at most `maxBranches`.'),
365
381
  }))
366
382
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema$value
367
383
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema$value ??= z.string())
@@ -441,6 +457,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
441
457
  'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
442
458
  'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
443
459
  'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
460
+ 'autoMerge': z.object({
461
+ 'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
462
+ 'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
463
+ 'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
464
+ 'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
465
+ 'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
466
+ }).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
444
467
  'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
445
468
  'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
446
469
  'reviewers': z.array(z.object({
@@ -523,6 +546,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
523
546
  'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
524
547
  'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
525
548
  'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
549
+ 'autoMerge': z.object({
550
+ 'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
551
+ 'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
552
+ 'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
553
+ 'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
554
+ 'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
555
+ }).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
526
556
  'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
527
557
  'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
528
558
  'reviewers': z.array(z.object({
@@ -623,10 +653,24 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
623
653
  })).readonly().describe('Changed files in Git\'s path order, untracked files last, at most `maxUntrackedFiles` of those.'),
624
654
  })]).readonly().describe('Files the `branch` scope changes, or null before the first inspection, outside a checkout, and without a fork point.'),
625
655
  }))
656
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0$schema$value
657
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0$schema$value ??= z.string())
658
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1$schema$value
659
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1$schema$value ??= z.string())
660
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_result$schema$value
661
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_result$schema$value ??= z.object({
662
+ 'state': z.union([z.literal("unavailable"), z.literal("ready"), z.literal("unauthenticated")]).readonly().describe('`ready`, `unauthenticated` (sign-in needed), or `unavailable` (tool missing or host unreachable).'),
663
+ 'message': z.union([z.literal(null), z.string()]).readonly().describe('Human-readable detail, or null when ready.'),
664
+ 'signIn': z.union([z.literal(null), z.object({
665
+ 'command': z.string().readonly(),
666
+ })]).readonly().describe('Shell command the user runs on the host to sign in, while `unauthenticated`; null otherwise or when the provider names none.'),
667
+ }))
626
668
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema$value
627
669
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema$value ??= z.string())
628
670
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema$value
629
671
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema$value ??= z.union([z.literal(null), z.string()]))
672
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2$schema$value
673
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2$schema$value ??= z.union([z.literal(null), z.string()]))
630
674
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema$value
631
675
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema$value ??= z.object({
632
676
  'headSha': z.string().readonly().describe('HEAD commit the list was read at.'),
@@ -644,6 +688,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_paramet
644
688
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema$value
645
689
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema$value ??= z.union([z.object({
646
690
  'kind': z.literal("branch").readonly(),
691
+ 'head': z.string().readonly().optional(),
647
692
  'base': z.union([z.literal(null), z.string()]).readonly(),
648
693
  'commits': z.union([z.literal(null), z.object({
649
694
  'from': z.string().readonly().describe('First, oldest commit shown.'),
@@ -651,10 +696,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_paramet
651
696
  })]).readonly(),
652
697
  }), z.object({
653
698
  'kind': z.literal("uncommitted").readonly(),
699
+ 'head': z.string().readonly().optional(),
654
700
  }), z.object({
655
701
  'kind': z.literal("unstaged").readonly(),
702
+ 'head': z.string().readonly().optional(),
656
703
  }), z.object({
657
704
  'kind': z.literal("staged").readonly(),
705
+ 'head': z.string().readonly().optional(),
658
706
  })]))
659
707
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema$value
660
708
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema$value ??= z.object({
@@ -662,10 +710,11 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$
662
710
  'files': z.array(z.object({
663
711
  'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),
664
712
  'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),
665
- 'status': z.union([z.literal("deleted"), z.literal("added"), z.literal("modified"), z.literal("renamed")]).readonly().describe('How the file changed.'),
713
+ 'status': z.union([z.literal("deleted"), z.literal("renamed"), z.literal("added"), z.literal("modified")]).readonly().describe('How the file changed.'),
666
714
  'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),
667
715
  'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),
668
716
  'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),
717
+ 'submodule': z.boolean().readonly().describe('Whether the path is a submodule, whose change is the commit recorded for it and whose hunks hold no file content.'),
669
718
  'additions': z.number().readonly().describe('Lines added.'),
670
719
  'deletions': z.number().readonly().describe('Lines deleted.'),
671
720
  'hunks': z.array(z.object({
@@ -679,12 +728,14 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$
679
728
  'digest': z.string().readonly().describe('Digest of the file\'s change: its paths, status, and hunks, plus the blob names of a binary change, or the content of an untracked binary file. Equal digests describe the same change; reading the same comparison again keeps it.'),
680
729
  })).readonly().describe('Changed files in Git\'s path order, untracked files last.'),
681
730
  'omitted': z.number().readonly().describe('Untracked files left out beyond `maxUntrackedFiles`.'),
731
+ 'worktree': z.string().readonly().optional().describe('Top-level directory of the worktree the scope read for its `head`; absent for the Session\'s own checkout and for a head read from its commits.'),
682
732
  }))
683
733
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema$value
684
734
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema$value ??= z.string())
685
735
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema$value
686
736
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema$value ??= z.union([z.object({
687
737
  'kind': z.literal("branch").readonly(),
738
+ 'head': z.string().readonly().optional(),
688
739
  'base': z.union([z.literal(null), z.string()]).readonly(),
689
740
  'commits': z.union([z.literal(null), z.object({
690
741
  'from': z.string().readonly().describe('First, oldest commit shown.'),
@@ -692,15 +743,45 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_paramet
692
743
  })]).readonly(),
693
744
  }), z.object({
694
745
  'kind': z.literal("uncommitted").readonly(),
746
+ 'head': z.string().readonly().optional(),
695
747
  }), z.object({
696
748
  'kind': z.literal("unstaged").readonly(),
749
+ 'head': z.string().readonly().optional(),
697
750
  }), z.object({
698
751
  'kind': z.literal("staged").readonly(),
752
+ 'head': z.string().readonly().optional(),
699
753
  })]))
700
754
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema$value
701
755
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema$value ??= z.string())
702
756
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema$value
703
757
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema$value ??= z.string())
758
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0$schema$value
759
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0$schema$value ??= z.string())
760
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1$schema$value
761
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1$schema$value ??= z.union([z.object({
762
+ 'kind': z.literal("stage").readonly(),
763
+ 'files': z.array(z.object({
764
+ 'path': z.string().readonly().describe('Path relative to the repository root, as the diff names it.'),
765
+ 'digest': z.string().readonly().describe('Digest of the change the reader saw.'),
766
+ })).readonly(),
767
+ }), z.object({
768
+ 'kind': z.literal("unstage").readonly(),
769
+ 'paths': z.array(z.string()).readonly(),
770
+ }), z.object({
771
+ 'kind': z.literal("restore").readonly(),
772
+ 'files': z.array(z.object({
773
+ 'path': z.string().readonly().describe('Path relative to the repository root, as the diff names it.'),
774
+ 'digest': z.string().readonly().describe('Digest of the change the reader saw.'),
775
+ })).readonly(),
776
+ }), z.object({
777
+ 'kind': z.literal("reindex").readonly(),
778
+ 'tree': z.string().readonly(),
779
+ 'paths': z.array(z.string()).readonly(),
780
+ })]))
781
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_result$schema$value
782
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_result$schema$value ??= z.object({
783
+ 'undo': z.union([z.literal(null), z.string()]).readonly().describe('Object name of the index as a tree before a `stage` or `unstage`, which a `reindex` of the same paths returns to; null for other writes and while the index holds unmerged entries.'),
784
+ }))
704
785
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema$value
705
786
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema$value ??= z.string())
706
787
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema$value
@@ -760,6 +841,90 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_param
760
841
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1$schema$value ??= z.boolean())
761
842
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema$value
762
843
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema$value ??= z.void())
844
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0$schema$value
845
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0$schema$value ??= z.string())
846
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_result$schema$value
847
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_result$schema$value ??= z.union([z.literal(null), z.object({
848
+ 'items': z.array(z.union([z.object({
849
+ 'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
850
+ 'actor': z.union([z.literal(null), z.object({
851
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
852
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
853
+ 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
854
+ })]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
855
+ 'kind': z.literal("comment").readonly(),
856
+ 'body': z.string().readonly(),
857
+ 'url': z.union([z.literal(null), z.string()]).readonly(),
858
+ }), z.object({
859
+ 'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
860
+ 'actor': z.union([z.literal(null), z.object({
861
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
862
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
863
+ 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
864
+ })]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
865
+ 'kind': z.literal("review").readonly(),
866
+ 'verdict': z.union([z.literal("approved"), z.literal("dismissed"), z.literal("changes-requested"), z.literal("commented")]).readonly(),
867
+ 'body': z.string().readonly(),
868
+ 'comments': z.number().readonly(),
869
+ 'url': z.union([z.literal(null), z.string()]).readonly(),
870
+ }), z.object({
871
+ 'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
872
+ 'actor': z.union([z.literal(null), z.object({
873
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
874
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
875
+ 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
876
+ })]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
877
+ 'kind': z.literal("commit").readonly(),
878
+ 'sha': z.string().readonly(),
879
+ 'title': z.string().readonly(),
880
+ }), z.object({
881
+ 'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
882
+ 'actor': z.union([z.literal(null), z.object({
883
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
884
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
885
+ 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
886
+ })]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
887
+ 'kind': z.union([z.literal("closed"), z.literal("merged"), z.literal("reopened"), z.literal("ready-for-review"), z.literal("converted-to-draft"), z.literal("force-pushed")]).readonly(),
888
+ }), z.object({
889
+ 'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
890
+ 'actor': z.union([z.literal(null), z.object({
891
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
892
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
893
+ 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
894
+ })]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
895
+ 'kind': z.union([z.literal("auto-merge-enabled"), z.literal("auto-merge-disabled")]).readonly(),
896
+ }), z.object({
897
+ 'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
898
+ 'actor': z.union([z.literal(null), z.object({
899
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
900
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
901
+ 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
902
+ })]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
903
+ 'kind': z.literal("review-requested").readonly(),
904
+ 'reviewer': z.union([z.literal(null), z.string()]).readonly(),
905
+ }), z.object({
906
+ 'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
907
+ 'actor': z.union([z.literal(null), z.object({
908
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
909
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
910
+ 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
911
+ })]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
912
+ 'kind': z.literal("renamed").readonly(),
913
+ 'from': z.string().readonly(),
914
+ 'to': z.string().readonly(),
915
+ }), z.object({
916
+ 'at': z.string().readonly().describe('ISO 8601 time of the entry.'),
917
+ 'actor': z.union([z.literal(null), z.object({
918
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
919
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
920
+ 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
921
+ })]).readonly().describe('Account the entry is by, or null when the host names none or the account no longer exists.'),
922
+ 'kind': z.literal("other").readonly(),
923
+ 'text': z.string().readonly(),
924
+ })])).readonly().describe('Entries oldest first, at most the provider\'s limit; the latest ones when the change request has more.'),
925
+ 'truncated': z.boolean().readonly().describe('Whether the change request has entries older than `items` holds.'),
926
+ 'viewerCanComment': z.boolean().readonly().describe('Whether the signed-in user can add a comment through `addComment`; false for a provider without it.'),
927
+ })]))
763
928
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0$schema$value
764
929
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0$schema$value ??= z.string())
765
930
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_result$schema$value
@@ -806,6 +971,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeReque
806
971
  'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
807
972
  'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
808
973
  'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
974
+ 'autoMerge': z.object({
975
+ 'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
976
+ 'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
977
+ 'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
978
+ 'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
979
+ 'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
980
+ }).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
809
981
  'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
810
982
  'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
811
983
  'reviewers': z.array(z.object({
@@ -881,6 +1053,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeReque
881
1053
  'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
882
1054
  'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
883
1055
  'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
1056
+ 'autoMerge': z.object({
1057
+ 'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
1058
+ 'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
1059
+ 'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
1060
+ 'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
1061
+ 'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
1062
+ }).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
884
1063
  'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
885
1064
  'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
886
1065
  'reviewers': z.array(z.object({
@@ -955,6 +1134,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_resu
955
1134
  'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
956
1135
  'mergeReady': z.boolean().readonly().describe('Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch\'s merge rules.'),
957
1136
  'mergeMethods': z.array(z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")])).readonly().describe('Merge methods the repository accepts, the signed-in user\'s usual one first.'),
1137
+ 'autoMerge': z.object({
1138
+ 'enabled': z.boolean().readonly().describe('Whether the host merges the change request by itself once its merge requirements are met.'),
1139
+ 'method': z.union([z.literal(null), z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly().describe('How the commits enter the base branch then, while enabled and the host names the method; null otherwise.'),
1140
+ 'enabledBy': z.union([z.literal(null), z.string()]).readonly().describe('Login of the account that turned it on, while enabled and the host names one; null otherwise.'),
1141
+ 'canEnable': z.boolean().readonly().describe('Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on.'),
1142
+ 'canDisable': z.boolean().readonly().describe('Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off.'),
1143
+ }).readonly().optional().describe('How the change request stands with its host\'s automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge.'),
958
1144
  'branchUpdates': z.array(z.union([z.literal("merge"), z.literal("rebase")])).readonly().describe('Ways the signed-in user can bring the base branch\'s new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it.'),
959
1145
  'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
960
1146
  'reviewers': z.array(z.object({
@@ -998,6 +1184,12 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_resu
998
1184
  'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
999
1185
  'closedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the change request was merged or closed, or null while it is open.'),
1000
1186
  }))
1187
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0$schema$value
1188
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0$schema$value ??= z.string())
1189
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1$schema$value
1190
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1$schema$value ??= z.string())
1191
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_result$schema$value
1192
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_result$schema$value ??= z.void())
1001
1193
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0$schema$value
1002
1194
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0$schema$value ??= z.string())
1003
1195
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_result$schema$value
@@ -1043,10 +1235,11 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDiff_result
1043
1235
  'files': z.array(z.object({
1044
1236
  'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),
1045
1237
  'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),
1046
- 'status': z.union([z.literal("deleted"), z.literal("added"), z.literal("modified"), z.literal("renamed")]).readonly().describe('How the file changed.'),
1238
+ 'status': z.union([z.literal("deleted"), z.literal("renamed"), z.literal("added"), z.literal("modified")]).readonly().describe('How the file changed.'),
1047
1239
  'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),
1048
1240
  'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),
1049
1241
  'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),
1242
+ 'submodule': z.boolean().readonly().describe('Whether the path is a submodule, whose change is the commit recorded for it and whose hunks hold no file content.'),
1050
1243
  'additions': z.number().readonly().describe('Lines added.'),
1051
1244
  'deletions': z.number().readonly().describe('Lines deleted.'),
1052
1245
  'hunks': z.array(z.object({
@@ -1077,8 +1270,9 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidate
1077
1270
  })))
1078
1271
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0$schema$value
1079
1272
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0$schema$value ??= z.union([z.literal(null), z.object({
1080
- 'owner': z.string().readonly(),
1081
- 'name': z.string().readonly(),
1273
+ 'host': z.string().readonly().describe('Host name of the provider that lists the repository, compared without case.'),
1274
+ 'owner': z.string().readonly().describe('Owner or namespace; nested groups of a GitLab project stay in it.'),
1275
+ 'name': z.string().readonly().describe('Repository name.'),
1082
1276
  })]))
1083
1277
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_result$schema$value
1084
1278
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_result$schema$value ??= z.object({
@@ -1086,6 +1280,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_resul
1086
1280
  'forge': z.string().readonly().describe('Forge family of the provider.'),
1087
1281
  'host': z.string().readonly().describe('Lowercase host name.'),
1088
1282
  'viewer': z.union([z.literal(null), z.string()]).readonly().describe('Login of the signed-in user the latest successful read named, or null before one.'),
1283
+ 'signIn': z.union([z.literal(null), z.string()]).readonly().describe('The command that signs the provider\'s CLI in to the host, while the latest read failed for lack of sign-in and the provider names one; null otherwise.'),
1089
1284
  'lists': z.object({
1090
1285
  'review-requested': z.object({
1091
1286
  'items': z.union([z.literal(null), z.array(z.object({
@@ -1116,19 +1311,6 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_resul
1116
1311
  'viewerRequest': z.union([z.literal(null), z.object({
1117
1312
  'team': z.union([z.literal(null), z.string()]).readonly(),
1118
1313
  })]).readonly().describe('The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user.'),
1119
- 'closingIssues': z.array(z.object({
1120
- 'repository': z.object({
1121
- 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
1122
- 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
1123
- 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
1124
- 'name': z.string().readonly().describe('Repository name as the host spells it.'),
1125
- }).readonly().describe('Repository that holds the issue.'),
1126
- 'number': z.number().readonly().describe('Host-assigned issue number.'),
1127
- 'title': z.string().readonly().describe('Title as the author wrote it.'),
1128
- 'state': z.union([z.literal("open"), z.literal("closed")]).readonly().describe('Whether the issue is still open.'),
1129
- 'url': z.string().readonly().describe('Web page of the issue.'),
1130
- })).readonly().describe('Issues the host closes once the change request merges, in host order, at most the provider\'s limit.'),
1131
- 'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),
1132
1314
  'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
1133
1315
  }))]).readonly().describe('Change requests most recently updated first, from the latest successful read, or null before the first.'),
1134
1316
  'total': z.number().readonly().describe('Size of the whole list the host reported with `items`; 0 before the first successful read.'),
@@ -1167,19 +1349,6 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_resul
1167
1349
  'viewerRequest': z.union([z.literal(null), z.object({
1168
1350
  'team': z.union([z.literal(null), z.string()]).readonly(),
1169
1351
  })]).readonly().describe('The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user.'),
1170
- 'closingIssues': z.array(z.object({
1171
- 'repository': z.object({
1172
- 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
1173
- 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
1174
- 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
1175
- 'name': z.string().readonly().describe('Repository name as the host spells it.'),
1176
- }).readonly().describe('Repository that holds the issue.'),
1177
- 'number': z.number().readonly().describe('Host-assigned issue number.'),
1178
- 'title': z.string().readonly().describe('Title as the author wrote it.'),
1179
- 'state': z.union([z.literal("open"), z.literal("closed")]).readonly().describe('Whether the issue is still open.'),
1180
- 'url': z.string().readonly().describe('Web page of the issue.'),
1181
- })).readonly().describe('Issues the host closes once the change request merges, in host order, at most the provider\'s limit.'),
1182
- 'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),
1183
1352
  'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
1184
1353
  }))]).readonly().describe('Change requests most recently updated first, from the latest successful read, or null before the first.'),
1185
1354
  'total': z.number().readonly().describe('Size of the whole list the host reported with `items`; 0 before the first successful read.'),
@@ -1218,19 +1387,6 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_resul
1218
1387
  'viewerRequest': z.union([z.literal(null), z.object({
1219
1388
  'team': z.union([z.literal(null), z.string()]).readonly(),
1220
1389
  })]).readonly().describe('The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user.'),
1221
- 'closingIssues': z.array(z.object({
1222
- 'repository': z.object({
1223
- 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
1224
- 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
1225
- 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
1226
- 'name': z.string().readonly().describe('Repository name as the host spells it.'),
1227
- }).readonly().describe('Repository that holds the issue.'),
1228
- 'number': z.number().readonly().describe('Host-assigned issue number.'),
1229
- 'title': z.string().readonly().describe('Title as the author wrote it.'),
1230
- 'state': z.union([z.literal("open"), z.literal("closed")]).readonly().describe('Whether the issue is still open.'),
1231
- 'url': z.string().readonly().describe('Web page of the issue.'),
1232
- })).readonly().describe('Issues the host closes once the change request merges, in host order, at most the provider\'s limit.'),
1233
- 'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),
1234
1390
  'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
1235
1391
  }))]).readonly().describe('Change requests most recently updated first, from the latest successful read, or null before the first.'),
1236
1392
  'total': z.number().readonly().describe('Size of the whole list the host reported with `items`; 0 before the first successful read.'),
@@ -1290,6 +1446,18 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCan
1290
1446
  'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
1291
1447
  'suggested': z.boolean().readonly().describe('Whether the host suggests the account for this change request, as from the history of its changed files.'),
1292
1448
  })))
1449
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0$schema$value
1450
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0$schema$value ??= z.string())
1451
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1$schema$value
1452
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1$schema$value ??= z.union([z.object({
1453
+ 'enabled': z.literal(true).readonly(),
1454
+ 'method': z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly(),
1455
+ 'headSha': z.string().readonly(),
1456
+ }), z.object({
1457
+ 'enabled': z.literal(false).readonly(),
1458
+ })]))
1459
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_result$schema$value
1460
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_result$schema$value ??= z.void())
1293
1461
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0$schema$value
1294
1462
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0$schema$value ??= z.string())
1295
1463
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_1$schema$value
@@ -1477,6 +1645,20 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0
1477
1645
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0$schema$value ??= z.string())
1478
1646
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_result$schema$value
1479
1647
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_result$schema$value ??= z.void())
1648
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0$schema$value
1649
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0$schema$value ??= z.string())
1650
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1$schema$value
1651
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1$schema$value ??= z.string())
1652
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2$schema$value
1653
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2$schema$value ??= z.union([z.object({
1654
+ 'enabled': z.literal(true).readonly(),
1655
+ 'method': z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly(),
1656
+ 'headSha': z.string().readonly(),
1657
+ }), z.object({
1658
+ 'enabled': z.literal(false).readonly(),
1659
+ })]))
1660
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_result$schema$value
1661
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_result$schema$value ??= z.void())
1480
1662
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema$value
1481
1663
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema$value ??= z.string())
1482
1664
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1$schema$value
@@ -1555,15 +1737,18 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeBases_res
1555
1737
  'current': z.union([z.literal(null), z.object({
1556
1738
  'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
1557
1739
  'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
1740
+ 'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
1558
1741
  })]).readonly().describe('Checked-out branch, or null when HEAD is detached or its name does not contain the query.'),
1559
1742
  'defaults': z.array(z.object({
1560
1743
  'remote': z.string().readonly().describe('Remote the branch belongs to; it may contain `/`.'),
1561
1744
  'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
1562
1745
  'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
1746
+ 'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
1563
1747
  })).readonly().describe('Default branch of each remote that names one with `refs/remotes/<remote>/HEAD`, in remote order.'),
1564
1748
  'local': z.array(z.object({
1565
1749
  'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
1566
1750
  'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
1751
+ 'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
1567
1752
  })).readonly().describe('Other local branches, most recently committed first, at most `maxBranches`.'),
1568
1753
  'remotes': z.array(z.object({
1569
1754
  'name': z.string().readonly().describe('Remote name such as `origin`; it may contain `/`.'),
@@ -1571,6 +1756,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeBases_res
1571
1756
  'branches': z.array(z.object({
1572
1757
  'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
1573
1758
  'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
1759
+ 'worktree': z.string().readonly().optional().describe('Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree.'),
1574
1760
  })).readonly().describe('Branches named `<remote>/<branch>`, most recently committed first, at most `maxBranches`.'),
1575
1761
  })).readonly().describe('Remote-tracking branches of each configured remote in remote order: the remote the checked-out branch tracks, then `origin`, then the others as Git lists them. Remotes without a matching branch are left out.'),
1576
1762
  }))
@@ -1682,6 +1868,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
1682
1868
  'kind': z.literal("local").readonly(),
1683
1869
  'scope': z.union([z.strictObject({
1684
1870
  'kind': z.literal("branch").readonly(),
1871
+ 'head': z.string().readonly().optional(),
1685
1872
  'base': z.union([z.literal(null), z.string()]).readonly(),
1686
1873
  'commits': z.union([z.literal(null), z.strictObject({
1687
1874
  'from': z.string().readonly().describe('First, oldest commit shown.'),
@@ -1689,10 +1876,13 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_param
1689
1876
  })]).readonly(),
1690
1877
  }), z.strictObject({
1691
1878
  'kind': z.literal("uncommitted").readonly(),
1879
+ 'head': z.string().readonly().optional(),
1692
1880
  }), z.strictObject({
1693
1881
  'kind': z.literal("unstaged").readonly(),
1882
+ 'head': z.string().readonly().optional(),
1694
1883
  }), z.strictObject({
1695
1884
  'kind': z.literal("staged").readonly(),
1885
+ 'head': z.string().readonly().optional(),
1696
1886
  })]).readonly(),
1697
1887
  }), z.strictObject({
1698
1888
  'kind': z.literal("change").readonly(),
@@ -1710,22 +1900,31 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject
1710
1900
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema$value
1711
1901
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema$value ??= z.string())
1712
1902
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema$value
1713
- const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema$value ??= z.string())
1903
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.string()]))
1904
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2_strict$schema$value
1905
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2_strict$schema$value ??= z.string())
1714
1906
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema$value
1715
1907
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema$value ??= z.string())
1716
1908
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema$value
1717
1909
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema$value ??= z.string())
1718
1910
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema$value
1719
1911
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema$value ??= z.string())
1912
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0_strict$schema$value
1913
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0_strict$schema$value ??= z.string())
1914
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1_strict$schema$value
1915
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1_strict$schema$value ??= z.string())
1720
1916
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema$value
1721
1917
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema$value ??= z.string())
1722
1918
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema$value
1723
1919
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.string()]))
1920
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2_strict$schema$value
1921
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2_strict$schema$value ??= z.union([z.literal(null), z.string()]))
1724
1922
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema$value
1725
1923
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema$value ??= z.string())
1726
1924
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema$value
1727
1925
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema$value ??= z.union([z.strictObject({
1728
1926
  'kind': z.literal("branch").readonly(),
1927
+ 'head': z.string().readonly().optional(),
1729
1928
  'base': z.union([z.literal(null), z.string()]).readonly(),
1730
1929
  'commits': z.union([z.literal(null), z.strictObject({
1731
1930
  'from': z.string().readonly().describe('First, oldest commit shown.'),
@@ -1733,16 +1932,20 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_paramet
1733
1932
  })]).readonly(),
1734
1933
  }), z.strictObject({
1735
1934
  'kind': z.literal("uncommitted").readonly(),
1935
+ 'head': z.string().readonly().optional(),
1736
1936
  }), z.strictObject({
1737
1937
  'kind': z.literal("unstaged").readonly(),
1938
+ 'head': z.string().readonly().optional(),
1738
1939
  }), z.strictObject({
1739
1940
  'kind': z.literal("staged").readonly(),
1941
+ 'head': z.string().readonly().optional(),
1740
1942
  })]))
1741
1943
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema$value
1742
1944
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema$value ??= z.string())
1743
1945
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema$value
1744
1946
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema$value ??= z.union([z.strictObject({
1745
1947
  'kind': z.literal("branch").readonly(),
1948
+ 'head': z.string().readonly().optional(),
1746
1949
  'base': z.union([z.literal(null), z.string()]).readonly(),
1747
1950
  'commits': z.union([z.literal(null), z.strictObject({
1748
1951
  'from': z.string().readonly().describe('First, oldest commit shown.'),
@@ -1750,13 +1953,39 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_paramet
1750
1953
  })]).readonly(),
1751
1954
  }), z.strictObject({
1752
1955
  'kind': z.literal("uncommitted").readonly(),
1956
+ 'head': z.string().readonly().optional(),
1753
1957
  }), z.strictObject({
1754
1958
  'kind': z.literal("unstaged").readonly(),
1959
+ 'head': z.string().readonly().optional(),
1755
1960
  }), z.strictObject({
1756
1961
  'kind': z.literal("staged").readonly(),
1962
+ 'head': z.string().readonly().optional(),
1757
1963
  })]))
1758
1964
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema$value
1759
1965
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema$value ??= z.string())
1966
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0_strict$schema$value
1967
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0_strict$schema$value ??= z.string())
1968
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1_strict$schema$value
1969
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1_strict$schema$value ??= z.union([z.strictObject({
1970
+ 'kind': z.literal("stage").readonly(),
1971
+ 'files': z.array(z.strictObject({
1972
+ 'path': z.string().readonly().describe('Path relative to the repository root, as the diff names it.'),
1973
+ 'digest': z.string().readonly().describe('Digest of the change the reader saw.'),
1974
+ })).readonly(),
1975
+ }), z.strictObject({
1976
+ 'kind': z.literal("unstage").readonly(),
1977
+ 'paths': z.array(z.string()).readonly(),
1978
+ }), z.strictObject({
1979
+ 'kind': z.literal("restore").readonly(),
1980
+ 'files': z.array(z.strictObject({
1981
+ 'path': z.string().readonly().describe('Path relative to the repository root, as the diff names it.'),
1982
+ 'digest': z.string().readonly().describe('Digest of the change the reader saw.'),
1983
+ })).readonly(),
1984
+ }), z.strictObject({
1985
+ 'kind': z.literal("reindex").readonly(),
1986
+ 'tree': z.string().readonly(),
1987
+ 'paths': z.array(z.string()).readonly(),
1988
+ })]))
1760
1989
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema$value
1761
1990
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema$value ??= z.string())
1762
1991
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema$value
@@ -1800,12 +2029,18 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_param
1800
2029
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema$value ??= z.string())
1801
2030
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1_strict$schema$value
1802
2031
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_1_strict$schema$value ??= z.boolean())
2032
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0_strict$schema$value
2033
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0_strict$schema$value ??= z.string())
1803
2034
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0_strict$schema$value
1804
2035
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChangeRequest_parameter_0_strict$schema$value ??= z.string())
1805
2036
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_0_strict$schema$value
1806
2037
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_0_strict$schema$value ??= z.string())
1807
2038
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_1_strict$schema$value
1808
2039
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_parameter_1_strict$schema$value ??= z.string())
2040
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0_strict$schema$value
2041
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0_strict$schema$value ??= z.string())
2042
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1_strict$schema$value
2043
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1_strict$schema$value ??= z.string())
1809
2044
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0_strict$schema$value
1810
2045
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewCommits_parameter_0_strict$schema$value ??= z.string())
1811
2046
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewDescription_parameter_0_strict$schema$value
@@ -1825,8 +2060,9 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_
1825
2060
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2_strict$schema$value ??= z.string())
1826
2061
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0_strict$schema$value
1827
2062
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0_strict$schema$value ??= z.union([z.literal(null), z.strictObject({
1828
- 'owner': z.string().readonly(),
1829
- 'name': z.string().readonly(),
2063
+ 'host': z.string().readonly().describe('Host name of the provider that lists the repository, compared without case.'),
2064
+ 'owner': z.string().readonly().describe('Owner or namespace; nested groups of a GitLab project stay in it.'),
2065
+ 'name': z.string().readonly().describe('Repository name.'),
1830
2066
  })]))
1831
2067
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMarkReady_parameter_0_strict$schema$value
1832
2068
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMarkReady_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMarkReady_parameter_0_strict$schema$value ??= z.string())
@@ -1855,6 +2091,16 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandi
1855
2091
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_0_strict$schema$value ??= z.string())
1856
2092
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_1_strict$schema$value
1857
2093
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewReviewerCandidates_parameter_1_strict$schema$value ??= z.string())
2094
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0_strict$schema$value
2095
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0_strict$schema$value ??= z.string())
2096
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1_strict$schema$value
2097
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1_strict$schema$value ??= z.union([z.strictObject({
2098
+ 'enabled': z.literal(true).readonly(),
2099
+ 'method': z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly(),
2100
+ 'headSha': z.string().readonly(),
2101
+ }), z.strictObject({
2102
+ 'enabled': z.literal(false).readonly(),
2103
+ })]))
1858
2104
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0_strict$schema$value
1859
2105
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_0_strict$schema$value ??= z.string())
1860
2106
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_parameter_1_strict$schema$value
@@ -1963,6 +2209,18 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewViewed_parame
1963
2209
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewViewed_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewViewed_parameter_2_strict$schema$value ??= z.boolean())
1964
2210
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0_strict$schema$value
1965
2211
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_revisit_parameter_0_strict$schema$value ??= z.string())
2212
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0_strict$schema$value
2213
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0_strict$schema$value ??= z.string())
2214
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1_strict$schema$value
2215
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1_strict$schema$value ??= z.string())
2216
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2_strict$schema$value
2217
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2_strict$schema$value ??= z.union([z.strictObject({
2218
+ 'enabled': z.literal(true).readonly(),
2219
+ 'method': z.union([z.literal("merge"), z.literal("squash"), z.literal("rebase")]).readonly(),
2220
+ 'headSha': z.string().readonly(),
2221
+ }), z.strictObject({
2222
+ 'enabled': z.literal(false).readonly(),
2223
+ })]))
1966
2224
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema$value
1967
2225
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema$value ??= z.string())
1968
2226
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1_strict$schema$value
@@ -2059,7 +2317,7 @@ const $remote = createTypertRemoteInfo({
2059
2317
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema,
2060
2318
  jsonSchemaError: 'typert tool schema: unsupported void value',
2061
2319
  },
2062
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1242,"column":9},
2320
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1398,"column":9},
2063
2321
  },
2064
2322
  'forgePanel/changeRequestChecks': {
2065
2323
  service: 'forgePanel',
@@ -2126,9 +2384,9 @@ const $remote = createTypertRemoteInfo({
2126
2384
  typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ChangeRequestSnapshot',
2127
2385
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema,
2128
2386
  description: 'the complete snapshot at the displayed head.',
2129
- jsonSchema: {"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"Change request the snapshot describes."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author login, or null when the host hides it."},"headBranch":{"type":"string","description":"Branch that carries the proposed commits."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"baseBranch":{"type":"string","description":"Branch the change request merges into."},"baseSha":{"type":"string","description":"Base commit the host recorded with `headSha`, whose merge base with the head starts the change request's diff; omitted when the provider does not report it."},"additions":{"type":"number","description":"Lines the change request adds."},"deletions":{"type":"number","description":"Lines the change request deletes."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"mergeReady":{"type":"boolean","description":"Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch's merge rules."},"mergeMethods":{"type":"array","items":{"type":"string","enum":["merge","squash","rebase"]},"description":"Merge methods the repository accepts, the signed-in user's usual one first."},"branchUpdates":{"type":"array","items":{"type":"string","enum":["merge","rebase"]},"description":"Ways the signed-in user can bring the base branch's new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"reviewers":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["user","bot","team"],"description":"Whether the reviewer is a person's account, an app or bot account, or a team."},"login":{"type":"string","description":"Login, or `organization/slug` for a team."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"requested":{"type":"boolean","description":"Whether a review from the reviewer is requested now."},"codeOwner":{"type":"boolean","description":"Whether the host requested the review because the reviewer owns changed paths."},"verdict":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["approved","dismissed","changes-requested","commented"]}],"description":"Outcome of the reviewer's latest submitted review, or null before the first."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the latest submitted review was on, or null before the first or when the host reports none."}},"required":["kind","login","avatarUrl","requested","codeOwner","verdict","reviewedSha"],"additionalProperties":true},"description":"Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed."},"reviewersTruncated":{"type":"boolean","description":"Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete."},"canRequestReviews":{"type":"boolean","description":"Whether the signed-in user may request reviews of the change request through its provider."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["pending","success","neutral","cancelled","failure","skipped"],"description":"Normalized check outcome."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page for the check, or null when the host reports none."},"workflow":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Workflow that produced the check, or null when the host reports none."},"startedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check started, or null before it starts and when the host reports none."},"completedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check completed, or null while it runs and when the host reports none."},"rerun":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Identity a rerun of this check names, or null when the provider cannot rerun it, as for a commit status. Checks that name one identity rerun together, and their failed checks can be rerun once none of them is pending."}},"required":["name","state","url","workflow","startedAt","completedAt","rerun"],"additionalProperties":true},"description":"Checks on the head commit in host order."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"checksTruncated":{"type":"boolean","description":"Whether the host reported more checks than `checks` contains."},"canRerunChecks":{"type":"boolean","description":"Whether the signed-in user may rerun the failed checks that name a `rerun`."},"unresolvedThreads":{"type":"number","description":"Number of counted review threads that are not resolved."},"threadsTruncated":{"type":"boolean","description":"Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues linked to the change request, which the host closes once it merges, in host order."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."},"closedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the change request was merged or closed, or null while it is open."}},"required":["ref","url","title","state","draft","author","headBranch","headSha","baseBranch","additions","deletions","mergeability","mergeReady","mergeMethods","branchUpdates","reviewDecision","reviewers","reviewersTruncated","canRequestReviews","checks","checksRollup","checksTruncated","canRerunChecks","unresolvedThreads","threadsTruncated","closingIssues","closingIssuesTruncated","updatedAt","closedAt"],"additionalProperties":true},
2387
+ jsonSchema: {"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"Change request the snapshot describes."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author login, or null when the host hides it."},"headBranch":{"type":"string","description":"Branch that carries the proposed commits."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"baseBranch":{"type":"string","description":"Branch the change request merges into."},"baseSha":{"type":"string","description":"Base commit the host recorded with `headSha`, whose merge base with the head starts the change request's diff; omitted when the provider does not report it."},"additions":{"type":"number","description":"Lines the change request adds."},"deletions":{"type":"number","description":"Lines the change request deletes."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"mergeReady":{"type":"boolean","description":"Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch's merge rules."},"mergeMethods":{"type":"array","items":{"type":"string","enum":["merge","squash","rebase"]},"description":"Merge methods the repository accepts, the signed-in user's usual one first."},"autoMerge":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the host merges the change request by itself once its merge requirements are met."},"method":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["merge","squash","rebase"]}],"description":"How the commits enter the base branch then, while enabled and the host names the method; null otherwise."},"enabledBy":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the account that turned it on, while enabled and the host names one; null otherwise."},"canEnable":{"type":"boolean","description":"Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on."},"canDisable":{"type":"boolean","description":"Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off."}},"required":["enabled","method","enabledBy","canEnable","canDisable"],"additionalProperties":true,"description":"How the change request stands with its host's automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge."},"branchUpdates":{"type":"array","items":{"type":"string","enum":["merge","rebase"]},"description":"Ways the signed-in user can bring the base branch's new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"reviewers":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["user","bot","team"],"description":"Whether the reviewer is a person's account, an app or bot account, or a team."},"login":{"type":"string","description":"Login, or `organization/slug` for a team."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"requested":{"type":"boolean","description":"Whether a review from the reviewer is requested now."},"codeOwner":{"type":"boolean","description":"Whether the host requested the review because the reviewer owns changed paths."},"verdict":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["approved","dismissed","changes-requested","commented"]}],"description":"Outcome of the reviewer's latest submitted review, or null before the first."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the latest submitted review was on, or null before the first or when the host reports none."}},"required":["kind","login","avatarUrl","requested","codeOwner","verdict","reviewedSha"],"additionalProperties":true},"description":"Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed."},"reviewersTruncated":{"type":"boolean","description":"Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete."},"canRequestReviews":{"type":"boolean","description":"Whether the signed-in user may request reviews of the change request through its provider."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["pending","success","neutral","cancelled","failure","skipped"],"description":"Normalized check outcome."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page for the check, or null when the host reports none."},"workflow":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Workflow that produced the check, or null when the host reports none."},"startedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check started, or null before it starts and when the host reports none."},"completedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check completed, or null while it runs and when the host reports none."},"rerun":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Identity a rerun of this check names, or null when the provider cannot rerun it, as for a commit status. Checks that name one identity rerun together, and their failed checks can be rerun once none of them is pending."}},"required":["name","state","url","workflow","startedAt","completedAt","rerun"],"additionalProperties":true},"description":"Checks on the head commit in host order."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"checksTruncated":{"type":"boolean","description":"Whether the host reported more checks than `checks` contains."},"canRerunChecks":{"type":"boolean","description":"Whether the signed-in user may rerun the failed checks that name a `rerun`."},"unresolvedThreads":{"type":"number","description":"Number of counted review threads that are not resolved."},"threadsTruncated":{"type":"boolean","description":"Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues linked to the change request, which the host closes once it merges, in host order."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."},"closedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the change request was merged or closed, or null while it is open."}},"required":["ref","url","title","state","draft","author","headBranch","headSha","baseBranch","additions","deletions","mergeability","mergeReady","mergeMethods","branchUpdates","reviewDecision","reviewers","reviewersTruncated","canRequestReviews","checks","checksRollup","checksTruncated","canRerunChecks","unresolvedThreads","threadsTruncated","closingIssues","closingIssuesTruncated","updatedAt","closedAt"],"additionalProperties":true},
2130
2388
  },
2131
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":829,"column":9},
2389
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":966,"column":9},
2132
2390
  },
2133
2391
  'forgePanel/changeRequestCommits': {
2134
2392
  service: 'forgePanel',
@@ -2180,7 +2438,7 @@ const $remote = createTypertRemoteInfo({
2180
2438
  description: 'the commits oldest first with the head they were read at, or null when the provider does not read commits.',
2181
2439
  jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the list was read at."},"commits":{"type":"array","items":{"type":"object","properties":{"sha":{"type":"string","description":"Full commit object name."},"parent":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Full object name of the first parent, or null for a root commit."},"title":{"type":"string","description":"First line of the commit message."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author name or login as the host reports it, or null when it reports none."},"authoredAt":{"type":"string","description":"ISO 8601 time the commit was authored."}},"required":["sha","parent","title","author","authoredAt"],"additionalProperties":true},"description":"Commits oldest first, ending with the head commit unless `truncated`."},"truncated":{"type":"boolean","description":"Whether the change request has more commits than the provider lists; the listed ones are the oldest."}},"required":["headSha","commits","truncated"],"additionalProperties":true}]},
2182
2440
  },
2183
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":845,"column":9},
2441
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":982,"column":9},
2184
2442
  },
2185
2443
  'forgePanel/changeRequestDiff': {
2186
2444
  service: 'forgePanel',
@@ -2249,7 +2507,7 @@ const $remote = createTypertRemoteInfo({
2249
2507
  description: 'the files, the commit they end at, each file\'s web page, and the commits the checkout has beyond the head.',
2250
2508
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
2251
2509
  },
2252
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":874,"column":9},
2510
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1011,"column":9},
2253
2511
  },
2254
2512
  'forgePanel/changeRequestReview': {
2255
2513
  service: 'forgePanel',
@@ -2335,7 +2593,7 @@ const $remote = createTypertRemoteInfo({
2335
2593
  description: 'the threads at `headSha`, with `current` positions numbering the files of that diff.',
2336
2594
  jsonSchema: {"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the threads were read at; `current` positions number its files."},"viewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the signed-in user the provider read as, or null when the host does not name one."},"threads":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the thread."},"path":{"type":"string","description":"Repository-relative path the thread is on."},"side":{"type":"string","enum":["L","R"],"description":"Old (`L`) or new (`R`) side of the diff the lines number."},"subject":{"type":"string","enum":["file","line"],"description":"Whether the thread is on lines or on the whole file."},"current":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"commit":{"type":"string","description":"Full object name of the commit the diff's new side shows: new-side (`R`) lines number this commit's file, and old-side (`L`) lines number the file at the diff's base."},"startLine":{"type":"number","description":"First line, inclusive."},"endLine":{"type":"number","description":"Last line, inclusive."}},"required":["commit","startLine","endLine"],"additionalProperties":true}],"description":"Lines in the diff that ends at the head commit of the read, whose `commit` is that head; null for an outdated or file thread."},"original":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"commit":{"type":"string","description":"Full object name of the commit the diff's new side shows: new-side (`R`) lines number this commit's file, and old-side (`L`) lines number the file at the diff's base."},"startLine":{"type":"number","description":"First line, inclusive."},"endLine":{"type":"number","description":"Last line, inclusive."}},"required":["commit","startLine","endLine"],"additionalProperties":true}],"description":"Lines in the diff that ended at a commit whose file holds the lines as the thread was written on them: the commit the thread was written on, or a later one the host carried the thread to while the lines stayed unchanged; null for a file thread."},"diffHunk":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Diff hunk the host recorded when the thread was written, ending at its last line; null when it recorded none."},"resolved":{"type":"boolean","description":"Whether the thread is marked resolved."},"viewerCanReply":{"type":"boolean","description":"Whether the signed-in user can reply to the thread through `writeReview`; false for a provider without it."},"viewerCanResolve":{"type":"boolean","description":"Whether the signed-in user can mark the thread resolved, or unresolved when `resolved`, through `writeReview`; false for a provider without it."},"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the comment."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the account no longer exists."},"body":{"type":"string","description":"Markdown source as the author wrote it; it may contain raw HTML, which readers must not render as HTML."},"createdAt":{"type":"string","description":"ISO 8601 time the comment was created."},"pending":{"type":"boolean","description":"Whether the comment belongs to the signed-in user's review that is not submitted yet, which only that user sees."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page of the comment, or null when the host reports none."},"viewerCanEdit":{"type":"boolean","description":"Whether the signed-in user can replace the comment's text through `writeReview`; false for a provider without it."},"viewerCanDelete":{"type":"boolean","description":"Whether the signed-in user can delete the comment through `writeReview`; false for a provider without it."}},"required":["id","author","body","createdAt","pending","url","viewerCanEdit","viewerCanDelete"],"additionalProperties":true},"description":"Comments oldest first; the first starts the thread."}},"required":["id","path","side","subject","current","original","diffHunk","resolved","viewerCanReply","viewerCanResolve","comments"],"additionalProperties":true},"description":"Threads in host order, at most the provider's limit."},"truncated":{"type":"boolean","description":"Whether the change request has more threads than `threads` holds."},"pendingReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the review."},"comments":{"type":"number","description":"Comments the review holds."}},"required":["id","comments"],"additionalProperties":true}],"description":"The signed-in user's pending review, or null without one."},"viewerCanReview":{"type":"boolean","description":"Whether the signed-in user can add comments to a pending review and submit or discard it through `writeReview`; false for a provider without it."},"reviewEvents":{"type":"array","items":{"type":"string","enum":["comment","approve","request-changes"]},"description":"Decisions the host lets the signed-in user record in a submitted review of this change request, such as only `comment` on their own pull request on GitHub; empty when `viewerCanReview` is false."}},"required":["headSha","viewer","threads","truncated","pendingReview","viewerCanReview","reviewEvents"],"additionalProperties":true},
2337
2595
  },
2338
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1048,"column":9},
2596
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1185,"column":9},
2339
2597
  },
2340
2598
  'forgePanel/changeRequestReviewWrite': {
2341
2599
  service: 'forgePanel',
@@ -2404,7 +2662,7 @@ const $remote = createTypertRemoteInfo({
2404
2662
  description: 'whether the host took the write; `stale` once the head moved, which polls the change request again, and `unknown` when the outcome must be checked on the host before the write is tried again.',
2405
2663
  jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","enum":["failed","unknown","stale","unsupported"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
2406
2664
  },
2407
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1082,"column":9},
2665
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1219,"column":9},
2408
2666
  },
2409
2667
  'forgePanel/changeRequestStates': {
2410
2668
  service: 'forgePanel',
@@ -2421,7 +2679,7 @@ const $remote = createTypertRemoteInfo({
2421
2679
  description: 'frames in publication order.',
2422
2680
  jsonSchema: {"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"baseline"},"states":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"url":{"type":"string","description":"Web page of the change request."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"number":{"type":"number","description":"Change request number on its code host."}},"required":["title","state","url","draft","checksRollup","reviewDecision","mergeability","number"],"additionalProperties":true}}},"required":["type","states"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"changed"},"states":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"url":{"type":"string","description":"Web page of the change request."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"number":{"type":"number","description":"Change request number on its code host."}},"required":["title","state","url","draft","checksRollup","reviewDecision","mergeability","number"],"additionalProperties":true}}},"required":["type","states"],"additionalProperties":true}]},
2423
2681
  },
2424
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":282,"column":10},
2682
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":303,"column":10},
2425
2683
  },
2426
2684
  'forgePanel/changeRequestText': {
2427
2685
  service: 'forgePanel',
@@ -2507,7 +2765,7 @@ const $remote = createTypertRemoteInfo({
2507
2765
  description: 'the text.',
2508
2766
  jsonSchema: {"type":"string"},
2509
2767
  },
2510
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":902,"column":9},
2768
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1039,"column":9},
2511
2769
  },
2512
2770
  'forgePanel/changeRequestViewed': {
2513
2771
  service: 'forgePanel',
@@ -2593,7 +2851,7 @@ const $remote = createTypertRemoteInfo({
2593
2851
  description: 'the marks at `headSha`, or null when the provider keeps no viewed marks.',
2594
2852
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
2595
2853
  },
2596
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1005,"column":9},
2854
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1142,"column":9},
2597
2855
  },
2598
2856
  'forgePanel/changesLens': {
2599
2857
  service: 'forgePanel',
@@ -2628,13 +2886,13 @@ const $remote = createTypertRemoteInfo({
2628
2886
  mode: 'strict',
2629
2887
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLensRequest',
2630
2888
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_parameter_1$schema,
2631
- jsonSchema: {"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local"},"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":true}]}},"required":["kind","scope"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"change"},"url":{"type":"string"},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","url","commits"],"additionalProperties":true}],"description":"The view's source: local changes in a scope, or a binding URL with its chosen commits."},"version":{"type":"string","description":"`lensVersion` of the files the view shows; files read since with another version refuse the request."},"lens":{"type":"string","description":"Identity of the registered lens."}},"required":["source","version","lens"],"additionalProperties":true},
2889
+ jsonSchema: {"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local"},"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true}]}},"required":["kind","scope"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"change"},"url":{"type":"string"},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","url","commits"],"additionalProperties":true}],"description":"The view's source: local changes in a scope, or a binding URL with its chosen commits."},"version":{"type":"string","description":"`lensVersion` of the files the view shows; files read since with another version refuse the request."},"lens":{"type":"string","description":"Identity of the registered lens."}},"required":["source","version","lens"],"additionalProperties":true},
2632
2890
  },
2633
2891
  strictCodec: {
2634
2892
  mode: 'strict',
2635
2893
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLensRequest',
2636
2894
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changesLens_parameter_1_strict$schema,
2637
- jsonSchema: {"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local"},"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":false}]}},"required":["kind","scope"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"change"},"url":{"type":"string"},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","url","commits"],"additionalProperties":false}],"description":"The view's source: local changes in a scope, or a binding URL with its chosen commits."},"version":{"type":"string","description":"`lensVersion` of the files the view shows; files read since with another version refuse the request."},"lens":{"type":"string","description":"Identity of the registered lens."}},"required":["source","version","lens"],"additionalProperties":false},
2895
+ jsonSchema: {"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local"},"scope":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false}]}},"required":["kind","scope"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"change"},"url":{"type":"string"},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","url","commits"],"additionalProperties":false}],"description":"The view's source: local changes in a scope, or a binding URL with its chosen commits."},"version":{"type":"string","description":"`lensVersion` of the files the view shows; files read since with another version refuse the request."},"lens":{"type":"string","description":"Identity of the registered lens."}},"required":["source","version","lens"],"additionalProperties":false},
2638
2896
  },
2639
2897
  },
2640
2898
  ],
@@ -2646,7 +2904,7 @@ const $remote = createTypertRemoteInfo({
2646
2904
  description: 'progress frames, then one result frame.',
2647
2905
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
2648
2906
  },
2649
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":948,"column":10},
2907
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1085,"column":10},
2650
2908
  },
2651
2909
  'forgePanel/continueInProject': {
2652
2910
  service: 'forgePanel',
@@ -2680,11 +2938,11 @@ const $remote = createTypertRemoteInfo({
2680
2938
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema,
2681
2939
  jsonSchemaError: 'typert tool schema: unsupported void value',
2682
2940
  },
2683
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1326,"column":9},
2941
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1482,"column":9},
2684
2942
  },
2685
2943
  'forgePanel/diffBases': {
2686
2944
  service: 'forgePanel',
2687
- description: 'List the branches the `branch` scope of the Session\'s current checkout can compare with.',
2945
+ description: 'List the branches the `branch` scope can compare with, for the Session\'s current checkout or for a head branch read in its place.',
2688
2946
  invocation: { kind: 'direct' },
2689
2947
  parameters: [
2690
2948
  {
@@ -2706,6 +2964,23 @@ const $remote = createTypertRemoteInfo({
2706
2964
  jsonSchema: {"type":"string"},
2707
2965
  },
2708
2966
  },
2967
+ {
2968
+ name: 'head',
2969
+ description: 'full ref of the branch the scope reads in place of the checked-out one, or null for the checkout.',
2970
+ source: 'json',
2971
+ codec: {
2972
+ mode: 'strict',
2973
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:head',
2974
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema,
2975
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
2976
+ },
2977
+ strictCodec: {
2978
+ mode: 'strict',
2979
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:head',
2980
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema,
2981
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
2982
+ },
2983
+ },
2709
2984
  {
2710
2985
  name: 'query',
2711
2986
  description: 'text the branch names must contain, ignoring case; empty for every branch.',
@@ -2713,13 +2988,13 @@ const $remote = createTypertRemoteInfo({
2713
2988
  codec: {
2714
2989
  mode: 'strict',
2715
2990
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:query',
2716
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema,
2991
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2$schema,
2717
2992
  jsonSchema: {"type":"string"},
2718
2993
  },
2719
2994
  strictCodec: {
2720
2995
  mode: 'strict',
2721
2996
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:query',
2722
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema,
2997
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_2_strict$schema,
2723
2998
  jsonSchema: {"type":"string"},
2724
2999
  },
2725
3000
  },
@@ -2729,10 +3004,10 @@ const $remote = createTypertRemoteInfo({
2729
3004
  mode: 'strict',
2730
3005
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeBaseBranches',
2731
3006
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema,
2732
- description: 'the automatic fork point and at most `maxBranches` remote-tracking and local branches each, most recently committed first, without the checked-out branch.',
2733
- jsonSchema: {"type":"object","properties":{"automatic":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"name":{"type":"string","description":"The created worktree's base branch or abbreviated base commit, or the default branch of the code host remote."},"worktree":{"type":"boolean","description":"Whether the fork point is the base commit of the worktree the Session created rather than a merge base."}},"required":["name","worktree"],"additionalProperties":true}],"description":"The fork point used while no base branch is chosen, whatever the query; null without one."},"remote":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true},"description":"Remote-tracking branches without symbolic refs such as `origin/HEAD`, most recently committed first, at most `maxBranches`."},"local":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true},"description":"Local branches other than the checked-out one, most recently committed first, at most `maxBranches`."}},"required":["automatic","remote","local"],"additionalProperties":true},
3007
+ description: 'the automatic fork point and at most `maxBranches` remote-tracking and local branches each, most recently committed first, without the branch the scope shows and, for a head, without the Session\'s checked-out branch, which the automatic fork point compares with; a local branch that a worktree has checked out names that worktree\'s directory.',
3008
+ jsonSchema: {"type":"object","properties":{"automatic":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"name":{"type":"string","description":"The created worktree's base branch or abbreviated base commit, or the default branch of the code host remote; for a scope with a `head`, the Session's checked-out branch, or its abbreviated HEAD commit when detached."},"worktree":{"type":"boolean","description":"Whether the fork point is the base commit of the worktree the Session created rather than a merge base."}},"required":["name","worktree"],"additionalProperties":true}],"description":"The fork point used while no base branch is chosen, whatever the query; null without one."},"remote":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true},"description":"Remote-tracking branches without symbolic refs such as `origin/HEAD`, most recently committed first, at most `maxBranches`."},"local":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true},"description":"Local branches other than the one the scope shows, most recently committed first, at most `maxBranches`."}},"required":["automatic","remote","local"],"additionalProperties":true},
2734
3009
  },
2735
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":686,"column":9},
3010
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":787,"column":9},
2736
3011
  },
2737
3012
  'forgePanel/dismiss': {
2738
3013
  service: 'forgePanel',
@@ -2783,7 +3058,7 @@ const $remote = createTypertRemoteInfo({
2783
3058
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema,
2784
3059
  jsonSchemaError: 'typert tool schema: unsupported void value',
2785
3060
  },
2786
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":718,"column":9},
3061
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":819,"column":9},
2787
3062
  },
2788
3063
  'forgePanel/extensions': {
2789
3064
  service: 'forgePanel',
@@ -2800,7 +3075,7 @@ const $remote = createTypertRemoteInfo({
2800
3075
  description: 'the registered lenses and the annotation limit, in publication order.',
2801
3076
  jsonSchema: {"type":"object","properties":{"lenses":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Identity of the lens."},"version":{"type":"string","description":"The lens's `version`; a view does not reuse results of another version."}},"required":["id","version"],"additionalProperties":true},"description":"The registered lenses, in registration order."},"maxAnnotationsPerFile":{"type":"number","description":"Most line annotations a changes view shows in one file, across every annotation source."}},"required":["lenses","maxAnnotationsPerFile"],"additionalProperties":true},
2802
3077
  },
2803
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":928,"column":10},
3078
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1065,"column":10},
2804
3079
  },
2805
3080
  'forgePanel/follow': {
2806
3081
  service: 'forgePanel',
@@ -2836,11 +3111,61 @@ const $remote = createTypertRemoteInfo({
2836
3111
  description: 'panel states in publication order.',
2837
3112
  jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
2838
3113
  },
2839
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":265,"column":10},
3114
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":286,"column":10},
3115
+ },
3116
+ 'forgePanel/hostReadiness': {
3117
+ service: 'forgePanel',
3118
+ description: 'Report whether a provider reaches one of its hosts with the Host\'s current credentials, for the host list on the Plugins page of that provider\'s row. The read names no Session, so, like the review page reads, only callers that may use the Host\'s code host credentials reach it.',
3119
+ invocation: { kind: 'direct' },
3120
+ parameters: [
3121
+ {
3122
+ name: 'forge',
3123
+ description: 'forge family of a registered provider, such as `gitlab`.',
3124
+ source: 'json',
3125
+ codec: {
3126
+ mode: 'strict',
3127
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/hostReadiness:forge',
3128
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0$schema,
3129
+ jsonSchema: {"type":"string"},
3130
+ },
3131
+ strictCodec: {
3132
+ mode: 'strict',
3133
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/hostReadiness:forge',
3134
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_0_strict$schema,
3135
+ jsonSchema: {"type":"string"},
3136
+ },
3137
+ },
3138
+ {
3139
+ name: 'host',
3140
+ description: 'host name as the provider\'s configuration lists it.',
3141
+ source: 'json',
3142
+ codec: {
3143
+ mode: 'strict',
3144
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/hostReadiness:host',
3145
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1$schema,
3146
+ jsonSchema: {"type":"string"},
3147
+ },
3148
+ strictCodec: {
3149
+ mode: 'strict',
3150
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/hostReadiness:host',
3151
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_parameter_1_strict$schema,
3152
+ jsonSchema: {"type":"string"},
3153
+ },
3154
+ },
3155
+ ],
3156
+ cancellation: { parameter: 'signal' },
3157
+ result: {
3158
+ mode: 'strict',
3159
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReadiness',
3160
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_hostReadiness_result$schema,
3161
+ description: 'the provider\'s readiness for the host; `unavailable` with the reason when no provider serves the family, the probe fails, or it runs past `readinessTimeoutMs`.',
3162
+ jsonSchema: {"type":"object","properties":{"state":{"type":"string","enum":["unavailable","ready","unauthenticated"],"description":"`ready`, `unauthenticated` (sign-in needed), or `unavailable` (tool missing or host unreachable)."},"message":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Human-readable detail, or null when ready."},"signIn":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"command":{"type":"string"}},"required":["command"],"additionalProperties":true}],"description":"Shell command the user runs on the host to sign in, while `unauthenticated`; null otherwise or when the provider names none."}},"required":["state","message","signIn"],"additionalProperties":true},
3163
+ },
3164
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":360,"column":9},
2840
3165
  },
2841
3166
  'forgePanel/localCommits': {
2842
3167
  service: 'forgePanel',
2843
- description: 'List the commits of the `branch` scope of the Session\'s current checkout, which the changes view can show one or several of instead of the whole scope.',
3168
+ description: 'List the commits of the `branch` scope of the Session\'s current checkout or of a head branch read in its place, which the changes view can show one or several of instead of the whole scope.',
2844
3169
  invocation: { kind: 'direct' },
2845
3170
  parameters: [
2846
3171
  {
@@ -2862,6 +3187,23 @@ const $remote = createTypertRemoteInfo({
2862
3187
  jsonSchema: {"type":"string"},
2863
3188
  },
2864
3189
  },
3190
+ {
3191
+ name: 'head',
3192
+ description: 'full ref of the branch the scope reads in place of the checked-out one, or null for the checkout.',
3193
+ source: 'json',
3194
+ codec: {
3195
+ mode: 'strict',
3196
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:head',
3197
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema,
3198
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
3199
+ },
3200
+ strictCodec: {
3201
+ mode: 'strict',
3202
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:head',
3203
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema,
3204
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
3205
+ },
3206
+ },
2865
3207
  {
2866
3208
  name: 'base',
2867
3209
  description: 'the base ref of the `branch` scope, or null for its automatic fork point.',
@@ -2869,13 +3211,13 @@ const $remote = createTypertRemoteInfo({
2869
3211
  codec: {
2870
3212
  mode: 'strict',
2871
3213
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:base',
2872
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema,
3214
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2$schema,
2873
3215
  jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
2874
3216
  },
2875
3217
  strictCodec: {
2876
3218
  mode: 'strict',
2877
3219
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:base',
2878
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema,
3220
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_2_strict$schema,
2879
3221
  jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
2880
3222
  },
2881
3223
  },
@@ -2885,14 +3227,14 @@ const $remote = createTypertRemoteInfo({
2885
3227
  mode: 'strict',
2886
3228
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalCommits',
2887
3229
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema,
2888
- description: 'the newest `maxCommits` commits between the fork point and HEAD, oldest first, and HEAD\'s commit.',
3230
+ description: 'the newest `maxCommits` commits between the fork point and the shown HEAD or branch, oldest first, and its commit.',
2889
3231
  jsonSchema: {"type":"object","properties":{"headSha":{"type":"string","description":"HEAD commit the list was read at."},"commits":{"type":"array","items":{"type":"object","properties":{"sha":{"type":"string","description":"Full commit object name."},"parent":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Full object name of the first parent, or null for a root commit."},"title":{"type":"string","description":"First line of the commit message."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author name or login as the host reports it, or null when it reports none."},"authoredAt":{"type":"string","description":"ISO 8601 time the commit was authored."}},"required":["sha","parent","title","author","authoredAt"],"additionalProperties":true},"description":"Commits oldest first, ending with HEAD's commit."},"truncated":{"type":"boolean","description":"Whether the branch has more commits than `maxCommits`; the listed ones are the newest."}},"required":["headSha","commits","truncated"],"additionalProperties":true},
2890
3232
  },
2891
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":788,"column":9},
3233
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":894,"column":9},
2892
3234
  },
2893
3235
  'forgePanel/localDiff': {
2894
3236
  service: 'forgePanel',
2895
- description: 'Read the changes one scope covers in the checkout of the Session\'s current directory, with Git using the Session\'s sandbox policy.',
3237
+ description: 'Read the changes one scope covers in the checkout of the Session\'s current directory, or for the head branch the scope names: in the worktree that has it checked out, else from its commits. Git uses the Session\'s sandbox policy.',
2896
3238
  invocation: { kind: 'direct' },
2897
3239
  parameters: [
2898
3240
  {
@@ -2922,13 +3264,13 @@ const $remote = createTypertRemoteInfo({
2922
3264
  mode: 'strict',
2923
3265
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
2924
3266
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema,
2925
- jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":true}]},
3267
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true}]},
2926
3268
  },
2927
3269
  strictCodec: {
2928
3270
  mode: 'strict',
2929
3271
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
2930
3272
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema,
2931
- jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":false}]},
3273
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},
2932
3274
  },
2933
3275
  },
2934
3276
  ],
@@ -2937,14 +3279,14 @@ const $remote = createTypertRemoteInfo({
2937
3279
  mode: 'strict',
2938
3280
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalDiff',
2939
3281
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema,
2940
- description: 'the files, the base of the `branch` scope, and the untracked files left out.',
2941
- jsonSchema: {"type":"object","properties":{"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Ref or abbreviated commit the `branch` scope compares with, such as `origin/master`; null for other scopes."},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root after the change, or before it for a deleted file."},"previousPath":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Path before a rename, else null."},"status":{"type":"string","enum":["deleted","added","modified","renamed"],"description":"How the file changed."},"binary":{"type":"boolean","description":"Whether the content is binary, which carries no hunks."},"oversized":{"type":"boolean","description":"Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks."},"untracked":{"type":"boolean","description":"Whether Git does not track the file yet; only local diffs list such files."},"additions":{"type":"number","description":"Lines added."},"deletions":{"type":"number","description":"Lines deleted."},"hunks":{"type":"array","items":{"type":"object","properties":{"oldStart":{"type":"number","description":"First old line the hunk covers, or the old line it comes before when it covers none."},"oldLines":{"type":"number","description":"Old lines the hunk covers."},"newStart":{"type":"number","description":"First new line the hunk covers, or the new line it comes before when it covers none."},"newLines":{"type":"number","description":"New lines the hunk covers."},"lines":{"type":"array","items":{"type":"string"},"description":"Lines in patch form: a leading space for context, `+` for added, `-` for deleted, and `\\` for a missing final newline."}},"required":["oldStart","oldLines","newStart","newLines","lines"],"additionalProperties":true},"description":"Hunks in file order; none for a binary file or a change of mode or name only."},"layer":{"type":"string","enum":["interface","implementation","test"],"description":"Review layer the path falls in."},"digest":{"type":"string","description":"Digest of the file's change: its paths, status, and hunks, plus the blob names of a binary change, or the content of an untracked binary file. Equal digests describe the same change; reading the same comparison again keeps it."}},"required":["path","previousPath","status","binary","oversized","untracked","additions","deletions","hunks","layer","digest"],"additionalProperties":true},"description":"Changed files in Git's path order, untracked files last."},"omitted":{"type":"number","description":"Untracked files left out beyond `maxUntrackedFiles`."}},"required":["base","files","omitted"],"additionalProperties":true},
3282
+ description: 'the files, the base of the `branch` scope, the untracked files left out, and the worktree read for a head.',
3283
+ jsonSchema: {"type":"object","properties":{"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Ref or abbreviated commit the `branch` scope compares with, such as `origin/master`; null for other scopes."},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root after the change, or before it for a deleted file."},"previousPath":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Path before a rename, else null."},"status":{"type":"string","enum":["deleted","renamed","added","modified"],"description":"How the file changed."},"binary":{"type":"boolean","description":"Whether the content is binary, which carries no hunks."},"oversized":{"type":"boolean","description":"Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks."},"untracked":{"type":"boolean","description":"Whether Git does not track the file yet; only local diffs list such files."},"submodule":{"type":"boolean","description":"Whether the path is a submodule, whose change is the commit recorded for it and whose hunks hold no file content."},"additions":{"type":"number","description":"Lines added."},"deletions":{"type":"number","description":"Lines deleted."},"hunks":{"type":"array","items":{"type":"object","properties":{"oldStart":{"type":"number","description":"First old line the hunk covers, or the old line it comes before when it covers none."},"oldLines":{"type":"number","description":"Old lines the hunk covers."},"newStart":{"type":"number","description":"First new line the hunk covers, or the new line it comes before when it covers none."},"newLines":{"type":"number","description":"New lines the hunk covers."},"lines":{"type":"array","items":{"type":"string"},"description":"Lines in patch form: a leading space for context, `+` for added, `-` for deleted, and `\\` for a missing final newline."}},"required":["oldStart","oldLines","newStart","newLines","lines"],"additionalProperties":true},"description":"Hunks in file order; none for a binary file or a change of mode or name only."},"layer":{"type":"string","enum":["interface","implementation","test"],"description":"Review layer the path falls in."},"digest":{"type":"string","description":"Digest of the file's change: its paths, status, and hunks, plus the blob names of a binary change, or the content of an untracked binary file. Equal digests describe the same change; reading the same comparison again keeps it."}},"required":["path","previousPath","status","binary","oversized","untracked","submodule","additions","deletions","hunks","layer","digest"],"additionalProperties":true},"description":"Changed files in Git's path order, untracked files last."},"omitted":{"type":"number","description":"Untracked files left out beyond `maxUntrackedFiles`."},"worktree":{"type":"string","description":"Top-level directory of the worktree the scope read for its `head`; absent for the Session's own checkout and for a head read from its commits."}},"required":["base","files","omitted"],"additionalProperties":true},
2942
3284
  },
2943
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":766,"column":9},
3285
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":869,"column":9},
2944
3286
  },
2945
3287
  'forgePanel/localText': {
2946
3288
  service: 'forgePanel',
2947
- description: 'Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of the `branch` scope, else the working tree.',
3289
+ description: 'Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of the `branch` scope, the branch for a head read from its commits, else the working tree of the checkout the scope reads.',
2948
3290
  invocation: { kind: 'direct' },
2949
3291
  parameters: [
2950
3292
  {
@@ -2974,13 +3316,13 @@ const $remote = createTypertRemoteInfo({
2974
3316
  mode: 'strict',
2975
3317
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
2976
3318
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema,
2977
- jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":true}]},
3319
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":true}]}},"required":["kind","base","commits"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":true}]},
2978
3320
  },
2979
3321
  strictCodec: {
2980
3322
  mode: 'strict',
2981
3323
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
2982
3324
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema,
2983
- jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"}},"required":["kind"],"additionalProperties":false}]},
3325
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"},"head":{"type":"string"},"base":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"commits":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"from":{"type":"string","description":"First, oldest commit shown."},"to":{"type":"string","description":"Last, newest commit shown; equal to `from` for one commit."}},"required":["from","to"],"additionalProperties":false}]}},"required":["kind","base","commits"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"uncommitted"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstaged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"staged"},"head":{"type":"string"}},"required":["kind"],"additionalProperties":false}]},
2984
3326
  },
2985
3327
  },
2986
3328
  {
@@ -3009,7 +3351,59 @@ const $remote = createTypertRemoteInfo({
3009
3351
  description: 'the text.',
3010
3352
  jsonSchema: {"type":"string"},
3011
3353
  },
3012
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":812,"column":9},
3354
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":918,"column":9},
3355
+ },
3356
+ 'forgePanel/localWrite': {
3357
+ service: 'forgePanel',
3358
+ description: 'Stage, unstage, or restore whole files in the checkout of the Session\'s current directory, or return index entries to the tree an earlier write reported. The caller\'s press authorizes the write, so Git runs without the Session\'s sandbox policy and under any access mode. The Session\'s panel inspects the checkout again afterwards, whether or not the write succeeded.',
3359
+ invocation: { kind: 'direct' },
3360
+ parameters: [
3361
+ {
3362
+ name: 'session',
3363
+ wire: 'sessionId',
3364
+ description: 'Session whose checkout is written.',
3365
+ source: 'lookup',
3366
+ lookup: 'session',
3367
+ codec: {
3368
+ mode: 'strict',
3369
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
3370
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0$schema,
3371
+ jsonSchema: {"type":"string"},
3372
+ },
3373
+ strictCodec: {
3374
+ mode: 'strict',
3375
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
3376
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_0_strict$schema,
3377
+ jsonSchema: {"type":"string"},
3378
+ },
3379
+ },
3380
+ {
3381
+ name: 'write',
3382
+ description: 'the write; `stage` and `restore` name each file with the digest of the change the reader saw.',
3383
+ source: 'json',
3384
+ codec: {
3385
+ mode: 'strict',
3386
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalWrite',
3387
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1$schema,
3388
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"stage"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root, as the diff names it."},"digest":{"type":"string","description":"Digest of the change the reader saw."}},"required":["path","digest"],"additionalProperties":true}}},"required":["kind","files"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"unstage"},"paths":{"type":"array","items":{"type":"string"}}},"required":["kind","paths"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"restore"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root, as the diff names it."},"digest":{"type":"string","description":"Digest of the change the reader saw."}},"required":["path","digest"],"additionalProperties":true}}},"required":["kind","files"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"reindex"},"tree":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}},"required":["kind","tree","paths"],"additionalProperties":true}]},
3389
+ },
3390
+ strictCodec: {
3391
+ mode: 'strict',
3392
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalWrite',
3393
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_parameter_1_strict$schema,
3394
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"stage"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root, as the diff names it."},"digest":{"type":"string","description":"Digest of the change the reader saw."}},"required":["path","digest"],"additionalProperties":false}}},"required":["kind","files"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unstage"},"paths":{"type":"array","items":{"type":"string"}}},"required":["kind","paths"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"restore"},"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Path relative to the repository root, as the diff names it."},"digest":{"type":"string","description":"Digest of the change the reader saw."}},"required":["path","digest"],"additionalProperties":false}}},"required":["kind","files"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reindex"},"tree":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}},"required":["kind","tree","paths"],"additionalProperties":false}]},
3395
+ },
3396
+ },
3397
+ ],
3398
+ cancellation: { parameter: 'signal' },
3399
+ result: {
3400
+ mode: 'strict',
3401
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalWriteResult',
3402
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localWrite_result$schema,
3403
+ description: 'the index before a `stage` or `unstage` as a tree, for undoing it.',
3404
+ jsonSchema: {"type":"object","properties":{"undo":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Object name of the index as a tree before a `stage` or `unstage`, which a `reindex` of the same paths returns to; null for other writes and while the index holds unmerged entries."}},"required":["undo"],"additionalProperties":true},
3405
+ },
3406
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":940,"column":9},
3013
3407
  },
3014
3408
  'forgePanel/markReady': {
3015
3409
  service: 'forgePanel',
@@ -3060,7 +3454,7 @@ const $remote = createTypertRemoteInfo({
3060
3454
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema,
3061
3455
  jsonSchemaError: 'typert tool schema: unsupported void value',
3062
3456
  },
3063
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1099,"column":9},
3457
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1236,"column":9},
3064
3458
  },
3065
3459
  'forgePanel/merge': {
3066
3460
  service: 'forgePanel',
@@ -3145,7 +3539,7 @@ const $remote = createTypertRemoteInfo({
3145
3539
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema,
3146
3540
  jsonSchemaError: 'typert tool schema: unsupported void value',
3147
3541
  },
3148
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1118,"column":9},
3542
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1255,"column":9},
3149
3543
  },
3150
3544
  'forgePanel/refresh': {
3151
3545
  service: 'forgePanel',
@@ -3178,7 +3572,7 @@ const $remote = createTypertRemoteInfo({
3178
3572
  description: 'settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.',
3179
3573
  jsonSchemaError: 'typert tool schema: unsupported void value',
3180
3574
  },
3181
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":731,"column":9},
3575
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":832,"column":9},
3182
3576
  },
3183
3577
  'forgePanel/requestReviews': {
3184
3578
  service: 'forgePanel',
@@ -3246,7 +3640,7 @@ const $remote = createTypertRemoteInfo({
3246
3640
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_result$schema,
3247
3641
  jsonSchemaError: 'typert tool schema: unsupported void value',
3248
3642
  },
3249
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1155,"column":9},
3643
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1311,"column":9},
3250
3644
  },
3251
3645
  'forgePanel/requestWorktree': {
3252
3646
  service: 'forgePanel',
@@ -3314,7 +3708,7 @@ const $remote = createTypertRemoteInfo({
3314
3708
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema,
3315
3709
  jsonSchemaError: 'typert tool schema: unsupported void value',
3316
3710
  },
3317
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1218,"column":9},
3711
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1374,"column":9},
3318
3712
  },
3319
3713
  'forgePanel/rerunChecks': {
3320
3714
  service: 'forgePanel',
@@ -3382,7 +3776,7 @@ const $remote = createTypertRemoteInfo({
3382
3776
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_result$schema,
3383
3777
  jsonSchemaError: 'typert tool schema: unsupported void value',
3384
3778
  },
3385
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1137,"column":9},
3779
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1293,"column":9},
3386
3780
  },
3387
3781
  'forgePanel/restoreWorktree': {
3388
3782
  service: 'forgePanel',
@@ -3416,7 +3810,7 @@ const $remote = createTypertRemoteInfo({
3416
3810
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema,
3417
3811
  jsonSchemaError: 'typert tool schema: unsupported void value',
3418
3812
  },
3419
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1295,"column":9},
3813
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1451,"column":9},
3420
3814
  },
3421
3815
  'forgePanel/retryWorktree': {
3422
3816
  service: 'forgePanel',
@@ -3467,7 +3861,40 @@ const $remote = createTypertRemoteInfo({
3467
3861
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema,
3468
3862
  jsonSchemaError: 'typert tool schema: unsupported void value',
3469
3863
  },
3470
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1274,"column":9},
3864
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1430,"column":9},
3865
+ },
3866
+ 'forgePanel/reviewActivity': {
3867
+ service: 'forgePanel',
3868
+ description: 'Read the activity of a change request for the review page: its comments, submitted reviews, commits, and changes of state.',
3869
+ invocation: { kind: 'direct' },
3870
+ parameters: [
3871
+ {
3872
+ name: 'url',
3873
+ description: 'web URL of the change request.',
3874
+ source: 'json',
3875
+ codec: {
3876
+ mode: 'strict',
3877
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewActivity:url',
3878
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0$schema,
3879
+ jsonSchema: {"type":"string"},
3880
+ },
3881
+ strictCodec: {
3882
+ mode: 'strict',
3883
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewActivity:url',
3884
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_parameter_0_strict$schema,
3885
+ jsonSchema: {"type":"string"},
3886
+ },
3887
+ },
3888
+ ],
3889
+ cancellation: { parameter: 'signal' },
3890
+ result: {
3891
+ mode: 'strict',
3892
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewActivity:result',
3893
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewActivity_result$schema,
3894
+ description: 'the activity, or null when the change request\'s provider reads none.',
3895
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"items":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"comment"},"body":{"type":"string"},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["at","actor","kind","body","url"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"review"},"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"]},"body":{"type":"string"},"comments":{"type":"number"},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["at","actor","kind","verdict","body","comments","url"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"commit"},"sha":{"type":"string"},"title":{"type":"string"}},"required":["at","actor","kind","sha","title"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","enum":["closed","merged","reopened","ready-for-review","converted-to-draft","force-pushed"]}},"required":["at","actor","kind"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","enum":["auto-merge-enabled","auto-merge-disabled"]}},"required":["at","actor","kind"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"review-requested"},"reviewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["at","actor","kind","reviewer"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"renamed"},"from":{"type":"string"},"to":{"type":"string"}},"required":["at","actor","kind","from","to"],"additionalProperties":true},{"type":"object","properties":{"at":{"type":"string","description":"ISO 8601 time of the entry."},"actor":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Account the entry is by, or null when the host names none or the account no longer exists."},"kind":{"type":"string","const":"other"},"text":{"type":"string"}},"required":["at","actor","kind","text"],"additionalProperties":true}]},"description":"Entries oldest first, at most the provider's limit; the latest ones when the change request has more."},"truncated":{"type":"boolean","description":"Whether the change request has entries older than `items` holds."},"viewerCanComment":{"type":"boolean","description":"Whether the signed-in user can add a comment through `addComment`; false for a provider without it."}},"required":["items","truncated","viewerCanComment"],"additionalProperties":true}]},
3896
+ },
3897
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":449,"column":9},
3471
3898
  },
3472
3899
  'forgePanel/reviewChangeRequest': {
3473
3900
  service: 'forgePanel',
@@ -3501,7 +3928,7 @@ const $remote = createTypertRemoteInfo({
3501
3928
  description: 'frames, each complete.',
3502
3929
  jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
3503
3930
  },
3504
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":350,"column":10},
3931
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":395,"column":10},
3505
3932
  },
3506
3933
  'forgePanel/reviewChecks': {
3507
3934
  service: 'forgePanel',
@@ -3549,9 +3976,58 @@ const $remote = createTypertRemoteInfo({
3549
3976
  typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ChangeRequestSnapshot',
3550
3977
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewChecks_result$schema,
3551
3978
  description: 'the snapshot with every check.',
3552
- jsonSchema: {"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"Change request the snapshot describes."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author login, or null when the host hides it."},"headBranch":{"type":"string","description":"Branch that carries the proposed commits."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"baseBranch":{"type":"string","description":"Branch the change request merges into."},"baseSha":{"type":"string","description":"Base commit the host recorded with `headSha`, whose merge base with the head starts the change request's diff; omitted when the provider does not report it."},"additions":{"type":"number","description":"Lines the change request adds."},"deletions":{"type":"number","description":"Lines the change request deletes."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"mergeReady":{"type":"boolean","description":"Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch's merge rules."},"mergeMethods":{"type":"array","items":{"type":"string","enum":["merge","squash","rebase"]},"description":"Merge methods the repository accepts, the signed-in user's usual one first."},"branchUpdates":{"type":"array","items":{"type":"string","enum":["merge","rebase"]},"description":"Ways the signed-in user can bring the base branch's new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"reviewers":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["user","bot","team"],"description":"Whether the reviewer is a person's account, an app or bot account, or a team."},"login":{"type":"string","description":"Login, or `organization/slug` for a team."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"requested":{"type":"boolean","description":"Whether a review from the reviewer is requested now."},"codeOwner":{"type":"boolean","description":"Whether the host requested the review because the reviewer owns changed paths."},"verdict":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["approved","dismissed","changes-requested","commented"]}],"description":"Outcome of the reviewer's latest submitted review, or null before the first."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the latest submitted review was on, or null before the first or when the host reports none."}},"required":["kind","login","avatarUrl","requested","codeOwner","verdict","reviewedSha"],"additionalProperties":true},"description":"Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed."},"reviewersTruncated":{"type":"boolean","description":"Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete."},"canRequestReviews":{"type":"boolean","description":"Whether the signed-in user may request reviews of the change request through its provider."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["pending","success","neutral","cancelled","failure","skipped"],"description":"Normalized check outcome."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page for the check, or null when the host reports none."},"workflow":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Workflow that produced the check, or null when the host reports none."},"startedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check started, or null before it starts and when the host reports none."},"completedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check completed, or null while it runs and when the host reports none."},"rerun":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Identity a rerun of this check names, or null when the provider cannot rerun it, as for a commit status. Checks that name one identity rerun together, and their failed checks can be rerun once none of them is pending."}},"required":["name","state","url","workflow","startedAt","completedAt","rerun"],"additionalProperties":true},"description":"Checks on the head commit in host order."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"checksTruncated":{"type":"boolean","description":"Whether the host reported more checks than `checks` contains."},"canRerunChecks":{"type":"boolean","description":"Whether the signed-in user may rerun the failed checks that name a `rerun`."},"unresolvedThreads":{"type":"number","description":"Number of counted review threads that are not resolved."},"threadsTruncated":{"type":"boolean","description":"Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues linked to the change request, which the host closes once it merges, in host order."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."},"closedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the change request was merged or closed, or null while it is open."}},"required":["ref","url","title","state","draft","author","headBranch","headSha","baseBranch","additions","deletions","mergeability","mergeReady","mergeMethods","branchUpdates","reviewDecision","reviewers","reviewersTruncated","canRequestReviews","checks","checksRollup","checksTruncated","canRerunChecks","unresolvedThreads","threadsTruncated","closingIssues","closingIssuesTruncated","updatedAt","closedAt"],"additionalProperties":true},
3979
+ jsonSchema: {"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"Change request the snapshot describes."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed","merged"],"description":"Lifecycle state."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author login, or null when the host hides it."},"headBranch":{"type":"string","description":"Branch that carries the proposed commits."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"baseBranch":{"type":"string","description":"Branch the change request merges into."},"baseSha":{"type":"string","description":"Base commit the host recorded with `headSha`, whose merge base with the head starts the change request's diff; omitted when the provider does not report it."},"additions":{"type":"number","description":"Lines the change request adds."},"deletions":{"type":"number","description":"Lines the change request deletes."},"mergeability":{"type":"string","enum":["unknown","mergeable","conflicting"],"description":"Merge conflict status; `unknown` while the host computes it."},"mergeReady":{"type":"boolean","description":"Whether the host would merge the change request now for the signed-in user: open, not a draft, and meeting the base branch's merge rules."},"mergeMethods":{"type":"array","items":{"type":"string","enum":["merge","squash","rebase"]},"description":"Merge methods the repository accepts, the signed-in user's usual one first."},"autoMerge":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the host merges the change request by itself once its merge requirements are met."},"method":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["merge","squash","rebase"]}],"description":"How the commits enter the base branch then, while enabled and the host names the method; null otherwise."},"enabledBy":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the account that turned it on, while enabled and the host names one; null otherwise."},"canEnable":{"type":"boolean","description":"Whether the signed-in user can turn it on now through `setAutoMerge`; false while it is on."},"canDisable":{"type":"boolean","description":"Whether the signed-in user can turn it off now through `setAutoMerge`; false while it is off."}},"required":["enabled","method","enabledBy","canEnable","canDisable"],"additionalProperties":true,"description":"How the change request stands with its host's automatic merge; omitted by a provider that sets none, whose change requests then offer no automatic merge."},"branchUpdates":{"type":"array","items":{"type":"string","enum":["merge","rebase"]},"description":"Ways the signed-in user can bring the base branch's new commits into the head branch now; empty while the head is up to date, while the branches conflict, when the user cannot update the head branch, or when the provider cannot, so a head behind its base cannot be told apart from a current one for a user without the right to update it."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"reviewers":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["user","bot","team"],"description":"Whether the reviewer is a person's account, an app or bot account, or a team."},"login":{"type":"string","description":"Login, or `organization/slug` for a team."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"requested":{"type":"boolean","description":"Whether a review from the reviewer is requested now."},"codeOwner":{"type":"boolean","description":"Whether the host requested the review because the reviewer owns changed paths."},"verdict":{"oneOf":[{"type":"null","const":null},{"type":"string","enum":["approved","dismissed","changes-requested","commented"]}],"description":"Outcome of the reviewer's latest submitted review, or null before the first."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the latest submitted review was on, or null before the first or when the host reports none."}},"required":["kind","login","avatarUrl","requested","codeOwner","verdict","reviewedSha"],"additionalProperties":true},"description":"Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed."},"reviewersTruncated":{"type":"boolean","description":"Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete."},"canRequestReviews":{"type":"boolean","description":"Whether the signed-in user may request reviews of the change request through its provider."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["pending","success","neutral","cancelled","failure","skipped"],"description":"Normalized check outcome."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page for the check, or null when the host reports none."},"workflow":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Workflow that produced the check, or null when the host reports none."},"startedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check started, or null before it starts and when the host reports none."},"completedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the check completed, or null while it runs and when the host reports none."},"rerun":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Identity a rerun of this check names, or null when the provider cannot rerun it, as for a commit status. Checks that name one identity rerun together, and their failed checks can be rerun once none of them is pending."}},"required":["name","state","url","workflow","startedAt","completedAt","rerun"],"additionalProperties":true},"description":"Checks on the head commit in host order."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome."},"checksTruncated":{"type":"boolean","description":"Whether the host reported more checks than `checks` contains."},"canRerunChecks":{"type":"boolean","description":"Whether the signed-in user may rerun the failed checks that name a `rerun`."},"unresolvedThreads":{"type":"number","description":"Number of counted review threads that are not resolved."},"threadsTruncated":{"type":"boolean","description":"Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues linked to the change request, which the host closes once it merges, in host order."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."},"closedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"ISO 8601 time the change request was merged or closed, or null while it is open."}},"required":["ref","url","title","state","draft","author","headBranch","headSha","baseBranch","additions","deletions","mergeability","mergeReady","mergeMethods","branchUpdates","reviewDecision","reviewers","reviewersTruncated","canRequestReviews","checks","checksRollup","checksTruncated","canRerunChecks","unresolvedThreads","threadsTruncated","closingIssues","closingIssuesTruncated","updatedAt","closedAt"],"additionalProperties":true},
3980
+ },
3981
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":484,"column":9},
3982
+ },
3983
+ 'forgePanel/reviewComment': {
3984
+ service: 'forgePanel',
3985
+ description: 'Add a comment to the conversation of a change request the review page shows.',
3986
+ invocation: { kind: 'direct' },
3987
+ parameters: [
3988
+ {
3989
+ name: 'url',
3990
+ description: 'web URL of the change request.',
3991
+ source: 'json',
3992
+ codec: {
3993
+ mode: 'strict',
3994
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:url',
3995
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0$schema,
3996
+ jsonSchema: {"type":"string"},
3997
+ },
3998
+ strictCodec: {
3999
+ mode: 'strict',
4000
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:url',
4001
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_0_strict$schema,
4002
+ jsonSchema: {"type":"string"},
4003
+ },
4004
+ },
4005
+ {
4006
+ name: 'body',
4007
+ description: 'Markdown source of the comment.',
4008
+ source: 'json',
4009
+ codec: {
4010
+ mode: 'strict',
4011
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:body',
4012
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1$schema,
4013
+ jsonSchema: {"type":"string"},
4014
+ },
4015
+ strictCodec: {
4016
+ mode: 'strict',
4017
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:body',
4018
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_parameter_1_strict$schema,
4019
+ jsonSchema: {"type":"string"},
4020
+ },
4021
+ },
4022
+ ],
4023
+ cancellation: { parameter: 'signal' },
4024
+ result: {
4025
+ mode: 'strict',
4026
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewComment:result',
4027
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewComment_result$schema,
4028
+ jsonSchemaError: 'typert tool schema: unsupported void value',
3553
4029
  },
3554
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":404,"column":9},
4030
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":466,"column":9},
3555
4031
  },
3556
4032
  'forgePanel/reviewCommits': {
3557
4033
  service: 'forgePanel',
@@ -3584,7 +4060,7 @@ const $remote = createTypertRemoteInfo({
3584
4060
  description: 'the commits, or null when the provider does not read commits.',
3585
4061
  jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the list was read at."},"commits":{"type":"array","items":{"type":"object","properties":{"sha":{"type":"string","description":"Full commit object name."},"parent":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Full object name of the first parent, or null for a root commit."},"title":{"type":"string","description":"First line of the commit message."},"author":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Author name or login as the host reports it, or null when it reports none."},"authoredAt":{"type":"string","description":"ISO 8601 time the commit was authored."}},"required":["sha","parent","title","author","authoredAt"],"additionalProperties":true},"description":"Commits oldest first, ending with the head commit unless `truncated`."},"truncated":{"type":"boolean","description":"Whether the change request has more commits than the provider lists; the listed ones are the oldest."}},"required":["headSha","commits","truncated"],"additionalProperties":true}]},
3586
4062
  },
3587
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":477,"column":9},
4063
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":557,"column":9},
3588
4064
  },
3589
4065
  'forgePanel/reviewCount': {
3590
4066
  service: 'forgePanel',
@@ -3601,7 +4077,7 @@ const $remote = createTypertRemoteInfo({
3601
4077
  description: 'frames, each complete.',
3602
4078
  jsonSchema: {"type":"object","properties":{"reviewRequested":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Open change requests that ask the signed-in user for a review, summed over the hosts read, or null before any count."}},"required":["reviewRequested"],"additionalProperties":true},
3603
4079
  },
3604
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":311,"column":10},
4080
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":334,"column":10},
3605
4081
  },
3606
4082
  'forgePanel/reviewDescription': {
3607
4083
  service: 'forgePanel',
@@ -3634,7 +4110,7 @@ const $remote = createTypertRemoteInfo({
3634
4110
  description: 'the description.',
3635
4111
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
3636
4112
  },
3637
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":387,"column":9},
4113
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":432,"column":9},
3638
4114
  },
3639
4115
  'forgePanel/reviewDiff': {
3640
4116
  service: 'forgePanel',
@@ -3684,7 +4160,7 @@ const $remote = createTypertRemoteInfo({
3684
4160
  description: 'the files and the commit they end at, without a local checkout count.',
3685
4161
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
3686
4162
  },
3687
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":463,"column":9},
4163
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":543,"column":9},
3688
4164
  },
3689
4165
  'forgePanel/reviewerCandidates': {
3690
4166
  service: 'forgePanel',
@@ -3753,29 +4229,29 @@ const $remote = createTypertRemoteInfo({
3753
4229
  description: 'the accounts, the host\'s suggestions first.',
3754
4230
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"name":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Display name, or null when the account shows none."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"suggested":{"type":"boolean","description":"Whether the host suggests the account for this change request, as from the history of its changed files."}},"required":["login","name","avatarUrl","suggested"],"additionalProperties":true}},
3755
4231
  },
3756
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1173,"column":9},
4232
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1329,"column":9},
3757
4233
  },
3758
4234
  'forgePanel/reviewLists': {
3759
4235
  service: 'forgePanel',
3760
- description: 'Stream the review page\'s lists of the signed-in user\'s open change requests on every host a provider lists them on: the lists read so far first, then a frame after each read settles. Readers of one repository scope share one reader, which reads every `reviewListIntervalMs` while some stream lasts and backs off after failed rounds up to `reviewMaxBackoffMs`; nothing is read while no stream lasts. The stream ends when `signal` aborts or the Remote stops.',
4236
+ description: 'Stream the review page\'s lists of the signed-in user\'s open change requests on every host a provider lists them on: the lists read so far first, then a frame after each read settles. Readers of one repository scope share one reader, which reads each host every `reviewListIntervalMs` while some stream lasts and reads a host whose read failed again later each time, up to `reviewMaxBackoffMs`, without delaying the other hosts; nothing is read while no stream lasts. The stream ends when `signal` aborts or the Remote stops.',
3761
4237
  mode: 'stream',
3762
4238
  invocation: { kind: 'direct' },
3763
4239
  parameters: [
3764
4240
  {
3765
4241
  name: 'repository',
3766
- description: 'one repository to list in, or null for every repository the user can read.',
4242
+ description: 'one repository to list in, read on its host only, or null for every repository the user can read on every host.',
3767
4243
  source: 'json',
3768
4244
  codec: {
3769
4245
  mode: 'strict',
3770
4246
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewLists:repository',
3771
4247
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0$schema,
3772
- jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"owner":{"type":"string"},"name":{"type":"string"}},"required":["owner","name"],"additionalProperties":true}]},
4248
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"host":{"type":"string","description":"Host name of the provider that lists the repository, compared without case."},"owner":{"type":"string","description":"Owner or namespace; nested groups of a GitLab project stay in it."},"name":{"type":"string","description":"Repository name."}},"required":["host","owner","name"],"additionalProperties":true}]},
3773
4249
  },
3774
4250
  strictCodec: {
3775
4251
  mode: 'strict',
3776
4252
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewLists:repository',
3777
4253
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_parameter_0_strict$schema,
3778
- jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"owner":{"type":"string"},"name":{"type":"string"}},"required":["owner","name"],"additionalProperties":false}]},
4254
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"host":{"type":"string","description":"Host name of the provider that lists the repository, compared without case."},"owner":{"type":"string","description":"Owner or namespace; nested groups of a GitLab project stay in it."},"name":{"type":"string","description":"Repository name."}},"required":["host","owner","name"],"additionalProperties":false}]},
3779
4255
  },
3780
4256
  },
3781
4257
  ],
@@ -3785,9 +4261,9 @@ const $remote = createTypertRemoteInfo({
3785
4261
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeReviewFrame',
3786
4262
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewLists_result$schema,
3787
4263
  description: 'frames, each complete.',
3788
- jsonSchema: {"type":"object","properties":{"hosts":{"type":"array","items":{"type":"object","properties":{"forge":{"type":"string","description":"Forge family of the provider."},"host":{"type":"string","description":"Lowercase host name."},"viewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the signed-in user the latest successful read named, or null before one."},"lists":{"type":"object","properties":{"review-requested":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues the host closes once the change request merges, in host order, at most the provider's limit."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","closingIssues","closingIssuesTruncated","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true},"authored":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues the host closes once the change request merges, in host order, at most the provider's limit."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","closingIssues","closingIssuesTruncated","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true},"involved":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"closingIssues":{"type":"array","items":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the issue."},"number":{"type":"number","description":"Host-assigned issue number."},"title":{"type":"string","description":"Title as the author wrote it."},"state":{"type":"string","enum":["open","closed"],"description":"Whether the issue is still open."},"url":{"type":"string","description":"Web page of the issue."}},"required":["repository","number","title","state","url"],"additionalProperties":true},"description":"Issues the host closes once the change request merges, in host order, at most the provider's limit."},"closingIssuesTruncated":{"type":"boolean","description":"Whether the host reported more closing issues than `closingIssues` holds."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","closingIssues","closingIssuesTruncated","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true}},"required":[],"additionalProperties":true,"description":"Each list the provider offers on the host; a list it does not offer is absent."}},"required":["forge","host","viewer","lists"],"additionalProperties":true},"description":"Each host a provider lists change requests on, in registration and configuration order."},"reading":{"type":"boolean","description":"Whether a read is in flight."}},"required":["hosts","reading"],"additionalProperties":true},
4264
+ jsonSchema: {"type":"object","properties":{"hosts":{"type":"array","items":{"type":"object","properties":{"forge":{"type":"string","description":"Forge family of the provider."},"host":{"type":"string","description":"Lowercase host name."},"viewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the signed-in user the latest successful read named, or null before one."},"signIn":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The command that signs the provider's CLI in to the host, while the latest read failed for lack of sign-in and the provider names one; null otherwise."},"lists":{"type":"object","properties":{"review-requested":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true},"authored":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true},"involved":{"type":"object","properties":{"items":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"ref":{"type":"object","properties":{"repository":{"type":"object","properties":{"forge":{"type":"string","description":"Provider family that serves the repository, such as `github`."},"host":{"type":"string","description":"Lowercase host name, such as `github.com`."},"owner":{"type":"string","description":"Owner or namespace path as the host spells it."},"name":{"type":"string","description":"Repository name as the host spells it."}},"required":["forge","host","owner","name"],"additionalProperties":true,"description":"Repository that holds the change request."},"number":{"type":"number","description":"Host-assigned change request number."}},"required":["repository","number"],"additionalProperties":true,"description":"The change request."},"url":{"type":"string","description":"Web page of the change request."},"title":{"type":"string","description":"Title as the author wrote it."},"draft":{"type":"boolean","description":"Whether the author marked the change request as a draft."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the host hides the account."},"headSha":{"type":"string","description":"Commit object name at the head of the change request."},"checksRollup":{"type":"string","enum":["pending","success","none","failure"],"description":"Combined check outcome on the head commit."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"viewerReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"verdict":{"type":"string","enum":["approved","dismissed","changes-requested","commented"],"description":"Outcome of the review."},"reviewedSha":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Commit the review was on, or null when the host reports none."}},"required":["verdict","reviewedSha"],"additionalProperties":true}],"description":"The signed-in user's latest submitted review, or null before the first."},"viewerRequest":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"team":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["team"],"additionalProperties":true}],"description":"The review request that asks the signed-in user, or null when none does: `team` names the team, as `organization/slug`, when the request asks a team the user belongs to rather than the user."},"updatedAt":{"type":"string","description":"ISO 8601 time of the host's last update to the change request."}},"required":["ref","url","title","draft","author","headSha","checksRollup","reviewDecision","viewerReview","viewerRequest","updatedAt"],"additionalProperties":true}}],"description":"Change requests most recently updated first, from the latest successful read, or null before the first."},"total":{"type":"number","description":"Size of the whole list the host reported with `items`; 0 before the first successful read."},"fetchedAt":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"Epoch milliseconds of the read `items` come from, or null before the first successful read."},"failure":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"code":{"type":"string","enum":["unavailable","unauthenticated","not-found","too-large","stale","rate-limited","unsupported"],"description":"`not-found`: the host does not expose it; `unauthenticated`: credentials are missing or rejected; `too-large`: the host or the provider refuses an answer over its size limit, so reading again fails the same way; `stale`: the head is no longer the commit the read named, so reading again at the head of a later status can succeed; `rate-limited`: the host refused the read under its rate limit, so reading again succeeds only after the limit resets; `unsupported`: the provider does not offer the read; `unavailable`: any other failure."},"message":{"type":"string","description":"Human-readable cause."}},"required":["code","message"],"additionalProperties":true}],"description":"Why the latest read failed, or null when it succeeded or none settled yet."}},"required":["items","total","fetchedAt","failure"],"additionalProperties":true}},"required":[],"additionalProperties":true,"description":"Each list the provider offers on the host; a list it does not offer is absent."}},"required":["forge","host","viewer","signIn","lists"],"additionalProperties":true},"description":"Each host a provider lists change requests on, in registration and configuration order."},"reading":{"type":"boolean","description":"Whether a read is in flight."}},"required":["hosts","reading"],"additionalProperties":true},
3789
4265
  },
3790
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":297,"column":10},
4266
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":320,"column":10},
3791
4267
  },
3792
4268
  'forgePanel/reviewMarkReady': {
3793
4269
  service: 'forgePanel',
@@ -3819,7 +4295,7 @@ const $remote = createTypertRemoteInfo({
3819
4295
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMarkReady_result$schema,
3820
4296
  jsonSchemaError: 'typert tool schema: unsupported void value',
3821
4297
  },
3822
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":541,"column":9},
4298
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":621,"column":9},
3823
4299
  },
3824
4300
  'forgePanel/reviewMerge': {
3825
4301
  service: 'forgePanel',
@@ -3885,7 +4361,7 @@ const $remote = createTypertRemoteInfo({
3885
4361
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewMerge_result$schema,
3886
4362
  jsonSchemaError: 'typert tool schema: unsupported void value',
3887
4363
  },
3888
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":557,"column":9},
4364
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":637,"column":9},
3889
4365
  },
3890
4366
  'forgePanel/reviewPoll': {
3891
4367
  service: 'forgePanel',
@@ -3917,7 +4393,7 @@ const $remote = createTypertRemoteInfo({
3917
4393
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewPoll_result$schema,
3918
4394
  jsonSchemaError: 'typert tool schema: unsupported void value',
3919
4395
  },
3920
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":334,"column":9},
4396
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":379,"column":9},
3921
4397
  },
3922
4398
  'forgePanel/reviewRefresh': {
3923
4399
  service: 'forgePanel',
@@ -3932,7 +4408,7 @@ const $remote = createTypertRemoteInfo({
3932
4408
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewRefresh_result$schema,
3933
4409
  jsonSchemaError: 'typert tool schema: unsupported void value',
3934
4410
  },
3935
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":321,"column":9},
4411
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":344,"column":9},
3936
4412
  },
3937
4413
  'forgePanel/reviewRequestReviews': {
3938
4414
  service: 'forgePanel',
@@ -3981,7 +4457,7 @@ const $remote = createTypertRemoteInfo({
3981
4457
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewRequestReviews_result$schema,
3982
4458
  jsonSchemaError: 'typert tool schema: unsupported void value',
3983
4459
  },
3984
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":587,"column":9},
4460
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":683,"column":9},
3985
4461
  },
3986
4462
  'forgePanel/reviewRerunChecks': {
3987
4463
  service: 'forgePanel',
@@ -4030,7 +4506,7 @@ const $remote = createTypertRemoteInfo({
4030
4506
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewRerunChecks_result$schema,
4031
4507
  jsonSchemaError: 'typert tool schema: unsupported void value',
4032
4508
  },
4033
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":572,"column":9},
4509
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":668,"column":9},
4034
4510
  },
4035
4511
  'forgePanel/reviewReviewerCandidates': {
4036
4512
  service: 'forgePanel',
@@ -4080,7 +4556,56 @@ const $remote = createTypertRemoteInfo({
4080
4556
  description: 'the accounts, the host\'s suggestions first.',
4081
4557
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"name":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Display name, or null when the account shows none."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"suggested":{"type":"boolean","description":"Whether the host suggests the account for this change request, as from the history of its changed files."}},"required":["login","name","avatarUrl","suggested"],"additionalProperties":true}},
4082
4558
  },
4083
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":602,"column":9},
4559
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":698,"column":9},
4560
+ },
4561
+ 'forgePanel/reviewSetAutoMerge': {
4562
+ service: 'forgePanel',
4563
+ description: 'Turn the code host\'s automatic merge of a change request the review page shows on, while its head is still the request\'s `headSha`, or off.',
4564
+ invocation: { kind: 'direct' },
4565
+ parameters: [
4566
+ {
4567
+ name: 'url',
4568
+ description: 'web URL of the change request.',
4569
+ source: 'json',
4570
+ codec: {
4571
+ mode: 'strict',
4572
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewSetAutoMerge:url',
4573
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0$schema,
4574
+ jsonSchema: {"type":"string"},
4575
+ },
4576
+ strictCodec: {
4577
+ mode: 'strict',
4578
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewSetAutoMerge:url',
4579
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_0_strict$schema,
4580
+ jsonSchema: {"type":"string"},
4581
+ },
4582
+ },
4583
+ {
4584
+ name: 'request',
4585
+ description: 'on with the merge method and the head commit the user confirmed, or off.',
4586
+ source: 'json',
4587
+ codec: {
4588
+ mode: 'strict',
4589
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#AutoMergeRequest',
4590
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1$schema,
4591
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"method":{"type":"string","enum":["merge","squash","rebase"]},"headSha":{"type":"string"}},"required":["enabled","method","headSha"],"additionalProperties":true},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":true}]},
4592
+ },
4593
+ strictCodec: {
4594
+ mode: 'strict',
4595
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#AutoMergeRequest',
4596
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_parameter_1_strict$schema,
4597
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"method":{"type":"string","enum":["merge","squash","rebase"]},"headSha":{"type":"string"}},"required":["enabled","method","headSha"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},
4598
+ },
4599
+ },
4600
+ ],
4601
+ cancellation: { parameter: 'signal' },
4602
+ result: {
4603
+ mode: 'strict',
4604
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewSetAutoMerge:result',
4605
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetAutoMerge_result$schema,
4606
+ jsonSchemaError: 'typert tool schema: unsupported void value',
4607
+ },
4608
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":653,"column":9},
4084
4609
  },
4085
4610
  'forgePanel/reviewSetViewed': {
4086
4611
  service: 'forgePanel',
@@ -4129,7 +4654,7 @@ const $remote = createTypertRemoteInfo({
4129
4654
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewSetViewed_result$schema,
4130
4655
  jsonSchemaError: 'typert tool schema: unsupported void value',
4131
4656
  },
4132
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":528,"column":9},
4657
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":608,"column":9},
4133
4658
  },
4134
4659
  'forgePanel/reviewStage': {
4135
4660
  service: 'forgePanel',
@@ -4178,7 +4703,7 @@ const $remote = createTypertRemoteInfo({
4178
4703
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewStage_result$schema,
4179
4704
  jsonSchemaError: 'typert tool schema: unsupported void value',
4180
4705
  },
4181
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":634,"column":9},
4706
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":730,"column":9},
4182
4707
  },
4183
4708
  'forgePanel/reviewSubmit': {
4184
4709
  service: 'forgePanel',
@@ -4228,7 +4753,7 @@ const $remote = createTypertRemoteInfo({
4228
4753
  description: 'confirmed publication or a typed failure, as {@link ForgePanelController.submitReview} does.',
4229
4754
  jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"url":{"type":"string"}},"required":["ok","url"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","enum":["failed","unknown","stale","unsupported"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
4230
4755
  },
4231
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":448,"column":9},
4756
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":528,"column":9},
4232
4757
  },
4233
4758
  'forgePanel/reviewText': {
4234
4759
  service: 'forgePanel',
@@ -4295,7 +4820,7 @@ const $remote = createTypertRemoteInfo({
4295
4820
  description: 'the text.',
4296
4821
  jsonSchema: {"type":"string"},
4297
4822
  },
4298
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":495,"column":9},
4823
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":575,"column":9},
4299
4824
  },
4300
4825
  'forgePanel/reviewThreads': {
4301
4826
  service: 'forgePanel',
@@ -4362,7 +4887,7 @@ const $remote = createTypertRemoteInfo({
4362
4887
  description: 'the threads at `headSha`.',
4363
4888
  jsonSchema: {"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the threads were read at; `current` positions number its files."},"viewer":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Login of the signed-in user the provider read as, or null when the host does not name one."},"threads":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the thread."},"path":{"type":"string","description":"Repository-relative path the thread is on."},"side":{"type":"string","enum":["L","R"],"description":"Old (`L`) or new (`R`) side of the diff the lines number."},"subject":{"type":"string","enum":["file","line"],"description":"Whether the thread is on lines or on the whole file."},"current":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"commit":{"type":"string","description":"Full object name of the commit the diff's new side shows: new-side (`R`) lines number this commit's file, and old-side (`L`) lines number the file at the diff's base."},"startLine":{"type":"number","description":"First line, inclusive."},"endLine":{"type":"number","description":"Last line, inclusive."}},"required":["commit","startLine","endLine"],"additionalProperties":true}],"description":"Lines in the diff that ends at the head commit of the read, whose `commit` is that head; null for an outdated or file thread."},"original":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"commit":{"type":"string","description":"Full object name of the commit the diff's new side shows: new-side (`R`) lines number this commit's file, and old-side (`L`) lines number the file at the diff's base."},"startLine":{"type":"number","description":"First line, inclusive."},"endLine":{"type":"number","description":"Last line, inclusive."}},"required":["commit","startLine","endLine"],"additionalProperties":true}],"description":"Lines in the diff that ended at a commit whose file holds the lines as the thread was written on them: the commit the thread was written on, or a later one the host carried the thread to while the lines stayed unchanged; null for a file thread."},"diffHunk":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Diff hunk the host recorded when the thread was written, ending at its last line; null when it recorded none."},"resolved":{"type":"boolean","description":"Whether the thread is marked resolved."},"viewerCanReply":{"type":"boolean","description":"Whether the signed-in user can reply to the thread through `writeReview`; false for a provider without it."},"viewerCanResolve":{"type":"boolean","description":"Whether the signed-in user can mark the thread resolved, or unresolved when `resolved`, through `writeReview`; false for a provider without it."},"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the comment."},"author":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"login":{"type":"string","description":"Login as the host spells it."},"avatarUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Avatar image URL, or null when the host reports none."},"bot":{"type":"boolean","description":"Whether the account is an app or bot rather than a person."}},"required":["login","avatarUrl","bot"],"additionalProperties":true}],"description":"Author, or null when the account no longer exists."},"body":{"type":"string","description":"Markdown source as the author wrote it; it may contain raw HTML, which readers must not render as HTML."},"createdAt":{"type":"string","description":"ISO 8601 time the comment was created."},"pending":{"type":"boolean","description":"Whether the comment belongs to the signed-in user's review that is not submitted yet, which only that user sees."},"url":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Web page of the comment, or null when the host reports none."},"viewerCanEdit":{"type":"boolean","description":"Whether the signed-in user can replace the comment's text through `writeReview`; false for a provider without it."},"viewerCanDelete":{"type":"boolean","description":"Whether the signed-in user can delete the comment through `writeReview`; false for a provider without it."}},"required":["id","author","body","createdAt","pending","url","viewerCanEdit","viewerCanDelete"],"additionalProperties":true},"description":"Comments oldest first; the first starts the thread."}},"required":["id","path","side","subject","current","original","diffHunk","resolved","viewerCanReply","viewerCanResolve","comments"],"additionalProperties":true},"description":"Threads in host order, at most the provider's limit."},"truncated":{"type":"boolean","description":"Whether the change request has more threads than `threads` holds."},"pendingReview":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"id":{"type":"string","description":"Host identity of the review."},"comments":{"type":"number","description":"Comments the review holds."}},"required":["id","comments"],"additionalProperties":true}],"description":"The signed-in user's pending review, or null without one."},"viewerCanReview":{"type":"boolean","description":"Whether the signed-in user can add comments to a pending review and submit or discard it through `writeReview`; false for a provider without it."},"reviewEvents":{"type":"array","items":{"type":"string","enum":["comment","approve","request-changes"]},"description":"Decisions the host lets the signed-in user record in a submitted review of this change request, such as only `comment` on their own pull request on GitHub; empty when `viewerCanReview` is false."}},"required":["headSha","viewer","threads","truncated","pendingReview","viewerCanReview","reviewEvents"],"additionalProperties":true},
4364
4889
  },
4365
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":420,"column":9},
4890
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":500,"column":9},
4366
4891
  },
4367
4892
  'forgePanel/reviewThreadWrite': {
4368
4893
  service: 'forgePanel',
@@ -4412,7 +4937,7 @@ const $remote = createTypertRemoteInfo({
4412
4937
  description: 'whether the host took the write, as {@link ForgePanelController.changeRequestReviewWrite} does.',
4413
4938
  jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","enum":["failed","unknown","stale","unsupported"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
4414
4939
  },
4415
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":434,"column":9},
4940
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":514,"column":9},
4416
4941
  },
4417
4942
  'forgePanel/reviewUpdateBranch': {
4418
4943
  service: 'forgePanel',
@@ -4478,7 +5003,7 @@ const $remote = createTypertRemoteInfo({
4478
5003
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewUpdateBranch_result$schema,
4479
5004
  jsonSchemaError: 'typert tool schema: unsupported void value',
4480
5005
  },
4481
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":617,"column":9},
5006
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":713,"column":9},
4482
5007
  },
4483
5008
  'forgePanel/reviewViewed': {
4484
5009
  service: 'forgePanel',
@@ -4545,7 +5070,7 @@ const $remote = createTypertRemoteInfo({
4545
5070
  description: 'the marks, or null when the provider keeps no viewed marks.',
4546
5071
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
4547
5072
  },
4548
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":514,"column":9},
5073
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":594,"column":9},
4549
5074
  },
4550
5075
  'forgePanel/revisit': {
4551
5076
  service: 'forgePanel',
@@ -4578,7 +5103,75 @@ const $remote = createTypertRemoteInfo({
4578
5103
  description: 'settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.',
4579
5104
  jsonSchemaError: 'typert tool schema: unsupported void value',
4580
5105
  },
4581
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":746,"column":9},
5106
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":847,"column":9},
5107
+ },
5108
+ 'forgePanel/setAutoMerge': {
5109
+ service: 'forgePanel',
5110
+ description: 'Turn the code host\'s automatic merge of a change request of a Session on, while its head is still the request\'s `headSha`, or off; the change request is polled again once the host answers.',
5111
+ invocation: { kind: 'direct' },
5112
+ parameters: [
5113
+ {
5114
+ name: 'session',
5115
+ wire: 'sessionId',
5116
+ description: 'Session the change request is bound to.',
5117
+ source: 'lookup',
5118
+ lookup: 'session',
5119
+ codec: {
5120
+ mode: 'strict',
5121
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
5122
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0$schema,
5123
+ jsonSchema: {"type":"string"},
5124
+ },
5125
+ strictCodec: {
5126
+ mode: 'strict',
5127
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
5128
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_0_strict$schema,
5129
+ jsonSchema: {"type":"string"},
5130
+ },
5131
+ },
5132
+ {
5133
+ name: 'url',
5134
+ description: 'binding URL of the change request.',
5135
+ source: 'json',
5136
+ codec: {
5137
+ mode: 'strict',
5138
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setAutoMerge:url',
5139
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1$schema,
5140
+ jsonSchema: {"type":"string"},
5141
+ },
5142
+ strictCodec: {
5143
+ mode: 'strict',
5144
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setAutoMerge:url',
5145
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_1_strict$schema,
5146
+ jsonSchema: {"type":"string"},
5147
+ },
5148
+ },
5149
+ {
5150
+ name: 'request',
5151
+ description: 'on with the merge method and the head commit the user confirmed, or off.',
5152
+ source: 'json',
5153
+ codec: {
5154
+ mode: 'strict',
5155
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#AutoMergeRequest',
5156
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2$schema,
5157
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"method":{"type":"string","enum":["merge","squash","rebase"]},"headSha":{"type":"string"}},"required":["enabled","method","headSha"],"additionalProperties":true},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":true}]},
5158
+ },
5159
+ strictCodec: {
5160
+ mode: 'strict',
5161
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#AutoMergeRequest',
5162
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_parameter_2_strict$schema,
5163
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":true},"method":{"type":"string","enum":["merge","squash","rebase"]},"headSha":{"type":"string"}},"required":["enabled","method","headSha"],"additionalProperties":false},{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false}]},
5164
+ },
5165
+ },
5166
+ ],
5167
+ cancellation: { parameter: 'signal' },
5168
+ result: {
5169
+ mode: 'strict',
5170
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setAutoMerge:result',
5171
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setAutoMerge_result$schema,
5172
+ jsonSchemaError: 'typert tool schema: unsupported void value',
5173
+ },
5174
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1274,"column":9},
4582
5175
  },
4583
5176
  'forgePanel/setFileViewed': {
4584
5177
  service: 'forgePanel',
@@ -4646,7 +5239,7 @@ const $remote = createTypertRemoteInfo({
4646
5239
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_result$schema,
4647
5240
  jsonSchemaError: 'typert tool schema: unsupported void value',
4648
5241
  },
4649
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1024,"column":9},
5242
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1161,"column":9},
4650
5243
  },
4651
5244
  'forgePanel/stopCreation': {
4652
5245
  service: 'forgePanel',
@@ -4680,7 +5273,7 @@ const $remote = createTypertRemoteInfo({
4680
5273
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema,
4681
5274
  jsonSchemaError: 'typert tool schema: unsupported void value',
4682
5275
  },
4683
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1258,"column":9},
5276
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1414,"column":9},
4684
5277
  },
4685
5278
  'forgePanel/submitReview': {
4686
5279
  service: 'forgePanel',
@@ -4749,7 +5342,7 @@ const $remote = createTypertRemoteInfo({
4749
5342
  description: 'confirmed publication or a typed failure; unknown outcomes require reconciliation on the host.',
4750
5343
  jsonSchema: {"oneOf":[{"type":"object","properties":{"ok":{"type":"boolean","const":true},"url":{"type":"string"}},"required":["ok","url"],"additionalProperties":true},{"type":"object","properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","enum":["failed","unknown","stale","unsupported"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
4751
5344
  },
4752
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1063,"column":9},
5345
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1200,"column":9},
4753
5346
  },
4754
5347
  'forgePanel/track': {
4755
5348
  service: 'forgePanel',
@@ -4800,7 +5393,7 @@ const $remote = createTypertRemoteInfo({
4800
5393
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema,
4801
5394
  jsonSchemaError: 'typert tool schema: unsupported void value',
4802
5395
  },
4803
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":703,"column":9},
5396
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":804,"column":9},
4804
5397
  },
4805
5398
  'forgePanel/updateBranch': {
4806
5399
  service: 'forgePanel',
@@ -4885,7 +5478,7 @@ const $remote = createTypertRemoteInfo({
4885
5478
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_result$schema,
4886
5479
  jsonSchemaError: 'typert tool schema: unsupported void value',
4887
5480
  },
4888
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1192,"column":9},
5481
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":1348,"column":9},
4889
5482
  },
4890
5483
  'forgePanel/worktreeBases': {
4891
5484
  service: 'forgePanel',
@@ -4935,9 +5528,9 @@ const $remote = createTypertRemoteInfo({
4935
5528
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeWorktreeBases',
4936
5529
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeBases_result$schema,
4937
5530
  description: 'the branches, at most `maxBranches` local branches and `maxBranches` per remote, most recently committed first.',
4938
- jsonSchema: {"type":"object","properties":{"current":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true}],"description":"Checked-out branch, or null when HEAD is detached or its name does not contain the query."},"defaults":{"type":"array","items":{"type":"object","properties":{"remote":{"type":"string","description":"Remote the branch belongs to; it may contain `/`."},"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["remote","ref","name"],"additionalProperties":true},"description":"Default branch of each remote that names one with `refs/remotes/<remote>/HEAD`, in remote order."},"local":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true},"description":"Other local branches, most recently committed first, at most `maxBranches`."},"remotes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Remote name such as `origin`; it may contain `/`."},"repository":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"`owner/name` of the repository a provider recognizes from the remote's URLs, else its fetch URL, or null without one."},"branches":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."}},"required":["ref","name"],"additionalProperties":true},"description":"Branches named `<remote>/<branch>`, most recently committed first, at most `maxBranches`."}},"required":["name","repository","branches"],"additionalProperties":true},"description":"Remote-tracking branches of each configured remote in remote order: the remote the checked-out branch tracks, then `origin`, then the others as Git lists them. Remotes without a matching branch are left out."}},"required":["current","defaults","local","remotes"],"additionalProperties":true},
5531
+ jsonSchema: {"type":"object","properties":{"current":{"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true}],"description":"Checked-out branch, or null when HEAD is detached or its name does not contain the query."},"defaults":{"type":"array","items":{"type":"object","properties":{"remote":{"type":"string","description":"Remote the branch belongs to; it may contain `/`."},"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["remote","ref","name"],"additionalProperties":true},"description":"Default branch of each remote that names one with `refs/remotes/<remote>/HEAD`, in remote order."},"local":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true},"description":"Other local branches, most recently committed first, at most `maxBranches`."},"remotes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Remote name such as `origin`; it may contain `/`."},"repository":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"`owner/name` of the repository a provider recognizes from the remote's URLs, else its fetch URL, or null without one."},"branches":{"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","description":"Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`."},"name":{"type":"string","description":"The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`."},"worktree":{"type":"string","description":"Directory Git registered for the worktree that has this local branch checked out, absent when none has; a scope that names the branch as its head reads that worktree."}},"required":["ref","name"],"additionalProperties":true},"description":"Branches named `<remote>/<branch>`, most recently committed first, at most `maxBranches`."}},"required":["name","repository","branches"],"additionalProperties":true},"description":"Remote-tracking branches of each configured remote in remote order: the remote the checked-out branch tracks, then `origin`, then the others as Git lists them. Remotes without a matching branch are left out."}},"required":["current","defaults","local","remotes"],"additionalProperties":true},
4939
5532
  },
4940
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":666,"column":9},
5533
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":762,"column":9},
4941
5534
  },
4942
5535
  'forgePanel/worktreeCleanup': {
4943
5536
  service: 'forgePanel',
@@ -4986,7 +5579,7 @@ const $remote = createTypertRemoteInfo({
4986
5579
  description: 'the cleanup state, or null without a worktree service, an attempt, or a current revision.',
4987
5580
  jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"object","properties":{"revision":{"type":"number","description":"Monotonic attempt number within this Host lifetime; a Remote waits on a specific one."},"status":{"type":"string","enum":["failed","retained","scheduled","removed"],"description":"`scheduled` until the background inspection ends; `retained` when a use, policy, or Git state keeps the checkout; `removed` after `git worktree remove`; `failed` when removal threw and may have left a partial directory."}},"required":["revision","status"],"additionalProperties":true}]},
4988
5581
  },
4989
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":651,"column":9},
5582
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":747,"column":9},
4990
5583
  },
4991
5584
  },
4992
5585
  }, z)
@@ -5024,9 +5617,9 @@ export const TYPERT = {
5024
5617
  {
5025
5618
  "kind": "method",
5026
5619
  "name": "reviewLists",
5027
- "signature": "@Remote({ mode: 'stream' }) async *reviewLists( repository: { readonly owner: string; readonly name: string } | null, signal: AbortSignal, ): AsyncIterable<ForgeReviewFrame>",
5620
+ "signature": "@Remote({ mode: 'stream' }) async *reviewLists( repository: ForgeReviewRepository | null, signal: AbortSignal, ): AsyncIterable<ForgeReviewFrame>",
5028
5621
  "summary": "Stream the review page's lists of the signed-in user's open change requests on every host a provider lists them on: the lists read so far first, then a frame after each read settles.",
5029
- "jsDoc": "/**\n * Stream the review page's lists of the signed-in user's open change requests on every host a provider lists them on:\n * the lists read so far first, then a frame after each read settles. Readers of one repository scope share one\n * reader, which reads every `reviewListIntervalMs` while some stream lasts and backs off after failed rounds up to\n * `reviewMaxBackoffMs`; nothing is read while no stream lasts. The stream ends when `signal` aborts or the Remote stops.\n * @param repository - one repository to list in, or null for every repository the user can read.\n * @param signal - ends the stream.\n * @returns frames, each complete.\n */"
5622
+ "jsDoc": "/**\n * Stream the review page's lists of the signed-in user's open change requests on every host a provider lists them on:\n * the lists read so far first, then a frame after each read settles. Readers of one repository scope share one\n * reader, which reads each host every `reviewListIntervalMs` while some stream lasts and reads a host whose read failed\n * again later each time, up to `reviewMaxBackoffMs`, without delaying the other hosts; nothing is read while no stream\n * lasts. The stream ends when `signal` aborts or the Remote stops.\n * @param repository - one repository to list in, read on its host only, or null for every repository the user can\n * read on every host.\n * @param signal - ends the stream.\n * @returns frames, each complete.\n */"
5030
5623
  },
5031
5624
  {
5032
5625
  "kind": "method",
@@ -5042,6 +5635,13 @@ export const TYPERT = {
5042
5635
  "summary": "Read every streamed review page list and the count again at once.",
5043
5636
  "jsDoc": "/**\n * Read every streamed review page list and the count again at once.\n * @param signal - request cancellation.\n */"
5044
5637
  },
5638
+ {
5639
+ "kind": "method",
5640
+ "name": "hostReadiness",
5641
+ "signature": "@Remote async hostReadiness(forge: string, host: string, signal: AbortSignal): Promise<ForgeReadiness>",
5642
+ "summary": "Report whether a provider reaches one of its hosts with the Host's current credentials, for the host list on the Plugins page of that provider's row.",
5643
+ "jsDoc": "/**\n * Report whether a provider reaches one of its hosts with the Host's current credentials, for the host list on the\n * Plugins page of that provider's row. The read names no Session, so, like the review page reads, only callers that\n * may use the Host's code host credentials reach it.\n * @param forge - forge family of a registered provider, such as `gitlab`.\n * @param host - host name as the provider's configuration lists it.\n * @param signal - request cancellation.\n * @returns the provider's readiness for the host; `unavailable` with the reason when no provider serves the family,\n * the probe fails, or it runs past `readinessTimeoutMs`.\n */"
5644
+ },
5045
5645
  {
5046
5646
  "kind": "method",
5047
5647
  "name": "reviewPoll",
@@ -5063,6 +5663,20 @@ export const TYPERT = {
5063
5663
  "summary": "Read the description and labels of a change request for the review page.",
5064
5664
  "jsDoc": "/**\n * Read the description and labels of a change request for the review page.\n * @param url - web URL of the change request.\n * @param signal - request cancellation.\n * @returns the description.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/description-failed` with the\n * host's reason when the host does not provide it.\n */"
5065
5665
  },
5666
+ {
5667
+ "kind": "method",
5668
+ "name": "reviewActivity",
5669
+ "signature": "@Remote async reviewActivity(url: string, signal: AbortSignal): Promise<ChangeRequestActivity | null>",
5670
+ "summary": "Read the activity of a change request for the review page: its comments, submitted reviews, commits, and changes of state.",
5671
+ "jsDoc": "/**\n * Read the activity of a change request for the review page: its comments, submitted reviews, commits, and changes\n * of state.\n * @param url - web URL of the change request.\n * @param signal - request cancellation.\n * @returns the activity, or null when the change request's provider reads none.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/activity-failed` with the\n * host's reason when the host does not provide it.\n */"
5672
+ },
5673
+ {
5674
+ "kind": "method",
5675
+ "name": "reviewComment",
5676
+ "signature": "@Remote async reviewComment(url: string, body: string, signal: AbortSignal): Promise<void>",
5677
+ "summary": "Add a comment to the conversation of a change request the review page shows.",
5678
+ "jsDoc": "/**\n * Add a comment to the conversation of a change request the review page shows.\n * @param url - web URL of the change request.\n * @param body - Markdown source of the comment.\n * @param signal - request cancellation.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/action-failed` when `body` is\n * blank, or with the host's reason; `forgePanel/action-unknown` when the host's answer did not confirm the comment.\n */"
5679
+ },
5066
5680
  {
5067
5681
  "kind": "method",
5068
5682
  "name": "reviewChecks",
@@ -5140,6 +5754,13 @@ export const TYPERT = {
5140
5754
  "summary": "Merge a change request the review page shows while its head is still `headSha`.",
5141
5755
  "jsDoc": "/**\n * Merge a change request the review page shows while its head is still `headSha`.\n * @param url - web URL of the change request.\n * @param method - how the commits enter the base branch.\n * @param headSha - head commit the user confirmed.\n * @param signal - request cancellation.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/stale-head`,\n * `forgePanel/action-failed`, or `forgePanel/action-unknown` with the host's reason.\n */"
5142
5756
  },
5757
+ {
5758
+ "kind": "method",
5759
+ "name": "reviewSetAutoMerge",
5760
+ "signature": "@Remote async reviewSetAutoMerge(url: string, request: AutoMergeRequest, signal: AbortSignal): Promise<void>",
5761
+ "summary": "Turn the code host's automatic merge of a change request the review page shows on, while its head is still the request's `headSha`, or off.",
5762
+ "jsDoc": "/**\n * Turn the code host's automatic merge of a change request the review page shows on, while its head is still the\n * request's `headSha`, or off.\n * @param url - web URL of the change request.\n * @param request - on with the merge method and the head commit the user confirmed, or off.\n * @param signal - request cancellation.\n * @throws `forgePanel/unrecognized-url` when no provider serves the URL; `forgePanel/stale-head`,\n * `forgePanel/action-failed`, or `forgePanel/action-unknown` with the host's reason.\n */"
5763
+ },
5143
5764
  {
5144
5765
  "kind": "method",
5145
5766
  "name": "reviewRerunChecks",
@@ -5192,9 +5813,9 @@ export const TYPERT = {
5192
5813
  {
5193
5814
  "kind": "method",
5194
5815
  "name": "diffBases",
5195
- "signature": "@Remote async diffBases(session: Session, query: string, signal: AbortSignal): Promise<ForgeBaseBranches>",
5196
- "summary": "List the branches the `branch` scope of the Session's current checkout can compare with.",
5197
- "jsDoc": "/**\n * List the branches the `branch` scope of the Session's current checkout can compare with.\n * @param session - Session whose checkout is read.\n * @param query - text the branch names must contain, ignoring case; empty for every branch.\n * @param signal - request cancellation.\n * @returns the automatic fork point and at most `maxBranches` remote-tracking and local branches each,\n * most recently committed first, without the checked-out branch.\n * @throws `forgePanel/not-a-checkout` outside a checkout; the Git error when Git fails or the listed refs exceed `maxDiffBytes`.\n */"
5816
+ "signature": "@Remote async diffBases(session: Session, head: string | null, query: string, signal: AbortSignal): Promise<ForgeBaseBranches>",
5817
+ "summary": "List the branches the `branch` scope can compare with, for the Session's current checkout or for a head branch read in its place.",
5818
+ "jsDoc": "/**\n * List the branches the `branch` scope can compare with, for the Session's current checkout or for a head branch\n * read in its place.\n * @param session - Session whose checkout is read.\n * @param head - full ref of the branch the scope reads in place of the checked-out one, or null for the checkout.\n * @param query - text the branch names must contain, ignoring case; empty for every branch.\n * @param signal - request cancellation.\n * @returns the automatic fork point and at most `maxBranches` remote-tracking and local branches each,\n * most recently committed first, without the branch the scope shows and, for a head, without the Session's\n * checked-out branch, which the automatic fork point compares with; a local branch that a worktree has checked\n * out names that worktree's directory.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/head-missing` when the head does not exist; the\n * Git error when Git fails or the listed refs exceed `maxDiffBytes`.\n */"
5198
5819
  },
5199
5820
  {
5200
5821
  "kind": "method",
@@ -5228,22 +5849,29 @@ export const TYPERT = {
5228
5849
  "kind": "method",
5229
5850
  "name": "localDiff",
5230
5851
  "signature": "@Remote async localDiff(session: Session, scope: ForgeLocalScope, signal: AbortSignal): Promise<ForgeLocalDiff>",
5231
- "summary": "Read the changes one scope covers in the checkout of the Session's current directory, with Git using the Session's sandbox policy.",
5232
- "jsDoc": "/**\n * Read the changes one scope covers in the checkout of the Session's\n * current directory, with Git using the Session's sandbox policy.\n * @param session - Session whose checkout is read.\n * @param scope - which changes to read.\n * @param signal - request cancellation.\n * @returns the files, the base of the `branch` scope, and the untracked files left out.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/base-missing` when the base branch\n * chosen for the `branch` scope does not exist; `forgePanel/no-fork-point` for the `branch` scope without\n * a fork point; `forgePanel/commits-missing` when chosen commits are not between the fork point and HEAD in order;\n * `forgePanel/commits-not-linear` when a chosen commit's first parent is not the commit listed before it;\n * `forgePanel/filter-config-failed` when filter configuration cannot be read completely, before\n * any comparison; `forgePanel/diff-too-large` over `maxDiffBytes`; the Git error when Git fails.\n */"
5852
+ "summary": "Read the changes one scope covers in the checkout of the Session's current directory, or for the head branch the scope names: in the worktree that has it checked out, else from its commits.",
5853
+ "jsDoc": "/**\n * Read the changes one scope covers in the checkout of the Session's current directory, or for the head branch the\n * scope names: in the worktree that has it checked out, else from its commits. Git uses the Session's sandbox policy.\n * @param session - Session whose checkout is read.\n * @param scope - which changes to read.\n * @param signal - request cancellation.\n * @returns the files, the base of the `branch` scope, the untracked files left out, and the worktree read for a head.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/head-missing` when the head the scope names\n * does not exist; `forgePanel/no-working-tree` for another scope than `branch` whose head no worktree has checked\n * out; `forgePanel/base-missing` when the base branch\n * chosen for the `branch` scope does not exist; `forgePanel/no-fork-point` for the `branch` scope without\n * a fork point; `forgePanel/commits-missing` when chosen commits are not between the fork point and HEAD in order;\n * `forgePanel/commits-not-linear` when a chosen commit's first parent is not the commit listed before it;\n * `forgePanel/filter-config-failed` when filter configuration cannot be read completely, before\n * any comparison; `forgePanel/diff-too-large` over `maxDiffBytes`; the Git error when Git fails.\n */"
5233
5854
  },
5234
5855
  {
5235
5856
  "kind": "method",
5236
5857
  "name": "localCommits",
5237
- "signature": "@Remote async localCommits(session: Session, base: string | null, signal: AbortSignal): Promise<ForgeLocalCommits>",
5238
- "summary": "List the commits of the `branch` scope of the Session's current checkout, which the changes view can show one or several of instead of the whole scope.",
5239
- "jsDoc": "/**\n * List the commits of the `branch` scope of the Session's current checkout, which the changes view can show one or\n * several of instead of the whole scope.\n * @param session - Session whose checkout is read.\n * @param base - the base ref of the `branch` scope, or null for its automatic fork point.\n * @param signal - request cancellation.\n * @returns the newest `maxCommits` commits between the fork point and HEAD, oldest first, and HEAD's commit.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/base-missing` when the base branch does not\n * exist; `forgePanel/no-fork-point` without a fork point; the Git error when Git fails or the listing exceeds `maxDiffBytes`.\n */"
5858
+ "signature": "@Remote async localCommits(session: Session, head: string | null, base: string | null, signal: AbortSignal): Promise<ForgeLocalCommits>",
5859
+ "summary": "List the commits of the `branch` scope of the Session's current checkout or of a head branch read in its place, which the changes view can show one or several of instead of the whole scope.",
5860
+ "jsDoc": "/**\n * List the commits of the `branch` scope of the Session's current checkout or of a head branch read in its place,\n * which the changes view can show one or several of instead of the whole scope.\n * @param session - Session whose checkout is read.\n * @param head - full ref of the branch the scope reads in place of the checked-out one, or null for the checkout.\n * @param base - the base ref of the `branch` scope, or null for its automatic fork point.\n * @param signal - request cancellation.\n * @returns the newest `maxCommits` commits between the fork point and the shown HEAD or branch, oldest first, and its commit.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/head-missing` when the head does not exist;\n * `forgePanel/base-missing` when the base branch does not exist; `forgePanel/no-fork-point` without a fork point;\n * the Git error when Git fails or the listing exceeds `maxDiffBytes`.\n */"
5240
5861
  },
5241
5862
  {
5242
5863
  "kind": "method",
5243
5864
  "name": "localText",
5244
5865
  "signature": "@Remote async localText(session: Session, scope: ForgeLocalScope, path: string, signal: AbortSignal): Promise<string>",
5245
- "summary": "Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of the `branch` scope, else the working tree.",
5246
- "jsDoc": "/**\n * Read the new side of one changed file in a scope, which supplies the\n * unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of\n * the `branch` scope, else the working tree.\n * @param session - Session whose checkout is read.\n * @param scope - the scope the diff was read in.\n * @param path - path relative to the checkout's top-level directory, as the diff names it.\n * @param signal - request cancellation.\n * @returns the text.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/diff-too-large` over `maxDiffBytes`;\n * `forgePanel/commits-missing` for a chosen commit that is not a full object name; an error for a path outside\n * the checkout, binary content, or a failed read.\n */"
5866
+ "summary": "Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of the `branch` scope, the branch for a head read from its commits, else the working tree of the checkout the scope reads.",
5867
+ "jsDoc": "/**\n * Read the new side of one changed file in a scope, which supplies the\n * unchanged lines between its hunks: the index for `staged`, the last chosen commit for chosen commits of\n * the `branch` scope, the branch for a head read from its commits, else the working tree of the checkout the scope reads.\n * @param session - Session whose checkout is read.\n * @param scope - the scope the diff was read in.\n * @param path - path relative to the checkout's top-level directory, as the diff names it.\n * @param signal - request cancellation.\n * @returns the text.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/head-missing` and `forgePanel/no-working-tree`\n * as for {@link ForgePanelController.localDiff}; `forgePanel/diff-too-large` over `maxDiffBytes`;\n * `forgePanel/commits-missing` for a chosen commit that is not a full object name; an error for a path outside\n * the checkout, binary content, or a failed read.\n */"
5868
+ },
5869
+ {
5870
+ "kind": "method",
5871
+ "name": "localWrite",
5872
+ "signature": "@Remote async localWrite(session: Session, write: ForgeLocalWrite, signal: AbortSignal): Promise<ForgeLocalWriteResult>",
5873
+ "summary": "Stage, unstage, or restore whole files in the checkout of the Session's current directory, or return index entries to the tree an earlier write reported.",
5874
+ "jsDoc": "/**\n * Stage, unstage, or restore whole files in the checkout of the Session's current directory, or return index\n * entries to the tree an earlier write reported. The caller's press authorizes the write, so Git runs without the\n * Session's sandbox policy and under any access mode. The Session's panel inspects the checkout again afterwards,\n * whether or not the write succeeded.\n * @param session - Session whose checkout is written.\n * @param write - the write; `stage` and `restore` name each file with the digest of the change the reader saw.\n * @param signal - request cancellation.\n * @returns the index before a `stage` or `unstage` as a tree, for undoing it.\n * @throws `forgePanel/not-a-checkout` outside a checkout; `forgePanel/local-stale` before anything is written when a\n * file's unstaged change is not the one the reader saw; `forgePanel/local-path-replaced` before anything is written\n * when a deleted file's path holds a directory; the errors of {@link ForgePanelController.localDiff} for the\n * `unstaged` scope; an error for a path outside the checkout, a tree that is not a full object name, a restore of a\n * submodule or of a file without index content, or a Git failure.\n */"
5247
5875
  },
5248
5876
  {
5249
5877
  "kind": "method",
@@ -5343,6 +5971,13 @@ export const TYPERT = {
5343
5971
  "summary": "Merge a change request of a Session while its head is still `headSha`; the change request is polled again once the host answers.",
5344
5972
  "jsDoc": "/**\n * Merge a change request of a Session while its head is still `headSha`;\n * the change request is polled again once the host answers.\n * @param session - Session the change request is bound to.\n * @param url - binding URL of the change request.\n * @param method - how the commits enter the base branch.\n * @param headSha - head commit the user confirmed.\n * @param signal - request cancellation.\n * @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;\n * `forgePanel/stale-head` when the head moved past `headSha`; `forgePanel/action-failed` with the host's\n * reason when the host refuses otherwise or cannot be reached.\n */"
5345
5973
  },
5974
+ {
5975
+ "kind": "method",
5976
+ "name": "setAutoMerge",
5977
+ "signature": "@Remote async setAutoMerge(session: Session, url: string, request: AutoMergeRequest, signal: AbortSignal): Promise<void>",
5978
+ "summary": "Turn the code host's automatic merge of a change request of a Session on, while its head is still the request's `headSha`, or off; the change request is polled again once the host answers.",
5979
+ "jsDoc": "/**\n * Turn the code host's automatic merge of a change request of a Session on, while its head is still the request's\n * `headSha`, or off; the change request is polled again once the host answers.\n * @param session - Session the change request is bound to.\n * @param url - binding URL of the change request.\n * @param request - on with the merge method and the head commit the user confirmed, or off.\n * @param signal - request cancellation.\n * @throws `forgePanel/not-bound` unless the URL is a visible binding of the Session that a provider serves;\n * `forgePanel/stale-head` when the head moved past the request's `headSha`; `forgePanel/action-failed` with the\n * host's reason when the host refuses otherwise, cannot be reached, or sets no automatic merge;\n * `forgePanel/action-unknown` when the host's answer did not confirm the change.\n */"
5980
+ },
5346
5981
  {
5347
5982
  "kind": "method",
5348
5983
  "name": "rerunChecks",
@@ -5475,6 +6110,10 @@ export const TYPERT = {
5475
6110
  "name": "AttachmentId",
5476
6111
  "declaration": "export type AttachmentId = Branded<'AttachmentId'>;"
5477
6112
  },
6113
+ {
6114
+ "name": "AutoMergeRequest",
6115
+ "declaration": "export type AutoMergeRequest = { readonly enabled: true; readonly method: MergeMethod; readonly headSha: string; } | { readonly enabled: false; };"
6116
+ },
5478
6117
  {
5479
6118
  "name": "BindingOrigin",
5480
6119
  "declaration": "export type BindingOrigin = 'created' | 'referenced' | 'discovered' | 'tracked';"
@@ -5491,6 +6130,18 @@ export const TYPERT = {
5491
6130
  "name": "BrandedNumber",
5492
6131
  "declaration": "export type BrandedNumber<B extends string> = number & { readonly [BRAND]: B; };"
5493
6132
  },
6133
+ {
6134
+ "name": "ChangeRequestActivity",
6135
+ "declaration": "export interface ChangeRequestActivity {\n readonly items: readonly ChangeRequestActivityItem[];\n readonly truncated: boolean;\n readonly viewerCanComment: boolean;\n}"
6136
+ },
6137
+ {
6138
+ "name": "ChangeRequestActivityItem",
6139
+ "declaration": "export type ChangeRequestActivityItem = { readonly at: string; readonly actor: ForgeCommentAuthor | null; } & ({ readonly kind: 'comment'; readonly body: string; readonly url: string | null; } | { readonly kind: 'review'; readonly verdict: ReviewVerdict; readonly body: string; readonly comments: number; readonly url: string | null; } | { readonly kind: 'commit'; readonly sha: string; readonly title: string; } | { readonly kind: 'merged' | 'closed' | 'reopened' | 'ready-for-review' | 'converted-to-draft' | 'force-pushed'; } | { readonly kind: 'auto-merge-enabled' | 'auto-merge-disabled'; } | { readonly kind: 'review-requested'; readonly reviewer: string | null; } | { readonly kind: 'renamed'; readonly from: string; readonly to: string; } | { readonly kind: 'other'; readonly text: string; });"
6140
+ },
6141
+ {
6142
+ "name": "ChangeRequestAutoMerge",
6143
+ "declaration": "export interface ChangeRequestAutoMerge {\n readonly enabled: boolean;\n readonly method: MergeMethod | null;\n readonly enabledBy: string | null;\n readonly canEnable: boolean;\n readonly canDisable: boolean;\n}"
6144
+ },
5494
6145
  {
5495
6146
  "name": "ChangeRequestCheck",
5496
6147
  "declaration": "export interface ChangeRequestCheck {\n readonly name: string;\n readonly state: CheckState;\n readonly url: string | null;\n readonly workflow: string | null;\n readonly startedAt: string | null;\n readonly completedAt: string | null;\n readonly rerun: ForgeCheckId | null;\n}"
@@ -5525,7 +6176,7 @@ export const TYPERT = {
5525
6176
  },
5526
6177
  {
5527
6178
  "name": "ChangeRequestSnapshot",
5528
- "declaration": "export interface ChangeRequestSnapshot {\n readonly ref: ChangeRequestRef;\n readonly url: string;\n readonly title: string;\n readonly state: ChangeRequestState;\n readonly draft: boolean;\n readonly author: string | null;\n readonly headBranch: string;\n readonly headSha: string;\n readonly baseBranch: string;\n readonly baseSha?: string;\n readonly additions: number;\n readonly deletions: number;\n readonly mergeability: Mergeability;\n readonly mergeReady: boolean;\n readonly mergeMethods: readonly MergeMethod[];\n readonly branchUpdates: readonly BranchUpdateMethod[];\n readonly reviewDecision: ReviewDecision;\n readonly reviewers: readonly ChangeRequestReviewer[];\n readonly reviewersTruncated: boolean;\n readonly canRequestReviews: boolean;\n readonly checks: readonly ChangeRequestCheck[];\n readonly checksRollup: ChecksRollup;\n readonly checksTruncated: boolean;\n readonly canRerunChecks: boolean;\n readonly unresolvedThreads: number;\n readonly threadsTruncated: boolean;\n readonly closingIssues: readonly ChangeRequestIssue[];\n readonly closingIssuesTruncated: boolean;\n readonly updatedAt: string;\n readonly closedAt: string | null;\n}"
6179
+ "declaration": "export interface ChangeRequestSnapshot {\n readonly ref: ChangeRequestRef;\n readonly url: string;\n readonly title: string;\n readonly state: ChangeRequestState;\n readonly draft: boolean;\n readonly author: string | null;\n readonly headBranch: string;\n readonly headSha: string;\n readonly baseBranch: string;\n readonly baseSha?: string;\n readonly additions: number;\n readonly deletions: number;\n readonly mergeability: Mergeability;\n readonly mergeReady: boolean;\n readonly mergeMethods: readonly MergeMethod[];\n readonly autoMerge?: ChangeRequestAutoMerge;\n readonly branchUpdates: readonly BranchUpdateMethod[];\n readonly reviewDecision: ReviewDecision;\n readonly reviewers: readonly ChangeRequestReviewer[];\n readonly reviewersTruncated: boolean;\n readonly canRequestReviews: boolean;\n readonly checks: readonly ChangeRequestCheck[];\n readonly checksRollup: ChecksRollup;\n readonly checksTruncated: boolean;\n readonly canRerunChecks: boolean;\n readonly unresolvedThreads: number;\n readonly threadsTruncated: boolean;\n readonly closingIssues: readonly ChangeRequestIssue[];\n readonly closingIssuesTruncated: boolean;\n readonly updatedAt: string;\n readonly closedAt: string | null;\n}"
5529
6180
  },
5530
6181
  {
5531
6182
  "name": "ChangeRequestState",
@@ -5533,7 +6184,7 @@ export const TYPERT = {
5533
6184
  },
5534
6185
  {
5535
6186
  "name": "ChangeRequestSummary",
5536
- "declaration": "export interface ChangeRequestSummary {\n readonly ref: ChangeRequestRef;\n readonly url: string;\n readonly title: string;\n readonly draft: boolean;\n readonly author: ForgeCommentAuthor | null;\n readonly headSha: string;\n readonly checksRollup: ChecksRollup;\n readonly reviewDecision: ReviewDecision;\n readonly viewerReview: ChangeRequestViewerReview | null;\n readonly viewerRequest: { readonly team: string | null; } | null;\n readonly closingIssues: readonly ChangeRequestIssue[];\n readonly closingIssuesTruncated: boolean;\n readonly updatedAt: string;\n}"
6187
+ "declaration": "export interface ChangeRequestSummary {\n readonly ref: ChangeRequestRef;\n readonly url: string;\n readonly title: string;\n readonly draft: boolean;\n readonly author: ForgeCommentAuthor | null;\n readonly headSha: string;\n readonly checksRollup: ChecksRollup;\n readonly reviewDecision: ReviewDecision;\n readonly viewerReview: ChangeRequestViewerReview | null;\n readonly viewerRequest: { readonly team: string | null; } | null;\n readonly updatedAt: string;\n}"
5537
6188
  },
5538
6189
  {
5539
6190
  "name": "ChangeRequestUpdate",
@@ -5645,7 +6296,7 @@ export const TYPERT = {
5645
6296
  },
5646
6297
  {
5647
6298
  "name": "ForgeBaseBranch",
5648
- "declaration": "export interface ForgeBaseBranch {\n readonly ref: string;\n readonly name: string;\n}"
6299
+ "declaration": "export interface ForgeBaseBranch {\n readonly ref: string;\n readonly name: string;\n readonly worktree?: string;\n}"
5649
6300
  },
5650
6301
  {
5651
6302
  "name": "ForgeBaseBranches",
@@ -5705,7 +6356,7 @@ export const TYPERT = {
5705
6356
  },
5706
6357
  {
5707
6358
  "name": "ForgeDiffFile",
5708
- "declaration": "export interface ForgeDiffFile {\n readonly path: string;\n readonly previousPath: string | null;\n readonly status: ForgeDiffStatus;\n readonly binary: boolean;\n readonly oversized: boolean;\n readonly untracked: boolean;\n readonly additions: number;\n readonly deletions: number;\n readonly hunks: readonly ForgeDiffHunk[];\n readonly layer: ForgeFileLayer;\n readonly digest: string;\n}"
6359
+ "declaration": "export interface ForgeDiffFile {\n readonly path: string;\n readonly previousPath: string | null;\n readonly status: ForgeDiffStatus;\n readonly binary: boolean;\n readonly oversized: boolean;\n readonly untracked: boolean;\n readonly submodule: boolean;\n readonly additions: number;\n readonly deletions: number;\n readonly hunks: readonly ForgeDiffHunk[];\n readonly layer: ForgeFileLayer;\n readonly digest: string;\n}"
5709
6360
  },
5710
6361
  {
5711
6362
  "name": "ForgeDiffHunk",
@@ -5781,11 +6432,23 @@ export const TYPERT = {
5781
6432
  },
5782
6433
  {
5783
6434
  "name": "ForgeLocalDiff",
5784
- "declaration": "export interface ForgeLocalDiff {\n readonly base: string | null;\n readonly files: readonly ForgeDiffFile[];\n readonly omitted: number;\n}"
6435
+ "declaration": "export interface ForgeLocalDiff {\n readonly base: string | null;\n readonly files: readonly ForgeDiffFile[];\n readonly omitted: number;\n readonly worktree?: string;\n}"
5785
6436
  },
5786
6437
  {
5787
6438
  "name": "ForgeLocalScope",
5788
- "declaration": "export type ForgeLocalScope = { readonly kind: 'branch'; readonly base: string | null; readonly commits: ForgeCommitRange | null; } | { readonly kind: 'uncommitted'; } | { readonly kind: 'unstaged'; } | { readonly kind: 'staged'; };"
6439
+ "declaration": "export type ForgeLocalScope = { readonly kind: 'branch'; readonly head?: string; readonly base: string | null; readonly commits: ForgeCommitRange | null; } | { readonly kind: 'uncommitted'; readonly head?: string; } | { readonly kind: 'unstaged'; readonly head?: string; } | { readonly kind: 'staged'; readonly head?: string; };"
6440
+ },
6441
+ {
6442
+ "name": "ForgeLocalWrite",
6443
+ "declaration": "export type ForgeLocalWrite = { readonly kind: 'stage'; readonly files: readonly ForgeLocalWriteFile[]; } | { readonly kind: 'unstage'; readonly paths: readonly string[]; } | { readonly kind: 'restore'; readonly files: readonly ForgeLocalWriteFile[]; } | { readonly kind: 'reindex'; readonly tree: string; readonly paths: readonly string[]; };"
6444
+ },
6445
+ {
6446
+ "name": "ForgeLocalWriteFile",
6447
+ "declaration": "export interface ForgeLocalWriteFile {\n readonly path: string;\n readonly digest: string;\n}"
6448
+ },
6449
+ {
6450
+ "name": "ForgeLocalWriteResult",
6451
+ "declaration": "export interface ForgeLocalWriteResult {\n readonly undo: string | null;\n}"
5789
6452
  },
5790
6453
  {
5791
6454
  "name": "ForgeMissingWorktree",
@@ -5861,7 +6524,7 @@ export const TYPERT = {
5861
6524
  },
5862
6525
  {
5863
6526
  "name": "ForgeReviewHost",
5864
- "declaration": "export interface ForgeReviewHost {\n readonly forge: string;\n readonly host: string;\n readonly viewer: string | null;\n readonly lists: Partial<Readonly<Record<ForgeViewerFilter, ForgeReviewList>>>;\n}"
6527
+ "declaration": "export interface ForgeReviewHost {\n readonly forge: string;\n readonly host: string;\n readonly viewer: string | null;\n readonly signIn: string | null;\n readonly lists: Partial<Readonly<Record<ForgeViewerFilter, ForgeReviewList>>>;\n}"
5865
6528
  },
5866
6529
  {
5867
6530
  "name": "ForgeReviewId",
@@ -5871,6 +6534,10 @@ export const TYPERT = {
5871
6534
  "name": "ForgeReviewList",
5872
6535
  "declaration": "export interface ForgeReviewList {\n readonly items: readonly ChangeRequestSummary[] | null;\n readonly total: number;\n readonly fetchedAt: number | null;\n readonly failure: ForgeFailure | null;\n}"
5873
6536
  },
6537
+ {
6538
+ "name": "ForgeReviewRepository",
6539
+ "declaration": "export interface ForgeReviewRepository {\n readonly host: string;\n readonly owner: string;\n readonly name: string;\n}"
6540
+ },
5874
6541
  {
5875
6542
  "name": "ForgeReviewRequest",
5876
6543
  "declaration": "export type ForgeReviewRequest = { readonly headSha: string; } & ({ readonly kind: 'comment'; readonly comment: ForgeLineComment; } | { readonly kind: 'review'; readonly event: ForgeReviewEvent; readonly body: string; readonly comments: readonly ForgeLineComment[]; });"
@@ -6125,7 +6792,7 @@ export const TYPERT = {
6125
6792
  },
6126
6793
  {
6127
6794
  "name": "MessageSourceMap",
6128
- "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'skill-invocation': SkillInvocationSource;\n 'working-directory': { kind: 'working-directory'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'team-message': TeamMessageSource;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'retry-rpc': { kind: 'retry'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n 'cua-held-inputs': { kind: 'cua-held-inputs'; } & Extract<ContextFormed, { form: 'notice'; }>;\n 'cua-inputs-released': { kind: 'cua-inputs-released'; } & Extract<ContextFormed, { form: 'notice'; }>;\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n 'timeline-priority': { kind: 'timeline-priority'; form: 'notice'; summary: string; };\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
6795
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'skill-invocation': SkillInvocationSource;\n 'working-directory': { kind: 'working-directory'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'team-message': TeamMessageSource;\n 'todo-reminder': { kind: 'todo-reminder'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'retry-rpc': { kind: 'retry'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'plugin-reference': PluginReferenceSource;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n 'cua-held-inputs': { kind: 'cua-held-inputs'; } & Extract<ContextFormed, { form: 'notice'; }>;\n 'cua-inputs-released': { kind: 'cua-inputs-released'; } & Extract<ContextFormed, { form: 'notice'; }>;\n goal: GoalMessageSource;\n im: { kind: 'im'; } & ContextFormed;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n 'timeline-priority': { kind: 'timeline-priority'; form: 'notice'; summary: string; };\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
6129
6796
  },
6130
6797
  {
6131
6798
  "name": "ModelMessageSource",
@@ -6147,6 +6814,10 @@ export const TYPERT = {
6147
6814
  "name": "OptionalSessionSeq",
6148
6815
  "declaration": "export type OptionalSessionSeq = SessionSeq | null;"
6149
6816
  },
6817
+ {
6818
+ "name": "PluginReferenceSource",
6819
+ "declaration": "export interface PluginReferenceSource {\n readonly kind: 'plugin-reference';\n readonly form: 'recall';\n readonly version: 1;\n readonly packages: readonly { readonly packageName: string; readonly label: string; }[];\n}"
6820
+ },
6150
6821
  {
6151
6822
  "name": "Principal",
6152
6823
  "declaration": "export type Principal = PrincipalMap[keyof PrincipalMap];"
@@ -6241,7 +6912,7 @@ export const TYPERT = {
6241
6912
  },
6242
6913
  {
6243
6914
  "name": "SessionEventMap",
6244
- "declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'working-directory/change': { cwd: string; };\n 'workspace-root/change': { cwd: string; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'action-cards/decision': ActionCardDecision;\n 'agent-preset/selected': { agentPreset: string; };\n 'team/mode': { enabled: boolean; };\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'session-log-deepseek/delivery-accepted': { sessionId: import('@deepseek-ai/dsh-session/types').SessionId; sessionFormatVersion?: number; throughSeq: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
6915
+ "declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'working-directory/change': { cwd: string; };\n 'workspace-root/change': { cwd: string; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'action-cards/decision': ActionCardDecision;\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'team/mode': { enabled: boolean; };\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'session-log-deepseek/delivery-accepted': { sessionId: import('@deepseek-ai/dsh-session/types').SessionId; sessionFormatVersion?: number; throughSeq: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
6245
6916
  },
6246
6917
  {
6247
6918
  "name": "SessionEventType",
@@ -6249,7 +6920,7 @@ export const TYPERT = {
6249
6920
  },
6250
6921
  {
6251
6922
  "name": "SessionHeader",
6252
- "declaration": "export interface SessionHeader {\n readonly version: typeof SESSION_FORMAT_VERSION;\n readonly id: SessionId;\n readonly createdAt: number;\n readonly cwd?: string;\n readonly parentSession?: SessionId;\n readonly isSeeded: boolean;\n readonly origin?: 'subagent';\n readonly delegationDepth?: number;\n readonly agentPreset?: string;\n}"
6923
+ "declaration": "export interface SessionHeader {\n readonly version: typeof SESSION_FORMAT_VERSION;\n readonly id: SessionId;\n readonly createdAt: number;\n readonly cwd?: string;\n readonly parentSession?: SessionId;\n readonly isSeeded: boolean;\n readonly origin?: SessionOrigin;\n readonly delegationDepth?: number;\n readonly agentPreset?: string;\n}"
6253
6924
  },
6254
6925
  {
6255
6926
  "name": "SessionId",
@@ -6259,6 +6930,10 @@ export const TYPERT = {
6259
6930
  "name": "SessionLogOffset",
6260
6931
  "declaration": "export type SessionLogOffset = BrandedNumber<'SessionLogOffset'>;"
6261
6932
  },
6933
+ {
6934
+ "name": "SessionOrigin",
6935
+ "declaration": "export type SessionOrigin = 'subagent' | 'side';"
6936
+ },
6262
6937
  {
6263
6938
  "name": "SessionReferenceSource",
6264
6939
  "declaration": "export interface SessionReferenceSource {\n kind: 'session-reference';\n form: 'recall';\n version: 1;\n references: { sessionId: string; label: string; capturedFormatVersion?: number; capturedThroughSeq: OptionalSessionSeq; compacted: boolean; originalMessages: number; retainedMessages: number; omittedMessages: number; omittedBytes: number; truncated: boolean; inputIndex: number; }[];\n}"