Files
cindy/scripts/device-link
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
..