Skip to content

Commit 1251990

Browse files
ref(cursor): Rename Cursor Background Agent to Cursor Cloud Agent (#103260)
Update all frontend references to reflect rebranding from 'Cursor Background Agent' to 'Cursor Cloud Agent'. --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
1 parent d8a9ef5 commit 1251990

File tree

9 files changed

+24
-38
lines changed

9 files changed

+24
-38
lines changed

static/app/components/events/autofix/autofixRootCause.spec.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describe('AutofixRootCause', () => {
147147
await userEvent.click(dropdownTrigger);
148148

149149
// Click the Cursor option in the dropdown
150-
await userEvent.click(await screen.findByText('Send to Cursor Background Agent'));
150+
await userEvent.click(await screen.findByText('Send to Cursor Cloud Agent'));
151151

152152
expect(JSON.parse(localStorage.getItem('autofix:rootCauseActionPreference')!)).toBe(
153153
'cursor_background_agent'
@@ -210,7 +210,7 @@ describe('AutofixRootCause', () => {
210210
render(<AutofixRootCause {...defaultProps} />);
211211

212212
expect(
213-
await screen.findByRole('button', {name: 'Send to Cursor Background Agent'})
213+
await screen.findByRole('button', {name: 'Send to Cursor Cloud Agent'})
214214
).toBeInTheDocument();
215215

216216
// Verify Seer option is in the dropdown
@@ -249,8 +249,6 @@ describe('AutofixRootCause', () => {
249249
});
250250
await userEvent.click(dropdownTrigger);
251251

252-
expect(
253-
await screen.findByText('Send to Cursor Background Agent')
254-
).toBeInTheDocument();
252+
expect(await screen.findByText('Send to Cursor Cloud Agent')).toBeInTheDocument();
255253
});
256254
});

static/app/components/events/autofix/autofixRootCause.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,10 +479,10 @@ function AutofixRootCauseDisplay({
479479
busy={isLaunchingAgent}
480480
disabled={isLoadingAgents}
481481
onClick={handleLaunchCodingAgent}
482-
title={t('Send to Cursor Background Agent')}
482+
title={t('Send to Cursor Cloud Agent')}
483483
icon={<PluginIcon pluginId="cursor" size={16} />}
484484
>
485-
{t('Send to Cursor Background Agent')}
485+
{t('Send to Cursor Cloud Agent')}
486486
</Button>
487487
<DropdownMenu
488488
items={[
@@ -531,7 +531,7 @@ function AutofixRootCauseDisplay({
531531
label: (
532532
<Flex gap="md" align="center">
533533
<PluginIcon pluginId="cursor" size={20} />
534-
<div>{t('Send to Cursor Background Agent')}</div>
534+
<div>{t('Send to Cursor Cloud Agent')}</div>
535535
</Flex>
536536
),
537537
onAction: handleLaunchCodingAgent,

static/app/components/events/autofix/codingAgentCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function CodingAgentCard({codingAgentState, repo}: CodingAgentCardProps) {
6868
const getProviderName = (provider: CodingAgentProvider) => {
6969
switch (provider) {
7070
case CodingAgentProvider.CURSOR_BACKGROUND_AGENT:
71-
return t('Cursor Background Agent');
71+
return t('Cursor Cloud Agent');
7272
default:
7373
return t('Coding Agent');
7474
}

static/app/components/events/autofix/cursorIntegrationCta.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export function CursorIntegrationCta({project}: CursorIntegrationCtaProps) {
121121
</Heading>
122122
<Text>
123123
{tct(
124-
'Connect Cursor to automatically hand off Seer root cause analysis to Cursor Background Agents for seamless code fixes. [docsLink:Read the docs] to learn more.',
124+
'Connect Cursor to automatically hand off Seer root cause analysis to Cursor Cloud Agents for seamless code fixes. [docsLink:Read the docs] to learn more.',
125125
{
126126
docsLink: (
127127
<ExternalLink href="https://docs.sentry.io/integrations/cursor/" />
@@ -151,7 +151,7 @@ export function CursorIntegrationCta({project}: CursorIntegrationCtaProps) {
151151
</Heading>
152152
<Text>
153153
{tct(
154-
'You have the Cursor integration installed. Turn on Seer automation and set up hand off to trigger Cursor Background Agents during automation. [seerProjectSettings:Configure in Seer project settings] or [docsLink:read the docs] to learn more.',
154+
'You have the Cursor integration installed. Turn on Seer automation and set up hand off to trigger Cursor Cloud Agents during automation. [seerProjectSettings:Configure in Seer project settings] or [docsLink:read the docs] to learn more.',
155155
{
156156
seerProjectSettings: (
157157
<Link to={`/settings/projects/${project.slug}/seer/`} />
@@ -183,7 +183,7 @@ export function CursorIntegrationCta({project}: CursorIntegrationCtaProps) {
183183
</Heading>
184184
<Text>
185185
{tct(
186-
'Cursor handoff is active. During automation runs, Seer will automatically trigger Cursor Background Agents. [docsLink:Read the docs] to learn more.',
186+
'Cursor handoff is active. During automation runs, Seer will automatically trigger Cursor Cloud Agents. [docsLink:Read the docs] to learn more.',
187187
{
188188
docsLink: (
189189
<ExternalLink href="https://docs.sentry.io/integrations/cursor/" />

static/app/views/issueDetails/streamline/sidebar/seerDrawer.spec.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ describe('SeerDrawer', () => {
720720
);
721721

722722
expect(
723-
await screen.findByText('Hand Off to Cursor Background Agents')
723+
await screen.findByText('Hand Off to Cursor Cloud Agents')
724724
).toBeInTheDocument();
725725
expect(
726726
screen.getByRole('button', {name: 'Set Seer to hand off to Cursor'})
@@ -801,8 +801,6 @@ describe('SeerDrawer', () => {
801801
);
802802

803803
// Should not show the step since it was skipped
804-
expect(
805-
screen.queryByText('Hand Off to Cursor Background Agents')
806-
).not.toBeInTheDocument();
804+
expect(screen.queryByText('Hand Off to Cursor Cloud Agents')).not.toBeInTheDocument();
807805
});
808806
});

static/app/views/issueDetails/streamline/sidebar/seerNotices.spec.tsx

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,7 @@ describe('SeerNotices', () => {
152152
},
153153
});
154154
await waitFor(() => {
155-
expect(
156-
screen.getByText('Hand Off to Cursor Background Agents')
157-
).toBeInTheDocument();
155+
expect(screen.getByText('Hand Off to Cursor Cloud Agents')).toBeInTheDocument();
158156
});
159157
});
160158

@@ -199,9 +197,7 @@ describe('SeerNotices', () => {
199197
});
200198

201199
// Should not show the cursor step since it was skipped
202-
expect(
203-
screen.queryByText('Hand Off to Cursor Background Agents')
204-
).not.toBeInTheDocument();
200+
expect(screen.queryByText('Hand Off to Cursor Cloud Agents')).not.toBeInTheDocument();
205201

206202
// Clean up localStorage
207203
localStorage.removeItem(`seer-onboarding-cursor-skipped:${ProjectFixture().id}`);
@@ -260,9 +256,7 @@ describe('SeerNotices', () => {
260256
});
261257

262258
// Should not show the cursor step since handoff is already configured
263-
expect(
264-
screen.queryByText('Hand Off to Cursor Background Agents')
265-
).not.toBeInTheDocument();
259+
expect(screen.queryByText('Hand Off to Cursor Cloud Agents')).not.toBeInTheDocument();
266260
});
267261

268262
it('does not render guided steps if all onboarding steps are complete', () => {
@@ -293,8 +287,6 @@ describe('SeerNotices', () => {
293287
expect(screen.queryByText('Pick Repositories to Work In')).not.toBeInTheDocument();
294288
expect(screen.queryByText('Unleash Automation')).not.toBeInTheDocument();
295289
expect(screen.queryByText('Get Some Quick Wins')).not.toBeInTheDocument();
296-
expect(
297-
screen.queryByText('Hand Off to Cursor Background Agents')
298-
).not.toBeInTheDocument();
290+
expect(screen.queryByText('Hand Off to Cursor Cloud Agents')).not.toBeInTheDocument();
299291
});
300292
});

static/app/views/issueDetails/streamline/sidebar/seerNotices.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ export function SeerNotices({groupId, hasGithubIntegration, project}: SeerNotice
458458
<CursorPluginIcon>
459459
<PluginIcon pluginId="cursor" />
460460
</CursorPluginIcon>
461-
{t('Hand Off to Cursor Background Agents')}
461+
{t('Hand Off to Cursor Cloud Agents')}
462462
</Flex>
463463
}
464464
isCompleted={!needsCursorIntegration}
@@ -470,12 +470,12 @@ export function SeerNotices({groupId, hasGithubIntegration, project}: SeerNotice
470470
<Fragment>
471471
<span>
472472
{t(
473-
'Enable Seer automation and set up handoff to Cursor Background Agents when Seer identifies a root cause.'
473+
'Enable Seer automation and set up handoff to Cursor Cloud Agents when Seer identifies a root cause.'
474474
)}
475475
</span>
476476
<span>
477477
{tct(
478-
'During automation, Seer will trigger Cursor Background Agents to generate and submit pull requests directly to your repos. Configure in [seerProjectSettings:Seer project settings] or [docsLink:read the docs] to learn more.',
478+
'During automation, Seer will trigger Cursor Cloud Agents to generate and submit pull requests directly to your repos. Configure in [seerProjectSettings:Seer project settings] or [docsLink:read the docs] to learn more.',
479479
{
480480
seerProjectSettings: (
481481
<Link
@@ -493,7 +493,7 @@ export function SeerNotices({groupId, hasGithubIntegration, project}: SeerNotice
493493
<Fragment>
494494
<span>
495495
{t(
496-
'Connect Cursor to automatically hand off Seer root cause analysis to Cursor Background Agents for seamless code fixes.'
496+
'Connect Cursor to automatically hand off Seer root cause analysis to Cursor Cloud Agents for seamless code fixes.'
497497
)}
498498
</span>
499499
<span>

static/app/views/settings/projectSeer/index.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,9 +521,9 @@ describe('ProjectSeer', () => {
521521
select.focus();
522522
});
523523

524-
// Open the menu and select 'Hand off to Cursor Background Agent'
524+
// Open the menu and select 'Hand off to Cursor Cloud Agent'
525525
await userEvent.click(select);
526-
const cursorOption = await screen.findByText('Hand off to Cursor Background Agent');
526+
const cursorOption = await screen.findByText('Hand off to Cursor Cloud Agent');
527527
await userEvent.click(cursorOption);
528528

529529
// Form has saveOnBlur=true, so wait for the PUT request

static/app/views/settings/projectSeer/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,10 @@ function ProjectSeerGeneralForm({project}: {project: Project}) {
177177
{
178178
value: 'cursor_handoff',
179179
label: (
180-
<SeerSelectLabel>
181-
{t('Hand off to Cursor Background Agent')}
182-
</SeerSelectLabel>
180+
<SeerSelectLabel>{t('Hand off to Cursor Cloud Agent')}</SeerSelectLabel>
183181
),
184182
details: t(
185-
"Seer will identify the root cause and hand off the fix to Cursor's background agent."
183+
"Seer will identify the root cause and hand off the fix to Cursor's cloud agent."
186184
),
187185
},
188186
]

0 commit comments

Comments
 (0)