dsh-git-worktree 0.7.4 → 0.8.0

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 (125) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.en.md +7 -3
  3. package/README.md +7 -3
  4. package/cordis.patch.yml +4 -4
  5. package/docs/i18n.md +63 -0
  6. package/lib/adapters/files.d.ts +0 -7
  7. package/lib/adapters/files.js +4 -3
  8. package/lib/adapters/files.js.map +1 -1
  9. package/lib/adapters/git.d.ts +0 -10
  10. package/lib/adapters/git.js +6 -5
  11. package/lib/adapters/git.js.map +1 -1
  12. package/lib/adapters/registry.d.ts +0 -7
  13. package/lib/adapters/registry.js +2 -1
  14. package/lib/adapters/registry.js.map +1 -1
  15. package/lib/adapters/safe-file.d.ts +0 -7
  16. package/lib/adapters/safe-file.js +5 -4
  17. package/lib/adapters/safe-file.js.map +1 -1
  18. package/lib/client/WorktreeCreateRow.js +4 -2
  19. package/lib/client/WorktreeCreateRow.js.map +1 -1
  20. package/lib/client/WorktreeReviewRow.js +10 -8
  21. package/lib/client/WorktreeReviewRow.js.map +1 -1
  22. package/lib/client/actions.d.ts +3 -2
  23. package/lib/client/actions.js +17 -13
  24. package/lib/client/actions.js.map +1 -1
  25. package/lib/client/console-remote/adapter.d.ts +2 -1
  26. package/lib/client/console-remote/adapter.js +35 -32
  27. package/lib/client/console-remote/adapter.js.map +1 -1
  28. package/lib/client/console-remote/index.js +8 -4
  29. package/lib/client/console-remote/index.js.map +1 -1
  30. package/lib/client/i18n.d.ts +25 -0
  31. package/lib/client/i18n.js +43 -0
  32. package/lib/client/i18n.js.map +1 -0
  33. package/lib/client/index.d.ts +1 -1
  34. package/lib/client/index.js +17 -4
  35. package/lib/client/index.js.map +1 -1
  36. package/lib/client/model.d.ts +3 -2
  37. package/lib/client/model.js +8 -8
  38. package/lib/client/model.js.map +1 -1
  39. package/lib/client/pre-session/PreSessionWorktreeToggle.js +14 -12
  40. package/lib/client/pre-session/PreSessionWorktreeToggle.js.map +1 -1
  41. package/lib/client/pre-session/controller.js +11 -9
  42. package/lib/client/pre-session/controller.js.map +1 -1
  43. package/lib/client/pre-session/index.d.ts +12 -1
  44. package/lib/client/pre-session/index.js +9 -1
  45. package/lib/client/pre-session/index.js.map +1 -1
  46. package/lib/client/review-console/DeliveryProof.js +15 -12
  47. package/lib/client/review-console/DeliveryProof.js.map +1 -1
  48. package/lib/client/review-console/PreflightStatus.js +14 -8
  49. package/lib/client/review-console/PreflightStatus.js.map +1 -1
  50. package/lib/client/review-console/ReviewActions.js +97 -92
  51. package/lib/client/review-console/ReviewActions.js.map +1 -1
  52. package/lib/client/review-console/WorktreeReviewPanel.d.ts +1 -1
  53. package/lib/client/review-console/WorktreeReviewPanel.js +19 -16
  54. package/lib/client/review-console/WorktreeReviewPanel.js.map +1 -1
  55. package/lib/client/review-console/recovery-continuation.d.ts +2 -1
  56. package/lib/client/review-console/recovery-continuation.js +12 -8
  57. package/lib/client/review-console/recovery-continuation.js.map +1 -1
  58. package/lib/client/target-console/TargetStatusAction.js +28 -25
  59. package/lib/client/target-console/TargetStatusAction.js.map +1 -1
  60. package/lib/client/target-console/WorktreeConsoleView.js +40 -36
  61. package/lib/client/target-console/WorktreeConsoleView.js.map +1 -1
  62. package/lib/client/target-console/WorktreeManagerModal.js +3 -1
  63. package/lib/client/target-console/WorktreeManagerModal.js.map +1 -1
  64. package/lib/client/target-console/WorktreeReviewStatus.js +14 -12
  65. package/lib/client/target-console/WorktreeReviewStatus.js.map +1 -1
  66. package/lib/client/workspace-sidebar/index.js +4 -2
  67. package/lib/client/workspace-sidebar/index.js.map +1 -1
  68. package/lib/client/workspace-sidebar/model.d.ts +2 -1
  69. package/lib/client/workspace-sidebar/model.js +14 -13
  70. package/lib/client/workspace-sidebar/model.js.map +1 -1
  71. package/lib/client.js +2173 -477
  72. package/lib/commands.js +32 -35
  73. package/lib/commands.js.map +1 -1
  74. package/lib/console-host/control-plane.js +82 -81
  75. package/lib/console-host/control-plane.js.map +1 -1
  76. package/lib/console-host/errors.js +2 -1
  77. package/lib/console-host/errors.js.map +1 -1
  78. package/lib/console-host/projection.js +3 -1
  79. package/lib/console-host/projection.js.map +1 -1
  80. package/lib/console-host/review-diff.js +6 -5
  81. package/lib/console-host/review-diff.js.map +1 -1
  82. package/lib/console-host/service.d.ts +24 -22
  83. package/lib/console-host/service.js +54 -51
  84. package/lib/console-host/service.js.map +1 -1
  85. package/lib/console-remote/descriptors.js +2 -2
  86. package/lib/console-remote/descriptors.js.map +1 -1
  87. package/lib/console-remote/remote.d.ts +22 -21
  88. package/lib/console-remote/remote.js.map +1 -1
  89. package/lib/console-remote/schemas.d.ts +4 -0
  90. package/lib/console-remote/schemas.js +1 -0
  91. package/lib/console-remote/schemas.js.map +1 -1
  92. package/lib/i18n/client-messages.d.ts +1523 -0
  93. package/lib/i18n/client-messages.js +1431 -0
  94. package/lib/i18n/client-messages.js.map +1 -0
  95. package/lib/i18n/core.d.ts +12 -0
  96. package/lib/i18n/core.js +10 -0
  97. package/lib/i18n/core.js.map +1 -0
  98. package/lib/i18n/host-messages.d.ts +1463 -0
  99. package/lib/i18n/host-messages.js +1474 -0
  100. package/lib/i18n/host-messages.js.map +1 -0
  101. package/lib/i18n/host.d.ts +9 -0
  102. package/lib/i18n/host.js +34 -0
  103. package/lib/i18n/host.js.map +1 -0
  104. package/lib/i18n/transport-messages.d.ts +10 -0
  105. package/lib/i18n/transport-messages.js +11 -0
  106. package/lib/i18n/transport-messages.js.map +1 -0
  107. package/lib/index.d.ts +9 -2
  108. package/lib/index.js +4 -2
  109. package/lib/index.js.map +1 -1
  110. package/lib/session-checkout-apply.js +93 -92
  111. package/lib/session-checkout-apply.js.map +1 -1
  112. package/lib/session-checkout-module.js +232 -229
  113. package/lib/session-checkout-module.js.map +1 -1
  114. package/lib/session-target-context.js +2 -1
  115. package/lib/session-target-context.js.map +1 -1
  116. package/lib/tools.d.ts +0 -8
  117. package/lib/tools.js +108 -96
  118. package/lib/tools.js.map +1 -1
  119. package/lib/workspace-provider-lifecycle.d.ts +15 -0
  120. package/lib/workspace-provider-lifecycle.js +65 -0
  121. package/lib/workspace-provider-lifecycle.js.map +1 -0
  122. package/package.json +6 -1
  123. package/scripts/check-publish.mjs +6 -3
  124. package/scripts/dev-dsh-lib.mjs +1 -1
  125. package/scripts/workspace-sidebar-upstream.mjs +1 -1
