The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
feat(models): open Hugging Face "Use this model" links in Models
purplef36821f4649a
diff --git a/dev-server/__tests__/mlx-media-endpoint-coverage.test.ts b/dev-server/__tests__/mlx-media-endpoint-coverage.test.tsindex 2eb1cfb4..89246241 100644--- a/dev-server/__tests__/mlx-media-endpoint-coverage.test.ts+++ b/dev-server/__tests__/mlx-media-endpoint-coverage.test.ts@@ -206,6 +206,10 @@ describe('endpointMap covers every backendCall/invokeMedia site the frontend can// behind isTauri() for the same reason, the browser build has no files of// its own to place.'storage_apply', 'storage_cancel', 'storage_plan', 'storage_status',+ // The inbox of locallyuncensored://open-model links (P9, 3.0.9,+ // components/models/HfLinkInbox.tsx). Read only behind isTauri(): a link+ // from the system reaches the desktop app, never the browser build.+ 'hf_link_take','exit_app', 'file_read', 'find_orphan_downloads', 'fix_comfyui_cors', 'funnel_ping','get_comfy_gpu_status', 'get_current_time', 'import_local_model', 'install_character_trainer','install_lmstudio', 'install_lmstudio_status', 'install_method', 'install_python',diff --git a/docs/guide/hugging-face/index.html b/docs/guide/hugging-face/index.htmlnew file mode 100644index 00000000..6df82199--- /dev/null+++ b/docs/guide/hugging-face/index.html@@ -0,0 +1,126 @@+<!DOCTYPE html>+<html lang="en" data-theme="dark">+<head>+<meta charset="UTF-8">+<meta name="viewport" content="width=device-width, initial-scale=1.0">+<title>Use a Hugging Face Model in LU: the Use This Model Button</title>+<meta name="description" content="How the Locally Uncensored button on Hugging Face model pages works: switch it on once, pick a GGUF file, confirm the download in LU, and what the app checks before anything is fetched.">+<meta name="robots" content="index, follow">+<meta name="theme-color" content="#0a0a0a">+<link rel="canonical" href="https://locallyuncensored.com/guide/hugging-face/">+<meta property="og:title" content="Use a Hugging Face Model in LU: the Use This Model Button">+<meta property="og:description" content="How the Locally Uncensored button on Hugging Face model pages works: switch it on once, pick a GGUF file, confirm the download in LU, and what the app checks before anything is fetched.">+<meta property="og:url" content="https://locallyuncensored.com/guide/hugging-face/">+<meta property="og:type" content="article">+<meta property="og:image" content="https://locallyuncensored.com/social-preview.png">+<meta name="twitter:card" content="summary_large_image">+<script type="application/ld+json">+{"@context":"https://schema.org","@type":"TechArticle","headline":"Use a Hugging Face Model in LU: the Use This Model Button","description":"How the Locally Uncensored button on Hugging Face model pages works: switch it on once, pick a GGUF file, confirm the download in LU, and what the app checks before anything is fetched.","url":"https://locallyuncensored.com/guide/hugging-face/","dateModified":"2026-10-28","inLanguage":"en","author":{"@type":"Person","name":"PurpleDoubleD","url":"https://github.com/PurpleDoubleD"},"publisher":{"@type":"Organization","name":"Locally Uncensored","url":"https://locallyuncensored.com/"},"mainEntityOfPage":{"@type":"WebPage","@id":"https://locallyuncensored.com/guide/hugging-face/"},"isPartOf":{"@type":"WebPage","name":"Locally Uncensored Handbook: Install, Chat, Agent, Code, Create, Cloud","url":"https://locallyuncensored.com/guide/"},"about":{"@type":"SoftwareApplication","name":"Locally Uncensored","operatingSystem":"Windows, Linux, macOS","applicationCategory":"UtilitiesApplication"}}+</script>+<link rel="icon" href="/favicon.png">+<script type="application/ld+json">+{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://locallyuncensored.com/"},{"@type":"ListItem","position":2,"name":"Guide","item":"https://locallyuncensored.com/guide/"},{"@type":"ListItem","position":3,"name":"Hugging Face","item":"https://locallyuncensored.com/guide/hugging-face/"}]}+</script>+<link rel="preconnect" href="https://fonts.googleapis.com">+<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>+<link href="https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap" rel="stylesheet">+<link rel="stylesheet" href="/assets/lu.css">+<script defer src="/assets/lu.js"></script>+ <script data-goatcounter="https://purple47.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>+</head>+<body>+<nav class="lu-nav">+ <a class="lu-nav-brand" href="/" aria-label="Locally Uncensored">+ <span class="lu-mono" data-mono="nav" data-size="40" aria-hidden="true"></span>+ <span class="lu-nav-word">Locally <span class="accent">Uncensored</span></span>+ </a>+ <div class="lu-nav-links" id="lu-nav-links">+ <a class="lu-nav-link" href="/">Home</a>+ <a class="lu-nav-link" href="/pricing/">Pricing</a>+ <a class="lu-nav-link" href="/blog/">Blog</a>+ <a class="lu-nav-link" href="/guide/">Guide</a>+ <a class="lu-nav-link" href="/remote-access/">Remote</a>+ </div>+ <div class="lu-nav-right">+ <a class="lu-nav-icon" href="https://github.com/PurpleDoubleD/locally-uncensored" title="GitHub" aria-label="GitHub"><svg width="17" height="17" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .5C5.37.5 0 5.87 0 12.5c0 5.3 3.44 9.8 8.21 11.39.6.11.82-.26.82-.58 0-.29-.01-1.04-.02-2.05-3.34.73-4.04-1.61-4.04-1.61-.55-1.39-1.33-1.76-1.33-1.76-1.09-.75.08-.73.08-.73 1.2.08 1.84 1.24 1.84 1.24 1.07 1.83 2.81 1.3 3.5.99.11-.78.42-1.3.76-1.6-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.13-.3-.54-1.52.11-3.18 0 0 1.01-.32 3.3 1.23a11.5 11.5 0 0 1 6.01 0c2.29-1.55 3.3-1.23 3.3-1.23.65 1.66.24 2.88.12 3.18.77.84 1.23 1.91 1.23 3.22 0 4.61-2.8 5.63-5.48 5.92.43.37.81 1.1.81 2.22 0 1.6-.01 2.9-.01 3.29 0 .32.21.7.82.58A12.01 12.01 0 0 0 24 12.5C24 5.87 18.63.5 12 .5Z"/></svg><span class="lu-nav-badge">2000+ ⭐</span></a>+ <a class="lu-nav-icon discord" href="https://locallyuncensored.com/discord" target="_blank" rel="noopener" title="Discord" aria-label="Discord"><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.32 4.37A19.8 19.8 0 0 0 15.45 3c-.2.36-.44.85-.6 1.23a18.3 18.3 0 0 0-5.7 0c-.16-.38-.4-.87-.6-1.23a19.7 19.7 0 0 0-4.87 1.37C.55 8.9-.32 13.3.11 17.63a19.9 19.9 0 0 0 6 3.03c.48-.66.9-1.36 1.27-2.1-.7-.26-1.36-.58-1.99-.96.17-.12.33-.25.49-.38a14.2 14.2 0 0 0 12.24 0c.16.13.32.26.49.38-.63.38-1.3.7-2 .96.37.74.8 1.44 1.27 2.1a19.8 19.8 0 0 0 6-3.03c.5-5.03-.85-9.39-3.55-13.26ZM8.02 15c-1.18 0-2.15-1.09-2.15-2.42 0-1.34.95-2.43 2.15-2.43 1.2 0 2.17 1.09 2.15 2.43 0 1.33-.95 2.42-2.15 2.42Zm7.96 0c-1.18 0-2.15-1.09-2.15-2.42 0-1.34.95-2.43 2.15-2.43 1.2 0 2.17 1.09 2.15 2.43 0 1.33-.94 2.42-2.15 2.42Z"/></svg><span class="lu-nav-badge">1200+ <span style="font-size:0.715em">🟢</span></span></a>+ <span class="lu-nav-sep"></span>+ <div class="switch" id="theme-switch" role="button" aria-label="Toggle theme"></div>+ <a class="he-cta" href="/pricing/" aria-label="LU Cloud plans and what they include"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z"/></svg>Cloud</a>+ <a class="lu-nav-dl" href="https://github.com/PurpleDoubleD/locally-uncensored/releases/latest"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3v12m0 0 4-4m-4 4-4-4"/><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2"/></svg>Download</a>+ <button type="button" class="lu-nav-toggle" aria-label="Menu"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"/></svg></button>+ </div>+</nav>+<article class="lu-doc" data-handbook-guide="hugging-face">+<div class="breadcrumb"><a href="/">Home</a> › <a href="/guide/">Handbook</a> › Hugging Face</div>+<h1>Use a Hugging Face model in LU</h1>+<p class="subtitle">Model pages on Hugging Face have a "Use this model" button. With Locally Uncensored switched on there, one click opens the model in LU, shows the file, its quant and its size, and downloads it after you confirm. Written for LU 3.0.9.</p>+<nav class="toc">+<div class="toc-title">In this guide</div>+<a href="#switch-on">Switch LU on at Hugging Face</a>+<a href="#open">Open a model in LU</a>+<a href="#checks">What LU checks first</a>+<a href="#where">Where the file lands</a>+<a href="#wrong">When it goes wrong</a>+</nav>++<h2 id="switch-on">Switch LU on at Hugging Face</h2>+<p>Hugging Face only lists the apps you picked. Sign in, open <a href="https://huggingface.co/settings/local-apps" rel="noopener">Settings, Local Apps</a> and tick Locally Uncensored. LU has to be installed on the computer you click from: the installer registers the <code>locallyuncensored://</code> links with Windows, macOS and Linux (.deb and .rpm). The AppImage registers them itself the first time it starts.</p>++<h2 id="open">Open a model in LU</h2>+<ol>+<li>Open a model page that offers GGUF files, for example a repository whose name ends in <code>-GGUF</code>.</li>+<li>Click "Use this model" and pick Locally Uncensored. To get one exact quant, open the file list first and use the button next to the file.</li>+<li>Your browser asks whether it may open Locally Uncensored. Allow it. LU starts if it was closed, or comes to the front.</li>+<li>LU opens Models, Chat, Discover and shows the repository, the file, the quant and the download size. If the link named no file, pick one from the list; Q4_K_M is preselected when the repository has it.</li>+<li>Click Download. The file appears in the download list like any other model, and under Installed when it is done.</li>+</ol>+<p>If LU is in Cloud mode, it first asks to switch to Local, because the model runs on your computer.</p>++<h2 id="checks">What LU checks first</h2>+<p>A link can be fired by any web page, so LU treats it as a question, never as an order:</p>+<ul>+<li>The link carries a repository name and a file path, nothing else. The download address is built by LU and always points at <code>huggingface.co</code>. A link with any other parameter, a second repository, a web address or an unusual path is refused.</li>+<li>Only GGUF model files. Other formats and image parts (mmproj) on their own are refused; an image part that belongs to the model comes along with it.</li>+<li>The file has to exist in the repository under exactly the name the link gives. LU does not guess a neighbour.</li>+<li>Nothing is downloaded or started before you click Download, and the button only becomes active a second after the dialog appears.</li>+</ul>+<p>The model card and the license of the model are the uploader's. Read them before you use the model.</p>++<h2 id="where">Where the file lands</h2>+<p>Exactly where a download from Models, Discover lands: in the LU Engine folder by default, in Ollama when Ollama is your chat backend, in the LM Studio folder when LM Studio is. <a href="/guide/storage/">LU and your models on another drive</a> explains the folders.</p>++<h2 id="wrong">When it goes wrong</h2>+<ul>+<li><strong>Locally Uncensored is missing in the "Use this model" list.</strong> Switch it on under Settings, Local Apps, and make sure the repository has GGUF files.</li>+<li><strong>The browser does nothing.</strong> Start LU once after installing, then try again. On Linux with the AppImage, start it once from its file.</li>+<li><strong>"Link not opened".</strong> The link failed one of the checks above. Nothing was downloaded.</li>+<li><strong>"Hugging Face could not be reached, or the repository is private or gated."</strong> Gated models need you to accept their terms on Hugging Face and are not supported by the button yet.</li>+</ul>+</article>+<footer>+ <div class="footer-row footer-meta"><span>© 2026 · Locally Uncensored · AGPL-3.0</span></div>+ <div class="footer-row footer-links">+ <a href="https://locallyuncensored.com/blog/">Blog</a>+ <a href="https://locallyuncensored.com/guide/">Guide</a>+ <a href="https://locallyuncensored.com/pricing/">Pricing</a>+ <a href="https://locallyuncensored.com/cloud/">LU Cloud</a>+ <a href="https://locallyuncensored.com/uncensored-ai-chat-online/">Uncensored AI chat online</a>+ <a href="https://locallyuncensored.com/uncensored-ai-image-generator-online/">Image generator online</a>+ <a href="https://locallyuncensored.com/uncensored-ai-video-generator-online/">Video generator online</a>+ <a href="https://locallyuncensored.com/alternatives/">Alternatives</a>+ <a href="https://locallyuncensored.com/is-locally-uncensored-safe/">Is it safe?</a>+ <a href="https://locallyuncensored.com/remote-access/">Remote access</a>+ <a href="https://locallyuncensored.com/discord" target="_blank" rel="noopener">Discord</a>+ <a href="https://github.com/PurpleDoubleD/locally-uncensored">GitHub</a>+ <a href="https://github.com/PurpleDoubleD/locally-uncensored/discussions">Discussions</a>+ <a href="https://github.com/PurpleDoubleD/locally-uncensored/issues">Issues</a>+ <a href="https://reddit.com/user/GroundbreakingMall54">Reddit</a>+ <a href="https://www.linkedin.com/in/david-drobnitza-locallyuncensored/" rel="me noopener" target="_blank">LinkedIn</a>+ <a href="https://locallyuncensored.com/privacy/">Privacy</a>+ <a href="https://locallyuncensored.com/terms/">Terms</a>+ <a href="https://locallyuncensored.com/impressum/">Impressum</a>+ </div>+</footer>+</body>+</html>diff --git a/docs/guide/index.html b/docs/guide/index.htmlindex 47ebdef8..813f09aa 100644--- a/docs/guide/index.html+++ b/docs/guide/index.html@@ -79,6 +79,7 @@<div class="post-card" data-handbook-guide="character-studio"><h2><a href="/guide/character-studio/">Character Studio: train a character and use it</a></h2><p>The photos, training on your card, on a Mac or on LU Cloud, and the steps that keep the likeness.</p></div><div class="post-card" data-handbook-guide="remote-access-setup"><h2><a href="/guide/remote-access-setup/">Remote access, step by step</a></h2><p>Use LU on your own PC from your phone's browser: pairing, the four permission switches, connecting from outside your home, and stopping it.</p></div><div class="post-card" data-handbook-guide="storage"><h2><a href="/guide/storage/">LU and your models on another drive</a></h2><p>Where the app keeps its files on Windows, Linux and Mac, what you can move to a second drive, and what you cannot.</p></div>+<div class="post-card" data-handbook-guide="hugging-face"><h2><a href="/guide/hugging-face/">Use a Hugging Face model in LU</a></h2><p>The "Use this model" button on Hugging Face: switch LU on once, pick a GGUF file, confirm the download.</p></div><h2 id="how-to-read">If you only read one page</h2>diff --git a/docs/sitemap.xml b/docs/sitemap.xmlindex 12f47461..d8791891 100644--- a/docs/sitemap.xml+++ b/docs/sitemap.xml@@ -142,6 +142,7 @@<url><loc>https://locallyuncensored.com/guide/character-studio/</loc><lastmod>2026-10-16</lastmod></url><url><loc>https://locallyuncensored.com/guide/remote-access-setup/</loc><lastmod>2026-10-16</lastmod></url><url><loc>https://locallyuncensored.com/guide/storage/</loc><lastmod>2026-10-16</lastmod></url>+<url><loc>https://locallyuncensored.com/guide/hugging-face/</loc><lastmod>2026-10-28</lastmod></url><url><loc>https://locallyuncensored.com/pricing/</loc><lastmod>2026-10-16</lastmod></url><url><loc>https://locallyuncensored.com/uncensored-ai-api/</loc>diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lockindex 574b5079..b56d4539 100644--- a/src-tauri/Cargo.lock+++ b/src-tauri/Cargo.lock@@ -6069,6 +6069,7 @@ dependencies = ["serde","serde_json","tauri",+ "tauri-plugin-deep-link","thiserror 2.0.18","tracing","windows-sys 0.60.2",diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.tomlindex 3677a01e..e0d9effe 100644--- a/src-tauri/Cargo.toml+++ b/src-tauri/Cargo.toml@@ -181,7 +181,12 @@ tauri-plugin-lu-native = { path = "plugins/lu-native" }[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]tauri = { version = "2", features = ["devtools", "tray-icon"] }tauri-plugin-updater = "2"-tauri-plugin-single-instance = "2"+# `deep-link`: a second start that carries a locallyuncensored:// link+# (Windows, Linux) hands the link to the deep-link plugin of the running app.+tauri-plugin-single-instance = { version = "2", features = ["deep-link"] }+# locallyuncensored://open-model, Hugging Face's "Use this model" (hf_link.rs).+# The same pinned version the phones use below, so no crate enters the lock.+tauri-plugin-deep-link = "=2.4.10"# Native open and save dialogs.rfd = "0.15"# Gallery delete moves the render to the Recycle Bin / Trash instead ofdiff --git a/src-tauri/gen/schemas/acl-manifests.json b/src-tauri/gen/schemas/acl-manifests.jsonindex 486dbd7b..17426d8c 100644--- a/src-tauri/gen/schemas/acl-manifests.json+++ b/src-tauri/gen/schemas/acl-manifests.json@@ -1 +1 @@-{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_data_store"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-set-app-theme":{"identifier":"deny-set-app-theme","description":"Denies the set_app_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_app_theme"]}},"deny-set-dock-visibility":{"identifier":"deny-set-dock-visibility","description":"Denies the set_dock_visibility command without any pre-configured scope.","commands":{"allow":[],"deny":["set_dock_visibility"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"core:image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"core:menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"core:path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"core:resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"core:tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-show-menu-on-left-click"]},"permissions":{"allow-get-by-id":{"identifier":"allow-get-by-id","description":"Enables the get_by_id command without any pre-configured scope.","commands":{"allow":["get_by_id"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-remove-by-id":{"identifier":"allow-remove-by-id","description":"Enables the remove_by_id command without any pre-configured scope.","commands":{"allow":["remove_by_id"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-icon-as-template":{"identifier":"allow-set-icon-as-template","description":"Enables the set_icon_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_as_template"],"deny":[]}},"allow-set-menu":{"identifier":"allow-set-menu","description":"Enables the set_menu command without any pre-configured scope.","commands":{"allow":["set_menu"],"deny":[]}},"allow-set-show-menu-on-left-click":{"identifier":"allow-set-show-menu-on-left-click","description":"Enables the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":["set_show_menu_on_left_click"],"deny":[]}},"allow-set-temp-dir-path":{"identifier":"allow-set-temp-dir-path","description":"Enables the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":["set_temp_dir_path"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-tooltip":{"identifier":"allow-set-tooltip","description":"Enables the set_tooltip command without any pre-configured scope.","commands":{"allow":["set_tooltip"],"deny":[]}},"allow-set-visible":{"identifier":"allow-set-visible","description":"Enables the set_visible command without any pre-configured scope.","commands":{"allow":["set_visible"],"deny":[]}},"deny-get-by-id":{"identifier":"deny-get-by-id","description":"Denies the get_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["get_by_id"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-remove-by-id":{"identifier":"deny-remove-by-id","description":"Denies the remove_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_by_id"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-icon-as-template":{"identifier":"deny-set-icon-as-template","description":"Denies the set_icon_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"core:webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-webviews","allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-clear-all-browsing-data":{"identifier":"allow-clear-all-browsing-data","description":"Enables the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":["clear_all_browsing_data"],"deny":[]}},"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-get-all-webviews":{"identifier":"allow-get-all-webviews","description":"Enables the get_all_webviews command without any pre-configured scope.","commands":{"allow":["get_all_webviews"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-auto-resize":{"identifier":"allow-set-webview-auto-resize","description":"Enables the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":["set_webview_auto_resize"],"deny":[]}},"allow-set-webview-background-color":{"identifier":"allow-set-webview-background-color","description":"Enables the set_webview_background_color command without any pre-configured scope.","commands":{"allow":["set_webview_background_color"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-hide":{"identifier":"allow-webview-hide","description":"Enables the webview_hide command without any pre-configured scope.","commands":{"allow":["webview_hide"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-show":{"identifier":"allow-webview-show","description":"Enables the webview_show command without any pre-configured scope.","commands":{"allow":["webview_show"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-clear-all-browsing-data":{"identifier":"deny-clear-all-browsing-data","description":"Denies the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_all_browsing_data"]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-get-all-webviews":{"identifier":"deny-get-all-webviews","description":"Denies the get_all_webviews command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_webviews"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-auto-resize":{"identifier":"deny-set-webview-auto-resize","description":"Denies the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_auto_resize"]}},"deny-set-webview-background-color":{"identifier":"deny-set-webview-background-color","description":"Denies the set_webview_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_background_color"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-hide":{"identifier":"deny-webview-hide","description":"Denies the webview_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_hide"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-show":{"identifier":"deny-webview-show","description":"Denies the webview_show command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_show"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"core:window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-windows","allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-is-enabled","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-is-always-on-top","allow-internal-toggle-maximize"]},"permissions":{"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-get-all-windows":{"identifier":"allow-get-all-windows","description":"Enables the get_all_windows command without any pre-configured scope.","commands":{"allow":["get_all_windows"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-always-on-top":{"identifier":"allow-is-always-on-top","description":"Enables the is_always_on_top command without any pre-configured scope.","commands":{"allow":["is_always_on_top"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-background-color":{"identifier":"allow-set-background-color","description":"Enables the set_background_color command without any pre-configured scope.","commands":{"allow":["set_background_color"],"deny":[]}},"allow-set-badge-count":{"identifier":"allow-set-badge-count","description":"Enables the set_badge_count command without any pre-configured scope.","commands":{"allow":["set_badge_count"],"deny":[]}},"allow-set-badge-label":{"identifier":"allow-set-badge-label","description":"Enables the set_badge_label command without any pre-configured scope.","commands":{"allow":["set_badge_label"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-focusable":{"identifier":"allow-set-focusable","description":"Enables the set_focusable command without any pre-configured scope.","commands":{"allow":["set_focusable"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-overlay-icon":{"identifier":"allow-set-overlay-icon","description":"Enables the set_overlay_icon command without any pre-configured scope.","commands":{"allow":["set_overlay_icon"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-simple-fullscreen":{"identifier":"allow-set-simple-fullscreen","description":"Enables the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":["set_simple_fullscreen"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-size-constraints":{"identifier":"allow-set-size-constraints","description":"Enables the set_size_constraints command without any pre-configured scope.","commands":{"allow":["set_size_constraints"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-theme":{"identifier":"allow-set-theme","description":"Enables the set_theme command without any pre-configured scope.","commands":{"allow":["set_theme"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-get-all-windows":{"identifier":"deny-get-all-windows","description":"Denies the get_all_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_windows"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-always-on-top":{"identifier":"deny-is-always-on-top","description":"Denies the is_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["is_always_on_top"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-background-color":{"identifier":"deny-set-background-color","description":"Denies the set_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_background_color"]}},"deny-set-badge-count":{"identifier":"deny-set-badge-count","description":"Denies the set_badge_count command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_count"]}},"deny-set-badge-label":{"identifier":"deny-set-badge-label","description":"Denies the set_badge_label command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_label"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-focusable":{"identifier":"deny-set-focusable","description":"Denies the set_focusable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focusable"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-overlay-icon":{"identifier":"deny-set-overlay-icon","description":"Denies the set_overlay_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_overlay_icon"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-simple-fullscreen":{"identifier":"deny-set-simple-fullscreen","description":"Denies the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_simple_fullscreen"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-size-constraints":{"identifier":"deny-set-size-constraints","description":"Denies the set_size_constraints command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size_constraints"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-theme":{"identifier":"deny-set-theme","description":"Denies the set_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_theme"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null},"global-shortcut":{"default_permission":{"identifier":"default","description":"No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is\napplication specific if specific shortcuts should be\nregistered or unregistered.\n","permissions":[]},"permissions":{"allow-is-registered":{"identifier":"allow-is-registered","description":"Enables the is_registered command without any pre-configured scope.","commands":{"allow":["is_registered"],"deny":[]}},"allow-register":{"identifier":"allow-register","description":"Enables the register command without any pre-configured scope.","commands":{"allow":["register"],"deny":[]}},"allow-register-all":{"identifier":"allow-register-all","description":"Enables the register_all command without any pre-configured scope.","commands":{"allow":["register_all"],"deny":[]}},"allow-unregister":{"identifier":"allow-unregister","description":"Enables the unregister command without any pre-configured scope.","commands":{"allow":["unregister"],"deny":[]}},"allow-unregister-all":{"identifier":"allow-unregister-all","description":"Enables the unregister_all command without any pre-configured scope.","commands":{"allow":["unregister_all"],"deny":[]}},"deny-is-registered":{"identifier":"deny-is-registered","description":"Denies the is_registered command without any pre-configured scope.","commands":{"allow":[],"deny":["is_registered"]}},"deny-register":{"identifier":"deny-register","description":"Denies the register command without any pre-configured scope.","commands":{"allow":[],"deny":["register"]}},"deny-register-all":{"identifier":"deny-register-all","description":"Denies the register_all command without any pre-configured scope.","commands":{"allow":[],"deny":["register_all"]}},"deny-unregister":{"identifier":"deny-unregister","description":"Denies the unregister command without any pre-configured scope.","commands":{"allow":[],"deny":["unregister"]}},"deny-unregister-all":{"identifier":"deny-unregister-all","description":"Denies the unregister_all command without any pre-configured scope.","commands":{"allow":[],"deny":["unregister_all"]}}},"permission_sets":{},"global_scope_schema":null},"lu-native":{"default_permission":{"identifier":"default","description":"Everything the phone shell needs from the native layer. `simulate-memory-warning` is listed although the command only acts in a build with the cargo feature `abnahme`; without the feature it answers with an error.","permissions":["allow-share-file","allow-save-to-photos","allow-save-to-files","allow-write-temp-file","allow-download-to-temp","allow-delete-temp-file","allow-device-info","allow-simulate-memory-warning","allow-begin-background-task","allow-end-background-task","allow-back-arm","allow-back-ack","allow-back-exit","allow-pending-deep-link","allow-haptic","allow-open-external","allow-scan-qr","allow-open-system-settings","allow-set-system-bars","allow-remote-client-request","allow-remote-client-cancel","allow-bg-download-start","allow-bg-download-pause","allow-bg-download-resume","allow-bg-download-cancel","allow-bg-download-forget","allow-bg-download-list","allow-bg-download-network-rule","allow-bg-download-allow-metered","allow-connection-info","allow-request-notification-permission","allow-tts-voices","allow-tts-speak","allow-tts-stop","allow-import-model-document","allow-import-model-cancel","allow-bg-download-limit","allow-transcode-image","allow-clipboard-read-text","allow-clipboard-write-text","allow-local-notify","allow-remote-watch","allow-remote-notify-permission","allow-apple-sign-in","allow-web-auth","allow-pick-documents","allow-read-temp-file","allow-iap-products","allow-iap-purchase","allow-iap-finish","allow-iap-unfinished"]},"permissions":{"allow-apple-sign-in":{"identifier":"allow-apple-sign-in","description":"Enables the apple_sign_in command without any pre-configured scope.","commands":{"allow":["apple_sign_in"],"deny":[]}},"allow-back-ack":{"identifier":"allow-back-ack","description":"Enables the back_ack command without any pre-configured scope.","commands":{"allow":["back_ack"],"deny":[]}},"allow-back-arm":{"identifier":"allow-back-arm","description":"Enables the back_arm command without any pre-configured scope.","commands":{"allow":["back_arm"],"deny":[]}},"allow-back-exit":{"identifier":"allow-back-exit","description":"Enables the back_exit command without any pre-configured scope.","commands":{"allow":["back_exit"],"deny":[]}},"allow-begin-background-task":{"identifier":"allow-begin-background-task","description":"Enables the begin_background_task command without any pre-configured scope.","commands":{"allow":["begin_background_task"],"deny":[]}},"allow-bg-download-allow-metered":{"identifier":"allow-bg-download-allow-metered","description":"Enables the bg_download_allow_metered command without any pre-configured scope.","commands":{"allow":["bg_download_allow_metered"],"deny":[]}},"allow-bg-download-cancel":{"identifier":"allow-bg-download-cancel","description":"Enables the bg_download_cancel command without any pre-configured scope.","commands":{"allow":["bg_download_cancel"],"deny":[]}},"allow-bg-download-forget":{"identifier":"allow-bg-download-forget","description":"Enables the bg_download_forget command without any pre-configured scope.","commands":{"allow":["bg_download_forget"],"deny":[]}},"allow-bg-download-limit":{"identifier":"allow-bg-download-limit","description":"Enables the bg_download_limit command without any pre-configured scope.","commands":{"allow":["bg_download_limit"],"deny":[]}},"allow-bg-download-list":{"identifier":"allow-bg-download-list","description":"Enables the bg_download_list command without any pre-configured scope.","commands":{"allow":["bg_download_list"],"deny":[]}},"allow-bg-download-network-rule":{"identifier":"allow-bg-download-network-rule","description":"Enables the bg_download_network_rule command without any pre-configured scope.","commands":{"allow":["bg_download_network_rule"],"deny":[]}},"allow-bg-download-pause":{"identifier":"allow-bg-download-pause","description":"Enables the bg_download_pause command without any pre-configured scope.","commands":{"allow":["bg_download_pause"],"deny":[]}},"allow-bg-download-resume":{"identifier":"allow-bg-download-resume","description":"Enables the bg_download_resume command without any pre-configured scope.","commands":{"allow":["bg_download_resume"],"deny":[]}},"allow-bg-download-start":{"identifier":"allow-bg-download-start","description":"Enables the bg_download_start command without any pre-configured scope.","commands":{"allow":["bg_download_start"],"deny":[]}},"allow-clipboard-read-text":{"identifier":"allow-clipboard-read-text","description":"Enables the clipboard_read_text command without any pre-configured scope.","commands":{"allow":["clipboard_read_text"],"deny":[]}},"allow-clipboard-write-text":{"identifier":"allow-clipboard-write-text","description":"Enables the clipboard_write_text command without any pre-configured scope.","commands":{"allow":["clipboard_write_text"],"deny":[]}},"allow-connection-info":{"identifier":"allow-connection-info","description":"Enables the connection_info command without any pre-configured scope.","commands":{"allow":["connection_info"],"deny":[]}},"allow-delete-temp-file":{"identifier":"allow-delete-temp-file","description":"Enables the delete_temp_file command without any pre-configured scope.","commands":{"allow":["delete_temp_file"],"deny":[]}},"allow-device-info":{"identifier":"allow-device-info","description":"Enables the device_info command without any pre-configured scope.","commands":{"allow":["device_info"],"deny":[]}},"allow-download-to-temp":{"identifier":"allow-download-to-temp","description":"Enables the download_to_temp command without any pre-configured scope.","commands":{"allow":["download_to_temp"],"deny":[]}},"allow-end-background-task":{"identifier":"allow-end-background-task","description":"Enables the end_background_task command without any pre-configured scope.","commands":{"allow":["end_background_task"],"deny":[]}},"allow-haptic":{"identifier":"allow-haptic","description":"Enables the haptic command without any pre-configured scope.","commands":{"allow":["haptic"],"deny":[]}},"allow-iap-finish":{"identifier":"allow-iap-finish","description":"Enables the iap_finish command without any pre-configured scope.","commands":{"allow":["iap_finish"],"deny":[]}},"allow-iap-products":{"identifier":"allow-iap-products","description":"Enables the iap_products command without any pre-configured scope.","commands":{"allow":["iap_products"],"deny":[]}},"allow-iap-purchase":{"identifier":"allow-iap-purchase","description":"Enables the iap_purchase command without any pre-configured scope.","commands":{"allow":["iap_purchase"],"deny":[]}},"allow-iap-unfinished":{"identifier":"allow-iap-unfinished","description":"Enables the iap_unfinished command without any pre-configured scope.","commands":{"allow":["iap_unfinished"],"deny":[]}},"allow-import-model-cancel":{"identifier":"allow-import-model-cancel","description":"Enables the import_model_cancel command without any pre-configured scope.","commands":{"allow":["import_model_cancel"],"deny":[]}},"allow-import-model-document":{"identifier":"allow-import-model-document","description":"Enables the import_model_document command without any pre-configured scope.","commands":{"allow":["import_model_document"],"deny":[]}},"allow-local-notify":{"identifier":"allow-local-notify","description":"Enables the local_notify command without any pre-configured scope.","commands":{"allow":["local_notify"],"deny":[]}},"allow-open-external":{"identifier":"allow-open-external","description":"Enables the open_external command without any pre-configured scope.","commands":{"allow":["open_external"],"deny":[]}},"allow-open-system-settings":{"identifier":"allow-open-system-settings","description":"Enables the open_system_settings command without any pre-configured scope.","commands":{"allow":["open_system_settings"],"deny":[]}},"allow-pending-deep-link":{"identifier":"allow-pending-deep-link","description":"Enables the pending_deep_link command without any pre-configured scope.","commands":{"allow":["pending_deep_link"],"deny":[]}},"allow-pick-documents":{"identifier":"allow-pick-documents","description":"Enables the pick_documents command without any pre-configured scope.","commands":{"allow":["pick_documents"],"deny":[]}},"allow-read-temp-file":{"identifier":"allow-read-temp-file","description":"Enables the read_temp_file command without any pre-configured scope.","commands":{"allow":["read_temp_file"],"deny":[]}},"allow-remote-client-cancel":{"identifier":"allow-remote-client-cancel","description":"Enables the remote_client_cancel command without any pre-configured scope.","commands":{"allow":["remote_client_cancel"],"deny":[]}},"allow-remote-client-request":{"identifier":"allow-remote-client-request","description":"Enables the remote_client_request command without any pre-configured scope.","commands":{"allow":["remote_client_request"],"deny":[]}},"allow-remote-notify-permission":{"identifier":"allow-remote-notify-permission","description":"Enables the remote_notify_permission command without any pre-configured scope.","commands":{"allow":["remote_notify_permission"],"deny":[]}},"allow-remote-watch":{"identifier":"allow-remote-watch","description":"Enables the remote_watch command without any pre-configured scope.","commands":{"allow":["remote_watch"],"deny":[]}},"allow-request-notification-permission":{"identifier":"allow-request-notification-permission","description":"Enables the request_notification_permission command without any pre-configured scope.","commands":{"allow":["request_notification_permission"],"deny":[]}},"allow-save-to-files":{"identifier":"allow-save-to-files","description":"Enables the save_to_files command without any pre-configured scope.","commands":{"allow":["save_to_files"],"deny":[]}},"allow-save-to-photos":{"identifier":"allow-save-to-photos","description":"Enables the save_to_photos command without any pre-configured scope.","commands":{"allow":["save_to_photos"],"deny":[]}},"allow-scan-qr":{"identifier":"allow-scan-qr","description":"Enables the scan_qr command without any pre-configured scope.","commands":{"allow":["scan_qr"],"deny":[]}},"allow-set-system-bars":{"identifier":"allow-set-system-bars","description":"Enables the set_system_bars command without any pre-configured scope.","commands":{"allow":["set_system_bars"],"deny":[]}},"allow-share-file":{"identifier":"allow-share-file","description":"Enables the share_file command without any pre-configured scope.","commands":{"allow":["share_file"],"deny":[]}},"allow-simulate-memory-warning":{"identifier":"allow-simulate-memory-warning","description":"Enables the simulate_memory_warning command without any pre-configured scope.","commands":{"allow":["simulate_memory_warning"],"deny":[]}},"allow-transcode-image":{"identifier":"allow-transcode-image","description":"Enables the transcode_image command without any pre-configured scope.","commands":{"allow":["transcode_image"],"deny":[]}},"allow-tts-speak":{"identifier":"allow-tts-speak","description":"Enables the tts_speak command without any pre-configured scope.","commands":{"allow":["tts_speak"],"deny":[]}},"allow-tts-stop":{"identifier":"allow-tts-stop","description":"Enables the tts_stop command without any pre-configured scope.","commands":{"allow":["tts_stop"],"deny":[]}},"allow-tts-voices":{"identifier":"allow-tts-voices","description":"Enables the tts_voices command without any pre-configured scope.","commands":{"allow":["tts_voices"],"deny":[]}},"allow-web-auth":{"identifier":"allow-web-auth","description":"Enables the web_auth command without any pre-configured scope.","commands":{"allow":["web_auth"],"deny":[]}},"allow-write-temp-file":{"identifier":"allow-write-temp-file","description":"Enables the write_temp_file command without any pre-configured scope.","commands":{"allow":["write_temp_file"],"deny":[]}},"deny-apple-sign-in":{"identifier":"deny-apple-sign-in","description":"Denies the apple_sign_in command without any pre-configured scope.","commands":{"allow":[],"deny":["apple_sign_in"]}},"deny-back-ack":{"identifier":"deny-back-ack","description":"Denies the back_ack command without any pre-configured scope.","commands":{"allow":[],"deny":["back_ack"]}},"deny-back-arm":{"identifier":"deny-back-arm","description":"Denies the back_arm command without any pre-configured scope.","commands":{"allow":[],"deny":["back_arm"]}},"deny-back-exit":{"identifier":"deny-back-exit","description":"Denies the back_exit command without any pre-configured scope.","commands":{"allow":[],"deny":["back_exit"]}},"deny-begin-background-task":{"identifier":"deny-begin-background-task","description":"Denies the begin_background_task command without any pre-configured scope.","commands":{"allow":[],"deny":["begin_background_task"]}},"deny-bg-download-allow-metered":{"identifier":"deny-bg-download-allow-metered","description":"Denies the bg_download_allow_metered command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_allow_metered"]}},"deny-bg-download-cancel":{"identifier":"deny-bg-download-cancel","description":"Denies the bg_download_cancel command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_cancel"]}},"deny-bg-download-forget":{"identifier":"deny-bg-download-forget","description":"Denies the bg_download_forget command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_forget"]}},"deny-bg-download-limit":{"identifier":"deny-bg-download-limit","description":"Denies the bg_download_limit command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_limit"]}},"deny-bg-download-list":{"identifier":"deny-bg-download-list","description":"Denies the bg_download_list command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_list"]}},"deny-bg-download-network-rule":{"identifier":"deny-bg-download-network-rule","description":"Denies the bg_download_network_rule command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_network_rule"]}},"deny-bg-download-pause":{"identifier":"deny-bg-download-pause","description":"Denies the bg_download_pause command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_pause"]}},"deny-bg-download-resume":{"identifier":"deny-bg-download-resume","description":"Denies the bg_download_resume command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_resume"]}},"deny-bg-download-start":{"identifier":"deny-bg-download-start","description":"Denies the bg_download_start command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_start"]}},"deny-clipboard-read-text":{"identifier":"deny-clipboard-read-text","description":"Denies the clipboard_read_text command without any pre-configured scope.","commands":{"allow":[],"deny":["clipboard_read_text"]}},"deny-clipboard-write-text":{"identifier":"deny-clipboard-write-text","description":"Denies the clipboard_write_text command without any pre-configured scope.","commands":{"allow":[],"deny":["clipboard_write_text"]}},"deny-connection-info":{"identifier":"deny-connection-info","description":"Denies the connection_info command without any pre-configured scope.","commands":{"allow":[],"deny":["connection_info"]}},"deny-delete-temp-file":{"identifier":"deny-delete-temp-file","description":"Denies the delete_temp_file command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_temp_file"]}},"deny-device-info":{"identifier":"deny-device-info","description":"Denies the device_info command without any pre-configured scope.","commands":{"allow":[],"deny":["device_info"]}},"deny-download-to-temp":{"identifier":"deny-download-to-temp","description":"Denies the download_to_temp command without any pre-configured scope.","commands":{"allow":[],"deny":["download_to_temp"]}},"deny-end-background-task":{"identifier":"deny-end-background-task","description":"Denies the end_background_task command without any pre-configured scope.","commands":{"allow":[],"deny":["end_background_task"]}},"deny-haptic":{"identifier":"deny-haptic","description":"Denies the haptic command without any pre-configured scope.","commands":{"allow":[],"deny":["haptic"]}},"deny-iap-finish":{"identifier":"deny-iap-finish","description":"Denies the iap_finish command without any pre-configured scope.","commands":{"allow":[],"deny":["iap_finish"]}},"deny-iap-products":{"identifier":"deny-iap-products","description":"Denies the iap_products command without any pre-configured scope.","commands":{"allow":[],"deny":["iap_products"]}},"deny-iap-purchase":{"identifier":"deny-iap-purchase","description":"Denies the iap_purchase command without any pre-configured scope.","commands":{"allow":[],"deny":["iap_purchase"]}},"deny-iap-unfinished":{"identifier":"deny-iap-unfinished","description":"Denies the iap_unfinished command without any pre-configured scope.","commands":{"allow":[],"deny":["iap_unfinished"]}},"deny-import-model-cancel":{"identifier":"deny-import-model-cancel","description":"Denies the import_model_cancel command without any pre-configured scope.","commands":{"allow":[],"deny":["import_model_cancel"]}},"deny-import-model-document":{"identifier":"deny-import-model-document","description":"Denies the import_model_document command without any pre-configured scope.","commands":{"allow":[],"deny":["import_model_document"]}},"deny-local-notify":{"identifier":"deny-local-notify","description":"Denies the local_notify command without any pre-configured scope.","commands":{"allow":[],"deny":["local_notify"]}},"deny-open-external":{"identifier":"deny-open-external","description":"Denies the open_external command without any pre-configured scope.","commands":{"allow":[],"deny":["open_external"]}},"deny-open-system-settings":{"identifier":"deny-open-system-settings","description":"Denies the open_system_settings command without any pre-configured scope.","commands":{"allow":[],"deny":["open_system_settings"]}},"deny-pending-deep-link":{"identifier":"deny-pending-deep-link","description":"Denies the pending_deep_link command without any pre-configured scope.","commands":{"allow":[],"deny":["pending_deep_link"]}},"deny-pick-documents":{"identifier":"deny-pick-documents","description":"Denies the pick_documents command without any pre-configured scope.","commands":{"allow":[],"deny":["pick_documents"]}},"deny-read-temp-file":{"identifier":"deny-read-temp-file","description":"Denies the read_temp_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_temp_file"]}},"deny-remote-client-cancel":{"identifier":"deny-remote-client-cancel","description":"Denies the remote_client_cancel command without any pre-configured scope.","commands":{"allow":[],"deny":["remote_client_cancel"]}},"deny-remote-client-request":{"identifier":"deny-remote-client-request","description":"Denies the remote_client_request command without any pre-configured scope.","commands":{"allow":[],"deny":["remote_client_request"]}},"deny-remote-notify-permission":{"identifier":"deny-remote-notify-permission","description":"Denies the remote_notify_permission command without any pre-configured scope.","commands":{"allow":[],"deny":["remote_notify_permission"]}},"deny-remote-watch":{"identifier":"deny-remote-watch","description":"Denies the remote_watch command without any pre-configured scope.","commands":{"allow":[],"deny":["remote_watch"]}},"deny-request-notification-permission":{"identifier":"deny-request-notification-permission","description":"Denies the request_notification_permission command without any pre-configured scope.","commands":{"allow":[],"deny":["request_notification_permission"]}},"deny-save-to-files":{"identifier":"deny-save-to-files","description":"Denies the save_to_files command without any pre-configured scope.","commands":{"allow":[],"deny":["save_to_files"]}},"deny-save-to-photos":{"identifier":"deny-save-to-photos","description":"Denies the save_to_photos command without any pre-configured scope.","commands":{"allow":[],"deny":["save_to_photos"]}},"deny-scan-qr":{"identifier":"deny-scan-qr","description":"Denies the scan_qr command without any pre-configured scope.","commands":{"allow":[],"deny":["scan_qr"]}},"deny-set-system-bars":{"identifier":"deny-set-system-bars","description":"Denies the set_system_bars command without any pre-configured scope.","commands":{"allow":[],"deny":["set_system_bars"]}},"deny-share-file":{"identifier":"deny-share-file","description":"Denies the share_file command without any pre-configured scope.","commands":{"allow":[],"deny":["share_file"]}},"deny-simulate-memory-warning":{"identifier":"deny-simulate-memory-warning","description":"Denies the simulate_memory_warning command without any pre-configured scope.","commands":{"allow":[],"deny":["simulate_memory_warning"]}},"deny-transcode-image":{"identifier":"deny-transcode-image","description":"Denies the transcode_image command without any pre-configured scope.","commands":{"allow":[],"deny":["transcode_image"]}},"deny-tts-speak":{"identifier":"deny-tts-speak","description":"Denies the tts_speak command without any pre-configured scope.","commands":{"allow":[],"deny":["tts_speak"]}},"deny-tts-stop":{"identifier":"deny-tts-stop","description":"Denies the tts_stop command without any pre-configured scope.","commands":{"allow":[],"deny":["tts_stop"]}},"deny-tts-voices":{"identifier":"deny-tts-voices","description":"Denies the tts_voices command without any pre-configured scope.","commands":{"allow":[],"deny":["tts_voices"]}},"deny-web-auth":{"identifier":"deny-web-auth","description":"Denies the web_auth command without any pre-configured scope.","commands":{"allow":[],"deny":["web_auth"]}},"deny-write-temp-file":{"identifier":"deny-write-temp-file","description":"Denies the write_temp_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_temp_file"]}}},"permission_sets":{},"global_scope_schema":null},"shell":{"default_permission":{"identifier":"default","description":"This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n","permissions":["allow-open"]},"permissions":{"allow-execute":{"identifier":"allow-execute","description":"Enables the execute command without any pre-configured scope.","commands":{"allow":["execute"],"deny":[]}},"allow-kill":{"identifier":"allow-kill","description":"Enables the kill command without any pre-configured scope.","commands":{"allow":["kill"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-spawn":{"identifier":"allow-spawn","description":"Enables the spawn command without any pre-configured scope.","commands":{"allow":["spawn"],"deny":[]}},"allow-stdin-write":{"identifier":"allow-stdin-write","description":"Enables the stdin_write command without any pre-configured scope.","commands":{"allow":["stdin_write"],"deny":[]}},"deny-execute":{"identifier":"deny-execute","description":"Denies the execute command without any pre-configured scope.","commands":{"allow":[],"deny":["execute"]}},"deny-kill":{"identifier":"deny-kill","description":"Denies the kill command without any pre-configured scope.","commands":{"allow":[],"deny":["kill"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-spawn":{"identifier":"deny-spawn","description":"Denies the spawn command without any pre-configured scope.","commands":{"allow":[],"deny":["spawn"]}},"deny-stdin-write":{"identifier":"deny-stdin-write","description":"Denies the stdin_write command without any pre-configured scope.","commands":{"allow":[],"deny":["stdin_write"]}}},"permission_sets":{},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"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"}},"required":["cmd","name"],"type":"object"},{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"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"}},"required":["name","sidecar"],"type":"object"}],"definitions":{"ShellScopeEntryAllowedArg":{"anyOf":[{"description":"A non-configurable argument that is passed to the command in the order it was specified.","type":"string"},{"additionalProperties":false,"description":"A variable that is set while calling the command from the webview API.","properties":{"raw":{"default":false,"description":"Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.","type":"boolean"},"validator":{"description":"[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: <https://docs.rs/regex/latest/regex/#syntax>","type":"string"}},"required":["validator"],"type":"object"}],"description":"A command argument allowed to be executed by the webview API."},"ShellScopeEntryAllowedArgs":{"anyOf":[{"description":"Use a simple boolean to allow all or disable all arguments to this command configuration.","type":"boolean"},{"description":"A specific set of [`ShellScopeEntryAllowedArg`] that are valid to call for the command configuration.","items":{"$ref":"#/definitions/ShellScopeEntryAllowedArg"},"type":"array"}],"description":"A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellScopeEntryAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration."}},"description":"Shell scope entry.","title":"ShellScopeEntry"}},"updater":{"default_permission":{"identifier":"default","description":"This permission set configures which kind of\nupdater functions are exposed to the frontend.\n\n#### Granted Permissions\n\nThe full workflow from checking for updates to installing them\nis enabled.\n\n","permissions":["allow-check","allow-download","allow-install","allow-download-and-install"]},"permissions":{"allow-check":{"identifier":"allow-check","description":"Enables the check command without any pre-configured scope.","commands":{"allow":["check"],"deny":[]}},"allow-download":{"identifier":"allow-download","description":"Enables the download command without any pre-configured scope.","commands":{"allow":["download"],"deny":[]}},"allow-download-and-install":{"identifier":"allow-download-and-install","description":"Enables the download_and_install command without any pre-configured scope.","commands":{"allow":["download_and_install"],"deny":[]}},"allow-install":{"identifier":"allow-install","description":"Enables the install command without any pre-configured scope.","commands":{"allow":["install"],"deny":[]}},"deny-check":{"identifier":"deny-check","description":"Denies the check command without any pre-configured scope.","commands":{"allow":[],"deny":["check"]}},"deny-download":{"identifier":"deny-download","description":"Denies the download command without any pre-configured scope.","commands":{"allow":[],"deny":["download"]}},"deny-download-and-install":{"identifier":"deny-download-and-install","description":"Denies the download_and_install command without any pre-configured scope.","commands":{"allow":[],"deny":["download_and_install"]}},"deny-install":{"identifier":"deny-install","description":"Denies the install command without any pre-configured scope.","commands":{"allow":[],"deny":["install"]}}},"permission_sets":{},"global_scope_schema":null}}\ No newline at end of file+{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_data_store"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-set-app-theme":{"identifier":"deny-set-app-theme","description":"Denies the set_app_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_app_theme"]}},"deny-set-dock-visibility":{"identifier":"deny-set-dock-visibility","description":"Denies the set_dock_visibility command without any pre-configured scope.","commands":{"allow":[],"deny":["set_dock_visibility"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"core:image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"core:menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"core:path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"core:resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"core:tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-show-menu-on-left-click"]},"permissions":{"allow-get-by-id":{"identifier":"allow-get-by-id","description":"Enables the get_by_id command without any pre-configured scope.","commands":{"allow":["get_by_id"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-remove-by-id":{"identifier":"allow-remove-by-id","description":"Enables the remove_by_id command without any pre-configured scope.","commands":{"allow":["remove_by_id"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-icon-as-template":{"identifier":"allow-set-icon-as-template","description":"Enables the set_icon_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_as_template"],"deny":[]}},"allow-set-menu":{"identifier":"allow-set-menu","description":"Enables the set_menu command without any pre-configured scope.","commands":{"allow":["set_menu"],"deny":[]}},"allow-set-show-menu-on-left-click":{"identifier":"allow-set-show-menu-on-left-click","description":"Enables the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":["set_show_menu_on_left_click"],"deny":[]}},"allow-set-temp-dir-path":{"identifier":"allow-set-temp-dir-path","description":"Enables the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":["set_temp_dir_path"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-tooltip":{"identifier":"allow-set-tooltip","description":"Enables the set_tooltip command without any pre-configured scope.","commands":{"allow":["set_tooltip"],"deny":[]}},"allow-set-visible":{"identifier":"allow-set-visible","description":"Enables the set_visible command without any pre-configured scope.","commands":{"allow":["set_visible"],"deny":[]}},"deny-get-by-id":{"identifier":"deny-get-by-id","description":"Denies the get_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["get_by_id"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-remove-by-id":{"identifier":"deny-remove-by-id","description":"Denies the remove_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_by_id"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-icon-as-template":{"identifier":"deny-set-icon-as-template","description":"Denies the set_icon_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"core:webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-webviews","allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-clear-all-browsing-data":{"identifier":"allow-clear-all-browsing-data","description":"Enables the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":["clear_all_browsing_data"],"deny":[]}},"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-get-all-webviews":{"identifier":"allow-get-all-webviews","description":"Enables the get_all_webviews command without any pre-configured scope.","commands":{"allow":["get_all_webviews"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-auto-resize":{"identifier":"allow-set-webview-auto-resize","description":"Enables the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":["set_webview_auto_resize"],"deny":[]}},"allow-set-webview-background-color":{"identifier":"allow-set-webview-background-color","description":"Enables the set_webview_background_color command without any pre-configured scope.","commands":{"allow":["set_webview_background_color"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-hide":{"identifier":"allow-webview-hide","description":"Enables the webview_hide command without any pre-configured scope.","commands":{"allow":["webview_hide"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-show":{"identifier":"allow-webview-show","description":"Enables the webview_show command without any pre-configured scope.","commands":{"allow":["webview_show"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-clear-all-browsing-data":{"identifier":"deny-clear-all-browsing-data","description":"Denies the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_all_browsing_data"]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-get-all-webviews":{"identifier":"deny-get-all-webviews","description":"Denies the get_all_webviews command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_webviews"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-auto-resize":{"identifier":"deny-set-webview-auto-resize","description":"Denies the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_auto_resize"]}},"deny-set-webview-background-color":{"identifier":"deny-set-webview-background-color","description":"Denies the set_webview_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_background_color"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-hide":{"identifier":"deny-webview-hide","description":"Denies the webview_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_hide"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-show":{"identifier":"deny-webview-show","description":"Denies the webview_show command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_show"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"core:window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-windows","allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-is-enabled","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-is-always-on-top","allow-internal-toggle-maximize"]},"permissions":{"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-get-all-windows":{"identifier":"allow-get-all-windows","description":"Enables the get_all_windows command without any pre-configured scope.","commands":{"allow":["get_all_windows"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-always-on-top":{"identifier":"allow-is-always-on-top","description":"Enables the is_always_on_top command without any pre-configured scope.","commands":{"allow":["is_always_on_top"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-background-color":{"identifier":"allow-set-background-color","description":"Enables the set_background_color command without any pre-configured scope.","commands":{"allow":["set_background_color"],"deny":[]}},"allow-set-badge-count":{"identifier":"allow-set-badge-count","description":"Enables the set_badge_count command without any pre-configured scope.","commands":{"allow":["set_badge_count"],"deny":[]}},"allow-set-badge-label":{"identifier":"allow-set-badge-label","description":"Enables the set_badge_label command without any pre-configured scope.","commands":{"allow":["set_badge_label"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-focusable":{"identifier":"allow-set-focusable","description":"Enables the set_focusable command without any pre-configured scope.","commands":{"allow":["set_focusable"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-overlay-icon":{"identifier":"allow-set-overlay-icon","description":"Enables the set_overlay_icon command without any pre-configured scope.","commands":{"allow":["set_overlay_icon"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-simple-fullscreen":{"identifier":"allow-set-simple-fullscreen","description":"Enables the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":["set_simple_fullscreen"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-size-constraints":{"identifier":"allow-set-size-constraints","description":"Enables the set_size_constraints command without any pre-configured scope.","commands":{"allow":["set_size_constraints"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-theme":{"identifier":"allow-set-theme","description":"Enables the set_theme command without any pre-configured scope.","commands":{"allow":["set_theme"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-get-all-windows":{"identifier":"deny-get-all-windows","description":"Denies the get_all_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_windows"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-always-on-top":{"identifier":"deny-is-always-on-top","description":"Denies the is_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["is_always_on_top"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-background-color":{"identifier":"deny-set-background-color","description":"Denies the set_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_background_color"]}},"deny-set-badge-count":{"identifier":"deny-set-badge-count","description":"Denies the set_badge_count command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_count"]}},"deny-set-badge-label":{"identifier":"deny-set-badge-label","description":"Denies the set_badge_label command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_label"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-focusable":{"identifier":"deny-set-focusable","description":"Denies the set_focusable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focusable"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-overlay-icon":{"identifier":"deny-set-overlay-icon","description":"Denies the set_overlay_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_overlay_icon"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-simple-fullscreen":{"identifier":"deny-set-simple-fullscreen","description":"Denies the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_simple_fullscreen"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-size-constraints":{"identifier":"deny-set-size-constraints","description":"Denies the set_size_constraints command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size_constraints"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-theme":{"identifier":"deny-set-theme","description":"Denies the set_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_theme"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null},"deep-link":{"default_permission":{"identifier":"default","description":"Allows reading the opened deep link via the get_current command","permissions":["allow-get-current"]},"permissions":{"allow-get-current":{"identifier":"allow-get-current","description":"Enables the get_current command without any pre-configured scope.","commands":{"allow":["get_current"],"deny":[]}},"allow-is-registered":{"identifier":"allow-is-registered","description":"Enables the is_registered command without any pre-configured scope.","commands":{"allow":["is_registered"],"deny":[]}},"allow-register":{"identifier":"allow-register","description":"Enables the register command without any pre-configured scope.","commands":{"allow":["register"],"deny":[]}},"allow-unregister":{"identifier":"allow-unregister","description":"Enables the unregister command without any pre-configured scope.","commands":{"allow":["unregister"],"deny":[]}},"deny-get-current":{"identifier":"deny-get-current","description":"Denies the get_current command without any pre-configured scope.","commands":{"allow":[],"deny":["get_current"]}},"deny-is-registered":{"identifier":"deny-is-registered","description":"Denies the is_registered command without any pre-configured scope.","commands":{"allow":[],"deny":["is_registered"]}},"deny-register":{"identifier":"deny-register","description":"Denies the register command without any pre-configured scope.","commands":{"allow":[],"deny":["register"]}},"deny-unregister":{"identifier":"deny-unregister","description":"Denies the unregister command without any pre-configured scope.","commands":{"allow":[],"deny":["unregister"]}}},"permission_sets":{},"global_scope_schema":null},"global-shortcut":{"default_permission":{"identifier":"default","description":"No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is\napplication specific if specific shortcuts should be\nregistered or unregistered.\n","permissions":[]},"permissions":{"allow-is-registered":{"identifier":"allow-is-registered","description":"Enables the is_registered command without any pre-configured scope.","commands":{"allow":["is_registered"],"deny":[]}},"allow-register":{"identifier":"allow-register","description":"Enables the register command without any pre-configured scope.","commands":{"allow":["register"],"deny":[]}},"allow-register-all":{"identifier":"allow-register-all","description":"Enables the register_all command without any pre-configured scope.","commands":{"allow":["register_all"],"deny":[]}},"allow-unregister":{"identifier":"allow-unregister","description":"Enables the unregister command without any pre-configured scope.","commands":{"allow":["unregister"],"deny":[]}},"allow-unregister-all":{"identifier":"allow-unregister-all","description":"Enables the unregister_all command without any pre-configured scope.","commands":{"allow":["unregister_all"],"deny":[]}},"deny-is-registered":{"identifier":"deny-is-registered","description":"Denies the is_registered command without any pre-configured scope.","commands":{"allow":[],"deny":["is_registered"]}},"deny-register":{"identifier":"deny-register","description":"Denies the register command without any pre-configured scope.","commands":{"allow":[],"deny":["register"]}},"deny-register-all":{"identifier":"deny-register-all","description":"Denies the register_all command without any pre-configured scope.","commands":{"allow":[],"deny":["register_all"]}},"deny-unregister":{"identifier":"deny-unregister","description":"Denies the unregister command without any pre-configured scope.","commands":{"allow":[],"deny":["unregister"]}},"deny-unregister-all":{"identifier":"deny-unregister-all","description":"Denies the unregister_all command without any pre-configured scope.","commands":{"allow":[],"deny":["unregister_all"]}}},"permission_sets":{},"global_scope_schema":null},"lu-native":{"default_permission":{"identifier":"default","description":"Everything the phone shell needs from the native layer. `simulate-memory-warning` is listed although the command only acts in a build with the cargo feature `abnahme`; without the feature it answers with an error.","permissions":["allow-share-file","allow-save-to-photos","allow-save-to-files","allow-write-temp-file","allow-download-to-temp","allow-delete-temp-file","allow-device-info","allow-simulate-memory-warning","allow-begin-background-task","allow-end-background-task","allow-back-arm","allow-back-ack","allow-back-exit","allow-pending-deep-link","allow-haptic","allow-open-external","allow-scan-qr","allow-open-system-settings","allow-set-system-bars","allow-remote-client-request","allow-remote-client-cancel","allow-bg-download-start","allow-bg-download-pause","allow-bg-download-resume","allow-bg-download-cancel","allow-bg-download-forget","allow-bg-download-list","allow-bg-download-network-rule","allow-bg-download-allow-metered","allow-connection-info","allow-request-notification-permission","allow-tts-voices","allow-tts-speak","allow-tts-stop","allow-import-model-document","allow-import-model-cancel","allow-bg-download-limit","allow-transcode-image","allow-clipboard-read-text","allow-clipboard-write-text","allow-local-notify","allow-remote-watch","allow-remote-notify-permission","allow-apple-sign-in","allow-web-auth","allow-pick-documents","allow-read-temp-file","allow-iap-products","allow-iap-purchase","allow-iap-finish","allow-iap-unfinished"]},"permissions":{"allow-apple-sign-in":{"identifier":"allow-apple-sign-in","description":"Enables the apple_sign_in command without any pre-configured scope.","commands":{"allow":["apple_sign_in"],"deny":[]}},"allow-back-ack":{"identifier":"allow-back-ack","description":"Enables the back_ack command without any pre-configured scope.","commands":{"allow":["back_ack"],"deny":[]}},"allow-back-arm":{"identifier":"allow-back-arm","description":"Enables the back_arm command without any pre-configured scope.","commands":{"allow":["back_arm"],"deny":[]}},"allow-back-exit":{"identifier":"allow-back-exit","description":"Enables the back_exit command without any pre-configured scope.","commands":{"allow":["back_exit"],"deny":[]}},"allow-begin-background-task":{"identifier":"allow-begin-background-task","description":"Enables the begin_background_task command without any pre-configured scope.","commands":{"allow":["begin_background_task"],"deny":[]}},"allow-bg-download-allow-metered":{"identifier":"allow-bg-download-allow-metered","description":"Enables the bg_download_allow_metered command without any pre-configured scope.","commands":{"allow":["bg_download_allow_metered"],"deny":[]}},"allow-bg-download-cancel":{"identifier":"allow-bg-download-cancel","description":"Enables the bg_download_cancel command without any pre-configured scope.","commands":{"allow":["bg_download_cancel"],"deny":[]}},"allow-bg-download-forget":{"identifier":"allow-bg-download-forget","description":"Enables the bg_download_forget command without any pre-configured scope.","commands":{"allow":["bg_download_forget"],"deny":[]}},"allow-bg-download-limit":{"identifier":"allow-bg-download-limit","description":"Enables the bg_download_limit command without any pre-configured scope.","commands":{"allow":["bg_download_limit"],"deny":[]}},"allow-bg-download-list":{"identifier":"allow-bg-download-list","description":"Enables the bg_download_list command without any pre-configured scope.","commands":{"allow":["bg_download_list"],"deny":[]}},"allow-bg-download-network-rule":{"identifier":"allow-bg-download-network-rule","description":"Enables the bg_download_network_rule command without any pre-configured scope.","commands":{"allow":["bg_download_network_rule"],"deny":[]}},"allow-bg-download-pause":{"identifier":"allow-bg-download-pause","description":"Enables the bg_download_pause command without any pre-configured scope.","commands":{"allow":["bg_download_pause"],"deny":[]}},"allow-bg-download-resume":{"identifier":"allow-bg-download-resume","description":"Enables the bg_download_resume command without any pre-configured scope.","commands":{"allow":["bg_download_resume"],"deny":[]}},"allow-bg-download-start":{"identifier":"allow-bg-download-start","description":"Enables the bg_download_start command without any pre-configured scope.","commands":{"allow":["bg_download_start"],"deny":[]}},"allow-clipboard-read-text":{"identifier":"allow-clipboard-read-text","description":"Enables the clipboard_read_text command without any pre-configured scope.","commands":{"allow":["clipboard_read_text"],"deny":[]}},"allow-clipboard-write-text":{"identifier":"allow-clipboard-write-text","description":"Enables the clipboard_write_text command without any pre-configured scope.","commands":{"allow":["clipboard_write_text"],"deny":[]}},"allow-connection-info":{"identifier":"allow-connection-info","description":"Enables the connection_info command without any pre-configured scope.","commands":{"allow":["connection_info"],"deny":[]}},"allow-delete-temp-file":{"identifier":"allow-delete-temp-file","description":"Enables the delete_temp_file command without any pre-configured scope.","commands":{"allow":["delete_temp_file"],"deny":[]}},"allow-device-info":{"identifier":"allow-device-info","description":"Enables the device_info command without any pre-configured scope.","commands":{"allow":["device_info"],"deny":[]}},"allow-download-to-temp":{"identifier":"allow-download-to-temp","description":"Enables the download_to_temp command without any pre-configured scope.","commands":{"allow":["download_to_temp"],"deny":[]}},"allow-end-background-task":{"identifier":"allow-end-background-task","description":"Enables the end_background_task command without any pre-configured scope.","commands":{"allow":["end_background_task"],"deny":[]}},"allow-haptic":{"identifier":"allow-haptic","description":"Enables the haptic command without any pre-configured scope.","commands":{"allow":["haptic"],"deny":[]}},"allow-iap-finish":{"identifier":"allow-iap-finish","description":"Enables the iap_finish command without any pre-configured scope.","commands":{"allow":["iap_finish"],"deny":[]}},"allow-iap-products":{"identifier":"allow-iap-products","description":"Enables the iap_products command without any pre-configured scope.","commands":{"allow":["iap_products"],"deny":[]}},"allow-iap-purchase":{"identifier":"allow-iap-purchase","description":"Enables the iap_purchase command without any pre-configured scope.","commands":{"allow":["iap_purchase"],"deny":[]}},"allow-iap-unfinished":{"identifier":"allow-iap-unfinished","description":"Enables the iap_unfinished command without any pre-configured scope.","commands":{"allow":["iap_unfinished"],"deny":[]}},"allow-import-model-cancel":{"identifier":"allow-import-model-cancel","description":"Enables the import_model_cancel command without any pre-configured scope.","commands":{"allow":["import_model_cancel"],"deny":[]}},"allow-import-model-document":{"identifier":"allow-import-model-document","description":"Enables the import_model_document command without any pre-configured scope.","commands":{"allow":["import_model_document"],"deny":[]}},"allow-local-notify":{"identifier":"allow-local-notify","description":"Enables the local_notify command without any pre-configured scope.","commands":{"allow":["local_notify"],"deny":[]}},"allow-open-external":{"identifier":"allow-open-external","description":"Enables the open_external command without any pre-configured scope.","commands":{"allow":["open_external"],"deny":[]}},"allow-open-system-settings":{"identifier":"allow-open-system-settings","description":"Enables the open_system_settings command without any pre-configured scope.","commands":{"allow":["open_system_settings"],"deny":[]}},"allow-pending-deep-link":{"identifier":"allow-pending-deep-link","description":"Enables the pending_deep_link command without any pre-configured scope.","commands":{"allow":["pending_deep_link"],"deny":[]}},"allow-pick-documents":{"identifier":"allow-pick-documents","description":"Enables the pick_documents command without any pre-configured scope.","commands":{"allow":["pick_documents"],"deny":[]}},"allow-read-temp-file":{"identifier":"allow-read-temp-file","description":"Enables the read_temp_file command without any pre-configured scope.","commands":{"allow":["read_temp_file"],"deny":[]}},"allow-remote-client-cancel":{"identifier":"allow-remote-client-cancel","description":"Enables the remote_client_cancel command without any pre-configured scope.","commands":{"allow":["remote_client_cancel"],"deny":[]}},"allow-remote-client-request":{"identifier":"allow-remote-client-request","description":"Enables the remote_client_request command without any pre-configured scope.","commands":{"allow":["remote_client_request"],"deny":[]}},"allow-remote-notify-permission":{"identifier":"allow-remote-notify-permission","description":"Enables the remote_notify_permission command without any pre-configured scope.","commands":{"allow":["remote_notify_permission"],"deny":[]}},"allow-remote-watch":{"identifier":"allow-remote-watch","description":"Enables the remote_watch command without any pre-configured scope.","commands":{"allow":["remote_watch"],"deny":[]}},"allow-request-notification-permission":{"identifier":"allow-request-notification-permission","description":"Enables the request_notification_permission command without any pre-configured scope.","commands":{"allow":["request_notification_permission"],"deny":[]}},"allow-save-to-files":{"identifier":"allow-save-to-files","description":"Enables the save_to_files command without any pre-configured scope.","commands":{"allow":["save_to_files"],"deny":[]}},"allow-save-to-photos":{"identifier":"allow-save-to-photos","description":"Enables the save_to_photos command without any pre-configured scope.","commands":{"allow":["save_to_photos"],"deny":[]}},"allow-scan-qr":{"identifier":"allow-scan-qr","description":"Enables the scan_qr command without any pre-configured scope.","commands":{"allow":["scan_qr"],"deny":[]}},"allow-set-system-bars":{"identifier":"allow-set-system-bars","description":"Enables the set_system_bars command without any pre-configured scope.","commands":{"allow":["set_system_bars"],"deny":[]}},"allow-share-file":{"identifier":"allow-share-file","description":"Enables the share_file command without any pre-configured scope.","commands":{"allow":["share_file"],"deny":[]}},"allow-simulate-memory-warning":{"identifier":"allow-simulate-memory-warning","description":"Enables the simulate_memory_warning command without any pre-configured scope.","commands":{"allow":["simulate_memory_warning"],"deny":[]}},"allow-transcode-image":{"identifier":"allow-transcode-image","description":"Enables the transcode_image command without any pre-configured scope.","commands":{"allow":["transcode_image"],"deny":[]}},"allow-tts-speak":{"identifier":"allow-tts-speak","description":"Enables the tts_speak command without any pre-configured scope.","commands":{"allow":["tts_speak"],"deny":[]}},"allow-tts-stop":{"identifier":"allow-tts-stop","description":"Enables the tts_stop command without any pre-configured scope.","commands":{"allow":["tts_stop"],"deny":[]}},"allow-tts-voices":{"identifier":"allow-tts-voices","description":"Enables the tts_voices command without any pre-configured scope.","commands":{"allow":["tts_voices"],"deny":[]}},"allow-web-auth":{"identifier":"allow-web-auth","description":"Enables the web_auth command without any pre-configured scope.","commands":{"allow":["web_auth"],"deny":[]}},"allow-write-temp-file":{"identifier":"allow-write-temp-file","description":"Enables the write_temp_file command without any pre-configured scope.","commands":{"allow":["write_temp_file"],"deny":[]}},"deny-apple-sign-in":{"identifier":"deny-apple-sign-in","description":"Denies the apple_sign_in command without any pre-configured scope.","commands":{"allow":[],"deny":["apple_sign_in"]}},"deny-back-ack":{"identifier":"deny-back-ack","description":"Denies the back_ack command without any pre-configured scope.","commands":{"allow":[],"deny":["back_ack"]}},"deny-back-arm":{"identifier":"deny-back-arm","description":"Denies the back_arm command without any pre-configured scope.","commands":{"allow":[],"deny":["back_arm"]}},"deny-back-exit":{"identifier":"deny-back-exit","description":"Denies the back_exit command without any pre-configured scope.","commands":{"allow":[],"deny":["back_exit"]}},"deny-begin-background-task":{"identifier":"deny-begin-background-task","description":"Denies the begin_background_task command without any pre-configured scope.","commands":{"allow":[],"deny":["begin_background_task"]}},"deny-bg-download-allow-metered":{"identifier":"deny-bg-download-allow-metered","description":"Denies the bg_download_allow_metered command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_allow_metered"]}},"deny-bg-download-cancel":{"identifier":"deny-bg-download-cancel","description":"Denies the bg_download_cancel command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_cancel"]}},"deny-bg-download-forget":{"identifier":"deny-bg-download-forget","description":"Denies the bg_download_forget command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_forget"]}},"deny-bg-download-limit":{"identifier":"deny-bg-download-limit","description":"Denies the bg_download_limit command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_limit"]}},"deny-bg-download-list":{"identifier":"deny-bg-download-list","description":"Denies the bg_download_list command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_list"]}},"deny-bg-download-network-rule":{"identifier":"deny-bg-download-network-rule","description":"Denies the bg_download_network_rule command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_network_rule"]}},"deny-bg-download-pause":{"identifier":"deny-bg-download-pause","description":"Denies the bg_download_pause command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_pause"]}},"deny-bg-download-resume":{"identifier":"deny-bg-download-resume","description":"Denies the bg_download_resume command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_resume"]}},"deny-bg-download-start":{"identifier":"deny-bg-download-start","description":"Denies the bg_download_start command without any pre-configured scope.","commands":{"allow":[],"deny":["bg_download_start"]}},"deny-clipboard-read-text":{"identifier":"deny-clipboard-read-text","description":"Denies the clipboard_read_text command without any pre-configured scope.","commands":{"allow":[],"deny":["clipboard_read_text"]}},"deny-clipboard-write-text":{"identifier":"deny-clipboard-write-text","description":"Denies the clipboard_write_text command without any pre-configured scope.","commands":{"allow":[],"deny":["clipboard_write_text"]}},"deny-connection-info":{"identifier":"deny-connection-info","description":"Denies the connection_info command without any pre-configured scope.","commands":{"allow":[],"deny":["connection_info"]}},"deny-delete-temp-file":{"identifier":"deny-delete-temp-file","description":"Denies the delete_temp_file command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_temp_file"]}},"deny-device-info":{"identifier":"deny-device-info","description":"Denies the device_info command without any pre-configured scope.","commands":{"allow":[],"deny":["device_info"]}},"deny-download-to-temp":{"identifier":"deny-download-to-temp","description":"Denies the download_to_temp command without any pre-configured scope.","commands":{"allow":[],"deny":["download_to_temp"]}},"deny-end-background-task":{"identifier":"deny-end-background-task","description":"Denies the end_background_task command without any pre-configured scope.","commands":{"allow":[],"deny":["end_background_task"]}},"deny-haptic":{"identifier":"deny-haptic","description":"Denies the haptic command without any pre-configured scope.","commands":{"allow":[],"deny":["haptic"]}},"deny-iap-finish":{"identifier":"deny-iap-finish","description":"Denies the iap_finish command without any pre-configured scope.","commands":{"allow":[],"deny":["iap_finish"]}},"deny-iap-products":{"identifier":"deny-iap-products","description":"Denies the iap_products command without any pre-configured scope.","commands":{"allow":[],"deny":["iap_products"]}},"deny-iap-purchase":{"identifier":"deny-iap-purchase","description":"Denies the iap_purchase command without any pre-configured scope.","commands":{"allow":[],"deny":["iap_purchase"]}},"deny-iap-unfinished":{"identifier":"deny-iap-unfinished","description":"Denies the iap_unfinished command without any pre-configured scope.","commands":{"allow":[],"deny":["iap_unfinished"]}},"deny-import-model-cancel":{"identifier":"deny-import-model-cancel","description":"Denies the import_model_cancel command without any pre-configured scope.","commands":{"allow":[],"deny":["import_model_cancel"]}},"deny-import-model-document":{"identifier":"deny-import-model-document","description":"Denies the import_model_document command without any pre-configured scope.","commands":{"allow":[],"deny":["import_model_document"]}},"deny-local-notify":{"identifier":"deny-local-notify","description":"Denies the local_notify command without any pre-configured scope.","commands":{"allow":[],"deny":["local_notify"]}},"deny-open-external":{"identifier":"deny-open-external","description":"Denies the open_external command without any pre-configured scope.","commands":{"allow":[],"deny":["open_external"]}},"deny-open-system-settings":{"identifier":"deny-open-system-settings","description":"Denies the open_system_settings command without any pre-configured scope.","commands":{"allow":[],"deny":["open_system_settings"]}},"deny-pending-deep-link":{"identifier":"deny-pending-deep-link","description":"Denies the pending_deep_link command without any pre-configured scope.","commands":{"allow":[],"deny":["pending_deep_link"]}},"deny-pick-documents":{"identifier":"deny-pick-documents","description":"Denies the pick_documents command without any pre-configured scope.","commands":{"allow":[],"deny":["pick_documents"]}},"deny-read-temp-file":{"identifier":"deny-read-temp-file","description":"Denies the read_temp_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_temp_file"]}},"deny-remote-client-cancel":{"identifier":"deny-remote-client-cancel","description":"Denies the remote_client_cancel command without any pre-configured scope.","commands":{"allow":[],"deny":["remote_client_cancel"]}},"deny-remote-client-request":{"identifier":"deny-remote-client-request","description":"Denies the remote_client_request command without any pre-configured scope.","commands":{"allow":[],"deny":["remote_client_request"]}},"deny-remote-notify-permission":{"identifier":"deny-remote-notify-permission","description":"Denies the remote_notify_permission command without any pre-configured scope.","commands":{"allow":[],"deny":["remote_notify_permission"]}},"deny-remote-watch":{"identifier":"deny-remote-watch","description":"Denies the remote_watch command without any pre-configured scope.","commands":{"allow":[],"deny":["remote_watch"]}},"deny-request-notification-permission":{"identifier":"deny-request-notification-permission","description":"Denies the request_notification_permission command without any pre-configured scope.","commands":{"allow":[],"deny":["request_notification_permission"]}},"deny-save-to-files":{"identifier":"deny-save-to-files","description":"Denies the save_to_files command without any pre-configured scope.","commands":{"allow":[],"deny":["save_to_files"]}},"deny-save-to-photos":{"identifier":"deny-save-to-photos","description":"Denies the save_to_photos command without any pre-configured scope.","commands":{"allow":[],"deny":["save_to_photos"]}},"deny-scan-qr":{"identifier":"deny-scan-qr","description":"Denies the scan_qr command without any pre-configured scope.","commands":{"allow":[],"deny":["scan_qr"]}},"deny-set-system-bars":{"identifier":"deny-set-system-bars","description":"Denies the set_system_bars command without any pre-configured scope.","commands":{"allow":[],"deny":["set_system_bars"]}},"deny-share-file":{"identifier":"deny-share-file","description":"Denies the share_file command without any pre-configured scope.","commands":{"allow":[],"deny":["share_file"]}},"deny-simulate-memory-warning":{"identifier":"deny-simulate-memory-warning","description":"Denies the simulate_memory_warning command without any pre-configured scope.","commands":{"allow":[],"deny":["simulate_memory_warning"]}},"deny-transcode-image":{"identifier":"deny-transcode-image","description":"Denies the transcode_image command without any pre-configured scope.","commands":{"allow":[],"deny":["transcode_image"]}},"deny-tts-speak":{"identifier":"deny-tts-speak","description":"Denies the tts_speak command without any pre-configured scope.","commands":{"allow":[],"deny":["tts_speak"]}},"deny-tts-stop":{"identifier":"deny-tts-stop","description":"Denies the tts_stop command without any pre-configured scope.","commands":{"allow":[],"deny":["tts_stop"]}},"deny-tts-voices":{"identifier":"deny-tts-voices","description":"Denies the tts_voices command without any pre-configured scope.","commands":{"allow":[],"deny":["tts_voices"]}},"deny-web-auth":{"identifier":"deny-web-auth","description":"Denies the web_auth command without any pre-configured scope.","commands":{"allow":[],"deny":["web_auth"]}},"deny-write-temp-file":{"identifier":"deny-write-temp-file","description":"Denies the write_temp_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_temp_file"]}}},"permission_sets":{},"global_scope_schema":null},"shell":{"default_permission":{"identifier":"default","description":"This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n","permissions":["allow-open"]},"permissions":{"allow-execute":{"identifier":"allow-execute","description":"Enables the execute command without any pre-configured scope.","commands":{"allow":["execute"],"deny":[]}},"allow-kill":{"identifier":"allow-kill","description":"Enables the kill command without any pre-configured scope.","commands":{"allow":["kill"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-spawn":{"identifier":"allow-spawn","description":"Enables the spawn command without any pre-configured scope.","commands":{"allow":["spawn"],"deny":[]}},"allow-stdin-write":{"identifier":"allow-stdin-write","description":"Enables the stdin_write command without any pre-configured scope.","commands":{"allow":["stdin_write"],"deny":[]}},"deny-execute":{"identifier":"deny-execute","description":"Denies the execute command without any pre-configured scope.","commands":{"allow":[],"deny":["execute"]}},"deny-kill":{"identifier":"deny-kill","description":"Denies the kill command without any pre-configured scope.","commands":{"allow":[],"deny":["kill"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-spawn":{"identifier":"deny-spawn","description":"Denies the spawn command without any pre-configured scope.","commands":{"allow":[],"deny":["spawn"]}},"deny-stdin-write":{"identifier":"deny-stdin-write","description":"Denies the stdin_write command without any pre-configured scope.","commands":{"allow":[],"deny":["stdin_write"]}}},"permission_sets":{},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"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"}},"required":["cmd","name"],"type":"object"},{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"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"}},"required":["name","sidecar"],"type":"object"}],"definitions":{"ShellScopeEntryAllowedArg":{"anyOf":[{"description":"A non-configurable argument that is passed to the command in the order it was specified.","type":"string"},{"additionalProperties":false,"description":"A variable that is set while calling the command from the webview API.","properties":{"raw":{"default":false,"description":"Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.","type":"boolean"},"validator":{"description":"[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: <https://docs.rs/regex/latest/regex/#syntax>","type":"string"}},"required":["validator"],"type":"object"}],"description":"A command argument allowed to be executed by the webview API."},"ShellScopeEntryAllowedArgs":{"anyOf":[{"description":"Use a simple boolean to allow all or disable all arguments to this command configuration.","type":"boolean"},{"description":"A specific set of [`ShellScopeEntryAllowedArg`] that are valid to call for the command configuration.","items":{"$ref":"#/definitions/ShellScopeEntryAllowedArg"},"type":"array"}],"description":"A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellScopeEntryAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration."}},"description":"Shell scope entry.","title":"ShellScopeEntry"}},"updater":{"default_permission":{"identifier":"default","description":"This permission set configures which kind of\nupdater functions are exposed to the frontend.\n\n#### Granted Permissions\n\nThe full workflow from checking for updates to installing them\nis enabled.\n\n","permissions":["allow-check","allow-download","allow-install","allow-download-and-install"]},"permissions":{"allow-check":{"identifier":"allow-check","description":"Enables the check command without any pre-configured scope.","commands":{"allow":["check"],"deny":[]}},"allow-download":{"identifier":"allow-download","description":"Enables the download command without any pre-configured scope.","commands":{"allow":["download"],"deny":[]}},"allow-download-and-install":{"identifier":"allow-download-and-install","description":"Enables the download_and_install command without any pre-configured scope.","commands":{"allow":["download_and_install"],"deny":[]}},"allow-install":{"identifier":"allow-install","description":"Enables the install command without any pre-configured scope.","commands":{"allow":["install"],"deny":[]}},"deny-check":{"identifier":"deny-check","description":"Denies the check command without any pre-configured scope.","commands":{"allow":[],"deny":["check"]}},"deny-download":{"identifier":"deny-download","description":"Denies the download command without any pre-configured scope.","commands":{"allow":[],"deny":["download"]}},"deny-download-and-install":{"identifier":"deny-download-and-install","description":"Denies the download_and_install command without any pre-configured scope.","commands":{"allow":[],"deny":["download_and_install"]}},"deny-install":{"identifier":"deny-install","description":"Denies the install command without any pre-configured scope.","commands":{"allow":[],"deny":["install"]}}},"permission_sets":{},"global_scope_schema":null}}\ No newline at end of filediff --git a/src-tauri/gen/schemas/desktop-schema.json b/src-tauri/gen/schemas/desktop-schema.jsonindex 117a59c8..ac0bc169 100644--- a/src-tauri/gen/schemas/desktop-schema.json+++ b/src-tauri/gen/schemas/desktop-schema.json@@ -2354,6 +2354,60 @@"const": "core:window:deny-unminimize","markdownDescription": "Denies the unminimize command without any pre-configured scope."},+ {+ "description": "Allows reading the opened deep link via the get_current command\n#### This default permission set includes:\n\n- `allow-get-current`",+ "type": "string",+ "const": "deep-link:default",+ "markdownDescription": "Allows reading the opened deep link via the get_current command\n#### This default permission set includes:\n\n- `allow-get-current`"+ },+ {+ "description": "Enables the get_current command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:allow-get-current",+ "markdownDescription": "Enables the get_current command without any pre-configured scope."+ },+ {+ "description": "Enables the is_registered command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:allow-is-registered",+ "markdownDescription": "Enables the is_registered command without any pre-configured scope."+ },+ {+ "description": "Enables the register command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:allow-register",+ "markdownDescription": "Enables the register command without any pre-configured scope."+ },+ {+ "description": "Enables the unregister command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:allow-unregister",+ "markdownDescription": "Enables the unregister command without any pre-configured scope."+ },+ {+ "description": "Denies the get_current command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:deny-get-current",+ "markdownDescription": "Denies the get_current command without any pre-configured scope."+ },+ {+ "description": "Denies the is_registered command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:deny-is-registered",+ "markdownDescription": "Denies the is_registered command without any pre-configured scope."+ },+ {+ "description": "Denies the register command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:deny-register",+ "markdownDescription": "Denies the register command without any pre-configured scope."+ },+ {+ "description": "Denies the unregister command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:deny-unregister",+ "markdownDescription": "Denies the unregister command without any pre-configured scope."+ },{"description": "No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is\napplication specific if specific shortcuts should be\nregistered or unregistered.\n","type": "string",diff --git a/src-tauri/gen/schemas/macOS-schema.json b/src-tauri/gen/schemas/macOS-schema.jsonindex 117a59c8..ac0bc169 100644--- a/src-tauri/gen/schemas/macOS-schema.json+++ b/src-tauri/gen/schemas/macOS-schema.json@@ -2354,6 +2354,60 @@"const": "core:window:deny-unminimize","markdownDescription": "Denies the unminimize command without any pre-configured scope."},+ {+ "description": "Allows reading the opened deep link via the get_current command\n#### This default permission set includes:\n\n- `allow-get-current`",+ "type": "string",+ "const": "deep-link:default",+ "markdownDescription": "Allows reading the opened deep link via the get_current command\n#### This default permission set includes:\n\n- `allow-get-current`"+ },+ {+ "description": "Enables the get_current command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:allow-get-current",+ "markdownDescription": "Enables the get_current command without any pre-configured scope."+ },+ {+ "description": "Enables the is_registered command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:allow-is-registered",+ "markdownDescription": "Enables the is_registered command without any pre-configured scope."+ },+ {+ "description": "Enables the register command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:allow-register",+ "markdownDescription": "Enables the register command without any pre-configured scope."+ },+ {+ "description": "Enables the unregister command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:allow-unregister",+ "markdownDescription": "Enables the unregister command without any pre-configured scope."+ },+ {+ "description": "Denies the get_current command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:deny-get-current",+ "markdownDescription": "Denies the get_current command without any pre-configured scope."+ },+ {+ "description": "Denies the is_registered command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:deny-is-registered",+ "markdownDescription": "Denies the is_registered command without any pre-configured scope."+ },+ {+ "description": "Denies the register command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:deny-register",+ "markdownDescription": "Denies the register command without any pre-configured scope."+ },+ {+ "description": "Denies the unregister command without any pre-configured scope.",+ "type": "string",+ "const": "deep-link:deny-unregister",+ "markdownDescription": "Denies the unregister command without any pre-configured scope."+ },{"description": "No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is\napplication specific if specific shortcuts should be\nregistered or unregistered.\n","type": "string",diff --git a/src-tauri/src/hf_link.rs b/src-tauri/src/hf_link.rsnew file mode 100644index 00000000..4e8f7325--- /dev/null+++ b/src-tauri/src/hf_link.rs@@ -0,0 +1,365 @@+//! `locallyuncensored://open-model?repo=<owner/name>&file=<path.gguf>`: the+//! link behind Hugging Face's "Use this model" button (B17, 3.0.9).+//!+//! A link is something any web page can fire at the app, so nothing here+//! trusts it. The link carries a repository id and a file path and nothing+//! else; the address the file comes from is built by the app itself and is+//! always huggingface.co. Every part is checked against the rules Hugging Face+//! itself enforces for repository names, the file has to be a `.gguf`, and an+//! unknown or repeated parameter rejects the whole link. A link that passes+//! starts nothing: it lands in an inbox, the page takes it out and asks the+//! user before a single byte is downloaded (DiscoverModels, HfLinkDialog).+//!+//! The webview gets no permission of the deep-link plugin. It reads the inbox+//! through `hf_link_take` and nothing else.++use serde::Serialize;+use std::sync::Mutex;++/// The scheme registered with the system (tauri.<platform>.conf.json).+pub const SCHEME: &str = "locallyuncensored";+/// The one action a link can name.+const ACTION: &str = "open-model";+/// Longer than any real link: two names of at most 96 characters and a path.+const MAX_LINK_LEN: usize = 2048;+const MAX_FILE_LEN: usize = 255;+const MAX_FILE_DEPTH: usize = 8;++/// What a link asks for, after every check passed.+#[derive(Debug, Clone, PartialEq, Eq, Serialize)]+#[serde(rename_all = "camelCase")]+pub struct HfModelLink {+ /// `owner/name` of a model repository on huggingface.co.+ pub repo: String,+ /// Path of a `.gguf` inside it. None when the button was pressed without a+ /// file picked: the page then lists the repository's GGUF files.+ pub file: Option<String>,+}++/// What the page finds in the inbox.+#[derive(Debug, Clone, PartialEq, Eq, Serialize)]+#[serde(tag = "kind", rename_all = "camelCase")]+pub enum Inbound {+ Model(HfModelLink),+ /// A link with our scheme that failed a check. The page says so instead+ /// of the click going nowhere; the reason never echoes the link itself.+ Rejected { reason: String },+}++#[derive(Default)]+pub struct HfLinkInbox(pub Mutex<Option<Inbound>>);++/// Hugging Face's rule for a repository name and for its owner: letters,+/// digits, `-`, `_`, `.`; no `-` or `.` at either end; no `--` or `..`; at+/// most 96 characters.+fn valid_name_part(s: &str) -> bool {+ let len = s.len();+ if len == 0 || len > 96 {+ return false;+ }+ if !s.bytes().all(|b| b.is_ascii_alphanumeric() || b == b'-' || b == b'_' || b == b'.') {+ return false;+ }+ let first = s.as_bytes()[0];+ let last = s.as_bytes()[len - 1];+ if matches!(first, b'-' | b'.') || matches!(last, b'-' | b'.') {+ return false;+ }+ !s.contains("--") && !s.contains("..")+}++pub fn valid_repo_id(repo: &str) -> bool {+ let mut parts = repo.split('/');+ match (parts.next(), parts.next(), parts.next()) {+ (Some(owner), Some(name), None) => valid_name_part(owner) && valid_name_part(name),+ _ => false,+ }+}++/// A relative path inside the repository that ends in `.gguf`. Every segment+/// is plain: no `.` or `..`, no leading dot, no backslash, no spaces or+/// control characters. The file name is all that ever reaches the disk, but a+/// path that could mean something else is refused rather than cleaned.+pub fn valid_gguf_path(path: &str) -> bool {+ if path.is_empty() || path.len() > MAX_FILE_LEN {+ return false;+ }+ if !path.to_ascii_lowercase().ends_with(".gguf") {+ return false;+ }+ let segments: Vec<&str> = path.split('/').collect();+ if segments.len() > MAX_FILE_DEPTH {+ return false;+ }+ segments.iter().all(|seg| {+ !seg.is_empty()+ && !seg.starts_with('.')+ && seg.bytes().all(|b| b.is_ascii_alphanumeric() || b == b'-' || b == b'_' || b == b'.')+ }) && path.rsplit('/').next().map(|name| name.len() > ".gguf".len()).unwrap_or(false)+}++/// Read a link. Err carries a sentence for the user.+pub fn parse(raw: &str) -> Result<HfModelLink, String> {+ if raw.len() > MAX_LINK_LEN {+ return Err("The link is too long.".into());+ }+ let url = url::Url::parse(raw).map_err(|_| "The link is not a valid address.".to_string())?;+ if url.scheme() != SCHEME {+ return Err("The link is not meant for this app.".into());+ }+ if url.host_str() != Some(ACTION) {+ return Err("The link asks for something this version cannot do.".into());+ }+ if !url.username().is_empty() || url.password().is_some() || url.port().is_some() {+ return Err("The link carries parts it must not have.".into());+ }+ if !matches!(url.path(), "" | "/") || url.fragment().is_some() {+ return Err("The link carries parts it must not have.".into());+ }+ let mut repo: Option<String> = None;+ let mut file: Option<String> = None;+ for (key, value) in url.query_pairs() {+ let slot = match key.as_ref() {+ "repo" => &mut repo,+ "file" => &mut file,+ _ => return Err("The link carries a parameter this version does not know.".into()),+ };+ if slot.is_some() {+ return Err("The link names a parameter twice.".into());+ }+ *slot = Some(value.into_owned());+ }+ let repo = repo.ok_or_else(|| "The link names no model.".to_string())?;+ if !valid_repo_id(&repo) {+ return Err("The link does not name a Hugging Face model repository.".into());+ }+ if let Some(f) = &file {+ if !valid_gguf_path(f) {+ return Err("The link does not name a GGUF file.".into());+ }+ }+ Ok(HfModelLink { repo, file })+}++/// One link from the system: checked, put in the inbox (a newer link replaces+/// an older one nobody took yet), the page told, the window brought forward.+#[cfg(desktop)]+pub fn accept(app: &tauri::AppHandle, raw: &str) {+ use tauri::{Emitter, Manager};+ let inbound = match parse(raw) {+ Ok(link) => {+ tracing::info!(repo = %link.repo, file = ?link.file, "Hugging Face link received");+ Inbound::Model(link)+ }+ Err(reason) => {+ // The link itself stays out of the log: it is whatever a page+ // chose to send.+ tracing::warn!(%reason, "Hugging Face link rejected");+ Inbound::Rejected { reason }+ }+ };+ if let Some(inbox) = app.try_state::<HfLinkInbox>() {+ *inbox.0.lock().unwrap_or_else(|e| e.into_inner()) = Some(inbound);+ }+ let _ = app.emit("hf-link", ());+ crate::onboarding_window::bring_to_front(app);+}++/// Wire the plugin to the inbox: the link that started the app (Windows and+/// Linux read it from the command line) and every later one (a second start+/// on Windows and Linux, handed over by single-instance; the Opened event on+/// the Mac, also for the link that started it).+#[cfg(desktop)]+pub fn setup(app: &tauri::AppHandle) {+ use tauri::Manager;+ use tauri_plugin_deep_link::DeepLinkExt;+ app.manage(HfLinkInbox::default());+ // An AppImage is not installed by a package manager, so nobody wrote the+ // scheme's handler. The plugin writes the .desktop entry the bundler+ // writes for .deb and .rpm.+ #[cfg(target_os = "linux")]+ if std::env::var_os("APPIMAGE").is_some() {+ if let Err(e) = app.deep_link().register_all() {+ tracing::warn!(error = %e, "could not register the link scheme of this app");+ }+ }+ let handle = app.clone();+ app.deep_link().on_open_url(move |event| {+ for url in event.urls() {+ accept(&handle, url.as_str());+ }+ });+ if let Ok(Some(urls)) = app.deep_link().get_current() {+ for url in urls {+ accept(app, url.as_str());+ }+ }+}++/// The page takes the waiting link, once.+#[tauri::command]+pub fn hf_link_take(inbox: tauri::State<'_, HfLinkInbox>) -> Option<Inbound> {+ inbox.0.lock().unwrap_or_else(|e| e.into_inner()).take()+}++#[cfg(test)]+mod tests {+ use super::*;++ fn ok(raw: &str) -> HfModelLink {+ parse(raw).unwrap_or_else(|e| panic!("{raw}: {e}"))+ }++ #[test]+ fn reads_a_link_with_and_without_file() {+ assert_eq!(+ ok("locallyuncensored://open-model?repo=bartowski/Qwen2.5-0.5B-Instruct-GGUF&file=Qwen2.5-0.5B-Instruct-Q4_K_M.gguf"),+ HfModelLink {+ repo: "bartowski/Qwen2.5-0.5B-Instruct-GGUF".into(),+ file: Some("Qwen2.5-0.5B-Instruct-Q4_K_M.gguf".into()),+ }+ );+ assert_eq!(ok("locallyuncensored://open-model/?repo=a/b").file, None);+ assert_eq!(ok("locallyuncensored://open-model?repo=unsloth/x&file=Q4_K_M/x-Q4_K_M-00001-of-00002.gguf").file.as_deref(), Some("Q4_K_M/x-Q4_K_M-00001-of-00002.gguf"));+ // Encoded slashes are what URLSearchParams writes.+ assert_eq!(ok("locallyuncensored://open-model?repo=a%2Fb&file=dir%2Fm.GGUF").file.as_deref(), Some("dir/m.GGUF"));+ }++ #[test]+ fn refuses_other_schemes_actions_and_url_parts() {+ for raw in [+ "https://open-model?repo=a/b",+ "lu://open-model?repo=a/b",+ "locallyuncensored://run?repo=a/b",+ "locallyuncensored://open-model.evil.com?repo=a/b",+ "locallyuncensored://user:pw@open-model?repo=a/b",+ "locallyuncensored://open-model:8080?repo=a/b",+ "locallyuncensored://open-model/etc/passwd?repo=a/b",+ "locallyuncensored://open-model?repo=a/b#frag",+ "locallyuncensored:open-model?repo=a/b",+ "not a url",+ "",+ ] {+ assert!(parse(raw).is_err(), "accepted {raw}");+ }+ }++ #[test]+ fn refuses_unknown_repeated_and_missing_parameters() {+ for raw in [+ "locallyuncensored://open-model",+ "locallyuncensored://open-model?file=m.gguf",+ "locallyuncensored://open-model?repo=a/b&repo=c/d",+ "locallyuncensored://open-model?repo=a/b&file=m.gguf&file=n.gguf",+ "locallyuncensored://open-model?repo=a/b&url=https://evil.example/m.gguf",+ "locallyuncensored://open-model?repo=a/b&run=1",+ "locallyuncensored://open-model?repo=a/b&endpoint=https://evil.example",+ ] {+ assert!(parse(raw).is_err(), "accepted {raw}");+ }+ }++ #[test]+ fn refuses_repo_ids_hugging_face_would_refuse_or_that_point_elsewhere() {+ for repo in [+ "a",+ "a/b/c",+ "/b",+ "a/",+ "../b",+ "a/..",+ "a/b..c",+ "a--x/b",+ "-a/b",+ "a/b-",+ ".a/b",+ "a/b.",+ "a b/c",+ "a/b%00",+ "a/b%0A",+ "a\\b/c",+ "https://evil.example/a/b",+ "evil.example%2Fa/b",+ "a/b?x=1",+ "a/%E2%80%AEb",+ ] {+ let raw = format!("locallyuncensored://open-model?repo={repo}");+ assert!(parse(&raw).is_err(), "accepted repo {repo}");+ }+ let long = "a".repeat(97);+ assert!(parse(&format!("locallyuncensored://open-model?repo={long}/b")).is_err());+ assert!(parse(&format!("locallyuncensored://open-model?repo={}/b", "a".repeat(96))).is_ok());+ }++ #[test]+ fn refuses_files_that_are_not_plain_gguf_paths() {+ for file in [+ "model.bin",+ "model.safetensors",+ "model.gguf.exe",+ "model.gguf%00.exe",+ "model.exe%00.gguf",+ ".gguf",+ "dir/.gguf",+ "../model.gguf",+ "dir/../../model.gguf",+ "./model.gguf",+ "/model.gguf",+ "dir//model.gguf",+ ".hidden.gguf",+ "dir\\model.gguf",+ "C:%5Cmodel.gguf",+ "%2Fetc%2Fmodel.gguf",+ "model%0A.gguf",+ "my model.gguf",+ "my+model.gguf",+ "mod%C3%A9l.gguf",+ "a/b/c/d/e/f/g/h/i.gguf",+ ] {+ let raw = format!("locallyuncensored://open-model?repo=a/b&file={file}");+ assert!(parse(&raw).is_err(), "accepted file {file}");+ }+ assert!(parse(&format!("locallyuncensored://open-model?repo=a/b&file={}.gguf", "m".repeat(250))).is_ok());+ assert!(parse(&format!("locallyuncensored://open-model?repo=a/b&file={}.gguf", "m".repeat(251))).is_err());+ assert!(parse(&format!("locallyuncensored://open-model?repo=a/b&file={}", "m".repeat(3000))).is_err());+ }++ #[test]+ fn a_rejection_never_echoes_the_link() {+ let raw = "locallyuncensored://open-model?repo=<script>alert(1)</script>/b";+ let reason = parse(raw).unwrap_err();+ assert!(!reason.contains("script"), "{reason}");+ }++ #[test]+ fn the_inbox_hands_a_link_out_once() {+ let inbox = HfLinkInbox::default();+ *inbox.0.lock().unwrap() = Some(Inbound::Model(ok("locallyuncensored://open-model?repo=a/b")));+ assert!(inbox.0.lock().unwrap().take().is_some());+ assert!(inbox.0.lock().unwrap().take().is_none());+ }++ #[test]+ fn the_page_reads_the_shape_it_expects() {+ let model = Inbound::Model(ok("locallyuncensored://open-model?repo=a/b&file=m.gguf"));+ assert_eq!(+ serde_json::to_value(model).unwrap(),+ serde_json::json!({ "kind": "model", "repo": "a/b", "file": "m.gguf" })+ );+ let rejected = Inbound::Rejected { reason: "x".into() };+ assert_eq!(serde_json::to_value(rejected).unwrap(), serde_json::json!({ "kind": "rejected", "reason": "x" }));+ }++ /// The scheme the code answers to is the scheme the bundles register.+ #[test]+ fn every_desktop_config_registers_the_scheme() {+ for conf in [+ include_str!("../tauri.macos.conf.json"),+ include_str!("../tauri.windows.conf.json"),+ include_str!("../tauri.linux.conf.json"),+ ] {+ let v: serde_json::Value = serde_json::from_str(conf).unwrap();+ assert_eq!(v["plugins"]["deep-link"]["desktop"]["schemes"], serde_json::json!([SCHEME]));+ }+ }+}diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rsindex 83f5d4ed..559612c4 100644--- a/src-tauri/src/lib.rs+++ b/src-tauri/src/lib.rs@@ -23,6 +23,8 @@ mod commands;mod crash_report;mod disk;mod finder_path;+#[cfg(desktop)]+mod hf_link;mod host_kind;mod install_state;mod media_store;@@ -628,12 +630,12 @@ pub fn run() {// phone), before the page runs. The page decides by it which interface// loads, instead of guessing from the navigator (host_kind.rs).let builder = builder.plugin(host_kind::plugin());- // The native layer of the phones (plugins/lu-native) and the links that- // open the app: lu://oauth/callback and lu://remote.+ // The native layer of the phones (plugins/lu-native).#[cfg(mobile)]- let builder = builder- .plugin(tauri_plugin_lu_native::init())- .plugin(tauri_plugin_deep_link::init());+ let builder = builder.plugin(tauri_plugin_lu_native::init());+ // The links that open the app: lu://oauth/callback and lu://remote on a+ // phone, locallyuncensored://open-model on the desktop (hf_link.rs).+ let builder = builder.plugin(tauri_plugin_deep_link::init());// Updates of a phone app come through the store.#[cfg(desktop)]let builder = builder.plugin(tauri_plugin_updater::Builder::new().build());@@ -658,6 +660,9 @@ pub fn run() {// commands/mobile_guard.rs), on the desktop it does nothing..mobile_guard().invoke_handler(tauri::generate_handler![+ // Hugging Face "Use this model": the page takes the waiting link+ #[cfg(desktop)]+ hf_link::hf_link_take,// LU Cloud OAuth loopback (Google/GitHub via system browser)commands::oauth::oauth_start,commands::oauth::oauth_wait,@@ -1272,6 +1277,11 @@ pub fn run() {#[cfg(desktop)]media_store::settle_at_start(&app.state::<AppState>());+ // locallyuncensored://open-model: the link that started the app+ // and every later one go to the inbox the page reads (hf_link.rs).+ #[cfg(desktop)]+ hf_link::setup(app.handle());+// Remove Windows DWM shadow/border (the 1mm border around the window)#[cfg(target_os = "windows")]if let Some(window) = app.get_webview_window("main") {diff --git a/src-tauri/tauri.linux.conf.json b/src-tauri/tauri.linux.conf.jsonindex 5d0b6a17..93c56336 100644--- a/src-tauri/tauri.linux.conf.json+++ b/src-tauri/tauri.linux.conf.json@@ -28,5 +28,14 @@"resources/abliterate/requirements.txt": "resources/abliterate/requirements.txt","resources/abliterate/constraints.txt": "resources/abliterate/constraints.txt"}+ },+ "plugins": {+ "deep-link": {+ "desktop": {+ "schemes": [+ "locallyuncensored"+ ]+ }+ }}}diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.jsonindex d5c7a1b3..2b00fe16 100644--- a/src-tauri/tauri.macos.conf.json+++ b/src-tauri/tauri.macos.conf.json@@ -25,5 +25,14 @@"macOS": {"minimumSystemVersion": "14.0"}+ },+ "plugins": {+ "deep-link": {+ "desktop": {+ "schemes": [+ "locallyuncensored"+ ]+ }+ }}}diff --git a/src-tauri/tauri.windows.conf.json b/src-tauri/tauri.windows.conf.jsonindex d41a3126..360ebb3c 100644--- a/src-tauri/tauri.windows.conf.json+++ b/src-tauri/tauri.windows.conf.json@@ -28,5 +28,14 @@"resources/abliterate/requirements.txt": "resources/abliterate/requirements.txt","resources/abliterate/constraints.txt": "resources/abliterate/constraints.txt"}+ },+ "plugins": {+ "deep-link": {+ "desktop": {+ "schemes": [+ "locallyuncensored"+ ]+ }+ }}}diff --git a/src/components/layout/AppShell.tsx b/src/components/layout/AppShell.tsxindex f6faa392..f792848e 100644--- a/src/components/layout/AppShell.tsx+++ b/src/components/layout/AppShell.tsx@@ -64,6 +64,7 @@ import { RenderFixupModal } from '../create/experimental/RenderFixupModal'import { CommandPalette } from '../ui/CommandPalette'import { CreditsExhaustedModal } from './CreditsExhaustedModal'import { Titlebar } from './Titlebar'+import { HfLinkInbox } from '../models/HfLinkInbox'// Aus der Komponente herausgezogen: `new Set(STORE_KEYS)` entstand bei jedem// Render neu und war damit die instabile Referenz, wegen der der Restore-Effekt@@ -1197,6 +1198,7 @@ export function AppShell() {<ReleaseNotesModal /><ShortcutsModal /><RemotePairPrompt />+ <HfLinkInbox /><RemoteSigninPrompt /><PhoneContinuedBar />{/* Cmd/Ctrl+K. Hoert auf `lu-command-palette`, genau wie diediff --git a/src/components/models/DiscoverModels.tsx b/src/components/models/DiscoverModels.tsxindex 8aaa295c..8dca853d 100644--- a/src/components/models/DiscoverModels.tsx+++ b/src/components/models/DiscoverModels.tsx@@ -47,6 +47,8 @@ import { HINWEIS_TEXT } from '../../lib/hinweis'import { Modal } from '../ui/Modal'import { ModalActions, ModalButton } from '../ui/ModalActions'import { countLabel } from '../../lib/formatters'+import { useHfLinkStore } from '../../stores/hfLinkStore'+import { HfLinkDialog } from './HfLinkDialog'import type { ModelCategory } from '../../types/models'import { log } from '../../lib/logger'import { groupModels, pickDefaultVariant, computeFit, modelFootprintGb } from './ModelTiles'@@ -252,6 +254,10 @@ export function DiscoverModels({ category, search = '', searchSubmitToken = 0 }:// backends and a bare name for Ollama.const activeChatModel = useModelStore(s => s.activeModel)const [hfModelPath, setHfModelPath] = useState<string | null>(null)+ // A locallyuncensored://open-model link waiting for its question (HfLinkInbox).+ const hfLink = useHfLinkStore(s => s.pending)+ const hfNeedsLocal = useHfLinkStore(s => s.needsLocal)+ const clearHfLink = useHfLinkStore(s => s.clear)const { pullModel, models: installedModels, fetchModels, setActiveModel } = useModels()// Refresh installed-model list on mount + when category switches to text@@ -682,7 +688,9 @@ export function DiscoverModels({ category, search = '', searchSubmitToken = 0 }:return `Download failed: ${msg}`}- const handleTextDownload = async (model: DiscoverModel) => {+ // `confirmed`: the user already said yes to the size and the parts in the+ // Hugging Face link dialog, so a split set starts without a second question.+ const handleTextDownload = async (model: DiscoverModel, opts: { confirmed?: boolean } = {}) => {// Bug Y/a v2.5.0 — a user Discord. Pre-v2.5.0 we picked the// download backend by "whichever is enabled" with LM Studio winning when// both were on. That decoupled the download path from the active chat@@ -777,6 +785,11 @@ export function DiscoverModels({ category, search = '', searchSubmitToken = 0 }:// built-in engine as the target the parts land in the app's own flat// models dir and the Rust scan collapses the set, so the note would lie.const ollamaCantLoad = isActiveOllama || (!isActiveBuiltin && !isActiveLmStudio && !lmStudioEnabled && ollamaEnabledNow)+ if (opts.confirmed) {+ const part = imagePartFor(model, resolution)+ await startDirectDownload(resolution.files, targetDir, model.name, wantsImagePart(model) ? part : null)+ return+ }setConfirmDownload({model,name: model.name,@@ -1295,6 +1308,21 @@ export function DiscoverModels({ category, search = '', searchSubmitToken = 0 }:}}/>+ {hfLink && !hfNeedsLocal && category === 'text' && (+ <HfLinkDialog+ key={`${hfLink.repo}|${hfLink.file ?? ''}`}+ link={hfLink}+ onCancel={clearHfLink}+ onConfirm={(model) => {+ clearHfLink()+ handleTextDownload(model, { confirmed: true }).catch((e) => {+ log.error('Hugging Face link download failed', { err: e })+ setInstallError(`Download failed: ${e instanceof Error ? e.message : String(e)}`)+ })+ }}+ />+ )}+<Modal open={!!confirmDownload} onClose={() => setConfirmDownload(null)} title="Download split model">{confirmDownload && (<div className="space-y-3">diff --git a/src/components/models/HfLinkDialog.tsx b/src/components/models/HfLinkDialog.tsxnew file mode 100644index 00000000..e312b419--- /dev/null+++ b/src/components/models/HfLinkDialog.tsx@@ -0,0 +1,141 @@+import { useEffect, useState } from 'react'+import { fetchExternal } from '../../api/backend'+import { selectGgufFromTree, type HfTreeEntry } from '../../api/discover'+import type { DiscoverModel } from '../../api/model-bundles'+import {+ choiceForFile, defaultChoice, ggufChoicesFromTree, hfRepoPage, hfTreeApi, linkModel, sizeLabel,+ type HfLinkChoice, type HfModelLink,+} from '../../lib/hf-link'+import { log } from '../../lib/logger'+import { Modal } from '../ui/Modal'+import { ModalActions, ModalButton } from '../ui/ModalActions'+import { useArmedAfter } from '../remote/RemotePairPrompt'++type Load =+ | { state: 'loading' }+ | { state: 'failed'; message: string }+ | { state: 'ready'; entries: HfTreeEntry[]; choices: HfLinkChoice[] }++interface Props {+ link: HfModelLink+ onCancel: () => void+ /** The user said yes. The entry goes through the same download as a card. */+ onConfirm: (model: DiscoverModel) => void+}++/**+ * The question a `locallyuncensored://open-model` link asks in Models,+ * Discover: this repository, this file, this size, download? Nothing starts+ * before the button, and the button waits a second after the question+ * changes, so a link fired while the user was clicking elsewhere cannot catch+ * that click.+ */+export function HfLinkDialog({ link, onCancel, onConfirm }: Props) {+ const [load, setLoad] = useState<Load>({ state: 'loading' })+ const [picked, setPicked] = useState<string | null>(null)++ useEffect(() => {+ // A new link remounts the dialog (DiscoverModels keys it by the link),+ // so the state starts at loading without a reset here.+ let gone = false+ void (async () => {+ try {+ const entries = JSON.parse(await fetchExternal(hfTreeApi(link.repo))) as unknown+ if (gone) return+ if (!Array.isArray(entries)) {+ setLoad({ state: 'failed', message: 'Hugging Face has no public model repository under this name.' })+ return+ }+ const choices = ggufChoicesFromTree(entries)+ if (choices.length === 0) {+ setLoad({ state: 'failed', message: 'This repository has no GGUF model file. Locally Uncensored runs GGUF models.' })+ return+ }+ const named = link.file ? choiceForFile(choices, link.file) : defaultChoice(choices)+ if (!named) {+ setLoad({ state: 'failed', message: 'The repository has no model file under the name the link gives.' })+ return+ }+ setPicked(named.path)+ setLoad({ state: 'ready', entries: entries as HfTreeEntry[], choices })+ } catch (e) {+ log.warn('[hf-link] repository tree failed', { repo: link.repo, err: e })+ if (!gone) setLoad({ state: 'failed', message: 'Hugging Face could not be reached, or the repository is private or gated.' })+ }+ })()+ return () => { gone = true }+ }, [link.repo, link.file])++ const choice = load.state === 'ready' ? load.choices.find((c) => c.path === picked) ?? null : null+ const resolution = load.state === 'ready' && choice ? selectGgufFromTree(load.entries, link.repo, undefined, choice.path) : null+ const model = resolution ? linkModel(link.repo, resolution) : null+ const armed = useArmedAfter(`${link.repo}|${link.file ?? ''}|${picked ?? ''}|${load.state}`)++ return (+ <Modal open onClose={onCancel} title="Download from Hugging Face">+ <div className="space-y-3" data-testid="hf-link-dialog">+ <p className="t-body text-gray-700 dark:text-gray-200">+ <span className="t-mono break-all font-semibold text-gray-900 dark:text-white" data-testid="hf-link-repo">{link.repo}</span>+ </p>+ {load.state === 'loading' && <p className="t-micro text-gray-500">Reading the repository…</p>}+ {load.state === 'failed' && (+ <p role="alert" className="t-body text-gray-700 dark:text-gray-200" data-testid="hf-link-failed">{load.message}</p>+ )}+ {load.state === 'ready' && (+ <>+ {link.file ? null : (+ <label className="block t-micro text-gray-500">+ File+ <select+ className="mt-1 w-full t-mono text-[0.72rem] rounded border border-gray-300 dark:border-white/15 bg-transparent p-1"+ value={picked ?? ''}+ onChange={(e) => setPicked(e.target.value)}+ data-testid="hf-link-file-select"+ >+ {load.choices.map((c) => (+ <option key={c.path} value={c.path}>+ {c.path} · {c.quant ?? 'GGUF'} · {sizeLabel(c.bytes)}{c.parts > 1 ? ` · ${c.parts} parts` : ''}+ </option>+ ))}+ </select>+ </label>+ )}+ {choice && (+ <dl className="grid grid-cols-[auto_1fr] gap-x-3 gap-y-1 t-micro" data-testid="hf-link-facts">+ <dt className="text-gray-500">File</dt>+ <dd className="t-mono break-all text-gray-800 dark:text-gray-100" data-testid="hf-link-file">{choice.path}</dd>+ <dt className="text-gray-500">Quant</dt>+ <dd className="text-gray-800 dark:text-gray-100" data-testid="hf-link-quant">{choice.quant ?? 'not in the name'}</dd>+ <dt className="text-gray-500">Size</dt>+ <dd className="text-gray-800 dark:text-gray-100" data-testid="hf-link-size">+ {sizeLabel(choice.bytes)}{choice.parts > 1 ? ` in ${choice.parts} parts` : ''}+ </dd>+ {resolution?.imagePart && (+ <>+ <dt className="text-gray-500">Image input</dt>+ <dd className="text-gray-800 dark:text-gray-100">+ comes along{resolution.imagePart.sizeBytes ? ` (${sizeLabel(resolution.imagePart.sizeBytes)})` : ''}+ </dd>+ </>+ )}+ </dl>+ )}+ <p className="t-micro text-gray-500">+ From <span className="t-mono">{hfRepoPage(link.repo)}</span>. Check the model card and its license before you use it.+ </p>+ </>+ )}+ <ModalActions>+ <ModalButton variant="quiet" onClick={onCancel}>Cancel</ModalButton>+ <ModalButton+ variant="primary"+ disabled={!model || !armed}+ onClick={() => { if (model) onConfirm(model) }}+ >+ {choice ? `Download (${sizeLabel(choice.bytes)})` : 'Download'}+ </ModalButton>+ </ModalActions>+ </div>+ </Modal>+ )+}diff --git a/src/components/models/HfLinkInbox.tsx b/src/components/models/HfLinkInbox.tsxnew file mode 100644index 00000000..f554c3ba--- /dev/null+++ b/src/components/models/HfLinkInbox.tsx@@ -0,0 +1,116 @@+import { useEffect } from 'react'+import { backendCall, isTauri } from '../../api/backend'+import { readInbound } from '../../lib/hf-link'+import { log } from '../../lib/logger'+import { useHfLinkStore } from '../../stores/hfLinkStore'+import { useModelStore } from '../../stores/modelStore'+import { useSettingsStore } from '../../stores/settingsStore'+import { useUIStore } from '../../stores/uiStore'+import { Modal } from '../ui/Modal'+import { ModalActions, ModalButton } from '../ui/ModalActions'++/** Models, Chat lane, Discover: where the dialog about the link lives. */+function openModelsForLink(): void {+ useModelStore.getState().setCategoryFilter('text')+ useUIStore.getState().setView('models')+}++/** Take what waits in the inbox (src-tauri/src/hf_link.rs) and route it. */+export async function takeHfLink(): Promise<void> {+ let raw: unknown+ try {+ raw = await backendCall('hf_link_take')+ } catch (e) {+ log.warn('[hf-link] inbox not readable', { err: e })+ return+ }+ if (raw == null) return+ const inbound = readInbound(raw)+ const store = useHfLinkStore.getState()+ if (!inbound) {+ store.reject('The link could not be read.')+ return+ }+ if (inbound.kind === 'rejected') {+ store.reject(inbound.reason)+ return+ }+ const inCloud = useSettingsStore.getState().settings.appMode === 'cloud'+ store.offer(inbound.link, inCloud)+ if (!inCloud) openModelsForLink()+}++/**+ * The receiving end of `locallyuncensored://open-model` links. Mounted once in+ * the app shell. It only routes: the question about the download itself is+ * asked in Models (HfLinkDialog). What it shows itself is the two cases that+ * never get there: a link that failed the check, and a link that arrives+ * while the app is in cloud mode, where Models does not exist.+ */+export function HfLinkInbox() {+ const rejected = useHfLinkStore((s) => s.rejected)+ const pending = useHfLinkStore((s) => s.pending)+ const needsLocal = useHfLinkStore((s) => s.needsLocal)+ const clear = useHfLinkStore((s) => s.clear)++ useEffect(() => {+ if (!isTauri()) return+ let cancelled = false+ let off: (() => void) | null = null+ void (async () => {+ const { listen } = await import('@tauri-apps/api/event')+ const unlisten = await listen('hf-link', () => { void takeHfLink() })+ if (cancelled) unlisten()+ else off = unlisten+ // The link that started the app came before this listener.+ void takeHfLink()+ })()+ return () => {+ cancelled = true+ off?.()+ }+ }, [])++ if (rejected) {+ return (+ <Modal open onClose={clear} title="Link not opened">+ <div className="space-y-2" data-testid="hf-link-rejected">+ <p className="t-body text-gray-700 dark:text-gray-200">{rejected}</p>+ <p className="t-micro text-gray-500">+ Nothing was downloaded. Links from Hugging Face's "Use this model" button open a GGUF model in Models.+ </p>+ <ModalActions>+ <ModalButton variant="primary" onClick={clear}>OK</ModalButton>+ </ModalActions>+ </div>+ </Modal>+ )+ }++ if (pending && needsLocal) {+ return (+ <Modal open onClose={clear} title="Open in Local mode?">+ <div className="space-y-2" data-testid="hf-link-needs-local">+ <p className="t-body text-gray-700 dark:text-gray-200">+ <span className="t-mono break-all">{pending.repo}</span> runs on this computer. Models is part of Local mode.+ </p>+ <ModalActions>+ <ModalButton variant="quiet" onClick={clear}>Not now</ModalButton>+ <ModalButton+ variant="primary"+ onClick={() => {+ useSettingsStore.getState().updateSettings({ appMode: 'local' })+ useHfLinkStore.getState().setNeedsLocal(false)+ openModelsForLink()+ }}+ >+ Switch to Local+ </ModalButton>+ </ModalActions>+ </div>+ </Modal>+ )+ }++ return null+}diff --git a/src/components/models/ModelManager.tsx b/src/components/models/ModelManager.tsxindex 7dc04f42..1ea0d186 100644--- a/src/components/models/ModelManager.tsx+++ b/src/components/models/ModelManager.tsx@@ -9,6 +9,7 @@ import {import { useModels } from '../../hooks/useModels'import { useModelStore } from '../../stores/modelStore'import { useUIStore } from '../../stores/uiStore'+import { useHfLinkStore } from '../../stores/hfLinkStore'import { useProviderStore } from '../../stores/providerStore'import { ModelCard } from './ModelCard'import { RemoveRefusalsDialog } from './RemoveRefusalsDialog'@@ -148,6 +149,17 @@ export function ModelManager() {// image engine (MacLoraLane), which the LoRA stack in Create reads. Until// that folder existed the rail was not offered on the Mac at all.const [extraRail, setExtraRail] = useState<'lora' | 'music' | null>(null)++ // A Hugging Face link (HfLinkInbox) opens the Chat lane of Discover, where+ // its dialog lives, whatever lane or tab was open.+ const hfLink = useHfLinkStore((s) => s.pending)+ useEffect(() => {+ if (!hfLink) return+ setExtraRail(null)+ setTab('discover')+ setCategoryFilter('text')+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [hfLink])const rail: Rail = extraRail === 'lora' ? 'lora' : extraRail === 'music' && macMlxMedia ? 'music' : modeconst showMlxPanel = macMlxMedia && rail !== 'lora' && (rail === 'music' || mode === 'image' || mode === 'video')/** The Mac's own LoRA lane, in place of the ComfyUI one below. */diff --git a/src/components/models/__tests__/hf-link-dialog.test.tsx b/src/components/models/__tests__/hf-link-dialog.test.tsxnew file mode 100644index 00000000..07e57948--- /dev/null+++ b/src/components/models/__tests__/hf-link-dialog.test.tsx@@ -0,0 +1,148 @@+/**+ * @vitest-environment jsdom+ *+ * Hugging Face "Use this model" (B17) on screen: the dialog shows repository,+ * file, quant and size, starts nothing on its own, waits a second before+ * Download can be pressed, and refuses a file the repository does not have.+ * The inbox routes a link to Models and shows a refused one.+ *+ * Run: npx vitest run src/components/models/__tests__/hf-link-dialog.test.tsx+ */+import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'+import { render, screen, fireEvent, cleanup, act } from '@testing-library/react'++const MB = 1_048_576+const backend = vi.hoisted(() => ({+ fetchExternal: vi.fn(async (_url: string) => ''),+ backendCall: vi.fn(async (_cmd: string): Promise<unknown> => null),+}))+vi.mock('../../../api/backend', () => ({+ ...backend,+ isTauri: () => false,+ isMacOS: () => false,+ isWindows: () => false,+ openExternal: vi.fn(),+}))++import { HfLinkDialog } from '../HfLinkDialog'+import { HfLinkInbox, takeHfLink } from '../HfLinkInbox'+import { useHfLinkStore } from '../../../stores/hfLinkStore'+import { useUIStore } from '../../../stores/uiStore'+import { useSettingsStore } from '../../../stores/settingsStore'++const TREE = JSON.stringify([+ { type: 'file', path: 'tiny-Q4_K_M.gguf', size: 400 * MB, lfs: { oid: 'a'.repeat(64) } },+ { type: 'file', path: 'tiny-Q8_0.gguf', size: 700 * MB },+])++async function settle() {+ await act(async () => { await Promise.resolve(); await Promise.resolve() })+}++beforeEach(() => {+ vi.useFakeTimers({ shouldAdvanceTime: true })+ backend.fetchExternal.mockResolvedValue(TREE)+ useHfLinkStore.getState().clear()+})+afterEach(() => {+ cleanup()+ vi.useRealTimers()+ vi.clearAllMocks()+})++describe('HfLinkDialog', () => {+ it('shows the file, its quant and size, and downloads only after the click', async () => {+ const onConfirm = vi.fn()+ render(<HfLinkDialog link={{ repo: 'a/b', file: 'tiny-Q8_0.gguf' }} onCancel={vi.fn()} onConfirm={onConfirm} />)+ await settle()+ expect(backend.fetchExternal).toHaveBeenCalledWith('https://huggingface.co/api/models/a/b/tree/main?recursive=true')+ expect(screen.getByTestId('hf-link-file').textContent).toBe('tiny-Q8_0.gguf')+ expect(screen.getByTestId('hf-link-quant').textContent).toBe('Q8_0')+ expect(screen.getByTestId('hf-link-size').textContent).toBe('700 MB')+ const button = screen.getByRole('button', { name: 'Download (700 MB)' }) as HTMLButtonElement+ // Armed only after the question stood still for a second.+ expect(button.disabled).toBe(true)+ fireEvent.click(button)+ expect(onConfirm).not.toHaveBeenCalled()+ await act(async () => { vi.advanceTimersByTime(1100) })+ expect(button.disabled).toBe(false)+ fireEvent.click(button)+ expect(onConfirm).toHaveBeenCalledTimes(1)+ expect(onConfirm.mock.calls[0][0]).toMatchObject({+ downloadUrl: 'https://huggingface.co/a/b/resolve/main/tiny-Q8_0.gguf',+ filename: 'tiny-Q8_0.gguf',+ })+ })++ it('offers the repository files when the link names none, Q4_K_M first', async () => {+ render(<HfLinkDialog link={{ repo: 'a/b', file: null }} onCancel={vi.fn()} onConfirm={vi.fn()} />)+ await settle()+ const select = screen.getByTestId('hf-link-file-select') as HTMLSelectElement+ expect(select.value).toBe('tiny-Q4_K_M.gguf')+ fireEvent.change(select, { target: { value: 'tiny-Q8_0.gguf' } })+ expect(screen.getByTestId('hf-link-quant').textContent).toBe('Q8_0')+ })++ it('refuses a file the repository does not have, and Cancel starts nothing', async () => {+ const onConfirm = vi.fn()+ const onCancel = vi.fn()+ render(<HfLinkDialog link={{ repo: 'a/b', file: 'tiny-Q5_K_M.gguf' }} onCancel={onCancel} onConfirm={onConfirm} />)+ await settle()+ expect(screen.getByTestId('hf-link-failed').textContent).toMatch(/no model file under the name/)+ await act(async () => { vi.advanceTimersByTime(1100) })+ expect((screen.getByRole('button', { name: 'Download' }) as HTMLButtonElement).disabled).toBe(true)+ fireEvent.click(screen.getByRole('button', { name: 'Cancel' }))+ expect(onCancel).toHaveBeenCalled()+ expect(onConfirm).not.toHaveBeenCalled()+ })++ it('says so when Hugging Face answers with no repository', async () => {+ backend.fetchExternal.mockResolvedValue(JSON.stringify({ error: 'Repository not found' }))+ render(<HfLinkDialog link={{ repo: 'a/b', file: null }} onCancel={vi.fn()} onConfirm={vi.fn()} />)+ await settle()+ expect(screen.getByTestId('hf-link-failed').textContent).toMatch(/no public model repository/)+ })+})++describe('HfLinkInbox', () => {+ it('routes a checked link to Models, Chat lane', async () => {+ useSettingsStore.getState().updateSettings({ appMode: 'local' })+ useUIStore.getState().setView('chat')+ backend.backendCall.mockResolvedValueOnce({ kind: 'model', repo: 'a/b', file: 'tiny-Q8_0.gguf' })+ await takeHfLink()+ expect(backend.backendCall).toHaveBeenCalledWith('hf_link_take')+ expect(useHfLinkStore.getState().pending).toEqual({ repo: 'a/b', file: 'tiny-Q8_0.gguf' })+ expect(useUIStore.getState().currentView).toBe('models')+ })++ it('asks to switch to Local first in cloud mode', async () => {+ useSettingsStore.getState().updateSettings({ appMode: 'cloud' })+ useUIStore.getState().setView('chat')+ backend.backendCall.mockResolvedValueOnce({ kind: 'model', repo: 'a/b', file: null })+ await takeHfLink()+ expect(useUIStore.getState().currentView).toBe('chat')+ render(<HfLinkInbox />)+ expect(screen.getByTestId('hf-link-needs-local')).toBeTruthy()+ fireEvent.click(screen.getByRole('button', { name: 'Switch to Local' }))+ expect(useSettingsStore.getState().settings.appMode).toBe('local')+ expect(useUIStore.getState().currentView).toBe('models')+ })++ it('shows a refused link and a forged inbox answer as refused, never as a download', async () => {+ backend.backendCall.mockResolvedValueOnce({ kind: 'rejected', reason: 'The link does not name a GGUF file.' })+ await takeHfLink()+ render(<HfLinkInbox />)+ expect(screen.getByTestId('hf-link-rejected').textContent).toMatch(/does not name a GGUF file/)+ cleanup()+ backend.backendCall.mockResolvedValueOnce({ kind: 'model', repo: '../etc', file: 'x.gguf' })+ await takeHfLink()+ expect(useHfLinkStore.getState().pending).toBeNull()+ expect(useHfLinkStore.getState().rejected).toBe('The link could not be read.')+ })++ it('does nothing when the inbox is empty', async () => {+ backend.backendCall.mockResolvedValueOnce(null)+ await takeHfLink()+ expect(useHfLinkStore.getState()).toMatchObject({ pending: null, rejected: null })+ })+})diff --git a/src/lib/__tests__/handbook-pages.test.ts b/src/lib/__tests__/handbook-pages.test.tsindex 740f0082..5a925c80 100644--- a/src/lib/__tests__/handbook-pages.test.ts+++ b/src/lib/__tests__/handbook-pages.test.ts@@ -14,7 +14,7 @@ const CHAPTERS = [] as const/** The step by step guides under the chapters (community questions, 3.0.6). */-const GUIDES = ['beginners', 'agent-sandbox', 'character-studio', 'remote-access-setup', 'storage'] as const+const GUIDES = ['beginners', 'agent-sandbox', 'character-studio', 'remote-access-setup', 'storage', 'hugging-face'] as constconst parse = (path: string) => new DOMParser().parseFromString(readFileSync(path, 'utf8'), 'text/html')diff --git a/src/lib/__tests__/hf-link.test.ts b/src/lib/__tests__/hf-link.test.tsnew file mode 100644index 00000000..62347917--- /dev/null+++ b/src/lib/__tests__/hf-link.test.ts@@ -0,0 +1,110 @@+/**+ * Hugging Face "Use this model" (B17): the page's second lock on what the+ * inbox hands out, and the file the dialog offers. The first lock is in Rust+ * (src-tauri/src/hf_link.rs, `cargo test hf_link`), with the same bad inputs.+ *+ * Run: npx vitest run src/lib/__tests__/hf-link.test.ts+ */+import { describe, it, expect } from 'vitest'+import {+ choiceForFile, defaultChoice, ggufChoicesFromTree, isValidGgufPath, isValidRepoId, linkModel, readInbound, sizeLabel,+} from '../hf-link'+import { selectGgufFromTree, type HfTreeEntry } from '../../api/discover'++const MB = 1_048_576+const tree: HfTreeEntry[] = [+ { type: 'directory', path: 'Q8_0' },+ { type: 'file', path: 'README.md', size: 10 },+ { type: 'file', path: 'tiny-Q4_K_M.gguf', size: 400 * MB },+ { type: 'file', path: 'tiny-Q8_0.gguf', size: 700 * MB },+ { type: 'file', path: 'mmproj-tiny-F16.gguf', size: 90 * MB },+ { type: 'file', path: 'big/big-Q4_K_M-00002-of-00002.gguf', size: 1000 * MB },+ { type: 'file', path: 'big/big-Q4_K_M-00001-of-00002.gguf', size: 1000 * MB },+ { type: 'file', path: 'model.safetensors', size: 1000 * MB },+]++describe('the second lock on the inbox', () => {+ it('passes what Rust passes', () => {+ expect(readInbound({ kind: 'model', repo: 'bartowski/Qwen2.5-0.5B-Instruct-GGUF', file: 'Qwen2.5-0.5B-Instruct-Q4_K_M.gguf' }))+ .toEqual({ kind: 'model', link: { repo: 'bartowski/Qwen2.5-0.5B-Instruct-GGUF', file: 'Qwen2.5-0.5B-Instruct-Q4_K_M.gguf' } })+ expect(readInbound({ kind: 'model', repo: 'a/b', file: null })).toEqual({ kind: 'model', link: { repo: 'a/b', file: null } })+ expect(readInbound({ kind: 'model', repo: 'a/b' })).toEqual({ kind: 'model', link: { repo: 'a/b', file: null } })+ })++ it.each([+ 'a', 'a/b/c', '/b', 'a/', '../b', 'a/..', 'a/b..c', 'a--x/b', '-a/b', 'a/b-', '.a/b', 'a/b.', 'a b/c',+ 'a/b\u0000', 'a/b\n', 'a\\b/c', 'https://evil.example/a/b', 'a/b?x=1', 'a/\u202eb', 'a/<script>', `${'a'.repeat(97)}/b`,+ ])('refuses repo %j', (repo) => {+ expect(isValidRepoId(repo)).toBe(false)+ expect(readInbound({ kind: 'model', repo, file: null })).toBeNull()+ })++ it.each([+ 'model.bin', 'model.safetensors', 'model.gguf.exe', 'model.gguf\u0000.exe', '.gguf', 'dir/.gguf', '../model.gguf',+ 'dir/../../model.gguf', './model.gguf', '/model.gguf', 'dir//model.gguf', '.hidden.gguf', 'dir\\model.gguf',+ 'C:\\model.gguf', 'model\n.gguf', 'my model.gguf', 'mod\u00e9l.gguf', 'a/b/c/d/e/f/g/h/i.gguf', `${'m'.repeat(251)}.gguf`,+ ])('refuses file %j', (file) => {+ expect(isValidGgufPath(file)).toBe(false)+ expect(readInbound({ kind: 'model', repo: 'a/b', file })).toBeNull()+ })++ it('refuses shapes that are not the inbox', () => {+ for (const raw of [null, undefined, 'locallyuncensored://open-model?repo=a/b', 42, [], { kind: 'download', repo: 'a/b' }, { kind: 'model', repo: 7 }, { kind: 'model', repo: 'a/b', file: 3 }]) {+ expect(readInbound(raw)).toBeNull()+ }+ })++ it('shows a rejection as the sentence Rust gave, never a long or foreign one', () => {+ expect(readInbound({ kind: 'rejected', reason: 'The link does not name a GGUF file.' }))+ .toEqual({ kind: 'rejected', reason: 'The link does not name a GGUF file.' })+ expect(readInbound({ kind: 'rejected', reason: 'x'.repeat(500) })).toEqual({ kind: 'rejected', reason: 'The link could not be read.' })+ expect(readInbound({ kind: 'rejected' })).toEqual({ kind: 'rejected', reason: 'The link could not be read.' })+ })+})++describe('the file the dialog offers', () => {+ const choices = ggufChoicesFromTree(tree)++ it('lists model files and split sets, smallest first, without image parts', () => {+ expect(choices).toEqual([+ { path: 'tiny-Q4_K_M.gguf', quant: 'Q4_K_M', bytes: 400 * MB, parts: 1 },+ { path: 'tiny-Q8_0.gguf', quant: 'Q8_0', bytes: 700 * MB, parts: 1 },+ { path: 'big/big-Q4_K_M-00001-of-00002.gguf', quant: 'Q4_K_M', bytes: 2000 * MB, parts: 2 },+ ])+ expect(ggufChoicesFromTree({ error: 'Repository not found' })).toEqual([])+ })++ it('takes the named file by its full path and nothing else', () => {+ expect(choiceForFile(choices, 'tiny-Q8_0.gguf')?.path).toBe('tiny-Q8_0.gguf')+ expect(choiceForFile(choices, 'big/big-Q4_K_M-00002-of-00002.gguf')?.parts).toBe(2)+ // No guessing: not by leaf name, not by quant, not an image part.+ expect(choiceForFile(choices, 'other/tiny-Q8_0.gguf')).toBeNull()+ expect(choiceForFile(choices, 'tiny-Q5_K_M.gguf')).toBeNull()+ expect(choiceForFile(choices, 'mmproj-tiny-F16.gguf')).toBeNull()+ })++ it('preselects Q4_K_M when the link names no file', () => {+ expect(defaultChoice(choices)?.path).toBe('tiny-Q4_K_M.gguf')+ expect(defaultChoice([])).toBeNull()+ })++ it('builds the entry for the download from huggingface.co only', () => {+ const one = selectGgufFromTree(tree, 'a/b', undefined, 'tiny-Q8_0.gguf')!+ expect(linkModel('a/b', one)).toMatchObject({+ name: 'tiny-Q8_0',+ downloadUrl: 'https://huggingface.co/a/b/resolve/main/tiny-Q8_0.gguf',+ filename: 'tiny-Q8_0.gguf',+ sizeBytes: 700 * MB,+ })+ const split = selectGgufFromTree(tree, 'a/b', undefined, 'big/big-Q4_K_M-00001-of-00002.gguf')!+ expect(linkModel('a/b', split)).toMatchObject({ name: 'big-Q4_K_M', filename: 'big-Q4_K_M-00001-of-00002.gguf', sizeBytes: undefined })+ expect(linkModel('a/b', { ...one, files: [{ ...one.files[0], url: 'https://evil.example/a/b/resolve/main/tiny-Q8_0.gguf' }] })).toBeNull()+ expect(linkModel('c/d', one)).toBeNull()+ })++ it('reads sizes the way the dialog prints them', () => {+ expect(sizeLabel(400 * MB)).toBe('400 MB')+ expect(sizeLabel(2000 * MB)).toBe('2.0 GB')+ expect(sizeLabel(0)).toBe('size unknown')+ })+})diff --git a/src/lib/__tests__/mobile-name-im-programm.test.ts b/src/lib/__tests__/mobile-name-im-programm.test.tsindex 53176eaa..5b6b62af 100644--- a/src/lib/__tests__/mobile-name-im-programm.test.ts+++ b/src/lib/__tests__/mobile-name-im-programm.test.ts@@ -50,6 +50,12 @@ type Allowed = { file: string; has: string; klasse: 'c' | 'd'; grund: string }* der Zeile, an dem die Stelle zu erkennen ist.*/const ALLOWED: Allowed[] = [+ {+ file: 'src-tauri/src/hf_link.rs',+ has: 'pub const SCHEME: &str = "locallyuncensored";',+ klasse: 'd',+ grund: 'Link-Schema von Hugging Face "Use this model" (P9, 3.0.9): Name, unter dem das System die App findet. Modul unter cfg(desktop), am Handy nicht uebersetzt.',+ },{file: 'src-tauri/src/commands/plugin_rea.rs',has: '"locally uncensored",',diff --git a/src/lib/hf-link.ts b/src/lib/hf-link.tsnew file mode 100644index 00000000..0b960590--- /dev/null+++ b/src/lib/hf-link.ts@@ -0,0 +1,166 @@+/**+ * Hugging Face "Use this model" (B17, 3.0.9): what the page does with a+ * `locallyuncensored://open-model?repo=<owner/name>&file=<path.gguf>` link.+ *+ * Rust reads the link and checks it (src-tauri/src/hf_link.rs) before it+ * lands in the inbox. The page checks the same rules again on what it takes+ * out: the inbox is the only door, and a second lock on it costs nothing.+ * Nothing here downloads. The address is always built from the repository id+ * and always points at huggingface.co, and the download waits for the user+ * (HfLinkDialog).+ */++import type { DiscoverModel } from '../api/model-bundles'+import type { HfGgufResolution } from '../api/discover'++export interface HfModelLink {+ repo: string+ /** Null when the button was pressed without a file picked. */+ file: string | null+}++export type HfLinkInbound =+ | { kind: 'model'; link: HfModelLink }+ | { kind: 'rejected'; reason: string }++/** Hugging Face's rule for an owner and for a repository name. */+function validNamePart(s: string): boolean {+ return s.length > 0 && s.length <= 96+ && /^[A-Za-z0-9._-]+$/.test(s)+ && !/^[-.]|[-.]$/.test(s)+ && !s.includes('--') && !s.includes('..')+}++export function isValidRepoId(repo: string): boolean {+ const parts = repo.split('/')+ return parts.length === 2 && parts.every(validNamePart)+}++/** A plain relative path inside the repository that ends in `.gguf`. */+export function isValidGgufPath(path: string): boolean {+ if (path.length === 0 || path.length > 255) return false+ if (!/\.gguf$/i.test(path)) return false+ const segments = path.split('/')+ if (segments.length > 8) return false+ if (!segments.every((seg) => seg.length > 0 && !seg.startsWith('.') && /^[A-Za-z0-9._-]+$/.test(seg))) return false+ return segments[segments.length - 1].length > '.gguf'.length+}++const REJECTED_FALLBACK = 'The link could not be read.'++/** What `hf_link_take` answered, checked again. Anything else is null. */+export function readInbound(raw: unknown): HfLinkInbound | null {+ if (!raw || typeof raw !== 'object') return null+ const r = raw as Record<string, unknown>+ if (r.kind === 'rejected') {+ // The sentence comes from Rust and never carries the link. Shown as text,+ // never as markup, and cut short in case.+ const reason = typeof r.reason === 'string' && r.reason.length <= 200 ? r.reason : REJECTED_FALLBACK+ return { kind: 'rejected', reason }+ }+ if (r.kind !== 'model' || typeof r.repo !== 'string' || !isValidRepoId(r.repo)) return null+ const file = r.file == null ? null : r.file+ if (file !== null && (typeof file !== 'string' || !isValidGgufPath(file))) return null+ return { kind: 'model', link: { repo: r.repo, file } }+}++/** The repository page, for the "view on Hugging Face" line. */+export function hfRepoPage(repo: string): string {+ return `https://huggingface.co/${repo}`+}++/** The tree the dialog reads sizes and files from. */+export function hfTreeApi(repo: string): string {+ return `https://huggingface.co/api/models/${repo}/tree/main?recursive=true`+}++/** One file, or one split set, the user can pick. */+export interface HfLinkChoice {+ /** Path of the file, or of the first part of a split set. */+ path: string+ quant?: string+ bytes: number+ parts: number+}++const SHARD_RE = /-(\d{4,5})-of-(\d{4,5})\.gguf$/i+const QUANT_RE = /(IQ\d_[A-Z0-9]+|Q\d_K(?:_[A-Z]+)?|Q\d_[01]|BF16|F16|F32)/i+const IMAGE_PART_RE = /(^|\/)[^/]*mmproj[^/]*\.gguf$/i++interface TreeEntry { type?: string; path?: string; size?: number }++/**+ * Every model GGUF in a repository tree, one row per file or split set,+ * smallest first. Image parts (mmproj) are not models and are left out: the+ * download brings them along with the model they belong to.+ */+export function ggufChoicesFromTree(entries: unknown): HfLinkChoice[] {+ if (!Array.isArray(entries)) return []+ const groups = new Map<string, HfLinkChoice & { first: number }>()+ for (const e of entries as TreeEntry[]) {+ if (e?.type !== 'file' || typeof e.path !== 'string' || !/\.gguf$/i.test(e.path)) continue+ if (IMAGE_PART_RE.test(e.path)) continue+ const shard = SHARD_RE.exec(e.path)+ const key = e.path.replace(SHARD_RE, '')+ const index = shard ? parseInt(shard[1], 10) : 0+ const leaf = (e.path.split('/').pop() || '').replace(SHARD_RE, '.gguf')+ const g = groups.get(key) ?? { path: e.path, quant: (QUANT_RE.exec(leaf)?.[1] ?? QUANT_RE.exec(e.path)?.[1])?.toUpperCase(), bytes: 0, parts: 0, first: index }+ g.bytes += typeof e.size === 'number' ? e.size : 0+ g.parts += 1+ if (index < g.first) { g.first = index; g.path = e.path }+ groups.set(key, g)+ }+ return [...groups.values()]+ .map(({ first: _first, ...c }) => c)+ .sort((a, b) => a.bytes - b.bytes || a.path.localeCompare(b.path))+}++/**+ * The choice the link names, or null when the repository has no such model+ * file. Strict on purpose: the file the link names, by its full path, or a+ * part of that split set. No guessing by leaf name or quant, so a link never+ * downloads something other than what it says.+ */+export function choiceForFile(choices: readonly HfLinkChoice[], file: string): HfLinkChoice | null {+ const key = file.replace(SHARD_RE, '')+ return choices.find((c) => c.path === file || c.path.replace(SHARD_RE, '') === key && SHARD_RE.test(file)) ?? null+}++/** The row preselected when the link names no file: Q4_K_M, else the smallest. */+export function defaultChoice(choices: readonly HfLinkChoice[]): HfLinkChoice | null {+ return choices.find((c) => c.quant === 'Q4_K_M') ?? choices[0] ?? null+}++/** "1.2 GB", "380 MB". */+export function sizeLabel(bytes: number): string {+ if (!bytes) return 'size unknown'+ const gb = bytes / 1_073_741_824+ return gb >= 1 ? `${gb.toFixed(1)} GB` : `${Math.max(1, Math.round(bytes / 1_048_576))} MB`+}++/**+ * The entry the Models page downloads, built from the resolved files. It+ * goes through the same door as a card from the list, so the file lands+ * where the active chat backend reads it (lib/text-download-target.ts).+ */+export function linkModel(repo: string, resolution: HfGgufResolution): DiscoverModel | null {+ const first = resolution.files[0]+ if (!first) return null+ // Only addresses this module can account for: huggingface.co, the+ // repository the user agreed to.+ const prefix = `https://huggingface.co/${repo}/resolve/main/`+ if (!resolution.files.every((f) => f.url.startsWith(prefix))) return null+ const stem = first.filename.replace(SHARD_RE, '').replace(/\.gguf$/i, '')+ return {+ name: stem,+ description: `${repo} on Hugging Face`,+ pulls: '',+ tags: [],+ updated: '',+ url: hfRepoPage(repo),+ downloadUrl: first.url,+ filename: first.filename,+ sizeBytes: resolution.sharded ? undefined : first.sizeBytes || undefined,+ sizeGB: resolution.totalBytes ? +(resolution.totalBytes / 1_073_741_824).toFixed(2) : undefined,+ }+}diff --git a/src/stores/hfLinkStore.ts b/src/stores/hfLinkStore.tsnew file mode 100644index 00000000..574227fd--- /dev/null+++ b/src/stores/hfLinkStore.ts@@ -0,0 +1,30 @@+import { create } from 'zustand'+import type { HfModelLink } from '../lib/hf-link'++/**+ * The Hugging Face link the user is being asked about (lib/hf-link.ts). Never+ * persisted: a link is one click, and a restart must not bring back a+ * download question nobody remembers asking.+ */+interface HfLinkState {+ /** A checked link waiting for the dialog in Models, Discover. */+ pending: HfModelLink | null+ /** A link that failed the check, with the sentence that says why. */+ rejected: string | null+ /** In cloud mode Models does not exist: the question is to switch first. */+ needsLocal: boolean+ offer: (link: HfModelLink, needsLocal: boolean) => void+ reject: (reason: string) => void+ setNeedsLocal: (needsLocal: boolean) => void+ clear: () => void+}++export const useHfLinkStore = create<HfLinkState>((set) => ({+ pending: null,+ rejected: null,+ needsLocal: false,+ offer: (link, needsLocal) => set({ pending: link, rejected: null, needsLocal }),+ reject: (reason) => set({ pending: null, rejected: reason, needsLocal: false }),+ setNeedsLocal: (needsLocal) => set({ needsLocal }),+ clear: () => set({ pending: null, rejected: null, needsLocal: false }),+}))