@deepseek-ai/dsh-experimental-client-ui-forge 0.2.2-rc.1 → 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 +56 -46
  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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","names":["z","#mode","#invalidValue","#size","#ends","#reads","#order","#entries","#consumed","#invalidAt","#nestedInString","#current","#escape","#keyStart","#keyEscaped","#key","#nestedEnds"],"sources":["../../../packages/typert/protocol/src/remote-info.ts","typert.remote-client.js","../../../packages/experimental/client-ui-forge/src/client/review-queue.ts","../../../packages/experimental/client-ui-forge/src/client/viewed-files.ts","../../../packages/experimental/client-ui-forge/src/client/review.ts","../../../packages/util/values/lib/index.js","../../../packages/experimental/client-ui-forge/src/client/diff-rows.ts","../../../packages/experimental/client-ui-forge/src/client/review-threads.ts","../../../packages/experimental/client-ui-forge/src/client/ActionToast.tsx","../../../packages/experimental/client-ui-forge/src/client/status.ts","../../../packages/experimental/client-ui-forge/src/client/changes-address.ts","../../../packages/experimental/client-ui-forge/src/client/changes-store.ts","../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../packages/util/workspace-path/lib/index.js","../../../packages/experimental/client-ui-forge/src/client/ReviewThread.tsx","../../../packages/experimental/client-ui-forge/src/client/SubmitReview.tsx","../../../packages/experimental/client-ui-forge/src/client/menu-search.ts","../../../packages/experimental/client-ui-forge/src/client/BaseMenu.tsx","../../../packages/experimental/client-ui-forge/src/commit-range.ts","../../../packages/experimental/client-ui-forge/src/client/format.ts","../../../packages/experimental/client-ui-forge/src/client/CommitMenu.tsx","../../../packages/experimental/client-ui-forge/src/client/ReviewControls.tsx","../../../packages/experimental/client-ui-forge/src/client/host-viewed.ts","../../../packages/experimental/client-ui-forge/src/client/code-selection.ts","../../../packages/experimental/client-ui-forge/src/client/ReviewComposer.tsx","../../../packages/experimental/client-ui-forge/src/client/ReviewThreads.tsx","../../../packages/experimental/client-ui-forge/src/client/FileLabel.tsx","../../../packages/experimental/client-ui-forge/src/client/DiffFile.tsx","../../../packages/experimental/client-ui-forge/src/client/section-reach.ts","../../../packages/experimental/client-ui-forge/src/client/file-tree.ts","../../../packages/experimental/client-ui-forge/src/client/ChangedFiles.tsx","../../../packages/experimental/client-ui-forge/src/client/FileTreePane.tsx","../../../packages/experimental/client-ui-forge/src/client/glyphs.tsx","../../../packages/experimental/client-ui-forge/src/client/RefreshGlyph.tsx","../../../packages/experimental/client-ui-forge/src/client/toolbar-fold.ts","../../../packages/experimental/client-ui-forge/src/client/ViewOptionsMenu.tsx","../../../packages/experimental/client-ui-forge/src/client/thread-state.ts","../../../packages/experimental/client-ui-forge/src/client/ThreadList.tsx","../../../packages/experimental/client-ui-forge/src/client/ChangesTab.tsx","../../../packages/experimental/client-ui-forge/src/client/ChangesTabTitle.tsx","../../../packages/experimental/client-ui-forge/src/client/ChangeRequestOverview.tsx","../../../packages/experimental/client-ui-forge/src/client/ChangeRequestCard.tsx","../../../packages/experimental/client-ui-forge/src/client/checkout.ts","../../../packages/experimental/client-ui-forge/src/client/LocalChangesCard.tsx","../../../packages/experimental/client-ui-forge/src/client/ForgeTab.tsx","../../../packages/experimental/client-ui-forge/src/client/ForgeTabTitle.tsx","../../../packages/experimental/client-ui-forge/src/client/HeaderButton.tsx","../../../packages/experimental/client-ui-forge/src/client/locales.ts","../../../packages/experimental/client-ui-forge/src/client/session-list.ts","../../../packages/experimental/client-ui-forge/src/client/SessionRowForge.tsx","../../../packages/experimental/client-ui-forge/src/client/SessionHoverForge.tsx","../../../packages/experimental/client-ui-forge/src/client/source.ts","../../../packages/experimental/client-ui-forge/src/client/WorktreeProgress.tsx","../../../packages/experimental/client-ui-forge/src/client/WorktreeSettings.tsx","../../../packages/experimental/client-ui-forge/src/client/worktree-settings-form.ts","../../../packages/experimental/client-ui-forge/src/client/WorktreeToggle.tsx","../../../packages/experimental/client-ui-forge/src/client/mount.ts","../../../packages/experimental/client-ui-forge/src/client/index.ts"],"sourcesContent":["/** Lazy assembly of generated Remote definitions using caller-supplied Zod; no runtime imports. */\n\nimport type { z } from 'zod'\nimport type {\n InvocationDescriptor,\n TypertClientRemote,\n TypertRemoteCodecSpec,\n TypertRemoteInfo,\n TypertRemoteInputOptions,\n TypertRemoteMethod,\n TypertRemoteParameterSpec,\n TypertRemoteSpec,\n TypertRemoteValue,\n} from './types.ts'\n\ntype Method = TypertRemoteMethod<object, unknown> | TypertRemoteMethod<object, unknown, 'stream', unknown>\ntype Parameter = TypertRemoteParameterSpec & { readonly wire: string }\ntype Index = Pick<TypertRemoteInfo, 'descriptors' | 'methods'>\n\n/**\n * Retain one generated definition per endpoint without constructing parsers or projections.\n * The class instance builds its shared descriptor/method index on first access;\n * input schemas and JSON Schema projections are cached only when requested.\n * @param spec - compiler-produced method facts and Zod factories.\n * @param zod - the generated artifact's Zod runtime for named-input parsers.\n * @returns a lazy, mountable info instance with no registration or transport effects.\n */\nexport function createTypertRemoteInfo(spec: TypertRemoteSpec, zod: typeof z): TypertRemoteInfo {\n return new RemoteInfo(spec, zod)\n}\n\nclass RemoteInfo implements TypertRemoteInfo {\n private index?: Index\n\n constructor(private readonly spec: TypertRemoteSpec, private readonly zod: typeof z) {}\n\n get package(): string { return this.spec.package }\n get descriptors(): readonly InvocationDescriptor[] { return this.resolve().descriptors }\n get methods(): TypertRemoteInfo['methods'] { return this.resolve().methods }\n\n private resolve(): Index {\n if (this.index !== undefined) return this.index\n const zod = this.zod\n const descriptors: InvocationDescriptor[] = []\n const methods = Object.create(null) as Record<string, Method>\n for (const [endpoint, definition] of Object.entries(this.spec.methods)) {\n const separator = endpoint.indexOf('/')\n const namespace = endpoint.slice(0, separator)\n const method = endpoint.slice(separator + 1)\n const parameters = definition.parameters.map(parameter => ({ ...parameter, wire: parameter.wire ?? parameter.name }))\n const descriptor = {\n ...definition,\n id: `${this.spec.package}#${endpoint}`,\n namespace,\n method,\n parameters,\n result: definition.result.description === undefined ? definition.result : new ResultValue(definition.result),\n }\n if (definition.invocation.kind === 'direct') {\n const inputs: [NamedInput?, NamedInput?] = []\n const direct = Object.assign(descriptor, {\n input(options?: TypertRemoteInputOptions) {\n const strict = options?.strict === true\n return inputs[strict ? 1 : 0] ??= new NamedInput(parameters, strict, zod)\n },\n invoke(remote: TypertClientRemote, input: object, signal?: AbortSignal) {\n const named = input as Readonly<Record<string, unknown>>\n const values = parameters.map(parameter => named[parameter.wire])\n if (definition.cancellation !== undefined) values.push(signal)\n // Namespace access retains the Gateway's mount checks and scoped receiver policy.\n const receiver = Reflect.get(remote, namespace) as object\n const call = Reflect.get(receiver, method) as (...args: unknown[]) => ReturnType<Method['invoke']>\n return call.apply(receiver, values)\n },\n })\n // The generated namespace return type is selected by this same descriptor's mode.\n methods[endpoint] = direct as Method\n }\n descriptors.push(descriptor)\n }\n return this.index = { descriptors, methods }\n }\n}\n\n/**\n * Narrow a Registry descriptor to its generated direct-method capabilities.\n * @param descriptor - a live descriptor, including possible source fallback or Context-only receivers.\n * @returns whether generated named input and direct invocation are available.\n */\nexport function isTypertRemoteMethod(descriptor: InvocationDescriptor): descriptor is Method {\n return descriptor.invocation.kind === 'direct' && descriptor.result.mode === 'strict'\n && 'input' in descriptor && typeof descriptor.input === 'function'\n && 'invoke' in descriptor && typeof descriptor.invoke === 'function'\n}\n\nfunction optional(parameter: Parameter): boolean {\n return parameter.source === 'json' && parameter.acceptsUndefined === true\n}\n\nclass NamedInput implements TypertRemoteValue<object> {\n private schema?: z.ZodType<object>\n private projection?: Pick<TypertRemoteValue, 'jsonSchema' | 'jsonSchemaError'>\n\n constructor(\n private readonly parameters: readonly Parameter[],\n private readonly strict: boolean,\n private readonly zod: typeof z,\n ) {}\n\n private codec(parameter: Parameter): TypertRemoteCodecSpec {\n return this.strict ? parameter.strictCodec : parameter.codec\n }\n\n readonly create = (): z.ZodType<object> => this.schema ??= this.zod.strictObject(Object.fromEntries(this.parameters.map((parameter) => {\n const value = this.codec(parameter).create()\n return [parameter.wire, optional(parameter) ? value.optional() : value.nonoptional()]\n })))\n\n get jsonSchema(): TypertRemoteValue['jsonSchema'] { return this.project().jsonSchema }\n get jsonSchemaError(): string | undefined { return this.project().jsonSchemaError }\n\n private project(): NonNullable<NamedInput['projection']> {\n if (this.projection !== undefined) return this.projection\n const unavailable = this.parameters.find(parameter => this.codec(parameter).jsonSchema === undefined)\n if (unavailable !== undefined) {\n return this.projection = { jsonSchemaError: this.codec(unavailable).jsonSchemaError ?? `No JSON Schema for parameter ${unavailable.wire}` }\n }\n return this.projection = {\n jsonSchema: {\n type: 'object',\n properties: Object.fromEntries(this.parameters.map(parameter => [parameter.wire, {\n ...this.codec(parameter).jsonSchema,\n ...(parameter.description === undefined ? {} : { description: parameter.description }),\n }])),\n required: this.parameters.filter(parameter => !optional(parameter)).map(parameter => parameter.wire),\n additionalProperties: false,\n },\n }\n }\n}\n\nclass ResultValue implements TypertRemoteCodecSpec {\n private projection?: { readonly value: TypertRemoteValue['jsonSchema'] }\n\n constructor(private readonly spec: TypertRemoteCodecSpec) {}\n\n get mode(): 'strict' { return this.spec.mode }\n get typeSymbol(): string { return this.spec.typeSymbol }\n get create(): TypertRemoteCodecSpec['create'] { return this.spec.create }\n get decode(): TypertRemoteCodecSpec['decode'] { return this.spec.decode }\n get encode(): TypertRemoteCodecSpec['encode'] { return this.spec.encode }\n get description(): string | undefined { return this.spec.description }\n get jsonSchemaError(): string | undefined { return this.spec.jsonSchemaError }\n get jsonSchema(): TypertRemoteValue['jsonSchema'] {\n if (this.projection === undefined) {\n const schema = this.spec.jsonSchema\n this.projection = { value: schema === undefined ? undefined : { ...schema, description: this.spec.description } }\n }\n return this.projection.value\n }\n}\n","/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */\nimport { z } from 'zod'\n\nimport { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-info'\n\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_result$schema$value ??= z.object({\n 'current': z.union([z.literal(null), z.string()]).readonly().describe('Checked-out branch, or null when HEAD is detached.'),\n 'branches': z.array(z.string()).readonly().describe('Local branch names, `current` first and then most recently committed first, at most `maxBranches`.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema$value ??= z.void())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema$value ??= z.object({\n 'ref': z.object({\n 'repository': z.object({\n 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),\n 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),\n 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),\n 'name': z.string().readonly().describe('Repository name as the host spells it.'),\n}).readonly().describe('Repository that holds the change request.'),\n 'number': z.number().readonly().describe('Host-assigned change request number.'),\n}).readonly().describe('Change request the snapshot describes.'),\n 'url': z.string().readonly().describe('Web page of the change request.'),\n 'title': z.string().readonly().describe('Title as the author wrote it.'),\n 'state': z.union([z.literal(\"open\"), z.literal(\"closed\"), z.literal(\"merged\")]).readonly().describe('Lifecycle state.'),\n 'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),\n 'author': z.union([z.literal(null), z.string()]).readonly().describe('Author login, or null when the host hides it.'),\n 'headBranch': z.string().readonly().describe('Branch that carries the proposed commits.'),\n 'headSha': z.string().readonly().describe('Commit object name at the head of the change request.'),\n 'baseBranch': z.string().readonly().describe('Branch the change request merges into.'),\n '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.'),\n 'additions': z.number().readonly().describe('Lines the change request adds.'),\n 'deletions': z.number().readonly().describe('Lines the change request deletes.'),\n 'mergeability': z.union([z.literal(\"unknown\"), z.literal(\"mergeable\"), z.literal(\"conflicting\")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),\n '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.'),\n '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.'),\n '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.'),\n 'reviewDecision': z.union([z.literal(\"none\"), z.literal(\"approved\"), z.literal(\"changes-requested\"), z.literal(\"review-required\")]).readonly().describe('Aggregate review outcome.'),\n 'reviewers': z.array(z.object({\n '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.'),\n 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),\n 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),\n 'requested': z.boolean().readonly().describe('Whether a review from the reviewer is requested now.'),\n 'codeOwner': z.boolean().readonly().describe('Whether the host requested the review because the reviewer owns changed paths.'),\n '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.'),\n '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.'),\n})).readonly().describe('Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed.'),\n 'reviewersTruncated': z.boolean().readonly().describe('Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete.'),\n 'canRequestReviews': z.boolean().readonly().describe('Whether the signed-in user may request reviews of the change request through its provider.'),\n 'checks': z.array(z.object({\n 'name': z.string().readonly().describe('Check name as the host displays it.'),\n '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.'),\n 'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page for the check, or null when the host reports none.'),\n 'workflow': z.union([z.literal(null), z.string()]).readonly().describe('Workflow that produced the check, or null when the host reports none.'),\n '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.'),\n '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.'),\n '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.'),\n})).readonly().describe('Checks on the head commit in host order.'),\n 'checksRollup': z.union([z.literal(\"pending\"), z.literal(\"success\"), z.literal(\"none\"), z.literal(\"failure\")]).readonly().describe('Combined check outcome.'),\n 'checksTruncated': z.boolean().readonly().describe('Whether the host reported more checks than `checks` contains.'),\n 'canRerunChecks': z.boolean().readonly().describe('Whether the signed-in user may rerun the failed checks that name a `rerun`.'),\n 'unresolvedThreads': z.number().readonly().describe('Number of counted review threads that are not resolved.'),\n 'threadsTruncated': z.boolean().readonly().describe('Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound.'),\n 'closingIssues': z.array(z.object({\n 'repository': z.object({\n 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),\n 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),\n 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),\n 'name': z.string().readonly().describe('Repository name as the host spells it.'),\n}).readonly().describe('Repository that holds the issue.'),\n 'number': z.number().readonly().describe('Host-assigned issue number.'),\n 'title': z.string().readonly().describe('Title as the author wrote it.'),\n 'state': z.union([z.literal(\"open\"), z.literal(\"closed\")]).readonly().describe('Whether the issue is still open.'),\n 'url': z.string().readonly().describe('Web page of the issue.'),\n})).readonly().describe('Issues linked to the change request, which the host closes once it merges, in host order.'),\n 'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),\n 'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\\'s last update to the change request.'),\n '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.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_result$schema$value\nconst _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({\n 'headSha': z.string().readonly().describe('Head commit the list was read at.'),\n 'commits': z.array(z.object({\n 'sha': z.string().readonly().describe('Full commit object name.'),\n 'parent': z.union([z.literal(null), z.string()]).readonly().describe('Full object name of the first parent, or null for a root commit.'),\n 'title': z.string().readonly().describe('First line of the commit message.'),\n '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.'),\n 'authoredAt': z.string().readonly().describe('ISO 8601 time the commit was authored.'),\n})).readonly().describe('Commits oldest first, ending with the head commit unless `truncated`.'),\n 'truncated': z.boolean().readonly().describe('Whether the change request has more commits than the provider lists; the listed ones are the oldest.'),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2$schema$value\nconst _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({\n 'from': z.string().readonly().describe('First, oldest commit shown.'),\n 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema$value\nconst _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({\n 'headSha': z.string().readonly().describe('Commit whose new side the diff describes: the head, or the last chosen commit.'),\n 'files': z.array(z.object({\n 'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),\n 'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),\n 'status': z.union([z.literal(\"deleted\"), z.literal(\"added\"), z.literal(\"modified\"), z.literal(\"renamed\")]).readonly().describe('How the file changed.'),\n 'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),\n 'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),\n 'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),\n 'additions': z.number().readonly().describe('Lines added.'),\n 'deletions': z.number().readonly().describe('Lines deleted.'),\n 'hunks': z.array(z.object({\n 'oldStart': z.number().readonly().describe('First old line the hunk covers, or the old line it comes before when it covers none.'),\n 'oldLines': z.number().readonly().describe('Old lines the hunk covers.'),\n 'newStart': z.number().readonly().describe('First new line the hunk covers, or the new line it comes before when it covers none.'),\n 'newLines': z.number().readonly().describe('New lines the hunk covers.'),\n '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.'),\n})).readonly().describe('Hunks in file order; none for a binary file or a change of mode or name only.'),\n 'layer': z.union([z.literal(\"interface\"), z.literal(\"implementation\"), z.literal(\"test\")]).readonly().describe('Review layer the path falls in.'),\n '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.'),\n})).readonly().describe('Changed files in the host\\'s order.'),\n '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.'),\n 'fileUrls': z.record(z.string(), z.string()).readonly().readonly().describe('Web page of each changed file at `headSha`, by path.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_result$schema$value\nconst _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({\n 'headSha': z.string().readonly().describe('Head commit the threads were read at; `current` positions number its files.'),\n '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.'),\n 'threads': z.array(z.object({\n 'id': z.string().readonly().describe('Host identity of the thread.'),\n 'path': z.string().readonly().describe('Repository-relative path the thread is on.'),\n 'side': z.union([z.literal(\"L\"), z.literal(\"R\")]).readonly().describe('Old (`L`) or new (`R`) side of the diff the lines number.'),\n 'subject': z.union([z.literal(\"file\"), z.literal(\"line\")]).readonly().describe('Whether the thread is on lines or on the whole file.'),\n 'current': z.union([z.literal(null), z.object({\n '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.'),\n 'startLine': z.number().readonly().describe('First line, inclusive.'),\n 'endLine': z.number().readonly().describe('Last line, inclusive.'),\n})]).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.'),\n 'original': z.union([z.literal(null), z.object({\n '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.'),\n 'startLine': z.number().readonly().describe('First line, inclusive.'),\n 'endLine': z.number().readonly().describe('Last line, inclusive.'),\n})]).readonly().describe('Lines in the diff that ended at the commit the thread was written on; null for a file thread.'),\n '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.'),\n 'resolved': z.boolean().readonly().describe('Whether the thread is marked resolved.'),\n 'viewerCanReply': z.boolean().readonly().describe('Whether the signed-in user can reply to the thread through `writeReview`; false for a provider without it.'),\n '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.'),\n 'comments': z.array(z.object({\n 'id': z.string().readonly().describe('Host identity of the comment.'),\n 'author': z.union([z.literal(null), z.object({\n 'login': z.string().readonly().describe('Login as the host spells it.'),\n 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),\n 'bot': z.boolean().readonly().describe('Whether the account is an app or bot rather than a person.'),\n})]).readonly().describe('Author, or null when the account no longer exists.'),\n 'body': z.string().readonly().describe('Markdown source as the author wrote it; it may contain raw HTML, which readers must not render as HTML.'),\n 'createdAt': z.string().readonly().describe('ISO 8601 time the comment was created.'),\n '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.'),\n 'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page of the comment, or null when the host reports none.'),\n 'viewerCanEdit': z.boolean().readonly().describe('Whether the signed-in user can replace the comment\\'s text through `writeReview`; false for a provider without it.'),\n 'viewerCanDelete': z.boolean().readonly().describe('Whether the signed-in user can delete the comment through `writeReview`; false for a provider without it.'),\n})).readonly().describe('Comments oldest first; the first starts the thread.'),\n})).readonly().describe('Threads in host order, at most the provider\\'s limit.'),\n 'truncated': z.boolean().readonly().describe('Whether the change request has more threads than `threads` holds.'),\n 'pendingReview': z.union([z.literal(null), z.object({\n 'id': z.string().readonly().describe('Host identity of the review.'),\n 'comments': z.number().readonly().describe('Comments the review holds.'),\n})]).readonly().describe('The signed-in user\\'s pending review, or null without one.'),\n '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.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2$schema$value\nconst _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({\n '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.'),\n 'kind': z.literal(\"reply\").readonly(),\n 'thread': z.string().readonly(),\n 'body': z.string().readonly(),\n 'pending': z.boolean().readonly(),\n}), z.object({\n '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.'),\n 'kind': z.literal(\"resolve\").readonly(),\n 'thread': z.string().readonly(),\n 'resolved': z.boolean().readonly(),\n}), z.object({\n '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.'),\n 'kind': z.literal(\"edit-comment\").readonly(),\n 'comment': z.string().readonly(),\n 'body': z.string().readonly(),\n}), z.object({\n '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.'),\n 'kind': z.literal(\"delete-comment\").readonly(),\n 'comment': z.string().readonly(),\n}), z.object({\n '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.'),\n 'kind': z.literal(\"add-pending\").readonly(),\n 'comment': z.object({\n 'path': z.string().readonly(),\n 'side': z.union([z.literal(\"L\"), z.literal(\"R\")]).readonly(),\n 'startLine': z.number().readonly(),\n 'endLine': z.number().readonly(),\n 'body': z.string().readonly(),\n}).readonly(),\n}), z.object({\n '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.'),\n 'kind': z.literal(\"submit-pending\").readonly(),\n 'review': z.string().readonly(),\n 'event': z.union([z.literal(\"comment\"), z.literal(\"approve\"), z.literal(\"request-changes\")]).readonly(),\n 'body': z.string().readonly(),\n}), z.object({\n '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.'),\n 'kind': z.literal(\"discard-pending\").readonly(),\n 'review': z.string().readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_result$schema$value\nconst _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({\n 'ok': z.literal(true).readonly(),\n}), z.object({\n 'ok': z.literal(false).readonly(),\n 'code': z.union([z.literal(\"failed\"), z.literal(\"unknown\"), z.literal(\"stale\"), z.literal(\"unsupported\")]).readonly(),\n 'message': z.string().readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema$value\nconst _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({\n 'type': z.literal(\"baseline\").readonly(),\n 'states': z.array(z.object({\n 'title': z.string().readonly().describe('Title as the author wrote it.'),\n 'state': z.union([z.literal(\"open\"), z.literal(\"closed\"), z.literal(\"merged\")]).readonly().describe('Lifecycle state.'),\n 'url': z.string().readonly().describe('Web page of the change request.'),\n 'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),\n 'checksRollup': z.union([z.literal(\"pending\"), z.literal(\"success\"), z.literal(\"none\"), z.literal(\"failure\")]).readonly().describe('Combined check outcome.'),\n 'reviewDecision': z.union([z.literal(\"none\"), z.literal(\"approved\"), z.literal(\"changes-requested\"), z.literal(\"review-required\")]).readonly().describe('Aggregate review outcome.'),\n 'mergeability': z.union([z.literal(\"unknown\"), z.literal(\"mergeable\"), z.literal(\"conflicting\")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),\n 'number': z.number().readonly().describe('Change request number on its code host.'),\n})).readonly(),\n}), z.object({\n 'type': z.literal(\"changed\").readonly(),\n 'states': z.array(z.object({\n 'title': z.string().readonly().describe('Title as the author wrote it.'),\n 'state': z.union([z.literal(\"open\"), z.literal(\"closed\"), z.literal(\"merged\")]).readonly().describe('Lifecycle state.'),\n 'url': z.string().readonly().describe('Web page of the change request.'),\n 'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),\n 'checksRollup': z.union([z.literal(\"pending\"), z.literal(\"success\"), z.literal(\"none\"), z.literal(\"failure\")]).readonly().describe('Combined check outcome.'),\n 'reviewDecision': z.union([z.literal(\"none\"), z.literal(\"approved\"), z.literal(\"changes-requested\"), z.literal(\"review-required\")]).readonly().describe('Aggregate review outcome.'),\n 'mergeability': z.union([z.literal(\"unknown\"), z.literal(\"mergeable\"), z.literal(\"conflicting\")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),\n 'number': z.number().readonly().describe('Change request number on its code host.'),\n})).readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_result$schema$value\nconst _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({\n 'headSha': z.string().readonly().describe('Head commit the marks were read at.'),\n '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.'),\n 'truncated': z.boolean().readonly().describe('Whether the change request has more files than `files` lists.'),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema$value\nconst _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({\n 'automatic': z.union([z.literal(null), z.object({\n 'name': z.string().readonly().describe('The created worktree\\'s base branch or abbreviated base commit, or the default branch of the code host remote.'),\n 'worktree': z.boolean().readonly().describe('Whether the fork point is the base commit of the worktree the Session created rather than a merge base.'),\n})]).readonly().describe('The fork point used while no base branch is chosen, whatever the query; null without one.'),\n 'remote': z.array(z.object({\n 'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),\n 'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),\n})).readonly().describe('Remote-tracking branches without symbolic refs such as `origin/HEAD`, most recently committed first, at most `maxBranches`.'),\n 'local': z.array(z.object({\n 'ref': z.string().readonly().describe('Full ref name: `refs/heads/<branch>` or `refs/remotes/<remote>/<branch>`.'),\n 'name': z.string().readonly().describe('The ref without `refs/heads/` or `refs/remotes/`, such as `master` or `origin/master`.'),\n})).readonly().describe('Local branches other than the checked-out one, most recently committed first, at most `maxBranches`.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema$value ??= z.void())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema$value ??= z.object({\n 'directory': z.string().readonly().describe('Current working directory of the Session.'),\n 'checkout': z.union([z.object({\n 'state': z.literal(\"pending\").readonly(),\n}), z.object({\n 'state': z.literal(\"none\").readonly(),\n}), z.object({\n 'state': z.literal(\"failed\").readonly(),\n 'message': z.string().readonly(),\n}), z.object({\n 'state': z.literal(\"ready\").readonly(),\n 'checkout': z.object({\n 'root': z.string().readonly().describe('Top-level directory of the checkout.'),\n 'branch': z.union([z.literal(null), z.string()]).readonly().describe('Checked-out branch, or null when HEAD is detached.'),\n 'linked': z.boolean().readonly().describe('Whether the checkout is a linked worktree of another checkout\\'s repository.'),\n 'commit': z.union([z.literal(null), z.string()]).readonly().describe('Abbreviated commit HEAD names, or null while the checked-out branch has no commit.'),\n}).readonly(),\n})]).readonly().describe('Inspection result for `directory`.'),\n 'repository': z.union([z.literal(null), z.object({\n 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),\n 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),\n 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),\n 'name': z.string().readonly().describe('Repository name as the host spells it.'),\n})]).readonly().describe('Code host repository of the checkout\\'s upstream remote or `origin`, or null when no provider serves them.'),\n 'readiness': z.union([z.literal(null), z.object({\n 'state': z.union([z.literal(\"ready\"), z.literal(\"unauthenticated\"), z.literal(\"unavailable\")]).readonly().describe('`ready`, `unauthenticated` (sign-in needed), or `unavailable` (tool missing or host unreachable).'),\n 'message': z.union([z.literal(null), z.string()]).readonly().describe('Human-readable detail, or null when ready.'),\n})]).readonly().describe('Sign-in state for the repository\\'s host, or null before the first probe and without a repository.'),\n 'changeRequests': z.array(z.object({\n 'snapshot': z.union([z.literal(null), z.object({\n 'ref': z.object({\n 'repository': z.object({\n 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),\n 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),\n 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),\n 'name': z.string().readonly().describe('Repository name as the host spells it.'),\n}).readonly().describe('Repository that holds the change request.'),\n 'number': z.number().readonly().describe('Host-assigned change request number.'),\n}).readonly().describe('Change request the snapshot describes.'),\n 'url': z.string().readonly().describe('Web page of the change request.'),\n 'title': z.string().readonly().describe('Title as the author wrote it.'),\n 'state': z.union([z.literal(\"open\"), z.literal(\"closed\"), z.literal(\"merged\")]).readonly().describe('Lifecycle state.'),\n 'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),\n 'author': z.union([z.literal(null), z.string()]).readonly().describe('Author login, or null when the host hides it.'),\n 'headBranch': z.string().readonly().describe('Branch that carries the proposed commits.'),\n 'headSha': z.string().readonly().describe('Commit object name at the head of the change request.'),\n 'baseBranch': z.string().readonly().describe('Branch the change request merges into.'),\n '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.'),\n 'additions': z.number().readonly().describe('Lines the change request adds.'),\n 'deletions': z.number().readonly().describe('Lines the change request deletes.'),\n 'mergeability': z.union([z.literal(\"unknown\"), z.literal(\"mergeable\"), z.literal(\"conflicting\")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),\n '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.'),\n '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.'),\n '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.'),\n 'reviewDecision': z.union([z.literal(\"none\"), z.literal(\"approved\"), z.literal(\"changes-requested\"), z.literal(\"review-required\")]).readonly().describe('Aggregate review outcome.'),\n 'reviewers': z.array(z.object({\n '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.'),\n 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),\n 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),\n 'requested': z.boolean().readonly().describe('Whether a review from the reviewer is requested now.'),\n 'codeOwner': z.boolean().readonly().describe('Whether the host requested the review because the reviewer owns changed paths.'),\n '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.'),\n '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.'),\n})).readonly().describe('Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed.'),\n 'reviewersTruncated': z.boolean().readonly().describe('Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete.'),\n 'canRequestReviews': z.boolean().readonly().describe('Whether the signed-in user may request reviews of the change request through its provider.'),\n 'checks': z.array(z.object({\n 'name': z.string().readonly().describe('Check name as the host displays it.'),\n '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.'),\n 'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page for the check, or null when the host reports none.'),\n 'workflow': z.union([z.literal(null), z.string()]).readonly().describe('Workflow that produced the check, or null when the host reports none.'),\n '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.'),\n '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.'),\n '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.'),\n})).readonly().describe('Checks on the head commit in host order.'),\n 'checksRollup': z.union([z.literal(\"pending\"), z.literal(\"success\"), z.literal(\"none\"), z.literal(\"failure\")]).readonly().describe('Combined check outcome.'),\n 'checksTruncated': z.boolean().readonly().describe('Whether the host reported more checks than `checks` contains.'),\n 'canRerunChecks': z.boolean().readonly().describe('Whether the signed-in user may rerun the failed checks that name a `rerun`.'),\n 'unresolvedThreads': z.number().readonly().describe('Number of counted review threads that are not resolved.'),\n 'threadsTruncated': z.boolean().readonly().describe('Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound.'),\n 'closingIssues': z.array(z.object({\n 'repository': z.object({\n 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),\n 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),\n 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),\n 'name': z.string().readonly().describe('Repository name as the host spells it.'),\n}).readonly().describe('Repository that holds the issue.'),\n 'number': z.number().readonly().describe('Host-assigned issue number.'),\n 'title': z.string().readonly().describe('Title as the author wrote it.'),\n 'state': z.union([z.literal(\"open\"), z.literal(\"closed\")]).readonly().describe('Whether the issue is still open.'),\n 'url': z.string().readonly().describe('Web page of the issue.'),\n})).readonly().describe('Issues linked to the change request, which the host closes once it merges, in host order.'),\n 'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),\n 'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\\'s last update to the change request.'),\n '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.'),\n})]).readonly().describe('Latest snapshot a poll returned, kept while later polls fail, or null before the first successful poll.'),\n 'url': z.string().readonly().describe('Web URL as first recorded.'),\n 'origin': z.union([z.literal(\"created\"), z.literal(\"referenced\"), z.literal(\"discovered\"), z.literal(\"tracked\")]).readonly().describe('How the change request became bound.'),\n 'ref': z.union([z.literal(null), z.object({\n 'repository': z.object({\n 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),\n 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),\n 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),\n 'name': z.string().readonly().describe('Repository name as the host spells it.'),\n}).readonly().describe('Repository that holds the change request.'),\n 'number': z.number().readonly().describe('Host-assigned change request number.'),\n})]).readonly().describe('Parsed reference, or null when no registered provider serves the URL.'),\n 'update': z.union([z.literal(null), z.object({\n 'key': z.string().readonly().describe('Canonical identity of the watched change request.'),\n 'fetchedAt': z.number().readonly().describe('Epoch milliseconds when the result settled.'),\n 'snapshot': z.object({\n 'ref': z.object({\n 'repository': z.object({\n 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),\n 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),\n 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),\n 'name': z.string().readonly().describe('Repository name as the host spells it.'),\n}).readonly().describe('Repository that holds the change request.'),\n 'number': z.number().readonly().describe('Host-assigned change request number.'),\n}).readonly().describe('Change request the snapshot describes.'),\n 'url': z.string().readonly().describe('Web page of the change request.'),\n 'title': z.string().readonly().describe('Title as the author wrote it.'),\n 'state': z.union([z.literal(\"open\"), z.literal(\"closed\"), z.literal(\"merged\")]).readonly().describe('Lifecycle state.'),\n 'draft': z.boolean().readonly().describe('Whether the author marked the change request as a draft.'),\n 'author': z.union([z.literal(null), z.string()]).readonly().describe('Author login, or null when the host hides it.'),\n 'headBranch': z.string().readonly().describe('Branch that carries the proposed commits.'),\n 'headSha': z.string().readonly().describe('Commit object name at the head of the change request.'),\n 'baseBranch': z.string().readonly().describe('Branch the change request merges into.'),\n '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.'),\n 'additions': z.number().readonly().describe('Lines the change request adds.'),\n 'deletions': z.number().readonly().describe('Lines the change request deletes.'),\n 'mergeability': z.union([z.literal(\"unknown\"), z.literal(\"mergeable\"), z.literal(\"conflicting\")]).readonly().describe('Merge conflict status; `unknown` while the host computes it.'),\n '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.'),\n '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.'),\n '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.'),\n 'reviewDecision': z.union([z.literal(\"none\"), z.literal(\"approved\"), z.literal(\"changes-requested\"), z.literal(\"review-required\")]).readonly().describe('Aggregate review outcome.'),\n 'reviewers': z.array(z.object({\n '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.'),\n 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),\n 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),\n 'requested': z.boolean().readonly().describe('Whether a review from the reviewer is requested now.'),\n 'codeOwner': z.boolean().readonly().describe('Whether the host requested the review because the reviewer owns changed paths.'),\n '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.'),\n '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.'),\n})).readonly().describe('Reviewers whose review is requested, in host order, then other accounts that reviewed, each once; the author is never listed.'),\n 'reviewersTruncated': z.boolean().readonly().describe('Whether the host reported more review requests or reviews than the provider read, so `reviewers` may be incomplete.'),\n 'canRequestReviews': z.boolean().readonly().describe('Whether the signed-in user may request reviews of the change request through its provider.'),\n 'checks': z.array(z.object({\n 'name': z.string().readonly().describe('Check name as the host displays it.'),\n '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.'),\n 'url': z.union([z.literal(null), z.string()]).readonly().describe('Web page for the check, or null when the host reports none.'),\n 'workflow': z.union([z.literal(null), z.string()]).readonly().describe('Workflow that produced the check, or null when the host reports none.'),\n '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.'),\n '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.'),\n '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.'),\n})).readonly().describe('Checks on the head commit in host order.'),\n 'checksRollup': z.union([z.literal(\"pending\"), z.literal(\"success\"), z.literal(\"none\"), z.literal(\"failure\")]).readonly().describe('Combined check outcome.'),\n 'checksTruncated': z.boolean().readonly().describe('Whether the host reported more checks than `checks` contains.'),\n 'canRerunChecks': z.boolean().readonly().describe('Whether the signed-in user may rerun the failed checks that name a `rerun`.'),\n 'unresolvedThreads': z.number().readonly().describe('Number of counted review threads that are not resolved.'),\n 'threadsTruncated': z.boolean().readonly().describe('Whether the change request has more review threads than the provider counted, so `unresolvedThreads` is a lower bound.'),\n 'closingIssues': z.array(z.object({\n 'repository': z.object({\n 'forge': z.string().readonly().describe('Provider family that serves the repository, such as `github`.'),\n 'host': z.string().readonly().describe('Lowercase host name, such as `github.com`.'),\n 'owner': z.string().readonly().describe('Owner or namespace path as the host spells it.'),\n 'name': z.string().readonly().describe('Repository name as the host spells it.'),\n}).readonly().describe('Repository that holds the issue.'),\n 'number': z.number().readonly().describe('Host-assigned issue number.'),\n 'title': z.string().readonly().describe('Title as the author wrote it.'),\n 'state': z.union([z.literal(\"open\"), z.literal(\"closed\")]).readonly().describe('Whether the issue is still open.'),\n 'url': z.string().readonly().describe('Web page of the issue.'),\n})).readonly().describe('Issues linked to the change request, which the host closes once it merges, in host order.'),\n 'closingIssuesTruncated': z.boolean().readonly().describe('Whether the host reported more closing issues than `closingIssues` holds.'),\n 'updatedAt': z.string().readonly().describe('ISO 8601 time of the host\\'s last update to the change request.'),\n '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.'),\n}).readonly().describe('Status read from the host.'),\n}), z.object({\n 'key': z.string().readonly().describe('Canonical identity of the watched change request.'),\n 'fetchedAt': z.number().readonly().describe('Epoch milliseconds when the result settled.'),\n 'failure': z.object({\n '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.'),\n 'message': z.string().readonly().describe('Human-readable cause.'),\n}).readonly().describe('Reason the status could not be read.'),\n})]).readonly().describe('Latest polling result, or null before the first poll and without a provider.'),\n})).readonly().describe('Visible change request bindings with their latest polling results, in first-recorded order.'),\n 'worktree': z.object({\n 'editable': z.boolean().readonly().describe('Whether the Session can still request or withdraw a worktree: a worktree service is mounted, no turn has started, and none was created.'),\n 'blocker': z.union([z.literal(null), z.literal(\"read-only\"), z.literal(\"not-git\"), z.literal(\"outside-writable-root\")]).readonly().describe('Why the checkout cannot host a worktree, or null when it can, before the first inspection, and after a failed one.'),\n 'request': z.union([z.literal(null), z.object({\n 'from': z.union([z.literal(null), z.string()]).readonly().describe('Base branch, or null for HEAD of the source checkout.'),\n})]).readonly().describe('Open request, or null without one.'),\n 'created': z.union([z.literal(null), z.object({\n 'path': z.string().readonly().describe('Canonical checkout directory.'),\n 'branch': z.string().readonly().describe('Branch created for the checkout.'),\n 'from': z.union([z.literal(null), z.string()]).readonly().describe('Requested base branch, or null when the checkout started from HEAD of the source checkout.'),\n 'baseCommit': z.string().readonly().describe('Commit object name the branch started from.'),\n 'repositoryRoot': z.string().readonly().describe('Canonical root of the source checkout.'),\n})]).readonly().describe('Created worktree, or null before creation.'),\n 'creation': z.union([z.literal(null), z.object({\n 'phase': z.union([z.literal(\"prepare\"), z.literal(\"checkout\")]).readonly().describe('Running step: `prepare` validates and creates the branch, then `checkout` writes the files.'),\n 'branch': z.string().readonly().describe('Branch the attempt creates.'),\n 'from': z.union([z.literal(null), z.string()]).readonly().describe('Base branch, or null for HEAD.'),\n 'held': z.boolean().readonly().describe('Whether a message waits for the creation before its turn starts. Only such a creation can be stopped, after which the message keeps waiting; a creation at the first step serves a message the Session already holds.'),\n})]).readonly().describe('Running creation, or null.'),\n 'failure': z.union([z.literal(null), z.object({\n 'branch': z.union([z.literal(null), z.string()]).readonly().describe('Branch the attempt created, or null when it failed before naming one.'),\n 'from': z.union([z.literal(null), z.string()]).readonly().describe('Base branch of the attempt, or null for HEAD.'),\n 'phase': z.union([z.literal(\"prepare\"), z.literal(\"checkout\")]).readonly().describe('Step that failed.'),\n 'message': z.string().readonly().describe('Failure text.'),\n})]).readonly().describe('The last failed attempt of the creation a message waits for, or null. It clears when another attempt starts, when the request changes or is withdrawn, and when the wait ends.'),\n 'missing': z.union([z.literal(null), z.object({\n 'branchExists': z.union([z.literal(null), z.literal(false), z.literal(true)]).readonly().describe('Whether its branch exists, or null when an incomplete restoration cannot inspect it.'),\n})]).readonly().describe('The created worktree the Session works in when its directory is gone, or null.'),\n 'restoration': z.union([z.literal(null), z.object({\n 'phase': z.union([z.literal(\"prepare\"), z.literal(\"checkout\")]).readonly().describe('Running step: `prepare` registers the checkout again, creating a missing branch, then `checkout` writes the files.'),\n})]).readonly().describe('Running restoration of the removed worktree, or null.'),\n 'waiting': z.union([z.literal(null), z.literal(\"creation\"), z.literal(\"restoration\")]).readonly().describe('What a message of the Session waits for before its turn starts, or null while none waits.'),\n}).readonly().describe('Worktree request and creation state.'),\n 'local': z.union([z.literal(null), z.object({\n 'base': z.string().readonly().describe('Ref or abbreviated commit the scope compares with.'),\n 'files': z.array(z.object({\n 'path': z.string().readonly().describe('Path relative to the repository root after the change.'),\n 'additions': z.number().readonly().describe('Lines added, or 0 for a binary file.'),\n 'deletions': z.number().readonly().describe('Lines deleted, or 0 for a binary file.'),\n 'binary': z.boolean().readonly().describe('Whether the content is binary.'),\n})).readonly().describe('Changed files in Git\\'s path order, untracked files last, at most `maxUntrackedFiles` of those.'),\n})]).readonly().describe('Files the `branch` scope changes, or null before the first inspection, outside a checkout, and without a fork point.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema$value\nconst _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()]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema$value\nconst _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({\n 'headSha': z.string().readonly().describe('HEAD commit the list was read at.'),\n 'commits': z.array(z.object({\n 'sha': z.string().readonly().describe('Full commit object name.'),\n 'parent': z.union([z.literal(null), z.string()]).readonly().describe('Full object name of the first parent, or null for a root commit.'),\n 'title': z.string().readonly().describe('First line of the commit message.'),\n '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.'),\n 'authoredAt': z.string().readonly().describe('ISO 8601 time the commit was authored.'),\n})).readonly().describe('Commits oldest first, ending with HEAD\\'s commit.'),\n 'truncated': z.boolean().readonly().describe('Whether the branch has more commits than `maxCommits`; the listed ones are the newest.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema$value\nconst _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({\n 'kind': z.literal(\"branch\").readonly(),\n 'base': z.union([z.literal(null), z.string()]).readonly(),\n 'commits': z.union([z.literal(null), z.object({\n 'from': z.string().readonly().describe('First, oldest commit shown.'),\n 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),\n})]).readonly(),\n}), z.object({\n 'kind': z.literal(\"uncommitted\").readonly(),\n}), z.object({\n 'kind': z.literal(\"unstaged\").readonly(),\n}), z.object({\n 'kind': z.literal(\"staged\").readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema$value ??= z.object({\n 'base': z.union([z.literal(null), z.string()]).readonly().describe('Ref or abbreviated commit the `branch` scope compares with, such as `origin/master`; null for other scopes.'),\n 'files': z.array(z.object({\n 'path': z.string().readonly().describe('Path relative to the repository root after the change, or before it for a deleted file.'),\n 'previousPath': z.union([z.literal(null), z.string()]).readonly().describe('Path before a rename, else null.'),\n 'status': z.union([z.literal(\"deleted\"), z.literal(\"added\"), z.literal(\"modified\"), z.literal(\"renamed\")]).readonly().describe('How the file changed.'),\n 'binary': z.boolean().readonly().describe('Whether the content is binary, which carries no hunks.'),\n 'oversized': z.boolean().readonly().describe('Whether an untracked file exceeds `maxDiffBytes`, so it carries no hunks.'),\n 'untracked': z.boolean().readonly().describe('Whether Git does not track the file yet; only local diffs list such files.'),\n 'additions': z.number().readonly().describe('Lines added.'),\n 'deletions': z.number().readonly().describe('Lines deleted.'),\n 'hunks': z.array(z.object({\n 'oldStart': z.number().readonly().describe('First old line the hunk covers, or the old line it comes before when it covers none.'),\n 'oldLines': z.number().readonly().describe('Old lines the hunk covers.'),\n 'newStart': z.number().readonly().describe('First new line the hunk covers, or the new line it comes before when it covers none.'),\n 'newLines': z.number().readonly().describe('New lines the hunk covers.'),\n '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.'),\n})).readonly().describe('Hunks in file order; none for a binary file or a change of mode or name only.'),\n 'layer': z.union([z.literal(\"interface\"), z.literal(\"implementation\"), z.literal(\"test\")]).readonly().describe('Review layer the path falls in.'),\n '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.'),\n})).readonly().describe('Changed files in Git\\'s path order, untracked files last.'),\n 'omitted': z.number().readonly().describe('Untracked files left out beyond `maxUntrackedFiles`.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema$value\nconst _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({\n 'kind': z.literal(\"branch\").readonly(),\n 'base': z.union([z.literal(null), z.string()]).readonly(),\n 'commits': z.union([z.literal(null), z.object({\n 'from': z.string().readonly().describe('First, oldest commit shown.'),\n 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),\n})]).readonly(),\n}), z.object({\n 'kind': z.literal(\"uncommitted\").readonly(),\n}), z.object({\n 'kind': z.literal(\"unstaged\").readonly(),\n}), z.object({\n 'kind': z.literal(\"staged\").readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema$value ??= z.void())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema$value ??= z.union([z.literal(\"merge\"), z.literal(\"squash\"), z.literal(\"rebase\")]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema$value ??= z.void())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2$schema$value\nconst _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({\n '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.'),\n 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),\n})))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema$value\nconst _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()]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2$schema$value\nconst _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({\n 'headSha': z.string().readonly().describe('Head commit whose checks the user saw; the provider refuses with `stale` once the head is another commit.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema$value ??= z.void())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_result$schema$value\nconst _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({\n 'login': z.string().readonly().describe('Login as the host spells it.'),\n 'name': z.union([z.literal(null), z.string()]).readonly().describe('Display name, or null when the account shows none.'),\n 'avatarUrl': z.union([z.literal(null), z.string()]).readonly().describe('Avatar image URL, or null when the host reports none.'),\n 'suggested': z.boolean().readonly().describe('Whether the host suggests the account for this change request, as from the history of its changed files.'),\n})))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2$schema$value\nconst _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({\n 'path': z.string().readonly().describe('Repository-relative path of the changed file.'),\n 'viewed': z.boolean().readonly().describe('Whether the file is viewed.'),\n 'headSha': z.string().readonly().describe('Head commit whose changes the user saw; the provider refuses with `stale` once the head is another commit.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema$value ??= z.void())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2$schema$value ??= z.union([z.object({\n 'headSha': z.string().readonly().describe('Commit the user reviewed; providers must check it before writing and address that commit explicitly.'),\n 'kind': z.literal(\"comment\").readonly(),\n 'comment': z.object({\n 'path': z.string().readonly(),\n 'side': z.union([z.literal(\"L\"), z.literal(\"R\")]).readonly(),\n 'startLine': z.number().readonly(),\n 'endLine': z.number().readonly(),\n 'body': z.string().readonly(),\n}).readonly(),\n}), z.object({\n 'headSha': z.string().readonly().describe('Commit the user reviewed; providers must check it before writing and address that commit explicitly.'),\n 'kind': z.literal(\"review\").readonly(),\n 'event': z.union([z.literal(\"comment\"), z.literal(\"approve\"), z.literal(\"request-changes\")]).readonly(),\n 'body': z.string().readonly(),\n 'comments': z.array(z.object({\n 'path': z.string().readonly(),\n 'side': z.union([z.literal(\"L\"), z.literal(\"R\")]).readonly(),\n 'startLine': z.number().readonly(),\n 'endLine': z.number().readonly(),\n 'body': z.string().readonly(),\n})).readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_result$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_result$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_result$schema$value ??= z.union([z.object({\n 'ok': z.literal(true).readonly(),\n 'url': z.string().readonly(),\n}), z.object({\n 'ok': z.literal(false).readonly(),\n 'code': z.union([z.literal(\"failed\"), z.literal(\"unknown\"), z.literal(\"stale\"), z.literal(\"unsupported\")]).readonly(),\n 'message': z.string().readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2$schema$value\nconst _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\")]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_result$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1$schema$value\nconst _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()]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_result$schema$value\nconst _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({\n 'revision': z.number().readonly().describe('Monotonic attempt number within this Host lifetime; a Remote waits on a specific one.'),\n '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.'),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2_strict$schema$value\nconst _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({\n 'from': z.string().readonly().describe('First, oldest commit shown.'),\n 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2_strict$schema$value\nconst _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({\n '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.'),\n 'kind': z.literal(\"reply\").readonly(),\n 'thread': z.string().readonly(),\n 'body': z.string().readonly(),\n 'pending': z.boolean().readonly(),\n}), z.strictObject({\n '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.'),\n 'kind': z.literal(\"resolve\").readonly(),\n 'thread': z.string().readonly(),\n 'resolved': z.boolean().readonly(),\n}), z.strictObject({\n '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.'),\n 'kind': z.literal(\"edit-comment\").readonly(),\n 'comment': z.string().readonly(),\n 'body': z.string().readonly(),\n}), z.strictObject({\n '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.'),\n 'kind': z.literal(\"delete-comment\").readonly(),\n 'comment': z.string().readonly(),\n}), z.strictObject({\n '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.'),\n 'kind': z.literal(\"add-pending\").readonly(),\n 'comment': z.strictObject({\n 'path': z.string().readonly(),\n 'side': z.union([z.literal(\"L\"), z.literal(\"R\")]).readonly(),\n 'startLine': z.number().readonly(),\n 'endLine': z.number().readonly(),\n 'body': z.string().readonly(),\n}).readonly(),\n}), z.strictObject({\n '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.'),\n 'kind': z.literal(\"submit-pending\").readonly(),\n 'review': z.string().readonly(),\n 'event': z.union([z.literal(\"comment\"), z.literal(\"approve\"), z.literal(\"request-changes\")]).readonly(),\n 'body': z.string().readonly(),\n}), z.strictObject({\n '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.'),\n 'kind': z.literal(\"discard-pending\").readonly(),\n 'review': z.string().readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema$value\nconst _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()]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema$value\nconst _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({\n 'kind': z.literal(\"branch\").readonly(),\n 'base': z.union([z.literal(null), z.string()]).readonly(),\n 'commits': z.union([z.literal(null), z.strictObject({\n 'from': z.string().readonly().describe('First, oldest commit shown.'),\n 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),\n})]).readonly(),\n}), z.strictObject({\n 'kind': z.literal(\"uncommitted\").readonly(),\n}), z.strictObject({\n 'kind': z.literal(\"unstaged\").readonly(),\n}), z.strictObject({\n 'kind': z.literal(\"staged\").readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema$value\nconst _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({\n 'kind': z.literal(\"branch\").readonly(),\n 'base': z.union([z.literal(null), z.string()]).readonly(),\n 'commits': z.union([z.literal(null), z.strictObject({\n 'from': z.string().readonly().describe('First, oldest commit shown.'),\n 'to': z.string().readonly().describe('Last, newest commit shown; equal to `from` for one commit.'),\n})]).readonly(),\n}), z.strictObject({\n 'kind': z.literal(\"uncommitted\").readonly(),\n}), z.strictObject({\n 'kind': z.literal(\"unstaged\").readonly(),\n}), z.strictObject({\n 'kind': z.literal(\"staged\").readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema$value ??= z.union([z.literal(\"merge\"), z.literal(\"squash\"), z.literal(\"rebase\")]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2_strict$schema$value\nconst _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({\n '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.'),\n 'login': z.string().readonly().describe('Login, or `organization/slug` for a team.'),\n})))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema$value\nconst _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()]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2_strict$schema$value\nconst _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({\n 'headSha': z.string().readonly().describe('Head commit whose checks the user saw; the provider refuses with `stale` once the head is another commit.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2_strict$schema$value\nconst _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({\n 'path': z.string().readonly().describe('Repository-relative path of the changed file.'),\n 'viewed': z.boolean().readonly().describe('Whether the file is viewed.'),\n 'headSha': z.string().readonly().describe('Head commit whose changes the user saw; the provider refuses with `stale` once the head is another commit.'),\n}))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1_strict$schema$value ??= z.string())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2_strict$schema$value\nconst _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2_strict$schema$value ??= z.union([z.strictObject({\n 'headSha': z.string().readonly().describe('Commit the user reviewed; providers must check it before writing and address that commit explicitly.'),\n 'kind': z.literal(\"comment\").readonly(),\n 'comment': z.strictObject({\n 'path': z.string().readonly(),\n 'side': z.union([z.literal(\"L\"), z.literal(\"R\")]).readonly(),\n 'startLine': z.number().readonly(),\n 'endLine': z.number().readonly(),\n 'body': z.string().readonly(),\n}).readonly(),\n}), z.strictObject({\n 'headSha': z.string().readonly().describe('Commit the user reviewed; providers must check it before writing and address that commit explicitly.'),\n 'kind': z.literal(\"review\").readonly(),\n 'event': z.union([z.literal(\"comment\"), z.literal(\"approve\"), z.literal(\"request-changes\")]).readonly(),\n 'body': z.string().readonly(),\n 'comments': z.array(z.strictObject({\n 'path': z.string().readonly(),\n 'side': z.union([z.literal(\"L\"), z.literal(\"R\")]).readonly(),\n 'startLine': z.number().readonly(),\n 'endLine': z.number().readonly(),\n 'body': z.string().readonly(),\n})).readonly(),\n})]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2_strict$schema$value\nconst _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\")]))\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0_strict$schema$value\nconst _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())\nlet _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1_strict$schema$value\nconst _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()]))\n\nexport const TYPERT_REMOTE = createTypertRemoteInfo({\n package: '@deepseek-ai/dsh-experimental-client-ui-forge',\n methods: {\n 'forgePanel/branches': {\n service: 'forgePanel',\n description: 'List the local branches that can start a worktree of the Session\\'s current checkout.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose current directory is listed.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeBranches',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_branches_result$schema,\n description: 'the checked-out branch and at most `maxBranches` local branches, the checked-out one first.',\n 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},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":222,\"column\":9},\n },\n 'forgePanel/cancelWorktree': {\n service: 'forgePanel',\n description: 'Withdraw the open worktree request of a Session with its failed attempt, which lets a waiting message go on in the current checkout; without a request the Session is unchanged. Withdrawing needs no worktree service.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session without a started turn.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/cancelWorktree:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_cancelWorktree_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":748,\"column\":9},\n },\n 'forgePanel/changeRequestChecks': {\n service: 'forgePanel',\n description: 'Load complete checks for the change request whose list the user opened.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session retaining the visible binding.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestChecks:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestChecks:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'headSha',\n description: 'commit displayed by the card; a different head rejects the result.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestChecks:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestChecks:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_parameter_2_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ChangeRequestSnapshot',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestChecks_result$schema,\n description: 'the complete snapshot at the displayed head.',\n 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},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":364,\"column\":9},\n },\n 'forgePanel/changeRequestCommits': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestCommits:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestCommits:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestCommits:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestCommits_result$schema,\n description: 'the commits oldest first with the head they were read at, or null when the provider does not read commits.',\n 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}]},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":384,\"column\":9},\n },\n 'forgePanel/changeRequestDiff': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'commits',\n description: 'consecutive commits of the change request, or null for all of it.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:commits',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2$schema,\n 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}]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestDiff:commits',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_parameter_2_strict$schema,\n 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}]},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeChangeRequestDiff',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestDiff_result$schema,\n description: 'the files, the commit they end at, each file\\'s web page, and the commits the checkout has beyond the head.',\n jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":413,\"column\":9},\n },\n 'forgePanel/changeRequestReview': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'headSha',\n description: 'head commit of the displayed diff.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_2_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'fresh',\n 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.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:fresh',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3$schema,\n jsonSchema: {\"type\":\"boolean\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReview:fresh',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_parameter_3_strict$schema,\n jsonSchema: {\"type\":\"boolean\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewData',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReview_result$schema,\n description: 'the threads at `headSha`, with `current` positions numbering the files of that diff.',\n 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},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":527,\"column\":9},\n },\n 'forgePanel/changeRequestReviewWrite': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReviewWrite:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestReviewWrite:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'write',\n description: 'the write and the head commit of the threads the user saw.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewWrite',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2$schema,\n 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}]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewWrite',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_parameter_2_strict$schema,\n 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}]},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewWriteResult',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestReviewWrite_result$schema,\n 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.',\n 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}]},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":586,\"column\":9},\n },\n 'forgePanel/changeRequestStates': {\n service: 'forgePanel',\n 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.',\n mode: 'stream',\n invocation: { kind: 'direct' },\n parameters: [\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeChangeRequestStatesFrame',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestStates_result$schema,\n description: 'frames in publication order.',\n 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}]},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":198,\"column\":10},\n },\n 'forgePanel/changeRequestText': {\n service: 'forgePanel',\n description: 'Read one file of a change request\\'s repository at a commit, which supplies the unchanged lines between the hunks of its diff.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'commit',\n description: 'commit object name, the head commit of the diff.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:commit',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:commit',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_2_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'path',\n description: 'path relative to the repository root.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:path',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:path',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_parameter_3_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestText:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestText_result$schema,\n description: 'the text.',\n jsonSchema: {\"type\":\"string\"},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":458,\"column\":9},\n },\n 'forgePanel/changeRequestViewed': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'headSha',\n description: 'head commit of the shown diff; marks read at another head are refused.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_parameter_2_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/changeRequestViewed:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_changeRequestViewed_result$schema,\n description: 'the marks at `headSha`, or null when the provider keeps no viewed marks.',\n jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":478,\"column\":9},\n },\n 'forgePanel/continueInProject': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session with a created worktree.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/continueInProject:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_continueInProject_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":829,\"column\":9},\n },\n 'forgePanel/diffBases': {\n service: 'forgePanel',\n description: 'List the branches the `branch` scope of the Session\\'s current checkout can compare with.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose checkout is read.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'query',\n description: 'text the branch names must contain, ignoring case; empty for every branch.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:query',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/diffBases:query',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeBaseBranches',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_diffBases_result$schema,\n description: 'the automatic fork point and at most `maxBranches` remote-tracking and local branches each, most recently committed first, without the checked-out branch.',\n 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},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":236,\"column\":9},\n },\n 'forgePanel/dismiss': {\n service: 'forgePanel',\n description: 'Hide a visible binding of a Session; other URLs leave the Session unchanged.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session that owns the binding.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'web URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/dismiss:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_dismiss_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":268,\"column\":9},\n },\n 'forgePanel/follow': {\n service: 'forgePanel',\n 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.',\n mode: 'stream',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session to follow.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgePanelState',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_follow_result$schema,\n description: 'panel states in publication order.',\n jsonSchemaError: 'typert tool schema: selected union branches overlap or have no required discriminator',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":181,\"column\":10},\n },\n 'forgePanel/localCommits': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose checkout is read.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'base',\n description: 'the base ref of the `branch` scope, or null for its automatic fork point.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:base',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1$schema,\n jsonSchema: {\"oneOf\":[{\"type\":\"null\",\"const\":null},{\"type\":\"string\"}]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localCommits:base',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_parameter_1_strict$schema,\n jsonSchema: {\"oneOf\":[{\"type\":\"null\",\"const\":null},{\"type\":\"string\"}]},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalCommits',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localCommits_result$schema,\n description: 'the newest `maxCommits` commits between the fork point and HEAD, oldest first, and HEAD\\'s commit.',\n 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},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":323,\"column\":9},\n },\n 'forgePanel/localDiff': {\n service: 'forgePanel',\n description: 'Read the changes one scope covers in the checkout of the Session\\'s current directory, with Git using the Session\\'s sandbox policy.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose checkout is read.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'scope',\n description: 'which changes to read.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1$schema,\n 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}]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_parameter_1_strict$schema,\n 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}]},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalDiff',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localDiff_result$schema,\n description: 'the files, the base of the `branch` scope, and the untracked files left out.',\n 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},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":301,\"column\":9},\n },\n 'forgePanel/localText': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose checkout is read.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'scope',\n description: 'the scope the diff was read in.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1$schema,\n 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}]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge/types#ForgeLocalScope',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_1_strict$schema,\n 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}]},\n },\n },\n {\n name: 'path',\n description: 'path relative to the checkout\\'s top-level directory, as the diff names it.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localText:path',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localText:path',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_parameter_2_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/localText:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_localText_result$schema,\n description: 'the text.',\n jsonSchema: {\"type\":\"string\"},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":347,\"column\":9},\n },\n 'forgePanel/markReady': {\n service: 'forgePanel',\n description: 'Mark a draft change request of a Session ready for review; the change request is polled again once the host answers.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/markReady:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_markReady_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":610,\"column\":9},\n },\n 'forgePanel/merge': {\n service: 'forgePanel',\n description: 'Merge a change request of a Session while its head is still `headSha`; the change request is polled again once the host answers.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'method',\n description: 'how the commits enter the base branch.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#MergeMethod',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2$schema,\n jsonSchema: {\"type\":\"string\",\"enum\":[\"merge\",\"squash\",\"rebase\"]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#MergeMethod',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_2_strict$schema,\n jsonSchema: {\"type\":\"string\",\"enum\":[\"merge\",\"squash\",\"rebase\"]},\n },\n },\n {\n name: 'headSha',\n description: 'head commit the user confirmed.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_parameter_3_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/merge:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_merge_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":629,\"column\":9},\n },\n 'forgePanel/refresh': {\n service: 'forgePanel',\n description: 'Reinspect a followed Session\\'s checkout, probe sign-in again, and poll its change requests at once; an unfollowed Session is unchanged.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose panel refreshes.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/refresh:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_refresh_result$schema,\n description: 'settles once the inspection and the sign-in probe have ended; poll results reach the panel stream later.',\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":281,\"column\":9},\n },\n 'forgePanel/requestReviews': {\n service: 'forgePanel',\n description: 'Request reviews of a change request of a Session from more reviewers; the change request is polled again once the host answers.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'reviewers',\n description: 'the reviewers to ask, by kind and login.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:reviewers',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2$schema,\n 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}},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:reviewers',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_parameter_2_strict$schema,\n 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}},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestReviews:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestReviews_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":666,\"column\":9},\n },\n 'forgePanel/requestWorktree': {\n service: 'forgePanel',\n 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}.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session without a started turn.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'from',\n description: 'local base branch, or null for HEAD.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:from',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1$schema,\n jsonSchema: {\"oneOf\":[{\"type\":\"null\",\"const\":null},{\"type\":\"string\"}]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:from',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_parameter_1_strict$schema,\n jsonSchema: {\"oneOf\":[{\"type\":\"null\",\"const\":null},{\"type\":\"string\"}]},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/requestWorktree:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_requestWorktree_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":729,\"column\":9},\n },\n 'forgePanel/rerunChecks': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/rerunChecks:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/rerunChecks:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'request',\n description: 'the head commit whose checks the user saw.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeRerunRequest',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2$schema,\n 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},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeRerunRequest',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_parameter_2_strict$schema,\n 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},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/rerunChecks:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_rerunChecks_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":648,\"column\":9},\n },\n 'forgePanel/restoreWorktree': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose worktree directory is gone.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/restoreWorktree:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_restoreWorktree_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":798,\"column\":9},\n },\n 'forgePanel/retryWorktree': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose message waits.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/retryWorktree:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_retryWorktree_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":777,\"column\":9},\n },\n 'forgePanel/reviewerCandidates': {\n service: 'forgePanel',\n description: 'List accounts a review of a change request of a Session can be requested from.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'query',\n description: 'text the login or name contains; empty for the host\\'s suggestions and first accounts.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:query',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:query',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_parameter_2_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/reviewerCandidates:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_reviewerCandidates_result$schema,\n description: 'the accounts, the host\\'s suggestions first.',\n 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}},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":687,\"column\":9},\n },\n 'forgePanel/setFileViewed': {\n service: 'forgePanel',\n description: 'Set or clear the signed-in user\\'s viewed mark on one file of a change request of a Session.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setFileViewed:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setFileViewed:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'request',\n description: 'the file, its mark, and the head commit of the shown diff.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeViewedRequest',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2$schema,\n 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},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeViewedRequest',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_parameter_2_strict$schema,\n 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},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/setFileViewed:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_setFileViewed_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":500,\"column\":9},\n },\n 'forgePanel/stopCreation': {\n service: 'forgePanel',\n description: 'Stop the creation a message of the Session waits for; the message keeps waiting with the request still open. Without such a creation the Session is unchanged.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose creation stops.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/stopCreation:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_stopCreation_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":764,\"column\":9},\n },\n 'forgePanel/submitReview': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session retaining the change request.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'visible binding URL.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/submitReview:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/submitReview:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'request',\n description: 'reviewed head, ranges, plain text, and explicit review decision.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewRequest',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2$schema,\n jsonSchema: {\"oneOf\":[{\"type\":\"object\",\"properties\":{\"headSha\":{\"type\":\"string\",\"description\":\"Commit the user reviewed; providers must check it before writing and address that commit explicitly.\"},\"kind\":{\"type\":\"string\",\"const\":\"comment\"},\"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\":\"Commit the user reviewed; providers must check it before writing and address that commit explicitly.\"},\"kind\":{\"type\":\"string\",\"const\":\"review\"},\"event\":{\"type\":\"string\",\"enum\":[\"comment\",\"approve\",\"request-changes\"]},\"body\":{\"type\":\"string\"},\"comments\":{\"type\":\"array\",\"items\":{\"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\",\"event\",\"body\",\"comments\"],\"additionalProperties\":true}]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewRequest',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_parameter_2_strict$schema,\n jsonSchema: {\"oneOf\":[{\"type\":\"object\",\"properties\":{\"headSha\":{\"type\":\"string\",\"description\":\"Commit the user reviewed; providers must check it before writing and address that commit explicitly.\"},\"kind\":{\"type\":\"string\",\"const\":\"comment\"},\"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\":\"Commit the user reviewed; providers must check it before writing and address that commit explicitly.\"},\"kind\":{\"type\":\"string\",\"const\":\"review\"},\"event\":{\"type\":\"string\",\"enum\":[\"comment\",\"approve\",\"request-changes\"]},\"body\":{\"type\":\"string\"},\"comments\":{\"type\":\"array\",\"items\":{\"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\",\"event\",\"body\",\"comments\"],\"additionalProperties\":false}]},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#ForgeReviewResult',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_submitReview_result$schema,\n description: 'confirmed publication or a typed failure; unknown outcomes require reconciliation on the host.',\n 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}]},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":558,\"column\":9},\n },\n 'forgePanel/track': {\n service: 'forgePanel',\n description: 'Bind a change request to a Session by URL, or restore a dismissed binding.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session that receives the binding.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'web URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/track:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/track:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/track:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_track_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":253,\"column\":9},\n },\n 'forgePanel/updateBranch': {\n service: 'forgePanel',\n 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.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session the change request is bound to.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'url',\n description: 'binding URL of the change request.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:url',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_1_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'method',\n description: 'merge commit or rebase.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#BranchUpdateMethod',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2$schema,\n jsonSchema: {\"type\":\"string\",\"enum\":[\"merge\",\"rebase\"]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-forge/types#BranchUpdateMethod',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_2_strict$schema,\n jsonSchema: {\"type\":\"string\",\"enum\":[\"merge\",\"rebase\"]},\n },\n },\n {\n name: 'headSha',\n description: 'head commit the user confirmed.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:headSha',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_parameter_3_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n ],\n cancellation: { parameter: 'signal' },\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/updateBranch:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_updateBranch_result$schema,\n jsonSchemaError: 'typert tool schema: unsupported void value',\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":708,\"column\":9},\n },\n 'forgePanel/worktreeCleanup': {\n service: 'forgePanel',\n description: 'Read or await the worktree service\\'s archive cleanup of the Session\\'s checkout.',\n invocation: { kind: 'direct' },\n parameters: [\n {\n name: 'session',\n wire: 'sessionId',\n description: 'Session whose cleanup is visible to the caller.',\n source: 'lookup',\n lookup: 'session',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_0_strict$schema,\n jsonSchema: {\"type\":\"string\"},\n },\n },\n {\n name: 'revision',\n description: 'null reads now; a matching revision waits for completion.',\n source: 'json',\n codec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/worktreeCleanup:revision',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1$schema,\n jsonSchema: {\"oneOf\":[{\"type\":\"null\",\"const\":null},{\"type\":\"number\"}]},\n },\n strictCodec: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/worktreeCleanup:revision',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_parameter_1_strict$schema,\n jsonSchema: {\"oneOf\":[{\"type\":\"null\",\"const\":null},{\"type\":\"number\"}]},\n },\n },\n ],\n result: {\n mode: 'strict',\n typeSymbol: '@deepseek-ai/dsh-experimental-client-ui-forge#forgePanel/worktreeCleanup:result',\n create: _deepseek_ai_dsh_experimental_client_ui_forge_forgePanel_worktreeCleanup_result$schema,\n description: 'the cleanup state, or null without a worktree service, an attempt, or a current revision.',\n 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}]},\n },\n sourceLocation: {\"file\":\"packages/experimental/client-ui-forge/src/index.ts\",\"line\":210,\"column\":9},\n },\n },\n}, z)\n\nexport default TYPERT_REMOTE\n","/**\n * Browser-persisted review records, the review summary, comment drafts an earlier panel kept in the browser, and the\n * write whose outcome still needs confirmation. New pull request comments go to the pending review on the code host.\n */\n\nimport { z } from 'zod'\nimport type { ForgeReviewRequest } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { ReviewSelection, ReviewSource } from './review.ts'\n\nconst line = z.object({ path: z.string(), side: z.enum(['L', 'R']), startLine: z.number().int().positive(), endLine: z.number().int().positive(), body: z.string() })\nconst commits = z.object({ from: z.string(), to: z.string() }).nullable().default(null)\nconst selection = z.object({\n source: z.object({ kind: z.literal('change'), url: z.string(), headSha: z.string(), commits }), comment: line.extend({ hunk: z.string() }),\n})\nconst recordedSelection = selection.extend({ source: z.discriminatedUnion('kind', [\n selection.shape.source,\n z.object({ kind: z.literal('local'), scope: z.string(), base: z.string().nullable().default(null), baseRef: z.string().nullable().default(null), commits }),\n]) })\nconst record = z.discriminatedUnion('kind', [\n z.object({ kind: z.literal('agent'), selection: recordedSelection }),\n z.object({ kind: z.literal('published'), selection: recordedSelection, url: z.url({ protocol: /^https$/ }) }),\n])\nconst event = z.enum(['comment', 'approve', 'request-changes'])\nconst request = z.discriminatedUnion('kind', [\n z.object({ kind: z.literal('comment'), headSha: z.string(), comment: line }),\n z.object({ kind: z.literal('review'), headSha: z.string(), event, body: z.string(), comments: z.array(line) }),\n])\nconst saved = z.object({\n comments: z.array(selection), records: z.array(record).default([]), body: z.string(), event, uncertain: request.nullable(),\n})\n\n/** A comment retained after adding its reference or receiving a publication receipt. */\nexport type ReviewRecord =\n | { readonly kind: 'agent'; readonly selection: ReviewSelection }\n | { readonly kind: 'published'; readonly selection: ReviewSelection; readonly url: string }\n\n/** One inline record; its numeric key belongs only to the retained browser store. */\nexport type ReviewThread = { readonly key: number } & (ReviewRecord | { readonly kind: 'pending'; readonly selection: ReviewSelection })\n\n/** File-scoped snapshot that does not change while unrelated comments or the summary are edited. */\nexport interface FileReviewState {\n readonly threads: readonly ReviewThread[]\n readonly locked: boolean\n readonly error: ReviewQueueState['error']\n}\n\n/** Stable snapshot for a file without a comment store. */\nexport const EMPTY_FILE_REVIEW: FileReviewState = { threads: [], locked: false, error: null }\n\n/** Immutable queue snapshot; errors leave the original stored bytes untouched. */\nexport interface ReviewQueueState {\n readonly comments: readonly ReviewSelection[]\n readonly records: readonly ReviewRecord[]\n readonly body: string\n readonly event: 'comment' | 'approve' | 'request-changes'\n readonly uncertain: ForgeReviewRequest | null\n readonly error: 'load' | 'save' | null\n}\n\n/** Initial state of a newly opened review tab. */\nexport const EMPTY_REVIEW: ReviewQueueState = { comments: [], records: [], body: '', event: 'comment', uncertain: null, error: null }\n\n/** One review tab's drafts and records, retained until its occurrence closes. */\nexport class ReviewQueue {\n private closed = false\n private state: ReviewQueueState = EMPTY_REVIEW\n private readonly listeners = new Set<() => void>()\n private readonly keys = new WeakMap<ReviewSelection, number>()\n private nextKey = 0\n private readonly files = new Map<string, FileReviewState>()\n\n /** @param key - browser storage key including Session and tab identity. */\n constructor(private readonly key: string) {\n try {\n const raw = localStorage.getItem(key)\n if (raw !== null) this.state = { ...saved.parse(JSON.parse(raw)), error: null }\n } catch (_error) {\n this.state = { ...EMPTY_REVIEW, error: 'load' }\n }\n }\n\n /** Current queue snapshot, stable between edits and storage failures. */\n readonly getSnapshot = (): ReviewQueueState => this.state\n\n /**\n * Clear this tab's records and refuse later completions from its outgoing requests.\n * @returns whether its browser storage was cleared; the in-memory state always closes.\n */\n close(): boolean {\n this.closed = true\n this.state = EMPTY_REVIEW\n this.files.clear()\n this.emit()\n this.listeners.clear()\n try {\n localStorage.removeItem(this.key)\n } catch (_error) {\n return false\n }\n return true\n }\n\n /** Summary subscribed by the surrounding diff; editing draft text does not invalidate its file rows. */\n readonly getStatus = (): string => `${this.state.comments.length}:${this.state.records.length}:${this.state.error ?? ''}:${this.state.uncertain === null ? 'idle' : 'pending'}`\n\n /**\n * Read stable inline records for one path and review source.\n * @param path - repository-relative file path.\n * @param source - PR or local scope; older head commits remain available as outdated comments.\n * @returns records and edit availability, reusing the snapshot when these values are unchanged.\n */\n fileComments(path: string, source: ReviewSource): FileReviewState {\n const matches = (item: ReviewSelection): boolean => item.comment.path === path && sameReviewSource(item.source, source)\n const threads: ReviewThread[] = [\n ...this.state.records.filter(item => matches(item.selection)).map(item => ({ ...item, key: this.keyOf(item.selection) })),\n ...this.state.comments.filter(matches).map(item => ({ kind: 'pending' as const, selection: item, key: this.keyOf(item) })),\n ]\n const key = JSON.stringify([path, source.kind, source.kind === 'local' ? [source.scope, source.baseRef] : source.url, source.commits])\n const previous = this.files.get(key)\n const locked = this.state.uncertain !== null\n if (previous !== undefined && previous.locked === locked && previous.error === this.state.error\n && previous.threads.length === threads.length && previous.threads.every((item, index) => {\n const next = threads[index]\n return next?.selection === item.selection && next.kind === item.kind\n })) return previous\n const value = { threads, locked, error: this.state.error }\n this.files.set(key, value)\n return value\n }\n\n /**\n * Retain an Agent reference at its original code location.\n * @param selection - reference already accepted by the main composer.\n * @returns whether the record was saved.\n */\n recordAgent(selection: ReviewSelection): boolean {\n return this.save({ ...this.state, records: [...this.state.records, { kind: 'agent', selection }] })\n }\n\n /**\n * Retain a published comment and settle its outgoing write atomically in browser storage.\n * @param selection - published comment's frozen code location.\n * @param url - confirmed publication URL.\n * @returns whether the receipt and comment were saved.\n */\n published(selection: ReviewSelection, url: string): boolean {\n return this.save({ ...this.state, uncertain: null, records: [...this.state.records, { kind: 'published', selection, url }] })\n }\n\n /**\n * Observe queue edits and storage failures.\n * @param listener - snapshot invalidation.\n * @returns unsubscribe.\n */\n readonly subscribe = (listener: () => void): (() => void) => {\n this.listeners.add(listener)\n return () => { this.listeners.delete(listener) }\n }\n\n /**\n * Edit or remove a pending comment without changing its captured lines.\n * @param index - comment position.\n * @param body - replacement text, or null to remove.\n * @returns whether saved.\n */\n edit(index: number, body: string | null): boolean {\n if (this.state.uncertain !== null) return false\n return this.save({ ...this.state, comments: this.state.comments.flatMap((item, at) => {\n if (at !== index) return [item]\n if (body === null) return []\n const next = { ...item, comment: { ...item.comment, body } }\n this.keys.set(next, this.keyOf(item))\n return [next]\n }) })\n }\n\n /**\n * Edit the currently pending occurrence addressed by an inline record.\n * @param key - browser-store identity from fileComments.\n * @param body - replacement text, or null to remove.\n * @returns whether the occurrence still exists and the edit was saved.\n */\n editThread(key: number, body: string | null): boolean {\n const index = this.state.comments.findIndex(item => this.keyOf(item) === key)\n return index !== -1 && this.edit(index, body)\n }\n\n /**\n * Save the summary and decision for the pending review.\n * @param body - review summary.\n * @param event - review decision.\n * @returns whether saved.\n */\n summarize(body: string, event: ReviewQueueState['event']): boolean {\n if (this.state.uncertain !== null) return false\n return this.save({ ...this.state, body, event })\n }\n\n /**\n * Persist the outgoing request before network dispatch.\n * @param request - exact write.\n * @returns whether dispatch may start.\n */\n begin(request: ForgeReviewRequest): boolean {\n if (this.state.uncertain !== null) return false\n return this.save({ ...this.state, uncertain: request })\n }\n\n /**\n * Clear the write after a known result or explicit reconciliation.\n * @param submitted - whether a batch review was published.\n * @param url - confirmed publication URL when retaining submitted comments.\n * @returns whether saved.\n */\n finish(submitted: boolean, url?: string): boolean {\n if (!submitted) return this.save({ ...this.state, uncertain: null })\n const records = url === undefined ? this.state.records : [...this.state.records,\n ...this.state.comments.map(item => ({ kind: 'published' as const, selection: item, url }))]\n return this.save({ ...EMPTY_REVIEW, records })\n }\n\n private keyOf(selection: ReviewSelection): number {\n let key = this.keys.get(selection)\n if (key === undefined) { key = ++this.nextKey; this.keys.set(selection, key) }\n return key\n }\n\n private save(state: ReviewQueueState): boolean {\n if (this.closed || this.state.error === 'load') return false\n try {\n const { error: _error, ...value } = state\n localStorage.setItem(this.key, JSON.stringify(value))\n } catch (_error) {\n this.state = { ...this.state, error: 'save' }\n this.emit()\n return false\n }\n this.state = { ...state, error: null }\n this.emit()\n return true\n }\n\n private emit(): void { for (const listener of this.listeners) listener() }\n}\n\n/**\n * Compare review identity while allowing records from an older PR head to remain visible.\n * @param left - recorded source.\n * @param right - displayed source.\n * @returns whether the sources name the same PR, or the same local scope and base ref, with the same chosen commits.\n */\nexport function sameReviewSource(left: ReviewSource, right: ReviewSource): boolean {\n if (left.commits?.from !== right.commits?.from || left.commits?.to !== right.commits?.to) return false\n return left.kind === 'local' ? right.kind === 'local' && left.scope === right.scope && left.baseRef === right.baseRef\n : right.kind === 'change' && left.url === right.url\n}\n","/**\n * Browser-persisted viewed marks of changed files. Each Session keeps one storage entry that maps a diff source,\n * such as a change request or a local scope with its base ref and chosen commits, to the digest of each file's\n * change when the reader marked it viewed. A mark whose digest differs from the file's current change reports the\n * file as changed since it was viewed. Several browser tabs of one Session share the entry: each mark rewrites the\n * entry as storage holds it, and marks saved by another tab reach this one through the `storage` event.\n */\n\nimport { z } from 'zod'\n\n/** Prefix of every storage key; the index of Sessions with marks uses it with the `sessions` suffix. */\nconst PREFIX = 'dsh.forge-viewed.v1'\n\n/** Sessions whose marks the browser keeps; marking a file in another Session drops the least recently marked one's. */\nconst MAX_SESSIONS = 50\n\n/** Diff sources whose marks one Session keeps; marking a file in another source drops the least recently marked one's. */\nconst MAX_SOURCES = 20\n\nconst source = z.object({ at: z.number(), files: z.record(z.string(), z.string()) })\nconst saved = z.record(z.string(), source)\nconst index = z.array(z.string())\n\ntype Sources = Readonly<Record<string, z.infer<typeof source>>>\n\n/** Viewed state of one file in the diff a reader sees. */\nexport type ViewedState = 'viewed' | 'changed' | 'unviewed'\n\n/** Digests of the files marked viewed in one source, by path; stable until a mark in that source changes. */\nexport type ViewedMarks = ReadonlyMap<string, string>\n\nconst NO_MARKS: ViewedMarks = new Map()\n\n/**\n * Classify a file by its mark.\n * @param marks - the marks of the source the diff shows.\n * @param path - the file's path.\n * @param digest - the digest of the file's current change.\n * @returns `viewed` for a mark of this change, `changed` for a mark of an earlier change, else `unviewed`.\n */\nexport function viewedStateOf(marks: ViewedMarks, path: string, digest: string): ViewedState {\n const marked = marks.get(path)\n return marked === undefined ? 'unviewed' : marked === digest ? 'viewed' : 'changed'\n}\n\n/**\n * One Session's viewed marks. Unreadable storage shows no marks and refuses writes while it stays unreadable. While\n * anything subscribes, marks another tab saves replace the ones shown.\n */\nexport class ViewedFiles {\n private sources: Sources\n private readonly listeners = new Set<() => void>()\n private readonly snapshots = new Map<string, ViewedMarks>()\n private readonly key: string\n\n /**\n * @param session - storage identity of the Session, such as its id.\n * @param now - clock of the least-recently-marked bounds.\n */\n constructor(private readonly session: string, private readonly now: () => number = Date.now) {\n this.key = `${PREFIX}.${JSON.stringify(session)}`\n this.sources = this.load() ?? {}\n }\n\n /**\n * Read the marks of one source.\n * @param key - identity of the diff source.\n * @returns digests by path, the same object until a mark in the source changes.\n */\n readonly marksOf = (key: string): ViewedMarks => {\n let marks = this.snapshots.get(key)\n if (marks === undefined) {\n const files = this.sources[key]?.files\n marks = files === undefined ? NO_MARKS : new Map(Object.entries(files))\n this.snapshots.set(key, marks)\n }\n return marks\n }\n\n /**\n * Observe changed marks.\n * @param listener - called after each saved mark.\n * @returns unsubscribe.\n */\n readonly subscribe = (listener: () => void): (() => void) => {\n // Storage events that arrived while nothing listened are lost, so the first subscriber reads storage again.\n if (this.listeners.size === 0) {\n window.addEventListener('storage', this.stored)\n this.reload()\n }\n this.listeners.add(listener)\n return () => {\n this.listeners.delete(listener)\n if (this.listeners.size === 0) window.removeEventListener('storage', this.stored)\n }\n }\n\n /**\n * Mark one file viewed at its current change or clear its mark, dropping the marks of paths the diff no longer has.\n * @param key - identity of the diff source.\n * @param files - every file of the diff with the digest of its change.\n * @param path - the file to mark.\n * @param viewed - whether the file is viewed.\n * @returns whether the mark was saved; the marks are unchanged when storage is unreadable or refuses the write.\n */\n mark(key: string, files: readonly { readonly path: string; readonly digest: string }[], path: string, viewed: boolean): boolean {\n const file = files.find(item => item.path === path)\n // Another tab of the Session may have saved marks since this one last read them; the write keeps theirs.\n const current = this.load()\n if (current === undefined || file === undefined) return false\n const present = new Set(files.map(item => item.path))\n const kept = Object.entries(current[key]?.files ?? {}).filter(([marked]) => marked !== path && present.has(marked))\n const sources = {\n ...current,\n [key]: { at: this.now(), files: Object.fromEntries(viewed ? [...kept, [path, file.digest]] : kept) },\n }\n const recent = Object.entries(sources).sort(([, left], [, right]) => right.at - left.at).slice(0, MAX_SOURCES)\n const next = Object.fromEntries(recent)\n try {\n localStorage.setItem(this.key, JSON.stringify(next))\n } catch (_error) {\n return false\n }\n this.replace(next)\n this.remember()\n return true\n }\n\n /** The saved marks of this Session, or undefined when storage cannot be read or holds an entry it cannot parse. */\n private load(): Sources | undefined {\n try {\n const raw = localStorage.getItem(this.key)\n return raw === null ? {} : saved.parse(JSON.parse(raw))\n } catch (_error) {\n return undefined\n }\n }\n\n /** Show the saved marks when they differ from the shown ones. */\n private reload(): void {\n const sources = this.load() ?? {}\n if (JSON.stringify(sources) !== JSON.stringify(this.sources)) this.replace(sources)\n }\n\n private replace(sources: Sources): void {\n this.sources = sources\n this.snapshots.clear()\n for (const listener of this.listeners) listener()\n }\n\n /** Another document changed this Session's entry, or with a null key cleared the whole storage. */\n private readonly stored = (event: StorageEvent): void => {\n if (event.key === this.key || event.key === null) this.reload()\n }\n\n /** Move this Session to the front of the index and drop the marks of Sessions beyond {@link MAX_SESSIONS}. */\n private remember(): void {\n const key = `${PREFIX}.sessions`\n let listed: readonly string[] = []\n try {\n listed = index.parse(JSON.parse(localStorage.getItem(key) ?? '[]'))\n } catch (_error) {\n // An unreadable index is replaced by one that lists only this Session.\n }\n const sessions = [this.session, ...listed.filter(item => item !== this.session)]\n try {\n writeIndex(key, sessions)\n } catch (_error) {\n // The index only bounds storage; a Session left out keeps its marks until a later write lists it.\n }\n }\n}\n\n/** Keep the first {@link MAX_SESSIONS} Sessions in the index and remove the marks of the rest. */\nfunction writeIndex(key: string, sessions: readonly string[]): void {\n for (const dropped of sessions.slice(MAX_SESSIONS)) localStorage.removeItem(`${PREFIX}.${JSON.stringify(dropped)}`)\n localStorage.setItem(key, JSON.stringify(sessions.slice(0, MAX_SESSIONS)))\n}\n","/** Frozen line selections shared by the diff UI, composer references, and review submission. */\n\nimport type { QuoteSummary } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { ForgeCommitRange, ForgeDiffFile } from '../types.ts'\n\n/** A comment on consecutive lines of one side of one displayed hunk. */\nexport interface ReviewComment {\n /** Repository-relative destination path, including for renamed files. */\n readonly path: string\n /** Old or new side of the displayed diff. */\n readonly side: 'L' | 'R'\n /** First selected line, inclusive. */\n readonly startLine: number\n /** Last selected line, inclusive. */\n readonly endLine: number\n /** Complete displayed hunk captured before subsequent file changes. */\n readonly hunk: string\n /** User's plain-text comment. */\n readonly body: string\n}\n\n/**\n * The immutable source from which a comment was selected. `commits` names the consecutive commits shown instead of\n * the whole change request or `branch` scope, or is null for all of them.\n */\nexport type ReviewSource =\n /**\n * Local changes in a scope. `base` names what the `branch` scope compared with for the reader, and is null for\n * other scopes; `baseRef` identifies the comparison: the chosen ref, or null for the automatic fork point and other scopes.\n */\n | {\n readonly kind: 'local'\n readonly scope: string\n readonly base: string | null\n readonly baseRef: string | null\n readonly commits: ForgeCommitRange | null\n }\n /** A change request; `headSha` is the commit the shown changes end at: the head, or the last chosen commit. */\n | { readonly kind: 'change'; readonly url: string; readonly headSha: string; readonly commits: ForgeCommitRange | null }\n\n/** One selected range and the source the user saw. */\nexport interface ReviewSelection {\n readonly source: ReviewSource\n readonly comment: ReviewComment\n}\n\n/**\n * Capture a range only when both endpoints belong to the same displayed hunk.\n * @param file - loaded diff file.\n * @param side - selected side.\n * @param from - first gesture endpoint.\n * @param to - current gesture endpoint.\n * @returns a frozen selection, or undefined for unchanged gaps or cross-hunk ranges.\n */\nexport function selectReviewLines(file: ForgeDiffFile, side: 'L' | 'R', from: number, to: number): ReviewComment | undefined {\n const startLine = Math.min(from, to)\n const endLine = Math.max(from, to)\n const hunk = file.hunks.find((item) => {\n const start = side === 'L' ? item.oldStart : item.newStart\n const count = side === 'L' ? item.oldLines : item.newLines\n return startLine >= start && endLine < start + count\n })\n if (hunk === undefined) return undefined\n const oldStart = hunk.oldLines === 0 ? hunk.oldStart - 1 : hunk.oldStart\n const newStart = hunk.newLines === 0 ? hunk.newStart - 1 : hunk.newStart\n return {\n path: file.path, side, startLine, endLine, body: '',\n hunk: [`@@ -${oldStart},${hunk.oldLines} +${newStart},${hunk.newLines} @@`, ...hunk.lines].join('\\n'),\n }\n}\n\n/**\n * Name a comment's side and lines, such as `R12` or `L3–5`.\n * @param comment - the commented range.\n * @returns the range label shown beside comments and in composer quotes.\n */\nexport function reviewRange(comment: ReviewComment): string {\n return `${comment.side}${comment.startLine}${comment.endLine === comment.startLine ? '' : `–${comment.endLine}`}`\n}\n\n/**\n * Describe a composer quote of a comment by its file, range, and text instead of the whole message reference.\n * @param comment - the quoted comment.\n * @returns the composer's display of the quote.\n */\nexport function reviewQuoteSummary(comment: ReviewComment): QuoteSummary {\n const range = reviewRange(comment)\n return { label: `${comment.path.slice(comment.path.lastIndexOf('/') + 1)} ${range}`, title: comment.path, detail: range, body: comment.body }\n}\n\n/**\n * Format a frozen reference for the ordinary, logged user message.\n * @param selection - source, range, displayed patch, and user comment.\n * @param index - one-based reference number in the composer.\n * @returns Markdown content for an atomic composer quote.\n */\nexport function formatReviewComment(selection: ReviewSelection, index: number): string {\n const { source, comment } = selection\n const range = comment.startLine === comment.endLine ? String(comment.startLine) : `${comment.startLine}-${comment.endLine}`\n // A longer fence keeps code containing Markdown fences inside the quoted hunk.\n const fence = '`'.repeat(Math.max(3, ...Array.from(comment.hunk.matchAll(/`+/g), match => match[0].length + 1)))\n const commits = source.commits === null ? ''\n : `\\nCommits: ${source.commits.from === source.commits.to ? source.commits.from : `${source.commits.from}^..${source.commits.to}`}`\n const origin = source.kind === 'change' ? `Source: ${source.url}\\nCommit: ${source.headSha}${commits}`\n : `Source: Local (${source.scope})${source.base === null ? '' : `\\nBase: ${source.base}`}${commits}`\n return `## User Comment ${index}\\nFile: ${comment.path}\\nSide: ${comment.side}\\nLines: ${range}\\n${origin}\\nDiff hunk:\\n${fence}diff\\n${comment.hunk}\\n${fence}\\nComment:\\n${comment.body}`\n}\n\n/**\n * Check whether the current diff still contains the captured range and hunk.\n * @param selection - saved comment source and patch.\n * @param source - currently displayed review source.\n * @param file - current diff file.\n * @returns whether an inline record can retain its original line placement.\n */\nexport function reviewMatches(selection: ReviewSelection, source: ReviewSource, file: ForgeDiffFile): boolean {\n if (selection.source.kind === 'change' && (source.kind !== 'change' || source.headSha !== selection.source.headSha)) return false\n const comment = selection.comment\n return selectReviewLines(file, comment.side, comment.startLine, comment.endLine)?.hunk === comment.hunk\n}\n","//#region lib/types/partial-json.js\n/**\n* Lazily scanned view of one JSON object's top-level fields, built from text\n* that may still be streaming or from an already parsed object. Nothing is\n* scanned until a reader asks; the view remembers every question it answered\n* and reports changed answers when the owner refreshes for publication.\n* Used for model tool-call arguments: a row reads the fields it\n* cares about at whatever granularity it displays, at every stage of the call.\n* @module @deepseek-ai/dsh-util-values/src/partial-json\n*/\nconst SIMPLE_ESCAPES = {\n\t\"\\\"\": \"\\\"\",\n\t\"\\\\\": \"\\\\\",\n\t\"/\": \"/\",\n\tb: \"\\b\",\n\tf: \"\\f\",\n\tn: \"\\n\",\n\tr: \"\\r\",\n\tt: \"\t\"\n};\nconst CONTENT_ESCAPE = /[\\\\\\u0000-\\u001f]/u;\nfunction isWhitespace(c) {\n\treturn c === \" \" || c === \"\\n\" || c === \"\\r\" || c === \"\t\";\n}\nfunction isHex(c) {\n\treturn c >= \"0\" && c <= \"9\" || c >= \"a\" && c <= \"f\" || c >= \"A\" && c <= \"F\";\n}\n/**\n* The view. A streaming instance grows through {@link PartialArguments.append};\n* {@link PartialArguments.fromText} and {@link PartialArguments.fromObject} build\n* sealed instances over a finished call. Every reader is total: an absent or\n* differently typed field answers `undefined` (or `false`), never throws.\n*/\nvar PartialArguments = class PartialArguments {\n\t/** The view of a call with no arguments available. */\n\tstatic EMPTY = PartialArguments.fromObject({});\n\t/**\n\t* View finished argument text without scanning it until a reader asks.\n\t* @param text - the complete argument JSON text.\n\t* @returns a sealed view.\n\t*/\n\tstatic fromText(text) {\n\t\tconst view = new PartialArguments();\n\t\tview.append(text);\n\t\tview.sealed = true;\n\t\treturn view;\n\t}\n\t/**\n\t* View an already parsed argument payload, such as a PTC dispatch object.\n\t* @param value - the parsed argument value.\n\t* @returns a sealed view; a non-object payload has no fields.\n\t*/\n\tstatic fromObject(value) {\n\t\tconst view = new PartialArguments();\n\t\tview.object = typeof value === \"object\" && value !== null && !Array.isArray(value) ? value : {};\n\t\tview.sealed = true;\n\t\treturn view;\n\t}\n\t/**\n\t* The source: text so far or a parsed object, plus whether it can still grow.\n\t* These are the only enumerable fields, so two views over the same source\n\t* compare equal structurally however far each has been read.\n\t*/\n\tchunks = [];\n\tobject;\n\tsealed = false;\n\t#ends = [];\n\t#size = 0;\n\t#consumed = 0;\n\t#mode = \"root\";\n\t#escape = false;\n\t#keyStart = 0;\n\t#keyEscaped = false;\n\t#key = \"\";\n\t#current = null;\n\t#nestedEnds = [];\n\t#nestedInString = false;\n\t#invalidAt;\n\t#invalidValue = false;\n\t#entries = /* @__PURE__ */ new Map();\n\t#order = [];\n\t#reads = /* @__PURE__ */ new Map();\n\t/** Whether this view rejects further appends; does not scan text or register reads. */\n\tget isSealed() {\n\t\treturn this.sealed;\n\t}\n\t/** Whether indexing or a content read found invalid JSON; unread value contents are not validated. */\n\tget invalid() {\n\t\tthis.scan();\n\t\treturn this.#mode === \"invalid\" || this.#invalidValue;\n\t}\n\t/**\n\t* Retain streamed argument text without scanning or comparing observed answers.\n\t* @param fragment - the text following every fragment appended before.\n\t*/\n\tappend(fragment) {\n\t\tif (this.sealed) throw new Error(\"PartialArguments: cannot append to a sealed view\");\n\t\tif (fragment.length === 0) return;\n\t\tthis.chunks.push(fragment);\n\t\tthis.#size += fragment.length;\n\t\tthis.#ends.push(this.#size);\n\t}\n\t/**\n\t* Reconcile a streamed prefix with authoritative complete text without joining the fragments.\n\t* @param text - the final argument text, which replaces missing or conflicting deltas.\n\t* @returns this view sealed with its caches retained when every character matches; otherwise a new sealed view.\n\t*/\n\tsettle(text) {\n\t\tif (this.object !== void 0 || text.length !== this.#size) return PartialArguments.fromText(text);\n\t\tlet offset = 0;\n\t\tfor (const chunk of this.chunks) {\n\t\t\tif (!text.startsWith(chunk, offset)) return PartialArguments.fromText(text);\n\t\t\toffset += chunk.length;\n\t\t}\n\t\tthis.chunks = text.length === 0 ? [] : [text];\n\t\tthis.#ends = text.length === 0 ? [] : [text.length];\n\t\tthis.sealed = true;\n\t\treturn this;\n\t}\n\t/**\n\t* Compare observed answers and advance their publication baseline. Unread views remain unscanned.\n\t* @returns whether any observed answer changed since its first read or the preceding refresh.\n\t*/\n\trefresh() {\n\t\tif (this.#reads.size === 0) return false;\n\t\tthis.scan();\n\t\tlet changed = false;\n\t\tlet completions = false;\n\t\tfor (const read of this.#reads.values()) {\n\t\t\tif (read.completion) {\n\t\t\t\tcompletions = true;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tchanged = this.refreshRead(read) || changed;\n\t\t}\n\t\tif (completions) {\n\t\t\tfor (const read of this.#reads.values()) if (read.completion) changed = this.refreshRead(read) || changed;\n\t\t}\n\t\tif (this.sealed) this.#reads.clear();\n\t\treturn changed;\n\t}\n\trefreshRead(read) {\n\t\tconst now = read.answer();\n\t\tif (Object.is(now, read.last)) return false;\n\t\tread.last = now;\n\t\treturn true;\n\t}\n\t/**\n\t* Check whether no further fields can arrive.\n\t* @returns whether the outer object closed, indexing failed, or the view is sealed; unread values are not validated.\n\t*/\n\tclosed() {\n\t\treturn this.remember(\"closed\", \"\", () => this.closedNow());\n\t}\n\t/**\n\t* List discovered fields in first-appearance order.\n\t* @returns top-level keys seen so far, in first-appearance order.\n\t*/\n\tkeys() {\n\t\treturn this.remember(\"keys\", \"\", () => this.keysNow(), (keys) => keys.length);\n\t}\n\t/**\n\t* Check whether a top-level field has appeared.\n\t* @param key - argument name.\n\t* @returns whether the field has appeared (a string opened or another value began).\n\t*/\n\thas(key) {\n\t\treturn this.remember(\"has\", key, () => this.hasNow(key));\n\t}\n\t/**\n\t* Check whether a field's closing delimiter has arrived, without validating its contents.\n\t* @param key - argument name.\n\t* @returns whether its delimiter arrived and no content reader has reported an error for this value.\n\t*/\n\tcomplete(key) {\n\t\treturn this.remember(\"complete\", key, () => this.completeNow(key));\n\t}\n\t/**\n\t* Read string length without materializing its text.\n\t* @param key - argument name.\n\t* @param options - change granularity for a streaming string.\n\t* @returns decoded UTF-16 length of the string field so far; undefined when absent or not a string.\n\t*/\n\tstringLength(key, options) {\n\t\tconst step = Math.max(1, Math.floor(options?.step ?? 1));\n\t\tconst offset = options?.offset ?? 0;\n\t\treturn this.remember(`length:${step}:${offset}`, key, () => this.lengthNow(key), (length) => length === void 0 ? void 0 : Math.ceil((length + offset) / step));\n\t}\n\t/**\n\t* Check a string against a decoded UTF-16 length limit without materializing it.\n\t* @param key - argument name.\n\t* @param maxLength - decoded UTF-16 limit, floored to at least zero.\n\t* @returns whether the string is longer than the limit; false when absent or not a string.\n\t*/\n\tstringExceeds(key, maxLength) {\n\t\tconst limit = Math.max(0, Math.floor(maxLength));\n\t\treturn this.remember(`exceeds:${limit}`, key, () => (this.lengthNow(key, limit + 1) ?? 0) > limit);\n\t}\n\t/**\n\t* Read a decoded string, including a streaming prefix.\n\t* @param key - argument name.\n\t* @returns the string field's decoded text so far; undefined when absent or not a string.\n\t*/\n\ttext(key) {\n\t\treturn this.remember(\"text\", key, () => this.textNow(key));\n\t}\n\t/**\n\t* Read at most the first decoded UTF-16 units of a string.\n\t* @param key - argument name.\n\t* @param maxLength - maximum decoded UTF-16 length, floored to at least one.\n\t* @returns the bounded string prefix; undefined when absent or not a string.\n\t*/\n\ttextPrefix(key, maxLength) {\n\t\tconst limit = Math.max(1, Math.floor(maxLength));\n\t\treturn this.remember(`prefix:${limit}`, key, () => this.textPrefixNow(key, limit));\n\t}\n\t/**\n\t* Read a completed non-string argument.\n\t* @param key - argument name.\n\t* @returns the parsed non-string value once it closed; undefined while open, absent, or a string.\n\t*/\n\tvalue(key) {\n\t\treturn this.remember(\"value\", key, () => this.valueNow(key));\n\t}\n\t/** Answer a question and, on a streaming view, remember it for change detection. */\n\tremember(kind, key, read, comparison) {\n\t\tthis.scan();\n\t\tconst result = read();\n\t\tif (!this.sealed) {\n\t\t\tconst id = `${kind}/${key}`;\n\t\t\tif (!this.#reads.has(id)) this.#reads.set(id, {\n\t\t\t\tcompletion: kind === \"complete\",\n\t\t\t\tanswer: comparison === void 0 ? read : () => comparison(read()),\n\t\t\t\tlast: comparison === void 0 ? result : comparison(result)\n\t\t\t});\n\t\t}\n\t\treturn result;\n\t}\n\tclosedNow() {\n\t\treturn this.sealed || this.#mode === \"closed\" || this.#mode === \"invalid\";\n\t}\n\tkeysNow() {\n\t\treturn this.object === void 0 ? this.#order : Object.keys(this.object);\n\t}\n\thasNow(key) {\n\t\treturn this.object === void 0 ? this.#entries.has(key) : Object.hasOwn(this.object, key);\n\t}\n\tcompleteNow(key) {\n\t\tif (this.object !== void 0) return Object.hasOwn(this.object, key);\n\t\tconst entry = this.#entries.get(key);\n\t\treturn entry !== void 0 && entry.end >= 0 && (entry.kind === \"string\" ? entry.invalidAt === void 0 : !entry.invalid);\n\t}\n\tlengthNow(key, limit = Number.POSITIVE_INFINITY) {\n\t\tif (this.object !== void 0) {\n\t\t\tconst field = Object.hasOwn(this.object, key) ? this.object[key] : void 0;\n\t\t\treturn typeof field === \"string\" ? field.length : void 0;\n\t\t}\n\t\tconst entry = this.#entries.get(key);\n\t\tif (entry?.kind !== \"string\") return void 0;\n\t\tif (entry.text !== void 0 && entry.text.at === entry.end) return entry.text.length;\n\t\tconst read = entry.length ??= {\n\t\t\tat: entry.start,\n\t\t\tlength: 0,\n\t\t\ttext: \"\"\n\t\t};\n\t\tthis.readString(entry, read, limit, false);\n\t\treturn read.length;\n\t}\n\ttextNow(key) {\n\t\tif (this.object !== void 0) {\n\t\t\tconst field = Object.hasOwn(this.object, key) ? this.object[key] : void 0;\n\t\t\treturn typeof field === \"string\" ? field : void 0;\n\t\t}\n\t\tconst entry = this.#entries.get(key);\n\t\tif (entry?.kind !== \"string\") return void 0;\n\t\tif (entry.text === void 0 && entry.end >= 0 && entry.needsDecoding && entry.invalidAt === void 0) {\n\t\t\tlet text;\n\t\t\ttry {\n\t\t\t\ttext = JSON.parse(`\"${this.slice(entry.start, entry.end)}\"`);\n\t\t\t} catch (_error) {}\n\t\t\tif (text !== void 0) entry.text = {\n\t\t\t\tat: entry.end,\n\t\t\t\tlength: text.length,\n\t\t\t\ttext\n\t\t\t};\n\t\t}\n\t\tconst read = entry.text ??= {\n\t\t\tat: entry.start,\n\t\t\tlength: 0,\n\t\t\ttext: \"\"\n\t\t};\n\t\tthis.readString(entry, read, Number.POSITIVE_INFINITY, true);\n\t\treturn read.text;\n\t}\n\ttextPrefixNow(key, maxLength) {\n\t\tif (this.object !== void 0) {\n\t\t\tconst field = Object.hasOwn(this.object, key) ? this.object[key] : void 0;\n\t\t\treturn typeof field === \"string\" ? field.slice(0, maxLength) : void 0;\n\t\t}\n\t\tconst entry = this.#entries.get(key);\n\t\tif (entry?.kind !== \"string\") return void 0;\n\t\tconst prefixes = entry.prefixes ??= /* @__PURE__ */ new Map();\n\t\tlet read = prefixes.get(maxLength);\n\t\tif (read === void 0) {\n\t\t\tread = {\n\t\t\t\tat: entry.start,\n\t\t\t\tlength: 0,\n\t\t\t\ttext: \"\"\n\t\t\t};\n\t\t\tprefixes.set(maxLength, read);\n\t\t}\n\t\tthis.readString(entry, read, maxLength, true);\n\t\treturn read.text;\n\t}\n\tvalueNow(key) {\n\t\tif (this.object !== void 0) {\n\t\t\tif (!Object.hasOwn(this.object, key)) return void 0;\n\t\t\tconst field = this.object[key];\n\t\t\treturn typeof field === \"string\" ? void 0 : field;\n\t\t}\n\t\tconst entry = this.#entries.get(key);\n\t\tif (entry?.kind !== \"value\" || entry.end < 0 || entry.invalid) return void 0;\n\t\tif (entry.parsed === void 0) try {\n\t\t\tentry.parsed = JSON.parse(this.slice(entry.start, entry.end));\n\t\t} catch (_error) {\n\t\t\tentry.invalid = true;\n\t\t\tthis.#invalidValue = true;\n\t\t}\n\t\treturn entry.parsed;\n\t}\n\tchunkAt(at) {\n\t\tlet low = 0;\n\t\tlet high = this.#ends.length;\n\t\twhile (low < high) {\n\t\t\tconst mid = low + high >>> 1;\n\t\t\tif (this.#ends[mid] <= at) low = mid + 1;\n\t\t\telse high = mid;\n\t\t}\n\t\treturn low;\n\t}\n\t/** Materialize only a requested range, never the cumulative source. */\n\tslice(start, end) {\n\t\tif (start >= end) return \"\";\n\t\tconst first = this.chunkAt(start);\n\t\tconst last = this.chunkAt(end - 1);\n\t\tconst base = first === 0 ? 0 : this.#ends[first - 1];\n\t\tif (first === last) return this.chunks[first].slice(start - base, end - base);\n\t\tconst parts = [this.chunks[first].slice(start - base)];\n\t\tfor (let i = first + 1; i < last; i++) parts.push(this.chunks[i]);\n\t\tparts.push(this.chunks[last].slice(0, end - this.#ends[last - 1]));\n\t\treturn parts.join(\"\");\n\t}\n\treadString(entry, read, limit, materialize) {\n\t\tconst end = Math.min(entry.end < 0 ? this.#consumed : entry.end, entry.invalidAt ?? Number.POSITIVE_INFINITY, this.#invalidAt ?? Number.POSITIVE_INFINITY);\n\t\tif (!entry.needsDecoding) {\n\t\t\tconst length = Math.min(end - read.at, limit - read.length);\n\t\t\tif (length <= 0) return;\n\t\t\tif (materialize) read.text += this.slice(read.at, read.at + length);\n\t\t\tread.at += length;\n\t\t\tread.length += length;\n\t\t\treturn;\n\t\t}\n\t\tlet chunkIndex = this.chunkAt(read.at);\n\t\twhile (read.at < end && read.length < limit) {\n\t\t\tconst base = chunkIndex === 0 ? 0 : this.#ends[chunkIndex - 1];\n\t\t\tconst chunk = this.chunks[chunkIndex];\n\t\t\tconst remaining = chunk.slice(read.at - base, Math.min(chunk.length, end - base));\n\t\t\tconst boundary = remaining.search(CONTENT_ESCAPE);\n\t\t\tconst length = Math.min(boundary < 0 ? remaining.length : boundary, limit - read.length);\n\t\t\tif (length > 0) {\n\t\t\t\tif (materialize) read.text += remaining.slice(0, length);\n\t\t\t\tread.at += length;\n\t\t\t\tread.length += length;\n\t\t\t\tif (read.at === base + chunk.length) chunkIndex++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tconst type = remaining.length > 1 ? remaining[1] : read.at + 1 < end ? this.chunks[chunkIndex + 1][0] : void 0;\n\t\t\tlet decoded;\n\t\t\tlet width = 2;\n\t\t\tif (remaining[0] === \"\\\\\" && type === void 0 && entry.end < 0) return;\n\t\t\tif (remaining[0] === \"\\\\\" && type === \"u\") {\n\t\t\t\tconst hex = this.slice(read.at + 2, Math.min(end, read.at + 6));\n\t\t\t\tlet valid = true;\n\t\t\t\tfor (let i = 0; i < hex.length; i++) if (!isHex(hex[i])) valid = false;\n\t\t\t\tif (valid) {\n\t\t\t\t\tif (hex.length < 4 && entry.end < 0) return;\n\t\t\t\t\tif (hex.length === 4) decoded = String.fromCharCode(Number.parseInt(hex, 16));\n\t\t\t\t}\n\t\t\t\twidth = 6;\n\t\t\t} else if (remaining[0] === \"\\\\\" && type !== void 0) decoded = SIMPLE_ESCAPES[type];\n\t\t\tif (decoded === void 0) {\n\t\t\t\tentry.invalidAt = read.at;\n\t\t\t\tthis.#invalidValue = true;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (materialize) read.text += decoded;\n\t\t\tread.length++;\n\t\t\tread.at += width;\n\t\t\twhile (chunkIndex < this.chunks.length && read.at >= this.#ends[chunkIndex]) chunkIndex++;\n\t\t}\n\t}\n\t/** Locate new field ranges without decoding or parsing their contents. */\n\tscan() {\n\t\tif (this.object !== void 0 || this.#consumed === this.#size) return;\n\t\tfor (let i = this.chunkAt(this.#consumed); i < this.chunks.length && this.#invalidAt === void 0; i++) {\n\t\t\tconst pending = this.chunks[i];\n\t\t\tconst base = i === 0 ? 0 : this.#ends[i - 1];\n\t\t\tfor (let index = this.#consumed - base; index < pending.length && this.#mode !== \"invalid\"; index++) {\n\t\t\t\tif (this.#mode === \"string\" || this.#mode === \"nested\" && this.#nestedInString) {\n\t\t\t\t\tconst end = this.stringBoundary(pending, index);\n\t\t\t\t\tthis.#consumed += end - index;\n\t\t\t\t\tindex = end;\n\t\t\t\t\tif (index === pending.length) break;\n\t\t\t\t}\n\t\t\t\tthis.step(pending[index], this.#consumed);\n\t\t\t\tthis.#consumed++;\n\t\t\t}\n\t\t}\n\t}\n\t/** Only raw quotes and their preceding backslash runs can terminate a string. */\n\tstringBoundary(fragment, start) {\n\t\tlet at = start;\n\t\twhile (true) {\n\t\t\tconst quote = fragment.indexOf(\"\\\"\", at);\n\t\t\tconst end = quote < 0 ? fragment.length : quote;\n\t\t\tif (this.#mode === \"string\") {\n\t\t\t\tconst entry = this.#current;\n\t\t\t\tif (!entry.needsDecoding && CONTENT_ESCAPE.test(fragment.slice(at, end))) entry.needsDecoding = true;\n\t\t\t}\n\t\t\tlet slashStart = end;\n\t\t\twhile (slashStart > at && fragment[slashStart - 1] === \"\\\\\") slashStart--;\n\t\t\tconst escaped = (end - slashStart) % 2 === 1 !== (slashStart === at && this.#escape);\n\t\t\tthis.#escape = quote < 0 && escaped;\n\t\t\tif (quote < 0 || !escaped) return end;\n\t\t\tat = quote + 1;\n\t\t}\n\t}\n\tstep(c, at) {\n\t\tswitch (this.#mode) {\n\t\t\tcase \"root\":\n\t\t\t\tif (isWhitespace(c)) return;\n\t\t\t\tif (c === \"{\") {\n\t\t\t\t\tthis.#mode = \"key-or-end\";\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.fail();\n\t\t\t\treturn;\n\t\t\tcase \"key-or-end\":\n\t\t\t\tif (isWhitespace(c)) return;\n\t\t\t\tif (c === \"}\") {\n\t\t\t\t\tthis.#mode = \"closed\";\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (c === \"\\\"\") {\n\t\t\t\t\tthis.beginKey(at);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.fail();\n\t\t\t\treturn;\n\t\t\tcase \"key-only\":\n\t\t\t\tif (isWhitespace(c)) return;\n\t\t\t\tif (c === \"\\\"\") {\n\t\t\t\t\tthis.beginKey(at);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.fail();\n\t\t\t\treturn;\n\t\t\tcase \"key\":\n\t\t\t\tthis.stepKey(c, at);\n\t\t\t\treturn;\n\t\t\tcase \"colon\":\n\t\t\t\tif (isWhitespace(c)) return;\n\t\t\t\tif (c === \":\") {\n\t\t\t\t\tthis.#mode = \"value\";\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.fail();\n\t\t\t\treturn;\n\t\t\tcase \"value\":\n\t\t\t\tthis.beginValue(c, at);\n\t\t\t\treturn;\n\t\t\tcase \"string\": {\n\t\t\t\tconst entry = this.#current;\n\t\t\t\tentry.end = at;\n\t\t\t\tthis.#current = null;\n\t\t\t\tthis.#mode = \"comma-or-end\";\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcase \"scalar\":\n\t\t\t\tthis.stepScalar(c, at);\n\t\t\t\treturn;\n\t\t\tcase \"nested\":\n\t\t\t\tthis.stepNested(c, at);\n\t\t\t\treturn;\n\t\t\tcase \"comma-or-end\":\n\t\t\t\tif (isWhitespace(c)) return;\n\t\t\t\tif (c === \",\") {\n\t\t\t\t\tthis.#mode = \"key-only\";\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (c === \"}\") {\n\t\t\t\t\tthis.#mode = \"closed\";\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.fail();\n\t\t\t\treturn;\n\t\t\tcase \"closed\":\n\t\t\t\tif (isWhitespace(c)) return;\n\t\t\t\tthis.fail();\n\t\t\t\treturn;\n\t\t\t/* v8 ignore next 2 -- scan() stops stepping once the view is invalid. */\n\t\t\tcase \"invalid\": return;\n\t\t\t/* v8 ignore next 2 -- Every scanner mode has a handler above. */\n\t\t\tdefault: assertNever(this.#mode);\n\t\t}\n\t}\n\tfail() {\n\t\tthis.#invalidAt = this.#consumed;\n\t\tthis.#mode = \"invalid\";\n\t\tthis.#current = null;\n\t}\n\tbeginKey(at) {\n\t\tthis.#mode = \"key\";\n\t\tthis.#keyStart = at + 1;\n\t\tthis.#keyEscaped = false;\n\t\tthis.#escape = false;\n\t}\n\tstepKey(c, at) {\n\t\tif (c < \" \") {\n\t\t\tthis.fail();\n\t\t\treturn;\n\t\t}\n\t\tif (this.#escape) {\n\t\t\tthis.#escape = false;\n\t\t\treturn;\n\t\t}\n\t\tif (c === \"\\\\\") {\n\t\t\tthis.#escape = true;\n\t\t\tthis.#keyEscaped = true;\n\t\t\treturn;\n\t\t}\n\t\tif (c !== \"\\\"\") return;\n\t\tconst raw = this.slice(this.#keyStart, at);\n\t\tif (this.#keyEscaped) try {\n\t\t\tthis.#key = JSON.parse(`\"${raw}\"`);\n\t\t} catch (_error) {\n\t\t\tthis.fail();\n\t\t\treturn;\n\t\t}\n\t\telse this.#key = raw;\n\t\tthis.#mode = \"colon\";\n\t}\n\topen(entry) {\n\t\tif (!this.#entries.has(this.#key)) this.#order.push(this.#key);\n\t\tthis.#entries.set(this.#key, entry);\n\t\tthis.#current = entry;\n\t}\n\tbeginValue(c, at) {\n\t\tif (isWhitespace(c)) return;\n\t\tif (c === \"\\\"\") {\n\t\t\tthis.open({\n\t\t\t\tkind: \"string\",\n\t\t\t\tstart: at + 1,\n\t\t\t\tend: -1,\n\t\t\t\tneedsDecoding: false,\n\t\t\t\tinvalidAt: void 0,\n\t\t\t\tlength: void 0,\n\t\t\t\ttext: void 0,\n\t\t\t\tprefixes: void 0\n\t\t\t});\n\t\t\tthis.#escape = false;\n\t\t\tthis.#mode = \"string\";\n\t\t\treturn;\n\t\t}\n\t\tif (c === \"}\" || c === \",\" || c === \":\" || c === \"]\") {\n\t\t\tthis.fail();\n\t\t\treturn;\n\t\t}\n\t\tthis.open({\n\t\t\tkind: \"value\",\n\t\t\tstart: at,\n\t\t\tend: -1,\n\t\t\tparsed: void 0,\n\t\t\tinvalid: false\n\t\t});\n\t\tif (c === \"{\" || c === \"[\") {\n\t\t\tthis.#mode = \"nested\";\n\t\t\tthis.#nestedEnds = [c === \"{\" ? \"}\" : \"]\"];\n\t\t\tthis.#nestedInString = false;\n\t\t\tthis.#escape = false;\n\t\t\treturn;\n\t\t}\n\t\tthis.#mode = \"scalar\";\n\t}\n\tstepScalar(c, at) {\n\t\tif (c !== \",\" && c !== \"}\" && !isWhitespace(c)) return;\n\t\tthis.closeValue(at);\n\t\tthis.#mode = c === \",\" ? \"key-only\" : c === \"}\" ? \"closed\" : \"comma-or-end\";\n\t}\n\tstepNested(c, at) {\n\t\tif (this.#nestedInString) {\n\t\t\tthis.#nestedInString = false;\n\t\t\treturn;\n\t\t}\n\t\tif (c === \"\\\"\") {\n\t\t\tthis.#nestedInString = true;\n\t\t\treturn;\n\t\t}\n\t\tif (c === \"{\" || c === \"[\") {\n\t\t\tthis.#nestedEnds.push(c === \"{\" ? \"}\" : \"]\");\n\t\t\treturn;\n\t\t}\n\t\tif (c === \"}\" || c === \"]\") {\n\t\t\tif (this.#nestedEnds.pop() !== c) {\n\t\t\t\tthis.fail();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (this.#nestedEnds.length === 0) {\n\t\t\t\tthis.closeValue(at + 1);\n\t\t\t\tthis.#mode = \"comma-or-end\";\n\t\t\t}\n\t\t}\n\t}\n\tcloseValue(end) {\n\t\tconst entry = this.#current;\n\t\tentry.end = end;\n\t\tthis.#current = null;\n\t}\n};\n//#endregion\n//#region lib/types/index.js\n/** Duplicate-install-safe JSON and immutable-value helpers. @module @deepseek-ai/dsh-util-values */\n/**\n* Mark an unreachable closed-union branch.\n* @param value - impossible value; an unhandled typed variant fails at the call site.\n* @param context - optional switch-site label included in the failure message.\n* @returns never; a runtime value that escaped its type always throws.\n*/\nfunction assertNever(value, context) {\n\tconst rendered = JSON.stringify(value) ?? String(value);\n\tthrow new Error(`unreachable variant${context ? ` in ${context}` : \"\"}: ${rendered}`);\n}\n/** Whether a realm-owned intrinsic prototype has a native constructor matching this engine's representation. */\nfunction hasIntrinsicConstructor(prototype, name) {\n\tconst constructor = Object.getOwnPropertyDescriptor(prototype, \"constructor\")?.value;\n\tif (typeof constructor !== \"function\") return false;\n\ttry {\n\t\treturn constructor.name === name && constructor.prototype === prototype && Function.prototype.toString.call(constructor) === Function.prototype.toString.call(name === \"Array\" ? Array : Object);\n\t} catch {\n\t\treturn false;\n\t}\n}\n/** Whether a candidate is one realm's intrinsic `Object.prototype`. */\nfunction isIntrinsicObjectPrototype(value) {\n\treturn Object.getPrototypeOf(value) === null && hasIntrinsicConstructor(value, \"Object\");\n}\n/** Whether an array uses one realm's intrinsic `Array.prototype`, not a subclass or forged prototype. */\nfunction hasPlainArrayPrototype(value) {\n\tconst prototype = Object.getPrototypeOf(value);\n\tif (!Array.isArray(prototype) || !hasIntrinsicConstructor(prototype, \"Array\")) return false;\n\tconst objectPrototype = Object.getPrototypeOf(prototype);\n\treturn typeof objectPrototype === \"object\" && objectPrototype !== null && isIntrinsicObjectPrototype(objectPrototype);\n}\n/** Whether an object is a plain or null-prototype record from any JavaScript realm. */\nfunction hasPlainObjectPrototype(value) {\n\tconst prototype = Object.getPrototypeOf(value);\n\treturn prototype === null || typeof prototype === \"object\" && isIntrinsicObjectPrototype(prototype);\n}\n/** Return every JSON-visible object key, or reject own data JSON would discard. */\nfunction enumerableStringKeys(value) {\n\tconst keys = Reflect.ownKeys(value);\n\tif (keys.some((key) => typeof key !== \"string\" || !Object.prototype.propertyIsEnumerable.call(value, key))) return void 0;\n\treturn keys;\n}\n/** Validate lossless JSON iteratively, optionally materializing a detached snapshot. */\nfunction walkJsonValue(value, detach) {\n\tconst ancestors = /* @__PURE__ */ new Set();\n\tlet root;\n\tlet parent;\n\tconst assign = (item) => {\n\t\tif (parent === void 0) {\n\t\t\tif (detach) root = item;\n\t\t} else if (parent.kind === \"array\") {\n\t\t\tif (parent.target !== void 0) parent.target[parent.key] = item;\n\t\t} else if (parent.target !== void 0) Object.defineProperty(parent.target, parent.key, {\n\t\t\tvalue: item,\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\twritable: true\n\t\t});\n\t};\n\tconst frames = [];\n\tlet current = value;\n\tfor (;;) {\n\t\tif (current === null) assign(null);\n\t\telse if (typeof current === \"boolean\" || typeof current === \"string\") assign(current);\n\t\telse if (typeof current === \"number\") {\n\t\t\tif (!Number.isFinite(current) || Object.is(current, -0)) return void 0;\n\t\t\tassign(current);\n\t\t} else {\n\t\t\tif (typeof current !== \"object\") return void 0;\n\t\t\tif (ancestors.has(current)) return void 0;\n\t\t\tif (Array.isArray(current)) {\n\t\t\t\tif (!hasPlainArrayPrototype(current)) return void 0;\n\t\t\t\tconst length = current.length;\n\t\t\t\tif (Reflect.ownKeys(current).length !== length + 1) return void 0;\n\t\t\t\tconst target = detach ? [] : void 0;\n\t\t\t\tif (target !== void 0) assign(target);\n\t\t\t\tlet indices;\n\t\t\t\tif (!Number.isInteger(length)) {\n\t\t\t\t\tindices = [];\n\t\t\t\t\tfor (let index = length - 1; index >= 0; index--) indices.push(index);\n\t\t\t\t}\n\t\t\t\tframes.push({\n\t\t\t\t\tkind: \"array\",\n\t\t\t\t\tsource: current,\n\t\t\t\t\tlength: indices?.length ?? length,\n\t\t\t\t\tindex: 0,\n\t\t\t\t\tkey: 0,\n\t\t\t\t\tindices,\n\t\t\t\t\ttarget\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (!hasPlainObjectPrototype(current)) return void 0;\n\t\t\t\tconst keys = enumerableStringKeys(current);\n\t\t\t\tif (keys === void 0) return void 0;\n\t\t\t\tconst target = detach ? {} : void 0;\n\t\t\t\tif (target !== void 0) assign(target);\n\t\t\t\tframes.push({\n\t\t\t\t\tkind: \"object\",\n\t\t\t\t\tsource: current,\n\t\t\t\t\tkeys,\n\t\t\t\t\tindex: 0,\n\t\t\t\t\tkey: \"\",\n\t\t\t\t\ttarget\n\t\t\t\t});\n\t\t\t}\n\t\t\tancestors.add(current);\n\t\t}\n\t\tfor (;;) {\n\t\t\tconst frame = frames.at(-1);\n\t\t\tif (frame === void 0) return detach ? root : true;\n\t\t\tconst length = frame.kind === \"array\" ? frame.length : frame.keys.length;\n\t\t\tif (frame.index >= length) {\n\t\t\t\tancestors.delete(frame.source);\n\t\t\t\tframes.pop();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tconst index = frame.index++;\n\t\t\tparent = frame;\n\t\t\tif (frame.kind === \"array\") {\n\t\t\t\tconst key = frame.indices === void 0 ? index : frame.indices[frame.indices.length - index - 1];\n\t\t\t\t/* v8 ignore next -- the loop is bounded by the captured index count. */\n\t\t\t\tif (key === void 0) return void 0;\n\t\t\t\tif (!Object.prototype.hasOwnProperty.call(frame.source, key)) return void 0;\n\t\t\t\tframe.key = key;\n\t\t\t\tcurrent = frame.source[key];\n\t\t\t} else {\n\t\t\t\tconst key = frame.keys[index];\n\t\t\t\t/* v8 ignore next -- the loop is bounded by the captured key count. */\n\t\t\t\tif (key === void 0) return void 0;\n\t\t\t\tframe.key = key;\n\t\t\t\tcurrent = frame.source[key];\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t}\n}\n/**\n* Validate and detach lossless JSON in one read per property.\n* @param value - candidate value to validate and detach.\n* @returns the detached snapshot, or `undefined` when the value is not losslessly JSON-serializable.\n*/\nfunction snapshotJsonValue(value) {\n\treturn walkJsonValue(value, true);\n}\n/**\n* Test the same lossless JSON rules as {@link snapshotJsonValue} without detaching the value.\n* @param value - candidate value to test.\n* @returns whether the value survives a JSON round trip without loss.\n*/\nfunction isJsonValue(value) {\n\treturn walkJsonValue(value, false) === true;\n}\n/**\n* Compare JSON-compatible values structurally.\n* @param a - one JSON-compatible value.\n* @param b - the other JSON-compatible value.\n* @returns whether both values contain the same JSON data.\n*/\nfunction deepEqualJson(a, b) {\n\tif (a === b) return true;\n\tif (typeof a !== \"object\" || typeof b !== \"object\" || a === null || b === null) return false;\n\tif (Array.isArray(a) || Array.isArray(b)) {\n\t\tif (!Array.isArray(a) || !Array.isArray(b) || a.length !== b.length) return false;\n\t\treturn a.every((entry, index) => deepEqualJson(entry, b[index]));\n\t}\n\tconst left = a;\n\tconst right = b;\n\tconst keys = Object.keys(left);\n\tif (keys.length !== Object.keys(right).length) return false;\n\treturn keys.every((key) => key in right && deepEqualJson(left[key], right[key]));\n}\n/**\n* Deep-freeze an object graph in place while leaving live AbortSignal objects mutable.\n* @param value - value to freeze.\n* @returns the same value after every reachable enumerable child is frozen.\n*/\nfunction deepFreeze(value) {\n\tconst seen = /* @__PURE__ */ new WeakSet();\n\tconst pending = [{\n\t\tkind: \"visit\",\n\t\tnode: value\n\t}];\n\twhile (pending.length > 0) {\n\t\tconst task = pending.pop();\n\t\t/* v8 ignore next -- the loop condition guarantees one pending task. */\n\t\tif (task === void 0) continue;\n\t\tif (task.kind === \"property\") {\n\t\t\tpending.push({\n\t\t\t\tkind: \"visit\",\n\t\t\t\tnode: task.source[task.key]\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tconst node = task.node;\n\t\tif (node === null || typeof node !== \"object\") continue;\n\t\tif (node instanceof AbortSignal) continue;\n\t\tif (seen.has(node)) continue;\n\t\tseen.add(node);\n\t\tObject.freeze(node);\n\t\tconst keys = Object.keys(node);\n\t\tfor (let index = keys.length - 1; index >= 0; index--) {\n\t\t\tconst key = keys[index];\n\t\t\t/* v8 ignore next -- the loop is bounded by the captured key count. */\n\t\t\tif (key === void 0) continue;\n\t\t\tpending.push({\n\t\t\t\tkind: \"property\",\n\t\t\t\tsource: node,\n\t\t\t\tkey\n\t\t\t});\n\t\t}\n\t}\n\treturn value;\n}\n/**\n* Weak-key lookup with a strongly retained iterable set of associated values.\n*\n* Each value must belong to only one key. The container performs no automatic\n* cleanup; owners delete associations or clear the container at lifecycle end.\n*/\nvar WeakMapWithValues = class {\n\tkeys = /* @__PURE__ */ new WeakMap();\n\tvalueSet = /* @__PURE__ */ new Set();\n\t/** Live strongly retained values in insertion order. */\n\tvalues = this.valueSet;\n\t/**\n\t* Read the value associated with a key.\n\t* @param key - weakly held lookup key.\n\t* @returns the associated value, or absence.\n\t*/\n\tget(key) {\n\t\treturn this.keys.get(key);\n\t}\n\t/**\n\t* Test whether a key has an association.\n\t* @param key - weakly held lookup key.\n\t* @returns whether the key is present.\n\t*/\n\thas(key) {\n\t\treturn this.keys.has(key);\n\t}\n\t/**\n\t* Associate one key with one caller-unique value.\n\t* @param key - weakly held lookup key.\n\t* @param value - strongly retained value that belongs to no other key.\n\t* @returns this container.\n\t*/\n\tset(key, value) {\n\t\tif (this.keys.has(key)) {\n\t\t\tconst previous = this.keys.get(key);\n\t\t\tif (previous === value) return this;\n\t\t\tthis.valueSet.delete(previous);\n\t\t}\n\t\tthis.keys.set(key, value);\n\t\tthis.valueSet.add(value);\n\t\treturn this;\n\t}\n\t/**\n\t* Remove one association and its strongly retained value.\n\t* @param key - weakly held lookup key.\n\t* @returns whether an association was removed.\n\t*/\n\tdelete(key) {\n\t\tif (!this.keys.has(key)) return false;\n\t\tconst value = this.keys.get(key);\n\t\tconst deleted = this.keys.delete(key);\n\t\tthis.valueSet.delete(value);\n\t\treturn deleted;\n\t}\n\t/** Remove every association and strongly retained value. */\n\tclear() {\n\t\tthis.keys = /* @__PURE__ */ new WeakMap();\n\t\tthis.valueSet.clear();\n\t}\n};\n//#endregion\nexport { PartialArguments, WeakMapWithValues, assertNever, deepEqualJson, deepFreeze, isJsonValue, snapshotJsonValue };\n","/**\n * Drawn rows of one file diff: numbered patch lines, their side-by-side\n * pairing, and the unchanged lines between hunks, which stay collapsed until\n * the file's new side supplies them.\n */\n\nimport type { ForgeDiffFile, ForgeDiffHunk } from '../types.ts'\n\n/** One drawn line with its number on each side that has it. */\nexport type DiffRow =\n | { readonly kind: 'add'; readonly old: null; readonly new: number; readonly text: string }\n | { readonly kind: 'del'; readonly old: number; readonly new: null; readonly text: string }\n | { readonly kind: 'context'; readonly old: number; readonly new: number; readonly text: string }\n\n/** One side of a side-by-side row. */\nexport interface SplitCell {\n readonly kind: DiffRow['kind']\n readonly no: number\n readonly text: string\n}\n\n/** One side-by-side row; a side without a line is null. */\nexport interface SplitRow {\n readonly left: SplitCell | null\n readonly right: SplitCell | null\n}\n\n/** A run of drawn rows, or unchanged lines drawn as one row that expands them. */\nexport type DiffSegment =\n | { readonly kind: 'rows'; readonly rows: readonly DiffRow[] }\n /**\n * `index` is the hunk the lines precede, or the hunk count for the lines after the last hunk;\n * `count` is null while the length of the file is unknown.\n */\n | { readonly kind: 'gap'; readonly index: number; readonly count: number | null }\n\n/** A line as drawn: without the carriage return of a CRLF line ending. */\nfunction drawn(text: string): string {\n return text.endsWith('\\r') ? text.slice(0, -1) : text\n}\n\n/**\n * Number the lines of a hunk. Context lines count on both sides, deletions on\n * the old side, and additions on the new side; a `\`\n * marker is not a line.\n * @param hunk - one hunk.\n * @returns the rows in patch order.\n */\nexport function hunkRows(hunk: ForgeDiffHunk): DiffRow[] {\n let oldNo = hunk.oldStart\n let newNo = hunk.newStart\n const rows: DiffRow[] = []\n for (const line of hunk.lines) {\n const sign = line.charAt(0)\n const text = drawn(line.slice(1))\n if (sign === '+') rows.push({ kind: 'add', old: null, new: newNo++, text })\n else if (sign === '-') rows.push({ kind: 'del', old: oldNo++, new: null, text })\n else if (sign !== '\\\\') rows.push({ kind: 'context', old: oldNo++, new: newNo++, text })\n }\n return rows\n}\n\n/**\n * Pair rows for the side-by-side view: each run of deletions sits beside the\n * run of additions that follows it, row by row, and context rows fill both sides.\n * @param rows - rows in patch order.\n * @returns the paired rows.\n */\nexport function splitRows(rows: readonly DiffRow[]): SplitRow[] {\n const paired: SplitRow[] = []\n let deleted: SplitCell[] = []\n let added: SplitCell[] = []\n const flush = (): void => {\n for (let at = 0; at < Math.max(deleted.length, added.length); at++) {\n paired.push({ left: deleted[at] ?? null, right: added[at] ?? null })\n }\n deleted = []\n added = []\n }\n for (const row of rows) {\n switch (row.kind) {\n case 'del':\n if (added.length > 0) flush()\n deleted.push({ kind: 'del', no: row.old, text: row.text })\n break\n case 'add':\n added.push({ kind: 'add', no: row.new, text: row.text })\n break\n case 'context':\n flush()\n paired.push({ left: { kind: 'context', no: row.old, text: row.text }, right: { kind: 'context', no: row.new, text: row.text } })\n break\n }\n }\n flush()\n return paired\n}\n\n/**\n * Split file text into lines as a patch numbers them; a final line ending ends the last line.\n * @param text - the file text.\n * @returns the lines with any carriage returns kept.\n */\nexport function textLines(text: string): string[] {\n const lines = text.split('\\n')\n if (lines.at(-1) === '') lines.pop()\n return lines\n}\n\n/**\n * Whether file text is the new side the hunks describe: every context and\n * added line sits at its number. A file changed after its diff was read fails.\n * @param lines - the file's lines.\n * @param hunks - hunks of the file's diff.\n * @returns whether the lines match.\n */\nexport function matchesHunks(lines: readonly string[], hunks: readonly ForgeDiffHunk[]): boolean {\n return hunks.every((hunk) => {\n let at = hunk.newStart - 1\n for (const line of hunk.lines) {\n const sign = line.charAt(0)\n if (sign === '-' || sign === '\\\\') continue\n if (lines[at] !== line.slice(1)) return false\n at++\n }\n return true\n })\n}\n\n/** Whether the hunk ends the new side: a missing-newline marker follows one of its new-side lines. */\nfunction endsNewSide(hunk: ForgeDiffHunk): boolean {\n let previous = '-'\n for (const line of hunk.lines) {\n if (line.startsWith('\\\\') && !previous.startsWith('-')) return true\n previous = line\n }\n return false\n}\n\n/**\n * Lay out one file as runs of rows separated by collapsed unchanged lines.\n * Unchanged lines before a hunk, between hunks, and after the last hunk\n * collapse into one gap each; an open gap draws its lines from `lines` once\n * they are known. The lines after the last hunk are unknown until `lines`\n * arrives, unless the file is new, deleted, or its last hunk reaches its end.\n * @param file - one file of a diff.\n * @param lines - the file's new side, which {@link matchesHunks} accepted, or undefined while it has not been read.\n * @param open - indexes of the gaps the user expanded.\n * @returns the segments in file order.\n */\nexport function segmentsOf(file: ForgeDiffFile, lines: readonly string[] | undefined, open: ReadonlySet<number>): DiffSegment[] {\n const segments: DiffSegment[] = []\n let rows: DiffRow[] = []\n const flush = (): void => {\n if (rows.length > 0) segments.push({ kind: 'rows', rows })\n rows = []\n }\n /** Unchanged new-side lines `from` to `to`, null while unknown, whose old numbers are `offset` higher. */\n const gap = (index: number, from: number, to: number | null, offset: number): void => {\n if (lines !== undefined && to !== null && open.has(index)) {\n for (const [at, text] of lines.slice(from - 1, to).entries()) {\n rows.push({ kind: 'context', old: from + at + offset, new: from + at, text: drawn(text) })\n }\n return\n }\n flush()\n segments.push({ kind: 'gap', index, count: to === null ? null : to - from + 1 })\n }\n let newEnd = 0\n let oldEnd = 0\n for (const [index, hunk] of file.hunks.entries()) {\n if (hunk.newStart - 1 > newEnd) gap(index, newEnd + 1, hunk.newStart - 1, hunk.oldStart - hunk.newStart)\n rows.push(...hunkRows(hunk))\n newEnd = hunk.newStart + hunk.newLines - 1\n oldEnd = hunk.oldStart + hunk.oldLines - 1\n }\n const last = file.hunks.at(-1)\n if (last !== undefined && file.status !== 'added' && file.status !== 'deleted' && !endsNewSide(last)) {\n if (lines === undefined) gap(file.hunks.length, newEnd + 1, null, oldEnd - newEnd)\n else if (lines.length > newEnd) gap(file.hunks.length, newEnd + 1, lines.length, oldEnd - newEnd)\n }\n flush()\n return segments\n}\n\n/**\n * Count the rows a file's hunks draw.\n * @param file - one file of a diff.\n * @returns the number of context, added, and deleted lines in its hunks.\n */\nexport function drawnLines(file: ForgeDiffFile): number {\n let count = 0\n for (const hunk of file.hunks) {\n for (const line of hunk.lines) {\n if (!line.startsWith('\\\\')) count++\n }\n }\n return count\n}\n","/**\n * Where the changes view shows each review thread of a change request, the order a file shows them in, which threads\n * each filter of the thread list keeps, and the composer quote of a whole thread.\n */\n\nimport type { QuoteSummary } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { ForgeAnchor, ForgeReviewThread } from '@deepseek-ai/dsh-experimental-forge/types'\nimport { assertNever } from '@deepseek-ai/dsh-util-values'\nimport type { ForgeCommitRange, ForgeDiffFile, ForgeDiffHunk } from '../types.ts'\nimport { hunkRows } from './diff-rows.ts'\n\n/** The changes a view shows, which decides where a thread can sit. */\nexport interface ThreadView {\n /** Head commit the threads were read at. */\n readonly head: string\n /** Commit the shown changes end at: the head, or the last chosen commit. */\n readonly end: string\n /** Chosen consecutive commits, or null for the whole change request. */\n readonly commits: ForgeCommitRange | null\n}\n\n/**\n * Where a thread shows in the changes view: on lines of one side, at the top of its file, in its file's outdated\n * section, or nowhere in the file because the chosen commits do not hold the lines it is on.\n */\nexport type ThreadPlace =\n | { readonly kind: 'line'; readonly side: 'L' | 'R'; readonly startLine: number; readonly endLine: number }\n | { readonly kind: 'file' }\n | { readonly kind: 'outdated' }\n | { readonly kind: 'elsewhere' }\n\n/** One filter of the thread list: the threads by whether they are resolved. */\nexport type ThreadFilter = 'unresolved' | 'resolved' | 'all'\n\n/** Filters of the thread list in display order. */\nexport const THREAD_FILTERS: readonly ThreadFilter[] = ['unresolved', 'resolved', 'all']\n\n/**\n * Place a thread in a view. The whole change request shows a thread at its position on the head. Chosen commits show\n * only a new-side thread whose lines number the file at the last chosen commit: its position on the head when the\n * commits end at the head, else the lines it was written on at that commit. The old side of chosen commits starts\n * at the parent of the first commit, which no thread position numbers.\n * @param thread - the thread.\n * @param view - the shown changes.\n * @returns where the thread shows.\n */\nexport function placeThread(thread: ForgeReviewThread, view: ThreadView): ThreadPlace {\n if (thread.subject === 'file') return { kind: 'file' }\n if (view.commits === null) return thread.current === null ? { kind: 'outdated' } : onLines(thread.side, thread.current)\n if (thread.side === 'R' && thread.current !== null && view.end === view.head) return onLines('R', thread.current)\n if (thread.side === 'R' && thread.original !== null && thread.original.commit === view.end) return onLines('R', thread.original)\n return thread.current === null ? { kind: 'outdated' } : { kind: 'elsewhere' }\n}\n\nfunction onLines(side: 'L' | 'R', anchor: ForgeAnchor): ThreadPlace {\n return { kind: 'line', side, startLine: anchor.startLine, endLine: anchor.endLine }\n}\n\n/**\n * Name a side and lines, such as `R12` or `L3–5`.\n * @param side - old or new side.\n * @param anchor - the lines.\n * @returns the range label.\n */\nexport function anchorRange(side: 'L' | 'R', anchor: Pick<ForgeAnchor, 'startLine' | 'endLine'>): string {\n return `${side}${anchor.startLine}${anchor.endLine === anchor.startLine ? '' : `–${anchor.endLine}`}`\n}\n\n/** Where a line of a diff file is: in the collapsed lines before a hunk or after the last one, or in a hunk. */\ntype LineSpot = { readonly kind: 'gap'; readonly index: number } | { readonly kind: 'hunk'; readonly index: number; readonly hunk: ForgeDiffHunk }\n\nfunction spotOf(file: ForgeDiffFile, side: 'L' | 'R', line: number): LineSpot {\n for (const [index, hunk] of file.hunks.entries()) {\n const start = side === 'L' ? hunk.oldStart : hunk.newStart\n const count = side === 'L' ? hunk.oldLines : hunk.newLines\n if (line < start) return { kind: 'gap', index }\n if (line < start + count) return { kind: 'hunk', index, hunk }\n }\n return { kind: 'gap', index: file.hunks.length }\n}\n\n/**\n * Find the collapsed unchanged lines that hold a line: the index of the hunk they precede, or the hunk count after the last hunk.\n * @param file - the diff file.\n * @param side - side the line numbers.\n * @param line - the line.\n * @returns the gap index, or undefined when a hunk shows the line.\n */\nexport function gapOf(file: ForgeDiffFile, side: 'L' | 'R', line: number): number | undefined {\n const spot = spotOf(file, side, line)\n return spot.kind === 'gap' ? spot.index : undefined\n}\n\n/**\n * Order a file's threads as its section shows them: threads on the whole file, then threads on lines by the row of their\n * last line, then outdated threads, then threads the chosen commits do not show. Threads on unchanged lines sort\n * by the collapsed lines that hold them.\n * @param items - threads of one file with their places.\n * @param file - the file's diff, or undefined when the shown changes lack the file.\n * @returns the threads in display order.\n */\nexport function inFileOrder<Item extends { readonly place: ThreadPlace }>(items: readonly Item[], file: ForgeDiffFile | undefined): Item[] {\n const rank = ({ place }: Item): readonly [number, number, number] => {\n switch (place.kind) {\n case 'file': return [0, 0, 0]\n case 'line': return [1, ...rowOf(file, place.side, place.endLine)]\n case 'outdated': return [2, 0, 0]\n case 'elsewhere': return [3, 0, 0]\n /* v8 ignore next -- closed ThreadPlace union exhaustiveness guard */\n default: return assertNever(place, 'ThreadPlace')\n }\n }\n const keyed = items.map(item => [rank(item), item] as const)\n return keyed.toSorted(([a], [b]) => a[0] - b[0] || a[1] - b[1] || a[2] - b[2]).map(([, item]) => item)\n}\n\n/**\n * Where a line draws: twice the index of the collapsed lines that hold it, or twice a hunk's index plus one with the\n * line's row in that hunk, so rows of one hunk keep their patch order across both sides.\n */\nfunction rowOf(file: ForgeDiffFile | undefined, side: 'L' | 'R', line: number): readonly [number, number] {\n if (file === undefined) return [0, line]\n const spot = spotOf(file, side, line)\n if (spot.kind === 'gap') return [2 * spot.index, line]\n return [2 * spot.index + 1, hunkRows(spot.hunk).findIndex(row => (side === 'L' ? row.old : row.new) === line)]\n}\n\n/**\n * Whether a thread passes a filter of the thread list.\n * @param thread - the thread.\n * @param filter - the filter.\n * @returns whether the list shows the thread.\n */\nexport function passesFilter(thread: ForgeReviewThread, filter: ThreadFilter): boolean {\n switch (filter) {\n case 'unresolved': return !thread.resolved\n case 'resolved': return thread.resolved\n case 'all': return true\n /* v8 ignore next -- closed ThreadFilter union exhaustiveness guard */\n default: return assertNever(filter, 'ThreadFilter')\n }\n}\n\n/** Lines of a recorded diff hunk shown before its last line, beside the lines the thread is on. */\nconst EXCERPT_CONTEXT = 3\n\n/**\n * Cut a recorded diff hunk to its header and the lines that end it: the thread's lines on its side plus a few before.\n * GitHub records the hunk up to the thread's last line.\n * @param hunk - the recorded hunk, header first.\n * @param side - side the thread's lines number.\n * @param lines - how many lines the thread covers.\n * @returns the header and the kept lines.\n */\nexport function hunkExcerpt(hunk: string, side: 'L' | 'R', lines: number): { readonly header: string | null; readonly lines: readonly string[] } {\n const header = hunk.startsWith('@@') ? hunk.split('\\n', 1).join('') : null\n const body = (header === null ? hunk : hunk.slice(header.length + 1)).split('\\n')\n const other = side === 'L' ? '+' : '-'\n const kept: string[] = []\n let wanted = lines + EXCERPT_CONTEXT\n for (const line of body.toReversed()) {\n if (wanted === 0) break\n kept.push(line)\n if (!line.startsWith(other)) wanted -= 1\n }\n return { header, lines: kept.reverse() }\n}\n\n/**\n * Describe a composer quote of a thread by its file, range, and first comment.\n * @param thread - the quoted thread.\n * @param range - the thread's range label, or null for a file thread.\n * @returns the composer's display of the quote.\n */\nexport function threadQuoteSummary(thread: ForgeReviewThread, range: string | null): QuoteSummary {\n const name = thread.path.slice(thread.path.lastIndexOf('/') + 1)\n return { label: range === null ? name : `${name} ${range}`, title: thread.path, detail: range ?? thread.path, body: thread.comments[0]?.body ?? '' }\n}\n\n/**\n * Format a whole thread for the ordinary, logged user message. Comment bodies are quoted line by line, so their\n * Markdown cannot add headings to the message.\n * @param thread - the thread.\n * @param url - web page of the change request.\n * @param index - one-based thread number in the composer.\n * @returns Markdown content for an atomic composer quote.\n */\nexport function formatThreadQuote(thread: ForgeReviewThread, url: string, index: number): string {\n const anchor = thread.current ?? thread.original\n const lines = anchor === null ? '' : anchor.startLine === anchor.endLine ? `${anchor.startLine}` : `${anchor.startLine}-${anchor.endLine}`\n // Old-side lines number the file at the diff's base, so the quote names the commit only as where that diff ends.\n const where = thread.subject === 'file' || anchor === null ? 'Lines: whole file'\n : thread.side === 'R' ? `Side: R\\nLines: ${lines}\\nCommit: ${anchor.commit}`\n : `Side: L (old side: the lines number the file before the pull request's changes)\\nLines: ${lines}\\nDiff head: ${anchor.commit}`\n const state = [thread.resolved ? 'resolved' : 'unresolved', ...thread.subject === 'line' && thread.current === null ? ['outdated'] : []].join(', ')\n const fence = thread.diffHunk === null ? '' : '`'.repeat(Math.max(3, ...Array.from(thread.diffHunk.matchAll(/`+/g), match => match[0].length + 1)))\n const hunk = thread.diffHunk === null ? '' : `Diff hunk:\\n${fence}diff\\n${thread.diffHunk}\\n${fence}\\n`\n // A blank comment line becomes a bare `>` and comments follow one another without blank lines, since the composer\n // quotes every line of the reference again.\n const comments = thread.comments.map(comment => `${comment.author === null ? 'Unknown author' : `@${comment.author.login}`} (${comment.createdAt}):\\n`\n + comment.body.split('\\n').map(line => line.trim() === '' ? '>' : `> ${line}`).join('\\n')).join('\\n')\n const link = thread.comments[0]?.url ?? url\n return `## Review Thread ${index}\\nFile: ${thread.path}\\n${where}\\nState: ${state}\\nSource: ${link}\\n${hunk}Comments:\\n${comments}`\n}\n","/** App-wide notice for forge panel actions, rendered outside the panel so it outlives it. */\n\nimport type { ReactNode } from 'react'\nimport { IconWarningOutlineRegular, Toast } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { InjectFace, PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { NS } from './locales.ts'\nimport type { NoticeSource } from './source.ts'\n\n/** Full-opacity hold of a notice that offers to undo its action, long enough to reach the action. */\nconst UNDO_HOLD_MS = 6000\n\n/** Full props of the `shell.overlay` entry. */\nexport type ActionToastProps = PropsLocale<typeof NS> & InjectFace<Omit<NoticeSource, 'report'>>\n\n/**\n * Render the current notice: a success notice with its undo action, or a failure warning.\n * @param props - notice hook, dismissal, and copy.\n * @returns the toast, or nothing while no notice shows.\n */\nexport function ActionToast({ useNotice, dismiss, t }: ActionToastProps): ReactNode {\n const notice = useNotice(current => current)\n if (notice === null) return null\n const { undo } = notice\n return (\n <Toast\n key={`forge-panel-${String(notice.seq)}`}\n text={t(notice.key, notice.params)}\n {...notice.tone === 'success' ? { tone: 'success' as const } : { icon: <IconWarningOutlineRegular /> }}\n {...undo === undefined\n ? {}\n : {\n holdMs: UNDO_HOLD_MS,\n actions: [{ label: t('toast.undo'), onClick: () => { dismiss(); undo() } }],\n }}\n onDone={dismiss}\n />\n )\n}\n","/** Status derivations shared by the header entry, the change request cards, and the changes view. */\n\nimport type { ChangeRequestCheck, ChangeRequestSnapshot, ChecksRollup } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { ForgePanelChangeRequest, ForgePanelState } from '../types.ts'\nimport type { ForgePanelKey } from './locales.ts'\n\n/**\n * Glyph tone of a change request: its lifecycle state, `blocked` for an open\n * one, not a draft, that needs its author, or `unknown` before the first snapshot.\n */\nexport type ChangeRequestTone = 'open' | 'blocked' | 'draft' | 'merged' | 'closed' | 'unknown'\n\n/** Dictionary key of each tone's state name. */\nexport const TONE_LABEL: Record<ChangeRequestTone, ForgePanelKey> = {\n open: 'change.state.open',\n blocked: 'change.state.blocked',\n draft: 'change.state.draft',\n merged: 'change.state.merged',\n closed: 'change.state.closed',\n unknown: 'change.state.unknown',\n}\n\n/** Combined check outcome shown on a collapsed card. */\nexport type CiSummary =\n | { readonly kind: 'none' }\n | { readonly kind: 'running' }\n | { readonly kind: 'passed' }\n /** `count` is the number of failed checks the host listed, which can be zero when the list is truncated. */\n | { readonly kind: 'failed'; readonly count: number }\n | { readonly kind: 'cancelled'; readonly count: number }\n\n/** Checks grouped by outcome; `other` holds neutral and skipped checks. */\nexport interface CheckCounts {\n readonly failed: number\n readonly running: number\n readonly passed: number\n readonly cancelled: number\n readonly other: number\n}\n\nconst SETTLED: Record<Exclude<ChecksRollup, 'failure'>, Exclude<CiSummary['kind'], 'failed' | 'cancelled'>> = {\n none: 'none',\n pending: 'running',\n success: 'passed',\n}\n\n/** The most urgent fact of an open change request that the collapsed card names. */\nexport type ChangeRequestFlag = 'changesRequested' | 'conflicting' | 'draft'\n\n/** The facts of a change request that decide its tone. */\nexport type ToneFacts = Pick<ChangeRequestSnapshot, 'state' | 'draft' | 'checksRollup' | 'reviewDecision' | 'mergeability'>\n\n/**\n * Pick the glyph tone of a change request: an open draft is always `draft`;\n * any other open one is `blocked` while its checks failed, changes were\n * requested, or it conflicts with its base, and running checks, a pending\n * review, and an unknown mergeability only wait and keep it `open`.\n * @param snapshot - latest snapshot or listed state, or null before the first one.\n * @returns the tone.\n */\nexport function toneOf(snapshot: ToneFacts | null): ChangeRequestTone {\n if (snapshot === null) return 'unknown'\n if (snapshot.state !== 'open') return snapshot.state\n if (snapshot.draft) return 'draft'\n if (snapshot.checksRollup === 'failure' || snapshot.reviewDecision === 'changes-requested' || snapshot.mergeability === 'conflicting') {\n return 'blocked'\n }\n return 'open'\n}\n\n/**\n * Count the listed checks by outcome.\n * @param checks - checks of the head commit.\n * @returns the counts.\n */\nexport function checkCounts(checks: readonly ChangeRequestCheck[]): CheckCounts {\n let failed = 0\n let running = 0\n let passed = 0\n let cancelled = 0\n for (const check of checks) {\n if (check.state === 'failure') failed++\n else if (check.state === 'pending') running++\n else if (check.state === 'success') passed++\n else if (check.state === 'cancelled') cancelled++\n }\n return { failed, running, passed, cancelled, other: checks.length - failed - running - passed - cancelled }\n}\n\n/**\n * Summarize the checks of a change request from the host's combined outcome.\n * @param snapshot - change request status.\n * @returns the combined outcome with its failure or cancellation count.\n */\nexport function ciSummary(snapshot: ChangeRequestSnapshot): CiSummary {\n if (snapshot.checksRollup === 'failure') {\n if (snapshot.checksTruncated) return { kind: 'failed', count: 0 }\n const counts = checkCounts(snapshot.checks)\n return counts.failed === 0 && counts.cancelled > 0\n ? { kind: 'cancelled', count: counts.cancelled }\n : { kind: 'failed', count: counts.failed }\n }\n return { kind: SETTLED[snapshot.checksRollup] }\n}\n\n/**\n * Pick the flag a collapsed card names: requested changes before merge\n * conflicts before draft state; only open change requests carry one.\n * @param snapshot - change request status.\n * @returns the flag, or undefined when none applies.\n */\nexport function flagOf(snapshot: ChangeRequestSnapshot): ChangeRequestFlag | undefined {\n if (snapshot.state !== 'open') return undefined\n if (snapshot.reviewDecision === 'changes-requested') return 'changesRequested'\n if (snapshot.mergeability === 'conflicting') return 'conflicting'\n return snapshot.draft ? 'draft' : undefined\n}\n\n/**\n * Whether a change request needs the user, the condition its card draws as `blocked`.\n * @param entry - bound change request.\n * @returns whether the header marks it.\n */\nexport function needsAttention(entry: ForgePanelChangeRequest): boolean {\n return toneOf(entry.snapshot) === 'blocked'\n}\n\n/**\n * Pick the cards a Session's panel opens before the user expands or collapses\n * one: the only open change request, drafts included, when exactly one is open.\n * @param entries - bound change requests.\n * @returns the URLs of the cards that start expanded.\n */\nexport function defaultExpanded(entries: readonly ForgePanelChangeRequest[]): ReadonlySet<string> {\n const open = entries.filter(entry => entry.snapshot?.state === 'open')\n return new Set(open.length === 1 ? open.map(entry => entry.url) : [])\n}\n\n/**\n * Find the open change request, drafts included, whose head is the checked-out branch.\n * @param state - panel state of the Session.\n * @returns the change request, or undefined without one or while HEAD is detached.\n */\nexport function openChangeRequestOf(state: ForgePanelState): ForgePanelChangeRequest | undefined {\n const branch = state.checkout.state === 'ready' ? state.checkout.checkout.branch : null\n if (branch === null) return undefined\n return state.changeRequests.find(entry => entry.snapshot?.state === 'open' && entry.snapshot.headBranch === branch)\n}\n\n/**\n * Read the change request number: the provider's reference, else the number at the end of the URL path.\n * @param entry - bound change request.\n * @returns the number, or null when neither names one.\n */\nexport function numberOf(entry: Pick<ForgePanelChangeRequest, 'ref' | 'url'>): number | null {\n if (entry.ref !== null) return entry.ref.number\n const [, digits = ''] = /\\/(\\d+)\\/?(?:[?#].*)?$/s.exec(entry.url) ?? []\n const number = Number(digits)\n return digits.length > 0 && Number.isSafeInteger(number) ? number : null\n}\n\n/**\n * Measure how long a completed check ran.\n * @param check - one check.\n * @returns elapsed milliseconds, or undefined when either time is unknown or they are out of order.\n */\nexport function checkDuration(check: ChangeRequestCheck): number | undefined {\n if (check.startedAt === null || check.completedAt === null) return undefined\n const elapsed = Date.parse(check.completedAt) - Date.parse(check.startedAt)\n return Number.isFinite(elapsed) && elapsed >= 0 ? elapsed : undefined\n}\n","/**\n * The changes view's tab type: the right-Sidebar view of one Session's local\n * changes or of one change request bound to it. Its addresses name the Session\n * and the source, `dsh-resource://forge-changes/<session>/local` or\n * `dsh-resource://forge-changes/<session>/change/<url>`, each part\n * percent-encoded; the source names the tab.\n */\n\nimport type { SidebarRightTabDefinition } from '@deepseek-ai/dsh-client-ui-sidebar-right/client'\nimport type { TranslateNS } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { SessionId } from '@deepseek-ai/dsh-session/types'\nimport type { NS } from './locales.ts'\nimport { numberOf } from './status.ts'\n\n/** Kind of the changes tab. */\nexport const CHANGES_KIND = 'forge-changes'\n\n/** Registry id of the changes tab type, also the key its body and title register under. */\nexport const CHANGES_ID = '@deepseek-ai/dsh-experimental-client-ui-forge/changes'\n\nconst PREFIX = 'dsh-resource://forge-changes/'\n\n/** What a changes view shows. */\nexport type ChangesSource =\n /** The changes of the Session's checkout. */\n | { readonly kind: 'local' }\n /** The changes of one change request bound to the Session, by its binding URL. */\n | { readonly kind: 'change'; readonly url: string }\n\n/** The Session and the source one address names. */\nexport interface ChangesTarget {\n /** Session whose checkout or binding the view reads. */\n readonly sessionId: SessionId\n /** What the view shows. */\n readonly source: ChangesSource\n}\n\n/** Navigation parameters of a changes tab. */\nexport interface ChangesParams {\n /** File to scroll to, by its path in the diff. */\n readonly path?: string\n}\n\ndeclare module '@deepseek-ai/dsh-client-ui-sidebar-right/client' {\n interface SidebarRightResourceParamsMap {\n /** The file a changes tab scrolls to. */\n 'forge-changes': ChangesParams\n }\n}\n\n/**\n * Mint the address of a changes view.\n * @param target - Session and source.\n * @returns the `dsh-resource://forge-changes/…` address.\n */\nexport function changesAddress(target: ChangesTarget): string {\n const session = `${PREFIX}${encodeURIComponent(target.sessionId)}/`\n return target.source.kind === 'local' ? `${session}local` : `${session}change/${encodeURIComponent(target.source.url)}`\n}\n\n/**\n * Read the Session and source back out of a changes address.\n * @param address - a resource address.\n * @returns the target, or undefined for an address this package did not mint.\n */\nexport function parseChangesAddress(address: string): ChangesTarget | undefined {\n if (!address.startsWith(PREFIX)) return undefined\n const [session = '', kind, url, ...rest] = address.slice(PREFIX.length).split('/')\n if (session === '' || rest.length > 0) return undefined\n try {\n const sessionId = decodeURIComponent(session) as SessionId\n if (kind === 'local' && url === undefined) return { sessionId, source: { kind: 'local' } }\n if (kind === 'change' && url !== undefined && url !== '') return { sessionId, source: { kind: 'change', url: decodeURIComponent(url) } }\n return undefined\n } catch (error) {\n void error // A malformed percent sequence is not an address this package minted.\n return undefined\n }\n}\n\n/**\n * Name a changes view: 本地变更 for the local changes, #N 的变更 for a change request with a number.\n * @param source - what the view shows.\n * @param t - forge panel copy.\n * @returns the title in the current language.\n */\nexport function changesTitle(source: ChangesSource, t: TranslateNS<typeof NS>): string {\n if (source.kind === 'local') return t('changes.local.title')\n const number = numberOf({ ref: null, url: source.url })\n return number === null ? t('diff.tab') : t('diff.tabNumbered', { number })\n}\n\n/**\n * The changes type's registry definition.\n * @param t - forge panel copy, read on every title call.\n * @returns the definition to register.\n */\nexport function changesDefinition(t: TranslateNS<typeof NS>): SidebarRightTabDefinition {\n return {\n id: CHANGES_ID,\n kind: CHANGES_KIND,\n keepMounted: true,\n patterns: [`${PREFIX}**`],\n canOpen: address => parseChangesAddress(address) !== undefined,\n title: (address) => {\n const target = parseChangesAddress(address)\n return target === undefined ? address : changesTitle(target.source, t)\n },\n }\n}\n","/**\n * Choices of each changes tab: the local scope, the base branch of the\n * `branch` scope, the commits shown, the review layer, whether test files\n * hide, the side-by-side view, line wrapping, and the navigation it last\n * applied. One bucket per tab, so two views in one Session keep their own\n * choices; the bucket ends with the tab record's signal.\n */\n\nimport { defineStore, type EngineStoreHandle } from '@deepseek-ai/dsh-client-store'\nimport type { ForgeBaseBranch, ForgeCommitRange, ForgeFileLayer, ForgeLocalScope } from '../types.ts'\n\n/** Files a changes tab shows: every file, or the files of one review layer. */\nexport type ChangesLens = 'all' | ForgeFileLayer\n\n/** One changes tab's choices. */\nexport interface ChangesTabState {\n /** Local changes shown; a change request view ignores it. */\n scope: ForgeLocalScope['kind']\n /** Branch the `branch` scope compares with, or null for the automatic fork point; other scopes keep it. */\n base: ForgeBaseBranch | null\n /** Commits shown instead of the whole change request or `branch` scope, or null for all of them. */\n commits: ForgeCommitRange | null\n /** Review layer whose files show. */\n lens: ChangesLens\n /** Whether files of the `test` layer hide from the file tree and the diff. */\n hideTests: boolean\n /** Whether deletions and additions show in two columns. */\n split: boolean\n /** Whether long lines wrap instead of being cut at the column edge. */\n wrap: boolean\n /** The navigation revision last applied, whose file the view scrolled to. */\n navigated: number\n}\n\n/** Every changes tab's choices, keyed by tab id. */\nexport interface ChangesState {\n byTab: Record<string, ChangesTabState>\n}\n\nfunction bucket(state: ChangesState, tabId: string): ChangesTabState {\n const tab = state.byTab[tabId]\n if (tab === undefined) throw new Error(`forge-panel: no changes state for tab \"${tabId}\"`)\n return tab\n}\n\n/** The changes store's write set; every action names the tab it writes. */\ntype ChangesActions = {\n navigated: (draft: ChangesState, tabId: string, revision: number) => void\n scoped: (draft: ChangesState, tabId: string, scope: ForgeLocalScope['kind']) => void\n based: (draft: ChangesState, tabId: string, base: ForgeBaseBranch | null) => void\n committed: (draft: ChangesState, tabId: string, commits: ForgeCommitRange | null) => void\n lensed: (draft: ChangesState, tabId: string, lens: ChangesLens) => void\n toggledTests: (draft: ChangesState, tabId: string) => void\n toggledSplit: (draft: ChangesState, tabId: string) => void\n toggledWrap: (draft: ChangesState, tabId: string) => void\n forget: (draft: ChangesState, tabId: string) => void\n}\n\n/**\n * Declare the changes tab's store; the registration declares it as an\n * exclusive store, so the framework mints one instance per Session.\n * @returns the store handle to declare on the registration.\n */\nexport function createChangesStore(): EngineStoreHandle<ChangesState, ChangesActions> {\n return defineStore({\n init: (): ChangesState => ({ byTab: {} }),\n actions: {\n /**\n * Apply a navigation; the first one seeds the `branch` scope with the automatic fork point, every commit and file,\n * test files shown, two columns, and wrapped lines.\n * @param d - draft state.\n * @param tabId - the tab being drawn.\n * @param revision - the navigation revision being applied.\n */\n navigated: (d, tabId: string, revision: number) => {\n const tab = d.byTab[tabId]\n if (tab === undefined) {\n d.byTab[tabId] = { scope: 'branch', base: null, commits: null, lens: 'all', hideTests: false, split: true, wrap: true, navigated: revision }\n } else tab.navigated = revision\n },\n /**\n * Show another scope of local changes, with all of its commits.\n * @param d - draft state.\n * @param tabId - the tab being drawn.\n * @param scope - the scope to show.\n */\n scoped: (d, tabId: string, scope: ForgeLocalScope['kind']) => {\n const tab = bucket(d, tabId)\n tab.scope = scope\n tab.commits = null\n },\n /**\n * Compare the `branch` scope with another branch, showing all of its commits.\n * @param d - draft state.\n * @param tabId - the tab being drawn.\n * @param base - the branch, or null for the automatic fork point.\n */\n based: (d, tabId: string, base: ForgeBaseBranch | null) => {\n const tab = bucket(d, tabId)\n tab.base = base\n tab.commits = null\n },\n /**\n * Show consecutive commits instead of the whole change request or `branch` scope.\n * @param d - draft state.\n * @param tabId - the tab being drawn.\n * @param commits - the commits, or null for all of them.\n */\n committed: (d, tabId: string, commits: ForgeCommitRange | null) => { bucket(d, tabId).commits = commits },\n /**\n * Show the files of another review layer.\n * @param d - draft state.\n * @param tabId - the tab being drawn.\n * @param lens - every file, or one layer.\n */\n lensed: (d, tabId: string, lens: ChangesLens) => { bucket(d, tabId).lens = lens },\n /**\n * Hide or show the files of the `test` layer; hiding them leaves the `test` lens for every file.\n * @param d - draft state.\n * @param tabId - the tab being drawn.\n */\n toggledTests: (d, tabId: string) => {\n const tab = bucket(d, tabId)\n tab.hideTests = !tab.hideTests\n if (tab.hideTests && tab.lens === 'test') tab.lens = 'all'\n },\n /**\n * Switch between one column and two.\n * @param d - draft state.\n * @param tabId - the tab being drawn.\n */\n toggledSplit: (d, tabId: string) => {\n const tab = bucket(d, tabId)\n tab.split = !tab.split\n },\n /**\n * Switch line wrapping.\n * @param d - draft state.\n * @param tabId - the tab being drawn.\n */\n toggledWrap: (d, tabId: string) => {\n const tab = bucket(d, tabId)\n tab.wrap = !tab.wrap\n },\n /**\n * Drop a tab's bucket once its record is gone.\n * @param d - draft state.\n * @param tabId - the tab that ended.\n */\n forget: (d, tabId: string) => {\n d.byTab = Object.fromEntries(Object.entries(d.byTab).filter(([id]) => id !== tabId))\n },\n },\n })\n}\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","//#region lib/types/file-address.js\n/**\n* The `dsh-resource://file/…` address grammar: how a file is named across the\n* Sidebar and the resource model, built and parsed without touching a\n* filesystem.\n* @module\n*/\n/** The scheme and type every file address opens with. */\nconst FILE_ADDRESS_PREFIX = \"dsh-resource://file/\";\n/** Component-encode one id or path segment, keeping `:` literal for drive letters. */\nfunction encodeSegment(segment) {\n\treturn encodeURIComponent(segment).replace(/%3A/gi, \":\");\n}\n/** Encode a `/`-separated path segment by segment. */\nfunction encodePath(path) {\n\treturn path.split(\"/\").map(encodeSegment).join(\"/\");\n}\n/** Whether a decoded first path segment is a Windows drive (`C:`). */\nfunction isDriveSegment(segment) {\n\treturn segment !== void 0 && /^[A-Za-z]:$/.test(segment);\n}\n/**\n* Build the address of a file read through one Session.\n* @param sessionId - the Session whose Host workspace resolves the path.\n* @param path - absolute or workspace-relative path; backslashes are normalized to `/`, and leading `./` prefixes are dropped.\n* @returns the `dsh-resource://file/session/<sessionId>/<path>` address.\n*/\nfunction sessionFileAddress(sessionId, path) {\n\tconst normalized = path.replace(/\\\\/g, \"/\").replace(/^(?:\\.\\/)+/, \"\");\n\treturn `${FILE_ADDRESS_PREFIX}session/${encodeSegment(sessionId)}/${encodePath(normalized)}`;\n}\n/**\n* Build the address of a file by its absolute path.\n* @param path - absolute path; backslashes are normalized to `/` and the leading `/` is dropped,\n* except that a UNC path (`\\\\server\\share`) keeps one empty first segment.\n* @returns the `dsh-resource://file/absolute/<path>` address.\n*/\nfunction absoluteFileAddress(path) {\n\tconst normalized = path.replace(/\\\\/g, \"/\");\n\tconst unc = normalized.startsWith(\"//\");\n\tconst absolute = normalized.replace(/^\\/+/, \"\");\n\treturn `${FILE_ADDRESS_PREFIX}absolute/${unc ? \"/\" : \"\"}${encodePath(absolute)}`;\n}\n/**\n* Read a file address back into its parts without resolving `.` or `..`.\n* Query and fragment suffixes are ignored; encoded path segments are decoded.\n* @param address - a candidate address.\n* @returns the parts, or `undefined` when the string is not a `dsh-resource://file/` URI in a known scope with a path, or a segment is not validly encoded.\n*/\nfunction parseFileAddress(address) {\n\ttry {\n\t\tif (!address.startsWith(FILE_ADDRESS_PREFIX)) return void 0;\n\t\tconst end = address.search(/[?#]/);\n\t\tconst [scope, ...rest] = address.slice(20, end === -1 ? void 0 : end).split(\"/\");\n\t\tif (scope === \"session\") {\n\t\t\tconst [id, ...segments] = rest;\n\t\t\tif (id === void 0 || id === \"\" || segments.length === 0) return void 0;\n\t\t\treturn {\n\t\t\t\tscope,\n\t\t\t\tsessionId: decodeURIComponent(id),\n\t\t\t\tpath: segments.map(decodeURIComponent).join(\"/\")\n\t\t\t};\n\t\t}\n\t\tif (scope === \"absolute\") {\n\t\t\tconst unc = rest[0] === \"\" && rest.length > 1;\n\t\t\tconst segments = (unc ? rest.slice(1) : rest).map(decodeURIComponent);\n\t\t\tif (segments.length === 0 || segments[0] === \"\") return void 0;\n\t\t\tif (unc) return {\n\t\t\t\tscope,\n\t\t\t\tpath: `//${segments.join(\"/\")}`\n\t\t\t};\n\t\t\treturn {\n\t\t\t\tscope,\n\t\t\t\tpath: isDriveSegment(segments[0]) ? segments.join(\"/\") : `/${segments.join(\"/\")}`\n\t\t\t};\n\t\t}\n\t\treturn;\n\t} catch {\n\t\treturn;\n\t}\n}\n//#endregion\n//#region lib/types/index.js\n/**\n* Browser-safe Workspace path and display helpers.\n* @module @deepseek-ai/dsh-util-workspace-path\n*/\n/** Whether a path uses a Windows drive or UNC prefix. */\nfunction isWindowsStylePath(value) {\n\treturn /^[A-Za-z]:[/\\\\]/.test(value) || value.startsWith(\"\\\\\\\\\");\n}\n/**\n* Whether a path is absolute in either spelling the Host accepts: POSIX (`/a/b`) or Windows drive or UNC.\n* @param path - the path to classify.\n* @returns `true` for an absolute path; `false` for a Workspace-relative one.\n*/\nfunction isAbsoluteWorkspacePath(path) {\n\treturn path.startsWith(\"/\") || isWindowsStylePath(path);\n}\n/**\n* Resolve a Workspace-relative path into the Host-facing spelling used by path operations.\n* @param cwd - Session Workspace root, when known.\n* @param path - Absolute or Workspace-relative path; leading `./` segments are dropped when joining.\n* @returns an absolute path when a Workspace root is available, otherwise the original path.\n*/\nfunction resolveWorkspacePath(cwd, path) {\n\tif (isAbsoluteWorkspacePath(path)) return path;\n\tif (cwd === void 0 || cwd === \"\") return path;\n\tconst separator = isWindowsStylePath(cwd) && cwd.includes(\"\\\\\") ? \"\\\\\" : \"/\";\n\treturn `${cwd.replace(/[/\\\\]+$/, \"\")}${separator}${path.replace(/^(?:\\.?[/\\\\])+/, \"\")}`;\n}\n/**\n* Abbreviate a POSIX home directory for display.\n* @param path - Absolute or already-short display path.\n* @param home - Host account home; absent skips abbreviation.\n* @returns `~` or `~/…` for the POSIX home and its descendants, otherwise `path`.\n*/\nfunction abbreviateHomePath(path, home) {\n\tif (home === void 0 || home === \"\") return path;\n\tif (isWindowsStylePath(path) || isWindowsStylePath(home)) return path;\n\tconst root = home.replace(/\\/+$/, \"\");\n\tif (root === \"\" || root === \"/\") return path;\n\tif (path.replace(/\\/+$/, \"\") === root) return \"~\";\n\tif (path.startsWith(`${root}/`)) return `~${path.slice(root.length)}`;\n\treturn path;\n}\n/**\n* Read the final non-empty segment of a Workspace path for display.\n* Workspace-label surfaces use this helper instead of deriving another basename.\n* @param path - Workspace directory path using POSIX or Windows separators.\n* @returns the final segment, or an empty string for a separator-only path.\n*/\nfunction workspaceTitleOf(path) {\n\tconst trimmed = path.replace(/[/\\\\]+$/, \"\");\n\tconst separator = Math.max(trimmed.lastIndexOf(\"/\"), trimmed.lastIndexOf(\"\\\\\"));\n\treturn trimmed.slice(separator + 1);\n}\n/**\n* Split a path for display: the directories through their last separator, and\n* the final segment after it. Both `/` and `\\` separate, so a Windows path\n* splits where its own segments end; trailing separators are dropped first, so\n* a directory path names its own last segment. A path with no separator, or a\n* separator-only path, is all name.\n* @param path - file or directory path using POSIX or Windows separators.\n* @returns the directory prefix (possibly empty) and the final segment.\n*/\nfunction pathPartsOf(path) {\n\tconst trimmed = path.replace(/[/\\\\]+$/, \"\");\n\tif (trimmed === \"\") return {\n\t\tdirectory: \"\",\n\t\tname: path\n\t};\n\tconst cut = Math.max(trimmed.lastIndexOf(\"/\"), trimmed.lastIndexOf(\"\\\\\")) + 1;\n\treturn {\n\t\tdirectory: trimmed.slice(0, cut),\n\t\tname: trimmed.slice(cut)\n\t};\n}\n/**\n* The address for a path as a caller holds it: a relative path, or an absolute\n* path inside the Session's workspace, becomes a `session`-scoped address; an\n* absolute path outside it, or one whose workspace root is unknown, keeps its\n* absolute path in that Session's address.\n* @param sessionId - the Session the path is read in.\n* @param cwd - that Session's workspace root, when known.\n* @param path - absolute or workspace-relative path, in either separator spelling.\n* @returns the `dsh-resource://file/…` address.\n*/\nfunction fileAddressFor(sessionId, cwd, path) {\n\tconst normalized = path.replace(/\\\\/g, \"/\");\n\tif (!isAbsoluteWorkspacePath(normalized)) return sessionFileAddress(sessionId, normalized);\n\tconst root = cwd === void 0 ? \"\" : cwd.replace(/\\\\/g, \"/\").replace(/\\/+$/, \"\");\n\tif (root !== \"\" && normalized === root) return sessionFileAddress(sessionId, \"\");\n\tif (root !== \"\" && normalized.startsWith(`${root}/`)) return sessionFileAddress(sessionId, normalized.slice(root.length + 1));\n\treturn sessionFileAddress(sessionId, normalized);\n}\n/**\n* Strip the workspace root from a workspace-rooted absolute path (display only).\n* @param text - the path to shorten.\n* @param cwd - session workspace root; absent or empty leaves the path unchanged.\n* @returns the path relative to the workspace root, or unchanged when it is not rooted there.\n*/\nfunction relativizeToCwd(text, cwd) {\n\tif (cwd === void 0 || cwd === \"\") return text;\n\tconst root = cwd.replace(/[/\\\\]+$/, \"\");\n\tif (text.startsWith(`${root}/`) || text.startsWith(`${root}\\\\`)) return text.slice(root.length + 1);\n\treturn text;\n}\n/**\n* Address a decoded absolute file path through the authenticated file route.\n* @param base - HTTP(S) application base, including its deployment prefix, or `dsh-app://app/`.\n* @param path - Native file path; URL escapes in authored Markdown must already be decoded.\n* @returns File URL, or undefined for unsupported transports and non-absolute paths.\n*/\nfunction fileMediaUrl(base, path) {\n\tif (!/^https?:/u.test(base) && !base.startsWith(\"dsh-app://app/\") || !isAbsoluteWorkspacePath(path) || /^[/\\\\]{2}/u.test(path) || /[\\u0000-\\u001f\\u007f]/u.test(path)) return void 0;\n\treturn new URL(`api/file?path=${encodeURIComponent(path)}`, base).href;\n}\n//#endregion\nexport { abbreviateHomePath, absoluteFileAddress, fileAddressFor, fileMediaUrl, isAbsoluteWorkspacePath, parseFileAddress, pathPartsOf, relativizeToCwd, resolveWorkspacePath, sessionFileAddress, workspaceTitleOf };\n","/** Inline comment records and the editing of comment drafts kept in the browser at their captured code location. */\n\nimport { useCallback, useState, useSyncExternalStore, type ReactNode } from 'react'\nimport { Button, Tag } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ReviewActions } from './ReviewComposer.tsx'\nimport { EMPTY_FILE_REVIEW, type FileReviewState, type ReviewThread as Thread } from './review-queue.ts'\nimport { reviewRange } from './review.ts'\nimport type { NS } from './locales.ts'\nimport css from './ReviewComposer.module.css'\n\nconst noSubscription = (): (() => void) => () => {}\n\n/**\n * Subscribe only to comments that belong to the displayed file and source.\n * @param actions - review actions and their browser store.\n * @param path - displayed file path.\n * @returns stable file-scoped comments and write availability.\n */\nexport function useFileReview(actions: ReviewActions | undefined, path: string): FileReviewState {\n const read = useCallback(() => actions?.records?.fileComments(path, actions.source) ?? EMPTY_FILE_REVIEW,\n [actions?.records, actions?.source, path])\n return useSyncExternalStore(actions?.records?.subscribe ?? noSubscription, read)\n}\n\n/**\n * Render a saved comment at its line. A comment draft kept in the browser can be edited, deleted, or moved into the\n * pending review on the code host.\n * @param props - record, edit availability, source actions, and localized copy.\n * @returns one compact inline comment card.\n */\nexport function ReviewThread({ thread, actions, locked, outdated, t }: PropsLocale<typeof NS> & {\n readonly thread: Thread\n readonly actions: ReviewActions\n readonly locked: boolean\n readonly outdated: boolean\n}): ReactNode {\n const [editing, setEditing] = useState(false)\n const [body, setBody] = useState(thread.selection.comment.body)\n const [error, setError] = useState<string | null>(null)\n const [moving, setMoving] = useState(false)\n const comment = thread.selection.comment\n const quoted = editing && thread.kind === 'pending' ? { ...thread.selection, comment: { ...comment, body } } : thread.selection\n const range = reviewRange(comment)\n const status = thread.kind === 'pending' ? 'review.browserDraft' : thread.kind === 'published' ? 'review.published' : 'review.quoted'\n const save = (): boolean => actions.records?.editThread(thread.key, body) === true\n const queue = actions.queue\n /** Add the draft to the pending review on the code host, then delete it from the browser. */\n const move = async (add: NonNullable<ReviewActions['queue']>): Promise<void> => {\n setMoving(true)\n setError(null)\n try {\n const failure = await add(thread.selection)\n if (failure !== undefined) setError(failure)\n else if (actions.records?.editThread(thread.key, null) !== true) setError(t('review.saveFailed'))\n } catch (_error) {\n setError(t('review.unknown'))\n } finally {\n setMoving(false)\n }\n }\n return <section className={css.thread} data-forge-review-thread={thread.kind} data-side={comment.side} aria-label={t('review.range', { range })}>\n <div className={css.threadHeader}>\n <span className={css.author}>{t('review.yourComment')}</span>\n <span className={css.range}>{range}</span>\n <Tag tone=\"neutral\">{t(outdated ? 'review.outdated' : status)}</Tag>\n </div>\n {editing && thread.kind === 'pending'\n ? <textarea autoFocus className={css.input} rows={3} value={body} disabled={locked} aria-label={t('review.comment')}\n onChange={(event) => {\n setBody(event.target.value)\n if (actions.records?.editThread(thread.key, event.target.value) === true) setError(null)\n else setError(t('review.saveFailed'))\n }} />\n : <div className={css.commentBody}>{comment.body}</div>}\n {error !== null && <div className={css.error} role=\"alert\">{error}</div>}\n <div className={css.threadActions}>\n <Button size=\"sm\" disabled={quoted.comment.body.trim() === ''} onClick={() => {\n if (!actions.addToInput(quoted)) setError(t('review.inputFailed'))\n }}>{t('review.addToInput')}</Button>\n {thread.kind === 'pending' && <>\n {editing\n ? <Button size=\"sm\" disabled={locked || moving || body.trim() === ''} onClick={() => {\n if (save()) { setEditing(false); setError(null) } else setError(t('review.saveFailed'))\n }}>{t('review.done')}</Button>\n : <Button size=\"sm\" disabled={locked || moving} onClick={() => { setBody(comment.body); setEditing(true) }}>{t('review.edit')}</Button>}\n <Button size=\"sm\" disabled={locked || moving} onClick={() => {\n if (actions.records?.editThread(thread.key, null) !== true) setError(t('review.saveFailed'))\n }}>{t('review.remove')}</Button>\n {queue !== undefined && !editing && !outdated && <Button size=\"sm\" disabled={locked || moving}\n onClick={() => { void move(queue) }}>{t(moving ? 'review.publishing' : 'review.queue')}</Button>}\n </>}\n {thread.kind === 'published' && actions.openLink !== undefined && <Button size=\"sm\" onClick={() => { actions.openLink?.(thread.url) }}>{t('review.recheck')}</Button>}\n </div>\n </section>\n}\n","/** Centered review submission with a summary, decision, and pending-comment count, and the discarding of a pending review. */\n\nimport { useId, useState, useSyncExternalStore, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport { Button, Modal } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ForgePendingReview } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { ReviewQueue } from './review-queue.ts'\nimport type { NS } from './locales.ts'\nimport css from './SubmitReview.module.css'\nimport reviewCss from './ReviewComposer.module.css'\n\n/**\n * Submit a review independently of the diff scroll position; comments remain at their code locations. With a pending\n * review on the code host, the review holds its comments, and comment drafts kept in the browser must leave first.\n * @param props - durable queue, current head, the pending review, submission outcome, and modal actions.\n * @returns a portalled modal with keyboard focus ownership.\n */\nexport function SubmitReview({\n queue, url, headSha, pending, own, busy, error, submit, discard, close, check, reconcile, t,\n}: PropsLocale<typeof NS> & {\n readonly queue: ReviewQueue\n readonly url: string\n readonly headSha: string\n /** The signed-in user's pending review on the code host, or null without one. */\n readonly pending: ForgePendingReview | null\n /** Whether the signed-in user authored the change request, which the code host lets them only comment on. */\n readonly own: boolean\n readonly busy: boolean\n readonly error: string | null\n readonly submit: () => void\n /** Discard the pending review, or undefined without one. */\n readonly discard: (() => void) | undefined\n readonly close: () => void\n readonly check: () => void\n readonly reconcile: () => void\n}): ReactNode {\n const state = useSyncExternalStore(queue.subscribe, queue.getSnapshot)\n const [confirming, setConfirming] = useState(false)\n const name = useId()\n const summaryHint = `${name}-summary-hint`\n const requiresSummary = state.event === 'request-changes'\n const locked = busy || state.uncertain !== null\n // A decision kept from another change request stays chosen until the reader picks Comment.\n const refused = own && state.event !== 'comment'\n const count = pending?.comments ?? state.comments.length\n // Drafts kept in the browser join only a review published without a pending one on the code host.\n const blocked = pending !== null && state.comments.length > 0\n const stale = pending === null\n && state.comments.some(item => item.source.kind !== 'change' || item.source.url !== url || item.source.headSha !== headSha)\n const empty = (pending === null && state.comments.some(item => item.comment.body.trim() === ''))\n || (requiresSummary && state.body.trim() === '')\n || (state.event === 'comment' && state.body.trim() === '' && count === 0)\n const notice = state.error !== null ? t(state.error === 'load' ? 'review.loadFailed' : 'review.saveFailed')\n : blocked ? t('review.browserDrafts', { count: state.comments.length }) : stale ? t('review.stale') : error\n return <Modal open onClose={close} title={t('review.submit')} closeLabel={t('review.close')}\n className={clsx(css.modal)} contentClassName={clsx(css.content)}\n footer={<>\n {discard !== undefined && <Button variant=\"outline\" className={clsx(css.discard)} disabled={locked || confirming}\n onClick={() => { setConfirming(true) }}>{t('review.discard')}</Button>}\n <Button variant=\"outline\" onClick={close}>{t('review.cancel')}</Button>\n <Button variant=\"primary\" disabled={locked || confirming || blocked || stale || empty || refused || state.error !== null} onClick={submit}>\n {t(busy && !confirming ? 'review.submitting' : 'review.submit')}\n </Button>\n </>}>\n <div className={css.form}>\n <div className={css.count}>{t('review.drafts', { count })}</div>\n {discard !== undefined && confirming && <div className={css.confirm} role=\"group\" aria-label={t('review.discard')}>\n <span className={css.confirmText}>{t('review.discardConfirm', { count })}</span>\n <Button size=\"sm\" variant=\"outline\" disabled={busy} onClick={() => { setConfirming(false) }}>{t('review.cancel')}</Button>\n <Button size=\"sm\" variant=\"primary\" disabled={busy} onClick={discard}>{t(busy ? 'review.discarding' : 'review.discard')}</Button>\n </div>}\n <div className={css.summary}>\n <textarea data-modal-autofocus className={clsx(reviewCss.input, css.input)} rows={4} disabled={locked} value={state.body}\n aria-label={t('review.summary')} placeholder={t('review.summary')} required={requiresSummary}\n aria-describedby={requiresSummary ? summaryHint : undefined}\n onChange={(event) => { queue.summarize(event.target.value, state.event) }} />\n <div id={summaryHint} className={css.hint} role=\"status\">{requiresSummary ? t('review.summaryRequired') : ''}</div>\n </div>\n <div className={css.decisions}>\n {(['comment', 'approve', 'request-changes'] as const).map(value => <label key={value}>\n <input type=\"radio\" name={name} value={value} checked={state.event === value} disabled={locked || (own && value !== 'comment')}\n onChange={() => { queue.summarize(state.body, value) }} />\n {t(value === 'comment' ? 'review.commentOnly' : value === 'approve' ? 'review.approve' : 'review.requestChanges')}\n </label>)}\n </div>\n {own && <div className={css.hint}>{t('review.ownChangeRequest')}</div>}\n {notice !== null && <div className={css.error} role=\"alert\">{notice}</div>}\n {state.uncertain !== null && !busy && <div className={css.reconcile}>\n <Button size=\"sm\" variant=\"outline\" onClick={check}>{t('review.recheck')}</Button>\n <Button size=\"sm\" variant=\"outline\" onClick={reconcile}>{t('review.confirmRetry')}</Button>\n </div>}\n </div>\n </Modal>\n}\n","/** Keys of the search field at the top of a menu that lists what the search matches. */\n\nimport type { KeyboardEvent } from 'react'\n\n/**\n * Keep the edge and arrow keys in a menu's search field, so they move the caret instead of the menu's focus, and choose\n * the first listed row with Enter outside an input method composition.\n * @param event - the key event of the search field.\n * @param chooseFirst - chooses the first listed row, or undefined while none is listed.\n */\nexport function searchFieldKeyDown(event: KeyboardEvent<HTMLInputElement>, chooseFirst: (() => void) | undefined): void {\n if (['Home', 'End', 'ArrowLeft', 'ArrowRight'].includes(event.key)) event.stopPropagation()\n if (event.key !== 'Enter' || event.nativeEvent.isComposing || chooseFirst === undefined) return\n event.preventDefault()\n chooseFirst()\n}\n","/** Base branch picker of the local changes view's `branch` scope: the automatic fork point, then remote-tracking and local branches. */\n\nimport { useEffect, useRef, useState, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport {\n Button, IconBranchOutlineRegular, IconCheckOutlineRegular, IconChevronDownOutlineRegular, IconSearchOutlineRegular,\n IconWarningTriangleOutlineRegular, Input, Menu, MenuItemButton, StateDot, Tooltip,\n} from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { RemoteResult } from '@deepseek-ai/dsh-typert-protocol'\nimport type { ForgeBaseBranch, ForgeBaseBranches } from '../types.ts'\nimport type { NS } from './locales.ts'\nimport { searchFieldKeyDown } from './menu-search.ts'\nimport css from './BaseMenu.module.css'\n\n/** Milliseconds between the last keystroke of a search and the listing it reads. */\nconst SEARCH_DELAY_MS = 150\n\n/** Props of the base branch picker. */\nexport interface BaseMenuProps extends PropsLocale<typeof NS> {\n /** Chosen branch, or null for the automatic fork point. */\n readonly chosen: ForgeBaseBranch | null\n /** Name the trigger shows: the chosen branch, the automatic fork point, or the automatic choice's own name. */\n readonly label: string\n /** Whether the chosen branch no longer exists. */\n readonly missing: boolean\n /** Whether the owning tab is visible; a hidden tab keeps the menu closed. */\n readonly visible: boolean\n /** Read the branches whose names contain `query`; `signal` aborts the read. */\n readonly list: (query: string, signal: AbortSignal) => Promise<RemoteResult<ForgeBaseBranches>>\n /** Compare with a branch, or with the automatic fork point for null. */\n readonly choose: (base: ForgeBaseBranch | null) => void\n}\n\n/** One selectable row: a branch, or the automatic fork point. */\ninterface BaseOption {\n readonly key: string\n readonly name: string\n readonly base: ForgeBaseBranch | null\n readonly tag?: string\n}\n\n/**\n * Render the trigger and, while open, the searchable menu. Opening and each\n * search read the branches again; rows already shown follow the search at once\n * until the new listing arrives.\n * @param props - the choice, the trigger label, the listing read, the choose action, and copy.\n * @returns the trigger with its portalled menu.\n */\nexport function BaseMenu({ chosen, label, missing, visible, list, choose, t }: BaseMenuProps): ReactNode {\n const [open, setOpen] = useState(false)\n const [query, setQuery] = useState('')\n const [attempt, setAttempt] = useState(0)\n const [listing, setListing] = useState<RemoteResult<ForgeBaseBranches> | null>(null)\n const search = useRef<HTMLInputElement>(null)\n const shown = visible && open\n useEffect(() => {\n if (!shown) return\n const controller = new AbortController()\n const timer = setTimeout(() => {\n void list(query, controller.signal).then((result) => { if (!controller.signal.aborted) setListing(result) })\n }, query === '' ? 0 : SEARCH_DELAY_MS)\n return () => {\n clearTimeout(timer)\n controller.abort()\n }\n }, [shown, query, attempt, list])\n // The portalled menu measures itself hidden before its first frame, and a hidden field cannot take the keyboard.\n // A touch screen keeps its on-screen keyboard closed until the field is tapped.\n useEffect(() => {\n if (!shown || (typeof matchMedia === 'function' && matchMedia('(pointer: coarse)').matches)) return\n const frame = requestAnimationFrame(() => { search.current?.focus() })\n return () => { cancelAnimationFrame(frame) }\n }, [shown])\n const close = (): void => {\n setOpen(false)\n setQuery('')\n }\n const pick = (base: ForgeBaseBranch | null): void => {\n close()\n if ((base?.ref ?? null) !== (chosen?.ref ?? null)) choose(base)\n }\n\n const value = listing?.ok === true ? listing.value : null\n const needle = query.trim().toLowerCase()\n const matches = (name: string): boolean => name.toLowerCase().includes(needle)\n const automatic = value?.automatic ?? null\n const groups: { readonly id: string; readonly label: string; readonly options: readonly BaseOption[] }[] = [\n {\n id: 'automatic',\n label: t('diff.base.automatic'),\n options: automatic === null || !matches(automatic.name) ? [] : [{\n key: 'automatic', name: automatic.name, base: null, tag: t(automatic.worktree ? 'diff.base.worktree' : 'diff.base.automatic'),\n }],\n },\n {\n id: 'remote',\n label: t('diff.base.remote'),\n // The automatic fork point of a code host's default branch is the same comparison as choosing that branch.\n options: (value?.remote ?? [])\n .filter(branch => matches(branch.name) && (automatic === null || automatic.worktree || branch.name !== automatic.name))\n .map(branch => ({ key: branch.ref, name: branch.name, base: branch })),\n },\n {\n id: 'local',\n label: t('diff.base.local'),\n options: (value?.local ?? []).filter(branch => matches(branch.name))\n .map(branch => ({ key: branch.ref, name: branch.name, base: branch })),\n },\n ].filter(group => group.options.length > 0)\n const first = groups[0]?.options[0]\n\n let body: ReactNode\n if (listing === null) {\n body = <div className={css.status} role=\"status\"><StateDot state=\"ongoing\" />{t('diff.base.loading')}</div>\n } else if (!listing.ok) {\n body = (\n <div className={css.status} role=\"status\">\n <span>{t('toast.branchesFailed')}</span>\n <Button size=\"sm\" variant=\"outline\" onClick={() => { setAttempt(count => count + 1) }}>{t('retry')}</Button>\n </div>\n )\n } else if (groups.length === 0) {\n body = <div className={css.status}>{t('diff.base.empty')}</div>\n } else {\n body = groups.map(group => (\n <div key={group.id} role=\"group\" aria-label={group.label}>\n {/* The automatic row's tag names it, so its group shows no heading. */}\n {group.id !== 'automatic' && <div className={css.label} role=\"presentation\">{group.label}</div>}\n {group.options.map((option) => {\n const selected = (option.base?.ref ?? null) === (chosen?.ref ?? null)\n return (\n <MenuItemButton key={option.key} icon={<IconBranchOutlineRegular size={14} />} current={selected}\n onSelect={() => { pick(option.base) }}>\n <span className={css.option}>\n <span className={css.name}>{option.name}</span>\n {option.tag !== undefined && <span className={css.tag}>{option.tag}</span>}\n {selected && <IconCheckOutlineRegular size={14} className={css.check} />}\n </span>\n </MenuItemButton>\n )\n })}\n </div>\n ))\n }\n\n return (\n <Menu\n open={shown}\n portal\n dense\n align=\"start\"\n className={css.anchor}\n listClassName={css.menu}\n onClose={close}\n anchor={(\n <Tooltip label={t('diff.base.aria', { base: label })} side=\"bottom\" portal delayMs={500}>\n <button type=\"button\" className={clsx(css.trigger, missing && css.missing)} aria-haspopup=\"menu\" aria-expanded={shown}\n aria-label={t('diff.base.aria', { base: label })} data-forge-base={chosen?.ref ?? ''}\n onClick={() => { if (shown) close(); else setOpen(true) }}>\n {missing && <IconWarningTriangleOutlineRegular size={12} className={css.warning} />}\n <span className={css.triggerName}>{label}</span>\n <IconChevronDownOutlineRegular size={12} />\n </button>\n </Tooltip>\n )}\n >\n <div className={css.root} data-forge-base-menu=\"\">\n <div className={css.search}>\n <Input ref={search} className={clsx(css.searchInput)} icon={<IconSearchOutlineRegular size={14} />} value={query}\n aria-label={t('diff.base.search')} placeholder={t('diff.base.search')}\n onChange={(event) => { setQuery(event.target.value) }}\n onKeyDown={(event) => { searchFieldKeyDown(event, first === undefined ? undefined : () => { pick(first.base) }) }} />\n </div>\n <div className={css.rows}>{body}</div>\n <div className={css.note}>{t('diff.base.note')}</div>\n </div>\n </Menu>\n )\n}\n","/**\n * Checks of a chosen run of commits against a commit list, shared by the Host, which reads the run's changes, and the\n * commit picker, which refuses a run before asking for them.\n */\n\nimport type { ForgeCommit } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { ForgeCommitRange } from './types.ts'\n\n/**\n * Find the first commit of a chosen run in a commit list. Two ends describe the run only when each commit after the\n * first has the commit listed before it as its first parent, so the changes from the first commit's first parent to the\n * last commit are exactly the run's changes.\n * @param commits - listed commits, oldest first.\n * @param range - the chosen run.\n * @returns the first chosen commit; `missing` when an end is not listed or `to` is listed before `from`; `not-linear`\n * when a commit of the run does not have the commit listed before it as its first parent.\n */\nexport function rangeStart(commits: readonly ForgeCommit[], range: ForgeCommitRange): ForgeCommit | 'missing' | 'not-linear' {\n const first = commits.findIndex(commit => commit.sha === range.from)\n const last = commits.findIndex(commit => commit.sha === range.to)\n const start = commits[first]\n if (start === undefined || last < first) return 'missing'\n for (let index = first + 1; index <= last; index++) {\n if (commits[index]?.parent !== commits[index - 1]?.sha) return 'not-linear'\n }\n return start\n}\n","/** Localized durations and relative times shown on change request cards. */\n\nimport { relativeTime } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { NS } from './locales.ts'\n\ntype Translate = PropsLocale<typeof NS>['t']\n\n/**\n * Format an elapsed time as hours and minutes, minutes and seconds, or seconds.\n * @param ms - elapsed milliseconds.\n * @param t - forge panel copy.\n * @returns the localized duration.\n */\nexport function formatDuration(ms: number, t: Translate): string {\n const total = Math.round(ms / 1000)\n const hours = Math.floor(total / 3600)\n const minutes = Math.floor(total % 3600 / 60)\n const seconds = total % 60\n if (hours > 0) return t('duration.hours', { hours, minutes })\n if (minutes > 0) return t('duration.minutes', { minutes, seconds })\n return t('duration.seconds', { seconds })\n}\n\n/**\n * Format how long ago an ISO 8601 time was.\n * @param iso - the time.\n * @param now - current epoch milliseconds.\n * @param t - forge panel copy.\n * @returns the localized relative time, or undefined when `iso` does not parse.\n */\nexport function formatAgo(iso: string, now: number, t: Translate): string | undefined {\n const at = Date.parse(iso)\n if (!Number.isFinite(at)) return undefined\n const { unit, n } = relativeTime(at, now)\n return t(`time.${unit}`, { n })\n}\n","/**\n * Commit picker of the changes header: every commit, or one commit, or with Shift a run of consecutive commits of a\n * change request or of the local `branch` scope, listed oldest first like the code host's commit list. A run is\n * accepted only when each of its commits has the one listed before it as its first parent.\n */\n\nimport { useEffect, useRef, useState, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport {\n Button, IconCheckOutlineRegular, IconChevronDownOutlineRegular, Menu, MenuItemButton, StateDot, Tooltip,\n} from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ForgeCommitList } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { RemoteResult } from '@deepseek-ai/dsh-typert-protocol'\nimport { rangeStart } from '../commit-range.ts'\nimport type { ForgeCommitRange, ForgeLocalCommits } from '../types.ts'\nimport { formatAgo } from './format.ts'\nimport type { NS } from './locales.ts'\nimport css from './CommitMenu.module.css'\n\n/** Characters of a commit object name the picker shows. */\nconst SHORT = 7\n\n/** Props of the commit picker. */\nexport interface CommitMenuProps extends PropsLocale<typeof NS> {\n /** Commits shown, or null for all of them. */\n readonly chosen: ForgeCommitRange | null\n /** Whether the owning tab is visible; a hidden tab keeps the menu closed. */\n readonly visible: boolean\n /** Read the commits; null means the source cannot show single commits. `signal` aborts the read. */\n readonly list: (signal: AbortSignal) => Promise<RemoteResult<ForgeCommitList | ForgeLocalCommits | null>>\n /** Which commits a truncated list keeps: a change request lists its oldest ones, the local branch its newest ones. */\n readonly kept: 'oldest' | 'newest'\n /** Changes when the commits may have changed, such as a new head commit or a refresh; the commits are read once per value. */\n readonly version: string\n /** Show consecutive commits, or every commit for null. */\n readonly choose: (commits: ForgeCommitRange | null) => void\n}\n\n/**\n * Name the shown commits on the trigger.\n * @param chosen - the shown commits, or null for all of them.\n * @param t - forge panel copy.\n * @returns the label.\n */\nexport function commitsLabel(chosen: ForgeCommitRange | null, t: PropsLocale<typeof NS>['t']): string {\n if (chosen === null) return t('commits.all')\n if (chosen.from === chosen.to) return chosen.from.slice(0, SHORT)\n return t('commits.range', { from: chosen.from.slice(0, SHORT), to: chosen.to.slice(0, SHORT) })\n}\n\n/**\n * Render the trigger and, while open, the commit list. A click shows one commit; a Shift click shows the commits\n * from the last commit clicked without Shift to the clicked one.\n * @param props - the shown commits, the listing read, the choose action, and copy.\n * @returns the trigger with its portalled menu, or nothing when the source cannot show single commits.\n */\nexport function CommitMenu({ chosen, visible, list, kept, version, choose, t }: CommitMenuProps): ReactNode {\n const [open, setOpen] = useState(false)\n const [attempt, setAttempt] = useState(0)\n const [rejected, setRejected] = useState(false)\n const [listing, setListing] = useState<{\n readonly key: string\n readonly result: RemoteResult<ForgeCommitList | ForgeLocalCommits | null>\n } | null>(null)\n const shift = useRef(false)\n const anchor = useRef<string | null>(chosen?.from ?? null)\n const loaded = useRef<string | null>(null)\n const shown = visible && open\n const key = `${version}\\n${String(attempt)}`\n const current = listing?.key === key ? listing.result : null\n // The list is read once per version, which also tells whether the source has commits to pick, and again on a retry.\n useEffect(() => {\n if (!visible || loaded.current === key) return\n const controller = new AbortController()\n void list(controller.signal).then((result) => {\n if (controller.signal.aborted) return\n loaded.current = key\n setListing({ key, result })\n })\n return () => { controller.abort() }\n }, [visible, key, list])\n if (current?.ok === true && current.value === null) return null\n const commits = current?.ok === true && current.value !== null ? current.value : null\n const close = (): void => {\n setOpen(false)\n setRejected(false)\n }\n const pick = (sha: string | null): void => {\n if (sha === null || commits === null) {\n close()\n anchor.current = null\n if (chosen !== null) choose(null)\n return\n }\n const order = commits.commits.map(commit => commit.sha)\n const start = shift.current && anchor.current !== null && order.includes(anchor.current) ? anchor.current : sha\n const [from, to] = order.indexOf(start) <= order.indexOf(sha) ? [start, sha] : [sha, start]\n // Two ends cannot name a run that leaves the first-parent line, so the menu stays open and says why.\n if (rangeStart(commits.commits, { from, to }) === 'not-linear') {\n setRejected(true)\n return\n }\n close()\n if (!shift.current || start === sha) anchor.current = sha\n if (from !== chosen?.from || to !== chosen.to) choose({ from, to })\n }\n const inChosen = (index: number): boolean => {\n if (chosen === null || commits === null) return false\n const order = commits.commits.map(commit => commit.sha)\n return index >= order.indexOf(chosen.from) && index <= order.indexOf(chosen.to) && order.includes(chosen.from)\n }\n\n let body: ReactNode\n if (current === null) {\n body = <div className={css.status} role=\"status\"><StateDot state=\"ongoing\" />{t('commits.loading')}</div>\n } else if (!current.ok || commits === null) {\n body = (\n <div className={css.status} role=\"status\">\n <span>{t('commits.failed')}</span>\n <Button size=\"sm\" variant=\"outline\" onClick={() => { setAttempt(count => count + 1) }}>{t('retry')}</Button>\n </div>\n )\n } else {\n const now = Date.now()\n body = <>\n <MenuItemButton current={chosen === null} onSelect={() => { pick(null) }}>\n <span className={css.option}>\n <span className={css.allTitle}>{t('commits.all')}</span>\n <span className={css.meta}>{t('commits.count', { count: commits.commits.length })}</span>\n {chosen === null && <IconCheckOutlineRegular size={14} className={css.check} />}\n </span>\n </MenuItemButton>\n {commits.commits.length > 0 && <div className={css.label} role=\"presentation\">{t('commits.shiftHint')}</div>}\n {commits.commits.map((commit, index) => {\n const selected = inChosen(index)\n return (\n <MenuItemButton key={commit.sha} current={selected} onSelect={() => { pick(commit.sha) }}>\n <span className={css.option} data-forge-commit={commit.sha}>\n <span className={css.sha}>{commit.sha.slice(0, SHORT)}</span>\n <span className={css.title}>{commit.title}</span>\n <span className={css.meta}>{formatAgo(commit.authoredAt, now, t) ?? ''}</span>\n <span className={clsx(css.check, !selected && css.unchecked)}><IconCheckOutlineRegular size={14} /></span>\n </span>\n </MenuItemButton>\n )\n })}\n {commits.truncated && (\n <div className={css.note}>\n {t(kept === 'oldest' ? 'commits.truncatedOldest' : 'commits.truncatedNewest', { count: commits.commits.length })}\n </div>\n )}\n </>\n }\n\n const label = commitsLabel(chosen, t)\n return (\n <Menu\n open={shown}\n portal\n dense\n align=\"end\"\n className={css.anchor}\n listClassName={css.menu}\n onClose={close}\n anchor={(\n <Tooltip label={t('commits.aria', { commits: label })} side=\"bottom\" portal delayMs={500}>\n <button type=\"button\" className={clsx(css.trigger, chosen !== null && css.chosen)} aria-haspopup=\"menu\" aria-expanded={shown}\n aria-label={t('commits.aria', { commits: label })} data-forge-commits={chosen === null ? '' : `${chosen.from}..${chosen.to}`}\n onClick={() => { setOpen(value => !value); setRejected(false) }}>\n <span className={css.triggerName}>{label}</span>\n <IconChevronDownOutlineRegular size={12} />\n </button>\n </Tooltip>\n )}\n >\n {/* Rows report activation without the event, so the modifier is read while the click or key travels to them. */}\n <div className={css.rows} data-forge-commit-menu=\"\"\n onClickCapture={(event) => { shift.current = event.shiftKey }}\n onKeyDownCapture={(event) => { shift.current = event.shiftKey }}>\n {body}\n </div>\n {rejected && <div className={css.rejected} role=\"status\">{t('commits.notLinear')}</div>}\n </Menu>\n )\n}\n","/**\n * Review controls of the changes toolbar: the lens that keeps the files of one review layer, as a full-width\n * radio group above the file tree or as a menu where no tree shows; the switch that hides test files; and the\n * share of shown files the reader marked viewed. The thread list shares the segmented radio group.\n */\n\nimport { useRef, useState, type KeyboardEvent, type ReactNode } from 'react'\nimport { IconChevronDownOutlineRegular, Menu, Switch, Tooltip, type MenuEntry } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ChangesLens } from './changes-store.ts'\nimport type { ForgePanelKey, NS } from './locales.ts'\nimport css from './ReviewControls.module.css'\n\n/** Lenses in display order. */\nexport const LENSES: readonly ChangesLens[] = ['all', 'interface', 'implementation', 'test']\n\nconst LENS_LABEL: Record<ChangesLens, ForgePanelKey> = {\n all: 'lens.all',\n interface: 'lens.interface',\n implementation: 'lens.implementation',\n test: 'lens.test',\n}\n\n/** Props shared by both forms of the lens. */\nexport interface LensProps extends PropsLocale<typeof NS> {\n /** The lens shown. */\n readonly lens: ChangesLens\n /** Files each lens keeps among the files the switch leaves. */\n readonly counts: Readonly<Record<ChangesLens, number>>\n /** Whether test files hide, which disables the `test` lens. */\n readonly hideTests: boolean\n /** Show another lens. */\n readonly choose: (lens: ChangesLens) => void\n}\n\n/** One segment of a {@link SegmentedChoice}. */\nexport interface Segment<Value extends string> {\n /** Value the segment chooses. */\n readonly value: Value\n /** Localized label. */\n readonly label: string\n /** Count shown after the label, or null for none. */\n readonly count: number | null\n /** Localized hover text of a disabled segment, or null for an enabled one. */\n readonly disabledTip: string | null\n}\n\n/**\n * Render a radio group whose segments share its width, each with a count after its label; arrow keys, Home, and End\n * move between enabled segments.\n * @param props - the segments, the chosen value, the choose action, and the group's localized accessible name.\n * @returns the radio group.\n */\nexport function SegmentedChoice<Value extends string>({ segments, value, choose, label }: {\n readonly segments: readonly Segment<Value>[]\n readonly value: Value\n readonly choose: (value: Value) => void\n readonly label: string\n}): ReactNode {\n const group = useRef<HTMLDivElement>(null)\n const enabled = segments.filter(segment => segment.disabledTip === null).map(segment => segment.value)\n const move = (event: KeyboardEvent<HTMLButtonElement>): void => {\n const at = enabled.indexOf(value)\n let next: Value | undefined\n switch (event.key) {\n case 'ArrowLeft': case 'ArrowUp': next = enabled[(at + enabled.length - 1) % enabled.length]; break\n case 'ArrowRight': case 'ArrowDown': next = enabled[(at + 1) % enabled.length]; break\n case 'Home': next = enabled[0]; break\n case 'End': next = enabled.at(-1); break\n default: return\n }\n event.preventDefault()\n event.stopPropagation()\n /* v8 ignore next -- every caller keeps a segment enabled, so every key lands on one */\n if (next === undefined) return\n choose(next)\n group.current?.querySelector<HTMLButtonElement>(`[data-segment=\"${next}\"]`)?.focus()\n }\n return (\n <div ref={group} role=\"radiogroup\" aria-label={label} className={css.segmented}>\n {segments.map((segment) => {\n const button = (\n <button key={segment.value} type=\"button\" role=\"radio\" className={css.segment} aria-checked={value === segment.value}\n disabled={segment.disabledTip !== null} tabIndex={value === segment.value ? 0 : -1} data-segment={segment.value}\n onKeyDown={move} onClick={() => { choose(segment.value) }}>\n <span className={css.segmentLabel}>{segment.label}</span>\n <span className={css.count}>{segment.count ?? ''}</span>\n </button>\n )\n return segment.disabledTip === null ? button : <Tooltip key={segment.value} label={segment.disabledTip} side=\"bottom\">{button}</Tooltip>\n })}\n </div>\n )\n}\n\n/**\n * Render the lens as a radio group whose segments share its width.\n * @param props - the lens, its counts, whether test files hide, the choose action, and copy.\n * @returns the radio group.\n */\nexport function LensControl({ lens, counts, hideTests, choose, t }: LensProps): ReactNode {\n // A disabled lens shows no count, since hidden test files are not counted.\n return <SegmentedChoice label={t('lens.aria')} value={lens} choose={choose} segments={LENSES.map(item => item === 'test' && hideTests\n ? { value: item, label: t(LENS_LABEL[item]), count: null, disabledTip: t('lens.testHidden') }\n : { value: item, label: t(LENS_LABEL[item]), count: counts[item], disabledTip: null })} />\n}\n\n/**\n * Render the lens as a menu button, for a toolbar without the file tree beside it.\n * @param props - the lens, its counts, whether test files hide, the choose action, copy, and whether the owning tab is visible.\n * @returns the trigger with its portalled menu.\n */\nexport function LensMenu({ lens, counts, hideTests, choose, visible, t }: LensProps & { readonly visible: boolean }): ReactNode {\n const [open, setOpen] = useState(false)\n const items: MenuEntry[] = LENSES.map((item) => {\n // Like the segment, a disabled lens shows no count, since hidden test files are not counted.\n const disabled = item === 'test' && hideTests\n return {\n id: item,\n disabled,\n label: <span className={css.menuRow}><span>{t(LENS_LABEL[item])}</span><span className={css.count}>{disabled ? '' : counts[item]}</span></span>,\n }\n })\n return (\n <Menu open={visible && open} portal dense align=\"start\" autoFocus selectedId={lens} items={items}\n onClose={() => { setOpen(false) }}\n onSelect={(id) => {\n setOpen(false)\n choose(id as ChangesLens)\n }}\n anchor={(\n <button type=\"button\" className={css.trigger} aria-haspopup=\"menu\" aria-expanded={visible && open}\n aria-label={t('lens.menuAria', { lens: t(LENS_LABEL[lens]) })} data-forge-lens-menu={lens}\n onClick={() => { setOpen(value => !value) }}>\n {t(LENS_LABEL[lens])}\n <IconChevronDownOutlineRegular size={12} />\n </button>\n )} />\n )\n}\n\n/**\n * Render the switch that hides test files, with its label beside it where the toolbar has room.\n * @param props - whether test files hide, the toggle action, and copy.\n * @returns the switch and its label.\n */\nexport function HideTestsSwitch({ hidden, toggle, t }: PropsLocale<typeof NS> & {\n readonly hidden: boolean\n readonly toggle: () => void\n}): ReactNode {\n return (\n <Tooltip label={t('tests.hideHint')} side=\"bottom\">\n {/* A label forwards a click on its text to the switch, its first labelable descendant. */}\n <label className={css.switch} data-forge-hide-tests=\"\">\n <Switch checked={hidden} label={t('tests.hide')} onChange={toggle} />\n <span className={css.switchLabel} aria-hidden=\"true\">{t('tests.hide')}</span>\n </label>\n </Tooltip>\n )\n}\n\n/** Radius of the progress ring, inside its 14px box with a 2px stroke. */\nconst RING_RADIUS = 5.5\n\n/**\n * Render how many of the shown files the reader marked viewed: a ring filled to the viewed share, then a label, or the\n * bare count that a narrow toolbar shows instead (`data-forge-progress` names each form for the toolbar's styles).\n * @param props - the viewed and shown file counts, and copy.\n * @returns the progress, or nothing without shown files.\n */\nexport function ViewedProgress({ viewed, total, t }: PropsLocale<typeof NS> & {\n readonly viewed: number\n readonly total: number\n}): ReactNode {\n if (total === 0) return null\n const counts = { viewed: String(viewed), total: String(total) }\n const label = t('viewed.progress', counts)\n const circumference = 2 * Math.PI * RING_RADIUS\n return (\n <span className={css.progress} role=\"progressbar\" aria-label={t('viewed.progressAria')} aria-valuemin={0} aria-valuemax={total}\n aria-valuenow={viewed} aria-valuetext={label} data-forge-viewed-progress={`${viewed}/${total}`}>\n <svg className={css.ring} viewBox=\"0 0 14 14\" aria-hidden=\"true\">\n <circle className={css.ringTrack} cx=\"7\" cy=\"7\" r={RING_RADIUS} />\n <circle className={css.ringFill} cx=\"7\" cy=\"7\" r={RING_RADIUS}\n strokeDasharray={`${(viewed / total) * circumference} ${circumference}`} />\n </svg>\n <span className={css.progressForm} data-forge-progress=\"full\">{label}</span>\n <span className={css.progressForm} data-forge-progress=\"compact\">{t('viewed.count', counts)}</span>\n </span>\n )\n}\n","/**\n * Viewed marks a code host keeps for a whole change request. The changes view reads them with the diff and shows each\n * mark the reader sets at once, while the host saves it; a mark the host refuses returns to what the host keeps, and a\n * mark the host may have saved stays.\n */\n\nimport { useMemo, useRef, useState } from 'react'\nimport type { ForgeViewedFiles, ForgeViewedRequest, ForgeViewedState } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { RemoteResult } from '@deepseek-ai/dsh-typert-protocol'\nimport type { ForgeDiffFile } from '../types.ts'\nimport type { ViewedMarks } from './viewed-files.ts'\n\n/** The host's marks on the files of one diff, or why the view could not read them. */\nexport type HostViewed =\n | { readonly kind: 'read'; readonly files: Readonly<Record<string, ForgeViewedState>> }\n | { readonly kind: 'failed'; readonly message: string }\n\n/** A loaded change request diff whose marks the host keeps. */\nexport interface HostViewedOwner {\n /** Binding URL of the change request. */\n readonly url: string\n /** Head commit the diff and its marks were read at. */\n readonly headSha: string\n /** Files of the diff with the digest of each change. */\n readonly files: readonly ForgeDiffFile[]\n /** The host's marks. */\n readonly viewed: HostViewed\n}\n\n/**\n * Why a mark the host did not save returned to its previous state, or why the view cannot tell whether the host saved\n * a mark it keeps showing.\n */\nexport type HostViewedFailure =\n | { readonly kind: 'stale' }\n | { readonly kind: 'failed'; readonly message: string }\n | { readonly kind: 'unknown'; readonly message: string }\n\n/** The host's marks of the shown diff with the reader's writes. */\nexport interface HostViewedMarks {\n /** Marks as digests, so a mark of the current change matches the file's digest and a dismissed mark matches none. */\n readonly marks: ViewedMarks\n /** Whether the host's marks could not be read, so no file can be marked. */\n readonly unavailable: boolean\n /** Whether a write of the file's mark is in flight. */\n readonly saving: (path: string) => boolean\n /**\n * Show a mark at once and save it on the host.\n * @param path - the file's path.\n * @param viewed - whether the file is viewed.\n * @returns false, changing nothing, while the marks are unavailable or the file's previous write is in flight.\n */\n readonly mark: (path: string, viewed: boolean) => boolean\n}\n\n/**\n * The reader's mark of one file over the host's. It applies to every read of its change request and head while its\n * write is in flight, and once settled only to `read`, the read shown when it settled, which may not hold it yet.\n */\ninterface Choice {\n readonly viewed: boolean\n readonly read: HostViewedOwner\n readonly saving: boolean\n}\n\n/** The reader's marks of one change request at one head, by path. */\ninterface Choices {\n readonly key: string | null\n readonly files: ReadonlyMap<string, Choice>\n}\n\nconst NO_CHOICES: ReadonlyMap<string, boolean> = new Map()\nconst NO_MARKS: ViewedMarks = new Map()\n\n/** Digest a dismissed mark records: no file change digests to it, so the file reads as changed since it was viewed. */\nconst DISMISSED = ''\n\n/** Identity of the marks a read holds: one change request at one head commit. */\nfunction keyOf(owner: HostViewedOwner): string {\n return `${owner.url}\\n${owner.headSha}`\n}\n\n/**\n * Convert the host's marks of a diff to digests, with the reader's choices taking the place of the host's.\n * @param files - files of the diff with the digest of each change.\n * @param host - the host's state of each file the host listed.\n * @param chosen - the reader's marks that apply to the diff, by path.\n * @returns the digest of each file marked viewed or dismissed.\n */\nexport function hostMarksOf(\n files: readonly ForgeDiffFile[],\n host: Readonly<Record<string, ForgeViewedState>>,\n chosen: ReadonlyMap<string, boolean>,\n): ViewedMarks {\n const marks = new Map<string, string>()\n for (const file of files) {\n const choice = chosen.get(file.path)\n // Only the host's own entries count, so a path such as `constructor` never reads an inherited property.\n const state = choice === undefined ? Object.hasOwn(host, file.path) ? host[file.path] : undefined\n : choice ? 'viewed' : 'unviewed'\n if (state === 'viewed') marks.set(file.path, file.digest)\n else if (state === 'dismissed') marks.set(file.path, DISMISSED)\n }\n return marks\n}\n\n/**\n * Convert a read of the host's marks to the state the view keeps for a diff read at `headSha`.\n * @param result - the read, or null when the diff shows chosen commits, which the host keeps no marks for.\n * @param headSha - head commit the diff was read at.\n * @returns the marks, why they could not be read, or null when the browser keeps the marks instead.\n */\nexport function hostViewedOf(result: RemoteResult<ForgeViewedFiles | null> | null, headSha: string): HostViewed | null {\n if (result === null) return null\n if (!result.ok) return { kind: 'failed', message: result.error.message }\n if (result.value === null) return null\n return result.value.headSha === headSha ? { kind: 'read', files: result.value.files }\n // The diff and the marks were read at two heads, so neither matches the other.\n : { kind: 'failed', message: `viewed marks were read at ${result.value.headSha}, the diff at ${headSha}` }\n}\n\n/**\n * Keep the reader's marks of a change request at one head over the host's, saving each on the host. A read at the same\n * head keeps the marks whose writes are in flight and their locks; a mark whose write settled stays until the next read,\n * which then holds what the host saved. A read at another head or of another change request starts without choices.\n * @param owner - the shown diff when the host keeps its marks, else null.\n * @param save - saves one mark on the host.\n * @param failed - reports a mark the host did not save after it returned to its previous state, or a mark the host may\n * not have saved.\n * @returns the marks and the write action, or null when the browser keeps the marks.\n */\nexport function useHostViewed(\n owner: HostViewedOwner | null,\n save: (url: string, request: ForgeViewedRequest) => Promise<RemoteResult<void>>,\n failed: (failure: HostViewedFailure) => void,\n): HostViewedMarks | null {\n const [choices, setChoices] = useState<Choices>({ key: null, files: new Map() })\n // The read a write that settles later finds shown; assigned in render so a settlement after this render sees it.\n const shown = useRef(owner)\n shown.current = owner\n const key = owner === null ? null : keyOf(owner)\n const applying = useMemo(() => {\n if (owner === null || choices.key !== key) return new Map<string, Choice>()\n return new Map([...choices.files].filter(([, choice]) => choice.saving || choice.read === owner))\n }, [owner, key, choices])\n const marks = useMemo(() => {\n if (owner?.viewed.kind !== 'read') return NO_MARKS\n const chosen = applying.size === 0 ? NO_CHOICES : new Map([...applying].map(([path, choice]) => [path, choice.viewed]))\n return hostMarksOf(owner.files, owner.viewed.files, chosen)\n }, [owner, applying])\n if (owner === null || key === null) return null\n const { viewed } = owner\n const saving = (path: string): boolean => applying.get(path)?.saving === true\n /** Settle the write of `path` at this key: keep `next` for the read shown now, or drop the choice. */\n const settle = (path: string, next: boolean | undefined): void => {\n setChoices((current) => {\n if (current.key !== key) return current\n const files = new Map(current.files)\n // A read at another key never takes these choices, so only a view without the host's marks keeps the original read.\n const read = shown.current ?? owner\n if (next === undefined) files.delete(path)\n else files.set(path, { viewed: next, read, saving: false })\n return { key, files }\n })\n }\n return {\n marks,\n unavailable: viewed.kind === 'failed',\n saving,\n mark: (path, value) => {\n if (viewed.kind === 'failed' || saving(path)) return false\n const previous = applying.get(path)?.viewed\n setChoices((current) => {\n const files = new Map(current.key === key ? current.files : [])\n return { key, files: files.set(path, { viewed: value, read: owner, saving: true }) }\n })\n void save(owner.url, { path, viewed: value, headSha: owner.headSha }).then((result) => {\n if (result.ok) {\n settle(path, value)\n return\n }\n const { code, message } = result.error\n // The host may have saved a mark it did not confirm, so the mark stays and the reader is told to check.\n if (code === 'forgePanel/action-unknown') {\n settle(path, value)\n failed({ kind: 'unknown', message })\n return\n }\n settle(path, previous)\n failed(code === 'forgePanel/stale-head' ? { kind: 'stale' } : { kind: 'failed', message })\n })\n return true\n },\n }\n}\n","/** Read browser text selections from one diff side without including the interleaved opposite column. */\n\n/** Selected displayed lines and the exact selected text on their side. */\nexport interface CodeSelection {\n readonly side: 'L' | 'R'\n readonly from: number\n readonly to: number\n readonly text: string\n}\n\nfunction codeAt(node: Node | null): HTMLElement | null {\n return (node instanceof Element ? node : node?.parentElement)?.closest<HTMLElement>('[data-review-code]') ?? null\n}\n\n/**\n * Find the side where a text selection begins; unified context belongs to the new side.\n * @param root - this file's diff element.\n * @param node - pointer or selection anchor.\n * @returns the available side, or undefined outside code text.\n */\nexport function codeSideAt(root: HTMLElement, node: Node | null): 'L' | 'R' | undefined {\n const code = codeAt(node)\n if (code === null || !root.contains(code)) return undefined\n return code.dataset.newLine === undefined ? 'L' : 'R'\n}\n\n/**\n * Read only code fragments from the selected side, retaining partial first and last lines for copy.\n * @param root - this file's diff element.\n * @param side - side captured when the gesture began.\n * @returns the selected range and text, or undefined for collapsed or cross-file selections.\n */\nexport function readCodeSelection(root: HTMLElement, side: 'L' | 'R'): CodeSelection | undefined {\n const selection = root.ownerDocument.getSelection()\n if (selection === null || selection.isCollapsed || selection.rangeCount === 0\n || !root.contains(selection.anchorNode) || !root.contains(selection.focusNode)) return undefined\n const range = selection.getRangeAt(0)\n const fragments: { line: number; text: string }[] = []\n for (const code of root.querySelectorAll<HTMLElement>('[data-review-code]')) {\n const line = side === 'L' ? code.dataset.oldLine : code.dataset.newLine\n if (line === undefined || !range.intersectsNode(code)) continue\n const part = root.ownerDocument.createRange()\n part.selectNodeContents(code)\n if (code.contains(range.startContainer)) part.setStart(range.startContainer, range.startOffset)\n if (code.contains(range.endContainer)) part.setEnd(range.endContainer, range.endOffset)\n const text = part.toString()\n if (text !== '' || code.textContent === '') fragments.push({ line: Number(line), text })\n }\n const first = fragments[0]\n const last = fragments.at(-1)\n if (first === undefined || last === undefined) return undefined\n return { side, from: first.line, to: last.line, text: fragments.map(item => item.text).join('\\n') }\n}\n","/** Plain-text comment editor for a frozen selection in either review tab. */\n\nimport { useEffect, useRef, useState, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport { Button, IconChevronDownOutlineRegular, Menu, MenuItemButton } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ReviewQueue } from './review-queue.ts'\nimport { reviewRange, type ReviewSelection, type ReviewSource } from './review.ts'\nimport type { NS } from './locales.ts'\nimport css from './ReviewComposer.module.css'\n\n/** Actions supplied by the owning changes tab. */\nexport interface ReviewActions {\n /** The source currently displayed; selecting a range freezes it. */\n readonly source: ReviewSource\n /** Browser records shared by the changes tab. */\n readonly records?: ReviewQueue\n /** Whether the signed-in user has a pending review on the code host that the next comment joins. */\n readonly reviewStarted?: boolean\n /** Open the confirmed publication URL. */\n readonly openLink?: (url: string) => void\n /** A write is running or its outcome still needs confirmation. */\n readonly publishingBlocked?: boolean\n /** Append an atomic quote without sending the Agent a message. */\n readonly addToInput: (selection: ReviewSelection) => boolean\n /** Retain a new comment after its quote was accepted. */\n readonly onQuoted?: (selection: ReviewSelection) => void\n /** Publish one comment; an error string preserves the editor. */\n readonly publish?: (selection: ReviewSelection) => Promise<string | undefined>\n /** Add one comment to the pending review on the code host, starting one when needed; an error string preserves the editor. */\n readonly queue?: (selection: ReviewSelection) => Promise<string | undefined>\n}\n\n/**\n * Render a primary action with an optional second action in its menu.\n * @param props - the main action, the optional menu action, the menu's name, and availability.\n * @returns the split button.\n */\nexport function SplitAction({ disabled, label, run, menuLabel, menu, other }: {\n readonly disabled: boolean\n readonly label: string\n readonly run: () => void\n /** Accessible name of the menu button. */\n readonly menuLabel: string\n /** Label of the action in the menu, or undefined without one. */\n readonly other: string | undefined\n readonly menu: () => void\n}): ReactNode {\n const [open, setOpen] = useState(false)\n return <div className={css.gitAction}>\n <Button size=\"sm\" variant=\"primary\" className={clsx(other !== undefined && css.gitMain)} disabled={disabled} onClick={run}>{label}</Button>\n {other !== undefined && <Menu open={open && !disabled} portal dense align=\"end\" autoFocus onClose={() => { setOpen(false) }}\n anchor={<Button size=\"sm\" variant=\"primary\" className={clsx(css.gitArrow)} disabled={disabled} aria-haspopup=\"menu\" aria-expanded={open && !disabled}\n aria-label={menuLabel} onClick={() => { setOpen(value => !value) }}><IconChevronDownOutlineRegular size={14} /></Button>}>\n <MenuItemButton onSelect={() => { setOpen(false); menu() }}>{other}</MenuItemButton>\n </Menu>}\n </div>\n}\n\n/**\n * Render the line range, plain-text editor, and explicitly named destinations.\n * @param props - frozen selection, actions, cancellation, and localized copy.\n * @returns the inline comment form.\n */\nexport function ReviewComposer({ selection, actions, close, visible = true, t }: PropsLocale<typeof NS> & {\n readonly visible?: boolean\n readonly selection: ReviewSelection\n readonly actions: ReviewActions\n readonly close: () => void\n}): ReactNode {\n // The native field owns draft text; only action availability invalidates the surrounding diff's React tree.\n const body = useRef(selection.comment.body)\n const [empty, setEmpty] = useState(body.current.trim() === '')\n const [busy, setBusy] = useState(false)\n const [error, setError] = useState<string | null>(null)\n const running = useRef(false)\n const input = useRef<HTMLTextAreaElement>(null)\n useEffect(() => { input.current?.focus() }, [])\n const comment = (): ReviewSelection => ({ ...selection, comment: { ...selection.comment, body: body.current } })\n const range = reviewRange(selection.comment)\n /** Send the comment to the code host, closing the form once it is taken and keeping its text otherwise. */\n const send = async (destination: ((selection: ReviewSelection) => Promise<string | undefined>) | undefined): Promise<void> => {\n if (running.current || destination === undefined) return\n running.current = true\n setBusy(true)\n setError(null)\n try {\n const failure = await destination(comment())\n if (failure === undefined) close()\n else setError(failure)\n } catch (_error) {\n setError(t('review.unknown'))\n } finally {\n running.current = false\n setBusy(false)\n }\n }\n return (\n <section className={css.root} aria-label={t('review.range', { range })}\n data-forge-comment={`${selection.comment.side}${selection.comment.startLine}-${selection.comment.endLine}`}>\n <div className={css.title}>{t('review.range', { range })}</div>\n <textarea ref={input} className={css.input} rows={3} defaultValue={selection.comment.body} disabled={busy}\n aria-label={t('review.comment')} placeholder={t('review.comment')}\n onChange={(event) => {\n body.current = event.target.value\n const nextEmpty = body.current.trim() === ''\n if (nextEmpty !== empty) setEmpty(nextEmpty)\n if (error !== null) setError(null)\n }} />\n {error !== null && <div className={css.error} role=\"alert\">{error}</div>}\n <div className={css.actions}>\n <Button size=\"sm\" className={clsx(css.cancel)} disabled={busy} onClick={close}>{t('review.cancel')}</Button>\n <Button size=\"sm\" variant={actions.queue === undefined ? 'primary' : 'outline'} disabled={busy || empty} onClick={() => {\n const selected = comment()\n if (actions.addToInput(selected)) { actions.onQuoted?.(selected); close() }\n else setError(t('review.inputFailed'))\n }}>{t('review.addToInput')}</Button>\n {visible && actions.queue !== undefined && <SplitAction disabled={busy || actions.publishingBlocked === true || empty}\n label={t(busy ? 'review.publishing' : actions.reviewStarted === true ? 'review.queue' : 'review.startReview')}\n run={() => { void send(actions.queue) }} menuLabel={t('review.githubActions')}\n other={actions.publish === undefined ? undefined : t('review.publish')} menu={() => { void send(actions.publish) }} />}\n {actions.queue === undefined && actions.publish !== undefined && <Button size=\"sm\" variant=\"primary\"\n disabled={busy || actions.publishingBlocked === true || empty} onClick={() => { void send(actions.publish) }}>{t('review.publish')}</Button>}\n\n </div>\n </section>\n )\n}\n","/**\n * Review threads of a change request inside the changes view: a thread card at its lines or at the top of its file, a\n * resolved thread folded into one row, and the outdated threads of a file in a section after its lines. A card offers\n * the writes the signed-in user may make: a reply, published at once or added to the pending review, resolving or\n * unresolving the thread, and editing or deleting the user's own comments.\n */\n\nimport { useCallback, useEffect, useMemo, useRef, useState, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport {\n Button, IconCheckOutlineRegular, IconChevronDownOutlineRegular, IconEllipsisOutlineRegular, IconRightUpOutlineRegular, MarkdownText,\n Menu, Tag, Tooltip, type MarkdownLabels,\n} from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ForgeReviewComment, ForgeReviewThread, ForgeReviewWrite, ForgeThreadId } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { RemoteResult } from '@deepseek-ai/dsh-typert-protocol'\nimport { formatAgo } from './format.ts'\nimport { anchorRange, hunkExcerpt, type ThreadPlace } from './review-threads.ts'\nimport { SplitAction } from './ReviewComposer.tsx'\nimport type { NS } from './locales.ts'\nimport css from './ReviewThreads.module.css'\nimport composerCss from './ReviewComposer.module.css'\n\ntype Translate = PropsLocale<typeof NS>['t']\n\n/** Each member of a union without its `headSha`. */\ntype WithoutHead<T> = T extends unknown ? Omit<T, 'headSha'> : never\n\n/** A write to one thread or its comments, without the head commit the changes view adds. */\nexport type ThreadWrite = WithoutHead<Extract<ForgeReviewWrite, { readonly kind: 'reply' | 'resolve' | 'edit-comment' | 'delete-comment' }>>\n\n/** Writes the signed-in user can make to the threads of one changes view. */\nexport interface ThreadWrites {\n /** Send a write; resolves to the message to show, or undefined once the code host took it. */\n readonly write: (write: ThreadWrite) => Promise<string | undefined>\n /** Whether the user has a pending review, which every reply then joins. */\n readonly reviewStarted: boolean\n /** Whether the user can add a reply to a pending review, starting one when needed. */\n readonly canReview: boolean\n}\n\n/** Reads, actions, and identities every thread card of one changes view shares. */\nexport interface ThreadActions {\n /** Login of the change request's author, or null when the host hides it. */\n readonly author: string | null\n /** Quote the whole thread in the main input without sending it; false when the input refused it. */\n readonly addToInput: (thread: ForgeReviewThread, range: string | null) => boolean\n /** Open a URL outside the app. */\n readonly openLink: (url: string) => void\n /** Read a file of the change request's repository at a commit. */\n readonly readText: (commit: string, path: string) => Promise<RemoteResult<string>>\n /** Report that the input refused a thread. */\n readonly inputFailed: () => void\n /** The latest jump to a thread, which unfolds that thread and its section until the reader folds them again; null before any. */\n readonly focused: ThreadFocus | null\n /** Writes the user can make, or null when the code host takes none from this view. */\n readonly writes: ThreadWrites | null\n}\n\n/** One jump to a thread; each jump has its own revision, so a jump to the same thread unfolds it again. */\nexport interface ThreadFocus {\n readonly id: ForgeThreadId\n readonly revision: number\n}\n\n/** A host thread shown on lines of one side. */\nexport interface LineThread {\n readonly thread: ForgeReviewThread\n readonly place: Extract<ThreadPlace, { readonly kind: 'line' }>\n}\n\n/** Host threads of one file and the actions their cards share. */\nexport interface FileThreads {\n /** Threads on lines, which follow the row of their last line. */\n readonly lines: readonly LineThread[]\n /** Threads on the whole file, shown above its lines. */\n readonly file: readonly ForgeReviewThread[]\n /** Threads no longer on the head's lines, shown after them. */\n readonly outdated: readonly ForgeReviewThread[]\n /** Unresolved threads of the file in every place, including threads the chosen commits do not show. */\n readonly unresolved: number\n /** Reads, actions, and identities shared by the cards. */\n readonly actions: ThreadActions\n}\n\n/** The commit a thread was written on, abbreviated, or null for a file thread. */\nfunction writtenOn(thread: ForgeReviewThread): string | null {\n return thread.original === null ? null : thread.original.commit.slice(0, 7)\n}\n\n/**\n * Build the Markdown chrome copy of comment bodies.\n * @param t - forge panel copy.\n * @returns labels for code fences and footnotes.\n */\nexport function useMarkdownLabels(t: Translate): MarkdownLabels {\n return useMemo(() => ({\n code: { copyLabel: t('thread.copy'), copiedLabel: t('thread.copied'),\n toolbarLabels: { codeLabel: t('thread.codeBlock'), wrapLabel: t('thread.wrap'), unwrapLabel: t('thread.unwrap') } },\n footnotes: t('thread.footnotes'),\n }), [t])\n}\n\n/**\n * Render an author's avatar, or the first letter of the login when the image is missing or fails.\n * @param props - the comment's author and the avatar size.\n * @returns the round avatar.\n */\nexport function Avatar({ author, size = 20 }: { readonly author: ForgeReviewComment['author']; readonly size?: number }): ReactNode {\n const [failed, setFailed] = useState(false)\n const login = author?.login ?? '?'\n return <span className={css.avatar} style={{ width: size, height: size, fontSize: Math.round(size * 0.45) }} aria-hidden=\"true\">\n {author?.avatarUrl != null && !failed\n ? <img src={author.avatarUrl} alt=\"\" width={size} height={size} referrerPolicy=\"no-referrer\" onError={() => { setFailed(true) }} />\n : login.slice(0, 1).toUpperCase()}\n </span>\n}\n\n/** Run one write at a time for a card section, keeping its error until the next attempt. */\nfunction useWriting(t: Translate): {\n readonly busy: boolean\n readonly error: string | null\n readonly run: (send: () => Promise<string | undefined>) => Promise<boolean>\n} {\n const [busy, setBusy] = useState(false)\n const [error, setError] = useState<string | null>(null)\n const running = useRef(false)\n const run = async (send: () => Promise<string | undefined>): Promise<boolean> => {\n if (running.current) return false\n running.current = true\n setBusy(true)\n setError(null)\n try {\n const failure = await send()\n setError(failure ?? null)\n return failure === undefined\n } catch (_error) {\n setError(t('thread.writeUnknown'))\n return false\n } finally {\n running.current = false\n setBusy(false)\n }\n }\n return { busy, error, run }\n}\n\n/** A plain-text field with Cancel and the actions that send it, for a reply or a comment edit. */\nfunction TextForm({ label, initial, busy, error, cancel, children }: {\n readonly label: string\n readonly initial: string\n readonly busy: boolean\n readonly error: string | null\n readonly cancel: { readonly label: string; readonly run: () => void }\n /** The sending actions, given the current text and whether it is blank. */\n readonly children: (text: string, blank: boolean) => ReactNode\n}): ReactNode {\n const [text, setText] = useState(initial)\n return <div className={css.form}>\n <textarea autoFocus className={composerCss.input} rows={3} value={text} disabled={busy} aria-label={label} placeholder={label}\n onChange={(event) => { setText(event.target.value) }} />\n {error !== null && <div className={composerCss.error} role=\"alert\">{error}</div>}\n <div className={css.formActions}>\n <Button size=\"sm\" className={clsx(composerCss.cancel)} disabled={busy} onClick={cancel.run}>{cancel.label}</Button>\n {children(text, text.trim() === '')}\n </div>\n </div>\n}\n\n/** Tells the card which of its forms hold text the reader is writing, so it does not fold them away. */\ntype Drafting = (form: string, active: boolean) => void\n\nfunction Comment({ comment, last, actions, labels, now, drafting, t }: {\n readonly comment: ForgeReviewComment\n readonly drafting: Drafting\n /** Whether the comment is the only one of its thread, so deleting it deletes the thread. */\n readonly last: boolean\n readonly actions: ThreadActions\n readonly labels: MarkdownLabels\n readonly now: number\n readonly t: Translate\n}): ReactNode {\n const [mode, setMode] = useState<'view' | 'edit' | 'delete'>('view')\n useEffect(() => {\n drafting(comment.id, mode === 'edit')\n return () => { drafting(comment.id, false) }\n }, [drafting, comment.id, mode])\n const [menu, setMenu] = useState(false)\n const writing = useWriting(t)\n const writes = actions.writes\n const login = comment.author?.login ?? null\n const editable = writes !== null && comment.viewerCanEdit\n const deletable = writes !== null && comment.viewerCanDelete\n const menuLabel = t('thread.commentActions', { author: login ?? t('thread.deletedAuthor') })\n const send = async (write: ThreadWrite): Promise<void> => {\n if (writes !== null && await writing.run(() => writes.write(write))) setMode('view')\n }\n return <div className={css.comment} data-forge-thread-comment={comment.id}>\n <Avatar author={comment.author} />\n <div className={css.commentMain}>\n <div className={css.commentHeader}>\n <span className={css.login}>{login ?? t('thread.deletedAuthor')}</span>\n <span className={css.time} title={comment.createdAt}>{formatAgo(comment.createdAt, now, t) ?? comment.createdAt}</span>\n {login !== null && login === actions.author && <Tag tone=\"outline\">{t('thread.author')}</Tag>}\n {comment.author?.bot === true && <Tag tone=\"outline\">{t('thread.bot')}</Tag>}\n {comment.pending && <Tag tone=\"warning\">{t('review.pending')}</Tag>}\n {(editable || deletable) && mode === 'view' && <>\n <span className={css.spacer} />\n <Menu open={menu} portal dense align=\"end\" autoFocus onClose={() => { setMenu(false) }}\n items={[...editable ? [{ id: 'edit', label: t('review.edit') }] : [], ...deletable ? [{ id: 'delete', label: t('review.remove') }] : []]}\n onSelect={(id) => { setMenu(false); setMode(id === 'edit' ? 'edit' : 'delete') }}\n anchor={<span className={css.menuAnchor}><Tooltip label={menuLabel} side=\"bottom\">\n <button type=\"button\" className={css.icon} aria-label={menuLabel} aria-haspopup=\"menu\" aria-expanded={menu}\n onClick={() => { setMenu(value => !value) }}><IconEllipsisOutlineRegular size={14} /></button>\n </Tooltip></span>} />\n </>}\n </div>\n {mode === 'edit'\n ? <TextForm label={t('thread.editAria')} initial={comment.body} busy={writing.busy} error={writing.error}\n cancel={{ label: t('review.cancel'), run: () => { setMode('view') } }}>\n {(text, blank) => <Button size=\"sm\" variant=\"primary\" disabled={writing.busy || blank || text === comment.body}\n onClick={() => { void send({ kind: 'edit-comment', comment: comment.id, body: text }) }}>\n {t(writing.busy ? 'thread.saving' : 'thread.save')}\n </Button>}\n </TextForm>\n // Raw HTML renders nothing, as GitHub hides comments and unknown tags, and never enters the DOM.\n : <div className={css.body}><MarkdownText text={comment.body} labels={labels} variant=\"body\" omitHtml /></div>}\n {mode === 'delete' && <div className={css.confirm} role=\"group\" aria-label={t(last ? 'thread.deleteLast' : 'thread.deleteConfirm')}>\n <span className={css.confirmText}>{t(last ? 'thread.deleteLast' : 'thread.deleteConfirm')}</span>\n <Button size=\"sm\" disabled={writing.busy} onClick={() => { setMode('view') }}>{t('review.cancel')}</Button>\n <Button size=\"sm\" variant=\"primary\" disabled={writing.busy} onClick={() => { void send({ kind: 'delete-comment', comment: comment.id }) }}>\n {t(writing.busy ? 'thread.deleting' : 'review.remove')}\n </Button>\n {writing.error !== null && <div className={clsx(composerCss.error, css.confirmError)} role=\"alert\">{writing.error}</div>}\n </div>}\n </div>\n </div>\n}\n\n/**\n * The reply field of a thread. Without a pending review it replies at once, and its menu starts one with the reply; with\n * one, it adds the reply to it, since GitHub adds every reply of the user to the pending review.\n */\nfunction Reply({ thread, writes, drafting, t }: PropsLocale<typeof NS> & {\n readonly thread: ForgeReviewThread\n readonly writes: ThreadWrites\n readonly drafting: Drafting\n}): ReactNode {\n const [open, setOpen] = useState(false)\n useEffect(() => {\n drafting('reply', open)\n return () => { drafting('reply', false) }\n }, [drafting, open])\n const writing = useWriting(t)\n if (!open) {\n return <button type=\"button\" className={css.replyPrompt} onClick={() => { setOpen(true) }}>{t('thread.replyPlaceholder')}</button>\n }\n const send = async (text: string, pending: boolean): Promise<void> => {\n if (await writing.run(() => writes.write({ kind: 'reply', thread: thread.id, body: text, pending }))) setOpen(false)\n }\n return <TextForm label={t('thread.replyPlaceholder')} initial=\"\" busy={writing.busy} error={writing.error}\n cancel={{ label: t('review.cancel'), run: () => { setOpen(false) } }}>\n {(text, blank) => writes.reviewStarted\n ? <Button size=\"sm\" variant=\"primary\" disabled={writing.busy || blank} onClick={() => { void send(text, true) }}>\n {t(writing.busy ? 'review.publishing' : 'review.queue')}\n </Button>\n : <SplitAction disabled={writing.busy || blank} label={t(writing.busy ? 'review.publishing' : 'thread.reply')}\n run={() => { void send(text, false) }} menuLabel={t('thread.replyActions')}\n other={writes.canReview ? t('review.startReview') : undefined} menu={() => { void send(text, true) }} />}\n </TextForm>\n}\n\n/** Resolve or unresolve a thread. */\nfunction Resolution({ thread, writes, t }: PropsLocale<typeof NS> & {\n readonly thread: ForgeReviewThread\n readonly writes: ThreadWrites\n}): ReactNode {\n const writing = useWriting(t)\n return <>\n <Button size=\"sm\" disabled={writing.busy}\n onClick={() => { void writing.run(() => writes.write({ kind: 'resolve', thread: thread.id, resolved: !thread.resolved })) }}>\n {t(thread.resolved ? 'thread.unresolve' : 'thread.resolve')}\n </Button>\n {writing.error !== null && <div className={clsx(composerCss.error, css.actionError)} role=\"alert\">{writing.error}</div>}\n </>\n}\n\n/**\n * Render one thread: its place, every comment, its reply field, and its actions. A resolved thread folds into one row\n * until the reader unfolds it or jumps to it.\n * @param props - the thread, where it shows, the shared actions, and copy.\n * @returns the thread card or its folded row.\n */\nexport function ThreadCard({ thread, place, actions, t }: PropsLocale<typeof NS> & {\n readonly thread: ForgeReviewThread\n readonly place: ThreadPlace\n readonly actions: ThreadActions\n}): ReactNode {\n const [open, setOpen] = useState(false)\n // The jump the reader folded the thread after, which no longer unfolds it.\n const [foldedAt, setFoldedAt] = useState<number | null>(null)\n const labels = useMarkdownLabels(t)\n const now = Date.now()\n const focused = actions.focused?.id === thread.id && actions.focused.revision !== foldedAt\n // A thread resolved elsewhere while the reader writes a reply or an edit stays open, so the text is not lost.\n const [drafts, setDrafts] = useState<ReadonlySet<string>>(() => new Set())\n const drafting = useCallback<Drafting>((form, active) => {\n setDrafts((value) => {\n if (value.has(form) === active) return value\n const next = new Set(value)\n if (active) next.add(form)\n else next.delete(form)\n return next\n })\n }, [])\n const unfolded = open || !thread.resolved || focused || drafts.size > 0\n const side = place.kind === 'line' ? place.side : thread.side\n const original = place.kind === 'outdated' && thread.original !== null ? thread.original : null\n // The composer names an outdated thread by the lines it was written on, as its label does.\n const range = place.kind === 'line' ? anchorRange(place.side, place) : original !== null ? anchorRange(thread.side, original) : null\n const commit = writtenOn(thread)\n const first = thread.comments[0]\n const url = first?.url ?? null\n const writes = actions.writes\n if (!unfolded) {\n return <div className={css.folded} data-forge-thread={thread.id} data-side={side}>\n <IconCheckOutlineRegular size={14} />\n <span className={css.foldedText}>{t('thread.resolvedRow', { author: first?.author?.login ?? t('thread.deletedAuthor') })}</span>\n <button type=\"button\" className={css.link} aria-expanded={false} onClick={() => { setOpen(true) }}>{t('thread.expand')}</button>\n </div>\n }\n const label = original !== null ? t('thread.originally', { range: anchorRange(thread.side, original) }) : range ?? t('thread.fileLevel')\n return <section className={css.card} data-forge-thread={thread.id} data-side={side}\n data-resolved={thread.resolved ? '' : undefined} aria-label={label} tabIndex={-1}>\n <div className={css.header}>\n <span className={css.place}>\n {label}\n {commit !== null && <> · {t('thread.onCommit', { commit })}</>}\n </span>\n {place.kind === 'outdated' && <Tag tone=\"warning\">{t('thread.outdatedTag')}</Tag>}\n {thread.resolved && <Tag tone=\"success\">{t('thread.filter.resolved')}</Tag>}\n <span className={css.spacer} />\n {thread.resolved && <button type=\"button\" className={css.link} aria-expanded onClick={() => {\n setOpen(false)\n setFoldedAt(actions.focused?.revision ?? null)\n }}>{t('thread.collapse')}</button>}\n {original !== null && thread.side === 'R' && <OriginalFile thread={thread} commit={original.commit} actions={actions} t={t} />}\n </div>\n {place.kind === 'outdated' && thread.diffHunk !== null && original !== null\n && <Excerpt hunk={thread.diffHunk} side={thread.side} lines={original.endLine - original.startLine + 1} />}\n <div className={css.comments}>\n {thread.comments.map(comment => <Comment key={comment.id} comment={comment} last={thread.comments.length === 1}\n actions={actions} labels={labels} now={now} drafting={drafting} t={t} />)}\n </div>\n {writes !== null && thread.viewerCanReply && <Reply thread={thread} writes={writes} drafting={drafting} t={t} />}\n <div className={css.actions}>\n <Button size=\"sm\" onClick={() => { if (!actions.addToInput(thread, range)) actions.inputFailed() }}>\n {t('review.addToInput')}\n </Button>\n {url !== null && <Button size=\"sm\" onClick={() => { actions.openLink(url) }}>\n <IconRightUpOutlineRegular size={14} />{t('thread.openOnHost')}\n </Button>}\n {writes !== null && thread.viewerCanResolve && <Resolution thread={thread} writes={writes} t={t} />}\n </div>\n </section>\n}\n\n/** The end of a recorded diff hunk: the lines a thread was written on and a few before them. */\nfunction Excerpt({ hunk, side, lines }: { readonly hunk: string; readonly side: 'L' | 'R'; readonly lines: number }): ReactNode {\n const excerpt = hunkExcerpt(hunk, side, lines)\n return <div className={css.excerpt}>\n {excerpt.header !== null && <div className={clsx(css.excerptLine, css.excerptHeader)}>{excerpt.header}</div>}\n {excerpt.lines.map((line, index) => <div key={index} className={clsx(css.excerptLine,\n line.startsWith('+') && css.added, line.startsWith('-') && css.deleted)}>{line}</div>)}\n </div>\n}\n\n/**\n * Show the whole file at the commit a thread was written on, with the thread's lines marked, under the thread header.\n * Only a new-side thread offers it: its lines number that commit's file.\n */\nfunction OriginalFile({ thread, commit, actions, t }: PropsLocale<typeof NS> & {\n readonly thread: ForgeReviewThread\n readonly commit: string\n readonly actions: ThreadActions\n}): ReactNode {\n const [state, setState] = useState<{ readonly lines: readonly string[] } | 'closed' | 'loading' | { readonly failed: string }>('closed')\n const marked = useRef<HTMLDivElement>(null)\n useEffect(() => { marked.current?.scrollIntoView({ block: 'center' }) }, [state])\n const toggle = (): void => {\n if (state !== 'closed' && state !== 'loading') { setState('closed'); return }\n setState('loading')\n void actions.readText(commit, thread.path).then((result) => {\n setState(result.ok ? { lines: result.value.split('\\n') } : { failed: result.error.message })\n })\n }\n const open = state !== 'closed'\n const range = thread.original\n return <>\n <button type=\"button\" className={css.link} aria-expanded={open} disabled={state === 'loading'} onClick={toggle}>\n {t(open ? 'thread.hideOriginal' : 'thread.viewOriginal')}\n </button>\n {open && <div className={css.original} role=\"region\" aria-label={t('thread.viewOriginal')}>\n {state === 'loading' ? <div className={css.originalNote}>{t('thread.originalLoading')}</div>\n : 'failed' in state ? <div className={css.originalNote} role=\"alert\">{t('thread.originalFailed', { message: state.failed })}</div>\n : state.lines.map((line, index) => {\n const number = index + 1\n const inside = range !== null && number >= range.startLine && number <= range.endLine\n return <div key={index} ref={inside && number === range.startLine ? marked : undefined}\n className={clsx(css.originalLine, inside && css.marked)}>\n <span className={css.originalNumber}>{number}</span><span>{line}</span>\n </div>\n })}\n </div>}\n </>\n}\n\n/**\n * Render the outdated threads of a file after its lines, as one section the reader can fold.\n * @param props - the threads, the shared actions, and copy.\n * @returns the section, or nothing without outdated threads.\n */\nexport function OutdatedThreads({ threads, actions, t }: PropsLocale<typeof NS> & {\n readonly threads: readonly ForgeReviewThread[]\n readonly actions: ThreadActions\n}): ReactNode {\n // The section is folded after the jump with this revision, or -1 before any jump, or null while unfolded.\n const [folded, setFolded] = useState<number | null>(null)\n if (threads.length === 0) return null\n const jump = actions.focused\n const open = folded === null || (jump !== null && jump.revision !== folded && threads.some(thread => thread.id === jump.id))\n return <section className={css.outdated} data-forge-outdated-threads=\"\">\n <div className={css.outdatedHeader}>\n <span>{t('thread.outdatedSection', { count: threads.length })}</span>\n <span className={css.spacer} />\n <button type=\"button\" className={css.link} aria-expanded={open} onClick={() => { setFolded(open ? jump?.revision ?? -1 : null) }}>\n {t(open ? 'thread.collapse' : 'thread.expand')}\n <IconChevronDownOutlineRegular size={12} className={clsx(!open && css.turned)} />\n </button>\n </div>\n {open && threads.map(thread => <ThreadCard key={thread.id} thread={thread} place={{ kind: 'outdated' }} actions={actions} t={t} />)}\n </section>\n}\n","/**\n * The label of a changed file in the files menu, the local changes list, and a\n * file's header: its name, then its directory in smaller subdued type, with the\n * complete path in a tooltip.\n */\n\nimport type { ReactNode } from 'react'\nimport clsx from 'clsx'\nimport { Tooltip } from '@deepseek-ai/dsh-client-ui-primitives'\nimport { pathPartsOf } from '@deepseek-ai/dsh-util-workspace-path'\nimport css from './FileLabel.module.css'\n\n/** Characters at the end of a name or directory that stay whole while its start shortens. */\nconst KEPT_END = 12\n\n/** Shortest start worth shortening; a text this much longer than its kept end is split. */\nconst MIN_START = 4\n\n/** Hover delay before the complete path shows, so moving across a list does not flash it. */\nconst TOOLTIP_DELAY_MS = 400\n\n/** Split off the end that stays whole, by characters so a surrogate pair is never cut. */\nfunction partsOf(text: string): { readonly start: string; readonly end: string } {\n const characters = Array.from(text)\n if (characters.length <= KEPT_END + MIN_START) return { start: text, end: '' }\n return { start: characters.slice(0, -KEPT_END).join(''), end: characters.slice(-KEPT_END).join('') }\n}\n\n/** One text whose start ends in an ellipsis when space runs out, while its end stays whole. */\nfunction Shortened({ text, className }: { readonly text: string; readonly className: string | undefined }): ReactNode {\n const { start, end } = partsOf(text)\n return (\n <span className={clsx(css.shortened, className)}>\n <span className={css.head}>{start}</span>\n {end !== '' && <span className={css.tail}>{end}</span>}\n </span>\n )\n}\n\n/**\n * Render a changed file's name and directory. The directory gives up its space\n * before the name does; assistive technology reads the complete path.\n * @param props.path - the file's path in the repository.\n * @param props.tooltip - the hover text, such as both paths of a renamed file; defaults to the path.\n * @param props.className - class of the outer element, which callers size within their row.\n * @returns the label.\n */\nexport function FileLabel({ path, tooltip, className }: {\n readonly path: string\n readonly tooltip?: string | undefined\n readonly className?: string | undefined\n}): ReactNode {\n const { directory, name } = pathPartsOf(path)\n const folder = directory.replace(/[/\\\\]$/, '')\n return (\n <Tooltip label={tooltip ?? path} side=\"bottom\" portal delayMs={TOOLTIP_DELAY_MS} maxWidth={360}>\n <span className={clsx(css.label, className)} data-forge-file-label=\"\">\n <span className={css.parts} aria-hidden=\"true\">\n <Shortened text={name} className={css.name} />\n {folder !== '' && <Shortened text={folder} className={css.directory} />}\n </span>\n <span className={css.visuallyHidden}>{path}</span>\n </span>\n </Tooltip>\n )\n}\n","/**\n * One file of the changes view: a sticky header with the path, badges, line\n * counts, and file actions, then its hunks unified or side by side with the\n * unchanged lines between them collapsed into rows that expand them. A section\n * draws and highlights its lines once it comes within reach of the scrollport;\n * it redraws only when its own props change.\n */\n\nimport { memo, useCallback, useEffect, useMemo, useRef, useState, type CSSProperties, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport { flushSync } from 'react-dom'\nimport {\n FileTypeIcon, IconChevronDownOutlineRegular, IconChevronsUpDownOutlineRegular, IconEllipsisOutlineRegular, IconPlusOutlineRegular,\n Tag, Tooltip,\n languageForPath, Menu, MenuItemButton, useCodeHighlighter, type CodeHighlighter, type HighlightSpan,\n} from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ForgeDiffFile } from '../types.ts'\nimport { drawnLines, segmentsOf, splitRows, type DiffRow, type SplitCell, type SplitRow } from './diff-rows.ts'\nimport { codeSideAt, readCodeSelection } from './code-selection.ts'\nimport { reviewMatches, selectReviewLines, type ReviewSelection } from './review.ts'\nimport { ReviewThread, useFileReview } from './ReviewThread.tsx'\nimport { OutdatedThreads, ThreadCard, type FileThreads, type LineThread, type ThreadActions } from './ReviewThreads.tsx'\nimport { gapOf } from './review-threads.ts'\nimport type { FileReviewState } from './review-queue.ts'\nimport { ReviewComposer, type ReviewActions } from './ReviewComposer.tsx'\nimport reviewCss from './ReviewComposer.module.css'\nimport { FileLabel } from './FileLabel.tsx'\nimport type { ForgePanelKey, NS } from './locales.ts'\nimport type { ViewedState } from './viewed-files.ts'\nimport type { SectionReach } from './section-reach.ts'\nimport css from './ChangesTab.module.css'\n\ntype Translate = PropsLocale<typeof NS>['t']\n\n/** One action of a file's menu. */\nexport interface DiffFileAction {\n /** Dictionary key of the row label. */\n readonly label: ForgePanelKey\n /** Runs the action. */\n readonly run: () => void\n}\n\n/** New side of a file: its lines once read, `loading` while a read runs, or undefined before any. */\nexport type DiffFileText = readonly string[] | 'loading' | undefined\n\n/**\n * What every file section of one changes view calls. The view passes the same\n * object on every render, so a section redraws only when its own values change.\n */\nexport interface DiffFileHandlers {\n /** Expand or collapse a file. */\n readonly toggle: (file: ForgeDiffFile) => void\n /** Show a large file anyway. */\n readonly reveal: (path: string) => void\n /** Expand one gap of a file. */\n readonly expand: (file: ForgeDiffFile, index: number) => void\n /** Mark a file viewed, which also collapses it, or clear the mark. */\n readonly view: (file: ForgeDiffFile, viewed: boolean) => void\n /** Rows of a file's menu, read whenever the menu draws. */\n readonly actions: (file: ForgeDiffFile) => readonly DiffFileAction[]\n /** Receive a file's section element, which scrolling to the file targets, or null once it unmounts. */\n readonly section: (path: string, element: HTMLElement | null) => void\n /** Show a file's next unresolved host thread in display order after the last one shown, or its first. */\n readonly nextThread: (path: string) => void\n /** Tells each expanded section when it comes within reach of the scrollport, which draws its lines. */\n readonly reach: SectionReach\n}\n\n/** Props of one file section. */\nexport interface DiffFileProps {\n /** Whether the owning tab is visible and may show temporary menus. */\n readonly visible: boolean\n /** Comment destinations and the source being reviewed. */\n readonly review?: ReviewActions | undefined\n /** The file and its hunks. */\n readonly file: ForgeDiffFile\n /** Whether the section shows its lines. */\n readonly expanded: boolean\n /** Whether the file shows the large-file notice instead of its lines until revealed. */\n readonly large: boolean\n /** Whether the user revealed a large file. */\n readonly revealed: boolean\n /** The file's new side, which supplies collapsed unchanged lines. */\n readonly text: DiffFileText\n /** Indexes of the expanded gaps. */\n readonly open: ReadonlySet<number>\n /** Whether deletions and additions show in two columns; a file with only additions or only deletions keeps one. */\n readonly split: boolean\n /** Whether long lines wrap. */\n readonly wrap: boolean\n /** Badge text after the path, or empty for none. */\n readonly badge: string\n /** Hover text of the path: both paths of a renamed file, else the path. */\n readonly tooltip: string\n /** Whether the reader marked this change viewed, or marked an earlier change of the file. */\n readonly viewed: ViewedState\n /** Tooltip of the viewed mark: where marks are kept, or why the mark cannot change now. */\n readonly viewedNote: string\n /** Whether the mark cannot change now, while its write is in flight or the host's marks could not be read. */\n readonly viewedDisabled: boolean\n /** Review threads of the file from the code host, or undefined while none are read; the view keeps their identity. */\n readonly threads?: FileThreads | undefined\n /** Whether the section draws its lines at once, as the target of a thread jump, whose card must exist to be centered. */\n readonly drawNow?: boolean | undefined\n /** Actions shared by every section of the view. */\n readonly handlers: DiffFileHandlers\n /** Forge panel copy. */\n readonly t: Translate\n}\n\n/**\n * Render added and deleted line counts, or the binary label for binary content.\n * @param props - the counts and copy.\n * @returns the counts.\n */\nexport function Counts({ file, t }: {\n readonly file: Pick<ForgeDiffFile, 'additions' | 'deletions' | 'binary'>\n readonly t: Translate\n}): ReactNode {\n if (file.binary) return <span>{t('diff.binaryLabel')}</span>\n return (\n <span className={css.counts}>\n <span className={css.added}>{`+${file.additions.toLocaleString('en-US')}`}</span>\n <span className={css.deleted}>{`−${file.deletions.toLocaleString('en-US')}`}</span>\n </span>\n )\n}\n\nconst SIGN: Record<DiffRow['kind'], string> = { add: '+', del: '-', context: '' }\n\n/** Highlighted tokens of one side's lines by line number, or undefined while the grammar is unavailable. */\ntype SideSpans = ReadonlyMap<number, readonly HighlightSpan[]> | undefined\n\n/** A segment ready to draw: collapsed lines, or rows with the tokens of each side. */\ntype Prepared =\n | { readonly kind: 'gap'; readonly index: number; readonly count: number | null }\n | { readonly kind: 'rows'; readonly rows: readonly DiffRow[]; readonly old: SideSpans; readonly new: SideSpans }\n\n/** Highlight one side of a run of rows as one fragment, so tokens spanning lines keep their state. */\nfunction sideSpans(rows: readonly DiffRow[], side: 'old' | 'new', highlighter: CodeHighlighter): SideSpans {\n const numbered: { readonly no: number; readonly text: string }[] = []\n for (const row of rows) {\n const no = row[side]\n if (no !== null) numbered.push({ no, text: row.text })\n }\n if (numbered.length === 0) return new Map()\n const highlighted = highlighter(numbered.map(line => line.text).join('\\n'))\n if (highlighted === undefined) return undefined\n // Shiki omits a final empty token row, so a final empty line gets no tokens.\n return new Map(numbered.map((line, index) => [line.no, highlighted[index] ?? []]))\n}\n\nfunction Code({ text, spans, old, next }: {\n readonly text: string\n readonly spans: readonly HighlightSpan[] | undefined\n readonly old: number | null\n readonly next: number | null\n}): ReactNode {\n return (\n <span className={css.text} data-review-code=\"\" data-old-line={old ?? undefined} data-new-line={next ?? undefined} data-diff-code={spans === undefined ? undefined : ''}>\n {spans === undefined ? text : spans.map((span, index) => <span key={index} style={span.style}>{span.text}</span>)}\n </span>\n )\n}\n\n/** Whether a side-by-side row repeats an unchanged line or shows a change. */\n/** Whether two comments cover the same lines of the same side. */\nfunction sameRange(a: ReviewSelection['comment'], b: ReviewSelection['comment']): boolean {\n return a.side === b.side && a.startLine === b.startLine && a.endLine === b.endLine\n}\n\n/** Whether a selection covers one line of a side. */\nfunction covers(item: ReviewSelection, side: 'L' | 'R', line: number): boolean {\n return item.comment.side === side && line >= item.comment.startLine && line <= item.comment.endLine\n}\n\n/** The editor key of a range, such as `R3-4`. */\nfunction rangeKey(item: ReviewSelection): string {\n return `${item.comment.side}${item.comment.startLine}-${item.comment.endLine}`\n}\n\nfunction pairKind(pair: SplitRow): 'context' | 'change' {\n return pair.left !== null && pair.left.kind === 'context' ? 'context' : 'change'\n}\n\n/** The hunks of one file with their collapsed and expanded unchanged lines. */\nfunction Lines({ file, text, open, handlers, split, wrap, review, visible, comments, threads, t }: Pick<DiffFileProps,\n 'file' | 'text' | 'open' | 'handlers' | 'split' | 'wrap' | 'review' | 'visible' | 'threads' | 't'> & { readonly comments: FileReviewState }): ReactNode {\n const lines = typeof text === 'object' ? text : undefined\n const columns = split && file.additions > 0 && file.deletions > 0\n const singleSide = file.status === 'added' ? 'R' : file.status === 'deleted' ? 'L' : null\n let maximum = Math.max(1, lines?.length ?? 0, (lines?.length ?? 0) + file.deletions - file.additions)\n for (const hunk of file.hunks) maximum = Math.max(maximum, hunk.oldStart + hunk.oldLines - 1, hunk.newStart + hunk.newLines - 1)\n const style: CSSProperties & { '--forge-number-width': string } = { '--forge-number-width': `calc(${Math.max(2, String(maximum).length)}ch + 12px)` }\n const highlighter = useCodeHighlighter(languageForPath(file.path))\n const [selection, setSelection] = useState<ReviewSelection | null>(null)\n // Mirrors `selection` for the release of a hover-plus drag, whose listener outlives the render that chose the range.\n const chosen = useRef<ReviewSelection | null>(null)\n const select = (next: ReviewSelection | null): void => {\n chosen.current = next\n setSelection(next)\n }\n // Comments being written, in the order they opened; each keeps the range it opened with while new ranges are chosen.\n const [editors, setEditors] = useState<readonly ReviewSelection[]>([])\n const root = useRef<HTMLDivElement>(null)\n const origin = useRef<{ side: 'L' | 'R'; line: number } | null>(null)\n // `add` is a gutter drag that began on a row's hover plus and opens the editor when the pointer is released.\n const dragging = useRef<'gutter' | 'add' | 'text' | null>(null)\n const [selecting, setSelecting] = useState(false)\n const [nativeSide, setNativeSide] = useState<'L' | 'R' | null>(null)\n const nativeSelection = useCallback((): void => {\n if (nativeSide === null || root.current === null || review === undefined) return\n const selected = readCodeSelection(root.current, nativeSide)\n if (selected === undefined) {\n chosen.current = null\n setSelection(null)\n setNativeSide(null)\n return\n }\n const comment = selectReviewLines(file, selected.side, selected.from, selected.to)\n const previous = chosen.current\n const next = comment === undefined ? null\n : previous !== null && sameRange(previous.comment, comment) ? previous : { source: review.source, comment }\n chosen.current = next\n setSelection(next)\n }, [nativeSide, review, file])\n useEffect(() => {\n if (nativeSide === null) return\n const changed = (): void => { if (dragging.current === null) nativeSelection() }\n document.addEventListener('selectionchange', changed)\n return () => { document.removeEventListener('selectionchange', changed) }\n }, [nativeSide, nativeSelection])\n /** Open an editor for a range, or focus the one already open for it, and clear the selection for the next range. */\n const compose = (target: ReviewSelection): void => {\n const open = root.current?.querySelector<HTMLTextAreaElement>(`[data-forge-comment=\"${rangeKey(target)}\"] textarea`) ?? null\n if (open !== null) open.focus()\n else setEditors(list => [...list, target])\n const native = window.getSelection()\n if (root.current?.contains(native?.anchorNode ?? null) === true) native?.removeAllRanges()\n select(null)\n setNativeSide(null)\n origin.current = null\n }\n useEffect(() => {\n if (nativeSide === null) return\n const copy = (event: ClipboardEvent): void => {\n if (root.current === null || event.clipboardData === null\n || (event.target instanceof Element && event.target.closest('input, textarea, [contenteditable=\"true\"]') !== null)) return\n const selected = readCodeSelection(root.current, nativeSide)\n if (selected === undefined) return\n event.preventDefault()\n event.clipboardData.setData('text/plain', selected.text)\n }\n document.addEventListener('copy', copy)\n return () => { document.removeEventListener('copy', copy) }\n }, [nativeSide])\n useEffect(() => {\n if (!selecting) return\n const finish = (event: PointerEvent): void => {\n if (dragging.current === 'text') nativeSelection()\n const release = dragging.current === 'add' && event.type === 'pointerup' ? chosen.current : null\n dragging.current = null\n setSelecting(false)\n if (release !== null) compose(release)\n }\n window.addEventListener('pointerup', finish)\n window.addEventListener('pointercancel', finish)\n return () => {\n window.removeEventListener('pointerup', finish)\n window.removeEventListener('pointercancel', finish)\n }\n }, [selecting, nativeSelection])\n const prepared = useMemo(() => segmentsOf(file, lines, open).map((segment): Prepared => segment.kind === 'gap'\n ? segment\n : { ...segment, old: sideSpans(segment.rows, 'old', highlighter), new: sideSpans(segment.rows, 'new', highlighter) }), [file, lines, open, highlighter])\n // Returns whether the range was accepted; a range across hunks or outside them keeps the previous selection.\n const choose = (side: 'L' | 'R', line: number, extend: boolean): boolean => {\n /* v8 ignore next -- the line buttons and hover pluses that choose a range draw only with review actions */\n if (review === undefined) return false\n const from = extend && origin.current?.side === side ? origin.current.line : line\n const comment = selectReviewLines(file, side, from, line)\n if (comment === undefined) return false\n if (!extend || origin.current?.side !== side) origin.current = { side, line }\n select({ source: review.source, comment })\n return true\n }\n // A drag that began on a hover plus extends through every row with a line on its starting side, wherever the pointer crosses that row.\n const extendAdd = (buttons: number, old: number | null, next: number | null): void => {\n const from = origin.current\n if (dragging.current !== 'add' || buttons !== 1 || from === null) return\n const line = from.side === 'L' ? old : next\n if (line !== null) choose(from.side, line, true)\n }\n const selected = (side: 'L' | 'R', line: number | null): boolean => line !== null && selection !== null && covers(selection, side, line)\n // The browser paints a native text range itself; a gutter range and every open editor's range take the highlight.\n const marked = (side: 'L' | 'R', line: number | null): boolean => line !== null\n && ((selected(side, line) && nativeSide === null) || editors.some(item => covers(item, side, line)))\n // `hover` adds the mouse shortcut: a plus shown while a hovering pointer is over this side of the row.\n const number = (side: 'L' | 'R', line: number | null, hover: boolean): ReactNode => {\n if (line === null || review === undefined || !file.hunks.some((hunk) => {\n const start = side === 'L' ? hunk.oldStart : hunk.newStart\n return line >= start && line < start + (side === 'L' ? hunk.oldLines : hunk.newLines)\n })) {\n return <span className={css.number}>{line ?? ''}</span>\n }\n const plus = !selecting && selection !== null && selection.comment.side === side && selection.comment.endLine === line\n ? selection : null\n return <span className={clsx(css.number, reviewCss.gutter)} data-review-side={side}\n onPointerEnter={(event) => { if (dragging.current === 'gutter' && origin.current?.side === side && event.buttons === 1) choose(side, line, true) }}>\n <button type=\"button\" className={reviewCss.line}\n aria-label={t('review.selectLine', { line: `${side}${line}` })} aria-pressed={selected(side, line)}\n onPointerDown={(event) => {\n if (event.button !== 0) return\n event.preventDefault()\n window.getSelection()?.removeAllRanges()\n setNativeSide(null)\n dragging.current = 'gutter'\n setSelecting(true)\n choose(side, line, event.shiftKey)\n }}\n onClick={(event) => {\n if (event.detail !== 0) return\n window.getSelection()?.removeAllRanges()\n setNativeSide(null)\n choose(side, line, event.shiftKey)\n }}>{line}</button>\n {plus !== null && (\n <Tooltip label={t('review.addComment')} portal>\n <button type=\"button\" className={reviewCss.add} aria-label={t('review.addComment')}\n onPointerDown={(event) => { event.preventDefault() }} onClick={() => { compose(plus) }}>\n <IconPlusOutlineRegular size={14} />\n </button>\n </Tooltip>\n )}\n {/* Keyboard and assistive technology reach the same editor through the line button and the labeled plus above. */}\n {hover && plus === null && (\n <span className={reviewCss.hoverAdd} aria-hidden=\"true\" data-review-add={`${side}${line}`}\n onPointerDown={(event) => {\n if (event.button !== 0) return\n event.preventDefault()\n // A refused range keeps the previous selection, which the release must not open.\n if (!choose(side, line, event.shiftKey)) return\n window.getSelection()?.removeAllRanges()\n setNativeSide(null)\n dragging.current = 'add'\n setSelecting(true)\n }}>\n <IconPlusOutlineRegular size={14} />\n </span>\n )}\n </span>\n }\n const cell = (value: SplitCell | null, spans: SideSpans, side: 'L' | 'R'): ReactNode => value === null\n ? <span className={clsx(css.cell, css.empty)} data-diff-side={side} />\n : <span className={clsx(css.cell, css[value.kind], marked(side, value.no) && reviewCss.selected)}\n data-diff-side={side}>\n {number(side, value.no, true)}<Code text={value.text} spans={spans?.get(value.no)} old={side === 'L' ? value.no : null} next={side === 'R' ? value.no : null} />\n </span>\n const endsAt = (old: number | null, next: number | null): boolean => selection !== null\n && (selection.comment.side === 'L' ? old : next) === selection.comment.endLine\n const rows: ReactNode[] = []\n const unplacedEditors = new Set(editors)\n const remaining = new Set(comments.threads)\n // A host thread follows the row of its last line, or the collapsed unchanged lines that hold it.\n const unplaced = new Set(threads === undefined ? [] : threads.lines.map(item => ({ ...item, actions: threads.actions })))\n const threadCard = (item: LineThread & { readonly actions: ThreadActions }): ReactNode =>\n <ThreadCard key={`thread-${item.thread.id}`} thread={item.thread} place={item.place} actions={item.actions} t={t} />\n // The editors, the saved comments, then the host threads whose ranges end on this side's line.\n const commentsAt = (side: 'L' | 'R', line: number | null): ReactNode[] => {\n const nodes: ReactNode[] = []\n if (line === null) return nodes\n if (review !== undefined) {\n for (const item of unplacedEditors) {\n if (item.comment.side !== side || item.comment.endLine !== line) continue\n nodes.push(editorOf(item, review))\n unplacedEditors.delete(item)\n }\n for (const thread of remaining) {\n const comment = thread.selection.comment\n if (comment.side !== side || comment.endLine !== line || !reviewMatches(thread.selection, review.source, file)) continue\n nodes.push(<ReviewThread key={`record-${thread.key}`} thread={thread} actions={review} locked={comments.locked} outdated={false} t={t} />)\n remaining.delete(thread)\n }\n }\n for (const item of unplaced) {\n if (item.place.side !== side || item.place.endLine !== line) continue\n nodes.push(threadCard(item))\n unplaced.delete(item)\n }\n return nodes\n }\n const editorOf = (item: ReviewSelection, actions: ReviewActions): ReactNode =>\n <ReviewComposer key={`comment-${rangeKey(item)}`} selection={item} visible={visible} actions={actions}\n close={() => { setEditors(list => list.filter(open => !sameRange(open.comment, item.comment))) }} t={t} />\n // Side by side, a row's comments sit in a row of two cells under its columns, each continuing its line's background.\n const notes = (key: string, pair: SplitRow): void => {\n const left = commentsAt('L', pair.left?.no ?? null)\n const right = commentsAt('R', pair.right?.no ?? null)\n if (left.length === 0 && right.length === 0) return\n const side = (value: SplitCell | null, nodes: ReactNode[]): ReactNode => (\n <div className={clsx(css.noteCell, css[value?.kind ?? 'empty'])}>\n <span className={css.number} />\n <div className={css.noteStack} data-forge-comments=\"\">{nodes}</div>\n </div>\n )\n rows.push(<div key={key} className={css.notes} data-forge-notes=\"\">{side(pair.left, left)}{side(pair.right, right)}</div>)\n }\n for (const [at, segment] of prepared.entries()) {\n if (segment.kind === 'gap') {\n rows.push(<button key={`gap-${segment.index}`} type=\"button\" className={css.gap} disabled={text === 'loading'}\n data-forge-diff-gap={segment.index} onClick={() => { handlers.expand(file, segment.index) }}>\n <IconChevronsUpDownOutlineRegular size={12} />\n {segment.count === null ? t('diff.unchangedRest') : t('diff.unchanged', { count: segment.count.toLocaleString('en-US') })}\n </button>)\n for (const item of unplaced) {\n if (gapOf(file, item.place.side, item.place.endLine) !== segment.index) continue\n rows.push(threadCard(item))\n unplaced.delete(item)\n }\n } else if (columns) {\n for (const [index, pair] of splitRows(segment.rows).entries()) {\n rows.push(<div key={`${at}-${index}`} className={css.pair} data-diff-pair={pairKind(pair)}\n onPointerEnter={(event) => { extendAdd(event.buttons, pair.left?.no ?? null, pair.right?.no ?? null) }}>\n {cell(pair.left, segment.old, 'L')}{cell(pair.right, segment.new, 'R')}\n </div>)\n notes(`notes-${at}-${index}`, pair)\n }\n } else {\n for (const [index, row] of segment.rows.entries()) {\n // Both numbers place their plus in the sign column, so a row showing the labeled plus offers no hover plus.\n const labeled = !selecting && endsAt(row.old, row.new)\n rows.push(<div key={`${at}-${index}`} className={clsx(css.line, css[row.kind], (marked('L', row.old) || marked('R', row.new)) && reviewCss.selected)} data-diff-line={row.kind}\n onPointerEnter={(event) => { extendAdd(event.buttons, row.old, row.new) }}>\n {singleSide !== 'R' && number('L', row.old, row.kind === 'del' && !labeled)}{singleSide !== 'L' && number('R', row.new, row.kind !== 'del' && !labeled)}<span className={css.sign}>{SIGN[row.kind]}</span>\n <Code text={row.text} old={row.old} next={row.new} spans={row.kind === 'del' ? segment.old?.get(row.old) : segment.new?.get(row.new)} />\n </div>)\n rows.push(...commentsAt('L', row.old), ...commentsAt('R', row.new))\n }\n }\n }\n if (review !== undefined) {\n // An editor whose last line no longer draws, after a refresh or a narrower choice of commits, follows the lines.\n for (const item of unplacedEditors) rows.push(editorOf(item, review))\n for (const thread of remaining) {\n rows.push(<ReviewThread key={`record-${thread.key}`} thread={thread} actions={review} locked={comments.locked} outdated t={t} />)\n }\n }\n for (const item of unplaced) rows.push(threadCard(item))\n return <div ref={root} className={css.code} style={style} data-single-side={singleSide ?? undefined} data-split={columns ? '' : undefined} data-wrap={wrap ? '' : undefined}\n data-review={review === undefined ? undefined : ''}\n data-native-side={nativeSide ?? undefined}\n onPointerDownCapture={(event) => {\n if (event.button !== 0 || !(event.target instanceof Node)) return\n const side = codeSideAt(event.currentTarget, event.target)\n if (side === undefined) return\n if (!event.shiftKey || nativeSide !== side) window.getSelection()?.removeAllRanges()\n dragging.current = 'text'\n // The chosen column must allow selection before the browser starts its native text range.\n flushSync(() => {\n setNativeSide(side)\n select(null)\n setSelecting(true)\n })\n }}>{rows}</div>\n}\n\n/** Whether a file's body draws its hunks line by line rather than a note or a collapsed strip. */\nfunction drawsLines(file: ForgeDiffFile, large: boolean, revealed: boolean): boolean {\n return !file.binary && !file.oversized && file.hunks.length > 0 && (!large || revealed)\n}\n\n/** The file's lines or the note that replaces them, with its saved comments; host threads on lines follow when no lines show. */\nfunction Content(props: DiffFileProps): ReactNode {\n const { file, large, revealed, handlers, review, threads, t } = props\n const comments = useFileReview(review, file.path)\n const records = review === undefined ? null : comments.threads.map(thread => <ReviewThread key={thread.key} thread={thread}\n actions={review} locked={comments.locked} outdated={!reviewMatches(thread.selection, review.source, file)} t={t} />)\n const lineThreads = threads?.lines.map(item => <ThreadCard key={item.thread.id} thread={item.thread} place={item.place}\n actions={threads.actions} t={t} />)\n if (file.binary) return <><p className={css.fileNote}>{t('diff.binary')}</p>{records}{lineThreads}</>\n if (file.oversized) return <><p className={css.fileNote}>{t('diff.fileTooLarge')}</p>{records}{lineThreads}</>\n if (file.hunks.length === 0) return <>{records}{lineThreads}</>\n if (large && !revealed) {\n // A large file starts as one collapsed strip, drawn and opened like the collapsed unchanged lines.\n return (\n <><button type=\"button\" className={css.gap} onClick={() => { handlers.reveal(file.path) }}>\n <IconChevronsUpDownOutlineRegular size={12} />\n {t('diff.largeCollapsed', { count: (file.additions + file.deletions).toLocaleString('en-US') })}\n </button>{records}{lineThreads}</>\n )\n }\n return <Lines {...props} comments={comments} />\n}\n\n/** Host threads on the whole file, the lines, then the host threads that later commits made outdated. */\nfunction Body(props: DiffFileProps): ReactNode {\n const { threads, t } = props\n return <>\n {threads?.file.map(thread => <ThreadCard key={thread.id} thread={thread} place={{ kind: 'file' }} actions={threads.actions} t={t} />)}\n <Content {...props} />\n {threads !== undefined && <OutdatedThreads threads={threads.outdated} actions={threads.actions} t={t} />}\n </>\n}\n\n/** File actions live only while their owning tab is visible. */\nfunction FileMenu({ name, file, handlers, t }: {\n readonly name: string\n readonly file: ForgeDiffFile\n readonly handlers: DiffFileHandlers\n readonly t: Translate\n}): ReactNode {\n const [menuOpen, setMenuOpen] = useState(false)\n return (\n <Menu\n open={menuOpen}\n portal\n align=\"end\"\n dense\n autoFocus\n onClose={() => { setMenuOpen(false) }}\n anchor={(\n <button\n type=\"button\"\n className={css.tool}\n aria-haspopup=\"menu\"\n aria-expanded={menuOpen}\n aria-label={t('diff.moreActions', { name })}\n onClick={() => { setMenuOpen(value => !value) }}\n >\n <IconEllipsisOutlineRegular />\n </button>\n )}\n >\n {handlers.actions(file).map(action => (\n <MenuItemButton\n key={action.label}\n onSelect={() => {\n setMenuOpen(false)\n action.run()\n }}\n >\n {t(action.label)}\n </MenuItemButton>\n ))}\n </Menu>\n )\n}\n\n/**\n * Render one file of a diff. Until the section first comes within reach of the scrollport or a thread jump targets it,\n * an expanded file that draws lines shows a box of about their height instead.\n * @param props - the file, its section and gap state, layout choices, shared actions, and copy.\n * @returns the file section.\n */\nfunction DiffFileSection(props: DiffFileProps): ReactNode {\n const { file, expanded, large, revealed, badge, tooltip, viewed, viewedNote, viewedDisabled, threads, handlers, t } = props\n const name = file.path.slice(file.path.lastIndexOf('/') + 1)\n const element = useRef<HTMLElement | null>(null)\n const [reached, setReached] = useState(false)\n // A thread jump draws the section for good, so it does not fall back to the box once the jump ends.\n if (props.drawNow === true && !reached) setReached(true)\n const waiting = expanded && !reached && props.drawNow !== true && drawsLines(file, large, revealed)\n useEffect(() => {\n /* v8 ignore next -- React attaches the section before it runs effects */\n if (!waiting || element.current === null) return\n return handlers.reach.observe(element.current, () => { setReached(true) })\n }, [waiting, handlers.reach])\n const sectionRef = useCallback((node: HTMLElement | null) => {\n element.current = node\n handlers.section(file.path, node)\n }, [handlers, file.path])\n const placeholder: CSSProperties & { '--forge-rows': number } = { '--forge-rows': drawnLines(file) }\n return (\n <section ref={sectionRef} className={css.file} data-forge-diff-file={file.path} data-expanded={expanded ? '' : undefined}\n data-viewed={viewed}>\n <div className={css.fileHeader}>\n <button\n type=\"button\"\n className={css.fileToggle}\n aria-expanded={expanded}\n aria-label={t(expanded ? 'change.collapse' : 'change.expand', { name })}\n onClick={() => { handlers.toggle(file) }}\n >\n <IconChevronDownOutlineRegular size={14} className={css.chevron} />\n </button>\n <span className={css.fileTitle}>\n <FileTypeIcon path={file.path} size={16} className={css.fileIcon} />\n <span className={css.filePath}>\n <FileLabel path={file.path} tooltip={tooltip} />\n </span>\n {viewed === 'changed' && (\n <Tag tone=\"warning\" className={css.changedTag}><span className={css.changedText}>{t('viewed.changed')}</span></Tag>\n )}\n {threads !== undefined && threads.unresolved > 0 && (\n <Tooltip label={t('thread.next')} side=\"bottom\">\n <button type=\"button\" className={css.threadCount} aria-label={t('thread.unresolvedAria', { name, count: threads.unresolved })}\n onClick={() => { handlers.nextThread(file.path) }}>\n <span className={css.threadCountText}>{t('thread.unresolvedCount', { count: threads.unresolved })}</span>\n <span className={css.threadCountNumber}>{threads.unresolved}</span>\n </button>\n </Tooltip>\n )}\n <span className={css.fileSpacer} data-forge-path-spacer=\"\" />\n {badge !== '' && <span className={css.badge}>{badge}</span>}\n </span>\n {!file.binary && <Counts file={file} t={t} />}\n <label className={css.viewed} title={viewedNote} data-disabled={viewedDisabled ? '' : undefined}>\n <input type=\"checkbox\" checked={viewed === 'viewed'} aria-label={t('viewed.aria', { name })} disabled={viewedDisabled}\n onChange={(event) => { handlers.view(file, event.target.checked) }} />\n <span className={css.viewedLabel} aria-hidden=\"true\">{t('viewed.label')}</span>\n </label>\n {props.visible && <FileMenu name={name} file={file} handlers={handlers} t={t} />}\n </div>\n {expanded && (waiting ? <div className={css.unreached} style={placeholder} data-forge-diff-unreached=\"\" /> : <Body {...props} />)}\n </section>\n )\n}\n\n/** One file of a diff, redrawn only when its props change. */\nexport const DiffFile = memo(DiffFileSection)\n","/**\n * Reach of the changes view's file sections: a section's lines mount once the\n * section first comes within a margin of the files scrollport, and stay\n * mounted, so long diffs draw only what the reader approaches.\n */\n\n/** Distance beyond the scrollport's edges within which a section counts as reached. */\nconst REACH_MARGIN = '1200px 0px'\n\nconst noop = (): void => {}\n\n/**\n * Watches the file sections of one changes view against its scrollport. Without\n * `IntersectionObserver` every section is reached at once.\n */\nexport class SectionReach {\n private observer: IntersectionObserver | undefined\n private readonly waiting = new Map<Element, () => void>()\n\n /**\n * Measure sections against `root`, or stop measuring when it unmounts. Sections that are still waiting move to the new root.\n * @param root - the files scrollport, or null.\n */\n attach(root: HTMLElement | null): void {\n this.observer?.disconnect()\n this.observer = undefined\n if (root === null || typeof IntersectionObserver === 'undefined') return\n const observer = new IntersectionObserver((entries) => {\n for (const entry of entries) {\n if (!entry.isIntersecting) continue\n const reached = this.waiting.get(entry.target)\n /* v8 ignore next -- the observer reports only sections still waiting, which it stops watching on release */\n if (reached === undefined) continue\n this.waiting.delete(entry.target)\n observer.unobserve(entry.target)\n reached()\n }\n }, { root, rootMargin: REACH_MARGIN })\n this.observer = observer\n for (const element of this.waiting.keys()) observer.observe(element)\n }\n\n /**\n * Call `reached` once when `element` comes within reach.\n * @param element - a file section inside the scrollport.\n * @param reached - runs once, from the observer's callback or at once without `IntersectionObserver`.\n * @returns the disposer that stops watching before the section is reached.\n */\n observe(element: Element, reached: () => void): () => void {\n if (typeof IntersectionObserver === 'undefined') {\n reached()\n return noop\n }\n this.waiting.set(element, reached)\n this.observer?.observe(element)\n return () => {\n this.waiting.delete(element)\n this.observer?.unobserve(element)\n }\n }\n}\n","/** Directory navigation derived only from the files in one loaded diff. */\nimport { assertNever } from '@deepseek-ai/dsh-util-values'\nimport type { ForgeDiffFile } from '../types.ts'\n\n/** A changed file or a compacted chain of directories containing changed files. */\nexport type ChangedFileNode =\n | { readonly kind: 'file'; readonly path: string; readonly name: string; readonly file: ForgeDiffFile }\n | { readonly kind: 'directory'; readonly path: string; readonly name: string; readonly children: readonly ChangedFileNode[] }\n\ninterface Directory {\n path: string\n name: string\n directories: Map<string, Directory>\n files: ForgeDiffFile[]\n}\n\nfunction childrenOf(directory: Directory): ChangedFileNode[] {\n const directories = [...directory.directories.values()].map((child): ChangedFileNode => {\n let leaf = child\n let name = child.name\n while (leaf.files.length === 0 && leaf.directories.size === 1) {\n for (const next of leaf.directories.values()) {\n name += `/${next.name}`\n leaf = next\n }\n }\n return { kind: 'directory', path: leaf.path, name, children: childrenOf(leaf) }\n })\n const files = directory.files.map((file): ChangedFileNode => ({ kind: 'file', path: file.path, name: file.path.slice(file.path.lastIndexOf('/') + 1), file }))\n const ordered = (nodes: ChangedFileNode[]): ChangedFileNode[] => nodes.sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0)\n return [...ordered(directories), ...ordered(files)]\n}\n\n/**\n * Build a directory-first tree, compacting directories with a single directory child.\n * @param files - changed files; Git paths use forward slashes, including on Windows.\n * @returns the root's children in stable name order.\n */\nexport function changedFileTree(files: readonly ForgeDiffFile[]): readonly ChangedFileNode[] {\n const root: Directory = { path: '', name: '', directories: new Map(), files: [] }\n for (const file of files) {\n let directory = root\n for (const name of file.path.split('/').slice(0, -1)) {\n let child = directory.directories.get(name)\n if (child === undefined) {\n child = { path: directory.path === '' ? name : `${directory.path}/${name}`, name, directories: new Map(), files: [] }\n directory.directories.set(name, child)\n }\n directory = child\n }\n directory.files.push(file)\n }\n return childrenOf(root)\n}\n\n/**\n * Read every file in the tree's depth-first display order, independent of navigation folds and filtering.\n * @param nodes - the complete directory-first tree.\n * @returns the original file objects in display order.\n */\nexport function filesInTreeOrder(nodes: readonly ChangedFileNode[]): readonly ForgeDiffFile[] {\n return nodes.flatMap((node): readonly ForgeDiffFile[] => {\n switch (node.kind) {\n case 'file': return [node.file]\n case 'directory': return filesInTreeOrder(node.children)\n /* v8 ignore next -- closed ChangedFileNode union exhaustiveness guard */\n default: return assertNever(node, 'ChangedFileNode')\n }\n })\n}\n\n/**\n * Keep matching files and their ancestors without changing directory identities.\n * @param nodes - the complete compacted tree.\n * @param query - case-insensitive text matched against current and previous paths.\n * @returns matching branches, or the original tree for an empty query.\n */\nexport function filterFileTree(nodes: readonly ChangedFileNode[], query: string): readonly ChangedFileNode[] {\n const needle = query.trim().toLowerCase()\n if (needle === '') return nodes\n return nodes.flatMap((node): ChangedFileNode[] => {\n if (node.kind === 'file') return [node.path, node.file.previousPath ?? ''].some(path => path.toLowerCase().includes(needle)) ? [node] : []\n const children = filterFileTree(node.children, needle)\n return children.length === 0 ? [] : [{ ...node, children }]\n })\n}\n","/** Changed-file navigation shared by the toolbar menu and wide diff pane, with a disclosure column on every row. */\nimport { useLayoutEffect, useMemo, useRef, useState, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport { FileTypeIcon, IconChevronDownOutlineRegular, IconFolderCloseRegular, Input, Menu, Tooltip } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ForgeDiffFile } from '../types.ts'\nimport { Counts } from './DiffFile.tsx'\nimport { changedFileTree, filesInTreeOrder, filterFileTree, type ChangedFileNode } from './file-tree.ts'\nimport type { NS } from './locales.ts'\nimport css from './ChangedFiles.module.css'\n\n/** Viewing choices remain owned by the changes tab while either navigation surface is hidden. */\nexport interface ChangedFilesState {\n readonly query: string\n readonly collapsed: Readonly<Record<string, boolean>>\n readonly selected: string | null\n}\n\n/** Data and actions of the changed-file navigator. */\nexport interface ChangedFilesProps extends PropsLocale<typeof NS> {\n readonly files: readonly ForgeDiffFile[]\n readonly state: ChangedFilesState\n readonly filter: (query: string) => void\n readonly toggle: (path: string) => void\n readonly jump: (path: string) => void\n /** A menu row participates in the shared menu's keyboard walk. */\n readonly menu?: boolean\n /** Unresolved host review threads by file path; files without any are absent. */\n readonly threadCounts?: ReadonlyMap<string, number>\n}\n\nfunction Rows({ nodes, depth, props }: {\n readonly nodes: readonly ChangedFileNode[]\n readonly depth: number\n readonly props: ChangedFilesProps\n}): ReactNode {\n const { state, toggle, jump, menu, threadCounts, t } = props\n return nodes.map((node) => {\n const directory = node.kind === 'directory'\n const expanded = directory && (state.query.trim() !== '' || state.collapsed[node.path] !== true)\n const threads = node.kind === 'file' ? threadCounts?.get(node.path) ?? 0 : 0\n const label = node.kind === 'file' && node.file.previousPath !== null\n ? t('diff.renamedPath', { from: node.file.previousPath, path: node.path }) : node.path\n return <div key={node.path}>\n <Tooltip label={label} portal side=\"left\">\n <button type=\"button\" role={menu ? 'menuitem' : undefined} className={clsx(css.row, !directory && state.selected === node.path && css.selected)}\n style={{ paddingInlineStart: `${8 + depth * 14}px` }} aria-label={label} aria-expanded={directory ? expanded : undefined}\n aria-current={!directory && state.selected === node.path ? 'true' : undefined}\n onKeyDown={(event) => {\n if (!directory || !['ArrowLeft', 'ArrowRight'].includes(event.key)) return\n event.preventDefault()\n if ((event.key === 'ArrowRight') !== expanded) toggle(node.path)\n }}\n onClick={(event) => { if (directory) { event.stopPropagation(); toggle(node.path) } else jump(node.path) }}>\n <span className={css.chevron} aria-hidden=\"true\">\n {directory && <IconChevronDownOutlineRegular size={12} className={clsx(!expanded && css.collapsed)} />}\n </span>\n {directory ? <IconFolderCloseRegular size={14} /> : <FileTypeIcon path={node.path} size={14} />}\n <span className={css.name}>{node.name}</span>\n {threads > 0 && <span className={css.threads} title={t('thread.treeCount', { count: threads })}>{threads}</span>}\n {node.kind === 'file' && <Counts file={node.file} t={t} />}\n </button>\n </Tooltip>\n {node.kind === 'directory' && expanded && <Rows nodes={node.children} depth={depth + 1} props={props} />}\n </div>\n })\n}\n\n/**\n * Scroll only the row container to show a row that is not wholly visible; a visible row stays where it is.\n * `scrollIntoView` would also scroll every scrollable ancestor, moving the menu card or the page behind it, and\n * its `container` option is not yet supported widely enough, so the offset is measured here.\n * @param container - the scrolling rows.\n * @param row - the row to show.\n * @param align - `center` places the row mid-view with its neighbors; `nearest` scrolls by the least distance.\n */\nfunction revealRow(container: HTMLElement, row: HTMLElement, align: 'center' | 'nearest'): void {\n const top = container.getBoundingClientRect().top + container.clientTop\n const bottom = top + container.clientHeight\n const box = row.getBoundingClientRect()\n if (box.top >= top && box.bottom <= bottom) return\n if (align === 'center') container.scrollTop += (box.top + box.bottom - top - bottom) / 2\n else container.scrollTop += box.top < top ? box.top - top : box.bottom - bottom\n}\n\n/**\n * Render searchable directory navigation without reading file contents.\n * @param props - changed files, per-tab choices, navigation actions, and localized copy.\n * @returns the search field and matching branches.\n */\nexport function ChangedFiles(props: ChangedFilesProps): ReactNode {\n const tree = useMemo(() => changedFileTree(props.files), [props.files])\n const nodes = useMemo(() => filterFileTree(tree, props.state.query), [tree, props.state.query])\n const order = useMemo(() => filesInTreeOrder(tree), [tree])\n const selectedIndex = order.findIndex(file => file.path === props.state.selected)\n const rows = useRef<HTMLDivElement>(null)\n const query = useRef(props.state.query)\n // A changed filter shows its results from the top.\n useLayoutEffect(() => {\n if (query.current === props.state.query) return\n query.current = props.state.query\n const container = rows.current\n /* v8 ignore next -- the ref is attached before layout effects run. */\n if (container === null) return\n container.scrollTop = 0\n }, [props.state.query])\n const mounted = useRef(false)\n // The toolbar menu mounts these rows at the top on every opening, so mounting centers the selected file. Later, a\n // file step in the diff, or files arriving or reordering around a selection, scrolls by the least distance; a\n // refresh that keeps the selected file's position leaves the reader's scroll alone.\n useLayoutEffect(() => {\n const align = mounted.current ? 'nearest' : 'center'\n mounted.current = true\n const container = rows.current\n const row = container?.querySelector<HTMLElement>('[aria-current=\"true\"]')\n if (container == null || row == null) return\n revealRow(container, row, align)\n }, [props.state.selected, selectedIndex])\n return <div className={css.root} data-forge-file-tree=\"\">\n <div className={css.search}><Input className={clsx(css.searchInput)} aria-label={props.t('diff.filterFiles')} placeholder={props.t('diff.filterFiles')}\n value={props.state.query} onChange={(event) => { props.filter(event.target.value) }}\n onKeyDown={(event) => { if (['Home', 'End', 'ArrowLeft', 'ArrowRight'].includes(event.key)) event.stopPropagation() }} /></div>\n <div ref={rows} className={css.rows}>\n {nodes.length === 0 ? <div className={css.empty}>{props.t('diff.noMatchingFiles')}</div> : <Rows nodes={nodes} depth={0} props={props} />}\n </div>\n </div>\n}\n\n/**\n * Open directory navigation through the existing files toolbar entry.\n * @param props - navigator data and whether its owning tab is visible.\n * @returns the toolbar entry and its portalled menu.\n */\nexport function ChangedFilesMenu({ visible, ...props }: ChangedFilesProps & { readonly visible: boolean }): ReactNode {\n const [open, setOpen] = useState(false)\n return <Menu open={visible && open} portal dense align=\"start\" className={css.anchor} listClassName={css.menu} onClose={() => { setOpen(false) }}\n anchor={<button type=\"button\" className={css.trigger} aria-haspopup=\"menu\" aria-expanded={visible && open} disabled={props.files.length === 0}\n onClick={() => { setOpen(value => !value) }}>\n <span className={css.triggerLabel}>{props.t('diff.allFiles', { count: props.files.length })}</span>\n <IconChevronDownOutlineRegular size={12} className={css.triggerChevron} />\n </button>}>\n <ChangedFiles {...props} menu jump={(path) => { setOpen(false); props.jump(path) }} />\n </Menu>\n}\n","/** Resizable file navigation; width belongs to the mounted tab and survives hiding the pane. */\n\nimport clsx from 'clsx'\nimport changesCss from './ChangesTab.module.css'\nimport { useLayoutEffect, useRef, useState, type ReactNode } from 'react'\nimport { ChangedFiles, type ChangedFilesProps } from './ChangedFiles.tsx'\nimport css from './FileTreePane.module.css'\n\nconst MIN_WIDTH = 200\nconst MAX_WIDTH = 600\nconst DIFF_MIN_WIDTH = 320\n\n/** Placement of a tab's file navigator; hiding it retains its viewing choices. */\nexport type FileTreePosition = 'right' | 'left' | 'hidden'\n\n/**\n * Render a keyboard- and pointer-resizable tree beside the diff.\n * @param props - tree rows, pane position, the toggle's controlled element id, and the receiver of the shown width.\n * @returns the bounded pane and its resize separator.\n */\nexport function FileTreePane({ position, id, onWidth, ...props }: ChangedFilesProps & {\n readonly position: FileTreePosition\n readonly id: string\n /** Receives the pane's width in pixels whenever it changes, so the toolbar can align a cell with it. */\n readonly onWidth: (width: number) => void\n}): ReactNode {\n const pane = useRef<HTMLDivElement>(null)\n const drag = useRef<{ pointer: number; x: number; width: number } | null>(null)\n const [width, setWidth] = useState(240)\n const [maximum, setMaximum] = useState(MAX_WIDTH)\n useLayoutEffect(() => {\n const parent = pane.current?.parentElement\n if (parent === undefined || parent === null) return\n const measure = (): void => {\n const available = parent.clientWidth\n // A retained tab has no measurable width while its session or pane is hidden.\n if (available === 0) return\n setMaximum(Math.max(MIN_WIDTH, Math.min(MAX_WIDTH, available - DIFF_MIN_WIDTH)))\n }\n measure()\n const observer = new ResizeObserver(measure)\n observer.observe(parent)\n return () => { observer.disconnect() }\n }, [])\n const shown = Math.min(width, maximum)\n useLayoutEffect(() => { onWidth(shown) }, [shown, onWidth])\n const direction = position === 'left' ? 1 : -1\n const resize = (next: number): void => { setWidth(Math.round(Math.max(MIN_WIDTH, Math.min(maximum, next)))) }\n return <div ref={pane} className={clsx(css.pane, changesCss.treePane)} data-position={position} hidden={position === 'hidden'} style={{ width: shown }}>\n <div className={css.resize} role=\"separator\" tabIndex={0} aria-label={props.t('diff.resizeFileTree')}\n aria-orientation=\"vertical\" aria-controls={id} aria-valuemin={MIN_WIDTH} aria-valuemax={maximum} aria-valuenow={shown}\n onPointerDown={(event) => {\n if (event.button !== 0) return\n event.preventDefault()\n event.currentTarget.setPointerCapture(event.pointerId)\n drag.current = { pointer: event.pointerId, x: event.clientX, width: shown }\n }}\n onPointerMove={(event) => {\n const active = drag.current\n if (active?.pointer === event.pointerId) resize(active.width + direction * (event.clientX - active.x))\n }}\n onPointerUp={(event) => {\n const active = drag.current\n if (active?.pointer !== event.pointerId) return\n resize(active.width + direction * (event.clientX - active.x))\n drag.current = null\n event.currentTarget.releasePointerCapture(event.pointerId)\n }}\n onPointerCancel={() => { drag.current = null }} onLostPointerCapture={() => { drag.current = null }}\n onKeyDown={(event) => {\n if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event.key)) return\n event.preventDefault()\n resize(event.key === 'Home' ? MIN_WIDTH : event.key === 'End' ? maximum : shown + direction * (event.key === 'ArrowRight' ? 20 : -20))\n }} />\n <nav id={id} className={css.navigation} aria-label={props.t('diff.allFiles', { count: props.files.length })}>\n <ChangedFiles {...props} />\n </nav>\n </div>\n}\n","/** Lifecycle glyphs of change requests and outcome glyphs of their checks. */\n\nimport type { ReactNode } from 'react'\nimport clsx from 'clsx'\nimport { IconCheckCircleFillRegular, IconCloseCircleFillRegular } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { CheckState, ChecksRollup } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { ChangeRequestTone } from './status.ts'\nimport css from './ForgeTab.module.css'\n\nconst BRANCH_ENDS = (\n <>\n <circle cx=\"4\" cy=\"3.5\" r=\"1.6\" />\n <circle cx=\"4\" cy=\"12.5\" r=\"1.6\" />\n <circle cx=\"12\" cy=\"12.5\" r=\"1.6\" />\n </>\n)\n\n/** The head branch line that bends back toward the base, shared by the open and blocked shapes. */\nconst TOWARD_BASE = (\n <>\n <path d=\"M12 10.9V6.6C12 5.5 11.1 4.6 10 4.6H8.2\" />\n <path d=\"M9.6 3L8 4.6L9.6 6.2\" />\n </>\n)\n\nconst OPEN = (\n <>\n {BRANCH_ENDS}\n <path d=\"M4 5.1V10.9\" />\n {TOWARD_BASE}\n </>\n)\n\nconst SHAPES: Record<ChangeRequestTone, ReactNode> = {\n open: OPEN,\n unknown: OPEN,\n blocked: (\n <>\n <path d=\"M2.6 2.1L5.4 4.9M5.4 2.1L2.6 4.9\" />\n <circle cx=\"4\" cy=\"12.5\" r=\"1.6\" />\n <circle cx=\"12\" cy=\"12.5\" r=\"1.6\" />\n <path d=\"M4 5.6V10.9\" />\n {TOWARD_BASE}\n </>\n ),\n draft: (\n <>\n {BRANCH_ENDS}\n <path d=\"M4 5.1V10.9M12 10.4V9.6M12 7.9V7.1M12 5.4V4.6\" />\n </>\n ),\n merged: (\n <>\n <circle cx=\"4.5\" cy=\"3.5\" r=\"1.6\" />\n <circle cx=\"4.5\" cy=\"12.5\" r=\"1.6\" />\n <circle cx=\"11.5\" cy=\"8\" r=\"1.6\" />\n <path d=\"M4.5 5.1V10.9M4.5 5.1C4.5 7 6.5 8 9.9 8\" />\n </>\n ),\n closed: (\n <>\n {BRANCH_ENDS}\n <path d=\"M4 5.1V10.9M12 10.9V8.6M10.4 3.2L13.6 6.4M13.6 3.2L10.4 6.4\" />\n </>\n ),\n}\n\n/** Center of each shape's head branch end, which a checks mark covers. */\nconst HEAD: Record<ChangeRequestTone, readonly [number, number]> = {\n open: [12, 12.5],\n unknown: [12, 12.5],\n blocked: [12, 12.5],\n draft: [12, 12.5],\n merged: [11.5, 8],\n closed: [12, 12.5],\n}\n\n/**\n * Draw a change request in its lifecycle shape: open, open with a cross for\n * one that needs its author, draft, merged, closed, or the open shape for an\n * unknown state.\n * @param props.tone - lifecycle state that picks the shape and, when tinted, the color.\n * @param props.tinted - whether the state picks the color; otherwise the glyph uses the current text color.\n * @param props.size - width and height in pixels, 15 by default.\n * @param props.label - accessible name; omit it for a decorative glyph.\n * @param props.checks - checks outcome drawn as a filled head branch end in its state color; omit it for the plain end.\n * @returns the SVG glyph.\n */\nexport function ChangeRequestGlyph({ tone, tinted = true, size = 15, label, checks }: {\n readonly tone: ChangeRequestTone\n readonly tinted?: boolean | undefined\n readonly size?: number | undefined\n readonly label?: string | undefined\n readonly checks?: Exclude<ChecksRollup, 'none'> | undefined\n}): ReactNode {\n return (\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.3}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={clsx(css.glyph, tinted && css.tinted)}\n data-tone={tone}\n data-forge-glyph={tone}\n {...label === undefined ? { 'aria-hidden': true } : { role: 'img', 'aria-label': label }}\n >\n {SHAPES[tone]}\n {/* Concentric with the stroked end and larger than its outer edge, so it covers that end completely. */}\n {checks !== undefined && <circle cx={HEAD[tone][0]} cy={HEAD[tone][1]} r=\"2.3\" stroke=\"none\" className={css.checksMark} data-checks={checks} />}\n </svg>\n )\n}\n\nconst CHECK_TONE: Record<CheckState, string | undefined> = {\n success: css.pass,\n failure: css.fail,\n pending: css.running,\n neutral: undefined,\n skipped: undefined,\n cancelled: undefined,\n}\n\n/**\n * Draw the decorative outcome of one check beside its text: a filled circle\n * for success or failure, a half-filled ring while it runs, and an empty ring\n * for neutral, skipped, and cancelled checks.\n * @param props.state - check outcome.\n * @param props.size - width and height in pixels, 16 by default.\n * @returns the glyph.\n */\nexport function CheckGlyph({ state, size = 16 }: { readonly state: CheckState; readonly size?: number | undefined }): ReactNode {\n const running = state === 'pending'\n return (\n <span className={clsx(css.checkGlyph, CHECK_TONE[state])} data-forge-check={state} aria-hidden=\"true\">\n {state === 'success' && <IconCheckCircleFillRegular size={size} />}\n {state === 'failure' && <IconCloseCircleFillRegular size={size} />}\n {state !== 'success' && state !== 'failure' && (\n <svg width={size} height={size} viewBox=\"0 0 16 16\" fill=\"none\">\n <circle cx=\"8\" cy=\"8\" r=\"6.25\" stroke=\"currentColor\" strokeWidth={1.5} />\n {running\n ? <path d=\"M8 3.5A4.5 4.5 0 0 1 8 12.5Z\" fill=\"currentColor\" />\n : <path d=\"M5.5 8H10.5\" stroke=\"currentColor\" strokeWidth={1.5} strokeLinecap=\"round\" />}\n </svg>\n )}\n </span>\n )\n}\n","/** Refresh glyph that turns while a refresh runs. */\n\nimport { useState, type ReactNode } from 'react'\nimport { IconRefreshOutlineRegular } from '@deepseek-ai/dsh-client-ui-primitives'\nimport css from './RefreshGlyph.module.css'\n\n/** Props of the refresh glyph. */\nexport interface RefreshGlyphProps {\n /** Whether the refresh runs. */\n readonly busy: boolean\n /** Glyph size in pixels. */\n readonly size: number\n}\n\n/**\n * Render the refresh glyph. It turns while `busy` and, once `busy` ends,\n * completes the turn under way, so a quick refresh still shows a whole turn\n * and the glyph stops upright. Under reduced motion it dims and returns instead of turning.\n * @param props - whether the refresh runs, and the glyph size.\n * @returns the glyph.\n */\nexport function RefreshGlyph({ busy, size }: RefreshGlyphProps): ReactNode {\n // Set when a turn starts and cleared at the first turn boundary after `busy` ends.\n const [turning, setTurning] = useState(false)\n return (\n <span\n className={css.glyph}\n data-turning={busy || turning ? '' : undefined}\n onAnimationStart={() => { setTurning(true) }}\n onAnimationIteration={() => { if (!busy) setTurning(false) }}\n >\n <IconRefreshOutlineRegular size={size} />\n </span>\n )\n}\n","/** Width-driven folding of the changes toolbar into its More menu. */\n\n/** Fold levels, from none to the deepest: level 1 folds the line totals, expansion, side by side, and wrapping; level 2\n * the test switch, with the progress label shortened to the bare count beside its ring; level 3 refresh. */\nexport const DEEPEST_FOLD = 3\n\n/**\n * Read the fold level a toolbar shows.\n * @param inside - an element inside the toolbar, such as its More button.\n * @returns the level, or the deepest level outside a measured toolbar.\n */\nexport function foldOf(inside: Element): number {\n const level = Number.parseInt(inside.closest('[data-fold]')?.getAttribute('data-fold') ?? '', 10)\n return Number.isInteger(level) ? level : DEEPEST_FOLD\n}\n\n/**\n * Width the row's displayed items need on one line: each item but the spacer at its own width, and one column gap\n * between neighbours, the spacer included.\n * @param row - the toolbar row.\n * @param gap - its column gap in pixels.\n * @returns the width in pixels.\n */\nfunction demand(row: HTMLElement, gap: number): number {\n let width = 0\n let items = 0\n for (const child of row.children) {\n const spacer = child.hasAttribute('data-fold-spacer')\n const own = spacer ? 0 : child.getBoundingClientRect().width\n if (!spacer && own === 0) continue\n width += own\n items += 1\n }\n return width + Math.max(0, items - 1) * gap\n}\n\n/**\n * Keep a toolbar row on one line by setting `data-fold` to the shallowest level whose items fit, measuring each level's\n * demand synchronously; the row's styles hide each level's items and show the More button. Content, size, and font\n * changes measure again.\n * @param row - the toolbar row; its children are the items, and the one with `data-fold-spacer` takes the slack.\n * @returns Disconnect the observers and the font listener.\n */\nexport function observeToolbarFold(row: HTMLElement): () => void {\n const resize = new ResizeObserver(() => { measure() })\n const measure = (): void => {\n // Items React adds after the first measure are observed too; observing an observed element again does nothing.\n for (const child of row.children) resize.observe(child)\n const style = getComputedStyle(row)\n const available = row.getBoundingClientRect().width - parseFloat(style.paddingLeft) - parseFloat(style.paddingRight)\n const gap = parseFloat(style.columnGap)\n let level = 0\n for (; level < DEEPEST_FOLD; level += 1) {\n row.setAttribute('data-fold', String(level))\n if (demand(row, gap) <= available) break\n }\n row.setAttribute('data-fold', String(level))\n }\n resize.observe(row)\n const mutation = new MutationObserver(measure)\n mutation.observe(row, { subtree: true, childList: true, characterData: true })\n const fonts = document.fonts\n fonts.addEventListener('loadingdone', measure)\n measure()\n return () => {\n resize.disconnect()\n mutation.disconnect()\n fonts.removeEventListener('loadingdone', measure)\n }\n}\n","/** The changes toolbar's More menu, which holds the view controls a narrow toolbar folds out of its row. */\n\nimport { useState, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport { IconEllipsisOutlineRegular, Menu, Tooltip, type MenuEntry } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { NS } from './locales.ts'\nimport { foldOf } from './toolbar-fold.ts'\nimport css from './ChangesTab.module.css'\n\n/** Toolbar state and actions the menu repeats. */\nexport interface ViewOptions {\n /** Whether any shown file is expanded, so the expansion row collapses them all. */\n readonly anyExpanded: boolean\n /** Whether any file shows, so the expansion row has files to change. */\n readonly hasFiles: boolean\n readonly toggleExpansion: () => void\n readonly split: boolean\n readonly toggleSplit: () => void\n readonly wrap: boolean\n readonly toggleWrap: () => void\n /** Whether test files hide, or undefined when the toolbar offers no test switch. */\n readonly hideTests: boolean | undefined\n readonly toggleTests: () => void\n readonly refresh: () => void\n}\n\n/**\n * Render the More button and its menu, which lists the controls of the toolbar's fold level when it opens (see\n * `observeToolbarFold`); the toolbar's styles hide the button while nothing folds.\n * @param props - the toolbar state and actions, whether the owning tab is visible, and copy.\n * @returns the button and its portalled menu.\n */\nexport function ViewOptionsMenu({ options, visible, t }: PropsLocale<typeof NS> & {\n readonly options: ViewOptions\n readonly visible: boolean\n}): ReactNode {\n const [fold, setFold] = useState<number | null>(null)\n const open = visible && fold !== null\n const entries: MenuEntry[] = []\n if (fold !== null) {\n entries.push(\n { id: 'expansion', label: t(options.anyExpanded ? 'diff.collapseAll' : 'diff.expandAll'), disabled: !options.hasFiles },\n { id: 'split', label: t('diff.splitAria') },\n { id: 'wrap', label: t('diff.wrapAria') },\n )\n if (fold >= 2 && options.hideTests !== undefined) entries.push({ type: 'separator', id: 'tests-separator' }, { id: 'tests', label: t('tests.hide') })\n if (fold >= 3) entries.push({ type: 'separator', id: 'refresh-separator' }, { id: 'refresh', label: t('diff.refresh') })\n }\n const selected = [options.split && 'split', options.wrap && 'wrap', options.hideTests === true && 'tests'].filter(item => item !== false)\n const run = (id: string): void => {\n switch (id) {\n case 'expansion': options.toggleExpansion(); break\n case 'split': options.toggleSplit(); break\n case 'wrap': options.toggleWrap(); break\n case 'tests': options.toggleTests(); break\n case 'refresh': options.refresh(); break\n /* v8 ignore next -- the menu offers only the rows above */\n default: break\n }\n }\n return (\n <Menu open={open} portal dense align=\"end\" autoFocus items={entries} selectedIds={selected}\n onClose={() => { setFold(null) }}\n onSelect={(id) => {\n setFold(null)\n run(id)\n }}\n anchor={(\n <Tooltip label={t('diff.moreOptions')} side=\"bottom\">\n <button type=\"button\" className={clsx(css.tool, css.more)} aria-label={t('diff.moreOptions')}\n aria-haspopup=\"menu\" aria-expanded={open} data-forge-view-options=\"\"\n onClick={(event) => { setFold(fold === null ? foldOf(event.currentTarget) : null) }}>\n <IconEllipsisOutlineRegular />\n </button>\n </Tooltip>\n )} />\n )\n}\n","/** Reads the review threads of the change request a changes view shows and places them in its files. */\n\nimport { useEffect, useMemo, useRef, useState } from 'react'\nimport type { ForgeReviewData, ForgeReviewThread } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { RemoteResult } from '@deepseek-ai/dsh-typert-protocol'\nimport type { LineThread } from './ReviewThreads.tsx'\nimport { placeThread, type ThreadPlace, type ThreadView } from './review-threads.ts'\n\n/** What the changes view knows about its change request when it reads threads. */\nexport interface ThreadReadInput {\n /** Whether the view is visible; a hidden view reads nothing. */\n readonly visible: boolean\n /** Binding URL of the change request, or null for local changes. */\n readonly url: string | null\n /** Head commit of the latest status, or null before one. */\n readonly head: string | null\n /** Update time of the latest status, or null before one. */\n readonly updatedAt: string | null\n /** Epoch milliseconds of the latest status, so every status asks the Host again; the Host answers from memory until the threads age. */\n readonly statusAt: number | null\n /** Changes on each refresh. */\n readonly attempt: number\n /** Changes after each write that may have changed the threads, which the Host no longer answers from memory. */\n readonly revision: number\n /** Read the threads at a head commit; `fresh` skips the threads the host keeps. */\n readonly read: (url: string, headSha: string, fresh: boolean, signal: AbortSignal) => Promise<RemoteResult<ForgeReviewData>>\n}\n\n/** The last threads read and why the latest read failed. */\nexport interface ThreadReadState {\n /** Threads of the last successful read for the URL, at any head, or null. */\n readonly review: ForgeReviewData | null\n /** Message of the latest failed read, or null, also when the provider cannot read reviews. */\n readonly failure: string | null\n}\n\n/**\n * Read the threads at the head of each status while the view is visible. A read refused because the head moved\n * keeps the previous threads; the next status names the new head and reads again. The first read after a refresh\n * asks the host to skip the threads it keeps, which a resolved thread leaves unchanged.\n * @param input - the change request and the reader.\n * @returns the last threads and the latest failure.\n */\nexport function useThreadRead(input: ThreadReadInput): ThreadReadState {\n const { visible, url, head, updatedAt, statusAt, attempt, revision, read } = input\n const [state, setState] = useState<ThreadReadState & { readonly url: string | null }>({ url: null, review: null, failure: null })\n const readAttempt = useRef(attempt)\n useEffect(() => {\n if (!visible || url === null || head === null) return\n const fresh = readAttempt.current !== attempt\n readAttempt.current = attempt\n const controller = new AbortController()\n void read(url, head, fresh, controller.signal).then((result) => {\n if (controller.signal.aborted) return\n if (result.ok) {\n setState({ url, review: result.value, failure: null })\n return\n }\n const { code, message } = result.error\n if (code === 'forgePanel/stale-head') return\n setState(previous => ({ url, review: previous.url === url ? previous.review : null,\n failure: code === 'forgePanel/review-unsupported' ? null : message }))\n })\n return () => { controller.abort() }\n }, [visible, url, head, updatedAt, statusAt, attempt, revision, read])\n return state.url === url ? state : { review: null, failure: null }\n}\n\n/** Threads of one file grouped by where they show, and how many of them are unresolved. */\nexport interface PlacedFileThreads {\n readonly lines: readonly LineThread[]\n readonly file: readonly ForgeReviewThread[]\n readonly outdated: readonly ForgeReviewThread[]\n readonly unresolved: number\n}\n\n/** One thread and where the shown changes place it. */\nexport interface PlacedThread {\n readonly thread: ForgeReviewThread\n readonly place: ThreadPlace\n}\n\n/** Every thread with its place and the threads of each file. */\nexport interface PlacedThreads {\n /** Every thread in host order with its place. */\n readonly entries: readonly PlacedThread[]\n /** Threads of each path. */\n readonly files: ReadonlyMap<string, PlacedFileThreads>\n /** Unresolved threads by path, for the file tree. */\n readonly unresolved: ReadonlyMap<string, number>\n}\n\nconst NONE: PlacedThreads = { entries: [], files: new Map(), unresolved: new Map() }\n\n/**\n * Place the threads of a review in the shown changes.\n * @param review - threads read at the head of the latest status, or null.\n * @param view - the shown changes, or null before they load.\n * @returns places, per-file groups, and unresolved counts.\n */\nexport function usePlacedThreads(review: ForgeReviewData | null, view: ThreadView | null): PlacedThreads {\n const commits = view?.commits ?? null\n const end = view?.end ?? null\n return useMemo(() => {\n if (review === null || end === null) return NONE\n const entries: PlacedThread[] = []\n const files = new Map<string, { lines: LineThread[]; file: ForgeReviewThread[]; outdated: ForgeReviewThread[]; unresolved: number }>()\n const unresolved = new Map<string, number>()\n for (const thread of review.threads) {\n const place = placeThread(thread, { head: review.headSha, end, commits })\n entries.push({ thread, place })\n let group = files.get(thread.path)\n if (group === undefined) {\n group = { lines: [], file: [], outdated: [], unresolved: 0 }\n files.set(thread.path, group)\n }\n if (place.kind === 'line') group.lines.push({ thread, place })\n else if (place.kind === 'file') group.file.push(thread)\n else if (place.kind === 'outdated') group.outdated.push(thread)\n if (!thread.resolved) {\n group.unresolved += 1\n unresolved.set(thread.path, group.unresolved)\n }\n }\n return { entries, files, unresolved }\n }, [review, end, commits])\n}\n","/**\n * The thread list of a change request beside its changes: every thread grouped by file in file tree order, narrowed\n * by whether it is resolved, each opening the place it shows at. A wide changes view docks the list beside the files;\n * a narrower one floats it over them, and the narrowest gives it their whole width.\n */\n\nimport { useLayoutEffect, useMemo, useRef, type KeyboardEvent, type ReactNode } from 'react'\nimport { IconChevronLeftOutlineRegular, IconCloseOutlineRegular, IconRightUpOutlineRegular, Tag, Tooltip } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ForgeReviewThread } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { ForgeDiffFile } from '../types.ts'\nimport { FileLabel } from './FileLabel.tsx'\nimport { SegmentedChoice } from './ReviewControls.tsx'\nimport { Avatar } from './ReviewThreads.tsx'\nimport { anchorRange, inFileOrder, passesFilter, THREAD_FILTERS, type ThreadFilter, type ThreadPlace } from './review-threads.ts'\nimport type { NS } from './locales.ts'\nimport type { PlacedThread } from './thread-state.ts'\nimport css from './ThreadList.module.css'\n\ntype Translate = PropsLocale<typeof NS>['t']\n\n/** Props of the thread list. */\nexport interface ThreadListProps extends PropsLocale<typeof NS> {\n /** Every thread read, in host order, with where the current changes show it. */\n readonly entries: readonly PlacedThread[]\n /** Changed files in file tree order; threads on other paths follow them. */\n readonly files: readonly ForgeDiffFile[]\n /** Whether the host has more threads than were read. */\n readonly truncated: boolean\n /** Web page of the change request. */\n readonly url: string\n /** The active filter. */\n readonly filter: ThreadFilter\n /** Choose a filter. */\n readonly choose: (filter: ThreadFilter) => void\n /** Whether the reader just opened the list, so a list that covers the files takes the focus. */\n readonly claim: boolean\n /** Report that the list handled `claim`. */\n readonly claimed: () => void\n /** Open the place of a thread; `covering` says the list covers the files, so the owner closes it first. */\n readonly open: (entry: PlacedThread, covering: boolean) => void\n /** Open a URL outside the app. */\n readonly openLink: (url: string) => void\n /** Close the list at the reader's request. */\n readonly close: () => void\n}\n\nfunction meta(thread: ForgeReviewThread, place: ThreadPlace, t: Translate): string {\n const replies = thread.comments.length - 1\n const parts: string[] = []\n if (thread.subject === 'file') parts.push(t('thread.fileLevel'))\n else if (place.kind === 'line') parts.push(anchorRange(place.side, place))\n else if (thread.original !== null) {\n parts.push(t('thread.originally', { range: anchorRange(thread.side, thread.original) }), t('thread.onCommit', { commit: thread.original.commit.slice(0, 7) }))\n }\n if (replies > 0) parts.push(t('thread.replies', { count: replies }))\n return parts.join(' · ')\n}\n\n/** Whether the list floats over the files or takes their width, which its narrow-view styles decide. */\nfunction covers(pane: HTMLElement | null): pane is HTMLElement {\n return pane !== null && getComputedStyle(pane).position === 'absolute'\n}\n\n/**\n * The first comment as one line of plain text: without raw HTML, strong, strikethrough, and code marks, quote or\n * heading marks, and link targets.\n */\nfunction plainExcerpt(body: string): string {\n return body.replace(/<[^>]*>/g, ' ').replace(/!?\\[([^\\]]*)\\]\\([^)]*\\)/g, '$1').replace(/^\\s*(?:#{1,6}|>)\\s*/gm, '')\n .replace(/\\*\\*|__|~~|`/g, '').replace(/\\s+/g, ' ').trim()\n}\n\nfunction Item({ entry, open, t }: {\n readonly entry: PlacedThread\n readonly open: (entry: PlacedThread) => void\n readonly t: Translate\n}): ReactNode {\n const { thread, place } = entry\n const first = thread.comments[0]\n return <button type=\"button\" className={css.item} data-forge-thread-item={thread.id} onClick={() => { open(entry) }}>\n <Avatar author={first?.author ?? null} size={22} />\n <span className={css.itemMain}>\n <span className={css.meta}>{meta(thread, place, t)}</span>\n <span className={css.excerpt}>{plainExcerpt(first?.body ?? '')}</span>\n <span className={css.tags}>\n {place.kind === 'outdated' && <Tag tone=\"warning\">{t('thread.outdatedTag')}</Tag>}\n {place.kind === 'elsewhere' && <Tag tone=\"neutral\">{t('thread.elsewhereTag')}</Tag>}\n {thread.resolved && <Tag tone=\"success\">{t('thread.filter.resolved')}</Tag>}\n {first?.author?.bot === true && <Tag tone=\"outline\">{t('thread.bot')}</Tag>}\n </span>\n </span>\n </button>\n}\n\n/**\n * Render the thread list.\n * @param props - threads, their places, the file order, the filter, and the list's actions.\n * @returns the list pane and the scrim behind it where it floats over the files.\n */\nexport function ThreadList(props: ThreadListProps): ReactNode {\n const { entries, files, filter, t } = props\n const threads = useMemo(() => entries.map(entry => entry.thread), [entries])\n const counts = useMemo(() => Object.fromEntries(THREAD_FILTERS.map(item => [item,\n threads.filter(thread => passesFilter(thread, item)).length])) as Record<ThreadFilter, number>, [threads])\n const groups = useMemo(() => {\n const known = new Map(files.map((file, index) => [file.path, { file, index }]))\n const byPath = new Map<string, PlacedThread[]>()\n for (const entry of entries) {\n if (!passesFilter(entry.thread, filter)) continue\n const list = byPath.get(entry.thread.path)\n if (list === undefined) byPath.set(entry.thread.path, [entry])\n else list.push(entry)\n }\n const position = (path: string): number => known.get(path)?.index ?? files.length\n return [...byPath].sort(([a], [b]) => position(a) - position(b) || a.localeCompare(b))\n .map(([path, list]) => [path, inFileOrder(list, known.get(path)?.file)] as const)\n }, [entries, files, filter])\n const pane = useRef<HTMLElement>(null)\n useLayoutEffect(() => {\n if (!props.claim) return\n props.claimed()\n if (covers(pane.current)) pane.current.focus({ preventScroll: true })\n }, [props.claim])\n const escape = (event: KeyboardEvent<HTMLElement>): void => {\n if (event.key !== 'Escape') return\n event.preventDefault()\n event.stopPropagation()\n props.close()\n }\n const open = (entry: PlacedThread): void => { props.open(entry, covers(pane.current)) }\n return <>\n <div className={css.scrim} aria-hidden=\"true\" onClick={props.close} />\n <aside ref={pane} className={css.pane} tabIndex={-1} aria-label={t('thread.listAria', { count: threads.length })} data-forge-thread-list=\"\"\n onKeyDown={escape}>\n <div className={css.header}>\n <button type=\"button\" className={css.back} onClick={props.close}><IconChevronLeftOutlineRegular size={14} />{t('thread.back')}</button>\n <span className={css.title}>{t('thread.list')}</span>\n <span className={css.total}>{threads.length}</span>\n <span className={css.spacer} />\n <Tooltip label={t('thread.close')} side=\"bottom\">\n <button type=\"button\" className={css.close} aria-label={t('thread.close')} onClick={props.close}><IconCloseOutlineRegular size={14} /></button>\n </Tooltip>\n </div>\n <div className={css.filters}>\n <SegmentedChoice label={t('thread.filterAria')} value={filter} choose={props.choose}\n segments={THREAD_FILTERS.map(item => ({ value: item, label: t(`thread.filter.${item}`), count: counts[item], disabledTip: null }))} />\n </div>\n <div className={css.rows}>\n {threads.length === 0 ? <div className={css.note}>{t('thread.empty')}</div>\n : groups.length === 0 ? <div className={css.note}>{t('thread.none')}</div>\n : groups.map(([path, list]) => <section key={path} className={css.group} data-forge-thread-group={path}>\n <h3 className={css.path}><FileLabel path={path} /></h3>\n {list.map(entry => <Item key={entry.thread.id} entry={entry} open={open} t={t} />)}\n </section>)}\n </div>\n <div className={css.footer}>\n {props.truncated && <>{t('thread.truncated', { count: threads.length })}{' · '}</>}\n <button type=\"button\" className={css.link} onClick={() => { props.openLink(props.url) }}>\n <IconRightUpOutlineRegular size={14} />{t('thread.openAll')}\n </button>\n </div>\n </aside>\n </>\n}\n","/**\n * Body of the changes tab: the local changes of the Session's checkout in a\n * chosen scope, or the changes of one of its change requests, as one list of\n * file sections under a toolbar that jumps between files and switches the\n * layout. The view reads the changes when it opens, on each navigation, on\n * refresh, and when the change request's head or the checkout's `branch`\n * scope summary changes; a read keeps the previous changes on screen until it settles.\n * File sections receive values that keep their identity across renders, so a\n * render of the view redraws only the sections whose own values changed, and\n * an expanded file draws its lines once its section comes near the scrollport.\n */\n\nimport {\n useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore, type CSSProperties, type KeyboardEvent,\n type ReactNode,\n} from 'react'\nimport clsx from 'clsx'\nimport {\n Button, IconBranchOutlineRegular, IconChevronDownOutlineRegular, IconChevronsUpDownOutlineRegular, IconCompareSplitOutlineRegular,\n IconInfoOutlineRegular, IconListPenOutlineRegular, IconNowrapFillRegular, IconRightUpOutlineRegular, IconWorkspaceTreeOutlineRegular,\n IconWrapFillRegular,\n Menu, StateDot, Tooltip,\n type MenuEntry,\n} from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { HostObservable, InjectFace, PropsLocale, PropsRuntime, PropsStore } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { SidebarRightTabInfo } from '@deepseek-ai/dsh-client-ui-sidebar-right/client'\nimport type { RemoteResult } from '@deepseek-ai/dsh-typert-protocol'\nimport { assertNever } from '@deepseek-ai/dsh-util-values'\nimport { fileAddressFor, pathPartsOf } from '@deepseek-ai/dsh-util-workspace-path'\nimport type {\n ForgeBaseBranch, ForgeBaseBranches, ForgeChangeRequestDiff, ForgeCommitRange, ForgeDiffFile, ForgeLocalCommits, ForgeLocalDiff,\n ForgeLocalScope, ForgePanelChangeRequest, ForgePanelState,\n} from '../types.ts'\nimport type {\n ForgeCommitList, ForgeReviewData, ForgeReviewRequest, ForgeReviewResult, ForgeReviewThread, ForgeReviewWrite, ForgeReviewWriteResult,\n ForgeThreadId, ForgeViewedFiles, ForgeViewedRequest,\n} from '@deepseek-ai/dsh-experimental-forge/types'\nimport { sameReviewSource, type ReviewQueue } from './review-queue.ts'\nimport { ReviewThread, useFileReview } from './ReviewThread.tsx'\nimport type { ReviewActions } from './ReviewComposer.tsx'\nimport { SubmitReview } from './SubmitReview.tsx'\nimport type { ReviewSelection, ReviewSource } from './review.ts'\nimport { BaseMenu } from './BaseMenu.tsx'\nimport { parseChangesAddress, type ChangesSource } from './changes-address.ts'\nimport type { ChangesLens, createChangesStore } from './changes-store.ts'\nimport { CommitMenu } from './CommitMenu.tsx'\nimport { HideTestsSwitch, LensControl, LensMenu, LENSES, ViewedProgress } from './ReviewControls.tsx'\nimport { viewedStateOf, type ViewedFiles, type ViewedMarks } from './viewed-files.ts'\nimport { hostViewedOf, useHostViewed, type HostViewed } from './host-viewed.ts'\nimport { Counts, DiffFile, type DiffFileAction, type DiffFileHandlers } from './DiffFile.tsx'\nimport { SectionReach } from './section-reach.ts'\nimport { FileTreePane, type FileTreePosition } from './FileTreePane.tsx'\nimport { changedFileTree, filesInTreeOrder } from './file-tree.ts'\nimport { ChangedFilesMenu, type ChangedFilesProps, type ChangedFilesState } from './ChangedFiles.tsx'\nimport { drawnLines, matchesHunks, textLines } from './diff-rows.ts'\nimport { ChangeRequestGlyph } from './glyphs.tsx'\nimport type { ForgePanelKey, NS } from './locales.ts'\nimport { RefreshGlyph } from './RefreshGlyph.tsx'\nimport { ViewOptionsMenu } from './ViewOptionsMenu.tsx'\nimport { observeToolbarFold } from './toolbar-fold.ts'\nimport type { FileThreads, ThreadActions, ThreadFocus, ThreadWrite } from './ReviewThreads.tsx'\nimport { inFileOrder, type ThreadFilter } from './review-threads.ts'\nimport { usePlacedThreads, useThreadRead, type PlacedThread } from './thread-state.ts'\nimport { ThreadList } from './ThreadList.tsx'\nimport type { PanelSnapshot } from './source.ts'\nimport { numberOf, openChangeRequestOf, TONE_LABEL, toneOf } from './status.ts'\nimport css from './ChangesTab.module.css'\n\ntype Translate = PropsLocale<typeof NS>['t']\n\n/** Kind of a local scope. */\ntype ScopeKind = ForgeLocalScope['kind']\n\n/** A file the view scrolls to once, and the thread card it centers there with whether that card takes the focus. */\ninterface Wanted {\n readonly path: string\n readonly center: { readonly id: ForgeThreadId; readonly focus: boolean } | null\n}\n\n/** Business face of the changes tab body. */\nexport interface ChangesTabInjected {\n /** Append a frozen comment to the main input without submitting it. */\n readonly addReviewToInput: (selection: ReviewSelection) => boolean\n /** Records retained across Session switches and cleared when this tab occurrence closes. */\n readonly reviewQueue: (tab: Pick<SidebarRightTabInfo['tab'], 'id' | 'signal'>) => ReviewQueue\n /** Publish one comment or a completed review; never retries mutations. */\n readonly submitReview: (url: string, request: ForgeReviewRequest) => Promise<RemoteResult<ForgeReviewResult>>\n /** Panel source while visible; the renderer releases the subscription for an inactive key. */\n readonly keyedHooks: { readonly panel: (visibility: string) => HostObservable<PanelSnapshot> | undefined }\n /** Open the panel stream again after it ended. */\n readonly reconnect: () => void\n /** Read the local changes of one scope; `signal` aborts the read. */\n readonly localDiff: (scope: ForgeLocalScope, signal: AbortSignal) => Promise<RemoteResult<ForgeLocalDiff>>\n /** Read the branches the `branch` scope can compare with, whose names contain `query`; `signal` aborts the read. */\n readonly diffBases: (query: string, signal: AbortSignal) => Promise<RemoteResult<ForgeBaseBranches>>\n /** Read the new side of one file in a local scope. */\n readonly localText: (scope: ForgeLocalScope, path: string) => Promise<RemoteResult<string>>\n /** List the commits of the `branch` scope compared with `base`, or with the automatic fork point for null; `signal` aborts the read. */\n readonly localCommits: (base: string | null, signal: AbortSignal) => Promise<RemoteResult<ForgeLocalCommits>>\n /** Read the changes of a change request, or of consecutive commits of it, by its binding URL; `signal` aborts the read. */\n readonly changeRequestDiff: (\n url: string, commits: ForgeCommitRange | null, signal: AbortSignal,\n ) => Promise<RemoteResult<ForgeChangeRequestDiff>>\n /** List the commits of a change request, or null when its provider does not read commits; `signal` aborts the read. */\n readonly changeRequestCommits: (url: string, signal: AbortSignal) => Promise<RemoteResult<ForgeCommitList | null>>\n /** The Session's viewed marks, kept in the browser for local changes, chosen commits, and hosts that keep none. */\n readonly viewedFiles: ViewedFiles\n /**\n * Read the signed-in user's viewed marks on a change request's files at `headSha`, or null when its provider keeps\n * none; `signal` aborts the read.\n */\n readonly changeRequestViewed: (url: string, headSha: string, signal: AbortSignal) => Promise<RemoteResult<ForgeViewedFiles | null>>\n /** Set or clear the signed-in user's viewed mark on one file of a change request. */\n readonly setFileViewed: (url: string, request: ForgeViewedRequest) => Promise<RemoteResult<void>>\n /** Read one file of a change request at a commit. */\n readonly changeRequestText: (url: string, commit: string, path: string) => Promise<RemoteResult<string>>\n /** Read the review threads of a change request at the head of its latest status; `signal` aborts the read. */\n readonly changeRequestReview: (\n url: string, headSha: string, fresh: boolean, signal: AbortSignal,\n ) => Promise<RemoteResult<ForgeReviewData>>\n /** Write to the review threads or the pending review of a change request; never retries a write. */\n readonly changeRequestReviewWrite: (url: string, write: ForgeReviewWrite) => Promise<RemoteResult<ForgeReviewWriteResult>>\n /** Quote a whole review thread of the change request at `url` in the main input without submitting it. */\n readonly addThreadToInput: (thread: ForgeReviewThread, url: string, range: string | null) => boolean\n /** Open a URL outside the app. */\n readonly openLink: (url: string) => void\n /** Copy a path to the clipboard and report the outcome. */\n readonly copyPath: (path: string) => void\n /** Ask the Session's Agent to create a change request for its changes, reporting the outcome. */\n readonly createChangeRequest: () => void\n /** Show a failure notice. */\n readonly report: (key: ForgePanelKey, params?: Readonly<Record<string, string>>) => void\n}\n\n/** Full props of the changes tab body. */\nexport type ChangesTabProps =\n Pick<PropsRuntime<'sidebar.right.pane.tab'>, 'useTabInfo' | 'sessionId'>\n & PropsStore<ReturnType<typeof createChangesStore>>\n & InjectFace<ChangesTabInjected>\n & PropsLocale<typeof NS>\n\n/** Changes of either source as the view draws them. */\ntype ChangesData =\n | {\n readonly kind: 'local'\n readonly files: readonly ForgeDiffFile[]\n /** Scope the files were read in. */\n readonly scope: ForgeLocalScope\n /** Name of what the `branch` scope compared with; null for other scopes. */\n readonly base: string | null\n /** Untracked files left out. */\n readonly omitted: number\n }\n | {\n readonly kind: 'change'\n readonly files: readonly ForgeDiffFile[]\n /** Binding URL of the change request. */\n readonly url: string\n /** Commit the files end at, the head or the last chosen commit, which supplies unchanged lines. */\n readonly headSha: string\n /** Commits the files cover, or null for the whole change request. */\n readonly commits: ForgeCommitRange | null\n /** Commits the checkout's branch has beyond the head, or null. */\n readonly localAhead: number | null\n /** Web page of each file at the head. */\n readonly fileUrls: Readonly<Record<string, string>>\n /** The code host's viewed marks of the whole change request, or null when the browser keeps the marks. */\n readonly viewed: HostViewed | null\n }\n\n/** Why the code host did not take a review write, and whether it may have applied it. */\ninterface WriteRefusal {\n readonly message: string\n readonly unknown: boolean\n}\n\n/** Unchanged lines read for one loaded diff: each file's new side and its expanded gaps. */\ninterface Expansion {\n readonly data: ChangesData | null\n readonly texts: Readonly<Record<string, readonly string[] | 'loading'>>\n readonly open: Readonly<Record<string, ReadonlySet<number>>>\n}\n\n/** Files whose hunks draw more lines show the large-file notice until revealed. */\nconst LARGE_FILE_LINES = 1000\n\n/** Lines the files above may change before a file starts collapsed. */\nconst OPEN_LINES = 5000\n\nconst NO_GAPS: ReadonlySet<number> = new Set()\n\nconst SCOPE_LABEL: Record<ScopeKind, ForgePanelKey> = {\n branch: 'diff.scope.branch',\n uncommitted: 'diff.scope.uncommitted',\n unstaged: 'diff.scope.unstaged',\n staged: 'diff.scope.staged',\n}\n\nconst SCOPE_NOTE: Record<Exclude<ScopeKind, 'branch'>, ForgePanelKey> = {\n uncommitted: 'diff.scopeNote.uncommitted',\n unstaged: 'diff.scopeNote.unstaged',\n staged: 'diff.scopeNote.staged',\n}\n\n/** Failures with their own message; any other failure offers a retry. */\nconst FAILURE: Partial<Record<string, ForgePanelKey>> = {\n 'forgePanel/not-a-checkout': 'checkout.none',\n 'forgePanel/no-fork-point': 'diff.noForkPoint',\n 'forgePanel/diff-too-large': 'diff.tooLarge',\n 'forgePanel/filter-config-failed': 'diff.filterConfigFailed',\n 'forgePanel/commits-missing': 'commits.missing',\n 'forgePanel/commits-not-linear': 'commits.notLinear',\n}\n\n/** Failures of a chosen base branch, which offer the automatic fork point instead of a retry. */\nconst BASE_FAILURE: Partial<Record<string, ForgePanelKey>> = {\n 'forgePanel/base-missing': 'diff.baseMissing',\n 'forgePanel/no-fork-point': 'diff.baseUnrelated',\n}\n\n/**\n * Explain a failure of the `branch` scope that its chosen base branch caused.\n * @param failed - code of the failed read, or null.\n * @param base - branch the read compared with, or null for the automatic fork point and other scopes.\n * @param t - forge panel copy.\n * @returns the message naming the branch, or undefined for another failure or without a chosen branch.\n */\nfunction baseFailureOf(failed: string | null, base: ForgeBaseBranch | null, t: Translate): string | undefined {\n const key = failed === null ? undefined : BASE_FAILURE[failed]\n return key === undefined || base === null ? undefined : t(key, { base: base.name })\n}\n\n/**\n * Read the changes a view shows. The whole change request also reads the host's viewed marks at the head of the latest\n * status, beside the diff; marks read at another head refuse the read as the diff refuses a moved head.\n * @param source - local changes or a change request.\n * @param scope - local scope to read.\n * @param commits - chosen commits of a change request, or null for all of it.\n * @param head - head commit of the change request's latest status, or null.\n * @param reads - the Remote reads.\n * @param signal - cancellation of the reads.\n * @returns the changes, or why they could not be read.\n */\nasync function readChanges(\n source: ChangesSource,\n scope: ForgeLocalScope,\n commits: ForgeCommitRange | null,\n head: string | null,\n reads: Pick<ChangesTabInjected, 'localDiff' | 'changeRequestDiff' | 'changeRequestViewed'>,\n signal: AbortSignal,\n): Promise<RemoteResult<ChangesData>> {\n if (source.kind === 'local') {\n const result = await reads.localDiff(scope, signal)\n if (!result.ok) return result\n const { files, base, omitted } = result.value\n return { ok: true, value: { kind: 'local', files, scope, base, omitted } }\n }\n const [result, marks] = await Promise.all([\n reads.changeRequestDiff(source.url, commits, signal),\n commits === null && head !== null && head !== '' ? reads.changeRequestViewed(source.url, head, signal) : Promise.resolve(null),\n ])\n if (!result.ok) return result\n if (marks !== null && !marks.ok && marks.error.code === 'forgePanel/stale-head') return marks\n const { files, headSha, localAhead, fileUrls } = result.value\n const viewed = hostViewedOf(marks, headSha)\n return { ok: true, value: { kind: 'change', files, url: source.url, headSha, commits, localAhead, fileUrls, viewed } }\n}\n\n/** The ref that identifies a comparison: the chosen base branch, or null for the automatic fork point and other scopes. */\nfunction baseRefOf(scope: ForgeLocalScope): string | null {\n return scope.kind === 'branch' ? scope.base : null\n}\n\n/** The commits a local scope shows, or null for all of them and for scopes other than `branch`. */\nfunction commitsOf(scope: ForgeLocalScope): ForgeCommitRange | null {\n return scope.kind === 'branch' ? scope.commits : null\n}\n\n/** The source review comments on loaded changes record: the change request head, or the local scope with its base. */\nfunction reviewSourceOf(data: ChangesData): ReviewSource {\n return data.kind === 'local'\n ? { kind: 'local', scope: data.scope.kind, base: data.base, baseRef: baseRefOf(data.scope), commits: commitsOf(data.scope) }\n : { kind: 'change', url: data.url, headSha: data.headSha, commits: data.commits }\n}\n\n/**\n * Identity of a diff source for viewed marks: the change request or local scope with its base ref and chosen commits.\n * A change request's marks stay across head commits, so a file whose change a new push altered reads as changed.\n */\nfunction viewedSourceOf(source: ReviewSource): string {\n return JSON.stringify(source.kind === 'local'\n ? ['local', source.scope, source.baseRef, source.commits]\n : ['change', source.url, source.commits])\n}\n\n/**\n * The files that start expanded: every file not marked viewed until those above it change more than {@link OPEN_LINES} lines.\n * @param files - every file in display order.\n * @param marks - the viewed marks when the files loaded.\n * @returns the paths of the expanded files.\n */\nfunction initiallyOpen(files: readonly ForgeDiffFile[], marks: ViewedMarks): ReadonlySet<string> {\n const open = new Set<string>()\n let above = 0\n for (const file of files) {\n if (above > OPEN_LINES) break\n if (viewedStateOf(marks, file.path, file.digest) === 'viewed') continue\n open.add(file.path)\n above += drawnLines(file)\n }\n return open\n}\n\n/** Whether a file shows under a lens while test files hide or not. */\nfunction shownBy(file: ForgeDiffFile, lens: ChangesLens, hideTests: boolean): boolean {\n return !(hideTests && file.layer === 'test') && (lens === 'all' || file.layer === lens)\n}\n\n/** What a rename badge names: the old file name, or the old path when only the directory changed. */\nfunction renamedFrom(previous: string, path: string): string {\n const name = pathPartsOf(previous).name\n return name === pathPartsOf(path).name ? previous : name\n}\n\n/** The hover text of a file's path: both paths of a renamed file, else the path. */\nfunction pathTooltipOf(file: ForgeDiffFile, t: Translate): string {\n return file.status === 'renamed' && file.previousPath !== null ? t('diff.renamedPath', { from: file.previousPath, path: file.path }) : file.path\n}\n\n/** The badge after a path: how the file changed, and whether a branch view's file is untracked. */\nfunction badgeOf(file: ForgeDiffFile, data: ChangesData, t: Translate): string {\n const parts: string[] = []\n if (file.status === 'added') parts.push(t('diff.newFile'))\n else if (file.status === 'deleted') parts.push(t('diff.deletedFile'))\n else if (file.status === 'renamed' && file.previousPath !== null) parts.push(t('diff.renamed', { from: renamedFrom(file.previousPath, file.path) }))\n if (file.untracked && data.kind === 'local' && data.scope.kind === 'branch') parts.push(t('diff.badgeUncommitted'))\n return parts.join(' · ')\n}\n\nfunction ChangeHeader({ url, entry, openLink, commitMenu, reviewCount, reviewDisabled, onReview, t }: {\n readonly url: string\n readonly entry: ForgePanelChangeRequest | undefined\n /** Commit picker left of the review button. */\n readonly commitMenu: ReactNode\n readonly reviewCount: number\n readonly reviewDisabled: boolean\n readonly onReview: () => void\n readonly openLink: (url: string) => void\n readonly t: Translate\n}): ReactNode {\n const snapshot = entry?.snapshot ?? null\n const number = numberOf(entry ?? { ref: null, url })\n const tone = toneOf(snapshot)\n const href = snapshot === null ? url : snapshot.url\n return (\n <div className={css.header}>\n <ChangeRequestGlyph tone={tone} label={t('change.stateAria', { state: t(TONE_LABEL[tone]) })} />\n <span className={css.headerTitle}>{snapshot === null ? url : snapshot.title}</span>\n {number !== null && <span className={css.headerNumber}>{t('change.number', { number })}</span>}\n <span className={css.headerEnd}>\n {commitMenu}\n <Button size=\"sm\" variant=\"outline\" className={css.headerAction} disabled={reviewDisabled} onClick={onReview}>\n {t('review.submit')}{reviewCount > 0 ? ` (${reviewCount})` : ''}\n </Button>\n </span>\n <Tooltip label={t('change.view')} side=\"bottom\">\n <button type=\"button\" className={css.tool} aria-label={t('change.view')} onClick={() => { openLink(href) }}>\n <IconRightUpOutlineRegular size={14} />\n </button>\n </Tooltip>\n </div>\n )\n}\n\n/**\n * The local view's header: for the `branch` scope, the checked-out branch, the base branch picker, and a note\n * that uncommitted changes count; for another scope, what it compares.\n */\nfunction LocalHeader({ state, scope, base, missing, visible, diffBases, choose, commitMenu, createChangeRequest, t }: {\n readonly state: ForgePanelState | null\n /** Commit picker of the `branch` scope, left of the create button. */\n readonly commitMenu: ReactNode\n readonly scope: ScopeKind\n readonly base: ForgeBaseBranch | null\n /** Whether the chosen base branch no longer exists. */\n readonly missing: boolean\n readonly visible: boolean\n readonly diffBases: ChangesTabInjected['diffBases']\n readonly choose: (base: ForgeBaseBranch | null) => void\n readonly createChangeRequest: () => void\n readonly t: Translate\n}): ReactNode {\n const creatable = state !== null && state.repository !== null && openChangeRequestOf(state) === undefined\n const checkout = state?.checkout.state === 'ready' ? state.checkout.checkout : null\n const head = checkout?.branch ?? checkout?.commit ?? 'HEAD'\n return (\n <div className={css.header}>\n {scope === 'branch' ? <>\n <span className={css.headerIcon}><IconBranchOutlineRegular size={15} /></span>\n <Tooltip label={head} side=\"bottom\">\n <span className={css.headerHead} tabIndex={0} data-forge-head=\"\">{head}</span>\n </Tooltip>\n <span className={css.headerArrow} aria-hidden=\"true\">→</span>\n <BaseMenu chosen={base} label={base?.name ?? state?.local?.base ?? t('diff.base.automatic')} missing={missing}\n visible={visible} list={diffBases} choose={choose} t={t} />\n <span className={clsx(css.headerNote, css.headerSuffix)}>{t('diff.base.uncommitted')}</span>\n </> : <>\n <span className={css.headerIcon}><IconListPenOutlineRegular size={15} /></span>\n <span className={css.headerNote}>{t(SCOPE_NOTE[scope])}</span>\n </>}\n {(scope === 'branch' || creatable) && <span className={css.headerEnd}>\n {scope === 'branch' && commitMenu}\n {creatable && <Button size=\"sm\" variant=\"outline\" className={css.headerAction} onClick={createChangeRequest}>{t('changes.local.create')}</Button>}\n </span>}\n </div>\n )\n}\n\nfunction ScopeMenu({ scope, choose, t }: {\n readonly scope: ScopeKind\n readonly choose: (scope: ScopeKind) => void\n readonly t: Translate\n}): ReactNode {\n const [open, setOpen] = useState(false)\n const items: MenuEntry[] = [\n { id: 'uncommitted', label: t(SCOPE_LABEL.uncommitted) },\n { id: 'unstaged', label: t(SCOPE_LABEL.unstaged) },\n { id: 'staged', label: t(SCOPE_LABEL.staged) },\n { type: 'separator', id: 'separator' },\n { id: 'branch', label: t(SCOPE_LABEL.branch) },\n ]\n return (\n <Menu\n open={open}\n portal\n align=\"start\"\n dense\n autoFocus\n selectedId={scope}\n items={items}\n onClose={() => { setOpen(false) }}\n onSelect={(id) => {\n setOpen(false)\n choose(id as ScopeKind)\n }}\n anchor={(\n <button type=\"button\" className={css.select} aria-haspopup=\"menu\" aria-expanded={open} data-forge-scope={scope}\n onClick={() => { setOpen(value => !value) }}>\n {t(SCOPE_LABEL[scope])}\n <IconChevronDownOutlineRegular size={12} />\n </button>\n )}\n />\n )\n}\n\nfunction Notice({ children, action }: { readonly children: ReactNode; readonly action?: ReactNode }): ReactNode {\n return (\n <div className={css.notice} role=\"status\">\n <IconInfoOutlineRegular size={14} />\n <span>{children}</span>\n {action}\n </div>\n )\n}\n\n\nfunction OrphanReviews({ path, actions, t }: PropsLocale<typeof NS> & {\n readonly path: string\n readonly actions: ReviewActions\n}): ReactNode {\n const state = useFileReview(actions, path)\n return <section className={css.reviewFile} data-forge-review-file={path}>\n <h3>{path}</h3>\n {state.threads.map(thread => <ReviewThread key={thread.key} thread={thread}\n actions={actions} locked={state.locked} outdated t={t} />)}\n </section>\n}\n\n/**\n * Render the changes tab of one Session.\n * @param props - tab information, the tab's choices, the panel snapshot hook, reads and actions, and copy.\n * @returns the view body.\n */\nexport function ChangesTab({\n useTabInfo, sessionId, useStore, actions, usePanel, reconnect, localDiff, diffBases, localText, localCommits, changeRequestDiff,\n changeRequestText, changeRequestCommits, changeRequestReview, changeRequestReviewWrite, viewedFiles, changeRequestViewed, setFileViewed,\n openLink, copyPath, createChangeRequest, addReviewToInput, addThreadToInput, reviewQueue, submitReview, report, t,\n}: ChangesTabProps): ReactNode {\n const { tab } = useTabInfo()\n const { navigation, signal } = tab\n const target = useMemo(() => parseChangesAddress(tab.contentId), [tab.contentId])\n if (target === undefined) throw new Error(`forge-panel: not a changes address \"${tab.contentId}\"`)\n const source = target.source\n const queue = reviewQueue(tab)\n useSyncExternalStore(queue.subscribe, queue.getStatus)\n const reviewState = queue.getSnapshot()\n const [reviewOpen, setReviewOpen] = useState(false)\n const [reviewBusy, setReviewBusy] = useState(false)\n useEffect(() => { if (!tab.visible) setReviewOpen(false) }, [tab.visible])\n const reviewRunning = useRef(false)\n const [reviewError, setReviewError] = useState<string | null>(null)\n const publishReview = async (\n url: string, request: ForgeReviewRequest, complete: (url: string) => boolean,\n ): Promise<string | undefined> => {\n if (reviewRunning.current || !queue.begin(request)) return t('review.saveFailed')\n reviewRunning.current = true\n setReviewBusy(true)\n setReviewError(null)\n try {\n const response = await submitReview(url, request)\n if (!response.ok || (!response.value.ok && response.value.code === 'unknown')) {\n setReviewError(t('review.unknown'))\n return t('review.unknown')\n }\n const result = response.value\n if (!result.ok) {\n queue.finish(false)\n const message = result.code === 'stale' ? t('review.stale') : result.code === 'unsupported'\n ? t('review.unsupported') : t('review.failed', { message: result.message })\n setReviewError(message)\n return message\n }\n if (!complete(result.url)) return t('review.unknown')\n report(request.kind === 'review' ? 'review.submitted' : 'review.published')\n if (request.kind === 'review') setReviewOpen(false)\n return undefined\n } catch (_error) {\n setReviewError(t('review.unknown'))\n return t('review.unknown')\n } finally {\n reviewRunning.current = false\n setReviewBusy(false)\n }\n }\n // Every write that may have changed the threads reads them again; writes run one at a time, so a write that starts a\n // pending review settles before the next write looks for one.\n const [reviewRevision, setReviewRevision] = useState(0)\n const writing = useRef<Promise<unknown>>(Promise.resolve())\n /**\n * Send one write after the earlier ones.\n * @returns undefined once the host took it, else its message and whether its outcome is unknown.\n */\n const sendWrite = (url: string, write: ForgeReviewWrite): Promise<WriteRefusal | undefined> => {\n const run = async (): Promise<WriteRefusal | undefined> => {\n const response = await changeRequestReviewWrite(url, write)\n if (!response.ok) {\n if (response.error.code === 'forgePanel/not-bound') {\n return { message: t('thread.writeFailed', { message: response.error.message }), unknown: false }\n }\n setReviewRevision(value => value + 1)\n return { message: t('thread.writeUnknown'), unknown: true }\n }\n const result = response.value\n if (result.ok) {\n setReviewRevision(value => value + 1)\n return undefined\n }\n switch (result.code) {\n case 'unsupported': return { message: t('thread.writeUnsupported'), unknown: false }\n case 'failed':\n setReviewRevision(value => value + 1)\n return { message: t('thread.writeFailed', { message: result.message }), unknown: false }\n case 'stale': return { message: t('thread.writeStale'), unknown: false }\n case 'unknown':\n setReviewRevision(value => value + 1)\n return { message: t('thread.writeUnknown'), unknown: true }\n /* v8 ignore next -- closed ForgeReviewWriteResult code union exhaustiveness guard */\n default: return assertNever(result.code, 'ForgeReviewWriteResult.code')\n }\n }\n const next = writing.current.then(run, run)\n writing.current = next\n return next\n }\n const writeReview = async (url: string, write: ForgeReviewWrite): Promise<string | undefined> => (await sendWrite(url, write))?.message\n const choices = useStore(store => store.byTab[tab.id])\n const [wanted, setWanted] = useState<Wanted | null>(null)\n const [treeState, setTreeState] = useState<ChangedFilesState>({ query: '', collapsed: {}, selected: null })\n const [treePosition, setTreePosition] = useState<FileTreePosition>('left')\n const [treeWidth, setTreeWidth] = useState(0)\n const treeId = useId()\n const [chosen, setChosen] = useState<Readonly<Record<string, boolean>>>({})\n // Each navigation applies once; its file, if it names one, opens and scrolls into view.\n useEffect(() => {\n if (choices?.navigated === navigation.revision) return\n actions.navigated(tab.id, navigation.revision)\n const path = navigation.params?.path\n if (path === undefined) return\n setTreeState(value => ({ ...value, selected: path }))\n setChosen(value => ({ ...value, [path]: true }))\n setWanted({ path, center: null })\n }, [choices, navigation.revision, navigation.params, actions, tab.id])\n // The tab's choices end with its record.\n useEffect(() => {\n const unmounted = new AbortController()\n signal.addEventListener('abort', () => { actions.forget(tab.id) }, { once: true, signal: unmounted.signal })\n return () => { unmounted.abort() }\n }, [signal, actions, tab.id])\n const [attempt, setAttempt] = useState(0)\n useEffect(() => tab.actions.bindCommands({ refresh: () => { setAttempt(value => value + 1) } }), [tab.actions])\n const snapshot = usePanel(tab.visible ? 'visible' : 'inactive')\n const state = snapshot?.state ?? null\n const scope = choices?.scope ?? 'branch'\n const base = choices?.base ?? null\n const chosenCommits = choices?.commits ?? null\n const lens = choices?.lens ?? 'all'\n const hideTests = choices?.hideTests ?? false\n const localScope = useMemo((): ForgeLocalScope => scope === 'branch'\n ? { kind: 'branch', base: base?.ref ?? null, commits: chosenCommits } : { kind: scope }, [scope, base, chosenCommits])\n const changeCommits = source.kind === 'change' ? chosenCommits : null\n const changeUrlOf = source.kind === 'change' ? source.url : ''\n const listChangeCommits = useCallback(\n (signal: AbortSignal) => changeRequestCommits(changeUrlOf, signal), [changeRequestCommits, changeUrlOf],\n )\n const baseRef = base?.ref ?? null\n const listLocalCommits = useCallback((signal: AbortSignal) => localCommits(baseRef, signal), [localCommits, baseRef])\n const split = choices?.split ?? true\n const wrap = choices?.wrap ?? true\n const entry = source.kind === 'change' ? state?.changeRequests.find(item => item.url === source.url) : undefined\n // A read starts once the panel state arrives and again when what it describes moves. A change request's read\n // also waits for its first status, which names the head, unless no provider serves it or its first poll failed.\n const pending = entry !== undefined && entry.ref !== null && entry.update === null\n const head = entry?.snapshot?.headSha ?? (pending ? null : '')\n const version = state === null ? null : source.kind === 'local' ? `${scope}\\n${JSON.stringify(state.local)}` : head\n const headCommit = state !== null && state.checkout.state === 'ready' ? state.checkout.checkout.commit : null\n // The commits change with the head of a change request, with the local HEAD, branch, or base, and on a refresh.\n const commitsVersion = `${attempt}\\n${source.kind === 'local'\n ? `${baseRef ?? ''}\\n${headCommit ?? ''}\\n${JSON.stringify(state?.local ?? null)}` : head ?? ''}`\n const dataKey = source.kind === 'local' ? JSON.stringify(localScope) : `change\\n${JSON.stringify(changeCommits)}`\n const [loaded, setLoaded] = useState<{ readonly key: string; readonly data: ChangesData } | null>(null)\n const [failure, setFailure] = useState<{ readonly key: string; readonly code: string } | null>(null)\n // Names the read the inputs ask for; it is in flight until `finished` matches it.\n const read = version === null ? null : `${dataKey}\\n${navigation.revision}\\n${attempt}\\n${version}`\n const [finished, setFinished] = useState<string | null>(null)\n // A change request read refused because the head moved past its status stays in flight until a status later than\n // the one the read started with arrives; one that arrived during the read starts the next read at once.\n const statusAt = entry?.update?.fetchedAt ?? null\n const latestStatusAt = useRef(statusAt)\n useEffect(() => { latestStatusAt.current = statusAt }, [statusAt])\n const [refused, setRefused] = useState<{ readonly read: string; readonly statusAt: number | null } | null>(null)\n const waiting = refused !== null && refused.read === read && refused.statusAt === statusAt\n useEffect(() => {\n if (!tab.visible || read === null || read === finished || waiting) return\n const controller = new AbortController()\n const readAt = latestStatusAt.current\n void readChanges(source, localScope, changeCommits, head, { localDiff, changeRequestDiff, changeRequestViewed }, controller.signal)\n .then((result) => {\n if (controller.signal.aborted) return\n if (!result.ok && result.error.code === 'forgePanel/stale-head') {\n setRefused({ read, statusAt: readAt })\n setFailure(null)\n return\n }\n setFinished(read)\n if (result.ok) {\n setLoaded({ key: dataKey, data: result.value })\n setFailure(null)\n } else {\n setFailure({ key: dataKey, code: result.error.code })\n }\n })\n return () => { controller.abort() }\n }, [tab.visible, read, refused, waiting, source, localScope, changeCommits, head, dataKey, localDiff, changeRequestDiff,\n changeRequestViewed])\n const data = loaded !== null && loaded.key === dataKey ? loaded.data : null\n // Threads show only while they were read at the head of the latest status and, for the whole change request, at\n // the head the shown diff was read at, so their positions number the shown files.\n const prHead = entry?.snapshot?.headSha ?? null\n const prAuthor = entry?.snapshot?.author ?? null\n const threadRead = useThreadRead({ visible: tab.visible, url: source.kind === 'change' ? source.url : null, head: prHead,\n updatedAt: entry?.snapshot?.updatedAt ?? null, statusAt, attempt, revision: reviewRevision, read: changeRequestReview })\n const review = data?.kind === 'change' && threadRead.review !== null && threadRead.review.headSha === prHead\n && (data.commits !== null || data.headSha === prHead) ? threadRead.review : null\n const placed = usePlacedThreads(review, data?.kind === 'change' ? { head: prHead ?? '', end: data.headSha, commits: data.commits } : null)\n const [threadList, setThreadList] = useState<{\n readonly open: boolean\n readonly filter: ThreadFilter\n /** Whether the reader just opened the list and it has not taken the focus yet. */\n readonly claim: boolean\n }>({ open: false, filter: 'unresolved', claim: false })\n const threadsToggle = useRef<HTMLButtonElement>(null)\n const [focus, setFocus] = useState<ThreadFocus | null>(null)\n const allFiles = useMemo(() => filesInTreeOrder(changedFileTree(data?.files ?? [])), [data])\n const files = useMemo(() => allFiles.filter(file => shownBy(file, lens, hideTests)), [allFiles, lens, hideTests])\n const lensCounts = useMemo(() => Object.fromEntries(LENSES.map(item => [item,\n allFiles.filter(file => shownBy(file, item, hideTests)).length])) as Record<ChangesLens, number>, [allFiles, hideTests])\n const shownSource = useMemo(() => data === null ? null : reviewSourceOf(data), [data])\n const viewedKey = shownSource === null ? '' : viewedSourceOf(shownSource)\n const localMarks = useSyncExternalStore(viewedFiles.subscribe, () => viewedFiles.marksOf(viewedKey))\n const hostOwner = useMemo(() => data?.kind === 'change' && data.viewed !== null\n ? { url: data.url, headSha: data.headSha, files: data.files, viewed: data.viewed } : null, [data])\n const host = useHostViewed(hostOwner, setFileViewed, (failure) => {\n if (failure.kind === 'stale') report('viewed.syncStale')\n else if (failure.kind === 'unknown') report('viewed.syncUnknown', { message: failure.message })\n else report('viewed.syncFailed', { message: failure.message })\n })\n const marks = host?.marks ?? localMarks\n // The centered loader marks a first read; the toolbar's glyph turns only while shown changes are read again.\n const rereading = read !== null && finished !== read && data !== null\n const failed = failure !== null && failure.key === dataKey ? failure.code : null\n const [expansion, setExpansion] = useState<Expansion>({ data: null, texts: {}, open: {} })\n const current = expansion.data === data ? expansion : { data, texts: {}, open: {} }\n const latest = useRef(data)\n useEffect(() => { latest.current = data }, [data])\n const [revealed, setRevealed] = useState<ReadonlySet<string>>(new Set())\n // The line budget counts the files not marked viewed when the diff loads, so later marks leave it unchanged. A file stays\n // collapsed while it is marked viewed unless the reader expands it; a file whose change differs from its mark expands\n // like an unmarked one.\n const initial = useMemo(() => initiallyOpen(allFiles, marks), [allFiles])\n const expandedByDefault = (file: ForgeDiffFile): boolean => initial.has(file.path) && viewedStateOf(marks, file.path, file.digest) !== 'viewed'\n const isExpanded = (file: ForgeDiffFile): boolean => chosen[file.path] ?? expandedByDefault(file)\n const sections = useRef(new Map<string, HTMLElement>())\n const scrollport = useRef<HTMLDivElement | null>(null)\n const toolbarRow = useRef<HTMLDivElement>(null)\n useLayoutEffect(() => {\n const row = toolbarRow.current\n /* v8 ignore next -- the toolbar row renders in every state of the view */\n if (row === null) return\n return observeToolbarFold(row)\n }, [])\n const reach = useMemo(() => new SectionReach(), [])\n const attachScrollport = useCallback((element: HTMLDivElement | null) => {\n scrollport.current = element\n reach.attach(element)\n }, [reach])\n // A short final file cannot align with the viewport top; retain its jump until the reader scrolls away.\n const jumpPosition = useRef<{ readonly data: ChangesData; readonly top: number } | null>(null)\n useLayoutEffect(() => {\n if (!tab.visible || wanted === null || data === null) return\n // A file the lens or the test switch hides is shown before the view scrolls to it.\n const hidden = allFiles.find(file => file.path === wanted.path && !shownBy(file, lens, hideTests))\n if (hidden !== undefined) {\n if (lens !== 'all') actions.lensed(tab.id, 'all')\n if (hideTests && hidden.layer === 'test') actions.toggledTests(tab.id)\n return\n }\n // The browser's scroll anchoring keeps the section in place while the sections above it draw their lines.\n const section = sections.current.get(wanted.path)\n section?.scrollIntoView({ block: 'start' })\n // A thread the reader opened from the thread list or a file's unresolved count centers inside its file, which the jump\n // expanded and revealed; the jump ends here, so a later jump to the file stops at its header.\n const { center } = wanted\n if (center !== null) {\n /* v8 ignore next 4 -- a centered thread's file is drawn and its card unfolded, so both are found. */\n const card = [...section?.querySelectorAll<HTMLElement>('[data-forge-thread]') ?? []]\n .find(element => element.dataset.forgeThread === center.id)\n card?.scrollIntoView({ block: 'center' })\n if (center.focus) card?.focus({ preventScroll: true })\n }\n if (scrollport.current !== null) jumpPosition.current = { data, top: scrollport.current.scrollTop }\n setWanted(null)\n }, [tab.visible, wanted, data, allFiles, lens, hideTests, actions, tab.id])\n const refresh = (): void => { setAttempt(value => value + 1) }\n const root = state !== null && state.checkout.state === 'ready' ? state.checkout.checkout.root : null\n // A chosen base branch that is gone or shares no history with HEAD offers the automatic fork point instead.\n const baseFailure = baseFailureOf(failed, source.kind === 'local' && scope === 'branch' ? base : null, t)\n // Configuration reads may recover after the user fixes Git settings or raises the output limit.\n const message = failed === null ? undefined : FAILURE[failed]\n const failureText = baseFailure ?? t(message ?? 'diff.error')\n const changeUrl = source.kind === 'change' ? entry?.snapshot?.url ?? source.url : null\n const retry = baseFailure === undefined && (message === undefined || failed === 'forgePanel/filter-config-failed')\n const automaticBase = baseFailure !== undefined ? (\n <Button size=\"sm\" variant=\"outline\" onClick={() => { actions.based(tab.id, null) }}>{t('diff.useAutomaticBase')}</Button>\n ) : (failed === 'forgePanel/commits-missing' || failed === 'forgePanel/commits-not-linear') && (\n <Button size=\"sm\" variant=\"outline\" onClick={() => { actions.committed(tab.id, null) }}>{t('commits.showAll')}</Button>\n )\n\n /** Apply a change to the unchanged lines of `owner`, unless newer changes replaced it. */\n const update = (owner: ChangesData, change: (value: Expansion) => Expansion): void => {\n setExpansion((previous) => {\n if (latest.current !== owner) return previous\n return change(previous.data === owner ? previous : { data: owner, texts: {}, open: {} })\n })\n }\n const expand = (owner: ChangesData, file: ForgeDiffFile, index: number): void => {\n const path = file.path\n update(owner, value => ({ ...value, open: { ...value.open, [path]: new Set([...value.open[path] ?? [], index]) } }))\n if (current.texts[path] !== undefined) return\n update(owner, value => ({ ...value, texts: { ...value.texts, [path]: 'loading' } }))\n const reading = owner.kind === 'local' ? localText(owner.scope, path) : changeRequestText(owner.url, owner.headSha, path)\n void reading.then((result) => {\n const lines = result.ok ? textLines(result.value) : undefined\n if (lines !== undefined && matchesHunks(lines, file.hunks)) {\n update(owner, value => ({ ...value, texts: { ...value.texts, [path]: lines } }))\n return\n }\n if (result.ok) report('toast.expandStale')\n else report('toast.expandFailed', { message: result.error.message })\n update(owner, (value) => {\n const { [path]: _text, ...texts } = value.texts\n const { [path]: _open, ...open } = value.open\n return { ...value, texts, open }\n })\n })\n }\n const fileActions = (owner: ChangesData, file: ForgeDiffFile): DiffFileAction[] => {\n const list: DiffFileAction[] = [{ label: 'diff.copyPath', run: () => { copyPath(file.path) } }]\n if (file.status === 'deleted') return list\n if (owner.kind === 'local') {\n if (root !== null) {\n list.push({ label: 'diff.openFileInSidebar', run: () => { tab.actions.openResource(fileAddressFor(sessionId, undefined, `${root}/${file.path}`)) } })\n }\n } else {\n const url = owner.fileUrls[file.path]\n if (url !== undefined) list.push({ label: 'diff.openFileInBrowser', run: () => { openLink(url) } })\n }\n return list\n }\n\n // A review addresses the head commit, so it is submitted from the view of the whole change request. A pending review on\n // the code host is submitted or discarded there; without one, the summary and any comment drafts kept in the browser\n // are published as one review.\n const pendingReview = review?.pendingReview ?? null\n // Logins compare without case, as GitHub's do.\n const ownChangeRequest = review?.viewer != null && prAuthor !== null && review.viewer.toLowerCase() === prAuthor.toLowerCase()\n const finishWrite = async (send: () => Promise<string | undefined>, done: ForgePanelKey): Promise<void> => {\n if (reviewRunning.current) return\n reviewRunning.current = true\n setReviewBusy(true)\n setReviewError(null)\n try {\n const failure = await send()\n if (failure !== undefined) {\n setReviewError(failure)\n return\n }\n report(done)\n setReviewOpen(false)\n } finally {\n reviewRunning.current = false\n setReviewBusy(false)\n }\n }\n const reviewForm = tab.visible && data !== null && reviewOpen && data.kind === 'change' && data.commits === null && <SubmitReview queue={queue}\n url={data.url} headSha={data.headSha} pending={pendingReview} own={ownChangeRequest} busy={reviewBusy} error={reviewError}\n close={() => { setReviewOpen(false) }}\n check={() => { openLink(data.url) }} reconcile={() => { queue.finish(false); setReviewError(null) }}\n submit={() => {\n const latest = queue.getSnapshot()\n if (pendingReview === null) {\n void publishReview(data.url, { kind: 'review', headSha: data.headSha, event: latest.event,\n body: latest.body, comments: latest.comments.map(item => item.comment) }, url => queue.finish(true, url))\n return\n }\n // The submission is kept as the write to reconcile until the host answers, so an unknown outcome blocks another\n // submission, which would otherwise publish a second review once the pending review no longer reads.\n void finishWrite(async () => {\n if (!queue.begin({ kind: 'review', headSha: data.headSha, event: latest.event, body: latest.body, comments: [] })) {\n return t('review.saveFailed')\n }\n const refusal = await sendWrite(data.url, { kind: 'submit-pending', headSha: data.headSha, review: pendingReview.id,\n event: latest.event, body: latest.body })\n if (refusal === undefined) {\n if (!queue.finish(true)) report('review.saveFailed')\n return undefined\n }\n if (!refusal.unknown) queue.finish(false)\n return refusal.message\n }, 'review.submitted')\n }}\n discard={pendingReview === null ? undefined : () => {\n void finishWrite(() => writeReview(data.url, { kind: 'discard-pending', headSha: data.headSha, review: pendingReview.id }), 'review.discarded')\n }} t={t} />\n\n /** Add a comment to the pending review on the code host at the head the comment was selected on. */\n const addPending = (selection: ReviewSelection): Promise<string | undefined> => {\n if (selection.source.kind !== 'change') return Promise.resolve(t('review.stale'))\n const { path, side, startLine, endLine, body } = selection.comment\n return writeReview(selection.source.url, { kind: 'add-pending', headSha: selection.source.headSha, comment: { path, side, startLine, endLine, body } })\n }\n\n const recordActions: ReviewActions = {\n source: shownSource ?? (source.kind === 'local'\n ? { kind: 'local', scope, base: null, baseRef: baseRefOf(localScope), commits: commitsOf(localScope) }\n : { kind: 'change', url: source.url, headSha: '', commits: changeCommits }),\n records: queue, addToInput: addReviewToInput, openLink,\n }\n const absentPaths = [...new Set([...reviewState.comments, ...reviewState.records.map(item => item.selection)]\n .filter(item => sameReviewSource(item.source, recordActions.source)).map(item => item.comment.path))]\n .filter(path => !data?.files.some(file => file.path === path))\n const orphanRecords = absentPaths.map(path => <OrphanReviews key={path} path={path} actions={recordActions} t={t} />)\n\n // Thread groups keep their identity across renders that change neither the threads nor what their cards share, so\n // only the sections whose threads changed redraw.\n const url = data?.kind === 'change' ? data.url : null\n const threadActions = useMemo((): ThreadActions | null => review === null || url === null ? null : {\n author: prAuthor,\n addToInput: (thread, range) => addThreadToInput(thread, url, range),\n openLink,\n readText: (commit, path) => changeRequestText(url, commit, path),\n inputFailed: () => { live.current.report('thread.inputFailed') },\n focused: focus,\n writes: {\n write: (write: ThreadWrite) => live.current.writeReview(url, { ...write, headSha: review.headSha }),\n reviewStarted: review.pendingReview !== null,\n canReview: review.viewerCanReview,\n },\n }, [review, url, prAuthor, addThreadToInput, openLink, changeRequestText, focus])\n const fileThreads = useMemo(() => new Map<string, FileThreads>(threadActions === null ? []\n : [...placed.files].map(([path, group]) => [path, { ...group, actions: threadActions }])), [placed.files, threadActions])\n /** Show a file's next unresolved thread in display order after the one last shown, or its first. */\n const nextThread = (path: string): void => {\n const order = inFileOrder(placed.entries.filter(({ thread }) => thread.path === path && !thread.resolved),\n allFiles.find(file => file.path === path))\n const next = order[(order.findIndex(({ thread }) => thread.id === focus?.id) + 1) % order.length]\n /* v8 ignore next -- the count that calls this shows only while the file has an unresolved thread. */\n if (next !== undefined) openThread(next, false)\n }\n /** Close the thread list at the reader's request and return the focus to its toggle. */\n const closeThreadList = (): void => {\n setThreadList(value => ({ ...value, open: false }))\n threadsToggle.current?.focus()\n }\n /**\n * Show a thread: all commits for a thread the chosen ones do not hold, whose diff holds the file of every thread with a\n * position at the head, then its file, with the thread unfolded and centered; `focusCard` moves the focus to it. A\n * thread on a file the shown changes lack opens on the host.\n */\n const openThread = ({ thread, place }: PlacedThread, focusCard: boolean): void => {\n if (place.kind === 'elsewhere') actions.committed(tab.id, null)\n else if (!allFiles.some(file => file.path === thread.path)) {\n const url = thread.comments[0]?.url ?? null\n if (url !== null) openLink(url)\n return\n }\n setFocus(value => ({ id: thread.id, revision: (value?.revision ?? 0) + 1 }))\n setRevealed(value => new Set([...value, thread.path]))\n jump(thread.path, { id: thread.id, focus: focusCard })\n }\n const jump = (path: string, center: Wanted['center'] = null): void => {\n setTreeState(value => ({ ...value, selected: path }))\n setChosen(value => ({ ...value, [path]: true }))\n setWanted({ path, center })\n }\n /**\n * The file being read: the file last jumped to while the scroll stays there, else the first file whose section still\n * reaches below the viewport top, so the gap between two cards at the top belongs to the file after it; past the last\n * section, the last file.\n */\n const currentIndex = (viewport: HTMLElement): number => {\n const remembered = jumpPosition.current\n const index = remembered !== null && remembered.data === data && remembered.top === viewport.scrollTop\n ? files.findIndex(file => file.path === treeState.selected) : -1\n if (index >= 0) return index\n const top = viewport.getBoundingClientRect().top\n const reading = files.findIndex((file) => {\n const section = sections.current.get(file.path)\n return section !== undefined && section.getBoundingClientRect().bottom > top + 1\n })\n return reading >= 0 ? reading : Math.max(0, files.length - 1)\n }\n /** Whether a key press belongs to a field, a comment, a menu, or a text selection rather than to the file list. */\n const typing = (container: HTMLElement, origin: EventTarget): boolean => {\n const selection = window.getSelection()\n return !(origin instanceof HTMLElement) || !container.contains(origin)\n || origin.closest('input, textarea, select, [contenteditable]:not([contenteditable=\"false\"]), [data-forge-comment], [role=\"menu\"]') !== null\n || (selection !== null && !selection.isCollapsed)\n }\n const navigateFiles = (event: KeyboardEvent<HTMLDivElement>): void => {\n if (!tab.visible || event.defaultPrevented || event.nativeEvent.isComposing\n || event.altKey || event.ctrlKey || event.metaKey || event.shiftKey\n || (event.key !== 'ArrowLeft' && event.key !== 'ArrowRight')) return\n const viewport = event.currentTarget\n if (typing(viewport, event.target)) return\n const index = currentIndex(viewport)\n event.preventDefault()\n event.stopPropagation()\n const next = files[index + (event.key === 'ArrowRight' ? 1 : -1)]\n if (next === undefined) return\n viewport.focus({ preventScroll: true })\n jump(next.path)\n }\n /** Mark a file viewed and collapse it, keeping its header in view, or clear its mark and expand it. */\n const markViewed = (owner: ChangesData, file: ForgeDiffFile, viewed: boolean): void => {\n if (host !== null) {\n if (!host.mark(file.path, viewed)) return\n } else if (!viewedFiles.mark(viewedKey, owner.files, file.path, viewed)) {\n report('viewed.saveFailed')\n return\n }\n const section = sections.current.get(file.path)\n const viewport = scrollport.current\n if (viewed && section !== undefined && viewport !== null\n && section.getBoundingClientRect().top < viewport.getBoundingClientRect().top) setWanted({ path: file.path, center: null })\n // A new mark collapses the file through its default; clearing a mark expands it.\n setChosen(({ [file.path]: _choice, ...value }) => viewed ? value : { ...value, [file.path]: true })\n }\n /** The shown file whose section holds an element or a text node, if any. */\n const fileAt = (target: EventTarget | null | undefined): ForgeDiffFile | undefined => {\n const element = target instanceof Element ? target : target instanceof Node ? target.parentElement : null\n const path = element?.closest('[data-forge-diff-file]')?.getAttribute('data-forge-diff-file')\n return files.find(file => file.path === path)\n }\n // `V` marks or clears the file being read, from anywhere in the tab except fields, comments, and menus: the file\n // holding the focus, else the one holding the text cursor, as after clicking its code, else the file at the top.\n const toggleViewed = (event: KeyboardEvent<HTMLDivElement>): void => {\n const viewport = scrollport.current\n if (!tab.visible || event.defaultPrevented || event.nativeEvent.isComposing || event.altKey || event.ctrlKey || event.metaKey\n || event.key.toLowerCase() !== 'v' || viewport === null || data === null || typing(event.currentTarget, event.target)) return\n const file = fileAt(event.target) ?? fileAt(window.getSelection()?.anchorNode) ?? files[currentIndex(viewport)]\n /* v8 ignore next -- the files region renders only while files show, so its position always names one */\n if (file === undefined) return\n event.preventDefault()\n markViewed(data, file, viewedStateOf(marks, file.path, file.digest) !== 'viewed')\n }\n\n // What the section handlers and comment actions read when they run, replaced on every render. The assignment happens\n // during render rather than in an effect because the file menus read their actions while this same render draws them;\n // an effect would hand them the previous diff's links. A render React discards leaves values derived from the same\n // props and state, which the retried render assigns again.\n const callbacks = {\n data, expandedByDefault, expand, markViewed, fileActions, publishReview, writeReview, addPending, report, nextThread, t,\n }\n const live = useRef(callbacks)\n live.current = callbacks\n const handlers = useMemo((): DiffFileHandlers => ({\n toggle: (file) => {\n const byDefault = live.current.expandedByDefault(file)\n setChosen(value => ({ ...value, [file.path]: !(value[file.path] ?? byDefault) }))\n },\n reveal: (path) => { setRevealed(value => new Set([...value, path])) },\n expand: (file, index) => {\n const { data: owner, expand: open } = live.current\n /* v8 ignore next -- sections render only while changes are loaded */\n if (owner !== null) open(owner, file, index)\n },\n view: (file, viewed) => {\n const { data: owner, markViewed: mark } = live.current\n /* v8 ignore next -- sections render only while changes are loaded */\n if (owner !== null) mark(owner, file, viewed)\n },\n actions: (file) => {\n const { data: owner, fileActions: list } = live.current\n /* v8 ignore next -- sections render only while changes are loaded */\n return owner === null ? [] : list(owner, file)\n },\n section: (path, element) => {\n if (element === null) sections.current.delete(path)\n else sections.current.set(path, element)\n },\n nextThread: (path) => { live.current.nextThread(path) },\n reach,\n }), [reach])\n const reviewStarted = pendingReview !== null\n const publishingBlocked = reviewState.uncertain !== null\n // Comments on a commit range or on local changes go to the input only; a whole change request also takes GitHub comments:\n // into its pending review once the threads say the user may review, and on their own while the user has no pending\n // review, since GitHub refuses a single comment beside one.\n const whole = data?.kind === 'change' && data.commits === null\n const queueable = whole && review?.viewerCanReview === true\n const single = whole && pendingReview === null\n const fileReview = useMemo((): ReviewActions | undefined => shownSource === null ? undefined : {\n source: shownSource,\n addToInput: addReviewToInput,\n records: queue, openLink, reviewStarted,\n onQuoted: (selection) => { if (!queue.recordAgent(selection)) live.current.report('review.saveFailed') },\n publishingBlocked,\n ...queueable ? { queue: (selection: ReviewSelection) => live.current.addPending(selection) } : {},\n ...single ? {\n publish: (selection: ReviewSelection) => selection.source.kind === 'change'\n ? live.current.publishReview(selection.source.url, { kind: 'comment', headSha: selection.source.headSha, comment: selection.comment },\n url => queue.published(selection, url))\n : Promise.resolve(live.current.t('review.stale')),\n } : {},\n }, [shownSource, addReviewToInput, queue, openLink, reviewStarted, publishingBlocked, queueable, single])\n\n let body: ReactNode\n if (data === null) {\n if (state === null && snapshot?.disconnected) {\n body = (\n <div className={css.centered}>\n <span>{t('stream.failed')}</span>\n <Button size=\"sm\" variant=\"outline\" onClick={reconnect}>{t('retry')}</Button>\n </div>\n )\n } else if (failed === null) {\n body = <div className={css.centered}><StateDot state=\"ongoing\" /></div>\n } else {\n body = (\n <div className={css.centered} role=\"status\">\n <span>{failureText}</span>\n {(retry || changeUrl !== null || automaticBase !== false) && (\n <div className={css.actions}>\n {retry && <Button size=\"sm\" variant=\"outline\" onClick={refresh}>{t('retry')}</Button>}\n {automaticBase}\n {changeUrl !== null && (\n <Button size=\"sm\" variant=\"outline\" onClick={() => { openLink(changeUrl) }}>{t('diff.viewInBrowser')}</Button>\n )}\n </div>\n )}\n </div>\n )\n }\n } else if (data.files.length === 0) {\n body = <div className={css.files}>{orphanRecords}<div className={css.centered}>{t('diff.empty')}</div></div>\n } else if (files.length === 0) {\n body = <div className={css.files}>{orphanRecords}<div className={css.centered}>{t('lens.empty')}</div></div>\n } else {\n body = (\n <div ref={attachScrollport} className={css.files} data-forge-changes-scroll=\"\" role=\"region\"\n aria-label={t('diff.allFiles', { count: files.length })} aria-keyshortcuts=\"ArrowLeft ArrowRight V\" tabIndex={0}\n onKeyDown={navigateFiles} onScroll={(event) => {\n if (jumpPosition.current?.top !== event.currentTarget.scrollTop) jumpPosition.current = null\n }}>\n {files.map((file) => {\n const path = file.path\n return (\n <DiffFile\n key={path}\n visible={tab.visible}\n file={file}\n review={fileReview}\n expanded={isExpanded(file)}\n large={drawnLines(file) > LARGE_FILE_LINES}\n revealed={revealed.has(path)}\n text={current.texts[path]}\n open={current.open[path] ?? NO_GAPS}\n split={split}\n wrap={wrap}\n badge={badgeOf(file, data, t)}\n tooltip={pathTooltipOf(file, t)}\n threads={fileThreads.get(path)}\n drawNow={wanted !== null && wanted.center !== null && wanted.path === path}\n viewed={viewedStateOf(marks, path, file.digest)}\n viewedNote={host === null ? t('viewed.hint') : host.unavailable ? t('viewed.unavailable')\n : host.saving(path) ? t('viewed.saving') : t('viewed.hintHost')}\n viewedDisabled={host !== null && (host.unavailable || host.saving(path))}\n handlers={handlers}\n t={t}\n />\n )\n })}\n {orphanRecords}\n </div>\n )\n }\n const navigator: ChangedFilesProps = {\n files, state: treeState, t,\n filter: (query) => { setTreeState(value => ({ ...value, query })) },\n toggle: (path) => { setTreeState(value => ({ ...value, collapsed: { ...value.collapsed, [path]: value.collapsed[path] !== true } })) },\n jump,\n ...review === null ? {} : { threadCounts: placed.unresolved },\n }\n // The toolbar collapses every file while any is expanded, as the files on screen show, and expands every file otherwise.\n const anyExpanded = files.some(isExpanded)\n const expansionLabel = t(anyExpanded ? 'diff.collapseAll' : 'diff.expandAll')\n const toggleExpansion = (): void => { setChosen(Object.fromEntries(files.map(file => [file.path, !anyExpanded]))) }\n const toggleSplit = (): void => { actions.toggledSplit(tab.id) }\n const toggleWrap = (): void => { actions.toggledWrap(tab.id) }\n const toggleTests = (): void => { actions.toggledTests(tab.id) }\n const treeAction = t(treePosition === 'left' ? 'diff.moveFileTreeRight' : treePosition === 'right' ? 'diff.hideFileTree' : 'diff.showFileTreeLeft')\n let additions = 0\n let deletions = 0\n for (const file of files) {\n additions += file.additions\n deletions += file.deletions\n }\n const viewedCount = files.filter(file => viewedStateOf(marks, file.path, file.digest) === 'viewed').length\n const treeShown = allFiles.length > 0 && treePosition !== 'hidden'\n const lensProps = { lens, counts: lensCounts, hideTests, choose: (next: ChangesLens) => { actions.lensed(tab.id, next) }, t }\n const commitMenu = source.kind === 'local' && scope !== 'branch' ? null : <CommitMenu chosen={chosenCommits} visible={tab.visible}\n list={source.kind === 'local' ? listLocalCommits : listChangeCommits} kept={source.kind === 'local' ? 'newest' : 'oldest'}\n version={commitsVersion}\n choose={(next) => { actions.committed(tab.id, next) }} t={t} />\n const toolbarStyle: CSSProperties & { '--forge-tree-width': string } = { '--forge-tree-width': `${treeWidth}px` }\n return (\n <div className={css.root} data-forge-changes={source.kind} onKeyDown={toggleViewed}>\n {source.kind === 'local'\n ? <LocalHeader state={state} scope={scope} base={base} missing={failed === 'forgePanel/base-missing'} visible={tab.visible}\n diffBases={diffBases} choose={(next) => { actions.based(tab.id, next) }} commitMenu={commitMenu}\n createChangeRequest={createChangeRequest} t={t} />\n : <ChangeHeader url={source.url} entry={entry} openLink={openLink} commitMenu={commitMenu}\n reviewCount={(pendingReview?.comments ?? 0) + reviewState.comments.length}\n reviewDisabled={data === null || changeCommits !== null} onReview={() => { setReviewOpen(true) }} t={t} />}\n {!reviewOpen && reviewState.error !== null && <Notice>{t(reviewState.error === 'load' ? 'review.loadFailed' : 'review.saveFailed')}</Notice>}\n {!reviewOpen && reviewState.uncertain !== null && !reviewBusy && source.kind === 'change' && <div className={css.reviewNotice} role=\"alert\">\n <span>{t('review.unknown')}</span>\n {reviewState.uncertain.kind === 'comment' && <blockquote>{reviewState.uncertain.comment.body}</blockquote>}\n <Button size=\"sm\" variant=\"outline\" onClick={() => { openLink(source.url) }}>{t('review.recheck')}</Button>\n <Button size=\"sm\" variant=\"outline\" onClick={() => { queue.finish(false); setReviewError(null) }}>{t('review.confirmRetry')}</Button>\n </div>}\n {!reviewOpen && reviewError !== null && reviewState.uncertain === null && <Notice>{reviewError}</Notice>}\n <div className={css.toolbar} data-tree={treeShown ? treePosition : 'hidden'} style={toolbarStyle}>\n {/* Above the file tree, the lens spans the tree's width; elsewhere a menu in the toolbar takes its place. */}\n {treeShown && <div className={css.lensCell}><LensControl {...lensProps} /></div>}\n <div ref={toolbarRow} className={css.toolbarMain}>\n {tab.visible && source.kind === 'local' && <ScopeMenu scope={scope} choose={(next) => { actions.scoped(tab.id, next) }} t={t} />}\n {tab.visible && <span className={css.filesSlot}><ChangedFilesMenu {...navigator} visible /></span>}\n {tab.visible && allFiles.length > 0 && (\n <span className={css.lensMenu}><LensMenu {...lensProps} visible /></span>\n )}\n {allFiles.length > 0 && <span className={css.foldTests}>\n <HideTestsSwitch hidden={hideTests} toggle={toggleTests} t={t} />\n </span>}\n <span className={css.spacer} data-fold-spacer=\"\" />\n {/* A truncated read keeps the list, whose footer says so, even when it kept no thread. */}\n {review !== null && (review.threads.length > 0 || review.truncated) && (\n <button ref={threadsToggle} type=\"button\" className={css.threadsToggle} aria-pressed={threadList.open} data-forge-threads-toggle=\"\"\n aria-label={t('thread.listAria', { count: review.threads.length })}\n onClick={() => { setThreadList(value => ({ ...value, open: !value.open, claim: !value.open })) }}>\n {t('thread.list')}<span className={css.threadsTotal}>{review.threads.length}</span>\n </button>\n )}\n <span className={css.progressSlot}><ViewedProgress viewed={viewedCount} total={files.length} t={t} /></span>\n {files.length > 0 && (\n <span className={clsx(css.totals, css.foldViews)}><Counts file={{ additions, deletions, binary: false }} t={t} /></span>\n )}\n <span className={css.tools}>\n <Tooltip label={t('diff.refresh')} side=\"bottom\">\n <button type=\"button\" className={clsx(css.tool, css.foldRefresh)} aria-label={t('diff.refresh')} onClick={refresh}>\n <RefreshGlyph busy={rereading} size={16} />\n </button>\n </Tooltip>\n <Tooltip label={expansionLabel} side=\"bottom\">\n <button type=\"button\" className={clsx(css.tool, css.foldViews)} data-expanded={anyExpanded ? '' : undefined} aria-label={expansionLabel}\n disabled={files.length === 0} onClick={toggleExpansion}>\n <IconChevronsUpDownOutlineRegular />\n </button>\n </Tooltip>\n <Tooltip label={t(split ? 'diff.unified' : 'diff.split')} side=\"bottom\">\n <button type=\"button\" className={clsx(css.tool, css.foldViews)} aria-pressed={split} aria-label={t('diff.splitAria')}\n onClick={toggleSplit}>\n <IconCompareSplitOutlineRegular className={css.compareIcon} />\n </button>\n </Tooltip>\n <Tooltip label={t(wrap ? 'diff.nowrap' : 'diff.wrap')} side=\"bottom\">\n <button type=\"button\" className={clsx(css.tool, css.foldViews)} aria-pressed={wrap} aria-label={t('diff.wrapAria')}\n onClick={toggleWrap}>\n {wrap ? <IconNowrapFillRegular /> : <IconWrapFillRegular />}\n </button>\n </Tooltip>\n <span className={css.treeToggle}>\n <Tooltip label={treeAction} side=\"bottom\">\n <button type=\"button\" className={css.tool} aria-label={treeAction} aria-expanded={treePosition !== 'hidden'}\n aria-controls={treeId} disabled={allFiles.length === 0}\n onClick={() => { setTreePosition(value => value === 'left' ? 'right' : value === 'right' ? 'hidden' : 'left') }}>\n <IconWorkspaceTreeOutlineRegular />\n </button>\n </Tooltip>\n </span>\n <ViewOptionsMenu visible={tab.visible} options={{\n anyExpanded, hasFiles: files.length > 0, toggleExpansion, split, toggleSplit, wrap, toggleWrap,\n hideTests: allFiles.length > 0 ? hideTests : undefined, toggleTests, refresh,\n }} t={t} />\n </span>\n </div>\n </div>\n {data !== null && failed !== null && (\n <Notice action={retry\n ? <Button size=\"sm\" variant=\"outline\" className={css.noticeAction} onClick={refresh}>{t('retry')}</Button>\n : automaticBase !== false && <span className={css.noticeAction}>{automaticBase}</span>}>\n {failureText}\n </Notice>\n )}\n {data?.kind === 'change' && data.localAhead !== null && data.localAhead > 0 && (\n <Notice>{t('diff.stale', { count: data.localAhead })}</Notice>\n )}\n {data?.kind === 'local' && data.omitted > 0 && <Notice>{t('diff.omitted', { count: data.omitted })}</Notice>}\n {data?.kind === 'change' && data.viewed?.kind === 'failed' && (\n <Notice action={<Button size=\"sm\" variant=\"outline\" className={css.noticeAction} onClick={refresh}>{t('retry')}</Button>}>\n {t('viewed.readFailed', { message: data.viewed.message })}\n </Notice>\n )}\n {data?.kind === 'change' && threadRead.failure !== null && (\n <Notice action={<Button size=\"sm\" variant=\"outline\" className={css.noticeAction} onClick={refresh}>{t('retry')}</Button>}>\n {t('thread.loadFailed', { message: threadRead.failure })}\n </Notice>\n )}\n {reviewForm}\n <div className={css.body}>\n {body}\n {allFiles.length > 0 && <FileTreePane {...navigator} id={treeId} position={treePosition} onWidth={setTreeWidth} />}\n {review !== null && data?.kind === 'change' && threadList.open && (\n <ThreadList entries={placed.entries} files={allFiles} truncated={review.truncated} url={data.url}\n filter={threadList.filter} choose={(filter) => { setThreadList(value => ({ ...value, filter })) }}\n claim={threadList.claim} claimed={() => { setThreadList(value => ({ ...value, claim: false })) }}\n open={(entry, covering) => {\n // A list that covers the files closes and hands the focus to the thread it opens, which it would cover.\n if (covering) setThreadList(value => ({ ...value, open: false }))\n openThread(entry, covering)\n }}\n openLink={openLink} close={closeThreadList} t={t} />\n )}\n </div>\n </div>\n )\n}\n","/** Chip title of a changes tab: the changes icon and the view's name in the current language. */\n\nimport type { ReactNode } from 'react'\nimport { IconListPenOutlineRegular } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'\nimport type {} from '@deepseek-ai/dsh-client-ui-sidebar-right/client'\nimport { changesTitle, parseChangesAddress } from './changes-address.ts'\nimport type { NS } from './locales.ts'\nimport css from './ForgeTab.module.css'\n\n/** Props of the changes tab title. */\nexport type ChangesTabTitleProps = Pick<PropsRuntime<'sidebar.right.pane.tab.title'>, 'useTabInfo'> & PropsLocale<typeof NS>\n\n/**\n * Render the chip title of a changes tab; an address this package did not mint keeps the captured title.\n * @param props - tab information and forge panel copy.\n * @returns the icon followed by the title.\n */\nexport function ChangesTabTitle({ useTabInfo, t }: ChangesTabTitleProps): ReactNode {\n const { tab } = useTabInfo()\n const target = parseChangesAddress(tab.contentId)\n return (\n <>\n <span className={css.titleIcon}><IconListPenOutlineRegular size={16} /></span>\n <span className={css.titleText}>{target === undefined ? tab.title : changesTitle(target.source, t)}</span>\n </>\n )\n}\n","/**\n * Overview rows of an expanded change request card, each one line: the checks outcome, the review decision with the\n * reviewers' avatars, the merge state, and the issues linked to the change request. Details and actions open in a menu\n * from the row: the checks grouped by outcome with the rerun of the failed ones, the reviewers with review requests,\n * and the branch update.\n */\n\nimport { useEffect, useRef, useState, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport {\n Button, IconChevronRightOutlineRegular, IconPlusOutlineRegular, IconRefreshOutlineRegular, IconSearchOutlineRegular,\n IconUserOutlineRegular, Input, Menu, MenuItemButton, StateDot, Tooltip,\n type MenuEntry,\n} from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type {\n BranchUpdateMethod, BranchUpdateRequest, ChangeRequestCheck, ChangeRequestIssue, ChangeRequestReviewer, ChangeRequestSnapshot,\n ForgeRerunRequest, ForgeReviewerCandidate, ReviewVerdict,\n} from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { ForgePanelChangeRequest } from '../types.ts'\nimport { formatDuration } from './format.ts'\nimport { CheckGlyph } from './glyphs.tsx'\nimport type { ForgePanelKey, NS } from './locales.ts'\nimport { checkCounts, checkDuration } from './status.ts'\nimport { searchFieldKeyDown } from './menu-search.ts'\nimport css from './ForgeTab.module.css'\nimport overview from './ChangeRequestOverview.module.css'\n\ntype Translate = PropsLocale<typeof NS>['t']\n\n/** Milliseconds between the last keystroke of a reviewer search and the listing it reads. */\nconst SEARCH_DELAY_MS = 150\n\n/** Avatars the review row shows before it counts the rest. */\nconst AVATARS = 3\n\n/** Requests reviews of a change request from more reviewers; settles once the outcome is reported. */\ntype RequestReviews = (entry: ForgePanelChangeRequest, reviewers: readonly Pick<ChangeRequestReviewer, 'kind' | 'login'>[]) => Promise<void>\n\n/** Lists the accounts a review of the change request at `url` can be requested from. */\ntype ListCandidates = (url: string, query: string, signal: AbortSignal) => Promise<readonly ForgeReviewerCandidate[]>\n\n/** Overview actions of a card; a surface without a Session binding omits them. */\nexport interface OverviewActions {\n /** Rerun the failed checks; settles once the outcome is reported. */\n readonly rerunChecks?: ((entry: ForgePanelChangeRequest, request: ForgeRerunRequest) => Promise<void>) | undefined\n /** Request reviews from more reviewers; settles once the outcome is reported. */\n readonly requestReviews?: RequestReviews | undefined\n /** List accounts a review can be requested from; rejects with the host's reason. */\n readonly reviewerCandidates?: ListCandidates | undefined\n /** Bring the base branch's new commits into the head branch; settles once the outcome is reported. */\n readonly updateBranch?: ((entry: ForgePanelChangeRequest, request: BranchUpdateRequest) => Promise<void>) | undefined\n}\n\n/** One action at a time per control: it stays disabled until the previous action settles. */\nfunction useBusy(): readonly [boolean, (action: () => Promise<void>) => void] {\n const [busy, setBusy] = useState(false)\n return [busy, (action) => {\n setBusy(true)\n void action().finally(() => { setBusy(false) })\n }]\n}\n\n/**\n * The parts of one fact row: its glyph, its one-line value after the fact's name, which only assistive technology\n * reads unless the value names the fact itself, an optional trailing part, and the chevron of a row that opens something.\n * @param props - the fact's name for assistive technology, the glyph, the value with its tone, the trailing part, and\n * whether the row opens something.\n * @returns the row's cells.\n */\nexport function RowParts({ label, icon, value, tone, trailing, opens }: {\n readonly label: string | undefined\n readonly icon: ReactNode\n readonly value: ReactNode\n readonly tone?: string | undefined\n readonly trailing?: ReactNode\n readonly opens: boolean\n}): ReactNode {\n return (\n <>\n <span className={css.rowIcon}>{icon}</span>\n <span className={css.rowValue} data-tone={tone}>\n {label !== undefined && <span className={css.visuallyHidden}>{label}</span>}\n <span className={css.ellipsis}>{value}</span>\n </span>\n {trailing !== undefined && <span className={css.rowTrailing}>{trailing}</span>}\n {opens && <IconChevronRightOutlineRegular size={12} className={css.rowChevron} />}\n </>\n )\n}\n\ntype CheckGroup = 'failed' | 'running' | 'cancelled' | 'passed' | 'other'\n\n/** Groups that need attention, listed whenever the menu opens. */\nconst ATTENTION: readonly CheckGroup[] = ['failed', 'running', 'cancelled']\n\n/** Groups the menu lists only on request. */\nconst QUIET: readonly CheckGroup[] = ['passed', 'other']\n\nconst GROUP_LABEL: Record<CheckGroup, ForgePanelKey> = {\n failed: 'checks.group.failed',\n running: 'checks.group.running',\n cancelled: 'checks.group.cancelled',\n passed: 'checks.group.passed',\n other: 'checks.group.other',\n}\n\nfunction groupOf(check: ChangeRequestCheck): CheckGroup {\n switch (check.state) {\n case 'failure': return 'failed'\n case 'pending': return 'running'\n case 'success': return 'passed'\n case 'cancelled': return 'cancelled'\n case 'neutral':\n case 'skipped': return 'other'\n }\n}\n\nfunction checkTime(check: ChangeRequestCheck, t: Translate): string {\n if (check.state === 'pending') return t(check.startedAt === null ? 'change.check.queued' : 'change.check.running')\n const elapsed = checkDuration(check)\n return elapsed === undefined ? '' : formatDuration(elapsed, t)\n}\n\n/** The checks outcome in a few words: what needs attention, else that all passed. */\nfunction checksValue(snapshot: ChangeRequestSnapshot, t: Translate): string {\n if (snapshot.checksTruncated) return t('change.checks.truncated', { count: snapshot.checks.length })\n const counts = checkCounts(snapshot.checks)\n const parts = [\n ...counts.failed > 0 ? [t('change.checks.failed', { count: counts.failed })] : [],\n ...counts.running > 0 ? [t('change.checks.running', { count: counts.running })] : [],\n ...counts.cancelled > 0 ? [t('change.checks.cancelled', { count: counts.cancelled })] : [],\n ]\n return parts.length > 0 ? parts.join(' · ') : t('checks.allPassed', { count: counts.passed + counts.other })\n}\n\ntype CheckRead = { readonly kind: 'idle' | 'loading' }\n | { readonly kind: 'ready'; readonly snapshot: ChangeRequestSnapshot }\n | { readonly kind: 'failed'; readonly message: string }\n\n/** Props of the checks row. */\nexport interface ChecksRowProps {\n readonly entry: ForgePanelChangeRequest\n readonly snapshot: ChangeRequestSnapshot\n readonly openLink: (url: string) => void\n /** Load complete check details independently of polling; cancellation follows the open menu. */\n readonly readChecks: ((url: string, headSha: string, signal: AbortSignal) => Promise<ChangeRequestSnapshot>) | undefined\n readonly rerunChecks: OverviewActions['rerunChecks']\n readonly t: Translate\n}\n\n/**\n * Whether a failed check names a rerun that none of the checks sharing it still waits for, as a rerun of checks in\n * progress cannot start.\n * @param checks - the checks of the head commit.\n * @returns whether a rerun of failed checks can start.\n */\nfunction rerunnable(checks: readonly ChangeRequestCheck[]): boolean {\n const running = new Set(checks.flatMap(check => check.state === 'pending' && check.rerun !== null ? [check.rerun] : []))\n return checks.some(check => check.state === 'failure' && check.rerun !== null && !running.has(check.rerun))\n}\n\n/**\n * Render the checks outcome as a row whose menu lists the failed, running, and cancelled checks by group, offers to\n * rerun the failed ones, and lists the passed and skipped ones on request. A list the poll read only in part is\n * completed while the menu is open.\n * @param props - the change request, its snapshot, the link and read actions, the rerun action, and copy.\n * @returns the row with its menu.\n */\nexport function ChecksRow({ entry, snapshot, openLink, readChecks, rerunChecks, t }: ChecksRowProps): ReactNode {\n const [open, setOpen] = useState(false)\n const [quiet, setQuiet] = useState(false)\n const [read, setRead] = useState<CheckRead>({ kind: 'idle' })\n const [attempt, setAttempt] = useState(0)\n const [busy, run] = useBusy()\n const { url, headSha, checksTruncated } = snapshot\n useEffect(() => {\n if (!open || !checksTruncated || readChecks === undefined) { setRead({ kind: 'idle' }); return }\n const controller = new AbortController()\n setRead({ kind: 'loading' })\n void (async () => {\n try {\n const result = await readChecks(url, headSha, controller.signal)\n if (!controller.signal.aborted) setRead({ kind: 'ready', snapshot: result })\n } catch (error) {\n if (!controller.signal.aborted) setRead({ kind: 'failed', message: error instanceof Error ? error.message : String(error) })\n }\n })()\n return () => { controller.abort() }\n }, [open, url, headSha, checksTruncated, readChecks, attempt])\n const displayed = read.kind === 'ready' && read.snapshot.headSha === headSha ? read.snapshot : snapshot\n if (displayed.checks.length === 0 && !displayed.checksTruncated) {\n return <div className={css.row}><RowParts label={t('change.row.checks')} icon={<CheckGlyph state=\"neutral\" />} value={t('change.ci.none')} opens={false} /></div>\n }\n const counts = checkCounts(displayed.checks)\n const rerun = displayed.state === 'open' && displayed.canRerunChecks && rerunnable(displayed.checks) ? rerunChecks : undefined\n const groups = (list: readonly CheckGroup[]): { readonly group: CheckGroup; readonly checks: ChangeRequestCheck[] }[] =>\n list.map(group => ({ group, checks: displayed.checks.filter(check => groupOf(check) === group) }))\n .filter(({ checks }) => checks.length > 0)\n const quietCount = counts.passed + counts.other\n const close = (): void => {\n setOpen(false)\n setQuiet(false)\n }\n const rows = (list: readonly CheckGroup[]): ReactNode => groups(list).map(({ group, checks }) => (\n <div key={group} role=\"group\" aria-label={t(GROUP_LABEL[group])} data-forge-check-group={group}>\n <div className={overview.menuLabel} role=\"presentation\">{`${t(GROUP_LABEL[group])} · ${checks.length}`}</div>\n {checks.map((check, index) => {\n const link = check.url\n return (\n // The list is replaced as a whole with each snapshot, and check names can repeat.\n <MenuItemButton key={index} icon={<CheckGlyph state={check.state} size={14} />} disabled={link === null}\n onSelect={link === null ? close : () => {\n close()\n openLink(link)\n }}>\n <span className={overview.check} data-forge-check-item={check.state}>\n <span className={css.ellipsis}>{check.name}</span>\n <span className={overview.checkTime}>{checkTime(check, t)}</span>\n </span>\n </MenuItemButton>\n )\n })}\n </div>\n ))\n const rollup = displayed.checksRollup === 'none' ? 'neutral' : displayed.checksRollup\n return (\n <Menu open={open} onClose={close} portal dense align=\"end\" className={overview.rowAnchor} listClassName={overview.menu}\n anchor={(\n <button type=\"button\" className={clsx(css.row, css.rowButton)} aria-haspopup=\"menu\" aria-expanded={open} data-forge-checks=\"\"\n onClick={() => { if (open) close(); else setOpen(true) }}>\n <RowParts label={t('change.row.checks')} icon={<CheckGlyph state={rollup} />} value={checksValue(displayed, t)} opens\n tone={!displayed.checksTruncated && counts.failed > 0 ? 'error' : undefined} />\n </button>\n )}>\n {rerun !== undefined && (\n <MenuItemButton icon={<IconRefreshOutlineRegular size={14} />} disabled={busy} onSelect={() => {\n close()\n run(() => rerun(entry, { headSha }))\n }}>\n {t('checks.rerunFailed')}\n </MenuItemButton>\n )}\n {rows(ATTENTION)}\n {quiet ? rows(QUIET) : quietCount > 0 && (\n <MenuItemButton separatorBefore={counts.failed + counts.running + counts.cancelled > 0}\n icon={<CheckGlyph state={counts.passed > 0 ? 'success' : 'skipped'} size={14} />}\n onSelect={() => { setQuiet(true) }}>\n {t('checks.showQuiet', { count: quietCount })}\n </MenuItemButton>\n )}\n {read.kind === 'loading' && <div className={overview.menuStatus} role=\"status\"><StateDot state=\"ongoing\" size={12} />{t('change.checks.loading')}</div>}\n {read.kind === 'failed' && (\n <div className={overview.menuStatus} role=\"status\">\n <span>{t('change.checks.loadFailed', { message: read.message })}</span>\n <Button size=\"sm\" variant=\"outline\" onClick={() => { setAttempt(value => value + 1) }}>{t('change.checks.retry')}</Button>\n </div>\n )}\n </Menu>\n )\n}\n\nconst VERDICT: Record<ReviewVerdict, { readonly key: ForgePanelKey; readonly tone: string | undefined }> = {\n 'approved': { key: 'reviewers.approved', tone: 'success' },\n 'changes-requested': { key: 'reviewers.changesRequested', tone: 'error' },\n 'commented': { key: 'reviewers.commented', tone: undefined },\n 'dismissed': { key: 'reviewers.dismissed', tone: undefined },\n}\n\nfunction Avatar({ url, login, size = 20 }: { readonly url: string | null; readonly login: string; readonly size?: number }): ReactNode {\n const [broken, setBroken] = useState(false)\n const style = { width: size, height: size }\n if (url === null || broken) {\n return (\n <span className={overview.avatar} style={style} aria-hidden=\"true\">\n {login.replace(/^[^a-z0-9]*/i, '').slice(0, 1).toUpperCase()}\n </span>\n )\n }\n // Lazy images inside the panel's scroller never load in Chromium, so avatars load eagerly.\n return <img className={overview.avatar} style={style} src={url} alt=\"\" loading=\"eager\" onError={() => { setBroken(true) }} />\n}\n\n/** Props of the review row. */\nexport interface ReviewRowProps {\n readonly entry: ForgePanelChangeRequest\n readonly snapshot: ChangeRequestSnapshot\n /** The aggregate review outcome. */\n readonly value: string\n /** Tone of the aggregate outcome. */\n readonly tone: string | undefined\n readonly requestReviews: OverviewActions['requestReviews']\n readonly reviewerCandidates: OverviewActions['reviewerCandidates']\n readonly openLink: (url: string) => void\n readonly t: Translate\n}\n\n/**\n * Render the review decision as a row with the first reviewers' avatars. Its menu lists each reviewer with their\n * latest outcome or that their review is requested, and, when the signed-in user may request reviews, offers to ask a\n * reviewer again and to request a review from someone else through a search.\n * @param props - the change request, its snapshot, the aggregate outcome, the review request actions, and copy.\n * @returns the row with its menu.\n */\nexport function ReviewRow({ entry, snapshot, value, tone, requestReviews, reviewerCandidates, openLink, t }: ReviewRowProps): ReactNode {\n const [open, setOpen] = useState(false)\n const [searching, setSearching] = useState(false)\n const [busy, run] = useBusy()\n const { reviewers } = snapshot\n const ask = snapshot.canRequestReviews && reviewerCandidates !== undefined ? requestReviews : undefined\n const canRequest = ask !== undefined\n const avatars = reviewers.length === 0 ? undefined : (\n <span className={overview.avatars} aria-hidden=\"true\">\n {reviewers.slice(0, AVATARS).map(reviewer => (\n <Avatar key={`${reviewer.kind}:${reviewer.login}`} url={reviewer.avatarUrl} login={reviewer.login} size={18} />\n ))}\n {reviewers.length > AVATARS && <span className={overview.moreCount}>{`+${reviewers.length - AVATARS}`}</span>}\n </span>\n )\n const opens = reviewers.length > 0 || canRequest\n const parts = (\n <RowParts label={t('change.row.review')} icon={<IconUserOutlineRegular size={16} />} value={value} tone={tone} trailing={avatars}\n opens={opens} />\n )\n if (!opens) return <div className={css.row}>{parts}</div>\n const close = (): void => {\n setOpen(false)\n setSearching(false)\n }\n const request = ask === undefined ? undefined : (reviewer: Pick<ChangeRequestReviewer, 'kind' | 'login'>): void => {\n close()\n run(() => ask(entry, [reviewer]))\n }\n // Asking again suits people who reviewed and are not asked now; bots review on their own triggers.\n const again = reviewers.filter(reviewer => reviewer.kind !== 'bot' && !reviewer.requested && reviewer.verdict !== null)\n return (\n <Menu open={open} onClose={close} portal dense align=\"end\" className={overview.rowAnchor} listClassName={overview.menu}\n anchor={(\n <button type=\"button\" className={clsx(css.row, css.rowButton)} aria-haspopup=\"menu\" aria-expanded={open} data-forge-review=\"\"\n disabled={busy} onClick={() => { if (open) close(); else setOpen(true) }}>\n {parts}\n </button>\n )}>\n {searching && request !== undefined && reviewerCandidates !== undefined\n ? <ReviewerSearch url={snapshot.url} list={reviewerCandidates} choose={(login) => { request({ kind: 'user', login }) }} t={t} />\n : (\n <>\n {reviewers.length === 0 && <div className={overview.menuStatus}>{t('reviewers.none')}</div>}\n {reviewers.map(reviewer => (\n <ReviewerLine key={`${reviewer.kind}:${reviewer.login}`} reviewer={reviewer} headSha={snapshot.headSha} t={t} />\n ))}\n {snapshot.reviewersTruncated && (\n <MenuItemButton onSelect={() => {\n close()\n openLink(snapshot.url)\n }}>\n {t('reviewers.truncated')}\n </MenuItemButton>\n )}\n {request !== undefined && again.map((reviewer, index) => (\n <MenuItemButton key={`${reviewer.kind}:${reviewer.login}`} separatorBefore={index === 0} icon={<IconRefreshOutlineRegular size={14} />}\n onSelect={() => { request(reviewer) }}>\n {t('reviewers.rerequestAria', { login: reviewer.login })}\n </MenuItemButton>\n ))}\n {canRequest && (\n <MenuItemButton separatorBefore={again.length === 0} icon={<IconPlusOutlineRegular size={14} />}\n onSelect={() => { setSearching(true) }}>\n {t('reviewers.requestMore')}\n </MenuItemButton>\n )}\n </>\n )}\n </Menu>\n )\n}\n\n/** One reviewer in the review menu: avatar, login, what kind of reviewer, and their latest outcome or pending request. */\nfunction ReviewerLine({ reviewer, headSha, t }: {\n readonly reviewer: ChangeRequestReviewer\n readonly headSha: string\n readonly t: Translate\n}): ReactNode {\n const verdict = reviewer.verdict === null ? undefined : VERDICT[reviewer.verdict]\n // A shown outcome older than the head; a requested review hides the outcome.\n const older = !reviewer.requested && reviewer.verdict !== null && reviewer.reviewedSha !== null\n && reviewer.reviewedSha.toLowerCase() !== headSha.toLowerCase()\n const kind = reviewer.codeOwner ? t('reviewers.codeOwner') : reviewer.kind === 'team' ? t('reviewers.team')\n : reviewer.kind === 'bot' ? t('reviewers.bot') : undefined\n return (\n <div className={overview.reviewer} role=\"presentation\" data-forge-reviewer={reviewer.login}>\n <Avatar url={reviewer.avatarUrl} login={reviewer.login} />\n <span className={overview.who}>\n <span className={css.ellipsis}>{reviewer.login}</span>\n {kind !== undefined && <span className={overview.kind}>{kind}</span>}\n </span>\n <span className={overview.outcome}>\n {reviewer.requested\n ? <span data-tone=\"pending\">{t('reviewers.pending')}</span>\n : verdict !== undefined && <span data-tone={verdict.tone}>{t(verdict.key)}</span>}\n {older && <span className={overview.older}>{t('reviewers.older')}</span>}\n </span>\n </div>\n )\n}\n\n/** The accounts a reviewer search listed for `query`, or that the listing failed. */\ntype Listing = { readonly query: string } & (\n { readonly ok: true; readonly value: readonly ForgeReviewerCandidate[] } | { readonly ok: false })\n\n/** The searchable account list of a review request: the host's suggestions first, then accounts matching the search. */\nfunction ReviewerSearch({ url, list, choose, t }: {\n readonly url: string\n readonly list: ListCandidates\n readonly choose: (login: string) => void\n readonly t: Translate\n}): ReactNode {\n const [query, setQuery] = useState('')\n const [attempt, setAttempt] = useState(0)\n const [listing, setListing] = useState<Listing | null>(null)\n const search = useRef<HTMLInputElement>(null)\n useEffect(() => {\n const controller = new AbortController()\n const timer = setTimeout(() => {\n list(url, query, controller.signal).then(\n (value) => { if (!controller.signal.aborted) setListing({ query, ok: true, value }) },\n () => { if (!controller.signal.aborted) setListing({ query, ok: false }) },\n )\n }, query === '' ? 0 : SEARCH_DELAY_MS)\n return () => {\n clearTimeout(timer)\n controller.abort()\n }\n }, [url, query, attempt, list])\n useEffect(() => {\n if (typeof matchMedia === 'function' && matchMedia('(pointer: coarse)').matches) return\n const frame = requestAnimationFrame(() => { search.current?.focus() })\n return () => { cancelAnimationFrame(frame) }\n }, [])\n // A listing of an earlier query is never shown or chosen from, so Enter cannot request a review from an account the\n // current query no longer names.\n const current = listing !== null && listing.query === query ? listing : null\n const candidates = current !== null && current.ok ? current.value : []\n let body: ReactNode\n if (current === null) {\n body = <div className={overview.menuStatus} role=\"status\"><StateDot state=\"ongoing\" />{t('reviewers.loading')}</div>\n } else if (!current.ok) {\n body = (\n <div className={overview.menuStatus} role=\"status\">\n <span>{t('reviewers.loadFailed')}</span>\n <Button size=\"sm\" variant=\"outline\" onClick={() => { setAttempt(value => value + 1) }}>{t('retry')}</Button>\n </div>\n )\n } else if (candidates.length === 0) {\n body = <div className={overview.menuStatus}>{t('reviewers.empty')}</div>\n } else {\n body = candidates.map(candidate => (\n <MenuItemButton key={candidate.login} icon={<Avatar url={candidate.avatarUrl} login={candidate.login} size={16} />}\n onSelect={() => { choose(candidate.login) }}>\n <span className={overview.candidate}>\n <span className={css.ellipsis}>{candidate.login}</span>\n {candidate.name !== null && candidate.name !== candidate.login && <span className={overview.kind}>{candidate.name}</span>}\n {candidate.suggested && <span className={overview.badge}>{t('reviewers.suggested')}</span>}\n </span>\n </MenuItemButton>\n ))\n }\n const first = candidates[0]\n return (\n <>\n <div className={overview.menuSearch}>\n <Input ref={search} icon={<IconSearchOutlineRegular size={14} />} value={query} aria-label={t('reviewers.search')}\n placeholder={t('reviewers.search')} onChange={(event) => { setQuery(event.target.value) }}\n onKeyDown={(event) => { searchFieldKeyDown(event, first === undefined ? undefined : () => { choose(first.login) }) }} />\n </div>\n <div className={overview.menuRows}>{body}</div>\n </>\n )\n}\n\n/** Props of the merge row. */\nexport interface MergeRowProps {\n readonly entry: ForgePanelChangeRequest\n readonly snapshot: ChangeRequestSnapshot\n /** Glyph of the row. */\n readonly icon: ReactNode\n /** The merge conflict status. */\n readonly value: string\n /** Tone of the conflict status. */\n readonly tone: string | undefined\n readonly updateBranch: OverviewActions['updateBranch']\n readonly t: Translate\n}\n\n/**\n * Render the merge state as a row: the conflict status and whether the head is behind its base. While the signed-in\n * user can update the head branch, the row opens the update menu: a title, one row per method, and the confirmation,\n * which is refused once the head moved after the menu opened.\n * @param props - the change request, its snapshot, the row glyph and status, the update action, and copy.\n * @returns the row, with its menu when the branch can be updated.\n */\nexport function MergeRow({ entry, snapshot, icon, value, tone, updateBranch, t }: MergeRowProps): ReactNode {\n const [open, setOpen] = useState(false)\n const [confirmedHead, setConfirmedHead] = useState(snapshot.headSha)\n const [usual = 'merge'] = snapshot.branchUpdates\n const [chosen, setChosen] = useState<string>(usual)\n const [busy, run] = useBusy()\n const behind = snapshot.branchUpdates.length > 0\n const text = behind ? `${value} · ${t('branch.behind', { base: snapshot.baseBranch })}` : value\n if (!behind || updateBranch === undefined) {\n return <div className={css.row}><RowParts label={t('change.row.merge')} icon={icon} value={text} tone={tone} opens={false} /></div>\n }\n const stale = confirmedHead !== snapshot.headSha\n const method: BranchUpdateMethod = snapshot.branchUpdates.find(entry => entry === chosen) ?? usual\n const base = snapshot.baseBranch\n const items: MenuEntry[] = [\n { type: 'label', id: 'title', text: t('branch.updateTitle', { head: snapshot.headBranch, base }) },\n ...snapshot.branchUpdates.map(entry => ({\n id: entry,\n label: (\n <span className={css.method}>\n <span>{t(`branch.method.${entry}`)}</span>\n <span className={css.methodNote}>{t(`branch.note.${entry}`, { base })}</span>\n </span>\n ),\n })),\n ]\n return (\n <Menu open={open} onClose={() => { setOpen(false) }} portal align=\"end\" className={overview.rowAnchor} items={items}\n selectedId={method} onSelect={setChosen}\n anchor={(\n <button type=\"button\" className={clsx(css.row, css.rowButton)} aria-haspopup=\"menu\" aria-expanded={open} disabled={busy}\n data-forge-update-branch=\"\" onClick={() => {\n if (!open) setConfirmedHead(snapshot.headSha)\n setOpen(!open)\n }}>\n <RowParts label={t('change.row.merge')} icon={icon} value={text} tone={tone} opens\n trailing={<span className={overview.action}>{t('branch.update')}</span>} />\n </button>\n )}>\n <MenuItemButton separatorBefore disabled={stale} onSelect={() => {\n setOpen(false)\n run(() => updateBranch(entry, { method, headSha: confirmedHead }))\n }}>\n {t(stale ? 'branch.changed' : 'branch.confirm')}\n </MenuItemButton>\n </Menu>\n )\n}\n\n/**\n * A speech bubble, the glyph of review threads.\n * @param props - glyph size in pixels.\n * @returns the decorative glyph.\n */\nexport function ThreadGlyph({ size = 14 }: { readonly size?: number }): ReactNode {\n return (\n <svg width={size} height={size} viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M3 4.2C3 3.5 3.5 3 4.2 3h7.6c.7 0 1.2.5 1.2 1.2v5.4c0 .7-.5 1.2-1.2 1.2H7.3L4.6 13v-2.2h-.4C3.5 10.8 3 10.3 3 9.6z\"\n stroke=\"currentColor\" strokeWidth={1.2} strokeLinejoin=\"round\" />\n </svg>\n )\n}\n\n/** An issue: a ring around a dot. */\nfunction IssueGlyph(): ReactNode {\n return (\n <svg width={16} height={16} viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"8\" cy=\"8\" r=\"6\" stroke=\"currentColor\" strokeWidth={1.3} />\n <circle cx=\"8\" cy=\"8\" r=\"1.5\" fill=\"currentColor\" />\n </svg>\n )\n}\n\n/** The issue's label: `#n` within the change request's repository, else `owner/name#n`. */\nfunction issueLabel(issue: ChangeRequestIssue, snapshot: ChangeRequestSnapshot): string {\n const { owner, name } = snapshot.ref.repository\n const same = issue.repository.owner.toLowerCase() === owner.toLowerCase()\n && issue.repository.name.toLowerCase() === name.toLowerCase()\n return same ? `#${issue.number}` : `${issue.repository.owner}/${issue.repository.name}#${issue.number}`\n}\n\n/**\n * Render the issues linked to the change request, which the host closes once it merges, as one row of links, each\n * named by its number with its title in a tooltip, or nothing without one. More issues than the provider read end the\n * row with a note.\n * @param props - the snapshot, the link action, and copy.\n * @returns the row, or null.\n */\nexport function IssuesRow({ snapshot, openLink, t }: {\n readonly snapshot: ChangeRequestSnapshot\n readonly openLink: (url: string) => void\n readonly t: Translate\n}): ReactNode {\n if (snapshot.closingIssues.length === 0) return null\n const links = snapshot.closingIssues.map((issue, index) => {\n const label = issueLabel(issue, snapshot)\n return (\n <span key={issue.url}>\n {index > 0 && t('issues.separator')}\n <Tooltip label={issue.title} side=\"top\">\n <a className={overview.issue} href={issue.url} target=\"_blank\" rel=\"noreferrer\" data-state={issue.state}\n aria-label={t('issues.aria', { label, title: issue.title })}\n onClick={(event) => {\n event.preventDefault()\n openLink(issue.url)\n }}>\n {label}\n </a>\n </Tooltip>\n </span>\n )\n })\n return (\n <div className={css.row} data-forge-closing-issues=\"\">\n <RowParts label={undefined} icon={<IssueGlyph />} opens={false}\n value={<>{t('issues.label')}{' '}{links}{snapshot.closingIssuesTruncated && t('issues.more')}</>} />\n </div>\n )\n}\n","/**\n * One change request as a card: its title links to the host, a one-line\n * summary shows while collapsed, and while expanded one sentence per fact\n * (checks, review, merge state, the changed lines, which open its changes, and\n * the linked issues) above the ready-for-review or merge action.\n */\n\nimport { useId, useState, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport {\n Button, IconChevronDownOutlineRegular, IconCloseOutlineRegular, IconCopyOutlineRegular, IconListPenOutlineRegular,\n IconRightUpOutlineRegular, IconTriangleRightFillRegular, Menu, MenuItemButton, StateDot, Tooltip,\n type MenuEntry,\n} from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type {\n ChangeRequestSnapshot, CheckState, ChecksRollup, ForgeFailure, MergeMethod, MergeRequest,\n} from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { ForgePanelChangeRequest } from '../types.ts'\nimport { ChecksRow, IssuesRow, MergeRow, ReviewRow, RowParts, ThreadGlyph, type OverviewActions } from './ChangeRequestOverview.tsx'\nimport { formatAgo } from './format.ts'\nimport { ChangeRequestGlyph, CheckGlyph } from './glyphs.tsx'\nimport type { ForgePanelKey, NS } from './locales.ts'\nimport { ciSummary, flagOf, numberOf, TONE_LABEL, toneOf } from './status.ts'\nimport css from './ForgeTab.module.css'\n\ntype Translate = PropsLocale<typeof NS>['t']\n\n/**\n * What a card can do; a surface without a Session binding omits `remove`, `markReady`, `merge`, `viewChanges`, and the\n * overview actions.\n */\nexport interface ChangeRequestActions extends OverviewActions {\n /** Open a URL outside the app. */\n readonly openLink: (url: string) => void\n /** Copy a URL to the clipboard. */\n readonly copyLink: (url: string) => void\n /** Read the status again after a failed read. */\n readonly retry: () => void\n /** Remove the change request from its Session. */\n readonly remove?: ((entry: ForgePanelChangeRequest) => void) | undefined\n /** Mark a draft ready for review; settles once the outcome is reported. */\n readonly markReady?: ((entry: ForgePanelChangeRequest) => Promise<void>) | undefined\n /** Merge the change request as `request` describes; settles once the outcome is reported. */\n readonly merge?: ((entry: ForgePanelChangeRequest, request: MergeRequest) => Promise<void>) | undefined\n /** Load complete check details independently of polling; cancellation follows the open list. */\n readonly readChecks?: ((url: string, headSha: string, signal: AbortSignal) => Promise<ChangeRequestSnapshot>) | undefined\n /** Open the changes view of the change request. */\n readonly viewChanges?: ((entry: ForgePanelChangeRequest) => void) | undefined\n}\n\n/** Props of one change request card. */\nexport interface ChangeRequestCardProps {\n /** Change request with its latest snapshot and polling result. */\n readonly entry: ForgePanelChangeRequest\n /** Whether the details show. */\n readonly expanded: boolean\n /** Show or hide the details. */\n readonly onToggle: () => void\n /** Current epoch milliseconds for relative times. */\n readonly now: number\n /** Card actions. */\n readonly actions: ChangeRequestActions\n /** Active UI language for numeric formatting. */\n readonly locale: string\n /** Forge panel copy. */\n readonly t: Translate\n}\n\nconst REVIEW: Record<ChangeRequestSnapshot['reviewDecision'], ForgePanelKey> = {\n 'approved': 'change.review.approved',\n 'changes-requested': 'change.review.changesRequested',\n 'review-required': 'change.review.required',\n 'none': 'change.review.none',\n}\n\nconst FAILURE: Record<ForgeFailure['code'], ForgePanelKey> = {\n 'not-found': 'change.failure.notFound',\n 'unauthenticated': 'change.failure.unauthenticated',\n 'too-large': 'change.failure.unavailable',\n 'stale': 'change.failure.unavailable',\n 'unsupported': 'change.failure.unavailable',\n 'unavailable': 'change.failure.unavailable',\n}\n\nconst ROLLUP: Record<ChecksRollup, CheckState> = {\n none: 'neutral',\n pending: 'pending',\n success: 'success',\n failure: 'failure',\n}\n\n/** The unresolved thread count, with `+` when the provider counted only some threads. */\nfunction threadCount(snapshot: ChangeRequestSnapshot, locale: string): string {\n const count = snapshot.unresolvedThreads.toLocaleString(locale)\n return snapshot.threadsTruncated ? `${count}+` : count\n}\n\nfunction failureOf(entry: ForgePanelChangeRequest): ForgeFailure | undefined {\n return entry.update !== null && 'failure' in entry.update ? entry.update.failure : undefined\n}\n\nfunction DiffSize({ snapshot, locale }: { readonly snapshot: ChangeRequestSnapshot; readonly locale: string }): ReactNode {\n return (\n <span className={css.diff}>\n <span className={css.added}>{`+${snapshot.additions.toLocaleString(locale)}`}</span>\n <span className={css.deleted}>{`−${snapshot.deletions.toLocaleString(locale)}`}</span>\n </span>\n )\n}\n\n/**\n * The changed lines with the unresolved review thread count, as a row that opens the changes view when the provider\n * serves the change request.\n */\nfunction ChangesRow({ entry, snapshot, name, actions, locale, t }: {\n readonly entry: ForgePanelChangeRequest\n readonly snapshot: ChangeRequestSnapshot\n readonly name: string\n readonly actions: ChangeRequestActions\n readonly locale: string\n readonly t: Translate\n}): ReactNode {\n const { viewChanges } = actions\n const described = useId()\n const threads = snapshot.unresolvedThreads > 0 || snapshot.threadsTruncated ? threadCount(snapshot, locale) : undefined\n const threadsText = threads === undefined ? undefined : t('change.threads', { count: threads })\n const trailing = threadsText === undefined ? undefined : (\n <Tooltip label={threadsText} side=\"top\">\n <span className={css.threads} data-forge-threads={threads} aria-hidden=\"true\"><ThreadGlyph size={14} />{threads}</span>\n </Tooltip>\n )\n const opens = viewChanges !== undefined && entry.ref !== null\n // The count shows only a number, so the threads are named in full for assistive technology.\n const parts = (\n <>\n <RowParts label={t('change.row.changes')} icon={<IconListPenOutlineRegular size={16} />}\n value={<DiffSize snapshot={snapshot} locale={locale} />} trailing={trailing} opens={opens} />\n {threadsText !== undefined && <span id={described} className={css.visuallyHidden}>{threadsText}</span>}\n </>\n )\n if (!opens) return <div className={css.row}>{parts}</div>\n return (\n <button\n type=\"button\"\n className={clsx(css.row, css.rowButton)}\n aria-label={t('change.viewChangesAria', {\n name,\n added: snapshot.additions.toLocaleString(locale),\n deleted: snapshot.deletions.toLocaleString(locale),\n })}\n aria-describedby={threadsText === undefined ? undefined : described}\n onClick={() => { viewChanges(entry) }}\n >\n {parts}\n </button>\n )\n}\n\n/** The merged or closed fact with its time, such as 已合并到 main · 2 小时前. */\nfunction finished(snapshot: ChangeRequestSnapshot, now: number, t: Translate): string {\n const state = snapshot.state === 'merged' ? t('change.mergedTo', { base: snapshot.baseBranch }) : t('change.state.closed')\n const ago = snapshot.closedAt === null ? undefined : formatAgo(snapshot.closedAt, now, t)\n return ago === undefined ? state : t('time.finished', { state, time: ago })\n}\n\n/** Collapsed status after the number: checks and the most urgent flag, the merge or close time, or a read in progress. */\nfunction Summary({ snapshot, now, t }: {\n readonly snapshot: ChangeRequestSnapshot | null\n readonly now: number\n readonly t: Translate\n}): ReactNode {\n if (snapshot === null) return <StateDot state=\"ongoing\" size={11} />\n if (snapshot.state !== 'open') {\n return <span className={css.finished} data-tone={snapshot.state}>{finished(snapshot, now, t)}</span>\n }\n const ci = ciSummary(snapshot)\n const flag = flagOf(snapshot)\n return (\n <>\n <span className={css.ci} data-tone={ci.kind === 'failed' ? 'error' : undefined}>\n {ci.kind !== 'none' && <CheckGlyph state={ci.kind === 'cancelled' ? 'cancelled' : ROLLUP[snapshot.checksRollup]} size={12} />}\n {ci.kind === 'failed'\n ? ci.count > 0 ? t('change.ci.failed', { count: ci.count }) : t('change.ci.failedUnlisted')\n : ci.kind === 'cancelled' ? t('change.ci.cancelled', { count: ci.count }) : t(`change.ci.${ci.kind}`)}\n </span>\n {flag !== undefined && <span className={css.flag} data-flag={flag}>{t(`change.flag.${flag}`)}</span>}\n </>\n )\n}\n\n/** Expanded identity after the number: draft state and the head and base branches. */\nfunction Target({ snapshot, t }: { readonly snapshot: ChangeRequestSnapshot; readonly t: Translate }): ReactNode {\n return (\n <>\n {snapshot.state === 'open' && snapshot.draft && <span>{t('change.state.draft')}</span>}\n <span className={css.ellipsis}>{`${snapshot.headBranch} → ${snapshot.baseBranch}`}</span>\n </>\n )\n}\n\n/** The merge button and its menu: a title row, one row per method with the chosen one checked, and the confirmation. */\nfunction MergeMenu({ snapshot, name, usual, busy, onMerge, t }: {\n readonly snapshot: ChangeRequestSnapshot\n readonly name: string\n readonly usual: MergeMethod\n readonly busy: boolean\n readonly onMerge: (method: MergeMethod, headSha: string) => void\n readonly t: Translate\n}): ReactNode {\n const [open, setOpen] = useState(false)\n const [confirmedHead, setConfirmedHead] = useState(snapshot.headSha)\n const [chosen, setChosen] = useState<string>(usual)\n const stale = confirmedHead !== snapshot.headSha\n // The methods can change between polls; a choice the repository no longer allows falls back to the usual one.\n const method = snapshot.mergeMethods.find(entry => entry === chosen) ?? usual\n const close = (): void => { setOpen(false) }\n const base = snapshot.baseBranch\n const items: MenuEntry[] = [\n { type: 'label', id: 'title', text: t('change.mergeTitle', { name, base }) },\n ...snapshot.mergeMethods.map(entry => ({\n id: entry,\n label: (\n <span className={css.method}>\n <span>{t(`change.mergeMethod.${entry}`)}</span>\n <span className={css.methodNote}>{t(`change.mergeNote.${entry}`, { base })}</span>\n </span>\n ),\n })),\n ]\n return (\n <Menu\n open={open}\n onClose={close}\n portal\n align=\"end\"\n anchor={(\n <Button\n size=\"sm\"\n variant=\"primary\"\n className={clsx(css.primaryAction, css.mergeAction)}\n aria-haspopup=\"menu\"\n aria-expanded={open}\n disabled={busy}\n onClick={() => {\n if (!open) setConfirmedHead(snapshot.headSha)\n setOpen(!open)\n }}\n >\n {t('change.merge')}\n <IconTriangleRightFillRegular size={10} className={clsx(css.mergeCaret, open && css.mergeCaretOpen)} />\n </Button>\n )}\n items={items}\n selectedId={method}\n onSelect={setChosen}\n >\n <MenuItemButton\n separatorBefore\n disabled={stale}\n onSelect={() => {\n close()\n onMerge(method, confirmedHead)\n }}\n >\n {t(stale ? 'change.mergeChanged' : 'change.mergeConfirm')}\n </MenuItemButton>\n </Menu>\n )\n}\n\n/** The footer with the action of an open change request: mark a draft ready, or merge one the host would merge now. */\nfunction Primary({ entry, snapshot, name, actions, t }: {\n readonly entry: ForgePanelChangeRequest\n readonly snapshot: ChangeRequestSnapshot\n readonly name: string\n readonly actions: ChangeRequestActions\n readonly t: Translate\n}): ReactNode {\n // One request at a time: the action stays disabled until the previous one settles.\n const [busy, setBusy] = useState(false)\n const run = (action: () => Promise<void>): void => {\n setBusy(true)\n void action().finally(() => { setBusy(false) })\n }\n const { markReady, merge } = actions\n if (snapshot.state !== 'open') return null\n if (snapshot.draft) {\n if (markReady === undefined) return null\n return (\n <div className={css.footer}>\n <Button size=\"sm\" variant=\"outline\" className={css.primaryAction} disabled={busy} onClick={() => { run(() => markReady(entry)) }}>\n {t('change.markReady')}\n </Button>\n </div>\n )\n }\n const [usual] = snapshot.mergeMethods\n if (!snapshot.mergeReady || usual === undefined || merge === undefined) return null\n return (\n <div className={css.footer}>\n <MergeMenu\n snapshot={snapshot}\n name={name}\n usual={usual}\n busy={busy}\n onMerge={(method, headSha) => { run(() => merge(entry, { method, headSha })) }}\n t={t}\n />\n </div>\n )\n}\n\nfunction Details({ entry, snapshot, name, now, actions, locale, t }: {\n readonly entry: ForgePanelChangeRequest\n readonly snapshot: ChangeRequestSnapshot\n readonly name: string\n readonly now: number\n readonly actions: ChangeRequestActions\n readonly locale: string\n readonly t: Translate\n}): ReactNode {\n const changes = <ChangesRow entry={entry} snapshot={snapshot} name={name} actions={actions} locale={locale} t={t} />\n if (snapshot.state !== 'open') {\n return (\n <div className={css.rows}>\n <div className={css.row}>\n <RowParts label={undefined} icon={<ChangeRequestGlyph tone={snapshot.state} tinted={false} size={16} />}\n value={finished(snapshot, now, t)} tone={snapshot.state} opens={false} />\n </div>\n {changes}\n </div>\n )\n }\n const review = t(REVIEW[snapshot.reviewDecision])\n const reviewTone = snapshot.reviewDecision === 'changes-requested' ? 'error' : snapshot.reviewDecision === 'approved' ? 'success' : undefined\n const merge = snapshot.mergeability === 'mergeable'\n ? t('change.merge.mergeable')\n : snapshot.mergeability === 'conflicting' ? t('change.merge.conflicting', { base: snapshot.baseBranch }) : t('change.merge.unknown')\n return (\n <div className={css.rows}>\n <ChecksRow key={snapshot.headSha} entry={entry} snapshot={snapshot} openLink={actions.openLink} readChecks={actions.readChecks}\n rerunChecks={actions.rerunChecks} t={t} />\n <ReviewRow entry={entry} snapshot={snapshot} tone={reviewTone} openLink={actions.openLink} value={review}\n requestReviews={actions.requestReviews} reviewerCandidates={actions.reviewerCandidates} t={t} />\n <MergeRow entry={entry} snapshot={snapshot} value={merge} updateBranch={actions.updateBranch}\n icon={<ChangeRequestGlyph tone=\"merged\" tinted={false} size={16} />}\n tone={snapshot.mergeability === 'conflicting' ? 'error' : undefined} t={t} />\n {changes}\n <IssuesRow snapshot={snapshot} openLink={actions.openLink} t={t} />\n </div>\n )\n}\n\n/**\n * Render one change request.\n * @param props - change request, expansion, current time, actions, and copy.\n * @returns the card.\n */\nexport function ChangeRequestCard({ entry, expanded, onToggle, now, actions, locale, t }: ChangeRequestCardProps): ReactNode {\n const snapshot = entry.snapshot\n const number = numberOf(entry)\n const url = snapshot?.url ?? entry.url\n const failure = failureOf(entry)\n const notice = entry.ref === null ? 'change.unserved' : failure === undefined ? undefined : FAILURE[failure.code]\n const tone = toneOf(snapshot)\n const name = number === null ? snapshot?.title ?? url : t('change.number', { number })\n // A notice replaces the collapsed summary, so a failed read never shows its stale status beside it.\n const meta = expanded\n ? snapshot === null ? null : <Target snapshot={snapshot} t={t} />\n : notice === undefined ? <Summary snapshot={snapshot} now={now} t={t} /> : null\n const { remove } = actions\n return (\n <li className={css.change} data-forge-change={entry.url} data-expanded={expanded ? '' : undefined}>\n <div className={css.changeHead}>\n <ChangeRequestGlyph tone={tone} size={16} label={t('change.stateAria', { state: t(TONE_LABEL[tone]) })} />\n <div className={css.headText}>\n <a\n className={css.changeTitle}\n href={url}\n target=\"_blank\"\n rel=\"noreferrer\"\n onClick={(event) => {\n event.preventDefault()\n actions.openLink(url)\n }}\n >\n {snapshot?.title ?? url.replace(/^https?:\\/\\//i, '')}\n </a>\n {(number !== null || meta !== null) && (\n <div className={css.meta}>\n {number !== null && <span>{t('change.number', { number })}</span>}\n {number !== null && meta !== null && <span aria-hidden=\"true\">·</span>}\n {meta}\n </div>\n )}\n </div>\n <Tooltip label={t('change.view')} side=\"top\">\n <button type=\"button\" className={css.iconButton} aria-label={t('change.view')} onClick={() => { actions.openLink(url) }}>\n <IconRightUpOutlineRegular size={14} />\n </button>\n </Tooltip>\n <Tooltip label={t('change.copy')} side=\"top\">\n <button type=\"button\" className={css.iconButton} aria-label={t('change.copy')} onClick={() => { actions.copyLink(url) }}>\n <IconCopyOutlineRegular size={14} />\n </button>\n </Tooltip>\n {remove !== undefined && (\n <Tooltip label={t('change.remove')} side=\"top\">\n <button type=\"button\" className={css.iconButton} aria-label={t('change.removeAria', { name })} onClick={() => { remove(entry) }}>\n <IconCloseOutlineRegular size={14} />\n </button>\n </Tooltip>\n )}\n <button\n type=\"button\"\n className={css.iconButton}\n aria-expanded={expanded}\n aria-label={t(expanded ? 'change.collapse' : 'change.expand', { name })}\n onClick={onToggle}\n >\n <IconChevronDownOutlineRegular size={12} className={clsx(css.chevron, expanded && css.chevronOpen)} />\n </button>\n </div>\n {notice !== undefined && (\n <div className={css.notice}>\n <span>{t(notice)}</span>\n {entry.ref === null\n ? <Button size=\"sm\" variant=\"outline\" onClick={() => { actions.openLink(url) }}>{t('change.view')}</Button>\n : <Button size=\"sm\" variant=\"outline\" onClick={actions.retry}>{t('retry')}</Button>}\n </div>\n )}\n {expanded && snapshot !== null && (\n <Details entry={entry} snapshot={snapshot} name={name} now={now} actions={actions} locale={locale} t={t} />\n )}\n {expanded && snapshot !== null && <Primary entry={entry} snapshot={snapshot} name={name} actions={actions} t={t} />}\n </li>\n )\n}\n","/** What the panel's checkout row says about the checkout the Session works in. */\n\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport { abbreviateHomePath } from '@deepseek-ai/dsh-util-workspace-path'\nimport type { ForgePanelState } from '../types.ts'\nimport type { NS } from './locales.ts'\n\ntype Translate = PropsLocale<typeof NS>['t']\n\n/** Facts the checkout row shows. */\nexport interface CheckoutLabel {\n /** Branch name, the abbreviated commit while HEAD is detached, or null when HEAD has no commit. */\n readonly name: string | null\n /** Whether HEAD is detached. */\n readonly detached: boolean\n /** Kind of directory: a worktree with its base, another worktree, the project directory, or a removed worktree. */\n readonly kind: string\n /** The kind with the directory path, home abbreviated to `~`. */\n readonly tooltip: string\n /** Whether the worktree the Session works in is gone. */\n readonly missing: boolean\n /** Full path of the directory, home not abbreviated; a removed worktree keeps the path it was created at. */\n readonly path: string\n /** Whether the directory is a worktree rather than the project directory. */\n readonly worktree: boolean\n}\n\n/**\n * Describe the checkout of a Session. A worktree this panel created names its\n * base; any other linked worktree is a worktree, and the main checkout is the\n * project directory. A removed worktree keeps its branch name.\n * @param state - panel state.\n * @param home - Host account home, or undefined to show full paths.\n * @param t - forge panel copy.\n * @returns the label, or undefined before a successful inspection.\n */\nexport function checkoutLabel(state: ForgePanelState, home: string | undefined, t: Translate): CheckoutLabel | undefined {\n const created = state.worktree.created\n if (state.worktree.missing !== null && created !== null) {\n const path = abbreviateHomePath(created.path, home)\n return {\n name: created.branch,\n detached: false,\n kind: t('missing.title'),\n tooltip: t('branch.missing', { path }),\n missing: true,\n path: created.path,\n worktree: true,\n }\n }\n if (state.checkout.state !== 'ready') return undefined\n const { root, branch, linked, commit } = state.checkout.checkout\n const path = abbreviateHomePath(root, home)\n if (created !== null && created.path === root) {\n const base = created.from ?? created.baseCommit.slice(0, 7)\n return {\n name: branch ?? commit,\n detached: branch === null,\n kind: t('checkout.worktreeFrom', { base }),\n tooltip: t('branch.worktree', { base, path }),\n missing: false,\n path: root,\n worktree: true,\n }\n }\n return {\n name: branch ?? commit,\n detached: branch === null,\n kind: t(linked ? 'checkout.worktree' : 'checkout.project'),\n tooltip: t(linked ? 'branch.linked' : 'branch.project', { path }),\n missing: false,\n path: root,\n worktree: linked,\n }\n}\n","/**\n * The panel card of the checkout's `branch` scope changes, independent of\n * change request bindings: file counts and paths open the local changes view,\n * and an optional action asks the Agent for a change request.\n */\n\nimport { useState, type ReactNode } from 'react'\nimport { Button, IconChevronDownOutlineRegular, IconListPenOutlineRegular } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ForgeLocalChanges } from '../types.ts'\nimport { Counts } from './DiffFile.tsx'\nimport { FileLabel } from './FileLabel.tsx'\nimport type { NS } from './locales.ts'\nimport css from './ChangesTab.module.css'\n\n/** Props of the local changes card. */\nexport interface LocalChangesCardProps {\n /** Files the `branch` scope changes and the ref it compares with. */\n readonly local: ForgeLocalChanges\n /** Whether the card offers to create a change request. */\n readonly creatable: boolean\n /** Open the changes view, scrolled to `path` when given. */\n readonly view: (path?: string) => void\n /** Ask the Agent to create a change request for the changes. */\n readonly create: () => void\n /** Forge panel copy. */\n readonly t: PropsLocale<typeof NS>['t']\n}\n\n/**\n * Render the local changes card; the file list starts collapsed.\n * @param props - the changes, the view and create actions, and copy.\n * @returns the card.\n */\nexport function LocalChangesCard({ local, creatable, view, create, t }: LocalChangesCardProps): ReactNode {\n const [open, setOpen] = useState(false)\n let additions = 0\n let deletions = 0\n for (const file of local.files) {\n additions += file.additions\n deletions += file.deletions\n }\n const count = local.files.length\n return (\n <section className={css.local} data-forge-local=\"\">\n <div className={css.localHead}>\n <button type=\"button\" className={css.localToggle} aria-expanded={open} onClick={() => { setOpen(value => !value) }}>\n {t('changes.local.title')}\n <IconChevronDownOutlineRegular size={12} />\n </button>\n <span className={css.localRefs}>{t('changes.local.refs', { head: 'HEAD', base: local.base })}</span>\n </div>\n <div className={css.localRow}>\n <button\n type=\"button\"\n className={css.localView}\n aria-label={t('changes.local.viewAria', { count, added: additions, deleted: deletions })}\n onClick={() => { view() }}\n >\n <IconListPenOutlineRegular size={15} />\n <Counts file={{ additions, deletions, binary: false }} t={t} />\n <span aria-hidden=\"true\">·</span>\n <span>{t('changes.local.files', { count })}</span>\n </button>\n {creatable && (\n <Button size=\"sm\" variant=\"outline\" className={css.localCreate} onClick={create}>{t('changes.local.create')}</Button>\n )}\n </div>\n {open && (\n <ul className={css.localFiles}>\n {local.files.map(file => (\n <li key={file.path}>\n <button type=\"button\" className={css.localFile} onClick={() => { view(file.path) }}>\n <FileLabel path={file.path} className={css.menuPath} />\n <Counts file={file} t={t} />\n </button>\n </li>\n ))}\n </ul>\n )}\n </section>\n )\n}\n","/** Body of the forge sidebar tab: where the Session works, its local changes, and the change requests it created or pushed. */\n\nimport { useEffect, useState, type ReactNode } from 'react'\nimport {\n Button, IconBranchOutlineRegular, IconCopyOutlineRegular, IconFolderCloseRegular, IconWarningTriangleOutlineRegular, StateDot, Tooltip,\n} from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { HostObservable, InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { RemoteHostFacts } from '@deepseek-ai/dsh-api-remotes/client'\nimport type { MergeRequest } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type {} from '@deepseek-ai/dsh-client-ui-conversation/client'\nimport type {} from '@deepseek-ai/dsh-client-ui-sidebar-right/client'\nimport type { ForgePanelChangeRequest, ForgePanelState } from '../types.ts'\nimport { changesAddress, type ChangesSource } from './changes-address.ts'\nimport { ChangeRequestCard, type ChangeRequestActions } from './ChangeRequestCard.tsx'\nimport { checkoutLabel } from './checkout.ts'\nimport { LocalChangesCard } from './LocalChangesCard.tsx'\nimport type { NS } from './locales.ts'\nimport { RefreshGlyph } from './RefreshGlyph.tsx'\nimport type { PanelSnapshot } from './source.ts'\nimport { defaultExpanded, openChangeRequestOf } from './status.ts'\nimport css from './ForgeTab.module.css'\n\n/** Business face of the tab body. */\nexport interface ForgeTabInjected {\n /** Panel snapshot of the Session and the Host facts; the renderer binds them as `usePanel` and `useHost`. */\n readonly hooks: {\n readonly panel: HostObservable<PanelSnapshot>\n readonly host: HostObservable<RemoteHostFacts>\n readonly locale: HostObservable<string>\n }\n /** Open the stream again after it ended. */\n readonly reconnect: () => void\n /**\n * Reinspect the checkout, probe sign-in, and poll the change requests;\n * settles once the Host has inspected and probed, after reporting a failure.\n */\n readonly refresh: () => Promise<void>\n /** Remove a change request from the Session, offering to undo it. */\n readonly remove: (entry: ForgePanelChangeRequest) => void\n /** Mark a draft ready for review; settles once the outcome is reported. */\n readonly markReady: (entry: ForgePanelChangeRequest) => Promise<void>\n /** Merge a change request as `request` describes; settles once the outcome is reported. */\n readonly merge: (entry: ForgePanelChangeRequest, request: MergeRequest) => Promise<void>\n /** Read the complete checks of an opened change request. */\n readonly readChecks: NonNullable<ChangeRequestActions['readChecks']>\n /** Rerun the failed checks or one check; settles once the outcome is reported. */\n readonly rerunChecks: NonNullable<ChangeRequestActions['rerunChecks']>\n /** Request reviews from more reviewers; settles once the outcome is reported. */\n readonly requestReviews: NonNullable<ChangeRequestActions['requestReviews']>\n /** List accounts a review can be requested from. */\n readonly reviewerCandidates: NonNullable<ChangeRequestActions['reviewerCandidates']>\n /** Bring the base branch's new commits into the head branch; settles once the outcome is reported. */\n readonly updateBranch: NonNullable<ChangeRequestActions['updateBranch']>\n /** Check the removed worktree of the Session out again, reporting the outcome. */\n readonly restore: () => void\n /** Open a URL outside the app. */\n readonly openLink: (url: string) => void\n /** Copy text to the clipboard and report the outcome. */\n readonly copyText: (text: string) => void\n /** Copy a path to the clipboard and report the outcome. */\n readonly copyPath: (path: string) => void\n /** Record whether the tab is visible, for the header entry's pressed state. */\n readonly reportVisible: (visible: boolean) => void\n /** Ask the Session's Agent to create a change request for its changes, reporting the outcome. */\n readonly createChangeRequest: () => void\n}\n\n/** Full props of the tab body. */\nexport type ForgeTabProps =\n Pick<PropsRuntime<'sidebar.right.pane.tab'>, 'useTabInfo' | 'sessionId'>\n & InjectFace<ForgeTabInjected>\n & PropsLocale<typeof NS>\n\ntype Translate = ForgeTabProps['t']\n\nfunction Checkout({ state, home, restore, copyPath, t }: {\n readonly state: ForgePanelState\n readonly home: string | undefined\n readonly restore: () => void\n readonly copyPath: (path: string) => void\n readonly t: Translate\n}): ReactNode {\n const checkout = state.checkout\n const label = checkoutLabel(state, home, t)\n if (label === undefined) {\n if (checkout.state === 'none') return <div className={css.checkout}>{t('checkout.none')}</div>\n if (checkout.state !== 'failed') return null\n return (\n <Tooltip label={checkout.message} side=\"bottom\">\n <div className={css.checkout} tabIndex={0}>{t('checkout.failed')}</div>\n </Tooltip>\n )\n }\n const copyLabel = t(label.worktree ? 'checkout.copyWorktreePath' : 'checkout.copyProjectPath')\n return (\n <div className={css.checkout} data-forge-checkout=\"\" data-missing={label.missing ? '' : undefined}>\n <Tooltip label={label.tooltip} side=\"bottom\">\n <span className={css.checkoutName} tabIndex={0}>\n {label.missing\n ? <IconWarningTriangleOutlineRegular size={14} className={css.checkoutIcon} />\n : label.worktree\n ? <IconBranchOutlineRegular size={14} className={css.checkoutIcon} />\n : <IconFolderCloseRegular size={14} className={css.checkoutIcon} />}\n {label.detached && <span>{t('checkout.detached')}</span>}\n {label.detached && label.name !== null && <span aria-hidden=\"true\">·</span>}\n {label.name !== null && <span className={css.checkoutBranch}>{label.name}</span>}\n </span>\n </Tooltip>\n <span className={css.checkoutNote}>{label.kind}</span>\n <Tooltip label={copyLabel} side=\"bottom\">\n <button type=\"button\" className={`${css.iconButton} ${css.checkoutCopy}`} aria-label={copyLabel} onClick={() => { copyPath(label.path) }}>\n <IconCopyOutlineRegular size={14} />\n </button>\n </Tooltip>\n {label.missing && (\n <Button\n size=\"sm\"\n variant=\"outline\"\n disabled={state.worktree.restoration !== null}\n icon={state.worktree.restoration === null ? undefined : <StateDot state=\"ongoing\" size={14} />}\n onClick={restore}\n >\n {t('checkout.restore')}\n </Button>\n )}\n </div>\n )\n}\n\nfunction SignIn({ state, copyText, t }: {\n readonly state: ForgePanelState\n readonly copyText: (text: string) => void\n readonly t: Translate\n}): ReactNode {\n const { repository, readiness } = state\n if (repository === null || readiness === null || readiness.state === 'ready') return null\n const host = repository.host\n if (readiness.state === 'unavailable') {\n return <div className={css.banner} role=\"status\">{t('signin.unavailable', { host, message: readiness.message ?? '' })}</div>\n }\n const command = repository.forge === 'github' ? `gh auth login --hostname ${host}` : undefined\n return (\n <div className={css.banner} role=\"status\">\n <span>{t('signin.title', { host })}</span>\n {command === undefined\n ? readiness.message !== null && <span className={css.bannerDetail}>{readiness.message}</span>\n : (\n <>\n <code className={css.bannerCommand}>{command}</code>\n <Button size=\"sm\" variant=\"outline\" className={css.bannerAction} onClick={() => { copyText(command) }}>\n {t('signin.copy')}\n </Button>\n </>\n )}\n </div>\n )\n}\n\n/**\n * Render the forge tab of one Session. The local changes card shows whenever\n * the `branch` scope changes files, independently of bound change requests.\n * The only open change request starts expanded; once the\n * user expands or collapses a card, the panel keeps that choice across later updates.\n * @param props - tab information, panel snapshot and Host facts hooks, actions, and copy.\n * @returns the tab body.\n */\nexport function ForgeTab({\n useTabInfo, sessionId, usePanel, useHost, useLocale, reconnect, refresh, remove, markReady, merge, readChecks, restore,\n rerunChecks, requestReviews, reviewerCandidates, updateBranch, openLink, copyText, copyPath,\n reportVisible, createChangeRequest, t,\n}: ForgeTabProps): ReactNode {\n const snapshot = usePanel(current => current)\n const home = useHost(facts => facts.home)\n const locale = useLocale(value => value)\n const { tab } = useTabInfo()\n const visible = tab.visible\n const [chosen, setChosen] = useState<ReadonlySet<string> | null>(null)\n const [refreshing, setRefreshing] = useState(false)\n useEffect(() => {\n reportVisible(visible)\n }, [reportVisible, visible])\n useEffect(() => () => { reportVisible(false) }, [reportVisible])\n const state = snapshot.state\n const disconnected = snapshot.disconnected && (\n <div className={css.disconnected} role=\"status\">\n <span>{t('stream.failed')}</span>\n <Button size=\"sm\" variant=\"outline\" onClick={reconnect}>{t('retry')}</Button>\n </div>\n )\n if (state === null) return <div className={css.centered}>{disconnected || <StateDot state=\"ongoing\" />}</div>\n const viewChanges = (source: ChangesSource, path?: string): void => {\n tab.actions.openResource(changesAddress({ sessionId, source }), path === undefined ? undefined : { params: { path } })\n }\n const startRefresh = (): void => {\n if (refreshing) return\n setRefreshing(true)\n void refresh().finally(() => { setRefreshing(false) })\n }\n const actions: ChangeRequestActions = {\n openLink, copyLink: copyText, retry: startRefresh, remove, markReady, merge, readChecks,\n rerunChecks, requestReviews, reviewerCandidates, updateBranch,\n viewChanges: (entry) => { viewChanges({ kind: 'change', url: entry.url }) },\n }\n const local = state.local !== null && state.local.files.length > 0 ? state.local : null\n const expanded = chosen ?? defaultExpanded(state.changeRequests)\n const toggle = (url: string): void => {\n const next = new Set(expanded)\n if (next.has(url)) next.delete(url)\n else next.add(url)\n setChosen(next)\n }\n const now = Date.now()\n const count = state.changeRequests.length\n return (\n <div className={css.root} data-forge-panel=\"\">\n {disconnected}\n <Checkout state={state} home={home} restore={restore} copyPath={copyPath} t={t} />\n {local !== null && (\n <LocalChangesCard\n local={local}\n creatable={state.repository !== null && openChangeRequestOf(state) === undefined}\n view={(path) => { viewChanges({ kind: 'local' }, path) }}\n create={createChangeRequest}\n t={t}\n />\n )}\n <section className={css.section}>\n <div className={css.sectionHeader}>\n <h3 className={css.sectionTitle}>{t('changes.title', { count })}</h3>\n <Tooltip label={t('refresh')} side=\"top\">\n <button type=\"button\" className={css.iconButton} aria-label={t('refresh')} aria-disabled={refreshing} onClick={startRefresh}>\n <RefreshGlyph busy={refreshing} size={14} />\n </button>\n </Tooltip>\n </div>\n <SignIn state={state} copyText={copyText} t={t} />\n {count === 0\n ? (\n <div className={css.empty}>\n <p className={css.emptyTitle}>{t('changes.empty')}</p>\n <p className={css.emptyHint}>{t('changes.emptyHint')}</p>\n </div>\n )\n : (\n <ul className={css.list}>\n {state.changeRequests.map(entry => (\n <ChangeRequestCard\n key={entry.url}\n entry={entry}\n expanded={expanded.has(entry.url)}\n onToggle={() => { toggle(entry.url) }}\n now={now}\n actions={actions}\n locale={locale}\n t={t}\n />\n ))}\n </ul>\n )}\n </section>\n </div>\n )\n}\n","/** Chip title of the forge tab: the change request glyph and the localized tab name. */\n\nimport type { ReactNode } from 'react'\nimport type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport { ChangeRequestGlyph } from './glyphs.tsx'\nimport type { NS } from './locales.ts'\nimport css from './ForgeTab.module.css'\n\n/**\n * Render the tab chip title in the current UI language.\n * @param props - forge panel copy.\n * @returns the glyph followed by the tab name.\n */\nexport function ForgeTabTitle({ t }: PropsLocale<typeof NS>): ReactNode {\n return (\n <>\n <span className={css.titleIcon}><ChangeRequestGlyph tone=\"open\" tinted={false} size={16} /></span>\n <span className={css.titleText}>{t('tab.title')}</span>\n </>\n )\n}\n","/** Session header entry that shows or hides the forge tab and marks change requests that need attention. */\n\nimport type { ReactNode } from 'react'\nimport { Button, StateDot, Tooltip } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { HostObservable, InjectFace, PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type {} from '@deepseek-ai/dsh-client-ui-conversation/client'\nimport { ChangeRequestGlyph } from './glyphs.tsx'\nimport type { NS } from './locales.ts'\nimport type { PanelSnapshot } from './source.ts'\nimport { needsAttention } from './status.ts'\nimport css from './HeaderButton.module.css'\n\n/** Business face of the header entry. */\nexport interface HeaderButtonInjected {\n /** Panel snapshot and tab visibility of the Session; the renderer binds them as `usePanel` and `useVisible`. */\n readonly hooks: { readonly panel: HostObservable<PanelSnapshot>; readonly visible: HostObservable<boolean> }\n /**\n * Hide the forge tab when it is visible, otherwise open or reveal it.\n * @param visible - whether the tab is visible now.\n */\n readonly toggle: (visible: boolean) => void\n}\n\n/** Full props of the header entry. */\nexport type HeaderButtonProps = InjectFace<HeaderButtonInjected> & PropsLocale<typeof NS>\n\n/**\n * Show the entry once the Session has bound change requests or its directory\n * is known to be inside a Git checkout: after an inspection found one or\n * failed, or while a later inspection runs for a directory whose repository\n * is already known.\n * @param snapshot - panel snapshot.\n * @returns whether the entry shows.\n */\nfunction shown(snapshot: PanelSnapshot): boolean {\n const state = snapshot.state\n if (state === null) return false\n return state.changeRequests.length > 0 || state.checkout.state === 'ready' || state.checkout.state === 'failed'\n || (state.checkout.state === 'pending' && state.repository !== null)\n}\n\n/**\n * Render the header entry.\n * @param props - panel snapshot and visibility hooks, the toggle, and copy.\n * @returns the entry, or nothing outside a Git checkout without bound change requests.\n */\nexport function HeaderButton({ usePanel, useVisible, toggle, t }: HeaderButtonProps): ReactNode {\n const visible = usePanel(shown)\n const attention = usePanel(snapshot => snapshot.state?.changeRequests.some(needsAttention) === true)\n const pressed = useVisible(current => current)\n if (!visible) return null\n const label = t(attention ? 'header.attention' : 'header.label')\n return (\n <Tooltip label={label} side=\"bottom\">\n <Button\n size=\"sm\"\n className={css.trigger}\n aria-label={label}\n aria-pressed={pressed}\n data-forge-header=\"\"\n onClick={() => { toggle(pressed) }}\n >\n <ChangeRequestGlyph tone=\"open\" tinted={false} size={16} />\n {attention && <StateDot state=\"error\" size={6} className={css.dot} />}\n </Button>\n </Tooltip>\n )\n}\n","/** Forge panel copy owned by the locale dictionaries. */\n\n/** Locale namespace of the forge panel. */\nexport const NS = 'forgePanel'\n\n/** Chinese copy; its keys define {@link ForgePanelKey}. */\nexport const zh = {\n 'settings.retainOnArchive.title': '归档时不删除工作树',\n 'settings.retainOnArchive.description': '开启后,归档会话时保留它创建的工作树;关闭时,干净且无人引用的工作树会被删除,分支和提交仍然保留。',\n 'settings.unavailable': '工作树设置不可用。',\n 'settings.readOnly': '此部署以只读方式保存设置。',\n 'settings.saveFailed': '此部署未接受这些值,已保留以便修改。',\n 'settings.save': '保存',\n 'settings.saving': '保存中…',\n 'toast.archiveCleanupScheduled': '已归档,工作树将被清理',\n 'toast.archiveCleanupFailed': '已归档,工作树清理失败。分支已保留,请检查工作树。',\n 'review.startReview': '开始评审',\n 'review.githubActions': 'GitHub 评论选项',\n 'review.publishing': '发布中…',\n 'review.submitting': '提交中…',\n 'review.close': '关闭',\n 'review.pending': '待提交',\n 'review.quoted': '已添加到输入框',\n 'review.yourComment': '你的评论',\n 'review.outdated': '代码已更新',\n 'review.done': '完成',\n 'review.addComment': '添加评论',\n 'diff.resizeFileTree': '调整文件树宽度',\n 'diff.fileTree': '文件树',\n 'diff.showFileTreeLeft': '在左侧显示文件树',\n 'diff.moveFileTreeRight': '将文件树移到右侧',\n 'guide.title': '代码审查和变更',\n 'guide.description': '查看代码变更与本会话的变更请求',\n 'diff.hideFileTree': '隐藏文件树',\n 'review.range': '评论 {range}',\n 'review.comment': '留下评论…',\n 'review.cancel': '取消',\n 'review.addToInput': '添加到输入框',\n 'review.publish': '发布单条评论',\n 'review.queue': '加入评审',\n 'review.selectLine': '选择第 {line} 行',\n 'review.inputFailed': '输入框暂时无法添加引用,请稍后重试',\n 'review.saveFailed': '无法保存评审草稿,请检查浏览器存储后重试',\n 'review.unknown': '无法确认提交结果。请先在 GitHub 核对,避免重复发布',\n 'review.submit': '提交评审',\n 'review.summary': '评审总结…',\n 'review.approve': '批准',\n 'review.requestChanges': '请求更改',\n 'review.summaryRequired': '请求更改时,请填写评审总结',\n 'review.ownChangeRequest': '这是你自己的 PR,GitHub 只允许评论,不能批准或请求更改',\n 'review.commentOnly': '评论',\n 'review.drafts': '待提交评论({count})',\n 'review.edit': '编辑',\n 'review.remove': '删除',\n 'review.stale': 'PR 已有新提交,请刷新并重新选择评论行',\n 'review.published': '已发布到 GitHub',\n 'review.submitted': '已提交评审',\n 'review.failed': '提交失败:{message}',\n 'review.unsupported': '此代码托管服务不支持提交评审',\n 'review.loadFailed': '无法读取评审草稿,请检查浏览器存储',\n 'review.recheck': '在 GitHub 查看',\n 'review.confirmRetry': '已核对,允许重新提交',\n 'tab.title': '变更请求',\n 'header.label': '本会话的变更请求',\n 'header.attention': '本会话的变更请求需要处理',\n 'checkout.worktree': '工作树',\n 'checkout.worktreeFrom': '工作树 · 基于 {base}',\n 'checkout.project': '项目目录',\n 'checkout.detached': '未在分支上',\n 'checkout.restore': '恢复',\n 'checkout.copyWorktreePath': '复制工作树路径',\n 'checkout.copyProjectPath': '复制项目目录路径',\n 'checkout.none': '当前目录不是 Git 仓库',\n 'checkout.failed': '无法读取 Git 信息',\n 'changes.title': '本会话的变更请求 · {count}',\n 'changes.empty': '本会话还没有变更请求',\n 'changes.emptyHint': '本会话关联的变更请求(创建、查看、编辑或检出的,以及所在分支或推送分支上的)会显示在这里',\n 'changes.local.title': '本地变更',\n 'changes.local.refs': '{head} → {base}',\n 'changes.local.files': '{count} 个文件',\n 'changes.local.viewAria': '查看本会话的变更:{count} 个文件,新增 {added} 行,删除 {deleted} 行',\n 'changes.local.create': '创建变更请求',\n 'changes.local.prompt': '为本会话的变更创建变更请求',\n 'signin.title': '登录 {host} 后才能显示变更请求状态',\n 'signin.copy': '复制登录命令',\n 'signin.unavailable': '无法读取 {host} 上的变更请求:{message}',\n 'refresh': '刷新状态',\n 'retry': '重试',\n 'stream.failed': '无法加载变更请求面板',\n 'change.number': '#{number}',\n 'change.stateAria': '变更请求状态:{state}',\n 'change.state.open': '打开',\n 'change.state.blocked': '需要处理',\n 'change.state.draft': '草稿',\n 'change.state.merged': '已合并',\n 'change.state.closed': '已关闭',\n 'change.state.unknown': '未知',\n 'list.worktree': '在自己的工作树中',\n 'list.stateChecks': '{state} · {checks}',\n 'list.more': '还有 {count} 个变更请求',\n 'change.expand': '展开 {name}',\n 'change.collapse': '收起 {name}',\n 'change.ci.none': '没有检查',\n 'change.ci.running': '检查中',\n 'change.ci.passed': '检查通过',\n 'change.ci.failed': '{count} 项检查失败',\n 'change.ci.cancelled': '已取消 {count} 项检查',\n 'change.ci.failedUnlisted': '检查失败',\n 'change.checks.failed': '{count} 项失败',\n 'change.checks.running': '{count} 项进行中',\n 'change.checks.passed': '{count} 项通过',\n 'change.checks.cancelled': '{count} 项已取消',\n 'change.checks.other': '其他 {count} 项',\n 'change.checks.truncated': '已加载 {count} 项检查,仍有更多',\n 'change.checks.loading': '正在加载更多检查',\n 'change.checks.loadFailed': '更多检查加载失败:{message}',\n 'change.checks.retry': '重试加载检查',\n 'change.check.running': '进行中',\n 'change.check.queued': '排队中',\n 'change.flag.changesRequested': '要求修改',\n 'change.flag.conflicting': '有冲突',\n 'change.flag.draft': '草稿',\n 'change.failure.unavailable': '无法读取变更请求状态',\n 'change.failure.notFound': '变更请求不存在或没有访问权限',\n 'change.failure.unauthenticated': '登录后才能读取状态',\n 'change.unserved': '暂不支持读取该平台的变更请求状态',\n 'change.view': '在浏览器中打开',\n 'change.copy': '复制变更请求链接',\n 'change.viewChangesAria': '查看 {name} 的变更:新增 {added} 行,删除 {deleted} 行',\n 'change.remove': '从本会话移除',\n 'change.removeAria': '从本会话移除 {name}',\n 'change.row.checks': '检查',\n 'change.row.review': '评审',\n 'change.row.merge': '合并',\n 'change.row.changes': '变更',\n 'change.review.approved': '已批准',\n 'change.review.changesRequested': '要求修改',\n 'change.review.required': '等待评审',\n 'change.review.none': '尚未请求评审',\n 'change.merge.mergeable': '无冲突',\n 'change.merge.conflicting': '与 {base} 有冲突',\n 'change.merge.unknown': '正在检查冲突',\n 'change.mergedTo': '已合并到 {base}',\n 'change.markReady': '标记为可评审',\n 'change.merge': '合并',\n 'change.mergeTitle': '将 {name} 合并到 {base}',\n 'change.mergeMethod.squash': '压缩合并',\n 'change.mergeMethod.merge': '创建合并提交',\n 'change.mergeMethod.rebase': '变基合并',\n 'change.mergeNote.squash': '把全部提交压缩成一个提交',\n 'change.mergeNote.merge': '保留全部提交,并新增一个合并提交',\n 'change.mergeNote.rebase': '把提交逐个变基到 {base}',\n 'change.mergeConfirm': '确认合并',\n 'change.mergeChanged': '提交已更新,请重新检查后再打开合并菜单',\n 'checks.allPassed': '{count} 项检查全部通过',\n 'checks.showQuiet': '显示其余 {count} 项(通过、跳过)',\n 'reviewers.requestMore': '请求其他人评审…',\n 'change.threads': '{count} 条未解决讨论',\n 'issues.label': '关联 issue',\n 'issues.separator': '、',\n 'issues.more': ' 等',\n 'issues.aria': '打开 issue {label}:{title}',\n 'checks.group.failed': '失败',\n 'checks.group.running': '进行中',\n 'checks.group.passed': '通过',\n 'checks.group.cancelled': '已取消',\n 'checks.group.other': '跳过与其他',\n 'checks.rerunFailed': '重跑失败项',\n 'toast.rerunRequested': '已请求重跑 {name} 的检查',\n 'toast.rerunFailed': '无法重跑检查:{message}',\n 'toast.rerunStale': '{name} 已有新提交,请查看新提交的检查后再重跑',\n 'reviewers.rerequestAria': '重新请求 {login} 评审',\n 'reviewers.pending': '待评审',\n 'reviewers.approved': '已批准',\n 'reviewers.changesRequested': '要求修改',\n 'reviewers.commented': '已评论',\n 'reviewers.dismissed': '已被撤销',\n 'reviewers.older': '早于最新提交',\n 'reviewers.codeOwner': '代码所有者',\n 'reviewers.team': '团队',\n 'reviewers.bot': 'bot',\n 'reviewers.truncated': '评审者较多,完整列表请在浏览器中查看',\n 'reviewers.none': '还没有评审者',\n 'reviewers.search': '搜索成员',\n 'reviewers.loading': '正在加载成员',\n 'reviewers.loadFailed': '无法列出成员',\n 'reviewers.empty': '没有匹配的成员',\n 'reviewers.suggested': '建议',\n 'toast.reviewRequested': '已请求 {login} 评审 {name}',\n 'toast.reviewRequestFailed': '无法请求评审:{message}',\n 'branch.behind': '落后于 {base}',\n 'branch.update': '更新分支',\n 'branch.updateTitle': '用 {base} 的新提交更新 {head}',\n 'branch.method.merge': '合并更新',\n 'branch.method.rebase': '变基更新',\n 'branch.note.merge': '在分支上新增一个合并提交',\n 'branch.note.rebase': '把分支上的提交逐个变基到 {base},会改写这些提交',\n 'branch.confirm': '确认更新',\n 'branch.changed': '提交已更新,请重新检查后再打开更新菜单',\n 'toast.branchUpdated': '已开始更新 {name} 的分支',\n 'toast.branchUpdateFailed': '无法更新分支:{message}',\n 'toast.actionUnknown': '未能确认对 {name} 的操作是否已生效,请在浏览器中查看后再重试',\n 'toast.branchUpdateStale': '{name} 已有新提交,请重新检查后再更新',\n 'diff.tab': '变更',\n 'diff.tabNumbered': '#{number} 的变更',\n 'diff.scope.branch': '分支',\n 'diff.scope.uncommitted': '未提交',\n 'diff.scope.unstaged': '未暂存',\n 'diff.scope.staged': '已暂存',\n 'diff.scopeNote.uncommitted': '与 HEAD 比较,包含未跟踪的文件',\n 'diff.scopeNote.unstaged': '与暂存区比较,包含未跟踪的文件',\n 'diff.scopeNote.staged': '暂存区与 HEAD 比较',\n 'diff.base.aria': '基准分支:{base}',\n 'diff.base.uncommitted': '包含未提交的修改',\n 'diff.base.search': '搜索分支',\n 'diff.base.loading': '正在读取分支…',\n 'diff.base.empty': '没有匹配的分支',\n 'diff.base.automatic': '默认',\n 'diff.base.worktree': '工作树起点',\n 'diff.base.remote': '远程分支',\n 'diff.base.local': '本地分支',\n 'diff.base.note': '与 HEAD 和所选分支的合并基准比较,包含未提交的修改',\n 'diff.baseMissing': '找不到基准分支 {base},它可能已被删除',\n 'diff.baseUnrelated': '{base} 与 HEAD 没有共同历史',\n 'diff.useAutomaticBase': '使用默认基准分支',\n 'diff.allFiles': '全部 {count} 个文件',\n 'diff.filterFiles': '筛选文件…',\n 'lens.aria': '分层透镜',\n 'lens.all': '全部',\n 'lens.interface': '接口',\n 'lens.implementation': '实现',\n 'lens.test': '测试',\n 'lens.testHidden': '测试文件已隐藏',\n 'lens.menuAria': '分层透镜:{lens}',\n 'lens.empty': '没有要显示的文件',\n 'tests.hide': '隐藏测试文件',\n 'tests.hideHint': '不显示测试、快照、本地化文件、锁文件和生成的文件',\n 'viewed.label': '已审阅',\n 'viewed.aria': '将 {name} 标记为已审阅',\n 'viewed.hint': '按 V 切换当前文件',\n 'viewed.changed': '有新改动',\n 'viewed.progress': '已审阅 {viewed} / {total}',\n 'viewed.progressAria': '已审阅的文件',\n 'viewed.count': '{viewed}/{total}',\n 'viewed.saveFailed': '无法保存已审阅状态',\n 'viewed.hintHost': '保存在 GitHub · 按 V 切换当前文件',\n 'viewed.saving': '正在保存到 GitHub…',\n 'viewed.unavailable': '未能读取 GitHub 上的已审阅状态',\n 'viewed.readFailed': '未能读取 GitHub 上的已审阅状态,暂时不能标记文件:{message}',\n 'viewed.syncFailed': '已审阅状态未能保存到 GitHub:{message}',\n 'viewed.syncStale': 'PR 已有新提交,已审阅状态未保存。请刷新后再标记',\n 'viewed.syncUnknown': '未能确认已审阅状态是否已保存:{message}。刷新后可查看实际状态',\n 'commits.all': '全部提交',\n 'commits.range': '{from}…{to}',\n 'commits.count': '{count} 个提交',\n 'commits.shiftHint': '按住 Shift 选择连续多个提交',\n 'commits.loading': '正在读取提交…',\n 'commits.failed': '无法读取提交',\n 'commits.truncatedOldest': '只列出了最早的 {count} 个提交',\n 'commits.truncatedNewest': '只列出了最新的 {count} 个提交',\n 'commits.aria': '查看的提交:{commits}',\n 'commits.missing': '所选的提交已不在其中',\n 'commits.notLinear': '这些提交不在同一条提交链上',\n 'commits.showAll': '查看全部提交',\n 'diff.noMatchingFiles': '没有匹配的文件',\n 'diff.refresh': '刷新变更',\n 'diff.expandAll': '全部展开',\n 'diff.collapseAll': '全部折叠',\n 'diff.split': '切换为左右对比',\n 'diff.unified': '切换为单栏对比',\n 'diff.splitAria': '左右对比',\n 'diff.wrap': '开启自动换行',\n 'diff.nowrap': '关闭自动换行',\n 'diff.wrapAria': '自动换行',\n 'diff.moreOptions': '更多视图选项',\n 'diff.unchanged': '{count} 行未变更',\n 'diff.unchangedRest': '其余未变更的行',\n 'diff.newFile': '新文件',\n 'diff.deletedFile': '已删除',\n 'diff.renamed': '由 {from} 重命名',\n 'diff.renamedPath': '{from} → {path}',\n 'diff.badgeUncommitted': '未提交',\n 'diff.binary': '二进制文件,无法显示变更',\n 'diff.binaryLabel': '二进制',\n 'diff.largeCollapsed': '文件较大,{count} 行变更已收起',\n 'diff.fileTooLarge': '文件太大,无法显示变更',\n 'diff.error': '无法读取变更',\n 'diff.tooLarge': '变更太大,无法在这里显示',\n 'diff.filterConfigFailed': '无法完整读取 Git 过滤器配置,尚未执行比较。请检查 Git 配置和读取上限后重试',\n 'diff.viewInBrowser': '在浏览器中查看',\n 'diff.noForkPoint': '找不到本分支的分叉点,请选择基准分支或其他范围',\n 'diff.empty': '没有变更',\n 'diff.omitted': '另有 {count} 个未跟踪的文件没有列出',\n 'diff.stale': '本地有 {count} 个提交尚未推送,这里显示的是变更请求上的变更',\n 'diff.moreActions': '{name} 的更多操作',\n 'diff.copyPath': '复制路径',\n 'diff.openFileInBrowser': '在浏览器中查看文件',\n 'diff.openFileInSidebar': '在侧边栏打开整个文件',\n 'time.now': '刚刚',\n 'time.minutes': '{n} 分钟前',\n 'time.hours': '{n} 小时前',\n 'time.days': '{n} 天前',\n 'time.months': '{n} 个月前',\n 'time.years': '{n} 年前',\n 'time.finished': '{state} · {time}',\n 'duration.seconds': '{seconds} 秒',\n 'duration.minutes': '{minutes} 分 {seconds} 秒',\n 'duration.hours': '{hours} 小时 {minutes} 分',\n 'worktree.label': '新建工作树',\n 'worktree.hint': '在独立的工作树中运行本会话:发送后基于所选分支新建分支,修改和提交不影响项目目录',\n 'worktree.blocked.outside-writable-root': '这个工作区的 Git 数据不在可写目录中(例如工作区本身就是工作树),暂不支持使用工作树',\n 'worktree.blocked.read-only': '只读模式下无法使用工作树',\n 'worktree.base': '基于 {branch}',\n 'worktree.baseHead': '基于当前 HEAD',\n 'worktree.baseMenu': '选择基准分支',\n 'worktree.currentBranch': '当前分支',\n 'worktree.currentBranchTip': '当前分支:{branch}',\n 'worktree.detachedTip': '未在分支上 · {commit}',\n 'creation.title': '正在创建工作树',\n 'creation.failed': '创建工作树失败',\n 'creation.prepare': '创建分支',\n 'creation.checkout': '检出文件',\n 'creation.details': '更多详情',\n 'creation.branch': '分支',\n 'creation.base': '基于',\n 'creation.head': '当前 HEAD',\n 'creation.error': '原因',\n 'creation.skip': '不使用工作树',\n 'creation.cancel': '取消',\n 'creation.stopped': '已停止创建工作树',\n 'creation.retry': '重试',\n 'creation.waiting': '消息会在工作树建好后发送',\n 'missing.title': '工作树不可用',\n 'missing.unknown': '工作树恢复尚未完成,暂时无法确认分支 {branch} 的状态。请排除恢复错误后重试,或在项目目录继续',\n 'missing.kept': '可以在原位置恢复分支 {branch} 的工作树。删除前未提交的修改无法恢复',\n 'missing.recreated': '分支 {branch} 也已删除。恢复时会从创建时的提交重建分支,之后的提交和未提交的修改无法恢复',\n 'missing.restore': '恢复工作树',\n 'missing.leave': '在项目目录继续',\n 'missing.waiting': '恢复工作树或在项目目录继续后,消息会接着发送',\n 'restoration.title': '正在恢复工作树',\n 'restoration.prepare': '准备工作树',\n 'branch.worktree': '工作树(基于 {base}):{path}',\n 'branch.linked': '工作树:{path}',\n 'branch.project': '项目目录:{path}',\n 'branch.missing': '工作树不可用:{path}',\n 'toast.removed': '已从本会话移除 {name}',\n 'toast.undo': '撤销',\n 'toast.undoFailed': '撤销失败',\n 'toast.removeFailed': '移除失败',\n 'toast.refreshFailed': '刷新失败',\n 'toast.copied': '已复制链接',\n 'toast.copyFailed': '复制失败',\n 'toast.branchesFailed': '无法读取分支',\n 'toast.worktreeFailed': '无法更改工作树选项',\n 'toast.worktreeStarted': '会话已开始,无法再改用工作树',\n 'toast.restored': '工作树已恢复',\n 'toast.restoreFailed': '无法恢复工作树:{message}',\n 'toast.leaveFailed': '无法切换到项目目录,请稍后重试',\n 'toast.markedReady': '已将 {name} 标记为可评审',\n 'toast.markReadyFailed': '标记失败:{message}',\n 'toast.merged': '已合并 {name}',\n 'toast.mergeFailed': '合并失败:{message}',\n 'toast.mergeStale': '{name} 有新的提交,确认后再合并',\n 'toast.pathCopied': '已复制路径',\n 'toast.expandFailed': '无法显示未变更的行:{message}',\n 'toast.expandStale': '文件在读取变更后又有修改,刷新后再展开',\n 'toast.prompted': '已发送:{text}',\n 'toast.promptFailed': '无法发送消息',\n 'thread.list': '讨论',\n 'thread.listAria': '讨论列表,共 {count} 个',\n 'thread.close': '关闭讨论列表',\n 'thread.filterAria': '筛选讨论',\n 'thread.filter.unresolved': '未解决',\n 'thread.filter.resolved': '已解决',\n 'thread.filter.all': '全部',\n 'thread.none': '没有符合筛选条件的讨论',\n 'thread.empty': '还没有评审讨论',\n 'thread.back': '返回变更',\n 'thread.truncated': '讨论太多,只显示了前 {count} 个',\n 'thread.openAll': '在 GitHub 中查看',\n 'thread.replies': '{count} 条回复',\n 'thread.fileLevel': '文件级讨论',\n 'thread.onCommit': '在 {commit} 上',\n 'thread.originally': '原在 {range}',\n 'thread.outdatedTag': '已过期',\n 'thread.elsewhereTag': '不在所选提交中',\n 'thread.author': '作者',\n 'thread.bot': 'bot',\n 'thread.deletedAuthor': '已删除的账号',\n 'thread.resolvedRow': '已解决的讨论 · {author}',\n 'thread.expand': '展开',\n 'thread.collapse': '收起',\n 'thread.outdatedSection': '{count} 条讨论已过期:所在代码已被后续提交修改',\n 'thread.viewOriginal': '查看当时的文件',\n 'thread.hideOriginal': '收起当时的文件',\n 'thread.originalLoading': '正在读取当时的文件…',\n 'thread.originalFailed': '无法读取当时的文件:{message}',\n 'thread.openOnHost': '在 GitHub 中查看',\n 'thread.unresolvedCount': '{count} 条未解决',\n 'thread.unresolvedAria': '{name} 有 {count} 条未解决的讨论,跳到下一条',\n 'thread.next': '跳到下一条未解决的讨论',\n 'thread.treeCount': '{count} 条未解决的讨论',\n 'thread.loadFailed': '无法读取 GitHub 讨论:{message}',\n 'thread.inputFailed': '输入框暂时无法添加这个讨论,请稍后重试',\n 'thread.copy': '复制',\n 'thread.copied': '复制成功',\n 'thread.codeBlock': '代码块',\n 'thread.wrap': '自动换行',\n 'thread.unwrap': '取消自动换行',\n 'thread.footnotes': '脚注',\n 'review.browserDraft': '浏览器草稿',\n 'review.browserDrafts': '有 {count} 条评论草稿只保存在此浏览器中,不在 GitHub 的待提交评审里。请先将它们加入评审或删除',\n 'review.discard': '丢弃评审',\n 'review.discardConfirm': '丢弃待提交的评审及其中的 {count} 条评论?此操作无法撤销',\n 'review.discarding': '丢弃中…',\n 'review.discarded': '已丢弃评审',\n 'thread.reply': '回复',\n 'thread.replyPlaceholder': '回复…',\n 'thread.replyActions': '回复选项',\n 'thread.resolve': '解决讨论',\n 'thread.unresolve': '取消解决',\n 'thread.commentActions': '{author} 的评论操作',\n 'thread.editAria': '编辑评论',\n 'thread.save': '保存',\n 'thread.saving': '保存中…',\n 'thread.deleting': '删除中…',\n 'thread.deleteConfirm': '删除这条评论?',\n 'thread.deleteLast': '删除这条评论?它是讨论中唯一的评论,讨论也会一并删除',\n 'thread.writeUnknown': '无法确认 GitHub 是否已执行。正在重新读取讨论,请核对后再重试',\n 'thread.writeFailed': 'GitHub 未执行此操作:{message}',\n 'thread.writeStale': 'PR 已有新提交。讨论会按新提交重新读取,请核对后重试',\n 'thread.writeUnsupported': '此代码托管服务不支持在这里修改讨论',\n} as const\n\n/** Key of the forge panel dictionaries. */\nexport type ForgePanelKey = keyof typeof zh\n\n/** English copy with the same keys. */\nexport const en: Record<ForgePanelKey, string> = {\n 'settings.retainOnArchive.title': 'Keep worktrees when archiving',\n 'settings.retainOnArchive.description': 'When on, archiving a Session keeps the worktree it created; when off, a clean, unreferenced worktree is removed while its branch and commits remain.',\n 'settings.unavailable': 'Worktree settings are unavailable.',\n 'settings.readOnly': 'This deployment stores settings read-only.',\n 'settings.saveFailed': 'The deployment did not accept these values; they were left for you to correct.',\n 'settings.save': 'Save',\n 'settings.saving': 'Saving…',\n 'toast.archiveCleanupScheduled': 'Archived; the worktree will be cleaned up',\n 'toast.archiveCleanupFailed': 'Archived; worktree cleanup failed. The branch is retained. Check the worktree.',\n 'review.startReview': 'Start review',\n 'review.githubActions': 'GitHub comment options',\n 'review.publishing': 'Publishing…',\n 'review.submitting': 'Submitting…',\n 'review.close': 'Close',\n 'review.pending': 'Pending',\n 'review.quoted': 'Added to input',\n 'review.yourComment': 'Your comment',\n 'review.outdated': 'Code updated',\n 'review.done': 'Done',\n 'review.addComment': 'Add comment',\n 'diff.resizeFileTree': 'Resize file tree',\n 'diff.fileTree': 'File tree',\n 'diff.showFileTreeLeft': 'Show file tree on the left',\n 'diff.moveFileTreeRight': 'Move file tree to the right',\n 'guide.title': 'Code review and changes',\n 'guide.description': 'Review code changes and this session’s change requests',\n 'diff.hideFileTree': 'Hide file tree',\n 'review.range': 'Comment on {range}',\n 'review.comment': 'Leave a comment…',\n 'review.cancel': 'Cancel',\n 'review.addToInput': 'Add to input',\n 'review.publish': 'Publish single comment',\n 'review.queue': 'Add to review',\n 'review.selectLine': 'Select line {line}',\n 'review.inputFailed': 'The input cannot accept a reference yet. Try again shortly.',\n 'review.saveFailed': 'Could not save the review draft. Check browser storage and try again.',\n 'review.unknown': 'The submission outcome is unknown. Check GitHub before publishing again.',\n 'review.submit': 'Submit review',\n 'review.summary': 'Review summary…',\n 'review.approve': 'Approve',\n 'review.requestChanges': 'Request changes',\n 'review.summaryRequired': 'Enter a review summary to request changes.',\n 'review.ownChangeRequest': 'This is your own PR. GitHub lets you comment on it, but not approve it or request changes.',\n 'review.commentOnly': 'Comment',\n 'review.drafts': 'Pending comments ({count})',\n 'review.edit': 'Edit',\n 'review.remove': 'Delete',\n 'review.stale': 'The PR has new commits. Refresh and select the comment lines again.',\n 'review.published': 'Published to GitHub',\n 'review.submitted': 'Review submitted',\n 'review.failed': 'Submission failed: {message}',\n 'review.unsupported': 'This code host does not support review submission.',\n 'review.loadFailed': 'Could not read review drafts. Check browser storage.',\n 'review.recheck': 'View on GitHub',\n 'review.confirmRetry': 'Checked; allow resubmission',\n 'tab.title': 'Change requests',\n 'header.label': 'Change requests of this Session',\n 'header.attention': 'Change requests of this Session need attention',\n 'checkout.worktree': 'Worktree',\n 'checkout.worktreeFrom': 'Worktree · from {base}',\n 'checkout.project': 'Project directory',\n 'checkout.detached': 'Not on a branch',\n 'checkout.restore': 'Restore',\n 'checkout.copyWorktreePath': 'Copy worktree path',\n 'checkout.copyProjectPath': 'Copy project directory path',\n 'checkout.none': 'This directory is not a Git repository',\n 'checkout.failed': 'Git information could not be read',\n 'changes.title': 'Change requests of this Session · {count}',\n 'changes.empty': 'This Session has no change requests yet',\n 'changes.emptyHint': 'Change requests linked to this Session (created, viewed, edited, or checked out, or open on its current or pushed branches) appear here',\n 'changes.local.title': 'Local changes',\n 'changes.local.refs': '{head} → {base}',\n 'changes.local.files': '{count} files',\n 'changes.local.viewAria': 'View the changes of this Session: {count} files, {added} lines added, {deleted} lines deleted',\n 'changes.local.create': 'Create change request',\n 'changes.local.prompt': 'Create a change request for the changes of this Session',\n 'signin.title': 'Sign in to {host} to show change request status',\n 'signin.copy': 'Copy sign-in command',\n 'signin.unavailable': 'Change requests on {host} could not be read: {message}',\n 'refresh': 'Refresh status',\n 'retry': 'Retry',\n 'stream.failed': 'The change request panel could not load',\n 'change.number': '#{number}',\n 'change.stateAria': 'Change request state: {state}',\n 'change.state.open': 'Open',\n 'change.state.blocked': 'Needs attention',\n 'change.state.draft': 'Draft',\n 'change.state.merged': 'Merged',\n 'change.state.closed': 'Closed',\n 'change.state.unknown': 'Unknown',\n 'list.worktree': 'In its own worktree',\n 'list.stateChecks': '{state} · {checks}',\n 'list.more': '{count} more change requests',\n 'change.expand': 'Expand {name}',\n 'change.collapse': 'Collapse {name}',\n 'change.ci.none': 'No checks',\n 'change.ci.running': 'Checks running',\n 'change.ci.passed': 'Checks passed',\n 'change.ci.failed': '{count} checks failed',\n 'change.ci.cancelled': '{count} checks cancelled',\n 'change.ci.failedUnlisted': 'Checks failed',\n 'change.checks.failed': '{count} failed',\n 'change.checks.running': '{count} running',\n 'change.checks.passed': '{count} passed',\n 'change.checks.cancelled': '{count} cancelled',\n 'change.checks.other': '{count} other',\n 'change.checks.truncated': '{count} checks loaded; more available',\n 'change.checks.loading': 'Loading more checks',\n 'change.checks.loadFailed': 'Could not load more checks: {message}',\n 'change.checks.retry': 'Retry loading checks',\n 'change.check.running': 'Running',\n 'change.check.queued': 'Queued',\n 'change.flag.changesRequested': 'Changes requested',\n 'change.flag.conflicting': 'Conflicts',\n 'change.flag.draft': 'Draft',\n 'change.failure.unavailable': 'The change request status could not be read',\n 'change.failure.notFound': 'The change request does not exist or is not accessible',\n 'change.failure.unauthenticated': 'Sign in to read its status',\n 'change.unserved': 'Change request status is not supported for this code host yet',\n 'change.view': 'Open in browser',\n 'change.copy': 'Copy change request link',\n 'change.viewChangesAria': 'View the changes of {name}: {added} lines added, {deleted} lines deleted',\n 'change.remove': 'Remove from this Session',\n 'change.removeAria': 'Remove {name} from this Session',\n 'change.row.checks': 'Checks',\n 'change.row.review': 'Review',\n 'change.row.merge': 'Merge',\n 'change.row.changes': 'Changes',\n 'change.review.approved': 'Approved',\n 'change.review.changesRequested': 'Changes requested',\n 'change.review.required': 'Review required',\n 'change.review.none': 'No review requested',\n 'change.merge.mergeable': 'No conflicts',\n 'change.merge.conflicting': 'Conflicts with {base}',\n 'change.merge.unknown': 'Checking for conflicts',\n 'change.mergedTo': 'Merged into {base}',\n 'change.markReady': 'Ready for review',\n 'change.merge': 'Merge',\n 'change.mergeTitle': 'Merge {name} into {base}',\n 'change.mergeMethod.squash': 'Squash and merge',\n 'change.mergeMethod.merge': 'Create a merge commit',\n 'change.mergeMethod.rebase': 'Rebase and merge',\n 'change.mergeNote.squash': 'Combine every commit into one',\n 'change.mergeNote.merge': 'Keep every commit and add a merge commit',\n 'change.mergeNote.rebase': 'Replay each commit onto {base}',\n 'change.mergeConfirm': 'Confirm merge',\n 'change.mergeChanged': 'New commits arrived. Review them before reopening the merge menu.',\n 'checks.allPassed': 'All {count} checks passed',\n 'checks.showQuiet': 'Show {count} more (passed, skipped)',\n 'reviewers.requestMore': 'Request a review from someone else…',\n 'change.threads': '{count} unresolved threads',\n 'issues.label': 'Linked issues',\n 'issues.separator': ', ',\n 'issues.more': ' and more',\n 'issues.aria': 'Open issue {label}: {title}',\n 'checks.group.failed': 'Failed',\n 'checks.group.running': 'Running',\n 'checks.group.passed': 'Passed',\n 'checks.group.cancelled': 'Cancelled',\n 'checks.group.other': 'Skipped and other',\n 'checks.rerunFailed': 'Rerun failed',\n 'toast.rerunRequested': 'Requested a rerun of the checks of {name}',\n 'toast.rerunFailed': 'Could not rerun the checks: {message}',\n 'toast.rerunStale': '{name} has new commits. Check the new commit\\'s checks before rerunning.',\n 'reviewers.rerequestAria': 'Re-request a review from {login}',\n 'reviewers.pending': 'Awaiting review',\n 'reviewers.approved': 'Approved',\n 'reviewers.changesRequested': 'Changes requested',\n 'reviewers.commented': 'Commented',\n 'reviewers.dismissed': 'Dismissed',\n 'reviewers.older': 'Before the latest commit',\n 'reviewers.codeOwner': 'Code owner',\n 'reviewers.team': 'Team',\n 'reviewers.bot': 'Bot',\n 'reviewers.truncated': 'Some reviewers are not listed; open the change request for all of them',\n 'reviewers.none': 'No reviewers yet',\n 'reviewers.search': 'Search people',\n 'reviewers.loading': 'Loading people',\n 'reviewers.loadFailed': 'Could not list people',\n 'reviewers.empty': 'No matching people',\n 'reviewers.suggested': 'Suggested',\n 'toast.reviewRequested': 'Requested a review of {name} from {login}',\n 'toast.reviewRequestFailed': 'Could not request the review: {message}',\n 'branch.behind': 'Behind {base}',\n 'branch.update': 'Update branch',\n 'branch.updateTitle': 'Update {head} with new commits from {base}',\n 'branch.method.merge': 'Update with merge commit',\n 'branch.method.rebase': 'Update with rebase',\n 'branch.note.merge': 'Adds a merge commit to the branch',\n 'branch.note.rebase': 'Rebases the branch\\'s commits onto {base}, rewriting them',\n 'branch.confirm': 'Confirm update',\n 'branch.changed': 'New commits arrived. Review them, then open this menu again.',\n 'toast.branchUpdated': 'Started updating the branch of {name}',\n 'toast.branchUpdateFailed': 'Could not update the branch: {message}',\n 'toast.actionUnknown': 'Could not confirm whether the action on {name} took effect. Check it in the browser before trying again.',\n 'toast.branchUpdateStale': '{name} has new commits. Review them before updating.',\n 'diff.tab': 'Changes',\n 'diff.tabNumbered': 'Changes in #{number}',\n 'diff.scope.branch': 'Branch',\n 'diff.scope.uncommitted': 'Uncommitted',\n 'diff.scope.unstaged': 'Unstaged',\n 'diff.scope.staged': 'Staged',\n 'diff.scopeNote.uncommitted': 'Compared with HEAD, including untracked files',\n 'diff.scopeNote.unstaged': 'Compared with the index, including untracked files',\n 'diff.scopeNote.staged': 'The index compared with HEAD',\n 'diff.base.aria': 'Base branch: {base}',\n 'diff.base.uncommitted': 'Including uncommitted changes',\n 'diff.base.search': 'Search branches',\n 'diff.base.loading': 'Reading branches…',\n 'diff.base.empty': 'No matching branches',\n 'diff.base.automatic': 'Default',\n 'diff.base.worktree': 'Worktree start',\n 'diff.base.remote': 'Remote branches',\n 'diff.base.local': 'Local branches',\n 'diff.base.note': 'Compared with the merge base of HEAD and the selected branch, including uncommitted changes',\n 'diff.baseMissing': 'The base branch {base} was not found; it may have been deleted',\n 'diff.baseUnrelated': '{base} shares no history with HEAD',\n 'diff.useAutomaticBase': 'Use the default base branch',\n 'diff.allFiles': 'All {count} files',\n 'diff.filterFiles': 'Filter files…',\n 'lens.aria': 'Review layer',\n 'lens.all': 'All',\n 'lens.interface': 'Interface',\n 'lens.implementation': 'Implementation',\n 'lens.test': 'Tests',\n 'lens.testHidden': 'Test files are hidden',\n 'lens.menuAria': 'Review layer: {lens}',\n 'lens.empty': 'No files to show',\n 'tests.hide': 'Hide test files',\n 'tests.hideHint': 'Hides tests, snapshots, locale files, lockfiles, and generated files',\n 'viewed.label': 'Viewed',\n 'viewed.aria': 'Mark {name} as viewed',\n 'viewed.hint': 'Press V to toggle the current file',\n 'viewed.changed': 'Changed since viewed',\n 'viewed.progress': '{viewed} / {total} viewed',\n 'viewed.progressAria': 'Viewed files',\n 'viewed.count': '{viewed}/{total}',\n 'viewed.saveFailed': 'Could not save the viewed state',\n 'viewed.hintHost': 'Saved on GitHub · Press V to toggle the current file',\n 'viewed.saving': 'Saving to GitHub…',\n 'viewed.unavailable': 'Could not read viewed files from GitHub',\n 'viewed.readFailed': 'Could not read viewed files from GitHub, so files cannot be marked: {message}',\n 'viewed.syncFailed': 'Could not save the viewed mark to GitHub: {message}',\n 'viewed.syncStale': 'The PR has new commits, so the viewed mark was not saved. Refresh and mark the file again.',\n 'viewed.syncUnknown': 'Could not confirm that the viewed mark was saved: {message}. Refresh to see where it stands.',\n 'commits.all': 'All commits',\n 'commits.range': '{from}…{to}',\n 'commits.count': '{count} commits',\n 'commits.shiftHint': 'Hold Shift to select consecutive commits',\n 'commits.loading': 'Loading commits…',\n 'commits.failed': 'Could not load commits',\n 'commits.truncatedOldest': 'Only the earliest {count} commits are listed',\n 'commits.truncatedNewest': 'Only the latest {count} commits are listed',\n 'commits.aria': 'Commits shown: {commits}',\n 'commits.missing': 'The selected commits are no longer included',\n 'commits.notLinear': 'These commits are not on one line of history',\n 'commits.showAll': 'Show all commits',\n 'diff.noMatchingFiles': 'No matching files',\n 'diff.refresh': 'Refresh changes',\n 'diff.expandAll': 'Expand all files',\n 'diff.collapseAll': 'Collapse all files',\n 'diff.split': 'Show side by side',\n 'diff.unified': 'Show in one column',\n 'diff.splitAria': 'Side by side',\n 'diff.wrap': 'Wrap long lines',\n 'diff.nowrap': 'Stop wrapping long lines',\n 'diff.wrapAria': 'Wrap lines',\n 'diff.moreOptions': 'More view options',\n 'diff.unchanged': '{count} unchanged lines',\n 'diff.unchangedRest': 'Remaining unchanged lines',\n 'diff.newFile': 'New file',\n 'diff.deletedFile': 'Deleted',\n 'diff.renamed': 'Renamed from {from}',\n 'diff.renamedPath': '{from} → {path}',\n 'diff.badgeUncommitted': 'Uncommitted',\n 'diff.binary': 'Binary file; its changes cannot be shown',\n 'diff.binaryLabel': 'Binary',\n 'diff.largeCollapsed': 'Large file: {count} changed lines collapsed',\n 'diff.fileTooLarge': 'This file is too large to show',\n 'diff.error': 'The changes could not be read',\n 'diff.tooLarge': 'These changes are too large to show here',\n 'diff.filterConfigFailed': 'No comparison was run because Git filter settings could not be read completely. Check the Git settings and output limit, then retry.',\n 'diff.viewInBrowser': 'View in browser',\n 'diff.noForkPoint': 'No fork point was found for this branch; choose a base branch or another scope',\n 'diff.empty': 'No changes',\n 'diff.omitted': '{count} more untracked files are not listed',\n 'diff.stale': 'The local branch has {count} unpushed commits; these are the changes on the change request',\n 'diff.moreActions': 'More actions for {name}',\n 'diff.copyPath': 'Copy path',\n 'diff.openFileInBrowser': 'View file in browser',\n 'diff.openFileInSidebar': 'Open the whole file in the sidebar',\n 'time.now': 'just now',\n 'time.minutes': '{n} min ago',\n 'time.hours': '{n} h ago',\n 'time.days': '{n} d ago',\n 'time.months': '{n} mo ago',\n 'time.years': '{n} y ago',\n 'time.finished': '{state} · {time}',\n 'duration.seconds': '{seconds}s',\n 'duration.minutes': '{minutes}m {seconds}s',\n 'duration.hours': '{hours}h {minutes}m',\n 'worktree.label': 'New worktree',\n 'worktree.hint': 'Run this Session in its own worktree: sending creates a new branch from the chosen one, so changes and commits leave the project directory alone',\n 'worktree.blocked.outside-writable-root': 'The Git data of this workspace is outside the writable directories, as when the workspace is itself a worktree, so it cannot use a worktree yet',\n 'worktree.blocked.read-only': 'A read-only Session cannot use a worktree',\n 'worktree.base': 'From {branch}',\n 'worktree.baseHead': 'From the current HEAD',\n 'worktree.baseMenu': 'Base branch',\n 'worktree.currentBranch': 'Current',\n 'worktree.currentBranchTip': 'Current branch: {branch}',\n 'worktree.detachedTip': 'Not on a branch · {commit}',\n 'creation.title': 'Creating the worktree',\n 'creation.failed': 'The worktree could not be created',\n 'creation.prepare': 'Create the branch',\n 'creation.checkout': 'Check out files',\n 'creation.details': 'More details',\n 'creation.branch': 'Branch',\n 'creation.base': 'From',\n 'creation.head': 'Current HEAD',\n 'creation.error': 'Reason',\n 'creation.skip': 'Continue without a worktree',\n 'creation.cancel': 'Cancel',\n 'creation.stopped': 'Worktree creation stopped',\n 'creation.retry': 'Retry',\n 'creation.waiting': 'The message is sent once the worktree exists',\n 'missing.title': 'The worktree is unavailable',\n 'missing.unknown': 'Worktree restoration is incomplete and branch {branch} cannot be inspected. Resolve the restoration error and retry, or continue in the project.',\n 'missing.kept': 'The worktree of branch {branch} can be restored at its original location. Uncommitted changes from before the removal cannot be recovered',\n 'missing.recreated': 'Branch {branch} was removed too. Restoring creates it again at the commit the worktree started from, without later commits or uncommitted changes',\n 'missing.restore': 'Restore worktree',\n 'missing.leave': 'Continue in the project',\n 'missing.waiting': 'The message is sent after you restore the worktree or continue in the project',\n 'restoration.title': 'Restoring the worktree',\n 'restoration.prepare': 'Prepare the worktree',\n 'branch.worktree': 'Worktree (from {base}): {path}',\n 'branch.linked': 'Worktree: {path}',\n 'branch.project': 'Project directory: {path}',\n 'branch.missing': 'Worktree unavailable: {path}',\n 'toast.removed': 'Removed {name} from this Session',\n 'toast.undo': 'Undo',\n 'toast.undoFailed': 'Undo failed',\n 'toast.removeFailed': 'Removal failed',\n 'toast.refreshFailed': 'Refresh failed',\n 'toast.copied': 'Link copied',\n 'toast.copyFailed': 'Copy failed',\n 'toast.branchesFailed': 'Branches could not be read',\n 'toast.worktreeFailed': 'The worktree option could not change',\n 'toast.worktreeStarted': 'This Session has started, so it can no longer use a worktree',\n 'toast.restored': 'Worktree restored',\n 'toast.restoreFailed': 'The worktree could not be restored: {message}',\n 'toast.leaveFailed': 'Could not switch to the project directory; try again',\n 'toast.markedReady': 'Marked {name} ready for review',\n 'toast.markReadyFailed': 'Could not mark it ready: {message}',\n 'toast.merged': 'Merged {name}',\n 'toast.mergeFailed': 'Could not merge: {message}',\n 'toast.mergeStale': '{name} has new commits; review them before merging',\n 'toast.pathCopied': 'Path copied',\n 'toast.expandFailed': 'Unchanged lines could not be shown: {message}',\n 'toast.expandStale': 'The file changed after its changes were read; refresh before expanding',\n 'toast.prompted': 'Sent: {text}',\n 'toast.promptFailed': 'The message could not be sent',\n 'thread.list': 'Threads',\n 'thread.listAria': 'Review threads, {count} in total',\n 'thread.close': 'Close the thread list',\n 'thread.filterAria': 'Filter threads',\n 'thread.filter.unresolved': 'Unresolved',\n 'thread.filter.resolved': 'Resolved',\n 'thread.filter.all': 'All',\n 'thread.none': 'No threads match this filter',\n 'thread.empty': 'No review threads yet',\n 'thread.back': 'Back to changes',\n 'thread.truncated': 'Too many threads; showing the first {count}',\n 'thread.openAll': 'View on GitHub',\n 'thread.replies': '{count} replies',\n 'thread.fileLevel': 'File thread',\n 'thread.onCommit': 'on {commit}',\n 'thread.originally': 'Originally {range}',\n 'thread.outdatedTag': 'Outdated',\n 'thread.elsewhereTag': 'Not in the chosen commits',\n 'thread.author': 'Author',\n 'thread.bot': 'bot',\n 'thread.deletedAuthor': 'Deleted account',\n 'thread.resolvedRow': 'Resolved thread · {author}',\n 'thread.expand': 'Expand',\n 'thread.collapse': 'Collapse',\n 'thread.outdatedSection': '{count} outdated threads: later commits changed their code',\n 'thread.viewOriginal': 'View file at that commit',\n 'thread.hideOriginal': 'Hide file at that commit',\n 'thread.originalLoading': 'Reading the file at that commit…',\n 'thread.originalFailed': 'Could not read the file at that commit: {message}',\n 'thread.openOnHost': 'View on GitHub',\n 'thread.unresolvedCount': '{count} unresolved',\n 'thread.unresolvedAria': '{name} has {count} unresolved threads; go to the next one',\n 'thread.next': 'Go to the next unresolved thread',\n 'thread.treeCount': '{count} unresolved threads',\n 'thread.loadFailed': 'Could not read GitHub threads: {message}',\n 'thread.inputFailed': 'The input could not take this thread; try again later',\n 'thread.copy': 'Copy',\n 'thread.copied': 'Copied',\n 'thread.codeBlock': 'Code block',\n 'thread.wrap': 'Wrap lines',\n 'thread.unwrap': 'Do not wrap lines',\n 'thread.footnotes': 'Footnotes',\n 'review.browserDraft': 'Browser draft',\n 'review.browserDrafts': '{count} comment drafts are saved only in this browser, not in your pending GitHub review. Add them to the review or delete them first.',\n 'review.discard': 'Discard review',\n 'review.discardConfirm': 'Discard your pending review and its {count} comments? This cannot be undone.',\n 'review.discarding': 'Discarding…',\n 'review.discarded': 'Review discarded',\n 'thread.reply': 'Reply',\n 'thread.replyPlaceholder': 'Reply…',\n 'thread.replyActions': 'Reply options',\n 'thread.resolve': 'Resolve thread',\n 'thread.unresolve': 'Unresolve thread',\n 'thread.commentActions': 'Actions for the comment by {author}',\n 'thread.editAria': 'Edit comment',\n 'thread.save': 'Save',\n 'thread.saving': 'Saving…',\n 'thread.deleting': 'Deleting…',\n 'thread.deleteConfirm': 'Delete this comment?',\n 'thread.deleteLast': 'Delete this comment? It is the only comment, so the thread is deleted too.',\n 'thread.writeUnknown': 'Could not confirm whether GitHub applied this. The threads are being read again; check them before retrying.',\n 'thread.writeFailed': 'GitHub did not apply this: {message}',\n 'thread.writeStale': 'The PR has new commits. The threads are read again at the new head; check them, then retry.',\n 'thread.writeUnsupported': 'This code host does not support changing threads here.',\n}\n\ndeclare module '@deepseek-ai/dsh-client-ui-slots' {\n interface LocaleNamespaceMap {\n /** Forge panel tab, changes view, header button, worktree option and creation card, and action notices. */\n forgePanel: ForgePanelKey\n }\n}\n\n/** Japanese copy with the same keys. */\nexport const ja: Record<ForgePanelKey, string> = {\n 'settings.retainOnArchive.title': 'アーカイブ時にワークツリーを残す',\n 'settings.retainOnArchive.description': 'オンにすると、セッションをアーカイブしてもそのセッションが作成したワークツリーを残します。オフにすると、クリーンで参照されていないワークツリーは削除され、ブランチとコミットは残ります。',\n 'settings.unavailable': 'ワークツリー設定を利用できません。',\n 'settings.readOnly': 'このデプロイでは設定は読み取り専用で保存されます。',\n 'settings.saveFailed': 'このデプロイでは値が受け入れられませんでした。修正のために値はそのまま残されています。',\n 'settings.save': '保存',\n 'settings.saving': '保存中…',\n 'toast.archiveCleanupScheduled': 'アーカイブしました。ワークツリーを削除します',\n 'toast.archiveCleanupFailed': 'アーカイブしましたが、ワークツリーの削除に失敗しました。ブランチは保持されています。ワークツリーを確認してください。',\n 'review.startReview': 'レビューを開始',\n 'review.githubActions': 'GitHub コメントの操作',\n 'review.publishing': '投稿中…',\n 'review.submitting': '送信中…',\n 'review.close': '閉じる',\n 'review.pending': '保留中',\n 'review.quoted': '入力欄に追加済み',\n 'review.yourComment': '自分のコメント',\n 'review.outdated': 'コード更新済み',\n 'review.done': '完了',\n 'review.addComment': 'コメントを追加',\n 'diff.resizeFileTree': 'ファイルツリーの幅を変更',\n 'diff.fileTree': 'ファイルツリー',\n 'diff.showFileTreeLeft': 'ファイルツリーを左側に表示',\n 'diff.moveFileTreeRight': 'ファイルツリーを右側に移動',\n 'guide.title': 'コードレビューと変更',\n 'guide.description': 'コードの変更とこのセッションの変更リクエストを確認',\n 'diff.hideFileTree': 'ファイルツリーを非表示',\n 'review.range': '{range} にコメント',\n 'review.comment': 'コメントを入力…',\n 'review.cancel': 'キャンセル',\n 'review.addToInput': '入力欄に追加',\n 'review.publish': '単独コメントを投稿',\n 'review.queue': 'レビューに追加',\n 'review.selectLine': '{line} 行を選択',\n 'review.inputFailed': '入力欄に引用を追加できません。後でもう一度お試しください。',\n 'review.saveFailed': 'レビューの下書きを保存できません。ブラウザーのストレージを確認してください。',\n 'review.unknown': '送信結果を確認できません。再投稿する前に GitHub を確認してください。',\n 'review.submit': 'レビューを送信',\n 'review.summary': 'レビューの要約…',\n 'review.approve': '承認',\n 'review.requestChanges': '変更を要求',\n 'review.summaryRequired': '変更を要求するには、レビューの概要を入力してください。',\n 'review.ownChangeRequest': '自分の PR です。GitHub ではコメントのみ可能で、承認や変更の要求はできません。',\n 'review.commentOnly': 'コメント',\n 'review.drafts': '保留中のコメント({count})',\n 'review.edit': '編集',\n 'review.remove': '削除',\n 'review.stale': 'PR に新しいコミットがあります。更新してコメント行を選び直してください。',\n 'review.published': 'GitHub に投稿しました',\n 'review.submitted': 'レビューを送信しました',\n 'review.failed': '送信に失敗しました:{message}',\n 'review.unsupported': 'このホストはレビューの送信に対応していません。',\n 'review.loadFailed': '下書きを読み込めません。ブラウザーのストレージを確認してください。',\n 'review.recheck': 'GitHub で表示',\n 'review.confirmRetry': '確認済み・再送信を許可',\n 'list.worktree': '専用のワークツリー内',\n 'list.stateChecks': '{state} · {checks}',\n 'list.more': '他 {count} 件の変更リクエスト',\n 'tab.title': '変更リクエスト',\n 'header.label': 'このセッションの変更リクエスト',\n 'header.attention': 'このセッションの変更リクエストに対応が必要です',\n 'checkout.worktree': 'ワークツリー',\n 'checkout.worktreeFrom': 'ワークツリー · 基点 {base}',\n 'checkout.project': 'プロジェクトディレクトリ',\n 'checkout.detached': 'ブランチ上にありません',\n 'checkout.restore': '復元',\n 'checkout.copyWorktreePath': 'ワークツリーのパスをコピー',\n 'checkout.copyProjectPath': 'プロジェクトのパスをコピー',\n 'checkout.none': 'このディレクトリは Git リポジトリではありません',\n 'checkout.failed': 'Git 情報を読み取れませんでした',\n 'changes.title': 'このセッションの変更リクエスト · {count}',\n 'changes.empty': 'このセッションにはまだ変更リクエストがありません',\n 'changes.emptyHint': 'このセッションで作成、表示、編集、チェックアウトした変更リクエストや、現在のブランチまたはプッシュしたブランチで開いている変更リクエストがここに表示されます',\n 'changes.local.title': 'ローカルの変更',\n 'changes.local.refs': '{head} → {base}',\n 'changes.local.files': '{count} ファイル',\n 'changes.local.viewAria': 'このセッションの変更を表示:{count} ファイル、{added} 行追加、{deleted} 行削除',\n 'changes.local.create': '変更リクエストを作成',\n 'changes.local.prompt': 'このセッションの変更について変更リクエストを作成してください',\n 'signin.title': '変更リクエストの状態を表示するには {host} にログインしてください',\n 'signin.copy': 'ログインコマンドをコピー',\n 'signin.unavailable': '{host} の変更リクエストを読み取れませんでした:{message}',\n 'refresh': '状態を更新',\n 'retry': '再試行',\n 'stream.failed': '変更リクエストパネルを読み込めませんでした',\n 'change.number': '#{number}',\n 'change.stateAria': '変更リクエストの状態:{state}',\n 'change.state.open': 'オープン',\n 'change.state.blocked': '対応が必要',\n 'change.state.draft': '下書き',\n 'change.state.merged': 'マージ済み',\n 'change.state.closed': 'クローズ済み',\n 'change.state.unknown': '不明',\n 'change.expand': '{name} を展開',\n 'change.collapse': '{name} を折りたたむ',\n 'change.ci.none': 'チェックなし',\n 'change.ci.running': 'チェック実行中',\n 'change.ci.passed': 'チェック成功',\n 'change.ci.failed': '{count} 件のチェックが失敗',\n 'change.ci.cancelled': '{count} 件のチェックがキャンセルされました',\n 'change.ci.failedUnlisted': 'チェック失敗',\n 'change.checks.failed': '{count} 件失敗',\n 'change.checks.running': '{count} 件実行中',\n 'change.checks.passed': '{count} 件成功',\n 'change.checks.cancelled': '{count} 件キャンセル',\n 'change.checks.other': 'その他 {count} 件',\n 'change.checks.truncated': '{count} 件のチェックを読み込み済み(続きあり)',\n 'change.checks.loading': '追加のチェックを読み込み中',\n 'change.checks.loadFailed': '追加のチェックを読み込めませんでした: {message}',\n 'change.checks.retry': 'チェックの読み込みを再試行',\n 'change.check.running': '実行中',\n 'change.check.queued': 'キュー待ち',\n 'change.flag.changesRequested': '変更が要求されています',\n 'change.flag.conflicting': '競合あり',\n 'change.flag.draft': '下書き',\n 'change.failure.unavailable': '変更リクエストの状態を読み取れませんでした',\n 'change.failure.notFound': '変更リクエストが存在しないか、アクセス権がありません',\n 'change.failure.unauthenticated': '状態を読むにはログインしてください',\n 'change.unserved': 'このコードホストの変更リクエストの状態はまだサポートされていません',\n 'change.view': 'ブラウザーで開く',\n 'change.copy': '変更リクエストのリンクをコピー',\n 'change.viewChangesAria': '{name} の変更を表示:{added} 行追加、{deleted} 行削除',\n 'change.remove': 'このセッションから削除',\n 'change.removeAria': 'このセッションから {name} を削除',\n 'change.row.checks': 'チェック',\n 'change.row.review': 'レビュー',\n 'change.row.merge': 'マージ',\n 'change.row.changes': '変更',\n 'change.review.approved': '承認済み',\n 'change.review.changesRequested': '変更が要求されています',\n 'change.review.required': 'レビュー待ち',\n 'change.review.none': 'レビュー未依頼',\n 'change.merge.mergeable': '競合なし',\n 'change.merge.conflicting': '{base} と競合',\n 'change.merge.unknown': '競合を確認中',\n 'change.mergedTo': '{base} にマージ済み',\n 'change.markReady': 'レビュー可能にする',\n 'change.merge': 'マージ',\n 'change.mergeTitle': '{name} を {base} にマージ',\n 'change.mergeMethod.squash': 'スカッシュしてマージ',\n 'change.mergeMethod.merge': 'マージコミットを作成',\n 'change.mergeMethod.rebase': 'リベースしてマージ',\n 'change.mergeNote.squash': 'すべてのコミットを1つにまとめる',\n 'change.mergeNote.merge': 'すべてのコミットを保持し、マージコミットを追加',\n 'change.mergeNote.rebase': '各コミットを {base} 上にリベース',\n 'change.mergeConfirm': 'マージを確認',\n 'change.mergeChanged': '新しいコミットがあります。確認してからマージメニューを開き直してください',\n 'checks.allPassed': '{count} 件のチェックがすべて成功',\n 'checks.showQuiet': '残り {count} 件を表示(成功・スキップ)',\n 'reviewers.requestMore': 'ほかの人にレビューを依頼…',\n 'change.threads': '未解決のスレッド {count} 件',\n 'issues.label': '関連 issue',\n 'issues.separator': '、',\n 'issues.more': ' ほか',\n 'issues.aria': 'issue {label} を開く:{title}',\n 'checks.group.failed': '失敗',\n 'checks.group.running': '実行中',\n 'checks.group.passed': '成功',\n 'checks.group.cancelled': 'キャンセル済み',\n 'checks.group.other': 'スキップとその他',\n 'checks.rerunFailed': '失敗分を再実行',\n 'toast.rerunRequested': '{name} のチェックの再実行を依頼しました',\n 'toast.rerunFailed': 'チェックを再実行できませんでした:{message}',\n 'toast.rerunStale': '{name} に新しいコミットがあります。新しいコミットのチェックを確認してから再実行してください。',\n 'reviewers.rerequestAria': '{login} にレビューを再依頼',\n 'reviewers.pending': 'レビュー待ち',\n 'reviewers.approved': '承認済み',\n 'reviewers.changesRequested': '修正を依頼',\n 'reviewers.commented': 'コメント済み',\n 'reviewers.dismissed': '取り消し済み',\n 'reviewers.older': '最新コミットより前',\n 'reviewers.codeOwner': 'コードオーナー',\n 'reviewers.team': 'チーム',\n 'reviewers.bot': 'bot',\n 'reviewers.truncated': 'レビュアーが多いため、すべてはブラウザーで確認してください',\n 'reviewers.none': 'レビュアーはまだいません',\n 'reviewers.search': 'メンバーを検索',\n 'reviewers.loading': 'メンバーを読み込んでいます',\n 'reviewers.loadFailed': 'メンバーを一覧できませんでした',\n 'reviewers.empty': '一致するメンバーはいません',\n 'reviewers.suggested': 'おすすめ',\n 'toast.reviewRequested': '{login} に {name} のレビューを依頼しました',\n 'toast.reviewRequestFailed': 'レビューを依頼できませんでした:{message}',\n 'branch.behind': '{base} より遅れています',\n 'branch.update': 'ブランチを更新',\n 'branch.updateTitle': '{base} の新しいコミットで {head} を更新',\n 'branch.method.merge': 'マージコミットで更新',\n 'branch.method.rebase': 'リベースで更新',\n 'branch.note.merge': 'ブランチにマージコミットを追加します',\n 'branch.note.rebase': 'ブランチのコミットを {base} にリベースし、コミットを書き換えます',\n 'branch.confirm': '更新を確定',\n 'branch.changed': 'コミットが更新されました。確認してからもう一度メニューを開いてください',\n 'toast.branchUpdated': '{name} のブランチの更新を開始しました',\n 'toast.branchUpdateFailed': 'ブランチを更新できませんでした:{message}',\n 'toast.actionUnknown': '{name} への操作が反映されたか確認できませんでした。もう一度試す前にブラウザーで確認してください。',\n 'toast.branchUpdateStale': '{name} に新しいコミットがあります。確認してから更新してください。',\n 'diff.tab': '変更',\n 'diff.tabNumbered': '#{number} の変更',\n 'diff.scope.branch': 'ブランチ',\n 'diff.scope.uncommitted': '未コミット',\n 'diff.scope.unstaged': '未ステージ',\n 'diff.scope.staged': 'ステージ済み',\n 'diff.scopeNote.uncommitted': 'HEAD と比較、未追跡ファイルを含む',\n 'diff.scopeNote.unstaged': 'インデックスと比較、未追跡ファイルを含む',\n 'diff.scopeNote.staged': 'インデックスと HEAD を比較',\n 'diff.base.aria': '基準ブランチ:{base}',\n 'diff.base.uncommitted': '未コミットの変更を含む',\n 'diff.base.search': 'ブランチを検索',\n 'diff.base.loading': 'ブランチを読み取り中…',\n 'diff.base.empty': '一致するブランチがありません',\n 'diff.base.automatic': 'デフォルト',\n 'diff.base.worktree': 'ワークツリーの起点',\n 'diff.base.remote': 'リモートブランチ',\n 'diff.base.local': 'ローカルブランチ',\n 'diff.base.note': 'HEAD と選択したブランチのマージベースと比較、未コミットの変更を含む',\n 'diff.baseMissing': '基準ブランチ {base} が見つかりません。削除された可能性があります',\n 'diff.baseUnrelated': '{base} は HEAD と共通の履歴がありません',\n 'diff.useAutomaticBase': 'デフォルトの基準ブランチを使う',\n 'diff.allFiles': '全 {count} ファイル',\n 'diff.filterFiles': 'ファイルを絞り込み…',\n 'lens.aria': 'レビューレイヤー',\n 'lens.all': 'すべて',\n 'lens.interface': 'インターフェース',\n 'lens.implementation': '実装',\n 'lens.test': 'テスト',\n 'lens.testHidden': 'テストファイルは非表示です',\n 'lens.menuAria': 'レビューレイヤー:{lens}',\n 'lens.empty': '表示するファイルはありません',\n 'tests.hide': 'テストファイルを非表示',\n 'tests.hideHint': 'テスト、スナップショット、ロケールファイル、ロックファイル、生成ファイルを表示しません',\n 'viewed.label': '確認済み',\n 'viewed.aria': '{name} を確認済みにする',\n 'viewed.hint': 'V キーで現在のファイルを切り替え',\n 'viewed.changed': '確認後に変更あり',\n 'viewed.progress': '確認済み {viewed} / {total}',\n 'viewed.progressAria': '確認済みのファイル',\n 'viewed.count': '{viewed}/{total}',\n 'viewed.saveFailed': '確認済みの状態を保存できませんでした',\n 'viewed.hintHost': 'GitHub に保存 · V キーで現在のファイルを切り替え',\n 'viewed.saving': 'GitHub に保存しています…',\n 'viewed.unavailable': 'GitHub の確認済み状態を読み込めませんでした',\n 'viewed.readFailed': 'GitHub の確認済み状態を読み込めないため、ファイルに印を付けられません:{message}',\n 'viewed.syncFailed': '確認済みの印を GitHub に保存できませんでした:{message}',\n 'viewed.syncStale': 'PR に新しいコミットがあるため、確認済みの印は保存されていません。更新してからもう一度付けてください。',\n 'viewed.syncUnknown': '確認済みの印が保存されたか確認できませんでした:{message}。更新すると実際の状態を確認できます。',\n 'commits.all': 'すべてのコミット',\n 'commits.range': '{from}…{to}',\n 'commits.count': '{count} 件のコミット',\n 'commits.shiftHint': 'Shift を押しながら連続するコミットを選択',\n 'commits.loading': 'コミットを読み込み中…',\n 'commits.failed': 'コミットを読み込めませんでした',\n 'commits.truncatedOldest': '最初の {count} 件のコミットのみ表示しています',\n 'commits.truncatedNewest': '最新の {count} 件のコミットのみ表示しています',\n 'commits.aria': '表示中のコミット:{commits}',\n 'commits.missing': '選択したコミットは含まれなくなりました',\n 'commits.notLinear': 'これらのコミットは 1 本の履歴上にありません',\n 'commits.showAll': 'すべてのコミットを表示',\n 'diff.noMatchingFiles': '一致するファイルがありません',\n 'diff.refresh': '変更を更新',\n 'diff.expandAll': 'すべてのファイルを展開',\n 'diff.collapseAll': 'すべてのファイルを折りたたむ',\n 'diff.split': '左右に並べて表示',\n 'diff.unified': '1列で表示',\n 'diff.splitAria': '左右表示',\n 'diff.wrap': '長い行を折り返す',\n 'diff.nowrap': '長い行を折り返さない',\n 'diff.wrapAria': '行を折り返す',\n 'diff.moreOptions': 'その他の表示オプション',\n 'diff.unchanged': '未変更 {count} 行',\n 'diff.unchangedRest': '残りの未変更行',\n 'diff.newFile': '新規ファイル',\n 'diff.deletedFile': '削除済み',\n 'diff.renamed': '{from} から名前変更',\n 'diff.renamedPath': '{from} → {path}',\n 'diff.badgeUncommitted': '未コミット',\n 'diff.binary': 'バイナリファイルのため変更を表示できません',\n 'diff.binaryLabel': 'バイナリ',\n 'diff.largeCollapsed': '大きなファイル:変更された {count} 行を折りたたみました',\n 'diff.fileTooLarge': 'ファイルが大きすぎて表示できません',\n 'diff.error': '変更を読み取れませんでした',\n 'diff.tooLarge': '変更が大きすぎるため、ここには表示できません',\n 'diff.filterConfigFailed': 'Git フィルター設定を完全に読み取れないため、比較を実行していません。Git の設定と出力上限を確認して再試行してください。',\n 'diff.viewInBrowser': 'ブラウザーで表示',\n 'diff.noForkPoint': 'このブランチの分岐点が見つかりません。基準ブランチか別の範囲を選んでください',\n 'diff.empty': '変更なし',\n 'diff.omitted': 'ほかに {count} 個の未追跡ファイルがあります',\n 'diff.stale': 'ローカルブランチに未プッシュのコミットが {count} 件あります。ここには変更リクエストの変更を表示しています',\n 'diff.moreActions': '{name} のその他の操作',\n 'diff.copyPath': 'パスをコピー',\n 'diff.openFileInBrowser': 'ブラウザーでファイルを表示',\n 'diff.openFileInSidebar': 'サイドバーでファイル全体を開く',\n 'time.now': 'たった今',\n 'time.minutes': '{n} 分前',\n 'time.hours': '{n} 時間前',\n 'time.days': '{n} 日前',\n 'time.months': '{n} か月前',\n 'time.years': '{n} 年前',\n 'time.finished': '{state} · {time}',\n 'duration.seconds': '{seconds}秒',\n 'duration.minutes': '{minutes}分 {seconds}秒',\n 'duration.hours': '{hours}時間 {minutes}分',\n 'worktree.label': '新しいワークツリー',\n 'worktree.hint': 'このセッションを専用のワークツリーで実行します。送信時に選択したブランチから新しいブランチを作成するため、変更やコミットはプロジェクトディレクトリに影響しません',\n 'worktree.blocked.outside-writable-root': 'このワークスペースの Git データが書き込み可能なディレクトリ外にあります。ワークスペース自体がワークツリーである場合などは、まだワークツリーを使用できません',\n 'worktree.blocked.read-only': '読み取り専用のセッションではワークツリーを使用できません',\n 'worktree.base': '基点 {branch}',\n 'worktree.baseHead': '現在の HEAD を基点にする',\n 'worktree.baseMenu': '基準ブランチ',\n 'worktree.currentBranch': '現在',\n 'worktree.currentBranchTip': '現在のブランチ:{branch}',\n 'worktree.detachedTip': 'ブランチ上にありません · {commit}',\n 'creation.title': 'ワークツリーを作成中',\n 'creation.failed': 'ワークツリーを作成できませんでした',\n 'creation.prepare': 'ブランチを作成',\n 'creation.checkout': 'ファイルをチェックアウト',\n 'creation.details': '詳細',\n 'creation.branch': 'ブランチ',\n 'creation.base': '基点',\n 'creation.head': '現在の HEAD',\n 'creation.error': '理由',\n 'creation.skip': 'ワークツリーを使わずに続行',\n 'creation.cancel': 'キャンセル',\n 'creation.stopped': 'ワークツリーの作成を停止しました',\n 'creation.retry': '再試行',\n 'creation.waiting': 'ワークツリーの作成後にメッセージを送信します',\n 'missing.title': 'ワークツリーを利用できません',\n 'missing.unknown': 'ワークツリーの復元が未完了のため、ブランチ {branch} を確認できません。復元エラーを解消して再試行するか、プロジェクトで続行してください',\n 'missing.kept': 'ブランチ {branch} のワークツリーを元の場所に復元できます。削除前の未コミットの変更は復元できません',\n 'missing.recreated': 'ブランチ {branch} も削除されています。復元時はワークツリー作成時のコミットから再作成します。それ以降のコミットや未コミットの変更は復元されません',\n 'missing.restore': 'ワークツリーを復元',\n 'missing.leave': 'プロジェクトで続行',\n 'missing.waiting': 'ワークツリーを復元するかプロジェクトで続行すると、メッセージが送信されます',\n 'restoration.title': 'ワークツリーを復元中',\n 'restoration.prepare': 'ワークツリーを準備',\n 'branch.worktree': 'ワークツリー(基点 {base}):{path}',\n 'branch.linked': 'ワークツリー:{path}',\n 'branch.project': 'プロジェクトディレクトリ:{path}',\n 'branch.missing': 'ワークツリー利用不可:{path}',\n 'toast.removed': 'このセッションから {name} を削除しました',\n 'toast.undo': '元に戻す',\n 'toast.undoFailed': '元に戻せませんでした',\n 'toast.removeFailed': '削除できませんでした',\n 'toast.refreshFailed': '更新できませんでした',\n 'toast.copied': 'リンクをコピーしました',\n 'toast.copyFailed': 'コピーに失敗しました',\n 'toast.branchesFailed': 'ブランチを読み取れませんでした',\n 'toast.worktreeFailed': 'ワークツリーの設定を変更できませんでした',\n 'toast.worktreeStarted': 'セッションが開始済みのため、ワークツリーに切り替えられません',\n 'toast.restored': 'ワークツリーを復元しました',\n 'toast.restoreFailed': 'ワークツリーを復元できませんでした:{message}',\n 'toast.leaveFailed': 'プロジェクトディレクトリに切り替えられませんでした。再試行してください',\n 'toast.markedReady': '{name} をレビュー可能にしました',\n 'toast.markReadyFailed': 'レビュー可能にできませんでした:{message}',\n 'toast.merged': '{name} をマージしました',\n 'toast.mergeFailed': 'マージできませんでした:{message}',\n 'toast.mergeStale': '{name} に新しいコミットがあります。確認してからマージしてください',\n 'toast.pathCopied': 'パスをコピーしました',\n 'toast.expandFailed': '未変更の行を表示できませんでした:{message}',\n 'toast.expandStale': '変更の読み取り後にファイルが更新されています。更新してから展開してください',\n 'toast.prompted': '送信しました:{text}',\n 'toast.promptFailed': 'メッセージを送信できませんでした',\n 'thread.list': 'スレッド',\n 'thread.listAria': 'レビュースレッド(全 {count} 件)',\n 'thread.close': 'スレッド一覧を閉じる',\n 'thread.filterAria': 'スレッドを絞り込む',\n 'thread.filter.unresolved': '未解決',\n 'thread.filter.resolved': '解決済み',\n 'thread.filter.all': 'すべて',\n 'thread.none': 'この条件に一致するスレッドはありません',\n 'thread.empty': 'レビュースレッドはまだありません',\n 'thread.back': '変更に戻る',\n 'thread.truncated': 'スレッドが多いため、最初の {count} 件のみ表示しています',\n 'thread.openAll': 'GitHub で表示',\n 'thread.replies': '返信 {count} 件',\n 'thread.fileLevel': 'ファイルへのスレッド',\n 'thread.onCommit': '{commit} 上',\n 'thread.originally': '元の位置 {range}',\n 'thread.outdatedTag': '古い',\n 'thread.elsewhereTag': '選択したコミットにない',\n 'thread.author': '作成者',\n 'thread.bot': 'bot',\n 'thread.deletedAuthor': '削除されたアカウント',\n 'thread.resolvedRow': '解決済みのスレッド · {author}',\n 'thread.expand': '展開',\n 'thread.collapse': '折りたたむ',\n 'thread.outdatedSection': '古いスレッド {count} 件:後のコミットで該当コードが変更されました',\n 'thread.viewOriginal': '当時のファイルを表示',\n 'thread.hideOriginal': '当時のファイルを閉じる',\n 'thread.originalLoading': '当時のファイルを読み込み中…',\n 'thread.originalFailed': '当時のファイルを読み込めません:{message}',\n 'thread.openOnHost': 'GitHub で表示',\n 'thread.unresolvedCount': '未解決 {count} 件',\n 'thread.unresolvedAria': '{name} に未解決のスレッドが {count} 件あります。次のスレッドへ移動',\n 'thread.next': '次の未解決のスレッドへ移動',\n 'thread.treeCount': '未解決のスレッド {count} 件',\n 'thread.loadFailed': 'GitHub のスレッドを読み込めません:{message}',\n 'thread.inputFailed': '入力欄にこのスレッドを追加できません。しばらくしてから再試行してください',\n 'thread.copy': 'コピー',\n 'thread.copied': 'コピーしました',\n 'thread.codeBlock': 'コードブロック',\n 'thread.wrap': '行を折り返す',\n 'thread.unwrap': '行を折り返さない',\n 'thread.footnotes': '脚注',\n 'review.browserDraft': 'ブラウザーの下書き',\n 'review.browserDrafts': '{count} 件のコメントの下書きはこのブラウザーにのみ保存され、GitHub の保留中のレビューに含まれていません。先にレビューに追加するか削除してください。',\n 'review.discard': 'レビューを破棄',\n 'review.discardConfirm': '保留中のレビューとその {count} 件のコメントを破棄しますか?この操作は元に戻せません。',\n 'review.discarding': '破棄中…',\n 'review.discarded': 'レビューを破棄しました',\n 'thread.reply': '返信',\n 'thread.replyPlaceholder': '返信…',\n 'thread.replyActions': '返信のオプション',\n 'thread.resolve': 'スレッドを解決',\n 'thread.unresolve': '解決を取り消す',\n 'thread.commentActions': '{author} のコメントの操作',\n 'thread.editAria': 'コメントを編集',\n 'thread.save': '保存',\n 'thread.saving': '保存中…',\n 'thread.deleting': '削除中…',\n 'thread.deleteConfirm': 'このコメントを削除しますか?',\n 'thread.deleteLast': 'このコメントを削除しますか?スレッド唯一のコメントのため、スレッドも削除されます。',\n 'thread.writeUnknown': 'GitHub に反映されたか確認できません。スレッドを再読み込みしています。確認してから再試行してください。',\n 'thread.writeFailed': 'GitHub はこの操作を実行しませんでした:{message}',\n 'thread.writeStale': 'PR に新しいコミットがあります。新しいヘッドでスレッドを再読み込みします。確認してから再試行してください。',\n 'thread.writeUnsupported': 'このホストでは、ここからスレッドを変更できません。',\n}\n\n/** Spanish copy with the same keys. */\nexport const es: Record<ForgePanelKey, string> = {\n 'settings.retainOnArchive.title': 'Conservar los árboles de trabajo al archivar',\n 'settings.retainOnArchive.description': 'Si está activado, archivar una sesión conserva el árbol de trabajo que creó; si está desactivado, un árbol de trabajo limpio y sin referencias se elimina, y la rama y sus commits se conservan.',\n 'settings.unavailable': 'La configuración del árbol de trabajo no está disponible.',\n 'settings.readOnly': 'Esta implementación guarda la configuración en modo de solo lectura.',\n 'settings.saveFailed': 'La implementación no aceptó estos valores; se dejaron para que los corrijas.',\n 'settings.save': 'Guardar',\n 'settings.saving': 'Guardando…',\n 'toast.archiveCleanupScheduled': 'Archivado; se eliminará el árbol de trabajo',\n 'toast.archiveCleanupFailed': 'Archivado; no se pudo eliminar el árbol de trabajo. La rama se conserva. Revisa el árbol de trabajo.',\n 'review.startReview': 'Iniciar revisión',\n 'review.githubActions': 'Opciones de comentario de GitHub',\n 'review.publishing': 'Publicando…',\n 'review.submitting': 'Enviando…',\n 'review.close': 'Cerrar',\n 'review.pending': 'Pendiente',\n 'review.quoted': 'Añadido al campo de entrada',\n 'review.yourComment': 'Tu comentario',\n 'review.outdated': 'Código actualizado',\n 'review.done': 'Listo',\n 'review.addComment': 'Añadir comentario',\n 'diff.resizeFileTree': 'Cambiar el ancho del árbol',\n 'diff.fileTree': 'Árbol de archivos',\n 'diff.showFileTreeLeft': 'Mostrar árbol de archivos a la izquierda',\n 'diff.moveFileTreeRight': 'Mover árbol de archivos a la derecha',\n 'guide.title': 'Revisión de código y cambios',\n 'guide.description': 'Revisar los cambios de código y las solicitudes de cambio de esta sesión',\n 'diff.hideFileTree': 'Ocultar árbol de archivos',\n 'review.range': 'Comentar {range}',\n 'review.comment': 'Escribe un comentario…',\n 'review.cancel': 'Cancelar',\n 'review.addToInput': 'Añadir al campo de entrada',\n 'review.publish': 'Publicar comentario individual',\n 'review.queue': 'Añadir a la revisión',\n 'review.selectLine': 'Seleccionar línea {line}',\n 'review.inputFailed': 'No se puede añadir la referencia. Inténtalo más tarde.',\n 'review.saveFailed': 'No se pudo guardar el borrador. Comprueba el almacenamiento del navegador.',\n 'review.unknown': 'El resultado del envío es desconocido. Comprueba GitHub antes de volver a publicar.',\n 'review.submit': 'Enviar revisión',\n 'review.summary': 'Resumen de la revisión…',\n 'review.approve': 'Aprobar',\n 'review.requestChanges': 'Solicitar cambios',\n 'review.summaryRequired': 'Escribe un resumen de la revisión para solicitar cambios.',\n 'review.ownChangeRequest': 'Este PR es tuyo. GitHub te permite comentarlo, pero no aprobarlo ni solicitar cambios.',\n 'review.commentOnly': 'Comentar',\n 'review.drafts': 'Comentarios pendientes ({count})',\n 'review.edit': 'Editar',\n 'review.remove': 'Eliminar',\n 'review.stale': 'El PR tiene nuevos commits. Actualiza y vuelve a seleccionar las líneas.',\n 'review.published': 'Publicado en GitHub',\n 'review.submitted': 'Revisión enviada',\n 'review.failed': 'Error al enviar: {message}',\n 'review.unsupported': 'Este servicio no admite el envío de revisiones.',\n 'review.loadFailed': 'No se pudieron leer los borradores. Comprueba el almacenamiento del navegador.',\n 'review.recheck': 'Ver en GitHub',\n 'review.confirmRetry': 'Comprobado; permitir reenvío',\n 'list.worktree': 'En su propio árbol de trabajo',\n 'list.stateChecks': '{state} · {checks}',\n 'list.more': '{count} solicitudes de cambio más',\n 'tab.title': 'Solicitudes de cambio',\n 'header.label': 'Solicitudes de cambio de esta sesión',\n 'header.attention': 'Las solicitudes de cambio de esta sesión requieren atención',\n 'checkout.worktree': 'Árbol de trabajo',\n 'checkout.worktreeFrom': 'Árbol de trabajo · desde {base}',\n 'checkout.project': 'Directorio del proyecto',\n 'checkout.detached': 'Sin rama activa',\n 'checkout.restore': 'Restaurar',\n 'checkout.copyWorktreePath': 'Copiar ruta del árbol de trabajo',\n 'checkout.copyProjectPath': 'Copiar ruta del proyecto',\n 'checkout.none': 'Este directorio no es un repositorio Git',\n 'checkout.failed': 'No se pudo leer la información de Git',\n 'changes.title': 'Solicitudes de cambio de esta sesión · {count}',\n 'changes.empty': 'Esta sesión aún no tiene solicitudes de cambio',\n 'changes.emptyHint': 'Aquí aparecen las solicitudes vinculadas a esta sesión: creadas, consultadas, editadas o extraídas, o abiertas en sus ramas actuales o enviadas',\n 'changes.local.title': 'Cambios locales',\n 'changes.local.refs': '{head} → {base}',\n 'changes.local.files': '{count} archivos',\n 'changes.local.viewAria': 'Ver cambios de esta sesión: {count} archivos, {added} líneas añadidas y {deleted} eliminadas',\n 'changes.local.create': 'Crear solicitud de cambio',\n 'changes.local.prompt': 'Crea una solicitud de cambio con los cambios de esta sesión',\n 'signin.title': 'Inicia sesión en {host} para ver el estado de las solicitudes',\n 'signin.copy': 'Copiar comando de inicio de sesión',\n 'signin.unavailable': 'No se pudieron leer las solicitudes de {host}: {message}',\n 'refresh': 'Actualizar estado',\n 'retry': 'Reintentar',\n 'stream.failed': 'No se pudo cargar el panel de solicitudes de cambio',\n 'change.number': '#{number}',\n 'change.stateAria': 'Estado de la solicitud: {state}',\n 'change.state.open': 'Abierta',\n 'change.state.blocked': 'Requiere atención',\n 'change.state.draft': 'Borrador',\n 'change.state.merged': 'Fusionada',\n 'change.state.closed': 'Cerrada',\n 'change.state.unknown': 'Desconocida',\n 'change.expand': 'Expandir {name}',\n 'change.collapse': 'Contraer {name}',\n 'change.ci.none': 'Sin comprobaciones',\n 'change.ci.running': 'Comprobaciones en curso',\n 'change.ci.passed': 'Comprobaciones superadas',\n 'change.ci.failed': '{count} comprobaciones fallidas',\n 'change.ci.cancelled': '{count} comprobaciones canceladas',\n 'change.ci.failedUnlisted': 'Comprobaciones fallidas',\n 'change.checks.failed': '{count} fallidas',\n 'change.checks.running': '{count} en curso',\n 'change.checks.passed': '{count} superadas',\n 'change.checks.cancelled': '{count} canceladas',\n 'change.checks.other': '{count} más',\n 'change.checks.truncated': '{count} comprobaciones cargadas; hay más',\n 'change.checks.loading': 'Cargando más comprobaciones',\n 'change.checks.loadFailed': 'No se pudieron cargar más comprobaciones: {message}',\n 'change.checks.retry': 'Reintentar cargar comprobaciones',\n 'change.check.running': 'En curso',\n 'change.check.queued': 'En cola',\n 'change.flag.changesRequested': 'Cambios solicitados',\n 'change.flag.conflicting': 'Conflictos',\n 'change.flag.draft': 'Borrador',\n 'change.failure.unavailable': 'No se pudo leer el estado de la solicitud',\n 'change.failure.notFound': 'La solicitud no existe o no tienes acceso',\n 'change.failure.unauthenticated': 'Inicia sesión para ver su estado',\n 'change.unserved': 'Este servicio de código aún no permite consultar el estado de las solicitudes',\n 'change.view': 'Abrir en el navegador',\n 'change.copy': 'Copiar enlace de la solicitud',\n 'change.viewChangesAria': 'Ver cambios de {name}: {added} líneas añadidas y {deleted} eliminadas',\n 'change.remove': 'Quitar de esta sesión',\n 'change.removeAria': 'Quitar {name} de esta sesión',\n 'change.row.checks': 'Comprobaciones',\n 'change.row.review': 'Revisión',\n 'change.row.merge': 'Fusionar',\n 'change.row.changes': 'Cambios',\n 'change.review.approved': 'Aprobada',\n 'change.review.changesRequested': 'Cambios solicitados',\n 'change.review.required': 'Revisión requerida',\n 'change.review.none': 'Sin revisión solicitada',\n 'change.merge.mergeable': 'Sin conflictos',\n 'change.merge.conflicting': 'Conflictos con {base}',\n 'change.merge.unknown': 'Buscando conflictos',\n 'change.mergedTo': 'Fusionada en {base}',\n 'change.markReady': 'Lista para revisión',\n 'change.merge': 'Fusionar',\n 'change.mergeTitle': 'Fusionar {name} en {base}',\n 'change.mergeMethod.squash': 'Fusionar con squash',\n 'change.mergeMethod.merge': 'Crear un commit de fusión',\n 'change.mergeMethod.rebase': 'Rebasar y fusionar',\n 'change.mergeNote.squash': 'Combinar todos los commits en uno',\n 'change.mergeNote.merge': 'Conservar todos los commits y añadir uno de fusión',\n 'change.mergeNote.rebase': 'Aplicar cada commit sobre {base}',\n 'change.mergeConfirm': 'Confirmar fusión',\n 'change.mergeChanged': 'Hay nuevos commits. Revísalos antes de volver a abrir el menú de fusión',\n 'checks.allPassed': 'Las {count} comprobaciones se superaron',\n 'checks.showQuiet': 'Mostrar {count} más (superadas, omitidas)',\n 'reviewers.requestMore': 'Pedir revisión a otra persona…',\n 'change.threads': '{count} conversaciones sin resolver',\n 'issues.label': 'Incidencias vinculadas',\n 'issues.separator': ', ',\n 'issues.more': ' y más',\n 'issues.aria': 'Abrir incidencia {label}: {title}',\n 'checks.group.failed': 'Fallidas',\n 'checks.group.running': 'En curso',\n 'checks.group.passed': 'Superadas',\n 'checks.group.cancelled': 'Canceladas',\n 'checks.group.other': 'Omitidas y otras',\n 'checks.rerunFailed': 'Repetir fallidas',\n 'toast.rerunRequested': 'Se pidió repetir las comprobaciones de {name}',\n 'toast.rerunFailed': 'No se pudieron repetir las comprobaciones: {message}',\n 'toast.rerunStale': '{name} tiene nuevos commits. Revisa las comprobaciones del nuevo commit antes de repetirlas.',\n 'reviewers.rerequestAria': 'Volver a pedir revisión a {login}',\n 'reviewers.pending': 'Pendiente',\n 'reviewers.approved': 'Aprobado',\n 'reviewers.changesRequested': 'Cambios pedidos',\n 'reviewers.commented': 'Comentó',\n 'reviewers.dismissed': 'Descartada',\n 'reviewers.older': 'Anterior al último commit',\n 'reviewers.codeOwner': 'Propietario del código',\n 'reviewers.team': 'Equipo',\n 'reviewers.bot': 'Bot',\n 'reviewers.truncated': 'No se muestran todos los revisores; abre la solicitud para verlos',\n 'reviewers.none': 'Aún no hay revisores',\n 'reviewers.search': 'Buscar personas',\n 'reviewers.loading': 'Cargando personas',\n 'reviewers.loadFailed': 'No se pudo listar a las personas',\n 'reviewers.empty': 'Ninguna persona coincide',\n 'reviewers.suggested': 'Sugerido',\n 'toast.reviewRequested': 'Se pidió a {login} revisar {name}',\n 'toast.reviewRequestFailed': 'No se pudo pedir la revisión: {message}',\n 'branch.behind': 'Por detrás de {base}',\n 'branch.update': 'Actualizar rama',\n 'branch.updateTitle': 'Actualizar {head} con los nuevos commits de {base}',\n 'branch.method.merge': 'Actualizar con commit de fusión',\n 'branch.method.rebase': 'Actualizar con rebase',\n 'branch.note.merge': 'Añade un commit de fusión a la rama',\n 'branch.note.rebase': 'Hace rebase de los commits de la rama sobre {base} y los reescribe',\n 'branch.confirm': 'Confirmar actualización',\n 'branch.changed': 'Llegaron nuevos commits. Revísalos y vuelve a abrir este menú.',\n 'toast.branchUpdated': 'Se empezó a actualizar la rama de {name}',\n 'toast.branchUpdateFailed': 'No se pudo actualizar la rama: {message}',\n 'toast.actionUnknown': 'No se pudo confirmar si la acción sobre {name} se aplicó. Compruébalo en el navegador antes de volver a intentarlo.',\n 'toast.branchUpdateStale': '{name} tiene nuevos commits. Revísalos antes de actualizar.',\n 'diff.tab': 'Cambios',\n 'diff.tabNumbered': 'Cambios en #{number}',\n 'diff.scope.branch': 'Rama',\n 'diff.scope.uncommitted': 'Sin confirmar',\n 'diff.scope.unstaged': 'Sin preparar',\n 'diff.scope.staged': 'Preparado',\n 'diff.scopeNote.uncommitted': 'Comparado con HEAD, incluidos los archivos sin seguimiento',\n 'diff.scopeNote.unstaged': 'Comparado con el índice, incluidos los archivos sin seguimiento',\n 'diff.scopeNote.staged': 'Índice comparado con HEAD',\n 'diff.base.aria': 'Rama base: {base}',\n 'diff.base.uncommitted': 'Incluye los cambios sin confirmar',\n 'diff.base.search': 'Buscar ramas',\n 'diff.base.loading': 'Leyendo ramas…',\n 'diff.base.empty': 'No hay ramas coincidentes',\n 'diff.base.automatic': 'Predeterminada',\n 'diff.base.worktree': 'Inicio del árbol de trabajo',\n 'diff.base.remote': 'Ramas remotas',\n 'diff.base.local': 'Ramas locales',\n 'diff.base.note': 'Comparado con la base de fusión de HEAD y la rama elegida, incluidos los cambios sin confirmar',\n 'diff.baseMissing': 'No se encontró la rama base {base}; puede que se haya eliminado',\n 'diff.baseUnrelated': '{base} no comparte historial con HEAD',\n 'diff.useAutomaticBase': 'Usar la rama base predeterminada',\n 'diff.allFiles': 'Los {count} archivos',\n 'diff.filterFiles': 'Filtrar archivos…',\n 'lens.aria': 'Capa de revisión',\n 'lens.all': 'Todos',\n 'lens.interface': 'Interfaz',\n 'lens.implementation': 'Implementación',\n 'lens.test': 'Pruebas',\n 'lens.testHidden': 'Los archivos de prueba están ocultos',\n 'lens.menuAria': 'Capa de revisión: {lens}',\n 'lens.empty': 'No hay archivos que mostrar',\n 'tests.hide': 'Ocultar archivos de prueba',\n 'tests.hideHint': 'Oculta pruebas, instantáneas, archivos de idioma, archivos de bloqueo y archivos generados',\n 'viewed.label': 'Revisado',\n 'viewed.aria': 'Marcar {name} como revisado',\n 'viewed.hint': 'Pulsa V para cambiar el archivo actual',\n 'viewed.changed': 'Cambió tras revisarlo',\n 'viewed.progress': '{viewed} / {total} revisados',\n 'viewed.progressAria': 'Archivos revisados',\n 'viewed.count': '{viewed}/{total}',\n 'viewed.saveFailed': 'No se pudo guardar el estado de revisión',\n 'viewed.hintHost': 'Se guarda en GitHub · Pulsa V para cambiar el archivo actual',\n 'viewed.saving': 'Guardando en GitHub…',\n 'viewed.unavailable': 'No se pudo leer de GitHub qué archivos se revisaron',\n 'viewed.readFailed': 'No se pudo leer de GitHub qué archivos se revisaron, así que no se pueden marcar: {message}',\n 'viewed.syncFailed': 'No se pudo guardar la marca de revisión en GitHub: {message}',\n 'viewed.syncStale': 'El PR tiene nuevos commits y la marca de revisión no se guardó. Actualiza y vuelve a marcar el archivo.',\n 'viewed.syncUnknown': 'No se pudo confirmar que la marca de revisión se guardara: {message}. Actualiza para ver su estado real.',\n 'commits.all': 'Todos los commits',\n 'commits.range': '{from}…{to}',\n 'commits.count': '{count} commits',\n 'commits.shiftHint': 'Mantén Mayús para seleccionar commits consecutivos',\n 'commits.loading': 'Cargando commits…',\n 'commits.failed': 'No se pudieron cargar los commits',\n 'commits.truncatedOldest': 'Solo se muestran los {count} commits más antiguos',\n 'commits.truncatedNewest': 'Solo se muestran los {count} commits más recientes',\n 'commits.aria': 'Commits mostrados: {commits}',\n 'commits.missing': 'Los commits seleccionados ya no están incluidos',\n 'commits.notLinear': 'Estos commits no están en una misma línea del historial',\n 'commits.showAll': 'Ver todos los commits',\n 'diff.noMatchingFiles': 'No hay archivos coincidentes',\n 'diff.refresh': 'Actualizar cambios',\n 'diff.expandAll': 'Expandir todos los archivos',\n 'diff.collapseAll': 'Contraer todos los archivos',\n 'diff.split': 'Mostrar en paralelo',\n 'diff.unified': 'Mostrar en una columna',\n 'diff.splitAria': 'Vista en paralelo',\n 'diff.wrap': 'Ajustar líneas largas',\n 'diff.nowrap': 'No ajustar líneas largas',\n 'diff.wrapAria': 'Ajustar líneas',\n 'diff.moreOptions': 'Más opciones de vista',\n 'diff.unchanged': '{count} líneas sin cambios',\n 'diff.unchangedRest': 'Líneas restantes sin cambios',\n 'diff.newFile': 'Archivo nuevo',\n 'diff.deletedFile': 'Eliminado',\n 'diff.renamed': 'Renombrado desde {from}',\n 'diff.renamedPath': '{from} → {path}',\n 'diff.badgeUncommitted': 'Sin confirmar',\n 'diff.binary': 'Archivo binario; no se pueden mostrar sus cambios',\n 'diff.binaryLabel': 'Binario',\n 'diff.largeCollapsed': 'Archivo grande: {count} líneas modificadas contraídas',\n 'diff.fileTooLarge': 'Este archivo es demasiado grande para mostrarlo',\n 'diff.error': 'No se pudieron leer los cambios',\n 'diff.tooLarge': 'Estos cambios son demasiado grandes para mostrarlos aquí',\n 'diff.filterConfigFailed': 'No se pudo leer toda la configuración de filtros de Git. No se realizó la comparación. Comprueba la configuración de Git y el límite de salida, y vuelve a intentarlo.',\n 'diff.viewInBrowser': 'Ver en el navegador',\n 'diff.noForkPoint': 'No se encontró el punto de bifurcación de esta rama; elige una rama base u otro ámbito',\n 'diff.empty': 'Sin cambios',\n 'diff.omitted': 'No se muestran otros {count} archivos sin seguimiento',\n 'diff.stale': 'La rama local tiene {count} commits sin enviar; se muestran los cambios de la solicitud',\n 'diff.moreActions': 'Más acciones para {name}',\n 'diff.copyPath': 'Copiar ruta',\n 'diff.openFileInBrowser': 'Ver archivo en el navegador',\n 'diff.openFileInSidebar': 'Abrir el archivo completo en la barra lateral',\n 'time.now': 'ahora mismo',\n 'time.minutes': 'hace {n} min',\n 'time.hours': 'hace {n} h',\n 'time.days': 'hace {n} d',\n 'time.months': 'hace {n} meses',\n 'time.years': 'hace {n} años',\n 'time.finished': '{state} · {time}',\n 'duration.seconds': '{seconds}s',\n 'duration.minutes': '{minutes} min {seconds} s',\n 'duration.hours': '{hours} h {minutes} min',\n 'worktree.label': 'Nuevo árbol de trabajo',\n 'worktree.hint': 'Ejecuta esta sesión en su propio árbol de trabajo: al enviar se crea una rama desde la elegida, sin que los cambios ni los commits afecten al directorio del proyecto',\n 'worktree.blocked.outside-writable-root': 'Los datos Git están fuera de los directorios con permiso de escritura, como cuando el espacio ya es un árbol de trabajo; aún no se puede usar otro árbol',\n 'worktree.blocked.read-only': 'Una sesión de solo lectura no puede usar un árbol de trabajo',\n 'worktree.base': 'Desde {branch}',\n 'worktree.baseHead': 'Desde el HEAD actual',\n 'worktree.baseMenu': 'Rama base',\n 'worktree.currentBranch': 'Actual',\n 'worktree.currentBranchTip': 'Rama actual: {branch}',\n 'worktree.detachedTip': 'Sin rama activa · {commit}',\n 'creation.title': 'Creando el árbol de trabajo',\n 'creation.failed': 'No se pudo crear el árbol de trabajo',\n 'creation.prepare': 'Crear la rama',\n 'creation.checkout': 'Extraer archivos',\n 'creation.details': 'Más detalles',\n 'creation.branch': 'Rama',\n 'creation.base': 'Desde',\n 'creation.head': 'HEAD actual',\n 'creation.error': 'Razón',\n 'creation.skip': 'Continuar sin árbol de trabajo',\n 'creation.cancel': 'Cancelar',\n 'creation.stopped': 'Creación del árbol de trabajo detenida',\n 'creation.retry': 'Reintentar',\n 'creation.waiting': 'El mensaje se enviará cuando exista el árbol de trabajo',\n 'missing.title': 'El árbol de trabajo no está disponible',\n 'missing.unknown': 'La restauración está incompleta y no se puede consultar la rama {branch}. Resuelve el error y reintenta, o continúa en el proyecto',\n 'missing.kept': 'Se puede restaurar el árbol de la rama {branch} en su ubicación original. Los cambios sin confirmar anteriores a su eliminación no se pueden recuperar',\n 'missing.recreated': 'La rama {branch} también se eliminó. Se recreará desde el commit inicial del árbol, sin los commits posteriores ni los cambios sin confirmar',\n 'missing.restore': 'Restaurar árbol de trabajo',\n 'missing.leave': 'Continuar en el proyecto',\n 'missing.waiting': 'El mensaje se enviará cuando restaures el árbol o continúes en el proyecto',\n 'restoration.title': 'Restaurando el árbol de trabajo',\n 'restoration.prepare': 'Preparar el árbol de trabajo',\n 'branch.worktree': 'Árbol de trabajo (desde {base}): {path}',\n 'branch.linked': 'Árbol de trabajo: {path}',\n 'branch.project': 'Directorio del proyecto: {path}',\n 'branch.missing': 'Árbol de trabajo no disponible: {path}',\n 'toast.removed': 'Se quitó {name} de esta sesión',\n 'toast.undo': 'Deshacer',\n 'toast.undoFailed': 'No se pudo deshacer',\n 'toast.removeFailed': 'No se pudo quitar',\n 'toast.refreshFailed': 'No se pudo actualizar',\n 'toast.copied': 'Enlace copiado',\n 'toast.copyFailed': 'Copia fallida',\n 'toast.branchesFailed': 'No se pudieron leer las ramas',\n 'toast.worktreeFailed': 'No se pudo cambiar la opción del árbol de trabajo',\n 'toast.worktreeStarted': 'Esta sesión ya empezó y no puede pasar a un árbol de trabajo',\n 'toast.restored': 'Árbol de trabajo restaurado',\n 'toast.restoreFailed': 'No se pudo restaurar el árbol de trabajo: {message}',\n 'toast.leaveFailed': 'No se pudo cambiar al directorio del proyecto; inténtalo de nuevo',\n 'toast.markedReady': '{name} está lista para revisión',\n 'toast.markReadyFailed': 'No se pudo marcar como lista: {message}',\n 'toast.merged': 'Se fusionó {name}',\n 'toast.mergeFailed': 'No se pudo fusionar: {message}',\n 'toast.mergeStale': '{name} tiene nuevos commits; revísalos antes de fusionar',\n 'toast.pathCopied': 'Ruta copiada',\n 'toast.expandFailed': 'No se pudieron mostrar las líneas sin cambios: {message}',\n 'toast.expandStale': 'El archivo cambió después de leer sus cambios; actualiza antes de expandir',\n 'toast.prompted': 'Enviado: {text}',\n 'toast.promptFailed': 'No se pudo enviar el mensaje',\n 'thread.list': 'Hilos',\n 'thread.listAria': 'Hilos de revisión, {count} en total',\n 'thread.close': 'Cerrar la lista de hilos',\n 'thread.filterAria': 'Filtrar hilos',\n 'thread.filter.unresolved': 'Sin resolver',\n 'thread.filter.resolved': 'Resueltos',\n 'thread.filter.all': 'Todos',\n 'thread.none': 'Ningún hilo coincide con este filtro',\n 'thread.empty': 'Aún no hay hilos de revisión',\n 'thread.back': 'Volver a los cambios',\n 'thread.truncated': 'Hay demasiados hilos; se muestran los primeros {count}',\n 'thread.openAll': 'Ver en GitHub',\n 'thread.replies': '{count} respuestas',\n 'thread.fileLevel': 'Hilo del archivo',\n 'thread.onCommit': 'en {commit}',\n 'thread.originally': 'Originalmente {range}',\n 'thread.outdatedTag': 'Desactualizado',\n 'thread.elsewhereTag': 'No está en los commits elegidos',\n 'thread.author': 'Autor',\n 'thread.bot': 'bot',\n 'thread.deletedAuthor': 'Cuenta eliminada',\n 'thread.resolvedRow': 'Hilo resuelto · {author}',\n 'thread.expand': 'Expandir',\n 'thread.collapse': 'Contraer',\n 'thread.outdatedSection': '{count} hilos desactualizados: commits posteriores cambiaron su código',\n 'thread.viewOriginal': 'Ver el archivo en ese commit',\n 'thread.hideOriginal': 'Ocultar el archivo de ese commit',\n 'thread.originalLoading': 'Leyendo el archivo de ese commit…',\n 'thread.originalFailed': 'No se pudo leer el archivo de ese commit: {message}',\n 'thread.openOnHost': 'Ver en GitHub',\n 'thread.unresolvedCount': '{count} sin resolver',\n 'thread.unresolvedAria': '{name} tiene {count} hilos sin resolver; ir al siguiente',\n 'thread.next': 'Ir al siguiente hilo sin resolver',\n 'thread.treeCount': '{count} hilos sin resolver',\n 'thread.loadFailed': 'No se pudieron leer los hilos de GitHub: {message}',\n 'thread.inputFailed': 'El campo de entrada no pudo recibir este hilo; inténtalo más tarde',\n 'thread.copy': 'Copiar',\n 'thread.copied': 'Copiado',\n 'thread.codeBlock': 'Bloque de código',\n 'thread.wrap': 'Ajustar líneas',\n 'thread.unwrap': 'No ajustar líneas',\n 'thread.footnotes': 'Notas a pie de página',\n 'review.browserDraft': 'Borrador del navegador',\n 'review.browserDrafts': '{count} borradores de comentarios solo están guardados en este navegador, no en tu revisión pendiente de GitHub. Añádelos a la revisión o elimínalos primero.',\n 'review.discard': 'Descartar revisión',\n 'review.discardConfirm': '¿Descartar tu revisión pendiente y sus {count} comentarios? No se puede deshacer.',\n 'review.discarding': 'Descartando…',\n 'review.discarded': 'Revisión descartada',\n 'thread.reply': 'Responder',\n 'thread.replyPlaceholder': 'Responder…',\n 'thread.replyActions': 'Opciones de respuesta',\n 'thread.resolve': 'Resolver hilo',\n 'thread.unresolve': 'Reabrir hilo',\n 'thread.commentActions': 'Acciones del comentario de {author}',\n 'thread.editAria': 'Editar comentario',\n 'thread.save': 'Guardar',\n 'thread.saving': 'Guardando…',\n 'thread.deleting': 'Eliminando…',\n 'thread.deleteConfirm': '¿Eliminar este comentario?',\n 'thread.deleteLast': '¿Eliminar este comentario? Es el único del hilo, así que también se elimina el hilo.',\n 'thread.writeUnknown': 'No se pudo confirmar si GitHub aplicó el cambio. Se están volviendo a leer los hilos; revísalos antes de reintentar.',\n 'thread.writeFailed': 'GitHub no aplicó el cambio: {message}',\n 'thread.writeStale': 'El PR tiene nuevos commits. Los hilos se vuelven a leer en el nuevo head; revísalos y reintenta.',\n 'thread.writeUnsupported': 'Este servicio no admite cambiar hilos desde aquí.',\n}\n\n/** French copy with the same keys. */\nexport const fr: Record<ForgePanelKey, string> = {\n 'settings.retainOnArchive.title': 'Conserver les arbres de travail à l’archivage',\n 'settings.retainOnArchive.description': 'Activé, l’archivage d’une session conserve l’arbre de travail qu’elle a créé ; désactivé, un arbre de travail propre et non référencé est supprimé, la branche et ses commits restant conservés.',\n 'settings.unavailable': 'Les paramètres de l’arbre de travail sont indisponibles.',\n 'settings.readOnly': 'Ce déploiement enregistre les paramètres en lecture seule.',\n 'settings.saveFailed': 'Le déploiement n’a pas accepté ces valeurs ; elles ont été laissées pour correction.',\n 'settings.save': 'Enregistrer',\n 'settings.saving': 'Enregistrement…',\n 'toast.archiveCleanupScheduled': 'Archivé ; l’arbre de travail sera supprimé',\n 'toast.archiveCleanupFailed': 'Archivé ; échec de la suppression de l’arbre de travail. La branche est conservée. Vérifiez l’arbre de travail.',\n 'review.startReview': 'Commencer la revue',\n 'review.githubActions': 'Options de commentaire GitHub',\n 'review.publishing': 'Publication…',\n 'review.submitting': 'Envoi…',\n 'review.close': 'Fermer',\n 'review.pending': 'En attente',\n 'review.quoted': 'Ajouté au champ de saisie',\n 'review.yourComment': 'Votre commentaire',\n 'review.outdated': 'Code mis à jour',\n 'review.done': 'Terminé',\n 'review.addComment': 'Ajouter un commentaire',\n 'diff.resizeFileTree': 'Redimensionner l’arborescence',\n 'diff.fileTree': 'Arborescence des fichiers',\n 'diff.showFileTreeLeft': 'Afficher l’arborescence à gauche',\n 'diff.moveFileTreeRight': 'Déplacer l’arborescence à droite',\n 'guide.title': 'Revue de code et modifications',\n 'guide.description': 'Examiner les modifications du code et les demandes de modification de cette session',\n 'diff.hideFileTree': 'Masquer l’arborescence',\n 'review.range': 'Commenter {range}',\n 'review.comment': 'Laisser un commentaire…',\n 'review.cancel': 'Annuler',\n 'review.addToInput': 'Ajouter au champ de saisie',\n 'review.publish': 'Publier un commentaire seul',\n 'review.queue': 'Ajouter à la revue',\n 'review.selectLine': 'Sélectionner la ligne {line}',\n 'review.inputFailed': 'Impossible d’ajouter la référence. Réessayez plus tard.',\n 'review.saveFailed': 'Impossible d’enregistrer le brouillon. Vérifiez le stockage du navigateur.',\n 'review.unknown': 'Le résultat de l’envoi est inconnu. Vérifiez GitHub avant de republier.',\n 'review.submit': 'Envoyer la revue',\n 'review.summary': 'Résumé de la revue…',\n 'review.approve': 'Approuver',\n 'review.requestChanges': 'Demander des modifications',\n 'review.summaryRequired': 'Saisissez un résumé de la revue pour demander des modifications.',\n 'review.ownChangeRequest': 'Cette PR est la vôtre. GitHub vous permet de la commenter, mais pas de l’approuver ni de demander des modifications.',\n 'review.commentOnly': 'Commenter',\n 'review.drafts': 'Commentaires en attente ({count})',\n 'review.edit': 'Modifier',\n 'review.remove': 'Supprimer',\n 'review.stale': 'La PR contient de nouveaux commits. Actualisez et sélectionnez à nouveau les lignes.',\n 'review.published': 'Publié sur GitHub',\n 'review.submitted': 'Revue envoyée',\n 'review.failed': 'Échec de l’envoi : {message}',\n 'review.unsupported': 'Ce service ne prend pas en charge l’envoi de revues.',\n 'review.loadFailed': 'Impossible de lire les brouillons. Vérifiez le stockage du navigateur.',\n 'review.recheck': 'Voir sur GitHub',\n 'review.confirmRetry': 'Vérifié ; autoriser un nouvel envoi',\n 'list.worktree': 'Dans son propre arbre de travail',\n 'list.stateChecks': '{state} · {checks}',\n 'list.more': '{count} demandes de changement supplémentaires',\n 'tab.title': 'Demandes de modification',\n 'header.label': 'Demandes de modification de cette session',\n 'header.attention': 'Les demandes de modification de cette session nécessitent une intervention',\n 'checkout.worktree': 'Arbre de travail',\n 'checkout.worktreeFrom': 'Arbre de travail · depuis {base}',\n 'checkout.project': 'Dossier du projet',\n 'checkout.detached': 'Aucune branche active',\n 'checkout.restore': 'Restaurer',\n 'checkout.copyWorktreePath': 'Copier le chemin de l’arbre de travail',\n 'checkout.copyProjectPath': 'Copier le chemin du projet',\n 'checkout.none': 'Ce dossier n’est pas un dépôt Git',\n 'checkout.failed': 'Impossible de lire les informations Git',\n 'changes.title': 'Demandes de modification de cette session · {count}',\n 'changes.empty': 'Cette session n’a pas encore de demande de modification',\n 'changes.emptyHint': 'Les demandes liées à cette session apparaissent ici : créées, consultées, modifiées ou extraites, ou ouvertes sur ses branches actuelles ou envoyées',\n 'changes.local.title': 'Modifications locales',\n 'changes.local.refs': '{head} → {base}',\n 'changes.local.files': '{count} fichiers',\n 'changes.local.viewAria': 'Voir les modifications de cette session : {count} fichiers, {added} lignes ajoutées et {deleted} supprimées',\n 'changes.local.create': 'Créer une demande de modification',\n 'changes.local.prompt': 'Créez une demande de modification pour les changements de cette session',\n 'signin.title': 'Connectez-vous à {host} pour voir l’état des demandes',\n 'signin.copy': 'Copier la commande de connexion',\n 'signin.unavailable': 'Impossible de lire les demandes sur {host} : {message}',\n 'refresh': 'Actualiser l’état',\n 'retry': 'Réessayer',\n 'stream.failed': 'Impossible de charger le panneau des demandes de modification',\n 'change.number': '#{number}',\n 'change.stateAria': 'État de la demande : {state}',\n 'change.state.open': 'Ouverte',\n 'change.state.blocked': 'Intervention requise',\n 'change.state.draft': 'Brouillon',\n 'change.state.merged': 'Fusionnée',\n 'change.state.closed': 'Fermée',\n 'change.state.unknown': 'Inconnue',\n 'change.expand': 'Développer {name}',\n 'change.collapse': 'Réduire {name}',\n 'change.ci.none': 'Aucune vérification',\n 'change.ci.running': 'Vérifications en cours',\n 'change.ci.passed': 'Vérifications réussies',\n 'change.ci.failed': '{count} vérifications échouées',\n 'change.ci.cancelled': '{count} vérifications annulées',\n 'change.ci.failedUnlisted': 'Échec des vérifications',\n 'change.checks.failed': '{count} échouées',\n 'change.checks.running': '{count} en cours',\n 'change.checks.passed': '{count} réussies',\n 'change.checks.cancelled': '{count} annulées',\n 'change.checks.other': '{count} autres',\n 'change.checks.truncated': '{count} vérifications chargées ; d’autres sont disponibles',\n 'change.checks.loading': 'Chargement des autres vérifications',\n 'change.checks.loadFailed': 'Impossible de charger les autres vérifications : {message}',\n 'change.checks.retry': 'Réessayer le chargement',\n 'change.check.running': 'En cours',\n 'change.check.queued': 'En file d\\'attente',\n 'change.flag.changesRequested': 'Modifications demandées',\n 'change.flag.conflicting': 'Conflits',\n 'change.flag.draft': 'Brouillon',\n 'change.failure.unavailable': 'Impossible de lire l’état de la demande',\n 'change.failure.notFound': 'La demande n’existe pas ou n’est pas accessible',\n 'change.failure.unauthenticated': 'Connectez-vous pour voir son état',\n 'change.unserved': 'L’état des demandes n’est pas encore pris en charge pour cet hébergeur de code',\n 'change.view': 'Ouvrir dans le navigateur',\n 'change.copy': 'Copier le lien de la demande',\n 'change.viewChangesAria': 'Voir les modifications de {name} : {added} lignes ajoutées et {deleted} supprimées',\n 'change.remove': 'Retirer de cette session',\n 'change.removeAria': 'Retirer {name} de cette session',\n 'change.row.checks': 'Vérifications',\n 'change.row.review': 'Revue',\n 'change.row.merge': 'Fusionner',\n 'change.row.changes': 'Modifications',\n 'change.review.approved': 'Approuvée',\n 'change.review.changesRequested': 'Modifications demandées',\n 'change.review.required': 'Revue requise',\n 'change.review.none': 'Aucune revue demandée',\n 'change.merge.mergeable': 'Aucun conflit',\n 'change.merge.conflicting': 'Conflits avec {base}',\n 'change.merge.unknown': 'Recherche de conflits',\n 'change.mergedTo': 'Fusionnée dans {base}',\n 'change.markReady': 'Prête pour la revue',\n 'change.merge': 'Fusionner',\n 'change.mergeTitle': 'Fusionner {name} dans {base}',\n 'change.mergeMethod.squash': 'Fusionner par squash',\n 'change.mergeMethod.merge': 'Créer un commit de fusion',\n 'change.mergeMethod.rebase': 'Rebaser et fusionner',\n 'change.mergeNote.squash': 'Regrouper tous les commits en un seul',\n 'change.mergeNote.merge': 'Conserver tous les commits et ajouter un commit de fusion',\n 'change.mergeNote.rebase': 'Rejouer chaque commit sur {base}',\n 'change.mergeConfirm': 'Confirmer la fusion',\n 'change.mergeChanged': 'De nouveaux commits sont arrivés. Vérifiez-les avant de rouvrir le menu de fusion',\n 'checks.allPassed': 'Les {count} vérifications ont réussi',\n 'checks.showQuiet': 'Afficher {count} de plus (réussies, ignorées)',\n 'reviewers.requestMore': 'Demander une revue à quelqu’un d’autre…',\n 'change.threads': '{count} discussions non résolues',\n 'issues.label': 'Tickets liés',\n 'issues.separator': ', ',\n 'issues.more': ' et d’autres',\n 'issues.aria': 'Ouvrir le ticket {label} : {title}',\n 'checks.group.failed': 'En échec',\n 'checks.group.running': 'En cours',\n 'checks.group.passed': 'Réussies',\n 'checks.group.cancelled': 'Annulées',\n 'checks.group.other': 'Ignorées et autres',\n 'checks.rerunFailed': 'Relancer les échecs',\n 'toast.rerunRequested': 'Relance des vérifications de {name} demandée',\n 'toast.rerunFailed': 'Impossible de relancer les vérifications : {message}',\n 'toast.rerunStale': '{name} contient de nouveaux commits. Consultez les vérifications du nouveau commit avant de relancer.',\n 'reviewers.rerequestAria': 'Redemander une revue à {login}',\n 'reviewers.pending': 'En attente',\n 'reviewers.approved': 'Approuvé',\n 'reviewers.changesRequested': 'Modifications demandées',\n 'reviewers.commented': 'A commenté',\n 'reviewers.dismissed': 'Écartée',\n 'reviewers.older': 'Avant le dernier commit',\n 'reviewers.codeOwner': 'Propriétaire du code',\n 'reviewers.team': 'Équipe',\n 'reviewers.bot': 'Bot',\n 'reviewers.truncated': 'Tous les relecteurs ne sont pas affichés ; ouvrez la demande pour les voir',\n 'reviewers.none': 'Aucun relecteur pour l’instant',\n 'reviewers.search': 'Rechercher des personnes',\n 'reviewers.loading': 'Chargement des personnes',\n 'reviewers.loadFailed': 'Impossible de lister les personnes',\n 'reviewers.empty': 'Aucune personne ne correspond',\n 'reviewers.suggested': 'Suggéré',\n 'toast.reviewRequested': 'Revue de {name} demandée à {login}',\n 'toast.reviewRequestFailed': 'Impossible de demander la revue : {message}',\n 'branch.behind': 'En retard sur {base}',\n 'branch.update': 'Mettre à jour la branche',\n 'branch.updateTitle': 'Mettre à jour {head} avec les nouveaux commits de {base}',\n 'branch.method.merge': 'Mettre à jour par commit de fusion',\n 'branch.method.rebase': 'Mettre à jour par rebase',\n 'branch.note.merge': 'Ajoute un commit de fusion à la branche',\n 'branch.note.rebase': 'Rebase les commits de la branche sur {base} et les réécrit',\n 'branch.confirm': 'Confirmer la mise à jour',\n 'branch.changed': 'De nouveaux commits sont arrivés. Vérifiez-les, puis rouvrez ce menu.',\n 'toast.branchUpdated': 'Mise à jour de la branche de {name} lancée',\n 'toast.branchUpdateFailed': 'Impossible de mettre à jour la branche : {message}',\n 'toast.actionUnknown': 'Impossible de confirmer si l’action sur {name} a pris effet. Vérifiez dans le navigateur avant de réessayer.',\n 'toast.branchUpdateStale': '{name} contient de nouveaux commits. Vérifiez-les avant la mise à jour.',\n 'diff.tab': 'Modifications',\n 'diff.tabNumbered': 'Modifications de #{number}',\n 'diff.scope.branch': 'Branche',\n 'diff.scope.uncommitted': 'Non commité',\n 'diff.scope.unstaged': 'Non indexé',\n 'diff.scope.staged': 'Indexé',\n 'diff.scopeNote.uncommitted': 'Comparaison avec HEAD, fichiers non suivis inclus',\n 'diff.scopeNote.unstaged': 'Comparaison avec l’index, fichiers non suivis inclus',\n 'diff.scopeNote.staged': 'Comparaison de l’index avec HEAD',\n 'diff.base.aria': 'Branche de base : {base}',\n 'diff.base.uncommitted': 'Modifications non commitées incluses',\n 'diff.base.search': 'Rechercher des branches',\n 'diff.base.loading': 'Lecture des branches…',\n 'diff.base.empty': 'Aucune branche correspondante',\n 'diff.base.automatic': 'Par défaut',\n 'diff.base.worktree': 'Départ de l’arbre de travail',\n 'diff.base.remote': 'Branches distantes',\n 'diff.base.local': 'Branches locales',\n 'diff.base.note': 'Comparaison avec la base de fusion de HEAD et de la branche choisie, modifications non commitées incluses',\n 'diff.baseMissing': 'La branche de base {base} est introuvable ; elle a peut-être été supprimée',\n 'diff.baseUnrelated': '{base} n’a aucun historique commun avec HEAD',\n 'diff.useAutomaticBase': 'Utiliser la branche de base par défaut',\n 'diff.allFiles': 'Les {count} fichiers',\n 'diff.filterFiles': 'Filtrer les fichiers…',\n 'lens.aria': 'Couche de revue',\n 'lens.all': 'Tous',\n 'lens.interface': 'Interface',\n 'lens.implementation': 'Implémentation',\n 'lens.test': 'Tests',\n 'lens.testHidden': 'Les fichiers de test sont masqués',\n 'lens.menuAria': 'Couche de revue : {lens}',\n 'lens.empty': 'Aucun fichier à afficher',\n 'tests.hide': 'Masquer les fichiers de test',\n 'tests.hideHint': 'Masque les tests, instantanés, fichiers de langue, fichiers de verrouillage et fichiers générés',\n 'viewed.label': 'Vu',\n 'viewed.aria': 'Marquer {name} comme vu',\n 'viewed.hint': 'Appuyez sur V pour basculer le fichier actuel',\n 'viewed.changed': 'Modifié depuis la revue',\n 'viewed.progress': '{viewed} / {total} vus',\n 'viewed.progressAria': 'Fichiers vus',\n 'viewed.count': '{viewed}/{total}',\n 'viewed.saveFailed': 'Impossible d’enregistrer l’état de revue',\n 'viewed.hintHost': 'Enregistré sur GitHub · Appuyez sur V pour basculer le fichier actuel',\n 'viewed.saving': 'Enregistrement sur GitHub…',\n 'viewed.unavailable': 'Impossible de lire l’état de revue sur GitHub',\n 'viewed.readFailed': 'Impossible de lire l’état de revue sur GitHub ; les fichiers ne peuvent pas être marqués : {message}',\n 'viewed.syncFailed': 'Impossible d’enregistrer la marque de revue sur GitHub : {message}',\n 'viewed.syncStale': 'La PR contient de nouveaux commits ; la marque de revue n’a pas été enregistrée. Actualisez et marquez à nouveau le fichier.',\n 'viewed.syncUnknown': 'Impossible de confirmer que la marque de revue a été enregistrée : {message}. Actualisez pour voir son état réel.',\n 'commits.all': 'Tous les commits',\n 'commits.range': '{from}…{to}',\n 'commits.count': '{count} commits',\n 'commits.shiftHint': 'Maintenez Maj pour sélectionner des commits consécutifs',\n 'commits.loading': 'Chargement des commits…',\n 'commits.failed': 'Impossible de charger les commits',\n 'commits.truncatedOldest': 'Seuls les {count} commits les plus anciens sont listés',\n 'commits.truncatedNewest': 'Seuls les {count} commits les plus récents sont listés',\n 'commits.aria': 'Commits affichés : {commits}',\n 'commits.missing': 'Les commits sélectionnés ne sont plus inclus',\n 'commits.notLinear': 'Ces commits ne sont pas sur une même ligne d’historique',\n 'commits.showAll': 'Afficher tous les commits',\n 'diff.noMatchingFiles': 'Aucun fichier correspondant',\n 'diff.refresh': 'Actualiser les modifications',\n 'diff.expandAll': 'Développer tous les fichiers',\n 'diff.collapseAll': 'Réduire tous les fichiers',\n 'diff.split': 'Afficher côte à côte',\n 'diff.unified': 'Afficher sur une colonne',\n 'diff.splitAria': 'Côte à côte',\n 'diff.wrap': 'Replier les lignes longues',\n 'diff.nowrap': 'Ne pas replier les lignes longues',\n 'diff.wrapAria': 'Activer le retour à la ligne',\n 'diff.moreOptions': 'Plus d’options d’affichage',\n 'diff.unchanged': '{count} lignes inchangées',\n 'diff.unchangedRest': 'Lignes inchangées restantes',\n 'diff.newFile': 'Nouveau fichier',\n 'diff.deletedFile': 'Supprimé',\n 'diff.renamed': 'Renommé depuis {from}',\n 'diff.renamedPath': '{from} → {path}',\n 'diff.badgeUncommitted': 'Non commité',\n 'diff.binary': 'Fichier binaire ; ses modifications ne peuvent pas être affichées',\n 'diff.binaryLabel': 'Binaire',\n 'diff.largeCollapsed': 'Fichier volumineux : {count} lignes modifiées réduites',\n 'diff.fileTooLarge': 'Ce fichier est trop volumineux pour être affiché',\n 'diff.error': 'Impossible de lire les modifications',\n 'diff.tooLarge': 'Ces modifications sont trop volumineuses pour être affichées ici',\n 'diff.filterConfigFailed': 'Impossible de lire toute la configuration des filtres Git. Aucune comparaison effectuée. Vérifiez la configuration Git et la limite de sortie, puis réessayez.',\n 'diff.viewInBrowser': 'Voir dans le navigateur',\n 'diff.noForkPoint': 'Le point de divergence de cette branche est introuvable ; choisissez une branche de base ou une autre portée',\n 'diff.empty': 'Aucune modification',\n 'diff.omitted': '{count} autres fichiers non suivis ne sont pas affichés',\n 'diff.stale': 'La branche locale contient {count} commits non envoyés ; les modifications de la demande sont affichées',\n 'diff.moreActions': 'Autres actions pour {name}',\n 'diff.copyPath': 'Copier le chemin',\n 'diff.openFileInBrowser': 'Voir le fichier dans le navigateur',\n 'diff.openFileInSidebar': 'Ouvrir le fichier entier dans la barre latérale',\n 'time.now': 'à l’instant',\n 'time.minutes': 'il y a {n} min',\n 'time.hours': 'il y a {n} h',\n 'time.days': 'il y a {n} j',\n 'time.months': 'il y a {n} mois',\n 'time.years': 'il y a {n} ans',\n 'time.finished': '{state} · {time}',\n 'duration.seconds': '{seconds}s',\n 'duration.minutes': '{minutes} min {seconds} s',\n 'duration.hours': '{hours} h {minutes} min',\n 'worktree.label': 'Nouvel arbre de travail',\n 'worktree.hint': 'Exécutez cette session dans son propre arbre de travail : l’envoi crée une branche depuis celle choisie, sans que les modifications ou les commits affectent le dossier du projet',\n 'worktree.blocked.outside-writable-root': 'Les données Git sont hors des dossiers accessibles en écriture, notamment lorsque l’espace est déjà un arbre de travail ; cette fonction n’est pas encore disponible',\n 'worktree.blocked.read-only': 'Une session en lecture seule ne peut pas utiliser d’arbre de travail',\n 'worktree.base': 'Depuis {branch}',\n 'worktree.baseHead': 'Depuis le HEAD actuel',\n 'worktree.baseMenu': 'Branche de base',\n 'worktree.currentBranch': 'Actuelle',\n 'worktree.currentBranchTip': 'Branche actuelle : {branch}',\n 'worktree.detachedTip': 'Aucune branche active · {commit}',\n 'creation.title': 'Création de l’arbre de travail',\n 'creation.failed': 'Impossible de créer l’arbre de travail',\n 'creation.prepare': 'Créer la branche',\n 'creation.checkout': 'Extraire les fichiers',\n 'creation.details': 'Plus de détails',\n 'creation.branch': 'Branche',\n 'creation.base': 'Depuis',\n 'creation.head': 'HEAD actuel',\n 'creation.error': 'Raison',\n 'creation.skip': 'Continuer sans arbre de travail',\n 'creation.cancel': 'Annuler',\n 'creation.stopped': 'Création de l’arbre de travail arrêtée',\n 'creation.retry': 'Réessayer',\n 'creation.waiting': 'Le message sera envoyé après la création de l’arbre de travail',\n 'missing.title': 'L’arbre de travail est indisponible',\n 'missing.unknown': 'La restauration est incomplète et la branche {branch} ne peut pas être inspectée. Corrigez l’erreur puis réessayez, ou continuez dans le projet',\n 'missing.kept': 'L’arbre de la branche {branch} peut être restauré à son emplacement initial. Les modifications non commitées avant sa suppression ne peuvent pas être récupérées',\n 'missing.recreated': 'La branche {branch} a aussi été supprimée. Elle sera recréée depuis le commit initial de l’arbre, sans les commits ultérieurs ni les modifications non commitées',\n 'missing.restore': 'Restaurer l’arbre de travail',\n 'missing.leave': 'Continuer dans le projet',\n 'missing.waiting': 'Le message sera envoyé après la restauration de l’arbre ou la poursuite dans le projet',\n 'restoration.title': 'Restauration de l’arbre de travail',\n 'restoration.prepare': 'Préparer l’arbre de travail',\n 'branch.worktree': 'Arbre de travail (depuis {base}) : {path}',\n 'branch.linked': 'Arbre de travail : {path}',\n 'branch.project': 'Dossier du projet : {path}',\n 'branch.missing': 'Arbre de travail indisponible : {path}',\n 'toast.removed': '{name} a été retiré de cette session',\n 'toast.undo': 'Annuler',\n 'toast.undoFailed': 'Impossible d’annuler',\n 'toast.removeFailed': 'Impossible de retirer',\n 'toast.refreshFailed': 'Échec de l’actualisation',\n 'toast.copied': 'Lien copié',\n 'toast.copyFailed': 'Échec de la copie',\n 'toast.branchesFailed': 'Impossible de lire les branches',\n 'toast.worktreeFailed': 'Impossible de modifier l’option de l’arbre de travail',\n 'toast.worktreeStarted': 'Cette session a déjà commencé et ne peut plus passer à un arbre de travail',\n 'toast.restored': 'Arbre de travail restauré',\n 'toast.restoreFailed': 'Impossible de restaurer l’arbre de travail : {message}',\n 'toast.leaveFailed': 'Impossible de passer au dossier du projet ; réessayez',\n 'toast.markedReady': '{name} est prête pour la revue',\n 'toast.markReadyFailed': 'Impossible de la marquer comme prête : {message}',\n 'toast.merged': '{name} a été fusionné',\n 'toast.mergeFailed': 'Impossible de fusionner : {message}',\n 'toast.mergeStale': '{name} contient de nouveaux commits ; vérifiez-les avant de fusionner',\n 'toast.pathCopied': 'Chemin copié',\n 'toast.expandFailed': 'Impossible d’afficher les lignes inchangées : {message}',\n 'toast.expandStale': 'Le fichier a changé depuis la lecture des modifications ; actualisez avant de développer',\n 'toast.prompted': 'Envoyé : {text}',\n 'toast.promptFailed': 'Impossible d’envoyer le message',\n 'thread.list': 'Fils',\n 'thread.listAria': 'Fils de revue, {count} au total',\n 'thread.close': 'Fermer la liste des fils',\n 'thread.filterAria': 'Filtrer les fils',\n 'thread.filter.unresolved': 'Non résolus',\n 'thread.filter.resolved': 'Résolus',\n 'thread.filter.all': 'Tous',\n 'thread.none': 'Aucun fil ne correspond à ce filtre',\n 'thread.empty': 'Aucun fil de revue pour le moment',\n 'thread.back': 'Retour aux modifications',\n 'thread.truncated': 'Trop de fils ; seuls les {count} premiers sont affichés',\n 'thread.openAll': 'Voir sur GitHub',\n 'thread.replies': '{count} réponses',\n 'thread.fileLevel': 'Fil du fichier',\n 'thread.onCommit': 'sur {commit}',\n 'thread.originally': 'À l’origine {range}',\n 'thread.outdatedTag': 'Obsolète',\n 'thread.elsewhereTag': 'Hors des commits choisis',\n 'thread.author': 'Auteur',\n 'thread.bot': 'bot',\n 'thread.deletedAuthor': 'Compte supprimé',\n 'thread.resolvedRow': 'Fil résolu · {author}',\n 'thread.expand': 'Développer',\n 'thread.collapse': 'Réduire',\n 'thread.outdatedSection': '{count} fils obsolètes : des commits ultérieurs ont modifié leur code',\n 'thread.viewOriginal': 'Voir le fichier à ce commit',\n 'thread.hideOriginal': 'Masquer le fichier à ce commit',\n 'thread.originalLoading': 'Lecture du fichier à ce commit…',\n 'thread.originalFailed': 'Impossible de lire le fichier à ce commit : {message}',\n 'thread.openOnHost': 'Voir sur GitHub',\n 'thread.unresolvedCount': '{count} non résolus',\n 'thread.unresolvedAria': '{name} a {count} fils non résolus ; aller au suivant',\n 'thread.next': 'Aller au fil non résolu suivant',\n 'thread.treeCount': '{count} fils non résolus',\n 'thread.loadFailed': 'Impossible de lire les fils GitHub : {message}',\n 'thread.inputFailed': 'Le champ de saisie n’a pas pu recevoir ce fil ; réessayez plus tard',\n 'thread.copy': 'Copier',\n 'thread.copied': 'Copié',\n 'thread.codeBlock': 'Bloc de code',\n 'thread.wrap': 'Activer le retour à la ligne',\n 'thread.unwrap': 'Désactiver le retour à la ligne',\n 'thread.footnotes': 'Notes de bas de page',\n 'review.browserDraft': 'Brouillon du navigateur',\n 'review.browserDrafts': '{count} brouillons de commentaires sont enregistrés uniquement dans ce navigateur, pas dans votre revue GitHub en attente. Ajoutez-les à la revue ou supprimez-les d’abord.',\n 'review.discard': 'Abandonner la revue',\n 'review.discardConfirm': 'Abandonner votre revue en attente et ses {count} commentaires ? Cette action est irréversible.',\n 'review.discarding': 'Abandon…',\n 'review.discarded': 'Revue abandonnée',\n 'thread.reply': 'Répondre',\n 'thread.replyPlaceholder': 'Répondre…',\n 'thread.replyActions': 'Options de réponse',\n 'thread.resolve': 'Résoudre le fil',\n 'thread.unresolve': 'Rouvrir le fil',\n 'thread.commentActions': 'Actions du commentaire de {author}',\n 'thread.editAria': 'Modifier le commentaire',\n 'thread.save': 'Enregistrer',\n 'thread.saving': 'Enregistrement…',\n 'thread.deleting': 'Suppression…',\n 'thread.deleteConfirm': 'Supprimer ce commentaire ?',\n 'thread.deleteLast': 'Supprimer ce commentaire ? C’est le seul du fil, qui sera donc supprimé aussi.',\n 'thread.writeUnknown': 'Impossible de confirmer que GitHub a appliqué la modification. Les fils sont en cours de relecture ; vérifiez-les avant de réessayer.',\n 'thread.writeFailed': 'GitHub n’a pas appliqué la modification : {message}',\n 'thread.writeStale': 'La PR contient de nouveaux commits. Les fils sont relus au nouveau head ; vérifiez-les, puis réessayez.',\n 'thread.writeUnsupported': 'Ce service ne permet pas de modifier les fils ici.',\n}\n\n/** German copy with the same keys. */\nexport const de: Record<ForgePanelKey, string> = {\n 'settings.retainOnArchive.title': 'Arbeitsbäume beim Archivieren behalten',\n 'settings.retainOnArchive.description': 'Eingeschaltet behält das Archivieren einer Sitzung den von ihr erstellten Arbeitsbaum; ausgeschaltet wird ein sauberer, nicht referenzierter Arbeitsbaum entfernt, während Branch und Commits erhalten bleiben.',\n 'settings.unavailable': 'Die Arbeitsbaum-Einstellungen sind nicht verfügbar.',\n 'settings.readOnly': 'Diese Bereitstellung speichert Einstellungen schreibgeschützt.',\n 'settings.saveFailed': 'Die Bereitstellung hat diese Werte nicht übernommen; sie wurden zur Korrektur belassen.',\n 'settings.save': 'Speichern',\n 'settings.saving': 'Wird gespeichert…',\n 'toast.archiveCleanupScheduled': 'Archiviert; der Arbeitsbaum wird entfernt',\n 'toast.archiveCleanupFailed': 'Archiviert; der Arbeitsbaum konnte nicht entfernt werden. Der Branch bleibt erhalten. Prüfe den Arbeitsbaum.',\n 'review.startReview': 'Review starten',\n 'review.githubActions': 'GitHub-Kommentaroptionen',\n 'review.publishing': 'Wird veröffentlicht…',\n 'review.submitting': 'Wird gesendet…',\n 'review.close': 'Schließen',\n 'review.pending': 'Ausstehend',\n 'review.quoted': 'Zum Eingabefeld hinzugefügt',\n 'review.yourComment': 'Dein Kommentar',\n 'review.outdated': 'Code aktualisiert',\n 'review.done': 'Fertig',\n 'review.addComment': 'Kommentar hinzufügen',\n 'diff.resizeFileTree': 'Dateibaum skalieren',\n 'diff.fileTree': 'Dateibaum',\n 'diff.showFileTreeLeft': 'Dateibaum links anzeigen',\n 'diff.moveFileTreeRight': 'Dateibaum nach rechts verschieben',\n 'guide.title': 'Code-Review und Änderungen',\n 'guide.description': 'Codeänderungen und Änderungsanfragen dieser Sitzung prüfen',\n 'diff.hideFileTree': 'Dateibaum ausblenden',\n 'review.range': '{range} kommentieren',\n 'review.comment': 'Kommentar schreiben…',\n 'review.cancel': 'Abbrechen',\n 'review.addToInput': 'Zum Eingabefeld hinzufügen',\n 'review.publish': 'Einzelnen Kommentar veröffentlichen',\n 'review.queue': 'Zur Review hinzufügen',\n 'review.selectLine': 'Zeile {line} auswählen',\n 'review.inputFailed': 'Die Referenz kann noch nicht eingefügt werden. Versuche es später erneut.',\n 'review.saveFailed': 'Der Entwurf konnte nicht gespeichert werden. Prüfe den Browserspeicher.',\n 'review.unknown': 'Das Ergebnis der Übermittlung ist unbekannt. Prüfe GitHub vor einer erneuten Veröffentlichung.',\n 'review.submit': 'Review absenden',\n 'review.summary': 'Zusammenfassung der Review…',\n 'review.approve': 'Genehmigen',\n 'review.requestChanges': 'Änderungen anfordern',\n 'review.summaryRequired': 'Gib eine Zusammenfassung des Reviews ein, um Änderungen anzufordern.',\n 'review.ownChangeRequest': 'Das ist dein eigener PR. GitHub erlaubt Kommentare, aber keine Genehmigung und keine Änderungsanforderung.',\n 'review.commentOnly': 'Kommentieren',\n 'review.drafts': 'Ausstehende Kommentare ({count})',\n 'review.edit': 'Bearbeiten',\n 'review.remove': 'Löschen',\n 'review.stale': 'Der PR enthält neue Commits. Aktualisiere die Ansicht und wähle die Zeilen erneut aus.',\n 'review.published': 'Auf GitHub veröffentlicht',\n 'review.submitted': 'Review abgesendet',\n 'review.failed': 'Übermittlung fehlgeschlagen: {message}',\n 'review.unsupported': 'Dieser Dienst unterstützt keine Review-Übermittlung.',\n 'review.loadFailed': 'Entwürfe konnten nicht gelesen werden. Prüfe den Browserspeicher.',\n 'review.recheck': 'Auf GitHub ansehen',\n 'review.confirmRetry': 'Geprüft; erneutes Senden erlauben',\n 'list.worktree': 'Im eigenen Arbeitsbaum',\n 'list.stateChecks': '{state} · {checks}',\n 'list.more': '{count} weitere Änderungsanfragen',\n 'tab.title': 'Änderungsanfragen',\n 'header.label': 'Änderungsanfragen dieser Sitzung',\n 'header.attention': 'Änderungsanfragen dieser Sitzung erfordern Aufmerksamkeit',\n 'checkout.worktree': 'Arbeitsbaum',\n 'checkout.worktreeFrom': 'Arbeitsbaum · aus {base}',\n 'checkout.project': 'Projektverzeichnis',\n 'checkout.detached': 'Auf keinem Branch',\n 'checkout.restore': 'Wiederherstellen',\n 'checkout.copyWorktreePath': 'Pfad des Arbeitsbaums kopieren',\n 'checkout.copyProjectPath': 'Projektpfad kopieren',\n 'checkout.none': 'Dieses Verzeichnis ist kein Git-Repository',\n 'checkout.failed': 'Git-Informationen konnten nicht gelesen werden',\n 'changes.title': 'Änderungsanfragen dieser Sitzung · {count}',\n 'changes.empty': 'Diese Sitzung hat noch keine Änderungsanfragen',\n 'changes.emptyHint': 'Hier erscheinen verknüpfte Änderungsanfragen: in dieser Sitzung erstellt, angesehen, bearbeitet oder ausgecheckt oder auf ihren aktuellen oder gepushten Branches geöffnet',\n 'changes.local.title': 'Lokale Änderungen',\n 'changes.local.refs': '{head} → {base}',\n 'changes.local.files': '{count} Dateien',\n 'changes.local.viewAria': 'Änderungen dieser Sitzung anzeigen: {count} Dateien, {added} Zeilen hinzugefügt, {deleted} Zeilen gelöscht',\n 'changes.local.create': 'Änderungsanfrage erstellen',\n 'changes.local.prompt': 'Erstelle eine Änderungsanfrage für die Änderungen dieser Sitzung',\n 'signin.title': 'Bei {host} anmelden, um den Status der Änderungsanfragen anzuzeigen',\n 'signin.copy': 'Anmeldebefehl kopieren',\n 'signin.unavailable': 'Änderungsanfragen auf {host} konnten nicht gelesen werden: {message}',\n 'refresh': 'Status aktualisieren',\n 'retry': 'Erneut versuchen',\n 'stream.failed': 'Das Panel für Änderungsanfragen konnte nicht geladen werden',\n 'change.number': '#{number}',\n 'change.stateAria': 'Status der Änderungsanfrage: {state}',\n 'change.state.open': 'Offen',\n 'change.state.blocked': 'Aufmerksamkeit erforderlich',\n 'change.state.draft': 'Entwurf',\n 'change.state.merged': 'Zusammengeführt',\n 'change.state.closed': 'Geschlossen',\n 'change.state.unknown': 'Unbekannt',\n 'change.expand': '{name} aufklappen',\n 'change.collapse': '{name} einklappen',\n 'change.ci.none': 'Keine Prüfungen',\n 'change.ci.running': 'Prüfungen laufen',\n 'change.ci.passed': 'Prüfungen bestanden',\n 'change.ci.failed': '{count} Prüfungen fehlgeschlagen',\n 'change.ci.cancelled': '{count} Prüfungen abgebrochen',\n 'change.ci.failedUnlisted': 'Prüfungen fehlgeschlagen',\n 'change.checks.failed': '{count} fehlgeschlagen',\n 'change.checks.running': '{count} laufen',\n 'change.checks.passed': '{count} bestanden',\n 'change.checks.cancelled': '{count} abgebrochen',\n 'change.checks.other': '{count} weitere',\n 'change.checks.truncated': '{count} Prüfungen geladen; weitere verfügbar',\n 'change.checks.loading': 'Weitere Prüfungen werden geladen',\n 'change.checks.loadFailed': 'Weitere Prüfungen konnten nicht geladen werden: {message}',\n 'change.checks.retry': 'Prüfungen erneut laden',\n 'change.check.running': 'Läuft',\n 'change.check.queued': 'In der Warteschlange',\n 'change.flag.changesRequested': 'Änderungen angefordert',\n 'change.flag.conflicting': 'Konflikte',\n 'change.flag.draft': 'Entwurf',\n 'change.failure.unavailable': 'Der Status der Änderungsanfrage konnte nicht gelesen werden',\n 'change.failure.notFound': 'Die Änderungsanfrage existiert nicht oder ist nicht zugänglich',\n 'change.failure.unauthenticated': 'Anmelden, um den Status zu lesen',\n 'change.unserved': 'Der Status von Änderungsanfragen wird für diesen Code-Host noch nicht unterstützt',\n 'change.view': 'Im Browser öffnen',\n 'change.copy': 'Link zur Änderungsanfrage kopieren',\n 'change.viewChangesAria': 'Änderungen von {name} anzeigen: {added} Zeilen hinzugefügt, {deleted} Zeilen gelöscht',\n 'change.remove': 'Aus dieser Sitzung entfernen',\n 'change.removeAria': '{name} aus dieser Sitzung entfernen',\n 'change.row.checks': 'Prüfungen',\n 'change.row.review': 'Review',\n 'change.row.merge': 'Zusammenführen',\n 'change.row.changes': 'Änderungen',\n 'change.review.approved': 'Genehmigt',\n 'change.review.changesRequested': 'Änderungen angefordert',\n 'change.review.required': 'Review erforderlich',\n 'change.review.none': 'Kein Review angefordert',\n 'change.merge.mergeable': 'Keine Konflikte',\n 'change.merge.conflicting': 'Konflikte mit {base}',\n 'change.merge.unknown': 'Konflikte werden geprüft',\n 'change.mergedTo': 'In {base} zusammengeführt',\n 'change.markReady': 'Bereit zum Review',\n 'change.merge': 'Zusammenführen',\n 'change.mergeTitle': '{name} in {base} zusammenführen',\n 'change.mergeMethod.squash': 'Squash und zusammenführen',\n 'change.mergeMethod.merge': 'Merge-Commit erstellen',\n 'change.mergeMethod.rebase': 'Rebase und zusammenführen',\n 'change.mergeNote.squash': 'Alle Commits zu einem zusammenfassen',\n 'change.mergeNote.merge': 'Alle Commits beibehalten und einen Merge-Commit hinzufügen',\n 'change.mergeNote.rebase': 'Jeden Commit auf {base} neu anwenden',\n 'change.mergeConfirm': 'Zusammenführung bestätigen',\n 'change.mergeChanged': 'Neue Commits sind eingetroffen. Vor dem erneuten Öffnen des Merge-Menüs prüfen',\n 'checks.allPassed': 'Alle {count} Prüfungen bestanden',\n 'checks.showQuiet': '{count} weitere anzeigen (bestanden, übersprungen)',\n 'reviewers.requestMore': 'Review bei jemand anderem anfordern…',\n 'change.threads': '{count} ungelöste Diskussionen',\n 'issues.label': 'Verknüpfte Issues',\n 'issues.separator': ', ',\n 'issues.more': ' und weitere',\n 'issues.aria': 'Issue {label} öffnen: {title}',\n 'checks.group.failed': 'Fehlgeschlagen',\n 'checks.group.running': 'Laufend',\n 'checks.group.passed': 'Bestanden',\n 'checks.group.cancelled': 'Abgebrochen',\n 'checks.group.other': 'Übersprungen und andere',\n 'checks.rerunFailed': 'Fehlgeschlagene erneut ausführen',\n 'toast.rerunRequested': 'Erneute Ausführung der Prüfungen von {name} angefordert',\n 'toast.rerunFailed': 'Die Prüfungen konnten nicht erneut ausgeführt werden: {message}',\n 'toast.rerunStale': '{name} hat neue Commits. Prüfungen des neuen Commits ansehen, bevor sie erneut ausgeführt werden.',\n 'reviewers.rerequestAria': 'Review von {login} erneut anfordern',\n 'reviewers.pending': 'Ausstehend',\n 'reviewers.approved': 'Genehmigt',\n 'reviewers.changesRequested': 'Änderungen angefordert',\n 'reviewers.commented': 'Kommentiert',\n 'reviewers.dismissed': 'Verworfen',\n 'reviewers.older': 'Vor dem neuesten Commit',\n 'reviewers.codeOwner': 'Code-Owner',\n 'reviewers.team': 'Team',\n 'reviewers.bot': 'Bot',\n 'reviewers.truncated': 'Nicht alle Reviewer sind aufgeführt; die Anfrage im Browser zeigt alle',\n 'reviewers.none': 'Noch keine Reviewer',\n 'reviewers.search': 'Personen suchen',\n 'reviewers.loading': 'Personen werden geladen',\n 'reviewers.loadFailed': 'Personen konnten nicht aufgelistet werden',\n 'reviewers.empty': 'Keine passenden Personen',\n 'reviewers.suggested': 'Vorgeschlagen',\n 'toast.reviewRequested': 'Review von {name} bei {login} angefordert',\n 'toast.reviewRequestFailed': 'Das Review konnte nicht angefordert werden: {message}',\n 'branch.behind': 'Hinter {base}',\n 'branch.update': 'Branch aktualisieren',\n 'branch.updateTitle': '{head} mit neuen Commits aus {base} aktualisieren',\n 'branch.method.merge': 'Mit Merge-Commit aktualisieren',\n 'branch.method.rebase': 'Mit Rebase aktualisieren',\n 'branch.note.merge': 'Fügt dem Branch einen Merge-Commit hinzu',\n 'branch.note.rebase': 'Rebased die Commits des Branches auf {base} und schreibt sie neu',\n 'branch.confirm': 'Aktualisierung bestätigen',\n 'branch.changed': 'Neue Commits sind eingetroffen. Bitte prüfen und das Menü erneut öffnen.',\n 'toast.branchUpdated': 'Aktualisierung des Branches von {name} gestartet',\n 'toast.branchUpdateFailed': 'Der Branch konnte nicht aktualisiert werden: {message}',\n 'toast.actionUnknown': 'Ob die Aktion für {name} wirksam wurde, ließ sich nicht bestätigen. Vor einem neuen Versuch im Browser prüfen.',\n 'toast.branchUpdateStale': '{name} hat neue Commits. Bitte vor dem Aktualisieren prüfen.',\n 'diff.tab': 'Änderungen',\n 'diff.tabNumbered': 'Änderungen in #{number}',\n 'diff.scope.branch': 'Branch',\n 'diff.scope.uncommitted': 'Nicht committet',\n 'diff.scope.unstaged': 'Nicht vorgemerkt',\n 'diff.scope.staged': 'Vorgemerkt',\n 'diff.scopeNote.uncommitted': 'Vergleich mit HEAD, einschließlich nicht verfolgter Dateien',\n 'diff.scopeNote.unstaged': 'Vergleich mit dem Index, einschließlich nicht verfolgter Dateien',\n 'diff.scopeNote.staged': 'Vergleich des Index mit HEAD',\n 'diff.base.aria': 'Basis-Branch: {base}',\n 'diff.base.uncommitted': 'Einschließlich nicht committeter Änderungen',\n 'diff.base.search': 'Branches suchen',\n 'diff.base.loading': 'Branches werden gelesen…',\n 'diff.base.empty': 'Keine passenden Branches',\n 'diff.base.automatic': 'Standard',\n 'diff.base.worktree': 'Start des Arbeitsbaums',\n 'diff.base.remote': 'Remote-Branches',\n 'diff.base.local': 'Lokale Branches',\n 'diff.base.note': 'Vergleich mit der Merge-Basis von HEAD und dem gewählten Branch, einschließlich nicht committeter Änderungen',\n 'diff.baseMissing': 'Der Basis-Branch {base} wurde nicht gefunden; er wurde möglicherweise gelöscht',\n 'diff.baseUnrelated': '{base} hat keinen gemeinsamen Verlauf mit HEAD',\n 'diff.useAutomaticBase': 'Standard-Basis-Branch verwenden',\n 'diff.allFiles': 'Alle {count} Dateien',\n 'diff.filterFiles': 'Dateien filtern…',\n 'lens.aria': 'Prüfebene',\n 'lens.all': 'Alle',\n 'lens.interface': 'Schnittstelle',\n 'lens.implementation': 'Implementierung',\n 'lens.test': 'Tests',\n 'lens.testHidden': 'Testdateien sind ausgeblendet',\n 'lens.menuAria': 'Prüfebene: {lens}',\n 'lens.empty': 'Keine Dateien anzuzeigen',\n 'tests.hide': 'Testdateien ausblenden',\n 'tests.hideHint': 'Blendet Tests, Snapshots, Sprachdateien, Lockfiles und generierte Dateien aus',\n 'viewed.label': 'Angesehen',\n 'viewed.aria': '{name} als angesehen markieren',\n 'viewed.hint': 'V schaltet die aktuelle Datei um',\n 'viewed.changed': 'Seit dem Ansehen geändert',\n 'viewed.progress': '{viewed} / {total} angesehen',\n 'viewed.progressAria': 'Angesehene Dateien',\n 'viewed.count': '{viewed}/{total}',\n 'viewed.saveFailed': 'Der Ansichtsstatus konnte nicht gespeichert werden',\n 'viewed.hintHost': 'Auf GitHub gespeichert · V schaltet die aktuelle Datei um',\n 'viewed.saving': 'Wird auf GitHub gespeichert…',\n 'viewed.unavailable': 'Der Ansichtsstatus konnte nicht von GitHub gelesen werden',\n 'viewed.readFailed': 'Der Ansichtsstatus konnte nicht von GitHub gelesen werden, daher lassen sich keine Dateien markieren: {message}',\n 'viewed.syncFailed': 'Die Ansichtsmarkierung konnte nicht auf GitHub gespeichert werden: {message}',\n 'viewed.syncStale': 'Der PR hat neue Commits, daher wurde die Ansichtsmarkierung nicht gespeichert. Aktualisieren und die Datei erneut markieren.',\n 'viewed.syncUnknown': 'Es ließ sich nicht bestätigen, dass die Ansichtsmarkierung gespeichert wurde: {message}. Zum Prüfen des tatsächlichen Stands aktualisieren.',\n 'commits.all': 'Alle Commits',\n 'commits.range': '{from}…{to}',\n 'commits.count': '{count} Commits',\n 'commits.shiftHint': 'Mit gedrückter Umschalttaste aufeinanderfolgende Commits wählen',\n 'commits.loading': 'Commits werden geladen…',\n 'commits.failed': 'Commits konnten nicht geladen werden',\n 'commits.truncatedOldest': 'Nur die ältesten {count} Commits werden aufgeführt',\n 'commits.truncatedNewest': 'Nur die neuesten {count} Commits werden aufgeführt',\n 'commits.aria': 'Angezeigte Commits: {commits}',\n 'commits.missing': 'Die gewählten Commits sind nicht mehr enthalten',\n 'commits.notLinear': 'Diese Commits liegen nicht auf einer Verlaufslinie',\n 'commits.showAll': 'Alle Commits anzeigen',\n 'diff.noMatchingFiles': 'Keine passenden Dateien',\n 'diff.refresh': 'Änderungen aktualisieren',\n 'diff.expandAll': 'Alle Dateien aufklappen',\n 'diff.collapseAll': 'Alle Dateien einklappen',\n 'diff.split': 'Nebeneinander anzeigen',\n 'diff.unified': 'In einer Spalte anzeigen',\n 'diff.splitAria': 'Nebeneinander',\n 'diff.wrap': 'Lange Zeilen umbrechen',\n 'diff.nowrap': 'Lange Zeilen nicht umbrechen',\n 'diff.wrapAria': 'Zeilen umbrechen',\n 'diff.moreOptions': 'Weitere Ansichtsoptionen',\n 'diff.unchanged': '{count} unveränderte Zeilen',\n 'diff.unchangedRest': 'Übrige unveränderte Zeilen',\n 'diff.newFile': 'Neue Datei',\n 'diff.deletedFile': 'Gelöscht',\n 'diff.renamed': 'Umbenannt von {from}',\n 'diff.renamedPath': '{from} → {path}',\n 'diff.badgeUncommitted': 'Nicht committet',\n 'diff.binary': 'Binärdatei; Änderungen können nicht angezeigt werden',\n 'diff.binaryLabel': 'Binär',\n 'diff.largeCollapsed': 'Große Datei: {count} geänderte Zeilen eingeklappt',\n 'diff.fileTooLarge': 'Diese Datei ist zu groß zum Anzeigen',\n 'diff.error': 'Änderungen konnten nicht gelesen werden',\n 'diff.tooLarge': 'Diese Änderungen sind zu groß, um sie hier anzuzeigen',\n 'diff.filterConfigFailed': 'Die Git-Filtereinstellungen konnten nicht vollständig gelesen werden. Es wurde kein Vergleich ausgeführt. Prüfe die Git-Einstellungen und das Ausgabelimit und versuche es erneut.',\n 'diff.viewInBrowser': 'Im Browser ansehen',\n 'diff.noForkPoint': 'Kein Verzweigungspunkt für diesen Branch gefunden; einen Basis-Branch oder einen anderen Bereich wählen',\n 'diff.empty': 'Keine Änderungen',\n 'diff.omitted': '{count} weitere nicht verfolgte Dateien werden nicht angezeigt',\n 'diff.stale': 'Der lokale Branch hat {count} nicht gepushte Commits; angezeigt werden die Änderungen der Änderungsanfrage',\n 'diff.moreActions': 'Weitere Aktionen für {name}',\n 'diff.copyPath': 'Pfad kopieren',\n 'diff.openFileInBrowser': 'Datei im Browser ansehen',\n 'diff.openFileInSidebar': 'Die gesamte Datei in der Seitenleiste öffnen',\n 'time.now': 'gerade eben',\n 'time.minutes': 'vor {n} Min.',\n 'time.hours': 'vor {n} Std.',\n 'time.days': 'vor {n} Tagen',\n 'time.months': 'vor {n} Monaten',\n 'time.years': 'vor {n} Jahren',\n 'time.finished': '{state} · {time}',\n 'duration.seconds': '{seconds} Sek.',\n 'duration.minutes': '{minutes} Min. {seconds} Sek.',\n 'duration.hours': '{hours} Std. {minutes} Min.',\n 'worktree.label': 'Neuer Arbeitsbaum',\n 'worktree.hint': 'Diese Sitzung in einem eigenen Arbeitsbaum ausführen: Beim Senden wird aus dem gewählten Branch ein neuer erstellt; Änderungen und Commits lassen das Projektverzeichnis unverändert',\n 'worktree.blocked.outside-writable-root': 'Die Git-Daten liegen außerhalb der beschreibbaren Verzeichnisse, etwa wenn der Arbeitsbereich selbst ein Arbeitsbaum ist; Arbeitsbäume werden hier noch nicht unterstützt',\n 'worktree.blocked.read-only': 'Eine schreibgeschützte Sitzung kann keinen Arbeitsbaum verwenden',\n 'worktree.base': 'Aus {branch}',\n 'worktree.baseHead': 'Aus dem aktuellen HEAD',\n 'worktree.baseMenu': 'Basis-Branch',\n 'worktree.currentBranch': 'Aktuell',\n 'worktree.currentBranchTip': 'Aktueller Branch: {branch}',\n 'worktree.detachedTip': 'Auf keinem Branch · {commit}',\n 'creation.title': 'Arbeitsbaum wird erstellt',\n 'creation.failed': 'Arbeitsbaum konnte nicht erstellt werden',\n 'creation.prepare': 'Branch erstellen',\n 'creation.checkout': 'Dateien auschecken',\n 'creation.details': 'Weitere Details',\n 'creation.branch': 'Branch',\n 'creation.base': 'Basis',\n 'creation.head': 'Aktueller HEAD',\n 'creation.error': 'Grund',\n 'creation.skip': 'Ohne Arbeitsbaum fortfahren',\n 'creation.cancel': 'Abbrechen',\n 'creation.stopped': 'Erstellung des Arbeitsbaums angehalten',\n 'creation.retry': 'Erneut versuchen',\n 'creation.waiting': 'Die Nachricht wird gesendet, sobald der Arbeitsbaum erstellt ist',\n 'missing.title': 'Arbeitsbaum nicht verfügbar',\n 'missing.unknown': 'Die Wiederherstellung ist unvollständig und Branch {branch} kann nicht geprüft werden. Den Fehler beheben und erneut versuchen oder im Projekt fortfahren',\n 'missing.kept': 'Der Arbeitsbaum von Branch {branch} kann am ursprünglichen Ort wiederhergestellt werden. Nicht committete Änderungen vor dem Entfernen können nicht wiederhergestellt werden',\n 'missing.recreated': 'Branch {branch} wurde ebenfalls entfernt. Er wird vom ursprünglichen Commit des Arbeitsbaums neu erstellt, ohne spätere Commits oder nicht committete Änderungen',\n 'missing.restore': 'Arbeitsbaum wiederherstellen',\n 'missing.leave': 'Im Projekt fortfahren',\n 'missing.waiting': 'Die Nachricht wird gesendet, nachdem der Arbeitsbaum wiederhergestellt wurde oder Sie im Projekt fortfahren',\n 'restoration.title': 'Arbeitsbaum wird wiederhergestellt',\n 'restoration.prepare': 'Arbeitsbaum vorbereiten',\n 'branch.worktree': 'Arbeitsbaum (aus {base}): {path}',\n 'branch.linked': 'Arbeitsbaum: {path}',\n 'branch.project': 'Projektverzeichnis: {path}',\n 'branch.missing': 'Arbeitsbaum nicht verfügbar: {path}',\n 'toast.removed': '{name} wurde aus dieser Sitzung entfernt',\n 'toast.undo': 'Rückgängig machen',\n 'toast.undoFailed': 'Rückgängig machen fehlgeschlagen',\n 'toast.removeFailed': 'Entfernen fehlgeschlagen',\n 'toast.refreshFailed': 'Aktualisierung fehlgeschlagen',\n 'toast.copied': 'Link kopiert',\n 'toast.copyFailed': 'Das Kopieren ist fehlgeschlagen',\n 'toast.branchesFailed': 'Branches konnten nicht gelesen werden',\n 'toast.worktreeFailed': 'Die Arbeitsbaum-Option konnte nicht geändert werden',\n 'toast.worktreeStarted': 'Diese Sitzung wurde bereits gestartet und kann nicht mehr zu einem Arbeitsbaum wechseln',\n 'toast.restored': 'Arbeitsbaum wiederhergestellt',\n 'toast.restoreFailed': 'Arbeitsbaum konnte nicht wiederhergestellt werden: {message}',\n 'toast.leaveFailed': 'Wechsel zum Projektverzeichnis fehlgeschlagen; erneut versuchen',\n 'toast.markedReady': '{name} ist zum Review bereit',\n 'toast.markReadyFailed': 'Konnte nicht als bereit markiert werden: {message}',\n 'toast.merged': '{name} wurde zusammengeführt',\n 'toast.mergeFailed': 'Zusammenführung fehlgeschlagen: {message}',\n 'toast.mergeStale': '{name} enthält neue Commits; vor dem Zusammenführen prüfen',\n 'toast.pathCopied': 'Pfad kopiert',\n 'toast.expandFailed': 'Unveränderte Zeilen konnten nicht angezeigt werden: {message}',\n 'toast.expandStale': 'Die Datei wurde nach dem Lesen der Änderungen verändert; vor dem Aufklappen aktualisieren',\n 'toast.prompted': 'Gesendet: {text}',\n 'toast.promptFailed': 'Nachricht konnte nicht gesendet werden',\n 'thread.list': 'Threads',\n 'thread.listAria': 'Review-Threads, insgesamt {count}',\n 'thread.close': 'Threadliste schließen',\n 'thread.filterAria': 'Threads filtern',\n 'thread.filter.unresolved': 'Ungelöst',\n 'thread.filter.resolved': 'Gelöst',\n 'thread.filter.all': 'Alle',\n 'thread.none': 'Keine Threads entsprechen diesem Filter',\n 'thread.empty': 'Noch keine Review-Threads',\n 'thread.back': 'Zurück zu den Änderungen',\n 'thread.truncated': 'Zu viele Threads; die ersten {count} werden angezeigt',\n 'thread.openAll': 'Auf GitHub ansehen',\n 'thread.replies': '{count} Antworten',\n 'thread.fileLevel': 'Thread zur Datei',\n 'thread.onCommit': 'auf {commit}',\n 'thread.originally': 'Ursprünglich {range}',\n 'thread.outdatedTag': 'Veraltet',\n 'thread.elsewhereTag': 'Nicht in den gewählten Commits',\n 'thread.author': 'Autor',\n 'thread.bot': 'Bot',\n 'thread.deletedAuthor': 'Gelöschtes Konto',\n 'thread.resolvedRow': 'Gelöster Thread · {author}',\n 'thread.expand': 'Aufklappen',\n 'thread.collapse': 'Zuklappen',\n 'thread.outdatedSection': '{count} veraltete Threads: Spätere Commits haben ihren Code geändert',\n 'thread.viewOriginal': 'Datei in diesem Commit ansehen',\n 'thread.hideOriginal': 'Datei in diesem Commit ausblenden',\n 'thread.originalLoading': 'Datei in diesem Commit wird gelesen…',\n 'thread.originalFailed': 'Die Datei in diesem Commit konnte nicht gelesen werden: {message}',\n 'thread.openOnHost': 'Auf GitHub ansehen',\n 'thread.unresolvedCount': '{count} ungelöst',\n 'thread.unresolvedAria': '{name} hat {count} ungelöste Threads; zum nächsten springen',\n 'thread.next': 'Zum nächsten ungelösten Thread springen',\n 'thread.treeCount': '{count} ungelöste Threads',\n 'thread.loadFailed': 'GitHub-Threads konnten nicht gelesen werden: {message}',\n 'thread.inputFailed': 'Das Eingabefeld konnte diesen Thread nicht aufnehmen; später erneut versuchen',\n 'thread.copy': 'Kopieren',\n 'thread.copied': 'Kopiert',\n 'thread.codeBlock': 'Codeblock',\n 'thread.wrap': 'Zeilen umbrechen',\n 'thread.unwrap': 'Zeilen nicht umbrechen',\n 'thread.footnotes': 'Fußnoten',\n 'review.browserDraft': 'Browser-Entwurf',\n 'review.browserDrafts': '{count} Kommentarentwürfe sind nur in diesem Browser gespeichert, nicht in deiner ausstehenden GitHub-Review. Füge sie zuerst zur Review hinzu oder lösche sie.',\n 'review.discard': 'Review verwerfen',\n 'review.discardConfirm': 'Deine ausstehende Review und ihre {count} Kommentare verwerfen? Das lässt sich nicht rückgängig machen.',\n 'review.discarding': 'Wird verworfen…',\n 'review.discarded': 'Review verworfen',\n 'thread.reply': 'Antworten',\n 'thread.replyPlaceholder': 'Antworten…',\n 'thread.replyActions': 'Antwortoptionen',\n 'thread.resolve': 'Thread lösen',\n 'thread.unresolve': 'Lösung aufheben',\n 'thread.commentActions': 'Aktionen für den Kommentar von {author}',\n 'thread.editAria': 'Kommentar bearbeiten',\n 'thread.save': 'Speichern',\n 'thread.saving': 'Wird gespeichert…',\n 'thread.deleting': 'Wird gelöscht…',\n 'thread.deleteConfirm': 'Diesen Kommentar löschen?',\n 'thread.deleteLast': 'Diesen Kommentar löschen? Er ist der einzige im Thread, daher wird auch der Thread gelöscht.',\n 'thread.writeUnknown': 'Es ließ sich nicht bestätigen, ob GitHub die Änderung übernommen hat. Die Threads werden neu gelesen; prüfe sie vor einem erneuten Versuch.',\n 'thread.writeFailed': 'GitHub hat die Änderung nicht übernommen: {message}',\n 'thread.writeStale': 'Der PR enthält neue Commits. Die Threads werden am neuen Head neu gelesen; prüfe sie und versuche es erneut.',\n 'thread.writeUnsupported': 'Dieser Dienst unterstützt hier keine Änderungen an Threads.',\n}\n\n/** Russian copy with the same keys. */\nexport const ru: Record<ForgePanelKey, string> = {\n 'settings.retainOnArchive.title': 'Сохранять рабочие деревья при архивации',\n 'settings.retainOnArchive.description': 'Если включено, при архивации сессии созданное ею рабочее дерево сохраняется; если выключено, чистое рабочее дерево без ссылок удаляется, а ветка и коммиты остаются.',\n 'settings.unavailable': 'Настройки рабочего дерева недоступны.',\n 'settings.readOnly': 'В этом развёртывании настройки сохраняются только для чтения.',\n 'settings.saveFailed': 'Развёртывание не приняло эти значения; они оставлены для исправления.',\n 'settings.save': 'Сохранить',\n 'settings.saving': 'Сохранение…',\n 'toast.archiveCleanupScheduled': 'Архивировано; рабочее дерево будет удалено',\n 'toast.archiveCleanupFailed': 'Архивировано; не удалось удалить рабочее дерево. Ветка сохранена. Проверьте рабочее дерево.',\n 'review.startReview': 'Начать проверку',\n 'review.githubActions': 'Действия с комментарием GitHub',\n 'review.publishing': 'Публикация…',\n 'review.submitting': 'Отправка…',\n 'review.close': 'Закрыть',\n 'review.pending': 'Ожидает отправки',\n 'review.quoted': 'Добавлено в поле ввода',\n 'review.yourComment': 'Ваш комментарий',\n 'review.outdated': 'Код обновлён',\n 'review.done': 'Готово',\n 'review.addComment': 'Добавить комментарий',\n 'diff.resizeFileTree': 'Изменить ширину дерева файлов',\n 'diff.fileTree': 'Дерево файлов',\n 'diff.showFileTreeLeft': 'Показать дерево файлов слева',\n 'diff.moveFileTreeRight': 'Переместить дерево файлов вправо',\n 'guide.title': 'Ревью кода и изменения',\n 'guide.description': 'Просмотр изменений кода и запросов на изменение в этом сеансе',\n 'diff.hideFileTree': 'Скрыть дерево файлов',\n 'review.range': 'Комментарий к {range}',\n 'review.comment': 'Оставьте комментарий…',\n 'review.cancel': 'Отмена',\n 'review.addToInput': 'Добавить в поле ввода',\n 'review.publish': 'Опубликовать отдельный комментарий',\n 'review.queue': 'Добавить в проверку',\n 'review.selectLine': 'Выбрать строку {line}',\n 'review.inputFailed': 'Не удалось добавить ссылку. Повторите попытку позже.',\n 'review.saveFailed': 'Не удалось сохранить черновик. Проверьте хранилище браузера.',\n 'review.unknown': 'Результат отправки неизвестен. Проверьте GitHub перед повторной публикацией.',\n 'review.submit': 'Отправить проверку',\n 'review.summary': 'Итог проверки…',\n 'review.approve': 'Одобрить',\n 'review.requestChanges': 'Запросить изменения',\n 'review.summaryRequired': 'Чтобы запросить изменения, добавьте итоговый комментарий.',\n 'review.ownChangeRequest': 'Это ваш собственный PR. GitHub позволяет его комментировать, но не одобрять и не запрашивать изменения.',\n 'review.commentOnly': 'Комментарий',\n 'review.drafts': 'Ожидающие комментарии ({count})',\n 'review.edit': 'Изменить',\n 'review.remove': 'Удалить',\n 'review.stale': 'В PR появились новые коммиты. Обновите и выберите строки заново.',\n 'review.published': 'Опубликовано на GitHub',\n 'review.submitted': 'Проверка отправлена',\n 'review.failed': 'Ошибка отправки: {message}',\n 'review.unsupported': 'Этот сервис не поддерживает отправку проверок.',\n 'review.loadFailed': 'Не удалось прочитать черновики. Проверьте хранилище браузера.',\n 'review.recheck': 'Открыть на GitHub',\n 'review.confirmRetry': 'Проверено; разрешить повторную отправку',\n 'list.worktree': 'В собственном рабочем дереве',\n 'list.stateChecks': '{state} · {checks}',\n 'list.more': 'Ещё запросов на изменение: {count}',\n 'tab.title': 'Запросы на изменение',\n 'header.label': 'Запросы на изменение этого сеанса',\n 'header.attention': 'Запросы на изменение этого сеанса требуют внимания',\n 'checkout.worktree': 'Рабочее дерево',\n 'checkout.worktreeFrom': 'Рабочее дерево · на основе {base}',\n 'checkout.project': 'Каталог проекта',\n 'checkout.detached': 'Вне ветки',\n 'checkout.restore': 'Восстановить',\n 'checkout.copyWorktreePath': 'Копировать путь рабочего дерева',\n 'checkout.copyProjectPath': 'Копировать путь проекта',\n 'checkout.none': 'Этот каталог не является репозиторием Git',\n 'checkout.failed': 'Не удалось прочитать сведения Git',\n 'changes.title': 'Запросы на изменение этого сеанса · {count}',\n 'changes.empty': 'В этом сеансе пока нет запросов на изменение',\n 'changes.emptyHint': 'Здесь отображаются связанные с сеансом запросы: созданные, просмотренные, изменённые или извлечённые, а также открытые для текущей или отправленной ветки',\n 'changes.local.title': 'Локальные изменения',\n 'changes.local.refs': '{head} → {base}',\n 'changes.local.files': 'Файлов: {count}',\n 'changes.local.viewAria': 'Просмотреть изменения сеанса: файлов — {count}, добавлено строк — {added}, удалено — {deleted}',\n 'changes.local.create': 'Создать запрос на изменение',\n 'changes.local.prompt': 'Создай запрос на изменение для изменений этого сеанса',\n 'signin.title': 'Войдите на {host}, чтобы увидеть состояние запросов',\n 'signin.copy': 'Копировать команду входа',\n 'signin.unavailable': 'Не удалось прочитать запросы на {host}: {message}',\n 'refresh': 'Обновить состояние',\n 'retry': 'Повторить',\n 'stream.failed': 'Не удалось загрузить панель запросов на изменение',\n 'change.number': '#{number}',\n 'change.stateAria': 'Состояние запроса: {state}',\n 'change.state.open': 'Открыт',\n 'change.state.blocked': 'Требует внимания',\n 'change.state.draft': 'Черновик',\n 'change.state.merged': 'Объединён',\n 'change.state.closed': 'Закрыт',\n 'change.state.unknown': 'Неизвестен',\n 'change.expand': 'Развернуть {name}',\n 'change.collapse': 'Свернуть {name}',\n 'change.ci.none': 'Нет проверок',\n 'change.ci.running': 'Проверки выполняются',\n 'change.ci.passed': 'Проверки пройдены',\n 'change.ci.failed': 'Не пройдено проверок: {count}',\n 'change.ci.cancelled': 'Проверок отменено: {count}',\n 'change.ci.failedUnlisted': 'Проверки не пройдены',\n 'change.checks.failed': 'Не пройдено: {count}',\n 'change.checks.running': 'Выполняется: {count}',\n 'change.checks.passed': 'Пройдено: {count}',\n 'change.checks.cancelled': 'Отменено: {count}',\n 'change.checks.other': 'Других: {count}',\n 'change.checks.truncated': 'Загружено проверок: {count}; доступны другие',\n 'change.checks.loading': 'Загрузка остальных проверок',\n 'change.checks.loadFailed': 'Не удалось загрузить остальные проверки: {message}',\n 'change.checks.retry': 'Повторить загрузку проверок',\n 'change.check.running': 'Выполняется',\n 'change.check.queued': 'В очереди',\n 'change.flag.changesRequested': 'Запрошены изменения',\n 'change.flag.conflicting': 'Конфликты',\n 'change.flag.draft': 'Черновик',\n 'change.failure.unavailable': 'Не удалось прочитать состояние запроса',\n 'change.failure.notFound': 'Запрос не существует или недоступен',\n 'change.failure.unauthenticated': 'Войдите, чтобы увидеть состояние',\n 'change.unserved': 'Состояние запросов этого хостинга кода пока не поддерживается',\n 'change.view': 'Открыть в браузере',\n 'change.copy': 'Копировать ссылку на запрос',\n 'change.viewChangesAria': 'Просмотреть изменения {name}: добавлено строк — {added}, удалено — {deleted}',\n 'change.remove': 'Удалить из этого сеанса',\n 'change.removeAria': 'Удалить {name} из этого сеанса',\n 'change.row.checks': 'Проверки',\n 'change.row.review': 'Ревью',\n 'change.row.merge': 'Объединить',\n 'change.row.changes': 'Изменения',\n 'change.review.approved': 'Одобрен',\n 'change.review.changesRequested': 'Запрошены изменения',\n 'change.review.required': 'Требуется ревью',\n 'change.review.none': 'Ревью не запрошено',\n 'change.merge.mergeable': 'Нет конфликтов',\n 'change.merge.conflicting': 'Конфликты с {base}',\n 'change.merge.unknown': 'Проверка конфликтов',\n 'change.mergedTo': 'Объединён с {base}',\n 'change.markReady': 'Готов к ревью',\n 'change.merge': 'Объединить',\n 'change.mergeTitle': 'Объединить {name} с {base}',\n 'change.mergeMethod.squash': 'Объединить со сжатием',\n 'change.mergeMethod.merge': 'Создать коммит слияния',\n 'change.mergeMethod.rebase': 'Перебазировать и объединить',\n 'change.mergeNote.squash': 'Объединить все коммиты в один',\n 'change.mergeNote.merge': 'Сохранить все коммиты и добавить коммит слияния',\n 'change.mergeNote.rebase': 'Перенести каждый коммит на {base}',\n 'change.mergeConfirm': 'Подтвердить слияние',\n 'change.mergeChanged': 'Появились новые коммиты. Проверьте их перед повторным открытием меню слияния',\n 'checks.allPassed': 'Все проверки пройдены: {count}',\n 'checks.showQuiet': 'Показать ещё {count} (пройдены, пропущены)',\n 'reviewers.requestMore': 'Запросить ревью у другого участника…',\n 'change.threads': 'Нерешённых обсуждений: {count}',\n 'issues.label': 'Связанные задачи',\n 'issues.separator': ', ',\n 'issues.more': ' и другие',\n 'issues.aria': 'Открыть задачу {label}: {title}',\n 'checks.group.failed': 'С ошибкой',\n 'checks.group.running': 'Выполняются',\n 'checks.group.passed': 'Пройдены',\n 'checks.group.cancelled': 'Отменены',\n 'checks.group.other': 'Пропущены и прочие',\n 'checks.rerunFailed': 'Перезапустить упавшие',\n 'toast.rerunRequested': 'Запрошен перезапуск проверок {name}',\n 'toast.rerunFailed': 'Не удалось перезапустить проверки: {message}',\n 'toast.rerunStale': 'В {name} появились новые коммиты. Посмотрите проверки нового коммита перед перезапуском.',\n 'reviewers.rerequestAria': 'Снова запросить ревью у {login}',\n 'reviewers.pending': 'Ожидает',\n 'reviewers.approved': 'Одобрено',\n 'reviewers.changesRequested': 'Нужны правки',\n 'reviewers.commented': 'Прокомментировал',\n 'reviewers.dismissed': 'Отклонено',\n 'reviewers.older': 'До последнего коммита',\n 'reviewers.codeOwner': 'Владелец кода',\n 'reviewers.team': 'Команда',\n 'reviewers.bot': 'Бот',\n 'reviewers.truncated': 'Показаны не все ревьюеры; откройте запрос, чтобы увидеть всех',\n 'reviewers.none': 'Ревьюеров пока нет',\n 'reviewers.search': 'Поиск участников',\n 'reviewers.loading': 'Загрузка участников',\n 'reviewers.loadFailed': 'Не удалось получить список участников',\n 'reviewers.empty': 'Нет подходящих участников',\n 'reviewers.suggested': 'Предложен',\n 'toast.reviewRequested': 'Запрошено ревью {name} у {login}',\n 'toast.reviewRequestFailed': 'Не удалось запросить ревью: {message}',\n 'branch.behind': 'Отстаёт от {base}',\n 'branch.update': 'Обновить ветку',\n 'branch.updateTitle': 'Обновить {head} новыми коммитами из {base}',\n 'branch.method.merge': 'Обновить коммитом слияния',\n 'branch.method.rebase': 'Обновить через rebase',\n 'branch.note.merge': 'Добавляет в ветку коммит слияния',\n 'branch.note.rebase': 'Переносит коммиты ветки на {base}, переписывая их',\n 'branch.confirm': 'Подтвердить обновление',\n 'branch.changed': 'Появились новые коммиты. Проверьте их и откройте меню снова.',\n 'toast.branchUpdated': 'Начато обновление ветки {name}',\n 'toast.branchUpdateFailed': 'Не удалось обновить ветку: {message}',\n 'toast.actionUnknown': 'Не удалось подтвердить, применено ли действие для {name}. Проверьте это в браузере, прежде чем пробовать снова.',\n 'toast.branchUpdateStale': 'В {name} появились новые коммиты. Проверьте их перед обновлением.',\n 'diff.tab': 'Изменения',\n 'diff.tabNumbered': 'Изменения в #{number}',\n 'diff.scope.branch': 'Ветка',\n 'diff.scope.uncommitted': 'Без коммита',\n 'diff.scope.unstaged': 'Не в индексе',\n 'diff.scope.staged': 'В индексе',\n 'diff.scopeNote.uncommitted': 'Сравнение с HEAD, включая неотслеживаемые файлы',\n 'diff.scopeNote.unstaged': 'Сравнение с индексом, включая неотслеживаемые файлы',\n 'diff.scopeNote.staged': 'Сравнение индекса с HEAD',\n 'diff.base.aria': 'Базовая ветка: {base}',\n 'diff.base.uncommitted': 'Включая изменения без коммита',\n 'diff.base.search': 'Поиск веток',\n 'diff.base.loading': 'Чтение веток…',\n 'diff.base.empty': 'Нет подходящих веток',\n 'diff.base.automatic': 'По умолчанию',\n 'diff.base.worktree': 'Начало рабочего дерева',\n 'diff.base.remote': 'Удалённые ветки',\n 'diff.base.local': 'Локальные ветки',\n 'diff.base.note': 'Сравнение с базой слияния HEAD и выбранной ветки, включая изменения без коммита',\n 'diff.baseMissing': 'Базовая ветка {base} не найдена; возможно, она удалена',\n 'diff.baseUnrelated': 'У {base} нет общей истории с HEAD',\n 'diff.useAutomaticBase': 'Использовать базовую ветку по умолчанию',\n 'diff.allFiles': 'Все файлы: {count}',\n 'diff.filterFiles': 'Фильтр файлов…',\n 'lens.aria': 'Слой проверки',\n 'lens.all': 'Все',\n 'lens.interface': 'Интерфейс',\n 'lens.implementation': 'Реализация',\n 'lens.test': 'Тесты',\n 'lens.testHidden': 'Тестовые файлы скрыты',\n 'lens.menuAria': 'Слой проверки: {lens}',\n 'lens.empty': 'Нет файлов для показа',\n 'tests.hide': 'Скрыть тестовые файлы',\n 'tests.hideHint': 'Скрывает тесты, снимки, файлы локализации, lock-файлы и сгенерированные файлы',\n 'viewed.label': 'Просмотрено',\n 'viewed.aria': 'Отметить {name} как просмотренный',\n 'viewed.hint': 'V переключает текущий файл',\n 'viewed.changed': 'Изменён после просмотра',\n 'viewed.progress': 'Просмотрено {viewed} из {total}',\n 'viewed.progressAria': 'Просмотренные файлы',\n 'viewed.count': '{viewed}/{total}',\n 'viewed.saveFailed': 'Не удалось сохранить отметку о просмотре',\n 'viewed.hintHost': 'Сохраняется на GitHub · V переключает текущий файл',\n 'viewed.saving': 'Сохранение на GitHub…',\n 'viewed.unavailable': 'Не удалось прочитать отметки о просмотре с GitHub',\n 'viewed.readFailed': 'Не удалось прочитать отметки о просмотре с GitHub, поэтому файлы нельзя отметить: {message}',\n 'viewed.syncFailed': 'Не удалось сохранить отметку о просмотре на GitHub: {message}',\n 'viewed.syncStale': 'В PR появились новые коммиты, поэтому отметка о просмотре не сохранена. Обновите и отметьте файл снова.',\n 'viewed.syncUnknown': 'Не удалось подтвердить, что отметка о просмотре сохранена: {message}. Обновите, чтобы увидеть фактическое состояние.',\n 'commits.all': 'Все коммиты',\n 'commits.range': '{from}…{to}',\n 'commits.count': 'Коммитов: {count}',\n 'commits.shiftHint': 'Удерживайте Shift, чтобы выбрать несколько коммитов подряд',\n 'commits.loading': 'Загрузка коммитов…',\n 'commits.failed': 'Не удалось загрузить коммиты',\n 'commits.truncatedOldest': 'Показаны только первые {count} коммитов',\n 'commits.truncatedNewest': 'Показаны только последние {count} коммитов',\n 'commits.aria': 'Показанные коммиты: {commits}',\n 'commits.missing': 'Выбранные коммиты больше не входят в список',\n 'commits.notLinear': 'Эти коммиты не лежат на одной линии истории',\n 'commits.showAll': 'Показать все коммиты',\n 'diff.noMatchingFiles': 'Нет подходящих файлов',\n 'diff.refresh': 'Обновить изменения',\n 'diff.expandAll': 'Развернуть все файлы',\n 'diff.collapseAll': 'Свернуть все файлы',\n 'diff.split': 'Показать рядом',\n 'diff.unified': 'Показать в один столбец',\n 'diff.splitAria': 'Рядом',\n 'diff.wrap': 'Переносить длинные строки',\n 'diff.nowrap': 'Не переносить длинные строки',\n 'diff.wrapAria': 'Переносить строки',\n 'diff.moreOptions': 'Другие параметры просмотра',\n 'diff.unchanged': 'Неизменённых строк: {count}',\n 'diff.unchangedRest': 'Остальные неизменённые строки',\n 'diff.newFile': 'Новый файл',\n 'diff.deletedFile': 'Удалено',\n 'diff.renamed': 'Переименован из {from}',\n 'diff.renamedPath': '{from} → {path}',\n 'diff.badgeUncommitted': 'Без коммита',\n 'diff.binary': 'Двоичный файл; невозможно показать изменения',\n 'diff.binaryLabel': 'Двоичный',\n 'diff.largeCollapsed': 'Большой файл: свёрнуто изменённых строк — {count}',\n 'diff.fileTooLarge': 'Файл слишком большой для отображения',\n 'diff.error': 'Не удалось прочитать изменения',\n 'diff.tooLarge': 'Изменения слишком велики для отображения здесь',\n 'diff.filterConfigFailed': 'Не удалось полностью прочитать настройки фильтров Git. Сравнение не выполнено. Проверьте настройки Git и ограничение вывода, затем повторите попытку.',\n 'diff.viewInBrowser': 'Посмотреть в браузере',\n 'diff.noForkPoint': 'Не найдена точка ответвления этой ветки; выберите базовую ветку или другую область',\n 'diff.empty': 'Нет изменений',\n 'diff.omitted': 'Не показано ещё неотслеживаемых файлов: {count}',\n 'diff.stale': 'В локальной ветке {count} неотправленных коммитов; показаны изменения из запроса',\n 'diff.moreActions': 'Другие действия для {name}',\n 'diff.copyPath': 'Копировать путь',\n 'diff.openFileInBrowser': 'Посмотреть файл в браузере',\n 'diff.openFileInSidebar': 'Открыть весь файл в боковой панели',\n 'time.now': 'только что',\n 'time.minutes': '{n} мин назад',\n 'time.hours': '{n} ч назад',\n 'time.days': '{n} дн назад',\n 'time.months': '{n} мес назад',\n 'time.years': '{n} г назад',\n 'time.finished': '{state} · {time}',\n 'duration.seconds': '{seconds} с',\n 'duration.minutes': '{minutes} мин {seconds} с',\n 'duration.hours': '{hours} ч {minutes} мин',\n 'worktree.label': 'Новое рабочее дерево',\n 'worktree.hint': 'Запустить сеанс в отдельном рабочем дереве: при отправке будет создана ветка на основе выбранной, а изменения и коммиты не затронут каталог проекта',\n 'worktree.blocked.outside-writable-root': 'Данные Git находятся вне доступных для записи каталогов, например когда рабочая область сама является рабочим деревом; создание рабочего дерева пока недоступно',\n 'worktree.blocked.read-only': 'Сеанс только для чтения не может использовать рабочее дерево',\n 'worktree.base': 'На основе {branch}',\n 'worktree.baseHead': 'На основе текущего HEAD',\n 'worktree.baseMenu': 'Базовая ветка',\n 'worktree.currentBranch': 'Текущая',\n 'worktree.currentBranchTip': 'Текущая ветка: {branch}',\n 'worktree.detachedTip': 'Вне ветки · {commit}',\n 'creation.title': 'Создание рабочего дерева',\n 'creation.failed': 'Не удалось создать рабочее дерево',\n 'creation.prepare': 'Создать ветку',\n 'creation.checkout': 'Извлечь файлы',\n 'creation.details': 'Подробнее',\n 'creation.branch': 'Ветка',\n 'creation.base': 'Основа',\n 'creation.head': 'Текущий HEAD',\n 'creation.error': 'Причина',\n 'creation.skip': 'Продолжить без рабочего дерева',\n 'creation.cancel': 'Отмена',\n 'creation.stopped': 'Создание рабочего дерева остановлено',\n 'creation.retry': 'Повторить',\n 'creation.waiting': 'Сообщение будет отправлено после создания рабочего дерева',\n 'missing.title': 'Рабочее дерево недоступно',\n 'missing.unknown': 'Восстановление не завершено, ветка {branch} недоступна для проверки. Устраните ошибку и повторите попытку или продолжите в проекте',\n 'missing.kept': 'Рабочее дерево ветки {branch} можно восстановить на прежнем месте. Изменения без коммита, существовавшие до удаления, восстановить нельзя',\n 'missing.recreated': 'Ветка {branch} тоже удалена. Она будет создана заново из исходного коммита рабочего дерева, без последующих коммитов и изменений без коммита',\n 'missing.restore': 'Восстановить рабочее дерево',\n 'missing.leave': 'Продолжить в проекте',\n 'missing.waiting': 'Сообщение будет отправлено после восстановления рабочего дерева или продолжения в проекте',\n 'restoration.title': 'Восстановление рабочего дерева',\n 'restoration.prepare': 'Подготовить рабочее дерево',\n 'branch.worktree': 'Рабочее дерево (на основе {base}): {path}',\n 'branch.linked': 'Рабочее дерево: {path}',\n 'branch.project': 'Каталог проекта: {path}',\n 'branch.missing': 'Рабочее дерево недоступно: {path}',\n 'toast.removed': '{name} удалён из этого сеанса',\n 'toast.undo': 'Отменить',\n 'toast.undoFailed': 'Не удалось отменить',\n 'toast.removeFailed': 'Не удалось удалить',\n 'toast.refreshFailed': 'Не удалось обновить',\n 'toast.copied': 'Ссылка скопирована',\n 'toast.copyFailed': 'Не удалось скопировать',\n 'toast.branchesFailed': 'Не удалось прочитать ветки',\n 'toast.worktreeFailed': 'Не удалось изменить настройку рабочего дерева',\n 'toast.worktreeStarted': 'Сеанс уже начат, переключение на рабочее дерево недоступно',\n 'toast.restored': 'Рабочее дерево восстановлено',\n 'toast.restoreFailed': 'Не удалось восстановить рабочее дерево: {message}',\n 'toast.leaveFailed': 'Не удалось перейти в каталог проекта; повторите попытку',\n 'toast.markedReady': '{name} готов к ревью',\n 'toast.markReadyFailed': 'Не удалось отметить готовность: {message}',\n 'toast.merged': '{name} объединён',\n 'toast.mergeFailed': 'Не удалось объединить: {message}',\n 'toast.mergeStale': 'В {name} есть новые коммиты; проверьте их перед слиянием',\n 'toast.pathCopied': 'Путь скопирован',\n 'toast.expandFailed': 'Не удалось показать неизменённые строки: {message}',\n 'toast.expandStale': 'Файл изменился после чтения изменений; обновите перед разворачиванием',\n 'toast.prompted': 'Отправлено: {text}',\n 'toast.promptFailed': 'Не удалось отправить сообщение',\n 'thread.list': 'Обсуждения',\n 'thread.listAria': 'Обсуждения ревью, всего {count}',\n 'thread.close': 'Закрыть список обсуждений',\n 'thread.filterAria': 'Фильтр обсуждений',\n 'thread.filter.unresolved': 'Нерешённые',\n 'thread.filter.resolved': 'Решённые',\n 'thread.filter.all': 'Все',\n 'thread.none': 'Нет обсуждений, подходящих под фильтр',\n 'thread.empty': 'Обсуждений ревью пока нет',\n 'thread.back': 'Назад к изменениям',\n 'thread.truncated': 'Обсуждений слишком много; показаны первые {count}',\n 'thread.openAll': 'Открыть на GitHub',\n 'thread.replies': 'Ответов: {count}',\n 'thread.fileLevel': 'Обсуждение файла',\n 'thread.onCommit': 'в {commit}',\n 'thread.originally': 'Изначально {range}',\n 'thread.outdatedTag': 'Устарело',\n 'thread.elsewhereTag': 'Нет в выбранных коммитах',\n 'thread.author': 'Автор',\n 'thread.bot': 'бот',\n 'thread.deletedAuthor': 'Удалённая учётная запись',\n 'thread.resolvedRow': 'Решённое обсуждение · {author}',\n 'thread.expand': 'Развернуть',\n 'thread.collapse': 'Свернуть',\n 'thread.outdatedSection': 'Устаревших обсуждений: {count}. Их код изменили более поздние коммиты',\n 'thread.viewOriginal': 'Открыть файл в том коммите',\n 'thread.hideOriginal': 'Скрыть файл в том коммите',\n 'thread.originalLoading': 'Чтение файла в том коммите…',\n 'thread.originalFailed': 'Не удалось прочитать файл в том коммите: {message}',\n 'thread.openOnHost': 'Открыть на GitHub',\n 'thread.unresolvedCount': 'Нерешённых: {count}',\n 'thread.unresolvedAria': 'В {name} нерешённых обсуждений: {count}. Перейти к следующему',\n 'thread.next': 'Перейти к следующему нерешённому обсуждению',\n 'thread.treeCount': 'Нерешённых обсуждений: {count}',\n 'thread.loadFailed': 'Не удалось прочитать обсуждения GitHub: {message}',\n 'thread.inputFailed': 'Не удалось добавить обсуждение в поле ввода; повторите попытку позже',\n 'thread.copy': 'Копировать',\n 'thread.copied': 'Скопировано',\n 'thread.codeBlock': 'Блок кода',\n 'thread.wrap': 'Переносить строки',\n 'thread.unwrap': 'Не переносить строки',\n 'thread.footnotes': 'Сноски',\n 'review.browserDraft': 'Черновик в браузере',\n 'review.browserDrafts': 'Черновики комментариев ({count}) сохранены только в этом браузере и не входят в вашу ожидающую проверку на GitHub. Сначала добавьте их в проверку или удалите.',\n 'review.discard': 'Отменить проверку',\n 'review.discardConfirm': 'Отменить ожидающую проверку и её комментарии ({count})? Это действие необратимо.',\n 'review.discarding': 'Отмена…',\n 'review.discarded': 'Проверка отменена',\n 'thread.reply': 'Ответить',\n 'thread.replyPlaceholder': 'Ответить…',\n 'thread.replyActions': 'Варианты ответа',\n 'thread.resolve': 'Отметить как решённое',\n 'thread.unresolve': 'Снять отметку о решении',\n 'thread.commentActions': 'Действия с комментарием {author}',\n 'thread.editAria': 'Изменить комментарий',\n 'thread.save': 'Сохранить',\n 'thread.saving': 'Сохранение…',\n 'thread.deleting': 'Удаление…',\n 'thread.deleteConfirm': 'Удалить этот комментарий?',\n 'thread.deleteLast': 'Удалить этот комментарий? Он единственный в обсуждении, поэтому обсуждение тоже будет удалено.',\n 'thread.writeUnknown': 'Не удалось подтвердить, применил ли GitHub изменение. Обсуждения читаются заново; проверьте их перед повторной попыткой.',\n 'thread.writeFailed': 'GitHub не применил изменение: {message}',\n 'thread.writeStale': 'В PR появились новые коммиты. Обсуждения будут прочитаны заново для нового head; проверьте их и повторите попытку.',\n 'thread.writeUnsupported': 'Этот сервис не поддерживает изменение обсуждений отсюда.',\n}\n\n/** Portuguese copy with the same keys. */\nexport const pt: Record<ForgePanelKey, string> = {\n 'settings.retainOnArchive.title': 'Manter árvores de trabalho ao arquivar',\n 'settings.retainOnArchive.description': 'Quando ativado, arquivar uma sessão mantém a árvore de trabalho que ela criou; quando desativado, uma árvore de trabalho limpa e sem referências é removida, e o ramo e os commits permanecem.',\n 'settings.unavailable': 'As configurações da árvore de trabalho não estão disponíveis.',\n 'settings.readOnly': 'Esta implantação guarda as configurações apenas para leitura.',\n 'settings.saveFailed': 'A implantação não aceitou estes valores; eles foram mantidos para correção.',\n 'settings.save': 'Salvar',\n 'settings.saving': 'Salvando…',\n 'toast.archiveCleanupScheduled': 'Arquivado; a árvore de trabalho será removida',\n 'toast.archiveCleanupFailed': 'Arquivado; a remoção da árvore de trabalho falhou. O ramo foi mantido. Verifique a árvore de trabalho.',\n 'review.startReview': 'Iniciar revisão',\n 'review.githubActions': 'Opções de comentário do GitHub',\n 'review.publishing': 'Publicando…',\n 'review.submitting': 'Enviando…',\n 'review.close': 'Fechar',\n 'review.pending': 'Pendente',\n 'review.quoted': 'Adicionado ao campo de entrada',\n 'review.yourComment': 'Seu comentário',\n 'review.outdated': 'Código atualizado',\n 'review.done': 'Concluído',\n 'review.addComment': 'Adicionar comentário',\n 'diff.resizeFileTree': 'Redimensionar árvore de arquivos',\n 'diff.fileTree': 'Árvore de arquivos',\n 'diff.showFileTreeLeft': 'Mostrar árvore de arquivos à esquerda',\n 'diff.moveFileTreeRight': 'Mover árvore de arquivos para a direita',\n 'guide.title': 'Revisão de código e alterações',\n 'guide.description': 'Revisar alterações de código e solicitações de alteração desta sessão',\n 'diff.hideFileTree': 'Ocultar árvore de arquivos',\n 'review.range': 'Comentar {range}',\n 'review.comment': 'Deixe um comentário…',\n 'review.cancel': 'Cancelar',\n 'review.addToInput': 'Adicionar ao campo de entrada',\n 'review.publish': 'Publicar comentário individual',\n 'review.queue': 'Adicionar à revisão',\n 'review.selectLine': 'Selecionar linha {line}',\n 'review.inputFailed': 'Não foi possível adicionar a referência. Tente novamente mais tarde.',\n 'review.saveFailed': 'Não foi possível salvar o rascunho. Verifique o armazenamento do navegador.',\n 'review.unknown': 'O resultado do envio é desconhecido. Verifique o GitHub antes de publicar novamente.',\n 'review.submit': 'Enviar revisão',\n 'review.summary': 'Resumo da revisão…',\n 'review.approve': 'Aprovar',\n 'review.requestChanges': 'Solicitar alterações',\n 'review.summaryRequired': 'Escreva um resumo da revisão para solicitar alterações.',\n 'review.ownChangeRequest': 'Este PR é seu. O GitHub permite comentá-lo, mas não aprová-lo nem solicitar alterações.',\n 'review.commentOnly': 'Comentar',\n 'review.drafts': 'Comentários pendentes ({count})',\n 'review.edit': 'Editar',\n 'review.remove': 'Excluir',\n 'review.stale': 'O PR tem novos commits. Atualize e selecione as linhas novamente.',\n 'review.published': 'Publicado no GitHub',\n 'review.submitted': 'Revisão enviada',\n 'review.failed': 'Falha no envio: {message}',\n 'review.unsupported': 'Este serviço não oferece envio de revisões.',\n 'review.loadFailed': 'Não foi possível ler os rascunhos. Verifique o armazenamento do navegador.',\n 'review.recheck': 'Ver no GitHub',\n 'review.confirmRetry': 'Verificado; permitir reenvio',\n 'list.worktree': 'Na sua própria árvore de trabalho',\n 'list.stateChecks': '{state} · {checks}',\n 'list.more': 'Mais {count} solicitações de alteração',\n 'tab.title': 'Solicitações de alteração',\n 'header.label': 'Solicitações de alteração desta sessão',\n 'header.attention': 'As solicitações de alteração desta sessão precisam de atenção',\n 'checkout.worktree': 'Árvore de trabalho',\n 'checkout.worktreeFrom': 'Árvore de trabalho · a partir de {base}',\n 'checkout.project': 'Diretório do projeto',\n 'checkout.detached': 'Fora de uma branch',\n 'checkout.restore': 'Restaurar',\n 'checkout.copyWorktreePath': 'Copiar caminho da árvore de trabalho',\n 'checkout.copyProjectPath': 'Copiar caminho do projeto',\n 'checkout.none': 'Este diretório não é um repositório Git',\n 'checkout.failed': 'Não foi possível ler as informações do Git',\n 'changes.title': 'Solicitações de alteração desta sessão · {count}',\n 'changes.empty': 'Esta sessão ainda não tem solicitações de alteração',\n 'changes.emptyHint': 'Aqui aparecem solicitações vinculadas à sessão: criadas, visualizadas, editadas ou usadas em checkout, ou abertas nas branches atuais ou enviadas',\n 'changes.local.title': 'Alterações locais',\n 'changes.local.refs': '{head} → {base}',\n 'changes.local.files': '{count} arquivos',\n 'changes.local.viewAria': 'Ver alterações desta sessão: {count} arquivos, {added} linhas adicionadas e {deleted} removidas',\n 'changes.local.create': 'Criar solicitação de alteração',\n 'changes.local.prompt': 'Crie uma solicitação de alteração para as alterações desta sessão',\n 'signin.title': 'Entre em {host} para ver o status das solicitações',\n 'signin.copy': 'Copiar comando de login',\n 'signin.unavailable': 'Não foi possível ler as solicitações em {host}: {message}',\n 'refresh': 'Atualizar status',\n 'retry': 'Tentar novamente',\n 'stream.failed': 'Não foi possível carregar o painel de solicitações de alteração',\n 'change.number': '#{number}',\n 'change.stateAria': 'Status da solicitação: {state}',\n 'change.state.open': 'Aberta',\n 'change.state.blocked': 'Precisa de atenção',\n 'change.state.draft': 'Rascunho',\n 'change.state.merged': 'Mesclada',\n 'change.state.closed': 'Fechada',\n 'change.state.unknown': 'Desconhecida',\n 'change.expand': 'Expandir {name}',\n 'change.collapse': 'Recolher {name}',\n 'change.ci.none': 'Sem verificações',\n 'change.ci.running': 'Verificações em andamento',\n 'change.ci.passed': 'Verificações aprovadas',\n 'change.ci.failed': '{count} verificações falharam',\n 'change.ci.cancelled': '{count} verificações canceladas',\n 'change.ci.failedUnlisted': 'As verificações falharam',\n 'change.checks.failed': '{count} falharam',\n 'change.checks.running': '{count} em andamento',\n 'change.checks.passed': '{count} aprovadas',\n 'change.checks.cancelled': '{count} canceladas',\n 'change.checks.other': '{count} outras',\n 'change.checks.truncated': '{count} verificações carregadas; há mais',\n 'change.checks.loading': 'Carregando mais verificações',\n 'change.checks.loadFailed': 'Não foi possível carregar mais verificações: {message}',\n 'change.checks.retry': 'Tentar carregar verificações novamente',\n 'change.check.running': 'Em andamento',\n 'change.check.queued': 'Na fila',\n 'change.flag.changesRequested': 'Alterações solicitadas',\n 'change.flag.conflicting': 'Conflitos',\n 'change.flag.draft': 'Rascunho',\n 'change.failure.unavailable': 'Não foi possível ler o status da solicitação',\n 'change.failure.notFound': 'A solicitação não existe ou não está acessível',\n 'change.failure.unauthenticated': 'Entre para ver o status',\n 'change.unserved': 'O status de solicitações deste serviço de código ainda não é compatível',\n 'change.view': 'Abrir no navegador',\n 'change.copy': 'Copiar link da solicitação',\n 'change.viewChangesAria': 'Ver alterações de {name}: {added} linhas adicionadas e {deleted} removidas',\n 'change.remove': 'Remover desta sessão',\n 'change.removeAria': 'Remover {name} desta sessão',\n 'change.row.checks': 'Verificações',\n 'change.row.review': 'Revisão',\n 'change.row.merge': 'Mesclar',\n 'change.row.changes': 'Alterações',\n 'change.review.approved': 'Aprovada',\n 'change.review.changesRequested': 'Alterações solicitadas',\n 'change.review.required': 'Revisão necessária',\n 'change.review.none': 'Nenhuma revisão solicitada',\n 'change.merge.mergeable': 'Sem conflitos',\n 'change.merge.conflicting': 'Conflitos com {base}',\n 'change.merge.unknown': 'Verificando conflitos',\n 'change.mergedTo': 'Mesclada em {base}',\n 'change.markReady': 'Pronta para revisão',\n 'change.merge': 'Mesclar',\n 'change.mergeTitle': 'Mesclar {name} em {base}',\n 'change.mergeMethod.squash': 'Mesclar com squash',\n 'change.mergeMethod.merge': 'Criar um commit de merge',\n 'change.mergeMethod.rebase': 'Rebase e merge',\n 'change.mergeNote.squash': 'Combinar todos os commits em um',\n 'change.mergeNote.merge': 'Manter todos os commits e adicionar um commit de merge',\n 'change.mergeNote.rebase': 'Reaplicar cada commit sobre {base}',\n 'change.mergeConfirm': 'Confirmar merge',\n 'change.mergeChanged': 'Há novos commits. Revise-os antes de reabrir o menu de merge',\n 'checks.allPassed': 'Todas as {count} verificações passaram',\n 'checks.showQuiet': 'Mostrar mais {count} (aprovadas, ignoradas)',\n 'reviewers.requestMore': 'Pedir revisão a outra pessoa…',\n 'change.threads': '{count} conversas não resolvidas',\n 'issues.label': 'Issues vinculadas',\n 'issues.separator': ', ',\n 'issues.more': ' e outras',\n 'issues.aria': 'Abrir issue {label}: {title}',\n 'checks.group.failed': 'Com falha',\n 'checks.group.running': 'Em andamento',\n 'checks.group.passed': 'Aprovadas',\n 'checks.group.cancelled': 'Canceladas',\n 'checks.group.other': 'Ignoradas e outras',\n 'checks.rerunFailed': 'Reexecutar com falha',\n 'toast.rerunRequested': 'Reexecução das verificações de {name} solicitada',\n 'toast.rerunFailed': 'Não foi possível reexecutar as verificações: {message}',\n 'toast.rerunStale': '{name} tem novos commits. Veja as verificações do novo commit antes de reexecutar.',\n 'reviewers.rerequestAria': 'Pedir revisão novamente a {login}',\n 'reviewers.pending': 'Aguardando',\n 'reviewers.approved': 'Aprovado',\n 'reviewers.changesRequested': 'Alterações pedidas',\n 'reviewers.commented': 'Comentou',\n 'reviewers.dismissed': 'Descartada',\n 'reviewers.older': 'Anterior ao último commit',\n 'reviewers.codeOwner': 'Dono do código',\n 'reviewers.team': 'Equipe',\n 'reviewers.bot': 'Bot',\n 'reviewers.truncated': 'Nem todos os revisores aparecem; abra a solicitação para ver todos',\n 'reviewers.none': 'Ainda não há revisores',\n 'reviewers.search': 'Pesquisar pessoas',\n 'reviewers.loading': 'Carregando pessoas',\n 'reviewers.loadFailed': 'Não foi possível listar as pessoas',\n 'reviewers.empty': 'Nenhuma pessoa corresponde',\n 'reviewers.suggested': 'Sugerido',\n 'toast.reviewRequested': 'Revisão de {name} pedida a {login}',\n 'toast.reviewRequestFailed': 'Não foi possível pedir a revisão: {message}',\n 'branch.behind': 'Atrás de {base}',\n 'branch.update': 'Atualizar branch',\n 'branch.updateTitle': 'Atualizar {head} com os novos commits de {base}',\n 'branch.method.merge': 'Atualizar com commit de merge',\n 'branch.method.rebase': 'Atualizar com rebase',\n 'branch.note.merge': 'Adiciona um commit de merge ao branch',\n 'branch.note.rebase': 'Faz rebase dos commits do branch sobre {base}, reescrevendo-os',\n 'branch.confirm': 'Confirmar atualização',\n 'branch.changed': 'Chegaram novos commits. Revise-os e abra este menu novamente.',\n 'toast.branchUpdated': 'Atualização do branch de {name} iniciada',\n 'toast.branchUpdateFailed': 'Não foi possível atualizar o branch: {message}',\n 'toast.actionUnknown': 'Não foi possível confirmar se a ação em {name} teve efeito. Verifique no navegador antes de tentar novamente.',\n 'toast.branchUpdateStale': '{name} tem novos commits. Revise-os antes de atualizar.',\n 'diff.tab': 'Alterações',\n 'diff.tabNumbered': 'Alterações em #{number}',\n 'diff.scope.branch': 'Branch',\n 'diff.scope.uncommitted': 'Sem commit',\n 'diff.scope.unstaged': 'Fora da área de stage',\n 'diff.scope.staged': 'Na área de stage',\n 'diff.scopeNote.uncommitted': 'Comparação com HEAD, incluindo arquivos não rastreados',\n 'diff.scopeNote.unstaged': 'Comparação com o índice, incluindo arquivos não rastreados',\n 'diff.scopeNote.staged': 'Comparação do índice com HEAD',\n 'diff.base.aria': 'Branch base: {base}',\n 'diff.base.uncommitted': 'Incluindo alterações sem commit',\n 'diff.base.search': 'Pesquisar branches',\n 'diff.base.loading': 'Lendo branches…',\n 'diff.base.empty': 'Nenhuma branch correspondente',\n 'diff.base.automatic': 'Padrão',\n 'diff.base.worktree': 'Início da árvore de trabalho',\n 'diff.base.remote': 'Branches remotas',\n 'diff.base.local': 'Branches locais',\n 'diff.base.note': 'Comparação com a base de mesclagem de HEAD e da branch escolhida, incluindo alterações sem commit',\n 'diff.baseMissing': 'A branch base {base} não foi encontrada; ela pode ter sido excluída',\n 'diff.baseUnrelated': '{base} não compartilha histórico com HEAD',\n 'diff.useAutomaticBase': 'Usar a branch base padrão',\n 'diff.allFiles': 'Todos os {count} arquivos',\n 'diff.filterFiles': 'Filtrar arquivos…',\n 'lens.aria': 'Camada de revisão',\n 'lens.all': 'Todos',\n 'lens.interface': 'Interface',\n 'lens.implementation': 'Implementação',\n 'lens.test': 'Testes',\n 'lens.testHidden': 'Os arquivos de teste estão ocultos',\n 'lens.menuAria': 'Camada de revisão: {lens}',\n 'lens.empty': 'Nenhum arquivo para mostrar',\n 'tests.hide': 'Ocultar arquivos de teste',\n 'tests.hideHint': 'Oculta testes, snapshots, arquivos de idioma, arquivos de bloqueio e arquivos gerados',\n 'viewed.label': 'Revisado',\n 'viewed.aria': 'Marcar {name} como revisado',\n 'viewed.hint': 'Pressione V para alternar o arquivo atual',\n 'viewed.changed': 'Alterado após a revisão',\n 'viewed.progress': '{viewed} / {total} revisados',\n 'viewed.progressAria': 'Arquivos revisados',\n 'viewed.count': '{viewed}/{total}',\n 'viewed.saveFailed': 'Não foi possível salvar o estado de revisão',\n 'viewed.hintHost': 'Salvo no GitHub · Pressione V para alternar o arquivo atual',\n 'viewed.saving': 'Salvando no GitHub…',\n 'viewed.unavailable': 'Não foi possível ler do GitHub quais arquivos foram revisados',\n 'viewed.readFailed': 'Não foi possível ler do GitHub quais arquivos foram revisados, então não é possível marcá-los: {message}',\n 'viewed.syncFailed': 'Não foi possível salvar a marca de revisão no GitHub: {message}',\n 'viewed.syncStale': 'O PR tem novos commits, então a marca de revisão não foi salva. Atualize e marque o arquivo novamente.',\n 'viewed.syncUnknown': 'Não foi possível confirmar se a marca de revisão foi salva: {message}. Atualize para ver o estado real.',\n 'commits.all': 'Todos os commits',\n 'commits.range': '{from}…{to}',\n 'commits.count': '{count} commits',\n 'commits.shiftHint': 'Segure Shift para selecionar commits consecutivos',\n 'commits.loading': 'Carregando commits…',\n 'commits.failed': 'Não foi possível carregar os commits',\n 'commits.truncatedOldest': 'Apenas os {count} commits mais antigos estão listados',\n 'commits.truncatedNewest': 'Apenas os {count} commits mais recentes estão listados',\n 'commits.aria': 'Commits exibidos: {commits}',\n 'commits.missing': 'Os commits selecionados não estão mais incluídos',\n 'commits.notLinear': 'Esses commits não estão em uma mesma linha do histórico',\n 'commits.showAll': 'Ver todos os commits',\n 'diff.noMatchingFiles': 'Nenhum arquivo correspondente',\n 'diff.refresh': 'Atualizar alterações',\n 'diff.expandAll': 'Expandir todos os arquivos',\n 'diff.collapseAll': 'Recolher todos os arquivos',\n 'diff.split': 'Mostrar lado a lado',\n 'diff.unified': 'Mostrar em uma coluna',\n 'diff.splitAria': 'Lado a lado',\n 'diff.wrap': 'Quebrar linhas longas',\n 'diff.nowrap': 'Não quebrar linhas longas',\n 'diff.wrapAria': 'Quebrar linhas',\n 'diff.moreOptions': 'Mais opções de exibição',\n 'diff.unchanged': '{count} linhas sem alterações',\n 'diff.unchangedRest': 'Demais linhas sem alterações',\n 'diff.newFile': 'Novo arquivo',\n 'diff.deletedFile': 'Excluído',\n 'diff.renamed': 'Renomeado de {from}',\n 'diff.renamedPath': '{from} → {path}',\n 'diff.badgeUncommitted': 'Sem commit',\n 'diff.binary': 'Arquivo binário; não é possível mostrar as alterações',\n 'diff.binaryLabel': 'Binário',\n 'diff.largeCollapsed': 'Arquivo grande: {count} linhas alteradas recolhidas',\n 'diff.fileTooLarge': 'Este arquivo é grande demais para ser exibido',\n 'diff.error': 'Não foi possível ler as alterações',\n 'diff.tooLarge': 'Estas alterações são grandes demais para serem exibidas aqui',\n 'diff.filterConfigFailed': 'Não foi possível ler todas as configurações de filtros do Git. A comparação não foi executada. Verifique as configurações do Git e o limite de saída e tente novamente.',\n 'diff.viewInBrowser': 'Ver no navegador',\n 'diff.noForkPoint': 'Não foi encontrado o ponto de ramificação desta branch; escolha uma branch base ou outro escopo',\n 'diff.empty': 'Sem alterações',\n 'diff.omitted': 'Outros {count} arquivos não rastreados não são exibidos',\n 'diff.stale': 'A branch local tem {count} commits não enviados; são exibidas as alterações da solicitação',\n 'diff.moreActions': 'Mais ações para {name}',\n 'diff.copyPath': 'Copiar caminho',\n 'diff.openFileInBrowser': 'Ver arquivo no navegador',\n 'diff.openFileInSidebar': 'Abrir o arquivo inteiro na barra lateral',\n 'time.now': 'agora mesmo',\n 'time.minutes': 'há {n} min',\n 'time.hours': 'há {n} h',\n 'time.days': 'há {n} dias',\n 'time.months': 'há {n} meses',\n 'time.years': 'há {n} anos',\n 'time.finished': '{state} · {time}',\n 'duration.seconds': '{seconds}s',\n 'duration.minutes': '{minutes} min {seconds} s',\n 'duration.hours': '{hours} h {minutes} min',\n 'worktree.label': 'Nova árvore de trabalho',\n 'worktree.hint': 'Execute esta sessão em sua própria árvore de trabalho: o envio cria uma branch a partir da escolhida, sem que alterações e commits afetem o diretório do projeto',\n 'worktree.blocked.outside-writable-root': 'Os dados Git estão fora dos diretórios graváveis, como quando o espaço já é uma árvore de trabalho; ainda não é possível usar outra árvore',\n 'worktree.blocked.read-only': 'Uma sessão somente leitura não pode usar uma árvore de trabalho',\n 'worktree.base': 'A partir de {branch}',\n 'worktree.baseHead': 'A partir do HEAD atual',\n 'worktree.baseMenu': 'Branch base',\n 'worktree.currentBranch': 'Atual',\n 'worktree.currentBranchTip': 'Branch atual: {branch}',\n 'worktree.detachedTip': 'Fora de uma branch · {commit}',\n 'creation.title': 'Criando a árvore de trabalho',\n 'creation.failed': 'Não foi possível criar a árvore de trabalho',\n 'creation.prepare': 'Criar a branch',\n 'creation.checkout': 'Fazer checkout dos arquivos',\n 'creation.details': 'Mais detalhes',\n 'creation.branch': 'Branch',\n 'creation.base': 'Base',\n 'creation.head': 'HEAD atual',\n 'creation.error': 'Razão',\n 'creation.skip': 'Continuar sem árvore de trabalho',\n 'creation.cancel': 'Cancelar',\n 'creation.stopped': 'Criação da árvore de trabalho interrompida',\n 'creation.retry': 'Tentar novamente',\n 'creation.waiting': 'A mensagem será enviada após a criação da árvore de trabalho',\n 'missing.title': 'A árvore de trabalho está indisponível',\n 'missing.unknown': 'A restauração está incompleta e não é possível inspecionar a branch {branch}. Corrija o erro e tente novamente ou continue no projeto',\n 'missing.kept': 'A árvore da branch {branch} pode ser restaurada no local original. Alterações sem commit anteriores à remoção não podem ser recuperadas',\n 'missing.recreated': 'A branch {branch} também foi removida. Ela será recriada a partir do commit inicial da árvore, sem commits posteriores ou alterações sem commit',\n 'missing.restore': 'Restaurar árvore de trabalho',\n 'missing.leave': 'Continuar no projeto',\n 'missing.waiting': 'A mensagem será enviada após restaurar a árvore ou continuar no projeto',\n 'restoration.title': 'Restaurando a árvore de trabalho',\n 'restoration.prepare': 'Preparar a árvore de trabalho',\n 'branch.worktree': 'Árvore de trabalho (a partir de {base}): {path}',\n 'branch.linked': 'Árvore de trabalho: {path}',\n 'branch.project': 'Diretório do projeto: {path}',\n 'branch.missing': 'Árvore de trabalho indisponível: {path}',\n 'toast.removed': '{name} foi removido desta sessão',\n 'toast.undo': 'Desfazer',\n 'toast.undoFailed': 'Não foi possível desfazer',\n 'toast.removeFailed': 'Não foi possível remover',\n 'toast.refreshFailed': 'Falha ao atualizar',\n 'toast.copied': 'Link copiado',\n 'toast.copyFailed': 'Falha na cópia',\n 'toast.branchesFailed': 'Não foi possível ler as branches',\n 'toast.worktreeFailed': 'Não foi possível alterar a opção da árvore de trabalho',\n 'toast.worktreeStarted': 'Esta sessão já começou e não pode mais usar uma árvore de trabalho',\n 'toast.restored': 'Árvore de trabalho restaurada',\n 'toast.restoreFailed': 'Não foi possível restaurar a árvore de trabalho: {message}',\n 'toast.leaveFailed': 'Não foi possível mudar para o diretório do projeto; tente novamente',\n 'toast.markedReady': '{name} está pronta para revisão',\n 'toast.markReadyFailed': 'Não foi possível marcar como pronta: {message}',\n 'toast.merged': '{name} foi mesclada',\n 'toast.mergeFailed': 'Não foi possível mesclar: {message}',\n 'toast.mergeStale': '{name} tem novos commits; revise-os antes de mesclar',\n 'toast.pathCopied': 'Caminho copiado',\n 'toast.expandFailed': 'Não foi possível mostrar as linhas sem alterações: {message}',\n 'toast.expandStale': 'O arquivo mudou após a leitura das alterações; atualize antes de expandir',\n 'toast.prompted': 'Enviado: {text}',\n 'toast.promptFailed': 'Não foi possível enviar a mensagem',\n 'thread.list': 'Discussões',\n 'thread.listAria': 'Discussões de revisão, {count} no total',\n 'thread.close': 'Fechar a lista de discussões',\n 'thread.filterAria': 'Filtrar discussões',\n 'thread.filter.unresolved': 'Não resolvidas',\n 'thread.filter.resolved': 'Resolvidas',\n 'thread.filter.all': 'Todas',\n 'thread.none': 'Nenhuma discussão corresponde a este filtro',\n 'thread.empty': 'Ainda não há discussões de revisão',\n 'thread.back': 'Voltar às alterações',\n 'thread.truncated': 'Há discussões demais; mostrando as primeiras {count}',\n 'thread.openAll': 'Ver no GitHub',\n 'thread.replies': '{count} respostas',\n 'thread.fileLevel': 'Discussão do arquivo',\n 'thread.onCommit': 'em {commit}',\n 'thread.originally': 'Originalmente {range}',\n 'thread.outdatedTag': 'Desatualizada',\n 'thread.elsewhereTag': 'Fora dos commits escolhidos',\n 'thread.author': 'Autor',\n 'thread.bot': 'bot',\n 'thread.deletedAuthor': 'Conta excluída',\n 'thread.resolvedRow': 'Discussão resolvida · {author}',\n 'thread.expand': 'Expandir',\n 'thread.collapse': 'Recolher',\n 'thread.outdatedSection': '{count} discussões desatualizadas: commits posteriores alteraram o código delas',\n 'thread.viewOriginal': 'Ver o arquivo naquele commit',\n 'thread.hideOriginal': 'Ocultar o arquivo daquele commit',\n 'thread.originalLoading': 'Lendo o arquivo naquele commit…',\n 'thread.originalFailed': 'Não foi possível ler o arquivo naquele commit: {message}',\n 'thread.openOnHost': 'Ver no GitHub',\n 'thread.unresolvedCount': '{count} não resolvidas',\n 'thread.unresolvedAria': '{name} tem {count} discussões não resolvidas; ir para a próxima',\n 'thread.next': 'Ir para a próxima discussão não resolvida',\n 'thread.treeCount': '{count} discussões não resolvidas',\n 'thread.loadFailed': 'Não foi possível ler as discussões do GitHub: {message}',\n 'thread.inputFailed': 'O campo de entrada não pôde receber esta discussão; tente novamente mais tarde',\n 'thread.copy': 'Copiar',\n 'thread.copied': 'Copiado',\n 'thread.codeBlock': 'Bloco de código',\n 'thread.wrap': 'Quebrar linhas',\n 'thread.unwrap': 'Não quebrar linhas',\n 'thread.footnotes': 'Notas de rodapé',\n 'review.browserDraft': 'Rascunho do navegador',\n 'review.browserDrafts': '{count} rascunhos de comentários estão salvos apenas neste navegador, não na sua revisão pendente do GitHub. Adicione-os à revisão ou exclua-os primeiro.',\n 'review.discard': 'Descartar revisão',\n 'review.discardConfirm': 'Descartar sua revisão pendente e seus {count} comentários? Esta ação não pode ser desfeita.',\n 'review.discarding': 'Descartando…',\n 'review.discarded': 'Revisão descartada',\n 'thread.reply': 'Responder',\n 'thread.replyPlaceholder': 'Responder…',\n 'thread.replyActions': 'Opções de resposta',\n 'thread.resolve': 'Resolver discussão',\n 'thread.unresolve': 'Reabrir discussão',\n 'thread.commentActions': 'Ações do comentário de {author}',\n 'thread.editAria': 'Editar comentário',\n 'thread.save': 'Salvar',\n 'thread.saving': 'Salvando…',\n 'thread.deleting': 'Excluindo…',\n 'thread.deleteConfirm': 'Excluir este comentário?',\n 'thread.deleteLast': 'Excluir este comentário? É o único da discussão, então a discussão também será excluída.',\n 'thread.writeUnknown': 'Não foi possível confirmar se o GitHub aplicou a alteração. As discussões estão sendo lidas novamente; verifique-as antes de tentar de novo.',\n 'thread.writeFailed': 'O GitHub não aplicou a alteração: {message}',\n 'thread.writeStale': 'O PR tem novos commits. As discussões são lidas novamente no novo head; verifique-as e tente de novo.',\n 'thread.writeUnsupported': 'Este serviço não permite alterar discussões aqui.',\n}\n","/** The forge facts a Session row shows, from the Session list and the change request states every row shares. */\n\nimport { useMemo } from 'react'\nimport type { HostObservable, SnapshotSelectorHook } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { UseSessions } from '@deepseek-ai/dsh-client-ui-session/client'\nimport type {} from '@deepseek-ai/dsh-experimental-forge-session/types'\nimport type { SessionId } from '@deepseek-ai/dsh-session/types'\nimport type { SessionProjectionSummaryValues } from '@deepseek-ai/dsh-session-projection/types'\nimport type { ForgeChangeRequestListState, ForgeSessionWorktree } from '../types.ts'\nimport type { StreamSnapshot } from './source.ts'\nimport { toneOf, type ChangeRequestTone } from './status.ts'\n\n/** Change request states by URL as the Host streams them. */\nexport type ChangeRequestStates = StreamSnapshot<ReadonlyMap<string, ForgeChangeRequestListState>>\n\n/** Business face of the Session row entries: the change request states every row shares. */\nexport interface SessionListInjected {\n readonly hooks: {\n /** States by URL; the renderer binds it as `useStates`. */\n readonly states: HostObservable<ChangeRequestStates>\n }\n}\n\n/** One visible change request of a Session with its last polled state, when known. */\nexport interface SessionListChangeRequest {\n readonly url: string\n readonly state: ForgeChangeRequestListState | undefined\n readonly tone: ChangeRequestTone\n}\n\n/** What a Session row and its hover card show. */\nexport interface SessionForgeFacts {\n /** The worktree the panel created for the Session, while the Session works in it. */\n readonly worktree: ForgeSessionWorktree | null\n /** Visible change requests, most urgent first; equally urgent ones keep their binding order. */\n readonly changeRequests: readonly SessionListChangeRequest[]\n}\n\nconst URGENCY: Record<ChangeRequestTone, number> = { blocked: 0, open: 1, draft: 2, unknown: 3, merged: 4, closed: 5 }\n\nconst NO_FACTS: SessionForgeFacts = { worktree: null, changeRequests: [] }\n\n/**\n * Derive a Session's facts from its listed projection values.\n * @param values - the Session's projection values in the Session list, undefined before it is listed.\n * @param states - change request states by URL.\n * @returns the facts; a Session without a worktree or change requests shares one empty value.\n */\nexport function sessionForgeFacts(\n values: Readonly<Partial<SessionProjectionSummaryValues>> | undefined,\n states: ReadonlyMap<string, ForgeChangeRequestListState>,\n): SessionForgeFacts {\n const worktree = values?.forgeWorktree ?? null\n const changeRequests = (values?.forgeChangeRequests ?? [])\n .filter(binding => !binding.dismissed)\n .map((binding): SessionListChangeRequest => {\n const state = states.get(binding.url)\n return { url: binding.url, state, tone: toneOf(state ?? null) }\n })\n .sort((left, right) => URGENCY[left.tone] - URGENCY[right.tone])\n return worktree === null && changeRequests.length === 0 ? NO_FACTS : { worktree, changeRequests }\n}\n\n/**\n * Read one Session's facts, recomputed only when its listed values or the shared states change.\n * @param useSessions - selector hook over the Session list.\n * @param useStates - selector hook over the change request states.\n * @param sessionId - the row's Session.\n * @returns the facts.\n */\nexport function useSessionForgeFacts(\n useSessions: UseSessions,\n useStates: SnapshotSelectorHook<ChangeRequestStates>,\n sessionId: SessionId,\n): SessionForgeFacts {\n const values = useSessions(state => state.byId[sessionId]?.projectionValues)\n const states = useStates(snapshot => snapshot.state)\n return useMemo(() => sessionForgeFacts(values, states), [values, states])\n}\n","/**\n * Session row icons after the time label: a branch glyph while the Session\n * works in the worktree the panel created for it, and the state glyph of its\n * most urgent change request. Glyphs of open change requests stay in the\n * row's subdued color with their checks filling the head branch end; merged and closed ones keep\n * their state color.\n */\n\nimport type { ReactNode } from 'react'\nimport { IconBranchOutlineRegular } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'\n// Type-only: pulls the ui-workspace SlotMap merge (the Session row seats).\nimport type {} from '@deepseek-ai/dsh-client-ui-workspace/client'\nimport type { ChecksRollup } from '@deepseek-ai/dsh-experimental-forge/types'\nimport { ChangeRequestGlyph } from './glyphs.tsx'\nimport type { ForgePanelKey, NS } from './locales.ts'\nimport { useSessionForgeFacts, type SessionListChangeRequest, type SessionListInjected } from './session-list.ts'\nimport { TONE_LABEL } from './status.ts'\nimport css from './SessionList.module.css'\n\ntype Translate = PropsLocale<typeof NS>['t']\n\n/** Copy of each checks outcome a row and its hover card name. */\nexport const CHECKS_LABEL: Record<Exclude<ChecksRollup, 'none'>, ForgePanelKey> = {\n pending: 'change.ci.running',\n success: 'change.ci.passed',\n failure: 'change.ci.failedUnlisted',\n}\n\n/**\n * The checks outcome a row shows for a change request: none for a merged,\n * closed, or not yet polled one.\n * @param entry - the change request.\n * @returns the outcome.\n */\nexport function rowChecks(entry: SessionListChangeRequest): ChecksRollup {\n if (entry.state === undefined || entry.tone === 'merged' || entry.tone === 'closed') return 'none'\n return entry.state.checksRollup\n}\n\n/**\n * Name a change request's state and checks, as one line.\n * @param entry - the change request.\n * @param t - forge panel copy.\n * @returns the line.\n */\nexport function stateLine(entry: SessionListChangeRequest, t: Translate): string {\n const state = t(TONE_LABEL[entry.tone])\n const checks = rowChecks(entry)\n return checks === 'none' ? state : t('list.stateChecks', { state, checks: t(CHECKS_LABEL[checks]) })\n}\n\n/** Full props of the row icons. */\nexport type SessionRowForgeProps =\n PropsRuntime<'sidebar.session.row.trailing'> & PropsLocale<typeof NS> & InjectFace<SessionListInjected>\n\n/**\n * Render a Session row's forge icons.\n * @param props - the row's Session, the shared hooks, and copy.\n * @returns the icons, or nothing for a Session without a worktree or change requests.\n */\nexport function SessionRowForge({ sessionId, useSessions, useStates, t }: SessionRowForgeProps): ReactNode {\n const facts = useSessionForgeFacts(useSessions, useStates, sessionId)\n const top = facts.changeRequests[0]\n const checks = top === undefined ? 'none' : rowChecks(top)\n return (\n <>\n {facts.worktree !== null && (\n <span className={css.icon} role=\"img\" aria-label={t('list.worktree')} data-forge-row-worktree=\"\">\n <IconBranchOutlineRegular size={13} />\n </span>\n )}\n {top !== undefined && (\n <span\n className={css.icon}\n role=\"img\"\n aria-label={t('change.stateAria', { state: stateLine(top, t) })}\n data-forge-row-change={top.tone}\n >\n <ChangeRequestGlyph tone={top.tone} tinted={top.tone === 'merged' || top.tone === 'closed'} size={14}\n checks={checks === 'none' ? undefined : checks} />\n </span>\n )}\n </>\n )\n}\n","/**\n * The forge section of a Session row's hover card: the worktree branch while\n * the Session works in the worktree the panel created for it, and its change\n * requests, most urgent first.\n */\n\nimport type { ReactNode } from 'react'\nimport { IconBranchOutlineRegular } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'\n// Type-only: pulls the ui-workspace SlotMap merge (the Session row seats).\nimport type {} from '@deepseek-ai/dsh-client-ui-workspace/client'\nimport { ChangeRequestGlyph } from './glyphs.tsx'\nimport type { NS } from './locales.ts'\nimport { useSessionForgeFacts, type SessionListInjected } from './session-list.ts'\nimport { CHECKS_LABEL, rowChecks, stateLine } from './SessionRowForge.tsx'\nimport { TONE_LABEL } from './status.ts'\nimport css from './SessionList.module.css'\n\n/** Change requests the hover card lists before naming how many more there are. */\nexport const HOVER_CHANGE_REQUEST_LIMIT = 3\n\n/** Full props of the hover section. */\nexport type SessionHoverForgeProps =\n PropsRuntime<'sidebar.session.row.hover'> & PropsLocale<typeof NS> & InjectFace<SessionListInjected>\n\n/**\n * Render the forge section of a Session's hover card.\n * @param props - the row's Session, the shared hooks, and copy.\n * @returns the section, or null for a Session without a worktree or change requests.\n */\nexport function SessionHoverForge({ sessionId, useSessions, useStates, t }: SessionHoverForgeProps): ReactNode {\n const facts = useSessionForgeFacts(useSessions, useStates, sessionId)\n if (facts.worktree === null && facts.changeRequests.length === 0) return null\n const shown = facts.changeRequests.slice(0, HOVER_CHANGE_REQUEST_LIMIT)\n const omitted = facts.changeRequests.length - shown.length\n const worktree = facts.worktree\n return (\n <div className={css.hover} data-forge-session-hover=\"\">\n {worktree !== null && (\n <div className={css.hoverItem}>\n <span className={css.hoverIcon} aria-hidden=\"true\"><IconBranchOutlineRegular size={12} /></span>\n <span className={css.hoverBody}>\n <span className={css.hoverBranch}>{worktree.branch}</span>\n <span className={css.hoverNote}>{t('checkout.worktreeFrom', { base: worktree.from ?? worktree.baseCommit.slice(0, 7) })}</span>\n </span>\n </div>\n )}\n {shown.map((entry) => {\n const checks = rowChecks(entry)\n return (\n <div className={css.hoverItem} key={entry.url} data-forge-session-hover-change={entry.tone}>\n <span className={css.hoverIcon} data-tone={entry.tone} aria-hidden=\"true\">\n <ChangeRequestGlyph tone={entry.tone} tinted={false} size={12} />\n </span>\n <span className={css.hoverBody}>\n <span className={css.hoverTitle}>{entry.state === undefined ? entry.url : `#${entry.state.number} ${entry.state.title}`}</span>\n <span className={css.hoverNote}>\n <span aria-hidden=\"true\">\n {t(TONE_LABEL[entry.tone])}\n {checks !== 'none' && <span className={css.hoverSeparator}>·</span>}\n {checks !== 'none' && <span data-checks={checks}>{t(CHECKS_LABEL[checks])}</span>}\n </span>\n <span className={css.visuallyHidden}>{stateLine(entry, t)}</span>\n </span>\n </span>\n </div>\n )\n })}\n {omitted > 0 && <div className={css.hoverMore}>{t('list.more', { count: omitted })}</div>}\n </div>\n )\n}\n","/**\n * Host stream sources (per-Session panel states and the change request states\n * of the Session list), the store behind action notices, and the tab visibility store.\n */\n\nimport type { HostObservable } from '@deepseek-ai/dsh-client-ui-slots'\nimport type { ForgeChangeRequestListState, ForgeChangeRequestStatesFrame, ForgePanelState } from '../types.ts'\nimport type { ForgePanelKey } from './locales.ts'\n\n/** What a stream source publishes: the value its frames built, and whether the stream ended while read. */\nexport interface StreamSnapshot<S> {\n /** Value built from the frames so far. */\n readonly state: S\n /** Whether the stream ended while surfaces still read it. */\n readonly disconnected: boolean\n}\n\n/** What the panel surfaces of one Session read; `state` is null before the first one arrives. */\nexport type PanelSnapshot = StreamSnapshot<ForgePanelState | null>\n\n/** One open Host stream. */\nexport interface HostStream<F> extends AsyncIterable<F> {\n /** Close the stream. */\n dispose: () => void\n}\n\n/** One open stream of panel states. */\nexport type PanelStream = HostStream<ForgePanelState>\n\n/** Stream opener and connection-reset subscription of a source. */\nexport interface StreamSourceDeps<F> {\n /**\n * Open the Host stream.\n * @param signal - aborts the stream.\n * @returns the stream.\n */\n readonly open: (signal: AbortSignal) => HostStream<F>\n /**\n * Subscribe to transport resets, after which an open stream no longer delivers.\n * @param listener - called on each reset.\n * @returns the unsubscribe function.\n */\n readonly subscribeReset: (listener: () => void) => () => void\n}\n\n/** Stream opener and connection-reset subscription of one Session's panel source. */\nexport type PanelSourceDeps = StreamSourceDeps<ForgePanelState>\n\n/** A value built from a Host stream that runs only while a surface subscribes. */\nexport interface StreamSource<S> {\n /** Snapshot observable; the renderer binds it as a selector hook. */\n readonly observable: HostObservable<StreamSnapshot<S>>\n /** Open the stream again after it ended; a no-op while it runs or nobody subscribes. */\n readonly reconnect: () => void\n /** Close the stream and the reset subscription and drop every subscriber. */\n readonly close: () => void\n}\n\n/** Panel state of one Session, streamed only while a surface subscribes. */\nexport interface PanelSource {\n /** Snapshot observable; the renderer binds it as `usePanel`. */\n readonly hooks: { readonly panel: HostObservable<PanelSnapshot> }\n /** Open the stream again after it ended; a no-op while it runs or nobody subscribes. */\n readonly reconnect: () => void\n /** Close the stream and the reset subscription and drop every subscriber. */\n readonly close: () => void\n}\n\n/**\n * Create a source that folds a Host stream into one value. The first\n * subscriber opens the stream and the last one closes it; the value stays\n * readable for the next subscriber. A stream that ends or fails while\n * subscribed marks the snapshot disconnected until `reconnect` or a transport\n * reset reopens it.\n * @param deps - stream opener and reset subscription.\n * @param initial - value before the first frame.\n * @param fold - the value after one frame.\n * @returns the source.\n */\nexport function createStreamSource<F, S>(deps: StreamSourceDeps<F>, initial: S, fold: (state: S, frame: F) => S): StreamSource<S> {\n let snapshot: StreamSnapshot<S> = { state: initial, disconnected: false }\n const listeners = new Set<() => void>()\n let running: { readonly controller: AbortController; readonly stream: HostStream<F> } | undefined\n let stopReset: (() => void) | undefined\n const publish = (next: StreamSnapshot<S>): void => {\n snapshot = next\n for (const listener of [...listeners]) listener()\n }\n const stop = (): void => {\n const stopped = running\n running = undefined\n stopped?.controller.abort()\n stopped?.stream.dispose()\n }\n const start = (): void => {\n const controller = new AbortController()\n const opened = { controller, stream: deps.open(controller.signal) }\n running = opened\n if (snapshot.disconnected) publish({ ...snapshot, disconnected: false })\n void (async () => {\n try {\n for await (const frame of opened.stream) {\n if (running !== opened) return\n publish({ state: fold(snapshot.state, frame), disconnected: false })\n }\n } catch (error) {\n void error // A failed stream is reported as the disconnection below.\n }\n if (running !== opened) return\n running = undefined\n publish({ ...snapshot, disconnected: true })\n })()\n }\n const reconnect = (): void => {\n if (listeners.size === 0 || running !== undefined) return\n start()\n }\n const close = (): void => {\n listeners.clear()\n stopReset?.()\n stopReset = undefined\n stop()\n }\n return {\n observable: {\n getSnapshot: () => snapshot,\n subscribe(listener) {\n listeners.add(listener)\n if (listeners.size === 1) {\n stopReset = deps.subscribeReset(() => {\n stop()\n reconnect()\n })\n start()\n }\n return () => {\n listeners.delete(listener)\n if (listeners.size === 0) close()\n }\n },\n },\n reconnect,\n close,\n }\n}\n\n/**\n * Create the panel source of one Session: the latest state the Host streamed.\n * @param deps - stream opener and reset subscription.\n * @returns the source.\n */\nexport function createPanelSource(deps: PanelSourceDeps): PanelSource {\n const source = createStreamSource<ForgePanelState, ForgePanelState | null>(deps, null, (_previous, state) => state)\n return { hooks: { panel: source.observable }, reconnect: source.reconnect, close: source.close }\n}\n\n/**\n * The known change request states after one `changeRequestStates` frame: a\n * baseline replaces them, and a change replaces the states it carries.\n * @param states - states by URL before the frame.\n * @param frame - the frame.\n * @returns states by URL after the frame.\n */\nexport function foldStates(\n states: ReadonlyMap<string, ForgeChangeRequestListState>,\n frame: ForgeChangeRequestStatesFrame,\n): ReadonlyMap<string, ForgeChangeRequestListState> {\n const next = frame.type === 'baseline' ? new Map<string, ForgeChangeRequestListState>() : new Map(states)\n for (const state of frame.states) next.set(state.url, state)\n return next\n}\n\n/** One action notice; `seq` keys the toast so a repeated notice restarts it. */\nexport interface ActionNotice {\n /** Dictionary key of the notice text. */\n readonly key: ForgePanelKey\n /** Values interpolated into the text. */\n readonly params: Readonly<Record<string, string | number>>\n /** `success` reports a completed action; `failure` a refused or failed one. */\n readonly tone: 'success' | 'failure'\n /** Reverts the reported action, or undefined when it cannot be undone. */\n readonly undo: (() => void) | undefined\n /** Increasing report number. */\n readonly seq: number\n}\n\n/** Optional parts of a reported notice. */\nexport interface NoticeOptions {\n /** Values interpolated into the text. */\n readonly params?: Readonly<Record<string, string | number>>\n /** Defaults to `failure`. */\n readonly tone?: ActionNotice['tone']\n /** Reverts the reported action. */\n readonly undo?: () => void\n}\n\n/** Store that action wiring reports into and one `shell.overlay` entry reads. */\nexport interface NoticeSource {\n /** Current notice, or null while none shows; the renderer binds it as `useNotice`. */\n readonly hooks: { readonly notice: HostObservable<ActionNotice | null> }\n /**\n * Show one notice, replacing the shown one.\n * @param key - dictionary key of the text.\n * @param options - interpolated values, tone, and undo action.\n */\n readonly report: (key: ForgePanelKey, options?: NoticeOptions) => void\n /** Clear the shown notice. */\n readonly dismiss: () => void\n}\n\n/**\n * Create the action notice store.\n * @returns the store.\n */\nexport function createNoticeSource(): NoticeSource {\n let notice: ActionNotice | null = null\n let seq = 0\n const listeners = new Set<() => void>()\n const publish = (next: ActionNotice | null): void => {\n notice = next\n for (const listener of [...listeners]) listener()\n }\n return {\n hooks: {\n notice: {\n getSnapshot: () => notice,\n subscribe(listener) {\n listeners.add(listener)\n return () => { listeners.delete(listener) }\n },\n },\n },\n report: (key, options = {}) => {\n publish({ key, params: options.params ?? {}, tone: options.tone ?? 'failure', undo: options.undo, seq: ++seq })\n },\n dismiss: () => { publish(null) },\n }\n}\n\n/** Whether one Session's forge tab is visible; the header entry reads it for its pressed state. */\nexport interface VisibilitySource {\n /** Current visibility; the renderer binds it as `useVisible`. */\n readonly hooks: { readonly visible: HostObservable<boolean> }\n /**\n * Record the tab's visibility.\n * @param visible - whether the tab is visible.\n */\n readonly set: (visible: boolean) => void\n}\n\n/**\n * Create the visibility store of one Session's forge tab, initially hidden.\n * @returns the store.\n */\nexport function createVisibilitySource(): VisibilitySource {\n let visible = false\n const listeners = new Set<() => void>()\n return {\n hooks: {\n visible: {\n getSnapshot: () => visible,\n subscribe(listener) {\n listeners.add(listener)\n return () => { listeners.delete(listener) }\n },\n },\n },\n set: (next) => {\n if (next === visible) return\n visible = next\n for (const listener of [...listeners]) listener()\n },\n }\n}\n","/**\n * Card above the composer while a Session's worktree is created, while a message\n * waits after a failed or stopped attempt, and when its worktree is gone or\n * being restored.\n */\n\nimport { useState, type ReactNode } from 'react'\nimport {\n Button, IconBranchOutlineRegular, IconCheckOutlineRegular, IconChevronRightOutlineRegular, IconCloseOutlineRegular, StateDot,\n} from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { HostObservable, InjectFace, PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type {} from '@deepseek-ai/dsh-client-ui-conversation/client'\nimport { assertNever } from '@deepseek-ai/dsh-util-values'\nimport type { ForgeMissingWorktree, ForgePanelWorktree, ForgeSessionWorktree, ForgeWorktreeRestoration } from '../types.ts'\nimport type { ForgePanelKey, NS } from './locales.ts'\nimport type { PanelSnapshot } from './source.ts'\nimport css from './WorktreeProgress.module.css'\n\n/** Business face of the card. */\nexport interface WorktreeProgressInjected {\n /** Panel snapshot of the Session; the renderer binds it as `usePanel`. */\n readonly hooks: { readonly panel: HostObservable<PanelSnapshot> }\n /** Stop the running attempt a message waits for; the message keeps waiting. */\n readonly stop: () => void\n /** Make another attempt at the worktree a message waits for. */\n readonly retry: () => void\n /** Withdraw the worktree request, so the waiting message goes on without a worktree. */\n readonly withdraw: () => void\n /**\n * Check out the removed worktree again.\n * @returns the failure text, or undefined once it is restored.\n */\n readonly restore: () => Promise<string | undefined>\n /** Move the Session back to the source checkout of its removed worktree. */\n readonly leave: () => void\n}\n\n/** Full props of the card. */\nexport type WorktreeProgressProps = InjectFace<WorktreeProgressInjected> & PropsLocale<typeof NS>\n\ntype Translate = WorktreeProgressProps['t']\n\ntype StepState = 'done' | 'running' | 'waiting' | 'failed'\n\ntype Phase = 'prepare' | 'checkout'\n\ntype StepList = readonly { readonly phase: Phase; readonly label: ForgePanelKey }[]\n\nconst CREATION_STEPS: StepList = [\n { phase: 'prepare', label: 'creation.prepare' },\n { phase: 'checkout', label: 'creation.checkout' },\n]\n\nconst RESTORATION_STEPS: StepList = [\n { phase: 'prepare', label: 'restoration.prepare' },\n { phase: 'checkout', label: 'creation.checkout' },\n]\n\nfunction stepState(current: 'prepare' | 'checkout', failed: boolean, phase: 'prepare' | 'checkout'): StepState {\n if (phase === current) return failed ? 'failed' : 'running'\n return phase === 'prepare' ? 'done' : 'waiting'\n}\n\nfunction Steps({ steps, phase, failed, t }: {\n readonly steps: StepList\n readonly phase: Phase\n readonly failed: boolean\n readonly t: Translate\n}): ReactNode {\n return (\n <ul className={css.steps}>\n {steps.map(step => (\n <li key={step.phase} className={css.step} data-state={stepState(phase, failed, step.phase)}>\n <StepIcon state={stepState(phase, failed, step.phase)} />\n <span>{t(step.label)}</span>\n </li>\n ))}\n </ul>\n )\n}\n\nfunction StepIcon({ state }: { readonly state: StepState }): ReactNode {\n switch (state) {\n case 'done': return <IconCheckOutlineRegular size={14} className={css.done} />\n case 'running': return <StateDot state=\"ongoing\" size={14} />\n case 'failed': return <IconCloseOutlineRegular size={14} className={css.failed} />\n case 'waiting': return <span className={css.waiting} aria-hidden=\"true\" />\n /* v8 ignore next -- closed StepState union exhaustiveness guard */\n default: return assertNever(state, 'StepState')\n }\n}\n\n/** One creation as the card shows it: the running attempt, or the failed or stopped one a message waits after. */\ninterface CreationView {\n readonly state: 'running' | 'failed' | 'stopped'\n readonly phase: 'prepare' | 'checkout'\n readonly branch: string | null\n readonly from: string | null\n /** Failure text, or null unless the attempt failed. */\n readonly message: string | null\n /** Whether a message waits for the running attempt, which can then be stopped. */\n readonly held: boolean\n}\n\n/** The running attempt, else the failed or stopped one a message waits after, or undefined without either. */\nfunction creationOf(worktree: ForgePanelWorktree): CreationView | undefined {\n const { creation, failure, waiting } = worktree\n if (creation !== null) return { ...creation, state: 'running', message: null }\n if (waiting !== 'creation') return undefined\n if (failure !== null) return { ...failure, state: 'failed', held: false }\n return { state: 'stopped', phase: 'prepare', branch: null, from: worktree.request?.from ?? null, message: null, held: false }\n}\n\nfunction Details({ creation, t }: { readonly creation: CreationView; readonly t: Translate }): ReactNode {\n return (\n <dl className={css.details}>\n {creation.branch !== null && (\n <>\n <dt>{t('creation.branch')}</dt>\n <dd className={css.code}>{creation.branch}</dd>\n </>\n )}\n <dt>{t('creation.base')}</dt>\n <dd className={css.code}>{creation.from ?? t('creation.head')}</dd>\n {creation.message !== null && (\n <>\n <dt>{t('creation.error')}</dt>\n <dd className={css.message}>{creation.message}</dd>\n </>\n )}\n </dl>\n )\n}\n\nconst CREATION_TITLE: Record<CreationView['state'], ForgePanelKey> = {\n running: 'creation.title',\n failed: 'creation.failed',\n stopped: 'creation.stopped',\n}\n\nfunction CreationCard({ creation, stop, retry, withdraw, t }: {\n readonly creation: CreationView\n readonly stop: WorktreeProgressInjected['stop']\n readonly retry: WorktreeProgressInjected['retry']\n readonly withdraw: WorktreeProgressInjected['withdraw']\n readonly t: Translate\n}): ReactNode {\n const [open, setOpen] = useState(false)\n const running = creation.state === 'running'\n const failed = creation.state === 'failed'\n const title = t(CREATION_TITLE[creation.state])\n return (\n <div className={css.dock} data-forge-creation={running ? creation.phase : creation.state}>\n <section className={css.card} aria-label={title} aria-busy={running}>\n <div className={css.header}>\n <IconBranchOutlineRegular size={14} className={css.glyph} />\n <span className={css.title}>{title}</span>\n {creation.branch !== null && <span className={css.branch}>{creation.branch}</span>}\n </div>\n {creation.state !== 'stopped' && <Steps steps={CREATION_STEPS} phase={creation.phase} failed={failed} t={t} />}\n {(open || failed) && <Details creation={creation} t={t} />}\n {!running && <p className={css.note}>{t('creation.waiting')}</p>}\n <div className={css.footer}>\n {running && (\n <button type=\"button\" className={css.disclosure} aria-expanded={open} onClick={() => { setOpen(!open) }}>\n <IconChevronRightOutlineRegular size={12} className={open ? css.chevronOpen : css.chevron} />\n {t('creation.details')}\n </button>\n )}\n {!running && (\n <span className={css.actions}>\n <Button size=\"sm\" variant=\"primary\" onClick={retry}>{t('creation.retry')}</Button>\n <Button size=\"sm\" variant=\"ghost\" onClick={withdraw}>{t('creation.skip')}</Button>\n </span>\n )}\n {creation.held && (\n <span className={css.actions}>\n <Button size=\"sm\" variant=\"ghost\" icon={<IconCloseOutlineRegular size={14} />} onClick={stop}>{t('creation.cancel')}</Button>\n </span>\n )}\n </div>\n </section>\n </div>\n )\n}\n\nfunction MissingCard({ created, missing, restoration, waiting, restore, leave, t }: {\n readonly created: ForgeSessionWorktree\n readonly missing: ForgeMissingWorktree\n /** The running restoration, from whichever surface started it. */\n readonly restoration: ForgeWorktreeRestoration | null\n /** Whether a message waits for the worktree to be restored or left. */\n readonly waiting: boolean\n readonly restore: WorktreeProgressInjected['restore']\n readonly leave: WorktreeProgressInjected['leave']\n readonly t: Translate\n}): ReactNode {\n const [restoring, setRestoring] = useState(false)\n const [error, setError] = useState<string | null>(null)\n const start = (): void => {\n setRestoring(true)\n setError(null)\n void restore().then(\n (failure) => {\n setRestoring(false)\n setError(failure ?? null)\n },\n (failure: unknown) => {\n setRestoring(false)\n setError(failure instanceof Error ? failure.message : String(failure))\n },\n )\n }\n // The restore this card asked for runs before the Host names its first step.\n const phase = restoration?.phase ?? (restoring ? 'prepare' : null)\n if (phase !== null) {\n return (\n <div className={css.dock} data-forge-missing=\"\" data-forge-restoration={phase}>\n <section className={css.card} aria-label={t('restoration.title')} aria-busy={true}>\n <div className={css.header}>\n <IconBranchOutlineRegular size={14} className={css.glyph} />\n <span className={css.title}>{t('restoration.title')}</span>\n <span className={css.branch}>{created.branch}</span>\n </div>\n <Steps steps={RESTORATION_STEPS} phase={phase} failed={false} t={t} />\n </section>\n </div>\n )\n }\n return (\n <div className={css.dock} data-forge-missing=\"\">\n <section className={css.card} aria-label={t('missing.title')}>\n <div className={css.header}>\n <IconBranchOutlineRegular size={14} className={css.warning} />\n <span className={css.title}>{t('missing.title')}</span>\n <span className={css.branch}>{created.branch}</span>\n </div>\n <p className={css.note}>{t(missing.branchExists === null ? 'missing.unknown' : missing.branchExists ? 'missing.kept' : 'missing.recreated', { branch: created.branch })}</p>\n {waiting && <p className={css.note}>{t('missing.waiting')}</p>}\n {error !== null && <p className={css.error}>{error}</p>}\n <div className={css.footer}>\n <span className={css.actions}>\n <Button size=\"sm\" variant=\"primary\" onClick={start}>{t('missing.restore')}</Button>\n <Button size=\"sm\" variant=\"ghost\" onClick={leave}>{t('missing.leave')}</Button>\n </span>\n </div>\n </section>\n </div>\n )\n}\n\n/**\n * Render the worktree card of a Session: the running attempt at its\n * requested worktree, which can be stopped while a message waits for it; the\n * failed or stopped attempt a message waits after, with another attempt or\n * withdrawing the request so the message goes on without a worktree; or the\n * removal of the worktree the Session works in, with restoring it, whose\n * steps the card follows, and returning to the source checkout, after which\n * a waiting message goes on.\n * @param props - panel hook, actions, and copy.\n * @returns the card, or nothing while no attempt runs, no message waits, and the worktree exists.\n */\nexport function WorktreeProgress({ usePanel, stop, retry, withdraw, restore, leave, t }: WorktreeProgressProps): ReactNode {\n const worktree = usePanel(snapshot => snapshot.state?.worktree ?? null)\n if (worktree === null) return null\n const creation = creationOf(worktree)\n if (creation !== undefined) return <CreationCard creation={creation} stop={stop} retry={retry} withdraw={withdraw} t={t} />\n if (worktree.missing === null || worktree.created === null) return null\n return (\n <MissingCard\n created={worktree.created}\n missing={worktree.missing}\n restoration={worktree.restoration}\n waiting={worktree.waiting === 'restoration'}\n restore={restore}\n leave={leave}\n t={t}\n />\n )\n}\n","/** The worktree service's row page on the Plugins page: the archive cleanup switch. */\nimport { useId } from 'react'\nimport { SettingsForm, Switch } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { SettingsFormLabels } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'\nimport type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/client'\nimport type { NS } from './locales.ts'\nimport type { WorktreeSettingsInjected } from './worktree-settings-form.ts'\nimport css from './WorktreeSettings.module.css'\n\nexport type WorktreeSettingsProps = PropsRuntime<'plugins.row.config'> & PropsLocale<typeof NS> & InjectFace<WorktreeSettingsInjected>\n\nfunction formLabels(t: WorktreeSettingsProps['t']): SettingsFormLabels {\n return {\n unavailable: t('settings.unavailable'), readOnly: t('settings.readOnly'), saveFailed: t('settings.saveFailed'),\n save: t('settings.save'), saving: t('settings.saving'),\n }\n}\n\n/**\n * Render the worktree row's configuration: one switch that keeps every\n * checkout when its Session is archived. The summary view names the switch.\n * @param props - the Plugins page view, the staged form, and its actions.\n * @returns the row page's form, or the summary line.\n */\nexport function WorktreeSettings(props: WorktreeSettingsProps) {\n const { t } = props\n const id = useId()\n const state = props.useWorktreeForm(value => value)\n if (props.view === 'summary') return t('settings.retainOnArchive.title')\n const disabled = !state.writable || state.saving\n return <SettingsForm labels={formLabels(t)} state={state} onSave={props.save} onDiscard={props.discard}>\n <div className={css.row}>\n <div className={css.text}>\n <label className={css.title} htmlFor={id}>{t('settings.retainOnArchive.title')}</label>\n <p className={css.description}>{t('settings.retainOnArchive.description')}</p>\n </div>\n <Switch checked={state.retainOnArchive.text === 'true'} disabled={disabled} label={t('settings.retainOnArchive.title')}\n onChange={(next) => { props.edit('retainOnArchive', next ? 'true' : 'false') }} />\n </div>\n </SettingsForm>\n}\n","/** Staged worktree row settings using the shared Plugins form model. */\nimport { SettingsFormModel, type SettingsFieldState, type SettingsFormActions, type SettingsFormScope,\n type SettingsFormShell } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { SnapshotStore } from '@deepseek-ai/dsh-client-store'\n\n/** The volatile fields of the worktree service's Config. */\nexport interface WorktreeSettings {\n retainOnArchive: boolean\n}\n\n/** Current drafts and the shared form status. */\nexport interface WorktreeFormState extends SettingsFormShell {\n retainOnArchive: SettingsFieldState\n}\n\n/** Registration-side form observable and edit callbacks. */\nexport interface WorktreeSettingsInjected extends SettingsFormActions {\n hooks: { worktreeForm: SnapshotStore<WorktreeFormState> }\n}\n\n/** Stages the retain switch until the reader saves it; the draft text is `true` or `false`. */\nexport class WorktreeSettingsForm {\n private readonly form: SettingsFormModel<WorktreeSettings>\n private readonly state: SnapshotStore<WorktreeFormState>\n\n /** @param scope - Host-backed configuration form of the worktree row. */\n constructor(scope: SettingsFormScope<WorktreeSettings>) {\n this.form = new SettingsFormModel(scope, [{\n field: 'retainOnArchive',\n format: value => value === true ? 'true' : 'false',\n parse: text => text === 'true' ? { kind: 'set', value: true } : text === 'false' ? { kind: 'set', value: false } : undefined,\n }])\n this.state = this.form.bind(() => ({ ...this.form.shell(), retainOnArchive: this.form.field('retainOnArchive') }))\n }\n\n /**\n * Build the registration face for the row page.\n * @returns draft observable and shared edit/save actions.\n */\n inject(): WorktreeSettingsInjected { return { hooks: { worktreeForm: this.state }, ...this.form.actions() } }\n /** Release the accepted-value subscription. */\n dispose(): void { this.form.dispose() }\n}\n","/** New Session option: start the Session in a new worktree, from a chosen local branch. */\n\nimport { useState, type ReactNode } from 'react'\nimport clsx from 'clsx'\nimport { IconBranchOutlineRegular, IconChevronDownOutlineRegular, Menu, Tooltip } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { MenuEntry } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type { HostObservable, InjectFace, PropsLocale } from '@deepseek-ai/dsh-client-ui-slots'\nimport type {} from '@deepseek-ai/dsh-client-ui-conversation/client'\nimport type { ForgeBranches, ForgePanelState, ForgeWorktreeBlocker } from '../types.ts'\nimport type { NS } from './locales.ts'\nimport type { PanelSnapshot } from './source.ts'\nimport css from './WorktreeToggle.module.css'\n\n/** Business face of the New Session option. */\nexport interface WorktreeToggleInjected {\n /** Panel snapshot of the Session; the renderer binds it as `usePanel`. */\n readonly hooks: { readonly panel: HostObservable<PanelSnapshot> }\n /**\n * Request a worktree from a base branch, replacing an open request.\n * @param from - base branch, or null for HEAD.\n * @returns whether the Host accepted it.\n */\n readonly request: (from: string | null) => Promise<boolean>\n /**\n * Withdraw the open request.\n * @returns whether the Host accepted it.\n */\n readonly cancel: () => Promise<boolean>\n /**\n * List the local branches of the Session's checkout.\n * @returns the branches, or undefined when they could not be read.\n */\n readonly branches: () => Promise<ForgeBranches | undefined>\n}\n\n/** Full props of the New Session option. */\nexport type WorktreeToggleProps = InjectFace<WorktreeToggleInjected> & PropsLocale<typeof NS>\n\ntype Translate = WorktreeToggleProps['t']\n\nfunction BaseMenu({ base, held, branches, request, t }: {\n readonly base: string | null\n /** Whether the worktree is being created, which freezes the base. */\n readonly held: boolean\n readonly branches: WorktreeToggleInjected['branches']\n readonly request: WorktreeToggleInjected['request']\n readonly t: Translate\n}): ReactNode {\n const [listed, setListed] = useState<ForgeBranches | null>(null)\n const [open, setOpen] = useState(false)\n const [loading, setLoading] = useState(false)\n const show = (): void => {\n if (open) {\n setOpen(false)\n return\n }\n setLoading(true)\n void branches().then((result) => {\n setLoading(false)\n if (result === undefined) return\n setListed(result)\n setOpen(true)\n })\n }\n const items: MenuEntry[] = [\n { type: 'label', id: 'title', text: t('worktree.baseMenu') },\n ...(listed?.branches ?? []).map(name => ({\n id: name,\n label: name === listed?.current\n ? <span className={css.option}><span className={css.optionName}>{name}</span><span className={css.optionNote}>{t('worktree.currentBranch')}</span></span>\n : <span className={css.optionName}>{name}</span>,\n })),\n ]\n return (\n <Menu\n open={open}\n items={items}\n selectedId={base ?? undefined}\n onSelect={(id) => {\n setOpen(false)\n if (id !== base) void request(id)\n }}\n onClose={() => { setOpen(false) }}\n side=\"bottom\"\n align=\"end\"\n portal\n anchor={\n <button type=\"button\" className={css.base} aria-haspopup=\"menu\" aria-expanded={open} disabled={loading || held} onClick={show}>\n <span className={css.baseLabel}>{base === null ? t('worktree.baseHead') : t('worktree.base', { branch: base })}</span>\n <IconChevronDownOutlineRegular size={12} className={clsx(css.chevron, open && css.chevronOpen)} />\n </button>\n }\n />\n )\n}\n\n/** What the option shows for a panel state, or undefined while it stays hidden. */\nfunction optionOf(state: ForgePanelState | null): {\n readonly blocker: Exclude<ForgeWorktreeBlocker, 'not-git'> | null\n readonly current: string | null\n readonly commit: string | null\n} | undefined {\n if (state === null || !state.worktree.editable) return undefined\n const blocker = state.worktree.blocker\n if (blocker === 'not-git') return undefined\n const checkout = state.checkout\n if (checkout.state !== 'ready') return undefined\n return { blocker, current: checkout.checkout.branch, commit: checkout.checkout.commit }\n}\n\n/**\n * Render the worktree option while the Session can still start in a worktree:\n * the current branch, or the base branch menu once requested, then the checkbox.\n * A blocked request keeps its selected base visible without a menu; the checkbox\n * only withdraws it. Branch details support pointer, touch, and keyboard access.\n * The request stays fixed while the worktree is being created.\n * @param props - panel snapshot hook, request actions, and copy.\n * @returns the option, or nothing outside a known Git checkout, once a turn started,\n * the request settled, or no worktree service is mounted.\n */\nexport function WorktreeToggle({ usePanel, request, cancel, branches, t }: WorktreeToggleProps): ReactNode {\n const state = usePanel(snapshot => snapshot.state)\n const [pending, setPending] = useState<boolean | null>(null)\n const option = optionOf(state)\n if (state === null || option === undefined) return null\n const held = state.worktree.creation !== null\n const requested = pending ?? state.worktree.request !== null\n const usable = option.blocker === null\n const disabled = held || pending !== null || (!usable && !requested)\n const current = option.current ?? (option.commit === null ? t('checkout.detached') : t('worktree.detachedTip', { commit: option.commit }))\n const base = state.worktree.request === null ? option.current : state.worktree.request.from\n const branchText = requested ? base === null ? t('worktree.baseHead') : t('worktree.base', { branch: base }) : current\n const branchTip = requested || option.current === null ? branchText : t('worktree.currentBranchTip', { branch: option.current })\n const change = (checked: boolean): void => {\n setPending(checked)\n void (checked ? request(option.current) : cancel()).then(() => { setPending(null) })\n }\n return (\n <span className={css.root} data-forge-worktree=\"\">\n {requested && usable ? (\n <BaseMenu base={state.worktree.request?.from ?? option.current} held={held} branches={branches} request={request} t={t} />\n ) : (\n <Tooltip label={branchTip} side=\"bottom\" portal openOnClick>\n <button type=\"button\" className={css.current} aria-label={branchTip}\n data-forge-current-branch={requested ? undefined : ''} data-forge-base-branch={requested ? '' : undefined}>\n <IconBranchOutlineRegular size={14} />\n <span className={css.baseLabel}>{branchText}</span>\n </button>\n </Tooltip>\n )}\n <Tooltip label={option.blocker === null ? t('worktree.hint') : t(`worktree.blocked.${option.blocker}`)} side=\"bottom\" delayMs={500}>\n <label className={css.toggle} data-disabled={disabled ? '' : undefined}>\n <input\n type=\"checkbox\"\n className={css.checkbox}\n checked={requested}\n disabled={disabled}\n onChange={(event) => { change(event.currentTarget.checked) }}\n />\n {t('worktree.label')}\n </label>\n </Tooltip>\n </span>\n )\n}\n","/** Remote contribution and slot registrations of the forge panel. */\n\nimport type { Context } from '@deepseek-ai/cordis'\nimport type { RemoteHostFacts } from '@deepseek-ai/dsh-api-remotes/client'\nimport type {} from '@deepseek-ai/dsh-api-session-controller/client'\nimport type {} from '@deepseek-ai/dsh-client-locale/client'\nimport type {} from '@deepseek-ai/dsh-client-ui-conversation/client'\nimport type {} from '@deepseek-ai/dsh-client-ui-layout/client'\nimport type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/client'\nimport { IconBranchOutlineRegular, type QuoteSummary } from '@deepseek-ai/dsh-client-ui-primitives'\nimport type {} from '@deepseek-ai/dsh-client-ui-renderer/client'\nimport type {} from '@deepseek-ai/dsh-client-ui-settings/client'\nimport type {} from '@deepseek-ai/dsh-client-ui-sidebar-right/client'\nimport type { HostObservable } from '@deepseek-ai/dsh-client-ui-slots'\nimport type {} from '@deepseek-ai/dsh-client-ui-workspace/client'\nimport type {} from '@deepseek-ai/dsh-experimental-client-ui-forge/remote'\nimport type { ForgeReviewThread } from '@deepseek-ai/dsh-experimental-forge/types'\nimport type { SessionId } from '@deepseek-ai/dsh-session/types'\nimport type { RemoteResult, TypertRemoteContribution } from '@deepseek-ai/dsh-typert-protocol'\nimport type { ForgeChangeRequestListState, ForgeChangeRequestStatesFrame, ForgePanelChangeRequest } from '../types.ts'\nimport { ReviewQueue } from './review-queue.ts'\nimport { ViewedFiles } from './viewed-files.ts'\nimport { formatReviewComment, reviewQuoteSummary, type ReviewSelection } from './review.ts'\nimport { formatThreadQuote, threadQuoteSummary } from './review-threads.ts'\nimport { ActionToast } from './ActionToast.tsx'\nimport { CHANGES_ID, changesDefinition } from './changes-address.ts'\nimport { createChangesStore } from './changes-store.ts'\nimport { ChangesTab, type ChangesTabInjected } from './ChangesTab.tsx'\nimport { ChangesTabTitle } from './ChangesTabTitle.tsx'\nimport { ForgeTab, type ForgeTabInjected } from './ForgeTab.tsx'\nimport { ForgeTabTitle } from './ForgeTabTitle.tsx'\nimport { HeaderButton, type HeaderButtonInjected } from './HeaderButton.tsx'\nimport { de, en, es, fr, ja, NS, pt, ru, zh, type ForgePanelKey } from './locales.ts'\nimport type { SessionListInjected } from './session-list.ts'\nimport { SessionHoverForge } from './SessionHoverForge.tsx'\nimport { SessionRowForge } from './SessionRowForge.tsx'\nimport {\n createNoticeSource, createPanelSource, createStreamSource, createVisibilitySource, foldStates, type PanelSource, type VisibilitySource,\n} from './source.ts'\nimport { numberOf } from './status.ts'\nimport { WorktreeProgress, type WorktreeProgressInjected } from './WorktreeProgress.tsx'\nimport { WorktreeSettings } from './WorktreeSettings.tsx'\nimport { WorktreeSettingsForm, type WorktreeSettings as WorktreeSettingsFields } from './worktree-settings-form.ts'\nimport { WorktreeToggle, type WorktreeToggleInjected } from './WorktreeToggle.tsx'\n\n/** Services required before the Remote contribution mounts. */\nexport const inject = ['remote', 'slots', 'locale', 'sidebarRightTabs', 'sidebarRight', 'sessions', 'configForms']\n\n/** The worktree row of the Forge bundle, whose Plugins page carries the archive cleanup switch. */\nexport const WORKTREE_ROW_KEY = '@deepseek-ai/dsh-experimental-forge-bundle#worktree'\n\n/** The Loader entry id the worktree service's settings namespace follows. */\nexport const WORKTREE_NS = 'worktree'\n\n/** Registry id of the forge tab type, also its slot key. */\nexport const TAB_ID = '@deepseek-ai/dsh-experimental-client-ui-forge'\n\n/** Kind of the forge tab. */\nexport const TAB_KIND = 'forge-panel'\n\n/**\n * Open a URL in a new browsing context without giving it access to this page.\n * @param url - change request web URL.\n */\nfunction openLink(url: string): void {\n window.open(url, '_blank', 'noopener,noreferrer')\n}\n\n/** Per-Session stores shared by the tab, the header button, the New Session option, and the worktree card. */\ninterface SessionStores {\n readonly panel: PanelSource\n readonly visibility: VisibilitySource\n readonly reviews: WeakMap<AbortSignal, ReviewQueue>\n readonly viewed: ViewedFiles\n readonly release: () => void\n}\n\nfunction registerUi(ctx: Context): void {\n ctx.effect(() => ctx.locale.register(NS, { zh, en, ja, es, fr, de, ru, pt }), 'forge-panel: dictionaries')\n const t = ctx.locale.bind(NS)\n const notices = createNoticeSource()\n const lifetime = new AbortController()\n ctx.effect(() => () => { lifetime.abort() })\n ctx.on('workspace/archive-notice', async (sessionId, next) => {\n const fallback = await next()\n const result = await ctx.remote.forgePanel.worktreeCleanup(sessionId, null)\n if (!result.ok || result.value === null) return fallback\n const { revision, status } = result.value\n if (status === 'failed') return { text: t('toast.archiveCleanupFailed'), tone: 'warning' }\n if (status !== 'scheduled') return fallback\n void ctx.remote.forgePanel.worktreeCleanup(sessionId, revision).then((completed) => {\n if (lifetime.signal.aborted || !completed.ok || completed.value === null) return\n if (completed.value.status === 'failed') ctx.emit('workspace/archive-followup-failed', sessionId, t('toast.archiveCleanupFailed'))\n else if (completed.value.status === 'retained') ctx.emit('workspace/archive-followup-settled', sessionId)\n }).catch((error: unknown) => {\n if (!lifetime.signal.aborted) console.warn('archive worktree cleanup result unavailable:', error)\n })\n return { text: t('toast.archiveCleanupScheduled'), tone: 'success' }\n })\n const stores = new Map<SessionId, SessionStores>()\n ctx.effect(() => () => {\n for (const store of [...stores.values()]) store.release()\n stores.clear()\n }, 'forge-panel: panel streams')\n const storesOf = (sessionId: SessionId): SessionStores => {\n let store = stores.get(sessionId)\n if (store === undefined) {\n const scope = ctx.sessions.scope(sessionId)\n if (scope === undefined) throw new Error(`forge-panel: Session ${sessionId} is not retained`)\n const panel = createPanelSource({\n open: signal => ctx.remote.forgePanel.follow(sessionId, signal),\n subscribeReset: listener => ctx.on('connection/reset', listener),\n })\n const dispose = scope.effect(() => () => {\n panel.close()\n stores.delete(sessionId)\n }, 'forge-panel: release Session state')\n store = {\n panel, visibility: createVisibilitySource(), reviews: new WeakMap(), viewed: new ViewedFiles(sessionId),\n release: () => { void dispose() },\n }\n stores.set(sessionId, store)\n }\n return store\n }\n const settled = (result: RemoteResult<unknown>, failure: ForgePanelKey, codes: Partial<Record<string, ForgePanelKey>> = {}): boolean => {\n if (result.ok) return true\n notices.report(codes[result.error.code] ?? failure)\n return false\n }\n const copy = (text: string, copied: ForgePanelKey): void => {\n void navigator.clipboard.writeText(text).then(\n () => { notices.report(copied, { tone: 'success' }) },\n () => { notices.report('toast.copyFailed') },\n )\n }\n const copyText = (text: string): void => { copy(text, 'toast.copied') }\n const copyPath = (path: string): void => { copy(path, 'toast.pathCopied') }\n /** Send the request for a change request to the Session as a message from the user. */\n const createChangeRequest = (sessionId: SessionId): void => {\n const text = t('changes.local.prompt')\n const conversation = ctx.sessions.scope(sessionId)?.get('conversation')\n if (conversation === undefined) {\n notices.report('toast.promptFailed')\n return\n }\n void conversation.send(text).then(\n () => { notices.report('toast.prompted', { tone: 'success', params: { text } }) },\n () => { notices.report('toast.promptFailed') },\n )\n }\n /** Insert one quote into the Session's main input, numbering it after the quotes of the same heading already there. */\n const quoteInInput = (sessionId: SessionId, heading: RegExp, quote: (index: number) => string, summary: QuoteSummary): boolean => {\n const scope = ctx.sessions.scope(sessionId)\n const conversation = scope?.get('conversation')\n if (scope === undefined || conversation === undefined) return false\n const input = conversation.input.for(scope)\n const numbers = Array.from(input.state.getSnapshot().draft.matchAll(heading), match => Number(match[1]))\n if (!input.insertQuote(quote(Math.max(0, ...numbers) + 1), summary)) return false\n input.focus()\n return true\n }\n const addReviewToInput = (sessionId: SessionId, selection: ReviewSelection): boolean => quoteInInput(sessionId,\n /(?:^|\\n)(?:> )?## User Comment (\\d+)/g, index => formatReviewComment(selection, index), reviewQuoteSummary(selection.comment))\n const addThreadToInput = (sessionId: SessionId, thread: ForgeReviewThread, url: string, range: string | null): boolean =>\n quoteInInput(sessionId, /(?:^|\\n)(?:> )?## Review Thread (\\d+)/g, index => formatThreadQuote(thread, url, index),\n threadQuoteSummary(thread, range))\n /** How toasts name a change request: its number, else its title, else its URL. */\n const nameOf = (entry: ForgePanelChangeRequest): string => {\n const number = numberOf(entry)\n return number === null ? entry.snapshot?.title ?? entry.url : t('change.number', { number })\n }\n /** Tell the reader that the code host may have applied an action it did not confirm, which they should check there. */\n const reportUnknown = (entry: ForgePanelChangeRequest): void => {\n notices.report('toast.actionUnknown', { params: { name: nameOf(entry) } })\n }\n const remove = (sessionId: SessionId, entry: ForgePanelChangeRequest): void => {\n void ctx.remote.forgePanel.dismiss(sessionId, entry.url).then((result) => {\n if (!settled(result, 'toast.removeFailed')) return\n notices.report('toast.removed', {\n tone: 'success',\n params: { name: nameOf(entry) },\n // Restoring needs a provider that recognizes the URL; an unrecognized one is removed without undo.\n ...entry.ref === null ? {} : {\n undo: () => {\n void ctx.remote.forgePanel.track(sessionId, entry.url).then(restored => settled(restored, 'toast.undoFailed'))\n },\n },\n })\n })\n }\n const host: HostObservable<RemoteHostFacts> = {\n getSnapshot: () => ctx.remote.$host,\n subscribe: listener => ctx.on('connection/reset', listener),\n }\n const restore = async (sessionId: SessionId): Promise<string | undefined> => {\n const result = await ctx.remote.forgePanel.restoreWorktree(sessionId)\n if (!result.ok) return result.error.message\n notices.report('toast.restored', { tone: 'success' })\n return undefined\n }\n const locale: HostObservable<string> = {\n getSnapshot: () => ctx.locale.getLocale().active,\n subscribe: listener => ctx.locale.subscribe(listener),\n }\n const tabFace = (sessionId: SessionId): ForgeTabInjected => {\n const store = storesOf(sessionId)\n return {\n hooks: { panel: store.panel.hooks.panel, host, locale },\n reconnect: store.panel.reconnect,\n refresh: async () => {\n settled(await ctx.remote.forgePanel.refresh(sessionId), 'toast.refreshFailed')\n },\n remove: (entry) => { remove(sessionId, entry) },\n readChecks: async (url, headSha, signal) => {\n const result = await ctx.remote.forgePanel.changeRequestChecks(sessionId, url, headSha, signal)\n if (!result.ok) throw new Error(result.error.message)\n return result.value\n },\n markReady: async (entry) => {\n const result = await ctx.remote.forgePanel.markReady(sessionId, entry.url)\n if (result.ok) notices.report('toast.markedReady', { tone: 'success', params: { name: nameOf(entry) } })\n else if (result.error.code === 'forgePanel/action-unknown') reportUnknown(entry)\n else notices.report('toast.markReadyFailed', { params: { message: result.error.message } })\n },\n merge: async (entry, request) => {\n const result = await ctx.remote.forgePanel.merge(sessionId, entry.url, request.method, request.headSha)\n if (result.ok) notices.report('toast.merged', { tone: 'success', params: { name: nameOf(entry) } })\n else if (result.error.code === 'forgePanel/stale-head') notices.report('toast.mergeStale', { params: { name: nameOf(entry) } })\n else if (result.error.code === 'forgePanel/action-unknown') reportUnknown(entry)\n else notices.report('toast.mergeFailed', { params: { message: result.error.message } })\n },\n rerunChecks: async (entry, request) => {\n const result = await ctx.remote.forgePanel.rerunChecks(sessionId, entry.url, request)\n if (result.ok) notices.report('toast.rerunRequested', { tone: 'success', params: { name: nameOf(entry) } })\n else if (result.error.code === 'forgePanel/stale-head') notices.report('toast.rerunStale', { params: { name: nameOf(entry) } })\n else if (result.error.code === 'forgePanel/action-unknown') reportUnknown(entry)\n else notices.report('toast.rerunFailed', { params: { message: result.error.message } })\n },\n requestReviews: async (entry, reviewers) => {\n const result = await ctx.remote.forgePanel.requestReviews(sessionId, entry.url, reviewers)\n const login = reviewers.map(reviewer => reviewer.login).join(', ')\n if (result.ok) notices.report('toast.reviewRequested', { tone: 'success', params: { name: nameOf(entry), login } })\n else if (result.error.code === 'forgePanel/action-unknown') reportUnknown(entry)\n else notices.report('toast.reviewRequestFailed', { params: { message: result.error.message } })\n },\n reviewerCandidates: async (url, query, signal) => {\n const result = await ctx.remote.forgePanel.reviewerCandidates(sessionId, url, query, signal)\n if (!result.ok) throw new Error(result.error.message)\n return result.value\n },\n updateBranch: async (entry, request) => {\n const result = await ctx.remote.forgePanel.updateBranch(sessionId, entry.url, request.method, request.headSha)\n if (result.ok) notices.report('toast.branchUpdated', { tone: 'success', params: { name: nameOf(entry) } })\n else if (result.error.code === 'forgePanel/stale-head') notices.report('toast.branchUpdateStale', { params: { name: nameOf(entry) } })\n else if (result.error.code === 'forgePanel/action-unknown') reportUnknown(entry)\n else notices.report('toast.branchUpdateFailed', { params: { message: result.error.message } })\n },\n restore: () => {\n void restore(sessionId).then((message) => {\n if (message !== undefined) notices.report('toast.restoreFailed', { params: { message } })\n })\n },\n openLink,\n copyText,\n copyPath,\n reportVisible: store.visibility.set,\n createChangeRequest: () => { createChangeRequest(sessionId) },\n }\n }\n const changesFace = (sessionId: SessionId): ChangesTabInjected => {\n const store = storesOf(sessionId)\n return {\n keyedHooks: { panel: visibility => visibility === 'visible' ? store.panel.hooks.panel : undefined },\n reconnect: store.panel.reconnect,\n localDiff: (scope, signal) => ctx.remote.forgePanel.localDiff(sessionId, scope, signal),\n diffBases: (query, signal) => ctx.remote.forgePanel.diffBases(sessionId, query, signal),\n localText: (scope, path) => ctx.remote.forgePanel.localText(sessionId, scope, path),\n localCommits: (base, signal) => ctx.remote.forgePanel.localCommits(sessionId, base, signal),\n changeRequestDiff: (url, commits, signal) => ctx.remote.forgePanel.changeRequestDiff(sessionId, url, commits, signal),\n changeRequestCommits: (url, signal) => ctx.remote.forgePanel.changeRequestCommits(sessionId, url, signal),\n viewedFiles: store.viewed,\n changeRequestViewed: (url, headSha, signal) => ctx.remote.forgePanel.changeRequestViewed(sessionId, url, headSha, signal),\n setFileViewed: (url, request) => ctx.remote.forgePanel.setFileViewed(sessionId, url, request),\n changeRequestText: (url, commit, path) => ctx.remote.forgePanel.changeRequestText(sessionId, url, commit, path),\n addReviewToInput: selection => addReviewToInput(sessionId, selection),\n addThreadToInput: (thread, url, range) => addThreadToInput(sessionId, thread, url, range),\n changeRequestReview: (url, headSha, fresh, signal) =>\n ctx.remote.forgePanel.changeRequestReview(sessionId, url, headSha, fresh, signal),\n changeRequestReviewWrite: (url, write) => ctx.remote.forgePanel.changeRequestReviewWrite(sessionId, url, write),\n reviewQueue: ({ id, signal }) => {\n let queue = store.reviews.get(signal)\n if (queue === undefined) {\n const records = new ReviewQueue(`dsh.forge-review.tab.v1.${JSON.stringify([sessionId, id])}`)\n queue = records\n store.reviews.set(signal, records)\n const clear = (): void => { if (!records.close()) notices.report('review.saveFailed') }\n if (signal.aborted) clear()\n else {\n const release = ctx.effect(() => {\n const close = (): void => { clear(); void release() }\n signal.addEventListener('abort', close, { once: true })\n return () => { signal.removeEventListener('abort', close) }\n }, 'forge-panel: review tab lifetime')\n }\n }\n return queue\n },\n submitReview: (url, request) => ctx.remote.forgePanel.submitReview(sessionId, url, request),\n openLink,\n copyPath,\n createChangeRequest: () => { createChangeRequest(sessionId) },\n report: (key, params) => {\n notices.report(key, { tone: key === 'review.published' || key === 'review.submitted' || key === 'review.discarded' ? 'success' : 'failure',\n ...params === undefined ? {} : { params } })\n },\n }\n }\n const progressFace = (sessionId: SessionId): WorktreeProgressInjected => {\n const store = storesOf(sessionId)\n return {\n hooks: { panel: store.panel.hooks.panel },\n stop: () => {\n void ctx.remote.forgePanel.stopCreation(sessionId).then(result => settled(result, 'toast.worktreeFailed'))\n },\n retry: () => {\n void ctx.remote.forgePanel.retryWorktree(sessionId).then(result => settled(result, 'toast.worktreeFailed'))\n },\n withdraw: () => {\n void ctx.remote.forgePanel.cancelWorktree(sessionId).then(result => settled(result, 'toast.worktreeFailed'))\n },\n restore: () => restore(sessionId),\n leave: () => {\n void ctx.remote.forgePanel.continueInProject(sessionId).then(result => settled(result, 'toast.leaveFailed'))\n },\n }\n }\n const worktreeFace = (sessionId: SessionId): WorktreeToggleInjected => {\n const worktreeCodes: Partial<Record<string, ForgePanelKey>> = { 'forgePanel/session-started': 'toast.worktreeStarted' }\n const store = storesOf(sessionId)\n return {\n hooks: { panel: store.panel.hooks.panel },\n request: async from => settled(await ctx.remote.forgePanel.requestWorktree(sessionId, from), 'toast.worktreeFailed', worktreeCodes),\n cancel: async () => settled(await ctx.remote.forgePanel.cancelWorktree(sessionId), 'toast.worktreeFailed', worktreeCodes),\n branches: async () => {\n const result = await ctx.remote.forgePanel.branches(sessionId)\n return settled(result, 'toast.branchesFailed') && result.ok ? result.value : undefined\n },\n }\n }\n ctx.effect(() => ctx.sidebarRightTabs.register({\n id: TAB_ID, kind: TAB_KIND, title: () => t('tab.title'),\n guide: [{\n id: 'review', order: 15, title: () => t('guide.title'), description: () => t('guide.description'), icon: IconBranchOutlineRegular,\n }],\n }), 'forge-panel: sidebar tab')\n ctx.slots.inject('sidebar.right.pane.tab', () => ctx.slots.register({\n name: 'sidebar.right.pane.tab', key: TAB_ID, locale: NS, inject: tabFace,\n }, ForgeTab))\n ctx.slots.inject('sidebar.right.pane.tab.title', () => ctx.slots.register({\n name: 'sidebar.right.pane.tab.title', key: TAB_ID, locale: NS,\n }, ForgeTabTitle))\n ctx.effect(() => ctx.sidebarRightTabs.register(changesDefinition(t)), 'forge-panel: changes tab')\n ctx.slots.inject('sidebar.right.pane.tab', () => ctx.slots.register({\n name: 'sidebar.right.pane.tab', key: CHANGES_ID, locale: NS, store: createChangesStore(), inject: changesFace,\n }, ChangesTab))\n ctx.slots.inject('sidebar.right.pane.tab.title', () => ctx.slots.register({\n name: 'sidebar.right.pane.tab.title', key: CHANGES_ID, locale: NS,\n }, ChangesTabTitle))\n ctx.slots.inject('conversation.session.header.utilities', () => ctx.slots.register({\n name: 'conversation.session.header.utilities',\n id: 'forge-panel',\n // Left of the schedule entry (-5) and the overflow menu (0), right of open-in-app (-10).\n order: -8,\n locale: NS,\n inject: (sessionId: SessionId): HeaderButtonInjected => {\n const store = storesOf(sessionId)\n return {\n hooks: { panel: store.panel.hooks.panel, visible: store.visibility.hooks.visible },\n toggle: (visible) => {\n if (!visible) { ctx.sidebarRight.openTab(TAB_KIND); return }\n const tab = ctx.sidebarRight.tabsIn(sessionId).find(tab => tab.kind === TAB_KIND)\n if (tab === undefined) return\n ctx.sidebarRight.hide(tab.id)\n },\n }\n },\n }, HeaderButton))\n ctx.slots.inject('conversation.hero.options', () => ctx.slots.register({\n name: 'conversation.hero.options', id: 'forge-panel.worktree', locale: NS, inject: worktreeFace,\n }, WorktreeToggle))\n ctx.slots.inject('conversation.input.dock', () => ctx.slots.register({\n name: 'conversation.input.dock', id: 'forge-panel.worktree', order: 5, locale: NS, inject: progressFace,\n }, WorktreeProgress))\n ctx.slots.inject('shell.overlay', () => ctx.slots.register({\n name: 'shell.overlay', id: 'forge-panel.toast', locale: NS,\n inject: () => ({ hooks: notices.hooks, dismiss: notices.dismiss }),\n }, ActionToast))\n // One stream of change request states serves every Session row while any row reads it.\n const states = createStreamSource<ForgeChangeRequestStatesFrame, ReadonlyMap<string, ForgeChangeRequestListState>>({\n open: signal => ctx.remote.forgePanel.changeRequestStates(signal),\n subscribeReset: listener => ctx.on('connection/reset', listener),\n }, new Map(), foldStates)\n ctx.effect(() => () => { states.close() }, 'forge-panel: change request states')\n const listFace = (): SessionListInjected => ({ hooks: { states: states.observable } })\n ctx.slots.inject('sidebar.session.row.trailing', () => ctx.slots.register({\n name: 'sidebar.session.row.trailing', id: 'forge-panel.row', order: 10, locale: NS, inject: listFace,\n }, SessionRowForge))\n ctx.slots.inject('sidebar.session.row.hover', () => ctx.slots.register({\n name: 'sidebar.session.row.hover', id: 'forge-panel.row', order: 20, locale: NS, inject: listFace,\n }, SessionHoverForge))\n const worktreeSettings = new WorktreeSettingsForm(ctx.configForms.get<WorktreeSettingsFields>(WORKTREE_NS))\n ctx.effect(() => () => { worktreeSettings.dispose() }, 'forge-panel: worktree settings form')\n ctx.slots.inject('plugins.row.config', () => ctx.slots.register({\n name: 'plugins.row.config', key: WORKTREE_ROW_KEY, locale: NS, inject: () => worktreeSettings.inject(),\n }, WorktreeSettings))\n}\n\n/**\n * Mount the forge panel Remote, then the UI that calls it; the UI is withdrawn before the Remote.\n * @param ctx - client plugin lifetime.\n * @param contribution - generated forge panel Remote definitions.\n * @returns the disposer that removes both contributions.\n */\nexport async function mountForgePanel(ctx: Context, contribution: TypertRemoteContribution): Promise<() => Promise<void>> {\n const unmountRemote = await ctx.remote.$mount(contribution)\n const ui = ctx.inject(['remote.forgePanel', ...inject.slice(1)], registerUi)\n try {\n await ui\n } catch (error) {\n await ui.dispose()\n await unmountRemote()\n throw error\n }\n return async () => {\n await ui.dispose()\n await unmountRemote()\n }\n}\n","/**\n * Browser entry of the forge panel: the sidebar tab, the changes view, the\n * header button, the worktree option and creation card, and their Remote.\n */\n\nimport type { Context } from '@deepseek-ai/cordis'\nimport remote from '@deepseek-ai/dsh-experimental-client-ui-forge/remote'\nimport { mountForgePanel } from './mount.ts'\n\nexport { inject } from './mount.ts'\nexport type { ForgePanelKey } from './locales.ts'\nexport type { ChangeRequestActions, ChangeRequestCardProps } from './ChangeRequestCard.tsx'\nexport type { ChangesParams, ChangesSource, ChangesTarget } from './changes-address.ts'\nexport type { ChangesTabInjected, ChangesTabProps } from './ChangesTab.tsx'\nexport type { ChangesTabTitleProps } from './ChangesTabTitle.tsx'\nexport type { DiffFileAction, DiffFileProps, DiffFileText } from './DiffFile.tsx'\nexport type { LocalChangesCardProps } from './LocalChangesCard.tsx'\nexport type { ForgeTabInjected, ForgeTabProps } from './ForgeTab.tsx'\nexport type { HeaderButtonInjected, HeaderButtonProps } from './HeaderButton.tsx'\nexport type { WorktreeProgressInjected, WorktreeProgressProps } from './WorktreeProgress.tsx'\nexport type { WorktreeToggleInjected, WorktreeToggleProps } from './WorktreeToggle.tsx'\nexport type { ActionNotice, NoticeOptions, PanelSnapshot } from './source.ts'\n\n/**\n * Mount the forge panel Remote and its UI.\n * @param ctx - browser plugin context.\n * @returns the disposer that withdraws the UI, then the Remote.\n */\nexport async function apply(ctx: Context): Promise<() => Promise<void>> {\n return await mountForgePanel(ctx, remote)\n}\n"],"x_google_ignoreList":[12],"mappings":";ugBA2BA,SAAgB,uBAAuB,KAAwB,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