Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(settings): allow per-project override of usage-limit auto-resume #26378

Openrwspatin(GitHub profile, opens in a new tab)wants to merge 8 commits intomain fromrefs/pull/26378/headopened View on GitHub

Showing 10 changed files with 28 additions and 24 deletions (loading 7).

x
0 of 10 viewed, 10 left
1 addition and 0 deletionsapps/mobile/src/features/settings/SettingsServerControlsRouteScreen.tsxModified
View file
@@ -63,6 +63,7 @@
"enableAgentBrowserAccess",
"sidebarAutoSettleOnMerge",
"sidebarAutoSettleAfterDays",
+ "autoResumeLimitedThreads",
],
"source-control": ["defaultAutoPull", "removeAgentCreditsOnMerge"],
worktrees: [
26 additions and 24 deletionsapps/mobile/src/features/settings/ThreadSettingsSections.tsxModified
View file
@@ -135,30 +135,32 @@
​
return (
<View className="gap-6">
- {!projectSelected ? (
- <SettingsSection title={gt("Usage limits")}>
- <SettingsSwitchRow
- icon="clock"
- label={gt("Resume after usage limits")}
- subtitle={gt(
- "Automatically resume threads when their usage limits reset. You can cancel auto-resume in each thread.",
- )}
- value={uniformMobileSetting(displayTargets, "autoResumeLimitedThreads")}
- disabled={disabledFor("autoResumeLimitedThreads")}
- onValueChange={(value) => writeToAll({ autoResumeLimitedThreads: value })}
- />
- <SettingsSwitchRow
- icon="clock"