dsh-config-manager 0.8.1 → 0.9.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.
- package/lib/adapters/mcp.js +42 -13
- package/lib/adapters/messages.d.ts +1 -0
- package/lib/adapters/messages.js +2 -0
- package/lib/adapters/patch-key-guard.d.ts +23 -0
- package/lib/adapters/patch-key-guard.js +13 -0
- package/lib/adapters/plugin-data.d.ts +19 -5
- package/lib/adapters/plugin-data.js +76 -22
- package/lib/adapters/plugins.d.ts +14 -1
- package/lib/adapters/plugins.js +147 -4
- package/lib/cli/actions.d.ts +7 -105
- package/lib/cli/actions.js +16 -172
- package/lib/cli/control-state.d.ts +54 -0
- package/lib/cli/control-state.js +107 -0
- package/lib/cli/index.js +14 -0
- package/lib/cli/write-gates.d.ts +61 -0
- package/lib/cli/write-gates.js +110 -0
- package/lib/client.d.ts +122 -50
- package/lib/client.js +12676 -12091
- package/lib/core/backup.d.ts +0 -4
- package/lib/core/backup.js +21 -4
- package/lib/core/boot-rescue.d.ts +1 -1
- package/lib/core/boot-rescue.js +12 -1
- package/lib/core/boot-safety.js +37 -2
- package/lib/core/conflict-decisions.js +2 -1
- package/lib/core/exporter.js +22 -1
- package/lib/core/journal.d.ts +54 -4
- package/lib/core/journal.js +158 -35
- package/lib/core/local-plugin-host.d.ts +29 -0
- package/lib/core/local-plugin-host.js +55 -48
- package/lib/core/messages.d.ts +7 -0
- package/lib/core/messages.js +14 -0
- package/lib/core/migration-history.js +16 -9
- package/lib/core/model-tools.d.ts +2 -2
- package/lib/core/model-tools.js +14 -2
- package/lib/core/patch-secret-guard.d.ts +49 -0
- package/lib/core/patch-secret-guard.js +164 -0
- package/lib/core/reconcile.d.ts +8 -0
- package/lib/core/reconcile.js +18 -3
- package/lib/core/reinstall.d.ts +2 -0
- package/lib/core/reinstall.js +6 -2
- package/lib/core/restore.js +31 -6
- package/lib/core/section-sanitize.d.ts +32 -0
- package/lib/core/section-sanitize.js +13 -0
- package/lib/core/snapshot-diff.d.ts +30 -0
- package/lib/core/snapshot-diff.js +56 -20
- package/lib/core/startup-barrier.js +8 -2
- package/lib/core/types.d.ts +22 -0
- package/lib/core/update-check.js +51 -2
- package/lib/foreign/kernel.js +9 -2
- package/lib/foreign/read-claude-plugins.js +29 -11
- package/lib/foreign/read-dsh.js +31 -2
- package/lib/foreign/read-trae.d.ts +11 -0
- package/lib/foreign/read-trae.js +124 -4
- package/lib/foreign/session-ir.js +50 -9
- package/lib/foreign/session-read.d.ts +8 -0
- package/lib/foreign/session-read.js +26 -0
- package/lib/foreign/session-source.d.ts +12 -4
- package/lib/foreign/session-source.js +5 -3
- package/lib/foreign/trae-sqlcipher.d.ts +127 -0
- package/lib/foreign/trae-sqlcipher.js +519 -0
- package/lib/foreign/trae.js +3 -1
- package/lib/foreign/truth-table.js +3 -2
- package/lib/foreign/types.d.ts +9 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/profiles/dsh-profile-io.d.ts +20 -0
- package/lib/profiles/dsh-profile-io.js +27 -0
- package/lib/profiles/dsh-profile-manager.d.ts +27 -0
- package/lib/profiles/dsh-profile-manager.js +45 -4
- package/lib/profiles/dsh-profile-runtime.d.ts +5 -1
- package/lib/profiles/dsh-profile-runtime.js +16 -3
- package/lib/profiles/process-control.d.ts +18 -1
- package/lib/profiles/process-control.js +25 -1
- package/lib/routes/profiles.js +2 -1
- package/lib/routes/sync.js +13 -1
- package/lib/schema/types.d.ts +11 -0
- package/lib/security/redaction.js +22 -6
- package/lib/sync/autosync-repeat.d.ts +27 -0
- package/lib/sync/autosync-repeat.js +23 -0
- package/lib/sync/autosync-scheduler.d.ts +34 -1
- package/lib/sync/autosync-scheduler.js +151 -43
- package/lib/sync/baseline-heal.js +7 -0
- package/lib/sync/baseline-record.d.ts +67 -0
- package/lib/sync/baseline-record.js +74 -0
- package/lib/sync/blob-store.js +13 -0
- package/lib/sync/content-diff.d.ts +39 -0
- package/lib/sync/content-diff.js +46 -0
- package/lib/sync/git/git-transport.d.ts +32 -1
- package/lib/sync/git/git-transport.js +146 -26
- package/lib/sync/github-auth.d.ts +17 -1
- package/lib/sync/github-auth.js +37 -1
- package/lib/sync/merge-apply-plan.d.ts +38 -0
- package/lib/sync/merge-apply-plan.js +76 -0
- package/lib/sync/messages.d.ts +1 -0
- package/lib/sync/messages.js +2 -0
- package/lib/sync/pending-merge.d.ts +34 -0
- package/lib/sync/pending-merge.js +53 -0
- package/lib/sync/s3/s3-transport.d.ts +14 -2
- package/lib/sync/s3/s3-transport.js +72 -48
- package/lib/sync/sync-engine.d.ts +23 -40
- package/lib/sync/sync-engine.js +115 -132
- package/lib/sync/sync-history.d.ts +7 -0
- package/lib/sync/sync-state.d.ts +28 -0
- package/lib/sync/sync-state.js +20 -0
- package/lib/sync/transport.d.ts +12 -3
- package/lib/sync/transport.js +13 -4
- package/lib/sync/webdav/webdav-transport.d.ts +19 -2
- package/lib/sync/webdav/webdav-transport.js +81 -40
- package/lib/ui/commands.js +5 -11
- package/lib/ui/dsh-profiles-view.d.ts +8 -3
- package/lib/ui/dsh-profiles-view.js +9 -5
- package/lib/ui/foreign-view.d.ts +19 -0
- package/lib/ui/foreign-view.js +24 -0
- package/lib/ui/i18n.d.ts +7 -1
- package/lib/ui/i18n.js +17 -2
- package/lib/ui/menu-placement.js +1 -1
- package/lib/ui/migration-consult-view.d.ts +11 -0
- package/lib/ui/migration-consult-view.js +15 -0
- package/lib/ui/overview-view.d.ts +7 -0
- package/lib/ui/overview-view.js +3 -0
- package/lib/ui/report.d.ts +9 -0
- package/lib/ui/report.js +17 -4
- package/lib/ui/selection-model.d.ts +8 -0
- package/lib/ui/selection-model.js +16 -0
- package/lib/utils/patch-yaml.d.ts +39 -1
- package/lib/utils/patch-yaml.js +82 -2
- package/lib/utils/paths.d.ts +13 -0
- package/lib/utils/paths.js +35 -0
- package/lib/utils/workdir-lock.js +18 -3
- package/package.json +2 -1
- package/src/adapters/mcp.test.ts +29 -0
- package/src/adapters/mcp.ts +43 -12
- package/src/adapters/messages.ts +2 -0
- package/src/adapters/patch-key-guard.ts +29 -0
- package/src/adapters/plugin-data.test.ts +126 -0
- package/src/adapters/plugin-data.ts +97 -26
- package/src/adapters/plugins.test.ts +288 -0
- package/src/adapters/plugins.ts +141 -4
- package/src/cli/actions.test.ts +74 -1
- package/src/cli/actions.ts +27 -246
- package/src/cli/control-state.ts +143 -0
- package/src/cli/index.ts +18 -0
- package/src/cli/web/web.test.ts +27 -0
- package/src/cli/write-gates.ts +149 -0
- package/src/client/about/AboutPanel.tsx +7 -6
- package/src/client/about/release-notes-view.test.ts +17 -0
- package/src/client/about/release-notes-view.ts +49 -24
- package/src/client/chat/ChatEntryView.tsx +2 -2
- package/src/client/chat/rollback-entry-view.ts +6 -1
- package/src/client/common/CommandPalette.tsx +6 -3
- package/src/client/common/ConfirmDialog.tsx +29 -12
- package/src/client/common/ContentPicker.tsx +13 -12
- package/src/client/common/Modal.tsx +12 -5
- package/src/client/common/MoreMenu.tsx +4 -1
- package/src/client/common/RunsCenter.tsx +103 -32
- package/src/client/common/Select.tsx +2 -2
- package/src/client/common/floating-bounds.ts +1 -1
- package/src/client/common/floating-units.test.ts +1 -2
- package/src/client/common/plan-text-redaction.test.ts +188 -3
- package/src/client/common/runs-center-guard.test.ts +60 -0
- package/src/client/common/runs-center-view.test.ts +128 -0
- package/src/client/common/runs-center-view.ts +96 -0
- package/src/client/common/section-title-action.test.ts +66 -0
- package/src/client/common/ui.tsx +93 -30
- package/src/client/config-manager.module.css +1507 -272
- package/src/client/consult/ConsultCard.tsx +7 -6
- package/src/client/environment/EnvironmentPanel.tsx +20 -21
- package/src/client/environment/maintenance/DiskUsageCard.tsx +65 -91
- package/src/client/environment/profiles-incomplete-ui.test.ts +8 -8
- package/src/client/export/ExportView.tsx +7 -16
- package/src/client/history/HistoryPanel.tsx +88 -28
- package/src/client/history/history-locales.ts +3 -3
- package/src/client/home/BackupScheduleCard.tsx +35 -30
- package/src/client/home/HomePanel.tsx +45 -10
- package/src/client/import/ConflictList.tsx +13 -13
- package/src/client/import/ForeignImportView.tsx +32 -13
- package/src/client/import/ImportWizardView.tsx +2 -3
- package/src/client/import/PathMappingForm.tsx +4 -4
- package/src/client/import/PathPickerDialog.tsx +2 -1
- package/src/client/import/foreign-import-view-guard.test.ts +1 -1
- package/src/client/import/import-wizard-steps.tsx +51 -39
- package/src/client/import/use-import-wizard-controller.test.ts +129 -0
- package/src/client/import/use-import-wizard-controller.ts +116 -22
- package/src/client/library/ArtifactRow.tsx +2 -2
- package/src/client/library/BackupInspectView.tsx +19 -15
- package/src/client/library/LibraryActions.tsx +56 -16
- package/src/client/library/LibraryPanel.tsx +7 -7
- package/src/client/library/RestorePlanView.tsx +13 -8
- package/src/client/locales/about.ts +0 -2
- package/src/client/locales/backup.ts +10 -12
- package/src/client/locales/common.ts +2 -0
- package/src/client/locales/export.ts +5 -12
- package/src/client/locales/foreign.ts +11 -2
- package/src/client/locales/import.ts +3 -2
- package/src/client/locales/overview.ts +4 -0
- package/src/client/locales/profiles.ts +32 -4
- package/src/client/locales/restore.ts +0 -2
- package/src/client/locales/sessions.ts +0 -2
- package/src/client/locales/shell.ts +2 -2
- package/src/client/market/MarketPanel.tsx +38 -20
- package/src/client/market/MyConfigsList.tsx +34 -32
- package/src/client/market/MyConfigsLoginCard.tsx +12 -15
- package/src/client/market/MyConfigsView.tsx +5 -5
- package/src/client/market/MyConfigsWizard.tsx +7 -12
- package/src/client/market/market-locales.ts +0 -6
- package/src/client/market/my-configs-split.test.ts +2 -1
- package/src/client/nav-menu-clip-guard.test.ts +52 -0
- package/src/client/recovery/IncompleteCopiesSection.tsx +1 -3
- package/src/client/recovery/RecoveryPanel.tsx +31 -16
- package/src/client/recovery/RollbackCard.tsx +58 -16
- package/src/client/recovery/RollbackFileChanges.tsx +40 -27
- package/src/client/recovery/SessionHealthCard.tsx +2 -2
- package/src/client/recovery/SessionHealthDialog.tsx +5 -7
- package/src/client/recovery/SessionLayoutSection.tsx +3 -5
- package/src/client/recovery/recovery-locales.ts +12 -8
- package/src/client/run-store.test.ts +30 -0
- package/src/client/run-store.ts +21 -1
- package/src/client/sync/AddChannelCard.tsx +65 -0
- package/src/client/sync/AutosyncCard.tsx +182 -108
- package/src/client/sync/ChannelClearConfirmDialog.tsx +5 -1
- package/src/client/sync/ChannelConfigDialog.tsx +27 -48
- package/src/client/sync/MergePreviewView.tsx +3 -5
- package/src/client/sync/PushReportSections.tsx +35 -0
- package/src/client/sync/SyncChannelEntryCard.tsx +33 -24
- package/src/client/sync/SyncConfirmView.tsx +3 -3
- package/src/client/sync/SyncLogList.tsx +16 -5
- package/src/client/sync/SyncPanel.tsx +153 -159
- package/src/client/sync/SyncProbeRow.tsx +5 -7
- package/src/client/sync/SyncRepositoryPicker.tsx +17 -4
- package/src/client/sync/SyncSecuritySection.tsx +157 -0
- package/src/client/sync/SyncSettingsDialog.tsx +304 -0
- package/src/client/sync/SyncSettingsView.test.ts +26 -8
- package/src/client/sync/WorkDirCard.tsx +2 -4
- package/src/client/sync/config-clear-guard.test.ts +94 -0
- package/src/client/sync/config-clear-guard.ts +98 -0
- package/src/client/sync/config-dirty.test.ts +91 -0
- package/src/client/sync/config-dirty.ts +88 -0
- package/src/client/sync/history-model.test.ts +2 -0
- package/src/client/sync/history-model.ts +3 -0
- package/src/client/sync/merge-request.ts +20 -0
- package/src/client/sync/sync-api.ts +12 -0
- package/src/client/sync/sync-locales.ts +87 -47
- package/src/client/sync/sync-panel-clear.test.ts +44 -0
- package/src/client/sync/sync-view.test.ts +20 -0
- package/src/client/sync/sync-view.ts +42 -4
- package/src/core/backup.test.ts +61 -1
- package/src/core/backup.ts +21 -4
- package/src/core/boot-rescue.test.ts +35 -0
- package/src/core/boot-rescue.ts +13 -2
- package/src/core/boot-safety.test.ts +25 -0
- package/src/core/boot-safety.ts +37 -2
- package/src/core/conflict-decisions.ts +2 -1
- package/src/core/exporter.ts +21 -1
- package/src/core/journal.test.ts +183 -0
- package/src/core/journal.ts +163 -25
- package/src/core/local-plugin-host.test.ts +68 -2
- package/src/core/local-plugin-host.ts +31 -4
- package/src/core/messages.ts +14 -0
- package/src/core/migration-history.test.ts +27 -0
- package/src/core/migration-history.ts +12 -4
- package/src/core/model-tools.test.ts +67 -0
- package/src/core/model-tools.ts +16 -4
- package/src/core/patch-secret-guard.test.ts +110 -0
- package/src/core/patch-secret-guard.ts +176 -0
- package/src/core/reconcile.ts +32 -4
- package/src/core/reinstall.ts +8 -2
- package/src/core/restore.ts +32 -7
- package/src/core/section-sanitize.ts +37 -0
- package/src/core/snapshot-diff.test.ts +73 -1
- package/src/core/snapshot-diff.ts +66 -21
- package/src/core/startup-barrier.test.ts +64 -0
- package/src/core/startup-barrier.ts +8 -2
- package/src/core/types.ts +27 -1
- package/src/core/update-check.test.ts +40 -0
- package/src/core/update-check.ts +53 -2
- package/src/foreign/claude-code.test.ts +5 -0
- package/src/foreign/claude-plugins.test.ts +57 -0
- package/src/foreign/claude-sessions-bytes.test.ts +7 -1
- package/src/foreign/dsh.test.ts +23 -0
- package/src/foreign/file-budget.test.ts +7 -1
- package/src/foreign/kernel.ts +9 -2
- package/src/foreign/read-claude-plugins.ts +32 -11
- package/src/foreign/read-dsh.ts +33 -2
- package/src/foreign/read-trae.ts +117 -5
- package/src/foreign/session-ir.test.ts +67 -0
- package/src/foreign/session-ir.ts +54 -14
- package/src/foreign/session-read.ts +23 -0
- package/src/foreign/session-source.ts +15 -5
- package/src/foreign/trae-sqlcipher.test.ts +360 -0
- package/src/foreign/trae-sqlcipher.ts +564 -0
- package/src/foreign/trae.test.ts +188 -0
- package/src/foreign/trae.ts +3 -1
- package/src/foreign/truth-table.ts +4 -2
- package/src/foreign/types.ts +10 -1
- package/src/index.ts +1 -1
- package/src/profiles/dsh-profile-copy-rollback.test.ts +58 -4
- package/src/profiles/dsh-profile-io.ts +29 -0
- package/src/profiles/dsh-profile-manager.test.ts +30 -0
- package/src/profiles/dsh-profile-manager.ts +53 -5
- package/src/profiles/dsh-profile-runtime.test.ts +29 -7
- package/src/profiles/dsh-profile-runtime.ts +17 -3
- package/src/profiles/process-control.test.ts +97 -0
- package/src/profiles/process-control.ts +28 -1
- package/src/routes/profiles.ts +2 -1
- package/src/routes/sync.ts +13 -1
- package/src/schema/types.ts +16 -1
- package/src/security/redaction.test.ts +31 -0
- package/src/security/redaction.ts +23 -6
- package/src/sync/autosync-repeat.test.ts +58 -0
- package/src/sync/autosync-repeat.ts +55 -0
- package/src/sync/autosync-scheduler.test.ts +417 -0
- package/src/sync/autosync-scheduler.ts +154 -41
- package/src/sync/baseline-heal.ts +6 -0
- package/src/sync/baseline-record.ts +135 -0
- package/src/sync/blob-store.test.ts +16 -0
- package/src/sync/blob-store.ts +13 -0
- package/src/sync/content-diff.test.ts +95 -0
- package/src/sync/content-diff.ts +79 -0
- package/src/sync/git/git-transport.test.ts +151 -4
- package/src/sync/git/git-transport.ts +143 -27
- package/src/sync/github-auth.test.ts +26 -1
- package/src/sync/github-auth.ts +37 -1
- package/src/sync/merge-apply-plan.ts +117 -0
- package/src/sync/messages.ts +2 -0
- package/src/sync/pending-merge.ts +77 -0
- package/src/sync/s3/s3-delete-and-blob-index.test.ts +249 -0
- package/src/sync/s3/s3-transport.ts +76 -42
- package/src/sync/sync-config.test.ts +39 -12
- package/src/sync/sync-device-identity.test.ts +3 -0
- package/src/sync/sync-engine.test.ts +465 -12
- package/src/sync/sync-engine.ts +130 -135
- package/src/sync/sync-history.ts +7 -0
- package/src/sync/sync-state.ts +48 -0
- package/src/sync/transport.test.ts +13 -1
- package/src/sync/transport.ts +12 -4
- package/src/sync/webdav/webdav-delete-and-blob-index.test.ts +249 -0
- package/src/sync/webdav/webdav-transport.ts +86 -34
- package/src/ui/commands.test.ts +11 -0
- package/src/ui/commands.ts +5 -14
- package/src/ui/dsh-profiles-view.test.ts +16 -0
- package/src/ui/dsh-profiles-view.ts +11 -5
- package/src/ui/foreign-view.test.ts +36 -0
- package/src/ui/foreign-view.ts +46 -0
- package/src/ui/i18n.ts +17 -2
- package/src/ui/menu-placement.ts +1 -1
- package/src/ui/migration-consult-view.test.ts +20 -1
- package/src/ui/migration-consult-view.ts +17 -0
- package/src/ui/overview-view.ts +10 -0
- package/src/ui/report.test.ts +25 -1
- package/src/ui/report.ts +15 -4
- package/src/ui/selection-model.test.ts +15 -1
- package/src/ui/selection-model.ts +18 -0
- package/src/utils/js-yaml4.d.ts +35 -0
- package/src/utils/patch-yaml.test.ts +207 -1
- package/src/utils/patch-yaml.ts +98 -2
- package/src/utils/paths.test.ts +14 -1
- package/src/utils/paths.ts +35 -0
- package/src/utils/workdir-lock.test.ts +69 -0
- package/src/utils/workdir-lock.ts +17 -3
- package/lib/ui/path-mapping.d.ts +0 -38
- package/lib/ui/path-mapping.js +0 -75
- package/src/client/common/InfoHint.tsx +0 -289
- package/src/client/common/info-hint-guard.test.ts +0 -1119
- package/src/client/sync/DecryptPasswordCard.tsx +0 -48
- package/src/client/sync/SecurityOptionsCard.tsx +0 -97
- package/src/client/sync/SyncSectionPickerDialog.tsx +0 -213
- package/src/ui/path-mapping.test.ts +0 -67
- package/src/ui/path-mapping.ts +0 -103
package/lib/client.d.ts
CHANGED
|
@@ -258,6 +258,17 @@ type SessionFormatDisposition = 'abort' | 'skip' | 'guide';
|
|
|
258
258
|
interface ConflictDecision {
|
|
259
259
|
itemId: string;
|
|
260
260
|
resolution: ItemResolution;
|
|
261
|
+
/**
|
|
262
|
+
* 这条裁决是**谁**下的(issue #136 A):
|
|
263
|
+
* - `'item'`:用户对该计划项逐项决策(`decisions.resolutions[id]`,含导入页的逐行确认)——
|
|
264
|
+
* 适配器可把它当作「我确实要这一行按导入值写」的确认。
|
|
265
|
+
* - `'section'`:由**分区级**裁决换算而来(合并落地 `planMergeApply` 的 second pass 把
|
|
266
|
+
* 「该分区已裁决」逐项注入成 `useImported`)。分区级裁决决定「分区是否应用」,
|
|
267
|
+
* 不构成对某一行值的确认,写回守卫不得据此清空本机明文。
|
|
268
|
+
* - 缺省:未标注来源。写回守卫按**未确认**处理(默认拒绝清空)—— 忘了标注只会少清空,
|
|
269
|
+
* 不会误清空;确认必须显式写明来源。
|
|
270
|
+
*/
|
|
271
|
+
decidedBy?: 'item' | 'section';
|
|
261
272
|
}
|
|
262
273
|
interface PathMapping {
|
|
263
274
|
oldPrefix: string;
|
|
@@ -1613,7 +1624,6 @@ declare const uiZh: {
|
|
|
1613
1624
|
readonly 'snapshots.failed': '失败';
|
|
1614
1625
|
readonly 'snapshots.skipped': '跳过';
|
|
1615
1626
|
readonly 'snapshots.noActions': '该快照无可恢复动作(或全部跳过)。';
|
|
1616
|
-
readonly 'snapshots.selectHint': '选择一个快照预览其恢复计划(只读预览,不会改动任何设置):';
|
|
1617
1627
|
readonly 'snapshots.reportTitle': '恢复报告';
|
|
1618
1628
|
readonly 'sync.privateRepoHint': '安全要求:同步仓库必须为私有仓库(public 仓库会公开你的配置内容)。认证 token 仅用于仓库访问,绝不写入同步文件、提交内容或日志。';
|
|
1619
1629
|
readonly 'sync.kind.create': '新增';
|
|
@@ -1642,6 +1652,7 @@ declare const uiZh: {
|
|
|
1642
1652
|
readonly 'sync.neverSyncedShort': '从未同步';
|
|
1643
1653
|
readonly 'sync.pushFailed': '推送失败';
|
|
1644
1654
|
readonly 'sync.pushOk': '推送成功(快照 {id})';
|
|
1655
|
+
readonly 'sync.pushSkipped': '内容未变化,已跳过(沿用远端快照 {id})';
|
|
1645
1656
|
readonly 'sync.conflictUnresolved': '冲突项 {id} 必须先选择解决方式(保留当前 / 使用导入)';
|
|
1646
1657
|
readonly 'sync.pushPreviewHeadline': '将推送 {total} 个分区({changed} 个有变化)';
|
|
1647
1658
|
readonly 'sync.pushPreviewEncrypted': '加密快照:载荷将整体加密,各分区相对基线的变化不可比对。';
|
|
@@ -1723,6 +1734,7 @@ declare const uiZh: {
|
|
|
1723
1734
|
readonly 'consult.loading': '正在生成咨询报告…';
|
|
1724
1735
|
readonly 'diskUsage.title': '磁盘占用';
|
|
1725
1736
|
readonly 'diskUsage.files': '{count} 个文件';
|
|
1737
|
+
readonly 'diskUsage.total': '合计 {size} · {files}';
|
|
1726
1738
|
readonly 'diskUsage.refresh': '重新体检';
|
|
1727
1739
|
readonly 'diskUsage.loading': '正在统计磁盘占用…';
|
|
1728
1740
|
readonly 'diskUsage.unreadable': '未统计';
|
|
@@ -1903,6 +1915,11 @@ declare const uiZh: {
|
|
|
1903
1915
|
readonly 'foreign.skip.legacy-rules-file': '旧式规则文件:DSH 无对等结构,只报告';
|
|
1904
1916
|
readonly 'foreign.skip.instructions-merged': '多份指令源被合并为一个全局指令文件';
|
|
1905
1917
|
readonly 'foreign.skip.instructions-override-selected': '命中更高优先级的指令文件(override),按它导入';
|
|
1918
|
+
readonly 'foreign.importNothing': '没有可导入的内容:该来源在本机没有可转换的配置或会话';
|
|
1919
|
+
readonly 'foreign.skip.trae-db-key-invalid': 'Trae 加密会话库的密钥对不上(换版或密钥被覆盖):页面头校验不通过,本次未读出任何会话';
|
|
1920
|
+
readonly 'foreign.skip.trae-db-too-large': 'Trae 加密会话库超出本来源的体积上限:未解密,未读出任何会话(全局 1 GiB 上限未改动)';
|
|
1921
|
+
readonly 'foreign.skip.trae-db-decrypt-failed': 'Trae 加密会话库无法解密:文件被截断、不是 SQLCipher 形态或读取失败,本次未读出任何会话';
|
|
1922
|
+
readonly 'foreign.skip.trae-db-schema-mismatch': 'Trae 加密会话库解密成功但表结构不符(缺 chat_session / history_v2 或必需列):不猜字段,本次未读出任何会话';
|
|
1906
1923
|
readonly 'foreign.skip.unsupported-permissions': '权限规则(allow/ask/deny)未迁移:DSH 没有权限规则文件的对等结构,这些规则不在本包内,导入后不会生效';
|
|
1907
1924
|
readonly 'foreign.skip.unsupported-settings-keys': 'settings.json 里其余未迁移的顶层键:只记录键名与条数,键值一律不读取,也不会写进本包';
|
|
1908
1925
|
readonly 'foreign.skip.unsupported-agents': '.claude/agents/*.md 子代理定义未迁移:DSH 的子代理是运行时 provider 注册制,没有文件级对等结构';
|
|
@@ -2360,7 +2377,15 @@ type ForeignSkipCode =
|
|
|
2360
2377
|
/** 同名 MCP server 在多处出现(全局 / 项目级 / 插件):先到先得,其余只报告 */
|
|
2361
2378
|
'mcp-server-id-conflict' |
|
|
2362
2379
|
/** 项目级扫描触顶(maxProjects):**不静默**,如实报码 */
|
|
2363
|
-
'project-scan-truncated'
|
|
2380
|
+
'project-scan-truncated' |
|
|
2381
|
+
/** 加密库密钥不符(换版 / 用户覆盖了错误密钥):页头判据不成立,**绝不静默 0 会话** */
|
|
2382
|
+
'trae-db-key-invalid' |
|
|
2383
|
+
/** 加密库超出**本来源**的体积上限(copy-too-large 语义;全局 1 GiB 兜底未改) */
|
|
2384
|
+
'trae-db-too-large' |
|
|
2385
|
+
/** 加密库解密失败:截断 / 非 SQLCipher 形态 / 页尺寸不符 / IO 错误 */
|
|
2386
|
+
'trae-db-decrypt-failed' |
|
|
2387
|
+
/** 解密成功但表结构不符(缺 chat_session / history_v2 或必需列):可判定失败,不猜字段 */
|
|
2388
|
+
'trae-db-schema-mismatch';
|
|
2364
2389
|
/** `GET /foreign-sources` 返回的一条来源检测结果(与宿主 ForeignSourceStatus 同构) */
|
|
2365
2390
|
interface ForeignSourceStatusInput {
|
|
2366
2391
|
id: string;
|
|
@@ -2953,6 +2978,16 @@ interface SyncPushReport {
|
|
|
2953
2978
|
* deviceId」,别的设备推进过就仍然按冲突返回,绝不越过。
|
|
2954
2979
|
*/
|
|
2955
2980
|
adoptedBase?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* issue #140:本次推送**没有产生新快照**(远端最新快照的分区内容与本次导出逐字相同)。
|
|
2983
|
+
*
|
|
2984
|
+
* 语义:`ok:true` + 本字段 = 「什么都没做,也不算失败」——未 upload、未建目录、未裁剪;
|
|
2985
|
+
* 只是把基线指针**收养**到远端最新快照(`adoptedSnapshotId`),让下一轮判定有正确起点。
|
|
2986
|
+
* GUI / 报告必须显式区分它(「内容未变化,已跳过」),不能显示成「已推送 xx」。
|
|
2987
|
+
*/
|
|
2988
|
+
skipped?: 'unchanged';
|
|
2989
|
+
/** issue #140:`skipped='unchanged'` 时被收养的远端快照 id(= 本次报告里的 snapshotId) */
|
|
2990
|
+
adoptedSnapshotId?: string;
|
|
2956
2991
|
}
|
|
2957
2992
|
/** 差异报告中的单个变更项(PlanItem 摘要,不含敏感细节) */
|
|
2958
2993
|
interface PullChange {
|
|
@@ -3072,6 +3107,16 @@ interface SyncStatusResponse {
|
|
|
3072
3107
|
autosync?: AutosyncStatusResponse;
|
|
3073
3108
|
/** 全部通道的自动同步状态(git/webdav 各自独立;UI 按当前 tab 取对应通道) */
|
|
3074
3109
|
autosyncByChannel?: Record<SyncTransportType, AutosyncStatusResponse>;
|
|
3110
|
+
/**
|
|
3111
|
+
* P2(2026-11-14 真机事故):等人裁决的冲突分区。
|
|
3112
|
+
* 自动同步撞上「远端已推进 + 分区冲突」时,宿主把冲突分区落进 sync-state.pendingMerge;
|
|
3113
|
+
* 有值 = 同步并没有坏,只是有人在等你确认那几个分区(首页「待裁决」行据此跳同步页)。
|
|
3114
|
+
* **永不携带远端快照 id**(与 hasBaseline 同一纪律);since = 这件事第一次挂住的时刻。
|
|
3115
|
+
*/
|
|
3116
|
+
pendingMerge?: {
|
|
3117
|
+
sections: string[];
|
|
3118
|
+
since: string;
|
|
3119
|
+
};
|
|
3075
3120
|
/**
|
|
3076
3121
|
* issue #79:git 工作副本与配置地址的关系(host 只读自检)。
|
|
3077
3122
|
* - `{ facts }` = 自检成功(origin 是否已跟随 repoUrl)
|
|
@@ -3225,6 +3270,11 @@ interface SyncPushPayload {
|
|
|
3225
3270
|
encryptPassword?: string;
|
|
3226
3271
|
/** 导出真实凭据值(必须同时 encrypt=true,否则 Host 拒绝:密钥绝不明文进同步通道) */
|
|
3227
3272
|
includeSecrets?: boolean;
|
|
3273
|
+
/**
|
|
3274
|
+
* issue #140:强制推送 —— 内容与远端最新快照一致时**也**新建快照。
|
|
3275
|
+
* 缺省 false = 内容没变就跳过(不 upload、不建目录,报告 skipped:'unchanged')。
|
|
3276
|
+
*/
|
|
3277
|
+
force?: boolean;
|
|
3228
3278
|
/** s3:具体兼容商(s3 / oss / cos / minio / kodo) */
|
|
3229
3279
|
provider?: string;
|
|
3230
3280
|
endpoint?: string;
|
|
@@ -5012,6 +5062,7 @@ declare const zh$4: {
|
|
|
5012
5062
|
readonly 'about.snippet.environment': '### 环境 / Environment';
|
|
5013
5063
|
readonly 'about.releaseNotes.rateLimited': 'GitHub API 速率限制(Rate limit exceeded),请稍后再试或直接在 GitHub 上查看。';
|
|
5014
5064
|
readonly 'about.releaseNotes.fetchFailed': 'GitHub API 请求失败 ({status} {statusText})';
|
|
5065
|
+
readonly 'about.releaseNotes.timeout': 'GitHub API 请求超时({seconds} 秒无响应),请检查网络或代理后重试。';
|
|
5015
5066
|
readonly 'about.snippet.plugin': '- 插件版本 / Plugin: {version}';
|
|
5016
5067
|
readonly 'about.snippet.dsh': '- DSH 版本 / DSH: {version}';
|
|
5017
5068
|
readonly 'about.snippet.platform': '- 平台 / Platform: {platform}';
|
|
@@ -5075,6 +5126,7 @@ declare const zh$4: {
|
|
|
5075
5126
|
readonly 'overview.activity.colDetail': '详情';
|
|
5076
5127
|
readonly 'overview.activity.colResult': '结果';
|
|
5077
5128
|
readonly 'overview.activity.empty': '暂无操作记录';
|
|
5129
|
+
readonly 'overview.activity.openMerge': '有冲突分区等你裁决:点这一行到同步页处理';
|
|
5078
5130
|
readonly 'overview.activity.unavailable': '活动记录读取失败(这不是「没有记录」)';
|
|
5079
5131
|
readonly 'overview.loadFailed': '有 {count} 项数据读取失败:{message} —— 下面的指标可能不完整';
|
|
5080
5132
|
readonly 'overview.accessMode.title': '当前访问方式不被允许读取本机数据。';
|
|
@@ -5102,7 +5154,6 @@ declare const zh$4: {
|
|
|
5102
5154
|
readonly 'overview.kind.snapshot-delete': '删除快照';
|
|
5103
5155
|
readonly 'overview.kind.snapshot-prune': '清理快照';
|
|
5104
5156
|
readonly 'overview.kind.other': '其他操作';
|
|
5105
|
-
readonly 'export.hint': '默认导出推荐分区(可迁移、不含设备专属数据)。';
|
|
5106
5157
|
readonly 'export.encrypt': '加密备份';
|
|
5107
5158
|
readonly 'export.encryptHint': '用密码加密整个备份文件(AES-256-GCM)。密码仅用于本次加密,不会写入备份或任何配置文件;导入时必须输入该密码才能解锁。';
|
|
5108
5159
|
readonly 'export.password': '备份加密密码';
|
|
@@ -5120,9 +5171,7 @@ declare const zh$4: {
|
|
|
5120
5171
|
readonly 'export.fileNameInvalid': '文件名不合法:仅允许字母数字、空格、- _ .,不能包含路径分隔符。';
|
|
5121
5172
|
readonly 'export.note': '备注';
|
|
5122
5173
|
readonly 'export.notePlaceholder': '例如:迁移前的完整备份 / 2026-08 存档';
|
|
5123
|
-
readonly 'export.noteHint': '备注保存在本机备份列表中(随配置备份迁移),便于区分多个导出产物。';
|
|
5124
5174
|
readonly 'export.compositionTitle': '本次将导出';
|
|
5125
|
-
readonly 'export.compositionHint': '按当前勾选估算(只读预览,零写入)';
|
|
5126
5175
|
readonly 'export.compositionPartial': '将导出 {sections} 个分区 · 已读取 {units} 个条目 · 约 {size}(含未读取分区,实际不少于该值)';
|
|
5127
5176
|
readonly 'export.compositionEmpty': '没有勾选任何可导出的内容';
|
|
5128
5177
|
readonly 'picker.title': '选择要导出的内容';
|
|
@@ -5144,7 +5193,6 @@ declare const zh$4: {
|
|
|
5144
5193
|
readonly 'picker.loadingItems': '正在读取条目…';
|
|
5145
5194
|
readonly 'picker.loadingSection': '读取中…';
|
|
5146
5195
|
readonly 'picker.empty': '没有匹配的分区或条目';
|
|
5147
|
-
readonly 'picker.sessionWorkspaceLinked': '会话与工作区联动勾选:勾上会话会自动勾上它所属的工作区;取消工作区会取消它的会话';
|
|
5148
5196
|
readonly 'picker.unitsUnavailable': '部分分区的条目清单读取失败,这些分区将整体导出。';
|
|
5149
5197
|
readonly 'picker.sectionLoadFailed': '读取失败 · 将整体导出';
|
|
5150
5198
|
readonly 'picker.deviceSpecific': '设备相关';
|
|
@@ -5159,8 +5207,7 @@ declare const zh$4: {
|
|
|
5159
5207
|
readonly 'picker.pluginAreaAbsent': '无内容';
|
|
5160
5208
|
readonly 'picker.bucketPlugins': '插件分区的其他条目(补丁行 / pnpm-workspace.yaml)';
|
|
5161
5209
|
readonly 'picker.bucketLooseFiles': '未归属到插件的配置(~/.dsh 根)';
|
|
5162
|
-
readonly 'picker.
|
|
5163
|
-
readonly 'picker.groupHint.extensions': '只列出能证明的归属(内置来源表 + 插件自述 dsh.dataDirs);没有包名信息的配置留在「未归属」。';
|
|
5210
|
+
readonly 'picker.groupHint.extensions': '只列出能证明归属的条目:某个插件不在这里,不代表本机没有它的配置。';
|
|
5164
5211
|
readonly 'group.general': '通用';
|
|
5165
5212
|
readonly 'group.ai': 'AI';
|
|
5166
5213
|
readonly 'group.extensions': '插件与扩展';
|
|
@@ -5178,6 +5225,7 @@ declare const zh$4: {
|
|
|
5178
5225
|
readonly 'library.pulling': '正在拉取并导入…';
|
|
5179
5226
|
readonly 'library.downloadTitle': '下载远端快照';
|
|
5180
5227
|
readonly 'library.downloading': '正在拉取并下载…';
|
|
5228
|
+
readonly 'library.pullBadge': '同步中';
|
|
5181
5229
|
readonly 'import.consult.unavailable': '暂时无法生成咨询报告(不影响继续导入)。';
|
|
5182
5230
|
readonly 'import.picker.title': '选择要导入的内容';
|
|
5183
5231
|
readonly 'import.picker.hint': '不勾选的条目不会被导入、也不会进快照;随时可以回到这一步修改。';
|
|
@@ -5196,6 +5244,7 @@ declare const zh$4: {
|
|
|
5196
5244
|
readonly 'import.select.file': '已选择:{name}';
|
|
5197
5245
|
readonly 'import.compatibility.title': '兼容性';
|
|
5198
5246
|
readonly 'import.compatibility.score': '兼容性评分:{score}';
|
|
5247
|
+
readonly 'import.compatibility.hint': '评分只看备份格式、DSH 版本方向、平台与包内缺失分区,不阻断导入;具体原因见下方逐条说明。';
|
|
5199
5248
|
readonly 'import.preview.title': '导入预览';
|
|
5200
5249
|
readonly 'import.preview.willChange': '将变更 {count} 项';
|
|
5201
5250
|
readonly 'import.preview.unchanged': '已一致跳过 {count} 项';
|
|
@@ -5236,7 +5285,6 @@ declare const zh$4: {
|
|
|
5236
5285
|
readonly 'import.decryptArchive.unlock': '解锁并继续';
|
|
5237
5286
|
readonly 'import.decrypt.previewHint': '加密备份:凭据已由解锁密码自动恢复,无需再次输入密码。';
|
|
5238
5287
|
readonly 'import.conflicts.title': '解决冲突';
|
|
5239
|
-
readonly 'import.conflicts.hint': '以下配置项在目标 DSH 已存在且与备份不同,请逐项决策。';
|
|
5240
5288
|
readonly 'import.conflicts.keepCurrent': '保留当前';
|
|
5241
5289
|
readonly 'import.conflicts.useImported': '使用备份';
|
|
5242
5290
|
readonly 'import.conflicts.review': '稍后决定';
|
|
@@ -5269,7 +5317,6 @@ declare const zh$4: {
|
|
|
5269
5317
|
readonly 'import.paths.picker.notAbsolute': '请填绝对路径(如 D:\\ 或 /)';
|
|
5270
5318
|
readonly 'import.paths.picker.failed': '读取这个目录失败';
|
|
5271
5319
|
readonly 'home.schedule.title': '定时备份';
|
|
5272
|
-
readonly 'snapshots.selectHint': '选择快照以预览恢复计划(只读预览,不会改动任何设置):';
|
|
5273
5320
|
readonly 'snapshots.status': '状态';
|
|
5274
5321
|
readonly 'snapshots.delete': '删除';
|
|
5275
5322
|
readonly 'snapshots.deleted': '已删除快照';
|
|
@@ -5327,16 +5374,16 @@ declare const zh$4: {
|
|
|
5327
5374
|
readonly 'snapshots.plan.statSkipped.budget': '超出数量上限';
|
|
5328
5375
|
readonly 'snapshots.plan.statSkipped.unreadable': '未统计';
|
|
5329
5376
|
readonly 'backupSchedule.title': '定时全量备份';
|
|
5330
|
-
readonly 'backupSchedule.hint': '
|
|
5377
|
+
readonly 'backupSchedule.hint': '恒不含 secret、不加密;要加密的备份请手动导出。';
|
|
5331
5378
|
readonly 'backupSchedule.enabled': '启用定时备份';
|
|
5332
|
-
readonly 'backupSchedule.enabledHint': '
|
|
5379
|
+
readonly 'backupSchedule.enabledHint': '每次启动先跑一次(距上次运行不足 1 小时则跳过)。';
|
|
5333
5380
|
readonly 'backupSchedule.interval': '备份间隔';
|
|
5334
5381
|
readonly 'backupSchedule.interval.6h': '每 6 小时';
|
|
5335
5382
|
readonly 'backupSchedule.interval.12h': '每 12 小时';
|
|
5336
5383
|
readonly 'backupSchedule.interval.24h': '每 24 小时';
|
|
5337
5384
|
readonly 'backupSchedule.interval.7d': '每 7 天';
|
|
5338
5385
|
readonly 'backupSchedule.interval.custom': '自定义(每周固定时刻)';
|
|
5339
|
-
readonly 'backupSchedule.customHint': '
|
|
5386
|
+
readonly 'backupSchedule.customHint': '错过的时间点不补跑。';
|
|
5340
5387
|
readonly 'backupSchedule.weekday': '星期';
|
|
5341
5388
|
readonly 'backupSchedule.hour': '小时';
|
|
5342
5389
|
readonly 'backupSchedule.minute': '分钟';
|
|
@@ -5359,7 +5406,7 @@ declare const zh$4: {
|
|
|
5359
5406
|
readonly 'backupSchedule.loading': '加载定时备份设置…';
|
|
5360
5407
|
readonly 'backupSchedule.error': '定时备份设置加载失败';
|
|
5361
5408
|
readonly 'retention.title': '保留策略';
|
|
5362
|
-
readonly 'retention.hint': '
|
|
5409
|
+
readonly 'retention.hint': '快照与定时备份共用;置顶快照与未收敛的恢复点恒豁免自动清理。';
|
|
5363
5410
|
readonly 'retention.keepLast': '最近保留';
|
|
5364
5411
|
readonly 'retention.keepLastHint': '按时间保留最近 N 份;0 = 不按「最近」保留';
|
|
5365
5412
|
readonly 'retention.keepMonthly': '每月保留';
|
|
@@ -5370,8 +5417,7 @@ declare const zh$4: {
|
|
|
5370
5417
|
readonly 'retention.months': '个月';
|
|
5371
5418
|
readonly 'retention.years': '年';
|
|
5372
5419
|
readonly 'retention.tiersOff': '仅保留最近 N 份';
|
|
5373
|
-
readonly '
|
|
5374
|
-
readonly 'backupFiles.hint': '导出产物(手动导出与定时备份)统一在此管理:可下载到本机、直接导入恢复,或删除。定时备份自动保留最近 10 个。';
|
|
5420
|
+
readonly 'backupFiles.hint': '定时备份自动保留最近 10 个,更早的会被删除。';
|
|
5375
5421
|
readonly 'backupFiles.empty': '暂无备份文件';
|
|
5376
5422
|
readonly 'backupFiles.delete': '删除';
|
|
5377
5423
|
readonly 'backupFiles.deleteConfirmTitle': '删除备份文件';
|
|
@@ -5407,7 +5453,6 @@ declare const zh$4: {
|
|
|
5407
5453
|
readonly 'about.repo': 'GitHub 仓库';
|
|
5408
5454
|
readonly 'about.docs': '使用文档';
|
|
5409
5455
|
readonly 'about.issues': '反馈问题';
|
|
5410
|
-
readonly 'about.feedbackHint': '遇到界面问题?复制环境信息,粘进 issue 就行';
|
|
5411
5456
|
readonly 'about.copyEnv': '复制环境信息';
|
|
5412
5457
|
readonly 'about.authorLabel': '作者';
|
|
5413
5458
|
readonly 'about.loading': '正在获取版本信息…';
|
|
@@ -5442,6 +5487,21 @@ declare const zh$4: {
|
|
|
5442
5487
|
readonly 'profiles.loading': '加载档案中…';
|
|
5443
5488
|
readonly 'profiles.empty': '还没有任何档案';
|
|
5444
5489
|
readonly 'profiles.refresh': '刷新';
|
|
5490
|
+
readonly 'profiles.machine.title': '本机概况';
|
|
5491
|
+
readonly 'profiles.machine.dshVersion': 'DSH 版本';
|
|
5492
|
+
readonly 'profiles.machine.dataDir': '数据目录';
|
|
5493
|
+
readonly 'profiles.machine.plugins': '已装插件';
|
|
5494
|
+
readonly 'profiles.machine.disk': '磁盘占用';
|
|
5495
|
+
readonly 'profiles.machine.pluginsValue': '{count} 个';
|
|
5496
|
+
readonly 'profiles.machine.diskValue': '{size} · {files} 个文件';
|
|
5497
|
+
readonly 'profiles.machine.unknown': '未知';
|
|
5498
|
+
readonly 'profiles.dataDir.title': '数据目录';
|
|
5499
|
+
readonly 'profiles.dataDir.hint': '以下目录都在当前档案的数据目录下;清理入口在「维护与诊断」的磁盘占用卡。';
|
|
5500
|
+
readonly 'profiles.dataDir.exports': '备份文件';
|
|
5501
|
+
readonly 'profiles.dataDir.snapshots': '导入前快照';
|
|
5502
|
+
readonly 'profiles.dataDir.sync': '同步覆盖与工作副本';
|
|
5503
|
+
readonly 'profiles.dataDir.rollbackPoints': '工作区与会话回滚';
|
|
5504
|
+
readonly 'profiles.dataDir.rowValue': '{size} · {files} 个文件';
|
|
5445
5505
|
readonly 'profiles.current': '当前运行';
|
|
5446
5506
|
readonly 'profiles.running.title': '运行状态';
|
|
5447
5507
|
readonly 'profiles.running.none': '没有正在运行的实例';
|
|
@@ -5490,7 +5550,6 @@ declare const zh$4: {
|
|
|
5490
5550
|
readonly 'profiles.nameReserved': '「{name}」是 DSH 保留名(web / headless / sdk / sdk-minimal / acp / desktop),不能手动创建';
|
|
5491
5551
|
readonly 'profiles.list.title': '全部档案';
|
|
5492
5552
|
readonly 'profiles.list.count': '共 {count} 个';
|
|
5493
|
-
readonly 'profiles.list.hint': '点击档案行查看完整详情(bundle 层 / 依赖 / patch 原文)';
|
|
5494
5553
|
readonly 'profiles.row.summary': '{bundles} 个层 · patch {patch} 条 · 依赖 {deps}';
|
|
5495
5554
|
readonly 'profiles.detail.info': '档案信息';
|
|
5496
5555
|
readonly 'profiles.bundles.count': '{count} 个 bundle 层';
|
|
@@ -5533,7 +5592,6 @@ declare const zh$4: {
|
|
|
5533
5592
|
readonly 'profiles.deleteCurrentWarning': '这是当前运行中的档案:删除后本次运行仍可用,但重启会失败。';
|
|
5534
5593
|
readonly 'profiles.deleteCurrentConfirm': '仍要删除当前档案';
|
|
5535
5594
|
readonly 'profiles.duplicate': '复制';
|
|
5536
|
-
readonly 'profiles.duplicateHint': '把该档案整份复制成一份新档案(清单 / patch 层 / 依赖声明 / pnpm 锁文件;可连同已装的 node_modules 一起拷)';
|
|
5537
5595
|
readonly 'profiles.duplicateTitle': '复制档案';
|
|
5538
5596
|
readonly 'profiles.duplicateMessage': '把档案「{name}」复制成一份新档案:';
|
|
5539
5597
|
readonly 'profiles.duplicate.nameLabel': '副本档案名';
|
|
@@ -5581,7 +5639,7 @@ declare const zh$4: {
|
|
|
5581
5639
|
readonly 'runs.loading': '正在读取任务列表…';
|
|
5582
5640
|
readonly 'runs.loadFailed': '读取任务列表失败:{message}';
|
|
5583
5641
|
readonly 'runs.empty': '近期没有任何任务(运行中的任务会实时出现在这里)';
|
|
5584
|
-
readonly 'runs.retentionHint': '
|
|
5642
|
+
readonly 'runs.retentionHint': '刚结束的任务只保留 30 分钟。';
|
|
5585
5643
|
readonly 'runs.runningBadge': '{count} 个进行中';
|
|
5586
5644
|
readonly 'runs.awaitingBadge': '{count} 个等待你选择';
|
|
5587
5645
|
readonly 'runs.awaitingDecision': '等待你选择';
|
|
@@ -5726,7 +5784,6 @@ declare const zh$4: {
|
|
|
5726
5784
|
readonly 'library.moreActions': '更多操作';
|
|
5727
5785
|
readonly 'backupFiles.inspectEncrypted': '这是整包加密的备份,无法直接查看内容:请点「导入」——向导会先让你输入备份密码解锁,解锁后即可看到包含的分区与差异。';
|
|
5728
5786
|
readonly 'library.source.all': '全部';
|
|
5729
|
-
readonly 'library.origin.foreign': '来自他人档案';
|
|
5730
5787
|
readonly 'library.kind.snapshot': '本机快照';
|
|
5731
5788
|
readonly 'library.kind.backupFile': '备份文件';
|
|
5732
5789
|
readonly 'library.kind.remote': '远端快照';
|
|
@@ -5799,7 +5856,7 @@ declare const zh$4: {
|
|
|
5799
5856
|
readonly 'foreign.importFailed': '导入失败:{reason}';
|
|
5800
5857
|
readonly 'foreign.previewTitle': '将导入的内容';
|
|
5801
5858
|
readonly 'foreign.previewSections': '包含分区:{sections}';
|
|
5802
|
-
readonly 'foreign.previewDryRun': '
|
|
5859
|
+
readonly 'foreign.previewDryRun': '只读预览 · 零写入';
|
|
5803
5860
|
readonly 'foreign.previewReset': '来源已变化:上一次的产包结果作废,请重新「开始导入」。';
|
|
5804
5861
|
readonly 'foreign.lossy.title': '已知有损';
|
|
5805
5862
|
readonly 'foreign.lossy.hint': '下面三条是「外部配置 → bundle → 导入」这条流水线的既有行为:都不阻断导入,兼容性评分也不会为它们给出原因。';
|
|
@@ -5837,6 +5894,10 @@ declare const zh$4: {
|
|
|
5837
5894
|
readonly 'foreign.skip.legacy-rules-file': '旧式规则文件:DSH 无对等结构,只报告';
|
|
5838
5895
|
readonly 'foreign.skip.instructions-merged': '多份指令源被合并为一个全局指令文件';
|
|
5839
5896
|
readonly 'foreign.skip.instructions-override-selected': '命中更高优先级的指令文件(override),按它导入';
|
|
5897
|
+
readonly 'foreign.skip.trae-db-key-invalid': 'Trae 加密会话库的密钥对不上(换版或密钥被覆盖):页面头校验不通过,本次未读出任何会话';
|
|
5898
|
+
readonly 'foreign.skip.trae-db-too-large': 'Trae 加密会话库超出本来源的体积上限:未解密,未读出任何会话(全局 1 GiB 上限未改动)';
|
|
5899
|
+
readonly 'foreign.skip.trae-db-decrypt-failed': 'Trae 加密会话库无法解密:文件被截断、不是 SQLCipher 形态或读取失败,本次未读出任何会话';
|
|
5900
|
+
readonly 'foreign.skip.trae-db-schema-mismatch': 'Trae 加密会话库解密成功但表结构不符(缺 chat_session / history_v2 或必需列):不猜字段,本次未读出任何会话';
|
|
5840
5901
|
readonly 'foreign.conflict.policy': '同 id 冲突不覆盖本机内容:跳过并逐条报告';
|
|
5841
5902
|
};
|
|
5842
5903
|
/** 字典键联合(注册处 compile-time 校验) */
|
|
@@ -5861,27 +5922,29 @@ declare const zh$3: {
|
|
|
5861
5922
|
readonly 'config.tokenSaved': '凭据已配置';
|
|
5862
5923
|
readonly 'config.tokenMissing': '未配置令牌:可拉取公开仓库,无法推送';
|
|
5863
5924
|
readonly 'config.tokenPlaceholder': 'ghp_…(可选)';
|
|
5864
|
-
readonly 'config.save': '立即保存';
|
|
5865
|
-
readonly 'config.saveHint': '表单改动会自动保存:密码/token 安全写入 DSH credentials,不会写入同步文件或日志。';
|
|
5866
5925
|
readonly 'config.savedTick': '已保存';
|
|
5867
5926
|
readonly 'channel.title': '同步通道';
|
|
5868
5927
|
readonly 'channel.git': 'Git 私有仓库';
|
|
5869
5928
|
readonly 'channel.webdav': 'WebDAV 服务器';
|
|
5870
5929
|
readonly 'channel.s3': '对象存储(S3 兼容)';
|
|
5871
5930
|
readonly 'channel.gist': 'GitHub Gist';
|
|
5872
|
-
readonly 'channel.perChannelHint': '每条通道(Git / WebDAV / 对象存储 / Gist)的自动同步、同步模式、加密与远端快照各自独立配置。';
|
|
5873
5931
|
readonly 'channel.open': '配置';
|
|
5874
|
-
readonly 'channel.openHint': '远程同步通过「同步通道」进行:Git 私有仓库或 WebDAV 服务器。';
|
|
5875
5932
|
readonly 'channel.expand': '展开通道详情';
|
|
5876
5933
|
readonly 'channel.collapse': '收起通道详情';
|
|
5877
5934
|
readonly 'channel.clear': '断开配置';
|
|
5878
5935
|
readonly 'channel.clearConfirmTitle': '断开同步通道配置?';
|
|
5879
5936
|
readonly 'channel.clearConfirmMessage': '将删除「{channel}」的本机配置、已保存的凭据与自动同步开关。远端快照与本机备份不受影响;断开后可重新配置。';
|
|
5880
5937
|
readonly 'channel.clearConfirm': '断开配置';
|
|
5938
|
+
readonly 'channel.clearBusy': '还有保存请求没完成,稍后再点一次断开(最多等 5 秒)';
|
|
5881
5939
|
readonly 'channel.clearGitSignOut': 'Git 通道的访问令牌会被一并删除:GitHub 登录状态随之失效,需要重新登录(不会自动恢复)。';
|
|
5882
5940
|
readonly 'channel.configured': '已配置';
|
|
5883
5941
|
readonly 'channel.notConfigured': '未配置';
|
|
5884
5942
|
readonly 'channel.currentUrl': '当前地址';
|
|
5943
|
+
readonly 'addChannel.title': '添加通道';
|
|
5944
|
+
readonly 'addChannel.git': '把配置推进你自己的 Git 仓库(GitHub 仓库可在弹窗里直接登录)';
|
|
5945
|
+
readonly 'addChannel.webdav': '同步到 WebDAV 空间:坚果云、Nextcloud、ownCloud、Seafile、群晖、Box';
|
|
5946
|
+
readonly 'addChannel.s3': '同步到对象存储桶:AWS S3、阿里云 OSS、腾讯云 COS、MinIO、七牛 Kodo';
|
|
5947
|
+
readonly 'addChannel.gist': '用单个 GitHub Gist 存快照,不必新建仓库';
|
|
5885
5948
|
readonly 'workdir.title': '工作副本';
|
|
5886
5949
|
readonly 'workdir.hint': '同步使用的 Git 工作副本。每次同步都会让它的 origin 跟随当前仓库地址;改地址后若仍失败,可在这里重指向或重新克隆。';
|
|
5887
5950
|
readonly 'workdir.path': '路径';
|
|
@@ -5910,12 +5973,10 @@ declare const zh$3: {
|
|
|
5910
5973
|
readonly 'webdav.url': '服务器地址';
|
|
5911
5974
|
readonly 'webdav.urlHint': 'WebDAV 服务器根地址(https://…)。同步快照与索引存放于该地址的 dsh-config-manager/ 子目录下。请勿在地址中包含用户名/密码。';
|
|
5912
5975
|
readonly 'webdav.username': '用户名';
|
|
5913
|
-
readonly 'webdav.usernameHint': 'HTTP Basic 认证用户名(非敏感,可回显)。';
|
|
5914
5976
|
readonly 'webdav.password': '密码';
|
|
5915
5977
|
readonly 'webdav.passwordHint': '将安全写入 DSH credentials(引用名 {ref}),不会写入同步文件或日志。留空表示沿用已保存的凭据。';
|
|
5916
5978
|
readonly 'webdav.passwordSaved': '凭据已配置';
|
|
5917
5979
|
readonly 'webdav.passwordPlaceholder': '密码(可选)';
|
|
5918
|
-
readonly 'webdav.presetHint': '选择常见 WebDAV 服务器可快速填入地址;含 <占位符> 的模板请替换为你的真实服务器/用户名。';
|
|
5919
5980
|
readonly 'webdav.preset.custom': 'Custom URL';
|
|
5920
5981
|
readonly 'webdav.preset.jianguoyun': '坚果云 (Jianguoyun)';
|
|
5921
5982
|
readonly 'webdav.preset.nextcloud': 'Nextcloud';
|
|
@@ -5950,7 +6011,6 @@ declare const zh$3: {
|
|
|
5950
6011
|
readonly 'repoPicker.createFailed': '新建仓库失败';
|
|
5951
6012
|
readonly 'repoPicker.nameRequired': '请填写仓库名。';
|
|
5952
6013
|
readonly 'repoPicker.nameInvalid': '仓库名只能包含字母、数字、点、下划线、连字符(最长 100 字符,不能以点开头)。';
|
|
5953
|
-
readonly 'repoPicker.privateOnly': '新建的仓库固定为私有:公开仓库会公开你的配置内容。';
|
|
5954
6014
|
readonly 'push.title': '推送结果';
|
|
5955
6015
|
readonly 'sections.title': '同步分区';
|
|
5956
6016
|
readonly 'warnings.title': '分区告警';
|
|
@@ -5965,6 +6025,7 @@ declare const zh$3: {
|
|
|
5965
6025
|
readonly 'syncflow.refreshSnapshots': '刷新快照列表';
|
|
5966
6026
|
readonly 'syncflow.latestSnapshot': '最新快照';
|
|
5967
6027
|
readonly 'syncflow.noSnapshots': '远端暂无快照';
|
|
6028
|
+
readonly 'syncflow.snapshotDevice': '由 {device} 推送';
|
|
5968
6029
|
readonly 'syncflow.confirmImport': '确认导入';
|
|
5969
6030
|
readonly 'syncflow.cancel': '取消';
|
|
5970
6031
|
readonly 'syncflow.adoptRemote': '采用远端';
|
|
@@ -5996,19 +6057,18 @@ declare const zh$3: {
|
|
|
5996
6057
|
readonly 'syncflow.pushChanged': '有改动';
|
|
5997
6058
|
readonly 'syncflow.pushUnchanged': '无改动';
|
|
5998
6059
|
readonly 'syncflow.pushConfirm': '确认推送';
|
|
6060
|
+
readonly 'syncflow.pushForce': '内容未变化也新建快照(强制推送)';
|
|
5999
6061
|
readonly 'syncflow.pushFirstBaseline': '远端暂无快照:本次将创建首个同步基线';
|
|
6000
6062
|
readonly 'syncflow.remoteEmptyGuide': '远端还没有任何快照:这是首次同步,先点「推送到远端」把本机配置推上去(推送会创建第一个快照),之后才能拉取。';
|
|
6001
6063
|
readonly 'mode.title': '同步分区';
|
|
6002
|
-
readonly 'mode.hint': '同步范围 = 勾选的分区集合(默认已勾选推荐分区,可随时改)。';
|
|
6003
6064
|
readonly 'mode.selectedCount': '已勾选 {n} / {total}';
|
|
6004
|
-
readonly 'mode.sectionsHint': '默认可同步的是可移植分区;平台相关分区(MCP 服务器)与设备相关分区(插件文件、凭据状态、历史会话)只有你在这里主动勾选才参与同步。';
|
|
6005
6065
|
readonly 'mode.deletePlugins': '跟随远端删除插件';
|
|
6006
6066
|
readonly 'mode.deletePluginsHint': '远端快照里已经没有、本机也没改过的插件会被卸载(判断依据是共同祖先里还有它 —— 那只可能是别处删掉了)。卸载只发生在插件分区真正被应用的那一轮;失败逐项提示、其余同步照常完成。desktop 保留档案与宿主自己不会被删。';
|
|
6007
6067
|
readonly 'mode.atLeastOne': '请至少勾选一个同步分区';
|
|
6008
|
-
readonly 'mode.sectionPortable': '可移植';
|
|
6068
|
+
readonly 'mode.sectionPortable': '可移植 · 默认同步';
|
|
6009
6069
|
readonly 'mode.sectionRecommended': '推荐';
|
|
6010
|
-
readonly 'mode.sectionDeviceSpecific': '设备相关';
|
|
6011
|
-
readonly 'mode.sectionPlatformSpecific': '平台相关';
|
|
6070
|
+
readonly 'mode.sectionDeviceSpecific': '设备相关 · 默认不同步';
|
|
6071
|
+
readonly 'mode.sectionPlatformSpecific': '平台相关 · 默认不同步';
|
|
6012
6072
|
readonly 'mode.mcpHint': 'MCP 服务器按 patch 行写回(导入时落回原层)。按包安装的 stdio 服务器(npx / uvx / pipx)配置本身可跨机;若 command / args / cwd 里是绝对路径,或目标机没装对应运行时,导入分析会给出提示 —— 配置会照常写入,但服务器在目标机可能起不来。';
|
|
6013
6073
|
readonly 'mode.sessionsLimit': '同步最近多少个会话';
|
|
6014
6074
|
readonly 'mode.sessionsLimitHint': '历史会话内容敏感,默认只带最近的 5 个(0 = 只勾选不带会话);单位是一个会话目录,同一会话的全部日志一起走。';
|
|
@@ -6024,19 +6084,24 @@ declare const zh$3: {
|
|
|
6024
6084
|
readonly 'mode.pickerHint': '改动即时生效并保存(关闭弹窗即完成)。';
|
|
6025
6085
|
readonly 'mode.pickerBack': '返回分区列表';
|
|
6026
6086
|
readonly 'mode.pickerDone': '完成';
|
|
6027
|
-
readonly 'mode.
|
|
6087
|
+
readonly 'mode.settingsTitle': '同步设置';
|
|
6088
|
+
readonly 'mode.settingsOpen': '设置';
|
|
6089
|
+
readonly 'mode.tabContent': '同步内容';
|
|
6090
|
+
readonly 'mode.tabAutosync': '自动同步';
|
|
6091
|
+
readonly 'mode.tabSecurity': '加密与密码';
|
|
6092
|
+
readonly 'mode.encryptOn': '加密已开';
|
|
6093
|
+
readonly 'mode.encryptOff': '未加密';
|
|
6094
|
+
readonly 'mode.security': '加密与密钥导出';
|
|
6028
6095
|
readonly 'mode.encrypt': '加密备份';
|
|
6029
|
-
readonly 'mode.encryptHint': '用密码加密同步快照(AES-256-GCM
|
|
6096
|
+
readonly 'mode.encryptHint': '用密码加密同步快照(AES-256-GCM)。密码存在本机 DSH 凭据库(~/.dsh/.credentials.yaml)长期复用:不写进同步文件、日志或备份(除非同时勾选「导出密钥」)。自动同步没有密码,遇到加密快照会跳过并在同步历史提示。';
|
|
6030
6097
|
readonly 'mode.password': '加密密码';
|
|
6031
6098
|
readonly 'mode.passwordConfirm': '确认密码';
|
|
6032
6099
|
readonly 'mode.passwordMismatch': '两次输入的密码不一致';
|
|
6033
6100
|
readonly 'mode.passwordRequired': '加密必须设置密码';
|
|
6034
|
-
readonly 'mode.passwordSavedHint': '本机已保存密码:留空即沿用,输入新密码会覆盖已保存的密码。';
|
|
6035
6101
|
readonly 'mode.passwordPlaceholder': '已保存(留空即沿用)';
|
|
6036
6102
|
readonly 'mode.passwordClearNotice': '取消勾选会删除已保存的密码';
|
|
6037
6103
|
readonly 'mode.includeSecrets': '导出密钥';
|
|
6038
6104
|
readonly 'mode.includeSecretsHint': '把真实凭据值(~/.dsh/.credentials.yaml)写入加密快照,可在另一台机器上随同步一并写回本机凭据;勾选时自动选中加密,密钥绝不进入未加密快照。';
|
|
6039
|
-
readonly 'mode.encryptAutosyncNotice': '加密快照仅通过手动推送/拉取使用;自动同步无密码,遇到加密快照会跳过并在历史中提示。';
|
|
6040
6105
|
readonly 'mode.decryptPassword': '解密密码(加密快照拉取/同步用,可选)';
|
|
6041
6106
|
readonly 'mode.decryptPasswordHint': '输入后保存在本机凭据库,下次拉取自动使用;只有拉取的快照确实加密时才会用到 —— 未加密的备份不会使用密码。';
|
|
6042
6107
|
readonly 'mode.decryptPasswordSaved': '已保存到本机';
|
|
@@ -6073,8 +6138,10 @@ declare const zh$3: {
|
|
|
6073
6138
|
readonly 'autosync.partial': '部分成功';
|
|
6074
6139
|
readonly 'autosync.skipReasonLabel': '跳过原因';
|
|
6075
6140
|
readonly 'autosync.skipReasonConflictCount': '{reason}(远端另有 {n} 个分区待确认,可在同步页手动处理)';
|
|
6141
|
+
readonly 'autosync.pendingMerge': '待裁决 {n} 个分区(自 {time})';
|
|
6076
6142
|
readonly 'autosync.lastMessage': '本轮消息';
|
|
6077
6143
|
readonly 'history.title': '同步历史';
|
|
6144
|
+
readonly 'history.refresh': '刷新';
|
|
6078
6145
|
readonly 'history.empty': '尚无同步历史';
|
|
6079
6146
|
readonly 'history.emptyHint': '完成首次推送 / 从远端合并 / 自动同步后,这里会显示记录。';
|
|
6080
6147
|
readonly 'history.colTime': '时间';
|
|
@@ -6098,12 +6165,15 @@ declare const zh$3: {
|
|
|
6098
6165
|
readonly 'history.autosyncReasonUnknown': '未知';
|
|
6099
6166
|
readonly 'history.autosyncReasonConflictKeptLocal': '已按策略保留本机并覆盖远端';
|
|
6100
6167
|
readonly 'history.autosyncReasonUpToDate': '无变化(本地与远端一致)';
|
|
6168
|
+
readonly 'history.autosyncReasonWarning': '部分内容未落地(详情见本轮告警)';
|
|
6101
6169
|
readonly 'history.autosyncReasonUnchanged': '远端无新快照,无需合并';
|
|
6102
6170
|
readonly 'history.autosyncConflicted': '跳过冲突分区:{sections}';
|
|
6103
6171
|
readonly 'history.autosyncApplied': '应用分区:{sections}';
|
|
6104
6172
|
readonly 'history.autosyncError': '错误:{error}';
|
|
6105
6173
|
readonly 'history.channelGit': 'GitHub';
|
|
6106
6174
|
readonly 'history.channelWebdav': 'WebDAV';
|
|
6175
|
+
readonly 'history.channelS3': 'S3';
|
|
6176
|
+
readonly 'history.channelGist': 'Gist';
|
|
6107
6177
|
readonly 'history.stats.total': '共 {count} 条';
|
|
6108
6178
|
readonly 'history.stats.autosync': '自动同步 {count}';
|
|
6109
6179
|
readonly 'history.stats.failed': '失败 {count}';
|
|
@@ -6111,8 +6181,6 @@ declare const zh$3: {
|
|
|
6111
6181
|
readonly 'history.stats.summary': '同步历史统计';
|
|
6112
6182
|
readonly 'toast.autosyncLoadFailed': '读取自动同步状态失败';
|
|
6113
6183
|
readonly 'toast.configSaveFailed': '保存通道配置失败';
|
|
6114
|
-
readonly 'toast.configSaved': '通道配置已保存';
|
|
6115
|
-
readonly 'toast.configNothingToSave': '请先填写通道地址再保存';
|
|
6116
6184
|
readonly 'toast.channelCleared': '{channel} 配置已断开';
|
|
6117
6185
|
readonly 'toast.githubCodeCopied': '已复制一次性授权代码 {code}';
|
|
6118
6186
|
readonly 'toast.githubCodeCopyFailed': '自动复制失败,请手动复制上面的一次性授权代码';
|
|
@@ -6121,6 +6189,7 @@ declare const zh$3: {
|
|
|
6121
6189
|
readonly 'toast.pushPreviewFailed': '推送预览失败';
|
|
6122
6190
|
readonly 'toast.pushFailed': '推送失败';
|
|
6123
6191
|
readonly 'toast.pushDone': '推送完成';
|
|
6192
|
+
readonly 'toast.pushSkipped': '内容未变化,已跳过';
|
|
6124
6193
|
readonly 'toast.syncStartFailed': '从远端合并失败';
|
|
6125
6194
|
readonly 'toast.autosyncUpdateFailed': '自动同步设置更新失败';
|
|
6126
6195
|
readonly 'toast.autosyncUpdated': '自动同步设置已更新';
|
|
@@ -6140,7 +6209,6 @@ declare const zh$3: {
|
|
|
6140
6209
|
readonly 'syncflow.importPartialToast': '部分成功:{n} 项未生效,请查看结果明细';
|
|
6141
6210
|
readonly 'syncflow.importPartial': '部分成功:{n} 项未生效(其余已写入,未整体回滚)';
|
|
6142
6211
|
readonly 'syncflow.ineffectiveItems': '未生效项';
|
|
6143
|
-
readonly 'history.remoteMovedAction': '在产物库查看远端快照';
|
|
6144
6212
|
readonly 'syncflow.compat.excellent': '兼容性:优秀';
|
|
6145
6213
|
readonly 'syncflow.compat.good': '兼容性:良好(备份来自更旧的 DSH)';
|
|
6146
6214
|
readonly 'syncflow.compat.partial': '兼容性:部分兼容(跨平台 / 分区缺失 / 版本超前,需人工确认)';
|
|
@@ -6148,7 +6216,6 @@ declare const zh$3: {
|
|
|
6148
6216
|
readonly 'cloud.s3Title': '对象存储(S3 兼容)';
|
|
6149
6217
|
readonly 'cloud.gistTitle': 'GitHub Gist';
|
|
6150
6218
|
readonly 'cloud.provider': '兼容商';
|
|
6151
|
-
readonly 'cloud.providerHint': '五家共用同一套 SigV4 签名实现;端点与寻址风格按兼容商取缺省。';
|
|
6152
6219
|
readonly 'cloud.provider.s3': 'AWS S3';
|
|
6153
6220
|
readonly 'cloud.provider.oss': '阿里云 OSS';
|
|
6154
6221
|
readonly 'cloud.provider.cos': '腾讯云 COS';
|
|
@@ -6264,7 +6331,13 @@ declare const zh$3: {
|
|
|
6264
6331
|
readonly 'probe.createdCollections': '已在远端自动创建目录:{list}';
|
|
6265
6332
|
readonly 'probe.snapshotCount': '远端现有快照:{count} 份';
|
|
6266
6333
|
readonly 'probe.unsupported': '该通道不提供连通性自检';
|
|
6267
|
-
readonly '
|
|
6334
|
+
readonly 'mode.tabAutosyncSecurity': '设置';
|
|
6335
|
+
readonly 'mode.pluginsGroup': '插件';
|
|
6336
|
+
readonly 'mode.decryptGroup': '解密密码';
|
|
6337
|
+
readonly 'mode.decryptPasswordShort': '解密密码';
|
|
6338
|
+
readonly 'mode.securityHint': '这一段管两件事:加密备份把同步快照上密码,导出密钥把本机真实凭据一起放进加密快照。两者都需要加密开启;密码与凭据都存本机凭据库,不进同步文件、日志或备份。';
|
|
6339
|
+
readonly 'mode.passwordHint': '两个框填一致才会保存;失焦即落库,之后留空表示沿用已保存的密码。取消勾选「加密备份」会删掉已存密码。';
|
|
6340
|
+
readonly 'mode.pluginsGroupHint': '这一段的设置只作用于「插件」分区:远端已删、本机没改过的插件会被卸载,失败逐项提示、其余同步照常完成。';
|
|
6268
6341
|
};
|
|
6269
6342
|
/** 字典键联合(注册处 compile-time 校验) */
|
|
6270
6343
|
type SyncKey = keyof typeof zh$3;
|
|
@@ -6302,7 +6375,6 @@ declare const zh$2: {
|
|
|
6302
6375
|
readonly 'list.sortStars': '⭐ 最多';
|
|
6303
6376
|
readonly 'list.sortName': '名称 A–Z';
|
|
6304
6377
|
readonly 'list.stars': '⭐ {count}';
|
|
6305
|
-
readonly 'list.starsHint': '来源仓库 star 数(仓库级,非本条目)';
|
|
6306
6378
|
readonly 'list.count': '共 {count} 个条目';
|
|
6307
6379
|
readonly 'list.filtered': '(筛选后 {count} 个)';
|
|
6308
6380
|
readonly 'list.cacheCached': '已缓存';
|
|
@@ -6389,7 +6461,6 @@ declare const zh$2: {
|
|
|
6389
6461
|
readonly 'myconfigs.upload.validateSecrets': '包含密钥:市场通道永不携带秘密,拒绝上传';
|
|
6390
6462
|
readonly 'myconfigs.upload.validateInvalid': '内容校验未通过,无法上传';
|
|
6391
6463
|
readonly 'myconfigs.upload.form.name': '名称';
|
|
6392
|
-
readonly 'myconfigs.upload.form.nameHint': '预填 zip 文件名,可修改';
|
|
6393
6464
|
readonly 'myconfigs.upload.form.description': '描述(可选)';
|
|
6394
6465
|
readonly 'myconfigs.upload.form.categories': '类别(可选,逗号分隔)';
|
|
6395
6466
|
readonly 'myconfigs.upload.form.autoTitle': '自动生成';
|
|
@@ -6401,7 +6472,6 @@ declare const zh$2: {
|
|
|
6401
6472
|
readonly 'myconfigs.update.title': '更新配置';
|
|
6402
6473
|
readonly 'myconfigs.update.hint': '版本自动 +1';
|
|
6403
6474
|
readonly 'myconfigs.update.run': '一键更新';
|
|
6404
|
-
readonly 'myconfigs.update.zipHint': '选择新 zip 后自动校验,通过才能更新。';
|
|
6405
6475
|
readonly 'myconfigs.update.selectZip': '选择新 ZIP…';
|
|
6406
6476
|
readonly 'myconfigs.result.title': '上传/更新完成';
|
|
6407
6477
|
readonly 'myconfigs.result.version': '版本 {version}';
|
|
@@ -6512,7 +6582,7 @@ declare const zh$1: {
|
|
|
6512
6582
|
readonly 'recovery.environment.compatible': '环境匹配';
|
|
6513
6583
|
readonly 'recovery.environment.incompatible': '环境不匹配(可能来自其他机器/安装)';
|
|
6514
6584
|
readonly 'recovery.preview.title': '恢复预览';
|
|
6515
|
-
readonly 'recovery.preview.hint': '
|
|
6585
|
+
readonly 'recovery.preview.hint': '只读预览 · 零写入 · 确认后才执行恢复';
|
|
6516
6586
|
readonly 'recovery.preview.loading': '正在生成预览…';
|
|
6517
6587
|
readonly 'recovery.confirm.title': '确认恢复';
|
|
6518
6588
|
readonly 'recovery.confirm.message': '恢复/回滚是危险操作。确认执行?系统会先把当前文件备份到一个安全位置。';
|
|
@@ -6555,6 +6625,8 @@ declare const zh$1: {
|
|
|
6555
6625
|
readonly 'recovery.crash.advice.check-patch-tree': '进入救援模式后逐个禁用插件排查';
|
|
6556
6626
|
readonly 'recovery.rescue.title': '救援模式';
|
|
6557
6627
|
readonly 'recovery.rescue.desc': 'DSH 因插件起不来时,把插件挂载收窄到「DSH 核心 + 本插件」:改写两层 cordis.patch.yml,并把 dsh.profile.bundles 里的其它用户插件临时移出。不卸载任何包,退出时从备份完整还原。';
|
|
6628
|
+
readonly 'recovery.rescue.short': '停用依赖校验,仅在插件自身无法启动时使用';
|
|
6629
|
+
readonly 'recovery.refresh': '刷新';
|
|
6558
6630
|
readonly 'recovery.rescue.inactive': '救援模式未开启';
|
|
6559
6631
|
readonly 'recovery.rescue.activeBadge': '已开启';
|
|
6560
6632
|
readonly 'recovery.rescue.active': '救援模式已开启({time})—— 请重启 DSH 使其生效。';
|
|
@@ -6802,7 +6874,7 @@ declare const zh$1: {
|
|
|
6802
6874
|
readonly 'rollback.warn.unknown': '未识别的告警(技术细节见下方)';
|
|
6803
6875
|
readonly 'rollback.preview': '预览回退';
|
|
6804
6876
|
readonly 'rollback.preview.title': '回退预览';
|
|
6805
|
-
readonly 'rollback.preview.hint': '
|
|
6877
|
+
readonly 'rollback.preview.hint': '只读预览 · 零写入 · 确认后才执行回退';
|
|
6806
6878
|
readonly 'rollback.preview.loading': '正在生成预览…';
|
|
6807
6879
|
readonly 'rollback.preview.empty': '该回滚点没有可回退的内容。';
|
|
6808
6880
|
readonly 'rollback.preview.none': '该点没有可回退的内容';
|
|
@@ -6924,7 +6996,7 @@ declare const zh$1: {
|
|
|
6924
6996
|
readonly 'sessions.layout.planEmpty': '计划里没有需要执行的动作。';
|
|
6925
6997
|
readonly 'sessions.layout.apiMissing': '当前接口不支持布局归位(缺少 layoutRepairSessions);请更新插件后重试 —— 本机未做任何改动。';
|
|
6926
6998
|
readonly 'sessions.layout.planTitle': '布局归位计划(只读,尚未改动任何文件)';
|
|
6927
|
-
readonly 'sessions.layout.planReadOnly': '
|
|
6999
|
+
readonly 'sessions.layout.planReadOnly': '只读预览 · 零写入';
|
|
6928
7000
|
readonly 'sessions.layout.noCandidates': '本机没有需要归位或隔离的会话。';
|
|
6929
7001
|
readonly 'sessions.layout.summary': '归位 {move} · 隔离 {quarantine}';
|
|
6930
7002
|
readonly 'sessions.layout.planSkipped': '只报告 {count} 条';
|
|
@@ -6979,7 +7051,7 @@ type RecoveryKey = keyof typeof zh$1;
|
|
|
6979
7051
|
type KindKey = `history.kind.${MigrationKind}`;
|
|
6980
7052
|
type ResultKey = `history.result.${MigrationResult}`;
|
|
6981
7053
|
type CommonKey = 'history.subtitle' | 'history.empty' | 'history.loading' | 'history.corruptedBanner' | 'history.corruptedCount' | 'history.stats.total' | 'history.stats.success' | 'history.stats.failed' | 'history.stats.skipped' | 'history.filter.kind' | 'history.filter.result' | 'history.filter.recent' | 'history.filter.recent.all' | 'history.filter.recent.50' | 'history.filter.recent.200' | 'history.search.placeholder' | 'history.export.json' | 'history.export.markdown' | 'history.exported' | 'history.exporting' | 'history.exportError' | 'history.refresh' | 'history.refreshError' | 'history.retention.label' | 'history.retention.hint' | 'history.retention.unlimited' | 'history.retention.units' | 'history.retention.current' | 'history.retention.runNow' | 'history.retention.running' | 'history.retention.cleaned' | 'history.retention.noop' | 'history.retention.saveError' |
|
|
6982
|
-
/**
|
|
7054
|
+
/** 说明按钮的可访问名(2026-11-14 起 ⓘ 已下线、代码不再消费;键与四本字典口径一并保留,免得下游按键取文案时缺项) */
|
|
6983
7055
|
'common.infoHint';
|
|
6984
7056
|
type HistoryKey = KindKey | ResultKey | CommonKey;
|
|
6985
7057
|
/**
|