From 023f8a1b8c0f9d610402e9eeff329d94e65ceb1f Mon Sep 17 00:00:00 2001 From: Github Actions Date: Tue, 7 Jan 2025 17:02:45 +0000 Subject: [PATCH] [gen_schemas] Update schemas --- schemas/_generated/sourcekit.json | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/schemas/_generated/sourcekit.json b/schemas/_generated/sourcekit.json index 34bae64..9c87b2d 100644 --- a/schemas/_generated/sourcekit.json +++ b/schemas/_generated/sourcekit.json @@ -104,6 +104,46 @@ "markdownDescription": "Override the default path of the folder containing the Swift executables. The default is to look in the `PATH` environment variable. This path is also used to search for other executables used by the extension like `sourcekit-lsp` and `lldb`.", "type": "string" }, + "swift.pluginPermissions": { + "default": {}, + "markdownDescription": "Configures a list of permissions to be used when running a command plugins.\n\nPermissions objects are defined in the form:\n\n`{ \"PluginName:command\": { \"allowWritingToPackageDirectory\": true } }`.\n\nA key of `PluginName:command` will set permissions for a specific command. A key of `PluginName` will set permissions for all commands in the plugin.", + "patternProperties": { + "^([a-zA-Z0-9_-]+(:[a-zA-Z0-9_-]+)?)$": { + "properties": { + "allowNetworkConnections": { + "description": "Allow the plugin to make network connections", + "type": "string" + }, + "allowWritingToDirectory": { + "oneOf": [ + { + "description": "Allow the plugin to write to an additional directory", + "type": "string" + }, + { + "description": "Allow the plugin to write to additional directories", + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "allowWritingToPackageDirectory": { + "description": "Allow the plugin to write to the package directory", + "type": "boolean" + }, + "disableSandbox": { + "description": "Disable using the sandbox when executing plugins", + "type": "boolean" + } + }, + "type": "object" + } + }, + "scope": "machine-overridable", + "type": "object" + }, "swift.sanitizer": { "default": "off", "enum": [