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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/README.i18n.yaml +8 -8
  2. package/README.md +41 -14
  3. package/README.zh.md +40 -13
  4. package/lib/client.js +13 -11800
  5. package/lib/client.js.map +1 -0
  6. package/lib/index.js +1340 -115
  7. package/lib/typert.host.js +1715 -212
  8. package/lib/typert.remote-client.d.ts +42 -5
  9. package/lib/typert.remote-client.d.ts.map +1 -0
  10. package/lib/typert.remote-client.js +1523 -244
  11. package/lib/types/client/ActionToast.d.ts.map +1 -0
  12. package/lib/types/client/ActionToast.js.map +1 -0
  13. package/lib/types/client/BaseMenu.d.ts +30 -0
  14. package/lib/types/client/BaseMenu.d.ts.map +1 -0
  15. package/lib/types/client/BaseMenu.js.map +1 -0
  16. package/lib/types/client/ChangeRequestCard.d.ts +9 -5
  17. package/lib/types/client/ChangeRequestCard.d.ts.map +1 -0
  18. package/lib/types/client/ChangeRequestCard.js.map +1 -0
  19. package/lib/types/client/ChangeRequestOverview.d.ts +124 -0
  20. package/lib/types/client/ChangeRequestOverview.d.ts.map +1 -0
  21. package/lib/types/client/ChangeRequestOverview.js.map +1 -0
  22. package/lib/types/client/ChangedFiles.d.ts +2 -0
  23. package/lib/types/client/ChangedFiles.d.ts.map +1 -0
  24. package/lib/types/client/ChangedFiles.js.map +1 -0
  25. package/lib/types/client/ChangesTab.d.ts +30 -5
  26. package/lib/types/client/ChangesTab.d.ts.map +1 -0
  27. package/lib/types/client/ChangesTab.js.map +1 -0
  28. package/lib/types/client/ChangesTabTitle.d.ts.map +1 -0
  29. package/lib/types/client/ChangesTabTitle.js.map +1 -0
  30. package/lib/types/client/CommitMenu.d.ts +41 -0
  31. package/lib/types/client/CommitMenu.d.ts.map +1 -0
  32. package/lib/types/client/CommitMenu.js.map +1 -0
  33. package/lib/types/client/DiffFile.d.ts +47 -15
  34. package/lib/types/client/DiffFile.d.ts.map +1 -0
  35. package/lib/types/client/DiffFile.js.map +1 -0
  36. package/lib/types/client/FileLabel.d.ts.map +1 -0
  37. package/lib/types/client/FileLabel.js.map +1 -0
  38. package/lib/types/client/FileTreePane.d.ts +4 -2
  39. package/lib/types/client/FileTreePane.d.ts.map +1 -0
  40. package/lib/types/client/FileTreePane.js.map +1 -0
  41. package/lib/types/client/ForgeTab.d.ts +9 -1
  42. package/lib/types/client/ForgeTab.d.ts.map +1 -0
  43. package/lib/types/client/ForgeTab.js.map +1 -0
  44. package/lib/types/client/ForgeTabTitle.d.ts.map +1 -0
  45. package/lib/types/client/ForgeTabTitle.js.map +1 -0
  46. package/lib/types/client/HeaderButton.d.ts.map +1 -0
  47. package/lib/types/client/HeaderButton.js.map +1 -0
  48. package/lib/types/client/LocalChangesCard.d.ts.map +1 -0
  49. package/lib/types/client/LocalChangesCard.js.map +1 -0
  50. package/lib/types/client/RefreshGlyph.d.ts.map +1 -0
  51. package/lib/types/client/RefreshGlyph.js.map +1 -0
  52. package/lib/types/client/ReviewComposer.d.ts +20 -6
  53. package/lib/types/client/ReviewComposer.d.ts.map +1 -0
  54. package/lib/types/client/ReviewComposer.js.map +1 -0
  55. package/lib/types/client/ReviewControls.d.ts +79 -0
  56. package/lib/types/client/ReviewControls.d.ts.map +1 -0
  57. package/lib/types/client/ReviewControls.js.map +1 -0
  58. package/lib/types/client/ReviewThread.d.ts +4 -4
  59. package/lib/types/client/ReviewThread.d.ts.map +1 -0
  60. package/lib/types/client/ReviewThread.js.map +1 -0
  61. package/lib/types/client/ReviewThreads.d.ts +108 -0
  62. package/lib/types/client/ReviewThreads.d.ts.map +1 -0
  63. package/lib/types/client/ReviewThreads.js.map +1 -0
  64. package/lib/types/client/SessionHoverForge.d.ts.map +1 -0
  65. package/lib/types/client/SessionHoverForge.js.map +1 -0
  66. package/lib/types/client/SessionRowForge.d.ts +1 -1
  67. package/lib/types/client/SessionRowForge.d.ts.map +1 -0
  68. package/lib/types/client/SessionRowForge.js.map +1 -0
  69. package/lib/types/client/SubmitReview.d.ts +12 -4
  70. package/lib/types/client/SubmitReview.d.ts.map +1 -0
  71. package/lib/types/client/SubmitReview.js.map +1 -0
  72. package/lib/types/client/ThreadList.d.ts +43 -0
  73. package/lib/types/client/ThreadList.d.ts.map +1 -0
  74. package/lib/types/client/ThreadList.js.map +1 -0
  75. package/lib/types/client/ViewOptionsMenu.d.ts +31 -0
  76. package/lib/types/client/ViewOptionsMenu.d.ts.map +1 -0
  77. package/lib/types/client/ViewOptionsMenu.js.map +1 -0
  78. package/lib/types/client/WorktreeProgress.d.ts.map +1 -0
  79. package/lib/types/client/WorktreeProgress.js.map +1 -0
  80. package/lib/types/client/WorktreeSettings.d.ts +12 -0
  81. package/lib/types/client/WorktreeSettings.d.ts.map +1 -0
  82. package/lib/types/client/WorktreeSettings.js.map +1 -0
  83. package/lib/types/client/WorktreeToggle.d.ts.map +1 -0
  84. package/lib/types/client/WorktreeToggle.js.map +1 -0
  85. package/lib/types/client/changes-address.d.ts.map +1 -0
  86. package/lib/types/client/changes-address.js.map +1 -0
  87. package/lib/types/client/changes-store.d.ts +20 -5
  88. package/lib/types/client/changes-store.d.ts.map +1 -0
  89. package/lib/types/client/changes-store.js.map +1 -0
  90. package/lib/types/client/checkout.d.ts.map +1 -0
  91. package/lib/types/client/checkout.js.map +1 -0
  92. package/lib/types/client/code-selection.d.ts.map +1 -0
  93. package/lib/types/client/code-selection.js.map +1 -0
  94. package/lib/types/client/diff-rows.d.ts.map +1 -0
  95. package/lib/types/client/diff-rows.js.map +1 -0
  96. package/lib/types/client/file-tree.d.ts.map +1 -0
  97. package/lib/types/client/file-tree.js.map +1 -0
  98. package/lib/types/client/format.d.ts.map +1 -0
  99. package/lib/types/client/format.js.map +1 -0
  100. package/lib/types/client/glyphs.d.ts +4 -2
  101. package/lib/types/client/glyphs.d.ts.map +1 -0
  102. package/lib/types/client/glyphs.js.map +1 -0
  103. package/lib/types/client/host-viewed.d.ts +84 -0
  104. package/lib/types/client/host-viewed.d.ts.map +1 -0
  105. package/lib/types/client/host-viewed.js.map +1 -0
  106. package/lib/types/client/index.d.ts.map +1 -0
  107. package/lib/types/client/index.js.map +1 -0
  108. package/lib/types/client/locales.d.ts +175 -3
  109. package/lib/types/client/locales.d.ts.map +1 -0
  110. package/lib/types/client/locales.js.map +1 -0
  111. package/lib/types/client/menu-search.d.ts +10 -0
  112. package/lib/types/client/menu-search.d.ts.map +1 -0
  113. package/lib/types/client/menu-search.js.map +1 -0
  114. package/lib/types/client/mount.d.ts +4 -0
  115. package/lib/types/client/mount.d.ts.map +1 -0
  116. package/lib/types/client/mount.js.map +1 -0
  117. package/lib/types/client/review-queue.d.ts +5 -8
  118. package/lib/types/client/review-queue.d.ts.map +1 -0
  119. package/lib/types/client/review-queue.js.map +1 -0
  120. package/lib/types/client/review-threads.d.ts +108 -0
  121. package/lib/types/client/review-threads.d.ts.map +1 -0
  122. package/lib/types/client/review-threads.js.map +1 -0
  123. package/lib/types/client/review.d.ts +31 -4
  124. package/lib/types/client/review.d.ts.map +1 -0
  125. package/lib/types/client/review.js.map +1 -0
  126. package/lib/types/client/section-reach.d.ts +26 -0
  127. package/lib/types/client/section-reach.d.ts.map +1 -0
  128. package/lib/types/client/section-reach.js.map +1 -0
  129. package/lib/types/client/session-list.d.ts.map +1 -0
  130. package/lib/types/client/session-list.js.map +1 -0
  131. package/lib/types/client/source.d.ts.map +1 -0
  132. package/lib/types/client/source.js.map +1 -0
  133. package/lib/types/client/status.d.ts.map +1 -0
  134. package/lib/types/client/status.js.map +1 -0
  135. package/lib/types/client/thread-state.d.ts +68 -0
  136. package/lib/types/client/thread-state.d.ts.map +1 -0
  137. package/lib/types/client/thread-state.js.map +1 -0
  138. package/lib/types/client/toolbar-fold.d.ts +19 -0
  139. package/lib/types/client/toolbar-fold.d.ts.map +1 -0
  140. package/lib/types/client/toolbar-fold.js.map +1 -0
  141. package/lib/types/client/viewed-files.d.ts +70 -0
  142. package/lib/types/client/viewed-files.d.ts.map +1 -0
  143. package/lib/types/client/viewed-files.js.map +1 -0
  144. package/lib/types/client/worktree-settings-form.d.ts +32 -0
  145. package/lib/types/client/worktree-settings-form.d.ts.map +1 -0
  146. package/lib/types/client/worktree-settings-form.js.map +1 -0
  147. package/lib/types/commit-range.d.ts +17 -0
  148. package/lib/types/commit-range.d.ts.map +1 -0
  149. package/lib/types/commit-range.js.map +1 -0
  150. package/lib/types/diff.d.ts +10 -2
  151. package/lib/types/diff.d.ts.map +1 -0
  152. package/lib/types/diff.js.map +1 -0
  153. package/lib/types/git.d.ts.map +1 -0
  154. package/lib/types/git.js.map +1 -0
  155. package/lib/types/index.d.ts +194 -14
  156. package/lib/types/index.d.ts.map +1 -0
  157. package/lib/types/index.js.map +1 -0
  158. package/lib/types/layers.d.ts +66 -0
  159. package/lib/types/layers.d.ts.map +1 -0
  160. package/lib/types/layers.js.map +1 -0
  161. package/lib/types/local-diff.d.ts +54 -6
  162. package/lib/types/local-diff.d.ts.map +1 -0
  163. package/lib/types/local-diff.js.map +1 -0
  164. package/lib/types/panel.d.ts.map +1 -0
  165. package/lib/types/panel.js.map +1 -0
  166. package/lib/types/parse.d.ts +16 -0
  167. package/lib/types/parse.d.ts.map +1 -0
  168. package/lib/types/parse.js.map +1 -0
  169. package/lib/types/patch-cache.d.ts +12 -7
  170. package/lib/types/patch-cache.d.ts.map +1 -0
  171. package/lib/types/patch-cache.js.map +1 -0
  172. package/lib/types/review-cache.d.ts +54 -0
  173. package/lib/types/review-cache.d.ts.map +1 -0
  174. package/lib/types/review-cache.js.map +1 -0
  175. package/lib/types/states.d.ts.map +1 -0
  176. package/lib/types/states.js.map +1 -0
  177. package/lib/types/types.d.ts +113 -11
  178. package/lib/types/types.d.ts.map +1 -0
  179. package/lib/types/types.js.map +1 -0
  180. package/lib/types/wildmatch.d.ts +14 -0
  181. package/lib/types/wildmatch.d.ts.map +1 -0
  182. package/lib/types/wildmatch.js.map +1 -0
  183. package/lib/types/worktree.d.ts +8 -6
  184. package/lib/types/worktree.d.ts.map +1 -0
  185. package/lib/types/worktree.js.map +1 -0
  186. package/package.json +59 -49
  187. package/src/client/ActionToast.tsx +38 -0
  188. package/src/client/BaseMenu.module.css +153 -0
  189. package/src/client/BaseMenu.tsx +180 -0
  190. package/src/client/ChangeRequestCard.tsx +439 -0
  191. package/src/client/ChangeRequestOverview.module.css +196 -0
  192. package/src/client/ChangeRequestOverview.tsx +620 -0
  193. package/src/client/ChangedFiles.module.css +26 -0
  194. package/src/client/ChangedFiles.tsx +144 -0
  195. package/src/client/ChangesTab.module.css +984 -0
  196. package/src/client/ChangesTab.tsx +1288 -0
  197. package/src/client/ChangesTabTitle.tsx +28 -0
  198. package/src/client/CommitMenu.module.css +139 -0
  199. package/src/client/CommitMenu.tsx +186 -0
  200. package/src/client/DiffFile.tsx +621 -0
  201. package/src/client/FileLabel.module.css +53 -0
  202. package/src/client/FileLabel.tsx +66 -0
  203. package/src/client/FileTreePane.module.css +10 -0
  204. package/src/client/FileTreePane.tsx +79 -0
  205. package/src/client/ForgeTab.module.css +627 -0
  206. package/src/client/ForgeTab.tsx +263 -0
  207. package/src/client/ForgeTabTitle.tsx +21 -0
  208. package/src/client/HeaderButton.module.css +29 -0
  209. package/src/client/HeaderButton.tsx +68 -0
  210. package/src/client/LocalChangesCard.tsx +83 -0
  211. package/src/client/RefreshGlyph.module.css +22 -0
  212. package/src/client/RefreshGlyph.tsx +35 -0
  213. package/src/client/ReviewComposer.module.css +37 -0
  214. package/src/client/ReviewComposer.tsx +128 -0
  215. package/src/client/ReviewControls.module.css +162 -0
  216. package/src/client/ReviewControls.tsx +191 -0
  217. package/src/client/ReviewThread.tsx +96 -0
  218. package/src/client/ReviewThreads.module.css +326 -0
  219. package/src/client/ReviewThreads.tsx +443 -0
  220. package/src/client/SessionHoverForge.tsx +72 -0
  221. package/src/client/SessionList.module.css +85 -0
  222. package/src/client/SessionRowForge.tsx +86 -0
  223. package/src/client/SubmitReview.module.css +26 -0
  224. package/src/client/SubmitReview.tsx +95 -0
  225. package/src/client/ThreadList.module.css +218 -0
  226. package/src/client/ThreadList.tsx +165 -0
  227. package/src/client/ViewOptionsMenu.tsx +79 -0
  228. package/src/client/WorktreeProgress.module.css +226 -0
  229. package/src/client/WorktreeProgress.tsx +280 -0
  230. package/src/client/WorktreeSettings.module.css +29 -0
  231. package/src/client/WorktreeSettings.tsx +42 -0
  232. package/src/client/WorktreeToggle.module.css +132 -0
  233. package/src/client/WorktreeToggle.tsx +165 -0
  234. package/src/client/changes-address.ts +110 -0
  235. package/src/client/changes-store.ts +155 -0
  236. package/src/client/checkout.ts +75 -0
  237. package/src/client/code-selection.ts +53 -0
  238. package/src/client/diff-rows.ts +199 -0
  239. package/src/client/file-tree.ts +86 -0
  240. package/src/client/format.ts +37 -0
  241. package/src/client/glyphs.tsx +151 -0
  242. package/src/client/host-viewed.ts +195 -0
  243. package/src/client/index.ts +31 -0
  244. package/src/client/locales.ts +3446 -0
  245. package/src/client/menu-search.ts +16 -0
  246. package/src/client/mount.ts +439 -0
  247. package/src/client/review-queue.ts +256 -0
  248. package/src/client/review-threads.ts +204 -0
  249. package/src/client/review.ts +120 -0
  250. package/src/client/section-reach.ts +61 -0
  251. package/src/client/session-list.ts +79 -0
  252. package/src/client/source.ts +274 -0
  253. package/src/client/status.ts +171 -0
  254. package/src/client/thread-state.ts +127 -0
  255. package/src/client/toolbar-fold.ts +70 -0
  256. package/src/client/viewed-files.ts +178 -0
  257. package/src/client/worktree-settings-form.ts +43 -0
  258. package/src/commit-range.ts +27 -0
  259. package/src/css-modules.d.ts +5 -0
  260. package/src/diff.ts +162 -0
  261. package/src/git.ts +293 -0
  262. package/src/index.ts +1162 -0
  263. package/src/layers.ts +163 -0
  264. package/src/local-diff.ts +438 -0
  265. package/src/panel.ts +422 -0
  266. package/src/parse.ts +137 -0
  267. package/src/patch-cache.ts +73 -0
  268. package/src/review-cache.ts +98 -0
  269. package/src/states.ts +350 -0
  270. package/src/types.ts +504 -0
  271. package/src/wildmatch.ts +121 -0
  272. package/src/worktree.ts +576 -0
