Skip to content

feat(cursor): Make agent display name editable and drop email from default#117559

Merged
JoshFerge merged 1 commit into
masterfrom
feat/cursor-editable-display-name
Jun 12, 2026
Merged

feat(cursor): Make agent display name editable and drop email from default#117559
JoshFerge merged 1 commit into
masterfrom
feat/cursor-editable-display-name

Conversation

@JoshFerge

@JoshFerge JoshFerge commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

The Cursor integration's stored display name was auto-generated as Cursor Cloud Agent - {email}/{api_key_name}, so the API key owner's email showed up directly in the coding-agent dropdown when launching agents from an issue. This drops the email from the default, leaving Cursor Cloud Agent - {api_key_name} (the email is still kept in metadata and shown in the configurations list, which is a more appropriate place for it).

It also adds an editable Display Name field to the integration settings form. Leaving it blank uses the auto-generated default and keeps it in sync with the API key name; setting a custom value stores it in metadata and preserves it across API key rotations. The settings form renders automatically from get_organization_config(), so no frontend changes are needed.

Existing integrations keep their current (email-bearing) name until the API key is re-saved or a custom name is set — there's no backfill in this PR.

Agent transcript: https://claudescope.sentry.dev/share/xlvzrXTtALmGrxF_vF14RbRl5aIG3nj3MyOOBHR1j4c

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 12, 2026
@JoshFerge JoshFerge force-pushed the feat/cursor-editable-display-name branch 2 times, most recently from 70523c7 to c2f62b7 Compare June 12, 2026 18:42
The Cursor integration's stored display name was auto-generated as
"Cursor Cloud Agent - {email}/{api_key_name}", which surfaced the
key owner's email directly in the coding-agent dropdown when launching
agents. Drop the email so the default is just
"Cursor Cloud Agent - {api_key_name}" (it still lives in metadata and
the configurations list).

Also add an editable "Display Name" field to the integration settings
form. When left blank the auto-generated default is used and stays in
sync with the API key name; when set, the custom name is stored in
metadata and preserved across API key rotations.

Co-Authored-By: Claude <noreply@anthropic.com>

Agent transcript: https://claudescope.sentry.dev/share/ULdM-4nib_15Fd7l-07F8dWVSc6nuGgL1GXZ5n6oV5c
@JoshFerge JoshFerge force-pushed the feat/cursor-editable-display-name branch from c2f62b7 to 3cd17b5 Compare June 12, 2026 18:43
@JoshFerge JoshFerge marked this pull request as ready for review June 12, 2026 18:43
@JoshFerge JoshFerge merged commit 1cba0f5 into master Jun 12, 2026
64 checks passed
@JoshFerge JoshFerge deleted the feat/cursor-editable-display-name branch June 12, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants