@dsh-mobile/mobile-remote 3.5.0-beta.1 → 3.5.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -253,7 +253,7 @@ pushUrls:
253
253
 
254
254
  ## 版本与兼容
255
255
 
256
- - **版本号统一**:App 版本和插件版本用同一条版本线(插件 3.4.1,App 3.4.1+43;测试版插件 3.5.0-beta.1 配 App 3.5.0+44)。插件发布在 npm(`@dsh-mobile/mobile-remote`),手机 App 在 App Store 和官网 https://dsh.claud.ing/。
256
+ - **版本号统一**:App 版本和插件版本用同一条版本线(插件 3.4.1,App 3.4.1+43;测试版插件 3.5.0-beta.3 配 App 3.5.0+45)。插件发布在 npm(`@dsh-mobile/mobile-remote`),手机 App 在 App Store 和官网 https://dsh.claud.ing/。
257
257
  - **版本差矩阵**(一句话:谁旧谁吃亏,但都不崩):
258
258
 
259
259
  | 组合 | 结果 |
package/cordis.patch.yml CHANGED
@@ -14,7 +14,8 @@
14
14
  # a pairing code from the desktop "Remote access" panel is waiting): a fresh install
15
15
  # with no paired phone makes no relay connection. LAN direct keeps the same address
16
16
  # and token. Set false to never use the relay.
17
- # relay.urls relay endpoints (wss:// only); defaults to the project's public relay
17
+ # relay.urls relay endpoints (wss:// only); defaults to the project's public relays: Cloudflare and
18
+ # the Hong Kong node (T-48, for mainland phones). The PC holds one idle socket to each.
18
19
  #
19
20
  # To change anything, override the same entry in your own profile cordis.patch.yml:
20
21
  # - id: mobile-remote
@@ -32,3 +33,4 @@
32
33
  enabled: true
33
34
  urls:
34
35
  - wss://dsh.claud.ing
36
+ - wss://hk-relay.dsh.claud.ing
@@ -1,6 +1,6 @@
1
1
  # DSH Mobile - DeepSeek Harness Privacy Policy
2
2
 
3
- > Effective date: 2026-11-02 · Last updated: 2026-11-25
3
+ > Effective date: 2026-11-02 · Last updated: 2026-11-26
4
4
  > Publisher: Digital Bang Intelligence LLC., 30 N Gould St Ste R, Sheridan, WY 82801, USA · support@claud.ing
5
5
 
6
6
  ## 1. Overview
@@ -71,6 +71,7 @@ When your phone and computer are not on the same local network, you can use our
71
71
 
72
72
  - **End-to-end encryption.** Content between the phone and the computer (messages, sessions, files, approvals) is protected with the Noise protocol (X25519 key exchange, ChaCha20-Poly1305). **The relay only forwards ciphertext and cannot read the content.**
