Resolves the scopes of inspection other than Session as AiConfigurationService.get resolves them:
object values merge across the scopes, and other values come from the highest scope that sets them.
Workspace and folder values count only if inspection holds them, which an inspection from
AiConfigurationService.inspect doesn't while the workspace is untrusted.
This is the value to change and write back with AiConfigurationService.update, so that a value
set with --session-preference isn't saved to a settings file. A write clears the session value, unless the
written value equals it.
Resolves the scopes of
inspectionother thanSessionas AiConfigurationService.get resolves them: object values merge across the scopes, and other values come from the highest scope that sets them. Workspace and folder values count only ifinspectionholds them, which an inspection from AiConfigurationService.inspect doesn't while the workspace is untrusted.This is the value to change and write back with AiConfigurationService.update, so that a value set with
--session-preferenceisn't saved to a settings file. A write clears the session value, unless the written value equals it.