@@ -91,9 +91,6 @@ export const AppSettingsSchema = Schema.Struct({
9191 claudeBinaryPath : Schema . String . check ( Schema . isMaxLength ( 4096 ) ) . pipe ( withDefaults ( ( ) => "" ) ) ,
9292 copilotBinaryPath : Schema . String . check ( Schema . isMaxLength ( 4096 ) ) . pipe ( withDefaults ( ( ) => "" ) ) ,
9393 copilotConfigDir : Schema . String . check ( Schema . isMaxLength ( 4096 ) ) . pipe ( withDefaults ( ( ) => "" ) ) ,
94- claudeAuthTokenHelperCommand : Schema . String . check ( Schema . isMaxLength ( 4096 ) ) . pipe (
95- withDefaults ( ( ) => "" ) ,
96- ) ,
9794 codexBinaryPath : Schema . String . check ( Schema . isMaxLength ( 4096 ) ) . pipe ( withDefaults ( ( ) => "" ) ) ,
9895 codexHomePath : Schema . String . check ( Schema . isMaxLength ( 4096 ) ) . pipe ( withDefaults ( ( ) => "" ) ) ,
9996 backgroundImageUrl : Schema . String . check ( Schema . isMaxLength ( 4096 ) ) . pipe ( withDefaults ( ( ) => "" ) ) ,
@@ -265,7 +262,6 @@ function normalizeAppSettings(settings: AppSettings): AppSettings {
265262 ...settings ,
266263 backgroundImageUrl : settings . backgroundImageUrl . trim ( ) ,
267264 browserPreviewStartPageUrl : settings . browserPreviewStartPageUrl . trim ( ) ,
268- claudeAuthTokenHelperCommand : settings . claudeAuthTokenHelperCommand . trim ( ) ,
269265 backgroundImageOpacity : clampBackgroundOpacity ( settings . backgroundImageOpacity ) ,
270266 sidebarOpacity : clampOpacity ( settings . sidebarOpacity ) ,
271267 sidebarProjectRowHeight : clampSidebarProjectRowHeight ( settings . sidebarProjectRowHeight ) ,
@@ -389,7 +385,6 @@ export function getProviderStartOptions(
389385 | "claudeBinaryPath"
390386 | "copilotBinaryPath"
391387 | "copilotConfigDir"
392- | "claudeAuthTokenHelperCommand"
393388 | "codexBinaryPath"
394389 | "codexHomePath"
395390 | "openclawGatewayUrl"
@@ -405,13 +400,10 @@ export function getProviderStartOptions(
405400 } ,
406401 }
407402 : { } ) ,
408- ...( settings . claudeBinaryPath || settings . claudeAuthTokenHelperCommand
403+ ...( settings . claudeBinaryPath
409404 ? {
410405 claudeAgent : {
411406 ...( settings . claudeBinaryPath ? { binaryPath : settings . claudeBinaryPath } : { } ) ,
412- ...( settings . claudeAuthTokenHelperCommand
413- ? { authTokenHelperCommand : settings . claudeAuthTokenHelperCommand }
414- : { } ) ,
415407 } ,
416408 }
417409 : { } ) ,
0 commit comments