@dsh-mobile/mobile-remote 3.2.6 → 3.2.7

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.
@@ -0,0 +1,199 @@
1
+ # 有温度助手方案 — DSH Mobile 陪伴化改造
2
+
3
+ > 状态:**方案稿,未开工**。定稿时间 2026-11-17 · 对应插件 `3.2.6` / App `3.2.5+33`
4
+ >
5
+ > 本文只回答「做什么、为什么、边界在哪、还缺什么」,**不含实现细节、不改任何代码**。
6
+ > 总纲见 [00-开发总纲](00-开发总纲.md);本文是它的一个专题分支,落地后应回写进总纲的 §1 产品定义与 §2 进度。
7
+
8
+ ## 0. 一句话
9
+
10
+ DSH 从「手机远程控制台」变成**有温度的个人工作助手**:原有的派活、看进度、审批、通知全部保留,新增的是它知道你在干什么、记得你的事、该说话时说话、有自己的身份和性格。桌宠是这个性格的脸,不是目的本身。
11
+
12
+ 与 N.E.K.O 的关系要说清:借鉴的是**能力层**(屏幕感知、长期记忆、主动表达、社交身份),不是它的渲染方案或技术栈。
13
+
14
+ ## 1. 产品定位
15
+
16
+ | | 现在 | 目标 |
17
+ |---|---|---|
18
+ | 它是什么 | 远程操作 agent 的控制台 | 控制台 + 一个有记忆、有性格的助手 |
19
+ | 它知道什么 | 会话、任务、审批 | 再加上:你在用手机做什么、你的偏好、你的项目背景、你的生活节奏 |
20
+ | 它什么时候说话 | 任务状态变了才推送 | 挑时间说,也会在该沉默时沉默 |
21
+ | 它有没有身份 | 没有,只是一个客户端 | 有专有的 QQ / 微信小号,有自己的社交身份 |
22
+ | 温度在哪 | 无 | 措辞、记忆、主动、表情——四件事同时具备才算 |
23
+
24
+ **温度不是加一个陪伴模块**,是整个产品的行为方式变了。记忆和主动必须长在任务流上,否则就是一个会聊天的壳。
25
+
26
+ ## 2. 一天的形态(用户视角)
27
+
28
+ 这一节是验收标准:做完之后,用户的一天应该长这样。
29
+
30
+ - **早上 8:00 解锁手机** — 大肥鱼冒出来,头顶动漫气泡:「昨晚那个构建挂了,我看是依赖版本冲突,已经改好重跑了,现在绿了。」这是电脑通宵干活的结果,选在解锁那一秒说。
31
+ - **出门路上刷微信** — 它感知到你不在工作状态,不汇报、不打扰。
32
+ - **10:00 到公司,点「工作模式」** — 「工作模式启动~」。这之后才调出项目记忆,也才允许主动汇报。同一天再切一次,只回「工作模式」。
33
+ - **中午想问一件事** — 按住说话「昨天那个 PR 怎么样了」。系统 ASR 转文字 → LAN 桥到电脑 → agent 查完 → 气泡回一句结论,不甩状态码。
34
+ - **下午 3:00 任务完成** — 气泡提示;人不在手机前就降级发一条 QQ 到你自己的号。
35
+ - **晚上 9:00 切回生活模式** — 不提项目、不提报错、不提客户名。可以聊别的,长期记忆里的东西(养猫、最近睡不好)还在。
36
+ - **周末** — 它用自己的小号在群里跟朋友互动(最后才做,见 §9)。
37
+
38
+ ## 3. 系统组成
39
+
40
+ ```
41
+ ┌──────────────┐ ┌───────────────────┐ ┌──────────────┐
42
+ 用户 ──▶│ 手机 App │──LAN桥──▶│ 电脑端 DSH 插件 │────────▶│ DeepSeek │
43
+ │ (Flutter) │ │ (Node) │◀────────│ 自己的 key │
44
+ └──────────────┘ └───────────────────┘ └──────────────┘
45
+ 感知采集 调度器 对话模型
46
+ 语音 ASR/TTS 记忆库 vision
47
+ 桌宠 + 动漫气泡 人格配置
48
+ 模式切换 原有任务控制台
49
+ 权限引导 通道适配器
50
+ ▲ │
51
+ └──── 汇报回流 ──────────┘
52
+ 解锁时弹气泡(首选)/QQ·微信(兜底)
53
+ ```
54
+
55
+ 关键:**手机是感知端和交互端,电脑才是执行端**。截图、语音、解锁事件在手机产生,理解和记忆在电脑上。电脑关机,助手离线——这是自然边界,不是缺陷,要在引导里讲明白。
56
+
57
+ ## 4. 五层能力
58
+
59
+ ### 4.1 感知(手机屏幕)
60
+
61
+ - **分层采集**,从轻到重:解锁事件 → 通知监听 → 使用时长(哪个 App 用了多久)→ 截屏。
62
+ - 前两层几乎零成本、零耗电,**默认走这条**;截屏只在触发时(用户主动问、判断卡住、定时摘要)。
63
+ - 截图分析走 DeepSeek vision,一张约 1024 tokens,闲时约 0.001 元人民币。
64
+ - **敏感窗口本地过滤**:银行、支付、密码管理器、`FLAG_SECURE` 窗口一律不采。
65
+
66
+ ### 4.2 记忆(两套,一个库)
67
+
68
+ **不是两个数据库,是一个库 + `scope` 字段**(`work` / `life` / `shared`)。物理分库会陷入「这条偏好算工作还是生活」的归类地狱。
69
+
70
+ - **工作模式** = 长期记忆 + 工作记忆。长期回答「你是谁、你偏好什么」,工作记忆回答「当前项目、这个 bug 改到哪」。工作记忆优先,但不遮蔽长期。
71
+ - **生活模式** = 长期记忆,**工作记忆不上浮**。
72
+ - 跨模式的偏好(「他喜欢 TypeScript」)标 `shared`,两边都能用。
73
+ - 存储:本地 SQLite(Node 24 内置 `node:sqlite`),不上云、不依赖我们的服务器。
74
+ - 检索:先 BM25。DeepSeek 没有 embedding 接口;要语义检索得挂本地小模型,属于后置优化。
75
+
76
+ **生活模式不加载工作记忆是隐私边界,不是体验偏好。** 工作记忆里有客户名、未发布功能、内部报错,在饭桌上漏出来一句就完了。实现上必须按 scope 硬过滤,不能靠提示词自觉。
77
+
78
+ ### 4.3 人格(两套,同一内核)
79
+
80
+ 两套气质是**同一内核的两份配置**:提示词模板 + 主动阈值 + 文案表 + 表情映射。
81
+
82
+ | | 克制的同事(默认) | 有性格的角色 |
83
+ |---|---|---|
84
+ | 说话 | 短、直接、不寒暄 | 有语气词、偶尔吐槽 |
85
+ | 主动 | 阈值高,只在必要时 | 阈值低,会主动找话 |
86
+ | 模式话术 | 「工作模式。」 | 「工作模式启动~今天要做什么?」 |
87
+ | 表情 | 少而准 | 多、随情绪变 |
88
+
89
+ 切换**不失忆、不改变事实、不粉饰**——只换说法。哪套是默认,由最终用户在首启时选。
90
+
91
+ ### 4.4 表达
92
+
93
+ - **桌宠**:沿用现有 webp 鱼 + 扩展表情映射;形象优先级在**中段**,上架前必须定稿(见 §9)。
94
+ - **气泡**:指角色头顶/侧边冒出来的**动漫对话气泡**(带小尾巴),不是系统通知、不是弹窗 toast。App 内是叠在角色旁的自定义组件;Android 悬浮窗里是 PetView 旁的 View。样式跟人格走。
95
+ - **说人话**:任务汇报改成「做了什么 / 有什么要你知道 / 下一步建议」,不甩状态码。
96
+
97
+ ### 4.5 汇报与通道
98
+
99
+ - **首选**:手机解锁(`ACTION_USER_PRESENT` / iOS 进前台)时检查有没有待汇报内容,有就弹气泡。
100
+ - **兜底**:超过设定时长未解锁,或不在手机前,走 QQ / 微信专有号。
101
+ - **频率**:每天有上限;同类事件聚合;有静默时段;没干活就不发。
102
+ - **通道可插拔**:气泡、QQ、微信都是适配器,先接一个能跑的(现有 Bark/ntfy 就能验证整条链路),IM 后加。
103
+
104
+ ## 5. 社交身份
105
+
106
+ 用户配一个**专门给 DSH 的 QQ / 微信小号**,agent 用这个号登录,有自己的联系人、自己的发言身份。
107
+
108
+ - 好处:不碰用户主号,发错也伤不到真实关系。
109
+ - QQ:NapCat / OneBot 路线成熟可行。
110
+ - 微信:只有逆向协议一条路,**封号风险落在小号上**——可接受但必须在引导与协议里写明。
111
+ - **全自动以用户本人身份社交:滞后**,不在首版范围。
112
+
113
+ ## 6. 已定决策(用户拍板)
114
+
115
+ | # | 决策 | 定于 |
116
+ |---|---|---|
117
+ | 1 | 产品做成「有温度的个人工作助手」,不是纯控制台 | 本次方向讨论 |
118
+ | 2 | 全本地运行,用用户自己的 DeepSeek 账号,不走我们的服务器 | 同上 |
119
+ | 3 | 屏幕感知 = **手机屏幕**(DSH 是 app,不是桌面应用) | 2026-11-16 |
120
+ | 4 | 形象优先级中段,**上架前必须做好** | 2026-11-16 |
121
+ | 5 | 社交用用户配置的 **DSH 专有 QQ / 微信号**,有自己的身份 | 2026-11-16 |
122
+ | 6 | 要**长期人格记忆**(不是轻量工作记忆) | 2026-11-16 |
123
+ | 7 | 汇报首选**解锁时的动漫气泡**,备用走 QQ / 微信 | 2026-11-16 |
124
+ | 8 | 要语音双向:口述 → 气泡回复 | 2026-11-16 |
125
+ | 9 | 记忆分工作 / 长期两套;工作模式两套都用,生活模式只用长期 | 2026-11-16 |
126
+ | 10 | 模式切换配呆萌话术(「工作模式启动」这类) | 2026-11-16 |
127
+ | 11 | iOS 这类高权限项要做**配置引导**,不是弹一次系统授权就完事 | 2026-11-16 |
128
+ | 12 | 「气泡」= 角色动漫气泡,不是系统弹窗 | 2026-11-16 |
129
+ | 13 | 不做:全自动代打游戏、跨 App 手机自动化 | 2026-11-16 前 |
130
+ | 14 | 滞后:全自动以用户本人身份社交 | 同上 |
131
+
132
+ ## 7. 待决事项
133
+
134
+ 这些没定,落地前必须有答案。按「卡住什么」排序。
135
+
136
+ ### 7.1 会卡住上架
137
+
138
+ 1. **Google Play 的屏幕录制政策。** MediaProjection 要求用于核心功能并在商店页显著说明。拿它做「陪伴感知」能否过审是审核判断,不是技术判断。要么准备好「核心功能是什么」的说法,要么退到只读通知 + 使用时长。
139
+ 2. **iOS 感知能力接近于零。** 没有读其他 App 屏幕的 API,也没有读通知的 API。iOS 端只有 App 内 + 用户主动口述。宣传上不能暗示双端同能力。
140
+ 3. **Android 国产 ROM 后台保活。** 小米 / 华为 / OPPO 会杀后台进程,悬浮窗 + 定时汇报大概率失效,需要各家白名单引导——又是一个权限引导页。
141
+
142
+ ### 7.2 需要产品拍板
143
+
144
+ 4. **生活模式下还能不能派活?** 能 → 模式只是「记忆开关 + 汇报开关」;不能 → 用户得先切模式才能问事。倾向:能。
145
+ 5. **专有号被封算谁的。** 引导(只用小号)+ 用户协议免责,必须前置写清,不能等出事再补。
146
+ 6. **语音走系统还是云端。** 系统 ASR 免费、离线,但 iOS 单次约 1 分钟、Android 依赖网络;云端更准但要额外付费与隐私评估。倾向:先系统。
147
+ 7. **截图在手机本地分析还是传电脑。** 本地 OCR 省流量低延迟但算力有限;传电脑能调 vision 但公网要穿中继。影响架构,早定。
148
+
149
+ ### 7.3 技术细节待补
150
+
151
+ 8. **记忆的「反思」触发时机** —— 每天定时 / 每 N 轮 / 特定信号(被纠正、说了新事)。不定义,长期记忆只是聊天记录堆积。
152
+ 9. **记忆的遗忘与矛盾处理** —— 上个月说喜欢 A、这个月说不喜欢,怎么办;记满了怎么办。这是长期记忆最容易做崩的地方。
153
+ 10. **首启引导顺序** —— 连电脑 → 配权限 → 选人格 → 配专有号(可选)→ 选模式。顺序错了会卡人。
154
+ 11. **多设备** —— 两台手机怎么办,记忆跟账号还是跟设备。
155
+ 12. **气泡与通知去重** —— 同一事件既弹气泡又发通知会吵;需要「气泡可见时抑制通知」的规则。
156
+
157
+ ## 8. 平台硬约束(不是 bug,是边界)
158
+
159
+ | 约束 | 后果 |
160
+ |---|---|
161
+ | iOS 拿不到别的 App 屏幕 | 屏幕感知只有 Android 有 |
162
+ | iOS 后台画不出任何东西 | 解锁气泡只在 App 打开时;后台靠推送通知 |
163
+ | MediaProjection 常驻耗电明显、每次会话要授权 | 「感知」与「不占用户手机」直接冲突,只能分层降到通知 + 使用时长 |
164
+ | 电脑关机 → 助手离线 | 感知与记忆都在电脑上,这是架构决定的 |
165
+ | 微信协议登录有封号风险 | 风险落在专有号上,用户协议要写明 |
166
+
167
+ ## 9. 分阶段路线
168
+
169
+ | 阶段 | 内容 | 估时 |
170
+ |---|---|---|
171
+ | **一** | 长期记忆骨架 + 解锁气泡汇报 + 两套人格配置 | 3–4 周 |
172
+ | **二** | 形象升级(现插画拆层做 PNGTuber,跑顺再上 Live2D)+ 系统语音双向 | 1–2 个月 |
173
+ | **三** | 专有 QQ / 微信身份 + Android 手机屏幕感知(先通知/使用时长,再考虑截图) | 视审核与协议情况 |
174
+ | **上架前** | 形象定稿、权限引导、耗电优化 | 必须完成 |
175
+
176
+ 第一版就能让人感觉「它记得我、会挑时候」,形象和社交都不是第一版的必要条件。
177
+
178
+ ## 10. 明确不做
179
+
180
+ - 全自动代打游戏(延迟、反作弊、渲染独占三重限制)。
181
+ - 跨 App 手机自动化(与已选的协议路线互斥,且明确不占用户手机)。
182
+ - 全自动以用户本人身份社交(滞后,不是排除)。
183
+ - 在安卓上用 Accessibility 读屏(审核风险高于收益)。
184
+
185
+ ## 11. 与现有代码的接缝
186
+
187
+ 供动工时参考,本次未改任何代码。
188
+
189
+ | 目标能力 | 落点 |
190
+ |---|---|
191
+ | 记忆库、调度器、人格配置 | `lib/` 新增模块,由 `lib/index.js` 装配 |
192
+ | 事件与定时触发 | 已有 `ctx.on("session/event")`、`setInterval`、`ctx.effect` |
193
+ | 本地持久化 | 已有 `~/.dsh/mobile-remote/` 先例,记忆库放同层 |
194
+ | 桌宠表情与状态 | `dsh-mobile-app/android/.../PetState.kt`(7 态状态机) |
195
+ | 桌宠渲染 | `PetView.kt`(两层 ImageView 交叉淡化),分层渲染的入口 |
196
+ | App 内角色 | `dsh-mobile-app/lib/widgets/home_pet.dart` |
197
+ | 原生桥 | `dsh-mobile-app/lib/floating.dart`(MethodChannel) |
198
+ | 汇报链路 | 现有推送桥(Bark / Server酱 / ntfy)可先验证整条链路 |
199
+ | 权限引导 | 新增引导页;iOS 本地网络与后台刷新最容易漏 |
@@ -1,6 +1,6 @@
1
1
  # DSH Mobile - DeepSeek Harness Privacy Policy
2
2
 
3
- > Effective date: 2026-11-02 · Last updated: 2026-11-16
3
+ > Effective date: 2026-11-02 · Last updated: 2026-11-17
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
@@ -9,7 +9,7 @@ Digital Bang Intelligence LLC. ("we", "us" or "our") publishes DSH Mobile - Deep
9
9
 
10
10
  DSH Mobile connects you to a DeepSeek Harness service that you run on your own computer, so you can view and continue sessions, follow tasks, answer questions, approve tool actions, browse workspace files and receive alerts. It does not provide model services and does not host your computer's workspace.
11
11
 
12
- **By default, your session content does not pass through us.** When your phone and computer reach each other directly on the same local network (or a private network you run yourself), messages, files, images and credentials travel only between your own two devices. Our servers are used only when you choose to sign in to a cloud account and use the Public network relay; even then, the relay forwards end-to-end encrypted ciphertext. The home screen shows one advertisement served by an advertising network, Gravity (Section 8).
12
+ **By default, your session content does not pass through us.** When your phone and computer reach each other directly on the same local network (or a private network you run yourself), messages, files, images and credentials travel only between your own two devices. Our servers are used only when you choose to sign in to a cloud account and use the Public network relay; even then, the relay forwards end-to-end encrypted ciphertext.
13
13
 
