@dsh-mobile/mobile-remote 3.2.4 → 3.2.6

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +267 -0
  2. package/CONTRIBUTING.md +3 -1
  3. package/FAQ.md +4 -0
  4. package/README.md +25 -18
  5. package/cordis.patch.yml +10 -2
  6. package/docs/00-/345/274/200/345/217/221/346/200/273/347/272/262.md +413 -102
  7. package/docs/01-PRD.md +4 -4
  8. package/docs/02-architecture.md +2 -2
  9. package/docs/03-api.md +49 -1
  10. package/docs/04-security.md +2 -1
  11. package/docs/05-test-cases.md +7 -7
  12. package/docs/06-install-run.md +16 -3
  13. package/docs/07-user-manual.md +23 -1
  14. package/docs/08-/346/211/251/345/261/225/345/274/200/345/217/221/346/214/207/345/215/227.md +2 -2
  15. package/docs/09-compatibility.md +3 -3
  16. package/docs/11-remote-relay-guide.md +85 -0
  17. package/docs/APP-ENCRYPTION-DESCRIPTION.md +50 -0
  18. package/docs/APP-ENCRYPTION-DESCRIPTION.pdf +0 -0
  19. package/docs/APP-REVIEW-NOTES.md +135 -0
  20. package/docs/BRAND-ASSETS.md +142 -0
  21. package/docs/PRIVACY-POLICY.en.md +165 -0
  22. package/docs/PRIVACY-POLICY.md +133 -33
  23. package/docs/STORE-LAUNCH.md +196 -21
  24. package/docs/STORE-LISTING.md +150 -0
  25. package/docs/SUPPORT.md +4 -3
  26. package/docs/TERMS-OF-SERVICE.en.md +102 -0
  27. package/docs/TERMS-OF-SERVICE.md +102 -0
  28. package/lib/account-usage-query.js +278 -0
  29. package/lib/api-helpers.js +333 -0
  30. package/lib/client.js +283 -1
  31. package/lib/config.js +213 -0
  32. package/lib/host-compat.js +133 -0
  33. package/lib/http-util.js +69 -0
  34. package/lib/index.js +249 -2023
  35. package/lib/push.js +73 -0
  36. package/lib/rate-limit.js +46 -0
  37. package/lib/relay/connector.js +300 -0
  38. package/lib/relay/crypto.js +117 -0
  39. package/lib/relay/devices.js +138 -0
  40. package/lib/relay/identity.js +60 -0
  41. package/lib/relay/mux.js +419 -0
  42. package/lib/relay/noise.js +178 -0
  43. package/lib/relay/pairing.js +64 -0
  44. package/lib/relay/phone.js +114 -0
  45. package/lib/relay/serve.js +105 -0
  46. package/lib/rpc-adapter.js +88 -0
  47. package/lib/session-list.js +77 -0
  48. package/lib/timeline.js +492 -0
  49. package/lib/turn-outline.js +289 -0
  50. package/package.json +7 -1
  51. package/docs/ARCHITECTURE-CURRENT.md +0 -229
  52. package/docs/BUILD-ENVIRONMENT.md +0 -169
  53. package/docs/FEATURE-PARITY.md +0 -195
  54. package/docs/REA-UNDERSTANDING.md +0 -246
  55. package/docs/screenshots/01-home.png +0 -0
  56. package/docs/screenshots/02-notifications.png +0 -0
  57. package/docs/screenshots/03-sessions.png +0 -0
  58. package/docs/screenshots/04-chat.png +0 -0
  59. package/docs/screenshots/05-settings.png +0 -0
  60. package/docs/screenshots/06-new-session.png +0 -0
  61. package/docs/screenshots/pgy-appstore.jpg +0 -0
  62. package/docs/screenshots/pgy-mobile-app.jpg +0 -0
  63. package/docs/screenshots/pgy-pc-client.jpg +0 -0
@@ -1,7 +1,8 @@
1
1
  # DSH Mobile 商店上架准备
2
2
 
3
- > 记录时间:2026-11-01(Asia/Shanghai)
4
- > 当前版本:App `3.2.4+31`,插件 `3.2.4`
3
+ > 记录时间:2026-11-01(Asia/Shanghai);最近更新:2026-11-16
4
+ > 当前工程版本:App `3.2.5+33`,插件 `3.2.5`(不代表商店已发布)
5
+ > 本文件是**上架可粘贴文案与发布者清单**;方案、进度与就绪度判断见 `docs/00-开发总纲.md` §6。
5
6
 
6
7
  这份清单把可由仓库准备的商店素材和必须由发布者在 Apple/Google 控制台完成的事项分开。构建产物、签名、商店上传和公开发布不是同一件事;没有账号、证书和最终网址时,仓库只能完成可复核的准备,不能声称已经提交或上架。
7
8
 
@@ -9,16 +10,20 @@
9
10
 
10
11
  | 字段 | 内容 / 状态 |
11
12
  |---|---|
12
- | 应用名称 | `DSH Mobile` |
13
- | Apple App Store 副标题 | `DeepSeek Harness from anywhere` |
14
- | 简短定位 | `A mobile companion for DeepSeek Harness. View tasks, continue conversations, approve actions, and receive notifications.` |
13
+ | 应用名称 | Apple 已设置 `DSH Mobile-DeepSeek Harness`;Google Play 用 `DSH Mobile - DeepSeek Harness`(29 / 30)。**所有商店字段的成品文案(副标题、宣传文本、描述、关键词、网址、版权、Header 图)见 `docs/STORE-LISTING.md`**,下面两行与之一致 |
14
+ | Apple App Store 副标题 | `AI agent chat & approvals`(≤ 30 字符;商店文案只用英文)。**不要写 “from anywhere”**:手机与电脑不在同一网络时,目前需要自行配置组网 / 隧道;端到端加密中继上线并验证之前,不要承诺“随处可用”(Apple 2.3 元数据必须准确)。 |
15
+ | 简短定位 | `A mobile companion for DeepSeek Harness. View tasks, continue conversations, approve actions, and get task alerts through the notification channels you set up.` |
16
+ | Google Play 短描述(**≤ 80 字符**,官方限制) | `Mobile companion for DeepSeek Harness: chat, approve actions, get task alerts.`(78 字符)。上面的「简短定位」是 159 字符,只能放完整描述首句,**不能**当 Play 短描述 |
15
17
  | 关系声明 | `DSH Mobile is an independent mobile companion for DeepSeek Harness. It is not affiliated with or endorsed by DeepSeek.` |
16
18
  | Android applicationId | `com.mrdayone.dshmobile` |
17
19
  | iOS Bundle Identifier | `com.mrdayone.dshmobile` |
18
20
  | iOS 最低版本 | `15.0` |
19
- | 版本 | `3.2.4` |
20
- | Android build number | `31` |
21
+ | 版本 | `3.2.5` |
22
+ | Android build number | `33`(与 `dsh-mobile-app/pubspec.yaml` 一致;发布前按实际构建核对) |
21
23
  | 默认显示名 | `DSH Mobile` |
24
+ | 支持设备 | iPhone + iPad(`TARGETED_DEVICE_FAMILY = "1,2"`;设置页与对话页已做宽屏收窄)。商店需要 iPhone 6.1" 截图;声明 iPad 后还要补 iPad 截图 |
25
+ | 审核访问 | 内置演示模式(连接页「先试用演示」),**审核不需要账号或登录**;账号只用于可选的公开网络订阅——见 §3d |
26
+ | 付费 / 订阅 | 代码含一项 IAP 订阅(公开网络 / Cloudflare 中继),局域网直连免费。**首发构建隐藏了中继配对入口**,所以首发商店文案不提远程访问或订阅;是否随首发提交该商品由发布者决定。没有充值入口,也没有指向外部购买页的链接(Apple 3.1.1);余额只读显示 |
22
27
  | 许可证 | MIT,保留根目录 `LICENSE` 和第三方版权声明 |
23
28
 
24
29
  ## 2. 建议商店描述
@@ -31,7 +36,7 @@ DSH Mobile 不托管或代理 DeepSeek 服务。它连接的是用户自己配
31
36
 
32
37
  ### English
33
38
 
34
- DSH Mobile is an independent mobile companion for DeepSeek Harness. Connect it to your own DSH Harness service to view sessions and task progress, continue conversations, receive streaming replies, answer questions, approve tool actions, browse workspace files, and receive notifications.
39
+ DSH Mobile is an independent mobile companion for DeepSeek Harness. Connect it to your own DSH Harness service to view sessions and task progress, continue conversations, receive streaming replies, answer questions, approve tool actions, browse workspace files, and get task alerts through the notification channels you set up.
35
40
 
