microsoft / microsoft/vscode-websearchforcopilot

Bug: Extension Will Not Activate or Prompt for API Key

Open
#32 2 comments 4 reactions 0 assignees View on GitHub

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
  1. Installed extension, tried @websearch in Copilot Chat.
  2. Prompted for Tavily API key. Pressed Esc to cancel.
  3. Later, after obtaining an API key, cannot get prompt to appear again and @websearch does not work.
  4. Tried uninstalling/reinstalling, clearing settings, deleting globalStorage, and editing package.json to force activation.
  5. Extension never activates; no logs, no output, no authentication prompt.
Diagnostics
  • activationEvents in 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.