Control a real USB-connected iPhone from Linux (no Mac, no paid developer account) and expose it to AI agents as MCP tools
Rust ai-agentautomationclaudeclaude-codedockeriosiphonelinuxmcpmcp-servermodel-context-protocolrustwebdriveragent
chore(deps): update dependencies, MSRV 1.89 (#119)
Qinghe Lib58a2a770c47
diff --git a/.github/dependabot.yml b/.github/dependabot.ymlindex 008c15b..53fca3a 100644--- a/.github/dependabot.yml+++ b/.github/dependabot.yml@@ -19,6 +19,6 @@ updates:schedule:interval: weeklyignore:- # 这个 action 的版本号就是 Rust 工具链版本:@1.99.1 是开发/CI 用的版本,@1.88.0 是 MSRV(rust-version),+ # 这个 action 的版本号就是 Rust 工具链版本:@1.99.1 是开发/CI 用的版本,@1.89.0 是 MSRV(rust-version),# 都是有意固定的,手动升级- dependency-name: dtolnay/rust-toolchaindiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex d0adde8..b526807 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -24,7 +24,7 @@ jobs:outputs:code: ${{ steps.filter.outputs.code }}steps:- - uses: dorny/paths-filter@v3+ - uses: dorny/paths-filter@v4id: filterwith:predicate-quantifier: every@@ -122,7 +122,7 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v7- - uses: dtolnay/[email protected]+ - uses: dtolnay/[email protected]- uses: Swatinem/rust-cache@v2- run: cargo check --workspace --lockeddiff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex f0cca54..172907f 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -32,7 +32,7 @@ jobs:- uses: pnpm/action-setup@v6with:package_json_file: website/package.json- - uses: actions/setup-node@v4+ - uses: actions/setup-node@v7with:node-version: "22"cache: pnpmdiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 999a257..0e2e36b 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,12 @@ All notable changes to this project are documented here. The format is based on- While WebDriverAgent is unavailable, `iphone_type_text` can enter Chinese and other text a US keyboard can't type: HID puts it on the phone's pasteboard (CoreDevice `pasteboardservice`, checked by reading it back) and presses Cmd-V, so the input method doesn't turn it into pinyin. iOS treats that text as coming from another app and asks “… would like to paste from dtpasteboardd” every time (iPhone 15 Pro Max, iOS 27.2.1, Notes); the answer says to take a screenshot and tap “Allow Paste”. Changing the pasteboard closes that prompt, so what was on it before is put back 45 s later (or before the next such paste, or when another device is chosen), and only if the pasted text is still there. Return isn't pressed with `submit`, since with the prompt up it would choose “Don't Allow Paste”. English letters and symbols are still typed as keys and don't touch the pasteboard.+### Changed++- Building from source needs Rust 1.89 (was 1.88), for uuid 1.29.+- Dependencies updated: rmcp 3.10.0, rcgen 0.14.10, console 0.16.6, sha2 0.11.1, uuid 1.29.2, zip 9.5.1, flate2 1.1.11, and 26 indirect ones within their compatible versions (rustls-webpki, mio, openssl, webpki-roots and others). rcgen keeps to ring only (its default would also build aws-lc). The vendored plume_core makes its signing request with rcgen 0.14 and apple-codesign uses dialoguer 0.12, so each of rcgen and console is built once instead of in two versions. x509-certificate stays at 0.24 and rsa at 0.9: apple-codesign and its dependencies use those, and a newer copy of ours would only be built beside them. The control page's self-made HTTPS certificate is still ECDSA P-256; one made before keeps working.+- CI: actions/setup-node 7, dorny/paths-filter 4. Website: vue 3.5.45.+### Fixed- A tap or swipe a minute or more after the last one no longer waits for the screen size to be measured again first: that takes WDA 0.95 s on an iPad mini 5 (iPadOS 26.7.3), where the first tap after a pause took 1.7 s instead of 0.9. The size is now measured again in the background while nobody acts (only Display Zoom changes it), and on rotation as before.diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.mdindex 4da619c..fb680d9 100644--- a/CHANGELOG.zh-CN.md+++ b/CHANGELOG.zh-CN.md@@ -10,6 +10,12 @@- WebDriverAgent 不可用时,`iphone_type_text` 也能输入中文等美式键盘按不出来的文字:经 HID 把它写进手机剪贴板(CoreDevice `pasteboardservice`,写完读回核对),再按 Cmd-V,输入法不会把它当成拼音。iOS 把这段文字当成别的 App 的,每次都会问「…想从“dtpasteboardd”粘贴」(iPhone 15 Pro Max、iOS 27.2.1 的备忘录实测);结果里会提示截图后点「允许粘贴」。剪贴板一改这个弹窗就消失,所以原来的内容 45 秒后才写回(下一次这样粘贴前、换设备时也会写回),而且只在剪贴板里还是粘贴的那段文字时才写。带 `submit` 时不按回车:弹窗还在时回车会选中「不允许粘贴」。英文和符号仍然逐键输入,不动剪贴板。+### 变更++- 从源码编译需要 Rust 1.89(原来 1.88),因为 uuid 1.29 要求它。+- 依赖升级:rmcp 3.10.0、rcgen 0.14.10、console 0.16.6、sha2 0.11.1、uuid 1.29.2、zip 9.5.1、flate2 1.1.11,以及 26 个间接依赖的兼容版本(rustls-webpki、mio、openssl、webpki-roots 等)。rcgen 只用 ring(它默认还会编 aws-lc)。vendor 里的 plume_core 生成签名请求改用 rcgen 0.14、apple-codesign 改用 dialoguer 0.12,rcgen 和 console 各只编一份,不再两个版本并存。x509-certificate 留在 0.24、rsa 留在 0.9:apple-codesign 和它的依赖用的是这两个版本,我们升了只会在旁边多编一份。控制台自己生成的 HTTPS 证书仍是 ECDSA P-256,以前生成的照常能用。+- CI:actions/setup-node 7、dorny/paths-filter 4。网站:vue 3.5.45。+### 修复- 隔了一分钟以上的点按、滑动不再先等重新读屏幕尺寸:iPad mini 5(iPadOS 26.7.3)上 WDA 读一次要 0.95 秒,停一会儿后的第一次点按要 1.7 秒,平时 0.9 秒。尺寸现在在没人操作时于后台重读(只有「显示缩放」会改变它),转屏时照旧马上重读。diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex b7d669f..7b4e624 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -13,7 +13,7 @@ Most of the code comments, design documents and commit messages in this reposito## Building and testing without a phone-You need Rust 1.88 or later (CI pins 1.99.1) and a C compiler. Everything except the device tests runs offline:+You need Rust 1.89 or later (CI pins 1.99.1) and a C compiler. Everything except the device tests runs offline:```bash# --all-features also builds the debug-cmds feature, as CI doesdiff --git a/Cargo.lock b/Cargo.lockindex ed75ff4..20ef422 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -15,7 +15,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1973cfbc1a2daf9cf550e74e1f088c28e7f7d8c1e1418fb6c9dc5184b7e84c99"dependencies = ["crypto-common 0.2.2",- "inout 0.2.5",+ "inout 0.2.6",][[package]]@@ -31,9 +31,9 @@ dependencies = [[[package]]name = "aes"-version = "0.9.2"+version = "0.9.4"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f8eb277bec05f56a0e0591f155a484cbd0f4f07ff2905051a48c72f004f7ed58"+checksum = "fc0fc36d7440d015b45468ba08a21e80e056ebbd014c611c6298bb7503e04bd1"dependencies = ["cipher 0.5.2","cpubits",@@ -47,7 +47,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7f2b8006a0c83f52b62ba44a97b58bf76fe2f70a329e588f67f89691d93d498f"dependencies = ["aead",- "aes 0.9.2",+ "aes 0.9.4","cipher 0.5.2","ctr","ctutils",@@ -162,7 +162,7 @@ dependencies = ["apple-xar","base64 0.22.1","bcder",- "bitflags 2.13.2",+ "bitflags","bytes","chrono","clap",@@ -188,7 +188,7 @@ dependencies = ["once_cell","p12","p256",- "pem",+ "pem 3.0.6","pkcs1","pkcs8","plist",@@ -223,7 +223,7 @@ dependencies = ["x509","x509-certificate","xml-rs",- "yasna",+ "yasna 0.5.2","zeroize","zip","zip_structs",@@ -348,9 +348,9 @@ dependencies = [[[package]]name = "async-compression"-version = "0.4.51"+version = "0.4.52"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9d5755640120b24961f8231e05892e4a4f7e0d04e8aeca161508c9c397946970"+checksum = "6ad47a740fb906fffdd891e8b6d5fde2511600f7bfaebd68939fa08a14999459"dependencies = ["compression-codecs","compression-core",@@ -389,7 +389,7 @@ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -492,10 +492,13 @@ dependencies = [][[package]]-name = "bitflags"-version = "1.3.2"+name = "bit-vec"+version = "0.9.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"+checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51"+dependencies = [+ "serde",+][[package]]name = "bitflags"@@ -569,9 +572,9 @@ dependencies = [[[package]]name = "bumpalo"-version = "3.20.3"+version = "3.20.4"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"+checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db"[[package]]name = "bytemuck"@@ -643,9 +646,9 @@ dependencies = [[[package]]name = "cc"-version = "1.10.0"+version = "1.11.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "86e055fa6e3e40ad6187ba25b6855eeb635d5271f8e0f0e1e9a5826b8d75bea0"+checksum = "33ef9e3e8154a45c7a95cff4c1299702106ad94062d7bb85fdc5d3a5afd91d45"dependencies = ["find-msvc-tools","jobserver",@@ -708,7 +711,7 @@ checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c"dependencies = ["block-buffer 0.12.1","crypto-common 0.2.2",- "inout 0.2.5",+ "inout 0.2.6",][[package]]@@ -751,7 +754,7 @@ dependencies = ["heck","proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -805,9 +808,9 @@ dependencies = [[[package]]name = "compression-codecs"-version = "0.4.46"+version = "0.4.47"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "cae36683101b2899f48bd31f8db9839437356188e3b1ff23096e73dab09ba8fe"+checksum = "84f840cff84d10085260e460023934d0af699e71212b09b2a41452e8bd9cda43"dependencies = ["compression-core","flate2",@@ -822,15 +825,14 @@ checksum = "2ebdda89edc534bf8d5dd2857562633b6495557e5846552ade994b99ed13c36a"[[package]]name = "console"-version = "0.15.11"+version = "0.16.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8"+checksum = "e96a4956774c13c126a8b5af4daa79384f4d826534c95a02d76afb39e2ab64e3"dependencies = ["encode_unicode","libc",- "once_cell","unicode-width",- "windows-sys 0.59.0",+ "windows-sys 0.61.2",][[package]]@@ -841,9 +843,9 @@ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"[[package]]name = "const-oid"-version = "0.10.2"+version = "0.10.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"+checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a"[[package]]name = "const_panic"@@ -854,6 +856,15 @@ dependencies = ["typewit",]+[[package]]+name = "constant_time_eq"+version = "0.6.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9eb6feb175df65d0a3ccd3e73484e940d0ac664e8034f0519fd49a93db3071d9"+dependencies = [+ "rustversion",+]+[[package]]name = "cookie-factory"version = "0.3.3"@@ -933,9 +944,9 @@ dependencies = [[[package]]name = "crc32fast"-version = "1.5.3"+version = "1.5.5"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0ba106e844045ddc02c20768ac4b0b7cb45f2cc2ecbd833ac9f5dacb183c2055"+checksum = "2b929dd2a135771f40afabd1073f85eed59c800b7c61901e5c254270497dad64"dependencies = ["cfg-if",]@@ -979,9 +990,9 @@ dependencies = [[[package]]name = "crypto-bigint"-version = "0.7.10"+version = "0.7.11"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9c035cb64cba03dad2fb921f3e218785e8cf9a41790da5eb3a1400f62fa2be11"+checksum = "914c195c4d7fbc5ed7f88d14cbf85914d5c664967658d43404b263913a477e82"dependencies = ["cpubits","ctutils",@@ -1022,7 +1033,7 @@ dependencies = ["bytes","chrono","hex",- "pem",+ "pem 3.0.6","reqwest 0.12.28","ring","signature",@@ -1040,9 +1051,9 @@ dependencies = [[[package]]name = "ctutils"-version = "0.4.7"+version = "0.4.8"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a2376ffd6f96d8a9db59875b4b6b0237d6900b5baf64279714e05493ce64828a"+checksum = "261af4dc7a06ea8a527a8717d8cbba3417530d6ea14e1edb3de6b67806be474f"dependencies = ["cmov",]@@ -1093,7 +1104,7 @@ dependencies = ["proc-macro2","quote","strsim",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -1104,7 +1115,7 @@ checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"dependencies = ["darling_core","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -1113,37 +1124,6 @@ version = "2.11.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06"-[[package]]-name = "defmt"-version = "1.2.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e4a0795ac740cb54d7b3775c9c17345f6aaecf884c01733b39d6017738e0e3e1"-dependencies = [- "bitflags 1.3.2",- "defmt-macros",-]--[[package]]-name = "defmt-macros"-version = "1.2.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "840bb056bd99c495c9188198a258ab787c79f306d864db3e6e8451442d6d8366"-dependencies = [- "defmt-parser",- "proc-macro2",- "quote",- "syn 3.0.9",-]--[[package]]-name = "defmt-parser"-version = "1.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "71958f69fb2de856c5dd51ac9377e986ca1aa5919f931bf5395a807277f889a0"-dependencies = [- "thiserror 2.0.21",-]-[[package]]name = "der"version = "0.7.10"@@ -1199,14 +1179,13 @@ dependencies = [[[package]]name = "dialoguer"-version = "0.11.0"+version = "0.12.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "658bce805d770f407bc62102fca7c2c64ceef2fbcb2b8bd19d2765ce093980de"+checksum = "25f104b501bf2364e78d0d3974cbc774f738f5865306ed128e1e0d7499c0ad96"dependencies = ["console","shell-words","tempfile",- "thiserror 1.0.69","zeroize",]@@ -1235,7 +1214,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"dependencies = ["block-buffer 0.12.1",- "const-oid 0.10.2",+ "const-oid 0.10.3","crypto-common 0.2.2","ctutils",]@@ -1269,7 +1248,7 @@ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -1396,9 +1375,9 @@ checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"[[package]]name = "errno"-version = "0.3.14"+version = "0.3.15"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"+checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776"dependencies = ["libc","windows-sys 0.61.2",@@ -1473,9 +1452,9 @@ checksum = "b7ac824320a75a52197e8f2d787f6a38b6718bb6897a35142d749af3c0e8f4fe"[[package]]name = "flate2"-version = "1.1.10"+version = "1.1.11"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"+checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4"dependencies = ["crc32fast","miniz_oxide 0.9.1",@@ -1599,7 +1578,7 @@ checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -1885,7 +1864,7 @@ dependencies = ["tokio","tokio-rustls","tower-service",- "webpki-roots 1.0.11",+ "webpki-roots 1.0.12",][[package]]@@ -1972,7 +1951,7 @@ dependencies = ["reqwest 0.13.5","serde","serde_json",- "sha2 0.10.9",+ "sha2 0.11.1","thiserror 2.0.21","tokio","tracing",@@ -2203,7 +2182,7 @@ dependencies = ["tracing","uuid","web-time",- "webpki-roots 1.0.11",+ "webpki-roots 1.0.12","x509-cert",]@@ -2273,9 +2252,9 @@ dependencies = [[[package]]name = "inout"-version = "0.2.5"+version = "0.2.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3b5cf4372d022092674a83b8febf5865f7a573cc0c5baec5e49c879b6a20978f"+checksum = "3a580c13f0ffc335ef42dd3f6b1a41b726051c5e1656d9a3aa6fddb3c5dfbbf9"dependencies = ["block-padding 0.4.2","hybrid-array",@@ -2309,7 +2288,7 @@ dependencies = ["semver","serde","serde_json",- "sha2 0.10.9",+ "sha2 0.11.1","tar","tempfile","termion",@@ -2352,17 +2331,16 @@ dependencies = [[[package]]name = "itoa"-version = "1.0.18"+version = "1.0.19"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"+checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"[[package]]name = "jiff"-version = "0.2.38"+version = "0.2.45"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b2b005715dcbeb0089a3c0dab99f2ff1cc3b2525323552703d648585d342a383"+checksum = "34e6d07feb763c647199bd9072192b9639da3b5ffde49afd73c08b1d5ceb1469"dependencies = [- "defmt","jiff-core","jiff-static","log",@@ -2373,19 +2351,18 @@ dependencies = [[[package]]name = "jiff-core"-version = "0.1.1"+version = "0.1.7"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c"+checksum = "3c0dfb57e3485bee979b355302992ea9c38331a94f6ccce72c2bf0077d6c9310"dependencies = [- "defmt","log",][[package]]name = "jiff-static"-version = "0.2.38"+version = "0.2.45"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2cc9817253cf7c7ee4684451bd327e88d6f3658014e54a29198625590650695c"+checksum = "d93b8289f811027d18f228ae410cbadc766419d50b79185fa0084b10cc172d03"dependencies = ["jiff-core","proc-macro2",@@ -2608,9 +2585,9 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"[[package]]name = "mime"-version = "0.3.17"+version = "0.3.18"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"+checksum = "d5848f5a9e8117cf94f2f90faac24a87ff81600ff8628c1e3deaab572e76bfa1"[[package]]name = "minicbor"@@ -2660,9 +2637,9 @@ dependencies = [[[package]]name = "mio"-version = "1.2.4"+version = "1.2.5"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee"+checksum = "20521a903f02b0a573cd6840e9d0a5a0cc043d361fe924092cd70f8556cc9c4a"dependencies = ["libc","wasi",@@ -2708,7 +2685,7 @@ version = "0.31.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d"dependencies = [- "bitflags 2.13.2",+ "bitflags","cfg-if","cfg_aliases","libc",@@ -2921,11 +2898,11 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"[[package]]name = "openssl"-version = "0.10.81"+version = "0.10.82"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "77823a27f0babb03091cb9ed9ef80af3b39dbc82f97e8fa530374b7dafd87a45"+checksum = "4de8111e94a56adca7ebfe6c365b6d42f99deb69b74b6becacd4204e2f193aa2"dependencies = [- "bitflags 2.13.2",+ "bitflags","cfg-if","foreign-types","libc",@@ -2958,9 +2935,9 @@ checksum = "7e036b411754132fd6b74e94b74e9a13c5cf606fa93d1885c35860d3060820b1"[[package]]name = "openssl-sys"-version = "0.9.117"+version = "0.9.118"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695"+checksum = "19c413d6ec9ebaf5e1c829d355cb3e9f783778d700f135be0921d52fce3c60ae"dependencies = ["cc","libc",@@ -2988,7 +2965,7 @@ dependencies = ["lazy_static","rc2","sha1",- "yasna",+ "yasna 0.5.2",][[package]]@@ -3113,6 +3090,16 @@ dependencies = ["serde_core",]+[[package]]+name = "pem"+version = "4.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d354a98a3d1251555de99e8fdd8afda05573c31b82f59063a7b0a29b5527f120"+dependencies = [+ "base64 0.23.1",+ "serde_core",+]+[[package]]name = "pem-rfc7468"version = "0.7.0"@@ -3154,12 +3141,6 @@ version = "0.2.17"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"-[[package]]-name = "pin-utils"-version = "0.1.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "13bee6c73da26345c729282832b60b0363cf3dd9f4bfd81d8551b7a1c889a113"-[[package]]name = "pkcs1"version = "0.7.5"@@ -3249,7 +3230,7 @@ dependencies = [name = "plume_core"version = "2.7.2"dependencies = [- "aes 0.9.2",+ "aes 0.9.4","aes-gcm","apple-codesign","base64 0.22.1",@@ -3261,7 +3242,7 @@ dependencies = ["omnisette","p12-keystore","pbkdf2 0.13.0",- "pem",+ "pem 3.0.6","pem-rfc7468","plist","rand 0.8.8",@@ -3298,7 +3279,7 @@ version = "0.18.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"dependencies = [- "bitflags 2.13.2",+ "bitflags","crc32fast","fdeflate","flate2",@@ -3640,14 +3621,16 @@ dependencies = [[[package]]name = "rcgen"-version = "0.12.1"+version = "0.14.10"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "48406db8ac1f3cbc7dcdb56ec355343817958a356ff430259bb07baf7607e1e1"+checksum = "8774e05a7d0de114588e6a28fe7e71694b82614ed569d86d8b389dfbc98b8ad8"dependencies = [- "pem",+ "pem 4.0.0","ring",+ "rustls-pki-types","time",- "yasna",+ "x509-parser",+ "yasna 0.6.0",][[package]]@@ -3656,7 +3639,7 @@ version = "0.5.18"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"dependencies = [- "bitflags 2.13.2",+ "bitflags",][[package]]@@ -3687,7 +3670,7 @@ checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -3758,7 +3741,7 @@ dependencies = ["wasm-bindgen","wasm-bindgen-futures","web-sys",- "webpki-roots 1.0.11",+ "webpki-roots 1.0.12",][[package]]@@ -3823,9 +3806,9 @@ dependencies = [[[package]]name = "rmcp"-version = "3.8.0"+version = "3.10.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f8be15815186873ea063bf005011d16c356804973489e40c39116ae3a2878d1f"+checksum = "b5949e504d5ab9944a168259afc0c39ac0230627b6ec5367ace194c59bcbe163"dependencies = ["async-trait","base64 0.23.1",@@ -3844,6 +3827,7 @@ dependencies = ["schemars","serde","serde_json",+ "sha2 0.11.1","sse-stream","thiserror 2.0.21","tokio",@@ -3856,15 +3840,15 @@ dependencies = [[[package]]name = "rmcp-macros"-version = "3.8.0"+version = "3.10.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8b0748e054a5f5598b3213cf72099ae6b2745ba4d996c59ccf455150a7dbb839"+checksum = "b98a686693ee91b665c6f89f182fca6e141c8a63dc113b11b38c1bf3491606b7"dependencies = ["darling","proc-macro2","quote","serde_json",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -3918,7 +3902,7 @@ version = "1.1.6"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa"dependencies = [- "bitflags 2.13.2",+ "bitflags","errno","libc","linux-raw-sys",@@ -3976,9 +3960,9 @@ dependencies = [[[package]]name = "rustls-pki-types"-version = "1.15.1"+version = "1.16.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"+checksum = "102f35f7de7b06d8c61f1cff6592f5253e0dea431c74867aad5dfd70f44663fb"dependencies = ["web-time","zeroize",@@ -4013,9 +3997,9 @@ checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f"[[package]]name = "rustls-webpki"-version = "0.103.16"+version = "0.103.17"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"+checksum = "e3a0760a887c14823fca5a1c970b01d47c328c696c0c64829d1df50e8f853fd5"dependencies = ["aws-lc-rs","ring",@@ -4094,7 +4078,7 @@ dependencies = ["proc-macro2","quote","serde_derive_internals",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -4154,7 +4138,7 @@ version = "2.11.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"dependencies = [- "bitflags 2.13.2",+ "bitflags","core-foundation 0.9.4","core-foundation-sys","libc",@@ -4167,7 +4151,7 @@ version = "3.7.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"dependencies = [- "bitflags 2.13.2",+ "bitflags","core-foundation 0.10.1","core-foundation-sys","libc",@@ -4229,7 +4213,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -4240,7 +4224,7 @@ checksum = "f852137cce035d6a4df67ccce505ff6b3e9fd3a10e3e52b24dc71e650bb1a9bd"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -4410,9 +4394,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"[[package]]name = "smallvec"-version = "1.16.4"+version = "1.16.5"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d0d5d4b1981b8bbbb7aed204cae5726d683d5d6ac7e74ec54122ea28f315e7c8"+checksum = "149309498a5f7334b12ddae0cad8aba81ce785fe91755068867e017cf98fee46"[[package]]name = "snafu"@@ -4479,7 +4463,7 @@ version = "0.7.0-rc.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4b5f622c2d21b826b3501f4c620ccc4696e4a09a6b51727fcb21036dec87c101"dependencies = [- "crypto-bigint 0.7.10",+ "crypto-bigint 0.7.11","crypto-common 0.2.2","digest 0.11.3","subtle",@@ -4546,9 +4530,9 @@ dependencies = [[[package]]name = "syn"-version = "3.0.9"+version = "3.0.10"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"+checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"dependencies = ["proc-macro2","quote",@@ -4583,7 +4567,7 @@ checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -4592,7 +4576,7 @@ version = "0.7.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b"dependencies = [- "bitflags 2.13.2",+ "bitflags","core-foundation 0.9.4","system-configuration-sys",]@@ -4683,7 +4667,7 @@ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -4787,7 +4771,7 @@ checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]@@ -4915,7 +4899,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"dependencies = ["async-compression",- "bitflags 2.13.2",+ "bitflags","bytes","futures-core","futures-util",@@ -5171,9 +5155,9 @@ checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6"[[package]]name = "uuid"-version = "1.26.1"+version = "1.29.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2ef6dac1e96601b4fb3acccccff2139741fcb757cb9a36089bf5be91cfb285ce"+checksum = "bed99139f7dac9b5cfe5f17be4d66dc7079a34dee1d74bcc77217119240e267c"dependencies = ["getrandom 0.4.3","js-sys",@@ -5277,7 +5261,7 @@ dependencies = ["bumpalo","proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10","wasm-bindgen-shared",]@@ -5292,14 +5276,14 @@ dependencies = [[[package]]name = "wasmtimer"-version = "0.4.3"+version = "0.4.5"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1c598d6b99ea013e35844697fc4670d08339d5cda15588f193c6beedd12f644b"+checksum = "c62b7f338e4397a45d054c15a2b36a93d57cccdda7be11a7d7b045d47b5e70ce"dependencies = ["futures","js-sys","parking_lot",- "pin-utils",+ "pin-project-lite","wasm-bindgen",]@@ -5325,9 +5309,9 @@ dependencies = [[[package]]name = "webpki-root-certs"-version = "1.0.11"+version = "1.0.12"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e49d0e65abc00c142e8f9428da991da9f1a250c39be97459901eb12b9b49f62a"+checksum = "293198dcebfb821155b5092ab94b5a82ff180eddd7241df3bd6e66a4ffd1a585"dependencies = ["rustls-pki-types",]@@ -5338,14 +5322,14 @@ version = "0.26.11"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"dependencies = [- "webpki-roots 1.0.11",+ "webpki-roots 1.0.12",][[package]]name = "webpki-roots"-version = "1.0.11"+version = "1.0.12"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f5f280bbb2b287bc8e7de7e3852945a0ff50d1bbcb5ed42b6c7a568c546df171"+checksum = "7265c9301c16a8711c992c2d8da90ee77ef54b1ed51482d6dfeb00dc756b1297"dependencies = ["rustls-pki-types",]@@ -5679,7 +5663,7 @@ dependencies = ["chrono","der","hex",- "pem",+ "pem 3.0.6","ring","signature","spki",@@ -5699,6 +5683,7 @@ dependencies = ["lazy_static","nom","oid-registry 0.8.1",+ "ring","rusticata-macros","thiserror 2.0.21","time",@@ -5730,7 +5715,14 @@ name = "yasna"version = "0.5.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd"++[[package]]+name = "yasna"+version = "0.6.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b5f6765e852b9b4dc8e2a76843e4d64d1cea8e79bcde0b6901aea8e7c7f08282"dependencies = [+ "bit-vec","time",]@@ -5753,7 +5745,7 @@ checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10","synstructure 0.14.0",]@@ -5794,7 +5786,7 @@ checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10","synstructure 0.14.0",]@@ -5848,15 +5840,16 @@ checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a"dependencies = ["proc-macro2","quote",- "syn 3.0.9",+ "syn 3.0.10",][[package]]name = "zip"-version = "9.4.1"+version = "9.5.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "23f17fbc870bfac28c6228aed7d6e6df352e26bf7015c4313727e16a7a01ce5e"+checksum = "e3476fd497ac8af5b1ec7b51acab7bef380f7e8dd8e0487595bafd839417a302"dependencies = [+ "constant_time_eq","crc32fast","flate2","getrandom 0.4.3",@@ -5866,6 +5859,7 @@ dependencies = ["nix","typed-path","windows-sys 0.61.2",+ "zeroize","zopfli",]diff --git a/Cargo.toml b/Cargo.tomlindex f6fb659..203818c 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -19,8 +19,8 @@ exclude = ["vendor"][workspace.package]version = "0.2.6"edition = "2024"-# rmcp 3.8 要求 1.88;Impactor/idevice 用 edition 2024-rust-version = "1.88"+# uuid 1.29 要求 1.89(rmcp 3.10、rcgen 0.14、sha2 0.11、zip 9.5 要求 1.88);Impactor/idevice 用 edition 2024+rust-version = "1.89"license = "MIT"publish = falserepository = "https://github.com/Derrors/iphone-control"@@ -51,7 +51,7 @@ idevice = { version = "=0.1.68", default-features = false, features = ["crashreportcopymobile",] }# transport-streamable-http-server:控制台的 /mcp(MCP over HTTP)-rmcp = { version = "=3.8.0", features = ["server", "transport-io", "transport-streamable-http-server"] }+rmcp = { version = "=3.10.0", features = ["server", "transport-io", "transport-streamable-http-server"] }http = "=1.5.0"http-body-util = "=0.1.5"bytes = "=1.12.1"@@ -61,12 +61,12 @@ reqwest = { version = "=0.13.5", default-features = false, features = ["form", "rustls = { version = "=0.23.46", default-features = false, features = ["ring"] }# 控制台的 HTTPS(viewer --lan):两者已经在依赖树里(idevice、reqwest、plume_core),同样只用 ringtokio-rustls = { version = "=0.26.6", default-features = false, features = ["ring"] }-rcgen = "=0.12.1"+rcgen = { version = "=0.14.10", default-features = false, features = ["ring", "pem"] }quick-xml = "=0.42.0"image = { version = "=0.25.10", default-features = false, features = ["png", "jpeg"] }clap = { version = "=4.6.7", features = ["derive", "env"] }clap_complete = "=4.6.11"-console = "=0.15.11"+console = "=0.16.6"termion = "=4.0.6"serde = { version = "=1.0.229", features = ["derive"] }serde_json = "=1.0.154"@@ -76,14 +76,14 @@ tracing-subscriber = { version = "=0.3.23", features = ["env-filter"] }base64 = "=0.23.1"anyhow = "=1.0.104"plist = "=1.10.3"-uuid = { version = "=1.26.1", features = ["v4"] }+uuid = { version = "=1.29.2", features = ["v4"] }# 和 plume_core 同一份:比对证书和本机签名私钥的公钥(ictl-sign)rsa = "=0.9.10"x509-certificate = "=0.24.0"-zip = { version = "=9.4.1", default-features = false, features = ["deflate"] }+zip = { version = "=9.5.1", default-features = false, features = ["deflate"] }regex = "=1.13.1"libc = "=0.2.191"-sha2 = "=0.10.9"+sha2 = "=0.11.1"# vendored Impactor 组件(见 THIRD_PARTY.md)plume_core = { path = "vendor/plume_core" }diff --git a/README.md b/README.mdindex c418b86..446d362 100644--- a/README.md+++ b/README.md@@ -12,7 +12,7 @@<img src="https://img.shields.io/badge/iOS-17%2B-black?style=flat&logo=apple" alt="iOS"><img src="https://img.shields.io/badge/platform-Linux%20%7C%20macOS-0E7490?style=flat" alt="Platform: Linux | macOS"><img src="https://img.shields.io/badge/MCP-17%20tools-8A2BE2?style=flat" alt="MCP">- <a href="Cargo.toml"><img src="https://img.shields.io/badge/Rust-1.88%2B-CE422B?style=flat&logo=rust&logoColor=white" alt="Rust"></a>+ <a href="Cargo.toml"><img src="https://img.shields.io/badge/Rust-1.89%2B-CE422B?style=flat&logo=rust&logoColor=white" alt="Rust"></a><a href="LICENSE"><img src="https://img.shields.io/github/license/Derrors/iphone-control?style=flat" alt="License"></a><a href="https://m8ven.ai/mcp/derrors-iphone-control-1pcmse?s=readme"><img src="https://m8ven.ai/badge/mcp/derrors-iphone-control-1pcmse?variant=verified" alt="M8ven verified"></a></p>diff --git a/README.zh-CN.md b/README.zh-CN.mdindex ff2769d..923c58a 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -12,7 +12,7 @@<img src="https://img.shields.io/badge/iOS-17%2B-black?style=flat&logo=apple" alt="iOS"><img src="https://img.shields.io/badge/platform-Linux%20%7C%20macOS-0E7490?style=flat" alt="平台:Linux | macOS"><img src="https://img.shields.io/badge/MCP-17%20tools-8A2BE2?style=flat" alt="MCP">- <a href="Cargo.toml"><img src="https://img.shields.io/badge/Rust-1.88%2B-CE422B?style=flat&logo=rust&logoColor=white" alt="Rust"></a>+ <a href="Cargo.toml"><img src="https://img.shields.io/badge/Rust-1.89%2B-CE422B?style=flat&logo=rust&logoColor=white" alt="Rust"></a><a href="LICENSE"><img src="https://img.shields.io/github/license/Derrors/iphone-control?style=flat" alt="License"></a><a href="https://m8ven.ai/mcp/derrors-iphone-control-1pcmse?s=readme"><img src="https://m8ven.ai/badge/mcp/derrors-iphone-control-1pcmse?variant=verified" alt="M8ven 已验证"></a></p>diff --git a/THIRD_PARTY.md b/THIRD_PARTY.mdindex 5f36856..147487c 100644--- a/THIRD_PARTY.md+++ b/THIRD_PARTY.md@@ -8,8 +8,8 @@| [idevice](https://github.com/jkcoxson/idevice) | 上游 master `89702099`(0.1.68 之后、未发版) | MIT | git 依赖,`[patch.crates-io]` | 无(0.1.68 的 cryptexd install 会挂住;发版后换回 crates.io) || [jktcp](https://crates.io/crates/jktcp) | 0.1.8(间接) | MIT | crates.io | 无 || [rmcp](https://github.com/modelcontextprotocol/rust-sdk) | 3.8.0 | Apache-2.0(部分历史代码 MIT) | crates.io | 无 |-| [apple-codesign](https://github.com/indygreg/apple-platform-rs) | 0.29.0(取自 Impactor `3rdparty/apple-codesign-0.29.0`) | MPL-2.0 | `vendor/apple-codesign`,`[patch.crates-io]` | Impactor 的 0o755 权限补丁(上游提交 428b42f);本仓库删掉了上游的 `tests/`、`docs/`、`src/testdata/`(单元测试的证书和密钥样例)、`Cargo.lock`、`Cargo.toml.orig`,Cargo.toml 去掉 `[[test]]` 目标、`zip` 依赖从 2.x 升到 9.4.1(修安全告警;只有公证功能用它写 zip,API 兼容),源码未改(因此 vendor 里的单元测试不能运行,本仓库也不跑它们) |-| [Impactor](https://github.com/claration/impactor) `plume_core` | v2.7.2(提交 b13d99559febd63e3710dfdd0ef8cdd78d10ae13) | MPL-2.0 | `vendor/plume_core` | 源码未改;Cargo.toml 把 workspace 继承展开成显式版本、修正 omnisette 路径;reqwest 用 `rustls-no-provider`(不编 aws-lc-rs);omnisette 改为 `default-features = false, features = ["remote-anisette", "remote-anisette-v3"]` |+| [apple-codesign](https://github.com/indygreg/apple-platform-rs) | 0.29.0(取自 Impactor `3rdparty/apple-codesign-0.29.0`) | MPL-2.0 | `vendor/apple-codesign`,`[patch.crates-io]` | Impactor 的 0o755 权限补丁(上游提交 428b42f);本仓库删掉了上游的 `tests/`、`docs/`、`src/testdata/`(单元测试的证书和密钥样例)、`Cargo.lock`、`Cargo.toml.orig`,Cargo.toml 去掉 `[[test]]` 目标、`zip` 依赖从 2.x 升到 9.5.1(修安全告警;只有公证功能用它写 zip,API 兼容)、`dialoguer` 从 0.11 升到 0.12(和本项目共用 console 0.16;只有它的命令行界面用到,本项目不调用),源码未改(因此 vendor 里的单元测试不能运行,本仓库也不跑它们) |+| [Impactor](https://github.com/claration/impactor) `plume_core` | v2.7.2(提交 b13d99559febd63e3710dfdd0ef8cdd78d10ae13) | MPL-2.0 | `vendor/plume_core` | `src/utils/certificate.rs` 生成证书请求的几行改成 rcgen 0.14 的写法(和本项目共用一份 rcgen,同样只开 `ring`、`pem`),其余源码未改;Cargo.toml 把 workspace 继承展开成显式版本、修正 omnisette 路径;reqwest 用 `rustls-no-provider`(不编 aws-lc-rs);omnisette 改为 `default-features = false, features = ["remote-anisette", "remote-anisette-v3"]` || Impactor `plume_store` | 同上 | MIT | `vendor/plume_store` | 源码未改;Cargo.toml 展开 workspace 继承 || Impactor `omnisette` | 同上 | MPL-2.0 | `vendor/omnisette` | `src/lib.rs` 加了 `anisette_url_v3()`/`set_anisette_url_v3()`(原来 v3 地址没有 setter,自建 anisette 服务配不进去;改动处有注释,文件仍是 MPL-2.0);Cargo.toml 展开 workspace 继承;reqwest 用 `rustls-no-provider`;本地 anisette(StoreServicesCore,要苹果 Android 版的 `libstoreservicescore.so` 和没有许可证声明的 git 依赖 `android-loader`)改成可选 feature `local-anisette`,默认 feature 里保留与上游一致,本项目不启用(只用远程 anisette v3) || Impactor `plume_utils` | 同上 | MIT | 未 vendor;`crates/ictl-sign/src/bundle.rs` 改写自其 `bundle.rs` | 增加 `BundleType::XCTest`,修复 `.xctest` 漏签 |diff --git a/apps/iphone-control/Cargo.toml b/apps/iphone-control/Cargo.tomlindex 322b9fb..5414dfc 100644--- a/apps/iphone-control/Cargo.toml+++ b/apps/iphone-control/Cargo.toml@@ -36,7 +36,7 @@ plist.workspace = truesemver = "=1.0.28"tempfile = "=3.27.0"chrono = { version = "=0.4.45", default-features = false, features = ["std"] }-flate2 = "=1.1.10"+flate2 = "=1.1.11"ring = "=0.17.14"tar = { version = "=0.4.46", default-features = false }uuid.workspace = truediff --git a/apps/iphone-control/src/update.rs b/apps/iphone-control/src/update.rsindex 5a7cdf8..1fe0d5e 100644--- a/apps/iphone-control/src/update.rs+++ b/apps/iphone-control/src/update.rs@@ -151,8 +151,13 @@ fn policy_file(repo: &str, exe: &Path, method: InstallMethod) -> PathBuf {// A verified keg is Cellar/formula/version/bin/iphone-control. Its formula// directory survives upgrades and still distinguishes separate installations.let installation = if method == InstallMethod::Homebrew { exe.ancestors().nth(3).unwrap_or(exe) } else { exe };- let id = Sha256::digest(installation.as_os_str().as_encoded_bytes());- crate::envfile::config_dir().join("updates").join(repo).join(format!("{id:x}.json"))+ let id = hex(&Sha256::digest(installation.as_os_str().as_encoded_bytes()));+ crate::envfile::config_dir().join("updates").join(repo).join(format!("{id}.json"))+}++/// Lowercase hex of a digest (sha2 0.11's output no longer formats with `{:x}`)+pub(crate) fn hex(bytes: &[u8]) -> String {+ bytes.iter().map(|b| format!("{b:02x}")).collect()}fn policy(repo: Option<&str>, exe: Option<&Path>, installation: &Installation) -> Result<Policy> {@@ -630,6 +635,12 @@ impl fmt::Display for Report {mod tests {use super::*;+ /// Same text as sha2 0.10's `{:x}`: the update policy file's name is made from it, a change would lose it+ #[test]+ fn digest_hex_is_lowercase_without_separators() {+ assert_eq!(hex(&Sha256::digest(b"abc")), "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad");+ }+#[test]fn managed_guidance_explains_verification_before_installation() {ictl_l10n::with_lang(ictl_l10n::Lang::En, || {diff --git a/apps/iphone-control/src/update/install.rs b/apps/iphone-control/src/update/install.rsindex 75a8223..145a657 100644--- a/apps/iphone-control/src/update/install.rs+++ b/apps/iphone-control/src/update/install.rs@@ -70,9 +70,17 @@ fn receipt_file(r: &Receipt, exe: &Path) -> Result<File> {}fn hash(mut file: File) -> Result<String> {+ use std::io::Read;+ // sha2 0.11's hasher isn't an io::Write any more (that moved to the digest-io crate): read in chunkslet mut hasher = Sha256::new();- std::io::copy(&mut file, &mut hasher)?;- Ok(format!("{:x}", hasher.finalize()))+ let mut buf = vec![0; 64 * 1024];+ loop {+ match file.read(&mut buf)? {+ 0 => break,+ n => hasher.update(&buf[..n]),+ }+ }+ Ok(super::hex(&hasher.finalize()))}pub fn digest(path: &Path) -> Result<String> {diff --git a/apps/iphone-control/src/viewer/tls.rs b/apps/iphone-control/src/viewer/tls.rsindex 1047360..698accf 100644--- a/apps/iphone-control/src/viewer/tls.rs+++ b/apps/iphone-control/src/viewer/tls.rs@@ -176,7 +176,7 @@ fn ensure_made(dir: &Path, names: &[String], now: u64) -> anyhow::Result<(Vec<u8}}let not_after = now + VALID_DAYS * DAY;- let mut p = rcgen::CertificateParams::new(all.clone());+ let mut p = rcgen::CertificateParams::new(all.clone())?;let (y, m, d) = ymd(now.saturating_sub(DAY));p.not_before = rcgen::date_time_ymd(y, m, d);let (y, m, d) = ymd(not_after);@@ -186,8 +186,10 @@ fn ensure_made(dir: &Path, names: &[String], now: u64) -> anyhow::Result<(Vec<u8p.extended_key_usages = vec![rcgen::ExtendedKeyUsagePurpose::ServerAuth];// a new certificate under the same name gets a new serial number (Firefox refuses a reused one)p.serial_number = Some(rcgen::SerialNumber::from(now.max(1)));- let cert = rcgen::Certificate::from_params(p)?;- let (c, k) = (cert.serialize_pem()?.into_bytes(), cert.serialize_private_key_pem().into_bytes());+ // ECDSA P-256, the same key type rcgen 0.12 made+ let key = rcgen::KeyPair::generate()?;+ let cert = p.self_signed(&key)?;+ let (c, k) = (cert.pem().into_bytes(), key.serialize_pem().into_bytes());write_private(dir, &key_f, &k)?;std::fs::write(&cert_f, &c)?;std::fs::write(&meta_f, serde_json::to_vec_pretty(&Made { names: all, not_after })?)?;diff --git a/crates/ictl-daemon/src/wda_pkg.rs b/crates/ictl-daemon/src/wda_pkg.rsindex 0c6c711..a6ed894 100644--- a/crates/ictl-daemon/src/wda_pkg.rs+++ b/crates/ictl-daemon/src/wda_pkg.rs@@ -36,7 +36,7 @@ pub async fn ensure(dest: &Path) -> Result<(), String> {.bytes().await.map_err(|e| ictl_l10n::trf!("下载 WDA 失败:{e}", "Downloading WDA failed: {e}"))?;- let got = format!("{:x}", Sha256::digest(&bytes));+ let got: String = Sha256::digest(&bytes).iter().map(|b| format!("{b:02x}")).collect();if got != WDA_SHA256 {return Err(ictl_l10n::trf!("下载的 WDA 校验和不对({got},应为 {WDA_SHA256})",diff --git a/docs/dev/macos-verification.md b/docs/dev/macos-verification.mdindex 3865b14..232e4cc 100644--- a/docs/dev/macos-verification.md+++ b/docs/dev/macos-verification.md@@ -51,7 +51,7 @@ CI 已经确认项目在 macOS(Apple Silicon)上能编译、链接,单元```bashxcode-select --install # 命令行工具:C 编译器、git(已装会提示)-curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # Rust,1.88 以上即可+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # Rust,1.89 以上即可git clone https://github.com/Derrors/iphone-control && cd iphone-controlcargo install --path apps/iphone-control --locked --features debug-cmds # 装到 ~/.cargo/bin/iphone-control;第 2 步和第 4 步 D 的 debug 命令要这个 featureiphone-control --versiondiff --git a/vendor/apple-codesign/Cargo.toml b/vendor/apple-codesign/Cargo.tomlindex f77fe3e..afae2ae 100644--- a/vendor/apple-codesign/Cargo.toml+++ b/vendor/apple-codesign/Cargo.toml@@ -99,7 +99,7 @@ version = "0.7.9"features = ["alloc"][dependencies.dialoguer]-version = "0.11.0"+version = "0.12.0"[dependencies.difference]version = "2.0.0"@@ -305,7 +305,7 @@ version = "1.8.1"features = ["zeroize_derive"][dependencies.zip]-version = "9.4.1"+version = "9.5.1"features = ["deflate"]default-features = false@@ -328,7 +328,7 @@ version = "0.4.43"version = "0.14.20"[dev-dependencies.zip]-version = "9.4.1"+version = "9.5.1"default-features = false[features]diff --git a/vendor/plume_core/Cargo.toml b/vendor/plume_core/Cargo.tomlindex d6af4f9..2448661 100644--- a/vendor/plume_core/Cargo.toml+++ b/vendor/plume_core/Cargo.toml@@ -35,7 +35,7 @@ rsa = "0.9"x509-certificate = "0.24"pem = "3.0"pem-rfc7468 = "0.7"-rcgen = "0.12"+rcgen = { version = "0.14", default-features = false, features = ["ring", "pem"] }sha1 = "0.10" # p12p12-keystore = "0.2" # p12 crate only supports legacy PKCS#12# Forksdiff --git a/vendor/plume_core/src/utils/certificate.rs b/vendor/plume_core/src/utils/certificate.rsindex 1e673e7..fbcf53d 100644--- a/vendor/plume_core/src/utils/certificate.rs+++ b/vendor/plume_core/src/utils/certificate.rs@@ -286,11 +286,9 @@ impl CertificateIdentity {) -> Result<(Cert, RsaPrivateKey), Error> {let priv_key = RsaPrivateKey::new(&mut OsRng, 2048)?;let priv_key_der = priv_key.to_pkcs8_der()?;- let priv_key_pair = KeyPair::from_der(priv_key_der.as_bytes())?;+ let priv_key_pair = KeyPair::from_pkcs8_der_and_sign_algo(&priv_key_der.as_bytes().into(), &PKCS_RSA_SHA256)?;- let mut params = rcgen::CertificateParams::new(vec![]);- params.alg = &PKCS_RSA_SHA256;- params.key_pair = Some(priv_key_pair);+ let mut params = rcgen::CertificateParams::new(vec![])?;let dn = &mut params.distinguished_name;dn.push(DnType::CountryName, "US");@@ -299,7 +297,7 @@ impl CertificateIdentity {dn.push(DnType::OrganizationName, "ORGNIZATION");dn.push(DnType::CommonName, "CN");- let cert_csr = rcgen::Certificate::from_params(params)?.serialize_request_pem()?;+ let cert_csr = params.serialize_request(&priv_key_pair)?.pem()?;let cert_serial_numbers = certs.iter()diff --git a/website/deploy/macos.md b/website/deploy/macos.mdindex 4682158..57bc4e7 100644--- a/website/deploy/macos.md+++ b/website/deploy/macos.md@@ -8,7 +8,7 @@ iphone-control 也能直接跑在 Mac 上:用 macOS 自带的 usbmuxd,不需## 需要-- Apple Silicon 的 Mac。用脚本安装时,PATH 中需要有 Python 3 和 OpenSSL 3。Intel Mac 要从源码编译,需 Xcode 命令行工具和 Rust 1.88 以上。+- Apple Silicon 的 Mac。用脚本安装时,PATH 中需要有 Python 3 和 OpenSSL 3。Intel Mac 要从源码编译,需 Xcode 命令行工具和 Rust 1.89 以上。- 一部 iOS 17 以上的 iPhone 或 iPad,用能**传数据**的线连接- 一个免费 Apple ID(建议专门注册一个)@@ -35,7 +35,7 @@ brew services start iphone-control # 守护进程常驻,登录后自动### 从源码编译(Intel Mac)-需要 Xcode 命令行工具和 Rust 1.88 以上,M3 Pro 上约 2 分半:+需要 Xcode 命令行工具和 Rust 1.89 以上,M3 Pro 上约 2 分半:```bashxcode-select --install # 已经装过会提示diff --git a/website/deploy/source.md b/website/deploy/source.mdindex b89ee5f..1b5eed5 100644--- a/website/deploy/source.md+++ b/website/deploy/source.md@@ -4,7 +4,7 @@## 准备-- Rust 1.88 以上([rustup](https://rustup.rs))和 C 编译器+- Rust 1.89 以上([rustup](https://rustup.rs))和 C 编译器- Linux 上要系统的 usbmuxd(它由 udev 在插上手机时拉起)。守护进程不会自己启动 usbmuxd## 编译安装diff --git a/website/en/deploy/macos.md b/website/en/deploy/macos.mdindex 6734b43..3b2178f 100644--- a/website/en/deploy/macos.md+++ b/website/en/deploy/macos.md@@ -8,7 +8,7 @@ Verified on a MacBook Pro (Apple M3 Pro) / macOS 26.6.2 with an iPhone 15 Pro Ma## You need-- An Apple Silicon Mac. The script installer requires Python 3 and OpenSSL 3 on PATH. Intel Macs have no prebuilt package and build from source (Xcode Command Line Tools and Rust 1.88+). Full Xcode is **not** needed+- An Apple Silicon Mac. The script installer requires Python 3 and OpenSSL 3 on PATH. Intel Macs have no prebuilt package and build from source (Xcode Command Line Tools and Rust 1.89+). Full Xcode is **not** needed- An iPhone or iPad on iOS 17+, connected with a cable that carries **data**- A free Apple ID (a dedicated one is recommended)@@ -35,7 +35,7 @@ This service also reads `~/.config/iphone-control/env` and logs to `$(brew --pre### Build from source (Intel Macs)-You need the Xcode Command Line Tools and Rust 1.88+; about 2½ minutes on an M3 Pro:+You need the Xcode Command Line Tools and Rust 1.89+; about 2½ minutes on an M3 Pro:```bashxcode-select --install # says so if already installeddiff --git a/website/en/deploy/source.md b/website/en/deploy/source.mdindex 7d38742..2a8ae7a 100644--- a/website/en/deploy/source.md+++ b/website/en/deploy/source.md@@ -4,7 +4,7 @@ Usually you don't need this: the one-line installer, Homebrew and the .deb all i## Requirements-- Rust 1.88+ ([rustup](https://rustup.rs)) and a C compiler+- Rust 1.89+ ([rustup](https://rustup.rs)) and a C compiler- On Linux, the system usbmuxd (udev starts it when the phone is plugged in). The daemon doesn't start usbmuxd itself## Build and installdiff --git a/website/en/guide/what-is-iphone-control.md b/website/en/guide/what-is-iphone-control.mdindex 412ab62..2205991 100644--- a/website/en/guide/what-is-iphone-control.md+++ b/website/en/guide/what-is-iphone-control.md@@ -25,7 +25,7 @@ It works as a set of [MCP](https://modelcontextprotocol.io) (Model Context Proto| | ||---|---|-| Host | Linux, x86_64 or arm64: one-command install, Homebrew or a .deb (Debian 12+, Ubuntu 22.04+), with the system usbmuxd; or build from source with Rust 1.88+<br>macOS, Apple Silicon: one-command install or Homebrew, or build from source, see [macOS](../deploy/macos)<br>No Windows |+| Host | Linux, x86_64 or arm64: one-command install, Homebrew or a .deb (Debian 12+, Ubuntu 22.04+), with the system usbmuxd; or build from source with Rust 1.89+<br>macOS, Apple Silicon: one-command install or Homebrew, or build from source, see [macOS](../deploy/macos)<br>No Windows || Phone | iPhone or iPad, iOS 17 or later; the HID fallback needs iOS 27 or later || Verified on | iPhone 15 Pro Max, iOS 27.0.1 (Linux, macOS)<br>iPhone 12 mini, iOS 26.4.1 (Linux)<br>iPad mini 5, iOS 26.6.1 (Linux) || Account | A free Apple ID; a dedicated one is recommended |diff --git a/website/guide/what-is-iphone-control.md b/website/guide/what-is-iphone-control.mdindex f2f6729..7a8ea39 100644--- a/website/guide/what-is-iphone-control.md+++ b/website/guide/what-is-iphone-control.md@@ -25,7 +25,7 @@ iphone-control 让 AI agent(例如 Claude)操作一台用数据线接在 Lin| | ||---|---|-| 主机 | Linux,x86_64 或 arm64:一行命令安装、Homebrew 或 deb 包(Debian 12+、Ubuntu 22.04+),要系统的 usbmuxd;也可以用 Rust 1.88+ 从源码编译<br>macOS,Apple Silicon:一行命令安装或 Homebrew,也可以从源码编译,见 [macOS](../deploy/macos)<br>不支持 Windows |+| 主机 | Linux,x86_64 或 arm64:一行命令安装、Homebrew 或 deb 包(Debian 12+、Ubuntu 22.04+),要系统的 usbmuxd;也可以用 Rust 1.89+ 从源码编译<br>macOS,Apple Silicon:一行命令安装或 Homebrew,也可以从源码编译,见 [macOS](../deploy/macos)<br>不支持 Windows || 手机 | iPhone 或 iPad,iOS 17 及以上;HID 后备路线要 iOS 27 及以上 || 已在真机验证 | iPhone 15 Pro Max,iOS 27.0.1(Linux、macOS)<br>iPhone 12 mini,iOS 26.4.1(Linux)<br>iPad mini 5,iOS 26.6.1(Linux) || 账号 | 免费 Apple ID 即可,建议专门注册一个 |diff --git a/website/package.json b/website/package.jsonindex 3b2a787..87e4638 100644--- a/website/package.json+++ b/website/package.json@@ -7,7 +7,7 @@},"devDependencies": {"vitepress": "^1.6.4",- "vue": "^3.5.13"+ "vue": "^3.5.45"},"packageManager": "[email protected]"}diff --git a/website/pnpm-lock.yaml b/website/pnpm-lock.yamlindex 0c9d649..278e26a 100644--- a/website/pnpm-lock.yaml+++ b/website/pnpm-lock.yaml@@ -173,8 +173,8 @@ importers:specifier: ^1.6.4vue:- specifier: ^3.5.13- version: 3.5.44+ specifier: ^3.5.45+ version: 3.5.45packages:@@ -667,17 +667,17 @@ packages:vite: 6.4.5vue: ^3.2.25- '@vue/[email protected]':- resolution: {integrity: sha512-k34nCytbK8PQ1gR2mGROYOw6Pnv/mumqIdrZ3x2tbyXZDWm7ViKGLTfdB+DRrWqEQsLgGJvn0WN9jBif5zCTLQ==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-XGHJrM6ufZARAc/w+tyOswStw9tdKiqCKBScI4gGaNxD+aaGu/HQWgKJ+JItjRLPqenQ7iE7G8AJC7T5ew1p+g==}- '@vue/[email protected]':- resolution: {integrity: sha512-W5AoBFWdw1lQAKiHowkfgFKFab82oSRT6sGsPfw/q1GRjsy/ZJFLHGhJyBRIFN9APLTUduDH9U2JAiPOIyKuYg==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-LbP2d19GSOYGPmvMBBCVJVlv7TKtjM1Cfeyu3cYia720pknZP+1cLX7H5MVatvruT6MuJhiPuNbQBW/MDn/EwA==}- '@vue/[email protected]':- resolution: {integrity: sha512-dzHmQ4jXTpdr5FjIQUeykVakN/uzqFbUo9/C5ikBFg3a3PeM6uRxeczx1ZbXBML0/zJstEh3ygYipzR5Z7b2Pw==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-MKFjb2UX0M/l/jhfzqMLrI8VM4pfvFKG3pqFZkSZFHRLtNld/O4RtUPZFWSwhro/14qP88UQEkWzHxAZAQ0tsw==}- '@vue/[email protected]':- resolution: {integrity: sha512-xr5gb1JVHlfXJwSlRz1FeP6uxoazdzHuMTVLE7up+4Vrqxk219CvxLPxD9NXBt47yvZW7+p4DXfyp4O1fkByIA==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-RF5sbZOfYz5AK00tOJUn2PwFXR2fS1u2HVzI8D9VF9rGAFxuGBqg2bB1kJ3ZHMprqSltXnT9MZE1IsqjSM8oew==}'@vue/[email protected]':resolution: {integrity: sha512-KxtEpUOOpFz/qOGRrAwA36QF7DqIA+FXgCYit9mk9wjbaZt0sXOFz81ElOZtKA4HbWHUdwNjZHBFsFFyp5BZiA==}@@ -688,21 +688,24 @@ packages:'@vue/[email protected]':resolution: {integrity: sha512-wOPslzB8vTvpxwdaOcR2qAbwmuSP0L+rhpoC6Cf56V3Jip+HWb7PQQXOUPgBNQARpXsbQX/+mvi8kKucmBGRwQ==}- '@vue/[email protected]':- resolution: {integrity: sha512-u+QJdKeBBEADkPdevsL+6E12QlYVfBD8Zcw5qjDQKtamI6l14KyqazJMobhCKelhWN5zpyKUiEDoTyHE93cqWw==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-WqkyubNWpI4OYBOipSrjIssMdJO8K1i9Zts/Wm8Er10/0msOEwCyWWWvZnAI7WW3kQsTong6DJp8Cbb+vd4cPA==}- '@vue/[email protected]':- resolution: {integrity: sha512-uEa/ndwjhrrhnOfb2p+sZy6zeoamJOISqaLSJGk/8R6nABT1ZldpzcJoPzKj+zHVomVBPcmQYyC2r4LtvDV6CQ==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-bzIO3+FABjpj85uIKSc+Qnj36/sxDNI3tcH9i6w6xKA1k6e0ejv0G0jMCfeJBvK3yGL5XbJ3DMZj+ClqyCHFYw==}- '@vue/[email protected]':- resolution: {integrity: sha512-3fc4ARcXVhVBaJ3ujWiNZJARD6pkyRcwG+ZYhMzjKtKUp7MAY0HLwr7r3Smep3Li6ZaWT6ewdmx8XqdaD5oNZg==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-ZvRTFMDgfqTDYWvJfoVpQTJx1RN5M6l7Pyd6wfdY2NaXzbPQVh9ezeQYFbNPP6bIcRVn2SqSSR25N/jSW69BFw==}- '@vue/[email protected]':- resolution: {integrity: sha512-R4S1UoH4h5Frrauv8Z5XE5TxV9oBiUSgWIC4TyVK1FK+RocRnOLwFA5Xcmo2011RlgJp+AbZCnw6afrhlgRuUQ==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-1fNXUHhhsWf4EVL4XixbGBU5mKdiIXJAB82feHRTyPPo6ZUEYWIJuEeUl3mVV6QDBp50HJOX4obLhxYXlrjrzA==}'@vue/[email protected]':resolution: {integrity: sha512-H82XLH0DjmSOdbEwO15x3QTo1f5PWEtv237eLpYKc0mqLu+B8hnq16lFWmuBmNurkeiG3wr+oM1FhOll/YVFRg==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-ue9fgHmVNPlP7iW3+cxoBX/Cnlw53dHlVSw0JKGY6z1lObg8pHoj928M2nzG4/yVsMZ3NaRZ2s2z61uC16NDwQ==}+'@vueuse/[email protected]':resolution: {integrity: sha512-HbvCmZdzAu3VGi/pWYm5Ut+Kd9mn1ZHnn4L5G8kOQTPs/IwIAmJoBrmYk2ckLArgMXZj0AW3n5CAejLUO+PhdQ==}@@ -1017,8 +1020,8 @@ packages:postcss:optional: true- resolution: {integrity: sha512-dvvmaOCG7lAMkJTPqPwWeGMsPS6DIsFsfZDUgBp9V6mHf9b3+/wyVwYR4Es+WV6uJC0FKRxp81Obcq0ZwUcGFQ==}+ resolution: {integrity: sha512-3cvsib8m9c0vB24+MDKsgcW4+Da4xaBl9Z/5Tbm2pmSIsRPxcil4cdXjXlVsmJ2g64XJo5h+IRd7rsdGT9pZaw==}peerDependencies:typescript: '*'peerDependenciesMeta:@@ -1412,40 +1415,40 @@ snapshots:'@ungap/[email protected]': {}dependencies:vite: 6.4.5- vue: 3.5.44+ vue: 3.5.45- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:'@babel/parser': 7.29.12- '@vue/shared': 3.5.44+ '@vue/shared': 3.5.45entities: 7.0.1estree-walker: 2.0.2source-map-js: 1.2.2- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/compiler-core': 3.5.44- '@vue/shared': 3.5.44+ '@vue/compiler-core': 3.5.45+ '@vue/shared': 3.5.45- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:'@babel/parser': 7.29.12- '@vue/compiler-core': 3.5.44- '@vue/compiler-dom': 3.5.44- '@vue/compiler-ssr': 3.5.44- '@vue/shared': 3.5.44+ '@vue/compiler-core': 3.5.45+ '@vue/compiler-dom': 3.5.45+ '@vue/compiler-ssr': 3.5.45+ '@vue/shared': 3.5.45estree-walker: 2.0.2magic-string: 0.30.21postcss: 8.5.32source-map-js: 1.2.2- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/compiler-dom': 3.5.44- '@vue/shared': 3.5.44+ '@vue/compiler-dom': 3.5.45+ '@vue/shared': 3.5.45'@vue/[email protected]':dependencies:@@ -1465,36 +1468,38 @@ snapshots:dependencies:rfdc: 1.4.1- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/shared': 3.5.44+ '@vue/shared': 3.5.45- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/reactivity': 3.5.44- '@vue/shared': 3.5.44+ '@vue/reactivity': 3.5.45+ '@vue/shared': 3.5.45- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/reactivity': 3.5.44- '@vue/runtime-core': 3.5.44- '@vue/shared': 3.5.44+ '@vue/reactivity': 3.5.45+ '@vue/runtime-core': 3.5.45+ '@vue/shared': 3.5.45csstype: 3.2.3- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/compiler-ssr': 3.5.44- '@vue/runtime-dom': 3.5.44- '@vue/shared': 3.5.44+ '@vue/compiler-ssr': 3.5.45+ '@vue/runtime-dom': 3.5.45+ '@vue/shared': 3.5.45'@vue/[email protected]': {}+ '@vue/[email protected]': {}+'@vueuse/[email protected]':dependencies:'@types/web-bluetooth': 0.0.21'@vueuse/metadata': 12.8.2'@vueuse/shared': 12.8.2- vue: 3.5.44+ vue: 3.5.45transitivePeerDependencies:- typescript@@ -1502,7 +1507,7 @@ snapshots:dependencies:'@vueuse/core': 12.8.2'@vueuse/shared': 12.8.2- vue: 3.5.44+ vue: 3.5.45optionalDependencies:focus-trap: 7.8.0transitivePeerDependencies:@@ -1512,7 +1517,7 @@ snapshots:'@vueuse/[email protected]':dependencies:- vue: 3.5.44+ vue: 3.5.45transitivePeerDependencies:- typescript@@ -1819,7 +1824,7 @@ snapshots:'@shikijs/transformers': 2.5.0'@shikijs/types': 2.5.0'@types/markdown-it': 14.2.0- '@vitejs/plugin-vue': 5.2.4([email protected])([email protected])+ '@vitejs/plugin-vue': 5.2.4([email protected])([email protected])'@vue/devtools-api': 7.7.10'@vue/shared': 3.5.44'@vueuse/core': 12.8.2@@ -1829,7 +1834,7 @@ snapshots:minisearch: 7.2.0shiki: 2.5.0vite: 6.4.5- vue: 3.5.44+ vue: 3.5.45optionalDependencies:postcss: 8.5.32transitivePeerDependencies:@@ -1863,12 +1868,12 @@ snapshots:- universal-cookie- yamldependencies:- '@vue/compiler-dom': 3.5.44- '@vue/compiler-sfc': 3.5.44- '@vue/runtime-dom': 3.5.44- '@vue/server-renderer': 3.5.44- '@vue/shared': 3.5.44+ '@vue/compiler-dom': 3.5.45+ '@vue/compiler-sfc': 3.5.45+ '@vue/runtime-dom': 3.5.45+ '@vue/server-renderer': 3.5.45+ '@vue/shared': 3.5.45