Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(source-control): omit agent credits from PR merge messages #16192

Mergedjuliusmarmingemerged 2 commits intomain fromrefs/pull/16192/headmerged by juliusmarminge View on GitHub

Showing 14 changed files with 175 additions and 0 deletions (loading 12).

x
0 of 14 viewed, 14 left
11 additions and 0 deletionsapps/mobile/src/features/settings/SettingsServerControlsRouteScreen.tsxModified
View file
@@ -50,6 +50,7 @@
"new-threads": ["defaultThreadEnvMode", "worktreeSubmodules", "defaultRuntimeMode"],
"source-control": [
"defaultAutoPull",
+ "removeAgentCreditsOnMerge",
"newWorktreesStartFromOrigin",
"branchNamingMode",
"branchNamePrefix",
@@ -334,6 +335,16 @@
disabled={disabledFor("branchNamingMode")}
onChange={write}
+ <SettingsSection title="Pull requests">
+ <SettingsSwitchRow
+ icon="arrow.triangle.merge"
+ label="Remove agent credits when merging"
+ subtitle="Remove recognized agent credits from GitHub merge and squash messages, keeping human co-authors. Includes auto-merge. Excludes merge queues, stack merges, and existing commits."
+ value={uniform("removeAgentCreditsOnMerge")}
+ disabled={disabledFor("removeAgentCreditsOnMerge")}
+ onValueChange={(value) => write({ removeAgentCreditsOnMerge: value })}
+ />
+ </SettingsSection>
<SettingsSection title="Default branch">
<SettingsSwitchRow
icon="arrow.down.circle"
164 additions and 0 deletionsapps/server/src/pullRequest/GitHubPullRequestCli.test.tsModified
View file