73
73
  - **What the relay sees while it relays.** Source IP addresses, the room identifier (a hash of the computer's public key), how many phones are connected, data volume and timing. It uses them only to deliver traffic and does not store them, apart from the counters below. Cloudflare and the network providers along the path may keep their own access logs.
74
+ - **Hong Kong relay node.** For users in mainland China, the app may also use our relay node in Hong Kong (`hk-relay.dsh.claud.ing`), run by us on a server rented from a hosting provider in Hong Kong SAR. It works like the Cloudflare relay: it only forwards ciphertext, needs a valid subscription, and holds the source IP address only in memory while forwarding (for per-address rate limits). It writes no access log and no IP addresses to disk, and it does not record the relay counters described below. The hosting provider and the network providers along the path may keep their own logs.
74
75
  - **Relay counters.** To keep the relay reliable and its costs under control, the relay records counters in Cloudflare Workers Analytics Engine. Each record holds only: the kind of event (a connection, a rejection, a close, or a usage update at most every 15 minutes while connected); whether the connection is from a computer or a phone; the Cloudflare data centre it reached and the country it comes from, both as reported by Cloudflare; the close code or HTTP status, a reason from a fixed list the relay itself uses, which side closed the connection, and the stage the connection had reached (for example authenticated, waiting for the computer, or verified); which relay implementation accepted it; and the duration, bytes and number of messages in each direction, with the relay's estimate of the server time it used and the number of times its own timer woke the room. A room appears only as a shortened one-way hash of its room identifier, never as the identifier itself: a pseudonymous ID for your computer's relay pairing, which we cannot tie back to your account. A field for the outcome of direct peer-to-peer connections is reserved and stays empty until that feature ships. **The counters contain no message content, no IP addresses, no account ID, no phone identifier and no relay tickets, and Cloudflare deletes them after three months (about 90 days).** The relay also records one cost estimate per day, which holds no data about anyone.
75
76
  - **Device keys.** The device key for this phone is stored in system secure storage (iOS Keychain / Android Keystore), one key per computer, and is **never uploaded**. The QR code contains no long-lived secret: only a one-time pairing code (short-lived and usable once).
76
77
  - **Payment.** Our subscription unlocks the Public network relay and importing your own persona cards; the relay requires an active subscription. Apple App Store or Google Play processes payment; we issue relay tickets only after verifying the receipt. Without a subscription, direct local-network connections still work.
@@ -87,9 +88,10 @@ The desktop plugin runs inside DeepSeek Harness on your computer. We publish it,
87
88
  - **Backups.** When you request a backup, the plugin produces a file with your current memories (deleted ones are not in it) and your assistant settings (mode, persona and quiet hours). It contains no access token or keys. Without a passphrase it is a plain JSON file. With a passphrase (at least 15 characters) the whole file is encrypted with AES-256-GCM under a key derived from the passphrase with scrypt; the plugin does not keep the passphrase, and without it the file cannot be read or restored. A backup made earlier still holds the memories that existed when it was made. If you fetch a backup to your phone, it travels over your connection (plain HTTP on a local network, encrypted through the relay); where you keep it is up to you. Restoring a backup only adds entries, so restoring an older backup brings back memories you deleted after making it.
88
89
  - **Balance and usage queries.** The plugin answers two kinds of request from your phone, using your own credentials. A usage request asks DeepSeek (through the DeepSeek account you signed in to in DeepSeek Harness, or `api.deepseek.com` with your API key), OpenAI (Codex usage, through DeepSeek Harness's Codex settings) and OpenCode (`opencode.ai`). The app sends one each time it starts with a computer set up (or first connects to one) and when you open or refresh the usage page; the Android desktop pet sends one when you open its panel, at most every 2 minutes. A balance request asks DeepSeek only. While the Android desktop pet is on, it sends one every 30 minutes, and every 5 seconds while its panel is open; because the plugin caches the answer for 60 seconds, DeepSeek is then asked about once a minute. Those credentials never go to the phone or to us. When the app's usage request goes through your DeepSeek account, the plugin passes the app's interface language (English or Chinese) and your phone's time-zone offset to DeepSeek Harness's DeepSeek account service, which sends them to DeepSeek with the request. Results are cached on your computer for up to 60 seconds.
89
90
  - **Push channels.** If you add push channels (ServerChan, ntfy, Bark, a WeCom group robot or any webhook), the plugin sends alerts to them directly. By default (`pushContent: minimal`) an alert contains the event type and a short session code, and a generic webhook also receives the full session ID and the time; with `standard` alerts also contain the session title and event details. Those services handle alerts under their own policies.
91
+ - **Notifications while the app is closed (push).** Once our push service is switched on, the app gives each computer it is paired with a push token (from Apple on iPhone, or from Google's Firebase Cloud Messaging on Android phones with Google services) and an encryption key it creates for that computer. The key travels over your existing connection and stays on the phone and that computer. When something needs you, finishes or fails and the app is not open, the plugin encrypts the notification text (the session title, a short description and your computer's name) with that key and sends it through our cloud service (`dsh.claud.ing`) to Apple or Google, which deliver it to your phone; the phone decrypts it. **Our service and Apple or Google see the push token and encrypted data they cannot read; we do not store the token, the data or a log of them.** If the phone cannot decrypt in time, it shows a generic notification. Phones without Google services get no such push and keep the push channels above. Removing a computer from the app tells it to forget the token and deletes the key on the phone. Approve, Decline and Cancel buttons on such a notification send your answer, encrypted with the same key, through our relay to that computer (only computers set up for remote access); the relay cannot read it and keeps no copy.
90
92
  - **Phone actions.** If you use the app, the AI agent running on your computer can ask your phone to set a timer or an alarm, add a calendar event or open a link. The plugin offers the agent these tools only while a phone whose app supports them is connected to your computer. A request travels from your computer to your phone over the connection you already use (your local network, or the Public network relay, where it is end-to-end encrypted like every other message, Section 6). **Nothing happens until you confirm it on the phone**, on a screen that names your computer (or after you chose "Allow this turn" for the same kind of action within the same agent turn). The request holds what the agent wrote, such as an event title, a time, notes or a link. **We do not store, log or receive these details: they go to no server of ours, and they are not part of any telemetry or relay counter.** The plugin's own logs keep at most the kind of action, a request ID and the outcome, never the details. Like any other tool call, though, the agent's request and its result are part of the conversation, which DeepSeek Harness keeps and sends to your model provider (Section 9). Nothing is sent to us for this beyond the encrypted relay traffic described in Section 6, which exists with or without phone actions.
91
93
  - **Toolbox.** You can make small tools for the app's Toolbox tab on your computer, by hand in the plugin's `toolbox` folder (in its state folder) or by asking the agent, which can package a folder and offer it to your phone. The plugin reads such a folder only when you or the agent ask for it, and never one inside the DeepSeek Harness home other than the `toolbox` folder. It sends the tool's files to your phone over the connection you already use, only after you confirm the install on the phone, on a screen that names your computer. The tool's files go to no server of ours; the plugin's logs keep at most the tool's ID, a request ID and the outcome.
92
- - **Direct (peer-to-peer) connection (experimental, off by default).** Only if you turn it on, the phone and your computer can try to connect directly instead of through the relay. To set it up they trade connection set-up messages (session descriptions and network candidates, which contain IP addresses) through your computer's room on our relay. **These messages are end-to-end encrypted with the keys from your pairing, so our servers cannot read them.** Our relay sees only that a set-up connection happened, and its size and timing, and counts it without content and without IP addresses, like the other relay counters (Section 6). The data itself then goes directly between your two devices and is encrypted again; it does not pass through our servers. To find its public address, each side asks a STUN server, by default `stun:stun.cloudflare.com:3478`, which is run by Cloudflare and sees the IP address of the device that asks; you can change that server in the plugin's configuration (`p2p.stun`).
94
+ - **Direct (peer-to-peer) connection (on by default).** The phone and your computer try to connect directly instead of through the relay; you can turn this off in the app. To set it up they trade connection set-up messages (session descriptions and network candidates, which contain IP addresses) through your computer's room on our relay. **These messages are end-to-end encrypted with the keys from your pairing, so our servers cannot read them.** Our relay sees only that a set-up connection happened, and its size and timing, and counts it without content and without IP addresses, like the other relay counters (Section 6). The data itself then goes directly between your two devices and is encrypted again; it does not pass through our servers. To find its public address, each side asks a STUN server, by default `stun:stun.cloudflare.com:3478`, which is run by Cloudflare and sees the IP address of the device that asks; you can change that server in the plugin's configuration (`p2p.stun`). **TURN (subscribers only).** When a direct connection cannot be made (for example behind a mobile carrier's network), a subscriber's phone and computer may instead connect through our TURN server on the Hong Kong node (`hk-turn.dsh.claud.ing`, over TLS on port 443 or TCP on port 3478), using credentials that expire after 5 minutes. The TURN server forwards the already encrypted data and cannot read it. Its operating log records the connecting IP address and the temporary TURN user name (an expiry time and a device identifier), without any content; the log rotates and is overwritten after at most about 30 MB, which is normally a few days.
93
95
  - **Proactive messages and quiet hours.** Both are decided on your computer. Proactive messages are off by default; their schedule is kept in `proactive.json` in the state folder, and the messages reach you the same way as alerts.
94
96
 
95
97
  ## 8. In-app purchases and subscriptions
@@ -115,8 +117,11 @@ DeepSeek Harness, model providers, push channels and file services are chosen an
115
117
  | Google Sign-In | Google one-tap sign-in | [Google Privacy Policy](https://policies.google.com/privacy) |
116
118
  | Apple Sign In | Apple one-tap sign-in | [Apple Privacy Policy](https://www.apple.com/legal/privacy/) |
117
119
  | Google ML Kit (Android only) | QR-code scanning in the app; sends Google diagnostic and usage data (Section 10) | [ML Kit data disclosure](https://developers.google.com/ml-kit/android-data-disclosure) |
118
- | Cloudflare | Website hosting, the cloud account service and its storage (D1, R2), the Public network relay and its counters (Workers Analytics Engine); the default STUN server for direct connections, only if you turn them on (Section 7) | [Cloudflare Privacy Policy](https://www.cloudflare.com/privacypolicy/) |
120
+ | Cloudflare | Website hosting, the cloud account service and its storage (D1, R2), the Public network relay and its counters (Workers Analytics Engine); the default STUN server for direct connections (Section 7) | [Cloudflare Privacy Policy](https://www.cloudflare.com/privacypolicy/) |
121
+ | Server hosting provider in Hong Kong SAR | Hosts the server of our Hong Kong relay node and TURN server (Sections 6 and 7); we run the software on it | Its own policy |
119
122
  | DeepSeek, OpenAI, OpenCode | Balance and usage queries from the desktop plugin, with your own credentials | Their own policies |
123
+ | Apple Push Notification service | Delivers the app's encrypted notifications to iPhones (Section 7) | [Apple Privacy Policy](https://www.apple.com/legal/privacy/) |
124
+ | Google Firebase Cloud Messaging (Android with Google services) | Delivers the app's encrypted notifications to Android phones (Section 7) | [Google Privacy Policy](https://policies.google.com/privacy) |
120
125
  | ServerChan, ntfy, Bark, WeCom, webhooks | Push alerts you set up in the desktop plugin | Their own policies |
121
126
  | WeChat, QQ, Discord | Support channels listed on our website | Their own policies |
122
127
 
@@ -141,7 +146,7 @@ What each permission is for:
141
146
 
142
147
  **Toolbox.** The Toolbox tab has a calculator, an expense tracker and a calendar built in, and the tools you install from your own computer (Section 7). The calculator and expense tracker run inside the app; the calendar's notes and the expenses you log stay on your phone. Every tool runs in its own sandbox: it cannot use the network (requests to any address are blocked), cannot use phone features such as the camera, location, contacts or files, and cannot see your sessions, files, access tokens, account or the data of other tools. It keeps its data on your phone in storage of its own, which the app deletes when you uninstall the tool. The app shares no data from the app or your phone with a tool; if a later version lets you share something with a tool, it will ask you each time. Tools are not shared between users, and nothing about the tools you install or use is sent to us.
143
148
 
144
- **Direct connection (experimental, off by default).** If it is turned on, the app and your computer trade connection set-up messages through our relay, end-to-end encrypted, and then connect directly, as described in Section 7. The app asks a STUN server (by default Cloudflare's `stun.cloudflare.com`) for its public IP address for that.
149
+ **Direct connection (on by default; can be turned off).** The app and your computer trade connection set-up messages through our relay, end-to-end encrypted, and then connect directly, as described in Section 7. The app asks a STUN server (by default Cloudflare's `stun.cloudflare.com`) for its public IP address for that.
145
150
 
146
151
  **On Android, the built-in QR scanner library sends data to Google.** The Android app scans QR codes with Google's ML Kit barcode-scanning library, which is built into the app. It can send data while the app runs, not only when you scan a code. According to Google, it collects and sends to Google, over HTTPS and for diagnostics and usage analytics: device information (manufacturer, model, OS version and build, available machine-learning accelerators), app information (package name and app version), a per-installation identifier that is not meant to identify you or your device, and scanner events, settings, performance and error codes. Google's list does not include the camera images or the contents of the codes you scan, and Google says it does not transfer this data to third parties. The data goes to Google's Firebase logging service (firebaselogging.googleapis.com), not to us. The iOS app scans with Apple's built-in Vision framework and sends no such data.
147
152
 
@@ -189,7 +194,7 @@ DSH Mobile is intended for people who can manage developer tools and network con
189
194
 
190
195
  ## 16. International transfers
191
196
 
192
- Our cloud service and relay are hosted by Cloudflare, and data may be processed in the United States and other countries. We take reasonable measures to protect personal data in transit as required by applicable law.
197
+ Our cloud service and relay are hosted by Cloudflare, and data may be processed in the United States and other countries. Our Hong Kong relay node and TURN server run on a server in Hong Kong SAR. We take reasonable measures to protect personal data in transit as required by applicable law.
193
198
 
194
199
  ## 17. Changes to this policy
195
200
 
@@ -1,6 +1,6 @@
1
1
  # DSH Mobile - DeepSeek Harness 隐私政策
2
2
 
3
- > 生效日期:2026-11-02 · 最近更新:2026-11-25
3
+ > 生效日期:2026-11-02 · 最近更新:2026-11-26
4
4
  > 发布者:Digital Bang Intelligence LLC.,30 N Gould St Ste R, Sheridan, WY 82801, USA · support@claud.ing
5
5
 
6
6
  ## 1. 概述
@@ -71,6 +71,7 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
71
71
 
72
72
  - **端到端加密。** 手机与电脑之间的内容(消息、会话、文件、审批)使用 Noise 协议(X25519 密钥交换,ChaCha20-Poly1305)加密。**中继只转发密文,无法读取内容。**
73
73
  - **中继转发时能看到什么。** 来源 IP 地址、房间标识(电脑公钥的哈希)、在线手机数、数据量和时间。这些只用于转发流量,除下面的计数外不会保存。Cloudflare 和链路上的网络服务商可能保留各自的访问日志。
74
+ - **香港中继节点。** 对中国大陆的用户,应用也可能使用我们在香港的中继节点(`hk-relay.dsh.claud.ing`),由我们在向香港特别行政区的服务器托管商租用的服务器上运行。它与 Cloudflare 中继的工作方式相同:只转发密文,需要有效订阅;来源 IP 地址只在转发期间保存在内存中(用于按地址限速),不写访问日志,也不把 IP 地址写入磁盘,不记录下面所述的中继计数。托管商和链路上的网络服务商可能保留各自的日志。
74
75
  - **中继计数。** 为了保证中继可靠、控制成本,中继会在 Cloudflare Workers Analytics Engine 中记录计数。每条记录只包含:事件类型(连接、被拒绝、关闭,或连接期间最多每 15 分钟一次的用量更新);连接来自电脑还是手机;连接到达的 Cloudflare 数据中心和来源国家或地区,均为 Cloudflare 提供的值;关闭码或 HTTP 状态码、中继自身使用的固定原因代码、由哪一方关闭连接,以及连接进行到的阶段(例如已认证、等待电脑或已验证);接受连接的中继实现;以及每个方向的时长、字节数和消息数,以及中继估算的服务器用时和它自己的定时器唤醒房间的次数。房间只以其房间标识的截短单向哈希出现,从不记录房间标识本身:它是你电脑中继配对的假名标识,我们无法把它对应回你的账号。点对点直连结果的字段已预留,在该功能上线前一直为空。**这些计数不含任何消息内容、IP 地址、账号 ID、手机标识和中继票据,Cloudflare 会在三个月(约 90 天)后删除。** 中继每天还会记录一条成本估算,其中不含任何人的数据。
75
76
  - **设备密钥。** 这台手机专用的设备密钥保存在系统安全存储(iOS Keychain / Android Keystore)中,每台电脑一把,**不会上传**。二维码里没有长期口令:只有一次性配对码(短时有效、只能用一次)。
76
77
  - **收费。** 我们的订阅解锁公开网络中继和导入你自己的人格卡;公开网络中继需要有效订阅。订阅由 Apple App Store 或 Google Play 处理付款;我们只在校验收据后发放中继票据。未订阅时,应用仍可使用局域网直连。
@@ -87,9 +88,10 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
87
88
  - **备份。** 当你请求备份时,插件会生成一个文件,内含你现有的记忆(已删除的不在其中)和助手设置(模式、人格和安静时段)。它不含访问口令或密钥。不设口令时它是明文 JSON 文件;设了口令(至少 15 个字符)时,整个文件用 AES-256-GCM 加密,密钥由口令经 scrypt 派生;插件不保存口令,没有口令就无法读取或恢复该文件。之前做的备份仍包含做备份时存在的记忆。如果你把备份取到手机上,它会经由你的连接传输(局域网下是明文 HTTP,经中继时加密);保存在哪里由你决定。恢复备份只会新增条目,所以恢复一份较早的备份,会把你在那之后删除的记忆加回来。
88
89
  - **余额与用量查询。** 插件会用你自己的凭据,回应手机发来的两类请求。用量请求会向 DeepSeek(通过你在 DeepSeek Harness 里登录的 DeepSeek 账号,或用你的 API Key 访问 `api.deepseek.com`)、OpenAI(Codex 用量,通过 DeepSeek Harness 的 Codex 设置)和 OpenCode(`opencode.ai`)查询。每次在已配置电脑的情况下启动应用(或第一次连上电脑)时、以及你打开或刷新用量页时,应用会发一次;你打开 Android 桌面宠物的面板时,宠物也会发一次,最多每 2 分钟一次。余额请求只查询 DeepSeek。开启 Android 桌面宠物后,它每 30 分钟发一次,面板打开期间每 5 秒发一次;由于插件会把结果缓存 60 秒,这时 DeepSeek 约每分钟被查询一次。这些凭据永远不会发到手机或我们这里。应用的用量请求通过你的 DeepSeek 账号查询时,插件会把应用的界面语言(中文或英文)和手机的时区偏移交给 DeepSeek Harness 的 DeepSeek 账号服务,由它随请求一起发给 DeepSeek。查询结果在你的电脑上最多缓存 60 秒。
89
90
  - **推送通道。** 如果你添加了推送通道(Server酱、ntfy、Bark、企业微信群机器人或任意 Webhook),插件会把提醒直接发给它们。默认(`pushContent: minimal`)提醒包含事件类型和会话短码,通用 Webhook 还会收到完整的会话 ID 和时间;设为 `standard` 时提醒还会包含会话标题和事件详情。这些服务按其各自政策处理提醒。
91
+ - **应用关闭时的通知(推送)。** 我们的推送服务开启后,应用会给每台已配对的电脑一个推送令牌(iPhone 上来自 Apple;有 Google 服务的 Android 手机上来自 Google 的 Firebase Cloud Messaging),以及一把应用为这台电脑生成的加密密钥。密钥经你已有的连接传给电脑,只保存在手机和那台电脑上。当有事需要你处理、任务完成或失败而应用没有打开时,插件用这把密钥加密通知文字(会话标题、一句简短说明和你电脑的名字),经我们的云端服务(`dsh.claud.ing`)交给 Apple 或 Google 送达手机,由手机解密。**我们的服务和 Apple、Google 只能看到推送令牌和无法读取的密文;我们不保存令牌、密文,也不记录它们。** 手机来不及解密时会显示一条通用通知。没有 Google 服务的手机收不到这种推送,仍使用上面的推送通道。在应用里移除一台电脑时,应用会让它忘掉这个令牌,并删除手机上的密钥。通知上的“批准”“拒绝”“取消”按钮会把你的回答用同一把密钥加密,经我们的中继交给那台电脑(仅限开启了远程访问的电脑);中继无法读取,也不保留副本。
90
92
  - **手机动作。** 如果你使用本应用,运行在你电脑上的 AI 智能体可以请求你的手机设置计时器或闹钟、添加日历事件或打开链接。只有在支持这些动作的应用版本连接到你的电脑时,插件才会把这些工具提供给智能体。请求从你的电脑经你已经在用的连接送到手机(局域网,或公开网络中继;经中继时与其他所有消息一样端到端加密,见第 6 节)。**你在手机上确认之前,什么都不会发生**:确认界面会写明是哪台电脑(或者你在同一次智能体轮次内,已对同一类动作选择了“本轮允许”)。请求里包含智能体写下的内容,例如事件标题、时间、备注或链接。**我们不会存储、记录或接收这些内容:它们不会发往我们的任何服务器,也不属于任何遥测或中继计数。** 插件自己的日志最多只记录动作的种类、请求 ID 和结果,不记录这些内容。不过,与任何其他工具调用一样,智能体的请求及其结果属于对话的一部分,而对话由 DeepSeek Harness 保存并发送给你的模型提供方(第 9 节)。除第 6 节所述、无论是否使用手机动作都已存在的加密中继流量外,这项功能不会向我们发送任何数据。
91
93
  - **工具箱。** 你可以在电脑上为应用的“工具箱”页制作小工具:手动放进插件状态目录下的 `toolbox` 文件夹,或者让智能体把一个文件夹打包并发给你的手机。插件只在你或智能体要求时读取这样的文件夹,并且不会读取 DeepSeek Harness 主目录里除 `toolbox` 文件夹以外的任何文件夹。只有在你在手机上确认安装之后(确认界面会写明是哪台电脑),插件才会经你已经在用的连接把工具文件发给手机。工具文件不会发往我们的任何服务器;插件日志最多只记录工具 ID、请求 ID 和结果。
92
- - **直连(点对点)连接(实验性,默认关闭)。** 只有在你主动开启后,手机和你的电脑才会尝试直接连接,而不经过中继。为了建立连接,它们会通过我们中继上你电脑的房间交换连接建立消息(会话描述和网络候选地址,其中包含 IP 地址)。**这些消息用你们配对时的密钥端到端加密,我们的服务器无法读取。** 我们的中继只能看到发生过一次建立连接、它的大小和时间,并像其他中继计数一样记录,不含内容,也不含 IP 地址(第 6 节)。随后数据直接在你的两台设备之间传输并再次加密,不经过我们的服务器。为了得知自己的公网地址,双方会向 STUN 服务器发起查询,默认是 `stun:stun.cloudflare.com:3478`,由 Cloudflare 运营,它会看到发起查询的设备的 IP 地址;你可以在插件配置里更换这个服务器(`p2p.stun`)。
94
+ - **直连(点对点)连接(默认开启)。** 手机和你的电脑会尝试直接连接,而不经过中继;你可以在应用里关闭它。为了建立连接,它们会通过我们中继上你电脑的房间交换连接建立消息(会话描述和网络候选地址,其中包含 IP 地址)。**这些消息用你们配对时的密钥端到端加密,我们的服务器无法读取。** 我们的中继只能看到发生过一次建立连接、它的大小和时间,并像其他中继计数一样记录,不含内容,也不含 IP 地址(第 6 节)。随后数据直接在你的两台设备之间传输并再次加密,不经过我们的服务器。为了得知自己的公网地址,双方会向 STUN 服务器发起查询,默认是 `stun:stun.cloudflare.com:3478`,由 Cloudflare 运营,它会看到发起查询的设备的 IP 地址;你可以在插件配置里更换这个服务器(`p2p.stun`)。**TURN(仅限订阅用户)。** 无法直接连接时(例如在移动运营商的网络里),订阅用户的手机和电脑可以改经我们香港节点上的 TURN 服务器(`hk-turn.dsh.claud.ing`,经 443 端口的 TLS 或 3478 端口的 TCP)连接,使用 5 分钟后失效的凭证。TURN 服务器转发的是已加密的数据,无法读取。它的运行日志会记录连接的 IP 地址和临时 TURN 用户名(一个到期时间和一个设备标识),不含任何内容;日志滚动覆盖,最多约 30 MB,通常保留几天。
93
95
  - **主动消息与安静时段。** 两者都在你的电脑上决定。主动消息默认关闭;其排程保存在状态目录的 `proactive.json` 中,消息和提醒走同样的通道到达你。
94
96
 
95
97
  ## 8. 内购与订阅
@@ -115,8 +117,11 @@ DeepSeek Harness、模型提供商、推送通道和文件服务由你选择并
115
117
  | Google Sign-In | Google 一键登录 | [Google 隐私权政策](https://policies.google.com/privacy) |
116
118
  | Apple Sign In | Apple 一键登录 | [Apple 隐私政策](https://www.apple.com/legal/privacy/) |
117
119
  | Google ML Kit(仅 Android) | 应用内扫码;会把诊断和使用数据发给 Google(第 10 节) | [ML Kit 数据披露](https://developers.google.com/ml-kit/android-data-disclosure) |
118
- | Cloudflare | 托管网站、云端账号服务及其存储(D1、R2)、公开网络中继及其计数(Workers Analytics Engine);直连默认使用的 STUN 服务器(仅在你开启直连时,第 7 节) | [Cloudflare 隐私政策](https://www.cloudflare.com/privacypolicy/) |
120
+ | Cloudflare | 托管网站、云端账号服务及其存储(D1、R2)、公开网络中继及其计数(Workers Analytics Engine);直连默认使用的 STUN 服务器(第 7 节) | [Cloudflare 隐私政策](https://www.cloudflare.com/privacypolicy/) |
121
+ | 香港特别行政区的服务器托管商 | 托管我们香港中继节点和 TURN 服务器所在的服务器(第 6、7 节);其上的软件由我们运行 | 其各自政策 |
119
122
  | DeepSeek、OpenAI、OpenCode | 电脑端插件用你自己的凭据查询余额和用量 | 其各自政策 |
123
+ | Apple 推送通知服务(APNs) | 把应用的加密通知送到 iPhone(第 7 节) | [Apple 隐私政策](https://www.apple.com/legal/privacy/) |
124
+ | Google Firebase Cloud Messaging(有 Google 服务的 Android) | 把应用的加密通知送到 Android 手机(第 7 节) | [Google 隐私权政策](https://policies.google.com/privacy) |
120
125
  | Server酱、ntfy、Bark、企业微信、Webhook | 你在电脑端插件里配置的推送提醒 | 其各自政策 |
121
126
  | 微信、QQ、Discord | 我们网站上列出的客服渠道 | 其各自政策 |
122
127
 
@@ -141,7 +146,7 @@ DeepSeek Harness、模型提供商、推送通道和文件服务由你选择并
141
146
 
142
147
  **工具箱。** “工具箱”页内置计算器、记账和日历,另外还有你从自己电脑上安装的工具(第 7 节)。计算器和记账在应用内运行;日历备注和你记下的花费都只保存在手机上。每个工具都运行在独立的沙盒里:不能使用网络(发往任何地址的请求都会被拦截),不能使用相机、位置、通讯录、文件等手机功能,也看不到你的会话、文件、访问口令、账号或其他工具的数据。工具把数据保存在手机上专属于它的存储里,卸载工具时应用会把这些数据删除。应用不会把应用内或手机上的任何数据交给工具;如果以后的版本允许你把某些内容交给工具,每次都会先征得你的同意。工具不会在用户之间共享,你安装或使用了哪些工具也不会发给我们。
143
148
 
144
- **直连(实验性,默认关闭)。** 如果开启,应用和你的电脑会通过我们的中继交换端到端加密的连接建立消息,然后直接连接,详见第 7 节。为此,应用会向 STUN 服务器(默认是 Cloudflare 的 `stun.cloudflare.com`)查询自己的公网 IP 地址。
149
+ **直连(默认开启,可以关闭)。** 应用和你的电脑会通过我们的中继交换端到端加密的连接建立消息,然后直接连接,详见第 7 节。为此,应用会向 STUN 服务器(默认是 Cloudflare 的 `stun.cloudflare.com`)查询自己的公网 IP 地址。
145
150
 
146
151
  **Android 版内置的扫码库会向 Google 发送数据。** Android 版使用内置在应用里的 Google ML Kit 条码扫描库扫码。它在应用运行时就可能发送数据,不限于扫码的时候。据 Google 说明,它会通过 HTTPS 收集并发给 Google 以下数据,用于诊断和使用分析:设备信息(制造商、型号、系统版本和构建号、可用的机器学习加速硬件)、应用信息(包名和应用版本)、一个不用于识别你或你设备的按安装生成的标识符,以及扫码功能的事件、设置、性能和错误码。Google 列出的数据不包括相机画面或你扫描的二维码内容,Google 也说明不会把这些数据转给第三方。这些数据发往 Google 的 Firebase 日志服务(firebaselogging.googleapis.com),不是发给我们。iOS 版使用 Apple 系统自带的 Vision 框架扫码,不发送此类数据。
147
152
 
@@ -189,7 +194,7 @@ DSH Mobile 面向能够管理电脑端开发工具和网络连接的用户,不
189
194
 
190
195
  ## 16. 国际数据传输
191
196
 
192
- 我们的云端服务和中继由 Cloudflare 托管,数据可能在美国及其他国家处理。我们会按适用法律采取合理措施保护传输中的个人数据。
197
+ 我们的云端服务和中继由 Cloudflare 托管,数据可能在美国及其他国家处理。我们的香港中继节点和 TURN 服务器运行在香港特别行政区的服务器上。我们会按适用法律采取合理措施保护传输中的个人数据。
193
198
 
194
199
  ## 17. 政策更新
195
200