mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-16 11:17:35 +01:00
* Update to Github Copilot npm package * Udpates * Updates * Update Copilot CLI tool mapping with new/updated tools from runtime * Update .github/prompts/updateCopilotCLIToolMapping.prompt.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1.4 KiB
1.4 KiB
name, description
| name | description |
|---|---|
| updateCopilotCLIToolMapping | Update the mapping of Copilot CLI tools from the source code for the CLI runtime |
The constant ToolFriendlyNameAndHandlers in src/extension/chatSessions/copilotcli/common/copilotCLITools.ts
contains a mapping of known tools, and how the progress and output is displayed.
The type ToolInfo contains all of the tools and their corresponding arguments/return types.
All of this information has been derived from /src/tools/**
I would like you to update the ToolFriendlyNameAndHandlers mapping as well as ToolInfo and other related types based on any new/updated tools that are defined in the CLI runtime repo.
- You must create simple TypeScript interfaces as done today see
WebSearchToolfor the toolweb_search - You must have an entry in
ToolFriendlyNameAndHandlersfor the new tools - You must add/update any of the related tests
At the end of all of your changes you must provide a summary
- List of updated tools and their friendly names What are the updates to, did the arguments change, did the return type change, etc. How does this impact what is displayed to the user
- List of new tools and their friendly names How are the arguments and output displayed to the user
Finally, if the user hasn't already provided this, then you must ask for the folder path to the CLI runtime repo.