zai-org / zai-org/feedback

[建议 / Feature] 权限确认卡片可读性有问题,命令无法看全部,description不显示

Open
#543 1 comment 0 reactions 0 assignees View on GitHub

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
  1. 权限卡片展示该工具调用的 description 字段。
  2. 命令文本支持滚动查看完整内容或提供展开/复制。
预期价值 · Expected value

用户在提权时 不必再去看不全的命令猜目的,而是可以滑动窗口,并结合description的描述来消除不确定

你认为的优先级 · Your perceived priority

高 · High

你使用的 ZCode 版本 / 环境 · ZCode version / environment

ZCode 0.16.5

补充材料 · Additional context
Image 截断,无法滑动看到命令全部,而且这个命令本身有description,但是不显示

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.