mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-03 02:51:17 +08:00
fix: align OpenClaw tool permission profiles with upstream schema (#1355)
* fix: align OpenClaw tool permission profiles with upstream schema * fix: remove dead i18n keys and save-blocking validation - Remove unused `profiles.*` nested i18n keys (dead code, ToolsPanel uses flat `profileMinimal` etc.) - Remove `invalidProfile` i18n key no longer referenced - Remove handleSave validation that blocked saving allow/deny when legacy profile exists - Keep the profile destructuring cleanup from the original PR --------- Co-authored-by: Your Name <your.email@example.com> Co-authored-by: Jason <farion1231@gmail.com>
This commit is contained in:
@@ -1373,12 +1373,6 @@
|
||||
"unsupportedProfileTitle": "未対応のツールプロファイルを検出しました",
|
||||
"unsupportedProfileDescription": "現在の tools.profile の値 '{{value}}' は OpenClaw の対応リストにありません。新しい値を選択するまでこの値を保持します。",
|
||||
"unsupportedProfileLabel": "未対応",
|
||||
"profiles": {
|
||||
"default": "デフォルト",
|
||||
"strict": "厳格",
|
||||
"permissive": "寛容",
|
||||
"custom": "カスタム"
|
||||
},
|
||||
"allowList": "許可リスト",
|
||||
"denyList": "拒否リスト",
|
||||
"patternPlaceholder": "ツール名またはパターン",
|
||||
|
||||
Reference in New Issue
Block a user