14
14
  ## 2. Scope of this policy
15
15
 
@@ -20,10 +20,10 @@ This policy covers the DSH Mobile app for iOS and Android, our website dsh.claud
20
20
  | Question | Answer |
21
21
  | --- | --- |
22
22
  | 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 subscriptions. |
23
- | Does the app show ads? | Yes: one advertisement on the home screen, served by Gravity. It is matched to the app, not to your content (Section 8). |
24
- | Does the app include analytics, crash-reporting or tracking SDKs? | No analytics or crash-reporting SDK. It does include Gravity's advertising SDK, which is told not to personalize or track across apps; the app never asks for tracking permission (Section 8). |
23
+ | Does the app show ads? | No. The current version contains no ads and no advertising SDK. |
24
+ | Does the app include analytics, crash-reporting or tracking SDKs? | No analytics, crash-reporting, advertising or cross-app tracking SDK. |
25
25
  | Does the app collect your location, contacts, calendar or messages? | No. |
26
- | What leaves your device? | Direct connections: traffic only between you and your own computer. After cloud sign-in: the sign-in assertion, subscription receipts and relay tickets go to dsh.claud.ing. The app also sends ad requests to Gravity (Section 8). |
26
+ | What leaves your device? | Direct connections: traffic only between you and your own computer. After cloud sign-in: the sign-in assertion, subscription receipts and relay tickets go to dsh.claud.ing. |
27
27
  | What do we receive? | After sign-in: the account identifier from Google / Apple (never your password), subscription status and expiry, and relay connection metadata. We do not receive your sessions, files, images or your computer's access token. |