36
41
  DSH Mobile does not host or proxy DeepSeek services. It connects to the DSH Harness service configured by the user. Use a trusted local network or user-managed private network and configure an access token for the mobile service.
37
42
 
@@ -42,6 +47,7 @@ DSH Mobile does not host or proxy DeepSeek services. It connects to the DSH Harn
42
47
  - Internet:连接用户自己的 DSH Harness 服务。
43
48
  - Camera:扫描桌面端连接二维码。
44
49
  - POST_NOTIFICATIONS:显示问询、审批和后台提醒。
50
+ - ACCESS_NETWORK_STATE、VIBRATE:系统普通权限(网络状态判断、通知震动),无需用户授权。
45
51
  - SYSTEM_ALERT_WINDOW:仅用于用户主动开启的 Android 桌面宠物。
46
52
  - FOREGROUND_SERVICE / FOREGROUND_SERVICE_SPECIAL_USE:仅用于用户主动开启的 Android 后台提醒或桌面宠物。
47
53
 
@@ -50,19 +56,145 @@ DSH Mobile does not host or proxy DeepSeek services. It connects to the DSH Harn
50
56
  - Camera:扫描桌面端连接二维码。
51
57
  - Photo Library:用户选择图片发送给自己的会话。
52
58
  - Local Network:访问用户局域网内的 DSH Harness 服务。
53
- - Notifications:显示任务、问询和审批提醒。
59
+ - Notifications:运行时向系统申请——**第一次连上电脑(或进入演示)之后**才申请,不在启动时弹,也不会盖在首次连接引导上;iOS 不需要 Info.plist 说明串(已删除无意义的 `NSUserNotificationUsageDescription`)。
60
+ - 权限说明串默认英文,并提供 `en` 与 `zh-Hans` 两套本地化。
54
61
 
55
62
  iOS 不申请 Android 悬浮窗或前台服务权限。iOS 使用系统通知和回到 App 后的服务端状态补拉作为等价路径。
56
63
 
