[建议 / Feature] 权限确认卡片可读性有问题,命令无法看全部,description不显示
Open
Nobody has claimed this yet.
priority: P2
status: 待评估
type: 功能建议
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
提交前确认 · Pre-submission checklist
- 我已搜索过现有 issue,确认这不是重复提议 / I searched existing issues and confirmed this isn't a duplicate.
- 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.
问题类别 · Category
UI / 界面体验 · UI / UX
涉及的 Agent 框架 · Agent framework
ZCode Agent(自研)
使用场景 · Use case
- 工具调用弹出权限确认时,卡片只渲染命令文本本身,且长命令被截断、不可滚动;
工具调用的 description 字段(模型已填写的目的说明)完全不显示。 - 结果:用户在弹窗里无法获得判断该命令意图的任何依据,只能批准/拒绝猜谜。
建议方案 · Proposal
- 权限卡片展示该工具调用的 description 字段。
- 命令文本支持滚动查看完整内容或提供展开/复制。
预期价值 · Expected value
用户在提权时 不必再去看不全的命令猜目的,而是可以滑动窗口,并结合description的描述来消除不确定
你认为的优先级 · Your perceived priority
高 · High
你使用的 ZCode 版本 / 环境 · ZCode version / environment
ZCode 0.16.5
补充材料 · Additional context
Contributor 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.
Research direction
Start by locating the permission confirmation card and the handling of tool-call descriptions in the ZCode codebase. Reproduce the issue with a long command and a populated description; the work is done when the description is visible and the full command can be reviewed through scrolling, expansion, or copying.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100