YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
update tauri example
Louis Beaumontff0cfe16237a
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex d461d3cda..50e5a06b3 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -1,5 +1,11 @@# # Run for macOS-# act -W .github/workflows/release-app.yml --container-architecture linux/amd64 -j release -P macos-latest=-self-hosted++# act -W .github/workflows/release-app.yml --container-architecture linux/amd64 -j release -P macos-latest=-self-hosted++# # Run for Linux+# act -W .github/workflows/release-app.yml --container-architecture linux/amd64 -j release -P ubuntu-22.04=-self-hosted++name: "Release app"@@ -37,7 +43,7 @@ jobs:- name: install frontend dependenciesworking-directory: examples/apps/screen-pipe-app/- run: pnpm i+ run: npm i- uses: tauri-apps/tauri-action@v0env:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymldeleted file mode 100644index 1b0e37a5e..000000000--- a/.github/workflows/release.yml+++ /dev/null@@ -1,81 +0,0 @@-name: Release--on:- push:- tags:- - "v*.*.*"--jobs:- build-ubuntu:- runs-on: ubuntu-latest- steps:- - name: Checkout code- uses: actions/checkout@v2-- - name: Install dependencies- run: |- sudo apt-get update- sudo apt-get install -y libavformat-dev libavfilter-dev libavdevice-dev ffmpeg libasound2-dev-- - name: Set up Rust- uses: actions-rs/toolchain@v1- with:- toolchain: stable- profile: minimal- override: true-- - name: Build with RPATH- run: |- export PKG_CONFIG_PATH="/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH"- export RUSTFLAGS="-C link-arg=-Wl,-rpath,\$ORIGIN/lib"- cargo build --release-- - name: Copy FFmpeg libraries- run: |- mkdir -p target/release/lib- cp /usr/lib/x86_64-linux-gnu/libavcodec.so* target/release/lib/- cp /usr/lib/x86_64-linux-gnu/libavformat.so* target/release/lib/- cp /usr/lib/x86_64-linux-gnu/libavutil.so* target/release/lib/- cp /usr/lib/x86_64-linux-gnu/libswresample.so* target/release/lib/- cp /usr/lib/x86_64-linux-gnu/libswscale.so* target/release/lib/- cp /usr/lib/x86_64-linux-gnu/libavfilter.so* target/release/lib/- cp /usr/lib/x86_64-linux-gnu/libavdevice.so* target/release/lib/-- - name: Create deployment package- run: |- mkdir -p screenpipe-linux- cp target/release/screenpipe screenpipe-linux/screenpipe- cp -r target/release/lib screenpipe-linux/- chmod +x screenpipe-linux/screenpipe- tar -czvf screenpipe-linux.tar.gz screenpipe-linux-- - name: Upload Artifact- uses: actions/upload-artifact@v2- with:- name: screenpipe-linux- path: screenpipe-linux.tar.gz-- release:- runs-on: ubuntu-latest- needs: [build-ubuntu]- steps:- - name: Checkout code- uses: actions/checkout@v2-- - name: Download Artifacts- uses: actions/download-artifact@v2- with:- name: screenpipe-linux-- - name: Set Version- shell: bash- run: |- echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV- echo "RELEASE_VERSION=$(echo ${GITHUB_REF_NAME} | cut -f1 -d-)" >> $GITHUB_ENV-- - name: Create or update Release- env:- GH_TOKEN: ${{ secrets.PAT }}- run: |- gh release create ${{ env.RELEASE_VERSION }} --title ${{ env.RELEASE_VERSION }} --generate-notes- gh release upload ${{ env.RELEASE_VERSION }} screenpipe-linux.tar.gzdiff --git a/Cargo.toml b/Cargo.tomlindex e4c18fc9c..5e0532dd0 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -3,6 +3,7 @@ members = ["screenpipe-server", "screenpipe-vision", "screenpipe-audio", "examplexclude = []resolver = "2"+[workspace.package]version = "0.1.0"authors = ["louis030195 <[email protected]>"]@@ -25,3 +26,4 @@ criterion = { version = "0.5.1", features = ["async_tokio"] }+diff --git a/examples/apps/screen-pipe-app/README.md b/examples/apps/screen-pipe-app/README.mdindex c4033664f..a5e7cc722 100644--- a/examples/apps/screen-pipe-app/README.md+++ b/examples/apps/screen-pipe-app/README.md@@ -1,36 +1,18 @@-This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).+README TODO-## Getting Started-First, run the development server:-```bash-npm run dev-# or-yarn dev-# or-pnpm dev-# or-bun dev-```--Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.--You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.--This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.-## Learn More+releasing app:-To learn more about Next.js, take a look at the following resources:--- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.-- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.+```+export TAURI_SIGNING_PRIVATE_KEY="$HOME/.tauri/myapp.key"+export TAURI_SIGNING_PRIVATE_KEY_PASSWORD=""+pnpm tauri build+# todo rest+```-You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!+ask @louis030195 for key/pw-## Deploy on Vercel-The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.-Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.diff --git a/examples/apps/screen-pipe-app/package.json b/examples/apps/screen-pipe-app/package.jsonindex 06bc0240c..c9d19d92b 100644--- a/examples/apps/screen-pipe-app/package.json+++ b/examples/apps/screen-pipe-app/package.json@@ -9,13 +9,16 @@"lint": "next lint"},"dependencies": {+ "@tauri-apps/plugin-cli": "2.0.0-beta.7",+ "@tauri-apps/plugin-shell": "2.0.0-beta.8",+ "@tauri-apps/plugin-store": "2.0.0-beta.7",+ "@tauri-apps/plugin-updater": "2.0.0-beta.7","next": "14.2.4","react": "^18",- "react-dom": "^18",- "tauri-plugin-autostart-api": "github:tauri-apps/tauri-plugin-autostart#v1"+ "react-dom": "^18"},"devDependencies": {- "@tauri-apps/cli": "^1.6.0",+ "@tauri-apps/cli": "2.0.0-beta.22","@types/node": "^20","@types/react": "^18","@types/react-dom": "^18",@@ -25,4 +28,4 @@"tailwindcss": "^3.4.1","typescript": "^5"}-}+}\ No newline at end of filediff --git a/examples/apps/screen-pipe-app/pnpm-lock.yaml b/examples/apps/screen-pipe-app/pnpm-lock.yamlindex cc5fa0145..ad37be54c 100644--- a/examples/apps/screen-pipe-app/pnpm-lock.yaml+++ b/examples/apps/screen-pipe-app/pnpm-lock.yaml@@ -5,6 +5,18 @@ settings:excludeLinksFromLockfile: falsedependencies:+ '@tauri-apps/plugin-cli':+ specifier: 2.0.0-beta.7+ version: 2.0.0-beta.7+ '@tauri-apps/plugin-shell':+ specifier: 2.0.0-beta.8+ version: 2.0.0-beta.8+ '@tauri-apps/plugin-store':+ specifier: 2.0.0-beta.7+ version: 2.0.0-beta.7+ '@tauri-apps/plugin-updater':+ specifier: 2.0.0-beta.7+ version: 2.0.0-beta.7next:specifier: 14.2.4version: 14.2.4([email protected])([email protected])@@ -20,8 +32,8 @@ dependencies:devDependencies:'@tauri-apps/cli':- specifier: ^1.6.0- version: 1.6.0+ specifier: 2.0.0-beta.22+ version: 2.0.0-beta.22'@types/node':specifier: ^20version: 20.14.9@@ -294,8 +306,13 @@ packages:engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}dev: false- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-SNRwUD9nqGxY47mbY1CGTt/jqyQOU7Ps7Mx/mpgahL0FVUDiCEY/5L9QfEPPhEgccgcelEVn7i6aQHIkHyUtCA==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-H9w6iISmR+NvH4XuyCZB4zDN10tf9RFt6i/9JHEjaRhAowdAaJ+oiXq/3kedizNClHMtbTQ5j0oqDVPkZDAI8g==}+ engines: {node: '>= 18.18', npm: '>= 6.6.0', yarn: '>= 1.19.1'}+ dev: false++ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-Ofhythvg1Ks2IM87WUYNtgFzm21aU1Zn+8QP81lJy9Y7ZGMxP8FYfqeHz6GIWKI+CYf6I77HA8LHkT9pyE5PYg==}engines: {node: '>= 10'}cpu: [arm64]os: [darwin]@@ -303,8 +320,8 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-g2/uDR/eeH2arvuawA4WwaEOqv/7jDO/ZLNI3JlBjP5Pk8GGb3Kdy0ro1xQzF94mtk2mOnOXa4dMgAet4sUJ1A==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-/lWIixo7WgmMUqcxlPT7Ojlkl6qbVlNDwUZ+9DtTpoWnaaBxv/YpSe1k62vDWEC7l0apFY+Fz7cRONN2wglFyQ==}engines: {node: '>= 10'}cpu: [x64]os: [darwin]@@ -312,8 +329,8 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-EVwf4oRkQyG8BpSrk0gqO7oA0sDM2MdNDtJpMfleYFEgCxLIOGZKNqaOW3M7U+0Y4qikmG3TtRK+ngc8Ymtrjg==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-9nJCSStoxu4BKaKVJhu/uBJ8IsIofwAdsX0TWFxqo0obaZbeQSEpPhVsCy+uk3u/28dF+qyUtMCYawO2Uljnag==}engines: {node: '>= 10'}cpu: [arm]os: [linux]@@ -321,8 +338,8 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-YdpY17cAySrhK9dX4BUVEmhAxE2o+6skIEFg8iN/xrDwRxhaNPI9I80YXPatUTX54Kx55T5++25VJG9+3iw83A==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-TF9q9zHFBx9LaG2fJJC+BcpIokOmX1UIniBapndvx3dJmdDiK4F6w2QYKDkrBQVzDzcIducmdo2zNBv17O9tFQ==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]@@ -330,8 +347,8 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-4U628tuf2U8pMr4tIBJhEkrFwt+46dwhXrDlpdyWSZtnop5RJAVKHODm0KbWns4xGKfTW1F3r6sSv+2ZxLcISA==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-ak/RdmaV7sATQmNOxlpHVlbKlrdquH7WH8nOv82X+iK+1HgAOGGqLqBUMzzhkGqo9SHQ9zJ6A2yOo7Z6TJXMmQ==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]@@ -339,8 +356,8 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-AKRzp76fVUaJyXj5KRJT9bJyhwZyUnRQU0RqIRqOtZCT5yr6qGP8rjtQ7YhCIzWrseBlOllc3Qvbgw3Yl0VQcA==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-9t+jQeMqBdXz51ikTh1PQFG/gs9PBzXmtMcIzUxE0juvH/ynjw0Vf+yZbNmwqVS9g7cj8XiBXoc6/N41SZE2cA==}engines: {node: '>= 10'}cpu: [x64]os: [linux]@@ -348,8 +365,8 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-0edIdq6aMBTaRMIXddHfyAFL361JqulLLd2Wi2aoOie7DkQ2MYh6gv3hA7NB9gqFwNIGE+xtJ4BkXIP2tSGPlg==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-PemcztfHG3HAuuo7HcnhfDrtN9NT7kueyNg8ipxJNPMa+s4K7kfieViyEiMW5pTr2F5WG/UuBSNcuwY+DVCcPA==}engines: {node: '>= 10'}cpu: [x64]os: [linux]@@ -357,8 +374,8 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-QwWpWk4ubcwJ1rljsRAmINgB2AwkyzZhpYbalA+MmzyYMREcdXWGkyixWbRZgqc6fEWEBmq5UG73qz5eBJiIKg==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-EgKoG/jGEtTzhOp7ISjMdQsfd8IOG/5yZhO9Z4L/u7oB9mprKAJohYs24+ZxJtq2bOz4f/ZIysZ19nbkpxUzrg==}engines: {node: '>= 10'}cpu: [arm64]os: [win32]@@ -366,8 +383,8 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-Vtw0yxO9+aEFuhuxQ57ALG43tjECopRimRuKGbtZYDCriB/ty5TrT3QWMdy0dxBkpDTu3Rqsz30sbDzw6tlP3Q==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-67OrM2m4FB3KujPbjd/i+9lqcLDO3/ixqL1GMc3BoHhcjF+7QY08OxqWeitdsP/8ihnMIIdir2xEjNUKc6Zelw==}engines: {node: '>= 10'}cpu: [ia32]os: [win32]@@ -375,8 +392,8 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-h54FHOvGi7+LIfRchzgZYSCHB1HDlP599vWXQQJ/XnwJY+6Rwr2E5bOe/EhqoG8rbGkfK0xX3KPAvXPbUlmggg==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-BsO5xMUxliTZTImXnOC73sKT2U9VUeqR8AtklSObBcAg5LaZKpYOdF2pZzU6rIMAZwzROTAT1hYsr4r/nx2UZg==}engines: {node: '>= 10'}cpu: [x64]os: [win32]@@ -384,22 +401,46 @@ packages:dev: trueoptional: true- /@tauri-apps/[email protected]:- resolution: {integrity: sha512-DBBpBl6GhTzm8ImMbKkfaZ4fDTykWrC7Q5OXP4XqD91recmDEn2LExuvuiiS3HYe7uP8Eb5B9NPHhqJb+Zo7qQ==}+ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-OAuiDdSRKxNmr/dseQKKMoZZxIhQ6aAxmXJctGYJxCnkd62tQ8xeq87roVXGNS5Qkuv7WpySAyR0ntiMjvNLUA==}engines: {node: '>= 10'}hasBin: trueoptionalDependencies:- '@tauri-apps/cli-darwin-arm64': 1.6.0- '@tauri-apps/cli-darwin-x64': 1.6.0- '@tauri-apps/cli-linux-arm-gnueabihf': 1.6.0- '@tauri-apps/cli-linux-arm64-gnu': 1.6.0- '@tauri-apps/cli-linux-arm64-musl': 1.6.0- '@tauri-apps/cli-linux-x64-gnu': 1.6.0- '@tauri-apps/cli-linux-x64-musl': 1.6.0- '@tauri-apps/cli-win32-arm64-msvc': 1.6.0- '@tauri-apps/cli-win32-ia32-msvc': 1.6.0- '@tauri-apps/cli-win32-x64-msvc': 1.6.0- dev: true+ '@tauri-apps/cli-darwin-arm64': 2.0.0-beta.22+ '@tauri-apps/cli-darwin-x64': 2.0.0-beta.22+ '@tauri-apps/cli-linux-arm-gnueabihf': 2.0.0-beta.22+ '@tauri-apps/cli-linux-arm64-gnu': 2.0.0-beta.22+ '@tauri-apps/cli-linux-arm64-musl': 2.0.0-beta.22+ '@tauri-apps/cli-linux-x64-gnu': 2.0.0-beta.22+ '@tauri-apps/cli-linux-x64-musl': 2.0.0-beta.22+ '@tauri-apps/cli-win32-arm64-msvc': 2.0.0-beta.22+ '@tauri-apps/cli-win32-ia32-msvc': 2.0.0-beta.22+ '@tauri-apps/cli-win32-x64-msvc': 2.0.0-beta.22+ dev: true++ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-AOKtMrPmBumfOLdD2jv3ct5Sbm4LQJ+iTY5v+cQN2siW4wGZXWSLHH6ZwhbEyEclIOepHvPlaRv91gS1PQE76g==}+ dependencies:+ '@tauri-apps/api': 2.0.0-beta.15+ dev: false++ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-rFXI6MvsCdSGbuKbDu/NaOePREb9YTVTdeugHdvvljnKWW3dvmThBb2h/8Hxj+Z7Cd8MUoRxPeJWUZbPbJ2Imw==}+ dependencies:+ '@tauri-apps/api': 2.0.0-beta.15+ dev: false++ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-OgeicsLfN7/u/vfxhzJfsZsNfVJWrhmwhEn2oK4OJ1kvkrGbkfK0/ZORSkmqbpByI6hXWYZrbeyXDuVIefVWAQ==}+ dependencies:+ '@tauri-apps/api': 2.0.0-beta.15+ dev: false++ /@tauri-apps/[email protected]:+ resolution: {integrity: sha512-wnIVPPMuD33Wf8Q1CyvAQLAT2sVH0sefTNrYF5ITqzUxzeH54MaiVIu+e8/zBaRFcuBpJv7exljLlrcNW47ybQ==}+ dependencies:+ '@tauri-apps/api': 2.0.0-beta.15+ dev: false/@types/[email protected]:resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}diff --git a/examples/apps/screen-pipe-app/src-tauri/Cargo.toml b/examples/apps/screen-pipe-app/src-tauri/Cargo.tomlindex 072fd3679..65d78b033 100644--- a/examples/apps/screen-pipe-app/src-tauri/Cargo.toml+++ b/examples/apps/screen-pipe-app/src-tauri/Cargo.toml@@ -12,18 +12,15 @@ rust-version = "1.60"# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[build-dependencies]-tauri-build = { version = "1.5.3", features = [] }+tauri-build = { version = "=2.0.0-beta.19", features = [] }[dependencies]serde_json = "1.0"serde = { version = "1.0", features = ["derive"] }-tauri = { version = "^1.7.0", features = [ "system-tray", "cli", "shell-open-api"] }-# tauri = { version = "2.0.0-beta", features = [ "cli", "unstable", "devtools"] }+tauri = { version = "2.0.0-beta.24", features = ["tray-icon", "devtools"] }-# https://github.com/louis030195/screen-pipe-screenpipe-server = { git = "https://github.com/louis030195/screen-pipe", branch = "main" }-screenpipe-audio = { git = "https://github.com/louis030195/screen-pipe", branch = "main" }screenpipe-vision = { git = "https://github.com/louis030195/screen-pipe", branch = "main" }+axum = "0.7.5"# Logging@@ -46,19 +43,36 @@ uuid = { version = "1.10.0", features = ["v4"] }sentry = "0.34.0"# Autostart-tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }+tauri-plugin-autostart = "2.0.0-beta.9"# Chronochrono = "0.4.3"+tauri-plugin-shell = "2.0.0-alpha.2"+tauri-plugin-store = "2.0.0-beta"-[features]-# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.-# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.-# DO NOT REMOVE!!-custom-protocol = [ "tauri/custom-protocol" ]# M series MacOS-metal = ["screenpipe-server/metal", "screenpipe-audio/metal"]-# Nvidia+[target.'cfg(target_os = "macos")'.dependencies]+screenpipe-server = { path = "../../../../screenpipe-server", features = ["metal"] }+screenpipe-audio = { path = "../../../../screenpipe-audio", features = ["metal"] }++# Linux+[target.'cfg(target_os = "linux")'.dependencies]+screenpipe-server = { path = "../../../../screenpipe-server", features = [] }+screenpipe-audio = { path = "../../../../screenpipe-audio", features = [] }++# Windows+[target.'cfg(target_os = "windows")'.dependencies]+screenpipe-server = { path = "../../../../screenpipe-server", features = [] }+screenpipe-audio = { path = "../../../../screenpipe-audio", features = [] }++[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]+tauri-plugin-cli = "2.0.0-alpha.2"+tauri-plugin-updater = "2.0.0-alpha.2"++[features]cuda = ["screenpipe-server/cuda", "screenpipe-audio/cuda"]+metal = ["screenpipe-server/metal", "screenpipe-audio/metal"]+# DO NOT REMOVE!!+custom-protocol = [ "tauri/custom-protocol" ]diff --git a/examples/apps/screen-pipe-app/src-tauri/build.rs b/examples/apps/screen-pipe-app/src-tauri/build.rsindex 795b9b7c8..d860e1e6a 100644--- a/examples/apps/screen-pipe-app/src-tauri/build.rs+++ b/examples/apps/screen-pipe-app/src-tauri/build.rs@@ -1,3 +1,3 @@fn main() {- tauri_build::build()+ tauri_build::build()}diff --git a/examples/apps/screen-pipe-app/src-tauri/capabilities/main.json b/examples/apps/screen-pipe-app/src-tauri/capabilities/main.jsonnew file mode 100644index 000000000..ae1432223--- /dev/null+++ b/examples/apps/screen-pipe-app/src-tauri/capabilities/main.json@@ -0,0 +1,40 @@+{+ "identifier": "migrated",+ "description": "permissions that were migrated from v1",+ "local": true,+ "windows": [+ "main"+ ],+ "permissions": [+ "path:default",+ "event:default",+ "window:default",+ "app:default",+ "resources:default",+ "menu:default",+ "tray:default",+ "shell:default",+ "store:allow-get",+ "store:allow-set",+ "store:allow-save",+ "store:allow-load",+ {+ "identifier": "shell:allow-execute",+ "allow": [+ {+ "name": "exec-sh",+ "cmd": "sh",+ "args": [+ "-c",+ {+ "validator": "\\S+"+ }+ ],+ "sidecar": false+ }+ ]+ },+ "cli:default",+ "updater:default"+ ]+}\ No newline at end of filediff --git a/examples/apps/screen-pipe-app/src-tauri/gen/schemas/acl-manifests.json b/examples/apps/screen-pipe-app/src-tauri/gen/schemas/acl-manifests.jsonnew file mode 100644index 000000000..e2b2d758d--- /dev/null+++ b/examples/apps/screen-pipe-app/src-tauri/gen/schemas/acl-manifests.json@@ -0,0 +1 @@+{"app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version"]},"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-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-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"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-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-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"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},"autostart":{"default_permission":{"identifier":"default","description":"This permission set configures if your\napplication can enable or disable auto\nstarting the application on boot.\n\n#### Granted Permissions\n\nIt allows all to check, enable and\ndisable the automatic start on boot.\n\n","permissions":["allow-enable","allow-disable","allow-is-enabled"]},"permissions":{"allow-disable":{"identifier":"allow-disable","description":"Enables the disable command without any pre-configured scope.","commands":{"allow":["disable"],"deny":[]}},"allow-enable":{"identifier":"allow-enable","description":"Enables the enable command without any pre-configured scope.","commands":{"allow":["enable"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"deny-disable":{"identifier":"deny-disable","description":"Denies the disable command without any pre-configured scope.","commands":{"allow":[],"deny":["disable"]}},"deny-enable":{"identifier":"deny-enable","description":"Denies the enable command without any pre-configured scope.","commands":{"allow":[],"deny":["enable"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}}},"permission_sets":{},"global_scope_schema":null},"cli":{"default_permission":{"identifier":"default","description":"Allows reading the CLI matches","permissions":["allow-cli-matches"]},"permissions":{"allow-cli-matches":{"identifier":"allow-cli-matches","description":"Enables the cli_matches command without any pre-configured scope.","commands":{"allow":["cli_matches"],"deny":[]}},"deny-cli-matches":{"identifier":"deny-cli-matches","description":"Denies the cli_matches command without any pre-configured scope.","commands":{"allow":[],"deny":["cli_matches"]}}},"permission_sets":{},"global_scope_schema":null},"event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","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},"image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","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},"menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","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},"path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","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},"resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","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},"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 without any specific\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#","definitions":{"ShellAllowedArg":{"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":{"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\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."},"ShellAllowedArgs":{"anyOf":[{"description":"Use a simple boolean to allow all or disable all arguments to this command configuration.","type":"boolean"},{"description":"A specific set of [`ShellAllowedArg`] that are valid to call for the command configuration.","items":{"$ref":"#/definitions/ShellAllowedArg"},"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 [`ShellAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration."}},"description":"A command allowed to be executed by the webview API.","properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellAllowedArgs"}],"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`, `$APP`, `$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"},"sidecar":{"description":"If this command is a sidecar command.","type":"boolean"}},"required":["args","cmd","name","sidecar"],"title":"Entry","type":"object"}},"store":{"default_permission":{"identifier":"default","description":"This permission set configures what kind of\noperations are available from the store plugin.\n\n#### Granted Permissions\n\nAll operations are enabled by default.\n\n","permissions":["allow-clear","allow-delete","allow-entries","allow-get","allow-has","allow-keys","allow-length","allow-load","allow-reset","allow-save","allow-set","allow-values"]},"permissions":{"allow-clear":{"identifier":"allow-clear","description":"Enables the clear command without any pre-configured scope.","commands":{"allow":["clear"],"deny":[]}},"allow-delete":{"identifier":"allow-delete","description":"Enables the delete command without any pre-configured scope.","commands":{"allow":["delete"],"deny":[]}},"allow-entries":{"identifier":"allow-entries","description":"Enables the entries command without any pre-configured scope.","commands":{"allow":["entries"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-has":{"identifier":"allow-has","description":"Enables the has command without any pre-configured scope.","commands":{"allow":["has"],"deny":[]}},"allow-keys":{"identifier":"allow-keys","description":"Enables the keys command without any pre-configured scope.","commands":{"allow":["keys"],"deny":[]}},"allow-length":{"identifier":"allow-length","description":"Enables the length command without any pre-configured scope.","commands":{"allow":["length"],"deny":[]}},"allow-load":{"identifier":"allow-load","description":"Enables the load command without any pre-configured scope.","commands":{"allow":["load"],"deny":[]}},"allow-reset":{"identifier":"allow-reset","description":"Enables the reset command without any pre-configured scope.","commands":{"allow":["reset"],"deny":[]}},"allow-save":{"identifier":"allow-save","description":"Enables the save command without any pre-configured scope.","commands":{"allow":["save"],"deny":[]}},"allow-set":{"identifier":"allow-set","description":"Enables the set command without any pre-configured scope.","commands":{"allow":["set"],"deny":[]}},"allow-values":{"identifier":"allow-values","description":"Enables the values command without any pre-configured scope.","commands":{"allow":["values"],"deny":[]}},"deny-clear":{"identifier":"deny-clear","description":"Denies the clear command without any pre-configured scope.","commands":{"allow":[],"deny":["clear"]}},"deny-delete":{"identifier":"deny-delete","description":"Denies the delete command without any pre-configured scope.","commands":{"allow":[],"deny":["delete"]}},"deny-entries":{"identifier":"deny-entries","description":"Denies the entries command without any pre-configured scope.","commands":{"allow":[],"deny":["entries"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-has":{"identifier":"deny-has","description":"Denies the has command without any pre-configured scope.","commands":{"allow":[],"deny":["has"]}},"deny-keys":{"identifier":"deny-keys","description":"Denies the keys command without any pre-configured scope.","commands":{"allow":[],"deny":["keys"]}},"deny-length":{"identifier":"deny-length","description":"Denies the length command without any pre-configured scope.","commands":{"allow":[],"deny":["length"]}},"deny-load":{"identifier":"deny-load","description":"Denies the load command without any pre-configured scope.","commands":{"allow":[],"deny":["load"]}},"deny-reset":{"identifier":"deny-reset","description":"Denies the reset command without any pre-configured scope.","commands":{"allow":[],"deny":["reset"]}},"deny-save":{"identifier":"deny-save","description":"Denies the save command without any pre-configured scope.","commands":{"allow":[],"deny":["save"]}},"deny-set":{"identifier":"deny-set","description":"Denies the set command without any pre-configured scope.","commands":{"allow":[],"deny":["set"]}},"deny-values":{"identifier":"deny-values","description":"Denies the values command without any pre-configured scope.","commands":{"allow":[],"deny":["values"]}}},"permission_sets":{},"global_scope_schema":null},"tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","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},"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},"webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"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-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-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-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"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-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-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-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-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"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},"window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["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-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","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-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-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-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-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-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"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-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-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"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-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-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-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-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-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-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"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-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-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"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-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}}\ No newline at end of filediff --git a/examples/apps/screen-pipe-app/src-tauri/gen/schemas/capabilities.json b/examples/apps/screen-pipe-app/src-tauri/gen/schemas/capabilities.jsonnew file mode 100644index 000000000..38bd88597--- /dev/null+++ b/examples/apps/screen-pipe-app/src-tauri/gen/schemas/capabilities.json@@ -0,0 +1 @@+{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["main"],"permissions":["path:default","event:default","window:default","app:default","resources:default","menu:default","tray:default","shell:default","store:allow-get","store:allow-set","store:allow-save","store:allow-load",{"identifier":"shell:allow-execute","allow":[{"args":["-c",{"validator":"\\S+"}],"cmd":"sh","name":"exec-sh","sidecar":false}]},"cli:default","updater:default"]}}\ No newline at end of filediff --git a/examples/apps/screen-pipe-app/src-tauri/gen/schemas/desktop-schema.json b/examples/apps/screen-pipe-app/src-tauri/gen/schemas/desktop-schema.jsonnew file mode 100644index 000000000..19205eb6e--- /dev/null+++ b/examples/apps/screen-pipe-app/src-tauri/gen/schemas/desktop-schema.json@@ -0,0 +1,2748 @@+{+ "$schema": "http://json-schema.org/draft-07/schema#",+ "title": "CapabilityFile",+ "description": "Capability formats accepted in a capability file.",+ "anyOf": [+ {+ "description": "A single capability.",+ "allOf": [+ {+ "$ref": "#/definitions/Capability"+ }+ ]+ },+ {+ "description": "A list of capabilities.",+ "type": "array",+ "items": {+ "$ref": "#/definitions/Capability"+ }+ },+ {+ "description": "A list of capabilities.",+ "type": "object",+ "required": [+ "capabilities"+ ],+ "properties": {+ "capabilities": {+ "description": "The list of capabilities.",+ "type": "array",+ "items": {+ "$ref": "#/definitions/Capability"+ }+ }+ }+ }+ ],+ "definitions": {+ "Capability": {+ "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"path:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",+ "type": "object",+ "required": [+ "identifier",+ "permissions"+ ],+ "properties": {+ "identifier": {+ "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",+ "type": "string"+ },+ "description": {+ "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",+ "default": "",+ "type": "string"+ },+ "remote": {+ "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",+ "anyOf": [+ {+ "$ref": "#/definitions/CapabilityRemote"+ },+ {+ "type": "null"+ }+ ]+ },+ "local": {+ "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",+ "default": true,+ "type": "boolean"+ },+ "windows": {+ "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "webviews": {+ "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "permissions": {+ "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"path:default\", \"event:default\", \"window:default\", \"app:default\", \"image:default\", \"resources:default\", \"menu:default\", \"tray:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",+ "type": "array",+ "items": {+ "$ref": "#/definitions/PermissionEntry"+ },+ "uniqueItems": true+ },+ "platforms": {+ "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",+ "type": [+ "array",+ "null"+ ],+ "items": {+ "$ref": "#/definitions/Target"+ }+ }+ }+ },+ "CapabilityRemote": {+ "description": "Configuration for remote URLs that are associated with the capability.",+ "type": "object",+ "required": [+ "urls"+ ],+ "properties": {+ "urls": {+ "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",+ "type": "array",+ "items": {+ "type": "string"+ }+ }+ }+ },+ "PermissionEntry": {+ "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",+ "anyOf": [+ {+ "description": "Reference a permission or permission set by identifier.",+ "allOf": [+ {+ "$ref": "#/definitions/Identifier"+ }+ ]+ },+ {+ "description": "Reference a permission or permission set by identifier and extends its scope.",+ "type": "object",+ "oneOf": [+ {+ "type": "object",+ "required": [+ "identifier"+ ],+ "properties": {+ "identifier": {+ "oneOf": [+ {+ "description": "shell:default -> This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n",+ "type": "string",+ "enum": [+ "shell:default"+ ]+ },+ {+ "description": "shell:allow-execute -> Enables the execute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-execute"+ ]+ },+ {+ "description": "shell:allow-kill -> Enables the kill command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-kill"+ ]+ },+ {+ "description": "shell:allow-open -> Enables the open command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-open"+ ]+ },+ {+ "description": "shell:allow-spawn -> Enables the spawn command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-spawn"+ ]+ },+ {+ "description": "shell:allow-stdin-write -> Enables the stdin_write command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-stdin-write"+ ]+ },+ {+ "description": "shell:deny-execute -> Denies the execute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-execute"+ ]+ },+ {+ "description": "shell:deny-kill -> Denies the kill command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-kill"+ ]+ },+ {+ "description": "shell:deny-open -> Denies the open command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-open"+ ]+ },+ {+ "description": "shell:deny-spawn -> Denies the spawn command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-spawn"+ ]+ },+ {+ "description": "shell:deny-stdin-write -> Denies the stdin_write command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-stdin-write"+ ]+ }+ ]+ },+ "allow": {+ "items": {+ "title": "Entry",+ "description": "A command allowed to be executed by the webview API.",+ "type": "object",+ "required": [+ "args",+ "cmd",+ "name",+ "sidecar"+ ],+ "properties": {+ "args": {+ "description": "The allowed arguments for the command execution.",+ "allOf": [+ {+ "$ref": "#/definitions/ShellAllowedArgs"+ }+ ]+ },+ "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`, `$APP`, `$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"+ },+ "sidecar": {+ "description": "If this command is a sidecar command.",+ "type": "boolean"+ }+ }+ }+ },+ "deny": {+ "items": {+ "title": "Entry",+ "description": "A command allowed to be executed by the webview API.",+ "type": "object",+ "required": [+ "args",+ "cmd",+ "name",+ "sidecar"+ ],+ "properties": {+ "args": {+ "description": "The allowed arguments for the command execution.",+ "allOf": [+ {+ "$ref": "#/definitions/ShellAllowedArgs"+ }+ ]+ },+ "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`, `$APP`, `$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"+ },+ "sidecar": {+ "description": "If this command is a sidecar command.",+ "type": "boolean"+ }+ }+ }+ }+ }+ }+ ]+ }+ ]+ },+ "Identifier": {+ "oneOf": [+ {+ "description": "app:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "app:default"+ ]+ },+ {+ "description": "app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-app-hide"+ ]+ },+ {+ "description": "app:allow-app-show -> Enables the app_show command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-app-show"+ ]+ },+ {+ "description": "app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-default-window-icon"+ ]+ },+ {+ "description": "app:allow-name -> Enables the name command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-name"+ ]+ },+ {+ "description": "app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-tauri-version"+ ]+ },+ {+ "description": "app:allow-version -> Enables the version command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-version"+ ]+ },+ {+ "description": "app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-app-hide"+ ]+ },+ {+ "description": "app:deny-app-show -> Denies the app_show command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-app-show"+ ]+ },+ {+ "description": "app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-default-window-icon"+ ]+ },+ {+ "description": "app:deny-name -> Denies the name command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-name"+ ]+ },+ {+ "description": "app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-tauri-version"+ ]+ },+ {+ "description": "app:deny-version -> Denies the version command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-version"+ ]+ },+ {+ "description": "autostart:default -> This permission set configures if your\napplication can enable or disable auto\nstarting the application on boot.\n\n#### Granted Permissions\n\nIt allows all to check, enable and\ndisable the automatic start on boot.\n\n",+ "type": "string",+ "enum": [+ "autostart:default"+ ]+ },+ {+ "description": "autostart:allow-disable -> Enables the disable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:allow-disable"+ ]+ },+ {+ "description": "autostart:allow-enable -> Enables the enable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:allow-enable"+ ]+ },+ {+ "description": "autostart:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:allow-is-enabled"+ ]+ },+ {+ "description": "autostart:deny-disable -> Denies the disable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:deny-disable"+ ]+ },+ {+ "description": "autostart:deny-enable -> Denies the enable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:deny-enable"+ ]+ },+ {+ "description": "autostart:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:deny-is-enabled"+ ]+ },+ {+ "description": "cli:default -> Allows reading the CLI matches",+ "type": "string",+ "enum": [+ "cli:default"+ ]+ },+ {+ "description": "cli:allow-cli-matches -> Enables the cli_matches command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "cli:allow-cli-matches"+ ]+ },+ {+ "description": "cli:deny-cli-matches -> Denies the cli_matches command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "cli:deny-cli-matches"+ ]+ },+ {+ "description": "event:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "event:default"+ ]+ },+ {+ "description": "event:allow-emit -> Enables the emit command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:allow-emit"+ ]+ },+ {+ "description": "event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:allow-emit-to"+ ]+ },+ {+ "description": "event:allow-listen -> Enables the listen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:allow-listen"+ ]+ },+ {+ "description": "event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:allow-unlisten"+ ]+ },+ {+ "description": "event:deny-emit -> Denies the emit command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:deny-emit"+ ]+ },+ {+ "description": "event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:deny-emit-to"+ ]+ },+ {+ "description": "event:deny-listen -> Denies the listen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:deny-listen"+ ]+ },+ {+ "description": "event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:deny-unlisten"+ ]+ },+ {+ "description": "image:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "image:default"+ ]+ },+ {+ "description": "image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-from-bytes"+ ]+ },+ {+ "description": "image:allow-from-path -> Enables the from_path command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-from-path"+ ]+ },+ {+ "description": "image:allow-new -> Enables the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-new"+ ]+ },+ {+ "description": "image:allow-rgba -> Enables the rgba command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-rgba"+ ]+ },+ {+ "description": "image:allow-size -> Enables the size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-size"+ ]+ },+ {+ "description": "image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-from-bytes"+ ]+ },+ {+ "description": "image:deny-from-path -> Denies the from_path command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-from-path"+ ]+ },+ {+ "description": "image:deny-new -> Denies the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-new"+ ]+ },+ {+ "description": "image:deny-rgba -> Denies the rgba command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-rgba"+ ]+ },+ {+ "description": "image:deny-size -> Denies the size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-size"+ ]+ },+ {+ "description": "menu:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "menu:default"+ ]+ },+ {+ "description": "menu:allow-append -> Enables the append command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-append"+ ]+ },+ {+ "description": "menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-create-default"+ ]+ },+ {+ "description": "menu:allow-get -> Enables the get command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-get"+ ]+ },+ {+ "description": "menu:allow-insert -> Enables the insert command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-insert"+ ]+ },+ {+ "description": "menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-is-checked"+ ]+ },+ {+ "description": "menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-is-enabled"+ ]+ },+ {+ "description": "menu:allow-items -> Enables the items command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-items"+ ]+ },+ {+ "description": "menu:allow-new -> Enables the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-new"+ ]+ },+ {+ "description": "menu:allow-popup -> Enables the popup command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-popup"+ ]+ },+ {+ "description": "menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-prepend"+ ]+ },+ {+ "description": "menu:allow-remove -> Enables the remove command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-remove"+ ]+ },+ {+ "description": "menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-remove-at"+ ]+ },+ {+ "description": "menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-accelerator"+ ]+ },+ {+ "description": "menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-as-app-menu"+ ]+ },+ {+ "description": "menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-as-help-menu-for-nsapp"+ ]+ },+ {+ "description": "menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-as-window-menu"+ ]+ },+ {+ "description": "menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-as-windows-menu-for-nsapp"+ ]+ },+ {+ "description": "menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-checked"+ ]+ },+ {+ "description": "menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-enabled"+ ]+ },+ {+ "description": "menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-icon"+ ]+ },+ {+ "description": "menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-text"+ ]+ },+ {+ "description": "menu:allow-text -> Enables the text command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-text"+ ]+ },+ {+ "description": "menu:deny-append -> Denies the append command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-append"+ ]+ },+ {+ "description": "menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-create-default"+ ]+ },+ {+ "description": "menu:deny-get -> Denies the get command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-get"+ ]+ },+ {+ "description": "menu:deny-insert -> Denies the insert command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-insert"+ ]+ },+ {+ "description": "menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-is-checked"+ ]+ },+ {+ "description": "menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-is-enabled"+ ]+ },+ {+ "description": "menu:deny-items -> Denies the items command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-items"+ ]+ },+ {+ "description": "menu:deny-new -> Denies the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-new"+ ]+ },+ {+ "description": "menu:deny-popup -> Denies the popup command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-popup"+ ]+ },+ {+ "description": "menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-prepend"+ ]+ },+ {+ "description": "menu:deny-remove -> Denies the remove command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-remove"+ ]+ },+ {+ "description": "menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-remove-at"+ ]+ },+ {+ "description": "menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-accelerator"+ ]+ },+ {+ "description": "menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-as-app-menu"+ ]+ },+ {+ "description": "menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-as-help-menu-for-nsapp"+ ]+ },+ {+ "description": "menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-as-window-menu"+ ]+ },+ {+ "description": "menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-as-windows-menu-for-nsapp"+ ]+ },+ {+ "description": "menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-checked"+ ]+ },+ {+ "description": "menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-enabled"+ ]+ },+ {+ "description": "menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-icon"+ ]+ },+ {+ "description": "menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-text"+ ]+ },+ {+ "description": "menu:deny-text -> Denies the text command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-text"+ ]+ },+ {+ "description": "path:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "path:default"+ ]+ },+ {+ "description": "path:allow-basename -> Enables the basename command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-basename"+ ]+ },+ {+ "description": "path:allow-dirname -> Enables the dirname command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-dirname"+ ]+ },+ {+ "description": "path:allow-extname -> Enables the extname command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-extname"+ ]+ },+ {+ "description": "path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-is-absolute"+ ]+ },+ {+ "description": "path:allow-join -> Enables the join command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-join"+ ]+ },+ {+ "description": "path:allow-normalize -> Enables the normalize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-normalize"+ ]+ },+ {+ "description": "path:allow-resolve -> Enables the resolve command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-resolve"+ ]+ },+ {+ "description": "path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-resolve-directory"+ ]+ },+ {+ "description": "path:deny-basename -> Denies the basename command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-basename"+ ]+ },+ {+ "description": "path:deny-dirname -> Denies the dirname command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-dirname"+ ]+ },+ {+ "description": "path:deny-extname -> Denies the extname command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-extname"+ ]+ },+ {+ "description": "path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-is-absolute"+ ]+ },+ {+ "description": "path:deny-join -> Denies the join command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-join"+ ]+ },+ {+ "description": "path:deny-normalize -> Denies the normalize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-normalize"+ ]+ },+ {+ "description": "path:deny-resolve -> Denies the resolve command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-resolve"+ ]+ },+ {+ "description": "path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-resolve-directory"+ ]+ },+ {+ "description": "resources:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "resources:default"+ ]+ },+ {+ "description": "resources:allow-close -> Enables the close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "resources:allow-close"+ ]+ },+ {+ "description": "resources:deny-close -> Denies the close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "resources:deny-close"+ ]+ },+ {+ "description": "shell:default -> This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n",+ "type": "string",+ "enum": [+ "shell:default"+ ]+ },+ {+ "description": "shell:allow-execute -> Enables the execute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-execute"+ ]+ },+ {+ "description": "shell:allow-kill -> Enables the kill command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-kill"+ ]+ },+ {+ "description": "shell:allow-open -> Enables the open command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-open"+ ]+ },+ {+ "description": "shell:allow-spawn -> Enables the spawn command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-spawn"+ ]+ },+ {+ "description": "shell:allow-stdin-write -> Enables the stdin_write command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-stdin-write"+ ]+ },+ {+ "description": "shell:deny-execute -> Denies the execute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-execute"+ ]+ },+ {+ "description": "shell:deny-kill -> Denies the kill command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-kill"+ ]+ },+ {+ "description": "shell:deny-open -> Denies the open command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-open"+ ]+ },+ {+ "description": "shell:deny-spawn -> Denies the spawn command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-spawn"+ ]+ },+ {+ "description": "shell:deny-stdin-write -> Denies the stdin_write command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-stdin-write"+ ]+ },+ {+ "description": "store:default -> This permission set configures what kind of\noperations are available from the store plugin.\n\n#### Granted Permissions\n\nAll operations are enabled by default.\n\n",+ "type": "string",+ "enum": [+ "store:default"+ ]+ },+ {+ "description": "store:allow-clear -> Enables the clear command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-clear"+ ]+ },+ {+ "description": "store:allow-delete -> Enables the delete command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-delete"+ ]+ },+ {+ "description": "store:allow-entries -> Enables the entries command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-entries"+ ]+ },+ {+ "description": "store:allow-get -> Enables the get command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-get"+ ]+ },+ {+ "description": "store:allow-has -> Enables the has command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-has"+ ]+ },+ {+ "description": "store:allow-keys -> Enables the keys command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-keys"+ ]+ },+ {+ "description": "store:allow-length -> Enables the length command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-length"+ ]+ },+ {+ "description": "store:allow-load -> Enables the load command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-load"+ ]+ },+ {+ "description": "store:allow-reset -> Enables the reset command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-reset"+ ]+ },+ {+ "description": "store:allow-save -> Enables the save command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-save"+ ]+ },+ {+ "description": "store:allow-set -> Enables the set command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-set"+ ]+ },+ {+ "description": "store:allow-values -> Enables the values command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-values"+ ]+ },+ {+ "description": "store:deny-clear -> Denies the clear command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-clear"+ ]+ },+ {+ "description": "store:deny-delete -> Denies the delete command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-delete"+ ]+ },+ {+ "description": "store:deny-entries -> Denies the entries command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-entries"+ ]+ },+ {+ "description": "store:deny-get -> Denies the get command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-get"+ ]+ },+ {+ "description": "store:deny-has -> Denies the has command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-has"+ ]+ },+ {+ "description": "store:deny-keys -> Denies the keys command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-keys"+ ]+ },+ {+ "description": "store:deny-length -> Denies the length command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-length"+ ]+ },+ {+ "description": "store:deny-load -> Denies the load command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-load"+ ]+ },+ {+ "description": "store:deny-reset -> Denies the reset command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-reset"+ ]+ },+ {+ "description": "store:deny-save -> Denies the save command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-save"+ ]+ },+ {+ "description": "store:deny-set -> Denies the set command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-set"+ ]+ },+ {+ "description": "store:deny-values -> Denies the values command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-values"+ ]+ },+ {+ "description": "tray:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "tray:default"+ ]+ },+ {+ "description": "tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-get-by-id"+ ]+ },+ {+ "description": "tray:allow-new -> Enables the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-new"+ ]+ },+ {+ "description": "tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-remove-by-id"+ ]+ },+ {+ "description": "tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-icon"+ ]+ },+ {+ "description": "tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-icon-as-template"+ ]+ },+ {+ "description": "tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-menu"+ ]+ },+ {+ "description": "tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-show-menu-on-left-click"+ ]+ },+ {+ "description": "tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-temp-dir-path"+ ]+ },+ {+ "description": "tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-title"+ ]+ },+ {+ "description": "tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-tooltip"+ ]+ },+ {+ "description": "tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-visible"+ ]+ },+ {+ "description": "tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-get-by-id"+ ]+ },+ {+ "description": "tray:deny-new -> Denies the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-new"+ ]+ },+ {+ "description": "tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-remove-by-id"+ ]+ },+ {+ "description": "tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-icon"+ ]+ },+ {+ "description": "tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-icon-as-template"+ ]+ },+ {+ "description": "tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-menu"+ ]+ },+ {+ "description": "tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-show-menu-on-left-click"+ ]+ },+ {+ "description": "tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-temp-dir-path"+ ]+ },+ {+ "description": "tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-title"+ ]+ },+ {+ "description": "tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-tooltip"+ ]+ },+ {+ "description": "tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-visible"+ ]+ },+ {+ "description": "updater:default -> 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",+ "type": "string",+ "enum": [+ "updater:default"+ ]+ },+ {+ "description": "updater:allow-check -> Enables the check command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:allow-check"+ ]+ },+ {+ "description": "updater:allow-download -> Enables the download command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:allow-download"+ ]+ },+ {+ "description": "updater:allow-download-and-install -> Enables the download_and_install command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:allow-download-and-install"+ ]+ },+ {+ "description": "updater:allow-install -> Enables the install command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:allow-install"+ ]+ },+ {+ "description": "updater:deny-check -> Denies the check command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:deny-check"+ ]+ },+ {+ "description": "updater:deny-download -> Denies the download command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:deny-download"+ ]+ },+ {+ "description": "updater:deny-download-and-install -> Denies the download_and_install command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:deny-download-and-install"+ ]+ },+ {+ "description": "updater:deny-install -> Denies the install command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:deny-install"+ ]+ },+ {+ "description": "webview:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "webview:default"+ ]+ },+ {+ "description": "webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-create-webview"+ ]+ },+ {+ "description": "webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-create-webview-window"+ ]+ },+ {+ "description": "webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-internal-toggle-devtools"+ ]+ },+ {+ "description": "webview:allow-print -> Enables the print command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-print"+ ]+ },+ {+ "description": "webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-reparent"+ ]+ },+ {+ "description": "webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-set-webview-focus"+ ]+ },+ {+ "description": "webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-set-webview-position"+ ]+ },+ {+ "description": "webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-set-webview-size"+ ]+ },+ {+ "description": "webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-set-webview-zoom"+ ]+ },+ {+ "description": "webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-webview-close"+ ]+ },+ {+ "description": "webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-webview-position"+ ]+ },+ {+ "description": "webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-webview-size"+ ]+ },+ {+ "description": "webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-create-webview"+ ]+ },+ {+ "description": "webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-create-webview-window"+ ]+ },+ {+ "description": "webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-internal-toggle-devtools"+ ]+ },+ {+ "description": "webview:deny-print -> Denies the print command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-print"+ ]+ },+ {+ "description": "webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-reparent"+ ]+ },+ {+ "description": "webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-set-webview-focus"+ ]+ },+ {+ "description": "webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-set-webview-position"+ ]+ },+ {+ "description": "webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-set-webview-size"+ ]+ },+ {+ "description": "webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-set-webview-zoom"+ ]+ },+ {+ "description": "webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-webview-close"+ ]+ },+ {+ "description": "webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-webview-position"+ ]+ },+ {+ "description": "webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-webview-size"+ ]+ },+ {+ "description": "window:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "window:default"+ ]+ },+ {+ "description": "window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-available-monitors"+ ]+ },+ {+ "description": "window:allow-center -> Enables the center command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-center"+ ]+ },+ {+ "description": "window:allow-close -> Enables the close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-close"+ ]+ },+ {+ "description": "window:allow-create -> Enables the create command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-create"+ ]+ },+ {+ "description": "window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-current-monitor"+ ]+ },+ {+ "description": "window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-cursor-position"+ ]+ },+ {+ "description": "window:allow-destroy -> Enables the destroy command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-destroy"+ ]+ },+ {+ "description": "window:allow-hide -> Enables the hide command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-hide"+ ]+ },+ {+ "description": "window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-inner-position"+ ]+ },+ {+ "description": "window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-inner-size"+ ]+ },+ {+ "description": "window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-internal-toggle-maximize"+ ]+ },+ {+ "description": "window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-closable"+ ]+ },+ {+ "description": "window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-decorated"+ ]+ },+ {+ "description": "window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-focused"+ ]+ },+ {+ "description": "window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-fullscreen"+ ]+ },+ {+ "description": "window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-maximizable"+ ]+ },+ {+ "description": "window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-maximized"+ ]+ },+ {+ "description": "window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-minimizable"+ ]+ },+ {+ "description": "window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-minimized"+ ]+ },+ {+ "description": "window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-resizable"+ ]+ },+ {+ "description": "window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-visible"+ ]+ },+ {+ "description": "window:allow-maximize -> Enables the maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-maximize"+ ]+ },+ {+ "description": "window:allow-minimize -> Enables the minimize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-minimize"+ ]+ },+ {+ "description": "window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-monitor-from-point"+ ]+ },+ {+ "description": "window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-outer-position"+ ]+ },+ {+ "description": "window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-outer-size"+ ]+ },+ {+ "description": "window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-primary-monitor"+ ]+ },+ {+ "description": "window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-request-user-attention"+ ]+ },+ {+ "description": "window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-scale-factor"+ ]+ },+ {+ "description": "window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-always-on-bottom"+ ]+ },+ {+ "description": "window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-always-on-top"+ ]+ },+ {+ "description": "window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-closable"+ ]+ },+ {+ "description": "window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-content-protected"+ ]+ },+ {+ "description": "window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-cursor-grab"+ ]+ },+ {+ "description": "window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-cursor-icon"+ ]+ },+ {+ "description": "window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-cursor-position"+ ]+ },+ {+ "description": "window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-cursor-visible"+ ]+ },+ {+ "description": "window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-decorations"+ ]+ },+ {+ "description": "window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-effects"+ ]+ },+ {+ "description": "window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-focus"+ ]+ },+ {+ "description": "window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-fullscreen"+ ]+ },+ {+ "description": "window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-icon"+ ]+ },+ {+ "description": "window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-ignore-cursor-events"+ ]+ },+ {+ "description": "window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-max-size"+ ]+ },+ {+ "description": "window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-maximizable"+ ]+ },+ {+ "description": "window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-min-size"+ ]+ },+ {+ "description": "window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-minimizable"+ ]+ },+ {+ "description": "window:allow-set-position -> Enables the set_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-position"+ ]+ },+ {+ "description": "window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-progress-bar"+ ]+ },+ {+ "description": "window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-resizable"+ ]+ },+ {+ "description": "window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-shadow"+ ]+ },+ {+ "description": "window:allow-set-size -> Enables the set_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-size"+ ]+ },+ {+ "description": "window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-skip-taskbar"+ ]+ },+ {+ "description": "window:allow-set-title -> Enables the set_title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-title"+ ]+ },+ {+ "description": "window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-title-bar-style"+ ]+ },+ {+ "description": "window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-visible-on-all-workspaces"+ ]+ },+ {+ "description": "window:allow-show -> Enables the show command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-show"+ ]+ },+ {+ "description": "window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-start-dragging"+ ]+ },+ {+ "description": "window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-start-resize-dragging"+ ]+ },+ {+ "description": "window:allow-theme -> Enables the theme command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-theme"+ ]+ },+ {+ "description": "window:allow-title -> Enables the title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-title"+ ]+ },+ {+ "description": "window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-toggle-maximize"+ ]+ },+ {+ "description": "window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-unmaximize"+ ]+ },+ {+ "description": "window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-unminimize"+ ]+ },+ {+ "description": "window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-available-monitors"+ ]+ },+ {+ "description": "window:deny-center -> Denies the center command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-center"+ ]+ },+ {+ "description": "window:deny-close -> Denies the close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-close"+ ]+ },+ {+ "description": "window:deny-create -> Denies the create command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-create"+ ]+ },+ {+ "description": "window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-current-monitor"+ ]+ },+ {+ "description": "window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-cursor-position"+ ]+ },+ {+ "description": "window:deny-destroy -> Denies the destroy command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-destroy"+ ]+ },+ {+ "description": "window:deny-hide -> Denies the hide command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-hide"+ ]+ },+ {+ "description": "window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-inner-position"+ ]+ },+ {+ "description": "window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-inner-size"+ ]+ },+ {+ "description": "window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-internal-toggle-maximize"+ ]+ },+ {+ "description": "window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-closable"+ ]+ },+ {+ "description": "window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-decorated"+ ]+ },+ {+ "description": "window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-focused"+ ]+ },+ {+ "description": "window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-fullscreen"+ ]+ },+ {+ "description": "window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-maximizable"+ ]+ },+ {+ "description": "window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-maximized"+ ]+ },+ {+ "description": "window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-minimizable"+ ]+ },+ {+ "description": "window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-minimized"+ ]+ },+ {+ "description": "window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-resizable"+ ]+ },+ {+ "description": "window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-visible"+ ]+ },+ {+ "description": "window:deny-maximize -> Denies the maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-maximize"+ ]+ },+ {+ "description": "window:deny-minimize -> Denies the minimize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-minimize"+ ]+ },+ {+ "description": "window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-monitor-from-point"+ ]+ },+ {+ "description": "window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-outer-position"+ ]+ },+ {+ "description": "window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-outer-size"+ ]+ },+ {+ "description": "window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-primary-monitor"+ ]+ },+ {+ "description": "window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-request-user-attention"+ ]+ },+ {+ "description": "window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-scale-factor"+ ]+ },+ {+ "description": "window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-always-on-bottom"+ ]+ },+ {+ "description": "window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-always-on-top"+ ]+ },+ {+ "description": "window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-closable"+ ]+ },+ {+ "description": "window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-content-protected"+ ]+ },+ {+ "description": "window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-cursor-grab"+ ]+ },+ {+ "description": "window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-cursor-icon"+ ]+ },+ {+ "description": "window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-cursor-position"+ ]+ },+ {+ "description": "window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-cursor-visible"+ ]+ },+ {+ "description": "window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-decorations"+ ]+ },+ {+ "description": "window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-effects"+ ]+ },+ {+ "description": "window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-focus"+ ]+ },+ {+ "description": "window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-fullscreen"+ ]+ },+ {+ "description": "window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-icon"+ ]+ },+ {+ "description": "window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-ignore-cursor-events"+ ]+ },+ {+ "description": "window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-max-size"+ ]+ },+ {+ "description": "window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-maximizable"+ ]+ },+ {+ "description": "window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-min-size"+ ]+ },+ {+ "description": "window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-minimizable"+ ]+ },+ {+ "description": "window:deny-set-position -> Denies the set_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-position"+ ]+ },+ {+ "description": "window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-progress-bar"+ ]+ },+ {+ "description": "window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-resizable"+ ]+ },+ {+ "description": "window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-shadow"+ ]+ },+ {+ "description": "window:deny-set-size -> Denies the set_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-size"+ ]+ },+ {+ "description": "window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-skip-taskbar"+ ]+ },+ {+ "description": "window:deny-set-title -> Denies the set_title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-title"+ ]+ },+ {+ "description": "window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-title-bar-style"+ ]+ },+ {+ "description": "window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-visible-on-all-workspaces"+ ]+ },+ {+ "description": "window:deny-show -> Denies the show command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-show"+ ]+ },+ {+ "description": "window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-start-dragging"+ ]+ },+ {+ "description": "window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-start-resize-dragging"+ ]+ },+ {+ "description": "window:deny-theme -> Denies the theme command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-theme"+ ]+ },+ {+ "description": "window:deny-title -> Denies the title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-title"+ ]+ },+ {+ "description": "window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-toggle-maximize"+ ]+ },+ {+ "description": "window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-unmaximize"+ ]+ },+ {+ "description": "window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-unminimize"+ ]+ }+ ]+ },+ "Value": {+ "description": "All supported ACL values.",+ "anyOf": [+ {+ "description": "Represents a null JSON value.",+ "type": "null"+ },+ {+ "description": "Represents a [`bool`].",+ "type": "boolean"+ },+ {+ "description": "Represents a valid ACL [`Number`].",+ "allOf": [+ {+ "$ref": "#/definitions/Number"+ }+ ]+ },+ {+ "description": "Represents a [`String`].",+ "type": "string"+ },+ {+ "description": "Represents a list of other [`Value`]s.",+ "type": "array",+ "items": {+ "$ref": "#/definitions/Value"+ }+ },+ {+ "description": "Represents a map of [`String`] keys to [`Value`]s.",+ "type": "object",+ "additionalProperties": {+ "$ref": "#/definitions/Value"+ }+ }+ ]+ },+ "Number": {+ "description": "A valid ACL number.",+ "anyOf": [+ {+ "description": "Represents an [`i64`].",+ "type": "integer",+ "format": "int64"+ },+ {+ "description": "Represents a [`f64`].",+ "type": "number",+ "format": "double"+ }+ ]+ },+ "Target": {+ "description": "Platform target.",+ "oneOf": [+ {+ "description": "MacOS.",+ "type": "string",+ "enum": [+ "macOS"+ ]+ },+ {+ "description": "Windows.",+ "type": "string",+ "enum": [+ "windows"+ ]+ },+ {+ "description": "Linux.",+ "type": "string",+ "enum": [+ "linux"+ ]+ },+ {+ "description": "Android.",+ "type": "string",+ "enum": [+ "android"+ ]+ },+ {+ "description": "iOS.",+ "type": "string",+ "enum": [+ "iOS"+ ]+ }+ ]+ },+ "ShellAllowedArg": {+ "description": "A command argument allowed to be executed by the webview API.",+ "anyOf": [+ {+ "description": "A non-configurable argument that is passed to the command in the order it was specified.",+ "type": "string"+ },+ {+ "description": "A variable that is set while calling the command from the webview API.",+ "type": "object",+ "required": [+ "validator"+ ],+ "properties": {+ "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\n[regex]: https://docs.rs/regex/latest/regex/#syntax",+ "type": "string"+ }+ },+ "additionalProperties": false+ }+ ]+ },+ "ShellAllowedArgs": {+ "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 [`ShellAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration.",+ "anyOf": [+ {+ "description": "Use a simple boolean to allow all or disable all arguments to this command configuration.",+ "type": "boolean"+ },+ {+ "description": "A specific set of [`ShellAllowedArg`] that are valid to call for the command configuration.",+ "type": "array",+ "items": {+ "$ref": "#/definitions/ShellAllowedArg"+ }+ }+ ]+ }+ }+}\ No newline at end of filediff --git a/examples/apps/screen-pipe-app/src-tauri/gen/schemas/macOS-schema.json b/examples/apps/screen-pipe-app/src-tauri/gen/schemas/macOS-schema.jsonnew file mode 100644index 000000000..19205eb6e--- /dev/null+++ b/examples/apps/screen-pipe-app/src-tauri/gen/schemas/macOS-schema.json@@ -0,0 +1,2748 @@+{+ "$schema": "http://json-schema.org/draft-07/schema#",+ "title": "CapabilityFile",+ "description": "Capability formats accepted in a capability file.",+ "anyOf": [+ {+ "description": "A single capability.",+ "allOf": [+ {+ "$ref": "#/definitions/Capability"+ }+ ]+ },+ {+ "description": "A list of capabilities.",+ "type": "array",+ "items": {+ "$ref": "#/definitions/Capability"+ }+ },+ {+ "description": "A list of capabilities.",+ "type": "object",+ "required": [+ "capabilities"+ ],+ "properties": {+ "capabilities": {+ "description": "The list of capabilities.",+ "type": "array",+ "items": {+ "$ref": "#/definitions/Capability"+ }+ }+ }+ }+ ],+ "definitions": {+ "Capability": {+ "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows fine grained access to the Tauri core, application, or plugin commands. If a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create groups of windows, based on their required system access, which can reduce impact of frontend vulnerabilities in less privileged windows. Windows can be added to a capability by exact name (e.g. `main-window`) or glob patterns like `*` or `admin-*`. A Window can have none, one, or multiple associated capabilities.\n\n## Example\n\n```json { \"identifier\": \"main-user-files-write\", \"description\": \"This capability allows the `main` window on macOS and Windows access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"path:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, \"platforms\": [\"macOS\",\"windows\"] } ```",+ "type": "object",+ "required": [+ "identifier",+ "permissions"+ ],+ "properties": {+ "identifier": {+ "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",+ "type": "string"+ },+ "description": {+ "description": "Description of what the capability is intended to allow on associated windows.\n\nIt should contain a description of what the grouped permissions should allow.\n\n## Example\n\nThis capability allows the `main` window access to `filesystem` write related commands and `dialog` commands to enable programatic access to files selected by the user.",+ "default": "",+ "type": "string"+ },+ "remote": {+ "description": "Configure remote URLs that can use the capability permissions.\n\nThis setting is optional and defaults to not being set, as our default use case is that the content is served from our local application.\n\n:::caution Make sure you understand the security implications of providing remote sources with local system access. :::\n\n## Example\n\n```json { \"urls\": [\"https://*.mydomain.dev\"] } ```",+ "anyOf": [+ {+ "$ref": "#/definitions/CapabilityRemote"+ },+ {+ "type": "null"+ }+ ]+ },+ "local": {+ "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",+ "default": true,+ "type": "boolean"+ },+ "windows": {+ "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "webviews": {+ "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "permissions": {+ "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"path:default\", \"event:default\", \"window:default\", \"app:default\", \"image:default\", \"resources:default\", \"menu:default\", \"tray:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ```",+ "type": "array",+ "items": {+ "$ref": "#/definitions/PermissionEntry"+ },+ "uniqueItems": true+ },+ "platforms": {+ "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",+ "type": [+ "array",+ "null"+ ],+ "items": {+ "$ref": "#/definitions/Target"+ }+ }+ }+ },+ "CapabilityRemote": {+ "description": "Configuration for remote URLs that are associated with the capability.",+ "type": "object",+ "required": [+ "urls"+ ],+ "properties": {+ "urls": {+ "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n## Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",+ "type": "array",+ "items": {+ "type": "string"+ }+ }+ }+ },+ "PermissionEntry": {+ "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",+ "anyOf": [+ {+ "description": "Reference a permission or permission set by identifier.",+ "allOf": [+ {+ "$ref": "#/definitions/Identifier"+ }+ ]+ },+ {+ "description": "Reference a permission or permission set by identifier and extends its scope.",+ "type": "object",+ "oneOf": [+ {+ "type": "object",+ "required": [+ "identifier"+ ],+ "properties": {+ "identifier": {+ "oneOf": [+ {+ "description": "shell:default -> This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n",+ "type": "string",+ "enum": [+ "shell:default"+ ]+ },+ {+ "description": "shell:allow-execute -> Enables the execute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-execute"+ ]+ },+ {+ "description": "shell:allow-kill -> Enables the kill command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-kill"+ ]+ },+ {+ "description": "shell:allow-open -> Enables the open command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-open"+ ]+ },+ {+ "description": "shell:allow-spawn -> Enables the spawn command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-spawn"+ ]+ },+ {+ "description": "shell:allow-stdin-write -> Enables the stdin_write command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-stdin-write"+ ]+ },+ {+ "description": "shell:deny-execute -> Denies the execute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-execute"+ ]+ },+ {+ "description": "shell:deny-kill -> Denies the kill command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-kill"+ ]+ },+ {+ "description": "shell:deny-open -> Denies the open command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-open"+ ]+ },+ {+ "description": "shell:deny-spawn -> Denies the spawn command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-spawn"+ ]+ },+ {+ "description": "shell:deny-stdin-write -> Denies the stdin_write command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-stdin-write"+ ]+ }+ ]+ },+ "allow": {+ "items": {+ "title": "Entry",+ "description": "A command allowed to be executed by the webview API.",+ "type": "object",+ "required": [+ "args",+ "cmd",+ "name",+ "sidecar"+ ],+ "properties": {+ "args": {+ "description": "The allowed arguments for the command execution.",+ "allOf": [+ {+ "$ref": "#/definitions/ShellAllowedArgs"+ }+ ]+ },+ "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`, `$APP`, `$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"+ },+ "sidecar": {+ "description": "If this command is a sidecar command.",+ "type": "boolean"+ }+ }+ }+ },+ "deny": {+ "items": {+ "title": "Entry",+ "description": "A command allowed to be executed by the webview API.",+ "type": "object",+ "required": [+ "args",+ "cmd",+ "name",+ "sidecar"+ ],+ "properties": {+ "args": {+ "description": "The allowed arguments for the command execution.",+ "allOf": [+ {+ "$ref": "#/definitions/ShellAllowedArgs"+ }+ ]+ },+ "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`, `$APP`, `$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"+ },+ "sidecar": {+ "description": "If this command is a sidecar command.",+ "type": "boolean"+ }+ }+ }+ }+ }+ }+ ]+ }+ ]+ },+ "Identifier": {+ "oneOf": [+ {+ "description": "app:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "app:default"+ ]+ },+ {+ "description": "app:allow-app-hide -> Enables the app_hide command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-app-hide"+ ]+ },+ {+ "description": "app:allow-app-show -> Enables the app_show command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-app-show"+ ]+ },+ {+ "description": "app:allow-default-window-icon -> Enables the default_window_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-default-window-icon"+ ]+ },+ {+ "description": "app:allow-name -> Enables the name command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-name"+ ]+ },+ {+ "description": "app:allow-tauri-version -> Enables the tauri_version command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-tauri-version"+ ]+ },+ {+ "description": "app:allow-version -> Enables the version command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:allow-version"+ ]+ },+ {+ "description": "app:deny-app-hide -> Denies the app_hide command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-app-hide"+ ]+ },+ {+ "description": "app:deny-app-show -> Denies the app_show command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-app-show"+ ]+ },+ {+ "description": "app:deny-default-window-icon -> Denies the default_window_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-default-window-icon"+ ]+ },+ {+ "description": "app:deny-name -> Denies the name command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-name"+ ]+ },+ {+ "description": "app:deny-tauri-version -> Denies the tauri_version command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-tauri-version"+ ]+ },+ {+ "description": "app:deny-version -> Denies the version command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "app:deny-version"+ ]+ },+ {+ "description": "autostart:default -> This permission set configures if your\napplication can enable or disable auto\nstarting the application on boot.\n\n#### Granted Permissions\n\nIt allows all to check, enable and\ndisable the automatic start on boot.\n\n",+ "type": "string",+ "enum": [+ "autostart:default"+ ]+ },+ {+ "description": "autostart:allow-disable -> Enables the disable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:allow-disable"+ ]+ },+ {+ "description": "autostart:allow-enable -> Enables the enable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:allow-enable"+ ]+ },+ {+ "description": "autostart:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:allow-is-enabled"+ ]+ },+ {+ "description": "autostart:deny-disable -> Denies the disable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:deny-disable"+ ]+ },+ {+ "description": "autostart:deny-enable -> Denies the enable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:deny-enable"+ ]+ },+ {+ "description": "autostart:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "autostart:deny-is-enabled"+ ]+ },+ {+ "description": "cli:default -> Allows reading the CLI matches",+ "type": "string",+ "enum": [+ "cli:default"+ ]+ },+ {+ "description": "cli:allow-cli-matches -> Enables the cli_matches command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "cli:allow-cli-matches"+ ]+ },+ {+ "description": "cli:deny-cli-matches -> Denies the cli_matches command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "cli:deny-cli-matches"+ ]+ },+ {+ "description": "event:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "event:default"+ ]+ },+ {+ "description": "event:allow-emit -> Enables the emit command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:allow-emit"+ ]+ },+ {+ "description": "event:allow-emit-to -> Enables the emit_to command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:allow-emit-to"+ ]+ },+ {+ "description": "event:allow-listen -> Enables the listen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:allow-listen"+ ]+ },+ {+ "description": "event:allow-unlisten -> Enables the unlisten command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:allow-unlisten"+ ]+ },+ {+ "description": "event:deny-emit -> Denies the emit command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:deny-emit"+ ]+ },+ {+ "description": "event:deny-emit-to -> Denies the emit_to command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:deny-emit-to"+ ]+ },+ {+ "description": "event:deny-listen -> Denies the listen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:deny-listen"+ ]+ },+ {+ "description": "event:deny-unlisten -> Denies the unlisten command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "event:deny-unlisten"+ ]+ },+ {+ "description": "image:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "image:default"+ ]+ },+ {+ "description": "image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-from-bytes"+ ]+ },+ {+ "description": "image:allow-from-path -> Enables the from_path command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-from-path"+ ]+ },+ {+ "description": "image:allow-new -> Enables the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-new"+ ]+ },+ {+ "description": "image:allow-rgba -> Enables the rgba command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-rgba"+ ]+ },+ {+ "description": "image:allow-size -> Enables the size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:allow-size"+ ]+ },+ {+ "description": "image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-from-bytes"+ ]+ },+ {+ "description": "image:deny-from-path -> Denies the from_path command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-from-path"+ ]+ },+ {+ "description": "image:deny-new -> Denies the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-new"+ ]+ },+ {+ "description": "image:deny-rgba -> Denies the rgba command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-rgba"+ ]+ },+ {+ "description": "image:deny-size -> Denies the size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "image:deny-size"+ ]+ },+ {+ "description": "menu:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "menu:default"+ ]+ },+ {+ "description": "menu:allow-append -> Enables the append command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-append"+ ]+ },+ {+ "description": "menu:allow-create-default -> Enables the create_default command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-create-default"+ ]+ },+ {+ "description": "menu:allow-get -> Enables the get command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-get"+ ]+ },+ {+ "description": "menu:allow-insert -> Enables the insert command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-insert"+ ]+ },+ {+ "description": "menu:allow-is-checked -> Enables the is_checked command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-is-checked"+ ]+ },+ {+ "description": "menu:allow-is-enabled -> Enables the is_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-is-enabled"+ ]+ },+ {+ "description": "menu:allow-items -> Enables the items command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-items"+ ]+ },+ {+ "description": "menu:allow-new -> Enables the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-new"+ ]+ },+ {+ "description": "menu:allow-popup -> Enables the popup command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-popup"+ ]+ },+ {+ "description": "menu:allow-prepend -> Enables the prepend command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-prepend"+ ]+ },+ {+ "description": "menu:allow-remove -> Enables the remove command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-remove"+ ]+ },+ {+ "description": "menu:allow-remove-at -> Enables the remove_at command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-remove-at"+ ]+ },+ {+ "description": "menu:allow-set-accelerator -> Enables the set_accelerator command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-accelerator"+ ]+ },+ {+ "description": "menu:allow-set-as-app-menu -> Enables the set_as_app_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-as-app-menu"+ ]+ },+ {+ "description": "menu:allow-set-as-help-menu-for-nsapp -> Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-as-help-menu-for-nsapp"+ ]+ },+ {+ "description": "menu:allow-set-as-window-menu -> Enables the set_as_window_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-as-window-menu"+ ]+ },+ {+ "description": "menu:allow-set-as-windows-menu-for-nsapp -> Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-as-windows-menu-for-nsapp"+ ]+ },+ {+ "description": "menu:allow-set-checked -> Enables the set_checked command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-checked"+ ]+ },+ {+ "description": "menu:allow-set-enabled -> Enables the set_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-enabled"+ ]+ },+ {+ "description": "menu:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-icon"+ ]+ },+ {+ "description": "menu:allow-set-text -> Enables the set_text command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-set-text"+ ]+ },+ {+ "description": "menu:allow-text -> Enables the text command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:allow-text"+ ]+ },+ {+ "description": "menu:deny-append -> Denies the append command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-append"+ ]+ },+ {+ "description": "menu:deny-create-default -> Denies the create_default command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-create-default"+ ]+ },+ {+ "description": "menu:deny-get -> Denies the get command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-get"+ ]+ },+ {+ "description": "menu:deny-insert -> Denies the insert command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-insert"+ ]+ },+ {+ "description": "menu:deny-is-checked -> Denies the is_checked command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-is-checked"+ ]+ },+ {+ "description": "menu:deny-is-enabled -> Denies the is_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-is-enabled"+ ]+ },+ {+ "description": "menu:deny-items -> Denies the items command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-items"+ ]+ },+ {+ "description": "menu:deny-new -> Denies the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-new"+ ]+ },+ {+ "description": "menu:deny-popup -> Denies the popup command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-popup"+ ]+ },+ {+ "description": "menu:deny-prepend -> Denies the prepend command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-prepend"+ ]+ },+ {+ "description": "menu:deny-remove -> Denies the remove command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-remove"+ ]+ },+ {+ "description": "menu:deny-remove-at -> Denies the remove_at command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-remove-at"+ ]+ },+ {+ "description": "menu:deny-set-accelerator -> Denies the set_accelerator command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-accelerator"+ ]+ },+ {+ "description": "menu:deny-set-as-app-menu -> Denies the set_as_app_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-as-app-menu"+ ]+ },+ {+ "description": "menu:deny-set-as-help-menu-for-nsapp -> Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-as-help-menu-for-nsapp"+ ]+ },+ {+ "description": "menu:deny-set-as-window-menu -> Denies the set_as_window_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-as-window-menu"+ ]+ },+ {+ "description": "menu:deny-set-as-windows-menu-for-nsapp -> Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-as-windows-menu-for-nsapp"+ ]+ },+ {+ "description": "menu:deny-set-checked -> Denies the set_checked command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-checked"+ ]+ },+ {+ "description": "menu:deny-set-enabled -> Denies the set_enabled command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-enabled"+ ]+ },+ {+ "description": "menu:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-icon"+ ]+ },+ {+ "description": "menu:deny-set-text -> Denies the set_text command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-set-text"+ ]+ },+ {+ "description": "menu:deny-text -> Denies the text command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "menu:deny-text"+ ]+ },+ {+ "description": "path:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "path:default"+ ]+ },+ {+ "description": "path:allow-basename -> Enables the basename command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-basename"+ ]+ },+ {+ "description": "path:allow-dirname -> Enables the dirname command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-dirname"+ ]+ },+ {+ "description": "path:allow-extname -> Enables the extname command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-extname"+ ]+ },+ {+ "description": "path:allow-is-absolute -> Enables the is_absolute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-is-absolute"+ ]+ },+ {+ "description": "path:allow-join -> Enables the join command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-join"+ ]+ },+ {+ "description": "path:allow-normalize -> Enables the normalize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-normalize"+ ]+ },+ {+ "description": "path:allow-resolve -> Enables the resolve command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-resolve"+ ]+ },+ {+ "description": "path:allow-resolve-directory -> Enables the resolve_directory command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:allow-resolve-directory"+ ]+ },+ {+ "description": "path:deny-basename -> Denies the basename command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-basename"+ ]+ },+ {+ "description": "path:deny-dirname -> Denies the dirname command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-dirname"+ ]+ },+ {+ "description": "path:deny-extname -> Denies the extname command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-extname"+ ]+ },+ {+ "description": "path:deny-is-absolute -> Denies the is_absolute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-is-absolute"+ ]+ },+ {+ "description": "path:deny-join -> Denies the join command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-join"+ ]+ },+ {+ "description": "path:deny-normalize -> Denies the normalize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-normalize"+ ]+ },+ {+ "description": "path:deny-resolve -> Denies the resolve command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-resolve"+ ]+ },+ {+ "description": "path:deny-resolve-directory -> Denies the resolve_directory command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "path:deny-resolve-directory"+ ]+ },+ {+ "description": "resources:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "resources:default"+ ]+ },+ {+ "description": "resources:allow-close -> Enables the close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "resources:allow-close"+ ]+ },+ {+ "description": "resources:deny-close -> Denies the close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "resources:deny-close"+ ]+ },+ {+ "description": "shell:default -> This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality without any specific\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n",+ "type": "string",+ "enum": [+ "shell:default"+ ]+ },+ {+ "description": "shell:allow-execute -> Enables the execute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-execute"+ ]+ },+ {+ "description": "shell:allow-kill -> Enables the kill command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-kill"+ ]+ },+ {+ "description": "shell:allow-open -> Enables the open command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-open"+ ]+ },+ {+ "description": "shell:allow-spawn -> Enables the spawn command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-spawn"+ ]+ },+ {+ "description": "shell:allow-stdin-write -> Enables the stdin_write command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:allow-stdin-write"+ ]+ },+ {+ "description": "shell:deny-execute -> Denies the execute command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-execute"+ ]+ },+ {+ "description": "shell:deny-kill -> Denies the kill command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-kill"+ ]+ },+ {+ "description": "shell:deny-open -> Denies the open command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-open"+ ]+ },+ {+ "description": "shell:deny-spawn -> Denies the spawn command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-spawn"+ ]+ },+ {+ "description": "shell:deny-stdin-write -> Denies the stdin_write command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "shell:deny-stdin-write"+ ]+ },+ {+ "description": "store:default -> This permission set configures what kind of\noperations are available from the store plugin.\n\n#### Granted Permissions\n\nAll operations are enabled by default.\n\n",+ "type": "string",+ "enum": [+ "store:default"+ ]+ },+ {+ "description": "store:allow-clear -> Enables the clear command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-clear"+ ]+ },+ {+ "description": "store:allow-delete -> Enables the delete command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-delete"+ ]+ },+ {+ "description": "store:allow-entries -> Enables the entries command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-entries"+ ]+ },+ {+ "description": "store:allow-get -> Enables the get command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-get"+ ]+ },+ {+ "description": "store:allow-has -> Enables the has command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-has"+ ]+ },+ {+ "description": "store:allow-keys -> Enables the keys command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-keys"+ ]+ },+ {+ "description": "store:allow-length -> Enables the length command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-length"+ ]+ },+ {+ "description": "store:allow-load -> Enables the load command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-load"+ ]+ },+ {+ "description": "store:allow-reset -> Enables the reset command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-reset"+ ]+ },+ {+ "description": "store:allow-save -> Enables the save command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-save"+ ]+ },+ {+ "description": "store:allow-set -> Enables the set command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-set"+ ]+ },+ {+ "description": "store:allow-values -> Enables the values command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:allow-values"+ ]+ },+ {+ "description": "store:deny-clear -> Denies the clear command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-clear"+ ]+ },+ {+ "description": "store:deny-delete -> Denies the delete command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-delete"+ ]+ },+ {+ "description": "store:deny-entries -> Denies the entries command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-entries"+ ]+ },+ {+ "description": "store:deny-get -> Denies the get command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-get"+ ]+ },+ {+ "description": "store:deny-has -> Denies the has command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-has"+ ]+ },+ {+ "description": "store:deny-keys -> Denies the keys command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-keys"+ ]+ },+ {+ "description": "store:deny-length -> Denies the length command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-length"+ ]+ },+ {+ "description": "store:deny-load -> Denies the load command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-load"+ ]+ },+ {+ "description": "store:deny-reset -> Denies the reset command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-reset"+ ]+ },+ {+ "description": "store:deny-save -> Denies the save command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-save"+ ]+ },+ {+ "description": "store:deny-set -> Denies the set command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-set"+ ]+ },+ {+ "description": "store:deny-values -> Denies the values command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "store:deny-values"+ ]+ },+ {+ "description": "tray:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "tray:default"+ ]+ },+ {+ "description": "tray:allow-get-by-id -> Enables the get_by_id command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-get-by-id"+ ]+ },+ {+ "description": "tray:allow-new -> Enables the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-new"+ ]+ },+ {+ "description": "tray:allow-remove-by-id -> Enables the remove_by_id command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-remove-by-id"+ ]+ },+ {+ "description": "tray:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-icon"+ ]+ },+ {+ "description": "tray:allow-set-icon-as-template -> Enables the set_icon_as_template command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-icon-as-template"+ ]+ },+ {+ "description": "tray:allow-set-menu -> Enables the set_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-menu"+ ]+ },+ {+ "description": "tray:allow-set-show-menu-on-left-click -> Enables the set_show_menu_on_left_click command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-show-menu-on-left-click"+ ]+ },+ {+ "description": "tray:allow-set-temp-dir-path -> Enables the set_temp_dir_path command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-temp-dir-path"+ ]+ },+ {+ "description": "tray:allow-set-title -> Enables the set_title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-title"+ ]+ },+ {+ "description": "tray:allow-set-tooltip -> Enables the set_tooltip command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-tooltip"+ ]+ },+ {+ "description": "tray:allow-set-visible -> Enables the set_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:allow-set-visible"+ ]+ },+ {+ "description": "tray:deny-get-by-id -> Denies the get_by_id command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-get-by-id"+ ]+ },+ {+ "description": "tray:deny-new -> Denies the new command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-new"+ ]+ },+ {+ "description": "tray:deny-remove-by-id -> Denies the remove_by_id command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-remove-by-id"+ ]+ },+ {+ "description": "tray:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-icon"+ ]+ },+ {+ "description": "tray:deny-set-icon-as-template -> Denies the set_icon_as_template command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-icon-as-template"+ ]+ },+ {+ "description": "tray:deny-set-menu -> Denies the set_menu command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-menu"+ ]+ },+ {+ "description": "tray:deny-set-show-menu-on-left-click -> Denies the set_show_menu_on_left_click command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-show-menu-on-left-click"+ ]+ },+ {+ "description": "tray:deny-set-temp-dir-path -> Denies the set_temp_dir_path command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-temp-dir-path"+ ]+ },+ {+ "description": "tray:deny-set-title -> Denies the set_title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-title"+ ]+ },+ {+ "description": "tray:deny-set-tooltip -> Denies the set_tooltip command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-tooltip"+ ]+ },+ {+ "description": "tray:deny-set-visible -> Denies the set_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "tray:deny-set-visible"+ ]+ },+ {+ "description": "updater:default -> 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",+ "type": "string",+ "enum": [+ "updater:default"+ ]+ },+ {+ "description": "updater:allow-check -> Enables the check command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:allow-check"+ ]+ },+ {+ "description": "updater:allow-download -> Enables the download command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:allow-download"+ ]+ },+ {+ "description": "updater:allow-download-and-install -> Enables the download_and_install command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:allow-download-and-install"+ ]+ },+ {+ "description": "updater:allow-install -> Enables the install command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:allow-install"+ ]+ },+ {+ "description": "updater:deny-check -> Denies the check command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:deny-check"+ ]+ },+ {+ "description": "updater:deny-download -> Denies the download command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:deny-download"+ ]+ },+ {+ "description": "updater:deny-download-and-install -> Denies the download_and_install command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:deny-download-and-install"+ ]+ },+ {+ "description": "updater:deny-install -> Denies the install command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "updater:deny-install"+ ]+ },+ {+ "description": "webview:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "webview:default"+ ]+ },+ {+ "description": "webview:allow-create-webview -> Enables the create_webview command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-create-webview"+ ]+ },+ {+ "description": "webview:allow-create-webview-window -> Enables the create_webview_window command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-create-webview-window"+ ]+ },+ {+ "description": "webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-internal-toggle-devtools"+ ]+ },+ {+ "description": "webview:allow-print -> Enables the print command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-print"+ ]+ },+ {+ "description": "webview:allow-reparent -> Enables the reparent command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-reparent"+ ]+ },+ {+ "description": "webview:allow-set-webview-focus -> Enables the set_webview_focus command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-set-webview-focus"+ ]+ },+ {+ "description": "webview:allow-set-webview-position -> Enables the set_webview_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-set-webview-position"+ ]+ },+ {+ "description": "webview:allow-set-webview-size -> Enables the set_webview_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-set-webview-size"+ ]+ },+ {+ "description": "webview:allow-set-webview-zoom -> Enables the set_webview_zoom command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-set-webview-zoom"+ ]+ },+ {+ "description": "webview:allow-webview-close -> Enables the webview_close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-webview-close"+ ]+ },+ {+ "description": "webview:allow-webview-position -> Enables the webview_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-webview-position"+ ]+ },+ {+ "description": "webview:allow-webview-size -> Enables the webview_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:allow-webview-size"+ ]+ },+ {+ "description": "webview:deny-create-webview -> Denies the create_webview command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-create-webview"+ ]+ },+ {+ "description": "webview:deny-create-webview-window -> Denies the create_webview_window command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-create-webview-window"+ ]+ },+ {+ "description": "webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-internal-toggle-devtools"+ ]+ },+ {+ "description": "webview:deny-print -> Denies the print command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-print"+ ]+ },+ {+ "description": "webview:deny-reparent -> Denies the reparent command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-reparent"+ ]+ },+ {+ "description": "webview:deny-set-webview-focus -> Denies the set_webview_focus command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-set-webview-focus"+ ]+ },+ {+ "description": "webview:deny-set-webview-position -> Denies the set_webview_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-set-webview-position"+ ]+ },+ {+ "description": "webview:deny-set-webview-size -> Denies the set_webview_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-set-webview-size"+ ]+ },+ {+ "description": "webview:deny-set-webview-zoom -> Denies the set_webview_zoom command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-set-webview-zoom"+ ]+ },+ {+ "description": "webview:deny-webview-close -> Denies the webview_close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-webview-close"+ ]+ },+ {+ "description": "webview:deny-webview-position -> Denies the webview_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-webview-position"+ ]+ },+ {+ "description": "webview:deny-webview-size -> Denies the webview_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "webview:deny-webview-size"+ ]+ },+ {+ "description": "window:default -> Default permissions for the plugin.",+ "type": "string",+ "enum": [+ "window:default"+ ]+ },+ {+ "description": "window:allow-available-monitors -> Enables the available_monitors command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-available-monitors"+ ]+ },+ {+ "description": "window:allow-center -> Enables the center command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-center"+ ]+ },+ {+ "description": "window:allow-close -> Enables the close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-close"+ ]+ },+ {+ "description": "window:allow-create -> Enables the create command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-create"+ ]+ },+ {+ "description": "window:allow-current-monitor -> Enables the current_monitor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-current-monitor"+ ]+ },+ {+ "description": "window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-cursor-position"+ ]+ },+ {+ "description": "window:allow-destroy -> Enables the destroy command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-destroy"+ ]+ },+ {+ "description": "window:allow-hide -> Enables the hide command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-hide"+ ]+ },+ {+ "description": "window:allow-inner-position -> Enables the inner_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-inner-position"+ ]+ },+ {+ "description": "window:allow-inner-size -> Enables the inner_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-inner-size"+ ]+ },+ {+ "description": "window:allow-internal-toggle-maximize -> Enables the internal_toggle_maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-internal-toggle-maximize"+ ]+ },+ {+ "description": "window:allow-is-closable -> Enables the is_closable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-closable"+ ]+ },+ {+ "description": "window:allow-is-decorated -> Enables the is_decorated command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-decorated"+ ]+ },+ {+ "description": "window:allow-is-focused -> Enables the is_focused command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-focused"+ ]+ },+ {+ "description": "window:allow-is-fullscreen -> Enables the is_fullscreen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-fullscreen"+ ]+ },+ {+ "description": "window:allow-is-maximizable -> Enables the is_maximizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-maximizable"+ ]+ },+ {+ "description": "window:allow-is-maximized -> Enables the is_maximized command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-maximized"+ ]+ },+ {+ "description": "window:allow-is-minimizable -> Enables the is_minimizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-minimizable"+ ]+ },+ {+ "description": "window:allow-is-minimized -> Enables the is_minimized command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-minimized"+ ]+ },+ {+ "description": "window:allow-is-resizable -> Enables the is_resizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-resizable"+ ]+ },+ {+ "description": "window:allow-is-visible -> Enables the is_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-is-visible"+ ]+ },+ {+ "description": "window:allow-maximize -> Enables the maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-maximize"+ ]+ },+ {+ "description": "window:allow-minimize -> Enables the minimize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-minimize"+ ]+ },+ {+ "description": "window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-monitor-from-point"+ ]+ },+ {+ "description": "window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-outer-position"+ ]+ },+ {+ "description": "window:allow-outer-size -> Enables the outer_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-outer-size"+ ]+ },+ {+ "description": "window:allow-primary-monitor -> Enables the primary_monitor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-primary-monitor"+ ]+ },+ {+ "description": "window:allow-request-user-attention -> Enables the request_user_attention command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-request-user-attention"+ ]+ },+ {+ "description": "window:allow-scale-factor -> Enables the scale_factor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-scale-factor"+ ]+ },+ {+ "description": "window:allow-set-always-on-bottom -> Enables the set_always_on_bottom command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-always-on-bottom"+ ]+ },+ {+ "description": "window:allow-set-always-on-top -> Enables the set_always_on_top command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-always-on-top"+ ]+ },+ {+ "description": "window:allow-set-closable -> Enables the set_closable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-closable"+ ]+ },+ {+ "description": "window:allow-set-content-protected -> Enables the set_content_protected command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-content-protected"+ ]+ },+ {+ "description": "window:allow-set-cursor-grab -> Enables the set_cursor_grab command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-cursor-grab"+ ]+ },+ {+ "description": "window:allow-set-cursor-icon -> Enables the set_cursor_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-cursor-icon"+ ]+ },+ {+ "description": "window:allow-set-cursor-position -> Enables the set_cursor_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-cursor-position"+ ]+ },+ {+ "description": "window:allow-set-cursor-visible -> Enables the set_cursor_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-cursor-visible"+ ]+ },+ {+ "description": "window:allow-set-decorations -> Enables the set_decorations command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-decorations"+ ]+ },+ {+ "description": "window:allow-set-effects -> Enables the set_effects command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-effects"+ ]+ },+ {+ "description": "window:allow-set-focus -> Enables the set_focus command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-focus"+ ]+ },+ {+ "description": "window:allow-set-fullscreen -> Enables the set_fullscreen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-fullscreen"+ ]+ },+ {+ "description": "window:allow-set-icon -> Enables the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-icon"+ ]+ },+ {+ "description": "window:allow-set-ignore-cursor-events -> Enables the set_ignore_cursor_events command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-ignore-cursor-events"+ ]+ },+ {+ "description": "window:allow-set-max-size -> Enables the set_max_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-max-size"+ ]+ },+ {+ "description": "window:allow-set-maximizable -> Enables the set_maximizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-maximizable"+ ]+ },+ {+ "description": "window:allow-set-min-size -> Enables the set_min_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-min-size"+ ]+ },+ {+ "description": "window:allow-set-minimizable -> Enables the set_minimizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-minimizable"+ ]+ },+ {+ "description": "window:allow-set-position -> Enables the set_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-position"+ ]+ },+ {+ "description": "window:allow-set-progress-bar -> Enables the set_progress_bar command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-progress-bar"+ ]+ },+ {+ "description": "window:allow-set-resizable -> Enables the set_resizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-resizable"+ ]+ },+ {+ "description": "window:allow-set-shadow -> Enables the set_shadow command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-shadow"+ ]+ },+ {+ "description": "window:allow-set-size -> Enables the set_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-size"+ ]+ },+ {+ "description": "window:allow-set-skip-taskbar -> Enables the set_skip_taskbar command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-skip-taskbar"+ ]+ },+ {+ "description": "window:allow-set-title -> Enables the set_title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-title"+ ]+ },+ {+ "description": "window:allow-set-title-bar-style -> Enables the set_title_bar_style command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-title-bar-style"+ ]+ },+ {+ "description": "window:allow-set-visible-on-all-workspaces -> Enables the set_visible_on_all_workspaces command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-set-visible-on-all-workspaces"+ ]+ },+ {+ "description": "window:allow-show -> Enables the show command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-show"+ ]+ },+ {+ "description": "window:allow-start-dragging -> Enables the start_dragging command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-start-dragging"+ ]+ },+ {+ "description": "window:allow-start-resize-dragging -> Enables the start_resize_dragging command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-start-resize-dragging"+ ]+ },+ {+ "description": "window:allow-theme -> Enables the theme command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-theme"+ ]+ },+ {+ "description": "window:allow-title -> Enables the title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-title"+ ]+ },+ {+ "description": "window:allow-toggle-maximize -> Enables the toggle_maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-toggle-maximize"+ ]+ },+ {+ "description": "window:allow-unmaximize -> Enables the unmaximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-unmaximize"+ ]+ },+ {+ "description": "window:allow-unminimize -> Enables the unminimize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:allow-unminimize"+ ]+ },+ {+ "description": "window:deny-available-monitors -> Denies the available_monitors command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-available-monitors"+ ]+ },+ {+ "description": "window:deny-center -> Denies the center command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-center"+ ]+ },+ {+ "description": "window:deny-close -> Denies the close command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-close"+ ]+ },+ {+ "description": "window:deny-create -> Denies the create command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-create"+ ]+ },+ {+ "description": "window:deny-current-monitor -> Denies the current_monitor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-current-monitor"+ ]+ },+ {+ "description": "window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-cursor-position"+ ]+ },+ {+ "description": "window:deny-destroy -> Denies the destroy command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-destroy"+ ]+ },+ {+ "description": "window:deny-hide -> Denies the hide command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-hide"+ ]+ },+ {+ "description": "window:deny-inner-position -> Denies the inner_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-inner-position"+ ]+ },+ {+ "description": "window:deny-inner-size -> Denies the inner_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-inner-size"+ ]+ },+ {+ "description": "window:deny-internal-toggle-maximize -> Denies the internal_toggle_maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-internal-toggle-maximize"+ ]+ },+ {+ "description": "window:deny-is-closable -> Denies the is_closable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-closable"+ ]+ },+ {+ "description": "window:deny-is-decorated -> Denies the is_decorated command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-decorated"+ ]+ },+ {+ "description": "window:deny-is-focused -> Denies the is_focused command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-focused"+ ]+ },+ {+ "description": "window:deny-is-fullscreen -> Denies the is_fullscreen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-fullscreen"+ ]+ },+ {+ "description": "window:deny-is-maximizable -> Denies the is_maximizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-maximizable"+ ]+ },+ {+ "description": "window:deny-is-maximized -> Denies the is_maximized command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-maximized"+ ]+ },+ {+ "description": "window:deny-is-minimizable -> Denies the is_minimizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-minimizable"+ ]+ },+ {+ "description": "window:deny-is-minimized -> Denies the is_minimized command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-minimized"+ ]+ },+ {+ "description": "window:deny-is-resizable -> Denies the is_resizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-resizable"+ ]+ },+ {+ "description": "window:deny-is-visible -> Denies the is_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-is-visible"+ ]+ },+ {+ "description": "window:deny-maximize -> Denies the maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-maximize"+ ]+ },+ {+ "description": "window:deny-minimize -> Denies the minimize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-minimize"+ ]+ },+ {+ "description": "window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-monitor-from-point"+ ]+ },+ {+ "description": "window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-outer-position"+ ]+ },+ {+ "description": "window:deny-outer-size -> Denies the outer_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-outer-size"+ ]+ },+ {+ "description": "window:deny-primary-monitor -> Denies the primary_monitor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-primary-monitor"+ ]+ },+ {+ "description": "window:deny-request-user-attention -> Denies the request_user_attention command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-request-user-attention"+ ]+ },+ {+ "description": "window:deny-scale-factor -> Denies the scale_factor command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-scale-factor"+ ]+ },+ {+ "description": "window:deny-set-always-on-bottom -> Denies the set_always_on_bottom command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-always-on-bottom"+ ]+ },+ {+ "description": "window:deny-set-always-on-top -> Denies the set_always_on_top command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-always-on-top"+ ]+ },+ {+ "description": "window:deny-set-closable -> Denies the set_closable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-closable"+ ]+ },+ {+ "description": "window:deny-set-content-protected -> Denies the set_content_protected command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-content-protected"+ ]+ },+ {+ "description": "window:deny-set-cursor-grab -> Denies the set_cursor_grab command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-cursor-grab"+ ]+ },+ {+ "description": "window:deny-set-cursor-icon -> Denies the set_cursor_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-cursor-icon"+ ]+ },+ {+ "description": "window:deny-set-cursor-position -> Denies the set_cursor_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-cursor-position"+ ]+ },+ {+ "description": "window:deny-set-cursor-visible -> Denies the set_cursor_visible command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-cursor-visible"+ ]+ },+ {+ "description": "window:deny-set-decorations -> Denies the set_decorations command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-decorations"+ ]+ },+ {+ "description": "window:deny-set-effects -> Denies the set_effects command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-effects"+ ]+ },+ {+ "description": "window:deny-set-focus -> Denies the set_focus command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-focus"+ ]+ },+ {+ "description": "window:deny-set-fullscreen -> Denies the set_fullscreen command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-fullscreen"+ ]+ },+ {+ "description": "window:deny-set-icon -> Denies the set_icon command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-icon"+ ]+ },+ {+ "description": "window:deny-set-ignore-cursor-events -> Denies the set_ignore_cursor_events command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-ignore-cursor-events"+ ]+ },+ {+ "description": "window:deny-set-max-size -> Denies the set_max_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-max-size"+ ]+ },+ {+ "description": "window:deny-set-maximizable -> Denies the set_maximizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-maximizable"+ ]+ },+ {+ "description": "window:deny-set-min-size -> Denies the set_min_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-min-size"+ ]+ },+ {+ "description": "window:deny-set-minimizable -> Denies the set_minimizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-minimizable"+ ]+ },+ {+ "description": "window:deny-set-position -> Denies the set_position command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-position"+ ]+ },+ {+ "description": "window:deny-set-progress-bar -> Denies the set_progress_bar command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-progress-bar"+ ]+ },+ {+ "description": "window:deny-set-resizable -> Denies the set_resizable command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-resizable"+ ]+ },+ {+ "description": "window:deny-set-shadow -> Denies the set_shadow command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-shadow"+ ]+ },+ {+ "description": "window:deny-set-size -> Denies the set_size command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-size"+ ]+ },+ {+ "description": "window:deny-set-skip-taskbar -> Denies the set_skip_taskbar command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-skip-taskbar"+ ]+ },+ {+ "description": "window:deny-set-title -> Denies the set_title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-title"+ ]+ },+ {+ "description": "window:deny-set-title-bar-style -> Denies the set_title_bar_style command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-title-bar-style"+ ]+ },+ {+ "description": "window:deny-set-visible-on-all-workspaces -> Denies the set_visible_on_all_workspaces command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-set-visible-on-all-workspaces"+ ]+ },+ {+ "description": "window:deny-show -> Denies the show command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-show"+ ]+ },+ {+ "description": "window:deny-start-dragging -> Denies the start_dragging command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-start-dragging"+ ]+ },+ {+ "description": "window:deny-start-resize-dragging -> Denies the start_resize_dragging command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-start-resize-dragging"+ ]+ },+ {+ "description": "window:deny-theme -> Denies the theme command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-theme"+ ]+ },+ {+ "description": "window:deny-title -> Denies the title command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-title"+ ]+ },+ {+ "description": "window:deny-toggle-maximize -> Denies the toggle_maximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-toggle-maximize"+ ]+ },+ {+ "description": "window:deny-unmaximize -> Denies the unmaximize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-unmaximize"+ ]+ },+ {+ "description": "window:deny-unminimize -> Denies the unminimize command without any pre-configured scope.",+ "type": "string",+ "enum": [+ "window:deny-unminimize"+ ]+ }+ ]+ },+ "Value": {+ "description": "All supported ACL values.",+ "anyOf": [+ {+ "description": "Represents a null JSON value.",+ "type": "null"+ },+ {+ "description": "Represents a [`bool`].",+ "type": "boolean"+ },+ {+ "description": "Represents a valid ACL [`Number`].",+ "allOf": [+ {+ "$ref": "#/definitions/Number"+ }+ ]+ },+ {+ "description": "Represents a [`String`].",+ "type": "string"+ },+ {+ "description": "Represents a list of other [`Value`]s.",+ "type": "array",+ "items": {+ "$ref": "#/definitions/Value"+ }+ },+ {+ "description": "Represents a map of [`String`] keys to [`Value`]s.",+ "type": "object",+ "additionalProperties": {+ "$ref": "#/definitions/Value"+ }+ }+ ]+ },+ "Number": {+ "description": "A valid ACL number.",+ "anyOf": [+ {+ "description": "Represents an [`i64`].",+ "type": "integer",+ "format": "int64"+ },+ {+ "description": "Represents a [`f64`].",+ "type": "number",+ "format": "double"+ }+ ]+ },+ "Target": {+ "description": "Platform target.",+ "oneOf": [+ {+ "description": "MacOS.",+ "type": "string",+ "enum": [+ "macOS"+ ]+ },+ {+ "description": "Windows.",+ "type": "string",+ "enum": [+ "windows"+ ]+ },+ {+ "description": "Linux.",+ "type": "string",+ "enum": [+ "linux"+ ]+ },+ {+ "description": "Android.",+ "type": "string",+ "enum": [+ "android"+ ]+ },+ {+ "description": "iOS.",+ "type": "string",+ "enum": [+ "iOS"+ ]+ }+ ]+ },+ "ShellAllowedArg": {+ "description": "A command argument allowed to be executed by the webview API.",+ "anyOf": [+ {+ "description": "A non-configurable argument that is passed to the command in the order it was specified.",+ "type": "string"+ },+ {+ "description": "A variable that is set while calling the command from the webview API.",+ "type": "object",+ "required": [+ "validator"+ ],+ "properties": {+ "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\n[regex]: https://docs.rs/regex/latest/regex/#syntax",+ "type": "string"+ }+ },+ "additionalProperties": false+ }+ ]+ },+ "ShellAllowedArgs": {+ "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 [`ShellAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration.",+ "anyOf": [+ {+ "description": "Use a simple boolean to allow all or disable all arguments to this command configuration.",+ "type": "boolean"+ },+ {+ "description": "A specific set of [`ShellAllowedArg`] that are valid to call for the command configuration.",+ "type": "array",+ "items": {+ "$ref": "#/definitions/ShellAllowedArg"+ }+ }+ ]+ }+ }+}\ No newline at end of filediff --git a/examples/apps/screen-pipe-app/src-tauri/null/db.sqlite b/examples/apps/screen-pipe-app/src-tauri/null/db.sqlitenew file mode 100644index 000000000..4ebf78cf9Binary files /dev/null and b/examples/apps/screen-pipe-app/src-tauri/null/db.sqlite differdiff --git a/examples/apps/screen-pipe-app/src-tauri/null/db.sqlite-shm b/examples/apps/screen-pipe-app/src-tauri/null/db.sqlite-shmnew file mode 100644index 000000000..7e9f7788fBinary files /dev/null and b/examples/apps/screen-pipe-app/src-tauri/null/db.sqlite-shm differdiff --git a/examples/apps/screen-pipe-app/src-tauri/null/db.sqlite-wal b/examples/apps/screen-pipe-app/src-tauri/null/db.sqlite-walnew file mode 100644index 000000000..4684f1b9eBinary files /dev/null and b/examples/apps/screen-pipe-app/src-tauri/null/db.sqlite-wal differdiff --git a/examples/apps/screen-pipe-app/src-tauri/src/main.rs b/examples/apps/screen-pipe-app/src-tauri/src/main.rsindex 6821e57b0..3a8fe4c61 100644--- a/examples/apps/screen-pipe-app/src-tauri/src/main.rs+++ b/examples/apps/screen-pipe-app/src-tauri/src/main.rs@@ -3,11 +3,18 @@use dirs::home_dir;use log::{error, info, LevelFilter};-use reqwest::Client;-use screenpipe_audio::{default_input_device, default_output_device, DeviceControl};+use logs::MultiWriter;+use screenpipe_audio::{+ default_input_device, default_output_device, list_audio_devices, DeviceControl,+};use screenpipe_server::{start_continuous_recording, DatabaseManager, ResourceMonitor, Server};use serde::{Deserialize, Serialize};+use serde_json::Value;+use tauri::{State, Wry};+use tauri_plugin_shell::ShellExt;+use tauri_plugin_store::{with_store, StoreCollection};+use std::fs::File;use std::io::Write;use std::ops::Deref;@@ -19,89 +26,18 @@ use std::{time::Duration,};use tauri::{- CustomMenuItem, Manager, SystemTray, SystemTrayEvent, SystemTrayMenu, SystemTrayMenuItem,+ menu::{MenuBuilder, MenuItemBuilder},+ tray::TrayIconBuilder,+ Manager,};+use tauri_plugin_cli::CliExt;+use tauri_plugin_autostart::MacosLauncher;mod analytics;-use analytics::{start_analytics, AnalyticsManager};-mod logs;-use logs::MultiWriter;--async fn toggle_recording(app: &tauri::AppHandle) -> Result<(), Box<dyn std::error::Error>> {- let client = Client::new();- let port = app.state::<u16>();- let base_url = format!("http://localhost:{}", *port);-- info!("Toggling recording. Base URL: {}", base_url);-- // Toggle vision recording- let vision_status: Value = client- .get(format!("{}/vision/status", base_url))- .send()- .await?- .json()- .await?;- let is_vision_running = vision_status["is_running"].as_bool().unwrap_or(false);- info!("Current vision status: {}", is_vision_running);-- if is_vision_running {- info!("Stopping vision recording");- client- .post(format!("{}/vision/stop", base_url))- .send()- .await?;- } else {- info!("Starting vision recording");- client- .post(format!("{}/vision/start", base_url))- .send()- .await?;- }+use analytics::AnalyticsManager;- // Toggle audio devices- info!("Fetching audio devices");- let devices: Vec<Value> = client- .get(format!("{}/audio/list", base_url))- .send()- .await?- .json()- .await?;-- for device in devices {- let device_id = device["id"].as_str().unwrap();- let is_running = device["is_running"].as_bool().unwrap_or(false);- info!("Audio device {}: current status {}", device_id, is_running);-- if is_running {- info!("Stopping audio device {}", device_id);- client- .post(format!("{}/audio/stop", base_url))- .json(&serde_json::json!({"device_id": device_id}))- .send()- .await?;- } else {- info!("Starting audio device {}", device_id);- client- .post(format!("{}/audio/start", base_url))- .json(&serde_json::json!({"device_id": device_id}))- .send()- .await?;- }- }-- // Update tray menu item- let item_handle = app.tray_handle().get_item("toggle_recording");- if is_vision_running {- info!("Updating tray menu item to 'Start Recording'");- item_handle.set_title("Start Recording")?;- } else {- info!("Updating tray menu item to 'Stop Recording'");- item_handle.set_title("Stop Recording")?;- }-- info!("Toggle recording completed successfully");- Ok(())-}+use crate::analytics::start_analytics;+mod logs;fn ensure_local_data_dir(custom_path: Option<String>,@@ -125,49 +61,26 @@ async fn initialize_database(local_data_dir: Arc<String>) -> Arc<DatabaseManager)}-fn make_tray() -> SystemTray {- let quit = CustomMenuItem::new("quit".to_string(), "Quit");- let send_feedback = CustomMenuItem::new("send_feedback".to_string(), "Send Feedback");- let toggle_analytics = CustomMenuItem::new("toggle_analytics".to_string(), "Disable Analytics");- let toggle_autostart = CustomMenuItem::new("toggle_autostart".to_string(), "Disable Autostart");-- let tray_menu = SystemTrayMenu::new()- .add_item(send_feedback)- .add_item(toggle_analytics)- .add_item(toggle_autostart)- .add_native_item(SystemTrayMenuItem::Separator)- .add_item(quit);-- SystemTray::new().with_menu(tray_menu)+#[derive(Default)]+struct TrayState {+ menu: Option<tauri::menu::Menu<tauri::Wry>>,}-#[derive(Serialize, Deserialize, Default)]+#[derive(Serialize, Deserialize)]struct Preferences {autostart_enabled: bool,}-fn get_preferences_path() -> PathBuf {- home_dir()- .unwrap()- .join(".screenpipe")- .join("preferences.json")-}--fn load_preferences() -> Preferences {- let path = get_preferences_path();- fs::read_to_string(&path)- .map(|contents| serde_json::from_str(&contents).unwrap_or_default())- .unwrap_or_default()-}--fn save_preferences(prefs: &Preferences) {- let path = get_preferences_path();- fs::create_dir_all(path.parent().unwrap()).unwrap();- fs::write(path, serde_json::to_string_pretty(prefs).unwrap()).unwrap();+impl Default for Preferences {+ fn default() -> Self {+ Self {+ autostart_enabled: true, // Set to true by default+ }+ }}async fn setup_server_and_recording(- app: &tauri::App,+ app: tauri::AppHandle,db: Arc<DatabaseManager>,local_data_dir: Arc<String>,port: u16,@@ -188,18 +101,21 @@ async fn setup_server_and_recording(if !disable_audio {info!("Initializing audio devices...");+ let all_audio_devices = list_audio_devices().unwrap_or_default();++ for device in all_audio_devices {+ let device_control = DeviceControl {+ is_running: false,+ is_paused: false,+ };+ info!("Audio device: {:?}", device.to_string());+ devices_status.insert(device, device_control);+ }+if let Ok(input_device) = default_input_device() {info!("Default input device found: {:?}", input_device.to_string());audio_devices.push(Arc::new(input_device.clone()));- devices_status.insert(- input_device,- DeviceControl {- is_running: true,- is_paused: false,- },- );- } else {- info!("No default input device found");+ devices_status.get_mut(&input_device).unwrap().is_running = true;}if let Ok(output_device) = default_output_device() {info!(@@ -207,15 +123,7 @@ async fn setup_server_and_recording(output_device.to_string());audio_devices.push(Arc::new(output_device.clone()));- devices_status.insert(- output_device,- DeviceControl {- is_running: true,- is_paused: false,- },- );- } else {- info!("No default output device found");+ devices_status.get_mut(&output_device).unwrap().is_running = true;}if audio_devices.is_empty() {@@ -224,17 +132,19 @@ async fn setup_server_and_recording(info!("Using audio devices:");for device in &audio_devices {info!(" {}", device);-- let device_control = DeviceControl {- is_running: true,- is_paused: false,- };let device_clone = device.deref().clone();let sender_clone = audio_devices_control_sender.clone();- // send signal after everything startedtokio::spawn(async move {tokio::time::sleep(Duration::from_secs(15)).await;- let _ = sender_clone.send((device_clone, device_control)).await;+ let _ = sender_clone+ .send((+ device_clone,+ DeviceControl {+ is_running: true,+ is_paused: false,+ },+ ))+ .await;});}}@@ -309,53 +219,67 @@ async fn main() {release: sentry::release_name!(),..Default::default()}));- let prefs = load_preferences();- let autostart_enabled = if prefs.autostart_enabled {- "true"- } else {- "false"- };let app = tauri::Builder::default()+ .plugin(tauri_plugin_updater::Builder::new().build())+ .plugin(tauri_plugin_store::Builder::new().build())+ .plugin(tauri_plugin_shell::init())+ .plugin(tauri_plugin_cli::init()).plugin(tauri_plugin_autostart::init(MacosLauncher::LaunchAgent,- Some(vec![autostart_enabled]),+ None,))+ .manage(TrayState::default()).setup(move |app| {- let matches = app.get_cli_matches().unwrap();+ let cli = app.cli().matches().expect("Failed to get CLI matches");++ let local_data_dir = Arc::new(+ ensure_local_data_dir(+ cli.args+ .get("data-dir")+ .and_then(|v| Some(v.value.to_string())),+ )+ .expect("Failed to ensure local data directory"),+ );- let custom_data_dir = matches+ let port = cli.args- .get("data-dir")- .and_then(|v| v.value.as_str().map(String::from));-- let fps = matches+ .get("port")+ .and_then(|v| v.value.as_u64())+ .unwrap_or(3000) as u16;+ let fps = cli.args.get("fps").and_then(|v| v.value.as_f64())- .unwrap_or(1.0);- let audio_chunk_duration = matches+ .unwrap_or(30.0);+ let audio_chunk_duration = cli.args.get("audio-chunk-duration").and_then(|v| v.value.as_u64())- .unwrap_or(30);- let port = matches+ .unwrap_or(5);+ let disable_audio = cli.args- .get("port")- .and_then(|v| v.value.as_u64())- .unwrap_or(3035) as u16;- let disable_audio = matches.args.get("disable-audio").is_none();- let memory_threshold = matches+ .get("disable-audio")+ .and_then(|v| v.value.as_bool())+ .unwrap_or(false);+ let memory_threshold = cli.args.get("memory-threshold").and_then(|v| v.value.as_f64()).unwrap_or(80.0);- let runtime_threshold = matches+ let runtime_threshold = cli.args.get("runtime-threshold").and_then(|v| v.value.as_u64())- .unwrap_or(60);- let debug = matches.args.get("debug").is_some();+ .unwrap_or(3600);++ app.manage(port);++ let debug = cli+ .args+ .get("debug")+ .and_then(|v| v.value.as_bool())+ .unwrap_or(false);let mut builder = env_logger::Builder::new();builder@@ -368,7 +292,6 @@ async fn main() {builder.filter_module("screenpipe", LevelFilter::Debug);}- let local_data_dir = Arc::new(ensure_local_data_dir(custom_data_dir).unwrap());// Add file logginglet log_dir = home_dir().ok_or("Failed to get home directory")?@@ -388,115 +311,136 @@ async fn main() {let app_name = "screenpipe";let interval_hours = 1; // Send event every 1 hour- match start_analytics(posthog_api_key, app_name, interval_hours) {- Ok(analytics_manager) => {- app.manage(analytics_manager);- }- Err(e) => {- error!("Failed to start analytics: {}", e);- }- }+ let path = log_dir.join("store.bin");- let tray_handle = app.tray_handle();- let autostart_item = tray_handle.get_item("toggle_autostart");- if prefs.autostart_enabled {- autostart_item.set_title("Disable Autostart").unwrap();- } else {- autostart_item.set_title("Enable Autostart").unwrap();+ // create file if not exists+ if !path.exists() {+ let _ = File::create(path.clone()).unwrap();}- app.manage(prefs);+ let stores = app.app_handle().state::<StoreCollection<Wry>>();++ let _ = with_store(app.app_handle().clone(), stores, path, |store| {+ // Note that values must be serde_json::Value instances,+ // otherwise, they will not be compatible with the JavaScript bindings.+ // store.insert("some-key".to_string(), json!({ "value": 5 }))?;++ // Get a value from the store.+ // let value = store+ // .get("some-key")+ // .expect("Failed to get value from store");+ // println!("{}", value); // {"value":5}++ // You can manually save the store after making changes.+ // Otherwise, it will save upon graceful exit as described above.+ store.save()?;++ let is_analytics_enabled = store+ .get("analytics_enabled")+ .unwrap_or(&Value::Bool(true))+ .as_bool()+ .unwrap_or(true);++ if is_analytics_enabled {+ match start_analytics(posthog_api_key, app_name, interval_hours) {+ Ok(analytics_manager) => {+ app.manage(analytics_manager);+ }+ Err(e) => {+ error!("Failed to start analytics: {}", e);+ }+ }+ }- // Store configuration in app state- app.manage(Arc::clone(&local_data_dir));- app.manage(port);- app.manage(fps);- app.manage(audio_chunk_duration);- app.manage(disable_audio);- app.manage(memory_threshold);- app.manage(runtime_threshold);+ Ok(())+ });- Ok(())- })- .system_tray(make_tray())- .on_system_tray_event(|app, event| match event {- SystemTrayEvent::MenuItemClick { id, .. } => {- match id.as_str() {- "send_feedback" => {- // Implement send_feedback logic- // open email to [email protected]- let email = "[email protected]";- let subject = "Screenpipe Feedback";- let body = r#"Please enter your feedback here...--... or let's chat?-https://cal.com/louis030195/screenpipe- "#;- let url = format!("mailto:{}?subject={}&body={}", email, subject, body);- let app_handle = app.app_handle();- tauri::async_runtime::spawn(async move {- if let Err(e) =- tauri::api::shell::open(&app_handle.shell_scope(), url, None)- {+ let handle = app.app_handle().clone();+ tauri::async_runtime::spawn(async move {+ let db = initialize_database(local_data_dir.clone()).await;+ handle.manage(db.clone());++ setup_server_and_recording(+ handle,+ db,+ local_data_dir,+ port,+ fps,+ audio_chunk_duration,+ disable_audio,+ memory_threshold,+ runtime_threshold,+ )+ .await;+ });++ let quit_item = MenuItemBuilder::with_id("quit", "Quit").build(app)?;+ let send_feedback_item =+ MenuItemBuilder::with_id("send_feedback", "Send Feedback").build(app)?;+ let toggle_analytics_item =+ MenuItemBuilder::with_id("toggle_analytics", "Disable Analytics").build(app)?;+ let toggle_autostart_item =+ MenuItemBuilder::with_id("toggle_autostart", "Disable Autostart").build(app)?;++ let menu = MenuBuilder::new(app)+ .item(&send_feedback_item)+ .item(&toggle_analytics_item)+ .item(&toggle_autostart_item)+ .separator()+ .item(&quit_item)+ .build()?;++ app.manage(TrayState {+ menu: Some(menu.clone()),+ });++ let _tray = TrayIconBuilder::new()+ .menu(&menu)+ .on_menu_event(move |app, event| {+ let tray_state: State<TrayState> = app.state();+ let menu = tray_state.menu.as_ref().unwrap();++ match event.id().as_ref() {+ "quit" => {+ std::process::exit(0);+ }+ "send_feedback" => {+ let email = "[email protected]";+ let subject = "Screenpipe Feedback";+ let body = r#"Please enter your feedback here...++ ... or let's chat?+ https://cal.com/louis030195/screenpipe+ "#;+ let url = format!("mailto:{}?subject={}&body={}", email, subject, body);+ let app_handle = app.app_handle();+ if let Err(e) = app_handle.shell().open(url, None) {error!("Failed to open URL: {}", e);}- });- }- "toggle_analytics" => {- let analytics_manager = app.state::<Arc<AnalyticsManager>>();- let is_enabled = analytics_manager.toggle_analytics();- let item_handle = app.tray_handle().get_item("toggle_analytics");- if is_enabled {- item_handle.set_title("Disable Analytics").unwrap();- } else {- item_handle.set_title("Enable Analytics").unwrap();}- }- "quit" => {- std::process::exit(0);- }- "toggle_recording" => {- let app_handle = app.app_handle();- tauri::async_runtime::spawn(async move {- if let Err(e) = toggle_recording(&app_handle).await {- error!("Error toggling recording: {}", e);+ "toggle_analytics" => {+ let analytics_manager = app.state::<Arc<AnalyticsManager>>();+ let is_enabled = analytics_manager.toggle_analytics();+ if let Some(item) = menu.get("toggle_analytics") {+ if is_enabled {+ let _ =+ item.as_menuitem().unwrap().set_text("Enable Analytics");+ } else {+ let _ =+ item.as_menuitem().unwrap().set_text("Disable Analytics");+ }}- });+ }+ _ => {}}- _ => {}- }- }- _ => {}+ })+ .build(app)?;++ Ok(())}).build(tauri::generate_context!()).expect("error while building tauri application");- // Initialize the database after the app is built- let local_data_dir = app.state::<Arc<String>>();- let db = initialize_database(Arc::clone(&local_data_dir)).await;- app.manage(db.clone());-- // Setup server and recording after database initialization- let port = *app.state::<u16>();- let fps = *app.state::<f64>();- let audio_chunk_duration = *app.state::<u64>();- let disable_audio = *app.state::<bool>();- let memory_threshold = *app.state::<f64>();- let runtime_threshold = *app.state::<u64>();-- setup_server_and_recording(- &app,- db,- local_data_dir.inner().clone(),- port,- fps,- audio_chunk_duration,- disable_audio,- memory_threshold,- runtime_threshold,- )- .await;-// Run the appapp.run(|_, _| {});}diff --git a/examples/apps/screen-pipe-app/src-tauri/tauri.conf.json b/examples/apps/screen-pipe-app/src-tauri/tauri.conf.jsonindex 107c5c59f..96fdfc144 100644--- a/examples/apps/screen-pipe-app/src-tauri/tauri.conf.json+++ b/examples/apps/screen-pipe-app/src-tauri/tauri.conf.json@@ -3,62 +3,50 @@"build": {"beforeBuildCommand": "pnpm run build","beforeDevCommand": "pnpm run dev",- "devPath": "http://localhost:3000",- "distDir": "../out"+ "frontendDist": "../out",+ "devUrl": "http://localhost:3000"},- "package": {- "productName": "screenpipe",- "version": "0.1.0"- },- "tauri": {- "systemTray": {- "iconPath": "icons/generated/Assets.xcassets/AppIcon.appiconset/1024.png",- "iconAsTemplate": true+ "bundle": {+ "active": true,+ "category": "DeveloperTool",+ "copyright": "",+ "targets": "all",+ "externalBin": [],+ "icon": [+ "icons/generated/Assets.xcassets/AppIcon.appiconset/32.png",+ "icons/generated/Assets.xcassets/AppIcon.appiconset/128.png",+ "icons/generated/Assets.xcassets/AppIcon.appiconset/256.png",+ "icons/generated/Assets.xcassets/AppIcon.appiconset/512.png",+ "icons/generated/Assets.xcassets/AppIcon.appiconset/1024.png",+ "icons/generated/icon.icns",+ "icons/generated/icon.ico"+ ],+ "windows": {+ "certificateThumbprint": null,+ "digestAlgorithm": "sha256",+ "timestampUrl": ""},- "allowlist": {- "all": false+ "longDescription": "",+ "macOS": {+ "entitlements": null,+ "exceptionDomain": "",+ "frameworks": [],+ "providerShortName": null,+ "signingIdentity": null},- "bundle": {- "active": true,- "category": "DeveloperTool",- "copyright": "",+ "resources": [],+ "shortDescription": "",+ "linux": {"deb": {"depends": []- },- "externalBin": [],- "icon": [- "icons/generated/Assets.xcassets/AppIcon.appiconset/32.png",- "icons/generated/Assets.xcassets/AppIcon.appiconset/128.png",- "icons/generated/Assets.xcassets/AppIcon.appiconset/256.png",- "icons/generated/Assets.xcassets/AppIcon.appiconset/512.png",- "icons/generated/Assets.xcassets/AppIcon.appiconset/1024.png",- "icons/generated/icon.icns",- "icons/generated/icon.ico"- ],- "identifier": "com.screenpi.pe",- "longDescription": "",- "macOS": {- "entitlements": null,- "exceptionDomain": "",- "frameworks": [],- "providerShortName": null,- "signingIdentity": null- },- "resources": [],- "shortDescription": "",- "targets": "all",- "windows": {- "certificateThumbprint": null,- "digestAlgorithm": "sha256",- "timestampUrl": ""}},- "security": {- "csp": null- },- "updater": {- "active": false- },+ "createUpdaterArtifacts": true+ },+ "productName": "screenpipe",+ "version": "0.1.0",+ "identifier": "com.screenpi.pe",+ "plugins": {"cli": {"description": "Screen Pipe App CLI","longDescription": "Command-line interface for Screen Pipe App",@@ -102,6 +90,21 @@"description": "Enable debug mode"}]+ },+ "updater": {+ "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDIyQjQ2RkQzMUNBOUFDMTcKUldRWHJLa2MwMiswSWl3RlBGUW5zYUE0Zm0vNFFRRTltNUZZTUVxR2FxUDNtSWdUSHgyL3JNcmcK",+ "endpoints": [+ "https://github.com/louis030195/screenpipe/releases/latest/download/latest.json"+ ]+ }+ },+ "app": {+ "security": {+ "csp": null+ },+ "trayIcon": {+ "iconPath": "icons/generated/Assets.xcassets/AppIcon.appiconset/1024.png",+ "iconAsTemplate": true}}}\ No newline at end of file