From f64c57dbb2d254f744eb406e78bdf87c604267fb Mon Sep 17 00:00:00 2001 From: turtle1999 Date: Wed, 23 Sep 2026 20:04:31 +0800 Subject: [PATCH] fix(plugin-manager): drop the agent exemption hint from the incompatibility reason --- packages/client/ui-plugin-manager/src/client/locales.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/ui-plugin-manager/src/client/locales.ts b/packages/client/ui-plugin-manager/src/client/locales.ts index 7fdf9313f4..139c41321d 100644 --- a/packages/client/ui-plugin-manager/src/client/locales.ts +++ b/packages/client/ui-plugin-manager/src/client/locales.ts @@ -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 @@ -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