@@ -39,33 +39,83 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChec
39
39
  'headBranch': z.string().readonly().describe('Branch that carries the proposed commits.'),
40
40
  'headSha': z.string().readonly().describe('Commit object name at the head of the change request.'),
41
41
  'baseBranch': z.string().readonly().describe('Branch the change request merges into.'),
42
+ 'baseSha': z.string().readonly().optional().describe('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.'),
42
43
  'additions': z.number().readonly().describe('Lines the change request adds.'),
43
44
  'deletions': z.number().readonly().describe('Lines the change request deletes.'),
44
45
  'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
45
46
  '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.'),
46
47
  '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.'),
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.'),
47
49
  'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
50
+ 'reviewers': z.array(z.object({
51
+ 'kind': z.union([z.literal("user"), z.literal("bot"), z.literal("team")]).readonly().describe('Whether the reviewer is a person\'s account, an app or bot account, or a team.'),
52
+ 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),
53
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
54
+ 'requested': z.boolean().readonly().describe('Whether a review from the reviewer is requested now.'),
55
+ 'codeOwner': z.boolean().readonly().describe('Whether the host requested the review because the reviewer owns changed paths.'),
56
+ 'verdict': z.union([z.literal(null), z.literal("dismissed"), z.literal("approved"), z.literal("changes-requested"), z.literal("commented")]).readonly().describe('Outcome of the reviewer\'s latest submitted review, or null before the first.'),
57
+ 'reviewedSha': z.union([z.literal(null), z.string()]).readonly().describe('Commit the latest submitted review was on, or null before the first or when the host reports none.'),
58
+ })).readonly().describe('Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed.'),
59
+ 'reviewersTruncated': z.boolean().readonly().describe('Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete.'),
60
+ 'canRequestReviews': z.boolean().readonly().describe('Whether the signed-in user may request reviews of the change request through its provider.'),
48
61
  'checks': z.array(z.object({
49
62
  'name': z.string().readonly().describe('Check name as the host displays it.'),
50
- 'state': z.union([z.literal("cancelled"), z.literal("pending"), z.literal("neutral"), z.literal("success"), z.literal("failure"), z.literal("skipped")]).readonly().describe('Normalized check outcome.'),
63
+ 'state': z.union([z.literal("pending"), z.literal("neutral"), z.literal("success"), z.literal("cancelled"), z.literal("failure"), z.literal("skipped")]).readonly().describe('Normalized check outcome.'),
51
64
  'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page for the check, or null when the host reports none.'),
52
65
  'workflow': z.union([z.literal(null), z.string()]).readonly().describe('Workflow that produced the check, or null when the host reports none.'),
53
66
  'startedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the check started, or null before it starts and when the host reports none.'),
54
67
  'completedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the check completed, or null while it runs and when the host reports none.'),
68
+ 'rerun': z.union([z.literal(null), z.string()]).readonly().describe('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.'),
55
69
  })).readonly().describe('Checks on the head commit in host order.'),
56
70
  'checksRollup': z.union([z.literal("pending"), z.literal("success"), z.literal("none"), z.literal("failure")]).readonly().describe('Combined check outcome.'),
57
71
  'checksTruncated': z.boolean().readonly().describe('Whether the host reported more checks than `checks` contains.'),
58
- 'unresolvedThreads': z.number().readonly().describe('Number of review threads that are not resolved.'),
72
+ 'canRerunChecks': z.boolean().readonly().describe('Whether the signed-in user may rerun the failed checks that name a `rerun`.'),
73
+ 'unresolvedThreads': z.number().readonly().describe('Number of counted review threads that are not resolved.'),
74
+ 'threadsTruncated': z.boolean().readonly().describe('Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound.'),
75
+ 'closingIssues': z.array(z.object({
76
+ 'repository': z.object({
77
+ 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
78
+ 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
79
+ 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
80
+ 'name': z.string().readonly().describe('Repository name as the host spells it.'),
81
+ }).readonly().describe('Repository that holds the issue.'),
82
+ 'number': z.number().readonly().describe('Host-assigned issue number.'),
83
+ 'title': z.string().readonly().describe('Title as the author wrote it.'),
84
+ 'state': z.union([z.literal("open"), z.literal("closed")]).readonly().describe('Whether the issue is still open.'),
85
+ 'url': z.string().readonly().describe('Web page of the issue.'),
86
+ })).readonly().describe('Issues linked to the change request, which the host closes once it merges, in host order.'),
87
+ 'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),
59
88
  'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
60
89
  '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.'),
61
90
  }))
91
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0$schema$value
92
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0$schema$value ??= z.string())
93
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1$schema$value
94
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1$schema$value ??= z.string())
95
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_result$schema$value
96
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_result$schema$value ??= z.union([z.literal(null), z.object({
97
+ 'headSha': z.string().readonly().describe('Head commit the list was read at.'),
98
+ 'commits': z.array(z.object({
99
+ 'sha': z.string().readonly().describe('Full commit object name.'),
100
+ 'parent': z.union([z.literal(null), z.string()]).readonly().describe('Full object name of the first parent, or null for a root commit.'),
101
+ 'title': z.string().readonly().describe('First line of the commit message.'),
102
+ 'author': z.union([z.literal(null), z.string()]).readonly().describe('Author name or login as the host reports it, or null when it reports none.'),
103
+ 'authoredAt': z.string().readonly().describe('ISO 8601 time the commit was authored.'),
104
+ })).readonly().describe('Commits oldest first, ending with the head commit unless `truncated`.'),
105
+ 'truncated': z.boolean().readonly().describe('Whether the change request has more commits than the provider lists; the listed ones are the oldest.'),
106
+ })]))
62
107
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0$schema$value
63
108
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0$schema$value ??= z.string())
64
109
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema$value
65
110
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema$value ??= z.string())
111
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2$schema$value
112
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2$schema$value ??= z.union([z.literal(null), z.object({
113
+ 'from': z.string().readonly().describe('First, oldest commit shown.'),
114
+ 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
115
+ })]))
66
116
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema$value
67
117
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema$value ??= z.object({
68
- 'headSha': z.string().readonly().describe('Head commit the diff describes.'),
118
+ 'headSha': z.string().readonly().describe('Commit whose new side the diff describes: the head, or the last chosen commit.'),
69
119
  'files': z.array(z.object({
70
120
  'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),
71
121
  'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),
@@ -82,10 +132,119 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff
82
132
  'newLines': z.number().readonly().describe('New lines the hunk covers.'),
83
133
  'lines': z.array(z.string()).readonly().describe('Lines in patch form: a leading space for context, `+` for added, `-` for deleted, and `\\` for a missing final newline.'),
84
134
  })).readonly().describe('Hunks in file order; none for a binary file or a change of mode or name only.'),
135
+ 'layer': z.union([z.literal("interface"), z.literal("implementation"), z.literal("test")]).readonly().describe('Review layer the path falls in.'),
136
+ '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.'),
85
137
  })).readonly().describe('Changed files in the host\'s order.'),
86
- 'localAhead': z.union([z.literal(null), z.number()]).readonly().describe('Commits the checkout\'s branch has beyond the head when that branch is the change request\'s head branch and the head commit is present locally; null otherwise.'),
87
- 'fileUrls': z.record(z.string(), z.string()).readonly().readonly().describe('Web page of each changed file at the head commit, by path.'),
138
+ 'localAhead': z.union([z.literal(null), z.number()]).readonly().describe('Commits the checkout\'s branch has beyond the head when that branch is the change request\'s head branch and the head commit is present locally; null otherwise and for chosen commits.'),
139
+ 'fileUrls': z.record(z.string(), z.string()).readonly().readonly().describe('Web page of each changed file at `headSha`, by path.'),
88
140
  }))
141
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0$schema$value
142
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0$schema$value ??= z.string())
143
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1$schema$value
144
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1$schema$value ??= z.string())
145
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2$schema$value
146
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2$schema$value ??= z.string())
147
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3$schema$value
148
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3$schema$value ??= z.boolean())
149
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_result$schema$value
150
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_result$schema$value ??= z.object({
151
+ 'headSha': z.string().readonly().describe('Head commit the threads were read at; `current` positions number its files.'),
152
+ 'viewer': z.union([z.literal(null), z.string()]).readonly().describe('Login of the signed-in user the provider read as, or null when the host does not name one.'),
153
+ 'threads': z.array(z.object({
154
+ 'id': z.string().readonly().describe('Host identity of the thread.'),
155
+ 'path': z.string().readonly().describe('Repository-relative path the thread is on.'),
156
+ 'side': z.union([z.literal("L"), z.literal("R")]).readonly().describe('Old (`L`) or new (`R`) side of the diff the lines number.'),
157
+ 'subject': z.union([z.literal("file"), z.literal("line")]).readonly().describe('Whether the thread is on lines or on the whole file.'),
158
+ 'current': z.union([z.literal(null), z.object({
159
+ 'commit': z.string().readonly().describe('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.'),
160
+ 'startLine': z.number().readonly().describe('First line, inclusive.'),
161
+ 'endLine': z.number().readonly().describe('Last line, inclusive.'),
162
+ })]).readonly().describe('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.'),
163
+ 'original': z.union([z.literal(null), z.object({
164
+ 'commit': z.string().readonly().describe('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.'),
165
+ 'startLine': z.number().readonly().describe('First line, inclusive.'),
166
+ 'endLine': z.number().readonly().describe('Last line, inclusive.'),
167
+ })]).readonly().describe('Lines in the diff that ended at the commit the thread was written on; null for a file thread.'),
168
+ 'diffHunk': z.union([z.literal(null), z.string()]).readonly().describe('Diff hunk the host recorded when the thread was written, ending at its last line; null when it recorded none.'),
169
+ 'resolved': z.boolean().readonly().describe('Whether the thread is marked resolved.'),
170
+ 'viewerCanReply': z.boolean().readonly().describe('Whether the signed-in user can reply to the thread through `writeReview`; false for a provider without it.'),
171
+ 'viewerCanResolve': z.boolean().readonly().describe('Whether the signed-in user can mark the thread resolved, or unresolved when `resolved`, through `writeReview`; false for a provider without it.'),
172
+ 'comments': z.array(z.object({
173
+ 'id': z.string().readonly().describe('Host identity of the comment.'),
174
+ 'author': z.union([z.literal(null), z.object({
175
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
176
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
177
+ 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),
178
+ })]).readonly().describe('Author, or null when the account no longer exists.'),
179
+ 'body': z.string().readonly().describe('Markdown source as the author wrote it; it may contain raw HTML, which readers must not render as HTML.'),
180
+ 'createdAt': z.string().readonly().describe('ISO 8601 time the comment was created.'),
181
+ 'pending': z.boolean().readonly().describe('Whether the comment belongs to the signed-in user\'s review that is not submitted yet, which only that user sees.'),
182
+ 'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page of the comment, or null when the host reports none.'),
183
+ 'viewerCanEdit': z.boolean().readonly().describe('Whether the signed-in user can replace the comment\'s text through `writeReview`; false for a provider without it.'),
184
+ 'viewerCanDelete': z.boolean().readonly().describe('Whether the signed-in user can delete the comment through `writeReview`; false for a provider without it.'),
185
+ })).readonly().describe('Comments oldest first; the first starts the thread.'),
186
+ })).readonly().describe('Threads in host order, at most the provider\'s limit.'),
187
+ 'truncated': z.boolean().readonly().describe('Whether the change request has more threads than `threads` holds.'),
188
+ 'pendingReview': z.union([z.literal(null), z.object({
189
+ 'id': z.string().readonly().describe('Host identity of the review.'),
190
+ 'comments': z.number().readonly().describe('Comments the review holds.'),
191
+ })]).readonly().describe('The signed-in user\'s pending review, or null without one.'),
192
+ 'viewerCanReview': z.boolean().readonly().describe('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.'),
193
+ }))
194
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0$schema$value
195
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0$schema$value ??= z.string())
196
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1$schema$value
197
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1$schema$value ??= z.string())
198
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2$schema$value
199
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2$schema$value ??= z.union([z.object({
200
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
201
+ 'kind': z.literal("reply").readonly(),
202
+ 'thread': z.string().readonly(),
203
+ 'body': z.string().readonly(),
204
+ 'pending': z.boolean().readonly(),
205
+ }), z.object({
206
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
207
+ 'kind': z.literal("resolve").readonly(),
208
+ 'thread': z.string().readonly(),
209
+ 'resolved': z.boolean().readonly(),
210
+ }), z.object({
211
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
212
+ 'kind': z.literal("edit-comment").readonly(),
213
+ 'comment': z.string().readonly(),
214
+ 'body': z.string().readonly(),
215
+ }), z.object({
216
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
217
+ 'kind': z.literal("delete-comment").readonly(),
218
+ 'comment': z.string().readonly(),
219
+ }), z.object({
220
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
221
+ 'kind': z.literal("add-pending").readonly(),
222
+ 'comment': z.object({
223
+ 'path': z.string().readonly(),
224
+ 'side': z.union([z.literal("L"), z.literal("R")]).readonly(),
225
+ 'startLine': z.number().readonly(),
226
+ 'endLine': z.number().readonly(),
227
+ 'body': z.string().readonly(),
228
+ }).readonly(),
229
+ }), z.object({
230
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
231
+ 'kind': z.literal("submit-pending").readonly(),
232
+ 'review': z.string().readonly(),
233
+ 'event': z.union([z.literal("comment"), z.literal("approve"), z.literal("request-changes")]).readonly(),
234
+ 'body': z.string().readonly(),
235
+ }), z.object({
236
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
237
+ 'kind': z.literal("discard-pending").readonly(),
238
+ 'review': z.string().readonly(),
239
+ })]))
240
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_result$schema$value
241
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_result$schema$value ??= z.union([z.object({
242
+ 'ok': z.literal(true).readonly(),
243
+ }), z.object({
244
+ 'ok': z.literal(false).readonly(),
245
+ 'code': z.union([z.literal("failed"), z.literal("unknown"), z.literal("stale"), z.literal("unsupported")]).readonly(),
246
+ 'message': z.string().readonly(),
247
+ })]))
89
248
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema$value
90
249
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema$value ??= z.union([z.object({
91
250
  'type': z.literal("baseline").readonly(),
@@ -122,10 +281,41 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_p
122
281
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema$value ??= z.string())
123
282
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema$value
124
283
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema$value ??= z.string())
284
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0$schema$value
285
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0$schema$value ??= z.string())
286
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1$schema$value
287
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1$schema$value ??= z.string())
288
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2$schema$value
289
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2$schema$value ??= z.string())
290
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_result$schema$value
291
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_result$schema$value ??= z.union([z.literal(null), z.object({
292
+ 'headSha': z.string().readonly().describe('Head commit the marks were read at.'),
293
+ 'files': z.record(z.string(), z.union([z.literal("dismissed"), z.literal("viewed"), z.literal("unviewed")])).readonly().readonly().describe('State of each changed file the host listed, by repository-relative path.'),
294
+ 'truncated': z.boolean().readonly().describe('Whether the change request has more files than `files` lists.'),
295
+ })]))
125
296
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema$value
126
297
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema$value ??= z.string())
127
298
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema$value
128
299
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema$value ??= z.void())
300
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema$value
301
+ 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())
302
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema$value
303
+ 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())
304
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema$value
305
+ 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({
306
+ 'automatic': z.union([z.literal(null), z.object({
307
+ 'name': z.string().readonly().describe('The created worktree\'s base branch or abbreviated base commit, or the default branch of the code host remote.'),
308
+ 'worktree': z.boolean().readonly().describe('Whether the fork point is the base commit of the worktree the Session created rather than a merge base.'),
309
+ })]).readonly().describe('The fork point used while no base branch is chosen, whatever the query; null without one.'),
310
+ 'remote': z.array(z.object({
311
+ 'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
312
+ 'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
313
+ })).readonly().describe('Remote-tracking branches without symbolic refs such as `origin/HEAD`, most recently committed first, at most `maxBranches`.'),
314
+ 'local': z.array(z.object({
315
+ 'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),
316
+ 'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),
317
+ })).readonly().describe('Local branches other than the checked-out one, most recently committed first, at most `maxBranches`.'),
318
+ }))
129
319
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema$value
130
320
  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())
