pake-cli
Version:
🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。
1,156 lines • 104 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CapabilityFile",
"description": "Capability formats accepted in a capability file.",
"anyOf": [
{
"description": "A single capability.",
"allOf": [
{
"$ref": "#/definitions/Capability"
}
]
},
{
"description": "A list of capabilities.",
"type": "array",
"items": {
"$ref": "#/definitions/Capability"
}
},
{
"description": "A list of capabilities.",
"type": "object",
"required": [
"capabilities"
],
"properties": {
"capabilities": {
"description": "The list of capabilities.",
"type": "array",
"items": {
"$ref": "#/definitions/Capability"
}
}
}
}
],
"definitions": {
"Capability": {
"description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"core:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, ], \"platforms\": [\"macOS\",\"windows\"] } ```",
"type": "object",
"required": [
"identifier",
"permissions"
],
"properties": {
"identifier": {
"description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
"type": "string"
},
"description": {
"description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",
"default": "",
"type": "string"
},
"remote": {
"description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",
"anyOf": [
{
"$ref": "#/definitions/CapabilityRemote"
},
{
"type": "null"
}
]
},
"local": {
"description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
"default": true,
"type": "boolean"
},
"windows": {
"description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
"type": "array",
"items": {
"type": "string"
}
},
"webviews": {
"description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
"type": "array",
"items": {
"type": "string"
}
},
"permissions": {
"description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ] ```",
"type": "array",
"items": {
"$ref": "#/definitions/PermissionEntry"
},
"uniqueItems": true
},
"platforms": {
"description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/Target"
}
}
}
},
"CapabilityRemote": {
"description": "Configuration for remote URLs that are associated with the capability.",
"type": "object",
"required": [
"urls"
],
"properties": {
"urls": {
"description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"PermissionEntry": {
"description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
"anyOf": [
{
"description": "Reference a permission or permission set by identifier.",
"allOf": [
{
"$ref": "#/definitions/Identifier"
}
]
},
{
"description": "Reference a permission or permission set by identifier and extends its scope.",
"type": "object",
"allOf": [
{
"if": {
"properties": {
"identifier": {
"anyOf": [
{
"description": "This permission set configures what kind of\nfetch operations are available from the http plugin.\n\nThis enables all fetch operations but does not\nallow explicitly any origins to be fetched. This needs to\nbe manually configured before usage.\n\n#### Granted Permissions\n\nAll fetch operations are enabled.\n\n",
"type": "string",
"const": "http:default"
},
{
"description": "Enables the fetch command without any pre-configured scope.",
"type": "string",
"const": "http:allow-fetch"
},
{
"description": "Enables the fetch_cancel command without any pre-configured scope.",
"type": "string",
"const": "http:allow-fetch-cancel"
},
{
"description": "Enables the fetch_read_body command without any pre-configured scope.",
"type": "string",
"const": "http:allow-fetch-read-body"
},
{
"description": "Enables the fetch_send command without any pre-configured scope.",
"type": "string",
"const": "http:allow-fetch-send"
},
{
"description": "Denies the fetch command without any pre-configured scope.",
"type": "string",
"const": "http:deny-fetch"
},
{
"description": "Denies the fetch_cancel command without any pre-configured scope.",
"type": "string",
"const": "http:deny-fetch-cancel"
},
{
"description": "Denies the fetch_read_body command without any pre-configured scope.",
"type": "string",
"const": "http:deny-fetch-read-body"
},
{
"description": "Denies the fetch_send command without any pre-configured scope.",
"type": "string",
"const": "http:deny-fetch-send"
}
]
}
}
},
"then": {
"properties": {
"allow": {
"items": {
"title": "HttpScopeEntry",
"description": "HTTP scope entry.",
"anyOf": [
{
"description": "A URL that can be accessed by the webview when using the HTTP APIs. Wildcards can be used following the URL pattern standard.\n\nSee [the URL Pattern spec](https://urlpattern.spec.whatwg.org/) for more information.\n\nExamples:\n\n- \"https://*\" : allows all HTTPS origin on port 443\n\n- \"https://*:*\" : allows all HTTPS origin on any port\n\n- \"https://*.github.com/tauri-apps/tauri\": allows any subdomain of \"github.com\" with the \"tauri-apps/api\" path\n\n- \"https://myapi.service.com/users/*\": allows access to any URLs that begins with \"https://myapi.service.com/users/\"",
"type": "string"
},
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"description": "A URL that can be accessed by the webview when using the HTTP APIs. Wildcards can be used following the URL pattern standard.\n\nSee [the URL Pattern spec](https://urlpattern.spec.whatwg.org/) for more information.\n\nExamples:\n\n- \"https://*\" : allows all HTTPS origin on port 443\n\n- \"https://*:*\" : allows all HTTPS origin on any port\n\n- \"https://*.github.com/tauri-apps/tauri\": allows any subdomain of \"github.com\" with the \"tauri-apps/api\" path\n\n- \"https://myapi.service.com/users/*\": allows access to any URLs that begins with \"https://myapi.service.com/users/\"",
"type": "string"
}
}
}
]
}
},
"deny": {
"items": {
"title": "HttpScopeEntry",
"description": "HTTP scope entry.",
"anyOf": [
{
"description": "A URL that can be accessed by the webview when using the HTTP APIs. Wildcards can be used following the URL pattern standard.\n\nSee [the URL Pattern spec](https://urlpattern.spec.whatwg.org/) for more information.\n\nExamples:\n\n- \"https://*\" : allows all HTTPS origin on port 443\n\n- \"https://*:*\" : allows all HTTPS origin on any port\n\n- \"https://*.github.com/tauri-apps/tauri\": allows any subdomain of \"github.com\" with the \"tauri-apps/api\" path\n\n- \"https://myapi.service.com/users/*\": allows access to any URLs that begins with \"https://myapi.service.com/users/\"",
"type": "string"
},
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"description": "A URL that can be accessed by the webview when using the HTTP APIs. Wildcards can be used following the URL pattern standard.\n\nSee [the URL Pattern spec](https://urlpattern.spec.whatwg.org/) for more information.\n\nExamples:\n\n- \"https://*\" : allows all HTTPS origin on port 443\n\n- \"https://*:*\" : allows all HTTPS origin on any port\n\n- \"https://*.github.com/tauri-apps/tauri\": allows any subdomain of \"github.com\" with the \"tauri-apps/api\" path\n\n- \"https://myapi.service.com/users/*\": allows access to any URLs that begins with \"https://myapi.service.com/users/\"",
"type": "string"
}
}
}
]
}
}
}
},
"properties": {
"identifier": {
"description": "Identifier of the permission or permission set.",
"allOf": [
{
"$ref": "#/definitions/Identifier"
}
]
}
}
},
{
"if": {
"properties": {
"identifier": {
"anyOf": [
{
"description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n",
"type": "string",
"const": "shell:default"
},
{
"description": "Enables the execute command without any pre-configured scope.",
"type": "string",
"const": "shell:allow-execute"
},
{
"description": "Enables the kill command without any pre-configured scope.",
"type": "string",
"const": "shell:allow-kill"
},
{
"description": "Enables the open command without any pre-configured scope.",
"type": "string",
"const": "shell:allow-open"
},
{
"description": "Enables the spawn command without any pre-configured scope.",
"type": "string",
"const": "shell:allow-spawn"
},
{
"description": "Enables the stdin_write command without any pre-configured scope.",
"type": "string",
"const": "shell:allow-stdin-write"
},
{
"description": "Denies the execute command without any pre-configured scope.",
"type": "string",
"const": "shell:deny-execute"
},
{
"description": "Denies the kill command without any pre-configured scope.",
"type": "string",
"const": "shell:deny-kill"
},
{
"description": "Denies the open command without any pre-configured scope.",
"type": "string",
"const": "shell:deny-open"
},
{
"description": "Denies the spawn command without any pre-configured scope.",
"type": "string",
"const": "shell:deny-spawn"
},
{
"description": "Denies the stdin_write command without any pre-configured scope.",
"type": "string",
"const": "shell:deny-stdin-write"
}
]
}
}
},
"then": {
"properties": {
"allow": {
"items": {
"title": "ShellScopeEntry",
"description": "Shell scope entry.",
"anyOf": [
{
"type": "object",
"required": [
"cmd",
"name"
],
"properties": {
"args": {
"description": "The allowed arguments for the command execution.",
"allOf": [
{
"$ref": "#/definitions/ShellScopeEntryAllowedArgs"
}
]
},
"cmd": {
"description": "The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string"
},
"name": {
"description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.",
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"name",
"sidecar"
],
"properties": {
"args": {
"description": "The allowed arguments for the command execution.",
"allOf": [
{
"$ref": "#/definitions/ShellScopeEntryAllowedArgs"
}
]
},
"name": {
"description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.",
"type": "string"
},
"sidecar": {
"description": "If this command is a sidecar command.",
"type": "boolean"
}
},
"additionalProperties": false
}
]
}
},
"deny": {
"items": {
"title": "ShellScopeEntry",
"description": "Shell scope entry.",
"anyOf": [
{
"type": "object",
"required": [
"cmd",
"name"
],
"properties": {
"args": {
"description": "The allowed arguments for the command execution.",
"allOf": [
{
"$ref": "#/definitions/ShellScopeEntryAllowedArgs"
}
]
},
"cmd": {
"description": "The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.",
"type": "string"
},
"name": {
"description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.",
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"name",
"sidecar"
],
"properties": {
"args": {
"description": "The allowed arguments for the command execution.",
"allOf": [
{
"$ref": "#/definitions/ShellScopeEntryAllowedArgs"
}
]
},
"name": {
"description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.",
"type": "string"
},
"sidecar": {
"description": "If this command is a sidecar command.",
"type": "boolean"
}
},
"additionalProperties": false
}
]
}
}
}
},
"properties": {
"identifier": {
"description": "Identifier of the permission or permission set.",
"allOf": [
{
"$ref": "#/definitions/Identifier"
}
]
}
}
},
{
"properties": {
"identifier": {
"description": "Identifier of the permission or permission set.",
"allOf": [
{
"$ref": "#/definitions/Identifier"
}
]
},
"allow": {
"description": "Data that defines what is allowed by the scope.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/Value"
}
},
"deny": {
"description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/Value"
}
}
}
}
],
"required": [
"identifier"
]
}
]
},
"Identifier": {
"description": "Permission identifier",
"oneOf": [
{
"description": "Default core plugins set which includes:\n- 'core:path:default'\n- 'core:event:default'\n- 'core:window:default'\n- 'core:webview:default'\n- 'core:app:default'\n- 'core:image:default'\n- 'core:resources:default'\n- 'core:menu:default'\n- 'core:tray:default'\n",
"type": "string",
"const": "core:default"
},
{
"description": "Default permissions for the plugin.",
"type": "string",
"const": "core:app:default"
},
{
"description": "Enables the app_hide command without any pre-configured scope.",
"type": "string",
"const": "core:app:allow-app-hide"
},
{
"description": "Enables the app_show command without any pre-configured scope.",
"type": "string",
"const": "core:app:allow-app-show"
},
{
"description": "Enables the default_window_icon command without any pre-configured scope.",
"type": "string",
"const": "core:app:allow-default-window-icon"
},
{
"description": "Enables the name command without any pre-configured scope.",
"type": "string",
"const": "core:app:allow-name"
},
{
"description": "Enables the set_app_theme command without any pre-configured scope.",
"type": "string",
"const": "core:app:allow-set-app-theme"
},
{
"description": "Enables the tauri_version command without any pre-configured scope.",
"type": "string",
"const": "core:app:allow-tauri-version"
},
{
"description": "Enables the version command without any pre-configured scope.",
"type": "string",
"const": "core:app:allow-version"
},
{
"description": "Denies the app_hide command without any pre-configured scope.",
"type": "string",
"const": "core:app:deny-app-hide"
},
{
"description": "Denies the app_show command without any pre-configured scope.",
"type": "string",
"const": "core:app:deny-app-show"
},
{
"description": "Denies the default_window_icon command without any pre-configured scope.",
"type": "string",
"const": "core:app:deny-default-window-icon"
},
{
"description": "Denies the name command without any pre-configured scope.",
"type": "string",
"const": "core:app:deny-name"
},
{
"description": "Denies the set_app_theme command without any pre-configured scope.",
"type": "string",
"const": "core:app:deny-set-app-theme"
},
{
"description": "Denies the tauri_version command without any pre-configured scope.",
"type": "string",
"const": "core:app:deny-tauri-version"
},
{
"description": "Denies the version command without any pre-configured scope.",
"type": "string",
"const": "core:app:deny-version"
},
{
"description": "Default permissions for the plugin.",
"type": "string",
"const": "core:event:default"
},
{
"description": "Enables the emit command without any pre-configured scope.",
"type": "string",
"const": "core:event:allow-emit"
},
{
"description": "Enables the emit_to command without any pre-configured scope.",
"type": "string",
"const": "core:event:allow-emit-to"
},
{
"description": "Enables the listen command without any pre-configured scope.",
"type": "string",
"const": "core:event:allow-listen"
},
{
"description": "Enables the unlisten command without any pre-configured scope.",
"type": "string",
"const": "core:event:allow-unlisten"
},
{
"description": "Denies the emit command without any pre-configured scope.",
"type": "string",
"const": "core:event:deny-emit"
},
{
"description": "Denies the emit_to command without any pre-configured scope.",
"type": "string",
"const": "core:event:deny-emit-to"
},
{
"description": "Denies the listen command without any pre-configured scope.",
"type": "string",
"const": "core:event:deny-listen"
},
{
"description": "Denies the unlisten command without any pre-configured scope.",
"type": "string",
"const": "core:event:deny-unlisten"
},
{
"description": "Default permissions for the plugin.",
"type": "string",
"const": "core:image:default"
},
{
"description": "Enables the from_bytes command without any pre-configured scope.",
"type": "string",
"const": "core:image:allow-from-bytes"
},
{
"description": "Enables the from_path command without any pre-configured scope.",
"type": "string",
"const": "core:image:allow-from-path"
},
{
"description": "Enables the new command without any pre-configured scope.",
"type": "string",
"const": "core:image:allow-new"
},
{
"description": "Enables the rgba command without any pre-configured scope.",
"type": "string",
"const": "core:image:allow-rgba"
},
{
"description": "Enables the size command without any pre-configured scope.",
"type": "string",
"const": "core:image:allow-size"
},
{
"description": "Denies the from_bytes command without any pre-configured scope.",
"type": "string",
"const": "core:image:deny-from-bytes"
},
{
"description": "Denies the from_path command without any pre-configured scope.",
"type": "string",
"const": "core:image:deny-from-path"
},
{
"description": "Denies the new command without any pre-configured scope.",
"type": "string",
"const": "core:image:deny-new"
},
{
"description": "Denies the rgba command without any pre-configured scope.",
"type": "string",
"const": "core:image:deny-rgba"
},
{
"description": "Denies the size command without any pre-configured scope.",
"type": "string",
"const": "core:image:deny-size"
},
{
"description": "Default permissions for the plugin.",
"type": "string",
"const": "core:menu:default"
},
{
"description": "Enables the append command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-append"
},
{
"description": "Enables the create_default command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-create-default"
},
{
"description": "Enables the get command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-get"
},
{
"description": "Enables the insert command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-insert"
},
{
"description": "Enables the is_checked command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-is-checked"
},
{
"description": "Enables the is_enabled command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-is-enabled"
},
{
"description": "Enables the items command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-items"
},
{
"description": "Enables the new command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-new"
},
{
"description": "Enables the popup command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-popup"
},
{
"description": "Enables the prepend command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-prepend"
},
{
"description": "Enables the remove command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-remove"
},
{
"description": "Enables the remove_at command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-remove-at"
},
{
"description": "Enables the set_accelerator command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-set-accelerator"
},
{
"description": "Enables the set_as_app_menu command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-set-as-app-menu"
},
{
"description": "Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-set-as-help-menu-for-nsapp"
},
{
"description": "Enables the set_as_window_menu command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-set-as-window-menu"
},
{
"description": "Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-set-as-windows-menu-for-nsapp"
},
{
"description": "Enables the set_checked command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-set-checked"
},
{
"description": "Enables the set_enabled command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-set-enabled"
},
{
"description": "Enables the set_icon command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-set-icon"
},
{
"description": "Enables the set_text command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-set-text"
},
{
"description": "Enables the text command without any pre-configured scope.",
"type": "string",
"const": "core:menu:allow-text"
},
{
"description": "Denies the append command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-append"
},
{
"description": "Denies the create_default command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-create-default"
},
{
"description": "Denies the get command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-get"
},
{
"description": "Denies the insert command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-insert"
},
{
"description": "Denies the is_checked command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-is-checked"
},
{
"description": "Denies the is_enabled command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-is-enabled"
},
{
"description": "Denies the items command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-items"
},
{
"description": "Denies the new command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-new"
},
{
"description": "Denies the popup command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-popup"
},
{
"description": "Denies the prepend command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-prepend"
},
{
"description": "Denies the remove command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-remove"
},
{
"description": "Denies the remove_at command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-remove-at"
},
{
"description": "Denies the set_accelerator command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-set-accelerator"
},
{
"description": "Denies the set_as_app_menu command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-set-as-app-menu"
},
{
"description": "Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-set-as-help-menu-for-nsapp"
},
{
"description": "Denies the set_as_window_menu command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-set-as-window-menu"
},
{
"description": "Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-set-as-windows-menu-for-nsapp"
},
{
"description": "Denies the set_checked command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-set-checked"
},
{
"description": "Denies the set_enabled command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-set-enabled"
},
{
"description": "Denies the set_icon command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-set-icon"
},
{
"description": "Denies the set_text command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-set-text"
},
{
"description": "Denies the text command without any pre-configured scope.",
"type": "string",
"const": "core:menu:deny-text"
},
{
"description": "Default permissions for the plugin.",
"type": "string",
"const": "core:path:default"
},
{
"description": "Enables the basename command without any pre-configured scope.",
"type": "string",
"const": "core:path:allow-basename"
},
{
"description": "Enables the dirname command without any pre-configured scope.",
"type": "string",
"const": "core:path:allow-dirname"
},
{
"description": "Enables the extname command without any pre-configured scope.",
"type": "string",
"const": "core:path:allow-extname"
},
{
"description": "Enables the is_absolute command without any pre-configured scope.",
"type": "string",
"const": "core:path:allow-is-absolute"
},
{
"description": "Enables the join command without any pre-configured scope.",
"type": "string",
"const": "core:path:allow-join"
},
{
"description": "Enables the normalize command without any pre-configured scope.",
"type": "string",
"const": "core:path:allow-normalize"
},
{
"description": "Enables the resolve command without any pre-configured scope.",
"type": "string",
"const": "core:path:allow-resolve"
},
{
"description": "Enables the resolve_directory command without any pre-configured scope.",
"type": "string",
"const": "core:path:allow-resolve-directory"
},
{
"description": "Denies the basename command without any pre-configured scope.",
"type": "string",
"const": "core:path:deny-basename"
},
{
"description": "Denies the dirname command without any pre-configured scope.",
"type": "string",
"const": "core:path:deny-dirname"
},
{
"description": "Denies the extname command without any pre-configured scope.",
"type": "string",
"const": "core:path:deny-extname"
},
{
"description": "Denies the is_absolute command without any pre-configured scope.",
"type": "string",
"const": "core:path:deny-is-absolute"
},
{
"description": "Denies the join command without any pre-configured scope.",
"type": "string",
"const": "core:path:deny-join"
},
{
"description": "Denies the normalize command without any pre-configured scope.",
"type": "string",
"const": "core:path:deny-normalize"
},
{
"description": "Denies the resolve command without any pre-configured scope.",
"type": "string",
"const": "core:path:deny-resolve"
},
{
"description": "Denies the resolve_directory command without any pre-configured scope.",
"type": "string",
"const": "core:path:deny-resolve-directory"
},
{
"description": "Default permissions for the plugin.",
"type": "string",
"const": "core:resources:default"
},
{
"description": "Enables the close command without any pre-configured scope.",
"type": "string",
"const": "core:resources:allow-close"
},
{
"description": "Denies the close command without any pre-configured scope.",
"type": "string",
"const": "core:resources:deny-close"
},
{
"description": "Default permissions for the plugin.",
"type": "string",
"const": "core:tray:default"
},
{
"description": "Enables the get_by_id command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-get-by-id"
},
{
"description": "Enables the new command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-new"
},
{
"description": "Enables the remove_by_id command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-remove-by-id"
},
{
"description": "Enables the set_icon command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-set-icon"
},
{
"description": "Enables the set_icon_as_template command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-set-icon-as-template"
},
{
"description": "Enables the set_menu command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-set-menu"
},
{
"description": "Enables the set_show_menu_on_left_click command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-set-show-menu-on-left-click"
},
{
"description": "Enables the set_temp_dir_path command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-set-temp-dir-path"
},
{
"description": "Enables the set_title command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-set-title"
},
{
"description": "Enables the set_tooltip command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-set-tooltip"
},
{
"description": "Enables the set_visible command without any pre-configured scope.",
"type": "string",
"const": "core:tray:allow-set-visible"
},
{
"description": "Denies the get_by_id command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-get-by-id"
},
{
"description": "Denies the new command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-new"
},
{
"description": "Denies the remove_by_id command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-remove-by-id"
},
{
"description": "Denies the set_icon command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-set-icon"
},
{
"description": "Denies the set_icon_as_template command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-set-icon-as-template"
},
{
"description": "Denies the set_menu command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-set-menu"
},
{
"description": "Denies the set_show_menu_on_left_click command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-set-show-menu-on-left-click"
},
{
"description": "Denies the set_temp_dir_path command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-set-temp-dir-path"
},
{
"description": "Denies the set_title command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-set-title"
},
{
"description": "Denies the set_tooltip command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-set-tooltip"
},
{
"description": "Denies the set_visible command without any pre-configured scope.",
"type": "string",
"const": "core:tray:deny-set-visible"
},
{
"description": "Default permissions for the plugin.",
"type": "string",
"const": "core:webview:default"
},
{
"description": "Enables the clear_all_browsing_data command without any pre-configured scope.",
"type": "string",
"const": "core:webview:allow-clear-all-browsing-data"
},
{
"description": "Enables the create_webview command without any pre-configured scope.",
"type": "string",
"const": "core:webview:allow-create-webview"
},
{
"description": "Enables the create_webview_window command without any pre-configured scope.",
"type": "string",
"const": "core:webview:allow-create-webview-window"
},
{
"description": "Enables the get_all_webviews command without any pre-configured scope.",
"type": "string",
"const": "core:webview:allow-get-all-webviews"
},
{
"description": "Enables the internal_toggle_devtools command without any pre-configured scope.",
"type": "string",
"const": "core:webview:allow-internal-toggle-devtools"
},
{
"description": "Enables the print command without any pre-configured scope.",
"type": "string",
"const": "core:webview:allow-print"
},
{
"description": "Enables the reparent command without any pre-configured scope.",
"type": "string",
"const": "core:webview:allow-reparent"
},
{
"description": "Enables the set_