forge
Explore
Log in

Don't you dare go Hollow

Package the web app for Android and iOS with Tauri v2

Browse files at this commit

78656e4dab697ea56c0268b6714907d4e8fd7b4bBurak BoduroğluRoot commit (no parents)
The web app is served same-origin with the backend today: it fetches
"/api/..." with same-origin credentials, points <img src> at /api so the
session cookie authenticates image requests, opens an EventSource on
/api/chatbot, and derives its exam-room and whiteboard WebSocket URLs from
window.location.host. A webview loaded from tauri://localhost breaks all of
it, so rather than refactor ~40 call sites and move the backend to CORS plus
token auth, this reproduces the frontend's server.ts inside the app: a
loopback HTTP server serves the bundled SPA and reverse-proxies /api/* — HTTP
and WebSocket — to the backend. The frontend is vendored unchanged as a
submodule.

Two details make the illusion hold: the port is fixed, because the session
cookie is scoped to 127.0.0.1:<port> and a moving port would sign the user
out on every launch; and Set-Cookie has Domain and Secure stripped, because
the backend mints the cookie for its own host over TLS and the webview would
otherwise drop it on a plain-HTTP loopback origin.

113 changed files +11824 -0

.github/workflows/build.ymladded+88 -0
@@ -0,0 +1,88 @@
1+name: build
2+
3+on:
4+ push:
5+ branches: [main]
6+ pull_request:
7+ workflow_dispatch:
8+
9+env:
10+ # Release artifacts point at production; dev builds fall back to localhost.
11+ HEZARFEN_BACKEND_ORIGIN: ${{ vars.HEZARFEN_BACKEND_ORIGIN }}
12+
13+jobs:
14+ proxy-tests:
15+ runs-on: ubuntu-latest
16+ steps:
17+ # The proxy's unit tests need no frontend bundle, so the private
18+ # submodule is not checked out here — this job stays runnable on forks.
19+ - uses: actions/checkout@v4
20+ - uses: dtolnay/rust-toolchain@stable
21+ - uses: Swatinem/rust-cache@v2
22+ with:
23+ workspaces: src-tauri
24+ - name: System deps for tauri
25+ run: |
26+ sudo apt-get update
27+ sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
28+ - run: mkdir -p frontend/dist && echo '<!doctype html>' > frontend/dist/index.html
29+ - run: cargo test --manifest-path src-tauri/Cargo.toml
30+ - run: cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings
31+ - run: cargo fmt --manifest-path src-tauri/Cargo.toml --check
32+
33+ android:
34+ runs-on: ubuntu-latest
35+ steps:
36+ - uses: actions/checkout@v4
37+ with:
38+ submodules: recursive
39+ # hezarfen_frontend is private; the default GITHUB_TOKEN cannot read it.
40+ token: ${{ secrets.SUBMODULE_TOKEN }}
41+ - uses: oven-sh/setup-bun@v2
42+ - uses: actions/setup-java@v4
43+ with:
44+ distribution: temurin
45+ java-version: '17'
46+ - uses: android-actions/setup-android@v3
47+ - name: Install NDK
48+ run: |
49+ sdkmanager "ndk;27.2.12479018" "platforms;android-35" "build-tools;35.0.0"
50+ echo "NDK_HOME=$ANDROID_HOME/ndk/27.2.12479018" >> "$GITHUB_ENV"
51+ - uses: dtolnay/rust-toolchain@stable
52+ with:
53+ targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android
54+ - uses: Swatinem/rust-cache@v2
55+ with:
56+ workspaces: src-tauri
57+ - run: bun install --cwd frontend --frozen-lockfile
58+ - run: cargo install tauri-cli --version "^2" --locked
59+ - run: cargo tauri android build --apk
60+ - uses: actions/upload-artifact@v4
61+ with:
62+ name: hezarfen-android
63+ path: src-tauri/gen/android/app/build/outputs/apk/**/*.apk
64+
65+ ios:
66+ # iOS builds need Xcode, so they cannot run alongside the Android job.
67+ runs-on: macos-14
68+ steps:
69+ - uses: actions/checkout@v4
70+ with:
71+ submodules: recursive
72+ token: ${{ secrets.SUBMODULE_TOKEN }}
73+ - uses: oven-sh/setup-bun@v2
74+ - uses: dtolnay/rust-toolchain@stable
75+ with:
76+ targets: aarch64-apple-ios,aarch64-apple-ios-sim,x86_64-apple-ios
77+ - uses: Swatinem/rust-cache@v2
78+ with:
79+ workspaces: src-tauri
80+ - run: bun install --cwd frontend --frozen-lockfile
81+ - run: cargo install tauri-cli --version "^2" --locked
82+ # Unsigned: signing needs the App Store certificate and a provisioning
83+ # profile for co.hezarfen.app, which are not available to CI yet.
84+ - run: cargo tauri ios build --ci --export-method debugging
85+ - uses: actions/upload-artifact@v4
86+ with:
87+ name: hezarfen-ios
88+ path: src-tauri/gen/apple/build/**/*.ipa
.github/workflows/sync-frontend.ymladded+41 -0
@@ -0,0 +1,41 @@
1+name: sync-frontend
2+
3+# The submodule pins a frontend commit on purpose, so the mobile build cannot
4+# break on an untested upstream change. This job proposes the bump instead:
5+# it moves the pin to the latest main and opens a PR, where the `build`
6+# workflow proves the new frontend still packages.
7+on:
8+ schedule:
9+ - cron: '0 6 * * 1'
10+ workflow_dispatch:
11+
12+jobs:
13+ bump:
14+ runs-on: ubuntu-latest
15+ steps:
16+ - uses: actions/checkout@v4
17+ with:
18+ submodules: recursive
19+ token: ${{ secrets.SUBMODULE_TOKEN }}
20+ - name: Move the pin to frontend main
21+ id: bump
22+ run: |
23+ git submodule update --remote --merge frontend
24+ sha="$(git -C frontend rev-parse --short HEAD)"
25+ subject="$(git -C frontend log -1 --pretty=%s)"
26+ echo "sha=$sha" >> "$GITHUB_OUTPUT"
27+ echo "subject=$subject" >> "$GITHUB_OUTPUT"
28+ git diff --quiet -- frontend && echo "changed=false" >> "$GITHUB_OUTPUT" || echo "changed=true" >> "$GITHUB_OUTPUT"
29+ - if: steps.bump.outputs.changed == 'true'
30+ uses: peter-evans/create-pull-request@v7
31+ with:
32+ token: ${{ secrets.SUBMODULE_TOKEN }}
33+ branch: sync/frontend
34+ commit-message: "frontend: bump to ${{ steps.bump.outputs.sha }}"
35+ title: "frontend: bump to ${{ steps.bump.outputs.sha }}"
36+ body: |
37+ Submodule `frontend` bumped to `${{ steps.bump.outputs.sha }}`.
38+
39+ Upstream head: ${{ steps.bump.outputs.subject }}
40+
41+ Merge once the Android and iOS builds on this PR are green.
.gitignoreadded+13 -0
@@ -0,0 +1,13 @@
1+node_modules/
2+dist/
3+src-tauri/target/
4+src-tauri/gen/android/.gradle/
5+src-tauri/gen/android/app/build/
6+src-tauri/gen/android/build/
7+src-tauri/gen/android/local.properties
8+src-tauri/gen/apple/build/
9+src-tauri/gen/apple/Externals/
10+src-tauri/gen/apple/*.xcodeproj/project.xcworkspace/
11+src-tauri/gen/apple/*.xcodeproj/xcuserdata/
12+*.keystore
13+keystore.properties
.gitmodulesadded+3 -0
@@ -0,0 +1,3 @@
1+[submodule "frontend"]
2+ path = frontend
3+ url = https://github.com/Hezarfen-Co/hezarfen_frontend.git
README.mdadded+135 -0
@@ -0,0 +1,135 @@
1+# Hezarfen Mobile
2+
3+[Hezarfen Frontend](https://github.com/Hezarfen-Co/hezarfen_frontend) uygulamasını
4+[Tauri v2](https://v2.tauri.app) ile Android ve iOS'a paketleyen kabuk.
5+
6+Web uygulamasının kaynak kodunda **tek satır değişiklik yok**. Frontend bu repoya
7+`frontend/` altında bir git submodule olarak bağlıdır.
8+
9+---
10+
11+## Neden bir gömülü proxy var?
12+
13+Web uygulaması backend ile aynı origin'den servis edildiğini varsayıyor:
14+
15+- `fetch("/api/...", { credentials: "same-origin" })`
16+- `<img src="/api/users/:id/avatar">` — görsel isteğini session cookie'si yetkilendiriyor
17+- `new EventSource("/api/chatbot/.../stream")`
18+- `` new WebSocket(`${proto}//${window.location.host}/api/exams/:id/attempt/ws`) `` (sınav odası, whiteboard)
19+
20+Tarayıcı dağıtımında bu origin'i frontend reposundaki `server.ts` (Bun) sağlıyor.
21+Tauri'de webview `tauri://localhost` üzerinden yüklenseydi bunların hepsi kırılırdı:
22+`/api/...` uygulamanın kendi asset protokolüne düşerdi.
23+
24+Bu yüzden `server.ts` uygulamanın içinde Rust olarak yeniden yazıldı
25+([`src-tauri/src/proxy.rs`](src-tauri/src/proxy.rs)): `127.0.0.1` üzerinde bir
26+loopback HTTP sunucusu paketlenmiş SPA'yı servis eder ve `/api/*` isteklerini
27+(HTTP **ve** WebSocket) backend'e proxy'ler. Webview bu adrese bakar, dolayısıyla
28+`window.location.host` = `127.0.0.1:18420` olur ve frontend hiçbir şeyin
29+değiştiğini fark etmez.
30+
31+```
32+webview → http://127.0.0.1:18420
33+ ├── / → index.html (SPA fallback)
34+ ├── /assets/* → pakete gömülü dosyalar
35+ └── /api/* → BACKEND (HTTP + WebSocket köprüsü)
36+```
37+
38+Dikkat edilen iki nokta:
39+
40+- **Port sabit** (18420, doluysa yukarı doğru taranır). Session cookie'si
41+ `127.0.0.1:<port>` origin'ine bağlı olduğu için her açılışta değişen bir port
42+ kullanıcıyı her seferinde çıkışa düşürürdü.
43+- **`Set-Cookie` yeniden yazılır.** Backend cookie'yi kendi alan adı için TLS
44+ üzerinden üretir, yani `Domain=` ve `Secure` ile gelir; loopback origin'i düz
45+ HTTP olduğu için webview böyle bir cookie'yi sessizce atardı. Bu iki attribute
46+ kaldırılır (`SameSite=None` da `Lax`'a indirilir). Cookie cihazın loopback
47+ arayüzünden hiç çıkmadığı için bu güvenli.
48+
49+---
50+
51+## Gereksinimler
52+
53+| Araç | Sürüm | Not |
54+| --- | --- | --- |
55+| Rust | stable | `rustup` |
56+| Bun | 1.x | frontend build'i |
57+| JDK | 17 | Android Gradle |
58+| Android SDK | platform 35, build-tools 35 | `cmdline-tools` yeterli |
59+| Android NDK | 27.x | `NDK_HOME` |
60+| Xcode | 15+ | **yalnızca iOS**, macOS şart |
61+
62+Ortam değişkenleri (bu makinede kurulu):
63+
64+```
65+ANDROID_HOME=D:\Android
66+NDK_HOME=D:\Android\ndk\27.2.12479018
67+JAVA_HOME=C:\Program Files\Microsoft\jdk-17.0.20.101-hotspot
68+```
69+
70+Rust hedefleri:
71+
72+```sh
73+rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
74+# iOS (macOS'ta):
75+rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios
76+```
77+
78+---
79+
80+## Geliştirme
81+
82+```sh
83+git submodule update --init --recursive
84+bun run frontend:install
85+
86+# Backend'i host makinede çalıştır (127.0.0.1:8080), sonra cihaza yönlendir:
87+adb reverse tcp:8080 tcp:8080
88+
89+bun run android:dev
90+```
91+
92+`adb reverse` sayesinde emülatör/cihaz içindeki `127.0.0.1:8080`, geliştirme
93+makinendeki backend'e düşer — web'deki Vite proxy'sinin hedefiyle aynı adres.
94+
95+Masaüstünde hızlı deneme için `bun run dev` (aynı proxy, aynı origin).
96+
97+Dev modunda `/api` dışındaki istekler Vite dev sunucusuna proxy'lenir, yani HMR
98+de bu origin üzerinden çalışır.
99+
100+## Sürüm derlemesi
101+
102+```sh
103+HEZARFEN_BACKEND_ORIGIN=https://api.hezarfen.co bun run android:build
104+HEZARFEN_BACKEND_ORIGIN=https://api.hezarfen.co bun run ios:build # macOS
105+```
106+
107+`HEZARFEN_BACKEND_ORIGIN` derleme anında gömülür. İmzalı bir build'i yeniden
108+derlemeden staging'e çevirmek için (QA) cihazda
109+`<app-config>/backend.txt` dosyasına origin yazmak yeterli.
110+
111+## Frontend'i güncelleme
112+
113+Submodule belirli bir commit'i sabitler; kendiliğinden ilerlemez — mobil sürüm
114+test edilmemiş bir frontend commit'iyle bozulmasın diye böyle.
115+
116+```sh
117+bun run sync-frontend # frontend'i main'e taşır
118+git add frontend && git commit -m "frontend: bump to <sha>"
119+```
120+
121+`.github/workflows/sync-frontend.yml` bunu haftalık olarak yapar: bump eder,
122+Android build'ini koşar, geçerse PR açar.
123+
124+---
125+
126+## iOS
127+
128+iOS derlemesi macOS + Xcode gerektirir; Windows'ta mümkün değil. CI
129+(`.github/workflows/build.yml`) `macos-14` runner'ında `cargo tauri ios build`
130+koşar. App Store dağıtımı için `co.hezarfen.app` bundle identifier'ına ait bir
131+provisioning profile ve imzalama sertifikası gerekir.
132+
133+Loopback sunucusu iOS'ta da çalışır; `Info.plist` içindeki
134+`NSAllowsLocalNetworking` istisnası ATS'in düz HTTP loopback trafiğini
135+engellememesi için gereklidir (`tauri ios init` sonrası eklenir).
frontendadded+1 -0
@@ -0,0 +1 @@
1+Subproject commit 81e9cc373a7442c403dc512758c1fe9df319c4ab
package.jsonadded+19 -0
@@ -0,0 +1,19 @@
1+{
2+ "name": "hezarfen-mobile",
3+ "private": true,
4+ "version": "0.1.0",
5+ "type": "module",
6+ "scripts": {
7+ "frontend:install": "cd frontend && bun install",
8+ "frontend:dev": "cd frontend && bun run dev",
9+ "frontend:build": "cd frontend && bun install --frozen-lockfile && bun run build",
10+ "sync-frontend": "git submodule update --remote --merge frontend",
11+ "dev": "cargo tauri dev",
12+ "android:init": "cargo tauri android init",
13+ "android:dev": "cargo tauri android dev",
14+ "android:build": "cargo tauri android build",
15+ "ios:init": "cargo tauri ios init",
16+ "ios:dev": "cargo tauri ios dev",
17+ "ios:build": "cargo tauri ios build"
18+ }
19+}
src-tauri/Cargo.lockadded+5192 -0

Diff too large; view file

@@ -0,0 +1,5192 @@
1+# This file is automatically @generated by Cargo.
2+# It is not intended for manual editing.
3+version = 3
4+
5+[[package]]
6+name = "adler2"
7+version = "2.0.1"
8+source = "registry+https://github.com/rust-lang/crates.io-index"
9+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
10+
11+[[package]]
12+name = "aho-corasick"
13+version = "1.1.5"
14+source = "registry+https://github.com/rust-lang/crates.io-index"
15+checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
16+dependencies = [
17+ "memchr",
18+]
19+
20+[[package]]
21+name = "alloc-no-stdlib"
22+version = "2.0.4"
23+source = "registry+https://github.com/rust-lang/crates.io-index"
24+checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
25+
26+[[package]]
27+name = "alloc-stdlib"
28+version = "0.2.4"
29+source = "registry+https://github.com/rust-lang/crates.io-index"
30+checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195"
31+dependencies = [
32+ "alloc-no-stdlib",
33+]
34+
35+[[package]]
36+name = "android_system_properties"
37+version = "0.1.6"
38+source = "registry+https://github.com/rust-lang/crates.io-index"
39+checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc"
40+dependencies = [
41+ "libc",
42+]
43+
44+[[package]]
45+name = "anyhow"
46+version = "1.0.104"
47+source = "registry+https://github.com/rust-lang/crates.io-index"
48+checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
49+
50+[[package]]
51+name = "atk"
52+version = "0.18.2"
53+source = "registry+https://github.com/rust-lang/crates.io-index"
54+checksum = "241b621213072e993be4f6f3a9e4b45f65b7e6faad43001be957184b7bb1824b"
55+dependencies = [
56+ "atk-sys",
57+ "glib",
58+ "libc",
59+]
60+
61+[[package]]
62+name = "atk-sys"
63+version = "0.18.2"
64+source = "registry+https://github.com/rust-lang/crates.io-index"
65+checksum = "c5e48b684b0ca77d2bbadeef17424c2ea3c897d44d566a1617e7e8f30614d086"
66+dependencies = [
67+ "glib-sys",
68+ "gobject-sys",
69+ "libc",
70+ "system-deps",
71+]
72+
73+[[package]]
74+name = "atomic-waker"
75+version = "1.1.2"
76+source = "registry+https://github.com/rust-lang/crates.io-index"
77+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
78+
79+[[package]]
80+name = "autocfg"
81+version = "1.5.1"
82+source = "registry+https://github.com/rust-lang/crates.io-index"
83+checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
84+
85+[[package]]
86+name = "axum"
87+version = "0.8.9"
88+source = "registry+https://github.com/rust-lang/crates.io-index"
89+checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90"
90+dependencies = [
91+ "axum-core",
92+ "base64 0.22.1",
93+ "bytes",
94+ "form_urlencoded",
95+ "futures-util",
96+ "http",
97+ "http-body",
98+ "http-body-util",
99+ "hyper",
100+ "hyper-util",
101+ "itoa",
102+ "matchit",
103+ "memchr",
104+ "mime",
105+ "percent-encoding",
106+ "pin-project-lite",
107+ "serde_core",
108+ "serde_json",
109+ "serde_path_to_error",
110+ "serde_urlencoded",
111+ "sha1",
112+ "sync_wrapper",
113+ "tokio",
114+ "tokio-tungstenite 0.29.0",
115+ "tower",
116+ "tower-layer",
117+ "tower-service",
118+ "tracing",
119+]
120+
121+[[package]]
122+name = "axum-core"
123+version = "0.5.6"
124+source = "registry+https://github.com/rust-lang/crates.io-index"
125+checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1"
126+dependencies = [
127+ "bytes",
128+ "futures-core",
129+ "http",
130+ "http-body",
131+ "http-body-util",
132+ "mime",
133+ "pin-project-lite",
134+ "sync_wrapper",
135+ "tower-layer",
136+ "tower-service",
137+ "tracing",
138+]
139+
140+[[package]]
141+name = "base64"
142+version = "0.21.7"
143+source = "registry+https://github.com/rust-lang/crates.io-index"
144+checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
145+
146+[[package]]
147+name = "base64"
148+version = "0.22.1"
149+source = "registry+https://github.com/rust-lang/crates.io-index"
150+checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
151+
152+[[package]]
153+name = "bit-set"
154+version = "0.8.0"
155+source = "registry+https://github.com/rust-lang/crates.io-index"
156+checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
157+dependencies = [
158+ "bit-vec",
159+]
160+
161+[[package]]
162+name = "bit-vec"
163+version = "0.8.0"
164+source = "registry+https://github.com/rust-lang/crates.io-index"
165+checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
166+
167+[[package]]
168+name = "bitflags"
169+version = "1.3.2"
170+source = "registry+https://github.com/rust-lang/crates.io-index"
171+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
172+
173+[[package]]
174+name = "bitflags"
175+version = "2.13.1"
176+source = "registry+https://github.com/rust-lang/crates.io-index"
177+checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
178+dependencies = [
179+ "serde_core",
180+]
181+
182+[[package]]
183+name = "block-buffer"
184+version = "0.10.4"
185+source = "registry+https://github.com/rust-lang/crates.io-index"
186+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
187+dependencies = [
188+ "generic-array",
189+]
190+
191+[[package]]
192+name = "block2"
193+version = "0.6.2"
194+source = "registry+https://github.com/rust-lang/crates.io-index"
195+checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5"
196+dependencies = [
197+ "objc2",
198+]
199+
200+[[package]]
201+name = "brotli"
202+version = "8.0.4"
203+source = "registry+https://github.com/rust-lang/crates.io-index"
204+checksum = "5cc91aac060a7a1e25823bdccbfb6af1875b88f17c6daac97894eed8207166b3"
205+dependencies = [
206+ "alloc-no-stdlib",
207+ "alloc-stdlib",
208+ "brotli-decompressor",
209+]
210+
211+[[package]]
212+name = "brotli-decompressor"
213+version = "5.0.3"
214+source = "registry+https://github.com/rust-lang/crates.io-index"
215+checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583"
216+dependencies = [
217+ "alloc-no-stdlib",
218+ "alloc-stdlib",
219+]
220+
221+[[package]]
222+name = "bs58"
223+version = "0.5.1"
224+source = "registry+https://github.com/rust-lang/crates.io-index"
225+checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4"
226+dependencies = [
227+ "tinyvec",
228+]
229+
230+[[package]]
231+name = "bumpalo"
232+version = "3.20.3"
233+source = "registry+https://github.com/rust-lang/crates.io-index"
234+checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
235+
236+[[package]]
237+name = "bytemuck"
238+version = "1.25.2"
239+source = "registry+https://github.com/rust-lang/crates.io-index"
240+checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797"
241+
242+[[package]]
243+name = "byteorder"
244+version = "1.5.0"
245+source = "registry+https://github.com/rust-lang/crates.io-index"
246+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
247+
248+[[package]]
249+name = "bytes"
250+version = "1.12.1"
251+source = "registry+https://github.com/rust-lang/crates.io-index"
252+checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
253+dependencies = [
254+ "serde",
255+]
256+
257+[[package]]
258+name = "cairo-rs"
259+version = "0.18.5"
260+source = "registry+https://github.com/rust-lang/crates.io-index"
261+checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2"
262+dependencies = [
263+ "bitflags 2.13.1",
264+ "cairo-sys-rs",
265+ "glib",
266+ "libc",
267+ "once_cell",
268+ "thiserror 1.0.69",
269+]
270+
271+[[package]]
272+name = "cairo-sys-rs"
273+version = "0.18.2"
274+source = "registry+https://github.com/rust-lang/crates.io-index"
275+checksum = "685c9fa8e590b8b3d678873528d83411db17242a73fccaed827770ea0fedda51"
276+dependencies = [
277+ "glib-sys",
278+ "libc",
279+ "system-deps",
280+]
281+
282+[[package]]
283+name = "camino"
284+version = "1.2.5"
285+source = "registry+https://github.com/rust-lang/crates.io-index"
286+checksum = "bb1307f12aa967b5a58416e87b3653360e0fd614a016b6e970db08fecbb1b80d"
287+dependencies = [
288+ "serde_core",
289+]
290+
291+[[package]]
292+name = "cargo-platform"
293+version = "0.1.9"
294+source = "registry+https://github.com/rust-lang/crates.io-index"
295+checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea"
296+dependencies = [
297+ "serde",
298+]
299+
300+[[package]]
301+name = "cargo_metadata"
302+version = "0.19.2"
303+source = "registry+https://github.com/rust-lang/crates.io-index"
304+checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba"
305+dependencies = [
306+ "camino",
307+ "cargo-platform",
308+ "semver",
309+ "serde",
310+ "serde_json",
311+ "thiserror 2.0.20",
312+]
313+
314+[[package]]
315+name = "cargo_toml"
316+version = "0.22.3"
317+source = "registry+https://github.com/rust-lang/crates.io-index"
318+checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77"
319+dependencies = [
320+ "serde",
321+ "toml 0.9.12+spec-1.1.0",
322+]
323+
324+[[package]]
325+name = "cc"
326+version = "1.4.4"
327+source = "registry+https://github.com/rust-lang/crates.io-index"
328+checksum = "0ad534f4357a5264cce5019c989cf66a4f0dc4e0d1b1d15f8aacec0ff7360273"
329+dependencies = [
330+ "find-msvc-tools",
331+ "shlex",
332+]
333+
334+[[package]]
335+name = "cesu8"
336+version = "1.1.0"
337+source = "registry+https://github.com/rust-lang/crates.io-index"
338+checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
339+
340+[[package]]
341+name = "cfb"
342+version = "0.7.3"
343+source = "registry+https://github.com/rust-lang/crates.io-index"
344+checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f"
345+dependencies = [
346+ "byteorder",
347+ "fnv",
348+ "uuid",
349+]
350+
351+[[package]]
352+name = "cfg-expr"
353+version = "0.15.8"
354+source = "registry+https://github.com/rust-lang/crates.io-index"
355+checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02"
356+dependencies = [
357+ "smallvec",
358+ "target-lexicon",
359+]
360+
361+[[package]]
362+name = "cfg-if"
363+version = "1.0.4"
364+source = "registry+https://github.com/rust-lang/crates.io-index"
365+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
366+
367+[[package]]
368+name = "cfg_aliases"
369+version = "0.2.2"
370+source = "registry+https://github.com/rust-lang/crates.io-index"
371+checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
372+
373+[[package]]
374+name = "chacha20"
375+version = "0.10.1"
376+source = "registry+https://github.com/rust-lang/crates.io-index"
377+checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81"
378+dependencies = [
379+ "cfg-if",
380+ "cpufeatures 0.3.0",
381+ "rand_core 0.10.1",
382+]
383+
384+[[package]]
385+name = "chrono"
386+version = "0.4.45"
387+source = "registry+https://github.com/rust-lang/crates.io-index"
388+checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327"
389+dependencies = [
390+ "iana-time-zone",
391+ "num-traits",
392+ "serde",
393+ "windows-link 0.2.1",
394+]
395+
396+[[package]]
397+name = "combine"
398+version = "4.6.7"
399+source = "registry+https://github.com/rust-lang/crates.io-index"
400+checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
401+dependencies = [
402+ "bytes",
403+ "memchr",
404+]
405+
406+[[package]]
407+name = "cookie"
408+version = "0.18.2"
409+source = "registry+https://github.com/rust-lang/crates.io-index"
410+checksum = "1a373e3602691c3cdea496d2f0ee5935151e6168fe87739483c463db1b2f2f87"
411+dependencies = [
412+ "time",
413+ "version_check",
414+]
415+
416+[[package]]
417+name = "core-foundation"
418+version = "0.10.1"
419+source = "registry+https://github.com/rust-lang/crates.io-index"
420+checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"
421+dependencies = [
422+ "core-foundation-sys",
423+ "libc",
424+]
425+
426+[[package]]
427+name = "core-foundation-sys"
428+version = "0.8.7"
429+source = "registry+https://github.com/rust-lang/crates.io-index"
430+checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
431+
432+[[package]]
433+name = "core-graphics"
434+version = "0.25.0"
435+source = "registry+https://github.com/rust-lang/crates.io-index"
436+checksum = "064badf302c3194842cf2c5d61f56cc88e54a759313879cdf03abdd27d0c3b97"
437+dependencies = [
438+ "bitflags 2.13.1",
439+ "core-foundation",
440+ "core-graphics-types",
441+ "foreign-types",
442+ "libc",
443+]
444+
445+[[package]]
446+name = "core-graphics-types"
447+version = "0.2.0"
448+source = "registry+https://github.com/rust-lang/crates.io-index"
449+checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb"
450+dependencies = [
451+ "bitflags 2.13.1",
452+ "core-foundation",
453+ "libc",
454+]
455+
456+[[package]]
457+name = "cpufeatures"
458+version = "0.2.17"
459+source = "registry+https://github.com/rust-lang/crates.io-index"
460+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
461+dependencies = [
462+ "libc",
463+]
464+
465+[[package]]
466+name = "cpufeatures"
467+version = "0.3.0"
468+source = "registry+https://github.com/rust-lang/crates.io-index"
469+checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
470+dependencies = [
471+ "libc",
472+]
473+
474+[[package]]
475+name = "crc32fast"
476+version = "1.5.1"
477+source = "registry+https://github.com/rust-lang/crates.io-index"
478+checksum = "8498c871161e1742aaa9d52551b2d6ebdd4c3d45a3be423e3728f33b955be550"
479+dependencies = [
480+ "cfg-if",
481+]
482+
483+[[package]]
484+name = "crossbeam-channel"
485+version = "0.5.16"
486+source = "registry+https://github.com/rust-lang/crates.io-index"
487+checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e"
488+dependencies = [
489+ "crossbeam-utils",
490+]
491+
492+[[package]]
493+name = "crossbeam-utils"
494+version = "0.8.22"
495+source = "registry+https://github.com/rust-lang/crates.io-index"
496+checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
497+
498+[[package]]
499+name = "crypto-common"
500+version = "0.1.7"
501+source = "registry+https://github.com/rust-lang/crates.io-index"
502+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
503+dependencies = [
504+ "generic-array",
505+ "typenum",
506+]
507+
508+[[package]]
509+name = "cssparser"
510+version = "0.36.0"
511+source = "registry+https://github.com/rust-lang/crates.io-index"
512+checksum = "dae61cf9c0abb83bd659dab65b7e4e38d8236824c85f0f804f173567bda257d2"
513+dependencies = [
514+ "cssparser-macros",
515+ "dtoa-short",
516+ "itoa",
517+ "phf",
518+ "smallvec",
519+]
520+
521+[[package]]
522+name = "cssparser-macros"
523+version = "0.6.1"
524+source = "registry+https://github.com/rust-lang/crates.io-index"
525+checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
526+dependencies = [
527+ "quote",
528+ "syn 2.0.119",
529+]
530+
531+[[package]]
532+name = "ctor"
533+version = "0.8.0"
534+source = "registry+https://github.com/rust-lang/crates.io-index"
535+checksum = "352d39c2f7bef1d6ad73db6f5160efcaed66d94ef8c6c573a8410c00bf909a98"
536+dependencies = [
537+ "ctor-proc-macro",
538+ "dtor",
539+]
540+
541+[[package]]
542+name = "ctor-proc-macro"
543+version = "0.0.7"
544+source = "registry+https://github.com/rust-lang/crates.io-index"
545+checksum = "52560adf09603e58c9a7ee1fe1dcb95a16927b17c127f0ac02d6e768a0e25bc1"
546+
547+[[package]]
548+name = "darling"
549+version = "0.23.0"
550+source = "registry+https://github.com/rust-lang/crates.io-index"
551+checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
552+dependencies = [
553+ "darling_core",
554+ "darling_macro",
555+]
556+
557+[[package]]
558+name = "darling_core"
559+version = "0.23.0"
560+source = "registry+https://github.com/rust-lang/crates.io-index"
561+checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0"
562+dependencies = [
563+ "ident_case",
564+ "proc-macro2",
565+ "quote",
566+ "strsim",
567+ "syn 2.0.119",
568+]
569+
570+[[package]]
571+name = "darling_macro"
572+version = "0.23.0"
573+source = "registry+https://github.com/rust-lang/crates.io-index"
574+checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
575+dependencies = [
576+ "darling_core",
577+ "quote",
578+ "syn 2.0.119",
579+]
580+
581+[[package]]
582+name = "data-encoding"
583+version = "2.11.1"
584+source = "registry+https://github.com/rust-lang/crates.io-index"
585+checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06"
586+
587+[[package]]
588+name = "dbus"
589+version = "0.9.12"
590+source = "registry+https://github.com/rust-lang/crates.io-index"
591+checksum = "3ab69f03cc8c4340c9c8e315114e1658e6775a9b16a04357973aa21cec22b32e"
592+dependencies = [
593+ "libc",
594+ "libdbus-sys",
595+ "windows-sys 0.61.2",
596+]
597+
598+[[package]]
599+name = "defmt"
600+version = "1.1.1"
601+source = "registry+https://github.com/rust-lang/crates.io-index"
602+checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1"
603+dependencies = [
604+ "bitflags 1.3.2",
605+ "defmt-macros",
606+]
607+
608+[[package]]
609+name = "defmt-macros"
610+version = "1.1.1"
611+source = "registry+https://github.com/rust-lang/crates.io-index"
612+checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8"
613+dependencies = [
614+ "defmt-parser",
615+ "proc-macro2",
616+ "quote",
617+ "syn 2.0.119",
618+]
619+
620+[[package]]
621+name = "defmt-parser"
622+version = "1.0.0"
623+source = "registry+https://github.com/rust-lang/crates.io-index"
624+checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e"
625+dependencies = [
626+ "thiserror 2.0.20",
627+]
628+
629+[[package]]
630+name = "deranged"
631+version = "0.5.8"
632+source = "registry+https://github.com/rust-lang/crates.io-index"
633+checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
634+dependencies = [
635+ "serde_core",
636+]
637+
638+[[package]]
639+name = "derive_more"
640+version = "2.1.1"
641+source = "registry+https://github.com/rust-lang/crates.io-index"
642+checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
643+dependencies = [
644+ "derive_more-impl",
645+]
646+
647+[[package]]
648+name = "derive_more-impl"
649+version = "2.1.1"
650+source = "registry+https://github.com/rust-lang/crates.io-index"
651+checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
652+dependencies = [
653+ "proc-macro2",
654+ "quote",
655+ "rustc_version",
656+ "syn 2.0.119",
657+]
658+
659+[[package]]
660+name = "digest"
661+version = "0.10.7"
662+source = "registry+https://github.com/rust-lang/crates.io-index"
663+checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
664+dependencies = [
665+ "block-buffer",
666+ "crypto-common",
667+]
668+
669+[[package]]
670+name = "dirs"
671+version = "6.0.0"
672+source = "registry+https://github.com/rust-lang/crates.io-index"
673+checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e"
674+dependencies = [
675+ "dirs-sys",
676+]
677+
678+[[package]]
679+name = "dirs-sys"
680+version = "0.5.0"
681+source = "registry+https://github.com/rust-lang/crates.io-index"
682+checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab"
683+dependencies = [
684+ "libc",
685+ "option-ext",
686+ "redox_users",
687+ "windows-sys 0.61.2",
688+]
689+
690+[[package]]
691+name = "dispatch2"
692+version = "0.3.1"
693+source = "registry+https://github.com/rust-lang/crates.io-index"
694+checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38"
695+dependencies = [
696+ "bitflags 2.13.1",
697+ "block2",
698+ "libc",
699+ "objc2",
700+]
701+
702+[[package]]
703+name = "displaydoc"
704+version = "0.2.7"
705+source = "registry+https://github.com/rust-lang/crates.io-index"
706+checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
707+dependencies = [
708+ "proc-macro2",
709+ "quote",
710+ "syn 3.0.3",
711+]
712+
713+[[package]]
714+name = "dlopen2"
715+version = "0.8.2"
716+source = "registry+https://github.com/rust-lang/crates.io-index"
717+checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4"
718+dependencies = [
719+ "dlopen2_derive",
720+ "libc",
721+ "once_cell",
722+ "winapi",
723+]
724+
725+[[package]]
726+name = "dlopen2_derive"
727+version = "0.4.3"
728+source = "registry+https://github.com/rust-lang/crates.io-index"
729+checksum = "0fbbb781877580993a8707ec48672673ec7b81eeba04cfd2310bd28c08e47c8f"
730+dependencies = [
731+ "proc-macro2",
732+ "quote",
733+ "syn 2.0.119",
734+]
735+
736+[[package]]
737+name = "dom_query"
738+version = "0.27.0"
739+source = "registry+https://github.com/rust-lang/crates.io-index"
740+checksum = "521e380c0c8afb8d9a1e83a1822ee03556fc3e3e7dbc1fd30be14e37f9cb3f89"
741+dependencies = [
742+ "bit-set",
743+ "cssparser",
744+ "foldhash",
745+ "html5ever",
746+ "precomputed-hash",
747+ "selectors",
748+ "tendril",
749+]
750+
751+[[package]]
752+name = "dpi"
753+version = "0.1.2"
754+source = "registry+https://github.com/rust-lang/crates.io-index"
755+checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76"
756+dependencies = [
757+ "serde",
758+]
759+
760+[[package]]
761+name = "dtoa"
762+version = "1.0.11"
763+source = "registry+https://github.com/rust-lang/crates.io-index"
764+checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
765+
766+[[package]]
767+name = "dtoa-short"
768+version = "0.3.5"
769+source = "registry+https://github.com/rust-lang/crates.io-index"
770+checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87"
771+dependencies = [
772+ "dtoa",
773+]
774+
775+[[package]]
776+name = "dtor"
777+version = "0.3.0"
778+source = "registry+https://github.com/rust-lang/crates.io-index"
779+checksum = "f1057d6c64987086ff8ed0fd3fbf377a6b7d205cc7715868cd401705f715cbe4"
780+dependencies = [
781+ "dtor-proc-macro",
782+]
783+
784+[[package]]
785+name = "dtor-proc-macro"
786+version = "0.0.6"
787+source = "registry+https://github.com/rust-lang/crates.io-index"
788+checksum = "f678cf4a922c215c63e0de95eb1ff08a958a81d47e485cf9da1e27bf6305cfa5"
789+
790+[[package]]
791+name = "dunce"
792+version = "1.0.5"
793+source = "registry+https://github.com/rust-lang/crates.io-index"
794+checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
795+
796+[[package]]
797+name = "dyn-clone"
798+version = "1.0.20"
799+source = "registry+https://github.com/rust-lang/crates.io-index"
800+checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
801+
802+[[package]]
803+name = "embed-resource"
804+version = "3.0.11"
805+source = "registry+https://github.com/rust-lang/crates.io-index"
806+checksum = "fbfdaacccebec3b28e4866b8973543c7647797db5ada1bdab552e48fe665fbbd"
807+dependencies = [
808+ "cc",
809+ "memchr",
810+ "rustc_version",
811+ "toml 1.1.4+spec-1.1.0",
812+ "vswhom",
813+ "winreg",
814+]
815+
816+[[package]]
817+name = "embed_plist"
818+version = "1.2.2"
819+source = "registry+https://github.com/rust-lang/crates.io-index"
820+checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7"
821+
822+[[package]]
823+name = "equivalent"
824+version = "1.0.2"
825+source = "registry+https://github.com/rust-lang/crates.io-index"
826+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
827+
828+[[package]]
829+name = "erased-serde"
830+version = "0.4.10"
831+source = "registry+https://github.com/rust-lang/crates.io-index"
832+checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec"
833+dependencies = [
834+ "serde",
835+ "serde_core",
836+ "typeid",
837+]
838+
839+[[package]]
840+name = "errno"
841+version = "0.3.14"
842+source = "registry+https://github.com/rust-lang/crates.io-index"
843+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
844+dependencies = [
845+ "libc",
846+ "windows-sys 0.61.2",
847+]
848+
849+[[package]]
850+name = "fastrand"
851+version = "2.5.0"
852+source = "registry+https://github.com/rust-lang/crates.io-index"
853+checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
854+
855+[[package]]
856+name = "fdeflate"
857+version = "0.3.7"
858+source = "registry+https://github.com/rust-lang/crates.io-index"
859+checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
860+dependencies = [
861+ "simd-adler32",
862+]
863+
864+[[package]]
865+name = "field-offset"
866+version = "0.3.6"
867+source = "registry+https://github.com/rust-lang/crates.io-index"
868+checksum = "38e2275cc4e4fc009b0669731a1e5ab7ebf11f469eaede2bab9309a5b4d6057f"
869+dependencies = [
870+ "memoffset",
871+ "rustc_version",
872+]
873+
874+[[package]]
875+name = "find-msvc-tools"
876+version = "0.1.11"
877+source = "registry+https://github.com/rust-lang/crates.io-index"
878+checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890"
879+
880+[[package]]
881+name = "flate2"
882+version = "1.1.9"
883+source = "registry+https://github.com/rust-lang/crates.io-index"
884+checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
885+dependencies = [
886+ "crc32fast",
887+ "miniz_oxide",
888+]
889+
890+[[package]]
891+name = "fnv"
892+version = "1.0.7"
893+source = "registry+https://github.com/rust-lang/crates.io-index"
894+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
895+
896+[[package]]
897+name = "foldhash"
898+version = "0.2.0"
899+source = "registry+https://github.com/rust-lang/crates.io-index"
900+checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
901+
902+[[package]]
903+name = "foreign-types"
904+version = "0.5.0"
905+source = "registry+https://github.com/rust-lang/crates.io-index"
906+checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
907+dependencies = [
908+ "foreign-types-macros",
909+ "foreign-types-shared",
910+]
911+
912+[[package]]
913+name = "foreign-types-macros"
914+version = "0.2.4"
915+source = "registry+https://github.com/rust-lang/crates.io-index"
916+checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225"
917+dependencies = [
918+ "proc-macro2",
919+ "quote",
920+ "syn 3.0.3",
921+]
922+
923+[[package]]
924+name = "foreign-types-shared"
925+version = "0.3.1"
926+source = "registry+https://github.com/rust-lang/crates.io-index"
927+checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
928+
929+[[package]]
930+name = "form_urlencoded"
931+version = "1.2.2"
932+source = "registry+https://github.com/rust-lang/crates.io-index"
933+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
934+dependencies = [
935+ "percent-encoding",
936+]
937+
938+[[package]]
939+name = "futures-channel"
940+version = "0.3.34"
941+source = "registry+https://github.com/rust-lang/crates.io-index"
942+checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
943+dependencies = [
944+ "futures-core",
945+]
946+
947+[[package]]
948+name = "futures-core"
949+version = "0.3.34"
950+source = "registry+https://github.com/rust-lang/crates.io-index"
951+checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
952+
953+[[package]]
954+name = "futures-executor"
955+version = "0.3.34"
956+source = "registry+https://github.com/rust-lang/crates.io-index"
957+checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432"
958+dependencies = [
959+ "futures-core",
960+ "futures-task",
961+ "futures-util",
962+]
963+
964+[[package]]
965+name = "futures-io"
966+version = "0.3.34"
967+source = "registry+https://github.com/rust-lang/crates.io-index"
968+checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
969+
970+[[package]]
971+name = "futures-macro"
972+version = "0.3.34"
973+source = "registry+https://github.com/rust-lang/crates.io-index"
974+checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
975+dependencies = [
976+ "proc-macro2",
977+ "quote",
978+ "syn 3.0.3",
979+]
980+
981+[[package]]
982+name = "futures-sink"
983+version = "0.3.34"
984+source = "registry+https://github.com/rust-lang/crates.io-index"
985+checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
986+
987+[[package]]
988+name = "futures-task"
989+version = "0.3.34"
990+source = "registry+https://github.com/rust-lang/crates.io-index"
991+checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
992+
993+[[package]]
994+name = "futures-util"
995+version = "0.3.34"
996+source = "registry+https://github.com/rust-lang/crates.io-index"
997+checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
998+dependencies = [
999+ "futures-core",
1000+ "futures-io",
1001+ "futures-macro",
1002+ "futures-sink",
1003+ "futures-task",
1004+ "memchr",
1005+ "pin-project-lite",
1006+ "slab",
1007+]
1008+
1009+[[package]]
1010+name = "gdk"
1011+version = "0.18.2"
1012+source = "registry+https://github.com/rust-lang/crates.io-index"
1013+checksum = "d9f245958c627ac99d8e529166f9823fb3b838d1d41fd2b297af3075093c2691"
1014+dependencies = [
1015+ "cairo-rs",
1016+ "gdk-pixbuf",
1017+ "gdk-sys",
1018+ "gio",
1019+ "glib",
1020+ "libc",
1021+ "pango",
1022+]
1023+
1024+[[package]]
1025+name = "gdk-pixbuf"
1026+version = "0.18.5"
1027+source = "registry+https://github.com/rust-lang/crates.io-index"
1028+checksum = "50e1f5f1b0bfb830d6ccc8066d18db35c487b1b2b1e8589b5dfe9f07e8defaec"
1029+dependencies = [
1030+ "gdk-pixbuf-sys",
1031+ "gio",
1032+ "glib",
1033+ "libc",
1034+ "once_cell",
1035+]
1036+
1037+[[package]]
1038+name = "gdk-pixbuf-sys"
1039+version = "0.18.0"
1040+source = "registry+https://github.com/rust-lang/crates.io-index"
1041+checksum = "3f9839ea644ed9c97a34d129ad56d38a25e6756f99f3a88e15cd39c20629caf7"
1042+dependencies = [
1043+ "gio-sys",
1044+ "glib-sys",
1045+ "gobject-sys",
1046+ "libc",
1047+ "system-deps",
1048+]
1049+
1050+[[package]]
1051+name = "gdk-sys"
1052+version = "0.18.2"
1053+source = "registry+https://github.com/rust-lang/crates.io-index"
1054+checksum = "5c2d13f38594ac1e66619e188c6d5a1adb98d11b2fcf7894fc416ad76aa2f3f7"
1055+dependencies = [
1056+ "cairo-sys-rs",
1057+ "gdk-pixbuf-sys",
1058+ "gio-sys",
1059+ "glib-sys",
1060+ "gobject-sys",
1061+ "libc",
1062+ "pango-sys",
1063+ "pkg-config",
1064+ "system-deps",
1065+]
1066+
1067+[[package]]
1068+name = "gdkwayland-sys"
1069+version = "0.18.2"
1070+source = "registry+https://github.com/rust-lang/crates.io-index"
1071+checksum = "140071d506d223f7572b9f09b5e155afbd77428cd5cc7af8f2694c41d98dfe69"
1072+dependencies = [
1073+ "gdk-sys",
1074+ "glib-sys",
1075+ "gobject-sys",
1076+ "libc",
1077+ "pkg-config",
1078+ "system-deps",
1079+]
1080+
1081+[[package]]
1082+name = "gdkx11"
1083+version = "0.18.2"
1084+source = "registry+https://github.com/rust-lang/crates.io-index"
1085+checksum = "3caa00e14351bebbc8183b3c36690327eb77c49abc2268dd4bd36b856db3fbfe"
1086+dependencies = [
1087+ "gdk",
1088+ "gdkx11-sys",
1089+ "gio",
1090+ "glib",
1091+ "libc",
1092+ "x11",
1093+]
1094+
1095+[[package]]
1096+name = "gdkx11-sys"
1097+version = "0.18.2"
1098+source = "registry+https://github.com/rust-lang/crates.io-index"
1099+checksum = "6e2e7445fe01ac26f11601db260dd8608fe172514eb63b3b5e261ea6b0f4428d"
1100+dependencies = [
1101+ "gdk-sys",
1102+ "glib-sys",
1103+ "libc",
1104+ "system-deps",
1105+ "x11",
1106+]
1107+
1108+[[package]]
1109+name = "generic-array"
1110+version = "0.14.7"
1111+source = "registry+https://github.com/rust-lang/crates.io-index"
1112+checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
1113+dependencies = [
1114+ "typenum",
1115+ "version_check",
1116+]
1117+
1118+[[package]]
1119+name = "gethostname"
1120+version = "1.1.0"
1121+source = "registry+https://github.com/rust-lang/crates.io-index"
1122+checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8"
1123+dependencies = [
1124+ "rustix",
1125+ "windows-link 0.2.1",
1126+]
1127+
1128+[[package]]
1129+name = "getrandom"
1130+version = "0.2.17"
1131+source = "registry+https://github.com/rust-lang/crates.io-index"
1132+checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
1133+dependencies = [
1134+ "cfg-if",
1135+ "js-sys",
1136+ "libc",
1137+ "wasi",
1138+ "wasm-bindgen",
1139+]
1140+
1141+[[package]]
1142+name = "getrandom"
1143+version = "0.3.4"
1144+source = "registry+https://github.com/rust-lang/crates.io-index"
1145+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
1146+dependencies = [
1147+ "cfg-if",
1148+ "libc",
1149+ "r-efi 5.3.0",
1150+ "wasip2",
1151+]
1152+
1153+[[package]]
1154+name = "getrandom"
1155+version = "0.4.3"
1156+source = "registry+https://github.com/rust-lang/crates.io-index"
1157+checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
1158+dependencies = [
1159+ "cfg-if",
1160+ "js-sys",
1161+ "libc",
1162+ "r-efi 6.0.0",
1163+ "rand_core 0.10.1",
1164+ "wasm-bindgen",
1165+]
1166+
1167+[[package]]
1168+name = "gio"
1169+version = "0.18.4"
1170+source = "registry+https://github.com/rust-lang/crates.io-index"
1171+checksum = "d4fc8f532f87b79cbc51a79748f16a6828fb784be93145a322fa14d06d354c73"
1172+dependencies = [
1173+ "futures-channel",
1174+ "futures-core",
1175+ "futures-io",
1176+ "futures-util",
1177+ "gio-sys",
1178+ "glib",
1179+ "libc",
1180+ "once_cell",
1181+ "pin-project-lite",
1182+ "smallvec",
1183+ "thiserror 1.0.69",
1184+]
1185+
1186+[[package]]
1187+name = "gio-sys"
1188+version = "0.18.1"
1189+source = "registry+https://github.com/rust-lang/crates.io-index"
1190+checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2"
1191+dependencies = [
1192+ "glib-sys",
1193+ "gobject-sys",
1194+ "libc",
1195+ "system-deps",
1196+ "winapi",
1197+]
1198+
1199+[[package]]
1200+name = "glib"
1201+version = "0.18.5"
1202+source = "registry+https://github.com/rust-lang/crates.io-index"
1203+checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5"
1204+dependencies = [
1205+ "bitflags 2.13.1",
1206+ "futures-channel",
1207+ "futures-core",
1208+ "futures-executor",
1209+ "futures-task",
1210+ "futures-util",
1211+ "gio-sys",
1212+ "glib-macros",
1213+ "glib-sys",
1214+ "gobject-sys",
1215+ "libc",
1216+ "memchr",
1217+ "once_cell",
1218+ "smallvec",
1219+ "thiserror 1.0.69",
1220+]
1221+
1222+[[package]]
1223+name = "glib-macros"
1224+version = "0.18.5"
1225+source = "registry+https://github.com/rust-lang/crates.io-index"
1226+checksum = "0bb0228f477c0900c880fd78c8759b95c7636dbd7842707f49e132378aa2acdc"
1227+dependencies = [
1228+ "heck 0.4.1",
1229+ "proc-macro-crate 2.0.2",
1230+ "proc-macro-error",
1231+ "proc-macro2",
1232+ "quote",
1233+ "syn 2.0.119",
1234+]
1235+
1236+[[package]]
1237+name = "glib-sys"
1238+version = "0.18.1"
1239+source = "registry+https://github.com/rust-lang/crates.io-index"
1240+checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898"
1241+dependencies = [
1242+ "libc",
1243+ "system-deps",
1244+]
1245+
1246+[[package]]
1247+name = "glob"
1248+version = "0.3.4"
1249+source = "registry+https://github.com/rust-lang/crates.io-index"
1250+checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
1251+
1252+[[package]]
1253+name = "gobject-sys"
1254+version = "0.18.0"
1255+source = "registry+https://github.com/rust-lang/crates.io-index"
1256+checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44"
1257+dependencies = [
1258+ "glib-sys",
1259+ "libc",
1260+ "system-deps",
1261+]
1262+
1263+[[package]]
1264+name = "gtk"
1265+version = "0.18.2"
1266+source = "registry+https://github.com/rust-lang/crates.io-index"
1267+checksum = "fd56fb197bfc42bd5d2751f4f017d44ff59fbb58140c6b49f9b3b2bdab08506a"
1268+dependencies = [
1269+ "atk",
1270+ "cairo-rs",
1271+ "field-offset",
1272+ "futures-channel",
1273+ "gdk",
1274+ "gdk-pixbuf",
1275+ "gio",
1276+ "glib",
1277+ "gtk-sys",
1278+ "gtk3-macros",
1279+ "libc",
1280+ "pango",
1281+ "pkg-config",
1282+]
1283+
1284+[[package]]
1285+name = "gtk-sys"
1286+version = "0.18.2"
1287+source = "registry+https://github.com/rust-lang/crates.io-index"
1288+checksum = "8f29a1c21c59553eb7dd40e918be54dccd60c52b049b75119d5d96ce6b624414"
1289+dependencies = [
1290+ "atk-sys",
1291+ "cairo-sys-rs",
1292+ "gdk-pixbuf-sys",
1293+ "gdk-sys",
1294+ "gio-sys",
1295+ "glib-sys",
1296+ "gobject-sys",
1297+ "libc",
1298+ "pango-sys",
1299+ "system-deps",
1300+]
1301+
1302+[[package]]
1303+name = "gtk3-macros"
1304+version = "0.18.2"
1305+source = "registry+https://github.com/rust-lang/crates.io-index"
1306+checksum = "52ff3c5b21f14f0736fed6dcfc0bfb4225ebf5725f3c0209edeec181e4d73e9d"
1307+dependencies = [
1308+ "proc-macro-crate 1.3.1",
1309+ "proc-macro-error",
1310+ "proc-macro2",
1311+ "quote",
1312+ "syn 2.0.119",
1313+]
1314+
1315+[[package]]
1316+name = "h2"
1317+version = "0.4.18"
1318+source = "registry+https://github.com/rust-lang/crates.io-index"
1319+checksum = "839c0e8a181239723652be9062bb56ca5bf5f64011f73b623f6f4fc59086a228"
1320+dependencies = [
1321+ "atomic-waker",
1322+ "bytes",
1323+ "fnv",
1324+ "futures-core",
1325+ "futures-sink",
1326+ "http",
1327+ "indexmap 2.14.0",
1328+ "slab",
1329+ "tokio",
1330+ "tokio-util",
1331+ "tracing",
1332+]
1333+
1334+[[package]]
1335+name = "hashbrown"
1336+version = "0.12.3"
1337+source = "registry+https://github.com/rust-lang/crates.io-index"
1338+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
1339+
1340+[[package]]
1341+name = "hashbrown"
1342+version = "0.17.1"
1343+source = "registry+https://github.com/rust-lang/crates.io-index"
1344+checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
1345+
1346+[[package]]
1347+name = "heck"
1348+version = "0.4.1"
1349+source = "registry+https://github.com/rust-lang/crates.io-index"
1350+checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
1351+
1352+[[package]]
1353+name = "heck"
1354+version = "0.5.0"
1355+source = "registry+https://github.com/rust-lang/crates.io-index"
1356+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
1357+
1358+[[package]]
1359+name = "hex"
1360+version = "0.4.3"
1361+source = "registry+https://github.com/rust-lang/crates.io-index"
1362+checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
1363+
1364+[[package]]
1365+name = "hezarfen-mobile"
1366+version = "0.1.0"
1367+dependencies = [
1368+ "axum",
1369+ "bytes",
1370+ "futures-util",
1371+ "log",
1372+ "reqwest 0.12.28",
1373+ "tauri",
1374+ "tauri-build",
1375+ "tauri-plugin-os",
1376+ "tokio",
1377+ "tokio-tungstenite 0.26.2",
1378+]
1379+
1380+[[package]]
1381+name = "html5ever"
1382+version = "0.38.0"
1383+source = "registry+https://github.com/rust-lang/crates.io-index"
1384+checksum = "1054432bae2f14e0061e33d23402fbaa67a921d319d56adc6bcf887ddad1cbc2"
1385+dependencies = [
1386+ "log",
1387+ "markup5ever",
1388+]
1389+
1390+[[package]]
1391+name = "http"
1392+version = "1.5.0"
1393+source = "registry+https://github.com/rust-lang/crates.io-index"
1394+checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
1395+dependencies = [
1396+ "bytes",
1397+ "itoa",
1398+]
1399+
1400+[[package]]
1401+name = "http-body"
1402+version = "1.1.0"
1403+source = "registry+https://github.com/rust-lang/crates.io-index"
1404+checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c"
1405+dependencies = [
1406+ "bytes",
1407+ "http",
1408+]
1409+
1410+[[package]]
1411+name = "http-body-util"
1412+version = "0.1.5"
1413+source = "registry+https://github.com/rust-lang/crates.io-index"
1414+checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
1415+dependencies = [
1416+ "bytes",
1417+ "futures-core",
1418+ "http",
1419+ "http-body",
1420+ "pin-project-lite",
1421+]
1422+
1423+[[package]]
1424+name = "httparse"
1425+version = "1.10.1"
1426+source = "registry+https://github.com/rust-lang/crates.io-index"
1427+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
1428+
1429+[[package]]
1430+name = "httpdate"
1431+version = "1.0.3"
1432+source = "registry+https://github.com/rust-lang/crates.io-index"
1433+checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
1434+
1435+[[package]]
1436+name = "hyper"
1437+version = "1.11.0"
1438+source = "registry+https://github.com/rust-lang/crates.io-index"
1439+checksum = "d22053281f852e11534f5198498373cbb59295120a20771d90f7ed1897490a72"
1440+dependencies = [
1441+ "atomic-waker",
1442+ "bytes",
1443+ "futures-channel",
1444+ "futures-core",
1445+ "h2",
1446+ "http",
1447+ "http-body",
1448+ "httparse",
1449+ "httpdate",
1450+ "itoa",
1451+ "pin-project-lite",
1452+ "smallvec",
1453+ "tokio",
1454+ "want",
1455+]
1456+
1457+[[package]]
1458+name = "hyper-rustls"
1459+version = "0.27.9"
1460+source = "registry+https://github.com/rust-lang/crates.io-index"
1461+checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f"
1462+dependencies = [
1463+ "http",
1464+ "hyper",
1465+ "hyper-util",
1466+ "rustls",
1467+ "tokio",
1468+ "tokio-rustls",
1469+ "tower-service",
1470+ "webpki-roots 1.0.9",
1471+]
1472+
1473+[[package]]
1474+name = "hyper-util"
1475+version = "0.1.20"
1476+source = "registry+https://github.com/rust-lang/crates.io-index"
1477+checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
1478+dependencies = [
1479+ "base64 0.22.1",
1480+ "bytes",
1481+ "futures-channel",
1482+ "futures-util",
1483+ "http",
1484+ "http-body",
1485+ "hyper",
1486+ "ipnet",
1487+ "libc",
1488+ "percent-encoding",
1489+ "pin-project-lite",
1490+ "socket2",
1491+ "tokio",
1492+ "tower-service",
1493+ "tracing",
1494+]
1495+
1496+[[package]]
1497+name = "iana-time-zone"
1498+version = "0.1.65"
1499+source = "registry+https://github.com/rust-lang/crates.io-index"
1500+checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"
1501+dependencies = [
1502+ "android_system_properties",
1503+ "core-foundation-sys",
1504+ "iana-time-zone-haiku",
1505+ "js-sys",
1506+ "log",
1507+ "wasm-bindgen",
1508+ "windows-core 0.62.2",
1509+]
1510+
1511+[[package]]
1512+name = "iana-time-zone-haiku"
1513+version = "0.1.2"
1514+source = "registry+https://github.com/rust-lang/crates.io-index"
1515+checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
1516+dependencies = [
1517+ "cc",
1518+]
1519+
1520+[[package]]
1521+name = "ico"
1522+version = "0.5.0"
1523+source = "registry+https://github.com/rust-lang/crates.io-index"
1524+checksum = "3e795dff5605e0f04bff85ca41b51a96b83e80b281e96231bcaaf1ac35103371"
1525+dependencies = [
1526+ "byteorder",
1527+ "png 0.17.16",
1528+]
1529+
1530+[[package]]
1531+name = "icu_collections"
1532+version = "2.3.0"
1533+source = "registry+https://github.com/rust-lang/crates.io-index"
1534+checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513"
1535+dependencies = [
1536+ "displaydoc",
1537+ "potential_utf",
1538+ "utf8_iter",
1539+ "yoke",
1540+ "zerofrom",
1541+ "zerovec",
1542+]
1543+
1544+[[package]]
1545+name = "icu_locale_core"
1546+version = "2.3.0"
1547+source = "registry+https://github.com/rust-lang/crates.io-index"
1548+checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb"
1549+dependencies = [
1550+ "displaydoc",
1551+ "litemap",
1552+ "tinystr",
1553+ "writeable",
1554+ "zerovec",
1555+]
1556+
1557+[[package]]
1558+name = "icu_normalizer"
1559+version = "2.3.0"
1560+source = "registry+https://github.com/rust-lang/crates.io-index"
1561+checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f"
1562+dependencies = [
1563+ "icu_collections",
1564+ "icu_normalizer_data",
1565+ "icu_properties",
1566+ "icu_provider",
1567+ "smallvec",
1568+ "zerovec",
1569+]
1570+
1571+[[package]]
1572+name = "icu_normalizer_data"
1573+version = "2.3.0"
1574+source = "registry+https://github.com/rust-lang/crates.io-index"
1575+checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0"
1576+
1577+[[package]]
1578+name = "icu_properties"
1579+version = "2.3.0"
1580+source = "registry+https://github.com/rust-lang/crates.io-index"
1581+checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148"
1582+dependencies = [
1583+ "displaydoc",
1584+ "icu_collections",
1585+ "icu_locale_core",
1586+ "icu_properties_data",
1587+ "icu_provider",
1588+ "zerotrie",
1589+ "zerovec",
1590+]
1591+
1592+[[package]]
1593+name = "icu_properties_data"
1594+version = "2.3.0"
1595+source = "registry+https://github.com/rust-lang/crates.io-index"
1596+checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa"
1597+
1598+[[package]]
1599+name = "icu_provider"
1600+version = "2.3.1"
1601+source = "registry+https://github.com/rust-lang/crates.io-index"
1602+checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73"
1603+dependencies = [
1604+ "displaydoc",
1605+ "icu_locale_core",
1606+ "writeable",
1607+ "yoke",
1608+ "zerofrom",
1609+ "zerotrie",
1610+ "zerovec",
1611+]
1612+
1613+[[package]]
1614+name = "ident_case"
1615+version = "1.0.1"
1616+source = "registry+https://github.com/rust-lang/crates.io-index"
1617+checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
1618+
1619+[[package]]
1620+name = "idna"
1621+version = "1.1.0"
1622+source = "registry+https://github.com/rust-lang/crates.io-index"
1623+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
1624+dependencies = [
1625+ "idna_adapter",
1626+ "smallvec",
1627+ "utf8_iter",
1628+]
1629+
1630+[[package]]
1631+name = "idna_adapter"
1632+version = "1.2.2"
1633+source = "registry+https://github.com/rust-lang/crates.io-index"
1634+checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
1635+dependencies = [
1636+ "icu_normalizer",
1637+ "icu_properties",
1638+]
1639+
1640+[[package]]
1641+name = "indexmap"
1642+version = "1.9.3"
1643+source = "registry+https://github.com/rust-lang/crates.io-index"
1644+checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
1645+dependencies = [
1646+ "autocfg",
1647+ "hashbrown 0.12.3",
1648+ "serde",
1649+]
1650+
1651+[[package]]
1652+name = "indexmap"
1653+version = "2.14.0"
1654+source = "registry+https://github.com/rust-lang/crates.io-index"
1655+checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
1656+dependencies = [
1657+ "equivalent",
1658+ "hashbrown 0.17.1",
1659+ "serde",
1660+ "serde_core",
1661+]
1662+
1663+[[package]]
1664+name = "infer"
1665+version = "0.19.0"
1666+source = "registry+https://github.com/rust-lang/crates.io-index"
1667+checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7"
1668+dependencies = [
1669+ "cfb",
1670+]
1671+
1672+[[package]]
1673+name = "ipnet"
1674+version = "2.12.1"
1675+source = "registry+https://github.com/rust-lang/crates.io-index"
1676+checksum = "6a756c3fac73139e83f14c2d742155dd2b78d3ee56597b419a0579b7bdd6dd78"
1677+
1678+[[package]]
1679+name = "itoa"
1680+version = "1.0.18"
1681+source = "registry+https://github.com/rust-lang/crates.io-index"
1682+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
1683+
1684+[[package]]
1685+name = "javascriptcore-rs"
1686+version = "1.1.2"
1687+source = "registry+https://github.com/rust-lang/crates.io-index"
1688+checksum = "ca5671e9ffce8ffba57afc24070e906da7fc4b1ba66f2cabebf61bf2ea257fcc"
1689+dependencies = [
1690+ "bitflags 1.3.2",
1691+ "glib",
1692+ "javascriptcore-rs-sys",
1693+]
1694+
1695+[[package]]
1696+name = "javascriptcore-rs-sys"
1697+version = "1.1.1"
1698+source = "registry+https://github.com/rust-lang/crates.io-index"
1699+checksum = "af1be78d14ffa4b75b66df31840478fef72b51f8c2465d4ca7c194da9f7a5124"
1700+dependencies = [
1701+ "glib-sys",
1702+ "gobject-sys",
1703+ "libc",
1704+ "system-deps",
1705+]
1706+
1707+[[package]]
1708+name = "jiff"
1709+version = "0.2.35"
1710+source = "registry+https://github.com/rust-lang/crates.io-index"
1711+checksum = "668b7183bd07af9a4885f5c35b0cc5c83c4607a913c16b7e17291832910d2dcc"
1712+dependencies = [
1713+ "defmt",
1714+ "jiff-core",
1715+ "jiff-static",
1716+ "jiff-tzdb-platform",
1717+ "log",
1718+ "portable-atomic",
1719+ "portable-atomic-util",
1720+ "serde_core",
1721+ "windows-link 0.2.1",
1722+]
1723+
1724+[[package]]
1725+name = "jiff-core"
1726+version = "0.1.0"
1727+source = "registry+https://github.com/rust-lang/crates.io-index"
1728+checksum = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09"
1729+dependencies = [
1730+ "defmt",
1731+]
1732+
1733+[[package]]
1734+name = "jiff-static"
1735+version = "0.2.35"
1736+source = "registry+https://github.com/rust-lang/crates.io-index"
1737+checksum = "3a69dcb3a21cfb32ce1cd056169337ca284af0766dd766e7878819b251a49204"
1738+dependencies = [
1739+ "jiff-core",
1740+ "proc-macro2",
1741+ "quote",
1742+ "syn 2.0.119",
1743+]
1744+
1745+[[package]]
1746+name = "jiff-tzdb"
1747+version = "0.1.8"
1748+source = "registry+https://github.com/rust-lang/crates.io-index"
1749+checksum = "142bd39932ad231f10513df9ab62661fead8719872150b7ad02a2df79f4e141e"
1750+
1751+[[package]]
1752+name = "jiff-tzdb-platform"
1753+version = "0.1.3"
1754+source = "registry+https://github.com/rust-lang/crates.io-index"
1755+checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8"
1756+dependencies = [
1757+ "jiff-tzdb",
1758+]
1759+
1760+[[package]]
1761+name = "jni"
1762+version = "0.21.1"
1763+source = "registry+https://github.com/rust-lang/crates.io-index"
1764+checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
1765+dependencies = [
1766+ "cesu8",
1767+ "cfg-if",
1768+ "combine",
1769+ "jni-sys 0.3.1",
1770+ "log",
1771+ "thiserror 1.0.69",
1772+ "walkdir",
1773+ "windows-sys 0.45.0",
1774+]
1775+
1776+[[package]]
1777+name = "jni-sys"
1778+version = "0.3.1"
1779+source = "registry+https://github.com/rust-lang/crates.io-index"
1780+checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258"
1781+dependencies = [
1782+ "jni-sys 0.4.1",
1783+]
1784+
1785+[[package]]
1786+name = "jni-sys"
1787+version = "0.4.1"
1788+source = "registry+https://github.com/rust-lang/crates.io-index"
1789+checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
1790+dependencies = [
1791+ "jni-sys-macros",
1792+]
1793+
1794+[[package]]
1795+name = "jni-sys-macros"
1796+version = "0.4.1"
1797+source = "registry+https://github.com/rust-lang/crates.io-index"
1798+checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
1799+dependencies = [
1800+ "quote",
1801+ "syn 2.0.119",
1802+]
1803+
1804+[[package]]
1805+name = "js-sys"
1806+version = "0.3.104"
1807+source = "registry+https://github.com/rust-lang/crates.io-index"
1808+checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a"
1809+dependencies = [
1810+ "cfg-if",
1811+ "futures-util",
1812+ "wasm-bindgen",
1813+]
1814+
1815+[[package]]
1816+name = "json-patch"
1817+version = "3.0.1"
1818+source = "registry+https://github.com/rust-lang/crates.io-index"
1819+checksum = "863726d7afb6bc2590eeff7135d923545e5e964f004c2ccf8716c25e70a86f08"
1820+dependencies = [
1821+ "jsonptr",
1822+ "serde",
1823+ "serde_json",
1824+ "thiserror 1.0.69",
1825+]
1826+
1827+[[package]]
1828+name = "jsonptr"
1829+version = "0.6.3"
1830+source = "registry+https://github.com/rust-lang/crates.io-index"
1831+checksum = "5dea2b27dd239b2556ed7a25ba842fe47fd602e7fc7433c2a8d6106d4d9edd70"
1832+dependencies = [
1833+ "serde",
1834+ "serde_json",
1835+]
1836+
1837+[[package]]
1838+name = "keyboard-types"
1839+version = "0.7.0"
1840+source = "registry+https://github.com/rust-lang/crates.io-index"
1841+checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a"
1842+dependencies = [
1843+ "bitflags 2.13.1",
1844+ "serde",
1845+ "unicode-segmentation",
1846+]
1847+
1848+[[package]]
1849+name = "libappindicator"
1850+version = "0.9.0"
1851+source = "registry+https://github.com/rust-lang/crates.io-index"
1852+checksum = "03589b9607c868cc7ae54c0b2a22c8dc03dd41692d48f2d7df73615c6a95dc0a"
1853+dependencies = [
1854+ "glib",
1855+ "gtk",
1856+ "gtk-sys",
1857+ "libappindicator-sys",
1858+ "log",
1859+]
1860+
1861+[[package]]
1862+name = "libappindicator-sys"
1863+version = "0.9.0"
1864+source = "registry+https://github.com/rust-lang/crates.io-index"
1865+checksum = "6e9ec52138abedcc58dc17a7c6c0c00a2bdb4f3427c7f63fa97fd0d859155caf"
1866+dependencies = [
1867+ "gtk-sys",
1868+ "libloading",
1869+ "once_cell",
1870+]
1871+
1872+[[package]]
1873+name = "libc"
1874+version = "0.2.189"
1875+source = "registry+https://github.com/rust-lang/crates.io-index"
1876+checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
1877+
1878+[[package]]
1879+name = "libdbus-sys"
1880+version = "0.2.7"
1881+source = "registry+https://github.com/rust-lang/crates.io-index"
1882+checksum = "328c4789d42200f1eeec05bd86c9c13c7f091d2ba9a6ea35acdf51f31bc0f043"
1883+dependencies = [
1884+ "pkg-config",
1885+]
1886+
1887+[[package]]
1888+name = "libloading"
1889+version = "0.7.4"
1890+source = "registry+https://github.com/rust-lang/crates.io-index"
1891+checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
1892+dependencies = [
1893+ "cfg-if",
1894+ "winapi",
1895+]
1896+
1897+[[package]]
1898+name = "libredox"
1899+version = "0.1.20"
1900+source = "registry+https://github.com/rust-lang/crates.io-index"
1901+checksum = "28d0a00925a9f930d679b6789b721e3a7f9ed110f41b86d2497caa780c3a070a"
1902+dependencies = [
1903+ "libc",
1904+]
1905+
1906+[[package]]
1907+name = "linux-raw-sys"
1908+version = "0.12.1"
1909+source = "registry+https://github.com/rust-lang/crates.io-index"
1910+checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
1911+
1912+[[package]]
1913+name = "litemap"
1914+version = "0.8.3"
1915+source = "registry+https://github.com/rust-lang/crates.io-index"
1916+checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
1917+
1918+[[package]]
1919+name = "lock_api"
1920+version = "0.4.14"
1921+source = "registry+https://github.com/rust-lang/crates.io-index"
1922+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
1923+dependencies = [
1924+ "scopeguard",
1925+]
1926+
1927+[[package]]
1928+name = "log"
1929+version = "0.4.34"
1930+source = "registry+https://github.com/rust-lang/crates.io-index"
1931+checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
1932+
1933+[[package]]
1934+name = "lru-slab"
1935+version = "0.1.2"
1936+source = "registry+https://github.com/rust-lang/crates.io-index"
1937+checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
1938+
1939+[[package]]
1940+name = "markup5ever"
1941+version = "0.38.0"
1942+source = "registry+https://github.com/rust-lang/crates.io-index"
1943+checksum = "8983d30f2915feeaaab2d6babdd6bc7e9ed1a00b66b5e6d74df19aa9c0e91862"
1944+dependencies = [
1945+ "log",
1946+ "tendril",
1947+ "web_atoms",
1948+]
1949+
1950+[[package]]
1951+name = "matchit"
1952+version = "0.8.4"
1953+source = "registry+https://github.com/rust-lang/crates.io-index"
1954+checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
1955+
1956+[[package]]
1957+name = "memchr"
1958+version = "2.8.3"
1959+source = "registry+https://github.com/rust-lang/crates.io-index"
1960+checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
1961+
1962+[[package]]
1963+name = "memoffset"
1964+version = "0.9.1"
1965+source = "registry+https://github.com/rust-lang/crates.io-index"
1966+checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
1967+dependencies = [
1968+ "autocfg",
1969+]
1970+
1971+[[package]]
1972+name = "mime"
1973+version = "0.3.17"
1974+source = "registry+https://github.com/rust-lang/crates.io-index"
1975+checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
1976+
1977+[[package]]
1978+name = "miniz_oxide"
1979+version = "0.8.9"
1980+source = "registry+https://github.com/rust-lang/crates.io-index"
1981+checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
1982+dependencies = [
1983+ "adler2",
1984+ "simd-adler32",
1985+]
1986+
1987+[[package]]
1988+name = "mio"
1989+version = "1.2.2"
1990+source = "registry+https://github.com/rust-lang/crates.io-index"
1991+checksum = "30d65c71f1ce40ab09135ce117d742b9f8a19ff91a41a8b57ed50bc2de59c427"
1992+dependencies = [
1993+ "libc",
1994+ "wasi",
1995+ "windows-sys 0.61.2",
1996+]
1997+
1998+[[package]]
1999+name = "muda"
2000+version = "0.19.3"
src-tauri/Cargo.tomladded+32 -0
@@ -0,0 +1,32 @@
1+[package]
2+name = "hezarfen-mobile"
3+version = "0.1.0"
4+description = "Hezarfen Campus & LMS, packaged for Android and iOS"
5+edition = "2021"
6+rust-version = "1.77.2"
7+
8+# Mobile builds compile the app as a shared library that the platform shell
9+# loads; `tauri android/ios init` generates the projects that link against it.
10+[lib]
11+name = "hezarfen_mobile_lib"
12+crate-type = ["staticlib", "cdylib", "rlib"]
13+
14+[build-dependencies]
15+tauri-build = { version = "2", features = [] }
16+
17+[dependencies]
18+tauri = { version = "2", features = [] }
19+tauri-plugin-os = "2"
20+
21+# The in-app origin server (see src/proxy.rs).
22+axum = { version = "0.8", features = ["ws"] }
23+tokio = { version = "1", features = ["rt-multi-thread", "net", "macros", "sync", "time"] }
24+tokio-tungstenite = { version = "0.26", features = ["rustls-tls-webpki-roots"] }
25+reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-webpki-roots", "stream", "http2"] }
26+futures-util = "0.3"
27+bytes = "1"
28+log = "0.4"
29+
30+[features]
31+# Used by `tauri dev`/CI to keep the devtools available in release builds.
32+custom-protocol = ["tauri/custom-protocol"]
src-tauri/build.rsadded+3 -0
@@ -0,0 +1,3 @@
1+fn main() {
2+ tauri_build::build()
3+}
src-tauri/capabilities/default.jsonadded+7 -0
@@ -0,0 +1,7 @@
1+{
2+ "$schema": "../gen/schemas/mobile-schema.json",
3+ "identifier": "default",
4+ "description": "Capabilities of the main window. The web app is served from the in-app loopback origin and uses no Tauri IPC, so this stays deliberately small.",
5+ "windows": ["main"],
6+ "permissions": ["core:default", "os:default"]
7+}
src-tauri/gen/android/.editorconfigadded+12 -0
@@ -0,0 +1,12 @@
1+# EditorConfig is awesome: https://EditorConfig.org
2+
3+# top-most EditorConfig file
4+root = true
5+
6+[*]
7+indent_style = space
8+indent_size = 2
9+end_of_line = lf
10+charset = utf-8
11+trim_trailing_whitespace = false
12+insert_final_newline = false
\ No newline at end of file
src-tauri/gen/android/.gitignoreadded+20 -0
@@ -0,0 +1,20 @@
1+*.iml
2+.gradle
3+/local.properties
4+/.idea/caches
5+/.idea/libraries
6+/.idea/modules.xml
7+/.idea/workspace.xml
8+/.idea/navEditor.xml
9+/.idea/assetWizardSettings.xml
10+.DS_Store
11+build
12+/captures
13+.externalNativeBuild
14+.cxx
15+local.properties
16+key.properties
17+keystore.properties
18+
19+/.tauri
20+/tauri.settings.gradle
\ No newline at end of file
src-tauri/gen/android/app/.gitignoreadded+6 -0
@@ -0,0 +1,6 @@
1+/src/main/**/generated
2+/src/main/jniLibs/**/*.so
3+/src/main/assets/tauri.conf.json
4+/tauri.build.gradle.kts
5+/proguard-tauri.pro
6+/tauri.properties
\ No newline at end of file
src-tauri/gen/android/app/build.gradle.ktsadded+71 -0
@@ -0,0 +1,71 @@
1+import java.util.Properties
2+
3+plugins {
4+ id("com.android.application")
5+ id("org.jetbrains.kotlin.android")
6+ id("rust")
7+}
8+
9+val tauriProperties = Properties().apply {
10+ val propFile = file("tauri.properties")
11+ if (propFile.exists()) {
12+ propFile.inputStream().use { load(it) }
13+ }
14+}
15+
16+android {
17+ compileSdk = 36
18+ namespace = "co.hezarfen.app"
19+ defaultConfig {
20+ manifestPlaceholders["usesCleartextTraffic"] = "false"
21+ applicationId = "co.hezarfen.app"
22+ minSdk = 24
23+ targetSdk = 36
24+ versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
25+ versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
26+ }
27+ buildTypes {
28+ getByName("debug") {
29+ manifestPlaceholders["usesCleartextTraffic"] = "true"
30+ isDebuggable = true
31+ isJniDebuggable = true
32+ isMinifyEnabled = false
33+ packaging { jniLibs.keepDebugSymbols.add("*/arm64-v8a/*.so")
34+ jniLibs.keepDebugSymbols.add("*/armeabi-v7a/*.so")
35+ jniLibs.keepDebugSymbols.add("*/x86/*.so")
36+ jniLibs.keepDebugSymbols.add("*/x86_64/*.so")
37+ }
38+ }
39+ getByName("release") {
40+ isMinifyEnabled = true
41+ proguardFiles(
42+ *fileTree(".") { include("**/*.pro") }
43+ .plus(getDefaultProguardFile("proguard-android-optimize.txt"))
44+ .toList().toTypedArray()
45+ )
46+ }
47+ }
48+ kotlinOptions {
49+ jvmTarget = "1.8"
50+ }
51+ buildFeatures {
52+ buildConfig = true
53+ }
54+}
55+
56+rust {
57+ rootDirRel = "../../../"
58+}
59+
60+dependencies {
61+ implementation("androidx.webkit:webkit:1.14.0")
62+ implementation("androidx.appcompat:appcompat:1.7.1")
63+ implementation("androidx.activity:activity-ktx:1.10.1")
64+ implementation("com.google.android.material:material:1.12.0")
65+ implementation("androidx.lifecycle:lifecycle-process:2.10.0")
66+ testImplementation("junit:junit:4.13.2")
67+ androidTestImplementation("androidx.test.ext:junit:1.1.4")
68+ androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0")
69+}
70+
71+apply(from = "tauri.build.gradle.kts")
\ No newline at end of file
src-tauri/gen/android/app/proguard-rules.proadded+21 -0
@@ -0,0 +1,21 @@
1+# Add project specific ProGuard rules here.
2+# You can control the set of applied configuration files using the
3+# proguardFiles setting in build.gradle.
4+#
5+# For more details, see
6+# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+# If your project uses WebView with JS, uncomment the following
9+# and specify the fully qualified class name to the JavaScript interface
10+# class:
11+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+# public *;
13+#}
14+
15+# Uncomment this to preserve the line number information for
16+# debugging stack traces.
17+#-keepattributes SourceFile,LineNumberTable
18+
19+# If you keep the line number information, uncomment this to
20+# hide the original source file name.
21+#-renamesourcefileattribute SourceFile
\ No newline at end of file
src-tauri/gen/android/app/src/debug/res/xml/network_security_config.xmladded+9 -0
@@ -0,0 +1,9 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<!--
3+ Debug override: development backends are routinely plain HTTP on a LAN
4+ address or behind `adb reverse`, so debug builds allow cleartext anywhere.
5+ The release config (app/src/main) restricts it to loopback.
6+-->
7+<network-security-config>
8+ <base-config cleartextTrafficPermitted="true" />
9+</network-security-config>
src-tauri/gen/android/app/src/main/AndroidManifest.xmladded+38 -0
@@ -0,0 +1,38 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3+ <uses-permission android:name="android.permission.INTERNET" />
4+
5+ <!-- AndroidTV support -->
6+ <uses-feature android:name="android.software.leanback" android:required="false" />
7+
8+ <application
9+ android:icon="@mipmap/ic_launcher"
10+ android:label="@string/app_name"
11+ android:theme="@style/Theme.hezarfen_mobile"
12+ android:usesCleartextTraffic="${usesCleartextTraffic}"
13+ android:networkSecurityConfig="@xml/network_security_config">
14+ <activity
15+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
16+ android:launchMode="singleTask"
17+ android:label="@string/main_activity_title"
18+ android:name=".MainActivity"
19+ android:exported="true">
20+ <intent-filter>
21+ <action android:name="android.intent.action.MAIN" />
22+ <category android:name="android.intent.category.LAUNCHER" />
23+ <!-- AndroidTV support -->
24+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
25+ </intent-filter>
26+ </activity>
27+
28+ <provider
29+ android:name="androidx.core.content.FileProvider"
30+ android:authorities="${applicationId}.fileprovider"
31+ android:exported="false"
32+ android:grantUriPermissions="true">
33+ <meta-data
34+ android:name="android.support.FILE_PROVIDER_PATHS"
35+ android:resource="@xml/file_paths" />
36+ </provider>
37+ </application>
38+</manifest>
src-tauri/gen/android/app/src/main/java/co/hezarfen/app/MainActivity.ktadded+11 -0
@@ -0,0 +1,11 @@
1+package co.hezarfen.app
2+
3+import android.os.Bundle
4+import androidx.activity.enableEdgeToEdge
5+
6+class MainActivity : TauriActivity() {
7+ override fun onCreate(savedInstanceState: Bundle?) {
8+ enableEdgeToEdge()
9+ super.onCreate(savedInstanceState)
10+ }
11+}
src-tauri/gen/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xmladded+30 -0
@@ -0,0 +1,30 @@
1+<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+ xmlns:aapt="http://schemas.android.com/aapt"
3+ android:width="108dp"
4+ android:height="108dp"
5+ android:viewportWidth="108"
6+ android:viewportHeight="108">
7+ <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
8+ <aapt:attr name="android:fillColor">
9+ <gradient
10+ android:endX="85.84757"
11+ android:endY="92.4963"
12+ android:startX="42.9492"
13+ android:startY="49.59793"
14+ android:type="linear">
15+ <item
16+ android:color="#44000000"
17+ android:offset="0.0" />
18+ <item
19+ android:color="#00000000"
20+ android:offset="1.0" />
21+ </gradient>
22+ </aapt:attr>
23+ </path>
24+ <path
25+ android:fillColor="#FFFFFF"
26+ android:fillType="nonZero"
27+ android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
28+ android:strokeWidth="1"
29+ android:strokeColor="#00000000" />
30+</vector>
\ No newline at end of file
src-tauri/gen/android/app/src/main/res/drawable/ic_launcher_background.xmladded+170 -0
@@ -0,0 +1,170 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<vector xmlns:android="http://schemas.android.com/apk/res/android"
3+ android:width="108dp"
4+ android:height="108dp"
5+ android:viewportWidth="108"
6+ android:viewportHeight="108">
7+ <path
8+ android:fillColor="#3DDC84"
9+ android:pathData="M0,0h108v108h-108z" />
10+ <path
11+ android:fillColor="#00000000"
12+ android:pathData="M9,0L9,108"
13+ android:strokeWidth="0.8"
14+ android:strokeColor="#33FFFFFF" />
15+ <path
16+ android:fillColor="#00000000"
17+ android:pathData="M19,0L19,108"
18+ android:strokeWidth="0.8"
19+ android:strokeColor="#33FFFFFF" />
20+ <path
21+ android:fillColor="#00000000"
22+ android:pathData="M29,0L29,108"
23+ android:strokeWidth="0.8"
24+ android:strokeColor="#33FFFFFF" />
25+ <path
26+ android:fillColor="#00000000"
27+ android:pathData="M39,0L39,108"
28+ android:strokeWidth="0.8"
29+ android:strokeColor="#33FFFFFF" />
30+ <path
31+ android:fillColor="#00000000"
32+ android:pathData="M49,0L49,108"
33+ android:strokeWidth="0.8"
34+ android:strokeColor="#33FFFFFF" />
35+ <path
36+ android:fillColor="#00000000"
37+ android:pathData="M59,0L59,108"
38+ android:strokeWidth="0.8"
39+ android:strokeColor="#33FFFFFF" />
40+ <path
41+ android:fillColor="#00000000"
42+ android:pathData="M69,0L69,108"
43+ android:strokeWidth="0.8"
44+ android:strokeColor="#33FFFFFF" />
45+ <path
46+ android:fillColor="#00000000"
47+ android:pathData="M79,0L79,108"
48+ android:strokeWidth="0.8"
49+ android:strokeColor="#33FFFFFF" />
50+ <path
51+ android:fillColor="#00000000"
52+ android:pathData="M89,0L89,108"
53+ android:strokeWidth="0.8"
54+ android:strokeColor="#33FFFFFF" />
55+ <path
56+ android:fillColor="#00000000"
57+ android:pathData="M99,0L99,108"
58+ android:strokeWidth="0.8"
59+ android:strokeColor="#33FFFFFF" />
60+ <path
61+ android:fillColor="#00000000"
62+ android:pathData="M0,9L108,9"
63+ android:strokeWidth="0.8"
64+ android:strokeColor="#33FFFFFF" />
65+ <path
66+ android:fillColor="#00000000"
67+ android:pathData="M0,19L108,19"
68+ android:strokeWidth="0.8"
69+ android:strokeColor="#33FFFFFF" />
70+ <path
71+ android:fillColor="#00000000"
72+ android:pathData="M0,29L108,29"
73+ android:strokeWidth="0.8"
74+ android:strokeColor="#33FFFFFF" />
75+ <path
76+ android:fillColor="#00000000"
77+ android:pathData="M0,39L108,39"
78+ android:strokeWidth="0.8"
79+ android:strokeColor="#33FFFFFF" />
80+ <path
81+ android:fillColor="#00000000"
82+ android:pathData="M0,49L108,49"
83+ android:strokeWidth="0.8"
84+ android:strokeColor="#33FFFFFF" />
85+ <path
86+ android:fillColor="#00000000"
87+ android:pathData="M0,59L108,59"
88+ android:strokeWidth="0.8"
89+ android:strokeColor="#33FFFFFF" />
90+ <path
91+ android:fillColor="#00000000"
92+ android:pathData="M0,69L108,69"
93+ android:strokeWidth="0.8"
94+ android:strokeColor="#33FFFFFF" />
95+ <path
96+ android:fillColor="#00000000"
97+ android:pathData="M0,79L108,79"
98+ android:strokeWidth="0.8"
99+ android:strokeColor="#33FFFFFF" />
100+ <path
101+ android:fillColor="#00000000"
102+ android:pathData="M0,89L108,89"
103+ android:strokeWidth="0.8"
104+ android:strokeColor="#33FFFFFF" />
105+ <path
106+ android:fillColor="#00000000"
107+ android:pathData="M0,99L108,99"
108+ android:strokeWidth="0.8"
109+ android:strokeColor="#33FFFFFF" />
110+ <path
111+ android:fillColor="#00000000"
112+ android:pathData="M19,29L89,29"
113+ android:strokeWidth="0.8"
114+ android:strokeColor="#33FFFFFF" />
115+ <path
116+ android:fillColor="#00000000"
117+ android:pathData="M19,39L89,39"
118+ android:strokeWidth="0.8"
119+ android:strokeColor="#33FFFFFF" />
120+ <path
121+ android:fillColor="#00000000"
122+ android:pathData="M19,49L89,49"
123+ android:strokeWidth="0.8"
124+ android:strokeColor="#33FFFFFF" />
125+ <path
126+ android:fillColor="#00000000"
127+ android:pathData="M19,59L89,59"
128+ android:strokeWidth="0.8"
129+ android:strokeColor="#33FFFFFF" />
130+ <path
131+ android:fillColor="#00000000"
132+ android:pathData="M19,69L89,69"
133+ android:strokeWidth="0.8"
134+ android:strokeColor="#33FFFFFF" />
135+ <path
136+ android:fillColor="#00000000"
137+ android:pathData="M19,79L89,79"
138+ android:strokeWidth="0.8"
139+ android:strokeColor="#33FFFFFF" />
140+ <path
141+ android:fillColor="#00000000"
142+ android:pathData="M29,19L29,89"
143+ android:strokeWidth="0.8"
144+ android:strokeColor="#33FFFFFF" />
145+ <path
146+ android:fillColor="#00000000"
147+ android:pathData="M39,19L39,89"
148+ android:strokeWidth="0.8"
149+ android:strokeColor="#33FFFFFF" />
150+ <path
151+ android:fillColor="#00000000"
152+ android:pathData="M49,19L49,89"
153+ android:strokeWidth="0.8"
154+ android:strokeColor="#33FFFFFF" />
155+ <path
156+ android:fillColor="#00000000"
157+ android:pathData="M59,19L59,89"
158+ android:strokeWidth="0.8"
159+ android:strokeColor="#33FFFFFF" />
160+ <path
161+ android:fillColor="#00000000"
162+ android:pathData="M69,19L69,89"
163+ android:strokeWidth="0.8"
164+ android:strokeColor="#33FFFFFF" />
165+ <path
166+ android:fillColor="#00000000"
167+ android:pathData="M79,19L79,89"
168+ android:strokeWidth="0.8"
169+ android:strokeColor="#33FFFFFF" />
170+</vector>
src-tauri/gen/android/app/src/main/res/layout/activity_main.xmladded+18 -0
@@ -0,0 +1,18 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+ xmlns:app="http://schemas.android.com/apk/res-auto"
4+ xmlns:tools="http://schemas.android.com/tools"
5+ android:layout_width="match_parent"
6+ android:layout_height="match_parent"
7+ tools:context=".MainActivity">
8+
9+ <TextView
10+ android:layout_width="wrap_content"
11+ android:layout_height="wrap_content"
12+ android:text="Hello World!"
13+ app:layout_constraintBottom_toBottomOf="parent"
14+ app:layout_constraintLeft_toLeftOf="parent"
15+ app:layout_constraintRight_toRightOf="parent"
16+ app:layout_constraintTop_toTopOf="parent" />
17+
18+</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/gen/android/app/src/main/res/values-night/themes.xmladded+6 -0
@@ -0,0 +1,6 @@
1+<resources xmlns:tools="http://schemas.android.com/tools">
2+ <!-- Base application theme. -->
3+ <style name="Theme.hezarfen_mobile" parent="Theme.MaterialComponents.DayNight.NoActionBar">
4+ <!-- Customize your theme here. -->
5+ </style>
6+</resources>
src-tauri/gen/android/app/src/main/res/values/colors.xmladded+10 -0
@@ -0,0 +1,10 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<resources>
3+ <color name="purple_200">#FFBB86FC</color>
4+ <color name="purple_500">#FF6200EE</color>
5+ <color name="purple_700">#FF3700B3</color>
6+ <color name="teal_200">#FF03DAC5</color>
7+ <color name="teal_700">#FF018786</color>
8+ <color name="black">#FF000000</color>
9+ <color name="white">#FFFFFFFF</color>
10+</resources>
\ No newline at end of file
src-tauri/gen/android/app/src/main/res/values/strings.xmladded+4 -0
@@ -0,0 +1,4 @@
1+<resources>
2+ <string name="app_name">"Hezarfen"</string>
3+ <string name="main_activity_title">"Hezarfen"</string>
4+</resources>
\ No newline at end of file
src-tauri/gen/android/app/src/main/res/values/themes.xmladded+6 -0
@@ -0,0 +1,6 @@
1+<resources xmlns:tools="http://schemas.android.com/tools">
2+ <!-- Base application theme. -->
3+ <style name="Theme.hezarfen_mobile" parent="Theme.MaterialComponents.DayNight.NoActionBar">
4+ <!-- Customize your theme here. -->
5+ </style>
6+</resources>
src-tauri/gen/android/app/src/main/res/xml/file_paths.xmladded+5 -0
@@ -0,0 +1,5 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<paths xmlns:android="http://schemas.android.com/apk/res/android">
3+ <external-path name="my_images" path="." />
4+ <cache-path name="my_cache_images" path="." />
5+</paths>
src-tauri/gen/android/app/src/main/res/xml/network_security_config.xmladded+15 -0
@@ -0,0 +1,15 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<!--
3+ The app talks to its own in-app origin server (src-tauri/src/proxy.rs) over
4+ plain HTTP on the loopback interface. Release builds set
5+ usesCleartextTraffic=false, which would block exactly that, so cleartext is
6+ re-enabled for loopback only — every other destination, including the
7+ backend, still requires TLS.
8+-->
9+<network-security-config>
10+ <base-config cleartextTrafficPermitted="false" />
11+ <domain-config cleartextTrafficPermitted="true">
12+ <domain includeSubdomains="false">127.0.0.1</domain>
13+ <domain includeSubdomains="false">localhost</domain>
14+ </domain-config>
15+</network-security-config>
src-tauri/gen/android/build.gradle.ktsadded+22 -0
@@ -0,0 +1,22 @@
1+buildscript {
2+ repositories {
3+ google()
4+ mavenCentral()
5+ }
6+ dependencies {
7+ classpath("com.android.tools.build:gradle:8.11.0")
8+ classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25")
9+ }
10+}
11+
12+allprojects {
13+ repositories {
14+ google()
15+ mavenCentral()
16+ }
17+}
18+
19+tasks.register("clean").configure {
20+ delete("build")
21+}
22+
src-tauri/gen/android/buildSrc/build.gradle.ktsadded+23 -0
@@ -0,0 +1,23 @@
1+plugins {
2+ `kotlin-dsl`
3+}
4+
5+gradlePlugin {
6+ plugins {
7+ create("pluginsForCoolKids") {
8+ id = "rust"
9+ implementationClass = "RustPlugin"
10+ }
11+ }
12+}
13+
14+repositories {
15+ google()
16+ mavenCentral()
17+}
18+
19+dependencies {
20+ compileOnly(gradleApi())
21+ implementation("com.android.tools.build:gradle:8.11.0")
22+}
23+
src-tauri/gen/android/buildSrc/src/main/java/co/hezarfen/app/kotlin/BuildTask.ktadded+68 -0
@@ -0,0 +1,68 @@
1+import java.io.File
2+import org.apache.tools.ant.taskdefs.condition.Os
3+import org.gradle.api.DefaultTask
4+import org.gradle.api.GradleException
5+import org.gradle.api.logging.LogLevel
6+import org.gradle.api.tasks.Input
7+import org.gradle.api.tasks.TaskAction
8+
9+open class BuildTask : DefaultTask() {
10+ @Input
11+ var rootDirRel: String? = null
12+ @Input
13+ var target: String? = null
14+ @Input
15+ var release: Boolean? = null
16+
17+ @TaskAction
18+ fun assemble() {
19+ val executable = """cargo""";
20+ try {
21+ runTauriCli(executable)
22+ } catch (e: Exception) {
23+ if (Os.isFamily(Os.FAMILY_WINDOWS)) {
24+ // Try different Windows-specific extensions
25+ val fallbacks = listOf(
26+ "$executable.exe",
27+ "$executable.cmd",
28+ "$executable.bat",
29+ )
30+
31+ var lastException: Exception = e
32+ for (fallback in fallbacks) {
33+ try {
34+ runTauriCli(fallback)
35+ return
36+ } catch (fallbackException: Exception) {
37+ lastException = fallbackException
38+ }
39+ }
40+ throw lastException
41+ } else {
42+ throw e;
43+ }
44+ }
45+ }
46+
47+ fun runTauriCli(executable: String) {
48+ val rootDirRel = rootDirRel ?: throw GradleException("rootDirRel cannot be null")
49+ val target = target ?: throw GradleException("target cannot be null")
50+ val release = release ?: throw GradleException("release cannot be null")
51+ val args = listOf("tauri", "android", "android-studio-script");
52+
53+ project.exec {
54+ workingDir(File(project.projectDir, rootDirRel))
55+ executable(executable)
56+ args(args)
57+ if (project.logger.isEnabled(LogLevel.DEBUG)) {
58+ args("-vv")
59+ } else if (project.logger.isEnabled(LogLevel.INFO)) {
60+ args("-v")
61+ }
62+ if (release) {
63+ args("--release")
64+ }
65+ args(listOf("--target", target))
66+ }.assertNormalExitValue()
67+ }
68+}
\ No newline at end of file
src-tauri/gen/android/buildSrc/src/main/java/co/hezarfen/app/kotlin/RustPlugin.ktadded+85 -0
@@ -0,0 +1,85 @@
1+import com.android.build.api.dsl.ApplicationExtension
2+import org.gradle.api.DefaultTask
3+import org.gradle.api.Plugin
4+import org.gradle.api.Project
5+import org.gradle.kotlin.dsl.configure
6+import org.gradle.kotlin.dsl.get
7+
8+const val TASK_GROUP = "rust"
9+
10+open class Config {
11+ lateinit var rootDirRel: String
12+}
13+
14+open class RustPlugin : Plugin<Project> {
15+ private lateinit var config: Config
16+
17+ override fun apply(project: Project) = with(project) {
18+ config = extensions.create("rust", Config::class.java)
19+
20+ val defaultAbiList = listOf("arm64-v8a", "armeabi-v7a", "x86", "x86_64");
21+ val abiList = (findProperty("abiList") as? String)?.split(',') ?: defaultAbiList
22+
23+ val defaultArchList = listOf("arm64", "arm", "x86", "x86_64");
24+ val archList = (findProperty("archList") as? String)?.split(',') ?: defaultArchList
25+
26+ val targetsList = (findProperty("targetList") as? String)?.split(',') ?: listOf("aarch64", "armv7", "i686", "x86_64")
27+
28+ extensions.configure<ApplicationExtension> {
29+ @Suppress("UnstableApiUsage")
30+ flavorDimensions.add("abi")
31+ productFlavors {
32+ create("universal") {
33+ dimension = "abi"
34+ ndk {
35+ abiFilters += abiList
36+ }
37+ }
38+ defaultArchList.forEachIndexed { index, arch ->
39+ create(arch) {
40+ dimension = "abi"
41+ ndk {
42+ abiFilters.add(defaultAbiList[index])
43+ }
44+ }
45+ }
46+ }
47+ }
48+
49+ afterEvaluate {
50+ for (profile in listOf("debug", "release")) {
51+ val profileCapitalized = profile.replaceFirstChar { it.uppercase() }
52+ val buildTask = tasks.maybeCreate(
53+ "rustBuildUniversal$profileCapitalized",
54+ DefaultTask::class.java
55+ ).apply {
56+ group = TASK_GROUP
57+ description = "Build dynamic library in $profile mode for all targets"
58+ }
59+
60+ tasks["mergeUniversal${profileCapitalized}JniLibFolders"].dependsOn(buildTask)
61+
62+ for (targetPair in targetsList.withIndex()) {
63+ val targetName = targetPair.value
64+ val targetArch = archList[targetPair.index]
65+ val targetArchCapitalized = targetArch.replaceFirstChar { it.uppercase() }
66+ val targetBuildTask = project.tasks.maybeCreate(
67+ "rustBuild$targetArchCapitalized$profileCapitalized",
68+ BuildTask::class.java
69+ ).apply {
70+ group = TASK_GROUP
71+ description = "Build dynamic library in $profile mode for $targetArch"
72+ rootDirRel = config.rootDirRel
73+ target = targetName
74+ release = profile == "release"
75+ }
76+
77+ buildTask.dependsOn(targetBuildTask)
78+ tasks["merge$targetArchCapitalized${profileCapitalized}JniLibFolders"].dependsOn(
79+ targetBuildTask
80+ )
81+ }
82+ }
83+ }
84+ }
85+}
\ No newline at end of file
src-tauri/gen/android/gradle.propertiesadded+24 -0
@@ -0,0 +1,24 @@
1+# Project-wide Gradle settings.
2+# IDE (e.g. Android Studio) users:
3+# Gradle settings configured through the IDE *will override*
4+# any settings specified in this file.
5+# For more details on how to configure your build environment visit
6+# http://www.gradle.org/docs/current/userguide/build_environment.html
7+# Specifies the JVM arguments used for the daemon process.
8+# The setting is particularly useful for tweaking memory settings.
9+org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10+# When configured, Gradle will run in incubating parallel mode.
11+# This option should only be used with decoupled projects. More details, visit
12+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13+# org.gradle.parallel=true
14+# AndroidX package structure to make it clearer which packages are bundled with the
15+# Android operating system, and which are packaged with your app"s APK
16+# https://developer.android.com/topic/libraries/support-library/androidx-rn
17+android.useAndroidX=true
18+# Kotlin code style for this project: "official" or "obsolete":
19+kotlin.code.style=official
20+# Enables namespacing of each library's R class so that its R class includes only the
21+# resources declared in the library itself and none from the library's dependencies,
22+# thereby reducing the size of the R class for that library
23+android.nonTransitiveRClass=true
24+android.nonFinalResIds=false
\ No newline at end of file
src-tauri/gen/android/gradle/wrapper/gradle-wrapper.jaradded+0 -0

