219
220
export function shouldSurfaceLocalAgentHostProvider(provider: AgentProvider, configurationService: IConfigurationService, isSessionsWindow: boolean): boolean {
222
>
case CLAUDE_AGENT_PROVIDER_ID:
223
return configurationService.getValue<boolean>(claudePreferAgentHostSettingId(isSessionsWindow)) === true;
225
>
return configurationService.getValue<boolean>(isSessionsWindow ? AgentHostCodexAgentEnabledSettingId : CodexPreferAgentHostEditorSettingId) === true;
226
>
default:
227
return true;
229
>
}
230
231
// -- Codex agent settings --------------------------------------------------------