64
+ ## 3b. Google Play Console 声明(可直接粘贴)
65
+
66
+ ### 前台服务(App content → Foreground service permissions)
67
+
68
+ 清单里声明了 `FOREGROUND_SERVICE` 和 `FOREGROUND_SERVICE_SPECIAL_USE`,有两个 `specialUse` 服务(`AndroidManifest.xml`)。Android 14+ 要求声明每个前台服务类型;Google 要求为每项功能提供演示视频,所有类型都会被审核([官方说明](https://support.google.com/googleplay/android-developer/answer/16965181))。两个服务都是**用户主动开启、默认关闭**的可选功能。控制台里勾选 “Other / 其他”,再填视频链接和使用说明。
69
+
70
+ | 服务 | manifest 子类型(`PROPERTY_SPECIAL_USE_FGS_SUBTYPE`) | 设置页里的开关 / 开启方式 |
71
+ |---|---|---|
72
+ | `KeepAliveService` | `keep_connection_for_attention` | Settings → **Background alerts (persistent notice)**(中文「后台提醒(常驻通知)」);默认关,开启期间有常驻通知;用户划掉最近任务时也会停 |
73
+ | `FloatingBubbleService` | `floating_bubble_status` | Settings → **Desktop pet (BigFish)**(中文「桌面宠物(大肥鱼)」);默认关,首次需用户在系统页授予「显示在其他应用上层」 |
74
+
75
+ **演示视频(2026-11-02 录制,用修复后的 `3.2.4+32` 重录)**:`https://dsh.claud.ing/media/foreground-service-demo.mp4`(177 秒,720×1820,英文字幕;用 `3.2.4+32` 重录)。用 `dsh_pixel_36`(API 36)模拟器在 App 内置演示模式下录制,源码就是当前提交;两段:① Settings 打开 Background alerts → 常驻通知 → 退到后台 → 审批提醒弹出 → 点开并 Allow once → 关闭,通知消失;② 打开 Desktop pet → 系统「Display over other apps」授权 → 悬浮球出现 → 切到 Clock 应用仍在 → 关闭,悬浮球消失。文件放在 `site/static/media/`,**不进 git**(`.gitignore`),Google 通过后可以删掉再部署。
76
+
77
+ **“描述权限使用情况”框(English,粘贴;上限未知时先用这一版,491 字符)**
78
+
79
+ ```text
80
+ Companion app for the user's own DeepSeek Harness computer. Two optional features use this permission, both off by default and started only by the user: (1) Background alerts keep the app's live connection to the computer running in the background so approval alerts arrive instantly; the AI agent is blocked until the user answers, and Android would otherwise freeze the app. (2) Desktop pet: a status bubble that stays over other apps. Both show a notification and can be stopped any time.
81
+ ```
82
+
83
+ **完整版(English,2186 字符;框允许时用这一版)**
84
+
85
+ ```text
86
+ DSH Mobile is a companion app for DeepSeek Harness running on the user's own computer. The app has no server and no account; it talks directly to that computer. We use FOREGROUND_SERVICE_SPECIAL_USE for two optional features. Both are OFF by default, and the user must switch them on in Settings; nothing starts automatically.
87
+
88
+ 1) Background alerts (KeepAliveService, subtype keep_connection_for_attention). Task: keep the app's live connection to the user's computer running while the app is in the background, so that tool-approval requests, questions from the AI agent and task-finished alerts reach the user the moment they happen. Why it must start immediately and cannot be paused or restarted: the AI agent on the user's computer is blocked, waiting for the user's decision, so a late alert stalls the user's work. Android freezes a background app shortly after the user leaves it, which closes the connection, so the service has to be running before the user leaves the app (a foreground service cannot be started later from the background). These are events, not periodic data: deferred or batched work (WorkManager, JobScheduler) would deliver them minutes late, and any pause or restart would lose or delay events that happen during the gap. We run no server, so push messaging is not possible. A persistent notification is shown while the service runs. The user can switch it off in the same Settings screen, and it also stops when the user removes the app from recents.
89
+
90
+ 2) Desktop pet (FloatingBubbleService, subtype floating_bubble_status). Task: show a small status bubble over other apps. It must keep running continuously while the user is in other apps, otherwise the bubble disappears. It needs the “Display over other apps” permission, which the app requests only when the user turns the pet on, and it shows a notification while it runs. The user can switch it off at any time.
91
+
92
+ The video shows both features in the app's built-in demo mode (no account and no computer needed to review): Settings → turn on → persistent notification → app goes to the background → approval alert arrives → turn off; then the pet with the overlay permission, shown over another app.
93
+ ```
94
+
95
+ **通知文字(`3.2.4+32` 已修复):** 录第一版视频时发现常驻通知文字和渠道名是中文写死的、KeepAlive 小图标用启动图标(显示成白方块)、审批提醒标题是中文且同一个审批弹两条通知、设置页诊断行是中文。这些已在 `3.2.4+32` 修好(见 CHANGELOG):通知文字随界面语言(没选过语言时跟随系统),小图标是白色剪影,一条审批只弹一条通知,演示模式里批准后通知会消失。上面的视频是用修复后的构建重录的。
96
+
97
+ **SYSTEM_ALERT_WINDOW 理由(English,粘贴)**
98
+
99
+ > Used only for the optional floating status bubble described above. The app's core features (sessions, chat, approvals, files) do not use it. The permission is not requested at install or first launch; the system "Display over other apps" screen is opened only when the user switches the bubble on.
100
+
101
+ > 备选:如果评审对这两项功能追问过多,可以出一个**不含悬浮球与保活**的 Play 构建(去掉这两个服务与 `SYSTEM_ALERT_WINDOW`),核心功能不受影响。这需要单独的构建变体,目前**没有做**。
102
+
103
+ ### Data safety(建议答案,**(verify)** 以控制台当前定义为准)
104
+
105
+ > The app sends the user's own messages, files and approval answers only to the DeepSeek Harness computer the user configures. When ads are enabled in the submitted build, Gravity's SDK sends contextual ad requests and related advertising data to a third party. The app supplies a fixed app description and a random install ID, never conversation content or the advertising ID. Review the SDK's device and network metadata, ad interaction data and retention when completing the Data safety form; the absence of a developer-operated server does not mean no data is collected. The access token is stored in Android Keystore-backed secure storage. Clearing app data or uninstalling removes local app data; it does not establish deletion of third-party records.
106
+
107
+ 默认直连在局域网内走明文 HTTP(用户自己的网络);用户自己的 VPN / TLS 隧道与端到端加密中继属于其他传输路径。启用广告后还存在设备到广告服务的独立数据流,不能再用「开发者不收集数据」跳过数据安全问卷;应按最终包的实际数据流与传输保护填写。
108
+
109
+ ## 3c. App Store Connect:隐私问卷与出口合规
110
+
111
+ - **App Privacy**(2026-11-09 起首页有 Gravity 广告;2026-11-16 起有可选账号与 IAP 订阅):**不再是 Data Not Collected。** 广告 SDK 与可选账号都会产生数据,必须在 App Store Connect 里如实申报。建议答案(**这是发布者的法律声明,提交前请你核对,代码替代不了**):**广告数据不用于追踪**(应用不弹 ATT、不读 IDFA、请求里带 GPC);收集的数据类型:**Device ID**(应用生成的随机安装 ID)、**Advertising Data**(广告曝光)、**Product Interaction**(点击和赞/踩反馈);如使用可选账号与订阅,另计 **Contact Info**(Google / Apple 返回的邮箱与身份标识)与 **Purchases**(订阅记录);广告数据用途选 **Third-Party Advertising**(SDK 还会带上系统版本、型号、语言、时区、屏幕尺寸和 IP,Apple 的类别里没有对应项,按你们合规判断补充),账号与购买数据用于 **App Functionality**;广告数据不与用户身份关联,账号与购买数据关联到账号。`PrivacyInfo.xcprivacy` 已按广告口径登记,两边必须一致。会话内容、文件和令牌不在其中:它们只发给用户自己配置的电脑端服务。**加密中继改变了这件事,提交前需要发布者决定并核对:** 中继会短暂看到连接元数据(来源 IP、房间标识、字节数、时间),内容因端到端加密而不可读。Apple 的「收集」定义是数据被传出设备并留存超过实时服务所需——中继设计上不落盘、不记日志,所以需要单独核对中继及链路服务商(例如 Cloudflare)的元数据留存;任何一层保留 IP 或房间标识时,应将其纳入申报,并同步更新隐私政策 §2.7。**中继不留存不能抵消广告 SDK 的数据收集,启用广告的构建仍须申报上述广告数据。**这是合规判断,不是代码能替你定的。
112
+ - **出口合规**:`Info.plist` **不写** `ITSAppUsesNonExemptEncryption`(2026-11-02 起)。原因:手机端中继客户端在系统 TLS 之外自己实现并使用了加密算法(Noise_IK、X25519、ChaCha20-Poly1305),Flutter 引擎还自带 BoringSSL(HTTPS / WSS 不走系统 TLS),所以不能声明 `false`(错误申报);声明 `true` 又会被 Apple 以 **90592** 拒收:`true` 要求 `ITSEncryptionExportComplianceCode`,而「应用加密文档」问卷(选「标准算法,用于代替或补充系统加密」、不在法国发行)的结论是「不需要上传文档」,没有代码可填(altool 与 xcodebuild 两条上传路径都复现过;在临时副本里去掉该键或写 `false` 都能通过校验)。所以键留空,上传后 App Store Connect 会在 TestFlight / 提交时让发布者回答出口合规问卷,**如实回答是发布者的法律声明,需要你和合规顾问确认,代码替代不了**(美国 EAR 的分类 / 自分类报告等是否适用,也由你们判断)。每个构建都要回答一次;将来拿到合规代码,可以写成 `true` + `ITSEncryptionExportComplianceCode`。配套的技术说明见 `docs/APP-ENCRYPTION-DESCRIPTION.md`(英文,含 PDF)。Google Play 没有对应的 Info.plist 开关;数据安全表单中的传输保护应按 §3b 的实际数据流核对,不能因中继使用加密就推定明文直连也已加密。
113
+ - **首发版本藏起了远程访问入口**(2026-11-01 决定):连接页、扫码页、失败提示都不提它,桌面面板在没启用中继时也不出现;商店文案、截图、描述里**不要**出现「远程访问 / 公网 / 任何网络」之类的说法。两点后果:
114
+ - 出口合规**不变**:中继的加密代码仍在安装包里。藏入口不等于二进制里没有加密;想声明 `false` 得先把中继从发布产物里拿掉,而且 Flutter 引擎自带的 BoringSSL 仍在包里,是否因此仍需申报由合规顾问判断(以 App Store Connect 里的实际问题为准)。
115
+ - App Privacy 按最终构建的数据流填写:隐藏中继入口只表示默认不产生中继连接,不影响广告 SDK 的申报。启用广告的直连构建仍须申报上述广告数据;**打开远程访问时还须重新评估中继及服务商的留存并更新问卷。**
116
+ - **Local Network** 说明串已本地化(英文 + 简体中文)。
117
+ - **知识产权**:关系声明见 §1。DeepSeek 鲸鱼标识已删除。默认应用图标、App 内标志和首页角色使用 `tools/brand/source/` 里的两张图片,其余 7 款备选图标与 Android 悬浮宠物是仓库内代码绘制的素材(`docs/BRAND-ASSETS.md`);`DeepSeek` 一词只作为被连接产品的指称(关系声明已写明非官方、无背书)。**发布者仍需自行确认**:①名称 `DSH Mobile` 与商店文案里的 `DeepSeek Harness` 指称是否符合 DeepSeek 当前的品牌使用规则(Apple 5.2 / Google 冒充政策);②仓库**历史**里仍保存着旧素材,如需彻底清除要重写历史。
118
+
119
+ ## 3d. 审核访问(App Review Information → Notes;Play → App access)
120
+
121
+ **English(粘贴)**
122
+
123
+ > DSH Mobile is a remote companion for DeepSeek Harness, desktop software that users run on their own computer, so we cannot provide a reviewer with a server.
124
+ > To review every main feature without any computer: on the first screen tap "Try the demo first (no computer needed)" (Chinese UI: 先试用演示(不需要电脑)). Demo mode runs entirely on the device: three sample sessions, scripted streaming replies, and a tool-approval card (send "run the tests" in any session, then tap Allow once or Reject). A banner reads "Demo mode · sample data" and "Leave demo" returns to the connection screen.
125
+ > No account or login is required: demo mode covers every main feature. An optional account (Google / Apple) exists only for the paid public-network relay; it is not needed to review the app and can be deleted inside the app.
126
+
127
+ **中文**
128
+
129
+ > DSH Mobile 是 DeepSeek Harness 的远程伴侣,需要连接用户自己电脑上运行的桌面软件,因此无法给审核员提供服务器。
130
+ > 无需任何电脑即可体验全部主要功能:在首屏点击「先试用演示(不需要电脑)」。演示完全在手机本地运行:三个示例会话、脚本化的流式回复、工具审批卡(在任一会话里发送「运行测试」,再点「允许一次」或「拒绝」)。界面上方有「演示模式 · 数据均为示例」横幅,点「退出演示」回到连接页。
131
+ > 审核不需要账号或登录:演示模式覆盖全部主要功能。账号(Google / Apple 登录)是可选的,只用于付费的公开网络中继;审核不需要它,且可以在 App 内删除。
132
+
133
+ ## 3e. 账号与登录
134
+
135
+ **核心功能不需要账号**;账号是可选的,只用于公开网络(Cloudflare 中继)的订阅归属。一旦提供账号,以下规则适用,且仓库已实现:
136
+
137
+ | 规则 | 现状 |
138
+ |---|---|
139
+ | Apple 5.1.1(v):账号可在 App 内删除 | 已实现:设置 → 账号与订阅 → 删除账号,调用 `DELETE /api/account`(同时清 D1 与 R2 导出) |
140
+ | Apple 4.8:提供第三方登录时须同时提供隐私友好的等价选项 | 已提供 Google 与 Apple 两种登录,满足 |
141
+ | Google Play 账号删除要求 | 同上,App 内可删除,且支持数据导出 |
142
+ | 数字能力订阅走 IAP | 公开网络中继订阅走 StoreKit / Play Billing,没有外链购买 |
143
+
144
+ 设备配对(扫码、一次性口令、可撤销的设备密钥)是设备身份,不是用户账号;局域网使用不需要任何账号。(提交前请对照最新版准则确认。)
145
+
146
+ **原生登录的客户端配置(2026-11-16 接入)**
147
+
148
+ | 用途 | 客户端 ID | 写在哪 |
149
+ | --- | --- | --- |
150
+ | Web:后端校验 `aud`,App 两端都把它当 `serverClientId` | `984760195468-d10pri6hojgmdsrv1i3l3skuq6e36ts6.apps.googleusercontent.com` | `relay/cloudflare/wrangler.toml` 的 `GOOGLE_CLIENT_IDS`;App 的 `DSH_GOOGLE_SERVER_CLIENT_ID` |
151
+ | iOS:原生授权的 `clientId`,回调 scheme 用它反转 | `984760195468-tvlaocn8eb0k9iu3k0dbe350qi3obmqn.apps.googleusercontent.com` | App 的 `DSH_GOOGLE_CLIENT_ID`;`ios/Runner/Info.plist` 的 `CFBundleURLTypes` |
152
+ | Android:只让 Credential Manager 认出「包名 + 签名」,App 不读取 | `984760195468-snqq0ptsdn9fcfv0mnifvuc2v8b50pid.apps.googleusercontent.com` | 仅存在 Google Cloud |
153
+
154
+ 平台分工写在 `dsh-mobile-app/lib/cloud/oauth_config.dart`:iOS 才传 `clientId`,Android 传会被 Google 当成未知 audience。
155
+
156
+ Android 客户端下必须登记签名指纹(包名 `com.mrdayone.dshmobile`,SHA-1):
157
+
158
+ - 上传密钥 `android/app/dsh-upload.jks`:`13:36:E7:52:9F:95:E9:34:44:9F:DC:19:D9:2D:7B:C6:35:BC:D1:AF`
159
+ - 本机 debug keystore:`57:E1:39:85:A2:46:4C:1C:1D:A3:47:A7:E3:6A:70:24:5D:B0:38:7F`
160
+ - Play App Signing 的发布证书:在 Play Console → 应用完整性 里取,同样要加,否则商店下载的版本登录会失败
161
+
162
+ Apple 侧:`ios/Runner/Runner.entitlements` 已声明 `com.apple.developer.applesignin`,后端 `APPLE_CLIENT_IDS=com.mrdayone.dshmobile`;还需要在 Apple Developer → Identifiers → `com.mrdayone.dshmobile` 勾选 Sign in with Apple,否则真机导出描述文件会缺这条能力。
163
+
57
164
  ## 4. 隐私与数据流
58
165
 
59
166
  - 会话内容、任务状态、审批回答和工作区文件请求发送到用户自己配置的 DSH Harness 服务。
60
167
  - 连接地址和普通界面偏好保存在设备本地;访问口令使用 Android Keystore / iOS Keychain 封装保存。
61
- - App 不内置用户账号体系,不上传广告标识符,不内置第三方分析 SDK。
168
+ - 账号是可选的:不登录也能使用全部局域网功能;登录后云端只保存 Google / Apple 身份标识、订阅状态与导出记录(用于公开网络中继的权益),不保存第三方令牌。App 不读取、不上传广告标识符(IDFA / GAID),不内置第三方分析 SDK;首页的 Gravity 广告 SDK 只发上下文广告请求(固定的应用描述句、随机安装 ID、设备型号/系统/语言/时区/屏幕尺寸、IP 和 GPC 信号),不含会话内容。Google Play 数据安全表和 App Store 隐私问卷必须据此申报。
62
169
  - 用户配置的推送桥可能把事件提醒发送到用户自己选择的第三方通道;推送内容由电脑端插件配置决定,默认使用脱敏摘要。
63
170
  - App 日志用于本地诊断,不应包含访问口令;用户可在设备上清除 App 数据以删除本地配置。
64
171
 
65
- 完整文本见 `docs/PRIVACY-POLICY.md`。发布前必须把该文本发布到一个可公开访问的 HTTPS URL,并在两个商店的隐私政策字段填写该 URL。
172
+ 完整文本见 `docs/PRIVACY-POLICY.md`(中文)和 `docs/PRIVACY-POLICY.en.md`(英文)。**App 里已经能直接看到**:设置 → 关于 → 隐私政策,连接页底部也有入口(Apple 5.1.1(i) 与 Google Play 用户数据政策都要求 App 内可见);正文随包发布(`dsh-mobile-app/assets/legal/privacy-policy.{zh,en}.md`),与 docs 下的文件逐字相同,`test/legal-docs.test.mjs` 会校验——改政策时两处一起改。
173
+
174
+ **已发布(2026-11-02)**:网站 `dsh.claud.ing`(Cloudflare Workers 静态站,源码在 `site/`,`node site/build.mjs` 生成、`cd site && wrangler deploy` 部署),政策正文由 `docs/` 渲染,和 App 内的文本同源。公司名、地址、支持邮箱已写进政策 §13 和服务条款,`assets/legal/` 的副本已同步。填写商店字段时用这些 URL:
175
+
176
+ | 商店字段 | URL |
177
+ | --- | --- |
178
+ | 隐私政策(中文) | `https://dsh.claud.ing/privacy/` |
179
+ | 隐私政策(英文) | `https://dsh.claud.ing/en/privacy/` |
180
+ | 支持网址 | `https://dsh.claud.ing/support/`(英文 `/en/support/`) |
181
+ | 营销网址 / 网站 | `https://dsh.claud.ing/`(英文 `/en/`) |
182
+ | 服务条款 | `https://dsh.claud.ing/terms/`(英文 `/en/terms/`) |
183
+ | 支持邮箱 | `support@claud.ing`(Cloudflare Email Routing 已启用,转发到发布者的收件箱) |
184
+
185
+ 服务条款是草稿:适用法律写的是怀俄明州,责任限制与 Apple 条款的写法需要发布者或律师确认后再依赖。`test/site.test.mjs` 守卫页面、链接、无第三方资源与品牌关系声明。
186
+
187
+ ## 4b. Android 上传密钥(一次性,由你执行)
188
+
189
+ ```bash
190
+ tools/make-upload-keystore.sh
191
+ ```
192
+
193
+ 脚本会交互式询问组织名和口令(不回显、不进命令行参数),生成 `dsh-mobile-app/android/app/dsh-upload.jks` 与 `android/key.properties`(权限 600,已被 `.gitignore` 排除),并打印 SHA-1 / SHA-256 指纹。它**绝不覆盖**已有密钥。没有 Bash 的 Windows 机器可以用 Git Bash 运行,或直接用 `keytool -genkeypair -keystore app\dsh-upload.jks -storetype PKCS12 -alias upload -keyalg RSA -keysize 4096 -validity 9125` 并手写 `key.properties`(字段:`storeFile`、`storePassword`、`keyAlias`、`keyPassword`)。
194
+
195
+ - 在 Play Console 开启 **Play App Signing**:真正签给用户的应用签名密钥由 Google 保管,这里生成的只是**上传密钥**——丢了可以向 Google 申请重置。
196
+ - 生成后**立即**把 `.jks` 与口令备份到离线保险处(口令管理器 + 加密 U 盘),不要提交、不要发聊天。
197
+ - 验证过的行为(2026-11-01,用一次性测试密钥):没有 `key.properties` 时 release 构建被拒绝;有它时构建成功,APK 的签名证书 SHA-256 与脚本打印的指纹一致。
66
198
 
67
199
  ## 5. 支持资料
68
200
 
@@ -80,27 +212,60 @@ iOS 不申请 Android 悬浮窗或前台服务权限。iOS 使用系统通知和
80
212
  6. 设置页:模型、权限、用量、诊断和主题。
81
213
  7. 文件/Git:工作区浏览和只读 Git 详情。
82
214
 
83
- Android 至少准备手机尺寸和平板/大屏尺寸;iOS 至少准备 iPhone 和 iPad 尺寸。截图必须去掉真实地址、token、真实会话内容、个人信息和内部文件名。
215
+ 截图规格(2026-11-01 查官方页面):
216
+ - **Apple**:iPhone **6.1" 一档必须有**(`1179×2556` 或 `1206×2622`);6.9"(`1320×2868`)或 6.5"(`1284×2778`)这一档在没有 6.9"/6.7"/6.3" 时也要有;PNG/JPEG,**不能带 alpha 通道**,每档最多 10 张。当前声明 iPhone + iPad(`TARGETED_DEVICE_FAMILY = "1,2"`),所以还要补 iPad 截图(至少 12.9"/13" 一档);不做 iPad 截图就把设备族改回仅 iPhone。
217
+ - **Google Play**:至少 2 张,PNG/JPEG,**不能带 alpha 通道**,每边 320–3840 px,**长边不超过短边的 2 倍**(所以 `1206×2622`、比例 2.17:1 的 iPhone 截图**不能**直接传 Play;要在 Android 上截 9:16 或 1080×2160 这类 ≤ 2:1 的图);平板/Chromebook 截图可选。
218
+ - `docs/screenshots/0*.png` 的 alpha 通道已去掉(像素不变),但它们是 **iOS 模拟器中文界面** 的旧截图、**不含本次新增的连接引导**:上架前请用最终构建重新截图,英文商店语言配英文界面(App 现在默认跟随系统语言)。
219
+ - 截图必须去掉真实地址、token、真实会话内容、个人信息和内部文件名。
220
+
221
+ **Google Play 图形素材**(仓库已生成,可复现:`cd dsh-mobile-app && python3 tools/brand/store_assets.py`):`store/google-play/icon-512.png`(512×512,带 alpha 通道,418 KB,上限 1024 KB)和 `store/google-play/feature-graphic-1024x500.png`(1024×500,无 alpha)。它们只用 `tools/brand/source/` 里的两张图合成,不含文字;想换设计直接改脚本或替换文件。
84
222
 
85
223
  ## 7. 提交前必须由发布者完成
86
224
 
225
+ **仓库(代码侧)已完成、不需要你再做:** 演示模式;iOS 英文 / 简体中文权限说明、App 隐私清单、出口合规声明、iPhone + iPad;Android 16 KB 页大小核对(所有 64 位原生库合格);上传密钥脚本与签名链路验证;Play 前台服务 / 悬浮窗 / Data safety / 审核访问的可粘贴文本(§3b–§3d);云端账号、IAP 订阅、中继票据、App 内删除账号与数据导出,公开中继已部署(`wss://dsh.claud.ing`)。Apple 与 Google 的开发者账号已由发布者处理。
226
+
227
+ **2026-11-02 追加(代码侧):** 去掉全部外部充值入口(设置页、Android 悬浮面板、Kotlin intent、Flutter 回调、插件 `rechargeUrl`);首次进入连接页的「怎么连接你的电脑」引导(命令、地址与口令在哪看,可复制,之后可从「怎么连接?」再看);界面语言默认跟随系统;App 内隐私政策页与开源许可页;通知权限改为连接之后再申请;连接地址解析修复(`http-nas.local` 这类以 http 开头的主机名、大写 `HTTP://`);iOS 不再显示 Android 专属的桌宠与图标开关;Android 通知小图标换成白色剪影(彩色启动图标会显示成白方块);Play 图标 / 特色图片;`tools/verify-release-artifacts.py`(核对已构建产物,见 §8)。
228
+
229
+ **仍需你完成:**
230
+
87
231
  - [ ] Apple Developer 账号和 App Store Connect 应用记录。
88
232
  - [ ] Google Play Console 应用记录。
89
233
  - [ ] 确认两个商店都接受并冻结 `com.mrdayone.dshmobile`;首次创建后不要随意更换。
90
234
  - [ ] Android release keystore 安全保管,并以 GitHub Secret 或本地安全路径提供给构建。
91
- - [ ] Apple 证书、provisioning profile 和 App Store Connect API key/权限。Workflow 使用 Variables `APPSTORE_ISSUER_ID`、`APPSTORE_API_KEY_ID`,Secret `APPSTORE_API_PRIVATE_KEY`。
92
- - [ ] Google Play 服务账号和内部测试轨道权限。Workflow 使用 Secret `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON`。
235
+ - [ ] Apple 证书、provisioning profile 和 App Store Connect API key/权限。现有 CI 不使用这些凭据自动上传;正式发布按 `tools/ios-release.sh` 支持的本地配置执行。
236
+ - [ ] Google Play 服务账号和内部测试轨道权限。`GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` 属于 §9 拟议自动上传配置,当前工作流不使用它。
93
237
  - [ ] GitHub repository Variable `ANDROID_SDK_LICENSES_ACCEPTED=true`。仅在发布者已接受 Android SDK License 后设置;Android workflow 不会在变量缺失时自动代替接受条款。
94
- - [ ] Android 签名 Secrets:`ANDROID_KEYSTORE_BASE64`、`ANDROID_KEY_ALIAS`、`ANDROID_KEY_PASSWORD`、`ANDROID_KEYSTORE_PASSWORD`。
95
- - [ ] iOS 签名 Secrets:`APPLE_CERTIFICATE_BASE64`、`APPLE_CERTIFICATE_PASSWORD`、`APPLE_PROVISIONING_PROFILE_BASE64`、`APPLE_KEYCHAIN_PASSWORD`、`APPLE_SIGNING_IDENTITY`、`APPLE_TEAM_ID`、`APPLE_PROVISIONING_PROFILE_NAME`。
96
- - [ ] 隐私政策 HTTPS URL、支持 HTTPS URL、支持邮箱。
238
+ - [ ] 未来自动签名流程所需 Android Secrets(当前候选工作流不读取):`ANDROID_KEYSTORE_BASE64`、`ANDROID_KEY_ALIAS`、`ANDROID_KEY_PASSWORD`、`ANDROID_KEYSTORE_PASSWORD`。
239
+ - [ ] 未来自动签名流程所需 iOS Secrets(当前无签名工作流不读取):`APPLE_CERTIFICATE_BASE64`、`APPLE_CERTIFICATE_PASSWORD`、`APPLE_PROVISIONING_PROFILE_BASE64`、`APPLE_KEYCHAIN_PASSWORD`、`APPLE_SIGNING_IDENTITY`、`APPLE_TEAM_ID`、`APPLE_PROVISIONING_PROFILE_NAME`。
240
+ - [x] 隐私政策 HTTPS URL、支持 HTTPS URL、支持邮箱:已有(见 §4);support@claud.ing 已由 Cloudflare Email Routing 转发。
97
241
  - [ ] 真实 Android AAB 和 iOS TestFlight IPA 经过设备冒烟。
98
242
  - [ ] 填写内容分级、数据安全、出口合规和第三方品牌声明。
99
243
  - [ ] 发布者人工确认公开发布;CI 不自动把未确认构建发布到公开轨道。
100
244
 
245
+ ## 7b. 已核实的商店规则(2026-11-01 读官方页面;提交前请在控制台再核一遍)
246
+
247
+ | 规则 | 要求 | 本仓库现状 | 来源 |
248
+ |---|---|---|---|
249
+ | Play 目标 API | 新应用与更新从 2026-08-31 起必须 `targetSdk ≥ 36` | 36(合并清单与 `aapt2 dump badging` 实测) | [target-sdk](https://developer.android.com/google/play/requirements/target-sdk) |
250
+ | Play 16 KB 页 | 目标 ≥ 35 的更新须支持 16 KB 页;2027-02-01 起不支持就发不了 | 64 位库全部 `2**14`/`2**16`;`zipalign -P 16` 通过;仅 32 位 `armeabi-v7a/libbarhopper_v3.so` 是 4 KB(16 KB 设备只跑 64 位,无影响) | [page-sizes](https://developer.android.com/guide/practices/page-sizes) |
251
+ | Play 新个人账号 | 2023-11-13 之后创建的**个人**账号:封闭测试 ≥ 12 名测试者连续选入 ≥ 14 天,才能申请正式版;组织账号不在此列 | **取决于你的账号类型**——个人账号这是最长的固定周期 | [14151465](https://support.google.com/googleplay/android-developer/answer/14151465) |
252
+ | Play 前台服务 | 每个前台服务类型都要在 App content 声明,并附演示视频;所有类型都会被审核 | 两个 `specialUse` 服务,文本和视频脚本见 §3b | [13392821](https://support.google.com/googleplay/android-developer/answer/13392821) |
253
+ | Play AI 生成内容 | 以 AI 对话为核心功能的应用,必须有不离开 App 的举报/反馈入口 | **没有**。这个 App 是 AI 编码 agent 的遥控器,是否算「对话为核心」由你判断;如果算,需要加一个发给开发者的举报入口(需要支持邮箱) | [13985936](https://support.google.com/googleplay/android-developer/answer/13985936) |
254
+ | Play 隐私政策 | 控制台填链接,**并且 App 内要有链接或文本** | 已做(设置 → 关于、连接页) | [10144311](https://support.google.com/googleplay/android-developer/answer/10144311) |
255
+ | Play 素材 | 短描述 ≤ 80;图标 512×512 带 alpha ≤ 1 MB;特色图片 1024×500 无 alpha;截图长边 ≤ 2× 短边、无 alpha | 图标与特色图片已生成;截图见 §6 | [9866151](https://support.google.com/googleplay/android-developer/answer/9866151) |
256
+ | Apple 构建 | 2026-04-28 起必须 Xcode 26 / iOS 26 SDK 构建 | Xcode 26.6 / iOS 26.5 SDK | [upcoming](https://developer.apple.com/news/upcoming-requirements/) |
257
+ | Apple 年龄分级 | 2026-01-31 前须回答新版年龄分级问卷 | 控制台任务,你来填 | 同上 |
258
+ | Apple EU | 在欧盟分发须提供 DSA trader 状态 | 控制台任务,你来填 | 同上 |
259
+ | Apple 3.1.1 / 3.1.3 | 美国以外的商店禁止外链到非 IAP 购买入口;3.1.3(f) 只豁免 VoIP / 云存储 / 邮件 / 虚拟主机的免费配套应用 | 已删除充值入口;公开网络中继订阅走 IAP,无外链 | [guidelines](https://developer.apple.com/app-store/review/guidelines/) |
260
+ | Apple 5.1.1(i) | 隐私政策链接放在 App Store Connect **并且** App 内 | 已做 | 同上 |
261
+ | Apple 截图 | 6.1" 一档必有;无 alpha | 见 §6 | [screenshot-specifications](https://developer.apple.com/help/app-store-connect/reference/app-information/screenshot-specifications) |
262
+ | Play `SYSTEM_ALERT_WINDOW` | 没有查到 Google 当前的专门政策文字 | §3b 的理由文本照旧;**未核实** | — |
263
+
264
+ > 这些页面是通过抓取工具读取并摘要的;表里的数字/日期以官方页面原文为准,提交前请在控制台再确认。
265
+
101
266
  ## 8. 当前明确未完成项
102
267
 
103
- 本轮没有 Apple/Google 账号、签名证书、keystore、商店记录或公开 HTTPS 页面,因此没有执行商店上传,也没有声称已经通过审核。GitHub Actions 会在没有这些 Secrets 时保留可验证的 unsigned iOS Runner.app 和 debug-signed Android AAB candidate,并明确标注它们不能直接提交商店;只有配置正式签名 Secrets 后才生成可提交的 IPA/AAB。
268
+ 现有 `ios-build.yml` 执行无签名编译检查;`android-build.yml` 显式使用 debug 签名构建候选包。这两个工作流没有根据正式签名 Secrets 自动切换为商店构建或上传的实现,补齐 Secrets 不会使它们自动产出可提交的 IPA/AAB。iOS 正式归档、导出、校验与可选上传由本地 `tools/ios-release.sh` 执行;Android 正式构建按 §4b 配置上传密钥。已有网站见 §4;账号、签名和商店状态须以发布者实际记录为准,仓库配置本身不能证明已上传或审核通过。
104
269
 
105
270
  预发布检查:
106
271
 
@@ -116,15 +281,25 @@ scripts/release-check.ps1 -StoreSubmission -AndroidAabPath <signed-aab> -IosIpaP
116
281
 
117
282
  正式提交模式会拒绝缺少 release keystore、真实 HTTPS 隐私/支持 URL、支持邮箱或签名 AAB/IPA 的状态。
118
283
 
284
+ `release-check.ps1` 只检查文件存在;**检查产物内容**用 `tools/verify-release-artifacts.py`(Python 3,需要 Android SDK build-tools / NDK 与 Xcode 命令行工具):
285
+
286
+ ```bash
287
+ python3 tools/verify-release-artifacts.py --apk dsh-mobile-app/build/app/outputs/flutter-apk/app-release.apk
288
+ python3 tools/verify-release-artifacts.py --aab dsh-mobile-app/build/app/outputs/bundle/release/app-release.aab
289
+ python3 tools/verify-release-artifacts.py --ios-app dsh-mobile-app/build/ios/iphoneos/Runner.app # 或 --ipa 已签名的 IPA
290
+ ```
291
+
292
+ 它核对:包名、`targetSdk ≥ 36`、权限白名单(多出来的权限要补 Play 声明)、`zipalign -P 16` 与 64 位 `.so` 的 16 KB 对齐、签名是不是 debug 密钥、iOS 的 Info.plist 键与最低系统、Xcode 26 SDK、隐私清单,以及每个二进制用到的 required-reason API 是否都有声明(缺了 Apple 会以 ITMS-91053 拒收)。2026-11-02 在真实构建上验证过:对当前产物全部通过,对故意改坏的副本(删出口合规键、删 Flutter 隐私清单、最低系统改成 12)正确报 3 项失败。手动工作流 `android-build.yml` 会在 CI 上构建并运行它(该工作流**尚未在 GitHub 上跑过**)。
293
+
119
294
  > 提醒:无签名的 iOS `Runner.app` 不能运行(没有 entitlements,Keychain 报 -34018),只用于编译检查;详见 `docs/09-compatibility.md` §4。
120
295
 
121
296
  ## 9. 自动上传条件
122
297
 
123
- > ⚠ `release.yml` 与 `android-build.yml` **不在本仓库**:本节是设计说明,尚无实现,也没有验证过。现有的是 `ci.yml` 与手动触发的 `ios-build.yml`。
298
+ > `release.yml` 尚未实现。本节描述拟议的自动上传条件。现有 `ci.yml`、`ios-build.yml`、`android-build.yml` 负责测试或候选构建,不执行商店自动上传。
124
299
 
125
- `release.yml` 的上传 job 只在以下条件同时满足时运行:
300
+ 拟议的 `release.yml` 上传 job 应仅在以下条件同时满足时运行:
126
301
 
127
302
  - Google Play:正式签名 AAB、`GOOGLE_PLAY_SERVICE_ACCOUNT_JSON`、Android 签名 Secrets、已创建的 Play Console 应用和 internal track 权限。
128
303
  - TestFlight:正式签名 IPA、Apple 证书/profile、`APPSTORE_ISSUER_ID`、`APPSTORE_API_KEY_ID`、`APPSTORE_API_PRIVATE_KEY`、App Store Connect 应用记录和上传权限。
129
304
 
130
- 缺少任一项时,job 只输出跳过原因,不会上传 unsigned/debug candidate。当前仓库没有这些外部凭据和商店记录,因此本轮没有执行上传。
305
+ 拟议流程应在缺少任一项时输出跳过原因,禁止上传 unsigned/debug candidate。此处是设计要求,不是现有工作流的行为或商店上传记录。
@@ -0,0 +1,150 @@
1
+ # DSH Mobile store listing copy (ASO)
2
+
3
+ > 2026-11-02。商店文案**只有英文,不含任何中文字符**(`test/store-listing.test.mjs` 会检查)。可以直接复制到 App Store Connect 和 Google Play Console 对应字段。每个字段标了字数上限和当前字数,测试会校验上限、当前字数和用词红线。
4
+ > 品牌关系声明用固定原句(见 `docs/STORE-LAUNCH.md` §1),放在每段完整描述的最后一行。
5
+
6
+ ## ASO 思路
7
+
8
+ - **Apple 只索引 名称 + 副标题 + 关键词,不索引描述。** 名称里已有的词(DSH、Mobile、DeepSeek、Harness)不再放进关键词;副标题放最想被搜到的词(AI agent、approvals);关键词字段不留空格、用逗号隔开、只写单数,不写别人的商标(ChatGPT、Claude、Copilot 等)。描述影响的是转化,不是排名。
9
+ - **Google Play 索引 标题 + 简短描述 + 完整描述。** 简短描述权重最高,放进 DeepSeek Harness、mobile companion、approve、alerts;完整描述里这些词自然重复几次,不堆砌。
10
+ - **红线**(Apple 2.3 元数据必须准确,Play 禁止误导和关键词堆砌):不写 remote / anywhere(首发只支持同一个 Wi-Fi 的局域网)、不写价格和充值、不写 best / No.1 这类无法证实的话;开头先说明需要电脑上的 DeepSeek Harness,避免差评;结尾放品牌关系声明。
11
+ - **Promotional Text(Apple)发布后随时可改,不用重新审核**,适合以后放活动或新功能;Description 要跟着新版本走。
12
+ - 商店里只有英文版本:Apple 的 App Store Connect 里要把本地化设成 English (U.S.),网址用 `/en/` 版本。
13
+
14
+ ## Common
15
+
16
+ | Field | Value |
17
+ | --- | --- |
18
+ | Apple · Copyright | `2026 Digital Bang Intelligence LLC.` (year + rights holder, no © sign, no URL) |
19
+ | Apple · Header image | `store/screenshots/apple/header_3840x1646/header.png` (3840×1646, 21:9, RGB, no alpha; `header.jpg` is a 1.2 MB version). No text in the image |
20
+ | Apple · App name | already set: `DSH Mobile-DeepSeek Harness` (26 characters) |
21
+ | Google Play · App name | see the field below |
22
+ | Google Play · Contact email | `support@claud.ing` |
23
+ | Google Play · Website | `https://dsh.claud.ing/en/` |
24
+ | Google Play · Privacy policy | `https://dsh.claud.ing/en/privacy/` |
25
+
26
+ ## Apple App Store (English (U.S.))
27
+
28
+
29
+ #### Subtitle (≤ 30, now 25)
30
+
31
+ (在 App Information 里,不在 Product Page 这一页。)
32
+
33
+ ```text
34
+ AI agent chat & approvals
35
+ ```
36
+
37
+ #### Promotional Text (≤ 170, now 169)
38
+
39
+ ```text
40
+ Continue your DeepSeek Harness sessions on your phone. Approve or deny tool actions, follow task progress and get alerts. Scan a QR code to connect to your own computer.
41
+ ```
42
+
43
+ #### Description (≤ 4000, now 2457)
44
+
45
+ ```text
46
+ Take your DeepSeek Harness sessions with you. DSH Mobile lets you continue conversations, follow task progress and approve what the AI agent wants to do, all from your iPhone, while the work keeps running on your own computer.
47
+
48
+ WHAT YOU CAN DO
49
+ • Continue the conversation – pick up any session from your computer and watch replies stream in live.
50
+ • Approve or deny tool actions – when the agent wants to run a command or change files, you decide with one tap.
51
+ • Answer the agent's questions – respond when it needs your input, so tasks never sit waiting.
52
+ • Follow tasks at a glance – recent sessions and their running state, with active and archived sessions kept apart.
53
+ • Get notified – alerts when a task finishes, the agent asks something or a run fails, plus a notification center to catch up.
54
+ • Browse workspace files and send images – look through files in the workspace and send photos or screenshots to a session.
55
+ • Scan to connect – scan the QR code on your computer, or type the address and access token yourself.
56
+ • Try the demo first – a built-in demo with sample data needs no computer and no account.
57
+
58
+ HOW IT WORKS
59
+ DSH Mobile is a companion, not a standalone AI. It connects to DeepSeek Harness running on your own computer over your local Wi-Fi, so your sessions, files and credentials travel between your phone and your computer, not through our servers.
60
+ 1. Download, install and sign in to DeepSeek Harness on your computer.
61
+ 2. Open the third-party plugins page and add a plugin: More → Browse more plugins → Add plugin.
62
+ 3. Enter the plugin address: @dsh-mobile/mobile-remote
63
+ 4. Fully restart DeepSeek Harness.
64
+ 5. Click your user name at the bottom left to open Settings.
65
+ 6. Open the “Connect mobile device” page and scan the QR code with the app. Your phone and computer must be on the same Wi-Fi.
66
+
67
+ PRIVATE BY DESIGN
68
+ • No account, no analytics or tracking SDKs. One contextual ad on the home screen; it never sees your sessions or files.
69
+ • The access token is kept in the iOS Keychain.
70
+ • Sessions, files and images go only between your phone and your computer.
71
+
72
+ REQUIREMENTS
73
+ DeepSeek Harness for desktop with the DSH Mobile plugin, on a computer you control, and an iPhone on the same Wi-Fi. The app follows your device language: English or Simplified Chinese.
74
+
75
+ Help: support@claud.ing · https://dsh.claud.ing/en/support/
76
+ DSH Mobile is an independent mobile companion for DeepSeek Harness. It is not affiliated with or endorsed by DeepSeek.
77
+ ```
78
+
79
+ #### Keywords (≤ 100, now 100)
80
+
81
+ ```text
82
+ coding,developer,assistant,tasks,notifications,alerts,terminal,CLI,workspace,QR,LAN,LLM,session,code
83
+ ```
84
+
85
+ #### URLs
86
+
87
+ | Field | Value |
88
+ | --- | --- |
89
+ | Support URL | `https://dsh.claud.ing/en/support/` |
90
+ | Marketing URL | `https://dsh.claud.ing/en/` |
91
+ | Privacy Policy URL (App Information) | `https://dsh.claud.ing/en/privacy/` |
92
+
93
+ ## Google Play (English)
94
+
95
+
96
+ #### App name (≤ 30, now 29)
97
+
98
+ ```text
99
+ DSH Mobile - DeepSeek Harness
100
+ ```
101
+
102
+ #### Short description (≤ 80, now 78)
103
+
104
+ ```text
105
+ Mobile companion for DeepSeek Harness: chat, approve actions, get task alerts.
106
+ ```
107
+
108
+ #### Full description (≤ 4000, now 2602)
109
+
110
+ ```text
111
+ DSH Mobile is a mobile companion for DeepSeek Harness. Continue your AI agent conversations, follow task progress and approve tool actions from your Android phone, while the work keeps running on your own computer.
112
+
113
+ WHAT YOU CAN DO
114
+ • Continue the conversation – pick up any DeepSeek Harness session from your computer and watch replies stream in live.
115
+ • Approve or deny tool actions – when the AI agent wants to run a command or change files, allow or deny it with one tap.
116
+ • Answer the agent's questions – respond when it needs your input, so tasks never sit waiting.
117
+ • Follow tasks at a glance – recent sessions and their running state, with active and archived sessions kept apart.
118
+ • Get task notifications – alerts when a task finishes, the agent asks something or a run fails, plus a notification center to catch up.
119
+ • Browse workspace files and send images – look through files in the workspace and send photos or screenshots to a session.
120
+ • Scan a QR code to connect – scan the code on your computer, or type the address and access token yourself.
121
+ • Try the demo first – a built-in demo with sample data needs no computer and no account.
122
+ • Optional on Android – a desktop pet and background alerts, which you turn on yourself in Settings.
123
+
124
+ HOW TO CONNECT
125
+ DSH Mobile is a companion, not a standalone AI. It connects to DeepSeek Harness running on your own computer over your local Wi-Fi, so your sessions, files and credentials travel between your phone and your computer, not through our servers.
126
+ 1. Download, install and sign in to DeepSeek Harness on your computer.
127
+ 2. Open the third-party plugins page and add a plugin: More → Browse more plugins → Add plugin.
128
+ 3. Enter the plugin address: @dsh-mobile/mobile-remote
129
+ 4. Fully restart DeepSeek Harness.
130
+ 5. Click your user name at the bottom left to open Settings.
131
+ 6. Open the “Connect mobile device” page and scan the QR code with the app. Your phone and computer must be on the same Wi-Fi.
132
+
133
+ PRIVATE BY DESIGN
134
+ • No account, no analytics or tracking SDKs. One contextual ad on the home screen; it never sees your sessions or files.
135
+ • The access token is kept in the Android Keystore.
136
+ • Sessions, files and images go only between your phone and your computer.
137
+
138
+ REQUIREMENTS
139
+ DeepSeek Harness for desktop with the DSH Mobile plugin, on a computer you control, and an Android phone on the same Wi-Fi. The app follows your device language: English or Simplified Chinese.
140
+
141
+ Help: support@claud.ing · https://dsh.claud.ing/en/support/
142
+ DSH Mobile is an independent mobile companion for DeepSeek Harness. It is not affiliated with or endorsed by DeepSeek.
143
+ ```
144
+
145
+ ## 提交前核对
146
+
147
+ - 描述里的六步和 App 里的连接引导、官网支持页一致;插件包名是 `@dsh-mobile/mobile-remote`(包名带 remote 是插件的真实名字,不是宣传用语)。
148
+ - 第 6 步写的是 “Connect mobile device” 页面。电脑端插件里这个页面的名字目前是中文写死的(`lib/client.js` 的 `label: "连接移动端设备"`),英文用户在电脑上会看到中文名;要彻底英文化,插件里得加英文名。
149
+ - Apple 版本号:App Store Connect 里现在是 `1.0`,工程版本是 `3.2.4`(build 32)。上传的构建的版本号要和这里一致。
150
+ - 名称里的 DeepSeek 是别家的商标。名称加品牌关系声明属于说明兼容对象,但审核仍可能追问;关键词里我故意没放 deepseek,名称已经能被索引。
package/docs/SUPPORT.md CHANGED
@@ -1,11 +1,12 @@
1
1
  # DSH Mobile 支持页
2
2
 
3
3
  > 应用名称:DSH Mobile
4
- > 支持邮箱:发布前由运营方填写
4
+ > 支持邮箱:support@claud.ing
5
+ > 支持页:https://dsh.claud.ing/support/
5
6
 
6
7
  ## 使用前
7
8
 
8
- DSH Mobile 连接的是你自己的电脑端 DSH Harness 服务,不是公共云端账号。请先在电脑端安装并启用 `dsh-mobile-remote` 插件,配置移动端路径和访问口令,再使用二维码或手动地址连接。
9
+ DSH Mobile 连接的是你自己的电脑端 DSH Harness 服务,不是公共云端账号。请先在电脑端的 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 → 添加插件 → 彻底重新启动 → 在「连接移动端设备」页面扫码),之后点连接页的「怎么连接?」或设置页的「怎么连接电脑?」可再看。然后用二维码或手动地址连接。
9
10
 
10
11
  ## 常见问题
11
12
 
@@ -39,4 +40,4 @@ DSH Mobile is an independent mobile companion for DeepSeek Harness. It is not af
39
40
 
40
41
  ## 发布前需要填写
41
42
 
42
- 运营方需要把支持邮箱替换为真实联系方式,并将本页发布到稳定的 HTTPS URL,随后填入 App Store Connect 和 Google Play 的支持页面字段。当前仓库没有伪造域名或邮箱。
43
+ 支持页已发布在 https://dsh.claud.ing/support/(英文 https://dsh.claud.ing/en/support/),源码见 `site/`。App Store Connect 和 Google Play 的支持页面字段填这个地址,联系邮箱填 support@claud.ing。
@@ -0,0 +1,102 @@
1
+ # DSH Mobile - DeepSeek Harness Terms of Service
2
+
3
+ > Effective date: 2026-11-02 · Last updated: 2026-11-16
4
+ > Publisher: Digital Bang Intelligence LLC., 30 N Gould St Ste R, Sheridan, WY 82801, USA · support@claud.ing
5
+
6
+ ## 1. Agreement
7
+
8
+ These terms are an agreement between you and Digital Bang Intelligence LLC. ("we", "us" or "our") about your use of DSH Mobile - DeepSeek Harness ("DSH Mobile" or "the app"), the website dsh.claud.ing, and the cloud account, subscription and Public network relay services we provide. By installing or using the app, you agree to these terms. If you do not agree, do not use the app. How we handle information is described in our [Privacy Policy](/en/privacy/).
9
+
10
+ ## 2. What the app and cloud services are
11
+
12
+ DSH Mobile is an independent mobile companion for DeepSeek Harness. It is not affiliated with or endorsed by DeepSeek. It connects to a DeepSeek Harness service that you install and run on your own computer, and lets you view and continue sessions, follow tasks, answer questions, approve tool actions, browse workspace files and receive alerts. You need DeepSeek Harness on your computer and the DSH Mobile plugin.
13
+
14
+ We offer two ways to connect:
15
+
16
+ - **Direct local network (free).** Your phone and computer are on the same trusted local network, or reach each other through a private network you run yourself. No account with us is needed, and content does not pass through our servers.
17
+ - **Public network relay (paid subscription).** When the phone and computer are not on the same network, both connect outbound to a relay server we operate, which forwards end-to-end encrypted ciphertext. This requires an active subscription.
18
+
19
+ "DeepSeek" and related names belong to their owners and are used only to describe what the app works with.
20
+
21
+ ## 3. Accounts
22
+
23
+ A cloud account is optional and is needed only for the Public network relay or subscriptions. You can create one with Google or Apple one-tap sign-in; we have no password system of our own.
24
+
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
+
27
+ ## 4. License
28
+
29
+ We grant you a personal, non-exclusive, non-transferable, revocable license to install and use the app on devices you own or control, for your own use, under these terms. You may not copy, sell, rent or sublicense the app, use it to break the law or others' rights, interfere with its operation, or try to access systems you are not authorized to access.
30
+
31
+ The project's source code, and the open-source components the app uses, are licensed under their own licenses (the project's own source code is under the MIT License). Nothing in these terms limits the rights those licenses give you.
32
+
33
+ ## 5. Subscriptions and payment
34
+
35
+ - **Where to buy.** Subscriptions for the Public network relay are purchased through the Apple App Store (iOS) or Google Play (Android). The price, term and any offer are those shown by the store at the time of purchase.
36
+ - **Automatic renewal.** Subscriptions renew automatically until you cancel in the store. The store charges at the start of each term at the price then in effect; price changes are notified by the store under its rules.
37
+ - **Cancellation.** You can cancel at any time on the store's subscriptions page. After cancellation, the period already paid for usually remains available until it ends, as the store's rules provide.
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
+ - **Restoring purchases.** You can restore a purchase in the app using the same store account.
40
+ - **Deleting your account does not cancel a subscription.** Delete the subscription on the store first, or the store may keep charging you.
41
+ - **Free features.** Direct local-network connections do not depend on subscription status.
42
+
43
+ ## 6. Public network relay rules
44
+
45
+ The Public network relay is provided for reasonable use so you can reach your own computer from another network. It is not a general-purpose proxy, VPN or content-delivery network.
46
+
47
+ You must not:
48
+
49
+ - resell, rent or sublicense relay access, or give relay tickets to anyone else;
50
+ - use the relay to carry unlawful content, attack other systems, bypass access controls or commit fraud;
51
+ - bypass rate limits, quotas or billing, or probe, scan or stress-test the relay infrastructure;
52
+ - open large numbers of automated connections in a way that affects other users.
53
+
54
+ We may rate-limit, suspend or terminate relay access to protect the service, comply with law or prevent abuse. The relay depends on third-party networks and cloud services and may be maintained, limited or interrupted. We make reasonable efforts to keep it available but do not promise uninterrupted operation.
55
+
56
+ ## 7. Your responsibilities
57
+
58
+ - **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
+ - **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
+ - **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.
61
+ - **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
+
63
+ ## 8. Privacy
64
+
65
+ Direct local-network connections do not pass through our servers. After cloud sign-in we process account identifiers, subscription records and relay connection metadata; the relay forwards ciphertext only. The home screen shows one advertisement from a third-party ad network; the ad request does not contain your session content. The details are in the [Privacy Policy](/en/privacy/).
66
+
67
+ ## 9. Intellectual property
68
+
69
+ Apart from the open-source licenses in Section 4, the app's name, logo and artwork belong to us or our licensors. You keep all rights to your own content, including your sessions, files and images; we do not receive them and claim no rights in them.
70
+
71
+ ## 10. Disclaimer of warranties
72
+
73
+ To the fullest extent permitted by law, the app and cloud services are provided "as is" and "as available", without warranties of any kind, express or implied, including merchantability, fitness for a particular purpose, non-infringement, and uninterrupted or error-free operation. We do not promise that the app will work with every version of DeepSeek Harness, every network, every device or every network environment. The Public network relay does not guarantee that your network environment will allow a connection.
74
+
75
+ ## 11. Limitation of liability
76
+
77
+ To the fullest extent permitted by law, we are not liable for any indirect, incidental, special, consequential or punitive damages, or for loss of data, profits or business, arising from your use of the app, the cloud services or actions you approve through the app. Our total liability for any claim relating to the app or cloud services is limited to the greater of the amount you paid us in the 12 months before the claim and US$50. Some jurisdictions do not allow certain limits; in that case the limits apply to the extent permitted, and your mandatory consumer rights are not affected.
78
+
79
+ ## 12. Termination
80
+
81
+ You can stop using the app at any time by uninstalling it, and you can delete your cloud account in the app. We may suspend or end your access if you break these terms or if we stop offering the app or cloud services. Refunds for subscriptions you have paid remain subject to Section 5 and the store's rules. Sections that by their nature should survive termination will survive.
82
+
83
+ ## 13. Apple App Store and Google Play
84
+
85
+ **Apple App Store.** If you download the app from the Apple App Store, Apple's standard Licensed Application End User License Agreement also applies; where it conflicts with these terms on an iOS-specific matter, Apple's terms prevail. These terms are between you and us only, not Apple. We, not Apple, are responsible for the app, for support and for any claims about it. Apple and its subsidiaries are third-party beneficiaries of these terms and may enforce them against you.
86
+
87
+ **Google Play.** If you download the app from Google Play, Google Play's terms of service also apply to your download and purchases; where they conflict with these terms on a Google Play-specific matter, Google's terms prevail.
88
+
89
+ ## 14. Changes to these terms
90
+
91
+ We may update these terms from time to time. We will update the dates at the top of this page and publish the new text at dsh.claud.ing/terms/. If you keep using the app after a change takes effect, you accept the updated terms; if you do not agree, stop using the app and cancel any subscription in the store.
92
+
93
+ ## 15. Governing law
94
+
95
+ These terms are governed by the laws of the State of Wyoming, USA, without regard to its conflict-of-laws rules. Any dispute will be brought in the state or federal courts located in Wyoming, unless mandatory law where you live gives you the right to bring it elsewhere.
96
+
97
+ ## 16. Contact us
98
+
99
+ - Company: Digital Bang Intelligence LLC.
100
+ - Address: 30 N Gould St Ste R, Sheridan, WY 82801, USA
101
+ - Email: support@claud.ing
102
+ - Website: [dsh.claud.ing](https://dsh.claud.ing)