@cerbur/clutch-dsh-worktree 0.1.10 → 0.1.13

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 (298) hide show
  1. package/README.md +278 -498
  2. package/README.zh.md +231 -432
  3. package/assets/screenshots/screenshots-dashboard.png +0 -0
  4. package/assets/screenshots/screenshots-en.png +0 -0
  5. package/assets/screenshots/screenshots-git-reviewer.png +0 -0
  6. package/assets/screenshots/screenshots-import.png +0 -0
  7. package/assets/screenshots/screenshots-zh.png +0 -0
  8. package/lib/client/WorktreeSurface.d.ts +1 -1
  9. package/lib/client/WorktreeSurface.d.ts.map +1 -1
  10. package/lib/client/WorktreeSurface.js +268 -10
  11. package/lib/client/WorktreeSurface.js.map +1 -1
  12. package/lib/client/context/WorktreeHeroContext.d.ts +4 -3
  13. package/lib/client/context/WorktreeHeroContext.d.ts.map +1 -1
  14. package/lib/client/context/WorktreeHeroContext.js +29 -11
  15. package/lib/client/context/WorktreeHeroContext.js.map +1 -1
  16. package/lib/client/dashboard/DashboardHeaderAction.d.ts +20 -0
  17. package/lib/client/dashboard/DashboardHeaderAction.d.ts.map +1 -0
  18. package/lib/client/dashboard/DashboardHeaderAction.js +19 -0
  19. package/lib/client/dashboard/DashboardHeaderAction.js.map +1 -0
  20. package/lib/client/dashboard/OpenInAppButton.d.ts +9 -0
  21. package/lib/client/dashboard/OpenInAppButton.d.ts.map +1 -0
  22. package/lib/client/dashboard/OpenInAppButton.js +123 -0
  23. package/lib/client/dashboard/OpenInAppButton.js.map +1 -0
  24. package/lib/client/dashboard/WorktreeDashboard.d.ts +28 -0
  25. package/lib/client/dashboard/WorktreeDashboard.d.ts.map +1 -0
  26. package/lib/client/dashboard/WorktreeDashboard.js +362 -0
  27. package/lib/client/dashboard/WorktreeDashboard.js.map +1 -0
  28. package/lib/client/dashboard/WorktreeInstructions.d.ts +8 -0
  29. package/lib/client/dashboard/WorktreeInstructions.d.ts.map +1 -0
  30. package/lib/client/dashboard/WorktreeInstructions.js +53 -0
  31. package/lib/client/dashboard/WorktreeInstructions.js.map +1 -0
  32. package/lib/client/dashboard/dashboard-icon.d.ts +7 -0
  33. package/lib/client/dashboard/dashboard-icon.d.ts.map +1 -0
  34. package/lib/client/dashboard/dashboard-icon.js +6 -0
  35. package/lib/client/dashboard/dashboard-icon.js.map +1 -0
  36. package/lib/client/dashboard/dashboard-navigation.d.ts +35 -0
  37. package/lib/client/dashboard/dashboard-navigation.d.ts.map +1 -0
  38. package/lib/client/dashboard/dashboard-navigation.js +48 -0
  39. package/lib/client/dashboard/dashboard-navigation.js.map +1 -0
  40. package/lib/client/dashboard/dashboard-overlay.d.ts +16 -0
  41. package/lib/client/dashboard/dashboard-overlay.d.ts.map +1 -0
  42. package/lib/client/dashboard/dashboard-overlay.js +185 -0
  43. package/lib/client/dashboard/dashboard-overlay.js.map +1 -0
  44. package/lib/client/dashboard/dashboard-selection.d.ts +33 -0
  45. package/lib/client/dashboard/dashboard-selection.d.ts.map +1 -0
  46. package/lib/client/dashboard/dashboard-selection.js +31 -0
  47. package/lib/client/dashboard/dashboard-selection.js.map +1 -0
  48. package/lib/client/dashboard/dashboard-sessions.d.ts +6 -0
  49. package/lib/client/dashboard/dashboard-sessions.d.ts.map +1 -0
  50. package/lib/client/dashboard/dashboard-sessions.js +21 -0
  51. package/lib/client/dashboard/dashboard-sessions.js.map +1 -0
  52. package/lib/client/dashboard/git/GitChangedFiles.d.ts +11 -0
  53. package/lib/client/dashboard/git/GitChangedFiles.d.ts.map +1 -0
  54. package/lib/client/dashboard/git/GitChangedFiles.js +101 -0
  55. package/lib/client/dashboard/git/GitChangedFiles.js.map +1 -0
  56. package/lib/client/dashboard/git/GitCommitList.d.ts +15 -0
  57. package/lib/client/dashboard/git/GitCommitList.d.ts.map +1 -0
  58. package/lib/client/dashboard/git/GitCommitList.js +55 -0
  59. package/lib/client/dashboard/git/GitCommitList.js.map +1 -0
  60. package/lib/client/dashboard/git/GitDiffView.d.ts +10 -0
  61. package/lib/client/dashboard/git/GitDiffView.d.ts.map +1 -0
  62. package/lib/client/dashboard/git/GitDiffView.js +65 -0
  63. package/lib/client/dashboard/git/GitDiffView.js.map +1 -0
  64. package/lib/client/dashboard/git/GitFileTypeIcon.d.ts +8 -0
  65. package/lib/client/dashboard/git/GitFileTypeIcon.d.ts.map +1 -0
  66. package/lib/client/dashboard/git/GitFileTypeIcon.js +24 -0
  67. package/lib/client/dashboard/git/GitFileTypeIcon.js.map +1 -0
  68. package/lib/client/dashboard/git/GitLineStats.d.ts +10 -0
  69. package/lib/client/dashboard/git/GitLineStats.d.ts.map +1 -0
  70. package/lib/client/dashboard/git/GitLineStats.js +9 -0
  71. package/lib/client/dashboard/git/GitLineStats.js.map +1 -0
  72. package/lib/client/dashboard/git/WorktreeGitOverview.d.ts +31 -0
  73. package/lib/client/dashboard/git/WorktreeGitOverview.d.ts.map +1 -0
  74. package/lib/client/dashboard/git/WorktreeGitOverview.js +89 -0
  75. package/lib/client/dashboard/git/WorktreeGitOverview.js.map +1 -0
  76. package/lib/client/dashboard/git/WorktreeGitPanel.d.ts +16 -0
  77. package/lib/client/dashboard/git/WorktreeGitPanel.d.ts.map +1 -0
  78. package/lib/client/dashboard/git/WorktreeGitPanel.js +126 -0
  79. package/lib/client/dashboard/git/WorktreeGitPanel.js.map +1 -0
  80. package/lib/client/dashboard/git/file-address.d.ts +2 -0
  81. package/lib/client/dashboard/git/file-address.d.ts.map +1 -0
  82. package/lib/client/dashboard/git/file-address.js +16 -0
  83. package/lib/client/dashboard/git/file-address.js.map +1 -0
  84. package/lib/client/dashboard/git/git-column-split.d.ts +34 -0
  85. package/lib/client/dashboard/git/git-column-split.d.ts.map +1 -0
  86. package/lib/client/dashboard/git/git-column-split.js +41 -0
  87. package/lib/client/dashboard/git/git-column-split.js.map +1 -0
  88. package/lib/client/dashboard/git/git-diff-parser.d.ts +24 -0
  89. package/lib/client/dashboard/git/git-diff-parser.d.ts.map +1 -0
  90. package/lib/client/dashboard/git/git-diff-parser.js +56 -0
  91. package/lib/client/dashboard/git/git-diff-parser.js.map +1 -0
  92. package/lib/client/dashboard/git/git-facts.d.ts +18 -0
  93. package/lib/client/dashboard/git/git-facts.d.ts.map +1 -0
  94. package/lib/client/dashboard/git/git-facts.js +31 -0
  95. package/lib/client/dashboard/git/git-facts.js.map +1 -0
  96. package/lib/client/dashboard/git/git-file-tree.d.ts +16 -0
  97. package/lib/client/dashboard/git/git-file-tree.d.ts.map +1 -0
  98. package/lib/client/dashboard/git/git-file-tree.js +52 -0
  99. package/lib/client/dashboard/git/git-file-tree.js.map +1 -0
  100. package/lib/client/dashboard/git/git-state-cache.d.ts +49 -0
  101. package/lib/client/dashboard/git/git-state-cache.d.ts.map +1 -0
  102. package/lib/client/dashboard/git/git-state-cache.js +80 -0
  103. package/lib/client/dashboard/git/git-state-cache.js.map +1 -0
  104. package/lib/client/dashboard/git/useGitPaneSplit.d.ts +33 -0
  105. package/lib/client/dashboard/git/useGitPaneSplit.d.ts.map +1 -0
  106. package/lib/client/dashboard/git/useGitPaneSplit.js +119 -0
  107. package/lib/client/dashboard/git/useGitPaneSplit.js.map +1 -0
  108. package/lib/client/dashboard/git/useWorktreeGitState.d.ts +60 -0
  109. package/lib/client/dashboard/git/useWorktreeGitState.d.ts.map +1 -0
  110. package/lib/client/dashboard/git/useWorktreeGitState.js +654 -0
  111. package/lib/client/dashboard/git/useWorktreeGitState.js.map +1 -0
  112. package/lib/client/dashboard/open-in-app-controller.d.ts +30 -0
  113. package/lib/client/dashboard/open-in-app-controller.d.ts.map +1 -0
  114. package/lib/client/dashboard/open-in-app-controller.js +94 -0
  115. package/lib/client/dashboard/open-in-app-controller.js.map +1 -0
  116. package/lib/client/dashboard/vscode-url.d.ts +3 -0
  117. package/lib/client/dashboard/vscode-url.d.ts.map +1 -0
  118. package/lib/client/dashboard/vscode-url.js +9 -0
  119. package/lib/client/dashboard/vscode-url.js.map +1 -0
  120. package/lib/client/dashboard/worktree-acquisition-facts.d.ts +16 -0
  121. package/lib/client/dashboard/worktree-acquisition-facts.d.ts.map +1 -0
  122. package/lib/client/dashboard/worktree-acquisition-facts.js +14 -0
  123. package/lib/client/dashboard/worktree-acquisition-facts.js.map +1 -0
  124. package/lib/client/dsh-slot-contract.d.ts +5 -0
  125. package/lib/client/dsh-slot-contract.d.ts.map +1 -1
  126. package/lib/client/entry.d.ts.map +1 -1
  127. package/lib/client/entry.js +93 -0
  128. package/lib/client/entry.js.map +1 -1
  129. package/lib/client/locales.d.ts +296 -0
  130. package/lib/client/locales.d.ts.map +1 -1
  131. package/lib/client/locales.js +296 -0
  132. package/lib/client/locales.js.map +1 -1
  133. package/lib/client/session/session-labels.d.ts +9 -0
  134. package/lib/client/session/session-labels.d.ts.map +1 -0
  135. package/lib/client/session/session-labels.js +44 -0
  136. package/lib/client/session/session-labels.js.map +1 -0
  137. package/lib/client/session/session-view.d.ts +10 -0
  138. package/lib/client/session/session-view.d.ts.map +1 -1
  139. package/lib/client/session/session-view.js +57 -0
  140. package/lib/client/session/session-view.js.map +1 -1
  141. package/lib/client/session/worktree-session-order.d.ts +2 -5
  142. package/lib/client/session/worktree-session-order.d.ts.map +1 -1
  143. package/lib/client/session/worktree-session-order.js +35 -10
  144. package/lib/client/session/worktree-session-order.js.map +1 -1
  145. package/lib/client/session/worktree-session-position.d.ts +2 -1
  146. package/lib/client/session/worktree-session-position.d.ts.map +1 -1
  147. package/lib/client/session/worktree-session-position.js +10 -3
  148. package/lib/client/session/worktree-session-position.js.map +1 -1
  149. package/lib/client/surface/actions/useDragActions.d.ts +33 -2
  150. package/lib/client/surface/actions/useDragActions.d.ts.map +1 -1
  151. package/lib/client/surface/actions/useDragActions.js +66 -18
  152. package/lib/client/surface/actions/useDragActions.js.map +1 -1
  153. package/lib/client/surface/components/ActiveWorktree.d.ts +1 -1
  154. package/lib/client/surface/components/ActiveWorktree.d.ts.map +1 -1
  155. package/lib/client/surface/components/ActiveWorktree.js +4 -3
  156. package/lib/client/surface/components/ActiveWorktree.js.map +1 -1
  157. package/lib/client/surface/components/ArchivedWorktree.d.ts +1 -1
  158. package/lib/client/surface/components/ArchivedWorktree.d.ts.map +1 -1
  159. package/lib/client/surface/components/ArchivedWorktree.js +4 -3
  160. package/lib/client/surface/components/ArchivedWorktree.js.map +1 -1
  161. package/lib/client/surface/components/ArchivedWorktrees.d.ts +1 -1
  162. package/lib/client/surface/components/ArchivedWorktrees.d.ts.map +1 -1
  163. package/lib/client/surface/components/ArchivedWorktrees.js +2 -2
  164. package/lib/client/surface/components/ArchivedWorktrees.js.map +1 -1
  165. package/lib/client/surface/components/SurfaceContent.d.ts +2 -2
  166. package/lib/client/surface/components/SurfaceContent.d.ts.map +1 -1
  167. package/lib/client/surface/components/SurfaceContent.js +1 -1
  168. package/lib/client/surface/components/SurfaceContent.js.map +1 -1
  169. package/lib/client/surface/components/SurfaceHeader.d.ts +1 -1
  170. package/lib/client/surface/components/SurfaceHeader.d.ts.map +1 -1
  171. package/lib/client/surface/components/SurfaceHeader.js +12 -3
  172. package/lib/client/surface/components/SurfaceHeader.js.map +1 -1
  173. package/lib/client/surface/components/WorkspaceTree.d.ts +1 -1
  174. package/lib/client/surface/components/WorkspaceTree.d.ts.map +1 -1
  175. package/lib/client/surface/components/WorkspaceTree.js +9 -5
  176. package/lib/client/surface/components/WorkspaceTree.js.map +1 -1
  177. package/lib/client/surface/components/rows.d.ts +2 -2
  178. package/lib/client/surface/components/rows.d.ts.map +1 -1
  179. package/lib/client/surface/components/rows.js +111 -8
  180. package/lib/client/surface/components/rows.js.map +1 -1
  181. package/lib/client/surface/selectors.d.ts +10 -0
  182. package/lib/client/surface/selectors.d.ts.map +1 -1
  183. package/lib/client/surface/selectors.js +14 -0
  184. package/lib/client/surface/selectors.js.map +1 -1
  185. package/lib/client/surface/state/useSessionExpansion.d.ts +2 -1
  186. package/lib/client/surface/state/useSessionExpansion.d.ts.map +1 -1
  187. package/lib/client/surface/state/useSessionExpansion.js +26 -13
  188. package/lib/client/surface/state/useSessionExpansion.js.map +1 -1
  189. package/lib/client/surface/state/useSessionOrdering.d.ts +1 -1
  190. package/lib/client/surface/state/useSessionOrdering.d.ts.map +1 -1
  191. package/lib/client/surface/state/useSessionOrdering.js +23 -8
  192. package/lib/client/surface/state/useSessionOrdering.js.map +1 -1
  193. package/lib/client/surface/types.d.ts +23 -3
  194. package/lib/client/surface/types.d.ts.map +1 -1
  195. package/lib/client/view/WorktreeModeAction.d.ts.map +1 -1
  196. package/lib/client/view/WorktreeModeAction.js +8 -0
  197. package/lib/client/view/WorktreeModeAction.js.map +1 -1
  198. package/lib/client/view/view-mode-dispatch.d.ts +7 -0
  199. package/lib/client/view/view-mode-dispatch.d.ts.map +1 -0
  200. package/lib/client/view/view-mode-dispatch.js +11 -0
  201. package/lib/client/view/view-mode-dispatch.js.map +1 -0
  202. package/lib/client/view/worktree-expand-state.d.ts +1 -1
  203. package/lib/client/view/worktree-expand-state.d.ts.map +1 -1
  204. package/lib/client/view/worktree-expand-state.js +8 -1
  205. package/lib/client/view/worktree-expand-state.js.map +1 -1
  206. package/lib/client/worktree-connection.d.ts +5 -0
  207. package/lib/client/worktree-connection.d.ts.map +1 -1
  208. package/lib/client/worktree-connection.js +14 -0
  209. package/lib/client/worktree-connection.js.map +1 -1
  210. package/lib/client.js +4865 -158
  211. package/lib/client.js.map +1 -1
  212. package/lib/contract/index.contract.js +10 -0
  213. package/lib/contract/index.contract.js.map +1 -1
  214. package/lib/contract/index.d.ts +163 -1
  215. package/lib/contract/index.d.ts.map +1 -1
  216. package/lib/contract/index.js +19 -0
  217. package/lib/contract/index.js.map +1 -1
  218. package/lib/host/dsh-read-adapter.d.ts +3 -1
  219. package/lib/host/dsh-read-adapter.d.ts.map +1 -1
  220. package/lib/host/dsh-read-adapter.js +5 -2
  221. package/lib/host/dsh-read-adapter.js.map +1 -1
  222. package/lib/host/remote.d.ts.map +1 -1
  223. package/lib/host/remote.js +5 -0
  224. package/lib/host/remote.js.map +1 -1
  225. package/lib/host/service.d.ts +20 -1
  226. package/lib/host/service.d.ts.map +1 -1
  227. package/lib/host/service.js +32 -0
  228. package/lib/host/service.js.map +1 -1
  229. package/lib/host/worktree-instructions.d.ts +41 -0
  230. package/lib/host/worktree-instructions.d.ts.map +1 -0
  231. package/lib/host/worktree-instructions.js +65 -0
  232. package/lib/host/worktree-instructions.js.map +1 -0
  233. package/lib/index.d.ts +4 -4
  234. package/lib/index.d.ts.map +1 -1
  235. package/lib/index.js +3 -3
  236. package/lib/index.js.map +1 -1
  237. package/lib/manage/manager-git-history.d.ts +17 -0
  238. package/lib/manage/manager-git-history.d.ts.map +1 -0
  239. package/lib/manage/manager-git-history.js +717 -0
  240. package/lib/manage/manager-git-history.js.map +1 -0
  241. package/lib/manage/manager-worktrees.d.ts.map +1 -1
  242. package/lib/manage/manager-worktrees.js +27 -0
  243. package/lib/manage/manager-worktrees.js.map +1 -1
  244. package/lib/manage/manager.d.ts +21 -1
  245. package/lib/manage/manager.d.ts.map +1 -1
  246. package/lib/manage/manager.js +60 -0
  247. package/lib/manage/manager.js.map +1 -1
  248. package/lib/manage/types.d.ts +1 -0
  249. package/lib/manage/types.d.ts.map +1 -1
  250. package/lib/provider/git/adapter.d.ts +54 -1
  251. package/lib/provider/git/adapter.d.ts.map +1 -1
  252. package/lib/provider/git/adapter.js +820 -1
  253. package/lib/provider/git/adapter.js.map +1 -1
  254. package/lib/provider/index.d.ts +2 -2
  255. package/lib/provider/index.d.ts.map +1 -1
  256. package/lib/provider/index.js +1 -1
  257. package/lib/provider/index.js.map +1 -1
  258. package/lib/provider/mutation-token.d.ts +1 -1
  259. package/lib/provider/mutation-token.d.ts.map +1 -1
  260. package/lib/provider/mutation-token.js +1 -0
  261. package/lib/provider/mutation-token.js.map +1 -1
  262. package/lib/provider/sidecar/repository.d.ts +1 -1
  263. package/lib/provider/sidecar/repository.d.ts.map +1 -1
  264. package/lib/provider/sidecar/repository.js +7 -2
  265. package/lib/provider/sidecar/repository.js.map +1 -1
  266. package/lib/provider/sidecar/sidecar-schema.d.ts +16 -3
  267. package/lib/provider/sidecar/sidecar-schema.d.ts.map +1 -1
  268. package/lib/provider/sidecar/sidecar-schema.js +117 -28
  269. package/lib/provider/sidecar/sidecar-schema.js.map +1 -1
  270. package/lib/provider/transaction/operations/create.d.ts.map +1 -1
  271. package/lib/provider/transaction/operations/create.js +21 -6
  272. package/lib/provider/transaction/operations/create.js.map +1 -1
  273. package/lib/provider/transaction/operations/import.d.ts.map +1 -1
  274. package/lib/provider/transaction/operations/import.js +1 -0
  275. package/lib/provider/transaction/operations/import.js.map +1 -1
  276. package/lib/provider/transaction/recovery/failure-recovery.d.ts.map +1 -1
  277. package/lib/provider/transaction/recovery/failure-recovery.js +11 -4
  278. package/lib/provider/transaction/recovery/failure-recovery.js.map +1 -1
  279. package/lib/provider/transaction/recovery/recover.js +11 -11
  280. package/lib/provider/transaction/recovery/recover.js.map +1 -1
  281. package/lib/provider/transaction/support/inspection.d.ts +0 -2
  282. package/lib/provider/transaction/support/inspection.d.ts.map +1 -1
  283. package/lib/provider/transaction/support/inspection.js +0 -4
  284. package/lib/provider/transaction/support/inspection.js.map +1 -1
  285. package/lib/provider/transaction/support/journal.d.ts.map +1 -1
  286. package/lib/provider/transaction/support/journal.js +4 -0
  287. package/lib/provider/transaction/support/journal.js.map +1 -1
  288. package/lib/provider/transaction/types.d.ts +1 -0
  289. package/lib/provider/transaction/types.d.ts.map +1 -1
  290. package/lib/provider/types.d.ts +53 -5
  291. package/lib/provider/types.d.ts.map +1 -1
  292. package/lib/provider/types.js +1 -1
  293. package/lib/provider/types.js.map +1 -1
  294. package/lib/typert.host.js +349 -33
  295. package/lib/typert.remote-client.d.ts +11 -1
  296. package/lib/typert.remote-client.d.ts.map +1 -1
  297. package/lib/typert.remote-client.js +349 -33
  298. package/package.json +23 -20
@@ -3,7 +3,7 @@ import type {
3
3
  RemoteResult,
4
4
  TypertRemoteContribution,
5
5
  } from '@deepseek-ai/dsh-typert-protocol'
6
- import type { BranchRecord, SessionBinding, WorkspaceId, WorktreeId, WorktreeImportCandidate, WorktreePermissionNormalizationRequest, WorktreePermissionRequest, WorktreePermissionResult, WorktreeRecord, WorktreeRemoteResult } from '@cerbur/clutch-dsh-worktree/contract'
6
+ import type { BranchRecord, SessionBinding, WorkspaceId, WorktreeGitCommitFiles, WorktreeGitCommitFilesRequest, WorktreeGitFileDiff, WorktreeGitFileDiffRequest, WorktreeGitHistory, WorktreeId, WorktreeImportCandidate, WorktreePermissionNormalizationRequest, WorktreePermissionRequest, WorktreePermissionResult, WorktreeRecord, WorktreeRemoteResult } from '@cerbur/clutch-dsh-worktree/contract'
7
7
 
8
8
  declare module '@deepseek-ai/dsh-typert-protocol' {
9
9
  interface TypertRemoteNamespace$776f726b747265654d616e61676572 {
@@ -13,16 +13,21 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
13
13
  createWorktree: (input: { readonly workspaceId: string; readonly branch: string; readonly newBranch?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeRecord>>>
14
14
  ensureWorktreePermission: (input: WorktreePermissionRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreePermissionResult>>>
15
15
  forgetWorktree: (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
16
+ getWorktreeCommitFileDiff: (input: WorktreeGitFileDiffRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeGitFileDiff>>>
16
17
  importWorktree: (input: { readonly workspaceId: WorkspaceId; readonly absolutePath: string; }) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeRecord>>>
17
18
  insertWorktreeBefore: (input: { readonly workspaceId: string; readonly worktreeId: string; readonly beforeWorktreeId?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly WorktreeId[]>>>
18
19
  listBindings: (input: { readonly workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly SessionBinding[]>>>
19
20
  listBranches: (input: { readonly workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly BranchRecord[]>>>
20
21
  listImportCandidates: (input: { readonly workspaceId: WorkspaceId; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly WorktreeImportCandidate[]>>>
22
+ listWorktreeCommitFiles: (input: WorktreeGitCommitFilesRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeGitCommitFiles>>>
23
+ listWorktreeCommits: (input: { readonly workspaceId: WorkspaceId; readonly worktreeId: WorktreeId; readonly baseBranch?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeGitHistory>>>
21
24
  listWorktrees: (input: { readonly workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly WorktreeRecord[]>>>
22
25
  normalizeDetachedWorktreePermissions: (input: WorktreePermissionNormalizationRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreePermissionResult>>>
23
26
  recoverWorktrees: (input: { workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
24
27
  removeWorktree: (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
25
28
  unarchiveWorktree: (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
29
+ updateWorktreeBaseBranch: (input: { workspaceId: string; worktreeId: string; baseBranch: string; expectedBaseBranch?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<string>>>
30
+ updateWorktreeInstructions: (input: { workspaceId: string; worktreeId: string; instructions: string; expectedInstructions: string; }) => Promise<RemoteResult<WorktreeRemoteResult<string>>>
26
31
  }
27
32
  interface TypertRemoteMap {
28
33
  'worktreeManager/adoptWorktreeBranch': (input: { workspaceId: string; worktreeId: string; mutationToken: string; expectedBranch: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
@@ -31,16 +36,21 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
31
36
  'worktreeManager/createWorktree': (input: { readonly workspaceId: string; readonly branch: string; readonly newBranch?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeRecord>>>
32
37
  'worktreeManager/ensureWorktreePermission': (input: WorktreePermissionRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreePermissionResult>>>
33
38
  'worktreeManager/forgetWorktree': (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
39
+ 'worktreeManager/getWorktreeCommitFileDiff': (input: WorktreeGitFileDiffRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeGitFileDiff>>>
34
40
  'worktreeManager/importWorktree': (input: { readonly workspaceId: WorkspaceId; readonly absolutePath: string; }) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeRecord>>>
35
41
  'worktreeManager/insertWorktreeBefore': (input: { readonly workspaceId: string; readonly worktreeId: string; readonly beforeWorktreeId?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly WorktreeId[]>>>
36
42
  'worktreeManager/listBindings': (input: { readonly workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly SessionBinding[]>>>
37
43
  'worktreeManager/listBranches': (input: { readonly workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly BranchRecord[]>>>
38
44
  'worktreeManager/listImportCandidates': (input: { readonly workspaceId: WorkspaceId; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly WorktreeImportCandidate[]>>>
45
+ 'worktreeManager/listWorktreeCommitFiles': (input: WorktreeGitCommitFilesRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeGitCommitFiles>>>
46
+ 'worktreeManager/listWorktreeCommits': (input: { readonly workspaceId: WorkspaceId; readonly worktreeId: WorktreeId; readonly baseBranch?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeGitHistory>>>
39
47
  'worktreeManager/listWorktrees': (input: { readonly workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<readonly WorktreeRecord[]>>>
40
48
  'worktreeManager/normalizeDetachedWorktreePermissions': (input: WorktreePermissionNormalizationRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreePermissionResult>>>
41
49
  'worktreeManager/recoverWorktrees': (input: { workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
42
50
  'worktreeManager/removeWorktree': (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
43
51
  'worktreeManager/unarchiveWorktree': (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
52
+ 'worktreeManager/updateWorktreeBaseBranch': (input: { workspaceId: string; worktreeId: string; baseBranch: string; expectedBaseBranch?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<string>>>
53
+ 'worktreeManager/updateWorktreeInstructions': (input: { workspaceId: string; worktreeId: string; instructions: string; expectedInstructions: string; }) => Promise<RemoteResult<WorktreeRemoteResult<string>>>
44
54
  }
45
55
  interface TypertRemoteNamespaceMap {
46
56
  'worktreeManager': TypertRemoteNamespace$776f726b747265654d616e61676572
@@ -1 +1 @@
1
- {"version":3,"file":"typert.remote-client.d.ts","names":["adoptWorktreeBranch","bindSession","cleanWorktree","createWorktree","ensureWorktreePermission","forgetWorktree","importWorktree","insertWorktreeBefore","listBindings","listBranches","listImportCandidates","listWorktrees","normalizeDetachedWorktreePermissions","recoverWorktrees","removeWorktree","unarchiveWorktree"],"sources":["../src/host/service.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;IAsLEA,mB;IAiDAC,W;IAlCAC,a;IAlDAC,c;IA6FAC,wB;IAlCAC,c;IAlDAC,c;IA2DAC,oB;IASAC,Y;IApFAC,Y;IAPAC,oB;IAPAC,a;IAyHAC,oC;IAvDAC,gB;IA5BAC,c;IASAC,iB;;;IASAf,qC;IAiDAC,6B;IAlCAC,+B;IAlDAC,gC;IA6FAC,0C;IAlCAC,gC;IAlDAC,gC;IA2DAC,sC;IASAC,8B;IApFAC,8B;IAPAC,sC;IAPAC,+B;IAyHAC,sD;IAvDAC,kC;IA5BAC,gC;IASAC,mC","ignoreList":[]}
1
+ {"version":3,"file":"typert.remote-client.d.ts","names":["adoptWorktreeBranch","bindSession","cleanWorktree","createWorktree","ensureWorktreePermission","forgetWorktree","getWorktreeCommitFileDiff","importWorktree","insertWorktreeBefore","listBindings","listBranches","listImportCandidates","listWorktreeCommitFiles","listWorktreeCommits","listWorktrees","normalizeDetachedWorktreePermissions","recoverWorktrees","removeWorktree","unarchiveWorktree","updateWorktreeBaseBranch","updateWorktreeInstructions"],"sources":["../src/host/service.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;IAwOEA,mB;IAiDAC,W;IAlCAC,a;IAlDAC,c;IA6FAC,wB;IAlCAC,c;IA9EAC,yB;IA4BAC,c;IA2DAC,oB;IASAC,Y;IApFAC,Y;IAPAC,oB;IAVAC,uB;IATAC,mB;IAPAC,a;IA4IAC,oC;IAvDAC,gB;IA5BAC,c;IASAC,iB;IA5EAC,wB;IAVAC,0B;;;IA+FApB,qC;IAiDAC,6B;IAlCAC,+B;IAlDAC,gC;IA6FAC,0C;IAlCAC,gC;IA9EAC,2C;IA4BAC,gC;IA2DAC,sC;IASAC,8B;IApFAC,8B;IAPAC,sC;IAVAC,yC;IATAC,qC;IAPAC,+B;IA4IAC,sD;IAvDAC,kC;IA5BAC,gC;IASAC,mC;IA5EAC,0C;IAVAC,4C","ignoreList":[]}