131
321
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema$value
@@ -182,23 +372,52 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
182
372
  'headBranch': z.string().readonly().describe('Branch that carries the proposed commits.'),
183
373
  'headSha': z.string().readonly().describe('Commit object name at the head of the change request.'),
184
374
  'baseBranch': z.string().readonly().describe('Branch the change request merges into.'),
375
+ 'baseSha': z.string().readonly().optional().describe('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.'),
185
376
  'additions': z.number().readonly().describe('Lines the change request adds.'),
186
377
  'deletions': z.number().readonly().describe('Lines the change request deletes.'),
187
378
  'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
188
379
  '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.'),
189
380
  '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.'),
381
+ '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.'),
190
382
  'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
383
+ 'reviewers': z.array(z.object({
384
+ 'kind': z.union([z.literal("user"), z.literal("bot"), z.literal("team")]).readonly().describe('Whether the reviewer is a person\'s account, an app or bot account, or a team.'),
385
+ 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),
386
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
387
+ 'requested': z.boolean().readonly().describe('Whether a review from the reviewer is requested now.'),
388
+ 'codeOwner': z.boolean().readonly().describe('Whether the host requested the review because the reviewer owns changed paths.'),
389
+ 'verdict': z.union([z.literal(null), z.literal("dismissed"), z.literal("approved"), z.literal("changes-requested"), z.literal("commented")]).readonly().describe('Outcome of the reviewer\'s latest submitted review, or null before the first.'),
390
+ 'reviewedSha': z.union([z.literal(null), z.string()]).readonly().describe('Commit the latest submitted review was on, or null before the first or when the host reports none.'),
391
+ })).readonly().describe('Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed.'),
392
+ 'reviewersTruncated': z.boolean().readonly().describe('Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete.'),
393
+ 'canRequestReviews': z.boolean().readonly().describe('Whether the signed-in user may request reviews of the change request through its provider.'),
191
394
  'checks': z.array(z.object({
192
395
  'name': z.string().readonly().describe('Check name as the host displays it.'),
193
- 'state': z.union([z.literal("cancelled"), z.literal("pending"), z.literal("neutral"), z.literal("success"), z.literal("failure"), z.literal("skipped")]).readonly().describe('Normalized check outcome.'),
396
+ 'state': z.union([z.literal("pending"), z.literal("neutral"), z.literal("success"), z.literal("cancelled"), z.literal("failure"), z.literal("skipped")]).readonly().describe('Normalized check outcome.'),
194
397
  'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page for the check, or null when the host reports none.'),
195
398
  'workflow': z.union([z.literal(null), z.string()]).readonly().describe('Workflow that produced the check, or null when the host reports none.'),
196
399
  'startedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the check started, or null before it starts and when the host reports none.'),
197
400
  'completedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the check completed, or null while it runs and when the host reports none.'),
401
+ 'rerun': z.union([z.literal(null), z.string()]).readonly().describe('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.'),
198
402
  })).readonly().describe('Checks on the head commit in host order.'),
199
403
  'checksRollup': z.union([z.literal("pending"), z.literal("success"), z.literal("none"), z.literal("failure")]).readonly().describe('Combined check outcome.'),
200
404
  'checksTruncated': z.boolean().readonly().describe('Whether the host reported more checks than `checks` contains.'),
201
- 'unresolvedThreads': z.number().readonly().describe('Number of review threads that are not resolved.'),
405
+ 'canRerunChecks': z.boolean().readonly().describe('Whether the signed-in user may rerun the failed checks that name a `rerun`.'),
406
+ 'unresolvedThreads': z.number().readonly().describe('Number of counted review threads that are not resolved.'),
407
+ 'threadsTruncated': z.boolean().readonly().describe('Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound.'),
408
+ 'closingIssues': z.array(z.object({
409
+ 'repository': z.object({
410
+ 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
411
+ 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
412
+ 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
413
+ 'name': z.string().readonly().describe('Repository name as the host spells it.'),
414
+ }).readonly().describe('Repository that holds the issue.'),
415
+ 'number': z.number().readonly().describe('Host-assigned issue number.'),
416
+ 'title': z.string().readonly().describe('Title as the author wrote it.'),
417
+ 'state': z.union([z.literal("open"), z.literal("closed")]).readonly().describe('Whether the issue is still open.'),
418
+ 'url': z.string().readonly().describe('Web page of the issue.'),
419
+ })).readonly().describe('Issues linked to the change request, which the host closes once it merges, in host order.'),
420
+ 'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),
202
421
  'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
203
422
  '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.'),
204
423
  })]).readonly().describe('Latest snapshot a poll returned, kept while later polls fail, or null before the first successful poll.'),
@@ -234,23 +453,52 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
234
453
  'headBranch': z.string().readonly().describe('Branch that carries the proposed commits.'),
235
454
  'headSha': z.string().readonly().describe('Commit object name at the head of the change request.'),
236
455
  'baseBranch': z.string().readonly().describe('Branch the change request merges into.'),
456
+ 'baseSha': z.string().readonly().optional().describe('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.'),
237
457
  'additions': z.number().readonly().describe('Lines the change request adds.'),
238
458
  'deletions': z.number().readonly().describe('Lines the change request deletes.'),
239
459
  'mergeability': z.union([z.literal("unknown"), z.literal("mergeable"), z.literal("conflicting")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),
240
460
  '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.'),
241
461
  '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.'),
462
+ '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.'),
242
463
  'reviewDecision': z.union([z.literal("none"), z.literal("approved"), z.literal("changes-requested"), z.literal("review-required")]).readonly().describe('Aggregate review outcome.'),
464
+ 'reviewers': z.array(z.object({
465
+ 'kind': z.union([z.literal("user"), z.literal("bot"), z.literal("team")]).readonly().describe('Whether the reviewer is a person\'s account, an app or bot account, or a team.'),
466
+ 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),
467
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
468
+ 'requested': z.boolean().readonly().describe('Whether a review from the reviewer is requested now.'),
469
+ 'codeOwner': z.boolean().readonly().describe('Whether the host requested the review because the reviewer owns changed paths.'),
470
+ 'verdict': z.union([z.literal(null), z.literal("dismissed"), z.literal("approved"), z.literal("changes-requested"), z.literal("commented")]).readonly().describe('Outcome of the reviewer\'s latest submitted review, or null before the first.'),
471
+ 'reviewedSha': z.union([z.literal(null), z.string()]).readonly().describe('Commit the latest submitted review was on, or null before the first or when the host reports none.'),
472
+ })).readonly().describe('Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed.'),
473
+ 'reviewersTruncated': z.boolean().readonly().describe('Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete.'),
474
+ 'canRequestReviews': z.boolean().readonly().describe('Whether the signed-in user may request reviews of the change request through its provider.'),
243
475
  'checks': z.array(z.object({
244
476
  'name': z.string().readonly().describe('Check name as the host displays it.'),
245
- 'state': z.union([z.literal("cancelled"), z.literal("pending"), z.literal("neutral"), z.literal("success"), z.literal("failure"), z.literal("skipped")]).readonly().describe('Normalized check outcome.'),
477
+ 'state': z.union([z.literal("pending"), z.literal("neutral"), z.literal("success"), z.literal("cancelled"), z.literal("failure"), z.literal("skipped")]).readonly().describe('Normalized check outcome.'),
246
478
  'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page for the check, or null when the host reports none.'),
247
479
  'workflow': z.union([z.literal(null), z.string()]).readonly().describe('Workflow that produced the check, or null when the host reports none.'),
248
480
  'startedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the check started, or null before it starts and when the host reports none.'),
249
481
  'completedAt': z.union([z.literal(null), z.string()]).readonly().describe('ISO 8601 time the check completed, or null while it runs and when the host reports none.'),
482
+ 'rerun': z.union([z.literal(null), z.string()]).readonly().describe('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.'),
250
483
  })).readonly().describe('Checks on the head commit in host order.'),
251
484
  'checksRollup': z.union([z.literal("pending"), z.literal("success"), z.literal("none"), z.literal("failure")]).readonly().describe('Combined check outcome.'),
252
485
  'checksTruncated': z.boolean().readonly().describe('Whether the host reported more checks than `checks` contains.'),
253
- 'unresolvedThreads': z.number().readonly().describe('Number of review threads that are not resolved.'),
486
+ 'canRerunChecks': z.boolean().readonly().describe('Whether the signed-in user may rerun the failed checks that name a `rerun`.'),
487
+ 'unresolvedThreads': z.number().readonly().describe('Number of counted review threads that are not resolved.'),
488
+ 'threadsTruncated': z.boolean().readonly().describe('Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound.'),
489
+ 'closingIssues': z.array(z.object({
490
+ 'repository': z.object({
491
+ 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),
492
+ 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),
493
+ 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),
494
+ 'name': z.string().readonly().describe('Repository name as the host spells it.'),
495
+ }).readonly().describe('Repository that holds the issue.'),
496
+ 'number': z.number().readonly().describe('Host-assigned issue number.'),
497
+ 'title': z.string().readonly().describe('Title as the author wrote it.'),
498
+ 'state': z.union([z.literal("open"), z.literal("closed")]).readonly().describe('Whether the issue is still open.'),
499
+ 'url': z.string().readonly().describe('Web page of the issue.'),
500
+ })).readonly().describe('Issues linked to the change request, which the host closes once it merges, in host order.'),
501
+ 'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),
254
502
  'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\'s last update to the change request.'),
255
503
  '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.'),
256
504
  }).readonly().describe('Status read from the host.'),
@@ -258,7 +506,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
258
506
  'key': z.string().readonly().describe('Canonical identity of the watched change request.'),
259
507
  'fetchedAt': z.number().readonly().describe('Epoch milliseconds when the result settled.'),
260
508
  'failure': z.object({
261
- 'code': z.union([z.literal("unauthenticated"), z.literal("unavailable"), z.literal("not-found"), z.literal("too-large")]).readonly().describe('`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; `unavailable`: any other failure.'),
509
+ 'code': z.union([z.literal("unauthenticated"), z.literal("unavailable"), z.literal("not-found"), z.literal("too-large"), z.literal("stale"), z.literal("unsupported")]).readonly().describe('`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; `unsupported`: the provider does not offer the read; `unavailable`: any other failure.'),
262
510
  'message': z.string().readonly().describe('Human-readable cause.'),
263
511
  }).readonly().describe('Reason the status could not be read.'),
264
512
  })]).readonly().describe('Latest polling result, or null before the first poll and without a provider.'),
@@ -306,11 +554,32 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$sch
306
554
  })).readonly().describe('Changed files in Git\'s path order, untracked files last, at most `maxUntrackedFiles` of those.'),
307
555
  })]).readonly().describe('Files the `branch` scope changes, or null before the first inspection, outside a checkout, and without a fork point.'),
308
556
  }))
557
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema$value
558
+ 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())
559
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema$value
560
+ 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()]))
561
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema$value
562
+ 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({
563
+ 'headSha': z.string().readonly().describe('HEAD commit the list was read at.'),
564
+ 'commits': z.array(z.object({
565
+ 'sha': z.string().readonly().describe('Full commit object name.'),
566
+ 'parent': z.union([z.literal(null), z.string()]).readonly().describe('Full object name of the first parent, or null for a root commit.'),
567
+ 'title': z.string().readonly().describe('First line of the commit message.'),
568
+ 'author': z.union([z.literal(null), z.string()]).readonly().describe('Author name or login as the host reports it, or null when it reports none.'),
569
+ 'authoredAt': z.string().readonly().describe('ISO 8601 time the commit was authored.'),
570
+ })).readonly().describe('Commits oldest first, ending with HEAD\'s commit.'),
571
+ 'truncated': z.boolean().readonly().describe('Whether the branch has more commits than `maxCommits`; the listed ones are the newest.'),
572
+ }))
309
573
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema$value
310
574
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema$value ??= z.string())
311
575
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema$value
312
576
  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({
313
577
  'kind': z.literal("branch").readonly(),
578
+ 'base': z.union([z.literal(null), z.string()]).readonly(),
579
+ 'commits': z.union([z.literal(null), z.object({
580
+ 'from': z.string().readonly().describe('First, oldest commit shown.'),
581
+ 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
582
+ })]).readonly(),
314
583
  }), z.object({
315
584
  'kind': z.literal("uncommitted").readonly(),
316
585
  }), z.object({
@@ -337,6 +606,8 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$
337
606
  'newLines': z.number().readonly().describe('New lines the hunk covers.'),
338
607
  'lines': z.array(z.string()).readonly().describe('Lines in patch form: a leading space for context, `+` for added, `-` for deleted, and `\\` for a missing final newline.'),
339
608
  })).readonly().describe('Hunks in file order; none for a binary file or a change of mode or name only.'),
609
+ 'layer': z.union([z.literal("interface"), z.literal("implementation"), z.literal("test")]).readonly().describe('Review layer the path falls in.'),
610
+ '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.'),
340
611
  })).readonly().describe('Changed files in Git\'s path order, untracked files last.'),
