microsoft / microsoft/vscode-websearchforcopilot
Bug: Extension Will Not Activate or Prompt for API Key
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 65
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Bug: Extension Will Not Activate or Prompt for API Key
- Extension: ms-vscode.vscode-websearchforcopilot v0.1.2
- VS Code: [1.99.3]
- OS: [Windows 10]
Steps
- Installed extension, tried @websearch in Copilot Chat.
- Prompted for Tavily API key. Pressed Esc to cancel.
- Later, after obtaining an API key, cannot get prompt to appear again and @websearch does not work.
- Tried uninstalling/reinstalling, clearing settings, deleting globalStorage, and editing package.json to force activation.
- Extension never activates; no logs, no output, no authentication prompt.
Diagnostics
activationEventsin published package.json is an empty array ([]), so the extension never activates.- Even forcing activation with
["*"], the prompt does not reappear after initial cancellation.
Expected
- Extension should always activate when used in Copilot Chat and should allow user to enter or change API key after cancelling first prompt.
Actual
- Extension is inert and cannot be used after initial cancel.
Request
- Please republish the extension with correct activation events and fix the authentication retry logic.
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 inspecting the published package.json activationEvents and the extension's authentication flow for the initial cancellation case. Reproduce use of @websearch in Copilot Chat, then verify that activation occurs and the Tavily API key prompt can be shown again or changed after cancellation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- authentication, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100