bug(ai): “自动执行只读命令”识别不准确,且缺少允许所有工具自动确认的选项
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by tracing the AI settings entry points for permissions and tools, especially “automatically execute read-only commands” and “use without asking.” Compare their current behavior with the two reported cases: common read-only commands still prompt, and there is no option to allow all tools. Done means the behavior matches an agreed scope for both cases, with tests covering the permission decisions.
Written by the indexing model from the issue text.
Description
描述 Bug
在开启 AI 辅助功能后,工具调用的权限确认机制存在以下两个影响使用体验的问题:
- 缺少全局/完整的工具自动确认功能:在
AI -> 工具 -> 无需询问即可使用中,无法允许所有工具(或服务器执行命令等核心工具)免确认自动执行,导致每次 AI 连续调用工具时都需要人工逐个点击同意,操作非常繁琐。 - “自动执行只读命令”识别不准确:在
AI -> 权限中已经开启了“自动执行只读命令”,但在实际对话中,许多明显属于只读/查看性质的命令依然未被识别为只读,仍然会频繁拦截并要求手动确认。
复现步骤
- 进入
设置 -> AI,开启“自动执行只读命令”。 - 进入
设置 -> AI -> 工具,开启各项内置工具,查看底部的“无需询问即可使用”选项。 - 在对话中让 AI 执行服务器排查或信息读取任务。
期望结果
- 提供“允许所有工具自动执行(无需询问)”的开关,或在“无需询问即可使用”中支持勾选全部工具。
- 优化只读命令的判断逻辑,常见的读取、查询类命令无需每次手动点击确认。
实际结果
每次调用工具及执行部分只读命令时,仍需人工逐个点击确认。
截图
设备
- 系统:Android 15
- 版本:1.0.1787
更多信息
无
- Dominant language
- Dart
- Stars
- 8.9k
- Forks
- 573
- Avg merge
- 2h 11m
- Merged PRs (30d)
- 134
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lollipopkit/flutter_server_box
-
优化建议Openenhancement feature
Difficulty 4/5 3-5 days Newbie friendliness 30/100
lollipopkit/flutter_server_box#1829 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 45/100
lollipopkit/flutter_server_box#1827 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
lollipopkit/flutter_server_box#1808 · 4 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 36/100
lollipopkit/flutter_server_box#1798 · 6 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
bug invalid
Difficulty 3/5 1-2 days Newbie friendliness 35/100
lollipopkit/flutter_server_box#1784 · 12 comments · 2 reactions ·
Maintainers usually reply within 1 day
All issues in lollipopkit/flutter_server_box
Similar issues
-
type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
mikejr83/rc-soar-score#724 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ccch1mneyyy/dsh-Go#381 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
letsar/flutter_slidable#563 ·
Maintainers usually reply within 1 day
-
bot-found bug priority: P3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
madenvel/KalinkaPlayer#498 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
libnativeapi/nativeapi#21 ·