341
612
  'omitted': z.number().readonly().describe('Untracked files left out beyond `maxUntrackedFiles`.'),
342
613
  }))
@@ -345,6 +616,11 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_paramet
345
616
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema$value
346
617
  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({
347
618
  'kind': z.literal("branch").readonly(),
619
+ 'base': z.union([z.literal(null), z.string()]).readonly(),
620
+ 'commits': z.union([z.literal(null), z.object({
621
+ 'from': z.string().readonly().describe('First, oldest commit shown.'),
622
+ 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
623
+ })]).readonly(),
348
624
  }), z.object({
349
625
  'kind': z.literal("uncommitted").readonly(),
350
626
  }), z.object({
@@ -376,12 +652,33 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0
376
652
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema$value ??= z.string())
377
653
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema$value
378
654
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema$value ??= z.void())
655
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0$schema$value
656
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0$schema$value ??= z.string())
657
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1$schema$value
658
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1$schema$value ??= z.string())
659
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2$schema$value
660
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2$schema$value ??= z.array(z.object({
661
+ 'kind': z.union([z.literal("user"), z.literal("bot"), z.literal("team")]).readonly().describe('Whether the reviewer is a person\'s account, an app or bot account, or a team.'),
662
+ 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),
663
+ })))
664
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_result$schema$value
665
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_result$schema$value ??= z.void())
379
666
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema$value
380
667
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema$value ??= z.string())
381
668
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema$value
382
669
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema$value ??= z.union([z.literal(null), z.string()]))
383
670
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema$value
384
671
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema$value ??= z.void())
672
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0$schema$value
673
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0$schema$value ??= z.string())
674
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1$schema$value
675
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1$schema$value ??= z.string())
676
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2$schema$value
677
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2$schema$value ??= z.object({
678
+ 'headSha': z.string().readonly().describe('Head commit whose checks the user saw; the provider refuses with `stale` once the head is another commit.'),
679
+ }))
680
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_result$schema$value
681
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_result$schema$value ??= z.void())
385
682
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema$value
386
683
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema$value ??= z.string())
387
684
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema$value
@@ -390,6 +687,31 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_param
390
687
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema$value ??= z.string())
391
688
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema$value
392
689
  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())
690
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0$schema$value
691
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0$schema$value ??= z.string())
692
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1$schema$value
693
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1$schema$value ??= z.string())
694
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2$schema$value
695
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2$schema$value ??= z.string())
696
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_result$schema$value
697
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_result$schema$value ??= z.array(z.object({
698
+ 'login': z.string().readonly().describe('Login as the host spells it.'),
699
+ 'name': z.union([z.literal(null), z.string()]).readonly().describe('Display name, or null when the account shows none.'),
700
+ 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),
701
+ 'suggested': z.boolean().readonly().describe('Whether the host suggests the account for this change request, as from the history of its changed files.'),
702
+ })))
703
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema$value
704
+ 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())
705
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1$schema$value
706
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1$schema$value ??= z.string())
707
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2$schema$value
708
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2$schema$value ??= z.object({
709
+ 'path': z.string().readonly().describe('Repository-relative path of the changed file.'),
710
+ 'viewed': z.boolean().readonly().describe('Whether the file is viewed.'),
711
+ 'headSha': z.string().readonly().describe('Head commit whose changes the user saw; the provider refuses with `stale` once the head is another commit.'),
712
+ }))
713
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_result$schema$value
714
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_result$schema$value ??= z.void())
393
715
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0$schema$value
394
716
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0$schema$value ??= z.string())
395
717
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema$value
@@ -428,7 +750,7 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_resu
428
750
  'url': z.string().readonly(),
429
751
  }), z.object({
430
752
  'ok': z.literal(false).readonly(),
431
- 'code': z.union([z.literal("failed"), z.literal("unknown"), z.literal("unsupported"), z.literal("stale")]).readonly(),
753
+ 'code': z.union([z.literal("failed"), z.literal("unknown"), z.literal("stale"), z.literal("unsupported")]).readonly(),
432
754
  'message': z.string().readonly(),
433
755
  })]))
434
756
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema$value
@@ -437,6 +759,25 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$s
437
759
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$schema$value ??= z.string())
438
760
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema$value
439
761
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema$value ??= z.void())
762
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0$schema$value
763
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0$schema$value ??= z.string())
764
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1$schema$value
765
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1$schema$value ??= z.string())
766
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2$schema$value
767
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2$schema$value ??= z.union([z.literal("merge"), z.literal("rebase")]))
768
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3$schema$value
769
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3$schema$value ??= z.string())
770
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_result$schema$value
771
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_result$schema$value ??= z.void())
772
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0$schema$value
773
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0$schema$value ??= z.string())
774
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1$schema$value
775
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1$schema$value ??= z.union([z.literal(null), z.number()]))
776
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_result$schema$value
777
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_result$schema$value ??= z.union([z.literal(null), z.object({
778
+ 'revision': z.number().readonly().describe('Monotonic attempt number within this Host lifetime; a Remote waits on a specific one.'),
779
+ 'status': z.union([z.literal("failed"), z.literal("retained"), z.literal("scheduled"), z.literal("removed")]).readonly().describe('`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.'),
780
+ })]))
440
781
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0_strict$schema$value
441
782
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0_strict$schema$value ??= z.string())
442
783
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema$value
@@ -447,10 +788,73 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks
447
788
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1_strict$schema$value ??= z.string())
448
789
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2_strict$schema$value
449
790
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2_strict$schema$value ??= z.string())
791
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0_strict$schema$value
792
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0_strict$schema$value ??= z.string())
793
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1_strict$schema$value
794
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1_strict$schema$value ??= z.string())
450
795
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema$value
451
796
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema$value ??= z.string())
452
797
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema$value
453
798
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema$value ??= z.string())
799
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2_strict$schema$value
800
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2_strict$schema$value ??= z.union([z.literal(null), z.strictObject({
801
+ 'from': z.string().readonly().describe('First, oldest commit shown.'),
802
+ 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
803
+ })]))
804
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0_strict$schema$value
805
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0_strict$schema$value ??= z.string())
806
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1_strict$schema$value
807
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1_strict$schema$value ??= z.string())
808
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2_strict$schema$value
809
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2_strict$schema$value ??= z.string())
810
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3_strict$schema$value
811
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3_strict$schema$value ??= z.boolean())
812
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0_strict$schema$value
813
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0_strict$schema$value ??= z.string())
814
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1_strict$schema$value
815
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1_strict$schema$value ??= z.string())
816
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2_strict$schema$value
817
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2_strict$schema$value ??= z.union([z.strictObject({
818
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
819
+ 'kind': z.literal("reply").readonly(),
820
+ 'thread': z.string().readonly(),
821
+ 'body': z.string().readonly(),
822
+ 'pending': z.boolean().readonly(),
823
+ }), z.strictObject({
824
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
825
+ 'kind': z.literal("resolve").readonly(),
826
+ 'thread': z.string().readonly(),
827
+ 'resolved': z.boolean().readonly(),
828
+ }), z.strictObject({
829
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
830
+ 'kind': z.literal("edit-comment").readonly(),
831
+ 'comment': z.string().readonly(),
832
+ 'body': z.string().readonly(),
833
+ }), z.strictObject({
834
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
835
+ 'kind': z.literal("delete-comment").readonly(),
836
+ 'comment': z.string().readonly(),
837
+ }), z.strictObject({
838
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
839
+ 'kind': z.literal("add-pending").readonly(),
840
+ 'comment': z.strictObject({
841
+ 'path': z.string().readonly(),
842
+ 'side': z.union([z.literal("L"), z.literal("R")]).readonly(),
843
+ 'startLine': z.number().readonly(),
844
+ 'endLine': z.number().readonly(),
845
+ 'body': z.string().readonly(),
846
+ }).readonly(),
847
+ }), z.strictObject({
848
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
849
+ 'kind': z.literal("submit-pending").readonly(),
850
+ 'review': z.string().readonly(),
851
+ 'event': z.union([z.literal("comment"), z.literal("approve"), z.literal("request-changes")]).readonly(),
852
+ 'body': z.string().readonly(),
853
+ }), z.strictObject({
854
+ 'headSha': z.string().readonly().describe('Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit.'),
855
+ 'kind': z.literal("discard-pending").readonly(),
856
+ 'review': z.string().readonly(),
857
+ })]))
454
858
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema$value
455
859
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema$value ??= z.string())
456
860
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema$value
@@ -459,19 +863,38 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_p
459
863
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema$value ??= z.string())
460
864
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema$value
461
865
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema$value ??= z.string())
866
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0_strict$schema$value
867
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0_strict$schema$value ??= z.string())
868
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1_strict$schema$value
869
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1_strict$schema$value ??= z.string())
870
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2_strict$schema$value
871
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2_strict$schema$value ??= z.string())
462
872
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema$value
463
873
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema$value ??= z.string())
874
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema$value
875
+ 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())
876
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema$value
877
+ 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())
464
878
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema$value
465
879
  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())
466
880
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema$value
467
881
  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())
468
882
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema$value
469
883
  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())
884
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema$value
885
+ 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())
886
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema$value
887
+ 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()]))
470
888
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema$value
471
889
  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())
472
890
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema$value
473
891
  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({
474
892
  'kind': z.literal("branch").readonly(),
893
+ 'base': z.union([z.literal(null), z.string()]).readonly(),
894
+ 'commits': z.union([z.literal(null), z.strictObject({
895
+ 'from': z.string().readonly().describe('First, oldest commit shown.'),
896
+ 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
897
+ })]).readonly(),
475
898
  }), z.strictObject({
476
899
  'kind': z.literal("uncommitted").readonly(),
477
900
  }), z.strictObject({
@@ -484,6 +907,11 @@ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_paramet
484
907
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema$value
485
908
  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({
486
909
  'kind': z.literal("branch").readonly(),
910
+ 'base': z.union([z.literal(null), z.string()]).readonly(),
911
+ 'commits': z.union([z.literal(null), z.strictObject({
912
+ 'from': z.string().readonly().describe('First, oldest commit shown.'),
913
+ 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),
914
+ })]).readonly(),
487
915
  }), z.strictObject({
488
916
  'kind': z.literal("uncommitted").readonly(),
489
917
  }), z.strictObject({
@@ -507,14 +935,47 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_s
507
935
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema$value ??= z.string())
508
936
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema$value
509
937
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema$value ??= z.string())
938
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0_strict$schema$value
939
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0_strict$schema$value ??= z.string())
940
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1_strict$schema$value
941
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1_strict$schema$value ??= z.string())
942
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2_strict$schema$value
943
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2_strict$schema$value ??= z.array(z.strictObject({
944
+ 'kind': z.union([z.literal("user"), z.literal("bot"), z.literal("team")]).readonly().describe('Whether the reviewer is a person\'s account, an app or bot account, or a team.'),
945
+ 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),
946
+ })))
510
947
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema$value
511
948
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema$value ??= z.string())
512
949
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema$value
513
950
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.string()]))
951
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0_strict$schema$value
952
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0_strict$schema$value ??= z.string())
953
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1_strict$schema$value
954
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1_strict$schema$value ??= z.string())
955
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2_strict$schema$value
956
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2_strict$schema$value ??= z.strictObject({
957
+ 'headSha': z.string().readonly().describe('Head commit whose checks the user saw; the provider refuses with `stale` once the head is another commit.'),
958
+ }))
514
959
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema$value
515
960
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema$value ??= z.string())
516
961
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema$value
517
962
  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())
963
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0_strict$schema$value
964
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0_strict$schema$value ??= z.string())
965
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1_strict$schema$value
966
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1_strict$schema$value ??= z.string())
967
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2_strict$schema$value
968
+ 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())
969
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema$value
970
+ 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())
971
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1_strict$schema$value
972
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1_strict$schema$value ??= z.string())
973
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2_strict$schema$value
974
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2_strict$schema$value ??= z.strictObject({
975
+ 'path': z.string().readonly().describe('Repository-relative path of the changed file.'),
976
+ 'viewed': z.boolean().readonly().describe('Whether the file is viewed.'),
977
+ 'headSha': z.string().readonly().describe('Head commit whose changes the user saw; the provider refuses with `stale` once the head is another commit.'),
978
+ }))
518
979
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema$value
519
980
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema$value ??= z.string())
520
981
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0_strict$schema$value
@@ -549,6 +1010,18 @@ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_s
549
1010
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_strict$schema$value ??= z.string())
550
1011
  let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema$value
551
1012
  const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema$value ??= z.string())
1013
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0_strict$schema$value
1014
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0_strict$schema$value ??= z.string())
1015
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1_strict$schema$value
1016
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1_strict$schema$value ??= z.string())
1017
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2_strict$schema$value
1018
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2_strict$schema$value ??= z.union([z.literal("merge"), z.literal("rebase")]))
1019
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3_strict$schema$value
1020
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3_strict$schema$value ??= z.string())
1021
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0_strict$schema$value
1022
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0_strict$schema$value ??= z.string())
1023
+ let _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1_strict$schema$value
1024
+ const _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1_strict$schema$value ??= z.union([z.literal(null), z.number()]))
552
1025
 
553
1026
  export const TYPERT_REMOTE = createTypertRemoteInfo({
554
1027
  package: '@deepseek-ai/dsh-experimental-client-ui-forge',
@@ -586,7 +1059,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
586
1059
  description: 'the checked-out branch and at most `maxBranches` local branches, the checked-out one first.',
587
1060
  jsonSchema: {"type":"object","properties":{"current":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"Checked-out branch, or null when HEAD is detached."},"branches":{"type":"array","items":{"type":"string"},"description":"Local branch names, `current` first and then most recently committed first, at most `maxBranches`."}},"required":["current","branches"],"additionalProperties":true},
588
1061
  },
589
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":188,"column":9},
1062
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":222,"column":9},
590
1063
  },
591
1064
  'forgePanel/cancelWorktree': {
592
1065
  service: 'forgePanel',
@@ -620,7 +1093,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
620
1093
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema,
621
1094
  jsonSchemaError: 'typert tool schema: unsupported void value',
622
1095
  },
623
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":449,"column":9},
1096
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":748,"column":9},
624
1097
  },
