Skip to content

Commit 50bf101

Browse files
committed
Delegate to Coding Agent -> Delegate to Agent
1 parent fdc2f25 commit 50bf101

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/github/copilotRemoteAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export class CopilotRemoteAgentManager extends Disposable {
227227
} else {
228228
/* @copilot invoked from a 'normal' chat or 'cloud button' */
229229
stream.confirmation(
230-
vscode.l10n.t('Delegate to coding agent'),
230+
vscode.l10n.t('Delegate to agent'),
231231
DELEGATE_MODAL_DETAILS,
232232
{
233233
step: 'create',

src/issues/issueTodoProvider.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ export class IssueTodoProvider implements vscode.CodeActionProvider, vscode.Code
8080
// Start Coding Agent Session action (if copilot manager is available)
8181
if (this.copilotRemoteAgentManager) {
8282
const startAgentAction: vscode.CodeAction = new vscode.CodeAction(
83-
vscode.l10n.t('Delegate to coding agent'),
83+
vscode.l10n.t('Delegate to agent'),
8484
vscode.CodeActionKind.QuickFix,
8585
);
8686
startAgentAction.ranges = [new vscode.Range(lineNumber, search, lineNumber, search + match[0].length)];
8787
startAgentAction.command = {
88-
title: vscode.l10n.t('Delegate to coding agent'),
88+
title: vscode.l10n.t('Delegate to agent'),
8989
command: 'issue.startCodingAgentFromTodo',
9090
arguments: [{ document, lineNumber, line, insertIndex, range }],
9191
};
@@ -127,7 +127,7 @@ export class IssueTodoProvider implements vscode.CodeActionProvider, vscode.Code
127127
const range = new vscode.Range(lineNumber, search, lineNumber, search + match[0].length);
128128
if (this.copilotRemoteAgentManager && (await this.copilotRemoteAgentManager.isAvailable())) {
129129
const startAgentCodeLens = new vscode.CodeLens(range, {
130-
title: vscode.l10n.t('Delegate to coding agent'),
130+
title: vscode.l10n.t('Delegate to agent'),
131131
command: 'issue.startCodingAgentFromTodo',
132132
arguments: [{ document, lineNumber, line, insertIndex, range }],
133133
});

src/test/issues/issueTodoProvider.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ describe('IssueTodoProvider', function () {
5858

5959
// Find the actions
6060
const createIssueAction = actions.find(a => a.title === 'Create GitHub Issue');
61-
const startAgentAction = actions.find(a => a.title === 'Delegate to coding agent');
61+
const startAgentAction = actions.find(a => a.title === 'Delegate to agent');
6262

6363
assert.ok(createIssueAction, 'Should have Create GitHub Issue action');
64-
assert.ok(startAgentAction, 'Should have Delegate to coding agent action');
64+
assert.ok(startAgentAction, 'Should have Delegate to agent action');
6565

6666
assert.strictEqual(createIssueAction?.command?.command, 'issue.createIssueFromSelection');
6767
assert.strictEqual(startAgentAction?.command?.command, 'issue.startCodingAgentFromTodo');
@@ -115,9 +115,9 @@ describe('IssueTodoProvider', function () {
115115
assert.strictEqual(codeLenses.length, 1);
116116

117117
// Verify the code lenses
118-
const startAgentLens = codeLenses.find(cl => cl.command?.title === 'Delegate to coding agent');
118+
const startAgentLens = codeLenses.find(cl => cl.command?.title === 'Delegate to agent');
119119

120-
assert.ok(startAgentLens, 'Should have Delegate to coding agent CodeLens');
120+
assert.ok(startAgentLens, 'Should have Delegate to agent CodeLens');
121121

122122
assert.strictEqual(startAgentLens?.command?.command, 'issue.startCodingAgentFromTodo');
123123

0 commit comments

Comments
 (0)