fix(harmony): discover devices and release disconnected sessions asynchronously

Use USB descriptors and MTP identity instead of the static libmtp product label. Monitor attachment, discard stale UI responses, clear disconnected views, and release slow MTP sessions in the background while preserving operation serialization.

Publish 0.1.1 with immutable source history. Cover discovery, names, unplugging and slow disconnect with native and UI regressions. Verify real Pura 70 Ultra identity and prompt disconnect; run the newest published backend during Git-source checks.
This commit is contained in:
2026-09-10 10:57:10 +08:00
parent 6ddafc3e16
commit 6bdcfdb44e
22 changed files with 1227 additions and 82 deletions
+16 -1
View File
@@ -2,7 +2,7 @@
"schemaVersion": 1,
"id": "trove-official",
"name": "Trove 官方软件源",
"generatedAt": "2026-09-10T02:03:28.662Z",
"generatedAt": "2026-09-10T02:56:51.048Z",
"curios": [
{
"id": "dev.trove.qa.host",
@@ -200,6 +200,21 @@
"name": "Harmony Connector",
"description": "通过 USB 连接鸿蒙设备,在 Mac 与手机之间浏览、发送和接收文件。",
"versions": [
{
"version": "0.1.1",
"engine": {
"trove": ">=0.1.0 <1.0.0"
},
"releasedAt": "2026-09-10T02:56:51.048Z",
"artifacts": [
{
"target": "aarch64-apple-darwin",
"url": "packages/dev.trove.harmony-connector/0.1.1/aarch64-apple-darwin.curio",
"sha256": "180a0523d6f73874443777ae77acf0612c30e1fa4083026fb0d9a2a36ab48ad5",
"size": 2334431
}
]
},
{
"version": "0.1.0",
"engine": {