625
1098
  'forgePanel/changeRequestChecks': {
626
1099
  service: 'forgePanel',
@@ -687,13 +1160,65 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
687
1160
  typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ChangeRequestSnapshot',
688
1161
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema,
689
1162
  description: 'the complete snapshot at the displayed head.',
690
- 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."},"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."},"reviewDecision":{"type":"string","enum":["none","approved","changes-requested","review-required"],"description":"Aggregate review outcome."},"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Check name as the host displays it."},"state":{"type":"string","enum":["cancelled","pending","neutral","success","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."}},"required":["name","state","url","workflow","startedAt","completedAt"],"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."},"unresolvedThreads":{"type":"number","description":"Number of review threads that are not resolved."},"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","reviewDecision","checks","checksRollup","checksTruncated","unresolvedThreads","updatedAt","closedAt"],"additionalProperties":true},
1163
+ 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":["dismissed","approved","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","neutral","success","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},
1164
+ },
1165
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":364,"column":9},
1166
+ },
1167
+ 'forgePanel/changeRequestCommits': {
1168
+ service: 'forgePanel',
1169
+ description: 'List the commits of a change request of a Session at its current head, which the changes view can show one or several of instead of the whole change request.',
1170
+ invocation: { kind: 'direct' },
1171
+ parameters: [
1172
+ {
1173
+ name: 'session',
1174
+ wire: 'sessionId',
1175
+ description: 'Session the change request is bound to.',
1176
+ source: 'lookup',
1177
+ lookup: 'session',
1178
+ codec: {
1179
+ mode: 'strict',
1180
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1181
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0$schema,
1182
+ jsonSchema: {"type":"string"},
1183
+ },
1184
+ strictCodec: {
1185
+ mode: 'strict',
1186
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1187
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0_strict$schema,
1188
+ jsonSchema: {"type":"string"},
1189
+ },
1190
+ },
1191
+ {
1192
+ name: 'url',
1193
+ description: 'binding URL of the change request.',
1194
+ source: 'json',
1195
+ codec: {
1196
+ mode: 'strict',
1197
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestCommits:url',
1198
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1$schema,
1199
+ jsonSchema: {"type":"string"},
1200
+ },
1201
+ strictCodec: {
1202
+ mode: 'strict',
1203
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestCommits:url',
1204
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1_strict$schema,
1205
+ jsonSchema: {"type":"string"},
1206
+ },
1207
+ },
1208
+ ],
1209
+ cancellation: { parameter: 'signal' },
1210
+ result: {
1211
+ mode: 'strict',
1212
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestCommits:result',
1213
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_result$schema,
1214
+ description: 'the commits oldest first with the head they were read at, or null when the provider does not read commits.',
1215
+ 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}]},
691
1216
  },
692
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":285,"column":9},
1217
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":384,"column":9},
693
1218
  },
694
1219
  'forgePanel/changeRequestDiff': {
695
1220
  service: 'forgePanel',
696
- description: 'Read the changes of a change request of a Session as its code host computes them, at the head commit of its latest status. A patch already read at the same head commit and base branch is reused from memory, for any Session, until `maxCachedDiffBytes` evicts it.',
1221
+ description: 'Read the changes of a change request of a Session as its code host computes them, with each file\'s layer following the root `.gitattributes` of the commit the diff ends at. Without `commits` the diff covers the change request at the head commit of its latest status; a patch already read at the same head commit and base branch is reused from memory with its attributes, for any Session, until `maxCachedDiffBytes` evicts it. With `commits`, it covers those commits, from the first one\'s first parent to the last, and is read every time.',
697
1222
  invocation: { kind: 'direct' },
698
1223
  parameters: [
699
1224
  {
@@ -732,37 +1257,37 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
732
1257
  jsonSchema: {"type":"string"},
733
1258
  },
734
1259
  },
1260
+ {
1261
+ name: 'commits',
1262
+ description: 'consecutive commits of the change request, or null for all of it.',
1263
+ source: 'json',
1264
+ codec: {
1265
+ mode: 'strict',
1266
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:commits',
1267
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2$schema,
1268
+ jsonSchema: {"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}]},
1269
+ },
1270
+ strictCodec: {
1271
+ mode: 'strict',
1272
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:commits',
1273
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2_strict$schema,
1274
+ jsonSchema: {"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}]},
1275
+ },
1276
+ },
735
1277
  ],
736
1278
  cancellation: { parameter: 'signal' },
737
1279
  result: {
738
1280
  mode: 'strict',
739
1281
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeChangeRequestDiff',
740
1282
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema,
741
- description: 'the files, the head commit, each file\'s web page, and the commits the checkout has beyond the head.',
1283
+ description: 'the files, the commit they end at, each file\'s web page, and the commits the checkout has beyond the head.',
742
1284
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
743
1285
  },
744
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":308,"column":9},
745
- },
746
- 'forgePanel/changeRequestStates': {
747
- service: 'forgePanel',
748
- description: 'Stream the last known state of every change request that a listed Session the caller may read binds: the stored states first, then each state a poll changes or a new binding reveals. Listing reads no Session log: loaded Sessions report their bindings, others the cached Session summary, and a Session without one shows nothing until it is opened. Closed requests are polled at the idle cadence so reopening is observed. The stream ends when `signal` aborts or the Remote stops.',
749
- mode: 'stream',
750
- invocation: { kind: 'direct' },
751
- parameters: [
752
- ],
753
- cancellation: { parameter: 'signal' },
754
- result: {
755
- mode: 'strict',
756
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeChangeRequestStatesFrame',
757
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema,
758
- description: 'frames in publication order.',
759
- 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}]},
760
- },
761
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":175,"column":10},
1286
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":413,"column":9},
762
1287
  },
763
- 'forgePanel/changeRequestText': {
1288
+ 'forgePanel/changeRequestReview': {
764
1289
  service: 'forgePanel',
765
- description: 'Read one file of a change request\'s repository at a commit, which supplies the unchanged lines between the hunks of its diff.',
1290
+ description: 'Read the review threads of a change request of a Session at the head commit of its displayed diff. Threads read at the same head commit and update time are reused from memory, for any Session, until they are `reviewRefreshMs` old, `maxCachedReviewBytes` evicts them, or a review write through this panel drops them; a read again after that age, or a `fresh` read, shows threads resolved elsewhere since, which do not change a GitHub pull request\'s update time.',
766
1291
  invocation: { kind: 'direct' },
767
1292
  parameters: [
768
1293
  {
@@ -774,13 +1299,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
774
1299
  codec: {
775
1300
  mode: 'strict',
776
1301
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
777
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema,
1302
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0$schema,
778
1303
  jsonSchema: {"type":"string"},
779
1304
  },
780
1305
  strictCodec: {
781
1306
  mode: 'strict',
782
1307
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
783
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema,
1308
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0_strict$schema,
784
1309
  jsonSchema: {"type":"string"},
785
1310
  },
786
1311
  },
@@ -790,222 +1315,567 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
790
1315
  source: 'json',
791
1316
  codec: {
792
1317
  mode: 'strict',
793
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:url',
794
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema,
1318
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:url',
1319
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1$schema,
795
1320
  jsonSchema: {"type":"string"},
796
1321
  },
797
1322
  strictCodec: {
798
1323
  mode: 'strict',
799
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:url',
800
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema,
1324
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:url',
1325
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1_strict$schema,
801
1326
  jsonSchema: {"type":"string"},
802
1327
  },
803
1328
  },
804
1329
  {
805
- name: 'commit',
806
- description: 'commit object name, the head commit of the diff.',
1330
+ name: 'headSha',
1331
+ description: 'head commit of the displayed diff.',
807
1332
  source: 'json',
808
1333
  codec: {
809
1334
  mode: 'strict',
810
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:commit',
811
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema,
1335
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:headSha',
1336
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2$schema,
812
1337
  jsonSchema: {"type":"string"},
813
1338
  },
814
1339
  strictCodec: {
815
1340
  mode: 'strict',
816
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:commit',
817
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema,
1341
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:headSha',
1342
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2_strict$schema,
818
1343
  jsonSchema: {"type":"string"},
819
1344
  },
820
1345
  },
821
1346
  {
822
- name: 'path',
823
- description: 'path relative to the repository root.',
1347
+ name: 'fresh',
1348
+ description: 'whether to read from the host even when threads at this head and update time are kept, as after the reader refreshes the view; the result replaces the kept threads.',
824
1349
  source: 'json',
825
1350
  codec: {
826
1351
  mode: 'strict',
827
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:path',
828
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema,
829
- jsonSchema: {"type":"string"},
1352
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:fresh',
1353
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3$schema,
1354
+ jsonSchema: {"type":"boolean"},
830
1355
  },
831
1356
  strictCodec: {
832
1357
  mode: 'strict',
833
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:path',
834
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema,
835
- jsonSchema: {"type":"string"},
1358
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:fresh',
1359
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3_strict$schema,
1360
+ jsonSchema: {"type":"boolean"},
836
1361
  },
837
1362
  },
838
1363
  ],
839
1364
  cancellation: { parameter: 'signal' },
840
1365
  result: {
841
1366
  mode: 'strict',
842
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:result',
843
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema,
844
- description: 'the text.',
845
- jsonSchema: {"type":"string"},
1367
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewData',
1368
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_result$schema,
1369
+ description: 'the threads at `headSha`, with `current` positions numbering the files of that diff.',
1370
+ 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 the commit the thread was written on; 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."}},"required":["headSha","viewer","threads","truncated","pendingReview","viewerCanReview"],"additionalProperties":true},
846
1371
  },
847
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":352,"column":9},
1372
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":527,"column":9},
848
1373
  },
849
- 'forgePanel/continueInProject': {
1374
+ 'forgePanel/changeRequestReviewWrite': {
850
1375
  service: 'forgePanel',
851
- description: 'Move a Session from its created worktree to the source checkout the worktree came from; the Session no longer works in the worktree. Runs as Agent maintenance, inside the wait of a message that waits for the removed worktree, which then goes on.',
1376
+ description: 'Write to the review threads or the pending review of a change request of a Session while its head is still the head the user saw. The threads kept for the change request are dropped once the host answers, so the next read shows the write, which a resolve does not show through a GitHub pull request\'s update time.',
852
1377
  invocation: { kind: 'direct' },
853
1378
  parameters: [
854
1379
  {
855
1380
  name: 'session',
856
1381
  wire: 'sessionId',
857
- description: 'Session with a created worktree.',
1382
+ description: 'Session the change request is bound to.',
858
1383
  source: 'lookup',
859
1384
  lookup: 'session',
860
1385
  codec: {
861
1386
  mode: 'strict',
862
1387
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
863
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema,
1388
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0$schema,
864
1389
  jsonSchema: {"type":"string"},
865
1390
  },
866
1391
  strictCodec: {
867
1392
  mode: 'strict',
868
1393
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
869
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema,
1394
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0_strict$schema,
870
1395
  jsonSchema: {"type":"string"},
871
1396
  },
872
1397
  },
873
- ],
874
- cancellation: { parameter: 'signal' },
875
- result: {
876
- mode: 'strict',
877
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/continueInProject:result',
878
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema,
879
- jsonSchemaError: 'typert tool schema: unsupported void value',
880
- },
881
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":530,"column":9},
882
- },
883
- 'forgePanel/dismiss': {
884
- service: 'forgePanel',
885
- description: 'Hide a visible binding of a Session; other URLs leave the Session unchanged.',
886
- invocation: { kind: 'direct' },
887
- parameters: [
888
1398
  {
889
- name: 'session',
890
- wire: 'sessionId',
891
- description: 'Session that owns the binding.',
892
- source: 'lookup',
893
- lookup: 'session',
1399
+ name: 'url',
1400
+ description: 'binding URL of the change request.',
1401
+ source: 'json',
894
1402
  codec: {
895
1403
  mode: 'strict',
896
- typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
897
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema,
1404
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReviewWrite:url',
1405
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1$schema,
898
1406
  jsonSchema: {"type":"string"},
899
1407
  },
900
1408
  strictCodec: {
901
1409
  mode: 'strict',
902
- typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
903
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema,
1410
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReviewWrite:url',
1411
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1_strict$schema,
904
1412
  jsonSchema: {"type":"string"},
905
1413
  },
906
1414
  },
907
1415
  {
908
- name: 'url',
909
- description: 'web URL of the change request.',
1416
+ name: 'write',
1417
+ description: 'the write and the head commit of the threads the user saw.',
910
1418
  source: 'json',
911
1419
  codec: {
912
1420
  mode: 'strict',
913
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:url',
914
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema,
915
- jsonSchema: {"type":"string"},
1421
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewWrite',
1422
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2$schema,
1423
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"reply"},"thread":{"type":"string"},"body":{"type":"string"},"pending":{"type":"boolean"}},"required":["headSha","kind","thread","body","pending"],"additionalProperties":true},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"resolve"},"thread":{"type":"string"},"resolved":{"type":"boolean"}},"required":["headSha","kind","thread","resolved"],"additionalProperties":true},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"edit-comment"},"comment":{"type":"string"},"body":{"type":"string"}},"required":["headSha","kind","comment","body"],"additionalProperties":true},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"delete-comment"},"comment":{"type":"string"}},"required":["headSha","kind","comment"],"additionalProperties":true},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"add-pending"},"comment":{"type":"object","properties":{"path":{"type":"string"},"side":{"type":"string","enum":["L","R"]},"startLine":{"type":"number"},"endLine":{"type":"number"},"body":{"type":"string"}},"required":["path","side","startLine","endLine","body"],"additionalProperties":true}},"required":["headSha","kind","comment"],"additionalProperties":true},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"submit-pending"},"review":{"type":"string"},"event":{"type":"string","enum":["comment","approve","request-changes"]},"body":{"type":"string"}},"required":["headSha","kind","review","event","body"],"additionalProperties":true},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"discard-pending"},"review":{"type":"string"}},"required":["headSha","kind","review"],"additionalProperties":true}]},
916
1424
  },
917
1425
  strictCodec: {
918
1426
  mode: 'strict',
919
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:url',
920
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema,
921
- jsonSchema: {"type":"string"},
1427
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewWrite',
1428
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2_strict$schema,
1429
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"reply"},"thread":{"type":"string"},"body":{"type":"string"},"pending":{"type":"boolean"}},"required":["headSha","kind","thread","body","pending"],"additionalProperties":false},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"resolve"},"thread":{"type":"string"},"resolved":{"type":"boolean"}},"required":["headSha","kind","thread","resolved"],"additionalProperties":false},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"edit-comment"},"comment":{"type":"string"},"body":{"type":"string"}},"required":["headSha","kind","comment","body"],"additionalProperties":false},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"delete-comment"},"comment":{"type":"string"}},"required":["headSha","kind","comment"],"additionalProperties":false},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"add-pending"},"comment":{"type":"object","properties":{"path":{"type":"string"},"side":{"type":"string","enum":["L","R"]},"startLine":{"type":"number"},"endLine":{"type":"number"},"body":{"type":"string"}},"required":["path","side","startLine","endLine","body"],"additionalProperties":false}},"required":["headSha","kind","comment"],"additionalProperties":false},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"submit-pending"},"review":{"type":"string"},"event":{"type":"string","enum":["comment","approve","request-changes"]},"body":{"type":"string"}},"required":["headSha","kind","review","event","body"],"additionalProperties":false},{"type":"object","properties":{"headSha":{"type":"string","description":"Head commit the user saw; providers check it before writing and refuse with `stale` once the head is another commit."},"kind":{"type":"string","const":"discard-pending"},"review":{"type":"string"}},"required":["headSha","kind","review"],"additionalProperties":false}]},
922
1430
  },
923
1431
  },
924
1432
  ],
925
1433
  cancellation: { parameter: 'signal' },
926
1434
  result: {
927
1435
  mode: 'strict',
928
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:result',
929
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema,
930
- jsonSchemaError: 'typert tool schema: unsupported void value',
1436
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewWriteResult',
1437
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_result$schema,
1438
+ 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.',
1439
+ 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}]},
931
1440
  },
932
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":216,"column":9},
1441
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":586,"column":9},
933
1442
  },
