Commit Graph

7 Commits

Author SHA1 Message Date
Dash
42de52d45a feat(device-link): 在目标电脑弹窗请求开启远程控制 (#9660)
* feat(device-link): request remote control through local consent

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(device-link): gate consent requests in group tasks and use relative lifetime

request_remote_control joins the task-action tools so group-chat guests cannot
trigger a consent dialog on the owner's computers. The request carries a relative
ttlMs that the target counts on its own clock, so clock skew cannot drop it.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(device-link): drop consent requests when the peer goes offline

A requester that disconnects while its dialog is open no longer keeps the single
incoming slot, and a quick reconnect cannot revive the stale request.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* docs(device-link): align consent request wire field with ttlMs

The protocol ledger and the relay interop fixture still described the absolute
expiresAt timestamp; the implementation sends a relative ttlMs.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

---------

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 01:43:14 +08:00
MagicLizi
aa00d858f2 fix(device-link): bind relay frames to the receiver lifetime
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-10-29 01:03:08 +08:00
MagicLizi
ccd913b4fa test(device-link): verify both peers in self-hosted relay interop
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-10-29 00:31:21 +08:00
MagicLizi
2ca79792b6 feat(device-link): add self-hosted relay and one-click server deployment
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-10-28 23:32:07 +08:00
Dash
8840972fa4 perf(device-link): 预收列表聊天正文并在打开任务时复用
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-10 08:29:55 +13:00
Dash
5a8e74a6ba refactor(device-link): 归并桌面和手机的恢复调度与请求策略 (#4443)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-16 11:26:38 +08:00
Dash
30a91a4ce9 test(device-link): 恢复拆仓后的连接集成测试并接入 CI (#3943)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-08 13:51:08 +08:00