You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(site): inject chatId into user-configured IDE app links from Agents page #24331
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.
Activity
fix(site/src/pages/AgentsPage): remove builtin Cursor, fix clipboard/…