934
- 'forgePanel/follow': {
1443
+ 'forgePanel/changeRequestStates': {
935
1444
  service: 'forgePanel',
936
- description: 'Stream the panel state of a Session: the current state first, then each later state. Intermediate states may be skipped when the reader is slower than the updates. The stream ends when `signal` aborts or the Remote stops.',
1445
+ description: 'Stream the last known state of every change request that a listed Session the caller may read binds: the stored states first, then each state a poll changes or a new binding reveals. Listing reads no Session log: loaded Sessions report their bindings, others the cached Session summary, and a Session without one shows nothing until it is opened. Closed requests are polled at the idle cadence so reopening is observed. The stream ends when `signal` aborts or the Remote stops.',
937
1446
  mode: 'stream',
938
1447
  invocation: { kind: 'direct' },
939
1448
  parameters: [
940
- {
941
- name: 'session',
942
- wire: 'sessionId',
943
- description: 'Session to follow.',
944
- source: 'lookup',
945
- lookup: 'session',
946
- codec: {
947
- mode: 'strict',
948
- typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
949
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema,
950
- jsonSchema: {"type":"string"},
951
- },
952
- strictCodec: {
953
- mode: 'strict',
954
- typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
955
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema,
956
- jsonSchema: {"type":"string"},
957
- },
958
- },
959
1449
  ],
960
1450
  cancellation: { parameter: 'signal' },
961
1451
  result: {
962
1452
  mode: 'strict',
963
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgePanelState',
964
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema,
965
- description: 'panel states in publication order.',
966
- jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
1453
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeChangeRequestStatesFrame',
1454
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema,
1455
+ description: 'frames in publication order.',
1456
+ 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}]},
967
1457
  },
968
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":158,"column":10},
1458
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":198,"column":10},
969
1459
  },
970
- 'forgePanel/localDiff': {
1460
+ 'forgePanel/changeRequestText': {
971
1461
  service: 'forgePanel',
972
- description: 'Read the changes one scope covers in the checkout of the Session\'s current directory, with Git using the Session\'s sandbox policy.',
1462
+ description: 'Read one file of a change request\'s repository at a commit, which supplies the unchanged lines between the hunks of its diff.',
973
1463
  invocation: { kind: 'direct' },
974
1464
  parameters: [
975
1465
  {
976
1466
  name: 'session',
977
1467
  wire: 'sessionId',
978
- description: 'Session whose checkout is read.',
1468
+ description: 'Session the change request is bound to.',
979
1469
  source: 'lookup',
980
1470
  lookup: 'session',
981
1471
  codec: {
982
1472
  mode: 'strict',
983
1473
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
984
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema,
1474
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema,
985
1475
  jsonSchema: {"type":"string"},
986
1476
  },
987
1477
  strictCodec: {
988
1478
  mode: 'strict',
989
1479
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
990
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema,
1480
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema,
991
1481
  jsonSchema: {"type":"string"},
992
1482
  },
993
1483
  },
994
1484
  {
995
- name: 'scope',
996
- description: 'which changes to read.',
1485
+ name: 'url',
1486
+ description: 'binding URL of the change request.',
997
1487
  source: 'json',
998
1488
  codec: {
999
1489
  mode: 'strict',
1000
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
1001
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema,
1002
- jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"}},"required":["kind"],"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}]},
1490
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:url',
1491
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema,
1492
+ jsonSchema: {"type":"string"},
1493
+ },
1494
+ strictCodec: {
1495
+ mode: 'strict',
1496
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:url',
1497
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema,
1498
+ jsonSchema: {"type":"string"},
1499
+ },
1500
+ },
1501
+ {
1502
+ name: 'commit',
1503
+ description: 'commit object name, the head commit of the diff.',
1504
+ source: 'json',
1505
+ codec: {
1506
+ mode: 'strict',
1507
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:commit',
1508
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema,
1509
+ jsonSchema: {"type":"string"},
1510
+ },
1511
+ strictCodec: {
1512
+ mode: 'strict',
1513
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:commit',
1514
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema,
1515
+ jsonSchema: {"type":"string"},
1516
+ },
1517
+ },
1518
+ {
1519
+ name: 'path',
1520
+ description: 'path relative to the repository root.',
1521
+ source: 'json',
1522
+ codec: {
1523
+ mode: 'strict',
1524
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:path',
1525
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema,
1526
+ jsonSchema: {"type":"string"},
1527
+ },
1528
+ strictCodec: {
1529
+ mode: 'strict',
1530
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:path',
1531
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema,
1532
+ jsonSchema: {"type":"string"},
1533
+ },
1534
+ },
1535
+ ],
1536
+ cancellation: { parameter: 'signal' },
1537
+ result: {
1538
+ mode: 'strict',
1539
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:result',
1540
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema,
1541
+ description: 'the text.',
1542
+ jsonSchema: {"type":"string"},
1543
+ },
1544
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":458,"column":9},
1545
+ },
1546
+ 'forgePanel/changeRequestViewed': {
1547
+ service: 'forgePanel',
1548
+ description: 'Read the signed-in user\'s viewed marks on the files of a change request of a Session, which the host keeps for the whole change request.',
1549
+ invocation: { kind: 'direct' },
1550
+ parameters: [
1551
+ {
1552
+ name: 'session',
1553
+ wire: 'sessionId',
1554
+ description: 'Session the change request is bound to.',
1555
+ source: 'lookup',
1556
+ lookup: 'session',
1557
+ codec: {
1558
+ mode: 'strict',
1559
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1560
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0$schema,
1561
+ jsonSchema: {"type":"string"},
1562
+ },
1563
+ strictCodec: {
1564
+ mode: 'strict',
1565
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1566
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0_strict$schema,
1567
+ jsonSchema: {"type":"string"},
1568
+ },
1569
+ },
1570
+ {
1571
+ name: 'url',
1572
+ description: 'binding URL of the change request.',
1573
+ source: 'json',
1574
+ codec: {
1575
+ mode: 'strict',
1576
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:url',
1577
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1$schema,
1578
+ jsonSchema: {"type":"string"},
1579
+ },
1580
+ strictCodec: {
1581
+ mode: 'strict',
1582
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:url',
1583
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1_strict$schema,
1584
+ jsonSchema: {"type":"string"},
1585
+ },
1586
+ },
1587
+ {
1588
+ name: 'headSha',
1589
+ description: 'head commit of the shown diff; marks read at another head are refused.',
1590
+ source: 'json',
1591
+ codec: {
1592
+ mode: 'strict',
1593
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:headSha',
1594
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2$schema,
1595
+ jsonSchema: {"type":"string"},
1596
+ },
1597
+ strictCodec: {
1598
+ mode: 'strict',
1599
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:headSha',
1600
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2_strict$schema,
1601
+ jsonSchema: {"type":"string"},
1602
+ },
1603
+ },
1604
+ ],
1605
+ cancellation: { parameter: 'signal' },
1606
+ result: {
1607
+ mode: 'strict',
1608
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:result',
1609
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_result$schema,
1610
+ description: 'the marks at `headSha`, or null when the provider keeps no viewed marks.',
1611
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
1612
+ },
1613
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":478,"column":9},
1614
+ },
1615
+ 'forgePanel/continueInProject': {
1616
+ service: 'forgePanel',
1617
+ description: 'Move a Session from its created worktree to the source checkout the worktree came from; the Session no longer works in the worktree. Runs as Agent maintenance, inside the wait of a message that waits for the removed worktree, which then goes on.',
1618
+ invocation: { kind: 'direct' },
1619
+ parameters: [
1620
+ {
1621
+ name: 'session',
1622
+ wire: 'sessionId',
1623
+ description: 'Session with a created worktree.',
1624
+ source: 'lookup',
1625
+ lookup: 'session',
1626
+ codec: {
1627
+ mode: 'strict',
1628
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1629
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema,
1630
+ jsonSchema: {"type":"string"},
1631
+ },
1632
+ strictCodec: {
1633
+ mode: 'strict',
1634
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1635
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema,
1636
+ jsonSchema: {"type":"string"},
1637
+ },
1638
+ },
1639
+ ],
1640
+ cancellation: { parameter: 'signal' },
1641
+ result: {
1642
+ mode: 'strict',
1643
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/continueInProject:result',
1644
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema,
1645
+ jsonSchemaError: 'typert tool schema: unsupported void value',
1646
+ },
1647
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":829,"column":9},
1648
+ },
1649
+ 'forgePanel/diffBases': {
1650
+ service: 'forgePanel',
1651
+ description: 'List the branches the `branch` scope of the Session\'s current checkout can compare with.',
1652
+ invocation: { kind: 'direct' },
1653
+ parameters: [
1654
+ {
1655
+ name: 'session',
1656
+ wire: 'sessionId',
1657
+ description: 'Session whose checkout is read.',
1658
+ source: 'lookup',
1659
+ lookup: 'session',
1660
+ codec: {
1661
+ mode: 'strict',
1662
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1663
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema,
1664
+ jsonSchema: {"type":"string"},
1665
+ },
1666
+ strictCodec: {
1667
+ mode: 'strict',
1668
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1669
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema,
1670
+ jsonSchema: {"type":"string"},
1671
+ },
1672
+ },
1673
+ {
1674
+ name: 'query',
1675
+ description: 'text the branch names must contain, ignoring case; empty for every branch.',
1676
+ source: 'json',
1677
+ codec: {
1678
+ mode: 'strict',
1679
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:query',
1680
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema,
1681
+ jsonSchema: {"type":"string"},
1682
+ },
1683
+ strictCodec: {
1684
+ mode: 'strict',
1685
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:query',
1686
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema,
1687
+ jsonSchema: {"type":"string"},
1688
+ },
1689
+ },
1690
+ ],
1691
+ cancellation: { parameter: 'signal' },
1692
+ result: {
1693
+ mode: 'strict',
1694
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeBaseBranches',
1695
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema,
1696
+ description: 'the automatic fork point and at most `maxBranches` remote-tracking and local branches each, most recently committed first, without the checked-out branch.',
1697
+ 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},
1698
+ },
1699
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":236,"column":9},
1700
+ },
1701
+ 'forgePanel/dismiss': {
1702
+ service: 'forgePanel',
1703
+ description: 'Hide a visible binding of a Session; other URLs leave the Session unchanged.',
1704
+ invocation: { kind: 'direct' },
1705
+ parameters: [
1706
+ {
1707
+ name: 'session',
1708
+ wire: 'sessionId',
1709
+ description: 'Session that owns the binding.',
1710
+ source: 'lookup',
1711
+ lookup: 'session',
1712
+ codec: {
1713
+ mode: 'strict',
1714
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1715
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema,
1716
+ jsonSchema: {"type":"string"},
1717
+ },
1718
+ strictCodec: {
1719
+ mode: 'strict',
1720
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1721
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema,
1722
+ jsonSchema: {"type":"string"},
1723
+ },
1724
+ },
1725
+ {
1726
+ name: 'url',
1727
+ description: 'web URL of the change request.',
1728
+ source: 'json',
1729
+ codec: {
1730
+ mode: 'strict',
1731
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:url',
1732
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema,
1733
+ jsonSchema: {"type":"string"},
1734
+ },
1735
+ strictCodec: {
1736
+ mode: 'strict',
1737
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:url',
1738
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema,
1739
+ jsonSchema: {"type":"string"},
1740
+ },
1741
+ },
1742
+ ],
1743
+ cancellation: { parameter: 'signal' },
1744
+ result: {
1745
+ mode: 'strict',
1746
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:result',
1747
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema,
1748
+ jsonSchemaError: 'typert tool schema: unsupported void value',
1749
+ },
1750
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":268,"column":9},
1751
+ },
1752
+ 'forgePanel/follow': {
1753
+ service: 'forgePanel',
1754
+ description: 'Stream the panel state of a Session: the current state first, then each later state. Intermediate states may be skipped when the reader is slower than the updates. The stream ends when `signal` aborts or the Remote stops.',
1755
+ mode: 'stream',
1756
+ invocation: { kind: 'direct' },
1757
+ parameters: [
1758
+ {
1759
+ name: 'session',
1760
+ wire: 'sessionId',
1761
+ description: 'Session to follow.',
1762
+ source: 'lookup',
1763
+ lookup: 'session',
1764
+ codec: {
1765
+ mode: 'strict',
1766
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1767
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema,
1768
+ jsonSchema: {"type":"string"},
1769
+ },
1770
+ strictCodec: {
1771
+ mode: 'strict',
1772
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1773
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema,
1774
+ jsonSchema: {"type":"string"},
1775
+ },
1776
+ },
1777
+ ],
1778
+ cancellation: { parameter: 'signal' },
1779
+ result: {
1780
+ mode: 'strict',
1781
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgePanelState',
1782
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema,
1783
+ description: 'panel states in publication order.',
1784
+ jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',
1785
+ },
1786
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":181,"column":10},
1787
+ },
1788
+ 'forgePanel/localCommits': {
1789
+ service: 'forgePanel',
1790
+ 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.',
1791
+ invocation: { kind: 'direct' },
1792
+ parameters: [
1793
+ {
1794
+ name: 'session',
1795
+ wire: 'sessionId',
1796
+ description: 'Session whose checkout is read.',
1797
+ source: 'lookup',
1798
+ lookup: 'session',
1799
+ codec: {
1800
+ mode: 'strict',
1801
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1802
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema,
1803
+ jsonSchema: {"type":"string"},
1804
+ },
1805
+ strictCodec: {
1806
+ mode: 'strict',
1807
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1808
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema,
1809
+ jsonSchema: {"type":"string"},
1810
+ },
1811
+ },
1812
+ {
1813
+ name: 'base',
1814
+ description: 'the base ref of the `branch` scope, or null for its automatic fork point.',
1815
+ source: 'json',
1816
+ codec: {
1817
+ mode: 'strict',
1818
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:base',
1819
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema,
1820
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
1821
+ },
1822
+ strictCodec: {
1823
+ mode: 'strict',
1824
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:base',
1825
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema,
1826
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
1827
+ },
1828
+ },
1829
+ ],
1830
+ cancellation: { parameter: 'signal' },
1831
+ result: {
1832
+ mode: 'strict',
1833
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalCommits',
1834
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema,
1835
+ description: 'the newest `maxCommits` commits between the fork point and HEAD, oldest first, and HEAD\'s commit.',
1836
+ 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},
1837
+ },
1838
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":323,"column":9},
1839
+ },
1840
+ 'forgePanel/localDiff': {
1841
+ service: 'forgePanel',
1842
+ description: 'Read the changes one scope covers in the checkout of the Session\'s current directory, with Git using the Session\'s sandbox policy.',
1843
+ invocation: { kind: 'direct' },
1844
+ parameters: [
1845
+ {
1846
+ name: 'session',
1847
+ wire: 'sessionId',
1848
+ description: 'Session whose checkout is read.',
1849
+ source: 'lookup',
1850
+ lookup: 'session',
1851
+ codec: {
1852
+ mode: 'strict',
1853
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1854
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema,
1855
+ jsonSchema: {"type":"string"},
1856
+ },
1857
+ strictCodec: {
1858
+ mode: 'strict',
1859
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1860
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema,
1861
+ jsonSchema: {"type":"string"},
1862
+ },
1863
+ },
1864
+ {
1865
+ name: 'scope',
1866
+ description: 'which changes to read.',
1867
+ source: 'json',
1868
+ codec: {
1869
+ mode: 'strict',
1870
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
1871
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema,
1872
+ 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}]},
1003
1873
  },
1004
1874
  strictCodec: {
1005
1875
  mode: 'strict',
1006
1876
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
1007
1877
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema,
1008
- jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"}},"required":["kind"],"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}]},
1878
+ 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}]},
1009
1879
  },
1010
1880
  },
1011
1881
  ],
@@ -1015,13 +1885,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1015
1885
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalDiff',
1016
1886
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema,
1017
1887
  description: 'the files, the base of the `branch` scope, and the untracked files left out.',
1018
- 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."}},"required":["path","previousPath","status","binary","oversized","untracked","additions","deletions","hunks"],"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},
1888
+ 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},
1019
1889
  },
1020
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":246,"column":9},
1890
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":301,"column":9},
1021
1891
  },
1022
1892
  'forgePanel/localText': {
1023
1893
  service: 'forgePanel',
1024
- description: 'Read the new side of one changed file in a scope, which supplies the unchanged lines between its hunks: the index for `staged`, else the working tree.',
1894
+ 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.',
1025
1895
  invocation: { kind: 'direct' },
1026
1896
  parameters: [
1027
1897
  {
@@ -1051,13 +1921,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1051
1921
  mode: 'strict',
1052
1922
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
1053
1923
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema,
1054
- jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"}},"required":["kind"],"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}]},
1924
+ 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}]},
1055
1925
  },
1056
1926
  strictCodec: {
1057
1927
  mode: 'strict',
1058
1928
  typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',
1059
1929
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema,
1060
- jsonSchema: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"branch"}},"required":["kind"],"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}]},
1930
+ 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}]},
1061
1931
  },
1062
1932
  },
1063
1933
  {
@@ -1086,7 +1956,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1086
1956
  description: 'the text.',
1087
1957
  jsonSchema: {"type":"string"},
1088
1958
  },
1089
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":268,"column":9},
1959
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":347,"column":9},
1090
1960
  },
1091
1961
  'forgePanel/markReady': {
1092
1962
  service: 'forgePanel',
@@ -1118,30 +1988,269 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1118
1988
  source: 'json',
1119
1989
  codec: {
1120
1990
  mode: 'strict',
1121
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:url',
1122
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema,
1123
- jsonSchema: {"type":"string"},
1991
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:url',
1992
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema,
1993
+ jsonSchema: {"type":"string"},
1994
+ },
1995
+ strictCodec: {
1996
+ mode: 'strict',
1997
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:url',
1998
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema,
1999
+ jsonSchema: {"type":"string"},
2000
+ },
2001
+ },
2002
+ ],
2003
+ cancellation: { parameter: 'signal' },
2004
+ result: {
2005
+ mode: 'strict',
2006
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:result',
2007
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema,
2008
+ jsonSchemaError: 'typert tool schema: unsupported void value',
2009
+ },
2010
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":610,"column":9},
2011
+ },
2012
+ 'forgePanel/merge': {
2013
+ service: 'forgePanel',
2014
+ description: 'Merge a change request of a Session while its head is still `headSha`; the change request is polled again once the host answers.',
2015
+ invocation: { kind: 'direct' },
2016
+ parameters: [
2017
+ {
2018
+ name: 'session',
2019
+ wire: 'sessionId',
2020
+ description: 'Session the change request is bound to.',
2021
+ source: 'lookup',
2022
+ lookup: 'session',
2023
+ codec: {
2024
+ mode: 'strict',
2025
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2026
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema,
2027
+ jsonSchema: {"type":"string"},
2028
+ },
2029
+ strictCodec: {
2030
+ mode: 'strict',
2031
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2032
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema,
2033
+ jsonSchema: {"type":"string"},
2034
+ },
2035
+ },
2036
+ {
2037
+ name: 'url',
2038
+ description: 'binding URL of the change request.',
2039
+ source: 'json',
2040
+ codec: {
2041
+ mode: 'strict',
2042
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:url',
2043
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema,
2044
+ jsonSchema: {"type":"string"},
2045
+ },
2046
+ strictCodec: {
2047
+ mode: 'strict',
2048
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:url',
2049
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema,
2050
+ jsonSchema: {"type":"string"},
2051
+ },
2052
+ },
2053
+ {
2054
+ name: 'method',
2055
+ description: 'how the commits enter the base branch.',
2056
+ source: 'json',
2057
+ codec: {
2058
+ mode: 'strict',
2059
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#MergeMethod',
2060
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema,
2061
+ jsonSchema: {"type":"string","enum":["merge","squash","rebase"]},
2062
+ },
2063
+ strictCodec: {
2064
+ mode: 'strict',
2065
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#MergeMethod',
2066
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema,
2067
+ jsonSchema: {"type":"string","enum":["merge","squash","rebase"]},
2068
+ },
2069
+ },
2070
+ {
2071
+ name: 'headSha',
2072
+ description: 'head commit the user confirmed.',
2073
+ source: 'json',
2074
+ codec: {
2075
+ mode: 'strict',
2076
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:headSha',
2077
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema,
2078
+ jsonSchema: {"type":"string"},
2079
+ },
2080
+ strictCodec: {
2081
+ mode: 'strict',
2082
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:headSha',
2083
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema,
2084
+ jsonSchema: {"type":"string"},
2085
+ },
2086
+ },
2087
+ ],
2088
+ cancellation: { parameter: 'signal' },
2089
+ result: {
2090
+ mode: 'strict',
2091
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:result',
2092
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema,
2093
+ jsonSchemaError: 'typert tool schema: unsupported void value',
2094
+ },
2095
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":629,"column":9},
2096
+ },
2097
+ 'forgePanel/refresh': {
2098
+ service: 'forgePanel',
2099
+ description: 'Reinspect a followed Session\'s checkout, probe sign-in again, and poll its change requests at once; an unfollowed Session is unchanged.',
2100
+ invocation: { kind: 'direct' },
2101
+ parameters: [
2102
+ {
2103
+ name: 'session',
2104
+ wire: 'sessionId',
2105
+ description: 'Session whose panel refreshes.',
2106
+ source: 'lookup',
2107
+ lookup: 'session',
2108
+ codec: {
2109
+ mode: 'strict',
2110
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2111
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema,
2112
+ jsonSchema: {"type":"string"},
2113
+ },
2114
+ strictCodec: {
2115
+ mode: 'strict',
2116
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2117
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema,
2118
+ jsonSchema: {"type":"string"},
2119
+ },
2120
+ },
2121
+ ],
2122
+ cancellation: { parameter: 'signal' },
2123
+ result: {
2124
+ mode: 'strict',
2125
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/refresh:result',
2126
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema,
2127
+ description: 'settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.',
2128
+ jsonSchemaError: 'typert tool schema: unsupported void value',
2129
+ },
2130
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":281,"column":9},
2131
+ },
2132
+ 'forgePanel/requestReviews': {
2133
+ service: 'forgePanel',
2134
+ description: 'Request reviews of a change request of a Session from more reviewers; the change request is polled again once the host answers.',
2135
+ invocation: { kind: 'direct' },
2136
+ parameters: [
2137
+ {
2138
+ name: 'session',
2139
+ wire: 'sessionId',
2140
+ description: 'Session the change request is bound to.',
2141
+ source: 'lookup',
2142
+ lookup: 'session',
2143
+ codec: {
2144
+ mode: 'strict',
2145
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2146
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0$schema,
2147
+ jsonSchema: {"type":"string"},
2148
+ },
2149
+ strictCodec: {
2150
+ mode: 'strict',
2151
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2152
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0_strict$schema,
2153
+ jsonSchema: {"type":"string"},
2154
+ },
2155
+ },
2156
+ {
2157
+ name: 'url',
2158
+ description: 'binding URL of the change request.',
2159
+ source: 'json',
2160
+ codec: {
2161
+ mode: 'strict',
2162
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:url',
2163
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1$schema,
2164
+ jsonSchema: {"type":"string"},
2165
+ },
2166
+ strictCodec: {
2167
+ mode: 'strict',
2168
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:url',
2169
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1_strict$schema,
2170
+ jsonSchema: {"type":"string"},
2171
+ },
2172
+ },
2173
+ {
2174
+ name: 'reviewers',
2175
+ description: 'the reviewers to ask, by kind and login.',
2176
+ source: 'json',
2177
+ codec: {
2178
+ mode: 'strict',
2179
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:reviewers',
2180
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2$schema,
2181
+ jsonSchema: {"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."}},"required":["kind","login"],"additionalProperties":true}},
2182
+ },
2183
+ strictCodec: {
2184
+ mode: 'strict',
2185
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:reviewers',
2186
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2_strict$schema,
2187
+ jsonSchema: {"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."}},"required":["kind","login"],"additionalProperties":false}},
2188
+ },
2189
+ },
2190
+ ],
2191
+ cancellation: { parameter: 'signal' },
2192
+ result: {
2193
+ mode: 'strict',
2194
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:result',
2195
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_result$schema,
2196
+ jsonSchemaError: 'typert tool schema: unsupported void value',
2197
+ },
2198
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":666,"column":9},
2199
+ },
2200
+ 'forgePanel/requestWorktree': {
2201
+ service: 'forgePanel',
2202
+ description: 'Ask for a new worktree before the Session\'s first turn, replacing an open request and forgetting a failed attempt. While the next message waits in the inbox, or else at the first step proposal, the panel creates a branch from `from`, or from HEAD of the current checkout when it is null, and enters its checkout. A message that already waits after a failed or stopped attempt keeps waiting for {@link ForgePanelController.retryWorktree}.',
2203
+ invocation: { kind: 'direct' },
2204
+ parameters: [
2205
+ {
2206
+ name: 'session',
2207
+ wire: 'sessionId',
2208
+ description: 'Session without a started turn.',
2209
+ source: 'lookup',
2210
+ lookup: 'session',
2211
+ codec: {
2212
+ mode: 'strict',
2213
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2214
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema,
2215
+ jsonSchema: {"type":"string"},
2216
+ },
2217
+ strictCodec: {
2218
+ mode: 'strict',
2219
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2220
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema,
2221
+ jsonSchema: {"type":"string"},
2222
+ },
2223
+ },
2224
+ {
2225
+ name: 'from',
2226
+ description: 'local base branch, or null for HEAD.',
2227
+ source: 'json',
2228
+ codec: {
2229
+ mode: 'strict',
2230
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:from',
2231
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema,
2232
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
1124
2233
  },
1125
2234
  strictCodec: {
1126
2235
  mode: 'strict',
1127
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:url',
1128
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema,
1129
- jsonSchema: {"type":"string"},
2236
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:from',
2237
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema,
2238
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
1130
2239
  },
1131
2240
  },
1132
2241
  ],
1133
2242
  cancellation: { parameter: 'signal' },
1134
2243
  result: {
1135
2244
  mode: 'strict',
1136
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:result',
1137
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema,
2245
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:result',
2246
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema,
1138
2247
  jsonSchemaError: 'typert tool schema: unsupported void value',
1139
2248
  },
1140
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":390,"column":9},
2249
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":729,"column":9},
1141
2250
  },
