fix(plugin-manager): drop the agent exemption hint from the incompatibility reason

This commit is contained in:
turtle1999 committed 2026-09-23 20:04:31 +08:00
1 parent 51d70c5f5c
commit f64c57dbb2
1 file changed
+2 -2
@@ -183,7 +183,7 @@ export const zh = {
reasonStopProfile: '这个 profile 没有启用 HMR,正在使用的包要停止后用 dsh plugin 卸载',
reasonBundleInUse: '其他配置仍在使用这个组合包的组件,请先停用它们',
reasonStaleApproval: '待允许的安装脚本列表已变化,请重新安装以刷新',
reasonIncompatibleVersion: '{plugin} 与 DSH {runtime} 不兼容(要求 {peers}),运行它可能导致崩溃或数据丢失。请安装与当前 DSH 兼容的插件版本;如果确认承担风险,可以让 Agent 为这一精确版本授予豁免。',
reasonIncompatibleVersion: '{plugin} 与 DSH {runtime} 不兼容(要求 {peers}),运行它可能导致崩溃或数据丢失。请安装与当前 DSH 兼容的插件版本。',
reasonIncompatibleVersionUnnamed: '这个插件与当前 DSH 版本不兼容,运行它可能导致崩溃或数据丢失',
reasonOperationError: 'Host 报告了一个错误',
} satisfies Record<string, string>
@@ -374,7 +374,7 @@ export const en = {
reasonStopProfile: 'This profile runs without HMR; stop it and uninstall the package with dsh plugin.',
reasonBundleInUse: 'Other configuration still uses this bundle\'s components; switch them off first.',
reasonStaleApproval: 'The pending script approvals changed; install again to refresh them.',
reasonIncompatibleVersion: '{plugin} is incompatible with DSH {runtime} (requires {peers}); running it may cause crashes or data loss. Install a plugin version compatible with this DSH, or, to accept the risk, ask the agent to grant an exemption for this exact version.',
reasonIncompatibleVersion: '{plugin} is incompatible with DSH {runtime} (requires {peers}); running it may cause crashes or data loss. Install a plugin version compatible with this DSH.',
reasonIncompatibleVersionUnnamed: 'This plugin is incompatible with the running DSH version; running it may cause crashes or data loss.',
reasonOperationError: 'The Host reported an error.',
} satisfies Record<PluginManagerLocaleKey, string>