@cerbur/clutch-dsh-worktree 0.1.9 → 0.1.12

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 (565) hide show
  1. package/README.md +230 -231
  2. package/README.zh.md +184 -225
  3. package/assets/screenshots/screenshots-dashboard.webp +0 -0
  4. package/assets/screenshots/screenshots-en.png +0 -0
  5. package/assets/screenshots/screenshots-import.png +0 -0
  6. package/assets/screenshots/screenshots-zh.png +0 -0
  7. package/lib/client/WorktreeSurface.d.ts +4 -7
  8. package/lib/client/WorktreeSurface.d.ts.map +1 -1
  9. package/lib/client/WorktreeSurface.js +179 -1418
  10. package/lib/client/WorktreeSurface.js.map +1 -1
  11. package/lib/client/{WorktreeContext.d.ts → context/WorktreeContext.d.ts} +1 -1
  12. package/lib/client/context/WorktreeContext.d.ts.map +1 -0
  13. package/lib/client/context/WorktreeContext.js.map +1 -0
  14. package/lib/client/{WorktreeHeroContext.d.ts → context/WorktreeHeroContext.d.ts} +1 -1
  15. package/lib/client/context/WorktreeHeroContext.d.ts.map +1 -0
  16. package/lib/client/context/WorktreeHeroContext.js.map +1 -0
  17. package/lib/client/{worktree-context-store.d.ts → context/worktree-context-store.d.ts} +1 -1
  18. package/lib/client/context/worktree-context-store.d.ts.map +1 -0
  19. package/lib/client/{worktree-context-store.js → context/worktree-context-store.js} +2 -2
  20. package/lib/client/context/worktree-context-store.js.map +1 -0
  21. package/lib/client/{worktree-context.d.ts → context/worktree-context.d.ts} +1 -1
  22. package/lib/client/context/worktree-context.d.ts.map +1 -0
  23. package/lib/client/{worktree-context.js → context/worktree-context.js} +5 -3
  24. package/lib/client/context/worktree-context.js.map +1 -0
  25. package/lib/client/dashboard/DashboardHeaderAction.d.ts +20 -0
  26. package/lib/client/dashboard/DashboardHeaderAction.d.ts.map +1 -0
  27. package/lib/client/dashboard/DashboardHeaderAction.js +19 -0
  28. package/lib/client/dashboard/DashboardHeaderAction.js.map +1 -0
  29. package/lib/client/dashboard/OpenInAppButton.d.ts +9 -0
  30. package/lib/client/dashboard/OpenInAppButton.d.ts.map +1 -0
  31. package/lib/client/dashboard/OpenInAppButton.js +123 -0
  32. package/lib/client/dashboard/OpenInAppButton.js.map +1 -0
  33. package/lib/client/dashboard/WorktreeDashboard.d.ts +21 -0
  34. package/lib/client/dashboard/WorktreeDashboard.d.ts.map +1 -0
  35. package/lib/client/dashboard/WorktreeDashboard.js +211 -0
  36. package/lib/client/dashboard/WorktreeDashboard.js.map +1 -0
  37. package/lib/client/dashboard/WorktreeInstructions.d.ts +8 -0
  38. package/lib/client/dashboard/WorktreeInstructions.d.ts.map +1 -0
  39. package/lib/client/dashboard/WorktreeInstructions.js +53 -0
  40. package/lib/client/dashboard/WorktreeInstructions.js.map +1 -0
  41. package/lib/client/dashboard/dashboard-icon.d.ts +7 -0
  42. package/lib/client/dashboard/dashboard-icon.d.ts.map +1 -0
  43. package/lib/client/dashboard/dashboard-icon.js +6 -0
  44. package/lib/client/dashboard/dashboard-icon.js.map +1 -0
  45. package/lib/client/dashboard/dashboard-overlay.d.ts +11 -0
  46. package/lib/client/dashboard/dashboard-overlay.d.ts.map +1 -0
  47. package/lib/client/dashboard/dashboard-overlay.js +120 -0
  48. package/lib/client/dashboard/dashboard-overlay.js.map +1 -0
  49. package/lib/client/dashboard/dashboard-selection.d.ts +32 -0
  50. package/lib/client/dashboard/dashboard-selection.d.ts.map +1 -0
  51. package/lib/client/dashboard/dashboard-selection.js +31 -0
  52. package/lib/client/dashboard/dashboard-selection.js.map +1 -0
  53. package/lib/client/dashboard/dashboard-sessions.d.ts +6 -0
  54. package/lib/client/dashboard/dashboard-sessions.d.ts.map +1 -0
  55. package/lib/client/dashboard/dashboard-sessions.js +21 -0
  56. package/lib/client/dashboard/dashboard-sessions.js.map +1 -0
  57. package/lib/client/dashboard/open-in-app-controller.d.ts +30 -0
  58. package/lib/client/dashboard/open-in-app-controller.d.ts.map +1 -0
  59. package/lib/client/dashboard/open-in-app-controller.js +94 -0
  60. package/lib/client/dashboard/open-in-app-controller.js.map +1 -0
  61. package/lib/client/dashboard/vscode-url.d.ts +3 -0
  62. package/lib/client/dashboard/vscode-url.d.ts.map +1 -0
  63. package/lib/client/dashboard/vscode-url.js +9 -0
  64. package/lib/client/dashboard/vscode-url.js.map +1 -0
  65. package/lib/client/dashboard/worktree-acquisition-facts.d.ts +16 -0
  66. package/lib/client/dashboard/worktree-acquisition-facts.d.ts.map +1 -0
  67. package/lib/client/dashboard/worktree-acquisition-facts.js +14 -0
  68. package/lib/client/dashboard/worktree-acquisition-facts.js.map +1 -0
  69. package/lib/client/dsh-slot-contract.d.ts +5 -0
  70. package/lib/client/dsh-slot-contract.d.ts.map +1 -1
  71. package/lib/client/entry.d.ts +1 -1
  72. package/lib/client/entry.d.ts.map +1 -1
  73. package/lib/client/entry.js +90 -13
  74. package/lib/client/entry.js.map +1 -1
  75. package/lib/client/index.d.ts +3 -3
  76. package/lib/client/index.d.ts.map +1 -1
  77. package/lib/client/index.js +2 -2
  78. package/lib/client/index.js.map +1 -1
  79. package/lib/client/locales.d.ts +204 -0
  80. package/lib/client/locales.d.ts.map +1 -1
  81. package/lib/client/locales.js +214 -10
  82. package/lib/client/locales.js.map +1 -1
  83. package/lib/client/{WorktreeOverlay.d.ts → overlay/WorktreeOverlay.d.ts} +2 -2
  84. package/lib/client/overlay/WorktreeOverlay.d.ts.map +1 -0
  85. package/lib/client/{WorktreeOverlay.js → overlay/WorktreeOverlay.js} +2 -2
  86. package/lib/client/overlay/WorktreeOverlay.js.map +1 -0
  87. package/lib/client/overlay/overlay-bounds.d.ts.map +1 -0
  88. package/lib/client/overlay/overlay-bounds.js.map +1 -0
  89. package/lib/client/overlay/sidebar-overlay-geometry.d.ts.map +1 -0
  90. package/lib/client/overlay/sidebar-overlay-geometry.js.map +1 -0
  91. package/lib/client/permission/worktree-permission-icon.d.ts.map +1 -0
  92. package/lib/client/permission/worktree-permission-icon.js.map +1 -0
  93. package/lib/client/permission/worktree-permission.d.ts.map +1 -0
  94. package/lib/client/permission/worktree-permission.js.map +1 -0
  95. package/lib/client/session/session-labels.d.ts +9 -0
  96. package/lib/client/session/session-labels.d.ts.map +1 -0
  97. package/lib/client/session/session-labels.js +44 -0
  98. package/lib/client/session/session-labels.js.map +1 -0
  99. package/lib/client/session/session-view.d.ts.map +1 -0
  100. package/lib/client/session/session-view.js.map +1 -0
  101. package/lib/client/{virtual-workspace-membership.d.ts → session/virtual-workspace-membership.d.ts} +1 -1
  102. package/lib/client/session/virtual-workspace-membership.d.ts.map +1 -0
  103. package/lib/client/{virtual-workspace-membership.js → session/virtual-workspace-membership.js} +1 -1
  104. package/lib/client/session/virtual-workspace-membership.js.map +1 -0
  105. package/lib/client/{worktree-session-fork.d.ts → session/worktree-session-fork.d.ts} +7 -1
  106. package/lib/client/session/worktree-session-fork.d.ts.map +1 -0
  107. package/lib/client/{worktree-session-fork.js → session/worktree-session-fork.js} +50 -4
  108. package/lib/client/session/worktree-session-fork.js.map +1 -0
  109. package/lib/client/session/worktree-session-order.d.ts.map +1 -0
  110. package/lib/client/session/worktree-session-order.js.map +1 -0
  111. package/lib/client/session/worktree-session-position.d.ts.map +1 -0
  112. package/lib/client/session/worktree-session-position.js.map +1 -0
  113. package/lib/client/{worktree-session.d.ts → session/worktree-session.d.ts} +3 -3
  114. package/lib/client/session/worktree-session.d.ts.map +1 -0
  115. package/lib/client/{worktree-session.js → session/worktree-session.js} +3 -3
  116. package/lib/client/session/worktree-session.js.map +1 -0
  117. package/lib/client/surface/actions/lifecycle-commands.d.ts +9 -0
  118. package/lib/client/surface/actions/lifecycle-commands.d.ts.map +1 -0
  119. package/lib/client/surface/actions/lifecycle-commands.js +243 -0
  120. package/lib/client/surface/actions/lifecycle-commands.js.map +1 -0
  121. package/lib/client/surface/actions/useDragActions.d.ts +26 -0
  122. package/lib/client/surface/actions/useDragActions.d.ts.map +1 -0
  123. package/lib/client/surface/actions/useDragActions.js +125 -0
  124. package/lib/client/surface/actions/useDragActions.js.map +1 -0
  125. package/lib/client/surface/actions/useLifecycleActions.d.ts +30 -0
  126. package/lib/client/surface/actions/useLifecycleActions.d.ts.map +1 -0
  127. package/lib/client/surface/actions/useLifecycleActions.js +140 -0
  128. package/lib/client/surface/actions/useLifecycleActions.js.map +1 -0
  129. package/lib/client/surface/actions/useNativeActions.d.ts +48 -0
  130. package/lib/client/surface/actions/useNativeActions.d.ts.map +1 -0
  131. package/lib/client/surface/actions/useNativeActions.js +182 -0
  132. package/lib/client/surface/actions/useNativeActions.js.map +1 -0
  133. package/lib/client/surface/actions/useSessionActions.d.ts +24 -0
  134. package/lib/client/surface/actions/useSessionActions.d.ts.map +1 -0
  135. package/lib/client/surface/actions/useSessionActions.js +116 -0
  136. package/lib/client/surface/actions/useSessionActions.js.map +1 -0
  137. package/lib/client/surface/actions/useSurfaceMutation.d.ts +15 -0
  138. package/lib/client/surface/actions/useSurfaceMutation.d.ts.map +1 -0
  139. package/lib/client/surface/actions/useSurfaceMutation.js +24 -0
  140. package/lib/client/surface/actions/useSurfaceMutation.js.map +1 -0
  141. package/lib/client/surface/actions/useWorktreeRegistration.d.ts +31 -0
  142. package/lib/client/surface/actions/useWorktreeRegistration.d.ts.map +1 -0
  143. package/lib/client/surface/actions/useWorktreeRegistration.js +203 -0
  144. package/lib/client/surface/actions/useWorktreeRegistration.js.map +1 -0
  145. package/lib/client/surface/actions/worktree-cleanup-flow.d.ts +10 -0
  146. package/lib/client/surface/actions/worktree-cleanup-flow.d.ts.map +1 -0
  147. package/lib/client/surface/actions/worktree-cleanup-flow.js +19 -0
  148. package/lib/client/surface/actions/worktree-cleanup-flow.js.map +1 -0
  149. package/lib/client/surface/components/AccessConfirmation.d.ts +9 -0
  150. package/lib/client/surface/components/AccessConfirmation.d.ts.map +1 -0
  151. package/lib/client/surface/components/AccessConfirmation.js +18 -0
  152. package/lib/client/surface/components/AccessConfirmation.js.map +1 -0
  153. package/lib/client/surface/components/ActiveWorktree.d.ts +28 -0
  154. package/lib/client/surface/components/ActiveWorktree.d.ts.map +1 -0
  155. package/lib/client/surface/components/ActiveWorktree.js +155 -0
  156. package/lib/client/surface/components/ActiveWorktree.js.map +1 -0
  157. package/lib/client/surface/components/ArchivedWorktree.d.ts +24 -0
  158. package/lib/client/surface/components/ArchivedWorktree.d.ts.map +1 -0
  159. package/lib/client/surface/components/ArchivedWorktree.js +146 -0
  160. package/lib/client/surface/components/ArchivedWorktree.js.map +1 -0
  161. package/lib/client/surface/components/ArchivedWorktrees.d.ts +25 -0
  162. package/lib/client/surface/components/ArchivedWorktrees.d.ts.map +1 -0
  163. package/lib/client/surface/components/ArchivedWorktrees.js +20 -0
  164. package/lib/client/surface/components/ArchivedWorktrees.js.map +1 -0
  165. package/lib/client/surface/components/LifecycleDialogs.d.ts +20 -0
  166. package/lib/client/surface/components/LifecycleDialogs.d.ts.map +1 -0
  167. package/lib/client/surface/components/LifecycleDialogs.js +31 -0
  168. package/lib/client/surface/components/LifecycleDialogs.js.map +1 -0
  169. package/lib/client/surface/components/NativeDialogs.d.ts +9 -0
  170. package/lib/client/surface/components/NativeDialogs.d.ts.map +1 -0
  171. package/lib/client/surface/components/NativeDialogs.js +14 -0
  172. package/lib/client/surface/components/NativeDialogs.js.map +1 -0
  173. package/lib/client/surface/components/NotificationToasts.d.ts +7 -0
  174. package/lib/client/surface/components/NotificationToasts.d.ts.map +1 -0
  175. package/lib/client/surface/components/NotificationToasts.js +24 -0
  176. package/lib/client/surface/components/NotificationToasts.js.map +1 -0
  177. package/lib/client/surface/components/RegistrationDialog.d.ts +15 -0
  178. package/lib/client/surface/components/RegistrationDialog.d.ts.map +1 -0
  179. package/lib/client/surface/components/RegistrationDialog.js +22 -0
  180. package/lib/client/surface/components/RegistrationDialog.js.map +1 -0
  181. package/lib/client/surface/components/SurfaceContent.d.ts +31 -0
  182. package/lib/client/surface/components/SurfaceContent.d.ts.map +1 -0
  183. package/lib/client/surface/components/SurfaceContent.js +65 -0
  184. package/lib/client/surface/components/SurfaceContent.js.map +1 -0
  185. package/lib/client/surface/components/SurfaceHeader.d.ts +15 -0
  186. package/lib/client/surface/components/SurfaceHeader.d.ts.map +1 -0
  187. package/lib/client/surface/components/SurfaceHeader.js +42 -0
  188. package/lib/client/surface/components/SurfaceHeader.js.map +1 -0
  189. package/lib/client/surface/components/WorkspaceTree.d.ts +32 -0
  190. package/lib/client/surface/components/WorkspaceTree.d.ts.map +1 -0
  191. package/lib/client/surface/components/WorkspaceTree.js +149 -0
  192. package/lib/client/surface/components/WorkspaceTree.js.map +1 -0
  193. package/lib/client/{worktree-surface-dialogs.d.ts → surface/components/dialogs.d.ts} +5 -2
  194. package/lib/client/surface/components/dialogs.d.ts.map +1 -0
  195. package/lib/client/{worktree-surface-dialogs.js → surface/components/dialogs.js} +67 -24
  196. package/lib/client/surface/components/dialogs.js.map +1 -0
  197. package/lib/client/{worktree-surface-rows.d.ts → surface/components/rows.d.ts} +3 -3
  198. package/lib/client/surface/components/rows.d.ts.map +1 -0
  199. package/lib/client/{worktree-surface-rows.js → surface/components/rows.js} +180 -20
  200. package/lib/client/surface/components/rows.js.map +1 -0
  201. package/lib/client/surface/notification-queue.d.ts +11 -0
  202. package/lib/client/surface/notification-queue.d.ts.map +1 -0
  203. package/lib/client/surface/notification-queue.js +19 -0
  204. package/lib/client/surface/notification-queue.js.map +1 -0
  205. package/lib/client/{worktree-surface-selectors.d.ts → surface/selectors.d.ts} +10 -5
  206. package/lib/client/surface/selectors.d.ts.map +1 -0
  207. package/lib/client/{worktree-surface-selectors.js → surface/selectors.js} +23 -6
  208. package/lib/client/surface/selectors.js.map +1 -0
  209. package/lib/client/surface/shared.d.ts +40 -0
  210. package/lib/client/surface/shared.d.ts.map +1 -0
  211. package/lib/client/surface/shared.js +53 -0
  212. package/lib/client/surface/shared.js.map +1 -0
  213. package/lib/client/surface/state/useLifecycleState.d.ts +34 -0
  214. package/lib/client/surface/state/useLifecycleState.d.ts.map +1 -0
  215. package/lib/client/surface/state/useLifecycleState.js +39 -0
  216. package/lib/client/surface/state/useLifecycleState.js.map +1 -0
  217. package/lib/client/surface/state/useRegistrationState.d.ts +34 -0
  218. package/lib/client/surface/state/useRegistrationState.d.ts.map +1 -0
  219. package/lib/client/surface/state/useRegistrationState.js +44 -0
  220. package/lib/client/surface/state/useRegistrationState.js.map +1 -0
  221. package/lib/client/surface/state/useSessionExpansion.d.ts +39 -0
  222. package/lib/client/surface/state/useSessionExpansion.d.ts.map +1 -0
  223. package/lib/client/surface/state/useSessionExpansion.js +230 -0
  224. package/lib/client/surface/state/useSessionExpansion.js.map +1 -0
  225. package/lib/client/surface/state/useSessionOrdering.d.ts +15 -0
  226. package/lib/client/surface/state/useSessionOrdering.d.ts.map +1 -0
  227. package/lib/client/surface/state/useSessionOrdering.js +68 -0
  228. package/lib/client/surface/state/useSessionOrdering.js.map +1 -0
  229. package/lib/client/surface/state/useSurfaceMenus.d.ts +9 -0
  230. package/lib/client/surface/state/useSurfaceMenus.d.ts.map +1 -0
  231. package/lib/client/surface/state/useSurfaceMenus.js +15 -0
  232. package/lib/client/surface/state/useSurfaceMenus.js.map +1 -0
  233. package/lib/client/surface/state/useSurfaceRefresh.d.ts +39 -0
  234. package/lib/client/surface/state/useSurfaceRefresh.d.ts.map +1 -0
  235. package/lib/client/surface/state/useSurfaceRefresh.js +274 -0
  236. package/lib/client/surface/state/useSurfaceRefresh.js.map +1 -0
  237. package/lib/client/surface/state/useSurfaceSources.d.ts +31 -0
  238. package/lib/client/surface/state/useSurfaceSources.d.ts.map +1 -0
  239. package/lib/client/surface/state/useSurfaceSources.js +63 -0
  240. package/lib/client/surface/state/useSurfaceSources.js.map +1 -0
  241. package/lib/client/{worktree-surface-types.d.ts → surface/types.d.ts} +58 -13
  242. package/lib/client/surface/types.d.ts.map +1 -0
  243. package/lib/client/surface/types.js +2 -0
  244. package/lib/client/surface/types.js.map +1 -0
  245. package/lib/client/{WorktreeModeAction.d.ts → view/WorktreeModeAction.d.ts} +1 -1
  246. package/lib/client/view/WorktreeModeAction.d.ts.map +1 -0
  247. package/lib/client/{WorktreeModeAction.js → view/WorktreeModeAction.js} +9 -1
  248. package/lib/client/view/WorktreeModeAction.js.map +1 -0
  249. package/lib/client/view/navigation.d.ts.map +1 -0
  250. package/lib/client/view/navigation.js.map +1 -0
  251. package/lib/client/view/view-mode-dispatch.d.ts +7 -0
  252. package/lib/client/view/view-mode-dispatch.d.ts.map +1 -0
  253. package/lib/client/view/view-mode-dispatch.js +11 -0
  254. package/lib/client/view/view-mode-dispatch.js.map +1 -0
  255. package/lib/client/view/view-mode-store.d.ts.map +1 -0
  256. package/lib/client/view/view-mode-store.js.map +1 -0
  257. package/lib/client/view/view-mode.d.ts.map +1 -0
  258. package/lib/client/view/view-mode.js.map +1 -0
  259. package/lib/client/{worktree-error-copy.d.ts → view/worktree-error-copy.d.ts} +2 -2
  260. package/lib/client/view/worktree-error-copy.d.ts.map +1 -0
  261. package/lib/client/view/worktree-error-copy.js.map +1 -0
  262. package/lib/client/{worktree-expand-state.d.ts → view/worktree-expand-state.d.ts} +1 -0
  263. package/lib/client/view/worktree-expand-state.d.ts.map +1 -0
  264. package/lib/client/{worktree-expand-state.js → view/worktree-expand-state.js} +11 -0
  265. package/lib/client/view/worktree-expand-state.js.map +1 -0
  266. package/lib/client/{worktree-view-actions.d.ts → view/worktree-view-actions.d.ts} +11 -5
  267. package/lib/client/view/worktree-view-actions.d.ts.map +1 -0
  268. package/lib/client/{worktree-view-actions.js → view/worktree-view-actions.js} +13 -11
  269. package/lib/client/view/worktree-view-actions.js.map +1 -0
  270. package/lib/client/view/worktree-view-errors.d.ts.map +1 -0
  271. package/lib/client/view/worktree-view-errors.js.map +1 -0
  272. package/lib/client/{worktree-view-read.d.ts → view/worktree-view-read.d.ts} +4 -2
  273. package/lib/client/view/worktree-view-read.d.ts.map +1 -0
  274. package/lib/client/{worktree-view-read.js → view/worktree-view-read.js} +4 -1
  275. package/lib/client/view/worktree-view-read.js.map +1 -0
  276. package/lib/client/view/worktree-view.d.ts.map +1 -0
  277. package/lib/client/view/worktree-view.js.map +1 -0
  278. package/lib/client/worktree-connection.d.ts +6 -0
  279. package/lib/client/worktree-connection.d.ts.map +1 -1
  280. package/lib/client/worktree-connection.js +20 -0
  281. package/lib/client/worktree-connection.js.map +1 -1
  282. package/lib/client.js +5869 -2648
  283. package/lib/client.js.map +1 -1
  284. package/lib/contract/index.contract.js +12 -0
  285. package/lib/contract/index.contract.js.map +1 -1
  286. package/lib/contract/index.d.ts +64 -3
  287. package/lib/contract/index.d.ts.map +1 -1
  288. package/lib/contract/index.js +8 -0
  289. package/lib/contract/index.js.map +1 -1
  290. package/lib/host/dsh-read-adapter.d.ts +13 -2
  291. package/lib/host/dsh-read-adapter.d.ts.map +1 -1
  292. package/lib/host/dsh-read-adapter.js +23 -3
  293. package/lib/host/dsh-read-adapter.js.map +1 -1
  294. package/lib/host/remote.d.ts.map +1 -1
  295. package/lib/host/remote.js +15 -0
  296. package/lib/host/remote.js.map +1 -1
  297. package/lib/host/service.d.ts +30 -0
  298. package/lib/host/service.d.ts.map +1 -1
  299. package/lib/host/service.js +47 -1
  300. package/lib/host/service.js.map +1 -1
  301. package/lib/host/worktree-activity.d.ts +13 -0
  302. package/lib/host/worktree-activity.d.ts.map +1 -0
  303. package/lib/host/worktree-activity.js +23 -0
  304. package/lib/host/worktree-activity.js.map +1 -0
  305. package/lib/host/worktree-instructions.d.ts +41 -0
  306. package/lib/host/worktree-instructions.d.ts.map +1 -0
  307. package/lib/host/worktree-instructions.js +65 -0
  308. package/lib/host/worktree-instructions.js.map +1 -0
  309. package/lib/host/worktree-permission-manager.js +2 -2
  310. package/lib/host/worktree-permission-manager.js.map +1 -1
  311. package/lib/index.d.ts +3 -3
  312. package/lib/index.d.ts.map +1 -1
  313. package/lib/index.js +2 -2
  314. package/lib/index.js.map +1 -1
  315. package/lib/manage/manager-context.d.ts +2 -1
  316. package/lib/manage/manager-context.d.ts.map +1 -1
  317. package/lib/manage/manager-sessions.js +4 -4
  318. package/lib/manage/manager-sessions.js.map +1 -1
  319. package/lib/manage/manager-worktree-lifecycle.d.ts +23 -0
  320. package/lib/manage/manager-worktree-lifecycle.d.ts.map +1 -0
  321. package/lib/manage/manager-worktree-lifecycle.js +165 -0
  322. package/lib/manage/manager-worktree-lifecycle.js.map +1 -0
  323. package/lib/manage/manager-worktrees.d.ts +1 -6
  324. package/lib/manage/manager-worktrees.d.ts.map +1 -1
  325. package/lib/manage/manager-worktrees.js +81 -112
  326. package/lib/manage/manager-worktrees.js.map +1 -1
  327. package/lib/manage/manager.d.ts +24 -1
  328. package/lib/manage/manager.d.ts.map +1 -1
  329. package/lib/manage/manager.js +70 -6
  330. package/lib/manage/manager.js.map +1 -1
  331. package/lib/manage/types.d.ts +1 -0
  332. package/lib/manage/types.d.ts.map +1 -1
  333. package/lib/provider/generated-name.d.ts +8 -0
  334. package/lib/provider/generated-name.d.ts.map +1 -0
  335. package/lib/provider/generated-name.js +29 -0
  336. package/lib/provider/generated-name.js.map +1 -0
  337. package/lib/provider/{git.d.ts → git/adapter.d.ts} +2 -2
  338. package/lib/provider/git/adapter.d.ts.map +1 -0
  339. package/lib/provider/{git.js → git/adapter.js} +11 -2
  340. package/lib/provider/git/adapter.js.map +1 -0
  341. package/lib/provider/{repository-fingerprint.d.ts → git/repository-fingerprint.d.ts} +1 -1
  342. package/lib/provider/git/repository-fingerprint.d.ts.map +1 -0
  343. package/lib/provider/git/repository-fingerprint.js.map +1 -0
  344. package/lib/provider/{subprocess.d.ts → git/subprocess.d.ts} +1 -1
  345. package/lib/provider/git/subprocess.d.ts.map +1 -0
  346. package/lib/provider/git/subprocess.js.map +1 -0
  347. package/lib/provider/git/worktree-status.d.ts +5 -0
  348. package/lib/provider/git/worktree-status.d.ts.map +1 -0
  349. package/lib/provider/git/worktree-status.js +23 -0
  350. package/lib/provider/git/worktree-status.js.map +1 -0
  351. package/lib/provider/index.d.ts +5 -5
  352. package/lib/provider/index.d.ts.map +1 -1
  353. package/lib/provider/index.js +5 -5
  354. package/lib/provider/index.js.map +1 -1
  355. package/lib/provider/mutation-token.d.ts +1 -1
  356. package/lib/provider/mutation-token.d.ts.map +1 -1
  357. package/lib/provider/mutation-token.js +1 -0
  358. package/lib/provider/mutation-token.js.map +1 -1
  359. package/lib/provider/sidecar/mutation-lock.d.ts.map +1 -0
  360. package/lib/provider/{mutation-lock.js → sidecar/mutation-lock.js} +1 -1
  361. package/lib/provider/sidecar/mutation-lock.js.map +1 -0
  362. package/lib/provider/{sidecar.d.ts → sidecar/repository.d.ts} +3 -3
  363. package/lib/provider/sidecar/repository.d.ts.map +1 -0
  364. package/lib/provider/{sidecar.js → sidecar/repository.js} +16 -5
  365. package/lib/provider/sidecar/repository.js.map +1 -0
  366. package/lib/provider/{sidecar-persistence.d.ts → sidecar/sidecar-persistence.d.ts} +1 -1
  367. package/lib/provider/sidecar/sidecar-persistence.d.ts.map +1 -0
  368. package/lib/provider/{sidecar-persistence.js → sidecar/sidecar-persistence.js} +29 -2
  369. package/lib/provider/sidecar/sidecar-persistence.js.map +1 -0
  370. package/lib/provider/{sidecar-schema.d.ts → sidecar/sidecar-schema.d.ts} +1 -1
  371. package/lib/provider/sidecar/sidecar-schema.d.ts.map +1 -0
  372. package/lib/provider/{sidecar-schema.js → sidecar/sidecar-schema.js} +59 -16
  373. package/lib/provider/sidecar/sidecar-schema.js.map +1 -0
  374. package/lib/provider/transaction/dependencies.d.ts +10 -0
  375. package/lib/provider/transaction/dependencies.d.ts.map +1 -0
  376. package/lib/provider/transaction/dependencies.js +2 -0
  377. package/lib/provider/transaction/dependencies.js.map +1 -0
  378. package/lib/provider/transaction/index.d.ts +17 -0
  379. package/lib/provider/transaction/index.d.ts.map +1 -0
  380. package/lib/provider/transaction/index.js +44 -0
  381. package/lib/provider/transaction/index.js.map +1 -0
  382. package/lib/provider/transaction/operations/adopt-branch.d.ts +6 -0
  383. package/lib/provider/transaction/operations/adopt-branch.d.ts.map +1 -0
  384. package/lib/provider/transaction/operations/adopt-branch.js +59 -0
  385. package/lib/provider/transaction/operations/adopt-branch.js.map +1 -0
  386. package/lib/provider/transaction/operations/clean.d.ts +4 -0
  387. package/lib/provider/transaction/operations/clean.d.ts.map +1 -0
  388. package/lib/provider/transaction/operations/clean.js +168 -0
  389. package/lib/provider/transaction/operations/clean.js.map +1 -0
  390. package/lib/provider/transaction/operations/create.d.ts +5 -0
  391. package/lib/provider/transaction/operations/create.d.ts.map +1 -0
  392. package/lib/provider/transaction/operations/create.js +136 -0
  393. package/lib/provider/transaction/operations/create.js.map +1 -0
  394. package/lib/provider/transaction/operations/import.d.ts +5 -0
  395. package/lib/provider/transaction/operations/import.d.ts.map +1 -0
  396. package/lib/provider/transaction/operations/import.js +93 -0
  397. package/lib/provider/transaction/operations/import.js.map +1 -0
  398. package/lib/provider/transaction/operations/remove.d.ts +4 -0
  399. package/lib/provider/transaction/operations/remove.d.ts.map +1 -0
  400. package/lib/provider/transaction/operations/remove.js +164 -0
  401. package/lib/provider/transaction/operations/remove.js.map +1 -0
  402. package/lib/provider/transaction/recovery/failure-recovery.d.ts +32 -0
  403. package/lib/provider/transaction/recovery/failure-recovery.d.ts.map +1 -0
  404. package/lib/provider/transaction/recovery/failure-recovery.js +147 -0
  405. package/lib/provider/transaction/recovery/failure-recovery.js.map +1 -0
  406. package/lib/provider/transaction/recovery/recover.d.ts +4 -0
  407. package/lib/provider/transaction/recovery/recover.d.ts.map +1 -0
  408. package/lib/provider/transaction/recovery/recover.js +164 -0
  409. package/lib/provider/transaction/recovery/recover.js.map +1 -0
  410. package/lib/provider/transaction/support/admission.d.ts +7 -0
  411. package/lib/provider/transaction/support/admission.d.ts.map +1 -0
  412. package/lib/provider/transaction/support/admission.js +90 -0
  413. package/lib/provider/transaction/support/admission.js.map +1 -0
  414. package/lib/provider/transaction/support/inspection.d.ts +11 -0
  415. package/lib/provider/transaction/support/inspection.d.ts.map +1 -0
  416. package/lib/provider/transaction/support/inspection.js +51 -0
  417. package/lib/provider/transaction/support/inspection.js.map +1 -0
  418. package/lib/provider/transaction/support/journal.d.ts +12 -0
  419. package/lib/provider/transaction/support/journal.d.ts.map +1 -0
  420. package/lib/provider/transaction/support/journal.js +74 -0
  421. package/lib/provider/transaction/support/journal.js.map +1 -0
  422. package/lib/provider/transaction/support/locking.d.ts +4 -0
  423. package/lib/provider/transaction/support/locking.d.ts.map +1 -0
  424. package/lib/provider/transaction/support/locking.js +11 -0
  425. package/lib/provider/transaction/support/locking.js.map +1 -0
  426. package/lib/provider/transaction/support/path-safety.d.ts +11 -0
  427. package/lib/provider/transaction/support/path-safety.d.ts.map +1 -0
  428. package/lib/provider/transaction/support/path-safety.js +82 -0
  429. package/lib/provider/transaction/support/path-safety.js.map +1 -0
  430. package/lib/provider/transaction/support/paths.d.ts +10 -0
  431. package/lib/provider/transaction/support/paths.d.ts.map +1 -0
  432. package/lib/provider/transaction/support/paths.js +68 -0
  433. package/lib/provider/transaction/support/paths.js.map +1 -0
  434. package/lib/provider/transaction/support/publication.d.ts +9 -0
  435. package/lib/provider/transaction/support/publication.d.ts.map +1 -0
  436. package/lib/provider/transaction/support/publication.js +92 -0
  437. package/lib/provider/transaction/support/publication.js.map +1 -0
  438. package/lib/provider/transaction/types.d.ts +38 -0
  439. package/lib/provider/transaction/types.d.ts.map +1 -0
  440. package/lib/provider/transaction/types.js +2 -0
  441. package/lib/provider/transaction/types.js.map +1 -0
  442. package/lib/provider/types.d.ts +22 -3
  443. package/lib/provider/types.d.ts.map +1 -1
  444. package/lib/provider/types.js +1 -1
  445. package/lib/provider/types.js.map +1 -1
  446. package/lib/provider/worktree-lifecycle.d.ts +19 -0
  447. package/lib/provider/worktree-lifecycle.d.ts.map +1 -0
  448. package/lib/provider/worktree-lifecycle.js +44 -0
  449. package/lib/provider/worktree-lifecycle.js.map +1 -0
  450. package/lib/typert.host.js +330 -36
  451. package/lib/typert.remote-client.d.ts +12 -0
  452. package/lib/typert.remote-client.d.ts.map +1 -1
  453. package/lib/typert.remote-client.js +330 -36
  454. package/package.json +21 -20
  455. package/lib/client/WorktreeContext.d.ts.map +0 -1
  456. package/lib/client/WorktreeContext.js.map +0 -1
  457. package/lib/client/WorktreeHeroContext.d.ts.map +0 -1
  458. package/lib/client/WorktreeHeroContext.js.map +0 -1
  459. package/lib/client/WorktreeModeAction.d.ts.map +0 -1
  460. package/lib/client/WorktreeModeAction.js.map +0 -1
  461. package/lib/client/WorktreeOverlay.d.ts.map +0 -1
  462. package/lib/client/WorktreeOverlay.js.map +0 -1
  463. package/lib/client/dsh-rc1-slot-contract.d.ts +0 -43
  464. package/lib/client/dsh-rc1-slot-contract.d.ts.map +0 -1
  465. package/lib/client/dsh-rc1-slot-contract.js +0 -2
  466. package/lib/client/dsh-rc1-slot-contract.js.map +0 -1
  467. package/lib/client/navigation.d.ts.map +0 -1
  468. package/lib/client/navigation.js.map +0 -1
  469. package/lib/client/overlay-bounds.d.ts.map +0 -1
  470. package/lib/client/overlay-bounds.js.map +0 -1
  471. package/lib/client/session-view.d.ts.map +0 -1
  472. package/lib/client/session-view.js.map +0 -1
  473. package/lib/client/sidebar-overlay-geometry.d.ts.map +0 -1
  474. package/lib/client/sidebar-overlay-geometry.js.map +0 -1
  475. package/lib/client/view-mode-store.d.ts.map +0 -1
  476. package/lib/client/view-mode-store.js.map +0 -1
  477. package/lib/client/view-mode.d.ts.map +0 -1
  478. package/lib/client/view-mode.js.map +0 -1
  479. package/lib/client/virtual-workspace-membership.d.ts.map +0 -1
  480. package/lib/client/virtual-workspace-membership.js.map +0 -1
  481. package/lib/client/worktree-context-store.d.ts.map +0 -1
  482. package/lib/client/worktree-context-store.js.map +0 -1
  483. package/lib/client/worktree-context.d.ts.map +0 -1
  484. package/lib/client/worktree-context.js.map +0 -1
  485. package/lib/client/worktree-error-copy.d.ts.map +0 -1
  486. package/lib/client/worktree-error-copy.js.map +0 -1
  487. package/lib/client/worktree-expand-state.d.ts.map +0 -1
  488. package/lib/client/worktree-expand-state.js.map +0 -1
  489. package/lib/client/worktree-permission-icon.d.ts.map +0 -1
  490. package/lib/client/worktree-permission-icon.js.map +0 -1
  491. package/lib/client/worktree-permission.d.ts.map +0 -1
  492. package/lib/client/worktree-permission.js.map +0 -1
  493. package/lib/client/worktree-session-fork.d.ts.map +0 -1
  494. package/lib/client/worktree-session-fork.js.map +0 -1
  495. package/lib/client/worktree-session-order.d.ts.map +0 -1
  496. package/lib/client/worktree-session-order.js.map +0 -1
  497. package/lib/client/worktree-session-position.d.ts.map +0 -1
  498. package/lib/client/worktree-session-position.js.map +0 -1
  499. package/lib/client/worktree-session.d.ts.map +0 -1
  500. package/lib/client/worktree-session.js.map +0 -1
  501. package/lib/client/worktree-surface-dialogs.d.ts.map +0 -1
  502. package/lib/client/worktree-surface-dialogs.js.map +0 -1
  503. package/lib/client/worktree-surface-rows.d.ts.map +0 -1
  504. package/lib/client/worktree-surface-rows.js.map +0 -1
  505. package/lib/client/worktree-surface-selectors.d.ts.map +0 -1
  506. package/lib/client/worktree-surface-selectors.js.map +0 -1
  507. package/lib/client/worktree-surface-types.d.ts.map +0 -1
  508. package/lib/client/worktree-surface-types.js +0 -2
  509. package/lib/client/worktree-surface-types.js.map +0 -1
  510. package/lib/client/worktree-view-actions.d.ts.map +0 -1
  511. package/lib/client/worktree-view-actions.js.map +0 -1
  512. package/lib/client/worktree-view-errors.d.ts.map +0 -1
  513. package/lib/client/worktree-view-errors.js.map +0 -1
  514. package/lib/client/worktree-view-read.d.ts.map +0 -1
  515. package/lib/client/worktree-view-read.js.map +0 -1
  516. package/lib/client/worktree-view.d.ts.map +0 -1
  517. package/lib/client/worktree-view.js.map +0 -1
  518. package/lib/provider/git.d.ts.map +0 -1
  519. package/lib/provider/git.js.map +0 -1
  520. package/lib/provider/mutation-lock.d.ts.map +0 -1
  521. package/lib/provider/mutation-lock.js.map +0 -1
  522. package/lib/provider/repository-fingerprint.d.ts.map +0 -1
  523. package/lib/provider/repository-fingerprint.js.map +0 -1
  524. package/lib/provider/sidecar-persistence.d.ts.map +0 -1
  525. package/lib/provider/sidecar-persistence.js.map +0 -1
  526. package/lib/provider/sidecar-schema.d.ts.map +0 -1
  527. package/lib/provider/sidecar-schema.js.map +0 -1
  528. package/lib/provider/sidecar.d.ts.map +0 -1
  529. package/lib/provider/sidecar.js.map +0 -1
  530. package/lib/provider/subprocess.d.ts.map +0 -1
  531. package/lib/provider/subprocess.js.map +0 -1
  532. package/lib/provider/transaction.d.ts +0 -65
  533. package/lib/provider/transaction.d.ts.map +0 -1
  534. package/lib/provider/transaction.js +0 -1011
  535. package/lib/provider/transaction.js.map +0 -1
  536. /package/lib/client/{WorktreeContext.js → context/WorktreeContext.js} +0 -0
  537. /package/lib/client/{WorktreeHeroContext.js → context/WorktreeHeroContext.js} +0 -0
  538. /package/lib/client/{overlay-bounds.d.ts → overlay/overlay-bounds.d.ts} +0 -0
  539. /package/lib/client/{overlay-bounds.js → overlay/overlay-bounds.js} +0 -0
  540. /package/lib/client/{sidebar-overlay-geometry.d.ts → overlay/sidebar-overlay-geometry.d.ts} +0 -0
  541. /package/lib/client/{sidebar-overlay-geometry.js → overlay/sidebar-overlay-geometry.js} +0 -0
  542. /package/lib/client/{worktree-permission-icon.d.ts → permission/worktree-permission-icon.d.ts} +0 -0
  543. /package/lib/client/{worktree-permission-icon.js → permission/worktree-permission-icon.js} +0 -0
  544. /package/lib/client/{worktree-permission.d.ts → permission/worktree-permission.d.ts} +0 -0
  545. /package/lib/client/{worktree-permission.js → permission/worktree-permission.js} +0 -0
  546. /package/lib/client/{session-view.d.ts → session/session-view.d.ts} +0 -0
  547. /package/lib/client/{session-view.js → session/session-view.js} +0 -0
  548. /package/lib/client/{worktree-session-order.d.ts → session/worktree-session-order.d.ts} +0 -0
  549. /package/lib/client/{worktree-session-order.js → session/worktree-session-order.js} +0 -0
  550. /package/lib/client/{worktree-session-position.d.ts → session/worktree-session-position.d.ts} +0 -0
  551. /package/lib/client/{worktree-session-position.js → session/worktree-session-position.js} +0 -0
  552. /package/lib/client/{navigation.d.ts → view/navigation.d.ts} +0 -0
  553. /package/lib/client/{navigation.js → view/navigation.js} +0 -0
  554. /package/lib/client/{view-mode-store.d.ts → view/view-mode-store.d.ts} +0 -0
  555. /package/lib/client/{view-mode-store.js → view/view-mode-store.js} +0 -0
  556. /package/lib/client/{view-mode.d.ts → view/view-mode.d.ts} +0 -0
  557. /package/lib/client/{view-mode.js → view/view-mode.js} +0 -0
  558. /package/lib/client/{worktree-error-copy.js → view/worktree-error-copy.js} +0 -0
  559. /package/lib/client/{worktree-view-errors.d.ts → view/worktree-view-errors.d.ts} +0 -0
  560. /package/lib/client/{worktree-view-errors.js → view/worktree-view-errors.js} +0 -0
  561. /package/lib/client/{worktree-view.d.ts → view/worktree-view.d.ts} +0 -0
  562. /package/lib/client/{worktree-view.js → view/worktree-view.js} +0 -0
  563. /package/lib/provider/{repository-fingerprint.js → git/repository-fingerprint.js} +0 -0
  564. /package/lib/provider/{subprocess.js → git/subprocess.js} +0 -0
  565. /package/lib/provider/{mutation-lock.d.ts → sidecar/mutation-lock.d.ts} +0 -0
