ui(chat): show skill names on tool cards and render sandbox file lists - #2854
Merged
Conversation
Skill steps were hard to tell apart in the stream, and list_sandbox_files fell through to raw output. Quote the skill or path in the title and add dedicated cards for read_skill and sandbox listings.
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.
Summary
read_skill/execute_skill_scriptstream titles so skill steps are distinguishable.read_skill(description, bundled files, instructions/content) andlist_sandbox_files(path, size, mtime) instead of falling through to raw output.Test plan
read_skilland confirm the step title is读取技能:「<skill>」(orskill/filewhen a file is read); expand the card and check description, file list, and content.execute_skill_scriptand confirm the title includes「<skill>」plus the script command.list_sandbox_filesafter a skill writes artifacts; expand the card and confirm a file list with sizes instead of raw output, including the empty-state when the directory is empty.