28
28
 
29
29
  ## 4. Direct local-network connection (default)
@@ -51,6 +51,7 @@ We do not use cloud account data for advertising profiles and do not sell or ren
51
51
 
52
52
  When your phone and computer are not on the same local network, you can choose our Public network relay. Both the phone and the computer connect **outbound** to the same relay server; your computer does not open any inbound port.
53
53
 
54
+ - **Default connection state.** The desktop plugin keeps an outbound relay connection by default so a paired phone can reach it at any time and so the first off-LAN QR pairing can complete. That connection carries only end-to-end encrypted ciphertext and connection metadata, never session content. If you do not need remote access, set `relay.enabled: false` in the desktop plugin configuration to turn it off.
54
55
  - **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 server only forwards ciphertext and cannot read the content.**
55
56
  - **Metadata the relay can see.** Source IP address, room identifier (a hash of the computer's public key), data volume and timing. The relay is designed not to persist this information, but operating it may technically produce short-lived logs; network providers along the path may keep their own access logs.
56
57
  - **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).
@@ -66,21 +67,7 @@ Subscriptions are purchased through the Apple App Store (iOS) or Google Play (An
66
67
  - One active subscription cannot be bound to two accounts at once; submitting it from another account is rejected.
67
68
  - 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.
68
69
 
69
- ## 8. Third parties and advertising
70
-
71
- DSH Mobile shows one advertisement on its home screen. Ads are provided by Gravity, an advertising network, through its software development kit built into the app. The app sends the ad request directly from your device to Gravity; it does not pass through any server of ours. The app contains no analytics, crash-reporting or cross-app tracking SDK.
72
-
73
- **What the ad request contains**
74
-
75
- - One fixed sentence that describes the app. It never contains your sessions, messages, files, commands, access token or anything from your computer.
76
- - An anonymous random ID that the app generates on first launch (it is not your device's advertising ID, is not linked to an account, and is replaced when you reinstall the app), and a random ID for each launch.
77
- - Technical device information that the SDK adds: operating system and version, device model and type, screen size, language, time zone and the app's user-agent string.
78
- - Your IP address, which any server you connect to can see.
79
- - A privacy signal (Global Privacy Control) telling Gravity not to personalize ads or use identifiers that follow you across apps and sites. The app never asks for tracking permission and never reads the advertising identifier (IDFA or GAID).
80
-
81
- Gravity also receives a record when the ad is shown or tapped, and your choice if you tap the thumbs-up or thumbs-down on an ad. Tapping an ad opens the advertiser's page in your browser, and that page is governed by the advertiser's own policies. Gravity handles this data under its own privacy policy.
82
-
83
- We do not sell or rent your personal information ourselves. Because the ad request goes to an advertising network, some privacy laws (for example California's) may describe it as "sharing" for advertising; that is why the app sends the privacy signal above.
70
+ ## 8. Third parties
84
71
 
85
72
  The computer-side service, model providers, push channels and file services that the app connects to are chosen and configured by you. When you use them, content is sent from your device or computer directly to them, authenticated with your own credentials; we do not operate, proxy or log that traffic and receive no copy of it. Their handling of your data is governed by their own privacy policies.
86
73
 
@@ -91,7 +78,6 @@ The computer-side service, model providers, push channels and file services that
91
78
  | Google Sign-In | Google one-tap sign-in | [Google Privacy Policy](https://policies.google.com/privacy) |
92
79
  | Apple Sign In | Apple one-tap sign-in | [Apple Privacy Policy](https://www.apple.com/legal/privacy/) |
93
80
  | Cloudflare | Website hosting, cloud account service and Public network relay | [Cloudflare Privacy Policy](https://www.cloudflare.com/privacypolicy/) |
94
- | Gravity | Advertising network that serves the home-screen ad | [Gravity](https://trygravity.ai) |
95
81
 
96
82
  The app stores may give us aggregated statistics such as download counts and crash reports; these are supplied by the store, not collected by our software. Data handled by Apple, Google and Cloudflare may be stored on servers in the United States and other countries.
97
83
 
@@ -1,6 +1,6 @@
1
1
  # DSH Mobile - DeepSeek Harness 隐私政策
2
2
 
3
- > 生效日期:2026-11-02 · 最近更新:2026-11-16
3
+ > 生效日期:2026-11-02 · 最近更新:2026-11-17
4
4
  > 发布者:Digital Bang Intelligence LLC.,30 N Gould St Ste R, Sheridan, WY 82801, USA · support@claud.ing
5
5
 
6
6
  ## 1. 概述
@@ -9,7 +9,7 @@ Digital Bang Intelligence LLC.(以下称“我们”)发布 DSH Mobile - Dee
9
9
 
10
10
  DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,以查看和继续会话、查看任务、回答问询、审批工具动作、浏览工作区文件和接收提醒。它不提供模型服务,也不替你托管电脑端工作区。
11
11
 
12
- **默认情况下,你的会话内容不经过我们。** 手机与电脑在同一局域网(或你自己搭建的虚拟组网)直连时,消息、文件、图片和凭据只在你自己的两台设备之间传输。只有当你主动登录云端账号并使用“公开网络”中继时,才会用到我们运营的服务器;即便如此,中继也只转发端到端加密后的密文。应用首页会展示一条由广告网络 Gravity 提供的广告(见第 8 节)。
12
+ **默认情况下,你的会话内容不经过我们。** 手机与电脑在同一局域网(或你自己搭建的虚拟组网)直连时,消息、文件、图片和凭据只在你自己的两台设备之间传输。只有当你主动登录云端账号并使用“公开网络”中继时,才会用到我们运营的服务器;即便如此,中继也只转发端到端加密后的密文。
13
13
 
14
14
  ## 2. 本政策的适用范围
15
15
 
@@ -20,10 +20,10 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
20
20
  | 问题 | 回答 |
21
21
  | --- | --- |
22
22
  | 需要在我们这里注册账号吗? | 不需要。局域网直连不需要账号;只有使用公开网络中继或购买订阅时才需要登录(Google 或 Apple 一键登录)。 |
23
- | 应用里有广告吗? | 有:首页一条由 Gravity 提供的广告。它与应用本身相关,而不是与你的内容相关(见第 8 节)。 |
24
- | 应用里有分析、崩溃上报或跟踪 SDK 吗? | 没有分析或崩溃上报 SDK。内置 Gravity 的广告 SDK,并已告知它不做个性化、不跨应用跟踪;应用从不申请跟踪权限(见第 8 节)。 |
23
+ | 应用里有广告吗? | 没有。当前版本不含广告,也不含广告 SDK。 |
24
+ | 应用里有分析、崩溃上报或跟踪 SDK 吗? | 没有分析、崩溃上报、广告或跨应用跟踪 SDK。 |
25
25
  | 应用会收集你的位置、通讯录、日历或短信吗? | 不会。 |
26
- | 哪些数据会离开你的设备? | 局域网直连时:只在你与自己的电脑之间传输。登录云端账号后:登录标识、订阅收据和公开中继票据会发到 dsh.claud.ing。此外还有发给 Gravity 的广告请求(见第 8 节)。 |
26
+ | 哪些数据会离开你的设备? | 局域网直连时:只在你与自己的电脑之间传输。登录云端账号后:登录标识、订阅收据和公开中继票据会发到 dsh.claud.ing。 |
27
27
  | 我们会收到什么? | 登录后:Google / Apple 提供的账号标识(不包含密码)、订阅状态与到期时间、中继连接元数据。我们不会收到你的会话、文件、图片或访问电脑的口令。 |
28
28
 
29
29
  ## 4. 局域网直连(默认方式)
@@ -51,6 +51,7 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
51
51
 
52
52
  当手机与电脑不在同一局域网时,你可以选择使用我们运营的公开网络中继。电脑和手机都**主动向外**连接同一个中继服务器;你的电脑不需要开放任何入站端口。
53
53
 
54
+ - **默认连接状态。** 电脑端插件默认会建立一条到中继的出站连接,用于随时接收已配对手机的连接、并支持首次异地扫码配对。这条连接只发送端到端加密后的密文与连接元数据,不包含会话内容;不需要远程访问时,可在电脑端插件配置里设 `relay.enabled: false` 关闭。
54
55
  - **端到端加密。** 手机与电脑之间的内容(消息、会话、文件、审批)使用 Noise 协议(X25519 密钥交换,ChaCha20-Poly1305)加密。**中继服务器只转发密文,无法读取内容。**
55
56
  - **中继能看到的元数据。** 来源 IP 地址、房间标识(电脑公钥的哈希)、数据量和时间。中继被设计为不持久化这些信息,但运营中技术上可能产生短期日志;链路上的网络服务商也可能有自己的访问日志。
56
57
  - **设备密钥。** 这台手机专用的设备密钥保存在系统安全存储(iOS Keychain / Android Keystore)中,每台电脑一把,**不会上传**。二维码里没有长期口令:只有一次性配对码(短时有效、只能用一次)。
@@ -66,21 +67,7 @@ DSH Mobile 让你连接到自己在电脑上运行的 DeepSeek Harness 服务,
66
67
  - 同一笔有效订阅不能同时绑定到两个账号;如果你换用另一个账号提交,会被拒绝。
67
68
  - 你可以在商店的“订阅”页面查看、取消或恢复购买。删除账号不会自动取消商店订阅——请先在商店取消,否则商店可能继续扣款。
68
69
 
69
- ## 8. 第三方服务和广告
70
-
71
- DSH Mobile 在首页展示一条广告。广告由广告网络 Gravity 通过内置在应用里的 SDK 提供。广告请求由你的设备直接发给 Gravity,不经过我们的任何服务器。应用不含分析、崩溃上报或跨应用跟踪 SDK。
72
-
73
- **广告请求包含什么**
74
-
75
- - 一句固定的、描述应用本身的话。它绝不包含你的会话、消息、文件、命令、访问令牌,或来自你电脑的任何内容。
76
- - 应用在首次启动时生成的匿名随机 ID(它不是设备的广告标识符,不与任何账号关联,重装应用后会更换),以及每次启动的随机会话 ID。
77
- - SDK 附带的设备技术信息:操作系统及版本、设备型号与类型、屏幕尺寸、语言、时区和应用的 user-agent 字符串。
78
- - 你的 IP 地址(你连接的任何服务器都能看到)。
79
- - 一个隐私信号(Global Privacy Control),告诉 Gravity 不要做个性化广告,也不要使用跨应用、跨网站跟随你的标识符。应用从不申请跟踪权限,也不读取广告标识符(IDFA 或 GAID)。
80
-
81
- 广告被展示或被点击时,Gravity 也会收到一条记录;如果你点了广告上的赞或踩,它还会收到你的选择。点击广告会在你的浏览器中打开广告主的页面,该页面受广告主自己的政策约束。Gravity 按其自己的隐私政策处理这些数据。
82
-
83
- 我们自己不出售、不出租你的个人信息。由于广告请求会发给广告网络,部分隐私法律(例如加州的法律)可能把这种做法称为为广告目的的“共享”;因此应用会发送上述隐私信号。
70
+ ## 8. 第三方服务
84
71
 
85
72
  应用连接的电脑端服务、模型提供商、推送通道和文件服务由你选择并配置。使用它们时,内容由你的设备或电脑直接发送给它们,用你自己的凭据认证;我们不运营、不代理、不记录这些流量,也不会收到副本。它们如何处理你的数据,受其各自隐私政策约束。
86
73
 
@@ -91,7 +78,6 @@ DSH Mobile 在首页展示一条广告。广告由广告网络 Gravity 通过内
91
78
  | Google Sign-In | Google 一键登录 | [Google 隐私权政策](https://policies.google.com/privacy) |
92
79
  | Apple Sign In | Apple 一键登录 | [Apple 隐私政策](https://www.apple.com/legal/privacy/) |
93
80
  | Cloudflare | 托管网站、运行云端账号与公开中继 | [Cloudflare 隐私政策](https://www.cloudflare.com/privacypolicy/) |
94
- | Gravity | 提供首页广告的广告网络 | [Gravity](https://trygravity.ai) |
95
81
 
96
82
  应用商店可能向我们提供下载量、崩溃报告等汇总统计,这些由商店提供,不是我们的软件收集的。Apple、Google 和 Cloudflare 处理的数据可能存储在美国及其他国家的服务器上。
97
83
 
@@ -1,7 +1,12 @@
1
1
  # DSH Mobile 商店上架准备
2
2
 
3
- > 记录时间:2026-11-01(Asia/Shanghai);最近更新:2026-11-16
4
- > 当前工程版本:App `3.2.5+33`,插件 `3.2.5`(不代表商店已发布)
3
+ > 记录时间:2026-11-01(Asia/Shanghai);最近更新:2026-11-17
4
+ > 当前工程版本:App `3.2.7+38`,插件 `3.2.6`(不代表商店已发布)
5
+ >
6
+ > **版本号只能往上走。** 2026-11-17 试过把 App 版本改成 1.1 重新起步,被 Apple 以错误 **90062** 拒绝:
7
+ > `CFBundleShortVersionString [1.1.0] must contain a higher version than the previously approved version [3.2.4]`。
8
+ > 即 App Store Connect 的 `appStoreVersions` 列表里只显示 `1.0`(在售)与草稿,但 Apple 内部仍记着**已批准过的
9
+ > 3.2.4**。所以下一个版本至少是 `3.2.5`,本次用 `3.2.7`;想把编号整形成 1.x / 2.0 只能联系 Apple 重置记录。
5
10
  > 本文件是**上架可粘贴文案与发布者清单**;方案、进度与就绪度判断见 `docs/00-开发总纲.md` §6。
6
11
 
7
12
  这份清单把可由仓库准备的商店素材和必须由发布者在 Apple/Google 控制台完成的事项分开。构建产物、签名、商店上传和公开发布不是同一件事;没有账号、证书和最终网址时,仓库只能完成可复核的准备,不能声称已经提交或上架。
@@ -11,19 +16,19 @@
11
16
  | 字段 | 内容 / 状态 |
12
17
  |---|---|
13
18
  | 应用名称 | 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 元数据必须准确)。 |
19
+ | Apple App Store 副标题 | `Coding agent chat & approvals`(≤ 30 字符;商店文案只用英文)。2026-11-17 起副标题换成 `Coding agent`,关键词与描述同步改到 3.2.6(公开网络 / 加密中继 / 订阅)。此前「不要写 from anywhere」的限制已随中继上线解除,但中继段必须与「订阅」「端到端加密」成对出现(Apple 2.3)。 |
15
20
  | 简短定位 | `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 短描述 |
21
+ | Google Play 短描述(**≤ 80 字符**,官方限制) | `Remote for DeepSeek Harness: chat, approve tool calls, get alerts.`(66 字符)。上面的「简短定位」是 159 字符,只能放完整描述首句,**不能**当 Play 短描述 |
17
22
  | 关系声明 | `DSH Mobile is an independent mobile companion for DeepSeek Harness. It is not affiliated with or endorsed by DeepSeek.` |
18
23
  | Android applicationId | `com.mrdayone.dshmobile` |
19
24
  | iOS Bundle Identifier | `com.mrdayone.dshmobile` |
20
25
  | iOS 最低版本 | `15.0` |
21
- | 版本 | `3.2.5` |
22
- | Android build number | `33`(与 `dsh-mobile-app/pubspec.yaml` 一致;发布前按实际构建核对) |
26
+ | 版本 | `3.2.7` |
27
+ | Android build number | `38`(与 `dsh-mobile-app/pubspec.yaml` 一致;发布前按实际构建核对) |
23
28
  | 默认显示名 | `DSH Mobile` |
24
29
  | 支持设备 | iPhone + iPad(`TARGETED_DEVICE_FAMILY = "1,2"`;设置页与对话页已做宽屏收窄)。商店需要 iPhone 6.1" 截图;声明 iPad 后还要补 iPad 截图 |
25
30
  | 审核访问 | 内置演示模式(连接页「先试用演示」),**审核不需要账号或登录**;账号只用于可选的公开网络订阅——见 §3d |
26
- | 付费 / 订阅 | 代码含一项 IAP 订阅(公开网络 / Cloudflare 中继),局域网直连免费。**首发构建隐藏了中继配对入口**,所以首发商店文案不提远程访问或订阅;是否随首发提交该商品由发布者决定。没有充值入口,也没有指向外部购买页的链接(Apple 3.1.1);余额只读显示 |
31
+ | 付费 / 订阅 | 代码含一项 IAP 订阅(公开网络 / Cloudflare 中继),局域网直连免费、免登录。3.2.6 起插件默认连接 `wss://dsh.claud.ing`,商店文案已按「公开网络 = 订阅 + 端到端加密」如实描述;**手机端入口仍由 `Features.remoteAccess` 控制(默认关),发布构建必须带 `--dart-define=DSH_REMOTE_ACCESS=true`,否则公开网络段落要删。** 用量页的 DeepSeek 余额卡提供充值入口(地址由电脑端账号服务下发,App 不硬编码);美国区允许该外链,其他地区发布前需按 Apple 3.1.1 复核 |
27
32
  | 许可证 | MIT,保留根目录 `LICENSE` 和第三方版权声明 |
28
33
 
29
34
  ## 2. 建议商店描述
@@ -83,13 +88,13 @@ Companion app for the user's own DeepSeek Harness computer. Two optional feature
83
88
  **完整版(English,2186 字符;框允许时用这一版)**
84
89
 
85
90
  ```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.
91
+ DSH Mobile is a companion app for DeepSeek Harness running on the user's own computer. Local-network use needs no account and talks directly to that computer; an optional account and subscription exist only for the public relay. 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
92
 
88
93
  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
94
 
90
95
  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
96
 
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.
97
+ The video shows both features in the app's built-in demo mode (no account and no computer needed to review; the optional account is only for the public-network subscription): 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
98
  ```
94
99
 
95
100
  **通知文字(`3.2.4+32` 已修复):** 录第一版视频时发现常驻通知文字和渠道名是中文写死的、KeepAlive 小图标用启动图标(显示成白方块)、审批提醒标题是中文且同一个审批弹两条通知、设置页诊断行是中文。这些已在 `3.2.4+32` 修好(见 CHANGELOG):通知文字随界面语言(没选过语言时跟随系统),小图标是白色剪影,一条审批只弹一条通知,演示模式里批准后通知会消失。上面的视频是用修复后的构建重录的。
@@ -102,17 +107,17 @@ The video shows both features in the app's built-in demo mode (no account and no
102
107
 
103
108
  ### Data safety(建议答案,**(verify)** 以控制台当前定义为准)
104
109
 
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.
110
+ > The app sends the user's own messages, files and approval answers only to the DeepSeek Harness computer the user configures. The current version contains no advertising, analytics or tracking SDK. Optional cloud sign-in, subscriptions and the Public network relay still mean data leaves the device (account identifiers, purchase records and relay connection metadata), so the absence of a developer-operated app backend does not mean no data is collected; answer the Data safety form from the submitted build's actual flows. The access token is stored in Android Keystore-backed secure storage. Clearing app data or uninstalling removes local app data.
106
111
 
107
- 默认直连在局域网内走明文 HTTP(用户自己的网络);用户自己的 VPN / TLS 隧道与端到端加密中继属于其他传输路径。启用广告后还存在设备到广告服务的独立数据流,不能再用「开发者不收集数据」跳过数据安全问卷;应按最终包的实际数据流与传输保护填写。
112
+ 默认直连在局域网内走明文 HTTP(用户自己的网络);用户自己的 VPN / TLS 隧道与端到端加密中继属于其他传输路径。当前包不含广告 SDK;可选账号、订阅与中继元数据仍会产生数据,不能再用「开发者不收集数据」跳过数据安全问卷,应按最终包的实际数据流与传输保护填写。
108
113
 
109
114
  ## 3c. App Store Connect:隐私问卷与出口合规
110
115
 
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 的数据收集,启用广告的构建仍须申报上述广告数据。**这是合规判断,不是代码能替你定的。
116
+ - **App Privacy**(2026-11-17 起移除 Gravity 广告;可选账号与 IAP 订阅自 2026-11-16 起):**只要提交的包带可选账号、订阅或公开中继,就不再是 Data Not Collected。** 当前包不含广告、分析或跟踪 SDK;`PrivacyInfo.xcprivacy` 已登记可选账号与订阅四类(Email Address / Name / User ID / Purchase History,均 Linked + App Functionality、不追踪),与 App Store Connect 的问卷一致。建议答案(**这是发布者的法律声明,提交前请你核对,代码替代不了**):如启用可选账号与订阅,申报 **Contact Info**(Google / Apple 返回的邮箱与身份标识)与 **Purchases**(订阅记录),用途 **App Functionality**,并关联到账号。会话内容、文件和令牌不在其中:它们只发给用户自己配置的电脑端服务。**加密中继改变了这件事,提交前需要发布者决定并核对:** 中继会短暂看到连接元数据(来源 IP、房间标识、字节数、时间),内容因端到端加密而不可读。Apple 的「收集」定义是数据被传出设备并留存超过实时服务所需——中继设计上不落盘、不记日志,所以需要单独核对中继及链路服务商(例如 Cloudflare)的元数据留存;任何一层保留 IP 或房间标识时,应将其纳入申报,并同步更新隐私政策 §2.7。**中继不留存不改变账号与订阅数据的申报义务。**这是合规判断,不是代码能替你定的。
112
117
  - **出口合规**:`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 的申报。启用广告的直连构建仍须申报上述广告数据;**打开远程访问时还须重新评估中继及服务商的留存并更新问卷。**
118
+ - **远程访问入口:2026-11-01 首发时藏起,3.2.6 起改为发布**(2026-11-17):插件默认连接 `wss://dsh.claud.ing`,商店文案按「局域网直连 / 公开网络(订阅 + 端到端加密)」两种模式写;手机端起决定作用的仍是 `Features.remoteAccess`(默认关,见 `lib/features.dart`),发布构建要带 `--dart-define=DSH_REMOTE_ACCESS=true`。两点后果:
119
+ - 出口合规**不变**:中继的加密代码本来就在安装包里,公开入口不改变二进制里的加密实现;想声明 `false` 得先把中继从发布产物里拿掉,而且 Flutter 引擎自带的 BoringSSL 仍在包里,是否因此仍需申报由合规顾问判断(以 App Store Connect 里的实际问题为准)。
120
+ - App Privacy 按最终构建的数据流填写:中继默认开启后,电脑一启动就会挂到中继(手机侧只在公开网络模式用它),隐私政策与问卷要覆盖中继连接元数据的留存;账号/订阅与中继元数据的申报相互独立,都要按最终包填写。
116
121
  - **Local Network** 说明串已本地化(英文 + 简体中文)。
117
122
  - **知识产权**:关系声明见 §1。DeepSeek 鲸鱼标识已删除。默认应用图标、App 内标志和首页角色使用 `tools/brand/source/` 里的两张图片,其余 7 款备选图标与 Android 悬浮宠物是仓库内代码绘制的素材(`docs/BRAND-ASSETS.md`);`DeepSeek` 一词只作为被连接产品的指称(关系声明已写明非官方、无背书)。**发布者仍需自行确认**:①名称 `DSH Mobile` 与商店文案里的 `DeepSeek Harness` 指称是否符合 DeepSeek 当前的品牌使用规则(Apple 5.2 / Google 冒充政策);②仓库**历史**里仍保存着旧素材,如需彻底清除要重写历史。
118
123
 
@@ -165,7 +170,7 @@ Apple 侧:`ios/Runner/Runner.entitlements` 已声明 `com.apple.developer.appl
165
170
 
166
171
  - 会话内容、任务状态、审批回答和工作区文件请求发送到用户自己配置的 DSH Harness 服务。
167
172
  - 连接地址和普通界面偏好保存在设备本地;访问口令使用 Android Keystore / iOS Keychain 封装保存。
168
- - 账号是可选的:不登录也能使用全部局域网功能;登录后云端只保存 Google / Apple 身份标识、订阅状态与导出记录(用于公开网络中继的权益),不保存第三方令牌。App 不读取、不上传广告标识符(IDFA / GAID),不内置第三方分析 SDK;首页的 Gravity 广告 SDK 只发上下文广告请求(固定的应用描述句、随机安装 ID、设备型号/系统/语言/时区/屏幕尺寸、IP 和 GPC 信号),不含会话内容。Google Play 数据安全表和 App Store 隐私问卷必须据此申报。
173
+ - 账号是可选的:不登录也能使用全部局域网功能;登录后云端只保存 Google / Apple 身份标识、订阅状态与导出记录(用于公开网络中继的权益),不保存第三方令牌。App 不读取、不上传广告标识符(IDFA / GAID),不内置广告、第三方分析或跟踪 SDK(Gravity 广告已于 2026-11-17 移除)。Google Play 数据安全表和 App Store 隐私问卷必须按最终包的实际数据流申报。
169
174
  - 用户配置的推送桥可能把事件提醒发送到用户自己选择的第三方通道;推送内容由电脑端插件配置决定,默认使用脱敏摘要。
170
175
  - App 日志用于本地诊断,不应包含访问口令;用户可在设备上清除 App 数据以删除本地配置。
171
176
 
@@ -222,10 +227,41 @@ tools/make-upload-keystore.sh
222
227
 
223
228
  ## 7. 提交前必须由发布者完成
224
229
 
225
- **仓库(代码侧)已完成、不需要你再做:** 演示模式;iOS 英文 / 简体中文权限说明、App 隐私清单、出口合规声明、iPhone + iPad;Android 16 KB 页大小核对(所有 64 位原生库合格);上传密钥脚本与签名链路验证;Play 前台服务 / 悬浮窗 / Data safety / 审核访问的可粘贴文本(§3b–§3d);云端账号、IAP 订阅、中继票据、App 内删除账号与数据导出,公开中继已部署(`wss://dsh.claud.ing`)。Apple 与 Google 的开发者账号已由发布者处理。
230
+ **仓库(代码侧)已完成、不需要你再做:** 演示模式;iOS 英文 / 简体中文权限说明、App 隐私清单、出口合规声明、iPhone + iPad;Android 16 KB 页大小核对(所有 64 位原生库合格);上传密钥脚本与签名链路验证;Play 前台服务 / 悬浮窗 / Data safety / 审核访问的可粘贴文本(§3b–§3d);云端账号、IAP 订阅、中继票据、App 内删除账号与数据导出,公开中继已部署(`wss://dsh.claud.ing`)——**但 2026-11-17 核对发现线上仍是旧版:付费门槛未开、通知路由缺失、站点政策未更新,必须按下面「线上核对」重新部署。**Apple 与 Google 的开发者账号已由发布者处理。
231
+
232
+ **2026-11-17 追加(代码侧):** 登录后落在首页空态(品牌角色 + 连接电脑),不再直接进入连接表单;DeepSeek 余额改为优先读取 DSH 登录账号(`deepseekAccount`),API Key 只作回退;付费墙去掉大段正文,自动续费条款收进链接;用量页恢复 DeepSeek 余额充值按钮(地址由电脑端下发)。
226
233
 
227
234
  **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
235
 
236
+ ### 线上核对(2026-11-17,部署后已全绿)
237
+
238
+ **部署已完成(2026-11-17)**:`relay/cloudflare` Worker 与 `site/` 静态站均已重新发布,`npm run verify:deploy` → **10 PASS / 0 FAIL**。
239
+
240
+ ### 部署前的核对记录(可复现)
241
+
242
+ ```bash
243
+ node tools/verify-deployment.mjs # 默认 https://dsh.claud.ing
244
+ ```
245
+
246
+ | 项 | 线上实际 | 结论 |
247
+ |---|---|---|
248
+ | `/api/config` → `relay.requiresEntitlement` | `false` | **付费门槛未生效**;仓库已是 `1`,`wrangler deploy` 后才会覆盖 |
249
+ | 访客 WebSocket 不带 `?t=` | 101 直接升级并收到 `hello` | 未订阅也能用公共中继(带宽白送) |
250
+ | `POST /api/iap/apple/notifications` | 404 | 自动续费 / 退款通知不会入库 |
251
+ | 首页 | 无 App Store / Google Play / iPad | 站点仍是 11-02 的文案 |
252
+ | `/privacy/`、`/en/privacy/` | `2026-11-16`,仍披露 Gravity 广告 | 与「已移除广告」的包不一致 |
253
+ | `/api/auth/google`、`/api/auth/apple`(假令牌) | 401 `invalid_token` | 服务端已配置;控制台侧的 Client / 能力需发布者确认 |
254
+
255
+ 重新部署:
256
+
257
+ ```bash
258
+ cd relay/cloudflare && npx wrangler deploy # 需要持有 claud.ing 的 Cloudflare 登录态
259
+ bash site/deploy.sh # 构建 + 部署静态站
260
+ cd .. && npm run verify:deploy # 必须 10/10 PASS 再继续商店提交
261
+ ```
262
+
263
+ **商店线上文案也过期了(2026-11-17 用 iTunes Lookup / Play 页面核对):** App Store 线上版本是 `1.0`(2026-11-07),描述仍写 “No account” 和「只在同一 Wi-Fi」;Google Play 描述同样写 “No account”。本次提交必须同时更新描述、截图(含 iPad)与 App Privacy / Data safety,否则 2.3.1 元数据不准确。新版文案见 `docs/STORE-LISTING.md`。
264
+
229
265
  **仍需你完成:**
230
266
 
231
267
  - [ ] Apple Developer 账号和 App Store Connect 应用记录。
@@ -256,7 +292,7 @@ tools/make-upload-keystore.sh
256
292
  | 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
293
  | Apple 年龄分级 | 2026-01-31 前须回答新版年龄分级问卷 | 控制台任务,你来填 | 同上 |
258
294
  | 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/) |
295
+ | Apple 3.1.1 / 3.1.3 | 美国以外的商店禁止外链到非 IAP 购买入口;3.1.3(f) 只豁免 VoIP / 云存储 / 邮件 / 虚拟主机的免费配套应用 | 公开网络中继订阅走 IAP;DeepSeek 余额充值只打开电脑端下发的 topUpUrl。美区允许,其他地区需复核 | [guidelines](https://developer.apple.com/app-store/review/guidelines/) |
260
296
  | Apple 5.1.1(i) | 隐私政策链接放在 App Store Connect **并且** App 内 | 已做 | 同上 |
261
297
  | Apple 截图 | 6.1" 一档必有;无 alpha | 见 §6 | [screenshot-specifications](https://developer.apple.com/help/app-store-connect/reference/app-information/screenshot-specifications) |
262
298
  | Play `SYSTEM_ALERT_WINDOW` | 没有查到 Google 当前的专门政策文字 | §3b 的理由文本照旧;**未核实** | — |