@dsh-mobile/mobile-remote 3.3.0 → 3.3.1
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/FAQ.md +2 -2
- package/LICENSE +0 -0
- package/README.md +6 -5
- package/docs/PRIVACY-POLICY.en.md +17 -16
- package/docs/PRIVACY-POLICY.md +17 -16
- package/docs/SUPPORT.md +1 -1
- package/docs/TERMS-OF-SERVICE.en.md +5 -3
- package/docs/TERMS-OF-SERVICE.md +5 -3
- package/docs/USER-GUIDE.zh-CN.md +6 -6
- package/lib/account-usage.js +0 -0
- package/lib/api-helpers.js +6 -2
- package/lib/assistant-prefs.js +57 -37
- package/lib/backup.js +56 -20
- package/lib/client.js +272 -74
- package/lib/config.js +6 -4
- package/lib/git-read-bundled-provider.js +21 -1
- package/lib/git-read-service.js +0 -0
- package/lib/index.js +206 -47
- package/lib/memory/context.js +5 -0
- package/lib/memory/store.js +55 -8
- package/lib/persona-cards.js +5 -1
- package/lib/proactive.js +4 -1
- package/lib/protected-paths.js +172 -12
- package/lib/protocol.js +4 -0
- package/lib/relay/connector.js +113 -4
- package/lib/relay/devices.js +42 -10
- package/lib/relay/on-demand.js +8 -3
- package/lib/relay/pairing.js +45 -6
- package/lib/relay/phone.js +5 -3
- package/lib/relay/ws-server.js +245 -0
- package/lib/session-title-cache.js +0 -0
- package/lib/session-title-refresh.js +0 -0
- package/package.json +6 -6
package/FAQ.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
**Q:外出(不在家)怎么连?**
|
|
26
26
|
**两种方式:**
|
|
27
|
-
**① 公开网络(加密中继,最省事,付费)**——电脑和手机都只向外连同一个中继,内容端到端加密、电脑不开放端口,不用装任何组网软件,扫一次「远程访问」里的配对码即可。插件默认允许使用中继(3.2.6 起),指向已部署的 `wss://dsh.claud.ing`(也可自建);**电脑只在你配对过手机之后才去连中继**——装了插件但从没配对过手机的电脑,不会因为中继而连接我们的服务器,撤销最后一台手机后这条连接也会断开;完全不想用可设 `relay.enabled: false`。**这是付费能力**:需要登录并订阅(App Store / Google Play 内购),未订阅时手机侧会被中继以 402
|
|
27
|
+
**① 公开网络(加密中继,最省事,付费)**——电脑和手机都只向外连同一个中继,内容端到端加密、电脑不开放端口,不用装任何组网软件,扫一次「远程访问」里的配对码即可。插件默认允许使用中继(3.2.6 起),指向已部署的 `wss://dsh.claud.ing`(也可自建);**电脑只在你配对过手机之后才去连中继**——装了插件但从没配对过手机的电脑,不会因为中继而连接我们的服务器,撤销最后一台手机后这条连接也会断开;完全不想用可设 `relay.enabled: false`。**这是付费能力**:需要登录并订阅(App Store / Google Play 内购),未订阅时手机侧会被中继以 402 拒绝;这份订阅同时包含「导入自己写的人格卡」(三张内置人格卡始终免费);局域网直连始终免费。步骤与限制见[用户指南 §5](docs/USER-GUIDE.zh-CN.md#relay)。
|
|
28
28
|
**② 虚拟组网(免费,自己配置)**——例如蒲公英(已实测 ✅):电脑和手机装蒲公英客户端,登录同一账号加入同一组网(免费版 3 个成员)。手机 DSH App 首次手动填一次电脑的蒲公英虚拟 IP(`http://172.16.x.x:<端口>`),之后 App 自动切换:出门走蒲公英、回家走局域网(设置 → 电脑地址显示「共 N 个地址自动切换」)。步骤详见[用户指南 §4.1](docs/USER-GUIDE.zh-CN.md#away)。
|
|
29
29
|
其他虚拟组网(ZeroTier/路由器 WireGuard)与内网穿透(frp/樱花映射)同理可接,配置要点见[用户指南 §4.2](docs/USER-GUIDE.zh-CN.md#away-other)(隧道类需插件 `trustedHosts` 放行 + 强口令)。**禁止公网端口裸奔映射**;Tailscale 因国内控制面不可达不推荐。
|
|
30
30
|
|
|
@@ -113,7 +113,7 @@ approvalMode: both # 默认。两端同卡、先答生效(需 DSH 0.1.2-r
|
|
|
113
113
|
**禁止**。插件面向可信内网设计(详见[用户指南 · 安全须知](docs/USER-GUIDE.zh-CN.md#security));外出请用**加密中继**([用户指南 §5](docs/USER-GUIDE.zh-CN.md#relay))或**虚拟组网**(如蒲公英,[用户指南 §4.1](docs/USER-GUIDE.zh-CN.md#away);Tailscale 国内控制面不可达不推荐,其他组网/隧道思路见用户指南 §4.2,公网隧道必须配 TLS)。
|
|
114
114
|
|
|
115
115
|
**Q:App 会联网上传我的数据吗?**
|
|
116
|
-
|
|
116
|
+
会话内容不会交给我们:局域网直连时,消息、文件和图片只在手机与你的电脑之间传输,不经过我们(只扫过局域网二维码的手机在局域网内是明文 HTTP;配对过公开网络的手机,电脑插件更新后在局域网内也走同一套端到端加密,不再发访问口令);走公开网络时,它们以端到端加密的密文经过我们的中继,我们读不到。下面这些情况会联网到别处:
|
|
117
117
|
- 登录云端账号、购买或恢复订阅、使用公开网络时,App 会访问 `dsh.claud.ing`(账号标识、邮箱和姓名、订阅记录、中继票据);
|
|
118
118
|
- 公开网络中继会记录连接计数(不含内容、不含 IP 地址,约 90 天后删除);
|
|
119
119
|
- Android 版内置的扫码库 Google ML Kit 会把诊断数据发给 Google,App 运行时就可能发送,不限于扫码时(iOS 版用系统自带扫码,不发送);
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
- 🏢 **模型提供商互通**:PC 端「设置 → 模型」与手机同一配置通道——37 个内置提供商(anthropic / openai / google / groq 等)手机可见可配(baseURL + API Key 即激活),模型选择器按提供商分组,设置页「模型提供商」可搜索/编辑/探测模型
|
|
28
28
|
- 👀 **过程可见性**:活动条(思考中 / 正在调用工具实时状态行)+ 可折叠思考面板(默认只显示状态)
|
|
29
29
|
- 🛠️ **会话工具**:运行中的后台任务实时卡片(可取消)+ 三页签弹层——任务 / 子代理(查看+中断)/ 目标(查看、创建、暂停、继续、标记完成,与 PC 端 goal 服务同源)
|
|
30
|
-
- 🧍 **桌面宠物**:Android
|
|
30
|
+
- 🧍 **桌面宠物**:Android 悬浮宠物就是首页的那个女孩(动画由角色包渲染);首页角色是分层的活动角色(`lib/character/character_view.dart`:按任务/通知状态切换动作,会眨眼,点头部/身体/尾巴有反应)。宠物常驻桌面——任务/通知/余额驱动 16 组动作(思考、处理、等待、完成、出错、待机微动作);点头部/身体/尾巴互动,双击摸头,拖动悬空+落地,长按打开迷你面板(运行中会话 / 通知 / 用量与额度 / 余额 / 打开 App);拖到边缘或角落会探头(只露出头和手扒着屏幕边,悬浮窗只有露出的那一块,不挡旁边的触摸),点一下跳出来,完成/等待/出错时也会跳出来提示;随机眨眼;默认约 50dp 高,四档大小与减少动效;**App 在前台时自动收起**(不与首页角色同屏、不挡按钮);错过的通知也会补提示(气泡/角标/横幅)
|
|
31
31
|
- 🎨 **外观:皮肤与图标**:四套皮肤(默认 / 深潜夜航 / 海盐汽水 / 鲸落星海,各含明暗两套)——三套角色皮肤下首页换成角色 Hero + 动态背景(气泡/声呐环/星尘月盘的 30fps 上限动画),角色可点头部/身体/尾巴互动、长按开面板;App 图标 8 款(默认 / 深海荧光 / 贝壳徽章 / 月夜潮线 / 奶油贴纸 / 邮票 / 霓虹灯牌 / 单色剪影,「默认」是项目方提供的标志,其余 7 款由代码绘制),用 `activity-alias` 切换;全部图标与插图由 `dsh-mobile-app/tools/brand/build.sh` 一键生成,素材清单与重新生成方式见 [Part C](docs/CONSOLIDATED-DOCUMENTATION.en.md#part-c)
|
|
32
|
-
- 💾 **体验打磨**:Agent 状态 bootstrap 同步(按钮/活动条即时反映 PC 状态)、下拉刷新收集地址(蒲公英/Tailscale
|
|
32
|
+
- 💾 **体验打磨**:Agent 状态 bootstrap 同步(按钮/活动条即时反映 PC 状态)、下拉刷新收集地址(蒲公英/Tailscale 自动进候选)、聊天草稿保留(退出重进自动恢复)、首页改版(活动角色 / 新欢迎语 / 状态胶囊 / 最近会话卡片滑动)、语言切换(中/英)
|
|
33
33
|
- 📶 **扫码连接**:桌面 dsh 设置页出现「连接移动端设备」二维码 → 手机 App 扫码即连(免输 IP/口令)
|
|
34
34
|
- 🩺 **环境诊断**:一键查看当前环境各项能力(含问询/审批桥状态),升级/排障一目了然
|
|
35
35
|
- 🧭 **连接可解释**:连接失败按九类归因(网络不可达 / 超时 / TLS / 不是 DSH / 口令 / 订阅 / 版本 / 5xx / 未知),口令错与订阅过期这类**不再无限重试**;设置页「连接路径」显示走直连还是加密中继、耗时、RTT、上次退回原因;Wi-Fi ⇄ 蜂窝切换立即重连;「连接诊断包」一键导出(已脱敏)。订阅票据抖动时提示「暂时读不到订阅状态」,不弹付费墙
|
|
@@ -151,7 +151,8 @@ npx @deepseek-ai/dsh web
|
|
|
151
151
|
pushUrls: [] # 见下方推送配置
|
|
152
152
|
# pushContent: standard # 默认 minimal:推送只含事件类型+会话短码(通用 webhook 另带完整会话 ID 和时间);standard 才含标题/详情
|
|
153
153
|
# rateLimit: { maxFailures: 10, windowMs: 60000, blockMs: 60000 } # 登录失败限流
|
|
154
|
-
# trustedHosts: ["<内网穿透中继地址>"] # 仅 frp 等中继方案需要,见 docs/USER-GUIDE.zh-CN.md §4.2
|
|
154
|
+
# trustedHosts: ["<内网穿透中继地址>"] # 仅 frp 等中继方案需要,见 docs/USER-GUIDE.zh-CN.md §4.2;隧道只能指向 LAN 桥端口,不要指向 DSH 自己的端口(那里的「本机」接口不要口令)
|
|
155
|
+
# breakReminder: { enabled: false } # 连续工作 2 小时的休息提醒。默认:App 里有这个开关(发过 breakReminder)才提醒;true = 不看 App 也提醒,false = 这台电脑永不提醒
|
|
155
156
|
```
|
|
156
157
|
|
|
157
158
|
## 桌面设置页入口(客户端模块)
|
|
@@ -240,7 +241,7 @@ pushUrls:
|
|
|
240
241
|
|
|
241
242
|
## 兼容性
|
|
242
243
|
|
|
243
|
-
- **dsh 版本**:当前在 DSH 0.2.x(npm 最新是 0.2.2-rc.5)上适配;`package.json` 的 `engines.dsh` 声明 `>=0.1
|
|
244
|
+
- **dsh 版本**:当前在 DSH 0.2.x(npm 最新是 0.2.2-rc.5)上适配;`package.json` 的 `engines.dsh` 声明 `>=0.2.1-rc.2 <0.4.0-0`(3.3.1 起;更老的宿主会把人格卡和记忆里的 `{{…}}` 当模板变量,一条就让每轮对话出错,请留在 3.3.0 或升级 DSH),`engines.node` 是 `>=24.9.0`(与 DSH 自己的要求一致)。更早的基线:v3.1.2/v3.1.3 为 **`0.1.2-rc.1` 服务包 = DSH Desktop v2.0.5**(approval/request 瀑布 answerer、`$events` 远程事件双端审批、RPC 网关直通、桌面浏览器门禁适配);v3.0.0–v3.1.1 为 **`0.1.1-rc.2` = DSH Desktop v2.0.2**(`commands.execute` 四参、桌面版强制回环 → LAN 桥)。更低版本按功能降级,服务依赖与降级行为详见 **[Part 09](docs/CONSOLIDATED-DOCUMENTATION.en.md#part-09)**
|
|
244
245
|
- **平台(App)**:iPhone / iPad(App Store,iOS 15+);Android 7.0+ 全品牌(渲染 Impeller 自动回退;实测小米 17 Pro Max)。iOS 与 Android 的功能差异见 [Part 09 §4](docs/CONSOLIDATED-DOCUMENTATION.en.md#part-09)
|
|
245
246
|
- **平台(桌面)**:Windows/macOS;命令行 dsh web 与桌面端均支持(纯 headless 形态插件静默无操作)
|
|
246
247
|
- **个性化**:模型/权限/Agent 预设动态读取 PC 端真实目录,用户自定义自动出现;自定义动作经 `mobileActions` 注册自动上架
|
|
@@ -248,7 +249,7 @@ pushUrls:
|
|
|
248
249
|
|
|
249
250
|
## 版本与兼容
|
|
250
251
|
|
|
251
|
-
- **版本号统一**:App
|
|
252
|
+
- **版本号统一**:App 版本和插件版本用同一条版本线(插件 3.3.1,App 3.3.0+41)。插件发布在 npm(`@dsh-mobile/mobile-remote`),手机 App 在 App Store 和官网 https://dsh.claud.ing/。
|
|
252
253
|
- **版本差矩阵**(一句话:谁旧谁吃亏,但都不崩):
|
|
253
254
|
|
|
254
255
|
| 组合 | 结果 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSH Mobile - DeepSeek Harness Privacy Policy
|
|
2
2
|
|
|
3
|
-
> Effective date: 2026-11-02 · Last updated: 2026-11-
|
|
3
|
+
> Effective date: 2026-11-02 · Last updated: 2026-11-20
|
|
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
|
|
@@ -27,7 +27,7 @@ This policy covers the DSH Mobile app for iOS and Android, the desktop plugin, o
|
|
|
27
27
|
|
|
28
28
|
| Question | Answer |
|
|
29
29
|
| --- | --- |
|
|
30
|
-
| Do you need an account with us? | No. Local-network connections need no account. An account (Google or Apple one-tap sign-in) is needed only for the Public network relay and
|
|
30
|
+
| Do you need an account with us? | No. Local-network connections need no account. An account (Google or Apple one-tap sign-in) is needed only for the subscription, which includes the Public network relay and importing your own persona cards. |
|
|
31
31
|
| Does the app show ads? | No. The current version contains no ads and no advertising SDK. |
|
|
32
32
|
| Does the app include analytics, crash-reporting or tracking SDKs? | We added no analytics, crash-reporting, advertising or cross-app tracking SDK. **On Android**, the QR-code scanner is Google's ML Kit library, which sends Google diagnostic and usage data about the scanner (Section 10). The iOS app uses Apple's built-in scanner instead. |
|
|
33
33
|
| Do you measure how the service is used? | Our relay keeps connection counters with no content and no IP addresses, for about 90 days (Section 6). The app itself sends us no usage statistics. |
|
|
@@ -46,19 +46,20 @@ When you use sessions, messages, streamed replies, task status, answers to quest
|
|
|
46
46
|
|
|
47
47
|
## 5. Cloud account (optional)
|
|
48
48
|
|
|
49
|
-
We create a cloud account only when you choose to sign in. Local-network connections need no account, and every feature except the Public network relay and
|
|
49
|
+
We create a cloud account only when you choose to sign in. Local-network connections need no account, and every feature except the subscription (the Public network relay and importing your own persona cards) works without signing in.
|
|
50
50
|
|
|
51
|
-
**How sign-in works.** You authenticate in Google's or Apple's own system sheet. The app receives an identity assertion signed by Google or Apple and sends it to dsh.claud.ing for verification. We never see your password
|
|
51
|
+
**How sign-in works.** You authenticate in Google's or Apple's own system sheet. The app receives an identity assertion signed by Google or Apple and sends it to dsh.claud.ing for verification. We never see your password. We do not store Google's token. For Sign in with Apple, once our server has Apple's sign-in keys, it exchanges the one-time authorization code Apple gives the app for Apple's refresh token and keeps that token, encrypted, for one purpose: revoking it at Apple when you delete your account. Each sign-in also carries a one-time nonce; we keep only its hash, until the sign-in token it protects expires (about an hour).
|
|
52
52
|
|
|
53
53
|
**What we store.**
|
|
54
54
|
|
|
55
55
|
- Account identifiers: the sign-in provider (Google or Apple), the subject identifier that provider gives us, and the email address if the provider returns one (with Apple this may be a private relay address).
|
|
56
56
|
- Your name: Google includes the name on your Google account in every sign-in, and we store it. Apple sends your name only on your first sign-in, and only if you choose to share it.
|
|
57
57
|
- Linked sign-ins: if you sign in with Google and with Apple using the same verified email address, we link both to one account, so your subscription follows you. Sign-ins whose email address is not verified are never linked.
|
|
58
|
-
- Sign-in sessions: for each
|
|
58
|
+
- Sign-in sessions: for each session, its unique ID (jti), when it was created, when it expires and, after you sign out, when it was revoked. The token itself is not stored. A session stays valid as long as the app uses it at least once every 30 days, and ends at the latest 180 days after you signed in; meanwhile the app is given a fresh token for the same session from time to time. A daily clean-up deletes expired and signed-out sessions.
|
|
59
59
|
- Subscription records: see Section 8, including the full store record Apple or Google returns.
|
|
60
|
-
- Data exports: if you request a copy of your account data, we create a file with your account details and subscription records (including the store records) in our object storage (Cloudflare R2). Its download link works for 7 days
|
|
60
|
+
- Data exports: if you request a copy of your account data, we create a file with your account details, your sign-ins (provider, account identifier, email address, and whether we hold an Apple token, never the token itself), your sign-in session records (times only) and your subscription records (including the store records) in our object storage (Cloudflare R2). Its download link works for 7 days; after that, a daily clean-up deletes the file and its record.
|
|
61
61
|
- Relay tickets: when the app asks for one, we issue a ticket that is valid for 10 minutes and contains your account ID and the relay room ID. We do not store tickets.
|
|
62
|
+
- Notices from Apple about your Apple ID: if you stop using Sign in with Apple for DSH Mobile, or delete your Apple account, Apple's server tells ours, with your Apple user identifier and the event. We then sign you out everywhere, or delete your account (only the Apple sign-in, if the account can also sign in with Google).
|
|
62
63
|
|
|
63
64
|
We do not use cloud account data for advertising profiles and do not sell or rent it to third parties.
|
|
64
65
|
|
|
@@ -68,9 +69,9 @@ When your phone and computer are not on the same local network, you can use our
|
|
|
68
69
|
|
|
69
70
|
- **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.**
|
|
70
71
|
- **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.
|
|
71
|
-
- **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. 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.
|
|
72
|
+
- **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.
|
|
72
73
|
- **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).
|
|
73
|
-
- **Payment.** Our Public network 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.
|
|
74
|
+
- **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.
|
|
74
75
|
- **Relays you run yourself.** If your computer is set up to use a relay you run, the app connects to it directly. It is free and needs no account, and that relay's operator sees the metadata described above, not us. The app asks us for a relay ticket only when it connects to our relay, so a relay you run never receives your account ID from the app.
|
|
75
76
|
- **Unpairing.** You can unpair a computer in the phone settings at any time (deleting the key on the phone), or revoke a phone in the computer's settings; revocation disconnects it immediately and does not affect other phones.
|
|
76
77
|
|
|
@@ -80,8 +81,8 @@ The desktop plugin runs inside DeepSeek Harness on your computer. We publish it,
|
|
|
80
81
|
|
|
81
82
|
- **Relay connection.** Unless you set `relay.enabled: false` in its configuration, the plugin connects outbound to the relay addresses in its configuration, by default our relay at `wss://dsh.claud.ing`, so that a phone can pair with your computer and reach it from another network. Depending on the plugin version and its settings, it opens this connection when it starts or only after a phone has been paired over the relay. It proves it owns its room with a private key that never leaves your computer. Our relay sees your computer's IP address, the room identifier, timing and data volume, and counts the connection as described in Section 6.
|
|
82
83
|
- **Local service.** The plugin serves the app over plain HTTP on your local network, protected by an access token (Section 4). It keeps the token, the list of paired phones and its relay private key in its state folder.
|
|
83
|
-
- **Memory (off by default).** If you turn memory on, the plugin saves statements you make about yourself in conversations, and memories you add by hand, in `memory.db` and `memory-archive.jsonl` in its state folder. Before saving, it masks phone numbers, ID numbers, keys and long digit strings. It adds relevant memories to the context that DeepSeek Harness sends to your model provider.
|
|
84
|
-
- **Backups.** When you request a backup, the plugin produces a file with your memories (
|
|
84
|
+
- **Memory (off by default).** If you turn memory on, the plugin saves statements you make about yourself in conversations, and memories you add by hand, in `memory.db` and `memory-archive.jsonl` in its state folder. Before saving, it masks phone numbers, ID numbers, keys and long digit strings. It adds relevant memories to the context that DeepSeek Harness sends to your model provider. Since plugin 3.3.0, deleting a memory (one, or all of them) removes its text from those files and from the context of new conversations. A conversation that already used a memory keeps it: DeepSeek Harness keeps the earlier context in that conversation's history, sends it with the conversation's later turns and may keep it in its own session files, so start a new conversation, or delete that one in DeepSeek Harness, if that matters to you. Plugin versions before 3.3.0 only hid a deleted memory and kept its text; update the plugin if you use one.
|
|
85
|
+
- **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.
|
|
85
86
|
- **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.
|
|
86
87
|
- **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.
|
|
87
88
|
- **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.
|
|
@@ -92,8 +93,8 @@ Subscriptions are purchased through the Apple App Store (iOS) or Google Play (An
|
|
|
92
93
|
|
|
93
94
|
- To match a purchase to your account, the app passes your cloud account ID to the store with the purchase (Apple: app account token; Google: obfuscated account ID).
|
|
94
95
|
- The app sends the store's signed transaction (Apple) or purchase token (Google) to us for verification. We trust only the product, status and expiry returned by the store and ignore any price or expiry sent by the client.
|
|
95
|
-
- **What we store.** The store (Apple or Google), product ID, store transaction ID or purchase token, subscription status, expiry and transaction environment, and **the full store record** that Apple or Google returns. For Apple this is the content of the signed transaction, such as transaction IDs, purchase, expiry and signing dates, the storefront country, price and currency, and offer details. For Google it is the Play subscription record, such as the order ID, start and expiry times, region code, renewal and acknowledgement state, and whether it was a test purchase. **We do not store your payment card, billing address or store account password**; those are handled only by Apple or Google.
|
|
96
|
-
- **Updates from the stores.** Apple
|
|
96
|
+
- **What we store.** The store (Apple or Google), product ID, store transaction ID or purchase token, subscription status, expiry and transaction environment, and **the full store record** that Apple or Google returns. For Apple this is the content of the signed transaction, such as transaction IDs, purchase, expiry and signing dates, the storefront country, price and currency, and offer details, together with the renewal information Apple sends with it, such as whether and when the subscription renews, at what price, and any grace or billing-retry period. For Google it is the Play subscription record, such as the order ID, start and expiry times, region code, renewal and acknowledgement state, and whether it was a test purchase. We also record when we acknowledged a Google purchase to Google Play and when we last checked a subscription with the store. **We do not store your payment card, billing address or store account password**; those are handled only by Apple or Google.
|
|
97
|
+
- **Updates from the stores.** Apple's App Store Server Notifications tell our server when a subscription renews, lapses, is refunded or is revoked, and we apply them in the order Apple signed them. Once Google Play notifications are set up, Google Play sends our server a message through Google Cloud Pub/Sub whenever a subscription changes; the message says only which purchase changed, and we then read its current state from Google Play with the stored purchase token. When a subscription reaches its recorded end without an update, we ask the store directly (Google Play, or Apple's App Store Server API once its keys are set up), at most every ten minutes per subscription. After a Google Play purchase, we acknowledge it to Google Play, as Google requires.
|
|
97
98
|
- We use these records to decide whether you can use the Public network relay, and to resolve billing questions.
|
|
98
99
|
- One active subscription cannot be bound to two accounts at once; submitting it from another account is rejected.
|
|
99
100
|
- You can view, cancel or restore the purchase on the store's subscriptions page. Deleting your account does not cancel the store subscription — cancel it in the store first, or the store may keep charging you.
|
|
@@ -140,19 +141,19 @@ The app does not request location, contacts, calendar or microphone access, and
|
|
|
140
141
|
|
|
141
142
|
dsh.claud.ing is a static website hosted by Cloudflare. It also provides the account, purchase-verification and Public network relay endpoints, and serves the Android app download. The site has no password login, no forms, no advertising, no analytics, and no third-party scripts, fonts or embeds. The site sets no cookies of its own and uses no tracking cookies; Cloudflare may use a strictly necessary security cookie to protect the site.
|
|
142
143
|
|
|
143
|
-
Like any website, our hosting provider processes standard server logs (IP address, browser type, pages requested, time) to deliver the site and keep it secure. We do not use these logs to identify individual visitors. The cloud endpoints also process metadata for sign-in, subscription and relay requests; those logs are kept only as long as needed for operations and security, and are not used for advertising profiles. See [Cloudflare's Privacy Policy](https://www.cloudflare.com/privacypolicy/).
|
|
144
|
+
Like any website, our hosting provider processes standard server logs (IP address, browser type, pages requested, time) to deliver the site and keep it secure. We do not use these logs to identify individual visitors. The cloud endpoints also process metadata for sign-in, subscription and relay requests; those logs are kept only as long as needed for operations and security, and are not used for advertising profiles. To limit abuse, the account service counts requests per client IP address (for IPv6, per /64 network) with Cloudflare's rate limiting; these counters last about a minute, and we do not store the addresses. See [Cloudflare's Privacy Policy](https://www.cloudflare.com/privacypolicy/).
|
|
144
145
|
|
|
145
146
|
**Support channels.** Besides email, our website lists WeChat, QQ and Discord contacts. If you contact us there, the platform handles your messages under its own policy, and we see what you send us and your profile on that platform.
|
|
146
147
|
|
|
147
148
|
## 12. Retention and deletion
|
|
148
149
|
|
|
149
|
-
**Account and subscriptions.** Cloud account records (account identifiers, name, sign-in session records, subscription records including the store records, and data exports) are kept until you delete your account. You can delete
|
|
150
|
+
**Account and subscriptions.** Cloud account records (account identifiers, name, sign-in session records, subscription records including the store records, and data exports) are kept until you delete your account, except that a daily clean-up deletes expired data exports and expired or signed-out sessions. You can delete your account under "Settings → Account & Subscription → Delete account" in the app, by following the steps at [dsh.claud.ing/en/delete-account/](https://dsh.claud.ing/en/delete-account/), or by emailing support@claud.ing. Deletion removes the account, identity bindings, sign-in sessions, subscription records, export records and the account's export files in object storage, and revokes Apple's token at Apple if we hold one (if we hold none, the app asks you to sign in with Apple once more, so it can be revoked). If Apple can't be reached at that moment, the encrypted token is kept for up to 7 more days while we retry, then deleted whatever the outcome. We keep no other record of a deleted account, apart from a marker that lasts only until its files are purged (normally at once, at the latest by the next daily clean-up).
|
|
150
151
|
|
|
151
152
|
**Cancelling a subscription.** Deleting your account does not cancel an Apple or Google subscription. Cancel it on the store's subscriptions page, or the store may keep charging you.
|
|
152
153
|
|
|
153
154
|
**Relay counters.** Deleted automatically by Cloudflare after three months (about 90 days). They are not linked to your account, so deleting your account does not delete them.
|
|
154
155
|
|
|
155
|
-
**Local data.** Local app data is kept until you clear the app data, uninstall the app, or delete the relevant configuration in the app settings. **iOS exception:** the access token and relay device keys in the system Keychain survive uninstalling the app until you reinstall and open it for the first time, when the app clears them on a fresh install. If you do not plan to reinstall, clear the access token under "Settings → Reconfigure connection" before uninstalling. The cloud sign-in session is also kept in the Keychain and is not cleared on a fresh install, so after reinstalling you are still signed in until that session expires, at
|
|
156
|
+
**Local data.** Local app data is kept until you clear the app data, uninstall the app, or delete the relevant configuration in the app settings. **iOS exception:** the access token and relay device keys in the system Keychain survive uninstalling the app until you reinstall and open it for the first time, when the app clears them on a fresh install. If you do not plan to reinstall, clear the access token under "Settings → Reconfigure connection" before uninstalling. The cloud sign-in session is also kept in the Keychain and is not cleared on a fresh install, so after reinstalling you are still signed in until that session expires (after 30 days without use, and at the latest 180 days after you signed in). Sign out before uninstalling if you do not want that.
|
|
156
157
|
|
|
157
158
|
**Computer-side data.** Session and workspace data on your computer is managed by your DeepSeek Harness service; to delete it, use the means DeepSeek Harness provides on the computer. The desktop plugin's data (access token, paired phones, relay key, memory, schedules) is in its state folder; delete the folder to remove all of it. To delete data held by third-party push services, use those services. We cannot delete data on your behalf that we never received.
|
|
158
159
|
|
|
@@ -166,7 +167,7 @@ If you find a security vulnerability, contact support@claud.ing and we will addr
|
|
|
166
167
|
|
|
167
168
|
## 14. Your rights
|
|
168
169
|
|
|
169
|
-
Depending on where you live (for example under the EU or UK GDPR, or California law), you may have the right to access, correct or delete the personal data we hold about you, to object to or restrict its processing, and to withdraw consent. After sign-in, the personal data we hold includes account identifiers, an email address and name if provided, sign-in session records, subscription records including the store records,
|
|
170
|
+
Depending on where you live (for example under the EU or UK GDPR, or California law), you may have the right to access, correct or delete the personal data we hold about you, to object to or restrict its processing, and to withdraw consent. After sign-in, the personal data we hold includes account identifiers, an email address and name if provided, sign-in session records, subscription records including the store records, any data exports, and, for Sign in with Apple, Apple's encrypted refresh token if we hold one. Without sign-in it is generally limited to what you send us, plus website server logs held by Cloudflare. Relay counters are not linked to you.
|
|
170
171
|
|
|
171
172
|
To exercise any of these rights, email support@claud.ing. We will respond within 30 days. You may also lodge a complaint with your local data protection authority.
|
|
172
173
|
|
package/docs/PRIVACY-POLICY.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSH Mobile - DeepSeek Harness 隐私政策
|
|
2
2
|
|
|
3
|
-
> 生效日期:2026-11-02 · 最近更新:2026-11-
|
|
3
|
+
> 生效日期:2026-11-02 · 最近更新:2026-11-20
|
|
4
4
|
> 发布者:Digital Bang Intelligence LLC.,30 N Gould St Ste R, Sheridan, WY 82801, USA · support@claud.ing
|
|
5
5
|
|
|
6
6
|
## 1. 概述
|
|
@@ -27,7 +27,7 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
|
|
|
27
27
|
|
|
28
28
|
| 问题 | 回答 |
|
|
29
29
|
| --- | --- |
|
|
30
|
-
| 需要在我们这里注册账号吗? |
|
|
30
|
+
| 需要在我们这里注册账号吗? | 不需要。局域网直连不需要账号;只有使用订阅(含公开网络中继和导入你自己的人格卡)时才需要登录(Google 或 Apple 一键登录)。 |
|
|
31
31
|
| 应用里有广告吗? | 没有。当前版本不含广告,也不含广告 SDK。 |
|
|
32
32
|
| 应用里有分析、崩溃上报或跟踪 SDK 吗? | 我们没有加入任何分析、崩溃上报、广告或跨应用跟踪 SDK。**在 Android 上**,扫码功能使用 Google 的 ML Kit 扫码库,它会把扫码功能的诊断和使用数据发给 Google(第 10 节)。iOS 版使用 Apple 系统自带的扫码能力。 |
|
|
33
33
|
| 你们会统计服务的使用情况吗? | 我们的中继会记录连接计数,不含任何内容,也不含 IP 地址,保留约 90 天(第 6 节)。应用本身不向我们发送任何使用统计。 |
|
|
@@ -46,19 +46,20 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
|
|
|
46
46
|
|
|
47
47
|
## 5. 云端账号(可选)
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
只有在你主动登录时,我们才创建云端账号。局域网直连不需要登录,未登录也能使用除订阅(公开网络中继和导入你自己的人格卡)之外的全部功能。
|
|
50
50
|
|
|
51
|
-
**登录方式。** 你用 Google 或 Apple 的系统登录面板完成认证,应用拿到一份由 Google 或 Apple 签名的身份凭证,并把它发到 dsh.claud.ing
|
|
51
|
+
**登录方式。** 你用 Google 或 Apple 的系统登录面板完成认证,应用拿到一份由 Google 或 Apple 签名的身份凭证,并把它发到 dsh.claud.ing 校验。我们不会看到你的密码,也不保存 Google 的令牌。对于通过 Apple 登录,在我们的服务器配置好 Apple 登录密钥之后,它会用 Apple 交给应用的一次性授权码换取 Apple 的刷新令牌,并加密保存,只用于一件事:你删除账号时到 Apple 撤销它。每次登录还会带一个一次性随机数(nonce);我们只保存它的哈希,直到它保护的登录凭证过期(约一小时)。
|
|
52
52
|
|
|
53
53
|
**我们保存什么。**
|
|
54
54
|
|
|
55
55
|
- 账号标识:登录提供方(Google 或 Apple)、该提供方给你的用户标识(subject),以及邮箱(如果提供方返回;Apple 返回的可能是隐私转发地址)。
|
|
56
56
|
- 你的姓名:Google 每次登录都会带上你 Google 账号上的姓名,我们会保存它。Apple 只在首次登录、且你选择分享时才提供姓名。
|
|
57
57
|
- 关联登录:如果你用同一个已验证邮箱分别通过 Google 和 Apple 登录,我们会把两者关联到同一个账号,让你的订阅跟着你走。邮箱未经验证的登录永远不会被关联。
|
|
58
|
-
-
|
|
58
|
+
- 登录会话:每个会话只保存其唯一编号(jti)、创建时间、到期时间,以及你登出后的撤销时间。令牌本身不保存。只要应用每 30 天内至少用一次,会话就一直有效,但最长到登录后 180 天为止;期间应用会不时为同一会话拿到新令牌。每日清理会删除已过期和已登出的会话。
|
|
59
59
|
- 订阅记录:见第 8 节,包括 Apple 或 Google 返回的完整商店记录。
|
|
60
|
-
- 数据导出:如果你请求导出账号数据,我们会在对象存储(Cloudflare R2
|
|
60
|
+
- 数据导出:如果你请求导出账号数据,我们会在对象存储(Cloudflare R2)中生成一个文件,内含你的账号信息、登录方式(提供方、账号标识、邮箱,以及我们是否保存着 Apple 的令牌,但不含令牌本身)、登录会话记录(仅时间)和订阅记录(包括商店记录)。下载链接 7 天内有效;之后每日清理会删除该文件及其记录。
|
|
61
61
|
- 中继票据:应用请求时,我们签发一张 10 分钟有效的票据,内含你的账号 ID 和中继房间号。我们不保存票据。
|
|
62
|
+
- Apple 关于你 Apple ID 的通知:如果你停止对 DSH Mobile 使用通过 Apple 登录,或删除了 Apple 账号,Apple 的服务器会通知我们的服务器,内容是你的 Apple 用户标识和这一事件。我们随即让你在所有设备上登出,或删除你的账号(如果该账号也能用 Google 登录,则只删除 Apple 这一登录方式)。
|
|
62
63
|
|
|
63
64
|
我们不使用云端账号数据做广告画像,也不把它出售或出租给第三方。
|
|
64
65
|
|
|
@@ -68,9 +69,9 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
|
|
|
68
69
|
|
|
69
70
|
- **端到端加密。** 手机与电脑之间的内容(消息、会话、文件、审批)使用 Noise 协议(X25519 密钥交换,ChaCha20-Poly1305)加密。**中继只转发密文,无法读取内容。**
|
|
70
71
|
- **中继转发时能看到什么。** 来源 IP 地址、房间标识(电脑公钥的哈希)、在线手机数、数据量和时间。这些只用于转发流量,除下面的计数外不会保存。Cloudflare 和链路上的网络服务商可能保留各自的访问日志。
|
|
71
|
-
- **中继计数。** 为了保证中继可靠、控制成本,中继会在 Cloudflare Workers Analytics Engine 中记录计数。每条记录只包含:事件类型(连接、被拒绝、关闭,或连接期间最多每 15 分钟一次的用量更新);连接来自电脑还是手机;连接到达的 Cloudflare 数据中心和来源国家或地区,均为 Cloudflare 提供的值;关闭码或 HTTP
|
|
72
|
+
- **中继计数。** 为了保证中继可靠、控制成本,中继会在 Cloudflare Workers Analytics Engine 中记录计数。每条记录只包含:事件类型(连接、被拒绝、关闭,或连接期间最多每 15 分钟一次的用量更新);连接来自电脑还是手机;连接到达的 Cloudflare 数据中心和来源国家或地区,均为 Cloudflare 提供的值;关闭码或 HTTP 状态码、中继自身使用的固定原因代码、由哪一方关闭连接,以及连接进行到的阶段(例如已认证、等待电脑或已验证);接受连接的中继实现;以及每个方向的时长、字节数和消息数,以及中继估算的服务器用时和它自己的定时器唤醒房间的次数。房间只以其房间标识的截短单向哈希出现,从不记录房间标识本身:它是你电脑中继配对的假名标识,我们无法把它对应回你的账号。点对点直连结果的字段已预留,在该功能上线前一直为空。**这些计数不含任何消息内容、IP 地址、账号 ID、手机标识和中继票据,Cloudflare 会在三个月(约 90 天)后删除。** 中继每天还会记录一条成本估算,其中不含任何人的数据。
|
|
72
73
|
- **设备密钥。** 这台手机专用的设备密钥保存在系统安全存储(iOS Keychain / Android Keystore)中,每台电脑一把,**不会上传**。二维码里没有长期口令:只有一次性配对码(短时有效、只能用一次)。
|
|
73
|
-
- **收费。**
|
|
74
|
+
- **收费。** 我们的订阅解锁公开网络中继和导入你自己的人格卡;公开网络中继需要有效订阅。订阅由 Apple App Store 或 Google Play 处理付款;我们只在校验收据后发放中继票据。未订阅时,应用仍可使用局域网直连。
|
|
74
75
|
- **你自己运行的中继。** 如果你的电脑配置的是你自己运行的中继,应用会直接连接它。它免费、不需要账号,能看到上述元数据的是该中继的运营者,而不是我们。应用只在连接我们的中继时才向我们申请中继票据,所以你运行的中继不会从应用收到你的账号 ID。
|
|
75
76
|
- **解除配对。** 你可以随时在手机设置里解除与某台电脑的配对(删除本机密钥),也可以在电脑端设置页撤销某台手机;撤销会立即断开它,其它手机不受影响。
|
|
76
77
|
|
|
@@ -80,8 +81,8 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
|
|
|
80
81
|
|
|
81
82
|
- **中继连接。** 除非你在配置里设 `relay.enabled: false`,插件会主动向外连接配置里的中继地址(默认是我们的中继 `wss://dsh.claud.ing`),让手机能和你的电脑配对,并在其他网络下连到它。根据插件版本和设置,它会在启动时、或在有手机通过中继配对之后才建立这条连接。它用一把从不离开你电脑的私钥证明自己拥有这个房间。我们的中继能看到你电脑的 IP 地址、房间标识、时间和数据量,并按第 6 节记入计数。
|
|
82
83
|
- **本地服务。** 插件在你的局域网内用明文 HTTP 为应用提供服务,并用访问口令保护(第 4 节)。口令、已配对手机列表和它的中继私钥都保存在状态目录里。
|
|
83
|
-
- **记忆(默认关闭)。** 如果你打开记忆,插件会把你在对话中关于自己的陈述,以及你手动添加的记忆,保存到状态目录下的 `memory.db` 和 `memory-archive.jsonl`。保存前会遮蔽手机号、证件号、密钥和长数字串。它会把相关记忆加入 DeepSeek Harness
|
|
84
|
-
- **备份。**
|
|
84
|
+
- **记忆(默认关闭)。** 如果你打开记忆,插件会把你在对话中关于自己的陈述,以及你手动添加的记忆,保存到状态目录下的 `memory.db` 和 `memory-archive.jsonl`。保存前会遮蔽手机号、证件号、密钥和长数字串。它会把相关记忆加入 DeepSeek Harness 发给你的模型提供商的上下文。自插件 3.3.0 起,删除记忆(单条或全部)会把其原文从这两个文件中清除,新的对话也不会再拿到它。已经用过这条记忆的对话仍保留它:DeepSeek Harness 会把之前的上下文留在该对话的历史里、随后续轮次一起发送,也可能保存在它自己的会话文件中;如果这对你重要,请开一个新对话,或在 DeepSeek Harness 里删除那个对话。3.3.0 之前的插件版本删除时只是隐藏、原文仍保留;如果你还在用,请更新插件。
|
|
85
|
+
- **备份。** 当你请求备份时,插件会生成一个文件,内含你现有的记忆(已删除的不在其中)和助手设置(模式、人格和安静时段)。它不含访问口令或密钥。不设口令时它是明文 JSON 文件;设了口令(至少 15 个字符)时,整个文件用 AES-256-GCM 加密,密钥由口令经 scrypt 派生;插件不保存口令,没有口令就无法读取或恢复该文件。之前做的备份仍包含做备份时存在的记忆。如果你把备份取到手机上,它会经由你的连接传输(局域网下是明文 HTTP,经中继时加密);保存在哪里由你决定。恢复备份只会新增条目,所以恢复一份较早的备份,会把你在那之后删除的记忆加回来。
|
|
85
86
|
- **余额与用量查询。** 插件会用你自己的凭据,回应手机发来的两类请求。用量请求会向 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 秒。
|
|
86
87
|
- **推送通道。** 如果你添加了推送通道(Server酱、ntfy、Bark、企业微信群机器人或任意 Webhook),插件会把提醒直接发给它们。默认(`pushContent: minimal`)提醒包含事件类型和会话短码,通用 Webhook 还会收到完整的会话 ID 和时间;设为 `standard` 时提醒还会包含会话标题和事件详情。这些服务按其各自政策处理提醒。
|
|
87
88
|
- **主动消息与安静时段。** 两者都在你的电脑上决定。主动消息默认关闭;其排程保存在状态目录的 `proactive.json` 中,消息和提醒走同样的通道到达你。
|
|
@@ -92,8 +93,8 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
|
|
|
92
93
|
|
|
93
94
|
- 为了把购买对应到你的账号,应用会在购买时把你的云端账号 ID 交给商店(Apple:app account token;Google:obfuscated account ID)。
|
|
94
95
|
- 客户端把商店返回的签名交易(Apple)或购买令牌(Google)发给我们校验;我们只信商店返回的商品、状态和到期时间,忽略客户端传来的价格或到期时间。
|
|
95
|
-
- **我们保存什么。** 商店(Apple 或 Google)、商品 ID、商店交易号或购买令牌、订阅状态、到期时间、交易环境,以及 Apple 或 Google 返回的**完整商店记录**。对 Apple
|
|
96
|
-
- **来自商店的更新。** 订阅续期、失效、退款或被撤销时,Apple
|
|
96
|
+
- **我们保存什么。** 商店(Apple 或 Google)、商品 ID、商店交易号或购买令牌、订阅状态、到期时间、交易环境,以及 Apple 或 Google 返回的**完整商店记录**。对 Apple 来说,是签名交易里的内容,例如交易编号、购买、到期和签名时间、商店所在国家或地区、价格和币种、优惠信息,以及 Apple 随之发来的续订信息,例如是否续订、何时续订、续订价格,以及宽限期或扣款重试期。对 Google 来说,是 Play 的订阅记录,例如订单号、开始和到期时间、地区代码、续订与确认状态,以及是否为测试购买。我们还会记录向 Google Play 确认(acknowledge)一笔 Google 购买的时间,以及上次向商店核对订阅的时间。**我们不保存你的支付卡、账单地址或商店账号密码**,这些只在 Apple 或 Google 处处理。
|
|
97
|
+
- **来自商店的更新。** 订阅续期、失效、退款或被撤销时,Apple 的 App Store 服务器通知会告诉我们的服务器,我们按 Apple 签名的先后顺序更新记录。配置好 Google Play 通知后,订阅一有变化,Google Play 会通过 Google Cloud Pub/Sub 给我们的服务器发一条消息;消息只说明是哪一笔购买变了,我们再用保存的购买令牌向 Google Play 读取它的当前状态。订阅到了记录中的结束时间却没有收到更新时,我们会直接问商店(Google Play,或配置好密钥后的 Apple App Store Server API),每笔订阅最多每十分钟一次。Google Play 购买完成后,我们会按 Google 的要求向 Google Play 确认这笔购买。
|
|
97
98
|
- 我们用这些记录判断你能否使用公开网络中继,并处理账单问题。
|
|
98
99
|
- 同一笔有效订阅不能同时绑定到两个账号;如果你换用另一个账号提交,会被拒绝。
|
|
99
100
|
- 你可以在商店的“订阅”页面查看、取消或恢复购买。删除账号不会自动取消商店订阅——请先在商店取消,否则商店可能继续扣款。
|
|
@@ -140,19 +141,19 @@ DeepSeek Harness、模型提供商、推送通道和文件服务由你选择并
|
|
|
140
141
|
|
|
141
142
|
dsh.claud.ing 是托管在 Cloudflare 上的静态网站,同时提供账号、内购校验和公开网络中继接口,并提供 Android 版应用下载。网站没有账号密码登录、没有表单、没有广告、没有统计分析,也不加载任何第三方脚本、字体或嵌入内容。网站自身不设置 Cookie,也不使用跟踪 Cookie;Cloudflare 可能会使用保护网站所必需的安全 Cookie。
|
|
142
143
|
|
|
143
|
-
和所有网站一样,我们的托管服务商会处理标准的服务器日志(IP
|
|
144
|
+
和所有网站一样,我们的托管服务商会处理标准的服务器日志(IP 地址、浏览器类型、访问页面、时间),用于提供网站并保障安全。我们不使用这些日志识别个别访客。云端接口还会处理登录、订阅和中继请求的元数据;这些日志按运营与安全需要短期保留,不用于广告画像。为防止滥用,账号服务会用 Cloudflare 的限流功能按客户端 IP 地址(IPv6 按 /64 网段)计数请求;这些计数只持续约一分钟,我们不保存这些地址。请参阅 [Cloudflare 隐私政策](https://www.cloudflare.com/privacypolicy/)。
|
|
144
145
|
|
|
145
146
|
**客服渠道。** 除邮件外,我们的网站还列出了微信、QQ 和 Discord 联系方式。如果你通过这些渠道联系我们,你的消息由该平台按其自身政策处理,我们能看到你发来的内容和你在该平台上的资料。
|
|
146
147
|
|
|
147
148
|
## 12. 数据保留和删除
|
|
148
149
|
|
|
149
|
-
**账号与订阅。**
|
|
150
|
+
**账号与订阅。** 云端账号记录(账号标识、姓名、登录会话记录、含商店记录的订阅记录,以及数据导出)保留到你删除账号为止;但每日清理会删除已过期的数据导出,以及已过期或已登出的会话。你可以在 App 的“设置 → 账号与订阅 → 删除账号”中删除账号,也可以按 [dsh.claud.ing/delete-account/](https://dsh.claud.ing/delete-account/) 上的步骤操作,或发邮件到 support@claud.ing 请求删除。删除会清除账号、身份绑定、登录会话、订阅记录、导出记录,以及该账号在对象存储中的导出文件;如果我们保存着 Apple 的令牌,还会到 Apple 撤销它(如果没有保存,应用会请你再通过 Apple 登录一次,以便撤销)。如果当时连不上 Apple,加密的令牌最多再保留 7 天用于重试,之后无论结果如何都会删除。删除的账号我们不保留其他记录,只有一个标记会留到它的文件清除完毕为止(通常立即完成,最迟到下一次每日清理)。
|
|
150
151
|
|
|
151
152
|
**取消订阅。** 删除账号不会自动取消 Apple 或 Google 的订阅。请在商店的订阅页面取消,否则商店可能继续扣款。
|
|
152
153
|
|
|
153
154
|
**中继计数。** 由 Cloudflare 在三个月(约 90 天)后自动删除。它们不关联你的账号,所以删除账号不会删除它们。
|
|
154
155
|
|
|
155
|
-
**本地数据。** 应用本地数据会保留到你清除应用数据、卸载应用或在应用设置中删除相应配置。**iOS 例外**:系统 Keychain 里的访问口令和中继设备密钥在卸载应用后仍会保留,直到你重新安装并首次打开应用——全新安装时应用会清除它。如果你不打算再安装,请在卸载前先到“设置 → 重新配置连接”把访问口令清空。云端登录会话同样保存在 Keychain
|
|
156
|
+
**本地数据。** 应用本地数据会保留到你清除应用数据、卸载应用或在应用设置中删除相应配置。**iOS 例外**:系统 Keychain 里的访问口令和中继设备密钥在卸载应用后仍会保留,直到你重新安装并首次打开应用——全新安装时应用会清除它。如果你不打算再安装,请在卸载前先到“设置 → 重新配置连接”把访问口令清空。云端登录会话同样保存在 Keychain 里,全新安装时不会被清除,所以重装后你仍处于登录状态,直到该会话到期(30 天不使用即到期,最长为登录后 180 天)。如果你不希望这样,请在卸载前先登出。
|
|
156
157
|
|
|
157
158
|
**电脑端数据。** 电脑端会话和工作区数据由你的 DeepSeek Harness 服务管理;要删除它们,请在电脑端按 DeepSeek Harness 提供的方式操作。电脑端插件的数据(访问口令、已配对手机、中继密钥、记忆、排程)都在它的状态目录里;删除该目录即可全部清除。第三方推送服务上的数据,请在对应服务中操作。我们没有收到过的数据,也就无法替你删除。
|
|
158
159
|
|
|
@@ -166,7 +167,7 @@ dsh.claud.ing 是托管在 Cloudflare 上的静态网站,同时提供账号、
|
|
|
166
167
|
|
|
167
168
|
## 14. 你的权利
|
|
168
169
|
|
|
169
|
-
根据你所在的地区(例如欧盟或英国的 GDPR
|
|
170
|
+
根据你所在的地区(例如欧盟或英国的 GDPR、美国加州法律),你可能有权访问、更正或删除我们持有的关于你的个人数据,反对或限制其处理,以及撤回同意。登录后,我们持有的个人数据包括账号标识、邮箱和姓名(如提供)、登录会话记录、含商店记录的订阅记录、任何数据导出,以及(通过 Apple 登录时)我们保存的 Apple 加密刷新令牌;未登录时通常仅限于你发给我们的内容,以及由 Cloudflare 保管的网站服务器日志。中继计数不关联到你。
|
|
170
171
|
|
|
171
172
|
如需行使这些权利,请发邮件到 support@claud.ing。我们会在 30 天内回复。你也可以向所在地的数据保护机构投诉。
|
|
172
173
|
|
package/docs/SUPPORT.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## 使用前
|
|
8
8
|
|
|
9
|
-
DSH Mobile 连接的是你自己的电脑端 DSH Harness 服务。局域网直连不需要账号;只有可选的公开网络(加密中继)订阅需要登录 Google 或 Apple
|
|
9
|
+
DSH Mobile 连接的是你自己的电脑端 DSH Harness 服务。局域网直连不需要账号;只有可选的公开网络(加密中继)订阅需要登录 Google 或 Apple 账号;这份订阅同时包含导入你自己的人格卡,三张内置人格卡始终免费。请先在电脑端的 DeepSeek Harness 里安装 `@dsh-mobile/mobile-remote` 插件(`npx @deepseek-ai/dsh plugin --profile web add @dsh-mobile/mobile-remote`,再 `npx @deepseek-ai/dsh web --no-open` 启动);地址和访问口令会打印在终端里,也在 DSH 的 设置 → 连接移动端设备。App 第一次进入连接页时会弹出六步说明(下载安装并登录电脑版 DeepSeek Harness → 添加插件 → 彻底重新启动 → 在「连接移动端设备」页面扫码),之后点连接页的「怎么连接?」或设置页的「怎么连接电脑?」可再看。然后用二维码或手动地址连接。
|
|
10
10
|
|
|
11
11
|
## 常见问题
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSH Mobile - DeepSeek Harness Terms of Service
|
|
2
2
|
|
|
3
|
-
> Effective date: 2026-11-02 · Last updated: 2026-11-
|
|
3
|
+
> Effective date: 2026-11-02 · Last updated: 2026-11-20
|
|
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. Agreement
|
|
@@ -20,7 +20,7 @@ We offer two ways to connect:
|
|
|
20
20
|
|
|
21
21
|
## 3. Accounts
|
|
22
22
|
|
|
23
|
-
A cloud account is optional and is needed only for the Public network relay
|
|
23
|
+
A cloud account is optional and is needed only for the subscription (the Public network relay and importing your own persona cards). You can create one with Google or Apple one-tap sign-in; we have no password system of our own.
|
|
24
24
|
|
|
25
25
|
You are responsible for activity under your account and should keep your device and store account secure. If you believe someone else is using your account, contact us. We may suspend or terminate accounts used for abuse, fraud or a breach of these terms.
|
|
26
26
|
|
|
@@ -38,7 +38,8 @@ The project's source code, and the open-source components the app uses, are lice
|
|
|
38
38
|
- **Refunds.** Refunds are handled by Apple or Google under their policies. We do not process payments directly and cannot issue a refund outside the store.
|
|
39
39
|
- **Restoring purchases.** You can restore a purchase in the app using the same store account.
|
|
40
40
|
- **Deleting your account does not cancel a subscription.** Delete the subscription on the store first, or the store may keep charging you.
|
|
41
|
-
- **
|
|
41
|
+
- **What a subscription includes.** An active subscription unlocks the Public network relay and importing your own persona cards (custom persona import). The three built-in persona cards (Workaholic, Life Assistant, Gaming Enthusiast) are free for everyone.
|
|
42
|
+
- **Free features.** Direct local-network connections and the three built-in persona cards do not depend on subscription status.
|
|
42
43
|
|
|
43
44
|
## 6. Public network relay rules
|
|
44
45
|
|
|
@@ -58,6 +59,7 @@ We may rate-limit, suspend or terminate relay access to protect the service, com
|
|
|
58
59
|
- **Your computer and network.** The app reaches a service you run. You are responsible for that computer, for who can reach it, and for keeping the access token and QR code secret. Use the connection only on a trusted network.
|
|
59
60
|
- **Approving tool actions.** When an AI agent asks to run a command or change files and you approve it in the app, the action runs on your computer with your permissions. Read what you approve. We are not responsible for actions you approve.
|
|
60
61
|
- **AI output.** Responses generated through DeepSeek Harness and its model providers can be wrong, incomplete or unsafe. Review them before relying on them or running anything they suggest.
|
|
62
|
+
- **Persona cards you import.** A persona card is a JSON file you choose to import. You are responsible for its content and for having the right to use it; we do not review imported cards. The DSH Mobile plugin stores them on your computer, and their text is sent to the AI model as the assistant's persona in your sessions. It goes to whichever model provider your DeepSeek Harness uses, not to us.
|
|
61
63
|
- **Other services.** DeepSeek Harness, model providers, push channels and any private network you run are provided by others or by you under their own terms and fees; those terms apply to your use of them.
|
|
62
64
|
|
|
63
65
|
## 8. Privacy
|
package/docs/TERMS-OF-SERVICE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSH Mobile - DeepSeek Harness 服务条款
|
|
2
2
|
|
|
3
|
-
> 生效日期:2026-11-02 · 最近更新:2026-11-
|
|
3
|
+
> 生效日期:2026-11-02 · 最近更新:2026-11-20
|
|
4
4
|
> 发布者:Digital Bang Intelligence LLC.,30 N Gould St Ste R, Sheridan, WY 82801, USA · support@claud.ing
|
|
5
5
|
|
|
6
6
|
## 1. 协议
|
|
@@ -20,7 +20,7 @@ DSH Mobile 是 DeepSeek Harness 的独立移动伴侣,与 DeepSeek 没有隶
|
|
|
20
20
|
|
|
21
21
|
## 3. 账号
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
云端账号是可选的,只有使用订阅(公开网络中继和导入你自己的人设卡)时才需要。你可以通过 Google 或 Apple 的一键登录创建账号;我们没有自有密码体系。
|
|
24
24
|
|
|
25
25
|
你应对自己账号下的活动负责,并应妥善保管设备与商店账号。如果你发现账号被他人使用,请立即联系我们。我们可以暂停或终止被用于滥用、欺诈或违反本条款的账号。
|
|
26
26
|
|
|
@@ -38,7 +38,8 @@ DSH Mobile 是 DeepSeek Harness 的独立移动伴侣,与 DeepSeek 没有隶
|
|
|
38
38
|
- **退款。** 退款由 Apple 或 Google 按其政策处理,我们不直接经手付款,也无法绕过商店替你退款。
|
|
39
39
|
- **恢复购买。** 你可以用同一商店账号在应用内恢复购买。
|
|
40
40
|
- **删除账号不等于取消订阅。** 删除云端账号不会自动取消商店订阅;请先在商店取消,否则商店可能继续扣款。
|
|
41
|
-
-
|
|
41
|
+
- **订阅包含什么。** 有效订阅会解锁公开网络中继,以及导入你自己的人设卡(自定义人设导入)。三张内置人设卡(工作狂、生活助手、游戏爱好者)对所有人免费。
|
|
42
|
+
- **免费功能。** 局域网直连和三张内置人设卡不因订阅状态而失效。
|
|
42
43
|
|
|
43
44
|
## 6. 公开网络中继的使用规则
|
|
44
45
|
|
|
@@ -58,6 +59,7 @@ DSH Mobile 是 DeepSeek Harness 的独立移动伴侣,与 DeepSeek 没有隶
|
|
|
58
59
|
- **你的电脑和网络。** 应用连接的是你自己运行的服务。你要对那台电脑、谁能访问它、以及访问口令和二维码的保密负责。请只在可信网络中使用连接。
|
|
59
60
|
- **审批工具动作。** 当 AI 智能体请求运行命令或修改文件,而你在应用里批准后,这个动作会以你的权限在你的电脑上执行。请看清楚再批准。你批准的动作,我们不承担责任。
|
|
60
61
|
- **AI 输出。** 通过 DeepSeek Harness 及其模型提供商生成的回复可能有错、不完整或不安全。在依赖它们或运行它们建议的内容之前,请先自己核对。
|
|
62
|
+
- **你导入的人设卡。** 人设卡是你自己选择导入的 JSON 文件。你要对其内容负责,并对自己有权使用它负责;我们不审核你导入的人设卡。DSH Mobile 插件把它们保存在你的电脑上,其文字会在你的会话中作为助手的人设发送给 AI 模型,发往你的 DeepSeek Harness 所使用的模型提供商,而不是发给我们。
|
|
61
63
|
- **其他服务。** DeepSeek Harness、模型提供商、推送通道和你自己搭建的虚拟组网由他人或你按各自的条款和费用提供,你使用它们时适用这些条款。
|
|
62
64
|
|
|
63
65
|
## 8. 隐私
|
package/docs/USER-GUIDE.zh-CN.md
CHANGED
|
@@ -154,7 +154,7 @@ graph LR
|
|
|
154
154
|
|
|
155
155
|
## 4. 外出访问(虚拟组网 / 隧道)
|
|
156
156
|
|
|
157
|
-
> 共同前提:家里电脑保持开机、dsh 运行。本节是**免费、自己配置**的做法:原理是"虚拟局域网"——电脑和手机加入同一个虚拟网,手机无论在家 WiFi 还是户外流量都能直达电脑。不想装组网软件、愿意订阅时,用 [§5](#relay) 的加密中继(零配置,插件 3.2.6
|
|
157
|
+
> 共同前提:家里电脑保持开机、dsh 运行。本节是**免费、自己配置**的做法:原理是"虚拟局域网"——电脑和手机加入同一个虚拟网,手机无论在家 WiFi 还是户外流量都能直达电脑。不想装组网软件、愿意订阅时,用 [§5](#relay) 的加密中继(零配置,插件 3.2.6 起默认允许使用,配对手机后才连)。**禁止把 3080 端口直接映射/穿透到公网裸奔**。
|
|
158
158
|
|
|
159
159
|
### 4.1 方案一:蒲公英组网(已实测 ✅,免费版 3 个成员)
|
|
160
160
|
|
|
@@ -210,11 +210,11 @@ graph LR
|
|
|
210
210
|
|
|
211
211
|
## 5. 公开网络:加密中继
|
|
212
212
|
|
|
213
|
-
> **状态:公开中继已部署(`wss://dsh.claud.ing`,2026-11-16 上线);插件 3.2.6
|
|
213
|
+
> **状态:公开中继已部署(`wss://dsh.claud.ing`,2026-11-16 上线);插件 3.2.6 起默认允许使用,电脑按需才连(见下)。**
|
|
214
214
|
>
|
|
215
|
-
> **默认行为:**
|
|
215
|
+
> **默认行为:** 装好插件后桌面设置页就有「远程访问」,插件默认**允许**使用 `wss://dsh.claud.ing`;但**电脑只在配对过手机之后才去连中继**(或在你刚生成配对码、5 分钟内等手机来扫的时候)。装了插件却从没配对过手机的电脑,不会连我们的服务器;撤销最后一台手机、配对码过期没人用,连接也会断开。**局域网直连的地址与口令完全不变**,两种连接可以并存。完全不想用中继时设 `relay.enabled: false`。
|
|
216
216
|
>
|
|
217
|
-
>
|
|
217
|
+
> 公开网络是**订阅能力**:手机侧连接中继必须带账号签发的短期票据,未订阅会被拒绝;局域网直连不受影响,也不需要账号。同一份订阅还包含「导入自己写的人格卡」(三张内置人格卡始终免费)。
|
|
218
218
|
|
|
219
219
|
### 5.1 它解决什么
|
|
220
220
|
|
|
@@ -233,7 +233,7 @@ graph LR
|
|
|
233
233
|
|
|
234
234
|
> 中继地址必须是 `wss://`(加密)。App 与插件都会拒绝 `ws://`(仅本机测试用的回环地址除外)。
|
|
235
235
|
|
|
236
|
-
**2. 在电脑上确认**——3.2.6
|
|
236
|
+
**2. 在电脑上确认**——3.2.6 起随包补丁默认允许使用中继并指向公共中继(电脑只在配对过手机或有待用配对码时才去连);要改地址、加备份或关闭,在 profile 的 `cordis.patch.yml` 里覆盖同名条目:
|
|
237
237
|
|
|
238
238
|
```yaml
|
|
239
239
|
relay:
|
|
@@ -266,7 +266,7 @@ relay:
|
|
|
266
266
|
|
|
267
267
|
| 手机上的提示 | 通常是 |
|
|
268
268
|
|---|---|
|
|
269
|
-
| 找不到电脑 | 电脑没开机、DSH
|
|
269
|
+
| 找不到电脑 | 电脑没开机、DSH 没运行、这台电脑还没配对过手机(要先在桌面「远程访问」生成配对码并扫码一次)、被显式设置成 `relay.enabled: false`,或电脑到中继的连接断了(看电脑端面板状态) |
|
|
270
270
|
| 配对码无效、已过期或已被使用 | 配对码 5 分钟过期或已被用过;重新生成 |
|
|
271
271
|
| 电脑不认这台手机 | 这台手机已被撤销;重新配对 |
|
|
272
272
|
| 连不上中继服务器 | 手机网络问题,或中继宕机;配了多个中继时会自动换下一个 |
|
package/lib/account-usage.js
CHANGED
|
File without changes
|
package/lib/api-helpers.js
CHANGED
|
@@ -9,10 +9,14 @@ import { extname } from "node:path";
|
|
|
9
9
|
* 结果 `/files`、`/directories`、`rpcError` 等把主机绝对路径原样回给了客户端——
|
|
10
10
|
* 现在日志、HTTP 错误详情、推送正文统一走这里(原文只进服务端日志)。
|
|
11
11
|
* 刻意保留单段 `/foo`(如 URL 的路径段不会被整段吞掉)。 */
|
|
12
|
-
const REDACT_PATH_PATTERN = /(?:\/[
|
|
12
|
+
const REDACT_PATH_PATTERN = /(?:\/[\p{L}\p{N}\p{M}_.~@+-]+){2,}|[A-Za-z]:\\[^\s"']*/gu;
|
|
13
|
+
/** A-45: a quoted absolute path (how Node's fs errors print it) is removed whole, spaces and all. */
|
|
14
|
+
const REDACT_QUOTED_PATH = /(['"`])(?:\/|[A-Za-z]:\\)[^'"`\n]*\1/g;
|
|
13
15
|
|
|
14
16
|
export function redactPathText(value) {
|
|
15
|
-
return String(value ?? "")
|
|
17
|
+
return String(value ?? "")
|
|
18
|
+
.replace(REDACT_QUOTED_PATH, "$1<redacted>$1")
|
|
19
|
+
.replace(REDACT_PATH_PATTERN, "<redacted>");
|
|
16
20
|
}
|
|
17
21
|
|
|
18
22
|
/**
|