Binary file changed

src-tauri/gen/android/gradle/wrapper/gradle-wrapper.propertiesadded+6 -0
@@ -0,0 +1,6 @@
1+#Tue May 10 19:22:52 CST 2022
2+distributionBase=GRADLE_USER_HOME
3+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
4+distributionPath=wrapper/dists
5+zipStorePath=wrapper/dists
6+zipStoreBase=GRADLE_USER_HOME
src-tauri/gen/android/gradlewadded+185 -0
@@ -0,0 +1,185 @@
1+#!/usr/bin/env sh
2+
3+#
4+# Copyright 2015 the original author or authors.
5+#
6+# Licensed under the Apache License, Version 2.0 (the "License");
7+# you may not use this file except in compliance with the License.
8+# You may obtain a copy of the License at
9+#
10+# https://www.apache.org/licenses/LICENSE-2.0
11+#
12+# Unless required by applicable law or agreed to in writing, software
13+# distributed under the License is distributed on an "AS IS" BASIS,
14+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+# See the License for the specific language governing permissions and
16+# limitations under the License.
17+#
18+
19+##############################################################################
20+##
21+## Gradle start up script for UN*X
22+##
23+##############################################################################
24+
25+# Attempt to set APP_HOME
26+# Resolve links: $0 may be a link
27+PRG="$0"
28+# Need this for relative symlinks.
29+while [ -h "$PRG" ] ; do
30+ ls=`ls -ld "$PRG"`
31+ link=`expr "$ls" : '.*-> \(.*\)$'`
32+ if expr "$link" : '/.*' > /dev/null; then
33+ PRG="$link"
34+ else
35+ PRG=`dirname "$PRG"`"/$link"
36+ fi
37+done
38+SAVED="`pwd`"
39+cd "`dirname \"$PRG\"`/" >/dev/null
40+APP_HOME="`pwd -P`"
41+cd "$SAVED" >/dev/null
42+
43+APP_NAME="Gradle"
44+APP_BASE_NAME=`basename "$0"`
45+
46+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
47+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
48+
49+# Use the maximum available, or set MAX_FD != -1 to use that value.
50+MAX_FD="maximum"
51+
52+warn () {
53+ echo "$*"
54+}
55+
56+die () {
57+ echo
58+ echo "$*"
59+ echo
60+ exit 1
61+}
62+
63+# OS specific support (must be 'true' or 'false').
64+cygwin=false
65+msys=false
66+darwin=false
67+nonstop=false
68+case "`uname`" in
69+ CYGWIN* )
70+ cygwin=true
71+ ;;
72+ Darwin* )
73+ darwin=true
74+ ;;
75+ MINGW* )
76+ msys=true
77+ ;;
78+ NONSTOP* )
79+ nonstop=true
80+ ;;
81+esac
82+
83+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
84+
85+
86+# Determine the Java command to use to start the JVM.
87+if [ -n "$JAVA_HOME" ] ; then
88+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
89+ # IBM's JDK on AIX uses strange locations for the executables
90+ JAVACMD="$JAVA_HOME/jre/sh/java"
91+ else
92+ JAVACMD="$JAVA_HOME/bin/java"
93+ fi
94+ if [ ! -x "$JAVACMD" ] ; then
95+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
96+
97+Please set the JAVA_HOME variable in your environment to match the
98+location of your Java installation."
99+ fi
100+else
101+ JAVACMD="java"
102+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
103+
104+Please set the JAVA_HOME variable in your environment to match the
105+location of your Java installation."
106+fi
107+
108+# Increase the maximum file descriptors if we can.
109+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
110+ MAX_FD_LIMIT=`ulimit -H -n`
111+ if [ $? -eq 0 ] ; then
112+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
113+ MAX_FD="$MAX_FD_LIMIT"
114+ fi
115+ ulimit -n $MAX_FD
116+ if [ $? -ne 0 ] ; then
117+ warn "Could not set maximum file descriptor limit: $MAX_FD"
118+ fi
119+ else
120+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
121+ fi
122+fi
123+
124+# For Darwin, add options to specify how the application appears in the dock
125+if $darwin; then
126+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
127+fi
128+
129+# For Cygwin or MSYS, switch paths to Windows format before running java
130+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
131+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
132+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
133+
134+ JAVACMD=`cygpath --unix "$JAVACMD"`
135+
136+ # We build the pattern for arguments to be converted via cygpath
137+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
138+ SEP=""
139+ for dir in $ROOTDIRSRAW ; do
140+ ROOTDIRS="$ROOTDIRS$SEP$dir"
141+ SEP="|"
142+ done
143+ OURCYGPATTERN="(^($ROOTDIRS))"
144+ # Add a user-defined pattern to the cygpath arguments
145+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
146+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
147+ fi
148+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
149+ i=0
150+ for arg in "$@" ; do
151+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
152+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
153+
154+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
155+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
156+ else
157+ eval `echo args$i`="\"$arg\""
158+ fi
159+ i=`expr $i + 1`
160+ done
161+ case $i in
162+ 0) set -- ;;
163+ 1) set -- "$args0" ;;
164+ 2) set -- "$args0" "$args1" ;;
165+ 3) set -- "$args0" "$args1" "$args2" ;;
166+ 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
167+ 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
168+ 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
169+ 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
170+ 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
171+ 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
172+ esac
173+fi
174+
175+# Escape application args
176+save () {
177+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
178+ echo " "
179+}
180+APP_ARGS=`save "$@"`
181+
182+# Collect all arguments for the java command, following the shell quoting and substitution rules
183+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
184+
185+exec "$JAVACMD" "$@"
src-tauri/gen/android/gradlew.batadded+89 -0
@@ -0,0 +1,89 @@
1+@rem
2+@rem Copyright 2015 the original author or authors.
3+@rem
4+@rem Licensed under the Apache License, Version 2.0 (the "License");
5+@rem you may not use this file except in compliance with the License.
6+@rem You may obtain a copy of the License at
7+@rem
8+@rem https://www.apache.org/licenses/LICENSE-2.0
9+@rem
10+@rem Unless required by applicable law or agreed to in writing, software
11+@rem distributed under the License is distributed on an "AS IS" BASIS,
12+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+@rem See the License for the specific language governing permissions and
14+@rem limitations under the License.
15+@rem
16+
17+@if "%DEBUG%" == "" @echo off
18+@rem ##########################################################################
19+@rem
20+@rem Gradle startup script for Windows
21+@rem
22+@rem ##########################################################################
23+
24+@rem Set local scope for the variables with windows NT shell
25+if "%OS%"=="Windows_NT" setlocal
26+
27+set DIRNAME=%~dp0
28+if "%DIRNAME%" == "" set DIRNAME=.
29+set APP_BASE_NAME=%~n0
30+set APP_HOME=%DIRNAME%
31+
32+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
33+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34+
35+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
36+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
37+
38+@rem Find java.exe
39+if defined JAVA_HOME goto findJavaFromJavaHome
40+
41+set JAVA_EXE=java.exe
42+%JAVA_EXE% -version >NUL 2>&1
43+if "%ERRORLEVEL%" == "0" goto execute
44+
45+echo.
46+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
47+echo.
48+echo Please set the JAVA_HOME variable in your environment to match the
49+echo location of your Java installation.
50+
51+goto fail
52+
53+:findJavaFromJavaHome
54+set JAVA_HOME=%JAVA_HOME:"=%
55+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
56+
57+if exist "%JAVA_EXE%" goto execute
58+
59+echo.
60+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
61+echo.
62+echo Please set the JAVA_HOME variable in your environment to match the
63+echo location of your Java installation.
64+
65+goto fail
66+
67+:execute
68+@rem Setup the command line
69+
70+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
71+
72+
73+@rem Execute Gradle
74+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
75+
76+:end
77+@rem End local scope for the variables with windows NT shell
78+if "%ERRORLEVEL%"=="0" goto mainEnd
79+
80+:fail
81+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
82+rem the _cmd.exe /c_ return code!
83+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84+exit /b 1
85+
86+:mainEnd
87+if "%OS%"=="Windows_NT" endlocal
88+
89+:omega
src-tauri/gen/android/settings.gradleadded+3 -0
@@ -0,0 +1,3 @@
1+include ':app'
2+
3+apply from: 'tauri.settings.gradle'
src-tauri/gen/schemas/acl-manifests.jsonadded+1 -0
@@ -0,0 +1 @@
1+{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener","allow-supports-multiple-windows"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-supports-multiple-windows":{"identifier":"allow-supports-multiple-windows","description":"Enables the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":["supports_multiple_windows"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_data_store"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-set-app-theme":{"identifier":"deny-set-app-theme","description":"Denies the set_app_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_app_theme"]}},"deny-set-dock-visibility":{"identifier":"deny-set-dock-visibility","description":"Denies the set_dock_visibility command without any pre-configured scope.","commands":{"allow":[],"deny":["set_dock_visibility"]}},"deny-supports-multiple-windows":{"identifier":"deny-supports-multiple-windows","description":"Denies the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["supports_multiple_windows"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"core:image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"core:menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"core:path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"core:resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"core:tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-icon-with-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-icon-with-as-template":{"identifier":"allow-set-icon-with-as-template","description":"Enables the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_with_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-icon-with-as-template":{"identifier":"deny-set-icon-with-as-template","description":"Denies the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_with_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"core:webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-webviews","allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-clear-all-browsing-data":{"identifier":"allow-clear-all-browsing-data","description":"Enables the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":["clear_all_browsing_data"],"deny":[]}},"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-get-all-webviews":{"identifier":"allow-get-all-webviews","description":"Enables the get_all_webviews command without any pre-configured scope.","commands":{"allow":["get_all_webviews"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-auto-resize":{"identifier":"allow-set-webview-auto-resize","description":"Enables the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":["set_webview_auto_resize"],"deny":[]}},"allow-set-webview-background-color":{"identifier":"allow-set-webview-background-color","description":"Enables the set_webview_background_color command without any pre-configured scope.","commands":{"allow":["set_webview_background_color"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-hide":{"identifier":"allow-webview-hide","description":"Enables the webview_hide command without any pre-configured scope.","commands":{"allow":["webview_hide"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-show":{"identifier":"allow-webview-show","description":"Enables the webview_show command without any pre-configured scope.","commands":{"allow":["webview_show"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-clear-all-browsing-data":{"identifier":"deny-clear-all-browsing-data","description":"Denies the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_all_browsing_data"]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-get-all-webviews":{"identifier":"deny-get-all-webviews","description":"Denies the get_all_webviews command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_webviews"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-auto-resize":{"identifier":"deny-set-webview-auto-resize","description":"Denies the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_auto_resize"]}},"deny-set-webview-background-color":{"identifier":"deny-set-webview-background-color","description":"Denies the set_webview_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_background_color"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-hide":{"identifier":"deny-webview-hide","description":"Denies the webview_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_hide"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-show":{"identifier":"deny-webview-show","description":"Denies the webview_show command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_show"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"core:window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-windows","allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-is-enabled","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-is-always-on-top","allow-activity-name","allow-scene-identifier","allow-internal-toggle-maximize"]},"permissions":{"allow-activity-name":{"identifier":"allow-activity-name","description":"Enables the activity_name command without any pre-configured scope.","commands":{"allow":["activity_name"],"deny":[]}},"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-get-all-windows":{"identifier":"allow-get-all-windows","description":"Enables the get_all_windows command without any pre-configured scope.","commands":{"allow":["get_all_windows"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-always-on-top":{"identifier":"allow-is-always-on-top","description":"Enables the is_always_on_top command without any pre-configured scope.","commands":{"allow":["is_always_on_top"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-scene-identifier":{"identifier":"allow-scene-identifier","description":"Enables the scene_identifier command without any pre-configured scope.","commands":{"allow":["scene_identifier"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-background-color":{"identifier":"allow-set-background-color","description":"Enables the set_background_color command without any pre-configured scope.","commands":{"allow":["set_background_color"],"deny":[]}},"allow-set-badge-count":{"identifier":"allow-set-badge-count","description":"Enables the set_badge_count command without any pre-configured scope.","commands":{"allow":["set_badge_count"],"deny":[]}},"allow-set-badge-label":{"identifier":"allow-set-badge-label","description":"Enables the set_badge_label command without any pre-configured scope.","commands":{"allow":["set_badge_label"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-focusable":{"identifier":"allow-set-focusable","description":"Enables the set_focusable command without any pre-configured scope.","commands":{"allow":["set_focusable"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-overlay-icon":{"identifier":"allow-set-overlay-icon","description":"Enables the set_overlay_icon command without any pre-configured scope.","commands":{"allow":["set_overlay_icon"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-simple-fullscreen":{"identifier":"allow-set-simple-fullscreen","description":"Enables the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":["set_simple_fullscreen"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-size-constraints":{"identifier":"allow-set-size-constraints","description":"Enables the set_size_constraints command without any pre-configured scope.","commands":{"allow":["set_size_constraints"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-theme":{"identifier":"allow-set-theme","description":"Enables the set_theme command without any pre-configured scope.","commands":{"allow":["set_theme"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-activity-name":{"identifier":"deny-activity-name","description":"Denies the activity_name command without any pre-configured scope.","commands":{"allow":[],"deny":["activity_name"]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-get-all-windows":{"identifier":"deny-get-all-windows","description":"Denies the get_all_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_windows"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-always-on-top":{"identifier":"deny-is-always-on-top","description":"Denies the is_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["is_always_on_top"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-scene-identifier":{"identifier":"deny-scene-identifier","description":"Denies the scene_identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["scene_identifier"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-background-color":{"identifier":"deny-set-background-color","description":"Denies the set_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_background_color"]}},"deny-set-badge-count":{"identifier":"deny-set-badge-count","description":"Denies the set_badge_count command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_count"]}},"deny-set-badge-label":{"identifier":"deny-set-badge-label","description":"Denies the set_badge_label command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_label"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-focusable":{"identifier":"deny-set-focusable","description":"Denies the set_focusable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focusable"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-overlay-icon":{"identifier":"deny-set-overlay-icon","description":"Denies the set_overlay_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_overlay_icon"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-simple-fullscreen":{"identifier":"deny-set-simple-fullscreen","description":"Denies the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_simple_fullscreen"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-size-constraints":{"identifier":"deny-set-size-constraints","description":"Denies the set_size_constraints command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size_constraints"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-theme":{"identifier":"deny-set-theme","description":"Denies the set_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_theme"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null},"os":{"default_permission":{"identifier":"default","description":"This permission set configures which\noperating system information are available\nto gather from the frontend.\n\n#### Granted Permissions\n\nAll information except the host name are available.\n\n","permissions":["allow-arch","allow-exe-extension","allow-family","allow-locale","allow-os-type","allow-platform","allow-version"]},"permissions":{"allow-arch":{"identifier":"allow-arch","description":"Enables the arch command without any pre-configured scope.","commands":{"allow":["arch"],"deny":[]}},"allow-exe-extension":{"identifier":"allow-exe-extension","description":"Enables the exe_extension command without any pre-configured scope.","commands":{"allow":["exe_extension"],"deny":[]}},"allow-family":{"identifier":"allow-family","description":"Enables the family command without any pre-configured scope.","commands":{"allow":["family"],"deny":[]}},"allow-hostname":{"identifier":"allow-hostname","description":"Enables the hostname command without any pre-configured scope.","commands":{"allow":["hostname"],"deny":[]}},"allow-locale":{"identifier":"allow-locale","description":"Enables the locale command without any pre-configured scope.","commands":{"allow":["locale"],"deny":[]}},"allow-os-type":{"identifier":"allow-os-type","description":"Enables the os_type command without any pre-configured scope.","commands":{"allow":["os_type"],"deny":[]}},"allow-platform":{"identifier":"allow-platform","description":"Enables the platform command without any pre-configured scope.","commands":{"allow":["platform"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-arch":{"identifier":"deny-arch","description":"Denies the arch command without any pre-configured scope.","commands":{"allow":[],"deny":["arch"]}},"deny-exe-extension":{"identifier":"deny-exe-extension","description":"Denies the exe_extension command without any pre-configured scope.","commands":{"allow":[],"deny":["exe_extension"]}},"deny-family":{"identifier":"deny-family","description":"Denies the family command without any pre-configured scope.","commands":{"allow":[],"deny":["family"]}},"deny-hostname":{"identifier":"deny-hostname","description":"Denies the hostname command without any pre-configured scope.","commands":{"allow":[],"deny":["hostname"]}},"deny-locale":{"identifier":"deny-locale","description":"Denies the locale command without any pre-configured scope.","commands":{"allow":[],"deny":["locale"]}},"deny-os-type":{"identifier":"deny-os-type","description":"Denies the os_type command without any pre-configured scope.","commands":{"allow":[],"deny":["os_type"]}},"deny-platform":{"identifier":"deny-platform","description":"Denies the platform command without any pre-configured scope.","commands":{"allow":[],"deny":["platform"]}},"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}}
\ No newline at end of file
src-tauri/gen/schemas/capabilities.jsonadded+1 -0
@@ -0,0 +1 @@
1+{"default":{"identifier":"default","description":"Capabilities of the main window. The web app is served from the in-app loopback origin and uses no Tauri IPC, so this stays deliberately small.","local":true,"windows":["main"],"permissions":["core:default","os:default"]}}
\ No newline at end of file
src-tauri/gen/schemas/desktop-schema.jsonadded+2394 -0

Diff too large; view file

@@ -0,0 +1,2394 @@
1+{
2+ "$schema": "http://json-schema.org/draft-07/schema#",
3+ "title": "CapabilityFile",
4+ "description": "Capability formats accepted in a capability file.",
5+ "anyOf": [
6+ {
7+ "description": "A single capability.",
8+ "allOf": [
9+ {
10+ "$ref": "#/definitions/Capability"
11+ }
12+ ]
13+ },
14+ {
15+ "description": "A list of capabilities.",
16+ "type": "array",
17+ "items": {
18+ "$ref": "#/definitions/Capability"
19+ }
20+ },
21+ {
22+ "description": "A list of capabilities.",
23+ "type": "object",
24+ "required": [
25+ "capabilities"
26+ ],
27+ "properties": {
28+ "capabilities": {
29+ "description": "The list of capabilities.",
30+ "type": "array",
31+ "items": {
32+ "$ref": "#/definitions/Capability"
33+ }
34+ }
35+ }
36+ }
37+ ],
38+ "definitions": {
39+ "Capability": {
40+ "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows' and webviews' fine grained access to the Tauri core, application, or plugin commands. If a webview or its 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 programmatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"core:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, ], \"platforms\": [\"macOS\",\"windows\"] } ```",
41+ "type": "object",
42+ "required": [
43+ "identifier",
44+ "permissions"
45+ ],
46+ "properties": {
47+ "identifier": {
48+ "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
49+ "type": "string"
50+ },
51+ "description": {
52+ "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 programmatic access to files selected by the user.",
53+ "default": "",
54+ "type": "string"
55+ },
56+ "remote": {
57+ "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\"] } ```",
58+ "anyOf": [
59+ {
60+ "$ref": "#/definitions/CapabilityRemote"
61+ },
62+ {
63+ "type": "null"
64+ }
65+ ]
66+ },
67+ "local": {
68+ "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
69+ "default": true,
70+ "type": "boolean"
71+ },
72+ "windows": {
73+ "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nIf a window label matches any of the patterns in this list, the capability will be enabled on all the webviews of that window, regardless of the value of [`Self::webviews`].\n\nOn multiwebview windows, prefer specifying [`Self::webviews`] and omitting [`Self::windows`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
74+ "type": "array",
75+ "items": {
76+ "type": "string"
77+ }
78+ },
79+ "webviews": {
80+ "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThe capability will be enabled on all the webviews whose label matches any of the patterns in this list, regardless of whether the webview's window label matches a pattern in [`Self::windows`].\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
81+ "type": "array",
82+ "items": {
83+ "type": "string"
84+ }
85+ },
86+ "permissions": {
87+ "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ] ```",
88+ "type": "array",
89+ "items": {
90+ "$ref": "#/definitions/PermissionEntry"
91+ },
92+ "uniqueItems": true
93+ },
94+ "platforms": {
95+ "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
96+ "type": [
97+ "array",
98+ "null"
99+ ],
100+ "items": {
101+ "$ref": "#/definitions/Target"
102+ }
103+ }
104+ }
105+ },
106+ "CapabilityRemote": {
107+ "description": "Configuration for remote URLs that are associated with the capability.",
108+ "type": "object",
109+ "required": [
110+ "urls"
111+ ],
112+ "properties": {
113+ "urls": {
114+ "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",
115+ "type": "array",
116+ "items": {
117+ "type": "string"
118+ }
119+ }
120+ }
121+ },
122+ "PermissionEntry": {
123+ "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.",
124+ "anyOf": [
125+ {
126+ "description": "Reference a permission or permission set by identifier.",
127+ "allOf": [
128+ {
129+ "$ref": "#/definitions/Identifier"
130+ }
131+ ]
132+ },
133+ {
134+ "description": "Reference a permission or permission set by identifier and extends its scope.",
135+ "type": "object",
136+ "allOf": [
137+ {
138+ "properties": {
139+ "identifier": {
140+ "description": "Identifier of the permission or permission set.",
141+ "allOf": [
142+ {
143+ "$ref": "#/definitions/Identifier"
144+ }
145+ ]
146+ },
147+ "allow": {
148+ "description": "Data that defines what is allowed by the scope.",
149+ "type": [
150+ "array",
151+ "null"
152+ ],
153+ "items": {
154+ "$ref": "#/definitions/Value"
155+ }
156+ },
157+ "deny": {
158+ "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
159+ "type": [
160+ "array",
161+ "null"
162+ ],
163+ "items": {
164+ "$ref": "#/definitions/Value"
165+ }
166+ }
167+ }
168+ }
169+ ],
170+ "required": [
171+ "identifier"
172+ ]
173+ }
174+ ]
175+ },
176+ "Identifier": {
177+ "description": "Permission identifier",
178+ "oneOf": [
179+ {
180+ "description": "Default core plugins set.\n#### This default permission set includes:\n\n- `core:path:default`\n- `core:event:default`\n- `core:window:default`\n- `core:webview:default`\n- `core:app:default`\n- `core:image:default`\n- `core:resources:default`\n- `core:menu:default`\n- `core:tray:default`",
181+ "type": "string",
182+ "const": "core:default",
183+ "markdownDescription": "Default core plugins set.\n#### This default permission set includes:\n\n- `core:path:default`\n- `core:event:default`\n- `core:window:default`\n- `core:webview:default`\n- `core:app:default`\n- `core:image:default`\n- `core:resources:default`\n- `core:menu:default`\n- `core:tray:default`"
184+ },
185+ {
186+ "description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-supports-multiple-windows`",
187+ "type": "string",
188+ "const": "core:app:default",
189+ "markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-supports-multiple-windows`"
190+ },
191+ {
192+ "description": "Enables the app_hide command without any pre-configured scope.",
193+ "type": "string",
194+ "const": "core:app:allow-app-hide",
195+ "markdownDescription": "Enables the app_hide command without any pre-configured scope."
196+ },
197+ {
198+ "description": "Enables the app_show command without any pre-configured scope.",
199+ "type": "string",
200+ "const": "core:app:allow-app-show",
201+ "markdownDescription": "Enables the app_show command without any pre-configured scope."
202+ },
203+ {
204+ "description": "Enables the bundle_type command without any pre-configured scope.",
205+ "type": "string",
206+ "const": "core:app:allow-bundle-type",
207+ "markdownDescription": "Enables the bundle_type command without any pre-configured scope."
208+ },
209+ {
210+ "description": "Enables the default_window_icon command without any pre-configured scope.",
211+ "type": "string",
212+ "const": "core:app:allow-default-window-icon",
213+ "markdownDescription": "Enables the default_window_icon command without any pre-configured scope."
214+ },
215+ {
216+ "description": "Enables the fetch_data_store_identifiers command without any pre-configured scope.",
217+ "type": "string",
218+ "const": "core:app:allow-fetch-data-store-identifiers",
219+ "markdownDescription": "Enables the fetch_data_store_identifiers command without any pre-configured scope."
220+ },
221+ {
222+ "description": "Enables the identifier command without any pre-configured scope.",
223+ "type": "string",
224+ "const": "core:app:allow-identifier",
225+ "markdownDescription": "Enables the identifier command without any pre-configured scope."
226+ },
227+ {
228+ "description": "Enables the name command without any pre-configured scope.",
229+ "type": "string",
230+ "const": "core:app:allow-name",
231+ "markdownDescription": "Enables the name command without any pre-configured scope."
232+ },
233+ {
234+ "description": "Enables the register_listener command without any pre-configured scope.",
235+ "type": "string",
236+ "const": "core:app:allow-register-listener",
237+ "markdownDescription": "Enables the register_listener command without any pre-configured scope."
238+ },
239+ {
240+ "description": "Enables the remove_data_store command without any pre-configured scope.",
241+ "type": "string",
242+ "const": "core:app:allow-remove-data-store",
243+ "markdownDescription": "Enables the remove_data_store command without any pre-configured scope."
244+ },
245+ {
246+ "description": "Enables the remove_listener command without any pre-configured scope.",
247+ "type": "string",
248+ "const": "core:app:allow-remove-listener",
249+ "markdownDescription": "Enables the remove_listener command without any pre-configured scope."
250+ },
251+ {
252+ "description": "Enables the set_app_theme command without any pre-configured scope.",
253+ "type": "string",
254+ "const": "core:app:allow-set-app-theme",
255+ "markdownDescription": "Enables the set_app_theme command without any pre-configured scope."
256+ },
257+ {
258+ "description": "Enables the set_dock_visibility command without any pre-configured scope.",
259+ "type": "string",
260+ "const": "core:app:allow-set-dock-visibility",
261+ "markdownDescription": "Enables the set_dock_visibility command without any pre-configured scope."
262+ },
263+ {
264+ "description": "Enables the supports_multiple_windows command without any pre-configured scope.",
265+ "type": "string",
266+ "const": "core:app:allow-supports-multiple-windows",
267+ "markdownDescription": "Enables the supports_multiple_windows command without any pre-configured scope."
268+ },
269+ {
270+ "description": "Enables the tauri_version command without any pre-configured scope.",
271+ "type": "string",
272+ "const": "core:app:allow-tauri-version",
273+ "markdownDescription": "Enables the tauri_version command without any pre-configured scope."
274+ },
275+ {
276+ "description": "Enables the version command without any pre-configured scope.",
277+ "type": "string",
278+ "const": "core:app:allow-version",
279+ "markdownDescription": "Enables the version command without any pre-configured scope."
280+ },
281+ {
282+ "description": "Denies the app_hide command without any pre-configured scope.",
283+ "type": "string",
284+ "const": "core:app:deny-app-hide",
285+ "markdownDescription": "Denies the app_hide command without any pre-configured scope."
286+ },
287+ {
288+ "description": "Denies the app_show command without any pre-configured scope.",
289+ "type": "string",
290+ "const": "core:app:deny-app-show",
291+ "markdownDescription": "Denies the app_show command without any pre-configured scope."
292+ },
293+ {
294+ "description": "Denies the bundle_type command without any pre-configured scope.",
295+ "type": "string",
296+ "const": "core:app:deny-bundle-type",
297+ "markdownDescription": "Denies the bundle_type command without any pre-configured scope."
298+ },
299+ {
300+ "description": "Denies the default_window_icon command without any pre-configured scope.",
301+ "type": "string",
302+ "const": "core:app:deny-default-window-icon",
303+ "markdownDescription": "Denies the default_window_icon command without any pre-configured scope."
304+ },
305+ {
306+ "description": "Denies the fetch_data_store_identifiers command without any pre-configured scope.",
307+ "type": "string",
308+ "const": "core:app:deny-fetch-data-store-identifiers",
309+ "markdownDescription": "Denies the fetch_data_store_identifiers command without any pre-configured scope."
310+ },
311+ {
312+ "description": "Denies the identifier command without any pre-configured scope.",
313+ "type": "string",
314+ "const": "core:app:deny-identifier",
315+ "markdownDescription": "Denies the identifier command without any pre-configured scope."
316+ },
317+ {
318+ "description": "Denies the name command without any pre-configured scope.",
319+ "type": "string",
320+ "const": "core:app:deny-name",
321+ "markdownDescription": "Denies the name command without any pre-configured scope."
322+ },
323+ {
324+ "description": "Denies the register_listener command without any pre-configured scope.",
325+ "type": "string",
326+ "const": "core:app:deny-register-listener",
327+ "markdownDescription": "Denies the register_listener command without any pre-configured scope."
328+ },
329+ {
330+ "description": "Denies the remove_data_store command without any pre-configured scope.",
331+ "type": "string",
332+ "const": "core:app:deny-remove-data-store",
333+ "markdownDescription": "Denies the remove_data_store command without any pre-configured scope."
334+ },
335+ {
336+ "description": "Denies the remove_listener command without any pre-configured scope.",
337+ "type": "string",
338+ "const": "core:app:deny-remove-listener",
339+ "markdownDescription": "Denies the remove_listener command without any pre-configured scope."
340+ },
341+ {
342+ "description": "Denies the set_app_theme command without any pre-configured scope.",
343+ "type": "string",
344+ "const": "core:app:deny-set-app-theme",
345+ "markdownDescription": "Denies the set_app_theme command without any pre-configured scope."
346+ },
347+ {
348+ "description": "Denies the set_dock_visibility command without any pre-configured scope.",
349+ "type": "string",
350+ "const": "core:app:deny-set-dock-visibility",
351+ "markdownDescription": "Denies the set_dock_visibility command without any pre-configured scope."
352+ },
353+ {
354+ "description": "Denies the supports_multiple_windows command without any pre-configured scope.",
355+ "type": "string",
356+ "const": "core:app:deny-supports-multiple-windows",
357+ "markdownDescription": "Denies the supports_multiple_windows command without any pre-configured scope."
358+ },
359+ {
360+ "description": "Denies the tauri_version command without any pre-configured scope.",
361+ "type": "string",
362+ "const": "core:app:deny-tauri-version",
363+ "markdownDescription": "Denies the tauri_version command without any pre-configured scope."
364+ },
365+ {
366+ "description": "Denies the version command without any pre-configured scope.",
367+ "type": "string",
368+ "const": "core:app:deny-version",
369+ "markdownDescription": "Denies the version command without any pre-configured scope."
370+ },
371+ {
372+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-listen`\n- `allow-unlisten`\n- `allow-emit`\n- `allow-emit-to`",
373+ "type": "string",
374+ "const": "core:event:default",
375+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-listen`\n- `allow-unlisten`\n- `allow-emit`\n- `allow-emit-to`"
376+ },
377+ {
378+ "description": "Enables the emit command without any pre-configured scope.",
379+ "type": "string",
380+ "const": "core:event:allow-emit",
381+ "markdownDescription": "Enables the emit command without any pre-configured scope."
382+ },
383+ {
384+ "description": "Enables the emit_to command without any pre-configured scope.",
385+ "type": "string",
386+ "const": "core:event:allow-emit-to",
387+ "markdownDescription": "Enables the emit_to command without any pre-configured scope."
388+ },
389+ {
390+ "description": "Enables the listen command without any pre-configured scope.",
391+ "type": "string",
392+ "const": "core:event:allow-listen",
393+ "markdownDescription": "Enables the listen command without any pre-configured scope."
394+ },
395+ {
396+ "description": "Enables the unlisten command without any pre-configured scope.",
397+ "type": "string",
398+ "const": "core:event:allow-unlisten",
399+ "markdownDescription": "Enables the unlisten command without any pre-configured scope."
400+ },
401+ {
402+ "description": "Denies the emit command without any pre-configured scope.",
403+ "type": "string",
404+ "const": "core:event:deny-emit",
405+ "markdownDescription": "Denies the emit command without any pre-configured scope."
406+ },
407+ {
408+ "description": "Denies the emit_to command without any pre-configured scope.",
409+ "type": "string",
410+ "const": "core:event:deny-emit-to",
411+ "markdownDescription": "Denies the emit_to command without any pre-configured scope."
412+ },
413+ {
414+ "description": "Denies the listen command without any pre-configured scope.",
415+ "type": "string",
416+ "const": "core:event:deny-listen",
417+ "markdownDescription": "Denies the listen command without any pre-configured scope."
418+ },
419+ {
420+ "description": "Denies the unlisten command without any pre-configured scope.",
421+ "type": "string",
422+ "const": "core:event:deny-unlisten",
423+ "markdownDescription": "Denies the unlisten command without any pre-configured scope."
424+ },
425+ {
426+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-from-bytes`\n- `allow-from-path`\n- `allow-rgba`\n- `allow-size`",
427+ "type": "string",
428+ "const": "core:image:default",
429+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-from-bytes`\n- `allow-from-path`\n- `allow-rgba`\n- `allow-size`"
430+ },
431+ {
432+ "description": "Enables the from_bytes command without any pre-configured scope.",
433+ "type": "string",
434+ "const": "core:image:allow-from-bytes",
435+ "markdownDescription": "Enables the from_bytes command without any pre-configured scope."
436+ },
437+ {
438+ "description": "Enables the from_path command without any pre-configured scope.",
439+ "type": "string",
440+ "const": "core:image:allow-from-path",
441+ "markdownDescription": "Enables the from_path command without any pre-configured scope."
442+ },
443+ {
444+ "description": "Enables the new command without any pre-configured scope.",
445+ "type": "string",
446+ "const": "core:image:allow-new",
447+ "markdownDescription": "Enables the new command without any pre-configured scope."
448+ },
449+ {
450+ "description": "Enables the rgba command without any pre-configured scope.",
451+ "type": "string",
452+ "const": "core:image:allow-rgba",
453+ "markdownDescription": "Enables the rgba command without any pre-configured scope."
454+ },
455+ {
456+ "description": "Enables the size command without any pre-configured scope.",
457+ "type": "string",
458+ "const": "core:image:allow-size",
459+ "markdownDescription": "Enables the size command without any pre-configured scope."
460+ },
461+ {
462+ "description": "Denies the from_bytes command without any pre-configured scope.",
463+ "type": "string",
464+ "const": "core:image:deny-from-bytes",
465+ "markdownDescription": "Denies the from_bytes command without any pre-configured scope."
466+ },
467+ {
468+ "description": "Denies the from_path command without any pre-configured scope.",
469+ "type": "string",
470+ "const": "core:image:deny-from-path",
471+ "markdownDescription": "Denies the from_path command without any pre-configured scope."
472+ },
473+ {
474+ "description": "Denies the new command without any pre-configured scope.",
475+ "type": "string",
476+ "const": "core:image:deny-new",
477+ "markdownDescription": "Denies the new command without any pre-configured scope."
478+ },
479+ {
480+ "description": "Denies the rgba command without any pre-configured scope.",
481+ "type": "string",
482+ "const": "core:image:deny-rgba",
483+ "markdownDescription": "Denies the rgba command without any pre-configured scope."
484+ },
485+ {
486+ "description": "Denies the size command without any pre-configured scope.",
487+ "type": "string",
488+ "const": "core:image:deny-size",
489+ "markdownDescription": "Denies the size command without any pre-configured scope."
490+ },
491+ {
492+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-append`\n- `allow-prepend`\n- `allow-insert`\n- `allow-remove`\n- `allow-remove-at`\n- `allow-items`\n- `allow-get`\n- `allow-popup`\n- `allow-create-default`\n- `allow-set-as-app-menu`\n- `allow-set-as-window-menu`\n- `allow-text`\n- `allow-set-text`\n- `allow-is-enabled`\n- `allow-set-enabled`\n- `allow-set-accelerator`\n- `allow-set-as-windows-menu-for-nsapp`\n- `allow-set-as-help-menu-for-nsapp`\n- `allow-is-checked`\n- `allow-set-checked`\n- `allow-set-icon`",
493+ "type": "string",
494+ "const": "core:menu:default",
495+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-append`\n- `allow-prepend`\n- `allow-insert`\n- `allow-remove`\n- `allow-remove-at`\n- `allow-items`\n- `allow-get`\n- `allow-popup`\n- `allow-create-default`\n- `allow-set-as-app-menu`\n- `allow-set-as-window-menu`\n- `allow-text`\n- `allow-set-text`\n- `allow-is-enabled`\n- `allow-set-enabled`\n- `allow-set-accelerator`\n- `allow-set-as-windows-menu-for-nsapp`\n- `allow-set-as-help-menu-for-nsapp`\n- `allow-is-checked`\n- `allow-set-checked`\n- `allow-set-icon`"
496+ },
497+ {
498+ "description": "Enables the append command without any pre-configured scope.",
499+ "type": "string",
500+ "const": "core:menu:allow-append",
501+ "markdownDescription": "Enables the append command without any pre-configured scope."
502+ },
503+ {
504+ "description": "Enables the create_default command without any pre-configured scope.",
505+ "type": "string",
506+ "const": "core:menu:allow-create-default",
507+ "markdownDescription": "Enables the create_default command without any pre-configured scope."
508+ },
509+ {
510+ "description": "Enables the get command without any pre-configured scope.",
511+ "type": "string",
512+ "const": "core:menu:allow-get",
513+ "markdownDescription": "Enables the get command without any pre-configured scope."
514+ },
515+ {
516+ "description": "Enables the insert command without any pre-configured scope.",
517+ "type": "string",
518+ "const": "core:menu:allow-insert",
519+ "markdownDescription": "Enables the insert command without any pre-configured scope."
520+ },
521+ {
522+ "description": "Enables the is_checked command without any pre-configured scope.",
523+ "type": "string",
524+ "const": "core:menu:allow-is-checked",
525+ "markdownDescription": "Enables the is_checked command without any pre-configured scope."
526+ },
527+ {
528+ "description": "Enables the is_enabled command without any pre-configured scope.",
529+ "type": "string",
530+ "const": "core:menu:allow-is-enabled",
531+ "markdownDescription": "Enables the is_enabled command without any pre-configured scope."
532+ },
533+ {
534+ "description": "Enables the items command without any pre-configured scope.",
535+ "type": "string",
536+ "const": "core:menu:allow-items",
537+ "markdownDescription": "Enables the items command without any pre-configured scope."
538+ },
539+ {
540+ "description": "Enables the new command without any pre-configured scope.",
541+ "type": "string",
542+ "const": "core:menu:allow-new",
543+ "markdownDescription": "Enables the new command without any pre-configured scope."
544+ },
545+ {
546+ "description": "Enables the popup command without any pre-configured scope.",
547+ "type": "string",
548+ "const": "core:menu:allow-popup",
549+ "markdownDescription": "Enables the popup command without any pre-configured scope."
550+ },
551+ {
552+ "description": "Enables the prepend command without any pre-configured scope.",
553+ "type": "string",
554+ "const": "core:menu:allow-prepend",
555+ "markdownDescription": "Enables the prepend command without any pre-configured scope."
556+ },
557+ {
558+ "description": "Enables the remove command without any pre-configured scope.",
559+ "type": "string",
560+ "const": "core:menu:allow-remove",
561+ "markdownDescription": "Enables the remove command without any pre-configured scope."
562+ },
563+ {
564+ "description": "Enables the remove_at command without any pre-configured scope.",
565+ "type": "string",
566+ "const": "core:menu:allow-remove-at",
567+ "markdownDescription": "Enables the remove_at command without any pre-configured scope."
568+ },
569+ {
570+ "description": "Enables the set_accelerator command without any pre-configured scope.",
571+ "type": "string",
572+ "const": "core:menu:allow-set-accelerator",
573+ "markdownDescription": "Enables the set_accelerator command without any pre-configured scope."
574+ },
575+ {
576+ "description": "Enables the set_as_app_menu command without any pre-configured scope.",
577+ "type": "string",
578+ "const": "core:menu:allow-set-as-app-menu",
579+ "markdownDescription": "Enables the set_as_app_menu command without any pre-configured scope."
580+ },
581+ {
582+ "description": "Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
583+ "type": "string",
584+ "const": "core:menu:allow-set-as-help-menu-for-nsapp",
585+ "markdownDescription": "Enables the set_as_help_menu_for_nsapp command without any pre-configured scope."
586+ },
587+ {
588+ "description": "Enables the set_as_window_menu command without any pre-configured scope.",
589+ "type": "string",
590+ "const": "core:menu:allow-set-as-window-menu",
591+ "markdownDescription": "Enables the set_as_window_menu command without any pre-configured scope."
592+ },
593+ {
594+ "description": "Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
595+ "type": "string",
596+ "const": "core:menu:allow-set-as-windows-menu-for-nsapp",
597+ "markdownDescription": "Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope."
598+ },
599+ {
600+ "description": "Enables the set_checked command without any pre-configured scope.",
601+ "type": "string",
602+ "const": "core:menu:allow-set-checked",
603+ "markdownDescription": "Enables the set_checked command without any pre-configured scope."
604+ },
605+ {
606+ "description": "Enables the set_enabled command without any pre-configured scope.",
607+ "type": "string",
608+ "const": "core:menu:allow-set-enabled",
609+ "markdownDescription": "Enables the set_enabled command without any pre-configured scope."
610+ },
611+ {
612+ "description": "Enables the set_icon command without any pre-configured scope.",
613+ "type": "string",
614+ "const": "core:menu:allow-set-icon",
615+ "markdownDescription": "Enables the set_icon command without any pre-configured scope."
616+ },
617+ {
618+ "description": "Enables the set_text command without any pre-configured scope.",
619+ "type": "string",
620+ "const": "core:menu:allow-set-text",
621+ "markdownDescription": "Enables the set_text command without any pre-configured scope."
622+ },
623+ {
624+ "description": "Enables the text command without any pre-configured scope.",
625+ "type": "string",
626+ "const": "core:menu:allow-text",
627+ "markdownDescription": "Enables the text command without any pre-configured scope."
628+ },
629+ {
630+ "description": "Denies the append command without any pre-configured scope.",
631+ "type": "string",
632+ "const": "core:menu:deny-append",
633+ "markdownDescription": "Denies the append command without any pre-configured scope."
634+ },
635+ {
636+ "description": "Denies the create_default command without any pre-configured scope.",
637+ "type": "string",
638+ "const": "core:menu:deny-create-default",
639+ "markdownDescription": "Denies the create_default command without any pre-configured scope."
640+ },
641+ {
642+ "description": "Denies the get command without any pre-configured scope.",
643+ "type": "string",
644+ "const": "core:menu:deny-get",
645+ "markdownDescription": "Denies the get command without any pre-configured scope."
646+ },
647+ {
648+ "description": "Denies the insert command without any pre-configured scope.",
649+ "type": "string",
650+ "const": "core:menu:deny-insert",
651+ "markdownDescription": "Denies the insert command without any pre-configured scope."
652+ },
653+ {
654+ "description": "Denies the is_checked command without any pre-configured scope.",
655+ "type": "string",
656+ "const": "core:menu:deny-is-checked",
657+ "markdownDescription": "Denies the is_checked command without any pre-configured scope."
658+ },
659+ {
660+ "description": "Denies the is_enabled command without any pre-configured scope.",
661+ "type": "string",
662+ "const": "core:menu:deny-is-enabled",
663+ "markdownDescription": "Denies the is_enabled command without any pre-configured scope."
664+ },
665+ {
666+ "description": "Denies the items command without any pre-configured scope.",
667+ "type": "string",
668+ "const": "core:menu:deny-items",
669+ "markdownDescription": "Denies the items command without any pre-configured scope."
670+ },
671+ {
672+ "description": "Denies the new command without any pre-configured scope.",
673+ "type": "string",
674+ "const": "core:menu:deny-new",
675+ "markdownDescription": "Denies the new command without any pre-configured scope."
676+ },
677+ {
678+ "description": "Denies the popup command without any pre-configured scope.",
679+ "type": "string",
680+ "const": "core:menu:deny-popup",
681+ "markdownDescription": "Denies the popup command without any pre-configured scope."
682+ },
683+ {
684+ "description": "Denies the prepend command without any pre-configured scope.",
685+ "type": "string",
686+ "const": "core:menu:deny-prepend",
687+ "markdownDescription": "Denies the prepend command without any pre-configured scope."
688+ },
689+ {
690+ "description": "Denies the remove command without any pre-configured scope.",
691+ "type": "string",
692+ "const": "core:menu:deny-remove",
693+ "markdownDescription": "Denies the remove command without any pre-configured scope."
694+ },
695+ {
696+ "description": "Denies the remove_at command without any pre-configured scope.",
697+ "type": "string",
698+ "const": "core:menu:deny-remove-at",
699+ "markdownDescription": "Denies the remove_at command without any pre-configured scope."
700+ },
701+ {
702+ "description": "Denies the set_accelerator command without any pre-configured scope.",
703+ "type": "string",
704+ "const": "core:menu:deny-set-accelerator",
705+ "markdownDescription": "Denies the set_accelerator command without any pre-configured scope."
706+ },
707+ {
708+ "description": "Denies the set_as_app_menu command without any pre-configured scope.",
709+ "type": "string",
710+ "const": "core:menu:deny-set-as-app-menu",
711+ "markdownDescription": "Denies the set_as_app_menu command without any pre-configured scope."
712+ },
713+ {
714+ "description": "Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
715+ "type": "string",
716+ "const": "core:menu:deny-set-as-help-menu-for-nsapp",
717+ "markdownDescription": "Denies the set_as_help_menu_for_nsapp command without any pre-configured scope."
718+ },
719+ {
720+ "description": "Denies the set_as_window_menu command without any pre-configured scope.",
721+ "type": "string",
722+ "const": "core:menu:deny-set-as-window-menu",
723+ "markdownDescription": "Denies the set_as_window_menu command without any pre-configured scope."
724+ },
725+ {
726+ "description": "Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
727+ "type": "string",
728+ "const": "core:menu:deny-set-as-windows-menu-for-nsapp",
729+ "markdownDescription": "Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope."
730+ },
731+ {
732+ "description": "Denies the set_checked command without any pre-configured scope.",
733+ "type": "string",
734+ "const": "core:menu:deny-set-checked",
735+ "markdownDescription": "Denies the set_checked command without any pre-configured scope."
736+ },
737+ {
738+ "description": "Denies the set_enabled command without any pre-configured scope.",
739+ "type": "string",
740+ "const": "core:menu:deny-set-enabled",
741+ "markdownDescription": "Denies the set_enabled command without any pre-configured scope."
742+ },
743+ {
744+ "description": "Denies the set_icon command without any pre-configured scope.",
745+ "type": "string",
746+ "const": "core:menu:deny-set-icon",
747+ "markdownDescription": "Denies the set_icon command without any pre-configured scope."
748+ },
749+ {
750+ "description": "Denies the set_text command without any pre-configured scope.",
751+ "type": "string",
752+ "const": "core:menu:deny-set-text",
753+ "markdownDescription": "Denies the set_text command without any pre-configured scope."
754+ },
755+ {
756+ "description": "Denies the text command without any pre-configured scope.",
757+ "type": "string",
758+ "const": "core:menu:deny-text",
759+ "markdownDescription": "Denies the text command without any pre-configured scope."
760+ },
761+ {
762+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-resolve-directory`\n- `allow-resolve`\n- `allow-normalize`\n- `allow-join`\n- `allow-dirname`\n- `allow-extname`\n- `allow-basename`\n- `allow-is-absolute`",
763+ "type": "string",
764+ "const": "core:path:default",
765+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-resolve-directory`\n- `allow-resolve`\n- `allow-normalize`\n- `allow-join`\n- `allow-dirname`\n- `allow-extname`\n- `allow-basename`\n- `allow-is-absolute`"
766+ },
767+ {
768+ "description": "Enables the basename command without any pre-configured scope.",
769+ "type": "string",
770+ "const": "core:path:allow-basename",
771+ "markdownDescription": "Enables the basename command without any pre-configured scope."
772+ },
773+ {
774+ "description": "Enables the dirname command without any pre-configured scope.",
775+ "type": "string",
776+ "const": "core:path:allow-dirname",
777+ "markdownDescription": "Enables the dirname command without any pre-configured scope."
778+ },
779+ {
780+ "description": "Enables the extname command without any pre-configured scope.",
781+ "type": "string",
782+ "const": "core:path:allow-extname",
783+ "markdownDescription": "Enables the extname command without any pre-configured scope."
784+ },
785+ {
786+ "description": "Enables the is_absolute command without any pre-configured scope.",
787+ "type": "string",
788+ "const": "core:path:allow-is-absolute",
789+ "markdownDescription": "Enables the is_absolute command without any pre-configured scope."
790+ },
791+ {
792+ "description": "Enables the join command without any pre-configured scope.",
793+ "type": "string",
794+ "const": "core:path:allow-join",
795+ "markdownDescription": "Enables the join command without any pre-configured scope."
796+ },
797+ {
798+ "description": "Enables the normalize command without any pre-configured scope.",
799+ "type": "string",
800+ "const": "core:path:allow-normalize",
801+ "markdownDescription": "Enables the normalize command without any pre-configured scope."
802+ },
803+ {
804+ "description": "Enables the resolve command without any pre-configured scope.",
805+ "type": "string",
806+ "const": "core:path:allow-resolve",
807+ "markdownDescription": "Enables the resolve command without any pre-configured scope."
808+ },
809+ {
810+ "description": "Enables the resolve_directory command without any pre-configured scope.",
811+ "type": "string",
812+ "const": "core:path:allow-resolve-directory",
813+ "markdownDescription": "Enables the resolve_directory command without any pre-configured scope."
814+ },
815+ {
816+ "description": "Denies the basename command without any pre-configured scope.",
817+ "type": "string",
818+ "const": "core:path:deny-basename",
819+ "markdownDescription": "Denies the basename command without any pre-configured scope."
820+ },
821+ {
822+ "description": "Denies the dirname command without any pre-configured scope.",
823+ "type": "string",
824+ "const": "core:path:deny-dirname",
825+ "markdownDescription": "Denies the dirname command without any pre-configured scope."
826+ },
827+ {
828+ "description": "Denies the extname command without any pre-configured scope.",
829+ "type": "string",
830+ "const": "core:path:deny-extname",
831+ "markdownDescription": "Denies the extname command without any pre-configured scope."
832+ },
833+ {
834+ "description": "Denies the is_absolute command without any pre-configured scope.",
835+ "type": "string",
836+ "const": "core:path:deny-is-absolute",
837+ "markdownDescription": "Denies the is_absolute command without any pre-configured scope."
838+ },
839+ {
840+ "description": "Denies the join command without any pre-configured scope.",
841+ "type": "string",
842+ "const": "core:path:deny-join",
843+ "markdownDescription": "Denies the join command without any pre-configured scope."
844+ },
845+ {
846+ "description": "Denies the normalize command without any pre-configured scope.",
847+ "type": "string",
848+ "const": "core:path:deny-normalize",
849+ "markdownDescription": "Denies the normalize command without any pre-configured scope."
850+ },
851+ {
852+ "description": "Denies the resolve command without any pre-configured scope.",
853+ "type": "string",
854+ "const": "core:path:deny-resolve",
855+ "markdownDescription": "Denies the resolve command without any pre-configured scope."
856+ },
857+ {
858+ "description": "Denies the resolve_directory command without any pre-configured scope.",
859+ "type": "string",
860+ "const": "core:path:deny-resolve-directory",
861+ "markdownDescription": "Denies the resolve_directory command without any pre-configured scope."
862+ },
863+ {
864+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-close`",
865+ "type": "string",
866+ "const": "core:resources:default",
867+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-close`"
868+ },
869+ {
870+ "description": "Enables the close command without any pre-configured scope.",
871+ "type": "string",
872+ "const": "core:resources:allow-close",
873+ "markdownDescription": "Enables the close command without any pre-configured scope."
874+ },
875+ {
876+ "description": "Denies the close command without any pre-configured scope.",
877+ "type": "string",
878+ "const": "core:resources:deny-close",
879+ "markdownDescription": "Denies the close command without any pre-configured scope."
880+ },
881+ {
882+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-icon-with-as-template`\n- `allow-set-show-menu-on-left-click`",
883+ "type": "string",
884+ "const": "core:tray:default",
885+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-icon-with-as-template`\n- `allow-set-show-menu-on-left-click`"
886+ },
887+ {
888+ "description": "Enables the get_by_id command without any pre-configured scope.",
889+ "type": "string",
890+ "const": "core:tray:allow-get-by-id",
891+ "markdownDescription": "Enables the get_by_id command without any pre-configured scope."
892+ },
893+ {
894+ "description": "Enables the new command without any pre-configured scope.",
895+ "type": "string",
896+ "const": "core:tray:allow-new",
897+ "markdownDescription": "Enables the new command without any pre-configured scope."
898+ },
899+ {
900+ "description": "Enables the remove_by_id command without any pre-configured scope.",
901+ "type": "string",
902+ "const": "core:tray:allow-remove-by-id",
903+ "markdownDescription": "Enables the remove_by_id command without any pre-configured scope."
904+ },
905+ {
906+ "description": "Enables the set_icon command without any pre-configured scope.",
907+ "type": "string",
908+ "const": "core:tray:allow-set-icon",
909+ "markdownDescription": "Enables the set_icon command without any pre-configured scope."
910+ },
911+ {
912+ "description": "Enables the set_icon_as_template command without any pre-configured scope.",
913+ "type": "string",
914+ "const": "core:tray:allow-set-icon-as-template",
915+ "markdownDescription": "Enables the set_icon_as_template command without any pre-configured scope."
916+ },
917+ {
918+ "description": "Enables the set_icon_with_as_template command without any pre-configured scope.",
919+ "type": "string",
920+ "const": "core:tray:allow-set-icon-with-as-template",
921+ "markdownDescription": "Enables the set_icon_with_as_template command without any pre-configured scope."
922+ },
923+ {
924+ "description": "Enables the set_menu command without any pre-configured scope.",
925+ "type": "string",
926+ "const": "core:tray:allow-set-menu",
927+ "markdownDescription": "Enables the set_menu command without any pre-configured scope."
928+ },
929+ {
930+ "description": "Enables the set_show_menu_on_left_click command without any pre-configured scope.",
931+ "type": "string",
932+ "const": "core:tray:allow-set-show-menu-on-left-click",
933+ "markdownDescription": "Enables the set_show_menu_on_left_click command without any pre-configured scope."
934+ },
935+ {
936+ "description": "Enables the set_temp_dir_path command without any pre-configured scope.",
937+ "type": "string",
938+ "const": "core:tray:allow-set-temp-dir-path",
939+ "markdownDescription": "Enables the set_temp_dir_path command without any pre-configured scope."
940+ },
941+ {
942+ "description": "Enables the set_title command without any pre-configured scope.",
943+ "type": "string",
944+ "const": "core:tray:allow-set-title",
945+ "markdownDescription": "Enables the set_title command without any pre-configured scope."
946+ },
947+ {
948+ "description": "Enables the set_tooltip command without any pre-configured scope.",
949+ "type": "string",
950+ "const": "core:tray:allow-set-tooltip",
951+ "markdownDescription": "Enables the set_tooltip command without any pre-configured scope."
952+ },
953+ {
954+ "description": "Enables the set_visible command without any pre-configured scope.",
955+ "type": "string",
956+ "const": "core:tray:allow-set-visible",
957+ "markdownDescription": "Enables the set_visible command without any pre-configured scope."
958+ },
959+ {
960+ "description": "Denies the get_by_id command without any pre-configured scope.",
961+ "type": "string",
962+ "const": "core:tray:deny-get-by-id",
963+ "markdownDescription": "Denies the get_by_id command without any pre-configured scope."
964+ },
965+ {
966+ "description": "Denies the new command without any pre-configured scope.",
967+ "type": "string",
968+ "const": "core:tray:deny-new",
969+ "markdownDescription": "Denies the new command without any pre-configured scope."
970+ },
971+ {
972+ "description": "Denies the remove_by_id command without any pre-configured scope.",
973+ "type": "string",
974+ "const": "core:tray:deny-remove-by-id",
975+ "markdownDescription": "Denies the remove_by_id command without any pre-configured scope."
976+ },
977+ {
978+ "description": "Denies the set_icon command without any pre-configured scope.",
979+ "type": "string",
980+ "const": "core:tray:deny-set-icon",
981+ "markdownDescription": "Denies the set_icon command without any pre-configured scope."
982+ },
983+ {
984+ "description": "Denies the set_icon_as_template command without any pre-configured scope.",
985+ "type": "string",
986+ "const": "core:tray:deny-set-icon-as-template",
987+ "markdownDescription": "Denies the set_icon_as_template command without any pre-configured scope."
988+ },
989+ {
990+ "description": "Denies the set_icon_with_as_template command without any pre-configured scope.",
991+ "type": "string",
992+ "const": "core:tray:deny-set-icon-with-as-template",
993+ "markdownDescription": "Denies the set_icon_with_as_template command without any pre-configured scope."
994+ },
995+ {
996+ "description": "Denies the set_menu command without any pre-configured scope.",
997+ "type": "string",
998+ "const": "core:tray:deny-set-menu",
999+ "markdownDescription": "Denies the set_menu command without any pre-configured scope."
1000+ },
1001+ {
1002+ "description": "Denies the set_show_menu_on_left_click command without any pre-configured scope.",
1003+ "type": "string",
1004+ "const": "core:tray:deny-set-show-menu-on-left-click",
1005+ "markdownDescription": "Denies the set_show_menu_on_left_click command without any pre-configured scope."
1006+ },
1007+ {
1008+ "description": "Denies the set_temp_dir_path command without any pre-configured scope.",
1009+ "type": "string",
1010+ "const": "core:tray:deny-set-temp-dir-path",
1011+ "markdownDescription": "Denies the set_temp_dir_path command without any pre-configured scope."
1012+ },
1013+ {
1014+ "description": "Denies the set_title command without any pre-configured scope.",
1015+ "type": "string",
1016+ "const": "core:tray:deny-set-title",
1017+ "markdownDescription": "Denies the set_title command without any pre-configured scope."
1018+ },
1019+ {
1020+ "description": "Denies the set_tooltip command without any pre-configured scope.",
1021+ "type": "string",
1022+ "const": "core:tray:deny-set-tooltip",
1023+ "markdownDescription": "Denies the set_tooltip command without any pre-configured scope."
1024+ },
1025+ {
1026+ "description": "Denies the set_visible command without any pre-configured scope.",
1027+ "type": "string",
1028+ "const": "core:tray:deny-set-visible",
1029+ "markdownDescription": "Denies the set_visible command without any pre-configured scope."
1030+ },
1031+ {
1032+ "description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-webviews`\n- `allow-webview-position`\n- `allow-webview-size`\n- `allow-internal-toggle-devtools`",
1033+ "type": "string",
1034+ "const": "core:webview:default",
1035+ "markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-webviews`\n- `allow-webview-position`\n- `allow-webview-size`\n- `allow-internal-toggle-devtools`"
1036+ },
1037+ {
1038+ "description": "Enables the clear_all_browsing_data command without any pre-configured scope.",
1039+ "type": "string",
1040+ "const": "core:webview:allow-clear-all-browsing-data",
1041+ "markdownDescription": "Enables the clear_all_browsing_data command without any pre-configured scope."
1042+ },
1043+ {
1044+ "description": "Enables the create_webview command without any pre-configured scope.",
1045+ "type": "string",
1046+ "const": "core:webview:allow-create-webview",
1047+ "markdownDescription": "Enables the create_webview command without any pre-configured scope."
1048+ },
1049+ {
1050+ "description": "Enables the create_webview_window command without any pre-configured scope.",
1051+ "type": "string",
1052+ "const": "core:webview:allow-create-webview-window",
1053+ "markdownDescription": "Enables the create_webview_window command without any pre-configured scope."
1054+ },
1055+ {
1056+ "description": "Enables the get_all_webviews command without any pre-configured scope.",
1057+ "type": "string",
1058+ "const": "core:webview:allow-get-all-webviews",
1059+ "markdownDescription": "Enables the get_all_webviews command without any pre-configured scope."
1060+ },
1061+ {
1062+ "description": "Enables the internal_toggle_devtools command without any pre-configured scope.",
1063+ "type": "string",
1064+ "const": "core:webview:allow-internal-toggle-devtools",
1065+ "markdownDescription": "Enables the internal_toggle_devtools command without any pre-configured scope."
1066+ },
1067+ {
1068+ "description": "Enables the print command without any pre-configured scope.",
1069+ "type": "string",
1070+ "const": "core:webview:allow-print",
1071+ "markdownDescription": "Enables the print command without any pre-configured scope."
1072+ },
1073+ {
1074+ "description": "Enables the reparent command without any pre-configured scope.",
1075+ "type": "string",
1076+ "const": "core:webview:allow-reparent",
1077+ "markdownDescription": "Enables the reparent command without any pre-configured scope."
1078+ },
1079+ {
1080+ "description": "Enables the set_webview_auto_resize command without any pre-configured scope.",
1081+ "type": "string",
1082+ "const": "core:webview:allow-set-webview-auto-resize",
1083+ "markdownDescription": "Enables the set_webview_auto_resize command without any pre-configured scope."
1084+ },
1085+ {
1086+ "description": "Enables the set_webview_background_color command without any pre-configured scope.",
1087+ "type": "string",
1088+ "const": "core:webview:allow-set-webview-background-color",
1089+ "markdownDescription": "Enables the set_webview_background_color command without any pre-configured scope."
1090+ },
1091+ {
1092+ "description": "Enables the set_webview_focus command without any pre-configured scope.",
1093+ "type": "string",
1094+ "const": "core:webview:allow-set-webview-focus",
1095+ "markdownDescription": "Enables the set_webview_focus command without any pre-configured scope."
1096+ },
1097+ {
1098+ "description": "Enables the set_webview_position command without any pre-configured scope.",
1099+ "type": "string",
1100+ "const": "core:webview:allow-set-webview-position",
1101+ "markdownDescription": "Enables the set_webview_position command without any pre-configured scope."
1102+ },
1103+ {
1104+ "description": "Enables the set_webview_size command without any pre-configured scope.",
1105+ "type": "string",
1106+ "const": "core:webview:allow-set-webview-size",
1107+ "markdownDescription": "Enables the set_webview_size command without any pre-configured scope."
1108+ },
1109+ {
1110+ "description": "Enables the set_webview_zoom command without any pre-configured scope.",
1111+ "type": "string",
1112+ "const": "core:webview:allow-set-webview-zoom",
1113+ "markdownDescription": "Enables the set_webview_zoom command without any pre-configured scope."
1114+ },
1115+ {
1116+ "description": "Enables the webview_close command without any pre-configured scope.",
1117+ "type": "string",
1118+ "const": "core:webview:allow-webview-close",
1119+ "markdownDescription": "Enables the webview_close command without any pre-configured scope."
1120+ },
1121+ {
1122+ "description": "Enables the webview_hide command without any pre-configured scope.",
1123+ "type": "string",
1124+ "const": "core:webview:allow-webview-hide",
1125+ "markdownDescription": "Enables the webview_hide command without any pre-configured scope."
1126+ },
1127+ {
1128+ "description": "Enables the webview_position command without any pre-configured scope.",
1129+ "type": "string",
1130+ "const": "core:webview:allow-webview-position",
1131+ "markdownDescription": "Enables the webview_position command without any pre-configured scope."
1132+ },
1133+ {
1134+ "description": "Enables the webview_show command without any pre-configured scope.",
1135+ "type": "string",
1136+ "const": "core:webview:allow-webview-show",
1137+ "markdownDescription": "Enables the webview_show command without any pre-configured scope."
1138+ },
1139+ {
1140+ "description": "Enables the webview_size command without any pre-configured scope.",
1141+ "type": "string",
1142+ "const": "core:webview:allow-webview-size",
1143+ "markdownDescription": "Enables the webview_size command without any pre-configured scope."
1144+ },
1145+ {
1146+ "description": "Denies the clear_all_browsing_data command without any pre-configured scope.",
1147+ "type": "string",
1148+ "const": "core:webview:deny-clear-all-browsing-data",
1149+ "markdownDescription": "Denies the clear_all_browsing_data command without any pre-configured scope."
1150+ },
1151+ {
1152+ "description": "Denies the create_webview command without any pre-configured scope.",
1153+ "type": "string",
1154+ "const": "core:webview:deny-create-webview",
1155+ "markdownDescription": "Denies the create_webview command without any pre-configured scope."
1156+ },
1157+ {
1158+ "description": "Denies the create_webview_window command without any pre-configured scope.",
1159+ "type": "string",
1160+ "const": "core:webview:deny-create-webview-window",
1161+ "markdownDescription": "Denies the create_webview_window command without any pre-configured scope."
1162+ },
1163+ {
1164+ "description": "Denies the get_all_webviews command without any pre-configured scope.",
1165+ "type": "string",
1166+ "const": "core:webview:deny-get-all-webviews",
1167+ "markdownDescription": "Denies the get_all_webviews command without any pre-configured scope."
1168+ },
1169+ {
1170+ "description": "Denies the internal_toggle_devtools command without any pre-configured scope.",
1171+ "type": "string",
1172+ "const": "core:webview:deny-internal-toggle-devtools",
1173+ "markdownDescription": "Denies the internal_toggle_devtools command without any pre-configured scope."
1174+ },
1175+ {
1176+ "description": "Denies the print command without any pre-configured scope.",
1177+ "type": "string",
1178+ "const": "core:webview:deny-print",
1179+ "markdownDescription": "Denies the print command without any pre-configured scope."
1180+ },
1181+ {
1182+ "description": "Denies the reparent command without any pre-configured scope.",
1183+ "type": "string",
1184+ "const": "core:webview:deny-reparent",
1185+ "markdownDescription": "Denies the reparent command without any pre-configured scope."
1186+ },
1187+ {
1188+ "description": "Denies the set_webview_auto_resize command without any pre-configured scope.",
1189+ "type": "string",
1190+ "const": "core:webview:deny-set-webview-auto-resize",
1191+ "markdownDescription": "Denies the set_webview_auto_resize command without any pre-configured scope."
1192+ },
1193+ {
1194+ "description": "Denies the set_webview_background_color command without any pre-configured scope.",
1195+ "type": "string",
1196+ "const": "core:webview:deny-set-webview-background-color",
1197+ "markdownDescription": "Denies the set_webview_background_color command without any pre-configured scope."
1198+ },
1199+ {
1200+ "description": "Denies the set_webview_focus command without any pre-configured scope.",
1201+ "type": "string",
1202+ "const": "core:webview:deny-set-webview-focus",
1203+ "markdownDescription": "Denies the set_webview_focus command without any pre-configured scope."
1204+ },
1205+ {
1206+ "description": "Denies the set_webview_position command without any pre-configured scope.",
1207+ "type": "string",
1208+ "const": "core:webview:deny-set-webview-position",
1209+ "markdownDescription": "Denies the set_webview_position command without any pre-configured scope."
1210+ },
1211+ {
1212+ "description": "Denies the set_webview_size command without any pre-configured scope.",
1213+ "type": "string",
1214+ "const": "core:webview:deny-set-webview-size",
1215+ "markdownDescription": "Denies the set_webview_size command without any pre-configured scope."
1216+ },
1217+ {
1218+ "description": "Denies the set_webview_zoom command without any pre-configured scope.",
1219+ "type": "string",
1220+ "const": "core:webview:deny-set-webview-zoom",
1221+ "markdownDescription": "Denies the set_webview_zoom command without any pre-configured scope."
1222+ },
1223+ {
1224+ "description": "Denies the webview_close command without any pre-configured scope.",
1225+ "type": "string",
1226+ "const": "core:webview:deny-webview-close",
1227+ "markdownDescription": "Denies the webview_close command without any pre-configured scope."
1228+ },
1229+ {
1230+ "description": "Denies the webview_hide command without any pre-configured scope.",
1231+ "type": "string",
1232+ "const": "core:webview:deny-webview-hide",
1233+ "markdownDescription": "Denies the webview_hide command without any pre-configured scope."
1234+ },
1235+ {
1236+ "description": "Denies the webview_position command without any pre-configured scope.",
1237+ "type": "string",
1238+ "const": "core:webview:deny-webview-position",
1239+ "markdownDescription": "Denies the webview_position command without any pre-configured scope."
1240+ },
1241+ {
1242+ "description": "Denies the webview_show command without any pre-configured scope.",
1243+ "type": "string",
1244+ "const": "core:webview:deny-webview-show",
1245+ "markdownDescription": "Denies the webview_show command without any pre-configured scope."
1246+ },
1247+ {
1248+ "description": "Denies the webview_size command without any pre-configured scope.",
1249+ "type": "string",
1250+ "const": "core:webview:deny-webview-size",
1251+ "markdownDescription": "Denies the webview_size command without any pre-configured scope."
1252+ },
1253+ {
1254+ "description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-activity-name`\n- `allow-scene-identifier`\n- `allow-internal-toggle-maximize`",
1255+ "type": "string",
1256+ "const": "core:window:default",
1257+ "markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-activity-name`\n- `allow-scene-identifier`\n- `allow-internal-toggle-maximize`"
1258+ },
1259+ {
1260+ "description": "Enables the activity_name command without any pre-configured scope.",
1261+ "type": "string",
1262+ "const": "core:window:allow-activity-name",
1263+ "markdownDescription": "Enables the activity_name command without any pre-configured scope."
1264+ },
1265+ {
1266+ "description": "Enables the available_monitors command without any pre-configured scope.",
1267+ "type": "string",
1268+ "const": "core:window:allow-available-monitors",
1269+ "markdownDescription": "Enables the available_monitors command without any pre-configured scope."
1270+ },
1271+ {
1272+ "description": "Enables the center command without any pre-configured scope.",
1273+ "type": "string",
1274+ "const": "core:window:allow-center",
1275+ "markdownDescription": "Enables the center command without any pre-configured scope."
1276+ },
1277+ {
1278+ "description": "Enables the close command without any pre-configured scope.",
1279+ "type": "string",
1280+ "const": "core:window:allow-close",
1281+ "markdownDescription": "Enables the close command without any pre-configured scope."
1282+ },
1283+ {
1284+ "description": "Enables the create command without any pre-configured scope.",
1285+ "type": "string",
1286+ "const": "core:window:allow-create",
1287+ "markdownDescription": "Enables the create command without any pre-configured scope."
1288+ },
1289+ {
1290+ "description": "Enables the current_monitor command without any pre-configured scope.",
1291+ "type": "string",
1292+ "const": "core:window:allow-current-monitor",
1293+ "markdownDescription": "Enables the current_monitor command without any pre-configured scope."
1294+ },
1295+ {
1296+ "description": "Enables the cursor_position command without any pre-configured scope.",
1297+ "type": "string",
1298+ "const": "core:window:allow-cursor-position",
1299+ "markdownDescription": "Enables the cursor_position command without any pre-configured scope."
1300+ },
1301+ {
1302+ "description": "Enables the destroy command without any pre-configured scope.",
1303+ "type": "string",
1304+ "const": "core:window:allow-destroy",
1305+ "markdownDescription": "Enables the destroy command without any pre-configured scope."
1306+ },
1307+ {
1308+ "description": "Enables the get_all_windows command without any pre-configured scope.",
1309+ "type": "string",
1310+ "const": "core:window:allow-get-all-windows",
1311+ "markdownDescription": "Enables the get_all_windows command without any pre-configured scope."
1312+ },
1313+ {
1314+ "description": "Enables the hide command without any pre-configured scope.",
1315+ "type": "string",
1316+ "const": "core:window:allow-hide",
1317+ "markdownDescription": "Enables the hide command without any pre-configured scope."
1318+ },
1319+ {
1320+ "description": "Enables the inner_position command without any pre-configured scope.",
1321+ "type": "string",
1322+ "const": "core:window:allow-inner-position",
1323+ "markdownDescription": "Enables the inner_position command without any pre-configured scope."
1324+ },
1325+ {
1326+ "description": "Enables the inner_size command without any pre-configured scope.",
1327+ "type": "string",
1328+ "const": "core:window:allow-inner-size",
1329+ "markdownDescription": "Enables the inner_size command without any pre-configured scope."
1330+ },
1331+ {
1332+ "description": "Enables the internal_toggle_maximize command without any pre-configured scope.",
1333+ "type": "string",
1334+ "const": "core:window:allow-internal-toggle-maximize",
1335+ "markdownDescription": "Enables the internal_toggle_maximize command without any pre-configured scope."
1336+ },
1337+ {
1338+ "description": "Enables the is_always_on_top command without any pre-configured scope.",
1339+ "type": "string",
1340+ "const": "core:window:allow-is-always-on-top",
1341+ "markdownDescription": "Enables the is_always_on_top command without any pre-configured scope."
1342+ },
1343+ {
1344+ "description": "Enables the is_closable command without any pre-configured scope.",
1345+ "type": "string",
1346+ "const": "core:window:allow-is-closable",
1347+ "markdownDescription": "Enables the is_closable command without any pre-configured scope."
1348+ },
1349+ {
1350+ "description": "Enables the is_decorated command without any pre-configured scope.",
1351+ "type": "string",
1352+ "const": "core:window:allow-is-decorated",
1353+ "markdownDescription": "Enables the is_decorated command without any pre-configured scope."
1354+ },
1355+ {
1356+ "description": "Enables the is_enabled command without any pre-configured scope.",
1357+ "type": "string",
1358+ "const": "core:window:allow-is-enabled",
1359+ "markdownDescription": "Enables the is_enabled command without any pre-configured scope."
1360+ },
1361+ {
1362+ "description": "Enables the is_focused command without any pre-configured scope.",
1363+ "type": "string",
1364+ "const": "core:window:allow-is-focused",
1365+ "markdownDescription": "Enables the is_focused command without any pre-configured scope."
1366+ },
1367+ {
1368+ "description": "Enables the is_fullscreen command without any pre-configured scope.",
1369+ "type": "string",
1370+ "const": "core:window:allow-is-fullscreen",
1371+ "markdownDescription": "Enables the is_fullscreen command without any pre-configured scope."
1372+ },
1373+ {
1374+ "description": "Enables the is_maximizable command without any pre-configured scope.",
1375+ "type": "string",
1376+ "const": "core:window:allow-is-maximizable",
1377+ "markdownDescription": "Enables the is_maximizable command without any pre-configured scope."
1378+ },
1379+ {
1380+ "description": "Enables the is_maximized command without any pre-configured scope.",
1381+ "type": "string",
1382+ "const": "core:window:allow-is-maximized",
1383+ "markdownDescription": "Enables the is_maximized command without any pre-configured scope."
1384+ },
1385+ {
1386+ "description": "Enables the is_minimizable command without any pre-configured scope.",
1387+ "type": "string",
1388+ "const": "core:window:allow-is-minimizable",
1389+ "markdownDescription": "Enables the is_minimizable command without any pre-configured scope."
1390+ },
1391+ {
1392+ "description": "Enables the is_minimized command without any pre-configured scope.",
1393+ "type": "string",
1394+ "const": "core:window:allow-is-minimized",
1395+ "markdownDescription": "Enables the is_minimized command without any pre-configured scope."
1396+ },
1397+ {
1398+ "description": "Enables the is_resizable command without any pre-configured scope.",
1399+ "type": "string",
1400+ "const": "core:window:allow-is-resizable",
1401+ "markdownDescription": "Enables the is_resizable command without any pre-configured scope."
1402+ },
1403+ {
1404+ "description": "Enables the is_visible command without any pre-configured scope.",
1405+ "type": "string",
1406+ "const": "core:window:allow-is-visible",
1407+ "markdownDescription": "Enables the is_visible command without any pre-configured scope."
1408+ },
1409+ {
1410+ "description": "Enables the maximize command without any pre-configured scope.",
1411+ "type": "string",
1412+ "const": "core:window:allow-maximize",
1413+ "markdownDescription": "Enables the maximize command without any pre-configured scope."
1414+ },
1415+ {
1416+ "description": "Enables the minimize command without any pre-configured scope.",
1417+ "type": "string",
1418+ "const": "core:window:allow-minimize",
1419+ "markdownDescription": "Enables the minimize command without any pre-configured scope."
1420+ },
1421+ {
1422+ "description": "Enables the monitor_from_point command without any pre-configured scope.",
1423+ "type": "string",
1424+ "const": "core:window:allow-monitor-from-point",
1425+ "markdownDescription": "Enables the monitor_from_point command without any pre-configured scope."
1426+ },
1427+ {
1428+ "description": "Enables the outer_position command without any pre-configured scope.",
1429+ "type": "string",
1430+ "const": "core:window:allow-outer-position",
1431+ "markdownDescription": "Enables the outer_position command without any pre-configured scope."
1432+ },
1433+ {
1434+ "description": "Enables the outer_size command without any pre-configured scope.",
1435+ "type": "string",
1436+ "const": "core:window:allow-outer-size",
1437+ "markdownDescription": "Enables the outer_size command without any pre-configured scope."
1438+ },
1439+ {
1440+ "description": "Enables the primary_monitor command without any pre-configured scope.",
1441+ "type": "string",
1442+ "const": "core:window:allow-primary-monitor",
1443+ "markdownDescription": "Enables the primary_monitor command without any pre-configured scope."
1444+ },
1445+ {
1446+ "description": "Enables the request_user_attention command without any pre-configured scope.",
1447+ "type": "string",
1448+ "const": "core:window:allow-request-user-attention",
1449+ "markdownDescription": "Enables the request_user_attention command without any pre-configured scope."
1450+ },
1451+ {
1452+ "description": "Enables the scale_factor command without any pre-configured scope.",
1453+ "type": "string",
1454+ "const": "core:window:allow-scale-factor",
1455+ "markdownDescription": "Enables the scale_factor command without any pre-configured scope."
1456+ },
1457+ {
1458+ "description": "Enables the scene_identifier command without any pre-configured scope.",
1459+ "type": "string",
1460+ "const": "core:window:allow-scene-identifier",
1461+ "markdownDescription": "Enables the scene_identifier command without any pre-configured scope."
1462+ },
1463+ {
1464+ "description": "Enables the set_always_on_bottom command without any pre-configured scope.",
1465+ "type": "string",
1466+ "const": "core:window:allow-set-always-on-bottom",
1467+ "markdownDescription": "Enables the set_always_on_bottom command without any pre-configured scope."
1468+ },
1469+ {
1470+ "description": "Enables the set_always_on_top command without any pre-configured scope.",
1471+ "type": "string",
1472+ "const": "core:window:allow-set-always-on-top",
1473+ "markdownDescription": "Enables the set_always_on_top command without any pre-configured scope."
1474+ },
1475+ {
1476+ "description": "Enables the set_background_color command without any pre-configured scope.",
1477+ "type": "string",
1478+ "const": "core:window:allow-set-background-color",
1479+ "markdownDescription": "Enables the set_background_color command without any pre-configured scope."
1480+ },
1481+ {
1482+ "description": "Enables the set_badge_count command without any pre-configured scope.",
1483+ "type": "string",
1484+ "const": "core:window:allow-set-badge-count",
1485+ "markdownDescription": "Enables the set_badge_count command without any pre-configured scope."
1486+ },
1487+ {
1488+ "description": "Enables the set_badge_label command without any pre-configured scope.",
1489+ "type": "string",
1490+ "const": "core:window:allow-set-badge-label",
1491+ "markdownDescription": "Enables the set_badge_label command without any pre-configured scope."
1492+ },
1493+ {
1494+ "description": "Enables the set_closable command without any pre-configured scope.",
1495+ "type": "string",
1496+ "const": "core:window:allow-set-closable",
1497+ "markdownDescription": "Enables the set_closable command without any pre-configured scope."
1498+ },
1499+ {
1500+ "description": "Enables the set_content_protected command without any pre-configured scope.",
1501+ "type": "string",
1502+ "const": "core:window:allow-set-content-protected",
1503+ "markdownDescription": "Enables the set_content_protected command without any pre-configured scope."
1504+ },
1505+ {
1506+ "description": "Enables the set_cursor_grab command without any pre-configured scope.",
1507+ "type": "string",
1508+ "const": "core:window:allow-set-cursor-grab",
1509+ "markdownDescription": "Enables the set_cursor_grab command without any pre-configured scope."
1510+ },
1511+ {
1512+ "description": "Enables the set_cursor_icon command without any pre-configured scope.",
1513+ "type": "string",
1514+ "const": "core:window:allow-set-cursor-icon",
1515+ "markdownDescription": "Enables the set_cursor_icon command without any pre-configured scope."
1516+ },
1517+ {
1518+ "description": "Enables the set_cursor_position command without any pre-configured scope.",
1519+ "type": "string",
1520+ "const": "core:window:allow-set-cursor-position",
1521+ "markdownDescription": "Enables the set_cursor_position command without any pre-configured scope."
1522+ },
1523+ {
1524+ "description": "Enables the set_cursor_visible command without any pre-configured scope.",
1525+ "type": "string",
1526+ "const": "core:window:allow-set-cursor-visible",
1527+ "markdownDescription": "Enables the set_cursor_visible command without any pre-configured scope."
1528+ },
1529+ {
1530+ "description": "Enables the set_decorations command without any pre-configured scope.",
1531+ "type": "string",
1532+ "const": "core:window:allow-set-decorations",
1533+ "markdownDescription": "Enables the set_decorations command without any pre-configured scope."
1534+ },
1535+ {
1536+ "description": "Enables the set_effects command without any pre-configured scope.",
1537+ "type": "string",
1538+ "const": "core:window:allow-set-effects",
1539+ "markdownDescription": "Enables the set_effects command without any pre-configured scope."
1540+ },
1541+ {
1542+ "description": "Enables the set_enabled command without any pre-configured scope.",
1543+ "type": "string",
1544+ "const": "core:window:allow-set-enabled",
1545+ "markdownDescription": "Enables the set_enabled command without any pre-configured scope."
1546+ },
1547+ {
1548+ "description": "Enables the set_focus command without any pre-configured scope.",
1549+ "type": "string",
1550+ "const": "core:window:allow-set-focus",
1551+ "markdownDescription": "Enables the set_focus command without any pre-configured scope."
1552+ },
1553+ {
1554+ "description": "Enables the set_focusable command without any pre-configured scope.",
1555+ "type": "string",
1556+ "const": "core:window:allow-set-focusable",
1557+ "markdownDescription": "Enables the set_focusable command without any pre-configured scope."
1558+ },
1559+ {
1560+ "description": "Enables the set_fullscreen command without any pre-configured scope.",
1561+ "type": "string",
1562+ "const": "core:window:allow-set-fullscreen",
1563+ "markdownDescription": "Enables the set_fullscreen command without any pre-configured scope."
1564+ },
1565+ {
1566+ "description": "Enables the set_icon command without any pre-configured scope.",
1567+ "type": "string",
1568+ "const": "core:window:allow-set-icon",
1569+ "markdownDescription": "Enables the set_icon command without any pre-configured scope."
1570+ },
1571+ {
1572+ "description": "Enables the set_ignore_cursor_events command without any pre-configured scope.",
1573+ "type": "string",
1574+ "const": "core:window:allow-set-ignore-cursor-events",
1575+ "markdownDescription": "Enables the set_ignore_cursor_events command without any pre-configured scope."
1576+ },
1577+ {
1578+ "description": "Enables the set_max_size command without any pre-configured scope.",
1579+ "type": "string",
1580+ "const": "core:window:allow-set-max-size",
1581+ "markdownDescription": "Enables the set_max_size command without any pre-configured scope."
1582+ },
1583+ {
1584+ "description": "Enables the set_maximizable command without any pre-configured scope.",
1585+ "type": "string",
1586+ "const": "core:window:allow-set-maximizable",
1587+ "markdownDescription": "Enables the set_maximizable command without any pre-configured scope."
1588+ },
1589+ {
1590+ "description": "Enables the set_min_size command without any pre-configured scope.",
1591+ "type": "string",
1592+ "const": "core:window:allow-set-min-size",
1593+ "markdownDescription": "Enables the set_min_size command without any pre-configured scope."
1594+ },
1595+ {
1596+ "description": "Enables the set_minimizable command without any pre-configured scope.",
1597+ "type": "string",
1598+ "const": "core:window:allow-set-minimizable",
1599+ "markdownDescription": "Enables the set_minimizable command without any pre-configured scope."
1600+ },
1601+ {
1602+ "description": "Enables the set_overlay_icon command without any pre-configured scope.",
1603+ "type": "string",
1604+ "const": "core:window:allow-set-overlay-icon",
1605+ "markdownDescription": "Enables the set_overlay_icon command without any pre-configured scope."
1606+ },
1607+ {
1608+ "description": "Enables the set_position command without any pre-configured scope.",
1609+ "type": "string",
1610+ "const": "core:window:allow-set-position",
1611+ "markdownDescription": "Enables the set_position command without any pre-configured scope."
1612+ },
1613+ {
1614+ "description": "Enables the set_progress_bar command without any pre-configured scope.",
1615+ "type": "string",
1616+ "const": "core:window:allow-set-progress-bar",
1617+ "markdownDescription": "Enables the set_progress_bar command without any pre-configured scope."
1618+ },
1619+ {
1620+ "description": "Enables the set_resizable command without any pre-configured scope.",
1621+ "type": "string",
1622+ "const": "core:window:allow-set-resizable",
1623+ "markdownDescription": "Enables the set_resizable command without any pre-configured scope."
1624+ },
1625+ {
1626+ "description": "Enables the set_shadow command without any pre-configured scope.",
1627+ "type": "string",
1628+ "const": "core:window:allow-set-shadow",
1629+ "markdownDescription": "Enables the set_shadow command without any pre-configured scope."
1630+ },
1631+ {
1632+ "description": "Enables the set_simple_fullscreen command without any pre-configured scope.",
1633+ "type": "string",
1634+ "const": "core:window:allow-set-simple-fullscreen",
1635+ "markdownDescription": "Enables the set_simple_fullscreen command without any pre-configured scope."
1636+ },
1637+ {
1638+ "description": "Enables the set_size command without any pre-configured scope.",
1639+ "type": "string",
1640+ "const": "core:window:allow-set-size",
1641+ "markdownDescription": "Enables the set_size command without any pre-configured scope."
1642+ },
1643+ {
1644+ "description": "Enables the set_size_constraints command without any pre-configured scope.",
1645+ "type": "string",
1646+ "const": "core:window:allow-set-size-constraints",
1647+ "markdownDescription": "Enables the set_size_constraints command without any pre-configured scope."
1648+ },
1649+ {
1650+ "description": "Enables the set_skip_taskbar command without any pre-configured scope.",
1651+ "type": "string",
1652+ "const": "core:window:allow-set-skip-taskbar",
1653+ "markdownDescription": "Enables the set_skip_taskbar command without any pre-configured scope."
1654+ },
1655+ {
1656+ "description": "Enables the set_theme command without any pre-configured scope.",
1657+ "type": "string",
1658+ "const": "core:window:allow-set-theme",
1659+ "markdownDescription": "Enables the set_theme command without any pre-configured scope."
1660+ },
1661+ {
1662+ "description": "Enables the set_title command without any pre-configured scope.",
1663+ "type": "string",
1664+ "const": "core:window:allow-set-title",
1665+ "markdownDescription": "Enables the set_title command without any pre-configured scope."
1666+ },
1667+ {
1668+ "description": "Enables the set_title_bar_style command without any pre-configured scope.",
1669+ "type": "string",
1670+ "const": "core:window:allow-set-title-bar-style",
1671+ "markdownDescription": "Enables the set_title_bar_style command without any pre-configured scope."
1672+ },
1673+ {
1674+ "description": "Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1675+ "type": "string",
1676+ "const": "core:window:allow-set-visible-on-all-workspaces",
1677+ "markdownDescription": "Enables the set_visible_on_all_workspaces command without any pre-configured scope."
1678+ },
1679+ {
1680+ "description": "Enables the show command without any pre-configured scope.",
1681+ "type": "string",
1682+ "const": "core:window:allow-show",
1683+ "markdownDescription": "Enables the show command without any pre-configured scope."
1684+ },
1685+ {
1686+ "description": "Enables the start_dragging command without any pre-configured scope.",
1687+ "type": "string",
1688+ "const": "core:window:allow-start-dragging",
1689+ "markdownDescription": "Enables the start_dragging command without any pre-configured scope."
1690+ },
1691+ {
1692+ "description": "Enables the start_resize_dragging command without any pre-configured scope.",
1693+ "type": "string",
1694+ "const": "core:window:allow-start-resize-dragging",
1695+ "markdownDescription": "Enables the start_resize_dragging command without any pre-configured scope."
1696+ },
1697+ {
1698+ "description": "Enables the theme command without any pre-configured scope.",
1699+ "type": "string",
1700+ "const": "core:window:allow-theme",
1701+ "markdownDescription": "Enables the theme command without any pre-configured scope."
1702+ },
1703+ {
1704+ "description": "Enables the title command without any pre-configured scope.",
1705+ "type": "string",
1706+ "const": "core:window:allow-title",
1707+ "markdownDescription": "Enables the title command without any pre-configured scope."
1708+ },
1709+ {
1710+ "description": "Enables the toggle_maximize command without any pre-configured scope.",
1711+ "type": "string",
1712+ "const": "core:window:allow-toggle-maximize",
1713+ "markdownDescription": "Enables the toggle_maximize command without any pre-configured scope."
1714+ },
1715+ {
1716+ "description": "Enables the unmaximize command without any pre-configured scope.",
1717+ "type": "string",
1718+ "const": "core:window:allow-unmaximize",
1719+ "markdownDescription": "Enables the unmaximize command without any pre-configured scope."
1720+ },
1721+ {
1722+ "description": "Enables the unminimize command without any pre-configured scope.",
1723+ "type": "string",
1724+ "const": "core:window:allow-unminimize",
1725+ "markdownDescription": "Enables the unminimize command without any pre-configured scope."
1726+ },
1727+ {
1728+ "description": "Denies the activity_name command without any pre-configured scope.",
1729+ "type": "string",
1730+ "const": "core:window:deny-activity-name",
1731+ "markdownDescription": "Denies the activity_name command without any pre-configured scope."
1732+ },
1733+ {
1734+ "description": "Denies the available_monitors command without any pre-configured scope.",
1735+ "type": "string",
1736+ "const": "core:window:deny-available-monitors",
1737+ "markdownDescription": "Denies the available_monitors command without any pre-configured scope."
1738+ },
1739+ {
1740+ "description": "Denies the center command without any pre-configured scope.",
1741+ "type": "string",
1742+ "const": "core:window:deny-center",
1743+ "markdownDescription": "Denies the center command without any pre-configured scope."
1744+ },
1745+ {
1746+ "description": "Denies the close command without any pre-configured scope.",
1747+ "type": "string",
1748+ "const": "core:window:deny-close",
1749+ "markdownDescription": "Denies the close command without any pre-configured scope."
1750+ },
1751+ {
1752+ "description": "Denies the create command without any pre-configured scope.",
1753+ "type": "string",
1754+ "const": "core:window:deny-create",
1755+ "markdownDescription": "Denies the create command without any pre-configured scope."
1756+ },
1757+ {
1758+ "description": "Denies the current_monitor command without any pre-configured scope.",
1759+ "type": "string",
1760+ "const": "core:window:deny-current-monitor",
1761+ "markdownDescription": "Denies the current_monitor command without any pre-configured scope."
1762+ },
1763+ {
1764+ "description": "Denies the cursor_position command without any pre-configured scope.",
1765+ "type": "string",
1766+ "const": "core:window:deny-cursor-position",
1767+ "markdownDescription": "Denies the cursor_position command without any pre-configured scope."
1768+ },
1769+ {
1770+ "description": "Denies the destroy command without any pre-configured scope.",
1771+ "type": "string",
1772+ "const": "core:window:deny-destroy",
1773+ "markdownDescription": "Denies the destroy command without any pre-configured scope."
1774+ },
1775+ {
1776+ "description": "Denies the get_all_windows command without any pre-configured scope.",
1777+ "type": "string",
1778+ "const": "core:window:deny-get-all-windows",
1779+ "markdownDescription": "Denies the get_all_windows command without any pre-configured scope."
1780+ },
1781+ {
1782+ "description": "Denies the hide command without any pre-configured scope.",
1783+ "type": "string",
1784+ "const": "core:window:deny-hide",
1785+ "markdownDescription": "Denies the hide command without any pre-configured scope."
1786+ },
1787+ {
1788+ "description": "Denies the inner_position command without any pre-configured scope.",
1789+ "type": "string",
1790+ "const": "core:window:deny-inner-position",
1791+ "markdownDescription": "Denies the inner_position command without any pre-configured scope."
1792+ },
1793+ {
1794+ "description": "Denies the inner_size command without any pre-configured scope.",
1795+ "type": "string",
1796+ "const": "core:window:deny-inner-size",
1797+ "markdownDescription": "Denies the inner_size command without any pre-configured scope."
1798+ },
1799+ {
1800+ "description": "Denies the internal_toggle_maximize command without any pre-configured scope.",
1801+ "type": "string",
1802+ "const": "core:window:deny-internal-toggle-maximize",
1803+ "markdownDescription": "Denies the internal_toggle_maximize command without any pre-configured scope."
1804+ },
1805+ {
1806+ "description": "Denies the is_always_on_top command without any pre-configured scope.",
1807+ "type": "string",
1808+ "const": "core:window:deny-is-always-on-top",
1809+ "markdownDescription": "Denies the is_always_on_top command without any pre-configured scope."
1810+ },
1811+ {
1812+ "description": "Denies the is_closable command without any pre-configured scope.",
1813+ "type": "string",
1814+ "const": "core:window:deny-is-closable",
1815+ "markdownDescription": "Denies the is_closable command without any pre-configured scope."
1816+ },
1817+ {
1818+ "description": "Denies the is_decorated command without any pre-configured scope.",
1819+ "type": "string",
1820+ "const": "core:window:deny-is-decorated",
1821+ "markdownDescription": "Denies the is_decorated command without any pre-configured scope."
1822+ },
1823+ {
1824+ "description": "Denies the is_enabled command without any pre-configured scope.",
1825+ "type": "string",
1826+ "const": "core:window:deny-is-enabled",
1827+ "markdownDescription": "Denies the is_enabled command without any pre-configured scope."
1828+ },
1829+ {
1830+ "description": "Denies the is_focused command without any pre-configured scope.",
1831+ "type": "string",
1832+ "const": "core:window:deny-is-focused",
1833+ "markdownDescription": "Denies the is_focused command without any pre-configured scope."
1834+ },
1835+ {
1836+ "description": "Denies the is_fullscreen command without any pre-configured scope.",
1837+ "type": "string",
1838+ "const": "core:window:deny-is-fullscreen",
1839+ "markdownDescription": "Denies the is_fullscreen command without any pre-configured scope."
1840+ },
1841+ {
1842+ "description": "Denies the is_maximizable command without any pre-configured scope.",
1843+ "type": "string",
1844+ "const": "core:window:deny-is-maximizable",
1845+ "markdownDescription": "Denies the is_maximizable command without any pre-configured scope."
1846+ },
1847+ {
1848+ "description": "Denies the is_maximized command without any pre-configured scope.",
1849+ "type": "string",
1850+ "const": "core:window:deny-is-maximized",
1851+ "markdownDescription": "Denies the is_maximized command without any pre-configured scope."
1852+ },
1853+ {
1854+ "description": "Denies the is_minimizable command without any pre-configured scope.",
1855+ "type": "string",
1856+ "const": "core:window:deny-is-minimizable",
1857+ "markdownDescription": "Denies the is_minimizable command without any pre-configured scope."
1858+ },
1859+ {
1860+ "description": "Denies the is_minimized command without any pre-configured scope.",
1861+ "type": "string",
1862+ "const": "core:window:deny-is-minimized",
1863+ "markdownDescription": "Denies the is_minimized command without any pre-configured scope."
1864+ },
1865+ {
1866+ "description": "Denies the is_resizable command without any pre-configured scope.",
1867+ "type": "string",
1868+ "const": "core:window:deny-is-resizable",
1869+ "markdownDescription": "Denies the is_resizable command without any pre-configured scope."
1870+ },
1871+ {
1872+ "description": "Denies the is_visible command without any pre-configured scope.",
1873+ "type": "string",
1874+ "const": "core:window:deny-is-visible",
1875+ "markdownDescription": "Denies the is_visible command without any pre-configured scope."
1876+ },
1877+ {
1878+ "description": "Denies the maximize command without any pre-configured scope.",
1879+ "type": "string",
1880+ "const": "core:window:deny-maximize",
1881+ "markdownDescription": "Denies the maximize command without any pre-configured scope."
1882+ },
1883+ {
1884+ "description": "Denies the minimize command without any pre-configured scope.",
1885+ "type": "string",
1886+ "const": "core:window:deny-minimize",
1887+ "markdownDescription": "Denies the minimize command without any pre-configured scope."
1888+ },
1889+ {
1890+ "description": "Denies the monitor_from_point command without any pre-configured scope.",
1891+ "type": "string",
1892+ "const": "core:window:deny-monitor-from-point",
1893+ "markdownDescription": "Denies the monitor_from_point command without any pre-configured scope."
1894+ },
1895+ {
1896+ "description": "Denies the outer_position command without any pre-configured scope.",
1897+ "type": "string",
1898+ "const": "core:window:deny-outer-position",
1899+ "markdownDescription": "Denies the outer_position command without any pre-configured scope."
1900+ },
1901+ {
1902+ "description": "Denies the outer_size command without any pre-configured scope.",
1903+ "type": "string",
1904+ "const": "core:window:deny-outer-size",
1905+ "markdownDescription": "Denies the outer_size command without any pre-configured scope."
1906+ },
1907+ {
1908+ "description": "Denies the primary_monitor command without any pre-configured scope.",
1909+ "type": "string",
1910+ "const": "core:window:deny-primary-monitor",
1911+ "markdownDescription": "Denies the primary_monitor command without any pre-configured scope."
1912+ },
1913+ {
1914+ "description": "Denies the request_user_attention command without any pre-configured scope.",
1915+ "type": "string",
1916+ "const": "core:window:deny-request-user-attention",
1917+ "markdownDescription": "Denies the request_user_attention command without any pre-configured scope."
1918+ },
1919+ {
1920+ "description": "Denies the scale_factor command without any pre-configured scope.",
1921+ "type": "string",
1922+ "const": "core:window:deny-scale-factor",
1923+ "markdownDescription": "Denies the scale_factor command without any pre-configured scope."
1924+ },
1925+ {
1926+ "description": "Denies the scene_identifier command without any pre-configured scope.",
1927+ "type": "string",
1928+ "const": "core:window:deny-scene-identifier",
1929+ "markdownDescription": "Denies the scene_identifier command without any pre-configured scope."
1930+ },
1931+ {
1932+ "description": "Denies the set_always_on_bottom command without any pre-configured scope.",
1933+ "type": "string",
1934+ "const": "core:window:deny-set-always-on-bottom",
1935+ "markdownDescription": "Denies the set_always_on_bottom command without any pre-configured scope."
1936+ },
1937+ {
1938+ "description": "Denies the set_always_on_top command without any pre-configured scope.",
1939+ "type": "string",
1940+ "const": "core:window:deny-set-always-on-top",
1941+ "markdownDescription": "Denies the set_always_on_top command without any pre-configured scope."
1942+ },
1943+ {
1944+ "description": "Denies the set_background_color command without any pre-configured scope.",
1945+ "type": "string",
1946+ "const": "core:window:deny-set-background-color",
1947+ "markdownDescription": "Denies the set_background_color command without any pre-configured scope."
1948+ },
1949+ {
1950+ "description": "Denies the set_badge_count command without any pre-configured scope.",
1951+ "type": "string",
1952+ "const": "core:window:deny-set-badge-count",
1953+ "markdownDescription": "Denies the set_badge_count command without any pre-configured scope."
1954+ },
1955+ {
1956+ "description": "Denies the set_badge_label command without any pre-configured scope.",
1957+ "type": "string",
1958+ "const": "core:window:deny-set-badge-label",
1959+ "markdownDescription": "Denies the set_badge_label command without any pre-configured scope."
1960+ },
1961+ {
1962+ "description": "Denies the set_closable command without any pre-configured scope.",
1963+ "type": "string",
1964+ "const": "core:window:deny-set-closable",
1965+ "markdownDescription": "Denies the set_closable command without any pre-configured scope."
1966+ },
1967+ {
1968+ "description": "Denies the set_content_protected command without any pre-configured scope.",
1969+ "type": "string",
1970+ "const": "core:window:deny-set-content-protected",
1971+ "markdownDescription": "Denies the set_content_protected command without any pre-configured scope."
1972+ },
1973+ {
1974+ "description": "Denies the set_cursor_grab command without any pre-configured scope.",
1975+ "type": "string",
1976+ "const": "core:window:deny-set-cursor-grab",
1977+ "markdownDescription": "Denies the set_cursor_grab command without any pre-configured scope."
1978+ },
1979+ {
1980+ "description": "Denies the set_cursor_icon command without any pre-configured scope.",
1981+ "type": "string",
1982+ "const": "core:window:deny-set-cursor-icon",
1983+ "markdownDescription": "Denies the set_cursor_icon command without any pre-configured scope."
1984+ },
1985+ {
1986+ "description": "Denies the set_cursor_position command without any pre-configured scope.",
1987+ "type": "string",
1988+ "const": "core:window:deny-set-cursor-position",
1989+ "markdownDescription": "Denies the set_cursor_position command without any pre-configured scope."
1990+ },
1991+ {
1992+ "description": "Denies the set_cursor_visible command without any pre-configured scope.",
1993+ "type": "string",
1994+ "const": "core:window:deny-set-cursor-visible",
1995+ "markdownDescription": "Denies the set_cursor_visible command without any pre-configured scope."
1996+ },
1997+ {
1998+ "description": "Denies the set_decorations command without any pre-configured scope.",
1999+ "type": "string",
2000+ "const": "core:window:deny-set-decorations",
src-tauri/gen/schemas/windows-schema.jsonadded+2394 -0

Diff too large; view file

@@ -0,0 +1,2394 @@
1+{
2+ "$schema": "http://json-schema.org/draft-07/schema#",
3+ "title": "CapabilityFile",
4+ "description": "Capability formats accepted in a capability file.",
5+ "anyOf": [
6+ {
7+ "description": "A single capability.",
8+ "allOf": [
9+ {
10+ "$ref": "#/definitions/Capability"
11+ }
12+ ]
13+ },
14+ {
15+ "description": "A list of capabilities.",
16+ "type": "array",
17+ "items": {
18+ "$ref": "#/definitions/Capability"
19+ }
20+ },
21+ {
22+ "description": "A list of capabilities.",
23+ "type": "object",
24+ "required": [
25+ "capabilities"
26+ ],
27+ "properties": {
28+ "capabilities": {
29+ "description": "The list of capabilities.",
30+ "type": "array",
31+ "items": {
32+ "$ref": "#/definitions/Capability"
33+ }
34+ }
35+ }
36+ }
37+ ],
38+ "definitions": {
39+ "Capability": {
40+ "description": "A grouping and boundary mechanism developers can use to isolate access to the IPC layer.\n\nIt controls application windows' and webviews' fine grained access to the Tauri core, application, or plugin commands. If a webview or its 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 programmatic access to files selected by the user.\", \"windows\": [ \"main\" ], \"permissions\": [ \"core:default\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] }, ], \"platforms\": [\"macOS\",\"windows\"] } ```",
41+ "type": "object",
42+ "required": [
43+ "identifier",
44+ "permissions"
45+ ],
46+ "properties": {
47+ "identifier": {
48+ "description": "Identifier of the capability.\n\n## Example\n\n`main-user-files-write`",
49+ "type": "string"
50+ },
51+ "description": {
52+ "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 programmatic access to files selected by the user.",
53+ "default": "",
54+ "type": "string"
55+ },
56+ "remote": {
57+ "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\"] } ```",
58+ "anyOf": [
59+ {
60+ "$ref": "#/definitions/CapabilityRemote"
61+ },
62+ {
63+ "type": "null"
64+ }
65+ ]
66+ },
67+ "local": {
68+ "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
69+ "default": true,
70+ "type": "boolean"
71+ },
72+ "windows": {
73+ "description": "List of windows that are affected by this capability. Can be a glob pattern.\n\nIf a window label matches any of the patterns in this list, the capability will be enabled on all the webviews of that window, regardless of the value of [`Self::webviews`].\n\nOn multiwebview windows, prefer specifying [`Self::webviews`] and omitting [`Self::windows`] for a fine grained access control.\n\n## Example\n\n`[\"main\"]`",
74+ "type": "array",
75+ "items": {
76+ "type": "string"
77+ }
78+ },
79+ "webviews": {
80+ "description": "List of webviews that are affected by this capability. Can be a glob pattern.\n\nThe capability will be enabled on all the webviews whose label matches any of the patterns in this list, regardless of whether the webview's window label matches a pattern in [`Self::windows`].\n\n## Example\n\n`[\"sub-webview-one\", \"sub-webview-two\"]`",
81+ "type": "array",
82+ "items": {
83+ "type": "string"
84+ }
85+ },
86+ "permissions": {
87+ "description": "List of permissions attached to this capability.\n\nMust include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`. For commands directly implemented in the application itself only `${permission-name}` is required.\n\n## Example\n\n```json [ \"core:default\", \"shell:allow-open\", \"dialog:open\", { \"identifier\": \"fs:allow-write-text-file\", \"allow\": [{ \"path\": \"$HOME/test.txt\" }] } ] ```",
88+ "type": "array",
89+ "items": {
90+ "$ref": "#/definitions/PermissionEntry"
91+ },
92+ "uniqueItems": true
93+ },
94+ "platforms": {
95+ "description": "Limit which target platforms this capability applies to.\n\nBy default all platforms are targeted.\n\n## Example\n\n`[\"macOS\",\"windows\"]`",
96+ "type": [
97+ "array",
98+ "null"
99+ ],
100+ "items": {
101+ "$ref": "#/definitions/Target"
102+ }
103+ }
104+ }
105+ },
106+ "CapabilityRemote": {
107+ "description": "Configuration for remote URLs that are associated with the capability.",
108+ "type": "object",
109+ "required": [
110+ "urls"
111+ ],
112+ "properties": {
113+ "urls": {
114+ "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",
115+ "type": "array",
116+ "items": {
117+ "type": "string"
118+ }
119+ }
120+ }
121+ },
122+ "PermissionEntry": {
123+ "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.",
124+ "anyOf": [
125+ {
126+ "description": "Reference a permission or permission set by identifier.",
127+ "allOf": [
128+ {
129+ "$ref": "#/definitions/Identifier"
130+ }
131+ ]
132+ },
133+ {
134+ "description": "Reference a permission or permission set by identifier and extends its scope.",
135+ "type": "object",
136+ "allOf": [
137+ {
138+ "properties": {
139+ "identifier": {
140+ "description": "Identifier of the permission or permission set.",
141+ "allOf": [
142+ {
143+ "$ref": "#/definitions/Identifier"
144+ }
145+ ]
146+ },
147+ "allow": {
148+ "description": "Data that defines what is allowed by the scope.",
149+ "type": [
150+ "array",
151+ "null"
152+ ],
153+ "items": {
154+ "$ref": "#/definitions/Value"
155+ }
156+ },
157+ "deny": {
158+ "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
159+ "type": [
160+ "array",
161+ "null"
162+ ],
163+ "items": {
164+ "$ref": "#/definitions/Value"
165+ }
166+ }
167+ }
168+ }
169+ ],
170+ "required": [
171+ "identifier"
172+ ]
173+ }
174+ ]
175+ },
176+ "Identifier": {
177+ "description": "Permission identifier",
178+ "oneOf": [
179+ {
180+ "description": "Default core plugins set.\n#### This default permission set includes:\n\n- `core:path:default`\n- `core:event:default`\n- `core:window:default`\n- `core:webview:default`\n- `core:app:default`\n- `core:image:default`\n- `core:resources:default`\n- `core:menu:default`\n- `core:tray:default`",
181+ "type": "string",
182+ "const": "core:default",
183+ "markdownDescription": "Default core plugins set.\n#### This default permission set includes:\n\n- `core:path:default`\n- `core:event:default`\n- `core:window:default`\n- `core:webview:default`\n- `core:app:default`\n- `core:image:default`\n- `core:resources:default`\n- `core:menu:default`\n- `core:tray:default`"
184+ },
185+ {
186+ "description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-supports-multiple-windows`",
187+ "type": "string",
188+ "const": "core:app:default",
189+ "markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-supports-multiple-windows`"
190+ },
191+ {
192+ "description": "Enables the app_hide command without any pre-configured scope.",
193+ "type": "string",
194+ "const": "core:app:allow-app-hide",
195+ "markdownDescription": "Enables the app_hide command without any pre-configured scope."
196+ },
197+ {
198+ "description": "Enables the app_show command without any pre-configured scope.",
199+ "type": "string",
200+ "const": "core:app:allow-app-show",
201+ "markdownDescription": "Enables the app_show command without any pre-configured scope."
202+ },
203+ {
204+ "description": "Enables the bundle_type command without any pre-configured scope.",
205+ "type": "string",
206+ "const": "core:app:allow-bundle-type",
207+ "markdownDescription": "Enables the bundle_type command without any pre-configured scope."
208+ },
209+ {
210+ "description": "Enables the default_window_icon command without any pre-configured scope.",
211+ "type": "string",
212+ "const": "core:app:allow-default-window-icon",
213+ "markdownDescription": "Enables the default_window_icon command without any pre-configured scope."
214+ },
215+ {
216+ "description": "Enables the fetch_data_store_identifiers command without any pre-configured scope.",
217+ "type": "string",
218+ "const": "core:app:allow-fetch-data-store-identifiers",
219+ "markdownDescription": "Enables the fetch_data_store_identifiers command without any pre-configured scope."
220+ },
221+ {
222+ "description": "Enables the identifier command without any pre-configured scope.",
223+ "type": "string",
224+ "const": "core:app:allow-identifier",
225+ "markdownDescription": "Enables the identifier command without any pre-configured scope."
226+ },
227+ {
228+ "description": "Enables the name command without any pre-configured scope.",
229+ "type": "string",
230+ "const": "core:app:allow-name",
231+ "markdownDescription": "Enables the name command without any pre-configured scope."
232+ },
233+ {
234+ "description": "Enables the register_listener command without any pre-configured scope.",
235+ "type": "string",
236+ "const": "core:app:allow-register-listener",
237+ "markdownDescription": "Enables the register_listener command without any pre-configured scope."
238+ },
239+ {
240+ "description": "Enables the remove_data_store command without any pre-configured scope.",
241+ "type": "string",
242+ "const": "core:app:allow-remove-data-store",
243+ "markdownDescription": "Enables the remove_data_store command without any pre-configured scope."
244+ },
245+ {
246+ "description": "Enables the remove_listener command without any pre-configured scope.",
247+ "type": "string",
248+ "const": "core:app:allow-remove-listener",
249+ "markdownDescription": "Enables the remove_listener command without any pre-configured scope."
250+ },
251+ {
252+ "description": "Enables the set_app_theme command without any pre-configured scope.",
253+ "type": "string",
254+ "const": "core:app:allow-set-app-theme",
255+ "markdownDescription": "Enables the set_app_theme command without any pre-configured scope."
256+ },
257+ {
258+ "description": "Enables the set_dock_visibility command without any pre-configured scope.",
259+ "type": "string",
260+ "const": "core:app:allow-set-dock-visibility",
261+ "markdownDescription": "Enables the set_dock_visibility command without any pre-configured scope."
262+ },
263+ {
264+ "description": "Enables the supports_multiple_windows command without any pre-configured scope.",
265+ "type": "string",
266+ "const": "core:app:allow-supports-multiple-windows",
267+ "markdownDescription": "Enables the supports_multiple_windows command without any pre-configured scope."
268+ },
269+ {
270+ "description": "Enables the tauri_version command without any pre-configured scope.",
271+ "type": "string",
272+ "const": "core:app:allow-tauri-version",
273+ "markdownDescription": "Enables the tauri_version command without any pre-configured scope."
274+ },
275+ {
276+ "description": "Enables the version command without any pre-configured scope.",
277+ "type": "string",
278+ "const": "core:app:allow-version",
279+ "markdownDescription": "Enables the version command without any pre-configured scope."
280+ },
281+ {
282+ "description": "Denies the app_hide command without any pre-configured scope.",
283+ "type": "string",
284+ "const": "core:app:deny-app-hide",
285+ "markdownDescription": "Denies the app_hide command without any pre-configured scope."
286+ },
287+ {
288+ "description": "Denies the app_show command without any pre-configured scope.",
289+ "type": "string",
290+ "const": "core:app:deny-app-show",
291+ "markdownDescription": "Denies the app_show command without any pre-configured scope."
292+ },
293+ {
294+ "description": "Denies the bundle_type command without any pre-configured scope.",
295+ "type": "string",
296+ "const": "core:app:deny-bundle-type",
297+ "markdownDescription": "Denies the bundle_type command without any pre-configured scope."
298+ },
299+ {
300+ "description": "Denies the default_window_icon command without any pre-configured scope.",
301+ "type": "string",
302+ "const": "core:app:deny-default-window-icon",
303+ "markdownDescription": "Denies the default_window_icon command without any pre-configured scope."
304+ },
305+ {
306+ "description": "Denies the fetch_data_store_identifiers command without any pre-configured scope.",
307+ "type": "string",
308+ "const": "core:app:deny-fetch-data-store-identifiers",
309+ "markdownDescription": "Denies the fetch_data_store_identifiers command without any pre-configured scope."
310+ },
311+ {
312+ "description": "Denies the identifier command without any pre-configured scope.",
313+ "type": "string",
314+ "const": "core:app:deny-identifier",
315+ "markdownDescription": "Denies the identifier command without any pre-configured scope."
316+ },
317+ {
318+ "description": "Denies the name command without any pre-configured scope.",
319+ "type": "string",
320+ "const": "core:app:deny-name",
321+ "markdownDescription": "Denies the name command without any pre-configured scope."
322+ },
323+ {
324+ "description": "Denies the register_listener command without any pre-configured scope.",
325+ "type": "string",
326+ "const": "core:app:deny-register-listener",
327+ "markdownDescription": "Denies the register_listener command without any pre-configured scope."
328+ },
329+ {
330+ "description": "Denies the remove_data_store command without any pre-configured scope.",
331+ "type": "string",
332+ "const": "core:app:deny-remove-data-store",
333+ "markdownDescription": "Denies the remove_data_store command without any pre-configured scope."
334+ },
335+ {
336+ "description": "Denies the remove_listener command without any pre-configured scope.",
337+ "type": "string",
338+ "const": "core:app:deny-remove-listener",
339+ "markdownDescription": "Denies the remove_listener command without any pre-configured scope."
340+ },
341+ {
342+ "description": "Denies the set_app_theme command without any pre-configured scope.",
343+ "type": "string",
344+ "const": "core:app:deny-set-app-theme",
345+ "markdownDescription": "Denies the set_app_theme command without any pre-configured scope."
346+ },
347+ {
348+ "description": "Denies the set_dock_visibility command without any pre-configured scope.",
349+ "type": "string",
350+ "const": "core:app:deny-set-dock-visibility",
351+ "markdownDescription": "Denies the set_dock_visibility command without any pre-configured scope."
352+ },
353+ {
354+ "description": "Denies the supports_multiple_windows command without any pre-configured scope.",
355+ "type": "string",
356+ "const": "core:app:deny-supports-multiple-windows",
357+ "markdownDescription": "Denies the supports_multiple_windows command without any pre-configured scope."
358+ },
359+ {
360+ "description": "Denies the tauri_version command without any pre-configured scope.",
361+ "type": "string",
362+ "const": "core:app:deny-tauri-version",
363+ "markdownDescription": "Denies the tauri_version command without any pre-configured scope."
364+ },
365+ {
366+ "description": "Denies the version command without any pre-configured scope.",
367+ "type": "string",
368+ "const": "core:app:deny-version",
369+ "markdownDescription": "Denies the version command without any pre-configured scope."
370+ },
371+ {
372+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-listen`\n- `allow-unlisten`\n- `allow-emit`\n- `allow-emit-to`",
373+ "type": "string",
374+ "const": "core:event:default",
375+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-listen`\n- `allow-unlisten`\n- `allow-emit`\n- `allow-emit-to`"
376+ },
377+ {
378+ "description": "Enables the emit command without any pre-configured scope.",
379+ "type": "string",
380+ "const": "core:event:allow-emit",
381+ "markdownDescription": "Enables the emit command without any pre-configured scope."
382+ },
383+ {
384+ "description": "Enables the emit_to command without any pre-configured scope.",
385+ "type": "string",
386+ "const": "core:event:allow-emit-to",
387+ "markdownDescription": "Enables the emit_to command without any pre-configured scope."
388+ },
389+ {
390+ "description": "Enables the listen command without any pre-configured scope.",
391+ "type": "string",
392+ "const": "core:event:allow-listen",
393+ "markdownDescription": "Enables the listen command without any pre-configured scope."
394+ },
395+ {
396+ "description": "Enables the unlisten command without any pre-configured scope.",
397+ "type": "string",
398+ "const": "core:event:allow-unlisten",
399+ "markdownDescription": "Enables the unlisten command without any pre-configured scope."
400+ },
401+ {
402+ "description": "Denies the emit command without any pre-configured scope.",
403+ "type": "string",
404+ "const": "core:event:deny-emit",
405+ "markdownDescription": "Denies the emit command without any pre-configured scope."
406+ },
407+ {
408+ "description": "Denies the emit_to command without any pre-configured scope.",
409+ "type": "string",
410+ "const": "core:event:deny-emit-to",
411+ "markdownDescription": "Denies the emit_to command without any pre-configured scope."
412+ },
413+ {
414+ "description": "Denies the listen command without any pre-configured scope.",
415+ "type": "string",
416+ "const": "core:event:deny-listen",
417+ "markdownDescription": "Denies the listen command without any pre-configured scope."
418+ },
419+ {
420+ "description": "Denies the unlisten command without any pre-configured scope.",
421+ "type": "string",
422+ "const": "core:event:deny-unlisten",
423+ "markdownDescription": "Denies the unlisten command without any pre-configured scope."
424+ },
425+ {
426+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-from-bytes`\n- `allow-from-path`\n- `allow-rgba`\n- `allow-size`",
427+ "type": "string",
428+ "const": "core:image:default",
429+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-from-bytes`\n- `allow-from-path`\n- `allow-rgba`\n- `allow-size`"
430+ },
431+ {
432+ "description": "Enables the from_bytes command without any pre-configured scope.",
433+ "type": "string",
434+ "const": "core:image:allow-from-bytes",
435+ "markdownDescription": "Enables the from_bytes command without any pre-configured scope."
436+ },
437+ {
438+ "description": "Enables the from_path command without any pre-configured scope.",
439+ "type": "string",
440+ "const": "core:image:allow-from-path",
441+ "markdownDescription": "Enables the from_path command without any pre-configured scope."
442+ },
443+ {
444+ "description": "Enables the new command without any pre-configured scope.",
445+ "type": "string",
446+ "const": "core:image:allow-new",
447+ "markdownDescription": "Enables the new command without any pre-configured scope."
448+ },
449+ {
450+ "description": "Enables the rgba command without any pre-configured scope.",
451+ "type": "string",
452+ "const": "core:image:allow-rgba",
453+ "markdownDescription": "Enables the rgba command without any pre-configured scope."
454+ },
455+ {
456+ "description": "Enables the size command without any pre-configured scope.",
457+ "type": "string",
458+ "const": "core:image:allow-size",
459+ "markdownDescription": "Enables the size command without any pre-configured scope."
460+ },
461+ {
462+ "description": "Denies the from_bytes command without any pre-configured scope.",
463+ "type": "string",
464+ "const": "core:image:deny-from-bytes",
465+ "markdownDescription": "Denies the from_bytes command without any pre-configured scope."
466+ },
467+ {
468+ "description": "Denies the from_path command without any pre-configured scope.",
469+ "type": "string",
470+ "const": "core:image:deny-from-path",
471+ "markdownDescription": "Denies the from_path command without any pre-configured scope."
472+ },
473+ {
474+ "description": "Denies the new command without any pre-configured scope.",
475+ "type": "string",
476+ "const": "core:image:deny-new",
477+ "markdownDescription": "Denies the new command without any pre-configured scope."
478+ },
479+ {
480+ "description": "Denies the rgba command without any pre-configured scope.",
481+ "type": "string",
482+ "const": "core:image:deny-rgba",
483+ "markdownDescription": "Denies the rgba command without any pre-configured scope."
484+ },
485+ {
486+ "description": "Denies the size command without any pre-configured scope.",
487+ "type": "string",
488+ "const": "core:image:deny-size",
489+ "markdownDescription": "Denies the size command without any pre-configured scope."
490+ },
491+ {
492+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-append`\n- `allow-prepend`\n- `allow-insert`\n- `allow-remove`\n- `allow-remove-at`\n- `allow-items`\n- `allow-get`\n- `allow-popup`\n- `allow-create-default`\n- `allow-set-as-app-menu`\n- `allow-set-as-window-menu`\n- `allow-text`\n- `allow-set-text`\n- `allow-is-enabled`\n- `allow-set-enabled`\n- `allow-set-accelerator`\n- `allow-set-as-windows-menu-for-nsapp`\n- `allow-set-as-help-menu-for-nsapp`\n- `allow-is-checked`\n- `allow-set-checked`\n- `allow-set-icon`",
493+ "type": "string",
494+ "const": "core:menu:default",
495+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-append`\n- `allow-prepend`\n- `allow-insert`\n- `allow-remove`\n- `allow-remove-at`\n- `allow-items`\n- `allow-get`\n- `allow-popup`\n- `allow-create-default`\n- `allow-set-as-app-menu`\n- `allow-set-as-window-menu`\n- `allow-text`\n- `allow-set-text`\n- `allow-is-enabled`\n- `allow-set-enabled`\n- `allow-set-accelerator`\n- `allow-set-as-windows-menu-for-nsapp`\n- `allow-set-as-help-menu-for-nsapp`\n- `allow-is-checked`\n- `allow-set-checked`\n- `allow-set-icon`"
496+ },
497+ {
498+ "description": "Enables the append command without any pre-configured scope.",
499+ "type": "string",
500+ "const": "core:menu:allow-append",
501+ "markdownDescription": "Enables the append command without any pre-configured scope."
502+ },
503+ {
504+ "description": "Enables the create_default command without any pre-configured scope.",
505+ "type": "string",
506+ "const": "core:menu:allow-create-default",
507+ "markdownDescription": "Enables the create_default command without any pre-configured scope."
508+ },
509+ {
510+ "description": "Enables the get command without any pre-configured scope.",
511+ "type": "string",
512+ "const": "core:menu:allow-get",
513+ "markdownDescription": "Enables the get command without any pre-configured scope."
514+ },
515+ {
516+ "description": "Enables the insert command without any pre-configured scope.",
517+ "type": "string",
518+ "const": "core:menu:allow-insert",
519+ "markdownDescription": "Enables the insert command without any pre-configured scope."
520+ },
521+ {
522+ "description": "Enables the is_checked command without any pre-configured scope.",
523+ "type": "string",
524+ "const": "core:menu:allow-is-checked",
525+ "markdownDescription": "Enables the is_checked command without any pre-configured scope."
526+ },
527+ {
528+ "description": "Enables the is_enabled command without any pre-configured scope.",
529+ "type": "string",
530+ "const": "core:menu:allow-is-enabled",
531+ "markdownDescription": "Enables the is_enabled command without any pre-configured scope."
532+ },
533+ {
534+ "description": "Enables the items command without any pre-configured scope.",
535+ "type": "string",
536+ "const": "core:menu:allow-items",
537+ "markdownDescription": "Enables the items command without any pre-configured scope."
538+ },
539+ {
540+ "description": "Enables the new command without any pre-configured scope.",
541+ "type": "string",
542+ "const": "core:menu:allow-new",
543+ "markdownDescription": "Enables the new command without any pre-configured scope."
544+ },
545+ {
546+ "description": "Enables the popup command without any pre-configured scope.",
547+ "type": "string",
548+ "const": "core:menu:allow-popup",
549+ "markdownDescription": "Enables the popup command without any pre-configured scope."
550+ },
551+ {
552+ "description": "Enables the prepend command without any pre-configured scope.",
553+ "type": "string",
554+ "const": "core:menu:allow-prepend",
555+ "markdownDescription": "Enables the prepend command without any pre-configured scope."
556+ },
557+ {
558+ "description": "Enables the remove command without any pre-configured scope.",
559+ "type": "string",
560+ "const": "core:menu:allow-remove",
561+ "markdownDescription": "Enables the remove command without any pre-configured scope."
562+ },
563+ {
564+ "description": "Enables the remove_at command without any pre-configured scope.",
565+ "type": "string",
566+ "const": "core:menu:allow-remove-at",
567+ "markdownDescription": "Enables the remove_at command without any pre-configured scope."
568+ },
569+ {
570+ "description": "Enables the set_accelerator command without any pre-configured scope.",
571+ "type": "string",
572+ "const": "core:menu:allow-set-accelerator",
573+ "markdownDescription": "Enables the set_accelerator command without any pre-configured scope."
574+ },
575+ {
576+ "description": "Enables the set_as_app_menu command without any pre-configured scope.",
577+ "type": "string",
578+ "const": "core:menu:allow-set-as-app-menu",
579+ "markdownDescription": "Enables the set_as_app_menu command without any pre-configured scope."
580+ },
581+ {
582+ "description": "Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.",
583+ "type": "string",
584+ "const": "core:menu:allow-set-as-help-menu-for-nsapp",
585+ "markdownDescription": "Enables the set_as_help_menu_for_nsapp command without any pre-configured scope."
586+ },
587+ {
588+ "description": "Enables the set_as_window_menu command without any pre-configured scope.",
589+ "type": "string",
590+ "const": "core:menu:allow-set-as-window-menu",
591+ "markdownDescription": "Enables the set_as_window_menu command without any pre-configured scope."
592+ },
593+ {
594+ "description": "Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
595+ "type": "string",
596+ "const": "core:menu:allow-set-as-windows-menu-for-nsapp",
597+ "markdownDescription": "Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope."
598+ },
599+ {
600+ "description": "Enables the set_checked command without any pre-configured scope.",
601+ "type": "string",
602+ "const": "core:menu:allow-set-checked",
603+ "markdownDescription": "Enables the set_checked command without any pre-configured scope."
604+ },
605+ {
606+ "description": "Enables the set_enabled command without any pre-configured scope.",
607+ "type": "string",
608+ "const": "core:menu:allow-set-enabled",
609+ "markdownDescription": "Enables the set_enabled command without any pre-configured scope."
610+ },
611+ {
612+ "description": "Enables the set_icon command without any pre-configured scope.",
613+ "type": "string",
614+ "const": "core:menu:allow-set-icon",
615+ "markdownDescription": "Enables the set_icon command without any pre-configured scope."
616+ },
617+ {
618+ "description": "Enables the set_text command without any pre-configured scope.",
619+ "type": "string",
620+ "const": "core:menu:allow-set-text",
621+ "markdownDescription": "Enables the set_text command without any pre-configured scope."
622+ },
623+ {
624+ "description": "Enables the text command without any pre-configured scope.",
625+ "type": "string",
626+ "const": "core:menu:allow-text",
627+ "markdownDescription": "Enables the text command without any pre-configured scope."
628+ },
629+ {
630+ "description": "Denies the append command without any pre-configured scope.",
631+ "type": "string",
632+ "const": "core:menu:deny-append",
633+ "markdownDescription": "Denies the append command without any pre-configured scope."
634+ },
635+ {
636+ "description": "Denies the create_default command without any pre-configured scope.",
637+ "type": "string",
638+ "const": "core:menu:deny-create-default",
639+ "markdownDescription": "Denies the create_default command without any pre-configured scope."
640+ },
641+ {
642+ "description": "Denies the get command without any pre-configured scope.",
643+ "type": "string",
644+ "const": "core:menu:deny-get",
645+ "markdownDescription": "Denies the get command without any pre-configured scope."
646+ },
647+ {
648+ "description": "Denies the insert command without any pre-configured scope.",
649+ "type": "string",
650+ "const": "core:menu:deny-insert",
651+ "markdownDescription": "Denies the insert command without any pre-configured scope."
652+ },
653+ {
654+ "description": "Denies the is_checked command without any pre-configured scope.",
655+ "type": "string",
656+ "const": "core:menu:deny-is-checked",
657+ "markdownDescription": "Denies the is_checked command without any pre-configured scope."
658+ },
659+ {
660+ "description": "Denies the is_enabled command without any pre-configured scope.",
661+ "type": "string",
662+ "const": "core:menu:deny-is-enabled",
663+ "markdownDescription": "Denies the is_enabled command without any pre-configured scope."
664+ },
665+ {
666+ "description": "Denies the items command without any pre-configured scope.",
667+ "type": "string",
668+ "const": "core:menu:deny-items",
669+ "markdownDescription": "Denies the items command without any pre-configured scope."
670+ },
671+ {
672+ "description": "Denies the new command without any pre-configured scope.",
673+ "type": "string",
674+ "const": "core:menu:deny-new",
675+ "markdownDescription": "Denies the new command without any pre-configured scope."
676+ },
677+ {
678+ "description": "Denies the popup command without any pre-configured scope.",
679+ "type": "string",
680+ "const": "core:menu:deny-popup",
681+ "markdownDescription": "Denies the popup command without any pre-configured scope."
682+ },
683+ {
684+ "description": "Denies the prepend command without any pre-configured scope.",
685+ "type": "string",
686+ "const": "core:menu:deny-prepend",
687+ "markdownDescription": "Denies the prepend command without any pre-configured scope."
688+ },
689+ {
690+ "description": "Denies the remove command without any pre-configured scope.",
691+ "type": "string",
692+ "const": "core:menu:deny-remove",
693+ "markdownDescription": "Denies the remove command without any pre-configured scope."
694+ },
695+ {
696+ "description": "Denies the remove_at command without any pre-configured scope.",
697+ "type": "string",
698+ "const": "core:menu:deny-remove-at",
699+ "markdownDescription": "Denies the remove_at command without any pre-configured scope."
700+ },
701+ {
702+ "description": "Denies the set_accelerator command without any pre-configured scope.",
703+ "type": "string",
704+ "const": "core:menu:deny-set-accelerator",
705+ "markdownDescription": "Denies the set_accelerator command without any pre-configured scope."
706+ },
707+ {
708+ "description": "Denies the set_as_app_menu command without any pre-configured scope.",
709+ "type": "string",
710+ "const": "core:menu:deny-set-as-app-menu",
711+ "markdownDescription": "Denies the set_as_app_menu command without any pre-configured scope."
712+ },
713+ {
714+ "description": "Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.",
715+ "type": "string",
716+ "const": "core:menu:deny-set-as-help-menu-for-nsapp",
717+ "markdownDescription": "Denies the set_as_help_menu_for_nsapp command without any pre-configured scope."
718+ },
719+ {
720+ "description": "Denies the set_as_window_menu command without any pre-configured scope.",
721+ "type": "string",
722+ "const": "core:menu:deny-set-as-window-menu",
723+ "markdownDescription": "Denies the set_as_window_menu command without any pre-configured scope."
724+ },
725+ {
726+ "description": "Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.",
727+ "type": "string",
728+ "const": "core:menu:deny-set-as-windows-menu-for-nsapp",
729+ "markdownDescription": "Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope."
730+ },
731+ {
732+ "description": "Denies the set_checked command without any pre-configured scope.",
733+ "type": "string",
734+ "const": "core:menu:deny-set-checked",
735+ "markdownDescription": "Denies the set_checked command without any pre-configured scope."
736+ },
737+ {
738+ "description": "Denies the set_enabled command without any pre-configured scope.",
739+ "type": "string",
740+ "const": "core:menu:deny-set-enabled",
741+ "markdownDescription": "Denies the set_enabled command without any pre-configured scope."
742+ },
743+ {
744+ "description": "Denies the set_icon command without any pre-configured scope.",
745+ "type": "string",
746+ "const": "core:menu:deny-set-icon",
747+ "markdownDescription": "Denies the set_icon command without any pre-configured scope."
748+ },
749+ {
750+ "description": "Denies the set_text command without any pre-configured scope.",
751+ "type": "string",
752+ "const": "core:menu:deny-set-text",
753+ "markdownDescription": "Denies the set_text command without any pre-configured scope."
754+ },
755+ {
756+ "description": "Denies the text command without any pre-configured scope.",
757+ "type": "string",
758+ "const": "core:menu:deny-text",
759+ "markdownDescription": "Denies the text command without any pre-configured scope."
760+ },
761+ {
762+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-resolve-directory`\n- `allow-resolve`\n- `allow-normalize`\n- `allow-join`\n- `allow-dirname`\n- `allow-extname`\n- `allow-basename`\n- `allow-is-absolute`",
763+ "type": "string",
764+ "const": "core:path:default",
765+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-resolve-directory`\n- `allow-resolve`\n- `allow-normalize`\n- `allow-join`\n- `allow-dirname`\n- `allow-extname`\n- `allow-basename`\n- `allow-is-absolute`"
766+ },
767+ {
768+ "description": "Enables the basename command without any pre-configured scope.",
769+ "type": "string",
770+ "const": "core:path:allow-basename",
771+ "markdownDescription": "Enables the basename command without any pre-configured scope."
772+ },
773+ {
774+ "description": "Enables the dirname command without any pre-configured scope.",
775+ "type": "string",
776+ "const": "core:path:allow-dirname",
777+ "markdownDescription": "Enables the dirname command without any pre-configured scope."
778+ },
779+ {
780+ "description": "Enables the extname command without any pre-configured scope.",
781+ "type": "string",
782+ "const": "core:path:allow-extname",
783+ "markdownDescription": "Enables the extname command without any pre-configured scope."
784+ },
785+ {
786+ "description": "Enables the is_absolute command without any pre-configured scope.",
787+ "type": "string",
788+ "const": "core:path:allow-is-absolute",
789+ "markdownDescription": "Enables the is_absolute command without any pre-configured scope."
790+ },
791+ {
792+ "description": "Enables the join command without any pre-configured scope.",
793+ "type": "string",
794+ "const": "core:path:allow-join",
795+ "markdownDescription": "Enables the join command without any pre-configured scope."
796+ },
797+ {
798+ "description": "Enables the normalize command without any pre-configured scope.",
799+ "type": "string",
800+ "const": "core:path:allow-normalize",
801+ "markdownDescription": "Enables the normalize command without any pre-configured scope."
802+ },
803+ {
804+ "description": "Enables the resolve command without any pre-configured scope.",
805+ "type": "string",
806+ "const": "core:path:allow-resolve",
807+ "markdownDescription": "Enables the resolve command without any pre-configured scope."
808+ },
809+ {
810+ "description": "Enables the resolve_directory command without any pre-configured scope.",
811+ "type": "string",
812+ "const": "core:path:allow-resolve-directory",
813+ "markdownDescription": "Enables the resolve_directory command without any pre-configured scope."
814+ },
815+ {
816+ "description": "Denies the basename command without any pre-configured scope.",
817+ "type": "string",
818+ "const": "core:path:deny-basename",
819+ "markdownDescription": "Denies the basename command without any pre-configured scope."
820+ },
821+ {
822+ "description": "Denies the dirname command without any pre-configured scope.",
823+ "type": "string",
824+ "const": "core:path:deny-dirname",
825+ "markdownDescription": "Denies the dirname command without any pre-configured scope."
826+ },
827+ {
828+ "description": "Denies the extname command without any pre-configured scope.",
829+ "type": "string",
830+ "const": "core:path:deny-extname",
831+ "markdownDescription": "Denies the extname command without any pre-configured scope."
832+ },
833+ {
834+ "description": "Denies the is_absolute command without any pre-configured scope.",
835+ "type": "string",
836+ "const": "core:path:deny-is-absolute",
837+ "markdownDescription": "Denies the is_absolute command without any pre-configured scope."
838+ },
839+ {
840+ "description": "Denies the join command without any pre-configured scope.",
841+ "type": "string",
842+ "const": "core:path:deny-join",
843+ "markdownDescription": "Denies the join command without any pre-configured scope."
844+ },
845+ {
846+ "description": "Denies the normalize command without any pre-configured scope.",
847+ "type": "string",
848+ "const": "core:path:deny-normalize",
849+ "markdownDescription": "Denies the normalize command without any pre-configured scope."
850+ },
851+ {
852+ "description": "Denies the resolve command without any pre-configured scope.",
853+ "type": "string",
854+ "const": "core:path:deny-resolve",
855+ "markdownDescription": "Denies the resolve command without any pre-configured scope."
856+ },
857+ {
858+ "description": "Denies the resolve_directory command without any pre-configured scope.",
859+ "type": "string",
860+ "const": "core:path:deny-resolve-directory",
861+ "markdownDescription": "Denies the resolve_directory command without any pre-configured scope."
862+ },
863+ {
864+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-close`",
865+ "type": "string",
866+ "const": "core:resources:default",
867+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-close`"
868+ },
869+ {
870+ "description": "Enables the close command without any pre-configured scope.",
871+ "type": "string",
872+ "const": "core:resources:allow-close",
873+ "markdownDescription": "Enables the close command without any pre-configured scope."
874+ },
875+ {
876+ "description": "Denies the close command without any pre-configured scope.",
877+ "type": "string",
878+ "const": "core:resources:deny-close",
879+ "markdownDescription": "Denies the close command without any pre-configured scope."
880+ },
881+ {
882+ "description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-icon-with-as-template`\n- `allow-set-show-menu-on-left-click`",
883+ "type": "string",
884+ "const": "core:tray:default",
885+ "markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-icon-with-as-template`\n- `allow-set-show-menu-on-left-click`"
886+ },
887+ {
888+ "description": "Enables the get_by_id command without any pre-configured scope.",
889+ "type": "string",
890+ "const": "core:tray:allow-get-by-id",
891+ "markdownDescription": "Enables the get_by_id command without any pre-configured scope."
892+ },
893+ {
894+ "description": "Enables the new command without any pre-configured scope.",
895+ "type": "string",
896+ "const": "core:tray:allow-new",
897+ "markdownDescription": "Enables the new command without any pre-configured scope."
898+ },
899+ {
900+ "description": "Enables the remove_by_id command without any pre-configured scope.",
901+ "type": "string",
902+ "const": "core:tray:allow-remove-by-id",
903+ "markdownDescription": "Enables the remove_by_id command without any pre-configured scope."
904+ },
905+ {
906+ "description": "Enables the set_icon command without any pre-configured scope.",
907+ "type": "string",
908+ "const": "core:tray:allow-set-icon",
909+ "markdownDescription": "Enables the set_icon command without any pre-configured scope."
910+ },
911+ {
912+ "description": "Enables the set_icon_as_template command without any pre-configured scope.",
913+ "type": "string",
914+ "const": "core:tray:allow-set-icon-as-template",
915+ "markdownDescription": "Enables the set_icon_as_template command without any pre-configured scope."
916+ },
917+ {
918+ "description": "Enables the set_icon_with_as_template command without any pre-configured scope.",
919+ "type": "string",
920+ "const": "core:tray:allow-set-icon-with-as-template",
921+ "markdownDescription": "Enables the set_icon_with_as_template command without any pre-configured scope."
922+ },
923+ {
924+ "description": "Enables the set_menu command without any pre-configured scope.",
925+ "type": "string",
926+ "const": "core:tray:allow-set-menu",
927+ "markdownDescription": "Enables the set_menu command without any pre-configured scope."
928+ },
929+ {
930+ "description": "Enables the set_show_menu_on_left_click command without any pre-configured scope.",
931+ "type": "string",
932+ "const": "core:tray:allow-set-show-menu-on-left-click",
933+ "markdownDescription": "Enables the set_show_menu_on_left_click command without any pre-configured scope."
934+ },
935+ {
936+ "description": "Enables the set_temp_dir_path command without any pre-configured scope.",
937+ "type": "string",
938+ "const": "core:tray:allow-set-temp-dir-path",
939+ "markdownDescription": "Enables the set_temp_dir_path command without any pre-configured scope."
940+ },
941+ {
942+ "description": "Enables the set_title command without any pre-configured scope.",
943+ "type": "string",
944+ "const": "core:tray:allow-set-title",
945+ "markdownDescription": "Enables the set_title command without any pre-configured scope."
946+ },
947+ {
948+ "description": "Enables the set_tooltip command without any pre-configured scope.",
949+ "type": "string",
950+ "const": "core:tray:allow-set-tooltip",
951+ "markdownDescription": "Enables the set_tooltip command without any pre-configured scope."
952+ },
953+ {
954+ "description": "Enables the set_visible command without any pre-configured scope.",
955+ "type": "string",
956+ "const": "core:tray:allow-set-visible",
957+ "markdownDescription": "Enables the set_visible command without any pre-configured scope."
958+ },
959+ {
960+ "description": "Denies the get_by_id command without any pre-configured scope.",
961+ "type": "string",
962+ "const": "core:tray:deny-get-by-id",
963+ "markdownDescription": "Denies the get_by_id command without any pre-configured scope."
964+ },
965+ {
966+ "description": "Denies the new command without any pre-configured scope.",
967+ "type": "string",
968+ "const": "core:tray:deny-new",
969+ "markdownDescription": "Denies the new command without any pre-configured scope."
970+ },
971+ {
972+ "description": "Denies the remove_by_id command without any pre-configured scope.",
973+ "type": "string",
974+ "const": "core:tray:deny-remove-by-id",
975+ "markdownDescription": "Denies the remove_by_id command without any pre-configured scope."
976+ },
977+ {
978+ "description": "Denies the set_icon command without any pre-configured scope.",
979+ "type": "string",
980+ "const": "core:tray:deny-set-icon",
981+ "markdownDescription": "Denies the set_icon command without any pre-configured scope."
982+ },
983+ {
984+ "description": "Denies the set_icon_as_template command without any pre-configured scope.",
985+ "type": "string",
986+ "const": "core:tray:deny-set-icon-as-template",
987+ "markdownDescription": "Denies the set_icon_as_template command without any pre-configured scope."
988+ },
989+ {
990+ "description": "Denies the set_icon_with_as_template command without any pre-configured scope.",
991+ "type": "string",
992+ "const": "core:tray:deny-set-icon-with-as-template",
993+ "markdownDescription": "Denies the set_icon_with_as_template command without any pre-configured scope."
994+ },
995+ {
996+ "description": "Denies the set_menu command without any pre-configured scope.",
997+ "type": "string",
998+ "const": "core:tray:deny-set-menu",
999+ "markdownDescription": "Denies the set_menu command without any pre-configured scope."
1000+ },
1001+ {
1002+ "description": "Denies the set_show_menu_on_left_click command without any pre-configured scope.",
1003+ "type": "string",
1004+ "const": "core:tray:deny-set-show-menu-on-left-click",
1005+ "markdownDescription": "Denies the set_show_menu_on_left_click command without any pre-configured scope."
1006+ },
1007+ {
1008+ "description": "Denies the set_temp_dir_path command without any pre-configured scope.",
1009+ "type": "string",
1010+ "const": "core:tray:deny-set-temp-dir-path",
1011+ "markdownDescription": "Denies the set_temp_dir_path command without any pre-configured scope."
1012+ },
1013+ {
1014+ "description": "Denies the set_title command without any pre-configured scope.",
1015+ "type": "string",
1016+ "const": "core:tray:deny-set-title",
1017+ "markdownDescription": "Denies the set_title command without any pre-configured scope."
1018+ },
1019+ {
1020+ "description": "Denies the set_tooltip command without any pre-configured scope.",
1021+ "type": "string",
1022+ "const": "core:tray:deny-set-tooltip",
1023+ "markdownDescription": "Denies the set_tooltip command without any pre-configured scope."
1024+ },
1025+ {
1026+ "description": "Denies the set_visible command without any pre-configured scope.",
1027+ "type": "string",
1028+ "const": "core:tray:deny-set-visible",
1029+ "markdownDescription": "Denies the set_visible command without any pre-configured scope."
1030+ },
1031+ {
1032+ "description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-webviews`\n- `allow-webview-position`\n- `allow-webview-size`\n- `allow-internal-toggle-devtools`",
1033+ "type": "string",
1034+ "const": "core:webview:default",
1035+ "markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-webviews`\n- `allow-webview-position`\n- `allow-webview-size`\n- `allow-internal-toggle-devtools`"
1036+ },
1037+ {
1038+ "description": "Enables the clear_all_browsing_data command without any pre-configured scope.",
1039+ "type": "string",
1040+ "const": "core:webview:allow-clear-all-browsing-data",
1041+ "markdownDescription": "Enables the clear_all_browsing_data command without any pre-configured scope."
1042+ },
1043+ {
1044+ "description": "Enables the create_webview command without any pre-configured scope.",
1045+ "type": "string",
1046+ "const": "core:webview:allow-create-webview",
1047+ "markdownDescription": "Enables the create_webview command without any pre-configured scope."
1048+ },
1049+ {
1050+ "description": "Enables the create_webview_window command without any pre-configured scope.",
1051+ "type": "string",
1052+ "const": "core:webview:allow-create-webview-window",
1053+ "markdownDescription": "Enables the create_webview_window command without any pre-configured scope."
1054+ },
1055+ {
1056+ "description": "Enables the get_all_webviews command without any pre-configured scope.",
1057+ "type": "string",
1058+ "const": "core:webview:allow-get-all-webviews",
1059+ "markdownDescription": "Enables the get_all_webviews command without any pre-configured scope."
1060+ },
1061+ {
1062+ "description": "Enables the internal_toggle_devtools command without any pre-configured scope.",
1063+ "type": "string",
1064+ "const": "core:webview:allow-internal-toggle-devtools",
1065+ "markdownDescription": "Enables the internal_toggle_devtools command without any pre-configured scope."
1066+ },
1067+ {
1068+ "description": "Enables the print command without any pre-configured scope.",
1069+ "type": "string",
1070+ "const": "core:webview:allow-print",
1071+ "markdownDescription": "Enables the print command without any pre-configured scope."
1072+ },
1073+ {
1074+ "description": "Enables the reparent command without any pre-configured scope.",
1075+ "type": "string",
1076+ "const": "core:webview:allow-reparent",
1077+ "markdownDescription": "Enables the reparent command without any pre-configured scope."
1078+ },
1079+ {
1080+ "description": "Enables the set_webview_auto_resize command without any pre-configured scope.",
1081+ "type": "string",
1082+ "const": "core:webview:allow-set-webview-auto-resize",
1083+ "markdownDescription": "Enables the set_webview_auto_resize command without any pre-configured scope."
1084+ },
1085+ {
1086+ "description": "Enables the set_webview_background_color command without any pre-configured scope.",
1087+ "type": "string",
1088+ "const": "core:webview:allow-set-webview-background-color",
1089+ "markdownDescription": "Enables the set_webview_background_color command without any pre-configured scope."
1090+ },
1091+ {
1092+ "description": "Enables the set_webview_focus command without any pre-configured scope.",
1093+ "type": "string",
1094+ "const": "core:webview:allow-set-webview-focus",
1095+ "markdownDescription": "Enables the set_webview_focus command without any pre-configured scope."
1096+ },
1097+ {
1098+ "description": "Enables the set_webview_position command without any pre-configured scope.",
1099+ "type": "string",
1100+ "const": "core:webview:allow-set-webview-position",
1101+ "markdownDescription": "Enables the set_webview_position command without any pre-configured scope."
1102+ },
1103+ {
1104+ "description": "Enables the set_webview_size command without any pre-configured scope.",
1105+ "type": "string",
1106+ "const": "core:webview:allow-set-webview-size",
1107+ "markdownDescription": "Enables the set_webview_size command without any pre-configured scope."
1108+ },
1109+ {
1110+ "description": "Enables the set_webview_zoom command without any pre-configured scope.",
1111+ "type": "string",
1112+ "const": "core:webview:allow-set-webview-zoom",
1113+ "markdownDescription": "Enables the set_webview_zoom command without any pre-configured scope."
1114+ },
1115+ {
1116+ "description": "Enables the webview_close command without any pre-configured scope.",
1117+ "type": "string",
1118+ "const": "core:webview:allow-webview-close",
1119+ "markdownDescription": "Enables the webview_close command without any pre-configured scope."
1120+ },
1121+ {
1122+ "description": "Enables the webview_hide command without any pre-configured scope.",
1123+ "type": "string",
1124+ "const": "core:webview:allow-webview-hide",
1125+ "markdownDescription": "Enables the webview_hide command without any pre-configured scope."
1126+ },
1127+ {
1128+ "description": "Enables the webview_position command without any pre-configured scope.",
1129+ "type": "string",
1130+ "const": "core:webview:allow-webview-position",
1131+ "markdownDescription": "Enables the webview_position command without any pre-configured scope."
1132+ },
1133+ {
1134+ "description": "Enables the webview_show command without any pre-configured scope.",
1135+ "type": "string",
1136+ "const": "core:webview:allow-webview-show",
1137+ "markdownDescription": "Enables the webview_show command without any pre-configured scope."
1138+ },
1139+ {
1140+ "description": "Enables the webview_size command without any pre-configured scope.",
1141+ "type": "string",
1142+ "const": "core:webview:allow-webview-size",
1143+ "markdownDescription": "Enables the webview_size command without any pre-configured scope."
1144+ },
1145+ {
1146+ "description": "Denies the clear_all_browsing_data command without any pre-configured scope.",
1147+ "type": "string",
1148+ "const": "core:webview:deny-clear-all-browsing-data",
1149+ "markdownDescription": "Denies the clear_all_browsing_data command without any pre-configured scope."
1150+ },
1151+ {
1152+ "description": "Denies the create_webview command without any pre-configured scope.",
1153+ "type": "string",
1154+ "const": "core:webview:deny-create-webview",
1155+ "markdownDescription": "Denies the create_webview command without any pre-configured scope."
1156+ },
1157+ {
1158+ "description": "Denies the create_webview_window command without any pre-configured scope.",
1159+ "type": "string",
1160+ "const": "core:webview:deny-create-webview-window",
1161+ "markdownDescription": "Denies the create_webview_window command without any pre-configured scope."
1162+ },
1163+ {
1164+ "description": "Denies the get_all_webviews command without any pre-configured scope.",
1165+ "type": "string",
1166+ "const": "core:webview:deny-get-all-webviews",
1167+ "markdownDescription": "Denies the get_all_webviews command without any pre-configured scope."
1168+ },
1169+ {
1170+ "description": "Denies the internal_toggle_devtools command without any pre-configured scope.",
1171+ "type": "string",
1172+ "const": "core:webview:deny-internal-toggle-devtools",
1173+ "markdownDescription": "Denies the internal_toggle_devtools command without any pre-configured scope."
1174+ },
1175+ {
1176+ "description": "Denies the print command without any pre-configured scope.",
1177+ "type": "string",
1178+ "const": "core:webview:deny-print",
1179+ "markdownDescription": "Denies the print command without any pre-configured scope."
1180+ },
1181+ {
1182+ "description": "Denies the reparent command without any pre-configured scope.",
1183+ "type": "string",
1184+ "const": "core:webview:deny-reparent",
1185+ "markdownDescription": "Denies the reparent command without any pre-configured scope."
1186+ },
1187+ {
1188+ "description": "Denies the set_webview_auto_resize command without any pre-configured scope.",
1189+ "type": "string",
1190+ "const": "core:webview:deny-set-webview-auto-resize",
1191+ "markdownDescription": "Denies the set_webview_auto_resize command without any pre-configured scope."
1192+ },
1193+ {
1194+ "description": "Denies the set_webview_background_color command without any pre-configured scope.",
1195+ "type": "string",
1196+ "const": "core:webview:deny-set-webview-background-color",
1197+ "markdownDescription": "Denies the set_webview_background_color command without any pre-configured scope."
1198+ },
1199+ {
1200+ "description": "Denies the set_webview_focus command without any pre-configured scope.",
1201+ "type": "string",
1202+ "const": "core:webview:deny-set-webview-focus",
1203+ "markdownDescription": "Denies the set_webview_focus command without any pre-configured scope."
1204+ },
1205+ {
1206+ "description": "Denies the set_webview_position command without any pre-configured scope.",
1207+ "type": "string",
1208+ "const": "core:webview:deny-set-webview-position",
1209+ "markdownDescription": "Denies the set_webview_position command without any pre-configured scope."
1210+ },
1211+ {
1212+ "description": "Denies the set_webview_size command without any pre-configured scope.",
1213+ "type": "string",
1214+ "const": "core:webview:deny-set-webview-size",
1215+ "markdownDescription": "Denies the set_webview_size command without any pre-configured scope."
1216+ },
1217+ {
1218+ "description": "Denies the set_webview_zoom command without any pre-configured scope.",
1219+ "type": "string",
1220+ "const": "core:webview:deny-set-webview-zoom",
1221+ "markdownDescription": "Denies the set_webview_zoom command without any pre-configured scope."
1222+ },
1223+ {
1224+ "description": "Denies the webview_close command without any pre-configured scope.",
1225+ "type": "string",
1226+ "const": "core:webview:deny-webview-close",
1227+ "markdownDescription": "Denies the webview_close command without any pre-configured scope."
1228+ },
1229+ {
1230+ "description": "Denies the webview_hide command without any pre-configured scope.",
1231+ "type": "string",
1232+ "const": "core:webview:deny-webview-hide",
1233+ "markdownDescription": "Denies the webview_hide command without any pre-configured scope."
1234+ },
1235+ {
1236+ "description": "Denies the webview_position command without any pre-configured scope.",
1237+ "type": "string",
1238+ "const": "core:webview:deny-webview-position",
1239+ "markdownDescription": "Denies the webview_position command without any pre-configured scope."
1240+ },
1241+ {
1242+ "description": "Denies the webview_show command without any pre-configured scope.",
1243+ "type": "string",
1244+ "const": "core:webview:deny-webview-show",
1245+ "markdownDescription": "Denies the webview_show command without any pre-configured scope."
1246+ },
1247+ {
1248+ "description": "Denies the webview_size command without any pre-configured scope.",
1249+ "type": "string",
1250+ "const": "core:webview:deny-webview-size",
1251+ "markdownDescription": "Denies the webview_size command without any pre-configured scope."
1252+ },
1253+ {
1254+ "description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-activity-name`\n- `allow-scene-identifier`\n- `allow-internal-toggle-maximize`",
1255+ "type": "string",
1256+ "const": "core:window:default",
1257+ "markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-activity-name`\n- `allow-scene-identifier`\n- `allow-internal-toggle-maximize`"
1258+ },
1259+ {
1260+ "description": "Enables the activity_name command without any pre-configured scope.",
1261+ "type": "string",
1262+ "const": "core:window:allow-activity-name",
1263+ "markdownDescription": "Enables the activity_name command without any pre-configured scope."
1264+ },
1265+ {
1266+ "description": "Enables the available_monitors command without any pre-configured scope.",
1267+ "type": "string",
1268+ "const": "core:window:allow-available-monitors",
1269+ "markdownDescription": "Enables the available_monitors command without any pre-configured scope."
1270+ },
1271+ {
1272+ "description": "Enables the center command without any pre-configured scope.",
1273+ "type": "string",
1274+ "const": "core:window:allow-center",
1275+ "markdownDescription": "Enables the center command without any pre-configured scope."
1276+ },
1277+ {
1278+ "description": "Enables the close command without any pre-configured scope.",
1279+ "type": "string",
1280+ "const": "core:window:allow-close",
1281+ "markdownDescription": "Enables the close command without any pre-configured scope."
1282+ },
1283+ {
1284+ "description": "Enables the create command without any pre-configured scope.",
1285+ "type": "string",
1286+ "const": "core:window:allow-create",
1287+ "markdownDescription": "Enables the create command without any pre-configured scope."
1288+ },
1289+ {
1290+ "description": "Enables the current_monitor command without any pre-configured scope.",
1291+ "type": "string",
1292+ "const": "core:window:allow-current-monitor",
1293+ "markdownDescription": "Enables the current_monitor command without any pre-configured scope."
1294+ },
1295+ {
1296+ "description": "Enables the cursor_position command without any pre-configured scope.",
1297+ "type": "string",
1298+ "const": "core:window:allow-cursor-position",
1299+ "markdownDescription": "Enables the cursor_position command without any pre-configured scope."
1300+ },
1301+ {
1302+ "description": "Enables the destroy command without any pre-configured scope.",
1303+ "type": "string",
1304+ "const": "core:window:allow-destroy",
1305+ "markdownDescription": "Enables the destroy command without any pre-configured scope."
1306+ },
1307+ {
1308+ "description": "Enables the get_all_windows command without any pre-configured scope.",
1309+ "type": "string",
1310+ "const": "core:window:allow-get-all-windows",
1311+ "markdownDescription": "Enables the get_all_windows command without any pre-configured scope."
1312+ },
1313+ {
1314+ "description": "Enables the hide command without any pre-configured scope.",
1315+ "type": "string",
1316+ "const": "core:window:allow-hide",
1317+ "markdownDescription": "Enables the hide command without any pre-configured scope."
1318+ },
1319+ {
1320+ "description": "Enables the inner_position command without any pre-configured scope.",
1321+ "type": "string",
1322+ "const": "core:window:allow-inner-position",
1323+ "markdownDescription": "Enables the inner_position command without any pre-configured scope."
1324+ },
1325+ {
1326+ "description": "Enables the inner_size command without any pre-configured scope.",
1327+ "type": "string",
1328+ "const": "core:window:allow-inner-size",
1329+ "markdownDescription": "Enables the inner_size command without any pre-configured scope."
1330+ },
1331+ {
1332+ "description": "Enables the internal_toggle_maximize command without any pre-configured scope.",
1333+ "type": "string",
1334+ "const": "core:window:allow-internal-toggle-maximize",
1335+ "markdownDescription": "Enables the internal_toggle_maximize command without any pre-configured scope."
1336+ },
1337+ {
1338+ "description": "Enables the is_always_on_top command without any pre-configured scope.",
1339+ "type": "string",
1340+ "const": "core:window:allow-is-always-on-top",
1341+ "markdownDescription": "Enables the is_always_on_top command without any pre-configured scope."
1342+ },
1343+ {
1344+ "description": "Enables the is_closable command without any pre-configured scope.",
1345+ "type": "string",
1346+ "const": "core:window:allow-is-closable",
1347+ "markdownDescription": "Enables the is_closable command without any pre-configured scope."
1348+ },
1349+ {
1350+ "description": "Enables the is_decorated command without any pre-configured scope.",
1351+ "type": "string",
1352+ "const": "core:window:allow-is-decorated",
1353+ "markdownDescription": "Enables the is_decorated command without any pre-configured scope."
1354+ },
1355+ {
1356+ "description": "Enables the is_enabled command without any pre-configured scope.",
1357+ "type": "string",
1358+ "const": "core:window:allow-is-enabled",
1359+ "markdownDescription": "Enables the is_enabled command without any pre-configured scope."
1360+ },
1361+ {
1362+ "description": "Enables the is_focused command without any pre-configured scope.",
1363+ "type": "string",
1364+ "const": "core:window:allow-is-focused",
1365+ "markdownDescription": "Enables the is_focused command without any pre-configured scope."
1366+ },
1367+ {
1368+ "description": "Enables the is_fullscreen command without any pre-configured scope.",
1369+ "type": "string",
1370+ "const": "core:window:allow-is-fullscreen",
1371+ "markdownDescription": "Enables the is_fullscreen command without any pre-configured scope."
1372+ },
1373+ {
1374+ "description": "Enables the is_maximizable command without any pre-configured scope.",
1375+ "type": "string",
1376+ "const": "core:window:allow-is-maximizable",
1377+ "markdownDescription": "Enables the is_maximizable command without any pre-configured scope."
1378+ },
1379+ {
1380+ "description": "Enables the is_maximized command without any pre-configured scope.",
1381+ "type": "string",
1382+ "const": "core:window:allow-is-maximized",
1383+ "markdownDescription": "Enables the is_maximized command without any pre-configured scope."
1384+ },
1385+ {
1386+ "description": "Enables the is_minimizable command without any pre-configured scope.",
1387+ "type": "string",
1388+ "const": "core:window:allow-is-minimizable",
1389+ "markdownDescription": "Enables the is_minimizable command without any pre-configured scope."
1390+ },
1391+ {
1392+ "description": "Enables the is_minimized command without any pre-configured scope.",
1393+ "type": "string",
1394+ "const": "core:window:allow-is-minimized",
1395+ "markdownDescription": "Enables the is_minimized command without any pre-configured scope."
1396+ },
1397+ {
1398+ "description": "Enables the is_resizable command without any pre-configured scope.",
1399+ "type": "string",
1400+ "const": "core:window:allow-is-resizable",
1401+ "markdownDescription": "Enables the is_resizable command without any pre-configured scope."
1402+ },
1403+ {
1404+ "description": "Enables the is_visible command without any pre-configured scope.",
1405+ "type": "string",
1406+ "const": "core:window:allow-is-visible",
1407+ "markdownDescription": "Enables the is_visible command without any pre-configured scope."
1408+ },
1409+ {
1410+ "description": "Enables the maximize command without any pre-configured scope.",
1411+ "type": "string",
1412+ "const": "core:window:allow-maximize",
1413+ "markdownDescription": "Enables the maximize command without any pre-configured scope."
1414+ },
1415+ {
1416+ "description": "Enables the minimize command without any pre-configured scope.",
1417+ "type": "string",
1418+ "const": "core:window:allow-minimize",
1419+ "markdownDescription": "Enables the minimize command without any pre-configured scope."
1420+ },
1421+ {
1422+ "description": "Enables the monitor_from_point command without any pre-configured scope.",
1423+ "type": "string",
1424+ "const": "core:window:allow-monitor-from-point",
1425+ "markdownDescription": "Enables the monitor_from_point command without any pre-configured scope."
1426+ },
1427+ {
1428+ "description": "Enables the outer_position command without any pre-configured scope.",
1429+ "type": "string",
1430+ "const": "core:window:allow-outer-position",
1431+ "markdownDescription": "Enables the outer_position command without any pre-configured scope."
1432+ },
1433+ {
1434+ "description": "Enables the outer_size command without any pre-configured scope.",
1435+ "type": "string",
1436+ "const": "core:window:allow-outer-size",
1437+ "markdownDescription": "Enables the outer_size command without any pre-configured scope."
1438+ },
1439+ {
1440+ "description": "Enables the primary_monitor command without any pre-configured scope.",
1441+ "type": "string",
1442+ "const": "core:window:allow-primary-monitor",
1443+ "markdownDescription": "Enables the primary_monitor command without any pre-configured scope."
1444+ },
1445+ {
1446+ "description": "Enables the request_user_attention command without any pre-configured scope.",
1447+ "type": "string",
1448+ "const": "core:window:allow-request-user-attention",
1449+ "markdownDescription": "Enables the request_user_attention command without any pre-configured scope."
1450+ },
1451+ {
1452+ "description": "Enables the scale_factor command without any pre-configured scope.",
1453+ "type": "string",
1454+ "const": "core:window:allow-scale-factor",
1455+ "markdownDescription": "Enables the scale_factor command without any pre-configured scope."
1456+ },
1457+ {
1458+ "description": "Enables the scene_identifier command without any pre-configured scope.",
1459+ "type": "string",
1460+ "const": "core:window:allow-scene-identifier",
1461+ "markdownDescription": "Enables the scene_identifier command without any pre-configured scope."
1462+ },
1463+ {
1464+ "description": "Enables the set_always_on_bottom command without any pre-configured scope.",
1465+ "type": "string",
1466+ "const": "core:window:allow-set-always-on-bottom",
1467+ "markdownDescription": "Enables the set_always_on_bottom command without any pre-configured scope."
1468+ },
1469+ {
1470+ "description": "Enables the set_always_on_top command without any pre-configured scope.",
1471+ "type": "string",
1472+ "const": "core:window:allow-set-always-on-top",
1473+ "markdownDescription": "Enables the set_always_on_top command without any pre-configured scope."
1474+ },
1475+ {
1476+ "description": "Enables the set_background_color command without any pre-configured scope.",
1477+ "type": "string",
1478+ "const": "core:window:allow-set-background-color",
1479+ "markdownDescription": "Enables the set_background_color command without any pre-configured scope."
1480+ },
1481+ {
1482+ "description": "Enables the set_badge_count command without any pre-configured scope.",
1483+ "type": "string",
1484+ "const": "core:window:allow-set-badge-count",
1485+ "markdownDescription": "Enables the set_badge_count command without any pre-configured scope."
1486+ },
1487+ {
1488+ "description": "Enables the set_badge_label command without any pre-configured scope.",
1489+ "type": "string",
1490+ "const": "core:window:allow-set-badge-label",
1491+ "markdownDescription": "Enables the set_badge_label command without any pre-configured scope."
1492+ },
1493+ {
1494+ "description": "Enables the set_closable command without any pre-configured scope.",
1495+ "type": "string",
1496+ "const": "core:window:allow-set-closable",
1497+ "markdownDescription": "Enables the set_closable command without any pre-configured scope."
1498+ },
1499+ {
1500+ "description": "Enables the set_content_protected command without any pre-configured scope.",
1501+ "type": "string",
1502+ "const": "core:window:allow-set-content-protected",
1503+ "markdownDescription": "Enables the set_content_protected command without any pre-configured scope."
1504+ },
1505+ {
1506+ "description": "Enables the set_cursor_grab command without any pre-configured scope.",
1507+ "type": "string",
1508+ "const": "core:window:allow-set-cursor-grab",
1509+ "markdownDescription": "Enables the set_cursor_grab command without any pre-configured scope."
1510+ },
1511+ {
1512+ "description": "Enables the set_cursor_icon command without any pre-configured scope.",
1513+ "type": "string",
1514+ "const": "core:window:allow-set-cursor-icon",
1515+ "markdownDescription": "Enables the set_cursor_icon command without any pre-configured scope."
1516+ },
1517+ {
1518+ "description": "Enables the set_cursor_position command without any pre-configured scope.",
1519+ "type": "string",
1520+ "const": "core:window:allow-set-cursor-position",
1521+ "markdownDescription": "Enables the set_cursor_position command without any pre-configured scope."
1522+ },
1523+ {
1524+ "description": "Enables the set_cursor_visible command without any pre-configured scope.",
1525+ "type": "string",
1526+ "const": "core:window:allow-set-cursor-visible",
1527+ "markdownDescription": "Enables the set_cursor_visible command without any pre-configured scope."
1528+ },
1529+ {
1530+ "description": "Enables the set_decorations command without any pre-configured scope.",
1531+ "type": "string",
1532+ "const": "core:window:allow-set-decorations",
1533+ "markdownDescription": "Enables the set_decorations command without any pre-configured scope."
1534+ },
1535+ {
1536+ "description": "Enables the set_effects command without any pre-configured scope.",
1537+ "type": "string",
1538+ "const": "core:window:allow-set-effects",
1539+ "markdownDescription": "Enables the set_effects command without any pre-configured scope."
1540+ },
1541+ {
1542+ "description": "Enables the set_enabled command without any pre-configured scope.",
1543+ "type": "string",
1544+ "const": "core:window:allow-set-enabled",
1545+ "markdownDescription": "Enables the set_enabled command without any pre-configured scope."
1546+ },
1547+ {
1548+ "description": "Enables the set_focus command without any pre-configured scope.",
1549+ "type": "string",
1550+ "const": "core:window:allow-set-focus",
1551+ "markdownDescription": "Enables the set_focus command without any pre-configured scope."
1552+ },
1553+ {
1554+ "description": "Enables the set_focusable command without any pre-configured scope.",
1555+ "type": "string",
1556+ "const": "core:window:allow-set-focusable",
1557+ "markdownDescription": "Enables the set_focusable command without any pre-configured scope."
1558+ },
1559+ {
1560+ "description": "Enables the set_fullscreen command without any pre-configured scope.",
1561+ "type": "string",
1562+ "const": "core:window:allow-set-fullscreen",
1563+ "markdownDescription": "Enables the set_fullscreen command without any pre-configured scope."
1564+ },
1565+ {
1566+ "description": "Enables the set_icon command without any pre-configured scope.",
1567+ "type": "string",
1568+ "const": "core:window:allow-set-icon",
1569+ "markdownDescription": "Enables the set_icon command without any pre-configured scope."
1570+ },
1571+ {
1572+ "description": "Enables the set_ignore_cursor_events command without any pre-configured scope.",
1573+ "type": "string",
1574+ "const": "core:window:allow-set-ignore-cursor-events",
1575+ "markdownDescription": "Enables the set_ignore_cursor_events command without any pre-configured scope."
1576+ },
1577+ {
1578+ "description": "Enables the set_max_size command without any pre-configured scope.",
1579+ "type": "string",
1580+ "const": "core:window:allow-set-max-size",
1581+ "markdownDescription": "Enables the set_max_size command without any pre-configured scope."
1582+ },
1583+ {
1584+ "description": "Enables the set_maximizable command without any pre-configured scope.",
1585+ "type": "string",
1586+ "const": "core:window:allow-set-maximizable",
1587+ "markdownDescription": "Enables the set_maximizable command without any pre-configured scope."
1588+ },
1589+ {
1590+ "description": "Enables the set_min_size command without any pre-configured scope.",
1591+ "type": "string",
1592+ "const": "core:window:allow-set-min-size",
1593+ "markdownDescription": "Enables the set_min_size command without any pre-configured scope."
1594+ },
1595+ {
1596+ "description": "Enables the set_minimizable command without any pre-configured scope.",
1597+ "type": "string",
1598+ "const": "core:window:allow-set-minimizable",
1599+ "markdownDescription": "Enables the set_minimizable command without any pre-configured scope."
1600+ },
1601+ {
1602+ "description": "Enables the set_overlay_icon command without any pre-configured scope.",
1603+ "type": "string",
1604+ "const": "core:window:allow-set-overlay-icon",
1605+ "markdownDescription": "Enables the set_overlay_icon command without any pre-configured scope."
1606+ },
1607+ {
1608+ "description": "Enables the set_position command without any pre-configured scope.",
1609+ "type": "string",
1610+ "const": "core:window:allow-set-position",
1611+ "markdownDescription": "Enables the set_position command without any pre-configured scope."
1612+ },
1613+ {
1614+ "description": "Enables the set_progress_bar command without any pre-configured scope.",
1615+ "type": "string",
1616+ "const": "core:window:allow-set-progress-bar",
1617+ "markdownDescription": "Enables the set_progress_bar command without any pre-configured scope."
1618+ },
1619+ {
1620+ "description": "Enables the set_resizable command without any pre-configured scope.",
1621+ "type": "string",
1622+ "const": "core:window:allow-set-resizable",
1623+ "markdownDescription": "Enables the set_resizable command without any pre-configured scope."
1624+ },
1625+ {
1626+ "description": "Enables the set_shadow command without any pre-configured scope.",
1627+ "type": "string",
1628+ "const": "core:window:allow-set-shadow",
1629+ "markdownDescription": "Enables the set_shadow command without any pre-configured scope."
1630+ },
1631+ {
1632+ "description": "Enables the set_simple_fullscreen command without any pre-configured scope.",
1633+ "type": "string",
1634+ "const": "core:window:allow-set-simple-fullscreen",
1635+ "markdownDescription": "Enables the set_simple_fullscreen command without any pre-configured scope."
1636+ },
1637+ {
1638+ "description": "Enables the set_size command without any pre-configured scope.",
1639+ "type": "string",
1640+ "const": "core:window:allow-set-size",
1641+ "markdownDescription": "Enables the set_size command without any pre-configured scope."
1642+ },
1643+ {
1644+ "description": "Enables the set_size_constraints command without any pre-configured scope.",
1645+ "type": "string",
1646+ "const": "core:window:allow-set-size-constraints",
1647+ "markdownDescription": "Enables the set_size_constraints command without any pre-configured scope."
1648+ },
1649+ {
1650+ "description": "Enables the set_skip_taskbar command without any pre-configured scope.",
1651+ "type": "string",
1652+ "const": "core:window:allow-set-skip-taskbar",
1653+ "markdownDescription": "Enables the set_skip_taskbar command without any pre-configured scope."
1654+ },
1655+ {
1656+ "description": "Enables the set_theme command without any pre-configured scope.",
1657+ "type": "string",
1658+ "const": "core:window:allow-set-theme",
1659+ "markdownDescription": "Enables the set_theme command without any pre-configured scope."
1660+ },
1661+ {
1662+ "description": "Enables the set_title command without any pre-configured scope.",
1663+ "type": "string",
1664+ "const": "core:window:allow-set-title",
1665+ "markdownDescription": "Enables the set_title command without any pre-configured scope."
1666+ },
1667+ {
1668+ "description": "Enables the set_title_bar_style command without any pre-configured scope.",
1669+ "type": "string",
1670+ "const": "core:window:allow-set-title-bar-style",
1671+ "markdownDescription": "Enables the set_title_bar_style command without any pre-configured scope."
1672+ },
1673+ {
1674+ "description": "Enables the set_visible_on_all_workspaces command without any pre-configured scope.",
1675+ "type": "string",
1676+ "const": "core:window:allow-set-visible-on-all-workspaces",
1677+ "markdownDescription": "Enables the set_visible_on_all_workspaces command without any pre-configured scope."
1678+ },
1679+ {
1680+ "description": "Enables the show command without any pre-configured scope.",
1681+ "type": "string",
1682+ "const": "core:window:allow-show",
1683+ "markdownDescription": "Enables the show command without any pre-configured scope."
1684+ },
1685+ {
1686+ "description": "Enables the start_dragging command without any pre-configured scope.",
1687+ "type": "string",
1688+ "const": "core:window:allow-start-dragging",
1689+ "markdownDescription": "Enables the start_dragging command without any pre-configured scope."
1690+ },
1691+ {
1692+ "description": "Enables the start_resize_dragging command without any pre-configured scope.",
1693+ "type": "string",
1694+ "const": "core:window:allow-start-resize-dragging",
1695+ "markdownDescription": "Enables the start_resize_dragging command without any pre-configured scope."
1696+ },
1697+ {
1698+ "description": "Enables the theme command without any pre-configured scope.",
1699+ "type": "string",
1700+ "const": "core:window:allow-theme",
1701+ "markdownDescription": "Enables the theme command without any pre-configured scope."
1702+ },
1703+ {
1704+ "description": "Enables the title command without any pre-configured scope.",
1705+ "type": "string",
1706+ "const": "core:window:allow-title",
1707+ "markdownDescription": "Enables the title command without any pre-configured scope."
1708+ },
1709+ {
1710+ "description": "Enables the toggle_maximize command without any pre-configured scope.",
1711+ "type": "string",
1712+ "const": "core:window:allow-toggle-maximize",
1713+ "markdownDescription": "Enables the toggle_maximize command without any pre-configured scope."
1714+ },
1715+ {
1716+ "description": "Enables the unmaximize command without any pre-configured scope.",
1717+ "type": "string",
1718+ "const": "core:window:allow-unmaximize",
1719+ "markdownDescription": "Enables the unmaximize command without any pre-configured scope."
1720+ },
1721+ {
1722+ "description": "Enables the unminimize command without any pre-configured scope.",
1723+ "type": "string",
1724+ "const": "core:window:allow-unminimize",
1725+ "markdownDescription": "Enables the unminimize command without any pre-configured scope."
1726+ },
1727+ {
1728+ "description": "Denies the activity_name command without any pre-configured scope.",
1729+ "type": "string",
1730+ "const": "core:window:deny-activity-name",
1731+ "markdownDescription": "Denies the activity_name command without any pre-configured scope."
1732+ },
1733+ {
1734+ "description": "Denies the available_monitors command without any pre-configured scope.",
1735+ "type": "string",
1736+ "const": "core:window:deny-available-monitors",
1737+ "markdownDescription": "Denies the available_monitors command without any pre-configured scope."
1738+ },
1739+ {
1740+ "description": "Denies the center command without any pre-configured scope.",
1741+ "type": "string",
1742+ "const": "core:window:deny-center",
1743+ "markdownDescription": "Denies the center command without any pre-configured scope."
1744+ },
1745+ {
1746+ "description": "Denies the close command without any pre-configured scope.",
1747+ "type": "string",
1748+ "const": "core:window:deny-close",
1749+ "markdownDescription": "Denies the close command without any pre-configured scope."
1750+ },
1751+ {
1752+ "description": "Denies the create command without any pre-configured scope.",
1753+ "type": "string",
1754+ "const": "core:window:deny-create",
1755+ "markdownDescription": "Denies the create command without any pre-configured scope."
1756+ },
1757+ {
1758+ "description": "Denies the current_monitor command without any pre-configured scope.",
1759+ "type": "string",
1760+ "const": "core:window:deny-current-monitor",
1761+ "markdownDescription": "Denies the current_monitor command without any pre-configured scope."
1762+ },
1763+ {
1764+ "description": "Denies the cursor_position command without any pre-configured scope.",
1765+ "type": "string",
1766+ "const": "core:window:deny-cursor-position",
1767+ "markdownDescription": "Denies the cursor_position command without any pre-configured scope."
1768+ },
1769+ {
1770+ "description": "Denies the destroy command without any pre-configured scope.",
1771+ "type": "string",
1772+ "const": "core:window:deny-destroy",
1773+ "markdownDescription": "Denies the destroy command without any pre-configured scope."
1774+ },
1775+ {
1776+ "description": "Denies the get_all_windows command without any pre-configured scope.",
1777+ "type": "string",
1778+ "const": "core:window:deny-get-all-windows",
1779+ "markdownDescription": "Denies the get_all_windows command without any pre-configured scope."
1780+ },
1781+ {
1782+ "description": "Denies the hide command without any pre-configured scope.",
1783+ "type": "string",
1784+ "const": "core:window:deny-hide",
1785+ "markdownDescription": "Denies the hide command without any pre-configured scope."
1786+ },
1787+ {
1788+ "description": "Denies the inner_position command without any pre-configured scope.",
1789+ "type": "string",
1790+ "const": "core:window:deny-inner-position",
1791+ "markdownDescription": "Denies the inner_position command without any pre-configured scope."
1792+ },
1793+ {
1794+ "description": "Denies the inner_size command without any pre-configured scope.",
1795+ "type": "string",
1796+ "const": "core:window:deny-inner-size",
1797+ "markdownDescription": "Denies the inner_size command without any pre-configured scope."
1798+ },
1799+ {
1800+ "description": "Denies the internal_toggle_maximize command without any pre-configured scope.",
1801+ "type": "string",
1802+ "const": "core:window:deny-internal-toggle-maximize",
1803+ "markdownDescription": "Denies the internal_toggle_maximize command without any pre-configured scope."
1804+ },
1805+ {
1806+ "description": "Denies the is_always_on_top command without any pre-configured scope.",
1807+ "type": "string",
1808+ "const": "core:window:deny-is-always-on-top",
1809+ "markdownDescription": "Denies the is_always_on_top command without any pre-configured scope."
1810+ },
1811+ {
1812+ "description": "Denies the is_closable command without any pre-configured scope.",
1813+ "type": "string",
1814+ "const": "core:window:deny-is-closable",
1815+ "markdownDescription": "Denies the is_closable command without any pre-configured scope."
1816+ },
1817+ {
1818+ "description": "Denies the is_decorated command without any pre-configured scope.",
1819+ "type": "string",
1820+ "const": "core:window:deny-is-decorated",
1821+ "markdownDescription": "Denies the is_decorated command without any pre-configured scope."
1822+ },
1823+ {
1824+ "description": "Denies the is_enabled command without any pre-configured scope.",
1825+ "type": "string",
1826+ "const": "core:window:deny-is-enabled",
1827+ "markdownDescription": "Denies the is_enabled command without any pre-configured scope."
1828+ },
1829+ {
1830+ "description": "Denies the is_focused command without any pre-configured scope.",
1831+ "type": "string",
1832+ "const": "core:window:deny-is-focused",
1833+ "markdownDescription": "Denies the is_focused command without any pre-configured scope."
1834+ },
1835+ {
1836+ "description": "Denies the is_fullscreen command without any pre-configured scope.",
1837+ "type": "string",
1838+ "const": "core:window:deny-is-fullscreen",
1839+ "markdownDescription": "Denies the is_fullscreen command without any pre-configured scope."
1840+ },
1841+ {
1842+ "description": "Denies the is_maximizable command without any pre-configured scope.",
1843+ "type": "string",
1844+ "const": "core:window:deny-is-maximizable",
1845+ "markdownDescription": "Denies the is_maximizable command without any pre-configured scope."
1846+ },
1847+ {
1848+ "description": "Denies the is_maximized command without any pre-configured scope.",
1849+ "type": "string",
1850+ "const": "core:window:deny-is-maximized",
1851+ "markdownDescription": "Denies the is_maximized command without any pre-configured scope."
1852+ },
1853+ {
1854+ "description": "Denies the is_minimizable command without any pre-configured scope.",
1855+ "type": "string",
1856+ "const": "core:window:deny-is-minimizable",
1857+ "markdownDescription": "Denies the is_minimizable command without any pre-configured scope."
1858+ },
1859+ {
1860+ "description": "Denies the is_minimized command without any pre-configured scope.",
1861+ "type": "string",
1862+ "const": "core:window:deny-is-minimized",
1863+ "markdownDescription": "Denies the is_minimized command without any pre-configured scope."
1864+ },
1865+ {
1866+ "description": "Denies the is_resizable command without any pre-configured scope.",
1867+ "type": "string",
1868+ "const": "core:window:deny-is-resizable",
1869+ "markdownDescription": "Denies the is_resizable command without any pre-configured scope."
1870+ },
1871+ {
1872+ "description": "Denies the is_visible command without any pre-configured scope.",
1873+ "type": "string",
1874+ "const": "core:window:deny-is-visible",
1875+ "markdownDescription": "Denies the is_visible command without any pre-configured scope."
1876+ },
1877+ {
1878+ "description": "Denies the maximize command without any pre-configured scope.",
1879+ "type": "string",
1880+ "const": "core:window:deny-maximize",
1881+ "markdownDescription": "Denies the maximize command without any pre-configured scope."
1882+ },
1883+ {
1884+ "description": "Denies the minimize command without any pre-configured scope.",
1885+ "type": "string",
1886+ "const": "core:window:deny-minimize",
1887+ "markdownDescription": "Denies the minimize command without any pre-configured scope."
1888+ },
1889+ {
1890+ "description": "Denies the monitor_from_point command without any pre-configured scope.",
1891+ "type": "string",
1892+ "const": "core:window:deny-monitor-from-point",
1893+ "markdownDescription": "Denies the monitor_from_point command without any pre-configured scope."
1894+ },
1895+ {
1896+ "description": "Denies the outer_position command without any pre-configured scope.",
1897+ "type": "string",
1898+ "const": "core:window:deny-outer-position",
1899+ "markdownDescription": "Denies the outer_position command without any pre-configured scope."
1900+ },
1901+ {
1902+ "description": "Denies the outer_size command without any pre-configured scope.",
1903+ "type": "string",
1904+ "const": "core:window:deny-outer-size",
1905+ "markdownDescription": "Denies the outer_size command without any pre-configured scope."
1906+ },
1907+ {
1908+ "description": "Denies the primary_monitor command without any pre-configured scope.",
1909+ "type": "string",
1910+ "const": "core:window:deny-primary-monitor",
1911+ "markdownDescription": "Denies the primary_monitor command without any pre-configured scope."
1912+ },
1913+ {
1914+ "description": "Denies the request_user_attention command without any pre-configured scope.",
1915+ "type": "string",
1916+ "const": "core:window:deny-request-user-attention",
1917+ "markdownDescription": "Denies the request_user_attention command without any pre-configured scope."
1918+ },
1919+ {
1920+ "description": "Denies the scale_factor command without any pre-configured scope.",
1921+ "type": "string",
1922+ "const": "core:window:deny-scale-factor",
1923+ "markdownDescription": "Denies the scale_factor command without any pre-configured scope."
1924+ },
1925+ {
1926+ "description": "Denies the scene_identifier command without any pre-configured scope.",
1927+ "type": "string",
1928+ "const": "core:window:deny-scene-identifier",
1929+ "markdownDescription": "Denies the scene_identifier command without any pre-configured scope."
1930+ },
1931+ {
1932+ "description": "Denies the set_always_on_bottom command without any pre-configured scope.",
1933+ "type": "string",
1934+ "const": "core:window:deny-set-always-on-bottom",
1935+ "markdownDescription": "Denies the set_always_on_bottom command without any pre-configured scope."
1936+ },
1937+ {
1938+ "description": "Denies the set_always_on_top command without any pre-configured scope.",
1939+ "type": "string",
1940+ "const": "core:window:deny-set-always-on-top",
1941+ "markdownDescription": "Denies the set_always_on_top command without any pre-configured scope."
1942+ },
1943+ {
1944+ "description": "Denies the set_background_color command without any pre-configured scope.",
1945+ "type": "string",
1946+ "const": "core:window:deny-set-background-color",
1947+ "markdownDescription": "Denies the set_background_color command without any pre-configured scope."
1948+ },
1949+ {
1950+ "description": "Denies the set_badge_count command without any pre-configured scope.",
1951+ "type": "string",
1952+ "const": "core:window:deny-set-badge-count",
1953+ "markdownDescription": "Denies the set_badge_count command without any pre-configured scope."
1954+ },
1955+ {
1956+ "description": "Denies the set_badge_label command without any pre-configured scope.",
1957+ "type": "string",
1958+ "const": "core:window:deny-set-badge-label",
1959+ "markdownDescription": "Denies the set_badge_label command without any pre-configured scope."
1960+ },
1961+ {
1962+ "description": "Denies the set_closable command without any pre-configured scope.",
1963+ "type": "string",
1964+ "const": "core:window:deny-set-closable",
1965+ "markdownDescription": "Denies the set_closable command without any pre-configured scope."
1966+ },
1967+ {
1968+ "description": "Denies the set_content_protected command without any pre-configured scope.",
1969+ "type": "string",
1970+ "const": "core:window:deny-set-content-protected",
1971+ "markdownDescription": "Denies the set_content_protected command without any pre-configured scope."
1972+ },
1973+ {
1974+ "description": "Denies the set_cursor_grab command without any pre-configured scope.",
1975+ "type": "string",
1976+ "const": "core:window:deny-set-cursor-grab",
1977+ "markdownDescription": "Denies the set_cursor_grab command without any pre-configured scope."
1978+ },
1979+ {
1980+ "description": "Denies the set_cursor_icon command without any pre-configured scope.",
1981+ "type": "string",
1982+ "const": "core:window:deny-set-cursor-icon",
1983+ "markdownDescription": "Denies the set_cursor_icon command without any pre-configured scope."
1984+ },
1985+ {
1986+ "description": "Denies the set_cursor_position command without any pre-configured scope.",
1987+ "type": "string",
1988+ "const": "core:window:deny-set-cursor-position",
1989+ "markdownDescription": "Denies the set_cursor_position command without any pre-configured scope."
1990+ },
1991+ {
1992+ "description": "Denies the set_cursor_visible command without any pre-configured scope.",
1993+ "type": "string",
1994+ "const": "core:window:deny-set-cursor-visible",
1995+ "markdownDescription": "Denies the set_cursor_visible command without any pre-configured scope."
1996+ },
1997+ {
1998+ "description": "Denies the set_decorations command without any pre-configured scope.",
1999+ "type": "string",
2000+ "const": "core:window:deny-set-decorations",
src-tauri/icons/128x128.pngadded+0 -0

Binary file changed

src-tauri/icons/128x128@2x.pngadded+0 -0

Binary file changed

src-tauri/icons/32x32.pngadded+0 -0

Binary file changed

src-tauri/icons/64x64.pngadded+0 -0

Binary file changed

src-tauri/icons/Square107x107Logo.pngadded+0 -0

Binary file changed

src-tauri/icons/Square142x142Logo.pngadded+0 -0

Binary file changed

src-tauri/icons/Square150x150Logo.pngadded+0 -0

Binary file changed

src-tauri/icons/Square284x284Logo.pngadded+0 -0

Binary file changed

src-tauri/icons/Square30x30Logo.pngadded+0 -0

Binary file changed

src-tauri/icons/Square310x310Logo.pngadded+0 -0

Binary file changed

src-tauri/icons/Square44x44Logo.pngadded+0 -0

Binary file changed

src-tauri/icons/Square71x71Logo.pngadded+0 -0

Binary file changed

src-tauri/icons/Square89x89Logo.pngadded+0 -0

Binary file changed

src-tauri/icons/StoreLogo.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-anydpi-v26/ic_launcher.xmladded+5 -0
@@ -0,0 +1,5 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
4+ <background android:drawable="@color/ic_launcher_background"/>
5+</adaptive-icon>
\ No newline at end of file
src-tauri/icons/android/mipmap-hdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-mdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-xhdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.pngadded+0 -0

Binary file changed

src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.pngadded+0 -0

Binary file changed

src-tauri/icons/android/values/ic_launcher_background.xmladded+4 -0
@@ -0,0 +1,4 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<resources>
3+ <color name="ic_launcher_background">#fff</color>
4+</resources>
\ No newline at end of file
src-tauri/icons/icon.icnsadded+0 -0

Binary file changed

src-tauri/icons/icon.icoadded+0 -0

Binary file changed

src-tauri/icons/icon.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-20x20@1x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-20x20@2x-1.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-20x20@2x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-20x20@3x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-29x29@1x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-29x29@2x-1.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-29x29@2x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-29x29@3x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-40x40@1x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-40x40@2x-1.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-40x40@2x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-40x40@3x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-512@2x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-60x60@2x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-60x60@3x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-76x76@1x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-76x76@2x.pngadded+0 -0

Binary file changed

src-tauri/icons/ios/AppIcon-83.5x83.5@2x.pngadded+0 -0

Binary file changed

src-tauri/src/lib.rsadded+77 -0
@@ -0,0 +1,77 @@
1+mod proxy;
2+
3+use tauri::{Manager, WebviewUrl, WebviewWindowBuilder};
4+
5+/// Where the API lives. Baked in at build time so release artifacts point at
6+/// production without any runtime configuration:
7+///
8+/// ```sh
9+/// HEZARFEN_BACKEND_ORIGIN=https://api.hezarfen.co cargo tauri android build
10+/// ```
11+const BUILD_TIME_BACKEND: Option<&str> = option_env!("HEZARFEN_BACKEND_ORIGIN");
12+
13+/// Dev default. On an emulator or a USB-attached device this is the developer's
14+/// own machine, reached through `adb reverse tcp:8080 tcp:8080` (see README) —
15+/// the same address the web app's Vite proxy targets, so one backend serves
16+/// both.
17+const DEFAULT_BACKEND: &str = "http://127.0.0.1:8080";
18+
19+/// A QA override, read once at startup from `<app-config>/backend.txt`. Lets a
20+/// tester repoint a signed build at staging without a rebuild.
21+fn runtime_backend<R: tauri::Runtime>(app: &tauri::AppHandle<R>) -> Option<String> {
22+ let path = app.path().app_config_dir().ok()?.join("backend.txt");
23+ let raw = std::fs::read_to_string(path).ok()?;
24+ let trimmed = raw.trim();
25+ if trimmed.is_empty() {
26+ return None;
27+ }
28+ Some(trimmed.to_string())
29+}
30+
31+fn backend_origin<R: tauri::Runtime>(app: &tauri::AppHandle<R>) -> String {
32+ runtime_backend(app)
33+ .or_else(|| BUILD_TIME_BACKEND.map(str::to_string))
34+ .unwrap_or_else(|| DEFAULT_BACKEND.to_string())
35+}
36+
37+#[cfg_attr(mobile, tauri::mobile_entry_point)]
38+pub fn run() {
39+ tauri::Builder::default()
40+ .plugin(tauri_plugin_os::init())
41+ .setup(|app| {
42+ let handle = app.handle().clone();
43+ let backend = backend_origin(&handle);
44+
45+ // Under `tauri dev` the bundle is empty and Vite serves the app; we
46+ // proxy to it so dev and release share one origin (and one cookie
47+ // jar). Tauri sets up `adb reverse` for this port on Android, so
48+ // the device reaches the host's dev server on localhost.
49+ let dev_url = if tauri::is_dev() {
50+ app.config()
51+ .build
52+ .dev_url
53+ .as_ref()
54+ .map(|url| url.to_string())
55+ } else {
56+ None
57+ };
58+
59+ let port = proxy::start(handle, backend.clone(), dev_url)?;
60+ log::info!("origin server on 127.0.0.1:{port}, backend {backend}");
61+
62+ let url = format!("http://127.0.0.1:{port}/")
63+ .parse()
64+ .expect("the loopback URL is always valid");
65+
66+ // The window is built here rather than declared in tauri.conf.json
67+ // because its URL is only known once the server has a port.
68+ WebviewWindowBuilder::new(app, "main", WebviewUrl::External(url))
69+ .title("Hezarfen")
70+ .inner_size(430.0, 932.0)
71+ .build()?;
72+
73+ Ok(())
74+ })
75+ .run(tauri::generate_context!())
76+ .expect("error while running the Hezarfen app");
77+}
src-tauri/src/main.rsadded+6 -0
@@ -0,0 +1,6 @@
1+// Prevents an extra console window on Windows in release.
2+#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
3+
4+fn main() {
5+ hezarfen_mobile_lib::run()
6+}
src-tauri/src/proxy.rsadded+416 -0
@@ -0,0 +1,416 @@
1+//! The in-app origin.
2+//!
3+//! The web app assumes it is served same-origin with the backend: it calls
4+//! `fetch("/api/...")` with `credentials: "same-origin"`, points `<img src>` at
5+//! `/api/...` (so the session cookie authenticates the image request), opens an
6+//! `EventSource` on `/api/chatbot/...`, and builds its exam-room / whiteboard
7+//! WebSocket URLs from `window.location.host`. In the browser deployment
8+//! `server.ts` provides that origin; a Tauri webview loaded from
9+//! `tauri://localhost` would break every one of those.
10+//!
11+//! So we reproduce `server.ts` in-process: a loopback HTTP server that serves
12+//! the bundled SPA and reverse-proxies `/api/*` (HTTP *and* WebSocket) to the
13+//! backend. The webview is pointed at it, `window.location.host` becomes
14+//! `127.0.0.1:<port>`, and the frontend needs no changes at all.
15+
16+use std::net::{Ipv4Addr, SocketAddr};
17+use std::sync::Arc;
18+
19+use axum::body::Body;
20+use axum::extract::ws::{Message as AxumMessage, WebSocket, WebSocketUpgrade};
21+use axum::extract::{FromRequestParts, Request, State};
22+use axum::http::{header, HeaderMap, HeaderValue, StatusCode, Uri};
23+use axum::response::{IntoResponse, Response};
24+use axum::Router;
25+use futures_util::{SinkExt, StreamExt};
26+use tauri::{AppHandle, Runtime};
27+use tokio_tungstenite::tungstenite::client::IntoClientRequest;
28+use tokio_tungstenite::tungstenite::Message as WsMessage;
29+
30+/// First port we try. Kept fixed across launches on purpose: the session cookie
31+/// is scoped to `127.0.0.1:<port>`, so a port that moved between launches would
32+/// sign the user out every time.
33+const PREFERRED_PORT: u16 = 18420;
34+const PORT_SCAN: u16 = 32;
35+
36+struct Inner<R: Runtime> {
37+ app: AppHandle<R>,
38+ http: reqwest::Client,
39+ /// Backend origin, no trailing slash, e.g. `https://api.example.com`.
40+ backend: String,
41+ /// Vite's dev server, when running under `tauri dev`. Non-`/api` requests
42+ /// are proxied there instead of read from the embedded bundle, so HMR keeps
43+ /// working through our origin.
44+ dev_url: Option<String>,
45+}
46+
47+type Shared<R> = Arc<Inner<R>>;
48+
49+/// Binds the loopback server and spawns it. Returns the port the webview should
50+/// be pointed at.
51+pub fn start<R: Runtime>(
52+ app: AppHandle<R>,
53+ backend: String,
54+ dev_url: Option<String>,
55+) -> Result<u16, std::io::Error> {
56+ let listener = bind()?;
57+ let port = listener.local_addr()?.port();
58+
59+ let state: Shared<R> = Arc::new(Inner {
60+ app,
61+ http: reqwest::Client::builder()
62+ // The frontend sets its own 20s deadline per request; letting the
63+ // proxy time out first would turn every slow call into an opaque
64+ // 502 instead of the client's translated error message.
65+ .timeout(std::time::Duration::from_secs(120))
66+ .build()
67+ .expect("failed to build the HTTP client"),
68+ backend: backend.trim_end_matches('/').to_string(),
69+ dev_url: dev_url.map(|u| u.trim_end_matches('/').to_string()),
70+ });
71+
72+ let router = Router::new().fallback(handle::<R>).with_state(state);
73+
74+ std::thread::Builder::new()
75+ .name("hezarfen-origin".into())
76+ .spawn(move || {
77+ let rt = tokio::runtime::Builder::new_multi_thread()
78+ .enable_all()
79+ .build()
80+ .expect("failed to start the proxy runtime");
81+ rt.block_on(async move {
82+ let listener = tokio::net::TcpListener::from_std(listener)
83+ .expect("failed to adopt the listening socket");
84+ if let Err(err) = axum::serve(listener, router).await {
85+ log::error!("origin server stopped: {err}");
86+ }
87+ });
88+ })?;
89+
90+ Ok(port)
91+}
92+
93+/// Prefers [`PREFERRED_PORT`] so the cookie jar survives restarts, but falls
94+/// back to the next free port rather than refusing to launch.
95+fn bind() -> Result<std::net::TcpListener, std::io::Error> {
96+ let mut last = None;
97+ for offset in 0..PORT_SCAN {
98+ let addr = SocketAddr::from((Ipv4Addr::LOCALHOST, PREFERRED_PORT + offset));
99+ match std::net::TcpListener::bind(addr) {
100+ Ok(listener) => {
101+ listener.set_nonblocking(true)?;
102+ return Ok(listener);
103+ }
104+ Err(err) => last = Some(err),
105+ }
106+ }
107+ // Every candidate was taken; let the OS choose so the app still starts.
108+ let listener = std::net::TcpListener::bind(SocketAddr::from((Ipv4Addr::LOCALHOST, 0)))
109+ .map_err(|err| last.unwrap_or(err))?;
110+ listener.set_nonblocking(true)?;
111+ Ok(listener)
112+}
113+
114+fn is_api(path: &str) -> bool {
115+ path == "/api" || path.starts_with("/api/")
116+}
117+
118+/// `/api/exams/x` -> `/exams/x`, `/api` -> `` — the same rewrite nginx and
119+/// `server.ts` do, so backend paths are untouched by the prefix.
120+fn backend_path(uri: &Uri) -> String {
121+ let path = uri.path();
122+ let stripped = path
123+ .strip_prefix("/api")
124+ .filter(|rest| rest.is_empty() || rest.starts_with('/'))
125+ .unwrap_or(path);
126+ match uri.query() {
127+ Some(q) => format!("{stripped}?{q}"),
128+ None => stripped.to_string(),
129+ }
130+}
131+
132+fn wants_websocket(headers: &HeaderMap) -> bool {
133+ headers
134+ .get(header::UPGRADE)
135+ .and_then(|v| v.to_str().ok())
136+ .is_some_and(|v| v.eq_ignore_ascii_case("websocket"))
137+}
138+
139+async fn handle<R: Runtime>(State(state): State<Shared<R>>, req: Request) -> Response {
140+ let api = is_api(req.uri().path());
141+
142+ if wants_websocket(req.headers()) {
143+ // Both the exam-room/whiteboard sockets (/api/**) and Vite's HMR socket
144+ // arrive here; the only difference is which upstream they bridge to.
145+ let upstream = if api {
146+ format!("{}{}", ws_scheme(&state.backend), backend_path(req.uri()))
147+ } else if let Some(dev) = &state.dev_url {
148+ format!("{}{}", ws_scheme(dev), path_and_query(req.uri()))
149+ } else {
150+ return (StatusCode::NOT_FOUND, "no websocket upstream").into_response();
151+ };
152+ return bridge_websocket(req, upstream).await;
153+ }
154+
155+ if api {
156+ let target = format!("{}{}", state.backend, backend_path(req.uri()));
157+ return proxy_http(&state.http, req, target, true).await;
158+ }
159+
160+ if let Some(dev) = state.dev_url.clone() {
161+ let target = format!("{dev}{}", path_and_query(req.uri()));
162+ return proxy_http(&state.http, req, target, false).await;
163+ }
164+
165+ serve_asset(&state.app, req.uri().path())
166+}
167+
168+fn path_and_query(uri: &Uri) -> &str {
169+ uri.path_and_query().map(|pq| pq.as_str()).unwrap_or("/")
170+}
171+
172+fn ws_scheme(origin: &str) -> String {
173+ if let Some(rest) = origin.strip_prefix("https") {
174+ format!("wss{rest}")
175+ } else if let Some(rest) = origin.strip_prefix("http") {
176+ format!("ws{rest}")
177+ } else {
178+ origin.to_string()
179+ }
180+}
181+
182+/// Serves a file from the bundle, falling back to `index.html` so client-side
183+/// routes deep-link correctly (the SPA fallback `server.ts` implements).
184+fn serve_asset<R: Runtime>(app: &AppHandle<R>, path: &str) -> Response {
185+ let resolver = app.asset_resolver();
186+ let wanted = if path == "/" { "/index.html" } else { path };
187+
188+ let asset = resolver
189+ .get(wanted.to_string())
190+ .or_else(|| resolver.get("/index.html".to_string()));
191+
192+ let Some(asset) = asset else {
193+ return (StatusCode::NOT_FOUND, "asset not found").into_response();
194+ };
195+
196+ let mut headers = HeaderMap::new();
197+ if let Ok(mime) = HeaderValue::from_str(&asset.mime_type) {
198+ headers.insert(header::CONTENT_TYPE, mime);
199+ }
200+ // Hashed assets are immutable; the shell must never be cached, or a new
201+ // build would keep booting the previous bundle.
202+ let cache = if wanted.starts_with("/assets/") {
203+ "public, max-age=31536000, immutable"
204+ } else {
205+ "no-store"
206+ };
207+ headers.insert(header::CACHE_CONTROL, HeaderValue::from_static(cache));
208+
209+ (headers, asset.bytes).into_response()
210+}
211+
212+async fn proxy_http(
213+ client: &reqwest::Client,
214+ req: Request,
215+ target: String,
216+ rewrite_cookies: bool,
217+) -> Response {
218+ let (parts, body) = req.into_parts();
219+
220+ let method = match reqwest::Method::from_bytes(parts.method.as_str().as_bytes()) {
221+ Ok(m) => m,
222+ Err(_) => return (StatusCode::BAD_REQUEST, "bad method").into_response(),
223+ };
224+
225+ let mut headers = parts.headers.clone();
226+ // Hop-by-hop headers must not be forwarded, and the browser's Host (our
227+ // loopback address) would confuse the backend's cookie-domain and
228+ // absolute-URL logic — reqwest sets the right one from the target.
229+ for name in [
230+ header::HOST,
231+ header::CONNECTION,
232+ header::TRANSFER_ENCODING,
233+ header::CONTENT_LENGTH,
234+ header::ACCEPT_ENCODING,
235+ ] {
236+ headers.remove(name);
237+ }
238+
239+ let has_body = !matches!(
240+ parts.method,
241+ axum::http::Method::GET | axum::http::Method::HEAD
242+ );
243+ let mut out = client.request(method, &target).headers(headers);
244+ if has_body {
245+ out = out.body(reqwest::Body::wrap_stream(body.into_data_stream()));
246+ }
247+
248+ let upstream = match out.send().await {
249+ Ok(resp) => resp,
250+ Err(err) => {
251+ log::error!("proxy {target} failed: {err}");
252+ return (StatusCode::BAD_GATEWAY, "backend unreachable").into_response();
253+ }
254+ };
255+
256+ let status =
257+ StatusCode::from_u16(upstream.status().as_u16()).unwrap_or(StatusCode::BAD_GATEWAY);
258+ let mut headers = HeaderMap::new();
259+ for (name, value) in upstream.headers() {
260+ if matches!(
261+ *name,
262+ header::TRANSFER_ENCODING | header::CONNECTION | header::CONTENT_LENGTH
263+ ) {
264+ continue;
265+ }
266+ if rewrite_cookies && name == header::SET_COOKIE {
267+ if let Some(cookie) = rewrite_set_cookie(value) {
268+ headers.append(header::SET_COOKIE, cookie);
269+ }
270+ continue;
271+ }
272+ headers.append(name.clone(), value.clone());
273+ }
274+
275+ let body = Body::from_stream(upstream.bytes_stream());
276+ (status, headers, body).into_response()
277+}
278+
279+/// The session cookie is minted for the backend's own host over TLS, so it
280+/// arrives with `Domain=` and `Secure`. Our origin is plain HTTP on 127.0.0.1;
281+/// the webview would silently drop such a cookie and the user could never stay
282+/// signed in. Both attributes are safe to drop here because the cookie never
283+/// leaves the device's loopback interface. `SameSite=None` is downgraded to
284+/// `Lax` for the same reason: browsers reject `None` without `Secure`.
285+fn rewrite_set_cookie(value: &HeaderValue) -> Option<HeaderValue> {
286+ let raw = value.to_str().ok()?;
287+ let kept: Vec<&str> = raw
288+ .split(';')
289+ .map(str::trim)
290+ .filter(|attr| {
291+ let lower = attr.to_ascii_lowercase();
292+ !(lower == "secure" || lower.starts_with("domain=") || lower == "samesite=none")
293+ })
294+ .collect();
295+ let mut cookie = kept.join("; ");
296+ if !cookie.to_ascii_lowercase().contains("samesite=") {
297+ cookie.push_str("; SameSite=Lax");
298+ }
299+ HeaderValue::from_str(&cookie).ok()
300+}
301+
302+/// Holds one upstream socket open per browser socket and pipes frames both
303+/// ways. The session cookie is forwarded on the handshake — it is what
304+/// authenticates the exam-room and whiteboard sockets.
305+async fn bridge_websocket(req: Request, upstream_url: String) -> Response {
306+ let (mut parts, _body) = req.into_parts();
307+
308+ let cookie = parts.headers.get(header::COOKIE).cloned();
309+ let protocol = parts.headers.get("sec-websocket-protocol").cloned();
310+
311+ let upgrade = match WebSocketUpgrade::from_request_parts(&mut parts, &()).await {
312+ Ok(upgrade) => upgrade,
313+ Err(rejection) => return rejection.into_response(),
314+ };
315+
316+ upgrade.on_upgrade(move |client| async move {
317+ let mut request = match upstream_url.as_str().into_client_request() {
318+ Ok(req) => req,
319+ Err(err) => {
320+ log::error!("bad websocket url {upstream_url}: {err}");
321+ return;
322+ }
323+ };
324+ if let Some(cookie) = cookie {
325+ request.headers_mut().insert(header::COOKIE, cookie);
326+ }
327+ if let Some(protocol) = protocol {
328+ request
329+ .headers_mut()
330+ .insert("sec-websocket-protocol", protocol);
331+ }
332+
333+ let upstream = match tokio_tungstenite::connect_async(request).await {
334+ Ok((stream, _)) => stream,
335+ Err(err) => {
336+ log::error!("websocket upstream {upstream_url} failed: {err}");
337+ return;
338+ }
339+ };
340+
341+ pipe(client, upstream).await;
342+ })
343+}
344+
345+async fn pipe(
346+ client: WebSocket,
347+ upstream: tokio_tungstenite::WebSocketStream<
348+ tokio_tungstenite::MaybeTlsStream<tokio::net::TcpStream>,
349+ >,
350+) {
351+ let (mut client_tx, mut client_rx) = client.split();
352+ let (mut up_tx, mut up_rx) = upstream.split();
353+
354+ let to_upstream = async {
355+ while let Some(Ok(msg)) = client_rx.next().await {
356+ let msg = match msg {
357+ AxumMessage::Text(text) => WsMessage::Text(text.as_str().into()),
358+ AxumMessage::Binary(bin) => WsMessage::Binary(bin),
359+ AxumMessage::Ping(p) => WsMessage::Ping(p),
360+ AxumMessage::Pong(p) => WsMessage::Pong(p),
361+ AxumMessage::Close(_) => break,
362+ };
363+ if up_tx.send(msg).await.is_err() {
364+ break;
365+ }
366+ }
367+ let _ = up_tx.close().await;
368+ };
369+
370+ let to_client = async {
371+ while let Some(Ok(msg)) = up_rx.next().await {
372+ let msg = match msg {
373+ WsMessage::Text(text) => AxumMessage::Text(text.as_str().into()),
374+ WsMessage::Binary(bin) => AxumMessage::Binary(bin),
375+ WsMessage::Ping(p) => AxumMessage::Ping(p),
376+ WsMessage::Pong(p) => AxumMessage::Pong(p),
377+ WsMessage::Close(_) => break,
378+ WsMessage::Frame(_) => continue,
379+ };
380+ if client_tx.send(msg).await.is_err() {
381+ break;
382+ }
383+ }
384+ let _ = client_tx.close().await;
385+ };
386+
387+ tokio::join!(to_upstream, to_client);
388+}
389+
390+#[cfg(test)]
391+mod tests {
392+ use super::*;
393+
394+ #[test]
395+ fn strips_the_api_prefix_like_the_web_deployment() {
396+ let uri: Uri = "/api/exams/1?page=2".parse().unwrap();
397+ assert_eq!(backend_path(&uri), "/exams/1?page=2");
398+ assert_eq!(backend_path(&"/api".parse().unwrap()), "");
399+ // A path that merely starts with the letters "api" is not the prefix.
400+ assert_eq!(backend_path(&"/apiary".parse().unwrap()), "/apiary");
401+ }
402+
403+ #[test]
404+ fn makes_the_session_cookie_storable_on_a_loopback_origin() {
405+ let raw = HeaderValue::from_static(
406+ "session=abc; Path=/; Domain=api.hezarfen.co; Secure; HttpOnly; SameSite=None",
407+ );
408+ let out = rewrite_set_cookie(&raw).unwrap();
409+ let out = out.to_str().unwrap();
410+ assert!(!out.to_ascii_lowercase().contains("secure"));
411+ assert!(!out.to_ascii_lowercase().contains("domain="));
412+ assert!(out.contains("SameSite=Lax"));
413+ assert!(out.contains("HttpOnly"));
414+ assert!(out.starts_with("session=abc"));
415+ }
416+}
src-tauri/tauri.conf.jsonadded+35 -0
@@ -0,0 +1,35 @@
1+{
2+ "$schema": "https://schema.tauri.app/config/2",
3+ "productName": "Hezarfen",
4+ "version": "0.1.0",
5+ "identifier": "co.hezarfen.app",
6+ "build": {
7+ "beforeDevCommand": "bun run frontend:dev",
8+ "devUrl": "http://localhost:5173",
9+ "beforeBuildCommand": "bun run frontend:build",
10+ "frontendDist": "../frontend/dist"
11+ },
12+ "app": {
13+ "windows": [],
14+ "security": {
15+ "csp": null
16+ }
17+ },
18+ "bundle": {
19+ "active": true,
20+ "targets": "all",
21+ "icon": [
22+ "icons/32x32.png",
23+ "icons/128x128.png",
24+ "icons/128x128@2x.png",
25+ "icons/icon.icns",
26+ "icons/icon.ico"
27+ ],
28+ "android": {
29+ "minSdkVersion": 24
30+ },
31+ "iOS": {
32+ "minimumSystemVersion": "13.0"
33+ }
34+ }
35+}