feat(buddy): 新增新任务默认权限设置 - #213
Merged
shanyuhai123 merged 3 commits intoSep 28, 2026
Merged
shanyuhai123 merged 3 commits into
shanyuhai123 merged 3 commits into
Conversation
Contributor
|
适配了新的规则结构,另外该配置项迁移进 “运行时” 配置。 |
shanyuhai123
force-pushed
the
codex/feature-005-default-permission-mode
branch
from
September 28, 2026 14:17
f67b490 to
8da9d31
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
目前新任务默认使用“智能审批”,用户需要在每个任务中手动切换权限模式。本 PR 增加全局“新任务默认权限”设置,仅影响之后创建的任务;已存在的草稿与会话保持原设置。
改动
~/.lexora/config.toml的desktop.chat.permission_mode;默认仍为“智能审批”,非法值会被拒绝。设置页截图
验证
vue-tsc -b --pretty false:通过;相关 ESLint:通过。0600,当前运行环境报告0666);新增的默认权限配置用例单独运行通过。