Computer use toggle added to admin settings

Administrators can now enable or disable computer use capabilities for all users from the AI settings page, with users seeing a warning when the feature is restricted.
Instance administrators can now control whether AI Assistant's computer use feature is available to users. A new toggle in the AI settings page allows admins to enable or disable the capability instance-wide.
When an administrator disables computer use, users lose access to the feature entirely. Instead of the normal setup interface, they see a warning message stating the feature has been disabled by their administrator. The connected gateway block and setup instructions are also hidden.
The toggle controls the existing localGatewayDisabled setting through inverted logic — turning the toggle on enables the gateway, turning it off disables it. This gives platform operators granular control over AI capabilities, which is particularly important for security-sensitive deployments.
The change lives in the AI settings section of the editor UI, specifically in the Instance AI settings view and the LocalGatewaySection component that renders the user-facing computer use interface.
View Original GitHub Description
Summary
-
Adds an "Enable Computer Use for AI Assistant" admin toggle to the AI settings page, positioned right below the existing "Enable AI Assistant" toggle
-
The toggle controls the existing
localGatewayDisabledadmin setting (inverted logic: toggle ON = gateway enabled) -
When the admin disables computer use, the user-level computer use section in
LocalGatewaySectionis greyed out with a warning: "Computer use has been disabled by your administrator" -
Setup instructions and connected gateway block are also hidden when admin-disabled
-
I have seen this code, I have run this code, and I take responsibility for this code.