Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit 54432ac

Browse files
Hardcode includeCoAuthoredBy: false instead of adding a user setting
Agent-Logs-Url: https://github.com/microsoft/vscode-copilot-chat/sessions/b52d23f0-a148-444e-82e9-0e9e736ab8e5 Co-authored-by: pierceboggan <1091304+pierceboggan@users.noreply.github.com>
1 parent 5348433 commit 54432ac

4 files changed

Lines changed: 1 addition & 10 deletions

File tree

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3125,11 +3125,6 @@
31253125
"default": false,
31263126
"markdownDescription": "%github.copilot.config.claudeAgent.allowDangerouslySkipPermissions%"
31273127
},
3128-
"github.copilot.chat.claudeAgent.includeCoAuthoredBy": {
3129-
"type": "boolean",
3130-
"default": true,
3131-
"markdownDescription": "%github.copilot.config.claudeAgent.includeCoAuthoredBy%"
3132-
},
31333128
"github.copilot.chat.reviewAgent.enabled": {
31343129
"type": "boolean",
31353130
"default": true,

package.nls.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,6 @@
402402
"github.copilot.config.tools.defaultToolsGrouped": "Group default tools in prompts.",
403403
"github.copilot.config.claudeAgent.enabled": "Enable Claude Agent sessions in VS Code. Start and resume agentic coding sessions powered by Anthropic's Claude Agent SDK directly in the editor. Uses your existing Copilot subscription.",
404404
"github.copilot.config.claudeAgent.allowDangerouslySkipPermissions": "Allow bypass permissions mode. Recommended only for sandboxes with no internet access.",
405-
"github.copilot.config.claudeAgent.includeCoAuthoredBy": "Include the 'Co-authored-by: Claude' attribution in git commits and pull requests created by the Claude Agent. Set to false to disable this attribution.",
406405
"github.copilot.config.cli.mcp.enabled": "Enable Model Context Protocol (MCP) server for Background Agents.",
407406
"github.copilot.config.cli.branchSupport.enabled": "Enable branch support for Background Agents.",
408407
"github.copilot.config.cli.forkSessions.enabled": "Enable forking sessions in Copilot CLI.",

src/extension/chatSessions/claude/node/claudeCodeAgent.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import Anthropic from '@anthropic-ai/sdk';
88
import * as l10n from '@vscode/l10n';
99
import type * as vscode from 'vscode';
1010
import { IChatDebugFileLoggerService } from '../../../../platform/chat/common/chatDebugFileLoggerService';
11-
import { IConfigurationService, ConfigKey } from '../../../../platform/configuration/common/configurationService';
1211
import { INativeEnvService } from '../../../../platform/env/common/envService';
1312
import { ILogService } from '../../../../platform/log/common/logService';
1413
import { IMcpService } from '../../../../platform/mcp/common/mcpService';
@@ -215,7 +214,6 @@ export class ClaudeCodeSession extends Disposable {
215214
@IMcpService private readonly mcpService: IMcpService,
216215
@IOTelService private readonly _otelService: IOTelService,
217216
@IChatDebugFileLoggerService private readonly _debugFileLogger: IChatDebugFileLoggerService,
218-
@IConfigurationService private readonly configurationService: IConfigurationService,
219217
) {
220218
super();
221219
this._currentModelId = initialModelId;
@@ -450,7 +448,7 @@ export class ClaudeCodeSession extends Disposable {
450448
USE_BUILTIN_RIPGREP: '0',
451449
PATH: `${this.envService.appRoot}/node_modules/@vscode/ripgrep/bin${pathSep}${process.env.PATH}`
452450
},
453-
includeCoAuthoredBy: this.configurationService.getConfig(ConfigKey.ClaudeAgentIncludeCoAuthoredBy),
451+
includeCoAuthoredBy: false,
454452
},
455453
canUseTool: async (name, input) => {
456454
if (!this._currentRequest) {

src/platform/configuration/common/configurationService.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,6 @@ export namespace ConfigKey {
938938
export const CodeSearchAgentEnabled = defineSetting<boolean>('chat.codesearch.enabled', ConfigType.Simple, false);
939939
export const ClaudeAgentEnabled = defineSetting<boolean>('chat.claudeAgent.enabled', ConfigType.Simple, true);
940940
export const ClaudeAgentAllowDangerouslySkipPermissions = defineSetting<boolean>('chat.claudeAgent.allowDangerouslySkipPermissions', ConfigType.Simple, false);
941-
export const ClaudeAgentIncludeCoAuthoredBy = defineSetting<boolean>('chat.claudeAgent.includeCoAuthoredBy', ConfigType.Simple, true);
942941
export const InlineEditsEnabled = defineSetting<boolean>('nextEditSuggestions.enabled', ConfigType.ExperimentBased, true);
943942
export const InlineEditsEnableDiagnosticsProvider = defineSetting<boolean>('nextEditSuggestions.fixes', ConfigType.ExperimentBased, true);
944943
export const InlineEditsAllowWhitespaceOnlyChanges = defineSetting<boolean>('nextEditSuggestions.allowWhitespaceOnlyChanges', ConfigType.ExperimentBased, true);

0 commit comments

Comments
 (0)