Skip to content

Commit af8bb9e

Browse files
authored
update coding agent TODO action string (#7763)
1 parent d38018c commit af8bb9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/issues/issueTodoProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ export class IssueTodoProvider implements vscode.CodeActionProvider {
6969
// Start Coding Agent Session action (if copilot manager is available)
7070
if (this.copilotRemoteAgentManager) {
7171
const startAgentAction: vscode.CodeAction = new vscode.CodeAction(
72-
vscode.l10n.t('Start Coding Agent Session'),
72+
vscode.l10n.t('Delegate to coding agent'),
7373
vscode.CodeActionKind.QuickFix,
7474
);
7575
startAgentAction.ranges = [new vscode.Range(lineNumber, search, lineNumber, search + match[0].length)];
7676
startAgentAction.command = {
77-
title: vscode.l10n.t('Start Coding Agent Session'),
77+
title: vscode.l10n.t('Delegate to coding agent'),
7878
command: 'issue.startCodingAgentFromTodo',
7979
arguments: [{ document, lineNumber, line, insertIndex, range }],
8080
};

src/test/issues/issueTodoProvider.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ describe('IssueTodoProvider', function () {
3434

3535
// Find the actions
3636
const createIssueAction = actions.find(a => a.title === 'Create GitHub Issue');
37-
const startAgentAction = actions.find(a => a.title === 'Start Coding Agent Session');
37+
const startAgentAction = actions.find(a => a.title === 'Delegate to coding agent');
3838

3939
assert.ok(createIssueAction, 'Should have Create GitHub Issue action');
40-
assert.ok(startAgentAction, 'Should have Start Coding Agent Session action');
40+
assert.ok(startAgentAction, 'Should have Delegate to coding agent action');
4141

4242
assert.strictEqual(createIssueAction?.command?.command, 'issue.createIssueFromSelection');
4343
assert.strictEqual(startAgentAction?.command?.command, 'issue.startCodingAgentFromTodo');

0 commit comments

Comments
 (0)