Skip to content

Commit 560f68c

Browse files
wSedlacekclaude
andcommitted
fix(server): keep the agent context budget at main's size
The keepHostAwake input on t3_environment_preferences_update added 73 bytes to the tool list every agent loads, which the budget check rejects. Agents can still read the setting; changing it stays in the clients. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 1d1b732 commit 560f68c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎apps/server/src/mcp/toolkits/environment/tools.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ const EnvironmentPreferencesTool = Tool.make("t3_environment_preferences_update"
6464
newWorktreesStartFromOrigin: ServerSettingsPatch.fields.newWorktreesStartFromOrigin,
6565
enableProviderUpdateChecks: ServerSettingsPatch.fields.enableProviderUpdateChecks,
6666
backgroundActivity: Schema.optionalKey(Schema.Struct({ profile: BackgroundActivityProfile })),
67-
keepHostAwake: ServerSettingsPatch.fields.keepHostAwake,
6867
sourceControlWritingStyle: ServerSettingsPatch.fields.sourceControlWritingStyle,
6968
}),
7069
success: Schema.Struct(PreferenceFields),
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"claudeSystemAppendBytes": 5153,
33
"codexAdditionalContextBytes": 6883,
4-
"mcpToolListJsonBytes": 47611
4+
"mcpToolListJsonBytes": 47538
55
}

0 commit comments

Comments
 (0)