Skip to content

Skills contributed by VS Code Client do not contain descriptions#320644

Merged
aeschli merged 1 commit into
mainfrom
aeschli/vertical-mockingbird-292
Jun 9, 2026
Merged

Skills contributed by VS Code Client do not contain descriptions#320644
aeschli merged 1 commit into
mainfrom
aeschli/vertical-mockingbird-292

Conversation

@aeschli

@aeschli aeschli commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Fixes #320531

Copilot AI review requested due to automatic review settings June 9, 2026 18:14
@aeschli aeschli enabled auto-merge (squash) June 9, 2026 18:14
@aeschli aeschli self-assigned this Jun 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses missing skill descriptions in the chat input completion UI for agent-host-backed (AHP) sessions, so that skills contributed via client customizations surface their descriptions in the suggestion list.

Changes:

  • Show attachment.description as part of completion item labels for command and skill attachments.
  • Adjust skill completion label construction to incorporate displayName (but see review comment regarding insertion/filtering consistency).
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.ts Updates chat input completion item label metadata so skill/command descriptions are visible in the suggestions UI.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment on lines +136 to 140
const label = attachment.displayName ? '/' + attachment.displayName : item.insertText.trimEnd();
return {
label: attachment.displayName ? { label, description: attachment.displayName } : label,
label: { label, description: attachment.description },
insertText: item.insertText,
filterText: item.insertText,
@aeschli aeschli merged commit 99dcaab into main Jun 9, 2026
26 checks passed
@aeschli aeschli deleted the aeschli/vertical-mockingbird-292 branch June 9, 2026 18:42
@vs-code-engineering vs-code-engineering Bot added this to the 1.125.0 milestone Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skills contributed by VS Code Client do not contain descriptions

4 participants