chore(dev): optional MCP bridge for UI automation
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

Enable with: pnpm tauri dev -- --features mcp-bridge (debug only).
This commit is contained in:
1xDed committed 2026-11-27 03:11:27 +03:00
1 parent cf5fb43377
commit c560f8ae1b
8 files changed
+587 -94

No files matched your search

+398 -91
View File
@@ -73,11 +73,11 @@ dependencies = [
"clipboard-win",
"image",
"log",
"objc2",
"objc2-app-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-core-foundation",
"objc2-core-graphics",
"objc2-foundation",
"objc2-foundation 0.3.2",
"parking_lot",
"percent-encoding",
"windows-sys 0.61.2",
@@ -320,6 +320,7 @@ dependencies = [
"tauri-plugin-global-shortcut",
"tauri-plugin-localhost",
"tauri-plugin-log",
"tauri-plugin-mcp-bridge",
"tauri-plugin-notification",
"tauri-plugin-process",
"tauri-plugin-shell",
@@ -338,13 +339,22 @@ dependencies = [
"generic-array",
]
[[package]]
name = "block2"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f"
dependencies = [
"objc2 0.5.3",
]
[[package]]
name = "block2"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5"
dependencies = [
"objc2",
"objc2 0.6.5",
]
[[package]]
@@ -794,6 +804,12 @@ dependencies = [
"syn 3.0.9",
]
[[package]]
name = "data-encoding"
version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06"
[[package]]
name = "dbus"
version = "0.9.12"
@@ -904,9 +920,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38"
dependencies = [
"bitflags 2.13.2",
"block2",
"block2 0.6.2",
"libc",
"objc2",
"objc2 0.6.5",
]
[[package]]
@@ -1604,8 +1620,8 @@ checksum = "8c386b0a4a70cb2d39fffd74480f985b6f0bfbcb934b6a6b6b7e630e448f242e"
dependencies = [
"crossbeam-channel",
"keyboard-types 0.7.0",
"objc2",
"objc2-app-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"once_cell",
"serde",
"thiserror 2.0.21",
@@ -2005,6 +2021,8 @@ dependencies = [
"num-traits",
"png 0.18.1",
"tiff",
"zune-core",
"zune-jpeg",
]
[[package]]
@@ -2380,8 +2398,8 @@ checksum = "fd604973958ddcc11b561193c0fb96ba146506ef2f231ef2e7c35fd2cbc9beca"
dependencies = [
"cc",
"log",
"objc2",
"objc2-foundation",
"objc2 0.6.5",
"objc2-foundation 0.3.2",
"time",
"uuid",
]
@@ -2475,10 +2493,10 @@ dependencies = [
"dpi",
"gtk",
"keyboard-types 0.8.3",
"objc2",
"objc2-app-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-core-foundation",
"objc2-foundation",
"objc2-foundation 0.3.2",
"once_cell",
"png 0.18.1",
"serde",
@@ -2609,6 +2627,22 @@ dependencies = [
"libc",
]
[[package]]
name = "objc-sys"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310"
[[package]]
name = "objc2"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19d5490aaf8f1d7cf7688dfa9b0ce07900e168852c45cd2c03f534dfd27cfd0b"
dependencies = [
"objc-sys",
"objc2-encode",
]
[[package]]
name = "objc2"
version = "0.6.5"
@@ -2619,6 +2653,22 @@ dependencies = [
"objc2-exception-helper",
]
[[package]]
name = "objc2-app-kit"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff"
dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"libc",
"objc2 0.5.3",
"objc2-core-data 0.2.2",
"objc2-core-image 0.2.2",
"objc2-foundation 0.2.2",
"objc2-quartz-core 0.2.2",
]
[[package]]
name = "objc2-app-kit"
version = "0.3.2"
@@ -2626,12 +2676,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c"
dependencies = [
"bitflags 2.13.2",
"block2",
"objc2",
"block2 0.6.2",
"objc2 0.6.5",
"objc2-core-foundation",
"objc2-core-graphics",
"objc2-foundation",
"objc2-quartz-core",
"objc2-foundation 0.3.2",
"objc2-quartz-core 0.3.2",
]
[[package]]
name = "objc2-cloud-kit"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009"
dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"objc2 0.5.3",
"objc2-core-location 0.2.2",
"objc2-foundation 0.2.2",
]
[[package]]
@@ -2641,8 +2704,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c"
dependencies = [
"bitflags 2.13.2",
"objc2",
"objc2-foundation",
"objc2 0.6.5",
"objc2-foundation 0.3.2",
]
[[package]]
name = "objc2-contacts"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889"
dependencies = [
"block2 0.5.1",
"objc2 0.5.3",
"objc2-foundation 0.2.2",
]
[[package]]
name = "objc2-core-data"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef"
dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"objc2 0.5.3",
"objc2-foundation 0.2.2",
]
[[package]]
@@ -2651,8 +2737,8 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa"
dependencies = [
"objc2",
"objc2-foundation",
"objc2 0.6.5",
"objc2-foundation 0.3.2",
]
[[package]]
@@ -2663,7 +2749,7 @@ checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
dependencies = [
"bitflags 2.13.2",
"dispatch2",
"objc2",
"objc2 0.6.5",
]
[[package]]
@@ -2674,19 +2760,43 @@ checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807"
dependencies = [
"bitflags 2.13.2",
"dispatch2",
"objc2",
"objc2 0.6.5",
"objc2-core-foundation",
"objc2-io-surface",
]
[[package]]
name = "objc2-core-image"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80"
dependencies = [
"block2 0.5.1",
"objc2 0.5.3",
"objc2-foundation 0.2.2",
"objc2-metal",
]
[[package]]
name = "objc2-core-image"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006"
dependencies = [
"objc2",
"objc2-foundation",
"objc2 0.6.5",
"objc2-foundation 0.3.2",
]
[[package]]
name = "objc2-core-location"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781"
dependencies = [
"block2 0.5.1",
"objc2 0.5.3",
"objc2-contacts",
"objc2-foundation 0.2.2",
]
[[package]]
@@ -2695,8 +2805,8 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca347214e24bc973fc025fd0d36ebb179ff30536ed1f80252706db19ee452009"
dependencies = [
"objc2",
"objc2-foundation",
"objc2 0.6.5",
"objc2-foundation 0.3.2",
]
[[package]]
@@ -2706,7 +2816,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d"
dependencies = [
"bitflags 2.13.2",
"objc2",
"objc2 0.6.5",
"objc2-core-foundation",
"objc2-core-graphics",
]
@@ -2726,6 +2836,18 @@ dependencies = [
"cc",
]
[[package]]
name = "objc2-foundation"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8"
dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"libc",
"objc2 0.5.3",
]
[[package]]
name = "objc2-foundation"
version = "0.3.2"
@@ -2733,9 +2855,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
dependencies = [
"bitflags 2.13.2",
"block2",
"block2 0.6.2",
"libc",
"objc2",
"objc2 0.6.5",
"objc2-core-foundation",
]
@@ -2746,10 +2868,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d"
dependencies = [
"bitflags 2.13.2",
"objc2",
"objc2 0.6.5",
"objc2-core-foundation",
]
[[package]]
name = "objc2-link-presentation"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398"
dependencies = [
"block2 0.5.1",
"objc2 0.5.3",
"objc2-app-kit 0.2.2",
"objc2-foundation 0.2.2",
]
[[package]]
name = "objc2-metal"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6"
dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"objc2 0.5.3",
"objc2-foundation 0.2.2",
]
[[package]]
name = "objc2-osa-kit"
version = "0.3.2"
@@ -2757,9 +2903,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f112d1746737b0da274ef79a23aac283376f335f4095a083a267a082f21db0c0"
dependencies = [
"bitflags 2.13.2",
"objc2",
"objc2-app-kit",
"objc2-foundation",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-foundation 0.3.2",
]
[[package]]
name = "objc2-quartz-core"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a"
dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"objc2 0.5.3",
"objc2-foundation 0.2.2",
"objc2-metal",
]
[[package]]
@@ -2769,9 +2928,40 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f"
dependencies = [
"bitflags 2.13.2",
"objc2",
"objc2 0.6.5",
"objc2-core-foundation",
"objc2-foundation",
"objc2-foundation 0.3.2",
]
[[package]]
name = "objc2-symbols"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc"
dependencies = [
"objc2 0.5.3",
"objc2-foundation 0.2.2",
]
[[package]]
name = "objc2-ui-kit"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f"
dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"objc2 0.5.3",
"objc2-cloud-kit 0.2.2",
"objc2-core-data 0.2.2",
"objc2-core-image 0.2.2",
"objc2-core-location 0.2.2",
"objc2-foundation 0.2.2",
"objc2-link-presentation",
"objc2-quartz-core 0.2.2",
"objc2-symbols",
"objc2-uniform-type-identifiers",
"objc2-user-notifications 0.2.2",
]
[[package]]
@@ -2781,18 +2971,42 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22"
dependencies = [
"bitflags 2.13.2",
"block2",
"objc2",
"objc2-cloud-kit",
"objc2-core-data",
"block2 0.6.2",
"objc2 0.6.5",
"objc2-cloud-kit 0.3.2",
"objc2-core-data 0.3.2",
"objc2-core-foundation",
"objc2-core-graphics",
"objc2-core-image",
"objc2-core-location",
"objc2-core-image 0.3.2",
"objc2-core-location 0.3.2",
"objc2-core-text",
"objc2-foundation",
"objc2-quartz-core",
"objc2-user-notifications",
"objc2-foundation 0.3.2",
"objc2-quartz-core 0.3.2",
"objc2-user-notifications 0.3.2",
]
[[package]]
name = "objc2-uniform-type-identifiers"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe"
dependencies = [
"block2 0.5.1",
"objc2 0.5.3",
"objc2-foundation 0.2.2",
]
[[package]]
name = "objc2-user-notifications"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3"
dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"objc2 0.5.3",
"objc2-core-location 0.2.2",
"objc2-foundation 0.2.2",
]
[[package]]
@@ -2801,8 +3015,21 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9df9128cbbfef73cda168416ccf7f837b62737d748333bfe9ab71c245d76613e"
dependencies = [
"objc2",
"objc2-foundation",
"objc2 0.6.5",
"objc2-foundation 0.3.2",
]
[[package]]
name = "objc2-web-kit"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68bc69301064cebefc6c4c90ce9cba69225239e4b8ff99d445a2b5563797da65"
dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"objc2 0.5.3",
"objc2-app-kit 0.2.2",
"objc2-foundation 0.2.2",
]
[[package]]
@@ -2812,11 +3039,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f"
dependencies = [
"bitflags 2.13.2",
"block2",
"objc2",
"objc2-app-kit",
"block2 0.6.2",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-core-foundation",
"objc2-foundation",
"objc2-foundation 0.3.2",
]
[[package]]
@@ -2874,8 +3101,8 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "732c71caeaa72c065bb69d7ea08717bd3f4863a4f451402fc9513e29dbd5261b"
dependencies = [
"objc2",
"objc2-foundation",
"objc2 0.6.5",
"objc2-foundation 0.3.2",
"objc2-osa-kit",
"serde",
"serde_json",
@@ -3561,17 +3788,17 @@ version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a15ad77d9e70a92437d8f74c35d99b4e4691128df018833e99f90bcd36152672"
dependencies = [
"block2",
"block2 0.6.2",
"dispatch2",
"glib-sys",
"gobject-sys",
"gtk-sys",
"js-sys",
"log",
"objc2",
"objc2-app-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-core-foundation",
"objc2-foundation",
"objc2-foundation 0.3.2",
"raw-window-handle",
"wasm-bindgen",
"wasm-bindgen-futures",
@@ -4005,6 +4232,17 @@ dependencies = [
"stable_deref_trait",
]
[[package]]
name = "sha1"
version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8"
dependencies = [
"cfg-if",
"cpufeatures 0.2.17",
"digest",
]
[[package]]
name = "sha2"
version = "0.10.9"
@@ -4101,11 +4339,11 @@ dependencies = [
"bytemuck",
"js-sys",
"ndk",
"objc2",
"objc2 0.6.5",
"objc2-core-foundation",
"objc2-core-graphics",
"objc2-foundation",
"objc2-quartz-core",
"objc2-foundation 0.3.2",
"objc2-quartz-core 0.3.2",
"raw-window-handle",
"redox_syscall",
"tracing",
@@ -4292,7 +4530,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f37f381f4e048e6cdf038b5705f8cf14ad108279d46eb968140a7b291aba9400"
dependencies = [
"bitflags 2.13.2",
"block2",
"block2 0.6.2",
"core-foundation 0.10.1",
"core-graphics",
"crossbeam-channel",
@@ -4309,10 +4547,10 @@ dependencies = [
"ndk",
"ndk-context",
"ndk-sys",
"objc2",
"objc2-app-kit",
"objc2-foundation",
"objc2-ui-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-foundation 0.3.2",
"objc2-ui-kit 0.3.2",
"parking_lot",
"percent-encoding",
"raw-window-handle",
@@ -4375,11 +4613,11 @@ dependencies = [
"log",
"mime",
"muda",
"objc2",
"objc2-app-kit",
"objc2-foundation",
"objc2-ui-kit",
"objc2-web-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-foundation 0.3.2",
"objc2-ui-kit 0.3.2",
"objc2-web-kit 0.3.2",
"percent-encoding",
"plist",
"raw-window-handle",
@@ -4527,7 +4765,7 @@ dependencies = [
"dunce",
"glob",
"log",
"objc2-foundation",
"objc2-foundation 0.3.2",
"percent-encoding",
"schemars 0.8.22",
"serde",
@@ -4578,8 +4816,8 @@ dependencies = [
"android_logger",
"fern",
"log",
"objc2",
"objc2-foundation",
"objc2 0.6.5",
"objc2-foundation 0.3.2",
"serde",
"serde_json",
"serde_repr",
@@ -4590,6 +4828,38 @@ dependencies = [
"time",
]
[[package]]
name = "tauri-plugin-mcp-bridge"
version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aab4a85c370385dd0f7384855a75d480936d6c1f8a489fadd9fb878d4f0ef4b2"
dependencies = [
"base64 0.22.1",
"block2 0.5.1",
"cairo-rs",
"futures-util",
"gio",
"image",
"jni 0.21.1",
"objc2 0.5.3",
"objc2-app-kit 0.2.2",
"objc2-foundation 0.2.2",
"objc2-ui-kit 0.2.2",
"objc2-web-kit 0.2.2",
"serde",
"serde_json",
"tauri",
"tauri-plugin",
"thiserror 1.0.69",
"tokio",
"tokio-tungstenite",
"uuid",
"webkit2gtk",
"webview2-com",
"windows",
"windows-core",
]
[[package]]
name = "tauri-plugin-notification"
version = "2.7.0"
@@ -4735,9 +5005,9 @@ dependencies = [
"gtk",
"http",
"jni 0.21.1",
"objc2",
"objc2-ui-kit",
"objc2-web-kit",
"objc2 0.6.5",
"objc2-ui-kit 0.3.2",
"objc2-web-kit 0.3.2",
"raw-window-handle",
"serde",
"serde_json",
@@ -4759,8 +5029,8 @@ dependencies = [
"http",
"jni 0.21.1",
"log",
"objc2",
"objc2-app-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"once_cell",
"percent-encoding",
"raw-window-handle",
@@ -4980,7 +5250,9 @@ dependencies = [
"bytes",
"libc",
"mio",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
"socket2",
"tokio-macros",
"windows-sys 0.61.2",
@@ -5007,6 +5279,18 @@ dependencies = [
"tokio",
]
[[package]]
name = "tokio-tungstenite"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d25a406cddcc431a75d3d9afc6a7c0f7428d4891dd973e4d54c56b46127bf857"
dependencies = [
"futures-util",
"log",
"tokio",
"tungstenite",
]
[[package]]
name = "tokio-util"
version = "0.7.20"
@@ -5203,11 +5487,11 @@ dependencies = [
"dirs",
"libappindicator",
"muda",
"objc2",
"objc2-app-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-core-foundation",
"objc2-core-graphics",
"objc2-foundation",
"objc2-foundation 0.3.2",
"once_cell",
"png 0.18.1",
"serde",
@@ -5232,6 +5516,23 @@ version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
[[package]]
name = "tungstenite"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8628dcc84e5a09eb3d8423d6cb682965dea9133204e8fb3efee74c2a0c259442"
dependencies = [
"bytes",
"data-encoding",
"http",
"httparse",
"log",
"rand 0.9.5",
"sha1",
"thiserror 2.0.21",
"utf-8",
]
[[package]]
name = "typed-path"
version = "0.12.4"
@@ -5304,6 +5605,12 @@ dependencies = [
"url",
]
[[package]]
name = "utf-8"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
[[package]]
name = "utf8_iter"
version = "1.0.4"
@@ -5711,11 +6018,11 @@ version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "111e51caca442cafd9bab396628ac4d814880eaea4e63dfd76a12e9f342b5580"
dependencies = [
"objc2",
"objc2-app-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-core-foundation",
"objc2-foundation",
"objc2-quartz-core",
"objc2-foundation 0.3.2",
"objc2-quartz-core 0.3.2",
"raw-window-handle",
"windows-sys 0.61.2",
"windows-version",
@@ -6147,7 +6454,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a819957a01b3119af85e638a38d242af76dbc87d130dca67bfd0441072e21ff0"
dependencies = [
"base64 0.22.1",
"block2",
"block2 0.6.2",
"cookie",
"crossbeam-channel",
"dirs",
@@ -6161,12 +6468,12 @@ dependencies = [
"jni 0.21.1",
"libc",
"ndk",
"objc2",
"objc2-app-kit",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-core-foundation",
"objc2-foundation",
"objc2-ui-kit",
"objc2-web-kit",
"objc2-foundation 0.3.2",
"objc2-ui-kit 0.3.2",
"objc2-web-kit 0.3.2",
"once_cell",
"percent-encoding",
"raw-window-handle",
+3
View File
@@ -30,11 +30,14 @@ tauri-plugin-notification = "2.0.0-rc.1"
tauri-plugin-upload = "2.0.0"
tauri-plugin-dialog = "2.0.0"
tauri-plugin-shell = "2.3.5"
tauri-plugin-mcp-bridge = { version = "0.13.2", optional = true }
[features]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
default = [ "custom-protocol" ]
# Dev-only MCP bridge for UI automation: `pnpm tauri dev -- --features mcp-bridge`
mcp-bridge = ["dep:tauri-plugin-mcp-bridge"]
# this feature is used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = [ "tauri/custom-protocol" ]
+1
View File
@@ -17,6 +17,7 @@
"updater:allow-install",
"notification:default",
"core:webview:allow-internal-toggle-devtools",
"core:window:allow-start-dragging",
"dialog:default",
"upload:allow-download",
"clipboard-manager:allow-write-text",
+8
View File
@@ -0,0 +1,8 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "mcp-bridge",
"description": "Dev-only MCP bridge for UI automation",
"platforms": ["macOS", "windows", "linux"],
"windows": ["main"],
"permissions": ["mcp-bridge:default"]
}
+1 -1
View File
@@ -1 +1 @@
{"clipboard-manager":{"default_permission":{"identifier":"default","description":"No features are enabled by default, as we believe\nthe clipboard can be inherently dangerous and it is \napplication specific if read and/or write access is needed.\n\nClipboard interaction needs to be explicitly enabled.\n","permissions":[]},"permissions":{"allow-clear":{"identifier":"allow-clear","description":"Enables the clear command without any pre-configured scope.","commands":{"allow":["clear"],"deny":[]}},"allow-read-image":{"identifier":"allow-read-image","description":"Enables the read_image command without any pre-configured scope.","commands":{"allow":["read_image"],"deny":[]}},"allow-read-text":{"identifier":"allow-read-text","description":"Enables the read_text command without any pre-configured scope.","commands":{"allow":["read_text"],"deny":[]}},"allow-write-html":{"identifier":"allow-write-html","description":"Enables the write_html command without any pre-configured scope.","commands":{"allow":["write_html"],"deny":[]}},"allow-write-image":{"identifier":"allow-write-image","description":"Enables the write_image command without any pre-configured scope.","commands":{"allow":["write_image"],"deny":[]}},"allow-write-secret":{"identifier":"allow-write-secret","description":"Enables the write_secret command without any pre-configured scope.","commands":{"allow":["write_secret"],"deny":[]}},"allow-write-text":{"identifier":"allow-write-text","description":"Enables the write_text command without any pre-configured scope.","commands":{"allow":["write_text"],"deny":[]}},"deny-clear":{"identifier":"deny-clear","description":"Denies the clear command without any pre-configured scope.","commands":{"allow":[],"deny":["clear"]}},"deny-read-image":{"identifier":"deny-read-image","description":"Denies the read_image command without any pre-configured scope.","commands":{"allow":[],"deny":["read_image"]}},"deny-read-text":{"identifier":"deny-read-text","description":"Denies the read_text command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text"]}},"deny-write-html":{"identifier":"deny-write-html","description":"Denies the write_html command without any pre-configured scope.","commands":{"allow":[],"deny":["write_html"]}},"deny-write-image":{"identifier":"deny-write-image","description":"Denies the write_image command without any pre-configured scope.","commands":{"allow":[],"deny":["write_image"]}},"deny-write-secret":{"identifier":"deny-write-secret","description":"Denies the write_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["write_secret"]}},"deny-write-text":{"identifier":"deny-write-text","description":"Denies the write_text command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text"]}}},"permission_sets":{},"global_scope_schema":null},"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-exit":{"identifier":"allow-exit","description":"Enables the exit command without any pre-configured scope.","commands":{"allow":["exit"],"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.","coLine truncated
{"clipboard-manager":{"default_permission":{"identifier":"default","description":"No features are enabled by default, as we believe\nthe clipboard can be inherently dangerous and it is \napplication specific if read and/or write access is needed.\n\nClipboard interaction needs to be explicitly enabled.\n","permissions":[]},"permissions":{"allow-clear":{"identifier":"allow-clear","description":"Enables the clear command without any pre-configured scope.","commands":{"allow":["clear"],"deny":[]}},"allow-read-image":{"identifier":"allow-read-image","description":"Enables the read_image command without any pre-configured scope.","commands":{"allow":["read_image"],"deny":[]}},"allow-read-text":{"identifier":"allow-read-text","description":"Enables the read_text command without any pre-configured scope.","commands":{"allow":["read_text"],"deny":[]}},"allow-write-html":{"identifier":"allow-write-html","description":"Enables the write_html command without any pre-configured scope.","commands":{"allow":["write_html"],"deny":[]}},"allow-write-image":{"identifier":"allow-write-image","description":"Enables the write_image command without any pre-configured scope.","commands":{"allow":["write_image"],"deny":[]}},"allow-write-secret":{"identifier":"allow-write-secret","description":"Enables the write_secret command without any pre-configured scope.","commands":{"allow":["write_secret"],"deny":[]}},"allow-write-text":{"identifier":"allow-write-text","description":"Enables the write_text command without any pre-configured scope.","commands":{"allow":["write_text"],"deny":[]}},"deny-clear":{"identifier":"deny-clear","description":"Denies the clear command without any pre-configured scope.","commands":{"allow":[],"deny":["clear"]}},"deny-read-image":{"identifier":"deny-read-image","description":"Denies the read_image command without any pre-configured scope.","commands":{"allow":[],"deny":["read_image"]}},"deny-read-text":{"identifier":"deny-read-text","description":"Denies the read_text command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text"]}},"deny-write-html":{"identifier":"deny-write-html","description":"Denies the write_html command without any pre-configured scope.","commands":{"allow":[],"deny":["write_html"]}},"deny-write-image":{"identifier":"deny-write-image","description":"Denies the write_image command without any pre-configured scope.","commands":{"allow":[],"deny":["write_image"]}},"deny-write-secret":{"identifier":"deny-write-secret","description":"Denies the write_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["write_secret"]}},"deny-write-text":{"identifier":"deny-write-text","description":"Denies the write_text command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text"]}}},"permission_sets":{},"global_scope_schema":null},"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-exit":{"identifier":"allow-exit","description":"Enables the exit command without any pre-configured scope.","commands":{"allow":["exit"],"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.","coLine truncated
+1 -1
View File
@@ -1 +1 @@
{"desktop-capability":{"identifier":"desktop-capability","description":"","local":true,"windows":["main"],"permissions":["window-state:default","global-shortcut:default","global-shortcut:allow-is-registered","global-shortcut:allow-register","global-shortcut:allow-unregister","shell:default"],"platforms":["macOS","windows","linux"]},"main-capabilities":{"identifier":"main-capabilities","description":"Capability for desktop window","local":true,"windows":["main"],"permissions":["store:allow-get","store:allow-set","store:allow-save","store:allow-clear","store:allow-delete","store:allow-keys","store:allow-load","updater:allow-check","updater:allow-download-and-install","updater:allow-download","updater:allow-install","notification:default","core:webview:allow-internal-toggle-devtools","dialog:default","upload:allow-download","clipboard-manager:allow-write-text","shell:default","shell:allow-open"]},"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["main"],"permissions":["core:path:default","core:event:default","core:window:default","core:app:default","core:resources:default","core:menu:default","core:tray:default","core:window:allow-set-fullscreen","shell:default"]}}
{"desktop-capability":{"identifier":"desktop-capability","description":"","local":true,"windows":["main"],"permissions":["window-state:default","global-shortcut:default","global-shortcut:allow-is-registered","global-shortcut:allow-register","global-shortcut:allow-unregister","shell:default"],"platforms":["macOS","windows","linux"]},"main-capabilities":{"identifier":"main-capabilities","description":"Capability for desktop window","local":true,"windows":["main"],"permissions":["store:allow-get","store:allow-set","store:allow-save","store:allow-clear","store:allow-delete","store:allow-keys","store:allow-load","updater:allow-check","updater:allow-download-and-install","updater:allow-download","updater:allow-install","notification:default","core:webview:allow-internal-toggle-devtools","core:window:allow-start-dragging","dialog:default","upload:allow-download","clipboard-manager:allow-write-text","shell:default","shell:allow-open"]},"mcp-bridge":{"identifier":"mcp-bridge","description":"Dev-only MCP bridge for UI automation","local":true,"windows":["main"],"permissions":["mcp-bridge:default"],"platforms":["macOS","windows","linux"]},"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["main"],"permissions":["core:path:default","core:event:default","core:window:default","core:app:default","core:resources:default","core:menu:default","core:tray:default","core:window:allow-set-fullscreen","shell:default"]}}
+162
View File
@@ -2666,6 +2666,168 @@
"const": "log:deny-log",
"markdownDescription": "Denies the log command without any pre-configured scope."
},
{
"description": "Default permissions for MCP Bridge plugin\n#### This default permission set includes:\n\n- `allow-capture-native-screenshot`\n- `allow-emit-event`\n- `allow-execute-command`\n- `allow-execute-js`\n- `allow-get-backend-state`\n- `allow-get-ipc-events`\n- `allow-get-window-info`\n- `allow-list-windows`\n- `allow-report-ipc-event`\n- `allow-request-script-injection`\n- `allow-script-result`\n- `allow-start-ipc-monitor`\n- `allow-stop-ipc-monitor`",
"type": "string",
"const": "mcp-bridge:default",
"markdownDescription": "Default permissions for MCP Bridge plugin\n#### This default permission set includes:\n\n- `allow-capture-native-screenshot`\n- `allow-emit-event`\n- `allow-execute-command`\n- `allow-execute-js`\n- `allow-get-backend-state`\n- `allow-get-ipc-events`\n- `allow-get-window-info`\n- `allow-list-windows`\n- `allow-report-ipc-event`\n- `allow-request-script-injection`\n- `allow-script-result`\n- `allow-start-ipc-monitor`\n- `allow-stop-ipc-monitor`"
},
{
"description": "Enables the capture_native_screenshot command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-capture-native-screenshot",
"markdownDescription": "Enables the capture_native_screenshot command without any pre-configured scope."
},
{
"description": "Enables the emit_event command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-emit-event",
"markdownDescription": "Enables the emit_event command without any pre-configured scope."
},
{
"description": "Enables the execute_command command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-execute-command",
"markdownDescription": "Enables the execute_command command without any pre-configured scope."
},
{
"description": "Enables the execute_js command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-execute-js",
"markdownDescription": "Enables the execute_js command without any pre-configured scope."
},
{
"description": "Enables the get_backend_state command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-get-backend-state",
"markdownDescription": "Enables the get_backend_state command without any pre-configured scope."
},
{
"description": "Enables the get_ipc_events command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-get-ipc-events",
"markdownDescription": "Enables the get_ipc_events command without any pre-configured scope."
},
{
"description": "Enables the get_window_info command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-get-window-info",
"markdownDescription": "Enables the get_window_info command without any pre-configured scope."
},
{
"description": "Enables the list_windows command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-list-windows",
"markdownDescription": "Enables the list_windows command without any pre-configured scope."
},
{
"description": "Enables the report_ipc_event command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-report-ipc-event",
"markdownDescription": "Enables the report_ipc_event command without any pre-configured scope."
},
{
"description": "Enables the request_script_injection command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-request-script-injection",
"markdownDescription": "Enables the request_script_injection command without any pre-configured scope."
},
{
"description": "Enables the script_result command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-script-result",
"markdownDescription": "Enables the script_result command without any pre-configured scope."
},
{
"description": "Enables the start_ipc_monitor command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-start-ipc-monitor",
"markdownDescription": "Enables the start_ipc_monitor command without any pre-configured scope."
},
{
"description": "Enables the stop_ipc_monitor command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:allow-stop-ipc-monitor",
"markdownDescription": "Enables the stop_ipc_monitor command without any pre-configured scope."
},
{
"description": "Denies the capture_native_screenshot command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-capture-native-screenshot",
"markdownDescription": "Denies the capture_native_screenshot command without any pre-configured scope."
},
{
"description": "Denies the emit_event command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-emit-event",
"markdownDescription": "Denies the emit_event command without any pre-configured scope."
},
{
"description": "Denies the execute_command command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-execute-command",
"markdownDescription": "Denies the execute_command command without any pre-configured scope."
},
{
"description": "Denies the execute_js command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-execute-js",
"markdownDescription": "Denies the execute_js command without any pre-configured scope."
},
{
"description": "Denies the get_backend_state command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-get-backend-state",
"markdownDescription": "Denies the get_backend_state command without any pre-configured scope."
},
{
"description": "Denies the get_ipc_events command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-get-ipc-events",
"markdownDescription": "Denies the get_ipc_events command without any pre-configured scope."
},
{
"description": "Denies the get_window_info command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-get-window-info",
"markdownDescription": "Denies the get_window_info command without any pre-configured scope."
},
{
"description": "Denies the list_windows command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-list-windows",
"markdownDescription": "Denies the list_windows command without any pre-configured scope."
},
{
"description": "Denies the report_ipc_event command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-report-ipc-event",
"markdownDescription": "Denies the report_ipc_event command without any pre-configured scope."
},
{
"description": "Denies the request_script_injection command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-request-script-injection",
"markdownDescription": "Denies the request_script_injection command without any pre-configured scope."
},
{
"description": "Denies the script_result command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-script-result",
"markdownDescription": "Denies the script_result command without any pre-configured scope."
},
{
"description": "Denies the start_ipc_monitor command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-start-ipc-monitor",
"markdownDescription": "Denies the start_ipc_monitor command without any pre-configured scope."
},
{
"description": "Denies the stop_ipc_monitor command without any pre-configured scope.",
"type": "string",
"const": "mcp-bridge:deny-stop-ipc-monitor",
"markdownDescription": "Denies the stop_ipc_monitor command without any pre-configured scope."
},
{
"description": "This permission set configures which\nnotification features are by default exposed.\n\n#### Granted Permissions\n\nIt allows all notification related features.\n\n\n#### This default permission set includes:\n\n- `allow-is-permission-granted`\n- `allow-request-permission`\n- `allow-notify`\n- `allow-register-action-types`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-cancel`\n- `allow-get-pending`\n- `allow-remove-active`\n- `allow-get-active`\n- `allow-check-permissions`\n- `allow-show`\n- `allow-batch`\n- `allow-list-channels`\n- `allow-delete-channel`\n- `allow-create-channel`\n- `allow-permission-state`",
"type": "string",
+13 -1
View File
@@ -3,7 +3,19 @@
use tauri_plugin_log::{fern::colors::ColoredLevelConfig, Target, TargetKind};
fn main() {
tauri::Builder::default()
let mut builder = tauri::Builder::default();
// Dev-only MCP bridge: `pnpm tauri dev -- --features mcp-bridge`.
#[cfg(all(debug_assertions, feature = "mcp-bridge"))]
{
builder = builder.plugin(
tauri_plugin_mcp_bridge::Builder::new()
.bind_address("127.0.0.1")
.build(),
);
}
builder
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_global_shortcut::Builder::new().build())
.plugin(tauri_plugin_window_state::Builder::new().build())