@cerbur/clutch-dsh-worktree 0.1.17 → 0.1.18

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 (177) hide show
  1. package/README.md +105 -33
  2. package/README.zh.md +92 -29
  3. package/lib/client/WorktreeSurface.d.ts.map +1 -1
  4. package/lib/client/WorktreeSurface.js +37 -10
  5. package/lib/client/WorktreeSurface.js.map +1 -1
  6. package/lib/client/branch/GitBranchSelector.d.ts +23 -0
  7. package/lib/client/branch/GitBranchSelector.d.ts.map +1 -0
  8. package/lib/client/branch/GitBranchSelector.js +142 -0
  9. package/lib/client/branch/GitBranchSelector.js.map +1 -0
  10. package/lib/client/context/worktree-context-store.d.ts.map +1 -1
  11. package/lib/client/context/worktree-context-store.js +1 -0
  12. package/lib/client/context/worktree-context-store.js.map +1 -1
  13. package/lib/client/context/worktree-context.d.ts +3 -2
  14. package/lib/client/context/worktree-context.d.ts.map +1 -1
  15. package/lib/client/context/worktree-context.js +5 -3
  16. package/lib/client/context/worktree-context.js.map +1 -1
  17. package/lib/client/dashboard/WorktreeDashboard.d.ts +4 -1
  18. package/lib/client/dashboard/WorktreeDashboard.d.ts.map +1 -1
  19. package/lib/client/dashboard/WorktreeDashboard.js +67 -69
  20. package/lib/client/dashboard/WorktreeDashboard.js.map +1 -1
  21. package/lib/client/dashboard/dashboard-selection.d.ts +4 -3
  22. package/lib/client/dashboard/dashboard-selection.d.ts.map +1 -1
  23. package/lib/client/dashboard/dashboard-selection.js +6 -4
  24. package/lib/client/dashboard/dashboard-selection.js.map +1 -1
  25. package/lib/client/dashboard/git/GitChangedFiles.d.ts +2 -1
  26. package/lib/client/dashboard/git/GitChangedFiles.d.ts.map +1 -1
  27. package/lib/client/dashboard/git/GitChangedFiles.js +8 -6
  28. package/lib/client/dashboard/git/GitChangedFiles.js.map +1 -1
  29. package/lib/client/dashboard/git/GitCommitList.d.ts +6 -1
  30. package/lib/client/dashboard/git/GitCommitList.d.ts.map +1 -1
  31. package/lib/client/dashboard/git/GitCommitList.js +34 -29
  32. package/lib/client/dashboard/git/GitCommitList.js.map +1 -1
  33. package/lib/client/dashboard/git/GitCommitStats.d.ts +8 -0
  34. package/lib/client/dashboard/git/GitCommitStats.d.ts.map +1 -0
  35. package/lib/client/dashboard/git/GitCommitStats.js +7 -0
  36. package/lib/client/dashboard/git/GitCommitStats.js.map +1 -0
  37. package/lib/client/dashboard/git/WorktreeGitOverview.d.ts.map +1 -1
  38. package/lib/client/dashboard/git/WorktreeGitOverview.js +2 -1
  39. package/lib/client/dashboard/git/WorktreeGitOverview.js.map +1 -1
  40. package/lib/client/dashboard/git/WorktreeGitPanel.d.ts +1 -1
  41. package/lib/client/dashboard/git/WorktreeGitPanel.d.ts.map +1 -1
  42. package/lib/client/dashboard/git/WorktreeGitPanel.js +28 -9
  43. package/lib/client/dashboard/git/WorktreeGitPanel.js.map +1 -1
  44. package/lib/client/dashboard/git/file-address.d.ts +5 -2
  45. package/lib/client/dashboard/git/file-address.d.ts.map +1 -1
  46. package/lib/client/dashboard/git/file-address.js +50 -7
  47. package/lib/client/dashboard/git/file-address.js.map +1 -1
  48. package/lib/client/dashboard/git/git-facts.js +1 -1
  49. package/lib/client/dashboard/git/git-facts.js.map +1 -1
  50. package/lib/client/dashboard/git/useWorktreeGitState.d.ts +7 -2
  51. package/lib/client/dashboard/git/useWorktreeGitState.d.ts.map +1 -1
  52. package/lib/client/dashboard/git/useWorktreeGitState.js +84 -21
  53. package/lib/client/dashboard/git/useWorktreeGitState.js.map +1 -1
  54. package/lib/client/dsh-icons.d.ts +2 -0
  55. package/lib/client/dsh-icons.d.ts.map +1 -1
  56. package/lib/client/dsh-icons.js +2 -0
  57. package/lib/client/dsh-icons.js.map +1 -1
  58. package/lib/client/locales.d.ts +40 -2
  59. package/lib/client/locales.d.ts.map +1 -1
  60. package/lib/client/locales.js +46 -8
  61. package/lib/client/locales.js.map +1 -1
  62. package/lib/client/select/SearchableSingleSelect.d.ts +44 -0
  63. package/lib/client/select/SearchableSingleSelect.d.ts.map +1 -0
  64. package/lib/client/select/SearchableSingleSelect.js +180 -0
  65. package/lib/client/select/SearchableSingleSelect.js.map +1 -0
  66. package/lib/client/select/WorktreeSelector.d.ts +14 -0
  67. package/lib/client/select/WorktreeSelector.d.ts.map +1 -0
  68. package/lib/client/select/WorktreeSelector.js +11 -0
  69. package/lib/client/select/WorktreeSelector.js.map +1 -0
  70. package/lib/client/surface/actions/useLifecycleActions.js +1 -1
  71. package/lib/client/surface/actions/useLifecycleActions.js.map +1 -1
  72. package/lib/client/surface/actions/useWorktreeRegistration.d.ts +1 -1
  73. package/lib/client/surface/actions/useWorktreeRegistration.d.ts.map +1 -1
  74. package/lib/client/surface/actions/useWorktreeRegistration.js +32 -11
  75. package/lib/client/surface/actions/useWorktreeRegistration.js.map +1 -1
  76. package/lib/client/surface/components/RegistrationDialog.d.ts +3 -3
  77. package/lib/client/surface/components/RegistrationDialog.d.ts.map +1 -1
  78. package/lib/client/surface/components/RegistrationDialog.js +70 -5
  79. package/lib/client/surface/components/RegistrationDialog.js.map +1 -1
  80. package/lib/client/surface/components/WorkspaceTree.d.ts.map +1 -1
  81. package/lib/client/surface/components/WorkspaceTree.js +11 -8
  82. package/lib/client/surface/components/WorkspaceTree.js.map +1 -1
  83. package/lib/client/surface/components/dialogs.d.ts +1 -1
  84. package/lib/client/surface/components/dialogs.d.ts.map +1 -1
  85. package/lib/client/surface/components/dialogs.js +24 -15
  86. package/lib/client/surface/components/dialogs.js.map +1 -1
  87. package/lib/client/surface/state/useRegistrationState.d.ts +6 -1
  88. package/lib/client/surface/state/useRegistrationState.d.ts.map +1 -1
  89. package/lib/client/surface/state/useRegistrationState.js +7 -0
  90. package/lib/client/surface/state/useRegistrationState.js.map +1 -1
  91. package/lib/client/surface/types.d.ts +5 -1
  92. package/lib/client/surface/types.d.ts.map +1 -1
  93. package/lib/client/view/worktree-error-copy.d.ts.map +1 -1
  94. package/lib/client/view/worktree-error-copy.js +4 -0
  95. package/lib/client/view/worktree-error-copy.js.map +1 -1
  96. package/lib/client/view/worktree-view-read.d.ts +4 -2
  97. package/lib/client/view/worktree-view-read.d.ts.map +1 -1
  98. package/lib/client/view/worktree-view-read.js +34 -17
  99. package/lib/client/view/worktree-view-read.js.map +1 -1
  100. package/lib/client/worktree-connection.d.ts +3 -0
  101. package/lib/client/worktree-connection.d.ts.map +1 -1
  102. package/lib/client/worktree-connection.js +18 -1
  103. package/lib/client/worktree-connection.js.map +1 -1
  104. package/lib/client.js +1386 -434
  105. package/lib/client.js.map +1 -1
  106. package/lib/contract/index.contract.js +15 -0
  107. package/lib/contract/index.contract.js.map +1 -1
  108. package/lib/contract/index.d.ts +69 -12
  109. package/lib/contract/index.d.ts.map +1 -1
  110. package/lib/contract/index.js +3 -0
  111. package/lib/contract/index.js.map +1 -1
  112. package/lib/host/remote.d.ts.map +1 -1
  113. package/lib/host/remote.js +7 -0
  114. package/lib/host/remote.js.map +1 -1
  115. package/lib/host/service.d.ts +13 -6
  116. package/lib/host/service.d.ts.map +1 -1
  117. package/lib/host/service.js +18 -0
  118. package/lib/host/service.js.map +1 -1
  119. package/lib/manage/manager-git-history.d.ts +5 -7
  120. package/lib/manage/manager-git-history.d.ts.map +1 -1
  121. package/lib/manage/manager-git-history.js +158 -65
  122. package/lib/manage/manager-git-history.js.map +1 -1
  123. package/lib/manage/manager-git-paths.d.ts +7 -0
  124. package/lib/manage/manager-git-paths.d.ts.map +1 -0
  125. package/lib/manage/manager-git-paths.js +62 -0
  126. package/lib/manage/manager-git-paths.js.map +1 -0
  127. package/lib/manage/manager-worktrees.d.ts +9 -1
  128. package/lib/manage/manager-worktrees.d.ts.map +1 -1
  129. package/lib/manage/manager-worktrees.js +69 -14
  130. package/lib/manage/manager-worktrees.js.map +1 -1
  131. package/lib/manage/manager.d.ts +12 -5
  132. package/lib/manage/manager.d.ts.map +1 -1
  133. package/lib/manage/manager.js +64 -3
  134. package/lib/manage/manager.js.map +1 -1
  135. package/lib/provider/git/adapter.d.ts +13 -12
  136. package/lib/provider/git/adapter.d.ts.map +1 -1
  137. package/lib/provider/git/adapter.js +152 -29
  138. package/lib/provider/git/adapter.js.map +1 -1
  139. package/lib/provider/git/branch-name.d.ts +5 -0
  140. package/lib/provider/git/branch-name.d.ts.map +1 -0
  141. package/lib/provider/git/branch-name.js +16 -0
  142. package/lib/provider/git/branch-name.js.map +1 -0
  143. package/lib/provider/git/branches.d.ts +11 -0
  144. package/lib/provider/git/branches.d.ts.map +1 -0
  145. package/lib/provider/git/branches.js +37 -0
  146. package/lib/provider/git/branches.js.map +1 -0
  147. package/lib/provider/sidecar/repository.d.ts.map +1 -1
  148. package/lib/provider/sidecar/repository.js +2 -1
  149. package/lib/provider/sidecar/repository.js.map +1 -1
  150. package/lib/provider/sidecar/sidecar-schema.d.ts.map +1 -1
  151. package/lib/provider/sidecar/sidecar-schema.js +2 -0
  152. package/lib/provider/sidecar/sidecar-schema.js.map +1 -1
  153. package/lib/provider/transaction/operations/create.d.ts.map +1 -1
  154. package/lib/provider/transaction/operations/create.js +18 -6
  155. package/lib/provider/transaction/operations/create.js.map +1 -1
  156. package/lib/provider/transaction/recovery/failure-recovery.d.ts.map +1 -1
  157. package/lib/provider/transaction/recovery/failure-recovery.js +3 -2
  158. package/lib/provider/transaction/recovery/failure-recovery.js.map +1 -1
  159. package/lib/provider/transaction/recovery/recover.d.ts.map +1 -1
  160. package/lib/provider/transaction/recovery/recover.js +8 -5
  161. package/lib/provider/transaction/recovery/recover.js.map +1 -1
  162. package/lib/provider/transaction/support/journal.d.ts.map +1 -1
  163. package/lib/provider/transaction/support/journal.js +1 -0
  164. package/lib/provider/transaction/support/journal.js.map +1 -1
  165. package/lib/provider/types.d.ts +24 -4
  166. package/lib/provider/types.d.ts.map +1 -1
  167. package/lib/provider/types.js.map +1 -1
  168. package/lib/tool/list-worktrees.d.ts.map +1 -1
  169. package/lib/tool/list-worktrees.js +9 -2
  170. package/lib/tool/list-worktrees.js.map +1 -1
  171. package/lib/tool/new-worktree.js +2 -2
  172. package/lib/tool/new-worktree.js.map +1 -1
  173. package/lib/typert.host.js +216 -46
  174. package/lib/typert.remote-client.d.ts +11 -5
  175. package/lib/typert.remote-client.d.ts.map +1 -1
  176. package/lib/typert.remote-client.js +216 -46
  177. package/package.json +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerbur/clutch-dsh-worktree",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Adds a Worktree view to DSH Web UI that groups Sessions by Git worktree while keeping DSH as the source of truth.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -149,9 +149,11 @@
149
149
  "@types/node": "^22.15.3",
150
150
  "@types/react": "~18.3.1",
151
151
  "@types/react-dom": "~18.3.1",
152
+ "immer": "^10.1.1",
152
153
  "react": "^18.2.0",
153
154
  "react-dom": "^18.2.0",
154
155
  "semver": "7.8.5",
155
- "tsdown": "0.22.2"
156
+ "tsdown": "0.22.2",
157
+ "zustand": "~4.4.7"
156
158
  }
157
159
  }