1142
- 'forgePanel/merge': {
2251
+ 'forgePanel/rerunChecks': {
1143
2252
  service: 'forgePanel',
1144
- description: 'Merge a change request of a Session while its head is still `headSha`; the change request is polled again once the host answers.',
2253
+ description: 'Rerun the failed checks of a change request of a Session while its head is still the commit whose checks the user saw; the change request is polled again once the host answers.',
1145
2254
  invocation: { kind: 'direct' },
1146
2255
  parameters: [
1147
2256
  {
@@ -1153,13 +2262,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1153
2262
  codec: {
1154
2263
  mode: 'strict',
1155
2264
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1156
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema,
2265
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0$schema,
1157
2266
  jsonSchema: {"type":"string"},
1158
2267
  },
1159
2268
  strictCodec: {
1160
2269
  mode: 'strict',
1161
2270
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1162
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema,
2271
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0_strict$schema,
1163
2272
  jsonSchema: {"type":"string"},
1164
2273
  },
1165
2274
  },
@@ -1169,48 +2278,65 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1169
2278
  source: 'json',
1170
2279
  codec: {
1171
2280
  mode: 'strict',
1172
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:url',
1173
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema,
2281
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/rerunChecks:url',
2282
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1$schema,
1174
2283
  jsonSchema: {"type":"string"},
1175
2284
  },
1176
2285
  strictCodec: {
1177
2286
  mode: 'strict',
1178
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:url',
1179
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema,
2287
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/rerunChecks:url',
2288
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1_strict$schema,
1180
2289
  jsonSchema: {"type":"string"},
1181
2290
  },
1182
2291
  },
1183
2292
  {
1184
- name: 'method',
1185
- description: 'how the commits enter the base branch.',
2293
+ name: 'request',
2294
+ description: 'the head commit whose checks the user saw.',
1186
2295
  source: 'json',
1187
2296
  codec: {
1188
2297
  mode: 'strict',
1189
- typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#MergeMethod',
1190
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema,
1191
- jsonSchema: {"type":"string","enum":["merge","squash","rebase"]},
2298
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeRerunRequest',
2299
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2$schema,
2300
+ jsonSchema: {"type":"object","properties":{"headSha":{"type":"string","description":"Head commit whose checks the user saw; the provider refuses with `stale` once the head is another commit."}},"required":["headSha"],"additionalProperties":true},
1192
2301
  },
1193
2302
  strictCodec: {
1194
2303
  mode: 'strict',
1195
- typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#MergeMethod',
1196
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema,
1197
- jsonSchema: {"type":"string","enum":["merge","squash","rebase"]},
2304
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeRerunRequest',
2305
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2_strict$schema,
2306
+ jsonSchema: {"type":"object","properties":{"headSha":{"type":"string","description":"Head commit whose checks the user saw; the provider refuses with `stale` once the head is another commit."}},"required":["headSha"],"additionalProperties":false},
1198
2307
  },
1199
2308
  },
2309
+ ],
2310
+ cancellation: { parameter: 'signal' },
2311
+ result: {
2312
+ mode: 'strict',
2313
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/rerunChecks:result',
2314
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_result$schema,
2315
+ jsonSchemaError: 'typert tool schema: unsupported void value',
2316
+ },
2317
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":648,"column":9},
2318
+ },
2319
+ 'forgePanel/restoreWorktree': {
2320
+ service: 'forgePanel',
2321
+ description: 'Check out the created worktree of a Session again at its recorded directory when that directory is gone: its branch when the branch still exists, otherwise a new branch of the same name at the base commit. Changes that were never committed are not recovered. Runs as Agent maintenance, inside the wait of a message that waits for the restoration, which then goes on; without a missing directory the Session is unchanged.',
2322
+ invocation: { kind: 'direct' },
2323
+ parameters: [
1200
2324
  {
1201
- name: 'headSha',
1202
- description: 'head commit the user confirmed.',
1203
- source: 'json',
2325
+ name: 'session',
2326
+ wire: 'sessionId',
2327
+ description: 'Session whose worktree directory is gone.',
2328
+ source: 'lookup',
2329
+ lookup: 'session',
1204
2330
  codec: {
1205
2331
  mode: 'strict',
1206
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:headSha',
1207
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema,
2332
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2333
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema,
1208
2334
  jsonSchema: {"type":"string"},
1209
2335
  },
1210
2336
  strictCodec: {
1211
2337
  mode: 'strict',
1212
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:headSha',
1213
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema,
2338
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2339
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema,
1214
2340
  jsonSchema: {"type":"string"},
1215
2341
  },
1216
2342
  },
@@ -1218,33 +2344,33 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1218
2344
  cancellation: { parameter: 'signal' },
1219
2345
  result: {
1220
2346
  mode: 'strict',
1221
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:result',
1222
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema,
2347
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/restoreWorktree:result',
2348
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema,
1223
2349
  jsonSchemaError: 'typert tool schema: unsupported void value',
1224
2350
  },
1225
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":409,"column":9},
2351
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":798,"column":9},
1226
2352
  },
1227
- 'forgePanel/refresh': {
2353
+ 'forgePanel/retryWorktree': {
1228
2354
  service: 'forgePanel',
1229
- description: 'Reinspect a followed Session\'s checkout, probe sign-in again, and poll its change requests at once; an unfollowed Session is unchanged.',
2355
+ description: 'Make another attempt, with a new branch name, at the worktree a message of the Session waits for after a failed or stopped attempt.',
1230
2356
  invocation: { kind: 'direct' },
1231
2357
  parameters: [
1232
2358
  {
1233
2359
  name: 'session',
1234
2360
  wire: 'sessionId',
1235
- description: 'Session whose panel refreshes.',
2361
+ description: 'Session whose message waits.',
1236
2362
  source: 'lookup',
1237
2363
  lookup: 'session',
1238
2364
  codec: {
1239
2365
  mode: 'strict',
1240
2366
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1241
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema,
2367
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema,
1242
2368
  jsonSchema: {"type":"string"},
1243
2369
  },
1244
2370
  strictCodec: {
1245
2371
  mode: 'strict',
1246
2372
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1247
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema,
2373
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema,
1248
2374
  jsonSchema: {"type":"string"},
1249
2375
  },
1250
2376
  },
@@ -1252,85 +2378,67 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1252
2378
  cancellation: { parameter: 'signal' },
1253
2379
  result: {
1254
2380
  mode: 'strict',
1255
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/refresh:result',
1256
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema,
1257
- description: 'settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.',
2381
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/retryWorktree:result',
2382
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema,
1258
2383
  jsonSchemaError: 'typert tool schema: unsupported void value',
1259
2384
  },
1260
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":229,"column":9},
2385
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":777,"column":9},
1261
2386
  },
1262
- 'forgePanel/requestWorktree': {
2387
+ 'forgePanel/reviewerCandidates': {
1263
2388
  service: 'forgePanel',
1264
- description: 'Ask for a new worktree before the Session\'s first turn, replacing an open request and forgetting a failed attempt. While the next message waits in the inbox, or else at the first step proposal, the panel creates a branch from `from`, or from HEAD of the current checkout when it is null, and enters its checkout. A message that already waits after a failed or stopped attempt keeps waiting for {@link ForgePanelController.retryWorktree}.',
2389
+ description: 'List accounts a review of a change request of a Session can be requested from.',
1265
2390
  invocation: { kind: 'direct' },
1266
2391
  parameters: [
1267
2392
  {
1268
2393
  name: 'session',
1269
2394
  wire: 'sessionId',
1270
- description: 'Session without a started turn.',
2395
+ description: 'Session the change request is bound to.',
1271
2396
  source: 'lookup',
1272
2397
  lookup: 'session',
1273
2398
  codec: {
1274
2399
  mode: 'strict',
1275
2400
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1276
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema,
2401
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0$schema,
1277
2402
  jsonSchema: {"type":"string"},
1278
2403
  },
1279
2404
  strictCodec: {
1280
2405
  mode: 'strict',
1281
2406
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1282
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema,
2407
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0_strict$schema,
1283
2408
  jsonSchema: {"type":"string"},
1284
2409
  },
1285
2410
  },
1286
2411
  {
1287
- name: 'from',
1288
- description: 'local base branch, or null for HEAD.',
2412
+ name: 'url',
2413
+ description: 'binding URL of the change request.',
1289
2414
  source: 'json',
1290
2415
  codec: {
1291
2416
  mode: 'strict',
1292
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:from',
1293
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema,
1294
- jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
2417
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:url',
2418
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1$schema,
2419
+ jsonSchema: {"type":"string"},
1295
2420
  },
1296
2421
  strictCodec: {
1297
2422
  mode: 'strict',
1298
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:from',
1299
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema,
1300
- jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
2423
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:url',
2424
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1_strict$schema,
2425
+ jsonSchema: {"type":"string"},
1301
2426
  },
1302
2427
  },
1303
- ],
1304
- cancellation: { parameter: 'signal' },
1305
- result: {
1306
- mode: 'strict',
1307
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:result',
1308
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema,
1309
- jsonSchemaError: 'typert tool schema: unsupported void value',
1310
- },
1311
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":430,"column":9},
1312
- },
1313
- 'forgePanel/restoreWorktree': {
1314
- service: 'forgePanel',
1315
- description: 'Check out the created worktree of a Session again at its recorded directory when that directory is gone: its branch when the branch still exists, otherwise a new branch of the same name at the base commit. Changes that were never committed are not recovered. Runs as Agent maintenance, inside the wait of a message that waits for the restoration, which then goes on; without a missing directory the Session is unchanged.',
1316
- invocation: { kind: 'direct' },
1317
- parameters: [
1318
2428
  {
1319
- name: 'session',
1320
- wire: 'sessionId',
1321
- description: 'Session whose worktree directory is gone.',
1322
- source: 'lookup',
1323
- lookup: 'session',
2429
+ name: 'query',
2430
+ description: 'text the login or name contains; empty for the host\'s suggestions and first accounts.',
2431
+ source: 'json',
1324
2432
  codec: {
1325
2433
  mode: 'strict',
1326
- typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1327
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema,
2434
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:query',
2435
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2$schema,
1328
2436
  jsonSchema: {"type":"string"},
1329
2437
  },
1330
2438
  strictCodec: {
1331
2439
  mode: 'strict',
1332
- typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1333
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema,
2440
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:query',
2441
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2_strict$schema,
1334
2442
  jsonSchema: {"type":"string"},
1335
2443
  },
1336
2444
  },
@@ -1338,45 +2446,80 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1338
2446
  cancellation: { parameter: 'signal' },
1339
2447
  result: {
1340
2448
  mode: 'strict',
1341
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/restoreWorktree:result',
1342
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema,
1343
- jsonSchemaError: 'typert tool schema: unsupported void value',
2449
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:result',
2450
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_result$schema,
2451
+ description: 'the accounts, the host\'s suggestions first.',
2452
+ 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}},
1344
2453
  },
1345
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":499,"column":9},
2454
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":687,"column":9},
1346
2455
  },
1347
- 'forgePanel/retryWorktree': {
2456
+ 'forgePanel/setFileViewed': {
1348
2457
  service: 'forgePanel',
1349
- description: 'Make another attempt, with a new branch name, at the worktree a message of the Session waits for after a failed or stopped attempt.',
2458
+ description: 'Set or clear the signed-in user\'s viewed mark on one file of a change request of a Session.',
1350
2459
  invocation: { kind: 'direct' },
1351
2460
  parameters: [
1352
2461
  {
1353
2462
  name: 'session',
1354
2463
  wire: 'sessionId',
1355
- description: 'Session whose message waits.',
2464
+ description: 'Session the change request is bound to.',
1356
2465
  source: 'lookup',
1357
2466
  lookup: 'session',
1358
2467
  codec: {
1359
2468
  mode: 'strict',
1360
2469
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1361
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema,
2470
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema,
1362
2471
  jsonSchema: {"type":"string"},
1363
2472
  },
1364
2473
  strictCodec: {
1365
2474
  mode: 'strict',
1366
2475
  typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1367
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema,
2476
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema,
2477
+ jsonSchema: {"type":"string"},
2478
+ },
2479
+ },
2480
+ {
2481
+ name: 'url',
2482
+ description: 'binding URL of the change request.',
2483
+ source: 'json',
2484
+ codec: {
2485
+ mode: 'strict',
2486
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setFileViewed:url',
2487
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1$schema,
2488
+ jsonSchema: {"type":"string"},
2489
+ },
2490
+ strictCodec: {
2491
+ mode: 'strict',
2492
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setFileViewed:url',
2493
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1_strict$schema,
1368
2494
  jsonSchema: {"type":"string"},
1369
2495
  },
1370
2496
  },
2497
+ {
2498
+ name: 'request',
2499
+ description: 'the file, its mark, and the head commit of the shown diff.',
2500
+ source: 'json',
2501
+ codec: {
2502
+ mode: 'strict',
2503
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeViewedRequest',
2504
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2$schema,
2505
+ jsonSchema: {"type":"object","properties":{"path":{"type":"string","description":"Repository-relative path of the changed file."},"viewed":{"type":"boolean","description":"Whether the file is viewed."},"headSha":{"type":"string","description":"Head commit whose changes the user saw; the provider refuses with `stale` once the head is another commit."}},"required":["path","viewed","headSha"],"additionalProperties":true},
2506
+ },
2507
+ strictCodec: {
2508
+ mode: 'strict',
2509
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeViewedRequest',
2510
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2_strict$schema,
2511
+ jsonSchema: {"type":"object","properties":{"path":{"type":"string","description":"Repository-relative path of the changed file."},"viewed":{"type":"boolean","description":"Whether the file is viewed."},"headSha":{"type":"string","description":"Head commit whose changes the user saw; the provider refuses with `stale` once the head is another commit."}},"required":["path","viewed","headSha"],"additionalProperties":false},
2512
+ },
2513
+ },
1371
2514
  ],
1372
2515
  cancellation: { parameter: 'signal' },
1373
2516
  result: {
1374
2517
  mode: 'strict',
1375
- typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/retryWorktree:result',
1376
- create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema,
2518
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setFileViewed:result',
2519
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_result$schema,
1377
2520
  jsonSchemaError: 'typert tool schema: unsupported void value',
1378
2521
  },
1379
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":478,"column":9},
2522
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":500,"column":9},
1380
2523
  },
1381
2524
  'forgePanel/stopCreation': {
1382
2525
  service: 'forgePanel',
@@ -1410,11 +2553,11 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1410
2553
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema,
1411
2554
  jsonSchemaError: 'typert tool schema: unsupported void value',
1412
2555
  },
1413
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":465,"column":9},
2556
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":764,"column":9},
1414
2557
  },
1415
2558
  'forgePanel/submitReview': {
1416
2559
  service: 'forgePanel',
1417
- description: 'Publish a line comment or completed review for a visible Session binding.',
2560
+ description: 'Publish a line comment or completed review for a visible Session binding. The threads kept for the change request are dropped once the host answers, so the next read shows the comments.',
1418
2561
  invocation: { kind: 'direct' },
1419
2562
  parameters: [
1420
2563
  {
@@ -1477,9 +2620,9 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1477
2620
  typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewResult',
1478
2621
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_result$schema,
1479
2622
  description: 'confirmed publication or a typed failure; unknown outcomes require reconciliation on the host.',
1480
- 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","unsupported","stale"]},"message":{"type":"string"}},"required":["ok","code","message"],"additionalProperties":true}]},
2623
+ 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}]},
1481
2624
  },
1482
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":368,"column":9},
2625
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":558,"column":9},
1483
2626
  },
1484
2627
  'forgePanel/track': {
1485
2628
  service: 'forgePanel',
@@ -1530,7 +2673,143 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
1530
2673
  create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema,
1531
2674
  jsonSchemaError: 'typert tool schema: unsupported void value',
1532
2675
  },
1533
- sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":201,"column":9},
2676
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":253,"column":9},
2677
+ },
2678
+ 'forgePanel/updateBranch': {
2679
+ service: 'forgePanel',
2680
+ description: 'Bring the base branch\'s new commits into the head branch of a change request of a Session while its head is still `headSha`; the change request is polled again once the host answers.',
2681
+ invocation: { kind: 'direct' },
2682
+ parameters: [
2683
+ {
2684
+ name: 'session',
2685
+ wire: 'sessionId',
2686
+ description: 'Session the change request is bound to.',
2687
+ source: 'lookup',
2688
+ lookup: 'session',
2689
+ codec: {
2690
+ mode: 'strict',
2691
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2692
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0$schema,
2693
+ jsonSchema: {"type":"string"},
2694
+ },
2695
+ strictCodec: {
2696
+ mode: 'strict',
2697
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2698
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0_strict$schema,
2699
+ jsonSchema: {"type":"string"},
2700
+ },
2701
+ },
2702
+ {
2703
+ name: 'url',
2704
+ description: 'binding URL of the change request.',
2705
+ source: 'json',
2706
+ codec: {
2707
+ mode: 'strict',
2708
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:url',
2709
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1$schema,
2710
+ jsonSchema: {"type":"string"},
2711
+ },
2712
+ strictCodec: {
2713
+ mode: 'strict',
2714
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:url',
2715
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1_strict$schema,
2716
+ jsonSchema: {"type":"string"},
2717
+ },
2718
+ },
2719
+ {
2720
+ name: 'method',
2721
+ description: 'merge commit or rebase.',
2722
+ source: 'json',
2723
+ codec: {
2724
+ mode: 'strict',
2725
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#BranchUpdateMethod',
2726
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2$schema,
2727
+ jsonSchema: {"type":"string","enum":["merge","rebase"]},
2728
+ },
2729
+ strictCodec: {
2730
+ mode: 'strict',
2731
+ typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#BranchUpdateMethod',
2732
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2_strict$schema,
2733
+ jsonSchema: {"type":"string","enum":["merge","rebase"]},
2734
+ },
2735
+ },
2736
+ {
2737
+ name: 'headSha',
2738
+ description: 'head commit the user confirmed.',
2739
+ source: 'json',
2740
+ codec: {
2741
+ mode: 'strict',
2742
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:headSha',
2743
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3$schema,
2744
+ jsonSchema: {"type":"string"},
2745
+ },
2746
+ strictCodec: {
2747
+ mode: 'strict',
2748
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:headSha',
2749
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3_strict$schema,
2750
+ jsonSchema: {"type":"string"},
2751
+ },
2752
+ },
2753
+ ],
2754
+ cancellation: { parameter: 'signal' },
2755
+ result: {
2756
+ mode: 'strict',
2757
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:result',
2758
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_result$schema,
2759
+ jsonSchemaError: 'typert tool schema: unsupported void value',
2760
+ },
2761
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":708,"column":9},
2762
+ },
2763
+ 'forgePanel/worktreeCleanup': {
2764
+ service: 'forgePanel',
2765
+ description: 'Read or await the worktree service\'s archive cleanup of the Session\'s checkout.',
2766
+ invocation: { kind: 'direct' },
2767
+ parameters: [
2768
+ {
2769
+ name: 'session',
2770
+ wire: 'sessionId',
2771
+ description: 'Session whose cleanup is visible to the caller.',
2772
+ source: 'lookup',
2773
+ lookup: 'session',
2774
+ codec: {
2775
+ mode: 'strict',
2776
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2777
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0$schema,
2778
+ jsonSchema: {"type":"string"},
2779
+ },
2780
+ strictCodec: {
2781
+ mode: 'strict',
2782
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2783
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0_strict$schema,
2784
+ jsonSchema: {"type":"string"},
2785
+ },
2786
+ },
2787
+ {
2788
+ name: 'revision',
2789
+ description: 'null reads now; a matching revision waits for completion.',
2790
+ source: 'json',
2791
+ codec: {
2792
+ mode: 'strict',
2793
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/worktreeCleanup:revision',
2794
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1$schema,
2795
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"number"}]},
2796
+ },
2797
+ strictCodec: {
2798
+ mode: 'strict',
2799
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/worktreeCleanup:revision',
2800
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1_strict$schema,
2801
+ jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"number"}]},
2802
+ },
2803
+ },
2804
+ ],
2805
+ result: {
2806
+ mode: 'strict',
2807
+ typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/worktreeCleanup:result',
2808
+ create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_result$schema,
2809
+ description: 'the cleanup state, or null without a worktree service, an attempt, or a current revision.',
2810
+ 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}]},
2811
+ },
2812
+ sourceLocation: {"file":"packages/experimental/client-ui-forge/src/index.ts","line":210,"column":9},
1534
2813
  },
1535
2814
  },
1536
2815
  }, z)