Skip to content

feat(site): inject chatId into user-configured IDE app links from Agents page #24331

Closed as not planned

Description

@DanielleMaywood

Note

This issue was written by Coder Agent on behalf of Danielle Maywood

Context

PR #24295 replaced the hardcoded meatball menu items with a dynamic WorkspacePill dropdown that renders all workspace apps from agent.display_apps and agent.apps.

The built-in VS Code, VS Code Insiders, and Cursor items pass chatId to getVSCodeHref, which injects it into the deep-link URI. The Coder Remote extension uses this to automatically open the active chat conversation when connecting to the workspace.

Problem

User-configured external apps (JetBrains Gateway, Windsurf, etc.) go through AppMenuItem / useAppLink / getAppHref, which has no concept of chatId. Users opening these IDEs from the Agents page land in the workspace but lose the chat session context.

Suggested approach

Extend the useAppLink / getAppHref pipeline to support injecting additional query parameters (like chatId) for specific protocol families. This would allow any IDE app that supports the Coder Remote protocol to receive chat context, not just the hardcoded VS Code variants.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions