@cerbur/clutch-dsh-worktree 0.1.16 → 0.1.17
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.
- package/README.md +214 -15
- package/README.zh.md +175 -12
- package/assets/screenshots/screenshots-dashboard.png +0 -0
- package/assets/screenshots/screenshots-en.png +0 -0
- package/assets/screenshots/screenshots-git-reviewer.png +0 -0
- package/assets/screenshots/screenshots-import.png +0 -0
- package/assets/screenshots/screenshots-worktree-tool.png +0 -0
- package/assets/screenshots/screenshots-zh.png +0 -0
- package/cordis.patch.yml +6 -19
- package/lib/client/WorktreeSurface.d.ts.map +1 -1
- package/lib/client/WorktreeSurface.js +5 -4
- package/lib/client/WorktreeSurface.js.map +1 -1
- package/lib/client/command-activity.d.ts +11 -0
- package/lib/client/command-activity.d.ts.map +1 -0
- package/lib/client/command-activity.js +71 -0
- package/lib/client/command-activity.js.map +1 -0
- package/lib/client/dashboard/DashboardRequest.d.ts +2 -1
- package/lib/client/dashboard/DashboardRequest.d.ts.map +1 -1
- package/lib/client/dashboard/DashboardRequest.js +3 -3
- package/lib/client/dashboard/DashboardRequest.js.map +1 -1
- package/lib/client/dashboard/WorktreeDashboard.d.ts +2 -1
- package/lib/client/dashboard/WorktreeDashboard.d.ts.map +1 -1
- package/lib/client/dashboard/WorktreeDashboard.js +48 -24
- package/lib/client/dashboard/WorktreeDashboard.js.map +1 -1
- package/lib/client/dashboard/WorktreeInstructions.d.ts +2 -1
- package/lib/client/dashboard/WorktreeInstructions.d.ts.map +1 -1
- package/lib/client/dashboard/WorktreeInstructions.js +27 -8
- package/lib/client/dashboard/WorktreeInstructions.js.map +1 -1
- package/lib/client/dashboard/dashboard-overlay.d.ts.map +1 -1
- package/lib/client/dashboard/dashboard-overlay.js +38 -52
- package/lib/client/dashboard/dashboard-overlay.js.map +1 -1
- package/lib/client/dashboard/dashboard-selection.d.ts +1 -0
- package/lib/client/dashboard/dashboard-selection.d.ts.map +1 -1
- package/lib/client/dashboard/dashboard-selection.js.map +1 -1
- package/lib/client/dashboard/git/WorktreeGitPanel.d.ts +2 -1
- package/lib/client/dashboard/git/WorktreeGitPanel.d.ts.map +1 -1
- package/lib/client/dashboard/git/WorktreeGitPanel.js +54 -8
- package/lib/client/dashboard/git/WorktreeGitPanel.js.map +1 -1
- package/lib/client/dashboard/git/file-address.d.ts +2 -1
- package/lib/client/dashboard/git/file-address.d.ts.map +1 -1
- package/lib/client/dashboard/git/file-address.js +8 -13
- package/lib/client/dashboard/git/file-address.js.map +1 -1
- package/lib/client/dashboard/git/useWorktreeGitState.d.ts.map +1 -1
- package/lib/client/dashboard/git/useWorktreeGitState.js +4 -1
- package/lib/client/dashboard/git/useWorktreeGitState.js.map +1 -1
- package/lib/client/dsh-icons.d.ts +2 -0
- package/lib/client/dsh-icons.d.ts.map +1 -1
- package/lib/client/dsh-icons.js +3 -1
- package/lib/client/dsh-icons.js.map +1 -1
- package/lib/client/dsh-slot-contract.d.ts +9 -1
- package/lib/client/dsh-slot-contract.d.ts.map +1 -1
- package/lib/client/entry.d.ts.map +1 -1
- package/lib/client/entry.js +39 -2
- package/lib/client/entry.js.map +1 -1
- package/lib/client/layout/app-frame.d.ts +12 -0
- package/lib/client/layout/app-frame.d.ts.map +1 -0
- package/lib/client/layout/app-frame.js +82 -0
- package/lib/client/layout/app-frame.js.map +1 -0
- package/lib/client/locales.d.ts +144 -0
- package/lib/client/locales.d.ts.map +1 -1
- package/lib/client/locales.js +204 -60
- package/lib/client/locales.js.map +1 -1
- package/lib/client/overlay/overlay-bounds.d.ts.map +1 -1
- package/lib/client/overlay/overlay-bounds.js +8 -3
- package/lib/client/overlay/overlay-bounds.js.map +1 -1
- package/lib/client/overlay/sidebar-overlay-geometry.d.ts +3 -1
- package/lib/client/overlay/sidebar-overlay-geometry.d.ts.map +1 -1
- package/lib/client/overlay/sidebar-overlay-geometry.js +94 -34
- package/lib/client/overlay/sidebar-overlay-geometry.js.map +1 -1
- package/lib/client/restart-notice.d.ts +10 -3
- package/lib/client/restart-notice.d.ts.map +1 -1
- package/lib/client/restart-notice.js +44 -11
- package/lib/client/restart-notice.js.map +1 -1
- package/lib/client/session/session-view.d.ts +16 -2
- package/lib/client/session/session-view.d.ts.map +1 -1
- package/lib/client/session/session-view.js +24 -10
- package/lib/client/session/session-view.js.map +1 -1
- package/lib/client/session/worktree-session.d.ts +1 -0
- package/lib/client/session/worktree-session.d.ts.map +1 -1
- package/lib/client/session/worktree-session.js +3 -1
- package/lib/client/session/worktree-session.js.map +1 -1
- package/lib/client/settings/ToolSettings.d.ts +9 -0
- package/lib/client/settings/ToolSettings.d.ts.map +1 -0
- package/lib/client/settings/ToolSettings.js +77 -0
- package/lib/client/settings/ToolSettings.js.map +1 -0
- package/lib/client/settings/WorktreeSettings.d.ts +8 -0
- package/lib/client/settings/WorktreeSettings.d.ts.map +1 -0
- package/lib/client/settings/WorktreeSettings.js +46 -0
- package/lib/client/settings/WorktreeSettings.js.map +1 -0
- package/lib/client/settings/WorktreeSettingsNavIcon.d.ts +6 -0
- package/lib/client/settings/WorktreeSettingsNavIcon.d.ts.map +1 -0
- package/lib/client/settings/WorktreeSettingsNavIcon.js +51 -0
- package/lib/client/settings/WorktreeSettingsNavIcon.js.map +1 -0
- package/lib/client/settings/diagnostics.d.ts +24 -0
- package/lib/client/settings/diagnostics.d.ts.map +1 -0
- package/lib/client/settings/diagnostics.js +63 -0
- package/lib/client/settings/diagnostics.js.map +1 -0
- package/lib/client/settings/settings-navigation.d.ts +7 -0
- package/lib/client/settings/settings-navigation.d.ts.map +1 -0
- package/lib/client/settings/settings-navigation.js +12 -0
- package/lib/client/settings/settings-navigation.js.map +1 -0
- package/lib/client/surface/actions/useLifecycleActions.d.ts +2 -1
- package/lib/client/surface/actions/useLifecycleActions.d.ts.map +1 -1
- package/lib/client/surface/actions/useLifecycleActions.js +14 -5
- package/lib/client/surface/actions/useLifecycleActions.js.map +1 -1
- package/lib/client/surface/actions/useSessionActions.d.ts.map +1 -1
- package/lib/client/surface/actions/useSessionActions.js +6 -6
- package/lib/client/surface/actions/useSessionActions.js.map +1 -1
- package/lib/client/surface/actions/useWorktreeRegistration.d.ts.map +1 -1
- package/lib/client/surface/actions/useWorktreeRegistration.js +4 -2
- package/lib/client/surface/actions/useWorktreeRegistration.js.map +1 -1
- package/lib/client/surface/components/NotificationToasts.d.ts +19 -3
- package/lib/client/surface/components/NotificationToasts.d.ts.map +1 -1
- package/lib/client/surface/components/NotificationToasts.js +73 -7
- package/lib/client/surface/components/NotificationToasts.js.map +1 -1
- package/lib/client/surface/components/OverlayScrollbar.d.ts +6 -0
- package/lib/client/surface/components/OverlayScrollbar.d.ts.map +1 -0
- package/lib/client/surface/components/OverlayScrollbar.js +84 -0
- package/lib/client/surface/components/OverlayScrollbar.js.map +1 -0
- package/lib/client/surface/components/RestartToast.d.ts.map +1 -1
- package/lib/client/surface/components/RestartToast.js +4 -3
- package/lib/client/surface/components/RestartToast.js.map +1 -1
- package/lib/client/surface/components/SurfaceContent.d.ts.map +1 -1
- package/lib/client/surface/components/SurfaceContent.js +110 -39
- package/lib/client/surface/components/SurfaceContent.js.map +1 -1
- package/lib/client/surface/components/WorkspaceTree.d.ts.map +1 -1
- package/lib/client/surface/components/WorkspaceTree.js +2 -1
- package/lib/client/surface/components/WorkspaceTree.js.map +1 -1
- package/lib/client/surface/components/dialogs.d.ts.map +1 -1
- package/lib/client/surface/components/dialogs.js +14 -10
- package/lib/client/surface/components/dialogs.js.map +1 -1
- package/lib/client/surface/components/rows.d.ts +1 -1
- package/lib/client/surface/components/rows.d.ts.map +1 -1
- package/lib/client/surface/components/rows.js +15 -97
- package/lib/client/surface/components/rows.js.map +1 -1
- package/lib/client/surface/notification-queue.d.ts +15 -0
- package/lib/client/surface/notification-queue.d.ts.map +1 -1
- package/lib/client/surface/notification-queue.js +13 -2
- package/lib/client/surface/notification-queue.js.map +1 -1
- package/lib/client/surface/state/useSurfaceRefresh.d.ts +1 -1
- package/lib/client/surface/state/useSurfaceRefresh.d.ts.map +1 -1
- package/lib/client/surface/state/useSurfaceRefresh.js +13 -1
- package/lib/client/surface/state/useSurfaceRefresh.js.map +1 -1
- package/lib/client/surface/state/useSurfaceSources.d.ts +1 -1
- package/lib/client/surface/state/useSurfaceSources.d.ts.map +1 -1
- package/lib/client/surface/state/useSurfaceSources.js +4 -2
- package/lib/client/surface/state/useSurfaceSources.js.map +1 -1
- package/lib/client/surface/state/useTitleMarquee.d.ts +7 -0
- package/lib/client/surface/state/useTitleMarquee.d.ts.map +1 -0
- package/lib/client/surface/state/useTitleMarquee.js +60 -0
- package/lib/client/surface/state/useTitleMarquee.js.map +1 -0
- package/lib/client/surface/types.d.ts +8 -1
- package/lib/client/surface/types.d.ts.map +1 -1
- package/lib/client/view/worktree-error-copy.d.ts.map +1 -1
- package/lib/client/view/worktree-error-copy.js +69 -14
- package/lib/client/view/worktree-error-copy.js.map +1 -1
- package/lib/client/view/worktree-view-errors.d.ts.map +1 -1
- package/lib/client/view/worktree-view-errors.js +13 -5
- package/lib/client/view/worktree-view-errors.js.map +1 -1
- package/lib/client/worktree-connection.d.ts +6 -2
- package/lib/client/worktree-connection.d.ts.map +1 -1
- package/lib/client/worktree-connection.js +6 -0
- package/lib/client/worktree-connection.js.map +1 -1
- package/lib/client/worktree-tool-changes.d.ts +13 -0
- package/lib/client/worktree-tool-changes.d.ts.map +1 -0
- package/lib/client/worktree-tool-changes.js +64 -0
- package/lib/client/worktree-tool-changes.js.map +1 -0
- package/lib/client.js +2188 -947
- package/lib/client.js.map +1 -1
- package/lib/contract/index.d.ts +11 -1
- package/lib/contract/index.d.ts.map +1 -1
- package/lib/contract/index.js +9 -0
- package/lib/contract/index.js.map +1 -1
- package/lib/contract/tool-settings.d.ts +28 -0
- package/lib/contract/tool-settings.d.ts.map +1 -0
- package/lib/contract/tool-settings.js +10 -0
- package/lib/contract/tool-settings.js.map +1 -0
- package/lib/contract/worktree-tool-changes.d.ts +10 -0
- package/lib/contract/worktree-tool-changes.d.ts.map +1 -0
- package/lib/contract/worktree-tool-changes.js +2 -0
- package/lib/contract/worktree-tool-changes.js.map +1 -0
- package/lib/host/permission-preset-append.d.ts +15 -0
- package/lib/host/permission-preset-append.d.ts.map +1 -0
- package/lib/host/permission-preset-append.js +63 -0
- package/lib/host/permission-preset-append.js.map +1 -0
- package/lib/host/service.d.ts +17 -0
- package/lib/host/service.d.ts.map +1 -1
- package/lib/host/service.js +67 -11
- package/lib/host/service.js.map +1 -1
- package/lib/host/tool-settings.d.ts +14 -0
- package/lib/host/tool-settings.d.ts.map +1 -0
- package/lib/host/tool-settings.js +98 -0
- package/lib/host/tool-settings.js.map +1 -0
- package/lib/host/worktree-permission-manager.d.ts.map +1 -1
- package/lib/host/worktree-permission-manager.js +2 -4
- package/lib/host/worktree-permission-manager.js.map +1 -1
- package/lib/host/worktree-tool-changes.d.ts +12 -0
- package/lib/host/worktree-tool-changes.d.ts.map +1 -0
- package/lib/host/worktree-tool-changes.js +60 -0
- package/lib/host/worktree-tool-changes.js.map +1 -0
- package/lib/manage/manager-git-history.d.ts.map +1 -1
- package/lib/manage/manager-git-history.js +29 -28
- package/lib/manage/manager-git-history.js.map +1 -1
- package/lib/manage/manager-sessions.d.ts +5 -0
- package/lib/manage/manager-sessions.d.ts.map +1 -1
- package/lib/manage/manager-sessions.js +34 -11
- package/lib/manage/manager-sessions.js.map +1 -1
- package/lib/manage/manager-support.d.ts +3 -1
- package/lib/manage/manager-support.d.ts.map +1 -1
- package/lib/manage/manager-support.js +17 -0
- package/lib/manage/manager-support.js.map +1 -1
- package/lib/manage/manager-worktree-lifecycle.d.ts.map +1 -1
- package/lib/manage/manager-worktree-lifecycle.js +5 -4
- package/lib/manage/manager-worktree-lifecycle.js.map +1 -1
- package/lib/manage/manager-worktrees.d.ts +1 -0
- package/lib/manage/manager-worktrees.d.ts.map +1 -1
- package/lib/manage/manager-worktrees.js +74 -22
- package/lib/manage/manager-worktrees.js.map +1 -1
- package/lib/manage/manager.d.ts +10 -0
- package/lib/manage/manager.d.ts.map +1 -1
- package/lib/manage/manager.js +12 -1
- package/lib/manage/manager.js.map +1 -1
- package/lib/manage/types.d.ts +10 -1
- package/lib/manage/types.d.ts.map +1 -1
- package/lib/provider/generated-name.d.ts.map +1 -1
- package/lib/provider/generated-name.js +5 -4
- package/lib/provider/generated-name.js.map +1 -1
- package/lib/provider/git/adapter.d.ts.map +1 -1
- package/lib/provider/git/adapter.js +5 -2
- package/lib/provider/git/adapter.js.map +1 -1
- package/lib/provider/mutation-token.d.ts +1 -1
- package/lib/provider/mutation-token.d.ts.map +1 -1
- package/lib/provider/mutation-token.js +1 -0
- package/lib/provider/mutation-token.js.map +1 -1
- package/lib/provider/sidecar/repository.d.ts.map +1 -1
- package/lib/provider/sidecar/repository.js +1 -0
- package/lib/provider/sidecar/repository.js.map +1 -1
- package/lib/provider/sidecar/sidecar-schema.d.ts.map +1 -1
- package/lib/provider/sidecar/sidecar-schema.js +24 -4
- package/lib/provider/sidecar/sidecar-schema.js.map +1 -1
- package/lib/provider/transaction/operations/adopt-branch.d.ts.map +1 -1
- package/lib/provider/transaction/operations/adopt-branch.js +6 -5
- package/lib/provider/transaction/operations/adopt-branch.js.map +1 -1
- package/lib/provider/transaction/operations/clean.d.ts.map +1 -1
- package/lib/provider/transaction/operations/clean.js +20 -19
- package/lib/provider/transaction/operations/clean.js.map +1 -1
- package/lib/provider/transaction/operations/create.d.ts +1 -1
- package/lib/provider/transaction/operations/create.d.ts.map +1 -1
- package/lib/provider/transaction/operations/create.js +23 -13
- package/lib/provider/transaction/operations/create.js.map +1 -1
- package/lib/provider/transaction/operations/import.d.ts.map +1 -1
- package/lib/provider/transaction/operations/import.js +7 -1
- package/lib/provider/transaction/operations/import.js.map +1 -1
- package/lib/provider/transaction/operations/remove.d.ts.map +1 -1
- package/lib/provider/transaction/operations/remove.js +20 -19
- package/lib/provider/transaction/operations/remove.js.map +1 -1
- package/lib/provider/transaction/recovery/failure-recovery.d.ts.map +1 -1
- package/lib/provider/transaction/recovery/failure-recovery.js +19 -18
- package/lib/provider/transaction/recovery/failure-recovery.js.map +1 -1
- package/lib/provider/transaction/recovery/recover.d.ts.map +1 -1
- package/lib/provider/transaction/recovery/recover.js +6 -2
- package/lib/provider/transaction/recovery/recover.js.map +1 -1
- package/lib/provider/transaction/support/inspection.d.ts.map +1 -1
- package/lib/provider/transaction/support/inspection.js +3 -2
- package/lib/provider/transaction/support/inspection.js.map +1 -1
- package/lib/provider/transaction/support/journal.d.ts.map +1 -1
- package/lib/provider/transaction/support/journal.js +8 -5
- package/lib/provider/transaction/support/journal.js.map +1 -1
- package/lib/provider/transaction/support/path-safety.d.ts.map +1 -1
- package/lib/provider/transaction/support/path-safety.js +4 -3
- package/lib/provider/transaction/support/path-safety.js.map +1 -1
- package/lib/provider/transaction/types.d.ts +2 -1
- package/lib/provider/transaction/types.d.ts.map +1 -1
- package/lib/provider/types.d.ts +3 -1
- package/lib/provider/types.d.ts.map +1 -1
- package/lib/provider/types.js +1 -1
- package/lib/provider/types.js.map +1 -1
- package/lib/provider/worktree-path.d.ts +10 -0
- package/lib/provider/worktree-path.d.ts.map +1 -0
- package/lib/provider/worktree-path.js +47 -0
- package/lib/provider/worktree-path.js.map +1 -0
- package/lib/tool/context.d.ts +14 -0
- package/lib/tool/context.d.ts.map +1 -0
- package/lib/tool/context.js +95 -0
- package/lib/tool/context.js.map +1 -0
- package/lib/tool/delegation.d.ts +41 -0
- package/lib/tool/delegation.d.ts.map +1 -0
- package/lib/tool/delegation.js +196 -0
- package/lib/tool/delegation.js.map +1 -0
- package/lib/tool/errors.d.ts +3 -0
- package/lib/tool/errors.d.ts.map +1 -0
- package/lib/tool/errors.js +63 -0
- package/lib/tool/errors.js.map +1 -0
- package/lib/tool/guidance.d.ts +5 -0
- package/lib/tool/guidance.d.ts.map +1 -0
- package/lib/tool/guidance.js +48 -0
- package/lib/tool/guidance.js.map +1 -0
- package/lib/tool/history.d.ts +27 -0
- package/lib/tool/history.d.ts.map +1 -0
- package/lib/tool/history.js +157 -0
- package/lib/tool/history.js.map +1 -0
- package/lib/tool/index.d.ts +8 -0
- package/lib/tool/index.d.ts.map +1 -0
- package/lib/tool/index.js +296 -0
- package/lib/tool/index.js.map +1 -0
- package/lib/tool/inputs.d.ts +12 -0
- package/lib/tool/inputs.d.ts.map +1 -0
- package/lib/tool/inputs.js +24 -0
- package/lib/tool/inputs.js.map +1 -0
- package/lib/tool/list-models.d.ts +3 -0
- package/lib/tool/list-models.d.ts.map +1 -0
- package/lib/tool/list-models.js +38 -0
- package/lib/tool/list-models.js.map +1 -0
- package/lib/tool/list-sessions.d.ts +3 -0
- package/lib/tool/list-sessions.d.ts.map +1 -0
- package/lib/tool/list-sessions.js +70 -0
- package/lib/tool/list-sessions.js.map +1 -0
- package/lib/tool/list-worktrees.d.ts +3 -0
- package/lib/tool/list-worktrees.d.ts.map +1 -0
- package/lib/tool/list-worktrees.js +39 -0
- package/lib/tool/list-worktrees.js.map +1 -0
- package/lib/tool/native-session.d.ts +74 -0
- package/lib/tool/native-session.d.ts.map +1 -0
- package/lib/tool/native-session.js +248 -0
- package/lib/tool/native-session.js.map +1 -0
- package/lib/tool/new-worktree.d.ts +3 -0
- package/lib/tool/new-worktree.d.ts.map +1 -0
- package/lib/tool/new-worktree.js +81 -0
- package/lib/tool/new-worktree.js.map +1 -0
- package/lib/tool/outputs.d.ts +50 -0
- package/lib/tool/outputs.d.ts.map +1 -0
- package/lib/tool/outputs.js +65 -0
- package/lib/tool/outputs.js.map +1 -0
- package/lib/tool/report-result.d.ts +3 -0
- package/lib/tool/report-result.d.ts.map +1 -0
- package/lib/tool/report-result.js +83 -0
- package/lib/tool/report-result.js.map +1 -0
- package/lib/tool/schema.d.ts +7 -0
- package/lib/tool/schema.d.ts.map +1 -0
- package/lib/tool/schema.js +92 -0
- package/lib/tool/schema.js.map +1 -0
- package/lib/tool/send-message.d.ts +3 -0
- package/lib/tool/send-message.d.ts.map +1 -0
- package/lib/tool/send-message.js +64 -0
- package/lib/tool/send-message.js.map +1 -0
- package/lib/tool/span-worktree.d.ts +3 -0
- package/lib/tool/span-worktree.d.ts.map +1 -0
- package/lib/tool/span-worktree.js +114 -0
- package/lib/tool/span-worktree.js.map +1 -0
- package/lib/tool/types.d.ts +54 -0
- package/lib/tool/types.d.ts.map +1 -0
- package/lib/tool/types.js +2 -0
- package/lib/tool/types.js.map +1 -0
- package/lib/typert.host.js +215 -44
- package/lib/typert.remote-client.d.ts +7 -1
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +215 -44
- package/package.json +14 -2
package/lib/client/locales.d.ts
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
export declare const WORKTREE_NS: "worktree";
|
|
2
2
|
export declare const zh: {
|
|
3
|
+
'tools.experimental': string;
|
|
4
|
+
'tools.loading': string;
|
|
5
|
+
"settings.general": string;
|
|
6
|
+
"tools.command": string;
|
|
7
|
+
"tools.commandHint": string;
|
|
8
|
+
"tools.auto": string;
|
|
9
|
+
"tools.autoHint": string;
|
|
10
|
+
'tools.localAutoHint': string;
|
|
11
|
+
'tools.selection': string;
|
|
12
|
+
'tools.commandSelectionHint': string;
|
|
13
|
+
'tools.autoSelectionHint': string;
|
|
14
|
+
'tools.localAutoSelectionHint': string;
|
|
15
|
+
"tools.runtimeHint": string;
|
|
16
|
+
"tools.reportHint": string;
|
|
17
|
+
"tools.failed": string;
|
|
18
|
+
"tools.create.title": string;
|
|
19
|
+
"tools.create.hint": string;
|
|
20
|
+
"tools.worktrees.title": string;
|
|
21
|
+
"tools.worktrees.hint": string;
|
|
22
|
+
"tools.delegate.title": string;
|
|
23
|
+
"tools.delegate.hint": string;
|
|
24
|
+
"tools.models.title": string;
|
|
25
|
+
"tools.models.hint": string;
|
|
26
|
+
"tools.sessions.title": string;
|
|
27
|
+
"tools.sessions.hint": string;
|
|
28
|
+
"tools.message.title": string;
|
|
29
|
+
"tools.message.hint": string;
|
|
30
|
+
'settings.title': string;
|
|
31
|
+
'settings.overview': string;
|
|
32
|
+
'settings.errors': string;
|
|
33
|
+
'settings.description': string;
|
|
34
|
+
'settings.retention': string;
|
|
35
|
+
'settings.clearHistory': string;
|
|
36
|
+
'settings.empty': string;
|
|
37
|
+
'settings.operation': string;
|
|
38
|
+
'settings.active': string;
|
|
39
|
+
'settings.resolved': string;
|
|
40
|
+
'settings.inactive': string;
|
|
41
|
+
'settings.reopen': string;
|
|
42
|
+
'settings.diagnostics': string;
|
|
43
|
+
'settings.toastHint': string;
|
|
44
|
+
'settings.read': string;
|
|
45
|
+
'settings.binding': string;
|
|
46
|
+
'settings.permission': string;
|
|
47
|
+
'settings.git': string;
|
|
48
|
+
'settings.adopt': string;
|
|
49
|
+
'settings.import': string;
|
|
50
|
+
'settings.create': string;
|
|
51
|
+
'error.gitTimeout': string;
|
|
52
|
+
'error.gitLocalChanges': string;
|
|
53
|
+
'error.gitAccessDenied': string;
|
|
54
|
+
'error.gitLocked': string;
|
|
55
|
+
'error.gitInvalidBranch': string;
|
|
3
56
|
restartRequired: string;
|
|
4
57
|
'dashboard.title': string;
|
|
5
58
|
'dashboard.preview': string;
|
|
@@ -275,6 +328,7 @@ export declare const zh: {
|
|
|
275
328
|
'action.retry': string;
|
|
276
329
|
'action.retryBinding': string;
|
|
277
330
|
'action.openCreatedSession': string;
|
|
331
|
+
'permission.presetRestartRequired': string;
|
|
278
332
|
'permission.fallbackWorkspaceWrite': string;
|
|
279
333
|
'permission.userRestricted': string;
|
|
280
334
|
'permission.unverified': string;
|
|
@@ -319,9 +373,80 @@ export declare const zh: {
|
|
|
319
373
|
'error.sessionArchived': string;
|
|
320
374
|
'branch.current': string;
|
|
321
375
|
'branch.checkedOut': string;
|
|
376
|
+
'notice.recovery': string;
|
|
377
|
+
'notice.sessionRecovery': string;
|
|
378
|
+
'notice.workspaceRecovery': string;
|
|
379
|
+
'error.workspaceNotFound': string;
|
|
380
|
+
'error.workspaceNotGitRepository': string;
|
|
381
|
+
'error.initialCommitRequired': string;
|
|
382
|
+
'error.branchConflict': string;
|
|
383
|
+
'error.worktreeNotFound': string;
|
|
384
|
+
'error.worktreeOrderInvalid': string;
|
|
385
|
+
'error.worktreeRemoved': string;
|
|
386
|
+
'error.sessionNotFound': string;
|
|
387
|
+
'error.sessionCwdMismatch': string;
|
|
388
|
+
'error.sidecarUnavailable': string;
|
|
389
|
+
'error.sidecarCorrupt': string;
|
|
390
|
+
'error.sidecarSyncRequired': string;
|
|
391
|
+
'error.gitOperationFailed': string;
|
|
392
|
+
'error.permissionBindingRequired': string;
|
|
393
|
+
'error.unexpected': string;
|
|
322
394
|
};
|
|
323
395
|
export type WorktreeLocaleKey = keyof typeof zh;
|
|
324
396
|
export declare const en: {
|
|
397
|
+
'tools.experimental': string;
|
|
398
|
+
'tools.loading': string;
|
|
399
|
+
"settings.general": string;
|
|
400
|
+
"tools.command": string;
|
|
401
|
+
"tools.commandHint": string;
|
|
402
|
+
"tools.auto": string;
|
|
403
|
+
"tools.autoHint": string;
|
|
404
|
+
'tools.localAutoHint': string;
|
|
405
|
+
'tools.selection': string;
|
|
406
|
+
'tools.commandSelectionHint': string;
|
|
407
|
+
'tools.autoSelectionHint': string;
|
|
408
|
+
'tools.localAutoSelectionHint': string;
|
|
409
|
+
"tools.runtimeHint": string;
|
|
410
|
+
"tools.reportHint": string;
|
|
411
|
+
"tools.failed": string;
|
|
412
|
+
"tools.create.title": string;
|
|
413
|
+
"tools.create.hint": string;
|
|
414
|
+
"tools.worktrees.title": string;
|
|
415
|
+
"tools.worktrees.hint": string;
|
|
416
|
+
"tools.delegate.title": string;
|
|
417
|
+
"tools.delegate.hint": string;
|
|
418
|
+
"tools.models.title": string;
|
|
419
|
+
"tools.models.hint": string;
|
|
420
|
+
"tools.sessions.title": string;
|
|
421
|
+
"tools.sessions.hint": string;
|
|
422
|
+
"tools.message.title": string;
|
|
423
|
+
"tools.message.hint": string;
|
|
424
|
+
'settings.title': string;
|
|
425
|
+
'settings.overview': string;
|
|
426
|
+
'settings.errors': string;
|
|
427
|
+
'settings.description': string;
|
|
428
|
+
'settings.retention': string;
|
|
429
|
+
'settings.clearHistory': string;
|
|
430
|
+
'settings.empty': string;
|
|
431
|
+
'settings.operation': string;
|
|
432
|
+
'settings.active': string;
|
|
433
|
+
'settings.resolved': string;
|
|
434
|
+
'settings.inactive': string;
|
|
435
|
+
'settings.reopen': string;
|
|
436
|
+
'settings.diagnostics': string;
|
|
437
|
+
'settings.toastHint': string;
|
|
438
|
+
'settings.read': string;
|
|
439
|
+
'settings.binding': string;
|
|
440
|
+
'settings.permission': string;
|
|
441
|
+
'settings.git': string;
|
|
442
|
+
'settings.adopt': string;
|
|
443
|
+
'settings.import': string;
|
|
444
|
+
'settings.create': string;
|
|
445
|
+
'error.gitTimeout': string;
|
|
446
|
+
'error.gitLocalChanges': string;
|
|
447
|
+
'error.gitAccessDenied': string;
|
|
448
|
+
'error.gitLocked': string;
|
|
449
|
+
'error.gitInvalidBranch': string;
|
|
325
450
|
restartRequired: string;
|
|
326
451
|
'dashboard.title': string;
|
|
327
452
|
'dashboard.preview': string;
|
|
@@ -597,6 +722,7 @@ export declare const en: {
|
|
|
597
722
|
'action.retry': string;
|
|
598
723
|
'action.retryBinding': string;
|
|
599
724
|
'action.openCreatedSession': string;
|
|
725
|
+
'permission.presetRestartRequired': string;
|
|
600
726
|
'permission.fallbackWorkspaceWrite': string;
|
|
601
727
|
'permission.userRestricted': string;
|
|
602
728
|
'permission.unverified': string;
|
|
@@ -641,5 +767,23 @@ export declare const en: {
|
|
|
641
767
|
'error.sessionArchived': string;
|
|
642
768
|
'branch.current': string;
|
|
643
769
|
'branch.checkedOut': string;
|
|
770
|
+
'notice.recovery': string;
|
|
771
|
+
'notice.sessionRecovery': string;
|
|
772
|
+
'notice.workspaceRecovery': string;
|
|
773
|
+
'error.workspaceNotFound': string;
|
|
774
|
+
'error.workspaceNotGitRepository': string;
|
|
775
|
+
'error.initialCommitRequired': string;
|
|
776
|
+
'error.branchConflict': string;
|
|
777
|
+
'error.worktreeNotFound': string;
|
|
778
|
+
'error.worktreeOrderInvalid': string;
|
|
779
|
+
'error.worktreeRemoved': string;
|
|
780
|
+
'error.sessionNotFound': string;
|
|
781
|
+
'error.sessionCwdMismatch': string;
|
|
782
|
+
'error.sidecarUnavailable': string;
|
|
783
|
+
'error.sidecarCorrupt': string;
|
|
784
|
+
'error.sidecarSyncRequired': string;
|
|
785
|
+
'error.gitOperationFailed': string;
|
|
786
|
+
'error.permissionBindingRequired': string;
|
|
787
|
+
'error.unexpected': string;
|
|
644
788
|
};
|
|
645
789
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgZmB,CAAC;AAEnC,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,EAAE,CAAC;AAEhD,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwZ8B,CAAC"}
|
package/lib/client/locales.js
CHANGED
|
@@ -1,12 +1,65 @@
|
|
|
1
1
|
export const WORKTREE_NS = 'worktree';
|
|
2
2
|
export const zh = {
|
|
3
|
+
'tools.experimental': '实验性',
|
|
4
|
+
'tools.loading': '正在加载工具设置…',
|
|
5
|
+
"settings.general": "通用",
|
|
6
|
+
"tools.command": "Worktree 工具",
|
|
7
|
+
"tools.commandHint": "开启后可输入 /cluworktree,为当前会话启用下方选中的能力。关闭后不提供该指令。",
|
|
8
|
+
"tools.auto": "自动注入 Worktree 工具",
|
|
9
|
+
"tools.autoHint": "此 Worktree 的会话执行前自动注入所选工具,与通用设置独立。",
|
|
10
|
+
'tools.localAutoHint': '此 Workspace 的 Local/Main 会话执行前自动注入所选工具,与通用设置独立。',
|
|
11
|
+
'tools.selection': '工具选择',
|
|
12
|
+
'tools.commandSelectionHint': '/cluworktree 仅补齐未启用项。',
|
|
13
|
+
'tools.autoSelectionHint': '按需选择此 Worktree 自动注入的能力。',
|
|
14
|
+
'tools.localAutoSelectionHint': '仅自动注入此 Workspace 的 Local/Main 会话。',
|
|
15
|
+
"tools.runtimeHint": "取消全部会关闭总开关。更改影响后续注入,已启用工具保留至 Agent 结束。",
|
|
16
|
+
"tools.reportHint": "委派会话默认仅启用结果回报。",
|
|
17
|
+
"tools.failed": "无法读取或保存工具设置。请重试以加载最新配置。",
|
|
18
|
+
"tools.create.title": "创建 Worktree",
|
|
19
|
+
"tools.create.hint": "从当前已提交状态创建独立分支与工作目录,可附带共享指令。",
|
|
20
|
+
"tools.worktrees.title": "查找 Worktree",
|
|
21
|
+
"tools.worktrees.hint": "查看当前 Workspace 中的 Worktree、分支、路径与可用状态。",
|
|
22
|
+
"tools.delegate.title": "委派任务",
|
|
23
|
+
"tools.delegate.hint": "在指定 Worktree 中创建并绑定会话、选择模型并投递任务,执行方可主动回报结果。",
|
|
24
|
+
"tools.models.title": "选择模型",
|
|
25
|
+
"tools.models.hint": "查询可用模型与推理选项,为委派任务选择合适的模型。",
|
|
26
|
+
"tools.sessions.title": "查找会话",
|
|
27
|
+
"tools.sessions.hint": "查看当前 Workspace 或指定 Worktree 的会话身份、标题与执行状态。",
|
|
28
|
+
"tools.message.title": "继续会话",
|
|
29
|
+
"tools.message.hint": "向已有会话发送后续任务,或在原生执行边界调整正在进行的任务。",
|
|
30
|
+
'settings.title': 'Worktree',
|
|
31
|
+
'settings.overview': '概览',
|
|
32
|
+
'settings.errors': '报错与修复',
|
|
33
|
+
'settings.description': 'Worktree 模式按 Git 工作树组织会话。操作失败时通过 toast 提示,错误说明、诊断详情和恢复操作集中在「报错与修复」。',
|
|
34
|
+
'settings.retention': '错误记录保留在当前页面内存中,刷新页面后清空。修复前请先阅读问题说明和解决建议。',
|
|
35
|
+
'settings.clearHistory': '清除历史记录',
|
|
36
|
+
'settings.empty': '暂无错误记录。',
|
|
37
|
+
'settings.operation': 'Worktree 操作',
|
|
38
|
+
'settings.active': '待处理',
|
|
39
|
+
'settings.resolved': '历史记录',
|
|
40
|
+
'settings.inactive': '操作视图已关闭',
|
|
41
|
+
'settings.reopen': '请重新打开对应 Workspace、Dashboard 或操作弹窗,以加载当前状态并启用恢复操作。',
|
|
42
|
+
'settings.diagnostics': '原始诊断详情',
|
|
43
|
+
'settings.toastHint': '错误详情和恢复操作:设置 → Worktree → 报错与修复。',
|
|
44
|
+
'settings.read': '读取 Worktree 列表',
|
|
45
|
+
'settings.binding': '绑定 Session',
|
|
46
|
+
'settings.permission': '调整 Worktree 权限',
|
|
47
|
+
'settings.git': 'Git:{operation}',
|
|
48
|
+
'settings.adopt': '采用当前分支',
|
|
49
|
+
'settings.import': '读取可导入的 Worktree',
|
|
50
|
+
'settings.create': '准备创建 Worktree',
|
|
51
|
+
'error.gitTimeout': 'Git 操作超时。请检查仓库是否可访问,以及是否有其他 Git 操作卡住;处理后再重试。',
|
|
52
|
+
'error.gitLocalChanges': 'Git 检测到未提交或未跟踪的文件,已阻止此操作。请先提交或备份需要保留的改动,再检查目录并重试。',
|
|
53
|
+
'error.gitAccessDenied': 'Git 无法访问仓库或目录。请检查文件权限、仓库所有权和 DSH 的访问范围,修复后重试。',
|
|
54
|
+
'error.gitLocked': 'Git 仓库正被其他操作锁定。请等待其他 Git 操作结束后重试;若锁仍存在,请确认没有 Git 进程运行后在终端检查锁文件。',
|
|
55
|
+
'error.gitInvalidBranch': '分支名称不符合 Git 的命名规则。请改用有效名称,例如 feature/my-task,再重试。',
|
|
3
56
|
restartRequired: 'Worktree 插件已安装。请重启 DSH Desktop,或重启 DSH Web 服务后刷新页面,以启用插件。',
|
|
4
57
|
'dashboard.title': "Dashboard",
|
|
5
58
|
'dashboard.preview': 'Dashboard 预览',
|
|
6
59
|
'dashboard.open': '打开 Dashboard',
|
|
7
60
|
'dashboard.copyBranch': '复制分支名称',
|
|
8
61
|
'dashboard.branchCopied': '已复制分支名称',
|
|
9
|
-
'dashboard.branchCopyFailed':
|
|
62
|
+
'dashboard.branchCopyFailed': "无法复制分支名称。请允许剪贴板访问后重试,或手动复制标题中的分支名称。",
|
|
10
63
|
'dashboard.tab.overview': "概览",
|
|
11
64
|
'dashboard.tab.git': "Git 与变更",
|
|
12
65
|
'dashboard.git.title': 'Git 与变更',
|
|
@@ -167,7 +220,7 @@ export const zh = {
|
|
|
167
220
|
'workspace.noMatches': '没有匹配的工作区',
|
|
168
221
|
'workspace.renameTitle': '重命名工作区',
|
|
169
222
|
'workspace.name': '工作区名称',
|
|
170
|
-
'workspace.duplicate': '
|
|
223
|
+
'workspace.duplicate': '已存在同名 Workspace,请使用不同的名称。',
|
|
171
224
|
'workspace.deleteTitle': '删除工作区',
|
|
172
225
|
'workspace.deleteDescription': '删除“{name}”?这只会移除 DSH 工作区注册。目录、会话和 Git Worktree 会保留。',
|
|
173
226
|
'worktree.title': 'Worktree',
|
|
@@ -275,59 +328,131 @@ export const zh = {
|
|
|
275
328
|
'action.retry': '重试',
|
|
276
329
|
'action.retryBinding': '重试绑定',
|
|
277
330
|
'action.openCreatedSession': '打开已创建的 Session',
|
|
278
|
-
'permission.
|
|
279
|
-
'permission.
|
|
280
|
-
'permission.
|
|
281
|
-
'permission.
|
|
331
|
+
'permission.presetRestartRequired': 'Worktree Full Access 预设不可用。如果刚安装或更新了 Worktree,请重启 DSH Desktop;使用 DSH Web 时,请重启服务并刷新页面。当前仍使用 workspace-write 降级权限。',
|
|
332
|
+
'permission.fallbackWorkspaceWrite': 'Worktree 完全访问预设不可用,已使用 workspace-write 并保留审批提示。如果刚安装或更新了 Worktree,请重启 DSH Desktop,或重启 DSH Web 服务后刷新页面。若重启后预设仍不可用或 Git 操作遇到访问限制,请检查 DSH 的插件配置与 Session 权限设置。',
|
|
333
|
+
'permission.userRestricted': '已保留你在 DSH 中选择的权限限制。若任务需要更高权限,请在该 Session 的原生权限设置中调整后重试。',
|
|
334
|
+
'permission.unverified': "无法确认 Session 权限,会话已保留。请检查 DSH 的权限设置;清理后的权限调整可在设置 → Worktree → 报错与修复中重试。",
|
|
335
|
+
'permission.unavailable': '暂时无法读取 Worktree Session 权限。请检查 DSH 连接和 Session 权限设置后重试。',
|
|
282
336
|
'permission.fullAccessTitle': '确认启用 Worktree Full access?',
|
|
283
337
|
'permission.fullAccessDescription': '启用 Worktree Full access 后,此 Session 可能访问 Session 目录之外的关联 Git 元数据和 Worktree 文件。完全访问会关闭此 Session 的文件系统沙箱,但会保留审批提示;网络和进程策略不变。目标 Worktree:{cwd}',
|
|
284
338
|
'permission.fullAccessAcknowledge': '我已了解风险,并愿意继续',
|
|
285
339
|
'permission.fullAccessEnable': '启用 Worktree Full access',
|
|
286
340
|
'status.loading': '正在加载工作区…',
|
|
287
|
-
'error.worktreeDataUnavailable':
|
|
288
|
-
'error.gitNotInstalled':
|
|
289
|
-
'error.connectionDisposed':
|
|
290
|
-
'error.connectionFailed':
|
|
291
|
-
'error.invalidResult':
|
|
341
|
+
'error.worktreeDataUnavailable': "暂时无法读取 Worktree 数据。请确认 DSH 服务已连接,再重试;已有列表会保留。",
|
|
342
|
+
'error.gitNotInstalled': "找不到 Git。请安装 Git 或将其加入 PATH,重启 DSH 后重试。",
|
|
343
|
+
'error.connectionDisposed': "Worktree 连接已关闭。请刷新页面或重启 DSH 后重试。",
|
|
344
|
+
'error.connectionFailed': "无法连接 Worktree 服务。请确认 DSH 正在运行且连接正常,再重试;刚安装插件时请先重启 DSH。",
|
|
345
|
+
'error.invalidResult': "Worktree 服务返回了无法识别的数据。请重启 DSH 并刷新页面;若仍失败,请检查插件与 DSH 的版本兼容性。",
|
|
292
346
|
'error.workspaceOrderingUnavailable': '工作区排序不可用,请重新连接后重试。',
|
|
293
347
|
'error.sessionOrderingUnavailable': '会话排序不可用,请重新连接后重试。',
|
|
294
348
|
'error.worktreeOrderingUnavailable': 'Worktree 排序不可用,请重新连接后重试。',
|
|
295
349
|
'error.worktreeCreatedSessionUnavailable': 'Worktree 已创建,但 Session 创建不可用,请重新连接后重试。',
|
|
296
350
|
'error.sessionCreationUnavailable': 'Session 创建不可用,请重新连接后重试。',
|
|
297
|
-
'error.worktreeRecordMissing':
|
|
298
|
-
'error.worktreeImportInvalid':
|
|
299
|
-
'error.worktreeAlreadyManaged':
|
|
300
|
-
'error.worktreeMutationBusy':
|
|
301
|
-
'error.worktreeStateConflict':
|
|
302
|
-
'error.worktreeRecoveryRequired':
|
|
303
|
-
'error.worktreeIdentityChanged':
|
|
304
|
-
'error.worktreeSessionBusy':
|
|
305
|
-
'error.worktreeActivityUnavailable':
|
|
351
|
+
'error.worktreeRecordMissing': "未能确认 Worktree 登记结果。请先刷新列表检查是否已创建或导入,避免重复操作;若未出现,再重试。",
|
|
352
|
+
'error.worktreeImportInvalid': "所选目录无法导入。请从导入列表选择同一 Git 仓库中有分支、尚未登记且不是主目录的 Worktree,然后重试。",
|
|
353
|
+
'error.worktreeAlreadyManaged': "这个 Worktree 已在管理列表中。请刷新列表并打开已有项,无需重复导入。",
|
|
354
|
+
'error.worktreeMutationBusy': "另一个操作正在修改此 Worktree 的状态。请等待它完成后再重试;若长时间未结束,请检查其他 DSH 实例。",
|
|
355
|
+
'error.worktreeStateConflict': "Worktree、分支或保存内容已变化。请刷新后重新选择并确认操作;正在编辑时请先复制草稿,再取消并重新打开。",
|
|
356
|
+
'error.worktreeRecoveryRequired': "上次 Worktree 操作尚未完成恢复,当前操作已阻止。请在设置 → Worktree → 报错与修复中选择重试恢复,完成后再重试。",
|
|
357
|
+
'error.worktreeIdentityChanged': "Worktree 或 Git 仓库的实际位置与登记信息不一致。请检查目录,移动过的 Worktree 先执行 git worktree repair,再刷新并重试恢复。",
|
|
358
|
+
'error.worktreeSessionBusy': "关联 Session 或子代理仍在运行。请等待任务结束,或在 DSH 中停止任务后重试。",
|
|
359
|
+
'error.worktreeActivityUnavailable': "暂时无法确认关联 Session 的运行状态。请确认 DSH 连接正常,刷新 Session 列表后重试。",
|
|
306
360
|
'error.worktreeRegistrationSessionUnavailable': 'Worktree 已注册,但 Session 创建不可用,请重新连接后重试。',
|
|
307
361
|
'error.workspaceRenameUnavailable': '工作区重命名不可用,请重新连接后重试。',
|
|
308
362
|
'error.workspaceDeleteUnavailable': '工作区删除不可用,请重新连接后重试。',
|
|
309
|
-
'error.workspaceRootMissing':
|
|
363
|
+
'error.workspaceRootMissing': "Workspace 目录不存在:{rootPath}。请恢复目录,或在 DSH 中移除这个 Workspace 并重新添加正确目录,再重试。",
|
|
310
364
|
'error.sessionRenameUnavailable': '会话重命名不可用,请重新连接后重试。',
|
|
311
|
-
'error.sessionBindingFailed':
|
|
312
|
-
'error.sessionAlreadyBound':
|
|
313
|
-
'error.worktreePermissionConfirmationRequired':
|
|
314
|
-
'error.worktreePermissionFailed':
|
|
315
|
-
'error.sessionListNotReady':
|
|
316
|
-
'error.sessionFactsIncomplete':
|
|
317
|
-
'error.worktreeSessionRepairRequired':
|
|
318
|
-
'error.worktreeSessionUnavailable':
|
|
319
|
-
'error.sessionArchived':
|
|
365
|
+
'error.sessionBindingFailed': "Session {sessionId} 已保留,但未能绑定 Worktree。{reason}",
|
|
366
|
+
'error.sessionAlreadyBound': "这个 Session 已绑定到另一个 Worktree。请打开它原来所属的 Worktree,或在目标 Worktree 中创建新会话。",
|
|
367
|
+
'error.worktreePermissionConfirmationRequired': "Session 和绑定已保留,尚未确认完全访问权限。请在设置 → Worktree → 报错与修复中重试绑定并完成权限确认;无需新建会话。",
|
|
368
|
+
'error.worktreePermissionFailed': "Worktree Session 权限设置失败,会话已保留。请检查 DSH 的会话权限设置,并从设置 → Worktree → 报错与修复中重试。",
|
|
369
|
+
'error.sessionListNotReady': "Session 列表仍在加载。请稍等片刻后重试;若一直未就绪,请重新连接 DSH。",
|
|
370
|
+
'error.sessionFactsIncomplete': "Session 信息尚未完整加载,无法确认其工作目录。请稍等并刷新列表后重试。",
|
|
371
|
+
'error.worktreeSessionRepairRequired': "Session 与 Worktree 的绑定需要修复。请在设置 → Worktree → 报错与修复中重试绑定;若目录被移动,请先执行 git worktree repair。",
|
|
372
|
+
'error.worktreeSessionUnavailable': "这个 Worktree 无法用于打开或创建 Session。请确认目录存在、尚未清理且无需恢复,再刷新列表重试。",
|
|
373
|
+
'error.sessionArchived': "这个 Session 已归档,无法重新绑定。请先在 DSH 中恢复它,或在目标 Worktree 中创建新会话。",
|
|
320
374
|
'branch.current': '(当前)',
|
|
321
375
|
'branch.checkedOut': '(已检出)',
|
|
376
|
+
'notice.recovery': "恢复操作",
|
|
377
|
+
'notice.sessionRecovery': "Session:{sessionId}",
|
|
378
|
+
'notice.workspaceRecovery': "Workspace:{workspaceId}",
|
|
379
|
+
'error.workspaceNotFound': "无法访问这个 Workspace。请在 DSH 中确认它仍存在、目录路径有效且有读取权限,再刷新列表。",
|
|
380
|
+
'error.workspaceNotGitRepository': "这个 Workspace 尚不是 Git 仓库。请打开创建 Worktree 弹窗,按其中的指引初始化 Git 并创建首次提交。",
|
|
381
|
+
'error.initialCommitRequired': "Git 仓库还没有提交。请先在 Workspace 目录创建首次提交,再重试。",
|
|
382
|
+
'error.branchConflict': "分支名称已存在或已被其他 Worktree 使用。创建时请改用新的名称;需要已有 Worktree 时请使用导入。",
|
|
383
|
+
'error.worktreeNotFound': "找不到这个 Worktree 或无法访问其目录。请确认目录存在且有读取权限,再刷新;若目录被移动,请先在终端执行 git worktree repair。",
|
|
384
|
+
'error.worktreeOrderInvalid': "Worktree 列表已变化,无法保存排序。请刷新列表后重新拖动排序。",
|
|
385
|
+
'error.worktreeRemoved': "这个 Worktree 已归档或已清理,无法执行此操作。归档项请先恢复;已清理项请创建或导入另一个 Worktree。",
|
|
386
|
+
'error.sessionNotFound': "找不到这个 Session。请刷新 DSH 的 Session 列表,再选择仍存在的会话。",
|
|
387
|
+
'error.sessionCwdMismatch': "Session 的工作目录与目标 Worktree 不一致,无法绑定。请在目标 Worktree 中新建 Session,或选择工作目录匹配的会话。",
|
|
388
|
+
'error.sidecarUnavailable': "无法读写 Worktree 管理索引。请检查 DSH 数据目录的权限和磁盘空间,再重试;原生 Session 仍可使用。",
|
|
389
|
+
'error.sidecarCorrupt': "Worktree 管理索引损坏或格式不兼容,插件已停止修改数据。请保留索引备份并联系维护者恢复;可继续使用 DSH 原生 Session。",
|
|
390
|
+
'error.sidecarSyncRequired': "Git 操作与管理索引尚未同步。请在设置 → Worktree → 报错与修复中选择重试恢复,完成后刷新列表;不要重复创建或清理。",
|
|
391
|
+
'error.gitOperationFailed': "Git 操作失败。请确认 Git 可用、目录可访问,并在终端检查 git status;修复 Git 报错后再重试。",
|
|
392
|
+
'error.permissionBindingRequired': "Session 尚未绑定到有效的 Worktree,无法设置权限。请先在设置 → Worktree → 报错与修复中重试绑定,再确认完全访问。",
|
|
393
|
+
'error.unexpected': "操作失败(错误码:{code})。请刷新后重试;若仍失败,请将错误码和 DSH 日志提供给维护者。",
|
|
322
394
|
};
|
|
323
395
|
export const en = {
|
|
396
|
+
'tools.experimental': 'Experimental',
|
|
397
|
+
'tools.loading': 'Loading tool settings…',
|
|
398
|
+
"settings.general": "General",
|
|
399
|
+
"tools.command": "Worktree tools",
|
|
400
|
+
"tools.commandHint": "Enable /cluworktree to activate the selected capabilities in the current conversation. Turning this off removes the command.",
|
|
401
|
+
"tools.auto": "Automatically inject Worktree tools",
|
|
402
|
+
"tools.autoHint": "Inject selected tools before Sessions in this Worktree execute, independently of General settings.",
|
|
403
|
+
'tools.localAutoHint': 'Inject selected tools before Local/Main Sessions in this Workspace execute, independently of General settings.',
|
|
404
|
+
'tools.selection': 'Tool selection',
|
|
405
|
+
'tools.commandSelectionHint': '/cluworktree adds only missing capabilities.',
|
|
406
|
+
'tools.autoSelectionHint': 'Choose capabilities to inject into this Worktree.',
|
|
407
|
+
'tools.localAutoSelectionHint': 'Apply only to Local/Main Sessions in this Workspace.',
|
|
408
|
+
"tools.runtimeHint": "Deselecting all turns the switch off. Changes affect future injection; active tools remain until the Agent ends.",
|
|
409
|
+
"tools.reportHint": "Delegated Sessions receive only result reporting by default.",
|
|
410
|
+
"tools.failed": "Unable to read or save tool settings. Retry to load the latest configuration.",
|
|
411
|
+
"tools.create.title": "Create Worktrees",
|
|
412
|
+
"tools.create.hint": "Create an isolated branch and working directory from committed state, with optional shared instructions.",
|
|
413
|
+
"tools.worktrees.title": "Discover Worktrees",
|
|
414
|
+
"tools.worktrees.hint": "Find Worktrees, branches, paths and availability in the current Workspace.",
|
|
415
|
+
"tools.delegate.title": "Delegate tasks",
|
|
416
|
+
"tools.delegate.hint": "Create and bind a Session in a Worktree, select its model and dispatch a task. The executing Session can report results.",
|
|
417
|
+
"tools.models.title": "Discover models",
|
|
418
|
+
"tools.models.hint": "Find available models and reasoning options for delegated tasks.",
|
|
419
|
+
"tools.sessions.title": "Discover Sessions",
|
|
420
|
+
"tools.sessions.hint": "Find Session identities, titles and execution status in the current Workspace or a selected Worktree.",
|
|
421
|
+
"tools.message.title": "Continue Sessions",
|
|
422
|
+
"tools.message.hint": "Send follow-up tasks to existing Sessions or steer running work at a native step boundary.",
|
|
423
|
+
'settings.title': 'Worktree',
|
|
424
|
+
'settings.overview': 'Overview',
|
|
425
|
+
'settings.errors': 'Errors & recovery',
|
|
426
|
+
'settings.description': 'Worktree mode groups Sessions by Git worktree. Failures appear as toasts; explanations, diagnostics and recovery actions are collected in Errors & recovery.',
|
|
427
|
+
'settings.retention': 'Records stay in memory for this page and clear on reload. Read the problem and suggested solution before retrying.',
|
|
428
|
+
'settings.clearHistory': 'Clear history',
|
|
429
|
+
'settings.empty': 'No error records.',
|
|
430
|
+
'settings.operation': 'Worktree operation',
|
|
431
|
+
'settings.active': 'Needs attention',
|
|
432
|
+
'settings.resolved': 'History',
|
|
433
|
+
'settings.inactive': 'Operation view closed',
|
|
434
|
+
'settings.reopen': 'Reopen the corresponding Workspace, Dashboard or operation dialog to load its current state and enable recovery actions.',
|
|
435
|
+
'settings.diagnostics': 'Original diagnostics',
|
|
436
|
+
'settings.toastHint': 'Details and recovery: Settings → Worktree → Errors & recovery.',
|
|
437
|
+
'settings.read': 'Read Worktree list',
|
|
438
|
+
'settings.binding': 'Bind Session',
|
|
439
|
+
'settings.permission': 'Adjust Worktree permissions',
|
|
440
|
+
'settings.git': 'Git: {operation}',
|
|
441
|
+
'settings.adopt': 'Adopt current branch',
|
|
442
|
+
'settings.import': 'Read importable Worktrees',
|
|
443
|
+
'settings.create': 'Prepare Worktree creation',
|
|
444
|
+
'error.gitTimeout': 'The Git operation timed out. Check that the repository is accessible and that no other Git operation is stuck, then retry.',
|
|
445
|
+
'error.gitLocalChanges': 'Git found uncommitted or untracked files and blocked this action. Commit or back up changes you want to keep, then inspect the directory and retry.',
|
|
446
|
+
'error.gitAccessDenied': 'Git cannot access the repository or directory. Check file permissions, repository ownership, and the DSH access scope, then retry.',
|
|
447
|
+
'error.gitLocked': 'Another operation has locked the Git repository. Wait for other Git operations to finish, then retry. If the lock remains, check the lock file in a terminal after confirming no Git process is running.',
|
|
448
|
+
'error.gitInvalidBranch': 'The branch name does not meet Git naming rules. Choose a valid name, such as feature/my-task, then retry.',
|
|
324
449
|
restartRequired: 'Worktree is installed. Restart DSH Desktop, or restart the DSH Web server and refresh this page, to enable it.',
|
|
325
450
|
'dashboard.title': "Dashboard",
|
|
326
451
|
'dashboard.preview': 'Dashboard preview',
|
|
327
452
|
'dashboard.open': 'Open Dashboard',
|
|
328
453
|
'dashboard.copyBranch': 'Copy branch name',
|
|
329
454
|
'dashboard.branchCopied': 'Branch name copied',
|
|
330
|
-
'dashboard.branchCopyFailed':
|
|
455
|
+
'dashboard.branchCopyFailed': "The branch name could not be copied. Allow clipboard access and retry, or copy the branch name from the title manually.",
|
|
331
456
|
'dashboard.tab.overview': "Dashboard",
|
|
332
457
|
'dashboard.tab.git': "Git & Changes",
|
|
333
458
|
'dashboard.git.title': 'Git & Changes',
|
|
@@ -488,7 +613,7 @@ export const en = {
|
|
|
488
613
|
'workspace.noMatches': 'No matching Workspaces',
|
|
489
614
|
'workspace.renameTitle': 'Rename Workspace',
|
|
490
615
|
'workspace.name': 'Workspace name',
|
|
491
|
-
'workspace.duplicate': 'A Workspace with this name already exists.',
|
|
616
|
+
'workspace.duplicate': 'A Workspace with this name already exists. Choose a different name.',
|
|
492
617
|
'workspace.deleteTitle': 'Delete Workspace',
|
|
493
618
|
'workspace.deleteDescription': 'Delete {name}? This removes only the DSH Workspace registration. The directory, Sessions, and Git Worktrees will be retained.',
|
|
494
619
|
'worktree.title': 'Worktrees',
|
|
@@ -596,49 +721,68 @@ export const en = {
|
|
|
596
721
|
'action.retry': 'Retry',
|
|
597
722
|
'action.retryBinding': 'Retry Binding',
|
|
598
723
|
'action.openCreatedSession': 'Open Created Session',
|
|
599
|
-
'permission.
|
|
600
|
-
'permission.
|
|
601
|
-
'permission.
|
|
602
|
-
'permission.
|
|
724
|
+
'permission.presetRestartRequired': 'The Worktree Full Access preset is unavailable. If you just installed or updated Worktree, restart DSH Desktop, or restart the DSH Web server and refresh this page. The workspace-write fallback remains in use.',
|
|
725
|
+
'permission.fallbackWorkspaceWrite': 'The Worktree Full Access preset is unavailable; workspace-write is active with approval prompts enabled. If you just installed or updated Worktree, restart DSH Desktop, or restart the DSH Web server and refresh this page. If the preset is still unavailable after restart or Git encounters access restrictions, check the DSH plugin configuration and Session permission settings.',
|
|
726
|
+
'permission.userRestricted': 'Your selected DSH permission restrictions were preserved. If the task needs more access, adjust this Session’s native permission settings and retry.',
|
|
727
|
+
'permission.unverified': "Session permissions could not be verified; the Session was retained. Check the permission settings in DSH. Permission updates after cleanup can be retried in Settings → Worktree → Errors & recovery.",
|
|
728
|
+
'permission.unavailable': 'Worktree Session permissions could not be read. Check your DSH connection and the Session permission settings, then retry.',
|
|
603
729
|
'permission.fullAccessTitle': 'Enable Worktree Full access?',
|
|
604
730
|
'permission.fullAccessDescription': 'Worktree Full access lets this Session access linked Git metadata and Worktree files outside the Session directory. It disables filesystem confinement for this Session while keeping approval prompts enabled; network and process policy are unchanged. Target Worktree: {cwd}',
|
|
605
731
|
'permission.fullAccessAcknowledge': 'I understand the risks and want to continue',
|
|
606
732
|
'permission.fullAccessEnable': 'Enable Worktree Full access',
|
|
607
733
|
'status.loading': 'Loading Workspaces…',
|
|
608
|
-
'error.worktreeDataUnavailable':
|
|
609
|
-
'error.gitNotInstalled':
|
|
610
|
-
'error.connectionDisposed':
|
|
611
|
-
'error.connectionFailed':
|
|
612
|
-
'error.invalidResult':
|
|
734
|
+
'error.worktreeDataUnavailable': "Worktree data could not be loaded. Check your connection to DSH, then retry. The existing list is preserved.",
|
|
735
|
+
'error.gitNotInstalled': "Git could not be found. Install Git or add it to PATH, restart DSH, then retry.",
|
|
736
|
+
'error.connectionDisposed': "The Worktree connection has closed. Refresh the page or restart DSH, then retry.",
|
|
737
|
+
'error.connectionFailed': "The Worktree service could not be reached. Check that DSH is running and connected, then retry. Restart DSH first if you just installed the plugin.",
|
|
738
|
+
'error.invalidResult': "The Worktree service returned unrecognized data. Restart DSH and refresh the page. If it still fails, check that your plugin and DSH versions are compatible.",
|
|
613
739
|
'error.workspaceOrderingUnavailable': 'Workspace ordering is unavailable; retry after reconnecting.',
|
|
614
740
|
'error.sessionOrderingUnavailable': 'Session ordering is unavailable; retry after reconnecting.',
|
|
615
741
|
'error.worktreeOrderingUnavailable': 'Worktree ordering is unavailable; retry after reconnecting.',
|
|
616
742
|
'error.worktreeCreatedSessionUnavailable': 'Worktree created, but Session creation is unavailable; retry after reconnecting.',
|
|
617
743
|
'error.sessionCreationUnavailable': 'Session creation is unavailable; retry after reconnecting.',
|
|
618
|
-
'error.worktreeRecordMissing':
|
|
619
|
-
'error.worktreeImportInvalid':
|
|
620
|
-
'error.worktreeAlreadyManaged':
|
|
621
|
-
'error.worktreeMutationBusy':
|
|
622
|
-
'error.worktreeStateConflict':
|
|
623
|
-
'error.worktreeRecoveryRequired':
|
|
624
|
-
'error.worktreeIdentityChanged':
|
|
625
|
-
'error.worktreeSessionBusy':
|
|
626
|
-
'error.worktreeActivityUnavailable':
|
|
744
|
+
'error.worktreeRecordMissing': "The Worktree registration result could not be confirmed. Refresh the list to check whether creation or import succeeded before repeating the operation. Retry if it is absent.",
|
|
745
|
+
'error.worktreeImportInvalid': "This directory cannot be imported. Select a branch-attached, unmanaged Worktree from the import list in the same Git repository, excluding the main directory, then retry.",
|
|
746
|
+
'error.worktreeAlreadyManaged': "This Worktree is already managed. Refresh the list and open its existing entry instead of importing it again.",
|
|
747
|
+
'error.worktreeMutationBusy': "Another operation is changing this Worktree. Wait for it to finish, then retry. If it remains busy, check your other DSH instances.",
|
|
748
|
+
'error.worktreeStateConflict': "The Worktree, branch, or saved content changed. Refresh, select again, and reconfirm the action. If editing, copy your draft before cancelling and reopening the editor.",
|
|
749
|
+
'error.worktreeRecoveryRequired': "A previous Worktree operation still needs recovery, so this action is blocked. Choose Retry Recovery in Settings → Worktree → Errors & recovery, then retry once recovery completes.",
|
|
750
|
+
'error.worktreeIdentityChanged': "The Worktree or repository no longer matches its registered location. Check the directories; if a Worktree was moved, run git worktree repair, then refresh and retry recovery.",
|
|
751
|
+
'error.worktreeSessionBusy': "A linked Session or subagent is still running. Wait for it to finish or stop the task in DSH, then retry.",
|
|
752
|
+
'error.worktreeActivityUnavailable': "Linked Session activity could not be checked. Check your DSH connection, refresh the Session list, then retry.",
|
|
627
753
|
'error.worktreeRegistrationSessionUnavailable': 'The Worktree was registered, but Session creation is unavailable; retry after reconnecting.',
|
|
628
754
|
'error.workspaceRenameUnavailable': 'Workspace rename is unavailable; retry after reconnecting.',
|
|
629
755
|
'error.workspaceDeleteUnavailable': 'Workspace delete is unavailable; retry after reconnecting.',
|
|
630
|
-
'error.workspaceRootMissing':
|
|
756
|
+
'error.workspaceRootMissing': "The Workspace directory is missing: {rootPath}. Restore it, or remove this Workspace in DSH and add the correct directory, then retry.",
|
|
631
757
|
'error.sessionRenameUnavailable': 'Session rename is unavailable; retry after reconnecting.',
|
|
632
|
-
'error.sessionBindingFailed':
|
|
633
|
-
'error.sessionAlreadyBound':
|
|
634
|
-
'error.worktreePermissionConfirmationRequired':
|
|
635
|
-
'error.worktreePermissionFailed':
|
|
636
|
-
'error.sessionListNotReady':
|
|
637
|
-
'error.sessionFactsIncomplete':
|
|
638
|
-
'error.worktreeSessionRepairRequired':
|
|
639
|
-
'error.worktreeSessionUnavailable':
|
|
640
|
-
'error.sessionArchived':
|
|
758
|
+
'error.sessionBindingFailed': "Session {sessionId} was retained, but its Worktree binding failed. {reason}",
|
|
759
|
+
'error.sessionAlreadyBound': "This Session is already bound to another Worktree. Open its original Worktree or create a new Session in the target Worktree.",
|
|
760
|
+
'error.worktreePermissionConfirmationRequired': "The Session and binding were retained, but Full Access has not been confirmed. Retry Binding in Settings → Worktree → Errors & recovery and complete the permission confirmation; no new Session is needed.",
|
|
761
|
+
'error.worktreePermissionFailed': "Worktree Session permissions could not be set; the Session was retained. Check the Session permission settings in DSH, then retry from Settings → Worktree → Errors & recovery.",
|
|
762
|
+
'error.sessionListNotReady': "The Session list is still loading. Wait a moment, then retry. Reconnect to DSH if it does not finish loading.",
|
|
763
|
+
'error.sessionFactsIncomplete': "The Session details have not fully loaded, so its working directory cannot be verified. Wait and refresh the list, then retry.",
|
|
764
|
+
'error.worktreeSessionRepairRequired': "The Session binding needs repair. Use Retry Binding in Settings → Worktree → Errors & recovery. If the directory was moved, run git worktree repair first.",
|
|
765
|
+
'error.worktreeSessionUnavailable': "This Worktree cannot open or create a Session. Check that its directory exists, has not been cleaned up, and does not need recovery, then refresh and retry.",
|
|
766
|
+
'error.sessionArchived': "This Session is archived and cannot be rebound. Restore it in DSH or create a new Session in the target Worktree.",
|
|
641
767
|
'branch.current': ' (current)',
|
|
642
768
|
'branch.checkedOut': ' (checked out)',
|
|
769
|
+
'notice.recovery': "Recovery actions",
|
|
770
|
+
'notice.sessionRecovery': "Session: {sessionId}",
|
|
771
|
+
'notice.workspaceRecovery': "Workspace: {workspaceId}",
|
|
772
|
+
'error.workspaceNotFound': "This Workspace cannot be accessed. Check that it still exists in DSH and that its directory path and read permissions are valid, then refresh the list.",
|
|
773
|
+
'error.workspaceNotGitRepository': "This Workspace is not a Git repository. Open Create Worktree and follow the setup guidance to initialize Git and make the first commit.",
|
|
774
|
+
'error.initialCommitRequired': "The Git repository has no commits yet. Make the first commit in the Workspace directory, then retry.",
|
|
775
|
+
'error.branchConflict': "The branch name already exists or is in use by another Worktree. Choose a new name when creating, or use Import for an existing Worktree.",
|
|
776
|
+
'error.worktreeNotFound': "This Worktree or its directory cannot be accessed. Check that the directory exists and is readable, then refresh. If it was moved, run git worktree repair in a terminal first.",
|
|
777
|
+
'error.worktreeOrderInvalid': "The Worktree list changed, so the order could not be saved. Refresh the list, then drag the rows again.",
|
|
778
|
+
'error.worktreeRemoved': "This Worktree is archived or cleaned up and cannot perform this action. Restore an archived Worktree, or create or import another one if its disk files were cleaned up.",
|
|
779
|
+
'error.sessionNotFound': "This Session could not be found. Refresh the DSH Session list, then select an existing Session.",
|
|
780
|
+
'error.sessionCwdMismatch': "The Session working directory does not match this Worktree, so it cannot be bound. Create a Session in the target Worktree or select one with a matching directory.",
|
|
781
|
+
'error.sidecarUnavailable': "The Worktree management index cannot be read or written. Check permissions and free space in the DSH data directory, then retry. Native Sessions remain available.",
|
|
782
|
+
'error.sidecarCorrupt': "The Worktree management index is damaged or incompatible, so changes are blocked. Keep a backup and contact the maintainer for recovery. You can continue using native DSH Sessions.",
|
|
783
|
+
'error.sidecarSyncRequired': "The Git operation and management index are out of sync. Choose Retry Recovery in Settings → Worktree → Errors & recovery, then refresh the list. Avoid repeating creation or cleanup.",
|
|
784
|
+
'error.gitOperationFailed': "The Git operation failed. Check that Git is available and the directory is accessible, then inspect git status in a terminal. Resolve the Git error before retrying.",
|
|
785
|
+
'error.permissionBindingRequired': "Permissions cannot be set until the Session is bound to a valid Worktree. Retry Binding in Settings → Worktree → Errors & recovery, then confirm Full Access.",
|
|
786
|
+
'error.unexpected': "The operation failed (error code: {code}). Refresh and retry. If it still fails, share the error code and DSH logs with the maintainer.",
|
|
643
787
|
};
|
|
644
788
|
//# sourceMappingURL=locales.js.map
|