@@ -0,0 +1,1463 @@
1
+ import type { Translator } from './core.js';
2
+ /** Host-owned prose. Keys are stable; user data is passed only as interpolation values. */
3
+ export declare const hostMessages: {
4
+ readonly sessionNotFound: {
5
+ readonly zh: "会话不存在: {p0}";
6
+ readonly en: "Session not found: {p0}";
7
+ };
8
+ readonly theSessionIsNotAssociatedWithAProject: {
9
+ readonly zh: "会话尚未关联项目";
10
+ readonly en: "The Session is not associated with a project.";
11
+ };
12
+ readonly projectNotFound: {
13
+ readonly zh: "项目不存在: {p0}";
14
+ readonly en: "Project not found: {p0}";
15
+ };
16
+ readonly projectRootDirectoryNotFound: {
17
+ readonly zh: "项目根目录不存在: {p0}";
18
+ readonly en: "Project root directory not found: {p0}";
19
+ };
20
+ readonly theSessionWorkspaceNoLongerMatchesItsBoundSession: {
21
+ readonly zh: "会话当前 Workspace 与已绑定 Session Target 不一致,已停止访问 checkout";
22
+ readonly en: "The Session Workspace no longer matches its bound Session Target; checkout access has stopped.";
23
+ };
24
+ readonly theSessionHasNotSelectedASessionTarget: {
25
+ readonly zh: "会话尚未选择 Session Target";
26
+ readonly en: "The Session has not selected a Session Target.";
27
+ };
28
+ readonly onlyTheOwnerIsolatedSessionCanPrepareAReview: {
29
+ readonly zh: "只有 owner Isolated 会话可以准备验收";
30
+ readonly en: "Only the owner Isolated Session can prepare a review.";
31
+ };
32
+ readonly theReviewSummaryCommitMessageOrValidationItemsAre: {
33
+ readonly zh: "验收摘要、提交信息或验证项目无效";
34
+ readonly en: "The review summary, commit message, or validation items are invalid.";
35
+ };
36
+ readonly theIsolatedCheckoutRecordDoesNotExist: {
37
+ readonly zh: "Isolated Checkout 记录不存在";
38
+ readonly en: "The Isolated Checkout record does not exist.";
39
+ };
40
+ readonly cannotPrepareAReviewInTheCurrentState: {
41
+ readonly zh: "当前 {p0}/{p1} 状态不能准备验收";
42
+ readonly en: "Cannot prepare a review in the current {p0}/{p1} state.";
43
+ };
44
+ readonly theIsolatedCheckoutIdentityCannotBeVerifiedRecoveryIs: {
45
+ readonly zh: "Isolated Checkout 身份无法确认,需要恢复";
46
+ readonly en: "The Isolated Checkout identity cannot be verified; recovery is required.";
47
+ };
48
+ readonly onlyTheOwnerIsolatedSessionCanSaveACheckpoint: {
49
+ readonly zh: "只有 owner Isolated 会话可以保存阶段";
50
+ readonly en: "Only the owner Isolated Session can save a checkpoint.";
51
+ };
52
+ readonly theCheckpointRequestOrCommitMessageIsInvalid: {
53
+ readonly zh: "Checkpoint 请求或 Commit Message 无效";
54
+ readonly en: "The Checkpoint request or commit message is invalid.";
55
+ };
56
+ readonly theCheckpointRequestIdIsAlreadyUsedByAnotherState: {
57
+ readonly zh: "Checkpoint requestId 已被其他状态使用,请刷新";
58
+ readonly en: "The Checkpoint requestId is already used by another state. Refresh and retry.";
59
+ };
60
+ readonly theSessionTargetHasChangedRefreshAndRetry: {
61
+ readonly zh: "Session Target 已变化,请刷新后重试";
62
+ readonly en: "The Session Target has changed. Refresh and retry.";
63
+ };
64
+ readonly cannotSaveACheckpointInTheCurrentState: {
65
+ readonly zh: "当前 {p0}/{p1} 状态不能保存阶段";
66
+ readonly en: "Cannot save a checkpoint in the current {p0}/{p1} state.";
67
+ };
68
+ readonly theCheckpointReviewOrGenerationHasChangedRefreshAnd: {
69
+ readonly zh: "Checkpoint Review 或 generation 已变化,请刷新后重试";
70
+ readonly en: "The Checkpoint Review or generation has changed. Refresh and retry.";
71
+ };
72
+ readonly anotherTaskIsOccupyingThisProjectSLocalAcceptance: {
73
+ readonly zh: "另一个任务正在占用该项目的 Local 验收槽位";
74
+ readonly en: "Another task is occupying this project's Local acceptance slot.";
75
+ };
76
+ readonly theCheckpointStateChangedBeforeTheHostCASRefresh: {
77
+ readonly zh: "Checkpoint 状态在 Host CAS 前发生变化,请刷新后重试";
78
+ readonly en: "The Checkpoint state changed before the Host CAS. Refresh and retry.";
79
+ };
80
+ readonly previewWasRolledBackButTheCheckoutRecordIs: {
81
+ readonly zh: "Preview 已撤回,但 Checkout 记录丢失";
82
+ readonly en: "Preview was rolled back, but the Checkout record is missing.";
83
+ };
84
+ readonly thereIsNoReviewCheckpointToSave: {
85
+ readonly zh: "当前没有可保存的验收阶段";
86
+ readonly en: "There is no review checkpoint to save.";
87
+ };
88
+ readonly theCheckpointJournalChangedBeforeRetainingTheInternalRef: {
89
+ readonly zh: "Checkpoint journal 在保留内部 ref 前发生变化";
90
+ readonly en: "The Checkpoint journal changed before retaining the internal ref.";
91
+ };
92
+ readonly checkpointWasCreatedButTheCheckoutRecordIsMissing: {
93
+ readonly zh: "Checkpoint 已创建,但 Checkout 记录丢失";
94
+ readonly en: "Checkpoint was created, but the Checkout record is missing.";
95
+ };
96
+ readonly onlyTheOwnerIsolatedSessionCanResumeEditing: {
97
+ readonly zh: "只有 owner Isolated 会话可以恢复编辑";
98
+ readonly en: "Only the owner Isolated Session can resume editing.";
99
+ };
100
+ readonly theCurrentWorktreeHasNoUnsyncedReviewToResume: {
101
+ readonly zh: "当前 Worktree 没有可恢复编辑的未同步验收稿";
102
+ readonly en: "The current Worktree has no unsynced review to resume editing.";
103
+ };
104
+ readonly thisReviewCardIsNoLongerTheCurrentReview: {
105
+ readonly zh: "该验收卡已不是当前 Review,请刷新后重试";
106
+ readonly en: "This review card is no longer the current Review. Refresh and retry.";
107
+ };
108
+ readonly theAcceptanceStateChangedBeforeResumingEditingRefreshAnd: {
109
+ readonly zh: "验收状态在恢复编辑前发生变化,请刷新后重试";
110
+ readonly en: "The acceptance state changed before resuming editing. Refresh and retry.";
111
+ };
112
+ readonly theConflictRecoveryIdentityChangedBeforeHostCASRun: {
113
+ readonly zh: "冲突恢复身份在 Host CAS 前已变化,请重新预检";
114
+ readonly en: "The conflict recovery identity changed before Host CAS. Run preflight again.";
115
+ };
116
+ readonly theAcceptanceStateChangedBeforeConflictRecoveryRefreshAnd: {
117
+ readonly zh: "验收状态在冲突恢复前发生变化,请刷新后重试";
118
+ readonly en: "The acceptance state changed before conflict recovery. Refresh and retry.";
119
+ };
120
+ readonly onlyTheOwnerIsolatedSessionCanRequestReviewRegeneration: {
121
+ readonly zh: "只有 owner Isolated 会话可以请求重新生成验收结果";
122
+ readonly en: "Only the owner Isolated Session can request review regeneration.";
123
+ };
124
+ readonly theReadOnlyReviewRegenerationIdentityChangedBeforeHost: {
125
+ readonly zh: "只读验收再生成身份在 Host 授权前已变化";
126
+ readonly en: "The read-only review regeneration identity changed before Host authorization.";
127
+ };
128
+ readonly theReadyReviewChangedBeforeReadOnlyAuthorization: {
129
+ readonly zh: "Ready Review 在只读授权前发生变化";
130
+ readonly en: "The Ready Review changed before read-only authorization.";
131
+ };
132
+ readonly theDetachedPreviewRecoveryProofHasChangedCheckAgain: {
133
+ readonly zh: "Detached Preview Recovery proof 已变化,请重新检查";
134
+ readonly en: "The Detached Preview Recovery proof has changed. Check again.";
135
+ };
136
+ readonly theDetachedPreviewChangedBeforeAnalysisAuthorization: {
137
+ readonly zh: "Detached Preview 在分析授权前发生变化";
138
+ readonly en: "The Detached Preview changed before analysis authorization.";
139
+ };
140
+ readonly recoveryHandoffRequiresANewPreallocatedSessionID: {
141
+ readonly zh: "Recovery handoff 必须使用新的预分配 Session ID";
142
+ readonly en: "Recovery handoff requires a new preallocated Session ID.";
143
+ };
144
+ readonly theRecoveryHandoffSessionIDIsAlreadyInUse: {
145
+ readonly zh: "Recovery handoff Session ID 已被占用";
146
+ readonly en: "The Recovery handoff Session ID is already in use.";
147
+ };
148
+ readonly thePreviousDetachedPreviewIdentityHasChanged: {
149
+ readonly zh: "旧 Detached Preview 身份已变化";
150
+ readonly en: "The previous Detached Preview identity has changed.";
151
+ };
152
+ readonly theOriginalSourceSessionIsUnavailableNoHandoffWorktree: {
153
+ readonly zh: "原始 source Session 不可用,未创建 handoff Worktree";
154
+ readonly en: "The original source Session is unavailable; no handoff Worktree was created.";
155
+ };
156
+ readonly theRecoveryHandoffWorktreeRecordIsMissingAfterCreation: {
157
+ readonly zh: "Recovery handoff Worktree 创建后记录缺失";
158
+ readonly en: "The Recovery handoff Worktree record is missing after creation.";
159
+ };
160
+ readonly aSessionThatInheritedItsSessionTargetCannotPerform: {
161
+ readonly zh: "继承 Session Target 的会话不能执行 Apply";
162
+ readonly en: "A Session that inherited its Session Target cannot perform Apply.";
163
+ };
164
+ readonly localCheckoutDoesNotSupportApply: {
165
+ readonly zh: "Local Checkout 不支持 Apply";
166
+ readonly en: "Local Checkout does not support Apply.";
167
+ };
168
+ readonly cannotApplyInTheCurrentState: {
169
+ readonly zh: "当前 {p0}/{p1} 状态不能 Apply";
170
+ readonly en: "Cannot Apply in the current {p0}/{p1} state.";
171
+ };
172
+ readonly anotherAcceptanceTaskInTheSameProjectIsOccupying: {
173
+ readonly zh: "同一项目已有验收任务正在占用 Local:{p0}";
174
+ readonly en: "Another acceptance task in the same project is occupying Local: {p0}";
175
+ };
176
+ readonly theIsolatedCheckoutStateHasChangedRecoveryIsRequired: {
177
+ readonly zh: "Isolated Checkout 状态已变化,需要恢复";
178
+ readonly en: "The Isolated Checkout state has changed; recovery is required.";
179
+ };
180
+ readonly worktreeChangedAfterBeingMarkedReadyForReviewPrepare: {
181
+ readonly zh: "Worktree 在标记可验收后又发生变化,请重新准备验收";
182
+ readonly en: "Worktree changed after being marked ready for review. Prepare the review again.";
183
+ };
184
+ readonly worktreeChangesWereWrittenToLocalPreviewThroughApplyWorktree: {
185
+ readonly zh: "Worktree 修改已通过 ApplyWorktree 写入 Local Preview";
186
+ readonly en: "Worktree changes were written to Local Preview through ApplyWorktree.";
187
+ };
188
+ readonly choreCommitWorktreeChanges: {
189
+ readonly zh: "chore: 提交 Worktree 修改";
190
+ readonly en: "chore: commit Worktree changes";
191
+ };
192
+ readonly onlyTheOwnerIsolatedSessionCanCheckPreviewRecovery: {
193
+ readonly zh: "只有 owner Isolated 会话可以检查 Preview 恢复";
194
+ readonly en: "Only the owner Isolated Session can check Preview recovery.";
195
+ };
196
+ readonly theSessionTargetHasChangedRefreshBeforeCheckingAgain: {
197
+ readonly zh: "Session Target 已变化,请刷新后重新检查";
198
+ readonly en: "The Session Target has changed. Refresh before checking again.";
199
+ };
200
+ readonly theCurrentStateIsNotTheSpecifiedDetachedPreview: {
201
+ readonly zh: "当前并非指定的 detached Preview 恢复状态";
202
+ readonly en: "The current state is not the specified detached Preview recovery state.";
203
+ };
204
+ readonly theWorktreeIdentityPathOrGitStateCannotCurrently: {
205
+ readonly zh: "Worktree 身份、路径或 Git 状态暂时无法确认";
206
+ readonly en: "The Worktree identity, path, or Git state cannot currently be verified.";
207
+ };
208
+ readonly previewRetainedArtifactsAreMissingOrDoNotMatch: {
209
+ readonly zh: "Preview retained artifacts 缺失或与 receipt 不一致";
210
+ readonly en: "Preview retained artifacts are missing or do not match the receipt.";
211
+ };
212
+ readonly thePreviewRecoveryStateChangedDuringTheCheck: {
213
+ readonly zh: "Preview 恢复状态在检查期间发生变化";
214
+ readonly en: "The Preview recovery state changed during the check.";
215
+ };
216
+ readonly previewRetainedArtifactsChangedDuringTheCheck: {
217
+ readonly zh: "Preview retained artifacts 在检查期间发生变化";
218
+ readonly en: "Preview retained artifacts changed during the check.";
219
+ };
220
+ readonly previewRecoveryCheckFailed: {
221
+ readonly zh: "Preview 恢复检查失败";
222
+ readonly en: "Preview recovery check failed.";
223
+ };
224
+ readonly onlyTheOwnerIsolatedSessionCanRunSyncPreflight: {
225
+ readonly zh: "只有 owner Isolated 会话可以执行同步预检";
226
+ readonly en: "Only the owner Isolated Session can run sync preflight.";
227
+ };
228
+ readonly theSessionTargetHasChangedRefreshBeforeRunningPreflight: {
229
+ readonly zh: "Session Target 已变化,请刷新后重新预检";
230
+ readonly en: "The Session Target has changed. Refresh before running preflight again.";
231
+ };
232
+ readonly theCurrentWorktreeIsNotReadyForReview: {
233
+ readonly zh: "当前 Worktree 尚未处于可验收状态";
234
+ readonly en: "The current Worktree is not ready for review.";
235
+ };
236
+ readonly theSessionTargetChangedDuringPreflightRefreshAndRetry: {
237
+ readonly zh: "Session Target 在预检期间发生变化,请刷新后重试";
238
+ readonly en: "The Session Target changed during preflight. Refresh and retry.";
239
+ };
240
+ readonly worktreeChangedAfterTheReviewWasPreparedRegenerateThe: {
241
+ readonly zh: "Worktree 在准备验收后发生变化,请重新生成验收结果";
242
+ readonly en: "Worktree changed after the review was prepared. Regenerate the review.";
243
+ };
244
+ readonly onlyTheOwnerIsolatedSessionCanSyncAReview: {
245
+ readonly zh: "只有 owner Isolated 会话可以同步验收";
246
+ readonly en: "Only the owner Isolated Session can sync a review.";
247
+ };
248
+ readonly theAcceptanceStateHasChangedRefreshAndRetry: {
249
+ readonly zh: "验收状态已变化,请刷新后重试";
250
+ readonly en: "The acceptance state has changed. Refresh and retry.";
251
+ };
252
+ readonly thereIsNoLocalPreviewToRelease: {
253
+ readonly zh: "当前没有可解除的 Local Preview";
254
+ readonly en: "There is no Local Preview to release.";
255
+ };
256
+ readonly thePreviewStateHasChangedRefreshAndRetry: {
257
+ readonly zh: "Preview 状态已变化,请刷新后重试";
258
+ readonly en: "The Preview state has changed. Refresh and retry.";
259
+ };
260
+ readonly onlyTheOwnerIsolatedSessionCanRollBackAcceptance: {
261
+ readonly zh: "只有 owner Isolated 会话可以撤回验收";
262
+ readonly en: "Only the owner Isolated Session can roll back acceptance.";
263
+ };
264
+ readonly thereIsNoLocalPreviewToRollBack: {
265
+ readonly zh: "当前没有可撤回的 Local Preview";
266
+ readonly en: "There is no Local Preview to roll back.";
267
+ };
268
+ readonly thePreviewRecoveryProofHasExpiredOrDoesNot: {
269
+ readonly zh: "Preview Recovery proof 已过期或不匹配,请重新检查";
270
+ readonly en: "The Preview Recovery proof has expired or does not match. Check again.";
271
+ };
272
+ readonly onlyTheOwnerIsolatedSessionCanFinalizeTheAcceptance: {
273
+ readonly zh: "只有 owner Isolated 会话可以完成验收提交";
274
+ readonly en: "Only the owner Isolated Session can finalize the acceptance commit.";
275
+ };
276
+ readonly thereIsNoLocalPreviewAwaitingAcceptance: {
277
+ readonly zh: "当前没有等待验收的 Local Preview";
278
+ readonly en: "There is no Local Preview awaiting acceptance.";
279
+ };
280
+ readonly theCommitWasCreatedButTheCheckoutRecordIs: {
281
+ readonly zh: "提交已创建,但 Checkout 记录丢失";
282
+ readonly en: "The commit was created, but the Checkout record is missing.";
283
+ };
284
+ readonly theCommitWasCreatedButSavingTheRetainedWorktree: {
285
+ readonly zh: "提交已创建,但保留 Worktree 状态写入失败";
286
+ readonly en: "The commit was created, but saving the retained Worktree state failed.";
287
+ };
288
+ readonly onlyTheOwnerIsolatedSessionCanRetryCleanup: {
289
+ readonly zh: "只有 owner Isolated 会话可以重试清理";
290
+ readonly en: "Only the owner Isolated Session can retry cleanup.";
291
+ };
292
+ readonly thereIsNoWorktreeCleanupToRetry: {
293
+ readonly zh: "当前没有待重试的 Worktree 清理";
294
+ readonly en: "There is no Worktree cleanup to retry.";
295
+ };
296
+ readonly aSessionThatInheritedItsSessionTargetCannotPerform162: {
297
+ readonly zh: "继承 Session Target 的会话不能执行 Finish";
298
+ readonly en: "A Session that inherited its Session Target cannot perform Finish.";
299
+ };
300
+ readonly localCheckoutDoesNotSupportFinish: {
301
+ readonly zh: "Local Checkout 不支持 Finish";
302
+ readonly en: "Local Checkout does not support Finish.";
303
+ };
304
+ readonly thisReviewCardIsNoLongerTheCurrentReview166: {
305
+ readonly zh: "该验收卡已不是当前 Review,请刷新并确认最新交付";
306
+ readonly en: "This review card is no longer the current Review. Refresh and confirm the latest delivery.";
307
+ };
308
+ readonly thisLegacyWorktreeWasWrittenToLocalThroughAn: {
309
+ readonly zh: "该历史 Worktree 已通过旧版 Apply 写入 Local;为避免遗漏或重复提交,已禁止自动 Finish,请先人工核对 Local 后再清理记录。";
310
+ readonly en: "This legacy Worktree was written to Local through an older Apply. Automatic Finish is disabled to avoid missing or duplicate commits. Check Local manually before cleaning up the record.";
311
+ };
312
+ readonly cannotFinishDirectlyInTheCurrentState: {
313
+ readonly zh: "当前 {p0}/{p1} 状态不能直接 Finish";
314
+ readonly en: "Cannot Finish directly in the current {p0}/{p1} state.";
315
+ };
316
+ readonly worktreeChangedAfterReviewPrepareTheReviewAgain: {
317
+ readonly zh: "Worktree 在验收后又发生变化,请重新准备验收";
318
+ readonly en: "Worktree changed after review. Prepare the review again.";
319
+ };
320
+ readonly skipLocalAcceptanceAndCommitDirectly: {
321
+ readonly zh: "跳过 Local 验收并直接提交";
322
+ readonly en: "Skip Local acceptance and commit directly.";
323
+ };
324
+ readonly theTaskCommitWasCreatedButTheCheckoutRecord: {
325
+ readonly zh: "任务提交已创建,但 Checkout 记录丢失,需要人工检查";
326
+ readonly en: "The task commit was created, but the Checkout record is missing. Manual inspection is required.";
327
+ };
328
+ readonly theTaskCommitWasCreatedButSavingTheRetained: {
329
+ readonly zh: "任务提交已创建,但保留 Worktree 状态写入失败";
330
+ readonly en: "The task commit was created, but saving the retained Worktree state failed.";
331
+ };
332
+ readonly aSessionThatInheritedItsSessionTargetCannotPerform178: {
333
+ readonly zh: "继承 Session Target 的会话不能执行 Discard";
334
+ readonly en: "A Session that inherited its Session Target cannot perform Discard.";
335
+ };
336
+ readonly localCheckoutDoesNotSupportDiscard: {
337
+ readonly zh: "Local Checkout 不支持 Discard";
338
+ readonly en: "Local Checkout does not support Discard.";
339
+ };
340
+ readonly localPreviewDriftedIntoDetachedRecoveryToPreserveRecovery: {
341
+ readonly zh: "Local Preview 已因漂移进入 detached 恢复态;为保留恢复证据,不能删除 Worktree。请先成功撤回 Preview。";
342
+ readonly en: "Local Preview drifted into detached recovery. To preserve recovery evidence, this Worktree cannot be deleted. Successfully roll back Preview first.";
343
+ };
344
+ readonly thisLegacyWorktreeWasWrittenToLocalThroughAn183: {
345
+ readonly zh: "该历史 Worktree 已通过旧版 Apply 写入 Local;不会自动 Discard,请先人工核对 Local 的未提交修改。";
346
+ readonly en: "This legacy Worktree was written to Local through an older Apply. Automatic Discard is disabled. Check Local's uncommitted changes manually first.";
347
+ };
348
+ readonly thisTaskIsPreviewingInLocalSafelyRollBack: {
349
+ readonly zh: "本任务正在 Local 预览;放弃任务前必须先安全撤回 Preview";
350
+ readonly en: "This task is previewing in Local. Safely roll back Preview before discarding the task.";
351
+ };
352
+ readonly cannotDiscardInTheCurrentState: {
353
+ readonly zh: "当前 {p0} 状态不能 Discard";
354
+ readonly en: "Cannot Discard in the current {p0} state.";
355
+ };
356
+ readonly confirmationWillPermanentlyDeleteCheckpointsNotYetDeliveredTo: {
357
+ readonly zh: ";确认后会永久删除 {p0} 个尚未交付到 Local 的阶段";
358
+ readonly en: "; confirmation will permanently delete {p0} checkpoints not yet delivered to Local";
359
+ };
360
+ readonly theIsolatedCheckoutHasUncommittedChangesUndeliveredCheckpointsOr: {
361
+ readonly zh: "Isolated Checkout 含未提交修改、未交付阶段或状态无法确认,需要明确确认{p0}";
362
+ readonly en: "The Isolated Checkout has uncommitted changes, undelivered checkpoints, or an unverified state. Explicit confirmation is required{p0}";
363
+ };
364
+ readonly failedToDeleteTheManagedCheckout: {
365
+ readonly zh: "删除 managed checkout 失败";
366
+ readonly en: "Failed to delete the managed checkout.";
367
+ };
368
+ readonly aSessionThatInheritedItsSessionTargetCannotPerform192: {
369
+ readonly zh: "继承 Session Target 的会话不能执行 Recover";
370
+ readonly en: "A Session that inherited its Session Target cannot perform Recover.";
371
+ };
372
+ readonly localCheckoutDoesNotSupportRecover: {
373
+ readonly zh: "Local Checkout 不支持 Recover";
374
+ readonly en: "Local Checkout does not support Recover.";
375
+ };
376
+ readonly cannotSafelyDetermineWhetherApplyModifiedLocalItWill: {
377
+ readonly zh: "Apply 是否已修改 Local 无法安全确认;不会自动重试或猜测成功";
378
+ readonly en: "Cannot safely determine whether Apply modified Local. It will not retry automatically or assume success.";
379
+ };
380
+ readonly theIsolatedCheckoutIsMissingOnlyAnExplicitDiscard: {
381
+ readonly zh: "Isolated Checkout 缺失,只能由 owner 明确 Discard 收口";
382
+ readonly en: "The Isolated Checkout is missing. Only an explicit Discard by its owner can close it.";
383
+ };
384
+ readonly theIsolatedCheckoutPathGitIdentityProjectHEADOr: {
385
+ readonly zh: "Isolated Checkout 的路径、Git 身份、项目、HEAD 或状态无法完整确认";
386
+ readonly en: "The Isolated Checkout path, Git identity, project, HEAD, or state cannot be fully verified.";
387
+ };
388
+ readonly deletedAgentSession: {
389
+ readonly zh: "已删除的 Agent 会话";
390
+ readonly en: "Deleted Agent Session";
391
+ };
392
+ readonly theCurrentIterationIsStillBeingEditedAndHas: {
393
+ readonly zh: "当前轮次仍在修改,尚未形成可清理的交付环境。";
394
+ readonly en: "The current iteration is still being edited and has no delivered environment to clean up.";
395
+ };
396
+ readonly theCurrentIterationIsAwaitingAcceptanceAndCannotBe: {
397
+ readonly zh: "当前轮次正在等待验收,不能清理。";
398
+ readonly en: "The current iteration is awaiting acceptance and cannot be cleaned up.";
399
+ };
400
+ readonly localPreviewHasNotBeenSafelyResolvedAndCannot: {
401
+ readonly zh: "Local Preview 尚未完成安全收口,不能清理。";
402
+ readonly en: "Local Preview has not been safely resolved and cannot be cleaned up.";
403
+ };
404
+ readonly worktreeHasBeenDeliveredAndReleasedFromManagementNo: {
405
+ readonly zh: "Worktree 已交付并解除管理,无需再次清理。";
406
+ readonly en: "Worktree has been delivered and released from management. No further cleanup is needed.";
407
+ };
408
+ readonly theLocalCheckoutIdentityCannotBeVerifiedThisIteration: {
409
+ readonly zh: "Local checkout identity 无法验证,不能证明本轮交付仍存在。";
410
+ readonly en: "The Local checkout identity cannot be verified; this iteration's delivery cannot be proven to exist.";
411
+ };
412
+ readonly thisIterationSDeliveryCommitIsNoLongerIn: {
413
+ readonly zh: "本轮交付 commit 已不在 Local 历史中,不能清理环境。";
414
+ readonly en: "This iteration's delivery commit is no longer in Local history. The environment cannot be cleaned up.";
415
+ };
416
+ readonly cannotVerifyWhetherThisIterationSDeliveryCommitIs: {
417
+ readonly zh: "无法验证本轮交付 commit 是否仍在 Local 历史中。";
418
+ readonly en: "Cannot verify whether this iteration's delivery commit is still in Local history.";
419
+ };
420
+ readonly theCleanupDirectoryIdentityCannotBeReverifiedTheEnvironment: {
421
+ readonly zh: "清理目录身份无法重新验证,已保留环境。";
422
+ readonly en: "The cleanup directory identity cannot be reverified. The environment was preserved.";
423
+ };
424
+ readonly theWorktreeCheckoutIdentityCannotBeVerifiedTheEnvironment: {
425
+ readonly zh: "Worktree checkout identity 无法验证,已保留环境。";
426
+ readonly en: "The Worktree checkout identity cannot be verified. The environment was preserved.";
427
+ };
428
+ readonly newChangesWereDetectedAfterCommitOrRetentionBulk: {
429
+ readonly zh: "提交或保留后检测到新增修改,不能批量清理。";
430
+ readonly en: "New changes were detected after commit or retention. Bulk cleanup is not allowed.";
431
+ };
432
+ readonly cannotProveTheCurrentWorktreeStateIsSafeThe: {
433
+ readonly zh: "无法证明 Worktree 当前状态安全,已保留环境。";
434
+ readonly en: "Cannot prove the current Worktree state is safe. The environment was preserved.";
435
+ };
436
+ readonly thePreviousCleanupDidNotFinishRevalidateAndRetry: {
437
+ readonly zh: "上次清理未完成,可重新校验后重试。";
438
+ readonly en: "The previous cleanup did not finish. Revalidate and retry.";
439
+ };
440
+ readonly retainedManuallyAtTheUserSRequest: {
441
+ readonly zh: "按用户选择手动保留。";
442
+ readonly en: "Retained manually at the user's request.";
443
+ };
444
+ readonly theRetentionPeriodHasNotExpired: {
445
+ readonly zh: "保留期限尚未到期。";
446
+ readonly en: "The retention period has not expired.";
447
+ };
448
+ readonly readOnlySafetyInspectionPassedCleanupIsAvailable: {
449
+ readonly zh: "已通过只读安全巡检,可以清理。";
450
+ readonly en: "Read-only safety inspection passed. Cleanup is available.";
451
+ };
452
+ readonly theWorktreeRevisionHasChangedCleanupWasNotPerformed: {
453
+ readonly zh: "Worktree revision 已变化,未执行清理。";
454
+ readonly en: "The Worktree revision has changed. Cleanup was not performed.";
455
+ };
456
+ readonly worktreeChangedBeforeCleanupCleanupWasNotPerformed: {
457
+ readonly zh: "Worktree 在清理前发生变化,未执行清理。";
458
+ readonly en: "Worktree changed before cleanup. Cleanup was not performed.";
459
+ };
460
+ readonly theWorktreeRecordDoesNotExist: {
461
+ readonly zh: "Worktree 记录不存在";
462
+ readonly en: "The Worktree record does not exist.";
463
+ };
464
+ readonly theCurrentSessionIsNotAllowedToManageThis: {
465
+ readonly zh: "当前 Session 无权管理该 Worktree";
466
+ readonly en: "The current Session is not allowed to manage this Worktree.";
467
+ };
468
+ readonly theOwnerSessionHasTakenOverThisWorktreeOnly: {
469
+ readonly zh: "Owner Session 已接管该 Worktree,只有 owner 可以管理";
470
+ readonly en: "The owner Session has taken over this Worktree. Only the owner can manage it.";
471
+ };
472
+ readonly theCurrentSessionAndWorktreeDoNotBelongTo: {
473
+ readonly zh: "当前 Session 与 Worktree 不属于同一原始项目";
474
+ readonly en: "The current Session and Worktree do not belong to the same original project.";
475
+ };
476
+ readonly theWorktreeStateHasChangedRefreshAndRetry: {
477
+ readonly zh: "Worktree 状态已变化,请刷新后重试";
478
+ readonly en: "The Worktree state has changed. Refresh and retry.";
479
+ };
480
+ readonly onlyRetainedFrozenWorktreesCanHaveTheirRetentionPeriod: {
481
+ readonly zh: "只有已保留的冻结 Worktree 可以调整保留期限";
482
+ readonly en: "Only retained, frozen Worktrees can have their retention period changed.";
483
+ };
484
+ readonly theCurrentWorktreeIsNotInACleanableState: {
485
+ readonly zh: "当前 Worktree 不处于可清理状态";
486
+ readonly en: "The current Worktree is not in a cleanable state.";
487
+ };
488
+ readonly theWorktreeDirectoryNoLongerExists: {
489
+ readonly zh: "Worktree 目录已不存在";
490
+ readonly en: "The Worktree directory no longer exists.";
491
+ };
492
+ readonly theWorktreeDirectoryIdentityCannotBeVerified: {
493
+ readonly zh: "Worktree 目录身份无法验证";
494
+ readonly en: "The Worktree directory identity cannot be verified.";
495
+ };
496
+ readonly onlyADeliveredIsolatedSessionCanBeginTheNext: {
497
+ readonly zh: "只有已交付的 Isolated Session 可以开始下一轮";
498
+ readonly en: "Only a delivered Isolated Session can begin the next iteration.";
499
+ };
500
+ readonly thePreviousIterationSWorktreeRecordDoesNotExist: {
501
+ readonly zh: "上一轮 Worktree 记录不存在";
502
+ readonly en: "The previous iteration's Worktree record does not exist.";
503
+ };
504
+ readonly onlyTheOwnerSessionCanBeginTheNextIteration: {
505
+ readonly zh: "只有 owner Session 可以开始下一轮";
506
+ readonly en: "Only the owner Session can begin the next iteration.";
507
+ };
508
+ readonly theWorktreeStateHasChangedRefreshBeforeBeginningThe: {
509
+ readonly zh: "Worktree 状态已变化,请刷新后再开始下一轮";
510
+ readonly en: "The Worktree state has changed. Refresh before beginning the next iteration.";
511
+ };
512
+ readonly onlyADeliveredStateWithSuccessfulCleanupCanBegin: {
513
+ readonly zh: "只有已成功清理的交付状态可以开始下一轮";
514
+ readonly en: "Only a delivered state with successful cleanup can begin the next iteration.";
515
+ };
516
+ readonly theCurrentSessionIsNotAssociatedWithAWorkspace: {
517
+ readonly zh: "当前 Session 尚未关联 Workspace";
518
+ readonly en: "The current Session is not associated with a Workspace.";
519
+ };
520
+ readonly theCurrentSessionSImmutableCwdDoesNotMatch: {
521
+ readonly zh: "当前 Session 的 immutable cwd 与上一轮 Worktree 不一致";
522
+ readonly en: "The current Session's immutable cwd does not match the previous iteration's Worktree.";
523
+ };
524
+ readonly thePreviousIterationSWorktreePathHasReappearedUnknown: {
525
+ readonly zh: "上一轮 Worktree 路径已重新出现,拒绝覆盖未知内容";
526
+ readonly en: "The previous iteration's Worktree path has reappeared. Unknown content will not be overwritten.";
527
+ };
528
+ readonly theOriginalLocalProjectIsUnavailableTheNextIteration: {
529
+ readonly zh: "原始 Local 项目已不可用,不能开始下一轮";
530
+ readonly en: "The original Local project is unavailable. The next iteration cannot begin.";
531
+ };
532
+ readonly theOriginalLocalProjectIdentityHasChanged: {
533
+ readonly zh: "原始 Local 项目身份已变化";
534
+ readonly en: "The original Local project identity has changed.";
535
+ };
536
+ readonly theOriginalLocalGitIdentityHasChanged: {
537
+ readonly zh: "原始 Local Git 身份已变化";
538
+ readonly en: "The original Local Git identity has changed.";
539
+ };
540
+ readonly theProjectRootIsNotInsideItsGitCheckout: {
541
+ readonly zh: "项目根目录不在其 Git checkout 内";
542
+ readonly en: "The project root is not inside its Git checkout.";
543
+ };
544
+ readonly thePreviousIterationSManagedProjectPathCannotBe: {
545
+ readonly zh: "上一轮 managed project 路径无法从 Local 身份重建";
546
+ readonly en: "The previous iteration's managed project path cannot be reconstructed from the Local identity.";
547
+ };
548
+ readonly theWorktreeContainerIsNotATrustedDirectory: {
549
+ readonly zh: "Worktree 容器不是可信目录";
550
+ readonly en: "The Worktree container is not a trusted directory.";
551
+ };
552
+ readonly theWorktreeContainerPathHasBeenRedirected: {
553
+ readonly zh: "Worktree 容器路径已被重定向";
554
+ readonly en: "The Worktree container path has been redirected.";
555
+ };
556
+ readonly theNextIterationSCheckoutGitIdentityDoesNot: {
557
+ readonly zh: "下一轮 checkout 的 Git 身份不匹配";
558
+ readonly en: "The next iteration's checkout Git identity does not match.";
559
+ };
560
+ readonly theStateChangedWhileCreatingTheNextIterationS: {
561
+ readonly zh: "下一轮 Worktree 创建期间状态已变化";
562
+ readonly en: "The state changed while creating the next iteration's Worktree.";
563
+ };
564
+ readonly creatingTheNextIterationSWorktreeFailedAndIts: {
565
+ readonly zh: "下一轮 Worktree 创建失败且残余目录包含未知内容,已保留现场";
566
+ readonly en: "Creating the next iteration's Worktree failed and its remaining directory contains unknown content. The environment was preserved.";
567
+ };
568
+ readonly theSessionIsAlreadyBoundToASessionTarget: {
569
+ readonly zh: "会话已经绑定 Session Target,不能切换";
570
+ readonly en: "The Session is already bound to a Session Target and cannot switch.";
571
+ };
572
+ readonly aNonGitProjectCannotCreateAnIsolatedCheckout: {
573
+ readonly zh: "非 Git 项目不能创建 Isolated Checkout";
574
+ readonly en: "A non-Git project cannot create an Isolated Checkout.";
575
+ };
576
+ readonly theFallbackWorktreeContainerIsNotATrustedDirectory: {
577
+ readonly zh: "Worktree 回退容器不是可信目录,未创建或修改任何 checkout";
578
+ readonly en: "The fallback Worktree container is not a trusted directory. No checkout was created or modified.";
579
+ };
580
+ readonly allWorktreeCheckoutIdentityPathsAlreadyExistUnknownDirectories: {
581
+ readonly zh: "Worktree Checkout identity 路径均已存在,拒绝覆盖未知目录";
582
+ readonly en: "All Worktree Checkout identity paths already exist. Unknown directories will not be overwritten.";
583
+ };
584
+ readonly theNewCheckoutSGitCommonDirectoryDoesNot: {
585
+ readonly zh: "新建 checkout 的 Git common dir 不匹配";
586
+ readonly en: "The new checkout's Git common directory does not match.";
587
+ };
588
+ readonly worktreeCreationFailedAndTheRemainingDirectoryContainsUnknown: {
589
+ readonly zh: "Worktree 创建失败且残余目录包含未知内容,已保留现场,请查看原因或改用新会话";
590
+ readonly en: "Worktree creation failed and the remaining directory contains unknown content. The environment was preserved. Check the cause or use a new Session.";
591
+ };
592
+ readonly worktreeCreationFailedTheRemainingDirectoryWasSafelyCleaned: {
593
+ readonly zh: "Worktree 创建失败,已安全清理残余目录,可直接重试";
594
+ readonly en: "Worktree creation failed. The remaining directory was safely cleaned up; you can retry.";
595
+ };
596
+ readonly anIsolatedTargetRequiresASeparatePreallocatedSessionID: {
597
+ readonly zh: "Isolated Target 必须使用独立的预分配 Session ID";
598
+ readonly en: "An Isolated Target requires a separate preallocated Session ID.";
599
+ };
600
+ readonly theTargetSessionIDIsAlreadyUsedByAnother: {
601
+ readonly zh: "目标 Session ID 已被其他 Workspace 使用";
602
+ readonly en: "The target Session ID is already used by another Workspace.";
603
+ };
604
+ readonly aNewIsolatedTargetCanOnlyBeCreatedFrom: {
605
+ readonly zh: "只能从 Local Session 创建新的 Isolated Target";
606
+ readonly en: "A new Isolated Target can only be created from a Local Session.";
607
+ };
608
+ readonly theIsolatedTargetRecordIsMissingAfterCreation: {
609
+ readonly zh: "Isolated Target 创建后记录缺失";
610
+ readonly en: "The Isolated Target record is missing after creation.";
611
+ };
612
+ readonly gitExitedWithCode: {
613
+ readonly zh: "git 命令退出码为 {p0}";
614
+ readonly en: "git exited with code {p0}";
615
+ };
616
+ readonly gitCommandTimedOut: {
617
+ readonly zh: "git 命令超时:{p0}";
618
+ readonly en: "git command timed out: {p0}";
619
+ };
620
+ readonly theLocalBranchHasChangedPreviewCannotBeRolled: {
621
+ readonly zh: "Local branch 已变化,不能自动撤回 Preview";
622
+ readonly en: "The Local branch has changed. Preview cannot be rolled back automatically.";
623
+ };
624
+ readonly localHEADIsNotASafeFastForwardFrom: {
625
+ readonly zh: "Local HEAD 不是 Preview 基线的安全快进,不能自动撤回";
626
+ readonly en: "Local HEAD is not a safe fast-forward from the Preview base. Automatic rollback is not allowed.";
627
+ };
628
+ readonly newLocalCommitsConflictWithPrePreviewLocalChanges: {
629
+ readonly zh: "Local 新提交与 Preview 前的本地修改冲突,无法安全撤回:{p0}";
630
+ readonly en: "New Local commits conflict with pre-Preview local changes. Safe rollback is not possible: {p0}";
631
+ };
632
+ readonly newLocalCommitsConflictWithThePreviewTaskChanges: {
633
+ readonly zh: "Local 新提交与 Preview 任务增量冲突,无法安全撤回:{p0}";
634
+ readonly en: "New Local commits conflict with the Preview task changes. Safe rollback is not possible: {p0}";
635
+ };
636
+ readonly newLocalCommitsAlreadyContainSomeOrAllPreview: {
637
+ readonly zh: "Local 新提交已经包含部分或全部 Preview 增量,不能通过撤回工作区改动来改写已提交历史";
638
+ readonly en: "New Local commits already contain some or all Preview changes. Rolling back workspace changes cannot rewrite committed history.";
639
+ };
640
+ readonly localHasAdditionalChangesInThePreviewAreaSafe: {
641
+ readonly zh: "Local 在 Preview 区域出现额外修改,无法安全撤回:{p0}";
642
+ readonly en: "Local has additional changes in the Preview area. Safe rollback is not possible: {p0}";
643
+ };
644
+ readonly localIsNotOnANormalBranchATask: {
645
+ readonly zh: "Local 当前不是普通分支,不能自动创建任务提交";
646
+ readonly en: "Local is not on a normal branch. A task commit cannot be created automatically.";
647
+ };
648
+ readonly theLocalBranchHasChangedThePreviewCommitCannot: {
649
+ readonly zh: "Local branch 已变化,不能完成 Preview 提交";
650
+ readonly en: "The Local branch has changed. The Preview commit cannot be finalized.";
651
+ };
652
+ readonly localHEADIsNotASafeFastForwardFrom281: {
653
+ readonly zh: "Local HEAD 不是 Preview 基线的安全快进,不能完成 Preview 提交";
654
+ readonly en: "Local HEAD is not a safe fast-forward from the Preview base. The Preview commit cannot be finalized.";
655
+ };
656
+ readonly localHasAdditionalChangesInThePreviewAreaA: {
657
+ readonly zh: "Local 在 Preview 区域出现额外修改,无法可靠提交:{p0}";
658
+ readonly en: "Local has additional changes in the Preview area. A reliable commit is not possible: {p0}";
659
+ };
660
+ readonly previewTaskChangesCannotBeReliablySeparatedFromThe: {
661
+ readonly zh: "Preview 任务增量无法与最新 Local HEAD 可靠拆分:{p0}";
662
+ readonly en: "Preview task changes cannot be reliably separated from the latest Local HEAD: {p0}";
663
+ };
664
+ readonly previewTaskChangesAreAlreadyInLocalHEADNo: {
665
+ readonly zh: "Preview 任务增量已经进入 Local HEAD;不会创建重复或空提交";
666
+ readonly en: "Preview task changes are already in Local HEAD. No duplicate or empty commit will be created.";
667
+ };
668
+ readonly thePreviewCommitCannotBeReliablySeparatedFromLocal: {
669
+ readonly zh: "Preview 提交与 Local staged 修改无法可靠分离:{p0}";
670
+ readonly en: "The Preview commit cannot be reliably separated from Local staged changes: {p0}";
671
+ };
672
+ readonly invalidCheckpointInput: {
673
+ readonly zh: "Checkpoint 输入无效";
674
+ readonly en: "Invalid Checkpoint input.";
675
+ };
676
+ readonly theCheckpointProjectDirectoryDoesNotBelongToThe: {
677
+ readonly zh: "Checkpoint 项目目录不属于当前 Worktree";
678
+ readonly en: "The Checkpoint project directory does not belong to the current Worktree.";
679
+ };
680
+ readonly checkpointCanOnlyWriteToADetachedManagedWorktree: {
681
+ readonly zh: "Checkpoint 只允许写入 detached managed Worktree";
682
+ readonly en: "Checkpoint can only write to a detached managed Worktree.";
683
+ };
684
+ readonly worktreeChangedAfterPreparingTheReviewTheCheckpointCannot: {
685
+ readonly zh: "Worktree 在准备验收后发生变化,不能保存阶段";
686
+ readonly en: "Worktree changed after preparing the review. The checkpoint cannot be saved.";
687
+ };
688
+ readonly worktreeContainsChangesOutsideTheProjectRootTheCheckpoint: {
689
+ readonly zh: "Worktree 包含项目根目录外的变更,不能保存阶段";
690
+ readonly en: "Worktree contains changes outside the project root. The checkpoint cannot be saved.";
691
+ };
692
+ readonly theCurrentCheckpointHasNoNewChangesToSave: {
693
+ readonly zh: "当前阶段没有可保存的新修改";
694
+ readonly en: "The current checkpoint has no new changes to save.";
695
+ };
696
+ readonly worktreeChangedBeforeSavingTheCheckpointPrepareTheReview: {
697
+ readonly zh: "Worktree 在保存阶段前发生变化,请重新准备验收";
698
+ readonly en: "Worktree changed before saving the checkpoint. Prepare the review again.";
699
+ };
700
+ readonly checkpointIndexWriteFailedAndHEADCouldNotBe: {
701
+ readonly zh: "Checkpoint index 写入失败且 HEAD 无法回滚:{p0};{p1}";
702
+ readonly en: "Checkpoint index write failed and HEAD could not be rolled back: {p0}; {p1}";
703
+ };
704
+ readonly checkpointWriteFailedAndWasRolledBack: {
705
+ readonly zh: "Checkpoint 写入失败,已回滚:{p0}";
706
+ readonly en: "Checkpoint write failed and was rolled back: {p0}";
707
+ };
708
+ readonly checkpointWasWrittenButWorktreeDidNotReachA: {
709
+ readonly zh: "Checkpoint 已写入,但 Worktree 未收敛到 clean 状态";
710
+ readonly en: "Checkpoint was written, but Worktree did not reach a clean state.";
711
+ };
712
+ readonly cannotVerifyTheCheckpointAfterWritingTheEnvironmentMust: {
713
+ readonly zh: "Checkpoint 写后无法完成验证,需要保留现场确认:{p0}";
714
+ readonly en: "Cannot verify the Checkpoint after writing. The environment must be preserved for inspection: {p0}";
715
+ };
716
+ readonly anotherGitOperationIsUpdatingTheWorktreeIndexRetry: {
717
+ readonly zh: "Worktree index 正在被其他 Git 操作更新,请重试";
718
+ readonly en: "Another Git operation is updating the Worktree index. Retry later.";
719
+ };
720
+ readonly invalidCheckpointRecoveryOID: {
721
+ readonly zh: "Checkpoint 恢复 OID 无效";
722
+ readonly en: "Invalid Checkpoint recovery OID.";
723
+ };
724
+ readonly worktreeNoLongerHasADetachedHEAD: {
725
+ readonly zh: "Worktree 已不再是 detached HEAD";
726
+ readonly en: "Worktree no longer has a detached HEAD.";
727
+ };
728
+ readonly cannotProveTheRemainingIndexLockBelongsToThe: {
729
+ readonly zh: "遗留 index.lock 无法证明属于当前 Checkpoint,已保留现场";
730
+ readonly en: "Cannot prove the remaining index.lock belongs to the current Checkpoint. The environment was preserved.";
731
+ };
732
+ readonly worktreeHEADDoesNotMatchTheCheckpointBeingRecovered: {
733
+ readonly zh: "Worktree HEAD 与待恢复 Checkpoint 不一致";
734
+ readonly en: "Worktree HEAD does not match the Checkpoint being recovered.";
735
+ };
736
+ readonly worktreeHasNewChangesAfterCheckpointInterruptionTheIndex: {
737
+ readonly zh: "Worktree 在 Checkpoint 中断后出现新修改,不能自动恢复 index";
738
+ readonly en: "Worktree has new changes after Checkpoint interruption. The index cannot be recovered automatically.";
739
+ };
740
+ readonly theIndexHasNewStagedChangesAfterCheckpointInterruption: {
741
+ readonly zh: "Checkpoint 中断后 index 出现新 staged 修改,不能自动覆盖";
742
+ readonly en: "The index has new staged changes after Checkpoint interruption. Automatic overwrite is not allowed.";
743
+ };
744
+ readonly theRemainingIndexLockDoesNotMatchTheCheckpoint: {
745
+ readonly zh: "遗留 index.lock 与 Checkpoint 目标不一致,已保留现场";
746
+ readonly en: "The remaining index.lock does not match the Checkpoint target. The environment was preserved.";
747
+ };
748
+ readonly worktreeOrItsIndexChangedBeforeAcquiringTheCheckpoint: {
749
+ readonly zh: "Checkpoint 恢复加锁前 Worktree 或 index 已变化";
750
+ readonly en: "Worktree or its index changed before acquiring the Checkpoint recovery lock.";
751
+ };
752
+ readonly worktreeIsStillNotCleanAfterCheckpointIndexRecovery: {
753
+ readonly zh: "Checkpoint index 恢复后仍未收敛到 clean 状态";
754
+ readonly en: "Worktree is still not clean after Checkpoint index recovery.";
755
+ };
756
+ readonly invalidSessionBaseOIDFormat: {
757
+ readonly zh: "Session Base OID 格式无效";
758
+ readonly en: "Invalid Session Base OID format.";
759
+ };
760
+ readonly localAndIsolatedDoNotBelongToTheSame: {
761
+ readonly zh: "Local 与 Isolated 不属于同一 Git 仓库";
762
+ readonly en: "Local and Isolated do not belong to the same Git repository.";
763
+ };
764
+ readonly theLocalAndIsolatedProjectSubdirectoriesDoNotMatch: {
765
+ readonly zh: "Local 与 Isolated 的项目子目录不一致";
766
+ readonly en: "The Local and Isolated project subdirectories do not match.";
767
+ };
768
+ readonly isolatedContainsChangesOutsideTheProjectRootAReview: {
769
+ readonly zh: "Isolated 包含项目根目录外的变更,不能准备验收";
770
+ readonly en: "Isolated contains changes outside the project root. A review cannot be prepared.";
771
+ };
772
+ readonly isolatedContainsChangesOutsideTheProjectRootApplyWas: {
773
+ readonly zh: "Isolated 包含项目根目录外的变更,已拒绝 Apply";
774
+ readonly en: "Isolated contains changes outside the project root. Apply was rejected.";
775
+ };
776
+ readonly theApplyPlanIsMissingAlreadyUsedOrModified: {
777
+ readonly zh: "Apply plan 不存在、已使用或已被修改";
778
+ readonly en: "The Apply plan is missing, already used, or modified.";
779
+ };
780
+ readonly theApplyPlanSGitRepositoryIdentityHasChanged: {
781
+ readonly zh: "Apply plan 的 Git 仓库身份已变化";
782
+ readonly en: "The Apply plan's Git repository identity has changed.";
783
+ };
784
+ readonly localChangedAfterPlanningRecalculateThePlan: {
785
+ readonly zh: "Local 在 plan 后发生变化,请重新计算";
786
+ readonly en: "Local changed after planning. Recalculate the plan.";
787
+ };
788
+ readonly isolatedChangedAfterPlanningRecalculateThePlan: {
789
+ readonly zh: "Isolated 在 plan 后发生变化,请重新计算";
790
+ readonly en: "Isolated changed after planning. Recalculate the plan.";
791
+ };
792
+ readonly localChangedBeforeApplyWroteItsChangesRecalculateThe: {
793
+ readonly zh: "Local 在 Apply 写入前发生变化,请重新计算";
794
+ readonly en: "Local changed before Apply wrote its changes. Recalculate the plan.";
795
+ };
796
+ readonly thePreviewPlanIsMissingAlreadyUsedOrModified: {
797
+ readonly zh: "Preview plan 不存在、已使用或已被修改";
798
+ readonly en: "The Preview plan is missing, already used, or modified.";
799
+ };
800
+ readonly invalidPreviewIdentity: {
801
+ readonly zh: "Preview identity 无效";
802
+ readonly en: "Invalid Preview identity.";
803
+ };
804
+ readonly thePreviewPlanSGitRepositoryIdentityHasChanged: {
805
+ readonly zh: "Preview plan 的 Git 仓库身份已变化";
806
+ readonly en: "The Preview plan's Git repository identity has changed.";
807
+ };
808
+ readonly thePersistentPreviewSnapshotDoesNotMatchTheReviewed: {
809
+ readonly zh: "Preview 持久快照与审核 plan 不一致";
810
+ readonly en: "The persistent Preview snapshot does not match the reviewed plan.";
811
+ };
812
+ readonly localChangedBeforePreviewWroteItsChangesRecalculateThe: {
813
+ readonly zh: "Local 在 Preview 写入前发生变化,请重新计算";
814
+ readonly en: "Local changed before Preview wrote its changes. Recalculate the plan.";
815
+ };
816
+ readonly theLocalSnapshotAfterPreviewDoesNotMatchThe: {
817
+ readonly zh: "Preview 写入后的 Local snapshot 与准备结果不一致,需要恢复确认";
818
+ readonly en: "The Local snapshot after Preview does not match the prepared result. Recovery confirmation is required.";
819
+ };
820
+ readonly localChangedBeforePreviewRollbackRetry: {
821
+ readonly zh: "Local 在撤回 Preview 前发生变化,请重试";
822
+ readonly en: "Local changed before Preview rollback. Retry.";
823
+ };
824
+ readonly cannotVerifyAfterWritingPreviewRollbackTheEnvironmentMust: {
825
+ readonly zh: "Preview 撤回写后无法完成验证,需要保留现场确认:{p0}";
826
+ readonly en: "Cannot verify after writing Preview rollback. The environment must be preserved for inspection: {p0}";
827
+ };
828
+ readonly theLocalSnapshotAfterPreviewRollbackDoesNotMatch: {
829
+ readonly zh: "Preview 撤回后的 Local snapshot 与安全恢复结果不一致,需要保留现场确认";
830
+ readonly en: "The Local snapshot after Preview rollback does not match the safe recovery result. The environment must be preserved for inspection.";
831
+ };
832
+ readonly theCommitMessageMustNotBeEmpty: {
833
+ readonly zh: "提交信息不能为空";
834
+ readonly en: "The commit message must not be empty.";
835
+ };
836
+ readonly localChangedBeforeFinalizingPreviewRetry: {
837
+ readonly zh: "Local 在完成 Preview 前发生变化,请重试";
838
+ readonly en: "Local changed before finalizing Preview. Retry.";
839
+ };
840
+ readonly thePreviewTaskCommitTreeDoesNotMatchThe: {
841
+ readonly zh: "Preview 任务提交 tree 与恢复评估不一致";
842
+ readonly en: "The Preview task commit tree does not match the recovery assessment.";
843
+ };
844
+ readonly thePreviewFinalIndexTreeDoesNotMatchThe: {
845
+ readonly zh: "Preview 最终 index tree 与恢复评估不一致";
846
+ readonly en: "The Preview final index tree does not match the recovery assessment.";
847
+ };
848
+ readonly anotherGitOperationIsUpdatingTheLocalIndexRetry: {
849
+ readonly zh: "Local index 正在被其他 Git 操作更新,请重试";
850
+ readonly en: "Another Git operation is updating the Local index. Retry later.";
851
+ };
852
+ readonly localChangedBeforeThePreviewCommitWasWrittenRetry: {
853
+ readonly zh: "Local 在 Preview 提交写入前发生变化,请重试";
854
+ readonly en: "Local changed before the Preview commit was written. Retry.";
855
+ };
856
+ readonly previewCommitVerificationFailedAfterWriting: {
857
+ readonly zh: "Preview 提交写后验证失败";
858
+ readonly en: "Preview commit verification failed after writing.";
859
+ };
860
+ readonly indexLocalIndexChangedAfterPreviewWroteItsChanges: {
861
+ readonly zh: "index: Local index 在 Preview 写入后发生变化,拒绝覆盖并发 staged 状态";
862
+ readonly en: "index: Local index changed after Preview wrote its changes. Concurrent staged state will not be overwritten.";
863
+ };
864
+ readonly refVerifiableIndexCompensationEvidenceIsMissingPartialRollback: {
865
+ readonly zh: "ref: 缺少可验证的 index 补偿证据,拒绝部分回滚";
866
+ readonly en: "ref: Verifiable index compensation evidence is missing. Partial rollback was rejected.";
867
+ };
868
+ readonly thePreviewCommitWriteCouldNotBeVerifiedAnd: {
869
+ readonly zh: "Preview 提交写入未能验证,已完整回滚:{p0}";
870
+ readonly en: "The Preview commit write could not be verified and was fully rolled back: {p0}";
871
+ };
872
+ readonly cannotProveSuccessOrCompleteRollbackAfterWritingThe: {
873
+ readonly zh: "Preview 提交写入后无法证明成功或完整回滚,需要保留现场确认:{p0}{p1}";
874
+ readonly en: "Cannot prove success or complete rollback after writing the Preview commit. The environment must be preserved for inspection: {p0}{p1}";
875
+ };
876
+ readonly theFinishPlanIsMissingAlreadyUsedOrModified: {
877
+ readonly zh: "Finish plan 不存在、已使用或已被修改";
878
+ readonly en: "The Finish plan is missing, already used, or modified.";
879
+ };
880
+ readonly theFinishPlanSGitRepositoryIdentityHasChanged: {
881
+ readonly zh: "Finish plan 的 Git 仓库身份已变化";
882
+ readonly en: "The Finish plan's Git repository identity has changed.";
883
+ };
884
+ readonly finishRevalidationFoundConflictsInconsistentWithTheReviewedPlan: {
885
+ readonly zh: "Finish 复验得到与已审核 plan 不一致的冲突";
886
+ readonly en: "Finish revalidation found conflicts inconsistent with the reviewed plan.";
887
+ };
888
+ readonly theFileSetChangedDuringFinishRevalidation: {
889
+ readonly zh: "Finish 复验的文件集合已变化";
890
+ readonly en: "The file set changed during Finish revalidation.";
891
+ };
892
+ readonly localChangedBeforeFinishRecalculateThePlan: {
893
+ readonly zh: "Local 在 Finish 前发生变化,请重新计算";
894
+ readonly en: "Local changed before Finish. Recalculate the plan.";
895
+ };
896
+ readonly taskChangesCannotBeReliablySeparatedFromExistingLocal: {
897
+ readonly zh: "任务增量无法与 Local 原有修改可靠拆分:{p0}";
898
+ readonly en: "Task changes cannot be reliably separated from existing Local changes: {p0}";
899
+ };
900
+ readonly theTaskCommitCannotBeReliablySeparatedFromExisting: {
901
+ readonly zh: "任务提交与 Local 原有 staged 修改无法可靠分离:{p0}";
902
+ readonly en: "The task commit cannot be reliably separated from existing Local staged changes: {p0}";
903
+ };
904
+ readonly localChangedBeforeFinishWroteItsChangesRecalculateThe: {
905
+ readonly zh: "Local 在 Finish 写入前发生变化,请重新计算";
906
+ readonly en: "Local changed before Finish wrote its changes. Recalculate the plan.";
907
+ };
908
+ readonly finishWriteFailedAndCompleteRollbackCouldNotBe: {
909
+ readonly zh: "Finish 写入失败且无法证明完整回滚:{p0};{p1}";
910
+ readonly en: "Finish write failed and complete rollback could not be proven: {p0}; {p1}";
911
+ };
912
+ readonly finishWriteFailedAndWasRolledBack: {
913
+ readonly zh: "Finish 写入失败,已回滚:{p0}";
914
+ readonly en: "Finish write failed and was rolled back: {p0}";
915
+ };
916
+ readonly gitOperationFailed: {
917
+ readonly zh: "Git 操作失败({p0}):{p1}";
918
+ readonly en: "Git operation failed ({p0}): {p1}";
919
+ };
920
+ readonly unknownGitError: {
921
+ readonly zh: "未知 Git 错误";
922
+ readonly en: "Unknown Git error";
923
+ };
924
+ readonly worktreeToolsCanOnlyBeCalledInADSH: {
925
+ readonly zh: "worktree 工具只能在 DSH Agent 会话中调用";
926
+ readonly en: "Worktree tools can only be called in a DSH Agent Session.";
927
+ };
928
+ readonly reserveAUniqueManagedGitWorktreeAndADistinct: {
929
+ readonly zh: "预留一个唯一的托管 Git Worktree 及独立 owner Session ID。此操作不会改变当前会话 cwd。工具返回后,停止在此 Local 会话中修改代码,让用户从 Worktree 卡片打开隔离会话。";
930
+ readonly en: "Reserve a unique managed Git worktree and a distinct owner Session ID. This does not change the current Session cwd. After the tool returns, stop modifying code in this Local Session and let the user open the isolated Session from the Worktree card.";
931
+ };
932
+ readonly createIsolatedSessionTarget: {
933
+ readonly zh: "创建隔离会话目标";
934
+ readonly en: "Create isolated Session Target";
935
+ };
936
+ readonly listManagedWorktreesVisibleToTheCurrentSessionResults: {
937
+ readonly zh: "列出当前会话可见的托管 Worktree。结果仅限原始项目内由此会话拥有或创建的 Worktree。";
938
+ readonly en: "List managed worktrees visible to the current Session. Results are scoped to the original project and to worktrees this Session owns or created.";
939
+ };
940
+ readonly listManagedWorktrees: {
941
+ readonly zh: "列出托管 Worktree";
942
+ readonly en: "List managed worktrees";
943
+ };
944
+ readonly whenTheCurrentIsolatedSessionIsReadyForReview: {
945
+ readonly zh: "当前 Isolated Session 处于尚未同步 Local 的 Ready for Review,且用户提出新的代码或文件修改时,必须先自动调用本工具使旧 Review 失效并恢复同一轮 Working,然后直接继续执行请求。纯讨论、问答或补充信息不要调用;不要要求用户点击恢复编辑,也不要先同步 Local。";
946
+ readonly en: "When the current Isolated Session is Ready for Review but not yet synced to Local, and the user requests new code or file changes, automatically call this tool first to invalidate the old Review and resume Working in the same iteration, then continue the request directly. Do not call it for discussion, questions, or additional information. Do not ask the user to click resume editing or sync Local first.";
947
+ };
948
+ readonly theCurrentWorktreeHasNoUnsyncedReviewToResume372: {
949
+ readonly zh: "当前 Worktree 没有可恢复的未同步 Review: {p0}";
950
+ readonly en: "The current Worktree has no unsynced Review to resume: {p0}";
951
+ };
952
+ readonly worktreeDidNotReturnToWorkingState: {
953
+ readonly zh: "Worktree 未恢复到 working 状态: {p0}";
954
+ readonly en: "Worktree did not return to working state: {p0}";
955
+ };
956
+ readonly resumeWorktreeRevision: {
957
+ readonly zh: "恢复 Worktree 编辑";
958
+ readonly en: "Resume Worktree revision";
959
+ };
960
+ readonly whenTheCurrentIsolatedSessionHasBeenDeliveredAnd: {
961
+ readonly zh: "当当前 Isolated Session 已交付并完成 cleanup,而用户在同一对话中提出新的代码或文件修改时,先调用本工具安全重建同一个 immutable cwd 并进入下一轮,然后继续执行用户请求。不要改用 worktree_create;retained 或 cleanup_pending 状态不能调用。";
962
+ readonly en: "When the current Isolated Session has been delivered and cleanup is complete, and the user requests new code or file changes in the same conversation, call this tool first to safely recreate the same immutable cwd and begin the next iteration, then continue the request. Do not use worktree_create instead. Do not call this tool in retained or cleanup_pending state.";
963
+ };
964
+ readonly theNextWorktreeIterationDidNotEnterWorkingState: {
965
+ readonly zh: "下一轮 Worktree 未进入 working 状态: {p0}";
966
+ readonly en: "The next Worktree iteration did not enter working state: {p0}";
967
+ };
968
+ readonly startNextWorktreeIteration: {
969
+ readonly zh: "开始下一轮 Worktree";
970
+ readonly en: "Start next Worktree iteration";
971
+ };
972
+ readonly onlyForWorktreeSessionsThatHaveAlreadySelectedAn: {
973
+ readonly zh: "仅用于已经选择 Isolated Checkout 的 Worktree Session,普通 Local Checkout 任务必须用正常助手回复结束且不得调用本工具。它是 Isolated Session 的最后一个模型动作:把完整交付报告、验证证据和建议 Commit Message 仅写入本工具参数,然后立即停止。不要在调用前后用普通回复重复完整报告;最多用一句话提示用户通过底部验收条处理。用户会显式决定是否提交或放弃,模型不得自动提交或清理。";
974
+ readonly en: "Only for Worktree Sessions that have already selected an Isolated Checkout. Ordinary Local Checkout tasks must end with a normal assistant reply and must not call this tool. This is the Isolated Session's final model action: put the complete delivery report, validation evidence, and suggested commit message only in this tool's arguments, then stop immediately. Do not repeat the complete report in normal replies before or after calling it; at most one sentence may direct the user to the bottom acceptance bar. The user explicitly decides whether to commit or discard. The model must not automatically commit or clean up.";
975
+ };
976
+ readonly oneLineSummaryOfTheChangeMax240Chars: {
977
+ readonly zh: "一句话描述改动(最多 240 个字符)。";
978
+ readonly en: "One-line summary of the change (max 240 chars).";
979
+ };
980
+ readonly optionalFullMarkdownDetailsMax12000Chars: {
981
+ readonly zh: "可选的完整 Markdown 详情(最多 12000 个字符)。";
982
+ readonly en: "Optional full Markdown details (max 12000 chars).";
983
+ };
984
+ readonly optionalOneLineValidationOutcome: {
985
+ readonly zh: "可选的一句话验证结果。";
986
+ readonly en: "Optional one-line validation outcome.";
987
+ };
988
+ readonly suggestedCommitMessageForTheHumanAcceptanceAction: {
989
+ readonly zh: "建议用于人工验收操作的提交信息。";
990
+ readonly en: "Suggested commit message for the human acceptance action.";
991
+ };
992
+ readonly worktreeDidNotEnterAReviewableState: {
993
+ readonly zh: "worktree 未进入可验收状态: {p0}";
994
+ readonly en: "Worktree did not enter a reviewable state: {p0}";
995
+ };
996
+ readonly readyForWorktreeReview: {
997
+ readonly zh: "提交 Worktree 验收";
998
+ readonly en: "Ready for Worktree review";
999
+ };
1000
+ readonly checkoutPhase: {
1001
+ readonly zh: "检出:{p0}({p1},阶段 {p2})";
1002
+ readonly en: "checkout: {p0} ({p1}, phase {p2})";
1003
+ };
1004
+ readonly worktreeCanOnlyBeUsedInADSHAgent: {
1005
+ readonly zh: "`/worktree` 只能在 DSH Agent 会话中使用";
1006
+ readonly en: "`/worktree` can only be used in a DSH Agent Session.";
1007
+ };
1008
+ readonly usageWorktreeStatusListContinueNextFinalizeReviewIdRevision: {
1009
+ readonly zh: "用法:/worktree status | list | continue | next | finalize [<reviewId> <revision>] [cleanup|retain_24h|retain_3d|retain_manual] | finish <message> | discard | remove <checkoutId>";
1010
+ readonly en: "Usage: /worktree status | list | continue | next | finalize [<reviewId> <revision>] [cleanup|retain_24h|retain_3d|retain_manual] | finish <message> | discard | remove <checkoutId>";
1011
+ };
1012
+ readonly finishedCommittedFileSAsCleanup: {
1013
+ readonly zh: "已完成:{p0} 个文件已提交为 {p1}(清理:{p2})。";
1014
+ readonly en: "Finished: committed {p0} file(s) as {p1} (cleanup: {p2}).";
1015
+ };
1016
+ readonly inspectAndExplicitlyAcceptManagedWorktreeDelivery: {
1017
+ readonly zh: "查看并明确确认托管 Worktree 交付";
1018
+ readonly en: "inspect and explicitly accept managed worktree delivery";
1019
+ };
1020
+ readonly statusListContinueNextFinalizeRetentionFinishMessageDiscard: {
1021
+ readonly zh: "status(状态)| list(列表)| continue(继续修改)| next(下一轮)| finalize [retention](验收提交)| finish <message>(直接提交)| discard(丢弃)| remove <checkoutId>(移除)";
1022
+ readonly en: "status | list | continue | next | finalize [retention] | finish <message> | discard | remove <checkoutId>";
1023
+ };
1024
+ readonly noManagedWorktreesVisibleToThisSession: {
1025
+ readonly zh: "当前会话没有可见的托管 Worktree。";
1026
+ readonly en: "No managed worktrees visible to this Session.";
1027
+ };
1028
+ readonly theCurrentWorktreeHasNoUnsyncedReadyForReview: {
1029
+ readonly zh: "当前 Worktree 没有尚未同步的 Ready for Review 验收稿。";
1030
+ readonly en: "The current Worktree has no unsynced Ready for Review draft.";
1031
+ };
1032
+ readonly resumedWorktreeIterationLocalWasNotModified: {
1033
+ readonly zh: "已恢复 Worktree 第 {p0} 轮;未修改 Local。";
1034
+ readonly en: "Resumed Worktree iteration {p0}; Local was not modified.";
1035
+ };
1036
+ readonly startedWorktreeIterationInTheCurrentSession: {
1037
+ readonly zh: "已在当前会话开始 Worktree 第 {p0} 轮。";
1038
+ readonly en: "Started Worktree iteration {p0} in the current Session.";
1039
+ };
1040
+ readonly theCurrentWorktreeIsNotReadyForReviewAnd: {
1041
+ readonly zh: "当前 Worktree 尚未 Ready for Review,不能 finalize。";
1042
+ readonly en: "The current Worktree is not Ready for Review and cannot be finalized.";
1043
+ };
1044
+ readonly thisReviewCardHasExpiredConfirmTheLatestReady: {
1045
+ readonly zh: "该验收卡已过期;请确认会话中的最新 Ready for Review 卡片。";
1046
+ readonly en: "This review card has expired. Confirm the latest Ready for Review card in the Session.";
1047
+ };
1048
+ readonly conflictNLocalHEADSyncAndResolveConflictsInWorktree: {
1049
+ readonly zh: "Conflict: {p0}\nLocal HEAD: {p1} — 在 Worktree 内同步并解决后重新 Ready。";
1050
+ readonly en: "Conflict: {p0}\\nLocal HEAD: {p1} — Sync and resolve conflicts in Worktree, then mark it Ready again.";
1051
+ };
1052
+ readonly finalizeDidNotReturnTheExpectedResult: {
1053
+ readonly zh: "Finalize 未返回预期结果";
1054
+ readonly en: "Finalize did not return the expected result.";
1055
+ };
1056
+ readonly finishDidNotReturnTheExpectedResult: {
1057
+ readonly zh: "Finish 未返回预期结果";
1058
+ readonly en: "Finish did not return the expected result.";
1059
+ };
1060
+ readonly worktreeDiscardedThisSessionTargetIsNoLongerAvailable: {
1061
+ readonly zh: "Worktree 已丢弃。此会话目标不再可用。";
1062
+ readonly en: "Worktree discarded. This Session target is no longer available.";
1063
+ };
1064
+ readonly discardDidNotReturnTheExpectedResult: {
1065
+ readonly zh: "Discard 未返回预期结果";
1066
+ readonly en: "Discard did not return the expected result.";
1067
+ };
1068
+ readonly noManagedWorktreeVisibleToThisSession: {
1069
+ readonly zh: "当前会话没有可见的托管 Worktree {p0}。";
1070
+ readonly en: "No managed worktree {p0} visible to this Session.";
1071
+ };
1072
+ readonly removedWorktree: {
1073
+ readonly zh: "已移除 Worktree {p0}。";
1074
+ readonly en: "Removed worktree {p0}.";
1075
+ };
1076
+ readonly unknownVerb: {
1077
+ readonly zh: "未知操作 {p0}。\\n{p1}";
1078
+ readonly en: "Unknown verb {p0}.\n{p1}";
1079
+ };
1080
+ readonly conflictRecoveryIsMissingAValidLocalHEADIdentity: {
1081
+ readonly zh: "冲突恢复缺少有效的 Local HEAD 身份";
1082
+ readonly en: "Conflict recovery is missing a valid Local HEAD identity.";
1083
+ };
1084
+ readonly conflictRecoveryContainsUnsafeOrOutOfBoundsFile: {
1085
+ readonly zh: "冲突恢复包含不安全或越界的文件身份";
1086
+ readonly en: "Conflict recovery contains unsafe or out-of-bounds file identities.";
1087
+ };
1088
+ readonly theCurrentSessionCheckoutModuleDoesNotSupportAcceptancePreflight: {
1089
+ readonly zh: "当前 SessionCheckoutModule 不支持验收预检";
1090
+ readonly en: "The current SessionCheckoutModule does not support acceptance preflight.";
1091
+ };
1092
+ readonly theCurrentSessionDoesNotExist: {
1093
+ readonly zh: "当前 Session 不存在";
1094
+ readonly en: "The current Session does not exist.";
1095
+ };
1096
+ readonly theCurrentSessionIsNotAssociatedWithAProject: {
1097
+ readonly zh: "当前 Session 尚未关联项目";
1098
+ readonly en: "The current Session is not associated with a project.";
1099
+ };
1100
+ readonly theCurrentSessionSProjectDoesNotExist: {
1101
+ readonly zh: "当前 Session 项目不存在";
1102
+ readonly en: "The current Session's project does not exist.";
1103
+ };
1104
+ readonly theCurrentSessionSProjectDirectoryDoesNotExist: {
1105
+ readonly zh: "当前 Session 项目目录不存在";
1106
+ readonly en: "The current Session's project directory does not exist.";
1107
+ };
1108
+ readonly theCurrentSessionSProjectIsNotAnAvailable: {
1109
+ readonly zh: "当前 Session 项目不是可用的 Git Worktree";
1110
+ readonly en: "The current Session's project is not an available Git Worktree.";
1111
+ };
1112
+ readonly theCurrentSessionWorkspaceCannotBeProvenToBelong: {
1113
+ readonly zh: "当前 Session Workspace 无法证明属于该 Worktree 的原始项目";
1114
+ readonly en: "The current Session Workspace cannot be proven to belong to this Worktree's original project.";
1115
+ };
1116
+ readonly theCurrentSessionCwdDoesNotMatchTheWorktree: {
1117
+ readonly zh: "当前 Session cwd 与 Worktree 授权边界不一致";
1118
+ readonly en: "The current Session cwd does not match the Worktree authorization boundary.";
1119
+ };
1120
+ readonly theCurrentSessionIsNotAllowedToAccessThis: {
1121
+ readonly zh: "当前 Session 无权访问该 Worktree";
1122
+ readonly en: "The current Session is not allowed to access this Worktree.";
1123
+ };
1124
+ readonly worktreeDoesNotMatchTheCurrentSessionSProject: {
1125
+ readonly zh: "Worktree 与当前 Session 项目不一致";
1126
+ readonly en: "Worktree does not match the current Session's project.";
1127
+ };
1128
+ readonly theAssociatedWorktreeSOwnerSessionIsUnavailable: {
1129
+ readonly zh: "关联 Worktree 的 owner Session 不可用";
1130
+ readonly en: "The associated Worktree's owner Session is unavailable.";
1131
+ };
1132
+ readonly theAcceptanceSlotHolderHasChangedCheckAgain: {
1133
+ readonly zh: "验收槽位占用者已变化,请重新检查";
1134
+ readonly en: "The acceptance slot holder has changed. Check again.";
1135
+ };
1136
+ readonly theWorktreeGitIdentityCannotBeVerified: {
1137
+ readonly zh: "Worktree Git 身份无法验证";
1138
+ readonly en: "The Worktree Git identity cannot be verified.";
1139
+ };
1140
+ readonly theCurrentSessionWorkspaceCannotBeProvenToBe: {
1141
+ readonly zh: "当前 Session Workspace 无法证明关联 Worktree 项目";
1142
+ readonly en: "The current Session Workspace cannot be proven to be associated with the Worktree project.";
1143
+ };
1144
+ readonly hostIdentityVerificationFailedForTheNewlyCreatedWorktree: {
1145
+ readonly zh: "新建 Worktree 的 Host 身份校验失败";
1146
+ readonly en: "Host identity verification failed for the newly created Worktree.";
1147
+ };
1148
+ readonly onlyTheOwnerIsolatedSessionCanReadTheReview: {
1149
+ readonly zh: "只有 owner Isolated Session 可以读取验收 Diff";
1150
+ readonly en: "Only the owner Isolated Session can read the review Diff.";
1151
+ };
1152
+ readonly theSessionTargetHasChangedRefresh: {
1153
+ readonly zh: "Session Target 已变化,请刷新";
1154
+ readonly en: "The Session Target has changed. Refresh.";
1155
+ };
1156
+ readonly theReviewIdentityHasChangedRefresh: {
1157
+ readonly zh: "Review 身份已变化,请刷新";
1158
+ readonly en: "The Review identity has changed. Refresh.";
1159
+ };
1160
+ readonly isolatedHEADChangedAfterReady: {
1161
+ readonly zh: "Ready 后 Isolated HEAD 已变化";
1162
+ readonly en: "Isolated HEAD changed after Ready.";
1163
+ };
1164
+ readonly isolatedContentChangedAfterReadyDiffBytesWereDiscarded: {
1165
+ readonly zh: "Ready 后 Isolated 内容已变化,Diff bytes 已丢弃";
1166
+ readonly en: "Isolated content changed after Ready. Diff bytes were discarded.";
1167
+ };
1168
+ readonly onlyTheOwnerIsolatedSessionCanRunSyncPreflight436: {
1169
+ readonly zh: "只有 owner Isolated Session 可以执行同步预检";
1170
+ readonly en: "Only the owner Isolated Session can run sync preflight.";
1171
+ };
1172
+ readonly onlyTheOwnerIsolatedSessionCanCheckPreviewRecovery440: {
1173
+ readonly zh: "只有 owner Isolated Session 可以检查 Preview 恢复";
1174
+ readonly en: "Only the owner Isolated Session can check Preview recovery.";
1175
+ };
1176
+ readonly theDetachedPreviewIdentityHasChangedRefresh: {
1177
+ readonly zh: "Detached Preview 身份已变化,请刷新";
1178
+ readonly en: "The Detached Preview identity has changed. Refresh.";
1179
+ };
1180
+ readonly theCurrentSessionCheckoutModuleDoesNotSupportPreviewRecoveryPreflight: {
1181
+ readonly zh: "当前 SessionCheckoutModule 不支持 Preview Recovery 预检";
1182
+ readonly en: "The current SessionCheckoutModule does not support Preview Recovery preflight.";
1183
+ };
1184
+ readonly thePreviewRecoveryAnalysisIdentityDoesNotMatch: {
1185
+ readonly zh: "Preview Recovery 分析身份不匹配";
1186
+ readonly en: "The Preview Recovery analysis identity does not match.";
1187
+ };
1188
+ readonly thePreviewRecoveryHandoffIdentityDoesNotMatch: {
1189
+ readonly zh: "Preview Recovery handoff 身份不匹配";
1190
+ readonly en: "The Preview Recovery handoff identity does not match.";
1191
+ };
1192
+ readonly hostIdentityVerificationFailedForTheRecoveryHandoffWorktree: {
1193
+ readonly zh: "Recovery handoff Worktree 的 Host 身份校验失败";
1194
+ readonly en: "Host identity verification failed for the Recovery handoff Worktree.";
1195
+ };
1196
+ readonly onlyTheOwnerIsolatedSessionCanSaveACheckpoint447: {
1197
+ readonly zh: "只有 owner Isolated Session 可以保存阶段";
1198
+ readonly en: "Only the owner Isolated Session can save a checkpoint.";
1199
+ };
1200
+ readonly theCheckpointCommitMessageOrRequestIdIsInvalid: {
1201
+ readonly zh: "Checkpoint Commit Message 或 requestId 无效";
1202
+ readonly en: "The Checkpoint commit message or requestId is invalid.";
1203
+ };
1204
+ readonly checkpointReturnedAnUnexpectedState: {
1205
+ readonly zh: "Checkpoint 返回了非预期状态";
1206
+ readonly en: "Checkpoint returned an unexpected state.";
1207
+ };
1208
+ readonly worktreeDidNotReturnToWorkingAfterCheckpoint: {
1209
+ readonly zh: "Checkpoint 后 Worktree 状态未收敛到 Working";
1210
+ readonly en: "Worktree did not return to Working after Checkpoint.";
1211
+ };
1212
+ readonly onlyTheOwnerIsolatedSessionCanPreviewChanges: {
1213
+ readonly zh: "只有 owner Isolated Session 可以预览修改";
1214
+ readonly en: "Only the owner Isolated Session can preview changes.";
1215
+ };
1216
+ readonly localPreviewPreflightFoundContentConflicts: {
1217
+ readonly zh: "Local Preview 预检发现内容冲突";
1218
+ readonly en: "Local Preview preflight found content conflicts.";
1219
+ };
1220
+ readonly previewReturnedAnUnexpectedState: {
1221
+ readonly zh: "Preview 返回了非预期状态";
1222
+ readonly en: "Preview returned an unexpected state.";
1223
+ };
1224
+ readonly onlyTheOwnerIsolatedSessionCanResumeEditing456: {
1225
+ readonly zh: "只有 owner Isolated Session 可以继续修改";
1226
+ readonly en: "Only the owner Isolated Session can resume editing.";
1227
+ };
1228
+ readonly invalidConflictRecoveryRequestIdentity: {
1229
+ readonly zh: "冲突恢复请求身份无效";
1230
+ readonly en: "Invalid conflict recovery request identity.";
1231
+ };
1232
+ readonly theWorktreeIdentityOrStateDoesNotMatchAfter: {
1233
+ readonly zh: "恢复编辑后 Worktree 身份或状态不一致";
1234
+ readonly en: "The Worktree identity or state does not match after resuming editing.";
1235
+ };
1236
+ readonly theHostCouldNotPersistTheExactConflictRecovery: {
1237
+ readonly zh: "Host 未能持久化精确冲突恢复凭证";
1238
+ readonly en: "The Host could not persist the exact conflict recovery receipt.";
1239
+ };
1240
+ readonly onlyTheOwnerIsolatedSessionCanRequestReviewRegeneration462: {
1241
+ readonly zh: "只有 owner Isolated Session 可以请求重新生成验收结果";
1242
+ readonly en: "Only the owner Isolated Session can request review regeneration.";
1243
+ };
1244
+ readonly onlyTheOwnerIsolatedSessionCanRollBackLocal: {
1245
+ readonly zh: "只有 owner Isolated Session 可以撤回 Local Preview";
1246
+ readonly en: "Only the owner Isolated Session can roll back Local Preview.";
1247
+ };
1248
+ readonly rollbackPreviewReturnedAnUnexpectedState: {
1249
+ readonly zh: "Rollback Preview 返回了非预期状态";
1250
+ readonly en: "Rollback Preview returned an unexpected state.";
1251
+ };
1252
+ readonly theOwnerSessionHasTakenOverThisWorktreeOnly467: {
1253
+ readonly zh: "Owner Session 已接管该 Worktree,只有 owner 可以 Discard";
1254
+ readonly en: "The owner Session has taken over this Worktree. Only the owner can Discard it.";
1255
+ };
1256
+ readonly discardReturnedAnUnexpectedState: {
1257
+ readonly zh: "Discard 返回了非预期状态";
1258
+ readonly en: "Discard returned an unexpected state.";
1259
+ };
1260
+ readonly onlyTheOwnerIsolatedSessionCanCommitAcceptance: {
1261
+ readonly zh: "只有 owner Isolated Session 可以提交验收";
1262
+ readonly en: "Only the owner Isolated Session can commit acceptance.";
1263
+ };
1264
+ readonly theCommitMessageMustContain1500Characters: {
1265
+ readonly zh: "Commit Message 必须为 1–500 个字符";
1266
+ readonly en: "The commit message must contain 1–500 characters.";
1267
+ };
1268
+ readonly applyingToLocalCausedConflicts: {
1269
+ readonly zh: "Local 应用发生冲突";
1270
+ readonly en: "Applying to Local caused conflicts.";
1271
+ };
1272
+ readonly finalizeReturnedAnUnexpectedState: {
1273
+ readonly zh: "Finalize 返回了非预期状态";
1274
+ readonly en: "Finalize returned an unexpected state.";
1275
+ };
1276
+ readonly onlyTheOwnerIsolatedSessionCanFinalizeLocalPreview: {
1277
+ readonly zh: "只有 owner Isolated Session 可以完成 Local Preview 验收";
1278
+ readonly en: "Only the owner Isolated Session can finalize Local Preview acceptance.";
1279
+ };
1280
+ readonly finalizePreviewReturnedAnUnexpectedState: {
1281
+ readonly zh: "Finalize Preview 返回了非预期状态";
1282
+ readonly en: "Finalize Preview returned an unexpected state.";
1283
+ };
1284
+ readonly theNextWorktreeIterationDidNotEnterWorkingState484: {
1285
+ readonly zh: "下一轮 Worktree 未进入 working 状态";
1286
+ readonly en: "The next Worktree iteration did not enter working state.";
1287
+ };
1288
+ readonly theNextIterationSWorktreeLineageOrCwdIdentity: {
1289
+ readonly zh: "下一轮 Worktree 的 lineage 或 cwd 身份不一致";
1290
+ readonly en: "The next iteration's Worktree lineage or cwd identity does not match.";
1291
+ };
1292
+ readonly gitFailed: {
1293
+ readonly zh: "git {p0} 失败({p1}):{p2}";
1294
+ readonly en: "git {p0} failed ({p1}): {p2}";
1295
+ };
1296
+ readonly reviewChangedFilesContainsAnUnsafeProjectRelativePath: {
1297
+ readonly zh: "验收 changedFiles 包含不安全的项目相对路径。";
1298
+ readonly en: "review changedFiles contains an unsafe project-relative path";
1299
+ };
1300
+ readonly reviewDiffPathInventoryExceedsTheSafeReadBudget: {
1301
+ readonly zh: "验收 Diff 路径清单超出安全读取额度。";
1302
+ readonly en: "review diff path inventory exceeds the safe read budget";
1303
+ };
1304
+ readonly gitDiffReturnedAnUnsafeProjectRelativePath: {
1305
+ readonly zh: "git diff 返回了不安全的项目相对路径。";
1306
+ readonly en: "git diff returned an unsafe project-relative path";
1307
+ };
1308
+ readonly reviewChangedFilesNoLongerMatchesTheIsolatedSnapshot: {
1309
+ readonly zh: "验收 changedFiles 不再匹配隔离快照。";
1310
+ readonly en: "review changedFiles no longer matches the isolated snapshot";
1311
+ };
1312
+ readonly worktreeConsoleOperationFailed: {
1313
+ readonly zh: "Worktree Console 操作失败";
1314
+ readonly en: "Worktree Console operation failed.";
1315
+ };
1316
+ readonly theWorktreeQuarantinePathIsInvalidOrAlreadyOccupied: {
1317
+ readonly zh: "Worktree quarantine 路径无效或已被占用";
1318
+ readonly en: "The Worktree quarantine path is invalid or already occupied.";
1319
+ };
1320
+ readonly theWorktreeDirectoryObjectWasReplacedRecursiveCleanupWas: {
1321
+ readonly zh: "Worktree 目录对象已被替换,未执行递归清理";
1322
+ readonly en: "The Worktree directory object was replaced. Recursive cleanup was not performed.";
1323
+ };
1324
+ readonly refusingToDeleteWorktreeResidueThatIsNotA: {
1325
+ readonly zh: "拒绝删除非目录或符号链接形式的 Worktree 残余";
1326
+ readonly en: "Refusing to delete Worktree residue that is not a directory or is a symbolic link.";
1327
+ };
1328
+ readonly gitTimedOutMsAndWasTerminated: {
1329
+ readonly zh: "git {p0} 超时({p1}ms),已终止";
1330
+ readonly en: "git {p0} timed out ({p1}ms) and was terminated.";
1331
+ };
1332
+ readonly gitOperationFailedGit: {
1333
+ readonly zh: "Git 操作失败: git {p0}{p1}";
1334
+ readonly en: "Git operation failed: git {p0}{p1}";
1335
+ };
1336
+ readonly invalidInternalGitArtifactName: {
1337
+ readonly zh: "内部 Git artifact 名称无效";
1338
+ readonly en: "Invalid internal Git artifact name.";
1339
+ };
1340
+ readonly cannotReadTheInternalGitArtifact: {
1341
+ readonly zh: "无法读取内部 Git artifact";
1342
+ readonly en: "Cannot read the internal Git artifact.";
1343
+ };
1344
+ readonly cannotProveGitCommitAncestry: {
1345
+ readonly zh: "无法证明 Git commit ancestry";
1346
+ readonly en: "Cannot prove Git commit ancestry.";
1347
+ };
1348
+ readonly managedCheckoutsJsonIsCorruptCheckoutAccessHasStopped: {
1349
+ readonly zh: "managed-checkouts.json 损坏,已停止访问 checkout";
1350
+ readonly en: "managed-checkouts.json is corrupt. Checkout access has stopped.";
1351
+ };
1352
+ readonly commandDirty: {
1353
+ readonly zh: "有未提交修改:{value}";
1354
+ readonly en: "dirty: {value}";
1355
+ };
1356
+ readonly commandCurrent: {
1357
+ readonly zh: "当前:{branch} @ {oid}";
1358
+ readonly en: "current: {branch} @ {oid}";
1359
+ };
1360
+ readonly commandDelivery: {
1361
+ readonly zh: "交付:{state}";
1362
+ readonly en: "delivery: {state}";
1363
+ };
1364
+ readonly commandDetached: {
1365
+ readonly zh: "分离 HEAD";
1366
+ readonly en: "detached";
1367
+ };
1368
+ readonly commandNoOp: {
1369
+ readonly zh: "无新增提交";
1370
+ readonly en: "no-op";
1371
+ };
1372
+ readonly cleanupIdentityChanged: {
1373
+ readonly zh: "Worktree 的 Git 身份或路径已变化,未执行清理。";
1374
+ readonly en: "The Worktree Git identity or path has changed. Cleanup was not performed.";
1375
+ };
1376
+ readonly cleanupResidue: {
1377
+ readonly zh: "Git Worktree 已解除注册,仅剩物理目录残余;可重试清理环境。";
1378
+ readonly en: "Git Worktree has been unregistered; only directory residue remains. Environment cleanup can be retried.";
1379
+ };
1380
+ readonly cleanupIncompleteDelivery: {
1381
+ readonly zh: "Worktree 交付状态不完整,未执行清理。";
1382
+ readonly en: "The Worktree delivery state is incomplete. Cleanup was not performed.";
1383
+ };
1384
+ readonly cleanupIncompleteReceipt: {
1385
+ readonly zh: "Worktree cleanup receipt 不完整";
1386
+ readonly en: "The Worktree cleanup receipt is incomplete.";
1387
+ };
1388
+ readonly cleanupMissingBeforeQuarantine: {
1389
+ readonly zh: "Worktree 记录在 quarantine 前丢失";
1390
+ readonly en: "The Worktree record was lost before quarantine.";
1391
+ };
1392
+ readonly cleanupQuarantineIdentity: {
1393
+ readonly zh: "Worktree quarantine 身份无法验证";
1394
+ readonly en: "The Worktree quarantine identity cannot be verified.";
1395
+ };
1396
+ readonly cleanupNewChanges: {
1397
+ readonly zh: "Worktree 在提交后出现了新修改,未执行清理。";
1398
+ readonly en: "Worktree has new changes after the commit. Cleanup was not performed.";
1399
+ };
1400
+ readonly cleanupMissingBeforeRemoval: {
1401
+ readonly zh: "Worktree 记录在清理前丢失,未执行清理。";
1402
+ readonly en: "The Worktree record was lost before cleanup. Cleanup was not performed.";
1403
+ };
1404
+ readonly cleanupQuarantineBusy: {
1405
+ readonly zh: "Worktree 已安全移入 quarantine,但目录仍被进程占用;dsh-git-worktree 会在同一清理授权内有限重试。";
1406
+ readonly en: "Worktree was safely moved into quarantine, but a process still holds the directory. dsh-git-worktree will retry a limited number of times under the same cleanup authorization.";
1407
+ };
1408
+ readonly cleanupDirectoryBusy: {
1409
+ readonly zh: "Worktree 目录仍被进程占用或 Windows 暂时拒绝删除;dsh-git-worktree 已完成有限重试,可稍后重试清理。";
1410
+ readonly en: "A process still holds the Worktree directory or Windows temporarily denied deletion. dsh-git-worktree has completed its limited retries. Retry cleanup later.";
1411
+ };
1412
+ readonly commandConflict: {
1413
+ readonly zh: "冲突:{files}";
1414
+ readonly en: "Conflict: {files}";
1415
+ };
1416
+ readonly localCheckout: {
1417
+ readonly zh: "本地检出";
1418
+ readonly en: "Local Checkout";
1419
+ };
1420
+ readonly isolatedCheckout: {
1421
+ readonly zh: "隔离检出";
1422
+ readonly en: "Isolated Checkout";
1423
+ };
1424
+ readonly cleanupTimeout: {
1425
+ readonly zh: "[session-checkout] {p0} 清理超时({p1}ms),已跳过本次收敛";
1426
+ readonly en: "[session-checkout] Cleanup of {p0} timed out ({p1}ms); skipped this reconciliation.";
1427
+ };
1428
+ readonly checkpointRefCleanupFailed: {
1429
+ readonly zh: "[session-checkout] 清理未生效 Checkpoint ref 失败,已保守保留不可见引用";
1430
+ readonly en: "[session-checkout] Failed to clean up the unapplied Checkpoint ref; conservatively retained the hidden ref.";
1431
+ };
1432
+ readonly tempDirectoryCleanupFailed: {
1433
+ readonly zh: "[session-checkout-apply] 临时目录清理失败:";
1434
+ readonly en: "[session-checkout-apply] Failed to clean up the temporary directory:";
1435
+ };
1436
+ readonly corruptPrimaryIndex: {
1437
+ readonly zh: "[数据恢复] 主索引文件损坏: {p0}";
1438
+ readonly en: "[Data recovery] Primary index file is corrupt: {p0}";
1439
+ };
1440
+ readonly recoveredFromTmp: {
1441
+ readonly zh: "[数据恢复] 从 .tmp 文件恢复: {p0}";
1442
+ readonly en: "[Data recovery] Recovered from .tmp file: {p0}";
1443
+ };
1444
+ readonly recoveredFromBak: {
1445
+ readonly zh: "[数据恢复] 从 .bak 文件恢复: {p0}";
1446
+ readonly en: "[Data recovery] Recovered from .bak file: {p0}";
1447
+ };
1448
+ readonly corruptBackupIndex: {
1449
+ readonly zh: "[数据恢复] .bak 文件也损坏: {p0}";
1450
+ readonly en: "[Data recovery] The .bak file is also corrupt: {p0}";
1451
+ };
1452
+ readonly previewRefsCleanupFailed: {
1453
+ readonly zh: "[session-checkout] 清理 Preview refs 失败,已保守保留不可见引用";
1454
+ readonly en: "[session-checkout] Failed to clean up Preview refs; conservatively retained the hidden refs.";
1455
+ };
1456
+ readonly internalRefsCleanupFailed: {
1457
+ readonly zh: "[session-checkout] 清理内部 Session Checkout refs 失败,已保守保留不可见引用";
1458
+ readonly en: "[session-checkout] Failed to clean up internal Session Checkout refs; conservatively retained the hidden refs.";
1459
+ };
1460
+ };
1461
+ /** Registration metadata is shared between sessions, so expose both languages. */
1462
+ export declare function hostRegistrationMessage(key: keyof typeof hostMessages): string;
1463
+ export declare function hostPersistedCleanupMessage(message: string, translate: Translator<typeof hostMessages>): string;