Skip to content

chore: use protocol from product configuration for openAgentsWindow action#307585

Merged
deepak1556 merged 3 commits intomainfrom
robo/agent_app_url_cleanup
Apr 3, 2026
Merged

chore: use protocol from product configuration for openAgentsWindow action#307585
deepak1556 merged 3 commits intomainfrom
robo/agent_app_url_cleanup

Conversation

@deepak1556
Copy link
Copy Markdown
Collaborator

No description provided.

@deepak1556 deepak1556 added this to the 1.115.0 milestone Apr 3, 2026
@deepak1556 deepak1556 self-assigned this Apr 3, 2026
Copilot AI review requested due to automatic review settings April 3, 2026 06:49
@deepak1556 deepak1556 enabled auto-merge (squash) April 3, 2026 06:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the “Open Agents Application” command to derive the external URL protocol from product configuration (instead of hardcoding a quality→scheme mapping), and extends the product configuration typing to support this embedded-app metadata.

Changes:

  • Switch OpenAgentsWindowAction to open the external Agents app using productService.embedded.urlProtocol when available.
  • Add embedded?: IEmbeddedProductConfiguration to IProductConfiguration and define the new embedded configuration interface.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/vs/workbench/contrib/chat/electron-browser/agentSessions/agentSessionsActions.ts Uses the embedded product config’s protocol to open the external Agents app (with fallback to nativeHostService.openAgentsWindow()).
src/vs/base/common/product.ts Adds a new embedded section to product configuration typings, including the embedded app’s protocol and platform identifiers.

bhavyaus
bhavyaus previously approved these changes Apr 3, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@deepak1556 deepak1556 marked this pull request as draft April 3, 2026 07:03
auto-merge was automatically disabled April 3, 2026 07:03

Pull request was converted to draft

@deepak1556 deepak1556 marked this pull request as ready for review April 3, 2026 07:14
@deepak1556 deepak1556 enabled auto-merge (squash) April 3, 2026 07:14
@deepak1556 deepak1556 merged commit 9f8d4fd into main Apr 3, 2026
19 checks passed
@deepak1556 deepak1556 deleted the robo/agent_app_url_cleanup branch April 3, 2026 07:33
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.

3 participants