优化: AI授权目录改进(误弹窗根因+安全加固)
strip_verbatim比对侧收口/黑名单统一/symlink/bind双路径reload/toast接线;cargo test 18✅
This commit is contained in:
@@ -111,13 +111,18 @@ export default {
|
||||
|
||||
// ===== F-260619-03 Phase A: AI tool allowed dirs panel =====
|
||||
panelAllowedDirs: '📁 AI Tool Allowed Dirs',
|
||||
descAllowedDirs: 'AI file tools (read/write/list/patch/search) can only access the following authorized directories. The project root (workspace_root) is always implicitly authorized and need not be added. Access to directories not in the list will be rejected.',
|
||||
descAllowedDirs: 'AI file tools (read/write/list/patch/search) can only access the following authorized directories. The project root (devflow itself) is always implicitly authorized and need not be added. Access to directories not in the list will be rejected.',
|
||||
allowedDirsLoading: 'Loading…',
|
||||
allowedDirsEmpty: 'No extra authorized directories (only project root is authorized by default)',
|
||||
allowedDirsInputPlaceholder: 'Enter absolute path, e.g. E:/wk-lab/u-abc',
|
||||
allowedDirsSelectDir: 'Select Dir',
|
||||
allowedDirsAdd: 'Add',
|
||||
allowedDirsSave: 'Save',
|
||||
allowedDirsReload: 'Reload',
|
||||
allowedDirsLoadFail: 'Failed to load authorized directories',
|
||||
allowedDirsDup: 'This directory is already in the authorized list',
|
||||
allowedDirsAddFail: 'Failed to add authorized directory',
|
||||
allowedDirsRemoveFail: 'Failed to remove authorized directory',
|
||||
|
||||
// ===== Knowledge base panel =====
|
||||
panelKnowledge: '📚 Knowledge base',
|
||||
|
||||
Reference in New Issue
Block a user