Andee lives on your phone or Mac and uses any app like you do—no integrations, no root, any model; memory and passwords never leave your device | Andee 住进你的手机或 Mac,像你一样操作任何 App——无需集成、无需 Root、支持任意模型,记忆和密码绝不离开设备。
chore(self-check): point the version check at api.heyandee.com
booboosuib05e63de236d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e9bc9fb..3f3a8aa 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -28,6 +28,22 @@ hash into `versionName` at build time would close this hole; it is not implement## [Unreleased]+### Changed++- **The version check moved to `https://api.heyandee.com`, from `https://andee.kuafuai.net`.**+ `VERSION_API_BASE` is still a hardcoded constant in `device/SelfCheck.kt`, and still the only+ address this app calls that the user did not configure — see `docs/permissions.md` — so the move is+ one line of source plus the three places that quote it and have to stay in step: both `permissions`+ documents and the note in `network_security_config.xml`.+ The old host was on the mainland, where the domain had to be ICP-filed before TLS would reach it at+ all; the new address resolves outside the mainland and retires that particular trap. It does not+ retire the other one: a domain still has to resolve *and* serve 443, and a fresh record is not+ everywhere at once. Measured while making the move, `1.1.1.1` still answered `NXDOMAIN` while+ `223.5.5.5` already had the address — on the wrong resolver that reads as 查不到 on the 版本 row,+ which is the intended failure rather than a fault to report. The service itself was checked before+ the switch: the new host answers `GET /api/version` with the same envelope, and the same `data`+ fields the client parses.+## [0.2.0] - 2026-10-10Three new capabilities and two permission fixes. A minor bump rather than a patch, because the threediff --git a/app/src/main/java/net/kuafuai/andee/device/SelfCheck.kt b/app/src/main/java/net/kuafuai/andee/device/SelfCheck.ktindex 8d10c05..92ca1e7 100644--- a/app/src/main/java/net/kuafuai/andee/device/SelfCheck.kt+++ b/app/src/main/java/net/kuafuai/andee/device/SelfCheck.kt@@ -1230,14 +1230,19 @@ object SelfCheck {* goes back to a plain-HTTP address, the host has to be added there or every* call dies as `CLEARTEXT communication ... not permitted`.*- * The domain resolves to the same host `:8099` used to be reached at. It is- * reachable over TLS only once that host serves 443 **and** the domain is- * ICP-filed — an unfiled domain on a mainland server is answered with a 403- * block page rather than reaching the app at all, which reads here as- * 查不到. Until both are true this row reports Unreachable everywhere; that- * is the intended failure, not a bug in the check.+ * Was `https://andee.kuafuai.net`, which named a mainland host whose domain+ * had to be ICP-filed before TLS would reach it at all — an unfiled domain+ * there is answered with a 403 block page, which reads here as 查不到. The+ * address behind this one is outside the mainland, so that particular trap+ * is behind us.+ *+ * A domain still has to resolve **and** serve 443, though, and a fresh+ * record does not propagate everywhere at once. Measured on the day of the+ * move: `1.1.1.1` still answered NXDOMAIN while `223.5.5.5` already had the+ * address, so a device on the wrong resolver reports Unreachable for as long+ * as that lasts. That is the intended failure, not a bug in the check.*/- private const val VERSION_API_BASE = "https://andee.kuafuai.net"+ private const val VERSION_API_BASE = "https://api.heyandee.com"/*** The whole-call ceiling on the version probe, in milliseconds.diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/main/res/xml/network_security_config.xmlindex deec84b..1a058b2 100644--- a/app/src/main/res/xml/network_security_config.xml+++ b/app/src/main/res/xml/network_security_config.xml@@ -7,7 +7,7 @@anything the user did.Only one host is listed, and it is not the version service any more.- That one moved to https://andee.kuafuai.net, so its cleartext hole was+ That one moved to https://api.heyandee.com, so its cleartext hole wasdeleted rather than left behind: an exception for a host nobody callsonly widens what the app will talk to in the clear. --><domain-config cleartextTrafficPermitted="true">diff --git a/docs/permissions.md b/docs/permissions.mdindex 8084b16..7ce6867 100644--- a/docs/permissions.md+++ b/docs/permissions.md@@ -111,7 +111,7 @@ The second row deserves spelling out: **a tool result is part of the conversatio**The last row deserves spelling out too, because it is a different kind of thing from the two above it.** Those two go to an endpoint *you* configured; this one comes to us. It carries the version number, the phone model, the brand, the Android release, the UI language, and a random ID this install generated for itself (`body-xxxxxxxx`, new on every reinstall — **not `ANDROID_ID`**). The server necessarily also sees your IP, from which it derives a country / region / city. **It does not carry**: conversation content, screen content, which apps you have installed, contacts, location, crash logs or an advertising ID.-**It cannot be switched off, and that has to be said plainly.** The address is a constant compiled into `device/SelfCheck.kt` (`VERSION_API_BASE` = `https://andee.kuafuai.net`): there is no setting, no build flag, and no `local.properties` key for it. Turning it off means editing that line and rebuilding. The reason it is not configurable is that a check which can be silently misconfigured is a check that silently stops working — this one is meant to be on for everyone or off for everyone. So do not look for a switch in Settings; there is not one.+**It cannot be switched off, and that has to be said plainly.** The address is a constant compiled into `device/SelfCheck.kt` (`VERSION_API_BASE` = `https://api.heyandee.com`): there is no setting, no build flag, and no `local.properties` key for it. Turning it off means editing that line and rebuilding. The reason it is not configurable is that a check which can be silently misconfigured is a check that silently stops working — this one is meant to be on for everyone or off for everyone. So do not look for a switch in Settings; there is not one.**So "local mode" does not mean "local processing"** — it changes where the brain is, not the fact that data leaves the device. If you genuinely want data to stay in, you have to point `asr_endpoint` / `tts_endpoint` / `llm_base_url` / `hub_url` at a machine you control yourself.diff --git a/docs/permissions.zh-CN.md b/docs/permissions.zh-CN.mdindex 099570c..3cf753c 100644--- a/docs/permissions.zh-CN.md+++ b/docs/permissions.zh-CN.md@@ -111,7 +111,7 @@ Andee 有一个保险箱(`config/Vault.kt`),用来存你自己填进去的**最后那一行也要说透,因为它和前两行性质不同:** 前两行发给你自己配的端点,这一行是我们自己收。它带的是版本号、机型、品牌、系统版本、界面语言,以及这个安装自己生成的随机 ID(`body-xxxxxxxx`,重装即换,**不是 `ANDROID_ID`**);服务器还必然看得到你的 IP,并由它解析出国家 / 地区 / 城市。**它不带**:对话内容、屏幕内容、你装了哪些应用、通讯录、定位、崩溃日志、广告 ID。-**关不掉,这一点必须写清楚。** 服务地址是写死在代码里的常量(`device/SelfCheck.kt` 的 `VERSION_API_BASE` = `https://andee.kuafuai.net`),没有设置项、没有编译开关、`local.properties` 里也没有对应键。要停掉它,只能自己改那一行源码再重新编译。这里之所以不做成可开关:一个能被静默配错的检查,就是一个会静默失效的检查;这一行要么对所有人开,要么对所有人关。所以别指望"设置里关掉"——它不存在。+**关不掉,这一点必须写清楚。** 服务地址是写死在代码里的常量(`device/SelfCheck.kt` 的 `VERSION_API_BASE` = `https://api.heyandee.com`),没有设置项、没有编译开关、`local.properties` 里也没有对应键。要停掉它,只能自己改那一行源码再重新编译。这里之所以不做成可开关:一个能被静默配错的检查,就是一个会静默失效的检查;这一行要么对所有人开,要么对所有人关。所以别指望"设置里关掉"——它不存在。**所以"本机模式"不等于"本地处理"** —— 它换的是大脑的目的地,不是"数据留在设备上"这件事。真要数据不出门,你得自己把 `asr_endpoint` / `tts_endpoint` / `llm_base_url` / `hub_url` 全指向你自己控制的机器。