Repository navigation
feat(agent): detect Zed SSH sessions - #32258
Merged
Merged
Conversation
matifali
approved these changes
Nov 16, 2026
jeremyruppel
approved these changes
Nov 16, 2026
aslilac
approved these changes
Nov 16, 2026
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Zed connects over plain SSH and sends no app name, so its sessions show up as SSH. When no app name is set, the agent now labels a session
zedif its command starts Zed's remote server proxy (zed-remote-server-… proxy --identifier …).zedwas already in the list of apps Coder knows, so it now shows up in session counts, connection logs and metrics with no server change.Verified against a real Zed 1.28.1 connection to a dogfood workspace: the agent runs
.zed_server/zed-remote-server-stable-1.28.1+stable.390.… proxy --identifier workspace-2.Limitations:
Closes ENG-359
Decision log
zed://link can't carry an app name: Zed keeps only the user, host, port and path from it.config-sshchange would only count sessions opened from dashboard links, so I didn't do that.🤖 Generated with Coder Agents on behalf of @EhabY