@@ -1,5 +1,74 @@
1
1
  export declare const WORKTREE_NS: "worktree";
2
2
  export declare const zh: {
3
+ 'dashboard.title': string;
4
+ 'dashboard.preview': string;
5
+ 'dashboard.open': string;
6
+ 'dashboard.copyBranch': string;
7
+ 'dashboard.branchCopied': string;
8
+ 'dashboard.branchCopyFailed': string;
9
+ 'dashboard.tab.overview': string;
10
+ 'dashboard.tab.git': string;
11
+ 'dashboard.tab.sessions': string;
12
+ 'dashboard.tab.children': string;
13
+ 'dashboard.tab.settings': string;
14
+ 'dashboard.back': string;
15
+ 'dashboard.soon': string;
16
+ 'dashboard.notConnected': string;
17
+ 'dashboard.unknown': string;
18
+ 'dashboard.historicalUnavailable': string;
19
+ 'dashboard.detached': string;
20
+ 'dashboard.cleaned': string;
21
+ 'dashboard.archived': string;
22
+ 'dashboard.copied': string;
23
+ 'dashboard.copyFailed': string;
24
+ 'dashboard.openEditor': string;
25
+ 'dashboard.openIn': string;
26
+ 'dashboard.created': string;
27
+ 'dashboard.imported': string;
28
+ 'dashboard.editorMenu': string;
29
+ 'dashboard.saveInstructions': string;
30
+ 'dashboard.savingInstructions': string;
31
+ 'dashboard.cancelInstructions': string;
32
+ 'dashboard.instructionsSaveFailed': string;
33
+ 'dashboard.base': string;
34
+ 'dashboard.source': string;
35
+ 'dashboard.external': string;
36
+ 'dashboard.plugin': string;
37
+ 'dashboard.start': string;
38
+ 'dashboard.startDescription': string;
39
+ 'dashboard.newWorktree': string;
40
+ 'dashboard.newSession': string;
41
+ 'dashboard.newWorktreeDescription': string;
42
+ 'dashboard.newSessionDescription': string;
43
+ 'dashboard.instructions': string;
44
+ 'dashboard.edit': string;
45
+ 'dashboard.instructionsDescription': string;
46
+ 'dashboard.noInstructions': string;
47
+ 'dashboard.instructionsHint': string;
48
+ 'dashboard.noSessions': string;
49
+ 'dashboard.viewSessions': string;
50
+ 'dashboard.status': string;
51
+ 'dashboard.statusHint': string;
52
+ 'dashboard.health': string;
53
+ 'dashboard.branch': string;
54
+ 'dashboard.branchUnavailable': string;
55
+ 'dashboard.aheadBehind': string;
56
+ 'dashboard.workingTree': string;
57
+ 'dashboard.viewDetails': string;
58
+ 'dashboard.derived': string;
59
+ 'dashboard.childrenHint': string;
60
+ 'dashboard.viewChildren': string;
61
+ 'dashboard.quickActions': string;
62
+ 'dashboard.action.terminal': string;
63
+ 'dashboard.action.diff': string;
64
+ 'dashboard.action.pullRequest': string;
65
+ 'dashboard.action.tests': string;
66
+ 'dashboard.action.sync': string;
67
+ 'dashboard.action.archive': string;
68
+ 'dashboard.hint.git': string;
69
+ 'dashboard.hint.children': string;
70
+ 'dashboard.hint.settings': string;
71
+ 'dashboard.mvpHint': string;
3
72
  'mode.open': string;
4
73
  'mode.exit': string;
5
74
  'mode.label': string;
@@ -10,10 +79,12 @@ export declare const zh: {
10
79
  'workspace.delete': string;
11
80
  'workspace.expand': string;
12
81
  'workspace.collapse': string;
82
+ 'workspace.collapseAll': string;
13
83
  'workspace.options': string;
14
84
  'workspace.addWorktree': string;
15
85
  'workspace.add': string;
16
86
  'workspace.search': string;
87
+ 'search.clear': string;
17
88
  'workspace.noMatches': string;
18
89
  'workspace.renameTitle': string;
19
90
  'workspace.name': string;
@@ -25,13 +96,37 @@ export declare const zh: {
25
96
  'worktree.mainWithBranch': string;
26
97
  'worktree.detached': string;
27
98
  'worktree.repair': string;
99
+ 'worktree.repairGuidance': string;
100
+ 'worktree.recoveryGuidance': string;
101
+ 'worktree.branchDriftGuidance': string;
102
+ 'worktree.detachedGuidance': string;
103
+ 'notice.details': string;
28
104
  'worktree.recovery': string;
29
105
  'worktree.ready': string;
106
+ 'worktree.branchDrift': string;
107
+ 'worktree.detachedHead': string;
108
+ 'worktree.adoptBranch': string;
109
+ 'worktree.retryRecovery': string;
110
+ 'worktree.adoptDescription': string;
111
+ 'worktree.adoptBeforeClean': string;
112
+ 'worktree.cleaned': string;
113
+ 'worktree.archivedGroup': string;
114
+ 'worktree.cleanDisk': string;
115
+ 'worktree.cleanDiskTitle': string;
116
+ 'worktree.cleanDiskDescription': string;
117
+ 'worktree.forget': string;
118
+ 'worktree.forgetTitle': string;
119
+ 'worktree.forgetDescription': string;
30
120
  'worktree.expand': string;
31
121
  'worktree.collapse': string;
32
122
  'worktree.options': string;
33
123
  'worktree.copyPath': string;
34
124
  'worktree.createNew': string;
125
+ 'worktree.archive': string;
126
+ 'worktree.archiveDescription': string;
127
+ 'worktree.unarchive': string;
128
+ 'worktree.unarchiveDisabledRepair': string;
129
+ 'worktree.archiveExternalDescription': string;
35
130
  'worktree.remove': string;
36
131
  'worktree.removeDescription': string;
37
132
  'worktree.removeExternalDescription': string;
@@ -87,7 +182,12 @@ export declare const zh: {
87
182
  'dialog.closeWorkspaceRename': string;
88
183
  'dialog.closeWorkspaceDelete': string;
89
184
  'dialog.closeWorktreeCreate': string;
185
+ 'dialog.closeWorktreeArchive': string;
90
186
  'dialog.closeWorktreeRemove': string;
187
+ 'dialog.closeWorktreeCleanDisk': string;
188
+ 'dialog.closeWorktreeForget': string;
189
+ 'dialog.cleanDisk': string;
190
+ 'dialog.forget': string;
91
191
  'dialog.cancel': string;
92
192
  'dialog.rename': string;
93
193
  'dialog.delete': string;
@@ -120,6 +220,8 @@ export declare const zh: {
120
220
  'error.worktreeStateConflict': string;
121
221
  'error.worktreeRecoveryRequired': string;
122
222
  'error.worktreeIdentityChanged': string;
223
+ 'error.worktreeSessionBusy': string;
224
+ 'error.worktreeActivityUnavailable': string;
123
225
  'error.worktreeRegistrationSessionUnavailable': string;
124
226
  'error.workspaceRenameUnavailable': string;
125
227
  'error.workspaceDeleteUnavailable': string;
@@ -138,6 +240,75 @@ export declare const zh: {
138
240
  };
139
241
  export type WorktreeLocaleKey = keyof typeof zh;
140
242
  export declare const en: {
243
+ 'dashboard.title': string;
244
+ 'dashboard.preview': string;
245
+ 'dashboard.open': string;
246
+ 'dashboard.copyBranch': string;
247
+ 'dashboard.branchCopied': string;
248
+ 'dashboard.branchCopyFailed': string;
249
+ 'dashboard.tab.overview': string;
250
+ 'dashboard.tab.git': string;
251
+ 'dashboard.tab.sessions': string;
252
+ 'dashboard.tab.children': string;
253
+ 'dashboard.tab.settings': string;
254
+ 'dashboard.back': string;
255
+ 'dashboard.soon': string;
256
+ 'dashboard.notConnected': string;
257
+ 'dashboard.unknown': string;
258
+ 'dashboard.historicalUnavailable': string;
259
+ 'dashboard.detached': string;
260
+ 'dashboard.cleaned': string;
261
+ 'dashboard.archived': string;
262
+ 'dashboard.copied': string;
263
+ 'dashboard.copyFailed': string;
264
+ 'dashboard.openEditor': string;
265
+ 'dashboard.openIn': string;
266
+ 'dashboard.created': string;
267
+ 'dashboard.imported': string;
268
+ 'dashboard.editorMenu': string;
269
+ 'dashboard.saveInstructions': string;
270
+ 'dashboard.savingInstructions': string;
271
+ 'dashboard.cancelInstructions': string;
272
+ 'dashboard.instructionsSaveFailed': string;
273
+ 'dashboard.base': string;
274
+ 'dashboard.source': string;
275
+ 'dashboard.external': string;
276
+ 'dashboard.plugin': string;
277
+ 'dashboard.start': string;
278
+ 'dashboard.startDescription': string;
279
+ 'dashboard.newWorktree': string;
280
+ 'dashboard.newSession': string;
281
+ 'dashboard.newWorktreeDescription': string;
282
+ 'dashboard.newSessionDescription': string;
283
+ 'dashboard.instructions': string;
284
+ 'dashboard.edit': string;
285
+ 'dashboard.instructionsDescription': string;
286
+ 'dashboard.noInstructions': string;
287
+ 'dashboard.instructionsHint': string;
288
+ 'dashboard.noSessions': string;
289
+ 'dashboard.viewSessions': string;
290
+ 'dashboard.status': string;
291
+ 'dashboard.statusHint': string;
292
+ 'dashboard.health': string;
293
+ 'dashboard.branch': string;
294
+ 'dashboard.branchUnavailable': string;
295
+ 'dashboard.aheadBehind': string;
296
+ 'dashboard.workingTree': string;
297
+ 'dashboard.viewDetails': string;
298
+ 'dashboard.derived': string;
299
+ 'dashboard.childrenHint': string;
300
+ 'dashboard.viewChildren': string;
301
+ 'dashboard.quickActions': string;
302
+ 'dashboard.action.terminal': string;
303
+ 'dashboard.action.diff': string;
304
+ 'dashboard.action.pullRequest': string;
305
+ 'dashboard.action.tests': string;
306
+ 'dashboard.action.sync': string;
307
+ 'dashboard.action.archive': string;
308
+ 'dashboard.hint.git': string;
309
+ 'dashboard.hint.children': string;
310
+ 'dashboard.hint.settings': string;
311
+ 'dashboard.mvpHint': string;
141
312
  'mode.open': string;
142
313
  'mode.exit': string;
143
314
  'mode.label': string;
@@ -148,10 +319,12 @@ export declare const en: {
148
319
  'workspace.delete': string;
149
320
  'workspace.expand': string;
150
321
  'workspace.collapse': string;
322
+ 'workspace.collapseAll': string;
151
323
  'workspace.options': string;
152
324
  'workspace.addWorktree': string;
153
325
  'workspace.add': string;
154
326
  'workspace.search': string;
327
+ 'search.clear': string;
155
328
  'workspace.noMatches': string;
156
329
  'workspace.renameTitle': string;
157
330
  'workspace.name': string;
@@ -163,13 +336,37 @@ export declare const en: {
163
336
  'worktree.mainWithBranch': string;
164
337
  'worktree.detached': string;
165
338
  'worktree.repair': string;
339
+ 'worktree.repairGuidance': string;
340
+ 'worktree.recoveryGuidance': string;
341
+ 'worktree.branchDriftGuidance': string;
342
+ 'worktree.detachedGuidance': string;
343
+ 'notice.details': string;
166
344
  'worktree.recovery': string;
167
345
  'worktree.ready': string;
346
+ 'worktree.branchDrift': string;
347
+ 'worktree.detachedHead': string;
348
+ 'worktree.adoptBranch': string;
349
+ 'worktree.retryRecovery': string;
350
+ 'worktree.adoptDescription': string;
351
+ 'worktree.adoptBeforeClean': string;
352
+ 'worktree.cleaned': string;
353
+ 'worktree.archivedGroup': string;
354
+ 'worktree.cleanDisk': string;
355
+ 'worktree.cleanDiskTitle': string;
356
+ 'worktree.cleanDiskDescription': string;
357
+ 'worktree.forget': string;
358
+ 'worktree.forgetTitle': string;
359
+ 'worktree.forgetDescription': string;
168
360
  'worktree.expand': string;
169
361
  'worktree.collapse': string;
170
362
  'worktree.options': string;
171
363
  'worktree.copyPath': string;
172
364
  'worktree.createNew': string;
365
+ 'worktree.archive': string;
366
+ 'worktree.archiveDescription': string;
367
+ 'worktree.unarchive': string;
368
+ 'worktree.unarchiveDisabledRepair': string;
369
+ 'worktree.archiveExternalDescription': string;
173
370
  'worktree.remove': string;
174
371
  'worktree.removeDescription': string;
175
372
  'worktree.removeExternalDescription': string;
@@ -225,7 +422,12 @@ export declare const en: {
225
422
  'dialog.closeWorkspaceRename': string;
226
423
  'dialog.closeWorkspaceDelete': string;
227
424
  'dialog.closeWorktreeCreate': string;
425
+ 'dialog.closeWorktreeArchive': string;
228
426
  'dialog.closeWorktreeRemove': string;
427
+ 'dialog.closeWorktreeCleanDisk': string;
428
+ 'dialog.closeWorktreeForget': string;
429
+ 'dialog.cleanDisk': string;
430
+ 'dialog.forget': string;
229
431
  'dialog.cancel': string;
230
432
  'dialog.rename': string;
231
433
  'dialog.delete': string;
@@ -258,6 +460,8 @@ export declare const en: {
258
460
  'error.worktreeStateConflict': string;
259
461
  'error.worktreeRecoveryRequired': string;
260
462
  'error.worktreeIdentityChanged': string;
463
+ 'error.worktreeSessionBusy': string;
464
+ 'error.worktreeActivityUnavailable': string;
261
465
  'error.worktreeRegistrationSessionUnavailable': string;
262
466
  'error.workspaceRenameUnavailable': string;
263
467
  'error.workspaceDeleteUnavailable': string;
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../src/client/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,EAAG,UAAmB,CAAC;AAE/C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ImB,CAAC;AAEnC,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,EAAE,CAAC;AAEhD,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6J8B,CAAC"}
1
+ {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../src/client/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,EAAG,UAAmB,CAAC;AAE/C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqPmB,CAAC;AAEnC,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,EAAE,CAAC;AAEhD,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqQ8B,CAAC"}
@@ -1,5 +1,74 @@
1
1
  export const WORKTREE_NS = 'worktree';
2
2
  export const zh = {
3
+ 'dashboard.title': "Dashboard",
4
+ 'dashboard.preview': 'Dashboard 预览',
5
+ 'dashboard.open': '打开 Dashboard',
6
+ 'dashboard.copyBranch': '复制分支名称',
7
+ 'dashboard.branchCopied': '已复制分支名称',
8
+ 'dashboard.branchCopyFailed': '复制分支名称失败,请重试。',
9
+ 'dashboard.tab.overview': "概览",
10
+ 'dashboard.tab.git': "Git 与变更",
11
+ 'dashboard.tab.sessions': "会话",
12
+ 'dashboard.tab.children': "派生 Worktree",
13
+ 'dashboard.tab.settings': "设置",
14
+ 'dashboard.back': "返回会话",
15
+ 'dashboard.soon': "即将推出",
16
+ 'dashboard.notConnected': "待接入",
17
+ 'dashboard.unknown': "未知",
18
+ 'dashboard.historicalUnavailable': "历史 Worktree 无法获取",
19
+ 'dashboard.detached': "分离 HEAD",
20
+ 'dashboard.cleaned': "已清理",
21
+ 'dashboard.archived': "已归档",
22
+ 'dashboard.copied': "已复制完整路径",
23
+ 'dashboard.copyFailed': "复制失败,请重试或手动选择上方路径。",
24
+ 'dashboard.openEditor': "在 VS Code 中打开",
25
+ 'dashboard.openIn': "在 {app} 中打开",
26
+ 'dashboard.created': "创建时间",
27
+ 'dashboard.imported': '登记时间',
28
+ 'dashboard.editorMenu': '选择打开应用',
29
+ 'dashboard.saveInstructions': '保存',
30
+ 'dashboard.savingInstructions': '保存中…',
31
+ 'dashboard.cancelInstructions': '取消',
32
+ 'dashboard.instructionsSaveFailed': '保存失败,草稿已保留。可重试;若其他窗口已修改指令,请取消并重新打开编辑。',
33
+ 'dashboard.base': "基线",
34
+ 'dashboard.source': "来源",
35
+ 'dashboard.external': "外部导入",
36
+ 'dashboard.plugin': "插件创建",
37
+ 'dashboard.start': "开始新的工作",
38
+ 'dashboard.startDescription': "从这个 Worktree 继续工作",
39
+ 'dashboard.newWorktree': "新建 Worktree",
40
+ 'dashboard.newSession': "新建会话",
41
+ 'dashboard.newWorktreeDescription': "基于当前分支创建独立的工作目录",
42
+ 'dashboard.newSessionDescription': "在这个 Worktree 中开始新的会话",
43
+ 'dashboard.instructions': "Worktree 指令",
44
+ 'dashboard.edit': "编辑",
45
+ 'dashboard.instructionsDescription': "为这个 Worktree 设置共享的工作指引。",
46
+ 'dashboard.noInstructions': "尚未设置指令",
47
+ 'dashboard.instructionsHint': "最多 32,000 字符。保存后在绑定会话的下一次模型请求中以 <system-reminder> 生效;清空并保存可停用。",
48
+ 'dashboard.noSessions': "此 Worktree 暂无可显示的会话。",
49
+ 'dashboard.viewSessions': "查看全部会话",
50
+ 'dashboard.status': "Worktree 状态",
51
+ 'dashboard.statusHint': "目录可用性来自现有检查;文件变更状态待接入。",
52
+ 'dashboard.health': "可用性",
53
+ 'dashboard.branch': "当前分支",
54
+ 'dashboard.branchUnavailable': '当前分支无法获取',
55
+ 'dashboard.aheadBehind': "领先 / 落后",
56
+ 'dashboard.workingTree': "文件变更",
57
+ 'dashboard.viewDetails': "查看详情",
58
+ 'dashboard.derived': "派生 Worktree",
59
+ 'dashboard.childrenHint': "派生关系尚未接入,不代表没有其他 Worktree。",
60
+ 'dashboard.viewChildren': "查看派生 Worktree",
61
+ 'dashboard.quickActions': "快捷操作",
62
+ 'dashboard.action.terminal': "在终端中打开",
63
+ 'dashboard.action.diff': "查看 Git Diff",
64
+ 'dashboard.action.pullRequest': "创建 Pull Request",
65
+ 'dashboard.action.tests': "运行测试",
66
+ 'dashboard.action.sync': "同步基线",
67
+ 'dashboard.action.archive': "归档 Worktree",
68
+ 'dashboard.hint.git': "这里将展示文件变更、diff 与分支同步状态。当前尚未读取这些数据。",
69
+ 'dashboard.hint.children': "这里将展示基于此 Worktree 派生的工作目录与关系。",
70
+ 'dashboard.hint.settings': "这里将提供 Worktree 指令与偏好设置。当前不会保存任何更改。",
71
+ 'dashboard.mvpHint': "MVP · 会话、新建 Worktree、归档和 VS Code 已接入;其余标记为“即将推出”的操作暂不可用。",
3
72
  'mode.open': '打开 Worktree 模式',
4
73
  'mode.exit': '退出 Worktree 模式',
5
74
  'mode.label': 'Worktree',
@@ -10,10 +79,12 @@ export const zh = {
10
79
  'workspace.delete': '删除',
11
80
  'workspace.expand': '展开 {name}',
12
81
  'workspace.collapse': '收起 {name}',
82
+ 'workspace.collapseAll': '全部折叠',
13
83
  'workspace.options': '工作区选项:{name}',
14
84
  'workspace.addWorktree': '向 {name} 添加 Worktree',
15
85
  'workspace.add': '添加工作区',
16
86
  'workspace.search': '搜索工作区和会话',
87
+ 'search.clear': '清除搜索',
17
88
  'workspace.noMatches': '没有匹配的工作区',
18
89
  'workspace.renameTitle': '重命名工作区',
19
90
  'workspace.name': '工作区名称',
@@ -25,23 +96,47 @@ export const zh = {
25
96
  'worktree.mainWithBranch': '本地({branch})',
26
97
  'worktree.detached': '已分离 Worktree',
27
98
  'worktree.repair': 'Worktree 需要修复',
99
+ 'worktree.repairGuidance': '检查此路径的目录、.git 入口和 Git Worktree 登记是否完整。若目录被移动,请先恢复到原路径;目录仍存在但 Git 关联异常时,可在该目录运行 git worktree repair 后刷新。若已删除且不再需要,请先归档,再选择清理磁盘同步移除状态,或移出管理。',
100
+ 'worktree.recoveryGuidance': '上次操作尚未完成,或目录与仓库身份无法确认。请确认原目录和仓库可访问,再从此 Worktree 菜单选择“重试恢复”。若仍失败,请保留错误详情排查,不要手动删除插件索引。',
101
+ 'worktree.branchDriftGuidance': '实际分支与记录不一致。若切换符合预期,请从此 Worktree 菜单选择“采用当前分支”;否则在 Git 中切回原分支后刷新。会话绑定和工作目录保持不变。',
102
+ 'worktree.detachedGuidance': '此目录处于分离 HEAD。请先在 Git 中切换到所需的本地分支,再刷新;如与原记录不同,选择“采用当前分支”。',
103
+ 'notice.details': '提示详情与恢复操作',
28
104
  'worktree.recovery': 'Worktree 需要恢复',
29
105
  'worktree.ready': '活动 Worktree 已就绪',
106
+ 'worktree.branchDrift': 'Git 分支已变化',
107
+ 'worktree.detachedHead': '分离 HEAD',
108
+ 'worktree.adoptBranch': '采用当前分支',
109
+ 'worktree.retryRecovery': '重试恢复',
110
+ 'worktree.adoptDescription': '将记录分支从“{previous}”更新为“{current}”?只更新插件索引,会话绑定和磁盘文件保持不变。',
111
+ 'worktree.adoptBeforeClean': '请先采用当前分支;分离 HEAD 时请先在 Git 中切换到分支。',
112
+ 'worktree.cleaned': 'Worktree 已移除',
113
+ 'worktree.archivedGroup': '已归档',
114
+ 'worktree.cleanDisk': '清理磁盘',
115
+ 'worktree.cleanDiskTitle': '清理 Worktree 磁盘',
116
+ 'worktree.cleanDiskDescription': '从磁盘删除“{name}”({path})?此操作不可逆。插件不会检查 Session 或子代理是否正在运行,请自行确认所有使用此目录的任务均已停止;否则删除可能导致任务失败或数据丢失。若目录或 .git 已不存在,仅同步 Worktree 移除状态,剩余文件不会删除。关联 Session 与历史会保留。',
117
+ 'worktree.forget': '移出管理',
118
+ 'worktree.forgetTitle': '移出管理',
119
+ 'worktree.forgetDescription': '将“{name}”从 Worktree 插件管理中移除?磁盘目录和 DSH 中的 Session 均会保留。',
30
120
  'worktree.expand': '展开 {name}',
31
121
  'worktree.collapse': '收起 {name}',
32
122
  'worktree.options': 'Worktree 选项:{name}',
33
123
  'worktree.copyPath': '复制路径',
34
124
  'worktree.createNew': '创建新的 Worktree',
35
- 'worktree.remove': '移除 Worktree',
36
- 'worktree.removeDescription': '移除“{name}”?Session 会保留在 DSH 中,并作为已分离关系继续可用。',
37
- 'worktree.removeExternalDescription': '移除“{name}”?这会删除关联的外部 Worktree 目录。Session 会保留在 DSH 中,并作为已分离关系继续可用。',
125
+ 'worktree.archive': '归档 Worktree',
126
+ 'worktree.archiveDescription': '归档“{name}”?它会移入“已归档”分组。磁盘目录、会话绑定和工作目录保持不变,已有会话仍可继续使用。删除目录需另行选择“清理磁盘”。',
127
+ 'worktree.unarchive': '取消归档',
128
+ 'worktree.unarchiveDisabledRepair': '目录或 Git 登记异常,无法取消归档',
129
+ 'worktree.archiveExternalDescription': '归档“{name}”?它会移入“已归档”分组。外部目录、会话绑定和工作目录保持不变,已有会话仍可继续使用。删除目录需另行选择“清理磁盘”。',
130
+ 'worktree.remove': '归档 Worktree',
131
+ 'worktree.removeDescription': '归档“{name}”?目录、会话绑定和工作目录保持不变。删除目录需另行选择“清理磁盘”。',
132
+ 'worktree.removeExternalDescription': '归档“{name}”?外部目录、会话绑定和工作目录保持不变。删除目录需另行选择“清理磁盘”。',
38
133
  'worktree.addSession': '向 {name} 添加会话',
39
134
  'worktree.noWorktrees': '暂无 Worktree',
40
135
  'worktree.createTitle': '新建 Worktree',
41
136
  'worktree.createDescription': '“{name}” · Worktree 路径由 DSH 管理。',
42
137
  'worktree.tabCreate': '创建',
43
138
  'worktree.tabImport': '导入',
44
- 'worktree.importDescription': '向“{name}”注册已有的 Worktree。注册不会移动目录;之后移除会删除关联的 Worktree 目录。',
139
+ 'worktree.importDescription': '向“{name}”注册已有的 Worktree。注册和归档均保留原目录;只有另行确认“清理磁盘”才会删除目录。',
45
140
  'worktree.importLoading': '正在查找可导入的 Worktree…',
46
141
  'worktree.importEmpty': '没有可导入的 Worktree。',
47
142
  'worktree.importPlaceholder': '请选择要导入的 Worktree',
@@ -87,7 +182,12 @@ export const zh = {
87
182
  'dialog.closeWorkspaceRename': '关闭重命名工作区对话框',
88
183
  'dialog.closeWorkspaceDelete': '关闭删除工作区对话框',
89
184
  'dialog.closeWorktreeCreate': '关闭创建 Worktree 对话框',
90
- 'dialog.closeWorktreeRemove': '关闭移除 Worktree 对话框',
185
+ 'dialog.closeWorktreeArchive': '关闭归档 Worktree 对话框',
186
+ 'dialog.closeWorktreeRemove': '关闭归档 Worktree 对话框',
187
+ 'dialog.closeWorktreeCleanDisk': '关闭清理 Worktree 磁盘对话框',
188
+ 'dialog.closeWorktreeForget': '关闭移出管理对话框',
189
+ 'dialog.cleanDisk': '清理磁盘',
190
+ 'dialog.forget': '移出管理',
91
191
  'dialog.cancel': '取消',
92
192
  'dialog.rename': '重命名',
93
193
  'dialog.delete': '删除',
@@ -120,6 +220,8 @@ export const zh = {
120
220
  'error.worktreeStateConflict': 'Worktree 状态已经变化,请刷新后重试。',
121
221
  'error.worktreeRecoveryRequired': 'Worktree 状态需要恢复;请先完成恢复后再重试破坏性操作。',
122
222
  'error.worktreeIdentityChanged': 'Worktree 或 repository 身份已经变化,需要恢复后再操作。',
223
+ 'error.worktreeSessionBusy': '关联 Session 正在运行,无法执行此操作。',
224
+ 'error.worktreeActivityUnavailable': '无法验证关联 Session 运行状态,无法执行此操作。',
123
225
  'error.worktreeRegistrationSessionUnavailable': 'Worktree 已注册,但 Session 创建不可用,请重新连接后重试。',
124
226
  'error.workspaceRenameUnavailable': '工作区重命名不可用,请重新连接后重试。',
125
227
  'error.workspaceDeleteUnavailable': '工作区删除不可用,请重新连接后重试。',
@@ -137,6 +239,75 @@ export const zh = {
137
239
  'branch.checkedOut': '(已检出)',
138
240
  };
139
241
  export const en = {
242
+ 'dashboard.title': "Dashboard",
243
+ 'dashboard.preview': 'Dashboard preview',
244
+ 'dashboard.open': 'Open Dashboard',
245
+ 'dashboard.copyBranch': 'Copy branch name',
246
+ 'dashboard.branchCopied': 'Branch name copied',
247
+ 'dashboard.branchCopyFailed': 'Branch name copy failed. Try again.',
248
+ 'dashboard.tab.overview': "Dashboard",
249
+ 'dashboard.tab.git': "Git & Changes",
250
+ 'dashboard.tab.sessions': "Sessions",
251
+ 'dashboard.tab.children': "Children",
252
+ 'dashboard.tab.settings': "Settings",
253
+ 'dashboard.back': "Back to session",
254
+ 'dashboard.soon': "Coming soon",
255
+ 'dashboard.notConnected': "Not connected",
256
+ 'dashboard.unknown': "Unknown",
257
+ 'dashboard.historicalUnavailable': "Unavailable for historical Worktrees",
258
+ 'dashboard.detached': "Detached HEAD",
259
+ 'dashboard.cleaned': "Cleaned",
260
+ 'dashboard.archived': "Archived",
261
+ 'dashboard.copied': "Full path copied",
262
+ 'dashboard.copyFailed': "Copy failed. Try again or select the path above.",
263
+ 'dashboard.openEditor': "Open in VS Code",
264
+ 'dashboard.openIn': "Open in {app}",
265
+ 'dashboard.created': "Created",
266
+ 'dashboard.imported': 'Imported',
267
+ 'dashboard.editorMenu': 'Choose application',
268
+ 'dashboard.saveInstructions': 'Save',
269
+ 'dashboard.savingInstructions': 'Saving…',
270
+ 'dashboard.cancelInstructions': 'Cancel',
271
+ 'dashboard.instructionsSaveFailed': 'Save failed; your draft is retained. Retry, or cancel and reopen if another window changed the instructions.',
272
+ 'dashboard.base': "Base",
273
+ 'dashboard.source': "Source",
274
+ 'dashboard.external': "Imported",
275
+ 'dashboard.plugin': "Plugin-created",
276
+ 'dashboard.start': "Start a new work",
277
+ 'dashboard.startDescription': "Choose how to continue from this worktree",
278
+ 'dashboard.newWorktree': "New Worktree",
279
+ 'dashboard.newSession': "New Session",
280
+ 'dashboard.newWorktreeDescription': "Create an isolated worktree from this branch",
281
+ 'dashboard.newSessionDescription': "Start another session in this worktree",
282
+ 'dashboard.instructions': "Worktree Instructions",
283
+ 'dashboard.edit': "Edit",
284
+ 'dashboard.instructionsDescription': "A place for shared guidance for this worktree.",
285
+ 'dashboard.noInstructions': "No instructions yet",
286
+ 'dashboard.instructionsHint': "Up to 32,000 characters. Saved instructions enter bound Sessions’ next model request as <system-reminder>. Clear and save to disable.",
287
+ 'dashboard.noSessions': "No visible sessions in this worktree.",
288
+ 'dashboard.viewSessions': "View all sessions",
289
+ 'dashboard.status': "Worktree Status",
290
+ 'dashboard.statusHint': "Availability comes from existing checks; file change status is not connected yet.",
291
+ 'dashboard.health': "Availability",
292
+ 'dashboard.branch': "Current branch",
293
+ 'dashboard.branchUnavailable': 'Current branch unavailable',
294
+ 'dashboard.aheadBehind': "Ahead / Behind",
295
+ 'dashboard.workingTree': "Working tree",
296
+ 'dashboard.viewDetails': "View details",
297
+ 'dashboard.derived': "Derived Worktrees",
298
+ 'dashboard.childrenHint': "Parent and child relationships are not connected yet.",
299
+ 'dashboard.viewChildren': "View all children",
300
+ 'dashboard.quickActions': "Quick Actions",
301
+ 'dashboard.action.terminal': "Open in Terminal",
302
+ 'dashboard.action.diff': "View Git Diff",
303
+ 'dashboard.action.pullRequest': "Create Pull Request",
304
+ 'dashboard.action.tests': "Run Tests",
305
+ 'dashboard.action.sync': "Sync with Base",
306
+ 'dashboard.action.archive': "Archive Worktree",
307
+ 'dashboard.hint.git': "File changes, diffs, and branch sync status will appear here. These data are not connected yet.",
308
+ 'dashboard.hint.children': "Derived worktrees and their relationships will appear here.",
309
+ 'dashboard.hint.settings': "Worktree instructions and preferences will appear here. No changes are saved yet.",
310
+ 'dashboard.mvpHint': "MVP · Sessions, Worktree creation, archive, and VS Code are connected. Other actions marked Coming soon are unavailable.",
140
311
  'mode.open': 'Open Worktree mode',
141
312
  'mode.exit': 'Exit Worktree mode',
142
313
  'mode.label': 'Worktree',
@@ -147,10 +318,12 @@ export const en = {
147
318
  'workspace.delete': 'Delete',
148
319
  'workspace.expand': 'Expand {name}',
149
320
  'workspace.collapse': 'Collapse {name}',
321
+ 'workspace.collapseAll': 'Collapse All',
150
322
  'workspace.options': 'Workspace options for {name}',
151
323
  'workspace.addWorktree': 'Add Worktree to {name}',
152
324
  'workspace.add': 'Add Workspace',
153
325
  'workspace.search': 'Search Workspaces and Sessions',
326
+ 'search.clear': 'Clear search',
154
327
  'workspace.noMatches': 'No matching Workspaces',
155
328
  'workspace.renameTitle': 'Rename Workspace',
156
329
  'workspace.name': 'Workspace name',
@@ -162,23 +335,47 @@ export const en = {
162
335
  'worktree.mainWithBranch': 'Local ({branch})',
163
336
  'worktree.detached': 'Detached Worktree',
164
337
  'worktree.repair': 'Worktree needs repair',
338
+ 'worktree.repairGuidance': 'Check the directory, .git entry, and Git Worktree registration at this path. Restore a moved directory to its original path. If it still exists but Git links are broken, run git worktree repair there and refresh. If it was deleted and is no longer needed, archive it, then use Clean Disk to reconcile removal or Remove from Management.',
339
+ 'worktree.recoveryGuidance': 'A previous operation is incomplete, or the directory and repository identity could not be verified. Check that the original directory and repository are accessible, then choose Retry Recovery from this Worktree menu. If it still fails, keep the error details for diagnosis; do not delete the plugin index manually.',
340
+ 'worktree.branchDriftGuidance': 'The current branch differs from the recorded branch. If intentional, choose Adopt Current Branch from this Worktree menu; otherwise switch back in Git and refresh. Session bindings and working directories are preserved.',
341
+ 'worktree.detachedGuidance': 'This directory has a detached HEAD. Switch to the intended local branch in Git and refresh, then choose Adopt Current Branch if it differs from the recorded branch.',
342
+ 'notice.details': 'Notification details and recovery',
165
343
  'worktree.recovery': 'Worktree requires recovery',
166
344
  'worktree.ready': 'Active Worktree ready',
345
+ 'worktree.branchDrift': 'Git branch changed',
346
+ 'worktree.detachedHead': 'Detached HEAD',
347
+ 'worktree.adoptBranch': 'Adopt current branch',
348
+ 'worktree.retryRecovery': 'Retry recovery',
349
+ 'worktree.adoptDescription': 'Update the recorded branch from “{previous}” to “{current}”? Only the plugin index changes; Session bindings and disk files are preserved.',
350
+ 'worktree.adoptBeforeClean': 'Adopt the current branch first; for detached HEAD, check out a branch in Git first.',
351
+ 'worktree.cleaned': 'Worktree removed',
352
+ 'worktree.archivedGroup': 'Archived',
353
+ 'worktree.cleanDisk': 'Clean Up Disk',
354
+ 'worktree.cleanDiskTitle': 'Clean Up Worktree Disk',
355
+ 'worktree.cleanDiskDescription': 'Delete {name} ({path}) from disk? This operation cannot be undone. The plugin does not check whether Sessions or subagents are running. Confirm that all tasks using this directory have stopped; otherwise deletion may cause task failures or data loss. If the directory or .git is already absent, only the Worktree removal status is synchronized; remaining files are not deleted. Linked Sessions and history are preserved.',
356
+ 'worktree.forget': 'Remove from Management',
357
+ 'worktree.forgetTitle': 'Remove from Management',
358
+ 'worktree.forgetDescription': 'Remove {name} from Worktree plugin management? Disk directories and Sessions in DSH will be retained.',
167
359
  'worktree.expand': 'Expand {name}',
168
360
  'worktree.collapse': 'Collapse {name}',
169
361
  'worktree.options': 'Worktree options for {name}',
170
362
  'worktree.copyPath': 'Copy path',
171
363
  'worktree.createNew': 'Create new Worktree',
172
- 'worktree.remove': 'Remove Worktree',
173
- 'worktree.removeDescription': 'Remove {name}? Sessions stay in DSH and remain available as detached bindings.',
174
- 'worktree.removeExternalDescription': 'Remove {name}? This deletes the linked external Worktree directory. Sessions stay in DSH and remain available as detached bindings.',
364
+ 'worktree.archive': 'Archive Worktree',
365
+ 'worktree.archiveDescription': 'Archive {name}? It moves to the Archived group. Disk files, Session bindings, and working directories are preserved; existing Sessions remain usable. Deleting the directory requires the separate Clean Disk action.',
366
+ 'worktree.unarchive': 'Unarchive Worktree',
367
+ 'worktree.unarchiveDisabledRepair': 'Cannot unarchive because directory or Git registration is abnormal',
368
+ 'worktree.archiveExternalDescription': 'Archive {name}? It moves to the Archived group. The external directory, Session bindings, and working directories are preserved; existing Sessions remain usable. Deleting the directory requires the separate Clean Disk action.',
369
+ 'worktree.remove': 'Archive Worktree',
370
+ 'worktree.removeDescription': 'Archive {name}? The directory, Session bindings, and working directories are preserved. Deleting the directory requires the separate Clean Disk action.',
371
+ 'worktree.removeExternalDescription': 'Archive {name}? The external directory, Session bindings, and working directories are preserved. Deleting the directory requires the separate Clean Disk action.',
175
372
  'worktree.addSession': 'Add Session to {name}',
176
373
  'worktree.noWorktrees': 'No Worktrees',
177
374
  'worktree.createTitle': 'New Worktree',
178
375
  'worktree.createDescription': '{name} · the Worktree path is managed by DSH.',
179
376
  'worktree.tabCreate': 'Create',
180
377
  'worktree.tabImport': 'Import',
181
- 'worktree.importDescription': 'Register an existing Worktree for {name}. Registration leaves the directory in place; removing it later deletes the linked Worktree directory.',
378
+ 'worktree.importDescription': 'Register an existing Worktree for {name}. Registration and archiving preserve the directory; only a separately confirmed Clean Disk action deletes it.',
182
379
  'worktree.importLoading': 'Finding importable Worktrees…',
183
380
  'worktree.importEmpty': 'No importable Worktrees found.',
184
381
  'worktree.importPlaceholder': 'Select a Worktree to import',
@@ -224,7 +421,12 @@ export const en = {
224
421
  'dialog.closeWorkspaceRename': 'Close Rename Workspace dialog',
225
422
  'dialog.closeWorkspaceDelete': 'Close Delete Workspace dialog',
226
423
  'dialog.closeWorktreeCreate': 'Close Create Worktree dialog',
227
- 'dialog.closeWorktreeRemove': 'Close Remove Worktree dialog',
424
+ 'dialog.closeWorktreeArchive': 'Close Archive Worktree dialog',
425
+ 'dialog.closeWorktreeRemove': 'Close Archive Worktree dialog',
426
+ 'dialog.closeWorktreeCleanDisk': 'Close Clean Up Worktree Disk dialog',
427
+ 'dialog.closeWorktreeForget': 'Close Remove from Management dialog',
428
+ 'dialog.cleanDisk': 'Clean Up Disk',
429
+ 'dialog.forget': 'Remove from Management',
228
430
  'dialog.cancel': 'Cancel',
229
431
  'dialog.rename': 'Rename',
230
432
  'dialog.delete': 'Delete',
@@ -257,6 +459,8 @@ export const en = {
257
459
  'error.worktreeStateConflict': 'The Worktree state changed; refresh and retry the request.',
258
460
  'error.worktreeRecoveryRequired': 'Worktree state requires recovery; resolve it before retrying destructive actions.',
259
461
  'error.worktreeIdentityChanged': 'The Worktree or repository identity changed; recovery is required before acting.',
462
+ 'error.worktreeSessionBusy': 'Linked Session activity is still running; operation rejected.',
463
+ 'error.worktreeActivityUnavailable': 'Unable to verify linked Session activity; operation rejected.',
260
464
  'error.worktreeRegistrationSessionUnavailable': 'The Worktree was registered, but Session creation is unavailable; retry after reconnecting.',
261
465
  'error.workspaceRenameUnavailable': 'Workspace rename is unavailable; retry after reconnecting.',
262
466
  'error.workspaceDeleteUnavailable': 'Workspace delete is unavailable; retry after reconnecting.',