-
-| Identifier |
-Description |
-
-
-
-
-|
-
-`connector:allow-get-custom-llm-connection`
-
- |
-
-
-Enables the get_custom_llm_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-custom-llm-connection`
-
- |
-
-
-Denies the get_custom_llm_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-custom-llm-enabled`
-
- |
-
-
-Enables the get_custom_llm_enabled command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-custom-llm-enabled`
-
- |
-
-
-Denies the get_custom_llm_enabled command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-custom-llm-model`
-
- |
-
-
-Enables the get_custom_llm_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-custom-llm-model`
-
- |
-
-
-Denies the get_custom_llm_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-gemini-api-key`
-
- |
-
-
-Enables the get_gemini_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-gemini-api-key`
-
- |
-
-
-Denies the get_gemini_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-gemini-model`
-
- |
-
-
-Enables the get_gemini_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-gemini-model`
-
- |
-
-
-Denies the get_gemini_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-hyprcloud-enabled`
-
- |
-
-
-Enables the get_hyprcloud_enabled command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-hyprcloud-enabled`
-
- |
-
-
-Denies the get_hyprcloud_enabled command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-llm-connection`
-
- |
-
-
-Enables the get_llm_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-llm-connection`
-
- |
-
-
-Denies the get_llm_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-local-llm-connection`
-
- |
-
-
-Enables the get_local_llm_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-local-llm-connection`
-
- |
-
-
-Denies the get_local_llm_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-openai-api-key`
-
- |
-
-
-Enables the get_openai_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-openai-api-key`
-
- |
-
-
-Denies the get_openai_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-openai-model`
-
- |
-
-
-Enables the get_openai_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-openai-model`
-
- |
-
-
-Denies the get_openai_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-openrouter-api-key`
-
- |
-
-
-Enables the get_openrouter_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-openrouter-api-key`
-
- |
-
-
-Denies the get_openrouter_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-openrouter-model`
-
- |
-
-
-Enables the get_openrouter_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-openrouter-model`
-
- |
-
-
-Denies the get_openrouter_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-others-api-base`
-
- |
-
-
-Enables the get_others_api_base command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-others-api-base`
-
- |
-
-
-Denies the get_others_api_base command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-others-api-key`
-
- |
-
-
-Enables the get_others_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-others-api-key`
-
- |
-
-
-Denies the get_others_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-others-model`
-
- |
-
-
-Enables the get_others_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-others-model`
-
- |
-
-
-Denies the get_others_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-provider-source`
-
- |
-
-
-Enables the get_provider_source command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-provider-source`
-
- |
-
-
-Denies the get_provider_source command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-get-stt-connection`
-
- |
-
-
-Enables the get_stt_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-get-stt-connection`
-
- |
-
-
-Denies the get_stt_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-list-custom-llm-models`
-
- |
-
-
-Enables the list_custom_llm_models command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-list-custom-llm-models`
-
- |
-
-
-Denies the list_custom_llm_models command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-custom-llm-connection`
-
- |
-
-
-Enables the set_custom_llm_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-custom-llm-connection`
-
- |
-
-
-Denies the set_custom_llm_connection command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-custom-llm-enabled`
-
- |
-
-
-Enables the set_custom_llm_enabled command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-custom-llm-enabled`
-
- |
-
-
-Denies the set_custom_llm_enabled command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-custom-llm-model`
-
- |
-
-
-Enables the set_custom_llm_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-custom-llm-model`
-
- |
-
-
-Denies the set_custom_llm_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-gemini-api-key`
-
- |
-
-
-Enables the set_gemini_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-gemini-api-key`
-
- |
-
-
-Denies the set_gemini_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-gemini-model`
-
- |
-
-
-Enables the set_gemini_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-gemini-model`
-
- |
-
-
-Denies the set_gemini_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-hyprcloud-enabled`
-
- |
-
-
-Enables the set_hyprcloud_enabled command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-hyprcloud-enabled`
-
- |
-
-
-Denies the set_hyprcloud_enabled command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-openai-api-key`
-
- |
-
-
-Enables the set_openai_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-openai-api-key`
-
- |
-
-
-Denies the set_openai_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-openai-model`
-
- |
-
-
-Enables the set_openai_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-openai-model`
-
- |
-
-
-Denies the set_openai_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-openrouter-api-key`
-
- |
-
-
-Enables the set_openrouter_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-openrouter-api-key`
-
- |
-
-
-Denies the set_openrouter_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-openrouter-model`
-
- |
-
-
-Enables the set_openrouter_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-openrouter-model`
-
- |
-
-
-Denies the set_openrouter_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-others-api-base`
-
- |
-
-
-Enables the set_others_api_base command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-others-api-base`
-
- |
-
-
-Denies the set_others_api_base command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-others-api-key`
-
- |
-
-
-Enables the set_others_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-others-api-key`
-
- |
-
-
-Denies the set_others_api_key command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-others-model`
-
- |
-
-
-Enables the set_others_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-others-model`
-
- |
-
-
-Denies the set_others_model command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:allow-set-provider-source`
-
- |
-
-
-Enables the set_provider_source command without any pre-configured scope.
-
- |
-
-
-
-|
-
-`connector:deny-set-provider-source`
-
- |
-
-
-Denies the set_provider_source command without any pre-configured scope.
-
- |
-
-
diff --git a/plugins/connector/permissions/default.toml b/plugins/connector/permissions/default.toml
deleted file mode 100644
index 98fac2171..000000000
--- a/plugins/connector/permissions/default.toml
+++ /dev/null
@@ -1,35 +0,0 @@
-[default]
-description = "Default permissions for the plugin"
-permissions = [
- "allow-list-custom-llm-models",
- "allow-get-custom-llm-model",
- "allow-set-custom-llm-model",
- "allow-get-custom-llm-enabled",
- "allow-set-custom-llm-enabled",
- "allow-get-custom-llm-connection",
- "allow-set-custom-llm-connection",
- "allow-get-local-llm-connection",
- "allow-get-llm-connection",
- "allow-get-openai-api-key",
- "allow-set-openai-api-key",
- "allow-get-gemini-api-key",
- "allow-set-gemini-api-key",
- "allow-get-provider-source",
- "allow-set-provider-source",
- "allow-set-others-api-base",
- "allow-get-others-api-base",
- "allow-set-others-api-key",
- "allow-get-others-api-key",
- "allow-set-others-model",
- "allow-get-others-model",
- "allow-get-openai-model",
- "allow-set-openai-model",
- "allow-get-gemini-model",
- "allow-set-gemini-model",
- "allow-get-openrouter-api-key",
- "allow-set-openrouter-api-key",
- "allow-set-openrouter-model",
- "allow-get-openrouter-model",
- "allow-get-hyprcloud-enabled",
- "allow-set-hyprcloud-enabled",
-]
diff --git a/plugins/connector/permissions/schemas/schema.json b/plugins/connector/permissions/schemas/schema.json
deleted file mode 100644
index d967bf02a..000000000
--- a/plugins/connector/permissions/schemas/schema.json
+++ /dev/null
@@ -1,690 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "title": "PermissionFile",
- "description": "Permission file that can define a default permission, a set of permissions or a list of inlined permissions.",
- "type": "object",
- "properties": {
- "default": {
- "description": "The default permission set for the plugin",
- "anyOf": [
- {
- "$ref": "#/definitions/DefaultPermission"
- },
- {
- "type": "null"
- }
- ]
- },
- "set": {
- "description": "A list of permissions sets defined",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PermissionSet"
- }
- },
- "permission": {
- "description": "A list of inlined permissions",
- "default": [],
- "type": "array",
- "items": {
- "$ref": "#/definitions/Permission"
- }
- }
- },
- "definitions": {
- "DefaultPermission": {
- "description": "The default permission set of the plugin.\n\nWorks similarly to a permission with the \"default\" identifier.",
- "type": "object",
- "required": [
- "permissions"
- ],
- "properties": {
- "version": {
- "description": "The version of the permission.",
- "type": [
- "integer",
- "null"
- ],
- "format": "uint64",
- "minimum": 1.0
- },
- "description": {
- "description": "Human-readable description of what the permission does. Tauri convention is to use `